@quidgest/ui 0.15.9 → 0.16.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.
Files changed (78) hide show
  1. package/dist/manifest/components.json +4 -1
  2. package/dist/ui.css +9 -6
  3. package/dist/ui.esm.js +3554 -3451
  4. package/dist/ui.js +26 -26
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +738 -731
  7. package/dist/ui.scss +11 -7
  8. package/esm/components/QAccordion/QAccordion.d.ts +4 -3
  9. package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
  10. package/esm/components/QAccordion/QAccordion.vue.js +21 -17
  11. package/esm/components/QAccordion/QAccordionItem.d.ts +19 -0
  12. package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -0
  13. package/esm/components/QAccordion/QAccordionItem.vue.js +42 -0
  14. package/esm/components/QAccordion/QAccordionItem.vue2.js +4 -0
  15. package/esm/components/QAccordion/index.d.ts +35 -15
  16. package/esm/components/QAccordion/index.d.ts.map +1 -1
  17. package/esm/components/QAccordion/index.js +6 -4
  18. package/esm/components/QAccordion/types.d.ts +25 -5
  19. package/esm/components/QAccordion/types.d.ts.map +1 -1
  20. package/esm/components/QButton/QButton.d.ts.map +1 -1
  21. package/esm/components/QButton/QButton.vue.js +9 -11
  22. package/esm/components/QButton/types.d.ts +0 -4
  23. package/esm/components/QButton/types.d.ts.map +1 -1
  24. package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
  25. package/esm/components/QCollapsible/QCollapsible.vue.js +60 -65
  26. package/esm/components/QCollapsible/index.d.ts +14 -14
  27. package/esm/components/QCollapsible/index.d.ts.map +1 -1
  28. package/esm/components/QCombobox/QCombobox.d.ts +16 -18
  29. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  30. package/esm/components/QCombobox/index.d.ts +8 -9
  31. package/esm/components/QCombobox/index.d.ts.map +1 -1
  32. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +16 -16
  33. package/esm/components/QList/QList.d.ts +9 -9
  34. package/esm/components/QList/QListItem.d.ts +1 -1
  35. package/esm/components/QList/index.d.ts +10 -10
  36. package/esm/components/QRadioGroup/QRadioButton.vue.js +3 -3
  37. package/esm/components/QRadioGroup/QRadioGroup.vue.js +1 -1
  38. package/esm/components/QSelect/QSelect.d.ts +16 -16
  39. package/esm/components/QSelect/index.d.ts +8 -8
  40. package/esm/components/{QButtonToggle/QButtonToggle.d.ts → QToggle/QToggle.d.ts} +11 -9
  41. package/esm/components/QToggle/QToggle.d.ts.map +1 -0
  42. package/esm/components/QToggle/QToggle.vue.js +40 -0
  43. package/esm/components/QToggle/QToggle.vue2.js +4 -0
  44. package/esm/components/QToggle/index.d.ts +71 -0
  45. package/esm/components/QToggle/index.d.ts.map +1 -0
  46. package/esm/components/{QButtonToggle → QToggle}/index.js +3 -3
  47. package/esm/components/QToggle/types.d.ts +3 -0
  48. package/esm/components/QToggle/types.d.ts.map +1 -0
  49. package/esm/components/QToggleGroup/QToggleGroup.d.ts +28 -0
  50. package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -0
  51. package/esm/components/QToggleGroup/QToggleGroup.vue.js +49 -0
  52. package/esm/components/QToggleGroup/QToggleGroup.vue2.js +4 -0
  53. package/esm/components/QToggleGroup/QToggleGroupItem.d.ts +19 -0
  54. package/esm/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -0
  55. package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +44 -0
  56. package/esm/components/QToggleGroup/QToggleGroupItem.vue2.js +4 -0
  57. package/esm/components/QToggleGroup/index.d.ts +75 -0
  58. package/esm/components/QToggleGroup/index.d.ts.map +1 -0
  59. package/esm/components/QToggleGroup/index.js +8 -0
  60. package/esm/components/QToggleGroup/types.d.ts +19 -0
  61. package/esm/components/QToggleGroup/types.d.ts.map +1 -0
  62. package/esm/components/index.d.ts +2 -1
  63. package/esm/components/index.d.ts.map +1 -1
  64. package/esm/components/index.js +83 -79
  65. package/esm/composables/{group.d.ts → useGroup/index.d.ts} +11 -3
  66. package/esm/composables/useGroup/index.d.ts.map +1 -0
  67. package/esm/composables/useGroup/index.js +38 -0
  68. package/esm/index.d.ts +4 -1
  69. package/package.json +1 -1
  70. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +0 -1
  71. package/esm/components/QButtonToggle/QButtonToggle.vue.js +0 -62
  72. package/esm/components/QButtonToggle/QButtonToggle.vue2.js +0 -4
  73. package/esm/components/QButtonToggle/index.d.ts +0 -51
  74. package/esm/components/QButtonToggle/index.d.ts.map +0 -1
  75. package/esm/components/QButtonToggle/types.d.ts +0 -29
  76. package/esm/components/QButtonToggle/types.d.ts.map +0 -1
  77. package/esm/composables/group.d.ts.map +0 -1
  78. package/esm/composables/group.js +0 -31
