bkui-vue 2.0.1-beta.75 → 2.0.1-beta.76

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.
Files changed (53) hide show
  1. package/dist/index.cjs.js +31 -31
  2. package/dist/index.esm.js +5803 -5792
  3. package/dist/index.umd.js +32 -32
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/alert/alert.d.ts +5 -5
  7. package/lib/alert/index.d.ts +11 -11
  8. package/lib/button/button.d.ts +7 -7
  9. package/lib/button/index.d.ts +11 -11
  10. package/lib/cascader/cascader-panel.d.ts +5 -0
  11. package/lib/cascader/cascader.d.ts +4 -0
  12. package/lib/cascader/index.d.ts +1 -0
  13. package/lib/cascader/index.js +70 -1
  14. package/lib/dialog/dialog.d.ts +6 -6
  15. package/lib/dialog/index.d.ts +14 -14
  16. package/lib/dialog/props.d.ts +2 -2
  17. package/lib/directives/index.d.ts +1 -0
  18. package/lib/directives/index.js +20 -4
  19. package/lib/form/form-item.d.ts +1 -1
  20. package/lib/form/index.d.ts +1 -1
  21. package/lib/index.js +1 -1
  22. package/lib/link/index.d.ts +11 -11
  23. package/lib/link/link.d.ts +5 -5
  24. package/lib/loading/index.d.ts +12 -11
  25. package/lib/loading/index.js +4 -2
  26. package/lib/loading/loading.d.ts +5 -5
  27. package/lib/message/messageConstructor.d.ts +5 -5
  28. package/lib/modal/index.d.ts +3 -3
  29. package/lib/modal/modal.d.ts +1 -1
  30. package/lib/notify/notifyConstructor.d.ts +5 -5
  31. package/lib/progress/index.d.ts +11 -11
  32. package/lib/progress/progress.d.ts +7 -7
  33. package/lib/select/index.d.ts +38 -38
  34. package/lib/select/select.d.ts +14 -14
  35. package/lib/select/selectTagInput.d.ts +5 -5
  36. package/lib/shared/vue-types.d.ts +6 -6
  37. package/lib/sideslider/index.d.ts +3 -3
  38. package/lib/sideslider/sideslider.d.ts +1 -1
  39. package/lib/steps/index.d.ts +11 -11
  40. package/lib/steps/steps.d.ts +7 -7
  41. package/lib/switcher/index.d.ts +11 -11
  42. package/lib/switcher/switcher.d.ts +7 -7
  43. package/lib/tab/index.js +15 -13
  44. package/lib/tab/tab-nav.d.ts +16 -23
  45. package/lib/table/index.js +13 -17
  46. package/lib/table/plugins/head-filter.css +4 -0
  47. package/lib/table/plugins/head-filter.less +3 -0
  48. package/lib/table/plugins/head-filter.variable.css +4 -0
  49. package/lib/table/table.css +4 -0
  50. package/lib/table/table.variable.css +4 -0
  51. package/lib/tag/index.d.ts +11 -11
  52. package/lib/tag/tag.d.ts +5 -5
  53. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
