@quidgest/ui 0.21.2 → 0.23.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/CHANGELOG.md +31 -0
- package/dist/json/api.json +398 -86
- package/dist/manifest/components.json +1 -0
- package/dist/ui.css +2130 -1166
- package/dist/ui.esm.js +809 -786
- package/dist/ui.js +735 -712
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +735 -712
- package/dist/ui.scss +1137 -844
- package/esm/components/QBadge/QBadge.d.ts +1 -1
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +14 -7
- package/esm/components/QBadge/index.d.ts +3 -3
- package/esm/components/QBadge/types.d.ts +11 -4
- package/esm/components/QBadge/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts +0 -1
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +10 -4
- package/esm/components/QButton/index.d.ts +0 -3
- package/esm/components/QButton/index.d.ts.map +1 -1
- package/esm/components/QButton/types.d.ts +11 -4
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.vue.js +2 -0
- package/esm/components/QButtonGroup/types.d.ts +9 -1
- package/esm/components/QButtonGroup/types.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.d.ts +0 -1
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +2 -2
- package/esm/components/QCheckbox/index.d.ts +3 -6
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/types.d.ts +4 -3
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.d.ts +1 -1
- package/esm/components/QCollapsible/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +6 -8
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +1 -1
- package/esm/components/QCombobox/index.d.ts +3 -4
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts +18 -24
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/index.d.ts +9 -12
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +6 -1
- package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
- package/esm/components/QDialog/QDialogProvider.vue.js +1 -0
- package/esm/components/QDialog/index.d.ts +3 -0
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +14 -0
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +1 -1
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +9 -4
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +1 -0
- package/esm/components/QObfuscation/QObfuscation.d.ts.map +1 -1
- package/esm/components/QObfuscation/QObfuscation.vue.js +0 -1
- package/esm/components/QOverflow/QOverflow.d.ts +21 -1
- package/esm/components/QOverflow/QOverflow.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.vue.js +109 -96
- package/esm/components/QOverflow/index.d.ts +12 -3
- package/esm/components/QOverflow/index.d.ts.map +1 -1
- package/esm/components/QOverflow/types.d.ts +11 -2
- package/esm/components/QOverflow/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +0 -1
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +90 -90
- package/esm/components/QOverlay/index.d.ts +0 -3
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +5 -3
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts +20 -16
- package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/esm/components/QPhoneField/index.d.ts +10 -8
- package/esm/components/QPhoneField/index.d.ts.map +1 -1
- package/esm/components/QPopover/types.d.ts +1 -1
- package/esm/components/QPopover/types.d.ts.map +1 -1
- package/esm/components/QProgress/QProgress.d.ts +21 -0
- package/esm/components/QProgress/QProgress.d.ts.map +1 -0
- package/esm/components/QProgress/QProgress.vue.js +108 -0
- package/esm/components/QProgress/QProgress2.vue.js +5 -0
- package/esm/components/QProgress/index.d.ts +45 -0
- package/esm/components/QProgress/index.d.ts.map +1 -0
- package/esm/components/QProgress/index.js +6 -0
- package/esm/components/QProgress/types.d.ts +78 -0
- package/esm/components/QProgress/types.d.ts.map +1 -0
- package/esm/components/QRadioGroup/QRadioButton.d.ts +0 -1
- package/esm/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.vue.js +2 -2
- package/esm/components/QRadioGroup/QRadioGroup.d.ts +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +55 -46
- package/esm/components/QRadioGroup/index.d.ts +9 -36
- package/esm/components/QRadioGroup/index.d.ts.map +1 -1
- package/esm/components/QRadioGroup/types.d.ts +15 -24
- package/esm/components/QRadioGroup/types.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/constants.d.ts +1 -1
- package/esm/components/QRemoveScrollBar/constants.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/constants.js +1 -1
- package/esm/components/QSelect/QSelect.d.ts +20 -16
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +9 -1
- package/esm/components/QSelect/index.d.ts +10 -8
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts +0 -1
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.vue.js +2 -2
- package/esm/components/QSidebar/QSidebarAnchor.d.ts +2 -1
- package/esm/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarAnchor.vue.js +1 -1
- package/esm/components/QSidebar/QSidebarItem.d.ts +12 -6
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarItem.vue.js +1 -1
- package/esm/components/QSidebar/index.d.ts +6 -6
- package/esm/components/QSidebar/index.d.ts.map +1 -1
- package/esm/components/QSidebar/types.d.ts +3 -1
- package/esm/components/QSidebar/types.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.d.ts +3 -2
- package/esm/components/QSwitch/QSwitch.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.vue.js +34 -26
- package/esm/components/QSwitch/index.d.ts +5 -4
- package/esm/components/QSwitch/index.d.ts.map +1 -1
- package/esm/components/QSwitch/types.d.ts +4 -2
- package/esm/components/QSwitch/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts +6 -8
- package/esm/components/QTabs/QTab.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.d.ts +177 -2
- package/esm/components/QTabs/QTabs.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.vue.js +127 -106
- package/esm/components/QTabs/context.d.ts +2 -1
- package/esm/components/QTabs/context.d.ts.map +1 -1
- package/esm/components/QTabs/index.d.ts +91 -5
- package/esm/components/QTabs/index.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.vue.js +2 -1
- package/esm/components/QToggle/index.d.ts +6 -3
- package/esm/components/QToggle/index.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +1 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +1 -0
- package/esm/components/QToggleGroup/index.d.ts +3 -0
- package/esm/components/QToggleGroup/index.d.ts.map +1 -1
- package/esm/components/QTooltip/types.d.ts +1 -1
- package/esm/components/QTooltip/types.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.vue.js +1 -1
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +34 -32
- package/esm/composables/useSafeTriangle/index.d.ts +1 -1
- package/esm/composables/useSafeTriangle/index.d.ts.map +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/templates/theme.js +11 -11
- package/esm/types/component.d.ts +7 -0
- package/esm/types/component.d.ts.map +1 -1
- package/esm/utils/color/theme-colors.d.ts +5 -5
- package/esm/utils/density.d.ts +12 -0
- package/esm/utils/density.d.ts.map +1 -0
- package/esm/utils/density.js +23 -0
- package/esm/utils/index.d.ts +1 -0
- package/esm/utils/index.d.ts.map +1 -1
- package/esm/utils/index.js +6 -2
- package/esm/{composables → utils}/overlay.d.ts +12 -0
- package/esm/utils/overlay.d.ts.map +1 -0
- package/esm/{composables → utils}/overlay.js +10 -2
- package/esm/utils/safeTriangle.d.ts +1 -1
- package/esm/utils/safeTriangle.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm/composables/overlay.d.ts.map +0 -1
|
@@ -16,7 +16,94 @@ declare const QTabs: {
|
|
|
16
16
|
align: import('./types').QTabsAlign;
|
|
17
17
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
18
18
|
tabListHost: HTMLDivElement;
|
|
19
|
-
|
|
19
|
+
overflowRef: ({
|
|
20
|
+
$: import('vue').ComponentInternalInstance;
|
|
21
|
+
$data: {};
|
|
22
|
+
$props: {
|
|
23
|
+
readonly id?: string | undefined;
|
|
24
|
+
readonly class?: string | unknown[] | undefined;
|
|
25
|
+
readonly direction?: import('..').QOverflowDirection | undefined;
|
|
26
|
+
readonly arrowPlacement?: import('..').QOverflowArrowPlacement | undefined;
|
|
27
|
+
readonly arrowVisibility?: import('..').QOverflowArrowVisibility | undefined;
|
|
28
|
+
readonly scrollMode?: import('..').QOverflowScrollMode | undefined;
|
|
29
|
+
readonly scrollStep?: number | undefined;
|
|
30
|
+
readonly remapWheel?: boolean | undefined;
|
|
31
|
+
readonly contentClass?: string | unknown[] | undefined;
|
|
32
|
+
readonly icons?: typeof import('../QOverflow/constants').DEFAULT_ICONS | undefined;
|
|
33
|
+
readonly texts?: import('..').QOverflowTexts | undefined;
|
|
34
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
35
|
+
$attrs: import('vue').Attrs;
|
|
36
|
+
$refs: {
|
|
37
|
+
[x: string]: unknown;
|
|
38
|
+
} & {
|
|
39
|
+
viewportRef: HTMLDivElement;
|
|
40
|
+
contentRef: HTMLDivElement;
|
|
41
|
+
};
|
|
42
|
+
$slots: Readonly<{
|
|
43
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
46
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
47
|
+
$host: Element | null;
|
|
48
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
49
|
+
$el: HTMLDivElement;
|
|
50
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QOverflowProps> & Readonly<{}>, {
|
|
51
|
+
contentEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
52
|
+
scrollElementIntoView: (element: HTMLElement) => void;
|
|
53
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
54
|
+
icons: typeof import('../QOverflow/constants').DEFAULT_ICONS;
|
|
55
|
+
texts: import('..').QOverflowTexts;
|
|
56
|
+
direction: import('..').QOverflowDirection;
|
|
57
|
+
arrowPlacement: import('..').QOverflowArrowPlacement;
|
|
58
|
+
arrowVisibility: import('..').QOverflowArrowVisibility;
|
|
59
|
+
scrollMode: import('..').QOverflowScrollMode;
|
|
60
|
+
scrollStep: number;
|
|
61
|
+
remapWheel: boolean;
|
|
62
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
63
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
64
|
+
created?: (() => void) | (() => void)[];
|
|
65
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
66
|
+
mounted?: (() => void) | (() => void)[];
|
|
67
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
68
|
+
updated?: (() => void) | (() => void)[];
|
|
69
|
+
activated?: (() => void) | (() => void)[];
|
|
70
|
+
deactivated?: (() => void) | (() => void)[];
|
|
71
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
72
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
73
|
+
destroyed?: (() => void) | (() => void)[];
|
|
74
|
+
unmounted?: (() => void) | (() => void)[];
|
|
75
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
76
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
77
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
78
|
+
};
|
|
79
|
+
$forceUpdate: () => void;
|
|
80
|
+
$nextTick: typeof import('vue').nextTick;
|
|
81
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
82
|
+
} & Readonly<{
|
|
83
|
+
icons: typeof import('../QOverflow/constants').DEFAULT_ICONS;
|
|
84
|
+
texts: import('..').QOverflowTexts;
|
|
85
|
+
direction: import('..').QOverflowDirection;
|
|
86
|
+
arrowPlacement: import('..').QOverflowArrowPlacement;
|
|
87
|
+
arrowVisibility: import('..').QOverflowArrowVisibility;
|
|
88
|
+
scrollMode: import('..').QOverflowScrollMode;
|
|
89
|
+
scrollStep: number;
|
|
90
|
+
remapWheel: boolean;
|
|
91
|
+
}> & Omit<Readonly<import('..').QOverflowProps> & Readonly<{}>, "contentEl" | "scrollElementIntoView" | ("icons" | "texts" | "direction" | "arrowPlacement" | "arrowVisibility" | "scrollMode" | "scrollStep" | "remapWheel")> & {
|
|
92
|
+
contentEl: HTMLElement | null;
|
|
93
|
+
scrollElementIntoView: (element: HTMLElement) => void;
|
|
94
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
95
|
+
$slots: {
|
|
96
|
+
prev?(_: {
|
|
97
|
+
disabled: boolean;
|
|
98
|
+
onClick: () => void;
|
|
99
|
+
}): any;
|
|
100
|
+
default?(_: {}): any;
|
|
101
|
+
next?(_: {
|
|
102
|
+
disabled: boolean;
|
|
103
|
+
onClick: () => void;
|
|
104
|
+
}): any;
|
|
105
|
+
};
|
|
106
|
+
}) | null;
|
|
20
107
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
21
108
|
P: {};
|
|
22
109
|
B: {};
|
|
@@ -77,11 +164,12 @@ declare const QTab: {
|
|
|
77
164
|
readonly borderless?: boolean | undefined;
|
|
78
165
|
readonly elevated?: boolean | undefined;
|
|
79
166
|
readonly block?: boolean | undefined;
|
|
80
|
-
readonly size?: import('
|
|
167
|
+
readonly size?: import('../../types/component').QComponentSize | undefined;
|
|
81
168
|
readonly iconPos?: import('..').QButtonIconPosition | undefined;
|
|
82
169
|
readonly pill?: boolean | undefined;
|
|
83
170
|
readonly disabled?: boolean | undefined;
|
|
84
171
|
readonly loading?: boolean | undefined;
|
|
172
|
+
readonly tabindex?: number | undefined;
|
|
85
173
|
readonly onClick?: ((event: Event) => any) | undefined;
|
|
86
174
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
87
175
|
$attrs: import('vue').Attrs;
|
|
@@ -101,7 +189,6 @@ declare const QTab: {
|
|
|
101
189
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
102
190
|
click: (event: Event) => any;
|
|
103
191
|
}, string, {
|
|
104
|
-
size: import('..').QButtonSize;
|
|
105
192
|
variant: import('..').QButtonVariant;
|
|
106
193
|
color: string;
|
|
107
194
|
iconPos: import('..').QButtonIconPosition;
|
|
@@ -126,13 +213,12 @@ declare const QTab: {
|
|
|
126
213
|
$nextTick: typeof import('vue').nextTick;
|
|
127
214
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
128
215
|
} & Readonly<{
|
|
129
|
-
size: import('..').QButtonSize;
|
|
130
216
|
variant: import('..').QButtonVariant;
|
|
131
217
|
color: string;
|
|
132
218
|
iconPos: import('..').QButtonIconPosition;
|
|
133
219
|
}> & Omit<Readonly<import('..').QButtonProps> & Readonly<{
|
|
134
220
|
onClick?: ((event: Event) => any) | undefined;
|
|
135
|
-
}>, "
|
|
221
|
+
}>, "variant" | "color" | "iconPos"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
136
222
|
$slots: {
|
|
137
223
|
default?(_: {}): any;
|
|
138
224
|
append?(_: {}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QTabs/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QTabs/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAQw30B,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EARp90B,CAAA;AACrC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAOy30B,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAPt90B,CAAA;AAGnC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAA;AAGtB,cAAc,SAAS,CAAA"}
|
|
@@ -8,11 +8,12 @@ declare const QToggle: {
|
|
|
8
8
|
borderless?: boolean;
|
|
9
9
|
elevated?: boolean;
|
|
10
10
|
block?: boolean;
|
|
11
|
-
size?: import('
|
|
11
|
+
size?: import('../../types/component').QComponentSize;
|
|
12
12
|
iconPos?: import('..').QButtonIconPosition;
|
|
13
13
|
pill?: boolean;
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
loading?: boolean;
|
|
16
|
+
tabindex?: number;
|
|
16
17
|
}> & Readonly<{
|
|
17
18
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
18
19
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -33,11 +34,12 @@ declare const QToggle: {
|
|
|
33
34
|
borderless?: boolean;
|
|
34
35
|
elevated?: boolean;
|
|
35
36
|
block?: boolean;
|
|
36
|
-
size?: import('
|
|
37
|
+
size?: import('../../types/component').QComponentSize;
|
|
37
38
|
iconPos?: import('..').QButtonIconPosition;
|
|
38
39
|
pill?: boolean;
|
|
39
40
|
disabled?: boolean;
|
|
40
41
|
loading?: boolean;
|
|
42
|
+
tabindex?: number;
|
|
41
43
|
}> & Readonly<{
|
|
42
44
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
43
45
|
}>, {}, {}, {}, {}, {}>;
|
|
@@ -53,11 +55,12 @@ declare const QToggle: {
|
|
|
53
55
|
borderless?: boolean;
|
|
54
56
|
elevated?: boolean;
|
|
55
57
|
block?: boolean;
|
|
56
|
-
size?: import('
|
|
58
|
+
size?: import('../../types/component').QComponentSize;
|
|
57
59
|
iconPos?: import('..').QButtonIconPosition;
|
|
58
60
|
pill?: boolean;
|
|
59
61
|
disabled?: boolean;
|
|
60
62
|
loading?: boolean;
|
|
63
|
+
tabindex?: number;
|
|
61
64
|
}> & Readonly<{
|
|
62
65
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
63
66
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QToggle/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QToggle/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,cAAc,SAAS,CAAA"}
|
|
@@ -5,6 +5,7 @@ declare const QToggleGroup: {
|
|
|
5
5
|
block?: boolean;
|
|
6
6
|
borderless?: boolean;
|
|
7
7
|
elevated?: boolean;
|
|
8
|
+
size?: import('../../types/component').QComponentSize;
|
|
8
9
|
disabled?: boolean;
|
|
9
10
|
} & {
|
|
10
11
|
multiple?: boolean;
|
|
@@ -26,6 +27,7 @@ declare const QToggleGroup: {
|
|
|
26
27
|
block?: boolean;
|
|
27
28
|
borderless?: boolean;
|
|
28
29
|
elevated?: boolean;
|
|
30
|
+
size?: import('../../types/component').QComponentSize;
|
|
29
31
|
disabled?: boolean;
|
|
30
32
|
} & {
|
|
31
33
|
multiple?: boolean;
|
|
@@ -42,6 +44,7 @@ declare const QToggleGroup: {
|
|
|
42
44
|
block?: boolean;
|
|
43
45
|
borderless?: boolean;
|
|
44
46
|
elevated?: boolean;
|
|
47
|
+
size?: import('../../types/component').QComponentSize;
|
|
45
48
|
disabled?: boolean;
|
|
46
49
|
} & {
|
|
47
50
|
multiple?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QToggleGroup/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QToggleGroup/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAA;AACnD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;EAAqC,CAAA;AAG3D,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAA;AAGzC,cAAc,SAAS,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Appearance, Placement, Trigger } from '../../
|
|
1
|
+
import { Appearance, Placement, Trigger } from '../../utils/overlay';
|
|
2
2
|
import { Selector } from '../../utils/getElement';
|
|
3
3
|
import { Icon } from '../QIcon';
|
|
4
4
|
import { QBaseComponentProps } from '../../types/component';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QTooltip/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QTooltip/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;;;OAIG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAA;IAEjB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;IAEvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
|
|
@@ -33,6 +33,7 @@ export * from './QOverlay';
|
|
|
33
33
|
export * from './QPasswordField';
|
|
34
34
|
export * from './QPhoneField';
|
|
35
35
|
export * from './QPopover';
|
|
36
|
+
export * from './QProgress';
|
|
36
37
|
export * from './QPropertyList';
|
|
37
38
|
export * from './QRadioGroup';
|
|
38
39
|
export * from './QSection';
|
|
@@ -1 +1 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AAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA"}
|
package/esm/components/index.js
CHANGED
|
@@ -40,19 +40,20 @@ import { QPasswordField as q } from "./QPasswordField/index.js";
|
|
|
40
40
|
import { QPopover as J } from "./QPopover/index.js";
|
|
41
41
|
import { QSelect as Y } from "./QSelect/index.js";
|
|
42
42
|
import { QPhoneField as X } from "./QPhoneField/index.js";
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
43
|
+
import { QProgress as Z } from "./QProgress/index.js";
|
|
44
|
+
import { QPropertyList as Q, QPropertyListGroup as $, QPropertyListPanel as ne, QPropertyListRow as re } from "./QPropertyList/index.js";
|
|
45
|
+
import { QRadioButton as ie, QRadioGroup as ae } from "./QRadioGroup/index.js";
|
|
46
|
+
import { QSection as oe } from "./QSection/index.js";
|
|
47
|
+
import { QToggle as se } from "./QToggle/index.js";
|
|
48
|
+
import { QSidebar as ce, QSidebarItem as le } from "./QSidebar/index.js";
|
|
49
|
+
import { QTab as ue, QTabs as de } from "./QTabs/index.js";
|
|
50
|
+
import { QTextArea as fe } from "./QTextArea/index.js";
|
|
51
|
+
import { QThemeProvider as pe } from "./QThemeProvider/index.js";
|
|
52
|
+
import { QToast as me, QToaster as he } from "./QToast/index.js";
|
|
53
|
+
import { QToggleGroup as ge, QToggleGroupItem as _e } from "./QToggleGroup/index.js";
|
|
54
|
+
import { QTooltip as ve } from "./QTooltip/index.js";
|
|
54
55
|
//#region src/components/index.ts
|
|
55
|
-
var
|
|
56
|
+
var ye = /* @__PURE__ */ ee({
|
|
56
57
|
DEFAULT_TEXTS: () => b,
|
|
57
58
|
QAccordion: () => c,
|
|
58
59
|
QAccordionItem: () => l,
|
|
@@ -98,32 +99,33 @@ var ve = /* @__PURE__ */ ee({
|
|
|
98
99
|
QPasswordField: () => q,
|
|
99
100
|
QPhoneField: () => X,
|
|
100
101
|
QPopover: () => J,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
QProgress: () => Z,
|
|
103
|
+
QPropertyList: () => Q,
|
|
104
|
+
QPropertyListGroup: () => $,
|
|
105
|
+
QPropertyListPanel: () => ne,
|
|
106
|
+
QPropertyListRow: () => re,
|
|
107
|
+
QRadioButton: () => ie,
|
|
108
|
+
QRadioGroup: () => ae,
|
|
107
109
|
QRow: () => B,
|
|
108
|
-
QSection: () =>
|
|
110
|
+
QSection: () => oe,
|
|
109
111
|
QSelect: () => Y,
|
|
110
|
-
QSidebar: () =>
|
|
111
|
-
QSidebarItem: () =>
|
|
112
|
+
QSidebar: () => ce,
|
|
113
|
+
QSidebarItem: () => le,
|
|
112
114
|
QSkeletonLoader: () => m,
|
|
113
115
|
QSpacer: () => V,
|
|
114
116
|
QSpinnerLoader: () => e,
|
|
115
117
|
QSwitch: () => A,
|
|
116
|
-
QTab: () =>
|
|
117
|
-
QTabs: () =>
|
|
118
|
-
QTextArea: () =>
|
|
118
|
+
QTab: () => ue,
|
|
119
|
+
QTabs: () => de,
|
|
120
|
+
QTextArea: () => fe,
|
|
119
121
|
QTextField: () => x,
|
|
120
|
-
QThemeProvider: () =>
|
|
121
|
-
QToast: () =>
|
|
122
|
-
QToaster: () =>
|
|
123
|
-
QToggle: () =>
|
|
124
|
-
QToggleGroup: () =>
|
|
125
|
-
QToggleGroupItem: () =>
|
|
126
|
-
QTooltip: () =>
|
|
122
|
+
QThemeProvider: () => pe,
|
|
123
|
+
QToast: () => me,
|
|
124
|
+
QToaster: () => he,
|
|
125
|
+
QToggle: () => se,
|
|
126
|
+
QToggleGroup: () => ge,
|
|
127
|
+
QToggleGroupItem: () => _e,
|
|
128
|
+
QTooltip: () => ve
|
|
127
129
|
});
|
|
128
130
|
//#endregion
|
|
129
|
-
export { b as DEFAULT_TEXTS, c as QAccordion, l as QAccordionItem, u as QAvatar, f as QBadge, p as QBadgeIndicator, t as QButton, d as QButtonGroup, n as QCard, h as QCarousel, _ as QCheckbox, v as QCheckboxLabel, z as QCol, s as QCollapsible, S as QColorPicker, k as QCombobox, te as QContainer, j as QDateTimePicker, M as QDefaultsProvider, N as QDialog, P as QDialogProvider, E as QDismissibleLayer, F as QDivider, I as QDropdownMenu, y as QField, L as QFileUpload, D as QFocusWrap, R as QGauge, r as QIcon, i as QIconFont, a as QIconImg, o as QIconSvg, H as QInputGroup, g as QLabel, U as QLineLoader, C as QList, w as QListItem, T as QListItemGroup, W as QMeter, G as QObfuscation, K as QOverflow, O as QOverlay, q as QPasswordField, X as QPhoneField, J as QPopover, Z as
|
|
131
|
+
export { b as DEFAULT_TEXTS, c as QAccordion, l as QAccordionItem, u as QAvatar, f as QBadge, p as QBadgeIndicator, t as QButton, d as QButtonGroup, n as QCard, h as QCarousel, _ as QCheckbox, v as QCheckboxLabel, z as QCol, s as QCollapsible, S as QColorPicker, k as QCombobox, te as QContainer, j as QDateTimePicker, M as QDefaultsProvider, N as QDialog, P as QDialogProvider, E as QDismissibleLayer, F as QDivider, I as QDropdownMenu, y as QField, L as QFileUpload, D as QFocusWrap, R as QGauge, r as QIcon, i as QIconFont, a as QIconImg, o as QIconSvg, H as QInputGroup, g as QLabel, U as QLineLoader, C as QList, w as QListItem, T as QListItemGroup, W as QMeter, G as QObfuscation, K as QOverflow, O as QOverlay, q as QPasswordField, X as QPhoneField, J as QPopover, Z as QProgress, Q as QPropertyList, $ as QPropertyListGroup, ne as QPropertyListPanel, re as QPropertyListRow, ie as QRadioButton, ae as QRadioGroup, B as QRow, oe as QSection, Y as QSelect, ce as QSidebar, le as QSidebarItem, m as QSkeletonLoader, V as QSpacer, e as QSpinnerLoader, A as QSwitch, ue as QTab, de as QTabs, fe as QTextArea, x as QTextField, pe as QThemeProvider, me as QToast, he as QToaster, se as QToggle, ge as QToggleGroup, _e as QToggleGroupItem, ve as QTooltip, ye as components_exports };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/useSafeTriangle/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/useSafeTriangle/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAWpD,OAAO,EAA+B,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAE3D,KAAK,sBAAsB,GAAG;IAC7B,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACrB,SAAS,EAAE,GAAG,CAAC,SAAS,CAAC,CAAA;IACzB,aAAa,EAAE,MAAM,OAAO,GAAG,IAAI,CAAA;IACnC,cAAc,EAAE,MAAM,OAAO,GAAG,IAAI,CAAA;IACpC,cAAc,EAAE,MAAM,WAAW,GAAG,IAAI,CAAA;IACxC,mBAAmB,EAAE,MAAM,OAAO,CAAA;IAClC,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,iFAAiF;IACjF,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CAC3D,CAAA;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB;;;;;;;wBA4HnC,MAAM,YAAY,MAAM;;;;;EA0DnD"}
|
package/esm/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ declare module '@vue/runtime-core' {
|
|
|
54
54
|
QPasswordField: typeof import('@quidgest/ui/components')['QPasswordField']
|
|
55
55
|
QPhoneField: typeof import('@quidgest/ui/components')['QPhoneField']
|
|
56
56
|
QPopover: typeof import('@quidgest/ui/components')['QPopover']
|
|
57
|
+
QProgress: typeof import('@quidgest/ui/components')['QProgress']
|
|
57
58
|
QPropertyList: typeof import('@quidgest/ui/components')['QPropertyList']
|
|
58
59
|
QPropertyListRow: typeof import('@quidgest/ui/components')['QPropertyListRow']
|
|
59
60
|
QPropertyListGroup: typeof import('@quidgest/ui/components')['QPropertyListGroup']
|
package/esm/templates/theme.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
//#region src/templates/theme.ts
|
|
2
2
|
var e = {
|
|
3
|
-
primary: "#
|
|
4
|
-
primaryLight: "#
|
|
5
|
-
primaryDark: "#
|
|
6
|
-
secondary: "#
|
|
7
|
-
secondaryLight: "#
|
|
8
|
-
secondaryDark: "#
|
|
3
|
+
primary: "#185fa5",
|
|
4
|
+
primaryLight: "#b9d7f5",
|
|
5
|
+
primaryDark: "#12477c",
|
|
6
|
+
secondary: "#001850",
|
|
7
|
+
secondaryLight: "#94b4ff",
|
|
8
|
+
secondaryDark: "#00123d",
|
|
9
9
|
highlight: "#ff8241",
|
|
10
10
|
highlightLight: "#ffe0d0",
|
|
11
11
|
highlightDark: "#f15400",
|
|
@@ -26,7 +26,7 @@ var e = {
|
|
|
26
26
|
neutral: "#6d767f",
|
|
27
27
|
neutralLight: "#dadddf",
|
|
28
28
|
neutralDark: "#51585f",
|
|
29
|
-
onPrimary: "#
|
|
29
|
+
onPrimary: "#fff",
|
|
30
30
|
onPrimaryLight: "#000",
|
|
31
31
|
onPrimaryDark: "#fff",
|
|
32
32
|
onSecondary: "#fff",
|
|
@@ -53,12 +53,12 @@ var e = {
|
|
|
53
53
|
onNeutralLight: "#000",
|
|
54
54
|
onNeutralDark: "#fff"
|
|
55
55
|
}, t = {
|
|
56
|
-
primary: "#
|
|
56
|
+
primary: "#2c87e1",
|
|
57
57
|
primaryLight: "#1a2832",
|
|
58
|
-
primaryDark: "#
|
|
59
|
-
secondary: "#
|
|
58
|
+
primaryDark: "#66a8e9",
|
|
59
|
+
secondary: "#bacfff",
|
|
60
60
|
secondaryLight: "#1a2832",
|
|
61
|
-
secondaryDark: "#
|
|
61
|
+
secondaryDark: "#dbe6ff",
|
|
62
62
|
highlight: "#ff9966",
|
|
63
63
|
highlightLight: "#2d1a0f",
|
|
64
64
|
highlightDark: "#ffb899",
|
package/esm/types/component.d.ts
CHANGED
|
@@ -19,4 +19,11 @@ export type QBaseComponentProps = {
|
|
|
19
19
|
*/
|
|
20
20
|
class?: string | unknown[];
|
|
21
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* Local control chrome size. Multiplies the inherited global `--q-density-scale`
|
|
24
|
+
* (`small` ×0.8, `medium` ×1, `large` ×1.2). Distinct from Field/Dialog/Sidebar
|
|
25
|
+
* layout `size`. Only `small` and `large` emit BEM modifiers; `medium` (and omit)
|
|
26
|
+
* inherit the global scale with no extra class.
|
|
27
|
+
*/
|
|
28
|
+
export type QComponentSize = 'small' | 'medium' | 'large';
|
|
22
29
|
//# sourceMappingURL=component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/types/component.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG;IACjC;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;CAC1B,CAAA"}
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/types/component.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG;IACjC;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;CAC1B,CAAA;AAED;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA"}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* Theme utility color keys used for BEM classification via `isThemeColor` /
|
|
3
3
|
* `isUtilityColor`.
|
|
4
4
|
*
|
|
5
|
-
* Brand/semantic keys match the historical
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
5
|
+
* Brand/semantic keys match the historical theme color set. Color CSS vars for
|
|
6
|
+
* QButton / QBadge / QToast come from bound `useColor` styles rather than Sass
|
|
7
|
+
* map loops. `background` remains a utility key so QButton can apply its
|
|
8
|
+
* hand-written `--background` modifier (and skip inline vars for that color).
|
|
9
|
+
* `container` is omitted (scheme resolve only).
|
|
10
10
|
*/
|
|
11
11
|
export declare const THEME_COLOR_KEYS: readonly ["primary", "secondary", "highlight", "info", "success", "warning", "danger", "neutral", "background"];
|
|
12
12
|
/**
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const DENSITIES: readonly ["compact", "regular", "loose"];
|
|
2
|
+
export type QDensity = (typeof DENSITIES)[number];
|
|
3
|
+
/**
|
|
4
|
+
* Returns the current global density. Falls back to `regular`.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getGlobalDensity(): QDensity;
|
|
7
|
+
/**
|
|
8
|
+
* Applies a global density (`compact` | `regular` | `loose`) to the root element.
|
|
9
|
+
* CSS mode selectors own `--q-density-scale`; this only sets the attribute and class.
|
|
10
|
+
*/
|
|
11
|
+
export declare function setGlobalDensity(density: QDensity): QDensity;
|
|
12
|
+
//# sourceMappingURL=density.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"density.d.ts","sourceRoot":"","sources":["../../src/utils/density.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,0CAA2C,CAAA;AAEjE,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAA;AAajD;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,QAAQ,CAI3C;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,QAAQ,GAAG,QAAQ,CAW5D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region src/utils/density.ts
|
|
2
|
+
var e = [
|
|
3
|
+
"compact",
|
|
4
|
+
"regular",
|
|
5
|
+
"loose"
|
|
6
|
+
], t = "q-density--", n = "data-q-density";
|
|
7
|
+
function r(t) {
|
|
8
|
+
return e.includes(t);
|
|
9
|
+
}
|
|
10
|
+
function i() {
|
|
11
|
+
return document.documentElement;
|
|
12
|
+
}
|
|
13
|
+
function a() {
|
|
14
|
+
let e = i().getAttribute(n);
|
|
15
|
+
return e && r(e) ? e : "regular";
|
|
16
|
+
}
|
|
17
|
+
function o(e) {
|
|
18
|
+
let r = i();
|
|
19
|
+
for (let e of Array.from(r.classList)) e.startsWith(t) && r.classList.remove(e);
|
|
20
|
+
return r.classList.add(`${t}${e}`), r.setAttribute(n, e), e;
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { e as DENSITIES, a as getGlobalDensity, o as setGlobalDensity };
|
package/esm/utils/index.d.ts
CHANGED
package/esm/utils/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,QAAQ,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA"}
|
package/esm/utils/index.js
CHANGED
|
@@ -7,10 +7,12 @@ import { mergeColorSchemes as h } from "./color/merge.js";
|
|
|
7
7
|
import { THEME_COLOR_KEYS as g, isThemeColor as _, isUnsupportedColor as v } from "./color/theme-colors.js";
|
|
8
8
|
import { addDays as y, addMonths as b, advancePastFormatLiteral as x, clampDayByMonthYear as S, clampNumericSegments as C, completePartialDateInput as w, convertDatePatternToMask as T, formatDate as E, formatUsesSeconds as D, formatUsesTime as O, getDaysInMonth as k, getEndOfDay as A, getFirstDayOfMonth as j, getFirstDayOfWeek as M, getLastDayOfMonth as N, getStartOfDay as P, inputIncludesTimePortion as F, isBetween as I, isLeapYear as L, isSameDay as R, isTimeOnlyFormat as z, normalizeNumericToken as B, padNumber as V, parseDate as H, parseDateWithCompletion as U, parseIsoDate as W, uses12HourFormat as G } from "./date.js";
|
|
9
9
|
import { applyMask as K } from "./mask.js";
|
|
10
|
+
import { DENSITIES as q, getGlobalDensity as J, setGlobalDensity as Y } from "./density.js";
|
|
10
11
|
//#region src/utils/index.ts
|
|
11
|
-
var
|
|
12
|
+
var X = /* @__PURE__ */ e({
|
|
12
13
|
COLOR_SCHEME_DARKEN_AMOUNT: () => 25,
|
|
13
14
|
COLOR_SCHEME_LIGHTEN_AMOUNT: () => 75,
|
|
15
|
+
DENSITIES: () => q,
|
|
14
16
|
THEME_COLOR_KEYS: () => g,
|
|
15
17
|
addDays: () => y,
|
|
16
18
|
addMonths: () => b,
|
|
@@ -30,6 +32,7 @@ var q = /* @__PURE__ */ e({
|
|
|
30
32
|
getEndOfDay: () => A,
|
|
31
33
|
getFirstDayOfMonth: () => j,
|
|
32
34
|
getFirstDayOfWeek: () => M,
|
|
35
|
+
getGlobalDensity: () => J,
|
|
33
36
|
getLastDayOfMonth: () => N,
|
|
34
37
|
getRelativeLuminance: () => f,
|
|
35
38
|
getStartOfDay: () => P,
|
|
@@ -54,9 +57,10 @@ var q = /* @__PURE__ */ e({
|
|
|
54
57
|
rgbToHex: () => r,
|
|
55
58
|
rgbToHsl: () => i,
|
|
56
59
|
rgbToVariableString: () => a,
|
|
60
|
+
setGlobalDensity: () => Y,
|
|
57
61
|
tryParseColor: () => c,
|
|
58
62
|
tryParseRgb: () => l,
|
|
59
63
|
uses12HourFormat: () => G
|
|
60
64
|
});
|
|
61
65
|
//#endregion
|
|
62
|
-
export { g as THEME_COLOR_KEYS, y as addDays, b as addMonths, x as advancePastFormatLiteral, K as applyMask, S as clampDayByMonthYear, C as clampNumericSegments, w as completePartialDateInput, T as convertDatePatternToMask, p as darken, E as formatDate, D as formatUsesSeconds, O as formatUsesTime, u as getComplementaryColor, d as getContrastingColor, k as getDaysInMonth, A as getEndOfDay, j as getFirstDayOfMonth, M as getFirstDayOfWeek, N as getLastDayOfMonth, f as getRelativeLuminance, P as getStartOfDay, t as hslToRgb, n as hueToRgb, F as inputIncludesTimePortion, I as isBetween, L as isLeapYear, R as isSameDay, _ as isThemeColor, z as isTimeOnlyFormat, v as isUnsupportedColor, o as isValidHex, m as lighten, h as mergeColorSchemes, B as normalizeNumericToken, V as padNumber, s as parseColor, H as parseDate, U as parseDateWithCompletion, W as parseIsoDate, r as rgbToHex, i as rgbToHsl, a as rgbToVariableString, c as tryParseColor, l as tryParseRgb, G as uses12HourFormat,
|
|
66
|
+
export { q as DENSITIES, g as THEME_COLOR_KEYS, y as addDays, b as addMonths, x as advancePastFormatLiteral, K as applyMask, S as clampDayByMonthYear, C as clampNumericSegments, w as completePartialDateInput, T as convertDatePatternToMask, p as darken, E as formatDate, D as formatUsesSeconds, O as formatUsesTime, u as getComplementaryColor, d as getContrastingColor, k as getDaysInMonth, A as getEndOfDay, j as getFirstDayOfMonth, M as getFirstDayOfWeek, J as getGlobalDensity, N as getLastDayOfMonth, f as getRelativeLuminance, P as getStartOfDay, t as hslToRgb, n as hueToRgb, F as inputIncludesTimePortion, I as isBetween, L as isLeapYear, R as isSameDay, _ as isThemeColor, z as isTimeOnlyFormat, v as isUnsupportedColor, o as isValidHex, m as lighten, h as mergeColorSchemes, B as normalizeNumericToken, V as padNumber, s as parseColor, H as parseDate, U as parseDateWithCompletion, W as parseIsoDate, r as rgbToHex, i as rgbToHsl, a as rgbToVariableString, Y as setGlobalDensity, c as tryParseColor, l as tryParseRgb, G as uses12HourFormat, X as utils_exports };
|
|
@@ -117,4 +117,16 @@ export declare function getAlignmentFromPlacement(placement: Placement): Alignme
|
|
|
117
117
|
* @returns A boolean indicating whether the overflow result is out of bounds (true) or not (false).
|
|
118
118
|
*/
|
|
119
119
|
export declare function isOutOfBounds(overflowResult: number): boolean;
|
|
120
|
+
/** Fallback when `--q-overlay-arrow-gap` is unavailable (regular density gap). */
|
|
121
|
+
export declare const OVERLAY_OFFSET_FALLBACK = 8;
|
|
122
|
+
/**
|
|
123
|
+
* Resolves the main-axis overlay offset. Explicit `offset` wins; otherwise reads
|
|
124
|
+
* the density-scaled `--q-overlay-arrow-gap` from `el` so JS stays paired with
|
|
125
|
+
* the CSS arrow tip (gap ≈ size / √2).
|
|
126
|
+
*
|
|
127
|
+
* @param offset - Explicit offset from props, when set.
|
|
128
|
+
* @param el - Overlay root that defines `--q-overlay-arrow-gap`.
|
|
129
|
+
* @returns Resolved offset in pixels.
|
|
130
|
+
*/
|
|
131
|
+
export declare function resolveOverlayOffset(offset: number | undefined, el: Element | null | undefined): number;
|
|
120
132
|
//# sourceMappingURL=overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../src/utils/overlay.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,UAAU,CAAA;AAE/C;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAA;AAElD;;GAEG;A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,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAE3D;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAG/D;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAGrF;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAE7D;AAED,kFAAkF;AAClF,eAAO,MAAM,uBAAuB,IAAI,CAAA;AAExC;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CACnC,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,EAAE,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,GAC5B,MAAM,CAcR"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region src/
|
|
1
|
+
//#region src/utils/overlay.ts
|
|
2
2
|
var e = 8;
|
|
3
3
|
function t(e, t, c, l) {
|
|
4
4
|
let u = l?.offset ?? 0, d = l?.crossOffset ?? 0, f = l?.placement ?? "bottom", p = e.getBoundingClientRect(), m = t.getBoundingClientRect(), h = c?.getBoundingClientRect(), g = n(p, m, f, u), _ = r(a(i(s(p, m, g), g, u), g, d), m, g), v;
|
|
@@ -135,5 +135,13 @@ function p(e) {
|
|
|
135
135
|
function m(e) {
|
|
136
136
|
return e < 0;
|
|
137
137
|
}
|
|
138
|
+
function h(e, t) {
|
|
139
|
+
if (e !== void 0) return e;
|
|
140
|
+
if (t) {
|
|
141
|
+
let e = getComputedStyle(t).getPropertyValue("--q-overlay-arrow-gap").trim(), n = Number.parseFloat(e);
|
|
142
|
+
if (Number.isFinite(n)) return n;
|
|
143
|
+
}
|
|
144
|
+
return 8;
|
|
145
|
+
}
|
|
138
146
|
//#endregion
|
|
139
|
-
export { t as computePosition, d as getAlignmentAxis, p as getAlignmentFromPlacement, u as getMainAxis, l as getOppositeAxis, f as getSideFromPlacement, m as isOutOfBounds };
|
|
147
|
+
export { t as computePosition, d as getAlignmentAxis, p as getAlignmentFromPlacement, u as getMainAxis, l as getOppositeAxis, f as getSideFromPlacement, m as isOutOfBounds, h as resolveOverlayOffset };
|