@sdata/web-vue 2.1.0 → 2.1.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.
- package/es/_components/icon-hover.js +8 -5
- package/es/_components/icon-hover.vue.d.ts +4 -2
- package/es/_components/icon-hover.vue_vue_type_script_lang.js +1 -0
- package/es/_components/picker/input-range.vue.d.ts +4 -2
- package/es/_components/picker/input.vue.d.ts +4 -2
- package/es/_hooks/use-input.d.ts +1 -1
- package/es/_hooks/use-pagination.d.ts +7 -4
- package/es/_hooks/use-popup-overflow-hidden.js +2 -1
- package/es/_utils/debounce.d.ts +1 -1
- package/es/_utils/get-value-by-path.d.ts +2 -2
- package/es/_utils/is-equal.js +1 -1
- package/es/_utils/is.d.ts +3 -3
- package/es/_utils/is.js +1 -1
- package/es/_utils/omit.d.ts +1 -1
- package/es/_utils/pick.d.ts +1 -1
- package/es/_utils/pick.js +1 -2
- package/es/_utils/throttle-by-raf.d.ts +2 -2
- package/es/_utils/types.d.ts +1 -1
- package/es/affix/affix.vue.d.ts +1 -1
- package/es/affix/index.d.ts +3 -3
- package/es/alert/alert.vue.d.ts +4 -2
- package/es/alert/index.d.ts +8 -4
- package/es/auto-complete/auto-complete.js +2 -3
- package/es/calendar/components/cell.vue.d.ts +2 -2
- package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/calendar/context.d.ts +2 -1
- package/es/cascader/base-cascader-panel.js +4 -5
- package/es/cascader/cascader-option.js +6 -8
- package/es/checkbox/checkbox.d.ts +4 -2
- package/es/checkbox/index.d.ts +8 -4
- package/es/collapse/collapse-item.d.ts +4 -2
- package/es/collapse/index.d.ts +4 -2
- package/es/date-picker/context.d.ts +1 -1
- package/es/date-picker/hooks/use-inject-datepicker-transform.d.ts +1 -1
- package/es/date-picker/hooks/use-provide-datepicker-transform.d.ts +1 -1
- package/es/date-picker/hooks/use-range-header-value.d.ts +3 -3
- package/es/date-picker/index.d.ts +15 -13
- package/es/date-picker/interface.d.ts +1 -1
- package/es/date-picker/panels/date/index.vue.d.ts +2 -2
- package/es/date-picker/panels/footer.vue.d.ts +1 -1
- package/es/date-picker/panels/month/index.vue.d.ts +1 -1
- package/es/date-picker/panels/shortcuts.vue.d.ts +1 -1
- package/es/date-picker/panels/week/index.vue.d.ts +2 -2
- package/es/date-picker/picker-panel.vue.d.ts +7 -7
- package/es/date-picker/picker.vue.d.ts +11 -9
- package/es/date-picker/range-picker-panel.vue.d.ts +9 -9
- package/es/date-picker/range-picker.vue.d.ts +15 -13
- package/es/drawer/drawer.vue.d.ts +5 -3
- package/es/drawer/index.d.ts +11 -7
- package/es/dropdown/dropdown-button.vue.d.ts +2 -2
- package/es/dropdown/dropdown.vue.d.ts +2 -2
- package/es/dropdown/index.d.ts +7 -7
- package/es/dropdown/interface.d.ts +2 -2
- package/es/form/context.d.ts +7 -6
- package/es/form/form-item.vue.d.ts +6 -10
- package/es/form/index.d.ts +6 -10
- package/es/form/interface.d.ts +2 -2
- package/es/grid/grid-col.vue.d.ts +3 -7
- package/es/grid/hook/use-responsive-value.d.ts +7 -19
- package/es/grid/index.d.ts +2 -6
- package/es/grid/interface.d.ts +11 -18
- package/es/image/image.vue.d.ts +2 -2
- package/es/image/interface.d.ts +1 -1
- package/es/image/preview-group.vue.d.ts +1 -1
- package/es/image/preview.vue.d.ts +1 -1
- package/es/input/index.d.ts +4 -2
- package/es/input/input-password.vue.d.ts +4 -2
- package/es/input/input.js +3 -4
- package/es/input-number/input-number.js +20 -19
- package/es/input-tag/input-tag.js +10 -12
- package/es/list/use-pagination.d.ts +7 -4
- package/es/locale/index.d.ts +1 -1
- package/es/locale/index.js +1 -1
- package/es/locale/interface.d.ts +1 -0
- package/es/mention/mention.js +10 -10
- package/es/menu/interface.d.ts +1 -3
- package/es/menu/sub-menu-pop.vue.d.ts +2 -2
- package/es/message/message.vue.d.ts +4 -2
- package/es/modal/index.d.ts +8 -4
- package/es/modal/interface.d.ts +2 -2
- package/es/modal/modal.vue.d.ts +4 -2
- package/es/notification/notification.vue.d.ts +4 -2
- package/es/page-header/index.d.ts +8 -4
- package/es/page-header/page-header.vue.d.ts +4 -2
- package/es/pagination/page-jumper.vue.d.ts +1 -1
- package/es/pagination/page-options.vue.d.ts +16 -8
- package/es/popconfirm/index.d.ts +3 -3
- package/es/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/radio/index.d.ts +8 -4
- package/es/radio/radio.d.ts +4 -2
- package/es/scrollbar/interface.d.ts +1 -1
- package/es/select/index.d.ts +16 -8
- package/es/select/select.d.ts +8 -4
- package/es/select/select.js +6 -4
- package/es/statistic/statistic.vue_vue_type_script_lang.js +2 -2
- package/es/table/table-operation-td.d.ts +16 -8
- package/es/table/table-operation-td.js +10 -13
- package/es/table/table-th.js +17 -6
- package/es/table/table.js +33 -34
- package/es/tabs/tabs-tab.vue.d.ts +4 -2
- package/es/textarea/index.d.ts +8 -4
- package/es/textarea/textarea.vue.d.ts +4 -2
- package/es/time-picker/index.d.ts +23 -15
- package/es/time-picker/panel.vue.d.ts +1 -1
- package/es/time-picker/range-panel.d.ts +1 -1
- package/es/time-picker/range-panel.js +6 -7
- package/es/time-picker/time-picker.vue.d.ts +11 -7
- package/es/time-picker/utils/index.d.ts +1 -1
- package/es/transfer/index.d.ts +24 -12
- package/es/transfer/transfer-list-item.js +2 -5
- package/es/transfer/transfer-view.vue.d.ts +12 -6
- package/es/transfer/transfer.vue.d.ts +12 -6
- package/es/tree/base-node.vue.d.ts +8 -4
- package/es/tree/interface.d.ts +1 -1
- package/es/tree/transition-node-list.vue.d.ts +8 -4
- package/es/tree/tree.vue.d.ts +2 -2
- package/es/tree-select/panel.js +5 -3
- package/es/tree-select/tree-select.vue.d.ts +1 -1
- package/es/trigger/context.d.ts +3 -3
- package/es/trigger/interface.d.ts +3 -2
- package/es/trigger/trigger.js +17 -16
- package/es/typography/base.js +2 -2
- package/es/typography/edit-content.vue.d.ts +12 -6
- package/es/typography/interface.d.ts +1 -1
- package/es/typography/operations.vue.d.ts +1 -1
- package/es/upload/interfaces.d.ts +3 -3
- package/es/upload/upload-list.js +2 -5
- package/es/upload/upload.js +4 -5
- package/es/verification-code/verification-code.js +7 -6
- package/json/web-types.json +2 -2
- package/package.json +1 -1
package/es/select/select.d.ts
CHANGED
|
@@ -1134,7 +1134,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1134
1134
|
};
|
|
1135
1135
|
}>, {
|
|
1136
1136
|
prefixCls: string;
|
|
1137
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1137
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1138
1138
|
prefix: {
|
|
1139
1139
|
type: StringConstructor;
|
|
1140
1140
|
};
|
|
@@ -1146,7 +1146,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1146
1146
|
type: BooleanConstructor;
|
|
1147
1147
|
default: boolean;
|
|
1148
1148
|
};
|
|
1149
|
-
}>> & Readonly<{
|
|
1149
|
+
}>> & Readonly<{
|
|
1150
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
1151
|
+
}>, {
|
|
1150
1152
|
size: "medium" | "large" | "small" | "mini";
|
|
1151
1153
|
disabled: boolean;
|
|
1152
1154
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1246,7 +1248,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1246
1248
|
};
|
|
1247
1249
|
}>, {
|
|
1248
1250
|
prefixCls: string;
|
|
1249
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1251
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1250
1252
|
prefix: {
|
|
1251
1253
|
type: StringConstructor;
|
|
1252
1254
|
};
|
|
@@ -1258,7 +1260,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1258
1260
|
type: BooleanConstructor;
|
|
1259
1261
|
default: boolean;
|
|
1260
1262
|
};
|
|
1261
|
-
}>> & Readonly<{
|
|
1263
|
+
}>> & Readonly<{
|
|
1264
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
1265
|
+
}>, {
|
|
1262
1266
|
size: "medium" | "large" | "small" | "mini";
|
|
1263
1267
|
disabled: boolean;
|
|
1264
1268
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/es/select/select.js
CHANGED
|
@@ -572,11 +572,13 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
572
572
|
"placeholder": props.placeholder,
|
|
573
573
|
"bordered": props.bordered,
|
|
574
574
|
"size": mergedSize.value,
|
|
575
|
-
"tagNowrap": props.tagNowrap
|
|
576
|
-
|
|
575
|
+
"tagNowrap": props.tagNowrap
|
|
576
|
+
}, {
|
|
577
|
+
onInputValueChange: handleInputValueChange,
|
|
578
|
+
onKeydown: handleKeyDown
|
|
579
|
+
}, {
|
|
577
580
|
"onRemove": handleRemove,
|
|
578
|
-
"onClear": handleClear
|
|
579
|
-
"onKeydown": handleKeyDown
|
|
581
|
+
"onClear": handleClear
|
|
580
582
|
}, attrs), {
|
|
581
583
|
"label": renderLabel,
|
|
582
584
|
"tag": renderTag,
|
|
@@ -171,8 +171,8 @@ var statistic_vue_vue_type_script_lang_default = defineComponent({
|
|
|
171
171
|
});
|
|
172
172
|
watch(value, (value) => {
|
|
173
173
|
if (tween.value) {
|
|
174
|
-
var _tween$value2;
|
|
175
|
-
(_tween$value2 = tween.value) === null || _tween$
|
|
174
|
+
var _tween$value$stop, _tween$value2;
|
|
175
|
+
(_tween$value$stop = (_tween$value2 = tween.value).stop) === null || _tween$value$stop === void 0 || _tween$value$stop.call(_tween$value2);
|
|
176
176
|
tween.value = null;
|
|
177
177
|
}
|
|
178
178
|
innerValue.value = value;
|
|
@@ -132,7 +132,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
132
132
|
};
|
|
133
133
|
}>, {
|
|
134
134
|
prefixCls: string;
|
|
135
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
135
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
136
136
|
prefix: {
|
|
137
137
|
type: StringConstructor;
|
|
138
138
|
};
|
|
@@ -144,7 +144,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
144
144
|
type: BooleanConstructor;
|
|
145
145
|
default: boolean;
|
|
146
146
|
};
|
|
147
|
-
}>> & Readonly<{
|
|
147
|
+
}>> & Readonly<{
|
|
148
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
149
|
+
}>, {
|
|
148
150
|
size: "medium" | "large" | "small" | "mini";
|
|
149
151
|
disabled: boolean;
|
|
150
152
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -244,7 +246,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
244
246
|
};
|
|
245
247
|
}>, {
|
|
246
248
|
prefixCls: string;
|
|
247
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
249
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
248
250
|
prefix: {
|
|
249
251
|
type: StringConstructor;
|
|
250
252
|
};
|
|
@@ -256,7 +258,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
256
258
|
type: BooleanConstructor;
|
|
257
259
|
default: boolean;
|
|
258
260
|
};
|
|
259
|
-
}>> & Readonly<{
|
|
261
|
+
}>> & Readonly<{
|
|
262
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
263
|
+
}>, {
|
|
260
264
|
size: "medium" | "large" | "small" | "mini";
|
|
261
265
|
disabled: boolean;
|
|
262
266
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -375,7 +379,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
375
379
|
};
|
|
376
380
|
}>, {
|
|
377
381
|
prefixCls: string;
|
|
378
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
382
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
379
383
|
prefix: {
|
|
380
384
|
type: StringConstructor;
|
|
381
385
|
};
|
|
@@ -387,7 +391,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
387
391
|
type: BooleanConstructor;
|
|
388
392
|
default: boolean;
|
|
389
393
|
};
|
|
390
|
-
}>> & Readonly<{
|
|
394
|
+
}>> & Readonly<{
|
|
395
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
396
|
+
}>, {
|
|
391
397
|
size: "medium" | "large" | "small" | "mini";
|
|
392
398
|
disabled: boolean;
|
|
393
399
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -490,7 +496,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
490
496
|
};
|
|
491
497
|
}>, {
|
|
492
498
|
prefixCls: string;
|
|
493
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
499
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
494
500
|
prefix: {
|
|
495
501
|
type: StringConstructor;
|
|
496
502
|
};
|
|
@@ -502,7 +508,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
502
508
|
type: BooleanConstructor;
|
|
503
509
|
default: boolean;
|
|
504
510
|
};
|
|
505
|
-
}>> & Readonly<{
|
|
511
|
+
}>> & Readonly<{
|
|
512
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
513
|
+
}>, {
|
|
506
514
|
size: "medium" | "large" | "small" | "mini";
|
|
507
515
|
disabled: boolean;
|
|
508
516
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -7,7 +7,7 @@ import IconPlus from "../icon/icon-plus/index.js";
|
|
|
7
7
|
import IconDragDotVertical from "../icon/icon-drag-dot-vertical/index.js";
|
|
8
8
|
import { tableInjectionKey } from "./context.js";
|
|
9
9
|
import { getLeafKeys, getOperationFixedCls, getOperationStyle, getSelectionStatus } from "./utils.js";
|
|
10
|
-
import { computed, createVNode, defineComponent, inject } from "vue";
|
|
10
|
+
import { computed, createVNode, defineComponent, inject, mergeProps } from "vue";
|
|
11
11
|
//#region components/table/table-operation-td.tsx
|
|
12
12
|
var table_operation_td_default = /* @__PURE__ */ defineComponent({
|
|
13
13
|
name: "OperationTd",
|
|
@@ -76,7 +76,7 @@ var table_operation_td_default = /* @__PURE__ */ defineComponent({
|
|
|
76
76
|
if (props.operationColumn.name === "selection-checkbox") {
|
|
77
77
|
var _props$selectedRowKey, _props$selectedRowKey2;
|
|
78
78
|
const value = props.record.key;
|
|
79
|
-
if (!tableCtx.checkStrictly && !props.record.isLeaf) return createVNode(Checkbox, {
|
|
79
|
+
if (!tableCtx.checkStrictly && !props.record.isLeaf) return createVNode(Checkbox, mergeProps({
|
|
80
80
|
"modelValue": selectionStatus.value.checked,
|
|
81
81
|
"indeterminate": selectionStatus.value.indeterminate,
|
|
82
82
|
"disabled": Boolean(props.record.disabled),
|
|
@@ -84,33 +84,30 @@ var table_operation_td_default = /* @__PURE__ */ defineComponent({
|
|
|
84
84
|
"onChange": (checked) => {
|
|
85
85
|
var _tableCtx$onSelectAll;
|
|
86
86
|
return (_tableCtx$onSelectAll = tableCtx.onSelectAllLeafs) === null || _tableCtx$onSelectAll === void 0 ? void 0 : _tableCtx$onSelectAll.call(tableCtx, props.record, checked);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
return createVNode(Checkbox, {
|
|
87
|
+
}
|
|
88
|
+
}, { onClick: (ev) => ev.stopPropagation() }), null);
|
|
89
|
+
return createVNode(Checkbox, mergeProps({
|
|
91
90
|
"modelValue": (_props$selectedRowKey = (_props$selectedRowKey2 = props.selectedRowKeys) === null || _props$selectedRowKey2 === void 0 ? void 0 : _props$selectedRowKey2.includes(value)) !== null && _props$selectedRowKey !== void 0 ? _props$selectedRowKey : false,
|
|
92
91
|
"disabled": Boolean(props.record.disabled),
|
|
93
92
|
"uninjectGroupContext": true,
|
|
94
93
|
"onChange": (checked) => {
|
|
95
94
|
var _tableCtx$onSelect;
|
|
96
95
|
return (_tableCtx$onSelect = tableCtx.onSelect) === null || _tableCtx$onSelect === void 0 ? void 0 : _tableCtx$onSelect.call(tableCtx, checked, props.record);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
}, null);
|
|
96
|
+
}
|
|
97
|
+
}, { onClick: (ev) => ev.stopPropagation() }), null);
|
|
100
98
|
}
|
|
101
99
|
if (props.operationColumn.name === "selection-radio") {
|
|
102
100
|
var _props$selectedRowKey3, _props$selectedRowKey4;
|
|
103
101
|
const value = props.record.key;
|
|
104
|
-
return createVNode(Radio, {
|
|
102
|
+
return createVNode(Radio, mergeProps({
|
|
105
103
|
"modelValue": (_props$selectedRowKey3 = (_props$selectedRowKey4 = props.selectedRowKeys) === null || _props$selectedRowKey4 === void 0 ? void 0 : _props$selectedRowKey4.includes(value)) !== null && _props$selectedRowKey3 !== void 0 ? _props$selectedRowKey3 : false,
|
|
106
104
|
"disabled": Boolean(props.record.disabled),
|
|
107
105
|
"uninjectGroupContext": true,
|
|
108
106
|
"onChange": (checked) => {
|
|
109
107
|
var _tableCtx$onSelect2;
|
|
110
108
|
return (_tableCtx$onSelect2 = tableCtx.onSelect) === null || _tableCtx$onSelect2 === void 0 ? void 0 : _tableCtx$onSelect2.call(tableCtx, checked, props.record);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
}, null);
|
|
109
|
+
}
|
|
110
|
+
}, { onClick: (ev) => ev.stopPropagation() }), null);
|
|
114
111
|
}
|
|
115
112
|
if (props.operationColumn.name === "expand") {
|
|
116
113
|
if (props.hasExpand && props.renderExpandBtn) return props.renderExpandBtn(props.record);
|
package/es/table/table-th.js
CHANGED
|
@@ -100,12 +100,24 @@ var table_th_default = /* @__PURE__ */ defineComponent({
|
|
|
100
100
|
"value": item.value,
|
|
101
101
|
"modelValue": columnFilterValue.value,
|
|
102
102
|
"uninjectGroupContext": true,
|
|
103
|
-
"onChange":
|
|
103
|
+
"onChange": (value) => {
|
|
104
|
+
if (Array.isArray(value)) {
|
|
105
|
+
handleCheckboxFilterChange(value.map(String));
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
throw new Error("Checkbox filter value should be an array");
|
|
109
|
+
}
|
|
104
110
|
}, { default: () => [item.text] }) : createVNode(Radio, {
|
|
105
111
|
"value": item.value,
|
|
106
112
|
"modelValue": (_columnFilterValue$va = columnFilterValue.value[0]) !== null && _columnFilterValue$va !== void 0 ? _columnFilterValue$va : "",
|
|
107
113
|
"uninjectGroupContext": true,
|
|
108
|
-
"onChange":
|
|
114
|
+
"onChange": (value) => {
|
|
115
|
+
if (typeof value === "string") {
|
|
116
|
+
handleRadioFilterChange(value);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
throw new Error("Radio filter value should be a string");
|
|
120
|
+
}
|
|
109
121
|
}, { default: () => [item.text] })]);
|
|
110
122
|
})]), createVNode("div", { "class": `${prefixCls}-filters-bottom` }, [createVNode(Button, {
|
|
111
123
|
"size": "mini",
|
|
@@ -126,15 +138,14 @@ var table_th_default = /* @__PURE__ */ defineComponent({
|
|
|
126
138
|
"popupOffset": filterIconAlignLeft.value ? 4 : 0,
|
|
127
139
|
"onPopupVisibleChange": handleFilterPopupVisibleChange
|
|
128
140
|
}, filterable.triggerProps), {
|
|
129
|
-
default: () => [createVNode(icon_hover_default, {
|
|
141
|
+
default: () => [createVNode(icon_hover_default, mergeProps({
|
|
130
142
|
"class": [`${prefixCls}-filters`, {
|
|
131
143
|
[`${prefixCls}-filters-active`]: isFilterActive.value,
|
|
132
144
|
[`${prefixCls}-filters-open`]: filterPopupVisible.value,
|
|
133
145
|
[`${prefixCls}-filters-align-left`]: filterIconAlignLeft.value
|
|
134
146
|
}],
|
|
135
|
-
"disabled": !filterIconAlignLeft.value
|
|
136
|
-
|
|
137
|
-
}, { default: () => {
|
|
147
|
+
"disabled": !filterIconAlignLeft.value
|
|
148
|
+
}, { onClick: (ev) => ev.stopPropagation() }), { default: () => {
|
|
138
149
|
var _ref, _props$column$slots$f, _props$column$slots3, _props$column$slots3$, _filterable$icon;
|
|
139
150
|
return [(_ref = (_props$column$slots$f = (_props$column$slots3 = props.column.slots) === null || _props$column$slots3 === void 0 || (_props$column$slots3$ = _props$column$slots3["filter-icon"]) === null || _props$column$slots3$ === void 0 ? void 0 : _props$column$slots3$.call(_props$column$slots3)) !== null && _props$column$slots$f !== void 0 ? _props$column$slots$f : (_filterable$icon = filterable.icon) === null || _filterable$icon === void 0 ? void 0 : _filterable$icon.call(filterable)) !== null && _ref !== void 0 ? _ref : createVNode(IconFilter, null, null)];
|
|
140
151
|
} })],
|
package/es/table/table.js
CHANGED
|
@@ -864,6 +864,7 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
864
864
|
dataIndex: field,
|
|
865
865
|
direction
|
|
866
866
|
});
|
|
867
|
+
if (valueA == null || valueB == null) return 0;
|
|
867
868
|
const result = valueA > valueB ? 1 : -1;
|
|
868
869
|
return direction === "descend" ? -result : result;
|
|
869
870
|
});
|
|
@@ -1366,11 +1367,10 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1366
1367
|
columns: allColumns
|
|
1367
1368
|
});
|
|
1368
1369
|
const renderSummaryRow = (record, rowIndex) => {
|
|
1369
|
-
return createVNode(table_tr_default, {
|
|
1370
|
+
return createVNode(table_tr_default, mergeProps({
|
|
1370
1371
|
"key": `table-summary-${rowIndex}`,
|
|
1371
|
-
"class": [`${prefixCls}-tr-summary`, isFunction(props.rowClass) ? props.rowClass(record.raw, rowIndex) : props.rowClass]
|
|
1372
|
-
|
|
1373
|
-
}, {
|
|
1372
|
+
"class": [`${prefixCls}-tr-summary`, isFunction(props.rowClass) ? props.rowClass(record.raw, rowIndex) : props.rowClass]
|
|
1373
|
+
}, { onClick: (ev) => handleRowClick(record, ev) }), {
|
|
1374
1374
|
default: () => [operations.value.map((operation, index) => {
|
|
1375
1375
|
var _tableSummarySpan$val;
|
|
1376
1376
|
const cellId = `${rowIndex}-${index}-${record.key}`;
|
|
@@ -1389,7 +1389,7 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1389
1389
|
const cellId = `${rowIndex}-${operations.value.length + index}-${record.key}`;
|
|
1390
1390
|
const [rowspan, colspan] = (_tableSummarySpan$val2 = tableSummarySpan.value[cellId]) !== null && _tableSummarySpan$val2 !== void 0 ? _tableSummarySpan$val2 : [1, 1];
|
|
1391
1391
|
if (removedSummaryCells.value.includes(cellId)) return null;
|
|
1392
|
-
return createVNode(table_td_default, {
|
|
1392
|
+
return createVNode(table_td_default, mergeProps({
|
|
1393
1393
|
"key": `td-${cellId}`,
|
|
1394
1394
|
"rowIndex": rowIndex,
|
|
1395
1395
|
"record": record,
|
|
@@ -1398,13 +1398,14 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1398
1398
|
"dataColumns": dataColumns.value,
|
|
1399
1399
|
"rowSpan": rowspan,
|
|
1400
1400
|
"colSpan": colspan,
|
|
1401
|
-
"summary": true
|
|
1402
|
-
"onClick": (ev) => handleCellClick(record, column, ev),
|
|
1403
|
-
"onDblclick": (ev) => handleCellDblclick(record, column, ev),
|
|
1404
|
-
"onMouseenter": (ev) => handleCellMouseEnter(record, column, ev),
|
|
1405
|
-
"onMouseleave": (ev) => handleCellMouseLeave(record, column, ev),
|
|
1406
|
-
"onContextmenu": (ev) => handleCellContextmenu(record, column, ev)
|
|
1401
|
+
"summary": true
|
|
1407
1402
|
}, {
|
|
1403
|
+
onClick: (ev) => handleCellClick(record, column, ev),
|
|
1404
|
+
onDblclick: (ev) => handleCellDblclick(record, column, ev),
|
|
1405
|
+
onMouseenter: (ev) => handleCellMouseEnter(record, column, ev),
|
|
1406
|
+
onMouseleave: (ev) => handleCellMouseLeave(record, column, ev),
|
|
1407
|
+
onContextmenu: (ev) => handleCellContextmenu(record, column, ev)
|
|
1408
|
+
}), {
|
|
1408
1409
|
td: slots.td,
|
|
1409
1410
|
cell: slots["summary-cell"]
|
|
1410
1411
|
});
|
|
@@ -1495,10 +1496,11 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1495
1496
|
}, isFunction(props.rowClass) ? props.rowClass(record.raw, rowIndex) : props.rowClass],
|
|
1496
1497
|
"rowIndex": rowIndex,
|
|
1497
1498
|
"record": record,
|
|
1498
|
-
"checked": props.rowSelection && ((_selectedRowKeys$valu = selectedRowKeys.value) === null || _selectedRowKeys$valu === void 0 ? void 0 : _selectedRowKeys$valu.includes(currentKey))
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1499
|
+
"checked": props.rowSelection && ((_selectedRowKeys$valu = selectedRowKeys.value) === null || _selectedRowKeys$valu === void 0 ? void 0 : _selectedRowKeys$valu.includes(currentKey))
|
|
1500
|
+
}, {
|
|
1501
|
+
onClick: (ev) => handleRowClick(record, ev),
|
|
1502
|
+
onDblclick: (ev) => handleRowDblclick(record, ev),
|
|
1503
|
+
onContextmenu: (ev) => handleRowContextMenu(record, ev)
|
|
1502
1504
|
}, dragType.value === "row" ? dragSourceEvent : {}, dragTargetEvent), {
|
|
1503
1505
|
default: () => [operations.value.map((operation, index) => {
|
|
1504
1506
|
var _tableSpan$value$cell;
|
|
@@ -1536,11 +1538,11 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1536
1538
|
"renderExpandBtn": renderExpandBtn,
|
|
1537
1539
|
"colSpan": colspan
|
|
1538
1540
|
}, extraProps, {
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1541
|
+
onClick: (ev) => handleCellClick(record, column, ev),
|
|
1542
|
+
onDblclick: (ev) => handleCellDblclick(record, column, ev),
|
|
1543
|
+
onMouseenter: (ev) => handleCellMouseEnter(record, column, ev),
|
|
1544
|
+
onMouseleave: (ev) => handleCellMouseLeave(record, column, ev),
|
|
1545
|
+
onContextmenu: (ev) => handleCellContextmenu(record, column, ev)
|
|
1544
1546
|
}), { td: slots.td });
|
|
1545
1547
|
})],
|
|
1546
1548
|
tr: slots.tr
|
|
@@ -1565,29 +1567,26 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1565
1567
|
const renderHeader = () => createVNode(table_thead_default, null, {
|
|
1566
1568
|
default: () => [groupColumns.value.map((row, index) => createVNode(table_tr_default, { "key": `header-row-${index}` }, { default: () => [index === 0 && operations.value.map((operation, index) => {
|
|
1567
1569
|
var _props$rowSelection2;
|
|
1568
|
-
return createVNode(table_operation_th_default, {
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
},
|
|
1570
|
+
return createVNode(table_operation_th_default, mergeProps({ "key": `operation-th-${index}` }, { ref: (ins) => {
|
|
1571
|
+
const instance = ins;
|
|
1572
|
+
if ((instance === null || instance === void 0 ? void 0 : instance.$el) && operation.name) thRefs.value[operation.name] = instance.$el;
|
|
1573
|
+
} }, {
|
|
1573
1574
|
"operationColumn": operation,
|
|
1574
1575
|
"operations": operations.value,
|
|
1575
1576
|
"selectAll": Boolean(operation.name === "selection-checkbox" && ((_props$rowSelection2 = props.rowSelection) === null || _props$rowSelection2 === void 0 ? void 0 : _props$rowSelection2.showCheckedAll)),
|
|
1576
1577
|
"rowSpan": groupColumns.value.length
|
|
1577
|
-
}, null);
|
|
1578
|
+
}), null);
|
|
1578
1579
|
}), row.map((column, index) => {
|
|
1579
1580
|
const resizable = props.columnResizable && Boolean(column.dataIndex) && index < row.length - 1;
|
|
1580
|
-
return createVNode(table_th_default, {
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
},
|
|
1581
|
+
return createVNode(table_th_default, mergeProps({ "key": `th-${index}` }, { ref: (ins) => {
|
|
1582
|
+
const instance = ins;
|
|
1583
|
+
if ((instance === null || instance === void 0 ? void 0 : instance.$el) && column.dataIndex) thRefs.value[column.dataIndex] = instance.$el;
|
|
1584
|
+
} }, {
|
|
1585
1585
|
"column": column,
|
|
1586
1586
|
"operations": operations.value,
|
|
1587
1587
|
"dataColumns": dataColumns.value,
|
|
1588
|
-
"resizable": resizable
|
|
1589
|
-
|
|
1590
|
-
}, { th: slots.th });
|
|
1588
|
+
"resizable": resizable
|
|
1589
|
+
}, { onClick: (ev) => handleHeaderClick(column, ev) }), { th: slots.th });
|
|
1591
1590
|
})] }))],
|
|
1592
1591
|
thead: slots.thead
|
|
1593
1592
|
});
|
|
@@ -52,7 +52,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
52
52
|
};
|
|
53
53
|
}>, {
|
|
54
54
|
prefixCls: string;
|
|
55
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
55
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
56
|
prefix: {
|
|
57
57
|
type: StringConstructor;
|
|
58
58
|
};
|
|
@@ -64,7 +64,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
64
64
|
type: BooleanConstructor;
|
|
65
65
|
default: boolean;
|
|
66
66
|
};
|
|
67
|
-
}>> & Readonly<{
|
|
67
|
+
}>> & Readonly<{
|
|
68
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
}>, {
|
|
68
70
|
size: "medium" | "large" | "small" | "mini";
|
|
69
71
|
disabled: boolean;
|
|
70
72
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/es/textarea/index.d.ts
CHANGED
|
@@ -125,7 +125,7 @@ declare const Textarea: {
|
|
|
125
125
|
};
|
|
126
126
|
}>, {
|
|
127
127
|
prefixCls: string;
|
|
128
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
128
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
129
|
prefix: {
|
|
130
130
|
type: StringConstructor;
|
|
131
131
|
};
|
|
@@ -137,7 +137,9 @@ declare const Textarea: {
|
|
|
137
137
|
type: BooleanConstructor;
|
|
138
138
|
default: boolean;
|
|
139
139
|
};
|
|
140
|
-
}>> & Readonly<{
|
|
140
|
+
}>> & Readonly<{
|
|
141
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
142
|
+
}>, {
|
|
141
143
|
size: "medium" | "large" | "small" | "mini";
|
|
142
144
|
disabled: boolean;
|
|
143
145
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -492,7 +494,7 @@ declare const Textarea: {
|
|
|
492
494
|
};
|
|
493
495
|
}>, {
|
|
494
496
|
prefixCls: string;
|
|
495
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
497
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
496
498
|
prefix: {
|
|
497
499
|
type: StringConstructor;
|
|
498
500
|
};
|
|
@@ -504,7 +506,9 @@ declare const Textarea: {
|
|
|
504
506
|
type: BooleanConstructor;
|
|
505
507
|
default: boolean;
|
|
506
508
|
};
|
|
507
|
-
}>> & Readonly<{
|
|
509
|
+
}>> & Readonly<{
|
|
510
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
511
|
+
}>, {
|
|
508
512
|
size: "medium" | "large" | "small" | "mini";
|
|
509
513
|
disabled: boolean;
|
|
510
514
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -170,7 +170,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
170
170
|
};
|
|
171
171
|
}>, {
|
|
172
172
|
prefixCls: string;
|
|
173
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
173
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
174
174
|
prefix: {
|
|
175
175
|
type: StringConstructor;
|
|
176
176
|
};
|
|
@@ -182,7 +182,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
182
182
|
type: BooleanConstructor;
|
|
183
183
|
default: boolean;
|
|
184
184
|
};
|
|
185
|
-
}>> & Readonly<{
|
|
185
|
+
}>> & Readonly<{
|
|
186
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
187
|
+
}>, {
|
|
186
188
|
size: "medium" | "large" | "small" | "mini";
|
|
187
189
|
disabled: boolean;
|
|
188
190
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -120,7 +120,7 @@ declare const TimePicker: {
|
|
|
120
120
|
onDisplayIndexChange?: undefined;
|
|
121
121
|
}>;
|
|
122
122
|
mergedDisabled: import("vue").ComputedRef<boolean>;
|
|
123
|
-
onPanelVisibleChange:
|
|
123
|
+
onPanelVisibleChange: (newVisible: boolean) => void;
|
|
124
124
|
onInputClear: (e: Event) => void;
|
|
125
125
|
onPanelSelect: (value: import("dayjs").Dayjs | Array<import("dayjs").Dayjs | undefined>) => void;
|
|
126
126
|
onPanelConfirm: (value: import("dayjs").Dayjs | import("dayjs").Dayjs[]) => void;
|
|
@@ -814,7 +814,7 @@ declare const TimePicker: {
|
|
|
814
814
|
};
|
|
815
815
|
}>, {
|
|
816
816
|
prefixCls: string;
|
|
817
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
817
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
818
818
|
prefix: {
|
|
819
819
|
type: StringConstructor;
|
|
820
820
|
};
|
|
@@ -826,7 +826,9 @@ declare const TimePicker: {
|
|
|
826
826
|
type: BooleanConstructor;
|
|
827
827
|
default: boolean;
|
|
828
828
|
};
|
|
829
|
-
}>> & Readonly<{
|
|
829
|
+
}>> & Readonly<{
|
|
830
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
831
|
+
}>, {
|
|
830
832
|
size: "medium" | "large" | "small" | "mini";
|
|
831
833
|
disabled: boolean;
|
|
832
834
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1578,7 +1580,7 @@ declare const TimePicker: {
|
|
|
1578
1580
|
};
|
|
1579
1581
|
}>, {
|
|
1580
1582
|
prefixCls: string;
|
|
1581
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1583
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1582
1584
|
prefix: {
|
|
1583
1585
|
type: StringConstructor;
|
|
1584
1586
|
};
|
|
@@ -1590,7 +1592,9 @@ declare const TimePicker: {
|
|
|
1590
1592
|
type: BooleanConstructor;
|
|
1591
1593
|
default: boolean;
|
|
1592
1594
|
};
|
|
1593
|
-
}>> & Readonly<{
|
|
1595
|
+
}>> & Readonly<{
|
|
1596
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
1597
|
+
}>, {
|
|
1594
1598
|
size: "medium" | "large" | "small" | "mini";
|
|
1595
1599
|
disabled: boolean;
|
|
1596
1600
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -2232,7 +2236,7 @@ declare const TimePicker: {
|
|
|
2232
2236
|
hideDisabledOptions: boolean;
|
|
2233
2237
|
}, {
|
|
2234
2238
|
prefixCls: string;
|
|
2235
|
-
t: (key: string, ...args:
|
|
2239
|
+
t: (key: string, ...args: unknown[]) => string;
|
|
2236
2240
|
hours: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
2237
2241
|
minutes: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
2238
2242
|
seconds: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
@@ -2992,7 +2996,7 @@ declare const TimePicker: {
|
|
|
2992
2996
|
hideDisabledOptions: boolean;
|
|
2993
2997
|
}, {
|
|
2994
2998
|
prefixCls: string;
|
|
2995
|
-
t: (key: string, ...args:
|
|
2999
|
+
t: (key: string, ...args: unknown[]) => string;
|
|
2996
3000
|
hours: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
2997
3001
|
minutes: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
2998
3002
|
seconds: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
@@ -3951,7 +3955,7 @@ declare const TimePicker: {
|
|
|
3951
3955
|
onDisplayIndexChange?: undefined;
|
|
3952
3956
|
}>;
|
|
3953
3957
|
mergedDisabled: import("vue").ComputedRef<boolean>;
|
|
3954
|
-
onPanelVisibleChange:
|
|
3958
|
+
onPanelVisibleChange: (newVisible: boolean) => void;
|
|
3955
3959
|
onInputClear: (e: Event) => void;
|
|
3956
3960
|
onPanelSelect: (value: import("dayjs").Dayjs | Array<import("dayjs").Dayjs | undefined>) => void;
|
|
3957
3961
|
onPanelConfirm: (value: import("dayjs").Dayjs | import("dayjs").Dayjs[]) => void;
|
|
@@ -4092,7 +4096,7 @@ declare const TimePicker: {
|
|
|
4092
4096
|
onDisplayIndexChange?: undefined;
|
|
4093
4097
|
}>;
|
|
4094
4098
|
mergedDisabled: import("vue").ComputedRef<boolean>;
|
|
4095
|
-
onPanelVisibleChange:
|
|
4099
|
+
onPanelVisibleChange: (newVisible: boolean) => void;
|
|
4096
4100
|
onInputClear: (e: Event) => void;
|
|
4097
4101
|
onPanelSelect: (value: import("dayjs").Dayjs | Array<import("dayjs").Dayjs | undefined>) => void;
|
|
4098
4102
|
onPanelConfirm: (value: import("dayjs").Dayjs | import("dayjs").Dayjs[]) => void;
|
|
@@ -4786,7 +4790,7 @@ declare const TimePicker: {
|
|
|
4786
4790
|
};
|
|
4787
4791
|
}>, {
|
|
4788
4792
|
prefixCls: string;
|
|
4789
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
4793
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4790
4794
|
prefix: {
|
|
4791
4795
|
type: StringConstructor;
|
|
4792
4796
|
};
|
|
@@ -4798,7 +4802,9 @@ declare const TimePicker: {
|
|
|
4798
4802
|
type: BooleanConstructor;
|
|
4799
4803
|
default: boolean;
|
|
4800
4804
|
};
|
|
4801
|
-
}>> & Readonly<{
|
|
4805
|
+
}>> & Readonly<{
|
|
4806
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
4807
|
+
}>, {
|
|
4802
4808
|
size: "medium" | "large" | "small" | "mini";
|
|
4803
4809
|
disabled: boolean;
|
|
4804
4810
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -5550,7 +5556,7 @@ declare const TimePicker: {
|
|
|
5550
5556
|
};
|
|
5551
5557
|
}>, {
|
|
5552
5558
|
prefixCls: string;
|
|
5553
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
5559
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5554
5560
|
prefix: {
|
|
5555
5561
|
type: StringConstructor;
|
|
5556
5562
|
};
|
|
@@ -5562,7 +5568,9 @@ declare const TimePicker: {
|
|
|
5562
5568
|
type: BooleanConstructor;
|
|
5563
5569
|
default: boolean;
|
|
5564
5570
|
};
|
|
5565
|
-
}>> & Readonly<{
|
|
5571
|
+
}>> & Readonly<{
|
|
5572
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
5573
|
+
}>, {
|
|
5566
5574
|
size: "medium" | "large" | "small" | "mini";
|
|
5567
5575
|
disabled: boolean;
|
|
5568
5576
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -6204,7 +6212,7 @@ declare const TimePicker: {
|
|
|
6204
6212
|
hideDisabledOptions: boolean;
|
|
6205
6213
|
}, {
|
|
6206
6214
|
prefixCls: string;
|
|
6207
|
-
t: (key: string, ...args:
|
|
6215
|
+
t: (key: string, ...args: unknown[]) => string;
|
|
6208
6216
|
hours: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
6209
6217
|
minutes: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
6210
6218
|
seconds: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
@@ -6964,7 +6972,7 @@ declare const TimePicker: {
|
|
|
6964
6972
|
hideDisabledOptions: boolean;
|
|
6965
6973
|
}, {
|
|
6966
6974
|
prefixCls: string;
|
|
6967
|
-
t: (key: string, ...args:
|
|
6975
|
+
t: (key: string, ...args: unknown[]) => string;
|
|
6968
6976
|
hours: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
6969
6977
|
minutes: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
6970
6978
|
seconds: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
22
22
|
hideDisabledOptions: boolean;
|
|
23
23
|
}, {
|
|
24
24
|
prefixCls: string;
|
|
25
|
-
t: (key: string, ...args:
|
|
25
|
+
t: (key: string, ...args: unknown[]) => string;
|
|
26
26
|
hours: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
27
27
|
minutes: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
28
28
|
seconds: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
49
49
|
hideDisabledOptions: boolean;
|
|
50
50
|
}, {
|
|
51
51
|
prefixCls: string;
|
|
52
|
-
t: (key: string, ...args:
|
|
52
|
+
t: (key: string, ...args: unknown[]) => string;
|
|
53
53
|
hours: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
54
54
|
minutes: import("vue").ComputedRef<import("./interface").TimeList>;
|
|
55
55
|
seconds: import("vue").ComputedRef<import("./interface").TimeList>;
|