@feedmepos/mf-connect 0.1.82-prod → 0.1.84-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.
- package/dist/{Analytic-D850nvXy.js → Analytic---kwMsJh.js} +11 -11
- package/dist/{App-Dwp2SQFt.js → App-Dz1QFoj1.js} +7 -7
- package/dist/{Bin-t3dMVk18.js → Bin-CRYowBLt.js} +8 -8
- package/dist/Broadcast-C8_buAc0.js +265 -0
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CFa7asTL.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CYY2JwZP.js} +6 -6
- package/dist/{Card-DueuT99c.js → Card-DePqhNID.js} +19 -19
- package/dist/{Collections-D50oEyeZ.js → Collections-RwrRqA0j.js} +8 -8
- package/dist/Credit-C8PUzFqm.js +259 -0
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-DysfUOSp.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CgUd84nn.js} +245 -241
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-L0-aFhRw.js → EffectSheet.vue_vue_type_style_index_0_lang-DnPaODeO.js} +6 -6
- package/dist/Experience-DhtTPHu-.js +258 -0
- package/dist/{FileSaver.min-DH3eS7yi.js → FileSaver.min-BWjfwA9o.js} +1 -1
- package/dist/Game-CYj7LBJv.js +329 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-BIKcbIag.js → ImageInput.vue_vue_type_script_setup_true_lang-CUltj6id.js} +1 -1
- package/dist/{Index-BucLJQqP.js → Index-D8AcIz6r.js} +10 -10
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CIoZurPE.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CpUmN6FR.js} +1 -1
- package/dist/{MainLayout-DYGrSfgc.js → MainLayout-DkxA5idl.js} +1 -1
- package/dist/{Marketing-CsAIdNjF.js → Marketing-4h6RtJ9w.js} +6 -6
- package/dist/{Member-D4HF_VGN.js → Member-Mi1lEgxG.js} +11 -11
- package/dist/{MemberList-CPoA4ovd.js → MemberList-Cd7SXI7d.js} +27 -27
- package/dist/{MemberTransactions-AMv9NeIb.js → MemberTransactions-aM_CTN3-.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DhhSwnK0.js → MessageInput.vue_vue_type_script_setup_true_lang-LkKXfpQ8.js} +9864 -9759
- package/dist/Mission-BbZXMfe2.js +333 -0
- package/dist/{Overview-ByO2p2Wx.js → Overview-tjz1RxkD.js} +19 -19
- package/dist/Point-DqSlh8lv.js +261 -0
- package/dist/Promotion-FNZOyKDM.js +390 -0
- package/dist/{Queue-BD29Mmbf.js → Queue-BGr-V2dv.js} +11 -11
- package/dist/{Record-CNLiN6YR.js → Record-YSp6Ra7G.js} +9 -9
- package/dist/{Reward-Ceo3M1yD.js → Reward-CfWeF_XY.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-CJWQEL9W.js → RewardGroup.vue_vue_type_script_setup_true_lang-BdT11T69.js} +12 -12
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-CWuWGs6r.js → RuleGroup.vue_vue_type_script_setup_true_lang-D7pC5cM-.js} +15 -15
- package/dist/{Segment-BOQUlP-m.js → Segment-B8kCEI6G.js} +25 -25
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-BcXeiz0p.js → SelectItems.vue_vue_type_script_setup_true_lang-iK1tNyZN.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-CJ--FC-i.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-Cd9_IVCK.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-9emjG6Nc.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CDNCuGzR.js} +4 -4
- package/dist/{Setting-CWapXD31.js → Setting-DRK1-tm8.js} +14 -14
- package/dist/{SettingAdvertisements-QEf2eyem.js → SettingAdvertisements-CPBFpIuM.js} +12 -12
- package/dist/{Store-Bfm2olbH.js → Store-CF55C7mv.js} +22 -22
- package/dist/{StoreRewards-DNDkyxxn.js → StoreRewards-hF8rcPIS.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-zKLbY4Qb.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BYugGARP.js} +20 -20
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-D3-wIOQ7.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BSOpqCbD.js} +1 -1
- package/dist/{Tier-uC45o2AK.js → Tier-RKT4ClDE.js} +22 -22
- package/dist/{Title-zDjlDJCB.js → Title-vFFh4BdE.js} +20 -20
- package/dist/{Transaction-Bo9FEjMQ.js → Transaction-BHeWenhg.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BR5F0bWS.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-iKbV9AAj.js} +6 -6
- package/dist/{Voucher-B7BTa4Vt.js → Voucher-C6ywMiLW.js} +162 -141
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-CjrjJW7x.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DHlpDIkL.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DeAkLgaX.js → ZodTextField.vue_vue_type_script_setup_true_lang-BHhDgBiv.js} +2 -2
- package/dist/{app-CkUBXnib.js → app-P5wZqN7K.js} +961 -875
- package/dist/app.js +1 -1
- package/dist/{business-C8P05bjQ.js → business-B35Wh7fa.js} +1 -1
- package/dist/{campaign-DcLhSQVQ.js → campaign-CdGwiufg.js} +1 -1
- package/dist/{campaign-CyYAvl3p.js → campaign-CxeRf6Kf.js} +8 -8
- package/dist/{campaign.enum-h6B-mP82.js → campaign.enum-G61yFqyz.js} +1 -1
- package/dist/{campaign.fn-CStjDAoU.js → campaign.fn-DBGVgh7k.js} +128 -128
- package/dist/{collectible.enum-DT-wjl-a.js → collectible.enum-CmO4wF4e.js} +1 -1
- package/dist/{collection.fn-14o3RW2e.js → collection.fn-BZtvtGPA.js} +2 -2
- package/dist/{dto-Bv09Baex.js → dto-BmjMkp1Z.js} +4 -4
- package/dist/{effect-CF0s7QWQ.js → effect-eEYO0AvV.js} +1 -1
- package/dist/{email-addresses-B5qrHbxg.js → email-addresses-sloQNBJG.js} +2 -2
- package/dist/{export-B6nvdBmg.js → export-CmGCO7dx.js} +3 -3
- package/dist/{helper-B4-2ut7E.js → helper-CW7xMPjC.js} +1 -1
- package/dist/{index-D5xt8OjL.js → index-639mCQ6J.js} +1 -1
- package/dist/{index-CR8brl_k.js → index-B5KXKlhV.js} +1 -1
- package/dist/{index-DG_Ej3ec.js → index-B6dK27Ud.js} +3 -3
- package/dist/{index-B-y0UTZw.js → index-BD00XsAg.js} +6 -6
- package/dist/{index-DesSizn4.js → index-C7X2wMHZ.js} +3 -3
- package/dist/{index-BebGg-0n.js → index-CK4IRu1N.js} +1 -1
- package/dist/{index-Ct90ybe0.js → index-CLoMa41m.js} +1 -1
- package/dist/{index-DVb99_67.js → index-CmdjTQSX.js} +1 -1
- package/dist/{index-DzQjej5Y.js → index-CqtPReHP.js} +4 -4
- package/dist/{index-DIQ2MyWF.js → index-DCzBwaDb.js} +4 -4
- package/dist/{index-HhVIn4Bn.js → index-DF11MBlC.js} +1 -1
- package/dist/{index-DRX9TTMn.js → index-DzgPdiHK.js} +3 -3
- package/dist/{index-XDg25M5a.js → index-INxinXgP.js} +1 -1
- package/dist/{index.esm2017-1A2eV8x_.js → index.esm2017-CFPCtvwG.js} +1 -1
- package/dist/{loading-B0_BwPgo.js → loading-D77DfZBP.js} +1 -1
- package/dist/{lodash-DxIglhqk.js → lodash-B8BR1gR7.js} +1 -1
- package/dist/{membership-H_whlbUP.js → membership-B5p556SC.js} +3 -3
- package/dist/{money-DEE8QW6m.js → money-CRPmLrb_.js} +1 -1
- package/dist/{number-BmN5A4Cu.js → number-bJoTVZNO.js} +1 -1
- package/dist/objectid-DCHsjF9h.js +145 -0
- package/dist/{plugins-DTrOHd7d.js → plugins-DQdMt5nO.js} +3 -3
- package/dist/{reward-CsJhkkaT.js → reward-DeTD3TQ1.js} +1 -1
- package/dist/{rule-ByMxYH4c.js → rule-DSuuXRg3.js} +3 -3
- package/dist/{rule-builder-DwGwUlV1.js → rule-builder-D8rRlIOO.js} +1 -1
- package/dist/template-HTjC1_ed.js +236 -0
- package/dist/{timezone-Bpe-fhwZ.js → timezone-CWcYmamV.js} +2 -2
- package/dist/{trigger-CEprJYiD.js → trigger-BZa0mW7v.js} +5 -5
- package/dist/{usePagination-Du6qS5aj.js → usePagination-Abs8KbO-.js} +1 -1
- package/dist/{user-Be8HNWuo.js → user-B94fPQnM.js} +1 -1
- package/dist/{vue-i18n-fg0FtbNR.js → vue-i18n-D5HHFPRa.js} +296 -296
- package/dist/{xlsx-CSQJ3YWk.js → xlsx-BsqWVudt.js} +1 -1
- package/dist/{zod-BB7zZ5ec.js → zod-Bp867gMI.js} +1 -1
- package/package.json +1 -1
- package/dist/Broadcast-DORnkgZc.js +0 -232
- package/dist/Credit-CIWSRGuJ.js +0 -225
- package/dist/Experience-qABtjxNP.js +0 -224
- package/dist/Game-D67q1zKd.js +0 -299
- package/dist/Mission-CRinLn7e.js +0 -303
- package/dist/Point-4JqzbNgP.js +0 -227
- package/dist/Promotion-DlWVF6hF.js +0 -358
- package/dist/objectid-B8LZDZOt.js +0 -145
- package/dist/template-Bdwy6QXF.js +0 -188
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { g as l } from "./app-P5wZqN7K.js";
|
|
2
|
+
var t = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_deb964ee-2ce1-44d1-9780-784afd217580", 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_deb964ee-2ce1-44d1-9780-784afd217580", 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", 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.5.1", 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-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1873", ACTIONS_ORCHESTRATION_ID: "b9d71f75-c0c7-44fd-b7f1-30cb76a0a781.deploy.__default", 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: "20260513.135.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_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:13161", 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.13/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.10/x64", GITHUB_RUN_ID: "25851227099", 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: "de3c99d0adc035fe2f9118966ff34fff611c9a19", 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.84-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_84af44a8-9044-4d14-b0d7-7767be530766", INVOCATION_ID: "c1568d33c3fb434190ea596749d45368", 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: "67", 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.23", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000068841", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.84-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_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.84-prod", npm_package_dependencies__feedmepos_hrm_permission: "1.0.6", 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: "de3c99d0adc035fe2f9118966ff34fff611c9a19", 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.84-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_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_deb964ee-2ce1-44d1-9780-784afd217580", 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_deb964ee-2ce1-44d1-9780-784afd217580", 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_14.6.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_deb964ee-2ce1-44d1-9780-784afd217580", 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/", VOUCHER_APP_URL: "https://voucher.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 k = /* @__PURE__ */ l(g);
|
|
143
|
+
export {
|
|
144
|
+
k as O
|
|
145
|
+
};
|
|
@@ -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-CFPCtvwG.js";
|
|
2
2
|
import { u as oe } from "./app-wDQR6dpb.js";
|
|
3
|
-
import { e as Ae, Z as O, b as de, i as ke, z as De } from "./app-
|
|
3
|
+
import { e as Ae, Z as O, b as de, i as ke, z as De } from "./app-P5wZqN7K.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-DzgPdiHK.js";
|
|
6
6
|
function xt(r, e) {
|
|
7
7
|
let t = "", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8
8
|
const i = s.length;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h as S } from "./moment-D7p2TMB-.js";
|
|
2
2
|
import { a as de, b as N, c as y } from "./tslib.es6-BCqqvLQ_.js";
|
|
3
|
-
import { u as ee } from "./membership-
|
|
4
|
-
import { R as B, a as pe } from "./rule-builder-
|
|
5
|
-
import { u as Be } from "./business-
|
|
3
|
+
import { u as ee } from "./membership-B5p556SC.js";
|
|
4
|
+
import { R as B, a as pe } from "./rule-builder-D8rRlIOO.js";
|
|
5
|
+
import { u as Be } from "./business-B35Wh7fa.js";
|
|
6
6
|
var ue = [
|
|
7
7
|
"MO",
|
|
8
8
|
"TU",
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { p as B, i as w } from "./plugins-DQdMt5nO.js";
|
|
2
|
+
import { _ as O } from "./lodash-B8BR1gR7.js";
|
|
3
|
+
import { defineComponent as I, openBlock as d, createBlock as b, resolveDynamicComponent as $, unref as o, ref as z, computed as M, onMounted as Y, resolveComponent as f, withCtx as _, createElementVNode as s, createElementBlock as D, createVNode as r, normalizeClass as T, createTextVNode as F, toDisplayString as g, Fragment as R, renderList as L, createCommentVNode as j } from "vue";
|
|
4
|
+
import { u as W } from "./campaign-CdGwiufg.js";
|
|
5
|
+
import { useDialog as q } from "@feedmepos/ui-library";
|
|
6
|
+
import { F as G } from "./index-BD00XsAg.js";
|
|
7
|
+
import { C as H } from "./campaign-CxeRf6Kf.js";
|
|
8
|
+
import { J } from "./JsonViewer-v8_C7l5N.js";
|
|
9
|
+
import { u as U } from "./vue-i18n-D5HHFPRa.js";
|
|
10
|
+
import { u as K } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CgUd84nn.js";
|
|
11
|
+
function Se(e) {
|
|
12
|
+
return B.confirm(
|
|
13
|
+
w.global.t("connect.common.duplicate.confirmMessage", { name: e }),
|
|
14
|
+
w.global.t("connect.common.duplicate.title"),
|
|
15
|
+
w.global.t("connect.common.duplicate.proceed")
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
const Q = ["LOYALTY", "NO_REWARD"], X = {
|
|
19
|
+
GAME: [(e) => {
|
|
20
|
+
var t;
|
|
21
|
+
return (t = e == null ? void 0 : e.game) == null ? void 0 : t.rewards;
|
|
22
|
+
}],
|
|
23
|
+
MISSION: [
|
|
24
|
+
(e) => e == null ? void 0 : e.rewards,
|
|
25
|
+
(e) => {
|
|
26
|
+
var t;
|
|
27
|
+
return (t = e == null ? void 0 : e.mission) == null ? void 0 : t.rewards;
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
REWARD_POOL: [(e) => e == null ? void 0 : e.rewards]
|
|
31
|
+
};
|
|
32
|
+
function Z(e, t) {
|
|
33
|
+
e && e.forEach((n) => {
|
|
34
|
+
t.includes(n.type ?? "") || (n.collectible = null, n.type === "VOUCHER" && n.collectibleConfig && (n.collectibleConfig._id = void 0));
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function ee(e) {
|
|
38
|
+
e._id = void 0;
|
|
39
|
+
}
|
|
40
|
+
function te(e, t) {
|
|
41
|
+
e.campaign && (e.campaign._id = void 0, e.campaign.currentReceive = void 0, t || (e.campaign.collectible = void 0));
|
|
42
|
+
}
|
|
43
|
+
function oe(e, t) {
|
|
44
|
+
e.configs && (e.configs.currentReceive = void 0, t || (e.configs._id = void 0));
|
|
45
|
+
}
|
|
46
|
+
function ne(e) {
|
|
47
|
+
const t = X[(e == null ? void 0 : e.type) ?? ""];
|
|
48
|
+
t && t.forEach((n) => {
|
|
49
|
+
Z(n(e), Q);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
function Fe(e, t = {}) {
|
|
53
|
+
const n = O.cloneDeep(e), { keepCollectible: c = !1 } = t, p = n.campaign;
|
|
54
|
+
return ee(n), te(n, c), oe(n, c), ne(p), n;
|
|
55
|
+
}
|
|
56
|
+
const le = /* @__PURE__ */ I({
|
|
57
|
+
__name: "CampaignChip",
|
|
58
|
+
props: {
|
|
59
|
+
type: { type: String, required: !0 }
|
|
60
|
+
},
|
|
61
|
+
setup(e) {
|
|
62
|
+
const n = H[e.type];
|
|
63
|
+
return (c, p) => (d(), b($(o(n).chip())));
|
|
64
|
+
}
|
|
65
|
+
}), ie = { class: "flex flex-nowrap gap-x-2 grow h-full" }, se = {
|
|
66
|
+
key: 0,
|
|
67
|
+
class: "p-8 w-1/4"
|
|
68
|
+
}, ce = { class: "flex flex-col grow p-24" }, ae = { class: "space-y-4" }, re = { class: "fm-typo-en-title-sm-800" }, pe = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, me = { class: "grow pb-16 pr-16 pt-6 w-full max-h-[400px] overflow-y-auto" }, de = { class: "gap-24 grid grid-cols-1 lg:grid-cols-2" }, ue = { class: "gap-4 h-[22px] inline-flex items-center justify-center min-w-min rounded-md" }, fe = { class: "fm-typo-en-title-sm-800" }, _e = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ge = { class: "flex gap-4 items-end justify-end py-8" }, ye = /* @__PURE__ */ I({
|
|
69
|
+
__name: "TemplateDialog",
|
|
70
|
+
props: {
|
|
71
|
+
campaignType: {
|
|
72
|
+
type: String,
|
|
73
|
+
default: () => {
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
onOk: {
|
|
77
|
+
type: Function,
|
|
78
|
+
required: !0
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
setup(e) {
|
|
82
|
+
const { t } = U(), { getLocaleText: n } = K(), c = q(), p = W(), m = e, i = z({
|
|
83
|
+
intention: null,
|
|
84
|
+
template: null
|
|
85
|
+
}), k = M(() => {
|
|
86
|
+
const u = (p.templates ?? []).filter(
|
|
87
|
+
() => !0
|
|
88
|
+
//t.intention && t.intention.length > 0
|
|
89
|
+
);
|
|
90
|
+
return m.campaignType ? u.filter(
|
|
91
|
+
(a) => {
|
|
92
|
+
var C, y;
|
|
93
|
+
return ((y = (C = a.defaultValue) == null ? void 0 : C.campaign) == null ? void 0 : y.type) === m.campaignType;
|
|
94
|
+
}
|
|
95
|
+
) : i.value.intention === null ? O.sampleSize(u, 7) : u.filter(
|
|
96
|
+
(a) => a.intention.includes(i.value.intention)
|
|
97
|
+
);
|
|
98
|
+
});
|
|
99
|
+
Y(async () => {
|
|
100
|
+
await p.readTemplates();
|
|
101
|
+
});
|
|
102
|
+
function A() {
|
|
103
|
+
m.onOk(void 0), c.close();
|
|
104
|
+
}
|
|
105
|
+
function N() {
|
|
106
|
+
const u = i.value.template;
|
|
107
|
+
m.onOk(p.templates.find((a) => a._id === u)), c.close();
|
|
108
|
+
}
|
|
109
|
+
return (u, a) => {
|
|
110
|
+
const C = f("FmChip"), y = f("FmListItem"), P = f("FmList"), E = f("FmCard"), x = f("FmButton"), V = f("FmSpacer");
|
|
111
|
+
return d(), b(E, { class: "h-[534px] max-w-6xl" }, {
|
|
112
|
+
default: _(() => [
|
|
113
|
+
s("div", ie, [
|
|
114
|
+
m.campaignType ? j("", !0) : (d(), D("div", se, [
|
|
115
|
+
r(P, null, {
|
|
116
|
+
default: _(() => [
|
|
117
|
+
r(y, {
|
|
118
|
+
class: T([{
|
|
119
|
+
"bg-fm-color-system-warning-100": o(i).intention === null
|
|
120
|
+
}, "rounded-sm"]),
|
|
121
|
+
onClick: a[0] || (a[0] = (l) => {
|
|
122
|
+
o(i).intention = null, o(i).template = null;
|
|
123
|
+
})
|
|
124
|
+
}, {
|
|
125
|
+
append: _(() => [
|
|
126
|
+
r(C, {
|
|
127
|
+
label: o(t)("connect.templateDialog.hot"),
|
|
128
|
+
variant: "critical"
|
|
129
|
+
}, null, 8, ["label"])
|
|
130
|
+
]),
|
|
131
|
+
default: _(() => [
|
|
132
|
+
F(g(o(t)("connect.templateDialog.mostPopular")) + " ", 1)
|
|
133
|
+
]),
|
|
134
|
+
_: 1
|
|
135
|
+
}, 8, ["class"]),
|
|
136
|
+
(d(!0), D(R, null, L(o(G).options, (l, h) => (d(), b(y, {
|
|
137
|
+
key: h,
|
|
138
|
+
class: T(["rounded-sm", {
|
|
139
|
+
"bg-fm-color-system-warning-100": o(i).intention === l
|
|
140
|
+
}]),
|
|
141
|
+
style: { padding: "8px 16px" },
|
|
142
|
+
onClick: (v) => {
|
|
143
|
+
o(i).intention = l, o(i).template = null;
|
|
144
|
+
}
|
|
145
|
+
}, {
|
|
146
|
+
default: _(() => [
|
|
147
|
+
F(g(o(t)(`connect.templateDialog.intention.${l}`)), 1)
|
|
148
|
+
]),
|
|
149
|
+
_: 2
|
|
150
|
+
}, 1032, ["class", "onClick"]))), 128))
|
|
151
|
+
]),
|
|
152
|
+
_: 1
|
|
153
|
+
})
|
|
154
|
+
])),
|
|
155
|
+
s("div", ce, [
|
|
156
|
+
s("div", ae, [
|
|
157
|
+
s("div", re, g(m.campaignType ? o(t)(`connect.templateDialog.campaignType.${m.campaignType}`) : o(t)("connect.templateDialog.templateList")), 1),
|
|
158
|
+
s("div", pe, g(o(t)("connect.templateDialog.subtitle")), 1)
|
|
159
|
+
]),
|
|
160
|
+
s("div", me, [
|
|
161
|
+
r(J, { json: o(k) }, null, 8, ["json"]),
|
|
162
|
+
s("div", de, [
|
|
163
|
+
(d(!0), D(R, null, L(o(k), (l, h) => (d(), b(E, {
|
|
164
|
+
key: h,
|
|
165
|
+
variant: "outlined",
|
|
166
|
+
class: T(["box-border cursor-pointer h-full p-16 scroll-p-4 space-y-8", {
|
|
167
|
+
"bg-fm-color-system-warning-100 border-fm-color-primary border-2": o(i).template === l._id.toString()
|
|
168
|
+
}]),
|
|
169
|
+
onClick: (v) => o(i).template = l._id.toString()
|
|
170
|
+
}, {
|
|
171
|
+
default: _(() => {
|
|
172
|
+
var v, S;
|
|
173
|
+
return [
|
|
174
|
+
s("div", ue, [
|
|
175
|
+
r(le, {
|
|
176
|
+
type: (S = (v = l.defaultValue) == null ? void 0 : v.campaign) == null ? void 0 : S.type
|
|
177
|
+
}, null, 8, ["type"])
|
|
178
|
+
]),
|
|
179
|
+
s("div", fe, g(o(n)(l.name_locale, l.name)), 1),
|
|
180
|
+
s("p", _e, g(o(n)(l.description_locale, l.description ?? "")), 1)
|
|
181
|
+
];
|
|
182
|
+
}),
|
|
183
|
+
_: 2
|
|
184
|
+
}, 1032, ["class", "onClick"]))), 128))
|
|
185
|
+
])
|
|
186
|
+
]),
|
|
187
|
+
s("div", ge, [
|
|
188
|
+
r(x, {
|
|
189
|
+
class: "sm:w-full xs:w-full",
|
|
190
|
+
variant: "plain",
|
|
191
|
+
label: o(t)("connect.templateDialog.customCampaign"),
|
|
192
|
+
size: "md",
|
|
193
|
+
onClick: A
|
|
194
|
+
}, null, 8, ["label"]),
|
|
195
|
+
r(V, { class: "sm:hidden xs:hidden" }),
|
|
196
|
+
r(x, {
|
|
197
|
+
class: "sm:w-full xs:w-full",
|
|
198
|
+
variant: "tertiary",
|
|
199
|
+
label: o(t)("connect.templateDialog.cancel"),
|
|
200
|
+
size: "md",
|
|
201
|
+
onClick: a[1] || (a[1] = (l) => o(c).close())
|
|
202
|
+
}, null, 8, ["label"]),
|
|
203
|
+
r(x, {
|
|
204
|
+
class: "sm:w-full xs:w-full",
|
|
205
|
+
variant: "primary",
|
|
206
|
+
label: o(t)("connect.templateDialog.start"),
|
|
207
|
+
size: "md",
|
|
208
|
+
disabled: !o(i).template,
|
|
209
|
+
onClick: N
|
|
210
|
+
}, null, 8, ["label", "disabled"])
|
|
211
|
+
])
|
|
212
|
+
])
|
|
213
|
+
])
|
|
214
|
+
]),
|
|
215
|
+
_: 1
|
|
216
|
+
});
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
}), Re = (e, t) => ({
|
|
220
|
+
open: async (n) => {
|
|
221
|
+
t.open({
|
|
222
|
+
title: "",
|
|
223
|
+
dialogComponent: ye,
|
|
224
|
+
dialogComponentProps: {
|
|
225
|
+
campaignType: e,
|
|
226
|
+
onOk: async (c) => (console.debug(c, "selected template"), await n(c))
|
|
227
|
+
},
|
|
228
|
+
overlay: !0
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
export {
|
|
233
|
+
Se as c,
|
|
234
|
+
Fe as p,
|
|
235
|
+
Re as u
|
|
236
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as q0, c as o0, g as W0 } from "./app-
|
|
1
|
+
import { a as q0, c as o0, g as W0 } from "./app-P5wZqN7K.js";
|
|
2
2
|
import { m as d0 } from "./moment-D7p2TMB-.js";
|
|
3
|
-
import { e as n } from "./index-
|
|
3
|
+
import { e as n } from "./index-DzgPdiHK.js";
|
|
4
4
|
var _ = { exports: {} }, j = { exports: {} };
|
|
5
5
|
const R0 = /* @__PURE__ */ q0(d0);
|
|
6
6
|
(function(S) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as m, openBlock as u, createBlock as p, unref as r } from "vue";
|
|
2
|
-
import "./index-
|
|
3
|
-
import { R as i } from "./rule-builder-
|
|
4
|
-
import { _ as E } from "./RuleGroup.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { l as e, C as d } from "./index-
|
|
6
|
-
import { i as n } from "./plugins-
|
|
2
|
+
import "./index-C7X2wMHZ.js";
|
|
3
|
+
import { R as i } from "./rule-builder-D8rRlIOO.js";
|
|
4
|
+
import { _ as E } from "./RuleGroup.vue_vue_type_script_setup_true_lang-D7pC5cM-.js";
|
|
5
|
+
import { l as e, C as d } from "./index-CqtPReHP.js";
|
|
6
|
+
import { i as n } from "./plugins-DQdMt5nO.js";
|
|
7
7
|
const L = /* @__PURE__ */ m({
|
|
8
8
|
__name: "BillRuleGroup",
|
|
9
9
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as $, ref as h, resolveComponent as w, openBlock as f, createBlock as B, withCtx as V, createVNode as g, createElementVNode as d, normalizeStyle as P, createElementBlock as S, Fragment as E, renderList as L, computed as b, onMounted as R, watch as A, unref as c, createCommentVNode as D, toDisplayString as k } from "vue";
|
|
2
|
-
import { l as T } from "./lodash-
|
|
2
|
+
import { l as T } from "./lodash-B8BR1gR7.js";
|
|
3
3
|
const U = ["id"], M = /* @__PURE__ */ $({
|
|
4
4
|
__name: "FmTableSelection",
|
|
5
5
|
props: {
|