@feedmepos/mf-brand-app-builder 0.3.0-beta.2 → 0.3.1-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 +3101 -3002
- package/dist/components/src/components/ButtonList.vue.d.ts +7 -2
- package/dist/components/src/components/ImageCarousel.vue.d.ts +7 -2
- package/dist/components/src/components/ImageDisplay.vue.d.ts +7 -2
- package/dist/components/src/components/atoms/LinkSlot.vue.d.ts +29 -0
- package/dist/components/src/main.d.ts +2 -1
- package/dist/merchant/src/node-configs/button-list/props.d.ts +4 -1
- package/dist/merchant/src/node-configs/carousel/props.d.ts +4 -1
- package/dist/merchant/src/node-configs/display-image/props.d.ts +4 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { type IContainerProps } from './atoms/Container.vue';
|
|
2
|
+
import { type ILink } from './atoms/LinkSlot.vue';
|
|
2
3
|
interface IListItem {
|
|
3
4
|
label: string;
|
|
4
5
|
imageUrl: string;
|
|
5
|
-
linkTo:
|
|
6
|
+
linkTo: ILink;
|
|
6
7
|
}
|
|
7
8
|
interface IButtonListProps {
|
|
8
9
|
containerStyles: IContainerProps;
|
|
9
10
|
items: IListItem[];
|
|
10
11
|
itemsPerRow: number;
|
|
11
12
|
}
|
|
12
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<IButtonListProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<IButtonListProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
linkClick: (linkTo: ILink) => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IButtonListProps>>> & {
|
|
16
|
+
onLinkClick?: ((linkTo: ILink) => any) | undefined;
|
|
17
|
+
}, {}, {}>;
|
|
13
18
|
export default _default;
|
|
14
19
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
20
|
type __VLS_TypePropsToOption<T> = {
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { type IContainerProps } from './atoms/Container.vue';
|
|
2
|
+
import { type ILink } from './atoms/LinkSlot.vue';
|
|
2
3
|
interface IImageCarousel {
|
|
3
4
|
containerStyles: IContainerProps;
|
|
4
5
|
items: {
|
|
5
6
|
imageUrl: string;
|
|
6
|
-
linkTo:
|
|
7
|
+
linkTo: ILink;
|
|
7
8
|
}[];
|
|
8
9
|
enableIndicator: boolean;
|
|
9
10
|
autoRotation: boolean;
|
|
10
11
|
rotationInterval: string;
|
|
11
12
|
}
|
|
12
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<IImageCarousel>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<IImageCarousel>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
linkClick: (linkTo: ILink) => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IImageCarousel>>> & {
|
|
16
|
+
onLinkClick?: ((linkTo: ILink) => any) | undefined;
|
|
17
|
+
}, {}, {}>;
|
|
13
18
|
export default _default;
|
|
14
19
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
20
|
type __VLS_TypePropsToOption<T> = {
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { type IContainerProps } from './atoms/Container.vue';
|
|
2
|
+
import { type ILink } from './atoms/LinkSlot.vue';
|
|
2
3
|
interface IImageDisplayProps {
|
|
3
4
|
containerStyles: IContainerProps;
|
|
4
5
|
imageUrl: string;
|
|
5
|
-
linkTo:
|
|
6
|
+
linkTo: ILink;
|
|
6
7
|
}
|
|
7
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<IImageDisplayProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<IImageDisplayProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
linkClick: (linkTo: ILink) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IImageDisplayProps>>> & {
|
|
11
|
+
onLinkClick?: ((linkTo: ILink) => any) | undefined;
|
|
12
|
+
}, {}, {}>;
|
|
8
13
|
export default _default;
|
|
9
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
15
|
type __VLS_TypePropsToOption<T> = {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface ILink {
|
|
2
|
+
path: string;
|
|
3
|
+
isExternal: boolean;
|
|
4
|
+
}
|
|
5
|
+
interface ILinkSlotProps {
|
|
6
|
+
linkTo: ILink;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<ILinkSlotProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
linkClick: (linkTo: ILink) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ILinkSlotProps>>> & {
|
|
11
|
+
onLinkClick?: ((linkTo: ILink) => any) | undefined;
|
|
12
|
+
}, {}, {}>, {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
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
|
+
};
|
|
@@ -13,5 +13,6 @@ import Icon from './components/atoms/Icon.vue';
|
|
|
13
13
|
import Divider from './components/atoms/Divider.vue';
|
|
14
14
|
import Button from './components/atoms/Button.vue';
|
|
15
15
|
import OrderTypeChip from './components/atoms/OrderTypeChip.vue';
|
|
16
|
+
import LinkSlot from './components/atoms/LinkSlot.vue';
|
|
16
17
|
import OrderDetails from './views/OrderDetails.vue';
|
|
17
|
-
export { Homepage, TextDisplay, ButtonList, Container, Icon, ImageDisplay, ImageCarousel, MemberCard, CircularProgress, Divider, OrderMethod, Button, BranchList, OrderHistoryCard, OrderTypeChip, OrderDetails };
|
|
18
|
+
export { Homepage, TextDisplay, ButtonList, Container, Icon, ImageDisplay, ImageCarousel, MemberCard, CircularProgress, Divider, OrderMethod, Button, BranchList, OrderHistoryCard, OrderTypeChip, OrderDetails, LinkSlot };
|
package/dist/package.json
CHANGED