@feedmepos/mf-inventory-portal 1.2.55-dev.1 → 1.2.56-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 (114) hide show
  1. package/dist/{App-Dr4bSbWV.js → App-Dlnr4iYC.js} +3 -3
  2. package/dist/{ApprovalView-BrUi6das.js → ApprovalView-Txmz-hCz.js} +5 -5
  3. package/dist/{BindingsDialog-DtsEDaFx.js → BindingsDialog-BXnuWCaK.js} +5 -5
  4. package/dist/{BindingsPicker-BDSimsxV.js → BindingsPicker-CO2_vfjx.js} +3 -3
  5. package/dist/{BindingsTable-ArpmNkQm.js → BindingsTable-amypZb8r.js} +5 -5
  6. package/dist/{ClosingDraftView-D7qz1YGt.js → ClosingDraftView-Kegm5V38.js} +629 -622
  7. package/dist/{ClosingHistoryView-ND9smQRb.js → ClosingHistoryView-D9VXx7c6.js} +36 -36
  8. package/dist/{ClosingTemplateView--1tzOPIu.js → ClosingTemplateView-PYKa8KDQ.js} +14 -14
  9. package/dist/{DeliveryOrderPrintPreview-Ctv1Qp_a.js → DeliveryOrderPrintPreview-BBUliD2T.js} +7 -7
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-lA-iPoWZ.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DhJjC8RN.js} +17 -17
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-UJewH4Il.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D0z-41dr.js} +2 -2
  12. package/dist/{FmMultiselectDialog-Br5_D-b5.js → FmMultiselectDialog-CswtC1AP.js} +16 -16
  13. package/dist/{FmMultiselectDialog-BrJlUxMZ.js → FmMultiselectDialog-DTYS42tQ.js} +1 -1
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BvIdnKjl.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DXkTWOFj.js} +11 -11
  15. package/dist/{ImportView-fEnHrPWZ.js → ImportView-DvECDSkN.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVELkyVY.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Dg0gQJFw.js} +1 -1
  17. package/dist/{IngredientGroupView-B1owkM3C.js → IngredientGroupView-PYLW-jdb.js} +5 -5
  18. package/dist/{IngredientsView-BTKXnnw5.js → IngredientsView-fzMFu5Kd.js} +14 -14
  19. package/dist/{IntegrationView-C2jarXxh.js → IntegrationView-BJraR9yF.js} +12 -12
  20. package/dist/{InventoryBindingForm-Gq8XfKbC.js → InventoryBindingForm-BCLg-OVi.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BVkTXQvA.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BAoFz9Xy.js} +14 -14
  22. package/dist/{InventoryBindingSummary-CqQu65hi.js → InventoryBindingSummary-BaihKVNj.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DIukT297.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-sxY8hdeR.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D2aU4Ij2.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BhOwDBiq.js} +2 -2
  25. package/dist/{PublishView-CBYg-KST.js → PublishView-BMmcC0Vq.js} +8 -8
  26. package/dist/{PurchaseOrderPrintPreview-C_jrGksW.js → PurchaseOrderPrintPreview-BWl9FIys.js} +11 -11
  27. package/dist/{ReceiveRequestView-iawt5dnN.js → ReceiveRequestView-Cn5w0cDy.js} +19 -19
  28. package/dist/RecipeView-BW5KCmkx.js +1557 -0
  29. package/dist/{StockView-oSkKCORB.js → StockView-oxOQh8eg.js} +116 -116
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BJ3gnpTq.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-JGzokQMQ.js} +1 -1
  31. package/dist/{SupplierView-tipIYgX7.js → SupplierView-TSbv1g43.js} +11 -11
  32. package/dist/{SurchargeView-CW1lsyEC.js → SurchargeView-CZDaMAk2.js} +6 -6
  33. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-B3FZqxjr.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BH90OuDB.js} +2 -2
  34. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D86rTw7c.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D0geyvW9.js} +1 -1
  35. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-cGzs-dHw.js → TransferDetails.vue_vue_type_script_setup_true_lang-Dxm9e7s0.js} +72 -72
  36. package/dist/{TransferTemplateView-dSJSgnil.js → TransferTemplateView-Ds4UfF6z.js} +15 -15
  37. package/dist/{UnitView-VHi5WMrF.js → UnitView-DNfslwNA.js} +6 -6
  38. package/dist/{WarehouseView-DLZaux-w.js → WarehouseView-DkcPy1mF.js} +5 -5
  39. package/dist/{WastageTemplateView-KyvwCkdu.js → WastageTemplateView-CP_sQsdU.js} +60 -60
  40. package/dist/api/inventory.d.ts +126 -36
  41. package/dist/api/netsuite.d.ts +8 -1
  42. package/dist/{app-Cq2T5z21.js → app-Do7d9F2j.js} +7340 -6379
  43. package/dist/app.d.ts +200 -0
  44. package/dist/app.js +1 -1
  45. package/dist/{closing-template-TwdeC6qT.js → closing-template-BidraMN0.js} +1 -1
  46. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +37 -1
  47. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +14 -0
  48. package/dist/components/shell/inventory/binding-ui.vue.d.ts +16 -1
  49. package/dist/{date2-Dunl1OWI.js → date2-xmQqiCBU.js} +1 -1
  50. package/dist/{dayjs.min-D_81k3gd.js → dayjs.min-C2InbamH.js} +16 -16
  51. package/dist/{decimal-B9DLzi9Y.js → decimal-BHD_uD50.js} +2 -2
  52. package/dist/{defineDeepModel-B15nBS96.js → defineDeepModel-CoBQILOz.js} +1 -1
  53. package/dist/{duplicate-template-BSxFsv2u.js → duplicate-template-BfJ6g_ux.js} +1 -1
  54. package/dist/{feature-KwyjpPTq.js → feature-BsP8KV0O.js} +94 -89
  55. package/dist/{format-time-from-id-BfL9V23H.js → format-time-from-id-CLLM4KoK.js} +1 -1
  56. package/dist/{format-unit-display-BfSLhflE.js → format-unit-display-BLtS1XcY.js} +10 -10
  57. package/dist/{import-export.helper-TUsgMxew.js → import-export.helper-DQvkoWnj.js} +7 -7
  58. package/dist/{index-C2H5HeFF.js → index-CUm44l1O.js} +1 -1
  59. package/dist/{index-DTnKa-sF.js → index-CrS7Yig1.js} +1471 -1412
  60. package/dist/{index-CXtJlhZZ.js → index-p8EMSeUp.js} +3 -3
  61. package/dist/{lodash-DRR2nS2T.js → lodash-BNImU2Ov.js} +1 -1
  62. package/dist/{netsuite-CAFiEoX5.js → netsuite-DpB7HK5Q.js} +60 -60
  63. package/dist/{purchase-order-template-CSJXceBK.js → purchase-order-template-DgbM99CO.js} +1 -1
  64. package/dist/{rules-BdFLL1aa.js → rules-CmGXcEkE.js} +18 -18
  65. package/dist/{stock-B80FaSS2.js → stock-C1-SWNBT.js} +1 -1
  66. package/dist/{stock-CgsgvX9b.js → stock-CUjopFIE.js} +3 -3
  67. package/dist/stores/feature.d.ts +2 -0
  68. package/dist/stores/integration/netsuite.d.ts +8 -1
  69. package/dist/stores/inventory.d.ts +119 -30
  70. package/dist/{supplier-BsycjnD1.js → supplier-BLGyTOqT.js} +2 -2
  71. package/dist/{surcharge-BH6kETCu.js → surcharge-BA-bc8RT.js} +1 -1
  72. package/dist/tsconfig.app.tsbuildinfo +1 -1
  73. package/dist/{use-ingredient-select-dialog-B2cFOc3t.js → use-ingredient-select-dialog-BDMeEnJC.js} +2 -2
  74. package/dist/{use-inventory-binding-dialog-CKUtJDHW.js → use-inventory-binding-dialog-CmAOk0d6.js} +2 -2
  75. package/dist/{use-template-enabled-locations-2-tPL4lEZ_.js → use-template-enabled-locations-2-DSQY7vNB.js} +2 -2
  76. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +64 -8
  77. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +192 -24
  78. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -1
  79. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +96 -12
  80. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +96 -12
  81. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
  82. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +14 -0
  83. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -4
  84. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +28 -0
  85. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +169 -0
  86. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +43 -0
  87. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +25 -0
  88. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +125 -0
  89. package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +129 -0
  90. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +30 -0
  91. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +4 -0
  92. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -1
  93. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +16 -2
  94. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +33 -5
  95. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +16 -2
  96. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +32 -4
  97. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
  98. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +41 -6
  99. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +246 -36
  100. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +287 -42
  101. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +16 -0
  102. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +16 -2
  103. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +16 -2
  104. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +16 -2
  105. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +16 -2
  106. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -1
  107. package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +24 -3
  108. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -12
  109. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -12
  110. package/dist/{vue-i18n-BhCaMx-9.js → vue-i18n-CIhYwCeG.js} +321 -321
  111. package/dist/{xlsx-DJaY2xSF.js → xlsx-BcQjo8NU.js} +398 -398
  112. package/dist/{xlsx.util-CZq_uKdw.js → xlsx.util-GOcrvAJZ.js} +1 -1
  113. package/package.json +1 -1
  114. package/dist/RecipeView-Dv5BTxLT.js +0 -646
