@feedmepos/mf-brand-app-builder 0.2.0-beta.5 → 0.3.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.
Files changed (42) hide show
  1. package/dist/app.js +6477 -4347
  2. package/dist/components/src/components/BranchList.vue.d.ts +24 -0
  3. package/dist/components/src/components/ButtonList.vue.d.ts +2 -1
  4. package/dist/components/src/components/ImageCarousel.vue.d.ts +2 -1
  5. package/dist/components/src/components/ImageDisplay.vue.d.ts +2 -1
  6. package/dist/components/src/components/MemberCard.vue.d.ts +8 -1
  7. package/dist/components/src/components/OrderHistoryCard.vue.d.ts +31 -0
  8. package/dist/components/src/components/OrderMethod.vue.d.ts +35 -0
  9. package/dist/components/src/components/TextDisplay.vue.d.ts +2 -1
  10. package/dist/components/src/components/atoms/Button.vue.d.ts +52 -0
  11. package/dist/components/src/components/atoms/Container.vue.d.ts +1 -0
  12. package/dist/components/src/components/atoms/OrderTypeChip.vue.d.ts +14 -0
  13. package/dist/components/src/main.d.ts +9 -3
  14. package/dist/components/src/views/OrderDetails.vue.d.ts +18 -0
  15. package/dist/merchant/src/api/index.d.ts +1 -0
  16. package/dist/merchant/src/api/template/index.d.ts +14 -7
  17. package/dist/merchant/src/components/editor/EditorToolbar.vue.d.ts +2 -0
  18. package/dist/merchant/src/components/editor/TemplatePicker.vue.d.ts +2 -0
  19. package/dist/merchant/src/components/editor/TemplatePublishMenu.vue.d.ts +2 -0
  20. package/dist/merchant/src/node-configs/branch-list/props.d.ts +23 -0
  21. package/dist/merchant/src/node-configs/branch-list/schema.d.ts +2 -0
  22. package/dist/merchant/src/node-configs/button-list/props.d.ts +16 -13
  23. package/dist/merchant/src/node-configs/carousel/props.d.ts +16 -13
  24. package/dist/merchant/src/node-configs/container/props.d.ts +33 -26
  25. package/dist/merchant/src/node-configs/display-image/props.d.ts +16 -13
  26. package/dist/merchant/src/node-configs/display-text/props.d.ts +16 -13
  27. package/dist/merchant/src/node-configs/member-card/mock-data.d.ts +2 -0
  28. package/dist/merchant/src/node-configs/member-card/props.d.ts +20 -13
  29. package/dist/merchant/src/node-configs/mock-data.d.ts +2 -1
  30. package/dist/merchant/src/node-configs/order-history-card/mock-data.d.ts +6 -0
  31. package/dist/merchant/src/node-configs/order-history-card/props.d.ts +25 -0
  32. package/dist/merchant/src/node-configs/order-history-card/schema.d.ts +2 -0
  33. package/dist/merchant/src/node-configs/order-method/props.d.ts +30 -0
  34. package/dist/merchant/src/node-configs/order-method/schema.d.ts +2 -0
  35. package/dist/merchant/src/node-configs/props.d.ts +4 -1
  36. package/dist/merchant/src/node-configs/schema.d.ts +4 -1
  37. package/dist/merchant/src/stores/editor/index.d.ts +88 -6
  38. package/dist/merchant/src/stores/template/index.d.ts +102 -19
  39. package/dist/package.json +2 -1
  40. package/dist/style.css +1 -1
  41. package/package.json +2 -1
  42. /package/dist/merchant/src/components/editor/{EditorToobar.vue.d.ts → EditorFloatingToobar.vue.d.ts} +0 -0
@@ -0,0 +1,24 @@
1
+ import { type IContainerProps } from './atoms/Container.vue';
2
+ interface IBranchListProps {
3
+ containerStyles: IContainerProps;
4
+ label: string;
5
+ sublabel: string;
6
+ iconColor: string;
7
+ labelColor: string;
8
+ sublabelColor: string;
9
+ }
10
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<IBranchListProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ click: () => void;
12
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IBranchListProps>>> & {
13
+ onClick?: (() => any) | undefined;
14
+ }, {}, {}>;
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
+ };
@@ -4,7 +4,8 @@ interface IListItem {
4
4
  imageUrl: string;
5
5
  linkTo: string;
6
6
  }
