@feedmepos/mf-inventory-portal 0.0.23-dev.9 → 0.0.24-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 (140) hide show
  1. package/dist/App-D3sNH2MR.js +276 -0
  2. package/dist/{ApprovalView-e85YmdZN.js → ApprovalView-DHnRx0hJ.js} +17 -20
  3. package/dist/{BindingsDialog-giBUD0IH.js → BindingsDialog-oTeg2Dai.js} +6 -6
  4. package/dist/{BindingsPicker-CC4MmPbF.js → BindingsPicker-CWdjmMJ3.js} +8 -9
  5. package/dist/{BindingsTable-WphZdzrA.js → BindingsTable-bKLR1OKX.js} +18 -22
  6. package/dist/ClosingDraftView-CIQVz7lY.js +1225 -0
  7. package/dist/{ClosingTemplateView-1lzoDyet.js → ClosingTemplateView-D5pLzQwU.js} +259 -274
  8. package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-ClLDcchC.js +142 -0
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Cv-vvzr5.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B_c6Vn6P.js} +23 -24
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DIFQcrc0.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DhpHOaRH.js} +50 -51
  11. package/dist/{IngredientGroupView-UegBM_JK.js → IngredientGroupView-4C437mso.js} +63 -70
  12. package/dist/IngredientsView-DoiGgjre.js +1706 -0
  13. package/dist/{IntegrationView-FYNNzKia.js → IntegrationView-8ZKE7MAM.js} +123 -126
  14. package/dist/{InventoryBindingForm-DsHv_IHG.js → InventoryBindingForm-CcnfliYQ.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BURSXafS.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-B_J-6C9x.js} +116 -108
  16. package/dist/{InventoryBindingSummary-BLb4MRPZ.js → InventoryBindingSummary-CRdHCzNE.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BG78-DHs.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B2-TypU0.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CqID5_7v.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BuQde75S.js} +20 -21
  19. package/dist/PublishView-t5gjGmK_.js +192 -0
  20. package/dist/{PurchaseOrderPrintPreview-BBMU3teq.js → PurchaseOrderPrintPreview-6i53Y-v1.js} +13 -14
  21. package/dist/ReceiveRequestView-uOeSh0Mr.js +1866 -0
  22. package/dist/RecipeView-BTWywckD.js +609 -0
  23. package/dist/StockView-DN2xk8ei.js +1817 -0
  24. package/dist/{SupplierView-B2aObtwK.js → SupplierView-l0XUg3J4.js} +185 -196
  25. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CWMn6fFf.js +1327 -0
  26. package/dist/TransferTemplateView-wDKXpCWZ.js +1263 -0
  27. package/dist/UnitView-CUI-k-tS.js +648 -0
  28. package/dist/{WarehouseView-G8pej6Y2.js → WarehouseView-WsI_eG5r.js} +190 -197
  29. package/dist/api/adjustment-template.d.ts +25 -0
  30. package/dist/api/bill.d.ts +240 -84
  31. package/dist/api/inventory.d.ts +19 -6
  32. package/dist/api/netsuite.d.ts +3 -3
  33. package/dist/app-DntcWR3_.js +85558 -0
  34. package/dist/app.d.ts +85 -0
  35. package/dist/app.js +2 -2
  36. package/dist/components/FmCustomAttribute.vue.d.ts +23 -0
  37. package/dist/components/FmLockableField.vue.d.ts +37 -0
  38. package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
  39. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +3 -1
  40. package/dist/components/shell/inventory/binding-ui.vue.d.ts +3 -1
  41. package/dist/composable/defineDeepModel.d.ts +1 -1
  42. package/dist/{decimal-DC07xoJW.js → decimal-DTCTnMwO.js} +1 -1
  43. package/dist/format-unit-display-Hy48Iw5j.js +1215 -0
  44. package/dist/index-Bv9RYyTZ.js +29202 -0
  45. package/dist/{StockView-C5btudss.js → index-D4yJP9I2.js} +2220 -3863
  46. package/dist/layout/SingleColumnLayout.vue.d.ts +1 -0
  47. package/dist/router/name.d.ts +2 -0
  48. package/dist/stock-BsdmfT-b.js +125 -0
  49. package/dist/stores/feature.d.ts +41 -1
  50. package/dist/stores/integration/netsuite.d.ts +3 -2
  51. package/dist/stores/inventory.d.ts +20 -8
  52. package/dist/stores/location.d.ts +29 -1
  53. package/dist/stores/supplier.d.ts +1 -1
  54. package/dist/style.css +1 -1
  55. package/dist/supplier-CXhkgC4M.js +77 -0
  56. package/dist/tsconfig.app.tsbuildinfo +1 -1
  57. package/dist/{use-inventory-binding-dialog-B0G2XYSw.js → use-inventory-binding-dialog-DPMJmBCr.js} +10 -11
  58. package/dist/views/adjustment-template/import/AdjustmentTemplateImport.vue.d.ts +2 -0
  59. package/dist/views/adjustment-template/import/AdjustmentTemplateImportItem.vue.d.ts +18 -0
  60. package/dist/views/adjustment-template/import/export.d.ts +60 -0
  61. package/dist/views/adjustment-template/wastage-template/WastageTemplateDetails.vue.d.ts +2 -0
  62. package/dist/views/adjustment-template/wastage-template/WastageTemplateDialog.vue.d.ts +22 -0
  63. package/dist/views/adjustment-template/wastage-template/WastageTemplatePublish.vue.d.ts +6 -0
  64. package/dist/views/adjustment-template/wastage-template/WastageTemplateReason.vue.d.ts +18 -0
  65. package/dist/views/adjustment-template/wastage-template/WastageTemplateView.vue.d.ts +2 -0
  66. package/dist/views/adjustment-template/wastage-template/actions.d.ts +1377 -0
  67. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateForm.vue.d.ts +16 -0
  68. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +35 -0
  69. package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +20 -0
  70. package/dist/views/adjustment-template/wastage-template/props.d.ts +36 -0
  71. package/dist/views/adjustment-template/wastage-template/table.d.ts +1351 -0
  72. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +198 -12
  73. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +7 -4
  74. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1559 -467
  75. package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +19 -0
  76. package/dist/views/closing-draft/helpers/get-calculated-total.helper.d.ts +4 -0
  77. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +2 -1
  78. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +72 -12
  79. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +73 -13
  80. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +6 -3
  81. package/dist/views/ingredients/components/convert/ConvertFormProps.d.ts +1 -0
  82. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +4 -2
  83. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +1 -0
  84. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +2 -1
  85. package/dist/views/publish/PublishView.vue.d.ts +2 -0
  86. package/dist/views/receive-request/components/netsuite/NetSuiteInfo.vue.d.ts +12 -0
  87. package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +13 -0
  88. package/dist/views/receive-request/components/netsuite/NetSuiteSync.vue.d.ts +12 -0
  89. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +13 -0
  90. package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +1 -1
  91. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +86 -17
  92. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +4 -2
  93. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -1
  94. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +126 -24
  95. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +126 -24
  96. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -0
  97. package/dist/views/stock/components/StockRecordCard.vue.d.ts +120 -42
  98. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +6 -4
  99. package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
  100. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +4 -0
  101. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -1
  102. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +72 -12
  103. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +72 -12
  104. package/dist/views/transfer-template/helpers/import-export.helper.d.ts +2 -1
  105. package/dist/vue-i18n-ByVzHsI7.js +2365 -0
  106. package/package.json +5 -4
  107. package/dist/App-ByLgARNp.js +0 -259
  108. package/dist/ClosingDraftView-CQM1Sx45.js +0 -755
  109. package/dist/FmDroppableField-8RzKjEdL.js +0 -154
  110. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BvkN-71q.js +0 -436
  111. package/dist/FmMultiselectDialog-DScMA6iG.js +0 -415
  112. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-t4pim_k9.js +0 -51
  113. package/dist/IngredientsView-BfW-jZLM.js +0 -1666
  114. package/dist/ReceiveRequestView-vbANEzne.js +0 -4165
  115. package/dist/RecipeView-DW4DY0C0.js +0 -598
  116. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +0 -135
  117. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-B2LOvVef.js +0 -1229
  118. package/dist/TransferTemplateView-BKumN_p6.js +0 -1262
  119. package/dist/UnitView-CHLucv9s.js +0 -648
  120. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  121. package/dist/app-BXjk74IB.js +0 -33538
  122. package/dist/date2-CWAt9bRf.js +0 -117
  123. package/dist/dayjs.min-D3jPOnu6.js +0 -282
  124. package/dist/defineDeepModel-CiD4GtOw.js +0 -13
  125. package/dist/feature-6tcLMotY.js +0 -92
  126. package/dist/form-mode.enum-BKiNVH6A.js +0 -4
  127. package/dist/format-time-from-id-CYU5Z9Mt.js +0 -15
  128. package/dist/format-unit-display-CY-0bznr.js +0 -1217
  129. package/dist/fuzzy-BMkhNYLR.js +0 -41
  130. package/dist/index-BXwQa14X.js +0 -45
  131. package/dist/index-CRLd5xyg.js +0 -22283
  132. package/dist/index-DqwAtOgI.js +0 -12087
  133. package/dist/netsuite-fYUUk_ss.js +0 -225
  134. package/dist/row-action.enum-7rGLGZ5v.js +0 -55
  135. package/dist/rules-BmRGm3yv.js +0 -203
  136. package/dist/stock-CEX0DP2B.js +0 -111
  137. package/dist/supplier-CdJmZr7w.js +0 -77
  138. package/dist/use-template-enabled-locations-2-xbPJWHCs.js +0 -86
  139. package/dist/xlsx-CTOKp7SQ.js +0 -24004
  140. package/dist/xlsx.util-D5NFSfDg.js +0 -78