package/dist/app.d.ts CHANGED
@@ -3,6 +3,12 @@ export type AppMessagesSchema = typeof enUS;
3
3
  export declare const i18nMessages: {
4
4
  'en-US': {
5
5
  inventory: {
6
+ alternatives: string;
7
+ binding: {
8
+ alternative: {
9
+ maximumExceeded: string;
10
+ };
11
+ };
6
12
  common: {
7
13
  success: string;
8
14
  proPlan: {
@@ -130,6 +136,25 @@ export declare const i18nMessages: {
130
136
  ingredientGroup: string;
131
137
  invalidWarning: string;
132
138
  circularError: string;
139
+ rules: string;
140
+ rulesHelper: string;
141
+ rulesJson: string;
142
+ alternatives: string;
143
+ alternativesHelper: string;
144
+ addAlternative: string;
145
+ alternativeSku: string;
146
+ priority: string;
147
+ default: string;
148
+ selectAlternative: string;
149
+ noAlternatives: string;
150
+ primarySkuNotFound: string;
151
+ alternativesNotSupportedForRecipe: string;
152
+ alternativeTable: {
153
+ ingredient: string;
154
+ unit: string;
155
+ measurementOption: string;
156
+ priority: string;
157
+ };
133
158
  };
134
159
  inventoryAdjustment: {
135
160
  title: string;
@@ -667,6 +692,8 @@ export declare const i18nMessages: {
667
692
  title: string;
668
693
  uploadDescription: string;
669
694
  };
695
+ enableRecipeV2: string;
696
+ recipeV2Warning: string;
670
697
  };
671
698
  unit: {
672
699
  title: string;
@@ -1186,9 +1213,24 @@ export declare const i18nMessages: {
1186
1213
  };
1187
1214
  };
1188
1215
  };
1216
+ ingredient: {
1217
+ inventoryBinding: {
1218
+ alternativeTable: {
1219
+ column: {
1220
+ ingredient: string;
1221
+ };
1222
+ };
1223
+ };
1224
+ };
1189
1225
  };
1190
1226
  'zh-CN': {
1191
1227
  inventory: {
1228
+ alternatives: string;
1229
+ binding: {
1230
+ alternative: {
1231
+ maximumExceeded: string;
1232
+ };
1233
+ };
1192
1234
  common: {
1193
1235
  success: string;
1194
1236
  proPlan: {
@@ -1313,6 +1355,25 @@ export declare const i18nMessages: {
1313
1355
  ingredientGroup: string;
1314
1356
  invalidWarning: string;
1315
1357
  circularError: string;
1358
+ rules: string;
1359
+ rulesHelper: string;
1360
+ rulesJson: string;
1361
+ alternatives: string;
1362
+ alternativesHelper: string;
1363
+ addAlternative: string;
1364
+ alternativeSku: string;
1365
+ priority: string;
1366
+ default: string;
1367
+ selectAlternative: string;
1368
+ noAlternatives: string;
1369
+ primarySkuNotFound: string;
1370
+ alternativesNotSupportedForRecipe: string;
1371
+ alternativeTable: {
1372
+ ingredient: string;
1373
+ unit: string;
1374
+ measurementOption: string;
1375
+ priority: string;
1376
+ };
1316
1377
  };
1317
1378
  inventoryAdjustment: {
1318
1379
  title: string;
@@ -1850,6 +1911,8 @@ export declare const i18nMessages: {
1850
1911
  title: string;
1851
1912
  uploadDescription: string;
1852
1913
  };
1914
+ enableRecipeV2: string;
1915
+ recipeV2Warning: string;
1853
1916
  };
1854
1917
  unit: {
1855
1918
  title: string;
@@ -2319,9 +2382,24 @@ export declare const i18nMessages: {
2319
2382
  };
2320
2383
  };
2321
2384
  };
2385
+ ingredient: {
2386
+ inventoryBinding: {
2387
+ alternativeTable: {
2388
+ column: {
2389
+ ingredient: string;
2390
+ };
2391
+ };
2392
+ };
2393
+ };
2322
2394
  };
2323
2395
  'th-TH': {
2324
2396
  inventory: {
2397
+ alternatives: string;
2398
+ binding: {
2399
+ alternative: {
2400
+ maximumExceeded: string;
2401
+ };
2402
+ };
2325
2403
  common: {
2326
2404
  success: string;
2327
2405
  proPlan: {
@@ -2446,6 +2524,25 @@ export declare const i18nMessages: {
2446
2524
  ingredientGroup: string;
2447
2525
  invalidWarning: string;
2448
2526
  circularError: string;
2527
+ rules: string;
2528
+ rulesHelper: string;
2529
+ rulesJson: string;
2530
+ alternatives: string;
2531
+ alternativesHelper: string;
2532
+ addAlternative: string;
2533
+ alternativeSku: string;
2534
+ priority: string;
2535
+ default: string;
2536
+ selectAlternative: string;
2537
+ noAlternatives: string;
2538
+ primarySkuNotFound: string;
2539
+ alternativesNotSupportedForRecipe: string;
2540
+ alternativeTable: {
2541
+ ingredient: string;
2542
+ unit: string;
2543
+ measurementOption: string;
2544
+ priority: string;
2545
+ };
2449
2546
  };
2450
2547
  inventoryAdjustment: {
2451
2548
  title: string;
@@ -2983,6 +3080,8 @@ export declare const i18nMessages: {
2983
3080
  title: string;
2984
3081
  uploadDescription: string;
2985
3082
  };
3083
+ enableRecipeV2: string;
3084
+ recipeV2Warning: string;
2986
3085
  };
2987
3086
  unit: {
2988
3087
  title: string;
@@ -3452,9 +3551,24 @@ export declare const i18nMessages: {
3452
3551
  };
3453
3552
  };
3454
3553
  };
3554
+ ingredient: {
3555
+ inventoryBinding: {
3556
+ alternativeTable: {
3557
+ column: {
3558
+ ingredient: string;
3559
+ };
3560
+ };
3561
+ };
3562
+ };
3455
3563
  };
3456
3564
  'ja-JP': {
3457
3565
  inventory: {
3566
+ alternatives: string;
3567
+ binding: {
3568
+ alternative: {
3569
+ maximumExceeded: string;
3570
+ };
3571
+ };
3458
3572
  common: {
3459
3573
  success: string;
3460
3574
  proPlan: {
@@ -3579,6 +3693,25 @@ export declare const i18nMessages: {
3579
3693
  ingredientGroup: string;
3580
3694
  invalidWarning: string;
3581
3695
  circularError: string;
3696
+ rules: string;
3697
+ rulesHelper: string;
3698
+ rulesJson: string;
3699
+ alternatives: string;
3700
+ alternativesHelper: string;
3701
+ addAlternative: string;
3702
+ alternativeSku: string;
3703
+ priority: string;
3704
+ default: string;
3705
+ selectAlternative: string;
3706
+ noAlternatives: string;
3707
+ primarySkuNotFound: string;
3708
+ alternativesNotSupportedForRecipe: string;
3709
+ alternativeTable: {
3710
+ ingredient: string;
3711
+ unit: string;
3712
+ measurementOption: string;
3713
+ priority: string;
3714
+ };
3582
3715
  };
3583
3716
  inventoryAdjustment: {
3584
3717
  title: string;
@@ -4116,6 +4249,8 @@ export declare const i18nMessages: {
4116
4249
  title: string;
4117
4250
  uploadDescription: string;
4118
4251
  };
4252
+ enableRecipeV2: string;
4253
+ recipeV2Warning: string;
4119
4254
  };
4120
4255
  unit: {
4121
4256
  title: string;
@@ -4585,6 +4720,15 @@ export declare const i18nMessages: {
4585
4720
  };
4586
4721
  };
4587
4722
  };
4723
+ ingredient: {
4724
+ inventoryBinding: {
4725
+ alternativeTable: {
4726
+ column: {
4727
+ ingredient: string;
4728
+ };
4729
+ };
4730
+ };
4731
+ };
4588
4732
  };
4589
4733
  };
4590
4734
  export { routers } from './router/shared';
@@ -4604,6 +4748,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4604
4748
  precision: number;
4605
4749
  };
4606
4750
  } | null | undefined;
4751
+ rules?: Record<string, any> | null | undefined;
4752
+ alternatives?: {
4753
+ priority?: number | null | undefined;
4754
+ default?: boolean | null | undefined;
4755
+ trackingMeasurement?: string | null | undefined;
4756
+ _id: string;
4757
+ }[] | null | undefined;
4607
4758
  id: string;
4608
4759
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4609
4760
  amount: {
@@ -4633,6 +4784,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4633
4784
  precision: number;
4634
4785
  };
4635
4786
  } | null | undefined;
4787
+ rules?: Record<string, any> | null | undefined;
4788
+ alternatives?: {
4789
+ priority?: number | null | undefined;
4790
+ default?: boolean | null | undefined;
4791
+ trackingMeasurement?: string | null | undefined;
4792
+ _id: string;
4793
+ }[] | null | undefined;
4636
4794
  id: string;
4637
4795
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4638
4796
  amount: {
@@ -4659,6 +4817,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4659
4817
  precision: number;
4660
4818
  };
4661
4819
  } | null | undefined;
4820
+ rules?: Record<string, any> | null | undefined;
4821
+ alternatives?: {
4822
+ priority?: number | null | undefined;
4823
+ default?: boolean | null | undefined;
4824
+ trackingMeasurement?: string | null | undefined;
4825
+ _id: string;
4826
+ }[] | null | undefined;
4662
4827
  id: string;
4663
4828
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4664
4829
  amount: {
@@ -4682,6 +4847,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4682
4847
  precision: number;
4683
4848
  };
4684
4849
  } | null | undefined;
4850
+ rules?: Record<string, any> | null | undefined;
4851
+ alternatives?: {
4852
+ priority?: number | null | undefined;
4853
+ default?: boolean | null | undefined;
4854
+ trackingMeasurement?: string | null | undefined;
4855
+ _id: string;
4856
+ }[] | null | undefined;
4685
4857
  id: string;
4686
4858
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4687
4859
  amount: {
@@ -4711,6 +4883,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4711
4883
  precision: number;
4712
4884
  };
4713
4885
  } | null | undefined;
4886
+ rules?: Record<string, any> | null | undefined;
4887
+ alternatives?: {
4888
+ priority?: number | null | undefined;
4889
+ default?: boolean | null | undefined;
4890
+ trackingMeasurement?: string | null | undefined;
4891
+ _id: string;
4892
+ }[] | null | undefined;
4714
4893
  id: string;
4715
4894
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4716
4895
  amount: {
@@ -4737,6 +4916,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4737
4916
  precision: number;
4738
4917
  };
4739
4918
  } | null | undefined;
4919
+ rules?: Record<string, any> | null | undefined;
4920
+ alternatives?: {
4921
+ priority?: number | null | undefined;
4922
+ default?: boolean | null | undefined;
4923
+ trackingMeasurement?: string | null | undefined;
4924
+ _id: string;
4925
+ }[] | null | undefined;
4740
4926
  id: string;
4741
4927
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4742
4928
  amount: {
@@ -4756,6 +4942,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4756
4942
  precision: number;
4757
4943
  };
4758
4944
  } | null | undefined;
