@quidgest/ui 0.0.7
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/README.md +66 -0
- package/dist/ui.esm.js +1326 -0
- package/dist/ui.esm.js.map +1 -0
- package/dist/ui.js +4 -0
- package/dist/ui.js.map +1 -0
- package/dist/ui.min.js +276 -0
- package/dist/ui.min.js.map +1 -0
- package/lib/components/QButton/QButton.vue.d.ts +118 -0
- package/lib/components/QButton/QButton.vue.d.ts.map +1 -0
- package/lib/components/QButton/index.d.ts +3 -0
- package/lib/components/QButton/index.d.ts.map +1 -0
- package/lib/components/QButtonGroup/QButtonGroup.vue.d.ts +36 -0
- package/lib/components/QButtonGroup/QButtonGroup.vue.d.ts.map +1 -0
- package/lib/components/QButtonGroup/index.d.ts +3 -0
- package/lib/components/QButtonGroup/index.d.ts.map +1 -0
- package/lib/components/QButtonToggle/QButtonToggle.vue.d.ts +57 -0
- package/lib/components/QButtonToggle/QButtonToggle.vue.d.ts.map +1 -0
- package/lib/components/QButtonToggle/index.d.ts +3 -0
- package/lib/components/QButtonToggle/index.d.ts.map +1 -0
- package/lib/components/QLineLoader/QLineLoader.vue.d.ts +3 -0
- package/lib/components/QLineLoader/QLineLoader.vue.d.ts.map +1 -0
- package/lib/components/QLineLoader/index.d.ts +3 -0
- package/lib/components/QLineLoader/index.d.ts.map +1 -0
- package/lib/components/QOverlay/QOverlay.vue.d.ts +116 -0
- package/lib/components/QOverlay/QOverlay.vue.d.ts.map +1 -0
- package/lib/components/QOverlay/index.d.ts +3 -0
- package/lib/components/QOverlay/index.d.ts.map +1 -0
- package/lib/components/QPopover/QPopover.vue.d.ts +88 -0
- package/lib/components/QPopover/QPopover.vue.d.ts.map +1 -0
- package/lib/components/QPopover/index.d.ts +3 -0
- package/lib/components/QPopover/index.d.ts.map +1 -0
- package/lib/components/QSpinnerLoader/QSpinnerLoader.vue.d.ts +15 -0
- package/lib/components/QSpinnerLoader/QSpinnerLoader.vue.d.ts.map +1 -0
- package/lib/components/QSpinnerLoader/index.d.ts +3 -0
- package/lib/components/QSpinnerLoader/index.d.ts.map +1 -0
- package/lib/components/QTooltip/QTooltip.vue.d.ts +99 -0
- package/lib/components/QTooltip/QTooltip.vue.d.ts.map +1 -0
- package/lib/components/QTooltip/index.d.ts +3 -0
- package/lib/components/QTooltip/index.d.ts.map +1 -0
- package/lib/components/index.d.ts +9 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/composables/defaults.d.ts +5 -0
- package/lib/composables/defaults.d.ts.map +1 -0
- package/lib/composables/overlay.d.ts +13 -0
- package/lib/composables/overlay.d.ts.map +1 -0
- package/lib/composables/theme.d.ts +35 -0
- package/lib/composables/theme.d.ts.map +1 -0
- package/lib/framework.d.ts +7 -0
- package/lib/framework.d.ts.map +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/styles/ui.css +720 -0
- package/lib/styles/ui.min.css +1 -0
- package/lib/styles/ui.scss +710 -0
- package/lib/utils/defineComponent.d.ts +4 -0
- package/lib/utils/defineComponent.d.ts.map +1 -0
- package/lib/utils/getCurrentInstance.d.ts +2 -0
- package/lib/utils/getCurrentInstance.d.ts.map +1 -0
- package/lib/utils/getElement.d.ts +7 -0
- package/lib/utils/getElement.d.ts.map +1 -0
- package/lib/utils/getUid.d.ts +5 -0
- package/lib/utils/getUid.d.ts.map +1 -0
- package/package.json +108 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
bStyle: {
|
|
3
|
+
type: import("vue").PropType<"primary" | "secondary" | "danger">;
|
|
4
|
+
};
|
|
5
|
+
disabled: {
|
|
6
|
+
type: import("vue").PropType<boolean>;
|
|
7
|
+
};
|
|
8
|
+
borderless: {
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
elevated: {
|
|
12
|
+
type: import("vue").PropType<boolean>;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
bStyle: {
|
|
16
|
+
type: import("vue").PropType<"primary" | "secondary" | "danger">;
|
|
17
|
+
};
|
|
18
|
+
disabled: {
|
|
19
|
+
type: import("vue").PropType<boolean>;
|
|
20
|
+
};
|
|
21
|
+
borderless: {
|
|
22
|
+
type: import("vue").PropType<boolean>;
|
|
23
|
+
};
|
|
24
|
+
elevated: {
|
|
25
|
+
type: import("vue").PropType<boolean>;
|
|
26
|
+
};
|
|
27
|
+
}>>, {}, {}>, {
|
|
28
|
+
default?(_: {}): any;
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=QButtonGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/QButtonGroup.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0JA,wBAAwG;AAKxG,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/QButtonGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,oBAAoB,CAAA;AAE7C,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export interface QButtonToggleOption {
|
|
2
|
+
key: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
};
|
|
10
|
+
options: {
|
|
11
|
+
type: import("vue").PropType<QButtonToggleOption[]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
disabled: {
|
|
15
|
+
type: import("vue").PropType<boolean>;
|
|
16
|
+
};
|
|
17
|
+
borderless: {
|
|
18
|
+
type: import("vue").PropType<boolean>;
|
|
19
|
+
};
|
|
20
|
+
elevated: {
|
|
21
|
+
type: import("vue").PropType<boolean>;
|
|
22
|
+
};
|
|
23
|
+
mandatory: {
|
|
24
|
+
type: import("vue").PropType<boolean>;
|
|
25
|
+
};
|
|
26
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
"update:modelValue": (value: unknown) => void;
|
|
28
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
modelValue: {
|
|
30
|
+
type: import("vue").PropType<string>;
|
|
31
|
+
};
|
|
32
|
+
options: {
|
|
33
|
+
type: import("vue").PropType<QButtonToggleOption[]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
type: import("vue").PropType<boolean>;
|
|
38
|
+
};
|
|
39
|
+
borderless: {
|
|
40
|
+
type: import("vue").PropType<boolean>;
|
|
41
|
+
};
|
|
42
|
+
elevated: {
|
|
43
|
+
type: import("vue").PropType<boolean>;
|
|
44
|
+
};
|
|
45
|
+
mandatory: {
|
|
46
|
+
type: import("vue").PropType<boolean>;
|
|
47
|
+
};
|
|
48
|
+
}>> & {
|
|
49
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
50
|
+
}, {}, {}>, Partial<Record<string, (_: {}) => any>>>;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=QButtonToggle.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QButtonToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonToggle/QButtonToggle.vue.ts"],"names":[],"mappings":"AAeC,MAAM,WAAW,mBAAmB;IACnC,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuNF,wBAAwG;AAKxG,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/QButtonToggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=QLineLoader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QLineLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/QLineLoader.vue.ts"],"names":[],"mappings":";AA6CA,wBAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QLineLoader/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,mBAAmB,CAAA;AAE3C,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Appearance, Placement, Trigger } from '@/composables/overlay';
|
|
2
|
+
import { Selector } from '@/utils/getElement';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
anchor: {
|
|
5
|
+
type: import("vue").PropType<Selector>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
disabled: {
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
transition: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
appearance: {
|
|
16
|
+
type: import("vue").PropType<Appearance>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
arrow: {
|
|
20
|
+
type: import("vue").PropType<boolean>;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
attach: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
contentClasses: {
|
|
28
|
+
type: import("vue").PropType<any>;
|
|
29
|
+
default: never[];
|
|
30
|
+
};
|
|
31
|
+
delay: {
|
|
32
|
+
type: import("vue").PropType<number>;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
offset: {
|
|
36
|
+
type: import("vue").PropType<number>;
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
persistent: {
|
|
40
|
+
type: import("vue").PropType<boolean>;
|
|
41
|
+
};
|
|
42
|
+
placement: {
|
|
43
|
+
type: import("vue").PropType<Placement>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
trigger: {
|
|
47
|
+
type: import("vue").PropType<Trigger>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
anchor: {
|
|
52
|
+
type: import("vue").PropType<Selector>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
disabled: {
|
|
56
|
+
type: import("vue").PropType<boolean>;
|
|
57
|
+
};
|
|
58
|
+
transition: {
|
|
59
|
+
type: import("vue").PropType<string>;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
appearance: {
|
|
63
|
+
type: import("vue").PropType<Appearance>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
arrow: {
|
|
67
|
+
type: import("vue").PropType<boolean>;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
attach: {
|
|
71
|
+
type: import("vue").PropType<string>;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
contentClasses: {
|
|
75
|
+
type: import("vue").PropType<any>;
|
|
76
|
+
default: never[];
|
|
77
|
+
};
|
|
78
|
+
delay: {
|
|
79
|
+
type: import("vue").PropType<number>;
|
|
80
|
+
default: number;
|
|
81
|
+
};
|
|
82
|
+
offset: {
|
|
83
|
+
type: import("vue").PropType<number>;
|
|
84
|
+
default: number;
|
|
85
|
+
};
|
|
86
|
+
persistent: {
|
|
87
|
+
type: import("vue").PropType<boolean>;
|
|
88
|
+
};
|
|
89
|
+
placement: {
|
|
90
|
+
type: import("vue").PropType<Placement>;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
trigger: {
|
|
94
|
+
type: import("vue").PropType<Trigger>;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
}>>, {
|
|
98
|
+
transition: string;
|
|
99
|
+
appearance: Appearance;
|
|
100
|
+
arrow: boolean;
|
|
101
|
+
attach: string;
|
|
102
|
+
contentClasses: any;
|
|
103
|
+
delay: number;
|
|
104
|
+
offset: number;
|
|
105
|
+
placement: Placement;
|
|
106
|
+
trigger: Trigger;
|
|
107
|
+
}, {}>, {
|
|
108
|
+
default?(_: {}): any;
|
|
109
|
+
}>;
|
|
110
|
+
export default _default;
|
|
111
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
112
|
+
new (): {
|
|
113
|
+
$slots: S;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
//# sourceMappingURL=QOverlay.vue.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAif1D,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/QOverlay/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AAErC,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Placement } from '@/composables/overlay';
|
|
2
|
+
import { Selector } from '@/utils/getElement';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
html: {
|
|
5
|
+
type: import("vue").PropType<boolean>;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
title: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
text: {
|
|
13
|
+
type: import("vue").PropType<string>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
anchor: {
|
|
17
|
+
type: import("vue").PropType<Selector>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
type: import("vue").PropType<boolean>;
|
|
22
|
+
};
|
|
23
|
+
arrow: {
|
|
24
|
+
type: import("vue").PropType<boolean>;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
attach: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
persistent: {
|
|
32
|
+
type: import("vue").PropType<boolean>;
|
|
33
|
+
};
|
|
34
|
+
placement: {
|
|
35
|
+
type: import("vue").PropType<Placement>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
html: {
|
|
40
|
+
type: import("vue").PropType<boolean>;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
title: {
|
|
44
|
+
type: import("vue").PropType<string>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
text: {
|
|
48
|
+
type: import("vue").PropType<string>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
anchor: {
|
|
52
|
+
type: import("vue").PropType<Selector>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
disabled: {
|
|
56
|
+
type: import("vue").PropType<boolean>;
|
|
57
|
+
};
|
|
58
|
+
arrow: {
|
|
59
|
+
type: import("vue").PropType<boolean>;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
attach: {
|
|
63
|
+
type: import("vue").PropType<string>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
persistent: {
|
|
67
|
+
type: import("vue").PropType<boolean>;
|
|
68
|
+
};
|
|
69
|
+
placement: {
|
|
70
|
+
type: import("vue").PropType<Placement>;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
}>>, {
|
|
74
|
+
html: boolean;
|
|
75
|
+
arrow: boolean;
|
|
76
|
+
attach: string;
|
|
77
|
+
placement: Placement;
|
|
78
|
+
}, {}>, {
|
|
79
|
+
header?(_: {}): any;
|
|
80
|
+
body?(_: {}): any;
|
|
81
|
+
}>;
|
|
82
|
+
export default _default;
|
|
83
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
84
|
+
new (): {
|
|
85
|
+
$slots: S;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
//# sourceMappingURL=QPopover.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/QPopover.vue.ts"],"names":[],"mappings":"AAMC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0S9C,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/QPopover/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AAErC,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
size: {
|
|
3
|
+
type: import("vue").PropType<number>;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
size: {
|
|
8
|
+
type: import("vue").PropType<number>;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
size: number;
|
|
13
|
+
}, {}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=QSpinnerLoader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QSpinnerLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSpinnerLoader/QSpinnerLoader.vue.ts"],"names":[],"mappings":";;;;;;;;;;;UAqHU,MAAM;;AANhB,wBAaG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSpinnerLoader/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Appearance, Placement, Trigger } from '@/composables/overlay';
|
|
2
|
+
import { Selector } from '@/utils/getElement';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
html: {
|
|
5
|
+
type: import("vue").PropType<boolean>;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
text: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
anchor: {
|
|
13
|
+
type: import("vue").PropType<Selector>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
disabled: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
18
|
+
};
|
|
19
|
+
appearance: {
|
|
20
|
+
type: import("vue").PropType<Appearance>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
arrow: {
|
|
24
|
+
type: import("vue").PropType<boolean>;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
attach: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
delay: {
|
|
32
|
+
type: import("vue").PropType<number>;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
persistent: {
|
|
36
|
+
type: import("vue").PropType<boolean>;
|
|
37
|
+
};
|
|
38
|
+
placement: {
|
|
39
|
+
type: import("vue").PropType<Placement>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
trigger: {
|
|
43
|
+
type: import("vue").PropType<Trigger>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
html: {
|
|
48
|
+
type: import("vue").PropType<boolean>;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
text: {
|
|
52
|
+
type: import("vue").PropType<string>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
anchor: {
|
|
56
|
+
type: import("vue").PropType<Selector>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
disabled: {
|
|
60
|
+
type: import("vue").PropType<boolean>;
|
|
61
|
+
};
|
|
62
|
+
appearance: {
|
|
63
|
+
type: import("vue").PropType<Appearance>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
arrow: {
|
|
67
|
+
type: import("vue").PropType<boolean>;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
attach: {
|
|
71
|
+
type: import("vue").PropType<string>;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
delay: {
|
|
75
|
+
type: import("vue").PropType<number>;
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
|
+
persistent: {
|
|
79
|
+
type: import("vue").PropType<boolean>;
|
|
80
|
+
};
|
|
81
|
+
placement: {
|
|
82
|
+
type: import("vue").PropType<Placement>;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
trigger: {
|
|
86
|
+
type: import("vue").PropType<Trigger>;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
}>>, {
|
|
90
|
+
html: boolean;
|
|
91
|
+
appearance: Appearance;
|
|
92
|
+
arrow: boolean;
|
|
93
|
+
attach: string;
|
|
94
|
+
delay: number;
|
|
95
|
+
placement: Placement;
|
|
96
|
+
trigger: Trigger;
|
|
97
|
+
}, {}>;
|
|
98
|
+
export default _default;
|
|
99
|
+
//# sourceMappingURL=QTooltip.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QTooltip.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QTooltip/QTooltip.vue.ts"],"names":[],"mappings":"AAMC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAuQpC,OAAO;gBA1BD,UAAU;WAKf,OAAO;YAMN,MAAM;WAKP,MAAM;eAoBF,SAAS;aAUX,OAAO;;AA3DpB,wBAkEG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QTooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AAErC,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './QButton';
|
|
2
|
+
export * from './QButtonGroup';
|
|
3
|
+
export * from './QButtonToggle';
|
|
4
|
+
export * from './QLineLoader';
|
|
5
|
+
export * from './QOverlay';
|
|
6
|
+
export * from './QPopover';
|
|
7
|
+
export * from './QSpinnerLoader';
|
|
8
|
+
export * from './QTooltip';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const DEFAULTS_SYMBOL = "q-defaults";
|
|
2
|
+
export declare function useDefaults(): any;
|
|
3
|
+
export declare function provideDefaults(defaults: Record<string, any>): void;
|
|
4
|
+
export declare function injectDefaults(): Record<string, any>;
|
|
5
|
+
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/composables/defaults.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,eAAe,CAAA;AAE3C,wBAAgB,WAAW,QAW1B;AAGD,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAK5D;AAED,wBAAgB,cAAc,wBAO7B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type Appearance = 'regular' | 'inverted';
|
|
2
|
+
export type Placement = 'top' | 'bottom' | 'left' | 'right';
|
|
3
|
+
export type Trigger = 'hover' | 'click';
|
|
4
|
+
export type Position = {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
placement: Placement;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Reposition the overlay based on its size and the position of its anchor.
|
|
11
|
+
*/
|
|
12
|
+
export declare function computePosition(anchor: Element, overlay: Element, tentativePlacement?: Placement): Position;
|
|
13
|
+
//# sourceMappingURL=overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../src/composables/overlay.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,UAAU,CAAA;AAC/C,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAA;AAC3D,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;AAEvC,MAAM,MAAM,QAAQ,GAAG;IACtB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,SAAS,EAAE,SAAS,CAAA;CACpB,CAAA;AAED;;GAEG;AACH,wBAAgB,eAAe,CAC9B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,OAAO,EAChB,kBAAkB,GAAE,SAAmB,GACrC,QAAQ,CAuCV"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { App, Ref } from 'vue';
|
|
2
|
+
export interface ThemeDefinition {
|
|
3
|
+
primary: string;
|
|
4
|
+
primaryLight: string;
|
|
5
|
+
primaryDark: string;
|
|
6
|
+
secondary: string;
|
|
7
|
+
secondaryLight: string;
|
|
8
|
+
secondaryDark: string;
|
|
9
|
+
highlight: string;
|
|
10
|
+
background: string;
|
|
11
|
+
container: string;
|
|
12
|
+
border: string;
|
|
13
|
+
borderLight: string;
|
|
14
|
+
success: string;
|
|
15
|
+
warning: string;
|
|
16
|
+
danger: string;
|
|
17
|
+
dangerLight: string;
|
|
18
|
+
dangerDark: string;
|
|
19
|
+
info: string;
|
|
20
|
+
onPrimary: string;
|
|
21
|
+
onSecondary: string;
|
|
22
|
+
onHighlight: string;
|
|
23
|
+
onBackground: string;
|
|
24
|
+
onContainer: string;
|
|
25
|
+
onSuccess: string;
|
|
26
|
+
onWarning: string;
|
|
27
|
+
onDanger: string;
|
|
28
|
+
onInfo: string;
|
|
29
|
+
}
|
|
30
|
+
export type ThemeProps = Partial<ThemeDefinition>;
|
|
31
|
+
export declare const defaultLightTheme: ThemeDefinition;
|
|
32
|
+
export declare function useTheme(): Ref<ThemeDefinition>;
|
|
33
|
+
export declare function installTheme(app: App, theme?: ThemeProps): void;
|
|
34
|
+
export declare function generateRootStyle(theme: ThemeDefinition): void;
|
|
35
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/composables/theme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,GAAG,EAAe,MAAM,KAAK,CAAA;AAI3C,MAAM,WAAW,eAAe;IAC/B,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AAEjD,eAAO,MAAM,iBAAiB,EAAE,eA2B/B,CAAA;AAED,wBAAgB,QAAQ,IAAI,GAAG,CAAC,eAAe,CAAC,CAM/C;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,UAAU,QAcxD;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,QAuBvD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Plugin } from 'vue';
|
|
2
|
+
import { ThemeProps } from './composables/theme';
|
|
3
|
+
export interface AppDefinition {
|
|
4
|
+
theme?: ThemeProps;
|
|
5
|
+
}
|
|
6
|
+
export declare function createFramework(components: Record<string, any>, options?: AppDefinition): Plugin;
|
|
7
|
+
//# sourceMappingURL=framework.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"framework.d.ts","sourceRoot":"","sources":["../src/framework.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,MAAM,EAAE,MAAM,KAAK,CAAA;AAEjC,OAAO,EAAE,UAAU,EAAgB,MAAM,qBAAqB,CAAA;AAG9D,MAAM,WAAW,aAAa;IAC7B,KAAK,CAAC,EAAE,UAAU,CAAA;CAClB;AAED,wBAAgB,eAAe,CAE9B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC/B,OAAO,CAAC,EAAE,aAAa,GACrB,MAAM,CAeR"}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAmB,MAAM,aAAa,CAAA;AAE5D,QAAA,MAAM,gBAAgB,aAAc,aAAa,yBAAyC,CAAA;AAE1F,OAAO,EAAE,gBAAgB,IAAI,eAAe,EAAE,CAAA"}
|