2
  export declare const switcherType: {
3
- theme: import("vue-types").VueTypeDef<"success" | "primary"> & {
4
- default: "success" | "primary";
3
+ theme: import("vue-types").VueTypeDef<"primary" | "success"> & {
4
+ default: "primary" | "success";
5
5
  };
6
6
  size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
7
7
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -60,8 +60,8 @@ export type SwitcherType = ExtractPropTypes<typeof switcherType>;
60
60
  declare function EventFunction(value: SwitcherType['modelValue']): string | number | boolean;
61
61
  declare function ChangeFunction(value: boolean): boolean;
62
62
  declare const _default: import("vue").DefineComponent<{
63
- theme: import("vue-types").VueTypeDef<"success" | "primary"> & {
64
- default: "success" | "primary";
63
+ theme: import("vue-types").VueTypeDef<"primary" | "success"> & {
64
+ default: "primary" | "success";
65
65
  };
66
66
  size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
67
67
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -115,8 +115,8 @@ declare const _default: import("vue").DefineComponent<{
115
115
  "update:modelValue": typeof EventFunction;
116
116
  change: typeof ChangeFunction;
117
117
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
118
- theme: import("vue-types").VueTypeDef<"success" | "primary"> & {
119
- default: "success" | "primary";
118
+ theme: import("vue-types").VueTypeDef<"primary" | "success"> & {
119
+ default: "primary" | "success";
120
120
  };
121
121
  size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
122
122
  disabled: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -172,7 +172,7 @@ declare const _default: import("vue").DefineComponent<{
172
172
  }, {
173
173
  extCls: string;
174
174
  disabled: boolean;
175
- theme: "success" | "primary";
175
+ theme: "primary" | "success";
176
176
  value: string | number | boolean;
177
177
  modelValue: string | number | boolean;
178
178
  withValidate: boolean;
package/lib/tab/index.js CHANGED
@@ -5,7 +5,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
5
5
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
6
6
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
7
7
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
8
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon__3efece53__ from "../icon/";
8
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
9
9
  /******/ // The require scope
10
10
  /******/ var __webpack_require__ = {};
11
11
  /******/
@@ -281,10 +281,10 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
281
281
  var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
282
282
  var directives_y = x => () => x
283
283
  const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips });
284
- ;// CONCATENATED MODULE: external "../icon/"
285
- var _x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
286
- var _y = x => () => x
287
- const _namespaceObject = _x({ ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon__3efece53__.Close, ["Plus"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon__3efece53__.Plus });
284
+ ;// CONCATENATED MODULE: external "../icon"
285
+ var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
286
+ var icon_y = x => () => x
287
+ const icon_namespaceObject = icon_x({ ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Plus"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Plus });
288
288
  ;// CONCATENATED MODULE: ../../packages/tab/src/tab-nav.tsx
289
289
 
290
290
 
@@ -338,7 +338,8 @@ function tab_nav_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
338
338
  if (!activeRef.value) {
339
339
  return initStyle;
340
340
  }
341
- if ([PositionEnum.LEFT, PositionEnum.RIGHT].includes(props.tabPosition)) {
341
+ var positionArr = [PositionEnum.LEFT, PositionEnum.RIGHT];
342
+ if (positionArr.includes(props.tabPosition)) {
342
343
  var _activeRef$value = activeRef.value,
343
344
  clientHeight = _activeRef$value.clientHeight,
344
345
  offsetTop = _activeRef$value.offsetTop;
@@ -369,13 +370,14 @@ function tab_nav_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
369
370
  }
370
371
  return initStyle;
371
372
  });
372
- var navs = (0,external_vue_namespaceObject.computed)(function () {
373
+ var tableNavList = (0,external_vue_namespaceObject.computed)(function () {
373
374
  if (!Array.isArray(props.panels) || !props.panels.length) {
374
375
  return [];
375
376
  }
376
377
  var list = [];
377
378
  var hasFindActive = false;
378
- props.panels.filter(function (item, index) {
379
+ var panels = props.panels;
380
+ panels.filter(function (item, index) {
379
381
  if (!item.props) {
380
382
  return null;
381
383
  }
@@ -484,7 +486,7 @@ function tab_nav_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
484
486
  return tab_nav_objectSpread(tab_nav_objectSpread({}, methods), {}, {
485
487
  activeRef: activeRef,
486
488
  activeBarStyle: activeBarStyle,
487
- navs: navs,
489
+ tableNavList: tableNavList,
488
490
  dragenterIndex: dragenterIndex,
489
491
  dragStartIndex: dragStartIndex,
490
492
  draggingEle: draggingEle,
@@ -505,7 +507,7 @@ function tab_nav_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
505
507
  dragend = this.dragend,
506
508
  drop = this.drop;
507
509
  var renderNavs = function renderNavs() {
508
- return _this.navs.map(function (item, index) {
510
+ return _this.tableNavList.map(function (item, index) {
509
511
  if (!item) {
510
512
  return null;
511
513
  }
@@ -533,14 +535,14 @@ function tab_nav_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
533
535
  "onClick": function onClick() {
534
536
  return _this.handleTabRemove(index, item);
535
537
  }
536
- }, [(0,external_vue_namespaceObject.createVNode)(_namespaceObject.Close, null, null)]) : '';
538
+ }, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Close, null, null)]) : '';
537
539
  };
538
540
  var getNumType = function getNumType() {
539
541
  return ['bracket'].includes(numDisplayType) ? "(".concat(tabNum, ")") : tabNum;
540
542
  };
541
543
  return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
542
544
  "key": name,
543
- "ref": active === name ? 'activeRef' : '',
545
+ "ref": active === name ? 'activeRef' : 'tabLabelRef',
544
546
  "class": getNavItemClass(),
545
547
  "draggable": getValue(item.sortable, sortable),
546
548
  "onClick": function onClick() {
@@ -589,7 +591,7 @@ function tab_nav_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
589
591
  } else if (addable) {
590
592
  list.push((0,external_vue_namespaceObject.createVNode)("div", {
591
593
  "onClick": _this.handleTabAdd
592
- }, [(0,external_vue_namespaceObject.createVNode)(_namespaceObject.Plus, {
594
+ }, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Plus, {
593
595
  "style": "display:flex;",
594
596
  "width": 26,
595
597
  "height": 26
@@ -1,4 +1,7 @@
1
- import { CSSProperties } from 'vue';
1
+ import { CSSProperties, type Ref, type ComponentInternalInstance, type ExtractPropTypes } from 'vue';
2
+ import { tabNavProps, TabPanelProps } from './props';
3
+ export type TabNavProps = ExtractPropTypes<typeof tabNavProps & ComponentInternalInstance>;
4
+ export type StringOrFunction = ((...args: unknown[]) => unknown) | string;
2
5
  declare const _default: import("vue").DefineComponent<{
3
6
  tabAdd: {
4
7
  type: FunctionConstructor;
@@ -55,24 +58,19 @@ declare const _default: import("vue").DefineComponent<{
55
58
  default: number;
56
59
  } & {
57
60
  default: number;
58
- }; /**
59
- * @description 判断拖动的元素是否是在同一个tab。
60
- * 使用guid,相比 el1.parentNode === el2.parentNode 判断,性能要高
61
- * @param e {event} 触发的元素
62
- * @return {boolean}
63
- */
61
+ };
64
62
  validateActive: import("vue-types").VueTypeValidableDef<boolean> & {
65
63
  default: boolean;
66
64
  } & {
67
65
  default: boolean;
68
66
  };
69
67
  }, {
70
- activeRef: import("vue").Ref<HTMLElement>;
68
+ activeRef: Ref<HTMLElement>;
71
69
  activeBarStyle: import("vue").ComputedRef<CSSProperties>;
72
- navs: import("vue").ComputedRef<any[]>;
73
- dragenterIndex: import("vue").Ref<number>;
74
- dragStartIndex: import("vue").Ref<number>;
75
- draggingEle: import("vue").Ref<string>;
70
+ tableNavList: import("vue").ComputedRef<any[]>;
71
+ dragenterIndex: Ref<number>;
72
+ dragStartIndex: Ref<number>;
73
+ draggingEle: Ref<string>;
76
74
  guid: string;
77
75
  resolveClassName: (cls: string) => string;
78
76
  /**
@@ -81,14 +79,14 @@ declare const _default: import("vue").DefineComponent<{
81
79
  * @param e {event} 触发的元素
82
80
  * @return {boolean}
83
81
  */
84
- handleTabAdd(e: any): void;
82
+ handleTabAdd(e: MouseEvent): void;
85
83
  dragstart(index: number, $event: DragEvent): void;
86
- dragenter(index: any): void;
84
+ dragenter(index: number): void;
87
85
  dragend(): void;
88
- drop(index: any, sortType: any): boolean;
86
+ drop(index: number, sortType: string): boolean;
89
87
  handleTabChange(name: string): void;
90
- handleTabRemove(index: number, panel: any): void;
91
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
88
+ handleTabRemove(index: number, panel: TabPanelProps): void;
89
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
92
90
  tabAdd: {
93
91
  type: FunctionConstructor;
94
92
  default: () => any;
@@ -144,12 +142,7 @@ declare const _default: import("vue").DefineComponent<{
144
142
  default: number;
145
143
  } & {
146
144
  default: number;
147
- }; /**
148
- * @description 判断拖动的元素是否是在同一个tab。
149
- * 使用guid,相比 el1.parentNode === el2.parentNode 判断,性能要高
150
- * @param e {event} 触发的元素
151
- * @return {boolean}
152
- */
145
+ };
153
146
  validateActive: import("vue-types").VueTypeValidableDef<boolean> & {
154
147
  default: boolean;
155
148
  } & {
@@ -22432,8 +22432,6 @@ const input_less_namespaceObject = input_less_x({ });
22432
22432
 
22433
22433
 
22434
22434
 
22435
-
22436
-
22437
22435
  function _isSlot(s) {
22438
22436
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
22439
22437
  }
@@ -22523,6 +22521,13 @@ var ROW_HEIGHT = 32;
22523
22521
  }
22524
22522
  return defaultMin;
22525
22523
  });
22524
+ var contentStyle = (0,external_vue_namespaceObject.computed)(function () {
22525
+ return {
22526
+ maxHeight: "".concat(maxHeight.value, "px"),
22527
+ minHeight: "".concat(minHeight.value, "px"),
22528
+ height: /%$/.test("".concat(height.value)) ? height.value : "".concat(height.value, "px")
22529
+ };
22530
+ });
22526
22531
  var getRegExp = function getRegExp(val) {
22527
22532
  var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'ig';
22528
22533
  return new RegExp("".concat(val).replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&'), flags);
@@ -22652,8 +22657,8 @@ var ROW_HEIGHT = 32;
22652
22657
  handleFilterChange();
22653
22658
  };
22654
22659
  var renderFilterList = function renderFilterList(scope) {
22655
- if (scope.data.length) {
22656
- return scope.data.map(function (item) {
22660
+ if (scope.length) {
22661
+ return scope.map(function (item) {
22657
22662
  return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
22658
22663
  "key": item.value,
22659
22664
  "ref": filterPopoverRef,
@@ -22722,19 +22727,10 @@ var ROW_HEIGHT = 32;
22722
22727
  "class": "content-list"
22723
22728
  }, {
22724
22729
  "default": function _default() {
22725
- return [(0,external_vue_namespaceObject.createVNode)(virtual_render_namespaceObject["default"], {
22726
- "ref": refVirtualRender,
22727
- "height": height.value,
22728
- "className": "content-items",
22729
- "lineHeight": 32,
22730
- "list": localData.value,
22731
- "maxHeight": maxHeight.value,
22732
- "minHeight": minHeight.value,
22733
- "scrollEvent": true,
22734
- "throttleDelay": 0
22735
- }, {
22736
- "default": renderFilterList
22737
- })];
22730
+ return [(0,external_vue_namespaceObject.createVNode)("div", {
22731
+ "style": contentStyle.value,
22732
+ "class": "content-items"
22733
+ }, [renderFilterList(localData.value)])];
22738
22734
  }
22739
22735
  }), (0,external_vue_namespaceObject.createVNode)("div", {
22740
22736
  "class": "content-footer"
@@ -157,6 +157,10 @@
157
157
  max-width: 300px;
158
158
  min-width: 200px;
159
159
  }
160
+ .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items {
161
+ max-height: 200px;
162
+ overflow: auto;
163
+ }
160
164
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item {
161
165
  width: 100%;
162
166
  height: 32px;
@@ -35,6 +35,9 @@
35
35
  min-width: 200px;
36
36
 
37
37
  .content-items {
38
+ max-height: 200px;
39
+ overflow: auto;
40
+
38
41
  .list-item {
39
42
  width: 100%;
40
43
  height: 32px;
@@ -417,6 +417,10 @@
417
417
  max-width: 300px;
418
418
  min-width: 200px;
419
419
  }
420
+ .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items {
421
+ max-height: 200px;
422
+ overflow: auto;
423
+ }
420
424
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item {
421
425
  width: 100%;
422
426
  height: 32px;
@@ -1029,6 +1029,10 @@
1029
1029
  max-width: 300px;
1030
1030
  min-width: 200px;
1031
1031
  }
1032
+ .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items {
1033
+ max-height: 200px;
1034
+ overflow: auto;
1035
+ }
1032
1036
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item {
1033
1037
  width: 100%;
1034
1038
  height: 32px;
@@ -1419,6 +1419,10 @@
1419
1419
  max-width: 300px;
1420
1420
  min-width: 200px;
1421
1421
  }
1422
+ .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items {
1423
+ max-height: 200px;
1424
+ overflow: auto;
1425
+ }
1422
1426
  .bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item {
1423
1427
  width: 100%;
1424
1428
  height: 32px;
@@ -1,7 +1,7 @@
1
1
  declare const BkTag: {
2
2
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
3
- theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
4
- default: "" | "info" | "success" | "danger" | "warning";
3
+ theme: import("vue-types").VueTypeDef<"" | "danger" | "success" | "warning" | "info"> & {
4
+ default: "" | "danger" | "success" | "warning" | "info";
5
5
  };
6
6
  closable: import("vue-types").VueTypeValidableDef<boolean> & {
7
7
  default: boolean;
@@ -38,8 +38,8 @@ declare const BkTag: {
38
38
  handleClick: (e: Event) => void;
39
39
  resolveClassName: (cls: string) => string;
40
40
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
41
- theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
42
- default: "" | "info" | "success" | "danger" | "warning";
41
+ theme: import("vue-types").VueTypeDef<"" | "danger" | "success" | "warning" | "info"> & {
42
+ default: "" | "danger" | "success" | "warning" | "info";
43
43
  };
44
44
  closable: import("vue-types").VueTypeValidableDef<boolean> & {
45
45
  default: boolean;
@@ -70,7 +70,7 @@ declare const BkTag: {
70
70
  onClose?: (...args: any[]) => any;
71
71
  }, {
72
72
  type: "" | "stroke" | "filled";
73
- theme: "" | "info" | "success" | "danger" | "warning";
73
+ theme: "" | "danger" | "success" | "warning" | "info";
74
74
  closable: boolean;
75
75
  radius: string;
76
76
  checked: boolean;
@@ -86,8 +86,8 @@ declare const BkTag: {
86
86
  M: {};
87
87
  Defaults: {};
88
88
  }, Readonly<import("vue").ExtractPropTypes<{
89
- theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
90
- default: "" | "info" | "success" | "danger" | "warning";
89
+ theme: import("vue-types").VueTypeDef<"" | "danger" | "success" | "warning" | "info"> & {
90
+ default: "" | "danger" | "success" | "warning" | "info";
91
91
  };
92
92
  closable: import("vue-types").VueTypeValidableDef<boolean> & {
93
93
  default: boolean;
@@ -125,7 +125,7 @@ declare const BkTag: {
125
125
  resolveClassName: (cls: string) => string;
126
126
  }, {}, {}, {}, {
127
127
  type: "" | "stroke" | "filled";
128
- theme: "" | "info" | "success" | "danger" | "warning";
128
+ theme: "" | "danger" | "success" | "warning" | "info";
129
129
  closable: boolean;
130
130
  radius: string;
131
131
  checked: boolean;
@@ -135,8 +135,8 @@ declare const BkTag: {
135
135
  __isTeleport?: never;
136
136
  __isSuspense?: never;
137
137
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
138
- theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
139
- default: "" | "info" | "success" | "danger" | "warning";
138
+ theme: import("vue-types").VueTypeDef<"" | "danger" | "success" | "warning" | "info"> & {
139
+ default: "" | "danger" | "success" | "warning" | "info";
140
140
  };
141
141
  closable: import("vue-types").VueTypeValidableDef<boolean> & {
142
142
  default: boolean;
@@ -174,7 +174,7 @@ declare const BkTag: {
174
174
  resolveClassName: (cls: string) => string;
175
175
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], "change" | "close", {
176
176
  type: "" | "stroke" | "filled";
177
- theme: "" | "info" | "success" | "danger" | "warning";
177
+ theme: "" | "danger" | "success" | "warning" | "info";
178
178
  closable: boolean;
179
179
  radius: string;
180
180
  checked: boolean;
package/lib/tag/tag.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { SlotsType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<{
3
- theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
4
- default: "" | "info" | "success" | "danger" | "warning";
3
+ theme: import("vue-types").VueTypeDef<"" | "danger" | "success" | "warning" | "info"> & {
4
+ default: "" | "danger" | "success" | "warning" | "info";
5
5
  };
6
6
  closable: import("vue-types").VueTypeValidableDef<boolean> & {
7
7
  default: boolean;
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<{
35
35
  handleClick: (e: Event) => void;
36
36
  resolveClassName: (cls: string) => string;
37
37
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], "change" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
38
- theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
39
- default: "" | "info" | "success" | "danger" | "warning";
38
+ theme: import("vue-types").VueTypeDef<"" | "danger" | "success" | "warning" | "info"> & {
39
+ default: "" | "danger" | "success" | "warning" | "info";
40
40
  };
41
41
  closable: import("vue-types").VueTypeValidableDef<boolean> & {
42
42
  default: boolean;
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<{
67
67
  onClose?: (...args: any[]) => any;
68
68
  }, {
69
69
  type: "" | "stroke" | "filled";
70
- theme: "" | "info" | "success" | "danger" | "warning";
70
+ theme: "" | "danger" | "success" | "warning" | "info";
71
71
  closable: boolean;
72
72
  radius: string;
73
73
  checked: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "2.0.1-beta.75",
3
+ "version": "2.0.1-beta.76",
4
4
  "workspaces": [
5
5
  "packages/**",
6
6
  "scripts/cli",