@feedmepos/mf-inventory-portal 1.2.59 → 1.2.60-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 (128) hide show
  1. package/dist/{App-Nwc0Ha2r.js → App-Dgk5k8U-.js} +82 -78
  2. package/dist/{ApprovalView-Y5f915s3.js → ApprovalView-CU2YMuZb.js} +5 -5
  3. package/dist/{BindingsDialog-5N7R_u4c.js → BindingsDialog-Cu0AR6jW.js} +5 -5
  4. package/dist/{BindingsPicker-BJwvLu2s.js → BindingsPicker-DyycJJ6i.js} +3 -3
  5. package/dist/{BindingsTable-B8sq-qXH.js → BindingsTable-wFAnOCdU.js} +5 -5
  6. package/dist/{ClosingDraftView-BsyYOZsz.js → ClosingDraftView-C01bZNv_.js} +891 -893
  7. package/dist/{ClosingHistoryView-BNpsMNy1.js → ClosingHistoryView-Bwjadf1x.js} +36 -36
  8. package/dist/{ClosingTemplateView-BBqbq07d.js → ClosingTemplateView-BAalivwa.js} +14 -14
  9. package/dist/{DeliveryOrderPrintPreview-CmOO7wuE.js → DeliveryOrderPrintPreview-CaEmXkPV.js} +7 -7
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BXlY-Gu1.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D7J8uo_B.js} +17 -17
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CAMkZRFI.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DU4I0imJ.js} +2 -2
  12. package/dist/{FmMultiselectDialog-LagHyTQP.js → FmMultiselectDialog-CdhcCzVw.js} +1 -1
  13. package/dist/{FmMultiselectDialog-CwJUv9tG.js → FmMultiselectDialog-v004bPKF.js} +16 -16
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BmHFIkt1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C756UIBL.js} +16 -15
  15. package/dist/{ImportView-wQ_bNesb.js → ImportView-WyG44i3g.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DtMrJIVs.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Y74PdyhQ.js} +1 -1
  17. package/dist/{IngredientGroupView-DsGMhdwu.js → IngredientGroupView-7bkBWvrQ.js} +5 -5
  18. package/dist/{IngredientsView-JdjcLdOx.js → IngredientsView-BDgOWARl.js} +25 -24
  19. package/dist/{IntegrationView-CMmSIRUk.js → IntegrationView-BB7asiWy.js} +18 -17
  20. package/dist/{InventoryBindingForm-UL-UKtYW.js → InventoryBindingForm-CU9dnGdy.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-r875PDKP.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BmlVB1SU.js} +17 -16
  22. package/dist/{InventoryBindingSummary-BDAuT62b.js → InventoryBindingSummary-D2W_WcLV.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C5zOYiqR.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CVfShkXe.js} +5 -5
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-B2zppgqk.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CC4jkZg4.js} +2 -2
  25. package/dist/{PublishView-CSoZCSHT.js → PublishView-DR_TwAkf.js} +8 -8
  26. package/dist/{PurchaseOrderPrintPreview-D5Qw44xo.js → PurchaseOrderPrintPreview-CoX0u7jn.js} +11 -11
  27. package/dist/{ReceiveRequestView-Chntp08E.js → ReceiveRequestView-VBePJl-U.js} +34 -33
  28. package/dist/RecipeView-CiZw14m_.js +1558 -0
  29. package/dist/{StockView-CuCK7tD2.js → StockView-BFv_Tl8E.js} +122 -122
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-fMji2qKG.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BMEsUpAC.js} +1 -1
  31. package/dist/{SupplierView-CA17Tz02.js → SupplierView-PSGUQEzz.js} +20 -19
  32. package/dist/{SurchargeView-EIftjMCa.js → SurchargeView-B7qTXk1L.js} +6 -6
  33. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CqA6RmPy.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CxEeb4BW.js} +2 -2
  34. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CYXsAP0i.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dxg6HaiQ.js} +1 -1
  35. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BbbAEIcW.js → TransferDetails.vue_vue_type_script_setup_true_lang-CAviJscD.js} +77 -78
  36. package/dist/{TransferTemplateView-CYfbm9aS.js → TransferTemplateView-CsRPCwN_.js} +22 -21
  37. package/dist/UnitCostHistoryView-Byd2FHbH.js +651 -0
  38. package/dist/{UnitView-6s5CsGEQ.js → UnitView-CdZ_GaUr.js} +9 -9
  39. package/dist/{WarehouseView-BXDQOyFZ.js → WarehouseView-DQGYq00N.js} +5 -5
  40. package/dist/{WastageTemplateView-Cq92TiRs.js → WastageTemplateView-CE7aiWUH.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-DJuq_faF.js → app-CpEqZK89.js} +7453 -6448
  45. package/dist/app.d.ts +228 -0
  46. package/dist/app.js +1 -1
  47. package/dist/{closing-template-D_zbp5V1.js → closing-template-C20qxOGw.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-4vrHarNG.js → date2-C37x5LGh.js} +1 -1
  52. package/dist/{dayjs.min-Dwp8614O.js → dayjs.min-C5A6b5Ut.js} +16 -16
  53. package/dist/{defineDeepModel-DVt2Wz9r.js → defineDeepModel-btW96tVp.js} +1 -1
  54. package/dist/{duplicate-template-CkYWeFtL.js → duplicate-template-BPduDL4a.js} +1 -1
  55. package/dist/{feature-Beh-qc03.js → feature-Cu77Fha2.js} +784 -779
  56. package/dist/{format-time-from-id-84iLSxVu.js → format-time-from-id-ULW7QQVk.js} +1 -1
  57. package/dist/{format-unit-display-DfeNpWk4.js → format-unit-display-CeyXEKCV.js} +16 -15
  58. package/dist/helper/number.d.ts +2 -0
  59. package/dist/helper/type.d.ts +5 -0
  60. package/dist/{import-export.helper-fAVzQM2q.js → import-export.helper-DpgGeeZ4.js} +17 -16
  61. package/dist/{index-CoEqhZLm.js → index-6Is7orHh.js} +1 -1
  62. package/dist/{index-B2_16R5E.js → index-Cl2lmtBz.js} +1471 -1412
  63. package/dist/{index-Chogzhcq.js → index-DKDWBhbI.js} +3 -3
  64. package/dist/{lodash-Cx8BU1GH.js → lodash-BS2snJNb.js} +1 -1
  65. package/dist/{netsuite-C1bml-v1.js → netsuite-B5YYhPhU.js} +60 -60
  66. package/dist/number-DgdltWRu.js +232 -0
  67. package/dist/{purchase-order-template-BqFnJ-6B.js → purchase-order-template-DVz_OXJ7.js} +1 -1
  68. package/dist/router/name.d.ts +1 -0
  69. package/dist/rules-BPG3Fjva.js +98 -0
  70. package/dist/stock-BXorYvfp.js +75 -0
  71. package/dist/{stock-KxT4JbNf.js → stock-D9iwDDOz.js} +1 -1
  72. package/dist/stores/feature.d.ts +2 -0
  73. package/dist/stores/integration/netsuite.d.ts +8 -1
  74. package/dist/stores/inventory.d.ts +119 -30
  75. package/dist/{supplier-C7wUB1zT.js → supplier-UJg1gtQ8.js} +2 -2
  76. package/dist/{surcharge-CjB_Qtbv.js → surcharge-CcJatYN4.js} +1 -1
  77. package/dist/tsconfig.app.tsbuildinfo +1 -1
  78. package/dist/{use-ingredient-select-dialog-D5KSqA4Z.js → use-ingredient-select-dialog-C--_de2u.js} +2 -2
  79. package/dist/{use-inventory-binding-dialog-eGOvztV3.js → use-inventory-binding-dialog-JsmcY8OK.js} +2 -2
  80. package/dist/{use-template-enabled-locations-2-3kcVWPQm.js → use-template-enabled-locations-2-Ce6Y0gQ_.js} +2 -2
  81. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +64 -8
  82. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +192 -24
  83. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -1
  84. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +96 -12
  85. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +96 -12
  86. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
  87. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +14 -0
  88. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -4
  89. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +28 -0
  90. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +169 -0
  91. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +43 -0
  92. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +25 -0
  93. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +125 -0
  94. package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +129 -0
  95. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +30 -0
  96. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +4 -0
  97. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -1
  98. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +16 -2
  99. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +33 -5
  100. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +16 -2
  101. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +32 -4
  102. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
  103. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +41 -6
  104. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +246 -36
  105. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +287 -42
  106. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +16 -0
  107. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -0
  108. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +16 -2
  109. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +16 -2
  110. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +16 -2
  111. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +16 -2
  112. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -1
  113. package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +24 -3
  114. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -12
  115. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -12
  116. package/dist/views/unit-cost-history/UnitCostHistoryView.vue.d.ts +2 -0
  117. package/dist/views/unit-cost-history/components/UnitCostDetailsSideSheet.vue.d.ts +19 -0
  118. package/dist/views/unit-cost-history/components/UnitCostRecalculationDialog.vue.d.ts +11 -0
  119. package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +65 -0
  120. package/dist/vue-i18n-Cv_EPb3h.js +2365 -0
  121. package/dist/{xlsx-BwNUbN_O.js → xlsx-DuXSmSdO.js} +1 -1
  122. package/dist/{xlsx.util-B_DE3inS.js → xlsx.util-B75iIY7V.js} +1 -1
  123. package/package.json +2 -2
  124. package/dist/RecipeView-Ck3Pa4fg.js +0 -646
  125. package/dist/decimal-Bf6AG_d3.js +0 -99
  126. package/dist/rules-y2OYGOro.js +0 -201
  127. package/dist/stock-BWUzlDTa.js +0 -75
  128. package/dist/vue-i18n-C6XNfngV.js +0 -2365
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;
@@ -1185,10 +1212,53 @@ export declare const i18nMessages: {
1185
1212
  outdated: string;
1186
1213
  };
