@quidgest/ui 0.16.24 → 0.16.26

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 (65) hide show
  1. package/dist/manifest/components.json +1 -0
  2. package/dist/ui.css +17 -0
  3. package/dist/ui.esm.js +2451 -2404
  4. package/dist/ui.js +18 -17
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +739 -732
  7. package/dist/ui.scss +17 -1
  8. package/esm/components/QAccordion/QAccordionItem.vue.js +3 -3
  9. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  10. package/esm/components/QButtonGroup/QButtonGroup.vue.js +10 -8
  11. package/esm/components/QButtonGroup/types.d.ts +4 -0
  12. package/esm/components/QButtonGroup/types.d.ts.map +1 -1
  13. package/esm/components/QDefaultsProvider/QDefaultsProvider.d.ts +19 -0
  14. package/esm/components/QDefaultsProvider/QDefaultsProvider.d.ts.map +1 -0
  15. package/esm/components/QDefaultsProvider/QDefaultsProvider.vue.js +16 -0
  16. package/esm/components/QDefaultsProvider/QDefaultsProvider.vue2.js +4 -0
  17. package/esm/components/QDefaultsProvider/index.d.ts +19 -0
  18. package/esm/components/QDefaultsProvider/index.d.ts.map +1 -0
  19. package/esm/components/QDefaultsProvider/index.js +6 -0
  20. package/esm/components/QDefaultsProvider/types.d.ts +13 -0
  21. package/esm/components/QDefaultsProvider/types.d.ts.map +1 -0
  22. package/esm/components/QFileUpload/QFileUpload.vue.js +45 -45
  23. package/esm/components/QList/QListItem.d.ts.map +1 -1
  24. package/esm/components/QPasswordField/QPasswordField.d.ts +0 -1
  25. package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
  26. package/esm/components/QPasswordField/QPasswordField.vue.js +1 -1
  27. package/esm/components/QPasswordField/index.d.ts +0 -3
  28. package/esm/components/QPasswordField/index.d.ts.map +1 -1
  29. package/esm/components/QRadioGroup/QRadioButton.vue.js +12 -12
  30. package/esm/components/QRadioGroup/QRadioGroup.vue.js +11 -11
  31. package/esm/components/QTextArea/QTextArea.vue.js +10 -10
  32. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  33. package/esm/components/QTextField/QTextField.vue.js +15 -15
  34. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  35. package/esm/components/QThemeProvider/QThemeProvider.vue.js +29 -11
  36. package/esm/components/QThemeProvider/types.d.ts +2 -1
  37. package/esm/components/QThemeProvider/types.d.ts.map +1 -1
  38. package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
  39. package/esm/components/QToggleGroup/QToggleGroup.vue.js +13 -11
  40. package/esm/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -1
  41. package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +10 -10
  42. package/esm/components/QToggleGroup/index.d.ts +3 -0
  43. package/esm/components/QToggleGroup/index.d.ts.map +1 -1
  44. package/esm/components/QTooltip/QTooltip.vue.js +23 -23
  45. package/esm/components/index.d.ts +1 -0
  46. package/esm/components/index.d.ts.map +1 -1
  47. package/esm/components/index.js +88 -86
  48. package/esm/composables/defaults.d.ts +2 -2
  49. package/esm/composables/defaults.d.ts.map +1 -1
  50. package/esm/composables/defaults.js +12 -12
  51. package/esm/composables/theme.d.ts +19 -8
  52. package/esm/composables/theme.d.ts.map +1 -1
  53. package/esm/composables/theme.js +15 -11
  54. package/esm/composables/uid.d.ts +2 -2
  55. package/esm/composables/uid.d.ts.map +1 -1
  56. package/esm/composables/uid.js +6 -5
  57. package/esm/composables/useDialog/index.d.ts.map +1 -1
  58. package/esm/composables/useDialog/index.js +11 -11
  59. package/esm/composables/useToast/index.js +6 -6
  60. package/esm/framework.js +45 -36
  61. package/esm/index.d.ts +1 -0
  62. package/esm/utils/theme.d.ts +27 -6
  63. package/esm/utils/theme.d.ts.map +1 -1
  64. package/esm/utils/theme.js +39 -37
  65. package/package.json +1 -1
