@feedmepos/mf-brand-app-builder 0.5.26-dev.2 → 0.5.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/{App-DGvJch7k.js → App-DUBaNaDf.js} +7 -7
- package/dist/{AssetsSettings-DhprCc4v.js → AssetsSettings-DJOCXmyp.js} +18 -18
- package/dist/{BrandkitView-X8IHin-h.js → BrandkitView-BFSi5o-W.js} +2 -2
- package/dist/{BuilderView-hJNbJOm9.js → BuilderView-D0bS5Tb-.js} +7 -7
- package/dist/{ImageUpload-5DbJl4VJ.js → ImageUpload-DtHZyFAP.js} +8 -8
- package/dist/{LinkButton-De-YNclu.js → LinkButton-DNXBKGCn.js} +1 -1
- package/dist/{ListRepeater-NRsHQjL7.js → ListRepeater-CbtSZYV9.js} +1 -1
- package/dist/{ManagementSettings-CueLn4v_.js → ManagementSettings-DHh2g_XJ.js} +6 -6
- package/dist/{ProjectView-ByxaVBFb.js → ProjectView-DKXRpIC6.js} +1 -1
- package/dist/{app-D31TvYwO.js → app-DEVvOdMC.js} +9 -9
- package/dist/app.js +1 -1
- package/dist/{image-D_Djf1PS.js → image-S7-2rbQS.js} +7 -7
- package/dist/index-BUEKCOG0.js +112 -0
- package/dist/{index-D0LOMBBD.js → index-C6_vWPi0.js} +27 -27
- package/dist/{index-Bk6TOZrx.js → index-CPs0rWCO.js} +15 -15
- package/dist/{index-C1rSMuKA.js → index-CawZ03Z8.js} +1 -1
- package/dist/{main-BZ9QGh_V.js → main-BIZonmEq.js} +3 -3
- package/dist/package.json +2 -2
- package/package.json +2 -2
- package/dist/index-C4vwWvn_.js +0 -112
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { H as d } from "./index-
|
|
1
|
+
import { H as d } from "./index-C6_vWPi0.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-CKwdnpQf.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,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as lA, createElementBlock as x, openBlock as T, normalizeStyle as gA, renderSlot as Qe, computed as JA, createBlock as rA, normalizeProps as _e, guardReactiveProps as Yg, withCtx as IA, createElementVNode as v, toDisplayString as K, resolveComponent as iA, createCommentVNode as AA, Fragment as tA, renderList as YA, normalizeClass as PA, createVNode as Z, unref as N, mergeProps as NA, useTemplateRef as aB, watch as wg, getCurrentInstance as $e, withModifiers as Kg, createTextVNode as ae, inject as lB, ref as Ue, shallowRef as fB, onMounted as wB, onUnmounted as cB, h as hC, Text as dB, onActivated as uB } from "vue";
|
|
2
2
|
import { _ as ZA } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
3
3
|
import { D as be, C as RC } from "./CircularProgress-DdblYCtV.js";
|
|
4
|
-
import { v as DB, k as vB, t as pB, z as mB, b as PB, e as hB } from "./app-
|
|
4
|
+
import { v as DB, k as vB, t as pB, z as mB, b as PB, e as hB } from "./app-DEVvOdMC.js";
|
|
5
5
|
import { g as RB, c as MB } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
6
6
|
import "@vue/devtools-api";
|
|
7
7
|
import "@feedmepos/ui-library";
|
|
@@ -8534,7 +8534,7 @@ function fi(e, A, g, C) {
|
|
|
8534
8534
|
return e.processor && (o.processor = e.processor), C.list && (o.list = C.list), C.named && (o.named = C.named), hA(C.plural) && (o.pluralIndex = C.plural), o;
|
|
8535
8535
|
}
|
|
8536
8536
|
DQ();
|
|
8537
|
-
var wi = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_936c181f-69bf-46ab-b767-7f21753486be", npm_package_devDependencies__types_node: "^20.12.5", 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.13", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_936c181f-69bf-46ab-b767-7f21753486be", 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-9.2.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_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: "1772", npm_package_dependencies__feedmepos_ui_library: "1.8.4", 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", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", 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: "20260105.202.1", npm_package_scripts_dev: "vite --mode dev", npm_package_devDependencies_prettier: "^3.2.5", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "vite --mode prod", npm_package_dependencies__feedmepos_brand_core: "0.0.2-beta.4", npm_package_devDependencies__vue_tsconfig: "^0.5.1", npm_package_devDependencies_vite_plugin_vue_devtools: "^7.0.25", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:10993", 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/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.11/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", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.5/x64", GITHUB_RUN_ID: "20924956332", 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: "bd74e526636ab67f6c4a17a89443b68955021c6a", 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", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.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_e3c2f4a1-b1bb-4711-b141-e8cc3650b5be", INVOCATION_ID: "d6adbcbd7c0f463481c3af16d2417622", 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_7", GITHUB_RUN_NUMBER: "132", GITHUB_TRIGGERING_ACTOR: "mmjang", 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 1000038074", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev/ba-portal", GITHUB_REPOSITORY: "feedmepos/brand-app", 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_package_dependencies__feedmepos_core: "^2.14.46", npm_lifecycle_script: "vite build --mode fmmf:dev", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_devDependencies__vue_eslint_config_prettier: "^9.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "810874788", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.21_@types+node@20.19.25/node_modules/vite/bin/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.21_@types+node@20.19.25/node_modules/vite/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.21_@types+node@20.19.25/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.26-dev.2", 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", GITHUB_SHA: "bd74e526636ab67f6c4a17a89443b68955021c6a", GITHUB_RUN_ATTEMPT: "1", 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: "mmjang", 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_monaco_editor: "^0.52.2", npm_package_dependencies_qrcode: "^1.5.4", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_936c181f-69bf-46ab-b767-7f21753486be", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/brand-app/brand-app/client/merchant", GITHUB_ACTOR_ID: "5045203", 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", 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_936c181f-69bf-46ab-b767-7f21753486be", npm_package_exports___types: "./dist/merchant/src/app.d.ts", npm_package_dependencies__monaco_editor_loader: "^1.5.0", EDGEWEBDRIVER: "/usr/local/share/edge_driver", 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.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_devDependencies__types_opentype_js: "^1.3.8", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_936c181f-69bf-46ab-b767-7f21753486be", 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" } };
|
|
8537
|
+
var wi = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_744485de-ec52-46f2-811d-eff3867c5b44", npm_package_devDependencies__types_node: "^20.12.5", 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.13", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_744485de-ec52-46f2-811d-eff3867c5b44", 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-9.2.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_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: "1787", npm_package_dependencies__feedmepos_ui_library: "1.8.4", 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", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", 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: "20260105.202.1", npm_package_scripts_dev: "vite --mode dev", npm_package_devDependencies_prettier: "^3.2.5", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "vite --mode prod", npm_package_dependencies__feedmepos_brand_core: "0.0.2-beta.2", npm_package_devDependencies__vue_tsconfig: "^0.5.1", npm_package_devDependencies_vite_plugin_vue_devtools: "^7.0.25", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15527", 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/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.11/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", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.5/x64", GITHUB_RUN_ID: "20924730958", 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: "9a3099988021d4684522ea015036980bad345d6d", 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/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.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_b377f7af-08e8-49c8-a525-d550e8b213ac", INVOCATION_ID: "903697fdd9964113a6d2f2986c13e648", 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_7", GITHUB_RUN_NUMBER: "41", GITHUB_TRIGGERING_ACTOR: "mmjang", 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 1000038070", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/brand-app", 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_package_dependencies__feedmepos_core: "^2.14.46", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_devDependencies__vue_eslint_config_prettier: "^9.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "810874788", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.21_@types+node@20.19.25/node_modules/vite/bin/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.21_@types+node@20.19.25/node_modules/vite/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.21_@types+node@20.19.25/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.27", 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", GITHUB_SHA: "9a3099988021d4684522ea015036980bad345d6d", GITHUB_RUN_ATTEMPT: "1", 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/main", GITHUB_ACTOR: "mmjang", 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_monaco_editor: "^0.52.2", npm_package_dependencies_qrcode: "^1.5.4", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_744485de-ec52-46f2-811d-eff3867c5b44", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/brand-app/brand-app/client/merchant", GITHUB_ACTOR_ID: "5045203", 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", 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_744485de-ec52-46f2-811d-eff3867c5b44", npm_package_exports___types: "./dist/merchant/src/app.d.ts", npm_package_dependencies__monaco_editor_loader: "^1.5.0", EDGEWEBDRIVER: "/usr/local/share/edge_driver", 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.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_devDependencies__types_opentype_js: "^1.3.8", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_744485de-ec52-46f2-811d-eff3867c5b44", 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" } };
|
|
8538
8538
|
const ci = "11.1.7";
|
|
8539
8539
|
function di() {
|
|
8540
8540
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (ne().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (ne().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ne().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ne().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -9570,7 +9570,7 @@ const Hi = { class: "py-12 px-24 w-full h-[93px] flex items-center justify-cente
|
|
|
9570
9570
|
},
|
|
9571
9571
|
emits: ["back", "sign-in", "logout", "show-member-q-r", "join-member", "invite-friends", "account-settings", "member-details", "force-refresh"],
|
|
9572
9572
|
setup(e, { emit: A }) {
|
|
9573
|
-
const g = Ue(
|
|
9573
|
+
const g = Ue();
|
|
9574
9574
|
function C() {
|
|
9575
9575
|
g.value = setTimeout(() => {
|
|
9576
9576
|
E("force-refresh");
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-brand-app-builder",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.27",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"deploy:npm:prod": "pnpm run build-only:prod && pnpm publish --no-git-checks --access public ."
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@feedmepos/brand-core": "0.0.2-beta.
|
|
35
|
+
"@feedmepos/brand-core": "0.0.2-beta.2",
|
|
36
36
|
"@feedmepos/core": "^2.14.46",
|
|
37
37
|
"@feedmepos/mf-common": "^1.26.3",
|
|
38
38
|
"@feedmepos/ui-library": "1.8.4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-brand-app-builder",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.27",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"./style": "./dist/style.css"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@feedmepos/brand-core": "0.0.2-beta.
|
|
17
|
+
"@feedmepos/brand-core": "0.0.2-beta.2",
|
|
18
18
|
"@feedmepos/core": "^2.14.46",
|
|
19
19
|
"@feedmepos/mf-common": "^1.26.3",
|
|
20
20
|
"@feedmepos/ui-library": "1.8.4",
|
package/dist/index-C4vwWvn_.js
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { H as a, a as i } from "./index-D0LOMBBD.js";
|
|
2
|
-
const o = () => i().PORTAL_V2_BACKEND, d = () => i().LICENSE_BACKEND;
|
|
3
|
-
async function p(t) {
|
|
4
|
-
return (await a.Get(
|
|
5
|
-
"https://api.feedmedev.vip",
|
|
6
|
-
`/short-url/${t}`
|
|
7
|
-
)).data;
|
|
8
|
-
}
|
|
9
|
-
async function c(t, e, s) {
|
|
10
|
-
return await a.Post(
|
|
11
|
-
"https://api.feedmedev.vip",
|
|
12
|
-
"/short-url",
|
|
13
|
-
{
|
|
14
|
-
data: {
|
|
15
|
-
slug: t,
|
|
16
|
-
oldSlug: e,
|
|
17
|
-
type: "BUSINESS",
|
|
18
|
-
businessId: s
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
).then((n) => n.data).catch((n) => {
|
|
22
|
-
var r;
|
|
23
|
-
throw (r = n.response) == null ? void 0 : r.data;
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
async function u(t) {
|
|
27
|
-
return (await a.Get(
|
|
28
|
-
"https://api.feedmedev.vip",
|
|
29
|
-
`/metadata/${t}/config`
|
|
30
|
-
)).data;
|
|
31
|
-
}
|
|
32
|
-
async function f(t, e, s) {
|
|
33
|
-
return (await a.Post(
|
|
34
|
-
"https://api.feedmedev.vip",
|
|
35
|
-
`/metadata/${t}/config`,
|
|
36
|
-
{
|
|
37
|
-
data: {
|
|
38
|
-
name: e,
|
|
39
|
-
backgroundColor: "#ffffff",
|
|
40
|
-
country: s
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
)).data;
|
|
44
|
-
}
|
|
45
|
-
async function m(t) {
|
|
46
|
-
return (await a.Get(
|
|
47
|
-
"https://api.feedmedev.vip",
|
|
48
|
-
`/metadata/${t}/brandkit`
|
|
49
|
-
)).data;
|
|
50
|
-
}
|
|
51
|
-
async function h(t, e) {
|
|
52
|
-
return (await a.Post(
|
|
53
|
-
"https://api.feedmedev.vip",
|
|
54
|
-
`/metadata/${t}/brandkit`,
|
|
55
|
-
{
|
|
56
|
-
data: e
|
|
57
|
-
}
|
|
58
|
-
)).data;
|
|
59
|
-
}
|
|
60
|
-
async function l(t, e) {
|
|
61
|
-
return (await a.Get(
|
|
62
|
-
"https://api.feedmedev.vip",
|
|
63
|
-
`/metadata/${t}/brandkit/template-history/${e}`
|
|
64
|
-
)).data;
|
|
65
|
-
}
|
|
66
|
-
async function v(t, e, s) {
|
|
67
|
-
return (await a.Post(
|
|
68
|
-
"https://api.feedmedev.vip",
|
|
69
|
-
`/metadata/${t}/brandkit/template-restore/${e}/${s}`,
|
|
70
|
-
{}
|
|
71
|
-
)).data;
|
|
72
|
-
}
|
|
73
|
-
async function y(t, e) {
|
|
74
|
-
return (await a.Delete(
|
|
75
|
-
"https://api.feedmedev.vip",
|
|
76
|
-
`/metadata/${t}/brandkit/template-history/${e}`
|
|
77
|
-
)).data;
|
|
78
|
-
}
|
|
79
|
-
async function $(t, e) {
|
|
80
|
-
return await a.Put(
|
|
81
|
-
o(),
|
|
82
|
-
`businesses/${t}/profile`,
|
|
83
|
-
{
|
|
84
|
-
data: e
|
|
85
|
-
}
|
|
86
|
-
).catch((n) => {
|
|
87
|
-
var r;
|
|
88
|
-
throw (r = n.response) == null ? void 0 : r.data;
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
async function w(t) {
|
|
92
|
-
return await a.Get(
|
|
93
|
-
d(),
|
|
94
|
-
`api/business/${t}/feature/miniprogram`
|
|
95
|
-
).then((e) => e.data).catch(() => !1);
|
|
96
|
-
}
|
|
97
|
-
const g = {
|
|
98
|
-
getGlobalSlug: p,
|
|
99
|
-
setShortUrl: c,
|
|
100
|
-
getBusinessMetadata: u,
|
|
101
|
-
setBusinessMetadata: f,
|
|
102
|
-
getBusinessBrandkit: m,
|
|
103
|
-
setBusinessBrandkit: h,
|
|
104
|
-
getTemplateHistory: l,
|
|
105
|
-
restoreTemplateVersion: v,
|
|
106
|
-
clearTemplateHistory: y,
|
|
107
|
-
updateBusinessProfile: $,
|
|
108
|
-
getBusinessPremiumStatus: w
|
|
109
|
-
};
|
|
110
|
-
export {
|
|
111
|
-
g as B
|
|
112
|
-
};
|