bkui-vue 1.0.3-beta.32 → 1.0.3-beta.34
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 +1 -1
- package/dist/index.esm.js +503 -495
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/date-picker/common.d.ts +2 -2
- package/lib/date-picker/index.js +57 -47
- package/lib/styles/reset.css +1 -3
- package/lib/styles/reset.less +3 -6
- package/lib/styles/reset.variable.css +1 -3
- package/package.json +1 -1
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const dateIcon:
|
2
|
-
export declare const timeIcon:
|
1
|
+
export declare const dateIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
2
|
+
export declare const timeIcon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
package/lib/date-picker/index.js
CHANGED
@@ -173,7 +173,7 @@ function _toConsumableArray(arr) {
|
|
173
173
|
;// CONCATENATED MODULE: external "vue"
|
174
174
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
175
175
|
var external_vue_y = x => () => x
|
176
|
-
const external_vue_namespaceObject = external_vue_x({ ["
|
176
|
+
const external_vue_namespaceObject = external_vue_x({ ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
177
177
|
;// CONCATENATED MODULE: external "../config-provider"
|
178
178
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
179
179
|
var config_provider_y = x => () => x
|
@@ -439,6 +439,7 @@ var pickerDropdownProps = {
|
|
439
439
|
}));
|
440
440
|
;// CONCATENATED MODULE: ../../packages/date-picker/src/common.tsx
|
441
441
|
|
442
|
+
/* eslint-disable vue/one-component-per-file */
|
442
443
|
/*
|
443
444
|
* Tencent is pleased to support the open source community by making
|
444
445
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -464,52 +465,61 @@ var pickerDropdownProps = {
|
|
464
465
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
465
466
|
* IN THE SOFTWARE.
|
466
467
|
*/
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
},
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
}, null)
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
468
|
+
|
469
|
+
var dateIcon = (0,external_vue_namespaceObject.defineComponent)({
|
470
|
+
render: function render() {
|
471
|
+
return (0,external_vue_namespaceObject.createVNode)("svg", {
|
472
|
+
"class": "picker-icon",
|
473
|
+
"x": "0px",
|
474
|
+
"y": "0px",
|
475
|
+
"viewBox": "0 0 1024 1024"
|
476
|
+
}, [(0,external_vue_namespaceObject.createVNode)("g", {
|
477
|
+
"id": "date"
|
478
|
+
}, [(0,external_vue_namespaceObject.createVNode)("path", {
|
479
|
+
"fill": "#c4c6cc",
|
480
|
+
"d": "M896,128h-96v64h64v112H160V192h64v-64h-96c-17.7,0-32,14.3-32,32v736c0,17.7,14.3,32,32,32h768c17.7,0,32-14.3,32-32V160C928,142.3,913.7,128,896,128z M160,864V368h704v496H160z"
|
481
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("rect", {
|
482
|
+
"x": "416",
|
483
|
+
"y": "128",
|
484
|
+
"fill": "#c4c6cc",
|
485
|
+
"width": "192",
|
486
|
+
"height": "64"
|
487
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("rect", {
|
488
|
+
"x": "288",
|
489
|
+
"y": "96",
|
490
|
+
"fill": "#c4c6cc",
|
491
|
+
"width": "64",
|
492
|
+
"height": "128"
|
493
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("rect", {
|
494
|
+
"x": "672",
|
495
|
+
"y": "96",
|
496
|
+
"fill": "#c4c6cc",
|
497
|
+
"width": "64",
|
498
|
+
"height": "128"
|
499
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("polygon", {
|
500
|
+
"fill": "#c4c6cc",
|
501
|
+
"points": "403.7,514.4 557.1,514.4 557.1,515.3 420.1,765.5 483.5,765.5 620.3,504.3 620.3,466.5 403.7,466.5"
|
502
|
+
}, null)])]);
|
503
|
+
}
|
504
|
+
});
|
505
|
+
var timeIcon = (0,external_vue_namespaceObject.defineComponent)({
|
506
|
+
render: function render() {
|
507
|
+
return (0,external_vue_namespaceObject.createVNode)("svg", {
|
508
|
+
"class": "picker-icon",
|
509
|
+
"x": "0px",
|
510
|
+
"y": "0px",
|
511
|
+
"viewBox": "0 0 1024 1024"
|
512
|
+
}, [(0,external_vue_namespaceObject.createVNode)("g", {
|
513
|
+
"id": "time"
|
514
|
+
}, [(0,external_vue_namespaceObject.createVNode)("path", {
|
515
|
+
"fill": "#c4c6cc",
|
516
|
+
"d": "M512,128c51.9,0,102.2,10.1,149.5,30.2c45.7,19.3,86.8,47,122.1,82.3s63,76.4,82.3,122.1c20,47.3,30.2,97.6,30.2,149.5S886,614.3,865.9,661.6c-19.3,45.7-47,86.8-82.3,122.1s-76.4,63-122.1,82.3c-47.3,20-97.6,30.2-149.5,30.2S409.8,886.1,362.5,866c-45.7-19.3-86.8-47-122.1-82.3s-63-76.4-82.3-122.1c-20-47.3-30.2-97.6-30.2-149.5s10.1-102.2,30.2-149.5c19.3-45.7,47-86.8,82.3-122.1s76.4-63,122.1-82.3C409.8,138.1,460.1,128,512,128 M512,64C264.6,64,64,264.6,64,512s200.6,448,448,448s448-200.6,448-448S759.4,64,512,64L512,64z"
|
517
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("polygon", {
|
518
|
+
"fill": "#c4c6cc",
|
519
|
+
"points": "512,512 512,256 448,256 448,512 448,576 512,576 768,576 768,512"
|
520
|
+
}, null)])]);
|
521
|
+
}
|
522
|
+
});
|
513
523
|
;// CONCATENATED MODULE: external "../button"
|
514
524
|
var button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
515
525
|
var button_y = x => () => x
|
package/lib/styles/reset.css
CHANGED
package/lib/styles/reset.less
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
&::-webkit-scrollbar-thumb {
|
10
10
|
background: #ddd;
|
11
11
|
border-radius: 20px;
|
12
|
-
box-shadow: inset 0 0 6px rgba(204, 204, 204, .3);
|
12
|
+
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
13
13
|
}
|
14
14
|
}
|
15
15
|
|
@@ -19,9 +19,7 @@ body {
|
|
19
19
|
margin: 0;
|
20
20
|
}
|
21
21
|
|
22
|
-
|
23
|
-
*::before,
|
24
|
-
*::after {
|
22
|
+
* {
|
25
23
|
box-sizing: border-box;
|
26
24
|
}
|
27
25
|
|
@@ -199,7 +197,6 @@ select {
|
|
199
197
|
* 3. Improve usability and consistency of cursor style between image-type `input` and others.
|
200
198
|
*/
|
201
199
|
button,
|
202
|
-
|
203
200
|
html input[type='button'],
|
204
201
|
input[type='reset'],
|
205
202
|
input[type='submit'] {
|
@@ -295,7 +292,7 @@ input[type='search']::-webkit-search-decoration {
|
|
295
292
|
* Define consistent border, margin, and padding.
|
296
293
|
*/
|
297
294
|
fieldset {
|
298
|
-
padding: .35em .625em .75em;
|
295
|
+
padding: 0.35em 0.625em 0.75em;
|
299
296
|
margin: 0 2px;
|
300
297
|
border: 1px solid #c0c0c0;
|
301
298
|
}
|