@feedmepos/mf-inventory-portal 1.2.64 → 1.2.66-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 (142) hide show
  1. package/dist/{App-apJIvz1w.js → App-BUNonuLz.js} +82 -78
  2. package/dist/{ApprovalView-CnT6gEI8.js → ApprovalView-BlS1tfbh.js} +6 -6
  3. package/dist/{BindingsDialog-DLEGDbV2.js → BindingsDialog-tRpsVTm0.js} +5 -5
  4. package/dist/{BindingsPicker-1Xt1vCu9.js → BindingsPicker-CUvkqcAG.js} +3 -3
  5. package/dist/{BindingsTable-_0cOM0Kx.js → BindingsTable-B86pWYMk.js} +5 -5
  6. package/dist/{ClosingDraftView-DsVPsN87.js → ClosingDraftView-gMVnQcWw.js} +226 -224
  7. package/dist/ClosingHistoryView-DhbE1pEl.js +1147 -0
  8. package/dist/{ClosingTemplateView-DB3F1wul.js → ClosingTemplateView-Ywbdj05y.js} +15 -15
  9. package/dist/{DeliveryOrderPrintPreview-CglCMgHc.js → DeliveryOrderPrintPreview-BPhVNc_r.js} +7 -7
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-MMPTJodu.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BrPh_Nvx.js} +16 -16
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CCID5O2Y.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CkUwLhut.js} +3 -3
  12. package/dist/{FmMultiselectDialog-B8xFmCsH.js → FmMultiselectDialog-C6E_KMFO.js} +1 -1
  13. package/dist/{FmMultiselectDialog-lQM1qEEW.js → FmMultiselectDialog-DBXpkw5b.js} +16 -16
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BLDz8wwK.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D-ZqJ8sU.js} +23 -22
  15. package/dist/{ImportView-DeC-MPFn.js → ImportView-DV1e51qk.js} +7 -7
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BGDZlmsr.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DkQL7hK2.js} +1 -1
  17. package/dist/{IngredientGroupView-CuFwQ8Bo.js → IngredientGroupView-CdXGO34J.js} +6 -6
  18. package/dist/{IngredientsView-CfloqEqn.js → IngredientsView-D2qffNiJ.js} +26 -25
  19. package/dist/{IntegrationView-CFU0yG6C.js → IntegrationView-RFJIHXQv.js} +19 -18
  20. package/dist/{InventoryBindingForm-i7eNurS2.js → InventoryBindingForm-CPn-IXgg.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-zOo9YVJe.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-0Vrih8D5.js} +17 -16
  22. package/dist/{InventoryBindingSummary-BbHLCdjj.js → InventoryBindingSummary-B_WUQ6By.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-NEPqmkHR.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmDuR4Yb.js} +5 -5
  24. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-DhIHSpzG.js +93 -0
  25. package/dist/{PublishView-CbwCLtph.js → PublishView-BtTSOUyL.js} +9 -9
  26. package/dist/{PurchaseOrderPrintPreview-DLhgjhHB.js → PurchaseOrderPrintPreview-CxhMPx5u.js} +11 -11
  27. package/dist/{ReceiveRequestView-CE2aQR-o.js → ReceiveRequestView-CsqEjf7r.js} +144 -142
  28. package/dist/RecipeView-DASoba97.js +1558 -0
  29. package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js +254 -0
  30. package/dist/StockView-B4Km4DgB.js +2395 -0
  31. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-D0BDdq4d.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cki-LAZR.js} +1 -1
  32. package/dist/{SupplierView-wSzWjZLY.js → SupplierView-CrzFvBIx.js} +21 -20
  33. package/dist/{SurchargeView-G8OyE60y.js → SurchargeView-BoNWpxFY.js} +7 -7
  34. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CROQL761.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dcp5vZPM.js} +3 -3
  35. package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-IAknr-ye.js +292 -0
  36. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-D1AGDeEP.js → TransferDetails.vue_vue_type_script_setup_true_lang-D9aNX0oM.js} +131 -130
  37. package/dist/{TransferTemplateView-CVfi8jsk.js → TransferTemplateView-DwIU0paO.js} +23 -22
  38. package/dist/UnitCostHistoryView-Bjs4RwyR.js +651 -0
  39. package/dist/UnitDisplayControl.vue_vue_type_script_setup_true_lang-BH0PxivU.js +137 -0
  40. package/dist/{UnitView-Dn3nuQHm.js → UnitView-BbQ0jOgS.js} +12 -10
  41. package/dist/{WarehouseView-GSxQ_Ev2.js → WarehouseView-DzPttKzE.js} +6 -6
  42. package/dist/WastageTemplateView-CxyZz5JC.js +2327 -0
  43. package/dist/api/adjustment-template.d.ts +1 -0
  44. package/dist/api/closing.d.ts +2 -0
  45. package/dist/api/inventory.d.ts +126 -36
  46. package/dist/api/netsuite.d.ts +8 -1
  47. package/dist/api/stock.d.ts +5 -1
  48. package/dist/api/unit-cost-history.d.ts +28 -0
  49. package/dist/{app-CYbiMVcX.js → app-EoCCjoRh.js} +9021 -7945
  50. package/dist/app.d.ts +236 -0
  51. package/dist/app.js +1 -1
  52. package/dist/{closing-template-Dq16W8vW.js → closing-template-O_hzhisU.js} +5 -1
  53. package/dist/components/TemplatePublishDialog.d.ts +1 -0
  54. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +37 -1
  55. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +14 -0
  56. package/dist/components/shell/inventory/binding-ui.vue.d.ts +16 -1
  57. package/dist/{date2-De3BHKh5.js → date2-CTHKdfXp.js} +1 -1
  58. package/dist/{dayjs.min-DxdfVXA-.js → dayjs.min-Ccv4NdEp.js} +16 -16
  59. package/dist/decimal-tRyklLh0.js +99 -0
  60. package/dist/{defineDeepModel-2n_afItE.js → defineDeepModel-rmOd66to.js} +1 -1
  61. package/dist/{duplicate-template-DM7YIgor.js → duplicate-template-k8Erwdzo.js} +1 -1
  62. package/dist/export-TmaGpV98.js +25 -0
  63. package/dist/{feature-_nNpSZuh.js → feature-D4-lt7R6.js} +94 -89
  64. package/dist/{format-time-from-id-D5HSMsS-.js → format-time-from-id-Cru7cG1h.js} +1 -1
  65. package/dist/{format-unit-display-CQUFDxVm.js → format-unit-display-DZDD796a.js} +16 -15
  66. package/dist/{import-export.helper-BoxczUsX.js → import-export.helper-BjzXGudc.js} +16 -15
  67. package/dist/{index-B6nDUCCe.js → index-BeEz64I1.js} +3 -3
  68. package/dist/{index-Cp_mpu5S.js → index-DKCY6354.js} +1471 -1412
  69. package/dist/{index-CdfF5GGW.js → index-gGbN4qbt.js} +1 -1
  70. package/dist/{lodash-2R7Rgorb.js → lodash-BSCFf0k7.js} +1 -1
  71. package/dist/{netsuite-Bss4fURp.js → netsuite-DwoCq3Mv.js} +92 -92
  72. package/dist/number-CEUoMyIk.js +138 -0
  73. package/dist/{purchase-order-template-CBSvv0b2.js → purchase-order-template-DWTdjo9l.js} +1 -1
  74. package/dist/router/name.d.ts +1 -0
  75. package/dist/rules-CyW1Bx31.js +98 -0
  76. package/dist/{stock-DMX_hH5c.js → stock-DYWJ4DZW.js} +28 -27
  77. package/dist/stock-Ds3GNgHG.js +75 -0
  78. package/dist/stores/feature.d.ts +2 -0
  79. package/dist/stores/integration/netsuite.d.ts +8 -1
  80. package/dist/stores/inventory.d.ts +120 -30
  81. package/dist/{supplier-Cf5HW15s.js → supplier-DwUb1oVo.js} +2 -2
  82. package/dist/{surcharge-CyReT8lG.js → surcharge-UTJFNBLN.js} +1 -1
  83. package/dist/tsconfig.app.tsbuildinfo +1 -1
  84. package/dist/{use-ingredient-select-dialog-BCyydlHR.js → use-ingredient-select-dialog-D8A3bPTe.js} +2 -2
  85. package/dist/{use-inventory-binding-dialog-WGQs-_2i.js → use-inventory-binding-dialog-DFmiAQ9d.js} +2 -2
  86. package/dist/{use-template-enabled-locations-2-B0nlqUjb.js → use-template-enabled-locations-2-snlITfW8.js} +2 -2
  87. package/dist/views/adjustment-template/wastage-template/table.d.ts +10 -1
  88. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +68 -12
  89. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +204 -36
  90. package/dist/views/closing-history/ClosingDetailDialog.vue.d.ts +23 -0
  91. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -1
  92. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +96 -12
  93. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +96 -12
  94. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
  95. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +14 -0
  96. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -4
  97. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +28 -0
  98. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +169 -0
  99. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +43 -0
  100. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +25 -0
  101. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +125 -0
  102. package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +129 -0
  103. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +30 -0
  104. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +4 -0
  105. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -1
  106. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +16 -2
  107. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +33 -5
  108. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +16 -2
  109. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +32 -4
  110. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
  111. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +41 -6
  112. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +246 -36
  113. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +287 -42
  114. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +16 -0
  115. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -0
  116. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +16 -2
  117. package/dist/views/stock/components/dialog/SnapshotRecalculationDialog.vue.d.ts +11 -0
  118. package/dist/views/stock/components/dialog/recalculationUtils.d.ts +16 -0
  119. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +16 -2
  120. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +16 -2
  121. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +16 -2
  122. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -1
  123. package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +24 -3
  124. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -12
  125. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -12
  126. package/dist/views/unit-cost-history/UnitCostHistoryView.vue.d.ts +2 -0
  127. package/dist/views/unit-cost-history/components/UnitCostDetailsSideSheet.vue.d.ts +19 -0
  128. package/dist/views/unit-cost-history/components/UnitCostRecalculationDialog.vue.d.ts +11 -0
  129. package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +65 -0
  130. package/dist/{vue-i18n-DwS_fjo9.js → vue-i18n-CY4442Fb.js} +510 -510
  131. package/dist/{xlsx-9MOvXxhT.js → xlsx-Kc1XotGV.js} +1 -1
  132. package/dist/{xlsx.util-D1DdGA1N.js → xlsx.util-Dy4jmPyv.js} +1 -1
  133. package/package.json +1 -1
  134. package/dist/ClosingHistoryView-YrEVWvGu.js +0 -447
  135. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BDVHkTSE.js +0 -116
  136. package/dist/RecipeView-B-gmrXHR.js +0 -646
  137. package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js +0 -251
  138. package/dist/StockView-BNe2_5bA.js +0 -2520
  139. package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CwV2luel.js +0 -263
  140. package/dist/WastageTemplateView-BG-y48uc.js +0 -2388
  141. package/dist/rules-T-fs8_4_.js +0 -327
  142. package/dist/stock-CFWu5bRA.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;