@@ -0,0 +1,40 @@
1
+ import { defineComponent as s, mergeModels as r, useModel as c, computed as d, createBlock as u, openBlock as p, unref as i, mergeProps as m, withCtx as g, renderSlot as f } from "vue";
2
+ import { QButton as B } from "../QButton/index.js";
3
+ const k = /* @__PURE__ */ s({
4
+ __name: "QToggle",
5
+ props: /* @__PURE__ */ r({
6
+ id: {},
7
+ class: {},
8
+ label: {},
9
+ variant: {},
10
+ color: {},
11
+ disabled: { type: Boolean },
12
+ borderless: { type: Boolean },
13
+ elevated: { type: Boolean },
14
+ block: { type: Boolean },
15
+ loading: { type: Boolean },
16
+ size: {},
17
+ iconPos: {},
18
+ pill: { type: Boolean }
19
+ }, {
20
+ modelValue: { type: Boolean },
21
+ modelModifiers: {}
22
+ }),
23
+ emits: ["update:modelValue"],
24
+ setup(o) {
25
+ const l = o, e = c(o, "modelValue"), t = d(() => ["q-toggle", { "q-toggle--active": e.value }]);
26
+ function a() {
27
+ e.value = !e.value;
28
+ }
29
+ return (n, v) => (p(), u(i(B), m({ class: t.value }, l, { onClick: a }), {
30
+ default: g(() => [
31
+ f(n.$slots, "default")
32
+ ]),
33
+ _: 3
34
+ /* FORWARDED */
35
+ }, 16, ["class"]));
36
+ }
37
+ });
38
+ export {
39
+ k as default
40
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./QToggle.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,71 @@
1
+ declare const QToggle: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
3
+ modelValue?: boolean;
4
+ } & import('../../types/component').QBaseComponentProps & {
5
+ label?: string;
6
+ variant?: import('../QButton/types').QButtonVariant;
7
+ color?: string;
8
+ disabled?: boolean;
9
+ borderless?: boolean;
10
+ elevated?: boolean;
11
+ block?: boolean;
12
+ loading?: boolean;
13
+ size?: import('../QButton/types').QButtonSize;
14
+ iconPos?: import('../QButton/types').QButtonIconPosition;
15
+ pill?: boolean;
16
+ }> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
18
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ "update:modelValue": (value: boolean) => any;
20
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
21
+ P: {};
22
+ B: {};
23
+ D: {};
24
+ C: {};
25
+ M: {};
26
+ Defaults: {};
27
+ }, Readonly<{
28
+ modelValue?: boolean;
29
+ } & import('../../types/component').QBaseComponentProps & {
30
+ label?: string;
31
+ variant?: import('../QButton/types').QButtonVariant;
32
+ color?: string;
33
+ disabled?: boolean;
34
+ borderless?: boolean;
35
+ elevated?: boolean;
36
+ block?: boolean;
37
+ loading?: boolean;
38
+ size?: import('../QButton/types').QButtonSize;
39
+ iconPos?: import('../QButton/types').QButtonIconPosition;
40
+ pill?: boolean;
41
+ }> & Readonly<{
42
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
43
+ }>, {}, {}, {}, {}, {}>;
44
+ __isFragment?: never;
45
+ __isTeleport?: never;
46
+ __isSuspense?: never;
47
+ } & import('vue').ComponentOptionsBase<Readonly<{
48
+ modelValue?: boolean;
49
+ } & import('../../types/component').QBaseComponentProps & {
50
+ label?: string;
51
+ variant?: import('../QButton/types').QButtonVariant;
52
+ color?: string;
53
+ disabled?: boolean;
54
+ borderless?: boolean;
55
+ elevated?: boolean;
56
+ block?: boolean;
57
+ loading?: boolean;
58
+ size?: import('../QButton/types').QButtonSize;
59
+ iconPos?: import('../QButton/types').QButtonIconPosition;
60
+ pill?: boolean;
61
+ }> & Readonly<{
62
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
63
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
64
+ "update:modelValue": (value: boolean) => any;
65
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
66
+ $slots: {
67
+ default?(_: {}): any;
68
+ };
69
+ });
70
+ export { QToggle };
71
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -1,6 +1,6 @@
1
- import o from "./QButtonToggle.vue.js";
1
+ import o from "./QToggle.vue.js";
2
2
  import { setupPropsProxy as r } from "../../utils/setupPropsProxy.js";
