@quidgest/ui 0.16.65 → 0.16.66

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 (59) hide show
  1. package/dist/json/api.json +226 -1
  2. package/dist/ui.css +14 -0
  3. package/dist/ui.esm.js +23 -4
  4. package/dist/ui.js +5 -5
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +18 -18
  7. package/dist/ui.scss +15 -1
  8. package/esm/components/QCheckbox/QCheckbox.vue.js +4 -3
  9. package/esm/components/QCheckbox/QCheckboxLabel.vue.js +7 -6
  10. package/esm/components/QCheckbox/index.d.ts +3 -0
  11. package/esm/components/QCheckbox/index.d.ts.map +1 -1
  12. package/esm/components/QCombobox/QCombobox.d.ts +28 -4
  13. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  14. package/esm/components/QCombobox/QCombobox.vue.js +6 -5
  15. package/esm/components/QCombobox/index.d.ts +49 -7
  16. package/esm/components/QCombobox/index.d.ts.map +1 -1
  17. package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +8 -7
  18. package/esm/components/QDateTimePicker/index.d.ts +3 -0
  19. package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
  20. package/esm/components/QField/QField.d.ts +1 -0
  21. package/esm/components/QField/QField.d.ts.map +1 -1
  22. package/esm/components/QField/QField.vue.js +23 -20
  23. package/esm/components/QField/index.d.ts +3 -0
  24. package/esm/components/QField/index.d.ts.map +1 -1
  25. package/esm/components/QFileUpload/QFileUpload.vue.js +6 -5
  26. package/esm/components/QFileUpload/index.d.ts +3 -0
  27. package/esm/components/QFileUpload/index.d.ts.map +1 -1
  28. package/esm/components/QInputGroup/QInputGroup.vue.js +17 -16
  29. package/esm/components/QLabel/QLabel.d.ts.map +1 -1
  30. package/esm/components/QLabel/QLabel.vue.js +15 -13
  31. package/esm/components/QLabel/types.d.ts +12 -0
  32. package/esm/components/QLabel/types.d.ts.map +1 -1
  33. package/esm/components/QMeter/QMeter.vue.js +8 -7
  34. package/esm/components/QMeter/index.d.ts +2 -0
  35. package/esm/components/QMeter/index.d.ts.map +1 -1
  36. package/esm/components/QPasswordField/QPasswordField.d.ts +14 -2
  37. package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
  38. package/esm/components/QPasswordField/QPasswordField.vue.js +5 -4
  39. package/esm/components/QPasswordField/index.d.ts +7 -1
  40. package/esm/components/QPasswordField/index.d.ts.map +1 -1
  41. package/esm/components/QRadioGroup/QRadioButton.vue.js +13 -12
  42. package/esm/components/QRadioGroup/QRadioGroup.vue.js +8 -7
  43. package/esm/components/QRadioGroup/index.d.ts +3 -0
  44. package/esm/components/QRadioGroup/index.d.ts.map +1 -1
  45. package/esm/components/QSelect/QSelect.d.ts +8 -2
  46. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  47. package/esm/components/QSelect/QSelect.vue.js +1 -0
  48. package/esm/components/QSelect/index.d.ts +7 -1
  49. package/esm/components/QSelect/index.d.ts.map +1 -1
  50. package/esm/components/QSwitch/QSwitch.vue.js +15 -14
  51. package/esm/components/QTextArea/QTextArea.vue.js +3 -2
  52. package/esm/components/QTextArea/index.d.ts +3 -0
  53. package/esm/components/QTextArea/index.d.ts.map +1 -1
  54. package/esm/components/QTextField/QTextField.d.ts +8 -2
  55. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  56. package/esm/components/QTextField/QTextField.vue.js +22 -21
  57. package/esm/components/QTextField/index.d.ts +7 -1
  58. package/esm/components/QTextField/index.d.ts.map +1 -1
  59. package/package.json +1 -1
@@ -1,4 +1,4 @@
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";
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 P, 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 $ } from "vue";
2
2
  import { DEFAULT_TEXTS as H, DEFAULT_ICONS as W } from "./constants.js";
3
3
  import { QButton as b } from "../QButton/index.js";
4
4
  import { QField as X } from "../QField/index.js";
