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