bkui-vue 1.0.3-beta.34 → 1.0.3-beta.35
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 +495 -503
- package/dist/index.umd.js +1 -1
- package/lib/date-picker/common.d.ts +2 -2
- package/lib/date-picker/index.js +48 -76
- package/package.json +1 -1
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const dateIcon:
|
2
|
-
export declare const timeIcon:
|
1
|
+
export declare const dateIcon: JSX.Element;
|
2
|
+
export declare const timeIcon: JSX.Element;
|
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({ ["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 });
|
176
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["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,87 +439,59 @@ var pickerDropdownProps = {
|
|
439
439
|
}));
|
440
440
|
;// CONCATENATED MODULE: ../../packages/date-picker/src/common.tsx
|
441
441
|
|
442
|
-
/* eslint-disable vue/one-component-per-file */
|
443
442
|
/*
|
444
443
|
* Tencent is pleased to support the open source community by making
|
445
444
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
446
|
-
|
447
|
-
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
448
|
-
*
|
449
|
-
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
450
|
-
*
|
451
|
-
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
452
|
-
*
|
453
|
-
* ---------------------------------------------------
|
454
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
455
|
-
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
456
|
-
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
457
|
-
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
458
|
-
*
|
459
|
-
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
460
|
-
* the Software.
|
461
|
-
*
|
462
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
463
|
-
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
464
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
445
|
+
@@ -23,68 +24,72 @@
|
465
446
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
466
447
|
* IN THE SOFTWARE.
|
467
448
|
*/
|
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
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
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
|
-
});
|
449
|
+
var dateIcon = (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)("svg", {
|
450
|
+
"class": "picker-icon",
|
451
|
+
"x": "0px",
|
452
|
+
"y": "0px",
|
453
|
+
"viewBox": "0 0 1024 1024"
|
454
|
+
}, [(0,external_vue_namespaceObject.createVNode)("g", {
|
455
|
+
"id": "date"
|
456
|
+
}, [(0,external_vue_namespaceObject.createVNode)("path", {
|
457
|
+
"fill": "#c4c6cc",
|
458
|
+
"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"
|
459
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("rect", {
|
460
|
+
"x": "416",
|
461
|
+
"y": "128",
|
462
|
+
"fill": "#c4c6cc",
|
463
|
+
"width": "192",
|
464
|
+
"height": "64"
|
465
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("rect", {
|
466
|
+
"x": "288",
|
467
|
+
"y": "96",
|
468
|
+
"fill": "#c4c6cc",
|
469
|
+
"width": "64",
|
470
|
+
"height": "128"
|
471
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("rect", {
|
472
|
+
"x": "672",
|
473
|
+
"y": "96",
|
474
|
+
"fill": "#c4c6cc",
|
475
|
+
"width": "64",
|
476
|
+
"height": "128"
|
477
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("polygon", {
|
478
|
+
"fill": "#c4c6cc",
|
479
|
+
"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"
|
480
|
+
}, null)])])]);
|
481
|
+
var timeIcon = (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)("svg", {
|
482
|
+
"class": "picker-icon",
|
483
|
+
"x": "0px",
|
484
|
+
"y": "0px",
|
485
|
+
"viewBox": "0 0 1024 1024"
|
486
|
+
}, [(0,external_vue_namespaceObject.createVNode)("g", {
|
487
|
+
"id": "time"
|
488
|
+
}, [(0,external_vue_namespaceObject.createVNode)("path", {
|
489
|
+
"fill": "#c4c6cc",
|
490
|
+
"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"
|
491
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("polygon", {
|
492
|
+
"fill": "#c4c6cc",
|
493
|
+
"points": "512,512 512,256 448,256 448,512 448,576 512,576 768,576 768,512"
|
494
|
+
}, null)])])]);
|
523
495
|
;// CONCATENATED MODULE: external "../button"
|
524
496
|
var button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
525
497
|
var button_y = x => () => x
|