1187
1214
  };
1215
+ unitCost: {
1216
+ recalculation: {
1217
+ title: string;
1218
+ description: string;
1219
+ startDate: string;
1220
+ selectStartDate: string;
1221
+ endDate: string;
1222
+ selectEndDate: string;
1223
+ info: string;
1224
+ schedule: string;
1225
+ successMessage: string;
1226
+ errorMessage: string;
1227
+ recentRequests: string;
1228
+ from: string;
1229
+ to: string;
1230
+ requestedBy: string;
1231
+ requestedAt: string;
1232
+ completedAt: string;
1233
+ status: {
1234
+ failed: string;
1235
+ completed: string;
1236
+ inProgress: string;
1237
+ };
1238
+ error: {
1239
+ endDateBeforeStart: string;
1240
+ };
1241
+ };
1242
+ };
1243
+ };
1244
+ ingredient: {
1245
+ inventoryBinding: {
1246
+ alternativeTable: {
1247
+ column: {
1248
+ ingredient: string;
1249
+ };
1250
+ };
1251
+ };
1188
1252
  };
1189
1253
  };
1190
1254
  'zh-CN': {
1191
1255
  inventory: {
1256
+ alternatives: string;
1257
+ binding: {
1258
+ alternative: {
1259
+ maximumExceeded: string;
1260
+ };
1261
+ };
1192
1262
  common: {
1193
1263
  success: string;
1194
1264
  proPlan: {
@@ -1313,6 +1383,25 @@ export declare const i18nMessages: {
1313
1383
  ingredientGroup: string;
1314
1384
  invalidWarning: string;
1315
1385
  circularError: string;
1386
+ rules: string;
1387
+ rulesHelper: string;
1388
+ rulesJson: string;
1389
+ alternatives: string;
1390
+ alternativesHelper: string;
1391
+ addAlternative: string;
1392
+ alternativeSku: string;
1393
+ priority: string;
1394
+ default: string;
1395
+ selectAlternative: string;
1396
+ noAlternatives: string;
1397
+ primarySkuNotFound: string;
1398
+ alternativesNotSupportedForRecipe: string;
1399
+ alternativeTable: {
1400
+ ingredient: string;
1401
+ unit: string;
1402
+ measurementOption: string;
1403
+ priority: string;
1404
+ };
1316
1405
  };
1317
1406
  inventoryAdjustment: {
1318
1407
  title: string;
@@ -1850,6 +1939,8 @@ export declare const i18nMessages: {
1850
1939
  title: string;
1851
1940
  uploadDescription: string;
1852
1941
  };
1942
+ enableRecipeV2: string;
1943
+ recipeV2Warning: string;
1853
1944
  };
1854
1945
  unit: {
1855
1946
  title: string;
@@ -2319,9 +2410,24 @@ export declare const i18nMessages: {
2319
2410
  };
2320
2411
  };
2321
2412
  };
2413
+ ingredient: {
2414
+ inventoryBinding: {
2415
+ alternativeTable: {
2416
+ column: {
2417
+ ingredient: string;
2418
+ };
2419
+ };
2420
+ };
2421
+ };
2322
2422
  };
2323
2423
  'th-TH': {
2324
2424
  inventory: {
2425
+ alternatives: string;
2426
+ binding: {
2427
+ alternative: {
2428
+ maximumExceeded: string;
2429
+ };
2430
+ };
2325
2431
  common: {
2326
2432
  success: string;
2327
2433
  proPlan: {
@@ -2446,6 +2552,25 @@ export declare const i18nMessages: {
2446
2552
  ingredientGroup: string;
2447
2553
  invalidWarning: string;
2448
2554
  circularError: string;
2555
+ rules: string;
2556
+ rulesHelper: string;
2557
+ rulesJson: string;
2558
+ alternatives: string;
2559
+ alternativesHelper: string;
2560
+ addAlternative: string;
2561
+ alternativeSku: string;
2562
+ priority: string;
2563
+ default: string;
2564
+ selectAlternative: string;
2565
+ noAlternatives: string;
2566
+ primarySkuNotFound: string;
2567
+ alternativesNotSupportedForRecipe: string;
2568
+ alternativeTable: {
2569
+ ingredient: string;
2570
+ unit: string;
2571
+ measurementOption: string;
2572
+ priority: string;
2573
+ };
2449
2574
  };
2450
2575
  inventoryAdjustment: {
2451
2576
  title: string;
@@ -2983,6 +3108,8 @@ export declare const i18nMessages: {
2983
3108
  title: string;
2984
3109
  uploadDescription: string;
2985
3110
  };
3111
+ enableRecipeV2: string;
3112
+ recipeV2Warning: string;
2986
3113
  };
2987
3114
  unit: {
2988
3115
  title: string;
@@ -3452,9 +3579,24 @@ export declare const i18nMessages: {
3452
3579
  };
3453
3580
  };
3454
3581
  };
3582
+ ingredient: {
3583
+ inventoryBinding: {
3584
+ alternativeTable: {
3585
+ column: {
3586
+ ingredient: string;
3587
+ };
3588
+ };
3589
+ };
3590
+ };
3455
3591
  };
3456
3592
  'ja-JP': {
3457
3593
  inventory: {
3594
+ alternatives: string;
3595
+ binding: {
3596
+ alternative: {
3597
+ maximumExceeded: string;
3598
+ };
3599
+ };
3458
3600
  common: {
3459
3601
  success: string;
3460
3602
  proPlan: {
@@ -3579,6 +3721,25 @@ export declare const i18nMessages: {
3579
3721
  ingredientGroup: string;
3580
3722
  invalidWarning: string;
3581
3723
  circularError: string;
3724
+ rules: string;
3725
+ rulesHelper: string;
3726
+ rulesJson: string;
3727
+ alternatives: string;
3728
+ alternativesHelper: string;
3729
+ addAlternative: string;
3730
+ alternativeSku: string;
3731
+ priority: string;
3732
+ default: string;
3733
+ selectAlternative: string;
3734
+ noAlternatives: string;
3735
+ primarySkuNotFound: string;
3736
+ alternativesNotSupportedForRecipe: string;
3737
+ alternativeTable: {
3738
+ ingredient: string;
3739
+ unit: string;
3740
+ measurementOption: string;
3741
+ priority: string;
3742
+ };
3582
3743
  };
3583
3744
  inventoryAdjustment: {
3584
3745
  title: string;
@@ -4116,6 +4277,8 @@ export declare const i18nMessages: {
4116
4277
  title: string;
4117
4278
  uploadDescription: string;
4118
4279
  };
4280
+ enableRecipeV2: string;
4281
+ recipeV2Warning: string;
4119
4282
  };
4120
4283
  unit: {
4121
4284
  title: string;
@@ -4585,6 +4748,15 @@ export declare const i18nMessages: {
4585
4748
  };
4586
4749
  };
4587
4750
  };
4751
+ ingredient: {
4752
+ inventoryBinding: {
4753
+ alternativeTable: {
4754
+ column: {
4755
+ ingredient: string;
4756
+ };
4757
+ };
4758
+ };
4759
+ };
4588
4760
  };
4589
4761
  };
4590
4762
  export { routers } from './router/shared';
@@ -4604,6 +4776,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4604
4776
  precision: number;
4605
4777
  };
4606
4778
  } | null | undefined;
4779
+ rules?: Record<string, any> | null | undefined;
4780
+ alternatives?: {
4781
+ priority?: number | null | undefined;
4782
+ default?: boolean | null | undefined;
4783
+ trackingMeasurement?: string | null | undefined;
4784
+ _id: string;
4785
+ }[] | null | undefined;
4607
4786
  id: string;
4608
4787
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4609
4788
  amount: {
@@ -4633,6 +4812,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4633
4812
  precision: number;
4634
4813
  };
4635
4814
  } | null | undefined;
4815
+ rules?: Record<string, any> | null | undefined;
4816
+ alternatives?: {
4817
+ priority?: number | null | undefined;
4818
+ default?: boolean | null | undefined;
4819
+ trackingMeasurement?: string | null | undefined;
4820
+ _id: string;
4821
+ }[] | null | undefined;
4636
4822
  id: string;
4637
4823
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4638
4824
  amount: {
@@ -4659,6 +4845,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4659
4845
  precision: number;
4660
4846
  };
4661
4847
  } | null | undefined;
4848
+ rules?: Record<string, any> | null | undefined;
4849
+ alternatives?: {
4850
+ priority?: number | null | undefined;
4851
+ default?: boolean | null | undefined;
4852
+ trackingMeasurement?: string | null | undefined;
4853
+ _id: string;
4854
+ }[] | null | undefined;
4662
4855
  id: string;
4663
4856
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4664
4857
  amount: {
@@ -4682,6 +4875,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4682
4875
  precision: number;
4683
4876
  };
4684
4877
  } | null | undefined;
