@feedmepos/mf-menu 0.31.40-prod → 0.31.41-prod

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 (90) hide show
  1. package/dist/{App-aWEH-ZEk.js → App-5Lzy8zHZ.js} +8 -8
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-jJyinQZl.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BnKXsQH-.js} +3 -3
  3. package/dist/{Catalog-BoFfFdn8.js → Catalog-s5b8V8nw.js} +8 -9
  4. package/dist/{Category-CWYbb3Jn.js → Category-BJzScJEY.js} +4 -4
  5. package/dist/{Category-DZ45uikR.js → Category-DZ-xqIMI.js} +6 -6
  6. package/dist/{CookingGuide-BU0PRWIQ.js → CookingGuide-Bkd6GPww.js} +4 -4
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Z5xsKDIE.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-B8tIjKOW.js} +1 -1
  8. package/dist/{Group-BMQDeqiS.js → Group-0b2Qiov3.js} +1 -1
  9. package/dist/{Group-C0T_uknK.js → Group-BOaCcKiI.js} +3 -3
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-DyfmY6F1.js → Group.vue_vue_type_script_setup_true_lang-DUlUfMAs.js} +8 -8
  11. package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CouimeC4.js +399 -0
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-Dl-Wvt3D.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DOvQmbrZ.js} +13 -14
  13. package/dist/{Ingredient-3lwDUQx_.js → Ingredient-ChcYUvOg.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-VLrrTkSC.js → InventoryBinding.vue_vue_type_script_setup_true_lang-DE1HkipX.js} +2 -2
  15. package/dist/LinkProductSideSheet-BdzBGYxG.js +361 -0
  16. package/dist/MenuSetting-zAAttaoA.js +618 -0
  17. package/dist/{PrintRoute-DfJ-vUAb.js → PrintRoute-T-vuO5N8.js} +4 -4
  18. package/dist/{Product-F4PoLm9v.js → Product-B5q291VF.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-DT5gffpA.js → Product.vue_vue_type_script_setup_true_lang-DLRlT10W.js} +468 -465
  20. package/dist/{ProductInternalTools-DSGU-OqU.js → ProductInternalTools-BOlc0VUR.js} +5 -5
  21. package/dist/{Products-COzW2Z4g.js → Products-Cd4Mqhm3.js} +88 -85
  22. package/dist/{Publish-CDXVWCk2.js → Publish-SuRzt-_D.js} +3 -3
  23. package/dist/{Recipe-BZx4wrcP.js → Recipe-BKrjNs5g.js} +4 -4
  24. package/dist/{Scheduler-wHCWSeU2.js → Scheduler-DnDgImLC.js} +3 -3
  25. package/dist/{ServingSequence-BbYEhDYh.js → ServingSequence-D602bVnm.js} +3 -3
  26. package/dist/{Setting-C9Tlw1Iy.js → Setting-FMT4oBYH.js} +44 -45
  27. package/dist/{Subcategory-C8AwfrKb.js → Subcategory-CpYmjAvA.js} +4 -4
  28. package/dist/{Takeaway-t1053wg2.js → Takeaway-BXh3iuME.js} +1 -1
  29. package/dist/{Takeaway-DaEUn-yM.js → Takeaway-D4hjN5z5.js} +4 -4
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-7XycP5fU.js → Takeaway.vue_vue_type_script_setup_true_lang-By1f-FCO.js} +5 -5
  31. package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-CZUwa5C_.js +440 -0
  32. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ci6iqOry.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DfjtfcCh.js} +604 -600
  33. package/dist/{Unit-CnqptGCz.js → Unit-CsjHkV-h.js} +2 -2
  34. package/dist/{Variant-DiOYOwJs.js → Variant-Djra14ZX.js} +3 -3
  35. package/dist/{_id_-BSfU16VO.js → _id_-BXkqoCzB.js} +78 -75
  36. package/dist/{app-Ddb81PNo.js → app-CVqWWV4x.js} +278 -278
  37. package/dist/{LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js → app-CiBqmBzO.js} +2120 -2084
  38. package/dist/{app-Cou6qPF2.js → app-PhBJNss_.js} +1 -1
  39. package/dist/app.js +1 -1
  40. package/dist/apps/mf-menu/src/api/menu.d.ts +2 -1
  41. package/dist/apps/mf-menu/src/app.d.ts +144 -0
  42. package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierRuleEditor.vue.d.ts +36 -0
  43. package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesSelector.vue.d.ts +9 -3
  44. package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +294 -4
  45. package/dist/apps/mf-menu/src/composable/attributes.d.ts +26 -0
  46. package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +40 -0
  47. package/dist/apps/mf-menu/src/helper/import-export.d.ts +285 -0
  48. package/dist/apps/mf-menu/src/helper/menu.d.ts +285 -0
  49. package/dist/apps/mf-menu/src/manager/menu/item.d.ts +285 -0
  50. package/dist/apps/mf-menu/src/stores/menu.d.ts +293 -3
  51. package/dist/apps/mf-menu/src/utils/array.d.ts +1 -0
  52. package/dist/apps/mf-menu/src/utils/customAttributes.d.ts +12 -0
  53. package/dist/apps/mf-menu/src/views/MenuSetting/LinkProductRuleGroups.vue.d.ts +2 -0
  54. package/dist/apps/mf-menu/src/views/MenuSetting/RuleGroupSideSheet.vue.d.ts +176 -0
  55. package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +166 -0
  56. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  57. package/dist/assets/linked-status-WlVAcpRn.js +13 -0
  58. package/dist/assets/override-menu-__h4D7ac.js +13 -0
  59. package/dist/assets/validate-menu-DyPuzLRg.js +13 -0
  60. package/dist/{catalog-DSuJhsUb.js → catalog-C_TuQLxq.js} +1 -1
  61. package/dist/{catalogSetting-C3gEw9ov.js → catalogSetting-BUlJu6hG.js} +1 -1
  62. package/dist/{category-CwWq3KCE.js → category-CmVw1Kj-.js} +1 -1
  63. package/dist/{currency-g45Sh-t6.js → currency-OhOTnAqk.js} +1 -1
  64. package/dist/customAttributes-fpOfmGnw.js +180 -0
  65. package/dist/{dayjs.min-g3eN5z-V.js → dayjs.min-CDhP-7L5.js} +1 -1
  66. package/dist/{index-QsLFbxyG.js → index-BJZEWB5C.js} +4 -4
  67. package/dist/{index-BLQCYEc6.js → index-DHAYGEPp.js} +7 -8
  68. package/dist/{index-0yRUi7LL.js → index-DtwHmS38.js} +1 -1
  69. package/dist/index-N3cGc8ex.js +245 -0
  70. package/dist/{item-BvvQ9urP.js → item-BELLphR0.js} +16 -16
  71. package/dist/{jszip.min-DzdUiaR4.js → jszip.min-CZtcGb7A.js} +353 -353
  72. package/dist/{menu-QrVg2Ph7.js → menu-Csyr6W9A.js} +7 -7
  73. package/dist/{menu-DFNvhoNQ.js → menu-DS_ERmBf.js} +23355 -23206
  74. package/dist/{menuV2-Ezf_jW40.js → menuV2-DKzAZ4Ss.js} +151 -146
  75. package/dist/mf-menu.css +1 -1
  76. package/dist/{priceTier-zENsn3P_.js → priceTier-CYWS5lDS.js} +1 -1
  77. package/dist/{scheduler-BuwGSv6A.js → scheduler-DI5dXC7Y.js} +8 -8
  78. package/dist/{subcategory-O3L_zCJA.js → subcategory-D_ao-IV9.js} +2 -2
  79. package/dist/{toExcel-CpRy_4nG.js → toExcel-Cml-rkJQ.js} +2 -2
  80. package/dist/{unit-Ct_7Hfa2.js → unit-BWDp2LkV.js} +42 -41
  81. package/package.json +3 -3
  82. package/dist/FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js +0 -50
  83. package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D6qro5w_.js +0 -367
  84. package/dist/LinkProductSideSheet-LDZjKX95.js +0 -297
  85. package/dist/MenuSetting-AhutsCVy.js +0 -185
  86. package/dist/Thumbnail.vue_vue_type_script_setup_true_lang-B7oLH9cP.js +0 -431
  87. package/dist/assets/linked-status-B_crHhZH.js +0 -24
  88. package/dist/assets/override-menu-BmlCEpHH.js +0 -24
  89. package/dist/assets/validate-menu-CF-psoB-.js +0 -24
  90. package/dist/index-0Q5T9VZV.js +0 -214
