@feedmepos/mf-inventory-portal 1.2.61 → 1.2.63-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 (124) hide show
  1. package/dist/{App-BqScGtJx.js → App-BHssUobV.js} +82 -78
  2. package/dist/{ApprovalView-BFdlYIot.js → ApprovalView-DRGCQeGY.js} +5 -5
  3. package/dist/{BindingsDialog-Dvmrms77.js → BindingsDialog-CWl3LpdO.js} +5 -5
  4. package/dist/{BindingsPicker-fPVSXv-h.js → BindingsPicker-BcASw3JJ.js} +3 -3
  5. package/dist/{BindingsTable-CnUa8VOi.js → BindingsTable-BiKiLiVY.js} +5 -5
  6. package/dist/{ClosingDraftView-10BcpWkm.js → ClosingDraftView-mh5Kw46x.js} +217 -216
  7. package/dist/{ClosingHistoryView-zLh0HCIb.js → ClosingHistoryView-C-ZrFei9.js} +36 -36
  8. package/dist/{ClosingTemplateView-BFupX87V.js → ClosingTemplateView-DBNRH0Tt.js} +14 -14
  9. package/dist/{DeliveryOrderPrintPreview-BLBqmOjw.js → DeliveryOrderPrintPreview-Dv3JZ3yr.js} +7 -7
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DN8ziFA_.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CfL1adhx.js} +16 -16
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DJT_7Uus.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Db0JeXbc.js} +2 -2
  12. package/dist/{FmMultiselectDialog-DmnYEmN1.js → FmMultiselectDialog-D9g07F_c.js} +1 -1
  13. package/dist/{FmMultiselectDialog-B5paZk6T.js → FmMultiselectDialog-DuYKQng9.js} +16 -16
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-MW749j29.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CeXRT7Lf.js} +23 -22
  15. package/dist/{ImportView-BsI1_unJ.js → ImportView-DoMyJ1NE.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-D8hvH-4n.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CqJQcOBK.js} +1 -1
  17. package/dist/{IngredientGroupView-BALVTSwF.js → IngredientGroupView-D_Cl4kJy.js} +5 -5
  18. package/dist/{IngredientsView-C-sauieO.js → IngredientsView-CG6wUGzt.js} +25 -24
  19. package/dist/{IntegrationView-GG2E4Yrl.js → IntegrationView-BIWPp1JH.js} +18 -17
  20. package/dist/{InventoryBindingForm-DCSBFj6b.js → InventoryBindingForm-BrL6-2He.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-4_i25unG.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-M3uVquEq.js} +17 -16
  22. package/dist/{InventoryBindingSummary-6dFJPewB.js → InventoryBindingSummary-mnlQU1Mp.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CU9mgYbv.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ByPOKZRm.js} +5 -5
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DC1HpuMm.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DHwXNoTs.js} +2 -2
  25. package/dist/{PublishView-DO7k1AeP.js → PublishView-B4iVMq25.js} +8 -8
  26. package/dist/{PurchaseOrderPrintPreview-C3VqOLCi.js → PurchaseOrderPrintPreview-ws-SKrEC.js} +11 -11
  27. package/dist/{ReceiveRequestView-CpgLQtbw.js → ReceiveRequestView-deSiORNX.js} +143 -142
  28. package/dist/RecipeView-EEK7PiKl.js +1558 -0
  29. package/dist/{StockView-CtC3ldc6.js → StockView-6j_t2Kf1.js} +106 -105
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cj6cVmd0.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CgAMsW8n.js} +1 -1
  31. package/dist/{SupplierView-DKFtc22j.js → SupplierView-D5tSOECx.js} +20 -19
  32. package/dist/{SurchargeView-B-EYMp6w.js → SurchargeView-CP81Q4dW.js} +6 -6
  33. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CDeeFvnm.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bmuw4PTO.js} +2 -2
  34. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CH3hjFS8.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D1FuB-kv.js} +1 -1
  35. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-rAyYuhku.js → TransferDetails.vue_vue_type_script_setup_true_lang-Canrz2ri.js} +501 -501
  36. package/dist/{TransferTemplateView-FeC34QoJ.js → TransferTemplateView-CRI_Lexa.js} +22 -21
  37. package/dist/UnitCostHistoryView-CT-4QDK8.js +651 -0
  38. package/dist/{UnitView-BoJisnXd.js → UnitView-BZmfd-aw.js} +11 -10
  39. package/dist/{WarehouseView-s-xF6xJ0.js → WarehouseView-BcmSyjA0.js} +5 -5
  40. package/dist/{WastageTemplateView-BQBlHZLh.js → WastageTemplateView-CNsdu0ga.js} +14 -14
  41. package/dist/api/inventory.d.ts +126 -36
  42. package/dist/api/netsuite.d.ts +8 -1
  43. package/dist/api/unit-cost-history.d.ts +28 -0
  44. package/dist/{app-_4kRbuQl.js → app-ayv5Jw7D.js} +8041 -7036
  45. package/dist/app.d.ts +228 -0
  46. package/dist/app.js +1 -1
  47. package/dist/{closing-template-BBWYKm_X.js → closing-template-D9UR8sMo.js} +1 -1
  48. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +37 -1
  49. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +14 -0
  50. package/dist/components/shell/inventory/binding-ui.vue.d.ts +16 -1
  51. package/dist/{date2-Cd93SZu4.js → date2-GNP-79dA.js} +1 -1
  52. package/dist/{dayjs.min-DeHn_Fz-.js → dayjs.min-Bg_wgP2J.js} +16 -16
  53. package/dist/{defineDeepModel-DUOLQh1E.js → defineDeepModel-Co03tZfS.js} +1 -1
  54. package/dist/{duplicate-template-BgpMF-fd.js → duplicate-template-BiPU4Z2Y.js} +1 -1
  55. package/dist/{feature-DqGkM6Yx.js → feature-BGeFfaiX.js} +95 -90
  56. package/dist/{format-time-from-id-BkH4swoc.js → format-time-from-id-ByV0VX1x.js} +1 -1
  57. package/dist/{format-unit-display-rkrD3WLD.js → format-unit-display-r1Hb4DfH.js} +16 -15
  58. package/dist/{import-export.helper-C8Q4AMQx.js → import-export.helper-PB9pPO3m.js} +16 -15
  59. package/dist/{index-B3m_9m2a.js → index-ClbYCYSU.js} +3 -3
  60. package/dist/{index-O5M93j6z.js → index-DMqOVOHw.js} +1 -1
  61. package/dist/{index-B0WTs-3a.js → index-DWWlEK_r.js} +1471 -1412
  62. package/dist/{lodash-Dj6GdEkm.js → lodash-BbWPSHMM.js} +1 -1
  63. package/dist/{netsuite-DpQxb3vH.js → netsuite-VGghPz8h.js} +92 -92
  64. package/dist/number-DPuTdA-J.js +232 -0
  65. package/dist/{purchase-order-template-DKuo07gT.js → purchase-order-template-BMNxJR59.js} +1 -1
  66. package/dist/router/name.d.ts +1 -0
  67. package/dist/rules-CyF-4tvp.js +98 -0
  68. package/dist/stock-D1SElOsp.js +75 -0
  69. package/dist/{stock-D7HQf4-H.js → stock-b7nNc6ko.js} +1 -1
  70. package/dist/stores/feature.d.ts +2 -0
  71. package/dist/stores/integration/netsuite.d.ts +8 -1
  72. package/dist/stores/inventory.d.ts +119 -30
  73. package/dist/{supplier-B3kE2tbF.js → supplier-Dm-bxVXL.js} +2 -2
  74. package/dist/{surcharge-Cc9vownX.js → surcharge-ZM-_XIvY.js} +1 -1
  75. package/dist/tsconfig.app.tsbuildinfo +1 -1
  76. package/dist/{use-ingredient-select-dialog-MnUTm-3P.js → use-ingredient-select-dialog-BYxTRqif.js} +2 -2
  77. package/dist/{use-inventory-binding-dialog-_J9LNiGo.js → use-inventory-binding-dialog-Dg9Mp0Vk.js} +2 -2
  78. package/dist/{use-template-enabled-locations-2-B9gbuIPM.js → use-template-enabled-locations-2-BmgcViqJ.js} +2 -2
  79. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +64 -8
  80. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +192 -24
  81. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -1
  82. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +96 -12
  83. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +96 -12
  84. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
  85. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +14 -0
  86. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -4
  87. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +28 -0
  88. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +169 -0
  89. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +43 -0
  90. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +25 -0
  91. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +125 -0
  92. package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +129 -0
  93. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +30 -0
  94. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +4 -0
  95. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -1
  96. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +16 -2
  97. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +33 -5
  98. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +16 -2
  99. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +32 -4
  100. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
  101. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +41 -6
  102. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +246 -36
  103. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +287 -42
  104. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +16 -0
  105. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -0
  106. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +16 -2
  107. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +16 -2
  108. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +16 -2
  109. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +16 -2
  110. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -1
  111. package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +24 -3
  112. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -12
  113. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -12
  114. package/dist/views/unit-cost-history/UnitCostHistoryView.vue.d.ts +2 -0
  115. package/dist/views/unit-cost-history/components/UnitCostDetailsSideSheet.vue.d.ts +19 -0
  116. package/dist/views/unit-cost-history/components/UnitCostRecalculationDialog.vue.d.ts +11 -0
  117. package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +65 -0
  118. package/dist/{vue-i18n-BvsTy4Fg.js → vue-i18n-BwxQzDKn.js} +535 -535
  119. package/dist/{xlsx-BvjocXXw.js → xlsx-dJMIfias.js} +1 -1
  120. package/dist/{xlsx.util-D65Nsat4.js → xlsx.util-dclbjq8C.js} +1 -1
  121. package/package.json +3 -3
  122. package/dist/RecipeView-C2D7FdzN.js +0 -646
  123. package/dist/rules-D6o4zK8x.js +0 -327
  124. package/dist/stock-DLFjfcAv.js +0 -75
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
  optional: string;