3
- const p = r(o);
3
+ const t = r(o);
4
4
  export {
5
- p as QButtonToggle
5
+ t as QToggle
6
6
  };
@@ -0,0 +1,3 @@
1
+ import { QButtonProps } from '../QButton';
2
+ export type QToggleProps = QButtonProps;
3
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QToggle/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,MAAM,MAAM,YAAY,GAAG,YAAY,CAAA"}
@@ -0,0 +1,28 @@
1
+ import { Primitive } from '../../types/primitive';
2
+ import { QToggleGroupProps } from './types';
3
+ type __VLS_Props = QToggleGroupProps;
4
+ type __VLS_PublicProps = {
5
+ modelValue?: Primitive | Primitive[];
6
+ } & __VLS_Props;
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ default?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: HTMLDivElement;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ "update:modelValue": (value: Primitive | Primitive[]) => any;
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
+ "onUpdate:modelValue"?: ((value: Primitive | Primitive[]) => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ export default _default;
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
28
+ //# sourceMappingURL=QToggleGroup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QToggleGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QToggleGroup/QToggleGroup.vue"],"names":[],"mappings":"AASA;AAwDC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAKhD,KAAK,WAAW,GAAG,iBAAiB,CAAC;AAyBtC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;CACpC,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAsCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,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"}
@@ -0,0 +1,49 @@
1
+ import { defineComponent as s, mergeModels as d, useModel as i, toRef as o, watch as u, createBlock as m, openBlock as p, unref as n, normalizeClass as c, withCtx as f, renderSlot as b } from "vue";
2
+ import { QButtonGroup as B } from "../QButtonGroup/index.js";
3
+ import { provideDefaults as v } from "../../composables/defaults.js";
4
+ import { useGroup as y } from "../../composables/useGroup/index.js";
5
+ const x = /* @__PURE__ */ s({
6
+ __name: "QToggleGroup",
7
+ props: /* @__PURE__ */ d({
8
+ id: {},
9
+ class: {},
10
+ disabled: { type: Boolean },
11
+ borderless: { type: Boolean },
12
+ elevated: { type: Boolean },
13
+ multiple: { type: Boolean },
14
+ required: { type: Boolean }
15
+ }, {
16
+ modelValue: { type: [String, Number, Boolean, Symbol, Array] },
17
+ modelModifiers: {}
18
+ }),
19
+ emits: ["update:modelValue"],
20
+ setup(t) {
21
+ const e = t, r = i(t, "modelValue"), { active: a } = y({
22
+ active: r,
23
+ required: o(e, "required"),
24
+ multiple: o(e, "multiple")
25
+ });
26
+ return u(a, (l) => {
27
+ r.value = l;
28
+ }), v({
29
+ QToggleGroupItem: {
30
+ disabled: o(e, "disabled"),
31
+ borderless: o(e, "borderless")
32
+ }
33
+ }), (l, g) => (p(), m(n(B), {
34
+ id: e.id,
35
+ class: c(e.class),
36
+ elevated: e.elevated,
37
+ role: "listbox"
38
+ }, {
39
+ default: f(() => [
40
+ b(l.$slots, "default")
41
+ ]),
42
+ _: 3
43
+ /* FORWARDED */
44
+ }, 8, ["id", "class", "elevated"]));
45
+ }
46
+ });
47
+ export {
48
+ x as default
49
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./QToggleGroup.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,19 @@
1
+ import { QToggleGroupItemProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: HTMLButtonElement;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<QToggleGroupItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QToggleGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
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=QToggleGroupItem.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QToggleGroupItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QToggleGroup/QToggleGroupItem.vue"],"names":[],"mappings":"AAQA;AAyCC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAgBrD,iBAAS,cAAc;WAyCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,oUAOnB,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,44 @@
1
+ import { defineComponent as n, createBlock as p, openBlock as s, unref as o, mergeProps as i, withCtx as u, renderSlot as m } from "vue";
2
+ import { QToggle as d } from "../QToggle/index.js";
3
+ import { useGroupItem as c } from "../../composables/useGroup/index.js";
4
+ import { useId as g } from "../../composables/uid.js";
5
+ const h = /* @__PURE__ */ n({
6
+ __name: "QToggleGroupItem",
7
+ props: {
8
+ id: {},
9
+ class: {},
10
+ label: {},
11
+ variant: {},
12
+ color: {},
13
+ disabled: { type: Boolean },
14
+ borderless: { type: Boolean },
15
+ elevated: { type: Boolean },
16
+ block: { type: Boolean },
17
+ loading: { type: Boolean },
18
+ size: {},
19
+ iconPos: {},
20
+ pill: { type: Boolean },
21
+ value: {}
22
+ },
23
+ setup(l) {
24
+ const t = l, r = g(t.value), e = c(r);
25
+ if (!e)
26
+ throw new Error(
27
+ "QToggleGroupItem: Failed to retrieve group item. Ensure the component is used within a QToggleGroup context."
28
+ );
29
+ return (a, f) => (s(), p(o(d), i({
30
+ "model-value": o(e).isActive.value
31
+ }, t, {
32
+ "onUpdate:modelValue": o(e).toggle
33
+ }), {
34
+ default: u(() => [
35
+ m(a.$slots, "default")
36
+ ]),
37
+ _: 3
38
+ /* FORWARDED */
39
+ }, 16, ["model-value", "onUpdate:modelValue"]));
40
+ }
41
+ });
42
+ export {
43
+ h as default
44
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./QToggleGroupItem.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,75 @@
1
+ import { QToggleGroupItemProps, QToggleGroupProps } from './types';
2
+ declare const QToggleGroup: {
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
4
+ modelValue?: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[];
5
+ } & import('../../types/component').QBaseComponentProps & {
6
+ disabled?: boolean;
7
+ borderless?: boolean;
8
+ elevated?: boolean;
9
+ } & {
10
+ multiple?: boolean;
11
+ required?: boolean;
12
+ }> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any) | undefined;
14
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ "update:modelValue": (value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any;
16
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
17
+ P: {};
18
+ B: {};
19
+ D: {};
20
+ C: {};
21
+ M: {};
22
+ Defaults: {};
23
+ }, Readonly<{
24
+ modelValue?: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[];
25
+ } & import('../../types/component').QBaseComponentProps & {
26
+ disabled?: boolean;
27
+ borderless?: boolean;
28
+ elevated?: boolean;
29
+ } & {
30
+ multiple?: boolean;
31
+ required?: boolean;
32
+ }> & Readonly<{
33
+ "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any) | undefined;
34
+ }>, {}, {}, {}, {}, {}>;
35
+ __isFragment?: never;
36
+ __isTeleport?: never;
37
+ __isSuspense?: never;
38
+ } & import('vue').ComponentOptionsBase<Readonly<{
39
+ modelValue?: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[];
40
+ } & import('../../types/component').QBaseComponentProps & {
41
+ disabled?: boolean;
42
+ borderless?: boolean;
43
+ elevated?: boolean;
44
+ } & {
45
+ multiple?: boolean;
46
+ required?: boolean;
47
+ }> & Readonly<{
48
+ "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any) | undefined;
49
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
50
+ "update:modelValue": (value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any;
51
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
52
+ $slots: {
53
+ default?(_: {}): any;
54
+ };
55
+ });
56
+ declare const QToggleGroupItem: {
57
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<QToggleGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
58
+ P: {};
59
+ B: {};
60
+ D: {};
61
+ C: {};
62
+ M: {};
63
+ Defaults: {};
64
+ }, Readonly<QToggleGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
65
+ __isFragment?: never;
66
+ __isTeleport?: never;
67
+ __isSuspense?: never;
68
+ } & import('vue').ComponentOptionsBase<Readonly<QToggleGroupItemProps> & 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 () => {
69
+ $slots: {
70
+ default?(_: {}): any;
71
+ };
72
+ });
73
+ export { QToggleGroup, QToggleGroupItem };
74
+ export type { QToggleGroupItemProps, QToggleGroupProps };
75
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QToggleGroup/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAKvE,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAA;AACnD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;EAAqC,CAAA;AAG3D,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAA;AAGzC,YAAY,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,CAAA"}
@@ -0,0 +1,8 @@
1
+ import r from "./QToggleGroup.vue.js";
2
+ import m from "./QToggleGroupItem.vue.js";
3
+ import { setupPropsProxy as o } from "../../utils/setupPropsProxy.js";
4
+ const e = o(r), f = o(m);
5
+ export {
6
+ e as QToggleGroup,
7
+ f as QToggleGroupItem
8
+ };
@@ -0,0 +1,19 @@
1
+ import { QButtonProps } from '../QButton';
2
+ import { QButtonGroupProps } from '../QButtonGroup/types';
3
+ export type QToggleGroupProps = QButtonGroupProps & {
4
+ /**
5
+ * Indicates if options can be deselected.
6
+ */
7
+ multiple?: boolean;
8
+ /**
9
+ * Indicates if options can be deselected.
10
+ */
11
+ required?: boolean;
12
+ };
13
+ export type QToggleGroupItemProps = QButtonProps & {
14
+ /**
15
+ * An optional string that represents the value associated with the toggle group item.
16
+ */
17
+ value?: string;
18
+ };
19
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QToggleGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAE9D,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,GAAG;IACnD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG;IAClD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA"}
@@ -3,7 +3,6 @@ export * from './QBadge';
3
3
  export * from './QBadgeIndicator';
