@feedmepos/mf-menu 0.32.43 → 0.32.45-dev

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 (84) hide show
  1. package/dist/{App-C9b4SjED.js → App-u5AOIdU4.js} +1472 -1459
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-C1T4Ewek.js → ApplyProduct.vue_vue_type_script_setup_true_lang-RTdI8EVk.js} +3 -3
  3. package/dist/{Catalog-BVrf3VaX.js → Catalog-DDMz6wD9.js} +44 -44
  4. package/dist/{Category-BkReM5IG.js → Category-BE0d0_de.js} +24 -24
  5. package/dist/{Category-BMzIQqIE.js → Category-DoIleKPb.js} +78 -78
  6. package/dist/{CookingGuide-CvctI1TH.js → CookingGuide-iP5hFtlB.js} +105 -105
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-bYSEp6Wb.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CSaMT7Gr.js} +1 -1
  8. package/dist/{Group-CHkNuuHE.js → Group-AXDRjsKC.js} +3 -3
  9. package/dist/{Group-BQzmXagr.js → Group-xjimyqnO.js} +1 -1
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-BkruJTpL.js → Group.vue_vue_type_script_setup_true_lang-DB_X7ws3.js} +173 -173
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CBz83Qd1.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D_IUSYDa.js} +30 -30
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Dpx4meDa.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Suib7m8i.js} +1750 -1751
  13. package/dist/{Ingredient-BNsKYrQB.js → Ingredient-yr2DWIMw.js} +20 -20
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DzzwwdA_.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BpiU1gRP.js} +2 -2
  15. package/dist/{LinkProductSideSheet-C6-wef-M.js → LinkProductSideSheet-2MbaATTn.js} +45 -45
  16. package/dist/{MenuSetting-DRaw7b6m.js → MenuSetting-BhkjzPiN.js} +47 -47
  17. package/dist/{PrintRoute-BKB-thVp.js → PrintRoute-ChqpbVo4.js} +39 -39
  18. package/dist/{Product-vviXmBR1.js → Product-BpnGnMzm.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-5h-k6zad.js → Product.vue_vue_type_script_setup_true_lang-COkk299w.js} +465 -463
  20. package/dist/{ProductInternalTools-DtLk3xFR.js → ProductInternalTools-BEwLYcEn.js} +66 -66
  21. package/dist/Products-lONe7x_i.js +291 -0
  22. package/dist/{Publish-jx0_H_26.js → Publish-CXRgBz-S.js} +29 -29
  23. package/dist/{Recipe-Dk04ge-_.js → Recipe-Bbt3hG6N.js} +24 -24
  24. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DaCVUn1i.js → RuleView.vue_vue_type_script_setup_true_lang-DXisBADc.js} +366 -366
  25. package/dist/{Scheduler-vFTvCVcY.js → Scheduler-DJsgP_Hi.js} +11 -11
  26. package/dist/{ServingSequence-DiBqQ_iS.js → ServingSequence-DALjVV2I.js} +44 -44
  27. package/dist/{Setting-CtzJ_pVM.js → Setting-B23o5SoS.js} +17 -17
  28. package/dist/{Subcategory-Cmv2W67T.js → Subcategory-CS4MEgtM.js} +109 -110
  29. package/dist/{Takeaway-DBW4UPFZ.js → Takeaway-CI2Y-_LF.js} +13 -13
  30. package/dist/{Takeaway-ChaYk0Ix.js → Takeaway-D27iA6M6.js} +1 -1
  31. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-C7RL3ITP.js → Takeaway.vue_vue_type_script_setup_true_lang-Ca3qK9zO.js} +111 -111
  32. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-edwJ1203.js → Thumbnail.vue_vue_type_script_setup_true_lang-Da2jQE45.js} +27 -27
  33. package/dist/TranslationFieldSection.vue_vue_type_script_setup_true_lang-DUScE-82.js +278 -0
  34. package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-E3-hgVdd.js +140 -0
  35. package/dist/TranslationViewChip.vue_vue_type_script_setup_true_lang-BlACWsDs.js +60 -0
  36. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DnuNFxC7.js +6130 -0
  37. package/dist/{Unit-BgLqPMLe.js → Unit-5pv3oxSc.js} +8 -8
  38. package/dist/Variant-CTAI6p6r.js +248 -0
  39. package/dist/{_id_-CDN7as0K.js → _id_-D09xegPQ.js} +28 -28
  40. package/dist/{app-0AQBxO0B.js → app-8-JCz9b5.js} +1 -1
  41. package/dist/app-Bk0DN7oZ.js +363 -0
  42. package/dist/app.js +1 -1
  43. package/dist/apps/mf-menu/src/components/translation/LanguageChip.vue.d.ts +18 -0
  44. package/dist/apps/mf-menu/src/components/translation/LanguageSelector.vue.d.ts +33 -0
  45. package/dist/apps/mf-menu/src/components/translation/LocaleIconBadge.vue.d.ts +29 -0
  46. package/dist/apps/mf-menu/src/components/translation/TranslationFieldRow.vue.d.ts +39 -0
  47. package/dist/apps/mf-menu/src/components/translation/TranslationViewChip.vue.d.ts +15 -0
  48. package/dist/apps/mf-menu/src/composable/translationLanguages.d.ts +16 -0
  49. package/dist/apps/mf-menu/src/stores/menu.d.ts +1 -0
  50. package/dist/apps/mf-menu/src/utils/translation.d.ts +1 -1
  51. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  52. package/dist/assets/{linked-status-DTIHdzDw.js → linked-status-dENy3aw3.js} +5 -5
  53. package/dist/assets/{menu-export-CpcyYnR-.js → menu-export-E9V7bg-T.js} +2 -2
  54. package/dist/assets/{override-menu-CASoFjhZ.js → override-menu-HaI7O9Fu.js} +5 -5
  55. package/dist/assets/{validate-menu-C5AkexWv.js → validate-menu-C8LhbVSM.js} +2 -2
  56. package/dist/{catalog-BA1e4WAu.js → catalog-DhXoYsFF.js} +1 -1
  57. package/dist/{catalogSetting-DE5rjVfj.js → catalogSetting-DyRqWzdW.js} +1 -1
  58. package/dist/{currency-D5qYOpxI.js → currency-BkmIftYM.js} +1 -1
  59. package/dist/dayjs.min-nQqVHQcC.js +6 -0
  60. package/dist/index-28XF3UnN.js +246 -0
  61. package/dist/{index-vPs04fVf.js → index-BQ95VVc6.js} +33 -32
  62. package/dist/index-BXWquw9Z.js +472 -0
  63. package/dist/{index.vue_vue_type_script_setup_true_lang-DSZsSghE.js → index.vue_vue_type_script_setup_true_lang-CJO2XWIn.js} +270 -244
  64. package/dist/{item-Dp17qTYi.js → item-DmTvGVsp.js} +3270 -3406
  65. package/dist/{jszip.min-DlpCmtaR.js → jszip.min-8Z5To_Pk.js} +6 -7
  66. package/dist/{menu-BOVrJ7di.js → menu-Csu9X1_I.js} +1 -1
  67. package/dist/{menuV2-BHnldQiM.js → menuV2-CC-vGiv5.js} +71 -71
  68. package/dist/{priceTier-BRQz1GRF.js → priceTier-Bj9Y6SSr.js} +1 -1
  69. package/dist/{rules-CO49kqfr.js → rules-Dod2cBHH.js} +12 -12
  70. package/dist/{scheduler-BDHjl8t7.js → scheduler-B3M-715v.js} +29 -29
  71. package/dist/{toExcel-DGdZKSxT.js → toExcel-67ufpOxx.js} +2 -2
  72. package/dist/{unit-D7QVgTp_.js → unit-BQrnccs6.js} +35 -35
  73. package/package.json +1 -1
  74. package/dist/Products-BR3iBVFd.js +0 -307
  75. package/dist/RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-I6qrPmxY.js +0 -144
  76. package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-Cs6s_csi.js +0 -196
  77. package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DIbjlDVn.js +0 -5767
  78. package/dist/Variant-B8yxF5mJ.js +0 -247
  79. package/dist/app-BU6wILmn.js +0 -2286
  80. package/dist/dayjs.min-BFDAHpA8.js +0 -7
  81. package/dist/index--nQbIQ0d.js +0 -545
  82. package/dist/translation-BCZ1Ruvv.js +0 -93
  83. /package/dist/apps/mf-menu/src/components/{TranslationBadge.vue.d.ts → translation/TranslationBadge.vue.d.ts} +0 -0
  84. /package/dist/apps/mf-menu/src/components/{TranslationFieldSection.vue.d.ts → translation/TranslationFieldSection.vue.d.ts} +0 -0
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as e, i as r, j as o, o as t, r as i, u as p } from "./app-BU6wILmn.js";
1
+ import { F as e, i as r, b as o, o as t, r as i, u as p } from "./app-Bk0DN7oZ.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -0,0 +1,18 @@
1
+ interface Props {
2
+ localeCode: string;
3
+ }
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ remove: (localeCode: string) => void;
6
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
7
+ onRemove?: ((localeCode: string) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
+ export default _default;
10
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
+ type __VLS_TypePropsToRuntimeProps<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
+ };
@@ -0,0 +1,33 @@
1
+ interface Props {
2
+ selectedLocales: string[];
3
+ label?: string;
4
+ }
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
6
+ label: string;
7
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:selectedLocales": (value: string[]) => void;
9
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
+ label: string;
11
+ }>>> & Readonly<{
12
+ "onUpdate:selectedLocales"?: ((value: string[]) => any) | undefined;
13
+ }>, {
14
+ label: string;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ type __VLS_WithDefaults<P, D> = {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
+ default: D[K];
29
+ }> : P[K];
30
+ };
31
+ type __VLS_Prettify<T> = {
32
+ [K in keyof T]: T[K];
33
+ } & {};
@@ -0,0 +1,29 @@
1
+ interface Props {
2
+ localeCode: string;
3
+ variant?: "primary" | "secondary" | "neutral";
4
+ }
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
6
+ variant: string;
7
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ variant: string;
9
+ }>>> & Readonly<{}>, {
10
+ variant: "primary" | "secondary" | "neutral";
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<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
+ };
22
+ type __VLS_WithDefaults<P, D> = {
23
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
+ default: D[K];
25
+ }> : P[K];
26
+ };
27
+ type __VLS_Prettify<T> = {
28
+ [K in keyof T]: T[K];
29
+ } & {};
@@ -0,0 +1,39 @@
1
+ interface Props {
2
+ localeCode: string;
3
+ modelValue: string;
4
+ placeholder?: string;
5
+ readonly?: boolean;
6
+ inputType?: "text" | "textarea";
7
+ }
8
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
9
+ readonly: boolean;
10
+ inputType: string;
11
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:modelValue": (value: string) => void;
13
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
+ readonly: boolean;
15
+ inputType: string;
16
+ }>>> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
18
+ }>, {
19
+ readonly: boolean;
20
+ inputType: "textarea" | "text";
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
+ export default _default;
23
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
+ type __VLS_TypePropsToRuntimeProps<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
+ };
32
+ type __VLS_WithDefaults<P, D> = {
33
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
+ default: D[K];
35
+ }> : P[K];
36
+ };
37
+ type __VLS_Prettify<T> = {
38
+ [K in keyof T]: T[K];
39
+ } & {};
@@ -0,0 +1,15 @@
1
+ interface Props {
2
+ nameLocale: Record<string, string>;
3
+ showNumber?: number;
4
+ }
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToRuntimeProps<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
@@ -0,0 +1,16 @@
1
+ import { type ComputedRef, type Ref } from "vue";
2
+ interface LocaleOption {
3
+ code: string;
4
+ name: string;
5
+ }
6
+ export interface UseTranslationLanguagesReturn {
7
+ localeList: ComputedRef<LocaleOption[]>;
8
+ availableLocales: ComputedRef<LocaleOption[]>;
9
+ }
10
+ /**
11
+ * Composable for managing translation languages
12
+ * @param selectedLocaleCodes - Ref containing array of currently selected locale codes
13
+ * @returns Object containing localeList and availableLocales computed properties
14
+ */
15
+ export declare function useTranslationLanguages(selectedLocaleCodes: Ref<string[]>): UseTranslationLanguagesReturn;
16
+ export {};
@@ -26,6 +26,7 @@ interface MenuState {
26
26
  featureFlags: {
27
27
  uniqueProductCode: boolean;
28
28
  schedulerPublish: boolean;
29
+ supportedLocales: string[];
29
30
  showTakeawayAvailability: TakeawayChannels;
30
31
  };
31
32
  nextSchedulerPublish: FdoPublishMenuMeta["nextSchedulePublish"];
@@ -1,2 +1,2 @@
1
1
  export declare function getLocaleIcon(localeCode: string): string;
2
- export declare function getLocaleName(localeCode: string, localeList: any): string;
2
+ export declare function getLocaleFullName(localeCode: string): string;