@feedmepos/mf-inventory-portal 0.0.22-dev.5 → 0.0.22-dev.50

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 (144) hide show
  1. package/dist/ApprovalView-CyIOcyG5.js +140 -0
  2. package/dist/{BindingsDialog-DQJhC3Mo.js → BindingsDialog-BXePN5iL.js} +10 -10
  3. package/dist/{BindingsPicker-YfbPb_dG.js → BindingsPicker-Bd_qb0aO.js} +15 -15
  4. package/dist/{BindingsTable-D3MVcHXZ.js → BindingsTable-BV-nP9HU.js} +4 -4
  5. package/dist/ClosingTemplateView-CSvWLccZ.js +1829 -0
  6. package/dist/FmDroppableField-DwZ6ujPh.js +154 -0
  7. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DpCoW_-F.js +266 -0
  8. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BpzreBHD.js +435 -0
  9. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-C8k7pSPT.js +51 -0
  10. package/dist/IngredientGroupView-C0hPeD41.js +608 -0
  11. package/dist/IngredientsView-CpwVIGXd.js +1608 -0
  12. package/dist/IntegrationView-Bt8pGAHS.js +1225 -0
  13. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-wsBLYBpB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-yA-qJUUz.js} +1 -1
  14. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BqcqoKyN.js +116 -0
  15. package/dist/{PurchaseOrderPrintPreview-BcAmgmD8.js → PurchaseOrderPrintPreview-D3ugzCW_.js} +7 -7
  16. package/dist/ReceiveRequestView-D14YTEEe.js +4073 -0
  17. package/dist/RecipeView-D0WsMfKm.js +594 -0
  18. package/dist/Standalone.vue.d.ts +2 -0
  19. package/dist/StockView-sxI0L6MP.js +7770 -0
  20. package/dist/SupplierView-clAkARuW.js +1468 -0
  21. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C9NU1m6S.js +1150 -0
  22. package/dist/TransferTemplateView-DpI6kVqX.js +1258 -0
  23. package/dist/{UnitView-B95q8Xrj.js → UnitView-CneJsDum.js} +18 -18
  24. package/dist/{WarehouseView-CHGXvyeS.js → WarehouseView-DYbFWTlh.js} +176 -177
  25. package/dist/api/bill.d.ts +84 -238
  26. package/dist/api/closing-template.d.ts +6 -4
  27. package/dist/api/inventory.d.ts +282 -91
  28. package/dist/api/netsuite.d.ts +71 -0
  29. package/dist/api/purchase-order-template.d.ts +4 -6
  30. package/dist/api/supplier.d.ts +1 -0
  31. package/dist/{app-CfXF4jdF.js → app-B4pi48sM.js} +26414 -24985
  32. package/dist/app.d.ts +88 -3
  33. package/dist/app.js +3 -3
  34. package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
  35. package/dist/components/FmMinMaxInputRules.d.ts +2 -0
  36. package/dist/components/FmMultiselectDialog.vue.d.ts +3 -9
  37. package/dist/components/FmMultiselectDialogProps.d.ts +0 -2
  38. package/dist/components/FmUnitInputRules.d.ts +2 -0
  39. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +5 -5
  40. package/dist/components/map/GoogleMap.vue.d.ts +4 -4
  41. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
  42. package/dist/components/shell/inventory/binding-ui.vue.d.ts +2 -2
  43. package/dist/{decimal-BZ7tX47r.js → decimal-C8O2p3Sg.js} +1 -1
  44. package/dist/defineDeepModel-BXP1vLGf.js +13 -0
  45. package/dist/extensions/array.d.ts +1 -0
  46. package/dist/format-time-from-id-DgW7OJL_.js +15 -0
  47. package/dist/format-unit-display-BP4O0Pym.js +1195 -0
  48. package/dist/helper/rules.d.ts +7 -0
  49. package/dist/helper/rules.spec.d.ts +1 -0
  50. package/dist/helper/xlsx.util.d.ts +7 -0
  51. package/dist/router/name.d.ts +1 -0
  52. package/dist/stores/api.d.ts +1 -0
  53. package/dist/stores/feature.d.ts +0 -1
  54. package/dist/stores/helper/core-store-proxy.d.ts +3 -0
  55. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  56. package/dist/stores/integration/foodmarkethub.d.ts +391 -0
  57. package/dist/stores/integration/index.d.ts +7 -0
  58. package/dist/stores/integration/netsuite.d.ts +102 -0
  59. package/dist/stores/inventory.d.ts +294 -9
  60. package/dist/stores/location.d.ts +508 -503
  61. package/dist/stores/supplier.d.ts +124 -4
  62. package/dist/style.css +1 -1
  63. package/dist/supplier-D-8XhuF_.js +77 -0
  64. package/dist/tsconfig.app.tsbuildinfo +1 -1
  65. package/dist/use-template-enabled-locations-2-C2E4j3k-.js +85 -0
  66. package/dist/views/closing-template/closing-template-import/ClosingTemplateImport.vue.d.ts +2 -0
  67. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItem.vue.d.ts +12 -0
  68. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItemProps.d.ts +7 -0
  69. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  70. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +877 -1038
  71. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +882 -1049
  72. package/dist/views/closing-template/helpers/import-export.helper.d.ts +58 -0
  73. package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +3 -0
  74. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +31 -0
  75. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +12 -0
  76. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +20 -0
  77. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +12 -0
  78. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +24 -0
  79. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +215 -0
  80. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
  81. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  82. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
  83. package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
  84. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  85. package/dist/views/integration/FoodMarketHub.vue.d.ts +2 -0
  86. package/dist/views/integration/NetSuite.vue.d.ts +2 -0
  87. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +7 -7
  88. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +7 -7
  89. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  90. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +49 -0
  91. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1961 -87
  92. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  93. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
  94. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
  95. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2377 -292
  96. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2329 -244
  97. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
  98. package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
  99. package/dist/views/stock/components/StockRecordCard.vue.d.ts +42 -119
  100. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +32 -2
  101. package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
  102. package/dist/views/supplier/components/supplier-import/SupplierImport.vue.d.ts +2 -0
  103. package/dist/views/supplier/components/supplier-import/SupplierImportItem.vue.d.ts +12 -0
  104. package/dist/views/supplier/components/supplier-import/SupplierImportItemProps.d.ts +6 -0
  105. package/dist/views/supplier/composables/use-supplier-actions.d.ts +10 -0
  106. package/dist/views/supplier/helpers/import-export.helper.d.ts +50 -0
  107. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
  108. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
  109. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
  110. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -85
  111. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +39 -2
  112. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -1
  113. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
  114. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
  115. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
  116. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1277 -1478
  117. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +1697 -906
  118. package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
  119. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -247
  120. package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
  121. package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
  122. package/dist/{xlsx-BtP1Qjj6.js → xlsx-Dsy-fxZw.js} +1525 -1525
  123. package/dist/xlsx.util-CxGmvsp9.js +78 -0
  124. package/package.json +10 -7
  125. package/dist/ApprovalView-BdaNwUBc.js +0 -129
  126. package/dist/ClosingTemplateView-BpErgepi.js +0 -1030
  127. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D3B7kOlU.js +0 -372
  128. package/dist/IngredientsView-GqrkpCm5.js +0 -1758
  129. package/dist/IntegrationView-7c3MpUzS.js +0 -1141
  130. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BIwdObb1.js +0 -88
  131. package/dist/ReceiveRequestView-BAuXvzQW.js +0 -215
  132. package/dist/RecipeView-C6tZPQ-K.js +0 -581
  133. package/dist/StockView-4uXHYz4E.js +0 -1892
  134. package/dist/SupplierView-CuWvKCWY.js +0 -827
  135. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CTQ9HIqf.js +0 -740
  136. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang--6JoXOLD.js +0 -1409
  137. package/dist/TransferTemplateView-D1Lfi3aW.js +0 -1230
  138. package/dist/defineDeepModel-BKAs9qN6.js +0 -13
  139. package/dist/format-time-from-id-B7ZE4sdX.js +0 -15
  140. package/dist/id-to-date-D1lOqIir.js +0 -30
  141. package/dist/purchase-order-transaction-type-tZ7cj1dz.js +0 -702
  142. package/dist/supplier-BIDBk5S6.js +0 -69
  143. package/dist/use-template-enabled-locations-DlMnS9WJ.js +0 -57
  144. package/dist/xlsx.util-BKFiH-ig.js +0 -109