4
4
  export * from './QButton';
5
5
  export * from './QButtonGroup';
6
- export * from './QButtonToggle';
7
6
  export * from './QCard';
8
7
  export * from './QCheckbox';
9
8
  export * from './QCollapsible';
@@ -33,5 +32,7 @@ export * from './QSpinnerLoader';
33
32
  export * from './QTextArea';
34
33
  export * from './QTextField';
35
34
  export * from './QThemeProvider';
35
+ export * from './QToggle';
36
+ export * from './QToggleGroup';
36
37
  export * from './QTooltip';
37
38
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA"}
@@ -1,84 +1,88 @@
1
- import { QAccordion as e } from "./QAccordion/index.js";
2
- import { QBadge as p } from "./QBadge/index.js";
3
- import { QBadgeIndicator as m } from "./QBadgeIndicator/index.js";
4
- import { QButton as f } from "./QButton/index.js";
5
- import { QButtonGroup as a } from "./QButtonGroup/index.js";
6
- import { QButtonToggle as n } from "./QButtonToggle/index.js";
7
- import { QCard as s } from "./QCard/index.js";
8
- import { QCheckbox as c, QCheckboxLabel as u } from "./QCheckbox/index.js";
9
- import { QCollapsible as I } from "./QCollapsible/index.js";
10
- import { QColorPicker as g } from "./QColorPicker/index.js";
11
- import { QCombobox as y } from "./QCombobox/index.js";
12
- import { QDateTimePicker as C } from "./QDateTimePicker/index.js";
13
- import { QDialog as k } from "./QDialog/index.js";
14
- import { QDismissibleLayer as v } from "./QDismissibleLayer/index.js";
15
- import { QDropdownMenu as S } from "./QDropdownMenu/index.js";
16
- import { QField as w } from "./QField/index.js";
1
+ import { QAccordion as e, QAccordionItem as t } from "./QAccordion/index.js";
2
+ import { QBadge as Q } from "./QBadge/index.js";
3
+ import { QBadgeIndicator as x } from "./QBadgeIndicator/index.js";
4
+ import { QButton as i } from "./QButton/index.js";
5
+ import { QButtonGroup as l } from "./QButtonGroup/index.js";
6
+ import { QCard as d } from "./QCard/index.js";
7
+ import { QCheckbox as s, QCheckboxLabel as L } from "./QCheckbox/index.js";
8
+ import { QCollapsible as g } from "./QCollapsible/index.js";
9
+ import { QColorPicker as P } from "./QColorPicker/index.js";
10
+ import { QCombobox as b } from "./QCombobox/index.js";
11
+ import { QDateTimePicker as y } from "./QDateTimePicker/index.js";
12
+ import { QDialog as F } from "./QDialog/index.js";
13
+ import { QDismissibleLayer as B } from "./QDismissibleLayer/index.js";
14
+ import { QDropdownMenu as D } from "./QDropdownMenu/index.js";
15
+ import { QField as h } from "./QField/index.js";
17
16
  import { QFileUpload as A } from "./QFileUpload/index.js";
