bkui-vue 2.0.1-beta.12 → 2.0.1-beta.14
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 +165 -165
- package/dist/index.esm.js +31253 -31265
- package/dist/index.umd.js +165 -165
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/index.d.ts +11 -11
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/index.js +1 -1
- package/lib/button/button.d.ts +7 -7
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -7
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/index.js +31 -32
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/index.js +3 -3
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/index.js +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/color-picker/index.js +44 -44
- package/lib/components.d.ts +32 -32
- package/lib/components.js +31 -31
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/container/index.js +6 -7
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +1 -1
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +1 -1
- package/lib/date-picker/index.js +190 -188
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +5 -5
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/props.d.ts +1 -1
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.d.ts +18 -18
- package/lib/dialog/index.d.ts +40 -40
- package/lib/dialog/index.js +22 -22
- package/lib/dialog/props.d.ts +7 -7
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -166
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -2
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/index.d.ts +11 -11
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form.d.ts +2 -2
- package/lib/form/index.js +14 -15
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/index.js +20 -21
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/lib/info-box/index.js +13 -13
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +16 -17
- package/lib/input/input.d.ts +15 -15
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.d.ts +5 -5
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.d.ts +6 -6
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.js +0 -1
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/index.d.ts +3 -3
- package/lib/modal/index.js +7 -7
- package/lib/modal/modal.d.ts +1 -1
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/notify/index.js +4 -4
- package/lib/overflow-title/components/overflow-title.d.ts +9 -9
- package/lib/overflow-title/index.d.ts +19 -19
- package/lib/overflow-title/index.js +61 -11
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.js +16 -16
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.js +18 -20
- package/lib/pop-confirm/index.d.ts +11 -11
- package/lib/pop-confirm/index.js +9 -9
- package/lib/pop-confirm/pop-confirm.d.ts +5 -5
- package/lib/pop-confirm/props.d.ts +4 -4
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +18 -20
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/props.d.ts +4 -4
- package/lib/process/index.js +3 -3
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -11
- package/lib/progress/progress.d.ts +7 -7
- package/lib/radio/index.js +10 -10
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +7 -8
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/scrollbar/index.js +0 -1
- package/lib/scrollbar/scrollbar-core/index.d.ts +9 -9
- package/lib/search-select/index.js +66 -66
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/selected.d.ts +1 -1
- package/lib/search-select/utils.d.ts +3 -3
- package/lib/select/index.d.ts +61 -61
- package/lib/select/index.js +69 -75
- package/lib/select/option.d.ts +1 -1
- package/lib/select/select.d.ts +24 -24
- package/lib/select/selectTagInput.d.ts +6 -6
- package/lib/select/type.d.ts +2 -2
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/index.js +38 -46
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +46 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +3 -3
- package/lib/sideslider/index.js +11 -11
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/slider/index.js +21 -23
- package/lib/steps/index.d.ts +11 -11
- package/lib/steps/index.js +3 -3
- package/lib/steps/steps.d.ts +7 -7
- package/lib/swiper/index.js +5 -5
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/tab/index.d.ts +22 -22
- package/lib/tab/index.js +15 -15
- package/lib/tab/props.d.ts +15 -15
- package/lib/tab/tab-nav.d.ts +10 -10
- package/lib/tab/tab.d.ts +10 -10
- package/lib/table/components/table-column.d.ts +27 -87
- package/lib/table/const.d.ts +8 -8
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +194 -244
- package/lib/table/index.js +124 -128
- package/lib/table/props.d.ts +33 -33
- package/lib/table/table.d.ts +47 -47
- package/lib/table/use-attributes.d.ts +3 -3
- package/lib/table/use-column.d.ts +9 -129
- package/lib/table/use-common.d.ts +4 -4
- package/lib/table/utils.d.ts +5 -5
- package/lib/table-column/index.d.ts +42 -172
- package/lib/table-column/index.js +18 -18
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +8 -8
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.d.ts +4 -4
- package/lib/tag-input/tag-props.d.ts +2 -2
- package/lib/timeline/index.js +2 -2
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +3 -5
- package/lib/tree/constant.d.ts +20 -20
- package/lib/tree/index.d.ts +20 -20
- package/lib/tree/index.js +36 -36
- package/lib/tree/props.d.ts +6 -6
- package/lib/tree/tree.d.ts +6 -6
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/upload/index.js +25 -26
- package/lib/upload/props.d.ts +1 -1
- package/lib/upload/upload.type.d.ts +6 -6
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/package.json +13 -49
package/lib/affix/index.js
CHANGED
@@ -2,8 +2,8 @@ import "../styles/reset.css";
|
|
2
2
|
import "./affix.less";
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
|
6
5
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
|
7
7
|
/******/ // The require scope
|
8
8
|
/******/ var __webpack_require__ = {};
|
9
9
|
/******/
|
@@ -86,14 +86,14 @@ function _defineProperty(obj, key, value) {
|
|
86
86
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
87
87
|
var external_vue_y = x => () => x
|
88
88
|
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
|
89
|
-
;// CONCATENATED MODULE: external "lodash/throttle"
|
90
|
-
var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
91
|
-
var throttle_y = x => () => x
|
92
|
-
const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
|
93
89
|
;// CONCATENATED MODULE: external "../config-provider"
|
94
90
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
95
91
|
var config_provider_y = x => () => x
|
96
92
|
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
93
|
+
;// CONCATENATED MODULE: external "lodash/throttle"
|
94
|
+
var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
95
|
+
var throttle_y = x => () => x
|
96
|
+
const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
|
97
97
|
;// CONCATENATED MODULE: ../../packages/affix/src/affix.tsx
|
98
98
|
|
99
99
|
|
@@ -283,8 +283,8 @@ var off = function () {
|
|
283
283
|
"ref": root
|
284
284
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
285
285
|
"ref": point,
|
286
|
-
"
|
287
|
-
"
|
286
|
+
"style": offsetStyles.value,
|
287
|
+
"class": pointClass.value
|
288
288
|
}, [(_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)])]);
|
289
289
|
};
|
290
290
|
}
|
package/lib/alert/alert.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
-
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "
|
3
|
-
default: "" | "info" | "success" | "
|
2
|
+
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
3
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
4
4
|
};
|
5
5
|
size: import("vue-types").VueTypeValidableDef<string> & {
|
6
6
|
default: string;
|
@@ -29,8 +29,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
29
29
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
30
30
|
close: (event: Event) => Event;
|
31
31
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
32
|
-
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "
|
33
|
-
default: "" | "info" | "success" | "
|
32
|
+
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
33
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
34
34
|
};
|
35
35
|
size: import("vue-types").VueTypeValidableDef<string> & {
|
36
36
|
default: string;
|
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
56
56
|
}, {
|
57
57
|
title: string;
|
58
58
|
size: string;
|
59
|
-
theme: "" | "info" | "success" | "
|
59
|
+
theme: "" | "info" | "success" | "danger" | "warning";
|
60
60
|
closable: boolean;
|
61
61
|
closeText: string;
|
62
62
|
showIcon: boolean;
|
package/lib/alert/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
declare const BkAlert: {
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
|
-
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "
|
4
|
-
default: "" | "info" | "success" | "
|
3
|
+
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
4
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
5
5
|
};
|
6
6
|
size: import("vue-types").VueTypeValidableDef<string> & {
|
7
7
|
default: string;
|
@@ -32,8 +32,8 @@ declare const BkAlert: {
|
|
32
32
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
33
33
|
close: (event: Event) => Event;
|
34
34
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
35
|
-
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "
|
36
|
-
default: "" | "info" | "success" | "
|
35
|
+
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
36
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
37
37
|
};
|
38
38
|
size: import("vue-types").VueTypeValidableDef<string> & {
|
39
39
|
default: string;
|
@@ -59,7 +59,7 @@ declare const BkAlert: {
|
|
59
59
|
}, {
|
60
60
|
title: string;
|
61
61
|
size: string;
|
62
|
-
theme: "" | "info" | "success" | "
|
62
|
+
theme: "" | "info" | "success" | "danger" | "warning";
|
63
63
|
closable: boolean;
|
64
64
|
closeText: string;
|
65
65
|
showIcon: boolean;
|
@@ -71,8 +71,8 @@ declare const BkAlert: {
|
|
71
71
|
M: {};
|
72
72
|
Defaults: {};
|
73
73
|
}, Readonly<import("vue").ExtractPropTypes<{
|
74
|
-
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "
|
75
|
-
default: "" | "info" | "success" | "
|
74
|
+
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
75
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
76
76
|
};
|
77
77
|
size: import("vue-types").VueTypeValidableDef<string> & {
|
78
78
|
default: string;
|
@@ -103,7 +103,7 @@ declare const BkAlert: {
|
|
103
103
|
}, {}, {}, {}, {
|
104
104
|
title: string;
|
105
105
|
size: string;
|
106
|
-
theme: "" | "info" | "success" | "
|
106
|
+
theme: "" | "info" | "success" | "danger" | "warning";
|
107
107
|
closable: boolean;
|
108
108
|
closeText: string;
|
109
109
|
showIcon: boolean;
|
@@ -112,8 +112,8 @@ declare const BkAlert: {
|
|
112
112
|
__isTeleport?: never;
|
113
113
|
__isSuspense?: never;
|
114
114
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
115
|
-
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "
|
116
|
-
default: "" | "info" | "success" | "
|
115
|
+
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
116
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
117
117
|
};
|
118
118
|
size: import("vue-types").VueTypeValidableDef<string> & {
|
119
119
|
default: string;
|
@@ -146,7 +146,7 @@ declare const BkAlert: {
|
|
146
146
|
}, string, {
|
147
147
|
title: string;
|
148
148
|
size: string;
|
149
|
-
theme: "" | "info" | "success" | "
|
149
|
+
theme: "" | "info" | "success" | "danger" | "warning";
|
150
150
|
closable: boolean;
|
151
151
|
closeText: string;
|
152
152
|
showIcon: boolean;
|
package/lib/backtop/backtop.d.ts
CHANGED
package/lib/backtop/index.d.ts
CHANGED
@@ -53,8 +53,8 @@ declare const BkBacktop: {
|
|
53
53
|
};
|
54
54
|
}>>, {
|
55
55
|
extCls: string;
|
56
|
-
right: number;
|
57
56
|
bottom: number;
|
57
|
+
right: number;
|
58
58
|
target: string;
|
59
59
|
visibilityHeight: number;
|
60
60
|
}, true, {}, {}, {
|
@@ -92,8 +92,8 @@ declare const BkBacktop: {
|
|
92
92
|
};
|
93
93
|
}>>, () => JSX.Element, {}, {}, {}, {
|
94
94
|
extCls: string;
|
95
|
-
right: number;
|
96
95
|
bottom: number;
|
96
|
+
right: number;
|
97
97
|
target: string;
|
98
98
|
visibilityHeight: number;
|
99
99
|
}>;
|
@@ -128,8 +128,8 @@ declare const BkBacktop: {
|
|
128
128
|
};
|
129
129
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
130
130
|
extCls: string;
|
131
|
-
right: number;
|
132
131
|
bottom: number;
|
132
|
+
right: number;
|
133
133
|
target: string;
|
134
134
|
visibilityHeight: number;
|
135
135
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
package/lib/backtop/index.js
CHANGED
@@ -2,9 +2,9 @@ import "../styles/reset.css";
|
|
2
2
|
import "./backtop.less";
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
|
6
5
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
7
6
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
|
8
8
|
/******/ // The require scope
|
9
9
|
/******/ var __webpack_require__ = {};
|
10
10
|
/******/
|
@@ -42,10 +42,6 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
|
|
42
42
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
43
43
|
var external_vue_y = x => () => x
|
44
44
|
const external_vue_namespaceObject = external_vue_x({ ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
45
|
-
;// CONCATENATED MODULE: external "lodash/throttle"
|
46
|
-
var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
47
|
-
var throttle_y = x => () => x
|
48
|
-
const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
|
49
45
|
;// CONCATENATED MODULE: external "../config-provider"
|
50
46
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
51
47
|
var config_provider_y = x => () => x
|
@@ -54,6 +50,10 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
54
50
|
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
55
51
|
var icon_y = x => () => x
|
56
52
|
const icon_namespaceObject = icon_x({ ["AngleUp"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp });
|
53
|
+
;// CONCATENATED MODULE: external "lodash/throttle"
|
54
|
+
var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
55
|
+
var throttle_y = x => () => x
|
56
|
+
const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
|
57
57
|
;// CONCATENATED MODULE: ../../packages/backtop/src/backtop.tsx
|
58
58
|
|
59
59
|
/*
|
@@ -141,12 +141,12 @@ const icon_namespaceObject = icon_x({ ["AngleUp"]: () => __WEBPACK_EXTERNAL_MODU
|
|
141
141
|
}, {
|
142
142
|
"default": function _default() {
|
143
143
|
return [visible.value ? (0,external_vue_namespaceObject.createVNode)("div", {
|
144
|
-
"class": "".concat(resolveClassName('backtop'), " ").concat(props.extCls),
|
145
144
|
"style": {
|
146
145
|
right: styleRight,
|
147
146
|
bottom: styleBottom,
|
148
147
|
zIndex: zIndex.value
|
149
148
|
},
|
149
|
+
"class": "".concat(resolveClassName('backtop'), " ").concat(props.extCls),
|
150
150
|
"onClick": scrollTop
|
151
151
|
}, [(_slots$default = (_slots$default2 = slots["default"]) === null || _slots$default2 === void 0 ? void 0 : _slots$default2.call(slots)) !== null && _slots$default !== void 0 ? _slots$default : (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleUp, {
|
152
152
|
"class": "".concat(resolveClassName('backtop-icon'))
|
package/lib/badge/index.js
CHANGED
@@ -196,8 +196,8 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
196
196
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
197
197
|
"class": wrapperClasses
|
198
198
|
}, [(_this$$slots$default = (_this$$slots$default2 = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : '', !this.$props.visible ? (0,external_vue_namespaceObject.createVNode)("span", {
|
199
|
-
"class": badgeClass,
|
200
199
|
"style": this.radiusStyle,
|
200
|
+
"class": badgeClass,
|
201
201
|
"onMouseenter": this.handleHover,
|
202
202
|
"onMouseleave": this.handleLeave
|
203
203
|
}, [(_this$$slots$icon = (_this$$slots$icon2 = (_this$$slots2 = this.$slots).icon) === null || _this$$slots$icon2 === void 0 ? void 0 : _this$$slots$icon2.call(_this$$slots2)) !== null && _this$$slots$icon !== void 0 ? _this$$slots$icon : number]) : '']);
|
package/lib/button/button.d.ts
CHANGED
@@ -24,10 +24,10 @@
|
|
24
24
|
* IN THE SOFTWARE.
|
25
25
|
*/
|
26
26
|
import { ExtractPropTypes, PropType } from 'vue';
|
27
|
-
type IButtonNativeType = PropType<'button' | '
|
27
|
+
type IButtonNativeType = PropType<'button' | 'reset' | 'submit'>;
|
28
28
|
declare const buttonProps: {
|
29
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
30
|
-
hoverTheme: import("vue-types").VueTypeDef<"success" | "
|
29
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
30
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
31
31
|
size: {
|
32
32
|
type: PropType<"" | "small" | "large">;
|
33
33
|
default: "";
|
@@ -67,8 +67,8 @@ declare const buttonProps: {
|
|
67
67
|
};
|
68
68
|
export type ButtonPropTypes = ExtractPropTypes<typeof buttonProps>;
|
69
69
|
declare const _default: import("vue").DefineComponent<{
|
70
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
71
|
-
hoverTheme: import("vue-types").VueTypeDef<"success" | "
|
70
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
71
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
72
72
|
size: {
|
73
73
|
type: PropType<"" | "small" | "large">;
|
74
74
|
default: "";
|
@@ -106,8 +106,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
106
106
|
default: string;
|
107
107
|
};
|
108
108
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "mouseover")[], "click" | "mouseover", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
109
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
110
|
-
hoverTheme: import("vue-types").VueTypeDef<"success" | "
|
109
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
110
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
111
111
|
size: {
|
112
112
|
type: PropType<"" | "small" | "large">;
|
113
113
|
default: "";
|
package/lib/button/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import ButtonGroup from './button-group';
|
2
2
|
declare const BkButton: {
|
3
3
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
4
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
5
|
-
hoverTheme: import("vue-types").VueTypeDef<"success" | "
|
4
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
5
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
6
6
|
size: {
|
7
7
|
type: import("vue").PropType<"" | "small" | "large">;
|
8
8
|
default: "";
|
@@ -43,8 +43,8 @@ declare const BkButton: {
|
|
43
43
|
onClick?: (...args: any[]) => any;
|
44
44
|
onMouseover?: (...args: any[]) => any;
|
45
45
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "mouseover")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
46
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
47
|
-
hoverTheme: import("vue-types").VueTypeDef<"success" | "
|
46
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
47
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
48
48
|
size: {
|
49
49
|
type: import("vue").PropType<"" | "small" | "large">;
|
50
50
|
default: "";
|
@@ -104,8 +104,8 @@ declare const BkButton: {
|
|
104
104
|
M: {};
|
105
105
|
Defaults: {};
|
106
106
|
}, Readonly<import("vue").ExtractPropTypes<{
|
107
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
108
|
-
hoverTheme: import("vue-types").VueTypeDef<"success" | "
|
107
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
108
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
109
109
|
size: {
|
110
110
|
type: import("vue").PropType<"" | "small" | "large">;
|
111
111
|
default: "";
|
@@ -162,8 +162,8 @@ declare const BkButton: {
|
|
162
162
|
__isTeleport?: never;
|
163
163
|
__isSuspense?: never;
|
164
164
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
165
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
166
|
-
hoverTheme: import("vue-types").VueTypeDef<"success" | "
|
165
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
166
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
167
167
|
size: {
|
168
168
|
type: import("vue").PropType<"" | "small" | "large">;
|
169
169
|
default: "";
|
package/lib/button/index.js
CHANGED
@@ -162,7 +162,6 @@ var buttonProps = {
|
|
162
162
|
}
|
163
163
|
};
|
164
164
|
/* harmony default export */ const src_button = ((0,external_vue_namespaceObject.defineComponent)({
|
165
|
-
// eslint-disable-next-line vue/no-reserved-component-names
|
166
165
|
name: 'Button',
|
167
166
|
props: buttonProps,
|
168
167
|
emits: ['click', 'mouseover'],
|
@@ -219,18 +218,18 @@ var buttonProps = {
|
|
219
218
|
return function () {
|
220
219
|
var _slots$default2;
|
221
220
|
return (0,external_vue_namespaceObject.createVNode)("button", {
|
222
|
-
"title": props.title,
|
223
|
-
"disabled": props.disabled,
|
224
221
|
"class": btnCls.value,
|
222
|
+
"disabled": props.disabled,
|
223
|
+
"title": props.title,
|
225
224
|
"type": props.nativeType,
|
226
225
|
"onClick": handleClick,
|
227
|
-
"
|
228
|
-
"
|
226
|
+
"onMouseleave": handleMouseout,
|
227
|
+
"onMouseover": handleMouseOver
|
229
228
|
}, [props.loading && (0,external_vue_namespaceObject.createVNode)(loading_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
230
|
-
"loading": true,
|
231
229
|
"class": "".concat(btnClsPrefix, "-loading"),
|
232
230
|
"mode": props.loadingMode,
|
233
|
-
"size": loadingSize.value
|
231
|
+
"size": loadingSize.value,
|
232
|
+
"loading": true
|
234
233
|
}, loadingTheme.value ? {
|
235
234
|
theme: loadingTheme.value
|
236
235
|
} : {}), null), slots["default"] && (0,external_vue_namespaceObject.createVNode)("span", {
|
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
43
43
|
onClick: (e: Event) => void;
|
44
44
|
onMouseenter: () => void;
|
45
45
|
};
|
46
|
-
isCheckedNode: (node: INode, checkValue: (
|
46
|
+
isCheckedNode: (node: INode, checkValue: (number | string | string[])[]) => any;
|
47
47
|
checkValue: import("vue").Ref<(string | number | string[])[]>;
|
48
48
|
checkNode: (node: INode, value: boolean) => void;
|
49
49
|
iconRender: (node: any) => JSX.Element;
|
@@ -193,7 +193,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
193
193
|
appendNode: (nodeData: import("./interface").IData, parentNode: import("./interface").IData) => void;
|
194
194
|
appendNodes: (nodeDataList: import("./interface").IData[], parentNode: import("./interface").IData) => void;
|
195
195
|
}>;
|
196
|
-
updateValue: (val: Array<
|
196
|
+
updateValue: (val: Array<number | string | string[]>) => void;
|
197
197
|
selectedText: import("vue").Ref<string>;
|
198
198
|
checkedValue: import("vue").WritableComputedRef<(string | number | string[])[]>;
|
199
199
|
handleClear: (e: Event) => void;
|
package/lib/cascader/index.js
CHANGED
@@ -1074,11 +1074,11 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1074
1074
|
var emptyWidth = parseInt(this.panelWidth, 10) > 200 ? this.panelWidth : "".concat(200, "px");
|
1075
1075
|
var searchPanelRender = function searchPanelRender() {
|
1076
1076
|
return _this.suggestions.length ? (0,external_vue_namespaceObject.createVNode)("ul", {
|
1077
|
-
"class": [_this.resolveClassName('cascader-panel'), _this.resolveClassName('scroll-y')],
|
1078
1077
|
"style": {
|
1079
1078
|
height: _this.panelHeight,
|
1080
1079
|
width: _this.panelWidth
|
1081
|
-
}
|
1080
|
+
},
|
1081
|
+
"class": [_this.resolveClassName('cascader-panel'), _this.resolveClassName('scroll-y')]
|
1082
1082
|
}, [_this.suggestions.map(function (node) {
|
1083
1083
|
return (0,external_vue_namespaceObject.createVNode)("li", (0,external_vue_namespaceObject.mergeProps)({
|
1084
1084
|
"class": [_this.resolveClassName('cascader-node'), {
|
@@ -1090,21 +1090,21 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1090
1090
|
}]
|
1091
1091
|
}, _this.searchPanelEvents(node)), [node.pathNames.join(_this.separator)]);
|
1092
1092
|
})]) : (0,external_vue_namespaceObject.createVNode)("div", {
|
1093
|
-
"class": _this.resolveClassName('cascader-search-empty'),
|
1094
1093
|
"style": {
|
1095
1094
|
width: emptyWidth
|
1096
|
-
}
|
1095
|
+
},
|
1096
|
+
"class": _this.resolveClassName('cascader-search-empty')
|
1097
1097
|
}, [(0,external_vue_namespaceObject.createVNode)("span", null, [_this.noDataText])]);
|
1098
1098
|
};
|
1099
1099
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
1100
1100
|
"class": this.resolveClassName('cascader-panel-wrapper')
|
1101
1101
|
}, [this.isFiltering ? searchPanelRender() : this.menus.list.map(function (menu) {
|
1102
1102
|
return (0,external_vue_namespaceObject.createVNode)("ul", {
|
1103
|
-
"class": [_this.resolveClassName('cascader-panel'), _this.resolveClassName('scroll-y')],
|
1104
1103
|
"style": {
|
1105
1104
|
height: _this.panelHeight,
|
1106
1105
|
width: _this.panelWidth
|
1107
|
-
}
|
1106
|
+
},
|
1107
|
+
"class": [_this.resolveClassName('cascader-panel'), _this.resolveClassName('scroll-y')]
|
1108
1108
|
}, [menu.length ? menu.map(function (node) {
|
1109
1109
|
var _this$$slots$default, _this$$slots;
|
1110
1110
|
return (0,external_vue_namespaceObject.createVNode)("li", (0,external_vue_namespaceObject.mergeProps)({
|
@@ -1116,13 +1116,13 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1116
1116
|
'is-checked': !node.config.multiple && _this.isCheckedNode(node, _this.checkValue)
|
1117
1117
|
}]
|
1118
1118
|
}, Object.assign(_this.nodeEvent(node), node.config.multiple ? {} : {})), [node.config.multiple && (0,external_vue_namespaceObject.createVNode)(checkbox_namespaceObject["default"], {
|
1119
|
-
"
|
1119
|
+
"style": "margin-right: 5px",
|
1120
1120
|
"modelValue": node.checked,
|
1121
1121
|
"onUpdate:modelValue": function onUpdateModelValue($event) {
|
1122
1122
|
return node.checked = $event;
|
1123
1123
|
},
|
1124
|
+
"disabled": node.isDisabled,
|
1124
1125
|
"indeterminate": node.isIndeterminate,
|
1125
|
-
"style": "margin-right: 5px",
|
1126
1126
|
"onChange": function onChange(val) {
|
1127
1127
|
return _this.checkNode(node, !!val);
|
1128
1128
|
}
|
@@ -1423,7 +1423,6 @@ var flatNodes = function flatNodes(data, leafOnly) {
|
|
1423
1423
|
acc.push(node);
|
1424
1424
|
} else {
|
1425
1425
|
!leafOnly && acc.push(node);
|
1426
|
-
// eslint-disable-next-line no-param-reassign
|
1427
1426
|
acc = acc.concat(flatNodes(node.children, leafOnly));
|
1428
1427
|
}
|
1429
1428
|
return acc;
|
@@ -1923,11 +1922,11 @@ var Store = /*#__PURE__*/function () {
|
|
1923
1922
|
var isOverflow = !_this.isCollapse && _this.overflowTagIndex !== null && index >= _this.overflowTagIndex;
|
1924
1923
|
// 根据tag是否超出显示范围,来决定是否渲染
|
1925
1924
|
return (0,external_vue_namespaceObject.createVNode)("span", {
|
1926
|
-
"
|
1925
|
+
"key": tag,
|
1927
1926
|
"style": {
|
1928
1927
|
display: isOverflow ? 'none' : ''
|
1929
1928
|
},
|
1930
|
-
"
|
1929
|
+
"class": "tag-item"
|
1931
1930
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
1932
1931
|
"class": "tag-item-name"
|
1933
1932
|
}, [tag]), (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
|
@@ -1954,17 +1953,17 @@ var Store = /*#__PURE__*/function () {
|
|
1954
1953
|
// 定义popoverRender函数,用于渲染弹出框
|
1955
1954
|
var popoverRender = function popoverRender() {
|
1956
1955
|
return (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
|
1957
|
-
"
|
1958
|
-
"
|
1959
|
-
"trigger": "click",
|
1956
|
+
"ref": "popover",
|
1957
|
+
"class": _this.resolveClassName('cascader-popover-wrapper'),
|
1960
1958
|
"arrow": false,
|
1959
|
+
"boundary": "body",
|
1961
1960
|
"disabled": _this.disabled,
|
1962
1961
|
"offset": 4,
|
1963
|
-
"
|
1964
|
-
"
|
1962
|
+
"placement": "bottom-start",
|
1963
|
+
"theme": "light ".concat(_this.resolveClassName('cascader-popover')),
|
1964
|
+
"trigger": "click",
|
1965
1965
|
"onAfterHidden": _this.popoverChangeEmitter,
|
1966
|
-
"onAfterShow": _this.popoverChangeEmitter
|
1967
|
-
"boundary": "body"
|
1966
|
+
"onAfterShow": _this.popoverChangeEmitter
|
1968
1967
|
}, {
|
1969
1968
|
"default": function _default() {
|
1970
1969
|
return _this.$slots.trigger ? _this.$slots.trigger({
|
@@ -1973,34 +1972,34 @@ var Store = /*#__PURE__*/function () {
|
|
1973
1972
|
}) : (0,external_vue_namespaceObject.createVNode)("div", {
|
1974
1973
|
"class": [_this.resolveClassName('cascader-name'), _this.resolveClassName('scroll-y')]
|
1975
1974
|
}, [_this.multiple && _this.selectedTags.length > 0 && renderTags(), _this.filterable ? (_this.isCollapse || _this.selectedTags.length === 0) && (0,external_vue_namespaceObject.createVNode)("input", {
|
1975
|
+
"ref": "inputRef",
|
1976
1976
|
"class": [_this.resolveClassName('cascader-search-input'), {
|
1977
1977
|
'is-disabled': _this.disabled
|
1978
1978
|
}],
|
1979
|
-
"
|
1980
|
-
"onInput": _this.searchInputHandler,
|
1981
|
-
"onBlur": _this.searchBlueHandler,
|
1979
|
+
"disabled": _this.disabled,
|
1982
1980
|
"placeholder": _this.calcuPlaceholder,
|
1981
|
+
"type": "text",
|
1983
1982
|
"value": _this.searchKey,
|
1984
|
-
"
|
1985
|
-
"
|
1983
|
+
"onBlur": _this.searchBlueHandler,
|
1984
|
+
"onInput": _this.searchInputHandler
|
1986
1985
|
}, null) : textRender()]);
|
1987
1986
|
},
|
1988
1987
|
content: function content() {
|
1989
1988
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
1990
1989
|
"class": _this.resolveClassName('cascader-popover')
|
1991
1990
|
}, [(0,external_vue_namespaceObject.createVNode)(cascader_panel, {
|
1992
|
-
"store": _this.store,
|
1993
1991
|
"ref": "cascaderPanel",
|
1994
1992
|
"width": _this.scrollWidth,
|
1995
1993
|
"height": _this.scrollHeight,
|
1996
|
-
"search-key": _this.searchKey,
|
1997
|
-
"separator": _this.separator,
|
1998
|
-
"is-filtering": _this.isFiltering,
|
1999
|
-
"suggestions": _this.suggestions,
|
2000
1994
|
"modelValue": _this.checkedValue,
|
2001
1995
|
"onUpdate:modelValue": function onUpdateModelValue($event) {
|
2002
1996
|
return _this.checkedValue = $event;
|
2003
|
-
}
|
1997
|
+
},
|
1998
|
+
"is-filtering": _this.isFiltering,
|
1999
|
+
"search-key": _this.searchKey,
|
2000
|
+
"separator": _this.separator,
|
2001
|
+
"store": _this.store,
|
2002
|
+
"suggestions": _this.suggestions
|
2004
2003
|
}, {
|
2005
2004
|
"default": function _default(scope) {
|
2006
2005
|
return _this.$slots["default"] ? _this.$slots["default"](scope) : (0,external_vue_namespaceObject.createVNode)("span", {
|
@@ -2014,6 +2013,7 @@ var Store = /*#__PURE__*/function () {
|
|
2014
2013
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
2015
2014
|
"class": [this.resolveClassName('cascader-wrapper'), this.floatMode ? 'float-mode' : '']
|
2016
2015
|
}, [this.$slots.trigger ? popoverRender() : (0,external_vue_namespaceObject.createVNode)("div", {
|
2016
|
+
"ref": "bkCascaderRef",
|
2017
2017
|
"class": [this.resolveClassName('cascader'), this.extCls, {
|
2018
2018
|
'is-unselected': this.modelValue.length === 0,
|
2019
2019
|
'is-hover': this.isHover,
|
@@ -2022,11 +2022,10 @@ var Store = /*#__PURE__*/function () {
|
|
2022
2022
|
'is-disabled': this.disabled,
|
2023
2023
|
'is-simplicity': this.behavior === 'simplicity'
|
2024
2024
|
}],
|
2025
|
-
"tabindex": "0",
|
2026
2025
|
"data-placeholder": this.calcuPlaceholder,
|
2026
|
+
"tabindex": "0",
|
2027
2027
|
"onMouseenter": this.setHover,
|
2028
|
-
"onMouseleave": this.cancelHover
|
2029
|
-
"ref": "bkCascaderRef"
|
2028
|
+
"onMouseleave": this.cancelHover
|
2030
2029
|
}, [suffixIcon(), popoverRender()])]);
|
2031
2030
|
}
|
2032
2031
|
}));
|
package/lib/checkbox/index.js
CHANGED
@@ -412,11 +412,11 @@ var checkboxProps = {
|
|
412
412
|
"class": this.resolveClassName('checkbox-input')
|
413
413
|
}, [(0,external_vue_namespaceObject.createVNode)("input", {
|
414
414
|
"ref": "inputRef",
|
415
|
-
"role": "checkbox",
|
416
|
-
"type": "checkbox",
|
417
415
|
"class": "".concat(this.resolveClassName('checkbox-original')),
|
418
|
-
"disabled": this.isDisabled || this.isPrechecking,
|
419
416
|
"checked": this.isChecked,
|
417
|
+
"disabled": this.isDisabled || this.isPrechecking,
|
418
|
+
"role": "checkbox",
|
419
|
+
"type": "checkbox",
|
420
420
|
"onChange": this.handleChange
|
421
421
|
}, null)]), renderLabel(), this.isPrechecking && (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Loading, {
|
422
422
|
"class": "".concat(this.resolveClassName('checkbox-checking'))
|
package/lib/checkbox/type.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import type { ComponentPublicInstance } from 'vue';
|
2
1
|
import type { CheckboxProps } from './checkbox';
|
3
2
|
import type { CheckboxGroupProps } from './checkbox-group';
|
3
|
+
import type { ComponentPublicInstance } from 'vue';
|
4
4
|
export type ICheckboxInstance = ComponentPublicInstance<CheckboxProps, {
|
5
5
|
isChecked: boolean;
|
6
6
|
label: string;
|
package/lib/code-diff/index.js
CHANGED
@@ -1067,6 +1067,14 @@ function _slicedToArray(arr, i) {
|
|
1067
1067
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1068
1068
|
var external_vue_y = x => () => x
|
1069
1069
|
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
1070
|
+
;// CONCATENATED MODULE: external "vue-types"
|
1071
|
+
var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1072
|
+
var external_vue_types_y = x => () => x
|
1073
|
+
const external_vue_types_namespaceObject = external_vue_types_x({ ["number"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.number, ["string"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.string });
|
1074
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
1075
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1076
|
+
var config_provider_y = x => () => x
|
1077
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
1070
1078
|
;// CONCATENATED MODULE: ../../packages/code-diff/node_modules/diff/lib/index.mjs
|
1071
1079
|
function Diff() {}
|
1072
1080
|
Diff.prototype = {
|
@@ -5418,14 +5426,6 @@ function html(diffInput, configuration = {}) {
|
|
5418
5426
|
return fileList + diffOutput;
|
5419
5427
|
}
|
5420
5428
|
//# sourceMappingURL=diff2html.js.map
|
5421
|
-
;// CONCATENATED MODULE: external "vue-types"
|
5422
|
-
var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
5423
|
-
var external_vue_types_y = x => () => x
|
5424
|
-
const external_vue_types_namespaceObject = external_vue_types_x({ ["number"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.number, ["string"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.string });
|
5425
|
-
;// CONCATENATED MODULE: external "../config-provider"
|
5426
|
-
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
5427
|
-
var config_provider_y = x => () => x
|
5428
|
-
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
5429
5429
|
// EXTERNAL MODULE: ../../node_modules/diff2html/bundles/css/diff2html.min.css
|
5430
5430
|
var diff2html_min = __webpack_require__(9003);
|
5431
5431
|
;// CONCATENATED MODULE: ../../packages/code-diff/src/code-diff.tsx
|
package/lib/collapse/index.js
CHANGED
@@ -544,11 +544,11 @@ function collapse_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
544
544
|
}
|
545
545
|
return (0,external_vue_namespaceObject.createVNode)(collapse_panel, {
|
546
546
|
"key": index,
|
547
|
-
"item-click": handleItemClick,
|
548
547
|
"disabled": item.disabled,
|
549
|
-
"name": name,
|
550
548
|
"icon": icon,
|
551
549
|
"isFormList": true,
|
550
|
+
"item-click": handleItemClick,
|
551
|
+
"name": name,
|
552
552
|
"title": title
|
553
553
|
}, {
|
554
554
|
content: function content() {
|