@@ -131,6 +137,25 @@ export declare const i18nMessages: {
131
137
  ingredientGroup: string;
132
138
  invalidWarning: string;
133
139
  circularError: string;
140
+ rules: string;
141
+ rulesHelper: string;
142
+ rulesJson: string;
143
+ alternatives: string;
144
+ alternativesHelper: string;
145
+ addAlternative: string;
146
+ alternativeSku: string;
147
+ priority: string;
148
+ default: string;
149
+ selectAlternative: string;
150
+ noAlternatives: string;
151
+ primarySkuNotFound: string;
152
+ alternativesNotSupportedForRecipe: string;
153
+ alternativeTable: {
154
+ ingredient: string;
155
+ unit: string;
156
+ measurementOption: string;
157
+ priority: string;
158
+ };
134
159
  };
135
160
  inventoryAdjustment: {
136
161
  title: string;
@@ -670,6 +695,8 @@ export declare const i18nMessages: {
670
695
  title: string;
671
696
  uploadDescription: string;
672
697
  };
698
+ enableRecipeV2: string;
699
+ recipeV2Warning: string;
673
700
  };
674
701
  unit: {
675
702
  title: string;
@@ -1193,10 +1220,53 @@ export declare const i18nMessages: {
1193
1220
  outdated: string;
1194
1221
  };
1195
1222
  };