18
- import { QFocusTrap as O } from "./QFocusTrap/index.js";
19
- import { QIcon as j, QIconFont as q, QIconImg as z, QIconSvg as E } from "./QIcon/index.js";
20
- import { QInputGroup as J } from "./QInputGroup/index.js";
21
- import { QLabel as N } from "./QLabel/index.js";
22
- import { QLineLoader as W } from "./QLineLoader/index.js";
23
- import { QList as Y, QListItem as Z, QListItemGroup as _ } from "./QList/index.js";
24
- import { QMeter as oo } from "./QMeter/index.js";
25
- import { QOverlay as eo } from "./QOverlay/index.js";
26
- import { QPasswordField as po } from "./QPasswordField/index.js";
27
- import { QPopover as mo } from "./QPopover/index.js";
28
- import { QPropertyList as fo, QPropertyListGroup as io, QPropertyListPanel as ao, QPropertyListRow as lo } from "./QPropertyList/index.js";
29
- import { QRadioButton as so, QRadioGroup as Lo } from "./QRadioGroup/index.js";
30
- import { QSelect as uo } from "./QSelect/index.js";
31
- import { QSkeletonLoader as Io } from "./QSkeletonLoader/index.js";
32
- import { QSpinnerLoader as go } from "./QSpinnerLoader/index.js";
33
- import { QTextArea as yo } from "./QTextArea/index.js";
34
- import { QTextField as Co } from "./QTextField/index.js";
35
- import { QThemeProvider as ko } from "./QThemeProvider/index.js";
36
- import { QTooltip as vo } from "./QTooltip/index.js";
17
+ import { QFocusTrap as M } from "./QFocusTrap/index.js";
18
+ import { QIcon as U, QIconFont as j, QIconImg as q, QIconSvg as z } from "./QIcon/index.js";
19
+ import { QInputGroup as H } from "./QInputGroup/index.js";
20
+ import { QLabel as K } from "./QLabel/index.js";
21
+ import { QLineLoader as V } from "./QLineLoader/index.js";
22
+ import { QList as X, QListItem as Y, QListItemGroup as Z } from "./QList/index.js";
23
+ import { QMeter as $ } from "./QMeter/index.js";
24
+ import { QOverlay as ro } from "./QOverlay/index.js";
25
+ import { QPasswordField as to } from "./QPasswordField/index.js";
26
+ import { QPopover as Qo } from "./QPopover/index.js";
27
+ import { QPropertyList as xo, QPropertyListGroup as fo, QPropertyListPanel as io, QPropertyListRow as ao } from "./QPropertyList/index.js";
28
+ import { QRadioButton as no, QRadioGroup as co } from "./QRadioGroup/index.js";
29
+ import { QSelect as Lo } from "./QSelect/index.js";
30
+ import { QSkeletonLoader as go } from "./QSkeletonLoader/index.js";
31
+ import { QSpinnerLoader as Po } from "./QSpinnerLoader/index.js";
32
+ import { QTextArea as bo } from "./QTextArea/index.js";
33
+ import { QTextField as yo } from "./QTextField/index.js";
34
+ import { QThemeProvider as Fo } from "./QThemeProvider/index.js";
35
+ import { QToggle as Bo } from "./QToggle/index.js";
36
+ import { QToggleGroup as Do, QToggleGroupItem as So } from "./QToggleGroup/index.js";
37
+ import { QTooltip as wo } from "./QTooltip/index.js";
37
38
  export {
38
39
  e as QAccordion,
39
- p as QBadge,
40
- m as QBadgeIndicator,
41
- f as QButton,
42
- a as QButtonGroup,
43
- n as QButtonToggle,
44
- s as QCard,
45
- c as QCheckbox,
46
- u as QCheckboxLabel,
47
- I as QCollapsible,
48
- g as QColorPicker,
49
- y as QCombobox,
50
- C as QDateTimePicker,
51
- k as QDialog,
52
- v as QDismissibleLayer,
53
- S as QDropdownMenu,
54
- w as QField,
40
+ t as QAccordionItem,
41
+ Q as QBadge,
42
+ x as QBadgeIndicator,
43
+ i as QButton,
44
+ l as QButtonGroup,
45
+ d as QCard,
46
+ s as QCheckbox,
47
+ L as QCheckboxLabel,
48
+ g as QCollapsible,
49
+ P as QColorPicker,
50
+ b as QCombobox,
51
+ y as QDateTimePicker,
52
+ F as QDialog,
53
+ B as QDismissibleLayer,
54
+ D as QDropdownMenu,
55
+ h as QField,
55
56
  A as QFileUpload,
56
- O as QFocusTrap,
57
- j as QIcon,
58
- q as QIconFont,
59
- z as QIconImg,
60
- E as QIconSvg,
61
- J as QInputGroup,
62
- N as QLabel,
63
- W as QLineLoader,
64
- Y as QList,
65
- Z as QListItem,
66
- _ as QListItemGroup,
67
- oo as QMeter,
68
- eo as QOverlay,
69
- po as QPasswordField,
70
- mo as QPopover,
71
- fo as QPropertyList,
72
- io as QPropertyListGroup,
73
- ao as QPropertyListPanel,
74
- lo as QPropertyListRow,
75
- so as QRadioButton,
76
- Lo as QRadioGroup,
77
- uo as QSelect,
78
- Io as QSkeletonLoader,
79
- go as QSpinnerLoader,
80
- yo as QTextArea,
81
- Co as QTextField,
82
- ko as QThemeProvider,
83
- vo as QTooltip
57
+ M as QFocusTrap,
58
+ U as QIcon,
59
+ j as QIconFont,
60
+ q as QIconImg,
61
+ z as QIconSvg,
62
+ H as QInputGroup,
63
+ K as QLabel,
64
+ V as QLineLoader,
65
+ X as QList,
66
+ Y as QListItem,
67
+ Z as QListItemGroup,
68
+ $ as QMeter,
69
+ ro as QOverlay,
70
+ to as QPasswordField,
71
+ Qo as QPopover,
72
+ xo as QPropertyList,
73
+ fo as QPropertyListGroup,
74
+ io as QPropertyListPanel,
75
+ ao as QPropertyListRow,
76
+ no as QRadioButton,
77
+ co as QRadioGroup,
78
+ Lo as QSelect,
79
+ go as QSkeletonLoader,
80
+ Po as QSpinnerLoader,
81
+ bo as QTextArea,
82
+ yo as QTextField,
83
+ Fo as QThemeProvider,
84
+ Bo as QToggle,
85
+ Do as QToggleGroup,
86
+ So as QToggleGroupItem,
87
+ wo as QTooltip
84
88
  };