@@ -30,6 +30,7 @@ const Y = ["id", "accept", "required", "readonly", "disabled"], ee = {
30
30
  label: {},
31
31
  required: { type: Boolean },
32
32
  for: {},
33
+ labelPosition: {},
33
34
  size: { default: "large" },
34
35
  readonly: { type: Boolean },
35
36
  disabled: { type: Boolean },
@@ -93,14 +94,14 @@ const Y = ["id", "accept", "required", "readonly", "disabled"], ee = {
93
94
  disabled: e.disabled,
94
95
  required: e.required,
95
96
  invalid: e.invalid
96
- }, Q({
97
+ }, P({
97
98
  control: _(() => [
98
99
  a(
99
100
  "div",
100
101
  {
101
102
  ref_key: "dropZoneRef",
102
103
  ref: g,
103
- class: j(E.value)
104
+ class: Q(E.value)
104
105
  },
105
106
  [
106
107
  a("input", F({
@@ -202,7 +203,7 @@ const Y = ["id", "accept", "required", "readonly", "disabled"], ee = {
202
203
  _: 1
203
204
  /* STABLE */
204
205
  }, 8, ["title"])
205
- ])) : M("v-if", !0)
206
+ ])) : j("v-if", !0)
206
207
  ])) : (n(), c("div", de, [
207
208
  s(
208
209
  i(u),
@@ -211,7 +212,7 @@ const Y = ["id", "accept", "required", "readonly", "disabled"], ee = {
211
212
  16
212
213
  /* FULL_PROPS */
213
214
  ),
214
- P(
215
+ M(
215
216
  " " + y(e.texts.empty),
216
217
  1
217
218
  /* TEXT */
@@ -5,6 +5,7 @@ declare const QFileUpload: {
5
5
  label?: string;
6
6
  required?: boolean;
7
7
  for?: string;
8
+ labelPosition?: import('..').QLabelPosition;
8
9
  } & {
9
10
  size?: import('..').QFieldSize;
10
11
  readonly?: boolean;
@@ -39,6 +40,7 @@ declare const QFileUpload: {
39
40
  label?: string;
40
41
  required?: boolean;
41
42
  for?: string;
43
+ labelPosition?: import('..').QLabelPosition;
42
44
  } & {
43
45
  size?: import('..').QFieldSize;
44
46
  readonly?: boolean;
@@ -65,6 +67,7 @@ declare const QFileUpload: {
65
67
  label?: string;
66
68
  required?: boolean;
67
69
  for?: string;
70
+ labelPosition?: import('..').QLabelPosition;
68
71
  } & {
69
72
  size?: import('..').QFieldSize;
70
73
  readonly?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QFileUpload/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgC,CAAA;AAGjD,OAAO,EAAE,WAAW,EAAE,CAAA;AAGtB,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QFileUpload/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgC,CAAA;AAGjD,OAAO,EAAE,WAAW,EAAE,CAAA;AAGtB,cAAc,SAAS,CAAA"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, createBlock as m, openBlock as p, unref as a, normalizeClass as v, createSlots as b, withCtx as l, createElementBlock as s, createCommentVNode as r, renderSlot as n, createVNode as d, normalizeProps as t, guardReactiveProps as i } from "vue";
1
+ import { defineComponent as f, createBlock as m, openBlock as l, unref as r, normalizeClass as v, createSlots as b, withCtx as p, createElementBlock as s, createCommentVNode as a, renderSlot as n, createVNode as d, normalizeProps as t, guardReactiveProps as i } from "vue";
2
2
  import { QField as y } from "../QField/index.js";
3
3
  import { QIcon as u } from "../QIcon/index.js";
4
4
  import { provideDefaults as I } from "../../composables/defaults.js";
@@ -16,6 +16,7 @@ const _ = {
16
16
  label: {},
17
17
  required: { type: Boolean },
18
18
  for: {},
19
+ labelPosition: {},
19
20
  size: { default: "large" },
20
21
  readonly: { type: Boolean },
21
22
  disabled: { type: Boolean },
@@ -29,7 +30,7 @@ const _ = {
29
30
  QField: {
30
31
  size: "block"
31
32
  }
32
- }), (o, z) => (p(), m(a(y), {
33
+ }), (o, z) => (l(), m(r(y), {
33
34
  id: e.id,
34
35
  class: v(["q-input-group", e.class]),
35
36
  label: e.label,
@@ -37,45 +38,45 @@ const _ = {
37
38
  size: e.size,
38
39
  invalid: e.invalid
39
40
  }, b({
40
- "label.prepend": l(() => [
41
+ "label.prepend": p(() => [
41
42
  n(o.$slots, "label.prepend")
42
43
  ]),
43
- "label.append": l(() => [
44
+ "label.append": p(() => [
44
45
  n(o.$slots, "label.append")
45
46
  ]),
46
- default: l(() => [
47
- o.$slots.prepend || e.prependIcon ? (p(), s("div", _, [
48
- e.prependIcon ? (p(), s("span", k, [
47
+ default: p(() => [
48
+ o.$slots.prepend || e.prependIcon ? (l(), s("div", _, [
49
+ e.prependIcon ? (l(), s("span", k, [
49
50
  d(
50
- a(u),
51
+ r(u),
51
52
  t(i(e.prependIcon)),
52
53
  null,
53
54
  16
54
55
  /* FULL_PROPS */
55
56
  )
56
- ])) : r("v-if", !0),
57
+ ])) : a("v-if", !0),
57
58
  n(o.$slots, "prepend")
58
- ])) : r("v-if", !0),
59
+ ])) : a("v-if", !0),
59
60
  n(o.$slots, "default"),
60
- o.$slots.append || e.appendIcon ? (p(), s("div", $, [
61
- e.appendIcon ? (p(), s("span", q, [
61
+ o.$slots.append || e.appendIcon ? (l(), s("div", $, [
62
+ e.appendIcon ? (l(), s("span", q, [
62
63
  d(
63
- a(u),
64
+ r(u),
64
65
  t(i(e.appendIcon)),
65
66
  null,
66
67
  16
67
68
  /* FULL_PROPS */
68
69
  )
69
- ])) : r("v-if", !0),
70
+ ])) : a("v-if", !0),
70
71
  n(o.$slots, "append")
71
- ])) : r("v-if", !0)
72
+ ])) : a("v-if", !0)
72
73
  ]),
73
74
  _: 2
74
75
  /* DYNAMIC */
75
76
  }, [
76
77
  o.$slots.extras ? {
77
78
  name: "extras",
78
- fn: l(() => [
79
+ fn: p(() => [
79
80
  n(o.$slots, "extras")
80
81
  ]),
81
82
  key: "0"
@@ -1 +1 @@
1
- {"version":3,"file":"QLabel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QLabel/QLabel.vue"],"names":[],"mappings":"AAaA;AAoCC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAoB3C,iBAAS,cAAc;WAkCT,OAAO,IAA6B;;yBAZrB,GAAG;yBACH,GAAG;wBACJ,GAAG;;;;EAe9B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,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":"QLabel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QLabel/QLabel.vue"],"names":[],"mappings":"AAaA;AAmCC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAmB3C,iBAAS,cAAc;WAkCT,OAAO,IAA6B;;yBAZrB,GAAG;yBACH,GAAG;wBACJ,GAAG;;;;EAe9B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,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,39 +1,41 @@
1
- import { defineComponent as t, computed as a, createElementBlock as n, openBlock as d, normalizeClass as c, renderSlot as l, createElementVNode as i, createTextVNode as p, toDisplayString as u } from "vue";
2
- const f = ["id"], m = ["for"], q = /* @__PURE__ */ t({
1
+ import { defineComponent as a, computed as r, createElementBlock as n, openBlock as i, normalizeClass as d, renderSlot as o, createElementVNode as c, createTextVNode as p, toDisplayString as b } from "vue";
2
+ const u = ["id"], f = ["for"], q = /* @__PURE__ */ a({
3
3
  __name: "QLabel",
4
4
  props: {
5
5
  id: {},
6
6
  class: {},
7
7
  label: {},
8
8
  required: { type: Boolean },
9
- for: {}
9
+ for: {},
10
+ labelPosition: {}
10
11
  },
11
12
  setup(s) {
12
- const e = s, r = a(() => [
13
+ const e = s, t = r(() => [
13
14
  "q-label",
15
+ e.labelPosition ? `q-label--${e.labelPosition}` : "",
14
16
  {
15
17
  "q-label--required": e.required
16
18
  },
17
19
  e.class
18
20
  ]);
19
- return (o, _) => (d(), n("div", {
21
+ return (l, m) => (i(), n("div", {
20
22
  id: e.id,
21
- class: c(r.value)
23
+ class: d(t.value)
22
24
  }, [
23
- l(o.$slots, "prepend"),
24
- i("label", {
25
+ o(l.$slots, "prepend"),
26
+ c("label", {
25
27
  for: e.for
26
28
  }, [
27
- l(o.$slots, "default", {}, () => [
29
+ o(l.$slots, "default", {}, () => [
28
30
  p(
29
- u(e.label),
31
+ b(e.label),
30
32
  1
31
33
  /* TEXT */
32
34
  )
33
35
  ])
34
- ], 8, m),
35
- l(o.$slots, "append")
36
- ], 10, f));
36
+ ], 8, f),
37
+ o(l.$slots, "append")
38
+ ], 10, u));
37
39
  }
38
40
  });
39
41
  export {
@@ -1,4 +1,5 @@
1
1
  import { QBaseComponentProps } from '../../types/component';
2
+ export type QLabelPosition = 'left' | 'center' | 'right' | 'topleft' | 'topright';
2
3
  export type QLabelProps = QBaseComponentProps & {
3
4
  /**
4
5
  * The label of the input.
@@ -19,5 +20,16 @@ export type QLabelProps = QBaseComponentProps & {
19
20
  * @category Accessibility
20
21
  */
21
22
  for?: string;
23
+ /**
24
+ * Position of the label relative to the input field.
25
+ * - 'left': Label appears to the left of the input
26
+ * - 'center': Label appears above the input, centered
27
+ * - 'right': Label appears to the right of the input
28
+ * - 'topleft': Label appears above the input, aligned to the left
29
+ * - 'topright': Label appears above the input, aligned to the right
30
+ *
31
+ * @category Presentation
32
+ */
33
+ labelPosition?: QLabelPosition;
22
34
  };
23
35
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QLabel/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,WAAW,GAAG,mBAAmB,GAAG;IAC/C;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QLabel/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAA;AAEjF,MAAM,MAAM,WAAW,GAAG,mBAAmB,GAAG;IAC/C;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;;;;;;;OASG;IACH,aAAa,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA"}
@@ -1,14 +1,15 @@
1
- import { defineComponent as v, mergeModels as b, useModel as f, computed as t, toRef as p, createElementBlock as h, openBlock as q, normalizeClass as x, createElementVNode as o, createVNode as n, unref as u, normalizeStyle as y } from "vue";
1
+ import { defineComponent as b, mergeModels as v, useModel as f, computed as t, toRef as p, createElementBlock as h, openBlock as q, normalizeClass as x, createElementVNode as o, createVNode as n, unref as u, normalizeStyle as y } from "vue";
2
2
  import { QLabel as c } from "../QLabel/index.js";
3
3
  import { useColor as L } from "../../composables/useColor/index.js";
4
- const M = ["id"], C = { class: "q-meter__labels" }, V = { class: "q-meter__track" }, B = /* @__PURE__ */ v({
4
+ const M = ["id"], C = { class: "q-meter__labels" }, V = { class: "q-meter__track" }, B = /* @__PURE__ */ b({
5
5
  __name: "QMeter",
6
- props: /* @__PURE__ */ b({
6
+ props: /* @__PURE__ */ v({
7
7
  id: {},
8
8
  class: {},
9
9
  label: {},
10
10
  required: { type: Boolean },
11
11
  for: {},
12
+ labelPosition: {},
12
13
  valueLabel: {},
13
14
  color: {},
14
15
  max: { default: 100 }
@@ -18,11 +19,11 @@ const M = ["id"], C = { class: "q-meter__labels" }, V = { class: "q-meter__track
18
19
  }),
19
20
  emits: ["update:modelValue"],
20
21
  setup(r) {
21
- const e = r, s = f(r, "modelValue"), m = t(() => s.value / e.max * 100), { style: d } = L(p(e, "color")), i = t(() => {
22
+ const e = r, s = f(r, "modelValue"), i = t(() => s.value / e.max * 100), { style: m } = L(p(e, "color")), d = t(() => {
22
23
  var a;
23
24
  return {
24
- width: `${Math.max(0, Math.min(m.value, 100))}%`,
25
- backgroundColor: (a = d.value) == null ? void 0 : a.mainColor
25
+ width: `${Math.max(0, Math.min(i.value, 100))}%`,
26
+ backgroundColor: (a = m.value) == null ? void 0 : a.mainColor
26
27
  };
27
28
  }), _ = t(() => {
28
29
  var l;
@@ -46,7 +47,7 @@ const M = ["id"], C = { class: "q-meter__labels" }, V = { class: "q-meter__track
46
47
  "div",
47
48
  {
48
49
  class: "q-meter__fill",
49
- style: y(i.value)
50
+ style: y(d.value)
50
51
  },
51
52
  null,
52
53
  4
@@ -4,6 +4,7 @@ declare const QMeter: import('vue').DefineComponent<{
4
4
  label?: string;
5
5
  required?: boolean;
6
6
  for?: string;
7
+ labelPosition?: import('..').QLabelPosition;
7
8
  } & {
8
9
  valueLabel?: string | ((value: number, max: number) => string);
9
10
  color?: string;
@@ -16,6 +17,7 @@ declare const QMeter: import('vue').DefineComponent<{
16
17
  label?: string;
17
18
  required?: boolean;
18
19
  for?: string;
20
+ labelPosition?: import('..').QLabelPosition;
19
21
  } & {
20
22
  valueLabel?: string | ((value: number, max: number) => string);
21
23
  color?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QMeter/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;wFAA2B,CAAA;AAGvC,OAAO,EAAE,MAAM,EAAE,CAAA;AAGjB,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QMeter/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;wFAA2B,CAAA;AAGvC,OAAO,EAAE,MAAM,EAAE,CAAA;AAGjB,cAAc,SAAS,CAAA"}
@@ -24,6 +24,7 @@ declare function __VLS_template(): {
24
24
  readonly label?: string | undefined;
25
25
  readonly required?: boolean | undefined;
26
26
  readonly for?: string | undefined;
27
+ readonly labelPosition?: import('..').QLabelPosition | undefined;
27
28
  readonly size?: import('..').QFieldSize | undefined;
28
29
  readonly readonly?: boolean | undefined;
29
30
  readonly disabled?: boolean | undefined;
@@ -51,6 +52,7 @@ declare function __VLS_template(): {
51
52
  readonly label?: string | undefined;
52
53
  readonly required?: boolean | undefined;
53
54
  readonly for?: string | undefined;
55
+ readonly labelPosition?: import('..').QLabelPosition | undefined;
54
56
  readonly size?: import('..').QFieldSize | undefined;
55
57
  readonly readonly?: boolean | undefined;
56
58
  readonly disabled?: boolean | undefined;
@@ -76,6 +78,7 @@ declare function __VLS_template(): {
76
78
  fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
77
79
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
78
80
  size: import('..').QFieldSize;
81
+ labelPosition: import('..').QLabelPosition;
79
82
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
80
83
  beforeCreate?: (() => void) | (() => void)[];
81
84
  created?: (() => void) | (() => void)[];
@@ -98,7 +101,8 @@ declare function __VLS_template(): {
98
101
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
99
102
  } & Readonly<{
100
103
  size: import('..').QFieldSize;
101
- }> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
104
+ labelPosition: import('..').QLabelPosition;
105
+ }> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "labelPosition")> & import('vue').ShallowUnwrapRef<{
102
106
  fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
103
107
  }> & {} & import('vue').ComponentCustomProperties & {} & {
104
108
  $slots: {
@@ -127,6 +131,7 @@ declare function __VLS_template(): {
127
131
  label?: string;
128
132
  required?: boolean;
129
133
  for?: string;
134
+ labelPosition?: import('..').QLabelPosition;
130
135
  } & {
131
136
  size?: import('..').QFieldSize;
132
137
  readonly?: boolean;
@@ -179,6 +184,7 @@ declare function __VLS_template(): {
179
184
  label?: string;
180
185
  required?: boolean;
181
186
  for?: string;
187
+ labelPosition?: import('..').QLabelPosition;
182
188
  } & {
183
189
  size?: import('..').QFieldSize;
184
190
  readonly?: boolean;
@@ -229,6 +235,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
229
235
  readonly label?: string | undefined;
230
236
  readonly required?: boolean | undefined;
231
237
  readonly for?: string | undefined;
238
+ readonly labelPosition?: import('..').QLabelPosition | undefined;
232
239
  readonly size?: import('..').QFieldSize | undefined;
233
240
  readonly readonly?: boolean | undefined;
234
241
  readonly disabled?: boolean | undefined;
@@ -256,6 +263,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
256
263
  readonly label?: string | undefined;
257
264
  readonly required?: boolean | undefined;
258
265
  readonly for?: string | undefined;
266
+ readonly labelPosition?: import('..').QLabelPosition | undefined;
259
267
  readonly size?: import('..').QFieldSize | undefined;
260
268
  readonly readonly?: boolean | undefined;
261
269
  readonly disabled?: boolean | undefined;
@@ -281,6 +289,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
281
289
  fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
282
290
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
283
291
  size: import('..').QFieldSize;
292
+ labelPosition: import('..').QLabelPosition;
284
293
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
285
294
  beforeCreate?: (() => void) | (() => void)[];
286
295
  created?: (() => void) | (() => void)[];
@@ -303,7 +312,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
303
312
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
304
313
  } & Readonly<{
305
314
  size: import('..').QFieldSize;
306
- }> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
315
+ labelPosition: import('..').QLabelPosition;
316
+ }> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "labelPosition")> & import('vue').ShallowUnwrapRef<{
307
317
  fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
308
318
  }> & {} & import('vue').ComponentCustomProperties & {} & {
309
319
  $slots: {
@@ -332,6 +342,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
332
342
  label?: string;
333
343
  required?: boolean;
334
344
  for?: string;
345
+ labelPosition?: import('..').QLabelPosition;
335
346
  } & {
336
347
  size?: import('..').QFieldSize;
337
348
  readonly?: boolean;
@@ -384,6 +395,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
384
395
  label?: string;
385
396
  required?: boolean;
386
397
  for?: string;
398
+ labelPosition?: import('..').QLabelPosition;
387
399
  } & {
388
400
  size?: import('..').QFieldSize;
389
401
  readonly?: boolean;
@@ -1 +1 @@
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"}
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"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as L, mergeModels as S, useModel as V, ref as B, computed as v, createElementBlock as E, openBlock as g, Fragment as P, createVNode as y, createBlock as $, createCommentVNode as w, unref as b, mergeProps as Q, createSlots as R, withCtx as n, renderSlot as d, normalizeProps as x, guardReactiveProps as N } from "vue";
1
+ import { defineComponent as L, mergeModels as P, useModel as V, ref as B, computed as v, createElementBlock as S, openBlock as g, Fragment as E, createVNode as y, createBlock as $, createCommentVNode as w, unref as b, mergeProps as Q, createSlots as R, withCtx as n, renderSlot as d, normalizeProps as x, guardReactiveProps as N } from "vue";
2
2
  import { DEFAULT_ICONS as O } from "./constants.js";
3
3
  import { QButton as U } from "../QButton/index.js";
4
4
  import { QIcon as A } from "../QIcon/index.js";
@@ -8,12 +8,13 @@ import D from "./QPasswordFieldMeterOverlay.vue.js";
8
8
  const Y = /* @__PURE__ */ L({
9
9
  inheritAttrs: !1,
10
10
  __name: "QPasswordField",
11
- props: /* @__PURE__ */ S({
11
+ props: /* @__PURE__ */ P({
12
12
  id: {},
13
13
  class: {},
14
14
  label: {},
15
15
  required: { type: Boolean },
16
16
  for: {},
17
+ labelPosition: {},
17
18
  size: {},
18
19
  readonly: { type: Boolean },
19
20
  disabled: { type: Boolean },
@@ -60,8 +61,8 @@ const Y = /* @__PURE__ */ L({
60
61
  }
61
62
  return (l, s) => {
62
63
  var a, r;
63
- return g(), E(
64
- P,
64
+ return g(), S(
65
+ E,
65
66
  null,
66
67
  [
67
68
  y(b(I), Q({
@@ -27,6 +27,7 @@ declare const QPasswordField: {
27
27
  readonly label?: string | undefined;
28
28
  readonly required?: boolean | undefined;
29
29
  readonly for?: string | undefined;
30
+ readonly labelPosition?: import('..').QLabelPosition | undefined;
30
31
  readonly size?: import('..').QFieldSize | undefined;
31
32
  readonly readonly?: boolean | undefined;
32
33
  readonly disabled?: boolean | undefined;
@@ -54,6 +55,7 @@ declare const QPasswordField: {
54
55
  readonly label?: string | undefined;
55
56
  readonly required?: boolean | undefined;
56
57
  readonly for?: string | undefined;
58
+ readonly labelPosition?: import('..').QLabelPosition | undefined;
57
59
  readonly size?: import('..').QFieldSize | undefined;
58
60
  readonly readonly?: boolean | undefined;
59
61
  readonly disabled?: boolean | undefined;
@@ -79,6 +81,7 @@ declare const QPasswordField: {
79
81
  fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
80
82
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
81
83
  size: import('..').QFieldSize;
84
+ labelPosition: import('..').QLabelPosition;
82
85
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
83
86
  beforeCreate?: (() => void) | (() => void)[];
84
87
  created?: (() => void) | (() => void)[];
@@ -101,7 +104,8 @@ declare const QPasswordField: {
101
104
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
102
105
  } & Readonly<{
103
106
  size: import('..').QFieldSize;
104
- }> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
107
+ labelPosition: import('..').QLabelPosition;
108
+ }> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "labelPosition")> & import('vue').ShallowUnwrapRef<{
105
109
  fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
106
110
  }> & {} & import('vue').ComponentCustomProperties & {} & {
107
111
  $slots: {
@@ -130,6 +134,7 @@ declare const QPasswordField: {
130
134
  label?: string;
131
135
  required?: boolean;
132
136
  for?: string;
137
+ labelPosition?: import('..').QLabelPosition;
133
138
  } & {
134
139
  size?: import('..').QFieldSize;
135
140
  readonly?: boolean;
@@ -182,6 +187,7 @@ declare const QPasswordField: {
182
187
  label?: string;
183
188
  required?: boolean;
184
189
  for?: string;
190
+ labelPosition?: import('..').QLabelPosition;
185
191
  } & {
186
192
  size?: import('..').QFieldSize;
187
193
  readonly?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPasswordField/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAOorzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAPvwzB,CAAA;AAGvD,OAAO,EAAE,cAAc,EAAE,CAAA;AAGzB,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPasswordField/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAOorzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAPvwzB,CAAA;AAGvD,OAAO,EAAE,cAAc,EAAE,CAAA;AAGzB,cAAc,SAAS,CAAA"}
@@ -1,5 +1,5 @@
1
- import { defineComponent as g, toRef as k, useTemplateRef as C, computed as r, createBlock as h, openBlock as q, unref as t, withModifiers as d, normalizeClass as B, createSlots as R, withCtx as i, createElementVNode as A, renderSlot as s, createCommentVNode as z, mergeProps as E } from "vue";
2
- import { QLabel as P } from "../QLabel/index.js";
1
+ import { defineComponent as g, toRef as k, useTemplateRef as C, computed as r, createBlock as h, openBlock as q, unref as l, withModifiers as d, normalizeClass as B, createSlots as R, withCtx as i, createElementVNode as A, renderSlot as s, createCommentVNode as P, mergeProps as z } from "vue";
2
+ import { QLabel as E } from "../QLabel/index.js";
3
3
  import { useId as _ } from "../../composables/uid.js";
4
4
  import { useGroupItem as $ } from "../../composables/useGroup/index.js";
5
5
  const D = ["id", "checked", "name", "value", "disabled", "readonly"], G = /* @__PURE__ */ g({
@@ -11,6 +11,7 @@ const D = ["id", "checked", "name", "value", "disabled", "readonly"], G = /* @__
11
11
  label: {},
12
12
  required: { type: Boolean },
13
13
  for: {},
14
+ labelPosition: {},
14
15
  value: {},
15
16
  name: {},
16
17
  labelPlacement: { default: "end" },
@@ -25,11 +26,11 @@ const D = ["id", "checked", "name", "value", "disabled", "readonly"], G = /* @__
25
26
  if (!n)
26
27
  throw new Error("QRadioButton must be used inside a QRadioGroup");
27
28
  const c = r(() => e.labelPlacement === "start" ? "append" : "prepend"), f = r(() => {
28
- const o = e.size !== "regular" ? `q-radio-button--${e.size}` : void 0, l = e.color !== "primary" ? `q-radio-button--${e.color}` : void 0;
29
+ const o = e.size !== "regular" ? `q-radio-button--${e.size}` : void 0, t = e.color !== "primary" ? `q-radio-button--${e.color}` : void 0;
29
30
  return [
30
31
  "q-radio-button",
31
32
  o,
32
- l,
33
+ t,
33
34
  {
34
35
  "q-radio-button--readonly": e.readonly,
35
36
  "q-radio-button--disabled": e.disabled,
@@ -51,8 +52,8 @@ const D = ["id", "checked", "name", "value", "disabled", "readonly"], G = /* @__
51
52
  var o;
52
53
  (o = p.value) == null || o.focus();
53
54
  }
54
- return (o, l) => (q(), h(t(P), {
55
- for: t(a),
55
+ return (o, t) => (q(), h(l(E), {
56
+ for: l(a),
56
57
  class: B(f.value),
57
58
  label: e.label,
58
59
  tabindex: e.disabled ? void 0 : -1,
@@ -60,10 +61,10 @@ const D = ["id", "checked", "name", "value", "disabled", "readonly"], G = /* @__
60
61
  onClick: y
61
62
  }, R({
62
63
  [c.value]: i(() => [
63
- A("input", E({
64
- id: t(a),
64
+ A("input", z({
65
+ id: l(a),
65
66
  ref: "inputEl",
66
- checked: t(n).isActive.value,
67
+ checked: l(n).isActive.value,
67
68
  type: "radio",
68
69
  class: "q-radio-button__input",
69
70
  name: e.name,
@@ -71,12 +72,12 @@ const D = ["id", "checked", "name", "value", "disabled", "readonly"], G = /* @__
71
72
  disabled: e.disabled,
72
73
  readonly: e.readonly
73
74
  }, o.$attrs, {
74
- onChange: l[0] || (l[0] = //@ts-ignore
75
- (...w) => t(n).toggle && t(n).toggle(...w)),
75
+ onChange: t[0] || (t[0] = //@ts-ignore
76
+ (...w) => l(n).toggle && l(n).toggle(...w)),
76
77
  onClick: d(m, ["stop"]),
77
78
  onKeydown: b
78
79
  }), null, 16, D),
79
- e.labelPlacement === "end" ? s(o.$slots, "default", { key: 0 }) : z("v-if", !0)
80
+ e.labelPlacement === "end" ? s(o.$slots, "default", { key: 0 }) : P("v-if", !0)
80
81
  ]),
81
82
  _: 2
82
83
  /* DYNAMIC */
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, mergeModels as q, useModel as b, watch as h, toRef as l, computed as r, createElementBlock as u, openBlock as t, normalizeClass as B, createBlock as _, createCommentVNode as n, createElementVNode as z, unref as s, mergeProps as k, renderSlot as c } from "vue";
1
+ import { defineComponent as g, mergeModels as q, useModel as b, watch as h, toRef as l, computed as r, createElementBlock as n, openBlock as t, normalizeClass as B, createBlock as _, createCommentVNode as u, createElementVNode as z, unref as s, mergeProps as k, renderSlot as c } 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 m } from "../../composables/uid.js";
@@ -6,7 +6,7 @@ import { useGroup as C } from "../../composables/useGroup/index.js";
6
6
  const M = ["id"], Q = {
7
7
  key: 1,
8
8
  class: "q-field__extras"
9
- }, S = /* @__PURE__ */ g({
9
+ }, P = /* @__PURE__ */ g({
10
10
  inheritAttrs: !1,
11
11
  __name: "QRadioGroup",
12
12
  props: /* @__PURE__ */ q({
@@ -15,6 +15,7 @@ const M = ["id"], Q = {
15
15
  label: {},
16
16
  required: { type: Boolean },
17
17
  for: {},
18
+ labelPosition: {},
18
19
  name: {},
19
20
  orientation: { default: "vertical" },
20
21
  size: { default: "regular" },
@@ -53,7 +54,7 @@ const M = ["id"], Q = {
53
54
  invalid: l(e, "invalid"),
54
55
  name: f
55
56
  }
56
- }), (o, R) => (t(), u(
57
+ }), (o, R) => (t(), n(
57
58
  "div",
58
59
  {
59
60
  class: B(v.value)
@@ -64,7 +65,7 @@ const M = ["id"], Q = {
64
65
  for: s(a),
65
66
  label: e.label,
66
67
  required: e.required
67
- }, null, 8, ["for", "label", "required"])) : n("v-if", !0),
68
+ }, null, 8, ["for", "label", "required"])) : u("v-if", !0),
68
69
  z("div", k({
69
70
  id: s(a),
70
71
  class: ["q-radio-group__group", { "q-radio-group--grid": e.columns > 1 }],
@@ -73,9 +74,9 @@ const M = ["id"], Q = {
73
74
  }, o.$attrs), [
74
75
  c(o.$slots, "default")
75
76
  ], 16, M),
76
- o.$slots.extras ? (t(), u("div", Q, [
77
+ o.$slots.extras ? (t(), n("div", Q, [
77
78
  c(o.$slots, "extras")
78
- ])) : n("v-if", !0)
79
+ ])) : u("v-if", !0)
79
80
  ],
80
81
  2
81
82
  /* CLASS */
@@ -83,5 +84,5 @@ const M = ["id"], Q = {
83
84
  }
84
85
  });
85
86
  export {
86
- S as default
87
+ P as default
87
88
  };