bkui-vue 1.0.3-beta.33 → 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 +24 -24
- package/dist/index.esm.js +3534 -3536
- package/dist/index.umd.js +24 -24
- package/lib/date-picker/common.d.ts +2 -2
- package/lib/date-picker/index.js +57 -47
- package/lib/table/index.js +5 -12
- package/lib/table-column/index.js +5 -12
- 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/table/index.js
CHANGED
@@ -122,7 +122,7 @@ function defineProperty_defineProperty(obj, key, value) {
|
|
122
122
|
;// CONCATENATED MODULE: external "vue"
|
123
123
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
124
124
|
var external_vue_y = x => () => x
|
125
|
-
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["isProxy"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isProxy, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["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, ["
|
125
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["isProxy"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isProxy, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["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, ["toRaw"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRaw, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["unref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.unref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["watchEffect"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watchEffect });
|
126
126
|
;// CONCATENATED MODULE: ../../packages/table/src/const.ts
|
127
127
|
|
128
128
|
/*
|
@@ -666,7 +666,6 @@ var tableProps = {
|
|
666
666
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
667
667
|
* IN THE SOFTWARE.
|
668
668
|
*/
|
669
|
-
// @ts-ignore
|
670
669
|
|
671
670
|
|
672
671
|
|
@@ -812,16 +811,10 @@ var TableColumnProp = {
|
|
812
811
|
if (Array.isArray(node === null || node === void 0 ? void 0 : node.children)) {
|
813
812
|
return node.children;
|
814
813
|
}
|
815
|
-
if ((0,external_vue_namespaceObject.isVNode)(node)) {
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
}
|
820
|
-
if (typeof_typeof(node === null || node === void 0 ? void 0 : node.children) === 'object') {
|
821
|
-
return Object.keys(node.children).map(function (key) {
|
822
|
-
return node.children[key];
|
823
|
-
});
|
824
|
-
}
|
814
|
+
if ((0,external_vue_namespaceObject.isVNode)(node) && node !== null && node !== void 0 && node.children && typeof_typeof(node === null || node === void 0 ? void 0 : node.children) === 'object') {
|
815
|
+
return Object.keys(node.children).map(function (key) {
|
816
|
+
return node.children[key];
|
817
|
+
});
|
825
818
|
}
|
826
819
|
if (typeof node === 'function') {
|
827
820
|
return node();
|
@@ -83,7 +83,7 @@ function _defineProperty(obj, key, value) {
|
|
83
83
|
;// CONCATENATED MODULE: external "vue"
|
84
84
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
85
85
|
var external_vue_y = x => () => x
|
86
|
-
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["
|
86
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["unref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.unref });
|
87
87
|
;// CONCATENATED MODULE: ../../packages/table/src/const.ts
|
88
88
|
|
89
89
|
/*
|
@@ -627,7 +627,6 @@ var tableProps = {
|
|
627
627
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
628
628
|
* IN THE SOFTWARE.
|
629
629
|
*/
|
630
|
-
// @ts-ignore
|
631
630
|
|
632
631
|
|
633
632
|
|
@@ -773,16 +772,10 @@ var TableColumnProp = {
|
|
773
772
|
if (Array.isArray(node === null || node === void 0 ? void 0 : node.children)) {
|
774
773
|
return node.children;
|
775
774
|
}
|
776
|
-
if ((0,external_vue_namespaceObject.isVNode)(node)) {
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
}
|
781
|
-
if (_typeof(node === null || node === void 0 ? void 0 : node.children) === 'object') {
|
782
|
-
return Object.keys(node.children).map(function (key) {
|
783
|
-
return node.children[key];
|
784
|
-
});
|
785
|
-
}
|
775
|
+
if ((0,external_vue_namespaceObject.isVNode)(node) && node !== null && node !== void 0 && node.children && _typeof(node === null || node === void 0 ? void 0 : node.children) === 'object') {
|
776
|
+
return Object.keys(node.children).map(function (key) {
|
777
|
+
return node.children[key];
|
778
|
+
});
|
786
779
|
}
|
787
780
|
if (typeof node === 'function') {
|
788
781
|
return node();
|