@feedmepos/mf-inventory-portal 0.0.22-dev.45 → 0.0.22-dev.47

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 (73) hide show
  1. package/dist/{ApprovalView-D802I6qa.js → ApprovalView-DvaKP7j9.js} +3 -3
  2. package/dist/{BindingsDialog-BY4eeO80.js → BindingsDialog-DuJMVo61.js} +4 -4
  3. package/dist/{BindingsPicker-BS3Gx-vu.js → BindingsPicker-BoYwB6U_.js} +11 -11
  4. package/dist/{BindingsTable-B0Ubv4If.js → BindingsTable-CWpUfeKm.js} +4 -4
  5. package/dist/ClosingTemplateView-Cn96MJVP.js +1812 -0
  6. package/dist/{FmDroppableField-42Sf5Kw4.js → FmDroppableField-Dlrwk4gA.js} +13 -13
  7. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C6aC-NQY.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CCGydCsm.js} +3 -3
  8. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BNzxPsXv.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DVMieqhn.js} +1 -1
  9. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DDjgq37P.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTK65n8v.js} +7 -7
  10. package/dist/IngredientGroupView-VNG5Q8ou.js +608 -0
  11. package/dist/{IngredientsView-BIravTM5.js → IngredientsView-C_rbIOCU.js} +5 -5
  12. package/dist/{IntegrationView-ClkjyBMU.js → IntegrationView-OKyiv2vc.js} +2 -2
  13. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CbHnBl9-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-bEu-8q1N.js} +1 -1
  14. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DPdSdnYc.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CDM7DSyn.js} +2 -2
  15. package/dist/{PurchaseOrderPrintPreview-DK3cdRy_.js → PurchaseOrderPrintPreview-BSyXdhQo.js} +3 -3
  16. package/dist/{ReceiveRequestView-BEJENItS.js → ReceiveRequestView-C4t8Kkn6.js} +10 -10
  17. package/dist/{RecipeView-CKkVM0RF.js → RecipeView-BnmwgxnO.js} +22 -22
  18. package/dist/{StockView-Cuf2TpKY.js → StockView-wKpLuCbC.js} +5 -5
  19. package/dist/{SupplierView-BeYelTFE.js → SupplierView-CZ23V9tf.js} +781 -2324
  20. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CmasVafU.js → TransferDetails.vue_vue_type_script_setup_true_lang-Cxm7P4nU.js} +53 -53
  21. package/dist/{TransferTemplateView-C2mT9X3X.js → TransferTemplateView-DAqSN1NH.js} +8 -8
  22. package/dist/{UnitView-Bjt1e1Ny.js → UnitView-UhJoXWMf.js} +4 -4
  23. package/dist/{WarehouseView-BiBEPMuq.js → WarehouseView-C-DGIBdE.js} +14 -14
  24. package/dist/api/inventory.d.ts +210 -6
  25. package/dist/{app-Be_W1QTm.js → app-pFcheyXr.js} +26797 -26576
  26. package/dist/app.d.ts +3 -0
  27. package/dist/app.js +1 -1
  28. package/dist/components/FmMultiselectDialogProps.d.ts +0 -2
  29. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +5 -5
  30. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
  31. package/dist/components/shell/inventory/binding-ui.vue.d.ts +2 -2
  32. package/dist/{decimal-CN1x5KmH.js → decimal-CY3TbMUy.js} +1 -1
  33. package/dist/{defineDeepModel-DZtwdE6s.js → defineDeepModel-CWIF7Cxg.js} +1 -1
  34. package/dist/extensions/array.d.ts +1 -0
  35. package/dist/{format-time-from-id-Xl-UgWBG.js → format-time-from-id-CSntAOsD.js} +1 -1
  36. package/dist/{format-unit-display-CGWN9PmG.js → format-unit-display-BHIBhwk3.js} +49 -49
  37. package/dist/router/name.d.ts +1 -0
  38. package/dist/stores/inventory.d.ts +217 -10
  39. package/dist/stores/netsuite.d.ts +2 -0
  40. package/dist/style.css +1 -1
  41. package/dist/{supplier-DYWP_v1f.js → supplier-142vtn2Q.js} +1 -1
  42. package/dist/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/{use-template-enabled-locations-2-UESI1K-k.js → use-template-enabled-locations-2-DUR98xi2.js} +1 -1
  44. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  45. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +12 -12
  46. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +12 -12
  47. package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +3 -0
  48. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +31 -0
  49. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +12 -0
  50. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +20 -0
  51. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +12 -0
  52. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +24 -0
  53. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +215 -0
  54. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
  55. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  56. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
  57. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  58. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -0
  59. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +23 -17
  60. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
  61. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
  62. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +33 -24
  63. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +33 -24
  64. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
  65. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
  66. package/dist/views/supplier/helpers/import-export.helper.d.ts +1 -1
  67. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -1
  68. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +12 -12
  69. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +12 -12
  70. package/dist/{xlsx-db3pdB_Q.js → xlsx-ChOXd9sY.js} +1 -1
  71. package/dist/{xlsx.util-G4B1eDpi.js → xlsx.util-BYVL7Paj.js} +1 -1
  72. package/package.json +2 -2
  73. package/dist/ClosingTemplateView-yEkqNfX2.js +0 -1768
