@quidgest/ui 0.15.9 → 0.16.1
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/manifest/components.json +4 -1
- package/dist/ui.css +11 -12
- package/dist/ui.esm.js +3758 -3654
- package/dist/ui.js +26 -26
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +748 -741
- package/dist/ui.scss +34 -31
- package/esm/components/QAccordion/QAccordion.d.ts +4 -3
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +21 -17
- package/esm/components/QAccordion/QAccordionItem.d.ts +19 -0
- package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -0
- package/esm/components/QAccordion/QAccordionItem.vue.js +42 -0
- package/esm/components/QAccordion/QAccordionItem.vue2.js +4 -0
- package/esm/components/QAccordion/index.d.ts +35 -15
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAccordion/index.js +6 -4
- package/esm/components/QAccordion/types.d.ts +25 -5
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +9 -11
- package/esm/components/QButton/types.d.ts +0 -4
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +60 -65
- package/esm/components/QCollapsible/index.d.ts +14 -14
- package/esm/components/QCollapsible/index.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +16 -18
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +59 -57
- package/esm/components/QCombobox/index.d.ts +11 -9
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +4 -0
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +16 -16
- package/esm/components/QList/QList.d.ts +9 -9
- package/esm/components/QList/QListItem.d.ts +1 -1
- package/esm/components/QList/index.d.ts +10 -10
- package/esm/components/QOverlay/QOverlay.vue.js +15 -16
- 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 +0 -4
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +12 -13
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +31 -34
- package/esm/components/QRadioGroup/QRadioButton.vue.js +3 -3
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +1 -1
- package/esm/components/QSelect/QSelect.d.ts +16 -16
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +58 -56
- package/esm/components/QSelect/index.d.ts +11 -8
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +4 -0
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/{QButtonToggle/QButtonToggle.d.ts → QToggle/QToggle.d.ts} +11 -9
- package/esm/components/QToggle/QToggle.d.ts.map +1 -0
- package/esm/components/QToggle/QToggle.vue.js +40 -0
- package/esm/components/QToggle/QToggle.vue2.js +4 -0
- package/esm/components/QToggle/index.d.ts +71 -0
- package/esm/components/QToggle/index.d.ts.map +1 -0
- package/esm/components/{QButtonToggle → QToggle}/index.js +3 -3
- package/esm/components/QToggle/types.d.ts +3 -0
- package/esm/components/QToggle/types.d.ts.map +1 -0
- package/esm/components/QToggleGroup/QToggleGroup.d.ts +28 -0
- package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -0
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +49 -0
- package/esm/components/QToggleGroup/QToggleGroup.vue2.js +4 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts +19 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +44 -0
- package/esm/components/QToggleGroup/QToggleGroupItem.vue2.js +4 -0
- package/esm/components/QToggleGroup/index.d.ts +75 -0
- package/esm/components/QToggleGroup/index.d.ts.map +1 -0
- package/esm/components/QToggleGroup/index.js +8 -0
- package/esm/components/QToggleGroup/types.d.ts +19 -0
- package/esm/components/QToggleGroup/types.d.ts.map +1 -0
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +42 -40
- package/esm/components/index.d.ts +2 -1
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +83 -79
- package/esm/composables/{group.d.ts → useGroup/index.d.ts} +11 -3
- package/esm/composables/useGroup/index.d.ts.map +1 -0
- package/esm/composables/useGroup/index.js +38 -0
- package/esm/index.d.ts +4 -1
- package/package.json +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +0 -1
- package/esm/components/QButtonToggle/QButtonToggle.vue.js +0 -62
- package/esm/components/QButtonToggle/QButtonToggle.vue2.js +0 -4
- package/esm/components/QButtonToggle/index.d.ts +0 -51
- package/esm/components/QButtonToggle/index.d.ts.map +0 -1
- package/esm/components/QButtonToggle/types.d.ts +0 -29
- package/esm/components/QButtonToggle/types.d.ts.map +0 -1
- package/esm/composables/group.d.ts.map +0 -1
- package/esm/composables/group.js +0 -31
package/dist/ui.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quidgest UI v0.
|
|
2
|
+
* Quidgest UI v0.16.1
|
|
3
3
|
* (c) 2025 Quidgest - Consultores de Gestão, S.A.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -617,12 +617,6 @@ body {
|
|
|
617
617
|
--q-button-on-hover-color: var(--q-theme-on-primary);
|
|
618
618
|
}
|
|
619
619
|
|
|
620
|
-
&--active {
|
|
621
|
-
z-index: 2;
|
|
622
|
-
color: var(--q-theme-primary-dark);
|
|
623
|
-
border-color: var(--q-theme-primary);
|
|
624
|
-
background-color: rgb(var(--q-theme-primary-light-rgb) / 50%);
|
|
625
|
-
}
|
|
626
620
|
&--loading {
|
|
627
621
|
&:hover {
|
|
628
622
|
cursor: not-allowed;
|
|
@@ -1756,7 +1750,7 @@ $arrow-tip-radius: 0.1rem;
|
|
|
1756
1750
|
}
|
|
1757
1751
|
}
|
|
1758
1752
|
.q-popover {
|
|
1759
|
-
|
|
1753
|
+
&__content {
|
|
1760
1754
|
position: relative;
|
|
1761
1755
|
display: flex;
|
|
1762
1756
|
flex-direction: column;
|
|
@@ -2192,27 +2186,36 @@ $spinner-color: var(--q-theme-primary);
|
|
|
2192
2186
|
color: var(--q-theme-on-background);
|
|
2193
2187
|
caret-color: var(--q-theme-on-background);
|
|
2194
2188
|
}
|
|
2195
|
-
.q-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2189
|
+
.q-toggle {
|
|
2190
|
+
&--active {
|
|
2191
|
+
z-index: 2;
|
|
2192
|
+
color: var(--q-theme-primary-dark);
|
|
2193
|
+
background-color: rgb(var(--q-theme-primary-light-rgb) / 50%);
|
|
2194
|
+
&:not(.q-button--borderless) {
|
|
2195
|
+
border-color: var(--q-theme-primary);
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
.q-tooltip {
|
|
2200
|
+
&__content {
|
|
2201
|
+
display: flex;
|
|
2202
|
+
flex-direction: column;
|
|
2203
|
+
gap: $space-base;
|
|
2204
|
+
align-items: center;
|
|
2205
|
+
padding: 0.5rem;
|
|
2206
|
+
font-style: normal;
|
|
2207
|
+
font-size: calc($font-size-base * 0.9);
|
|
2208
|
+
font-weight: $font-weight-regular;
|
|
2209
|
+
text-decoration: none;
|
|
2210
|
+
text-shadow: none;
|
|
2211
|
+
text-transform: none;
|
|
2212
|
+
line-height: 1.5;
|
|
2213
|
+
line-break: auto;
|
|
2214
|
+
word-wrap: break-word;
|
|
2215
|
+
word-break: normal;
|
|
2216
|
+
word-spacing: normal;
|
|
2217
|
+
white-space: normal;
|
|
2218
|
+
letter-spacing: normal;
|
|
2219
|
+
max-width: 200px;
|
|
2220
|
+
}
|
|
2218
2221
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { Primitive } from '../../types/primitive';
|
|
1
2
|
import { QAccordionProps } from './types';
|
|
2
3
|
type __VLS_Props = QAccordionProps;
|
|
3
4
|
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?:
|
|
5
|
+
modelValue?: Primitive | Primitive[];
|
|
5
6
|
} & __VLS_Props;
|
|
6
7
|
declare function __VLS_template(): {
|
|
7
8
|
attrs: Partial<{}>;
|
|
@@ -13,9 +14,9 @@ declare function __VLS_template(): {
|
|
|
13
14
|
};
|
|
14
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
16
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
"update:modelValue": (value:
|
|
17
|
+
"update:modelValue": (value: Primitive | Primitive[]) => any;
|
|
17
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
-
"onUpdate:modelValue"?: ((value:
|
|
19
|
+
"onUpdate:modelValue"?: ((value: Primitive | Primitive[]) => any) | undefined;
|
|
19
20
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
22
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/QAccordion.vue"],"names":[],"mappings":"AAOA;
|
|
1
|
+
{"version":3,"file":"QAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/QAccordion.vue"],"names":[],"mappings":"AAOA;AAkDC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAK9C,KAAK,WAAW,GAAG,eAAe,CAAC;AA2BpC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;CACpC,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as n, mergeModels as s, toRef as o, useModel as r, watch as c, createElementBlock as d, openBlock as m, normalizeClass as p, renderSlot as u } from "vue";
|
|
2
2
|
import { provideDefaults as f } from "../../composables/defaults.js";
|
|
3
|
-
import { useGroup as
|
|
4
|
-
const
|
|
3
|
+
import { useGroup as g } from "../../composables/useGroup/index.js";
|
|
4
|
+
const v = ["id"], b = /* @__PURE__ */ n({
|
|
5
5
|
__name: "QAccordion",
|
|
6
|
-
props: /* @__PURE__ */
|
|
6
|
+
props: /* @__PURE__ */ s({
|
|
7
7
|
id: {},
|
|
8
8
|
class: {},
|
|
9
|
-
|
|
9
|
+
variant: {},
|
|
10
10
|
spacing: {},
|
|
11
|
-
|
|
11
|
+
iconRight: { type: Boolean },
|
|
12
|
+
multiple: { type: Boolean }
|
|
12
13
|
}, {
|
|
13
|
-
modelValue: {},
|
|
14
|
+
modelValue: { type: [String, Number, Boolean, Symbol, Array] },
|
|
14
15
|
modelModifiers: {}
|
|
15
16
|
}),
|
|
16
17
|
emits: ["update:modelValue"],
|
|
@@ -18,23 +19,26 @@ const g = ["id"], B = /* @__PURE__ */ l({
|
|
|
18
19
|
const e = i;
|
|
19
20
|
f({
|
|
20
21
|
QCollapsible: {
|
|
21
|
-
iconRight:
|
|
22
|
-
spacing:
|
|
23
|
-
variant:
|
|
22
|
+
iconRight: o(e, "iconRight"),
|
|
23
|
+
spacing: o(e, "spacing"),
|
|
24
|
+
variant: o(e, "variant"),
|
|
24
25
|
width: "block"
|
|
25
26
|
}
|
|
26
27
|
});
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
})
|
|
28
|
+
const l = r(i, "modelValue"), { active: a } = g({
|
|
29
|
+
active: l,
|
|
30
|
+
multiple: o(e, "multiple")
|
|
31
|
+
});
|
|
32
|
+
return c(a, (t) => {
|
|
33
|
+
l.value = t;
|
|
34
|
+
}), (t, h) => (m(), d("div", {
|
|
31
35
|
id: e.id,
|
|
32
36
|
class: p(["q-accordion", e.class])
|
|
33
37
|
}, [
|
|
34
|
-
u(
|
|
35
|
-
], 10,
|
|
38
|
+
u(t.$slots, "default")
|
|
39
|
+
], 10, v));
|
|
36
40
|
}
|
|
37
41
|
});
|
|
38
42
|
export {
|
|
39
|
-
|
|
43
|
+
b as default
|
|
40
44
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { QAccordionItemProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<QAccordionItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QAccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=QAccordionItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QAccordionItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/QAccordionItem.vue"],"names":[],"mappings":"AAQA;AA6CC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAoBnD,iBAAS,cAAc;WAyCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as u, computed as s, createBlock as m, openBlock as p, unref as o, mergeProps as d, withCtx as c, renderSlot as f } from "vue";
|
|
2
|
+
import { QCollapsible as v } from "../QCollapsible/index.js";
|
|
3
|
+
import { useId as g } from "../../composables/uid.js";
|
|
4
|
+
import { useGroupItem as h } from "../../composables/useGroup/index.js";
|
|
5
|
+
const I = /* @__PURE__ */ u({
|
|
6
|
+
__name: "QAccordionItem",
|
|
7
|
+
props: {
|
|
8
|
+
id: {},
|
|
9
|
+
class: {},
|
|
10
|
+
title: {},
|
|
11
|
+
subtitle: {},
|
|
12
|
+
required: { type: Boolean },
|
|
13
|
+
iconRight: { type: Boolean },
|
|
14
|
+
spacing: {},
|
|
15
|
+
variant: {},
|
|
16
|
+
width: {},
|
|
17
|
+
icons: {},
|
|
18
|
+
value: {}
|
|
19
|
+
},
|
|
20
|
+
setup(i) {
|
|
21
|
+
const t = i, l = s(() => g(t.value)), e = h(l);
|
|
22
|
+
if (!e)
|
|
23
|
+
throw new Error(
|
|
24
|
+
"QAccordionItem: Failed to retrieve group item. Ensure the component is used within a QAccordion context."
|
|
25
|
+
);
|
|
26
|
+
return (n, r) => (p(), m(o(v), d({
|
|
27
|
+
modelValue: o(e).isActive.value,
|
|
28
|
+
"onUpdate:modelValue": r[0] || (r[0] = (a) => o(e).isActive.value = a)
|
|
29
|
+
}, t, {
|
|
30
|
+
"onUpdate:modelValue": o(e).toggle
|
|
31
|
+
}), {
|
|
32
|
+
default: c(() => [
|
|
33
|
+
f(n.$slots, "default")
|
|
34
|
+
]),
|
|
35
|
+
_: 3
|
|
36
|
+
/* FORWARDED */
|
|
37
|
+
}, 16, ["modelValue", "onUpdate:modelValue"]));
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
I as default
|
|
42
|
+
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
declare const QAccordion: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
-
modelValue?:
|
|
3
|
+
modelValue?: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[];
|
|
4
4
|
} & import('../../types/component').QBaseComponentProps & {
|
|
5
|
+
variant?: import('..').QCollapsibleVariant;
|
|
6
|
+
spacing?: import('..').QCollapsibleSpacing;
|
|
5
7
|
iconRight?: boolean;
|
|
6
|
-
|
|
7
|
-
variant?: import('../QCollapsible/types').QCollapsibleVariant;
|
|
8
|
+
multiple?: boolean;
|
|
8
9
|
}> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: ((value:
|
|
10
|
+
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any) | undefined;
|
|
10
11
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
"update:modelValue": (value:
|
|
12
|
+
"update:modelValue": (value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any;
|
|
12
13
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
13
14
|
P: {};
|
|
14
15
|
B: {};
|
|
@@ -17,31 +18,50 @@ declare const QAccordion: {
|
|
|
17
18
|
M: {};
|
|
18
19
|
Defaults: {};
|
|
19
20
|
}, Readonly<{
|
|
20
|
-
modelValue?:
|
|
21
|
+
modelValue?: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[];
|
|
21
22
|
} & import('../../types/component').QBaseComponentProps & {
|
|
23
|
+
variant?: import('..').QCollapsibleVariant;
|
|
24
|
+
spacing?: import('..').QCollapsibleSpacing;
|
|
22
25
|
iconRight?: boolean;
|
|
23
|
-
|
|
24
|
-
variant?: import('../QCollapsible/types').QCollapsibleVariant;
|
|
26
|
+
multiple?: boolean;
|
|
25
27
|
}> & Readonly<{
|
|
26
|
-
"onUpdate:modelValue"?: ((value:
|
|
28
|
+
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any) | undefined;
|
|
27
29
|
}>, {}, {}, {}, {}, {}>;
|
|
28
30
|
__isFragment?: never;
|
|
29
31
|
__isTeleport?: never;
|
|
30
32
|
__isSuspense?: never;
|
|
31
33
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
32
|
-
modelValue?:
|
|
34
|
+
modelValue?: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[];
|
|
33
35
|
} & import('../../types/component').QBaseComponentProps & {
|
|
36
|
+
variant?: import('..').QCollapsibleVariant;
|
|
37
|
+
spacing?: import('..').QCollapsibleSpacing;
|
|
34
38
|
iconRight?: boolean;
|
|
35
|
-
|
|
36
|
-
variant?: import('../QCollapsible/types').QCollapsibleVariant;
|
|
39
|
+
multiple?: boolean;
|
|
37
40
|
}> & Readonly<{
|
|
38
|
-
"onUpdate:modelValue"?: ((value:
|
|
41
|
+
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any) | undefined;
|
|
39
42
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
-
"update:modelValue": (value:
|
|
43
|
+
"update:modelValue": (value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any;
|
|
41
44
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
42
45
|
$slots: {
|
|
43
46
|
default?(_: {}): any;
|
|
44
47
|
};
|
|
45
48
|
});
|
|
46
|
-
|
|
49
|
+
declare const QAccordionItem: {
|
|
50
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QAccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
51
|
+
P: {};
|
|
52
|
+
B: {};
|
|
53
|
+
D: {};
|
|
54
|
+
C: {};
|
|
55
|
+
M: {};
|
|
56
|
+
Defaults: {};
|
|
57
|
+
}, Readonly<import('./types').QAccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
58
|
+
__isFragment?: never;
|
|
59
|
+
__isTeleport?: never;
|
|
60
|
+
__isSuspense?: never;
|
|
61
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QAccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
62
|
+
$slots: {
|
|
63
|
+
default?(_: {}): any;
|
|
64
|
+
};
|
|
65
|
+
});
|
|
66
|
+
export { QAccordion, QAccordionItem };
|
|
47
67
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+B,CAAA;AAC/C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import r from "./QAccordion.vue.js";
|
|
2
|
+
import m from "./QAccordionItem.vue.js";
|
|
3
|
+
import { setupPropsProxy as o } from "../../utils/setupPropsProxy.js";
|
|
4
|
+
const n = o(r), p = o(m);
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
+
n as QAccordion,
|
|
7
|
+
p as QAccordionItem
|
|
6
8
|
};
|
|
@@ -1,17 +1,37 @@
|
|
|
1
|
-
import { QCollapsibleSpacing, QCollapsibleVariant } from '../QCollapsible
|
|
1
|
+
import { QCollapsibleProps, QCollapsibleSpacing, QCollapsibleVariant } from '../QCollapsible';
|
|
2
2
|
import { QBaseComponentProps } from '../../types/component';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the QAccordion component.
|
|
5
|
+
*
|
|
6
|
+
* @extends QBaseComponentProps
|
|
7
|
+
*/
|
|
3
8
|
export type QAccordionProps = QBaseComponentProps & {
|
|
9
|
+
/**
|
|
10
|
+
* Specifies the visual style of the collapsible sections.
|
|
11
|
+
*/
|
|
12
|
+
variant?: QCollapsibleVariant;
|
|
13
|
+
/**
|
|
14
|
+
* Defines the spacing around the title of each collapsible section.
|
|
15
|
+
*/
|
|
16
|
+
spacing?: QCollapsibleSpacing;
|
|
4
17
|
/**
|
|
5
18
|
* If true, positions the expand/collapse icon on the right.
|
|
6
19
|
*/
|
|
7
20
|
iconRight?: boolean;
|
|
8
21
|
/**
|
|
9
|
-
*
|
|
22
|
+
* If true, allows multiple collapsible sections to be expanded simultaneously.
|
|
10
23
|
*/
|
|
11
|
-
|
|
24
|
+
multiple?: boolean;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Props for the QAccordionItem component.
|
|
28
|
+
*
|
|
29
|
+
* @extends QBaseComponentProps
|
|
30
|
+
*/
|
|
31
|
+
export type QAccordionItemProps = QCollapsibleProps & {
|
|
12
32
|
/**
|
|
13
|
-
*
|
|
33
|
+
* An optional string that represents the value associated with the accordion item.
|
|
14
34
|
*/
|
|
15
|
-
|
|
35
|
+
value?: string;
|
|
16
36
|
};
|
|
17
37
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAClG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IACnD;;OAEG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAE7B;;OAEG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAE7B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,GAAG;IACrD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue"],"names":[],"mappings":"AAmBA;
|
|
1
|
+
{"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue"],"names":[],"mappings":"AAmBA;AAwGC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AA6E5C,iBAAS,cAAc;WA6CT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;2FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as _, computed as a, toRef as y, createElementBlock as d, openBlock as b, withModifiers as g, normalizeStyle as h, normalizeClass as k, createCommentVNode as B, createElementVNode as z, createVNode as V, unref as $, renderSlot as N, createTextVNode as P, toDisplayString as S } from "vue";
|
|
2
2
|
import { QSpinnerLoader as R } from "../QSpinnerLoader/index.js";
|
|
3
3
|
import { useColor as x } from "../../composables/useColor/index.js";
|
|
4
4
|
const D = ["id", "disabled"], E = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "q-button__spinner"
|
|
7
|
-
}, M = { class: "q-button__content" }, L = /* @__PURE__ */
|
|
7
|
+
}, M = { class: "q-button__content" }, L = /* @__PURE__ */ _({
|
|
8
8
|
__name: "QButton",
|
|
9
9
|
props: {
|
|
10
10
|
id: {},
|
|
@@ -19,7 +19,6 @@ const D = ["id", "disabled"], E = {
|
|
|
19
19
|
loading: { type: Boolean },
|
|
20
20
|
size: { default: "regular" },
|
|
21
21
|
iconPos: { default: "start" },
|
|
22
|
-
active: { type: Boolean },
|
|
23
22
|
pill: { type: Boolean }
|
|
24
23
|
},
|
|
25
24
|
emits: ["click"],
|
|
@@ -28,16 +27,15 @@ const D = ["id", "disabled"], E = {
|
|
|
28
27
|
function f(e) {
|
|
29
28
|
r.value || m("click", e);
|
|
30
29
|
}
|
|
31
|
-
const { isUtilityColor: s, style: t } = x(
|
|
32
|
-
const e = s.value ? `q-button--${o.color}` : void 0,
|
|
30
|
+
const { isUtilityColor: s, style: t } = x(y(o, "color")), q = a(() => {
|
|
31
|
+
const e = s.value ? `q-button--${o.color}` : void 0, l = o.size !== "regular" ? `q-button--${o.size}` : void 0, n = o.iconPos !== "start" ? `q-button--icon-${o.iconPos}` : void 0;
|
|
33
32
|
return [
|
|
34
33
|
"q-button",
|
|
35
34
|
`q-button--${o.variant}`,
|
|
36
35
|
e,
|
|
37
|
-
n,
|
|
38
36
|
l,
|
|
37
|
+
n,
|
|
39
38
|
{
|
|
40
|
-
"q-button--active": o.active,
|
|
41
39
|
"q-button--borderless": o.borderless,
|
|
42
40
|
"q-button--elevated": o.elevated,
|
|
43
41
|
"q-button--block": o.block,
|
|
@@ -47,18 +45,18 @@ const D = ["id", "disabled"], E = {
|
|
|
47
45
|
o.class
|
|
48
46
|
];
|
|
49
47
|
}), C = a(() => {
|
|
50
|
-
var e,
|
|
48
|
+
var e, l, n, i, c, u;
|
|
51
49
|
if (!s.value)
|
|
52
50
|
return {
|
|
53
51
|
"--q-button-main-color": (e = t.value) == null ? void 0 : e.mainColor,
|
|
54
|
-
"--q-button-main-color-rgb": (
|
|
55
|
-
"--q-button-on-main-color": (
|
|
52
|
+
"--q-button-main-color-rgb": (l = t.value) == null ? void 0 : l.mainColorRgb,
|
|
53
|
+
"--q-button-on-main-color": (n = t.value) == null ? void 0 : n.onMainColor,
|
|
56
54
|
"--q-button-hover-color": (i = t.value) == null ? void 0 : i.hoverColor,
|
|
57
55
|
"--q-button-hover-color-rgb": (c = t.value) == null ? void 0 : c.hoverColorRgb,
|
|
58
56
|
"--q-button-on-hover-color": (u = t.value) == null ? void 0 : u.onHoverColor
|
|
59
57
|
};
|
|
60
58
|
});
|
|
61
|
-
return (e,
|
|
59
|
+
return (e, l) => (b(), d("button", {
|
|
62
60
|
id: o.id,
|
|
63
61
|
type: "button",
|
|
64
62
|
class: k(q.value),
|
|
@@ -45,10 +45,6 @@ export type QButtonProps = QBaseComponentProps & {
|
|
|
45
45
|
* The position of the button icon.
|
|
46
46
|
*/
|
|
47
47
|
iconPos?: QButtonIconPosition;
|
|
48
|
-
/**
|
|
49
|
-
* Indicates whether the button is active or not.
|
|
50
|
-
*/
|
|
51
|
-
active?: boolean;
|
|
52
48
|
/**
|
|
53
49
|
* Conveys a pill shape to the button.
|
|
54
50
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAAA;AAE7E,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,SAAS,CAAA;AAE7C,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAA;AAEpE,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAA;IAExB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAA;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAE7B;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAAA;AAE7E,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,SAAS,CAAA;AAE7C,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAA;AAEpE,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAA;IAExB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAA;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAE7B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;CACd,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QCollapsible.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCollapsible/QCollapsible.vue"],"names":[],"mappings":"AAyEA;
|
|
1
|
+
{"version":3,"file":"QCollapsible.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCollapsible/QCollapsible.vue"],"names":[],"mappings":"AAyEA;AA2IC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAQvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAKhD,KAAK,WAAW,GAAG,iBAAiB,CAAC;AAuDtC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA+IT,OAAO,IAA6B;;sBAfvB,GAAG;sBAGH,GAAG;iCAFQ,GAAG;gCACJ,GAAG;0BAET,GAAG;yBACJ,GAAG;;;;EAehC;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;6EASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|