bkui-vue 2.0.1-beta.113 → 2.0.1-beta.115
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 +54 -54
- package/dist/index.esm.js +13951 -13942
- package/dist/index.umd.js +54 -54
- package/dist/style.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +47 -39
- package/lib/alert/index.d.ts +73 -126
- package/lib/alert/index.js +50 -42
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/animate-number/index.js +21 -16
- package/lib/backtop/index.d.ts +69 -117
- package/lib/backtop/index.js +42 -31
- package/lib/badge/index.d.ts +119 -152
- package/lib/badge/index.js +43 -37
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +48 -40
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +55 -46
- package/lib/card/index.d.ts +128 -157
- package/lib/card/index.js +67 -55
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +149 -119
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +143 -175
- package/lib/checkbox/index.js +89 -79
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +464 -517
- package/lib/collapse/index.d.ts +156 -175
- package/lib/collapse/index.js +67 -60
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/collapse-transition/index.js +23 -16
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +144 -165
- package/lib/color-picker/index.js +98 -82
- package/lib/config-provider/index.d.ts +160 -227
- package/lib/config-provider/index.js +51 -43
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +55 -47
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +4 -4
- package/lib/date-picker/index.d.ts +380 -351
- package/lib/date-picker/index.js +171 -150
- 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 +2 -2
- package/lib/date-picker/panel/time.d.ts +2 -2
- package/lib/date-picker/time-picker.d.ts +4 -4
- package/lib/dialog/index.d.ts +299 -269
- package/lib/dialog/index.js +323 -310
- package/lib/directives/index.js +344 -336
- package/lib/divider/index.d.ts +57 -111
- package/lib/divider/index.js +23 -16
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +66 -52
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +76 -70
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/fixed-navbar/index.js +22 -15
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +104 -83
- package/lib/icon/angle-double-down-line.js +31 -29
- package/lib/icon/angle-double-left-line.js +31 -29
- package/lib/icon/angle-double-left.js +31 -29
- package/lib/icon/angle-double-right-line.js +31 -29
- package/lib/icon/angle-double-right.js +31 -29
- package/lib/icon/angle-double-up-line.js +31 -29
- package/lib/icon/angle-down-fill.js +31 -29
- package/lib/icon/angle-down-line.js +31 -29
- package/lib/icon/angle-down.js +31 -29
- package/lib/icon/angle-left.js +31 -29
- package/lib/icon/angle-right.js +31 -29
- package/lib/icon/angle-up-fill.js +31 -29
- package/lib/icon/angle-up.js +31 -29
- package/lib/icon/archive-fill.js +31 -29
- package/lib/icon/arrows-left.js +31 -29
- package/lib/icon/arrows-right.js +31 -29
- package/lib/icon/assistant.js +31 -29
- package/lib/icon/audio-fill.js +31 -29
- package/lib/icon/bk.js +31 -29
- package/lib/icon/circle.js +31 -29
- package/lib/icon/close-line.js +31 -29
- package/lib/icon/close.js +31 -29
- package/lib/icon/code.js +31 -29
- package/lib/icon/cog-shape.js +31 -29
- package/lib/icon/collapse-left.js +31 -29
- package/lib/icon/copy-shape.js +31 -29
- package/lib/icon/copy.js +31 -29
- package/lib/icon/data-shape.js +31 -29
- package/lib/icon/del.js +31 -29
- package/lib/icon/doc-fill.js +31 -29
- package/lib/icon/done.js +31 -29
- package/lib/icon/down-shape.js +31 -29
- package/lib/icon/down-small.js +31 -29
- package/lib/icon/edit-line.js +31 -29
- package/lib/icon/ellipsis.js +31 -29
- package/lib/icon/enlarge-line.js +31 -29
- package/lib/icon/error.js +31 -29
- package/lib/icon/excel-fill.js +31 -29
- package/lib/icon/exclamation-circle-shape.js +31 -29
- package/lib/icon/eye.js +31 -29
- package/lib/icon/filliscreen-line.js +31 -29
- package/lib/icon/fix-line.js +31 -29
- package/lib/icon/fix-shape.js +31 -29
- package/lib/icon/folder-open.js +31 -29
- package/lib/icon/folder-shape-open.js +31 -29
- package/lib/icon/folder-shape.js +31 -29
- package/lib/icon/folder.js +31 -29
- package/lib/icon/funnel.js +31 -29
- package/lib/icon/grag-fill.js +31 -29
- package/lib/icon/help-document-fill.js +31 -29
- package/lib/icon/help-fill.js +31 -29
- package/lib/icon/help.js +31 -29
- package/lib/icon/image-fill.js +31 -29
- package/lib/icon/img-error.js +31 -29
- package/lib/icon/img-placehoulder.js +31 -29
- package/lib/icon/info-line.js +31 -29
- package/lib/icon/info.js +31 -29
- package/lib/icon/left-shape.js +31 -29
- package/lib/icon/left-turn-line.js +31 -29
- package/lib/icon/loading.js +31 -29
- package/lib/icon/narrow-line.js +31 -29
- package/lib/icon/original.js +31 -29
- package/lib/icon/pdf-fill.js +31 -29
- package/lib/icon/play-shape.js +31 -29
- package/lib/icon/plus.js +31 -29
- package/lib/icon/ppt-fill.js +31 -29
- package/lib/icon/qq.js +31 -29
- package/lib/icon/right-shape.js +31 -29
- package/lib/icon/right-turn-line.js +31 -29
- package/lib/icon/search.js +31 -29
- package/lib/icon/share.js +31 -29
- package/lib/icon/spinner.js +31 -29
- package/lib/icon/success.js +31 -29
- package/lib/icon/switcher-loading.js +31 -29
- package/lib/icon/text-all.js +31 -29
- package/lib/icon/text-file.js +31 -29
- package/lib/icon/text-fill.js +31 -29
- package/lib/icon/transfer.js +31 -29
- package/lib/icon/tree-application-shape.js +31 -29
- package/lib/icon/unfull-screen.js +31 -29
- package/lib/icon/unvisible.js +31 -29
- package/lib/icon/up-shape.js +31 -29
- package/lib/icon/upload.js +31 -29
- package/lib/icon/video-fill.js +31 -29
- package/lib/icon/warn.js +31 -29
- package/lib/icon/weixin-pro.js +31 -29
- package/lib/icon/weixin.js +31 -29
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +76 -61
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +328 -315
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +91 -83
- package/lib/link/index.d.ts +73 -122
- package/lib/link/index.js +27 -19
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +56 -51
- package/lib/loading/loading.d.ts +1 -1
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.d.ts +55 -116
- package/lib/menu/index.js +67 -58
- package/lib/message/index.js +72 -67
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +171 -185
- package/lib/modal/index.js +58 -48
- package/lib/navigation/index.d.ts +152 -188
- package/lib/navigation/index.js +35 -25
- package/lib/notify/index.js +57 -48
- package/lib/overflow-title/index.d.ts +343 -256
- package/lib/overflow-title/index.js +51 -38
- package/lib/pagination/index.d.ts +184 -198
- package/lib/pagination/index.js +112 -103
- package/lib/plugin-popover/index.js +7 -5
- package/lib/plugins/index.js +7 -5
- package/lib/pop-confirm/index.d.ts +115 -153
- package/lib/pop-confirm/index.js +53 -36
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +421 -359
- package/lib/popover/index.js +291 -179
- package/lib/popover2/index.d.ts +8 -83
- package/lib/popover2/index.js +15 -11
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +299 -295
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +47 -40
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +91 -140
- package/lib/radio/index.js +85 -79
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +44 -39
- package/lib/resize-layout/index.d.ts +168 -192
- package/lib/resize-layout/index.js +50 -43
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/scrollbar/index.js +63 -63
- package/lib/search-select/index.d.ts +678 -895
- package/lib/search-select/index.js +397 -379
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +133 -188
- package/lib/search-select/selected.d.ts +133 -188
- package/lib/select/index.d.ts +1375 -1217
- package/lib/select/index.js +456 -419
- package/lib/select/select.d.ts +132 -169
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +109 -103
- package/lib/sideslider/index.d.ts +197 -201
- package/lib/sideslider/index.js +312 -303
- package/lib/slider/index.d.ts +214 -210
- package/lib/slider/index.js +305 -294
- package/lib/steps/index.d.ts +110 -149
- package/lib/steps/index.js +303 -298
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +42 -36
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +50 -44
- package/lib/tab/index.d.ts +151 -183
- package/lib/tab/index.js +72 -59
- package/lib/table/components/table-column.d.ts +1 -1
- package/lib/table/hooks/use-columns.d.ts +1 -1
- package/lib/table/hooks/use-layout.d.ts +2 -2
- package/lib/table/hooks/use-rows.d.ts +1 -1
- package/lib/table/index.d.ts +457 -362
- package/lib/table/index.js +589 -547
- package/lib/table/table.d.ts +1 -1
- package/lib/table-column/index.d.ts +104 -150
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +56 -46
- package/lib/tag-input/index.d.ts +744 -529
- package/lib/tag-input/index.js +148 -128
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +439 -386
- package/lib/time-picker/index.js +13 -9
- package/lib/timeline/index.d.ts +64 -131
- package/lib/timeline/index.js +27 -21
- package/lib/transfer/index.d.ts +191 -206
- package/lib/transfer/index.js +56 -40
- package/lib/tree/index.d.ts +350 -308
- package/lib/tree/index.js +171 -150
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +311 -273
- package/lib/upload/index.js +474 -465
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +333 -241
- package/lib/virtual-render/index.js +84 -72
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +1 -1
package/lib/tag/index.js
CHANGED
@@ -34,43 +34,45 @@ __webpack_require__.d(__webpack_exports__, {
|
|
34
34
|
"default": () => (/* binding */ src)
|
35
35
|
});
|
36
36
|
|
37
|
-
;//
|
38
|
-
var x = y => {
|
39
|
-
var
|
40
|
-
|
41
|
-
|
42
|
-
|
37
|
+
;// external "../shared"
|
38
|
+
var x = (y) => {
|
39
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
40
|
+
}
|
41
|
+
var y = (x) => (() => (x))
|
42
|
+
const shared_namespaceObject = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["TagThemeType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.TagThemeType), ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
|
43
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
44
|
+
function _typeof(o) {
|
43
45
|
"@babel/helpers - typeof";
|
44
46
|
|
45
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
46
|
-
return typeof
|
47
|
-
} : function (
|
48
|
-
return
|
49
|
-
}, _typeof(
|
47
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
48
|
+
return typeof o;
|
49
|
+
} : function (o) {
|
50
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
51
|
+
}, _typeof(o);
|
50
52
|
}
|
51
|
-
;//
|
52
|
-
|
53
|
-
function
|
54
|
-
if (
|
55
|
-
var
|
56
|
-
if (
|
57
|
-
var
|
58
|
-
if (
|
53
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
54
|
+
|
55
|
+
function toPrimitive(t, r) {
|
56
|
+
if ("object" != _typeof(t) || !t) return t;
|
57
|
+
var e = t[Symbol.toPrimitive];
|
58
|
+
if (void 0 !== e) {
|
59
|
+
var i = e.call(t, r || "default");
|
60
|
+
if ("object" != _typeof(i)) return i;
|
59
61
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
60
62
|
}
|
61
|
-
return (
|
63
|
+
return ("string" === r ? String : Number)(t);
|
62
64
|
}
|
63
|
-
;//
|
65
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
64
66
|
|
65
67
|
|
66
|
-
function
|
67
|
-
var
|
68
|
-
return _typeof(
|
68
|
+
function toPropertyKey(t) {
|
69
|
+
var i = toPrimitive(t, "string");
|
70
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
69
71
|
}
|
70
|
-
;//
|
72
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
71
73
|
|
72
74
|
function _defineProperty(obj, key, value) {
|
73
|
-
key =
|
75
|
+
key = toPropertyKey(key);
|
74
76
|
if (key in obj) {
|
75
77
|
Object.defineProperty(obj, key, {
|
76
78
|
value: value,
|
@@ -83,23 +85,31 @@ function _defineProperty(obj, key, value) {
|
|
83
85
|
}
|
84
86
|
return obj;
|
85
87
|
}
|
86
|
-
;//
|
87
|
-
var external_vue_x = y => {
|
88
|
-
var
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
var
|
97
|
-
const
|
98
|
-
;//
|
99
|
-
var
|
100
|
-
var
|
101
|
-
|
102
|
-
|
88
|
+
;// external "vue"
|
89
|
+
var external_vue_x = (y) => {
|
90
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
91
|
+
}
|
92
|
+
var external_vue_y = (x) => (() => (x))
|
93
|
+
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) });
|
94
|
+
;// external "vue-types"
|
95
|
+
var external_vue_types_x = (y) => {
|
96
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
97
|
+
}
|
98
|
+
var external_vue_types_y = (x) => (() => (x))
|
99
|
+
const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType) });
|
100
|
+
;// external "../config-provider"
|
101
|
+
var config_provider_x = (y) => {
|
102
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
103
|
+
}
|
104
|
+
var config_provider_y = (x) => (() => (x))
|
105
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
106
|
+
;// external "../icon"
|
107
|
+
var icon_x = (y) => {
|
108
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
109
|
+
}
|
110
|
+
var icon_y = (x) => (() => (x))
|
111
|
+
const icon_namespaceObject = icon_x({ ["Error"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error) });
|
112
|
+
;// ../../packages/tag/src/tag.tsx
|
103
113
|
|
104
114
|
|
105
115
|
/*
|
@@ -180,8 +190,8 @@ var TagStrokeType;
|
|
180
190
|
};
|
181
191
|
},
|
182
192
|
render: function render() {
|
183
|
-
var
|
184
|
-
var classes = (
|
193
|
+
var _this$$slots$default, _this$$slots;
|
194
|
+
var classes = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, this.resolveClassName('tag'), true), this.resolveClassName('tag-closable'), this.closable), this.resolveClassName('tag-checkable'), this.checkable), this.resolveClassName('tag-check'), this.checked), this.resolveClassName("tag-".concat(this.type)), this.type), this.resolveClassName("tag-".concat(this.theme)), this.theme), this.resolveClassName("tag--".concat(this.size)), true);
|
185
195
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
186
196
|
"style": this.wrapperStyle,
|
187
197
|
"class": classes,
|
@@ -196,7 +206,7 @@ var TagStrokeType;
|
|
196
206
|
}, null)]);
|
197
207
|
}
|
198
208
|
}));
|
199
|
-
;//
|
209
|
+
;// ../../packages/tag/src/index.tsx
|
200
210
|
/*
|
201
211
|
* Tencent is pleased to support the open source community by making
|
202
212
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|