@feedmepos/mf-connect 0.1.127-prod → 0.1.128-dev
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.
- package/dist/{App-BMF6m0GU.js → App-CPSC0ccq.js} +224 -216
- package/dist/AuditLogs-CgrYStwa.js +2016 -0
- package/dist/{Bin-Dkn-CjZE.js → Bin-Cn7sCPql.js} +8 -8
- package/dist/{Broadcast-DqaP4ON2.js → Broadcast-bR7HAyV2.js} +22 -21
- package/dist/{CampaignAnalytic-2Iuxh8-x.js → CampaignAnalytic-Dnpw_Jwo.js} +97 -97
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-C8MlNehK.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-HaWMLA4s.js} +9 -10
- package/dist/{Card-Cv9eldq8.js → Card-BE3Y0KHF.js} +23 -23
- package/dist/{Collections-CK-hxHpa.js → Collections-CLSp9Uah.js} +197 -185
- package/dist/{Credit-CDE4ACVm.js → Credit-DgMyKROt.js} +21 -20
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-CTvIDOWy.js → DateRangeChip.vue_vue_type_script_setup_true_lang-D8eCQE4D.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BB2gszsG.js +4584 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CuPhm1uG.js → EffectSheet.vue_vue_type_style_index_0_lang-CXw7yS8N.js} +33 -33
- package/dist/{Experience-lLK_RR69.js → Experience-CCeRbvIe.js} +32 -31
- package/dist/{FileSaver.min-zDxJKfBO.js → FileSaver.min-D8Rw2VVN.js} +1 -1
- package/dist/{Game-DCdfJkil.js → Game-CYGg8vWQ.js} +19 -18
- package/dist/{GiftCardSetup-DfF1OpFk.js → GiftCardSetup-rzea90xr.js} +31 -31
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-Dbx9bwJM.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-BFUBfL-S.js} +140 -128
- package/dist/{Goals-t0wbcWxG.js → Goals-BnZfK7a3.js} +4 -4
- package/dist/Grab-BRbn6ffm.js +301 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-Bur6iCYa.js → ImageInput.vue_vue_type_script_setup_true_lang-Cw2imjlQ.js} +1 -1
- package/dist/{Index-BUF8U-h8.js → Index-DjZi_lVg.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-kIOc-Px5.js → LocationPicker.vue_vue_type_script_setup_true_lang-B1q4NtuM.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-DRmLpXsg.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CUjzbMcb.js} +1 -1
- package/dist/{LoyaltyDashboard-8laUXBGQ.js → LoyaltyDashboard-C3TZSSQz.js} +82 -82
- package/dist/{MainLayout-BeuKKVNP.js → MainLayout-uNGpBpJi.js} +1 -1
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-C7E3h_Zr.js → MainLayout.vue_vue_type_script_setup_true_lang-0PcswtGl.js} +3 -3
- package/dist/{Marketing-DZG0oIs-.js → Marketing-SXmxcw3-.js} +4 -4
- package/dist/{MarketingMaterialEdit--RDayaUN.js → MarketingMaterialEdit-DK0tjHpF.js} +214 -211
- package/dist/{Member-DeEQr2ef.js → Member-BFSwupq6.js} +7 -7
- package/dist/MemberDetailSheet.vue_vue_type_script_setup_true_lang-Dvcasf5O.js +1322 -0
- package/dist/{MemberImportHistory-DMXVl1qI.js → MemberImportHistory-z12l_IAQ.js} +7 -7
- package/dist/{MemberList-zqeFDkEZ.js → MemberList-DfN7ur0J.js} +103 -105
- package/dist/{MemberTransactions-BBQPNfFG.js → MemberTransactions-Bntt4bRR.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-C_8yL5GL.js → MessageInput.vue_vue_type_script_setup_true_lang-ComtYItw.js} +12 -12
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-9r-eGARm.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-_Imnj16x.js} +1 -1
- package/dist/{Mission-TO8w3ucB.js → Mission-CvpeYVjB.js} +22 -21
- package/dist/{Overview-CPUpEzPd.js → Overview-BkaFC5La.js} +21 -21
- package/dist/{Overview-D6YBYVxK.js → Overview-BtTkltlY.js} +145 -144
- package/dist/{Point-BSq4CRcb.js → Point-CpNAFABM.js} +22 -21
- package/dist/{Promotion-DgPNNfk7.js → Promotion-B_vD_9UF.js} +137 -131
- package/dist/{Queue-CYyabVYT.js → Queue-D5jDhI0f.js} +46 -46
- package/dist/{Record-n7s29IZH.js → Record-EsNXzy4D.js} +9 -9
- package/dist/{Review-DIYulCVl.js → Review-ByMrkymf.js} +2 -2
- package/dist/ReviewFacebookCallback-BDl6NBkw.js +225 -0
- package/dist/{ReviewGoogleCallback-CnESXIH-.js → ReviewGoogleCallback-BzU-hUy5.js} +5 -5
- package/dist/{Reward-D_L2DgT9.js → Reward-kxAuVGDE.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Dsk2VqB8.js → RewardGroup.vue_vue_type_script_setup_true_lang-i9B1R3XP.js} +14 -14
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-D3MZsh4A.js +1923 -0
- package/dist/{Segment-BbGE6AOZ.js → Segment-C5SJs7al.js} +304 -307
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-xrdOyWX8.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-RIerABcb.js} +15 -15
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CTsORsDg.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-D8jS4gee.js} +4 -4
- package/dist/{Setting-B9i2ufr7.js → Setting-zmlu3QcR.js} +17 -17
- package/dist/{SettingAdvertisements-Cuczz1wK.js → SettingAdvertisements-DewXGZoE.js} +12 -12
- package/dist/Settings-5HU_uY6B.js +286 -0
- package/dist/{Store-CoxREXJ-.js → Store-CiTwDcgr.js} +29 -29
- package/dist/{StoreRewards-CzkznvA1.js → StoreRewards-DaOJxsVm.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BtwDM2Fr.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BTqxeKR4.js} +25 -25
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DlFCI1BT.js +7007 -0
- package/dist/{Tier-DyOlzjE0.js → Tier-lNI7GWMP.js} +2583 -688
- package/dist/{Title-C3__B-bw.js → Title-CDxDztnl.js} +96 -95
- package/dist/{Transaction-B_v-lbed.js → Transaction-CcsUvIns.js} +2 -2
- package/dist/{Upselling-D_5nBzIN.js → Upselling-BDirPkWX.js} +3 -3
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CE5eo992.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-hqzfBpop.js} +26 -26
- package/dist/{Voucher-KxXwge4O.js → Voucher-CJDo5U_P.js} +19 -19
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-nbLXmJ5Q.js → VoucherEditor.vue_vue_type_script_setup_true_lang-WjsLHh_E.js} +12 -12
- package/dist/{WhatsappAccount-C8kinTmg.js → WhatsappAccount-CQBti7RJ.js} +6 -6
- package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-ydBfMtzM.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DVNZ774z.js} +1 -1
- package/dist/WhatsappBot-91lIlikm.js +882 -0
- package/dist/{WhatsappBotLogs-Dm0HJh_f.js → WhatsappBotLogs-PQTwT8e5.js} +66 -66
- package/dist/{WhatsappBotSettings-BNZcj26j.js → WhatsappBotSettings-CUES9UL-.js} +5 -5
- package/dist/{WhatsappLayout-BvBN7H-y.js → WhatsappLayout-pZGYJj0J.js} +3 -3
- package/dist/{WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-BzKwTs9R.js → WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DAoonwsO.js} +3 -3
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BY8t6jtW.js → ZodTextField.vue_vue_type_script_setup_true_lang-HEIeZYCP.js} +2 -2
- package/dist/{app-uud8OgB9.js → app--pRyBODF.js} +4159 -3395
- package/dist/app.js +4 -3
- package/dist/{base.export-Bfxt84QY.js → base.export-CSdCmt-6.js} +2 -2
- package/dist/business-BtEfH8Mt.js +83 -0
- package/dist/{campaign-CWyU-r8u.js → campaign-CwQjWU63.js} +121 -94
- package/dist/{campaign-6WrFDF05.js → campaign-t9ubUkjB.js} +31 -25
- package/dist/{campaign.enum-BqekIiiN.js → campaign.enum-Damu7hgo.js} +3 -2
- package/dist/campaign.fn-D3_OzyyQ.js +776 -0
- package/dist/{collectible.enum-Liy2wH3s.js → collectible.enum-C8LbgIQ7.js} +1 -1
- package/dist/{collection.fn-CO-YhhUM.js → collection.fn-BV7pDqa5.js} +2 -2
- package/dist/{currency-kWhKZnhN.js → currency-pS0xeJA6.js} +1 -1
- package/dist/duplicateCampaign-19CDT2kM.js +51 -0
- package/dist/{effect-CjSyUbur.js → effect-B532leFF.js} +1 -1
- package/dist/{email-addresses-C_yrJd12.js → email-addresses-CKkT_5O5.js} +2 -2
- package/dist/{feature-flag-DcM82jeJ.js → feature-flag-25oDCLLB.js} +84 -84
- package/dist/google-BQK68wbe.js +5 -0
- package/dist/{helper-G8MwkrFo.js → helper-DxOj04aq.js} +1 -1
- package/dist/{index-3axft-Vz.js → index-B3sR1LMa.js} +10 -10
- package/dist/{index-ivVytFih.js → index-BCgTcZ7c.js} +609 -252
- package/dist/{index-BXSokNlS.js → index-BFJ2FmB4.js} +18 -18
- package/dist/{index-CiFPNxgn.js → index-BHnMLtU2.js} +381 -235
- package/dist/{index-6Ey495tl.js → index-BLRv_4gJ.js} +1 -1
- package/dist/index-BViMt33t.js +10767 -0
- package/dist/{index-Dv5Ja20d.js → index-BX6lcJDB.js} +1 -1
- package/dist/{index-CVVLKJj_.js → index-C6pr4oIv.js} +1315 -1243
- package/dist/{index-Dkud56R0.js → index-C7wVaeC1.js} +1 -1
- package/dist/{index-DgT4P2_R.js → index-CBYY3VEG.js} +2700 -2614
- package/dist/{index-sPf1Rhez.js → index-C_qmnOKQ.js} +9 -9
- package/dist/{index-CqvjZF-j.js → index-ClD2-18P.js} +19 -6
- package/dist/{index-h2p2DjKy.js → index-DBT1f1M3.js} +2 -2
- package/dist/{index-BNjHmUyd.js → index-DBzCfWxW.js} +2 -2
- package/dist/{index-Cj85mCmr.js → index-DEENB4la.js} +664 -664
- package/dist/{index-B3LCTMwV.js → index-DSAEs8u0.js} +68 -60
- package/dist/{index-L_2hhvso.js → index-DVlo0TO9.js} +23 -23
- package/dist/index-DiYuhtNS.js +19528 -0
- package/dist/{index-Ba4Q_XWF.js → index-Diw9710S.js} +4 -4
- package/dist/{index-CxyO5j1a.js → index-DqQ1q8sX.js} +26 -19
- package/dist/{index-RtamQHhy.js → index-ip2EqUEW.js} +1 -1
- package/dist/{index-DGrPvdRc.js → index-uCkkfjE3.js} +4 -4
- package/dist/{index.esm2017-DiUbRDfz.js → index.esm2017-DRrIFPLo.js} +57 -57
- package/dist/{loading-BdpH3z-q.js → loading--SZI7Tpo.js} +1 -1
- package/dist/{lodash-DcC4G06s.js → lodash-BZqvXM_P.js} +1 -1
- package/dist/{member-import-C99OxU-w.js → member-import-Bmt1OdRW.js} +2 -2
- package/dist/{membership-O5EN0QMl.js → membership-BTFpH7Mg.js} +3 -3
- package/dist/{money-CYS7zoiT.js → money-BVtlYyxo.js} +1 -1
- package/dist/{number-D_C66osx.js → number-DrOdGSrF.js} +1 -1
- package/dist/objectid-DdJFC6TI.js +145 -0
- package/dist/{onboarding-DGx34lkW.js → onboarding-BjcSBC8v.js} +25 -25
- package/dist/{onboardingSetup-ALOoxDHE.js → onboardingSetup-Dcv8i8qd.js} +2 -2
- package/dist/{plugins-CVh8eTG-.js → plugins-Iw52rJ1s.js} +3 -3
- package/dist/{reward-8sP3d8ie.js → reward-DF9tE7iA.js} +1 -1
- package/dist/{rule-BGMBiCRZ.js → rule-rCPhlgAq.js} +572 -492
- package/dist/style.css +1 -1
- package/dist/template-v1F1rvUU.js +227 -0
- package/dist/timezone-BxJDy-bY.js +19 -0
- package/dist/{transaction.fn-Dmla3R1q.js → transaction.fn-Cp3ylqFD.js} +2 -2
- package/dist/{trigger-CArDddXr.js → trigger-O6JvCms4.js} +9 -9
- package/dist/{useMarketingMaterialActions-BX5Ynq8O.js → useMarketingMaterialActions-Cnadk3AO.js} +4 -4
- package/dist/{usePagination-BdgLVPuo.js → usePagination-C5lSxdqt.js} +1 -1
- package/dist/{user-BgTKHjea.js → user-B7iv0TRE.js} +1 -1
- package/dist/vue-i18n-CYFvlTTS.js +2365 -0
- package/dist/{xlsx-WIRNQZAx.js → xlsx-DTJ6bUKL.js} +166 -166
- package/dist/{zod-Dh_CVWJN.js → zod-cIIx_Ng9.js} +1 -1
- package/package.json +7 -3
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-DUJKivXA.js +0 -3638
- package/dist/MemberDetailSheet.vue_vue_type_script_setup_true_lang-Dmf4WtSt.js +0 -1308
- package/dist/ReviewFacebookCallback-D07x5BnV.js +0 -238
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-BjyiiTSY.js +0 -1884
- package/dist/Settings-CCSXjpUC.js +0 -179
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-tSfwcDBG.js +0 -142
- package/dist/WhatsappBot-BuD45ou8.js +0 -878
- package/dist/business-77FEeeil.js +0 -82
- package/dist/campaign.fn-Ci_av9lZ.js +0 -776
- package/dist/google-C3S8u0mT.js +0 -4
- package/dist/index-BqHB3euS.js +0 -27551
- package/dist/index-C_H8jFYf.js +0 -2743
- package/dist/objectid-Dd0NRad7.js +0 -145
- package/dist/rule-builder-DcPK2oqo.js +0 -102
- package/dist/template-Bku-aSPA.js +0 -275
- package/dist/timezone-DML8BuIK.js +0 -20
- package/dist/vue-i18n-DMEbesBm.js +0 -2365
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { b as l } from "./app-uud8OgB9.js";
|
|
2
|
-
var o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_01ea2b04-30c4-4efb-944e-49839e843109", 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", npm_package_devDependencies_vitest: "^2.1.9", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_01ea2b04-30c4-4efb-944e-49839e843109", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", 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.8.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.29.31", 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-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1963", ACTIONS_ORCHESTRATION_ID: "5036ffd5-948e-4cf3-a26f-f68b988f1fce.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.13", 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: "20261101.186.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", npm_package_devDependencies__playwright_test: "^1.62.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_01ea2b04-30c4-4efb-944e-49839e843109", 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", JOURNAL_STREAM: "10:16724", GITHUB_WORKFLOW: "[CD:prod] connect-portal (mf-connect)", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_css_tree: "3.2.1", 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.13/x64", npm_package_dependencies_sanitize_html: "2.17.4", 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.14/x64", GITHUB_RUN_ID: "42731207126", 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: "e1b35b236260b629b2ac677fc084d3c10624bcdb", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.10/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu26", 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.127-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.2/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_01c803b3-58dc-4645-aa85-2090134bc6be", INVOCATION_ID: "6bae1d0b72734784bd6876f4b75d84d8", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/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: "111", GITHUB_TRIGGERING_ACTOR: "yyueniao", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_test_e2e: "playwright test", 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.30", RUNNER_NAME: "GitHub Actions 1000268534", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.127-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.15.47", 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_scripts_test: "vitest run", 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.127-prod", npm_package_dependencies__feedmepos_hrm_permission: "1.0.14", npm_package_dependencies_ckeditor5: "^44.3.0", npm_package_dependencies_htmlparser2: "10.1.0", npm_package_dependencies__feedmepos_mf_upselling: "https://registry.npmjs.org/@feedmepos/mf-upselling/-/mf-upselling-0.3.2.tgz", 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: "e1b35b236260b629b2ac677fc084d3c10624bcdb", 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", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/tags/mf-connect-0.1.127-prod", GITHUB_ACTOR: "yyueniao", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", 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_01ea2b04-30c4-4efb-944e-49839e843109", JAVA_HOME: "/usr/lib/jvm/temurin-25-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "91043129", 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: "workflow_dispatch", 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_01ea2b04-30c4-4efb-944e-49839e843109", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", 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", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_01ea2b04-30c4-4efb-944e-49839e843109", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.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_01ea2b04-30c4-4efb-944e-49839e843109", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.15.0", 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/", VOUCHER_APP_URL: "https://voucher.feedme.cc/", FEATURE_FLAG_API_KEY: "6GhcttsJ9Rj9cTevcdrpin" } }, i = Math.floor(Math.random() * 16777215), a = n.index = parseInt(Math.random() * 16777215, 10), c = (typeof o > "u" || typeof o.pid != "number" ? Math.floor(Math.random() * 1e5) : o.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 _ = "", t = 0; t < 24; )
|
|
57
|
-
_ += String.fromCharCode(s[e.charCodeAt(t++)] << 4 | s[e.charCodeAt(t++)]);
|
|
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
|
-
};
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { l as i } from "./index-DgT4P2_R.js";
|
|
2
|
-
function a(o, t) {
|
|
3
|
-
let r = "", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
4
|
-
const e = s.length;
|
|
5
|
-
for (let n = 0; n < o; n++)
|
|
6
|
-
r += s.charAt(Math.floor(Math.random() * e));
|
|
7
|
-
return r;
|
|
8
|
-
}
|
|
9
|
-
function u(o) {
|
|
10
|
-
return !o.property && "rules" in o;
|
|
11
|
-
}
|
|
12
|
-
function d(o) {
|
|
13
|
-
return "property" in o && !!o.property;
|
|
14
|
-
}
|
|
15
|
-
class c {
|
|
16
|
-
static scaffoldGroup(t) {
|
|
17
|
-
return {
|
|
18
|
-
name: t ?? `g_${a(4)}`,
|
|
19
|
-
rules: {},
|
|
20
|
-
logic: ""
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
static scaffoldEntry(t) {
|
|
24
|
-
return {
|
|
25
|
-
name: `r_${a(4)}`,
|
|
26
|
-
property: t ?? "",
|
|
27
|
-
conditions: {},
|
|
28
|
-
negated: !1
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
static constructEntry(t, r, s, e) {
|
|
32
|
-
return {
|
|
33
|
-
name: e ?? `e_${a(4)}`,
|
|
34
|
-
property: t,
|
|
35
|
-
conditions: {
|
|
36
|
-
[r]: s
|
|
37
|
-
},
|
|
38
|
-
negated: !1
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
static getLogic(t) {
|
|
42
|
-
return (t.logic ?? "").includes("||") ? "||" : "&&";
|
|
43
|
-
}
|
|
44
|
-
static constructLogic(t, r) {
|
|
45
|
-
const s = r ?? c.getLogic(t);
|
|
46
|
-
return Object.entries(t.rules).map(([e, n]) => u(n) ? e : `${n.negated ? "!" : ""}${e}`).join(` ${s} `);
|
|
47
|
-
}
|
|
48
|
-
static setRuleToGroup(t, r, s) {
|
|
49
|
-
let e = i.cloneDeep(t);
|
|
50
|
-
return Object.keys(e.rules).length === 0 && (e = c.scaffoldGroup(e.name)), Array.isArray(r) ? r.forEach((n) => {
|
|
51
|
-
e.rules[n.name] = n;
|
|
52
|
-
}) : e.rules[r.name] = r, e.logic = c.constructLogic(e, s), e;
|
|
53
|
-
}
|
|
54
|
-
static removeEntry(t, r, s) {
|
|
55
|
-
const e = i.cloneDeep(t);
|
|
56
|
-
return delete e.rules[r], e.logic = c.constructLogic(e, s), e;
|
|
57
|
-
}
|
|
58
|
-
static constructRule(t) {
|
|
59
|
-
switch (t.type) {
|
|
60
|
-
case "timeframe": {
|
|
61
|
-
const r = t.property, s = c.scaffoldGroup("timeframe"), e = [];
|
|
62
|
-
return (t.start || t.end) && e.push(
|
|
63
|
-
c.constructEntry(r, "_isBetween", {
|
|
64
|
-
start: t.start || void 0,
|
|
65
|
-
end: t.end || void 0
|
|
66
|
-
})
|
|
67
|
-
), c.setRuleToGroup(s, e, "&&");
|
|
68
|
-
}
|
|
69
|
-
default:
|
|
70
|
-
throw Error("invalid config type");
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
static getRules(t) {
|
|
74
|
-
return t && "rules" in t ? Object.values(t.rules) : [];
|
|
75
|
-
}
|
|
76
|
-
static simplify(t) {
|
|
77
|
-
const [r] = Object.entries(t.conditions);
|
|
78
|
-
return r[0], {
|
|
79
|
-
property: t.property,
|
|
80
|
-
operator: r[0],
|
|
81
|
-
equator: r[1]
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
static isRuleExceed(t, r) {
|
|
85
|
-
const e = Object.keys(t.rules).length + (Array.isArray(r) ? r.length : 1);
|
|
86
|
-
if (e > 10)
|
|
87
|
-
throw new l(10, e);
|
|
88
|
-
return !0;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
class l extends Error {
|
|
92
|
-
constructor(t, r) {
|
|
93
|
-
super(
|
|
94
|
-
`Maximum of ${t} rules allowed per group. Attempted to add ${r} rules.`
|
|
95
|
-
), this.name = "MaxRulesExceededError";
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
export {
|
|
99
|
-
c as R,
|
|
100
|
-
d as a,
|
|
101
|
-
u as i
|
|
102
|
-
};
|
|
@@ -1,275 +0,0 @@
|
|
|
1
|
-
import { p as M, i as T } from "./plugins-CVh8eTG-.js";
|
|
2
|
-
import { _ as I } from "./lodash-DcC4G06s.js";
|
|
3
|
-
import { defineComponent as N, openBlock as u, createBlock as C, resolveDynamicComponent as j, unref as o, ref as Y, computed as W, onMounted as G, resolveComponent as _, withCtx as f, createElementVNode as s, createElementBlock as h, createVNode as m, normalizeClass as w, createTextVNode as k, toDisplayString as g, Fragment as O, renderList as A, createCommentVNode as F } from "vue";
|
|
4
|
-
import { _ as H } from "./remy-icon-BhUGu2NI.js";
|
|
5
|
-
import { u as q } from "./campaign-6WrFDF05.js";
|
|
6
|
-
import { useDialog as J } from "@feedmepos/ui-library";
|
|
7
|
-
import { F as U } from "./index-ivVytFih.js";
|
|
8
|
-
import { C as K } from "./campaign-CWyU-r8u.js";
|
|
9
|
-
import { J as Q } from "./JsonViewer-v8_C7l5N.js";
|
|
10
|
-
import { u as X } from "./vue-i18n-DMEbesBm.js";
|
|
11
|
-
import { u as Z } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-DUJKivXA.js";
|
|
12
|
-
import { u as ee } from "./remy-Qz_pNsUS.js";
|
|
13
|
-
function Le(e) {
|
|
14
|
-
return M.confirm(
|
|
15
|
-
T.global.t("connect.common.duplicate.confirmMessage", { name: e }),
|
|
16
|
-
T.global.t("connect.common.duplicate.title"),
|
|
17
|
-
T.global.t("connect.common.duplicate.proceed")
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
const te = ["LOYALTY", "NO_REWARD"], oe = {
|
|
21
|
-
GAME: [(e) => {
|
|
22
|
-
var t;
|
|
23
|
-
return (t = e == null ? void 0 : e.game) == null ? void 0 : t.rewards;
|
|
24
|
-
}],
|
|
25
|
-
MISSION: [
|
|
26
|
-
(e) => e == null ? void 0 : e.rewards,
|
|
27
|
-
(e) => {
|
|
28
|
-
var t;
|
|
29
|
-
return (t = e == null ? void 0 : e.mission) == null ? void 0 : t.rewards;
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
REWARD_POOL: [(e) => e == null ? void 0 : e.rewards]
|
|
33
|
-
};
|
|
34
|
-
function ne(e, t) {
|
|
35
|
-
e && e.forEach((n) => {
|
|
36
|
-
t.includes(n.type ?? "") || (n.collectible = null, n.type === "VOUCHER" && n.collectibleConfig && (n.collectibleConfig._id = void 0));
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
function le(e) {
|
|
40
|
-
e._id = void 0;
|
|
41
|
-
}
|
|
42
|
-
function ie(e, t) {
|
|
43
|
-
e.campaign && (e.campaign._id = void 0, e.campaign.currentReceive = void 0, e.campaign.notifyCampaign = void 0, t || (e.campaign.collectible = void 0));
|
|
44
|
-
}
|
|
45
|
-
function se(e, t) {
|
|
46
|
-
e.configs && (e.configs.currentReceive = void 0, t || (e.configs._id = void 0));
|
|
47
|
-
}
|
|
48
|
-
function ae(e) {
|
|
49
|
-
const t = oe[(e == null ? void 0 : e.type) ?? ""];
|
|
50
|
-
t && t.forEach((n) => {
|
|
51
|
-
ne(n(e), te);
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
function Pe(e, t = {}) {
|
|
55
|
-
const n = I.cloneDeep(e), { keepCollectible: c = !1 } = t, d = n.campaign;
|
|
56
|
-
return le(n), ie(n, c), se(n, c), ae(d), n;
|
|
57
|
-
}
|
|
58
|
-
const ce = /* @__PURE__ */ N({
|
|
59
|
-
__name: "CampaignChip",
|
|
60
|
-
props: {
|
|
61
|
-
type: { type: String, required: !0 }
|
|
62
|
-
},
|
|
63
|
-
setup(e) {
|
|
64
|
-
const n = K[e.type];
|
|
65
|
-
return (c, d) => (u(), C(j(o(n).chip())));
|
|
66
|
-
}
|
|
67
|
-
}), re = { class: "flex flex-nowrap gap-x-2 grow h-full" }, pe = {
|
|
68
|
-
key: 0,
|
|
69
|
-
class: "p-8 w-1/4"
|
|
70
|
-
}, me = { class: "flex flex-col grow p-24" }, ue = { class: "space-y-4" }, de = { class: "fm-typo-en-title-sm-800" }, fe = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ge = { class: "grow pb-16 pr-16 pt-6 w-full max-h-[400px] overflow-y-auto" }, _e = { class: "gap-24 grid grid-cols-1 lg:grid-cols-2" }, ye = { class: "gap-4 h-[22px] inline-flex items-center justify-center min-w-min rounded-md" }, Ce = { class: "fm-typo-en-title-sm-800" }, ve = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, be = { class: "flex gap-4 items-end justify-end py-8" }, xe = { class: "flex items-center gap-8" }, De = /* @__PURE__ */ N({
|
|
71
|
-
__name: "TemplateDialog",
|
|
72
|
-
props: {
|
|
73
|
-
campaignType: {
|
|
74
|
-
type: String,
|
|
75
|
-
default: () => {
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
onOk: {
|
|
79
|
-
type: Function,
|
|
80
|
-
required: !0
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
setup(e) {
|
|
84
|
-
const { t } = X(), { getLocaleText: n } = Z(), c = J(), d = q(), L = ee(), r = e, l = Y({
|
|
85
|
-
intention: null,
|
|
86
|
-
template: null
|
|
87
|
-
}), R = W(() => {
|
|
88
|
-
const p = (d.templates ?? []).filter(
|
|
89
|
-
() => !0
|
|
90
|
-
//t.intention && t.intention.length > 0
|
|
91
|
-
);
|
|
92
|
-
return r.campaignType ? p.filter(
|
|
93
|
-
(a) => {
|
|
94
|
-
var v, y;
|
|
95
|
-
return ((y = (v = a.defaultValue) == null ? void 0 : v.campaign) == null ? void 0 : y.type) === r.campaignType;
|
|
96
|
-
}
|
|
97
|
-
) : l.value.intention === null ? I.sampleSize(p, 7) : p.filter(
|
|
98
|
-
(a) => a.intention.includes(l.value.intention)
|
|
99
|
-
);
|
|
100
|
-
});
|
|
101
|
-
G(async () => {
|
|
102
|
-
await d.readTemplates();
|
|
103
|
-
});
|
|
104
|
-
function P() {
|
|
105
|
-
r.onOk(void 0), c.close();
|
|
106
|
-
}
|
|
107
|
-
function V() {
|
|
108
|
-
const p = [t("connect.templateDialog.remyPrompt")];
|
|
109
|
-
r.campaignType && p.push(
|
|
110
|
-
t("connect.templateDialog.remyCampaignType", {
|
|
111
|
-
type: t(`connect.templateDialog.campaignType.${r.campaignType}`)
|
|
112
|
-
})
|
|
113
|
-
), l.value.intention && p.push(
|
|
114
|
-
t("connect.templateDialog.remyGoal", {
|
|
115
|
-
goal: t(`connect.templateDialog.intention.${l.value.intention}`)
|
|
116
|
-
})
|
|
117
|
-
), c.close(), L.activate({
|
|
118
|
-
prompt: p.join(" "),
|
|
119
|
-
forceNewConversation: !0
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
function $() {
|
|
123
|
-
const p = l.value.template;
|
|
124
|
-
r.onOk(d.templates.find((a) => a._id === p)), c.close();
|
|
125
|
-
}
|
|
126
|
-
return (p, a) => {
|
|
127
|
-
const v = _("FmChip"), y = _("FmListItem"), B = _("FmList"), E = _("FmCard"), b = _("FmButton"), z = _("FmSpacer");
|
|
128
|
-
return u(), C(E, { class: "h-[534px] max-w-6xl" }, {
|
|
129
|
-
default: f(() => [
|
|
130
|
-
s("div", re, [
|
|
131
|
-
r.campaignType ? F("", !0) : (u(), h("div", pe, [
|
|
132
|
-
m(B, null, {
|
|
133
|
-
default: f(() => [
|
|
134
|
-
m(y, {
|
|
135
|
-
class: w([{
|
|
136
|
-
"bg-fm-color-system-warning-100": o(l).intention === null
|
|
137
|
-
}, "rounded-sm"]),
|
|
138
|
-
onClick: a[0] || (a[0] = (i) => {
|
|
139
|
-
o(l).intention = null, o(l).template = null;
|
|
140
|
-
})
|
|
141
|
-
}, {
|
|
142
|
-
append: f(() => [
|
|
143
|
-
m(v, {
|
|
144
|
-
label: o(t)("connect.templateDialog.hot"),
|
|
145
|
-
variant: "critical"
|
|
146
|
-
}, null, 8, ["label"])
|
|
147
|
-
]),
|
|
148
|
-
default: f(() => [
|
|
149
|
-
k(g(o(t)("connect.templateDialog.mostPopular")) + " ", 1)
|
|
150
|
-
]),
|
|
151
|
-
_: 1
|
|
152
|
-
}, 8, ["class"]),
|
|
153
|
-
(u(!0), h(O, null, A(o(U).options, (i, D) => (u(), C(y, {
|
|
154
|
-
key: D,
|
|
155
|
-
class: w(["rounded-sm", {
|
|
156
|
-
"bg-fm-color-system-warning-100": o(l).intention === i
|
|
157
|
-
}]),
|
|
158
|
-
style: { padding: "8px 16px" },
|
|
159
|
-
onClick: (x) => {
|
|
160
|
-
o(l).intention = i, o(l).template = null;
|
|
161
|
-
}
|
|
162
|
-
}, {
|
|
163
|
-
default: f(() => [
|
|
164
|
-
k(g(o(t)(`connect.templateDialog.intention.${i}`)), 1)
|
|
165
|
-
]),
|
|
166
|
-
_: 2
|
|
167
|
-
}, 1032, ["class", "onClick"]))), 128))
|
|
168
|
-
]),
|
|
169
|
-
_: 1
|
|
170
|
-
})
|
|
171
|
-
])),
|
|
172
|
-
s("div", me, [
|
|
173
|
-
s("div", ue, [
|
|
174
|
-
s("div", de, g(r.campaignType ? o(t)(`connect.templateDialog.campaignType.${r.campaignType}`) : o(t)("connect.templateDialog.templateList")), 1),
|
|
175
|
-
s("div", fe, g(o(t)("connect.templateDialog.subtitle")), 1)
|
|
176
|
-
]),
|
|
177
|
-
s("div", ge, [
|
|
178
|
-
m(Q, { json: o(R) }, null, 8, ["json"]),
|
|
179
|
-
s("div", _e, [
|
|
180
|
-
(u(!0), h(O, null, A(o(R), (i, D) => (u(), C(E, {
|
|
181
|
-
key: D,
|
|
182
|
-
variant: "outlined",
|
|
183
|
-
class: w(["box-border cursor-pointer h-full p-16 scroll-p-4 space-y-8", {
|
|
184
|
-
"bg-fm-color-system-warning-100 border-fm-color-primary border-2": o(l).template === i._id.toString()
|
|
185
|
-
}]),
|
|
186
|
-
onClick: (x) => o(l).template = i._id.toString()
|
|
187
|
-
}, {
|
|
188
|
-
default: f(() => {
|
|
189
|
-
var x, S;
|
|
190
|
-
return [
|
|
191
|
-
s("div", ye, [
|
|
192
|
-
m(ce, {
|
|
193
|
-
type: (S = (x = i.defaultValue) == null ? void 0 : x.campaign) == null ? void 0 : S.type
|
|
194
|
-
}, null, 8, ["type"])
|
|
195
|
-
]),
|
|
196
|
-
s("div", Ce, g(o(n)(i.name_locale, i.name)), 1),
|
|
197
|
-
s("p", ve, g(o(n)(i.description_locale, i.description ?? "")), 1)
|
|
198
|
-
];
|
|
199
|
-
}),
|
|
200
|
-
_: 2
|
|
201
|
-
}, 1032, ["class", "onClick"]))), 128))
|
|
202
|
-
])
|
|
203
|
-
]),
|
|
204
|
-
s("div", be, [
|
|
205
|
-
m(b, {
|
|
206
|
-
class: "sm:w-full xs:w-full",
|
|
207
|
-
variant: "plain",
|
|
208
|
-
label: o(t)("connect.templateDialog.customCampaign"),
|
|
209
|
-
size: "md",
|
|
210
|
-
onClick: P
|
|
211
|
-
}, null, 8, ["label"]),
|
|
212
|
-
r.campaignType && ["PROMOTION", "VOUCHER", "BROADCAST", "POINT", "COIN", "CREDIT"].includes(
|
|
213
|
-
r.campaignType
|
|
214
|
-
) ? (u(), C(b, {
|
|
215
|
-
key: 0,
|
|
216
|
-
class: "sm:w-full xs:w-full",
|
|
217
|
-
variant: "tertiary",
|
|
218
|
-
label: o(t)("connect.templateDialog.askRemy"),
|
|
219
|
-
size: "md",
|
|
220
|
-
onClick: V
|
|
221
|
-
}, {
|
|
222
|
-
default: f(() => [
|
|
223
|
-
s("span", xe, [
|
|
224
|
-
a[2] || (a[2] = s("img", {
|
|
225
|
-
src: H,
|
|
226
|
-
alt: "",
|
|
227
|
-
class: "w-[20px] h-[20px]"
|
|
228
|
-
}, null, -1)),
|
|
229
|
-
k(" " + g(o(t)("connect.templateDialog.askRemy")), 1)
|
|
230
|
-
])
|
|
231
|
-
]),
|
|
232
|
-
_: 1
|
|
233
|
-
}, 8, ["label"])) : F("", !0),
|
|
234
|
-
m(z, { class: "sm:hidden xs:hidden" }),
|
|
235
|
-
m(b, {
|
|
236
|
-
class: "sm:w-full xs:w-full",
|
|
237
|
-
variant: "tertiary",
|
|
238
|
-
label: o(t)("connect.templateDialog.cancel"),
|
|
239
|
-
size: "md",
|
|
240
|
-
onClick: a[1] || (a[1] = (i) => o(c).close())
|
|
241
|
-
}, null, 8, ["label"]),
|
|
242
|
-
m(b, {
|
|
243
|
-
class: "sm:w-full xs:w-full",
|
|
244
|
-
variant: "primary",
|
|
245
|
-
label: o(t)("connect.templateDialog.start"),
|
|
246
|
-
size: "md",
|
|
247
|
-
disabled: !o(l).template,
|
|
248
|
-
onClick: $
|
|
249
|
-
}, null, 8, ["label", "disabled"])
|
|
250
|
-
])
|
|
251
|
-
])
|
|
252
|
-
])
|
|
253
|
-
]),
|
|
254
|
-
_: 1
|
|
255
|
-
});
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
}), Ve = (e, t) => ({
|
|
259
|
-
open: async (n) => {
|
|
260
|
-
t.open({
|
|
261
|
-
title: "",
|
|
262
|
-
dialogComponent: De,
|
|
263
|
-
dialogComponentProps: {
|
|
264
|
-
campaignType: e,
|
|
265
|
-
onOk: async (c) => (console.debug(c, "selected template"), await n(c))
|
|
266
|
-
},
|
|
267
|
-
overlay: !0
|
|
268
|
-
});
|
|
269
|
-
}
|
|
270
|
-
});
|
|
271
|
-
export {
|
|
272
|
-
Le as c,
|
|
273
|
-
Pe as p,
|
|
274
|
-
Ve as u
|
|
275
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { e as a } from "./index-3axft-Vz.js";
|
|
2
|
-
const n = {
|
|
3
|
-
[a.F_COUNTRY.enum.MY]: "Asia/Kuala_Lumpur",
|
|
4
|
-
[a.F_COUNTRY.enum.SG]: "Asia/Singapore",
|
|
5
|
-
JP: "Asia/Tokyo",
|
|
6
|
-
AE: "Asia/Dubai",
|
|
7
|
-
AU: "Australia/Sydney",
|
|
8
|
-
[a.F_COUNTRY.enum.TH]: "Asia/Bangkok",
|
|
9
|
-
[a.F_COUNTRY.enum.ID]: "Asia/Jakarta",
|
|
10
|
-
[a.F_COUNTRY.enum.BN]: "Asia/Brunei",
|
|
11
|
-
[a.F_COUNTRY.enum.MO]: "Asia/Macau",
|
|
12
|
-
[a.F_COUNTRY.enum.MV]: "Indian/Maldives",
|
|
13
|
-
[a.F_COUNTRY.enum.PK]: "Asia/Karachi",
|
|
14
|
-
[a.F_COUNTRY.enum.VN]: "Asia/Ho_Chi_Minh",
|
|
15
|
-
GB: "Europe/London",
|
|
16
|
-
MA: "Africa/Casablanca"
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
n as C
|
|
20
|
-
};
|