4945
+ rules?: Record<string, any> | null | undefined;
4946
+ alternatives?: {
4947
+ priority?: number | null | undefined;
4948
+ default?: boolean | null | undefined;
4949
+ trackingMeasurement?: string | null | undefined;
4950
+ _id: string;
4951
+ }[] | null | undefined;
4759
4952
  id: string;
4760
4953
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4761
4954
  amount: {
@@ -4773,6 +4966,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4773
4966
  precision: number;
4774
4967
  };
4775
4968
  } | null | undefined;
4969
+ rules?: Record<string, any> | null | undefined;
4970
+ alternatives?: {
4971
+ priority?: number | null | undefined;
4972
+ default?: boolean | null | undefined;
4973
+ trackingMeasurement?: string | null | undefined;
4974
+ _id: string;
4975
+ }[] | null | undefined;
4776
4976
  id: string;
4777
4977
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4778
4978
  amount: {
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { ar as n, as as e, at as o, aq as t, au as i, a as m } from "./app-Cq2T5z21.js";
2
+ import { ar as n, as as e, at as o, aq as t, au as i, a as m } from "./app-Do7d9F2j.js";
3
3
  export {
4
4
  n as FmApp,
5
5
  e as InventoryBindingForm,
@@ -1,4 +1,4 @@
1
- import { o as c } from "./app-Cq2T5z21.js";
1
+ import { o as c } from "./app-Do7d9F2j.js";
2
2
  import { useCoreStore as u } from "@feedmepos/mf-common";
3
3
  const d = c((s, a) => {
4
4
  function r() {
@@ -14,6 +14,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
14
14
  precision: number;
15
15
  };
16
16
  } | null | undefined;
17
+ rules?: Record<string, any> | null | undefined;
18
+ alternatives?: {
19
+ priority?: number | null | undefined;
20
+ default?: boolean | null | undefined;
21
+ trackingMeasurement?: string | null | undefined;
22
+ _id: string;
23
+ }[] | null | undefined;
17
24
  id: string;
18
25
  type: "RECIPE" | "SKU" | "SKU_GROUP";
19
26
  amount: {
@@ -36,6 +43,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
36
43
  precision: number;
37
44
  };
38
45
  } | null | undefined;
46
+ rules?: Record<string, any> | null | undefined;
47
+ alternatives?: {
48
+ priority?: number | null | undefined;
49
+ default?: boolean | null | undefined;
50
+ trackingMeasurement?: string | null | undefined;
51
+ _id: string;
52
+ }[] | null | undefined;
39
53
  id: string;
40
54
  type: "RECIPE" | "SKU" | "SKU_GROUP";
41
55
  amount: {
@@ -45,8 +59,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
45
59
  }[]) => any) | undefined;