@@ -359,11 +384,13 @@ export declare const i18nMessages: {
359
384
  history: {
360
385
  title: string;
361
386
  closingId: string;
387
+ snapshotId: string;
362
388
  date: string;
363
389
  time: string;
364
390
  createdFrom: string;
365
391
  noClosings: string;
366
392
  initiate_opening: string;
393
+ initiate_snapshot: string;
367
394
  };
368
395
  };
369
396
  adjustment: {
@@ -670,6 +697,8 @@ export declare const i18nMessages: {
670
697
  title: string;
671
698
  uploadDescription: string;
672
699
  };
700
+ enableRecipeV2: string;
701
+ recipeV2Warning: string;
673
702
  };
674
703
  unit: {
675
704
  title: string;
@@ -1193,10 +1222,53 @@ export declare const i18nMessages: {
1193
1222
  outdated: string;
1194
1223
  };
1195
1224
  };
1225
+ unitCost: {
1226
+ recalculation: {
1227
+ title: string;
1228
+ description: string;
1229
+ startDate: string;
1230
+ selectStartDate: string;
1231
+ endDate: string;
1232
+ selectEndDate: string;
1233
+ info: string;
1234
+ schedule: string;
1235
+ successMessage: string;
1236
+ errorMessage: string;
1237
+ recentRequests: string;
1238
+ from: string;
1239
+ to: string;
1240
+ requestedBy: string;
1241
+ requestedAt: string;
1242
+ completedAt: string;
1243
+ status: {
1244
+ failed: string;
1245
+ completed: string;
1246
+ inProgress: string;
1247
+ };
1248
+ error: {
1249
+ endDateBeforeStart: string;
1250
+ };
1251
+ };
1252
+ };
1253
+ };
1254
+ ingredient: {
1255
+ inventoryBinding: {
1256
+ alternativeTable: {
1257
+ column: {
1258
+ ingredient: string;
1259
+ };
1260
+ };
1261
+ };
1196
1262
  };