1223
+ unitCost: {
1224
+ recalculation: {
1225
+ title: string;
1226
+ description: string;
1227
+ startDate: string;
1228
+ selectStartDate: string;
1229
+ endDate: string;
1230
+ selectEndDate: string;
1231
+ info: string;
1232
+ schedule: string;
1233
+ successMessage: string;
1234
+ errorMessage: string;
1235
+ recentRequests: string;
1236
+ from: string;
1237
+ to: string;
1238
+ requestedBy: string;
1239
+ requestedAt: string;
1240
+ completedAt: string;
1241
+ status: {
1242
+ failed: string;
1243
+ completed: string;
1244
+ inProgress: string;
1245
+ };
1246
+ error: {
1247
+ endDateBeforeStart: string;
1248
+ };
1249
+ };
1250
+ };
1251
+ };
1252
+ ingredient: {
1253
+ inventoryBinding: {
1254
+ alternativeTable: {
1255
+ column: {
1256
+ ingredient: string;
1257
+ };
1258
+ };
1259
+ };
1196
1260
  };
1197
1261
  };
1198
1262
  'zh-CN': {
1199
1263
  inventory: {
1264
+ alternatives: string;
1265
+ binding: {
1266
+ alternative: {
1267
+ maximumExceeded: string;
1268
+ };
1269
+ };
1200
1270
  common: {
1201
1271
  success: string;
1202
1272
  optional: string;
@@ -1322,6 +1392,25 @@ export declare const i18nMessages: {
1322
1392
  ingredientGroup: string;
1323
1393
  invalidWarning: string;
1324
1394
  circularError: string;
1395
+ rules: string;
1396
+ rulesHelper: string;
1397
+ rulesJson: string;
1398
+ alternatives: string;
1399
+ alternativesHelper: string;
1400
+ addAlternative: string;
1401
+ alternativeSku: string;
1402
+ priority: string;
1403
+ default: string;
1404
+ selectAlternative: string;
1405
+ noAlternatives: string;
1406
+ primarySkuNotFound: string;
1407
+ alternativesNotSupportedForRecipe: string;
1408
+ alternativeTable: {
1409
+ ingredient: string;
1410
+ unit: string;
1411
+ measurementOption: string;
1412
+ priority: string;
1413
+ };
1325
1414
  };
1326
1415
  inventoryAdjustment: {
1327
1416
  title: string;
@@ -1861,6 +1950,8 @@ export declare const i18nMessages: {
1861
1950
  title: string;
1862
1951
  uploadDescription: string;
1863
1952
  };
1953
+ enableRecipeV2: string;
1954
+ recipeV2Warning: string;
1864
1955
  };
1865
1956
  unit: {
1866
1957
  title: string;
@@ -2335,9 +2426,24 @@ export declare const i18nMessages: {
2335
2426
  };
2336
2427
  };
2337
2428
  };
2429
+ ingredient: {
2430
+ inventoryBinding: {
2431
+ alternativeTable: {
2432
+ column: {
2433
+ ingredient: string;
2434
+ };
2435
+ };
2436
+ };
2437
+ };
2338
2438
  };
2339
2439
  'th-TH': {
2340
2440
  inventory: {
2441
+ alternatives: string;
2442
+ binding: {
2443
+ alternative: {
2444
+ maximumExceeded: string;
2445
+ };
2446
+ };
2341
2447
  common: {
2342
2448
  success: string;
2343
2449
  optional: string;
@@ -2463,6 +2569,25 @@ export declare const i18nMessages: {
2463
2569
  ingredientGroup: string;
2464
2570
  invalidWarning: string;
2465
2571
  circularError: string;
2572
+ rules: string;
2573
+ rulesHelper: string;
2574
+ rulesJson: string;
2575
+ alternatives: string;
2576
+ alternativesHelper: string;
2577
+ addAlternative: string;
2578
+ alternativeSku: string;
2579
+ priority: string;
2580
+ default: string;
2581
+ selectAlternative: string;
2582
+ noAlternatives: string;
2583
+ primarySkuNotFound: string;
2584
+ alternativesNotSupportedForRecipe: string;
2585
+ alternativeTable: {
2586
+ ingredient: string;
2587
+ unit: string;
2588
+ measurementOption: string;
2589
+ priority: string;
2590
+ };
2466
2591
  };
2467
2592
  inventoryAdjustment: {
2468
2593
  title: string;
@@ -3002,6 +3127,8 @@ export declare const i18nMessages: {
3002
3127
  title: string;
3003
3128
  uploadDescription: string;
3004
3129
  };
3130
+ enableRecipeV2: string;
3131
+ recipeV2Warning: string;
3005
3132
  };
3006
3133
  unit: {
3007
3134
  title: string;
@@ -3476,9 +3603,24 @@ export declare const i18nMessages: {
3476
3603
  };
3477
3604
  };
3478
3605
  };
3606
+ ingredient: {
3607
+ inventoryBinding: {
3608
+ alternativeTable: {
3609
+ column: {
3610
+ ingredient: string;
3611
+ };
3612
+ };
3613
+ };
3614
+ };
3479
3615
  };
3480
3616
  'ja-JP': {
3481
3617
  inventory: {
3618
+ alternatives: string;
3619
+ binding: {
3620
+ alternative: {
3621
+ maximumExceeded: string;
3622
+ };
3623
+ };
3482
3624
  common: {
3483
3625
  success: string;
3484
3626
  optional: string;
@@ -3604,6 +3746,25 @@ export declare const i18nMessages: {
3604
3746
  ingredientGroup: string;
3605
3747
  invalidWarning: string;
3606
3748
  circularError: string;
3749
+ rules: string;
3750
+ rulesHelper: string;
3751
+ rulesJson: string;
3752
+ alternatives: string;
3753
+ alternativesHelper: string;
3754
+ addAlternative: string;
3755
+ alternativeSku: string;
3756
+ priority: string;
3757
+ default: string;
3758
+ selectAlternative: string;
3759
+ noAlternatives: string;
3760
+ primarySkuNotFound: string;
3761
+ alternativesNotSupportedForRecipe: string;
3762
+ alternativeTable: {
3763
+ ingredient: string;
3764
+ unit: string;
3765
+ measurementOption: string;
3766
+ priority: string;
3767
+ };
3607
3768
  };
3608
3769
  inventoryAdjustment: {
3609
3770
  title: string;
@@ -4143,6 +4304,8 @@ export declare const i18nMessages: {
4143
4304
  title: string;
4144
4305
  uploadDescription: string;
4145
4306
  };
4307
+ enableRecipeV2: string;
4308
+ recipeV2Warning: string;
4146
4309
  };
4147
4310
  unit: {
4148
4311
  title: string;
@@ -4617,6 +4780,15 @@ export declare const i18nMessages: {
4617
4780
  };
4618
4781
  };
4619
4782
  };
4783
+ ingredient: {
4784
+ inventoryBinding: {
4785
+ alternativeTable: {
4786
+ column: {
4787
+ ingredient: string;
4788
+ };
4789
+ };
4790
+ };
4791
+ };
4620
4792
  };
4621
4793
  };
4622
4794
  export { routers } from './router/shared';
@@ -4636,6 +4808,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4636
4808
  precision: number;
4637
4809
  };
4638
4810
  } | null | undefined;
