@feedmepos/mf-connect 0.1.58-prod → 0.1.60-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 (129) hide show
  1. package/dist/Analytic-CB0xAr9Q.js +427 -0
  2. package/dist/App-fp_3oll7.js +4630 -0
  3. package/dist/Bin-CPEbn14A.js +166 -0
  4. package/dist/Broadcast-jKp2iB8c.js +233 -0
  5. package/dist/CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CmJG893h.js +121 -0
  6. package/dist/Card-BaPJkgd2.js +911 -0
  7. package/dist/ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js +97 -0
  8. package/dist/Collections-Bqsg-ON3.js +458 -0
  9. package/dist/Credit-C9zIva1h.js +228 -0
  10. package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-Du7fRSZC.js +128 -0
  11. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-CSMV8OwA.js +2194 -0
  12. package/dist/EffectSheet.vue_vue_type_style_index_0_lang-Doyw0pvU.js +348 -0
  13. package/dist/Experience-CCI_oesa.js +229 -0
  14. package/dist/FileSaver.min-NlMItPOc.js +74 -0
  15. package/dist/FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js +129 -0
  16. package/dist/Game-CRMVz1JP.js +284 -0
  17. package/dist/ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js +144 -0
  18. package/dist/Index-szNiSnjR.js +259 -0
  19. package/dist/JsonViewer-v8_C7l5N.js +87 -0
  20. package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js +18737 -0
  21. package/dist/MainLayout-B1aJoR95.js +41 -0
  22. package/dist/Marketing-AvEiNiD9.js +319 -0
  23. package/dist/Member-DIZwt6Hh.js +279 -0
  24. package/dist/MemberList-dxteIRWn.js +1607 -0
  25. package/dist/MemberOverview-wL_ailso.js +58 -0
  26. package/dist/MemberTransactions-Q3phmXfI.js +45 -0
  27. package/dist/MessageInput.vue_vue_type_script_setup_true_lang-BLk8rX-T.js +60553 -0
  28. package/dist/Mission-CZjySlcS.js +302 -0
  29. package/dist/Overview-BXbWEDy3.js +1079 -0
  30. package/dist/Point-CgjNc_Qn.js +232 -0
  31. package/dist/Promotion-COYo3qLi.js +289 -0
  32. package/dist/Queue-BLIStJth.js +260 -0
  33. package/dist/Record-BWoTvVEE.js +341 -0
  34. package/dist/Reward-Dq6GxHMP.js +442 -0
  35. package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-CR1feHth.js +150 -0
  36. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DuYYfbOH.js +1763 -0
  37. package/dist/Segment-CUfn6k5R.js +882 -0
  38. package/dist/SelectItems.vue_vue_type_script_setup_true_lang-CxycOqNJ.js +181 -0
  39. package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-C7jqrfEj.js +188 -0
  40. package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-CMmdbYH4.js +147 -0
  41. package/dist/Setting-CC5AiQSy.js +1928 -0
  42. package/dist/SettingAdvertisements-DHQTaMC1.js +262 -0
  43. package/dist/Store-CEgv5aOD.js +1842 -0
  44. package/dist/StoreRewards-Dtzk_YG2.js +423 -0
  45. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Cwt8pmoM.js +995 -0
  46. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-BEU2u1-a.js +139 -0
  47. package/dist/Tier-1xqQvWzc.js +895 -0
  48. package/dist/Title-Da-G8plz.js +566 -0
  49. package/dist/Transaction-B0vuVZFZ.js +39 -0
  50. package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-e4-wNfrg.js +130 -0
  51. package/dist/Voucher-DLFjkXLu.js +384 -0
  52. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-5X7dGFD9.js +419 -0
  53. package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-BPTrvEwa.js +56 -0
  54. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  55. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  56. package/dist/app-Do_C3F_N.js +7094 -0
  57. package/dist/app-o7Kvv5aK.js +57962 -0
  58. package/dist/app-wDQR6dpb.js +39 -0
  59. package/dist/app.js +6 -0
  60. package/dist/business-BDi-QTa5.js +82 -0
  61. package/dist/campaign-BHqizYy6.js +1810 -0
  62. package/dist/campaign-CpzFl8Vr.js +4 -0
  63. package/dist/campaign-DNXI3K9c.js +94 -0
  64. package/dist/campaign.enum-BXDwYoeA.js +20 -0
  65. package/dist/campaign.fn-Rws4mJa5.js +758 -0
  66. package/dist/collectible.enum-cMc4fL1T.js +19 -0
  67. package/dist/collection.fn-F8FZ7Dnr.js +26 -0
  68. package/dist/dto-CAtf1jq0.js +216 -0
  69. package/dist/effect-Dhg1ZIrL.js +78 -0
  70. package/dist/email-addresses-BZJZwglQ.js +705 -0
  71. package/dist/export-B6yvRuct.js +97 -0
  72. package/dist/feedme.ico +0 -0
  73. package/dist/helper-VoErinsY.js +71 -0
  74. package/dist/index-B0Pzwzkd.js +31 -0
  75. package/dist/index-Bq6FwMwW.js +32 -0
  76. package/dist/index-BvE6Sbog.js +3 -0
  77. package/dist/index-BysJoGFD.js +146 -0
  78. package/dist/index-C8m_F_I4.js +121 -0
  79. package/dist/index-CQZinjc9.js +54 -0
  80. package/dist/index-Cq7s1Pk2.js +76 -0
  81. package/dist/index-CuvNtC_M.js +61 -0
  82. package/dist/index-DOGrOlB8.js +8859 -0
  83. package/dist/index-Di23nMJ7.js +38 -0
  84. package/dist/index-Dkyb4P6T.js +30076 -0
  85. package/dist/index-DvZiQOtl.js +3077 -0
  86. package/dist/index-Ved5V90A.js +2155 -0
  87. package/dist/index-d4A3r8kv.js +32269 -0
  88. package/dist/index-vh86FiIQ.js +10 -0
  89. package/dist/index-y7IqG-tl.js +44 -0
  90. package/dist/index.esm2017-CRTpUsW5.js +3069 -0
  91. package/dist/loading-CoUrS63J.js +71 -0
  92. package/dist/lodash-B5I3zXaY.js +3678 -0
  93. package/dist/membership-BiQwBHAA.js +235 -0
  94. package/dist/moment-D7p2TMB-.js +2583 -0
  95. package/dist/money-CA3gpWD3.js +15 -0
  96. package/dist/number-CgmVpwHm.js +12 -0
  97. package/dist/object-qECH92oz.js +26 -0
  98. package/dist/objectId-dwaoBfJX.js +7 -0
  99. package/dist/objectid-C80eoTvt.js +145 -0
  100. package/dist/plugins-BkWtR_R5.js +208 -0
  101. package/dist/reward-D7SKofYj.js +36 -0
  102. package/dist/rule-Cpxty5PH.js +1951 -0
  103. package/dist/rule-builder-d_TMgXEC.js +102 -0
  104. package/dist/style.css +4 -0
  105. package/dist/template-BB7bab5R.js +190 -0
  106. package/dist/tier-BJDhpH6X.js +4 -0
  107. package/dist/tiers/tier=1.png +0 -0
  108. package/dist/tiers/tier=2.png +0 -0
  109. package/dist/tiers/tier=3.png +0 -0
  110. package/dist/tiers/tier=4.png +0 -0
  111. package/dist/timezone-Dj3UaenF.js +1151 -0
  112. package/dist/titles/type=diamond.png +0 -0
  113. package/dist/titles/type=drinks.png +0 -0
  114. package/dist/titles/type=food.png +0 -0
  115. package/dist/titles/type=heart.png +0 -0
  116. package/dist/titles/type=medal.png +0 -0
  117. package/dist/titles/type=spend.png +0 -0
  118. package/dist/titles/type=thank-you.png +0 -0
  119. package/dist/titles/type=thumbs-up.png +0 -0
  120. package/dist/titles/type=years.png +0 -0
  121. package/dist/trigger-ZVR5eR1H.js +144 -0
  122. package/dist/tslib.es6-BCqqvLQ_.js +44 -0
  123. package/dist/type_drinks-D6jnpvwV.js +4 -0
  124. package/dist/usePagination-Ds-cuHop.js +223 -0
  125. package/dist/user-DjRqnFsC.js +54 -0
  126. package/dist/vue-i18n-BlCNfIcP.js +2365 -0
  127. package/dist/xlsx-CtNr_GAa.js +15491 -0
  128. package/dist/zod-Bg2FbC-D.js +90 -0
  129. package/package.json +1 -1
