@dao-style/core 1.13.1-beta.2 → 1.13.1-beta.4
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/action-icon/action-icon.d.ts +178 -13
- package/dist/components/action-icon/action-icon.vue.d.ts +74 -6
- package/dist/components/action-icon/props.d.ts +22 -2
- package/dist/components/button/button.d.ts +178 -13
- package/dist/components/button/button.vue.d.ts +74 -6
- package/dist/components/button/props.d.ts +22 -2
- package/dist/components/dropdown/dropdown-item.d.ts +178 -13
- package/dist/components/dropdown/dropdown-item.vue.d.ts +74 -6
- package/dist/components/dropdown/props.d.ts +22 -2
- package/dist/components/select/props.d.ts +11 -1
- package/dist/components/select/select.d.ts +49 -4
- package/dist/components/select/select.vue.d.ts +21 -1
- package/dist/components/table/column-setting.vue.d.ts +178 -13
- package/dist/components/tooltip/tooltip-props.d.ts +2 -0
- package/dist/components/virtual-select/props.d.ts +11 -1
- package/dist/components/virtual-select/virtual-select.d.ts +49 -4
- package/dist/components/virtual-select/virtual-select.vue.d.ts +21 -1
- package/dist/dao-style.js +7 -7
- package/dist/dao-style.mjs +5380 -5248
- package/dist/utils/types.d.ts +20 -0
- package/package.json +1 -1
|
@@ -406,7 +406,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
406
406
|
active: boolean;
|
|
407
407
|
tooltipContent: string;
|
|
408
408
|
tooltipDisabled: boolean;
|
|
409
|
-
tooltipOption: {
|
|
409
|
+
tooltipOption: Partial<{
|
|
410
410
|
modelValue: boolean;
|
|
411
411
|
disabled: boolean;
|
|
412
412
|
offset: string | number;
|
|
@@ -421,7 +421,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
421
421
|
popperClass: string;
|
|
422
422
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
423
423
|
transition: string;
|
|
424
|
-
}
|
|
424
|
+
} & {} & {
|
|
425
|
+
onHide: () => void;
|
|
426
|
+
onShow: () => void;
|
|
427
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
428
|
+
onAfterShow: () => void;
|
|
429
|
+
onAfterHide: () => void;
|
|
430
|
+
}>;
|
|
425
431
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
426
432
|
name: {
|
|
427
433
|
type: StringConstructor;
|
|
@@ -449,7 +455,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
449
455
|
default: boolean;
|
|
450
456
|
};
|
|
451
457
|
tooltipOption: {
|
|
452
|
-
type: import("vue").PropType<
|
|
458
|
+
type: import("vue").PropType<Partial<{
|
|
459
|
+
modelValue: boolean;
|
|
460
|
+
disabled: boolean;
|
|
461
|
+
offset: string | number;
|
|
462
|
+
placement: import("@popperjs/core").Placement;
|
|
463
|
+
content: string;
|
|
464
|
+
appendTo: string | false | HTMLElement;
|
|
465
|
+
boundary: import("@popperjs/core").Boundary;
|
|
466
|
+
delay: import("../popper").DelayProp;
|
|
467
|
+
width: string | number;
|
|
468
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
469
|
+
visibleArrow: boolean;
|
|
470
|
+
popperClass: string;
|
|
471
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
472
|
+
transition: string;
|
|
473
|
+
} & {} & {
|
|
474
|
+
onHide: () => void;
|
|
475
|
+
onShow: () => void;
|
|
476
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
477
|
+
onAfterShow: () => void;
|
|
478
|
+
onAfterHide: () => void;
|
|
479
|
+
}>>;
|
|
453
480
|
default: () => {};
|
|
454
481
|
};
|
|
455
482
|
active: {
|
|
@@ -497,7 +524,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
497
524
|
default: boolean;
|
|
498
525
|
};
|
|
499
526
|
tooltipOption: {
|
|
500
|
-
type: import("vue").PropType<
|
|
527
|
+
type: import("vue").PropType<Partial<{
|
|
528
|
+
modelValue: boolean;
|
|
529
|
+
disabled: boolean;
|
|
530
|
+
offset: string | number;
|
|
531
|
+
placement: import("@popperjs/core").Placement;
|
|
532
|
+
content: string;
|
|
533
|
+
appendTo: string | false | HTMLElement;
|
|
534
|
+
boundary: import("@popperjs/core").Boundary;
|
|
535
|
+
delay: import("../popper").DelayProp;
|
|
536
|
+
width: string | number;
|
|
537
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
538
|
+
visibleArrow: boolean;
|
|
539
|
+
popperClass: string;
|
|
540
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
541
|
+
transition: string;
|
|
542
|
+
} & {} & {
|
|
543
|
+
onHide: () => void;
|
|
544
|
+
onShow: () => void;
|
|
545
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
546
|
+
onAfterShow: () => void;
|
|
547
|
+
onAfterHide: () => void;
|
|
548
|
+
}>>;
|
|
501
549
|
default: () => {};
|
|
502
550
|
};
|
|
503
551
|
active: {
|
|
@@ -508,7 +556,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
508
556
|
isDivider: boolean;
|
|
509
557
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
510
558
|
classList: import("vue").ComputedRef<string[]>;
|
|
511
|
-
actualTooltipOption: import("vue").ComputedRef<
|
|
559
|
+
actualTooltipOption: import("vue").ComputedRef<Partial<{
|
|
560
|
+
modelValue: boolean;
|
|
561
|
+
disabled: boolean;
|
|
562
|
+
offset: string | number;
|
|
563
|
+
placement: import("@popperjs/core").Placement;
|
|
564
|
+
content: string;
|
|
565
|
+
appendTo: string | false | HTMLElement;
|
|
566
|
+
boundary: import("@popperjs/core").Boundary;
|
|
567
|
+
delay: import("../popper").DelayProp;
|
|
568
|
+
width: string | number;
|
|
569
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
570
|
+
visibleArrow: boolean;
|
|
571
|
+
popperClass: string;
|
|
572
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
573
|
+
transition: string;
|
|
574
|
+
} & {} & {
|
|
575
|
+
onHide: () => void;
|
|
576
|
+
onShow: () => void;
|
|
577
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
578
|
+
onAfterShow: () => void;
|
|
579
|
+
onAfterHide: () => void;
|
|
580
|
+
}>>;
|
|
512
581
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
513
582
|
type: import("../action-icon").ActionIconType;
|
|
514
583
|
disabled: boolean;
|
|
@@ -517,7 +586,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
517
586
|
active: boolean;
|
|
518
587
|
tooltipContent: string;
|
|
519
588
|
tooltipDisabled: boolean;
|
|
520
|
-
tooltipOption: {
|
|
589
|
+
tooltipOption: Partial<{
|
|
521
590
|
modelValue: boolean;
|
|
522
591
|
disabled: boolean;
|
|
523
592
|
offset: string | number;
|
|
@@ -532,7 +601,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
532
601
|
popperClass: string;
|
|
533
602
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
534
603
|
transition: string;
|
|
535
|
-
}
|
|
604
|
+
} & {} & {
|
|
605
|
+
onHide: () => void;
|
|
606
|
+
onShow: () => void;
|
|
607
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
608
|
+
onAfterShow: () => void;
|
|
609
|
+
onAfterHide: () => void;
|
|
610
|
+
}>;
|
|
536
611
|
}, {}, string> & {
|
|
537
612
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
538
613
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -580,7 +655,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
580
655
|
default: boolean;
|
|
581
656
|
};
|
|
582
657
|
tooltipOption: {
|
|
583
|
-
type: import("vue").PropType<
|
|
658
|
+
type: import("vue").PropType<Partial<{
|
|
659
|
+
modelValue: boolean;
|
|
660
|
+
disabled: boolean;
|
|
661
|
+
offset: string | number;
|
|
662
|
+
placement: import("@popperjs/core").Placement;
|
|
663
|
+
content: string;
|
|
664
|
+
appendTo: string | false | HTMLElement;
|
|
665
|
+
boundary: import("@popperjs/core").Boundary;
|
|
666
|
+
delay: import("../popper").DelayProp;
|
|
667
|
+
width: string | number;
|
|
668
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
669
|
+
visibleArrow: boolean;
|
|
670
|
+
popperClass: string;
|
|
671
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
672
|
+
transition: string;
|
|
673
|
+
} & {} & {
|
|
674
|
+
onHide: () => void;
|
|
675
|
+
onShow: () => void;
|
|
676
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
677
|
+
onAfterShow: () => void;
|
|
678
|
+
onAfterHide: () => void;
|
|
679
|
+
}>>;
|
|
584
680
|
default: () => {};
|
|
585
681
|
};
|
|
586
682
|
active: {
|
|
@@ -591,7 +687,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
591
687
|
isDivider: boolean;
|
|
592
688
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
593
689
|
classList: import("vue").ComputedRef<string[]>;
|
|
594
|
-
actualTooltipOption: import("vue").ComputedRef<
|
|
690
|
+
actualTooltipOption: import("vue").ComputedRef<Partial<{
|
|
691
|
+
modelValue: boolean;
|
|
692
|
+
disabled: boolean;
|
|
693
|
+
offset: string | number;
|
|
694
|
+
placement: import("@popperjs/core").Placement;
|
|
695
|
+
content: string;
|
|
696
|
+
appendTo: string | false | HTMLElement;
|
|
697
|
+
boundary: import("@popperjs/core").Boundary;
|
|
698
|
+
delay: import("../popper").DelayProp;
|
|
699
|
+
width: string | number;
|
|
700
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
701
|
+
visibleArrow: boolean;
|
|
702
|
+
popperClass: string;
|
|
703
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
704
|
+
transition: string;
|
|
705
|
+
} & {} & {
|
|
706
|
+
onHide: () => void;
|
|
707
|
+
onShow: () => void;
|
|
708
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
709
|
+
onAfterShow: () => void;
|
|
710
|
+
onAfterHide: () => void;
|
|
711
|
+
}>>;
|
|
595
712
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
596
713
|
__isFragment?: undefined;
|
|
597
714
|
__isTeleport?: undefined;
|
|
@@ -623,7 +740,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
623
740
|
default: boolean;
|
|
624
741
|
};
|
|
625
742
|
tooltipOption: {
|
|
626
|
-
type: import("vue").PropType<
|
|
743
|
+
type: import("vue").PropType<Partial<{
|
|
744
|
+
modelValue: boolean;
|
|
745
|
+
disabled: boolean;
|
|
746
|
+
offset: string | number;
|
|
747
|
+
placement: import("@popperjs/core").Placement;
|
|
748
|
+
content: string;
|
|
749
|
+
appendTo: string | false | HTMLElement;
|
|
750
|
+
boundary: import("@popperjs/core").Boundary;
|
|
751
|
+
delay: import("../popper").DelayProp;
|
|
752
|
+
width: string | number;
|
|
753
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
754
|
+
visibleArrow: boolean;
|
|
755
|
+
popperClass: string;
|
|
756
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
757
|
+
transition: string;
|
|
758
|
+
} & {} & {
|
|
759
|
+
onHide: () => void;
|
|
760
|
+
onShow: () => void;
|
|
761
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
762
|
+
onAfterShow: () => void;
|
|
763
|
+
onAfterHide: () => void;
|
|
764
|
+
}>>;
|
|
627
765
|
default: () => {};
|
|
628
766
|
};
|
|
629
767
|
active: {
|
|
@@ -634,7 +772,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
634
772
|
isDivider: boolean;
|
|
635
773
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
636
774
|
classList: import("vue").ComputedRef<string[]>;
|
|
637
|
-
actualTooltipOption: import("vue").ComputedRef<
|
|
775
|
+
actualTooltipOption: import("vue").ComputedRef<Partial<{
|
|
776
|
+
modelValue: boolean;
|
|
777
|
+
disabled: boolean;
|
|
778
|
+
offset: string | number;
|
|
779
|
+
placement: import("@popperjs/core").Placement;
|
|
780
|
+
content: string;
|
|
781
|
+
appendTo: string | false | HTMLElement;
|
|
782
|
+
boundary: import("@popperjs/core").Boundary;
|
|
783
|
+
delay: import("../popper").DelayProp;
|
|
784
|
+
width: string | number;
|
|
785
|
+
trigger: "manual" | import("../popper").PopperTrigger | import("../popper").PopperTrigger[];
|
|
786
|
+
visibleArrow: boolean;
|
|
787
|
+
popperClass: string;
|
|
788
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
789
|
+
transition: string;
|
|
790
|
+
} & {} & {
|
|
791
|
+
onHide: () => void;
|
|
792
|
+
onShow: () => void;
|
|
793
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
794
|
+
onAfterShow: () => void;
|
|
795
|
+
onAfterHide: () => void;
|
|
796
|
+
}>>;
|
|
638
797
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
639
798
|
type: import("../action-icon").ActionIconType;
|
|
640
799
|
disabled: boolean;
|
|
@@ -643,7 +802,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
643
802
|
active: boolean;
|
|
644
803
|
tooltipContent: string;
|
|
645
804
|
tooltipDisabled: boolean;
|
|
646
|
-
tooltipOption: {
|
|
805
|
+
tooltipOption: Partial<{
|
|
647
806
|
modelValue: boolean;
|
|
648
807
|
disabled: boolean;
|
|
649
808
|
offset: string | number;
|
|
@@ -658,7 +817,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
658
817
|
popperClass: string;
|
|
659
818
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
660
819
|
transition: string;
|
|
661
|
-
}
|
|
820
|
+
} & {} & {
|
|
821
|
+
onHide: () => void;
|
|
822
|
+
onShow: () => void;
|
|
823
|
+
"onUpdate:modelValue": (isOpen: boolean) => void;
|
|
824
|
+
onAfterShow: () => void;
|
|
825
|
+
onAfterHide: () => void;
|
|
826
|
+
}>;
|
|
662
827
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
663
828
|
$props: Partial<import("../action-icon").ActionIconProps>;
|
|
664
829
|
$slots: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ParseEmits } from '../../utils/types';
|
|
2
3
|
export declare const tooltipProps: {
|
|
3
4
|
offset: {
|
|
4
5
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -66,4 +67,5 @@ export declare const tooltipEmits: {
|
|
|
66
67
|
'after-show': () => void;
|
|
67
68
|
'after-hide': () => void;
|
|
68
69
|
};
|
|
70
|
+
export type TooltipOption = Partial<TooltipProps & ParseEmits<TooltipEmits>>;
|
|
69
71
|
export type TooltipEmits = typeof tooltipEmits;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ExtractPropTypes, PropType } from 'vue';
|
|
1
|
+
import type { ExtractPropTypes, PropType, UnwrapNestedRefs } from 'vue';
|
|
2
|
+
import { useScroll } from '@vueuse/core';
|
|
2
3
|
import type { DaoVirtualSelectSearchFn, OptionType } from './types';
|
|
3
4
|
import { OptionValue } from '../select/types';
|
|
4
5
|
export declare const virtualSelectProps: {
|
|
@@ -80,6 +81,14 @@ export declare const virtualSelectProps: {
|
|
|
80
81
|
type: BooleanConstructor;
|
|
81
82
|
default: boolean;
|
|
82
83
|
};
|
|
84
|
+
enableLazyLoad: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
lazyLoadOptions: {
|
|
89
|
+
type: PropType<import("@vueuse/core").UseInfiniteScrollOptions>;
|
|
90
|
+
default: undefined;
|
|
91
|
+
};
|
|
83
92
|
};
|
|
84
93
|
export type virtualSelectProps = ExtractPropTypes<typeof virtualSelectProps>;
|
|
85
94
|
export declare const virtualOptionProps: {
|
|
@@ -103,6 +112,7 @@ export declare const virtualSelectEmits: {
|
|
|
103
112
|
'search-change': (search: string) => void;
|
|
104
113
|
close: () => void;
|
|
105
114
|
open: () => void;
|
|
115
|
+
'load-more': (state: UnwrapNestedRefs<ReturnType<typeof useScroll>>) => void;
|
|
106
116
|
};
|
|
107
117
|
export declare const virtualOptionEmits: {
|
|
108
118
|
select: (val: OptionType) => void;
|
|
@@ -23,6 +23,8 @@ declare const DaoVirtualSelect: {
|
|
|
23
23
|
menuClass: string;
|
|
24
24
|
optionLoading: boolean;
|
|
25
25
|
hideSelectAll: boolean;
|
|
26
|
+
enableLazyLoad: boolean;
|
|
27
|
+
lazyLoadOptions: import("@vueuse/core").UseInfiniteScrollOptions;
|
|
26
28
|
valueKey: string;
|
|
27
29
|
labelKey: string;
|
|
28
30
|
itemHeight: number;
|
|
@@ -105,13 +107,22 @@ declare const DaoVirtualSelect: {
|
|
|
105
107
|
type: BooleanConstructor;
|
|
106
108
|
default: boolean;
|
|
107
109
|
};
|
|
110
|
+
enableLazyLoad: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
lazyLoadOptions: {
|
|
115
|
+
type: import("vue").PropType<import("@vueuse/core").UseInfiniteScrollOptions>;
|
|
116
|
+
default: undefined;
|
|
117
|
+
};
|
|
108
118
|
}>> & {
|
|
109
119
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
110
120
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
111
121
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
112
122
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
113
123
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
114
|
-
|
|
124
|
+
"onLoad-more"?: ((...args: any[]) => any) | undefined;
|
|
125
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "modelValue" | "disabled" | "appendTo" | "size" | "multiple" | "options" | "loading" | "status" | "clearable" | "placeholder" | "optionsPlaceholder" | "searchPlaceholder" | "menuClass" | "optionLoading" | "hideSelectAll" | "enableLazyLoad" | "lazyLoadOptions" | "valueKey" | "labelKey" | "itemHeight">;
|
|
115
126
|
$attrs: {
|
|
116
127
|
[x: string]: unknown;
|
|
117
128
|
};
|
|
@@ -123,7 +134,7 @@ declare const DaoVirtualSelect: {
|
|
|
123
134
|
}>;
|
|
124
135
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
125
136
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
126
|
-
$emit: (event: "open" | "close" | "change" | "update:modelValue" | "search-change", ...args: any[]) => void;
|
|
137
|
+
$emit: (event: "open" | "close" | "change" | "update:modelValue" | "search-change" | "load-more", ...args: any[]) => void;
|
|
127
138
|
$el: any;
|
|
128
139
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
129
140
|
search: {
|
|
@@ -204,12 +215,21 @@ declare const DaoVirtualSelect: {
|
|
|
204
215
|
type: BooleanConstructor;
|
|
205
216
|
default: boolean;
|
|
206
217
|
};
|
|
218
|
+
enableLazyLoad: {
|
|
219
|
+
type: BooleanConstructor;
|
|
220
|
+
default: boolean;
|
|
221
|
+
};
|
|
222
|
+
lazyLoadOptions: {
|
|
223
|
+
type: import("vue").PropType<import("@vueuse/core").UseInfiniteScrollOptions>;
|
|
224
|
+
default: undefined;
|
|
225
|
+
};
|
|
207
226
|
}>> & {
|
|
208
227
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
209
228
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
210
229
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
211
230
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
212
231
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
232
|
+
"onLoad-more"?: ((...args: any[]) => any) | undefined;
|
|
213
233
|
}, {
|
|
214
234
|
t: import("vue-i18n").ComposerTranslation<{
|
|
215
235
|
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
@@ -620,7 +640,8 @@ declare const DaoVirtualSelect: {
|
|
|
620
640
|
onSelect: (option: OptionType) => void;
|
|
621
641
|
handleCheckAll: (checked: boolean) => void;
|
|
622
642
|
isDisabled: import("vue").ComputedRef<boolean>;
|
|
623
|
-
|
|
643
|
+
optionListRef: import("vue").Ref<any>;
|
|
644
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change" | "load-more")[], string, {
|
|
624
645
|
search: boolean | import("./types").DaoVirtualSelectSearchFn;
|
|
625
646
|
modelValue: string | number | boolean | unknown[];
|
|
626
647
|
disabled: boolean;
|
|
@@ -637,6 +658,8 @@ declare const DaoVirtualSelect: {
|
|
|
637
658
|
menuClass: string;
|
|
638
659
|
optionLoading: boolean;
|
|
639
660
|
hideSelectAll: boolean;
|
|
661
|
+
enableLazyLoad: boolean;
|
|
662
|
+
lazyLoadOptions: import("@vueuse/core").UseInfiniteScrollOptions;
|
|
640
663
|
valueKey: string;
|
|
641
664
|
labelKey: string;
|
|
642
665
|
itemHeight: number;
|
|
@@ -739,12 +762,21 @@ declare const DaoVirtualSelect: {
|
|
|
739
762
|
type: BooleanConstructor;
|
|
740
763
|
default: boolean;
|
|
741
764
|
};
|
|
765
|
+
enableLazyLoad: {
|
|
766
|
+
type: BooleanConstructor;
|
|
767
|
+
default: boolean;
|
|
768
|
+
};
|
|
769
|
+
lazyLoadOptions: {
|
|
770
|
+
type: import("vue").PropType<import("@vueuse/core").UseInfiniteScrollOptions>;
|
|
771
|
+
default: undefined;
|
|
772
|
+
};
|
|
742
773
|
}>> & {
|
|
743
774
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
744
775
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
745
776
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
746
777
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
747
778
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
779
|
+
"onLoad-more"?: ((...args: any[]) => any) | undefined;
|
|
748
780
|
} & import("vue").ShallowUnwrapRef<{
|
|
749
781
|
t: import("vue-i18n").ComposerTranslation<{
|
|
750
782
|
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
@@ -1155,6 +1187,7 @@ declare const DaoVirtualSelect: {
|
|
|
1155
1187
|
onSelect: (option: OptionType) => void;
|
|
1156
1188
|
handleCheckAll: (checked: boolean) => void;
|
|
1157
1189
|
isDisabled: import("vue").ComputedRef<boolean>;
|
|
1190
|
+
optionListRef: import("vue").Ref<any>;
|
|
1158
1191
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
1159
1192
|
__isFragment?: undefined;
|
|
1160
1193
|
__isTeleport?: undefined;
|
|
@@ -1238,12 +1271,21 @@ declare const DaoVirtualSelect: {
|
|
|
1238
1271
|
type: BooleanConstructor;
|
|
1239
1272
|
default: boolean;
|
|
1240
1273
|
};
|
|
1274
|
+
enableLazyLoad: {
|
|
1275
|
+
type: BooleanConstructor;
|
|
1276
|
+
default: boolean;
|
|
1277
|
+
};
|
|
1278
|
+
lazyLoadOptions: {
|
|
1279
|
+
type: import("vue").PropType<import("@vueuse/core").UseInfiniteScrollOptions>;
|
|
1280
|
+
default: undefined;
|
|
1281
|
+
};
|
|
1241
1282
|
}>> & {
|
|
1242
1283
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1243
1284
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1244
1285
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
1245
1286
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
1246
1287
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
1288
|
+
"onLoad-more"?: ((...args: any[]) => any) | undefined;
|
|
1247
1289
|
}, {
|
|
1248
1290
|
t: import("vue-i18n").ComposerTranslation<{
|
|
1249
1291
|
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
@@ -1654,7 +1696,8 @@ declare const DaoVirtualSelect: {
|
|
|
1654
1696
|
onSelect: (option: OptionType) => void;
|
|
1655
1697
|
handleCheckAll: (checked: boolean) => void;
|
|
1656
1698
|
isDisabled: import("vue").ComputedRef<boolean>;
|
|
1657
|
-
|
|
1699
|
+
optionListRef: import("vue").Ref<any>;
|
|
1700
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change" | "load-more")[], "open" | "close" | "change" | "update:modelValue" | "search-change" | "load-more", {
|
|
1658
1701
|
search: boolean | import("./types").DaoVirtualSelectSearchFn;
|
|
1659
1702
|
modelValue: string | number | boolean | unknown[];
|
|
1660
1703
|
disabled: boolean;
|
|
@@ -1671,6 +1714,8 @@ declare const DaoVirtualSelect: {
|
|
|
1671
1714
|
menuClass: string;
|
|
1672
1715
|
optionLoading: boolean;
|
|
1673
1716
|
hideSelectAll: boolean;
|
|
1717
|
+
enableLazyLoad: boolean;
|
|
1718
|
+
lazyLoadOptions: import("@vueuse/core").UseInfiniteScrollOptions;
|
|
1674
1719
|
valueKey: string;
|
|
1675
1720
|
labelKey: string;
|
|
1676
1721
|
itemHeight: number;
|
|
@@ -80,6 +80,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
type: BooleanConstructor;
|
|
81
81
|
default: boolean;
|
|
82
82
|
};
|
|
83
|
+
enableLazyLoad: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
lazyLoadOptions: {
|
|
88
|
+
type: import("vue").PropType<import("@vueuse/core").UseInfiniteScrollOptions>;
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
83
91
|
}, {
|
|
84
92
|
t: import("vue-i18n").ComposerTranslation<{
|
|
85
93
|
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
@@ -490,7 +498,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
490
498
|
onSelect: (option: OptionType) => void;
|
|
491
499
|
handleCheckAll: (checked: boolean) => void;
|
|
492
500
|
isDisabled: import("vue").ComputedRef<boolean>;
|
|
493
|
-
|
|
501
|
+
optionListRef: import("vue").Ref<any>;
|
|
502
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change" | "load-more")[], "open" | "close" | "change" | "update:modelValue" | "search-change" | "load-more", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
494
503
|
search: {
|
|
495
504
|
type: import("vue").PropType<boolean | import("./types").DaoVirtualSelectSearchFn>;
|
|
496
505
|
default: boolean;
|
|
@@ -569,12 +578,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
569
578
|
type: BooleanConstructor;
|
|
570
579
|
default: boolean;
|
|
571
580
|
};
|
|
581
|
+
enableLazyLoad: {
|
|
582
|
+
type: BooleanConstructor;
|
|
583
|
+
default: boolean;
|
|
584
|
+
};
|
|
585
|
+
lazyLoadOptions: {
|
|
586
|
+
type: import("vue").PropType<import("@vueuse/core").UseInfiniteScrollOptions>;
|
|
587
|
+
default: undefined;
|
|
588
|
+
};
|
|
572
589
|
}>> & {
|
|
573
590
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
574
591
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
575
592
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
576
593
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
577
594
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
595
|
+
"onLoad-more"?: ((...args: any[]) => any) | undefined;
|
|
578
596
|
}, {
|
|
579
597
|
search: boolean | import("./types").DaoVirtualSelectSearchFn;
|
|
580
598
|
modelValue: string | number | boolean | unknown[];
|
|
@@ -592,6 +610,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
592
610
|
menuClass: string;
|
|
593
611
|
optionLoading: boolean;
|
|
594
612
|
hideSelectAll: boolean;
|
|
613
|
+
enableLazyLoad: boolean;
|
|
614
|
+
lazyLoadOptions: import("@vueuse/core").UseInfiniteScrollOptions;
|
|
595
615
|
valueKey: string;
|
|
596
616
|
labelKey: string;
|
|
597
617
|
itemHeight: number;
|