4811
+ rules?: Record<string, any> | null | undefined;
4812
+ alternatives?: {
4813
+ priority?: number | null | undefined;
4814
+ default?: boolean | null | undefined;
4815
+ trackingMeasurement?: string | null | undefined;
4816
+ _id: string;
4817
+ }[] | null | undefined;
4639
4818
  id: string;
4640
4819
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4641
4820
  amount: {
@@ -4665,6 +4844,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4665
4844
  precision: number;
4666
4845
  };
4667
4846
  } | null | undefined;
4847
+ rules?: Record<string, any> | null | undefined;
4848
+ alternatives?: {
4849
+ priority?: number | null | undefined;
4850
+ default?: boolean | null | undefined;
4851
+ trackingMeasurement?: string | null | undefined;
4852
+ _id: string;
4853
+ }[] | null | undefined;
4668
4854
  id: string;
4669
4855
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4670
4856
  amount: {
@@ -4691,6 +4877,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4691
4877
  precision: number;
4692
4878
  };
4693
4879
  } | null | undefined;
4880
+ rules?: Record<string, any> | null | undefined;
4881
+ alternatives?: {
4882
+ priority?: number | null | undefined;
4883
+ default?: boolean | null | undefined;
4884
+ trackingMeasurement?: string | null | undefined;
4885
+ _id: string;
4886
+ }[] | null | undefined;
4694
4887
  id: string;