package/dist/ui.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quidgest UI v0.16.24
2
+ * Quidgest UI v0.16.26
3
3
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
4
4
  * Released under the MIT License.
5
5
  */
@@ -520,6 +520,16 @@ $transition-duration: 0.2s !default;
520
520
  color: var(--q-badge-on-hover-color, var(--q-badge-on-main-color));
521
521
  background-color: var(--q-badge-hover-color);
522
522
  border-color: var(--q-badge-hover-color);
523
+ .q-icon {
524
+ color: var(--q-badge-on-hover-color);
525
+ }
526
+ .q-button:not(:disabled):hover {
527
+ background-color: var(--q-badge-on-hover-color);
528
+ border-color: var(--q-badge-on-hover-color);
529
+ .q-icon {
530
+ color: var(--q-badge-hover-color);
531
+ }
532
+ }
523
533
  }
524
534
  &:focus {
525
535
  outline: $outline;
@@ -820,6 +830,12 @@ $transition-duration: 0.2s !default;
820
830
  }
821
831
  }
822
832
  }
833
+ .q-button-group.q-button-group--block {
834
+ min-width: 100%;
835
+ > .q-button {
836
+ flex: 1 1 0%;
837
+ }
838
+ }
823
839
  .q-card {
824
840
  --card-base-padding: 1rem;
825
841
  --card-padding: 1rem;
@@ -1,4 +1,4 @@
1
- import { defineComponent as l, computed as a, createBlock as c, openBlock as s, unref as o, mergeProps as u, withCtx as m, renderSlot as p } from "vue";
1
+ import { defineComponent as l, toRef as a, createBlock as s, openBlock as c, unref as o, mergeProps as u, withCtx as m, renderSlot as p } from "vue";
2
2
  import { QCollapsible as d } from "../QCollapsible/index.js";
3
3
  import { useId as f } from "../../composables/uid.js";
4
4
  import { useGroupItem as v } from "../../composables/useGroup/index.js";
@@ -18,12 +18,12 @@ const B = /* @__PURE__ */ l({
18
18
  value: {}
19
19
  },
20
20
  setup(r) {
21
- const t = r, i = a(() => f(t.value)), e = v(i);
21
+ const t = r, i = f(a(t, "value")), e = v(i);
22
22
  if (!e)
23
23
  throw new Error(
24
24
  "QAccordionItem: Failed to retrieve group item. Ensure the component is used within a QAccordion context."
25
25
  );
26
- return (n, h) => (s(), c(o(d), u(t, {
26
+ return (n, h) => (c(), s(o(d), u(t, {
27
27
  "model-value": o(e).isActive.value,
28
28
  "onUpdate:modelValue": o(e).toggle
29
29
  }), {
@@ -1 +1 @@
1
- {"version":3,"file":"QButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/QButtonGroup.vue"],"names":[],"mappings":"AAcA;AAwCC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAiBjD,iBAAS,cAAc;WAgCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,yTAOnB,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
+ {"version":3,"file":"QButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/QButtonGroup.vue"],"names":[],"mappings":"AAeA;AAyCC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAiBjD,iBAAS,cAAc;WAiCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,yTAOnB,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,11 +1,12 @@
1
- import { defineComponent as r, toRef as o, createElementBlock as l, openBlock as d, normalizeClass as a, renderSlot as n } from "vue";
1
+ import { defineComponent as s, toRef as o, createElementBlock as r, openBlock as a, normalizeClass as d, renderSlot as n } from "vue";
2
2
  import { provideDefaults as p } from "../../composables/defaults.js";
3
- const i = ["id"], b = /* @__PURE__ */ r({
3
+ const u = ["id"], m = /* @__PURE__ */ s({
4
4
  __name: "QButtonGroup",
5
5
  props: {
6
6
  id: {},
7
7
  class: {},
8
8
  disabled: { type: Boolean },
9
+ block: { type: Boolean },
9
10
  borderless: { type: Boolean },
10
11
  elevated: { type: Boolean }
11
12
  },
@@ -16,21 +17,22 @@ const i = ["id"], b = /* @__PURE__ */ r({
16
17
  disabled: o(e, "disabled"),
17
18
  borderless: o(e, "borderless")
18
19
  }
19
- }), (s, u) => (d(), l("div", {
20
+ }), (l, c) => (a(), r("div", {
20
21
  id: e.id,
21
- class: a([
22
+ class: d([
22
23
  "q-button-group",
23
24
  {
24
- "q-button-group--elevated": e.elevated
25
+ "q-button-group--elevated": e.elevated,
26
+ "q-button-group--block": e.block
25
27
  },
26
28
  e.class
27
29
  ]),
28
30
  role: "group"
29
31
  }, [
30
- n(s.$slots, "default")
31
- ], 10, i));
32
+ n(l.$slots, "default")
33
+ ], 10, u));
32
34
  }
33
35
  });
34
36
  export {
35
- b as default
37
+ m as default
36
38
  };
@@ -4,6 +4,10 @@ export type QButtonGroupProps = QBaseComponentProps & {
4
4
  * If true, the button group is disabled and cannot be interacted with.
5
5
  */
6
6
  disabled?: boolean;
7
+ /**
8
+ * If true, the button group spans the full width of its container.
9
+ */
10
+ block?: boolean;
7
11
  /**
8
12
  * If true, the button group has no borders.
9
13
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAAG;IACrD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QButtonGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAAG;IACrD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
@@ -0,0 +1,19 @@
1
+ import { QDefaultsProviderProps } 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<QDefaultsProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QDefaultsProviderProps> & 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=QDefaultsProvider.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QDefaultsProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDefaultsProvider/QDefaultsProvider.vue"],"names":[],"mappings":"AAGA;AAqBC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAetD,iBAAS,cAAc;WAoBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,wTAMnB,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,16 @@
1
+ import { defineComponent as o, toRef as r, renderSlot as s } from "vue";
2
+ import { provideDefaults as p } from "../../composables/defaults.js";
3
+ const l = /* @__PURE__ */ o({
4
+ __name: "QDefaultsProvider",
5
+ props: {
6
+ id: {},
7
+ class: {},
8
+ defaults: {}
9
+ },
10
+ setup(e) {
11
+ return p(r(e, "defaults")), (t, f) => s(t.$slots, "default");
12
+ }
13
+ });
14
+ export {
15
+ l as default
16
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./QDefaultsProvider.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,19 @@
1
+ declare const QDefaultsProvider: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QDefaultsProviderProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
3
+ P: {};
4
+ B: {};
5
+ D: {};
6
+ C: {};
7
+ M: {};
8
+ Defaults: {};
9
+ }, Readonly<import('./types').QDefaultsProviderProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
10
+ __isFragment?: never;
11
+ __isTeleport?: never;
12
+ __isSuspense?: never;
13
+ } & import('vue').ComponentOptionsBase<Readonly<import('./types').QDefaultsProviderProps> & 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 () => {
14
+ $slots: {
15
+ default?(_: {}): any;
16
+ };
17
+ });
18
+ export { QDefaultsProvider };
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDefaultsProvider/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;EAAsC,CAAA;AAG7D,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
@@ -0,0 +1,6 @@
1
+ import o from "./QDefaultsProvider.vue.js";
2
+ import { setupPropsProxy as r } from "../../utils/setupPropsProxy.js";
3
+ const p = r(o);
4
+ export {
5
+ p as QDefaultsProvider
6
+ };
@@ -0,0 +1,13 @@
1
+ import { Defaults } from '../../composables/defaults';
2
+ import { QBaseComponentProps } from '../../types/component';
3
+ /**
4
+ * Props for the QDefaultsProvider component.
5
+ */
6
+ export type QDefaultsProviderProps = QBaseComponentProps & {
7
+ /**
8
+ * The default configuration values to provide to child components.
9
+ * These values will be **merged with each component's own defaults**.
10
+ */
11
+ defaults: Defaults;
12
+ };
13
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDefaultsProvider/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,GAAG;IAC1D;;;OAGG;IACH,QAAQ,EAAE,QAAQ,CAAA;CAClB,CAAA"}
@@ -1,27 +1,27 @@
1
- import { defineComponent as L, mergeModels as N, useModel as O, computed as d, ref as h, watch as T, createBlock as w, openBlock as n, unref as i, createSlots as Z, withCtx as _, createElementVNode as a, normalizeClass as Q, createElementBlock as c, mergeProps as F, createVNode as s, normalizeProps as v, guardReactiveProps as m, toDisplayString as y, createCommentVNode as j, createTextVNode as M, renderSlot as P } from "vue";
2
- import { DEFAULT_TEXTS as $, DEFAULT_ICONS as H } from "./types.js";
1
+ import { defineComponent as L, mergeModels as N, useModel as O, toRef as T, computed as d, ref as h, watch as Z, createBlock as w, openBlock as n, unref as i, createSlots as Q, withCtx as _, createElementVNode as a, normalizeClass as j, createElementBlock as c, mergeProps as F, createVNode as s, normalizeProps as v, guardReactiveProps as m, toDisplayString as y, createCommentVNode as M, createTextVNode as P, renderSlot as $ } from "vue";
2
+ import { DEFAULT_TEXTS as H, DEFAULT_ICONS as W } from "./types.js";
3
3
  import { QButton as b } from "../QButton/index.js";
4
- import { QField as W } from "../QField/index.js";
4
+ import { QField as X } from "../QField/index.js";
5
5
  import { QIcon as u } from "../QIcon/index.js";
6
- import { useId as X } from "../../composables/uid.js";
7
- import { useDropZone as G } from "../../composables/useDropZone/index.js";
8
- import { downloadFile as J } from "../../utils/download.js";
9
- const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
6
+ import { useId as G } from "../../composables/uid.js";
7
+ import { useDropZone as J } from "../../composables/useDropZone/index.js";
8
+ import { downloadFile as K } from "../../utils/download.js";
9
+ const Y = ["id", "accept", "required", "readonly", "disabled"], ee = {
10
10
  key: 0,
11
11
  class: "q-file-input__drop-area"
12
- }, ee = {
12
+ }, le = {
13
13
  key: 1,
14
14
  class: "q-file-input__file-details"
15
- }, le = { class: "q-file-input__attached-file" }, te = {
15
+ }, te = { class: "q-file-input__attached-file" }, ie = {
16
16
  key: 0,
17
17
  class: "q-file-input__preview q-file-input__image-preview"
18
- }, ie = ["src", "alt"], oe = { class: "q-file-input__file-meta" }, ae = { class: "q-file-input__file-name" }, ne = { class: "q-file-input__file-type" }, se = {
18
+ }, oe = ["src", "alt"], ae = { class: "q-file-input__file-meta" }, ne = { class: "q-file-input__file-name" }, se = { class: "q-file-input__file-type" }, re = {
19
19
  key: 0,
20
20
  class: "q-file-input__action-buttons"
21
- }, re = {
21
+ }, de = {
22
22
  key: 2,
23
23
  class: "q-file-input__empty-container"
24
- }, ye = /* @__PURE__ */ L({
24
+ }, he = /* @__PURE__ */ L({
25
25
  inheritAttrs: !1,
26
26
  __name: "QFileUpload",
27
27
  props: /* @__PURE__ */ N({
@@ -35,16 +35,16 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
35
35
  disabled: { type: Boolean },
36
36
  invalid: { type: Boolean },
37
37
  accept: {},
38
- icons: { default: () => H },
39
- texts: { default: () => $ }
38
+ icons: { default: () => W },
39
+ texts: { default: () => H }
40
40
  }, {
41
41
  modelValue: {},
42
42
  modelModifiers: {}
43
43
  }),
44
44
  emits: ["update:modelValue"],
45
45
  setup(q) {
46
- const e = q, t = O(q, "modelValue"), k = X(e.id), p = d(() => !e.readonly && !e.disabled), r = h(null);
47
- T(t, (l) => {
46
+ const e = q, t = O(q, "modelValue"), k = G(T(e, "id")), p = d(() => !e.readonly && !e.disabled), r = h(null);
47
+ Z(t, (l) => {
48
48
  r.value && URL.revokeObjectURL(r.value);
49
49
  const o = l && l.type.startsWith("image/");
50
50
  r.value = o ? URL.createObjectURL(l) : null;
@@ -54,27 +54,27 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
54
54
  var l;
55
55
  (l = f.value) == null || l.click();
56
56
  }
57
- function U(l) {
57
+ function R(l) {
58
58
  var C;
59
59
  const o = l.target;
60
60
  (C = o == null ? void 0 : o.files) != null && C[0] && (t.value = o.files[0]);
61
61
  }
62
- function V() {
63
- t.value && J(t.value);
62
+ function U() {
63
+ t.value && K(t.value);
64
64
  }
65
- function D() {
65
+ function V() {
66
66
  t.value = void 0, f.value && (f.value.value = "");
67
67
  }
68
- function I(l) {
68
+ function D(l) {
69
69
  if (!p.value) return;
70
70
  const o = l == null ? void 0 : l[0];
71
71
  o && (t.value = o);
72
72
  }
73
- const g = h(null), x = d(() => Array.isArray(e.accept) ? e.accept : e.accept ? e.accept.split(",").map((l) => l.trim()) : []), R = d(() => {
73
+ const g = h(null), x = d(() => Array.isArray(e.accept) ? e.accept : e.accept ? e.accept.split(",").map((l) => l.trim()) : []), I = d(() => {
74
74
  var l;
75
75
  return (l = x.value) == null ? void 0 : l.join(",");
76
- }), S = d(() => p.value && !t.value), { isOverDropZone: z, isValid: A } = G(g, {
77
- onDrop: I,
76
+ }), S = d(() => p.value && !t.value), { isOverDropZone: z, isValid: A } = J(g, {
77
+ onDrop: D,
78
78
  accept: x,
79
79
  enabled: S
80
80
  }), E = d(() => [
@@ -85,7 +85,7 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
85
85
  },
86
86
  e.class
87
87
  ]);
88
- return (l, o) => (n(), w(i(W), {
88
+ return (l, o) => (n(), w(i(X), {
89
89
  for: i(k),
90
90
  label: e.label,
91
91
  size: e.size,
@@ -93,14 +93,14 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
93
93
  disabled: e.disabled,
94
94
  required: e.required,
95
95
  invalid: e.invalid
96
- }, Z({
96
+ }, Q({
97
97
  control: _(() => [
98
98
  a(
99
99
  "div",
100
100
  {
101
101
  ref_key: "dropZoneRef",
102
102
  ref: g,
103
- class: Q(E.value)
103
+ class: j(E.value)
104
104
  },
105
105
  [
106
106
  a("input", F({
@@ -109,12 +109,12 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
109
109
  ref: f,
110
110
  type: "file",
111
111
  class: "q-file-input__file-input",
112
- accept: R.value,
112
+ accept: I.value,
113
113
  required: e.required,
114
114
  readonly: e.readonly,
115
115
  disabled: e.disabled
116
- }, l.$attrs, { onChange: U }), null, 16, K),
117
- !t.value && p.value ? (n(), c("div", Y, [
116
+ }, l.$attrs, { onChange: R }), null, 16, Y),
117
+ !t.value && p.value ? (n(), c("div", ee, [
118
118
  s(
119
119
  i(u),
120
120
  v(m(e.icons.upload)),
@@ -133,13 +133,13 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
133
133
  label: e.texts.chooseFile,
134
134
  onClick: B
135
135
  }, null, 8, ["label"])
136
- ])) : t.value ? (n(), c("div", ee, [
137
- a("div", le, [
138
- r.value ? (n(), c("div", te, [
136
+ ])) : t.value ? (n(), c("div", le, [
137
+ a("div", te, [
138
+ r.value ? (n(), c("div", ie, [
139
139
  a("img", {
140
140
  src: r.value,
141
141
  alt: e.texts.preview
142
- }, null, 8, ie)
142
+ }, null, 8, oe)
143
143
  ])) : (n(), w(
144
144
  i(u),
145
145
  F({
@@ -150,28 +150,28 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
150
150
  16
151
151
  /* FULL_PROPS */
152
152
  )),
153
- a("div", oe, [
153
+ a("div", ae, [
154
154
  a(
155
155
  "span",
156
- ae,
156
+ ne,
157
157
  y(t.value.name),
158
158
  1
159
159
  /* TEXT */
160
160
  ),
161
161
  a(
162
162
  "span",
163
- ne,
163
+ se,
164
164
  y(t.value.type),
165
165
  1
166
166
  /* TEXT */
167
167
  )
168
168
  ])
169
169
  ]),
170
- p.value ? (n(), c("div", se, [
170
+ p.value ? (n(), c("div", re, [
171
171
  s(i(b), {
172
172
  title: e.texts.download,
173
173
  borderless: "",
174
- onClick: V
174
+ onClick: U
175
175
  }, {
176
176
  default: _(() => [
177
177
  s(
@@ -188,7 +188,7 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
188
188
  s(i(b), {
189
189
  title: e.texts.remove,
190
190
  borderless: "",
191
- onClick: D
191
+ onClick: V
192
192
  }, {
193
193
  default: _(() => [
194
194
  s(
@@ -202,8 +202,8 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
202
202
  _: 1
203
203
  /* STABLE */
204
204
  }, 8, ["title"])
205
- ])) : j("v-if", !0)
206
- ])) : (n(), c("div", re, [
205
+ ])) : M("v-if", !0)
206
+ ])) : (n(), c("div", de, [
207
207
  s(
208
208
  i(u),
209
209
  v(m(e.icons.empty)),
@@ -211,7 +211,7 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
211
211
  16
212
212
  /* FULL_PROPS */
213
213
  ),
214
- M(
214
+ P(
215
215
  " " + y(e.texts.empty),
216
216
  1
217
217
  /* TEXT */
@@ -228,7 +228,7 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
228
228
  l.$slots.extras ? {
229
229
  name: "extras",
230
230
  fn: _(() => [
231
- P(l.$slots, "extras")
231
+ $(l.$slots, "extras")
232
232
  ]),
233
233
  key: "0"
234
234
  } : void 0
@@ -236,5 +236,5 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
236
236
  }
237
237
  });
238
238
  export {
239
- ye as default
239
+ he as default
240
240
  };
@@ -1 +1 @@
1
- {"version":3,"file":"QListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QListItem.vue"],"names":[],"mappings":"AAiDA;AAyHC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAMvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAO7C,KAAK,WAAW,GAAG,cAAc,CAAC;AA6DnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAmGT,OAAO,IAA6B;;yBAZrB,GAAG;yBACH,GAAG;wBACH,GAAG;;;;EAe/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;uFASnB,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
+ {"version":3,"file":"QListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QListItem.vue"],"names":[],"mappings":"AAiDA;AA0HC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAMvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAO7C,KAAK,WAAW,GAAG,cAAc,CAAC;AA8DnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAmGT,OAAO,IAA6B;;yBAZrB,GAAG;yBACH,GAAG;wBACH,GAAG;;;;EAe/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;uFASnB,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"}
@@ -217,7 +217,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
217
217
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
218
218
  "onUpdate:masked"?: ((value: boolean) => any) | undefined;
219
219
  }>, {
220
- size: import('..').QFieldSize;
221
220
  icons: import('./types').QPasswordFieldIcons;
222
221
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
223
222
  fieldRef: ({
@@ -1 +1 @@
1
- {"version":3,"file":"QPasswordField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPasswordField/QPasswordField.vue"],"names":[],"mappings":"AA6DA;AAqLC,OAAO,KAAK,EAEX,mBAAmB,EAEnB,MAAM,SAAS,CAAA;AAKhB,KAAK,WAAW,GAAG,mBAAmB,CAAC;AA4FxC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WAkLT,OAAO,IAA6B;;iCAhBZ,GAAG;gCACJ,GAAG;yBACV,GAAG;wBACJ,GAAG;wBACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAwE4uT,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAvDj4T;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA8BuvT,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OArBh4T,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
+ {"version":3,"file":"QPasswordField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPasswordField/QPasswordField.vue"],"names":[],"mappings":"AA6DA;AAoLC,OAAO,KAAK,EAEX,mBAAmB,EAEnB,MAAM,SAAS,CAAA;AAKhB,KAAK,WAAW,GAAG,mBAAmB,CAAC;AA0FxC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WAkLT,OAAO,IAA6B;;iCAhBZ,GAAG;gCACJ,GAAG;yBACV,GAAG;wBACJ,GAAG;wBACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAwEuxT,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAvD56T;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA8BkyT,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OArB36T,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"}
@@ -14,7 +14,7 @@ const Y = /* @__PURE__ */ L({
14
14
  label: {},
15
15
  for: {},
16
16
  required: { type: Boolean },
17
- size: { default: "medium" },
17
+ size: {},
18
18
  readonly: { type: Boolean },
19
19
  disabled: { type: Boolean },
20
20
  invalid: { type: Boolean },
@@ -16,7 +16,6 @@ declare const QPasswordField: {
16
16
  "update:modelValue": (value: string) => any;
17
17
  "update:masked": (value: boolean) => any;
18
18
  }, import('vue').PublicProps, {
19
- size: import('..').QFieldSize;
20
19
  icons: import('./types').QPasswordFieldIcons;
21
20
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
22
21
  fieldRef: ({
@@ -231,7 +230,6 @@ declare const QPasswordField: {
231
230
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
232
231
  "onUpdate:masked"?: ((value: boolean) => any) | undefined;
233
232
  }>, {}, {}, {}, {}, {
234
- size: import('..').QFieldSize;
235
233
  icons: import('./types').QPasswordFieldIcons;
236
234
  }>;
237
235
  __isFragment?: never;
@@ -253,7 +251,6 @@ declare const QPasswordField: {
253
251
  "update:modelValue": (value: string) => any;
254
252
  "update:masked": (value: boolean) => any;
255
253
  }, string, {
256
- size: import('..').QFieldSize;
257
254
  icons: import('./types').QPasswordFieldIcons;
258
255
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
259
256
  $slots: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPasswordField/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKlD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAO2mzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAP9rzB,CAAA;AAGvD,OAAO,EAAE,cAAc,EAAE,CAAA;AAGzB,YAAY,EAAE,mBAAmB,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPasswordField/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKlD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAO2mzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAP9rzB,CAAA;AAGvD,OAAO,EAAE,cAAc,EAAE,CAAA;AAGzB,YAAY,EAAE,mBAAmB,EAAE,CAAA"}
@@ -1,8 +1,8 @@
1
- import { defineComponent as m, computed as r, createBlock as b, openBlock as f, unref as o, normalizeClass as v, createSlots as y, withCtx as d, createElementVNode as g, renderSlot as s, createCommentVNode as q, mergeProps as B } from "vue";
2
- import { QLabel as C } from "../QLabel/index.js";
3
- import { useId as h } from "../../composables/uid.js";
4
- import { useGroupItem as k } from "../../composables/useGroup/index.js";
5
- const z = ["id", "checked", "name", "value", "disabled"], w = /* @__PURE__ */ m({
1
+ import { defineComponent as m, toRef as b, computed as r, createBlock as f, openBlock as v, unref as o, normalizeClass as y, createSlots as g, withCtx as d, createElementVNode as q, renderSlot as s, createCommentVNode as B, mergeProps as C } from "vue";
2
+ import { QLabel as h } from "../QLabel/index.js";
3
+ import { useId as k } from "../../composables/uid.js";
4
+ import { useGroupItem as z } from "../../composables/useGroup/index.js";
5
+ const P = ["id", "checked", "name", "value", "disabled"], w = /* @__PURE__ */ m({
6
6
  inheritAttrs: !1,
7
7
  __name: "QRadioButton",
8
8
  props: {
@@ -21,7 +21,7 @@ const z = ["id", "checked", "name", "value", "disabled"], w = /* @__PURE__ */ m(
21
21
  name: {}
22
22
  },
23
23
  setup(i) {
24
- const e = i, n = h(e.id), t = k(e.value);
24
+ const e = i, n = k(b(e, "id")), t = z(e.value);
25
25
  if (!t)
26
26
  throw new Error("QRadioButton must be used inside a QRadioGroup");
27
27
  const u = r(() => e.labelPlacement === "start" ? "append" : "prepend"), p = r(() => {
@@ -38,13 +38,13 @@ const z = ["id", "checked", "name", "value", "disabled"], w = /* @__PURE__ */ m(
38
38
  e.class
39
39
  ];
40
40
  });
41
- return (a, l) => (f(), b(o(C), {
41
+ return (a, l) => (v(), f(o(h), {
42
42
  for: o(n),
43
- class: v(p.value),
43
+ class: y(p.value),
44
44
  label: e.label
45
- }, y({
45
+ }, g({
46
46
  [u.value]: d(() => [
47
- g("input", B({
47
+ q("input", C({
48
48
  id: o(n),
49
49
  checked: o(t).isActive.value,
50
50
  tabindex: "0",
@@ -56,8 +56,8 @@ const z = ["id", "checked", "name", "value", "disabled"], w = /* @__PURE__ */ m(
56
56
  }, a.$attrs, {
57
57
  onChange: l[0] || (l[0] = //@ts-ignore
58
58
  (...c) => o(t).toggle && o(t).toggle(...c))
59
- }), null, 16, z),
60
- e.labelPlacement === "end" ? s(a.$slots, "default", { key: 0 }) : q("v-if", !0)
59
+ }), null, 16, P),
60
+ e.labelPlacement === "end" ? s(a.$slots, "default", { key: 0 }) : B("v-if", !0)
61
61
  ]),
62
62
  _: 2
63
63
  /* DYNAMIC */
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, mergeModels as q, useModel as b, watch as B, computed as l, toRef as r, createElementBlock as n, openBlock as a, normalizeClass as _, createBlock as h, createCommentVNode as u, createElementVNode as z, unref as t, mergeProps as k, renderSlot as m } from "vue";
1
+ import { defineComponent as y, mergeModels as q, useModel as b, watch as B, toRef as r, computed as d, createElementBlock as n, openBlock as l, normalizeClass as _, createBlock as h, createCommentVNode as u, createElementVNode as z, unref as a, mergeProps as k, renderSlot as m } from "vue";
2
2
  import { QLabel as V } from "../QLabel/index.js";
3
3
  import { provideDefaults as $ } from "../../composables/defaults.js";
4
4
  import { useId as c } from "../../composables/uid.js";
@@ -27,18 +27,18 @@ const M = ["id"], Q = {
27
27
  modelModifiers: {}
28
28
  }),
29
29
  emits: ["update:modelValue"],
30
- setup(i) {
31
- const e = i, s = b(i, "modelValue"), { active: p } = C({ active: s });
30
+ setup(t) {
31
+ const e = t, i = b(t, "modelValue"), { active: p } = C({ active: i });
32
32
  B(p, (o) => {
33
- s.value = o;
33
+ i.value = o;
34
34
  });
35
- const d = c(e.id), f = l(() => c(e.name)), v = l(() => [
35
+ const s = c(r(e, "id")), f = c(r(e, "name")), v = d(() => [
36
36
  "q-radio-group",
37
37
  {
38
38
  "q-radio-group--horizontal": e.orientation === "horizontal"
39
39
  },
40
40
  e.class
41
- ]), g = l(() => e.columns > 1 ? {
41
+ ]), g = d(() => e.columns > 1 ? {
42
42
  "--q-radio-group-columns": e.columns
43
43
  } : {
44
44
  undefined: void 0
@@ -51,27 +51,27 @@ const M = ["id"], Q = {
51
51
  invalid: r(e, "invalid"),
52
52
  name: f
53
53
  }
54
- }), (o, R) => (a(), n(
54
+ }), (o, R) => (l(), n(
55
55
  "div",
56
56
  {
57
57
  class: _(v.value)
58
58
  },
59
59
  [
60
- e.label ? (a(), h(t(V), {
60
+ e.label ? (l(), h(a(V), {
61
61
  key: 0,
62
- for: t(d),
62
+ for: a(s),
63
63
  label: e.label,
64
64
  required: e.required
65
65
  }, null, 8, ["for", "label", "required"])) : u("v-if", !0),
66
66
  z("div", k({
67
- id: t(d),
67
+ id: a(s),
68
68
  class: ["q-radio-group__group", { "q-radio-group--grid": e.columns > 1 }],
69
69
  role: "radiogroup",
70
70
  style: g.value
71
71
  }, o.$attrs), [
72
72
  m(o.$slots, "default")
73
73
  ], 16, M),
74
- o.$slots.extras ? (a(), n("div", Q, [
74
+ o.$slots.extras ? (l(), n("div", Q, [
75
75
  m(o.$slots, "extras")
76
76
  ])) : u("v-if", !0)
77
77
  ],