@@ -1,4 +1,4 @@
1
- import { i as d, y as p } from "./app-Be_W1QTm.js";
1
+ import { i as d, j as p } from "./app-pFcheyXr.js";
2
2
  import { useI18n as f } from "@feedmepos/mf-common";
3
3
  import { useDialog as h } from "@feedmepos/ui-library";
4
4
  import { computed as c } from "vue";
@@ -26,7 +26,7 @@ export declare function useClosingTemplateItems(controller: {
26
26
  precision: number;
27
27
  };
28
28
  } | null | undefined;
29
- type: "RECIPE" | "SKU";
29
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
30
30
  amount: {
31
31
  amount: number;
32
32
  precision: number;
@@ -146,7 +146,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
146
146
  precision: number;
147
147
  };
148
148
  } | null | undefined;
149
- type: "RECIPE" | "SKU";
149
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
150
150
  amount: {
151
151
  amount: number;
152
152
  precision: number;
@@ -329,7 +329,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
329
329
  precision: number;
330
330
  };
331
331
  } | null | undefined;
332
- type: "RECIPE" | "SKU";
332
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
333
333
  amount: {
334
334
  amount: number;
335
335
  precision: number;
@@ -512,7 +512,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
512
512
  precision: number;
513
513
  };
514
514
  } | null | undefined;
515
- type: "RECIPE" | "SKU";
515
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
516
516
  amount: {
517
517
  amount: number;
518
518
  precision: number;
@@ -694,7 +694,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
694
694
  precision: number;
695
695
  };
696
696
  } | null | undefined;
697
- type: "RECIPE" | "SKU";
697
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
698
698
  amount: {
699
699
  amount: number;
700
700
  precision: number;
@@ -885,7 +885,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
885
885
  precision: number;
886
886
  };
887
887
  } | null | undefined;
888
- type: "RECIPE" | "SKU";
888
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
889
889
  amount: {
890
890
  amount: number;
891
891
  precision: number;
@@ -1068,7 +1068,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1068
1068
  precision: number;
1069
1069
  };
1070
1070
  } | null | undefined;
1071
- type: "RECIPE" | "SKU";
1071
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1072
1072
  amount: {
1073
1073
  amount: number;
1074
1074
  precision: number;
@@ -1251,7 +1251,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1251
1251
  precision: number;
1252
1252
  };
1253
1253
  } | null | undefined;
1254
- type: "RECIPE" | "SKU";
1254
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1255
1255
  amount: {
1256
1256
  amount: number;
1257
1257
  precision: number;
@@ -1433,7 +1433,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1433
1433
  precision: number;
1434
1434
  };
1435
1435
  } | null | undefined;
1436
- type: "RECIPE" | "SKU";
1436
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1437
1437
  amount: {
1438
1438
  amount: number;
1439
1439
  precision: number;
@@ -1624,7 +1624,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1624
1624
  precision: number;
1625
1625
  };
1626
1626
  } | null | undefined;
1627
- type: "RECIPE" | "SKU";
1627
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1628
1628
  amount: {
1629
1629
  amount: number;
1630
1630
  precision: number;
@@ -1807,7 +1807,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1807
1807
  precision: number;
1808
1808
  };
1809
1809
  } | null | undefined;
1810
- type: "RECIPE" | "SKU";
1810
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1811
1811
  amount: {
1812
1812
  amount: number;
1813
1813
  precision: number;
@@ -1990,7 +1990,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
1990
1990
  precision: number;
1991
1991
  };
