@feedmepos/mf-brand-app-builder 0.5.31-dev.2 → 0.5.32-dev.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-es2MsXs2.js → App-jlRSyHeO.js} +2 -2
- package/dist/{AssetsSettings-DhprCc4v.js → AssetsSettings-EAeO3NaT.js} +57 -52
- package/dist/{BrandkitView-DL-Xa9Ib.js → BrandkitView-BiqqytH_.js} +2153 -2107
- package/dist/{BuilderView-DTY6pVRY.js → BuilderView-wg2h3Yo7.js} +252 -252
- package/dist/{ImageUpload-Dqd5oGI2.js → ImageUpload-Can3deJv.js} +1 -1
- package/dist/{ListRepeater-MVsXznzw.js → ListRepeater-t5IMKKYe.js} +1 -1
- package/dist/{ManagementSettings-CueLn4v_.js → ManagementSettings--4kOBME_.js} +1 -1
- package/dist/{app-DhE9tk6x.js → app-r_Tzagik.js} +3554 -2044
- package/dist/app.js +1 -1
- package/dist/brand-core/src/entity.d.ts +19 -0
- package/dist/client/merchant/src/api/business/index.d.ts +16 -2
- package/dist/client/merchant/src/app.d.ts +1514 -0
- package/dist/client/merchant/src/components/inputs/FileUpload.vue.d.ts +18 -0
- package/dist/client/merchant/src/components/settings/CredentialSettings.vue.d.ts +2 -0
- package/dist/client/merchant/src/constants/nativeDeployment.d.ts +1 -0
- package/dist/{index-C1rSMuKA.js → index-Bi5NByw1.js} +1 -1
- package/dist/{index-C4vwWvn_.js → index-C7Ax57OZ.js} +24 -6
- package/dist/{main-ynjxR98q.js → main-Dm1Xcanz.js} +1264 -1258
- package/dist/package.json +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
modelValue: File | undefined;
|
|
4
|
+
accept?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (args_0: File | undefined) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((args_0: File | undefined) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?: ((props: {}) => any) | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ENABLE_NATIVE_DEPLOYMENT_CREDENTIALS = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { H as a, a as i } from "./index-D0LOMBBD.js";
|
|
2
|
-
const
|
|
2
|
+
const d = () => i().PORTAL_V2_BACKEND, o = () => i().LICENSE_BACKEND;
|
|
3
3
|
async function p(t) {
|
|
4
4
|
return (await a.Get(
|
|
5
5
|
"https://api.feedmedev.vip",
|
|
@@ -78,7 +78,7 @@ async function y(t, e) {
|
|
|
78
78
|
}
|
|
79
79
|
async function $(t, e) {
|
|
80
80
|
return await a.Put(
|
|
81
|
-
|
|
81
|
+
d(),
|
|
82
82
|
`businesses/${t}/profile`,
|
|
83
83
|
{
|
|
84
84
|
data: e
|
|
@@ -90,11 +90,27 @@ async function $(t, e) {
|
|
|
90
90
|
}
|
|
91
91
|
async function w(t) {
|
|
92
92
|
return await a.Get(
|
|
93
|
-
|
|
93
|
+
o(),
|
|
94
94
|
`api/business/${t}/feature/miniprogram`
|
|
95
95
|
).then((e) => e.data).catch(() => !1);
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
async function g(t) {
|
|
98
|
+
return (await a.Get(
|
|
99
|
+
"https://api.feedmedev.vip",
|
|
100
|
+
`/metadata/${t}/credentials`,
|
|
101
|
+
{}
|
|
102
|
+
)).data;
|
|
103
|
+
}
|
|
104
|
+
async function B(t, e) {
|
|
105
|
+
return (await a.Post(
|
|
106
|
+
"https://api.feedmedev.vip",
|
|
107
|
+
`/metadata/${t}/credentials`,
|
|
108
|
+
{
|
|
109
|
+
data: e
|
|
110
|
+
}
|
|
111
|
+
)).data;
|
|
112
|
+
}
|
|
113
|
+
const P = {
|
|
98
114
|
getGlobalSlug: p,
|
|
99
115
|
setShortUrl: c,
|
|
100
116
|
getBusinessMetadata: u,
|
|
@@ -105,8 +121,10 @@ const g = {
|
|
|
105
121
|
restoreTemplateVersion: v,
|
|
106
122
|
clearTemplateHistory: y,
|
|
107
123
|
updateBusinessProfile: $,
|
|
108
|
-
getBusinessPremiumStatus: w
|
|
124
|
+
getBusinessPremiumStatus: w,
|
|
125
|
+
getCredentials: g,
|
|
126
|
+
updateCredentials: B
|
|
109
127
|
};
|
|
110
128
|
export {
|
|
111
|
-
|
|
129
|
+
P as B
|
|
112
130
|
};
|