@feedmepos/mf-menu-portal 1.0.4-dev.4 → 1.0.5-dev.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 (78) hide show
  1. package/dist/{App-CrpoLCjA.js → App-B2xq1U4S.js} +699 -687
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Hdsnu29V.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CPh1GBw9.js} +11 -10
  3. package/dist/{BindingTable.vue_vue_type_script_setup_true_lang-D3CmOOPY.js → BindingTable.vue_vue_type_script_setup_true_lang-DCgMQJE-.js} +50 -46
  4. package/dist/Catalog-BEI73S_k.js +433 -0
  5. package/dist/{CatalogBinding-BNATtZEY.js → CatalogBinding-3rhuTWDD.js} +30 -29
  6. package/dist/{CatalogEditTabs.vue_vue_type_script_setup_true_lang-BmG-xpW4.js → CatalogEditTabs.vue_vue_type_script_setup_true_lang-CraEwqCY.js} +30 -29
  7. package/dist/{CatalogEditor.vue_vue_type_script_setup_true_lang-BFsRDFpj.js → CatalogEditor.vue_vue_type_script_setup_true_lang-Dc72SNpI.js} +314 -304
  8. package/dist/CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-CMyubLvP.js +127 -0
  9. package/dist/{Category-DMoXTsfG.js → Category-BVCdkA5K.js} +14 -13
  10. package/dist/{Category-DxjdQ-NN.js → Category-P5DYjIeF.js} +2 -2
  11. package/dist/{CategoryList.vue_vue_type_script_setup_true_lang-B3Ts1O-9.js → CategoryList.vue_vue_type_script_setup_true_lang-DyhW52Df.js} +274 -262
  12. package/dist/{CookingGuide-DiZZDYD-.js → CookingGuide-Y-c1NLP5.js} +144 -140
  13. package/dist/{Group-rzfh_o6r.js → Group-D6wA3jCF.js} +2 -2
  14. package/dist/{Group-DFR8q-tt.js → Group-qqr5SUIc.js} +17 -15
  15. package/dist/GroupList.vue_vue_type_script_setup_true_lang-DNTVfY2d.js +1996 -0
  16. package/dist/{Ingredient-DpjGIuH9.js → Ingredient-CJHkJZ0y.js} +94 -93
  17. package/dist/{LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CnI80Ojd.js → LinkProductSideSheet.vue_vue_type_script_setup_true_lang-Cb6nO43H.js} +1 -1
  18. package/dist/{MenuSetting-DR-pDSF_.js → MenuSetting-YcEGo51l.js} +462 -446
  19. package/dist/{OrderPacing-JcTuweqF.js → OrderPacing-DwQU7c0Y.js} +207 -204
  20. package/dist/{OrderPacingFields.vue_vue_type_script_setup_true_lang-HwwJ2mGv.js → OrderPacingFields.vue_vue_type_script_setup_true_lang-2Cdz70u-.js} +1 -2
  21. package/dist/PageLayout.vue_vue_type_script_setup_true_lang-DrhsROXo.js +44 -0
  22. package/dist/PhoneFab.vue_vue_type_script_setup_true_lang-CipbTqbp.js +12 -0
  23. package/dist/{Preview-BZyun5lZ.js → Preview-DLeXy5V-.js} +2 -2
  24. package/dist/{PriceTierNotice.vue_vue_type_script_setup_true_lang-DquqNbE1.js → PriceTierNotice.vue_vue_type_script_setup_true_lang-D_OV9Z_4.js} +1 -1
  25. package/dist/{PrintRoute-CzEx2dCt.js → PrintRoute-R38w0-U2.js} +151 -150
  26. package/dist/{Product-CQb0n06E.js → Product-sbMCaVhM.js} +8 -7
  27. package/dist/ProductAttributeFilter.vue_vue_type_script_setup_true_lang-DoHQeOHy.js +7826 -0
  28. package/dist/ProductChipSummary.vue_vue_type_script_setup_true_lang-D9v88xZs.js +111 -0
  29. package/dist/{ProductEditorHost.vue_vue_type_script_setup_true_lang-CBlDEjqF.js → ProductEditorHost.vue_vue_type_script_setup_true_lang-DsIGLKNS.js} +17 -17
  30. package/dist/{ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-D8NQTCLx.js → ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-CEliG36Z.js} +726 -726
  31. package/dist/{ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-cG47Pu-6.js → ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-B3bShTjM.js} +127 -124
  32. package/dist/{ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-0UwUcA2L.js → ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-BzctosMW.js} +820 -807
  33. package/dist/{ProductInternalTools-QrBR1nFp.js → ProductInternalTools-jE3Ovo4l.js} +3 -3
  34. package/dist/{ProductInventoryDialog-fV38GO1a.js → ProductInventoryDialog-EDlrXupB.js} +1 -1
  35. package/dist/{ProductInventoryDialog.vue_vue_type_script_setup_true_lang-Bzb3RrMg.js → ProductInventoryDialog.vue_vue_type_script_setup_true_lang-LOwSpoiA.js} +1 -1
  36. package/dist/{ProductList.vue_vue_type_script_setup_true_lang-BwKQESr3.js → ProductList.vue_vue_type_script_setup_true_lang-rczFAWVa.js} +1135 -1098
  37. package/dist/{ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-CDYcHXo1.js → ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-C4iK-sAd.js} +1 -1
  38. package/dist/{Products-B8tysOAL.js → Products-DUE10OyS.js} +51 -49
  39. package/dist/Publish-BlMxKniP.js +1300 -0
  40. package/dist/{Recipe-Ddx31csF.js → Recipe-BhjPAidT.js} +83 -82
  41. package/dist/{Scheduler-CST5L_cw.js → Scheduler-wKG3_D1f.js} +137 -136
  42. package/dist/{ServingSequence-DYyEZI2S.js → ServingSequence-B26BETQs.js} +63 -61
  43. package/dist/Setting-DBdNl3WL.js +185 -0
  44. package/dist/{Subcategory-BIgjzVta.js → Subcategory-B06yMcuE.js} +147 -144
  45. package/dist/{Takeaway-CekhGM-m.js → Takeaway-CFATfy-6.js} +2 -2
  46. package/dist/{Takeaway-aXsPg4JT.js → Takeaway-DFqOtls7.js} +17 -16
  47. package/dist/TakeawayList.vue_vue_type_script_setup_true_lang-CUHB-g9I.js +616 -0
  48. package/dist/TextChip.vue_vue_type_script_setup_true_lang-YkUjMTXo.js +32 -0
  49. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-CshqYpc9.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DoS4Btzj.js} +281 -308
  50. package/dist/{Unit-BMW8u0Us.js → Unit-B5wKBmIT.js} +90 -89
  51. package/dist/{Variant-CZsrYRMU.js → Variant-C5ePu0za.js} +167 -174
  52. package/dist/{_id_-D4swrvNa.js → _id_-HRDqt6oD.js} +3 -3
  53. package/dist/{app-BWwwHsWi.js → app-CxJjx2ma.js} +39 -39
  54. package/dist/app.js +1 -1
  55. package/dist/apps/mf-menu/src/app.d.ts +35 -0
  56. package/dist/apps/mf-menu/src/components/GroupList.vue.d.ts +8 -0
  57. package/dist/apps/mf-menu/src/components/Product/OrderFromChip.vue.d.ts +6 -0
  58. package/dist/apps/mf-menu/src/components/Product/ProductThumbnail.vue.d.ts +6 -0
  59. package/dist/apps/mf-menu/src/components/ProductList.vue.d.ts +4 -2
  60. package/dist/apps/mf-menu/src/components/PublishList.vue.d.ts +1 -1
  61. package/dist/apps/mf-menu/src/components/layout/MobileXScrollable.vue.d.ts +9 -0
  62. package/dist/apps/mf-menu/src/components/layout/PageLayout.vue.d.ts +7 -0
  63. package/dist/apps/mf-menu/src/components/layout/PhoneFab.vue.d.ts +9 -0
  64. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  65. package/dist/assets/{menu-compute-D7TdiHt4.js → menu-compute-CQdeCEBO.js} +19 -19
  66. package/dist/assets/{validate-menu-DXppWUVq.js → validate-menu-BVo4fNWG.js} +14 -14
  67. package/dist/mf-menu-portal.css +1 -1
  68. package/dist/{provide-CDmXzkhz.js → provide-BGLSDsuJ.js} +99816 -99564
  69. package/dist/{useActionFeedback-Dm2HDa_2.js → useActionFeedback-CElXij1W.js} +1 -1
  70. package/package.json +1 -1
  71. package/dist/Catalog-VU3HhNro.js +0 -374
  72. package/dist/CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-Bk4FqVmx.js +0 -117
  73. package/dist/GroupList.vue_vue_type_script_setup_true_lang-DiN-wQXX.js +0 -1807
  74. package/dist/PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js +0 -41
  75. package/dist/ProductAttributeFilter.vue_vue_type_script_setup_true_lang-B2KdolJS.js +0 -7931
  76. package/dist/Publish-DTvOvFNa.js +0 -1337
  77. package/dist/Setting-Ip0pGjks.js +0 -179
  78. package/dist/TakeawayList.vue_vue_type_script_setup_true_lang-CaRR4_j3.js +0 -554
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as e, i as r, d as t, r as u, u as i } from "./app-BWwwHsWi.js";
1
+ import { F as e, i as r, d as t, r as u, u as i } from "./app-CxJjx2ma.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1124,6 +1124,10 @@ export declare const i18nMessages: {
1124
1124
  usage: string;