@@ -1427,25 +1427,82 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1427
1427
  usePriceTiers: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1428
1428
  priceTierRules: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1429
1429
  priceTier: z.ZodString;
1430
+ restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1431
+ restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1432
+ restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1433
+ }, "strip", z.ZodTypeAny, {
1434
+ restaurantAttributes?: any;
1435
+ restaurantCustomAttributes?: any;
1436
+ }, {
1437
+ restaurantAttributes?: any;
1438
+ restaurantCustomAttributes?: any;
1439
+ }>>>;
1430
1440
  restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1431
1441
  }, "strip", z.ZodTypeAny, {
1432
1442
  restaurantAttributes?: any;
1443
+ restaurantRule?: {
1444
+ restaurantAttributes?: any;
1445
+ restaurantCustomAttributes?: any;
1446
+ } | null | undefined;
1433
1447
  priceTier: string;
1434
1448
  }, {
1435
1449
  restaurantAttributes?: any;
1450
+ restaurantRule?: {
1451
+ restaurantAttributes?: any;
1452
+ restaurantCustomAttributes?: any;
1453
+ } | null | undefined;
1436
1454
  priceTier: string;
1437
1455
  }>, "many">>>;
1438
1456
  linkItemRules: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1439
1457
  orderFrom: z.ZodEnum<["ALL", "POS_ONLY", "NONE"]>;