@@ -0,0 +1,19 @@
1
+ import type { FdoDecimal } from '@feedmepos/core/entity';
2
+ export interface DraftItemRow {
3
+ code: string;
4
+ name: string;
5
+ baseUnit: string;
6
+ baseUnitAmount: number;
7
+ physicalBalance: number;
8
+ systemBalance: number;
9
+ adjustedAmount: number;
10
+ adjustedDiffPercentage: number | null;
11
+ [key: string]: string | number | null;
12
+ }
13
+ export declare function draftItemToExcelRow(item: FdoClosingDraftItem, systemBalance: FdoDecimal): DraftItemRow;
14
+ export type ColIdHeader<T> = {
15
+ id: keyof T;
16
+ name: string;
17
+ };
18
+ export declare function getExcelHeaders(measurementColumns: number): ColIdHeader<DraftItemRow>[];
19
+ export declare function exportDraft(draft: FdoClosingDraft, skuBalances: FdoSkuBalance[]): string;
@@ -0,0 +1,4 @@
1
+ export declare function getCalculatedTotal(draftItem: FdoClosingDraftItem): {
2
+ amount: number;
3
+ precision: number;
4
+ };
@@ -51,11 +51,12 @@ export declare function useClosingTemplateItems(controller: {
51
51
  precision: number;
52
52
  };
53
53
  } | null | undefined;