46
60
  }>, {
47
61
  skus: {
48
- isInactive?: boolean | null | undefined;
49
62
  trackingMeasurement?: string | null | undefined;
63
+ isInactive?: boolean | null | undefined;
50
64
  convert?: {
51
65
  measurement?: string | null | undefined;
52
66
  inventoryBindings?: {
@@ -59,6 +73,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
59
73
  precision: number;
60
74
  };
61
75
  } | null | undefined;
76
+ rules?: Record<string, any> | null | undefined;
77
+ alternatives?: {
78
+ priority?: number | null | undefined;
79
+ default?: boolean | null | undefined;
80
+ trackingMeasurement?: string | null | undefined;
81
+ _id: string;
82
+ }[] | null | undefined;
62
83
  id: string;
63
84
  type: "RECIPE" | "SKU" | "SKU_GROUP";
64
85
  amount: {
@@ -119,6 +140,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
119
140
  precision: number;
120
141
  };
121
142
  } | null | undefined;
143
+ rules?: Record<string, any> | null | undefined;
144
+ alternatives?: {
145
+ priority?: number | null | undefined;
146
+ default?: boolean | null | undefined;
147
+ trackingMeasurement?: string | null | undefined;
148
+ _id: string;
149
+ }[] | null | undefined;
122
150
  id: string;
123
151
  type: "RECIPE" | "SKU" | "SKU_GROUP";
124
152
  amount: {
@@ -128,6 +156,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
128
156
  }[];
129
157
  recipes: {
130
158
  customAttributes?: Record<string, any> | null | undefined;
159
+ version?: "v2" | null | undefined;
131
160
  _id: string;
132
161
  name: string;
133
162
  contains: {
@@ -140,6 +169,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
140
169
  precision: number;
141
170
  };
142
171
  } | null | undefined;
172
+ rules?: Record<string, any> | null | undefined;
173
+ alternatives?: {
174
+ priority?: number | null | undefined;
175
+ default?: boolean | null | undefined;
176
+ trackingMeasurement?: string | null | undefined;
177
+ _id: string;
178
+ }[] | null | undefined;
143
179
  id: string;
144
180
  type: "RECIPE" | "SKU" | "SKU_GROUP";
145
181
  amount: {
@@ -22,6 +22,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
22
22
  precision: number;
23
23
  };
24
24
  } | null | undefined;
