twcpt 0.0.3 → 0.0.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/charts.cjs.js +1 -1
- package/dist/charts.d.ts +0 -7
- package/dist/charts.es.js +1 -9
- package/dist/components/j-tw-btn/index.d.ts +10 -10
- package/dist/components/j-tw-checkbox/index.d.ts +230 -0
- package/dist/components/j-tw-checkbox/types.d.ts +35 -0
- package/dist/components/j-tw-checkbox-group/index.d.ts +309 -0
- package/dist/components/j-tw-checkbox-group/types.d.ts +38 -0
- package/dist/components/j-tw-confirm-dialog/index.d.ts +704 -0
- package/dist/components/j-tw-confirm-dialog/jwConfirmDialog.d.ts +2 -0
- package/dist/components/j-tw-confirm-dialog/types.d.ts +79 -0
- package/dist/components/j-tw-date-picker/index.d.ts +63 -8
- package/dist/components/j-tw-date-picker/types.d.ts +15 -0
- package/dist/components/j-tw-dialog/index.d.ts +793 -0
- package/dist/components/j-tw-dialog/jwDialog.d.ts +38 -0
- package/dist/components/j-tw-dialog/types.d.ts +122 -0
- package/dist/components/j-tw-form/index.d.ts +368 -0
- package/dist/components/j-tw-form/types.d.ts +18 -0
- package/dist/components/j-tw-form-item/index.d.ts +248 -0
- package/dist/components/j-tw-form-item/types.d.ts +21 -0
- package/dist/components/j-tw-form-label/index.d.ts +66 -0
- package/dist/components/j-tw-input/index.d.ts +537 -0
- package/dist/components/j-tw-input/types.d.ts +76 -0
- package/dist/components/j-tw-messages/MessageItem.d.ts +84 -0
- package/dist/components/j-tw-messages/index.d.ts +110 -0
- package/dist/components/j-tw-messages/jwMessages.d.ts +2 -0
- package/dist/components/j-tw-messages/state.d.ts +23 -0
- package/dist/components/j-tw-messages/types.d.ts +31 -0
- package/dist/components/j-tw-radio/index.d.ts +168 -0
- package/dist/components/j-tw-radio/types.d.ts +29 -0
- package/dist/components/j-tw-radio-group/index.d.ts +244 -0
- package/dist/components/j-tw-radio-group/types.d.ts +37 -0
- package/dist/components/j-tw-status-img/index.d.ts +36 -0
- package/dist/components/j-tw-status-img/types.d.ts +3 -0
- package/dist/components/j-tw-table/index.d.ts +480 -0
- package/dist/components/j-tw-table/types.d.ts +157 -0
- package/dist/components/j-tw-tree-select/TreeNode.d.ts +124 -0
- package/dist/components/j-tw-tree-select/index.d.ts +292 -0
- package/dist/components/j-tw-tree-select/types.d.ts +110 -0
- package/dist/components/j-tw-tree-select-btn/TreeNode.d.ts +107 -0
- package/dist/components/j-tw-tree-select-btn/index.d.ts +171 -22
- package/dist/components/j-tw-tree-select-btn/types.d.ts +5 -0
- package/dist/global.d.ts +109 -49
- package/dist/index.css +1 -1
- package/dist/index.d.ts +37 -4
- package/dist/shims-svg.d.ts +4 -0
- package/dist/twcpt-styles.css +1 -1
- package/dist/twcpt.cjs.js +9 -5
- package/dist/twcpt.es.js +3552 -1666
- package/dist/types.d.ts +1 -1
- package/dist/utils/useBizRequest.d.ts +12 -0
- package/package.json +1 -3
- package/dist/charts-BRqaKjiE.js +0 -879
- package/dist/charts-lTMiYKQB.cjs +0 -1
- package/dist/components/j-ch-bar/index.d.ts +0 -50
- package/dist/components/j-ch-bar/types.d.ts +0 -42
- package/dist/components/j-ch-bar-line/index.d.ts +0 -49
- package/dist/components/j-ch-bar-line/types.d.ts +0 -42
- package/dist/components/j-ch-bubble/index.d.ts +0 -54
- package/dist/components/j-ch-bubble/types.d.ts +0 -51
- package/dist/components/j-ch-line/index.d.ts +0 -57
- package/dist/components/j-ch-line/types.d.ts +0 -42
- package/dist/components/j-ch-pie-doughnut/index.d.ts +0 -60
- package/dist/components/j-ch-pie-doughnut/types.d.ts +0 -55
- package/dist/components/j-ch-radar/index.d.ts +0 -49
- package/dist/components/j-ch-radar/types.d.ts +0 -42
- package/dist/utils/chart.d.ts +0 -28
|
@@ -30,7 +30,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
30
30
|
default: boolean;
|
|
31
31
|
};
|
|
32
32
|
tips: {
|
|
33
|
-
type: (
|
|
33
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
36
|
tooltipConfig: {
|
|
@@ -65,6 +65,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
65
65
|
type: BooleanConstructor;
|
|
66
66
|
default: boolean;
|
|
67
67
|
};
|
|
68
|
+
defaultExpandFirst: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
68
72
|
}>, {
|
|
69
73
|
treeSelectRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
70
74
|
mainBtnRef: Ref<({
|
|
@@ -158,7 +162,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
158
162
|
tag: string | Component;
|
|
159
163
|
}> & Omit<Readonly< ButtonProps> & Readonly<{
|
|
160
164
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
161
|
-
}>, "
|
|
165
|
+
}>, "text" | "size" | "type" | "disabled" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef<{
|
|
162
166
|
ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
163
167
|
size: ComputedRef<"" | "default" | "large" | "small">;
|
|
164
168
|
type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -263,7 +267,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
263
267
|
tag: string | Component;
|
|
264
268
|
}> & Omit<Readonly< ButtonProps> & Readonly<{
|
|
265
269
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
266
|
-
}>, "
|
|
270
|
+
}>, "text" | "size" | "type" | "disabled" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef<{
|
|
267
271
|
ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
268
272
|
size: ComputedRef<"" | "default" | "large" | "small">;
|
|
269
273
|
type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -285,6 +289,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
285
289
|
searchText: Ref<string, string>;
|
|
286
290
|
expandedKeys: Ref<Set<string | number> & Omit<Set<string | number>, keyof Set<any>>, Set<string | number> | (Set<string | number> & Omit<Set<string | number>, keyof Set<any>>)>;
|
|
287
291
|
tempSelectedValue: Ref<string | number | undefined, string | number | undefined>;
|
|
292
|
+
tempSelectedValues: Ref<Set<string | number> & Omit<Set<string | number>, keyof Set<any>>, Set<string | number> | (Set<string | number> & Omit<Set<string | number>, keyof Set<any>>)>;
|
|
288
293
|
tooltipContent: ComputedRef<string>;
|
|
289
294
|
displayLabel: ComputedRef<string>;
|
|
290
295
|
filteredData: ComputedRef<JTWTreeNode[]>;
|
|
@@ -331,6 +336,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
331
336
|
handleCancel: () => void;
|
|
332
337
|
isNodeChecked: (nodeValue: string | number) => boolean;
|
|
333
338
|
isNodeIndeterminate: (node: JTWTreeNode) => boolean;
|
|
339
|
+
isNodeSelected: (nodeValue: string | number) => boolean;
|
|
334
340
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
335
341
|
click: (_e: MouseEvent) => true;
|
|
336
342
|
'update:modelValue': (_value: string | number | (string | number)[]) => true;
|
|
@@ -361,7 +367,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
361
367
|
default: boolean;
|
|
362
368
|
};
|
|
363
369
|
tips: {
|
|
364
|
-
type: (
|
|
370
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
365
371
|
default: string;
|
|
366
372
|
};
|
|
367
373
|
tooltipConfig: {
|
|
@@ -396,27 +402,32 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
396
402
|
type: BooleanConstructor;
|
|
397
403
|
default: boolean;
|
|
398
404
|
};
|
|
405
|
+
defaultExpandFirst: {
|
|
406
|
+
type: BooleanConstructor;
|
|
407
|
+
default: boolean;
|
|
408
|
+
};
|
|
399
409
|
}>> & Readonly<{
|
|
400
|
-
onSelect?: ((_node: JTWTreeNode | JTWTreeNode[]) => any) | undefined;
|
|
401
410
|
onClick?: ((_e: MouseEvent) => any) | undefined;
|
|
402
|
-
|
|
411
|
+
onSelect?: ((_node: JTWTreeNode | JTWTreeNode[]) => any) | undefined;
|
|
403
412
|
"onUpdate:modelValue"?: ((_value: string | number | (string | number)[]) => any) | undefined;
|
|
413
|
+
onCancel?: (() => any) | undefined;
|
|
404
414
|
onConfirm?: ((_node: JTWTreeNode | JTWTreeNode[] | null) => any) | undefined;
|
|
405
415
|
}>, {
|
|
416
|
+
size: JTWBtnSizeType;
|
|
406
417
|
type: JTWBtnTypeType;
|
|
407
|
-
|
|
418
|
+
outline: boolean;
|
|
408
419
|
label: string;
|
|
409
|
-
size: JTWBtnSizeType;
|
|
410
420
|
loading: boolean;
|
|
411
|
-
outline: boolean;
|
|
412
421
|
tips: string | number;
|
|
413
422
|
tooltipConfig: JTWBtnTooltipConfig;
|
|
423
|
+
data: JTWTreeNode[];
|
|
414
424
|
modelValue: string | number | (string | number)[];
|
|
415
425
|
searchPlaceholder: string;
|
|
416
426
|
dropdownWidth: number;
|
|
417
427
|
dropdownMaxHeight: number;
|
|
418
428
|
accordion: boolean;
|
|
419
429
|
multiple: boolean;
|
|
430
|
+
defaultExpandFirst: boolean;
|
|
420
431
|
}, {}, {
|
|
421
432
|
ElButton: {
|
|
422
433
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ButtonProps> & Readonly<{
|
|
@@ -596,7 +607,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
596
607
|
strategy: "absolute" | "fixed";
|
|
597
608
|
arrowOffset: number;
|
|
598
609
|
showArrow: boolean;
|
|
599
|
-
role: "dialog" | "
|
|
610
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
600
611
|
content: string;
|
|
601
612
|
showAfter: number;
|
|
602
613
|
hideAfter: number;
|
|
@@ -647,7 +658,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
647
658
|
strategy: "absolute" | "fixed";
|
|
648
659
|
arrowOffset: number;
|
|
649
660
|
showArrow: boolean;
|
|
650
|
-
role: "dialog" | "
|
|
661
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
651
662
|
content: string;
|
|
652
663
|
showAfter: number;
|
|
653
664
|
hideAfter: number;
|
|
@@ -703,7 +714,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
703
714
|
strategy: "absolute" | "fixed";
|
|
704
715
|
arrowOffset: number;
|
|
705
716
|
showArrow: boolean;
|
|
706
|
-
role: "dialog" | "
|
|
717
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
707
718
|
content: string;
|
|
708
719
|
showAfter: number;
|
|
709
720
|
hideAfter: number;
|
|
@@ -749,7 +760,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
749
760
|
default: boolean;
|
|
750
761
|
};
|
|
751
762
|
tips: {
|
|
752
|
-
type: (
|
|
763
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
753
764
|
default: string;
|
|
754
765
|
};
|
|
755
766
|
tooltipConfig: {
|
|
@@ -848,7 +859,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
848
859
|
tag: string | Component;
|
|
849
860
|
}> & Omit<Readonly< ButtonProps> & Readonly<{
|
|
850
861
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
851
|
-
}>, "
|
|
862
|
+
}>, "text" | "size" | "type" | "disabled" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef<{
|
|
852
863
|
ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
853
864
|
size: ComputedRef<"" | "default" | "large" | "small">;
|
|
854
865
|
type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -953,7 +964,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
953
964
|
tag: string | Component;
|
|
954
965
|
}> & Omit<Readonly< ButtonProps> & Readonly<{
|
|
955
966
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
956
|
-
}>, "
|
|
967
|
+
}>, "text" | "size" | "type" | "disabled" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef<{
|
|
957
968
|
ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
958
969
|
size: ComputedRef<"" | "default" | "large" | "small">;
|
|
959
970
|
type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -1032,7 +1043,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1032
1043
|
default: boolean;
|
|
1033
1044
|
};
|
|
1034
1045
|
tips: {
|
|
1035
|
-
type: (
|
|
1046
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1036
1047
|
default: string;
|
|
1037
1048
|
};
|
|
1038
1049
|
tooltipConfig: {
|
|
@@ -1042,13 +1053,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1042
1053
|
}>> & Readonly<{
|
|
1043
1054
|
onClick?: ((_e: MouseEvent) => any) | undefined;
|
|
1044
1055
|
}>, {
|
|
1056
|
+
size: JTWBtnSizeType;
|
|
1045
1057
|
type: JTWBtnTypeType;
|
|
1058
|
+
color: string;
|
|
1059
|
+
outline: boolean;
|
|
1046
1060
|
flat: boolean;
|
|
1047
1061
|
label: string;
|
|
1048
|
-
size: JTWBtnSizeType;
|
|
1049
|
-
color: string;
|
|
1050
1062
|
loading: boolean;
|
|
1051
|
-
outline: boolean;
|
|
1052
1063
|
tips: string | number;
|
|
1053
1064
|
tooltipConfig: JTWBtnTooltipConfig;
|
|
1054
1065
|
}, {}, {
|
|
@@ -1230,7 +1241,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1230
1241
|
strategy: "absolute" | "fixed";
|
|
1231
1242
|
arrowOffset: number;
|
|
1232
1243
|
showArrow: boolean;
|
|
1233
|
-
role: "dialog" | "
|
|
1244
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
1234
1245
|
content: string;
|
|
1235
1246
|
showAfter: number;
|
|
1236
1247
|
hideAfter: number;
|
|
@@ -1281,7 +1292,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1281
1292
|
strategy: "absolute" | "fixed";
|
|
1282
1293
|
arrowOffset: number;
|
|
1283
1294
|
showArrow: boolean;
|
|
1284
|
-
role: "dialog" | "
|
|
1295
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
1285
1296
|
content: string;
|
|
1286
1297
|
showAfter: number;
|
|
1287
1298
|
hideAfter: number;
|
|
@@ -1337,7 +1348,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1337
1348
|
strategy: "absolute" | "fixed";
|
|
1338
1349
|
arrowOffset: number;
|
|
1339
1350
|
showArrow: boolean;
|
|
1340
|
-
role: "dialog" | "
|
|
1351
|
+
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
1341
1352
|
content: string;
|
|
1342
1353
|
showAfter: number;
|
|
1343
1354
|
hideAfter: number;
|
|
@@ -1352,5 +1363,143 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
1352
1363
|
};
|
|
1353
1364
|
})>;
|
|
1354
1365
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1366
|
+
TreeNode: DefineComponent<ExtractPropTypes<{
|
|
1367
|
+
node: {
|
|
1368
|
+
type: PropType<JTWTreeNode>;
|
|
1369
|
+
required: true;
|
|
1370
|
+
};
|
|
1371
|
+
level: {
|
|
1372
|
+
type: NumberConstructor;
|
|
1373
|
+
default: number;
|
|
1374
|
+
};
|
|
1375
|
+
isLast: {
|
|
1376
|
+
type: BooleanConstructor;
|
|
1377
|
+
default: boolean;
|
|
1378
|
+
};
|
|
1379
|
+
expandedKeys: {
|
|
1380
|
+
type: PropType<Set<string | number>>;
|
|
1381
|
+
required: true;
|
|
1382
|
+
};
|
|
1383
|
+
tempSelectedValue: {
|
|
1384
|
+
type: PropType<string | number | undefined>;
|
|
1385
|
+
default: undefined;
|
|
1386
|
+
};
|
|
1387
|
+
tempSelectedValues: {
|
|
1388
|
+
type: PropType<Set<string | number>>;
|
|
1389
|
+
required: true;
|
|
1390
|
+
};
|
|
1391
|
+
multiple: {
|
|
1392
|
+
type: BooleanConstructor;
|
|
1393
|
+
default: boolean;
|
|
1394
|
+
};
|
|
1395
|
+
isNodeChecked: {
|
|
1396
|
+
type: PropType<(nodeValue: string | number) => boolean>;
|
|
1397
|
+
required: true;
|
|
1398
|
+
};
|
|
1399
|
+
isNodeIndeterminate: {
|
|
1400
|
+
type: PropType<(node: JTWTreeNode) => boolean>;
|
|
1401
|
+
required: true;
|
|
1402
|
+
};
|
|
1403
|
+
isNodeSelected: {
|
|
1404
|
+
type: PropType<(nodeValue: string | number) => boolean>;
|
|
1405
|
+
required: true;
|
|
1406
|
+
};
|
|
1407
|
+
toggleExpand: {
|
|
1408
|
+
type: PropType<(key: string | number) => void>;
|
|
1409
|
+
required: true;
|
|
1410
|
+
};
|
|
1411
|
+
handleNodeClick: {
|
|
1412
|
+
type: PropType<(node: JTWTreeNode) => void>;
|
|
1413
|
+
required: true;
|
|
1414
|
+
};
|
|
1415
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1416
|
+
node: {
|
|
1417
|
+
type: PropType<JTWTreeNode>;
|
|
1418
|
+
required: true;
|
|
1419
|
+
};
|
|
1420
|
+
level: {
|
|
1421
|
+
type: NumberConstructor;
|
|
1422
|
+
default: number;
|
|
1423
|
+
};
|
|
1424
|
+
isLast: {
|
|
1425
|
+
type: BooleanConstructor;
|
|
1426
|
+
default: boolean;
|
|
1427
|
+
};
|
|
1428
|
+
expandedKeys: {
|
|
1429
|
+
type: PropType<Set<string | number>>;
|
|
1430
|
+
required: true;
|
|
1431
|
+
};
|
|
1432
|
+
tempSelectedValue: {
|
|
1433
|
+
type: PropType<string | number | undefined>;
|
|
1434
|
+
default: undefined;
|
|
1435
|
+
};
|
|
1436
|
+
tempSelectedValues: {
|
|
1437
|
+
type: PropType<Set<string | number>>;
|
|
1438
|
+
required: true;
|
|
1439
|
+
};
|
|
1440
|
+
multiple: {
|
|
1441
|
+
type: BooleanConstructor;
|
|
1442
|
+
default: boolean;
|
|
1443
|
+
};
|
|
1444
|
+
isNodeChecked: {
|
|
1445
|
+
type: PropType<(nodeValue: string | number) => boolean>;
|
|
1446
|
+
required: true;
|
|
1447
|
+
};
|
|
1448
|
+
isNodeIndeterminate: {
|
|
1449
|
+
type: PropType<(node: JTWTreeNode) => boolean>;
|
|
1450
|
+
required: true;
|
|
1451
|
+
};
|
|
1452
|
+
isNodeSelected: {
|
|
1453
|
+
type: PropType<(nodeValue: string | number) => boolean>;
|
|
1454
|
+
required: true;
|
|
1455
|
+
};
|
|
1456
|
+
toggleExpand: {
|
|
1457
|
+
type: PropType<(key: string | number) => void>;
|
|
1458
|
+
required: true;
|
|
1459
|
+
};
|
|
1460
|
+
handleNodeClick: {
|
|
1461
|
+
type: PropType<(node: JTWTreeNode) => void>;
|
|
1462
|
+
required: true;
|
|
1463
|
+
};
|
|
1464
|
+
}>> & Readonly<{}>, {
|
|
1465
|
+
multiple: boolean;
|
|
1466
|
+
level: number;
|
|
1467
|
+
isLast: boolean;
|
|
1468
|
+
tempSelectedValue: string | number | undefined;
|
|
1469
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1470
|
+
JTWStatusImg: DefineComponent<ExtractPropTypes<{
|
|
1471
|
+
name: {
|
|
1472
|
+
type: StringConstructor;
|
|
1473
|
+
default: string;
|
|
1474
|
+
};
|
|
1475
|
+
width: {
|
|
1476
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1477
|
+
default: undefined;
|
|
1478
|
+
};
|
|
1479
|
+
height: {
|
|
1480
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1481
|
+
default: undefined;
|
|
1482
|
+
};
|
|
1483
|
+
}>, {
|
|
1484
|
+
imageSrc: ComputedRef<string>;
|
|
1485
|
+
imageStyle: ComputedRef<Record<string, string>>;
|
|
1486
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1487
|
+
name: {
|
|
1488
|
+
type: StringConstructor;
|
|
1489
|
+
default: string;
|
|
1490
|
+
};
|
|
1491
|
+
width: {
|
|
1492
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1493
|
+
default: undefined;
|
|
1494
|
+
};
|
|
1495
|
+
height: {
|
|
1496
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1497
|
+
default: undefined;
|
|
1498
|
+
};
|
|
1499
|
+
}>> & Readonly<{}>, {
|
|
1500
|
+
name: string;
|
|
1501
|
+
width: string | number;
|
|
1502
|
+
height: string | number;
|
|
1503
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1355
1504
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1356
1505
|
export default _default;
|
|
@@ -46,6 +46,11 @@ export interface JTWTreeSelectBtnProps extends Omit<JTWBtnProps, 'color'> {
|
|
|
46
46
|
* @default false
|
|
47
47
|
*/
|
|
48
48
|
multiple?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* 是否默认展开第一个节点
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
defaultExpandFirst?: boolean;
|
|
49
54
|
}
|
|
50
55
|
/** JTWTreeSelectBtn Emits 接口 */
|
|
51
56
|
export interface JTWTreeSelectBtnEmits {
|
package/dist/global.d.ts
CHANGED
|
@@ -1,94 +1,154 @@
|
|
|
1
|
-
import { JChBarProps, JChBarSlots } from './components/j-ch-bar/types';
|
|
2
|
-
import { JChBarLineProps, JChBarLineSlots } from './components/j-ch-bar-line/types';
|
|
3
|
-
import { JChBubbleProps, JChBubbleSlots } from './components/j-ch-bubble/types';
|
|
4
|
-
import { JChLineProps, JChLineSlots } from './components/j-ch-line/types';
|
|
5
|
-
import { JChPieDoughnutProps, JChPieDoughnutSlots } from './components/j-ch-pie-doughnut/types';
|
|
6
|
-
import { JChRadarProps, JChRadarSlots } from './components/j-ch-radar/types';
|
|
7
1
|
import { JTWBtnTemplateProps, JTWBtnSlots, JTWBtnEmits } from './components/j-tw-btn/types';
|
|
2
|
+
import { JTWCheckboxTemplateProps, JTWCheckboxSlots, JTWCheckboxEmits } from './components/j-tw-checkbox/types';
|
|
3
|
+
import { JTWCheckboxGroupTemplateProps, JTWCheckboxGroupSlots, JTWCheckboxGroupEmits } from './components/j-tw-checkbox-group/types';
|
|
4
|
+
import { JTWConfirmDialogTemplateProps, JTWConfirmDialogEmits } from './components/j-tw-confirm-dialog/types';
|
|
8
5
|
import { JTWDatePickerTemplateProps, JTWDatePickerSlots, JTWDatePickerEmits } from './components/j-tw-date-picker/types';
|
|
6
|
+
import { JTWDialogProps } from './components/j-tw-dialog/types';
|
|
9
7
|
import { JTWDropdownBtnTemplateProps, JTWDropdownBtnSlots, JTWDropdownBtnEmits } from './components/j-tw-dropdown-btn/types';
|
|
8
|
+
import { JTWFormProps, JTWFormSlots, JTWFormEmits } from './components/j-tw-form/types';
|
|
9
|
+
import { JTWFormItemProps, JTWFormItemSlots } from './components/j-tw-form-item/types';
|
|
10
|
+
import { JTWInputTemplateProps, JTWInputSlots, JTWInputEmits } from './components/j-tw-input/types';
|
|
11
|
+
import { JTWRadioTemplateProps, JTWRadioSlots, JTWRadioEmits } from './components/j-tw-radio/types';
|
|
12
|
+
import { JTWRadioGroupTemplateProps, JTWRadioGroupSlots, JTWRadioGroupEmits } from './components/j-tw-radio-group/types';
|
|
13
|
+
import { JTWStatusImgProps } from './components/j-tw-status-img/types';
|
|
14
|
+
import { JTWTableTemplateProps, JTWTableSlots, JTWTableEmits } from './components/j-tw-table/types';
|
|
15
|
+
import { JTWTreeSelectTemplateProps, JTWTreeSelectSlots, JTWTreeSelectEmits } from './components/j-tw-tree-select/types';
|
|
10
16
|
import { JTWTreeSelectBtnTemplateProps, JTWTreeSelectBtnSlots, JTWTreeSelectBtnEmits } from './components/j-tw-tree-select-btn/types';
|
|
11
17
|
declare module 'vue' {
|
|
12
18
|
export interface GlobalComponents {
|
|
13
19
|
/**
|
|
14
|
-
*
|
|
20
|
+
* JTWBtn - JTWBtn 按钮组件(基于 Element Plus)
|
|
15
21
|
*/
|
|
16
|
-
|
|
17
|
-
$props:
|
|
18
|
-
$slots:
|
|
19
|
-
$emit:
|
|
22
|
+
JTWBtn: new () => {
|
|
23
|
+
$props: JTWBtnTemplateProps;
|
|
24
|
+
$slots: JTWBtnSlots;
|
|
25
|
+
$emit: JTWBtnEmits;
|
|
20
26
|
};
|
|
21
27
|
|
|
22
28
|
/**
|
|
23
|
-
*
|
|
29
|
+
* JTWCheckbox - JTWCheckbox 组件
|
|
24
30
|
*/
|
|
25
|
-
|
|
26
|
-
$props:
|
|
27
|
-
$slots:
|
|
28
|
-
$emit:
|
|
31
|
+
JTWCheckbox: new () => {
|
|
32
|
+
$props: JTWCheckboxTemplateProps;
|
|
33
|
+
$slots: JTWCheckboxSlots;
|
|
34
|
+
$emit: JTWCheckboxEmits;
|
|
29
35
|
};
|
|
30
36
|
|
|
31
37
|
/**
|
|
32
|
-
*
|
|
38
|
+
* JTWCheckboxGroup - JTWCheckboxGroup 组件
|
|
33
39
|
*/
|
|
34
|
-
|
|
35
|
-
$props:
|
|
36
|
-
$slots:
|
|
37
|
-
$emit:
|
|
40
|
+
JTWCheckboxGroup: new () => {
|
|
41
|
+
$props: JTWCheckboxGroupTemplateProps;
|
|
42
|
+
$slots: JTWCheckboxGroupSlots;
|
|
43
|
+
$emit: JTWCheckboxGroupEmits;
|
|
38
44
|
};
|
|
39
45
|
|
|
40
46
|
/**
|
|
41
|
-
*
|
|
47
|
+
* JTWConfirmDialog - jwConfirmDialog 调用选项
|
|
42
48
|
*/
|
|
43
|
-
|
|
44
|
-
$props:
|
|
45
|
-
$slots:
|
|
46
|
-
$emit:
|
|
49
|
+
JTWConfirmDialog: new () => {
|
|
50
|
+
$props: JTWConfirmDialogTemplateProps;
|
|
51
|
+
$slots: {};
|
|
52
|
+
$emit: JTWConfirmDialogEmits;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* JTWDatePicker - JTWDatePicker 日期范围选择器组件
|
|
57
|
+
*/
|
|
58
|
+
JTWDatePicker: new () => {
|
|
59
|
+
$props: JTWDatePickerTemplateProps;
|
|
60
|
+
$slots: JTWDatePickerSlots;
|
|
61
|
+
$emit: JTWDatePickerEmits;
|
|
47
62
|
};
|
|
48
63
|
|
|
49
64
|
/**
|
|
50
|
-
*
|
|
65
|
+
* JTWDialog - jwDialog 调用选项
|
|
51
66
|
*/
|
|
52
|
-
|
|
53
|
-
$props:
|
|
54
|
-
$slots:
|
|
67
|
+
JTWDialog: new () => {
|
|
68
|
+
$props: JTWDialogProps;
|
|
69
|
+
$slots: {};
|
|
55
70
|
$emit: {};
|
|
56
71
|
};
|
|
57
72
|
|
|
58
73
|
/**
|
|
59
|
-
*
|
|
74
|
+
* JTWDropdownBtn - JTWDropdownBtn 下拉按钮组件
|
|
60
75
|
*/
|
|
61
|
-
|
|
62
|
-
$props:
|
|
63
|
-
$slots:
|
|
76
|
+
JTWDropdownBtn: new () => {
|
|
77
|
+
$props: JTWDropdownBtnTemplateProps;
|
|
78
|
+
$slots: JTWDropdownBtnSlots;
|
|
79
|
+
$emit: JTWDropdownBtnEmits;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* JTWForm - JTWForm 组件
|
|
84
|
+
*/
|
|
85
|
+
JTWForm: new () => {
|
|
86
|
+
$props: JTWFormProps;
|
|
87
|
+
$slots: JTWFormSlots;
|
|
88
|
+
$emit: JTWFormEmits;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* JTWFormItem - JTWFormItem 组件
|
|
93
|
+
*/
|
|
94
|
+
JTWFormItem: new () => {
|
|
95
|
+
$props: JTWFormItemProps;
|
|
96
|
+
$slots: JTWFormItemSlots;
|
|
64
97
|
$emit: {};
|
|
65
98
|
};
|
|
66
99
|
|
|
67
100
|
/**
|
|
68
|
-
*
|
|
101
|
+
* JTWInput - JTWInput 组件
|
|
69
102
|
*/
|
|
70
|
-
|
|
71
|
-
$props:
|
|
72
|
-
$slots:
|
|
73
|
-
$emit:
|
|
103
|
+
JTWInput: new () => {
|
|
104
|
+
$props: JTWInputTemplateProps;
|
|
105
|
+
$slots: JTWInputSlots;
|
|
106
|
+
$emit: JTWInputEmits;
|
|
74
107
|
};
|
|
75
108
|
|
|
76
109
|
/**
|
|
77
|
-
*
|
|
110
|
+
* JTWRadio - JTWRadio 组件
|
|
78
111
|
*/
|
|
79
|
-
|
|
80
|
-
$props:
|
|
81
|
-
$slots:
|
|
82
|
-
$emit:
|
|
112
|
+
JTWRadio: new () => {
|
|
113
|
+
$props: JTWRadioTemplateProps;
|
|
114
|
+
$slots: JTWRadioSlots;
|
|
115
|
+
$emit: JTWRadioEmits;
|
|
83
116
|
};
|
|
84
117
|
|
|
85
118
|
/**
|
|
86
|
-
*
|
|
119
|
+
* JTWRadioGroup - JTWRadioGroup 组件
|
|
87
120
|
*/
|
|
88
|
-
|
|
89
|
-
$props:
|
|
90
|
-
$slots:
|
|
91
|
-
$emit:
|
|
121
|
+
JTWRadioGroup: new () => {
|
|
122
|
+
$props: JTWRadioGroupTemplateProps;
|
|
123
|
+
$slots: JTWRadioGroupSlots;
|
|
124
|
+
$emit: JTWRadioGroupEmits;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* JTWStatusImg - JTWStatusImg 组件
|
|
129
|
+
*/
|
|
130
|
+
JTWStatusImg: new () => {
|
|
131
|
+
$props: JTWStatusImgProps;
|
|
132
|
+
$slots: {};
|
|
133
|
+
$emit: {};
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* JTWTable - JTWTable 表格组件(基于 Element Plus)
|
|
138
|
+
*/
|
|
139
|
+
JTWTable: new () => {
|
|
140
|
+
$props: JTWTableTemplateProps;
|
|
141
|
+
$slots: JTWTableSlots;
|
|
142
|
+
$emit: JTWTableEmits;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* JTWTreeSelect - JTWTreeSelect 扁平树形选择器组件
|
|
147
|
+
*/
|
|
148
|
+
JTWTreeSelect: new () => {
|
|
149
|
+
$props: JTWTreeSelectTemplateProps;
|
|
150
|
+
$slots: JTWTreeSelectSlots;
|
|
151
|
+
$emit: JTWTreeSelectEmits;
|
|
92
152
|
};
|
|
93
153
|
|
|
94
154
|
/**
|