7
- interface IButtonListProps extends IContainerProps {
7
+ interface IButtonListProps {
8
+ containerStyles: IContainerProps;
8
9
  items: IListItem[];
9
10
  itemsPerRow: number;
10
11
  }
@@ -1,5 +1,6 @@
1
1
  import { type IContainerProps } from './atoms/Container.vue';
2
- interface IImageCarousel extends Partial<IContainerProps> {
2
+ interface IImageCarousel {
3
+ containerStyles: IContainerProps;
3
4
  items: {
4
5
  imageUrl: string;
5
6
  linkTo: string;
@@ -1,5 +1,6 @@
1
1
  import { type IContainerProps } from './atoms/Container.vue';
2
- interface IImageDisplayProps extends Partial<IContainerProps> {
2
+ interface IImageDisplayProps {
3
+ containerStyles: IContainerProps;
3
4
  imageUrl: string;
4
5
  linkTo: string;
5
6
  }
@@ -6,19 +6,26 @@ interface IMembershipCardData {
6
6
  memberCredit: number;
7
7
  memberPoints: number;
8
8
  memberTitles: string[];
9
+ memberCurrentTierTotal: number;
10
+ memberPointToNextTier: number;
9
11
  }
10
- interface IMembershipCardProps extends Partial<IContainerProps> {
12
+ interface IMembershipCardProps {
13
+ containerStyles: IContainerProps;
11
14
  data: IMembershipCardData | null;
12
15
  showCredit: boolean;
13
16
  showPoints: boolean;
14
17
  showTier: boolean;
15
18
  showTitle: boolean;
16
19
  authLoading?: boolean;
20
+ signedIn?: boolean;
21
+ designStyle: number;
17
22
  }
18
23
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<IMembershipCardProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
24
  signIn: () => void;
25
+ joinMember: () => void;
20
26
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IMembershipCardProps>>> & {
21
27
  onSignIn?: (() => any) | undefined;
28
+ onJoinMember?: (() => any) | undefined;
22
29
  }, {}, {}>;
23
30
  export default _default;
24
31
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -0,0 +1,31 @@
1
+ import { type IContainerProps } from './atoms/Container.vue';
2
+ interface IOrderHistoryData {
3
+ thumbnailPhoto: string;
4
+ restaurantName: string;
5
+ orderDate: string;
6
+ orderType: 'DINE_IN' | 'PICKUP' | 'DELIVERY' | string;
7
+ orderId: string;
8
+ }
9
+ interface IOrderHistoryCardProps {
10
+ containerStyles: IContainerProps;
11
+ data: IOrderHistoryData[];
12
+ signedIn: boolean;
13
+ authLoading?: boolean;
14
+ }
15
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<IOrderHistoryCardProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ signIn: () => void;
17
+ orderClicked: (orderId: string) => void;
18
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IOrderHistoryCardProps>>> & {
19
+ onSignIn?: (() => any) | undefined;
20
+ onOrderClicked?: ((orderId: string) => any) | undefined;
21
+ }, {}, {}>;
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
+ };
@@ -0,0 +1,35 @@
1
+ import { type IContainerProps } from './atoms/Container.vue';
2
+ interface ITextDisplayProps {
3
+ containerStyles: IContainerProps;
4
+ showQr: boolean;
5
+ showPickUp: boolean;
6
+ showDelivery: boolean;
7
+ qrStyle: {
8
+ textColor: string;
9
+ iconColor: string;
10
+ fillColor: string;
11
+ };
12
+ pickupDeliveryStyle: {
13
+ textColor: string;
14
+ iconColor: string;
15
+ };
16
+ }
17
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ITextDisplayProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ qrOrder: () => void;
19
+ delivery: () => void;
20
+ pickup: () => void;
21
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ITextDisplayProps>>> & {
22
+ onDelivery?: (() => any) | undefined;
23
+ onQrOrder?: (() => any) | undefined;
24
+ onPickup?: (() => any) | undefined;
25
+ }, {}, {}>;
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
+ };
@@ -1,6 +1,7 @@
1
1
  import { type CSSProperties } from 'vue';
2
2
  import { type IContainerProps } from './atoms/Container.vue';
3
- interface ITextDisplayProps extends IContainerProps {
3
+ interface ITextDisplayProps {
4
+ containerStyles: IContainerProps;
4
5
  textContent: string;
5
6
  style: {
6
7
  fontSize: string;
@@ -0,0 +1,52 @@
1
+ export interface IButtonProps {
2
+ type?: string;
3
+ prependIcon?: string;
4
+ appendIcon?: string;
5
+ buttonColor?: string;
6
+ textColor?: string;
7
+ iconColor?: string;
8
+ }
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<IButtonProps>, {
10
+ type: string;
11
+ prependIcon: string;
12
+ appendIcon: string;
13
+ buttonColor: string;
14
+ 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
+ prependIcon: string;
18
+ appendIcon: string;
19
+ buttonColor: string;
20
+ textColor: string;
21
+ }>>>, {
22
+ type: string;
23
+ prependIcon: string;
24
+ appendIcon: string;
25
+ buttonColor: string;
26
+ textColor: string;
27
+ }, {}>, {
28
+ default?(_: {}): any;
29
+ }>;
30
+ 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
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
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
+ };
@@ -12,6 +12,7 @@ export interface IContainerProps {
12
12
  borderWidth: string;
13
13
  borderColor: string;
14
14
  height: string;
15
+ boxShadow: string;
15
16
  }
16
17
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Partial<IContainerProps>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Partial<IContainerProps>>>>, {}, {}>, {
17
18
  default?(_: {}): any;
@@ -0,0 +1,14 @@
1
+ interface IOrderTypeChipProps {
2
+ orderType: 'DINE_IN' | 'PICKUP' | 'DELIVERY' | string;
3
+ }
4
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<IOrderTypeChipProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IOrderTypeChipProps>>>, {}, {}>;
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
+ };
@@ -1,11 +1,17 @@
1
1
  import Homepage from './components/Homepage.vue';
2
2
  import TextDisplay from './components/TextDisplay.vue';
3
3
  import ButtonList from './components/ButtonList.vue';
4
- import Container from './components/atoms/Container.vue';
5
- import Icon from './components/atoms/Icon.vue';
6
4
  import ImageDisplay from './components/ImageDisplay.vue';
7
5
  import ImageCarousel from './components/ImageCarousel.vue';
8
6
  import MemberCard from './components/MemberCard.vue';
7
+ import OrderMethod from './components/OrderMethod.vue';
8
+ import BranchList from './components/BranchList.vue';
9
+ import OrderHistoryCard from './components/OrderHistoryCard.vue';
10
+ import Container from './components/atoms/Container.vue';
9
11
  import CircularProgress from './components/atoms/CircularProgress.vue';
12
+ import Icon from './components/atoms/Icon.vue';
10
13
  import Divider from './components/atoms/Divider.vue';
11
- export { Homepage, TextDisplay, ButtonList, Container, Icon, ImageDisplay, ImageCarousel, MemberCard, CircularProgress, Divider };
14
+ import Button from './components/atoms/Button.vue';
15
+ import OrderTypeChip from './components/atoms/OrderTypeChip.vue';
16
+ import OrderDetails from './views/OrderDetails.vue';
17
+ export { Homepage, TextDisplay, ButtonList, Container, Icon, ImageDisplay, ImageCarousel, MemberCard, CircularProgress, Divider, OrderMethod, Button, BranchList, OrderHistoryCard, OrderTypeChip, OrderDetails };
@@ -0,0 +1,18 @@
1
+ interface IOrderDetailsProps {
2
+ iframeUrl: string;
3
+ }
4
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<IOrderDetailsProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ back: () => void;
6
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IOrderDetailsProps>>> & {
7
+ onBack?: (() => any) | undefined;
8
+ }, {}, {}>;
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
+ };
@@ -6,6 +6,7 @@ declare class ApiClient {
6
6
  Post<T>(url: string, config?: AxiosRequestConfig): Promise<AxiosResponse<T>>;
7
7
  Put<T>(url: string, config?: AxiosRequestConfig): Promise<AxiosResponse<T>>;
8
8
  Delete<T>(url: string, config?: AxiosRequestConfig): Promise<AxiosResponse<T>>;
9
+ Head<T>(url: string, config?: AxiosRequestConfig): Promise<AxiosResponse<T>>;
9
10
  }
10
11
  export declare const Api: ApiClient;
11
12
  export {};
@@ -1,14 +1,21 @@
1
1
  import type { INodeComponent } from '../../composables/useNode';
2
- declare function getAllTemplates(businessId: string): Promise<string[]>;
3
- declare function getTemplateById(businessId: string, templateId: string): Promise<INodeComponent[]>;
4
- declare function uploadTemplate(businessId: string, templateId: string, schema: INodeComponent[]): Promise<unknown>;
5
- declare function setActiveTemplate(businessId: string, templateId: string): Promise<string>;
6
- declare function getActiveTemplate(businessId: string): Promise<string>;
2
+ import type { ITemplateDetails } from '../../stores/template';
3
+ declare function getAllTemplates(businessId: string, draftsOrActive: 'drafts' | 'active'): Promise<ITemplateDetails[]>;
4
+ declare function getTemplateById(businessId: string, draftsOrActive: 'drafts' | 'active', templateId: string): Promise<INodeComponent[]>;
5
+ declare function uploadTemplate(businessId: string, draftsOrActive: 'drafts' | 'active', template: ITemplateDetails, schema: INodeComponent[]): Promise<unknown>;
6
+ declare function setActiveTemplateId(businessId: string, templateId: string): Promise<string>;
7
+ declare function getActiveTemplateId(businessId: string): Promise<string>;
8
+ declare function headTemplateById(businessId: string, draftsOrActive: string, templateId: string): Promise<boolean>;
9
+ declare function renameTemplate(businessId: string, templateId: string, alias: string): Promise<string>;
10
+ declare function deleteTemplateById(businessId: string, draftsOrActive: 'drafts' | 'active', templateId: string): Promise<string>;
7
11
  export declare const TemplateApi: {
8
12
  getAllTemplates: typeof getAllTemplates;
9
13
  getTemplateById: typeof getTemplateById;
10
14
  uploadTemplate: typeof uploadTemplate;
11
- setActiveTemplate: typeof setActiveTemplate;
12
- getActiveTemplate: typeof getActiveTemplate;
15
+ setActiveTemplateId: typeof setActiveTemplateId;
16
+ getActiveTemplateId: typeof getActiveTemplateId;
17
+ renameTemplate: typeof renameTemplate;
18
+ deleteTemplateById: typeof deleteTemplateById;
19
+ headTemplateById: typeof headTemplateById;
13
20
  };
14
21
  export {};
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,23 @@
1
+ export declare const BranchList: {
2
+ label: string;
3
+ sublabel: string;
4
+ iconColor: string;
5
+ labelColor: string;
6
+ sublabelColor: string;
7
+ containerStyles: {
8
+ paddingTop: string;
9
+ paddingBottom: string;
10
+ paddingLeft: string;
11
+ paddingRight: string;
12
+ marginTop: string;
13
+ marginBottom: string;
14
+ marginLeft: string;
15
+ marginRight: string;
16
+ backgroundColor: string;
17
+ borderRadius: string;
18
+ borderWidth: string;
19
+ borderColor: string;
20
+ height: string;
21
+ boxShadow: string;
22
+ };
23
+ };
@@ -0,0 +1,2 @@
1
+ import type { FormKitSchemaDefinition } from '@formkit/core';
2
+ export declare const BranchList: FormKitSchemaDefinition;
@@ -5,17 +5,20 @@ export declare const ButtonList: {
5
5
  linkTo: string;
6
6
  }[];
7
7
  itemsPerRow: number;
8
- paddingTop: string;
9
- paddingBottom: string;
10
- paddingLeft: string;
11
- paddingRight: string;
12
- marginTop: string;
13
- marginBottom: string;
14
- marginLeft: string;
15
- marginRight: string;
16
- backgroundColor: string;
17
- borderRadius: string;
18
- borderWidth: string;
19
- borderColor: string;
20
- height: string;
8
+ containerStyles: {
9
+ paddingTop: string;
10
+ paddingBottom: string;
11
+ paddingLeft: string;
12
+ paddingRight: string;
13
+ marginTop: string;
14
+ marginBottom: string;
15
+ marginLeft: string;
16
+ marginRight: string;
17
+ backgroundColor: string;
18
+ borderRadius: string;
19
+ borderWidth: string;
20
+ borderColor: string;
21
+ height: string;
22
+ boxShadow: string;
23
+ };
21
24
  };
@@ -6,17 +6,20 @@ export declare const ImageCarousel: {
6
6
  enableIndicator: boolean;
7
7
  autoRotation: boolean;
8
8
  rotationInterval: string;
9
- paddingTop: string;
10
- paddingBottom: string;
11
- paddingLeft: string;
12
- paddingRight: string;
13
- marginTop: string;
14
- marginBottom: string;
15
- marginLeft: string;
16
- marginRight: string;
17
- backgroundColor: string;
18
- borderRadius: string;
19
- borderWidth: string;
20
- borderColor: string;
21
- height: string;
9
+ containerStyles: {
10
+ paddingTop: string;
11
+ paddingBottom: string;
12
+ paddingLeft: string;
13
+ paddingRight: string;
14
+ marginTop: string;
15
+ marginBottom: string;
16
+ marginLeft: string;
17
+ marginRight: string;
18
+ backgroundColor: string;
19
+ borderRadius: string;
20
+ borderWidth: string;
21
+ borderColor: string;
22
+ height: string;
23
+ boxShadow: string;
24
+ };
22
25
  };
@@ -12,21 +12,25 @@ export interface IContainer {
12
12
  borderWidth?: string;
13
13
  borderColor?: string;
14
14
  height?: string;
15
+ boxShadow?: string;
15
16
  }
16
17
  export declare const Container: {
17
- paddingTop: string;
18
- paddingBottom: string;
19
- paddingLeft: string;
20
- paddingRight: string;
21
- marginTop: string;
22
- marginBottom: string;
23
- marginLeft: string;
24
- marginRight: string;
25
- backgroundColor: string;
26
- borderRadius: string;
27
- borderWidth: string;
28
- borderColor: string;
29
- height: string;
18
+ containerStyles: {
19
+ paddingTop: string;
20
+ paddingBottom: string;
21
+ paddingLeft: string;
22
+ paddingRight: string;
23
+ marginTop: string;
24
+ marginBottom: string;
25
+ marginLeft: string;
26
+ marginRight: string;
27
+ backgroundColor: string;
28
+ borderRadius: string;
29
+ borderWidth: string;
30
+ borderColor: string;
31
+ height: string;
32
+ boxShadow: string;
33
+ };
30
34
  };
31
35
  /**
32
36
  * To build a default container styling
@@ -34,17 +38,20 @@ export declare const Container: {
34
38
  * @returns {IContainer}
35
39
  */
36
40
  export declare const ContainerFactory: (style: IContainer) => {
37
- paddingTop: string;
38
- paddingBottom: string;
39
- paddingLeft: string;
40
- paddingRight: string;
41
- marginTop: string;
42
- marginBottom: string;
43
- marginLeft: string;
44
- marginRight: string;
45
- backgroundColor: string;
46
- borderRadius: string;
47
- borderWidth: string;
48
- borderColor: string;
49
- height: string;
41
+ containerStyles: {
42
+ paddingTop: string;
43
+ paddingBottom: string;
44
+ paddingLeft: string;
45
+ paddingRight: string;
46
+ marginTop: string;
47
+ marginBottom: string;
48
+ marginLeft: string;
49
+ marginRight: string;
50
+ backgroundColor: string;
51
+ borderRadius: string;
52
+ borderWidth: string;
53
+ borderColor: string;
54
+ height: string;
55
+ boxShadow: string;
56
+ };
50
57
  };
@@ -1,17 +1,20 @@
1
1
  export declare const ImageDisplay: {
2
2
  imageUrl: string;
3
3
  linkTo: string;
4
- paddingTop: string;
5
- paddingBottom: string;
6
- paddingLeft: string;
7
- paddingRight: string;
8
- marginTop: string;
9
- marginBottom: string;
10
- marginLeft: string;
11
- marginRight: string;
12
- backgroundColor: string;
13
- borderRadius: string;
14
- borderWidth: string;
15
- borderColor: string;
16
- height: string;
4
+ containerStyles: {
5
+ paddingTop: string;
6
+ paddingBottom: string;
7
+ paddingLeft: string;
8
+ paddingRight: string;
9
+ marginTop: string;
10
+ marginBottom: string;
11
+ marginLeft: string;
12
+ marginRight: string;
13
+ backgroundColor: string;
14
+ borderRadius: string;
15
+ borderWidth: string;
16
+ borderColor: string;
17
+ height: string;
18
+ boxShadow: string;
19
+ };
17
20
  };
@@ -13,17 +13,20 @@ export declare const TextDisplay: {
13
13
  textDecorationLine: string;
14
14
  };
15
15
  };
16
- paddingTop: string;
17
- paddingBottom: string;
18
- paddingLeft: string;
19
- paddingRight: string;
20
- marginTop: string;
21
- marginBottom: string;
22
- marginLeft: string;
23
- marginRight: string;
24
- backgroundColor: string;
25
- borderRadius: string;
26
- borderWidth: string;
27
- borderColor: string;
28
- height: string;
16
+ containerStyles: {
17
+ paddingTop: string;
18
+ paddingBottom: string;
19
+ paddingLeft: string;
20
+ paddingRight: string;
21
+ marginTop: string;
22
+ marginBottom: string;
23
+ marginLeft: string;
24
+ marginRight: string;
25
+ backgroundColor: string;
26
+ borderRadius: string;
27
+ borderWidth: string;
28
+ borderColor: string;
29
+ height: string;
30
+ boxShadow: string;
31
+ };
29
32
  };
@@ -5,4 +5,6 @@ export declare const MemberCard: {
5
5
  memberCredit: number;
6
6
  memberPoints: number;
7
7
  memberTitles: string[];
8
+ memberCurrentTierTotal: number;
9
+ memberPointToNextTier: number;
8
10
  };
@@ -6,22 +6,29 @@ export declare const MemberCard: {
6
6
  memberCredit: number;
7
7
  memberPoints: number;
8
8
  memberTitles: string[];
9
+ memberCurrentTierTotal: number;
10
+ memberPointToNextTier: number;
9
11
  };
10
12
  showCredit: boolean;
11
13
  showPoints: boolean;
12
14
  showTier: boolean;
13
15
  showTitle: boolean;
14
- paddingTop: string;
15
- paddingBottom: string;
16
- paddingLeft: string;
17
- paddingRight: string;
18
- marginTop: string;
19
- marginBottom: string;
20
- marginLeft: string;
21
- marginRight: string;
22
- backgroundColor: string;
23
- borderRadius: string;
24
- borderWidth: string;
25
- borderColor: string;
26
- height: string;
16
+ signedIn: boolean;
17
+ designStyle: number;
18
+ containerStyles: {
19
+ paddingTop: string;
20
+ paddingBottom: string;
21
+ paddingLeft: string;
22
+ paddingRight: string;
23
+ marginTop: string;
24
+ marginBottom: string;
25
+ marginLeft: string;
26
+ marginRight: string;
27
+ backgroundColor: string;
28
+ borderRadius: string;
29
+ borderWidth: string;
30
+ borderColor: string;
31
+ height: string;
32
+ boxShadow: string;
33
+ };
27
34
  };
@@ -1,2 +1,3 @@
1
1
  import { MemberCard } from './member-card/mock-data';
2
- export { MemberCard };
2
+ import { OrderHistoryCard } from './order-history-card/mock-data';
3
+ export { MemberCard, OrderHistoryCard };
@@ -0,0 +1,6 @@
1
+ export declare const OrderHistoryCard: {
2
+ thumbnailPhoto: string;
3
+ restaurantName: string;
4
+ orderDate: string;
5
+ orderType: string;
6
+ }[];