@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
@@ -23,16 +23,16 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
23
23
  templateDialogProps: Ref<{
24
24
  mode?: FormMode | undefined;
25
25
  modelValue?: {
26
- ref?: string | null | undefined;
27
26
  _rev?: string | null | undefined;
28
27
  updatedAt?: string | null | undefined;
28
+ ref?: string | null | undefined;
29
29
  locations?: {
30
30
  inventory?: {
31
31
  _id: string;
32
32
  updatedAt: string;
33
33
  } | null | undefined;
34
- name: string;
35
34
  type: "restaurant" | "warehouse";
35
+ name: string;
36
36
  acceptRequest: boolean;
37
37
  dbName: string;
38
38
  doc: {
@@ -122,6 +122,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
122
122
  id: string;
123
123
  } | null | undefined;
124
124
  _id: string;
125
+ name: string;
125
126
  items: {
126
127
  disabledMeasurements?: string[] | null | undefined;
127
128
  position?: number | null | undefined;
@@ -132,8 +133,8 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
132
133
  measurement?: string | null | undefined;
133
134
  inventoryBindings?: {
134
135
  measurement?: {
135
- id: string;
136
136
  name: string;
137
+ id: string;
137
138
  abbrev: string;
138
139
  conversion: {
139
140
  amount: number;
@@ -142,24 +143,24 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
142
143
  } | null | undefined;
143
144
  rules?: Record<string, any> | null | undefined;
144
145
  alternatives?: {
145
- priority?: number | null | undefined;
146
146
  default?: boolean | null | undefined;
147
147
  trackingMeasurement?: string | null | undefined;
148
+ priority?: number | null | undefined;
148
149
  _id: string;
149
150
  }[] | null | undefined;
150
- id: string;
151
151
  type: "RECIPE" | "SKU" | "SKU_GROUP";
152
152
  amount: {
153
153
  amount: number;
154
154
  precision: number;
155
155
  };
156
+ id: string;
156
157
  }[] | null | undefined;
157
158
  } | null | undefined;
158
159
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
159
160
  defaultCost?: {
160
161
  measurement?: {
161
- id: string;
162
162
  name: string;
163
+ id: string;
163
164
  abbrev: string;
164
165
  conversion: {
165
166
  amount: number;
@@ -178,17 +179,14 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
178
179
  mid: number;
179
180
  } | null | undefined;
180
181
  customAttributes?: Record<string, any> | null | undefined;
181
- _id: string;
182
- name: string;
183
- code: string;
184
182
  unit: {
185
183
  _id: string;
186
184
  name: string;
187
185
  abbrev: string;
188
186
  precision: number;
189
187
  measurements: {
190
- id: string;
191
188
  name: string;
189
+ id: string;
192
190
  abbrev: string;
193
191
  conversion: {
194
192
  amount: number;
@@ -196,9 +194,11 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
196
194
  };
197
195
  }[];
198
196
  };
197
+ code: string;
198
+ _id: string;
199
+ name: string;
199
200
  };
200
201
  }[];
201
- name: string;
202
202
  } | undefined;
203
203
  show?: boolean | undefined;
204
204
  'onUpdate:show'?: ((show: boolean) => void) | undefined;
@@ -206,16 +206,16 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
206
206
  }, ClosingTemplateDialogPropsWithEventBinding | {
207
207
  mode?: FormMode | undefined;
208
208
  modelValue?: {
209
- ref?: string | null | undefined;
210
209
  _rev?: string | null | undefined;
211
210
  updatedAt?: string | null | undefined;
211
+ ref?: string | null | undefined;
212
212
  locations?: {
213
213
  inventory?: {
214
214
  _id: string;
215
215
  updatedAt: string;
216
216
  } | null | undefined;
217
- name: string;
218
217
  type: "restaurant" | "warehouse";
218
+ name: string;
219
219
  acceptRequest: boolean;
220
220
  dbName: string;
221
221
  doc: {
@@ -305,6 +305,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
305
305
  id: string;
306
306
  } | null | undefined;
307
307
  _id: string;
308
+ name: string;
308
309
  items: {
309
310
  disabledMeasurements?: string[] | null | undefined;
310
311
  position?: number | null | undefined;
@@ -315,8 +316,8 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
315
316
  measurement?: string | null | undefined;
316
317
  inventoryBindings?: {
317
318
  measurement?: {
318
- id: string;
319
319
  name: string;
320
+ id: string;
320
321
  abbrev: string;
321
322
  conversion: {
322
323
  amount: number;
@@ -325,24 +326,24 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
325
326
  } | null | undefined;
326
327
  rules?: Record<string, any> | null | undefined;
327
328
  alternatives?: {
328
- priority?: number | null | undefined;
329
329
  default?: boolean | null | undefined;
330
330
  trackingMeasurement?: string | null | undefined;
331
+ priority?: number | null | undefined;
331
332
  _id: string;
332
333
  }[] | null | undefined;
333
- id: string;
334
334
  type: "RECIPE" | "SKU" | "SKU_GROUP";
335
335
  amount: {
336
336
  amount: number;
337
337
  precision: number;
338
338
  };
339
+ id: string;
339
340
  }[] | null | undefined;
340
341
  } | null | undefined;
341
342
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
342
343
  defaultCost?: {
343
344
  measurement?: {
344
- id: string;
345
345
  name: string;
346
+ id: string;
346
347
  abbrev: string;
347
348
  conversion: {
348
349
  amount: number;
@@ -361,17 +362,14 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
361
362
  mid: number;
362
363
  } | null | undefined;
363
364
  customAttributes?: Record<string, any> | null | undefined;
364
- _id: string;
365
- name: string;
366
- code: string;
367
365
  unit: {
368
366
  _id: string;
369
367
  name: string;
370
368
  abbrev: string;
371
369
  precision: number;
372
370
  measurements: {
373
- id: string;
374
371
  name: string;
372
+ id: string;
375
373
  abbrev: string;
376
374
  conversion: {
377
375
  amount: number;
@@ -379,9 +377,11 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
379
377
  };
380
378
  }[];
381
379
  };
380
+ code: string;
381
+ _id: string;
382
+ name: string;
382
383
  };
383
384
  }[];
384
- name: string;
385
385
  } | undefined;
386
386
  show?: boolean | undefined;
387
387
  'onUpdate:show'?: ((show: boolean) => void) | undefined;
@@ -389,16 +389,16 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
389
389
  }>;
390
390
  templateDetailsProps: Ref<{
391
391
  template?: {
392
- ref?: string | null | undefined;
393
392
  _rev?: string | null | undefined;
394
393
  updatedAt?: string | null | undefined;
394
+ ref?: string | null | undefined;
395
395
  locations?: {
396
396
  inventory?: {
397
397
  _id: string;
398
398
  updatedAt: string;
399
399
  } | null | undefined;
400
- name: string;
401
400
  type: "restaurant" | "warehouse";
401
+ name: string;
402
402
  acceptRequest: boolean;
403
403
  dbName: string;
404
404
  doc: {
@@ -488,6 +488,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
488
488
  id: string;
489
489
  } | null | undefined;
490
490
  _id: string;
491
+ name: string;
491
492
  items: {
492
493
  disabledMeasurements?: string[] | null | undefined;
493
494
  position?: number | null | undefined;
@@ -498,8 +499,8 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
498
499
  measurement?: string | null | undefined;
499
500
  inventoryBindings?: {
500
501
  measurement?: {
501
- id: string;
502
502
  name: string;
503
+ id: string;
503
504
  abbrev: string;
504
505
  conversion: {
505
506
  amount: number;
@@ -508,24 +509,24 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
508
509
  } | null | undefined;
509
510
  rules?: Record<string, any> | null | undefined;
510
511
  alternatives?: {
511
- priority?: number | null | undefined;
512
512
  default?: boolean | null | undefined;
513
513
  trackingMeasurement?: string | null | undefined;
514
+ priority?: number | null | undefined;
514
515
  _id: string;
515
516
  }[] | null | undefined;
516
- id: string;
517
517
  type: "RECIPE" | "SKU" | "SKU_GROUP";
518
518
  amount: {
519
519
  amount: number;
520
520
  precision: number;
521
521
  };
522
+ id: string;
522
523
  }[] | null | undefined;
523
524
  } | null | undefined;
524
525
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
525
526
  defaultCost?: {
526
527
  measurement?: {
527
- id: string;
528
528
  name: string;
529
+ id: string;
529
530
  abbrev: string;
530
531
  conversion: {
531
532
  amount: number;
@@ -544,17 +545,14 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
544
545
  mid: number;
545
546
  } | null | undefined;
546
547
  customAttributes?: Record<string, any> | null | undefined;
547
- _id: string;
548
- name: string;
549
- code: string;
550
548
  unit: {
551
549
  _id: string;
552
550
  name: string;
553
551
  abbrev: string;
554
552
  precision: number;
555
553
  measurements: {
556
- id: string;
557
554
  name: string;
555
+ id: string;
558
556
  abbrev: string;
559
557
  conversion: {
560
558
  amount: number;
@@ -562,25 +560,27 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
562
560
  };
563
561
  }[];
564
562
  };
563
+ code: string;
564
+ _id: string;
565
+ name: string;
565
566
  };
566
567
  }[];
567
- name: string;
568
568
  } | undefined;
569
569
  show?: boolean | undefined;
570
570
  'onUpdate:show'?: ((show: boolean) => void) | undefined;
571
571
  'onAction:edit'?: (() => void) | undefined;
572
572
  }, ClosingTemplateDetailsPropsWithEventBinding | {
573
573
  template?: {
574
- ref?: string | null | undefined;
575
574
  _rev?: string | null | undefined;
576
575
  updatedAt?: string | null | undefined;
576
+ ref?: string | null | undefined;
577
577
  locations?: {
578
578
  inventory?: {
579
579
  _id: string;
580
580
  updatedAt: string;
581
581
  } | null | undefined;
582
- name: string;
583
582
  type: "restaurant" | "warehouse";
583
+ name: string;
584
584
  acceptRequest: boolean;
585
585
  dbName: string;
586
586
  doc: {
@@ -670,6 +670,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
670
670
  id: string;
671
671
  } | null | undefined;
672
672
  _id: string;
673
+ name: string;
673
674
  items: {
674
675
  disabledMeasurements?: string[] | null | undefined;
675
676
  position?: number | null | undefined;
@@ -680,8 +681,8 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
680
681
  measurement?: string | null | undefined;
681
682
  inventoryBindings?: {
682
683
  measurement?: {
683
- id: string;
684
684
  name: string;
685
+ id: string;
685
686
  abbrev: string;
686
687
  conversion: {
687
688
  amount: number;
@@ -690,24 +691,24 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
690
691
  } | null | undefined;
691
692
  rules?: Record<string, any> | null | undefined;
692
693
  alternatives?: {
693
- priority?: number | null | undefined;
694
694
  default?: boolean | null | undefined;
695
695
  trackingMeasurement?: string | null | undefined;
696
+ priority?: number | null | undefined;
696
697
  _id: string;
697
698
  }[] | null | undefined;
698
- id: string;
699
699
  type: "RECIPE" | "SKU" | "SKU_GROUP";
700
700
  amount: {
701
701
  amount: number;
702
702
  precision: number;
703
703
  };
704
+ id: string;
704
705
  }[] | null | undefined;
705
706
  } | null | undefined;
706
707
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
707
708
  defaultCost?: {
708
709
  measurement?: {
709
- id: string;
710
710
  name: string;
711
+ id: string;
711
712
  abbrev: string;
712
713
  conversion: {
713
714
  amount: number;
@@ -726,17 +727,14 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
726
727
  mid: number;
727
728
  } | null | undefined;
728
729
  customAttributes?: Record<string, any> | null | undefined;
729
- _id: string;
730
- name: string;
731
- code: string;
732
730
  unit: {
733
731
  _id: string;
734
732
  name: string;
735
733
  abbrev: string;
736
734
  precision: number;
737
735
  measurements: {
738
- id: string;
739
736
  name: string;
737
+ id: string;
740
738
  abbrev: string;
741
739
  conversion: {
742
740
  amount: number;
@@ -744,9 +742,11 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
744
742
  };
745
743
  }[];
746
744
  };
745
+ code: string;
746
+ _id: string;
747
+ name: string;
747
748
  };
748
749
  }[];
749
- name: string;
750
750
  } | undefined;
751
751
  show?: boolean | undefined;
752
752
  'onUpdate:show'?: ((show: boolean) => void) | undefined;
@@ -764,16 +764,16 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
764
764
  templateDialogProps: Ref<{
765
765
  mode?: FormMode | undefined;
766
766
  modelValue?: {
767
- ref?: string | null | undefined;
768
767
  _rev?: string | null | undefined;
769
768
  updatedAt?: string | null | undefined;
769
+ ref?: string | null | undefined;
770
770
  locations?: {
771
771
  inventory?: {
772
772
  _id: string;
773
773
  updatedAt: string;
774
774
  } | null | undefined;
775
- name: string;
776
775
  type: "restaurant" | "warehouse";
776
+ name: string;
777
777
  acceptRequest: boolean;
778
778
  dbName: string;
779
779
  doc: {
@@ -863,6 +863,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
863
863
  id: string;
864
864
  } | null | undefined;
865
865
  _id: string;
866
+ name: string;
866
867
  items: {
867
868
  disabledMeasurements?: string[] | null | undefined;
868
869
  position?: number | null | undefined;
@@ -873,8 +874,8 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
873
874
  measurement?: string | null | undefined;
874
875
  inventoryBindings?: {
875
876
  measurement?: {
876
- id: string;
877
877
  name: string;
878
+ id: string;
878
879
  abbrev: string;
879
880
  conversion: {
880
881
  amount: number;
@@ -883,24 +884,24 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
883
884
  } | null | undefined;
884
885
  rules?: Record<string, any> | null | undefined;
885
886
  alternatives?: {
886
- priority?: number | null | undefined;
887
887
  default?: boolean | null | undefined;
888
888
  trackingMeasurement?: string | null | undefined;
889
+ priority?: number | null | undefined;
889
890
  _id: string;
890
891
  }[] | null | undefined;
891
- id: string;
892
892
  type: "RECIPE" | "SKU" | "SKU_GROUP";
893
893
  amount: {
894
894
  amount: number;
895
895
  precision: number;
896
896
  };
897
+ id: string;
897
898
  }[] | null | undefined;
898
899
  } | null | undefined;
899
900
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
900
901
  defaultCost?: {
901
902
  measurement?: {
902
- id: string;
903
903
  name: string;
904
+ id: string;
904
905
  abbrev: string;
905
906
  conversion: {
906
907
  amount: number;
@@ -919,17 +920,14 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
919
920
  mid: number;
920
921
  } | null | undefined;
921
922
  customAttributes?: Record<string, any> | null | undefined;
922
- _id: string;
923
- name: string;
924
- code: string;
925
923
  unit: {
926
924
  _id: string;
927
925
  name: string;
928
926
  abbrev: string;
929
927
  precision: number;
930
928
  measurements: {
931
- id: string;
932
929
  name: string;
930
+ id: string;
933
931
  abbrev: string;
934
932
  conversion: {
935
933
  amount: number;
@@ -937,9 +935,11 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
937
935
  };
938
936
  }[];
939
937
  };
938
+ code: string;
939
+ _id: string;
940
+ name: string;
940
941
  };
941
942
  }[];
942
- name: string;
943
943
  } | undefined;
944
944
  show?: boolean | undefined;
945
945
  'onUpdate:show'?: ((show: boolean) => void) | undefined;
@@ -947,16 +947,16 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
947
947
  }, ClosingTemplateDialogPropsWithEventBinding | {
948
948
  mode?: FormMode | undefined;
949
949
  modelValue?: {
950
- ref?: string | null | undefined;
951
950
  _rev?: string | null | undefined;
952
951
  updatedAt?: string | null | undefined;
952
+ ref?: string | null | undefined;
953
953
  locations?: {
954
954
  inventory?: {
955
955
  _id: string;
956
956
  updatedAt: string;
957
957
  } | null | undefined;
958
- name: string;
959
958
  type: "restaurant" | "warehouse";
959
+ name: string;
960
960
  acceptRequest: boolean;
961
961
  dbName: string;
962
962
  doc: {
@@ -1046,6 +1046,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1046
1046
  id: string;
1047
1047
  } | null | undefined;
1048
1048
  _id: string;
1049
+ name: string;
1049
1050
  items: {
1050
1051
  disabledMeasurements?: string[] | null | undefined;
1051
1052
  position?: number | null | undefined;
@@ -1056,8 +1057,8 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1056
1057
  measurement?: string | null | undefined;
1057
1058
  inventoryBindings?: {
1058
1059
  measurement?: {
1059
- id: string;
1060
1060
  name: string;
1061
+ id: string;
1061
1062
  abbrev: string;
1062
1063
  conversion: {
1063
1064
  amount: number;
@@ -1066,24 +1067,24 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1066
1067
  } | null | undefined;
1067
1068
  rules?: Record<string, any> | null | undefined;
1068
1069
  alternatives?: {
1069
- priority?: number | null | undefined;
1070
1070
  default?: boolean | null | undefined;
1071
1071
  trackingMeasurement?: string | null | undefined;
1072
+ priority?: number | null | undefined;
1072
1073
  _id: string;
1073
1074
  }[] | null | undefined;
1074
- id: string;
1075
1075
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1076
1076
  amount: {
1077
1077
  amount: number;
1078
1078
  precision: number;
1079
1079
  };
1080
+ id: string;
1080
1081
  }[] | null | undefined;
1081
1082
  } | null | undefined;
1082
1083
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1083
1084
  defaultCost?: {
1084
1085
  measurement?: {
1085
- id: string;
1086
1086
  name: string;
1087
+ id: string;
1087
1088
  abbrev: string;
1088
1089
  conversion: {
1089
1090
  amount: number;
@@ -1102,17 +1103,14 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1102
1103
  mid: number;
1103
1104
  } | null | undefined;
1104
1105
  customAttributes?: Record<string, any> | null | undefined;
1105
- _id: string;
1106
- name: string;
1107
- code: string;
1108
1106
  unit: {
1109
1107
  _id: string;
1110
1108
  name: string;
1111
1109
  abbrev: string;
1112
1110
  precision: number;
1113
1111
  measurements: {
1114
- id: string;
1115
1112
  name: string;
1113
+ id: string;
1116
1114
  abbrev: string;
1117
1115
  conversion: {
1118
1116
  amount: number;
@@ -1120,9 +1118,11 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1120
1118
  };
1121
1119
  }[];
1122
1120
  };
1121
+ code: string;
1122
+ _id: string;
1123
+ name: string;
1123
1124
  };
1124
1125
  }[];
1125
- name: string;
1126
1126
  } | undefined;
1127
1127
  show?: boolean | undefined;
1128
1128
  'onUpdate:show'?: ((show: boolean) => void) | undefined;
@@ -1130,16 +1130,16 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1130
1130
  }>;
1131
1131
  templateDetailsProps: Ref<{
1132
1132
  template?: {
1133
- ref?: string | null | undefined;
1134
1133
  _rev?: string | null | undefined;
1135
1134
  updatedAt?: string | null | undefined;
1135
+ ref?: string | null | undefined;
1136
1136
  locations?: {
1137
1137
  inventory?: {
1138
1138
  _id: string;
1139
1139
  updatedAt: string;
1140
1140
  } | null | undefined;
1141
- name: string;
1142
1141
  type: "restaurant" | "warehouse";
1142
+ name: string;
1143
1143
  acceptRequest: boolean;
1144
1144
  dbName: string;
1145
1145
  doc: {
@@ -1229,6 +1229,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1229
1229
  id: string;
1230
1230
  } | null | undefined;
1231
1231
  _id: string;
1232
+ name: string;
1232
1233
  items: {
1233
1234
  disabledMeasurements?: string[] | null | undefined;
1234
1235
  position?: number | null | undefined;
@@ -1239,8 +1240,8 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1239
1240
  measurement?: string | null | undefined;
1240
1241
  inventoryBindings?: {
1241
1242
  measurement?: {
1242
- id: string;
1243
1243
  name: string;
1244
+ id: string;
1244
1245
  abbrev: string;
1245
1246
  conversion: {
1246
1247
  amount: number;
@@ -1249,24 +1250,24 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1249
1250
  } | null | undefined;
1250
1251
  rules?: Record<string, any> | null | undefined;
1251
1252
  alternatives?: {
1252
- priority?: number | null | undefined;
1253
1253
  default?: boolean | null | undefined;
1254
1254
  trackingMeasurement?: string | null | undefined;
1255
+ priority?: number | null | undefined;
1255
1256
  _id: string;
1256
1257
  }[] | null | undefined;
1257
- id: string;
1258
1258
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1259
1259
  amount: {
1260
1260
  amount: number;
1261
1261
  precision: number;
1262
1262
  };
1263
+ id: string;
1263
1264
  }[] | null | undefined;
1264
1265
  } | null | undefined;
1265
1266
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1266
1267
  defaultCost?: {
1267
1268
  measurement?: {
1268
- id: string;
1269
1269
  name: string;
1270
+ id: string;
1270
1271
  abbrev: string;
1271
1272
  conversion: {
1272
1273
  amount: number;
@@ -1285,17 +1286,14 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1285
1286
  mid: number;
1286
1287
  } | null | undefined;
1287
1288
  customAttributes?: Record<string, any> | null | undefined;
1288
- _id: string;
1289
- name: string;
1290
- code: string;
1291
1289
  unit: {
1292
1290
  _id: string;
1293
1291
  name: string;
1294
1292
  abbrev: string;
1295
1293
  precision: number;
1296
1294
  measurements: {
1297
- id: string;
1298
1295
  name: string;
1296
+ id: string;
1299
1297
  abbrev: string;
1300
1298
  conversion: {
1301
1299
  amount: number;
@@ -1303,25 +1301,27 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1303
1301
  };
1304
1302
  }[];
1305
1303
  };
1304
+ code: string;
1305
+ _id: string;
1306
+ name: string;
1306
1307
  };
1307
1308
  }[];
1308
- name: string;
1309
1309
  } | undefined;
1310
1310
  show?: boolean | undefined;
1311
1311
  'onUpdate:show'?: ((show: boolean) => void) | undefined;
1312
1312
  'onAction:edit'?: (() => void) | undefined;
1313
1313
  }, ClosingTemplateDetailsPropsWithEventBinding | {
1314
1314
  template?: {
1315
- ref?: string | null | undefined;
1316
1315
  _rev?: string | null | undefined;
1317
1316
  updatedAt?: string | null | undefined;
1317
+ ref?: string | null | undefined;
1318
1318
  locations?: {
1319
1319
  inventory?: {
1320
1320
  _id: string;
1321
1321
  updatedAt: string;
1322
1322
  } | null | undefined;
1323
- name: string;
1324
1323
  type: "restaurant" | "warehouse";
1324
+ name: string;
1325
1325
  acceptRequest: boolean;
1326
1326
  dbName: string;
1327
1327
  doc: {
@@ -1411,6 +1411,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1411
1411
  id: string;
1412
1412
  } | null | undefined;
1413
1413
  _id: string;
1414
+ name: string;
1414
1415
  items: {
1415
1416
  disabledMeasurements?: string[] | null | undefined;
1416
1417
  position?: number | null | undefined;
@@ -1421,8 +1422,8 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1421
1422
  measurement?: string | null | undefined;
1422
1423
  inventoryBindings?: {
1423
1424
  measurement?: {
1424
- id: string;
1425
1425
  name: string;
1426
+ id: string;
1426
1427
  abbrev: string;
1427
1428
  conversion: {
1428
1429
  amount: number;
@@ -1431,24 +1432,24 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1431
1432
  } | null | undefined;
1432
1433
  rules?: Record<string, any> | null | undefined;
1433
1434
  alternatives?: {
1434
- priority?: number | null | undefined;
1435
1435
  default?: boolean | null | undefined;
1436
1436
  trackingMeasurement?: string | null | undefined;
1437
+ priority?: number | null | undefined;
1437
1438
  _id: string;
1438
1439
  }[] | null | undefined;
1439
- id: string;
1440
1440
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1441
1441
  amount: {
1442
1442
  amount: number;
1443
1443
  precision: number;
1444
1444
  };
1445
+ id: string;
1445
1446
  }[] | null | undefined;
1446
1447
  } | null | undefined;
1447
1448
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1448
1449
  defaultCost?: {
1449
1450
  measurement?: {
1450
- id: string;
1451
1451
  name: string;
1452
+ id: string;
1452
1453
  abbrev: string;
1453
1454
  conversion: {
1454
1455
  amount: number;
@@ -1467,17 +1468,14 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1467
1468
  mid: number;
1468
1469
  } | null | undefined;
1469
1470
  customAttributes?: Record<string, any> | null | undefined;
1470
- _id: string;
1471
- name: string;
1472
- code: string;
1473
1471
  unit: {
1474
1472
  _id: string;
1475
1473
  name: string;
1476
1474
  abbrev: string;
1477
1475
  precision: number;
1478
1476
  measurements: {
1479
- id: string;
1480
1477
  name: string;
1478
+ id: string;
1481
1479
  abbrev: string;
1482
1480
  conversion: {
1483
1481
  amount: number;
@@ -1485,9 +1483,11 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1485
1483
  };
1486
1484
  }[];
1487
1485
  };
1486
+ code: string;
1487
+ _id: string;
1488
+ name: string;
1488
1489
  };
1489
1490
  }[];
1490
- name: string;
1491
1491
  } | undefined;
1492
1492
  show?: boolean | undefined;
1493
1493
  'onUpdate:show'?: ((show: boolean) => void) | undefined;
@@ -1505,16 +1505,16 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1505
1505
  templateDialogProps: Ref<{
1506
1506
  mode?: FormMode | undefined;
1507
1507
  modelValue?: {
1508
- ref?: string | null | undefined;
1509
1508
  _rev?: string | null | undefined;
1510
1509
  updatedAt?: string | null | undefined;
1510
+ ref?: string | null | undefined;
1511
1511
  locations?: {
1512
1512
  inventory?: {
1513
1513
  _id: string;
1514
1514
  updatedAt: string;
1515
1515
  } | null | undefined;
1516
- name: string;
1517
1516
  type: "restaurant" | "warehouse";
1517
+ name: string;
1518
1518
  acceptRequest: boolean;
1519
1519
  dbName: string;
1520
1520
  doc: {
@@ -1604,6 +1604,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1604
1604
  id: string;
1605
1605
  } | null | undefined;
1606
1606
  _id: string;
1607
+ name: string;
1607
1608
  items: {
1608
1609
  disabledMeasurements?: string[] | null | undefined;
1609
1610
  position?: number | null | undefined;
@@ -1614,8 +1615,8 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1614
1615
  measurement?: string | null | undefined;
1615
1616
  inventoryBindings?: {
1616
1617
  measurement?: {
1617
- id: string;
1618
1618
  name: string;
1619
+ id: string;
1619
1620
  abbrev: string;
1620
1621
  conversion: {
1621
1622
  amount: number;
@@ -1624,24 +1625,24 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1624
1625
  } | null | undefined;
1625
1626
  rules?: Record<string, any> | null | undefined;
1626
1627
  alternatives?: {
1627
- priority?: number | null | undefined;
1628
1628
  default?: boolean | null | undefined;
1629
1629
  trackingMeasurement?: string | null | undefined;
1630
+ priority?: number | null | undefined;
1630
1631
  _id: string;
1631
1632
  }[] | null | undefined;
1632
- id: string;
1633
1633
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1634
1634
  amount: {
1635
1635
  amount: number;
1636
1636
  precision: number;
1637
1637
  };
1638
+ id: string;
1638
1639
  }[] | null | undefined;
1639
1640
  } | null | undefined;
1640
1641
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1641
1642
  defaultCost?: {
1642
1643
  measurement?: {
1643
- id: string;
1644
1644
  name: string;
1645
+ id: string;
1645
1646
  abbrev: string;
1646
1647
  conversion: {
1647
1648
  amount: number;
@@ -1660,17 +1661,14 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1660
1661
  mid: number;
1661
1662
  } | null | undefined;
1662
1663
  customAttributes?: Record<string, any> | null | undefined;
1663
- _id: string;
1664
- name: string;
1665
- code: string;
1666
1664
  unit: {
1667
1665
  _id: string;
1668
1666
  name: string;
1669
1667
  abbrev: string;
1670
1668
  precision: number;
1671
1669
  measurements: {
1672
- id: string;
1673
1670
  name: string;
1671
+ id: string;
1674
1672
  abbrev: string;
1675
1673
  conversion: {
1676
1674
  amount: number;
@@ -1678,9 +1676,11 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1678
1676
  };
1679
1677
  }[];
1680
1678
  };
1679
+ code: string;
1680
+ _id: string;
1681
+ name: string;
1681
1682
  };
1682
1683
  }[];
1683
- name: string;
1684
1684
  } | undefined;
1685
1685
  show?: boolean | undefined;
1686
1686
  'onUpdate:show'?: ((show: boolean) => void) | undefined;
@@ -1688,16 +1688,16 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1688
1688
  }, ClosingTemplateDialogPropsWithEventBinding | {
1689
1689
  mode?: FormMode | undefined;
1690
1690
  modelValue?: {
1691
- ref?: string | null | undefined;
1692
1691
  _rev?: string | null | undefined;
1693
1692
  updatedAt?: string | null | undefined;
1693
+ ref?: string | null | undefined;
1694
1694
  locations?: {
1695
1695
  inventory?: {
1696
1696
  _id: string;
1697
1697
  updatedAt: string;
1698
1698
  } | null | undefined;
1699
- name: string;
1700
1699
  type: "restaurant" | "warehouse";
1700
+ name: string;
1701
1701
  acceptRequest: boolean;
1702
1702
  dbName: string;
1703
1703
  doc: {
@@ -1787,6 +1787,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1787
1787
  id: string;
1788
1788
  } | null | undefined;
1789
1789
  _id: string;
1790
+ name: string;
1790
1791
  items: {
1791
1792
  disabledMeasurements?: string[] | null | undefined;
1792
1793
  position?: number | null | undefined;
@@ -1797,8 +1798,8 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1797
1798
  measurement?: string | null | undefined;
1798
1799
  inventoryBindings?: {
1799
1800
  measurement?: {
1800
- id: string;
1801
1801
  name: string;
1802
+ id: string;
1802
1803
  abbrev: string;
1803
1804
  conversion: {
1804
1805
  amount: number;
@@ -1807,24 +1808,24 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1807
1808
  } | null | undefined;
1808
1809
  rules?: Record<string, any> | null | undefined;
1809
1810
  alternatives?: {
1810
- priority?: number | null | undefined;
1811
1811
  default?: boolean | null | undefined;
1812
1812
  trackingMeasurement?: string | null | undefined;
1813
+ priority?: number | null | undefined;
1813
1814
  _id: string;
1814
1815
  }[] | null | undefined;
1815
- id: string;
1816
1816
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1817
1817
  amount: {
1818
1818
  amount: number;
1819
1819
  precision: number;
1820
1820
  };
1821
+ id: string;
1821
1822
  }[] | null | undefined;
1822
1823
  } | null | undefined;
1823
1824
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1824
1825
  defaultCost?: {
1825
1826
  measurement?: {
1826
- id: string;
1827
1827
  name: string;
1828
+ id: string;
1828
1829
  abbrev: string;
1829
1830
  conversion: {
1830
1831
  amount: number;
@@ -1843,17 +1844,14 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1843
1844
  mid: number;
1844
1845
  } | null | undefined;
1845
1846
  customAttributes?: Record<string, any> | null | undefined;
1846
- _id: string;
1847
- name: string;
1848
- code: string;
1849
1847
  unit: {
1850
1848
  _id: string;
1851
1849
  name: string;
1852
1850
  abbrev: string;
1853
1851
  precision: number;
1854
1852
  measurements: {
1855
- id: string;
1856
1853
  name: string;
1854
+ id: string;
1857
1855
  abbrev: string;
1858
1856
  conversion: {
1859
1857
  amount: number;
@@ -1861,9 +1859,11 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1861
1859
  };
1862
1860
  }[];
1863
1861
  };
1862
+ code: string;
1863
+ _id: string;
1864
+ name: string;
1864
1865
  };
1865
1866
  }[];
1866
- name: string;
1867
1867
  } | undefined;
1868
1868
  show?: boolean | undefined;
1869
1869
  'onUpdate:show'?: ((show: boolean) => void) | undefined;
@@ -1871,16 +1871,16 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1871
1871
  }>;
1872
1872
  templateDetailsProps: Ref<{
1873
1873
  template?: {
1874
- ref?: string | null | undefined;
1875
1874
  _rev?: string | null | undefined;
1876
1875
  updatedAt?: string | null | undefined;
1876
+ ref?: string | null | undefined;
1877
1877
  locations?: {
1878
1878
  inventory?: {
1879
1879
  _id: string;
1880
1880
  updatedAt: string;
1881
1881
  } | null | undefined;
1882
- name: string;
1883
1882
  type: "restaurant" | "warehouse";
1883
+ name: string;
1884
1884
  acceptRequest: boolean;
1885
1885
  dbName: string;
1886
1886
  doc: {
@@ -1970,6 +1970,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1970
1970
  id: string;
1971
1971
  } | null | undefined;
1972
1972
  _id: string;
1973
+ name: string;
1973
1974
  items: {
1974
1975
  disabledMeasurements?: string[] | null | undefined;
1975
1976
  position?: number | null | undefined;
@@ -1980,8 +1981,8 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1980
1981
  measurement?: string | null | undefined;
1981
1982
  inventoryBindings?: {
1982
1983
  measurement?: {
1983
- id: string;
1984
1984
  name: string;
1985
+ id: string;
1985
1986
  abbrev: string;
1986
1987
  conversion: {
1987
1988
  amount: number;
@@ -1990,24 +1991,24 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1990
1991
  } | null | undefined;
1991
1992
  rules?: Record<string, any> | null | undefined;
1992
1993
  alternatives?: {
1993
- priority?: number | null | undefined;
1994
1994
  default?: boolean | null | undefined;
1995
1995
  trackingMeasurement?: string | null | undefined;
1996
+ priority?: number | null | undefined;
1996
1997
  _id: string;
1997
1998
  }[] | null | undefined;
1998
- id: string;
1999
1999
  type: "RECIPE" | "SKU" | "SKU_GROUP";
2000
2000
  amount: {
2001
2001
  amount: number;
2002
2002
  precision: number;
2003
2003
  };
2004
+ id: string;
2004
2005
  }[] | null | undefined;
2005
2006
  } | null | undefined;
2006
2007
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
2007
2008
  defaultCost?: {
2008
2009
  measurement?: {
2009
- id: string;
2010
2010
  name: string;
2011
+ id: string;
2011
2012
  abbrev: string;
2012
2013
  conversion: {
2013
2014
  amount: number;
@@ -2026,17 +2027,14 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
2026
2027
  mid: number;
2027
2028
  } | null | undefined;
2028
2029
  customAttributes?: Record<string, any> | null | undefined;
2029
- _id: string;
2030
- name: string;
2031
- code: string;
2032
2030
  unit: {
2033
2031
  _id: string;
2034
2032
  name: string;
2035
2033
  abbrev: string;
2036
2034
  precision: number;
2037
2035
  measurements: {
2038
- id: string;
2039
2036
  name: string;
2037
+ id: string;
2040
2038
  abbrev: string;
2041
2039
  conversion: {
2042
2040
  amount: number;
@@ -2044,25 +2042,27 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
2044
2042
  };
2045
2043
  }[];
2046
2044
  };
2045
+ code: string;
2046
+ _id: string;
2047
+ name: string;
2047
2048
  };
2048
2049
  }[];
2049
- name: string;
2050
2050
  } | undefined;
2051
2051
  show?: boolean | undefined;
2052
2052
  'onUpdate:show'?: ((show: boolean) => void) | undefined;
2053
2053
  'onAction:edit'?: (() => void) | undefined;
2054
2054
  }, ClosingTemplateDetailsPropsWithEventBinding | {
2055
2055
  template?: {
2056
- ref?: string | null | undefined;
2057
2056
  _rev?: string | null | undefined;
2058
2057
  updatedAt?: string | null | undefined;
2058
+ ref?: string | null | undefined;
2059
2059
  locations?: {
2060
2060
  inventory?: {
2061
2061
  _id: string;
2062
2062
  updatedAt: string;
2063
2063
  } | null | undefined;
2064
- name: string;
2065
2064
  type: "restaurant" | "warehouse";
2065
+ name: string;
2066
2066
  acceptRequest: boolean;
2067
2067
  dbName: string;
2068
2068
  doc: {
@@ -2152,6 +2152,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
2152
2152
  id: string;
2153
2153
  } | null | undefined;
2154
2154
  _id: string;
2155
+ name: string;
2155
2156
  items: {
2156
2157
  disabledMeasurements?: string[] | null | undefined;
2157
2158
  position?: number | null | undefined;
@@ -2162,8 +2163,8 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
2162
2163
  measurement?: string | null | undefined;
2163
2164
  inventoryBindings?: {
2164
2165
  measurement?: {
2165
- id: string;
2166
2166
  name: string;
2167
+ id: string;
2167
2168
  abbrev: string;
2168
2169
  conversion: {
2169
2170
  amount: number;
@@ -2172,24 +2173,24 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
2172
2173
  } | null | undefined;
2173
2174
  rules?: Record<string, any> | null | undefined;
2174
2175
  alternatives?: {
2175
- priority?: number | null | undefined;
2176
2176
  default?: boolean | null | undefined;
2177
2177
  trackingMeasurement?: string | null | undefined;
2178
+ priority?: number | null | undefined;
2178
2179
  _id: string;
2179
2180
  }[] | null | undefined;
2180
- id: string;
2181
2181
  type: "RECIPE" | "SKU" | "SKU_GROUP";
2182
2182
  amount: {
2183
2183
  amount: number;
2184
2184
  precision: number;
2185
2185
  };
2186
+ id: string;
2186
2187
  }[] | null | undefined;
2187
2188
  } | null | undefined;
2188
2189
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
2189
2190
  defaultCost?: {
2190
2191
  measurement?: {
2191
- id: string;
2192
2192
  name: string;
2193
+ id: string;
2193
2194
  abbrev: string;
2194
2195
  conversion: {
2195
2196
  amount: number;
@@ -2208,17 +2209,14 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
2208
2209
  mid: number;
2209
2210
  } | null | undefined;
2210
2211
  customAttributes?: Record<string, any> | null | undefined;
2211
- _id: string;
2212
- name: string;
2213
- code: string;
2214
2212
  unit: {
2215
2213
  _id: string;
2216
2214
  name: string;
2217
2215
  abbrev: string;
2218
2216
  precision: number;
2219
2217
  measurements: {
2220
- id: string;
2221
2218
  name: string;
2219
+ id: string;
2222
2220
  abbrev: string;
2223
2221
  conversion: {
2224
2222
  amount: number;
@@ -2226,9 +2224,11 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
2226
2224
  };
2227
2225
  }[];
2228
2226
  };
2227
+ code: string;
2228
+ _id: string;
2229
+ name: string;
2229
2230
  };
2230
2231
  }[];
2231
- name: string;
2232
2232
  } | undefined;
2233
2233
  show?: boolean | undefined;
2234
2234
  'onUpdate:show'?: ((show: boolean) => void) | undefined;