@feedmepos/mf-brand-app-builder 0.5.19-dev.9 → 0.5.19-prod.1
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/{App-BsZVP9Ne.js → App-CxzkOiYp.js} +7 -7
- package/dist/{AssetsSettings-B5N-7DgR.js → AssetsSettings-BfzwsNwc.js} +14 -15
- package/dist/{BrandkitView-iQKQx-jZ.js → BrandkitView-B5e1lPBZ.js} +7 -8
- package/dist/{BuilderView-CL_Av8N0.js → BuilderView-D6rTN4bY.js} +2390 -3780
- package/dist/{ButtonGroup-8y-awxVR.js → ButtonGroup-D_HkX122.js} +7 -7
- package/dist/{ImageUpload-D9FzyqBT.js → ImageUpload-D35iT673.js} +8 -8
- package/dist/{LinkButton-B2i7oizS.js → LinkButton-S3b9CXMo.js} +1 -1
- package/dist/{ListRepeater-DpR3hCtP.js → ListRepeater-Bs1hsoAl.js} +1 -1
- package/dist/{ManagementSettings-C3NYHTVt.js → ManagementSettings-BkwP0olm.js} +15 -16
- package/dist/{ProjectView-CAY-HXbK.js → ProjectView-6REvPYf9.js} +32 -33
- package/dist/{Select-B5RoVtWY.js → Select-BRYuMWoQ.js} +1 -1
- package/dist/{SettingsView-BkO_YiSG.js → SettingsView-DHA7hXUx.js} +4 -4
- package/dist/app-BqAjJabB.js +8816 -0
- package/dist/app.js +1 -1
- package/dist/client/components/src/i18n.d.ts +4 -0
- package/dist/client/merchant/src/app.d.ts +2490 -1
- package/dist/{image-CK_VDqvl.js → image-DTdh09cw.js} +7 -7
- package/dist/{index-DSB1YXjA.js → index-BVriAU7U.js} +24 -24
- package/dist/{index-DOUPRclC.js → index-BeJwT8GD.js} +15 -15
- package/dist/{index-ENNK0FzB.js → index-D8cxp3MU.js} +1 -1
- package/dist/{index-CX9X8JGi.js → index-DFotROkw.js} +19 -19
- package/dist/{main-DBrQC_KK.js → main-DcrPdkBw.js} +6589 -4150
- package/dist/package.json +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/app-D0REl5eQ.js +0 -8693
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { H as r, b as p } from "./index-
|
|
1
|
+
import { H as r, b as p } from "./index-BVriAU7U.js";
|
|
2
2
|
const i = () => p().PWA_ICON_SERVICE_BACKEND;
|
|
3
|
-
async function
|
|
3
|
+
async function s(e, t, a) {
|
|
4
4
|
const n = new FormData();
|
|
5
5
|
return n.append("file", a), (await r.Put(
|
|
6
|
-
"https://api.
|
|
6
|
+
"https://api.feedme.vip",
|
|
7
7
|
`/image/${e}/${t}`,
|
|
8
8
|
{
|
|
9
9
|
headers: {
|
|
@@ -13,9 +13,9 @@ async function d(e, t, a) {
|
|
|
13
13
|
}
|
|
14
14
|
)).data;
|
|
15
15
|
}
|
|
16
|
-
async function
|
|
16
|
+
async function d(e, t) {
|
|
17
17
|
return (await r.Delete(
|
|
18
|
-
"https://api.
|
|
18
|
+
"https://api.feedme.vip",
|
|
19
19
|
`/image/${e}/${t}`
|
|
20
20
|
)).data;
|
|
21
21
|
}
|
|
@@ -29,8 +29,8 @@ async function o(e, t) {
|
|
|
29
29
|
})).data;
|
|
30
30
|
}
|
|
31
31
|
const f = {
|
|
32
|
-
uploadImage:
|
|
33
|
-
deleteImage:
|
|
32
|
+
uploadImage: s,
|
|
33
|
+
deleteImage: d,
|
|
34
34
|
uploadAppIcon: o
|
|
35
35
|
};
|
|
36
36
|
function u(e) {
|
|
@@ -4,7 +4,7 @@ function Pe(e, t) {
|
|
|
4
4
|
return e.apply(t, arguments);
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
|
-
var he = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b64a556f-a5b4-41f8-aea6-677820b569f9", npm_package_devDependencies__types_node: "^20.12.5", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_config_user_agent: "pnpm/9.5.0 npm/? node/v20.13.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.12", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b64a556f-a5b4-41f8-aea6-677820b569f9", PIPX_HOME: "/opt/pipx", npm_package_dependencies_vue3_colorpicker: "^2.3.0", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_package_devDependencies_tsc_alias: "^1.8.10", npm_package_devDependencies_vite: "^5.2.11", npm_node_execpath: "/opt/hostedtoolcache/node/20.13.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:dev", 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", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-8.14", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.1.13356709", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --build --force", npm_package_dependencies__feedmepos_mf_common: "^1.26.3", npm_package_dependencies_opentype_js: "^1.3.4", npm_package_devDependencies_npm_run_all2: "^6.1.2", 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.13", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_vue_accessible_color_picker: "^5.2.0", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev && pnpm build:dts && pnpm build-types && cp package.json ./dist", npm_package_dependencies_i18next: "^25.1.1", npm_package_devDependencies_tailwindcss: "^3.4.3", npm_package_devDependencies_typescript: "~5.4.0", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_only_prod: "pnpm build:mf:prod && pnpm build:dts && pnpm build-types && cp package.json ./dist", npm_package_devDependencies_vue_tsc: "^2.0.11", 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: "20250511.1.0", npm_package_scripts_dev: "vite --mode dev", npm_package_devDependencies_prettier: "^3.2.5", 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", npm_package_scripts_prod: "vite --mode prod", npm_package_dependencies__feedmepos_brand_core: "0.0.1-beta.2", npm_package_devDependencies__vue_tsconfig: "^0.5.1", npm_package_devDependencies_vite_plugin_vue_devtools: "^7.0.25", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.9/x64", JOURNAL_STREAM: "9:6495", GITHUB_WORKFLOW: "[DEV/BETA] Publish Brand App Builder to NPM", _: "/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_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^9.0.8", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "15292062745", STATS_VMFE: "true", npm_package_scripts_deploy_npm_dev: "pnpm run build-only:dev && pnpm publish --tag beta --no-git-checks --access public .", npm_package_dependencies_vue_sonner: "^1.1.4", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "cd7d75113dba1593ccc990a4792024e86b8757dc", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_scripts_deploy_npm_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks --access public .", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/brand-app/.github/workflows/brand-app-npm-dev.yml@refs/heads/dev/ba-portal", 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.5.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.13.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_582faa56-3ef6-46c2-9da8-e25c7e51a936", INVOCATION_ID: "3dfdf5c711534d8a9e4fad155b48a12c", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.13.1/x64/bin/node", npm_package_name: "@feedmepos/mf-brand-app-builder", npm_package_dependencies__formkit_vue: "^1.6.7", npm_package_devDependencies__types_qrcode: "^1.5.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "103", GITHUB_TRIGGERING_ACTOR: "buxkaizhe", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^13.0.0", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 440", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev/ba-portal", GITHUB_REPOSITORY: "feedmepos/brand-app", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && pnpm tsc-resolve", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false && pnpm tsc-resolve", npm_lifecycle_script: "vite build --mode fmmf:dev", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_devDependencies__vue_eslint_config_prettier: "^9.0.0", GITHUB_REPOSITORY_ID: "810874788", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9/node_modules/vite/bin/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9/node_modules/vite/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.5.19-dev.9", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_devDependencies__rushstack_eslint_patch: "^1.8.0", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^9.0.1", npm_package_dependencies_vue_i18n: "^11.1.3", GITHUB_WORKSPACE: "/home/runner/work/brand-app/brand-app", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "cd7d75113dba1593ccc990a4792024e86b8757dc", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_scripts_tsc_resolve: "tsc-alias --project tsconfig.app.json --outDir dist", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/dev/ba-portal", GITHUB_ACTOR: "buxkaizhe", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_scripts_format: "prettier --write src/", npm_package_dependencies__formkit_core: "^1.6.7", npm_package_dependencies_qrcode: "^1.5.4", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_b64a556f-a5b4-41f8-aea6-677820b569f9", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/brand-app/brand-app/client/merchant", GITHUB_ACTOR_ID: "53389118", RUNNER_WORKSPACE: "/home/runner/work/brand-app", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_b64a556f-a5b4-41f8-aea6-677820b569f9", npm_package_exports___types: "./dist/merchant/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/brand-app/brand-app/client/merchant", npm_package_devDependencies_eslint_plugin_vue: "^9.23.0", 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", 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_devDependencies__types_opentype_js: "^1.3.8", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_b64a556f-a5b4-41f8-aea6-677820b569f9", INIT_CWD: "/home/runner/work/brand-app/brand-app/client/merchant", NODE_ENV: "production", VITE_MF_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", VITE_IMAGE_URL: "https://image.feedmedev.cc", VITE_PWA_ICON_SERVICE: "https://pwa-icon-service.feedmeapidev.com", VITE_USER_URL: "https://{slug}.feedmedev.vip", VITE_MEMBER_URL: "https://{slug}.member.feedmedev.cc", VITE_BACKEND_URL: "https://api.feedmedev.vip", VITE_COUNTRY_CONFIG_URL: "https://country-config-dev.feedmeapi.com", LAUNCH_EDITOR: "code" } };
|
|
7
|
+
var he = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_091191a9-6e9b-465d-a12d-a610ddc5778c", npm_package_devDependencies__types_node: "^20.12.5", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_config_user_agent: "pnpm/9.5.0 npm/? node/v20.13.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.12", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_091191a9-6e9b-465d-a12d-a610ddc5778c", PIPX_HOME: "/opt/pipx", npm_package_dependencies_vue3_colorpicker: "^2.3.0", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_package_devDependencies_tsc_alias: "^1.8.10", npm_package_devDependencies_vite: "^5.2.11", npm_node_execpath: "/opt/hostedtoolcache/node/20.13.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:dev", 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", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-8.14.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.1.13356709", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --build --force", npm_package_dependencies__feedmepos_mf_common: "^1.26.3", npm_package_dependencies_opentype_js: "^1.3.4", npm_package_devDependencies_npm_run_all2: "^6.1.2", 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.13", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_vue_accessible_color_picker: "^5.2.0", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev && pnpm build:dts && pnpm build-types && cp package.json ./dist", npm_package_dependencies_i18next: "^25.1.1", npm_package_devDependencies_tailwindcss: "^3.4.3", npm_package_devDependencies_typescript: "~5.4.0", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_only_prod: "pnpm build:mf:prod && pnpm build:dts && pnpm build-types && cp package.json ./dist", npm_package_devDependencies_vue_tsc: "^2.0.11", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250622.1.0", npm_package_scripts_dev: "vite --mode dev", npm_package_devDependencies_prettier: "^3.2.5", 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", npm_package_scripts_prod: "vite --mode prod", npm_package_dependencies__feedmepos_brand_core: "0.0.1-beta.2", npm_package_devDependencies__vue_tsconfig: "^0.5.1", npm_package_devDependencies_vite_plugin_vue_devtools: "^7.0.25", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.10/x64", JOURNAL_STREAM: "9:6037", GITHUB_WORKFLOW: "[PROD] Publish Brand App Builder to NPM", _: "/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", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.4/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^9.0.8", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "15917608411", STATS_VMFE: "true", npm_package_scripts_deploy_npm_dev: "pnpm run build-only:dev && pnpm publish --tag beta --no-git-checks --access public .", npm_package_dependencies_vue_sonner: "^1.1.4", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "51c4006c4562e0e49d072949ab734f521e808f98", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_scripts_deploy_npm_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks --access public .", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/brand-app/.github/workflows/brand-app-npm-prod.yml@refs/tags/builder-v0.5.19-prod.1", 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.5.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.13.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_4e736f86-19e0-4eba-9adc-fe6e6747ee44", INVOCATION_ID: "43e3d2669b574b8a812b0de4b68415dd", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.13.1/x64/bin/node", npm_package_name: "@feedmepos/mf-brand-app-builder", npm_package_dependencies__formkit_vue: "^1.6.7", npm_package_devDependencies__types_qrcode: "^1.5.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "35", GITHUB_TRIGGERING_ACTOR: "buxkaizhe", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^13.0.0", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000003498", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "builder-v0.5.19-prod.1", GITHUB_REPOSITORY: "feedmepos/brand-app", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && pnpm tsc-resolve", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false && pnpm tsc-resolve", 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_devDependencies__vue_eslint_config_prettier: "^9.0.0", GITHUB_REPOSITORY_ID: "810874788", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9/node_modules/vite/bin/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9/node_modules/vite/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.5.19-prod.1", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_devDependencies__rushstack_eslint_patch: "^1.8.0", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^9.0.1", npm_package_dependencies_vue_i18n: "^11.1.3", GITHUB_WORKSPACE: "/home/runner/work/brand-app/brand-app", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "51c4006c4562e0e49d072949ab734f521e808f98", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_scripts_tsc_resolve: "tsc-alias --project tsconfig.app.json --outDir dist", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/tags/builder-v0.5.19-prod.1", GITHUB_ACTOR: "buxkaizhe", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_scripts_format: "prettier --write src/", npm_package_dependencies__formkit_core: "^1.6.7", npm_package_dependencies_qrcode: "^1.5.4", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_091191a9-6e9b-465d-a12d-a610ddc5778c", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/brand-app/brand-app/client/merchant", GITHUB_ACTOR_ID: "53389118", RUNNER_WORKSPACE: "/home/runner/work/brand-app", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_091191a9-6e9b-465d-a12d-a610ddc5778c", npm_package_exports___types: "./dist/merchant/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/brand-app/brand-app/client/merchant", npm_package_devDependencies_eslint_plugin_vue: "^9.23.0", 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", 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_devDependencies__types_opentype_js: "^1.3.8", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_091191a9-6e9b-465d-a12d-a610ddc5778c", INIT_CWD: "/home/runner/work/brand-app/brand-app/client/merchant", NODE_ENV: "production", VITE_MF_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", VITE_IMAGE_URL: "https://image.feedme.cc", VITE_PWA_ICON_SERVICE: "https://pwa-icon-service.feedmeapi.com", VITE_USER_URL: "https://{slug}.feedme.vip", VITE_MEMBER_URL: "https://{slug}.member.feedme.cc", VITE_BACKEND_URL: "https://api.feedme.vip", VITE_COUNTRY_CONFIG_URL: "https://country-config.feedmeapi.com", LAUNCH_EDITOR: "code" } };
|
|
8
8
|
const { toString: nt } = Object.prototype, { getPrototypeOf: le } = Object, X = /* @__PURE__ */ ((e) => (t) => {
|
|
9
9
|
const r = nt.call(t);
|
|
10
10
|
return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
|
|
@@ -107,14 +107,14 @@ const Rt = (e, t, r, { allOwnKeys: n } = {}) => (j(t, (s, o) => {
|
|
|
107
107
|
function(r, n, s) {
|
|
108
108
|
return n.toUpperCase() + s;
|
|
109
109
|
}
|
|
110
|
-
), Ee = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), It = N("RegExp"),
|
|
110
|
+
), Ee = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), It = N("RegExp"), He = (e, t) => {
|
|
111
111
|
const r = Object.getOwnPropertyDescriptors(e), n = {};
|
|
112
112
|
j(r, (s, o) => {
|
|
113
113
|
let i;
|
|
114
114
|
(i = t(s, o, e)) !== !1 && (n[o] = i || s);
|
|
115
115
|
}), Object.defineProperties(e, n);
|
|
116
116
|
}, Ct = (e) => {
|
|
117
|
-
|
|
117
|
+
He(e, (t, r) => {
|
|
118
118
|
if (w(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
|
|
119
119
|
return !1;
|
|
120
120
|
const n = e[r];
|
|
@@ -136,11 +136,11 @@ const Rt = (e, t, r, { allOwnKeys: n } = {}) => (j(t, (s, o) => {
|
|
|
136
136
|
};
|
|
137
137
|
return x(e) ? n(e) : n(String(e).split(t)), r;
|
|
138
138
|
}, Ut = () => {
|
|
139
|
-
}, Bt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, te = "abcdefghijklmnopqrstuvwxyz", be = "0123456789",
|
|
139
|
+
}, Bt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, te = "abcdefghijklmnopqrstuvwxyz", be = "0123456789", ve = {
|
|
140
140
|
DIGIT: be,
|
|
141
141
|
ALPHA: te,
|
|
142
142
|
ALPHA_DIGIT: te + te.toUpperCase() + be
|
|
143
|
-
}, xt = (e = 16, t =
|
|
143
|
+
}, xt = (e = 16, t = ve.ALPHA_DIGIT) => {
|
|
144
144
|
let r = "";
|
|
145
145
|
const { length: n } = t;
|
|
146
146
|
for (; e--; )
|
|
@@ -150,7 +150,7 @@ const Rt = (e, t, r, { allOwnKeys: n } = {}) => (j(t, (s, o) => {
|
|
|
150
150
|
function Lt(e) {
|
|
151
151
|
return !!(e && w(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
152
152
|
}
|
|
153
|
-
const
|
|
153
|
+
const Ht = (e) => {
|
|
154
154
|
const t = new Array(10), r = (n, s) => {
|
|
155
155
|
if (Y(n)) {
|
|
156
156
|
if (t.indexOf(n) >= 0)
|
|
@@ -167,7 +167,7 @@ const vt = (e) => {
|
|
|
167
167
|
return n;
|
|
168
168
|
};
|
|
169
169
|
return r(e, 0);
|
|
170
|
-
},
|
|
170
|
+
}, vt = N("AsyncFunction"), Ft = (e) => e && (Y(e) || w(e)) && w(e.then) && w(e.catch), Fe = ((e, t) => e ? setImmediate : t ? ((r, n) => (P.addEventListener("message", ({ source: s, data: o }) => {
|
|
171
171
|
s === P && o === r && n.length && n.shift()();
|
|
172
172
|
}, !1), (s) => {
|
|
173
173
|
n.push(s), P.postMessage(r, "*");
|
|
@@ -216,7 +216,7 @@ const vt = (e) => {
|
|
|
216
216
|
hasOwnProperty: Ee,
|
|
217
217
|
hasOwnProp: Ee,
|
|
218
218
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
219
|
-
reduceDescriptors:
|
|
219
|
+
reduceDescriptors: He,
|
|
220
220
|
freezeMethods: Ct,
|
|
221
221
|
toObjectSet: Pt,
|
|
222
222
|
toCamelCase: Dt,
|
|
@@ -225,11 +225,11 @@ const vt = (e) => {
|
|
|
225
225
|
findKey: xe,
|
|
226
226
|
global: P,
|
|
227
227
|
isContextDefined: Le,
|
|
228
|
-
ALPHABET:
|
|
228
|
+
ALPHABET: ve,
|
|
229
229
|
generateString: xt,
|
|
230
230
|
isSpecCompliantForm: Lt,
|
|
231
|
-
toJSONObject:
|
|
232
|
-
isAsyncFn:
|
|
231
|
+
toJSONObject: Ht,
|
|
232
|
+
isAsyncFn: vt,
|
|
233
233
|
isThenable: Ft,
|
|
234
234
|
setImmediate: Fe,
|
|
235
235
|
asap: jt
|
|
@@ -627,7 +627,7 @@ const rn = a.toObjectSet([
|
|
|
627
627
|
s = i.indexOf(":"), r = i.substring(0, s).trim().toLowerCase(), n = i.substring(s + 1).trim(), !(!r || t[r] && rn[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
|
|
628
628
|
}), t;
|
|
629
629
|
}, ye = Symbol("internals");
|
|
630
|
-
function
|
|
630
|
+
function H(e) {
|
|
631
631
|
return e && String(e).trim().toLowerCase();
|
|
632
632
|
}
|
|
633
633
|
function V(e) {
|
|
@@ -672,7 +672,7 @@ class A {
|
|
|
672
672
|
set(t, r, n) {
|
|
673
673
|
const s = this;
|
|
674
674
|
function o(c, l, u) {
|
|
675
|
-
const p =
|
|
675
|
+
const p = H(l);
|
|
676
676
|
if (!p)
|
|
677
677
|
throw new Error("header name must be a non-empty string");
|
|
678
678
|
const d = a.findKey(s, p);
|
|
@@ -691,7 +691,7 @@ class A {
|
|
|
691
691
|
return this;
|
|
692
692
|
}
|
|
693
693
|
get(t, r) {
|
|
694
|
-
if (t =
|
|
694
|
+
if (t = H(t), t) {
|
|
695
695
|
const n = a.findKey(this, t);
|
|
696
696
|
if (n) {
|
|
697
697
|
const s = this[n];
|
|
@@ -708,7 +708,7 @@ class A {
|
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
710
|
has(t, r) {
|
|
711
|
-
if (t =
|
|
711
|
+
if (t = H(t), t) {
|
|
712
712
|
const n = a.findKey(this, t);
|
|
713
713
|
return !!(n && this[n] !== void 0 && (!r || ne(this, this[n], n, r)));
|
|
714
714
|
}
|
|
@@ -718,7 +718,7 @@ class A {
|
|
|
718
718
|
const n = this;
|
|
719
719
|
let s = !1;
|
|
720
720
|
function o(i) {
|
|
721
|
-
if (i =
|
|
721
|
+
if (i = H(i), i) {
|
|
722
722
|
const c = a.findKey(n, i);
|
|
723
723
|
c && (!r || ne(n, n[c], c, r)) && (delete n[c], s = !0);
|
|
724
724
|
}
|
|
@@ -777,7 +777,7 @@ class A {
|
|
|
777
777
|
accessors: {}
|
|
778
778
|
}).accessors, s = this.prototype;
|
|
779
779
|
function o(i) {
|
|
780
|
-
const c =
|
|
780
|
+
const c = H(i);
|
|
781
781
|
n[c] || (un(s, i), n[c] = !0);
|
|
782
782
|
}
|
|
783
783
|
return a.isArray(t) ? t.forEach(o) : o(t), this;
|
|
@@ -1690,14 +1690,14 @@ let K = {
|
|
|
1690
1690
|
};
|
|
1691
1691
|
async function Bn() {
|
|
1692
1692
|
const e = Ce().currentCountry.value, { data: t } = await R.get(
|
|
1693
|
-
"https://country-config
|
|
1693
|
+
"https://country-config.feedmeapi.com",
|
|
1694
1694
|
{
|
|
1695
1695
|
params: { country: e ?? "MY" }
|
|
1696
1696
|
}
|
|
1697
1697
|
);
|
|
1698
1698
|
console.log("Using country config:", t), K.PORTAL_V2_BACKEND = t.env.PORTAL_V2_BACKEND, K.LICENSE_BACKEND = t.env.LICENSE_BACKEND, K.PWA_ICON_SERVICE_BACKEND = t.env.PWA_ICON_SERVICE_BACKEND;
|
|
1699
1699
|
}
|
|
1700
|
-
function
|
|
1700
|
+
function v(e) {
|
|
1701
1701
|
const t = R.create({
|
|
1702
1702
|
baseURL: e
|
|
1703
1703
|
});
|
|
@@ -1712,19 +1712,19 @@ function H(e) {
|
|
|
1712
1712
|
}
|
|
1713
1713
|
class Pn {
|
|
1714
1714
|
async Get(t, r, n) {
|
|
1715
|
-
return await
|
|
1715
|
+
return await v(t).get(r, n);
|
|
1716
1716
|
}
|
|
1717
1717
|
async Post(t, r, n) {
|
|
1718
|
-
return await
|
|
1718
|
+
return await v(t).post(r, n == null ? void 0 : n.data, n);
|
|
1719
1719
|
}
|
|
1720
1720
|
async Put(t, r, n) {
|
|
1721
|
-
return await
|
|
1721
|
+
return await v(t).put(r, n == null ? void 0 : n.data, n);
|
|
1722
1722
|
}
|
|
1723
1723
|
async Delete(t, r, n) {
|
|
1724
|
-
return await
|
|
1724
|
+
return await v(t).delete(r, n);
|
|
1725
1725
|
}
|
|
1726
1726
|
async Head(t, r, n) {
|
|
1727
|
-
return await
|
|
1727
|
+
return await v(t).head(r, n);
|
|
1728
1728
|
}
|
|
1729
1729
|
}
|
|
1730
1730
|
const xn = () => K, Ln = new Pn();
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { H as d } from "./index-
|
|
1
|
+
import { H as d } from "./index-BVriAU7U.js";
|
|
2
2
|
import { defineStore as w } from "pinia";
|
|
3
3
|
import { ref as y } from "vue";
|
|
4
4
|
import { v as I } from "./v4-ANoOI1Qw.js";
|
|
5
5
|
async function g(e) {
|
|
6
6
|
return (await d.Get(
|
|
7
|
-
"https://api.
|
|
7
|
+
"https://api.feedme.vip",
|
|
8
8
|
`/template/${e}`
|
|
9
9
|
)).data;
|
|
10
10
|
}
|
|
11
11
|
async function A(e, l, p) {
|
|
12
12
|
return (await d.Get(
|
|
13
|
-
"https://api.
|
|
13
|
+
"https://api.feedme.vip",
|
|
14
14
|
`/template/${e}/${l}/${p}`
|
|
15
15
|
)).data;
|
|
16
16
|
}
|
|
17
17
|
async function P(e, l, p, m) {
|
|
18
18
|
return (await d.Put(
|
|
19
|
-
"https://api.
|
|
19
|
+
"https://api.feedme.vip",
|
|
20
20
|
`/template/${e}/${l}/${p.templateId}`,
|
|
21
21
|
{
|
|
22
22
|
data: {
|
|
@@ -29,7 +29,7 @@ async function P(e, l, p, m) {
|
|
|
29
29
|
}
|
|
30
30
|
async function M(e, l, p) {
|
|
31
31
|
return (await d.Put(
|
|
32
|
-
"https://api.
|
|
32
|
+
"https://api.feedme.vip",
|
|
33
33
|
`/template/${e}/active${p ? `/${p}` : ""}`,
|
|
34
34
|
{
|
|
35
35
|
data: {
|
|
@@ -40,19 +40,19 @@ async function M(e, l, p) {
|
|
|
40
40
|
}
|
|
41
41
|
async function b(e, l) {
|
|
42
42
|
return (await d.Get(
|
|
43
|
-
"https://api.
|
|
43
|
+
"https://api.feedme.vip",
|
|
44
44
|
`/template/${e}/active${l ? `/${l}` : ""}`
|
|
45
45
|
)).data;
|
|
46
46
|
}
|
|
47
47
|
async function U(e, l, p) {
|
|
48
48
|
return await d.Head(
|
|
49
|
-
"https://api.
|
|
49
|
+
"https://api.feedme.vip",
|
|
50
50
|
`/template/${e}/${l}/${p}`
|
|
51
51
|
).then((c) => c.status === 200).catch(() => !1);
|
|
52
52
|
}
|
|
53
53
|
async function B(e, l, p) {
|
|
54
54
|
return (await d.Post(
|
|
55
|
-
"https://api.
|
|
55
|
+
"https://api.feedme.vip",
|
|
56
56
|
`/template/${e}/${l}/rename`,
|
|
57
57
|
{
|
|
58
58
|
data: {
|
|
@@ -63,7 +63,7 @@ async function B(e, l, p) {
|
|
|
63
63
|
}
|
|
64
64
|
async function x(e, l, p) {
|
|
65
65
|
return (await d.Delete(
|
|
66
|
-
"https://api.
|
|
66
|
+
"https://api.feedme.vip",
|
|
67
67
|
`/template/${e}/${l}/${p}`
|
|
68
68
|
)).data;
|
|
69
69
|
}
|
|
@@ -120,7 +120,7 @@ const i = {
|
|
|
120
120
|
t
|
|
121
121
|
);
|
|
122
122
|
}
|
|
123
|
-
async function
|
|
123
|
+
async function o(a, t) {
|
|
124
124
|
i.setMainPageTemplateId(
|
|
125
125
|
a,
|
|
126
126
|
e.value.selectedTemplate.templateId,
|
|
@@ -129,7 +129,7 @@ const i = {
|
|
|
129
129
|
e.value.activeTemplateId = e.value.selectedTemplate.templateId;
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function f(a = {}) {
|
|
133
133
|
let t = "Untitled", s = 2;
|
|
134
134
|
e.value.allTemplates.forEach((r) => {
|
|
135
135
|
if (!r.templateAlias.startsWith("Untitled")) return;
|
|
@@ -145,7 +145,7 @@ const i = {
|
|
|
145
145
|
};
|
|
146
146
|
e.value.allTemplates.push(n), e.value.selectedTemplate = n;
|
|
147
147
|
}
|
|
148
|
-
async function
|
|
148
|
+
async function v(a, t, s) {
|
|
149
149
|
await i.renameTemplate(a, t, s).then(() => {
|
|
150
150
|
var n;
|
|
151
151
|
e.value.allTemplates = e.value.allTemplates.map((r) => r.templateId === t ? {
|
|
@@ -185,9 +185,9 @@ const i = {
|
|
|
185
185
|
getMainTemplateId: m,
|
|
186
186
|
setSelectedTemplate: c,
|
|
187
187
|
saveTemplate: T,
|
|
188
|
-
setMainPageTemplate:
|
|
189
|
-
addNewTemplate:
|
|
190
|
-
renameTemplate:
|
|
188
|
+
setMainPageTemplate: o,
|
|
189
|
+
addNewTemplate: f,
|
|
190
|
+
renameTemplate: v,
|
|
191
191
|
deleteTemplate: h,
|
|
192
192
|
unpublishTemplate: $
|
|
193
193
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { H as e, b as r } from "./index-
|
|
2
|
-
const o = () => r().PORTAL_V2_BACKEND,
|
|
3
|
-
async function
|
|
1
|
+
import { H as e, b as r } from "./index-BVriAU7U.js";
|
|
2
|
+
const o = () => r().PORTAL_V2_BACKEND, c = () => r().LICENSE_BACKEND;
|
|
3
|
+
async function u(t) {
|
|
4
4
|
return (await e.Get(
|
|
5
|
-
"https://api.
|
|
5
|
+
"https://api.feedme.vip",
|
|
6
6
|
`/short-url/${t}`
|
|
7
7
|
)).data;
|
|
8
8
|
}
|
|
9
|
-
async function
|
|
9
|
+
async function p(t, a, n) {
|
|
10
10
|
return await e.Post(
|
|
11
|
-
"https://api.
|
|
11
|
+
"https://api.feedme.vip",
|
|
12
12
|
"/short-url",
|
|
13
13
|
{
|
|
14
14
|
data: {
|
|
@@ -23,15 +23,15 @@ async function u(t, a, n) {
|
|
|
23
23
|
throw (i = s.response) == null ? void 0 : i.data;
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
async function
|
|
26
|
+
async function d(t) {
|
|
27
27
|
return (await e.Get(
|
|
28
|
-
"https://api.
|
|
28
|
+
"https://api.feedme.vip",
|
|
29
29
|
`/metadata/${t}/config`
|
|
30
30
|
)).data;
|
|
31
31
|
}
|
|
32
32
|
async function f(t, a, n) {
|
|
33
33
|
return (await e.Post(
|
|
34
|
-
"https://api.
|
|
34
|
+
"https://api.feedme.vip",
|
|
35
35
|
`/metadata/${t}/config`,
|
|
36
36
|
{
|
|
37
37
|
data: {
|
|
@@ -44,13 +44,13 @@ async function f(t, a, n) {
|
|
|
44
44
|
}
|
|
45
45
|
async function m(t) {
|
|
46
46
|
return (await e.Get(
|
|
47
|
-
"https://api.
|
|
47
|
+
"https://api.feedme.vip",
|
|
48
48
|
`/metadata/${t}/brandkit`
|
|
49
49
|
)).data;
|
|
50
50
|
}
|
|
51
51
|
async function h(t, a) {
|
|
52
52
|
return (await e.Post(
|
|
53
|
-
"https://api.
|
|
53
|
+
"https://api.feedme.vip",
|
|
54
54
|
`/metadata/${t}/brandkit`,
|
|
55
55
|
{
|
|
56
56
|
data: a
|
|
@@ -69,22 +69,22 @@ async function B(t, a) {
|
|
|
69
69
|
throw (i = s.response) == null ? void 0 : i.data;
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
|
-
async function
|
|
72
|
+
async function g(t) {
|
|
73
73
|
return await e.Get(
|
|
74
|
-
|
|
74
|
+
c(),
|
|
75
75
|
`api/business/${t}/feature/miniprogram`
|
|
76
76
|
).then((a) => a.data).catch(() => !1);
|
|
77
77
|
}
|
|
78
|
-
const
|
|
79
|
-
getGlobalSlug:
|
|
80
|
-
setShortUrl:
|
|
81
|
-
getBusinessMetadata:
|
|
78
|
+
const w = {
|
|
79
|
+
getGlobalSlug: u,
|
|
80
|
+
setShortUrl: p,
|
|
81
|
+
getBusinessMetadata: d,
|
|
82
82
|
setBusinessMetadata: f,
|
|
83
83
|
getBusinessBrandkit: m,
|
|
84
84
|
setBusinessBrandkit: h,
|
|
85
85
|
updateBusinessProfile: B,
|
|
86
|
-
getBusinessPremiumStatus:
|
|
86
|
+
getBusinessPremiumStatus: g
|
|
87
87
|
};
|
|
88
88
|
export {
|
|
89
|
-
|
|
89
|
+
w as B
|
|
90
90
|
};
|