1992
1992
  } | null | undefined;
1993
- type: "RECIPE" | "SKU";
1993
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1994
1994
  amount: {
1995
1995
  amount: number;
1996
1996
  precision: number;
@@ -2172,7 +2172,7 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
2172
2172
  precision: number;
2173
2173
  };
2174
2174
  } | null | undefined;
2175
- type: "RECIPE" | "SKU";
2175
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2176
2176
  amount: {
2177
2177
  amount: number;
2178
2178
  precision: number;
@@ -128,7 +128,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
128
128
  precision: number;
129
129
  };
130
130
  } | null | undefined;
131
- type: "RECIPE" | "SKU";
131
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
132
132
  amount: {
133
133
  amount: number;
134
134
  precision: number;
@@ -327,7 +327,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
327
327
  precision: number;
328
328
  };
329
329
  } | null | undefined;
330
- type: "RECIPE" | "SKU";
330
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
331
331
  amount: {
332
332
  amount: number;
333
333
  precision: number;
@@ -504,7 +504,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
504
504
  precision: number;
505
505
  };
506
506
  } | null | undefined;
507
- type: "RECIPE" | "SKU";
507
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
508
508
  amount: {
509
509
  amount: number;
510
510
  precision: number;
@@ -681,7 +681,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
681
681
  precision: number;
682
682
  };
683
683
  } | null | undefined;
684
- type: "RECIPE" | "SKU";
684
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
685
685
  amount: {
686
686
  amount: number;
687
687
  precision: number;
@@ -863,7 +863,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
863
863
  precision: number;
864
864
  };
865
865
  } | null | undefined;
866
- type: "RECIPE" | "SKU";
866
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
867
867
  amount: {
868
868
  amount: number;
869
869
  precision: number;
@@ -1062,7 +1062,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1062
1062
  precision: number;
1063
1063
  };
1064
1064
  } | null | undefined;
1065
- type: "RECIPE" | "SKU";
1065
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1066
1066
  amount: {
1067
1067
  amount: number;
1068
1068
  precision: number;
@@ -1239,7 +1239,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1239
1239
  precision: number;
1240
1240
  };
1241
1241
  } | null | undefined;
1242
- type: "RECIPE" | "SKU";
1242
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1243
1243
  amount: {
1244
1244
  amount: number;
1245
1245
  precision: number;
@@ -1416,7 +1416,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1416
1416
  precision: number;
1417
1417
  };
1418
1418
  } | null | undefined;
1419
- type: "RECIPE" | "SKU";
1419
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1420
1420
  amount: {
1421
1421
  amount: number;
1422
1422
  precision: number;
@@ -1598,7 +1598,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1598
1598
  precision: number;
1599
1599
  };
1600
1600
  } | null | undefined;
1601
- type: "RECIPE" | "SKU";
1601
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1602
1602
  amount: {
1603
1603
  amount: number;
1604
1604
  precision: number;
@@ -1797,7 +1797,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1797
1797
  precision: number;
1798
1798
  };
1799
1799
  } | null | undefined;
1800
- type: "RECIPE" | "SKU";
1800
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1801
1801
  amount: {
1802
1802
  amount: number;
1803
1803
  precision: number;
@@ -1974,7 +1974,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1974
1974
  precision: number;
1975
1975
  };
1976
1976
  } | null | undefined;
1977
- type: "RECIPE" | "SKU";
1977
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1978
1978
  amount: {
1979
1979
  amount: number;
1980
1980
  precision: number;
@@ -2151,7 +2151,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2151
2151
  precision: number;
2152
2152
  };
2153
2153
  } | null | undefined;