4878
+ rules?: Record<string, any> | null | undefined;
4879
+ alternatives?: {
4880
+ priority?: number | null | undefined;
4881
+ default?: boolean | null | undefined;
4882
+ trackingMeasurement?: string | null | undefined;
4883
+ _id: string;
4884
+ }[] | null | undefined;
4685
4885
  id: string;
4686
4886
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4687
4887
  amount: {
@@ -4711,6 +4911,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4711
4911
  precision: number;
4712
4912
  };
4713
4913
  } | null | undefined;
4914
+ rules?: Record<string, any> | null | undefined;
4915
+ alternatives?: {
4916
+ priority?: number | null | undefined;
4917
+ default?: boolean | null | undefined;
4918
+ trackingMeasurement?: string | null | undefined;
4919
+ _id: string;
4920
+ }[] | null | undefined;
4714
4921
  id: string;
4715
4922
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4716
4923
  amount: {
@@ -4737,6 +4944,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4737
4944
  precision: number;
4738
4945
  };
4739
4946
  } | null | undefined;
4947
+ rules?: Record<string, any> | null | undefined;
4948
+ alternatives?: {
4949
+ priority?: number | null | undefined;
4950
+ default?: boolean | null | undefined;
4951
+ trackingMeasurement?: string | null | undefined;
4952
+ _id: string;
4953
+ }[] | null | undefined;
4740
4954
  id: string;
