bkui-vue 2.0.2-beta.2 → 2.0.2-beta.21
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 +159 -133
- package/dist/index.esm.js +21564 -17815
- package/dist/index.umd.js +159 -133
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- 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/cascader.d.ts +1 -0
- package/lib/cascader/index.d.ts +3 -0
- package/lib/cascader/index.js +725 -654
- package/lib/checkbox/index.js +45 -35
- 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 +618 -598
- 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/date-picker.css +220 -4
- package/lib/date-picker/date-picker.less +5 -5
- package/lib/date-picker/date-picker.variable.css +237 -21
- package/lib/date-picker/index.js +650 -624
- package/lib/dialog/index.js +101 -87
- package/lib/directives/index.js +446 -434
- 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/form-item.d.ts +16 -0
- package/lib/form/index.d.ts +11 -0
- package/lib/form/index.js +646 -614
- 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 +343 -330
- 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.d.ts +19 -0
- package/lib/input/index.js +347 -332
- package/lib/input/input.d.ts +15 -1
- 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 +48 -42
- package/lib/modal/index.js +41 -30
- 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.d.ts +600 -2
- package/lib/pop-confirm/index.js +69 -41
- package/lib/pop-confirm/pop-confirm.d.ts +297 -1
- package/lib/pop-confirm/props.d.ts +146 -0
- package/lib/popover/index.js +365 -351
- 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 +437 -423
- package/lib/select/index.d.ts +19 -0
- package/lib/select/index.js +499 -458
- package/lib/select/select.d.ts +10 -0
- package/lib/shared/index.js +57 -49
- package/lib/sideslider/index.js +89 -79
- package/lib/slider/index.js +87 -76
- 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 +338 -327
- package/lib/table/index.js +566 -516
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.js +36 -26
- package/lib/tag-input/index.js +377 -359
- 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.d.ts +4 -0
- package/lib/tree/index.js +17492 -133
- package/lib/tree/props.d.ts +1 -0
- package/lib/tree/tree.css +46 -0
- package/lib/tree/tree.d.ts +2 -0
- package/lib/tree/tree.less +57 -2
- package/lib/tree/tree.variable.css +46 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- 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.
|
@@ -1,3 +1,219 @@
|
|
1
|
+
.bk-time-picker-header {
|
2
|
+
height: 46px;
|
3
|
+
font-size: 14px;
|
4
|
+
font-weight: 700;
|
5
|
+
line-height: 46px;
|
6
|
+
color: #63656e;
|
7
|
+
text-align: center;
|
8
|
+
border-bottom: 1px solid #dcdee5;
|
9
|
+
}
|
10
|
+
.bk-time-picker-cells:after {
|
11
|
+
position: absolute;
|
12
|
+
right: 0;
|
13
|
+
left: 0;
|
14
|
+
z-index: 1;
|
15
|
+
height: 32px;
|
16
|
+
padding-top: 6px;
|
17
|
+
margin-top: 0;
|
18
|
+
color: #3a84ff;
|
19
|
+
text-align: left;
|
20
|
+
pointer-events: none;
|
21
|
+
background-color: rgba(58, 132, 255, 0.16);
|
22
|
+
content: '';
|
23
|
+
box-sizing: border-box;
|
24
|
+
mix-blend-mode: multiply;
|
25
|
+
}
|
26
|
+
.bk-time-picker-cells-with-seconds .bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(1):before,
|
27
|
+
.bk-time-picker-cells-with-seconds .bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(2):before {
|
28
|
+
position: absolute;
|
29
|
+
top: 55px;
|
30
|
+
left: 85px;
|
31
|
+
z-index: 1;
|
32
|
+
width: 2px;
|
33
|
+
padding-top: 2px;
|
34
|
+
background-color: #3a84ff;
|
35
|
+
border-radius: 50%;
|
36
|
+
content: '';
|
37
|
+
}
|
38
|
+
.bk-time-picker-cells-with-seconds .bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(1):after,
|
39
|
+
.bk-time-picker-cells-with-seconds .bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(2):after {
|
40
|
+
position: absolute;
|
41
|
+
top: calc(55px + 5px);
|
42
|
+
left: 85px;
|
43
|
+
z-index: 1;
|
44
|
+
width: 2px;
|
45
|
+
padding-top: 2px;
|
46
|
+
background-color: #3a84ff;
|
47
|
+
border-radius: 50%;
|
48
|
+
content: '';
|
49
|
+
}
|
50
|
+
.bk-time-picker-cells-title-wrapper {
|
51
|
+
width: 100%;
|
52
|
+
height: 42px;
|
53
|
+
line-height: 42px;
|
54
|
+
}
|
55
|
+
.bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title {
|
56
|
+
position: relative;
|
57
|
+
float: left;
|
58
|
+
width: 33.33%;
|
59
|
+
font-size: 14px;
|
60
|
+
font-weight: 700;
|
61
|
+
color: #63656e;
|
62
|
+
text-align: center;
|
63
|
+
list-style: none;
|
64
|
+
}
|
65
|
+
.bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title.active {
|
66
|
+
color: #3a84ff;
|
67
|
+
}
|
68
|
+
.bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(1):before {
|
69
|
+
position: absolute;
|
70
|
+
top: 55px;
|
71
|
+
left: 133px;
|
72
|
+
z-index: 1;
|
73
|
+
width: 2px;
|
74
|
+
padding-top: 2px;
|
75
|
+
background-color: #3a84ff;
|
76
|
+
border-radius: 50%;
|
77
|
+
content: '';
|
78
|
+
}
|
79
|
+
.bk-time-picker-cells-title-wrapper .bk-time-picker-cells-title:nth-of-type(1):after {
|
80
|
+
position: absolute;
|
81
|
+
top: calc(55px + 5px);
|
82
|
+
left: 133px;
|
83
|
+
z-index: 1;
|
84
|
+
width: 2px;
|
85
|
+
padding-top: 2px;
|
86
|
+
background-color: #3a84ff;
|
87
|
+
border-radius: 50%;
|
88
|
+
content: '';
|
89
|
+
}
|
90
|
+
.bk-time-picker-cells-list {
|
91
|
+
position: relative;
|
92
|
+
float: left;
|
93
|
+
width: 33.33%;
|
94
|
+
max-height: 200px;
|
95
|
+
overflow: hidden;
|
96
|
+
}
|
97
|
+
.bk-time-picker-cells-list:hover {
|
98
|
+
overflow-y: auto;
|
99
|
+
}
|
100
|
+
.bk-time-picker-cells-list:first-child {
|
101
|
+
border-radius: 2px 0 0 2px;
|
102
|
+
}
|
103
|
+
.bk-time-picker-cells-list:last-child {
|
104
|
+
border-radius: 0 2px 2px 0;
|
105
|
+
}
|
106
|
+
.bk-time-picker-cells-list::-webkit-scrollbar {
|
107
|
+
width: 0;
|
108
|
+
height: 0;
|
109
|
+
background-color: rgba(204, 204, 204, 0);
|
110
|
+
}
|
111
|
+
.bk-time-picker-cells-list::-webkit-scrollbar-thumb {
|
112
|
+
width: 0;
|
113
|
+
height: 0;
|
114
|
+
background-color: transparent;
|
115
|
+
}
|
116
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul {
|
117
|
+
width: 100%;
|
118
|
+
padding: 0 0 168px 0;
|
119
|
+
margin: 0;
|
120
|
+
list-style: none;
|
121
|
+
}
|
122
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell {
|
123
|
+
position: relative;
|
124
|
+
width: 100%;
|
125
|
+
height: 32px;
|
126
|
+
padding: 0;
|
127
|
+
margin: 0;
|
128
|
+
font-size: 12px;
|
129
|
+
line-height: 32px;
|
130
|
+
color: #63656e;
|
131
|
+
text-align: center;
|
132
|
+
list-style: none;
|
133
|
+
cursor: pointer;
|
134
|
+
box-sizing: content-box;
|
135
|
+
transition: background 0.2s ease-in-out;
|
136
|
+
user-select: none;
|
137
|
+
}
|
138
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell:hover {
|
139
|
+
color: #3a84ff;
|
140
|
+
}
|
141
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell-disabled {
|
142
|
+
color: #c4c6cc;
|
143
|
+
cursor: not-allowed;
|
144
|
+
}
|
145
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell-disabled:hover {
|
146
|
+
color: #c4c6cc;
|
147
|
+
cursor: not-allowed;
|
148
|
+
background-color: #fff;
|
149
|
+
}
|
150
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell-selected,
|
151
|
+
.bk-time-picker-cells-list .bk-time-picker-cells-ul .bk-time-picker-cells-cell-selected:hover {
|
152
|
+
color: #3a84ff;
|
153
|
+
}
|
154
|
+
.bk-time-picker-header {
|
155
|
+
height: 46px;
|
156
|
+
font-size: 14px;
|
157
|
+
font-weight: 700;
|
158
|
+
line-height: 46px;
|
159
|
+
color: #63656e;
|
160
|
+
text-align: center;
|
161
|
+
border-bottom: 1px solid #dcdee5;
|
162
|
+
}
|
163
|
+
.bk-time-picker-with-range .bk-picker-panel-content {
|
164
|
+
position: relative;
|
165
|
+
float: left;
|
166
|
+
}
|
167
|
+
.bk-time-picker-with-range .bk-picker-panel-content:after {
|
168
|
+
position: absolute;
|
169
|
+
top: 45px;
|
170
|
+
right: 0;
|
171
|
+
bottom: 0;
|
172
|
+
z-index: 1;
|
173
|
+
display: block;
|
174
|
+
width: 1px;
|
175
|
+
background: #e8eaec;
|
176
|
+
content: '';
|
177
|
+
}
|
178
|
+
.bk-time-picker-with-range .bk-picker-panel-content-right {
|
179
|
+
float: right;
|
180
|
+
}
|
181
|
+
.bk-time-picker-with-range .bk-picker-panel-content-right:after {
|
182
|
+
right: auto;
|
183
|
+
left: 0;
|
184
|
+
}
|
185
|
+
.bk-time-picker-with-range .bk-time-picker-cells-list:first-child {
|
186
|
+
border-radius: 0;
|
187
|
+
}
|
188
|
+
.bk-time-picker-with-range .bk-time-picker-cells-list:last-child {
|
189
|
+
border-radius: 0;
|
190
|
+
}
|
191
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells {
|
192
|
+
min-width: 216px;
|
193
|
+
position: relative;
|
194
|
+
}
|
195
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-with-seconds {
|
196
|
+
min-width: 216px;
|
197
|
+
}
|
198
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-with-seconds .bk-time-picker-cells-list {
|
199
|
+
width: 72px;
|
200
|
+
}
|
201
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-with-seconds .bk-time-picker-cells-list ul li {
|
202
|
+
padding: 0;
|
203
|
+
}
|
204
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-list {
|
205
|
+
width: 108px;
|
206
|
+
max-height: 200px;
|
207
|
+
}
|
208
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-list:first-child {
|
209
|
+
border-radius: 0;
|
210
|
+
}
|
211
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-list:last-child {
|
212
|
+
border-radius: 0;
|
213
|
+
}
|
214
|
+
.bk-picker-panel-content .bk-picker-panel-content .bk-time-picker-cells-list ul {
|
215
|
+
padding: 0 0 168px 0;
|
216
|
+
}
|
1
217
|
.bk-date-picker {
|
2
218
|
display: inline-block;
|
3
219
|
width: 261px;
|
@@ -16,6 +232,7 @@
|
|
16
232
|
position: relative;
|
17
233
|
}
|
18
234
|
.bk-date-picker-rel .bk-date-picker-editor {
|
235
|
+
box-sizing: border-box;
|
19
236
|
display: block;
|
20
237
|
width: 100%;
|
21
238
|
height: 32px;
|
@@ -27,7 +244,6 @@
|
|
27
244
|
border: 1px solid #c4c6cc;
|
28
245
|
border-radius: 2px;
|
29
246
|
outline: none;
|
30
|
-
box-sizing: border-box;
|
31
247
|
}
|
32
248
|
.bk-date-picker-rel .bk-date-picker-editor.only-bottom-border {
|
33
249
|
border-color: transparent transparent #c4c6cc transparent;
|
@@ -106,13 +322,13 @@
|
|
106
322
|
.bk-date-picker-dropdown {
|
107
323
|
position: absolute;
|
108
324
|
z-index: 900;
|
325
|
+
box-sizing: border-box;
|
109
326
|
padding: 5px 0 0 0;
|
110
327
|
overflow: auto;
|
111
328
|
background-color: #fff;
|
112
329
|
border: 1px solid #dcdee5;
|
113
330
|
border-radius: 2px;
|
114
331
|
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
|
115
|
-
box-sizing: border-box;
|
116
332
|
}
|
117
333
|
.bk-date-picker .bk-select-dropdown {
|
118
334
|
max-height: none;
|
@@ -187,6 +403,7 @@
|
|
187
403
|
}
|
188
404
|
.bk-picker-confirm {
|
189
405
|
display: flex;
|
406
|
+
justify-content: flex-end;
|
190
407
|
height: 42px;
|
191
408
|
padding: 0 20px;
|
192
409
|
clear: both;
|
@@ -195,7 +412,6 @@
|
|
195
412
|
text-align: right;
|
196
413
|
background-color: #fafbfd;
|
197
414
|
border-top: 1px solid #dcdee5;
|
198
|
-
justify-content: flex-end;
|
199
415
|
}
|
200
416
|
.bk-picker-confirm a {
|
201
417
|
color: #979ba5;
|
@@ -326,10 +542,10 @@ span.bk-date-picker-cells-cell-disabled:hover {
|
|
326
542
|
bottom: 0;
|
327
543
|
left: 0;
|
328
544
|
display: block;
|
545
|
+
content: '';
|
329
546
|
background: #e1ecff;
|
330
547
|
border: 0;
|
331
548
|
border-radius: 0;
|
332
|
-
content: '';
|
333
549
|
}
|
334
550
|
.bk-date-picker-cells-cell-range em {
|
335
551
|
position: relative;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
|
-
|
2
|
+
@import '../time-picker/time-picker.less';
|
3
3
|
.@{bk-prefix}-date-picker {
|
4
4
|
display: inline-block;
|
5
5
|
width: 261px;
|
@@ -22,6 +22,7 @@
|
|
22
22
|
position: relative;
|
23
23
|
|
24
24
|
.@{bk-prefix}-date-picker-editor {
|
25
|
+
box-sizing: border-box;
|
25
26
|
display: block;
|
26
27
|
width: 100%;
|
27
28
|
height: 32px;
|
@@ -33,7 +34,6 @@
|
|
33
34
|
border: 1px solid @light-gray;
|
34
35
|
border-radius: 2px;
|
35
36
|
outline: none;
|
36
|
-
box-sizing: border-box;
|
37
37
|
|
38
38
|
&.only-bottom-border {
|
39
39
|
border-color: transparent transparent @light-gray transparent;
|
@@ -129,13 +129,13 @@
|
|
129
129
|
.@{bk-prefix}-date-picker-dropdown {
|
130
130
|
position: absolute;
|
131
131
|
z-index: 900;
|
132
|
+
box-sizing: border-box;
|
132
133
|
padding: 5px 0 0 0;
|
133
134
|
overflow: auto;
|
134
135
|
background-color: @date-picker-dropdown-bg;
|
135
136
|
border: 1px solid @disable-color;
|
136
137
|
border-radius: 2px;
|
137
138
|
box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
|
138
|
-
box-sizing: border-box;
|
139
139
|
}
|
140
140
|
|
141
141
|
.@{bk-prefix}-date-picker .@{bk-prefix}-select-dropdown {
|
@@ -225,6 +225,7 @@
|
|
225
225
|
|
226
226
|
.@{bk-prefix}-picker-confirm {
|
227
227
|
display: flex;
|
228
|
+
justify-content: flex-end;
|
228
229
|
height: 42px;
|
229
230
|
padding: 0 20px;
|
230
231
|
clear: both;
|
@@ -233,7 +234,6 @@
|
|
233
234
|
text-align: right;
|
234
235
|
background-color: #fafbfd;
|
235
236
|
border-top: 1px solid #dcdee5;
|
236
|
-
justify-content: flex-end;
|
237
237
|
|
238
238
|
a {
|
239
239
|
color: #979ba5;
|
@@ -392,10 +392,10 @@ span.@{bk-prefix}-date-picker-cells-cell-disabled:hover {
|
|
392
392
|
bottom: 0;
|
393
393
|
left: 0;
|
394
394
|
display: block;
|
395
|
+
content: '';
|
395
396
|
background: #e1ecff;
|
396
397
|
border: 0;
|
397
398
|
border-radius: 0;
|
398
|
-
content: '';
|
399
399
|
}
|
400
400
|
|
401
401
|
em {
|