bkui-vue 1.0.3-beta.4 → 1.0.3-beta.40

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 (207) hide show
  1. package/dist/index.cjs.js +71 -71
  2. package/dist/index.esm.js +15481 -14247
  3. package/dist/index.umd.js +70 -70
  4. package/dist/locale/en.esm.js +1 -1
  5. package/dist/locale/en.esm.js.map +1 -1
  6. package/dist/locale/en.umd.js +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/zh-cn.esm.js +1 -1
  9. package/dist/locale/zh-cn.esm.js.map +1 -1
  10. package/dist/locale/zh-cn.umd.js +1 -1
  11. package/dist/locale/zh-cn.umd.js.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/style.variable.css +1 -1
  14. package/lib/affix/affix.variable.css +3 -0
  15. package/lib/alert/alert.variable.css +3 -0
  16. package/lib/backtop/backtop.variable.css +3 -0
  17. package/lib/badge/badge.variable.css +3 -0
  18. package/lib/breadcrumb/breadcrumb.variable.css +3 -0
  19. package/lib/button/button.variable.css +3 -0
  20. package/lib/card/card.variable.css +3 -0
  21. package/lib/cascader/cascader.variable.css +3 -0
  22. package/lib/checkbox/checkbox.variable.css +3 -0
  23. package/lib/code-diff/code-diff.variable.css +3 -0
  24. package/lib/collapse/collapse.variable.css +3 -0
  25. package/lib/collapse-transition/collapse-transition.variable.css +3 -0
  26. package/lib/color-picker/color-picker.variable.css +3 -0
  27. package/lib/components.js +0 -4
  28. package/lib/config-provider/config-provider.d.ts +3 -0
  29. package/lib/config-provider/config-provider.variable.css +3 -0
  30. package/lib/config-provider/index.d.ts +4 -0
  31. package/lib/config-provider/token.d.ts +1 -0
  32. package/lib/container/container.variable.css +3 -0
  33. package/lib/date-picker/base/month-table.d.ts +2 -2
  34. package/lib/date-picker/date-picker.d.ts +1 -0
  35. package/lib/date-picker/date-picker.variable.css +3 -0
  36. package/lib/date-picker/index.d.ts +3 -0
  37. package/lib/date-picker/index.js +69 -31
  38. package/lib/date-picker/interface.d.ts +1 -1
  39. package/lib/date-picker/time-picker.d.ts +1 -0
  40. package/lib/date-picker/utils.d.ts +4 -0
  41. package/lib/dialog/dialog.css +28 -31
  42. package/lib/dialog/dialog.d.ts +11 -0
  43. package/lib/dialog/dialog.less +18 -17
  44. package/lib/dialog/dialog.variable.css +31 -31
  45. package/lib/dialog/index.d.ts +23 -0
  46. package/lib/dialog/index.js +15 -9
  47. package/lib/dialog/props.d.ts +5 -0
  48. package/lib/dist.index.js +0 -1
  49. package/lib/divider/divider.variable.css +3 -0
  50. package/lib/dropdown/dropdown.css +3 -1
  51. package/lib/dropdown/dropdown.variable.css +6 -1
  52. package/lib/exception/exception.variable.css +3 -0
  53. package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
  54. package/lib/form/form.variable.css +3 -0
  55. package/lib/hooks.js +1 -8
  56. package/lib/icon/image-fill.js +82 -167
  57. package/lib/icon/img-error.js +82 -167
  58. package/lib/icon/img-placehoulder.js +82 -167
  59. package/lib/icon/index.d.ts +1 -0
  60. package/lib/icon/index.js +87 -2427
  61. package/lib/icon/info-line.js +82 -167
  62. package/lib/icon/info.js +82 -167
  63. package/lib/icon/left-shape.js +82 -167
  64. package/lib/icon/left-turn-line.js +82 -167
  65. package/lib/icon/loading.js +82 -167
  66. package/lib/icon/narrow-line.js +82 -167
  67. package/lib/icon/original.js +82 -167
  68. package/lib/icon/pdf-fill.js +82 -167
  69. package/lib/icon/play-shape.js +82 -167
  70. package/lib/icon/plus.js +82 -167
  71. package/lib/icon/ppt-fill.js +82 -167
  72. package/lib/icon/qq.js +82 -167
  73. package/lib/icon/right-shape.js +82 -167
  74. package/lib/icon/right-turn-line.js +82 -167
  75. package/lib/icon/search.js +82 -167
  76. package/lib/icon/share.js +82 -167
  77. package/lib/icon/spinner.js +82 -167
  78. package/lib/icon/success.js +82 -167
  79. package/lib/icon/switcher-loading.js +82 -167
  80. package/lib/icon/text-all.d.ts +4 -0
  81. package/lib/icon/text-all.js +191 -0
  82. package/lib/icon/text-file.js +82 -167
  83. package/lib/icon/text-fill.js +82 -167
  84. package/lib/icon/transfer.js +82 -167
  85. package/lib/icon/tree-application-shape.js +82 -167
  86. package/lib/icon/unfull-screen.js +82 -167
  87. package/lib/icon/unvisible.js +82 -167
  88. package/lib/icon/up-shape.js +82 -167
  89. package/lib/icon/upload.js +82 -167
  90. package/lib/icon/video-fill.js +82 -167
  91. package/lib/icon/warn.js +82 -167
  92. package/lib/icon/weixin-pro.js +82 -167
  93. package/lib/icon/weixin.js +82 -167
  94. package/lib/image/image-viewer.variable.css +3 -0
  95. package/lib/image/image.variable.css +3 -0
  96. package/lib/image/index.js +5 -2
  97. package/lib/index.js +0 -1
  98. package/lib/info-box/index.js +40 -455
  99. package/lib/info-box/info-box.css +6 -11
  100. package/lib/info-box/info-box.d.ts +1 -1
  101. package/lib/info-box/info-box.less +6 -10
  102. package/lib/info-box/info-box.variable.css +9 -11
  103. package/lib/input/index.js +5 -0
  104. package/lib/input/input.variable.css +3 -0
  105. package/lib/link/link.variable.css +3 -0
  106. package/lib/loading/loading.variable.css +3 -0
  107. package/lib/locale/index.js +4 -2
  108. package/lib/locale/lang/en.d.ts +1 -0
  109. package/lib/menu/menu.variable.css +3 -0
  110. package/lib/menu/submenu.variable.css +3 -0
  111. package/lib/message/message.variable.css +3 -0
  112. package/lib/modal/index.d.ts +34 -6
  113. package/lib/modal/index.js +15 -15
  114. package/lib/modal/modal.css +10 -15
  115. package/lib/modal/modal.d.ts +13 -2
  116. package/lib/modal/modal.less +5 -5
  117. package/lib/modal/modal.variable.css +13 -15
  118. package/lib/modal/props.mixin.d.ts +5 -0
  119. package/lib/navigation/navigation.variable.css +3 -0
  120. package/lib/notify/notify.variable.css +3 -0
  121. package/lib/pagination/index.js +2 -1
  122. package/lib/pagination/pagination.variable.css +3 -0
  123. package/lib/plugin-popover/index.d.ts +1 -1
  124. package/lib/plugin-popover/index.js +55 -31
  125. package/lib/pop-confirm/pop-confirm.variable.css +3 -0
  126. package/lib/popover/content.d.ts +1 -1
  127. package/lib/popover/index.js +55 -31
  128. package/lib/popover/plugin-popover.d.ts +4 -1
  129. package/lib/popover/popover.css +3 -1
  130. package/lib/popover/popover.less +4 -1
  131. package/lib/popover/popover.variable.css +6 -1
  132. package/lib/preset.d.ts +2 -0
  133. package/lib/preset.js +14 -20
  134. package/lib/process/process.variable.css +3 -0
  135. package/lib/progress/progress.variable.css +3 -0
  136. package/lib/radio/radio.variable.css +3 -0
  137. package/lib/rate/rate.variable.css +3 -0
  138. package/lib/rate/star.variable.css +3 -0
  139. package/lib/resize-layout/resize-layout.variable.css +3 -0
  140. package/lib/search-select/search-select.variable.css +3 -0
  141. package/lib/select/index.d.ts +68 -6
  142. package/lib/select/index.js +1326 -68
  143. package/lib/select/option.d.ts +3 -1
  144. package/lib/select/pinyin/core.d.ts +14 -0
  145. package/lib/select/pinyin/dict.d.ts +34 -0
  146. package/lib/select/pinyin/index.d.ts +2 -0
  147. package/lib/select/select.css +36 -7
  148. package/lib/select/select.d.ts +28 -2
  149. package/lib/select/select.less +43 -13
  150. package/lib/select/select.variable.css +39 -7
  151. package/lib/select/type.d.ts +2 -3
  152. package/lib/shared/index.js +44 -3
  153. package/lib/shared/utils.d.ts +12 -0
  154. package/lib/sideslider/index.d.ts +29 -6
  155. package/lib/sideslider/index.js +5 -2
  156. package/lib/sideslider/sideslider.d.ts +13 -2
  157. package/lib/sideslider/sideslider.variable.css +3 -0
  158. package/lib/slider/slider.variable.css +3 -0
  159. package/lib/steps/steps.variable.css +3 -0
  160. package/lib/styles/mixins/animate.variable.css +3 -0
  161. package/lib/styles/mixins/popper.variable.css +3 -0
  162. package/lib/styles/mixins/scroll.variable.css +3 -0
  163. package/lib/styles/reset.css +1 -3
  164. package/lib/styles/reset.less +3 -6
  165. package/lib/styles/reset.variable.css +4 -3
  166. package/lib/styles/themes/themes.less +5 -0
  167. package/lib/swiper/swiper.variable.css +3 -0
  168. package/lib/switcher/switcher.variable.css +3 -0
  169. package/lib/tab/tab.variable.css +3 -0
  170. package/lib/table/cache.d.ts +11 -3
  171. package/lib/table/components/table-column.d.ts +111 -5
  172. package/lib/table/index.d.ts +66 -5
  173. package/lib/table/index.js +857 -561
  174. package/lib/table/plugins/head-filter.variable.css +3 -0
  175. package/lib/table/plugins/head-sort.d.ts +7 -0
  176. package/lib/table/plugins/head-sort.variable.css +3 -0
  177. package/lib/table/plugins/settings.variable.css +3 -0
  178. package/lib/table/plugins/use-draggable.d.ts +2 -2
  179. package/lib/table/plugins/use-observer-resize.d.ts +5 -0
  180. package/lib/table/props.d.ts +15 -4
  181. package/lib/table/table.css +6 -12
  182. package/lib/table/table.d.ts +7 -0
  183. package/lib/table/table.less +12 -9
  184. package/lib/table/table.variable.css +9 -12
  185. package/lib/table/use-attributes.d.ts +5 -43
  186. package/lib/table/utils.d.ts +5 -4
  187. package/lib/table-column/index.d.ts +235 -119
  188. package/lib/table-column/index.js +221 -30
  189. package/lib/tag/tag.variable.css +3 -0
  190. package/lib/tag-input/index.d.ts +4 -4
  191. package/lib/tag-input/tag-input.d.ts +2 -2
  192. package/lib/tag-input/tag-input.variable.css +3 -0
  193. package/lib/tag-input/tag-props.d.ts +1 -1
  194. package/lib/tag-input/tag-render.d.ts +1 -1
  195. package/lib/time-picker/index.d.ts +38 -35
  196. package/lib/time-picker/time-picker.variable.css +3 -0
  197. package/lib/timeline/index.d.ts +73 -44
  198. package/lib/timeline/index.js +45 -63
  199. package/lib/timeline/timeline.d.ts +42 -29
  200. package/lib/timeline/timeline.variable.css +3 -0
  201. package/lib/transfer/transfer.variable.css +3 -0
  202. package/lib/tree/tree.variable.css +3 -0
  203. package/lib/upload/upload.variable.css +3 -0
  204. package/lib/virtual-render/index.d.ts +9 -9
  205. package/lib/virtual-render/virtual-render.d.ts +3 -3
  206. package/lib/virtual-render/virtual-render.variable.css +3 -0
  207. package/package.json +3 -2
