@feedmepos/mf-menu 0.32.63 → 0.32.64

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 (72) hide show
  1. package/dist/{App-BBbO4JIS.js → App-W8bH6kiT.js} +6 -6
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-CbxSzHxq.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DvHmwIP2.js} +7 -7
  3. package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-7WuKnUmN.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-2nFIpZv4.js} +3 -3
  4. package/dist/{Catalog-BmegfFgh.js → Catalog-pywklogh.js} +6 -6
  5. package/dist/{Category-Ddyf3rse.js → Category-CLs58F_F.js} +4 -4
  6. package/dist/{Category-C7Ue-fUU.js → Category-UMDcymDA.js} +4 -4
  7. package/dist/{CookingGuide-CLgt2sOm.js → CookingGuide-Cefv83hr.js} +5 -5
  8. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-COeFm_ww.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-C9CvjWEO.js} +1 -1
  9. package/dist/{Group-CRKR1Ykj.js → Group-CfxNpgp7.js} +1 -1
  10. package/dist/{Group-CYPqL4lj.js → Group-Ujeo9noG.js} +3 -3
  11. package/dist/{Group.vue_vue_type_script_setup_true_lang-NuuNUptx.js → Group.vue_vue_type_script_setup_true_lang-C-eZ5PGS.js} +7 -7
  12. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B3C6VTGC.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-qTEz4XWJ.js} +5 -5
  13. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-VtcRq2HL.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Kf10i_T2.js} +6 -6
  14. package/dist/{Ingredient-DRf6aqJJ.js → Ingredient-CsHbFizZ.js} +4 -4
  15. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-Bybxf9pl.js → InventoryBinding.vue_vue_type_script_setup_true_lang-NKoRT-LI.js} +2 -2
  16. package/dist/{LinkProductSideSheet-HDmjKJSh.js → LinkProductSideSheet-B-Trz4a6.js} +4 -4
  17. package/dist/{MenuSetting-BGbL4Z6H.js → MenuSetting-BNWjJAp4.js} +7 -7
  18. package/dist/{OrderPacing-DF_HE2Cg.js → OrderPacing-DhKmymC7.js} +5 -5
  19. package/dist/{PrintRoute-CnXWRLaD.js → PrintRoute-DaIY94Ts.js} +5 -5
  20. package/dist/{Product-Iyo2jhYY.js → Product-SBeMVZBU.js} +1 -1
  21. package/dist/{Product.vue_vue_type_script_setup_true_lang-HVRVPZqe.js → Product.vue_vue_type_script_setup_true_lang-CDoJwAFZ.js} +13 -13
  22. package/dist/{ProductInternalTools-BInH19jg.js → ProductInternalTools-BAHMukHo.js} +6 -6
  23. package/dist/{Products-BIhb7G8B.js → Products-CvUK4ngP.js} +70 -70
  24. package/dist/{Publish-CKmI_Dm1.js → Publish-BqI8LP_Y.js} +4 -4
  25. package/dist/{Recipe-BoVvW9JJ.js → Recipe--LCvPofA.js} +5 -5
  26. package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-wMFM8TLf.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-DaqG3ZEC.js} +1 -1
  27. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-BxYsaZfB.js → RuleView.vue_vue_type_script_setup_true_lang-DsCNLIVd.js} +3 -3
  28. package/dist/{Scheduler-QZtG4Vyg.js → Scheduler-BkXNha9_.js} +3 -3
  29. package/dist/{ServingSequence-BsCeJ9tY.js → ServingSequence-DvF8yZTp.js} +3 -3
  30. package/dist/{Setting-C4zVAUUs.js → Setting-dfdQhacG.js} +5 -5
  31. package/dist/{Subcategory-Cqj_0Zcf.js → Subcategory-DoiEnCY-.js} +6 -6
  32. package/dist/{Takeaway-Bg_Ulvvu.js → Takeaway-CfTKoZgq.js} +1 -1
  33. package/dist/{Takeaway-hlLosEp5.js → Takeaway-Pyol2JIm.js} +4 -4
  34. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-VokixlT7.js → Takeaway.vue_vue_type_script_setup_true_lang-A2Uz3Vx5.js} +10 -10
  35. package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-Cqt2GuoP.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-BAMLQtFW.js} +1 -1
  36. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-D-gqJRTs.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-Bx6Dfb9q.js} +2 -2
  37. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BgfluI5H.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Bex1NCnU.js} +14 -14
  38. package/dist/{Unit-DcXSwJZn.js → Unit-ODy76xeS.js} +2 -2
  39. package/dist/{Variant-B0gnJndI.js → Variant-BFUqQyub.js} +3 -3
  40. package/dist/{_id_-Do06Eogr.js → _id_-DQO6Zi8b.js} +9 -9
  41. package/dist/{app-CoLRt3Jh.js → app-BNF3d7ks.js} +1 -1
  42. package/dist/{app-b2SIk1B-.js → app-BNqI06Lw.js} +37 -37
  43. package/dist/app.js +1 -1
  44. package/dist/apps/mf-menu/src/app.d.ts +0 -5
  45. package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/productImages.d.ts +6 -3
  46. package/dist/apps/mf-menu/src/components/feature/TreeEditor/image/ProductImageField.vue.d.ts +6 -6
  47. package/dist/assets/{override-menu-BU4SgNGf.js → linked-status-OJYsf1K1.js} +4 -4
  48. package/dist/assets/{menu-export-CTANUT4c.js → menu-export-oSHHIKfH.js} +34 -34
  49. package/dist/assets/{linked-status-D83s5iw2.js → override-menu-BCrsilnp.js} +4 -4
  50. package/dist/assets/{validate-menu-C5Oth47D.js → validate-menu-CoDW8e4r.js} +3 -3
  51. package/dist/{catalog-D7j4_Q_e.js → catalog-BiUOGVhu.js} +1 -1
  52. package/dist/{catalogSetting-g3y-LVDw.js → catalogSetting-Dt03eB79.js} +1 -1
  53. package/dist/{currency-tR7w0ukg.js → currency-I2Plgz6g.js} +1 -1
  54. package/dist/{dayjs.min-D1MKpV8B.js → dayjs.min-CVgq1MI5.js} +2 -2
  55. package/dist/{discardConfirm-BaKm8467.js → discardConfirm-CU5H7XLz.js} +1 -1
  56. package/dist/{index-LnI6_0IZ.js → index-D79td5bo.js} +6 -6
  57. package/dist/{index-CQkYxKQd.js → index-OUaL4kl7.js} +5 -5
  58. package/dist/{index.vue_vue_type_script_setup_true_lang-P7O7STU9.js → index.vue_vue_type_script_setup_true_lang-BJ5dPd5h.js} +3233 -3223
  59. package/dist/{item-43Eu4ZXr.js → item-BPryyFAB.js} +2107 -2130
  60. package/dist/{jszip.min-B_t4VNZS.js → jszip.min-D3CS7h7J.js} +384 -384
  61. package/dist/{linkProducts-8GEwo-Eo.js → linkProducts-ClCfYWFx.js} +4 -4
  62. package/dist/{memberPricing-DNqHrCnd.js → memberPricing-CLr-Y_7e.js} +1 -1
  63. package/dist/{menu-CjpQrL-3.js → menu-gBc-za7C.js} +1 -1
  64. package/dist/{menuV2-CiFcZLoW.js → menuV2-D7O1K9Ej.js} +3 -3
  65. package/dist/mf-menu.css +1 -1
  66. package/dist/{order_pacing-DXKwdyi5.js → order_pacing-DVn2Kb9a.js} +5 -5
  67. package/dist/{priceTier-BVEITapN.js → priceTier-33L1xIZW.js} +1 -1
  68. package/dist/{rules-BEYt9OD5.js → rules-C7ujXDzl.js} +3 -3
  69. package/dist/{scheduler-7EG7twK8.js → scheduler-Dzj2Ed1a.js} +5 -5
  70. package/dist/{toExcel-VC6zCquB.js → toExcel-CGOr53pl.js} +2 -2
  71. package/dist/{unit-C2SwnTZh.js → unit-CfREeFuX.js} +3 -3
  72. package/package.json +1 -1
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-b2SIk1B-.js";
1
+ import { F as e, i as r, j as o, o as t, r as i, u as p } from "./app-BNqI06Lw.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1970,7 +1970,6 @@ export declare const i18nMessages: {
1970
1970
  add_file: string;