4741
4955
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4742
4956
  amount: {
@@ -4756,6 +4970,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4756
4970
  precision: number;
4757
4971
  };
4758
4972
  } | null | undefined;
4973
+ rules?: Record<string, any> | null | undefined;
4974
+ alternatives?: {
4975
+ priority?: number | null | undefined;
4976
+ default?: boolean | null | undefined;
4977
+ trackingMeasurement?: string | null | undefined;
4978
+ _id: string;
4979
+ }[] | null | undefined;
4759
4980
  id: string;
4760
4981
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4761
4982
  amount: {
@@ -4773,6 +4994,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4773
4994
  precision: number;
4774
4995
  };
4775
4996
  } | null | undefined;
4997
+ rules?: Record<string, any> | null | undefined;
4998
+ alternatives?: {
4999
+ priority?: number | null | undefined;
5000
+ default?: boolean | null | undefined;
5001
+ trackingMeasurement?: string | null | undefined;
5002
+ _id: string;
5003
+ }[] | null | undefined;
4776
5004
  id: string;
4777
5005
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4778
5006
  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-DJuq_faF.js";
2
+ import { ar as n, as as e, at as o, aq as t, au as i, a as m } from "./app-CpEqZK89.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-DJuq_faF.js";
1
+ import { o as c } from "./app-CpEqZK89.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-Dwp8614O.js";
1
+ import { d as l } from "./dayjs.min-C5A6b5Ut.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-DJuq_faF.js";
1
+ import { ai as Q, A as K } from "./app-CpEqZK89.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-DJuq_faF.js";
1
+ import { c as d, _ as u } from "./app-CpEqZK89.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-DJuq_faF.js";
1
+ import { o as p } from "./app-CpEqZK89.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = p((s, n) => {
4
4
  function o() {