@feedmepos/mf-brand-app-builder 0.1.0-beta.3 → 0.2.0-beta.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.js +8988 -6814
- package/dist/components/src/components/ButtonList.vue.d.ts +3 -2
- package/dist/components/src/components/Homepage.vue.d.ts +5 -5
- package/dist/components/src/components/ImageCarousel.vue.d.ts +21 -0
- package/dist/components/src/components/ImageDisplay.vue.d.ts +16 -0
- package/dist/components/src/components/TextDisplay.vue.d.ts +14 -0
- package/dist/components/src/components/atoms/Container.vue.d.ts +2 -1
- package/dist/components/src/main.d.ts +3 -1
- package/dist/merchant/src/api/image/index.d.ts +5 -0
- package/dist/merchant/src/api/index.d.ts +11 -0
- package/dist/merchant/src/api/template/index.d.ts +14 -0
- package/dist/merchant/src/app.d.ts +0 -2
- package/dist/merchant/src/components/atoms/BaButtonGroup.vue.d.ts +22 -0
- package/dist/merchant/src/components/atoms/BaDivider.vue.d.ts +2 -0
- package/dist/merchant/src/components/atoms/index.d.ts +3 -0
- package/dist/merchant/src/components/editor/EditorToobar.vue.d.ts +2 -0
- package/dist/merchant/src/components/element-sidebar/all-elements.d.ts +5 -1
- package/dist/merchant/src/components/inputs/ImageUpload.vue.d.ts +15 -0
- package/dist/merchant/src/components/inputs/LinkButton.vue.d.ts +15 -0
- package/dist/merchant/src/components/inputs/Switch.vue.d.ts +15 -0
- package/dist/merchant/src/components/inputs/TextAlign.vue.d.ts +21 -0
- package/dist/merchant/src/components/inputs/TextDecorators.vue.d.ts +19 -0
- package/dist/merchant/src/components/inputs/TextStyleList.vue.d.ts +15 -0
- package/dist/merchant/src/components/inputs/index.d.ts +7 -1
- package/dist/merchant/src/components/inspector/atoms/ConfigSection.vue.d.ts +1 -1
- package/dist/merchant/src/components/inspector/atoms/ConfigTab.vue.d.ts +13 -7
- package/dist/merchant/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +15 -0
- package/dist/merchant/src/composables/useNode/index.d.ts +2 -0
- package/dist/merchant/src/node-configs/button-list/props.d.ts +4 -2
- package/dist/merchant/src/node-configs/carousel/props.d.ts +22 -0
- package/dist/merchant/src/node-configs/carousel/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/container/props.d.ts +36 -0
- package/dist/merchant/src/node-configs/display-image/props.d.ts +17 -0
- package/dist/merchant/src/node-configs/display-image/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/display-text/props.d.ts +14 -0
- package/dist/merchant/src/node-configs/props.d.ts +3 -1
- package/dist/merchant/src/node-configs/schema.d.ts +3 -1
- package/dist/merchant/src/plugin/formkit.d.ts +3 -0
- package/dist/merchant/src/stores/editor/index.d.ts +31 -4
- package/dist/merchant/src/stores/template/index.d.ts +35 -0
- package/dist/merchant/src/utils/deep-to-raw.d.ts +1 -0
- package/dist/package.json +4 -3
- package/dist/style.css +1 -1
- package/package.json +4 -3
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { INodeComponent } from '../../composables/useNode';
|
|
2
|
+
export declare const useTemplateStore: import("pinia").StoreDefinition<"template", import("pinia")._UnwrapAll<Pick<{
|
|
3
|
+
state: import("vue").Ref<{
|
|
4
|
+
allTemplates: string[];
|
|
5
|
+
selectedTemplateId: string;
|
|
6
|
+
activeTemplateId: string;
|
|
7
|
+
}>;
|
|
8
|
+
getSetAllTemplates: (businessId: string) => Promise<void>;
|
|
9
|
+
setActiveTemplate: (businessId: string) => Promise<void>;
|
|
10
|
+
getActiveTemplate: (businessId: string) => Promise<void>;
|
|
11
|
+
setSelectedTemplateId: (templateId: string) => void;
|
|
12
|
+
saveTemplate: (businessId: string, schema: INodeComponent[]) => Promise<void>;
|
|
13
|
+
}, "state">>, Pick<{
|
|
14
|
+
state: import("vue").Ref<{
|
|
15
|
+
allTemplates: string[];
|
|
16
|
+
selectedTemplateId: string;
|
|
17
|
+
activeTemplateId: string;
|
|
18
|
+
}>;
|
|
19
|
+
getSetAllTemplates: (businessId: string) => Promise<void>;
|
|
20
|
+
setActiveTemplate: (businessId: string) => Promise<void>;
|
|
21
|
+
getActiveTemplate: (businessId: string) => Promise<void>;
|
|
22
|
+
setSelectedTemplateId: (templateId: string) => void;
|
|
23
|
+
saveTemplate: (businessId: string, schema: INodeComponent[]) => Promise<void>;
|
|
24
|
+
}, never>, Pick<{
|
|
25
|
+
state: import("vue").Ref<{
|
|
26
|
+
allTemplates: string[];
|
|
27
|
+
selectedTemplateId: string;
|
|
28
|
+
activeTemplateId: string;
|
|
29
|
+
}>;
|
|
30
|
+
getSetAllTemplates: (businessId: string) => Promise<void>;
|
|
31
|
+
setActiveTemplate: (businessId: string) => Promise<void>;
|
|
32
|
+
getActiveTemplate: (businessId: string) => Promise<void>;
|
|
33
|
+
setSelectedTemplateId: (templateId: string) => void;
|
|
34
|
+
saveTemplate: (businessId: string, schema: INodeComponent[]) => Promise<void>;
|
|
35
|
+
}, "getSetAllTemplates" | "setActiveTemplate" | "getActiveTemplate" | "setSelectedTemplateId" | "saveTemplate">>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function deepToRaw<T extends Record<string, any>>(sourceObj: T): T;
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-brand-app-builder",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -29,10 +29,11 @@
|
|
|
29
29
|
"deploy:npm": "pnpm run build-only && pnpm publish --no-git-checks ."
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@feedmepos/mf-common": "1.
|
|
33
|
-
"@feedmepos/ui-library": "
|
|
32
|
+
"@feedmepos/mf-common": "1.7.2-rc.3",
|
|
33
|
+
"@feedmepos/ui-library": "1.2.14-rc.3",
|
|
34
34
|
"@formkit/core": "^1.6.5",
|
|
35
35
|
"@formkit/vue": "^1.6.5",
|
|
36
|
+
"axios": "^1.7.2",
|
|
36
37
|
"pinia": "^2.1.7",
|
|
37
38
|
"uuid": "^9.0.1",
|
|
38
39
|
"vue": "^3.4.21",
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.icon-rounded{font-variation-settings:"FILL" 0}.icon-filled{font-variation-settings:"FILL" 1}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-brand-app-builder",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
"./style": "./dist/style.css"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@feedmepos/mf-common": "1.
|
|
18
|
-
"@feedmepos/ui-library": "
|
|
17
|
+
"@feedmepos/mf-common": "1.7.2-rc.3",
|
|
18
|
+
"@feedmepos/ui-library": "1.2.14-rc.3",
|
|
19
19
|
"@formkit/core": "^1.6.5",
|
|
20
20
|
"@formkit/vue": "^1.6.5",
|
|
21
|
+
"axios": "^1.7.2",
|
|
21
22
|
"pinia": "^2.1.7",
|
|
22
23
|
"uuid": "^9.0.1",
|
|
23
24
|
"vue": "^3.4.21",
|