@feedmepos/mf-inventory-portal 0.0.19-dev.9 → 0.0.20-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/App.vue.d.ts +1 -1
  2. package/dist/{ApprovalView-Bcxk6B7K.js → ApprovalView-CF-RhtHH.js} +5 -5
  3. package/dist/{BindingsDialog-XDkcjW_c.js → BindingsDialog-0_fCmf7t.js} +26 -26
  4. package/dist/{BindingsPicker-CgbiqX72.js → BindingsPicker-CT-56t-W.js} +17 -17
  5. package/dist/BindingsTable-DEftAnTN.js +120 -0
  6. package/dist/Entry.vue.d.ts +1 -1
  7. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6yg6_JPe.js +308 -0
  8. package/dist/IngredientsView-Au6oRwF2.js +1663 -0
  9. package/dist/{IntegrationView-CErHEVAO.js → IntegrationView-D7hqf0P5.js} +278 -278
  10. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-XXoPyhlc.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HcOKpAlW.js} +1 -1
  11. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BpyUheXn.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BTOE1vFl.js} +1 -1
  12. package/dist/PurchaseOrderPrintPreview-C92PdleC.js +152 -0
  13. package/dist/{ReceiveRequestView-BKbeFDxm.js → ReceiveRequestView-BaxEQWOD.js} +8 -8
  14. package/dist/{RecipeView-Drp4l4gL.js → RecipeView-CDgZpLPk.js} +181 -181
  15. package/dist/Standalone.vue.d.ts +1 -1
  16. package/dist/{StockView-Cj6fErwD.js → StockView-B77CrARl.js} +498 -502
  17. package/dist/SupplierView-DQ3hB7q2.js +819 -0
  18. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-lsyakQIl.js +738 -0
  19. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DN7NCT72.js +1435 -0
  20. package/dist/TransferTemplateView-Dt04xMCK.js +1290 -0
  21. package/dist/{UnitView-C_tAxIpq.js → UnitView-DlmlVNOx.js} +242 -242
  22. package/dist/{WarehouseView-BAqVtbD6.js → WarehouseView-DXWls5vv.js} +360 -362
  23. package/dist/api/bill.d.ts +238 -84
  24. package/dist/api/inventory.d.ts +3 -3
  25. package/dist/api/purchase-order-template.d.ts +4 -0
  26. package/dist/api/stock.d.ts +0 -8
  27. package/dist/api/supplier.d.ts +2 -0
  28. package/dist/app-P7rGzGsF.js +68600 -0
  29. package/dist/app.d.ts +200 -7
  30. package/dist/app.js +3 -3
  31. package/dist/{array-AvWd53LI.js → array-ClJzD_Lt.js} +3 -3
  32. package/dist/components/ChangeLocationComponent.vue.d.ts +14 -1
  33. package/dist/components/DeferableLoading.vue.d.ts +1 -1
  34. package/dist/components/DeleteDialog.vue.d.ts +1 -1
  35. package/dist/components/FmCoordinateInput.vue.d.ts +3 -3
  36. package/dist/components/FmDroppableField.vue.d.ts +6 -6
  37. package/dist/components/FmFilterableSelect.vue.d.ts +3 -3
  38. package/dist/components/FmInventoryTableToolbar.vue.d.ts +19 -10
  39. package/dist/components/FmMinMaxInput.vue.d.ts +20 -0
  40. package/dist/components/FmMinMaxInputProps.d.ts +16 -0
  41. package/dist/components/FmMinMaxInputRules.d.ts +4 -0
  42. package/dist/components/FmMultiselectDialog.vue.d.ts +5 -5
  43. package/dist/components/FmMultiselectDialogProps.d.ts +14 -1
  44. package/dist/components/FmUnitInputRules.d.ts +1 -0
  45. package/dist/components/MultiSelectDialog.vue.d.ts +1 -1
  46. package/dist/components/NavigationTab.vue.d.ts +1 -1
  47. package/dist/components/NumberPrecisionInput.vue.d.ts +3 -3
  48. package/dist/components/PremiumBadge.vue.d.ts +3 -3
  49. package/dist/components/PreviewBadge.vue.d.ts +3 -3
  50. package/dist/components/StockForecast.vue.d.ts +1 -1
  51. package/dist/components/TableActionableRow.vue.d.ts +4 -4
  52. package/dist/components/UnitDisplayControl.vue.d.ts +1 -1
  53. package/dist/components/icons/IconCommunity.vue.d.ts +1 -1
  54. package/dist/components/icons/IconDocumentation.vue.d.ts +1 -1
  55. package/dist/components/icons/IconEcosystem.vue.d.ts +1 -1
  56. package/dist/components/icons/IconSupport.vue.d.ts +1 -1
  57. package/dist/components/icons/IconTooling.vue.d.ts +1 -1
  58. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +6 -6
  59. package/dist/components/map/CoordinateDialog.vue.d.ts +4 -4
  60. package/dist/components/map/GoogleMap.vue.d.ts +6 -6
  61. package/dist/components/nested-multiselect/FmNestedMultiselectDialog.vue.d.ts +3 -3
  62. package/dist/components/row-action.enum.d.ts +3 -1
  63. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +3 -3
  64. package/dist/components/shell/inventory/binding-ui.vue.d.ts +6 -6
  65. package/dist/components/ui-library/FmDateRangePickerChip.vue.d.ts +5 -5
  66. package/dist/composable/useIframe.d.ts +1 -1
  67. package/dist/composable/useSearch.d.ts +1 -1
  68. package/dist/{decimal-D3KXLC4T.js → decimal-4ONRlhOO.js} +1 -1
  69. package/dist/format-unit-display-DJpElzu_.js +707 -0
  70. package/dist/helper/number.d.ts +2 -0
  71. package/dist/{id-to-date-Cj02m808.js → id-to-date-D8Ey2CVj.js} +1 -1
  72. package/dist/is-linked-ingredient-error-fJ2TJb3z.js +37 -0
  73. package/dist/layout/InventoryLayout.vue.d.ts +1 -1
  74. package/dist/layout/SingleColumnLayout.vue.d.ts +6 -5
  75. package/dist/layout/components/NavigationButton.vue.d.ts +4 -4
  76. package/dist/layout-D-zXtsSp.js +151 -0
  77. package/dist/row-action.enum-PMKMRrZR.js +50 -0
  78. package/dist/stores/feature.d.ts +5 -1
  79. package/dist/stores/inventory.d.ts +4 -4
  80. package/dist/stores/location.d.ts +185 -152
  81. package/dist/stores/supplier.d.ts +666 -12
  82. package/dist/stores/warehouse.d.ts +17 -5
  83. package/dist/supplier-DsUIjl-L.js +69 -0
  84. package/dist/tsconfig.app.tsbuildinfo +1 -1
  85. package/dist/views/InventoryView.vue.d.ts +1 -1
  86. package/dist/views/SelectBussinessDialog.vue.d.ts +1 -1
  87. package/dist/views/approval/ApprovalView.vue.d.ts +1 -1
  88. package/dist/views/dev/ComponentPreview.vue.d.ts +1 -1
  89. package/dist/views/dev/components/CoordinateTest.vue.d.ts +1 -1
  90. package/dist/views/dev/components/DateRange.vue.d.ts +1 -1
  91. package/dist/views/dev/components/FmDecimalInputTest.vue.d.ts +1 -1
  92. package/dist/views/dev/components/FmMultiselectDialogGrouped.vue.d.ts +2 -0
  93. package/dist/views/dev/components/FmSelectTest.vue.d.ts +1 -1
  94. package/dist/views/dev/components/InventoryIframe.vue.d.ts +1 -1
  95. package/dist/views/dev/components/LayoutDev.vue.d.ts +1 -1
  96. package/dist/views/dev/components/MfCommontTest.vue.d.ts +1 -1
  97. package/dist/views/dev/components/NestedSelection.vue.d.ts +1 -1
  98. package/dist/views/dev/components/NumberStepper.vue.d.ts +1 -1
  99. package/dist/views/dev/components/TabStorageTest.vue.d.ts +1 -1
  100. package/dist/views/dev/components/UnitInput.vue.d.ts +1 -1
  101. package/dist/views/dev/helpers/pinia-test.d.ts +1 -1
  102. package/dist/views/home/HomeView.vue.d.ts +1 -1
  103. package/dist/views/iframe/inventory-bindings/bindings-dialog/BindingsDialog.vue.d.ts +1 -1
  104. package/dist/views/iframe/inventory-bindings/bindings-picker/BindingsPicker.vue.d.ts +1 -1
  105. package/dist/views/iframe/inventory-bindings/bindings-table/BindingsTable.vue.d.ts +1 -1
  106. package/dist/views/ingredients/IngredientsView.vue.d.ts +1 -1
  107. package/dist/views/ingredients/components/cannot-delete/CannotDelete.vue.d.ts +4 -4
  108. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +3 -3
  109. package/dist/views/ingredients/components/import-ingredients/ImportIngredientItem.vue.d.ts +1 -1
  110. package/dist/views/ingredients/components/import-ingredients/ImportIngredients.vue.d.ts +1 -1
  111. package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItem.vue.d.ts +1 -1
  112. package/dist/views/ingredients/components/ingredient-dialog/IngredientDialog.vue.d.ts +5 -5
  113. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +6 -6
  114. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
  115. package/dist/views/ingredients/components/inventory-binding/InventoryBindingSummary.vue.d.ts +3 -3
  116. package/dist/views/ingredients/composables/use-ingredient-form.d.ts +8 -8
  117. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  118. package/dist/views/integration/IntegrationView.vue.d.ts +1 -1
  119. package/dist/views/integration/components/ApplyAddon.vue.d.ts +5 -5
  120. package/dist/views/integration/components/ApplyProduct.vue.d.ts +5 -5
  121. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +5 -5
  122. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +5 -5
  123. package/dist/views/receive-request/ReceiveRequestView.vue.d.ts +1 -1
  124. package/dist/views/receive-request/components/select-template-dialog/SelectTemplateDialog.vue.d.ts +8 -0
  125. package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistory.vue.d.ts +1 -1
  126. package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +3 -3
  127. package/dist/views/receive-request/components/transfer-dialog/TransferDialog.vue.d.ts +4 -4
  128. package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +1 -1
  129. package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +4 -4
  130. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +34 -32
  131. package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +8 -2
  132. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  133. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +6 -6
  134. package/dist/views/receive-request/components/transfer-form/components/TransferItem.vue.d.ts +3 -3
  135. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +3 -3
  136. package/dist/views/receive-request/components/transfer-form/composables/use-backdate-po.d.ts +4 -4
  137. package/dist/views/receive-request/components/transfer-form/composables/use-compare-price.d.ts +3 -3
  138. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -9
  139. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1016 -70
  140. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +36 -36
  141. package/dist/views/receive-request/print-preview/PurchaseOrderPrintPreview.vue.d.ts +1 -1
  142. package/dist/views/recipe/RecipeView.vue.d.ts +1 -1
  143. package/dist/views/recipe/components/recipe-dialog/RecipeDialog.vue.d.ts +5 -5
  144. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +4 -4
  145. package/dist/views/recipe/composables/use-recipe-form.d.ts +8 -8
  146. package/dist/views/stock/StockView.vue.d.ts +1 -1
  147. package/dist/views/stock/components/StockHeaderPreview.vue.d.ts +1 -1
  148. package/dist/views/stock/components/StockHistory.vue.d.ts +3 -3
  149. package/dist/views/stock/components/StockRecordCard.vue.d.ts +123 -46
  150. package/dist/views/stock/components/dialog/AdjustSkuDialog.vue.d.ts +4 -4
  151. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +5 -5
  152. package/dist/views/stock/components/dialog/ConvertSkuDialog.vue.d.ts +4 -4
  153. package/dist/views/stock/composables/use-stock-action.d.ts +11 -11
  154. package/dist/views/stock/helper/stock-row-action.d.ts +4 -2
  155. package/dist/views/supplier/SupplierView.vue.d.ts +1 -1
  156. package/dist/views/supplier/components/SupplierDialog.vue.d.ts +4 -4
  157. package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
  158. package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -3
  159. package/dist/views/supplier/composables/use-supplier-table.d.ts +3 -3
  160. package/dist/views/transfer-template/TransferTemplateView.vue.d.ts +1 -1
  161. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +20 -0
  162. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +9 -0
  163. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +4 -4
  164. package/dist/views/transfer-template/components/transfer-template-form/TransferTemplateForm.vue.d.ts +2 -2
  165. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItem.vue.d.ts +3 -3
  166. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +7 -7
  167. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +15 -9
  168. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1428 -43
  169. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +893 -13
  170. package/dist/views/unit/UnitView.vue.d.ts +1 -1
  171. package/dist/views/unit/components/unit-dialog/UnitDialog.vue.d.ts +5 -5
  172. package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +4 -4
  173. package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +3 -3
  174. package/dist/views/unit/components/unit-used-by/UnitUsedBy.vue.d.ts +1 -1
  175. package/dist/views/unit/composables/use-unit-form.d.ts +8 -8
  176. package/dist/views/warehouse/WarehouseView.vue.d.ts +1 -1
  177. package/dist/views/warehouse/components/WarehouseDialog.vue.d.ts +4 -4
  178. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +38 -14
  179. package/dist/{xlsx-B-2KyDJq.js → xlsx-zfERRe6K.js} +3383 -3383
  180. package/dist/{xlsx.util-D6EzRE71.js → xlsx.util-DnbiJzsk.js} +4 -4
  181. package/package.json +6 -5
  182. package/dist/BindingsTable-xNXNsBAd.js +0 -145
  183. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DFPkUHl-.js +0 -272
  184. package/dist/IngredientsView-DD7ns3mP.js +0 -1751
  185. package/dist/PurchaseOrderPrintPreview-L_iaaURb.js +0 -152
  186. package/dist/SupplierView-EFsHWet-.js +0 -801
  187. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-kM5fyqq6.js +0 -745
  188. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-CyFMCmXw.js +0 -1605
  189. package/dist/TransferTemplateView-Cymhrayh.js +0 -933
  190. package/dist/app-CeUU5Gd8.js +0 -66938
  191. package/dist/is-linked-ingredient-error-C6AghEwR.js +0 -37
  192. package/dist/layout-2zzAZIVO.js +0 -147
  193. package/dist/purchase-order-transaction-type-Dz0YF5qh.js +0 -294
  194. package/dist/row-action.enum-7jVyol1k.js +0 -36
  195. package/dist/supplier-mDVKd7Ge.js +0 -54
  196. package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +0 -9