4695
4888
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4696
4889
  amount: {
@@ -4714,6 +4907,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4714
4907
  precision: number;
4715
4908
  };
4716
4909
  } | null | undefined;
4910
+ rules?: Record<string, any> | null | undefined;
4911
+ alternatives?: {
4912
+ priority?: number | null | undefined;
4913
+ default?: boolean | null | undefined;
4914
+ trackingMeasurement?: string | null | undefined;
4915
+ _id: string;
4916
+ }[] | null | undefined;
4717
4917
  id: string;
4718
4918
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4719
4919
  amount: {
@@ -4743,6 +4943,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4743
4943
  precision: number;
4744
4944
  };
4745
4945
  } | null | undefined;
4946
+ rules?: Record<string, any> | null | undefined;
4947
+ alternatives?: {
4948
+ priority?: number | null | undefined;
4949
+ default?: boolean | null | undefined;
4950
+ trackingMeasurement?: string | null | undefined;
4951
+ _id: string;
4952
+ }[] | null | undefined;
4746
4953
  id: string;
4747
4954
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4748
4955
  amount: {
@@ -4769,6 +4976,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4769
4976
  precision: number;
4770
4977
  };
4771
4978
  } | null | undefined;
4979
+ rules?: Record<string, any> | null | undefined;
4980
+ alternatives?: {
4981
+ priority?: number | null | undefined;
4982
+ default?: boolean | null | undefined;
4983
+ trackingMeasurement?: string | null | undefined;
4984
+ _id: string;
4985
+ }[] | null | undefined;
4772
4986
  id: string;
