@quidgest/ui 0.16.65 → 0.16.67

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 (63) hide show
  1. package/dist/json/api.json +226 -1
  2. package/dist/ui.css +14 -0
  3. package/dist/ui.esm.js +35 -10
  4. package/dist/ui.js +5 -5
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +154 -154
  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.d.ts.map +1 -1
  18. package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +23 -21
  19. package/esm/components/QDateTimePicker/index.d.ts +3 -0
  20. package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
  21. package/esm/components/QField/QField.d.ts +1 -0
  22. package/esm/components/QField/QField.d.ts.map +1 -1
  23. package/esm/components/QField/QField.vue.js +23 -20
  24. package/esm/components/QField/index.d.ts +3 -0
  25. package/esm/components/QField/index.d.ts.map +1 -1
  26. package/esm/components/QFileUpload/QFileUpload.d.ts.map +1 -1
  27. package/esm/components/QFileUpload/QFileUpload.vue.js +18 -16
  28. package/esm/components/QFileUpload/index.d.ts +3 -0
  29. package/esm/components/QFileUpload/index.d.ts.map +1 -1
  30. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  31. package/esm/components/QInputGroup/QInputGroup.vue.js +27 -25
  32. package/esm/components/QLabel/QLabel.d.ts.map +1 -1
  33. package/esm/components/QLabel/QLabel.vue.js +15 -13
  34. package/esm/components/QLabel/types.d.ts +12 -0
  35. package/esm/components/QLabel/types.d.ts.map +1 -1
  36. package/esm/components/QMeter/QMeter.vue.js +8 -7
  37. package/esm/components/QMeter/index.d.ts +2 -0
  38. package/esm/components/QMeter/index.d.ts.map +1 -1
  39. package/esm/components/QPasswordField/QPasswordField.d.ts +14 -2
  40. package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
  41. package/esm/components/QPasswordField/QPasswordField.vue.js +5 -4
  42. package/esm/components/QPasswordField/index.d.ts +7 -1
  43. package/esm/components/QPasswordField/index.d.ts.map +1 -1
  44. package/esm/components/QRadioGroup/QRadioButton.vue.js +13 -12
  45. package/esm/components/QRadioGroup/QRadioGroup.vue.js +8 -7
  46. package/esm/components/QRadioGroup/index.d.ts +3 -0
  47. package/esm/components/QRadioGroup/index.d.ts.map +1 -1
  48. package/esm/components/QSelect/QSelect.d.ts +8 -2
  49. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  50. package/esm/components/QSelect/QSelect.vue.js +9 -7
  51. package/esm/components/QSelect/index.d.ts +7 -1
  52. package/esm/components/QSelect/index.d.ts.map +1 -1
  53. package/esm/components/QSwitch/QSwitch.vue.js +15 -14
  54. package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
  55. package/esm/components/QTextArea/QTextArea.vue.js +21 -19
  56. package/esm/components/QTextArea/index.d.ts +3 -0
  57. package/esm/components/QTextArea/index.d.ts.map +1 -1
  58. package/esm/components/QTextField/QTextField.d.ts +8 -2
  59. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  60. package/esm/components/QTextField/QTextField.vue.js +28 -26
  61. package/esm/components/QTextField/index.d.ts +7 -1
  62. package/esm/components/QTextField/index.d.ts.map +1 -1
  63. package/package.json +1 -1
@@ -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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,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
  };
