@feedmepos/mf-brand-app-builder 0.3.1-beta.2 → 0.4.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/app.js +6151 -4367
  2. package/dist/components/src/components/BranchList.vue.d.ts +4 -13
  3. package/dist/components/src/components/ButtonList.vue.d.ts +5 -13
  4. package/dist/components/src/components/CountrySwitcher.vue.d.ts +14 -0
  5. package/dist/components/src/components/Homepage.vue.d.ts +2 -11
  6. package/dist/components/src/components/ImageCarousel.vue.d.ts +6 -13
  7. package/dist/components/src/components/ImageDisplay.vue.d.ts +6 -13
  8. package/dist/components/src/components/MemberCard.vue.d.ts +8 -14
  9. package/dist/components/src/components/OrderHistoryCard.vue.d.ts +5 -14
  10. package/dist/components/src/components/OrderMethod.vue.d.ts +7 -16
  11. package/dist/components/src/components/TextDisplay.vue.d.ts +1 -10
  12. package/dist/components/src/components/atoms/Button.vue.d.ts +2 -31
  13. package/dist/components/src/components/atoms/CircularProgress.vue.d.ts +2 -27
  14. package/dist/components/src/components/atoms/Container.vue.d.ts +1 -10
  15. package/dist/components/src/components/atoms/Divider.vue.d.ts +1 -1
  16. package/dist/components/src/components/atoms/Icon.vue.d.ts +2 -23
  17. package/dist/components/src/components/atoms/LinkSlot.vue.d.ts +4 -13
  18. package/dist/components/src/components/atoms/OrderTypeChip.vue.d.ts +1 -10
  19. package/dist/components/src/main.d.ts +2 -1
  20. package/dist/components/src/views/OrderDetails.vue.d.ts +4 -13
  21. package/dist/merchant/src/App.vue.d.ts +1 -1
  22. package/dist/merchant/src/Entry.vue.d.ts +1 -1
  23. package/dist/merchant/src/api/business/index.d.ts +7 -0
  24. package/dist/merchant/src/components/atoms/BaButtonGroup.vue.d.ts +4 -13
  25. package/dist/merchant/src/components/atoms/BaDivider.vue.d.ts +1 -1
  26. package/dist/merchant/src/components/editor/Editor.vue.d.ts +1 -1
  27. package/dist/merchant/src/components/editor/EditorFloatingToobar.vue.d.ts +1 -1
  28. package/dist/merchant/src/components/editor/EditorToolbar.vue.d.ts +1 -1
  29. package/dist/merchant/src/components/editor/PreviewQrCode.vue.d.ts +2 -0
  30. package/dist/merchant/src/components/editor/TemplatePicker.vue.d.ts +1 -1
  31. package/dist/merchant/src/components/editor/TemplatePublishMenu.vue.d.ts +1 -1
  32. package/dist/merchant/src/components/element-sidebar/ElementSidebar.vue.d.ts +1 -1
  33. package/dist/merchant/src/components/inputs/ButtonGroup.vue.d.ts +1 -10
  34. package/dist/merchant/src/components/inputs/ColorPicker.vue.d.ts +1 -10
  35. package/dist/merchant/src/components/inputs/ImageUpload.vue.d.ts +1 -10
  36. package/dist/merchant/src/components/inputs/LinkButton.vue.d.ts +1 -10
  37. package/dist/merchant/src/components/inputs/ListRepeater.vue.d.ts +1 -10
  38. package/dist/merchant/src/components/inputs/Select.vue.d.ts +1 -10
  39. package/dist/merchant/src/components/inputs/StepperField.vue.d.ts +1 -10
  40. package/dist/merchant/src/components/inputs/Switch.vue.d.ts +1 -10
  41. package/dist/merchant/src/components/inputs/TextAlign.vue.d.ts +1 -10
  42. package/dist/merchant/src/components/inputs/TextDecorators.vue.d.ts +1 -10
  43. package/dist/merchant/src/components/inputs/TextField.vue.d.ts +1 -10
  44. package/dist/merchant/src/components/inputs/TextStyleList.vue.d.ts +1 -10
  45. package/dist/merchant/src/components/inspector/Inspector.vue.d.ts +1 -1
  46. package/dist/merchant/src/components/inspector/atoms/ConfigSection.vue.d.ts +1 -10
  47. package/dist/merchant/src/components/inspector/atoms/ConfigTab.vue.d.ts +1 -10
  48. package/dist/merchant/src/components/inspector/atoms/ConfigTabItem.vue.d.ts +1 -10
  49. package/dist/merchant/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +3 -12
  50. package/dist/merchant/src/node-configs/button-list/props.d.ts +1 -0
  51. package/dist/merchant/src/node-configs/carousel/props.d.ts +1 -0
  52. package/dist/merchant/src/node-configs/country-switcher/props.d.ts +22 -0
  53. package/dist/merchant/src/node-configs/country-switcher/schema.d.ts +2 -0
  54. package/dist/merchant/src/node-configs/display-image/props.d.ts +1 -0
  55. package/dist/merchant/src/node-configs/props.d.ts +2 -1
  56. package/dist/merchant/src/node-configs/schema.d.ts +2 -1
  57. package/dist/merchant/src/stores/business/index.d.ts +40 -0
  58. package/dist/package.json +4 -2
  59. package/package.json +4 -2
