bkui-vue 2.0.1-beta.10 → 2.0.1-beta.11
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 +28601 -28591
- 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 -6
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/index.js +32 -31
- 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 -6
- 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 +188 -189
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- 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 -14
- 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 -20
- 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 -16
- 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 +1 -0
- 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 +11 -61
- 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 +19 -18
- package/lib/pop-confirm/index.d.ts +11 -11
- package/lib/pop-confirm/index.js +11 -10
- 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 +19 -18
- 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 -10
- 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 +8 -7
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/scrollbar/index.js +1 -0
- 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 +73 -69
- 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 +46 -38
- 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 +23 -21
- 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 +87 -27
- package/lib/table/const.d.ts +8 -8
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +244 -194
- package/lib/table/index.js +127 -124
- 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 +129 -9
- package/lib/table/use-common.d.ts +4 -4
- package/lib/table/utils.d.ts +5 -5
- package/lib/table-column/index.d.ts +172 -42
- 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 +5 -3
- package/lib/tree/constant.d.ts +20 -20
- package/lib/tree/index.d.ts +20 -20
- package/lib/tree/index.js +41 -37
- package/lib/tree/props.d.ts +6 -6
- package/lib/tree/tree.d.ts +8 -14
- 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 +26 -25
- 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 +49 -13
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_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
6
5
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
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 "../config-provider"
|
90
|
-
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
91
|
-
var config_provider_y = x => () => x
|
92
|
-
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
93
89
|
;// CONCATENATED MODULE: external "lodash/throttle"
|
94
90
|
var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
95
91
|
var throttle_y = x => () => x
|
96
92
|
const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
|
93
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
94
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
95
|
+
var config_provider_y = x => () => x
|
96
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
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
|
+
"class": pointClass.value,
|
287
|
+
"style": offsetStyles.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" | "warning" | "danger"> & {
|
3
|
+
default: "" | "info" | "success" | "warning" | "danger";
|
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" | "warning" | "danger"> & {
|
33
|
+
default: "" | "info" | "success" | "warning" | "danger";
|
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" | "warning" | "danger";
|
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" | "warning" | "danger"> & {
|
4
|
+
default: "" | "info" | "success" | "warning" | "danger";
|
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" | "warning" | "danger"> & {
|
36
|
+
default: "" | "info" | "success" | "warning" | "danger";
|
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" | "warning" | "danger";
|
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" | "warning" | "danger"> & {
|
75
|
+
default: "" | "info" | "success" | "warning" | "danger";
|
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" | "warning" | "danger";
|
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" | "warning" | "danger"> & {
|
116
|
+
default: "" | "info" | "success" | "warning" | "danger";
|
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" | "warning" | "danger";
|
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
|
-
bottom: number;
|
57
56
|
right: number;
|
57
|
+
bottom: 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
|
-
bottom: number;
|
96
95
|
right: number;
|
96
|
+
bottom: 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
|
-
bottom: number;
|
132
131
|
right: number;
|
132
|
+
bottom: 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";
|
5
6
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
6
7
|
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,6 +42,10 @@ 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"] });
|
45
49
|
;// CONCATENATED MODULE: external "../config-provider"
|
46
50
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
47
51
|
var config_provider_y = x => () => x
|
@@ -50,10 +54,6 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
50
54
|
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
51
55
|
var icon_y = x => () => x
|
52
56
|
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 throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
|
|
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),
|
144
145
|
"style": {
|
145
146
|
right: styleRight,
|
146
147
|
bottom: styleBottom,
|
147
148
|
zIndex: zIndex.value
|
148
149
|
},
|
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
|
-
"style": this.radiusStyle,
|
200
199
|
"class": badgeClass,
|
200
|
+
"style": this.radiusStyle,
|
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' | 'submit' | 'reset'>;
|
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" | "warning" | "danger" | "primary">;
|
30
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "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" | "warning" | "danger" | "primary">;
|
71
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "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" | "warning" | "danger" | "primary">;
|
110
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "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" | "warning" | "danger" | "primary">;
|
5
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "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" | "warning" | "danger" | "primary">;
|
47
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "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" | "warning" | "danger" | "primary">;
|
108
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "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" | "warning" | "danger" | "primary">;
|
166
|
+
hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
167
167
|
size: {
|
168
168
|
type: import("vue").PropType<"" | "small" | "large">;
|
169
169
|
default: "";
|
package/lib/button/index.js
CHANGED
@@ -219,18 +219,18 @@ var buttonProps = {
|
|
219
219
|
return function () {
|
220
220
|
var _slots$default2;
|
221
221
|
return (0,external_vue_namespaceObject.createVNode)("button", {
|
222
|
-
"class": btnCls.value,
|
223
|
-
"disabled": props.disabled,
|
224
222
|
"title": props.title,
|
223
|
+
"disabled": props.disabled,
|
224
|
+
"class": btnCls.value,
|
225
225
|
"type": props.nativeType,
|
226
226
|
"onClick": handleClick,
|
227
|
-
"
|
228
|
-
"
|
227
|
+
"onMouseover": handleMouseOver,
|
228
|
+
"onMouseleave": handleMouseout
|
229
229
|
}, [props.loading && (0,external_vue_namespaceObject.createVNode)(loading_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
230
|
+
"loading": true,
|
230
231
|
"class": "".concat(btnClsPrefix, "-loading"),
|
231
232
|
"mode": props.loadingMode,
|
232
|
-
"size": loadingSize.value
|
233
|
-
"loading": true
|
233
|
+
"size": loadingSize.value
|
234
234
|
}, loadingTheme.value ? {
|
235
235
|
theme: loadingTheme.value
|
236
236
|
} : {}), 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: (string | number | 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<string | number | 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')],
|
1077
1078
|
"style": {
|
1078
1079
|
height: _this.panelHeight,
|
1079
1080
|
width: _this.panelWidth
|
1080
|
-
}
|
1081
|
-
"class": [_this.resolveClassName('cascader-panel'), _this.resolveClassName('scroll-y')]
|
1081
|
+
}
|
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'),
|
1093
1094
|
"style": {
|
1094
1095
|
width: emptyWidth
|
1095
|
-
}
|
1096
|
-
"class": _this.resolveClassName('cascader-search-empty')
|
1096
|
+
}
|
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')],
|
1103
1104
|
"style": {
|
1104
1105
|
height: _this.panelHeight,
|
1105
1106
|
width: _this.panelWidth
|
1106
|
-
}
|
1107
|
-
"class": [_this.resolveClassName('cascader-panel'), _this.resolveClassName('scroll-y')]
|
1107
|
+
}
|
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
|
+
"disabled": node.isDisabled,
|
1120
1120
|
"modelValue": node.checked,
|
1121
1121
|
"onUpdate:modelValue": function onUpdateModelValue($event) {
|
1122
1122
|
return node.checked = $event;
|
1123
1123
|
},
|
1124
|
-
"disabled": node.isDisabled,
|
1125
1124
|
"indeterminate": node.isIndeterminate,
|
1125
|
+
"style": "margin-right: 5px",
|
1126
1126
|
"onChange": function onChange(val) {
|
1127
1127
|
return _this.checkNode(node, !!val);
|
1128
1128
|
}
|
@@ -1423,6 +1423,7 @@ 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
|
1426
1427
|
acc = acc.concat(flatNodes(node.children, leafOnly));
|
1427
1428
|
}
|
1428
1429
|
return acc;
|
@@ -1922,11 +1923,11 @@ var Store = /*#__PURE__*/function () {
|
|
1922
1923
|
var isOverflow = !_this.isCollapse && _this.overflowTagIndex !== null && index >= _this.overflowTagIndex;
|
1923
1924
|
// 根据tag是否超出显示范围,来决定是否渲染
|
1924
1925
|
return (0,external_vue_namespaceObject.createVNode)("span", {
|
1925
|
-
"
|
1926
|
+
"class": "tag-item",
|
1926
1927
|
"style": {
|
1927
1928
|
display: isOverflow ? 'none' : ''
|
1928
1929
|
},
|
1929
|
-
"
|
1930
|
+
"key": tag
|
1930
1931
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
1931
1932
|
"class": "tag-item-name"
|
1932
1933
|
}, [tag]), (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
|
@@ -1953,17 +1954,17 @@ var Store = /*#__PURE__*/function () {
|
|
1953
1954
|
// 定义popoverRender函数,用于渲染弹出框
|
1954
1955
|
var popoverRender = function popoverRender() {
|
1955
1956
|
return (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
|
1956
|
-
"ref": "popover",
|
1957
|
-
"class": _this.resolveClassName('cascader-popover-wrapper'),
|
1958
|
-
"arrow": false,
|
1959
|
-
"boundary": "body",
|
1960
|
-
"disabled": _this.disabled,
|
1961
|
-
"offset": 4,
|
1962
1957
|
"placement": "bottom-start",
|
1963
1958
|
"theme": "light ".concat(_this.resolveClassName('cascader-popover')),
|
1964
1959
|
"trigger": "click",
|
1960
|
+
"arrow": false,
|
1961
|
+
"disabled": _this.disabled,
|
1962
|
+
"offset": 4,
|
1963
|
+
"class": _this.resolveClassName('cascader-popover-wrapper'),
|
1964
|
+
"ref": "popover",
|
1965
1965
|
"onAfterHidden": _this.popoverChangeEmitter,
|
1966
|
-
"onAfterShow": _this.popoverChangeEmitter
|
1966
|
+
"onAfterShow": _this.popoverChangeEmitter,
|
1967
|
+
"boundary": "body"
|
1967
1968
|
}, {
|
1968
1969
|
"default": function _default() {
|
1969
1970
|
return _this.$slots.trigger ? _this.$slots.trigger({
|
@@ -1972,34 +1973,34 @@ var Store = /*#__PURE__*/function () {
|
|
1972
1973
|
}) : (0,external_vue_namespaceObject.createVNode)("div", {
|
1973
1974
|
"class": [_this.resolveClassName('cascader-name'), _this.resolveClassName('scroll-y')]
|
1974
1975
|
}, [_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
|
-
"disabled": _this.disabled,
|
1980
|
-
"placeholder": _this.calcuPlaceholder,
|
1981
1979
|
"type": "text",
|
1982
|
-
"
|
1980
|
+
"onInput": _this.searchInputHandler,
|
1983
1981
|
"onBlur": _this.searchBlueHandler,
|
1984
|
-
"
|
1982
|
+
"placeholder": _this.calcuPlaceholder,
|
1983
|
+
"value": _this.searchKey,
|
1984
|
+
"disabled": _this.disabled,
|
1985
|
+
"ref": "inputRef"
|
1985
1986
|
}, null) : textRender()]);
|
1986
1987
|
},
|
1987
1988
|
content: function content() {
|
1988
1989
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
1989
1990
|
"class": _this.resolveClassName('cascader-popover')
|
1990
1991
|
}, [(0,external_vue_namespaceObject.createVNode)(cascader_panel, {
|
1992
|
+
"store": _this.store,
|
1991
1993
|
"ref": "cascaderPanel",
|
1992
1994
|
"width": _this.scrollWidth,
|
1993
1995
|
"height": _this.scrollHeight,
|
1996
|
+
"search-key": _this.searchKey,
|
1997
|
+
"separator": _this.separator,
|
1998
|
+
"is-filtering": _this.isFiltering,
|
1999
|
+
"suggestions": _this.suggestions,
|
1994
2000
|
"modelValue": _this.checkedValue,
|
1995
2001
|
"onUpdate:modelValue": function onUpdateModelValue($event) {
|
1996
2002
|
return _this.checkedValue = $event;
|
1997
|
-
}
|
1998
|
-
"is-filtering": _this.isFiltering,
|
1999
|
-
"search-key": _this.searchKey,
|
2000
|
-
"separator": _this.separator,
|
2001
|
-
"store": _this.store,
|
2002
|
-
"suggestions": _this.suggestions
|
2003
|
+
}
|
2003
2004
|
}, {
|
2004
2005
|
"default": function _default(scope) {
|
2005
2006
|
return _this.$slots["default"] ? _this.$slots["default"](scope) : (0,external_vue_namespaceObject.createVNode)("span", {
|
@@ -2013,7 +2014,6 @@ var Store = /*#__PURE__*/function () {
|
|
2013
2014
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
2014
2015
|
"class": [this.resolveClassName('cascader-wrapper'), this.floatMode ? 'float-mode' : '']
|
2015
2016
|
}, [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,10 +2022,11 @@ var Store = /*#__PURE__*/function () {
|
|
2022
2022
|
'is-disabled': this.disabled,
|
2023
2023
|
'is-simplicity': this.behavior === 'simplicity'
|
2024
2024
|
}],
|
2025
|
-
"data-placeholder": this.calcuPlaceholder,
|
2026
2025
|
"tabindex": "0",
|
2026
|
+
"data-placeholder": this.calcuPlaceholder,
|
2027
2027
|
"onMouseenter": this.setHover,
|
2028
|
-
"onMouseleave": this.cancelHover
|
2028
|
+
"onMouseleave": this.cancelHover,
|
2029
|
+
"ref": "bkCascaderRef"
|
2029
2030
|
}, [suffixIcon(), popoverRender()])]);
|
2030
2031
|
}
|
2031
2032
|
}));
|
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
|
-
"class": "".concat(this.resolveClassName('checkbox-original')),
|
416
|
-
"checked": this.isChecked,
|
417
|
-
"disabled": this.isDisabled || this.isPrechecking,
|
418
415
|
"role": "checkbox",
|
419
416
|
"type": "checkbox",
|
417
|
+
"class": "".concat(this.resolveClassName('checkbox-original')),
|
418
|
+
"disabled": this.isDisabled || this.isPrechecking,
|
419
|
+
"checked": this.isChecked,
|
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';
|
1
2
|
import type { CheckboxProps } from './checkbox';
|
2
3
|
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,14 +1067,6 @@ 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 });
|
1078
1070
|
;// CONCATENATED MODULE: ../../packages/code-diff/node_modules/diff/lib/index.mjs
|
1079
1071
|
function Diff() {}
|
1080
1072
|
Diff.prototype = {
|
@@ -5426,6 +5418,14 @@ function html(diffInput, configuration = {}) {
|
|
5426
5418
|
return fileList + diffOutput;
|
5427
5419
|
}
|
5428
5420
|
//# 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,
|
547
548
|
"disabled": item.disabled,
|
549
|
+
"name": name,
|
548
550
|
"icon": icon,
|
549
551
|
"isFormList": true,
|
550
|
-
"item-click": handleItemClick,
|
551
|
-
"name": name,
|
552
552
|
"title": title
|
553
553
|
}, {
|
554
554
|
content: function content() {
|
package/lib/collapse/utils.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
export declare function removeClass(el:
|
2
|
-
export declare function addClass(el:
|
1
|
+
export declare function removeClass(el: HTMLElement | Element, cls: string): void;
|
2
|
+
export declare function addClass(el: HTMLElement | Element, cls: string): void;
|
3
3
|
export declare const collapseMotion: (emit: any) => {
|
4
4
|
css: boolean;
|
5
5
|
onBeforeEnter: (el: any) => void;
|