@feedmepos/mf-brand-app-builder 0.3.1-beta.3 → 0.4.0-beta.2
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 +3237 -3022
- package/dist/components/src/components/BranchList.vue.d.ts +4 -13
- package/dist/components/src/components/ButtonList.vue.d.ts +4 -13
- package/dist/components/src/components/CountrySwitcher.vue.d.ts +14 -0
- package/dist/components/src/components/Homepage.vue.d.ts +2 -11
- package/dist/components/src/components/ImageCarousel.vue.d.ts +4 -13
- package/dist/components/src/components/ImageDisplay.vue.d.ts +4 -13
- package/dist/components/src/components/MemberCard.vue.d.ts +8 -14
- package/dist/components/src/components/OrderHistoryCard.vue.d.ts +5 -14
- package/dist/components/src/components/OrderMethod.vue.d.ts +7 -16
- package/dist/components/src/components/TextDisplay.vue.d.ts +1 -10
- package/dist/components/src/components/atoms/Button.vue.d.ts +2 -31
- package/dist/components/src/components/atoms/CircularProgress.vue.d.ts +2 -27
- package/dist/components/src/components/atoms/Container.vue.d.ts +1 -10
- package/dist/components/src/components/atoms/Divider.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/Icon.vue.d.ts +2 -23
- package/dist/components/src/components/atoms/LinkSlot.vue.d.ts +4 -13
- package/dist/components/src/components/atoms/OrderTypeChip.vue.d.ts +1 -10
- package/dist/components/src/main.d.ts +2 -1
- package/dist/components/src/views/OrderDetails.vue.d.ts +4 -13
- package/dist/merchant/src/App.vue.d.ts +1 -1
- package/dist/merchant/src/Entry.vue.d.ts +1 -1
- package/dist/merchant/src/api/business/index.d.ts +7 -0
- package/dist/merchant/src/components/atoms/BaButtonGroup.vue.d.ts +4 -13
- package/dist/merchant/src/components/atoms/BaDivider.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/Editor.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/EditorFloatingToobar.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/EditorToolbar.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/PreviewQrCode.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/TemplatePicker.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/TemplatePublishMenu.vue.d.ts +1 -1
- package/dist/merchant/src/components/element-sidebar/ElementSidebar.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/ButtonGroup.vue.d.ts +1 -10
- package/dist/merchant/src/components/inputs/ColorPicker.vue.d.ts +1 -10
- package/dist/merchant/src/components/inputs/ImageUpload.vue.d.ts +1 -10
- package/dist/merchant/src/components/inputs/LinkButton.vue.d.ts +1 -10
- package/dist/merchant/src/components/inputs/ListRepeater.vue.d.ts +1 -10
- package/dist/merchant/src/components/inputs/Select.vue.d.ts +1 -10
- package/dist/merchant/src/components/inputs/StepperField.vue.d.ts +1 -10
- package/dist/merchant/src/components/inputs/Switch.vue.d.ts +1 -10
- package/dist/merchant/src/components/inputs/TextAlign.vue.d.ts +1 -10
- package/dist/merchant/src/components/inputs/TextDecorators.vue.d.ts +1 -10
- package/dist/merchant/src/components/inputs/TextField.vue.d.ts +1 -10
- package/dist/merchant/src/components/inputs/TextStyleList.vue.d.ts +1 -10
- package/dist/merchant/src/components/inspector/Inspector.vue.d.ts +1 -1
- package/dist/merchant/src/components/inspector/atoms/ConfigSection.vue.d.ts +1 -10
- package/dist/merchant/src/components/inspector/atoms/ConfigTab.vue.d.ts +1 -10
- package/dist/merchant/src/components/inspector/atoms/ConfigTabItem.vue.d.ts +1 -10
- package/dist/merchant/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +3 -12
- package/dist/merchant/src/node-configs/country-switcher/props.d.ts +22 -0
- package/dist/merchant/src/node-configs/country-switcher/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/props.d.ts +2 -1
- package/dist/merchant/src/node-configs/schema.d.ts +2 -1
- package/dist/merchant/src/stores/business/index.d.ts +40 -0
- package/dist/merchant/src/stores/editor/index.d.ts +76 -0
- package/dist/merchant/src/stores/template/index.d.ts +42 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -2,14 +2,5 @@ import type { FormKitFrameworkContext } from '@formkit/core';
|
|
|
2
2
|
interface IImageUpload {
|
|
3
3
|
context: FormKitFrameworkContext;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
+
declare const _default: import("vue").DefineComponent<IImageUpload, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IImageUpload & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
6
6
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToOption<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -2,14 +2,5 @@ import type { FormKitFrameworkContext } from '@formkit/core';
|
|
|
2
2
|
interface ITextFieldProps {
|
|
3
3
|
context: FormKitFrameworkContext;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
+
declare const _default: import("vue").DefineComponent<ITextFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ITextFieldProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
6
6
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToOption<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -2,14 +2,5 @@ import { type FormKitFrameworkContext } from '@formkit/core';
|
|
|
2
2
|
interface IListRepeaterProps {
|
|
3
3
|
context: FormKitFrameworkContext;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
+
declare const _default: import("vue").DefineComponent<IListRepeaterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IListRepeaterProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
6
6
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToOption<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -2,14 +2,5 @@ import type { FormKitFrameworkContext } from '@formkit/core';
|
|
|
2
2
|
interface ISelectProps {
|
|
3
3
|
context: FormKitFrameworkContext;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
+
declare const _default: import("vue").DefineComponent<ISelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ISelectProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
6
6
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToOption<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -2,14 +2,5 @@ import type { FormKitFrameworkContext } from '@formkit/core';
|
|
|
2
2
|
interface IStepperFieldProps {
|
|
3
3
|
context: FormKitFrameworkContext;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
+
declare const _default: import("vue").DefineComponent<IStepperFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IStepperFieldProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
6
6
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToOption<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -2,14 +2,5 @@ import type { FormKitFrameworkContext } from '@formkit/core';
|
|
|
2
2
|
interface ISwitchProps {
|
|
3
3
|
context: FormKitFrameworkContext;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
+
declare const _default: import("vue").DefineComponent<ISwitchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ISwitchProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
6
6
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToOption<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -8,14 +8,5 @@ interface IButtonGroupItem {
|
|
|
8
8
|
interface IButtonGroup {
|
|
9
9
|
context: FormKitFrameworkContext & IButtonGroupItem;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: import("vue").DefineComponent<
|
|
11
|
+
declare const _default: import("vue").DefineComponent<IButtonGroup, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IButtonGroup & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
12
12
|
export default _default;
|
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type __VLS_TypePropsToOption<T> = {
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: import('vue').PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -6,14 +6,5 @@ type DecoratorContext = {
|
|
|
6
6
|
interface IButtonGroup {
|
|
7
7
|
context: FormKitFrameworkContext<DecoratorContext>;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: import("vue").DefineComponent<
|
|
9
|
+
declare const _default: import("vue").DefineComponent<IButtonGroup, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IButtonGroup & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
10
10
|
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToOption<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -2,14 +2,5 @@ import type { FormKitFrameworkContext } from '@formkit/core';
|
|
|
2
2
|
interface ITextFieldProps {
|
|
3
3
|
context: FormKitFrameworkContext;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
+
declare const _default: import("vue").DefineComponent<ITextFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ITextFieldProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
6
6
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToOption<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -2,14 +2,5 @@ import type { FormKitFrameworkContext } from '@formkit/core';
|
|
|
2
2
|
interface ITextStyleListProps {
|
|
3
3
|
context: FormKitFrameworkContext;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
+
declare const _default: import("vue").DefineComponent<ITextStyleListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ITextStyleListProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
6
6
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToOption<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
interface IConfigSectionProps {
|
|
2
2
|
label?: string;
|
|
3
3
|
}
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<IConfigSectionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IConfigSectionProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>, {
|
|
5
5
|
default?(_: {}): any;
|
|
6
6
|
}>;
|
|
7
7
|
export default _default;
|
|
@@ -10,12 +10,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
10
10
|
$slots: S;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type __VLS_TypePropsToOption<T> = {
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: import('vue').PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -7,7 +7,7 @@ export interface IConfigTabProvider {
|
|
|
7
7
|
register: (componentProp: IConfigTabItemProps) => void;
|
|
8
8
|
currentTab: ComputedRef<string>;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<IConfigTabProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IConfigTabProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>, {
|
|
11
11
|
default?(_: {}): any;
|
|
12
12
|
}>;
|
|
13
13
|
export default _default;
|
|
@@ -16,12 +16,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
16
16
|
$slots: S;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type __VLS_TypePropsToOption<T> = {
|
|
21
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
-
} : {
|
|
24
|
-
type: import('vue').PropType<T[K]>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
@@ -2,7 +2,7 @@ export interface IConfigTabItemProps {
|
|
|
2
2
|
title: string;
|
|
3
3
|
value: string;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<IConfigTabItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IConfigTabItemProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>, {
|
|
6
6
|
default?(_: {}): any;
|
|
7
7
|
}>;
|
|
8
8
|
export default _default;
|
|
@@ -11,12 +11,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
11
11
|
$slots: S;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToOption<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
title: string;
|
|
3
|
-
}
|
|
3
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
4
4
|
title: string;
|
|
5
|
-
}
|
|
5
|
+
} & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
6
6
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToOption<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const CountrySwitcher: {
|
|
2
|
+
textColor: string;
|
|
3
|
+
data: {
|
|
4
|
+
selectedCountry: string;
|
|
5
|
+
};
|
|
6
|
+
containerStyles: {
|
|
7
|
+
paddingTop: string;
|
|
8
|
+
paddingBottom: string;
|
|
9
|
+
paddingLeft: string;
|
|
10
|
+
paddingRight: string;
|
|
11
|
+
marginTop: string;
|
|
12
|
+
marginBottom: string;
|
|
13
|
+
marginLeft: string;
|
|
14
|
+
marginRight: string;
|
|
15
|
+
backgroundColor: string;
|
|
16
|
+
borderRadius: string;
|
|
17
|
+
borderWidth: string;
|
|
18
|
+
borderColor: string;
|
|
19
|
+
height: string;
|
|
20
|
+
boxShadow: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -8,4 +8,5 @@ import { MemberCard } from './member-card/props';
|
|
|
8
8
|
import { OrderMethod } from './order-method/props';
|
|
9
9
|
import { BranchList } from './branch-list/props';
|
|
10
10
|
import { OrderHistoryCard } from './order-history-card/props';
|
|
11
|
-
|
|
11
|
+
import { CountrySwitcher } from './country-switcher/props';
|
|
12
|
+
export { Homepage, TextDisplay, ButtonList, Container, ImageDisplay, ImageCarousel, MemberCard, OrderMethod, BranchList, OrderHistoryCard, CountrySwitcher };
|
|
@@ -8,4 +8,5 @@ import { MemberCard } from './member-card/schema';
|
|
|
8
8
|
import { OrderMethod } from './order-method/schema';
|
|
9
9
|
import { BranchList } from './branch-list/schema';
|
|
10
10
|
import { OrderHistoryCard } from './order-history-card/schema';
|
|
11
|
-
|
|
11
|
+
import { CountrySwitcher } from './country-switcher/schema';
|
|
12
|
+
export { Homepage, TextDisplay, ButtonList, Container, ImageDisplay, ImageCarousel, MemberCard, OrderMethod, BranchList, OrderHistoryCard, CountrySwitcher };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const useBusinessStore: import("pinia").StoreDefinition<"business", import("pinia")._UnwrapAll<Pick<{
|
|
2
|
+
state: import("vue").Ref<{
|
|
3
|
+
multiCountrySlug: {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
} | null;
|
|
6
|
+
}, IState | {
|
|
7
|
+
multiCountrySlug: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
} | null;
|
|
10
|
+
}>;
|
|
11
|
+
getGlobalSlug: (slug: string) => Promise<void>;
|
|
12
|
+
}, "state">>, Pick<{
|
|
13
|
+
state: import("vue").Ref<{
|
|
14
|
+
multiCountrySlug: {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
} | null;
|
|
17
|
+
}, IState | {
|
|
18
|
+
multiCountrySlug: {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
} | null;
|
|
21
|
+
}>;
|
|
22
|
+
getGlobalSlug: (slug: string) => Promise<void>;
|
|
23
|
+
}, never>, Pick<{
|
|
24
|
+
state: import("vue").Ref<{
|
|
25
|
+
multiCountrySlug: {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
} | null;
|
|
28
|
+
}, IState | {
|
|
29
|
+
multiCountrySlug: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
} | null;
|
|
32
|
+
}>;
|
|
33
|
+
getGlobalSlug: (slug: string) => Promise<void>;
|
|
34
|
+
}, "getGlobalSlug">>;
|
|
35
|
+
interface IState {
|
|
36
|
+
multiCountrySlug: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
} | null;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
@@ -23,6 +23,29 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"editor", i
|
|
|
23
23
|
children: any[];
|
|
24
24
|
} | null;
|
|
25
25
|
firstFetchedData: string | null;
|
|
26
|
+
}, IEditorState | {
|
|
27
|
+
node: {
|
|
28
|
+
_id: string;
|
|
29
|
+
type: string;
|
|
30
|
+
props: any;
|
|
31
|
+
data: any;
|
|
32
|
+
children: any[];
|
|
33
|
+
}[];
|
|
34
|
+
selectedNode: {
|
|
35
|
+
_id: string;
|
|
36
|
+
type: string;
|
|
37
|
+
props: any;
|
|
38
|
+
data: any;
|
|
39
|
+
children: any[];
|
|
40
|
+
} | null;
|
|
41
|
+
copied: {
|
|
42
|
+
_id: string;
|
|
43
|
+
type: string;
|
|
44
|
+
props: any;
|
|
45
|
+
data: any;
|
|
46
|
+
children: any[];
|
|
47
|
+
} | null;
|
|
48
|
+
firstFetchedData: string | null;
|
|
26
49
|
}>;
|
|
27
50
|
setNodeList: (newNode: INodeComponent[]) => void;
|
|
28
51
|
setRootNode: (newNode: INodeComponent) => void;
|
|
@@ -56,6 +79,29 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"editor", i
|
|
|
56
79
|
children: any[];
|
|
57
80
|
} | null;
|
|
58
81
|
firstFetchedData: string | null;
|
|
82
|
+
}, IEditorState | {
|
|
83
|
+
node: {
|
|
84
|
+
_id: string;
|
|
85
|
+
type: string;
|
|
86
|
+
props: any;
|
|
87
|
+
data: any;
|
|
88
|
+
children: any[];
|
|
89
|
+
}[];
|
|
90
|
+
selectedNode: {
|
|
91
|
+
_id: string;
|
|
92
|
+
type: string;
|
|
93
|
+
props: any;
|
|
94
|
+
data: any;
|
|
95
|
+
children: any[];
|
|
96
|
+
} | null;
|
|
97
|
+
copied: {
|
|
98
|
+
_id: string;
|
|
99
|
+
type: string;
|
|
100
|
+
props: any;
|
|
101
|
+
data: any;
|
|
102
|
+
children: any[];
|
|
103
|
+
} | null;
|
|
104
|
+
firstFetchedData: string | null;
|
|
59
105
|
}>;
|
|
60
106
|
setNodeList: (newNode: INodeComponent[]) => void;
|
|
61
107
|
setRootNode: (newNode: INodeComponent) => void;
|
|
@@ -89,6 +135,29 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"editor", i
|
|
|
89
135
|
children: any[];
|
|
90
136
|
} | null;
|
|
91
137
|
firstFetchedData: string | null;
|
|
138
|
+
}, IEditorState | {
|
|
139
|
+
node: {
|
|
140
|
+
_id: string;
|
|
141
|
+
type: string;
|
|
142
|
+
props: any;
|
|
143
|
+
data: any;
|
|
144
|
+
children: any[];
|
|
145
|
+
}[];
|
|
146
|
+
selectedNode: {
|
|
147
|
+
_id: string;
|
|
148
|
+
type: string;
|
|
149
|
+
props: any;
|
|
150
|
+
data: any;
|
|
151
|
+
children: any[];
|
|
152
|
+
} | null;
|
|
153
|
+
copied: {
|
|
154
|
+
_id: string;
|
|
155
|
+
type: string;
|
|
156
|
+
props: any;
|
|
157
|
+
data: any;
|
|
158
|
+
children: any[];
|
|
159
|
+
} | null;
|
|
160
|
+
firstFetchedData: string | null;
|
|
92
161
|
}>;
|
|
93
162
|
setNodeList: (newNode: INodeComponent[]) => void;
|
|
94
163
|
setRootNode: (newNode: INodeComponent) => void;
|
|
@@ -99,3 +168,10 @@ export declare const useEditorStore: import("pinia").StoreDefinition<"editor", i
|
|
|
99
168
|
setCopiedNode: (node: INodeComponent) => void;
|
|
100
169
|
isSaved: () => boolean;
|
|
101
170
|
}, "setNodeList" | "setRootNode" | "setFromTemplate" | "setCurrentNode" | "updateNode" | "removeNode" | "setCopiedNode" | "isSaved">>;
|
|
171
|
+
interface IEditorState {
|
|
172
|
+
node: INodeComponent[];
|
|
173
|
+
selectedNode: INodeComponent | null;
|
|
174
|
+
copied: INodeComponent | null;
|
|
175
|
+
firstFetchedData: string | null;
|
|
176
|
+
}
|
|
177
|
+
export {};
|
|
@@ -12,6 +12,18 @@ export declare const useTemplateStore: import("pinia").StoreDefinition<"template
|
|
|
12
12
|
created?: string | undefined;
|
|
13
13
|
} | null;
|
|
14
14
|
activeTemplateId: string;
|
|
15
|
+
}, ITemplateStore | {
|
|
16
|
+
allTemplates: {
|
|
17
|
+
templateAlias: string;
|
|
18
|
+
templateId: string;
|
|
19
|
+
created?: string | undefined;
|
|
20
|
+
}[];
|
|
21
|
+
selectedTemplate: {
|
|
22
|
+
templateAlias: string;
|
|
23
|
+
templateId: string;
|
|
24
|
+
created?: string | undefined;
|
|
25
|
+
} | null;
|
|
26
|
+
activeTemplateId: string;
|
|
15
27
|
}>;
|
|
16
28
|
getAllTemplates: (businessId: string) => Promise<void>;
|
|
17
29
|
publishTemplate: (businessId: string, schema: INodeComponent[]) => Promise<void>;
|
|
@@ -35,6 +47,18 @@ export declare const useTemplateStore: import("pinia").StoreDefinition<"template
|
|
|
35
47
|
created?: string | undefined;
|
|
36
48
|
} | null;
|
|
37
49
|
activeTemplateId: string;
|
|
50
|
+
}, ITemplateStore | {
|
|
51
|
+
allTemplates: {
|
|
52
|
+
templateAlias: string;
|
|
53
|
+
templateId: string;
|
|
54
|
+
created?: string | undefined;
|
|
55
|
+
}[];
|
|
56
|
+
selectedTemplate: {
|
|
57
|
+
templateAlias: string;
|
|
58
|
+
templateId: string;
|
|
59
|
+
created?: string | undefined;
|
|
60
|
+
} | null;
|
|
61
|
+
activeTemplateId: string;
|
|
38
62
|
}>;
|
|
39
63
|
getAllTemplates: (businessId: string) => Promise<void>;
|
|
40
64
|
publishTemplate: (businessId: string, schema: INodeComponent[]) => Promise<void>;
|
|
@@ -58,6 +82,18 @@ export declare const useTemplateStore: import("pinia").StoreDefinition<"template
|
|
|
58
82
|
created?: string | undefined;
|
|
59
83
|
} | null;
|
|
60
84
|
activeTemplateId: string;
|
|
85
|
+
}, ITemplateStore | {
|
|
86
|
+
allTemplates: {
|
|
87
|
+
templateAlias: string;
|
|
88
|
+
templateId: string;
|
|
89
|
+
created?: string | undefined;
|
|
90
|
+
}[];
|
|
91
|
+
selectedTemplate: {
|
|
92
|
+
templateAlias: string;
|
|
93
|
+
templateId: string;
|
|
94
|
+
created?: string | undefined;
|
|
95
|
+
} | null;
|
|
96
|
+
activeTemplateId: string;
|
|
61
97
|
}>;
|
|
62
98
|
getAllTemplates: (businessId: string) => Promise<void>;
|
|
63
99
|
publishTemplate: (businessId: string, schema: INodeComponent[]) => Promise<void>;
|
|
@@ -69,8 +105,14 @@ export declare const useTemplateStore: import("pinia").StoreDefinition<"template
|
|
|
69
105
|
renameTemplate: (businessId: string, templateId: string, alias: string) => Promise<void>;
|
|
70
106
|
deleteTemplate: (businessId: string, templateId: string) => Promise<void>;
|
|
71
107
|
}, "getAllTemplates" | "publishTemplate" | "getActiveTemplateId" | "setSelectedTemplate" | "saveTemplate" | "setActiveTemplate" | "addNewTemplate" | "renameTemplate" | "deleteTemplate">>;
|
|
108
|
+
interface ITemplateStore {
|
|
109
|
+
allTemplates: ITemplateDetails[];
|
|
110
|
+
selectedTemplate: ITemplateDetails | null;
|
|
111
|
+
activeTemplateId: string;
|
|
112
|
+
}
|
|
72
113
|
export interface ITemplateDetails {
|
|
73
114
|
templateAlias: string;
|
|
74
115
|
templateId: string;
|
|
75
116
|
created?: string;
|
|
76
117
|
}
|
|
118
|
+
export {};
|
package/dist/package.json
CHANGED