@feedmepos/mf-connect 0.1.38-beta.2 → 0.1.39-prod

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/Analytic-D8WCDkga.js +427 -0
  2. package/dist/{App-D11A2JY1.js → App-CTnXtg1W.js} +352 -364
  3. package/dist/{Bin-9wV4Ah3M.js → Bin-BY6-bvFj.js} +8 -8
  4. package/dist/{Broadcast-I3BtSk8V.js → Broadcast-5VTEIQAr.js} +40 -40
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-XJqTXbKr.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BuAQxEM4.js} +18 -18
  6. package/dist/{Card-CqALG5RM.js → Card-8ivdV-Qz.js} +159 -159
  7. package/dist/{Collections-rg3SzoUb.js → Collections-CFszRHmE.js} +91 -103
  8. package/dist/{Credit-BNn1sYZv.js → Credit-DFslY__4.js} +74 -74
  9. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-PJ8q72XH.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BvCLYtJ3.js} +488 -489
  10. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-Sww7KNle.js → EffectSheet.vue_vue_type_style_index_0_lang-Ci_bp7GH.js} +94 -94
  11. package/dist/{Experience-D_Qm8SUj.js → Experience-BxfiZNlY.js} +41 -41
  12. package/dist/{Game-CKXgXm6Q.js → Game-0FZJcLmj.js} +31 -31
  13. package/dist/ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js +144 -0
  14. package/dist/{Index-D4DGfUHd.js → Index-ByeKKbuM.js} +10 -10
  15. package/dist/Marketing-C7F4abzg.js +319 -0
  16. package/dist/{Member-B55vWHDd.js → Member-DP0fLSIV.js} +64 -64
  17. package/dist/MemberList-DFW2bMbr.js +1606 -0
  18. package/dist/MemberOverview-C2n9oJZh.js +58 -0
  19. package/dist/{MemberTransactions-CP5EI-W0.js → MemberTransactions-CW62fvgx.js} +1 -1
  20. package/dist/MessageInput.vue_vue_type_script_setup_true_lang-iJXNbgsB.js +455 -0
  21. package/dist/{Mission-CFvhROuB.js → Mission-DEgQHJw6.js} +21 -21
  22. package/dist/{Overview-4273yNwL.js → Overview-5jDtZKi8.js} +335 -335
  23. package/dist/{Point-B_-_C919.js → Point-D2lB1-xB.js} +41 -41
  24. package/dist/{Promotion-D2S3COxk.js → Promotion-Diz1gIa0.js} +42 -42
  25. package/dist/{Queue-BmS1Oi-C.js → Queue-DIAuq7HG.js} +51 -51
  26. package/dist/{Record-DRBl0M8g.js → Record-T608yda1.js} +9 -9
  27. package/dist/{Reward-8056NmfK.js → Reward-fZzHrHCW.js} +173 -173
  28. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-CJ_WC2gV.js → RewardGroup.vue_vue_type_script_setup_true_lang-YOKVfimM.js} +11 -11
  29. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-DqNQl_nz.js → RuleGroup.vue_vue_type_script_setup_true_lang-C3_lmBe5.js} +431 -431
  30. package/dist/Segment-DDQIzsrk.js +882 -0
  31. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-4nNkkklE.js → SelectItems.vue_vue_type_script_setup_true_lang-B5oUf91Q.js} +2 -2
  32. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-Dnf2oxOG.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-C2U6Kzvx.js} +11 -11
  33. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BLYP-5U9.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-BRmqgxES.js} +3 -3
  34. package/dist/{Setting-BrJfYoru.js → Setting-CQNyXmp4.js} +432 -432
  35. package/dist/{Store-Bpl_4yZW.js → Store-CIA1Rtsg.js} +210 -210
  36. package/dist/StoreRewards-D5zlE6cE.js +423 -0
  37. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BkTYngJ_.js +995 -0
  38. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-QucRaI08.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-D8l3fQyz.js} +1 -1
  39. package/dist/{Tier-_LnXg3n6.js → Tier-jFXVOje_.js} +106 -106
  40. package/dist/{Title-B7AGStvx.js → Title-DVpZ1YMK.js} +131 -133
  41. package/dist/{Transaction-Chxv6V7u.js → Transaction-BF_wmok6.js} +2 -2
  42. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CzXNmobp.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-Cex1Z43W.js} +6 -6
  43. package/dist/{Voucher-C5z2kOq9.js → Voucher-CaBMU5w0.js} +37 -37
  44. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-BXt2fLOD.js +419 -0
  45. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BlXzEWA6.js → ZodTextField.vue_vue_type_script_setup_true_lang-CtHjWpUe.js} +1 -1
  46. package/dist/{app-BVojNX0w.js → app-CPhyKlyf.js} +1 -1
  47. package/dist/{app-7cvPyHJ7.js → app-DuIzRGvb.js} +124 -161
  48. package/dist/app.js +3 -4
  49. package/dist/{business-CmxV69wT.js → business-TTvv3aTz.js} +1 -1
  50. package/dist/{campaign-Dq5C_no-.js → campaign-BiMCoAzx.js} +3 -5
  51. package/dist/{campaign-CT_cNJEL.js → campaign-CjEVStN1.js} +9 -9
  52. package/dist/{campaign.enum-dp7yHKzF.js → campaign.enum-DpYmj9jp.js} +1 -1
  53. package/dist/campaign.fn-DJ6J98jS.js +758 -0
  54. package/dist/{collectible.enum-DxbB4DxT.js → collectible.enum-Cgmm_s-C.js} +1 -1
  55. package/dist/{collection.fn-CNZRdUgy.js → collection.fn-BsYCNgfJ.js} +2 -2
  56. package/dist/{dto-CT9zZbv9.js → dto-DgmHIlZ2.js} +4 -4
  57. package/dist/{effect-FIlOEC4H.js → effect-DnAVIDFy.js} +1 -1
  58. package/dist/{email-addresses-Ba7xImfX.js → email-addresses-CMRgb6Uv.js} +1 -1
  59. package/dist/{export-uzjZFNF9.js → export-DtarK6IJ.js} +3 -3
  60. package/dist/{helper-D4sAZde0.js → helper-BKZghMbF.js} +1 -1
  61. package/dist/{index-l2F5MnLF.js → index-2OAcPmuQ.js} +1 -1
  62. package/dist/{index-BI3m1Ehv.js → index-B0YZKHyu.js} +3 -3
  63. package/dist/{index-CH3z92VV.js → index-B5oXFFlO.js} +1 -1
  64. package/dist/{index-CvBcve-r.js → index-BQ3KHJXX.js} +1 -1
  65. package/dist/{index-B9pl4zRZ.js → index-B_893fH7.js} +79 -179
  66. package/dist/{index-CNJLP3D5.js → index-BoR-BOFw.js} +1 -1
  67. package/dist/{index-DNxa8Rqx.js → index-C7rl1eHp.js} +449 -516
  68. package/dist/{index-BXz54M1s.js → index-CBcbwf0k.js} +1 -1
  69. package/dist/{index-CS3Jmojj.js → index-CIztuDE4.js} +2462 -2453
  70. package/dist/{index-D5rvMvzx.js → index-CK67enPK.js} +1 -1
  71. package/dist/index-CuvNtC_M.js +61 -0
  72. package/dist/index-D2uZzjpn.js +44 -0
  73. package/dist/{index-CUfS9Kp1.js → index-DWdAUovq.js} +9 -9
  74. package/dist/{index-CONvJfKv.js → index-DkWcEDHA.js} +1 -1
  75. package/dist/{index-BjU8LVUC.js → index-VHu8hYtE.js} +385 -376
  76. package/dist/{index.esm2017-ATcsD5N4.js → index.esm2017-DkwLmmR_.js} +127 -127
  77. package/dist/{loading-BWGQSrCB.js → loading-BFkEqWR6.js} +1 -1
  78. package/dist/{membership-Cc4OZ8-U.js → membership-D0eN3i_T.js} +3 -3
  79. package/dist/{money-D7p8nfun.js → money-DS9ZQwSP.js} +1 -1
  80. package/dist/{number-CMJjC4qz.js → number-C8Gt93v9.js} +1 -1
  81. package/dist/objectid-Cr99eTPd.js +145 -0
  82. package/dist/{plugins-eQis66QR.js → plugins-DK_ue6Xa.js} +2 -2
  83. package/dist/{reward-DrnzbG20.js → reward-CW2dSLDW.js} +1 -1
  84. package/dist/{rule-CtRxkYXB.js → rule-CebKyXSm.js} +3 -3
  85. package/dist/{rule-builder-Di9RIYHF.js → rule-builder-kQq14RfN.js} +17 -17
  86. package/dist/style.css +1 -1
  87. package/dist/{template-C3UfY0v5.js → template-CxUxlb6-.js} +64 -64
  88. package/dist/{trigger-C9U7Zgad.js → trigger-RqJo06KA.js} +4 -4
  89. package/dist/{usePagination-BeF5K3M7.js → usePagination-JoYaROkV.js} +85 -85
  90. package/dist/{user-D7n9yYmO.js → user-DhV5Iy52.js} +1 -1
  91. package/dist/{vue-i18n-Bz45zC04.js → vue-i18n-BtvUK9hI.js} +419 -419
  92. package/dist/{xlsx-D4S4qbcZ.js → xlsx-WnLDq4qn.js} +381 -381
  93. package/package.json +3 -9
  94. package/dist/Analytic-BjSfI2Ff.js +0 -761
  95. package/dist/AuditLogs-DWCFYoRg.js +0 -1887
  96. package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js +0 -58
  97. package/dist/ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js +0 -144
  98. package/dist/Marketing-Dn9A1vgH.js +0 -20073
  99. package/dist/MemberList-BWTG9Ohy.js +0 -1606
  100. package/dist/MemberOverview-wL_ailso.js +0 -58
  101. package/dist/MessageInput.vue_vue_type_script_setup_true_lang-D--_An-f.js +0 -60279
  102. package/dist/Segment-Bzq-pyhc.js +0 -882
  103. package/dist/StoreRewards-Cu7n7Pjz.js +0 -423
  104. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-T3Wo2maC.js +0 -1029
  105. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-DdGMrk2C.js +0 -419
  106. package/dist/campaign.fn-BYZgKDN7.js +0 -758
  107. package/dist/index-CsaQJMAR.js +0 -66
  108. package/dist/index-CwsMG2cV.js +0 -56
  109. package/dist/objectid-D5T27iny.js +0 -145
  110. package/dist/remy-vue-client-Cpppk9h-.js +0 -1693