2154
- type: "RECIPE" | "SKU";
2154
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2155
2155
  amount: {
2156
2156
  amount: number;
2157
2157
  precision: number;
@@ -0,0 +1,3 @@
1
+ import '@/extensions/array';
2
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import type { IngredientGroupDialogProps } from './IngredientGroupDialogProps';
2
+ import { FormMode } from '@/components/form/form-mode.enum';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IngredientGroupDialogProps>, {
4
+ mode: FormMode;
5
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "update:show": (show: boolean) => void;
7
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IngredientGroupDialogProps>, {
8
+ mode: FormMode;
9
+ }>>> & Readonly<{
10
+ "onUpdate:show"?: ((show: boolean) => any) | undefined;
11
+ }>, {
12
+ mode: FormMode;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
24
+ type __VLS_WithDefaults<P, D> = {
25
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
+ default: D[K];
27
+ }> : P[K];
28
+ };
29
+ type __VLS_Prettify<T> = {
30
+ [K in keyof T]: T[K];
31
+ } & {};
@@ -0,0 +1,12 @@
1
+ import type { FormMode } from '@/components/form/form-mode.enum';
2
+ import type { _DeepPartial } from 'pinia';
3
+ export interface IngredientGroupDialogModelValue extends _DeepPartial<FdoInventorySkuGroup> {
4
+ }
5
+ export interface IngredientGroupDialogProps {
6
+ show?: boolean;
7
+ mode?: FormMode;
8
+ modelValue?: IngredientGroupDialogModelValue;
9
+ }
10
+ export interface IngredientGroupDialogEvents {
11
+ (event: 'update:show', show: boolean): void;
12
+ }
@@ -0,0 +1,20 @@
1
+ import type { IngredientGroupFormProps } from './IngredientGroupFormProps';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IngredientGroupFormProps>>, {
3
+ validateInputs: () => void;
4
+ resetInputsValidation: () => void;
5
+ resetInputs: () => void;
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "validation-success": () => void;
8
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IngredientGroupFormProps>>> & Readonly<{
9
+ "onValidation-success"?: (() => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ export default _default;
12
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+ type __VLS_TypePropsToRuntimeProps<T> = {
14
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
15
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
+ } : {
17
+ type: import('vue').PropType<T[K]>;
18
+ required: true;
19
+ };
20
+ };
@@ -0,0 +1,12 @@
1
+ import type { FormMode } from '@/components/form/form-mode.enum';
2
+ import type { _DeepPartial } from 'pinia';
3
+ export interface IngredientGroupFormProps {
4
+ mode?: FormMode;
5
+ disabled?: boolean;
6
+ modelValue?: IngredientGroupFormModelValue;
7
+ }
8
+ export interface IngredientGroupFormModelValue extends _DeepPartial<FdoInventorySkuGroup> {
9
+ }
10
+ export interface IngredientGroupFormEvents {
11
+ (event: 'validation-success'): void;
12
+ }
@@ -0,0 +1,24 @@
1
+ import { type Ref } from 'vue';
2
+ import type { IngredientGroupDialogProps } from '../components/ingredient-group-dialog/IngredientGroupDialogProps';
3
+ export declare const useIngredientGroupActions: import("pinia").StoreDefinition<"ingredientGroupactions", import("pinia")._UnwrapAll<Pick<{
4
+ createIngredientGroup: () => void;
5
+ updateIngredientGroup: (data: FdoInventorySkuGroup) => Promise<void>;
6
+ deleteIngredientGroup: (group: FdoInventorySkuGroup, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
7
+ importIngredientGroups: () => void;
8
+ exportIngredientGroups: () => void;
9
+ ingredientGroupDialogProps: Ref<IngredientGroupDialogProps | undefined, IngredientGroupDialogProps | undefined>;
10
+ }, "ingredientGroupDialogProps">>, Pick<{
11
+ createIngredientGroup: () => void;
12
+ updateIngredientGroup: (data: FdoInventorySkuGroup) => Promise<void>;
13
+ deleteIngredientGroup: (group: FdoInventorySkuGroup, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
14
+ importIngredientGroups: () => void;
15
+ exportIngredientGroups: () => void;
16
+ ingredientGroupDialogProps: Ref<IngredientGroupDialogProps | undefined, IngredientGroupDialogProps | undefined>;
17
+ }, never>, Pick<{
18
+ createIngredientGroup: () => void;
19
+ updateIngredientGroup: (data: FdoInventorySkuGroup) => Promise<void>;
20
+ deleteIngredientGroup: (group: FdoInventorySkuGroup, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
21
+ importIngredientGroups: () => void;
22
+ exportIngredientGroups: () => void;
23
+ ingredientGroupDialogProps: Ref<IngredientGroupDialogProps | undefined, IngredientGroupDialogProps | undefined>;
24
+ }, "createIngredientGroup" | "updateIngredientGroup" | "deleteIngredientGroup" | "importIngredientGroups" | "exportIngredientGroups">>;
@@ -0,0 +1,215 @@
1
+ import { type ColumnDef } from '@feedmepos/ui-library';
2
+ export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"ingredientGroupTable", import("pinia")._UnwrapAll<Pick<{
3
+ fetchIngredientGroups: () => Promise<void>;
4
+ loading: import("vue").Ref<boolean, boolean>;
5
+ columnDefs: import("vue").ComputedRef<ColumnDef<{
6
+ ref?: string | null | undefined;
7
+ unit: {
8
+ _id: string;
9
+ name: string;
10
+ abbrev: string;
11
+ precision: number;
12
+ measurements: {
13
+ id: string;
14
+ name: string;
15
+ abbrev: string;
16
+ conversion: {
17
+ amount: number;
18
+ precision: number;
19
+ };
20
+ }[];
21
+ };
22
+ _id: string;
23
+ name: string;
24
+ skus: {
25
+ trackingMeasurement?: string | null | undefined;
26
+ convert?: {
27
+ measurement?: string | null | undefined;
28
+ inventoryBindings?: {
29
+ measurement?: {
30
+ id: string;
31
+ name: string;
32
+ abbrev: string;
33
+ conversion: {
34
+ amount: number;
35
+ precision: number;
36
+ };
37
+ } | null | undefined;
38
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
39
+ amount: {
40
+ amount: number;
41
+ precision: number;
42
+ };
43
+ id: string;
44
+ }[] | null | undefined;
45
+ } | null | undefined;
46
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
47
+ defaultCost?: {
48
+ measurement?: {
49
+ id: string;
50
+ name: string;
51
+ abbrev: string;
52
+ conversion: {
53
+ amount: number;
54
+ precision: number;
55
+ };
56
+ } | null | undefined;
57
+ costPerUnit: {
58
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
59
+ amount: number;
60
+ precision: number;
61
+ };
62
+ } | null | undefined;
63
+ thresholds?: {
64
+ low: number;
65
+ mid: number;
66
+ } | null | undefined;
67
+ operationalGroup?: string | null | undefined;
68
+ code: string;
69
+ _id: string;
70
+ name: string;
71
+ }[];
72
+ }>[]>;
73
+ }, "loading">>, Pick<{
74
+ fetchIngredientGroups: () => Promise<void>;
75
+ loading: import("vue").Ref<boolean, boolean>;
76
+ columnDefs: import("vue").ComputedRef<ColumnDef<{
77
+ ref?: string | null | undefined;
78
+ unit: {
79
+ _id: string;
80
+ name: string;
81
+ abbrev: string;
82
+ precision: number;
83
+ measurements: {
84
+ id: string;
85
+ name: string;
86
+ abbrev: string;
87
+ conversion: {
88
+ amount: number;
89
+ precision: number;
90
+ };
91
+ }[];
92
+ };
93
+ _id: string;
94
+ name: string;
95
+ skus: {
96
+ trackingMeasurement?: string | null | undefined;
97
+ convert?: {
98
+ measurement?: string | null | undefined;
99
+ inventoryBindings?: {
100
+ measurement?: {
101
+ id: string;
102
+ name: string;
103
+ abbrev: string;
104
+ conversion: {
105
+ amount: number;
106
+ precision: number;
107
+ };
108
+ } | null | undefined;
109
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
110
+ amount: {
111
+ amount: number;
112
+ precision: number;
113
+ };
114
+ id: string;
115
+ }[] | null | undefined;
116
+ } | null | undefined;
117
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
118
+ defaultCost?: {
119
+ measurement?: {
120
+ id: string;
121
+ name: string;
122
+ abbrev: string;
123
+ conversion: {
124
+ amount: number;
125
+ precision: number;
126
+ };
127
+ } | null | undefined;
128
+ costPerUnit: {
129
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
130
+ amount: number;
131
+ precision: number;
132
+ };
133
+ } | null | undefined;
134
+ thresholds?: {
135
+ low: number;
136
+ mid: number;
137
+ } | null | undefined;
138
+ operationalGroup?: string | null | undefined;
139
+ code: string;
140
+ _id: string;
141
+ name: string;
142
+ }[];
143
+ }>[]>;
144
+ }, "columnDefs">, Pick<{
145
+ fetchIngredientGroups: () => Promise<void>;
146
+ loading: import("vue").Ref<boolean, boolean>;
147
+ columnDefs: import("vue").ComputedRef<ColumnDef<{
148
+ ref?: string | null | undefined;
149
+ unit: {
150
+ _id: string;
151
+ name: string;
152
+ abbrev: string;
153
+ precision: number;
154
+ measurements: {
155
+ id: string;
156
+ name: string;
157
+ abbrev: string;
158
+ conversion: {
159
+ amount: number;
160
+ precision: number;
161
+ };
162
+ }[];
163
+ };
164
+ _id: string;
165
+ name: string;
166
+ skus: {
167
+ trackingMeasurement?: string | null | undefined;
168
+ convert?: {
169
+ measurement?: string | null | undefined;
170
+ inventoryBindings?: {
171
+ measurement?: {
172
+ id: string;
173
+ name: string;
174
+ abbrev: string;
175
+ conversion: {
176
+ amount: number;
177
+ precision: number;
178
+ };
179
+ } | null | undefined;
180
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
181
+ amount: {
182
+ amount: number;
183
+ precision: number;
184
+ };
185
+ id: string;
186
+ }[] | null | undefined;
187
+ } | null | undefined;
188
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
189
+ defaultCost?: {
190
+ measurement?: {
191
+ id: string;
192
+ name: string;
193
+ abbrev: string;
194
+ conversion: {
195
+ amount: number;
196
+ precision: number;
197
+ };
198
+ } | null | undefined;
199
+ costPerUnit: {
200
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
201
+ amount: number;
202
+ precision: number;
203
+ };
204
+ } | null | undefined;
205
+ thresholds?: {
206
+ low: number;
207
+ mid: number;
208
+ } | null | undefined;
209
+ operationalGroup?: string | null | undefined;
210
+ code: string;
211
+ _id: string;
212
+ name: string;
213
+ }[];
214
+ }>[]>;
215
+ }, "fetchIngredientGroups">>;
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
12
  precision: number;
13
13
  };
14
14
  } | null | undefined;
15
- type: "RECIPE" | "SKU";
15
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
16
16
  amount: {
17
17
  amount: number;
18
18
  precision: number;
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
33
33
  precision: number;
34
34
  };
35
35
  } | null | undefined;
36
- type: "RECIPE" | "SKU";
36
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
37
37
  amount: {
38
38
  amount: number;
39
39
  precision: number;
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
18
18
  precision: number;
19
19
  };
20
20
  } | null | undefined;
21
- type: "RECIPE" | "SKU";
21
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
22
22
  amount: {
23
23
  amount: number;
24
24
  precision: number;
@@ -83,7 +83,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
83
83
  precision: number;
84
84
  };
85
85
  } | null | undefined;
86
- type: "RECIPE" | "SKU";
86
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
87
87
  amount: {
88
88
  amount: number;
89
89
  precision: number;
@@ -21,14 +21,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
21
21
  precision: number;
22
22
  };
23
23
  } | null | undefined;
24
- type: "RECIPE" | "SKU";
24
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
25
25
  amount: {
26
26
  amount: number;
27
27
  precision: number;
28
28
  };
29
29
  id: string;
30
30
  }[]) => void;
31
- "click:pick-inventory-bindings": (type: "RECIPE" | "SKU") => void;
31
+ "click:pick-inventory-bindings": (type: "RECIPE" | "SKU" | "SKU_GROUP") => void;
32
32
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InventoryBindingFormProps>, {
33
33
  modelValue: () => never[];
34
34
  errors: () => never[];
@@ -43,14 +43,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
43
43
  precision: number;
44
44
  };
45
45
  } | null | undefined;
46
- type: "RECIPE" | "SKU";
46
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
47
47
  amount: {
48
48
  amount: number;
49
49
  precision: number;
50
50
  };
51
51
  id: string;
52
52
  }[]) => any) | undefined;
53
- "onClick:pick-inventory-bindings"?: ((type: "RECIPE" | "SKU") => any) | undefined;
53
+ "onClick:pick-inventory-bindings"?: ((type: "RECIPE" | "SKU" | "SKU_GROUP") => any) | undefined;
54
54
  }>, {
55
55
  modelValue: {
56
56
  measurement?: {
@@ -62,7 +62,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
62
62
  precision: number;
63
63
  };
64
64
  } | null | undefined;
65
- type: "RECIPE" | "SKU";
65
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
66
66
  amount: {
67
67
  amount: number;
68
68
  precision: number;