@@ -1,15 +1,15 @@
1
1
  import type { TransferDialogProps } from './TransferDialogProps';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<TransferDialogProps>, {
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TransferDialogProps>>, {
3
3
  validateInputs: () => void;
4
4
  resetInputsValidation: () => void;
5
5
  resetInputs: () => void;
6
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  "update:show": (show: boolean) => void;
8
8
  submitted: () => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TransferDialogProps>>> & {
9
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TransferDialogProps>>> & Readonly<{
10
10
  "onUpdate:show"?: ((show: boolean) => any) | undefined;
11
11
  onSubmitted?: (() => any) | undefined;
12
- }, {}, {}>;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
13
  export default _default;
14
14
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
15
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -2,7 +2,7 @@ import type { FormMode } from '@/components/form/form-mode.enum';
2
2
  export interface TransferDialogProps {
3
3
  mode?: FormMode;
4
4
  modelValue?: FdoPurchaseOrder;
5
- template?: FdoPurchaseOrderTemplate;
5
+ templateId?: string;
6
6
  show?: boolean;
7
7
  lastClosingDate?: Date | null;
8
8
  }
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  size: {
3
3
  type: NumberConstructor;
4
4
  default: number;
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
11
  size: {
12
12
  type: NumberConstructor;
13
13
  default: number;
@@ -16,8 +16,8 @@ declare const _default: import("vue").DefineComponent<{
16
16
  type: StringConstructor;
17
17
  default: string;
18
18
  };
19
- }>>, {
19
+ }>> & Readonly<{}>, {
20
20
  size: number;
21
21
  color: string;
22
- }, {}>;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
23
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  modelValue: import("vue").PropType<Omit<{
3
3
  _rev?: string | null | undefined;
4
4
  template?: string | null | undefined;
@@ -63,11 +63,11 @@ declare const _default: import("vue").DefineComponent<{
63
63
  precision: number;
64
64
  };
65
65
  } | null | undefined;
66
+ operationalGroup?: string | null | undefined;
66
67
  thresholds?: {
67
68
  low: number;
68
69
  mid: number;
69
70
  } | null | undefined;
70
- operationalGroup?: string | null | undefined;
71
71
  unit: {
72
72
  _id: string;
73
73
  name: string;
@@ -97,11 +97,11 @@ declare const _default: import("vue").DefineComponent<{
97
97
  remark: string | null;
98
98
  ref: string | null;
99
99
  supplier: {
100
- _rev?: string | null | undefined;
100
+ phoneNumber?: string | null | undefined;
101
101
  email?: string | null | undefined;
102
+ _rev?: string | null | undefined;
102
103
  internal?: "restaurant" | "warehouse" | null | undefined;
103
104
  contactName?: string | null | undefined;
104
- phoneNumber?: string | null | undefined;
105
105
  supplyItems?: {
106
106
  defaultCost: {
107
107
  measurement?: {
@@ -123,7 +123,6 @@ declare const _default: import("vue").DefineComponent<{
123
123
  }[] | null | undefined;
124
124
  _id: string;
125
125
  name: string;
126
- registrationNumber: string;
127
126
  address: {
128
127
  line2?: string | null | undefined;
129
128
  line1: string;
@@ -132,14 +131,15 @@ declare const _default: import("vue").DefineComponent<{
132
131
  postcode: string;
133
132
  country: string;
134
133
  };
134
+ registrationNumber: string;
135
135
  };
136
136
  }, "supplier"> & {
137
137
  supplier: {
138
- _rev?: string | null | undefined;
138
+ phoneNumber?: string | null | undefined;
139
139
  email?: string | null | undefined;
140
+ _rev?: string | null | undefined;
140
141
  internal?: "restaurant" | "warehouse" | null | undefined;
141
142
  contactName?: string | null | undefined;
142
- phoneNumber?: string | null | undefined;
143
143
  supplyItems?: {
144
144
  defaultCost: {
145
145
  measurement?: {
@@ -161,7 +161,6 @@ declare const _default: import("vue").DefineComponent<{
161
161
  }[] | null | undefined;
162
162
  _id: string;
163
163
  name: string;
164
- registrationNumber: string;
165
164
  address: {
166
165
  line2?: string | null | undefined;
167
166
  line1: string;
@@ -170,6 +169,7 @@ declare const _default: import("vue").DefineComponent<{
170
169
  postcode: string;
171
170
  country: string;
172
171
  };
172
+ registrationNumber: string;
173
173
  } | null;
174
174
  }>;
175
175
  skus: {
@@ -212,11 +212,11 @@ declare const _default: import("vue").DefineComponent<{
212
212
  precision: number;
213
213
  };
214
214
  } | null | undefined;
215
+ operationalGroup?: string | null | undefined;
215
216
  thresholds?: {
216
217
  low: number;
217
218
  mid: number;
218
219
  } | null | undefined;
219
- operationalGroup?: string | null | undefined;
220
220
  unit: {
221
221
  _id: string;
222
222
  name: string;
@@ -243,11 +243,11 @@ declare const _default: import("vue").DefineComponent<{
243
243
  };
244
244
  suppliers: {
245
245
  type: import("vue").PropType<{
246
- _rev?: string | null | undefined;
246
+ phoneNumber?: string | null | undefined;
247
247
  email?: string | null | undefined;
248
+ _rev?: string | null | undefined;
248
249
  internal?: "restaurant" | "warehouse" | null | undefined;
249
250
  contactName?: string | null | undefined;
250
- phoneNumber?: string | null | undefined;
251
251
  supplyItems?: {
252
252
  defaultCost: {
253
253
  measurement?: {
@@ -269,7 +269,6 @@ declare const _default: import("vue").DefineComponent<{
269
269
  }[] | null | undefined;
270
270
  _id: string;
271
271
  name: string;
272
- registrationNumber: string;
273
272
  address: {
274
273
  line2?: string | null | undefined;
275
274
  line1: string;
@@ -278,18 +277,20 @@ declare const _default: import("vue").DefineComponent<{
278
277
  postcode: string;
279
278
  country: string;
280
279
  };
280
+ registrationNumber: string;
281
281
  }[]>;
282
282
  default: () => never[];
283
283
  };
284
284
  lastClosingDate: {
285
285
  type: import("vue").PropType<Date | null>;
286
286
  };
287
- }, {
287
+ }>, {
288
288
  validateInputs: () => void;
289
289
  resetInputsValidation: () => void;
290
290
  resetInputs: () => void;
291
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
291
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
292
292
  "validation-success": () => void;
293
+ "form:ready": () => void;
293
294
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
294
295
  modelValue: import("vue").PropType<Omit<{
295
296
  _rev?: string | null | undefined;
@@ -355,11 +356,11 @@ declare const _default: import("vue").DefineComponent<{
355
356
  precision: number;
356
357
  };
357
358
  } | null | undefined;
359
+ operationalGroup?: string | null | undefined;
358
360
  thresholds?: {
359
361
  low: number;
360
362
  mid: number;
361
363
  } | null | undefined;
362
- operationalGroup?: string | null | undefined;
363
364
  unit: {
364
365
  _id: string;
365
366
  name: string;
@@ -389,11 +390,11 @@ declare const _default: import("vue").DefineComponent<{
389
390
  remark: string | null;
390
391
  ref: string | null;
391
392
  supplier: {
392
- _rev?: string | null | undefined;
393
+ phoneNumber?: string | null | undefined;
393
394
  email?: string | null | undefined;
395
+ _rev?: string | null | undefined;
394
396
  internal?: "restaurant" | "warehouse" | null | undefined;
395
397
  contactName?: string | null | undefined;
396
- phoneNumber?: string | null | undefined;
397
398
  supplyItems?: {
398
399
  defaultCost: {
399
400
  measurement?: {
@@ -415,7 +416,6 @@ declare const _default: import("vue").DefineComponent<{
415
416
  }[] | null | undefined;
416
417
  _id: string;
417
418
  name: string;
418
- registrationNumber: string;
419
419
  address: {
420
420
  line2?: string | null | undefined;
421
421
  line1: string;
@@ -424,14 +424,15 @@ declare const _default: import("vue").DefineComponent<{
424
424
  postcode: string;
425
425
  country: string;
426
426
  };
427
+ registrationNumber: string;
427
428
  };
428
429
  }, "supplier"> & {
429
430
  supplier: {
430
- _rev?: string | null | undefined;
431
+ phoneNumber?: string | null | undefined;
431
432
  email?: string | null | undefined;
433
+ _rev?: string | null | undefined;
432
434
  internal?: "restaurant" | "warehouse" | null | undefined;
433
435
  contactName?: string | null | undefined;
434
- phoneNumber?: string | null | undefined;
435
436
  supplyItems?: {
436
437
  defaultCost: {
437
438
  measurement?: {
@@ -453,7 +454,6 @@ declare const _default: import("vue").DefineComponent<{
453
454
  }[] | null | undefined;
454
455
  _id: string;
455
456
  name: string;
456
- registrationNumber: string;
457
457
  address: {
458
458
  line2?: string | null | undefined;
459
459
  line1: string;
@@ -462,6 +462,7 @@ declare const _default: import("vue").DefineComponent<{
462
462
  postcode: string;
463
463
  country: string;
464
464
  };
465
+ registrationNumber: string;
465
466
  } | null;
466
467
  }>;
467
468
  skus: {
@@ -504,11 +505,11 @@ declare const _default: import("vue").DefineComponent<{
504
505
  precision: number;
505
506
  };
506
507
  } | null | undefined;
508
+ operationalGroup?: string | null | undefined;
507
509
  thresholds?: {
508
510
  low: number;
509
511
  mid: number;
510
512
  } | null | undefined;
511
- operationalGroup?: string | null | undefined;
512
513
  unit: {
513
514
  _id: string;
514
515
  name: string;
@@ -535,11 +536,11 @@ declare const _default: import("vue").DefineComponent<{
535
536
  };
536
537
  suppliers: {
537
538
  type: import("vue").PropType<{
538
- _rev?: string | null | undefined;
539
+ phoneNumber?: string | null | undefined;
539
540
  email?: string | null | undefined;
541
+ _rev?: string | null | undefined;
540
542
  internal?: "restaurant" | "warehouse" | null | undefined;
541
543
  contactName?: string | null | undefined;
542
- phoneNumber?: string | null | undefined;
543
544
  supplyItems?: {
544
545
  defaultCost: {
545
546
  measurement?: {
@@ -561,7 +562,6 @@ declare const _default: import("vue").DefineComponent<{
561
562
  }[] | null | undefined;
562
563
  _id: string;
563
564
  name: string;
564
- registrationNumber: string;
565
565
  address: {
566
566
  line2?: string | null | undefined;
567
567
  line1: string;
@@ -570,15 +570,17 @@ declare const _default: import("vue").DefineComponent<{
570
570
  postcode: string;
571
571
  country: string;
572
572
  };
573
+ registrationNumber: string;
573
574
  }[]>;
574
575
  default: () => never[];
575
576
  };
576
577
  lastClosingDate: {
577
578
  type: import("vue").PropType<Date | null>;
578
579
  };
579
- }>> & {
580
+ }>> & Readonly<{
580
581
  "onValidation-success"?: (() => any) | undefined;
581
- }, {
582
+ "onForm:ready"?: (() => any) | undefined;
583
+ }>, {
582
584
  skus: {
583
585
  trackingMeasurement?: string | null | undefined;
584
586
  convert?: {
@@ -618,11 +620,11 @@ declare const _default: import("vue").DefineComponent<{
618
620
  precision: number;
619
621
  };
620
622
  } | null | undefined;
623
+ operationalGroup?: string | null | undefined;
621
624
  thresholds?: {
622
625
  low: number;
623
626
  mid: number;
624
627
  } | null | undefined;
625
- operationalGroup?: string | null | undefined;
626
628
  unit: {
627
629
  _id: string;
628
630
  name: string;
@@ -643,11 +645,11 @@ declare const _default: import("vue").DefineComponent<{
643
645
  name: string;
644
646
  }[];
645
647
  suppliers: {
646
- _rev?: string | null | undefined;
648
+ phoneNumber?: string | null | undefined;
647
649
  email?: string | null | undefined;
650
+ _rev?: string | null | undefined;
648
651
  internal?: "restaurant" | "warehouse" | null | undefined;
649
652
  contactName?: string | null | undefined;
650
- phoneNumber?: string | null | undefined;
651
653
  supplyItems?: {
652
654
  defaultCost: {
653
655
  measurement?: {
@@ -669,7 +671,6 @@ declare const _default: import("vue").DefineComponent<{
669
671
  }[] | null | undefined;
670
672
  _id: string;
671
673
  name: string;
672
- registrationNumber: string;
673
674
  address: {
674
675
  line2?: string | null | undefined;
675
676
  line1: string;
@@ -678,6 +679,7 @@ declare const _default: import("vue").DefineComponent<{
678
679
  postcode: string;
679
680
  country: string;
680
681
  };
682
+ registrationNumber: string;
681
683
  }[];
682
- }, {}>;
684
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
683
685
  export default _default;
@@ -1,9 +1,15 @@
1
1
  import type { TransferFormProps } from './TransferFormProps';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<TransferFormProps>, {
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TransferFormProps>>, {
3
3
  validateInputs: () => void;
4
4
  resetInputsValidation: () => void;
5
5
  resetInputs: () => void;
6
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TransferFormProps>>>, {}, {}>;
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "validation-success": () => void;
8
+ "form:ready": () => void;
9
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TransferFormProps>>> & Readonly<{
10
+ "onValidation-success"?: (() => any) | undefined;
11
+ "onForm:ready"?: (() => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
13
  export default _default;
8
14
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
15
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -7,4 +7,5 @@ export interface TransferFormProps {
7
7
  }
8
8
  export interface TransferFormEvents {
9
9
  (event: 'validation-success'): void;
10
+ (event: 'form:ready'): void;
10
11
  }
@@ -1,6 +1,6 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
2
  disabled?: boolean | undefined;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
4
  "update:poItems": (poItems: {
5
5
  measurement?: {
6
6
  id: string;
@@ -55,11 +55,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
55
55
  precision: number;
56
56
  };
57
57
  } | null | undefined;
58
+ operationalGroup?: string | null | undefined;
58
59
  thresholds?: {
59
60
  low: number;
60
61
  mid: number;
61
62
  } | null | undefined;
62
- operationalGroup?: string | null | undefined;
63
63
  unit: {
64
64
  _id: string;
65
65
  name: string;
@@ -88,7 +88,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
88
88
  }[]) => void;
89
89
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
90
90
  disabled?: boolean | undefined;
91
- }>>> & {
91
+ }>>> & Readonly<{
92
92
  "onUpdate:poItems"?: ((poItems: {
93
93
  measurement?: {
94
94
  id: string;
@@ -143,11 +143,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
143
143
  precision: number;
144
144
  };
145
145
  } | null | undefined;
146
+ operationalGroup?: string | null | undefined;
146
147
  thresholds?: {
147
148
  low: number;
148
149
  mid: number;
149
150
  } | null | undefined;
150
- operationalGroup?: string | null | undefined;
151
151
  unit: {
152
152
  _id: string;
153
153
  name: string;
@@ -174,7 +174,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
174
174
  precision: number;
175
175
  };
176
176
  }[]) => any) | undefined;
177
- }, {}, {}>;
177
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
178
178
  export default _default;
179
179
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
180
180
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,16 +1,16 @@
1
1
  import { type Cell, type Row } from '@tanstack/vue-table';
2
2
  import type { ComparePriceSkuBySupplier } from '../../supplier-price-history/SupplierPriceHistoryProps';
3
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  cellByColId: Record<string, Cell<any, any>>;
5
5
  comparePriceBySku: Record<string, ComparePriceSkuBySupplier>;
6
6
  showComparePrice: boolean;
7
7
  row: Row<FdoPurchaseOrderItem>;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
9
  cellByColId: Record<string, Cell<any, any>>;
10
10
  comparePriceBySku: Record<string, ComparePriceSkuBySupplier>;
11
11
  showComparePrice: boolean;
12
12
  row: Row<FdoPurchaseOrderItem>;
13
- }>>>, {}, {}>;
13
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
14
  export default _default;
15
15
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
16
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,14 +1,14 @@
1
1
  import { type Row } from '@tanstack/vue-table';
2
2
  import type { ComparePriceSkuBySupplier } from '../../supplier-price-history/SupplierPriceHistoryProps';
3
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  row: Row<FdoPurchaseOrderItem>;
5
5
  comparePriceBySku: Record<string, ComparePriceSkuBySupplier>;
6
6
  showComparePrice: boolean;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
8
  row: Row<FdoPurchaseOrderItem>;
9
9
  comparePriceBySku: Record<string, ComparePriceSkuBySupplier>;
10
10
  showComparePrice: boolean;
11
- }>>>, {}, {}>;
11
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
12
  export default _default;
13
13
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
14
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -2,8 +2,8 @@ export declare function useBackdatePo(controller: {
2
2
  getEffectiveAt(): FdoPurchaseOrder['effectiveAt'];
3
3
  setEffectiveAt(effectiveAt: FdoPurchaseOrder['effectiveAt']): void;
4
4
  }): {
5
- backdatePo: import("vue").WritableComputedRef<Date | null>;
6
- backdateSwitch: import("vue").WritableComputedRef<boolean>;
7
- backdateModel: import("vue").WritableComputedRef<"" | `${string}-${string}-${string}`>;
8
- backdateTimeModel: import("vue").WritableComputedRef<"" | `${string}:${string}`>;
5
+ backdatePo: import("vue").WritableComputedRef<Date | null, Date | null>;
6
+ backdateSwitch: import("vue").WritableComputedRef<boolean, boolean>;
7
+ backdateModel: import("vue").WritableComputedRef<"" | `${string}-${string}-${string}`, "" | `${string}-${string}-${string}`>;
8
+ backdateTimeModel: import("vue").WritableComputedRef<"" | `${string}:${string}`, "" | `${string}:${string}`>;
9
9
  };
@@ -1,6 +1,6 @@
1
1
  import type { ComparePriceBySku } from '../../supplier-price-history/SupplierPriceHistoryProps';
2
2
  export declare function useComparePrice(): {
3
- comparePricesToggle: import("vue").Ref<boolean>;
4
- comparePriceFetching: import("vue").Ref<boolean>;
5
- comparePriceBySku: import("vue").Ref<ComparePriceBySku>;
3
+ comparePricesToggle: import("vue").Ref<boolean, boolean>;
4
+ comparePriceFetching: import("vue").Ref<boolean, boolean>;
5
+ comparePriceBySku: import("vue").Ref<ComparePriceBySku, ComparePriceBySku>;
6
6
  };
@@ -12,6 +12,7 @@ export declare function useTransferItems(controller: {
12
12
  get supplier(): FdoPurchaseOrderSupplier;
13
13
  get transferType(): PurchaseOrderTransactionType;
14
14
  get template(): FdoPurchaseOrderTemplate | undefined | null;
15
+ get disabled(): boolean;
15
16
  updateItem: (item: FdoPurchaseOrderItem) => void;
16
17
  deleteItem: (item: FdoPurchaseOrderItem) => void;
17
18
  }): {
@@ -30,14 +31,6 @@ export declare function useTransferItems(controller: {
30
31
  amount: number;
31
32
  precision: number;
32
33
  } | null | undefined;
33
- quantityStep?: {
34
- amount: number;
35
- precision: number;
36
- } | null | undefined;
37
- minimumQuantity?: {
38
- amount: number;
39
- precision: number;
40
- } | null | undefined;
41
34
  sku: {
42
35
  trackingMeasurement?: string | null | undefined;
43
36
  convert?: {
@@ -77,11 +70,11 @@ export declare function useTransferItems(controller: {
77
70
  precision: number;
78
71
  };
79
72
  } | null | undefined;
73
+ operationalGroup?: string | null | undefined;
80
74
  thresholds?: {
81
75
  low: number;
82
76
  mid: number;
83
77
  } | null | undefined;
84
- operationalGroup?: string | null | undefined;
85
78
  unit: {
86
79
  _id: string;
87
80
  name: string;