54
+ operationalGroup?: string | null | undefined;
54
55
  thresholds?: {
55
56
  low: number;
56
57
  mid: number;
57
58
  } | null | undefined;
58
- operationalGroup?: string | null | undefined;
59
+ customAttributes?: Record<string, any> | null | undefined;
59
60
  unit: {
60
61
  _id: string;
61
62
  name: string;
@@ -25,6 +25,10 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
25
25
  _rev?: string | null | undefined;
26
26
  updatedAt?: Date | null | undefined;
27
27
  locations?: {
28
+ inventory?: {
29
+ _id: string;
30
+ updatedAt: string;
31
+ } | null | undefined;
28
32
  type: "restaurant" | "warehouse";
29
33
  name: string;
30
34
  acceptRequest: boolean;
@@ -157,11 +161,12 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
157
161
  precision: number;
158
162
  };
159
163
  } | null | undefined;
164
+ operationalGroup?: string | null | undefined;
160
165
  thresholds?: {
161
166
  low: number;
162
167
  mid: number;
163
168
  } | null | undefined;
164
- operationalGroup?: string | null | undefined;
169
+ customAttributes?: Record<string, any> | null | undefined;
165
170
  unit: {
166
171
  _id: string;
167
172
  name: string;
@@ -194,6 +199,10 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
194
199
  _rev?: string | null | undefined;
195
200
  updatedAt?: Date | null | undefined;
196
201
  locations?: {
202
+ inventory?: {
203
+ _id: string;
204
+ updatedAt: string;
205
+ } | null | undefined;
197
206
  type: "restaurant" | "warehouse";
198
207
  name: string;
199
208
  acceptRequest: boolean;
@@ -326,11 +335,12 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
326
335
  precision: number;
327
336
  };
328
337
  } | null | undefined;
338
+ operationalGroup?: string | null | undefined;
329
339
  thresholds?: {
330
340
  low: number;
331
341
  mid: number;
332
342
  } | null | undefined;
333
- operationalGroup?: string | null | undefined;
343
+ customAttributes?: Record<string, any> | null | undefined;
334
344
  unit: {
335
345
  _id: string;
336
346
  name: string;
@@ -363,6 +373,10 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
363
373
  _rev?: string | null | undefined;
364
374
  updatedAt?: Date | null | undefined;
365
375
  locations?: {
376
+ inventory?: {
377
+ _id: string;
378
+ updatedAt: string;
379
+ } | null | undefined;
366
380
  type: "restaurant" | "warehouse";
367
381
  name: string;
368
382
  acceptRequest: boolean;
@@ -495,11 +509,12 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
495
509
  precision: number;
496
510
  };
497
511
  } | null | undefined;