25
+ rules?: Record<string, any> | null | undefined;
26
+ alternatives?: {
27
+ priority?: number | null | undefined;
28
+ default?: boolean | null | undefined;
29
+ trackingMeasurement?: string | null | undefined;
30
+ _id: string;
31
+ }[] | null | undefined;
25
32
  id: string;
26
33
  type: "RECIPE" | "SKU" | "SKU_GROUP";
27
34
  amount: {
@@ -59,6 +66,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
59
66
  precision: number;
60
67
  };
61
68
  } | null | undefined;
69
+ rules?: Record<string, any> | null | undefined;
70
+ alternatives?: {
71
+ priority?: number | null | undefined;
72
+ default?: boolean | null | undefined;
73
+ trackingMeasurement?: string | null | undefined;
74
+ _id: string;
75
+ }[] | null | undefined;
62
76
  id: string;
63
77
  type: "RECIPE" | "SKU" | "SKU_GROUP";
64
78
  amount: {
@@ -25,8 +25,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
25
25
  }>, {
26
26
  type: string;
27
27
  skus: {
28
- isInactive?: boolean | null | undefined;
29
28
  trackingMeasurement?: string | null | undefined;
29
+ isInactive?: boolean | null | undefined;
30
30
  convert?: {
31
31
  measurement?: string | null | undefined;
32
32
  inventoryBindings?: {
@@ -39,6 +39,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
39
39
  precision: number;
40
40
  };
41
41
  } | null | undefined;
42
+ rules?: Record<string, any> | null | undefined;
43
+ alternatives?: {
44
+ priority?: number | null | undefined;
45
+ default?: boolean | null | undefined;
46
+ trackingMeasurement?: string | null | undefined;
47
+ _id: string;
48
+ }[] | null | undefined;
42
49
  id: string;
43
50
  type: "RECIPE" | "SKU" | "SKU_GROUP";
44
51
  amount: {
@@ -93,6 +100,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
93
100
  editable: boolean;
94
101
  recipes: {
95
102
  customAttributes?: Record<string, any> | null | undefined;
103
+ version?: "v2" | null | undefined;
96
104
  _id: string;
97
105
  name: string;
98
106
  contains: {
@@ -105,6 +113,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
105
113
  precision: number;
106
114
  };
107
115
  } | null | undefined;
116
+ rules?: Record<string, any> | null | undefined;
117
+ alternatives?: {
118
+ priority?: number | null | undefined;
119
+ default?: boolean | null | undefined;
120
+ trackingMeasurement?: string | null | undefined;
121
+ _id: string;
122
+ }[] | null | undefined;
108
123
  id: string;
109
124
  type: "RECIPE" | "SKU" | "SKU_GROUP";
110
125
  amount: {
@@ -1,4 +1,4 @@
1
- import { d as l } from "./dayjs.min-D_81k3gd.js";
1
+ import { d as l } from "./dayjs.min-C2InbamH.js";
2
2
  const T = new Intl.DateTimeFormat("en-US", {
3
3
  year: "numeric",
4
4
  month: "2-digit",
@@ -1,10 +1,10 @@
1
- import { ah as Q, y as K } from "./app-Cq2T5z21.js";
1
+ import { ai as Q, A as K } from "./app-Do7d9F2j.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
5
5
  V.exports = k();
6
6
  })(Q, function() {
7
- var W = 1e3, k = 6e4, N = 36e5, A = "millisecond", S = "second", w = "minute", O = "hour", M = "day", T = "week", m = "month", U = "quarter", y = "year", _ = "date", J = "Invalid Date", q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, B = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, G = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
7
+ var W = 1e3, k = 6e4, N = 36e5, A = "millisecond", S = "second", w = "minute", O = "hour", M = "day", T = "week", m = "month", U = "quarter", v = "year", _ = "date", J = "Invalid Date", q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, B = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, G = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
8
8
  var n = ["th", "st", "nd", "rd"], t = s % 100;
9
9
  return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
10
10
  } }, I = function(s, n, t) {
@@ -20,7 +20,7 @@ var E = { exports: {} };
20
20
  }, a: function(s) {
21
21
  return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
22
22
  }, p: function(s) {
23
- return { M: m, y, w: T, d: M, D: _, h: O, m: w, s: S, ms: A, Q: U }[s] || String(s || "").toLowerCase().replace(/s$/, "");
23
+ return { M: m, y: v, w: T, d: M, D: _, h: O, m: w, s: S, ms: A, Q: U }[s] || String(s || "").toLowerCase().replace(/s$/, "");
24
24
  }, u: function(s) {
25
25
  return s === void 0;
26
26
  } }, x = "en", D = {};
@@ -90,13 +90,13 @@ var E = { exports: {} };
90
90
  return this.$d.getTime();
91
91
  }, n.startOf = function(t, r) {
92
92
  var e = this, i = !!a.u(r) || r, u = a.p(t), o = function(p, $) {
93
- var v = a.w(e.$u ? Date.UTC(e.$y, $, p) : new Date(e.$y, $, p), e);
94
- return i ? v : v.endOf(M);
93
+ var y = a.w(e.$u ? Date.UTC(e.$y, $, p) : new Date(e.$y, $, p), e);
94
+ return i ? y : y.endOf(M);
95
95
  }, c = function(p, $) {
96
96
  return a.w(e.toDate()[p].apply(e.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), e);
97
97
  }, h = this.$W, d = this.$M, l = this.$D, b = "set" + (this.$u ? "UTC" : "");
98
98
  switch (u) {
99
- case y:
99
+ case v:
100
100
  return i ? o(1, 0) : o(31, 11);
101
101
  case m:
102
102
  return i ? o(1, d) : o(0, d + 1);
@@ -118,8 +118,8 @@ var E = { exports: {} };
118
118
  }, n.endOf = function(t) {
119
119
  return this.startOf(t, !1);
120
120
  }, n.$set = function(t, r) {
121
- var e, i = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[M] = u + "Date", e[_] = u + "Date", e[m] = u + "Month", e[y] = u + "FullYear", e[O] = u + "Hours", e[w] = u + "Minutes", e[S] = u + "Seconds", e[A] = u + "Milliseconds", e)[i], c = i === M ? this.$D + (r - this.$W) : r;
122
- if (i === m || i === y) {
121
+ var e, i = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[M] = u + "Date", e[_] = u + "Date", e[m] = u + "Month", e[v] = u + "FullYear", e[O] = u + "Hours", e[w] = u + "Minutes", e[S] = u + "Seconds", e[A] = u + "Milliseconds", e)[i], c = i === M ? this.$D + (r - this.$W) : r;
122
+ if (i === m || i === v) {
123
123
  var h = this.clone().set(_, 1);
124
124
  h.$d[o](c), h.init(), this.$d = h.set(_, Math.min(this.$D, h.daysInMonth())).$d;
125
125
  } else o && this.$d[o](c);
@@ -136,7 +136,7 @@ var E = { exports: {} };
136
136
  return a.w(l.date(l.date() + Math.round(d * t)), i);
137
137
  };
138
138
  if (u === m) return this.set(m, this.$M + t);
139
- if (u === y) return this.set(y, this.$y + t);
139
+ if (u === v) return this.set(v, this.$y + t);
140
140
  if (u === M) return o(1);
141
141
  if (u === T) return o(7);
142
142
  var c = (e = {}, e[w] = k, e[O] = N, e[S] = W, e)[u] || 1, h = this.$d.getTime() + t * c;
@@ -146,16 +146,16 @@ var E = { exports: {} };
146
146
  }, n.format = function(t) {
147
147
  var r = this, e = this.$locale();
148
148
  if (!this.isValid()) return e.invalidDate || J;
149
- var i = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, h = this.$M, d = e.weekdays, l = e.months, b = e.meridiem, g = function($, v, H, L) {
150
- return $ && ($[v] || $(r, i)) || H[v].slice(0, L);
149
+ var i = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, h = this.$M, d = e.weekdays, l = e.months, b = e.meridiem, g = function($, y, H, L) {
150
+ return $ && ($[y] || $(r, i)) || H[y].slice(0, L);
151
151
  }, Y = function($) {
152
152
  return a.s(o % 12 || 12, $, "0");
153
- }, p = b || function($, v, H) {
153
+ }, p = b || function($, y, H) {
154
154
  var L = $ < 12 ? "AM" : "PM";
155
155
  return H ? L.toLowerCase() : L;
156
156
  };
157
- return i.replace(B, function($, v) {
158
- return v || function(H) {
157
+ return i.replace(B, function($, y) {
158
+ return y || function(H) {
159
159
  switch (H) {
160
160
  case "YY":
161
161
  return String(r.$y).slice(-2);
@@ -216,7 +216,7 @@ var E = { exports: {} };
216
216
  return a.m(u, c);
217
217
  };
218
218
  switch (o) {
219
- case y:
219
+ case v:
220
220
  i = l() / 12;
221
221
  break;
222
222
  case m:
@@ -264,7 +264,7 @@ var E = { exports: {} };
264
264
  return this.$d.toUTCString();
265
265
  }, s;
266
266
  }(), z = C.prototype;
267
- return f.prototype = z, [["$ms", A], ["$s", S], ["$m", w], ["$H", O], ["$W", M], ["$M", m], ["$y", y], ["$D", _]].forEach(function(s) {
267
+ return f.prototype = z, [["$ms", A], ["$s", S], ["$m", w], ["$H", O], ["$W", M], ["$M", m], ["$y", v], ["$D", _]].forEach(function(s) {
268
268
  z[s[1]] = function(n) {
269
269
  return this.$g(n, s[0], s[1]);
270
270
  };
@@ -1,5 +1,5 @@
1
- import "./app-Cq2T5z21.js";
2
- import "./dayjs.min-D_81k3gd.js";
1
+ import "./app-Do7d9F2j.js";
2
+ import "./dayjs.min-C2InbamH.js";
3
3
  function m(a) {
4
4
  function t(o, n = !0) {
5
5
  const e = Math.round(Math.log10(o));
@@ -1,4 +1,4 @@
1
- import { c as d, Z as u } from "./app-Cq2T5z21.js";
1
+ import { c as d, _ as u } from "./app-Do7d9F2j.js";
2
2
  import { getCurrentInstance as a, reactive as l, watch as o } from "vue";
3
3
  function g(i = "modelValue", e) {
4
4
  var n, c;
@@ -1,4 +1,4 @@
1
- import { o as p } from "./app-Cq2T5z21.js";
1
+ import { o as p } from "./app-Do7d9F2j.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = p((s, n) => {
4
4
  function o() {