1197
1263
  };
1198
1264
  'zh-CN': {
1199
1265
  inventory: {
1266
+ alternatives: string;
1267
+ binding: {
1268
+ alternative: {
1269
+ maximumExceeded: string;
1270
+ };
1271
+ };
1200
1272
  common: {
1201
1273
  success: string;
1202
1274
  optional: string;
@@ -1322,6 +1394,25 @@ export declare const i18nMessages: {
1322
1394
  ingredientGroup: string;
1323
1395
  invalidWarning: string;
1324
1396
  circularError: string;
1397
+ rules: string;
1398
+ rulesHelper: string;
1399
+ rulesJson: string;
1400
+ alternatives: string;
1401
+ alternativesHelper: string;
1402
+ addAlternative: string;
1403
+ alternativeSku: string;
1404
+ priority: string;
1405
+ default: string;
1406
+ selectAlternative: string;
1407
+ noAlternatives: string;
1408
+ primarySkuNotFound: string;
1409
+ alternativesNotSupportedForRecipe: string;
1410
+ alternativeTable: {
1411
+ ingredient: string;
1412
+ unit: string;
1413
+ measurementOption: string;
1414
+ priority: string;
1415
+ };
1325
1416
  };
1326
1417
  inventoryAdjustment: {
1327
1418
  title: string;
@@ -1550,11 +1641,13 @@ export declare const i18nMessages: {
1550
1641
  history: {
1551
1642
  title: string;
1552
1643
  closingId: string;
1644
+ snapshotId: string;
1553
1645
  date: string;
1554
1646
  time: string;
1555
1647
  createdFrom: string;
1556
1648
  noClosings: string;
1557
1649
  initiate_opening: string;
1650
+ initiate_snapshot: string;
1558
1651
  };
1559
1652
  };
1560
1653
  adjustment: {
@@ -1861,6 +1954,8 @@ export declare const i18nMessages: {
1861
1954
  title: string;
1862
1955
  uploadDescription: string;
1863
1956
  };
1957
+ enableRecipeV2: string;
1958
+ recipeV2Warning: string;
1864
1959
  };
1865
1960
  unit: {
1866
1961
  title: string;
@@ -2335,9 +2430,24 @@ export declare const i18nMessages: {
2335
2430
  };
2336
2431
  };
2337
2432
  };
2433
+ ingredient: {
2434
+ inventoryBinding: {
2435
+ alternativeTable: {
2436
+ column: {
2437
+ ingredient: string;
2438
+ };
2439
+ };
2440
+ };
2441
+ };
2338
2442
  };
2339
2443
  'th-TH': {
2340
2444
  inventory: {
2445
+ alternatives: string;
2446
+ binding: {
2447
+ alternative: {
2448
+ maximumExceeded: string;
2449
+ };
2450
+ };
2341
2451
  common: {
2342
2452
  success: string;
2343
2453
  optional: string;
@@ -2463,6 +2573,25 @@ export declare const i18nMessages: {
2463
2573
  ingredientGroup: string;
2464
2574
  invalidWarning: string;
2465
2575
  circularError: string;
2576
+ rules: string;
2577
+ rulesHelper: string;
2578
+ rulesJson: string;
2579
+ alternatives: string;
2580
+ alternativesHelper: string;
2581
+ addAlternative: string;
2582
+ alternativeSku: string;
2583
+ priority: string;
2584
+ default: string;
2585
+ selectAlternative: string;
2586
+ noAlternatives: string;
2587
+ primarySkuNotFound: string;
2588
+ alternativesNotSupportedForRecipe: string;
2589
+ alternativeTable: {
2590
+ ingredient: string;
2591
+ unit: string;
2592
+ measurementOption: string;
2593
+ priority: string;
2594
+ };
2466
2595
  };
2467
2596
  inventoryAdjustment: {
2468
2597
  title: string;
@@ -2691,11 +2820,13 @@ export declare const i18nMessages: {
2691
2820
  history: {
2692
2821
  title: string;
2693
2822
  closingId: string;
2823
+ snapshotId: string;
2694
2824
  date: string;
2695
2825
  time: string;
2696
2826
  createdFrom: string;
2697
2827
  noClosings: string;
2698
2828
  initiate_opening: string;
2829
+ initiate_snapshot: string;
2699
2830
  };
2700
2831
  };
2701
2832
  adjustment: {
@@ -3002,6 +3133,8 @@ export declare const i18nMessages: {
3002
3133
  title: string;
3003
3134
  uploadDescription: string;
3004
3135
  };
3136
+ enableRecipeV2: string;
3137
+ recipeV2Warning: string;
3005
3138
  };
3006
3139
  unit: {
3007
3140
  title: string;
@@ -3476,9 +3609,24 @@ export declare const i18nMessages: {
3476
3609
  };
3477
3610
  };
3478
3611
  };
3612
+ ingredient: {
3613
+ inventoryBinding: {
3614
+ alternativeTable: {
3615
+ column: {
3616
+ ingredient: string;
3617
+ };
3618
+ };
3619
+ };
3620
+ };
3479
3621
  };
3480
3622
  'ja-JP': {
3481
3623
  inventory: {
3624
+ alternatives: string;
3625
+ binding: {
3626
+ alternative: {
3627
+ maximumExceeded: string;
3628
+ };
3629
+ };
3482
3630
  common: {
3483
3631
  success: string;
3484
3632
  optional: string;
@@ -3604,6 +3752,25 @@ export declare const i18nMessages: {
3604
3752
  ingredientGroup: string;
3605
3753
  invalidWarning: string;
3606
3754
  circularError: string;
3755
+ rules: string;
3756
+ rulesHelper: string;
3757
+ rulesJson: string;
3758
+ alternatives: string;
3759
+ alternativesHelper: string;
3760
+ addAlternative: string;
3761
+ alternativeSku: string;
3762
+ priority: string;
3763
+ default: string;
3764
+ selectAlternative: string;
3765
+ noAlternatives: string;
3766
+ primarySkuNotFound: string;
3767
+ alternativesNotSupportedForRecipe: string;
3768
+ alternativeTable: {
3769
+ ingredient: string;
3770
+ unit: string;
3771
+ measurementOption: string;
3772
+ priority: string;
3773
+ };
3607
3774
  };
3608
3775
  inventoryAdjustment: {
3609
3776
  title: string;
@@ -3832,11 +3999,13 @@ export declare const i18nMessages: {
3832
3999
  history: {
3833
4000
  title: string;
3834
4001
  closingId: string;
4002
+ snapshotId: string;
3835
4003
  date: string;
3836
4004
  time: string;
3837
4005
  createdFrom: string;
3838
4006
  noClosings: string;
3839
4007
  initiate_opening: string;
4008
+ initiate_snapshot: string;
3840
4009
  };
3841
4010
  };
3842
4011
  adjustment: {
@@ -4143,6 +4312,8 @@ export declare const i18nMessages: {
4143
4312
  title: string;
4144
4313
  uploadDescription: string;
4145
4314
  };
4315
+ enableRecipeV2: string;
4316
+ recipeV2Warning: string;
4146
4317
  };
4147
4318
  unit: {
4148
4319
  title: string;
@@ -4617,6 +4788,15 @@ export declare const i18nMessages: {
4617
4788
  };
4618
4789
  };
4619
4790
  };
4791
+ ingredient: {
4792
+ inventoryBinding: {
4793
+ alternativeTable: {
4794
+ column: {
4795
+ ingredient: string;
4796
+ };
4797
+ };
4798
+ };
4799
+ };
4620
4800
  };
4621
4801
  };
4622
4802
  export { routers } from './router/shared';
@@ -4636,6 +4816,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4636
4816
  precision: number;
4637
4817
  };
4638
4818
  } | null | undefined;
4819
+ rules?: Record<string, any> | null | undefined;
4820
+ alternatives?: {
4821
+ priority?: number | null | undefined;
4822
+ default?: boolean | null | undefined;
4823
+ trackingMeasurement?: string | null | undefined;
4824
+ _id: string;
4825
+ }[] | null | undefined;
4639
4826
  id: string;
4640
4827
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4641
4828
  amount: {
@@ -4665,6 +4852,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4665
4852
  precision: number;
4666
4853
  };
4667
4854
  } | null | undefined;
4855
+ rules?: Record<string, any> | null | undefined;
4856
+ alternatives?: {
4857
+ priority?: number | null | undefined;
4858
+ default?: boolean | null | undefined;
4859
+ trackingMeasurement?: string | null | undefined;
4860
+ _id: string;
4861
+ }[] | null | undefined;
4668
4862
  id: string;
4669
4863
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4670
4864
  amount: {
@@ -4691,6 +4885,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4691
4885
  precision: number;
4692
4886
  };
4693
4887
  } | null | undefined;
4888
+ rules?: Record<string, any> | null | undefined;
4889
+ alternatives?: {
4890
+ priority?: number | null | undefined;
4891
+ default?: boolean | null | undefined;
4892
+ trackingMeasurement?: string | null | undefined;
4893
+ _id: string;
4894
+ }[] | null | undefined;
4694
4895
  id: string;
4695
4896
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4696
4897
  amount: {
@@ -4714,6 +4915,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4714
4915
  precision: number;
4715
4916
  };
4716
4917
  } | null | undefined;
