bkui-vue 0.0.1-beta.16 → 0.0.1-beta.17

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 (153) hide show
  1. package/dist/bkui-vue.cjs.js +796 -139
  2. package/dist/bkui-vue.esm.js +841 -186
  3. package/dist/bkui-vue.umd.js +796 -139
  4. package/dist/style.css +287 -13
  5. package/lib/alert/alert.d.ts +24 -15
  6. package/lib/alert/alert.variable.css +6 -0
  7. package/lib/alert/index.d.ts +96 -60
  8. package/lib/animate-number/animate-number.d.ts +12 -7
  9. package/lib/animate-number/index.d.ts +48 -28
  10. package/lib/backtop/backtop.d.ts +27 -13
  11. package/lib/backtop/backtop.variable.css +6 -0
  12. package/lib/backtop/index.d.ts +108 -52
  13. package/lib/badge/badge.d.ts +40 -19
  14. package/lib/badge/badge.variable.css +6 -0
  15. package/lib/badge/index.d.ts +144 -76
  16. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  17. package/lib/breadcrumb/breadcrumb.d.ts +21 -13
  18. package/lib/breadcrumb/breadcrumb.variable.css +6 -0
  19. package/lib/breadcrumb/index.d.ts +97 -61
  20. package/lib/button/button-group.d.ts +3 -5
  21. package/lib/button/button.d.ts +27 -22
  22. package/lib/button/button.variable.css +6 -0
  23. package/lib/button/index.d.ts +111 -93
  24. package/lib/card/card.d.ts +30 -15
  25. package/lib/card/card.variable.css +6 -0
  26. package/lib/card/index.d.ts +120 -60
  27. package/lib/checkbox/checkbox-group.d.ts +13 -9
  28. package/lib/checkbox/checkbox.d.ts +31 -22
  29. package/lib/checkbox/checkbox.variable.css +6 -0
  30. package/lib/checkbox/index.d.ts +137 -97
  31. package/lib/collapse/collapse.d.ts +50 -18
  32. package/lib/collapse/index.d.ts +108 -72
  33. package/lib/components.d.ts +2 -0
  34. package/lib/date-picker/date-picker.d.ts +110 -63
  35. package/lib/date-picker/date-picker.variable.css +6 -0
  36. package/lib/date-picker/index.d.ts +437 -249
  37. package/lib/dialog/dialog.d.ts +44 -23
  38. package/lib/dialog/index.d.ts +176 -92
  39. package/lib/divider/divider.d.ts +21 -13
  40. package/lib/divider/divider.variable.css +6 -0
  41. package/lib/divider/index.d.ts +84 -52
  42. package/lib/dropdown/dropdown-item.d.ts +6 -5
  43. package/lib/dropdown/dropdown-menu.d.ts +6 -5
  44. package/lib/dropdown/dropdown.d.ts +25 -13
  45. package/lib/dropdown/dropdown.variable.css +6 -0
  46. package/lib/dropdown/index.d.ts +94 -62
  47. package/lib/exception/exception.d.ts +11 -9
  48. package/lib/exception/exception.variable.css +6 -0
  49. package/lib/exception/index.d.ts +44 -36
  50. package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
  51. package/lib/fixed-navbar/fixed-navbar.variable.css +6 -0
  52. package/lib/fixed-navbar/index.d.ts +60 -36
  53. package/lib/form/form-item.d.ts +46 -27
  54. package/lib/form/form.d.ts +21 -13
  55. package/lib/input/index.d.ts +240 -160
  56. package/lib/input/input.d.ts +60 -40
  57. package/lib/input/input.variable.css +6 -0
  58. package/lib/link/index.d.ts +100 -52
  59. package/lib/link/link.d.ts +25 -13
  60. package/lib/link/link.variable.css +6 -0
  61. package/lib/loading/index.d.ts +64 -64
  62. package/lib/loading/loading.d.ts +16 -16
  63. package/lib/loading/loading.variable.css +6 -0
  64. package/lib/menu/index.d.ts +90 -71
  65. package/lib/menu/menu-group.d.ts +6 -5
  66. package/lib/menu/menu-item.d.ts +6 -5
  67. package/lib/menu/menu.d.ts +18 -14
  68. package/lib/menu/menu.variable.css +6 -0
  69. package/lib/menu/submenu.d.ts +6 -5
  70. package/lib/menu/submenu.variable.css +6 -0
  71. package/lib/message/message.variable.css +6 -0
  72. package/lib/message/messageConstructor.d.ts +28 -16
  73. package/lib/modal/index.d.ts +88 -52
  74. package/lib/modal/modal.d.ts +22 -13
  75. package/lib/navigation/navigation-title.d.ts +10 -7
  76. package/lib/navigation/navigation.d.ts +40 -23
  77. package/lib/navigation/navigation.variable.css +6 -0
  78. package/lib/notify/notify.variable.css +6 -0
  79. package/lib/notify/notifyConstructor.d.ts +36 -20
  80. package/lib/popover/index.d.ts +207 -177
  81. package/lib/popover/popover.d.ts +52 -30
  82. package/lib/popover/popover.variable.css +6 -0
  83. package/lib/process/index.d.ts +120 -60
  84. package/lib/process/process.css +2 -3
  85. package/lib/process/process.d.ts +30 -15
  86. package/lib/process/process.less +2 -3
  87. package/lib/process/process.variable.css +8 -3
  88. package/lib/progress/index.d.ts +284 -136
  89. package/lib/progress/progress.d.ts +71 -34
  90. package/lib/progress/progress.variable.css +6 -0
  91. package/lib/radio/index.d.ts +127 -78
  92. package/lib/radio/radio-button.d.ts +24 -16
  93. package/lib/radio/radio-group.d.ts +11 -10
  94. package/lib/radio/radio.d.ts +23 -13
  95. package/lib/radio/radio.variable.css +6 -0
  96. package/lib/rate/index.d.ts +52 -40
  97. package/lib/rate/rate.d.ts +13 -10
  98. package/lib/rate/star.d.ts +32 -15
  99. package/lib/select/index.d.ts +396 -327
  100. package/lib/select/option.d.ts +9 -10
  101. package/lib/select/optionGroup.d.ts +49 -41
  102. package/lib/select/select.d.ts +98 -84
  103. package/lib/select/select.variable.css +6 -0
  104. package/lib/sideslider/index.d.ts +108 -60
  105. package/lib/sideslider/sideslider.d.ts +27 -15
  106. package/lib/sideslider/sideslider.variable.css +6 -0
  107. package/lib/slider/slider-button.d.ts +10 -7
  108. package/lib/slider/slider.d.ts +70 -40
  109. package/lib/slider/slider.variable.css +6 -0
  110. package/lib/steps/index.d.ts +156 -104
  111. package/lib/steps/steps.css +3 -0
  112. package/lib/steps/steps.d.ts +39 -26
  113. package/lib/steps/steps.less +4 -0
  114. package/lib/steps/steps.variable.css +9 -0
  115. package/lib/styles/index.d.ts +1 -0
  116. package/lib/styles/index.js +1 -1
  117. package/lib/styles/themes/themes.less +10 -0
  118. package/lib/switcher/index.d.ts +192 -128
  119. package/lib/switcher/switcher.d.ts +48 -32
  120. package/lib/switcher/switcher.variable.css +6 -0
  121. package/lib/tab/index.d.ts +344 -208
  122. package/lib/tab/tab-nav.d.ts +74 -38
  123. package/lib/tab/tab-panel.d.ts +22 -20
  124. package/lib/tab/tab.d.ts +64 -32
  125. package/lib/tab/tab.variable.css +6 -0
  126. package/lib/table/const.d.ts +4 -0
  127. package/lib/table/index.d.ts +154 -130
  128. package/lib/table/index.js +1 -1
  129. package/lib/table/props.d.ts +18 -0
  130. package/lib/table/render.d.ts +18 -2
  131. package/lib/table/table.css +47 -10
  132. package/lib/table/table.d.ts +47 -22
  133. package/lib/table/table.less +61 -17
  134. package/lib/table/table.variable.css +55 -12
  135. package/lib/table/utils.d.ts +26 -1
  136. package/lib/tag/index.d.ts +10 -286
  137. package/lib/tag/tag.d.ts +2 -48
  138. package/lib/tag/tag.variable.css +6 -0
  139. package/lib/timeline/index.d.ts +129 -0
  140. package/lib/timeline/index.js +1 -0
  141. package/lib/timeline/timeline.css +235 -0
  142. package/lib/timeline/timeline.d.ts +81 -0
  143. package/lib/timeline/timeline.less +239 -0
  144. package/lib/timeline/timeline.variable.css +327 -0
  145. package/lib/tree/index.d.ts +140 -75
  146. package/lib/tree/index.js +1 -1
  147. package/lib/tree/props.d.ts +19 -1
  148. package/lib/tree/tree.d.ts +42 -20
  149. package/lib/virtual-render/index.d.ts +406 -260
  150. package/lib/virtual-render/index.js +1 -1
  151. package/lib/virtual-render/props.d.ts +1 -0
  152. package/lib/virtual-render/virtual-render.d.ts +104 -43
  153. package/package.json +1 -1
