lew-ui 2.7.71 → 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/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/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/tag/src/LewTag.vue.d.ts +47 -8
- 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 +2880 -2331
- package/dist/index.umd.cjs +1 -1
- package/dist/methods/notification/src/NotificationContainer.vue.d.ts +6 -0
- package/dist/methods/notification/src/index.d.ts +4 -0
- package/package.json +4 -2
|
@@ -237,85 +237,85 @@ declare function __VLS_template(): {
|
|
|
237
237
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
238
238
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
239
239
|
options: {
|
|
240
|
-
type: PropType<LewCascaderOption[]>;
|
|
241
|
-
|
|
242
|
-
validator: (value: any[] | undefined) => boolean;
|
|
240
|
+
readonly type: PropType<LewCascaderOption[]>;
|
|
241
|
+
readonly typePopKeys: readonly ["LewCascaderOption"];
|
|
242
|
+
readonly validator: (value: any[] | undefined) => boolean;
|
|
243
243
|
};
|
|
244
244
|
width: {
|
|
245
|
-
type: PropType<import("csstype").Property.Width>;
|
|
246
|
-
default:
|
|
247
|
-
validator: (value: string | number | undefined) => boolean;
|
|
245
|
+
readonly type: PropType<import("csstype").Property.Width>;
|
|
246
|
+
readonly default: "100%";
|
|
247
|
+
readonly validator: (value: string | number | undefined) => boolean;
|
|
248
248
|
};
|
|
249
249
|
placeholder: {
|
|
250
|
-
type: StringConstructor;
|
|
251
|
-
defaultLocale:
|
|
252
|
-
validator: (value: any) => boolean;
|
|
250
|
+
readonly type: StringConstructor;
|
|
251
|
+
readonly defaultLocale: true;
|
|
252
|
+
readonly validator: (value: any) => boolean;
|
|
253
253
|
};
|
|
254
254
|
disabled: {
|
|
255
|
-
type: BooleanConstructor;
|
|
256
|
-
default:
|
|
257
|
-
validator: (value: any) => boolean;
|
|
255
|
+
readonly type: BooleanConstructor;
|
|
256
|
+
readonly default: false;
|
|
257
|
+
readonly validator: (value: any) => boolean;
|
|
258
258
|
};
|
|
259
259
|
clearable: {
|
|
260
|
-
type: BooleanConstructor;
|
|
261
|
-
default:
|
|
262
|
-
validator: (value: any) => boolean;
|
|
260
|
+
readonly type: BooleanConstructor;
|
|
261
|
+
readonly default: true;
|
|
262
|
+
readonly validator: (value: any) => boolean;
|
|
263
263
|
};
|
|
264
264
|
free: {
|
|
265
|
-
type: BooleanConstructor;
|
|
266
|
-
default:
|
|
267
|
-
validator: (value: any) => boolean;
|
|
265
|
+
readonly type: BooleanConstructor;
|
|
266
|
+
readonly default: false;
|
|
267
|
+
readonly validator: (value: any) => boolean;
|
|
268
268
|
};
|
|
269
269
|
size: {
|
|
270
|
-
type: PropType<import('../../../..').LewSize>;
|
|
271
|
-
default:
|
|
272
|
-
typeValues: import('../../../..').LewSize[];
|
|
273
|
-
validator: (value: any) => boolean;
|
|
270
|
+
readonly type: PropType<import('../../../..').LewSize>;
|
|
271
|
+
readonly default: "medium";
|
|
272
|
+
readonly typeValues: import('../../../..').LewSize[];
|
|
273
|
+
readonly validator: (value: any) => boolean;
|
|
274
274
|
};
|
|
275
275
|
trigger: {
|
|
276
|
-
type: PropType<import('../../../..').LewTrigger>;
|
|
277
|
-
default:
|
|
278
|
-
typeValues: import('../../../..').LewTrigger[];
|
|
279
|
-
validator: (value: any) => boolean;
|
|
276
|
+
readonly type: PropType<import('../../../..').LewTrigger>;
|
|
277
|
+
readonly default: "click";
|
|
278
|
+
readonly typeValues: import('../../../..').LewTrigger[];
|
|
279
|
+
readonly validator: (value: any) => boolean;
|
|
280
280
|
};
|
|
281
281
|
loadMethod: {
|
|
282
|
-
type: PropType<() => Promise<LewCascaderOption[]>>;
|
|
283
|
-
default: null;
|
|
284
|
-
validator: (value: any) => boolean;
|
|
282
|
+
readonly type: PropType<() => Promise<LewCascaderOption[]>>;
|
|
283
|
+
readonly default: null;
|
|
284
|
+
readonly validator: (value: any) => boolean;
|
|
285
285
|
};
|
|
286
286
|
loadMethodId: {
|
|
287
|
-
type: StringConstructor;
|
|
288
|
-
hidden:
|
|
289
|
-
validator: (value: any) => boolean;
|
|
287
|
+
readonly type: StringConstructor;
|
|
288
|
+
readonly hidden: true;
|
|
289
|
+
readonly validator: (value: any) => boolean;
|
|
290
290
|
};
|
|
291
291
|
initMethod: {
|
|
292
|
-
type: PropType<() => Promise<LewCascaderOption[]>>;
|
|
293
|
-
default: null;
|
|
294
|
-
validator: (value: any) => boolean;
|
|
292
|
+
readonly type: PropType<() => Promise<LewCascaderOption[]>>;
|
|
293
|
+
readonly default: null;
|
|
294
|
+
readonly validator: (value: any) => boolean;
|
|
295
295
|
};
|
|
296
296
|
initMethodId: {
|
|
297
|
-
type: StringConstructor;
|
|
298
|
-
validator: (value: any) => boolean;
|
|
297
|
+
readonly type: StringConstructor;
|
|
298
|
+
readonly validator: (value: any) => boolean;
|
|
299
299
|
};
|
|
300
300
|
readonly: {
|
|
301
|
-
type: BooleanConstructor;
|
|
302
|
-
default:
|
|
303
|
-
validator: (value: any) => boolean;
|
|
301
|
+
readonly type: BooleanConstructor;
|
|
302
|
+
readonly default: false;
|
|
303
|
+
readonly validator: (value: any) => boolean;
|
|
304
304
|
};
|
|
305
305
|
onlyLeafSelectable: {
|
|
306
|
-
type: BooleanConstructor;
|
|
307
|
-
default:
|
|
308
|
-
validator: (value: any) => boolean;
|
|
306
|
+
readonly type: BooleanConstructor;
|
|
307
|
+
readonly default: true;
|
|
308
|
+
readonly validator: (value: any) => boolean;
|
|
309
309
|
};
|
|
310
310
|
multiple: {
|
|
311
|
-
type: BooleanConstructor;
|
|
312
|
-
default:
|
|
313
|
-
validator: (value: any) => boolean;
|
|
311
|
+
readonly type: BooleanConstructor;
|
|
312
|
+
readonly default: false;
|
|
313
|
+
readonly validator: (value: any) => boolean;
|
|
314
314
|
};
|
|
315
315
|
showAllLevels: {
|
|
316
|
-
type: BooleanConstructor;
|
|
317
|
-
default:
|
|
318
|
-
validator: (value: any) => boolean;
|
|
316
|
+
readonly type: BooleanConstructor;
|
|
317
|
+
readonly default: true;
|
|
318
|
+
readonly validator: (value: any) => boolean;
|
|
319
319
|
};
|
|
320
320
|
modelValue: {
|
|
321
321
|
type: globalThis.PropType<string | string[]>;
|
|
@@ -325,97 +325,97 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
325
325
|
hide: typeof hide;
|
|
326
326
|
getSelected: typeof getSelected;
|
|
327
327
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
328
|
-
change: (value:
|
|
328
|
+
change: (value: string | string[] | undefined, items: LewCascaderOption | LewCascaderOption[] | undefined) => void;
|
|
329
329
|
clear: () => void;
|
|
330
330
|
delete: (value: string[], deletedItem: string) => void;
|
|
331
331
|
"update:modelValue": (value: string | string[] | undefined) => void;
|
|
332
332
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
333
333
|
options: {
|
|
334
|
-
type: PropType<LewCascaderOption[]>;
|
|
335
|
-
|
|
336
|
-
validator: (value: any[] | undefined) => boolean;
|
|
334
|
+
readonly type: PropType<LewCascaderOption[]>;
|
|
335
|
+
readonly typePopKeys: readonly ["LewCascaderOption"];
|
|
336
|
+
readonly validator: (value: any[] | undefined) => boolean;
|
|
337
337
|
};
|
|
338
338
|
width: {
|
|
339
|
-
type: PropType<import("csstype").Property.Width>;
|
|
340
|
-
default:
|
|
341
|
-
validator: (value: string | number | undefined) => boolean;
|
|
339
|
+
readonly type: PropType<import("csstype").Property.Width>;
|
|
340
|
+
readonly default: "100%";
|
|
341
|
+
readonly validator: (value: string | number | undefined) => boolean;
|
|
342
342
|
};
|
|
343
343
|
placeholder: {
|
|
344
|
-
type: StringConstructor;
|
|
345
|
-
defaultLocale:
|
|
346
|
-
validator: (value: any) => boolean;
|
|
344
|
+
readonly type: StringConstructor;
|
|
345
|
+
readonly defaultLocale: true;
|
|
346
|
+
readonly validator: (value: any) => boolean;
|
|
347
347
|
};
|
|
348
348
|
disabled: {
|
|
349
|
-
type: BooleanConstructor;
|
|
350
|
-
default:
|
|
351
|
-
validator: (value: any) => boolean;
|
|
349
|
+
readonly type: BooleanConstructor;
|
|
350
|
+
readonly default: false;
|
|
351
|
+
readonly validator: (value: any) => boolean;
|
|
352
352
|
};
|
|
353
353
|
clearable: {
|
|
354
|
-
type: BooleanConstructor;
|
|
355
|
-
default:
|
|
356
|
-
validator: (value: any) => boolean;
|
|
354
|
+
readonly type: BooleanConstructor;
|
|
355
|
+
readonly default: true;
|
|
356
|
+
readonly validator: (value: any) => boolean;
|
|
357
357
|
};
|
|
358
358
|
free: {
|
|
359
|
-
type: BooleanConstructor;
|
|
360
|
-
default:
|
|
361
|
-
validator: (value: any) => boolean;
|
|
359
|
+
readonly type: BooleanConstructor;
|
|
360
|
+
readonly default: false;
|
|
361
|
+
readonly validator: (value: any) => boolean;
|
|
362
362
|
};
|
|
363
363
|
size: {
|
|
364
|
-
type: PropType<import('../../../..').LewSize>;
|
|
365
|
-
default:
|
|
366
|
-
typeValues: import('../../../..').LewSize[];
|
|
367
|
-
validator: (value: any) => boolean;
|
|
364
|
+
readonly type: PropType<import('../../../..').LewSize>;
|
|
365
|
+
readonly default: "medium";
|
|
366
|
+
readonly typeValues: import('../../../..').LewSize[];
|
|
367
|
+
readonly validator: (value: any) => boolean;
|
|
368
368
|
};
|
|
369
369
|
trigger: {
|
|
370
|
-
type: PropType<import('../../../..').LewTrigger>;
|
|
371
|
-
default:
|
|
372
|
-
typeValues: import('../../../..').LewTrigger[];
|
|
373
|
-
validator: (value: any) => boolean;
|
|
370
|
+
readonly type: PropType<import('../../../..').LewTrigger>;
|
|
371
|
+
readonly default: "click";
|
|
372
|
+
readonly typeValues: import('../../../..').LewTrigger[];
|
|
373
|
+
readonly validator: (value: any) => boolean;
|
|
374
374
|
};
|
|
375
375
|
loadMethod: {
|
|
376
|
-
type: PropType<() => Promise<LewCascaderOption[]>>;
|
|
377
|
-
default: null;
|
|
378
|
-
validator: (value: any) => boolean;
|
|
376
|
+
readonly type: PropType<() => Promise<LewCascaderOption[]>>;
|
|
377
|
+
readonly default: null;
|
|
378
|
+
readonly validator: (value: any) => boolean;
|
|
379
379
|
};
|
|
380
380
|
loadMethodId: {
|
|
381
|
-
type: StringConstructor;
|
|
382
|
-
hidden:
|
|
383
|
-
validator: (value: any) => boolean;
|
|
381
|
+
readonly type: StringConstructor;
|
|
382
|
+
readonly hidden: true;
|
|
383
|
+
readonly validator: (value: any) => boolean;
|
|
384
384
|
};
|
|
385
385
|
initMethod: {
|
|
386
|
-
type: PropType<() => Promise<LewCascaderOption[]>>;
|
|
387
|
-
default: null;
|
|
388
|
-
validator: (value: any) => boolean;
|
|
386
|
+
readonly type: PropType<() => Promise<LewCascaderOption[]>>;
|
|
387
|
+
readonly default: null;
|
|
388
|
+
readonly validator: (value: any) => boolean;
|
|
389
389
|
};
|
|
390
390
|
initMethodId: {
|
|
391
|
-
type: StringConstructor;
|
|
392
|
-
validator: (value: any) => boolean;
|
|
391
|
+
readonly type: StringConstructor;
|
|
392
|
+
readonly validator: (value: any) => boolean;
|
|
393
393
|
};
|
|
394
394
|
readonly: {
|
|
395
|
-
type: BooleanConstructor;
|
|
396
|
-
default:
|
|
397
|
-
validator: (value: any) => boolean;
|
|
395
|
+
readonly type: BooleanConstructor;
|
|
396
|
+
readonly default: false;
|
|
397
|
+
readonly validator: (value: any) => boolean;
|
|
398
398
|
};
|
|
399
399
|
onlyLeafSelectable: {
|
|
400
|
-
type: BooleanConstructor;
|
|
401
|
-
default:
|
|
402
|
-
validator: (value: any) => boolean;
|
|
400
|
+
readonly type: BooleanConstructor;
|
|
401
|
+
readonly default: true;
|
|
402
|
+
readonly validator: (value: any) => boolean;
|
|
403
403
|
};
|
|
404
404
|
multiple: {
|
|
405
|
-
type: BooleanConstructor;
|
|
406
|
-
default:
|
|
407
|
-
validator: (value: any) => boolean;
|
|
405
|
+
readonly type: BooleanConstructor;
|
|
406
|
+
readonly default: false;
|
|
407
|
+
readonly validator: (value: any) => boolean;
|
|
408
408
|
};
|
|
409
409
|
showAllLevels: {
|
|
410
|
-
type: BooleanConstructor;
|
|
411
|
-
default:
|
|
412
|
-
validator: (value: any) => boolean;
|
|
410
|
+
readonly type: BooleanConstructor;
|
|
411
|
+
readonly default: true;
|
|
412
|
+
readonly validator: (value: any) => boolean;
|
|
413
413
|
};
|
|
414
414
|
modelValue: {
|
|
415
415
|
type: globalThis.PropType<string | string[]>;
|
|
416
416
|
};
|
|
417
417
|
}>> & Readonly<{
|
|
418
|
-
onChange?: ((value:
|
|
418
|
+
onChange?: ((value: string | string[] | undefined, items: LewCascaderOption | LewCascaderOption[] | undefined) => any) | undefined;
|
|
419
419
|
onClear?: (() => any) | undefined;
|
|
420
420
|
onDelete?: ((value: string[], deletedItem: string) => any) | undefined;
|
|
421
421
|
"onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { LewCascaderOption } from '../../../../types';
|
|
1
2
|
export declare const cascaderEmits: {
|
|
2
|
-
readonly change: (value:
|
|
3
|
-
value:
|
|
4
|
-
items:
|
|
3
|
+
readonly change: (value: string | string[] | undefined, items: LewCascaderOption | LewCascaderOption[] | undefined) => {
|
|
4
|
+
value: string | string[] | undefined;
|
|
5
|
+
items: LewCascaderOption | LewCascaderOption[] | undefined;
|
|
5
6
|
};
|
|
6
7
|
readonly clear: () => boolean;
|
|
7
8
|
readonly delete: (value: string[], deletedItem: string) => {
|
|
@@ -2,86 +2,86 @@ import { Property } from 'csstype';
|
|
|
2
2
|
import { LewCascaderOption, LewSize, LewTrigger } from '../../../..';
|
|
3
3
|
import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
4
4
|
export declare const cascaderProps: {
|
|
5
|
-
options: {
|
|
6
|
-
type: PropType<LewCascaderOption[]>;
|
|
7
|
-
|
|
8
|
-
validator: (value: any[] | undefined) => boolean;
|
|
9
|
-
};
|
|
10
|
-
width: {
|
|
11
|
-
type: PropType<Property.Width>;
|
|
12
|
-
default:
|
|
13
|
-
validator: (value: string | number | undefined) => boolean;
|
|
14
|
-
};
|
|
15
|
-
placeholder: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
defaultLocale:
|
|
18
|
-
validator: (value: any) => boolean;
|
|
19
|
-
};
|
|
20
|
-
disabled: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default:
|
|
23
|
-
validator: (value: any) => boolean;
|
|
24
|
-
};
|
|
25
|
-
clearable: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default:
|
|
28
|
-
validator: (value: any) => boolean;
|
|
29
|
-
};
|
|
30
|
-
free: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default:
|
|
33
|
-
validator: (value: any) => boolean;
|
|
34
|
-
};
|
|
35
|
-
size: {
|
|
36
|
-
type: PropType<LewSize>;
|
|
37
|
-
default:
|
|
38
|
-
typeValues: LewSize[];
|
|
39
|
-
validator: (value: any) => boolean;
|
|
40
|
-
};
|
|
41
|
-
trigger: {
|
|
42
|
-
type: PropType<LewTrigger>;
|
|
43
|
-
default:
|
|
44
|
-
typeValues: LewTrigger[];
|
|
45
|
-
validator: (value: any) => boolean;
|
|
46
|
-
};
|
|
47
|
-
loadMethod: {
|
|
48
|
-
type: PropType<() => Promise<LewCascaderOption[]>>;
|
|
49
|
-
default: null;
|
|
50
|
-
validator: (value: any) => boolean;
|
|
51
|
-
};
|
|
52
|
-
loadMethodId: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
hidden:
|
|
55
|
-
validator: (value: any) => boolean;
|
|
56
|
-
};
|
|
57
|
-
initMethod: {
|
|
58
|
-
type: PropType<() => Promise<LewCascaderOption[]>>;
|
|
59
|
-
default: null;
|
|
60
|
-
validator: (value: any) => boolean;
|
|
61
|
-
};
|
|
62
|
-
initMethodId: {
|
|
63
|
-
type: StringConstructor;
|
|
64
|
-
validator: (value: any) => boolean;
|
|
65
|
-
};
|
|
66
|
-
readonly: {
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
default:
|
|
69
|
-
validator: (value: any) => boolean;
|
|
70
|
-
};
|
|
71
|
-
onlyLeafSelectable: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
default:
|
|
74
|
-
validator: (value: any) => boolean;
|
|
75
|
-
};
|
|
76
|
-
multiple: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default:
|
|
79
|
-
validator: (value: any) => boolean;
|
|
80
|
-
};
|
|
81
|
-
showAllLevels: {
|
|
82
|
-
type: BooleanConstructor;
|
|
83
|
-
default:
|
|
84
|
-
validator: (value: any) => boolean;
|
|
5
|
+
readonly options: {
|
|
6
|
+
readonly type: PropType<LewCascaderOption[]>;
|
|
7
|
+
readonly typePopKeys: readonly ["LewCascaderOption"];
|
|
8
|
+
readonly validator: (value: any[] | undefined) => boolean;
|
|
9
|
+
};
|
|
10
|
+
readonly width: {
|
|
11
|
+
readonly type: PropType<Property.Width>;
|
|
12
|
+
readonly default: "100%";
|
|
13
|
+
readonly validator: (value: string | number | undefined) => boolean;
|
|
14
|
+
};
|
|
15
|
+
readonly placeholder: {
|
|
16
|
+
readonly type: StringConstructor;
|
|
17
|
+
readonly defaultLocale: true;
|
|
18
|
+
readonly validator: (value: any) => boolean;
|
|
19
|
+
};
|
|
20
|
+
readonly disabled: {
|
|
21
|
+
readonly type: BooleanConstructor;
|
|
22
|
+
readonly default: false;
|
|
23
|
+
readonly validator: (value: any) => boolean;
|
|
24
|
+
};
|
|
25
|
+
readonly clearable: {
|
|
26
|
+
readonly type: BooleanConstructor;
|
|
27
|
+
readonly default: true;
|
|
28
|
+
readonly validator: (value: any) => boolean;
|
|
29
|
+
};
|
|
30
|
+
readonly free: {
|
|
31
|
+
readonly type: BooleanConstructor;
|
|
32
|
+
readonly default: false;
|
|
33
|
+
readonly validator: (value: any) => boolean;
|
|
34
|
+
};
|
|
35
|
+
readonly size: {
|
|
36
|
+
readonly type: PropType<LewSize>;
|
|
37
|
+
readonly default: "medium";
|
|
38
|
+
readonly typeValues: LewSize[];
|
|
39
|
+
readonly validator: (value: any) => boolean;
|
|
40
|
+
};
|
|
41
|
+
readonly trigger: {
|
|
42
|
+
readonly type: PropType<LewTrigger>;
|
|
43
|
+
readonly default: "click";
|
|
44
|
+
readonly typeValues: LewTrigger[];
|
|
45
|
+
readonly validator: (value: any) => boolean;
|
|
46
|
+
};
|
|
47
|
+
readonly loadMethod: {
|
|
48
|
+
readonly type: PropType<() => Promise<LewCascaderOption[]>>;
|
|
49
|
+
readonly default: null;
|
|
50
|
+
readonly validator: (value: any) => boolean;
|
|
51
|
+
};
|
|
52
|
+
readonly loadMethodId: {
|
|
53
|
+
readonly type: StringConstructor;
|
|
54
|
+
readonly hidden: true;
|
|
55
|
+
readonly validator: (value: any) => boolean;
|
|
56
|
+
};
|
|
57
|
+
readonly initMethod: {
|
|
58
|
+
readonly type: PropType<() => Promise<LewCascaderOption[]>>;
|
|
59
|
+
readonly default: null;
|
|
60
|
+
readonly validator: (value: any) => boolean;
|
|
61
|
+
};
|
|
62
|
+
readonly initMethodId: {
|
|
63
|
+
readonly type: StringConstructor;
|
|
64
|
+
readonly validator: (value: any) => boolean;
|
|
65
|
+
};
|
|
66
|
+
readonly readonly: {
|
|
67
|
+
readonly type: BooleanConstructor;
|
|
68
|
+
readonly default: false;
|
|
69
|
+
readonly validator: (value: any) => boolean;
|
|
70
|
+
};
|
|
71
|
+
readonly onlyLeafSelectable: {
|
|
72
|
+
readonly type: BooleanConstructor;
|
|
73
|
+
readonly default: true;
|
|
74
|
+
readonly validator: (value: any) => boolean;
|
|
75
|
+
};
|
|
76
|
+
readonly multiple: {
|
|
77
|
+
readonly type: BooleanConstructor;
|
|
78
|
+
readonly default: false;
|
|
79
|
+
readonly validator: (value: any) => boolean;
|
|
80
|
+
};
|
|
81
|
+
readonly showAllLevels: {
|
|
82
|
+
readonly type: BooleanConstructor;
|
|
83
|
+
readonly default: true;
|
|
84
|
+
readonly validator: (value: any) => boolean;
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
87
|
export type LewCascaderProps = ExtractPublicPropTypes<typeof cascaderProps>;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
label: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
validator: (value: any) => boolean;
|
|
3
|
+
readonly type: StringConstructor;
|
|
4
|
+
readonly validator: (value: any) => boolean;
|
|
5
5
|
};
|
|
6
6
|
disabled: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default:
|
|
9
|
-
validator: (value: any) => boolean;
|
|
7
|
+
readonly type: BooleanConstructor;
|
|
8
|
+
readonly default: false;
|
|
9
|
+
readonly validator: (value: any) => boolean;
|
|
10
10
|
};
|
|
11
11
|
readonly: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default:
|
|
14
|
-
validator: (value: any) => boolean;
|
|
12
|
+
readonly type: BooleanConstructor;
|
|
13
|
+
readonly default: false;
|
|
14
|
+
readonly validator: (value: any) => boolean;
|
|
15
15
|
};
|
|
16
16
|
checked: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default:
|
|
19
|
-
validator: (value: any) => boolean;
|
|
17
|
+
readonly type: BooleanConstructor;
|
|
18
|
+
readonly default: false;
|
|
19
|
+
readonly validator: (value: any) => boolean;
|
|
20
20
|
};
|
|
21
21
|
size: {
|
|
22
|
-
type: PropType<import('../../../..').LewSize>;
|
|
23
|
-
default:
|
|
24
|
-
typeValues: import('../../../..').LewSize[];
|
|
25
|
-
validator: (value: any) => boolean;
|
|
22
|
+
readonly type: PropType<import('../../../..').LewSize>;
|
|
23
|
+
readonly default: "medium";
|
|
24
|
+
readonly typeValues: import('../../../..').LewSize[];
|
|
25
|
+
readonly validator: (value: any) => boolean;
|
|
26
26
|
};
|
|
27
27
|
block: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default:
|
|
30
|
-
validator: (value: any) => boolean;
|
|
28
|
+
readonly type: BooleanConstructor;
|
|
29
|
+
readonly default: false;
|
|
30
|
+
readonly validator: (value: any) => boolean;
|
|
31
31
|
};
|
|
32
32
|
round: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default:
|
|
35
|
-
validator: (value: any) => boolean;
|
|
33
|
+
readonly type: BooleanConstructor;
|
|
34
|
+
readonly default: false;
|
|
35
|
+
readonly validator: (value: any) => boolean;
|
|
36
36
|
};
|
|
37
37
|
iconable: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
default:
|
|
40
|
-
validator: (value: any) => boolean;
|
|
38
|
+
readonly type: BooleanConstructor;
|
|
39
|
+
readonly default: true;
|
|
40
|
+
readonly validator: (value: any) => boolean;
|
|
41
41
|
};
|
|
42
42
|
certain: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default:
|
|
45
|
-
validator: (value: any) => boolean;
|
|
43
|
+
readonly type: BooleanConstructor;
|
|
44
|
+
readonly default: false;
|
|
45
|
+
readonly validator: (value: any) => boolean;
|
|
46
46
|
};
|
|
47
47
|
modelValue: {
|
|
48
48
|
type: globalThis.PropType<boolean>;
|
|
@@ -52,49 +52,49 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
52
52
|
"update:modelValue": (value: boolean) => void;
|
|
53
53
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
54
54
|
label: {
|
|
55
|
-
type: StringConstructor;
|
|
56
|
-
validator: (value: any) => boolean;
|
|
55
|
+
readonly type: StringConstructor;
|
|
56
|
+
readonly validator: (value: any) => boolean;
|
|
57
57
|
};
|
|
58
58
|
disabled: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
default:
|
|
61
|
-
validator: (value: any) => boolean;
|
|
59
|
+
readonly type: BooleanConstructor;
|
|
60
|
+
readonly default: false;
|
|
61
|
+
readonly validator: (value: any) => boolean;
|
|
62
62
|
};
|
|
63
63
|
readonly: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
default:
|
|
66
|
-
validator: (value: any) => boolean;
|
|
64
|
+
readonly type: BooleanConstructor;
|
|
65
|
+
readonly default: false;
|
|
66
|
+
readonly validator: (value: any) => boolean;
|
|
67
67
|
};
|
|
68
68
|
checked: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default:
|
|
71
|
-
validator: (value: any) => boolean;
|
|
69
|
+
readonly type: BooleanConstructor;
|
|
70
|
+
readonly default: false;
|
|
71
|
+
readonly validator: (value: any) => boolean;
|
|
72
72
|
};
|
|
73
73
|
size: {
|
|
74
|
-
type: PropType<import('../../../..').LewSize>;
|
|
75
|
-
default:
|
|
76
|
-
typeValues: import('../../../..').LewSize[];
|
|
77
|
-
validator: (value: any) => boolean;
|
|
74
|
+
readonly type: PropType<import('../../../..').LewSize>;
|
|
75
|
+
readonly default: "medium";
|
|
76
|
+
readonly typeValues: import('../../../..').LewSize[];
|
|
77
|
+
readonly validator: (value: any) => boolean;
|
|
78
78
|
};
|
|
79
79
|
block: {
|
|
80
|
-
type: BooleanConstructor;
|
|
81
|
-
default:
|
|
82
|
-
validator: (value: any) => boolean;
|
|
80
|
+
readonly type: BooleanConstructor;
|
|
81
|
+
readonly default: false;
|
|
82
|
+
readonly validator: (value: any) => boolean;
|
|
83
83
|
};
|
|
84
84
|
round: {
|
|
85
|
-
type: BooleanConstructor;
|
|
86
|
-
default:
|
|
87
|
-
validator: (value: any) => boolean;
|
|
85
|
+
readonly type: BooleanConstructor;
|
|
86
|
+
readonly default: false;
|
|
87
|
+
readonly validator: (value: any) => boolean;
|
|
88
88
|
};
|
|
89
89
|
iconable: {
|
|
90
|
-
type: BooleanConstructor;
|
|
91
|
-
default:
|
|
92
|
-
validator: (value: any) => boolean;
|
|
90
|
+
readonly type: BooleanConstructor;
|
|
91
|
+
readonly default: true;
|
|
92
|
+
readonly validator: (value: any) => boolean;
|
|
93
93
|
};
|
|
94
94
|
certain: {
|
|
95
|
-
type: BooleanConstructor;
|
|
96
|
-
default:
|
|
97
|
-
validator: (value: any) => boolean;
|
|
95
|
+
readonly type: BooleanConstructor;
|
|
96
|
+
readonly default: false;
|
|
97
|
+
readonly validator: (value: any) => boolean;
|
|
98
98
|
};
|
|
99
99
|
modelValue: {
|
|
100
100
|
type: globalThis.PropType<boolean>;
|