4918
+ rules?: Record<string, any> | null | undefined;
4919
+ alternatives?: {
4920
+ priority?: number | null | undefined;
4921
+ default?: boolean | null | undefined;
4922
+ trackingMeasurement?: string | null | undefined;
4923
+ _id: string;
4924
+ }[] | null | undefined;
4717
4925
  id: string;
4718
4926
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4719
4927
  amount: {
@@ -4743,6 +4951,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4743
4951
  precision: number;
4744
4952
  };
4745
4953
  } | null | undefined;
4954
+ rules?: Record<string, any> | null | undefined;
4955
+ alternatives?: {
4956
+ priority?: number | null | undefined;
4957
+ default?: boolean | null | undefined;
4958
+ trackingMeasurement?: string | null | undefined;
4959
+ _id: string;
4960
+ }[] | null | undefined;
4746
4961
  id: string;
4747
4962
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4748
4963
  amount: {
@@ -4769,6 +4984,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4769
4984
  precision: number;
4770
4985
  };
4771
4986
  } | null | undefined;
4987
+ rules?: Record<string, any> | null | undefined;
4988
+ alternatives?: {
4989
+ priority?: number | null | undefined;
4990
+ default?: boolean | null | undefined;
4991
+ trackingMeasurement?: string | null | undefined;
4992
+ _id: string;
4993
+ }[] | null | undefined;
4772
4994
  id: string;
4773
4995
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4774
4996
  amount: {
@@ -4788,6 +5010,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4788
5010
  precision: number;
4789
5011
  };
4790
5012
  } | null | undefined;
5013
+ rules?: Record<string, any> | null | undefined;
5014
+ alternatives?: {
5015
+ priority?: number | null | undefined;
5016
+ default?: boolean | null | undefined;
5017
+ trackingMeasurement?: string | null | undefined;
5018
+ _id: string;
5019
+ }[] | null | undefined;
4791
5020
  id: string;
4792
5021
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4793
5022
  amount: {
@@ -4805,6 +5034,13 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
4805
5034
  precision: number;
4806
5035
  };
4807
5036
  } | null | undefined;
5037
+ rules?: Record<string, any> | null | undefined;
5038
+ alternatives?: {
5039
+ priority?: number | null | undefined;
5040
+ default?: boolean | null | undefined;
5041
+ trackingMeasurement?: string | null | undefined;
5042
+ _id: string;
5043
+ }[] | null | undefined;
4808
5044
  id: string;
4809
5045
  type: "RECIPE" | "SKU" | "SKU_GROUP";
4810
5046
  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-CYbiMVcX.js";
2
+ import { ar as n, as as e, at as o, aq as t, au as i, a as m } from "./app-EoCCjoRh.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-CYbiMVcX.js";
1
+ import { o as c } from "./app-EoCCjoRh.js";
2
2
  import { useCoreStore as u } from "@feedmepos/mf-common";