1125
1125
  tax_label: string;
1126
1126
  };
1127
+ card: {
1128
+ tax_calculation: string;
1129
+ auto_link: string;
1130
+ };
1127
1131
  table: {
1128
1132
  columns: {
1129
1133
  title: string;
@@ -2054,6 +2058,9 @@ export declare const i18nMessages: {
2054
2058
  placeholder: string;
2055
2059
  };
2056
2060
  };
2061
+ mobile: {
2062
+ price: string;
2063
+ };
2057
2064
  form: {
2058
2065
  saved: string;
2059
2066
  removed: string;
@@ -4513,6 +4520,10 @@ export declare const i18nMessages: {
4513
4520
  usage: string;
4514
4521
  tax_label: string;
4515
4522
  };
4523
+ card: {
4524
+ tax_calculation: string;
4525
+ auto_link: string;
4526
+ };
4516
4527
  table: {
4517
4528
  columns: {
4518
4529
  title: string;
@@ -5443,6 +5454,9 @@ export declare const i18nMessages: {
5443
5454
  placeholder: string;
5444
5455
  };
5445
5456
  };
5457
+ mobile: {
5458
+ price: string;
5459
+ };
5446
5460
  form: {
5447
5461
  saved: string;
5448
5462
  removed: string;
@@ -7902,6 +7916,10 @@ export declare const i18nMessages: {
7902
7916
  usage: string;
7903
7917
  tax_label: string;
7904
7918
  };
7919
+ card: {
7920
+ tax_calculation: string;
7921
+ auto_link: string;
7922
+ };
7905
7923
  table: {
7906
7924
  columns: {
7907
7925
  title: string;
@@ -8832,6 +8850,9 @@ export declare const i18nMessages: {
8832
8850
  placeholder: string;
8833
8851
  };
8834
8852
  };
8853
+ mobile: {
8854
+ price: string;
8855
+ };
8835
8856
  form: {
8836
8857
  saved: string;
8837
8858
  removed: string;
@@ -11291,6 +11312,10 @@ export declare const i18nMessages: {
11291
11312
  usage: string;
11292
11313
  tax_label: string;
11293
11314
  };
11315
+ card: {
11316
+ tax_calculation: string;
11317
+ auto_link: string;
11318
+ };
11294
11319
  table: {
11295
11320
  columns: {
11296
11321
  title: string;
@@ -12221,6 +12246,9 @@ export declare const i18nMessages: {
12221
12246
  placeholder: string;
12222
12247
  };
12223
12248
  };
12249
+ mobile: {
12250
+ price: string;
12251
+ };
12224
12252
  form: {
12225
12253
  saved: string;
12226
12254
  removed: string;
@@ -14680,6 +14708,10 @@ export declare const i18nMessages: {
14680
14708
  usage: string;
14681
14709
  tax_label: string;
14682
14710
  };
14711
+ card: {
14712
+ tax_calculation: string;
14713
+ auto_link: string;
14714
+ };
14683
14715
  table: {
14684
14716
  columns: {
14685
14717
  title: string;
@@ -15610,6 +15642,9 @@ export declare const i18nMessages: {
15610
15642
  placeholder: string;
15611
15643
  };
15612
15644
  };
15645
+ mobile: {
15646
+ price: string;
15647
+ };
15613
15648
  form: {
15614
15649
  saved: string;
15615
15650
  removed: string;
@@ -5,6 +5,13 @@ type __VLS_Props = {
5
5
  catalogPage?: boolean;
6
6
  /** SDK-derived scope label supplied by the catalog route. */
7
7
  heading?: string;
8
+ /**
9
+ * Rendered as a tab of the catalog editor. The main catalog's tab passes
10
+ * `catalogPage: false` (it edits the base menu) but sits in the same
11
+ * shell, where legacy has no Add-group action at all
12
+ * (`portal views/Catalog/Edit/[id].vue:187-226`).
13
+ */
14
+ inCatalogEditor?: boolean;
8
15
  };
9
16
  declare var __VLS_5: {}, __VLS_18: {}, __VLS_20: {}, __VLS_22: {};
10
17
  type __VLS_Slots = {} & {
@@ -19,6 +26,7 @@ type __VLS_Slots = {} & {
19
26
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
27
  heading: string;
21
28
  catalogPage: boolean;
29
+ inCatalogEditor: boolean;
22
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
23
31
  export default _default;
24
32
  type __VLS_WithSlots<T, S> = T & {
@@ -0,0 +1,6 @@
1
+ import type { OrderFrom } from '@feedmepos/menu-sdk';
2
+ type __VLS_Props = {
3
+ orderFrom: OrderFrom;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ type __VLS_Props = {
2
+ src: string | null | undefined;
3
+ alt: string;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -3,11 +3,13 @@ type __VLS_Props = {
3
3
  sdk: MenuSdk;
4
4
  catalogPage?: boolean;
5
5
  };
6
- declare var __VLS_4: {}, __VLS_101: {};
6
+ declare var __VLS_4: {}, __VLS_85: {}, __VLS_87: {};
7
7
  type __VLS_Slots = {} & {
8
8
  'prepend-heading'?: (props: typeof __VLS_4) => any;
9
9
  } & {
10
- navigation?: (props: typeof __VLS_101) => any;
10
+ banner?: (props: typeof __VLS_85) => any;
11
+ } & {
12
+ navigation?: (props: typeof __VLS_87) => any;
11
13
  };
12
14
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
13
15
  export default _default;
@@ -5,7 +5,7 @@ import type { PublishModule } from '@feedmepos/menu-sdk';
5
5
  * intent and read model the page actually observes.
6
6
  */
7
7
  type PublishPageSdk = {
8
- publish: Pick<PublishModule, 'restaurants' | 'progress' | 'search' | 'setRestaurantFilter' | 'selectAllRestaurants' | 'toggleRestaurantFilter' | 'setStatusFilter' | 'setSelectedRestaurants' | 'publishOne' | 'publish' | 'scheduleEditor' | 'cancelSchedule' | 'revert' | 'catalogMapping' | 'revertPreview' | 'scheduleDetails' | 'refresh'>;
8
+ publish: Pick<PublishModule, 'restaurants' | 'progress' | 'search' | 'setRestaurantFilter' | 'setStatusRule' | 'setSelectedRestaurants' | 'publishOne' | 'publish' | 'scheduleEditor' | 'cancelSchedule' | 'revert' | 'catalogMapping' | 'revertPreview' | 'scheduleDetails' | 'refresh'>;
9
9
  };
10
10
  type __VLS_Props = {
11
11
  sdk: PublishPageSdk;
@@ -0,0 +1,9 @@
1
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
+ default?: ((props: {}) => any) | undefined;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
@@ -1,6 +1,13 @@
1
1
  interface Props {
2
2
  heading: string;
3
3
  subheading?: string;
4
+ /**
5
+ * Keep the 24px page padding on phones, with no rule under the heading.
6
+ * Legacy pages that open-code their own root instead of using this layout
7
+ * (`Publish.vue:528-531`, `CatalogBinding.vue:172-175`) never drop to
8
+ * `xs:p-0`, so their content stays inset 24px on a phone (ITS-003159).
9
+ */
10
+ phonePadding?: boolean;
4
11
  }
5
12
  declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
6
13
  type __VLS_Slots = {} & {
@@ -0,0 +1,9 @@
1
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
+ default?: ((props: {}) => any) | undefined;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };