@feedmepos/mf-brand-app-builder 0.5.22-dev.1 → 0.5.24-dev.0
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-D5eO5srB.js → App-CoIlf_Tr.js} +5 -5
- package/dist/{AssetsSettings-D_E8q7eK.js → AssetsSettings-DhprCc4v.js} +6 -6
- package/dist/{BaDivider-DWZv3fqi.js → BaDivider-Cp9gfB4r.js} +2 -2
- package/dist/{BrandkitView-BlJhBYi6.js → BrandkitView-BHBErfbu.js} +3382 -2867
- package/dist/{BuilderView-Dfl1VhES.js → BuilderView-DY_Clqms.js} +427 -444
- package/dist/{ButtonGroup-D_HkX122.js → ButtonGroup-2ilMTPHH.js} +2 -2
- package/dist/{CircularProgress-h90pbjU3.js → CircularProgress-DdblYCtV.js} +4 -4
- package/dist/ColorPicker-RKWzhLBO.js +543 -0
- package/dist/{ColorPicker-I6CkNIxt.js → ColorPicker-dVFIiu94.js} +14 -14
- package/dist/{Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js → Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js} +2 -2
- package/dist/{ImageUpload-FyvXrDKK.js → ImageUpload-B8OINKSx.js} +9 -9
- package/dist/{LinkButton-C9OU3Rcs.js → LinkButton-De-YNclu.js} +4 -4
- package/dist/{ListRepeater-BnVoFhhm.js → ListRepeater-rkz-trRq.js} +2 -2
- package/dist/{ManagementSettings-CtvF5d9C.js → ManagementSettings-Cz4HkNm1.js} +4 -4
- package/dist/ProjectView-ByxaVBFb.js +428 -0
- package/dist/{Select-BRYuMWoQ.js → Select-DQx6OfZx.js} +9 -9
- package/dist/{SettingsView-DHA7hXUx.js → SettingsView-uft0uKio.js} +2 -2
- package/dist/{StepperField-BeeZ_sl9.js → StepperField-nyaUK9ht.js} +2 -2
- package/dist/{Switch-8mmNQUDo.js → Switch-uc_zN-mb.js} +2 -2
- package/dist/{TextAlign-BOC8ekaH.js → TextAlign-BSp1Xi7F.js} +2 -2
- package/dist/{TextDecorators-BJC4umDR.js → TextDecorators-1C54q7us.js} +4 -4
- package/dist/{TextField-BiVH5rLX.js → TextField-DfBJB6vQ.js} +2 -2
- package/dist/{TextStyleList-CuPE80Py.js → TextStyleList-Bef3irUx.js} +3 -3
- package/dist/{app-CJ2VgCHp.js → app-pY4HD-TA.js} +6693 -3895
- package/dist/app.js +1 -1
- package/dist/brand-core/src/brandkit.d.ts +5 -0
- package/dist/brand-core/src/entity.d.ts +32 -15
- package/dist/client/components/src/components/BranchList.vue.d.ts +1 -1
- package/dist/client/components/src/components/ButtonList.vue.d.ts +1 -1
- package/dist/client/components/src/components/CountrySwitcher.vue.d.ts +1 -1
- package/dist/client/components/src/components/Homepage.vue.d.ts +3 -3
- package/dist/client/components/src/components/ImageCarousel.vue.d.ts +1 -1
- package/dist/client/components/src/components/ImageDisplay.vue.d.ts +1 -1
- package/dist/client/components/src/components/Member/TransactionList.vue.d.ts +1 -1
- package/dist/client/components/src/components/MemberCard.vue.d.ts +1 -1
- package/dist/client/components/src/components/NavigationBar.vue.d.ts +4 -4
- package/dist/client/components/src/components/OrderHistoryCard.vue.d.ts +4 -3
- package/dist/client/components/src/components/OrderMethod.vue.d.ts +1 -1
- package/dist/client/components/src/components/TextDisplay.vue.d.ts +1 -1
- package/dist/client/components/src/components/atoms/Button.vue.d.ts +4 -4
- package/dist/client/components/src/components/atoms/CircularProgress.vue.d.ts +2 -2
- package/dist/client/components/src/components/atoms/Container.vue.d.ts +3 -3
- package/dist/client/components/src/components/atoms/Divider.vue.d.ts +1 -1
- package/dist/client/components/src/components/atoms/Icon.vue.d.ts +1 -1
- package/dist/client/components/src/components/atoms/LinkSlot.vue.d.ts +4 -4
- package/dist/client/components/src/views/OrderDetails.vue.d.ts +1 -1
- package/dist/client/components/src/views/_Credit.vue.d.ts +1 -1
- package/dist/client/components/src/views/_MemberProfile.vue.d.ts +4 -4
- package/dist/client/components/src/views/_Point.vue.d.ts +1 -1
- package/dist/client/components/src/views/_Referral.vue.d.ts +4 -4
- package/dist/client/components/src/views/_ReferralTutorial.vue.d.ts +4 -4
- package/dist/client/merchant/src/api/business/index.d.ts +41 -1
- package/dist/client/merchant/src/app.d.ts +2794 -0
- package/dist/client/merchant/src/components/atoms/BaButtonGroup.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/atoms/BaDivider.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/brandkit/ColorOverrideDialog.vue.d.ts +26 -0
- package/dist/client/merchant/src/components/brandkit/ColorSelection.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/editor/Editor.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/editor/EditorFloatingToobar.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/editor/toolbar/EditorToolbar.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/element-sidebar/ElementSidebar.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inputs/ColorPicker.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inputs/ImageUpload.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inputs/TextAlign.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inputs/TextDecorators.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inputs/TextStyleList.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inspector/Inspector.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/inspector/atoms/ConfigSection.vue.d.ts +3 -3
- package/dist/client/merchant/src/components/inspector/atoms/ConfigTab.vue.d.ts +3 -3
- package/dist/client/merchant/src/components/inspector/atoms/ConfigTabItem.vue.d.ts +3 -3
- package/dist/client/merchant/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/navigation-sidebar/NavigationSidebar.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/order-template/LayoutTemplateSection.vue.d.ts +3 -3
- package/dist/client/merchant/src/components/order-template/OrderTemplateEditorButton.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/order-template/OrderTemplateEditorForm.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/order-template/TemplateVersionHistory.vue.d.ts +18 -0
- package/dist/client/merchant/src/components/settings/AssetsSettings.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/settings/ManagementSettings.vue.d.ts +1 -1
- package/dist/client/merchant/src/components/template/TemplatePreview.vue.d.ts +1 -1
- package/dist/client/merchant/src/stores/business/index.d.ts +469 -1
- package/dist/client/merchant/src/views/BrandkitView.vue.d.ts +1 -1
- package/dist/client/merchant/src/views/BuilderView.vue.d.ts +1 -1
- package/dist/client/merchant/src/views/ProjectView.vue.d.ts +1 -1
- package/dist/client/merchant/src/views/SettingsView.vue.d.ts +1 -1
- package/dist/dayjs.min-DnbY0e60.js +282 -0
- package/dist/{image-BtHlnsmY.js → image-D_Djf1PS.js} +1 -1
- package/dist/{index-ChMgx2Hq.js → index-Bk6TOZrx.js} +2 -2
- package/dist/{index-5BRydZO9.js → index-C1rSMuKA.js} +1 -1
- package/dist/index-C4vwWvn_.js +112 -0
- package/dist/index-D0LOMBBD.js +1822 -0
- package/dist/{main-8cObQmGm.js → main-CKhW2ogv.js} +3536 -3547
- package/dist/package.json +5 -4
- package/dist/style.css +1 -1
- package/dist/{v4-ANoOI1Qw.js → v4-CKwdnpQf.js} +8 -8
- package/dist/{vue-sonner-PX6Req0V.js → vue-sonner-CBFYmm8_.js} +129 -125
- package/package.json +5 -4
- package/dist/ColorPicker-CHzKbuCD.js +0 -543
- package/dist/ProjectView-Bq0vBJ3V.js +0 -705
- package/dist/index-BEAkOquM.js +0 -90
- package/dist/index-BXwbQwb-.js +0 -1736
package/dist/index-BEAkOquM.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { H as e, b as r } from "./index-BXwbQwb-.js";
|
|
2
|
-
const o = () => r().PORTAL_V2_BACKEND, d = () => r().LICENSE_BACKEND;
|
|
3
|
-
async function c(t) {
|
|
4
|
-
return (await e.Get(
|
|
5
|
-
"https://api.feedmedev.vip",
|
|
6
|
-
`/short-url/${t}`
|
|
7
|
-
)).data;
|
|
8
|
-
}
|
|
9
|
-
async function u(t, a, n) {
|
|
10
|
-
return await e.Post(
|
|
11
|
-
"https://api.feedmedev.vip",
|
|
12
|
-
"/short-url",
|
|
13
|
-
{
|
|
14
|
-
data: {
|
|
15
|
-
slug: t,
|
|
16
|
-
oldSlug: a,
|
|
17
|
-
type: "BUSINESS",
|
|
18
|
-
businessId: n
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
).then((s) => s.data).catch((s) => {
|
|
22
|
-
var i;
|
|
23
|
-
throw (i = s.response) == null ? void 0 : i.data;
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
async function p(t) {
|
|
27
|
-
return (await e.Get(
|
|
28
|
-
"https://api.feedmedev.vip",
|
|
29
|
-
`/metadata/${t}/config`
|
|
30
|
-
)).data;
|
|
31
|
-
}
|
|
32
|
-
async function f(t, a, n) {
|
|
33
|
-
return (await e.Post(
|
|
34
|
-
"https://api.feedmedev.vip",
|
|
35
|
-
`/metadata/${t}/config`,
|
|
36
|
-
{
|
|
37
|
-
data: {
|
|
38
|
-
name: a,
|
|
39
|
-
backgroundColor: "#ffffff",
|
|
40
|
-
country: n
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
)).data;
|
|
44
|
-
}
|
|
45
|
-
async function m(t) {
|
|
46
|
-
return (await e.Get(
|
|
47
|
-
"https://api.feedmedev.vip",
|
|
48
|
-
`/metadata/${t}/brandkit`
|
|
49
|
-
)).data;
|
|
50
|
-
}
|
|
51
|
-
async function h(t, a) {
|
|
52
|
-
return (await e.Post(
|
|
53
|
-
"https://api.feedmedev.vip",
|
|
54
|
-
`/metadata/${t}/brandkit`,
|
|
55
|
-
{
|
|
56
|
-
data: a
|
|
57
|
-
}
|
|
58
|
-
)).data;
|
|
59
|
-
}
|
|
60
|
-
async function B(t, a) {
|
|
61
|
-
return await e.Put(
|
|
62
|
-
o(),
|
|
63
|
-
`businesses/${t}/profile`,
|
|
64
|
-
{
|
|
65
|
-
data: a
|
|
66
|
-
}
|
|
67
|
-
).catch((s) => {
|
|
68
|
-
var i;
|
|
69
|
-
throw (i = s.response) == null ? void 0 : i.data;
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
async function v(t) {
|
|
73
|
-
return await e.Get(
|
|
74
|
-
d(),
|
|
75
|
-
`api/business/${t}/feature/miniprogram`
|
|
76
|
-
).then((a) => a.data).catch(() => !1);
|
|
77
|
-
}
|
|
78
|
-
const l = {
|
|
79
|
-
getGlobalSlug: c,
|
|
80
|
-
setShortUrl: u,
|
|
81
|
-
getBusinessMetadata: p,
|
|
82
|
-
setBusinessMetadata: f,
|
|
83
|
-
getBusinessBrandkit: m,
|
|
84
|
-
setBusinessBrandkit: h,
|
|
85
|
-
updateBusinessProfile: B,
|
|
86
|
-
getBusinessPremiumStatus: v
|
|
87
|
-
};
|
|
88
|
-
export {
|
|
89
|
-
l as B
|
|
90
|
-
};
|