bkui-vue 0.0.1-beta.128 → 0.0.1-beta.129

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 (139) hide show
  1. package/dist/index.cjs.js +145 -31
  2. package/dist/index.esm.js +3573 -471
  3. package/dist/index.umd.js +145 -31
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/affix.variable.css +2 -2
  7. package/lib/affix/index.d.ts +118 -22
  8. package/lib/alert/alert.variable.css +2 -2
  9. package/lib/alert/index.d.ts +146 -28
  10. package/lib/animate-number/index.d.ts +84 -14
  11. package/lib/backtop/backtop.variable.css +2 -2
  12. package/lib/backtop/index.d.ts +135 -29
  13. package/lib/badge/badge.variable.css +2 -2
  14. package/lib/badge/index.d.ts +211 -46
  15. package/lib/breadcrumb/breadcrumb.css +43 -0
  16. package/lib/breadcrumb/breadcrumb.variable.css +45 -2
  17. package/lib/button/button.css +4 -0
  18. package/lib/button/button.less +13 -7
  19. package/lib/button/button.variable.css +6 -2
  20. package/lib/card/card.css +43 -0
  21. package/lib/card/card.variable.css +45 -2
  22. package/lib/card/index.d.ts +223 -50
  23. package/lib/cascader/cascader.variable.css +2 -2
  24. package/lib/checkbox/checkbox.css +4 -2
  25. package/lib/checkbox/checkbox.less +4 -2
  26. package/lib/checkbox/checkbox.variable.css +6 -4
  27. package/lib/code-diff/code-diff.variable.css +2 -2
  28. package/lib/code-diff/index.d.ts +123 -23
  29. package/lib/collapse/collapse.variable.css +2 -2
  30. package/lib/collapse/index.d.ts +147 -28
  31. package/lib/components.d.ts +1 -0
  32. package/lib/components.js +1 -1
  33. package/lib/container/container.css +43 -0
  34. package/lib/container/container.variable.css +45 -2
  35. package/lib/date-picker/date-picker.variable.css +2 -2
  36. package/lib/date-picker/index.d.ts +566 -124
  37. package/lib/dialog/index.d.ts +557 -140
  38. package/lib/divider/divider.variable.css +2 -2
  39. package/lib/divider/index.d.ts +117 -23
  40. package/lib/dropdown/dropdown.variable.css +2 -2
  41. package/lib/exception/exception.variable.css +2 -2
  42. package/lib/exception/index.d.ts +83 -13
  43. package/lib/fixed-navbar/fixed-navbar.variable.css +2 -2
  44. package/lib/fixed-navbar/index.d.ts +121 -22
  45. package/lib/form/form.variable.css +2 -2
  46. package/lib/input/index.d.ts +408 -92
  47. package/lib/input/index.js +1 -1
  48. package/lib/input/input.css +56 -5
  49. package/lib/input/input.less +12 -2
  50. package/lib/input/input.variable.css +55 -4
  51. package/lib/link/index.d.ts +134 -28
  52. package/lib/link/link.variable.css +2 -2
  53. package/lib/loading/loading.css +43 -2
  54. package/lib/loading/loading.less +2 -2
  55. package/lib/loading/loading.variable.css +45 -4
  56. package/lib/menu/menu.css +43 -0
  57. package/lib/menu/menu.variable.css +45 -2
  58. package/lib/menu/submenu.variable.css +2 -2
  59. package/lib/message/message.variable.css +2 -2
  60. package/lib/navigation/index.d.ts +244 -51
  61. package/lib/navigation/navigation.variable.css +2 -2
  62. package/lib/notify/notify.variable.css +2 -2
  63. package/lib/pagination/index.d.ts +305 -68
  64. package/lib/pagination/pagination.variable.css +2 -2
  65. package/lib/popover/index.d.ts +298 -76
  66. package/lib/popover/popover.variable.css +2 -2
  67. package/lib/popover2/index.d.ts +378 -92
  68. package/lib/popover2/index.js +1 -1
  69. package/lib/popover2/popover2.variable.css +2 -2
  70. package/lib/popover2/use-platform.d.ts +30 -0
  71. package/lib/process/index.d.ts +166 -35
  72. package/lib/process/process.variable.css +2 -2
  73. package/lib/progress/index.d.ts +306 -76
  74. package/lib/progress/progress.css +43 -0
  75. package/lib/progress/progress.variable.css +45 -2
  76. package/lib/radio/index.d.ts +2 -2
  77. package/lib/radio/index.js +1 -1
  78. package/lib/radio/radio-button.d.ts +3 -4
  79. package/lib/radio/radio.css +4 -5
  80. package/lib/radio/radio.less +4 -5
  81. package/lib/radio/radio.variable.css +6 -7
  82. package/lib/rate/index.d.ts +96 -15
  83. package/lib/resize-layout/index.d.ts +261 -52
  84. package/lib/resize-layout/resize-layout.variable.css +2 -2
  85. package/lib/select/select.css +26 -24
  86. package/lib/select/select.less +132 -122
  87. package/lib/select/select.variable.css +28 -26
  88. package/lib/shared/index.d.ts +3 -3
  89. package/lib/sideslider/index.d.ts +369 -91
  90. package/lib/sideslider/sideslider.variable.css +2 -2
  91. package/lib/slider/index.d.ts +319 -78
  92. package/lib/slider/slider.variable.css +2 -2
  93. package/lib/steps/index.d.ts +198 -43
  94. package/lib/steps/steps.variable.css +2 -2
  95. package/lib/styles/mixins/mixins.css +43 -0
  96. package/lib/styles/mixins/mixins.less +1 -0
  97. package/lib/styles/mixins/mixins.variable.css +43 -0
  98. package/lib/styles/mixins/scroll.variable.css +2 -2
  99. package/lib/styles/themes/themes.less +2 -2
  100. package/lib/swiper/index.d.ts +146 -30
  101. package/lib/switcher/index.d.ts +223 -50
  102. package/lib/switcher/switcher.css +43 -0
  103. package/lib/switcher/switcher.variable.css +45 -2
  104. package/lib/tab/tab.variable.css +2 -2
  105. package/lib/table/const.d.ts +5 -0
  106. package/lib/table/index.d.ts +419 -101
  107. package/lib/table/index.js +1 -1
  108. package/lib/table/plugins/head-filter.variable.css +2 -2
  109. package/lib/table/plugins/head-sort.variable.css +2 -2
  110. package/lib/table/plugins/settings.css +23 -4
  111. package/lib/table/plugins/settings.less +25 -4
  112. package/lib/table/plugins/settings.variable.css +25 -6
  113. package/lib/table/props.d.ts +1 -0
  114. package/lib/table/table.css +668 -5
  115. package/lib/table/table.less +7 -1
  116. package/lib/table/table.variable.css +670 -7
  117. package/lib/table/use-common.d.ts +16 -1
  118. package/lib/table/utils.d.ts +1 -1
  119. package/lib/tag/index.d.ts +183 -38
  120. package/lib/tag/tag.variable.css +2 -2
  121. package/lib/tag-input/index.d.ts +666 -145
  122. package/lib/tag-input/tag-input.variable.css +2 -2
  123. package/lib/timeline/index.d.ts +109 -19
  124. package/lib/timeline/timeline.variable.css +2 -2
  125. package/lib/transfer/index.d.ts +264 -59
  126. package/lib/transfer/transfer.variable.css +2 -2
  127. package/lib/tree/index.d.ts +401 -103
  128. package/lib/tree/index.js +1 -1
  129. package/lib/tree/tree.css +107 -0
  130. package/lib/tree/tree.less +2 -0
  131. package/lib/tree/tree.variable.css +109 -2
  132. package/lib/tree/use-node-action.d.ts +1 -1
  133. package/lib/tree/use-node-attribute.d.ts +1 -0
  134. package/lib/upload/upload.css +43 -0
  135. package/lib/upload/upload.variable.css +45 -2
  136. package/lib/virtual-render/index.d.ts +433 -109
  137. package/lib/virtual-render/virtual-render.variable.css +2 -2
  138. package/package.json +1 -1
  139. package/lib/table/plugins/head-filter.css +0 -68