@@ -48,7 +48,7 @@ function _typeof(o) {
48
48
  ;// CONCATENATED MODULE: external "vue"
49
49
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
50
50
  var external_vue_y = x => () => x
51
- const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
51
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["shallowRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
52
52
  ;// CONCATENATED MODULE: external "../config-provider"
53
53
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
54
54
  var config_provider_y = x => () => x
@@ -85,9 +85,17 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
85
85
 
86
86
 
87
87
  var timelineProps = {
88
- list: shared_namespaceObject.PropTypes.array.def([]),
89
- titleAble: shared_namespaceObject.PropTypes.bool.def(false),
90
- extCls: shared_namespaceObject.PropTypes.string
88
+ list: shared_namespaceObject.PropTypes.arrayOf(shared_namespaceObject.PropTypes.shape({
89
+ tag: String,
90
+ content: String,
91
+ type: String,
92
+ size: String,
93
+ color: String,
94
+ icon: Function,
95
+ filled: Boolean,
96
+ border: Boolean
97
+ }).isRequired),
98
+ titleAble: shared_namespaceObject.PropTypes.bool.def(false)
91
99
  };
92
100
  /* harmony default export */ const timeline = ((0,external_vue_namespaceObject.defineComponent)({
93
101
  name: 'Timeline',
@@ -95,61 +103,35 @@ var timelineProps = {
95
103
  emits: ['select'],
96
104
  setup: function setup(props, _ref) {
97
105
  var emit = _ref.emit;
98
- var defaultTimelines = (0,external_vue_namespaceObject.ref)([]);
99
- var updateTimelines = function updateTimelines(timelines) {
100
- var _defaultTimelines$val;
101
- var defaults = [];
102
- timelines.forEach(function (timeline) {
103
- var _timeline$border;
104
- defaults.push({
105
- tag: timeline.tag,
106
- content: timeline.content,
107
- type: timeline.type,
108
- size: timeline.size,
109
- color: timeline.color,
110
- icon: timeline.icon,
111
- filled: timeline.filled,
112
- border: (_timeline$border = timeline.border) !== null && _timeline$border !== void 0 ? _timeline$border : true
113
- });
114
- });
115
- (_defaultTimelines$val = defaultTimelines.value).splice.apply(_defaultTimelines$val, [0, defaultTimelines.value.length].concat(defaults));
116
- };
117
- var init = function init() {
118
- var _defaultTimelines$val2, _props$list;
119
- (_defaultTimelines$val2 = defaultTimelines.value).splice.apply(_defaultTimelines$val2, [0, defaultTimelines.value.length].concat([{
120
- tag: '步骤1',
121
- content: '内容1'
122
- }, {
123
- tag: '步骤2',
124
- content: '内容2'
125
- }, {
126
- tag: '步骤3',
127
- content: '内容3'
128
- }]));
129
- if ((_props$list = props.list) !== null && _props$list !== void 0 && _props$list.length) {
130
- updateTimelines(props.list);
131
- }
132
- };
133
- var titleSelect = function titleSelect(item) {
134
- try {
135
- emit('select', item);
136
- } catch (e) {
137
- console.warn(e);
138
- }
106
+ var defaultTimelines = (0,external_vue_namespaceObject.shallowRef)([]);
107
+ var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
108
+ resolveClassName = _usePrefix.resolveClassName;
109
+ var handleTitleSelect = function handleTitleSelect(item) {
110
+ emit('select', item);
139
111
  };
140
- (0,external_vue_namespaceObject.onMounted)(init);
141
112
  (0,external_vue_namespaceObject.watch)(function () {
142
113
  return props.list;
143
114
  }, function () {
144
- updateTimelines(props.list);
115
+ defaultTimelines.value = props.list.map(function (item) {
116
+ var _item$border;
117
+ return {
118
+ tag: item.tag,
119
+ content: item.content,
120
+ type: item.type,
121
+ size: item.size,
122
+ color: item.color,
123
+ icon: item.icon,
124
+ filled: item.filled,
125
+ border: (_item$border = item.border) !== null && _item$border !== void 0 ? _item$border : true
126
+ };
127
+ });
145
128
  }, {
129
+ immediate: true,
146
130
  deep: true
147
131
  });
148
- var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
149
- resolveClassName = _usePrefix.resolveClassName;
150
132
  return {
151
133
  defaultTimelines: defaultTimelines,
152
- titleSelect: titleSelect,
134
+ handleTitleSelect: handleTitleSelect,
153
135
  resolveClassName: resolveClassName
154
136
  };
155
137
  },
@@ -157,10 +139,7 @@ var timelineProps = {
157
139
  var _this = this;
158
140
  var isIcon = function isIcon(timeline) {
159
141
  var icon = timeline.icon;
160
- if (icon) {
161
- return _typeof(icon) === 'object' || typeof icon === 'function';
162
- }
163
- return false;
142
+ return _typeof(icon) === 'object' || typeof icon === 'function';
164
143
  };
165
144
  var makeClass = function makeClass(item) {
166
145
  var timelineClsPrefix = _this.resolveClassName('timeline');
@@ -173,21 +152,24 @@ var timelineProps = {
173
152
  var timelinesCls = (0,shared_namespaceObject.classes)({}, "".concat(timelineClsPrefix, " ").concat(timelineThemeCls, " ").concat(timelineSizeCls, " ").concat(timelinesColorsCls, " ").concat(timelineFilledCls, " ").concat(timelineCustomIcon));
174
153
  return timelinesCls;
175
154
  };
176
- var getContent = function getContent(item) {
177
- return _this.$slots.content ? (0,external_vue_namespaceObject.createVNode)("div", {
178
- "class": "".concat(_this.resolveClassName('timeline-content'))
179
- }, [_this.$slots.content(item)]) : (0,external_vue_namespaceObject.createVNode)("div", {
155
+ var renderContent = function renderContent(item) {
156
+ if (_this.$slots.content) {
157
+ return (0,external_vue_namespaceObject.createVNode)("div", {
158
+ "class": "".concat(_this.resolveClassName('timeline-content'))
159
+ }, [_this.$slots.content(item)]);
160
+ }
161
+ return (0,external_vue_namespaceObject.createVNode)("div", {
180
162
  "class": "".concat(_this.resolveClassName('timeline-content')),
181
163
  "innerHTML": item.content
182
164
  }, null);
183
165
  };
184
166
  return (0,external_vue_namespaceObject.createVNode)("ul", {
185
- "class": ["".concat(this.resolveClassName('timeline')), this.extCls]
167
+ "class": this.resolveClassName('timeline')
186
168
  }, [this.defaultTimelines.map(function (item) {
187
169
  var _this$$slots$default, _this$$slots$default2, _this$$slots;
188
170
  return (0,external_vue_namespaceObject.createVNode)("li", {
189
171
  "class": ["".concat(_this.resolveClassName('timeline-dot')), makeClass(item)]
190
- }, [isIcon(item) ? (0,external_vue_namespaceObject.createVNode)("div", {
172
+ }, [isIcon(item) && (0,external_vue_namespaceObject.createVNode)("div", {
191
173
  "class": "".concat(_this.resolveClassName('timeline-icon')),
192
174
  "style": {
193
175
  border: item.border ? "2px solid ".concat(item.color) : '0px',
@@ -195,16 +177,16 @@ var timelineProps = {
195
177
  }
196
178
  }, [(0,external_vue_namespaceObject.createVNode)("span", {
197
179
  "class": "".concat(_this.resolveClassName('timeline-icon-inner'))
198
- }, [typeof item.icon === 'function' ? (0,external_vue_namespaceObject.createVNode)(item.icon, null, null) : item.icon])]) : '', (0,external_vue_namespaceObject.createVNode)("div", {
180
+ }, [typeof item.icon === 'function' ? (0,external_vue_namespaceObject.createVNode)(item.icon, null, null) : item.icon])]), (0,external_vue_namespaceObject.createVNode)("div", {
199
181
  "class": "".concat(_this.resolveClassName('timeline-section'))
200
182
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
201
183
  "class": "".concat(_this.resolveClassName('timeline-title')),
202
184
  "onClick": function onClick() {
203
- _this.titleSelect(item);
185
+ return _this.handleTitleSelect(item);
204
186
  }
205
187
  }, [(_this$$slots$default = (_this$$slots$default2 = (_this$$slots = _this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots, item)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : (0,external_vue_namespaceObject.createVNode)("span", {
206
188
  "innerHTML": item.tag
207
- }, null)]), item.content ? getContent(item) : ''])]);
189
+ }, null)]), renderContent(item)])]);
208
190
  })]);
209
191
  }
210
192
  }));
@@ -25,58 +25,71 @@
25
25
  */
26
26
  import { ExtractPropTypes } from 'vue';
27
27
  declare const timelineProps: {
28
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
29
- default: () => unknown[];
30
- } & {
31
- default: () => unknown[];
32
- };
28
+ list: import("vue-types").VueTypeDef<{
29
+ tag: string;
30
+ content: string;
31
+ type: string;
32
+ size: string;
33
+ color: string;
34
+ icon: Function;
35
+ filled: boolean;
36
+ border: boolean;
37
+ }[]>;
33
38
  titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
34
39
  default: boolean;
35
40
  } & {
36
41
  default: boolean;
37
42
  };