@@ -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<__VLS_TypePropsToOption<IColorPickerProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IColorPickerProps>>>, {}, {}>;
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
- };
@@ -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<__VLS_TypePropsToOption<IImageUpload>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IImageUpload>>>, {}, {}>;
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<__VLS_TypePropsToOption<ITextFieldProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ITextFieldProps>>>, {}, {}>;
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<__VLS_TypePropsToOption<IListRepeaterProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IListRepeaterProps>>>, {}, {}>;
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<__VLS_TypePropsToOption<ISelectProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ISelectProps>>>, {}, {}>;
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<__VLS_TypePropsToOption<IStepperFieldProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IStepperFieldProps>>>, {}, {}>;
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<__VLS_TypePropsToOption<ISwitchProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ISwitchProps>>>, {}, {}>;
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<__VLS_TypePropsToOption<IButtonGroup>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IButtonGroup>>>, {}, {}>;
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<__VLS_TypePropsToOption<IButtonGroup>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IButtonGroup>>>, {}, {}>;
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<__VLS_TypePropsToOption<ITextFieldProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ITextFieldProps>>>, {}, {}>;
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<__VLS_TypePropsToOption<ITextStyleListProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ITextStyleListProps>>>, {}, {}>;
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").ExtractPropTypes<{}>>, {}, {}>;
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<__VLS_TypePropsToOption<IConfigSectionProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IConfigSectionProps>>>, {}, {}>, {
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<__VLS_TypePropsToOption<IConfigTabProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IConfigTabProps>>>, {}, {}>, {
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<__VLS_TypePropsToOption<IConfigTabItemProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<IConfigTabItemProps>>>, {}, {}>, {
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<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  title: string;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
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
- };
@@ -8,6 +8,7 @@ export declare const ButtonList: {
8
8
  };
9
9
  }[];
10
10
  itemsPerRow: number;
11
+ textColor: string;
11
12
  containerStyles: {
12
13
  paddingTop: string;
13
14
  paddingBottom: string;
@@ -9,6 +9,7 @@ export declare const ImageCarousel: {
9
9
  enableIndicator: boolean;
10
10
  autoRotation: boolean;
11
11
  rotationInterval: string;
12
+ objectFit: string;
12
13
  containerStyles: {
13
14
  paddingTop: string;
14
15
  paddingBottom: string;
@@ -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
+ };
@@ -0,0 +1,2 @@
1
+ import type { FormKitSchemaDefinition } from '@formkit/core';
2
+ export declare const CountrySwitcher: FormKitSchemaDefinition;
@@ -4,6 +4,7 @@ export declare const ImageDisplay: {
4
4
  path: string;
5
5
  isExternal: boolean;
6
6
  };
7
+ objectFit: string;
7
8
  containerStyles: {
8
9
  paddingTop: string;
9
10
  paddingBottom: string;
@@ -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
- export { Homepage, TextDisplay, ButtonList, Container, ImageDisplay, ImageCarousel, MemberCard, OrderMethod, BranchList, OrderHistoryCard };
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
- export { Homepage, TextDisplay, ButtonList, Container, ImageDisplay, ImageCarousel, MemberCard, OrderMethod, BranchList, OrderHistoryCard };
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 {};
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-brand-app-builder",
3
- "version": "0.3.1-beta.2",
3
+ "version": "0.4.0-beta.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -28,7 +28,7 @@
28
28
  "build:mf:prod": "vite build --mode fmmf:prod",
29
29
  "build-only:dev": "pnpm build:mf:dev && pnpm build:dts && pnpm build-types && cp package.json ./dist",
30
30
  "build-only:prod": "pnpm build:mf:prod && pnpm build:dts && pnpm build-types && cp package.json ./dist",
31
- "deploy:npm:dev": "pnpm run build-only:dev && pnpm publish --no-git-checks .",
31
+ "deploy:npm:dev": "pnpm run build-only:dev && pnpm publish --tag beta --no-git-checks .",
32
32
  "deploy:npm:prod": "pnpm run build-only:prod && pnpm publish --no-git-checks ."
33
33
  },
34
34
  "dependencies": {
@@ -39,6 +39,7 @@
39
39
  "axios": "^1.7.2",
40
40
  "dotenv": "^16.4.5",
41
41
  "pinia": "^2.1.7",
42
+ "qrcode": "^1.5.4",
42
43
  "uuid": "^9.0.1",
43
44
  "vue": "^3.4.21",
44
45
  "vue-router": "^4.3.2",
@@ -49,6 +50,7 @@
49
50
  "@rushstack/eslint-patch": "^1.8.0",
50
51
  "@tsconfig/node20": "^20.1.4",
51
52
  "@types/node": "^20.12.5",
53
+ "@types/qrcode": "^1.5.5",
52
54
  "@types/uuid": "^9.0.8",
53
55
  "@vitejs/plugin-vue": "^5.0.4",
54
56
  "@vue/eslint-config-prettier": "^9.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-brand-app-builder",
3
- "version": "0.3.1-beta.2",
3
+ "version": "0.4.0-beta.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -21,6 +21,7 @@
21
21
  "axios": "^1.7.2",
22
22
  "dotenv": "^16.4.5",
23
23
  "pinia": "^2.1.7",
24
+ "qrcode": "^1.5.4",
24
25
  "uuid": "^9.0.1",
25
26
  "vue": "^3.4.21",
26
27
  "vue-router": "^4.3.2",
@@ -31,6 +32,7 @@
31
32
  "@rushstack/eslint-patch": "^1.8.0",
32
33
  "@tsconfig/node20": "^20.1.4",
33
34
  "@types/node": "^20.12.5",
35
+ "@types/qrcode": "^1.5.5",
34
36
  "@types/uuid": "^9.0.8",
35
37
  "@vitejs/plugin-vue": "^5.0.4",
36
38
  "@vue/eslint-config-prettier": "^9.0.0",
@@ -64,7 +66,7 @@
64
66
  "build:mf:prod": "vite build --mode fmmf:prod",
65
67
  "build-only:dev": "pnpm build:mf:dev && pnpm build:dts && pnpm build-types && cp package.json ./dist",
66
68
  "build-only:prod": "pnpm build:mf:prod && pnpm build:dts && pnpm build-types && cp package.json ./dist",
67
- "deploy:npm:dev": "pnpm run build-only:dev && pnpm publish --no-git-checks .",
69
+ "deploy:npm:dev": "pnpm run build-only:dev && pnpm publish --tag beta --no-git-checks .",
68
70
  "deploy:npm:prod": "pnpm run build-only:prod && pnpm publish --no-git-checks ."
69
71
  }
70
72
  }