@feedmepos/mf-connect 0.1.47-prod → 0.1.48-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-AnuRQDA4.js → Analytic-DrjBaKmx.js} +113 -113
- package/dist/{App-DP_jCyej.js → App-eIaytGsZ.js} +632 -622
- package/dist/{Bin-tL4lF6PB.js → Bin-CVp0eFwl.js} +9 -9
- package/dist/{Broadcast-T2a5tN8R.js → Broadcast-DBgBT6yz.js} +40 -40
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BgPJCH02.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CugJWeBo.js} +18 -18
- package/dist/{Card-Bi-ODgCc.js → Card-DkP6oJVn.js} +239 -239
- package/dist/{Collections-JHWotZ1I.js → Collections-DYb_aeTW.js} +31 -31
- package/dist/{Credit-DQQCXqS0.js → Credit-WVv_PL5D.js} +74 -74
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-hxuYl-OQ.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-Dt9c2kvf.js} +756 -753
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-ECkaQxuI.js → EffectSheet.vue_vue_type_style_index_0_lang-DT3y4k1C.js} +96 -96
- package/dist/{Experience-DzTV21vX.js → Experience-BdH44wBG.js} +41 -41
- package/dist/{Game-DUCx2Dl9.js → Game-C7jxRESY.js} +31 -31
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js +144 -0
- package/dist/{Index-zynxjOOr.js → Index-DYr1p4sh.js} +54 -54
- package/dist/{Marketing-BBHDVRkR.js → Marketing-Djl27fez.js} +24 -24
- package/dist/{Member-B09bj6C3.js → Member-CWXedfTG.js} +63 -63
- package/dist/MemberList-C2TvGi22.js +1606 -0
- package/dist/MemberOverview-wL_ailso.js +58 -0
- package/dist/{MemberTransactions-DERMSs7o.js → MemberTransactions-BSUocGg9.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CAADF6vv.js → MessageInput.vue_vue_type_script_setup_true_lang-D8xPA6jM.js} +2286 -2220
- package/dist/{Mission-DAv0e_ZH.js → Mission-BVx9Cqi5.js} +20 -20
- package/dist/{Overview-D0rBTEtP.js → Overview-DyXF9zfB.js} +337 -337
- package/dist/{Point-BeBYi1BT.js → Point-ovkgTwZO.js} +41 -41
- package/dist/{Promotion-BSPU5hP9.js → Promotion-B0Q6GItP.js} +42 -42
- package/dist/{Queue-C5IFJ3iE.js → Queue-BAWG1Hh-.js} +12 -12
- package/dist/{Record-CoFSrv7j.js → Record-CTp80g4A.js} +10 -10
- package/dist/{Reward-COIOBOl-.js → Reward-_Jow1lJ7.js} +173 -173
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-B9Tl7hqv.js → RewardGroup.vue_vue_type_script_setup_true_lang-BV8xCejA.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BzsYC3k2.js → RuleGroup.vue_vue_type_script_setup_true_lang-DkDAuGY0.js} +381 -381
- package/dist/{Segment-DF5SrucQ.js → Segment-CsdJ1SjK.js} +327 -327
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-BSSfQu3F.js → SelectItems.vue_vue_type_script_setup_true_lang-DH3oIm2t.js} +14 -14
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-DoL_gTKy.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DvVrjpxR.js} +11 -11
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-Cijyol1Q.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-D5gV89Xk.js} +3 -3
- package/dist/Setting-BZRA50LO.js +1936 -0
- package/dist/{Store-E2_0EIy8.js → Store-CFnCN_7-.js} +238 -238
- package/dist/StoreRewards-B_McpBz-.js +423 -0
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-DuatzcJ8.js → StoreTransactions.vue_vue_type_script_setup_true_lang-vL0vr-Xn.js} +185 -185
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-D_r8I0h7.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-C1ZlLdme.js} +1 -1
- package/dist/{Tier-CEEHsXkC.js → Tier-CCYFu6kJ.js} +106 -106
- package/dist/{Title-BMAWlGeW.js → Title-7Mg-Ml4z.js} +95 -95
- package/dist/{Transaction-CLsceq-O.js → Transaction-BqZrbpZi.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CFLekn9O.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-C6ZwPUD4.js} +6 -6
- package/dist/{Voucher-Cd293WYY.js → Voucher-Yty_7SuS.js} +36 -36
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-Bt12t3gB.js +419 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B8HHh8HU.js → ZodTextField.vue_vue_type_script_setup_true_lang-C3NHrEIl.js} +1 -1
- package/dist/{app-aVXsWATU.js → app-2EJP4psh.js} +31 -31
- package/dist/app-Dzon--6x.js +57962 -0
- package/dist/app.js +1 -1
- package/dist/{business-DVlHPzaL.js → business-BehG4fR2.js} +1 -1
- package/dist/{campaign-l-u9A514.js → campaign-BpaiTG4f.js} +10 -10
- package/dist/{campaign-D9KeUWA7.js → campaign-CAcP56Sz.js} +2 -2
- package/dist/{campaign.enum-Cud82tES.js → campaign.enum-BWjI8Hop.js} +1 -1
- package/dist/{campaign.fn-C-UojhHv.js → campaign.fn-PVdB1-V1.js} +166 -166
- package/dist/{collectible.enum-PrlUDScv.js → collectible.enum-BYmuqayi.js} +1 -1
- package/dist/{collection.fn-yR-xnV4g.js → collection.fn-CbH8hbWW.js} +2 -2
- package/dist/{dto-Cua1OHMY.js → dto-Dd3Oc4QO.js} +4 -4
- package/dist/{effect-B5-eXNEr.js → effect-DvEQNEl0.js} +1 -1
- package/dist/{email-addresses-BeYh5fr5.js → email-addresses-C-9JrAi8.js} +1 -1
- package/dist/{export-BUF4_DUz.js → export-RWE9Cn-d.js} +4 -4
- package/dist/{helper-CGwOThAl.js → helper-Bl6LdWED.js} +1 -1
- package/dist/{index-Cl2iYM2F.js → index-1bU9cLqV.js} +1 -1
- package/dist/{index-1BGPM6Uy.js → index-BCQMVr1J.js} +1 -1
- package/dist/{index-BmL_b0IR.js → index-Bgnrbk5x.js} +1 -1
- package/dist/{index-knuJv0ti.js → index-Bjf5Z2QE.js} +4 -4
- package/dist/{index-ng2IXlL1.js → index-CFW9ogow.js} +1 -1
- package/dist/{index-DNTd-FNx.js → index-CfgczUMX.js} +2 -2
- package/dist/{index-C-d_4n-1.js → index-CzCqc7ph.js} +1 -1
- package/dist/{index-aMDi62-C.js → index-DX1X6Owa.js} +1 -1
- package/dist/{index-DlFVLRKG.js → index-DZN5WWgq.js} +3 -3
- package/dist/{index-D5KIp8ZB.js → index-DhUvELhc.js} +3 -3
- package/dist/{index-Cx8-ipee.js → index-DpoNuVc-.js} +6 -6
- package/dist/{index-BLdVWQId.js → index-G_XSbrXB.js} +3 -3
- package/dist/{index-hX2mE0gQ.js → index-VVy4GPzJ.js} +1 -1
- package/dist/{index-CB8iWT_p.js → index-wOExBjGo.js} +1 -1
- package/dist/{index.esm2017-D8stWFci.js → index.esm2017-DfgZFSqe.js} +1 -1
- package/dist/{loading-c4b7n9Xp.js → loading-qlqqYGF3.js} +1 -1
- package/dist/{membership-oBIs4sbL.js → membership-Bh_1iu5v.js} +3 -3
- package/dist/{moment-BWErdI6_.js → moment-D7p2TMB-.js} +6 -1
- package/dist/{money-AP24H0gk.js → money-DvTB_Fek.js} +1 -1
- package/dist/{number-CwsAYC_2.js → number-DJQ3gi1P.js} +1 -1
- package/dist/objectid-BKU0cEuv.js +145 -0
- package/dist/{plugins-Dn7JDHi7.js → plugins-DJpBrPbQ.js} +2 -2
- package/dist/{reward-4wdoZeXw.js → reward-DZ4KlN9B.js} +1 -1
- package/dist/{rule-_OJza6tn.js → rule-DV0yCGlq.js} +4 -4
- package/dist/{rule-builder-DmlhHAED.js → rule-builder-D6ihVPNO.js} +1 -1
- package/dist/{template-BSQLFHf4.js → template-ElP-JIFL.js} +63 -63
- package/dist/timezone-FaHjut_D.js +1150 -0
- package/dist/{trigger-DC9tDnI2.js → trigger-D8wnJVTA.js} +4 -4
- package/dist/usePagination-Ds-cuHop.js +223 -0
- package/dist/{user-CCVOptFD.js → user-NWV9KppR.js} +1 -1
- package/dist/{vue-i18n--_Wu1nMj.js → vue-i18n-CkbS-IDD.js} +112 -112
- package/dist/{xlsx-BVMaOi8M.js → xlsx-CdQE5RZi.js} +226 -226
- package/package.json +5 -4
- package/dist/ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js +0 -144
- package/dist/MemberList-DLSLGQ02.js +0 -1606
- package/dist/MemberOverview-C2n9oJZh.js +0 -58
- package/dist/Setting-Dt0sG_hk.js +0 -1936
- package/dist/StoreRewards-DuSsWnTE.js +0 -423
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-Qc5cCqh5.js +0 -419
- package/dist/app-jRT7vsk_.js +0 -33357
- package/dist/objectid-CVDLTdni.js +0 -145
- package/dist/usePagination-JoYaROkV.js +0 -223
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { g as l } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
|
+
var t = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c90ab7dc-4ed0-4807-bddc-2be0a4df5047", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.19.5 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_c90ab7dc-4ed0-4807-bddc-2be0a4df5047", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.5/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.1.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.27.2", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1741", 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: "20250929.60.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13543", 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.7/x64", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "18830640871", 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: "5761fc885d1737ff1a3f1ed3cb7014ecc51999a9", 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.48-prod", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.19.5/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_314ced37-d52c-41a0-8f5b-e8bbf45f0fff", INVOCATION_ID: "1fcfde65b0db4aca96160bbd1fda04e5", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.5/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: "29", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.21", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000023597", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.48-prod", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.14.36", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.48-prod", npm_package_dependencies_ckeditor5: "^44.3.0", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "5761fc885d1737ff1a3f1ed3cb7014ecc51999a9", 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.48-prod", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_c90ab7dc-4ed0-4807-bddc-2be0a4df5047", 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_c90ab7dc-4ed0-4807-bddc-2be0a4df5047", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_c90ab7dc-4ed0-4807-bddc-2be0a4df5047", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", IMPORT_FILES_STORAGE_BUCKET: "feedme-253402.appspot.com", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedme.cc/" } }, i = Math.floor(Math.random() * 16777215), a = n.index = parseInt(Math.random() * 16777215, 10), c = (typeof t > "u" || typeof t.pid != "number" ? Math.floor(Math.random() * 1e5) : t.pid) % 65535, d = (() => {
|
|
3
|
+
try {
|
|
4
|
+
return _Buffer;
|
|
5
|
+
} catch {
|
|
6
|
+
try {
|
|
7
|
+
return Buffer;
|
|
8
|
+
} catch {
|
|
9
|
+
return null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
})(), s = function(e) {
|
|
13
|
+
return !!(e != null && e.constructor && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e));
|
|
14
|
+
}, u = [];
|
|
15
|
+
for (var p = 0; p < 256; p++)
|
|
16
|
+
u[p] = (p <= 15 ? "0" : "") + p.toString(16);
|
|
17
|
+
var m = new RegExp("^[0-9a-fA-F]{24}$"), r = [];
|
|
18
|
+
p = 0;
|
|
19
|
+
for (; p < 10; ) r[48 + p] = p++;
|
|
20
|
+
for (; p < 16; ) r[55 + p] = r[87 + p] = p++;
|
|
21
|
+
function n(e) {
|
|
22
|
+
if (!(this instanceof n)) return new n(e);
|
|
23
|
+
if (e && (e instanceof n || e._bsontype === "ObjectID"))
|
|
24
|
+
return e;
|
|
25
|
+
if (this._bsontype = "ObjectID", e == null || typeof e == "number") {
|
|
26
|
+
this.id = this.generate(e);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
var _ = n.isValid(e);
|
|
30
|
+
if (!_ && e != null)
|
|
31
|
+
throw new Error(
|
|
32
|
+
"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters"
|
|
33
|
+
);
|
|
34
|
+
if (_ && typeof e == "string" && e.length === 24)
|
|
35
|
+
return n.createFromHexString(e);
|
|
36
|
+
if (e != null && e.length === 12)
|
|
37
|
+
this.id = e;
|
|
38
|
+
else {
|
|
39
|
+
if (e != null && typeof e.toHexString == "function")
|
|
40
|
+
return e;
|
|
41
|
+
throw new Error(
|
|
42
|
+
"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters"
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
var g = n;
|
|
47
|
+
n.default = n;
|
|
48
|
+
n.createFromTime = function(e) {
|
|
49
|
+
return e = parseInt(e, 10) % 4294967295, new n(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(r[e.charCodeAt(o++)] << 4 | r[e.charCodeAt(o++)]);
|
|
58
|
+
return new n(_);
|
|
59
|
+
};
|
|
60
|
+
n.isValid = function(e) {
|
|
61
|
+
return e == null ? !1 : typeof e == "number" ? !0 : typeof e == "string" ? e.length === 12 || e.length === 24 && m.test(e) : e instanceof n ? !0 : s(e) ? n.isValid(e.toString("hex")) : typeof e.toHexString == "function" && d && (e.id instanceof d || typeof e.id == "string") ? e.id.length === 12 || e.id.length === 24 && m.test(e.id) : !1;
|
|
62
|
+
};
|
|
63
|
+
n.prototype = {
|
|
64
|
+
constructor: n,
|
|
65
|
+
/**
|
|
66
|
+
* Return the ObjectID id as a 24 byte hex string representation
|
|
67
|
+
*
|
|
68
|
+
* @return {String} return the 24 byte hex string representation.
|
|
69
|
+
* @api public
|
|
70
|
+
*/
|
|
71
|
+
toHexString: function() {
|
|
72
|
+
if (!this.id || !this.id.length)
|
|
73
|
+
throw new Error(
|
|
74
|
+
"invalid ObjectId, ObjectId.id must be either a string or a Buffer, but is [" + JSON.stringify(this.id) + "]"
|
|
75
|
+
);
|
|
76
|
+
if (this.id.length === 24)
|
|
77
|
+
return this.id;
|
|
78
|
+
if (s(this.id))
|
|
79
|
+
return this.id.toString("hex");
|
|
80
|
+
for (var e = "", _ = 0; _ < this.id.length; _++)
|
|
81
|
+
e += u[this.id.charCodeAt(_)];
|
|
82
|
+
return e;
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* Compares the equality of this ObjectID with `otherID`.
|
|
86
|
+
*
|
|
87
|
+
* @param {Object} otherId ObjectID instance to compare against.
|
|
88
|
+
* @return {Boolean} the result of comparing two ObjectID's
|
|
89
|
+
* @api public
|
|
90
|
+
*/
|
|
91
|
+
equals: function(e) {
|
|
92
|
+
return e instanceof n ? this.toString() === e.toString() : typeof e == "string" && n.isValid(e) && e.length === 12 && s(this.id) ? e === this.id.toString("binary") : typeof e == "string" && n.isValid(e) && e.length === 24 ? e.toLowerCase() === this.toHexString() : typeof e == "string" && n.isValid(e) && e.length === 12 ? e === this.id : e != null && (e instanceof n || e.toHexString) ? e.toHexString() === this.toHexString() : !1;
|
|
93
|
+
},
|
|
94
|
+
/**
|
|
95
|
+
* Returns the generation date (accurate up to the second) that this ID was generated.
|
|
96
|
+
*
|
|
97
|
+
* @return {Date} the generation date
|
|
98
|
+
* @api public
|
|
99
|
+
*/
|
|
100
|
+
getTimestamp: function() {
|
|
101
|
+
var e = /* @__PURE__ */ new Date(), _;
|
|
102
|
+
return s(this.id) ? _ = this.id[3] | this.id[2] << 8 | this.id[1] << 16 | this.id[0] << 24 : _ = this.id.charCodeAt(3) | this.id.charCodeAt(2) << 8 | this.id.charCodeAt(1) << 16 | this.id.charCodeAt(0) << 24, e.setTime(Math.floor(_) * 1e3), e;
|
|
103
|
+
},
|
|
104
|
+
/**
|
|
105
|
+
* Generate a 12 byte id buffer used in ObjectID's
|
|
106
|
+
*
|
|
107
|
+
* @method
|
|
108
|
+
* @param {number} [time] optional parameter allowing to pass in a second based timestamp.
|
|
109
|
+
* @return {string} return the 12 byte id buffer string.
|
|
110
|
+
*/
|
|
111
|
+
generate: function(e) {
|
|
112
|
+
typeof e != "number" && (e = ~~(Date.now() / 1e3)), e = parseInt(e, 10) % 4294967295;
|
|
113
|
+
var _ = 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,6 +1,6 @@
|
|
|
1
|
-
import { u as $, v as C, x as P, w as A, y as S } from "./index.esm2017-
|
|
1
|
+
import { u as $, v as C, x as P, w as A, y as S } from "./index.esm2017-DfgZFSqe.js";
|
|
2
2
|
import { u as w } from "./app-wDQR6dpb.js";
|
|
3
|
-
import { S as o } from "./index-
|
|
3
|
+
import { S as o } from "./index-G_XSbrXB.js";
|
|
4
4
|
function L(e, n) {
|
|
5
5
|
let t = "", r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
6
6
|
const s = r.length;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { h as S } from "./moment-
|
|
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-Bh_1iu5v.js";
|
|
4
|
+
import { R as B, a as pe } from "./rule-builder-D6ihVPNO.js";
|
|
5
|
+
import { u as Be } from "./business-BehG4fR2.js";
|
|
6
6
|
var ue = [
|
|
7
7
|
"MO",
|
|
8
8
|
"TU",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as L, openBlock as r, createBlock as C, resolveDynamicComponent as D, unref as e, ref as E, computed as I, onMounted as j, resolveComponent as
|
|
2
|
-
import { u as P } from "./campaign-
|
|
1
|
+
import { defineComponent as L, openBlock as r, createBlock as C, resolveDynamicComponent as D, unref as e, ref as E, computed as I, onMounted as j, resolveComponent as c, withCtx as d, createElementVNode as l, createElementBlock as w, createVNode as i, normalizeClass as h, createTextVNode as T, Fragment as S, renderList as N, toDisplayString as g, createCommentVNode as M } from "vue";
|
|
2
|
+
import { u as P } from "./campaign-CAcP56Sz.js";
|
|
3
3
|
import { useDialog as q } from "@feedmepos/ui-library";
|
|
4
|
-
import { F as J } from "./index-
|
|
5
|
-
import { C as A } from "./collection.fn-
|
|
4
|
+
import { F as J } from "./index-DpoNuVc-.js";
|
|
5
|
+
import { C as A } from "./collection.fn-CbH8hbWW.js";
|
|
6
6
|
import { s as V } from "./index-CuvNtC_M.js";
|
|
7
7
|
import { _ as G } from "./lodash-B5I3zXaY.js";
|
|
8
|
-
import { C as H } from "./campaign-
|
|
8
|
+
import { C as H } from "./campaign-BpaiTG4f.js";
|
|
9
9
|
import { J as U } from "./JsonViewer-v8_C7l5N.js";
|
|
10
10
|
const K = /* @__PURE__ */ L({
|
|
11
11
|
__name: "CampaignChip",
|
|
@@ -13,13 +13,13 @@ const K = /* @__PURE__ */ L({
|
|
|
13
13
|
type: { type: String, required: !0 }
|
|
14
14
|
},
|
|
15
15
|
setup(u) {
|
|
16
|
-
const
|
|
17
|
-
return (
|
|
16
|
+
const a = H[u.type];
|
|
17
|
+
return (o, t) => (r(), C(D(e(a).chip())));
|
|
18
18
|
}
|
|
19
19
|
}), Q = { class: "flex flex-nowrap gap-x-2 grow h-full" }, R = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "p-8 w-1/4"
|
|
22
|
-
}, W = { class: "flex flex-col grow p-24" }, X = { class: "space-y-4" }, Y = { class: "fm-typo-en-title-sm-800" }, Z =
|
|
22
|
+
}, W = { class: "flex flex-col grow p-24" }, X = { class: "space-y-4" }, Y = { class: "fm-typo-en-title-sm-800" }, Z = { class: "grow pb-16 pr-16 pt-6 w-full max-h-[400px] overflow-y-auto" }, ee = { class: "gap-24 grid grid-cols-1 lg:grid-cols-2" }, te = { class: "gap-4 h-[22px] inline-flex items-center justify-center min-w-min rounded-md" }, ne = { class: "fm-typo-en-title-sm-800" }, oe = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, se = { class: "flex gap-4 items-end justify-end py-8" }, le = /* @__PURE__ */ L({
|
|
23
23
|
__name: "TemplateDialog",
|
|
24
24
|
props: {
|
|
25
25
|
campaignType: {
|
|
@@ -33,72 +33,72 @@ const K = /* @__PURE__ */ L({
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
setup(u) {
|
|
36
|
-
const p = q(),
|
|
36
|
+
const p = q(), a = P(), o = u, t = E({
|
|
37
37
|
intention: null,
|
|
38
38
|
template: null
|
|
39
39
|
}), b = I(() => {
|
|
40
|
-
const
|
|
40
|
+
const m = (a.templates ?? []).filter(
|
|
41
41
|
() => !0
|
|
42
42
|
//t.intention && t.intention.length > 0
|
|
43
43
|
);
|
|
44
|
-
return
|
|
45
|
-
(
|
|
46
|
-
var
|
|
47
|
-
return ((f = (
|
|
44
|
+
return o.campaignType ? m.filter(
|
|
45
|
+
(n) => {
|
|
46
|
+
var y, f;
|
|
47
|
+
return ((f = (y = n.defaultValue) == null ? void 0 : y.campaign) == null ? void 0 : f.type) === o.campaignType;
|
|
48
48
|
}
|
|
49
|
-
) : t.value.intention === null ? G.sampleSize(
|
|
50
|
-
(
|
|
49
|
+
) : t.value.intention === null ? G.sampleSize(m, 7) : m.filter(
|
|
50
|
+
(n) => n.intention.includes(t.value.intention)
|
|
51
51
|
);
|
|
52
52
|
});
|
|
53
53
|
j(async () => {
|
|
54
|
-
await
|
|
54
|
+
await a.readTemplates();
|
|
55
55
|
});
|
|
56
56
|
function O() {
|
|
57
|
-
|
|
57
|
+
o.onOk(void 0), p.close();
|
|
58
58
|
}
|
|
59
59
|
function $() {
|
|
60
|
-
const
|
|
61
|
-
|
|
60
|
+
const m = t.value.template;
|
|
61
|
+
o.onOk(a.templates.find((n) => n._id === m)), p.close();
|
|
62
62
|
}
|
|
63
|
-
return (
|
|
64
|
-
const
|
|
63
|
+
return (m, n) => {
|
|
64
|
+
const y = c("FmChip"), f = c("FmListItem"), z = c("FmList"), k = c("FmCard"), v = c("FmButton"), B = c("FmSpacer");
|
|
65
65
|
return r(), C(k, { class: "h-[534px] max-w-6xl" }, {
|
|
66
66
|
default: d(() => [
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
l("div", Q, [
|
|
68
|
+
o.campaignType ? M("", !0) : (r(), w("div", R, [
|
|
69
|
+
i(z, null, {
|
|
70
70
|
default: d(() => [
|
|
71
|
-
|
|
72
|
-
class:
|
|
71
|
+
i(f, {
|
|
72
|
+
class: h([{
|
|
73
73
|
"bg-fm-color-system-warning-100": e(t).intention === null
|
|
74
74
|
}, "rounded-sm"]),
|
|
75
|
-
onClick:
|
|
75
|
+
onClick: n[0] || (n[0] = (s) => {
|
|
76
76
|
e(t).intention = null, e(t).template = null;
|
|
77
77
|
})
|
|
78
78
|
}, {
|
|
79
79
|
append: d(() => [
|
|
80
|
-
|
|
80
|
+
i(y, {
|
|
81
81
|
label: "Hot",
|
|
82
82
|
variant: "critical"
|
|
83
83
|
})
|
|
84
84
|
]),
|
|
85
85
|
default: d(() => [
|
|
86
|
-
T(" Most popular ")
|
|
86
|
+
n[2] || (n[2] = T(" Most popular ", -1))
|
|
87
87
|
]),
|
|
88
88
|
_: 1
|
|
89
89
|
}, 8, ["class"]),
|
|
90
|
-
(r(!0),
|
|
90
|
+
(r(!0), w(S, null, N(e(J).options, (s, x) => (r(), C(f, {
|
|
91
91
|
key: x,
|
|
92
|
-
class:
|
|
93
|
-
"bg-fm-color-system-warning-100": e(t).intention ===
|
|
92
|
+
class: h(["rounded-sm", {
|
|
93
|
+
"bg-fm-color-system-warning-100": e(t).intention === s
|
|
94
94
|
}]),
|
|
95
95
|
style: { padding: "8px 16px" },
|
|
96
|
-
onClick: (
|
|
97
|
-
e(t).intention =
|
|
96
|
+
onClick: (_) => {
|
|
97
|
+
e(t).intention = s, e(t).template = null;
|
|
98
98
|
}
|
|
99
99
|
}, {
|
|
100
100
|
default: d(() => [
|
|
101
|
-
T(g(e(V)(
|
|
101
|
+
T(g(e(V)(s)), 1)
|
|
102
102
|
]),
|
|
103
103
|
_: 2
|
|
104
104
|
}, 1032, ["class", "onClick"]))), 128))
|
|
@@ -106,57 +106,57 @@ const K = /* @__PURE__ */ L({
|
|
|
106
106
|
_: 1
|
|
107
107
|
})
|
|
108
108
|
])),
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
`${e(A).formattedType(
|
|
109
|
+
l("div", W, [
|
|
110
|
+
l("div", X, [
|
|
111
|
+
l("div", Y, g(o.campaignType ? e(V)(
|
|
112
|
+
`${e(A).formattedType(o.campaignType)} campaign`
|
|
113
113
|
) : "Template list"), 1),
|
|
114
|
-
|
|
114
|
+
n[3] || (n[3] = l("div", { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, " Get started faster with templates that flex with your business. ", -1))
|
|
115
115
|
]),
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
(r(!0),
|
|
116
|
+
l("div", Z, [
|
|
117
|
+
i(U, { json: e(b) }, null, 8, ["json"]),
|
|
118
|
+
l("div", ee, [
|
|
119
|
+
(r(!0), w(S, null, N(e(b), (s, x) => (r(), C(k, {
|
|
120
120
|
key: x,
|
|
121
121
|
variant: "outlined",
|
|
122
|
-
class:
|
|
123
|
-
"bg-fm-color-system-warning-100 border-fm-color-primary border-2": e(t).template ===
|
|
122
|
+
class: h(["box-border cursor-pointer h-full p-16 scroll-p-4 space-y-8", {
|
|
123
|
+
"bg-fm-color-system-warning-100 border-fm-color-primary border-2": e(t).template === s._id.toString()
|
|
124
124
|
}]),
|
|
125
|
-
onClick: (
|
|
125
|
+
onClick: (_) => e(t).template = s._id.toString()
|
|
126
126
|
}, {
|
|
127
127
|
default: d(() => {
|
|
128
|
-
var
|
|
128
|
+
var _, F;
|
|
129
129
|
return [
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
type: (F = (
|
|
130
|
+
l("div", te, [
|
|
131
|
+
i(K, {
|
|
132
|
+
type: (F = (_ = s.defaultValue) == null ? void 0 : _.campaign) == null ? void 0 : F.type
|
|
133
133
|
}, null, 8, ["type"])
|
|
134
134
|
]),
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
l("div", ne, g(s.name), 1),
|
|
136
|
+
l("p", oe, g(s.description), 1)
|
|
137
137
|
];
|
|
138
138
|
}),
|
|
139
139
|
_: 2
|
|
140
140
|
}, 1032, ["class", "onClick"]))), 128))
|
|
141
141
|
])
|
|
142
142
|
]),
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
l("div", se, [
|
|
144
|
+
i(v, {
|
|
145
145
|
class: "sm:w-full xs:w-full",
|
|
146
146
|
variant: "plain",
|
|
147
147
|
label: "Custom Campaign",
|
|
148
148
|
size: "md",
|
|
149
149
|
onClick: O
|
|
150
150
|
}),
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
i(B, { class: "sm:hidden xs:hidden" }),
|
|
152
|
+
i(v, {
|
|
153
153
|
class: "sm:w-full xs:w-full",
|
|
154
154
|
variant: "tertiary",
|
|
155
155
|
label: "Cancel",
|
|
156
156
|
size: "md",
|
|
157
|
-
onClick:
|
|
157
|
+
onClick: n[1] || (n[1] = (s) => e(p).close())
|
|
158
158
|
}),
|
|
159
|
-
|
|
159
|
+
i(v, {
|
|
160
160
|
class: "sm:w-full xs:w-full",
|
|
161
161
|
variant: "primary",
|
|
162
162
|
label: "Start",
|
|
@@ -173,13 +173,13 @@ const K = /* @__PURE__ */ L({
|
|
|
173
173
|
};
|
|
174
174
|
}
|
|
175
175
|
}), ye = (u, p) => ({
|
|
176
|
-
open: async (
|
|
176
|
+
open: async (a) => {
|
|
177
177
|
p.open({
|
|
178
178
|
title: "",
|
|
179
|
-
dialogComponent:
|
|
179
|
+
dialogComponent: le,
|
|
180
180
|
dialogComponentProps: {
|
|
181
181
|
campaignType: u,
|
|
182
|
-
onOk: async (
|
|
182
|
+
onOk: async (o) => (console.debug(o, "selected template"), await a(o))
|
|
183
183
|
},
|
|
184
184
|
overlay: !0
|
|
185
185
|
});
|