@@ -4,103 +4,11 @@ declare const BkTag: {
4
4
  $data: {};
5
5
  $props: Partial<{
6
6
  [x: number]: string;
7
- } | {}> & Omit<({} & (Readonly<(readonly unknown[] & {
8
- [x: number]: string;
9
- } & {
10
- [Symbol.iterator]?: IterableIterator<string>;
11
- map?: <U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[];
12
- filter?: {
13
- <S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): S[];
14
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
15
- };
16
- length?: number;
17
- toString?: string;
18
- toLocaleString?: string;
19
- concat?: string[];
20
- join?: string;
21
- slice?: string[];
22
- indexOf?: (searchElement: string, fromIndex?: number) => number;
23
- lastIndexOf?: (searchElement: string, fromIndex?: number) => number;
24
- every?: {
25
- <S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): this is readonly S_1[];
26
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
27
- };
28
- some?: (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean;
29
- forEach?: (callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void;
30
- reduce?: {
31
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
32
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
33
- <U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
34
- };
35
- reduceRight?: {
36
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
37
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
38
- <U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
39
- };
40
- find?: {
41
- <S_2 extends string>(predicate: (this: void, value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2;
42
- (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string;
43
- };
44
- findIndex?: (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number;
45
- entries?: IterableIterator<[number, string]>;
46
- keys?: IterableIterator<number>;
47
- values?: IterableIterator<string>;
48
- includes?: (searchElement: string, fromIndex?: number) => boolean;
49
- flatMap?: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
50
- flat?: unknown[];
51
- }) | ({
52
- [x: string]: unknown;
53
- } & {} & {
7
+ } | {}> & Omit<(readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
54
8
  [x: string]: unknown;
55
- })> & {})) & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<(readonly unknown[] & {
56
- [x: number]: string;
57
- } & {
58
- [Symbol.iterator]?: IterableIterator<string>;
59
- map?: <U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[];
60
- filter?: {
61
- <S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): S[];
62
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
63
- };
64
- length?: number;
65
- toString?: string;
66
- toLocaleString?: string;
67
- concat?: string[];
68
- join?: string;
69
- slice?: string[];
70
- indexOf?: (searchElement: string, fromIndex?: number) => number;
71
- lastIndexOf?: (searchElement: string, fromIndex?: number) => number;
72
- every?: {
73
- <S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): this is readonly S_1[];
74
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
75
- };
76
- some?: (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean;
77
- forEach?: (callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void;
78
- reduce?: {
79
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
80
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
81
- <U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
82
- };
83
- reduceRight?: {
84
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
85
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
86
- <U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
87
- };
88
- find?: {
89
- <S_2 extends string>(predicate: (this: void, value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2;
90
- (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string;
91
- };
92
- findIndex?: (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number;
93
- entries?: IterableIterator<[number, string]>;
94
- keys?: IterableIterator<number>;
95
- values?: IterableIterator<string>;
96
- includes?: (searchElement: string, fromIndex?: number) => boolean;
97
- flatMap?: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
98
- flat?: unknown[];
99
- }) | ({
9
+ }>>>>) & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<readonly string[] | import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
100
10
  [x: string]: unknown;
101
- } & {} & {
102
- [x: string]: unknown;
103
- })> & {}), never>;
11
+ }>>>>), never>;
104
12
  $attrs: {
105
13
  [x: string]: unknown;
106
14
  };
@@ -114,55 +22,9 @@ declare const BkTag: {
114
22
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
115
23
  $emit: (event: string, ...args: any[]) => void;
116
24
  $el: any;
117
- $options: import("vue").ComponentOptionsBase<Readonly<(readonly unknown[] & {
118
- [x: number]: string;
119
- } & {
120
- [Symbol.iterator]?: IterableIterator<string>;
121
- map?: <U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[];
122
- filter?: {
123
- <S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): S[];
124
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
125
- };
126
- length?: number;
127
- toString?: string;
128
- toLocaleString?: string;
129
- concat?: string[];
130
- join?: string;
131
- slice?: string[];
132
- indexOf?: (searchElement: string, fromIndex?: number) => number;
133
- lastIndexOf?: (searchElement: string, fromIndex?: number) => number;
134
- every?: {
135
- <S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): this is readonly S_1[];
136
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
137
- };
138
- some?: (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean;
139
- forEach?: (callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void;
140
- reduce?: {
141
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
142
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
143
- <U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
144
- };
145
- reduceRight?: {
146
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
147
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
148
- <U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
149
- };
150
- find?: {
151
- <S_2 extends string>(predicate: (this: void, value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2;
152
- (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string;
153
- };
154
- findIndex?: (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number;
155
- entries?: IterableIterator<[number, string]>;
156
- keys?: IterableIterator<number>;
157
- values?: IterableIterator<string>;
158
- includes?: (searchElement: string, fromIndex?: number) => boolean;
159
- flatMap?: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
160
- flat?: unknown[];
161
- }) | ({
25
+ $options: import("vue").ComponentOptionsBase<readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
162
26
  [x: string]: unknown;
163
- } & {} & {
164
- [x: string]: unknown;
165
- })> & {}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
27
+ }>>>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
166
28
  [x: number]: string;
167
29
  } | {}> & {
168
30
  beforeCreate?: (() => void) | (() => void)[];
@@ -184,155 +46,17 @@ declare const BkTag: {
184
46
  $forceUpdate: () => void;
185
47
  $nextTick: typeof import("vue").nextTick;
186
48
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
187
- } & (Readonly<(readonly unknown[] & {
188
- [x: number]: string;
189
- } & {
190
- [Symbol.iterator]?: IterableIterator<string>;
191
- map?: <U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[];
192
- filter?: {
193
- <S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): S[];
194
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
195
- };
196
- length?: number;
197
- toString?: string;
198
- toLocaleString?: string;
199
- concat?: string[];
200
- join?: string;
201
- slice?: string[];
202
- indexOf?: (searchElement: string, fromIndex?: number) => number;
203
- lastIndexOf?: (searchElement: string, fromIndex?: number) => number;
204
- every?: {
205
- <S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): this is readonly S_1[];
206
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
207
- };
208
- some?: (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean;
209
- forEach?: (callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void;
210
- reduce?: {
211
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
212
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
213
- <U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
214
- };
215
- reduceRight?: {
216
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
217
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
218
- <U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
219
- };
220
- find?: {
221
- <S_2 extends string>(predicate: (this: void, value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2;
222
- (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string;
223
- };
224
- findIndex?: (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number;
225
- entries?: IterableIterator<[number, string]>;
226
- keys?: IterableIterator<number>;
227
- values?: IterableIterator<string>;
228
- includes?: (searchElement: string, fromIndex?: number) => boolean;
229
- flatMap?: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
230
- flat?: unknown[];
231
- }) | ({
232
- [x: string]: unknown;
233
- } & {} & {
234
- [x: string]: unknown;
235
- })> & {}) & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties & Readonly<(readonly unknown[] & {
236
- [x: number]: string;
237
- } & {
238
- [Symbol.iterator]?: IterableIterator<string>;
239
- map?: <U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[];
240
- filter?: {
241
- <S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): S[];
242
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
243
- };
244
- length?: number;
245
- toString?: string;
246
- toLocaleString?: string;
247
- concat?: string[];
248
- join?: string;
249
- slice?: string[];
250
- indexOf?: (searchElement: string, fromIndex?: number) => number;
251
- lastIndexOf?: (searchElement: string, fromIndex?: number) => number;
252
- every?: {
253
- <S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): this is readonly S_1[];
254
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
255
- };
256
- some?: (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean;
257
- forEach?: (callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void;
258
- reduce?: {
259
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
260
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
261
- <U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
262
- };
263
- reduceRight?: {
264
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
265
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
266
- <U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
267
- };
268
- find?: {
269
- <S_2 extends string>(predicate: (this: void, value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2;
270
- (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string;
271
- };
272
- findIndex?: (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number;
273
- entries?: IterableIterator<[number, string]>;
274
- keys?: IterableIterator<number>;
275
- values?: IterableIterator<string>;
276
- includes?: (searchElement: string, fromIndex?: number) => boolean;
277
- flatMap?: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
278
- flat?: unknown[];
279
- }) | ({
49
+ } & (readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
280
50
  [x: string]: unknown;
281
- } & {} & {
51
+ }>>>>) & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties & Readonly<readonly string[] | import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
282
52
  [x: string]: unknown;
283
- })> & {};
53
+ }>>>>;
284
54
  __isFragment?: never;
285
55
  __isTeleport?: never;
286
56
  __isSuspense?: never;
287
- } & import("vue").ComponentOptionsBase<Readonly<(readonly unknown[] & {
288
- [x: number]: string;
289
- } & {
290
- [Symbol.iterator]?: IterableIterator<string>;
291
- map?: <U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[];
292
- filter?: {
293
- <S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): S[];
294
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
295
- };
296
- length?: number;
297
- toString?: string;
298
- toLocaleString?: string;
299
- concat?: string[];
300
- join?: string;
301
- slice?: string[];
302
- indexOf?: (searchElement: string, fromIndex?: number) => number;
303
- lastIndexOf?: (searchElement: string, fromIndex?: number) => number;
304
- every?: {
305
- <S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): this is readonly S_1[];
306
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
307
- };
308
- some?: (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean;
309
- forEach?: (callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void;
310
- reduce?: {
311
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
312
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
313
- <U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
314
- };
315
- reduceRight?: {
316
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
317
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
318
- <U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
319
- };
320
- find?: {
321
- <S_2 extends string>(predicate: (this: void, value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2;
322
- (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string;
323
- };
324
- findIndex?: (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number;
325
- entries?: IterableIterator<[number, string]>;
326
- keys?: IterableIterator<number>;
327
- values?: IterableIterator<string>;
328
- includes?: (searchElement: string, fromIndex?: number) => boolean;
329
- flatMap?: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
330
- flat?: unknown[];
331
- }) | ({
332
- [x: string]: unknown;
333
- } & {} & {
57
+ } & import("vue").ComponentOptionsBase<readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
334
58
  [x: string]: unknown;
335
- })> & {}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
59
+ }>>>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
336
60
  [x: number]: string;
337
61
  } | {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
338
62
  export default BkTag;
package/lib/tag/tag.d.ts CHANGED
@@ -1,54 +1,8 @@
1
1
  declare const _default: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
2
2
  [x: string]: unknown;
3
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<(readonly unknown[] & {
4
- [x: number]: string;
5
- } & {
6
- [Symbol.iterator]?: IterableIterator<string>;
7
- map?: <U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[];
8
- filter?: {
9
- <S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): S[];
10
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
11
- };
12
- length?: number;
13
- toString?: string;
14
- toLocaleString?: string;
15
- concat?: string[];
16
- join?: string;
17
- slice?: string[];
18
- indexOf?: (searchElement: string, fromIndex?: number) => number;
19
- lastIndexOf?: (searchElement: string, fromIndex?: number) => number;
20
- every?: {
21
- <S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): this is readonly S_1[];
22
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
23
- };
24
- some?: (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean;
25
- forEach?: (callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void;
26
- reduce?: {
27
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
28
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
29
- <U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
30
- };
31
- reduceRight?: {
32
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
33
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
34
- <U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
35
- };
36
- find?: {
37
- <S_2 extends string>(predicate: (this: void, value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2;
38
- (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string;
39
- };
40
- findIndex?: (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number;
41
- entries?: IterableIterator<[number, string]>;
42
- keys?: IterableIterator<number>;
43
- values?: IterableIterator<string>;
44
- includes?: (searchElement: string, fromIndex?: number) => boolean;
45
- flatMap?: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
46
- flat?: unknown[];
47
- }) | ({
48
- [x: string]: unknown;
49
- } & {} & {
3
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
50
4
  [x: string]: unknown;
51
- })> & {}, {
5
+ }>>>>, {
52
6
  [x: number]: string;
53
7
  } | {}>;
54
8
  export default _default;
@@ -83,4 +83,10 @@
83
83
  --date-picker-disabled-bg: #fafbfd;
84
84
  --date-picker-dropdown-mb: 4px;
85
85
  --date-picker-dropdown-bg: #fff;
86
+ --table-bg-color: var(--white-color);
87
+ --table-border-color: #dcdee5;
88
+ --table-head-bg-color: #fafbfd;
89
+ --table-head-font-color: #313238;
90
+ --table-body-font-color: #575961;
91
+ --table-row-hover-bg-color: #f5f7fa;
86
92
  }
@@ -0,0 +1,129 @@
1
+ declare const BkSteps: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ list: unknown[];
7
+ extCls: string;
8
+ titleAble: boolean;
9
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
10
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
11
+ default: () => unknown[];
12
+ } & {
13
+ default: () => unknown[];
14
+ };
15
+ titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
16
+ default: boolean;
17
+ } & {
18
+ default: boolean;
19
+ };
20
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
21
+ default: string;
22
+ };
23
+ }>> & {
24
+ onSelect?: (...args: any[]) => any;
25
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "list" | "extCls" | "titleAble">;
26
+ $attrs: {
27
+ [x: string]: unknown;
28
+ };
29
+ $refs: {
30
+ [x: string]: unknown;
31
+ };
32
+ $slots: Readonly<{
33
+ [name: string]: import("vue").Slot;
34
+ }>;
35
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
36
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
37
+ $emit: (event: "select", ...args: any[]) => void;
38
+ $el: any;
39
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
40
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
41
+ default: () => unknown[];
42
+ } & {
43
+ default: () => unknown[];
44
+ };
45
+ titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
46
+ default: boolean;
47
+ } & {
48
+ default: boolean;
49
+ };
50
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
51
+ default: string;
52
+ };
53
+ }>> & {
54
+ onSelect?: (...args: any[]) => any;
55
+ }, {
56
+ defaultTimelines: import("vue").Ref<any[]>;
57
+ titleSelect: (item: any) => void;
58
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], string, {
59
+ list: unknown[];
60
+ extCls: string;
61
+ titleAble: boolean;
62
+ }> & {
63
+ beforeCreate?: (() => void) | (() => void)[];
64
+ created?: (() => void) | (() => void)[];
65
+ beforeMount?: (() => void) | (() => void)[];
66
+ mounted?: (() => void) | (() => void)[];
67
+ beforeUpdate?: (() => void) | (() => void)[];
68
+ updated?: (() => void) | (() => void)[];
69
+ activated?: (() => void) | (() => void)[];
70
+ deactivated?: (() => void) | (() => void)[];
71
+ beforeDestroy?: (() => void) | (() => void)[];
72
+ beforeUnmount?: (() => void) | (() => void)[];
73
+ destroyed?: (() => void) | (() => void)[];
74
+ unmounted?: (() => void) | (() => void)[];
75
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
76
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
77
+ 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)[];
78
+ };
79
+ $forceUpdate: () => void;
80
+ $nextTick: typeof import("vue").nextTick;
81
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
82
+ } & Readonly<import("vue").ExtractPropTypes<{
83
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
84
+ default: () => unknown[];
85
+ } & {
86
+ default: () => unknown[];
87
+ };
88
+ titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
89
+ default: boolean;
90
+ } & {
91
+ default: boolean;
92
+ };
93
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
94
+ default: string;
95
+ };
96
+ }>> & {
97
+ onSelect?: (...args: any[]) => any;
98
+ } & import("vue").ShallowUnwrapRef<{
99
+ defaultTimelines: import("vue").Ref<any[]>;
100
+ titleSelect: (item: any) => void;
101
+ }> & {} & {} & import("vue").ComponentCustomProperties;
102
+ __isFragment?: never;
103
+ __isTeleport?: never;
104
+ __isSuspense?: never;
105
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
106
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
107
+ default: () => unknown[];
108
+ } & {
109
+ default: () => unknown[];
110
+ };
111
+ titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
112
+ default: boolean;
113
+ } & {
114
+ default: boolean;
115
+ };
116
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
117
+ default: string;
118
+ };
119
+ }>> & {
120
+ onSelect?: (...args: any[]) => any;
121
+ }, {
122
+ defaultTimelines: import("vue").Ref<any[]>;
123
+ titleSelect: (item: any) => void;
124
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", {
125
+ list: unknown[];
126
+ extCls: string;
127
+ titleAble: boolean;
128
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
129
+ export default BkSteps;
@@ -0,0 +1 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,t,n){"use strict";var o={list:n.PropTypes.array.def([]),titleAble:n.PropTypes.bool.def(!1),extCls:n.PropTypes.string},c=t.defineComponent({name:"Timeline",props:o,emits:["select"],setup:function(e,n){var o=n.emit,c=t.ref([]);return t.onMounted((function(){var t,n,o,l,i;(t=c.value).splice.apply(t,[0,c.value.length].concat([{tag:"步骤1",content:"内容1"},{tag:"步骤2",content:"内容2"},{tag:"步骤3",content:"内容3"}])),(null===(n=e.list)||void 0===n?void 0:n.length)&&(o=e.list,i=[],o.forEach((function(e){i.push({tag:e.tag,content:e.content,type:e.type,size:e.size,color:e.color,icon:e.icon,filled:e.filled})})),(l=c.value).splice.apply(l,[0,c.value.length].concat(i)))})),{defaultTimelines:c,titleSelect:function(e){try{o("select",e)}catch(e){console.warn(e)}}}},render:function(){var e=this,o=function(e){var t="bk-timeline",o=e.type?"".concat(t,"-").concat(e.type):"".concat(t,"-default"),c=e.size?"".concat(t,"-").concat(e.size):"",l=e.filled?"".concat(t,"-filled"):"",i=e.color&&["blue","red","green","yellow","gray"].includes(e.color)?"".concat(t,"-").concat(e.color):"";return n.classes({},"".concat(t," ").concat(o," ").concat(c," ").concat(i," ").concat(l))};return t.createVNode("ul",{class:["bk-timeline",this.extCls]},[this.defaultTimelines.map((function(n){var c,l,i,a,s;return t.createVNode("li",{class:["bk-timeline-dot",o(n)]},[(a=n,s=a.icon,s&&"[object Object]"===Object.prototype.toString.call(s)?t.createVNode("div",{class:"bk-timeline-icon"},[t.createVNode("span",{class:"bk-timeline-icon-inner"},[n.icon])]):""),t.createVNode("div",{class:"bk-timeline-section"},[t.createVNode("div",{class:"bk-timeline-title",onClick:function(){e.titleSelect(n)}},[null!==(i=null===(l=(c=e.$slots).default)||void 0===l?void 0:l.call(c))&&void 0!==i?i:t.createVNode("span",{innerHTML:n.tag},null)]),n.content?t.createVNode("div",{class:"bk-timeline-content",innerHTML:n.content},null):""])])}))])}}),l=n.withInstall(c);e.default=l,Object.defineProperty(e,"__esModule",{value:!0})}));