@feedmepos/mf-inventory-portal 0.0.23-dev.31 → 0.0.23-dev.4
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-CEmWJ9lp.js → App-DReDvY0M.js} +73 -85
- package/dist/{ApprovalView-jDll4AVe.js → ApprovalView-BMZlYmRk.js} +27 -24
- package/dist/{BindingsDialog-BC_gRSif.js → BindingsDialog-Y2K4I7H7.js} +4 -4
- package/dist/{BindingsPicker-BJsGoBzM.js → BindingsPicker-DKBq9c37.js} +9 -8
- package/dist/{BindingsTable-DSdwNK_q.js → BindingsTable-45v4SDfp.js} +22 -18
- package/dist/{ClosingTemplateView-BzG16gl5.js → ClosingTemplateView-CKJVYSbj.js} +286 -272
- package/dist/FmDroppableField-8RzKjEdL.js +154 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DW2IOPST.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CMEOp-0r.js} +23 -22
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BhdcqRh-.js +436 -0
- package/dist/FmMultiselectDialog-D7YtdoyJ.js +415 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DDuZEf_v.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C1DjyjyH.js} +49 -48
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CiNvnaaE.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-zjvFEF5C.js} +5 -5
- package/dist/{IngredientGroupView-DL8eBhkk.js → IngredientGroupView-BuP-HGeg.js} +69 -63
- package/dist/IngredientsView-DMRN-odY.js +1613 -0
- package/dist/{IntegrationView-BeFT5S24.js → IntegrationView-kYCaKG0o.js} +95 -92
- package/dist/{InventoryBindingForm-DJ3uwq_X.js → InventoryBindingForm-BXHq4h-n.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DIviTipZ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CVxJ_bV3.js} +27 -25
- package/dist/{InventoryBindingSummary-CvB5j9xq.js → InventoryBindingSummary-Bjasfc_v.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CQPdnXEF.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DM0C4raP.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BdscwUGn.js → PremiumBadge.vue_vue_type_script_setup_true_lang-C3O3JebE.js} +24 -23
- package/dist/{PurchaseOrderPrintPreview-3_6nBajH.js → PurchaseOrderPrintPreview-CmjkfTTS.js} +14 -13
- package/dist/{ReceiveRequestView-B_0UldQ7.js → ReceiveRequestView-aQZJO8sq.js} +1302 -1325
- package/dist/{RecipeView-D9p0Ou_I.js → RecipeView-DXO43tFi.js} +85 -79
- package/dist/{StockView-TIdUgG3O.js → StockView-D9no-mrA.js} +1446 -1338
- package/dist/{SupplierView-B1b9Otcr.js → SupplierView-DAx7E7sR.js} +787 -2325
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +135 -0
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DCA0RUfu.js +1209 -0
- package/dist/TransferTemplateView-CfxdQF1t.js +1261 -0
- package/dist/{UnitView-BrpzJ7D3.js → UnitView-CQPGZ8-r.js} +44 -40
- package/dist/{WarehouseView-CjbdEy8o.js → WarehouseView-jy-RNCgy.js} +100 -94
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/api/closing.d.ts +0 -1
- package/dist/api/netsuite.d.ts +3 -3
- package/dist/app-KnSMkJBV.js +33496 -0
- package/dist/app.d.ts +0 -56
- package/dist/app.js +2 -2
- package/dist/components/FmMultiselectDialogProps.d.ts +0 -1
- package/dist/components/row-action.enum.d.ts +0 -1
- package/dist/composable/defineDeepModel.d.ts +1 -1
- package/dist/date2-CIeUqUIc.js +117 -0
- package/dist/dayjs.min-Df5jSnDJ.js +282 -0
- package/dist/{decimal-DHYZglKx.js → decimal-BAc9M88Q.js} +1 -1
- package/dist/defineDeepModel-BfuQAIoM.js +13 -0
- package/dist/{feature-G-NnqKcY.js → feature-dwB4OxRQ.js} +6 -12
- package/dist/format-time-from-id-BbvzyIN6.js +15 -0
- package/dist/{format-unit-display-BWqJsV_R.js → format-unit-display-BBWblJEt.js} +171 -162
- package/dist/fuzzy-B9ryZ9VZ.js +41 -0
- package/dist/index-BN0CY3sZ.js +22277 -0
- package/dist/index-Bj1fJum-.js +45 -0
- package/dist/index-C4yL_7rR.js +10545 -0
- package/dist/netsuite-ByWOS6tI.js +194 -0
- package/dist/normalizeArguments-DP7Hrren.js +1552 -0
- package/dist/router/name.d.ts +0 -2
- package/dist/row-action.enum-PMKMRrZR.js +50 -0
- package/dist/rules-C12nWDD1.js +198 -0
- package/dist/stores/feature.d.ts +0 -1
- package/dist/stores/integration/netsuite.d.ts +2 -70
- package/dist/stores/inventory.d.ts +4 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-DTUUR48O.js → supplier-DJC0UZWv.js} +15 -15
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-DvC_i-Ih.js → use-inventory-binding-dialog-PEQbFRvO.js} +11 -10
- package/dist/use-template-enabled-locations-2-k9g5t8tt.js +86 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +192 -24
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +193 -25
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +0 -2
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +0 -6
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +0 -9
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +0 -9
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
- package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
- package/dist/xlsx-B4XHad7S.js +24004 -0
- package/dist/xlsx.util-BSO4SHJi.js +78 -0
- package/package.json +3 -3
- package/dist/ClosingDraftView-UfWdRXb-.js +0 -1190
- package/dist/IngredientsView-B_HC9fgq.js +0 -1657
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-jUYB4L8Y.js +0 -1275
- package/dist/TransferTemplateView-Dxk5b-2j.js +0 -1264
- package/dist/api/adjustment-template.d.ts +0 -23
- package/dist/api/closing-draft.d.ts +0 -6
- package/dist/app-AcMtTQ07.js +0 -84202
- package/dist/index-Bt8vaUdT.js +0 -12087
- package/dist/stock-VZXyPw2C.js +0 -125
- package/dist/views/adjustment-template/import/AdjustmentTemplateImport.vue.d.ts +0 -2
- package/dist/views/adjustment-template/import/AdjustmentTemplateImportItem.vue.d.ts +0 -18
- package/dist/views/adjustment-template/import/export.d.ts +0 -60
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDetails.vue.d.ts +0 -2
- package/dist/views/adjustment-template/wastage-template/WastageTemplateDialog.vue.d.ts +0 -22
- package/dist/views/adjustment-template/wastage-template/WastageTemplatePublish.vue.d.ts +0 -6
- package/dist/views/adjustment-template/wastage-template/WastageTemplateView.vue.d.ts +0 -2
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +0 -1295
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateForm.vue.d.ts +0 -16
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +0 -35
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +0 -20
- package/dist/views/adjustment-template/wastage-template/props.d.ts +0 -29
- package/dist/views/adjustment-template/wastage-template/table.d.ts +0 -1273
- package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +0 -2
- package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +0 -22
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +0 -621
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +0 -25
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +0 -3621
- package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +0 -1
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +0 -19
- package/dist/views/closing-draft/helpers/get-calculated-total.helper.d.ts +0 -4
- package/dist/views/receive-request/components/netsuite/NetSuiteInfo.vue.d.ts +0 -12
- package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +0 -13
- package/dist/views/receive-request/components/netsuite/NetSuiteSync.vue.d.ts +0 -12
package/dist/stock-VZXyPw2C.js
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { W as m, u as B, a as d, am as k, K as p } from "./app-AcMtTQ07.js";
|
|
2
|
-
import { useCoreStore as v } from "@feedmepos/mf-common";
|
|
3
|
-
import { useSnackbar as y } from "@feedmepos/ui-library";
|
|
4
|
-
import { ref as $, computed as S } from "vue";
|
|
5
|
-
const b = m((r, o) => {
|
|
6
|
-
const u = B(), a = v(), c = y();
|
|
7
|
-
return o.onError(async (t) => {
|
|
8
|
-
t.name === "SvcForbiddenError" && (c == null || c.open({
|
|
9
|
-
title: t.title,
|
|
10
|
-
message: t.message,
|
|
11
|
-
type: "error"
|
|
12
|
-
}));
|
|
13
|
-
}), {
|
|
14
|
-
async readStockBalance() {
|
|
15
|
-
const t = u.currentLocationDBName, e = `${r.inventoryBackendUrl}/${t}/stock-balance`;
|
|
16
|
-
return await o.get(e);
|
|
17
|
-
},
|
|
18
|
-
async readSkuBalance() {
|
|
19
|
-
var s;
|
|
20
|
-
const t = u.currentLocationDBName, e = `${r.inventoryBackendUrl}/${t}/sku/balance`;
|
|
21
|
-
return (((s = a.currentBusiness.value) == null ? void 0 : s.menuVersion) ?? "") === "v3" ? await o.get(e) : await o.get(`${e}?useInventoryDoc=true`);
|
|
22
|
-
},
|
|
23
|
-
async readSingleAdjustment(t) {
|
|
24
|
-
const e = u.currentLocationDBName, n = `${r.inventoryBackendUrl}/${e}/adjustment`;
|
|
25
|
-
return await o.get(`${n}?adjustmentId=${t}`);
|
|
26
|
-
},
|
|
27
|
-
async readStockAdjustment(t, e, n) {
|
|
28
|
-
const s = u.currentLocationDBName, i = `${r.inventoryBackendUrl}/${s}/sku`;
|
|
29
|
-
return await o.get(`${i}?skuId=${t}&start=${e}&end=${n}`);
|
|
30
|
-
},
|
|
31
|
-
async convertSku(t) {
|
|
32
|
-
var i;
|
|
33
|
-
const e = u.currentLocationDBName, n = `${r.inventoryBackendUrl}/${e}/sku/convert`;
|
|
34
|
-
return (((i = a.currentBusiness.value) == null ? void 0 : i.menuVersion) ?? "") === "v3" ? await o.post(n, t) : await o.post(`${n}?useInventoryDoc=true`, t);
|
|
35
|
-
},
|
|
36
|
-
async adjustSku(t) {
|
|
37
|
-
var i;
|
|
38
|
-
const e = u.currentLocationDBName, n = `${r.inventoryBackendUrl}/${e}/sku/adjust`;
|
|
39
|
-
return (((i = a.currentBusiness.value) == null ? void 0 : i.menuVersion) ?? "") === "v3" ? await o.post(n, t) : await o.post(`${n}?useInventoryDoc=true`, t);
|
|
40
|
-
},
|
|
41
|
-
recalculation: {
|
|
42
|
-
getRecalculateAbility() {
|
|
43
|
-
var s;
|
|
44
|
-
const e = `business_${(s = a.currentBusiness.value) == null ? void 0 : s._id}`, n = `${r.inventoryBackendUrl}/${e}/stock/operations/recalculate`;
|
|
45
|
-
return o.get(n);
|
|
46
|
-
},
|
|
47
|
-
startRecalculateTask() {
|
|
48
|
-
var s;
|
|
49
|
-
const e = `business_${(s = a.currentBusiness.value) == null ? void 0 : s._id}`, n = `${r.inventoryBackendUrl}/${e}/stock/operations/recalculate?refundFromPreviousAdjustment=true`;
|
|
50
|
-
return o.post(n);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
});
|
|
55
|
-
function g() {
|
|
56
|
-
return {
|
|
57
|
-
stockBalance: {
|
|
58
|
-
_id: "",
|
|
59
|
-
items: []
|
|
60
|
-
},
|
|
61
|
-
productBalance: []
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
const f = p(0), w = {
|
|
65
|
-
id: "",
|
|
66
|
-
balance: f,
|
|
67
|
-
closing: null,
|
|
68
|
-
costs: null
|
|
69
|
-
}, l = $(g()), A = () => {
|
|
70
|
-
const r = d(), o = S(() => {
|
|
71
|
-
var t;
|
|
72
|
-
const a = (t = l.value.stockBalance.skus) == null ? void 0 : t.groupBy((e) => e.id), c = (e) => {
|
|
73
|
-
var n;
|
|
74
|
-
return ((n = a == null ? void 0 : a.get(e)) == null ? void 0 : n[0]) ?? { ...w, id: e };
|
|
75
|
-
};
|
|
76
|
-
return r.skus.map((e) => c(e._id));
|
|
77
|
-
}), u = b();
|
|
78
|
-
return {
|
|
79
|
-
// state
|
|
80
|
-
get stockBalance() {
|
|
81
|
-
return {
|
|
82
|
-
...l.value.stockBalance,
|
|
83
|
-
skus: o.value
|
|
84
|
-
};
|
|
85
|
-
},
|
|
86
|
-
set stockBalance(a) {
|
|
87
|
-
l.value.stockBalance = a;
|
|
88
|
-
},
|
|
89
|
-
get productBalance() {
|
|
90
|
-
return l.value.productBalance;
|
|
91
|
-
},
|
|
92
|
-
set productBalance(a) {
|
|
93
|
-
l.value.productBalance = a;
|
|
94
|
-
},
|
|
95
|
-
// actions
|
|
96
|
-
async readStockBalance() {
|
|
97
|
-
this.stockBalance = await u.readStockBalance();
|
|
98
|
-
},
|
|
99
|
-
async readProductBalance() {
|
|
100
|
-
this.productBalance = [];
|
|
101
|
-
const a = d(), c = k({
|
|
102
|
-
recipes: a.recipes,
|
|
103
|
-
skus: a.skus,
|
|
104
|
-
inventoryBindingMapping: {},
|
|
105
|
-
stockBalance: this.stockBalance
|
|
106
|
-
// silent: true
|
|
107
|
-
});
|
|
108
|
-
function t(e, n) {
|
|
109
|
-
return Object.prototype.hasOwnProperty.call(e, n);
|
|
110
|
-
}
|
|
111
|
-
for (const e in c.convertCountdown)
|
|
112
|
-
if (t(c.convertCountdown, e)) {
|
|
113
|
-
const n = c.convertCountdown[e];
|
|
114
|
-
this.productBalance.push({
|
|
115
|
-
id: e,
|
|
116
|
-
count: n
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
export {
|
|
123
|
-
b as a,
|
|
124
|
-
A as u
|
|
125
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface AdjustmentTemplateImportItemProps {
|
|
2
|
-
type: 'create' | 'update';
|
|
3
|
-
name: string;
|
|
4
|
-
locations?: FdoInventoryLocation[] | null | undefined;
|
|
5
|
-
items?: FdoAdjustmentTemplateItem[] | null | undefined;
|
|
6
|
-
errors: string[];
|
|
7
|
-
}
|
|
8
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AdjustmentTemplateImportItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AdjustmentTemplateImportItemProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
-
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import type { WorkBook, WorkSheet } from 'xlsx';
|
|
2
|
-
import type { RevisionIdMeta } from '@feedmepos/inventory-core';
|
|
3
|
-
import type { FdoMenuV4 } from '@feedmepos/menu/entity';
|
|
4
|
-
export declare enum ReservedSheetNames {
|
|
5
|
-
Ingredients = "Ingredients"
|
|
6
|
-
}
|
|
7
|
-
export interface AdjustmentItemRow {
|
|
8
|
-
type?: string;
|
|
9
|
-
code?: string | null;
|
|
10
|
-
name?: string;
|
|
11
|
-
/** abbrev for base unit or measurement unit */
|
|
12
|
-
unit?: string;
|
|
13
|
-
enabled?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface TemplateInfo {
|
|
16
|
-
id: string;
|
|
17
|
-
name: string;
|
|
18
|
-
reference: string;
|
|
19
|
-
locations: string[];
|
|
20
|
-
}
|
|
21
|
-
export interface ImportCreateResult {
|
|
22
|
-
type: 'create';
|
|
23
|
-
template: Omit<FdoAdjustmentTemplate, '_id'>;
|
|
24
|
-
excelSheetName: string;
|
|
25
|
-
errors: string[];
|
|
26
|
-
}
|
|
27
|
-
export interface ImportUpdateResult {
|
|
28
|
-
type: 'update';
|
|
29
|
-
original: FdoAdjustmentTemplate;
|
|
30
|
-
template: FdoAdjustmentTemplate & RevisionIdMeta;
|
|
31
|
-
excelSheetName: string;
|
|
32
|
-
errors: string[];
|
|
33
|
-
}
|
|
34
|
-
export type ImportResult = {
|
|
35
|
-
invalidExcel: boolean;
|
|
36
|
-
invalidExcelMessage?: string;
|
|
37
|
-
importCreateResult: ImportCreateResult[];
|
|
38
|
-
importUpdateResult: ImportUpdateResult[];
|
|
39
|
-
};
|
|
40
|
-
export type ObjectWithIndex<T> = {
|
|
41
|
-
index: number;
|
|
42
|
-
data: T;
|
|
43
|
-
};
|
|
44
|
-
export declare const FakeUnit: FdoInventoryUnit;
|
|
45
|
-
export declare function templateItemToExcelRow(item: FdoAdjustmentTemplateItem, inventory: FdoInventory, menu?: FdoMenuV4 | null): AdjustmentItemRow[];
|
|
46
|
-
export type ColIdHeader<T> = {
|
|
47
|
-
id: keyof T;
|
|
48
|
-
name: string;
|
|
49
|
-
};
|
|
50
|
-
export declare function getExcelHeaders(): ColIdHeader<AdjustmentItemRow>[];
|
|
51
|
-
export declare function exportTemplates(templates: FdoAdjustmentTemplate[]): string;
|
|
52
|
-
export declare function exportImportTemplate(): string;
|
|
53
|
-
/** @returns empty array if for all locations */
|
|
54
|
-
export declare function extractLocations(locationRow: string[]): {
|
|
55
|
-
location?: FdoInventoryLocation;
|
|
56
|
-
errors: string[];
|
|
57
|
-
}[];
|
|
58
|
-
export declare function worksheetToTemplateMeta(sheet: WorkSheet): TemplateInfo;
|
|
59
|
-
export declare function worksheetToItemRow(sheet: WorkSheet): ObjectWithIndex<AdjustmentItemRow>[];
|
|
60
|
-
export declare function getItemToCreateUpdate(workbook: WorkBook): ImportResult;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { WastageTemplateDialogProps } from './props';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<WastageTemplateDialogProps>>, {
|
|
3
|
-
validateInputs: () => void;
|
|
4
|
-
resetInputsValidation: () => void;
|
|
5
|
-
resetInputs: () => void;
|
|
6
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:show": (show: boolean) => void;
|
|
8
|
-
submitted: () => void;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<WastageTemplateDialogProps>>> & Readonly<{
|
|
10
|
-
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
11
|
-
onSubmitted?: (() => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
-
close: () => void;
|
|
3
|
-
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
onClose?: (() => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|