@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
|
@@ -7,18 +7,9 @@ interface IBranchListProps {
|
|
|
7
7
|
labelColor: string;
|
|
8
8
|
sublabelColor: string;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: import("vue").DefineComponent<
|
|
11
|
-
click: () =>
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
10
|
+
declare const _default: import("vue").DefineComponent<IBranchListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
click: () => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<IBranchListProps & {
|
|
13
13
|
onClick?: (() => any) | undefined;
|
|
14
|
-
}, {}, {}>;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
15
15
|
export default _default;
|
|
16
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
-
type __VLS_TypePropsToOption<T> = {
|
|
18
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
-
} : {
|
|
21
|
-
type: import('vue').PropType<T[K]>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -11,18 +11,9 @@ interface IButtonListProps {
|
|
|
11
11
|
itemsPerRow: number;
|
|
12
12
|
textColor: string;
|
|
13
13
|
}
|
|
14
|
-
declare const _default: import("vue").DefineComponent<
|
|
15
|
-
linkClick: (linkTo: ILink) =>
|
|
16
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
14
|
+
declare const _default: import("vue").DefineComponent<IButtonListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
linkClick: (linkTo: ILink) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<IButtonListProps & {
|
|
17
17
|
onLinkClick?: ((linkTo: ILink) => any) | undefined;
|
|
18
|
-
}, {}, {}>;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
19
19
|
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToOption<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type IContainerProps } from './atoms/Container.vue';
|
|
2
|
+
interface ITextDisplayProps {
|
|
3
|
+
containerStyles: IContainerProps;
|
|
4
|
+
textColor: string;
|
|
5
|
+
data: {
|
|
6
|
+
selectedCountry: 'MY' | 'SG' | 'ID';
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<ITextDisplayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
switchCountry: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<ITextDisplayProps & {
|
|
12
|
+
onSwitchCountry?: (() => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
14
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface
|
|
1
|
+
interface IHomepageProps {
|
|
2
2
|
data: any;
|
|
3
3
|
paddingTop?: string;
|
|
4
4
|
paddingBottom?: string;
|
|
@@ -6,7 +6,7 @@ interface IHompageProps {
|
|
|
6
6
|
paddingRight?: string;
|
|
7
7
|
backgroundColor?: string;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<IHomepageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IHomepageProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>, {
|
|
10
10
|
default?(_: {}): any;
|
|
11
11
|
}>;
|
|
12
12
|
export default _default;
|
|
@@ -15,12 +15,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
15
15
|
$slots: S;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToOption<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: import('vue').PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
@@ -12,18 +12,9 @@ interface IImageCarousel {
|
|
|
12
12
|
rotationInterval: string;
|
|
13
13
|
objectFit: CSSProperties['objectFit'];
|
|
14
14
|
}
|
|
15
|
-
declare const _default: import("vue").DefineComponent<
|
|
16
|
-
linkClick: (linkTo: ILink) =>
|
|
17
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
15
|
+
declare const _default: import("vue").DefineComponent<IImageCarousel, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
linkClick: (linkTo: ILink) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<IImageCarousel & {
|
|
18
18
|
onLinkClick?: ((linkTo: ILink) => any) | undefined;
|
|
19
|
-
}, {}, {}>;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
20
20
|
export default _default;
|
|
21
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type __VLS_TypePropsToOption<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -7,18 +7,9 @@ interface IImageDisplayProps {
|
|
|
7
7
|
linkTo: ILink;
|
|
8
8
|
objectFit: CSSProperties['objectFit'];
|
|
9
9
|
}
|
|
10
|
-
declare const _default: import("vue").DefineComponent<
|
|
11
|
-
linkClick: (linkTo: ILink) =>
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
10
|
+
declare const _default: import("vue").DefineComponent<IImageDisplayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
linkClick: (linkTo: ILink) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<IImageDisplayProps & {
|
|
13
13
|
onLinkClick?: ((linkTo: ILink) => any) | undefined;
|
|
14
|
-
}, {}, {}>;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
15
15
|
export default _default;
|
|
16
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
-
type __VLS_TypePropsToOption<T> = {
|
|
18
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
-
} : {
|
|
21
|
-
type: import('vue').PropType<T[K]>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type IContainerProps } from './atoms/Container.vue';
|
|
2
|
+
import { type ILink } from './atoms/LinkSlot.vue';
|
|
2
3
|
interface IMembershipCardData {
|
|
3
4
|
memberImage: string;
|
|
4
5
|
memberName: string;
|
|
@@ -20,20 +21,13 @@ interface IMembershipCardProps {
|
|
|
20
21
|
signedIn?: boolean;
|
|
21
22
|
designStyle: number;
|
|
22
23
|
}
|
|
23
|
-
declare const _default: import("vue").DefineComponent<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
declare const _default: import("vue").DefineComponent<IMembershipCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
linkClick: (linkTo: ILink) => any;
|
|
26
|
+
signIn: () => any;
|
|
27
|
+
joinMember: () => any;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<IMembershipCardProps & {
|
|
29
|
+
onLinkClick?: ((linkTo: ILink) => any) | undefined;
|
|
27
30
|
onSignIn?: (() => any) | undefined;
|
|
28
31
|
onJoinMember?: (() => any) | undefined;
|
|
29
|
-
}, {}, {}>;
|
|
32
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
30
33
|
export default _default;
|
|
31
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
-
type __VLS_TypePropsToOption<T> = {
|
|
33
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
-
} : {
|
|
36
|
-
type: import('vue').PropType<T[K]>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -12,20 +12,11 @@ interface IOrderHistoryCardProps {
|
|
|
12
12
|
signedIn: boolean;
|
|
13
13
|
authLoading?: boolean;
|
|
14
14
|
}
|
|
15
|
-
declare const _default: import("vue").DefineComponent<
|
|
16
|
-
signIn: () =>
|
|
17
|
-
orderClicked: (orderId: string) =>
|
|
18
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
15
|
+
declare const _default: import("vue").DefineComponent<IOrderHistoryCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
signIn: () => any;
|
|
17
|
+
orderClicked: (orderId: string) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<IOrderHistoryCardProps & {
|
|
19
19
|
onSignIn?: (() => any) | undefined;
|
|
20
20
|
onOrderClicked?: ((orderId: string) => any) | undefined;
|
|
21
|
-
}, {}, {}>;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
22
22
|
export default _default;
|
|
23
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
-
type __VLS_TypePropsToOption<T> = {
|
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
-
} : {
|
|
28
|
-
type: import('vue').PropType<T[K]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -14,22 +14,13 @@ interface ITextDisplayProps {
|
|
|
14
14
|
iconColor: string;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
declare const _default: import("vue").DefineComponent<
|
|
18
|
-
qrOrder: () =>
|
|
19
|
-
delivery: () =>
|
|
20
|
-
pickup: () =>
|
|
21
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
22
|
-
onDelivery?: (() => any) | undefined;
|
|
17
|
+
declare const _default: import("vue").DefineComponent<ITextDisplayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
qrOrder: () => any;
|
|
19
|
+
delivery: () => any;
|
|
20
|
+
pickup: () => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<ITextDisplayProps & {
|
|
23
22
|
onQrOrder?: (() => any) | undefined;
|
|
23
|
+
onDelivery?: (() => any) | undefined;
|
|
24
24
|
onPickup?: (() => any) | undefined;
|
|
25
|
-
}, {}, {}>;
|
|
25
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
26
26
|
export default _default;
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToOption<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -17,14 +17,5 @@ interface ITextDisplayProps {
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
declare const _default: import("vue").DefineComponent<
|
|
20
|
+
declare const _default: import("vue").DefineComponent<ITextDisplayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ITextDisplayProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
21
21
|
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToOption<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
@@ -6,47 +6,18 @@ export interface IButtonProps {
|
|
|
6
6
|
textColor?: string;
|
|
7
7
|
iconColor?: string;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<IButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IButtonProps & {}>, {
|
|
10
10
|
type: string;
|
|
11
|
-
prependIcon: string;
|
|
12
|
-
appendIcon: string;
|
|
13
|
-
buttonColor: string;
|
|
14
11
|
textColor: string;
|
|
15
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<IButtonProps>, {
|
|
16
|
-
type: string;
|
|
17
12
|
prependIcon: string;
|
|
18
13
|
appendIcon: string;
|
|
19
14
|
buttonColor: string;
|
|
20
|
-
|
|
21
|
-
}>>>, {
|
|
22
|
-
type: string;
|
|
23
|
-
textColor: string;
|
|
24
|
-
prependIcon: string;
|
|
25
|
-
appendIcon: string;
|
|
26
|
-
buttonColor: string;
|
|
27
|
-
}, {}>, {
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>, {
|
|
28
16
|
default?(_: {}): any;
|
|
29
17
|
}>;
|
|
30
18
|
export default _default;
|
|
31
|
-
type __VLS_WithDefaults<P, D> = {
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
}> : P[K];
|
|
35
|
-
};
|
|
36
|
-
type __VLS_Prettify<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
|
39
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
20
|
new (): {
|
|
41
21
|
$slots: S;
|
|
42
22
|
};
|
|
43
23
|
};
|
|
44
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
-
type __VLS_TypePropsToOption<T> = {
|
|
46
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
-
} : {
|
|
49
|
-
type: import('vue').PropType<T[K]>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
@@ -3,34 +3,9 @@ export interface FmCircularProgressProps {
|
|
|
3
3
|
size?: 'md' | 'lg' | 'xl' | 'xxl';
|
|
4
4
|
color?: string;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: import("vue").DefineComponent<
|
|
7
|
-
indeterminate: undefined;
|
|
8
|
-
size: string;
|
|
9
|
-
color: string;
|
|
10
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<FmCircularProgressProps>, {
|
|
11
|
-
indeterminate: undefined;
|
|
12
|
-
size: string;
|
|
13
|
-
color: string;
|
|
14
|
-
}>>>, {
|
|
6
|
+
declare const _default: import("vue").DefineComponent<FmCircularProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FmCircularProgressProps & {}>, {
|
|
15
7
|
size: "md" | "lg" | "xl" | "xxl";
|
|
16
8
|
color: string;
|
|
17
9
|
indeterminate: boolean;
|
|
18
|
-
}, {}>;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
19
11
|
export default _default;
|
|
20
|
-
type __VLS_WithDefaults<P, D> = {
|
|
21
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
22
|
-
default: D[K];
|
|
23
|
-
}> : P[K];
|
|
24
|
-
};
|
|
25
|
-
type __VLS_Prettify<T> = {
|
|
26
|
-
[K in keyof T]: T[K];
|
|
27
|
-
} & {};
|
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
-
type __VLS_TypePropsToOption<T> = {
|
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
-
} : {
|
|
33
|
-
type: import('vue').PropType<T[K]>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
@@ -14,7 +14,7 @@ export interface IContainerProps {
|
|
|
14
14
|
height: string;
|
|
15
15
|
boxShadow: string;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Partial<IContainerProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Partial<IContainerProps> & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>, {
|
|
18
18
|
default?(_: {}): any;
|
|
19
19
|
}>;
|
|
20
20
|
export default _default;
|
|
@@ -23,12 +23,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
23
23
|
$slots: S;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
-
type __VLS_TypePropsToOption<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
-
} : {
|
|
31
|
-
type: import('vue').PropType<T[K]>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
@@ -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;
|
|
@@ -2,28 +2,7 @@ interface IIconProps {
|
|
|
2
2
|
name: string;
|
|
3
3
|
filled?: boolean;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
+
declare const _default: import("vue").DefineComponent<IIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IIconProps & {}>, {
|
|
6
6
|
filled: boolean;
|
|
7
|
-
}
|
|
8
|
-
filled: boolean;
|
|
9
|
-
}>>>, {
|
|
10
|
-
filled: boolean;
|
|
11
|
-
}, {}>;
|
|
7
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
12
8
|
export default _default;
|
|
13
|
-
type __VLS_WithDefaults<P, D> = {
|
|
14
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
15
|
-
default: D[K];
|
|
16
|
-
}> : P[K];
|
|
17
|
-
};
|
|
18
|
-
type __VLS_Prettify<T> = {
|
|
19
|
-
[K in keyof T]: T[K];
|
|
20
|
-
} & {};
|
|
21
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type __VLS_TypePropsToOption<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -5,11 +5,11 @@ export interface ILink {
|
|
|
5
5
|
interface ILinkSlotProps {
|
|
6
6
|
linkTo: ILink;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
9
|
-
linkClick: (linkTo: ILink) =>
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<ILinkSlotProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
linkClick: (linkTo: ILink) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<ILinkSlotProps & {
|
|
11
11
|
onLinkClick?: ((linkTo: ILink) => any) | undefined;
|
|
12
|
-
}, {}, {}>, {
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>, {
|
|
13
13
|
default?(_: {}): any;
|
|
14
14
|
}>;
|
|
15
15
|
export default _default;
|
|
@@ -18,12 +18,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
18
18
|
$slots: S;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type __VLS_TypePropsToOption<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
interface IOrderTypeChipProps {
|
|
2
2
|
orderType: 'DINE_IN' | 'PICKUP' | 'DELIVERY' | string;
|
|
3
3
|
}
|
|
4
|
-
declare const _default: import("vue").DefineComponent<
|
|
4
|
+
declare const _default: import("vue").DefineComponent<IOrderTypeChipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IOrderTypeChipProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
5
5
|
export default _default;
|
|
6
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
7
|
-
type __VLS_TypePropsToOption<T> = {
|
|
8
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
10
|
-
} : {
|
|
11
|
-
type: import('vue').PropType<T[K]>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -7,6 +7,7 @@ import MemberCard from './components/MemberCard.vue';
|
|
|
7
7
|
import OrderMethod from './components/OrderMethod.vue';
|
|
8
8
|
import BranchList from './components/BranchList.vue';
|
|
9
9
|
import OrderHistoryCard from './components/OrderHistoryCard.vue';
|
|
10
|
+
import CountrySwitcher from './components/CountrySwitcher.vue';
|
|
10
11
|
import Container from './components/atoms/Container.vue';
|
|
11
12
|
import CircularProgress from './components/atoms/CircularProgress.vue';
|
|
12
13
|
import Icon from './components/atoms/Icon.vue';
|
|
@@ -15,4 +16,4 @@ import Button from './components/atoms/Button.vue';
|
|
|
15
16
|
import OrderTypeChip from './components/atoms/OrderTypeChip.vue';
|
|
16
17
|
import LinkSlot from './components/atoms/LinkSlot.vue';
|
|
17
18
|
import OrderDetails from './views/OrderDetails.vue';
|
|
18
|
-
export { Homepage, TextDisplay, ButtonList, Container, Icon, ImageDisplay, ImageCarousel, MemberCard, CircularProgress, Divider, OrderMethod, Button, BranchList, OrderHistoryCard, OrderTypeChip, OrderDetails, LinkSlot };
|
|
19
|
+
export { Homepage, TextDisplay, ButtonList, Container, Icon, ImageDisplay, ImageCarousel, MemberCard, CircularProgress, Divider, OrderMethod, Button, BranchList, OrderHistoryCard, OrderTypeChip, OrderDetails, LinkSlot, CountrySwitcher };
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
interface IOrderDetailsProps {
|
|
2
2
|
iframeUrl: string;
|
|
3
3
|
}
|
|
4
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
-
back: () =>
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
4
|
+
declare const _default: import("vue").DefineComponent<IOrderDetailsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
back: () => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<IOrderDetailsProps & {
|
|
7
7
|
onBack?: (() => any) | undefined;
|
|
8
|
-
}, {}, {}>;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
9
9
|
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToOption<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -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,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;
|
|
@@ -5,18 +5,9 @@ interface IButtonGroup {
|
|
|
5
5
|
value: string;
|
|
6
6
|
}[];
|
|
7
7
|
}
|
|
8
|
-
declare const _default: import("vue").DefineComponent<
|
|
9
|
-
"update:modelValue": (val: string) =>
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
8
|
+
declare const _default: import("vue").DefineComponent<IButtonGroup, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (val: string) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<IButtonGroup & {
|
|
11
11
|
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
13
13
|
export default _default;
|
|
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,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,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,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,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,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,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,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,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;
|
|
@@ -6,14 +6,5 @@ type ButtonGroupItem = {
|
|
|
6
6
|
interface IButtonGroupProps {
|
|
7
7
|
context: FormKitFrameworkContext<ButtonGroupItem[]>;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: import("vue").DefineComponent<
|
|
9
|
+
declare const _default: import("vue").DefineComponent<IButtonGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IButtonGroupProps & {}>, {}, {}, {}, {}, 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 IColorPickerProps {
|
|
3
3
|
context: FormKitFrameworkContext;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
+
declare const _default: import("vue").DefineComponent<IColorPickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IColorPickerProps & {}>, {}, {}, {}, {}, 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
|
-
};
|