@feedmepos/mf-connect 0.0.8 → 0.0.9
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-BxRuK2P2.js → Analytic-CwaN0mge.js} +68 -69
- package/dist/{Broadcast-BqGojAWW.js → Broadcast-Cjx5xzUC.js} +27 -28
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-B-VzcVMS.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D4mO5aik.js} +34 -34
- package/dist/Card-DbY6YaXk.js +827 -0
- package/dist/{Collections-DvdDRozp.js → Collections-DRN2gzwh.js} +158 -168
- package/dist/{Credit-BeHm7_2S.js → Credit-DOcrzykJ.js} +11 -12
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-BsbgHsah.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CUxfXaro.js} +359 -333
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-hwXvdiut.js → EffectSheet.vue_vue_type_style_index_0_lang-EF_rHfwT.js} +5 -5
- package/dist/{Experience-CtDY9u4Y.js → Experience-aQj-3H2Y.js} +11 -12
- package/dist/{Game-DjaYuqcb.js → Game-Cnje-m_M.js} +22 -23
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-Bq5-Gl9N.js → ImageInput.vue_vue_type_script_setup_true_lang-CG-GBVMP.js} +8 -8
- package/dist/{MainLayout-B-iAZM2k.js → MainLayout-Cxl9yLPs.js} +1 -1
- package/dist/{Marketing-BJJltAh-.js → Marketing-BYUcbcMU.js} +19 -20
- package/dist/{Member-eJ9Pdi5w.js → Member-D7K9fm_Q.js} +2 -2
- package/dist/MemberList-DbXkxUzF.js +1717 -0
- package/dist/{MemberTransactions-DRET8mSQ.js → MemberTransactions-DED1SYwX.js} +4 -4
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-CLqIp5wR.js +203 -0
- package/dist/{Point-DPTOgJbC.js → Point-CQm8whVQ.js} +11 -12
- package/dist/{Promotion-wzkRuNqO.js → Promotion-DzVXy_C9.js} +42 -44
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-Z06eB5i5.js → RuleGroup.vue_vue_type_script_setup_true_lang-CeS6KlhP.js} +12 -12
- package/dist/Segment-D3o0D3Uv.js +407 -0
- package/dist/{Setting-CXuZu0-m.js → Setting-pCzenLoL.js} +17 -18
- package/dist/{Store-4Um9keEp.js → Store-DEwEIFYD.js} +18 -19
- package/dist/{StoreRewards-B-UFeyQM.js → StoreRewards-D7vnZN4f.js} +86 -87
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-ALzQU3th.js +793 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-I_XFpctY.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-GMIztWCj.js} +1 -1
- package/dist/{Tier-C6KVsxGO.js → Tier-BJbX5CPB.js} +401 -377
- package/dist/{Title-DuN1ahIM.js → Title-C9xV6rBg.js} +274 -248
- package/dist/Transaction-C8OHlhzR.js +36 -0
- package/dist/Voucher-eZwm7N1D.js +481 -0
- package/dist/{app-CxBTTB31.js → app-DgbDbhL-.js} +34 -34
- package/dist/app.js +1 -1
- package/dist/{campaign-B0aXkadj.js → campaign-BkvrUTEJ.js} +2 -2
- package/dist/{dto-BtdVC-Ab.js → dto-YYVhW73A.js} +52 -53
- package/dist/{effect-BUN6rkQM.js → effect-f7DAPYC8.js} +1 -1
- package/dist/export-BXbCXTfd.js +97 -0
- package/dist/{helper-Cpq3x8K5.js → helper-BhvQ9m6d.js} +1 -1
- package/dist/{index-D2Juhkdw.js → index-BhacKx5B.js} +85 -83
- package/dist/{index-DDSLx7vu.js → index-BsEqtUmY.js} +2 -2
- package/dist/{index-0GYrZr4L.js → index-CdtrQ9tR.js} +5 -5
- package/dist/{index-8clzk3uX.js → index-Cfo2A0Se.js} +1 -1
- package/dist/index-Cz5RZlYh.js +73 -0
- package/dist/{index-BTntbYTS.js → index-DQC_1tRF.js} +1 -1
- package/dist/{index-DysVCkrx.js → index-Dd3hrFcQ.js} +3 -3
- package/dist/{index-CK9yJMj7.js → index-FWp9M1yS.js} +5 -5
- package/dist/{index-C6NgUSl2.js → index-VmFlM704.js} +1 -1
- package/dist/{index-BvnZdJBY.js → index-oQLJE4Uw.js} +2 -2
- package/dist/libs/packages/core/src/collectible/collectible.dto.d.ts +6 -0
- package/dist/{plugins-B_d-WFtN.js → loading-DQaawbHE.js} +8204 -8108
- package/dist/{lodash-DsT1nK-T.js → lodash-DzdmTD20.js} +1 -1
- package/dist/{membership-DtD45RXh.js → membership-Dq2-b-S_.js} +3 -3
- package/dist/{money-CFI1TMCS.js → money-vzwOUBrp.js} +1 -1
- package/dist/{number-BBtf4fYz.js → number-CBzs6rfW.js} +1 -1
- package/dist/packages/connect/src/components/campaign/CampaignSummary.vue.d.ts +13 -0
- package/dist/packages/connect/src/composables/export.d.ts +11 -0
- package/dist/packages/connect/src/export/base.export.d.ts +7 -0
- package/dist/packages/connect/src/export/card.export.d.ts +5 -6
- package/dist/packages/connect/src/export/collection-transaction.export.d.ts +14 -0
- package/dist/packages/connect/src/export/index.d.ts +1 -0
- package/dist/packages/connect/src/export/store-transaction.export.d.ts +14 -0
- package/dist/packages/connect/src/helpers/user.d.ts +6 -0
- package/dist/{rule-CB9Qlcx1.js → rule-BR5rrmUV.js} +2 -2
- package/dist/{rule-builder-BIKcA4Bg.js → rule-builder-7GBNrPXt.js} +1 -1
- package/dist/{template-qlb46PGl.js → template-CETJ6lkf.js} +5 -5
- package/dist/{usePagination-CX66ab1Y.js → usePagination-DdZeE4Tt.js} +57 -56
- package/dist/user-Bm4KttFq.js +37 -0
- package/dist/{xlsx-DMaFso0k.js → xlsx-CDAKxZE_.js} +1 -1
- package/package.json +1 -1
- package/dist/Card-Dlj5jQp4.js +0 -792
- package/dist/MemberList-CrhMqUfJ.js +0 -1664
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-D-ttMwn2.js +0 -166
- package/dist/Segment-DnsPrP7Q.js +0 -371
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BAyotuXd.js +0 -660
- package/dist/Transaction-DdfX7Xfe.js +0 -34
- package/dist/Voucher-DarXrxZr.js +0 -454
- package/dist/index-Dg-PMgXV.js +0 -64
- package/dist/loading-Cxp7sI5p.js +0 -100
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as Dt, ref as nr, onMounted as Wl, computed as lt, resolveComponent as Xe, openBlock as Me, createElementBlock as Qe, renderSlot as eg, toDisplayString as or, createCommentVNode as At, createBlock as It, unref as Ne, isRef as Xp, createVNode as Ve, normalizeClass as Sc, watch as wc, withCtx as sr, resolveDynamicComponent as Ri, createElementVNode as Ue, withDirectives as tg, vShow as rg, Fragment as Rr, renderList as qo, createTextVNode as Pa, pushScopeId as ng, popScopeId as ag } from "vue";
|
|
2
|
-
import { z as ig } from "./app-
|
|
2
|
+
import { z as ig } from "./app-DgbDbhL-.js";
|
|
3
3
|
import { Z as Qt } from "./ZodTextField.vue_vue_type_script_setup_true_lang-3LlSDiq0.js";
|
|
4
|
-
import { g as og } from "./index-
|
|
5
|
-
import { s as jd } from "./effect-
|
|
6
|
-
import { p as sg } from "./
|
|
4
|
+
import { g as og } from "./index-BhacKx5B.js";
|
|
5
|
+
import { s as jd } from "./effect-f7DAPYC8.js";
|
|
6
|
+
import { p as sg } from "./loading-DQaawbHE.js";
|
|
7
7
|
import { defineStore as lg, storeToRefs as ug } from "pinia";
|
|
8
8
|
import { useCoreStore as Hl } from "@feedmepos/mf-common";
|
|
9
9
|
const dg = { class: "flex flex-col gap-8" }, cg = {
|
|
@@ -231,7 +231,7 @@ const dg = { class: "flex flex-col gap-8" }, cg = {
|
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
233
|
});
|
|
234
|
-
var qt = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ee2b1673-f198-4064-b4d7-05d8b8b0870f", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.36", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", 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.14.3 npm/? node/v20.18.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.29", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ee2b1673-f198-4064-b4d7-05d8b8b0870f", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.1", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", 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-8.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.8.37", npm_package_dependencies_fabric: "^6.4.2", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "478", npm_package_dependencies__feedmepos_ui_library: "1.2.56", npm_package_dependencies_dayjs: "^1.11.11", 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_devDependencies_tailwindcss: "^3.4.4", npm_package_devDependencies_typescript: "^5.4.5", 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 && pnpm build:dts && pnpm build-types", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.21", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241124.1.0", 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.6", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.9/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.3/x64", JOURNAL_STREAM: "8:18584", GITHUB_WORKFLOW: "Publish mf-connect - production", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.111.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "12081660639", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.5", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ffe754b16b53f11aae737020ed72c8c4c4412d63", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] publish-mf-connect.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.3/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.14.3/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.14.3/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/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_77aa348d-e348-4527-a0b8-3fdc2dfb480b", INVOCATION_ID: "1fd09bb9dabf47beb064eea8924de866", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.1/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", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "4", 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.10", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 457", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/marketing-services", STATS_D_D: "false", 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.10.4", npm_lifecycle_script: "vite build --mode fmmf:prod", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", STATS_PIP: "false", 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.14.3/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.3/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.3/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.3/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.3/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.14.3/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.8", 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", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "ffe754b16b53f11aae737020ed72c8c4c4412d63", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.3", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", LEIN_HOME: "/usr/local/lib/lein", npm_package_dependencies_firebase: "^10.12.2", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ee2b1673-f198-4064-b4d7-05d8b8b0870f", JAVA_HOME: "/usr/lib/jvm/temurin-11-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.14.3/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ee2b1673-f198-4064-b4d7-05d8b8b0870f", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.38", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ee2b1673-f198-4064-b4d7-05d8b8b0870f", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", 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", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" } }, gg = Object.defineProperty, yg = (s, c, l) => c in s ? gg(s, c, { enumerable: !0, configurable: !0, writable: !0, value: l }) : s[c] = l, Nh = (s, c, l) => (yg(s, typeof c != "symbol" ? c + "" : c, l), l), Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
234
|
+
var qt = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f477deb0-7ea3-4e43-84fc-eb86b2519868", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.36", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", 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.0 npm/? node/v20.18.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.29", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_f477deb0-7ea3-4e43-84fc-eb86b2519868", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.1", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", 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-8.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.8.37", npm_package_dependencies_fabric: "^6.4.2", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "487", npm_package_dependencies__feedmepos_ui_library: "1.2.56", npm_package_dependencies_dayjs: "^1.11.11", 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_devDependencies_tailwindcss: "^3.4.4", npm_package_devDependencies_typescript: "^5.4.5", 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 && pnpm build:dts && pnpm build-types", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.21", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241211.1.0", 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.6", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.10/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.4/x64", JOURNAL_STREAM: "8:19492", GITHUB_WORKFLOW: "Publish mf-connect - production", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.111.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "12348337662", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.5", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "c79b2aee8651b91bb92854dc0a22991abe545ff0", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] publish-mf-connect.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/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.0/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.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/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_6f7af9b4-d255-4a80-afab-66ab472ba367", INVOCATION_ID: "a3e7a10e952e4fef8f242474fda567d6", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.1/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", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "5", 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.10", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 270", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/marketing-services", STATS_D_D: "false", 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.10.4", npm_lifecycle_script: "vite build --mode fmmf:prod", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", STATS_PIP: "false", 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.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.9", 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", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "c79b2aee8651b91bb92854dc0a22991abe545ff0", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.3", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", LEIN_HOME: "/usr/local/lib/lein", npm_package_dependencies_firebase: "^10.12.2", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_f477deb0-7ea3-4e43-84fc-eb86b2519868", JAVA_HOME: "/usr/lib/jvm/temurin-11-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.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_f477deb0-7ea3-4e43-84fc-eb86b2519868", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.38", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_f477deb0-7ea3-4e43-84fc-eb86b2519868", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", 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", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" } }, gg = Object.defineProperty, yg = (s, c, l) => c in s ? gg(s, c, { enumerable: !0, configurable: !0, writable: !0, value: l }) : s[c] = l, Nh = (s, c, l) => (yg(s, typeof c != "symbol" ? c + "" : c, l), l), Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
235
235
|
function $g(s) {
|
|
236
236
|
if (s.__esModule)
|
|
237
237
|
return s;
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { defineComponent as O, ref as k, computed as U, onMounted as A, resolveComponent as i, openBlock as c, createElementBlock as g, Fragment as _, createVNode as r, unref as a, createElementVNode as n, withCtx as h, renderList as D, createBlock as x, resolveDynamicComponent as j, toDisplayString as f, h as M } from "vue";
|
|
2
2
|
import { _ as H } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as q, components as z } from "@feedmepos/ui-library";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { g as S, b as V } from "./dto-BtdVC-Ab.js";
|
|
4
|
+
import { u as G, p as J } from "./loading-DQaawbHE.js";
|
|
5
|
+
import { a as Q } from "./app-DgbDbhL-.js";
|
|
6
|
+
import { u as W } from "./campaign-BkvrUTEJ.js";
|
|
7
|
+
import { g as S, b as V } from "./dto-YYVhW73A.js";
|
|
9
8
|
import { _ as X } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
10
|
-
import { _ as Y } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as Z } from "./template-
|
|
12
|
-
import { c as y } from "./index-
|
|
9
|
+
import { _ as Y } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CUxfXaro.js";
|
|
10
|
+
import { u as Z } from "./template-CETJ6lkf.js";
|
|
11
|
+
import { c as y } from "./index-DQC_1tRF.js";
|
|
13
12
|
const ee = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-center justify-between w-full" }, oe = { class: "flex gap-8 overflow-x-auto" }, ae = { class: "space-y-8" }, ne = { class: "flex w-full gap-4 items-center" }, se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, re = { class: "space-y-4" }, ie = { class: "fm-typo-en-body-lg-600" }, le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, me = /* @__PURE__ */ n("img", {
|
|
14
13
|
src: H,
|
|
15
14
|
class: "aspect-square w-[150px]"
|
|
16
15
|
}, null, -1), de = /* @__PURE__ */ n("div", { class: "flex flex-col gap-16 text-center" }, [
|
|
17
16
|
/* @__PURE__ */ n("div", { class: "fm-typo-en-title-sm-800" }, "Create experience program"),
|
|
18
17
|
/* @__PURE__ */ n("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Experience help customers gain membership tiers. The more they interact and spend, the higher their membership level, unlocking more rewards and benefits. ")
|
|
19
|
-
], -1),
|
|
18
|
+
], -1), Fe = /* @__PURE__ */ O({
|
|
20
19
|
__name: "Experience",
|
|
21
20
|
setup(pe) {
|
|
22
21
|
const L = {
|
|
@@ -24,7 +23,7 @@ const ee = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
|
|
|
24
23
|
value: "create",
|
|
25
24
|
isPrimary: !0,
|
|
26
25
|
prependIcon: "add"
|
|
27
|
-
}, P = Z("POINT", q()), I = Q(), l = W(), { global: T, minor: w } =
|
|
26
|
+
}, P = Z("POINT", q()), I = Q(), l = W(), { global: T, minor: w } = G, s = k({
|
|
28
27
|
searchKey: "",
|
|
29
28
|
location: null
|
|
30
29
|
}), p = U(
|
|
@@ -62,7 +61,7 @@ const ee = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
|
|
|
62
61
|
}
|
|
63
62
|
], b = k();
|
|
64
63
|
async function v(e) {
|
|
65
|
-
await
|
|
64
|
+
await J.remove(`Are you sure you want to remove ${e.name}?`) && await w(
|
|
66
65
|
async () => {
|
|
67
66
|
await y.delete(e._id), await l.read("POINT");
|
|
68
67
|
},
|
|
@@ -208,5 +207,5 @@ const ee = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
|
|
|
208
207
|
}
|
|
209
208
|
});
|
|
210
209
|
export {
|
|
211
|
-
|
|
210
|
+
Fe as default
|
|
212
211
|
};
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import { defineComponent as U, ref as V, computed as j, onMounted as D, resolveComponent as
|
|
1
|
+
import { defineComponent as U, ref as V, computed as j, onMounted as D, resolveComponent as l, openBlock as c, createElementBlock as _, Fragment as h, createVNode as r, unref as a, createElementVNode as n, withCtx as w, renderList as H, createBlock as x, resolveDynamicComponent as N, toDisplayString as g, h as m } from "vue";
|
|
2
2
|
import { _ as q } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { useDialog as z, components as b } from "@feedmepos/ui-library";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { g as L, b as A } from "./dto-BtdVC-Ab.js";
|
|
4
|
+
import { u as J, a as O, p as Q } from "./loading-DQaawbHE.js";
|
|
5
|
+
import { a as W } from "./app-DgbDbhL-.js";
|
|
6
|
+
import { u as X } from "./campaign-BkvrUTEJ.js";
|
|
7
|
+
import { g as L, b as A } from "./dto-YYVhW73A.js";
|
|
9
8
|
import { _ as Y } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
10
|
-
import { _ as Z } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as ee } from "./template-
|
|
12
|
-
import { c as y } from "./index-
|
|
13
|
-
const oe = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-center justify-between w-full" }, ae = { class: "flex gap-8 overflow-x-auto" }, ne = { class: "space-y-8" }, se = { class: "flex w-full gap-4 items-center" }, re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" },
|
|
9
|
+
import { _ as Z } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CUxfXaro.js";
|
|
10
|
+
import { u as ee } from "./template-CETJ6lkf.js";
|
|
11
|
+
import { c as y } from "./index-DQC_1tRF.js";
|
|
12
|
+
const oe = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-center justify-between w-full" }, ae = { class: "flex gap-8 overflow-x-auto" }, ne = { class: "space-y-8" }, se = { class: "flex w-full gap-4 items-center" }, re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, le = { class: "space-y-4" }, ie = { class: "fm-typo-en-body-lg-600" }, ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = /* @__PURE__ */ n("img", {
|
|
14
13
|
src: q,
|
|
15
14
|
class: "aspect-square w-[150px]"
|
|
16
15
|
}, null, -1), ue = /* @__PURE__ */ n("div", { class: "flex flex-col gap-16 text-center" }, [
|
|
17
16
|
/* @__PURE__ */ n("div", { class: "fm-typo-en-title-sm-800" }, "Create your game program"),
|
|
18
17
|
/* @__PURE__ */ n("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " The game feature adds a fun element to shopping, encouraging customers to engage more. ")
|
|
19
|
-
], -1),
|
|
18
|
+
], -1), Fe = /* @__PURE__ */ U({
|
|
20
19
|
__name: "Game",
|
|
21
20
|
setup(pe) {
|
|
22
21
|
const B = {
|
|
@@ -24,11 +23,11 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
|
|
|
24
23
|
value: "create",
|
|
25
24
|
isPrimary: !0,
|
|
26
25
|
prependIcon: "add"
|
|
27
|
-
}, $ = ee("GAME", z()), E = W(),
|
|
26
|
+
}, $ = ee("GAME", z()), E = W(), i = X(), { global: G, minor: v } = J, s = V({
|
|
28
27
|
searchKey: "",
|
|
29
28
|
location: null
|
|
30
29
|
}), p = j(
|
|
31
|
-
() =>
|
|
30
|
+
() => i.campaigns.token.filter(
|
|
32
31
|
(e) => !s.value.location || !e.targetLocation || e.targetLocation.includes(s.value.location)
|
|
33
32
|
)
|
|
34
33
|
), K = [
|
|
@@ -44,7 +43,7 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
|
|
|
44
43
|
{
|
|
45
44
|
content: e.row.original._id,
|
|
46
45
|
onClick: (o) => {
|
|
47
|
-
o.stopPropagation(),
|
|
46
|
+
o.stopPropagation(), O(e.row.original._id);
|
|
48
47
|
}
|
|
49
48
|
},
|
|
50
49
|
[
|
|
@@ -93,9 +92,9 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
|
|
|
93
92
|
}
|
|
94
93
|
], C = V();
|
|
95
94
|
async function k(e) {
|
|
96
|
-
await
|
|
95
|
+
await Q.remove(`Are you sure you want to remove ${e.name}?`) && await v(
|
|
97
96
|
async () => {
|
|
98
|
-
await y.delete(e._id), await
|
|
97
|
+
await y.delete(e._id), await i.read("GAME");
|
|
99
98
|
},
|
|
100
99
|
{
|
|
101
100
|
message: `Removing ${e.name}`,
|
|
@@ -120,7 +119,7 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
|
|
|
120
119
|
async function M(e) {
|
|
121
120
|
await v(
|
|
122
121
|
async () => {
|
|
123
|
-
e.campaign._id ? await y.update(e.campaign._id, e) : await y.create(e), await
|
|
122
|
+
e.campaign._id ? await y.update(e.campaign._id, e) : await y.create(e), await i.read("GAME");
|
|
124
123
|
},
|
|
125
124
|
{
|
|
126
125
|
message: `${e.campaign._id ? "Updating" : "Creating"} game program`,
|
|
@@ -130,10 +129,10 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
|
|
|
130
129
|
}
|
|
131
130
|
return D(async () => {
|
|
132
131
|
await G(async () => {
|
|
133
|
-
await
|
|
132
|
+
await i.read("GAME");
|
|
134
133
|
});
|
|
135
134
|
}), (e, o) => {
|
|
136
|
-
const d =
|
|
135
|
+
const d = l("FmPageHead"), u = l("FmSearch"), R = l("FmTable"), F = l("FmButton"), T = l("FmListItem"), P = l("FmList"), I = l("FmCard");
|
|
137
136
|
return c(), _(h, null, [
|
|
138
137
|
r(d, {
|
|
139
138
|
title: "Game",
|
|
@@ -148,7 +147,7 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
|
|
|
148
147
|
placeholder: "search",
|
|
149
148
|
collapsible: ""
|
|
150
149
|
}, null, 8, ["modelValue"]),
|
|
151
|
-
a(
|
|
150
|
+
a(i).campaigns.token && a(i).campaigns.token.length > 0 ? (c(), _(h, { key: 0 }, [
|
|
152
151
|
n("div", te, [
|
|
153
152
|
n("div", ae, [
|
|
154
153
|
r(Y, {
|
|
@@ -193,8 +192,8 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
|
|
|
193
192
|
(c(), x(N(a(L)(t)))),
|
|
194
193
|
n("div", re, g(t.currentReceive ?? 0) + " used ", 1)
|
|
195
194
|
]),
|
|
196
|
-
n("div",
|
|
197
|
-
n("div",
|
|
195
|
+
n("div", le, [
|
|
196
|
+
n("div", ie, g(t.name), 1),
|
|
198
197
|
n("div", ce, g(a(A)(t)), 1)
|
|
199
198
|
]),
|
|
200
199
|
n("div", me, " Token received: " + g(t.currentReceive ?? 0), 1)
|
|
@@ -239,5 +238,5 @@ const oe = { class: "px-24 flex flex-col gap-y-16" }, te = { class: "flex items-
|
|
|
239
238
|
}
|
|
240
239
|
});
|
|
241
240
|
export {
|
|
242
|
-
|
|
241
|
+
Fe as default
|
|
243
242
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { openBlock as l, createElementBlock as o, createElementVNode as n, defineComponent as $, ref as
|
|
2
|
-
import { _ as V } from "./app-
|
|
1
|
+
import { openBlock as l, createElementBlock as o, createElementVNode as n, defineComponent as $, ref as h, onMounted as j, resolveComponent as m, renderSlot as v, toDisplayString as i, createCommentVNode as b, normalizeStyle as C, unref as s, Fragment as x, createVNode as w, withCtx as f, createTextVNode as g, normalizeClass as R, createBlock as F } from "vue";
|
|
2
|
+
import { _ as V } from "./app-DgbDbhL-.js";
|
|
3
3
|
const z = {}, H = { class: "animate-pulse flex space-x-4 bg-gray-300 dark:bg-gray-700 items-center justify-center rounded w-full h-full" }, N = /* @__PURE__ */ n("svg", {
|
|
4
4
|
class: "dark:text-gray-600 h-10 text-gray-200 w-10",
|
|
5
5
|
"aria-hidden": "true",
|
|
@@ -66,10 +66,10 @@ const I = /* @__PURE__ */ V(z, [["render", D]]), L = { class: "max-w-full max-h-
|
|
|
66
66
|
},
|
|
67
67
|
emits: ["update:file"],
|
|
68
68
|
setup(e, { emit: p }) {
|
|
69
|
-
const r = e, a =
|
|
69
|
+
const r = e, a = h({
|
|
70
70
|
loading: !1,
|
|
71
71
|
imgsrc: r.thumbnail
|
|
72
|
-
}), u =
|
|
72
|
+
}), u = h(!1), y = p;
|
|
73
73
|
async function d(t) {
|
|
74
74
|
return t == null ? (a.value.imgsrc = void 0, y("update:file", null)) : (u.value = !!t.type.startsWith("video/"), a.value.loading = !0, a.value.imgsrc = URL.createObjectURL(t), a.value.loading = !1, y("update:file", t));
|
|
75
75
|
}
|
|
@@ -79,12 +79,12 @@ const I = /* @__PURE__ */ V(z, [["render", D]]), L = { class: "max-w-full max-h-
|
|
|
79
79
|
}), (t, c) => {
|
|
80
80
|
const k = m("FmDropField"), S = m("FmHelperText"), _ = m("FmButton");
|
|
81
81
|
return l(), o("div", L, [
|
|
82
|
-
|
|
82
|
+
v(t.$slots, "label", {}, () => [
|
|
83
83
|
e.label ? (l(), o("div", T, i(e.label), 1)) : b("", !0)
|
|
84
84
|
]),
|
|
85
85
|
n("div", {
|
|
86
86
|
style: C({ "aspect-ratio": e.aspectRatio }),
|
|
87
|
-
class: "flex flex-col
|
|
87
|
+
class: "flex flex-col max-h-full max-w-full"
|
|
88
88
|
}, [
|
|
89
89
|
s(a).loading ? (l(), F(I, { key: 1 })) : (l(), o(x, { key: 0 }, [
|
|
90
90
|
s(a).imgsrc ? (l(), o("div", Z, [
|
|
@@ -99,7 +99,7 @@ const I = /* @__PURE__ */ V(z, [["render", D]]), L = { class: "max-w-full max-h-
|
|
|
99
99
|
src: s(a).imgsrc || e.thumbnail
|
|
100
100
|
}, null, 10, E)),
|
|
101
101
|
n("div", q, [
|
|
102
|
-
|
|
102
|
+
v(t.$slots, "delete-button"),
|
|
103
103
|
e.deleteButton ? (l(), F(_, {
|
|
104
104
|
key: 0,
|
|
105
105
|
class: "!text-neutral-50 !bg-neutral-700",
|
|
@@ -111,7 +111,7 @@ const I = /* @__PURE__ */ V(z, [["render", D]]), L = { class: "max-w-full max-h-
|
|
|
111
111
|
])
|
|
112
112
|
])) : (l(), o(x, { key: 0 }, [
|
|
113
113
|
w(k, {
|
|
114
|
-
class: "flex-1",
|
|
114
|
+
class: "flex-1 hihiha",
|
|
115
115
|
accept: e.accept,
|
|
116
116
|
disabled: e.disabled,
|
|
117
117
|
onFileUpload: d,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, watchEffect, computed, watch, openBlock, createElementBlock, normalizeStyle, onBeforeUnmount, resolveComponent, unref, createBlock, createVNode, normalizeClass, createCommentVNode, withDirectives, createElementVNode, vShow } from "vue";
|
|
2
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs, u as useAppStore } from "./app-
|
|
2
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs, u as useAppStore } from "./app-DgbDbhL-.js";
|
|
3
3
|
import { useRoute } from "vue-router";
|
|
4
4
|
const v = "4.8.0", meta = {
|
|
5
5
|
g: "LottieFiles AE ",
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { openBlock as c, createElementBlock as u, defineComponent as D, ref as b, onMounted as z, computed as $, resolveComponent as l, Fragment as C, createVNode as r, unref as
|
|
1
|
+
import { openBlock as c, createElementBlock as u, defineComponent as D, ref as b, onMounted as z, computed as $, resolveComponent as l, Fragment as C, createVNode as r, unref as d, createElementVNode as o, withCtx as x, renderList as Y, createBlock as A, toDisplayString as B, createCommentVNode as H, h as G } from "vue";
|
|
2
2
|
import { _ as J } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { components as j } from "@feedmepos/ui-library";
|
|
4
|
-
import {
|
|
5
|
-
import { u as X } from "./loading-Cxp7sI5p.js";
|
|
4
|
+
import { u as q, p as X } from "./loading-DQaawbHE.js";
|
|
6
5
|
import { defineStore as Q } from "pinia";
|
|
7
|
-
import { F } from "./index-
|
|
6
|
+
import { F } from "./index-Cfo2A0Se.js";
|
|
8
7
|
import { useCoreStore as W } from "@feedmepos/mf-common";
|
|
9
|
-
import { e as y, S as Z, h as ee, _ as te } from "./app-
|
|
10
|
-
import { u as ae } from "./campaign-
|
|
8
|
+
import { e as y, S as Z, h as ee, _ as te } from "./app-DgbDbhL-.js";
|
|
9
|
+
import { u as ae } from "./campaign-BkvrUTEJ.js";
|
|
11
10
|
import { h as ne } from "./moment-BWErdI6_.js";
|
|
12
11
|
var oe = { authUrl: "https://portal-v2-dev.feedmeapi.com/", slackWebhookUrl: "https://hooks.slack.com/services/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", appUrl: "member.feedmedev.cc", crmUrl: "crm.feedmedev.cc", marketingV1Portal: "https://marketing-v1.feedmedev.cc" };
|
|
13
12
|
const h = () => {
|
|
@@ -133,12 +132,12 @@ const h = () => {
|
|
|
133
132
|
function se(n, s) {
|
|
134
133
|
return c(), u("div");
|
|
135
134
|
}
|
|
136
|
-
const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-center justify-between w-full" },
|
|
135
|
+
const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-center justify-between w-full" }, de = { class: "space-y-8" }, me = { class: "fm-typo-en-body-lg-600" }, ue = { class: "fm-typo-en-body-lg-600" }, pe = { key: 0 }, ge = /* @__PURE__ */ o("div", { class: "text-fm-color-typo-secondary fm-typo-en-body-md-600" }, " No results found ", -1), fe = [
|
|
137
136
|
ge
|
|
138
137
|
], ye = /* @__PURE__ */ o("img", {
|
|
139
138
|
src: J,
|
|
140
139
|
class: "w-[150px]"
|
|
141
|
-
}, null, -1), he = /* @__PURE__ */ o("p", { class: "fm-typo-en-title-sm-800" }, "Create marketing material", -1), _e = /* @__PURE__ */ o("p", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary w-4/6 text-center" }, " Boost your marketing efforts effortlessly with our AI-powered tools. Generate stunning images and captivating captions for your desired platform. ", -1),
|
|
140
|
+
}, null, -1), he = /* @__PURE__ */ o("p", { class: "fm-typo-en-title-sm-800" }, "Create marketing material", -1), _e = /* @__PURE__ */ o("p", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary w-4/6 text-center" }, " Boost your marketing efforts effortlessly with our AI-powered tools. Generate stunning images and captivating captions for your desired platform. ", -1), Oe = /* @__PURE__ */ D({
|
|
142
141
|
__name: "Marketing",
|
|
143
142
|
setup(n) {
|
|
144
143
|
const s = {
|
|
@@ -146,13 +145,13 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
146
145
|
value: "create",
|
|
147
146
|
isPrimary: !0,
|
|
148
147
|
prependIcon: "add"
|
|
149
|
-
}, p = b(!1), _ = S(), k = ae(), { global: T, minor: L } =
|
|
148
|
+
}, p = b(!1), _ = S(), k = ae(), { global: T, minor: L } = q;
|
|
150
149
|
z(async () => {
|
|
151
150
|
await T(async () => {
|
|
152
151
|
await k.read(), await _.readMarketingMaterial();
|
|
153
152
|
});
|
|
154
153
|
});
|
|
155
|
-
const
|
|
154
|
+
const m = $(() => _.marketing.filter(
|
|
156
155
|
(t) => t.name.includes(i.value.searchKey.toLowerCase())
|
|
157
156
|
)), g = b(
|
|
158
157
|
S().defaultMarketing
|
|
@@ -192,7 +191,7 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
192
191
|
}
|
|
193
192
|
];
|
|
194
193
|
async function I(t) {
|
|
195
|
-
await
|
|
194
|
+
await X.remove(`Are you sure you want to remove ${t.name}?`) && await L(
|
|
196
195
|
async () => {
|
|
197
196
|
await N.deleteMarketing(t._id), await _.readMarketingMaterial();
|
|
198
197
|
},
|
|
@@ -214,7 +213,7 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
214
213
|
r(v, {
|
|
215
214
|
title: "Marketing material",
|
|
216
215
|
class: "xs:hidden",
|
|
217
|
-
actions: m
|
|
216
|
+
actions: d(m).length > 0 ? [s] : [],
|
|
218
217
|
"onClick:action": e[0] || (e[0] = () => f())
|
|
219
218
|
}, null, 8, ["actions"]),
|
|
220
219
|
o("div", le, [
|
|
@@ -231,7 +230,7 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
231
230
|
"is-open": p.value,
|
|
232
231
|
"onUpdate:isOpen": e[3] || (e[3] = (a) => p.value = a)
|
|
233
232
|
}, null, 8, ["modelValue", "is-open"]),
|
|
234
|
-
m
|
|
233
|
+
d(m).length > 0 ? (c(), u(C, { key: 0 }, [
|
|
235
234
|
o("div", ce, [
|
|
236
235
|
r(O, {
|
|
237
236
|
modelValue: i.value.searchKey,
|
|
@@ -243,7 +242,7 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
243
242
|
]),
|
|
244
243
|
r(R, {
|
|
245
244
|
class: "xs:hidden",
|
|
246
|
-
"row-data": m
|
|
245
|
+
"row-data": d(m),
|
|
247
246
|
"column-defs": P,
|
|
248
247
|
"search-value": i.value.searchKey,
|
|
249
248
|
"column-filter": [],
|
|
@@ -252,7 +251,7 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
252
251
|
}, null, 8, ["row-data", "search-value"]),
|
|
253
252
|
r(K, { class: "hidden xs:flex flex-col mx-[-24px]" }, {
|
|
254
253
|
default: x(() => [
|
|
255
|
-
(c(!0), u(C, null, Y(m
|
|
254
|
+
(c(!0), u(C, null, Y(d(m).filter(
|
|
256
255
|
(a) => a.name.toLowerCase().includes(i.value.searchKey.toLowerCase())
|
|
257
256
|
), (a) => (c(), A(E, {
|
|
258
257
|
key: a._id.toString(),
|
|
@@ -262,9 +261,9 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
262
261
|
default: x(() => {
|
|
263
262
|
var w;
|
|
264
263
|
return [
|
|
265
|
-
o("div",
|
|
266
|
-
o("div",
|
|
267
|
-
o("div", ue, B(a.campaign === null || a.campaign === void 0 ? "-" : (w =
|
|
264
|
+
o("div", de, [
|
|
265
|
+
o("div", me, B(a.name), 1),
|
|
266
|
+
o("div", ue, B(a.campaign === null || a.campaign === void 0 ? "-" : (w = d(k).campaigns.all.find(
|
|
268
267
|
(M) => M._id === a.campaign
|
|
269
268
|
)) == null ? void 0 : w.name), 1)
|
|
270
269
|
]),
|
|
@@ -281,7 +280,7 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
281
280
|
]),
|
|
282
281
|
_: 1
|
|
283
282
|
}),
|
|
284
|
-
m
|
|
283
|
+
d(m).length == 0 ? (c(), u("div", pe, fe)) : H("", !0)
|
|
285
284
|
], 64)) : (c(), A(U, {
|
|
286
285
|
key: 1,
|
|
287
286
|
variant: "outlined",
|
|
@@ -305,5 +304,5 @@ const ie = /* @__PURE__ */ te(re, [["render", se]]), le = { class: "px-24 flex f
|
|
|
305
304
|
}
|
|
306
305
|
});
|
|
307
306
|
export {
|
|
308
|
-
|
|
307
|
+
Oe as default
|
|
309
308
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as f, computed as T, ref as p, watch as k, resolveComponent as i, openBlock as d, createElementBlock as B, Fragment as E, createVNode as _, unref as t, createElementVNode as M, createBlock as A, createCommentVNode as L } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { b as u, R as r } from "./app-DgbDbhL-.js";
|
|
3
3
|
import { useRouter as N } from "vue-router";
|
|
4
|
-
import { m as Y } from "./index-
|
|
4
|
+
import { m as Y } from "./index-Cz5RZlYh.js";
|
|
5
5
|
const w = { class: "px-24 flex flex-col gap-y-16 pb-24" }, V = /* @__PURE__ */ f({
|
|
6
6
|
__name: "Member",
|
|
7
7
|
setup(C) {
|