package/dist/app.d.ts CHANGED
@@ -4,6 +4,7 @@ export declare const i18nMessages: {
4
4
  'en-US': {
5
5
  inventory: {
6
6
  common: {
7
+ success: string;
7
8
  proPlan: {
8
9
  title: string;
9
10
  subtitle: string;
@@ -39,6 +40,23 @@ export declare const i18nMessages: {
39
40
  longitude: string;
40
41
  latitude: string;
41
42
  };
43
+ itemsSelected: string;
44
+ filterItems: string;
45
+ noItemsFound: string;
46
+ dropField: {
47
+ dropToUpload: string;
48
+ invalidFileType: string;
49
+ fileSizeExceeded: string;
50
+ accepts: string;
51
+ maxSize: string;
52
+ };
53
+ select: {
54
+ selectAll: string;
55
+ removeAll: string;
56
+ };
57
+ min: string;
58
+ max: string;
59
+ loading: string;
42
60
  };
43
61
  inventoryBindings: {
44
62
  linkRecipe: string;
@@ -158,6 +176,24 @@ export declare const i18nMessages: {
158
176
  error: string;
159
177
  errorMessage: string;
160
178
  };
179
+ import: {
180
+ title: string;
181
+ message: string;
182
+ new: string;
183
+ allLocations: string;
184
+ nLocations: string;
185
+ nItems: string;
186
+ };
187
+ publish: {
188
+ title: string;
189
+ message: string;
190
+ dialogTitle: string;
191
+ noRecentActivity: string;
192
+ nothingToPublish: string;
193
+ publishing: string;
194
+ recentlyPublishedAt: string;
195
+ stillPublishing: string;
196
+ };
161
197
  };
162
198
  table: {
163
199
  createdAt: string;
@@ -165,19 +201,30 @@ export declare const i18nMessages: {
165
201
  noOfItems: string;
166
202
  enabledOutlets: string;
167
203
  reference: string;
204
+ status: string;
205
+ published: string;
206
+ unpublished: string;
207
+ enabledForAll: string;
208
+ enabledForN: string;
168
209
  };
169
210
  form: {
211
+ name: string;
212
+ reference: string;
213
+ locations: string;
214
+ selectLocation: string;
215
+ enabledUnits: string;
170
216
  items: {
171
217
  selectItem: string;
172
- addItem: string;
173
218
  title: string;
219
+ name: string;
220
+ enableUnit: string;
221
+ addItem: string;
174
222
  };
175
- name: string;
176
- reference: string;
177
223
  };
178
224
  };
179
225
  ingredient: {
180
226
  title: string;
227
+ title2: string;
181
228
  code: string;
182
229
  name: string;
183
230
  unit: string;
@@ -283,8 +330,12 @@ export declare const i18nMessages: {
283
330
  success: string;
284
331
  };
285
332
  };
333
+ ingredientGroup: {
334
+ title: string;
335
+ };
286
336
  recipe: {
287
337
  title: string;
338
+ title2: string;
288
339
  name: string;
289
340
  ingredients: string;
290
341
  export: {
@@ -405,6 +456,9 @@ export declare const i18nMessages: {
405
456
  subtitle: string;
406
457
  error: string;
407
458
  };
459
+ netsuite: {
460
+ subsidiary: string;
461
+ };
408
462
  items: {
409
463
  title: string;
410
464
  addItem: string;
@@ -578,6 +632,26 @@ export declare const i18nMessages: {
578
632
  emptySupplier: string;
579
633
  };
580
634
  };
635
+ import: {
636
+ title: string;
637
+ actions: {
638
+ downloadTemplate: string;
639
+ };
640
+ error: {
641
+ noData: string;
642
+ invalidContent: string;
643
+ noImportData: string;
644
+ hasErrors: string;
645
+ failed: string;
646
+ systemMessage: string;
647
+ };
648
+ progress: string;
649
+ success: string;
650
+ };
651
+ export: {
652
+ success: string;
653
+ filename: string;
654
+ };
581
655
  companyName: string;
582
656
  registrationNo: string;
583
657
  address: {
@@ -657,6 +731,10 @@ export declare const i18nMessages: {
657
731
  title: string;
658
732
  description: string;
659
733
  };
734
+ netsuite: {
735
+ title: string;
736
+ description: string;
737
+ };
660
738
  apply: {
661
739
  title: string;
662
740
  products: string;
@@ -1108,6 +1186,9 @@ export declare const i18nMessages: {
1108
1186
  subtitle: string;
1109
1187
  error: string;
1110
1188
  };
1189
+ netsuite: {
1190
+ subsidiary: string;
1191
+ };
1111
1192
  items: {
1112
1193
  title: string;
1113
1194
  addItem: string;
@@ -1288,6 +1369,10 @@ export declare const i18nMessages: {
1288
1369
  title: string;
1289
1370
  description: string;
1290
1371
  };
1372
+ netsuite: {
1373
+ title: string;
1374
+ description: string;
1375
+ };
1291
1376
  apply: {
1292
1377
  title: string;
1293
1378
  products: string;
package/dist/app.js CHANGED
@@ -1,7 +1,7 @@
1
- import { aq as r, _ as s, ar as e, ao as o, ap as t, u as i } from "./app-CfXF4jdF.js";
1
+ import { aC as s, _ as r, aD as e, aA as o, aB as t, u as i } from "./app-B4pi48sM.js";
2
2
  export {
3
- r as FmApp,
4
- s as InventoryBindingForm,
3
+ s as FmApp,
4
+ r as InventoryBindingForm,
5
5
  e as InventoryBindingSummary,
6
6
  o as i18nMessages,
7
7
  t as routers,
@@ -0,0 +1,54 @@
1
+ import type { ISelectItem } from '@feedmepos/ui-library';
2
+ import FuzzySearch from 'fuzzy-search';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ search: import("vue").PropType<string>;
5
+ modelValue: {
6
+ type: import("vue").PropType<any>;
7
+ required: true;
8
+ };
9
+ maxHeight: {
10
+ type: import("vue").PropType<number>;
11
+ required: true;
12
+ };
13
+ width: {
14
+ type: import("vue").PropType<string>;
15
+ required: true;
16
+ };
17
+ handleItemChange: {
18
+ type: import("vue").PropType<(isSelected: boolean, item: ISelectItem) => void>;
19
+ required: true;
20
+ };
21
+ items: {
22
+ type: import("vue").PropType<ISelectItem[]>;
23
+ required: true;
24
+ };
25
+ options: {
26
+ type: import("vue").PropType<FuzzySearch.Options>;
27
+ };
28
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
+ search: import("vue").PropType<string>;
30
+ modelValue: {
31
+ type: import("vue").PropType<any>;
32
+ required: true;
33
+ };
34
+ maxHeight: {
35
+ type: import("vue").PropType<number>;
36
+ required: true;
37
+ };
38
+ width: {
39
+ type: import("vue").PropType<string>;
40
+ required: true;
41
+ };
42
+ handleItemChange: {
43
+ type: import("vue").PropType<(isSelected: boolean, item: ISelectItem) => void>;
44
+ required: true;
45
+ };
46
+ items: {
47
+ type: import("vue").PropType<ISelectItem[]>;
48
+ required: true;
49
+ };
50
+ options: {
51
+ type: import("vue").PropType<FuzzySearch.Options>;
52
+ };
53
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
54
+ export default _default;
@@ -1,4 +1,6 @@
1
1
  import type { FmMinMaxInputModel } from './FmMinMaxInputProps';
2
+ import type { FdoDecimal } from '@feedmepos/core/entity';
2
3
  export declare function FmMinMaxRequired(): (model?: FmMinMaxInputModel) => true | "Required";
3
4
  /** Both `min` and `max` are inclusive */
4
5
  export declare function FmMinMaxBoundary(min: number, max: number): (model?: FmMinMaxInputModel) => string | true;
6
+ export declare function FmMinMaxMultipleOf(decimal: FdoDecimal): (model?: FmMinMaxInputModel) => string | true;
@@ -1,15 +1,9 @@
1
1
  import type { FmMultiselectDialogProps } from './FmMultiselectDialogProps';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmMultiselectDialogProps>, {
3
- placeholder: string;
4
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmMultiselectDialogProps>, {}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
3
  "update:modelValue": (mv: any) => void;
6
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmMultiselectDialogProps>, {
7
- placeholder: string;
8
- }>>> & Readonly<{
4
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmMultiselectDialogProps>, {}>>> & Readonly<{
9
5
  "onUpdate:modelValue"?: ((mv: any) => any) | undefined;
10
- }>, {
11
- placeholder: string;
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
7
  export default _default;
14
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
9
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -12,8 +12,6 @@ export interface ISelectItemGroup {
12
12
  }
13
13
  export interface FmMultiselectDialogProps {
14
14
  modelValue: any;
15
- /** Called while model value is updated, allow update for `collapsed` property only */
16
- modifyItems?: (modelValue: any[], items: ISelectItemSublabel[]) => ISelectItemSublabel[];
17
15
  items: ISelectItemSublabel[];
18
16
  groups?: ISelectItemGroup[];
19
17
  singleSelect?: boolean;
@@ -1,8 +1,10 @@
1
1
  import type { FmGroupModelValue } from './FmUnitInputProps';
2
2
  import type { ValidationResult } from '@feedmepos/ui-library';
3
+ import type { FdoDecimal } from '@feedmepos/core/entity';
3
4
  export declare function FmUnitInputAmountIsNumberRule(): (value: FmGroupModelValue) => true | "Must be a number";
4
5
  export declare function FmUnitInputAmountAtLeastRule(minimum: number): (value: FmGroupModelValue) => string | true;
5
6
  export declare function FmUnitInputAmountMoreThanRule(minimum: number): (value: FmGroupModelValue) => string | true;
6
7
  export declare function FmUnitInputAmountAtMostRule(maximum: number): (value: FmGroupModelValue) => string | true;
7
8
  export declare function FmUnitInputMaxPrecisionRule(unit: FdoInventoryUnit, applyAmountRule?: boolean): (value: any) => ValidationResult;
8
9
  export declare function FmUnitInputMaxPrecisionRule(precision: number, applyAmountRule?: boolean): (value: any) => ValidationResult;
10
+ export declare function FmUnitInputAmountMultipleOf(decimal: FdoDecimal): (value: FmGroupModelValue) => ValidationResult;
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
14
14
  precision: number;
15
15
  };
16
16
  } | null | undefined;
17
- type: "RECIPE" | "SKU";
17
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
18
18
  amount: {
19
19
  amount: number;
20
20
  precision: number;
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
36
36
  precision: number;
37
37
  };
38
38
  } | null | undefined;
39
- type: "RECIPE" | "SKU";
39
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
40
40
  amount: {
41
41
  amount: number;
42
42
  precision: number;
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
58
58
  precision: number;
59
59
  };
60
60
  } | null | undefined;
61
- type: "RECIPE" | "SKU";
61
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
62
62
  amount: {
63
63
  amount: number;
64
64
  precision: number;
@@ -117,7 +117,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
117
117
  precision: number;
118
118
  };
119
119
  } | null | undefined;
120
- type: "RECIPE" | "SKU";
120
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
121
121
  amount: {
122
122
  amount: number;
123
123
  precision: number;
@@ -137,7 +137,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
137
137
  precision: number;
138
138
  };
139
139
  } | null | undefined;
140
- type: "RECIPE" | "SKU";
140
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
141
141
  amount: {
142
142
  amount: number;
143
143
  precision: number;
@@ -67,13 +67,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
67
67
  "onPolygon-change"?: ((ev: PolygonChangeEvent) => any) | undefined;
68
68
  "onPolygon-right-click"?: ((ev: number) => any) | undefined;
69
69
  }>, {
70
- markers: MapCoordinate[];
71
- polygons: MapPolygon[];
72
- zoom: number;
73
- editable: boolean;
74
70
  center: {
75
71
  lat: number;
76
72
  lng: number;
77
73
  };
74
+ markers: MapCoordinate[];
75
+ polygons: MapPolygon[];
76
+ zoom: number;
77
+ editable: boolean;
78
78
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
79
79
  export default _default;
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
22
22
  precision: number;
23
23
  };
24
24
  } | null | undefined;
25
- type: "RECIPE" | "SKU";
25
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
26
26
  amount: {
27
27
  amount: number;
28
28
  precision: number;
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
59
59
  precision: number;
60
60
  };
61
61
  } | null | undefined;
62
- type: "RECIPE" | "SKU";
62
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
63
63
  amount: {
64
64
  amount: number;
65
65
  precision: number;
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
38
38
  precision: number;
39
39
  };
40
40
  } | null | undefined;
41
- type: "RECIPE" | "SKU";
41
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
42
42
  amount: {
43
43
  amount: number;
44
44
  precision: number;
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
102
102
  precision: number;
103
103
  };
104
104
  } | null | undefined;
105
- type: "RECIPE" | "SKU";
105
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
106
106
  amount: {
107
107
  amount: number;
108
108
  precision: number;
@@ -1,4 +1,4 @@
1
- import "./app-CfXF4jdF.js";
1
+ import "./app-B4pi48sM.js";
2
2
  function m(a) {
3
3
  function t(o, n = !0) {
4
4
  const e = Math.round(Math.log10(o));
@@ -0,0 +1,13 @@
1
+ import { c as i, ao as d } from "./app-B4pi48sM.js";
2
+ import { getCurrentInstance as n, reactive as m, watch as l } from "vue";
3
+ function b(e = "modelValue") {
4
+ var t, r;
5
+ const s = ((t = n()) == null ? void 0 : t.props) ?? {}, a = ((r = n()) == null ? void 0 : r.emit) ?? (() => {
6
+ }), o = m(i(s[e] ?? {})), c = `update:${d(e)}`;
7
+ return l(o, (p) => {
8
+ a(c, p);
9
+ }), o;
10
+ }
11
+ export {
12
+ b as d
13
+ };
@@ -17,6 +17,7 @@ declare global {
17
17
  */
18
18
  insert(element: T, at: number): T[];
19
19
  chunk(chunkSize: number): Generator<T[], void, unknown>;
20
+ groupBy<K, M = T>(key: keyof T | ((getter: T) => unknown), mapper?: (element: T, index: number, array: this) => M): Map<K, [M, ...M[]]>;
20
21
  }
21
22
  }
22
23
  export {};
@@ -0,0 +1,15 @@
1
+ import { ar as n } from "./app-B4pi48sM.js";
2
+ function d(t) {
3
+ const r = a(t);
4
+ return r === null ? "" : n(r);
5
+ }
6
+ function a(t) {
7
+ const r = t.match(/\w+_(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z).*/);
8
+ if (!r) return null;
9
+ const e = /* @__PURE__ */ new Date(`${r[1]}`);
10
+ return isNaN(e.getTime()) ? null : e;
11
+ }
12
+ export {
13
+ d as f,
14
+ a as p
15
+ };