@quidgest/ui 0.5.18 → 0.6.0
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/index.d.ts +349 -147
- package/dist/ui.css +69 -29
- package/dist/ui.esm.js +612 -522
- package/dist/ui.esm.js.map +1 -1
- package/dist/ui.js +4 -4
- package/dist/ui.js.map +1 -1
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +51 -50
- package/dist/ui.min.js.map +1 -1
- package/dist/ui.scss +65 -28
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { nextTick } from 'vue';
|
|
|
14
14
|
import { ObjectDirective } from 'vue';
|
|
15
15
|
import type { Plugin as Plugin_2 } from 'vue';
|
|
16
16
|
import { PropType } from 'vue';
|
|
17
|
-
import
|
|
17
|
+
import { Ref } from 'vue';
|
|
18
18
|
import { RendererElement } from 'vue';
|
|
19
19
|
import { RendererNode } from 'vue';
|
|
20
20
|
import { ShallowUnwrapRef } from 'vue';
|
|
@@ -648,139 +648,16 @@ declare type QButtonToggleOption = {
|
|
|
648
648
|
label?: string;
|
|
649
649
|
};
|
|
650
650
|
|
|
651
|
-
export declare const
|
|
652
|
-
size: {
|
|
653
|
-
type: PropType<number>;
|
|
654
|
-
default: undefined;
|
|
655
|
-
};
|
|
656
|
-
type: {
|
|
657
|
-
type: PropType<"img" | "svg" | "font">;
|
|
658
|
-
default: string;
|
|
659
|
-
};
|
|
660
|
-
icon: {
|
|
661
|
-
type: PropType<string>;
|
|
662
|
-
required: true;
|
|
663
|
-
};
|
|
664
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
665
|
-
size: {
|
|
666
|
-
type: PropType<number>;
|
|
667
|
-
default: undefined;
|
|
668
|
-
};
|
|
669
|
-
type: {
|
|
670
|
-
type: PropType<"img" | "svg" | "font">;
|
|
671
|
-
default: string;
|
|
672
|
-
};
|
|
673
|
-
icon: {
|
|
674
|
-
type: PropType<string>;
|
|
675
|
-
required: true;
|
|
676
|
-
};
|
|
677
|
-
}>>, {
|
|
678
|
-
size: number;
|
|
679
|
-
type: "img" | "svg" | "font";
|
|
680
|
-
}, {}>;
|
|
681
|
-
|
|
682
|
-
export declare const QIconFont: DefineComponent<{
|
|
683
|
-
size: {
|
|
684
|
-
type: PropType<number>;
|
|
685
|
-
default: undefined;
|
|
686
|
-
};
|
|
687
|
-
icon: {
|
|
688
|
-
type: PropType<string>;
|
|
689
|
-
required: true;
|
|
690
|
-
};
|
|
691
|
-
library: {
|
|
692
|
-
type: PropType<string>;
|
|
693
|
-
default: string;
|
|
694
|
-
};
|
|
695
|
-
variant: {
|
|
696
|
-
type: PropType<string>;
|
|
697
|
-
default: string;
|
|
698
|
-
};
|
|
699
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
700
|
-
size: {
|
|
701
|
-
type: PropType<number>;
|
|
702
|
-
default: undefined;
|
|
703
|
-
};
|
|
704
|
-
icon: {
|
|
705
|
-
type: PropType<string>;
|
|
706
|
-
required: true;
|
|
707
|
-
};
|
|
708
|
-
library: {
|
|
709
|
-
type: PropType<string>;
|
|
710
|
-
default: string;
|
|
711
|
-
};
|
|
712
|
-
variant: {
|
|
713
|
-
type: PropType<string>;
|
|
714
|
-
default: string;
|
|
715
|
-
};
|
|
716
|
-
}>>, {
|
|
717
|
-
size: number;
|
|
718
|
-
library: string;
|
|
719
|
-
variant: string;
|
|
720
|
-
}, {}>;
|
|
721
|
-
|
|
722
|
-
export declare const QIconImg: DefineComponent<{
|
|
723
|
-
icon: {
|
|
724
|
-
type: PropType<string>;
|
|
725
|
-
required: true;
|
|
726
|
-
};
|
|
727
|
-
size: {
|
|
728
|
-
type: PropType<number>;
|
|
729
|
-
};
|
|
730
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
731
|
-
icon: {
|
|
732
|
-
type: PropType<string>;
|
|
733
|
-
required: true;
|
|
734
|
-
};
|
|
735
|
-
size: {
|
|
736
|
-
type: PropType<number>;
|
|
737
|
-
};
|
|
738
|
-
}>>, {}, {}>;
|
|
739
|
-
|
|
740
|
-
export declare const QIconSvg: DefineComponent<{
|
|
741
|
-
size: {
|
|
742
|
-
type: PropType<number>;
|
|
743
|
-
default: undefined;
|
|
744
|
-
};
|
|
745
|
-
icon: {
|
|
746
|
-
type: PropType<string>;
|
|
747
|
-
required: true;
|
|
748
|
-
};
|
|
749
|
-
bundle: {
|
|
750
|
-
type: PropType<string>;
|
|
751
|
-
default: string;
|
|
752
|
-
};
|
|
753
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
754
|
-
loaded: (value: unknown) => void;
|
|
755
|
-
unloaded: (value: unknown) => void;
|
|
756
|
-
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
757
|
-
size: {
|
|
758
|
-
type: PropType<number>;
|
|
759
|
-
default: undefined;
|
|
760
|
-
};
|
|
761
|
-
icon: {
|
|
762
|
-
type: PropType<string>;
|
|
763
|
-
required: true;
|
|
764
|
-
};
|
|
765
|
-
bundle: {
|
|
766
|
-
type: PropType<string>;
|
|
767
|
-
default: string;
|
|
768
|
-
};
|
|
769
|
-
}>> & {
|
|
770
|
-
onLoaded?: ((value: unknown) => any) | undefined;
|
|
771
|
-
onUnloaded?: ((value: unknown) => any) | undefined;
|
|
772
|
-
}, {
|
|
773
|
-
size: number;
|
|
774
|
-
bundle: string;
|
|
775
|
-
}, {}>;
|
|
776
|
-
|
|
777
|
-
export declare const QInput: {
|
|
651
|
+
export declare const QField: {
|
|
778
652
|
new (...args: any[]): {
|
|
779
653
|
$: ComponentInternalInstance;
|
|
780
654
|
$data: {};
|
|
781
655
|
$props: {
|
|
782
|
-
size?:
|
|
656
|
+
size?: QFieldSize | undefined;
|
|
657
|
+
label?: string | undefined;
|
|
783
658
|
disabled?: boolean | undefined;
|
|
659
|
+
required?: boolean | undefined;
|
|
660
|
+
id?: string | undefined;
|
|
784
661
|
readonly?: boolean | undefined;
|
|
785
662
|
style?: unknown;
|
|
786
663
|
class?: unknown;
|
|
@@ -842,20 +719,37 @@ export declare const QInput: {
|
|
|
842
719
|
$el: any;
|
|
843
720
|
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
844
721
|
size: {
|
|
845
|
-
type: PropType<
|
|
722
|
+
type: PropType<QFieldSize>;
|
|
723
|
+
default: string;
|
|
724
|
+
};
|
|
725
|
+
label: {
|
|
726
|
+
type: PropType<string>;
|
|
846
727
|
default: string;
|
|
847
728
|
};
|
|
848
729
|
disabled: {
|
|
849
730
|
type: PropType<boolean>;
|
|
850
731
|
default: boolean;
|
|
851
732
|
};
|
|
733
|
+
required: {
|
|
734
|
+
type: PropType<boolean>;
|
|
735
|
+
default: boolean;
|
|
736
|
+
};
|
|
737
|
+
id: {
|
|
738
|
+
type: PropType<string>;
|
|
739
|
+
default: () => string;
|
|
740
|
+
};
|
|
852
741
|
readonly: {
|
|
853
742
|
type: PropType<boolean>;
|
|
854
743
|
default: boolean;
|
|
855
744
|
};
|
|
856
|
-
}>>, {
|
|
857
|
-
|
|
745
|
+
}>>, {
|
|
746
|
+
fieldRef: Ref<HTMLElement | null>;
|
|
747
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
748
|
+
size: QFieldSize;
|
|
749
|
+
label: string;
|
|
858
750
|
disabled: boolean;
|
|
751
|
+
required: boolean;
|
|
752
|
+
id: string;
|
|
859
753
|
readonly: boolean;
|
|
860
754
|
}, {}, string, {}> & {
|
|
861
755
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -879,51 +773,93 @@ export declare const QInput: {
|
|
|
879
773
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
880
774
|
} & Readonly<ExtractPropTypes<{
|
|
881
775
|
size: {
|
|
882
|
-
type: PropType<
|
|
776
|
+
type: PropType<QFieldSize>;
|
|
777
|
+
default: string;
|
|
778
|
+
};
|
|
779
|
+
label: {
|
|
780
|
+
type: PropType<string>;
|
|
883
781
|
default: string;
|
|
884
782
|
};
|
|
885
783
|
disabled: {
|
|
886
784
|
type: PropType<boolean>;
|
|
887
785
|
default: boolean;
|
|
888
786
|
};
|
|
787
|
+
required: {
|
|
788
|
+
type: PropType<boolean>;
|
|
789
|
+
default: boolean;
|
|
790
|
+
};
|
|
791
|
+
id: {
|
|
792
|
+
type: PropType<string>;
|
|
793
|
+
default: () => string;
|
|
794
|
+
};
|
|
889
795
|
readonly: {
|
|
890
796
|
type: PropType<boolean>;
|
|
891
797
|
default: boolean;
|
|
892
798
|
};
|
|
893
|
-
}>> & ShallowUnwrapRef<{
|
|
799
|
+
}>> & ShallowUnwrapRef<{
|
|
800
|
+
fieldRef: Ref<HTMLElement | null>;
|
|
801
|
+
}> & {} & ComponentCustomProperties & {};
|
|
894
802
|
__isFragment?: undefined;
|
|
895
803
|
__isTeleport?: undefined;
|
|
896
804
|
__isSuspense?: undefined;
|
|
897
805
|
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
898
806
|
size: {
|
|
899
|
-
type: PropType<
|
|
807
|
+
type: PropType<QFieldSize>;
|
|
808
|
+
default: string;
|
|
809
|
+
};
|
|
810
|
+
label: {
|
|
811
|
+
type: PropType<string>;
|
|
900
812
|
default: string;
|
|
901
813
|
};
|
|
902
814
|
disabled: {
|
|
903
815
|
type: PropType<boolean>;
|
|
904
816
|
default: boolean;
|
|
905
817
|
};
|
|
818
|
+
required: {
|
|
819
|
+
type: PropType<boolean>;
|
|
820
|
+
default: boolean;
|
|
821
|
+
};
|
|
822
|
+
id: {
|
|
823
|
+
type: PropType<string>;
|
|
824
|
+
default: () => string;
|
|
825
|
+
};
|
|
906
826
|
readonly: {
|
|
907
827
|
type: PropType<boolean>;
|
|
908
828
|
default: boolean;
|
|
909
829
|
};
|
|
910
|
-
}>>, {
|
|
911
|
-
|
|
830
|
+
}>>, {
|
|
831
|
+
fieldRef: Ref<HTMLElement | null>;
|
|
832
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
833
|
+
size: QFieldSize;
|
|
834
|
+
label: string;
|
|
912
835
|
disabled: boolean;
|
|
836
|
+
required: boolean;
|
|
837
|
+
id: string;
|
|
913
838
|
readonly: boolean;
|
|
914
839
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
915
840
|
$slots: {
|
|
841
|
+
"label.prepend"?(_: {}): any;
|
|
842
|
+
"label.append"?(_: {}): any;
|
|
916
843
|
prepend?(_: {}): any;
|
|
917
844
|
default?(_: {}): any;
|
|
918
845
|
append?(_: {}): any;
|
|
846
|
+
extras?(_: {}): any;
|
|
919
847
|
};
|
|
920
848
|
});
|
|
921
849
|
|
|
922
|
-
export declare type
|
|
850
|
+
export declare type QFieldProps = {
|
|
851
|
+
/**
|
|
852
|
+
* The field unique identifier.
|
|
853
|
+
*/
|
|
854
|
+
id?: string;
|
|
855
|
+
/**
|
|
856
|
+
* The label of the input.
|
|
857
|
+
*/
|
|
858
|
+
label?: string;
|
|
923
859
|
/**
|
|
924
860
|
* The size category of the input.
|
|
925
861
|
*/
|
|
926
|
-
size?:
|
|
862
|
+
size?: QFieldSize;
|
|
927
863
|
/**
|
|
928
864
|
* Whether the input is readonly.
|
|
929
865
|
*/
|
|
@@ -932,9 +868,140 @@ export declare type QInputProps = {
|
|
|
932
868
|
* Whether the input is disabled.
|
|
933
869
|
*/
|
|
934
870
|
disabled?: boolean;
|
|
871
|
+
/**
|
|
872
|
+
* If set to true, an asterisk (*) is displayed
|
|
873
|
+
* to indicate that the field is required.
|
|
874
|
+
*/
|
|
875
|
+
required?: boolean;
|
|
935
876
|
};
|
|
936
877
|
|
|
937
|
-
export declare type
|
|
878
|
+
export declare type QFieldSize = 'mini' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'block';
|
|
879
|
+
|
|
880
|
+
export declare const QIcon: DefineComponent<{
|
|
881
|
+
size: {
|
|
882
|
+
type: PropType<number>;
|
|
883
|
+
default: undefined;
|
|
884
|
+
};
|
|
885
|
+
type: {
|
|
886
|
+
type: PropType<"img" | "svg" | "font">;
|
|
887
|
+
default: string;
|
|
888
|
+
};
|
|
889
|
+
icon: {
|
|
890
|
+
type: PropType<string>;
|
|
891
|
+
required: true;
|
|
892
|
+
};
|
|
893
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
894
|
+
size: {
|
|
895
|
+
type: PropType<number>;
|
|
896
|
+
default: undefined;
|
|
897
|
+
};
|
|
898
|
+
type: {
|
|
899
|
+
type: PropType<"img" | "svg" | "font">;
|
|
900
|
+
default: string;
|
|
901
|
+
};
|
|
902
|
+
icon: {
|
|
903
|
+
type: PropType<string>;
|
|
904
|
+
required: true;
|
|
905
|
+
};
|
|
906
|
+
}>>, {
|
|
907
|
+
size: number;
|
|
908
|
+
type: "img" | "svg" | "font";
|
|
909
|
+
}, {}>;
|
|
910
|
+
|
|
911
|
+
export declare const QIconFont: DefineComponent<{
|
|
912
|
+
size: {
|
|
913
|
+
type: PropType<number>;
|
|
914
|
+
default: undefined;
|
|
915
|
+
};
|
|
916
|
+
icon: {
|
|
917
|
+
type: PropType<string>;
|
|
918
|
+
required: true;
|
|
919
|
+
};
|
|
920
|
+
library: {
|
|
921
|
+
type: PropType<string>;
|
|
922
|
+
default: string;
|
|
923
|
+
};
|
|
924
|
+
variant: {
|
|
925
|
+
type: PropType<string>;
|
|
926
|
+
default: string;
|
|
927
|
+
};
|
|
928
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
929
|
+
size: {
|
|
930
|
+
type: PropType<number>;
|
|
931
|
+
default: undefined;
|
|
932
|
+
};
|
|
933
|
+
icon: {
|
|
934
|
+
type: PropType<string>;
|
|
935
|
+
required: true;
|
|
936
|
+
};
|
|
937
|
+
library: {
|
|
938
|
+
type: PropType<string>;
|
|
939
|
+
default: string;
|
|
940
|
+
};
|
|
941
|
+
variant: {
|
|
942
|
+
type: PropType<string>;
|
|
943
|
+
default: string;
|
|
944
|
+
};
|
|
945
|
+
}>>, {
|
|
946
|
+
size: number;
|
|
947
|
+
library: string;
|
|
948
|
+
variant: string;
|
|
949
|
+
}, {}>;
|
|
950
|
+
|
|
951
|
+
export declare const QIconImg: DefineComponent<{
|
|
952
|
+
icon: {
|
|
953
|
+
type: PropType<string>;
|
|
954
|
+
required: true;
|
|
955
|
+
};
|
|
956
|
+
size: {
|
|
957
|
+
type: PropType<number>;
|
|
958
|
+
};
|
|
959
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
960
|
+
icon: {
|
|
961
|
+
type: PropType<string>;
|
|
962
|
+
required: true;
|
|
963
|
+
};
|
|
964
|
+
size: {
|
|
965
|
+
type: PropType<number>;
|
|
966
|
+
};
|
|
967
|
+
}>>, {}, {}>;
|
|
968
|
+
|
|
969
|
+
export declare const QIconSvg: DefineComponent<{
|
|
970
|
+
size: {
|
|
971
|
+
type: PropType<number>;
|
|
972
|
+
default: undefined;
|
|
973
|
+
};
|
|
974
|
+
icon: {
|
|
975
|
+
type: PropType<string>;
|
|
976
|
+
required: true;
|
|
977
|
+
};
|
|
978
|
+
bundle: {
|
|
979
|
+
type: PropType<string>;
|
|
980
|
+
default: string;
|
|
981
|
+
};
|
|
982
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
983
|
+
loaded: (value: unknown) => void;
|
|
984
|
+
unloaded: (value: unknown) => void;
|
|
985
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
986
|
+
size: {
|
|
987
|
+
type: PropType<number>;
|
|
988
|
+
default: undefined;
|
|
989
|
+
};
|
|
990
|
+
icon: {
|
|
991
|
+
type: PropType<string>;
|
|
992
|
+
required: true;
|
|
993
|
+
};
|
|
994
|
+
bundle: {
|
|
995
|
+
type: PropType<string>;
|
|
996
|
+
default: string;
|
|
997
|
+
};
|
|
998
|
+
}>> & {
|
|
999
|
+
onLoaded?: ((value: unknown) => any) | undefined;
|
|
1000
|
+
onUnloaded?: ((value: unknown) => any) | undefined;
|
|
1001
|
+
}, {
|
|
1002
|
+
size: number;
|
|
1003
|
+
bundle: string;
|
|
1004
|
+
}, {}>;
|
|
938
1005
|
|
|
939
1006
|
export declare const QLineLoader: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
940
1007
|
|
|
@@ -1834,10 +1901,13 @@ export declare const QSelect: {
|
|
|
1834
1901
|
$: ComponentInternalInstance;
|
|
1835
1902
|
$data: {};
|
|
1836
1903
|
$props: {
|
|
1837
|
-
size?:
|
|
1904
|
+
size?: QFieldSize | undefined;
|
|
1905
|
+
label?: string | undefined;
|
|
1838
1906
|
disabled?: boolean | undefined;
|
|
1839
1907
|
loading?: boolean | undefined;
|
|
1840
1908
|
modelValue?: Primitive | undefined;
|
|
1909
|
+
required?: boolean | undefined;
|
|
1910
|
+
id?: string | undefined;
|
|
1841
1911
|
icons?: Record<string, Icon> | undefined;
|
|
1842
1912
|
groups?: (QListItemGroupProps & {
|
|
1843
1913
|
id: string;
|
|
@@ -1915,7 +1985,11 @@ export declare const QSelect: {
|
|
|
1915
1985
|
$el: any;
|
|
1916
1986
|
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
1917
1987
|
size: {
|
|
1918
|
-
type: PropType<
|
|
1988
|
+
type: PropType<QFieldSize>;
|
|
1989
|
+
default: string;
|
|
1990
|
+
};
|
|
1991
|
+
label: {
|
|
1992
|
+
type: PropType<string>;
|
|
1919
1993
|
default: string;
|
|
1920
1994
|
};
|
|
1921
1995
|
disabled: {
|
|
@@ -1930,6 +2004,14 @@ export declare const QSelect: {
|
|
|
1930
2004
|
type: PropType<Primitive>;
|
|
1931
2005
|
default: undefined;
|
|
1932
2006
|
};
|
|
2007
|
+
required: {
|
|
2008
|
+
type: PropType<boolean>;
|
|
2009
|
+
default: boolean;
|
|
2010
|
+
};
|
|
2011
|
+
id: {
|
|
2012
|
+
type: PropType<string>;
|
|
2013
|
+
default: () => string;
|
|
2014
|
+
};
|
|
1933
2015
|
readonly: {
|
|
1934
2016
|
type: PropType<boolean>;
|
|
1935
2017
|
};
|
|
@@ -1978,10 +2060,13 @@ export declare const QSelect: {
|
|
|
1978
2060
|
show: () => void;
|
|
1979
2061
|
hide: () => void;
|
|
1980
2062
|
}, string, {
|
|
1981
|
-
size:
|
|
2063
|
+
size: QFieldSize;
|
|
2064
|
+
label: string;
|
|
1982
2065
|
disabled: boolean;
|
|
1983
2066
|
loading: boolean;
|
|
1984
2067
|
modelValue: Primitive;
|
|
2068
|
+
required: boolean;
|
|
2069
|
+
id: string;
|
|
1985
2070
|
icons: Record<string, Icon>;
|
|
1986
2071
|
groups: (QListItemGroupProps & {
|
|
1987
2072
|
id: string;
|
|
@@ -2012,7 +2097,11 @@ export declare const QSelect: {
|
|
|
2012
2097
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2013
2098
|
} & Readonly<ExtractPropTypes<{
|
|
2014
2099
|
size: {
|
|
2015
|
-
type: PropType<
|
|
2100
|
+
type: PropType<QFieldSize>;
|
|
2101
|
+
default: string;
|
|
2102
|
+
};
|
|
2103
|
+
label: {
|
|
2104
|
+
type: PropType<string>;
|
|
2016
2105
|
default: string;
|
|
2017
2106
|
};
|
|
2018
2107
|
disabled: {
|
|
@@ -2027,6 +2116,14 @@ export declare const QSelect: {
|
|
|
2027
2116
|
type: PropType<Primitive>;
|
|
2028
2117
|
default: undefined;
|
|
2029
2118
|
};
|
|
2119
|
+
required: {
|
|
2120
|
+
type: PropType<boolean>;
|
|
2121
|
+
default: boolean;
|
|
2122
|
+
};
|
|
2123
|
+
id: {
|
|
2124
|
+
type: PropType<string>;
|
|
2125
|
+
default: () => string;
|
|
2126
|
+
};
|
|
2030
2127
|
readonly: {
|
|
2031
2128
|
type: PropType<boolean>;
|
|
2032
2129
|
};
|
|
@@ -2074,7 +2171,11 @@ export declare const QSelect: {
|
|
|
2074
2171
|
__isSuspense?: undefined;
|
|
2075
2172
|
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
2076
2173
|
size: {
|
|
2077
|
-
type: PropType<
|
|
2174
|
+
type: PropType<QFieldSize>;
|
|
2175
|
+
default: string;
|
|
2176
|
+
};
|
|
2177
|
+
label: {
|
|
2178
|
+
type: PropType<string>;
|
|
2078
2179
|
default: string;
|
|
2079
2180
|
};
|
|
2080
2181
|
disabled: {
|
|
@@ -2089,6 +2190,14 @@ export declare const QSelect: {
|
|
|
2089
2190
|
type: PropType<Primitive>;
|
|
2090
2191
|
default: undefined;
|
|
2091
2192
|
};
|
|
2193
|
+
required: {
|
|
2194
|
+
type: PropType<boolean>;
|
|
2195
|
+
default: boolean;
|
|
2196
|
+
};
|
|
2197
|
+
id: {
|
|
2198
|
+
type: PropType<string>;
|
|
2199
|
+
default: () => string;
|
|
2200
|
+
};
|
|
2092
2201
|
readonly: {
|
|
2093
2202
|
type: PropType<boolean>;
|
|
2094
2203
|
};
|
|
@@ -2137,10 +2246,13 @@ export declare const QSelect: {
|
|
|
2137
2246
|
show: () => void;
|
|
2138
2247
|
hide: () => void;
|
|
2139
2248
|
}, string, {
|
|
2140
|
-
size:
|
|
2249
|
+
size: QFieldSize;
|
|
2250
|
+
label: string;
|
|
2141
2251
|
disabled: boolean;
|
|
2142
2252
|
loading: boolean;
|
|
2143
2253
|
modelValue: Primitive;
|
|
2254
|
+
required: boolean;
|
|
2255
|
+
id: string;
|
|
2144
2256
|
icons: Record<string, Icon>;
|
|
2145
2257
|
groups: (QListItemGroupProps & {
|
|
2146
2258
|
id: string;
|
|
@@ -2170,6 +2282,96 @@ export declare const QSpinnerLoader: DefineComponent<{
|
|
|
2170
2282
|
size: number;
|
|
2171
2283
|
}, {}>;
|
|
2172
2284
|
|
|
2285
|
+
export declare const QTextField: DefineComponent<{
|
|
2286
|
+
size: {
|
|
2287
|
+
type: PropType<QFieldSize>;
|
|
2288
|
+
default: string;
|
|
2289
|
+
};
|
|
2290
|
+
label: {
|
|
2291
|
+
type: PropType<string>;
|
|
2292
|
+
default: string;
|
|
2293
|
+
};
|
|
2294
|
+
disabled: {
|
|
2295
|
+
type: PropType<boolean>;
|
|
2296
|
+
default: boolean;
|
|
2297
|
+
};
|
|
2298
|
+
modelValue: {
|
|
2299
|
+
type: PropType<string>;
|
|
2300
|
+
default: string;
|
|
2301
|
+
};
|
|
2302
|
+
required: {
|
|
2303
|
+
type: PropType<boolean>;
|
|
2304
|
+
default: boolean;
|
|
2305
|
+
};
|
|
2306
|
+
id: {
|
|
2307
|
+
type: PropType<string>;
|
|
2308
|
+
default: () => string;
|
|
2309
|
+
};
|
|
2310
|
+
readonly: {
|
|
2311
|
+
type: PropType<boolean>;
|
|
2312
|
+
default: boolean;
|
|
2313
|
+
};
|
|
2314
|
+
placeholder: {
|
|
2315
|
+
type: PropType<string>;
|
|
2316
|
+
default: string;
|
|
2317
|
+
};
|
|
2318
|
+
maxLength: {
|
|
2319
|
+
type: PropType<number>;
|
|
2320
|
+
default: undefined;
|
|
2321
|
+
};
|
|
2322
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2323
|
+
"update:modelValue": (value: string) => void;
|
|
2324
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
2325
|
+
size: {
|
|
2326
|
+
type: PropType<QFieldSize>;
|
|
2327
|
+
default: string;
|
|
2328
|
+
};
|
|
2329
|
+
label: {
|
|
2330
|
+
type: PropType<string>;
|
|
2331
|
+
default: string;
|
|
2332
|
+
};
|
|
2333
|
+
disabled: {
|
|
2334
|
+
type: PropType<boolean>;
|
|
2335
|
+
default: boolean;
|
|
2336
|
+
};
|
|
2337
|
+
modelValue: {
|
|
2338
|
+
type: PropType<string>;
|
|
2339
|
+
default: string;
|
|
2340
|
+
};
|
|
2341
|
+
required: {
|
|
2342
|
+
type: PropType<boolean>;
|
|
2343
|
+
default: boolean;
|
|
2344
|
+
};
|
|
2345
|
+
id: {
|
|
2346
|
+
type: PropType<string>;
|
|
2347
|
+
default: () => string;
|
|
2348
|
+
};
|
|
2349
|
+
readonly: {
|
|
2350
|
+
type: PropType<boolean>;
|
|
2351
|
+
default: boolean;
|
|
2352
|
+
};
|
|
2353
|
+
placeholder: {
|
|
2354
|
+
type: PropType<string>;
|
|
2355
|
+
default: string;
|
|
2356
|
+
};
|
|
2357
|
+
maxLength: {
|
|
2358
|
+
type: PropType<number>;
|
|
2359
|
+
default: undefined;
|
|
2360
|
+
};
|
|
2361
|
+
}>> & {
|
|
2362
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
2363
|
+
}, {
|
|
2364
|
+
size: QFieldSize;
|
|
2365
|
+
label: string;
|
|
2366
|
+
disabled: boolean;
|
|
2367
|
+
modelValue: string;
|
|
2368
|
+
required: boolean;
|
|
2369
|
+
id: string;
|
|
2370
|
+
readonly: boolean;
|
|
2371
|
+
placeholder: string;
|
|
2372
|
+
maxLength: number;
|
|
2373
|
+
}, {}>;
|
|
2374
|
+
|
|
2173
2375
|
export declare const QTooltip: DefineComponent<{
|
|
2174
2376
|
html: {
|
|
2175
2377
|
type: PropType<boolean>;
|
|
@@ -2266,7 +2468,7 @@ export declare const QTooltip: DefineComponent<{
|
|
|
2266
2468
|
trigger: Trigger;
|
|
2267
2469
|
}, {}>;
|
|
2268
2470
|
|
|
2269
|
-
declare type Selector = string |
|
|
2471
|
+
declare type Selector = string | HTMLElement | ComponentPublicInstance;
|
|
2270
2472
|
|
|
2271
2473
|
declare type ThemeConfiguration = {
|
|
2272
2474
|
activeTheme: string;
|