@@ -23,83 +23,322 @@
23
23
  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24
24
  * IN THE SOFTWARE.
25
25
  */
26
- declare const Slider: import("vue").DefineComponent<{
27
- modelValue: import("vue-types").VueTypeDef<number | unknown[]>;
28
- extCls: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- vertical: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- height: {
37
- type: StringConstructor;
38
- default: string;
39
- };
40
- disable: {
41
- type: BooleanConstructor;
42
- default: boolean;
43
- };
44
- showTip: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- maxValue: {
49
- type: NumberConstructor[];
50
- default: number;
51
- };
52
- minValue: {
53
- type: NumberConstructor[];
54
- default: number;
55
- };
56
- step: {
57
- type: NumberConstructor[];
58
- default: number;
59
- };
60
- range: {
61
- type: BooleanConstructor;
62
- default: boolean;
63
- };
64
- showInterval: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- showIntervalLabel: {
69
- type: BooleanConstructor;
70
- default: boolean;
71
- };
72
- showButtonLabel: {
73
- type: BooleanConstructor;
74
- default: boolean;
75
- };
76
- showBetweenLabel: {
77
- type: BooleanConstructor;
78
- default: boolean;
79
- };
80
- showInput: {
81
- type: BooleanConstructor;
82
- default: boolean;
83
- };
84
- customContent: {
85
- type: ObjectConstructor;
86
- default: any;
87
- };
88
- formatterLabel: {
89
- type: FunctionConstructor;
90
- default: (value: number) => number;
91
- };
92
- formatterButtonLabel: {
93
- type: FunctionConstructor;
94
- default: (value: number) => number;
95
- };
96
- formatterTipLabel: {
97
- type: FunctionConstructor;
98
- default: (value: number) => number;
99
- };
100
- }, {
101
- renderDom: () => JSX.Element;
102
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
+ declare const Slider: {
27
+ new (...args: any[]): {
28
+ $: import("vue").ComponentInternalInstance;
29
+ $data: {};
30
+ $props: Partial<{
31
+ extCls: string;
32
+ height: string;
33
+ step: number;
34
+ vertical: boolean;
35
+ range: boolean;
36
+ showInput: boolean;
37
+ customContent: Record<string, any>;
38
+ disable: boolean;
39
+ showTip: boolean;
40
+ maxValue: number;
41
+ minValue: number;
42
+ showInterval: boolean;
43
+ showIntervalLabel: boolean;
44
+ showButtonLabel: boolean;
45
+ showBetweenLabel: boolean;
46
+ formatterLabel: Function;
47
+ formatterButtonLabel: Function;
48
+ formatterTipLabel: Function;
49
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
50
+ modelValue: import("vue-types").VueTypeDef<number | unknown[]>;
51
+ extCls: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ vertical: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ height: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ disable: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ showTip: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ maxValue: {
72
+ type: NumberConstructor[];
73
+ default: number;
74
+ };
75
+ minValue: {
76
+ type: NumberConstructor[];
77
+ default: number;
78
+ };
79
+ step: {
80
+ type: NumberConstructor[];
81
+ default: number;
82
+ };
83
+ range: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ showInterval: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ showIntervalLabel: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
95
+ showButtonLabel: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ showBetweenLabel: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ showInput: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ customContent: {
108
+ type: ObjectConstructor;
109
+ default: any;
110
+ };
111
+ formatterLabel: {
112
+ type: FunctionConstructor;
113
+ default: (value: number) => number;
114
+ };
115
+ formatterButtonLabel: {
116
+ type: FunctionConstructor;
117
+ default: (value: number) => number;
118
+ };
119
+ formatterTipLabel: {
120
+ type: FunctionConstructor;
121
+ default: (value: number) => number;
122
+ };
123
+ }>> & {
124
+ onChange?: (...args: any[]) => any;
125
+ "onUpdate:modelValue"?: (...args: any[]) => any;
126
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "extCls" | "height" | "step" | "vertical" | "range" | "showInput" | "customContent" | "disable" | "showTip" | "maxValue" | "minValue" | "showInterval" | "showIntervalLabel" | "showButtonLabel" | "showBetweenLabel" | "formatterLabel" | "formatterButtonLabel" | "formatterTipLabel">;
127
+ $attrs: {
128
+ [x: string]: unknown;
129
+ };
130
+ $refs: {
131
+ [x: string]: unknown;
132
+ };
133
+ $slots: Readonly<{
134
+ [name: string]: import("vue").Slot;
135
+ }>;
136
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
137
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
138
+ $emit: (event: "change" | "update:modelValue", ...args: any[]) => void;
139
+ $el: any;
140
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
141
+ modelValue: import("vue-types").VueTypeDef<number | unknown[]>;
142
+ extCls: {
143
+ type: StringConstructor;
144
+ default: string;
145
+ };
146
+ vertical: {
147
+ type: BooleanConstructor;
148
+ default: boolean;
149
+ };
150
+ height: {
151
+ type: StringConstructor;
152
+ default: string;
153
+ };
154
+ disable: {
155
+ type: BooleanConstructor;
156
+ default: boolean;
157
+ };
158
+ showTip: {
159
+ type: BooleanConstructor;
160
+ default: boolean;
161
+ };
162
+ maxValue: {
163
+ type: NumberConstructor[];
164
+ default: number;
165
+ };
166
+ minValue: {
167
+ type: NumberConstructor[];
168
+ default: number;
169
+ };
170
+ step: {
171
+ type: NumberConstructor[];
172
+ default: number;
173
+ };
174
+ range: {
175
+ type: BooleanConstructor;
176
+ default: boolean;
177
+ };
178
+ showInterval: {
179
+ type: BooleanConstructor;
180
+ default: boolean;
181
+ };
182
+ showIntervalLabel: {
183
+ type: BooleanConstructor;
184
+ default: boolean;
185
+ };
186
+ showButtonLabel: {
187
+ type: BooleanConstructor;
188
+ default: boolean;
189
+ };
190
+ showBetweenLabel: {
191
+ type: BooleanConstructor;
192
+ default: boolean;
193
+ };
194
+ showInput: {
195
+ type: BooleanConstructor;
196
+ default: boolean;
197
+ };
198
+ customContent: {
199
+ type: ObjectConstructor;
200
+ default: any;
201
+ };
202
+ formatterLabel: {
203
+ type: FunctionConstructor;
204
+ default: (value: number) => number;
205
+ };
206
+ formatterButtonLabel: {
207
+ type: FunctionConstructor;
208
+ default: (value: number) => number;
209
+ };
210
+ formatterTipLabel: {
211
+ type: FunctionConstructor;
212
+ default: (value: number) => number;
213
+ };
214
+ }>> & {
215
+ onChange?: (...args: any[]) => any;
216
+ "onUpdate:modelValue"?: (...args: any[]) => any;
217
+ }, {
218
+ renderDom: () => JSX.Element;
219
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
220
+ extCls: string;
221
+ height: string;
222
+ step: number;
223
+ vertical: boolean;
224
+ range: boolean;
225
+ showInput: boolean;
226
+ customContent: Record<string, any>;
227
+ disable: boolean;
228
+ showTip: boolean;
229
+ maxValue: number;
230
+ minValue: number;
231
+ showInterval: boolean;
232
+ showIntervalLabel: boolean;
233
+ showButtonLabel: boolean;
234
+ showBetweenLabel: boolean;
235
+ formatterLabel: Function;
236
+ formatterButtonLabel: Function;
237
+ formatterTipLabel: Function;
238
+ }> & {
239
+ beforeCreate?: (() => void) | (() => void)[];
240
+ created?: (() => void) | (() => void)[];
241
+ beforeMount?: (() => void) | (() => void)[];
242
+ mounted?: (() => void) | (() => void)[];
243
+ beforeUpdate?: (() => void) | (() => void)[];
244
+ updated?: (() => void) | (() => void)[];
245
+ activated?: (() => void) | (() => void)[];
246
+ deactivated?: (() => void) | (() => void)[];
247
+ beforeDestroy?: (() => void) | (() => void)[];
248
+ beforeUnmount?: (() => void) | (() => void)[];
249
+ destroyed?: (() => void) | (() => void)[];
250
+ unmounted?: (() => void) | (() => void)[];
251
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
252
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
253
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
254
+ };
255
+ $forceUpdate: () => void;
256
+ $nextTick: typeof import("vue").nextTick;
257
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
258
+ } & Readonly<import("vue").ExtractPropTypes<{
259
+ modelValue: import("vue-types").VueTypeDef<number | unknown[]>;
260
+ extCls: {
261
+ type: StringConstructor;
262
+ default: string;
263
+ };
264
+ vertical: {
265
+ type: BooleanConstructor;
266
+ default: boolean;
267
+ };
268
+ height: {
269
+ type: StringConstructor;
270
+ default: string;
271
+ };
272
+ disable: {
273
+ type: BooleanConstructor;
274
+ default: boolean;
275
+ };
276
+ showTip: {
277
+ type: BooleanConstructor;
278
+ default: boolean;
279
+ };
280
+ maxValue: {
281
+ type: NumberConstructor[];
282
+ default: number;
283
+ };
284
+ minValue: {
285
+ type: NumberConstructor[];
286
+ default: number;
287
+ };
288
+ step: {
289
+ type: NumberConstructor[];
290
+ default: number;
291
+ };
292
+ range: {
293
+ type: BooleanConstructor;
294
+ default: boolean;
295
+ };
296
+ showInterval: {
297
+ type: BooleanConstructor;
298
+ default: boolean;
299
+ };
300
+ showIntervalLabel: {
301
+ type: BooleanConstructor;
302
+ default: boolean;
303
+ };
304
+ showButtonLabel: {
305
+ type: BooleanConstructor;
306
+ default: boolean;
307
+ };
308
+ showBetweenLabel: {
309
+ type: BooleanConstructor;
310
+ default: boolean;
311
+ };
312
+ showInput: {
313
+ type: BooleanConstructor;
314
+ default: boolean;
315
+ };
316
+ customContent: {
317
+ type: ObjectConstructor;
318
+ default: any;
319
+ };
320
+ formatterLabel: {
321
+ type: FunctionConstructor;
322
+ default: (value: number) => number;
323
+ };
324
+ formatterButtonLabel: {
325
+ type: FunctionConstructor;
326
+ default: (value: number) => number;
327
+ };
328
+ formatterTipLabel: {
329
+ type: FunctionConstructor;
330
+ default: (value: number) => number;
331
+ };
332
+ }>> & {
333
+ onChange?: (...args: any[]) => any;
334
+ "onUpdate:modelValue"?: (...args: any[]) => any;
335
+ } & import("vue").ShallowUnwrapRef<{
336
+ renderDom: () => JSX.Element;
337
+ }> & {} & {} & import("vue").ComponentCustomProperties;
338
+ __isFragment?: never;
339
+ __isTeleport?: never;
340
+ __isSuspense?: never;
341
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
103
342
  modelValue: import("vue-types").VueTypeDef<number | unknown[]>;
104
343
  extCls: {
105
344
  type: StringConstructor;
@@ -177,6 +416,8 @@ declare const Slider: import("vue").DefineComponent<{
177
416
  onChange?: (...args: any[]) => any;
178
417
  "onUpdate:modelValue"?: (...args: any[]) => any;
179
418
  }, {
419
+ renderDom: () => JSX.Element;
420
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
180
421
  extCls: string;
181
422
  height: string;
182
423
  step: number;
@@ -195,5 +436,5 @@ declare const Slider: import("vue").DefineComponent<{
195
436
  formatterLabel: Function;
196
437
  formatterButtonLabel: Function;
197
438
  formatterTipLabel: Function;
198
- }>;
439
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
199
440
  export default Slider;
@@ -19,7 +19,7 @@
19
19
  --line-height-large: 18px;
20
20
  --component-size-small: 26px;
21
21
  --component-size-base: 32px;
22
- --component-size-large: 38px;
22
+ --component-size-large: 40px;
23
23
  --border-width-base: 1px;
24
24
  --border-style-base: solid;
25
25
  --border-radius-base: 2px;
@@ -34,7 +34,7 @@
34
34
  --input-horizontal-padding: 10px;
35
35
  --input-block-color: #f5f7fa;
36
36
  --input-block-hover-color: #eaebf0;
37
- --input-icon-size: var(--font-size-large);
37
+ --input-icon-size: var(--font-size-medium);
38
38
  --input-maxlength-color: #979ba5;
39
39
  --button-primary-hover-color: #5594fa;
40
40
  --button-danger-hover-color: #ff5656;