@feedmepos/mf-connect 0.1.0-beta.25 → 0.1.0-beta.27
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-Bw49sjWN.js → Analytic-DMLcfl4K.js} +8 -8
- package/dist/{App-Df3-YjKQ.js → App-gLuWbsNM.js} +6 -6
- package/dist/{Broadcast-B4VxU-SI.js → Broadcast-tCGOdX8O.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Ug3EPwKk.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Bw8KlwWo.js} +8 -8
- package/dist/{Card-C7H-8zqt.js → Card-D3JMbxw7.js} +15 -15
- package/dist/{Collections-WxZue3W6.js → Collections-ttXmrLkk.js} +4 -4
- package/dist/{Credit-Cq22pCq8.js → Credit-BpHRY05w.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-D0dnmnhA.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BfpJ1XYe.js} +27 -27
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-D3QzvFi6.js → EffectSheet.vue_vue_type_style_index_0_lang-Da7s-22r.js} +6 -6
- package/dist/{Experience-DiQ9mOnE.js → Experience-CDeg0imW.js} +8 -8
- package/dist/{Game-CVr6OrOy.js → Game-BarBKwSm.js} +8 -8
- package/dist/{Index-B6uiwCSg.js → Index-B5-D8dc5.js} +9 -9
- package/dist/{Marketing-BLaNI0wq.js → Marketing-Bz8VDhoj.js} +5 -5
- package/dist/{Member-0rk2BlRH.js → Member-BqetTnme.js} +4 -4
- package/dist/{MemberList-D-9cznIm.js → MemberList-DMqaKWV_.js} +15 -15
- package/dist/{MemberTransactions-C_F1cqq3.js → MemberTransactions-qdegwy1T.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DvVowiRR.js → MessageInput.vue_vue_type_script_setup_true_lang-CxuDJMul.js} +2 -2
- package/dist/{Mission-NSS4r47V.js → Mission-Cj-IgN35.js} +8 -8
- package/dist/{Overview-C3BoyFvz.js → Overview-lGdRpa6I.js} +18 -18
- package/dist/{Point-IwLqb2Zs.js → Point-QwyIu513.js} +8 -8
- package/dist/{Promotion-BXuLjsv7.js → Promotion-BE395GwA.js} +9 -9
- package/dist/Record-C5xf9Hex.js +209 -0
- package/dist/Reward-unGOFCyw.js +411 -0
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-B0NA61z4.js → RewardGroup.vue_vue_type_script_setup_true_lang-DJdhlMFJ.js} +12 -12
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BirGKJD5.js → RuleGroup.vue_vue_type_script_setup_true_lang-DYZQ9hvN.js} +14 -14
- package/dist/{Segment-WJSkzBWK.js → Segment-BI_4s8tG.js} +13 -13
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-CtehSCSh.js → SelectItems.vue_vue_type_script_setup_true_lang-WDUey8op.js} +2 -2
- package/dist/{Setting-DRIry8_Z.js → Setting-BAUhD4jc.js} +8 -8
- package/dist/{Store-Ddr5_VbP.js → Store-BWH9HbPz.js} +19 -19
- package/dist/{StoreRewards-DT09Eq-5.js → StoreRewards-DH09iyHe.js} +12 -12
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-DIKIKFdP.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BNi-DQib.js} +11 -11
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-PWIkWIyk.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DhrhxxtP.js} +1 -1
- package/dist/{Tier-CFk9HHDc.js → Tier-EXLby49_.js} +318 -306
- package/dist/{Title-Gd7XkhZa.js → Title-Cv-5hbiI.js} +208 -192
- package/dist/{Transaction-B3Xxwj3e.js → Transaction-DZ9em67G.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BsdG--yC.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-DK43Thdk.js} +6 -6
- package/dist/{Voucher-BLoBBCYI.js → Voucher-DYJINrTR.js} +11 -11
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-uDQCDBrW.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DmH_veHr.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-v8ldXm6Z.js → ZodTextField.vue_vue_type_script_setup_true_lang-DmAp9RCh.js} +1 -1
- package/dist/{app-B0Wo9zK_.js → app-B6oXj4kE.js} +1 -1
- package/dist/{app-CwFIflzB.js → app-BApWh_Pu.js} +28 -28
- package/dist/app.js +1 -1
- package/dist/{business-Bpe4K4IG.js → business-CwkNQpX3.js} +1 -1
- package/dist/{campaign-C5L3Banb.js → campaign-I6i9noxn.js} +2 -2
- package/dist/{collectible.enum-BwKcsFPJ.js → collectible.enum-C2T3wxes.js} +1 -1
- package/dist/{collection.fn-SoqZKNRB.js → collection.fn-C6x7w1_J.js} +2 -2
- package/dist/{dto-D2c_O0A0.js → dto-CPC4zpNc.js} +75 -75
- package/dist/{effect-DvB7NyMi.js → effect-Cz1i7ErO.js} +1 -1
- package/dist/{email-addresses-BHD3btpv.js → email-addresses-B8nd_073.js} +1 -1
- package/dist/{export-CzpMwiOf.js → export-zXP6IfB2.js} +3 -3
- package/dist/{helper-DF-sSvHq.js → helper-C3bZBttW.js} +1 -1
- package/dist/{index-B751j7lu.js → index-BMqxenYA.js} +4 -4
- package/dist/{index-CeoqYPxu.js → index-BUrDd60O.js} +4 -4
- package/dist/index-Bs1GmcxM.js +54 -0
- package/dist/{index-DGpLiSKC.js → index-CgKJ33t7.js} +1 -1
- package/dist/{index-CuLJGmP6.js → index-CmZvS-OJ.js} +1 -1
- package/dist/{index-buNf3deq.js → index-D2PcDli9.js} +8 -8
- package/dist/{index-B7elcoQX.js → index-DE2d5z9p.js} +3 -3
- package/dist/{index-CT0nrvtM.js → index-DjFtudP6.js} +1 -1
- package/dist/{index-IrZw6oc7.js → index-DzS80tJT.js} +2 -2
- package/dist/{index-DSdlmakQ.js → index-M7HcGbUR.js} +3 -3
- package/dist/{index-Czi9Zbfu.js → index-Ouu648YI.js} +1 -1
- package/dist/{index-CaNPlQfc.js → index-WCkLBzXH.js} +1 -1
- package/dist/{index-DU-xnNYa.js → index-yV1Y_iX0.js} +1 -1
- package/dist/{index.esm2017-BVSr63BQ.js → index.esm2017-BtDmZi0y.js} +1 -1
- package/dist/{loading-C60MHxcY.js → loading-DnOIUurW.js} +4 -4
- package/dist/{membership-Dl-R2y3j.js → membership-CinggB2b.js} +3 -3
- package/dist/{money-BlCw3A9L.js → money-B491m1hF.js} +1 -1
- package/dist/{number-tw2TKykE.js → number-H31aAXGx.js} +1 -1
- package/dist/{objectid-CQo-r2xY.js → objectid-BxvIDDKr.js} +4 -4
- package/dist/{reward-CYvuiwF5.js → reward-DZfEY37x.js} +1 -1
- package/dist/{rule-CFwr7rNP.js → rule-96lWAM_m.js} +3 -3
- package/dist/{rule-builder-kmfw35DF.js → rule-builder-Cpc6Ahrc.js} +1 -1
- package/dist/{template-CrtHUdsP.js → template-DSj09PBB.js} +4 -4
- package/dist/{trigger-DYUkLfDm.js → trigger-DGBb2o0r.js} +4 -4
- package/dist/user-CWu4w0H9.js +54 -0
- package/dist/{vue-i18n-6NpmRo5N.js → vue-i18n-C3CGuKMm.js} +230 -230
- package/dist/{xlsx-BSUcM3MJ.js → xlsx-DtLsDtB7.js} +1 -1
- package/package.json +1 -1
- package/dist/Record-D6zfDAaG.js +0 -187
- package/dist/Reward-Cyc3KlCY.js +0 -399
- package/dist/index-DMGD2o0j.js +0 -53
- package/dist/user-Bm4KttFq.js +0 -37
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Tn = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a560e55f-7426-4cc8-b0b8-b240be1c208c", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_remy_vue_client: "0.2.0-beta.14", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.19.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.33", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_a560e55f-7426-4cc8-b0b8-b240be1c208c", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.0/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.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", 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.12.5", npm_package_dependencies_fabric: "^5.5.1", 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: "", SYSTEMD_EXEC_PID: "712", npm_package_dependencies__feedmepos_ui_library: "1.5.5", 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_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", 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", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250413.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.8", 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", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.8/x64", JOURNAL_STREAM: "8:6508", GITHUB_WORKFLOW: "Publish mf-connect - dev", _: "/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/runner-provisioner.service/memory.pressure", 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", STATS_D: "false", GITHUB_RUN_ID: "14566654172", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ed0feb3150f534ef608e10d3e47bbb733b3c55cc", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] publish-mf-connect.yml@refs/heads/dev", 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.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.0/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_fd186f80-e5a1-41dc-80c2-7fa0da1d9614", INVOCATION_ID: "106b64d5bba34e4d986913043860369f", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.0/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: "87", 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.18", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 251", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", 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.14.9", npm_lifecycle_script: "vite build --mode fmmf", 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.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.0-beta.25", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", 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: "ed0feb3150f534ef608e10d3e47bbb733b3c55cc", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/dev", 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_a560e55f-7426-4cc8-b0b8-b240be1c208c", 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", 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", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_a560e55f-7426-4cc8-b0b8-b240be1c208c", 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.39", 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", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_pnpm_overrides__feedmepos_mf_common: "1.15.0-beta.6", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_a560e55f-7426-4cc8-b0b8-b240be1c208c", 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", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account" } };
|
|
1
|
+
var Tn = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_44f5369a-989b-427a-80a3-b804b97812ff", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_remy_vue_client: "0.2.0-beta.14", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.19.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.33", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_44f5369a-989b-427a-80a3-b804b97812ff", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.0/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.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", 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.12.5", npm_package_dependencies_fabric: "^5.5.1", 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: "", SYSTEMD_EXEC_PID: "711", npm_package_dependencies__feedmepos_ui_library: "1.5.5", 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_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", 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", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250413.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.8", 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", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.8/x64", JOURNAL_STREAM: "8:6300", GITHUB_WORKFLOW: "Publish mf-connect - dev", _: "/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/runner-provisioner.service/memory.pressure", 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", STATS_D: "false", GITHUB_RUN_ID: "14610620261", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a58a28dcc9617d413591500ada6cb6d662c49de9", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] publish-mf-connect.yml@refs/heads/dev", 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.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.0/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_33a06a8a-39b9-4808-bc0b-075320f5bc73", INVOCATION_ID: "1945ec7c47904efd837c735b7876ae89", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.0/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: "89", 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.18", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 210", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", 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.14.9", npm_lifecycle_script: "vite build --mode fmmf", 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.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.0-beta.27", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", 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: "a58a28dcc9617d413591500ada6cb6d662c49de9", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/dev", 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_44f5369a-989b-427a-80a3-b804b97812ff", 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", 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", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_44f5369a-989b-427a-80a3-b804b97812ff", 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.39", 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", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_pnpm_overrides__feedmepos_mf_common: "1.15.0-beta.6", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_44f5369a-989b-427a-80a3-b804b97812ff", 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", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account" } };
|
|
2
2
|
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
3
3
|
var Kt = {};
|
|
4
4
|
Kt.version = "0.18.5";
|
package/package.json
CHANGED
package/dist/Record-D6zfDAaG.js
DELETED
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
import { defineComponent as R, ref as C, resolveComponent as v, openBlock as F, createBlock as M, unref as t, isRef as A, withCtx as D, createElementVNode as d, createVNode as _, h as g, onMounted as I, createElementBlock as V, Fragment as $ } from "vue";
|
|
2
|
-
import { u as N, _ as B } from "./usePagination-BeF5K3M7.js";
|
|
3
|
-
import { g as b } from "./user-Bm4KttFq.js";
|
|
4
|
-
import { components as S } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as U, c as E } from "./loading-C60MHxcY.js";
|
|
6
|
-
import { u as L } from "./vue-i18n-6NpmRo5N.js";
|
|
7
|
-
import { useCoreStore as T } from "@feedmepos/mf-common";
|
|
8
|
-
import { r as k } from "./index-CT0nrvtM.js";
|
|
9
|
-
import { c as j, a as K } from "./object-qECH92oz.js";
|
|
10
|
-
import { u as O } from "./membership-Dl-R2y3j.js";
|
|
11
|
-
const q = { class: "flex flex-col space-y-16 pr-12" }, G = /* @__PURE__ */ R({
|
|
12
|
-
__name: "UpdateCriteriaProgressSheet",
|
|
13
|
-
emits: ["refresh"],
|
|
14
|
-
setup(P, { expose: p, emit: h }) {
|
|
15
|
-
const c = h;
|
|
16
|
-
L();
|
|
17
|
-
const { minor: w } = U, i = C(!1), o = C({}), y = T(), r = [
|
|
18
|
-
{
|
|
19
|
-
header: "Criteria title",
|
|
20
|
-
accessorFn: (s) => s.name
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
header: "Status",
|
|
24
|
-
cell(s) {
|
|
25
|
-
var x;
|
|
26
|
-
const e = s.row.original, l = (x = o.value.criteria_progress) == null ? void 0 : x.some(
|
|
27
|
-
(z) => z.criteria === e._id
|
|
28
|
-
), u = l ? "Completed" : "Pending", m = l ? "text-fm-color-typo-success bg-fm-color-system-success-100" : "text-fm-color-typo-warning bg-fm-color-system-warning-100";
|
|
29
|
-
return g(S.FmChip, {
|
|
30
|
-
label: u,
|
|
31
|
-
compact: !0,
|
|
32
|
-
class: m
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
id: "actions",
|
|
38
|
-
cell(s) {
|
|
39
|
-
var u;
|
|
40
|
-
const e = s.row.original;
|
|
41
|
-
return [
|
|
42
|
-
((u = o.value.criteria_progress) == null ? void 0 : u.some(
|
|
43
|
-
(m) => m.criteria === e._id
|
|
44
|
-
)) ? null : g(S.FmButton, {
|
|
45
|
-
variant: "secondary",
|
|
46
|
-
label: "Mark as completed",
|
|
47
|
-
size: "md",
|
|
48
|
-
onClick: (m) => {
|
|
49
|
-
m.stopPropagation(), a(e._id.toString());
|
|
50
|
-
}
|
|
51
|
-
})
|
|
52
|
-
];
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
];
|
|
56
|
-
async function a(s) {
|
|
57
|
-
var l;
|
|
58
|
-
const e = j(K(o.value));
|
|
59
|
-
e.criteria_progress = [
|
|
60
|
-
{
|
|
61
|
-
criteria: s,
|
|
62
|
-
ref: `ADMIN:${(l = y.user) == null ? void 0 : l.id}:${(/* @__PURE__ */ new Date()).toISOString()}`,
|
|
63
|
-
completedAt: /* @__PURE__ */ new Date()
|
|
64
|
-
}
|
|
65
|
-
], w(
|
|
66
|
-
async () => {
|
|
67
|
-
await k.updateCriteriaProgress(
|
|
68
|
-
o.value._id,
|
|
69
|
-
e
|
|
70
|
-
), i.value = !1, c("refresh");
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
message: "Updating criteria progress",
|
|
74
|
-
successMessage: "Criteria progress updated successfully"
|
|
75
|
-
}
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
function n(s, e) {
|
|
79
|
-
i.value = s, o.value = e;
|
|
80
|
-
}
|
|
81
|
-
function f() {
|
|
82
|
-
i.value = !1;
|
|
83
|
-
}
|
|
84
|
-
return p({
|
|
85
|
-
showSheet: n,
|
|
86
|
-
hideSheet: f,
|
|
87
|
-
data: o
|
|
88
|
-
}), (s, e) => {
|
|
89
|
-
const l = v("FmTable"), u = v("FmSideSheet");
|
|
90
|
-
return F(), M(u, {
|
|
91
|
-
"max-width": 768,
|
|
92
|
-
modelValue: t(i),
|
|
93
|
-
"onUpdate:modelValue": e[0] || (e[0] = (m) => A(i) ? i.value = m : null),
|
|
94
|
-
header: "Manage Criteria"
|
|
95
|
-
}, {
|
|
96
|
-
default: D(() => [
|
|
97
|
-
d("div", q, [
|
|
98
|
-
e[1] || (e[1] = d("div", { class: "flex justify-between items-center" }, [
|
|
99
|
-
d("div", null, [
|
|
100
|
-
d("div", { class: "fm-typo-en-title-sm-600" }, "Referee Criteria")
|
|
101
|
-
])
|
|
102
|
-
], -1)),
|
|
103
|
-
_(l, {
|
|
104
|
-
"row-data": t(o).criteria,
|
|
105
|
-
"hide-footer": !0,
|
|
106
|
-
"page-size": 100,
|
|
107
|
-
"column-defs": r
|
|
108
|
-
}, null, 8, ["row-data"])
|
|
109
|
-
])
|
|
110
|
-
]),
|
|
111
|
-
_: 1
|
|
112
|
-
}, 8, ["modelValue"]);
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
}), oe = /* @__PURE__ */ R({
|
|
116
|
-
__name: "Record",
|
|
117
|
-
setup(P) {
|
|
118
|
-
O();
|
|
119
|
-
const p = C(null), h = [
|
|
120
|
-
{
|
|
121
|
-
header: "Referer info",
|
|
122
|
-
enableSorting: !0,
|
|
123
|
-
cell(r) {
|
|
124
|
-
return r.row.original.pf_referer ? b(r.row.original.pf_referer) : "N/A";
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
header: "Referee info",
|
|
129
|
-
enableSorting: !0,
|
|
130
|
-
cell(r) {
|
|
131
|
-
return r.row.original.pf_referee ? b(r.row.original.pf_referee) : "N/A";
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
header: "Referee criteria",
|
|
136
|
-
accessorKey: "criteria",
|
|
137
|
-
id: "criteria",
|
|
138
|
-
cell(r) {
|
|
139
|
-
const a = r.row.original.criteria_progress.length, n = r.row.original.criteria.length;
|
|
140
|
-
return g("div", `${a}/${n} completed criteria`);
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
header: "Status",
|
|
145
|
-
id: "status",
|
|
146
|
-
cell(r) {
|
|
147
|
-
const a = r.row.original.status;
|
|
148
|
-
return g(S.FmChip, {
|
|
149
|
-
label: E.title(a),
|
|
150
|
-
compact: !0,
|
|
151
|
-
class: "text-fm-color-typo-primary bg-fm-color-system-primary-100"
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
], { tableMeta: c, rowData: w, onSort: i, debouncedFetchData: o, onSearch: y } = N(k.readRecords);
|
|
156
|
-
return I(async () => {
|
|
157
|
-
await o();
|
|
158
|
-
}), (r, a) => (F(), V($, null, [
|
|
159
|
-
d("div", null, [
|
|
160
|
-
_(B, {
|
|
161
|
-
loading: t(c).isLoading,
|
|
162
|
-
"row-data": t(w),
|
|
163
|
-
"row-count": t(c).totalRows,
|
|
164
|
-
"column-defs": h,
|
|
165
|
-
"shrink-at": !1,
|
|
166
|
-
"page-count": t(c).pageCount,
|
|
167
|
-
"page-index": t(c).pageIndex,
|
|
168
|
-
"page-size": t(c).pageSize,
|
|
169
|
-
onSortChange: t(i),
|
|
170
|
-
onPageChange: a[0] || (a[0] = (n) => t(o)({ pageSize: n.pageSize, pageIndex: n.pageIndex })),
|
|
171
|
-
onRowClick: a[1] || (a[1] = (n) => {
|
|
172
|
-
var f;
|
|
173
|
-
return (f = t(p)) == null ? void 0 : f.showSheet(!0, n.original);
|
|
174
|
-
})
|
|
175
|
-
}, null, 8, ["loading", "row-data", "row-count", "page-count", "page-index", "page-size", "onSortChange"])
|
|
176
|
-
]),
|
|
177
|
-
_(G, {
|
|
178
|
-
ref_key: "updateCriteriaProgressSheetRef",
|
|
179
|
-
ref: p,
|
|
180
|
-
onRefresh: t(o)
|
|
181
|
-
}, null, 8, ["onRefresh"])
|
|
182
|
-
], 64));
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
export {
|
|
186
|
-
oe as default
|
|
187
|
-
};
|
package/dist/Reward-Cyc3KlCY.js
DELETED
|
@@ -1,399 +0,0 @@
|
|
|
1
|
-
import { defineComponent as N, ref as C, computed as K, resolveComponent as u, openBlock as f, createBlock as V, unref as t, isRef as q, withCtx as h, createElementVNode as p, createVNode as i, createCommentVNode as U, createElementBlock as I, Fragment as H, h as x, onMounted as W, toDisplayString as $ } from "vue";
|
|
2
|
-
import { _ as z } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import { useDialog as G, components as Y } from "@feedmepos/ui-library";
|
|
4
|
-
import { f as B, u as X, p as Q } from "./loading-C60MHxcY.js";
|
|
5
|
-
import { u as J, C as ee } from "./membership-Dl-R2y3j.js";
|
|
6
|
-
import { u as te } from "./vue-i18n-6NpmRo5N.js";
|
|
7
|
-
import { c as oe } from "./object-qECH92oz.js";
|
|
8
|
-
import { Z as O } from "./zod-Bg2FbC-D.js";
|
|
9
|
-
import "./index-IrZw6oc7.js";
|
|
10
|
-
import { a as ae } from "./index-DMGD2o0j.js";
|
|
11
|
-
import { useCoreStore as le } from "@feedmepos/mf-common";
|
|
12
|
-
import { _ as ne, a as ie } from "./VoucherEditor.vue_vue_type_script_setup_true_lang-uDQCDBrW.js";
|
|
13
|
-
import { _ as re } from "./EffectSheet.vue_vue_type_style_index_0_lang-D3QzvFi6.js";
|
|
14
|
-
import { J as j } from "./JsonViewer-v8_C7l5N.js";
|
|
15
|
-
import { _ as se } from "./ZodTextField.vue_vue_type_script_setup_true_lang-v8ldXm6Z.js";
|
|
16
|
-
import { i as de } from "./helper-DF-sSvHq.js";
|
|
17
|
-
import { u as me, r as D } from "./reward-CYvuiwF5.js";
|
|
18
|
-
import { useRouter as ce } from "vue-router";
|
|
19
|
-
const pe = { class: "flex gap-8 items-center justify-start" }, ue = /* @__PURE__ */ N({
|
|
20
|
-
__name: "EditRewardSheet",
|
|
21
|
-
emits: ["update"],
|
|
22
|
-
setup(Z, { expose: l, emit: k }) {
|
|
23
|
-
const m = J(), { minor: g } = X, y = C(!1), a = C({}), w = C(), v = ae, c = K(() => {
|
|
24
|
-
const o = v.safeParse(a.value);
|
|
25
|
-
return o.success ? [] : o.error.errors;
|
|
26
|
-
});
|
|
27
|
-
function b(o, e) {
|
|
28
|
-
o && (a.value = e), y.value = o;
|
|
29
|
-
}
|
|
30
|
-
const T = k;
|
|
31
|
-
async function R() {
|
|
32
|
-
const o = v.safeParse(a.value);
|
|
33
|
-
!o.success || !o.data || (await g(
|
|
34
|
-
async () => {
|
|
35
|
-
var e;
|
|
36
|
-
o.data.option.type === "VOUCHER" && w.value && (o.data.option.collectibleConfig.image = await B.update(
|
|
37
|
-
((e = o.data.option.collectibleConfig) == null ? void 0 : e.image) || B.collectibleImagePath(void 0, w.value),
|
|
38
|
-
w.value
|
|
39
|
-
));
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
message: "Uploading reward image",
|
|
43
|
-
successMessage: "Reward image updated"
|
|
44
|
-
}
|
|
45
|
-
), T("update", o.data));
|
|
46
|
-
}
|
|
47
|
-
function E(o) {
|
|
48
|
-
o === "VOUCHER" ? a.value.option = {
|
|
49
|
-
collectible: null,
|
|
50
|
-
type: "VOUCHER",
|
|
51
|
-
collectibleConfig: de("VOUCHER", {
|
|
52
|
-
business: le().currentBusiness.value._id
|
|
53
|
-
}),
|
|
54
|
-
earningOption: {
|
|
55
|
-
amount: 1,
|
|
56
|
-
type: "FIXED"
|
|
57
|
-
},
|
|
58
|
-
validityOption: {
|
|
59
|
-
validForDay: 30
|
|
60
|
-
}
|
|
61
|
-
} : a.value.option = {
|
|
62
|
-
collectible: m.loyaltyRewards.raw[0]._id,
|
|
63
|
-
collecitbleType: m.loyaltyRewards.raw[0].type,
|
|
64
|
-
type: "LOYALTY",
|
|
65
|
-
earningOption: {
|
|
66
|
-
amount: 1,
|
|
67
|
-
type: "FIXED"
|
|
68
|
-
},
|
|
69
|
-
validityOption: {
|
|
70
|
-
validForDay: 30
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
function F(o) {
|
|
75
|
-
a.value.option.collectible = o;
|
|
76
|
-
}
|
|
77
|
-
const L = C();
|
|
78
|
-
return l({
|
|
79
|
-
showSheet: b
|
|
80
|
-
}), (o, e) => {
|
|
81
|
-
const d = u("FmSelect"), A = u("FmForm"), S = u("FmButton"), P = u("FmSideSheet");
|
|
82
|
-
return f(), V(P, {
|
|
83
|
-
"max-width": 560,
|
|
84
|
-
modelValue: t(y),
|
|
85
|
-
"onUpdate:modelValue": [
|
|
86
|
-
e[8] || (e[8] = (s) => q(y) ? y.value = s : null),
|
|
87
|
-
e[9] || (e[9] = (s) => y.value = s)
|
|
88
|
-
],
|
|
89
|
-
header: "Edit reward"
|
|
90
|
-
}, {
|
|
91
|
-
"side-sheet-footer": h(() => [
|
|
92
|
-
p("div", pe, [
|
|
93
|
-
i(S, {
|
|
94
|
-
variant: "primary",
|
|
95
|
-
type: "button",
|
|
96
|
-
label: "Confirm",
|
|
97
|
-
disabled: t(c).length > 0,
|
|
98
|
-
onClick: e[6] || (e[6] = (s) => R())
|
|
99
|
-
}, null, 8, ["disabled"]),
|
|
100
|
-
i(S, {
|
|
101
|
-
variant: "secondary",
|
|
102
|
-
type: "button",
|
|
103
|
-
label: "Cancel",
|
|
104
|
-
onClick: e[7] || (e[7] = (s) => y.value = !1)
|
|
105
|
-
})
|
|
106
|
-
])
|
|
107
|
-
]),
|
|
108
|
-
default: h(() => [
|
|
109
|
-
i(j, { json: t(a) }, null, 8, ["json"]),
|
|
110
|
-
i(A, {
|
|
111
|
-
class: "flex flex-col gap-y-24",
|
|
112
|
-
ref_key: "formRef",
|
|
113
|
-
ref: L,
|
|
114
|
-
onValidationSuccess: e[5] || (e[5] = (s) => R())
|
|
115
|
-
}, {
|
|
116
|
-
default: h(() => {
|
|
117
|
-
var s, r, M;
|
|
118
|
-
return [
|
|
119
|
-
i(se, {
|
|
120
|
-
modelValue: t(a).name,
|
|
121
|
-
"onUpdate:modelValue": e[0] || (e[0] = (n) => t(a).name = n),
|
|
122
|
-
label: "Reward Name",
|
|
123
|
-
schema: t(O).typeAtPath(t(v), "name", [])
|
|
124
|
-
}, null, 8, ["modelValue", "schema"]),
|
|
125
|
-
i(d, {
|
|
126
|
-
label: "Reward Type",
|
|
127
|
-
items: [
|
|
128
|
-
{ label: "Voucher", value: "VOUCHER" },
|
|
129
|
-
{ label: "Loyalty", value: "LOYALTY" }
|
|
130
|
-
],
|
|
131
|
-
"model-value": t(a).option.type,
|
|
132
|
-
"onUpdate:modelValue": E
|
|
133
|
-
}, null, 8, ["model-value"]),
|
|
134
|
-
t(a).option.type == "LOYALTY" ? (f(), V(d, {
|
|
135
|
-
key: 0,
|
|
136
|
-
label: "Loyalty type",
|
|
137
|
-
items: t(m).loyaltyRewards.items,
|
|
138
|
-
"model-value": t(a).option.collectible,
|
|
139
|
-
"onUpdate:modelValue": F
|
|
140
|
-
}, null, 8, ["items", "model-value"])) : U("", !0),
|
|
141
|
-
t(a).option.type === "LOYALTY" ? (f(), I(H, { key: 1 }, [
|
|
142
|
-
e[10] || (e[10] = p("div", { class: "fm-typo-en-title-sm-800" }, "Earning option", -1)),
|
|
143
|
-
((s = t(m).loyaltyRewards.items.find(
|
|
144
|
-
(n) => {
|
|
145
|
-
var _;
|
|
146
|
-
return n.value === ((_ = t(a)) == null ? void 0 : _.option.collectible);
|
|
147
|
-
}
|
|
148
|
-
)) == null ? void 0 : s.raw.type) !== "TITLE" ? (f(), V(ne, {
|
|
149
|
-
key: 0,
|
|
150
|
-
class: "mt-[-8px]",
|
|
151
|
-
rules: [
|
|
152
|
-
t(O).ruleAtPath(t(v), "option.earningOption", [
|
|
153
|
-
t(a).option.type
|
|
154
|
-
])
|
|
155
|
-
],
|
|
156
|
-
"helper-state": t(O).helperState(t(c), "option.earningOption"),
|
|
157
|
-
"error-text": t(O).helperText(t(c), "option.earningOption"),
|
|
158
|
-
"fixed-type": !0,
|
|
159
|
-
"model-value": t(a).option.earningOption,
|
|
160
|
-
"onUpdate:modelValue": e[1] || (e[1] = (n) => t(a).option.earningOption = n)
|
|
161
|
-
}, null, 8, ["rules", "helper-state", "error-text", "model-value"])) : U("", !0),
|
|
162
|
-
i(re, {
|
|
163
|
-
class: "!gap-24",
|
|
164
|
-
"for-credit": t(a).option.type === "LOYALTY" && ((r = t(m).loyaltyRewards.items.find(
|
|
165
|
-
(n) => {
|
|
166
|
-
var _;
|
|
167
|
-
return n.value === ((_ = t(a).option) == null ? void 0 : _.collectible);
|
|
168
|
-
}
|
|
169
|
-
)) == null ? void 0 : r.raw.type) === "CREDIT",
|
|
170
|
-
rules: [
|
|
171
|
-
t(O).ruleAtPath(t(v), "option.validityOption", [
|
|
172
|
-
t(a).option.type
|
|
173
|
-
])
|
|
174
|
-
],
|
|
175
|
-
"model-value": t(a).option.validityOption,
|
|
176
|
-
"onUpdate:modelValue": e[2] || (e[2] = (n) => t(a).option.validityOption = n)
|
|
177
|
-
}, null, 8, ["for-credit", "rules", "model-value"])
|
|
178
|
-
], 64)) : U("", !0),
|
|
179
|
-
t(a).option.type === "VOUCHER" ? (f(), V(ie, {
|
|
180
|
-
key: 2,
|
|
181
|
-
"reward-image": t(w),
|
|
182
|
-
"model-value": ((M = t(a)) == null ? void 0 : M.option.collectibleConfig) ?? void 0,
|
|
183
|
-
"onUpdate:modelValue": e[3] || (e[3] = (n) => t(a).option.collectibleConfig = n),
|
|
184
|
-
"onUpdate:rewardImage": e[4] || (e[4] = (n) => w.value = n)
|
|
185
|
-
}, null, 8, ["reward-image", "model-value"])) : U("", !0),
|
|
186
|
-
i(j, { json: t(c) }, null, 8, ["json"])
|
|
187
|
-
];
|
|
188
|
-
}),
|
|
189
|
-
_: 1
|
|
190
|
-
}, 512)
|
|
191
|
-
]),
|
|
192
|
-
_: 1
|
|
193
|
-
}, 8, ["modelValue"]);
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
|
-
}), ye = { class: "px-24 flex flex-col gap-y-16" }, fe = { class: "flex items-center justify-between w-full" }, we = { class: "flex flex-col gap-16 text-center" }, ve = { class: "fm-typo-en-title-sm-800" }, ge = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, De = /* @__PURE__ */ N({
|
|
197
|
-
__name: "Reward",
|
|
198
|
-
setup(Z) {
|
|
199
|
-
const { t: l } = te(), k = {
|
|
200
|
-
label: l("connect.storeRewards.create"),
|
|
201
|
-
value: "create",
|
|
202
|
-
isPrimary: !0,
|
|
203
|
-
prependIcon: "add"
|
|
204
|
-
}, m = J(), g = me(), { global: y, minor: a } = X, w = ce(), v = G(), c = C({
|
|
205
|
-
searchKey: "",
|
|
206
|
-
columnFilters: []
|
|
207
|
-
}), b = K(() => g.rewards), T = [
|
|
208
|
-
{
|
|
209
|
-
header: l("connect.storeRewards.table.name"),
|
|
210
|
-
accessorFn: (o) => o.name
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
header: l("connect.storeRewards.table.type"),
|
|
214
|
-
cell(o) {
|
|
215
|
-
return o.row.original.collectibleConfig ? ee[o.row.original.collectibleConfig.type].chip() : "N/A";
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
header: l("connect.storeRewards.table.actions"),
|
|
220
|
-
cell(o) {
|
|
221
|
-
return x("div", { class: "flex items-center justify-end gap-4" }, [
|
|
222
|
-
x(
|
|
223
|
-
Y.FmMenu,
|
|
224
|
-
{
|
|
225
|
-
placement: "bottom-end",
|
|
226
|
-
onClick: (e) => {
|
|
227
|
-
e.stopPropagation();
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"menu-button": () => x(Y.FmButton, {
|
|
232
|
-
icon: "more_vert",
|
|
233
|
-
iconColor: "neutral-gray-400",
|
|
234
|
-
variant: "tertiary"
|
|
235
|
-
}),
|
|
236
|
-
default: () => [
|
|
237
|
-
// h(components.FmMenuItem, {
|
|
238
|
-
// label: 'View collections',
|
|
239
|
-
// onClick: async (event: Event) => {
|
|
240
|
-
// event.stopPropagation();
|
|
241
|
-
// onViewCollection(props.row.original._id as string);
|
|
242
|
-
// },
|
|
243
|
-
// }),
|
|
244
|
-
x(
|
|
245
|
-
Y.FmMenuItem,
|
|
246
|
-
{
|
|
247
|
-
onClick: async (e) => {
|
|
248
|
-
e.stopPropagation(), E(o.row.original);
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
label: x(
|
|
253
|
-
"div",
|
|
254
|
-
{
|
|
255
|
-
class: "text-fm-color-typo-error fm-typo-en-body-md-400"
|
|
256
|
-
},
|
|
257
|
-
"Delete"
|
|
258
|
-
)
|
|
259
|
-
}
|
|
260
|
-
)
|
|
261
|
-
]
|
|
262
|
-
}
|
|
263
|
-
)
|
|
264
|
-
]);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
], R = C();
|
|
268
|
-
async function E(o) {
|
|
269
|
-
await Q.remove(
|
|
270
|
-
l("connect.storeRewards.delete.confirm"),
|
|
271
|
-
l("connect.storeRewards.delete.title")
|
|
272
|
-
) && await a(
|
|
273
|
-
async () => {
|
|
274
|
-
await D.deleteReward(o._id), await g.readRewards();
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
message: l("connect.storeRewards.delete.message"),
|
|
278
|
-
successMessage: l("connect.storeRewards.delete.success")
|
|
279
|
-
}
|
|
280
|
-
);
|
|
281
|
-
}
|
|
282
|
-
async function F(o) {
|
|
283
|
-
var e;
|
|
284
|
-
o || (o = {
|
|
285
|
-
name: "",
|
|
286
|
-
option: {
|
|
287
|
-
type: "LOYALTY",
|
|
288
|
-
collectible: m.loyaltyRewards.items[0].value,
|
|
289
|
-
collecitbleType: m.loyaltyRewards.items[0].raw.type,
|
|
290
|
-
validityOption: {
|
|
291
|
-
validForDay: 7
|
|
292
|
-
},
|
|
293
|
-
earningOption: {
|
|
294
|
-
type: "FIXED",
|
|
295
|
-
amount: 1
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}), (e = R.value) == null || e.showSheet(!0, oe(o));
|
|
299
|
-
}
|
|
300
|
-
async function L(o) {
|
|
301
|
-
let e = !1;
|
|
302
|
-
o._id && o.option.type === "VOUCHER" && await new Promise((d) => {
|
|
303
|
-
v.open({
|
|
304
|
-
title: "Confirmation",
|
|
305
|
-
message: "This will change all future vouchers? Would you like to update previous claimed vouchers expiry date and discount?",
|
|
306
|
-
primaryActions: { text: "Update all", close: !0 },
|
|
307
|
-
secondaryActions: { text: "Update future only", close: !0 }
|
|
308
|
-
}).onPrimary(async () => {
|
|
309
|
-
e = !0, d();
|
|
310
|
-
}).onSecondary(async () => {
|
|
311
|
-
d();
|
|
312
|
-
});
|
|
313
|
-
}), await a(
|
|
314
|
-
async () => {
|
|
315
|
-
var d;
|
|
316
|
-
o.collectibleConfig = void 0, o._id ? await D.updateReward(o._id, {
|
|
317
|
-
...o,
|
|
318
|
-
updateCollection: e
|
|
319
|
-
}) : await D.createReward(o), await g.readRewards(), (d = R.value) == null || d.showSheet(!1);
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
message: "Updating reward",
|
|
323
|
-
successMessage: "Reward updated successfully"
|
|
324
|
-
}
|
|
325
|
-
);
|
|
326
|
-
}
|
|
327
|
-
return W(async () => {
|
|
328
|
-
await y(async () => {
|
|
329
|
-
await m.readRewards(), await g.readRewards();
|
|
330
|
-
});
|
|
331
|
-
}), (o, e) => {
|
|
332
|
-
const d = u("FmPageHead"), A = u("FmSearch"), S = u("FmTable"), P = u("FmButton"), s = u("FmCard");
|
|
333
|
-
return f(), I(H, null, [
|
|
334
|
-
i(d, {
|
|
335
|
-
title: t(l)("connect.reward.title"),
|
|
336
|
-
actions: [k],
|
|
337
|
-
"back-button": !0,
|
|
338
|
-
"onClick:action": e[0] || (e[0] = () => F()),
|
|
339
|
-
"onClick:back": e[1] || (e[1] = () => {
|
|
340
|
-
var r;
|
|
341
|
-
return (r = t(w)) == null ? void 0 : r.back();
|
|
342
|
-
})
|
|
343
|
-
}, null, 8, ["title", "actions"]),
|
|
344
|
-
p("div", ye, [
|
|
345
|
-
t(b) && t(b).length > 0 ? (f(), I(H, { key: 0 }, [
|
|
346
|
-
p("div", fe, [
|
|
347
|
-
e[6] || (e[6] = p("div", { class: "flex gap-8" }, null, -1)),
|
|
348
|
-
i(A, {
|
|
349
|
-
modelValue: t(c).searchKey,
|
|
350
|
-
"onUpdate:modelValue": e[2] || (e[2] = (r) => t(c).searchKey = r),
|
|
351
|
-
class: "",
|
|
352
|
-
placeholder: "search",
|
|
353
|
-
collapsible: ""
|
|
354
|
-
}, null, 8, ["modelValue"])
|
|
355
|
-
]),
|
|
356
|
-
i(S, {
|
|
357
|
-
"row-data": t(b),
|
|
358
|
-
"column-defs": T,
|
|
359
|
-
"search-value": t(c).searchKey,
|
|
360
|
-
"column-filter": t(c).columnFilters,
|
|
361
|
-
onRowClick: e[3] || (e[3] = (r) => F(r.original)),
|
|
362
|
-
"hide-footer": t(b).length < 10
|
|
363
|
-
}, null, 8, ["row-data", "search-value", "column-filter", "hide-footer"])
|
|
364
|
-
], 64)) : (f(), V(s, {
|
|
365
|
-
key: 1,
|
|
366
|
-
variant: "outlined",
|
|
367
|
-
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
368
|
-
}, {
|
|
369
|
-
default: h(() => [
|
|
370
|
-
e[7] || (e[7] = p("img", {
|
|
371
|
-
src: z,
|
|
372
|
-
class: "aspect-square w-[150px]"
|
|
373
|
-
}, null, -1)),
|
|
374
|
-
p("div", we, [
|
|
375
|
-
p("div", ve, $(t(l)("connect.storeRewards.empty.title")), 1),
|
|
376
|
-
p("div", ge, $(t(l)("connect.storeRewards.empty.description")), 1)
|
|
377
|
-
]),
|
|
378
|
-
i(P, {
|
|
379
|
-
variant: "primary",
|
|
380
|
-
label: t(l)("connect.storeRewards.empty.action"),
|
|
381
|
-
onClick: e[4] || (e[4] = (r) => F()),
|
|
382
|
-
icon: "add"
|
|
383
|
-
}, null, 8, ["label"])
|
|
384
|
-
]),
|
|
385
|
-
_: 1
|
|
386
|
-
})),
|
|
387
|
-
i(ue, {
|
|
388
|
-
ref_key: "rewardSheetRef",
|
|
389
|
-
ref: R,
|
|
390
|
-
onUpdate: e[5] || (e[5] = (r) => L(r))
|
|
391
|
-
}, null, 512)
|
|
392
|
-
])
|
|
393
|
-
], 64);
|
|
394
|
-
};
|
|
395
|
-
}
|
|
396
|
-
});
|
|
397
|
-
export {
|
|
398
|
-
De as default
|
|
399
|
-
};
|