1971
1971
  cover_badge: string;
1972
1972
  staged_hint: string;
1973
- legacy_hint: string;
1974
1973
  uploading: string;
1975
1974
  uploaded: string;
1976
1975
  manage: {
@@ -4005,7 +4004,6 @@ export declare const i18nMessages: {
4005
4004
  add_file: string;
4006
4005
  cover_badge: string;
4007
4006
  staged_hint: string;
4008
- legacy_hint: string;
4009
4007
  uploading: string;
4010
4008
  uploaded: string;
4011
4009
  manage: {
@@ -6041,7 +6039,6 @@ export declare const i18nMessages: {
6041
6039
  add_file: string;
6042
6040
  cover_badge: string;
6043
6041
  staged_hint: string;
6044
- legacy_hint: string;
6045
6042
  uploading: string;
6046
6043
  uploaded: string;
6047
6044
  manage: {
@@ -8076,7 +8073,6 @@ export declare const i18nMessages: {
8076
8073
  add_file: string;
8077
8074
  cover_badge: string;
8078
8075
  staged_hint: string;
8079
- legacy_hint: string;
8080
8076
  uploading: string;
8081
8077
  uploaded: string;
8082
8078
  manage: {
@@ -10100,7 +10096,6 @@ export declare const i18nMessages: {
10100
10096
  add_file: string;
10101
10097
  cover_badge: string;
10102
10098
  staged_hint: string;
10103
- legacy_hint: string;
10104
10099
  uploading: string;
10105
10100
  uploaded: string;
10106
10101
  manage: {
@@ -10,11 +10,14 @@ import { type AspectRatio } from "@/api/media";
10
10
  export declare const MAX_IMAGE_BYTES: number;
11
11
  /**
12
12
  * Sentinel id for a synthetic `FdoMenuV4ItemImage` seeded from the legacy `thumbnail`
13
- * field. It never reaches media-service delete and manage are no-ops for it so it
14
- * only appears on the frontend while the item still has no real `images` array. Once the
15
- * first real image is uploaded the legacy entry is purged from the emitted array.
13
+ * field while aspect ratios are disabled. Its bytes stay at the legacy URL rather than
14
+ * reaching media-service, but it otherwise participates in cover selection like any
15
+ * other image. Before aspect ratios are enabled, data migration replaces it with a
16
+ * real media-service image.
16
17
  */
17
18
  export declare const LEGACY_IMAGE_ID = "__legacy__";
19
+ /** The synthetic entry shown — and, once the gallery changes, saved — for a legacy `thumbnail`. */
20
+ export declare function legacyProductImage(thumbnail: string): FdoMenuV4ItemImage;
18
21
  /** media-service reads dimensions off the bytes, which it cannot do for gif. */
19
22
  export declare const ACCEPTED_IMAGE_TYPES: string[];
20
23
  /**
@@ -19,9 +19,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
19
19
  coverOnly?: boolean | undefined;
20
20
  /**
21
21
  * Legacy single-image URL from the `thumbnail` field. When set and modelValue is
22
- * null (the item predates multi-image), a synthetic read-only tile is shown so the
23
- * merchant can see and replace — the existing photo. The tile never reaches
24
- * media-service and is dropped from the emitted array the moment a real image lands.
22
+ * null (the item predates multi-image), a synthetic tile is shown and follows the
23
+ * same cover-management flow as regular images. The tile itself never reaches
24
+ * media-service; enabling aspect ratios requires migration before this UI loads.
25
25
  */
26
26
  legacyThumbnail?: string | null | undefined;
27
27
  /**
@@ -58,9 +58,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
58
58
  coverOnly?: boolean | undefined;
59
59
  /**
60
60
  * Legacy single-image URL from the `thumbnail` field. When set and modelValue is
61
- * null (the item predates multi-image), a synthetic read-only tile is shown so the
62
- * merchant can see and replace — the existing photo. The tile never reaches
63
- * media-service and is dropped from the emitted array the moment a real image lands.
61
+ * null (the item predates multi-image), a synthetic tile is shown and follows the
62
+ * same cover-management flow as regular images. The tile itself never reaches
63
+ * media-service; enabling aspect ratios requires migration before this UI loads.
64
64
  */
65
65
  legacyThumbnail?: string | null | undefined;
66
66
  /**