4773
4987
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4774
4988
  amount: {
@@ -4788,6 +5002,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4788
5002
  precision: number;
4789
5003
  };
4790
5004
  } | null | undefined;
5005
+ rules?: Record<string, any> | null | undefined;
5006
+ alternatives?: {
5007
+ priority?: number | null | undefined;
5008
+ default?: boolean | null | undefined;
5009
+ trackingMeasurement?: string | null | undefined;
5010
+ _id: string;
5011
+ }[] | null | undefined;
4791
5012
  id: string;
4792
5013
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4793
5014
  amount: {
@@ -4805,6 +5026,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4805
5026
  precision: number;
4806
5027
  };
4807
5028
  } | null | undefined;
5029
+ rules?: Record<string, any> | null | undefined;
5030
+ alternatives?: {
5031
+ priority?: number | null | undefined;
5032
+ default?: boolean | null | undefined;
5033
+ trackingMeasurement?: string | null | undefined;
5034
+ _id: string;
5035
+ }[] | null | undefined;
4808
5036
  id: string;
4809
5037
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4810
5038
  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-_4kRbuQl.js";
2
+ import { ar as n, as as e, at as o, aq as t, au as i, a as m } from "./app-ayv5Jw7D.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-_4kRbuQl.js";
1
+ import { o as c } from "./app-ayv5Jw7D.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-DeHn_Fz-.js";
1
+ import { d as l } from "./dayjs.min-Bg_wgP2J.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-_4kRbuQl.js";
1
+ import { ai as Q, A as K } from "./app-ayv5Jw7D.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,4 +1,4 @@
1
- import { c as d, Z as u } from "./app-_4kRbuQl.js";
1
+ import { c as d, _ as u } from "./app-ayv5Jw7D.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-_4kRbuQl.js";
1
+ import { o as p } from "./app-ayv5Jw7D.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = p((s, n) => {
4
4
  function o() {