1458
+ ruleGroupIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1459
+ restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1460
+ restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1461
+ restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ restaurantAttributes?: any;
1464
+ restaurantCustomAttributes?: any;
1465
+ }, {
1466
+ restaurantAttributes?: any;
1467
+ restaurantCustomAttributes?: any;
1468
+ }>>>;
1469
+ itemRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1470
+ itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1471
+ itemCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1472
+ }, "strip", z.ZodTypeAny, {
1473
+ itemAttributes?: any;
1474
+ itemCustomAttributes?: any;
1475
+ }, {
1476
+ itemAttributes?: any;
1477
+ itemCustomAttributes?: any;
1478
+ }>>>;
1440
1479
  restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1441
1480
  itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1442
1481
  }, "strip", z.ZodTypeAny, {
1443
1482
  restaurantAttributes?: any;
1444
1483
  itemAttributes?: any;
1484
+ restaurantRule?: {
1485
+ restaurantAttributes?: any;
1486
+ restaurantCustomAttributes?: any;
1487
+ } | null | undefined;
1488
+ ruleGroupIds?: string[] | null | undefined;
1489
+ itemRule?: {
1490
+ itemAttributes?: any;
1491
+ itemCustomAttributes?: any;
1492
+ } | null | undefined;
1445
1493
  orderFrom: "ALL" | "POS_ONLY" | "NONE";
1446
1494
  }, {
1447
1495
  restaurantAttributes?: any;
1448
1496
  itemAttributes?: any;
1497
+ restaurantRule?: {
1498
+ restaurantAttributes?: any;
1499
+ restaurantCustomAttributes?: any;
1500
+ } | null | undefined;
1501
+ ruleGroupIds?: string[] | null | undefined;
1502
+ itemRule?: {
1503
+ itemAttributes?: any;
1504
+ itemCustomAttributes?: any;
1505
+ } | null | undefined;
1449
1506
  orderFrom: "ALL" | "POS_ONLY" | "NONE";
1450
1507
  }>, "many">>>;
