bkui-vue 1.0.3-beta.34 → 1.0.3-beta.36

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.
@@ -1,2 +1,2 @@
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<{}>>, {}, {}>;
1
+ export declare const dateIcon: JSX.Element;
2
+ export declare const timeIcon: JSX.Element;
@@ -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
- 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
- });
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
@@ -49,6 +49,17 @@ declare const TableColumnProp: {
49
49
  } & {
50
50
  default: number;
51
51
  };
52
+ uniqueId: import("vue-types").VueTypeValidableDef<{
53
+ [key: string]: any;
54
+ }> & {
55
+ default: () => {
56
+ [key: string]: any;
57
+ };
58
+ } & {
59
+ default: () => {
60
+ [key: string]: any;
61
+ };
62
+ };
52
63
  };
53
64
  export type ITableColumn = Partial<ExtractPropTypes<typeof TableColumnProp>>;
54
65
  declare const _default: import("vue").DefineComponent<{
@@ -100,6 +111,17 @@ declare const _default: import("vue").DefineComponent<{
100
111
  } & {
101
112
  default: number;
102
113
  };
114
+ uniqueId: import("vue-types").VueTypeValidableDef<{
115
+ [key: string]: any;
116
+ }> & {
117
+ default: () => {
118
+ [key: string]: any;
119
+ };
120
+ } & {
121
+ default: () => {
122
+ [key: string]: any;
123
+ };
124
+ };
103
125
  }, {
104
126
  isIndexPropChanged: import("vue").Ref<boolean>;
105
127
  setIsIndexChanged: (val: boolean) => void;
@@ -145,6 +167,9 @@ declare const _default: import("vue").DefineComponent<{
145
167
  (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
146
168
  };
147
169
  };
170
+ uniqueId?: {
171
+ [key: string]: any;
172
+ };
148
173
  render?: import("../props").RenderFunctionString;
149
174
  sort?: string | boolean | {
150
175
  sortFn?: Function;
@@ -181,8 +206,72 @@ declare const _default: import("vue").DefineComponent<{
181
206
  };
182
207
  }, unknown, {}, {
183
208
  updateColumnDefine(unmounted?: boolean): void;
184
- copyProps(props: ITableColumn): {};
209
+ copyProps(props: Partial<ExtractPropTypes<{
210
+ label: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
211
+ field: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
212
+ render: import("vue-types").VueTypeDef<import("../props").RenderFunctionString>;
213
+ width: import("vue-types").VueTypeDef<string | number>;
214
+ minWidth: import("vue-types").VueTypeDef<string | number> & {
215
+ default: string | number;
216
+ };
217
+ columnKey: import("vue-types").VueTypeValidableDef<string> & {
218
+ default: string;
219
+ } & {
220
+ default: string;
221
+ };
222
+ showOverflowTooltip: import("vue-types").VueTypeDef<import("../props").IOverflowTooltipProp>;
223
+ type: import("vue-types").VueTypeDef<"index" | "selection" | "expand" | "__COL_TYPE_NONE">;
224
+ resizable: import("vue-types").VueTypeValidableDef<boolean> & {
225
+ default: boolean;
226
+ } & {
227
+ default: boolean;
228
+ };
229
+ fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
230
+ default: boolean | "right" | "left";
231
+ };
232
+ sort: import("vue-types").VueTypeDef<import("../props").ISortPropShape>;
233
+ filter: import("vue-types").VueTypeDef<import("../props").IFilterPropShape>;
234
+ colspan: import("vue-types").VueTypeDef<import("../props").SpanFunctionString> & {
235
+ default: (({ column, colIndex, row, rowIndex }: {
236
+ column: any;
237
+ colIndex: any;
238
+ row: any;
239
+ rowIndex: any;
240
+ }) => number) | (() => Number);
241
+ };
242
+ rowspan: import("vue-types").VueTypeDef<import("../props").SpanFunctionString> & {
243
+ default: (({ column, colIndex, row, rowIndex }: {
244
+ column: any;
245
+ colIndex: any;
246
+ row: any;
247
+ rowIndex: any;
248
+ }) => number) | (() => Number);
249
+ };
250
+ align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
251
+ className: import("vue-types").VueTypeDef<import("../props").RowClassFunctionString>;
252
+ prop: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
253
+ index: import("vue-types").VueTypeValidableDef<number> & {
254
+ default: number;
255
+ } & {
256
+ default: number;
257
+ };
258
+ uniqueId: import("vue-types").VueTypeValidableDef<{
259
+ [key: string]: any;
260
+ }> & {
261
+ default: () => {
262
+ [key: string]: any;
263
+ };
264
+ } & {
265
+ default: () => {
266
+ [key: string]: any;
267
+ };
268
+ };
269
+ }>> | {
270
+ [key: string]: any;
271
+ }): {};
185
272
  rsolveIndexedColumn(): boolean;
273
+ setNodeUid(): void;
274
+ getNodeUid(props: any): any;
186
275
  updateColumnDefineByParent(): void;
187
276
  unmountColumn(): void;
188
277
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
@@ -234,6 +323,17 @@ declare const _default: import("vue").DefineComponent<{
234
323
  } & {
235
324
  default: number;
236
325
  };
326
+ uniqueId: import("vue-types").VueTypeValidableDef<{
327
+ [key: string]: any;
328
+ }> & {
329
+ default: () => {
330
+ [key: string]: any;
331
+ };
332
+ } & {
333
+ default: () => {
334
+ [key: string]: any;
335
+ };
336
+ };
237
337
  }>>, {
238
338
  fixed: boolean | "right" | "left";
239
339
  resizable: boolean;
@@ -242,5 +342,8 @@ declare const _default: import("vue").DefineComponent<{
242
342
  columnKey: string;
243
343
  colspan: import("../props").SpanFunctionString;
244
344
  rowspan: import("../props").SpanFunctionString;
345
+ uniqueId: {
346
+ [key: string]: any;
347
+ };
245
348
  }, {}>;
246
349
  export default _default;
@@ -1324,6 +1324,17 @@ declare const BkTable: {
1324
1324
  } & {
1325
1325
  default: number;
1326
1326
  };
1327
+ uniqueId: import("vue-types").VueTypeValidableDef<{
1328
+ [key: string]: any;
1329
+ }> & {
1330
+ default: () => {
1331
+ [key: string]: any;
1332
+ };
1333
+ } & {
1334
+ default: () => {
1335
+ [key: string]: any;
1336
+ };
1337
+ };
1327
1338
  }, {
1328
1339
  isIndexPropChanged: import("vue").Ref<boolean>;
1329
1340
  setIsIndexChanged: (val: boolean) => void;
@@ -1369,6 +1380,9 @@ declare const BkTable: {
1369
1380
  (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
1370
1381
  };
1371
1382
  };
1383
+ uniqueId?: {
1384
+ [key: string]: any;
1385
+ };
1372
1386
  render?: import("./props").RenderFunctionString;
1373
1387
  sort?: string | boolean | {
1374
1388
  sortFn?: Function;
@@ -1454,8 +1468,23 @@ declare const BkTable: {
1454
1468
  } & {
1455
1469
  default: number;
1456
1470
  };
1457
- }>>): {};
1471
+ uniqueId: import("vue-types").VueTypeValidableDef<{
1472
+ [key: string]: any;
1473
+ }> & {
1474
+ default: () => {
1475
+ [key: string]: any;
1476
+ };
1477
+ } & {
1478
+ default: () => {
1479
+ [key: string]: any;
1480
+ };
1481
+ };
1482
+ }>> | {
1483
+ [key: string]: any;
1484
+ }): {};
1458
1485
  rsolveIndexedColumn(): boolean;
1486
+ setNodeUid(): void;
1487
+ getNodeUid(props: any): any;
1459
1488
  updateColumnDefineByParent(): void;
1460
1489
  unmountColumn(): void;
1461
1490
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
@@ -1507,6 +1536,17 @@ declare const BkTable: {
1507
1536
  } & {
1508
1537
  default: number;
1509
1538
  };
1539
+ uniqueId: import("vue-types").VueTypeValidableDef<{
1540
+ [key: string]: any;
1541
+ }> & {
1542
+ default: () => {
1543
+ [key: string]: any;
1544
+ };
1545
+ } & {
1546
+ default: () => {
1547
+ [key: string]: any;
1548
+ };
1549
+ };
1510
1550
  }>>, {
1511
1551
  fixed: boolean | "right" | "left";
1512
1552
  resizable: boolean;
@@ -1515,6 +1555,9 @@ declare const BkTable: {
1515
1555
  columnKey: string;
1516
1556
  colspan: import("./props").SpanFunctionString;
1517
1557
  rowspan: import("./props").SpanFunctionString;
1558
+ uniqueId: {
1559
+ [key: string]: any;
1560
+ };
1518
1561
  }, {}>;
1519
1562
  }>;
1520
1563
  export default BkTable;