38
- extCls: import("vue-types").VueTypeValidableDef<string> & {
39
- default: string;
40
- };
41
43
  };
42
- export type TimelinePropTypes = ExtractPropTypes<typeof timelineProps>;
44
+ export type TimelinePropTypes = Readonly<ExtractPropTypes<typeof timelineProps>>;
43
45
  declare const _default: import("vue").DefineComponent<{
44
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
45
- default: () => unknown[];
46
- } & {
47
- default: () => unknown[];
48
- };
46
+ list: import("vue-types").VueTypeDef<{
47
+ tag: string;
48
+ content: string;
49
+ type: string;
50
+ size: string;
51
+ color: string;
52
+ icon: Function;
53
+ filled: boolean;
54
+ border: boolean;
55
+ }[]>;
49
56
  titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
50
57
  default: boolean;
51
58
  } & {
52
59
  default: boolean;
53
60
  };
54
- extCls: import("vue-types").VueTypeValidableDef<string> & {
55
- default: string;
56
- };
57
61
  }, {
58
- defaultTimelines: import("vue").Ref<any[]>;
59
- titleSelect: (item: any) => void;
62
+ defaultTimelines: import("vue").ShallowRef<{
63
+ tag: string;
64
+ content: string;
65
+ type: string;
66
+ size: string;
67
+ color: string;
68
+ icon: Function;
69
+ filled: boolean;
70
+ border: boolean;
71
+ }[]>;
72
+ handleTitleSelect: (item: any) => void;
60
73
  resolveClassName: (cls: string) => string;
61
74
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
62
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
63
- default: () => unknown[];
64
- } & {
65
- default: () => unknown[];
66
- };
75
+ list: import("vue-types").VueTypeDef<{
76
+ tag: string;
77
+ content: string;
78
+ type: string;
79
+ size: string;
80
+ color: string;
81
+ icon: Function;
82
+ filled: boolean;
83
+ border: boolean;
84
+ }[]>;
67
85
  titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