@@ -1,4 +1,4 @@
1
- import { n as u, r as S } from "./plugins-eQis66QR.js";
1
+ import { n as u, r as S } from "./plugins-DK_ue6Xa.js";
2
2
  import { u as y } from "./app-wDQR6dpb.js";
3
3
  async function m(a, s) {
4
4
  var l, d;
@@ -1,9 +1,9 @@
1
1
  import { components as B } from "@feedmepos/ui-library";
2
- import { F as i } from "./collectible.enum-DxbB4DxT.js";
2
+ import { F as i } from "./collectible.enum-Cgmm_s-C.js";
3
3
  import { h as f, ref as n } from "vue";
4
4
  import { defineStore as U } from "pinia";
5
- import { m as p } from "./index-l2F5MnLF.js";
6
- import { g as o, u as V } from "./index-BjU8LVUC.js";
5
+ import { m as p } from "./index-2OAcPmuQ.js";
6
+ import { g as o, u as V } from "./index-VHu8hYtE.js";
7
7
  function m(t) {
8
8
  return f(
9
9
  "div",
@@ -1,4 +1,4 @@
1
- import { c as r } from "./index-BjU8LVUC.js";
1
+ import { c as r } from "./index-VHu8hYtE.js";
2
2
  function n(o) {
3
3
  return r.Dinero.fromNumber({ number: o });
4
4
  }
@@ -1,4 +1,4 @@
1
- import { c as n } from "./index-BjU8LVUC.js";
1
+ import { c as n } from "./index-VHu8hYtE.js";
2
2
  function s(t) {
3
3
  return n.DineroFactory(t).multiply(100).toFormat(!1);
4
4
  }
@@ -0,0 +1,145 @@
1
+ import { g as l } from "./_commonjsHelpers-BkfeUUK-.js";
2
+ var t = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_728091cf-a8b0-41b7-97fd-8c07d16033f0", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.19.4 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.33", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_728091cf-a8b0-41b7-97fd-8c07d16033f0", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.4/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.0.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.12.5", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1752", npm_package_dependencies__feedmepos_ui_library: "1.6.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250831.1.0", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12670", GITHUB_WORKFLOW: "[CD:prod] connect-portal (mf-connect)", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.6/x64", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "17498407500", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "98bbc93a32f394a74cf4bbf29b009eca95574f74", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] deploy-mf-connect.yml@refs/tags/mf-connect-0.1.39-prod", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.19.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_01fac3c2-156f-4010-939a-034e27142cae", INVOCATION_ID: "dc95dbd58fb640aaa7155f608c70966a", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.4/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "20", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.20", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000015432", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.39-prod", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.14.31", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.39-prod", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "98bbc93a32f394a74cf4bbf29b009eca95574f74", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/tags/mf-connect-0.1.39-prod", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_728091cf-a8b0-41b7-97fd-8c07d16033f0", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_728091cf-a8b0-41b7-97fd-8c07d16033f0", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_728091cf-a8b0-41b7-97fd-8c07d16033f0", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", IMPORT_FILES_STORAGE_BUCKET: "feedme-253402.appspot.com", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedme.cc/" } }, i = Math.floor(Math.random() * 16777215), a = n.index = parseInt(Math.random() * 16777215, 10), c = (typeof t > "u" || typeof t.pid != "number" ? Math.floor(Math.random() * 1e5) : t.pid) % 65535, d = (() => {
3
+ try {
4
+ return _Buffer;
5
+ } catch {
6
+ try {
7
+ return Buffer;
8
+ } catch {
9
+ return null;
10
+ }
11
+ }
12
+ })(), s = function(e) {
13
+ return !!(e != null && e.constructor && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e));
14
+ }, u = [];
15
+ for (var p = 0; p < 256; p++)
16
+ u[p] = (p <= 15 ? "0" : "") + p.toString(16);
17
+ var m = new RegExp("^[0-9a-fA-F]{24}$"), r = [];
18
+ p = 0;
19
+ for (; p < 10; ) r[48 + p] = p++;
20
+ for (; p < 16; ) r[55 + p] = r[87 + p] = p++;
21
+ function n(e) {
22
+ if (!(this instanceof n)) return new n(e);
23
+ if (e && (e instanceof n || e._bsontype === "ObjectID"))
24
+ return e;
25
+ if (this._bsontype = "ObjectID", e == null || typeof e == "number") {
26
+ this.id = this.generate(e);
27
+ return;
28
+ }
29
+ var _ = n.isValid(e);
30
+ if (!_ && e != null)
31
+ throw new Error(
32
+ "Argument passed in must be a single String of 12 bytes or a string of 24 hex characters"
33
+ );
34
+ if (_ && typeof e == "string" && e.length === 24)
35
+ return n.createFromHexString(e);
36
+ if (e != null && e.length === 12)
37
+ this.id = e;
38
+ else {
39
+ if (e != null && typeof e.toHexString == "function")
40
+ return e;
41
+ throw new Error(
42
+ "Argument passed in must be a single String of 12 bytes or a string of 24 hex characters"
43
+ );
44
+ }
45
+ }
46
+ var g = n;
47
+ n.default = n;
48
+ n.createFromTime = function(e) {
49
+ return e = parseInt(e, 10) % 4294967295, new n(E(8, e) + "0000000000000000");
50
+ };
51
+ n.createFromHexString = function(e) {
52
+ if (typeof e > "u" || e != null && e.length !== 24)
53
+ throw new Error(
54
+ "Argument passed in must be a single String of 12 bytes or a string of 24 hex characters"
55
+ );
56
+ for (var _ = "", o = 0; o < 24; )
57
+ _ += String.fromCharCode(r[e.charCodeAt(o++)] << 4 | r[e.charCodeAt(o++)]);
58
+ return new n(_);
59
+ };
60
+ n.isValid = function(e) {
61
+ return e == null ? !1 : typeof e == "number" ? !0 : typeof e == "string" ? e.length === 12 || e.length === 24 && m.test(e) : e instanceof n ? !0 : s(e) ? n.isValid(e.toString("hex")) : typeof e.toHexString == "function" && d && (e.id instanceof d || typeof e.id == "string") ? e.id.length === 12 || e.id.length === 24 && m.test(e.id) : !1;
62
+ };
63
+ n.prototype = {
64
+ constructor: n,
65
+ /**
66
+ * Return the ObjectID id as a 24 byte hex string representation
67
+ *
68
+ * @return {String} return the 24 byte hex string representation.
69
+ * @api public
70
+ */
71
+ toHexString: function() {
72
+ if (!this.id || !this.id.length)
73
+ throw new Error(
74
+ "invalid ObjectId, ObjectId.id must be either a string or a Buffer, but is [" + JSON.stringify(this.id) + "]"
75
+ );
76
+ if (this.id.length === 24)
77
+ return this.id;
78
+ if (s(this.id))
79
+ return this.id.toString("hex");
80
+ for (var e = "", _ = 0; _ < this.id.length; _++)
81
+ e += u[this.id.charCodeAt(_)];
82
+ return e;
83
+ },
84
+ /**
85
+ * Compares the equality of this ObjectID with `otherID`.
86
+ *
87
+ * @param {Object} otherId ObjectID instance to compare against.
88
+ * @return {Boolean} the result of comparing two ObjectID's
89
+ * @api public
90
+ */
91
+ equals: function(e) {
92
+ return e instanceof n ? this.toString() === e.toString() : typeof e == "string" && n.isValid(e) && e.length === 12 && s(this.id) ? e === this.id.toString("binary") : typeof e == "string" && n.isValid(e) && e.length === 24 ? e.toLowerCase() === this.toHexString() : typeof e == "string" && n.isValid(e) && e.length === 12 ? e === this.id : e != null && (e instanceof n || e.toHexString) ? e.toHexString() === this.toHexString() : !1;
93
+ },
94
+ /**
95
+ * Returns the generation date (accurate up to the second) that this ID was generated.
96
+ *
97
+ * @return {Date} the generation date
98
+ * @api public
99
+ */
100
+ getTimestamp: function() {
101
+ var e = /* @__PURE__ */ new Date(), _;
102
+ return s(this.id) ? _ = this.id[3] | this.id[2] << 8 | this.id[1] << 16 | this.id[0] << 24 : _ = this.id.charCodeAt(3) | this.id.charCodeAt(2) << 8 | this.id.charCodeAt(1) << 16 | this.id.charCodeAt(0) << 24, e.setTime(Math.floor(_) * 1e3), e;
103
+ },
104
+ /**
105
+ * Generate a 12 byte id buffer used in ObjectID's
106
+ *
107
+ * @method
108
+ * @param {number} [time] optional parameter allowing to pass in a second based timestamp.
109
+ * @return {string} return the 12 byte id buffer string.
110
+ */
111
+ generate: function(e) {
112
+ typeof e != "number" && (e = ~~(Date.now() / 1e3)), e = parseInt(e, 10) % 4294967295;
113
+ var _ = f();
114
+ return String.fromCharCode(
115
+ e >> 24 & 255,
116
+ e >> 16 & 255,
117
+ e >> 8 & 255,
118
+ e & 255,
119
+ i >> 16 & 255,
120
+ i >> 8 & 255,
121
+ i & 255,
122
+ c >> 8 & 255,
123
+ c & 255,
124
+ _ >> 16 & 255,
125
+ _ >> 8 & 255,
126
+ _ & 255
127
+ );
128
+ }
129
+ };
130
+ function f() {
131
+ return a = (a + 1) % 16777215;
132
+ }
133
+ function E(e, _) {
134
+ return _ = _.toString(16), _.length === e ? _ : "00000000".substring(_.length, e) + _;
135
+ }
136
+ var h = Symbol && Symbol.for && Symbol.for("nodejs.util.inspect.custom") || "inspect";
137
+ n.prototype[h] = function() {
138
+ return "ObjectID(" + this + ")";
139
+ };
140
+ n.prototype.toJSON = n.prototype.toHexString;
141
+ n.prototype.toString = n.prototype.toHexString;
142
+ const T = /* @__PURE__ */ l(g);
143
+ export {
144
+ T as O
145
+ };
@@ -1,6 +1,6 @@
1
- import { u as $, v as C, x as P, w as A, y as S } from "./index.esm2017-ATcsD5N4.js";
1
+ import { u as $, v as C, x as P, w as A, y as S } from "./index.esm2017-DkwLmmR_.js";
2
2
  import { u as w } from "./app-wDQR6dpb.js";