1451
1508
  }, "strip", z.ZodTypeAny, {
@@ -1518,11 +1575,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1518
1575
  usePriceTiers?: string[] | null | undefined;
1519
1576
  priceTierRules?: {
1520
1577
  restaurantAttributes?: any;
1578
+ restaurantRule?: {
1579
+ restaurantAttributes?: any;
1580
+ restaurantCustomAttributes?: any;
1581
+ } | null | undefined;
1521
1582
  priceTier: string;
1522
1583
  }[] | null | undefined;
1523
1584
  linkItemRules?: {
1524
1585
  restaurantAttributes?: any;
1525
1586
  itemAttributes?: any;
1587
+ restaurantRule?: {
1588
+ restaurantAttributes?: any;
1589
+ restaurantCustomAttributes?: any;
1590
+ } | null | undefined;
1591
+ ruleGroupIds?: string[] | null | undefined;
1592
+ itemRule?: {
1593
+ itemAttributes?: any;
1594
+ itemCustomAttributes?: any;
1595
+ } | null | undefined;
1526
1596
  orderFrom: "ALL" | "POS_ONLY" | "NONE";
1527
1597
  }[] | null | undefined;
1528
1598
  name: string;
@@ -1738,11 +1808,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1738
1808
  usePriceTiers?: string[] | null | undefined;
1739
1809
  priceTierRules?: {
1740
1810
  restaurantAttributes?: any;
1811
+ restaurantRule?: {
1812
+ restaurantAttributes?: any;
1813
+ restaurantCustomAttributes?: any;
1814
+ } | null | undefined;
1741
1815
  priceTier: string;
1742
1816
  }[] | null | undefined;
1743
1817
  linkItemRules?: {
1744
1818
  restaurantAttributes?: any;
1745
1819
  itemAttributes?: any;
1820
+ restaurantRule?: {
1821
+ restaurantAttributes?: any;
1822
+ restaurantCustomAttributes?: any;
1823
+ } | null | undefined;
1824
+ ruleGroupIds?: string[] | null | undefined;
1825
+ itemRule?: {
1826
+ itemAttributes?: any;
1827
+ itemCustomAttributes?: any;
1828
+ } | null | undefined;
1746
1829
  orderFrom: "ALL" | "POS_ONLY" | "NONE";
1747
1830
  }[] | null | undefined;
1748
1831
  name: string;
@@ -3339,25 +3422,82 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3339
3422
  usePriceTiers: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3340
3423
  priceTierRules: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3341
3424
  priceTier: z.ZodString;
3425
+ restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3426
+ restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
3427
+ restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
3428
+ }, "strip", z.ZodTypeAny, {
3429
+ restaurantAttributes?: any;
3430
+ restaurantCustomAttributes?: any;
3431
+ }, {
3432
+ restaurantAttributes?: any;
3433
+ restaurantCustomAttributes?: any;
3434
+ }>>>;
3342
3435
  restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
3343
3436
  }, "strip", z.ZodTypeAny, {
3344
3437
  restaurantAttributes?: any;
3438
+ restaurantRule?: {
3439
+ restaurantAttributes?: any;
3440
+ restaurantCustomAttributes?: any;
3441
+ } | null | undefined;
3345
3442
  priceTier: string;
3346
3443
  }, {
3347
3444
  restaurantAttributes?: any;
3445
+ restaurantRule?: {
3446
+ restaurantAttributes?: any;
3447
+ restaurantCustomAttributes?: any;
3448
+ } | null | undefined;
3348
3449
  priceTier: string;
3349
3450
  }>, "many">>>;
3350
3451
  linkItemRules: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3351
3452
  orderFrom: z.ZodEnum<["ALL", "POS_ONLY", "NONE"]>;
3453
+ ruleGroupIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3454
+ restaurantRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3455
+ restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
3456
+ restaurantCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
3457
+ }, "strip", z.ZodTypeAny, {
3458
+ restaurantAttributes?: any;
3459
+ restaurantCustomAttributes?: any;
3460
+ }, {
3461
+ restaurantAttributes?: any;
3462
+ restaurantCustomAttributes?: any;
3463
+ }>>>;
3464
+ itemRule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3465
+ itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
3466
+ itemCustomAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
3467
+ }, "strip", z.ZodTypeAny, {
3468
+ itemAttributes?: any;
3469
+ itemCustomAttributes?: any;
3470
+ }, {
3471
+ itemAttributes?: any;
3472
+ itemCustomAttributes?: any;
3473
+ }>>>;
3352
3474
  restaurantAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