68
86
  default: boolean;
69
87
  } & {
70
88
  default: boolean;
71
89
  };
72
- extCls: import("vue-types").VueTypeValidableDef<string> & {
73
- default: string;
74
- };
75
90
  }>> & {
76
91
  onSelect?: (...args: any[]) => any;
77
92
  }, {
78
- extCls: string;
79
- list: unknown[];
80
93
  titleAble: boolean;
81
94
  }, {}>;
82
95
  export default _default;
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  * {
128
131
  box-sizing: border-box;
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  .bk-transfer {
128
131
  display: flex;
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  .bk-F-scroll-x {
128
131
  overflow-x: auto;
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  @keyframes loading-scale-animate {
128
131
  0% {
@@ -275,6 +275,9 @@ declare const BkVirtualRender: {
275
275
  width: string | number;
276
276
  height: string | number;
277
277
  maxHeight: number;
278
+ contentClassName: string | {
279
+ [key: string]: any;
280
+ };
278
281
  enabled: boolean;
279
282
  list: unknown[];
280
283
  minHeight: number;
@@ -284,9 +287,6 @@ declare const BkVirtualRender: {
284
287
  };
285
288
  lineHeight: any;
286
289
  scrollEvent: boolean;
287
- contentClassName: string | {
288
- [key: string]: any;
289
- };
290
290
  contentStyle: {
291
291
  [key: string]: any;
292
292
  };
@@ -456,6 +456,9 @@ declare const BkVirtualRender: {
456
456
  width: string | number;
457
457
  height: string | number;
458
458
  maxHeight: number;
459
+ contentClassName: string | {
460
+ [key: string]: any;
461
+ };
459
462
  enabled: boolean;
460
463
  list: unknown[];
461
464
  minHeight: number;
@@ -465,9 +468,6 @@ declare const BkVirtualRender: {
465
468
  };
466
469
  lineHeight: any;
467
470
  scrollEvent: boolean;
468
- contentClassName: string | {
469
- [key: string]: any;
470
- };
471
471
  contentStyle: {
472
472
  [key: string]: any;
473
473
  };
@@ -629,6 +629,9 @@ declare const BkVirtualRender: {
629
629
  width: string | number;
630
630
  height: string | number;
631
631
  maxHeight: number;
632
+ contentClassName: string | {
633
+ [key: string]: any;
634
+ };
632
635
  enabled: boolean;
633
636
  list: unknown[];
634
637
  minHeight: number;
@@ -638,9 +641,6 @@ declare const BkVirtualRender: {
638
641
  };
639
642
  lineHeight: any;
640
643
  scrollEvent: boolean;
641
- contentClassName: string | {
642
- [key: string]: any;
643
- };
644
644
  contentStyle: {
645
645
  [key: string]: any;
646
646
  };
@@ -278,6 +278,9 @@ declare const _default: import("vue").DefineComponent<{
278
278
  width: string | number;
279
279
  height: string | number;
280
280
  maxHeight: number;
281
+ contentClassName: string | {
282
+ [key: string]: any;
283
+ };
281
284
  enabled: boolean;
282
285
  list: unknown[];
283
286
  minHeight: number;
@@ -287,9 +290,6 @@ declare const _default: import("vue").DefineComponent<{
287
290
  };
288
291
  lineHeight: any;
289
292
  scrollEvent: boolean;
290
- contentClassName: string | {
291
- [key: string]: any;
292
- };
293
293
  contentStyle: {
294
294
  [key: string]: any;
295
295
  };
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  .bk-F-scroll-x {
128
131
  overflow-x: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "1.0.3-beta.4",
3
+ "version": "1.0.3-beta.40",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",
@@ -34,7 +34,8 @@
34
34
  "build": "run-s build:dist build:lib",
35
35
  "build:site": "lerna run --stream --scope site build && cp -r ./site/views/ ./site/dist/views",
36
36
  "build:dist": "rimraf dist && lerna run --stream --scope cli dist",
37
- "build:lib": "rimraf lib && lerna run --stream --scope cli lib",
37
+ "build:lib": "npm run build:preset && rimraf lib && lerna run --stream --scope cli lib && rimraf preset",
38
+ "build:preset": "rimraf preset && lerna run --stream --scope cli preset",
38
39
  "help:release": "lerna run --stream --scope cli release",
39
40
  "release": "yarn build && yarn help:release",
40
41
  "analyze:lib": "rimraf lib && lerna run --stream --scope cli lib -- -a",