@feedmepos/mf-inventory-portal 0.0.23-dev.4 → 0.0.23-dev.40
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.
- package/dist/{App-DReDvY0M.js → App-D8DXxTIq.js} +84 -72
- package/dist/{ApprovalView-BMZlYmRk.js → ApprovalView-BWGXkHV6.js} +25 -28
- package/dist/{BindingsDialog-Y2K4I7H7.js → BindingsDialog-D7WypDot.js} +6 -6
- package/dist/{BindingsPicker-DKBq9c37.js → BindingsPicker-DUlGwkwM.js} +8 -9
- package/dist/{BindingsTable-45v4SDfp.js → BindingsTable-BjeZYCaJ.js} +18 -22
- package/dist/ClosingDraftView-o2LEUfo8.js +1190 -0
- package/dist/{ClosingTemplateView-CKJVYSbj.js → ClosingTemplateView-Dt983Cg4.js} +271 -285
- package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-Dc_7IyBG.js +142 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CMEOp-0r.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-wocPyZls.js} +18 -19
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C1DjyjyH.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DzoEp-Pg.js} +25 -26
- package/dist/{IngredientGroupView-BuP-HGeg.js → IngredientGroupView-CIPpIpv1.js} +63 -69
- package/dist/IngredientsView-CFV3kX7Q.js +1707 -0
- package/dist/{IntegrationView-kYCaKG0o.js → IntegrationView-DkW32m-t.js} +89 -92
- package/dist/{InventoryBindingForm-BXHq4h-n.js → InventoryBindingForm-B4CBet9W.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CVxJ_bV3.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DpdDVf6O.js} +112 -104
- package/dist/{InventoryBindingSummary-Bjasfc_v.js → InventoryBindingSummary-75ImZtqK.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DM0C4raP.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DfpG3Fy8.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C3O3JebE.js → PremiumBadge.vue_vue_type_script_setup_true_lang-B4d0c3nk.js} +19 -20
- package/dist/{PurchaseOrderPrintPreview-CmjkfTTS.js → PurchaseOrderPrintPreview-BYO0JcQW.js} +17 -18
- package/dist/ReceiveRequestView-cFLNExw9.js +4194 -0
- package/dist/RecipeView-CjfpaHaT.js +609 -0
- package/dist/StockView-HMtD9qar.js +1818 -0
- package/dist/{SupplierView-DAx7E7sR.js → SupplierView-Cidfe-Xm.js} +2325 -787
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CdU3HPBC.js +1275 -0
- package/dist/TransferTemplateView-Doxr1fXP.js +1264 -0
- package/dist/{UnitView-CQPGZ8-r.js → UnitView-C1af71aM.js} +228 -227
- package/dist/{WarehouseView-jy-RNCgy.js → WarehouseView-CviOLXfX.js} +100 -106
- package/dist/api/adjustment-template.d.ts +25 -0
- package/dist/api/bill.d.ts +240 -84
- package/dist/api/closing-draft.d.ts +6 -0
- package/dist/api/closing.d.ts +1 -0
- package/dist/api/inventory.d.ts +15 -6
- package/dist/api/netsuite.d.ts +3 -3
- package/dist/app-BE8SgDqI.js +84466 -0
- package/dist/app.d.ts +64 -0
- package/dist/app.js +2 -2
- package/dist/components/FmCustomAttribute.vue.d.ts +23 -0
- package/dist/components/FmLockableField.vue.d.ts +37 -0
- package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +3 -1
- package/dist/components/row-action.enum.d.ts +1 -0
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +3 -1
- package/dist/composable/defineDeepModel.d.ts +1 -1
- package/dist/{decimal-BAc9M88Q.js → decimal-xj3kVOP6.js} +1 -1
- package/dist/feature-CWpNYcWJ.js +946 -0
- package/dist/format-unit-display-CZ835oaL.js +1215 -0
- package/dist/index-B8IWDKYv.js +29202 -0
- package/dist/{StockView-D9no-mrA.js → index-C6SzYqK7.js} +2242 -3986
- package/dist/router/name.d.ts +2 -0
- package/dist/stock-C2xyYnS7.js +125 -0
- package/dist/stores/feature.d.ts +6 -0
- package/dist/stores/integration/netsuite.d.ts +70 -2
- package/dist/stores/inventory.d.ts +21 -12
- package/dist/stores/supplier.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-DJC0UZWv.js → supplier-B-7o9hg1.js} +15 -15
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-PEQbFRvO.js → use-inventory-binding-dialog-Dm8Ky1MH.js} +10 -11
- package/dist/views/adjustment-template/import/AdjustmentTemplateImport.vue.d.ts +2 -0
- package/dist/views/adjustment-template/import/AdjustmentTemplateImportItem.vue.d.ts +18 -0
- package/dist/views/adjustment-template/import/export.d.ts +60 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDetails.vue.d.ts +2 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDialog.vue.d.ts +22 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplatePublish.vue.d.ts +6 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateReason.vue.d.ts +18 -0
- package/dist/views/adjustment-template/wastage-template/WastageTemplateView.vue.d.ts +2 -0
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +1329 -0
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateForm.vue.d.ts +16 -0
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +35 -0
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +20 -0
- package/dist/views/adjustment-template/wastage-template/props.d.ts +36 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +1303 -0
- package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +2 -0
- package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +22 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +625 -0
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +25 -0
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +3645 -0
- package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -0
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +19 -0
- package/dist/views/closing-draft/helpers/get-calculated-total.helper.d.ts +4 -0
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +2 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +48 -204
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +49 -205
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +6 -3
- package/dist/views/ingredients/components/convert/ConvertFormProps.d.ts +1 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +4 -2
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +1 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +2 -1
- package/dist/views/receive-request/components/netsuite/NetSuiteInfo.vue.d.ts +12 -0
- package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +13 -0
- package/dist/views/receive-request/components/netsuite/NetSuiteSync.vue.d.ts +12 -0
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +40 -17
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +4 -2
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +57 -24
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +57 -24
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +120 -42
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +6 -4
- package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -1
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +24 -12
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +24 -12
- package/dist/views/transfer-template/helpers/import-export.helper.d.ts +2 -1
- package/package.json +5 -4
- package/dist/FmDroppableField-8RzKjEdL.js +0 -154
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BhdcqRh-.js +0 -436
- package/dist/FmMultiselectDialog-D7YtdoyJ.js +0 -415
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-zjvFEF5C.js +0 -51
- package/dist/IngredientsView-DMRN-odY.js +0 -1613
- package/dist/ReceiveRequestView-aQZJO8sq.js +0 -4165
- package/dist/RecipeView-DXO43tFi.js +0 -597
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +0 -135
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DCA0RUfu.js +0 -1209
- package/dist/TransferTemplateView-CfxdQF1t.js +0 -1261
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/app-KnSMkJBV.js +0 -33496
- package/dist/date2-CIeUqUIc.js +0 -117
- package/dist/dayjs.min-Df5jSnDJ.js +0 -282
- package/dist/defineDeepModel-BfuQAIoM.js +0 -13
- package/dist/feature-dwB4OxRQ.js +0 -86
- package/dist/format-time-from-id-BbvzyIN6.js +0 -15
- package/dist/format-unit-display-BBWblJEt.js +0 -1216
- package/dist/fuzzy-B9ryZ9VZ.js +0 -41
- package/dist/index-BN0CY3sZ.js +0 -22277
- package/dist/index-Bj1fJum-.js +0 -45
- package/dist/index-C4yL_7rR.js +0 -10545
- package/dist/netsuite-ByWOS6tI.js +0 -194
- package/dist/normalizeArguments-DP7Hrren.js +0 -1552
- package/dist/row-action.enum-PMKMRrZR.js +0 -50
- package/dist/rules-C12nWDD1.js +0 -198
- package/dist/use-template-enabled-locations-2-k9g5t8tt.js +0 -86
- package/dist/xlsx-B4XHad7S.js +0 -24004
- package/dist/xlsx.util-BSO4SHJi.js +0 -78
package/dist/app.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ export declare const i18nMessages: {
|
|
|
82
82
|
REQUEST: string;
|
|
83
83
|
SALES: string;
|
|
84
84
|
CLOSING: string;
|
|
85
|
+
WASTAGE: string;
|
|
85
86
|
};
|
|
86
87
|
};
|
|
87
88
|
stock: {
|
|
@@ -221,6 +222,62 @@ export declare const i18nMessages: {
|
|
|
221
222
|
addItem: string;
|
|
222
223
|
};
|
|
223
224
|
};
|
|
225
|
+
draft: {
|
|
226
|
+
title: string;
|
|
227
|
+
approveDraft: string;
|
|
228
|
+
rejectDraft: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
adjustment: {
|
|
232
|
+
template: {
|
|
233
|
+
wastage: {
|
|
234
|
+
title: string;
|
|
235
|
+
};
|
|
236
|
+
create: {
|
|
237
|
+
title: string;
|
|
238
|
+
success: string;
|
|
239
|
+
successMessage: string;
|
|
240
|
+
error: string;
|
|
241
|
+
errorMessage: string;
|
|
242
|
+
};
|
|
243
|
+
update: {
|
|
244
|
+
title: string;
|
|
245
|
+
success: string;
|
|
246
|
+
successMessage: string;
|
|
247
|
+
error: string;
|
|
248
|
+
errorMessage: string;
|
|
249
|
+
};
|
|
250
|
+
import: {
|
|
251
|
+
title: string;
|
|
252
|
+
message: string;
|
|
253
|
+
new: string;
|
|
254
|
+
allLocations: string;
|
|
255
|
+
nLocations: string;
|
|
256
|
+
nItems: string;
|
|
257
|
+
};
|
|
258
|
+
publish: {
|
|
259
|
+
title: string;
|
|
260
|
+
message: string;
|
|
261
|
+
dialogTitle: string;
|
|
262
|
+
noRecentActivity: string;
|
|
263
|
+
nothingToPublish: string;
|
|
264
|
+
publishing: string;
|
|
265
|
+
recentlyPublishedAt: string;
|
|
266
|
+
stillPublishing: string;
|
|
267
|
+
};
|
|
268
|
+
table: {
|
|
269
|
+
createdAt: string;
|
|
270
|
+
name: string;
|
|
271
|
+
noOfItems: string;
|
|
272
|
+
enabledOutlets: string;
|
|
273
|
+
reference: string;
|
|
274
|
+
status: string;
|
|
275
|
+
published: string;
|
|
276
|
+
unpublished: string;
|
|
277
|
+
enabledForAll: string;
|
|
278
|
+
enabledForN: string;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
224
281
|
};
|
|
225
282
|
ingredient: {
|
|
226
283
|
title: string;
|
|
@@ -809,6 +866,7 @@ export declare const i18nMessages: {
|
|
|
809
866
|
REQUEST: string;
|
|
810
867
|
SALES: string;
|
|
811
868
|
CLOSING: string;
|
|
869
|
+
WASTAGE: string;
|
|
812
870
|
};
|
|
813
871
|
};
|
|
814
872
|
stock: {
|
|
@@ -1434,6 +1492,9 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
1434
1492
|
}[]>;
|
|
1435
1493
|
default: () => never[];
|
|
1436
1494
|
};
|
|
1495
|
+
readonly: {
|
|
1496
|
+
type: import("vue").PropType<boolean>;
|
|
1497
|
+
};
|
|
1437
1498
|
iframeMode: {
|
|
1438
1499
|
type: import("vue").PropType<boolean>;
|
|
1439
1500
|
};
|
|
@@ -1505,6 +1566,9 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
|
|
|
1505
1566
|
}[]>;
|
|
1506
1567
|
default: () => never[];
|
|
1507
1568
|
};
|
|
1569
|
+
readonly: {
|
|
1570
|
+
type: import("vue").PropType<boolean>;
|
|
1571
|
+
};
|
|
1508
1572
|
iframeMode: {
|
|
1509
1573
|
type: import("vue").PropType<boolean>;
|
|
1510
1574
|
};
|
package/dist/app.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { aW as s, aX as e, aY as o, aV as t, aZ as i, a as m } from "./app-BE8SgDqI.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
s as FmApp,
|
|
5
5
|
e as InventoryBindingForm,
|
|
6
6
|
o as InventoryBindingSummary,
|
|
7
7
|
t as i18nMessages,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type CustomAttributes = Record<string, any>;
|
|
2
|
+
interface Props {
|
|
3
|
+
entity: 'inventorySku' | 'inventoryRecipe';
|
|
4
|
+
modelValue: CustomAttributes;
|
|
5
|
+
valueOptions?: {
|
|
6
|
+
[key: string]: string[];
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: CustomAttributes) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: CustomAttributes) => any) | undefined;
|
|
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
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
locked?: boolean | undefined;
|
|
3
|
+
disabled?: boolean | undefined;
|
|
4
|
+
label?: string | undefined;
|
|
5
|
+
modelValue?: string | null | undefined;
|
|
6
|
+
tooltipMessage?: string | undefined;
|
|
7
|
+
tooltipPlacement?: "top" | "right" | "bottom" | "left" | undefined;
|
|
8
|
+
tooltipZIndex?: number | undefined;
|
|
9
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
locked?: boolean | undefined;
|
|
11
|
+
disabled?: boolean | undefined;
|
|
12
|
+
label?: string | undefined;
|
|
13
|
+
modelValue?: string | null | undefined;
|
|
14
|
+
tooltipMessage?: string | undefined;
|
|
15
|
+
tooltipPlacement?: "top" | "right" | "bottom" | "left" | undefined;
|
|
16
|
+
tooltipZIndex?: number | undefined;
|
|
17
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
18
|
+
label?(_: {}): any;
|
|
19
|
+
field?(_: {}): any;
|
|
20
|
+
modelValue?(_: {}): any;
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
}>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -83,11 +83,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
83
83
|
precision: number;
|
|
84
84
|
};
|
|
85
85
|
} | null | undefined;
|
|
86
|
+
operationalGroup?: string | null | undefined;
|
|
86
87
|
thresholds?: {
|
|
87
88
|
low: number;
|
|
88
89
|
mid: number;
|
|
89
90
|
} | null | undefined;
|
|
90
|
-
|
|
91
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
91
92
|
unit: {
|
|
92
93
|
_id: string;
|
|
93
94
|
name: string;
|
|
@@ -125,6 +126,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
125
126
|
id: string;
|
|
126
127
|
}[];
|
|
127
128
|
recipes: {
|
|
129
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
128
130
|
_id: string;
|
|
129
131
|
name: string;
|
|
130
132
|
contains: {
|
|
@@ -63,11 +63,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
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
|
-
|
|
71
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
71
72
|
unit: {
|
|
72
73
|
_id: string;
|
|
73
74
|
name: string;
|
|
@@ -90,6 +91,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
90
91
|
items: InventoryBinding[];
|
|
91
92
|
editable: boolean;
|
|
92
93
|
recipes: {
|
|
94
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
93
95
|
_id: string;
|
|
94
96
|
name: string;
|
|
95
97
|
contains: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** Use in
|
|
1
|
+
/** Use in "\<script setup\>" only! */
|
|
2
2
|
export declare function defineDeepModel<T>(name?: string): T;
|