@feedmepos/mf-inventory-portal 1.4.1-dev.1 → 1.4.2

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 (169) hide show
  1. package/dist/{App-ChJEzu4r.js → App-D8p5pMar.js} +5 -5
  2. package/dist/{ApprovalView-DE7cizNA.js → ApprovalView-B6WmrP3R.js} +7 -7
  3. package/dist/{BindingsDialog-BsMtvOJG.js → BindingsDialog-DAG2toHR.js} +2 -2
  4. package/dist/{BindingsPicker-Cqm2FCk4.js → BindingsPicker-CPbNuwFq.js} +2 -2
  5. package/dist/{BindingsTable-DnmlqSXV.js → BindingsTable-Hkkel0vq.js} +3 -3
  6. package/dist/{ClosingDraftView-DCo7R5X_.js → ClosingDraftView-JCtS2MZa.js} +15 -15
  7. package/dist/{ClosingHistoryView-B8pvoz_L.js → ClosingHistoryView-D7GacAqj.js} +5 -5
  8. package/dist/{ClosingTemplateView-BhWMZskM.js → ClosingTemplateView-DqpbjHK2.js} +14 -14
  9. package/dist/{DefaultView-7L4zg3pD.js → DefaultView-BSm6fE5w.js} +2 -2
  10. package/dist/{DeliveryOrderPrintPreview-BJUAI20p.js → DeliveryOrderPrintPreview-DFj56iJk.js} +2 -2
  11. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CZz44xPT.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CaVUl6v3.js} +2 -2
  12. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D2xaJ_fT.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-FunJ5ZX5.js} +2 -2
  13. package/dist/{FmMultiselectDialog-CSlbhVxn.js → FmMultiselectDialog-BE2Tqm4H.js} +1 -1
  14. package/dist/{FmMultiselectDialog-CPt0eMqz.js → FmMultiselectDialog-DpekFj8a.js} +2 -2
  15. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DeFbqEt_.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Bt_kCIFn.js} +4 -4
  16. package/dist/{ImportView-DDq7-EqO.js → ImportView-CAcUO9Pv.js} +6 -6
  17. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-TLC_uZ1L.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-0Abq7FDN.js} +1 -1
  18. package/dist/{IngredientGroupView-BOPm59h1.js → IngredientGroupView-CeUfykez.js} +5 -5
  19. package/dist/{IngredientsView-Drxqdl5C.js → IngredientsView-Cdhgw3Tw.js} +15 -15
  20. package/dist/{IntegrationExplorerView-ClolIlZJ.js → IntegrationExplorerView-BioiObpU.js} +5 -5
  21. package/dist/{IntegrationView-BhsxOMny.js → IntegrationView-BHjOvMpX.js} +13 -13
  22. package/dist/{InventoryBindingForm-DSmmb2Re.js → InventoryBindingForm-D892WEqV.js} +1 -1
  23. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bs1WRSC4.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BMfmKcz8.js} +5 -5
  24. package/dist/{InventoryBindingSummary-DwmmGqLA.js → InventoryBindingSummary-DOGWF0fo.js} +1 -1
  25. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cBTXwRyT.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B-dhMJ0F.js} +1 -1
  26. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-WgbXX2to.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CKuIWTXZ.js} +1 -1
  27. package/dist/{PublishView-CjIwzQ1D.js → PublishView-Dh6OiaG1.js} +3 -3
  28. package/dist/{PurchaseOrderPrintPreview-D14UaMbm.js → PurchaseOrderPrintPreview-Cpme08gm.js} +2 -2
  29. package/dist/{ReceiveRequestView-C5s6H1ly.js → ReceiveRequestView-Dldwu3-H.js} +25 -25
  30. package/dist/{RecipeView-BWlgNjqM.js → RecipeView-gkZuFdCP.js} +17 -17
  31. package/dist/{SettingsView-BiaJS0Qs.js → SettingsView-wOy_OATI.js} +4 -4
  32. package/dist/{StockView-DzdW3saV.js → StockView-DeLcyQrC.js} +19 -19
  33. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CziwNGpm.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C2Jax3tb.js} +1 -1
  34. package/dist/{SupplierView-CEH1mh4O.js → SupplierView-Bf2AW8JH.js} +12 -12
  35. package/dist/{SurchargeView-DLL1vb1m.js → SurchargeView-CJtg87ol.js} +6 -6
  36. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CyzJFEM1.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bfzqxalj.js} +2 -2
  37. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-riu5GB0x.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CEz3Yc2Z.js} +1 -1
  38. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CdPx9jtv.js → TransferDetails.vue_vue_type_script_setup_true_lang-CcpH12aM.js} +20 -20
  39. package/dist/{TransferTemplateView-B1hOOEld.js → TransferTemplateView-DpWFExzQ.js} +18 -18
  40. package/dist/{UnitCostHistoryView-CfVLgSsg.js → UnitCostHistoryView-PEexDaAO.js} +4 -4
  41. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D_5MeWML.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-i8HZEphD.js} +4 -4
  42. package/dist/{UnitView-CNEW1ZyC.js → UnitView-BPyyMHKE.js} +7 -7
  43. package/dist/{WarehouseView-BAEddBqH.js → WarehouseView-BmCech19.js} +5 -5
  44. package/dist/{WastageTemplateView-BDDcGlH1.js → WastageTemplateView-DJOBAWKd.js} +14 -14
  45. package/dist/api/food-market-hub.d.ts +1 -1
  46. package/dist/api/inventory.d.ts +92 -92
  47. package/dist/api/netsuite.d.ts +67 -67
  48. package/dist/api/surcharge.d.ts +2 -2
  49. package/dist/{app-8jckOqPv.js → app-D4P-koOR.js} +31824 -31795
  50. package/dist/app.d.ts +24 -24
  51. package/dist/app.js +1 -1
  52. package/dist/{closing-template-DI_wHTs-.js → closing-template-CCvXzoLm.js} +1 -1
  53. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +20 -20
  54. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +6 -6
  55. package/dist/components/shell/inventory/binding-ui.vue.d.ts +11 -11
  56. package/dist/{date2-R--GWp3h.js → date2-XHYHbI0K.js} +1 -1
  57. package/dist/{dayjs.min-BLMwzZoP.js → dayjs.min-pkE_kmHZ.js} +1 -1
  58. package/dist/{decimal-C1gVMYNr.js → decimal-CQ7SlCe0.js} +2 -2
  59. package/dist/{defineDeepModel-v4CSJ0KR.js → defineDeepModel-CZDkmNol.js} +1 -1
  60. package/dist/{duplicate-template-B2FyWucr.js → duplicate-template-BQ0bF_MO.js} +1 -1
  61. package/dist/export-CDIp6ydU.js +26 -0
  62. package/dist/{feature-D5wDntDA.js → feature-C4zPjstX.js} +2 -2
  63. package/dist/{format-time-from-id-iIaeuVUR.js → format-time-from-id-D_USijTz.js} +1 -1
  64. package/dist/{format-unit-display-DoXOol_B.js → format-unit-display-CF6-yU7v.js} +11 -11
  65. package/dist/helper/xlsx.util.d.ts +9 -0
  66. package/dist/{import-export.helper-CRZm_4kx.js → import-export.helper-iVXMr9yw.js} +6 -6
  67. package/dist/{index-DvydJuBP.js → index-BIG8c4oA.js} +3 -3
  68. package/dist/{index-Dctf0kPG.js → index-CTNLpvtM.js} +1 -1
  69. package/dist/{index-BlCcDs_t.js → index-EoaZ_eFV.js} +1 -1
  70. package/dist/{inventory-core-dart.default-BGNoRNOu.js → inventory-core-dart.default-D6cCA8tk.js} +1 -1
  71. package/dist/{lodash-BGLr9-Z4.js → lodash-DR7t9CsC.js} +1 -1
  72. package/dist/{lz-string-BXxSHhql.js → lz-string-DgqLqrsO.js} +1 -1
  73. package/dist/modules/print-template/api/print-template.d.ts +3 -3
  74. package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +6 -6
  75. package/dist/modules/print-template/store/print-template.d.ts +36 -36
  76. package/dist/{netsuite-QrjgLCzF.js → netsuite-ByBZj6uf.js} +55 -44
  77. package/dist/{number-BW3CMNw8.js → number-f4J4YlZT.js} +3 -3
  78. package/dist/{predefined-templates-BAl0dgvF.js → predefined-templates-BlmLhRsh.js} +1 -1
  79. package/dist/{purchase-order-template-BXiI76-R.js → purchase-order-template-BS94QDpg.js} +1 -1
  80. package/dist/{recalculationUtils-DryzcsyX.js → recalculationUtils-D0wl-tgM.js} +1 -1
  81. package/dist/{rules-uhOTzvDT.js → rules-Cpi5Vduo.js} +2 -2
  82. package/dist/{stock-DIzLmqOG.js → stock-BynB5KIH.js} +1 -1
  83. package/dist/{stock-CFigyCpv.js → stock-GYUDrBUF.js} +3 -3
  84. package/dist/stores/integration/foodmarkethub.d.ts +1 -1
  85. package/dist/stores/integration/netsuite.d.ts +22 -22
  86. package/dist/stores/inventory.d.ts +91 -91
  87. package/dist/stores/location.d.ts +28 -28
  88. package/dist/stores/stock.d.ts +3 -3
  89. package/dist/stores/supplier.d.ts +120 -120
  90. package/dist/stores/surcharge.d.ts +1 -1
  91. package/dist/stores/warehouse.d.ts +5 -5
  92. package/dist/{supplier-DnHSGzUP.js → supplier-BDpzWHvm.js} +2 -2
  93. package/dist/{surcharge-NTU0Whsq.js → surcharge-ztZ3mUE2.js} +1 -1
  94. package/dist/tsconfig.app.tsbuildinfo +1 -1
  95. package/dist/{use-ingredient-select-dialog-BTeCOYD1.js → use-ingredient-select-dialog-xx_W7OyU.js} +2 -2
  96. package/dist/{use-inventory-binding-dialog-C5dSHkMZ.js → use-inventory-binding-dialog-B_OV8CCL.js} +2 -2
  97. package/dist/{use-template-enabled-locations-Ba9BFrFN.js → use-template-enabled-locations-ByOi4t2R.js} +2 -2
  98. package/dist/{use-transfer-locations-D__VLxA7.js → use-transfer-locations-BOR-wq8s.js} +2 -2
  99. package/dist/{useHrmPermission-DMlbCSlp.js → useHrmPermission-BtXw89bp.js} +1 -1
  100. package/dist/{useNavigationMenu-jtnBmp0t.js → useNavigationMenu-Ds6IBfYX.js} +2 -2
  101. package/dist/{useSseClient-D8q23tYV.js → useSseClient-q5d7Qjrq.js} +1 -1
  102. package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -60
  103. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +4 -4
  104. package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +4 -4
  105. package/dist/views/adjustment-template/wastage-template/table.d.ts +66 -66
  106. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +156 -156
  107. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +55 -55
  108. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +234 -234
  109. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -8
  110. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +132 -132
  111. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +132 -132
  112. package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +2 -2
  113. package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +1 -1
  114. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +9 -9
  115. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +6 -6
  116. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -32
  117. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +12 -12
  118. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +12 -12
  119. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +4 -4
  120. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +12 -12
  121. package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +12 -12
  122. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +1 -1
  123. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -8
  124. package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
  125. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
  126. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
  127. package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +4 -4
  128. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +32 -32
  129. package/dist/views/integration/components/netsuite/PurchaseOrder.vue.d.ts +4 -4
  130. package/dist/views/integration/components/netsuite/TransferOrder.vue.d.ts +4 -4
  131. package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +12 -12
  132. package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +60 -60
  133. package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferView.vue.d.ts +4 -4
  134. package/dist/views/integration-explorer/netsuite/orders/OrdersView.vue.d.ts +4 -4
  135. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -2
  136. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +152 -152
  137. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +32 -32
  138. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +64 -64
  139. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +16 -16
  140. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +221 -221
  141. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1503 -1503
  142. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1758 -1758
  143. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +6 -6
  144. package/dist/views/recipe/composables/use-recipe-bulk-editor.d.ts +90 -90
  145. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  146. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +26 -26
  147. package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +10 -10
  148. package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
  149. package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +2 -2
  150. package/dist/views/supplier/composables/use-supplier-table.d.ts +5 -5
  151. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +122 -122
  152. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +18 -18
  153. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +32 -32
  154. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -16
  155. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +16 -16
  156. package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +48 -48
  157. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +757 -757
  158. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +755 -755
  159. package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +2 -2
  160. package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +2 -2
  161. package/dist/views/unit/composables/use-unit-table.d.ts +1 -1
  162. package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +3 -3
  163. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +10 -10
  164. package/dist/{vue-i18n-8-OMxHzQ.js → vue-i18n-C35dl24s.js} +302 -302
  165. package/dist/{xlsx-BFjtlsJV.js → xlsx-CzLrFB_A.js} +1 -1
  166. package/dist/xlsx.util-osyDkxYO.js +101 -0
  167. package/package.json +5 -5
  168. package/dist/export-rvaYes9_.js +0 -25
  169. package/dist/xlsx.util-0LMGvDYM.js +0 -78