@@ -37,6 +37,7 @@ declare const QRadioGroup: {
37
37
  label?: string;
38
38
  required?: boolean;
39
39
  for?: string;
40
+ labelPosition?: import('..').QLabelPosition;
40
41
  } & {
41
42
  name?: string;
42
43
  orientation?: import('./types').QRadioButtonOrientation;
@@ -68,6 +69,7 @@ declare const QRadioGroup: {
68
69
  label?: string;
69
70
  required?: boolean;
70
71
  for?: string;
72
+ labelPosition?: import('..').QLabelPosition;
71
73
  } & {
72
74
  name?: string;
73
75
  orientation?: import('./types').QRadioButtonOrientation;
@@ -94,6 +96,7 @@ declare const QRadioGroup: {
94
96
  label?: string;
95
97
  required?: boolean;
96
98
  for?: string;
99
+ labelPosition?: import('..').QLabelPosition;
97
100
  } & {
98
101
  name?: string;
99
102
  orientation?: import('./types').QRadioButtonOrientation;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAA;AACnD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgC,CAAA;AAGjD,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,CAAA;AAGpC,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAA;AACnD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgC,CAAA;AAGjD,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,CAAA;AAGpC,cAAc,SAAS,CAAA"}
@@ -28,6 +28,7 @@ declare function __VLS_template(): {
28
28
  readonly label?: string | undefined;
29
29
  readonly required?: boolean | undefined;
30
30
  readonly for?: string | undefined;
31
+ readonly labelPosition?: import('..').QLabelPosition | undefined;
31
32
  readonly size?: import('..').QFieldSize | undefined;
32
33
  readonly readonly?: boolean | undefined;
33
34
  readonly disabled?: boolean | undefined;
@@ -53,6 +54,7 @@ declare function __VLS_template(): {
53
54
  fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
54
55
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
55
56
  size: import('..').QFieldSize;
57
+ labelPosition: import('..').QLabelPosition;
56
58
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
57
59
  beforeCreate?: (() => void) | (() => void)[];
58
60
  created?: (() => void) | (() => void)[];
@@ -75,7 +77,8 @@ declare function __VLS_template(): {
75
77
  $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;
76
78
  } & Readonly<{
77
79
  size: import('..').QFieldSize;
78
- }> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
80
+ labelPosition: import('..').QLabelPosition;
81
+ }> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "labelPosition")> & import('vue').ShallowUnwrapRef<{
79
82
  fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
80
83
  }> & {} & import('vue').ComponentCustomProperties & {} & {
81
84
  $slots: {
@@ -380,6 +383,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
380
383
  readonly label?: string | undefined;
381
384
  readonly required?: boolean | undefined;
382
385
  readonly for?: string | undefined;
386
+ readonly labelPosition?: import('..').QLabelPosition | undefined;
383
387
  readonly size?: import('..').QFieldSize | undefined;
384
388
  readonly readonly?: boolean | undefined;
385
389
  readonly disabled?: boolean | undefined;
@@ -405,6 +409,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
405
409
  fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
406
410
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
407
411
  size: import('..').QFieldSize;
412
+ labelPosition: import('..').QLabelPosition;
408
413
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
409
414
  beforeCreate?: (() => void) | (() => void)[];
410
415
  created?: (() => void) | (() => void)[];
@@ -427,7 +432,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
427
432
  $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;
428
433
  } & Readonly<{
429
434
  size: import('..').QFieldSize;
430
- }> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
435
+ labelPosition: import('..').QLabelPosition;
436
+ }> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "labelPosition")> & import('vue').ShallowUnwrapRef<{
431
437
  fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
432
438
  }> & {} & import('vue').ComponentCustomProperties & {} & {
433
439
  $slots: {
@@ -1 +1 @@
1
- {"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAoMA;AA+hBC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAe1D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAgD,MAAM,KAAK,CAAA;AAMtF,KAAK,WAAW,GAAG,YAAY,CAAC;AAwUjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkeT,OAAO,IAA6B;;yBAtBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACZ,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCArX5B,GAAG,8CACL,GAAG,yBACG,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAF7C,GAAG,8CACL,GAAG,yBACG,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAF7C,GAAG,8CACL,GAAG,yBACG,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAF7C,GAAG,8CACL,GAAG,yBACG,GAAG,6DAAmC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAHR,GAAG,8CAEF,GAAE,yBAAyB,GAAG,6DAC1B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAHR,GAAG,8CAEF,GAAE,yBAAyB,GAAG,6DAC1B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAHR,GAAG,8CAEF,GAAE,yBAAyB,GAAG,6DAC1B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAybR,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"}
@@ -33,6 +33,7 @@ const De = {
33
33
  label: {},
34
34
  required: { type: Boolean },
35
35
  for: {},
36
+ labelPosition: {},
36
37
  size: {},
37
38
  readonly: { type: Boolean },
38
39
  disabled: { type: Boolean },
@@ -59,9 +60,9 @@ const De = {
59
60
  active: r,
60
61
  required: z(e, "required"),
61
62
  multiple: z(e, "multiple")
62
- }), u = ee(!1), V = ee(0), K = g("trigger"), ie = g("input"), ne = g("list"), U = g("content"), N = g("badgesContainer"), W = g("allBadges");
63
+ }), u = ee(!1), V = ee(0), K = g("trigger"), ie = g("input"), ne = g("list"), U = g("content"), N = g("badgesContainer"), P = g("allBadges");
63
64
  pe(x);
64
- const P = q(() => s.value.length === 0), s = q(() => {
65
+ const W = q(() => s.value.length === 0), s = q(() => {
65
66
  var t;
66
67
  if (e.multiple)
67
68
  return ((t = r.value) == null ? void 0 : t.map((d) => j(d))) ?? [];
@@ -79,7 +80,7 @@ const De = {
79
80
  return (l = s.value) == null ? void 0 : l.map((t) => t[e.itemLabel]).join(", ");
80
81
  }
81
82
  ), L = q(
82
- () => e.clearable && !e.readonly && !e.disabled && !e.loading && !P.value
83
+ () => e.clearable && !e.readonly && !e.disabled && !e.loading && !W.value
83
84
  );
84
85
  function j(l) {
85
86
  var t;
@@ -133,13 +134,13 @@ const De = {
133
134
  if (await $(), await $(), !e.multiple || !e.badges || !N.value) return;
134
135
  let l = 0, t = 0;
135
136
  const d = N.value.offsetWidth, i = 4;
136
- for (const b of W.value ?? []) {
137
+ for (const b of P.value ?? []) {
137
138
  const v = b.$el.scrollWidth + i;
138
139
  if (l + v <= d)
139
140
  l += v, t++;
140
141
  else break;
141
142
  }
142
- V.value = (((n = W.value) == null ? void 0 : n.length) ?? 0) - t;
143
+ V.value = (((n = P.value) == null ? void 0 : n.length) ?? 0) - t;
143
144
  }
144
145
  return D(
145
146
  () => e.loading,
@@ -156,6 +157,7 @@ const De = {
156
157
  id: o(R),
157
158
  ref: "trigger",
158
159
  label: e.label,
160
+ "label-position": e.labelPosition,
159
161
  required: e.required,
160
162
  class: ve([
161
163
  "q-select",
@@ -203,7 +205,7 @@ const De = {
203
205
  }, 8, ["aria-label", "disabled"]))
204
206
  ]),
205
207
  default: f(() => [
206
- P.value ? (a(), c("span", Me, [
208
+ W.value ? (a(), c("span", Me, [
207
209
  !e.readonly && !e.disabled ? (a(), c(
208
210
  y,
209
211
  { key: 0 },
@@ -416,7 +418,7 @@ const De = {
416
418
  ]),
417
419
  key: "1"
418
420
  } : void 0
419
- ]), 1032, ["id", "label", "required", "class", "readonly", "disabled", "data-loading", "size", "invalid"]),
421
+ ]), 1032, ["id", "label", "label-position", "required", "class", "readonly", "disabled", "data-loading", "size", "invalid"]),
420
422
  T(o(Ce), {
421
423
  modelValue: u.value,
422
424
  "onUpdate:modelValue": t[1] || (t[1] = (i) => u.value = i),
@@ -5,6 +5,7 @@ declare const QSelect: {
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;
@@ -53,6 +54,7 @@ declare const QSelect: {
53
54
  readonly label?: string | undefined;
54
55
  readonly required?: boolean | undefined;
55
56
  readonly for?: string | undefined;
57
+ readonly labelPosition?: import('..').QLabelPosition | undefined;
56
58
  readonly size?: import('..').QFieldSize | undefined;
57
59
  readonly readonly?: boolean | undefined;
58
60
  readonly disabled?: boolean | undefined;
@@ -78,6 +80,7 @@ declare const QSelect: {
78
80
  fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
79
81
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
80
82
  size: import('..').QFieldSize;
83
+ labelPosition: import('..').QLabelPosition;
81
84
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
82
85
  beforeCreate?: (() => void) | (() => void)[];
83
86
  created?: (() => void) | (() => void)[];
@@ -100,7 +103,8 @@ declare const QSelect: {
100
103
  $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;
101
104
  } & Readonly<{
102
105
  size: import('..').QFieldSize;
103
- }> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "size" | "fieldRef"> & import('vue').ShallowUnwrapRef<{
106
+ labelPosition: import('..').QLabelPosition;
107
+ }> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "labelPosition")> & import('vue').ShallowUnwrapRef<{
104
108
  fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
105
109
  }> & {} & import('vue').ComponentCustomProperties & {} & {
106
110
  $slots: {
@@ -385,6 +389,7 @@ declare const QSelect: {
385
389
  label?: string;
386
390
  required?: boolean;
387
391
  for?: string;
392
+ labelPosition?: import('..').QLabelPosition;
388
393
  } & {
389
394
  size?: import('..').QFieldSize;
390
395
  readonly?: boolean;
@@ -426,6 +431,7 @@ declare const QSelect: {
426
431
  label?: string;
427
432
  required?: boolean;
428
433
  for?: string;
434
+ labelPosition?: import('..').QLabelPosition;
429
435
  } & {
430
436
  size?: import('..').QFieldSize;
431
437
  readonly?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAO8tzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAPxzzB,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAO8tzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAPxzzB,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,cAAc,SAAS,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as L, mergeModels as g, useModel as S, toRef as c, computed as w, createElementBlock as r, openBlock as i, withModifiers as B, createBlock as V, createCommentVNode as d, createElementVNode as a, unref as n, withCtx as z, createTextVNode as u, toDisplayString as h, normalizeStyle as M, normalizeClass as x, withDirectives as D, mergeProps as I, vModelCheckbox as N, Fragment as _ } from "vue";
2
- import { QLabel as E } from "../QLabel/index.js";
3
- import { useId as O } from "../../composables/uid.js";
2
+ import { QLabel as P } from "../QLabel/index.js";
3
+ import { useId as E } from "../../composables/uid.js";
4
4
  import { useColor as q } from "../../composables/useColor/index.js";
5
- const P = ["id", "aria-checked", "disabled"], Q = { class: "q-switch__labels" }, $ = {
5
+ const O = ["id", "aria-checked", "disabled"], Q = { class: "q-switch__labels" }, $ = {
6
6
  class: "q-switch__label q-switch__label--off",
7
7
  "aria-hidden": "true"
8
8
  }, A = {
@@ -16,6 +16,7 @@ const P = ["id", "aria-checked", "disabled"], Q = { class: "q-switch__labels" },
16
16
  class: {},
17
17
  label: {},
18
18
  required: { type: Boolean },
19
+ labelPosition: {},
19
20
  trueLabel: { default: "On" },
20
21
  falseLabel: { default: "Off" },
21
22
  showStateLabels: { type: Boolean },
@@ -30,9 +31,9 @@ const P = ["id", "aria-checked", "disabled"], Q = { class: "q-switch__labels" },
30
31
  }),
31
32
  emits: ["update:modelValue"],
32
33
  setup(m) {
33
- const e = m, o = S(m, "modelValue"), v = (t) => {
34
- e.readonly && (t.preventDefault(), t.stopImmediatePropagation(), t.target.checked = !!o.value);
35
- }, b = O(c(e, "id")), { style: f } = q(c(e, "checkedColor")), { style: p } = q(c(e, "uncheckedColor")), y = w(() => [
34
+ const e = m, o = S(m, "modelValue"), v = (l) => {
35
+ e.readonly && (l.preventDefault(), l.stopImmediatePropagation(), l.target.checked = !!o.value);
36
+ }, b = E(c(e, "id")), { style: f } = q(c(e, "checkedColor")), { style: p } = q(c(e, "uncheckedColor")), y = w(() => [
36
37
  "q-switch",
37
38
  e.size !== "medium" ? `q-switch--${e.size}` : void 0,
38
39
  {
@@ -43,20 +44,20 @@ const P = ["id", "aria-checked", "disabled"], Q = { class: "q-switch__labels" },
43
44
  },
44
45
  e.class
45
46
  ]), C = w(() => {
46
- var t, l, s, k;
47
+ var l, t, s, k;
47
48
  return {
48
- "--q-switch-checked-background": (t = f.value) == null ? void 0 : t.mainColor,
49
- "--q-switch-on-checked-background": (l = f.value) == null ? void 0 : l.onMainColor,
49
+ "--q-switch-checked-background": (l = f.value) == null ? void 0 : l.mainColor,
50
+ "--q-switch-on-checked-background": (t = f.value) == null ? void 0 : t.onMainColor,
50
51
  "--q-switch-unchecked-background": (s = p.value) == null ? void 0 : s.mainColor,
51
52
  "--q-switch-on-unchecked-background": (k = p.value) == null ? void 0 : k.onMainColor
52
53
  };
53
54
  });
54
- return (t, l) => (i(), r("div", {
55
+ return (l, t) => (i(), r("div", {
55
56
  class: "q-switch__container",
56
- onClick: l[1] || (l[1] = B(() => {
57
+ onClick: t[1] || (t[1] = B(() => {
57
58
  }, ["stop"]))
58
59
  }, [
59
- e.label ? (i(), V(n(E), {
60
+ e.label ? (i(), V(n(P), {
60
61
  key: 0,
61
62
  for: n(b),
62
63
  required: e.required
@@ -80,13 +81,13 @@ const P = ["id", "aria-checked", "disabled"], Q = { class: "q-switch__labels" },
80
81
  [
81
82
  D(a("input", I({
82
83
  id: n(b),
83
- "onUpdate:modelValue": l[0] || (l[0] = (s) => o.value = s),
84
+ "onUpdate:modelValue": t[0] || (t[0] = (s) => o.value = s),
84
85
  class: "q-switch__input",
85
86
  type: "checkbox",
86
87
  role: "switch",
87
88
  "aria-checked": o.value,
88
89
  disabled: e.disabled
89
- }, t.$attrs, { onInput: v }), null, 16, P), [
90
+ }, l.$attrs, { onInput: v }), null, 16, O), [
90
91
  [N, o.value]
91
92
  ]),
92
93
  a("div", Q, [
@@ -1 +1 @@
1
- {"version":3,"file":"QTextArea.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QTextArea/QTextArea.vue"],"names":[],"mappings":"AAgDA;AAkHC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAO7C,KAAK,WAAW,GAAG,cAAc,CAAC;AAwDnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAA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