512
+ operationalGroup?: string | null | undefined;
498
513
  thresholds?: {
499
514
  low: number;
500
515
  mid: number;
501
516
  } | null | undefined;
502
- operationalGroup?: string | null | undefined;
517
+ customAttributes?: Record<string, any> | null | undefined;
503
518
  unit: {
504
519
  _id: string;
505
520
  name: string;
@@ -531,6 +546,10 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
531
546
  _rev?: string | null | undefined;
532
547
  updatedAt?: Date | null | undefined;
533
548
  locations?: {
549
+ inventory?: {
550
+ _id: string;
551
+ updatedAt: string;
552
+ } | null | undefined;
534
553
  type: "restaurant" | "warehouse";
535
554
  name: string;
536
555
  acceptRequest: boolean;
@@ -663,11 +682,12 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
663
682
  precision: number;
664
683
  };
665
684
  } | null | undefined;
685
+ operationalGroup?: string | null | undefined;
666
686
  thresholds?: {
667
687
  low: number;
668
688
  mid: number;
669
689
  } | null | undefined;
670
- operationalGroup?: string | null | undefined;
690
+ customAttributes?: Record<string, any> | null | undefined;
671
691
  unit: {
672
692
  _id: string;
673
693
  name: string;
@@ -708,6 +728,10 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
708
728
  _rev?: string | null | undefined;
709
729
  updatedAt?: Date | null | undefined;
710
730
  locations?: {
731
+ inventory?: {
732
+ _id: string;
733
+ updatedAt: string;
734
+ } | null | undefined;
711
735
  type: "restaurant" | "warehouse";
712
736
  name: string;
713
737
  acceptRequest: boolean;
@@ -840,11 +864,12 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
840
864
  precision: number;
841
865
  };
842
866
  } | null | undefined;
867
+ operationalGroup?: string | null | undefined;
843
868
  thresholds?: {
844
869
  low: number;
845
870
  mid: number;
846
871
  } | null | undefined;
847
- operationalGroup?: string | null | undefined;
872
+ customAttributes?: Record<string, any> | null | undefined;
848
873
  unit: {
849
874
  _id: string;
850
875
  name: string;
@@ -877,6 +902,10 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
877
902
  _rev?: string | null | undefined;
878
903
  updatedAt?: Date | null | undefined;
879
904
  locations?: {
905
+ inventory?: {
906
+ _id: string;
907
+ updatedAt: string;
908
+ } | null | undefined;
880
909
  type: "restaurant" | "warehouse";
881
910
  name: string;
882
911
  acceptRequest: boolean;
@@ -1009,11 +1038,12 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1009
1038
  precision: number;
1010
1039
  };
1011
1040
  } | null | undefined;
1041
+ operationalGroup?: string | null | undefined;
1012
1042
  thresholds?: {
1013
1043
  low: number;
1014
1044
  mid: number;
1015
1045
  } | null | undefined;
1016
- operationalGroup?: string | null | undefined;
1046
+ customAttributes?: Record<string, any> | null | undefined;
1017
1047
  unit: {
1018
1048
  _id: string;
1019
1049
  name: string;
@@ -1046,6 +1076,10 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1046
1076
  _rev?: string | null | undefined;
1047
1077
  updatedAt?: Date | null | undefined;
1048
1078
  locations?: {
1079
+ inventory?: {
1080
+ _id: string;
1081
+ updatedAt: string;
1082
+ } | null | undefined;
1049
1083
  type: "restaurant" | "warehouse";
1050
1084
  name: string;
1051
1085
  acceptRequest: boolean;
@@ -1178,11 +1212,12 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1178
1212
  precision: number;
1179
1213
  };
1180
1214
  } | null | undefined;
1215
+ operationalGroup?: string | null | undefined;
1181
1216
  thresholds?: {
1182
1217
  low: number;
1183
1218
  mid: number;
1184
1219
  } | null | undefined;
