lew-ui 2.7.70 → 2.7.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.
- package/LICENSE +21 -21
- package/dist/_components/CloseButton.vue.d.ts +20 -0
- package/dist/_components/CloseIcon.vue.d.ts +18 -0
- package/dist/_components/CommonInput.vue.d.ts +12 -49
- package/dist/components/data/collapse/index.d.ts +1 -0
- package/dist/components/data/collapse/src/model.d.ts +14 -0
- package/dist/components/data/collapse/src/props.d.ts +0 -11
- package/dist/components/data/expand/src/LewExpand.vue.d.ts +8 -2
- package/dist/components/data/pagination/index.d.ts +1 -0
- package/dist/components/data/pagination/src/model.d.ts +16 -0
- package/dist/components/data/pagination/src/props.d.ts +0 -18
- package/dist/components/data/table/src/LewTable.vue.d.ts +11 -2
- package/dist/components/data/table/src/props.d.ts +5 -0
- package/dist/components/feedback/alert/src/LewAlert.vue.d.ts +2 -6
- package/dist/components/feedback/alert/src/emits.d.ts +1 -3
- package/dist/components/feedback/drawer/index.d.ts +1 -0
- package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +9 -10
- package/dist/components/feedback/drawer/src/model.d.ts +8 -0
- package/dist/components/feedback/drawer/src/props.d.ts +0 -7
- package/dist/components/feedback/modal/index.d.ts +1 -0
- package/dist/components/feedback/modal/src/LewModal.vue.d.ts +4 -4
- package/dist/components/feedback/modal/src/model.d.ts +8 -0
- package/dist/components/feedback/modal/src/props.d.ts +0 -6
- package/dist/components/feedback/popok/src/LewPopok.vue.d.ts +20 -10
- package/dist/components/form/cascader/src/LewCascader.vue.d.ts +100 -100
- package/dist/components/form/cascader/src/emits.d.ts +4 -3
- package/dist/components/form/cascader/src/model.d.ts +2 -1
- package/dist/components/form/cascader/src/props.d.ts +80 -80
- package/dist/components/form/checkbox/src/LewCheckbox.vue.d.ts +54 -54
- package/dist/components/form/checkbox/src/LewCheckboxGroup.vue.d.ts +52 -52
- package/dist/components/form/checkbox/src/props.d.ts +83 -83
- package/dist/components/form/color-picker/src/LewColorPicker.vue.d.ts +32 -32
- package/dist/components/form/color-picker/src/props.d.ts +21 -21
- package/dist/components/form/date-picker/src/LewDatePicker.vue.d.ts +4 -4
- package/dist/components/form/input/src/LewInput.vue.d.ts +4 -35
- package/dist/components/form/input/src/props.d.ts +0 -17
- package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +6 -10
- package/dist/components/form/input-number/src/emits.d.ts +1 -1
- package/dist/components/form/input-number/src/props.d.ts +0 -4
- package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +4 -53
- package/dist/components/form/input-tag/src/props.d.ts +0 -5
- package/dist/components/form/select/src/LewSelect.vue.d.ts +33 -88
- package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +12 -88
- package/dist/components/general/avatar/index.d.ts +6 -2
- package/dist/components/general/button/index.d.ts +7 -2
- package/dist/components/general/button/src/LewButton.vue.d.ts +8 -8
- package/dist/components/general/button/src/emits.d.ts +10 -0
- package/dist/components/general/flex/src/LewFlex.vue.d.ts +15 -16
- package/dist/components/general/image/index.d.ts +6 -2
- package/dist/components/general/tag/src/LewTag.vue.d.ts +52 -14
- package/dist/components/general/tag/src/emits.d.ts +3 -0
- package/dist/components/general/tag/src/props.d.ts +9 -0
- package/dist/components/general/text-trim/index.d.ts +7 -2
- package/dist/components/general/text-trim/src/emits.d.ts +2 -0
- package/dist/components/general/text-trim/src/text-trim.d.ts +1 -1
- package/dist/components/navigation/action-box/index.d.ts +7 -3
- package/dist/components/navigation/action-box/src/LewActionBox.vue.d.ts +6 -2
- package/dist/components/navigation/action-box/src/emits.d.ts +1 -0
- package/dist/components/navigation/back-top/index.d.ts +7 -2
- package/dist/components/navigation/back-top/src/emits.d.ts +2 -0
- package/dist/components/navigation/breadcrumb/index.d.ts +7 -3
- package/dist/components/navigation/breadcrumb/src/LewBreadcrumb.vue.d.ts +2 -2
- package/dist/components/navigation/breadcrumb/src/emits.d.ts +3 -1
- package/dist/components/navigation/dropdown/index.d.ts +8 -3
- package/dist/components/navigation/dropdown/src/emits.d.ts +1 -0
- package/dist/components/navigation/dropdown/src/model.d.ts +8 -0
- package/dist/components/navigation/dropdown/src/props.d.ts +0 -6
- package/dist/components/navigation/menu/index.d.ts +8 -3
- package/dist/components/navigation/menu/src/LewMenu.vue.d.ts +4 -4
- package/dist/components/navigation/menu/src/emits.d.ts +1 -0
- package/dist/components/navigation/menu/src/model.d.ts +7 -0
- package/dist/components/navigation/menu/src/props.d.ts +0 -5
- package/dist/components/navigation/menu-tree/index.d.ts +9 -4
- package/dist/components/navigation/menu-tree/src/emits.d.ts +1 -0
- package/dist/components/navigation/menu-tree/src/model.d.ts +16 -0
- package/dist/components/navigation/menu-tree/src/props.d.ts +0 -13
- package/dist/components/navigation/steps/index.d.ts +8 -3
- package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +10 -6
- package/dist/components/navigation/steps/src/emits.d.ts +1 -0
- package/dist/components/navigation/steps/src/model.d.ts +7 -0
- package/dist/components/navigation/steps/src/props.d.ts +3 -6
- package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +2 -2
- package/dist/directives/context-menu/src/emits.d.ts +3 -1
- package/dist/index.css +1 -1
- package/dist/index.js +3206 -2580
- package/dist/index.umd.cjs +1 -47
- package/dist/locals/de.d.ts +25 -0
- package/dist/locals/en.d.ts +32 -7
- package/dist/locals/es.d.ts +25 -0
- package/dist/locals/fr.d.ts +25 -0
- package/dist/locals/it.d.ts +25 -0
- package/dist/locals/ja.d.ts +25 -0
- package/dist/locals/ko.d.ts +25 -0
- package/dist/locals/pt.d.ts +25 -0
- package/dist/methods/dialog/src/LewDialog.vue.d.ts +10 -5
- package/dist/methods/notification/src/NotificationContainer.vue.d.ts +6 -0
- package/dist/methods/notification/src/index.d.ts +4 -0
- package/package.json +8 -4
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 lew
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 lew
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LewSize } from '..';
|
|
2
|
+
interface Props {
|
|
3
|
+
size?: LewSize;
|
|
4
|
+
color?: 'gray' | 'primary' | 'normal';
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
round?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
click: (event: MouseEvent) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
12
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
loading: boolean;
|
|
15
|
+
color: "gray" | "primary" | "normal";
|
|
16
|
+
size: LewSize;
|
|
17
|
+
round: boolean;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LewSize } from '..';
|
|
2
|
+
interface Props {
|
|
3
|
+
size?: LewSize;
|
|
4
|
+
color?: 'gray' | 'primary' | 'normal';
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
click: (event: MouseEvent) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
11
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
loading: boolean;
|
|
14
|
+
color: "gray" | "primary" | "normal";
|
|
15
|
+
size: LewSize;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LewSize } from '..';
|
|
1
2
|
declare function clearHandle(): void;
|
|
2
3
|
declare function getInputRefStyle(): {
|
|
3
4
|
fontSize: string;
|
|
@@ -140,9 +141,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
140
141
|
loading: boolean;
|
|
141
142
|
size: string;
|
|
142
143
|
disabled: boolean;
|
|
144
|
+
placeholder: string;
|
|
143
145
|
focus: boolean;
|
|
144
146
|
width: string;
|
|
145
|
-
placeholder: string;
|
|
146
147
|
readonly: boolean;
|
|
147
148
|
clearable: boolean;
|
|
148
149
|
multiple: boolean;
|
|
@@ -160,9 +161,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
160
161
|
validator: (value: any) => boolean;
|
|
161
162
|
};
|
|
162
163
|
size: {
|
|
163
|
-
type: PropType<
|
|
164
|
+
type: PropType<LewSize>;
|
|
164
165
|
default: string;
|
|
165
|
-
typeValues:
|
|
166
|
+
typeValues: LewSize[];
|
|
166
167
|
validator: (value: any) => boolean;
|
|
167
168
|
};
|
|
168
169
|
width: {
|
|
@@ -177,32 +178,26 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
177
178
|
};
|
|
178
179
|
disabled: {
|
|
179
180
|
type: BooleanConstructor;
|
|
180
|
-
default: boolean;
|
|
181
181
|
validator: (value: any) => boolean;
|
|
182
182
|
};
|
|
183
183
|
readonly: {
|
|
184
184
|
type: BooleanConstructor;
|
|
185
|
-
default: boolean;
|
|
186
185
|
validator: (value: any) => boolean;
|
|
187
186
|
};
|
|
188
187
|
clearable: {
|
|
189
188
|
type: BooleanConstructor;
|
|
190
|
-
default: boolean;
|
|
191
189
|
validator: (value: any) => boolean;
|
|
192
190
|
};
|
|
193
191
|
showPassword: {
|
|
194
192
|
type: BooleanConstructor;
|
|
195
|
-
default: boolean;
|
|
196
193
|
validator: (value: any) => boolean;
|
|
197
194
|
};
|
|
198
195
|
maxLength: {
|
|
199
196
|
type: (StringConstructor | NumberConstructor)[];
|
|
200
|
-
default: undefined;
|
|
201
197
|
validator: (value: number | undefined) => boolean;
|
|
202
198
|
};
|
|
203
199
|
showCount: {
|
|
204
200
|
type: BooleanConstructor;
|
|
205
|
-
default: boolean;
|
|
206
201
|
validator: (value: any) => boolean;
|
|
207
202
|
};
|
|
208
203
|
align: {
|
|
@@ -218,22 +213,18 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
218
213
|
};
|
|
219
214
|
autoWidth: {
|
|
220
215
|
type: BooleanConstructor;
|
|
221
|
-
default: boolean;
|
|
222
216
|
validator: (value: any) => boolean;
|
|
223
217
|
};
|
|
224
218
|
selectByFocus: {
|
|
225
219
|
type: BooleanConstructor;
|
|
226
|
-
default: boolean;
|
|
227
220
|
validator: (value: any) => boolean;
|
|
228
221
|
};
|
|
229
222
|
copyable: {
|
|
230
223
|
type: BooleanConstructor;
|
|
231
|
-
default: boolean;
|
|
232
224
|
validator: (value: any) => boolean;
|
|
233
225
|
};
|
|
234
226
|
prefixes: {
|
|
235
227
|
type: PropType<import('..').LewInputPrefixesType>;
|
|
236
|
-
default: string;
|
|
237
228
|
typeValues: import('..').LewInputPrefixesType[];
|
|
238
229
|
validator: (value: any) => boolean;
|
|
239
230
|
};
|
|
@@ -244,12 +235,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
244
235
|
};
|
|
245
236
|
prefixesTooltip: {
|
|
246
237
|
type: StringConstructor;
|
|
247
|
-
default: string;
|
|
248
238
|
validator: (value: any) => boolean;
|
|
249
239
|
};
|
|
250
240
|
suffix: {
|
|
251
241
|
type: PropType<import('..').LewInputSuffixType>;
|
|
252
|
-
default: string;
|
|
253
242
|
typeValues: import('..').LewInputSuffixType[];
|
|
254
243
|
validator: (value: any) => boolean;
|
|
255
244
|
};
|
|
@@ -260,12 +249,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
260
249
|
};
|
|
261
250
|
suffixTooltip: {
|
|
262
251
|
type: StringConstructor;
|
|
263
|
-
default: string;
|
|
264
252
|
validator: (value: any) => boolean;
|
|
265
253
|
};
|
|
266
254
|
okByEnter: {
|
|
267
255
|
type: BooleanConstructor;
|
|
268
|
-
default: boolean;
|
|
269
256
|
validator: (value: any) => boolean;
|
|
270
257
|
};
|
|
271
258
|
modelValue: {
|
|
@@ -289,8 +276,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
289
276
|
"onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
|
|
290
277
|
onOk?: ((value?: string | undefined) => any) | undefined;
|
|
291
278
|
}>, {
|
|
292
|
-
focus: () =>
|
|
293
|
-
blur: () =>
|
|
279
|
+
focus: () => void;
|
|
280
|
+
blur: () => void;
|
|
294
281
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
295
282
|
input: (value?: string | undefined) => void;
|
|
296
283
|
blur: (e: FocusEvent) => void;
|
|
@@ -302,9 +289,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
302
289
|
"update:prefixValue": (value: string | undefined) => void;
|
|
303
290
|
"update:suffixValue": (value: string | undefined) => void;
|
|
304
291
|
}, import('vue').PublicProps, {
|
|
305
|
-
maxLength: string | number;
|
|
306
292
|
type: import('..').LewInputType;
|
|
307
|
-
size:
|
|
293
|
+
size: LewSize;
|
|
308
294
|
disabled: boolean;
|
|
309
295
|
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
310
296
|
minWidth: string | number;
|
|
@@ -316,12 +302,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
316
302
|
autoWidth: boolean;
|
|
317
303
|
selectByFocus: boolean;
|
|
318
304
|
copyable: boolean;
|
|
319
|
-
prefixes: import('..').LewInputPrefixesType;
|
|
320
305
|
prefixesOptions: import('..').LewContextMenusOption[];
|
|
321
|
-
prefixesTooltip: string;
|
|
322
|
-
suffix: import('..').LewInputSuffixType;
|
|
323
306
|
suffixOptions: import('..').LewContextMenusOption[];
|
|
324
|
-
suffixTooltip: string;
|
|
325
307
|
okByEnter: boolean;
|
|
326
308
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
327
309
|
lewInputRef: HTMLInputElement;
|
|
@@ -341,9 +323,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
341
323
|
validator: (value: any) => boolean;
|
|
342
324
|
};
|
|
343
325
|
size: {
|
|
344
|
-
type: PropType<
|
|
326
|
+
type: PropType<LewSize>;
|
|
345
327
|
default: string;
|
|
346
|
-
typeValues:
|
|
328
|
+
typeValues: LewSize[];
|
|
347
329
|
validator: (value: any) => boolean;
|
|
348
330
|
};
|
|
349
331
|
width: {
|
|
@@ -358,32 +340,26 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
358
340
|
};
|
|
359
341
|
disabled: {
|
|
360
342
|
type: BooleanConstructor;
|
|
361
|
-
default: boolean;
|
|
362
343
|
validator: (value: any) => boolean;
|
|
363
344
|
};
|
|
364
345
|
readonly: {
|
|
365
346
|
type: BooleanConstructor;
|
|
366
|
-
default: boolean;
|
|
367
347
|
validator: (value: any) => boolean;
|
|
368
348
|
};
|
|
369
349
|
clearable: {
|
|
370
350
|
type: BooleanConstructor;
|
|
371
|
-
default: boolean;
|
|
372
351
|
validator: (value: any) => boolean;
|
|
373
352
|
};
|
|
374
353
|
showPassword: {
|
|
375
354
|
type: BooleanConstructor;
|
|
376
|
-
default: boolean;
|
|
377
355
|
validator: (value: any) => boolean;
|
|
378
356
|
};
|
|
379
357
|
maxLength: {
|
|
380
358
|
type: (StringConstructor | NumberConstructor)[];
|
|
381
|
-
default: undefined;
|
|
382
359
|
validator: (value: number | undefined) => boolean;
|
|
383
360
|
};
|
|
384
361
|
showCount: {
|
|
385
362
|
type: BooleanConstructor;
|
|
386
|
-
default: boolean;
|
|
387
363
|
validator: (value: any) => boolean;
|
|
388
364
|
};
|
|
389
365
|
align: {
|
|
@@ -399,22 +375,18 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
399
375
|
};
|
|
400
376
|
autoWidth: {
|
|
401
377
|
type: BooleanConstructor;
|
|
402
|
-
default: boolean;
|
|
403
378
|
validator: (value: any) => boolean;
|
|
404
379
|
};
|
|
405
380
|
selectByFocus: {
|
|
406
381
|
type: BooleanConstructor;
|
|
407
|
-
default: boolean;
|
|
408
382
|
validator: (value: any) => boolean;
|
|
409
383
|
};
|
|
410
384
|
copyable: {
|
|
411
385
|
type: BooleanConstructor;
|
|
412
|
-
default: boolean;
|
|
413
386
|
validator: (value: any) => boolean;
|
|
414
387
|
};
|
|
415
388
|
prefixes: {
|
|
416
389
|
type: PropType<import('..').LewInputPrefixesType>;
|
|
417
|
-
default: string;
|
|
418
390
|
typeValues: import('..').LewInputPrefixesType[];
|
|
419
391
|
validator: (value: any) => boolean;
|
|
420
392
|
};
|
|
@@ -425,12 +397,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
425
397
|
};
|
|
426
398
|
prefixesTooltip: {
|
|
427
399
|
type: StringConstructor;
|
|
428
|
-
default: string;
|
|
429
400
|
validator: (value: any) => boolean;
|
|
430
401
|
};
|
|
431
402
|
suffix: {
|
|
432
403
|
type: PropType<import('..').LewInputSuffixType>;
|
|
433
|
-
default: string;
|
|
434
404
|
typeValues: import('..').LewInputSuffixType[];
|
|
435
405
|
validator: (value: any) => boolean;
|
|
436
406
|
};
|
|
@@ -441,12 +411,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
441
411
|
};
|
|
442
412
|
suffixTooltip: {
|
|
443
413
|
type: StringConstructor;
|
|
444
|
-
default: string;
|
|
445
414
|
validator: (value: any) => boolean;
|
|
446
415
|
};
|
|
447
416
|
okByEnter: {
|
|
448
417
|
type: BooleanConstructor;
|
|
449
|
-
default: boolean;
|
|
450
418
|
validator: (value: any) => boolean;
|
|
451
419
|
};
|
|
452
420
|
modelValue: {
|
|
@@ -470,12 +438,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
470
438
|
"onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
|
|
471
439
|
onOk?: ((value?: string | undefined) => any) | undefined;
|
|
472
440
|
}>, {
|
|
473
|
-
focus: () =>
|
|
474
|
-
blur: () =>
|
|
441
|
+
focus: () => void;
|
|
442
|
+
blur: () => void;
|
|
475
443
|
}, {}, {}, {}, {
|
|
476
|
-
maxLength: string | number;
|
|
477
444
|
type: import('..').LewInputType;
|
|
478
|
-
size:
|
|
445
|
+
size: LewSize;
|
|
479
446
|
disabled: boolean;
|
|
480
447
|
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
481
448
|
minWidth: string | number;
|
|
@@ -487,12 +454,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
487
454
|
autoWidth: boolean;
|
|
488
455
|
selectByFocus: boolean;
|
|
489
456
|
copyable: boolean;
|
|
490
|
-
prefixes: import('..').LewInputPrefixesType;
|
|
491
457
|
prefixesOptions: import('..').LewContextMenusOption[];
|
|
492
|
-
prefixesTooltip: string;
|
|
493
|
-
suffix: import('..').LewInputSuffixType;
|
|
494
458
|
suffixOptions: import('..').LewContextMenusOption[];
|
|
495
|
-
suffixTooltip: string;
|
|
496
459
|
okByEnter: boolean;
|
|
497
460
|
}> | null;
|
|
498
461
|
}, HTMLDivElement>;
|
|
@@ -3,4 +3,5 @@ export * from './src/emits';
|
|
|
3
3
|
export { default as LewCollapse } from './src/LewCollapse.vue';
|
|
4
4
|
export { default as LewCollapseItem } from './src/LewCollapseItem.vue';
|
|
5
5
|
export { default as LewCollapseTransition } from './src/LewCollapseTransition.vue';
|
|
6
|
+
export * from './src/model';
|
|
6
7
|
export * from './src/props';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare const collapseModel: {
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: PropType<string[] | string>;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export declare const collapseItemModel: {
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export type CollapseModel = typeof collapseModel;
|
|
14
|
+
export type CollapseItemModel = typeof collapseItemModel;
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import { Property } from 'csstype';
|
|
2
2
|
import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
3
|
-
export declare const collapseModel: {
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: PropType<string[] | string>;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
export declare const collapseItemModel: {
|
|
9
|
-
modelValue: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
3
|
export declare const collapseProps: {
|
|
15
4
|
width: {
|
|
16
5
|
type: PropType<Property.Width>;
|
|
@@ -14,12 +14,18 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
14
14
|
type: StringConstructor;
|
|
15
15
|
validator: (value: string | number | undefined) => boolean;
|
|
16
16
|
};
|
|
17
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
collapse: () => void;
|
|
19
|
+
expand: () => void;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
18
21
|
collapseHeight: {
|
|
19
22
|
type: StringConstructor;
|
|
20
23
|
validator: (value: string | number | undefined) => boolean;
|
|
21
24
|
};
|
|
22
|
-
}>> & Readonly<{
|
|
25
|
+
}>> & Readonly<{
|
|
26
|
+
onCollapse?: (() => any) | undefined;
|
|
27
|
+
onExpand?: (() => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
23
29
|
expandRef: HTMLDivElement;
|
|
24
30
|
}, HTMLDivElement>;
|
|
25
31
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const paginationModel: {
|
|
2
|
+
total: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
currentPage: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
pageSize: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
required: boolean;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export type PaginationModel = typeof paginationModel;
|
|
@@ -1,23 +1,5 @@
|
|
|
1
1
|
import { LewSelectOption, LewSize } from '../../../..';
|
|
2
2
|
import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
3
|
-
export declare const paginationModel: {
|
|
4
|
-
total: {
|
|
5
|
-
type: NumberConstructor;
|
|
6
|
-
default: number;
|
|
7
|
-
validator: (value: number | undefined) => boolean;
|
|
8
|
-
};
|
|
9
|
-
currentPage: {
|
|
10
|
-
type: NumberConstructor;
|
|
11
|
-
default: number;
|
|
12
|
-
validator: (value: number | undefined) => boolean;
|
|
13
|
-
};
|
|
14
|
-
pageSize: {
|
|
15
|
-
type: NumberConstructor;
|
|
16
|
-
required: boolean;
|
|
17
|
-
default: number;
|
|
18
|
-
validator: (value: number | undefined) => boolean;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
3
|
export declare const paginationProps: {
|
|
22
4
|
size: {
|
|
23
5
|
type: PropType<LewSize>;
|
|
@@ -18,7 +18,6 @@ declare function __VLS_template(): {
|
|
|
18
18
|
'table-footer'?(_: {}): any;
|
|
19
19
|
};
|
|
20
20
|
refs: {
|
|
21
|
-
tableWrapperRef: HTMLDivElement;
|
|
22
21
|
tableRef: HTMLDivElement;
|
|
23
22
|
fixedLeftRef: HTMLDivElement;
|
|
24
23
|
fixedRightRef: HTMLDivElement;
|
|
@@ -77,6 +76,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
77
76
|
type: StringConstructor;
|
|
78
77
|
validator: (value: any) => boolean;
|
|
79
78
|
};
|
|
79
|
+
focusable: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
validator: (value: any) => boolean;
|
|
83
|
+
};
|
|
80
84
|
selectedKeys: {
|
|
81
85
|
type: globalThis.PropType<any>;
|
|
82
86
|
};
|
|
@@ -140,6 +144,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
140
144
|
type: StringConstructor;
|
|
141
145
|
validator: (value: any) => boolean;
|
|
142
146
|
};
|
|
147
|
+
focusable: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
validator: (value: any) => boolean;
|
|
151
|
+
};
|
|
143
152
|
selectedKeys: {
|
|
144
153
|
type: globalThis.PropType<any>;
|
|
145
154
|
};
|
|
@@ -162,8 +171,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
162
171
|
multiple: boolean;
|
|
163
172
|
sortable: boolean;
|
|
164
173
|
sortTooltipCustomRender: (row: Record<string, any>) => any;
|
|
174
|
+
focusable: boolean;
|
|
165
175
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
166
|
-
tableWrapperRef: HTMLDivElement;
|
|
167
176
|
tableRef: HTMLDivElement;
|
|
168
177
|
fixedLeftRef: HTMLDivElement;
|
|
169
178
|
fixedRightRef: HTMLDivElement;
|
|
@@ -58,5 +58,10 @@ export declare const tableProps: {
|
|
|
58
58
|
type: StringConstructor;
|
|
59
59
|
validator: (value: any) => boolean;
|
|
60
60
|
};
|
|
61
|
+
focusable: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
validator: (value: any) => boolean;
|
|
65
|
+
};
|
|
61
66
|
};
|
|
62
67
|
export type LewTableProps = ExtractPublicPropTypes<typeof tableProps>;
|
|
@@ -29,9 +29,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
29
29
|
default: boolean;
|
|
30
30
|
validator: (value: any) => boolean;
|
|
31
31
|
};
|
|
32
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
|
-
close: () => void;
|
|
34
|
-
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
32
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
35
33
|
type: {
|
|
36
34
|
type: PropType<import('../../../..').LewStatusColor>;
|
|
37
35
|
default: string;
|
|
@@ -51,9 +49,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
51
49
|
default: boolean;
|
|
52
50
|
validator: (value: any) => boolean;
|
|
53
51
|
};
|
|
54
|
-
}>> & Readonly<{
|
|
55
|
-
onClose?: (() => any) | undefined;
|
|
56
|
-
}>, {
|
|
52
|
+
}>> & Readonly<{}>, {
|
|
57
53
|
type: import('../../../..').LewStatusColor;
|
|
58
54
|
closeable: boolean;
|
|
59
55
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { LewDrawerPosition } from '../../../../types';
|
|
2
1
|
declare function __VLS_template(): {
|
|
3
2
|
attrs: Partial<{}>;
|
|
4
3
|
slots: {
|
|
@@ -18,9 +17,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
18
17
|
validator: (value: any) => boolean;
|
|
19
18
|
};
|
|
20
19
|
position: {
|
|
21
|
-
type: PropType<LewDrawerPosition>;
|
|
20
|
+
type: PropType<import('../../../..').LewDrawerPosition>;
|
|
22
21
|
default: string;
|
|
23
|
-
typeValues: LewDrawerPosition[];
|
|
22
|
+
typeValues: import('../../../..').LewDrawerPosition[];
|
|
24
23
|
validator: (value: any) => boolean;
|
|
25
24
|
};
|
|
26
25
|
width: {
|
|
@@ -72,20 +71,20 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
72
71
|
validator: (value: number | undefined) => boolean;
|
|
73
72
|
};
|
|
74
73
|
visible: {
|
|
75
|
-
type: globalThis.PropType<
|
|
74
|
+
type: globalThis.PropType<boolean>;
|
|
76
75
|
};
|
|
77
76
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
78
77
|
close: () => void;
|
|
79
|
-
"update:visible": (value:
|
|
78
|
+
"update:visible": (value: boolean) => void;
|
|
80
79
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
81
80
|
title: {
|
|
82
81
|
type: StringConstructor;
|
|
83
82
|
validator: (value: any) => boolean;
|
|
84
83
|
};
|
|
85
84
|
position: {
|
|
86
|
-
type: PropType<LewDrawerPosition>;
|
|
85
|
+
type: PropType<import('../../../..').LewDrawerPosition>;
|
|
87
86
|
default: string;
|
|
88
|
-
typeValues: LewDrawerPosition[];
|
|
87
|
+
typeValues: import('../../../..').LewDrawerPosition[];
|
|
89
88
|
validator: (value: any) => boolean;
|
|
90
89
|
};
|
|
91
90
|
width: {
|
|
@@ -137,15 +136,15 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
137
136
|
validator: (value: number | undefined) => boolean;
|
|
138
137
|
};
|
|
139
138
|
visible: {
|
|
140
|
-
type: globalThis.PropType<
|
|
139
|
+
type: globalThis.PropType<boolean>;
|
|
141
140
|
};
|
|
142
141
|
}>> & Readonly<{
|
|
143
142
|
onClose?: (() => any) | undefined;
|
|
144
|
-
"onUpdate:visible"?: ((value:
|
|
143
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
145
144
|
}>, {
|
|
146
145
|
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
147
146
|
height: import("csstype").Property.Height<0 | (string & {})>;
|
|
148
|
-
position: LewDrawerPosition;
|
|
147
|
+
position: import('../../../..').LewDrawerPosition;
|
|
149
148
|
zIndex: number;
|
|
150
149
|
closeOnClickOverlay: boolean;
|
|
151
150
|
closeByEsc: boolean;
|
|
@@ -2,13 +2,6 @@ import { Property } from 'csstype';
|
|
|
2
2
|
import { LewButtonProps } from '../../../..';
|
|
3
3
|
import { LewDrawerPosition } from '../../../../types';
|
|
4
4
|
import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
5
|
-
export declare const drawerModel: {
|
|
6
|
-
visible: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
validator: (value: any) => boolean;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
5
|
export declare const drawerProps: {
|
|
13
6
|
title: {
|
|
14
7
|
type: StringConstructor;
|
|
@@ -78,11 +78,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
78
78
|
validator: (value: number | undefined) => boolean;
|
|
79
79
|
};
|
|
80
80
|
visible: {
|
|
81
|
-
type: globalThis.PropType<
|
|
81
|
+
type: globalThis.PropType<boolean>;
|
|
82
82
|
};
|
|
83
83
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
84
84
|
close: () => void;
|
|
85
|
-
"update:visible": (value:
|
|
85
|
+
"update:visible": (value: boolean) => void;
|
|
86
86
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
87
87
|
title: {
|
|
88
88
|
type: StringConstructor;
|
|
@@ -150,11 +150,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
150
150
|
validator: (value: number | undefined) => boolean;
|
|
151
151
|
};
|
|
152
152
|
visible: {
|
|
153
|
-
type: globalThis.PropType<
|
|
153
|
+
type: globalThis.PropType<boolean>;
|
|
154
154
|
};
|
|
155
155
|
}>> & Readonly<{
|
|
156
156
|
onClose?: (() => any) | undefined;
|
|
157
|
-
"onUpdate:visible"?: ((value:
|
|
157
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
158
158
|
}>, {
|
|
159
159
|
top: number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "auto" | (string & {});
|
|
160
160
|
width: import("csstype").Property.Width<0 | (string & {})>;
|