@@ -0,0 +1,15 @@
1
+ import { c as r } from "./index-Dkyb4P6T.js";
2
+ function n(o) {
3
+ return r.Dinero.fromNumber({ number: o });
4
+ }
5
+ function t() {
6
+ return r.Dinero.zero().toObject();
7
+ }
8
+ function i() {
9
+ return r.Dinero.zero();
10
+ }
11
+ export {
12
+ i as a,
13
+ n as t,
14
+ t as z
15
+ };
@@ -0,0 +1,12 @@
1
+ import { c as n } from "./index-Dkyb4P6T.js";
2
+ function s(t) {
3
+ return n.DineroFactory(t).multiply(100).toFormat(!1);
4
+ }
5
+ function c(t, r = 2, o = !1) {
6
+ const e = parseFloat(String(t)).toFixed(r);
7
+ return o ? parseFloat(e).toString() : e;
8
+ }
9
+ export {
10
+ s as F,
11
+ c as f
12
+ };
@@ -0,0 +1,26 @@
1
+ function f(r) {
2
+ if (Array.isArray(r))
3
+ return r.map((t) => f(t));
4
+ if (typeof r == "object" && r !== null) {
5
+ const t = {};
6
+ for (const n in r)
7
+ r.hasOwnProperty(n) && !n.startsWith("pf_") && (t[n] = f(r[n]));
8
+ return t;
9
+ }
10
+ return r;
11
+ }
12
+ function i(r) {
13
+ return JSON.parse(JSON.stringify(r));
14
+ }
15
+ function a(r, t, n) {
16
+ const s = r.reduce((e, c) => {
17
+ const u = t(c);
18
+ return e[u] || (e[u] = []), e[u].push(c), e;
19
+ }, {});
20
+ return n ? Object.keys(s).reduce((e, c) => (e[c] = n(s[c]), e), {}) : s;
21
+ }
22
+ export {
23
+ f as a,
24
+ i as c,
25
+ a as g
26
+ };
@@ -0,0 +1,7 @@
1
+ function o(t) {
2
+ const e = t.toString().substring(0, 8);
3
+ return new Date(parseInt(e, 16) * 1e3);
4
+ }
5
+ export {
6
+ o
7
+ };
@@ -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_8b699bf6-eeac-402a-b91a-bed4464c2c36", 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.20.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_8b699bf6-eeac-402a-b91a-bed4464c2c36", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", 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.3.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.27.2", 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: "1826", 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__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", 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: "20260119.4.1", 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:12651", 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.12/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", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.6/x64", GITHUB_RUN_ID: "21280461356", 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: "5e5acaf31437dd3cfdc4f969fdab4638960b1a39", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", 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.60-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.20.0/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_73914d24-fe4c-44f9-ae80-0b0faf076e33", INVOCATION_ID: "e6d3a54bacc44a008a775c8f28a03361", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.0/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: "42", 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.21", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000041675", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.60-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.36", 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.60-prod", npm_package_dependencies_ckeditor5: "^44.3.0", 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: "5e5acaf31437dd3cfdc4f969fdab4638960b1a39", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/tags/mf-connect-0.1.60-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_8b699bf6-eeac-402a-b91a-bed4464c2c36", 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_8b699bf6-eeac-402a-b91a-bed4464c2c36", 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", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_12.5.0", 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_8b699bf6-eeac-402a-b91a-bed4464c2c36", 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
+ })(), r = 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}$"), s = [];
18
+ p = 0;
19
+ for (; p < 10; ) s[48 + p] = p++;
20
+ for (; p < 16; ) s[55 + p] = s[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(f(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(s[e.charCodeAt(o++)] << 4 | s[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 : r(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 (r(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 && r(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 r(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 _ = E();
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 E() {
131
+ return a = (a + 1) % 16777215;
132
+ }
133
+ function f(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
+ };
@@ -0,0 +1,208 @@
1
+ import { u as $, v as C, x as P, w as A, y as S } from "./index.esm2017-CRTpUsW5.js";
2
+ import { u as w } from "./app-wDQR6dpb.js";
3
+ import { S as o } from "./index-Dkyb4P6T.js";
4
+ function L(e, n) {
5
+ let t = "", r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
6
+ const s = r.length;
7
+ for (let a = 0; a < e; a++)
8
+ t += r.charAt(Math.floor(Math.random() * s));
9
+ return t;
10
+ }
11
+ const O = {
12
+ alphabetOnly(e) {
13
+ return e.replace(/[^a-zA-Z]/g, "");
14
+ },
15
+ alphaNumeric(e) {
16
+ return e.replace(/[^a-zA-Z0-9]/g, "");
17
+ },
18
+ numericOnly(e) {
19
+ return e.replace(/[^0-9]/g, "");
20
+ },
21
+ singularOrPlural(e, n, t) {
22
+ const r = e > 1 ? t || `${n}s` : n;
23
+ return `${e} ${r}`;
24
+ }
25
+ }, V = {
26
+ title: (e) => e.replace(
27
+ /\b\w+/g,
28
+ (n) => n.charAt(0).toUpperCase() + n.substring(1).toLowerCase()
29
+ )
30
+ };
31
+ var i = [];
32
+ for (var v = 0; v < 256; ++v)
33
+ i.push((v + 256).toString(16).slice(1));
34
+ function k(e, n = 0) {
35
+ return (i[e[n + 0]] + i[e[n + 1]] + i[e[n + 2]] + i[e[n + 3]] + "-" + i[e[n + 4]] + i[e[n + 5]] + "-" + i[e[n + 6]] + i[e[n + 7]] + "-" + i[e[n + 8]] + i[e[n + 9]] + "-" + i[e[n + 10]] + i[e[n + 11]] + i[e[n + 12]] + i[e[n + 13]] + i[e[n + 14]] + i[e[n + 15]]).toLowerCase();
36
+ }
37
+ var h, R = new Uint8Array(16);
38
+ function _() {
39
+ if (!h && (h = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !h))
40
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
41
+ return h(R);
42
+ }
43
+ var b, p, x = 0, y = 0;
44
+ function E(e, n, t) {
45
+ var r = n && t || 0, s = n || new Array(16);
46
+ e = e || {};
47
+ var a = e.node, c = e.clockseq;
48
+ if (e._v6 || (a || (a = b), c == null && (c = p)), a == null || c == null) {
49
+ var u = e.random || (e.rng || _)();
50
+ a == null && (a = [u[0], u[1], u[2], u[3], u[4], u[5]], !b && !e._v6 && (a[0] |= 1, b = a)), c == null && (c = (u[6] << 8 | u[7]) & 16383, p === void 0 && !e._v6 && (p = c));
51
+ }
52
+ var l = e.msecs !== void 0 ? e.msecs : Date.now(), d = e.nsecs !== void 0 ? e.nsecs : y + 1, I = l - x + (d - y) / 1e4;
53
+ if (I < 0 && e.clockseq === void 0 && (c = c + 1 & 16383), (I < 0 || l > x) && e.nsecs === void 0 && (d = 0), d >= 1e4)
54
+ throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
55
+ x = l, y = d, p = c, l += 122192928e5;
56
+ var m = ((l & 268435455) * 1e4 + d) % 4294967296;
57
+ s[r++] = m >>> 24 & 255, s[r++] = m >>> 16 & 255, s[r++] = m >>> 8 & 255, s[r++] = m & 255;
58
+ var f = l / 4294967296 * 1e4 & 268435455;
59
+ s[r++] = f >>> 8 & 255, s[r++] = f & 255, s[r++] = f >>> 24 & 15 | 16, s[r++] = f >>> 16 & 255, s[r++] = c >>> 8 | 128, s[r++] = c & 255;
60
+ for (var g = 0; g < 6; ++g)
61
+ s[r + g] = a[g];
62
+ return n || k(s);
63
+ }
64
+ async function j(e, n) {
65
+ await new Promise((t) => {
66
+ const r = document.createElement("input");
67
+ r.value = e, document.body.appendChild(r), r.select(), document.execCommand("copy"), document.body.removeChild(r), t("");
68
+ }).then(() => {
69
+ var t;
70
+ (t = w().snackbar) == null || t.open({
71
+ message: (n == null ? void 0 : n.successMessage) || "Copied to clipboard",
72
+ type: "success",
73
+ dismissable: !0
74
+ });
75
+ });
76
+ }
77
+ const T = {
78
+ fileExtension(e) {
79
+ return (e == null ? void 0 : e.type.replace(/video\/|image\//, "")) || void 0;
80
+ },
81
+ generateId(e) {
82
+ return [E(), this.fileExtension(e)].filter(Boolean).join(".");
83
+ },
84
+ campaignPath(e) {
85
+ return `business/${o.getBusinessId()}/campaigns/${e || this.generateId()}`;
86
+ },
87
+ coverImagePath() {
88
+ return `business/${o.getBusinessId()}/membership/design/image.png`;
89
+ },
90
+ advertisementPath(e, n) {
91
+ return `business/${o.getBusinessId()}/membership/advertisement/${e}.${this.fileExtension(n)}`;
92
+ },
93
+ designPath(e, n) {
94
+ return `business/${o.getBusinessId()}/membership/design/${e}.${this.fileExtension(n)}`;
95
+ },
96
+ bundleImagePath(e, n) {
97
+ return `business/${o.getBusinessId()}/membership/bundles/${e || this.generateId(n)}`;
98
+ },
99
+ collectibleImagePath(e, n) {
100
+ return `business/${o.getBusinessId()}/membership/collectibles/${e || this.generateId(n)}`;
101
+ },
102
+ tierImagePath(e, n) {
103
+ return `business/${o.getBusinessId()}/membership/tiers/${e || this.generateId(n)}`;
104
+ },
105
+ referralTermAndConditionPath() {
106
+ return `business/${o.getBusinessId()}/membership/referral/term_and_condition.pdf`;
107
+ },
108
+ async update(e, n, t) {
109
+ const r = $(void 0, t), s = C(r, e);
110
+ return await P(s, n), A(s);
111
+ },
112
+ async delete(e, n) {
113
+ const t = $(void 0, n), r = C(t, e);
114
+ await S(r);
115
+ }
116
+ }, U = {
117
+ get dialog() {
118
+ return w().dialog;
119
+ },
120
+ confirm(e, n = "Confirm", t = "Confirm", r = "Cancel") {
121
+ return new Promise((s) => {
122
+ var a;
123
+ (a = this.dialog) == null || a.open({
124
+ title: n,
125
+ message: e,
126
+ closeButton: !0,
127
+ overlay: !0,
128
+ primaryActions: {
129
+ close: !0,
130
+ text: t
131
+ },
132
+ secondaryActions: {
133
+ variant: "tertiary",
134
+ close: !0,
135
+ text: r
136
+ }
137
+ }).onPrimary(() => {
138
+ s(!0);
139
+ }).onSecondary(() => {
140
+ s(!1);
141
+ }).onClose(() => {
142
+ s(!1);
143
+ });
144
+ });
145
+ },
146
+ remove(e, n = "Remove", t = "Remove", r = "Cancel") {
147
+ return new Promise((s) => {
148
+ var a;
149
+ (a = this.dialog) == null || a.open({
150
+ title: n,
151
+ message: e,
152
+ closeButton: !0,
153
+ overlay: !0,
154
+ primaryActions: {
155
+ close: !0,
156
+ variant: "destructive",
157
+ text: t
158
+ },
159
+ secondaryActions: {
160
+ variant: "tertiary",
161
+ close: !0,
162
+ text: r
163
+ }
164
+ }).onPrimary(() => {
165
+ s(!0);
166
+ }).onClose(() => {
167
+ s(!1);
168
+ });
169
+ });
170
+ }
171
+ }, D = {
172
+ get snackbar() {
173
+ return w().snackbar;
174
+ },
175
+ success(e, n = 2e3) {
176
+ var t;
177
+ return (t = this.snackbar) == null ? void 0 : t.open({ message: e, type: "success" }, n);
178
+ },
179
+ error(e, n = 2e3) {
180
+ var t;
181
+ return (t = this.snackbar) == null ? void 0 : t.open({ message: e, type: "error" }, n);
182
+ },
183
+ info(e, n = 2e3, t = !1) {
184
+ var r;
185
+ return (r = this.snackbar) == null ? void 0 : r.open(
186
+ {
187
+ message: e,
188
+ type: "info",
189
+ dismissable: n !== null,
190
+ spinner: t
191
+ },
192
+ n
193
+ );
194
+ },
195
+ close(e) {
196
+ var n;
197
+ return (n = this.snackbar) == null ? void 0 : n.close(e);
198
+ }
199
+ };
200
+ export {
201
+ j as a,
202
+ O as b,
203
+ V as c,
204
+ T as f,
205
+ D as n,
206
+ U as p,
207
+ L as r
208
+ };
@@ -0,0 +1,36 @@
1
+ import { defineStore as n } from "pinia";
2
+ import { g as r, S as d, b as o } from "./index-Dkyb4P6T.js";
3
+ import { ref as i } from "vue";
4
+ const a = () => {
5
+ const e = d.getBusinessId();
6
+ if (!e) throw new Error("Invalid business ID");
7
+ return o(`businesses/${e}/rewards`, {
8
+ noIdRequired: !0
9
+ });
10
+ }, w = {
11
+ async readRewards() {
12
+ return r(await a().get(""));
13
+ },
14
+ async createReward(e) {
15
+ return r(await a().post("", e));
16
+ },
17
+ async updateReward(e, s) {
18
+ return r(await a().put(e, s));
19
+ },
20
+ async deleteReward(e) {
21
+ return r(await a().delete(e));
22
+ }
23
+ }, R = n("mf-connect-reward", () => {
24
+ const e = i();
25
+ return {
26
+ readRewards: async () => {
27
+ const t = await w.readRewards();
28
+ e.value = t;
29
+ },
30
+ rewards: e
31
+ };
32
+ });
33
+ export {
34
+ w as r,
35
+ R as u
36
+ };