1185
- operationalGroup?: string | null | undefined;
1220
+ customAttributes?: Record<string, any> | null | undefined;
1186
1221
  unit: {
1187
1222
  _id: string;
1188
1223
  name: string;
@@ -1214,6 +1249,10 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1214
1249
  _rev?: string | null | undefined;
1215
1250
  updatedAt?: Date | null | undefined;
1216
1251
  locations?: {
1252
+ inventory?: {
1253
+ _id: string;
1254
+ updatedAt: string;
1255
+ } | null | undefined;
1217
1256
  type: "restaurant" | "warehouse";
1218
1257
  name: string;
1219
1258
  acceptRequest: boolean;
@@ -1346,11 +1385,12 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1346
1385
  precision: number;
1347
1386
  };
1348
1387
  } | null | undefined;
1388
+ operationalGroup?: string | null | undefined;
1349
1389
  thresholds?: {
1350
1390
  low: number;
1351
1391
  mid: number;
1352
1392
  } | null | undefined;
1353
- operationalGroup?: string | null | undefined;
1393
+ customAttributes?: Record<string, any> | null | undefined;
1354
1394
  unit: {
1355
1395
  _id: string;
1356
1396
  name: string;
@@ -1391,6 +1431,10 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1391
1431
  _rev?: string | null | undefined;
1392
1432
  updatedAt?: Date | null | undefined;
1393
1433
  locations?: {
1434
+ inventory?: {
1435
+ _id: string;
1436
+ updatedAt: string;
1437
+ } | null | undefined;
1394
1438
  type: "restaurant" | "warehouse";
1395
1439
  name: string;
1396
1440
  acceptRequest: boolean;
@@ -1523,11 +1567,12 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1523
1567
  precision: number;
1524
1568
  };
1525
1569
  } | null | undefined;
1570
+ operationalGroup?: string | null | undefined;
1526
1571
  thresholds?: {
1527
1572
  low: number;
1528
1573
  mid: number;
1529
1574
  } | null | undefined;
1530
- operationalGroup?: string | null | undefined;
1575
+ customAttributes?: Record<string, any> | null | undefined;
1531
1576
  unit: {
1532
1577
  _id: string;
1533
1578
  name: string;
@@ -1560,6 +1605,10 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1560
1605
  _rev?: string | null | undefined;
1561
1606
  updatedAt?: Date | null | undefined;
1562
1607
  locations?: {
1608
+ inventory?: {
1609
+ _id: string;
1610
+ updatedAt: string;
1611
+ } | null | undefined;
1563
1612
  type: "restaurant" | "warehouse";
1564
1613
  name: string;
1565
1614
  acceptRequest: boolean;
@@ -1692,11 +1741,12 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1692
1741
  precision: number;
1693
1742
  };
1694
1743
  } | null | undefined;
1744
+ operationalGroup?: string | null | undefined;
1695
1745
  thresholds?: {
1696
1746
  low: number;
1697
1747
  mid: number;
1698
1748
  } | null | undefined;
1699
- operationalGroup?: string | null | undefined;
1749
+ customAttributes?: Record<string, any> | null | undefined;
1700
1750
  unit: {
1701
1751
  _id: string;
1702
1752
  name: string;
@@ -1729,6 +1779,10 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1729
1779
  _rev?: string | null | undefined;
1730
1780
  updatedAt?: Date | null | undefined;
1731
1781
  locations?: {
1782
+ inventory?: {
1783
+ _id: string;
1784
+ updatedAt: string;
1785
+ } | null | undefined;
1732
1786
  type: "restaurant" | "warehouse";
1733
1787
  name: string;
1734
1788
  acceptRequest: boolean;
@@ -1861,11 +1915,12 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1861
1915
  precision: number;
1862
1916
  };
1863
1917
  } | null | undefined;
1918
+ operationalGroup?: string | null | undefined;
1864
1919
  thresholds?: {
1865
1920
  low: number;
1866
1921
  mid: number;
1867
1922
  } | null | undefined;
1868
- operationalGroup?: string | null | undefined;
1923
+ customAttributes?: Record<string, any> | null | undefined;
1869
1924
  unit: {
1870
1925
  _id: string;
1871
1926
  name: string;
@@ -1897,6 +1952,10 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1897
1952
  _rev?: string | null | undefined;
1898
1953
  updatedAt?: Date | null | undefined;
1899
1954
  locations?: {
1955
+ inventory?: {
1956
+ _id: string;
1957
+ updatedAt: string;
1958
+ } | null | undefined;
1900
1959
  type: "restaurant" | "warehouse";
1901
1960
  name: string;
1902
1961
  acceptRequest: boolean;
@@ -2029,11 +2088,12 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
2029
2088
  precision: number;
2030
2089
  };
2031
2090
  } | null | undefined;
