@feedmepos/mf-inventory-portal 0.0.23-dev.28 → 0.0.23-dev.3
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-DRBjtrVV.js → App-BREfwtck.js} +73 -85
- package/dist/{ApprovalView-OzaufzMA.js → ApprovalView-DCzLx24G.js} +27 -24
- package/dist/{BindingsDialog-DQwWNg1N.js → BindingsDialog-CUcC8lue.js} +4 -4
- package/dist/{BindingsPicker-DSYOkBTy.js → BindingsPicker-3VOdZBWI.js} +9 -8
- package/dist/{BindingsTable-BB39IdFU.js → BindingsTable-D5Lt6GOO.js} +22 -18
- package/dist/{ClosingTemplateView-Dk5TTe31.js → ClosingTemplateView-CukthwOo.js} +286 -272
- package/dist/FmDroppableField-8RzKjEdL.js +154 -0
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dwb3eBLo.js +267 -0
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CvtvzIt1.js +436 -0
- package/dist/FmMultiselectDialog-CKBcMDGC.js +415 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-qqudhwEN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DigsIOB0.js} +114 -116
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-g1RpNK-0.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DweLQVwq.js} +5 -5
- package/dist/{IngredientGroupView-CREz-Vh2.js → IngredientGroupView-CkD8x2CP.js} +69 -63
- package/dist/IngredientsView-DuK4YSD6.js +1613 -0
- package/dist/{IntegrationView-3cA_x_gB.js → IntegrationView-BfeV07OO.js} +95 -92
- package/dist/{InventoryBindingForm-DDS19Q0p.js → InventoryBindingForm-BsSmth0U.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-5elMjhnH.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CMV5e99K.js} +27 -25
- package/dist/{InventoryBindingSummary-HSClvlZ5.js → InventoryBindingSummary-BHloDawE.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ni8Q5uWj.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BjddpTCS.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-ClmXXhpb.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BZBa_99i.js} +24 -23
- package/dist/{PurchaseOrderPrintPreview-wKM6u0Ci.js → PurchaseOrderPrintPreview-CTdd-RuH.js} +14 -13
- package/dist/ReceiveRequestView-CgWNaYs1.js +4104 -0
- package/dist/{RecipeView-DJzDyKB5.js → RecipeView-CrmDQdc5.js} +85 -79
- package/dist/{StockView-DO4ys9XN.js → StockView-Xb3fQaiD.js} +1446 -1338
- package/dist/{SupplierView-BIJkWdt4.js → SupplierView-CrtIiaz0.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-C9H41eg7.js +1189 -0
- package/dist/TransferTemplateView-Cc7VRbZ7.js +1262 -0
- package/dist/{UnitView-DJoSWs6g.js → UnitView-C6BgrZ1G.js} +44 -40
- package/dist/{WarehouseView-C8YZTOZd.js → WarehouseView-Hhd76ybU.js} +100 -94
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/api/bill.d.ts +2 -2
- package/dist/api/closing.d.ts +0 -1
- package/dist/api/netsuite.d.ts +1 -1
- package/dist/app-CwUHqg7h.js +33462 -0
- package/dist/app.d.ts +0 -56
- package/dist/app.js +2 -2
- package/dist/components/FmMinMaxInputRules.d.ts +1 -4
- 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-CHNm4ELK.js +117 -0
- package/dist/dayjs.min-FE3dpxHU.js +282 -0
- package/dist/{decimal-0QwuGxcA.js → decimal-rPKr5T-H.js} +1 -1
- package/dist/defineDeepModel-Dc1zZzOi.js +13 -0
- package/dist/{feature-Q0gPMHLe.js → feature-z95vJnA1.js} +9 -23
- package/dist/format-time-from-id-CaPj8EHN.js +15 -0
- package/dist/format-unit-display-Bkz5kW6p.js +1198 -0
- package/dist/fuzzy-DXqhGaFi.js +41 -0
- package/dist/index-BMJHz32O.js +22277 -0
- package/dist/index-Be5vGZdr.js +45 -0
- package/dist/index-D2juQPg6.js +10545 -0
- package/dist/netsuite-P0as0Moa.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-BQz4NGht.js +198 -0
- package/dist/stores/feature.d.ts +0 -2
- package/dist/stores/integration/netsuite.d.ts +1 -69
- package/dist/stores/inventory.d.ts +4 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-xeNz-LFV.js → supplier-BixmjZyl.js} +15 -15
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-WCVWoWcc.js → use-inventory-binding-dialog-BRygbm1p.js} +11 -10
- package/dist/use-template-enabled-locations-2-Dd15d-ng.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/TransferForm.vue.d.ts +34 -34
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +54 -54
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +54 -54
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- 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/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -8
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -96
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -96
- package/dist/xlsx-k2Rf0NcF.js +24004 -0
- package/dist/xlsx.util-CJxPf7XZ.js +78 -0
- package/package.json +2 -2
- package/dist/ClosingDraftView-CF3wn51T.js +0 -1190
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-vvfsYTGA.js +0 -282
- package/dist/IngredientsView-DzI9vr-u.js +0 -1657
- package/dist/ReceiveRequestView-CTk9r1bA.js +0 -4188
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-KSBV1U_z.js +0 -1227
- package/dist/TransferTemplateView-CDUNWRLQ.js +0 -1264
- package/dist/api/adjustment-template.d.ts +0 -23
- package/dist/api/closing-draft.d.ts +0 -6
- package/dist/app-CYk4J4VK.js +0 -84180
- package/dist/format-unit-display-BIMHakYl.js +0 -1207
- package/dist/index-BQjj0Tdx.js +0 -12087
- package/dist/stock-ahRK16Qq.js +0 -110
- 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/helper/check-netsuite-subsidiary.helper.d.ts +0 -1
package/dist/stock-ahRK16Qq.js
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { W as l, u as m, a as B, am as k } from "./app-CYk4J4VK.js";
|
|
2
|
-
import { useCoreStore as p } from "@feedmepos/mf-common";
|
|
3
|
-
import { useSnackbar as v } from "@feedmepos/ui-library";
|
|
4
|
-
import { ref as y } from "vue";
|
|
5
|
-
const $ = l((o, t) => {
|
|
6
|
-
const s = m(), u = p(), c = v();
|
|
7
|
-
return t.onError(async (e) => {
|
|
8
|
-
e.name === "SvcForbiddenError" && (c == null || c.open({
|
|
9
|
-
title: e.title,
|
|
10
|
-
message: e.message,
|
|
11
|
-
type: "error"
|
|
12
|
-
}));
|
|
13
|
-
}), {
|
|
14
|
-
async readStockBalance() {
|
|
15
|
-
const e = s.currentLocationDBName, n = `${o.inventoryBackendUrl}/${e}/stock-balance`;
|
|
16
|
-
return await t.get(n);
|
|
17
|
-
},
|
|
18
|
-
async readSkuBalance() {
|
|
19
|
-
var r;
|
|
20
|
-
const e = s.currentLocationDBName, n = `${o.inventoryBackendUrl}/${e}/sku/balance`;
|
|
21
|
-
return (((r = u.currentBusiness.value) == null ? void 0 : r.menuVersion) ?? "") === "v3" ? await t.get(n) : await t.get(`${n}?useInventoryDoc=true`);
|
|
22
|
-
},
|
|
23
|
-
async readSingleAdjustment(e) {
|
|
24
|
-
const n = s.currentLocationDBName, a = `${o.inventoryBackendUrl}/${n}/adjustment`;
|
|
25
|
-
return await t.get(`${a}?adjustmentId=${e}`);
|
|
26
|
-
},
|
|
27
|
-
async readStockAdjustment(e, n, a) {
|
|
28
|
-
const r = s.currentLocationDBName, i = `${o.inventoryBackendUrl}/${r}/sku`;
|
|
29
|
-
return await t.get(`${i}?skuId=${e}&start=${n}&end=${a}`);
|
|
30
|
-
},
|
|
31
|
-
async convertSku(e) {
|
|
32
|
-
var i;
|
|
33
|
-
const n = s.currentLocationDBName, a = `${o.inventoryBackendUrl}/${n}/sku/convert`;
|
|
34
|
-
return (((i = u.currentBusiness.value) == null ? void 0 : i.menuVersion) ?? "") === "v3" ? await t.post(a, e) : await t.post(`${a}?useInventoryDoc=true`, e);
|
|
35
|
-
},
|
|
36
|
-
async adjustSku(e) {
|
|
37
|
-
var i;
|
|
38
|
-
const n = s.currentLocationDBName, a = `${o.inventoryBackendUrl}/${n}/sku/adjust`;
|
|
39
|
-
return (((i = u.currentBusiness.value) == null ? void 0 : i.menuVersion) ?? "") === "v3" ? await t.post(a, e) : await t.post(`${a}?useInventoryDoc=true`, e);
|
|
40
|
-
},
|
|
41
|
-
recalculation: {
|
|
42
|
-
getRecalculateAbility() {
|
|
43
|
-
var r;
|
|
44
|
-
const n = `business_${(r = u.currentBusiness.value) == null ? void 0 : r._id}`, a = `${o.inventoryBackendUrl}/${n}/stock/operations/recalculate`;
|
|
45
|
-
return t.get(a);
|
|
46
|
-
},
|
|
47
|
-
startRecalculateTask() {
|
|
48
|
-
var r;
|
|
49
|
-
const n = `business_${(r = u.currentBusiness.value) == null ? void 0 : r._id}`, a = `${o.inventoryBackendUrl}/${n}/stock/operations/recalculate?refundFromPreviousAdjustment=true`;
|
|
50
|
-
return t.post(a);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
});
|
|
55
|
-
function S() {
|
|
56
|
-
return {
|
|
57
|
-
stockBalance: {
|
|
58
|
-
_id: "",
|
|
59
|
-
items: []
|
|
60
|
-
},
|
|
61
|
-
productBalance: []
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
const d = y(S()), N = () => {
|
|
65
|
-
const o = $();
|
|
66
|
-
return {
|
|
67
|
-
// state
|
|
68
|
-
get stockBalance() {
|
|
69
|
-
return d.value.stockBalance;
|
|
70
|
-
},
|
|
71
|
-
set stockBalance(t) {
|
|
72
|
-
d.value.stockBalance = t;
|
|
73
|
-
},
|
|
74
|
-
get productBalance() {
|
|
75
|
-
return d.value.productBalance;
|
|
76
|
-
},
|
|
77
|
-
set productBalance(t) {
|
|
78
|
-
d.value.productBalance = t;
|
|
79
|
-
},
|
|
80
|
-
// actions
|
|
81
|
-
async readStockBalance() {
|
|
82
|
-
this.stockBalance = await o.readStockBalance();
|
|
83
|
-
},
|
|
84
|
-
async readProductBalance() {
|
|
85
|
-
this.productBalance = [];
|
|
86
|
-
const t = B(), s = k({
|
|
87
|
-
recipes: t.recipes,
|
|
88
|
-
skus: t.skus,
|
|
89
|
-
inventoryBindingMapping: {},
|
|
90
|
-
stockBalance: this.stockBalance
|
|
91
|
-
// silent: true
|
|
92
|
-
});
|
|
93
|
-
function u(c, e) {
|
|
94
|
-
return Object.prototype.hasOwnProperty.call(c, e);
|
|
95
|
-
}
|
|
96
|
-
for (const c in s.convertCountdown)
|
|
97
|
-
if (u(s.convertCountdown, c)) {
|
|
98
|
-
const e = s.convertCountdown[c];
|
|
99
|
-
this.productBalance.push({
|
|
100
|
-
id: c,
|
|
101
|
-
count: e
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
export {
|
|
108
|
-
$ as a,
|
|
109
|
-
N as u
|
|
110
|
-
};
|
|
@@ -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;
|