3353
3475
  itemAttributes: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
3354
3476
  }, "strip", z.ZodTypeAny, {
3355
3477
  restaurantAttributes?: any;
3356
3478
  itemAttributes?: any;
3479
+ restaurantRule?: {
3480
+ restaurantAttributes?: any;
3481
+ restaurantCustomAttributes?: any;
3482
+ } | null | undefined;
3483
+ ruleGroupIds?: string[] | null | undefined;
3484
+ itemRule?: {
3485
+ itemAttributes?: any;
3486
+ itemCustomAttributes?: any;
3487
+ } | null | undefined;
3357
3488
  orderFrom: "ALL" | "POS_ONLY" | "NONE";
3358
3489
  }, {
3359
3490
  restaurantAttributes?: any;
3360
3491
  itemAttributes?: any;
3492
+ restaurantRule?: {
3493
+ restaurantAttributes?: any;
3494
+ restaurantCustomAttributes?: any;
3495
+ } | null | undefined;
3496
+ ruleGroupIds?: string[] | null | undefined;
3497
+ itemRule?: {
3498
+ itemAttributes?: any;
3499
+ itemCustomAttributes?: any;
3500
+ } | null | undefined;
3361
3501
  orderFrom: "ALL" | "POS_ONLY" | "NONE";
3362
3502
  }>, "many">>>;
3363
3503
  }, "strip", z.ZodTypeAny, {
@@ -3430,11 +3570,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3430
3570
  usePriceTiers?: string[] | null | undefined;
3431
3571
  priceTierRules?: {
3432
3572
  restaurantAttributes?: any;
3573
+ restaurantRule?: {
3574
+ restaurantAttributes?: any;
3575
+ restaurantCustomAttributes?: any;
3576
+ } | null | undefined;
3433
3577
  priceTier: string;
3434
3578
  }[] | null | undefined;
3435
3579
  linkItemRules?: {
3436
3580
  restaurantAttributes?: any;
3437
3581
  itemAttributes?: any;
3582
+ restaurantRule?: {
3583
+ restaurantAttributes?: any;
3584
+ restaurantCustomAttributes?: any;
3585
+ } | null | undefined;
3586
+ ruleGroupIds?: string[] | null | undefined;
3587
+ itemRule?: {
3588
+ itemAttributes?: any;
3589
+ itemCustomAttributes?: any;
3590
+ } | null | undefined;
3438
3591
  orderFrom: "ALL" | "POS_ONLY" | "NONE";
3439
3592
  }[] | null | undefined;
3440
3593
  name: string;
@@ -3650,11 +3803,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3650
3803
  usePriceTiers?: string[] | null | undefined;
3651
3804
  priceTierRules?: {
3652
3805
  restaurantAttributes?: any;
3806
+ restaurantRule?: {
3807
+ restaurantAttributes?: any;
3808
+ restaurantCustomAttributes?: any;
3809
+ } | null | undefined;
3653
3810
  priceTier: string;
3654
3811
  }[] | null | undefined;
3655
3812
  linkItemRules?: {
3656
3813
  restaurantAttributes?: any;
3657
3814
  itemAttributes?: any;
3815
+ restaurantRule?: {
3816
+ restaurantAttributes?: any;
3817
+ restaurantCustomAttributes?: any;
3818
+ } | null | undefined;
3819
+ ruleGroupIds?: string[] | null | undefined;
3820
+ itemRule?: {
3821
+ itemAttributes?: any;
3822
+ itemCustomAttributes?: any;
3823
+ } | null | undefined;
3658
3824
  orderFrom: "ALL" | "POS_ONLY" | "NONE";
3659
3825
  }[] | null | undefined;
3660
3826
  name: string;