open-type.js 996 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.openType = void 0;
  6. function Behavior(behavior) {
  7. behavior.$id = Number(new Date()) + String(Math.random()).substring(2, 7);
  8. return behavior;
  9. } // @ts-nocheck
  10. var openType = Behavior({
  11. properties: {
  12. openType: String
  13. },
  14. methods: {
  15. bindGetUserInfo: function bindGetUserInfo(event) {
  16. this.$emit("getuserinfo", event.detail);
  17. },
  18. bindContact: function bindContact(event) {
  19. this.$emit("contact", event.detail);
  20. },
  21. bindGetPhoneNumber: function bindGetPhoneNumber(event) {
  22. this.$emit("getphonenumber", event.detail);
  23. },
  24. bindError: function bindError(event) {
  25. this.$emit("error", event.detail);
  26. },
  27. bindLaunchApp: function bindLaunchApp(event) {
  28. this.$emit("launchapp", event.detail);
  29. },
  30. bindOpenSetting: function bindOpenSetting(event) {
  31. this.$emit("opensetting", event.detail);
  32. }
  33. }
  34. });
  35. exports.openType = openType;