@feedmepos/mf-inventory-portal 1.0.5 → 1.0.7-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 (112) hide show
  1. package/dist/{App-BC040Les.js → App-zspCOQeF.js} +50 -49
  2. package/dist/{ApprovalView-DCvl3a_5.js → ApprovalView-CKJV87es.js} +24 -24
  3. package/dist/{BindingsDialog-CrVuhZqk.js → BindingsDialog-CTmuzAWi.js} +4 -4
  4. package/dist/{BindingsPicker-lmFa-poh.js → BindingsPicker-Dabonsov.js} +8 -8
  5. package/dist/{BindingsTable-CT_lSIYf.js → BindingsTable-L0yzAoQq.js} +4 -4
  6. package/dist/{ClosingDraftView-DRc0FjAS.js → ClosingDraftView-CddxqfNi.js} +464 -463
  7. package/dist/{ClosingTemplateView-C_X0J-M4.js → ClosingTemplateView-BsW-nPec.js} +10 -10
  8. package/dist/{DeliveryOrderPrintPreview-BneNiMcQ.js → DeliveryOrderPrintPreview-DQ4msDpJ.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BJWjd3-f.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-TnVI2vdF.js} +32 -32
  10. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-BRvXmLV6.js +338 -0
  11. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BhfVsV9p.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BHLx7Lbo.js} +1 -1
  12. package/dist/{IngredientGroupView-NyW26_DP.js → IngredientGroupView-CF2GLMSD.js} +11 -11
  13. package/dist/{IngredientsView-BN1jydVe.js → IngredientsView-DopQVz7u.js} +15 -14
  14. package/dist/IntegrationView-EnD2l7af.js +2149 -0
  15. package/dist/{InventoryBindingForm-Bf52xXaz.js → InventoryBindingForm-VP2_coNH.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BLCgDC82.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-dQF7h_Jp.js} +27 -27
  17. package/dist/{InventoryBindingSummary-BM48Xk8j.js → InventoryBindingSummary-BCEXzmFu.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DYSoSSzj.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-RfkBlwxw.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DjtXgvRo.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CGgxjz4P.js} +10 -10
  20. package/dist/{PublishView-C_c9fd-9.js → PublishView-ExvxeKR_.js} +7 -7
  21. package/dist/{PurchaseOrderPrintPreview-CmIP1Zpp.js → PurchaseOrderPrintPreview-59AaXtZ_.js} +4 -4
  22. package/dist/{ReceiveRequestView-DJknUS-e.js → ReceiveRequestView-BxGss8gu.js} +53 -52
  23. package/dist/{RecipeView-nzgPP4xb.js → RecipeView-BqTsG4xX.js} +32 -32
  24. package/dist/{StockView-DERznopJ.js → StockView-D-WvydHv.js} +73 -72
  25. package/dist/{SupplierView-B03zhGGq.js → SupplierView-C6ruAEih.js} +12 -11
  26. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CQ-Om_rI.js +1894 -0
  27. package/dist/{TransferTemplateView-HLrkeo9I.js → TransferTemplateView-qSA3Txpn.js} +291 -290
  28. package/dist/{UnitView-yMNF61nI.js → UnitView-oHDOLM8k.js} +23 -23
  29. package/dist/{WarehouseView-Cl8O3zEO.js → WarehouseView-C3EqYfCf.js} +26 -26
  30. package/dist/api/bill.d.ts +2 -2
  31. package/dist/api/closing.d.ts +7 -1
  32. package/dist/api/food-market-hub.d.ts +1 -1
  33. package/dist/api/inventory.d.ts +44 -44
  34. package/dist/api/netsuite.d.ts +83 -1
  35. package/dist/api/purchase-order.d.ts +5 -1
  36. package/dist/api/stock.d.ts +12 -12
  37. package/dist/{app-ByZGP6to.js → app-DqrcGlGd.js} +20015 -20284
  38. package/dist/app.d.ts +7 -7
  39. package/dist/app.js +1 -1
  40. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +8 -8
  41. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
  42. package/dist/components/shell/inventory/binding-ui.vue.d.ts +5 -5
  43. package/dist/composable/usePromise.d.ts +41 -0
  44. package/dist/{decimal-C6ZIb15B.js → decimal-rgCB5DGy.js} +1 -1
  45. package/dist/feature-CifIpcNk.js +17345 -0
  46. package/dist/{format-unit-display-Bixr5QQV.js → format-unit-display-DUWzu8vU.js} +60 -60
  47. package/dist/index-CH3OzDYK.js +126 -0
  48. package/dist/{index-3ud7W_2Y.js → index-YgIaxVhw.js} +1 -1
  49. package/dist/{stock-DpKjVgzG.js → stock-BPNYXwz1.js} +1 -1
  50. package/dist/stores/feature.d.ts +5 -19
  51. package/dist/stores/integration/foodmarkethub.d.ts +1 -1
  52. package/dist/stores/integration/index.d.ts +1 -0
  53. package/dist/stores/integration/netsuite.d.ts +18 -7
  54. package/dist/stores/integration/xilnex.d.ts +12 -0
  55. package/dist/stores/inventory.d.ts +56 -56
  56. package/dist/stores/location.d.ts +137 -137
  57. package/dist/stores/stock.d.ts +12 -12
  58. package/dist/{supplier-DfKwECUI.js → supplier-CnrH580K.js} +4 -4
  59. package/dist/tsconfig.app.tsbuildinfo +1 -1
  60. package/dist/{use-ingredient-select-dialog-Cs5SmNLE.js → use-ingredient-select-dialog-CpnJoeWb.js} +1 -1
  61. package/dist/{use-inventory-binding-dialog-9RGXAtLh.js → use-inventory-binding-dialog-DHvNwt_F.js} +1 -1
  62. package/dist/views/adjustment-template/wastage-template/actions.d.ts +228 -228
  63. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +2 -2
  64. package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +1 -1
  65. package/dist/views/adjustment-template/wastage-template/table.d.ts +234 -234
  66. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +76 -76
  67. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +456 -456
  68. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +4 -4
  69. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +252 -252
  70. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +252 -252
  71. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +12 -12
  72. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
  73. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +8 -8
  74. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +3 -3
  75. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +4 -4
  76. package/dist/views/integration/XilnexView.vue.d.ts +2 -0
  77. package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
  78. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
  79. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
  80. package/dist/views/integration/components/Xilnex/XilnexOpeningImport.vue.d.ts +2 -0
  81. package/dist/views/integration/components/Xilnex/XilnexProps.d.ts +7 -0
  82. package/dist/views/integration/components/Xilnex/XilnexSideSheet.vue.d.ts +24 -0
  83. package/dist/views/integration/components/Xilnex/importFn.d.ts +16 -0
  84. package/dist/views/integration/components/netsuite/AddLocationDialog.vue.d.ts +1334 -0
  85. package/dist/views/integration/components/netsuite/LocationConfigurationDialog.vue.d.ts +174 -0
  86. package/dist/views/integration/components/netsuite/LocationConfigurationDialogProps.d.ts +16 -0
  87. package/dist/views/integration/components/netsuite/NetSuiteLocationField.vue.d.ts +71 -0
  88. package/dist/views/receive-request/components/transfer-details/FulfillmentForm.vue.d.ts +5 -1
  89. package/dist/views/receive-request/components/transfer-details/usePurchaseOrderFn.d.ts +4 -0
  90. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +696 -668
  91. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +22 -22
  92. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +44 -44
  93. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +11 -11
  94. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +614 -0
  95. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1270 -1222
  96. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1197 -1149
  97. package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +6 -0
  98. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
  99. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  100. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +14 -14
  101. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +22 -22
  102. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +17 -17
  103. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +11 -11
  104. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +805 -805
  105. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +805 -805
  106. package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +33 -33
  107. package/dist/{vue-i18n-DR_smMg1.js → vue-i18n-4m7yAqU2.js} +426 -426
  108. package/package.json +5 -2
  109. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-CAEBtWpw.js +0 -328
  110. package/dist/IntegrationView-CVbR75fb.js +0 -1197
  111. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D709Nkfi.js +0 -1723
  112. package/dist/index-CoqRZydm.js +0 -84