@@ -3,16 +3,16 @@ import { type RecentPublish } from '@/api/closing-template';
3
3
  import type { RevisionIdMeta } from '@feedmepos/inventory-core';
4
4
  export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"closingTemplateTable", import("pinia")._UnwrapAll<Pick<{
5
5
  columnDefs: ColumnDef<{
6
- ref?: string | null | undefined;
7
6
  _rev?: string | null | undefined;
8
7
  updatedAt?: string | null | undefined;
8
+ ref?: string | null | undefined;
9
9
  locations?: {
10
10
  inventory?: {
11
11
  _id: string;
12
12
  updatedAt: string;
13
13
  } | null | undefined;
14
- name: string;
15
14
  type: "restaurant" | "warehouse";
15
+ name: string;
16
16
  acceptRequest: boolean;
17
17
  dbName: string;
18
18
  doc: {
@@ -102,6 +102,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
102
102
  id: string;
103
103
  } | null | undefined;
104
104
  _id: string;
105
+ name: string;
105
106
  items: {
106
107
  disabledMeasurements?: string[] | null | undefined;
107
108
  position?: number | null | undefined;
@@ -112,8 +113,8 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
112
113
  measurement?: string | null | undefined;
113
114
  inventoryBindings?: {
114
115
  measurement?: {
115
- id: string;
116
116
  name: string;
117
+ id: string;
117
118
  abbrev: string;
118
119
  conversion: {
119
120
  amount: number;
@@ -122,24 +123,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
122
123
  } | null | undefined;
123
124
  rules?: Record<string, any> | null | undefined;
124
125
  alternatives?: {
125
- priority?: number | null | undefined;
126
126
  default?: boolean | null | undefined;
127
127
  trackingMeasurement?: string | null | undefined;
128
+ priority?: number | null | undefined;
128
129
  _id: string;
129
130
  }[] | null | undefined;
130
- id: string;
131
131
  type: "RECIPE" | "SKU" | "SKU_GROUP";
132
132
  amount: {
133
133
  amount: number;
134
134
  precision: number;
135
135
  };
136
+ id: string;
136
137
  }[] | null | undefined;
137
138
  } | null | undefined;
138
139
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
139
140
  defaultCost?: {
140
141
  measurement?: {
141
- id: string;
142
142
  name: string;
143
+ id: string;
143
144
  abbrev: string;
144
145
  conversion: {
145
146
  amount: number;
@@ -158,17 +159,14 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
158
159
  mid: number;
159
160
  } | null | undefined;
160
161
  customAttributes?: Record<string, any> | null | undefined;
161
- _id: string;
162
- name: string;
163
- code: string;
164
162
  unit: {
165
163
  _id: string;
166
164
  name: string;
167
165
  abbrev: string;
168
166
  precision: number;
169
167
  measurements: {
170
- id: string;
171
168
  name: string;
169
+ id: string;
172
170
  abbrev: string;
173
171
  conversion: {
174
172
  amount: number;
@@ -176,9 +174,11 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
176
174
  };
177
175
  }[];
178
176
  };
177
+ code: string;
178
+ _id: string;
179
+ name: string;
179
180
  };
180
181
  }[];
181
- name: string;
182
182
  } & RevisionIdMeta>[];
183
183
  recentPublish: import("vue").Ref<{
184
184
  recentJob?: {
@@ -202,16 +202,16 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
202
202
  publishedRevs?: Record<string, string> | null | undefined;
203
203
  }>;
204
204
  templates: import("vue").Ref<{
205
- ref?: string | null | undefined;
206
205
  _rev: string;
207
206
  updatedAt?: string | null | undefined;
207
+ ref?: string | null | undefined;
208
208
  locations?: {
209
209
  inventory?: {
210
210
  _id: string;
211
211
  updatedAt: string;
212
212
  } | null | undefined;
213
- name: string;
214
213
  type: "restaurant" | "warehouse";
214
+ name: string;
215
215
  acceptRequest: boolean;
216
216
  dbName: string;
217
217
  doc: {
@@ -301,6 +301,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
301
301
  id: string;
302
302
  } | null | undefined;
303
303
  _id: string;
304
+ name: string;
304
305
  items: {
305
306
  disabledMeasurements?: string[] | null | undefined;
306
307
  position?: number | null | undefined;
@@ -311,8 +312,8 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
311
312
  measurement?: string | null | undefined;
312
313
  inventoryBindings?: {
313
314
  measurement?: {
314
- id: string;
315
315
  name: string;
316
+ id: string;
316
317
  abbrev: string;
317
318
  conversion: {
318
319
  amount: number;
@@ -321,24 +322,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
321
322
  } | null | undefined;
322
323
  rules?: Record<string, any> | null | undefined;
323
324
  alternatives?: {
324
- priority?: number | null | undefined;
325
325
  default?: boolean | null | undefined;
326
326
  trackingMeasurement?: string | null | undefined;
327
+ priority?: number | null | undefined;
327
328
  _id: string;
328
329
  }[] | null | undefined;
329
- id: string;
330
330
  type: "RECIPE" | "SKU" | "SKU_GROUP";
331
331
  amount: {
332
332
  amount: number;
333
333
  precision: number;
334
334
  };
335
+ id: string;
335
336
  }[] | null | undefined;
336
337
  } | null | undefined;
337
338
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
338
339
  defaultCost?: {
339
340
  measurement?: {
340
- id: string;
341
341
  name: string;
342
+ id: string;
342
343
  abbrev: string;
343
344
  conversion: {
344
345
  amount: number;
@@ -357,17 +358,14 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
357
358
  mid: number;
358
359
  } | null | undefined;
359
360
  customAttributes?: Record<string, any> | null | undefined;
360
- _id: string;
361
- name: string;
362
- code: string;
363
361
  unit: {
364
362
  _id: string;
365
363
  name: string;
366
364
  abbrev: string;
367
365
  precision: number;
368
366
  measurements: {
369
- id: string;
370
367
  name: string;
368
+ id: string;
371
369
  abbrev: string;
372
370
  conversion: {
373
371
  amount: number;
@@ -375,20 +373,22 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
375
373
  };
376
374
  }[];
377
375
  };
376
+ code: string;
377
+ _id: string;
378
+ name: string;
378
379
  };
379
380
  }[];
380
- name: string;
381
381
  }[], ({
382
- ref?: string | null | undefined;
383
382
  _rev?: string | null | undefined;
384
383
  updatedAt?: string | null | undefined;
384
+ ref?: string | null | undefined;
385
385
  locations?: {
386
386
  inventory?: {
387
387
  _id: string;
388
388
  updatedAt: string;
389
389
  } | null | undefined;
390
- name: string;
391
390
  type: "restaurant" | "warehouse";
391
+ name: string;
392
392
  acceptRequest: boolean;
393
393
  dbName: string;
394
394
  doc: {
@@ -478,6 +478,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
478
478
  id: string;
479
479
  } | null | undefined;
480
480
  _id: string;
481
+ name: string;
481
482
  items: {
482
483
  disabledMeasurements?: string[] | null | undefined;
483
484
  position?: number | null | undefined;
@@ -488,8 +489,8 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
488
489
  measurement?: string | null | undefined;
489
490
  inventoryBindings?: {
490
491
  measurement?: {
491
- id: string;
492
492
  name: string;
493
+ id: string;
493
494
  abbrev: string;
494
495
  conversion: {
495
496
  amount: number;
@@ -498,24 +499,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
498
499
  } | null | undefined;
499
500
  rules?: Record<string, any> | null | undefined;
500
501
  alternatives?: {
501
- priority?: number | null | undefined;
502
502
  default?: boolean | null | undefined;
503
503
  trackingMeasurement?: string | null | undefined;
504
+ priority?: number | null | undefined;
504
505
  _id: string;
505
506
  }[] | null | undefined;
506
- id: string;
507
507
  type: "RECIPE" | "SKU" | "SKU_GROUP";
508
508
  amount: {
509
509
  amount: number;
510
510
  precision: number;
511
511
  };
512
+ id: string;
512
513
  }[] | null | undefined;
513
514
  } | null | undefined;
514
515
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
515
516
  defaultCost?: {
516
517
  measurement?: {
517
- id: string;
518
518
  name: string;
519
+ id: string;
519
520
  abbrev: string;
520
521
  conversion: {
521
522
  amount: number;
@@ -534,17 +535,14 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
534
535
  mid: number;
535
536
  } | null | undefined;
536
537
  customAttributes?: Record<string, any> | null | undefined;
537
- _id: string;
538
- name: string;
539
- code: string;
540
538
  unit: {
541
539
  _id: string;
542
540
  name: string;
543
541
  abbrev: string;
544
542
  precision: number;
545
543
  measurements: {
546
- id: string;
547
544
  name: string;
545
+ id: string;
548
546
  abbrev: string;
549
547
  conversion: {
550
548
  amount: number;
@@ -552,20 +550,22 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
552
550
  };
553
551
  }[];
554
552
  };
553
+ code: string;
554
+ _id: string;
555
+ name: string;
555
556
  };
556
557
  }[];
557
- name: string;
558
558
  } & RevisionIdMeta)[] | {
559
- ref?: string | null | undefined;
560
559
  _rev: string;
561
560
  updatedAt?: string | null | undefined;
561
+ ref?: string | null | undefined;
562
562
  locations?: {
563
563
  inventory?: {
564
564
  _id: string;
565
565
  updatedAt: string;
566
566
  } | null | undefined;
567
- name: string;
568
567
  type: "restaurant" | "warehouse";
568
+ name: string;
569
569
  acceptRequest: boolean;
570
570
  dbName: string;
571
571
  doc: {
@@ -655,6 +655,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
655
655
  id: string;
656
656
  } | null | undefined;
657
657
  _id: string;
658
+ name: string;
658
659
  items: {
659
660
  disabledMeasurements?: string[] | null | undefined;
660
661
  position?: number | null | undefined;
@@ -665,8 +666,8 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
665
666
  measurement?: string | null | undefined;
666
667
  inventoryBindings?: {
667
668
  measurement?: {
668
- id: string;
669
669
  name: string;
670
+ id: string;
670
671
  abbrev: string;
671
672
  conversion: {
672
673
  amount: number;
@@ -675,24 +676,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
675
676
  } | null | undefined;
676
677
  rules?: Record<string, any> | null | undefined;
677
678
  alternatives?: {
678
- priority?: number | null | undefined;
679
679
  default?: boolean | null | undefined;
680
680
  trackingMeasurement?: string | null | undefined;
681
+ priority?: number | null | undefined;
681
682
  _id: string;
682
683
  }[] | null | undefined;
683
- id: string;
684
684
  type: "RECIPE" | "SKU" | "SKU_GROUP";
685
685
  amount: {
686
686
  amount: number;
687
687
  precision: number;
688
688
  };
689
+ id: string;
689
690
  }[] | null | undefined;
690
691
  } | null | undefined;
691
692
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
692
693
  defaultCost?: {
693
694
  measurement?: {
694
- id: string;
695
695
  name: string;
696
+ id: string;
696
697
  abbrev: string;
697
698
  conversion: {
698
699
  amount: number;
@@ -711,17 +712,14 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
711
712
  mid: number;
712
713
  } | null | undefined;
713
714
  customAttributes?: Record<string, any> | null | undefined;
714
- _id: string;
715
- name: string;
716
- code: string;
717
715
  unit: {
718
716
  _id: string;
719
717
  name: string;
720
718
  abbrev: string;
721
719
  precision: number;
722
720
  measurements: {
723
- id: string;
724
721
  name: string;
722
+ id: string;
725
723
  abbrev: string;
726
724
  conversion: {
727
725
  amount: number;
@@ -729,25 +727,27 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
729
727
  };
730
728
  }[];
731
729
  };
730
+ code: string;
731
+ _id: string;
732
+ name: string;
732
733
  };
733
734
  }[];
734
- name: string;
735
735
  }[]>;
736
736
  loading: import("vue").Ref<boolean, boolean>;
737
737
  fetchTemplates: () => Promise<void>;
738
738
  loadTemplate: (templateId: string) => Promise<void>;
739
739
  }, "loading" | "columnDefs" | "recentPublish" | "templates">>, Pick<{
740
740
  columnDefs: ColumnDef<{
741
- ref?: string | null | undefined;
742
741
  _rev?: string | null | undefined;
743
742
  updatedAt?: string | null | undefined;
743
+ ref?: string | null | undefined;
744
744
  locations?: {
745
745
  inventory?: {
746
746
  _id: string;
747
747
  updatedAt: string;
748
748
  } | null | undefined;
749
- name: string;
750
749
  type: "restaurant" | "warehouse";
750
+ name: string;
751
751
  acceptRequest: boolean;
752
752
  dbName: string;
753
753
  doc: {
@@ -837,6 +837,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
837
837
  id: string;
838
838
  } | null | undefined;
839
839
  _id: string;
840
+ name: string;
840
841
  items: {
841
842
  disabledMeasurements?: string[] | null | undefined;
842
843
  position?: number | null | undefined;
@@ -847,8 +848,8 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
847
848
  measurement?: string | null | undefined;
848
849
  inventoryBindings?: {
849
850
  measurement?: {
850
- id: string;
851
851
  name: string;
852
+ id: string;
852
853
  abbrev: string;
853
854
  conversion: {
854
855
  amount: number;
@@ -857,24 +858,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
857
858
  } | null | undefined;
858
859
  rules?: Record<string, any> | null | undefined;
859
860
  alternatives?: {
860
- priority?: number | null | undefined;
861
861
  default?: boolean | null | undefined;
862
862
  trackingMeasurement?: string | null | undefined;
863
+ priority?: number | null | undefined;
863
864
  _id: string;
864
865
  }[] | null | undefined;
865
- id: string;
866
866
  type: "RECIPE" | "SKU" | "SKU_GROUP";
867
867
  amount: {
868
868
  amount: number;
869
869
  precision: number;
870
870
  };
871
+ id: string;
871
872
  }[] | null | undefined;
872
873
  } | null | undefined;
873
874
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
874
875
  defaultCost?: {
875
876
  measurement?: {
876
- id: string;
877
877
  name: string;
878
+ id: string;
878
879
  abbrev: string;
879
880
  conversion: {
880
881
  amount: number;
@@ -893,17 +894,14 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
893
894
  mid: number;
894
895
  } | null | undefined;
895
896
  customAttributes?: Record<string, any> | null | undefined;
896
- _id: string;
897
- name: string;
898
- code: string;
899
897
  unit: {
900
898
  _id: string;
901
899
  name: string;
902
900
  abbrev: string;
903
901
  precision: number;
904
902
  measurements: {
905
- id: string;
906
903
  name: string;
904
+ id: string;
907
905
  abbrev: string;
908
906
  conversion: {
909
907
  amount: number;
@@ -911,9 +909,11 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
911
909
  };
912
910
  }[];
913
911
  };
912
+ code: string;
913
+ _id: string;
914
+ name: string;
914
915
  };
915
916
  }[];
916
- name: string;
917
917
  } & RevisionIdMeta>[];
918
918
  recentPublish: import("vue").Ref<{
919
919
  recentJob?: {
@@ -937,16 +937,16 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
937
937
  publishedRevs?: Record<string, string> | null | undefined;
938
938
  }>;
939
939
  templates: import("vue").Ref<{
940
- ref?: string | null | undefined;
941
940
  _rev: string;
942
941
  updatedAt?: string | null | undefined;
942
+ ref?: string | null | undefined;
943
943
  locations?: {
944
944
  inventory?: {
945
945
  _id: string;
946
946
  updatedAt: string;
947
947
  } | null | undefined;
948
- name: string;
949
948
  type: "restaurant" | "warehouse";
949
+ name: string;
950
950
  acceptRequest: boolean;
951
951
  dbName: string;
952
952
  doc: {
@@ -1036,6 +1036,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1036
1036
  id: string;
1037
1037
  } | null | undefined;
1038
1038
  _id: string;
1039
+ name: string;
1039
1040
  items: {
1040
1041
  disabledMeasurements?: string[] | null | undefined;
1041
1042
  position?: number | null | undefined;
@@ -1046,8 +1047,8 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1046
1047
  measurement?: string | null | undefined;
1047
1048
  inventoryBindings?: {
1048
1049
  measurement?: {
1049
- id: string;
1050
1050
  name: string;
1051
+ id: string;
1051
1052
  abbrev: string;
1052
1053
  conversion: {
1053
1054
  amount: number;
@@ -1056,24 +1057,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1056
1057
  } | null | undefined;
1057
1058
  rules?: Record<string, any> | null | undefined;
1058
1059
  alternatives?: {
1059
- priority?: number | null | undefined;
1060
1060
  default?: boolean | null | undefined;
1061
1061
  trackingMeasurement?: string | null | undefined;
1062
+ priority?: number | null | undefined;
1062
1063
  _id: string;
1063
1064
  }[] | null | undefined;
1064
- id: string;
1065
1065
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1066
1066
  amount: {
1067
1067
  amount: number;
1068
1068
  precision: number;
1069
1069
  };
1070
+ id: string;
1070
1071
  }[] | null | undefined;
1071
1072
  } | null | undefined;
1072
1073
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1073
1074
  defaultCost?: {
1074
1075
  measurement?: {
1075
- id: string;
1076
1076
  name: string;
1077
+ id: string;
1077
1078
  abbrev: string;
1078
1079
  conversion: {
1079
1080
  amount: number;
@@ -1092,17 +1093,14 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1092
1093
  mid: number;
1093
1094
  } | null | undefined;
1094
1095
  customAttributes?: Record<string, any> | null | undefined;
1095
- _id: string;
1096
- name: string;
1097
- code: string;
1098
1096
  unit: {
1099
1097
  _id: string;
1100
1098
  name: string;
1101
1099
  abbrev: string;
1102
1100
  precision: number;
1103
1101
  measurements: {
1104
- id: string;
1105
1102
  name: string;
1103
+ id: string;
1106
1104
  abbrev: string;
1107
1105
  conversion: {
1108
1106
  amount: number;
@@ -1110,20 +1108,22 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1110
1108
  };
1111
1109
  }[];
1112
1110
  };
1111
+ code: string;
1112
+ _id: string;
1113
+ name: string;
1113
1114
  };
1114
1115
  }[];
1115
- name: string;
1116
1116
  }[], ({
1117
- ref?: string | null | undefined;
1118
1117
  _rev?: string | null | undefined;
1119
1118
  updatedAt?: string | null | undefined;
1119
+ ref?: string | null | undefined;
1120
1120
  locations?: {
1121
1121
  inventory?: {
1122
1122
  _id: string;
1123
1123
  updatedAt: string;
1124
1124
  } | null | undefined;
1125
- name: string;
1126
1125
  type: "restaurant" | "warehouse";
1126
+ name: string;
1127
1127
  acceptRequest: boolean;
1128
1128
  dbName: string;
1129
1129
  doc: {
@@ -1213,6 +1213,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1213
1213
  id: string;
1214
1214
  } | null | undefined;
1215
1215
  _id: string;
1216
+ name: string;
1216
1217
  items: {
1217
1218
  disabledMeasurements?: string[] | null | undefined;
1218
1219
  position?: number | null | undefined;
@@ -1223,8 +1224,8 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1223
1224
  measurement?: string | null | undefined;
1224
1225
  inventoryBindings?: {
1225
1226
  measurement?: {
1226
- id: string;
1227
1227
  name: string;
1228
+ id: string;
1228
1229
  abbrev: string;
1229
1230
  conversion: {
1230
1231
  amount: number;
@@ -1233,24 +1234,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1233
1234
  } | null | undefined;
1234
1235
  rules?: Record<string, any> | null | undefined;
1235
1236
  alternatives?: {
1236
- priority?: number | null | undefined;
1237
1237
  default?: boolean | null | undefined;
1238
1238
  trackingMeasurement?: string | null | undefined;
1239
+ priority?: number | null | undefined;
1239
1240
  _id: string;
1240
1241
  }[] | null | undefined;
1241
- id: string;
1242
1242
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1243
1243
  amount: {
1244
1244
  amount: number;
1245
1245
  precision: number;
1246
1246
  };
1247
+ id: string;
1247
1248
  }[] | null | undefined;
1248
1249
  } | null | undefined;
1249
1250
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1250
1251
  defaultCost?: {
1251
1252
  measurement?: {
1252
- id: string;
1253
1253
  name: string;
1254
+ id: string;
1254
1255
  abbrev: string;
1255
1256
  conversion: {
1256
1257
  amount: number;
@@ -1269,17 +1270,14 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1269
1270
  mid: number;
1270
1271
  } | null | undefined;
1271
1272
  customAttributes?: Record<string, any> | null | undefined;
1272
- _id: string;
1273
- name: string;
1274
- code: string;
1275
1273
  unit: {
1276
1274
  _id: string;
1277
1275
  name: string;
1278
1276
  abbrev: string;
1279
1277
  precision: number;
1280
1278
  measurements: {
1281
- id: string;
1282
1279
  name: string;
1280
+ id: string;
1283
1281
  abbrev: string;
1284
1282
  conversion: {
1285
1283
  amount: number;
@@ -1287,20 +1285,22 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1287
1285
  };
1288
1286
  }[];
1289
1287
  };
1288
+ code: string;
1289
+ _id: string;
1290
+ name: string;
1290
1291
  };
1291
1292
  }[];
1292
- name: string;
1293
1293
  } & RevisionIdMeta)[] | {
1294
- ref?: string | null | undefined;
1295
1294
  _rev: string;
1296
1295
  updatedAt?: string | null | undefined;
1296
+ ref?: string | null | undefined;
1297
1297
  locations?: {
1298
1298
  inventory?: {
1299
1299
  _id: string;
1300
1300
  updatedAt: string;
1301
1301
  } | null | undefined;
1302
- name: string;
1303
1302
  type: "restaurant" | "warehouse";
1303
+ name: string;
1304
1304
  acceptRequest: boolean;
1305
1305
  dbName: string;
1306
1306
  doc: {
@@ -1390,6 +1390,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1390
1390
  id: string;
1391
1391
  } | null | undefined;
1392
1392
  _id: string;
1393
+ name: string;
1393
1394
  items: {
1394
1395
  disabledMeasurements?: string[] | null | undefined;
1395
1396
  position?: number | null | undefined;
@@ -1400,8 +1401,8 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1400
1401
  measurement?: string | null | undefined;
1401
1402
  inventoryBindings?: {
1402
1403
  measurement?: {
1403
- id: string;
1404
1404
  name: string;
1405
+ id: string;
1405
1406
  abbrev: string;
1406
1407
  conversion: {
1407
1408
  amount: number;
@@ -1410,24 +1411,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1410
1411
  } | null | undefined;
1411
1412
  rules?: Record<string, any> | null | undefined;
1412
1413
  alternatives?: {
1413
- priority?: number | null | undefined;
1414
1414
  default?: boolean | null | undefined;
1415
1415
  trackingMeasurement?: string | null | undefined;
1416
+ priority?: number | null | undefined;
1416
1417
  _id: string;
1417
1418
  }[] | null | undefined;
1418
- id: string;
1419
1419
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1420
1420
  amount: {
1421
1421
  amount: number;
1422
1422
  precision: number;
1423
1423
  };
1424
+ id: string;
1424
1425
  }[] | null | undefined;
1425
1426
  } | null | undefined;
1426
1427
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1427
1428
  defaultCost?: {
1428
1429
  measurement?: {
1429
- id: string;
1430
1430
  name: string;
1431
+ id: string;
1431
1432
  abbrev: string;
1432
1433
  conversion: {
1433
1434
  amount: number;
@@ -1446,17 +1447,14 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1446
1447
  mid: number;
1447
1448
  } | null | undefined;
1448
1449
  customAttributes?: Record<string, any> | null | undefined;
1449
- _id: string;
1450
- name: string;
1451
- code: string;
1452
1450
  unit: {
1453
1451
  _id: string;
1454
1452
  name: string;
1455
1453
  abbrev: string;
1456
1454
  precision: number;
1457
1455
  measurements: {
1458
- id: string;
1459
1456
  name: string;
1457
+ id: string;
1460
1458
  abbrev: string;
1461
1459
  conversion: {
1462
1460
  amount: number;
@@ -1464,25 +1462,27 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1464
1462
  };
1465
1463
  }[];
1466
1464
  };
1465
+ code: string;
1466
+ _id: string;
1467
+ name: string;
1467
1468
  };
1468
1469
  }[];
1469
- name: string;
1470
1470
  }[]>;
1471
1471
  loading: import("vue").Ref<boolean, boolean>;
1472
1472
  fetchTemplates: () => Promise<void>;
1473
1473
  loadTemplate: (templateId: string) => Promise<void>;
1474
1474
  }, never>, Pick<{
1475
1475
  columnDefs: ColumnDef<{
1476
- ref?: string | null | undefined;
1477
1476
  _rev?: string | null | undefined;
1478
1477
  updatedAt?: string | null | undefined;
1478
+ ref?: string | null | undefined;
1479
1479
  locations?: {
1480
1480
  inventory?: {
1481
1481
  _id: string;
1482
1482
  updatedAt: string;
1483
1483
  } | null | undefined;
1484
- name: string;
1485
1484
  type: "restaurant" | "warehouse";
1485
+ name: string;
1486
1486
  acceptRequest: boolean;
1487
1487
  dbName: string;
1488
1488
  doc: {
@@ -1572,6 +1572,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1572
1572
  id: string;
1573
1573
  } | null | undefined;
1574
1574
  _id: string;
1575
+ name: string;
1575
1576
  items: {
1576
1577
  disabledMeasurements?: string[] | null | undefined;
1577
1578
  position?: number | null | undefined;
@@ -1582,8 +1583,8 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1582
1583
  measurement?: string | null | undefined;
1583
1584
  inventoryBindings?: {
1584
1585
  measurement?: {
1585
- id: string;
1586
1586
  name: string;
1587
+ id: string;
1587
1588
  abbrev: string;
1588
1589
  conversion: {
1589
1590
  amount: number;
@@ -1592,24 +1593,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1592
1593
  } | null | undefined;
1593
1594
  rules?: Record<string, any> | null | undefined;
1594
1595
  alternatives?: {
1595
- priority?: number | null | undefined;
1596
1596
  default?: boolean | null | undefined;
1597
1597
  trackingMeasurement?: string | null | undefined;
1598
+ priority?: number | null | undefined;
1598
1599
  _id: string;
1599
1600
  }[] | null | undefined;
1600
- id: string;
1601
1601
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1602
1602
  amount: {
1603
1603
  amount: number;
1604
1604
  precision: number;
1605
1605
  };
1606
+ id: string;
1606
1607
  }[] | null | undefined;
1607
1608
  } | null | undefined;
1608
1609
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1609
1610
  defaultCost?: {
1610
1611
  measurement?: {
1611
- id: string;
1612
1612
  name: string;
1613
+ id: string;
1613
1614
  abbrev: string;
1614
1615
  conversion: {
1615
1616
  amount: number;
@@ -1628,17 +1629,14 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1628
1629
  mid: number;
1629
1630
  } | null | undefined;
1630
1631
  customAttributes?: Record<string, any> | null | undefined;
1631
- _id: string;
1632
- name: string;
1633
- code: string;
1634
1632
  unit: {
1635
1633
  _id: string;
1636
1634
  name: string;
1637
1635
  abbrev: string;
1638
1636
  precision: number;
1639
1637
  measurements: {
1640
- id: string;
1641
1638
  name: string;
1639
+ id: string;
1642
1640
  abbrev: string;
1643
1641
  conversion: {
1644
1642
  amount: number;
@@ -1646,9 +1644,11 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1646
1644
  };
1647
1645
  }[];
1648
1646
  };
1647
+ code: string;
1648
+ _id: string;
1649
+ name: string;
1649
1650
  };
1650
1651
  }[];
1651
- name: string;
1652
1652
  } & RevisionIdMeta>[];
1653
1653
  recentPublish: import("vue").Ref<{
1654
1654
  recentJob?: {
@@ -1672,16 +1672,16 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1672
1672
  publishedRevs?: Record<string, string> | null | undefined;
1673
1673
  }>;
1674
1674
  templates: import("vue").Ref<{
1675
- ref?: string | null | undefined;
1676
1675
  _rev: string;
1677
1676
  updatedAt?: string | null | undefined;
1677
+ ref?: string | null | undefined;
1678
1678
  locations?: {
1679
1679
  inventory?: {
1680
1680
  _id: string;
1681
1681
  updatedAt: string;
1682
1682
  } | null | undefined;
1683
- name: string;
1684
1683
  type: "restaurant" | "warehouse";
1684
+ name: string;
1685
1685
  acceptRequest: boolean;
1686
1686
  dbName: string;
1687
1687
  doc: {
@@ -1771,6 +1771,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1771
1771
  id: string;
1772
1772
  } | null | undefined;
1773
1773
  _id: string;
1774
+ name: string;
1774
1775
  items: {
1775
1776
  disabledMeasurements?: string[] | null | undefined;
1776
1777
  position?: number | null | undefined;
@@ -1781,8 +1782,8 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1781
1782
  measurement?: string | null | undefined;
1782
1783
  inventoryBindings?: {
1783
1784
  measurement?: {
1784
- id: string;
1785
1785
  name: string;
1786
+ id: string;
1786
1787
  abbrev: string;
1787
1788
  conversion: {
1788
1789
  amount: number;
@@ -1791,24 +1792,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1791
1792
  } | null | undefined;
1792
1793
  rules?: Record<string, any> | null | undefined;
1793
1794
  alternatives?: {
1794
- priority?: number | null | undefined;
1795
1795
  default?: boolean | null | undefined;
1796
1796
  trackingMeasurement?: string | null | undefined;
1797
+ priority?: number | null | undefined;
1797
1798
  _id: string;
1798
1799
  }[] | null | undefined;
1799
- id: string;
1800
1800
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1801
1801
  amount: {
1802
1802
  amount: number;
1803
1803
  precision: number;
1804
1804
  };
1805
+ id: string;
1805
1806
  }[] | null | undefined;
1806
1807
  } | null | undefined;
1807
1808
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1808
1809
  defaultCost?: {
1809
1810
  measurement?: {
1810
- id: string;
1811
1811
  name: string;
1812
+ id: string;
1812
1813
  abbrev: string;
1813
1814
  conversion: {
1814
1815
  amount: number;
@@ -1827,17 +1828,14 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1827
1828
  mid: number;
1828
1829
  } | null | undefined;
1829
1830
  customAttributes?: Record<string, any> | null | undefined;
1830
- _id: string;
1831
- name: string;
1832
- code: string;
1833
1831
  unit: {
1834
1832
  _id: string;
1835
1833
  name: string;
1836
1834
  abbrev: string;
1837
1835
  precision: number;
1838
1836
  measurements: {
1839
- id: string;
1840
1837
  name: string;
1838
+ id: string;
1841
1839
  abbrev: string;
1842
1840
  conversion: {
1843
1841
  amount: number;
@@ -1845,20 +1843,22 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1845
1843
  };
1846
1844
  }[];
1847
1845
  };
1846
+ code: string;
1847
+ _id: string;
1848
+ name: string;
1848
1849
  };
1849
1850
  }[];
1850
- name: string;
1851
1851
  }[], ({
1852
- ref?: string | null | undefined;
1853
1852
  _rev?: string | null | undefined;
1854
1853
  updatedAt?: string | null | undefined;
1854
+ ref?: string | null | undefined;
1855
1855
  locations?: {
1856
1856
  inventory?: {
1857
1857
  _id: string;
1858
1858
  updatedAt: string;
1859
1859
  } | null | undefined;
1860
- name: string;
1861
1860
  type: "restaurant" | "warehouse";
1861
+ name: string;
1862
1862
  acceptRequest: boolean;
1863
1863
  dbName: string;
1864
1864
  doc: {
@@ -1948,6 +1948,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1948
1948
  id: string;
1949
1949
  } | null | undefined;
1950
1950
  _id: string;
1951
+ name: string;
1951
1952
  items: {
1952
1953
  disabledMeasurements?: string[] | null | undefined;
1953
1954
  position?: number | null | undefined;
@@ -1958,8 +1959,8 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1958
1959
  measurement?: string | null | undefined;
1959
1960
  inventoryBindings?: {
1960
1961
  measurement?: {
1961
- id: string;
1962
1962
  name: string;
1963
+ id: string;
1963
1964
  abbrev: string;
1964
1965
  conversion: {
1965
1966
  amount: number;
@@ -1968,24 +1969,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1968
1969
  } | null | undefined;
1969
1970
  rules?: Record<string, any> | null | undefined;
1970
1971
  alternatives?: {
1971
- priority?: number | null | undefined;
1972
1972
  default?: boolean | null | undefined;
1973
1973
  trackingMeasurement?: string | null | undefined;
1974
+ priority?: number | null | undefined;
1974
1975
  _id: string;
1975
1976
  }[] | null | undefined;
1976
- id: string;
1977
1977
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1978
1978
  amount: {
1979
1979
  amount: number;
1980
1980
  precision: number;
1981
1981
  };
1982
+ id: string;
1982
1983
  }[] | null | undefined;
1983
1984
  } | null | undefined;
1984
1985
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1985
1986
  defaultCost?: {
1986
1987
  measurement?: {
1987
- id: string;
1988
1988
  name: string;
1989
+ id: string;
1989
1990
  abbrev: string;
1990
1991
  conversion: {
1991
1992
  amount: number;
@@ -2004,17 +2005,14 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2004
2005
  mid: number;
2005
2006
  } | null | undefined;
2006
2007
  customAttributes?: Record<string, any> | null | undefined;
2007
- _id: string;
2008
- name: string;
2009
- code: string;
2010
2008
  unit: {
2011
2009
  _id: string;
2012
2010
  name: string;
2013
2011
  abbrev: string;
2014
2012
  precision: number;
2015
2013
  measurements: {
2016
- id: string;
2017
2014
  name: string;
2015
+ id: string;
2018
2016
  abbrev: string;
2019
2017
  conversion: {
2020
2018
  amount: number;
@@ -2022,20 +2020,22 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2022
2020
  };
2023
2021
  }[];
2024
2022
  };
2023
+ code: string;
2024
+ _id: string;
2025
+ name: string;
2025
2026
  };
2026
2027
  }[];
2027
- name: string;
2028
2028
  } & RevisionIdMeta)[] | {
2029
- ref?: string | null | undefined;
2030
2029
  _rev: string;
2031
2030
  updatedAt?: string | null | undefined;
2031
+ ref?: string | null | undefined;
2032
2032
  locations?: {
2033
2033
  inventory?: {
2034
2034
  _id: string;
2035
2035
  updatedAt: string;
2036
2036
  } | null | undefined;
2037
- name: string;
2038
2037
  type: "restaurant" | "warehouse";
2038
+ name: string;
2039
2039
  acceptRequest: boolean;
2040
2040
  dbName: string;
2041
2041
  doc: {
@@ -2125,6 +2125,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2125
2125
  id: string;
2126
2126
  } | null | undefined;
2127
2127
  _id: string;
2128
+ name: string;
2128
2129
  items: {
2129
2130
  disabledMeasurements?: string[] | null | undefined;
2130
2131
  position?: number | null | undefined;
@@ -2135,8 +2136,8 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2135
2136
  measurement?: string | null | undefined;
2136
2137
  inventoryBindings?: {
2137
2138
  measurement?: {
2138
- id: string;
2139
2139
  name: string;
2140
+ id: string;
2140
2141
  abbrev: string;
2141
2142
  conversion: {
2142
2143
  amount: number;
@@ -2145,24 +2146,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2145
2146
  } | null | undefined;
2146
2147
  rules?: Record<string, any> | null | undefined;
2147
2148
  alternatives?: {
2148
- priority?: number | null | undefined;
2149
2149
  default?: boolean | null | undefined;
2150
2150
  trackingMeasurement?: string | null | undefined;
2151
+ priority?: number | null | undefined;
2151
2152
  _id: string;
2152
2153
  }[] | null | undefined;
2153
- id: string;
2154
2154
  type: "RECIPE" | "SKU" | "SKU_GROUP";
2155
2155
  amount: {
2156
2156
  amount: number;
2157
2157
  precision: number;
2158
2158
  };
2159
+ id: string;
2159
2160
  }[] | null | undefined;
2160
2161
  } | null | undefined;
2161
2162
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
2162
2163
  defaultCost?: {
2163
2164
  measurement?: {
2164
- id: string;
2165
2165
  name: string;
2166
+ id: string;
2166
2167
  abbrev: string;
2167
2168
  conversion: {
2168
2169
  amount: number;
@@ -2181,17 +2182,14 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2181
2182
  mid: number;
2182
2183
  } | null | undefined;
2183
2184
  customAttributes?: Record<string, any> | null | undefined;
2184
- _id: string;
2185
- name: string;
2186
- code: string;
2187
2185
  unit: {
2188
2186
  _id: string;
2189
2187
  name: string;
2190
2188
  abbrev: string;
2191
2189
  precision: number;
2192
2190
  measurements: {
2193
- id: string;
2194
2191
  name: string;
2192
+ id: string;
2195
2193
  abbrev: string;
2196
2194
  conversion: {
2197
2195
  amount: number;
@@ -2199,9 +2197,11 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2199
2197
  };
2200
2198
  }[];
2201
2199
  };
2200
+ code: string;
2201
+ _id: string;
2202
+ name: string;
2202
2203
  };
2203
2204
  }[];
2204
- name: string;
2205
2205
  }[]>;
2206
2206
  loading: import("vue").Ref<boolean, boolean>;
2207
2207
  fetchTemplates: () => Promise<void>;