bkui-vue 2.0.2-beta.5 → 2.0.2-beta.6
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 +17 -17
- package/dist/index.esm.js +1570 -1574
- package/dist/index.umd.js +16 -16
- package/lib/affix/index.js +30 -22
- package/lib/alert/index.js +30 -22
- package/lib/animate-number/index.js +14 -10
- package/lib/backtop/index.js +32 -22
- package/lib/badge/index.js +24 -18
- package/lib/breadcrumb/index.js +31 -23
- package/lib/button/index.js +36 -26
- package/lib/card/index.js +47 -33
- package/lib/cascader/index.js +651 -619
- package/lib/checkbox/index.js +44 -34
- package/lib/code-diff/index.js +83 -79
- package/lib/collapse/index.js +39 -33
- package/lib/collapse-transition/index.js +20 -14
- package/lib/color-picker/index.js +617 -594
- package/lib/components.d.ts +1 -2
- package/lib/components.js +1 -2
- package/lib/config-provider/index.js +34 -26
- package/lib/container/index.js +27 -21
- package/lib/date-picker/index.js +649 -620
- package/lib/dialog/index.js +101 -87
- package/lib/directives/index.js +445 -430
- package/lib/divider/index.js +21 -15
- package/lib/dropdown/index.js +43 -31
- package/lib/exception/index.js +55 -49
- package/lib/fixed-navbar/index.js +20 -14
- package/lib/form/index.js +639 -608
- package/lib/icon/angle-double-down-line.js +14 -12
- package/lib/icon/angle-double-left-line.js +14 -12
- package/lib/icon/angle-double-left.js +14 -12
- package/lib/icon/angle-double-right-line.js +14 -12
- package/lib/icon/angle-double-right.js +14 -12
- package/lib/icon/angle-double-up-line.js +14 -12
- package/lib/icon/angle-down-fill.js +14 -12
- package/lib/icon/angle-down-line.js +14 -12
- package/lib/icon/angle-down.js +14 -12
- package/lib/icon/angle-left.js +14 -12
- package/lib/icon/angle-right.js +14 -12
- package/lib/icon/angle-up-fill.js +14 -12
- package/lib/icon/angle-up.js +14 -12
- package/lib/icon/archive-fill.js +14 -12
- package/lib/icon/arrows-left.js +14 -12
- package/lib/icon/arrows-right.js +14 -12
- package/lib/icon/assistant.js +14 -12
- package/lib/icon/audio-fill.js +14 -12
- package/lib/icon/bk.js +14 -12
- package/lib/icon/circle.js +14 -12
- package/lib/icon/close-line.js +14 -12
- package/lib/icon/close.js +14 -12
- package/lib/icon/code.js +14 -12
- package/lib/icon/cog-shape.js +14 -12
- package/lib/icon/collapse-left.js +14 -12
- package/lib/icon/copy-shape.js +14 -12
- package/lib/icon/copy.js +14 -12
- package/lib/icon/data-shape.js +14 -12
- package/lib/icon/del.js +14 -12
- package/lib/icon/doc-fill.js +14 -12
- package/lib/icon/done.js +14 -12
- package/lib/icon/down-shape.js +14 -12
- package/lib/icon/down-small.js +14 -12
- package/lib/icon/edit-line.js +14 -12
- package/lib/icon/ellipsis.js +14 -12
- package/lib/icon/enlarge-line.js +14 -12
- package/lib/icon/error.js +14 -12
- package/lib/icon/excel-fill.js +14 -12
- package/lib/icon/exclamation-circle-shape.js +14 -12
- package/lib/icon/eye.js +14 -12
- package/lib/icon/filliscreen-line.js +14 -12
- package/lib/icon/fix-line.js +14 -12
- package/lib/icon/fix-shape.js +14 -12
- package/lib/icon/folder-open.js +14 -12
- package/lib/icon/folder-shape-open.js +14 -12
- package/lib/icon/folder-shape.js +14 -12
- package/lib/icon/folder.js +14 -12
- package/lib/icon/funnel.js +14 -12
- package/lib/icon/grag-fill.js +14 -12
- package/lib/icon/help-document-fill.js +14 -12
- package/lib/icon/help-fill.js +14 -12
- package/lib/icon/help.js +14 -12
- package/lib/icon/image-fill.js +14 -12
- package/lib/icon/img-error.js +14 -12
- package/lib/icon/img-placehoulder.js +14 -12
- package/lib/icon/info-line.js +14 -12
- package/lib/icon/info.js +14 -12
- package/lib/icon/left-shape.js +14 -12
- package/lib/icon/left-turn-line.js +14 -12
- package/lib/icon/loading.js +14 -12
- package/lib/icon/narrow-line.js +14 -12
- package/lib/icon/original.js +14 -12
- package/lib/icon/pdf-fill.js +14 -12
- package/lib/icon/play-shape.js +14 -12
- package/lib/icon/plus.js +14 -12
- package/lib/icon/ppt-fill.js +14 -12
- package/lib/icon/qq.js +14 -12
- package/lib/icon/right-shape.js +14 -12
- package/lib/icon/right-turn-line.js +14 -12
- package/lib/icon/search.js +14 -12
- package/lib/icon/share.js +14 -12
- package/lib/icon/spinner.js +14 -12
- package/lib/icon/success.js +14 -12
- package/lib/icon/switcher-loading.js +14 -12
- package/lib/icon/text-all.js +14 -12
- package/lib/icon/text-file.js +14 -12
- package/lib/icon/text-fill.js +14 -12
- package/lib/icon/transfer.js +14 -12
- package/lib/icon/tree-application-shape.js +14 -12
- package/lib/icon/unfull-screen.js +14 -12
- package/lib/icon/unvisible.js +14 -12
- package/lib/icon/up-shape.js +14 -12
- package/lib/icon/upload.js +14 -12
- package/lib/icon/video-fill.js +14 -12
- package/lib/icon/warn.js +14 -12
- package/lib/icon/weixin-pro.js +14 -12
- package/lib/icon/weixin.js +14 -12
- package/lib/image/index.js +342 -326
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -2
- package/lib/info-box/index.js +101 -87
- package/lib/input/index.js +335 -323
- package/lib/link/index.js +26 -18
- package/lib/loading/index.js +25 -19
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.js +40 -32
- package/lib/message/index.js +47 -41
- package/lib/modal/index.js +39 -29
- package/lib/navigation/index.js +27 -19
- package/lib/notify/index.js +37 -27
- package/lib/overflow-title/index.js +41 -29
- package/lib/pagination/index.js +62 -46
- package/lib/pop-confirm/index.js +49 -33
- package/lib/popover/index.js +363 -347
- package/lib/popover2/index.js +14 -10
- package/lib/process/index.js +78 -74
- package/lib/progress/index.js +26 -20
- package/lib/radio/index.js +39 -31
- package/lib/rate/index.js +25 -19
- package/lib/resize-layout/index.js +30 -22
- package/lib/scrollbar/index.js +25 -25
- package/lib/search-select/index.js +436 -419
- package/lib/select/index.js +490 -453
- package/lib/shared/index.js +57 -49
- package/lib/sideslider/index.js +89 -79
- package/lib/slider/index.js +85 -75
- package/lib/steps/index.js +78 -72
- package/lib/swiper/index.js +24 -18
- package/lib/switcher/index.js +30 -22
- package/lib/tab/index.js +337 -323
- package/lib/table/index.js +565 -512
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.js +36 -26
- package/lib/tag-input/index.js +376 -355
- package/lib/time-picker/index.js +13 -9
- package/lib/timeline/index.js +21 -15
- package/lib/transfer/index.js +56 -40
- package/lib/tree/index.js +100 -76
- package/lib/upload/index.js +584 -572
- package/lib/virtual-render/index.js +55 -43
- package/package.json +1 -1
- package/lib/plugin-popover/index.d.ts +0 -27
- package/lib/plugin-popover/index.js +0 -65
- package/lib/plugins/index.d.ts +0 -1
- package/lib/plugins/index.js +0 -64
package/lib/components.d.ts
CHANGED
@@ -32,9 +32,8 @@ export { default as Navigation } from './navigation';
|
|
32
32
|
export { default as Notify } from './notify';
|
33
33
|
export { default as OverflowTitle } from './overflow-title';
|
34
34
|
export { default as Pagination } from './pagination';
|
35
|
-
export { default as $bkPopover } from './plugin-popover';
|
36
35
|
export { default as PopConfirm } from './pop-confirm';
|
37
|
-
export { default as Popover } from './popover';
|
36
|
+
export { default as Popover, $bkPopover } from './popover';
|
38
37
|
export { default as Popover2 } from './popover2';
|
39
38
|
export { default as Process } from './process';
|
40
39
|
export { default as Progress } from './progress';
|
package/lib/components.js
CHANGED
@@ -56,9 +56,8 @@ export { default as Navigation } from './navigation';
|
|
56
56
|
export { default as Notify } from './notify';
|
57
57
|
export { default as OverflowTitle } from './overflow-title';
|
58
58
|
export { default as Pagination } from './pagination';
|
59
|
-
export { default as $bkPopover } from './plugin-popover';
|
60
59
|
export { default as PopConfirm } from './pop-confirm';
|
61
|
-
export { default as Popover } from './popover';
|
60
|
+
export { default as Popover, $bkPopover } from './popover';
|
62
61
|
export { default as Popover2 } from './popover2';
|
63
62
|
export { default as Process } from './process';
|
64
63
|
export { default as Progress } from './progress';
|
@@ -39,15 +39,19 @@ __webpack_require__.d(__webpack_exports__, {
|
|
39
39
|
usePrefix: () => (/* reexport */ usePrefix)
|
40
40
|
});
|
41
41
|
|
42
|
-
;//
|
43
|
-
var x = y => {
|
44
|
-
var
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
42
|
+
;// external "../shared"
|
43
|
+
var x = (y) => {
|
44
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
45
|
+
}
|
46
|
+
var y = (x) => (() => (x))
|
47
|
+
const shared_namespaceObject = x({ ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
|
48
|
+
;// external "vue"
|
49
|
+
var external_vue_x = (y) => {
|
50
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
51
|
+
}
|
52
|
+
var external_vue_y = (x) => (() => (x))
|
53
|
+
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["getCurrentInstance"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance), ["inject"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.inject), ["provide"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.provide), ["reactive"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.reactive), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch) });
|
54
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
51
55
|
function _typeof(o) {
|
52
56
|
"@babel/helpers - typeof";
|
53
57
|
|
@@ -57,7 +61,7 @@ function _typeof(o) {
|
|
57
61
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
58
62
|
}, _typeof(o);
|
59
63
|
}
|
60
|
-
;//
|
64
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
61
65
|
|
62
66
|
function toPrimitive(t, r) {
|
63
67
|
if ("object" != _typeof(t) || !t) return t;
|
@@ -69,14 +73,14 @@ function toPrimitive(t, r) {
|
|
69
73
|
}
|
70
74
|
return ("string" === r ? String : Number)(t);
|
71
75
|
}
|
72
|
-
;//
|
76
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
73
77
|
|
74
78
|
|
75
79
|
function toPropertyKey(t) {
|
76
80
|
var i = toPrimitive(t, "string");
|
77
81
|
return "symbol" == _typeof(i) ? i : String(i);
|
78
82
|
}
|
79
|
-
;//
|
83
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
80
84
|
|
81
85
|
function _defineProperty(obj, key, value) {
|
82
86
|
key = toPropertyKey(key);
|
@@ -92,15 +96,19 @@ function _defineProperty(obj, key, value) {
|
|
92
96
|
}
|
93
97
|
return obj;
|
94
98
|
}
|
95
|
-
;//
|
96
|
-
var merge_x = y => {
|
97
|
-
var
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
99
|
+
;// external "lodash/merge"
|
100
|
+
var merge_x = (y) => {
|
101
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
102
|
+
}
|
103
|
+
var merge_y = (x) => (() => (x))
|
104
|
+
const merge_namespaceObject = merge_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__["default"]) });
|
105
|
+
;// external "../locale"
|
106
|
+
var locale_x = (y) => {
|
107
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
108
|
+
}
|
109
|
+
var locale_y = (x) => (() => (x))
|
110
|
+
const locale_namespaceObject = locale_x({ ["zhCn"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_locale_5ed5ef28__.zhCn) });
|
111
|
+
;// ../../packages/config-provider/src/token.ts
|
104
112
|
/*
|
105
113
|
* Tencent is pleased to support the open source community by making
|
106
114
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -132,7 +140,7 @@ var defaultRootConfig = {
|
|
132
140
|
locale: locale_namespaceObject.zhCn,
|
133
141
|
prefix: 'bk'
|
134
142
|
};
|
135
|
-
;//
|
143
|
+
;// ../../packages/config-provider/src/use-global-config.ts
|
136
144
|
|
137
145
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
138
146
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -191,7 +199,7 @@ var useGlobalConfig = function useGlobalConfig() {
|
|
191
199
|
return config;
|
192
200
|
});
|
193
201
|
};
|
194
|
-
;//
|
202
|
+
;// ../../packages/config-provider/src/config-provider.tsx
|
195
203
|
/*
|
196
204
|
* Tencent is pleased to support the open source community by making
|
197
205
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -242,7 +250,7 @@ var configProviderProps = {
|
|
242
250
|
};
|
243
251
|
}
|
244
252
|
}));
|
245
|
-
;//
|
253
|
+
;// ../../packages/config-provider/src/use-locale.ts
|
246
254
|
/*
|
247
255
|
* Tencent is pleased to support the open source community by making
|
248
256
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -278,7 +286,7 @@ function useLocale(compName) {
|
|
278
286
|
return locale && compName ? locale[compName] : {};
|
279
287
|
});
|
280
288
|
}
|
281
|
-
;//
|
289
|
+
;// ../../packages/config-provider/src/use-prefix.ts
|
282
290
|
/*
|
283
291
|
* Tencent is pleased to support the open source community by making
|
284
292
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -326,7 +334,7 @@ function usePrefix() {
|
|
326
334
|
resolveClassName: resolveClassName
|
327
335
|
};
|
328
336
|
}
|
329
|
-
;//
|
337
|
+
;// ../../packages/config-provider/src/index.ts
|
330
338
|
/**
|
331
339
|
* Tencent is pleased to support the open source community by making
|
332
340
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
package/lib/container/index.js
CHANGED
@@ -35,19 +35,25 @@ __webpack_require__.d(__webpack_exports__, {
|
|
35
35
|
"default": () => (/* binding */ src)
|
36
36
|
});
|
37
37
|
|
38
|
-
;//
|
39
|
-
var x = y => {
|
40
|
-
var
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
var
|
49
|
-
const
|
50
|
-
;//
|
38
|
+
;// external "../shared"
|
39
|
+
var x = (y) => {
|
40
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
41
|
+
}
|
42
|
+
var y = (x) => (() => (x))
|
43
|
+
const shared_namespaceObject = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
|
44
|
+
;// external "vue"
|
45
|
+
var external_vue_x = (y) => {
|
46
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
47
|
+
}
|
48
|
+
var external_vue_y = (x) => (() => (x))
|
49
|
+
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), ["inject"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.inject), ["provide"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.provide) });
|
50
|
+
;// external "../config-provider"
|
51
|
+
var config_provider_x = (y) => {
|
52
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
53
|
+
}
|
54
|
+
var config_provider_y = (x) => (() => (x))
|
55
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
56
|
+
;// ../../packages/container/src/interface.ts
|
51
57
|
/*
|
52
58
|
* Tencent is pleased to support the open source community by making
|
53
59
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -74,7 +80,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
74
80
|
* IN THE SOFTWARE.
|
75
81
|
*/
|
76
82
|
var containerKey = Symbol('containerProps');
|
77
|
-
;//
|
83
|
+
;// ../../packages/container/src/col.tsx
|
78
84
|
|
79
85
|
/*
|
80
86
|
* Tencent is pleased to support the open source community by making
|
@@ -160,7 +166,7 @@ var colProps = {
|
|
160
166
|
};
|
161
167
|
}
|
162
168
|
}));
|
163
|
-
;//
|
169
|
+
;// ../../packages/container/src/container.tsx
|
164
170
|
|
165
171
|
/*
|
166
172
|
* Tencent is pleased to support the open source community by making
|
@@ -238,7 +244,7 @@ var containerProps = {
|
|
238
244
|
};
|
239
245
|
}
|
240
246
|
}));
|
241
|
-
;//
|
247
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
242
248
|
function _typeof(o) {
|
243
249
|
"@babel/helpers - typeof";
|
244
250
|
|
@@ -248,7 +254,7 @@ function _typeof(o) {
|
|
248
254
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
249
255
|
}, _typeof(o);
|
250
256
|
}
|
251
|
-
;//
|
257
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
252
258
|
|
253
259
|
function toPrimitive(t, r) {
|
254
260
|
if ("object" != _typeof(t) || !t) return t;
|
@@ -260,14 +266,14 @@ function toPrimitive(t, r) {
|
|
260
266
|
}
|
261
267
|
return ("string" === r ? String : Number)(t);
|
262
268
|
}
|
263
|
-
;//
|
269
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
264
270
|
|
265
271
|
|
266
272
|
function toPropertyKey(t) {
|
267
273
|
var i = toPrimitive(t, "string");
|
268
274
|
return "symbol" == _typeof(i) ? i : String(i);
|
269
275
|
}
|
270
|
-
;//
|
276
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
271
277
|
|
272
278
|
function _defineProperty(obj, key, value) {
|
273
279
|
key = toPropertyKey(key);
|
@@ -283,7 +289,7 @@ function _defineProperty(obj, key, value) {
|
|
283
289
|
}
|
284
290
|
return obj;
|
285
291
|
}
|
286
|
-
;//
|
292
|
+
;// ../../packages/container/src/row.tsx
|
287
293
|
|
288
294
|
|
289
295
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -349,7 +355,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
349
355
|
};
|
350
356
|
}
|
351
357
|
}));
|
352
|
-
;//
|
358
|
+
;// ../../packages/container/src/index.ts
|
353
359
|
/*
|
354
360
|
* Tencent is pleased to support the open source community by making
|
355
361
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|