@@ -0,0 +1,174 @@
1
+ import type { LocationConfigurationDialogProps } from './LocationConfigurationDialogProps';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LocationConfigurationDialogProps>, {}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ "update:setting": (setting: Omit<{
4
+ accessToken?: string | null | undefined;
5
+ syncedAt?: string | null | undefined;
6
+ restlet?: {
7
+ type: "createItemReceipt" | "retrieveRecordInfo";
8
+ scriptId: string;
9
+ deploymentId: string;
10
+ }[] | null | undefined;
11
+ _id: string;
12
+ items: {
13
+ externalId?: string | null | undefined;
14
+ cogsAccount?: {
15
+ id: string;
16
+ refName: string;
17
+ } | null | undefined;
18
+ pktCode?: string | null | undefined;
19
+ pktName?: string | null | undefined;
20
+ id: string;
21
+ netSuiteId: string;
22
+ unitTypeId: string;
23
+ unitOfMeasureId: string;
24
+ subsidiaryIds: string[];
25
+ includeChildren: boolean;
26
+ }[];
27
+ enable: boolean;
28
+ locations: {
29
+ id: string;
30
+ name: string;
31
+ type: "restaurant" | "warehouse";
32
+ netSuiteId: string;
33
+ subsidiaryId: string;
34
+ }[];
35
+ childItems: {
36
+ externalId?: string | null | undefined;
37
+ cogsAccount?: {
38
+ id: string;
39
+ refName: string;
40
+ } | null | undefined;
41
+ pktCode?: string | null | undefined;
42
+ pktName?: string | null | undefined;
43
+ netSuiteId: string;
44
+ parentNetSuiteId: string;
45
+ unitTypeId: string;
46
+ unitOfMeasureId: string;
47
+ subsidiaryIds: string[];
48
+ includeChildren: boolean;
49
+ }[];
50
+ units: {
51
+ id: string;
52
+ measurements: {
53
+ id: string;
54
+ netSuiteId: string;
55
+ }[];
56
+ netSuiteId: string;
57
+ baseUnitUnitOfMeasureId: string;
58
+ }[];
59
+ subsidiaries: {
60
+ parentId?: string | undefined;
61
+ id: string;
62
+ name: string;
63
+ country: string;
64
+ currency: string;
65
+ }[];
66
+ vendors: {
67
+ externalId?: string | null | undefined;
68
+ custentity_financeapproval?: boolean | null | undefined;
69
+ id: string;
70
+ name: string;
71
+ netSuiteId: string;
72
+ subsidiaryId: string;
73
+ }[];
74
+ realm: string;
75
+ }, "realm" | "accessToken">) => void;
76
+ "update:show": (show: boolean) => void;
77
+ "update:loading": (loading: boolean) => void;
78
+ submit: () => void;
79
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LocationConfigurationDialogProps>, {}>>> & Readonly<{
80
+ onSubmit?: (() => any) | undefined;
81
+ "onUpdate:show"?: ((show: boolean) => any) | undefined;
82
+ "onUpdate:setting"?: ((setting: Omit<{
83
+ accessToken?: string | null | undefined;
84
+ syncedAt?: string | null | undefined;
85
+ restlet?: {
86
+ type: "createItemReceipt" | "retrieveRecordInfo";
87
+ scriptId: string;
88
+ deploymentId: string;
89
+ }[] | null | undefined;
90
+ _id: string;
91
+ items: {
92
+ externalId?: string | null | undefined;
93
+ cogsAccount?: {
94
+ id: string;
95
+ refName: string;
96
+ } | null | undefined;
97
+ pktCode?: string | null | undefined;
98
+ pktName?: string | null | undefined;
99
+ id: string;
100
+ netSuiteId: string;
101
+ unitTypeId: string;
102
+ unitOfMeasureId: string;
103
+ subsidiaryIds: string[];
104
+ includeChildren: boolean;
105
+ }[];
106
+ enable: boolean;
107
+ locations: {
108
+ id: string;
109
+ name: string;
110
+ type: "restaurant" | "warehouse";
111
+ netSuiteId: string;
112
+ subsidiaryId: string;
113
+ }[];
114
+ childItems: {
115
+ externalId?: string | null | undefined;
116
+ cogsAccount?: {
117
+ id: string;
118
+ refName: string;
119
+ } | null | undefined;
120
+ pktCode?: string | null | undefined;
121
+ pktName?: string | null | undefined;
122
+ netSuiteId: string;
123
+ parentNetSuiteId: string;
124
+ unitTypeId: string;
125
+ unitOfMeasureId: string;
126
+ subsidiaryIds: string[];
127
+ includeChildren: boolean;
128
+ }[];
129
+ units: {
130
+ id: string;
131
+ measurements: {
132
+ id: string;
133
+ netSuiteId: string;
134
+ }[];
135
+ netSuiteId: string;
136
+ baseUnitUnitOfMeasureId: string;
137
+ }[];
138
+ subsidiaries: {
139
+ parentId?: string | undefined;
140
+ id: string;
141
+ name: string;
142
+ country: string;
143
+ currency: string;
144
+ }[];
145
+ vendors: {
146
+ externalId?: string | null | undefined;
147
+ custentity_financeapproval?: boolean | null | undefined;
148
+ id: string;
149
+ name: string;
150
+ netSuiteId: string;
151
+ subsidiaryId: string;
152
+ }[];
153
+ realm: string;
154
+ }, "realm" | "accessToken">) => any) | undefined;
155
+ "onUpdate:loading"?: ((loading: boolean) => any) | undefined;
156
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
157
+ export default _default;
158
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
159
+ type __VLS_TypePropsToRuntimeProps<T> = {
160
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
161
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
162
+ } : {
163
+ type: import('vue').PropType<T[K]>;
164
+ required: true;
165
+ };
166
+ };
167
+ type __VLS_WithDefaults<P, D> = {
168
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
169
+ default: D[K];
170
+ }> : P[K];
171
+ };
172
+ type __VLS_Prettify<T> = {
173
+ [K in keyof T]: T[K];
174
+ } & {};
@@ -0,0 +1,16 @@
1
+ export interface LocationConfigurationDialogProps {
2
+ setting: Omit<FdoNetSuiteSetting, 'realm' | 'accessToken'>;
3
+ nsLocations: Array<{
4
+ netsuiteId: string;
5
+ name: string;
6
+ subsidiaryName: string;
7
+ }>;
8
+ show?: boolean;
9
+ loading?: boolean;
10
+ }
11
+ export interface LocationConfigurationDialogEvents {
12
+ (event: 'update:setting', setting: Omit<FdoNetSuiteSetting, 'realm' | 'accessToken'>): void;
13
+ (event: 'update:show', show: boolean): void;
14
+ (event: 'update:loading', loading: boolean): void;
15
+ (event: 'submit'): void;
16
+ }
@@ -0,0 +1,71 @@
1
+ import { type ISelectItem } from '@feedmepos/ui-library';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ isDuplicate?: boolean | undefined;
4
+ nsLocationOptions: ISelectItem[];
5
+ fmLocation: FdoInventoryLocation;
6
+ modelValue?: {
7
+ netsuiteId: string;
8
+ name: string;
9
+ subsidiaryName: string;
10
+ } | undefined;
11
+ }>, {
12
+ isDuplicate: boolean;
13
+ modelValue: () => {
14
+ netsuiteId: string;
15
+ name: string;
16
+ subsidiaryName: string;
17
+ };
18
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "update:modelValue": (modelValue: {
20
+ netsuiteId: string;
21
+ name: string;
22
+ subsidiaryName: string;
23
+ }) => void;
24
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
25
+ isDuplicate?: boolean | undefined;
26
+ nsLocationOptions: ISelectItem[];
27
+ fmLocation: FdoInventoryLocation;
28
+ modelValue?: {
29
+ netsuiteId: string;
30
+ name: string;
31
+ subsidiaryName: string;
32
+ } | undefined;
33
+ }>, {
34
+ isDuplicate: boolean;
35
+ modelValue: () => {
36
+ netsuiteId: string;
37
+ name: string;
38
+ subsidiaryName: string;
39
+ };
40
+ }>>> & Readonly<{
41
+ "onUpdate:modelValue"?: ((modelValue: {
42
+ netsuiteId: string;
43
+ name: string;
44
+ subsidiaryName: string;
45
+ }) => any) | undefined;
46
+ }>, {
47
+ modelValue: {
48
+ netsuiteId: string;
49
+ name: string;
50
+ subsidiaryName: string;
51
+ };
52
+ isDuplicate: boolean;
53
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
54
+ export default _default;
55
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
56
+ type __VLS_TypePropsToRuntimeProps<T> = {
57
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
58
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
59
+ } : {
60
+ type: import('vue').PropType<T[K]>;
61
+ required: true;
62
+ };
63
+ };
64
+ type __VLS_WithDefaults<P, D> = {
65
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
66
+ default: D[K];
67
+ }> : P[K];
68
+ };
69
+ type __VLS_Prettify<T> = {
70
+ [K in keyof T]: T[K];
71
+ } & {};
@@ -2,7 +2,11 @@ export interface FulfillmentFormProps {
2
2
  purchaseOrder: FdoPurchaseOrder;
3
3
  confirm: (data: FdoDeliveryFulfillment) => void;
4
4
  }
5
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FulfillmentFormProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FulfillmentFormProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FulfillmentFormProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "update:show": (show: boolean) => void;
7
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FulfillmentFormProps>>> & Readonly<{
8
+ "onUpdate:show"?: ((show: boolean) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
10
  export default _default;
7
11
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
12
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -0,0 +1,4 @@
1
+ export declare function usePurchaseOrderFn(): {
2
+ ableToMarkReceived(purchaseOrder?: FdoPurchaseOrder): boolean;
3
+ ableToMarkApproved(purchaseOrder?: FdoPurchaseOrder): boolean;
4
+ };