2091
+ operationalGroup?: string | null | undefined;
2032
2092
  thresholds?: {
2033
2093
  low: number;
2034
2094
  mid: number;
2035
2095
  } | null | undefined;
2036
- operationalGroup?: string | null | undefined;
2096
+ customAttributes?: Record<string, any> | null | undefined;
2037
2097
  unit: {
2038
2098
  _id: string;
2039
2099
  name: string;
@@ -1,12 +1,16 @@
1
1
  import { type ColumnDef } from '@feedmepos/ui-library';
2
2
  import { type RecentPublish } from '@/api/closing-template';
3
3
  import type { RevisionIdMeta } from '@feedmepos/inventory-core';
4
- export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"closingTable", import("pinia")._UnwrapAll<Pick<{
4
+ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"closingTemplateTable", import("pinia")._UnwrapAll<Pick<{
5
5
  columnDefs: ColumnDef<{
6
6
  ref?: string | null | undefined;
7
7
  _rev?: string | null | undefined;
8
8
  updatedAt?: Date | null | undefined;
9
9
  locations?: {
10
+ inventory?: {
11
+ _id: string;
12
+ updatedAt: string;
13
+ } | null | undefined;
10
14
  type: "restaurant" | "warehouse";
11
15
  name: string;
12
16
  acceptRequest: boolean;
@@ -139,11 +143,12 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
139
143
  precision: number;
140
144
  };
141
145
  } | null | undefined;
146
+ operationalGroup?: string | null | undefined;
142
147
  thresholds?: {
143
148
  low: number;
144
149
  mid: number;
145
150
  } | null | undefined;
146
- operationalGroup?: string | null | undefined;
151
+ customAttributes?: Record<string, any> | null | undefined;
147
152
  unit: {
148
153
  _id: string;
149
154
  name: string;
@@ -192,6 +197,10 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
192
197
  _rev: string;
193
198
  updatedAt?: Date | null | undefined;
194
199
  locations?: {
200
+ inventory?: {
201
+ _id: string;
202
+ updatedAt: string;
203
+ } | null | undefined;
195
204
  type: "restaurant" | "warehouse";
196
205
  name: string;
197
206
  acceptRequest: boolean;
@@ -324,11 +333,12 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
324
333
  precision: number;
325
334
  };
326
335
  } | null | undefined;
336
+ operationalGroup?: string | null | undefined;
327
337
  thresholds?: {
328
338
  low: number;
329
339
  mid: number;
330
340
  } | null | undefined;
331
- operationalGroup?: string | null | undefined;
341
+ customAttributes?: Record<string, any> | null | undefined;
332
342
  unit: {
333
343
  _id: string;
334
344
  name: string;
@@ -355,6 +365,10 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
355
365
  _rev?: string | null | undefined;
356
366
  updatedAt?: Date | null | undefined;
357
367
  locations?: {
368
+ inventory?: {
369
+ _id: string;
370
+ updatedAt: string;
371
+ } | null | undefined;
358
372
  type: "restaurant" | "warehouse";
359
373
  name: string;
360
374
  acceptRequest: boolean;
@@ -487,11 +501,12 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
487
501
  precision: number;
488
502
  };
489
503
  } | null | undefined;
504
+ operationalGroup?: string | null | undefined;
490
505
  thresholds?: {
491
506
  low: number;
492
507
  mid: number;
493
508
  } | null | undefined;
494
- operationalGroup?: string | null | undefined;
509
+ customAttributes?: Record<string, any> | null | undefined;
495
510
  unit: {
496
511
  _id: string;
497
512
  name: string;
@@ -518,6 +533,10 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
518
533
  _rev: string;
519
534
  updatedAt?: Date | null | undefined;
520
535
  locations?: {
536
+ inventory?: {
537
+ _id: string;
538
+ updatedAt: string;
539
+ } | null | undefined;
521
540
  type: "restaurant" | "warehouse";
522
541
  name: string;
523
542
  acceptRequest: boolean;
@@ -650,11 +669,12 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
650
669
  precision: number;
651
670
  };
652
671
  } | null | undefined;
672
+ operationalGroup?: string | null | undefined;
653
673
  thresholds?: {
654
674
  low: number;
655
675
  mid: number;
656
676
  } | null | undefined;
657
- operationalGroup?: string | null | undefined;
677
+ customAttributes?: Record<string, any> | null | undefined;
658
678
  unit: {
659
679
  _id: string;
660
680
  name: string;
@@ -686,6 +706,10 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
686
706
  _rev?: string | null | undefined;
687
707
  updatedAt?: Date | null | undefined;
688
708
  locations?: {
709
+ inventory?: {
710
+ _id: string;
711
+ updatedAt: string;
712
+ } | null | undefined;
689
713
  type: "restaurant" | "warehouse";
690
714
  name: string;
691
715
  acceptRequest: boolean;
@@ -818,11 +842,12 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
818
842
  precision: number;
819
843
  };
820
844
  } | null | undefined;
845
+ operationalGroup?: string | null | undefined;
821
846
  thresholds?: {
822
847
  low: number;
823
848
  mid: number;
824
849
  } | null | undefined;
825
- operationalGroup?: string | null | undefined;
850
+ customAttributes?: Record<string, any> | null | undefined;
826
851
  unit: {
827
852
  _id: string;
828
853
  name: string;
@@ -871,6 +896,10 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
871
896
  _rev: string;
872
897
  updatedAt?: Date | null | undefined;
873
898
  locations?: {
899
+ inventory?: {
900
+ _id: string;
901
+ updatedAt: string;
902
+ } | null | undefined;
874
903
  type: "restaurant" | "warehouse";
875
904
  name: string;
876
905
  acceptRequest: boolean;
@@ -1003,11 +1032,12 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1003
1032
  precision: number;
1004
1033
  };
1005
1034
  } | null | undefined;
1035
+ operationalGroup?: string | null | undefined;
1006
1036
  thresholds?: {
1007
1037
  low: number;
1008
1038
  mid: number;
1009
1039
  } | null | undefined;
1010
- operationalGroup?: string | null | undefined;
1040
+ customAttributes?: Record<string, any> | null | undefined;
1011
1041
  unit: {
1012
1042
  _id: string;
1013
1043
  name: string;
@@ -1034,6 +1064,10 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1034
1064
  _rev?: string | null | undefined;
1035
1065
  updatedAt?: Date | null | undefined;
1036
1066
  locations?: {
1067
+ inventory?: {
1068
+ _id: string;
1069
+ updatedAt: string;
1070
+ } | null | undefined;
1037
1071
  type: "restaurant" | "warehouse";
1038
1072
  name: string;
1039
1073
  acceptRequest: boolean;
@@ -1166,11 +1200,12 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1166
1200
  precision: number;
1167
1201
  };
1168
1202
  } | null | undefined;
1203
+ operationalGroup?: string | null | undefined;
1169
1204
  thresholds?: {
1170
1205
  low: number;
1171
1206
  mid: number;
1172
1207
  } | null | undefined;
1173
- operationalGroup?: string | null | undefined;
1208
+ customAttributes?: Record<string, any> | null | undefined;
1174
1209
  unit: {
1175
1210
  _id: string;
1176
1211
  name: string;
@@ -1197,6 +1232,10 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1197
1232
  _rev: string;
1198
1233
  updatedAt?: Date | null | undefined;
1199
1234
  locations?: {
1235
+ inventory?: {
1236
+ _id: string;
1237
+ updatedAt: string;
1238
+ } | null | undefined;
1200
1239
  type: "restaurant" | "warehouse";
1201
1240
  name: string;
1202
1241
  acceptRequest: boolean;
@@ -1329,11 +1368,12 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1329
1368
  precision: number;
1330
1369
  };
1331
1370
  } | null | undefined;
1371
+ operationalGroup?: string | null | undefined;
1332
1372
  thresholds?: {
1333
1373
  low: number;
1334
1374
  mid: number;
1335
1375
  } | null | undefined;
1336
- operationalGroup?: string | null | undefined;
1376
+ customAttributes?: Record<string, any> | null | undefined;
1337
1377
  unit: {
1338
1378
  _id: string;
1339
1379
  name: string;
@@ -1365,6 +1405,10 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1365
1405
  _rev?: string | null | undefined;
1366
1406
  updatedAt?: Date | null | undefined;
1367
1407
  locations?: {
1408
+ inventory?: {
1409
+ _id: string;
1410
+ updatedAt: string;
1411
+ } | null | undefined;
1368
1412
  type: "restaurant" | "warehouse";
1369
1413
  name: string;
1370
1414
  acceptRequest: boolean;
@@ -1497,11 +1541,12 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1497
1541
  precision: number;
1498
1542
  };
1499
1543
  } | null | undefined;
1544
+ operationalGroup?: string | null | undefined;
1500
1545
  thresholds?: {
1501
1546
  low: number;
1502
1547
  mid: number;
1503
1548
  } | null | undefined;
1504
- operationalGroup?: string | null | undefined;
1549
+ customAttributes?: Record<string, any> | null | undefined;
1505
1550
  unit: {
1506
1551
  _id: string;
1507
1552
  name: string;
@@ -1550,6 +1595,10 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1550
1595
  _rev: string;
1551
1596
  updatedAt?: Date | null | undefined;
1552
1597
  locations?: {
1598
+ inventory?: {
1599
+ _id: string;
1600
+ updatedAt: string;
1601
+ } | null | undefined;
1553
1602
  type: "restaurant" | "warehouse";
1554
1603
  name: string;
1555
1604
  acceptRequest: boolean;
@@ -1682,11 +1731,12 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1682
1731
  precision: number;
1683
1732
  };
1684
1733
  } | null | undefined;
1734
+ operationalGroup?: string | null | undefined;
1685
1735
  thresholds?: {
1686
1736
  low: number;
1687
1737
  mid: number;
1688
1738
  } | null | undefined;
1689
- operationalGroup?: string | null | undefined;
1739
+ customAttributes?: Record<string, any> | null | undefined;
1690
1740
  unit: {
1691
1741
  _id: string;
1692
1742
  name: string;
@@ -1713,6 +1763,10 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1713
1763
  _rev?: string | null | undefined;
1714
1764
  updatedAt?: Date | null | undefined;
1715
1765
  locations?: {
1766
+ inventory?: {
1767
+ _id: string;
1768
+ updatedAt: string;
1769
+ } | null | undefined;
1716
1770
  type: "restaurant" | "warehouse";
1717
1771
  name: string;
1718
1772
  acceptRequest: boolean;
@@ -1845,11 +1899,12 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1845
1899
  precision: number;
1846
1900
  };
1847
1901
  } | null | undefined;
1902
+ operationalGroup?: string | null | undefined;
1848
1903
  thresholds?: {
1849
1904
  low: number;
1850
1905
  mid: number;
1851
1906
  } | null | undefined;
1852
- operationalGroup?: string | null | undefined;
1907
+ customAttributes?: Record<string, any> | null | undefined;
1853
1908
  unit: {
1854
1909
  _id: string;
1855
1910
  name: string;
@@ -1876,6 +1931,10 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1876
1931
  _rev: string;
1877
1932
  updatedAt?: Date | null | undefined;
1878
1933
  locations?: {
1934
+ inventory?: {
1935
+ _id: string;
1936
+ updatedAt: string;
1937
+ } | null | undefined;
1879
1938
  type: "restaurant" | "warehouse";
1880
1939
  name: string;
1881
1940
  acceptRequest: boolean;
@@ -2008,11 +2067,12 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2008
2067
  precision: number;
2009
2068
  };
2010
2069
  } | null | undefined;
2070
+ operationalGroup?: string | null | undefined;
2011
2071
  thresholds?: {
2012
2072
  low: number;
2013
2073
  mid: number;
2014
2074
  } | null | undefined;
2015
- operationalGroup?: string | null | undefined;
2075
+ customAttributes?: Record<string, any> | null | undefined;
2016
2076
  unit: {
2017
2077
  _id: string;
2018
2078
  name: string;
@@ -60,11 +60,12 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
60
60
  precision: number;
61
61
  };
62
62
  } | null | undefined;
63
+ operationalGroup?: string | null | undefined;
63
64
  thresholds?: {
64
65
  low: number;
65
66
  mid: number;
66
67
  } | null | undefined;
67
- operationalGroup?: string | null | undefined;
68
+ customAttributes?: Record<string, any> | null | undefined;
68
69
  code: string;
69
70
  _id: string;
70
71
  name: string;
@@ -131,11 +132,12 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
131
132
  precision: number;
132
133
  };
133
134
  } | null | undefined;
135
+ operationalGroup?: string | null | undefined;
134
136
  thresholds?: {
135
137
  low: number;
136
138
  mid: number;
137
139
  } | null | undefined;
138
- operationalGroup?: string | null | undefined;
140
+ customAttributes?: Record<string, any> | null | undefined;
139
141
  code: string;
140
142
  _id: string;
141
143
  name: string;
@@ -202,11 +204,12 @@ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"i
202
204
  precision: number;
203
205
  };
204
206
  } | null | undefined;
207
+ operationalGroup?: string | null | undefined;
205
208
  thresholds?: {
206
209
  low: number;
207
210
  mid: number;
208
211
  } | null | undefined;
209
- operationalGroup?: string | null | undefined;
212
+ customAttributes?: Record<string, any> | null | undefined;
210
213
  code: string;
211
214
  _id: string;
212
215
  name: string;