3
- import { S as o } from "./index-BjU8LVUC.js";
3
+ import { S as o } from "./index-VHu8hYtE.js";
4
4
  function L(e, n) {
5
5
  let t = "", r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
6
6
  const s = r.length;
@@ -1,5 +1,5 @@
1
1
  import { defineStore as n } from "pinia";
2
- import { g as r, S as d, b as o } from "./index-BjU8LVUC.js";
2
+ import { g as r, S as d, b as o } from "./index-VHu8hYtE.js";
3
3
  import { ref as i } from "vue";
4
4
  const a = () => {
5
5
  const e = d.getBusinessId();
@@ -1,8 +1,8 @@
1
1
  import { h as S } from "./moment-BWErdI6_.js";
2
2
  import { a as de, b as N, c as y } from "./tslib.es6-BCqqvLQ_.js";
3
- import { u as ee } from "./membership-Cc4OZ8-U.js";
4
- import { R as B, a as pe } from "./rule-builder-Di9RIYHF.js";
5
- import { u as Be } from "./business-CmxV69wT.js";
3
+ import { u as ee } from "./membership-D0eN3i_T.js";
4
+ import { R as B, a as pe } from "./rule-builder-kQq14RfN.js";
5
+ import { u as Be } from "./business-TTvv3aTz.js";
6
6
  var ue = [
7
7
  "MO",
8
8
  "TU",
@@ -1,9 +1,9 @@
1
- import { n as i } from "./index-CUfS9Kp1.js";
1
+ import { l as i } from "./index-DWdAUovq.js";
2
2
  function a(c, t) {
3
- let r = "", n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
4
- const e = n.length;
5
- for (let s = 0; s < c; s++)
6
- r += n.charAt(Math.floor(Math.random() * e));
3
+ let r = "", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
4
+ const e = s.length;
5
+ for (let n = 0; n < c; n++)
6
+ r += s.charAt(Math.floor(Math.random() * e));
7
7
  return r;
8
8
  }
9
9
  function p(c) {
@@ -28,12 +28,12 @@ class o {
28
28
  negated: !1
29
29
  };
30
30
  }
31
- static constructEntry(t, r, n, e) {
31
+ static constructEntry(t, r, s, e) {
32
32
  return {
33
33
  name: e ?? `e_${a(4)}`,
34
34
  property: t,
35
35
  conditions: {
36
- [r]: n
36
+ [r]: s
37
37
  },
38
38
  negated: !1
39
39
  };
@@ -42,29 +42,29 @@ class o {
42
42
  return (t.logic ?? "").includes("||") ? "||" : "&&";
43
43
  }
44
44
  static constructLogic(t, r) {
45
- const n = r ?? o.getLogic(t);
46
- return Object.entries(t.rules).map(([e, s]) => p(s) ? e : `${s.negated ? "!" : ""}${e}`).join(` ${n} `);
45
+ const s = r ?? o.getLogic(t);
46
+ return Object.entries(t.rules).map(([e, n]) => p(n) ? e : `${n.negated ? "!" : ""}${e}`).join(` ${s} `);
47
47
  }
48
- static setRuleToGroup(t, r, n) {
48
+ static setRuleToGroup(t, r, s) {
49
49
  let e = i.cloneDeep(t);
50
- return Object.keys(e.rules).length === 0 && (e = o.scaffoldGroup(e.name)), Array.isArray(r) ? r.forEach((s) => {
51
- e.rules[s.name] = s;
52
- }) : e.rules[r.name] = r, e.logic = o.constructLogic(e, n), e;
50
+ return Object.keys(e.rules).length === 0 && (e = o.scaffoldGroup(e.name)), Array.isArray(r) ? r.forEach((n) => {
51
+ e.rules[n.name] = n;
52
+ }) : e.rules[r.name] = r, e.logic = o.constructLogic(e, s), e;
53
53
  }
54
- static removeEntry(t, r, n) {
54
+ static removeEntry(t, r, s) {
55
55
  const e = i.cloneDeep(t);
56
- return delete e.rules[r], e.logic = o.constructLogic(e, n), e;
56
+ return delete e.rules[r], e.logic = o.constructLogic(e, s), e;
57
57
  }
58
58
  static constructRule(t) {
59
59
  switch (t.type) {
60
60
  case "timeframe": {
61
- const r = t.property, n = o.scaffoldGroup("timeframe"), e = [];
61
+ const r = t.property, s = o.scaffoldGroup("timeframe"), e = [];
62
62
  return (t.start || t.end) && e.push(
63
63
  o.constructEntry(r, "_isBetween", {
64
64
  start: t.start || void 0,
65
65
  end: t.end || void 0
66
66
  })
67
- ), o.setRuleToGroup(n, e, "&&");
67
+ ), o.setRuleToGroup(s, e, "&&");
68
68
  }
69
69
  default:
70
70
  throw Error("invalid config type");
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .json-viewer[data-v-d8502b13]{font-family:monospace;white-space:pre-wrap}.fm-effect-sheet>div{padding:0!important;border-radius:0!important}.fm-effect-sheet>div>div>div{padding:0!important}.unlayer-editor[data-v-a9a2bb94]{flex:1;display:flex}.ck-editor__editable{min-height:500px}.ck-content ul,.ck-content ol{padding-left:2em}.slide-fade-enter-active,.slide-fade-leave-active{transition:all .4s ease-in-out}.slide-fade-enter-from,.slide-fade-leave-to{transform:translateY(-40px);opacity:0}.container[data-v-893c9161] .text-box-white-black{background-color:transparent;background-image:linear-gradient(180deg,#fff0,#0000004d)}.container[data-v-893c9161] .text-box-black-white{background-color:transparent;background-image:linear-gradient(180deg,#0000004d,#fff0)}.tab-option-selected[data-v-a1016be6]{background-color:var(--fm-color-system-orange-100)}
1
+ .json-viewer[data-v-d8502b13]{font-family:monospace;white-space:pre-wrap}.fm-effect-sheet>div{padding:0!important;border-radius:0!important}.fm-effect-sheet>div>div>div{padding:0!important}.unlayer-editor[data-v-a9a2bb94]{flex:1;display:flex}.tab-option-selected[data-v-a1016be6]{background-color:var(--fm-color-system-orange-100)}
@@ -1,11 +1,11 @@
1
- import { defineComponent as L, openBlock as r, createBlock as C, resolveDynamicComponent as D, unref as e, ref as E, computed as I, onMounted as j, resolveComponent as c, withCtx as d, createElementVNode as l, createElementBlock as w, createVNode as i, normalizeClass as h, createTextVNode as T, Fragment as S, renderList as N, toDisplayString as g, createCommentVNode as M } from "vue";
2
- import { u as P } from "./campaign-Dq5C_no-.js";
1
+ import { defineComponent as L, openBlock as r, createBlock as C, resolveDynamicComponent as D, unref as e, ref as E, computed as I, onMounted as j, resolveComponent as m, withCtx as d, createElementVNode as s, createElementBlock as h, createVNode as a, normalizeClass as w, createTextVNode as T, Fragment as S, renderList as N, toDisplayString as g, createCommentVNode as M } from "vue";
2
+ import { u as P } from "./campaign-BiMCoAzx.js";
3
3
  import { useDialog as q } from "@feedmepos/ui-library";
4
- import { F as J } from "./index-B9pl4zRZ.js";
5
- import { C as A } from "./collection.fn-CNZRdUgy.js";
6
- import { s as V } from "./index-CsaQJMAR.js";
4
+ import { F as J } from "./index-B_893fH7.js";
5
+ import { C as A } from "./collection.fn-BsYCNgfJ.js";
6
+ import { s as V } from "./index-CuvNtC_M.js";
7
7
  import { _ as G } from "./lodash-B5I3zXaY.js";
8
- import { C as H } from "./campaign-CT_cNJEL.js";
8
+ import { C as H } from "./campaign-CjEVStN1.js";
9
9
  import { J as U } from "./JsonViewer-v8_C7l5N.js";
10
10
  const K = /* @__PURE__ */ L({
11
11
  __name: "CampaignChip",
@@ -13,13 +13,13 @@ const K = /* @__PURE__ */ L({
13
13
  type: { type: String, required: !0 }
14
14
  },
15
15
  setup(u) {
16
- const a = H[u.type];
17
- return (o, t) => (r(), C(D(e(a).chip())));
16
+ const i = H[u.type];
17
+ return (n, t) => (r(), C(D(e(i).chip())));
18
18
  }
19
19
  }), Q = { class: "flex flex-nowrap gap-x-2 grow h-full" }, R = {
20
20
  key: 0,
21
21
  class: "p-8 w-1/4"
22
- }, W = { class: "flex flex-col grow p-24" }, X = { class: "space-y-4" }, Y = { class: "fm-typo-en-title-sm-800" }, Z = { class: "grow pb-16 pr-16 pt-6 w-full max-h-[400px] overflow-y-auto" }, ee = { class: "gap-24 grid grid-cols-1 lg:grid-cols-2" }, te = { class: "gap-4 h-[22px] inline-flex items-center justify-center min-w-min rounded-md" }, ne = { class: "fm-typo-en-title-sm-800" }, oe = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, se = { class: "flex gap-4 items-end justify-end py-8" }, le = /* @__PURE__ */ L({
22
+ }, W = { class: "flex flex-col grow p-24" }, X = { class: "space-y-4" }, Y = { class: "fm-typo-en-title-sm-800" }, Z = /* @__PURE__ */ s("div", { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, " Get started faster with templates that flex with your business. ", -1), ee = { class: "grow pb-16 pr-16 pt-6 w-full max-h-[400px] overflow-y-auto" }, te = { class: "gap-24 grid grid-cols-1 lg:grid-cols-2" }, ne = { class: "gap-4 h-[22px] inline-flex items-center justify-center min-w-min rounded-md" }, oe = { class: "fm-typo-en-title-sm-800" }, se = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, le = { class: "flex gap-4 items-end justify-end py-8" }, ae = /* @__PURE__ */ L({
23
23
  __name: "TemplateDialog",
24
24
  props: {
25
25
  campaignType: {
@@ -33,72 +33,72 @@ const K = /* @__PURE__ */ L({
33
33
  }
34
34
  },
35
35
  setup(u) {
36
- const p = q(), a = P(), o = u, t = E({
36
+ const p = q(), i = P(), n = u, t = E({
37
37
  intention: null,
38
38
  template: null
39
39
  }), b = I(() => {
40
- const m = (a.templates ?? []).filter(
40
+ const c = (i.templates ?? []).filter(
41
41
  () => !0
42
42
  //t.intention && t.intention.length > 0
43
43
  );
44
- return o.campaignType ? m.filter(
45
- (n) => {
46
- var y, f;
47
- return ((f = (y = n.defaultValue) == null ? void 0 : y.campaign) == null ? void 0 : f.type) === o.campaignType;
44
+ return n.campaignType ? c.filter(
45
+ (l) => {
46
+ var _, f;
47
+ return ((f = (_ = l.defaultValue) == null ? void 0 : _.campaign) == null ? void 0 : f.type) === n.campaignType;
48
48
  }
49
- ) : t.value.intention === null ? G.sampleSize(m, 7) : m.filter(
50
- (n) => n.intention.includes(t.value.intention)
49
+ ) : t.value.intention === null ? G.sampleSize(c, 7) : c.filter(
50
+ (l) => l.intention.includes(t.value.intention)
51
51
  );
52
52
  });
53
53
  j(async () => {
54
- await a.readTemplates();
54
+ await i.readTemplates();
55
55
  });
56
56
  function O() {
57
- o.onOk(void 0), p.close();
57
+ n.onOk(void 0), p.close();
58
58
  }
59
59
  function $() {
60
- const m = t.value.template;
61
- o.onOk(a.templates.find((n) => n._id === m)), p.close();
60
+ const c = t.value.template;
61
+ n.onOk(i.templates.find((l) => l._id === c)), p.close();
62
62
  }
63
- return (m, n) => {
64
- const y = c("FmChip"), f = c("FmListItem"), z = c("FmList"), k = c("FmCard"), v = c("FmButton"), B = c("FmSpacer");
63
+ return (c, l) => {
64
+ const _ = m("FmChip"), f = m("FmListItem"), z = m("FmList"), k = m("FmCard"), v = m("FmButton"), B = m("FmSpacer");
65
65
  return r(), C(k, { class: "h-[534px] max-w-6xl" }, {
66
66
  default: d(() => [
67
- l("div", Q, [
68
- o.campaignType ? M("", !0) : (r(), w("div", R, [
69
- i(z, null, {
67
+ s("div", Q, [
68
+ n.campaignType ? M("", !0) : (r(), h("div", R, [
69
+ a(z, null, {
70
70
  default: d(() => [
71
- i(f, {
72
- class: h([{
71
+ a(f, {
72
+ class: w([{
73
73
  "bg-fm-color-system-warning-100": e(t).intention === null
74
74
  }, "rounded-sm"]),
75
- onClick: n[0] || (n[0] = (s) => {
75
+ onClick: l[0] || (l[0] = (o) => {
76
76
  e(t).intention = null, e(t).template = null;
77
77
  })
78
78
  }, {
79
79
  append: d(() => [
80
- i(y, {
80
+ a(_, {
81
81
  label: "Hot",
82
82
  variant: "critical"
83
83
  })
84
84
  ]),
85
85
  default: d(() => [
86
- n[2] || (n[2] = T(" Most popular "))
86
+ T(" Most popular ")
87
87
  ]),
88
88
  _: 1
89
89
  }, 8, ["class"]),
90
- (r(!0), w(S, null, N(e(J).options, (s, x) => (r(), C(f, {
90
+ (r(!0), h(S, null, N(e(J).options, (o, x) => (r(), C(f, {
91
91
  key: x,
92
- class: h(["rounded-sm", {
93
- "bg-fm-color-system-warning-100": e(t).intention === s
92
+ class: w(["rounded-sm", {
93
+ "bg-fm-color-system-warning-100": e(t).intention === o
94
94
  }]),
95
95
  style: { padding: "8px 16px" },
96
- onClick: (_) => {
97
- e(t).intention = s, e(t).template = null;
96
+ onClick: (y) => {
97
+ e(t).intention = o, e(t).template = null;
98
98
  }
99
99
  }, {
100
100
  default: d(() => [
101
- T(g(e(V)(s)), 1)
101
+ T(g(e(V)(o)), 1)
102
102
  ]),
103
103
  _: 2
104
104
  }, 1032, ["class", "onClick"]))), 128))
@@ -106,57 +106,57 @@ const K = /* @__PURE__ */ L({
106
106
  _: 1
107
107
  })
108
108
  ])),
109
- l("div", W, [
110
- l("div", X, [
111
- l("div", Y, g(o.campaignType ? e(V)(
112
- `${e(A).formattedType(o.campaignType)} campaign`
109
+ s("div", W, [
110
+ s("div", X, [
111
+ s("div", Y, g(n.campaignType ? e(V)(
112
+ `${e(A).formattedType(n.campaignType)} campaign`
113
113
  ) : "Template list"), 1),
114
- n[3] || (n[3] = l("div", { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, " Get started faster with templates that flex with your business. ", -1))
114
+ Z
115
115
  ]),
116
- l("div", Z, [
117
- i(U, { json: e(b) }, null, 8, ["json"]),
118
- l("div", ee, [
119
- (r(!0), w(S, null, N(e(b), (s, x) => (r(), C(k, {
116
+ s("div", ee, [
117
+ a(U, { json: e(b) }, null, 8, ["json"]),
118
+ s("div", te, [
119
+ (r(!0), h(S, null, N(e(b), (o, x) => (r(), C(k, {
120
120
  key: x,
121
121
  variant: "outlined",
122
- class: h(["box-border cursor-pointer h-full p-16 scroll-p-4 space-y-8", {
123
- "bg-fm-color-system-warning-100 border-fm-color-primary border-2": e(t).template === s._id.toString()
122
+ class: w(["box-border cursor-pointer h-full p-16 scroll-p-4 space-y-8", {
123
+ "bg-fm-color-system-warning-100 border-fm-color-primary border-2": e(t).template === o._id.toString()
124
124
  }]),
125
- onClick: (_) => e(t).template = s._id.toString()
125
+ onClick: (y) => e(t).template = o._id.toString()
126
126
  }, {
127
127
  default: d(() => {
128
- var _, F;
128
+ var y, F;
129
129
  return [
130
- l("div", te, [
131
- i(K, {
132
- type: (F = (_ = s.defaultValue) == null ? void 0 : _.campaign) == null ? void 0 : F.type
130
+ s("div", ne, [
131
+ a(K, {
132
+ type: (F = (y = o.defaultValue) == null ? void 0 : y.campaign) == null ? void 0 : F.type
133
133
  }, null, 8, ["type"])
134
134
  ]),
135
- l("div", ne, g(s.name), 1),
136
- l("p", oe, g(s.description), 1)
135
+ s("div", oe, g(o.name), 1),
136
+ s("p", se, g(o.description), 1)
137
137
  ];
138
138
  }),
139
139
  _: 2
140
140
  }, 1032, ["class", "onClick"]))), 128))
141
141
  ])
142
142
  ]),
143
- l("div", se, [
144
- i(v, {
143
+ s("div", le, [
144
+ a(v, {
145
145
  class: "sm:w-full xs:w-full",
146
146
  variant: "plain",
147
147
  label: "Custom Campaign",
148
148
  size: "md",
149
149
  onClick: O
150
150
  }),
151
- i(B, { class: "sm:hidden xs:hidden" }),
152
- i(v, {
151
+ a(B, { class: "sm:hidden xs:hidden" }),
152
+ a(v, {
153
153
  class: "sm:w-full xs:w-full",
154
154
  variant: "tertiary",
155
155
  label: "Cancel",
156
156
  size: "md",
157
- onClick: n[1] || (n[1] = (s) => e(p).close())
157
+ onClick: l[1] || (l[1] = (o) => e(p).close())
158
158
  }),
159
- i(v, {
159
+ a(v, {
160
160
  class: "sm:w-full xs:w-full",
161
161
  variant: "primary",
162
162
  label: "Start",
@@ -173,13 +173,13 @@ const K = /* @__PURE__ */ L({
173
173
  };
174
174
  }
175
175
  }), ye = (u, p) => ({
176
- open: async (a) => {
176
+ open: async (i) => {
177
177
  p.open({
178
178
  title: "",
179
- dialogComponent: le,
179
+ dialogComponent: ae,
180
180
  dialogComponentProps: {
181
181
  campaignType: u,
182
- onOk: async (o) => (console.debug(o, "selected template"), await a(o))
182
+ onOk: async (n) => (console.debug(n, "selected template"), await i(n))
183
183
  },
184
184
  overlay: !0
185
185
  });
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as i, openBlock as m, createBlock as s, unref as n } from "vue";
2
- import "./index-CUfS9Kp1.js";
3
- import { R as l } from "./rule-builder-Di9RIYHF.js";
4
- import { _ as p } from "./RuleGroup.vue_vue_type_script_setup_true_lang-DqNQl_nz.js";
5
- import { l as e, C as E } from "./index-DNxa8Rqx.js";
2
+ import "./index-DWdAUovq.js";
3
+ import { R as l } from "./rule-builder-kQq14RfN.js";
4
+ import { _ as p } from "./RuleGroup.vue_vue_type_script_setup_true_lang-C3_lmBe5.js";
5
+ import { l as e, C as E } from "./index-C7rl1eHp.js";
6
6
  const O = /* @__PURE__ */ i({
7
7
  __name: "BillRuleGroup",
8
8
  props: {