@quidgest/ui 0.3.2 → 0.4.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/ui.esm.js +1223 -786
- 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.js +256 -218
- package/dist/ui.min.js.map +1 -1
- package/lib/components/QButton/QButton.vue.d.ts +4 -4
- package/lib/components/QButton/QButton.vue.d.ts.map +1 -1
- package/lib/components/QIcon/QIcon.vue.d.ts +23 -19
- package/lib/components/QIcon/QIcon.vue.d.ts.map +1 -1
- package/lib/components/QIcon/QIconFont.vue.d.ts.map +1 -1
- package/lib/components/QIcon/QIconImg.vue.d.ts.map +1 -1
- package/lib/components/QIcon/index.d.ts +2 -0
- package/lib/components/QIcon/index.d.ts.map +1 -1
- package/lib/components/QInput/QInput.vue.d.ts +43 -0
- package/lib/components/QInput/QInput.vue.d.ts.map +1 -0
- package/lib/components/QInput/index.d.ts +3 -0
- package/lib/components/QInput/index.d.ts.map +1 -0
- package/lib/components/QList/QList.vue.d.ts +66 -0
- package/lib/components/QList/QList.vue.d.ts.map +1 -0
- package/lib/components/QList/QListItem.vue.d.ts +80 -0
- package/lib/components/QList/QListItem.vue.d.ts.map +1 -0
- package/lib/components/QList/QListItemGroup.vue.d.ts +54 -0
- package/lib/components/QList/QListItemGroup.vue.d.ts.map +1 -0
- package/lib/components/QList/index.d.ts +7 -0
- package/lib/components/QList/index.d.ts.map +1 -0
- package/lib/components/QOverlay/QOverlay.vue.d.ts +31 -13
- package/lib/components/QOverlay/QOverlay.vue.d.ts.map +1 -1
- package/lib/components/QPopover/QPopover.vue.d.ts +6 -6
- package/lib/components/QPopover/QPopover.vue.d.ts.map +1 -1
- package/lib/components/QSelect/QSelect.vue.d.ts +135 -0
- package/lib/components/QSelect/QSelect.vue.d.ts.map +1 -0
- package/lib/components/QSelect/index.d.ts +3 -0
- package/lib/components/QSelect/index.d.ts.map +1 -0
- package/lib/components/QTooltip/QTooltip.vue.d.ts +6 -6
- package/lib/components/QTooltip/QTooltip.vue.d.ts.map +1 -1
- package/lib/components/index.d.ts +3 -0
- package/lib/components/index.d.ts.map +1 -1
- package/lib/composables/overlay.d.ts +3 -2
- package/lib/composables/overlay.d.ts.map +1 -1
- package/lib/composables/uid.d.ts +2 -0
- package/lib/composables/uid.d.ts.map +1 -0
- package/lib/directives/click-outside/index.d.ts +7 -0
- package/lib/directives/click-outside/index.d.ts.map +1 -0
- package/lib/directives/index.d.ts +2 -0
- package/lib/directives/index.d.ts.map +1 -0
- package/lib/framework.d.ts +2 -2
- package/lib/framework.d.ts.map +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/styles/ui.css +238 -10
- package/lib/styles/ui.min.css +1 -1
- package/lib/styles/ui.scss +270 -23
- package/lib/types/primitive.d.ts +2 -0
- package/lib/types/primitive.d.ts.map +1 -0
- package/package.json +2 -2
- package/lib/utils/getUid.d.ts +0 -5
- package/lib/utils/getUid.d.ts.map +0 -1
|
@@ -6,7 +6,7 @@ export type QButtonProps = {
|
|
|
6
6
|
/**
|
|
7
7
|
* The style of the button.
|
|
8
8
|
*/
|
|
9
|
-
bStyle?: 'primary' | 'secondary' | 'tertiary' | 'danger';
|
|
9
|
+
bStyle?: 'primary' | 'secondary' | 'tertiary' | 'danger' | 'plain';
|
|
10
10
|
/**
|
|
11
11
|
* The label of the button.
|
|
12
12
|
*/
|
|
@@ -53,7 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
53
53
|
type: import("vue").PropType<boolean>;
|
|
54
54
|
};
|
|
55
55
|
bStyle: {
|
|
56
|
-
type: import("vue").PropType<"primary" | "secondary" | "tertiary" | "danger">;
|
|
56
|
+
type: import("vue").PropType<"primary" | "secondary" | "tertiary" | "danger" | "plain">;
|
|
57
57
|
default: string;
|
|
58
58
|
};
|
|
59
59
|
disabled: {
|
|
@@ -89,7 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
89
89
|
type: import("vue").PropType<boolean>;
|
|
90
90
|
};
|
|
91
91
|
bStyle: {
|
|
92
|
-
type: import("vue").PropType<"primary" | "secondary" | "tertiary" | "danger">;
|
|
92
|
+
type: import("vue").PropType<"primary" | "secondary" | "tertiary" | "danger" | "plain">;
|
|
93
93
|
default: string;
|
|
94
94
|
};
|
|
95
95
|
disabled: {
|
|
@@ -115,7 +115,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
115
115
|
}, {
|
|
116
116
|
size: "small" | "regular";
|
|
117
117
|
label: string;
|
|
118
|
-
bStyle: "primary" | "secondary" | "tertiary" | "danger";
|
|
118
|
+
bStyle: "primary" | "secondary" | "tertiary" | "danger" | "plain";
|
|
119
119
|
}, {}>, {
|
|
120
120
|
default?(_: {}): any;
|
|
121
121
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue.ts"],"names":[],"mappings":"AAQC,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue.ts"],"names":[],"mappings":"AAQC,MAAM,MAAM,YAAY,GAAG;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAA;IAElE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAA;CAC1B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuKF,wBAAwG;AAWxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,42 +1,46 @@
|
|
|
1
|
+
export type Icon = {
|
|
2
|
+
/**
|
|
3
|
+
* The name of the icon.
|
|
4
|
+
*/
|
|
5
|
+
name: string;
|
|
6
|
+
/**
|
|
7
|
+
* The type of resource.
|
|
8
|
+
*/
|
|
9
|
+
type?: 'svg' | 'font' | 'img';
|
|
10
|
+
/**
|
|
11
|
+
* The size of the icon, in pixels.
|
|
12
|
+
*/
|
|
13
|
+
size?: number;
|
|
14
|
+
};
|
|
1
15
|
declare const _default: import("vue").DefineComponent<{
|
|
2
16
|
size: {
|
|
3
17
|
type: import("vue").PropType<number>;
|
|
4
18
|
default: undefined;
|
|
5
19
|
};
|
|
6
|
-
|
|
7
|
-
type: import("vue").PropType<
|
|
20
|
+
type: {
|
|
21
|
+
type: import("vue").PropType<"img" | "svg" | "font">;
|
|
8
22
|
default: string;
|
|
9
23
|
};
|
|
10
|
-
|
|
24
|
+
name: {
|
|
11
25
|
type: import("vue").PropType<string>;
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
iconSvg: {
|
|
15
|
-
type: import("vue").PropType<string>;
|
|
16
|
-
default: string;
|
|
26
|
+
required: true;
|
|
17
27
|
};
|
|
18
28
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
29
|
size: {
|
|
20
30
|
type: import("vue").PropType<number>;
|
|
21
31
|
default: undefined;
|
|
22
32
|
};
|
|
23
|
-
|
|
24
|
-
type: import("vue").PropType<
|
|
33
|
+
type: {
|
|
34
|
+
type: import("vue").PropType<"img" | "svg" | "font">;
|
|
25
35
|
default: string;
|
|
26
36
|
};
|
|
27
|
-
|
|
37
|
+
name: {
|
|
28
38
|
type: import("vue").PropType<string>;
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
iconSvg: {
|
|
32
|
-
type: import("vue").PropType<string>;
|
|
33
|
-
default: string;
|
|
39
|
+
required: true;
|
|
34
40
|
};
|
|
35
41
|
}>>, {
|
|
36
42
|
size: number;
|
|
37
|
-
|
|
38
|
-
iconImg: string;
|
|
39
|
-
iconSvg: string;
|
|
43
|
+
type: "img" | "svg" | "font";
|
|
40
44
|
}, {}>;
|
|
41
45
|
export default _default;
|
|
42
46
|
//# sourceMappingURL=QIcon.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIcon.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIcon.vue.ts"],"names":[],"mappings":"AAEC,MAAM,MAAM,IAAI,GAAG;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,CAAA;IAE7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDF,wBAQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QIconFont.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconFont.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QIconFont.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconFont.vue.ts"],"names":[],"mappings":"AAKC,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6EF,wBAQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QIconImg.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconImg.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"QIconImg.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconImg.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAoFA,wBAkBG"}
|
|
@@ -3,4 +3,6 @@ import QIconFont from './QIconFont.vue';
|
|
|
3
3
|
import QIconImg from './QIconImg.vue';
|
|
4
4
|
import QIconSvg from './QIconSvg.vue';
|
|
5
5
|
export { QIcon, QIconFont, QIconImg, QIconSvg };
|
|
6
|
+
import type { Icon } from './QIcon.vue';
|
|
7
|
+
export type { Icon };
|
|
6
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,aAAa,CAAA;AAC/B,OAAO,SAAS,MAAM,iBAAiB,CAAA;AACvC,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AACrC,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AAErC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,aAAa,CAAA;AAC/B,OAAO,SAAS,MAAM,iBAAiB,CAAA;AACvC,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AACrC,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AAErC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAA;AAG/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAEvC,YAAY,EAAE,IAAI,EAAE,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export type InputSize = 'mini' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'block';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
size: {
|
|
4
|
+
type: import("vue").PropType<InputSize>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
disabled: {
|
|
8
|
+
type: import("vue").PropType<boolean>;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
readonly: {
|
|
12
|
+
type: import("vue").PropType<boolean>;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
size: {
|
|
17
|
+
type: import("vue").PropType<InputSize>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
type: import("vue").PropType<boolean>;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
readonly: {
|
|
25
|
+
type: import("vue").PropType<boolean>;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}>>, {
|
|
29
|
+
size: InputSize;
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
readonly: boolean;
|
|
32
|
+
}, {}>, {
|
|
33
|
+
prepend?(_: {}): any;
|
|
34
|
+
default?(_: {}): any;
|
|
35
|
+
append?(_: {}): any;
|
|
36
|
+
}>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=QInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QInput/QInput.vue.ts"],"names":[],"mappings":"AAEC,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6LjG,wBAAwG;AAWxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAA;AAEjC,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { ListItem } from './QListItem.vue';
|
|
2
|
+
import type { QListItemGroupProps } from './QListItemGroup.vue';
|
|
3
|
+
import type { Primitive } from '@/types/primitive';
|
|
4
|
+
declare function focusItem(itemIdx: number): void;
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
disabled: {
|
|
7
|
+
type: import("vue").PropType<boolean>;
|
|
8
|
+
};
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: import("vue").PropType<Primitive>;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
items: {
|
|
14
|
+
type: import("vue").PropType<ListItem[]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
groups: {
|
|
18
|
+
type: import("vue").PropType<QListItemGroupProps[]>;
|
|
19
|
+
default: () => never[];
|
|
20
|
+
};
|
|
21
|
+
itemValue: {
|
|
22
|
+
type: import("vue").PropType<string>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
itemLabel: {
|
|
26
|
+
type: import("vue").PropType<string>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}, {
|
|
30
|
+
focusItem: typeof focusItem;
|
|
31
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
+
"update:modelValue": (value: Primitive) => void;
|
|
33
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
disabled: {
|
|
35
|
+
type: import("vue").PropType<boolean>;
|
|
36
|
+
};
|
|
37
|
+
modelValue: {
|
|
38
|
+
type: import("vue").PropType<Primitive>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
items: {
|
|
42
|
+
type: import("vue").PropType<ListItem[]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
groups: {
|
|
46
|
+
type: import("vue").PropType<QListItemGroupProps[]>;
|
|
47
|
+
default: () => never[];
|
|
48
|
+
};
|
|
49
|
+
itemValue: {
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
itemLabel: {
|
|
54
|
+
type: import("vue").PropType<string>;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
}>> & {
|
|
58
|
+
"onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
modelValue: Primitive;
|
|
61
|
+
groups: QListItemGroupProps[];
|
|
62
|
+
itemValue: string;
|
|
63
|
+
itemLabel: string;
|
|
64
|
+
}, {}>;
|
|
65
|
+
export default _default;
|
|
66
|
+
//# sourceMappingURL=QList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QList.vue.ts"],"names":[],"mappings":"AAOC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAuHlD,iBAAS,SAAS,CAAC,OAAO,EAAE,MAAM,QAGjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAiLc,SAAS;YAUb,mBAAmB,EAAE;eAKlB,MAAM;eAKN,MAAM;;AA1BrB,wBAwCG"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { Icon } from '@/components/QIcon';
|
|
2
|
+
import type { Primitive } from '@/types/primitive';
|
|
3
|
+
export type ListItem = {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
icon?: Icon;
|
|
6
|
+
selected?: boolean;
|
|
7
|
+
group?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<{
|
|
11
|
+
label: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
disabled: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
icon: {
|
|
20
|
+
type: import("vue").PropType<Icon>;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
value: {
|
|
24
|
+
type: import("vue").PropType<Primitive>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
selected: {
|
|
28
|
+
type: import("vue").PropType<boolean>;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
highlighted: {
|
|
32
|
+
type: import("vue").PropType<boolean>;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
icons: {
|
|
36
|
+
type: import("vue").PropType<Record<string, Icon>>;
|
|
37
|
+
default: () => Record<string, Icon>;
|
|
38
|
+
};
|
|
39
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
+
select: (value: Primitive) => void;
|
|
41
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
label: {
|
|
43
|
+
type: import("vue").PropType<string>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
type: import("vue").PropType<boolean>;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
icon: {
|
|
51
|
+
type: import("vue").PropType<Icon>;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
54
|
+
value: {
|
|
55
|
+
type: import("vue").PropType<Primitive>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
selected: {
|
|
59
|
+
type: import("vue").PropType<boolean>;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
highlighted: {
|
|
63
|
+
type: import("vue").PropType<boolean>;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
icons: {
|
|
67
|
+
type: import("vue").PropType<Record<string, Icon>>;
|
|
68
|
+
default: () => Record<string, Icon>;
|
|
69
|
+
};
|
|
70
|
+
}>> & {
|
|
71
|
+
onSelect?: ((value: Primitive) => any) | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
disabled: boolean;
|
|
74
|
+
icon: Icon;
|
|
75
|
+
selected: boolean;
|
|
76
|
+
highlighted: boolean;
|
|
77
|
+
icons: Record<string, Icon>;
|
|
78
|
+
}, {}>;
|
|
79
|
+
export default _default;
|
|
80
|
+
//# sourceMappingURL=QListItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QListItem.vue.ts"],"names":[],"mappings":"AAMC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAElD,MAAM,MAAM,QAAQ,GAAG;IAEtB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAClB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiQY,OAAO;UApBX,IAAI;cAKA,OAAO;iBAKJ,OAAO;;;AA7OxB,wBAgQI"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export type QListItemGroupProps = {
|
|
2
|
+
/**
|
|
3
|
+
* The identifier of the list item group.
|
|
4
|
+
*/
|
|
5
|
+
id?: string;
|
|
6
|
+
/**
|
|
7
|
+
* The title of the group.
|
|
8
|
+
*/
|
|
9
|
+
title?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Whether the entire list group is disabled.
|
|
12
|
+
*/
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
16
|
+
title: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
type: import("vue").PropType<boolean>;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
id: {
|
|
25
|
+
type: import("vue").PropType<string>;
|
|
26
|
+
default: () => string;
|
|
27
|
+
};
|
|
28
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
title: {
|
|
30
|
+
type: import("vue").PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
disabled: {
|
|
34
|
+
type: import("vue").PropType<boolean>;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
id: {
|
|
38
|
+
type: import("vue").PropType<string>;
|
|
39
|
+
default: () => string;
|
|
40
|
+
};
|
|
41
|
+
}>>, {
|
|
42
|
+
title: string;
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
id: string;
|
|
45
|
+
}, {}>, {
|
|
46
|
+
default?(_: {}): any;
|
|
47
|
+
}>;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=QListItemGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QListItemGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QListItemGroup.vue.ts"],"names":[],"mappings":"AAKC,MAAM,MAAM,mBAAmB,GAAG;IACjC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8GF,wBAAwG;AAWxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import QList from './QList.vue';
|
|
2
|
+
import QListItem from './QListItem.vue';
|
|
3
|
+
import QListItemGroup from './QListItemGroup.vue';
|
|
4
|
+
export { QList, QListItem, QListItemGroup };
|
|
5
|
+
import type { ListItem } from './QListItem.vue';
|
|
6
|
+
export type { ListItem };
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,aAAa,CAAA;AAC/B,OAAO,SAAS,MAAM,iBAAiB,CAAA;AACvC,OAAO,cAAc,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA;AAG3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C,YAAY,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -12,6 +12,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
12
12
|
type: import("vue").PropType<string>;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
|
+
modelValue: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
};
|
|
18
|
+
width: {
|
|
19
|
+
type: import("vue").PropType<"anchor" | "auto">;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
15
22
|
appearance: {
|
|
16
23
|
type: import("vue").PropType<Appearance>;
|
|
17
24
|
default: string;
|
|
@@ -25,8 +32,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
25
32
|
default: string;
|
|
26
33
|
};
|
|
27
34
|
contentClasses: {
|
|
28
|
-
type: import("vue").PropType<
|
|
29
|
-
default: never[];
|
|
35
|
+
type: import("vue").PropType<string[]>;
|
|
36
|
+
default: () => never[];
|
|
30
37
|
};
|
|
31
38
|
delay: {
|
|
32
39
|
type: import("vue").PropType<number>;
|
|
@@ -36,9 +43,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
36
43
|
type: import("vue").PropType<number>;
|
|
37
44
|
default: number;
|
|
38
45
|
};
|
|
39
|
-
persistent: {
|
|
40
|
-
type: import("vue").PropType<boolean>;
|
|
41
|
-
};
|
|
42
46
|
placement: {
|
|
43
47
|
type: import("vue").PropType<Placement>;
|
|
44
48
|
default: string;
|
|
@@ -51,7 +55,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
51
55
|
type: import("vue").PropType<Trigger>;
|
|
52
56
|
default: string;
|
|
53
57
|
};
|
|
54
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
58
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
59
|
+
enter: () => void;
|
|
60
|
+
leave: () => void;
|
|
61
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
62
|
anchor: {
|
|
56
63
|
type: import("vue").PropType<Selector>;
|
|
57
64
|
required: true;
|
|
@@ -63,6 +70,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
63
70
|
type: import("vue").PropType<string>;
|
|
64
71
|
default: string;
|
|
65
72
|
};
|
|
73
|
+
modelValue: {
|
|
74
|
+
type: import("vue").PropType<boolean>;
|
|
75
|
+
};
|
|
76
|
+
width: {
|
|
77
|
+
type: import("vue").PropType<"anchor" | "auto">;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
66
80
|
appearance: {
|
|
67
81
|
type: import("vue").PropType<Appearance>;
|
|
68
82
|
default: string;
|
|
@@ -76,8 +90,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
76
90
|
default: string;
|
|
77
91
|
};
|
|
78
92
|
contentClasses: {
|
|
79
|
-
type: import("vue").PropType<
|
|
80
|
-
default: never[];
|
|
93
|
+
type: import("vue").PropType<string[]>;
|
|
94
|
+
default: () => never[];
|
|
81
95
|
};
|
|
82
96
|
delay: {
|
|
83
97
|
type: import("vue").PropType<number>;
|
|
@@ -87,9 +101,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
87
101
|
type: import("vue").PropType<number>;
|
|
88
102
|
default: number;
|
|
89
103
|
};
|
|
90
|
-
persistent: {
|
|
91
|
-
type: import("vue").PropType<boolean>;
|
|
92
|
-
};
|
|
93
104
|
placement: {
|
|
94
105
|
type: import("vue").PropType<Placement>;
|
|
95
106
|
default: string;
|
|
@@ -102,18 +113,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
102
113
|
type: import("vue").PropType<Trigger>;
|
|
103
114
|
default: string;
|
|
104
115
|
};
|
|
105
|
-
}
|
|
116
|
+
}>> & {
|
|
117
|
+
onEnter?: (() => any) | undefined;
|
|
118
|
+
onLeave?: (() => any) | undefined;
|
|
119
|
+
}, {
|
|
106
120
|
transition: string;
|
|
121
|
+
width: "anchor" | "auto";
|
|
107
122
|
appearance: Appearance;
|
|
108
123
|
arrow: boolean;
|
|
109
124
|
attach: string;
|
|
110
|
-
contentClasses:
|
|
125
|
+
contentClasses: string[];
|
|
111
126
|
delay: number;
|
|
112
127
|
offset: number;
|
|
113
128
|
placement: Placement;
|
|
114
129
|
spy: boolean;
|
|
115
130
|
trigger: Trigger;
|
|
116
131
|
}, {}>, {
|
|
132
|
+
trigger?(_: {
|
|
133
|
+
open: boolean;
|
|
134
|
+
}): any;
|
|
117
135
|
default?(_: {}): any;
|
|
118
136
|
}>;
|
|
119
137
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/QOverlay.vue.ts"],"names":[],"mappings":"AAGC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAmB,MAAM,uBAAuB,CAAA;AAGvF,OAAO,EAAE,QAAQ,EAAc,MAAM,oBAAoB,CAAA
|
|
1
|
+
{"version":3,"file":"QOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/QOverlay.vue.ts"],"names":[],"mappings":"AAGC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAmB,MAAM,uBAAuB,CAAA;AAGvF,OAAO,EAAE,QAAQ,EAAc,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsmB1D,wBAAwG;AAWxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -20,6 +20,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
20
20
|
disabled: {
|
|
21
21
|
type: import("vue").PropType<boolean>;
|
|
22
22
|
};
|
|
23
|
+
modelValue: {
|
|
24
|
+
type: import("vue").PropType<boolean>;
|
|
25
|
+
};
|
|
23
26
|
arrow: {
|
|
24
27
|
type: import("vue").PropType<boolean>;
|
|
25
28
|
default: boolean;
|
|
@@ -28,9 +31,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
28
31
|
type: import("vue").PropType<string>;
|
|
29
32
|
default: string;
|
|
30
33
|
};
|
|
31
|
-
persistent: {
|
|
32
|
-
type: import("vue").PropType<boolean>;
|
|
33
|
-
};
|
|
34
34
|
placement: {
|
|
35
35
|
type: import("vue").PropType<Placement>;
|
|
36
36
|
default: string;
|
|
@@ -59,6 +59,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
59
59
|
disabled: {
|
|
60
60
|
type: import("vue").PropType<boolean>;
|
|
61
61
|
};
|
|
62
|
+
modelValue: {
|
|
63
|
+
type: import("vue").PropType<boolean>;
|
|
64
|
+
};
|
|
62
65
|
arrow: {
|
|
63
66
|
type: import("vue").PropType<boolean>;
|
|
64
67
|
default: boolean;
|
|
@@ -67,9 +70,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
67
70
|
type: import("vue").PropType<string>;
|
|
68
71
|
default: string;
|
|
69
72
|
};
|
|
70
|
-
persistent: {
|
|
71
|
-
type: import("vue").PropType<boolean>;
|
|
72
|
-
};
|
|
73
73
|
placement: {
|
|
74
74
|
type: import("vue").PropType<Placement>;
|
|
75
75
|
default: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/QPopover.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/QPopover.vue.ts"],"names":[],"mappings":"AAGC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAMjD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8T9C,wBAAwG;AAWxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|