3
3
  const d = c((s, a) => {
4
4
  function r() {
@@ -58,6 +58,10 @@ const d = c((s, a) => {
58
58
  const t = r(), n = `${s.inventoryBackendUrl}/${t}/adjustment-template/reason`;
59
59
  return a.post(n, e);
60
60
  },
61
+ async publishReasonDoc(e) {
62
+ const t = r(), n = `${s.inventoryBackendUrl}/${t}/adjustment-template/publish/reason`;
63
+ return a.post(n, { locationDbNames: e });
64
+ },
61
65
  async getAuditTrails(e) {
62
66
  const t = r(), n = `${s.inventoryBackendUrl}/${t}/adjustment-template/${e}/audit-trails`;
63
67
  return a.get(n);
@@ -12,4 +12,5 @@ export interface TemplatePublishDialogProps {
12
12
  initialPublishedRev?: PublishedRevByLocation | null;
13
13
  locations: FdoInventoryLocation[];
14
14
  enabledLocations?: FdoInventoryLocation[] | null;
15
+ hideUnpublish?: boolean;
15
16
  }
@@ -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-DxdfVXA-.js";
1
+ import { d as l } from "./dayjs.min-Ccv4NdEp.js";
2
2
  const T = new Intl.DateTimeFormat("en-US", {
3
3
  year: "numeric",
4
4
  month: "2-digit",