@feedmepos/mf-connect 0.1.118-prod → 0.1.119-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/README.md +12 -8
- package/dist/{App-BHcTqLff.js → App-z-u6skb5.js} +349 -337
- package/dist/AuditLogs-J0UJ3HJW.js +2016 -0
- package/dist/{Bin-DWhXJmHo.js → Bin-Dh9RAgYi.js} +8 -8
- package/dist/{Broadcast-Ct1DL8Pd.js → Broadcast-Dg6azPS8.js} +22 -21
- package/dist/{CampaignAnalytic-BSEKCM-4.js → CampaignAnalytic-CVB4dstO.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BxRg2Wu8.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DYgBeT23.js} +8 -9
- package/dist/{Card-B7DwrAPH.js → Card-CY736Ul0.js} +22 -22
- package/dist/{Collections-BJw4JJq_.js → Collections-CdTKWkZZ.js} +197 -185
- package/dist/{Credit-BteIGXkp.js → Credit-CUhEKlMI.js} +21 -20
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-CSFwIzOS.js → DateRangeChip.vue_vue_type_script_setup_true_lang-CBwgeTXh.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BC4jTtVY.js +4439 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BDZ21UHA.js → EffectSheet.vue_vue_type_style_index_0_lang-D5-EKqG9.js} +30 -30
- package/dist/{Experience-C_VQVfJX.js → Experience-CMp09U-6.js} +32 -31
- package/dist/{FileSaver.min-CMiQUZQE.js → FileSaver.min-Bq5McdmK.js} +1 -1
- package/dist/{Game-BiHMrMBF.js → Game-Dv5NvG-q.js} +19 -18
- package/dist/{GiftCardSetup-DtJIm6oI.js → GiftCardSetup-SO2Tk5In.js} +31 -31
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-BKGnPAEj.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-CgG5vHCp.js} +7 -7
- package/dist/{Goals-B7VjLMDT.js → Goals-BEwQP4cY.js} +4 -4
- package/dist/Grab-npbL7p7S.js +301 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-C9ecPgpJ.js → ImageInput.vue_vue_type_script_setup_true_lang-BDGEqsWE.js} +1 -1
- package/dist/{Index-D_DIHKZG.js → Index-8F2LOWng.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-DSwB0Ubn.js → LocationPicker.vue_vue_type_script_setup_true_lang-BwAjki7Y.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-dk8_eVwd.js → LottieAnimation.vue_vue_type_script_setup_true_lang-DK4C0Y9j.js} +1 -1
- package/dist/{LoyaltyDashboard-DOgHeJdK.js → LoyaltyDashboard-rWm0b8cm.js} +15 -15
- package/dist/{MainLayout-CfYgoXLS.js → MainLayout-ezbgp2IQ.js} +1 -1
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-Bz2LGHUd.js → MainLayout.vue_vue_type_script_setup_true_lang-1QY5-U5y.js} +3 -3
- package/dist/{Marketing-B6TCrwaR.js → Marketing-DcWF4xVc.js} +4 -4
- package/dist/{MarketingMaterialEdit-Bu3a9NGj.js → MarketingMaterialEdit-C1bXj_hU.js} +214 -211
- package/dist/{Member-X51KrYXV.js → Member-CgDZqGsV.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-CYU21JaO.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-Dh1_j06F.js} +39 -47
- package/dist/{MemberImportHistory-CHd9fx7E.js → MemberImportHistory-DT3QJ5se.js} +7 -7
- package/dist/{MemberList-D4L3bSlw.js → MemberList-Bm05jnbk.js} +103 -105
- package/dist/{MemberTransactions-CEgjfhnX.js → MemberTransactions-D90tTpdC.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-zsaig_yK.js → MessageInput.vue_vue_type_script_setup_true_lang-jvgjOXXA.js} +12 -12
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-YZQkKG66.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-CxL-Nh6i.js} +1 -1
- package/dist/{Mission-BEVtvY0-.js → Mission-D_l2eJI3.js} +22 -21
- package/dist/{Overview-DVoXXZ16.js → Overview-1AYfTeMD.js} +20 -20
- package/dist/{Overview-4QRkldza.js → Overview-BOZBnorP.js} +145 -144
- package/dist/{Point-BJmebaL9.js → Point-Cqy4XzeG.js} +22 -21
- package/dist/{Promotion-DWZZBofu.js → Promotion-9RDNbCgB.js} +137 -131
- package/dist/{Queue-DLdsyhCT.js → Queue-D2Eie_np.js} +45 -45
- package/dist/{Record-QOD3XELf.js → Record-e4B--FD8.js} +9 -9
- package/dist/{Review-CKmhyuqj.js → Review-DcUpSvc-.js} +2 -2
- package/dist/ReviewFacebookCallback-BhHdYb4X.js +225 -0
- package/dist/{ReviewGoogleCallback-CDriVQPZ.js → ReviewGoogleCallback-JPkamgo2.js} +5 -5
- package/dist/Reward-BQJw-R8V.js +444 -0
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-ZgYX2QwC.js → RewardGroup.vue_vue_type_script_setup_true_lang-D_DSQ8q2.js} +13 -13
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DfWjXTx3.js +1923 -0
- package/dist/{Segment-URdB0lnl.js → Segment-Cjdqsqqg.js} +303 -306
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-DmI2LAsz.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-g-CJUZBF.js} +14 -14
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BCEgZzA4.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-lbH0b170.js} +4 -4
- package/dist/{Setting-BDIHH2Wk.js → Setting-B3HK4mtx.js} +159 -148
- package/dist/{SettingAdvertisements-CkJYZnIN.js → SettingAdvertisements-BQFJpdIm.js} +12 -12
- package/dist/Settings-DKWkiRuA.js +286 -0
- package/dist/{Store-CV0kYncl.js → Store-mp1LyXwr.js} +28 -28
- package/dist/{StoreRewards-30kSkAZ_.js → StoreRewards-DiSB6d7_.js} +15 -15
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BAYKqf-Y.js +1319 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-be7ksTJw.js +7007 -0
- package/dist/{Tier-DiQSC3iv.js → Tier-CxaXh96q.js} +2575 -687
- package/dist/{Title-DixxpjAg.js → Title-Byz0TGpi.js} +95 -94
- package/dist/{Transaction-DQK4LUGD.js → Transaction-CNXulI3o.js} +2 -2
- package/dist/Upselling-Dto64bmE.js +1013 -0
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CL-GKkuD.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-C0bfVZf8.js} +26 -26
- package/dist/{Voucher-CSVlk_Hr.js → Voucher-CVw3E8Y4.js} +19 -19
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-CiSoy0Ky.js → VoucherEditor.vue_vue_type_script_setup_true_lang-C0d3ktXA.js} +12 -12
- package/dist/{WhatsappAccount-CQYbv2Ew.js → WhatsappAccount-5vLzjaIV.js} +6 -6
- package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DjgRo9iA.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-CwGBRX-Q.js} +1 -1
- package/dist/{WhatsappBot-DdO9Bfvh.js → WhatsappBot-BWJbD7Gk.js} +6 -6
- package/dist/{WhatsappBotLogs-CjjWJGND.js → WhatsappBotLogs-C8gpmZyC.js} +6 -6
- package/dist/{WhatsappBotSettings-DYGx-kRr.js → WhatsappBotSettings-BvPnKHz-.js} +4 -4
- package/dist/WhatsappLayout-DJXhXeXf.js +21 -0
- package/dist/{WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DTUytfe5.js → WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-BxUYjrWQ.js} +3 -3
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DdCUr_Zm.js → ZodTextField.vue_vue_type_script_setup_true_lang-CkjzVKif.js} +2 -2
- package/dist/{app-CqQeNnGq.js → app-BF1vds2J.js} +11496 -10741
- package/dist/app.js +4 -3
- package/dist/{base.export-Dls5LQeu.js → base.export-B7FU8J4P.js} +2 -2
- package/dist/{business-gvLSQklz.js → business-DkUMhys1.js} +1 -1
- package/dist/{campaign-Cd6GmA4U.js → campaign-0AgQP43B.js} +34 -28
- package/dist/{campaign-BqazvOUj.js → campaign-C9cVkGMF.js} +121 -94
- package/dist/{campaign.enum-BqekIiiN.js → campaign.enum-Dx-Zo68Q.js} +2 -1
- package/dist/campaign.fn-N6rJeDUx.js +776 -0
- package/dist/{collection.fn-CERMsFPh.js → collection.fn-B_QnW0e3.js} +2 -2
- package/dist/{currency-IkiKiNg1.js → currency-XQmondpC.js} +1 -1
- package/dist/duplicateCampaign-CvQRWP-Z.js +51 -0
- package/dist/{effect-j_T62HBN.js → effect-Mwn1x6qN.js} +1 -1
- package/dist/{email-addresses-CN1kPlEj.js → email-addresses-DQQAi6-l.js} +2 -2
- package/dist/{feature-flag-DDfyOLsv.js → feature-flag-B1VMMZMd.js} +144 -144
- package/dist/google-BQK68wbe.js +5 -0
- package/dist/{helper-DVUe13eh.js → helper-D1R8vyjc.js} +1 -1
- package/dist/{index-fNYUguDQ.js → index-BU6CU5MP.js} +389 -232
- package/dist/{index-DALsfLV7.js → index-Bm43wR8L.js} +2699 -2613
- package/dist/{index-jS16KX9p.js → index-Bym-ZIcv.js} +1 -1
- package/dist/{index-BvoOJdfc.js → index-C9Nbb7wc.js} +2 -2
- package/dist/{index-UJHdDEG1.js → index-CLlGMbnP.js} +1 -1
- package/dist/{index-BvkqHehI.js → index-CPB7j8Wn.js} +10 -10
- package/dist/{index-COuLtOaw.js → index-CRAuAyO3.js} +1 -1
- package/dist/{index-k7FFxt_M.js → index-Cg8Z5eYT.js} +2 -2
- package/dist/{index-CPyK4a5J.js → index-CzE9ZPDV.js} +4 -4
- package/dist/{index-Cjy0SXCn.js → index-D5BwAYuA.js} +197 -197
- package/dist/{index-ep_Kxxid.js → index-DMfCzjiA.js} +2 -2
- package/dist/{index-DMiaWY0s.js → index-DQnCdGWe.js} +682 -581
- package/dist/{index-D_1pnadB.js → index-DaUhJ6xV.js} +29 -15
- package/dist/{index-9RBtEPPj.js → index-P8DDRVa3.js} +1 -1
- package/dist/{index-C_SaKemI.js → index-Rs75lw-x.js} +1 -1
- package/dist/{index-C-IajuP1.js → index-ZYrey0SM.js} +10 -10
- package/dist/{index-CWGbeg5X.js → index-eR9mqPPV.js} +19 -6
- package/dist/{index-BmIfGArh.js → index-mOGrVzUV.js} +3 -3
- package/dist/{index-lzQ6ehOk.js → index-ug7pxPAX.js} +608 -251
- package/dist/{index-DzbVgUEP.js → index-ytSMcSMt.js} +1 -1
- package/dist/{index.esm2017-vJKhLfdu.js → index.esm2017-Gkctw9Mb.js} +111 -111
- package/dist/{loading-jZV2Dm--.js → loading-kUQqT44G.js} +1 -1
- package/dist/{lodash-C2pLek0l.js → lodash-B4AjV7YZ.js} +1 -1
- package/dist/{member-import-BKI7soRD.js → member-import-CwDUG5mj.js} +1 -1
- package/dist/{membership-smdlFpPr.js → membership-BI6U8-eM.js} +2 -2
- package/dist/{money-5XyTnYwW.js → money-Bum-AbB7.js} +1 -1
- package/dist/{number-DHU9qJJQ.js → number-uAoNqG-N.js} +1 -1
- package/dist/objectid-CPTCMH2h.js +145 -0
- package/dist/{onboarding-C_5pyGx-.js → onboarding-wtYzQipv.js} +36 -36
- package/dist/{onboardingSetup-Bd1V-Ipy.js → onboardingSetup-DlYM-oqd.js} +2 -2
- package/dist/{plugins-D1Ru-da5.js → plugins-BGyTPNfc.js} +3 -3
- package/dist/{reward-BqPl68Xk.js → reward-D0xtG-bp.js} +1 -1
- package/dist/{rule-WBrRXwL-.js → rule-BAA5-vRj.js} +572 -492
- package/dist/style.css +1 -1
- package/dist/template-DKgW9ul3.js +188 -0
- package/dist/{timezone-O4qrCDcK.js → timezone-Bbw2OeEP.js} +1 -1
- package/dist/{transaction.fn-CY_F8Nb8.js → transaction.fn-DZdNjP_E.js} +2 -2
- package/dist/{trigger-D-vySeIB.js → trigger-BpotFb7G.js} +9 -9
- package/dist/{useMarketingMaterialActions-kA6SLHy_.js → useMarketingMaterialActions-CQ1M0N9c.js} +4 -4
- package/dist/{usePagination-AYE_RJH2.js → usePagination-qALFI_Td.js} +1 -1
- package/dist/{user-DJcMkYXP.js → user-X_94TRIK.js} +1 -1
- package/dist/vue-i18n-CRFpVnMa.js +2365 -0
- package/dist/{xlsx--s3hBdDk.js → xlsx-DW48eXDT.js} +224 -224
- package/dist/{zod-IpHRbxaJ.js → zod-BAP9II5C.js} +1 -1
- package/package.json +8 -3
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BJotVIKM.js +0 -3496
- package/dist/ReviewFacebookCallback-C6DlaJ_j.js +0 -238
- package/dist/Reward-DftoZfPN.js +0 -442
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DHmBwLNP.js +0 -1884
- package/dist/Settings-9gaegvYJ.js +0 -179
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Dgwyk3NA.js +0 -1265
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-CDUhH6wp.js +0 -142
- package/dist/WhatsappLayout-B6k_79Kl.js +0 -21
- package/dist/campaign.fn-C0oMb1fs.js +0 -776
- package/dist/google-C3S8u0mT.js +0 -4
- package/dist/objectid-jT5g6pGt.js +0 -145
- package/dist/rule-builder-DAlSbaWh.js +0 -102
- package/dist/template-DDquG4Xc.js +0 -236
- package/dist/vue-i18n-kXHiDb_1.js +0 -2365
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as o, u as H, S as h } from "./index-
|
|
2
|
-
import { m as d } from "./index-
|
|
1
|
+
import { g as o, u as H, S as h } from "./index-CPB7j8Wn.js";
|
|
2
|
+
import { m as d } from "./index-eR9mqPPV.js";
|
|
3
3
|
import { components as z } from "@feedmepos/ui-library";
|
|
4
4
|
import { F as i } from "./collectible.enum-Liy2wH3s.js";
|
|
5
5
|
import { h as y, ref as r } from "vue";
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { g as l } from "./app-BF1vds2J.js";
|
|
2
|
+
var o = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2d88d89e-682d-426f-85b1-8ff3e7f01074", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_remy_vue_client: "0.2.0-beta.14", 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_2d88d89e-682d-426f-85b1-8ff3e7f01074", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", 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", npm_config__buxkaizhe_registry: "https://registry.npmjs.org", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.8.1", 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: "^5.5.1", npm_package_dependencies_ua_parser_js: "^2.0.3", 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: "1807", ACTIONS_ORCHESTRATION_ID: "7fbbe3a8-f0b2-8e05-9330-af4737d16d52.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: "20261023.334.3", 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__feedmepos_custom_attributes: "0.0.1-rc.4", 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_2d88d89e-682d-426f-85b1-8ff3e7f01074", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^14.1.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:10956", GITHUB_WORKFLOW: "[CD:dev] 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: "40398258035", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "964b525f759a0c896d53bcc5f368e29aafcefb75", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.9/x64", 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/[DEV] deploy-mf-connect.yml@refs/heads/dev", 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_8093c922-cb8c-4aa5-899f-ca9c734691aa", INVOCATION_ID: "84f91a7050fd4925abc785a536e26fe5", 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: "456", GITHUB_TRIGGERING_ACTOR: "Tanwyhang", 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", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000228911", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", 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", 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.119-dev", 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.0-dev.1.tgz", npm_lifecycle_event: "build:mf:dev", 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", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "964b525f759a0c896d53bcc5f368e29aafcefb75", 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/heads/dev", GITHUB_ACTOR: "Tanwyhang", 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_2d88d89e-682d-426f-85b1-8ff3e7f01074", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "72087988", 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_2d88d89e-682d-426f-85b1-8ff3e7f01074", 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_2d88d89e-682d-426f-85b1-8ff3e7f01074", 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_2d88d89e-682d-426f-85b1-8ff3e7f01074", 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: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", IMPORT_FILES_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "feedmedev.vip", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedmedev.cc/", VOUCHER_APP_URL: "https://voucher.feedmedev.cc/", FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee" } }, i = Math.floor(Math.random() * 16777215), a = n.index = parseInt(Math.random() * 16777215, 10), d = (typeof o > "u" || typeof o.pid != "number" ? Math.floor(Math.random() * 1e5) : o.pid) % 65535, c = (() => {
|
|
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(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 _ = "", 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" && c && (e.id instanceof c || 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 _ = 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
|
+
d >> 8 & 255,
|
|
123
|
+
d & 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,9 +1,9 @@
|
|
|
1
1
|
import { defineStore as T } from "pinia";
|
|
2
2
|
import { ref as R, computed as h } from "vue";
|
|
3
|
-
import { g as A,
|
|
4
|
-
import { F as U, a as $ } from "./index-
|
|
5
|
-
import { R as i } from "./app-
|
|
6
|
-
const S = (e) => _(`businesses/${e}/onboarding`),
|
|
3
|
+
import { g as A, d as _, S as G } from "./index-CPB7j8Wn.js";
|
|
4
|
+
import { F as U, a as $ } from "./index-P8DDRVa3.js";
|
|
5
|
+
import { R as i } from "./app-BF1vds2J.js";
|
|
6
|
+
const S = (e) => _(`businesses/${e}/onboarding`), N = {
|
|
7
7
|
async read(e, n) {
|
|
8
8
|
const s = await S(e).get("", {
|
|
9
9
|
params: { locale: n }
|
|
@@ -15,7 +15,7 @@ const S = (e) => _(`businesses/${e}/onboarding`), b = {
|
|
|
15
15
|
return $.parse(A(s));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
|
-
var w = { authUrl: "https://portal-v2.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "
|
|
18
|
+
var w = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "feedmedev.vip", crmUrl: "crm.feedmedev.cc", paymentPortalUrl: "https://portal.feedmedev.cc/payment/payout-account", licensePortalUrl: "https://license.feedmedev.cc/", marketingV1Portal: "https://marketing-v1.feedmedev.cc", voucherAppUrl: "https://voucher.feedmedev.cc/" };
|
|
19
19
|
const y = {
|
|
20
20
|
VOUCHER_WELCOME: i["$connect-CAMPAIGN_VOUCHER"],
|
|
21
21
|
VOUCHER_SPEND_MORE: i["$connect-CAMPAIGN_VOUCHER"],
|
|
@@ -33,31 +33,31 @@ const y = {
|
|
|
33
33
|
}, k = /* @__PURE__ */ new Set(["STORE", "MARKETING", "REVIEW", "REFERRAL"]), j = (e, n = !0) => ({
|
|
34
34
|
name: y[e],
|
|
35
35
|
query: n && !k.has(e) ? { setup: e } : {}
|
|
36
|
-
}), z = (e) => window.open(`${w.licensePortalUrl}settings?businessId=${e}`, "_blank"), L = (e, n, s) => "manual" in e ? !!s.manualDone[n.id] : e.all.every((c) => !!s.facts[c]),
|
|
36
|
+
}), z = (e) => window.open(`${w.licensePortalUrl}settings?businessId=${e}`, "_blank"), L = (e, n, s) => "manual" in e ? !!s.manualDone[n.id] : e.all.every((c) => !!s.facts[c]), I = (e, n, s) => L(s === "generic" ? e.genericDoneWhen ?? e.doneWhen : e.doneWhen, e, n), V = (e, n, s) => {
|
|
37
37
|
const c = new Set(e.items.map((o) => o.id));
|
|
38
|
-
if (s === "generic" || !
|
|
38
|
+
if (s === "generic" || !P(e, n))
|
|
39
39
|
return e.genericItemIds.filter((o) => c.has(o) && !n.removed[o]);
|
|
40
40
|
const t = [], a = (o) => {
|
|
41
41
|
c.has(o) && !t.includes(o) && !n.removed[o] && t.push(o);
|
|
42
42
|
};
|
|
43
43
|
return E(e, n).forEach((o) => {
|
|
44
|
-
o.coreItemIds.forEach(a), o.altItemIds.filter((
|
|
44
|
+
o.coreItemIds.forEach(a), o.altItemIds.filter((d) => n.added[d]).forEach(a);
|
|
45
45
|
}), t;
|
|
46
|
-
}, E = (e, n) => e.goals.filter((s) => n.pickedGoals.includes(s.id)),
|
|
46
|
+
}, E = (e, n) => e.goals.filter((s) => n.pickedGoals.includes(s.id)), P = (e, n) => n.built && E(e, n).length > 0, W = (e) => Object.keys(e.facts).length > 0 || Object.keys(e.manualDone).length > 0, Q = (e, n) => P(e, n) ? "goals" : n.generic === "active" ? "generic" : W(n) || n.generic === "closed" ? "picker" : "generic", Y = (e, n) => {
|
|
47
47
|
const s = /* @__PURE__ */ new Set();
|
|
48
48
|
return E(e, n).flatMap(
|
|
49
49
|
(c) => c.altItemIds.filter((t) => !(n.added[t] && !n.removed[t]) && !s.has(t) && s.add(t)).map((t) => ({ goal: c, item: e.items.find((a) => a.id === t) })).filter(
|
|
50
|
-
(t) => !!t.item && !
|
|
50
|
+
(t) => !!t.item && !I(t.item, n, "goals")
|
|
51
51
|
)
|
|
52
52
|
);
|
|
53
|
-
}, Z = (e, n) => new Set(E(e, n).flatMap((s) => s.altItemIds.length ? s.coreItemIds : [])), F = (e, n, s, c) => s.map((t) => e.items.find((a) => a.id === t)).filter((t) => !!t && !
|
|
54
|
-
const c = (m) => m.map((g) => e.items.find((
|
|
55
|
-
return { done: a, total: t.length, allDone: o, remaining:
|
|
53
|
+
}, Z = (e, n) => new Set(E(e, n).flatMap((s) => s.altItemIds.length ? s.coreItemIds : [])), F = (e, n, s, c) => s.map((t) => e.items.find((a) => a.id === t)).filter((t) => !!t && !I(t, n, c)).reduce((t, a) => t + a.minutes, 0), J = (e, n, s) => {
|
|
54
|
+
const c = (m) => m.map((g) => e.items.find((p) => p.id === g)).filter((g) => !!g), t = c(s.coreItemIds), a = t.filter((m) => I(m, n, "goals")).length, o = t.length > 0 && a === t.length, d = c(s.altItemIds).filter((m) => !I(m, n, "goals")).length;
|
|
55
|
+
return { done: a, total: t.length, allDone: o, remaining: d, exhausted: o && d === 0 };
|
|
56
56
|
}, ee = (e, n, s) => s === "generic" && e.destinationAfter && n.facts[e.destinationAfter.fact] ? e.destinationAfter.destination : e.destination, ne = (e, n, s) => {
|
|
57
57
|
const c = (t) => "manual" in t.doneWhen ? n.manualDone[t.id] : t.doneWhen.all.map((a) => n.liveSince[a] ?? n.facts[a]).sort().at(-1);
|
|
58
|
-
return s.map((t) => e.items.find((a) => a.id === t)).filter((t) => !!t &&
|
|
59
|
-
var o,
|
|
60
|
-
return (((o = a.liveSince) == null ? void 0 : o.getTime()) ?? 0) - (((
|
|
58
|
+
return s.map((t) => e.items.find((a) => a.id === t)).filter((t) => !!t && I(t, n, "goals")).map((t) => ({ item: t, liveSince: c(t) })).sort((t, a) => {
|
|
59
|
+
var o, d;
|
|
60
|
+
return (((o = a.liveSince) == null ? void 0 : o.getTime()) ?? 0) - (((d = t.liveSince) == null ? void 0 : d.getTime()) ?? 0);
|
|
61
61
|
});
|
|
62
62
|
}, H = (e, n, s = /* @__PURE__ */ new Date()) => {
|
|
63
63
|
const c = {
|
|
@@ -81,39 +81,39 @@ const y = {
|
|
|
81
81
|
var r;
|
|
82
82
|
return ((r = t.value) == null ? void 0 : r.state) ?? null;
|
|
83
83
|
});
|
|
84
|
-
let
|
|
84
|
+
let d = "en-US";
|
|
85
85
|
const m = (r, l = G.getBusinessId()) => {
|
|
86
86
|
if (!l) return Promise.resolve();
|
|
87
|
-
|
|
87
|
+
d = r, c.value = l;
|
|
88
88
|
const f = s.get(l);
|
|
89
89
|
if (f) return f;
|
|
90
|
-
const
|
|
91
|
-
c.value === l && (e.value = { ...
|
|
92
|
-
}).catch((
|
|
93
|
-
c.value === l && (n.value =
|
|
90
|
+
const v = N.read(l, r).then((u) => {
|
|
91
|
+
c.value === l && (e.value = { ...u, businessId: l }, n.value = null);
|
|
92
|
+
}).catch((u) => {
|
|
93
|
+
c.value === l && (n.value = u);
|
|
94
94
|
}).finally(() => s.delete(l));
|
|
95
|
-
return s.set(l,
|
|
95
|
+
return s.set(l, v), v;
|
|
96
96
|
}, g = async (r) => {
|
|
97
|
-
var
|
|
97
|
+
var v;
|
|
98
98
|
const l = t.value;
|
|
99
99
|
if (!l) return;
|
|
100
100
|
const f = l.businessId;
|
|
101
101
|
e.value = { ...l, state: H(l.state, r) };
|
|
102
102
|
try {
|
|
103
|
-
const
|
|
104
|
-
((
|
|
105
|
-
} catch (
|
|
106
|
-
throw await m(
|
|
103
|
+
const u = await N.patch(f, r);
|
|
104
|
+
((v = e.value) == null ? void 0 : v.businessId) === f && (e.value = { ...e.value, state: u });
|
|
105
|
+
} catch (u) {
|
|
106
|
+
throw await m(d, f), u;
|
|
107
107
|
}
|
|
108
|
-
},
|
|
108
|
+
}, p = (r) => a.value && o.value ? V(a.value, o.value, r) : [], O = (r) => {
|
|
109
109
|
if (!a.value || !o.value) return 0;
|
|
110
110
|
const l = a.value.items, f = o.value;
|
|
111
|
-
return
|
|
112
|
-
const
|
|
113
|
-
return !!
|
|
111
|
+
return p(r).filter((v) => {
|
|
112
|
+
const u = l.find((M) => M.id === v);
|
|
113
|
+
return !!u && I(u, f, r);
|
|
114
114
|
}).length;
|
|
115
|
-
},
|
|
116
|
-
return { catalog: a, state: o, loaded: D, error: n, read: m, patch: g, ids:
|
|
115
|
+
}, b = (r) => a.value && o.value ? F(a.value, o.value, p(r), r) : 0, C = h(() => p("goals").length - O("goals")), D = h(() => !!t.value);
|
|
116
|
+
return { catalog: a, state: o, loaded: D, error: n, read: m, patch: g, ids: p, doneCount: O, minsLeft: b, goalsRemaining: C };
|
|
117
117
|
});
|
|
118
118
|
export {
|
|
119
119
|
Q as a,
|
|
@@ -122,8 +122,8 @@ export {
|
|
|
122
122
|
j as d,
|
|
123
123
|
Z as e,
|
|
124
124
|
J as g,
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
P as h,
|
|
126
|
+
I as i,
|
|
127
127
|
z as o,
|
|
128
128
|
E as p,
|
|
129
129
|
ne as r,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRouter as o } from "vue-router";
|
|
2
|
-
import { b as u } from "./index-
|
|
3
|
-
import { u as n } from "./campaign-
|
|
2
|
+
import { b as u } from "./index-P8DDRVa3.js";
|
|
3
|
+
import { u as n } from "./campaign-0AgQP43B.js";
|
|
4
4
|
const l = () => {
|
|
5
5
|
const s = o(), r = n();
|
|
6
6
|
return { consume: async () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as fe, v as ge, x as Ee, w as Ie, y as Fe } from "./index.esm2017-
|
|
1
|
+
import { u as fe, v as ge, x as Ee, w as Ie, y as Fe } from "./index.esm2017-Gkctw9Mb.js";
|
|
2
2
|
import { u as oe } from "./app-wDQR6dpb.js";
|
|
3
|
-
import { e as Ae, Z as O, d as de, i as ke, z as De } from "./app-
|
|
3
|
+
import { e as Ae, Z as O, d as de, i as ke, z as De } from "./app-BF1vds2J.js";
|
|
4
4
|
import { detectLocale as Te, createFeedMeI18n as Ke } from "@feedmepos/mf-common";
|
|
5
|
-
import { S as k } from "./index-
|
|
5
|
+
import { S as k } from "./index-CPB7j8Wn.js";
|
|
6
6
|
var b = [];
|
|
7
7
|
for (var ee = 0; ee < 256; ++ee)
|
|
8
8
|
b.push((ee + 256).toString(16).slice(1));
|