@quidgest/ui 0.4.0 → 0.5.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 +1590 -0
- package/dist/ui.esm.js +895 -1628
- 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 +172 -362
- package/dist/ui.min.js.map +1 -1
- package/{lib/styles → dist}/ui.scss +1 -1
- package/package.json +23 -24
- package/lib/components/QButton/QButton.vue.d.ts +0 -128
- package/lib/components/QButton/QButton.vue.d.ts.map +0 -1
- package/lib/components/QButton/index.d.ts +0 -3
- package/lib/components/QButton/index.d.ts.map +0 -1
- package/lib/components/QButtonGroup/QButtonGroup.vue.d.ts +0 -36
- package/lib/components/QButtonGroup/QButtonGroup.vue.d.ts.map +0 -1
- package/lib/components/QButtonGroup/index.d.ts +0 -3
- package/lib/components/QButtonGroup/index.d.ts.map +0 -1
- package/lib/components/QButtonToggle/QButtonToggle.vue.d.ts +0 -57
- package/lib/components/QButtonToggle/QButtonToggle.vue.d.ts.map +0 -1
- package/lib/components/QButtonToggle/index.d.ts +0 -3
- package/lib/components/QButtonToggle/index.d.ts.map +0 -1
- package/lib/components/QIcon/InlineSvg.d.ts +0 -72
- package/lib/components/QIcon/InlineSvg.d.ts.map +0 -1
- package/lib/components/QIcon/QIcon.vue.d.ts +0 -46
- package/lib/components/QIcon/QIcon.vue.d.ts.map +0 -1
- package/lib/components/QIcon/QIconFont.vue.d.ts +0 -59
- package/lib/components/QIcon/QIconFont.vue.d.ts.map +0 -1
- package/lib/components/QIcon/QIconImg.vue.d.ts +0 -19
- package/lib/components/QIcon/QIconImg.vue.d.ts.map +0 -1
- package/lib/components/QIcon/QIconSvg.vue.d.ts +0 -38
- package/lib/components/QIcon/QIconSvg.vue.d.ts.map +0 -1
- package/lib/components/QIcon/index.d.ts +0 -8
- package/lib/components/QIcon/index.d.ts.map +0 -1
- package/lib/components/QInput/QInput.vue.d.ts +0 -43
- package/lib/components/QInput/QInput.vue.d.ts.map +0 -1
- package/lib/components/QInput/index.d.ts +0 -3
- package/lib/components/QInput/index.d.ts.map +0 -1
- package/lib/components/QLineLoader/QLineLoader.vue.d.ts +0 -3
- package/lib/components/QLineLoader/QLineLoader.vue.d.ts.map +0 -1
- package/lib/components/QLineLoader/index.d.ts +0 -3
- package/lib/components/QLineLoader/index.d.ts.map +0 -1
- package/lib/components/QList/QList.vue.d.ts +0 -66
- package/lib/components/QList/QList.vue.d.ts.map +0 -1
- package/lib/components/QList/QListItem.vue.d.ts +0 -80
- package/lib/components/QList/QListItem.vue.d.ts.map +0 -1
- package/lib/components/QList/QListItemGroup.vue.d.ts +0 -54
- package/lib/components/QList/QListItemGroup.vue.d.ts.map +0 -1
- package/lib/components/QList/index.d.ts +0 -7
- package/lib/components/QList/index.d.ts.map +0 -1
- package/lib/components/QOverlay/QOverlay.vue.d.ts +0 -143
- package/lib/components/QOverlay/QOverlay.vue.d.ts.map +0 -1
- package/lib/components/QOverlay/index.d.ts +0 -3
- package/lib/components/QOverlay/index.d.ts.map +0 -1
- package/lib/components/QPopover/QPopover.vue.d.ts +0 -97
- package/lib/components/QPopover/QPopover.vue.d.ts.map +0 -1
- package/lib/components/QPopover/index.d.ts +0 -3
- package/lib/components/QPopover/index.d.ts.map +0 -1
- package/lib/components/QSelect/QSelect.vue.d.ts +0 -135
- package/lib/components/QSelect/QSelect.vue.d.ts.map +0 -1
- package/lib/components/QSelect/index.d.ts +0 -3
- package/lib/components/QSelect/index.d.ts.map +0 -1
- package/lib/components/QSpinnerLoader/QSpinnerLoader.vue.d.ts +0 -15
- package/lib/components/QSpinnerLoader/QSpinnerLoader.vue.d.ts.map +0 -1
- package/lib/components/QSpinnerLoader/index.d.ts +0 -3
- package/lib/components/QSpinnerLoader/index.d.ts.map +0 -1
- package/lib/components/QTooltip/QTooltip.vue.d.ts +0 -99
- package/lib/components/QTooltip/QTooltip.vue.d.ts.map +0 -1
- package/lib/components/QTooltip/index.d.ts +0 -3
- package/lib/components/QTooltip/index.d.ts.map +0 -1
- package/lib/components/index.d.ts +0 -13
- package/lib/components/index.d.ts.map +0 -1
- package/lib/composables/defaults.d.ts +0 -7
- package/lib/composables/defaults.d.ts.map +0 -1
- package/lib/composables/index.d.ts +0 -4
- package/lib/composables/index.d.ts.map +0 -1
- package/lib/composables/overlay.d.ts +0 -14
- package/lib/composables/overlay.d.ts.map +0 -1
- package/lib/composables/theme.d.ts +0 -26
- package/lib/composables/theme.d.ts.map +0 -1
- package/lib/composables/uid.d.ts +0 -2
- package/lib/composables/uid.d.ts.map +0 -1
- package/lib/directives/click-outside/index.d.ts +0 -7
- package/lib/directives/click-outside/index.d.ts.map +0 -1
- package/lib/directives/index.d.ts +0 -2
- package/lib/directives/index.d.ts.map +0 -1
- package/lib/framework.d.ts +0 -9
- package/lib/framework.d.ts.map +0 -1
- package/lib/index.d.ts +0 -5
- package/lib/index.d.ts.map +0 -1
- package/lib/templates/index.d.ts +0 -2
- package/lib/templates/index.d.ts.map +0 -1
- package/lib/templates/theme.d.ts +0 -4
- package/lib/templates/theme.d.ts.map +0 -1
- package/lib/types/primitive.d.ts +0 -2
- package/lib/types/primitive.d.ts.map +0 -1
- package/lib/utils/color.d.ts +0 -74
- package/lib/utils/color.d.ts.map +0 -1
- package/lib/utils/defineComponent.d.ts +0 -4
- package/lib/utils/defineComponent.d.ts.map +0 -1
- package/lib/utils/getCurrentInstance.d.ts +0 -2
- package/lib/utils/getCurrentInstance.d.ts.map +0 -1
- package/lib/utils/getElement.d.ts +0 -7
- package/lib/utils/getElement.d.ts.map +0 -1
- /package/{lib/styles → dist}/ui.css +0 -0
- /package/{lib/styles → dist}/ui.min.css +0 -0
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { type ListItem } from '@/components/QList';
|
|
2
|
-
import type { Icon } from '@/components/QIcon/QIcon.vue';
|
|
3
|
-
import type { InputSize } from '@/components/QInput/QInput.vue';
|
|
4
|
-
import type { QListItemGroupProps } from '@/components/QList/QListItemGroup.vue';
|
|
5
|
-
import type { Primitive } from '@/types/primitive';
|
|
6
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
7
|
-
size: {
|
|
8
|
-
type: import("vue").PropType<InputSize>;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
disabled: {
|
|
12
|
-
type: import("vue").PropType<boolean>;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
loading: {
|
|
16
|
-
type: import("vue").PropType<boolean>;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
modelValue: {
|
|
20
|
-
type: import("vue").PropType<Primitive>;
|
|
21
|
-
default: undefined;
|
|
22
|
-
};
|
|
23
|
-
readonly: {
|
|
24
|
-
type: import("vue").PropType<boolean>;
|
|
25
|
-
};
|
|
26
|
-
icons: {
|
|
27
|
-
type: import("vue").PropType<Record<string, Icon>>;
|
|
28
|
-
default: () => Record<string, Icon>;
|
|
29
|
-
};
|
|
30
|
-
items: {
|
|
31
|
-
type: import("vue").PropType<ListItem[]>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
groups: {
|
|
35
|
-
type: import("vue").PropType<QListItemGroupProps[]>;
|
|
36
|
-
default: () => never[];
|
|
37
|
-
};
|
|
38
|
-
itemValue: {
|
|
39
|
-
type: import("vue").PropType<string>;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
itemLabel: {
|
|
43
|
-
type: import("vue").PropType<string>;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
clearable: {
|
|
47
|
-
type: import("vue").PropType<boolean>;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
texts: {
|
|
51
|
-
type: import("vue").PropType<Record<string, string>>;
|
|
52
|
-
default: () => Record<string, string>;
|
|
53
|
-
};
|
|
54
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
|
-
"update:modelValue": (value: Primitive | undefined) => void;
|
|
56
|
-
"before-show": () => void;
|
|
57
|
-
"before-hide": () => void;
|
|
58
|
-
show: () => void;
|
|
59
|
-
hide: () => void;
|
|
60
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
|
-
size: {
|
|
62
|
-
type: import("vue").PropType<InputSize>;
|
|
63
|
-
default: string;
|
|
64
|
-
};
|
|
65
|
-
disabled: {
|
|
66
|
-
type: import("vue").PropType<boolean>;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
|
-
loading: {
|
|
70
|
-
type: import("vue").PropType<boolean>;
|
|
71
|
-
default: boolean;
|
|
72
|
-
};
|
|
73
|
-
modelValue: {
|
|
74
|
-
type: import("vue").PropType<Primitive>;
|
|
75
|
-
default: undefined;
|
|
76
|
-
};
|
|
77
|
-
readonly: {
|
|
78
|
-
type: import("vue").PropType<boolean>;
|
|
79
|
-
};
|
|
80
|
-
icons: {
|
|
81
|
-
type: import("vue").PropType<Record<string, Icon>>;
|
|
82
|
-
default: () => Record<string, Icon>;
|
|
83
|
-
};
|
|
84
|
-
items: {
|
|
85
|
-
type: import("vue").PropType<ListItem[]>;
|
|
86
|
-
required: true;
|
|
87
|
-
};
|
|
88
|
-
groups: {
|
|
89
|
-
type: import("vue").PropType<QListItemGroupProps[]>;
|
|
90
|
-
default: () => never[];
|
|
91
|
-
};
|
|
92
|
-
itemValue: {
|
|
93
|
-
type: import("vue").PropType<string>;
|
|
94
|
-
default: string;
|
|
95
|
-
};
|
|
96
|
-
itemLabel: {
|
|
97
|
-
type: import("vue").PropType<string>;
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
clearable: {
|
|
101
|
-
type: import("vue").PropType<boolean>;
|
|
102
|
-
default: boolean;
|
|
103
|
-
};
|
|
104
|
-
texts: {
|
|
105
|
-
type: import("vue").PropType<Record<string, string>>;
|
|
106
|
-
default: () => Record<string, string>;
|
|
107
|
-
};
|
|
108
|
-
}>> & {
|
|
109
|
-
"onUpdate:modelValue"?: ((value: Primitive | undefined) => any) | undefined;
|
|
110
|
-
"onBefore-show"?: (() => any) | undefined;
|
|
111
|
-
"onBefore-hide"?: (() => any) | undefined;
|
|
112
|
-
onShow?: (() => any) | undefined;
|
|
113
|
-
onHide?: (() => any) | undefined;
|
|
114
|
-
}, {
|
|
115
|
-
size: InputSize;
|
|
116
|
-
disabled: boolean;
|
|
117
|
-
loading: boolean;
|
|
118
|
-
modelValue: Primitive;
|
|
119
|
-
icons: Record<string, Icon>;
|
|
120
|
-
groups: QListItemGroupProps[];
|
|
121
|
-
itemValue: string;
|
|
122
|
-
itemLabel: string;
|
|
123
|
-
clearable: boolean;
|
|
124
|
-
texts: Record<string, string>;
|
|
125
|
-
}, {}>, {
|
|
126
|
-
"body.prepend"?(_: {}): any;
|
|
127
|
-
"body.append"?(_: {}): any;
|
|
128
|
-
}>;
|
|
129
|
-
export default _default;
|
|
130
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
131
|
-
new (): {
|
|
132
|
-
$slots: S;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
//# sourceMappingURL=QSelect.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue.ts"],"names":[],"mappings":"AAKC,OAAO,EAAS,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAKzD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAA;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA0oBzC,SAAS;cAnCL,OAAO;aAKR,OAAO;gBApBJ,SAAS;;YAmCb,mBAAmB,EAAE;eAKlB,MAAM;eAKN,MAAM;eAxCN,OAAO;;;4BA3Ge,GAAG;2BACJ,GAAG;;AA9dvC,wBAooBI;AASJ,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,eAAe,CAAA;AAEnC,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QSpinnerLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSpinnerLoader/QSpinnerLoader.vue.ts"],"names":[],"mappings":";;;;;;;;;;;UA6GU,MAAM;;AANhB,wBAaG"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,99 +0,0 @@
|
|
|
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
|
-
modelValue: {
|
|
20
|
-
type: import("vue").PropType<boolean>;
|
|
21
|
-
};
|
|
22
|
-
appearance: {
|
|
23
|
-
type: import("vue").PropType<Appearance>;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
arrow: {
|
|
27
|
-
type: import("vue").PropType<boolean>;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
attach: {
|
|
31
|
-
type: import("vue").PropType<string>;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
delay: {
|
|
35
|
-
type: import("vue").PropType<number>;
|
|
36
|
-
default: number;
|
|
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
|
-
modelValue: {
|
|
63
|
-
type: import("vue").PropType<boolean>;
|
|
64
|
-
};
|
|
65
|
-
appearance: {
|
|
66
|
-
type: import("vue").PropType<Appearance>;
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
|
-
arrow: {
|
|
70
|
-
type: import("vue").PropType<boolean>;
|
|
71
|
-
default: boolean;
|
|
72
|
-
};
|
|
73
|
-
attach: {
|
|
74
|
-
type: import("vue").PropType<string>;
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
delay: {
|
|
78
|
-
type: import("vue").PropType<number>;
|
|
79
|
-
default: number;
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA4QpC,OAAO;gBA1BD,UAAU;WAKf,OAAO;YAMN,MAAM;WAKP,MAAM;eAeF,SAAS;aAUX,OAAO;;AA3DpB,wBAkEG"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export * from './QButton';
|
|
2
|
-
export * from './QButtonGroup';
|
|
3
|
-
export * from './QButtonToggle';
|
|
4
|
-
export * from './QIcon';
|
|
5
|
-
export * from './QInput';
|
|
6
|
-
export * from './QLineLoader';
|
|
7
|
-
export * from './QList';
|
|
8
|
-
export * from './QOverlay';
|
|
9
|
-
export * from './QPopover';
|
|
10
|
-
export * from './QSelect';
|
|
11
|
-
export * from './QSpinnerLoader';
|
|
12
|
-
export * from './QTooltip';
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULTS_SYMBOL = "q-defaults";
|
|
2
|
-
export type Defaults = Record<string | symbol, ComponentDefaults>;
|
|
3
|
-
export type ComponentDefaults = Record<string | symbol, unknown>;
|
|
4
|
-
export declare function useDefaults(): ComponentDefaults;
|
|
5
|
-
export declare function provideDefaults(defaults: Defaults): void;
|
|
6
|
-
export declare function injectDefaults(): Defaults;
|
|
7
|
-
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/composables/defaults.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,eAAe,CAAA;AAE3C,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,iBAAiB,CAAC,CAAA;AAEjE,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,CAAA;AAEhE,wBAAgB,WAAW,sBAW1B;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,QAAQ,QAKjD;AAED,wBAAgB,cAAc,aAM7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export type Appearance = 'regular' | 'inverted';
|
|
2
|
-
export type Placement = 'top' | 'bottom' | 'left' | 'right';
|
|
3
|
-
export type Trigger = 'hover' | 'click' | 'manual';
|
|
4
|
-
export type Position = {
|
|
5
|
-
x: number;
|
|
6
|
-
y: number;
|
|
7
|
-
placement: Placement;
|
|
8
|
-
width?: number;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Reposition the overlay based on its size and the position of its anchor.
|
|
12
|
-
*/
|
|
13
|
-
export declare function computePosition(anchor: Element, overlay: Element | null, tentativePlacement?: Placement, width?: 'auto' | 'anchor'): Position;
|
|
14
|
-
//# sourceMappingURL=overlay.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,GAAG,QAAQ,CAAA;AAElD,MAAM,MAAM,QAAQ,GAAG;IACtB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,SAAS,EAAE,SAAS,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;GAEG;AACH,wBAAgB,eAAe,CAC9B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,OAAO,GAAG,IAAI,EACvB,kBAAkB,GAAE,SAAmB,EACvC,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GACvB,QAAQ,CA+CV"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ColorScheme } from '@/utils/color';
|
|
2
|
-
import { App, Ref } from 'vue';
|
|
3
|
-
export declare const THEME_SYMBOL = "q-theme";
|
|
4
|
-
export type ThemeMode = 'light' | 'dark';
|
|
5
|
-
export type AppThemes = {
|
|
6
|
-
defaultTheme: string;
|
|
7
|
-
themes: Array<{
|
|
8
|
-
name: string;
|
|
9
|
-
mode: ThemeMode;
|
|
10
|
-
colors?: Partial<ColorScheme>;
|
|
11
|
-
}>;
|
|
12
|
-
};
|
|
13
|
-
export type ThemeDefinition = {
|
|
14
|
-
name: string;
|
|
15
|
-
mode: ThemeMode;
|
|
16
|
-
colors: ColorScheme;
|
|
17
|
-
};
|
|
18
|
-
export type ThemeConfiguration = {
|
|
19
|
-
activeTheme: string;
|
|
20
|
-
themes: ThemeDefinition[];
|
|
21
|
-
};
|
|
22
|
-
export declare function useTheme(): Ref<ThemeConfiguration>;
|
|
23
|
-
export declare function installThemes(app: App, config?: AppThemes): void;
|
|
24
|
-
export declare function generateRootStyle(colors: Partial<ColorScheme>): void;
|
|
25
|
-
export declare function toProperty(color: string): string;
|
|
26
|
-
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/composables/theme.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAgD,MAAM,eAAe,CAAA;AAEzF,OAAO,EAAE,GAAG,EAAE,GAAG,EAAsB,MAAM,KAAK,CAAA;AAElD,eAAO,MAAM,YAAY,YAAY,CAAA;AAErC,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AAExC,MAAM,MAAM,SAAS,GAAG;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,MAAM,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,SAAS,CAAA;QACf,MAAM,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAA;KAC7B,CAAC,CAAA;CACF,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,SAAS,CAAA;IACf,MAAM,EAAE,WAAW,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAChC,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,eAAe,EAAE,CAAA;CACzB,CAAA;AAED,wBAAgB,QAAQ,IAAI,GAAG,CAAC,kBAAkB,CAAC,CAMlD;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,SAAS,QAgFzD;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,QA+B7D;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,UAOvC"}
|
package/lib/composables/uid.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"uid.d.ts","sourceRoot":"","sources":["../../src/composables/uid.ts"],"names":[],"mappings":"AAIA,wBAAgB,MAAM,WAErB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ObjectDirective } from 'vue';
|
|
2
|
-
interface HTMLElementWithClickOutsideEvent extends HTMLElement {
|
|
3
|
-
clickOutsideEvent: (event: Event) => void;
|
|
4
|
-
}
|
|
5
|
-
export declare const clickOutside: ObjectDirective<HTMLElementWithClickOutsideEvent>;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/directives/click-outside/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,eAAe,EAAE,MAAM,KAAK,CAAA;AAEvD,UAAU,gCAAiC,SAAQ,WAAW;IAC7D,iBAAiB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;CACzC;AAED,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,gCAAgC,CAkB1E,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/directives/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA"}
|
package/lib/framework.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Defaults } from './composables/defaults';
|
|
2
|
-
import { AppThemes } from './composables/theme';
|
|
3
|
-
import { Directive, Plugin } from 'vue';
|
|
4
|
-
export type AppDefinition = {
|
|
5
|
-
themes?: AppThemes;
|
|
6
|
-
defaults?: Defaults;
|
|
7
|
-
};
|
|
8
|
-
export declare function createFramework(components: Record<string, any>, directives: Record<string, Directive>, options?: AppDefinition): Plugin;
|
|
9
|
-
//# sourceMappingURL=framework.d.ts.map
|
package/lib/framework.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"framework.d.ts","sourceRoot":"","sources":["../src/framework.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAClE,OAAO,EAAE,SAAS,EAAiB,MAAM,qBAAqB,CAAA;AAG9D,OAAO,EAAO,SAAS,EAAE,MAAM,EAAE,MAAM,KAAK,CAAA;AAG5C,MAAM,MAAM,aAAa,GAAG;IAC3B,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACnB,CAAA;AAED,wBAAgB,eAAe,CAE9B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,EACrC,OAAO,CAAC,EAAE,aAAa,GACrB,MAAM,CAqBR"}
|
package/lib/index.d.ts
DELETED
package/lib/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAmB,MAAM,aAAa,CAAA;AAE5D,QAAA,MAAM,gBAAgB,aAAc,aAAa,yBACA,CAAA;AAEjD,OAAO,EAAE,gBAAgB,IAAI,eAAe,EAAE,CAAA;AAE9C,cAAc,eAAe,CAAA"}
|
package/lib/templates/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
package/lib/templates/theme.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/templates/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,eAAO,MAAM,uBAAuB,EAAE,WA8BrC,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,WA8BpC,CAAA"}
|
package/lib/types/primitive.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"primitive.d.ts","sourceRoot":"","sources":["../../src/types/primitive.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA"}
|
package/lib/utils/color.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
export type ColorScheme = {
|
|
2
|
-
primary: string;
|
|
3
|
-
primaryLight: string;
|
|
4
|
-
primaryDark: string;
|
|
5
|
-
onPrimary: string;
|
|
6
|
-
secondary: string;
|
|
7
|
-
secondaryLight: string;
|
|
8
|
-
secondaryDark: string;
|
|
9
|
-
onSecondary: string;
|
|
10
|
-
highlight: string;
|
|
11
|
-
onHighlight: string;
|
|
12
|
-
background: string;
|
|
13
|
-
onBackground: string;
|
|
14
|
-
container: string;
|
|
15
|
-
info: string;
|
|
16
|
-
infoLight: string;
|
|
17
|
-
infoDark: string;
|
|
18
|
-
onInfo: string;
|
|
19
|
-
success: string;
|
|
20
|
-
successLight: string;
|
|
21
|
-
successDark: string;
|
|
22
|
-
onSuccess: string;
|
|
23
|
-
warning: string;
|
|
24
|
-
warningLight: string;
|
|
25
|
-
warningDark: string;
|
|
26
|
-
onWarning: string;
|
|
27
|
-
danger: string;
|
|
28
|
-
dangerLight: string;
|
|
29
|
-
dangerDark: string;
|
|
30
|
-
onDanger: string;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Represents a color in RGB space.
|
|
34
|
-
*/
|
|
35
|
-
export type RGB = {
|
|
36
|
-
r: number;
|
|
37
|
-
g: number;
|
|
38
|
-
b: number;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Represents a color in HSL space.
|
|
42
|
-
*/
|
|
43
|
-
export type HSL = {
|
|
44
|
-
h: number;
|
|
45
|
-
s: number;
|
|
46
|
-
l: number;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Parses a color from a hex string.
|
|
50
|
-
* @param color A hex string representing the color, e.g., "#aabbcc".
|
|
51
|
-
* @returns A `RGB` object representing the parsed color.
|
|
52
|
-
*/
|
|
53
|
-
export declare function parseColor(color: string): RGB;
|
|
54
|
-
/**
|
|
55
|
-
* Lightens a color by a specified amount.
|
|
56
|
-
* @param rgb The color to lighten.
|
|
57
|
-
* @param amount The amount to lighten the color by, in the range [0, 100].
|
|
58
|
-
* @returns The lightened color.
|
|
59
|
-
*/
|
|
60
|
-
export declare function lighten(rgb: RGB, amount: number): RGB;
|
|
61
|
-
/**
|
|
62
|
-
* Darkens a color by a specified amount.
|
|
63
|
-
* @param rgb The color to darken.
|
|
64
|
-
* @param amount The amount to darken the color by, in the range [0, 100].
|
|
65
|
-
* @returns The darkened color.
|
|
66
|
-
*/
|
|
67
|
-
export declare function darken(rgb: RGB, amount: number): RGB;
|
|
68
|
-
/**
|
|
69
|
-
* Converts a `Color` object to a hex string.
|
|
70
|
-
* @param rgb The color to convert.
|
|
71
|
-
* @returns A hex string representing the color.
|
|
72
|
-
*/
|
|
73
|
-
export declare function colorToHex(rgb: RGB): string;
|
|
74
|
-
//# sourceMappingURL=color.d.ts.map
|
package/lib/utils/color.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/utils/color.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IAEzB,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IAEjB,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IAEnB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IAGnB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IAEpB,SAAS,EAAE,MAAM,CAAA;IAGjB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IAEd,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IAEjB,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IAEjB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;CAChB,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,GAAG,GAAG;IACjB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACT,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,GAAG,GAAG;IACjB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACT,CAAA;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAe7C;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,GAAG,GAAG,CAYrD;AAED;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,GAAG,GAAG,CAYpD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAM3C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defineComponent.d.ts","sourceRoot":"","sources":["../../src/utils/defineComponent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAA6B,MAAM,KAAK,CAAA;AAIxE,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,WAEvD;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,gBAAgB,oBA+B1D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getCurrentInstance.d.ts","sourceRoot":"","sources":["../../src/utils/getCurrentInstance.ts"],"names":[],"mappings":"AAGA,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,2CAUhE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from 'vue';
|
|
2
|
-
export type Selector = string | Element | ComponentPublicInstance;
|
|
3
|
-
/**
|
|
4
|
-
* Gets a DOM element based on the provided selector.
|
|
5
|
-
*/
|
|
6
|
-
export declare function getElement(selector: Selector): Element | null;
|
|
7
|
-
//# sourceMappingURL=getElement.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getElement.d.ts","sourceRoot":"","sources":["../../src/utils/getElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAA;AAE7C,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,uBAAuB,CAAA;AAEjE;;GAEG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,GAAG,IAAI,CAU7D"}
|
|
File without changes
|
|
File without changes
|