bkui-vue 2.0.1-beta.83 → 2.0.1-beta.85
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/index.cjs.js +53 -53
- package/dist/index.esm.js +10654 -10650
- package/dist/index.umd.js +53 -53
- package/lib/components.d.ts +0 -2
- package/lib/components.js +0 -2
- package/lib/date-picker/date-picker.d.ts +3 -1
- package/lib/date-picker/index.d.ts +10 -2
- package/lib/date-picker/index.js +6 -2
- package/lib/date-picker/time-picker.d.ts +3 -1
- package/lib/index.js +1 -1
- package/lib/select/index.d.ts +26 -0
- package/lib/select/index.js +38 -24
- package/lib/select/select.d.ts +12 -0
- package/lib/table/index.js +1 -1
- package/lib/table-column/index.js +1 -1
- package/lib/tag-input/index.d.ts +23 -0
- package/lib/tag-input/index.js +6 -2
- package/lib/tag-input/tag-input.d.ts +11 -0
- package/lib/tag-input/tag-props.d.ts +5 -0
- package/lib/time-picker/index.d.ts +10 -2
- package/lib/upload/index.js +8 -8
- package/package.json +1 -1
@@ -62,6 +62,11 @@ declare const tagProps: () => {
|
|
62
62
|
} & {
|
63
63
|
default: boolean;
|
64
64
|
};
|
65
|
+
clearTextSpace: import("vue-types").VueTypeValidableDef<boolean> & {
|
66
|
+
default: boolean;
|
67
|
+
} & {
|
68
|
+
default: boolean;
|
69
|
+
};
|
65
70
|
maxData: import("vue-types").VueTypeValidableDef<number> & {
|
66
71
|
default: number;
|
67
72
|
} & {
|
@@ -137,6 +137,8 @@ declare const BkTimePicker: {
|
|
137
137
|
readonly default: true;
|
138
138
|
};
|
139
139
|
}>> & {
|
140
|
+
onFocus?: (...args: any[]) => any;
|
141
|
+
onBlur?: (...args: any[]) => any;
|
140
142
|
onChange?: (...args: any[]) => any;
|
141
143
|
onInput?: (...args: any[]) => any;
|
142
144
|
onClear?: (...args: any[]) => any;
|
@@ -203,7 +205,7 @@ declare const BkTimePicker: {
|
|
203
205
|
shortcut: import("vue").Ref<any>;
|
204
206
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("../date-picker/interface").SelectionModeType>;
|
205
207
|
tmpValue: import("vue").Ref<any>;
|
206
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
208
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
207
209
|
disabledHours: {
|
208
210
|
readonly type: ArrayConstructor;
|
209
211
|
readonly default: () => any[];
|
@@ -341,6 +343,8 @@ declare const BkTimePicker: {
|
|
341
343
|
readonly default: true;
|
342
344
|
};
|
343
345
|
}>> & {
|
346
|
+
onFocus?: (...args: any[]) => any;
|
347
|
+
onBlur?: (...args: any[]) => any;
|
344
348
|
onChange?: (...args: any[]) => any;
|
345
349
|
onInput?: (...args: any[]) => any;
|
346
350
|
onClear?: (...args: any[]) => any;
|
@@ -533,6 +537,8 @@ declare const BkTimePicker: {
|
|
533
537
|
readonly default: true;
|
534
538
|
};
|
535
539
|
}>> & {
|
540
|
+
onFocus?: (...args: any[]) => any;
|
541
|
+
onBlur?: (...args: any[]) => any;
|
536
542
|
onChange?: (...args: any[]) => any;
|
537
543
|
onInput?: (...args: any[]) => any;
|
538
544
|
onClear?: (...args: any[]) => any;
|
@@ -773,6 +779,8 @@ declare const BkTimePicker: {
|
|
773
779
|
readonly default: true;
|
774
780
|
};
|
775
781
|
}>> & {
|
782
|
+
onFocus?: (...args: any[]) => any;
|
783
|
+
onBlur?: (...args: any[]) => any;
|
776
784
|
onChange?: (...args: any[]) => any;
|
777
785
|
onInput?: (...args: any[]) => any;
|
778
786
|
onClear?: (...args: any[]) => any;
|
@@ -839,7 +847,7 @@ declare const BkTimePicker: {
|
|
839
847
|
shortcut: import("vue").Ref<any>;
|
840
848
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("../date-picker/interface").SelectionModeType>;
|
841
849
|
tmpValue: import("vue").Ref<any>;
|
842
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", {
|
850
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "blur" | "change" | "focus" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", {
|
843
851
|
type: import("../date-picker/interface").PickerTypeType;
|
844
852
|
width: number;
|
845
853
|
disabled: boolean;
|
package/lib/upload/index.js
CHANGED
@@ -1632,8 +1632,8 @@ function _isSlot(s) {
|
|
1632
1632
|
var size = value / Math.pow(1024, index);
|
1633
1633
|
return "".concat(size.toFixed(2)).concat(uints[index]);
|
1634
1634
|
}
|
1635
|
-
function
|
1636
|
-
emit('preview', file, e);
|
1635
|
+
function handlePreview(file, files, e) {
|
1636
|
+
emit('preview', file, files, e);
|
1637
1637
|
}
|
1638
1638
|
function handleRemove(file, e) {
|
1639
1639
|
emit('remove', file, e);
|
@@ -1679,7 +1679,7 @@ function _isSlot(s) {
|
|
1679
1679
|
}, [isShowPreview.value && (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Eye, {
|
1680
1680
|
"class": "action-icon",
|
1681
1681
|
"onClick": function onClick(e) {
|
1682
|
-
return
|
1682
|
+
return handlePreview(file, props.files, e);
|
1683
1683
|
}
|
1684
1684
|
}, null), (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Del, {
|
1685
1685
|
"class": "action-icon",
|
@@ -1904,8 +1904,8 @@ const button_less_namespaceObject = button_less_x({ });
|
|
1904
1904
|
e.stopPropagation();
|
1905
1905
|
e.preventDefault();
|
1906
1906
|
}
|
1907
|
-
function
|
1908
|
-
emit('preview', file, e);
|
1907
|
+
function handlePreview(file, e) {
|
1908
|
+
emit('preview', file, [file], e);
|
1909
1909
|
e.stopPropagation();
|
1910
1910
|
e.preventDefault();
|
1911
1911
|
}
|
@@ -1977,7 +1977,7 @@ const button_less_namespaceObject = button_less_x({ });
|
|
1977
1977
|
}, [isShowPreview.value && (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Eye, {
|
1978
1978
|
"class": "action-icon",
|
1979
1979
|
"onClick": function onClick(e) {
|
1980
|
-
return
|
1980
|
+
return handlePreview(file, e);
|
1981
1981
|
}
|
1982
1982
|
}, null), (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Del, {
|
1983
1983
|
"class": "action-icon",
|
@@ -2757,8 +2757,8 @@ function upload_arrayLikeToArray(arr, len) { if (len == null || len > arr.length
|
|
2757
2757
|
_iterator.f();
|
2758
2758
|
}
|
2759
2759
|
}
|
2760
|
-
function handlePreview(file) {
|
2761
|
-
emit('preview', file);
|
2760
|
+
function handlePreview(file, files) {
|
2761
|
+
emit('preview', file, files);
|
2762
2762
|
}
|
2763
2763
|
function handleRetry(file) {
|
2764
2764
|
send(file.raw);
|