@quidgest/ui 0.32.0 → 0.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/json/api.json +198 -28
  3. package/dist/ui.css +291 -108
  4. package/dist/ui.esm.js +989 -966
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.scss +433 -105
  7. package/lib/components/QAlert/QAlert.d.ts.map +1 -1
  8. package/lib/components/QAlert/QAlert.vue.js +13 -3
  9. package/lib/components/QAlert/types.d.ts +12 -0
  10. package/lib/components/QAlert/types.d.ts.map +1 -1
  11. package/lib/components/QBadge/QBadge.d.ts.map +1 -1
  12. package/lib/components/QBadge/QBadge.vue.js +20 -12
  13. package/lib/components/QBadge/types.d.ts +11 -0
  14. package/lib/components/QBadge/types.d.ts.map +1 -1
  15. package/lib/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
  16. package/lib/components/QDateTimePicker/QDateTimePicker.vue.js +596 -574
  17. package/lib/components/QDefaultsProvider/QDefaultsProvider.vue.js +4 -2
  18. package/lib/components/QDefaultsProvider/types.d.ts +10 -0
  19. package/lib/components/QDefaultsProvider/types.d.ts.map +1 -1
  20. package/lib/components/QDrawer/QDrawer.d.ts.map +1 -1
  21. package/lib/components/QDrawer/QDrawer.vue.js +204 -201
  22. package/lib/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  23. package/lib/components/QDropdownMenu/QDropdownMenuContent.vue.js +95 -83
  24. package/lib/components/QField/types.d.ts +4 -4
  25. package/lib/components/QGauge/QGauge.d.ts.map +1 -1
  26. package/lib/components/QGauge/QGauge.vue.js +149 -121
  27. package/lib/components/QGauge/types.d.ts +16 -1
  28. package/lib/components/QGauge/types.d.ts.map +1 -1
  29. package/lib/components/QInputGroup/QInputGroup.d.ts +8 -7
  30. package/lib/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  31. package/lib/components/QInputGroup/QInputGroup.vue.js +82 -43
  32. package/lib/components/QLabel/QLabel.d.ts.map +1 -1
  33. package/lib/components/QLabel/QLabel.vue.js +1 -0
  34. package/lib/components/QList/QListItem.d.ts.map +1 -1
  35. package/lib/components/QList/QListItem.vue.js +39 -32
  36. package/lib/components/QMeter/types.d.ts +3 -0
  37. package/lib/components/QMeter/types.d.ts.map +1 -1
  38. package/lib/components/QOverlay/QOverlay.d.ts.map +1 -1
  39. package/lib/components/QOverlay/QOverlay.vue.js +88 -85
  40. package/lib/components/QPhoneField/QPhoneField.d.ts +6 -0
  41. package/lib/components/QPhoneField/QPhoneField.d.ts.map +1 -1
  42. package/lib/components/QPhoneField/QPhoneField.vue.js +1 -1
  43. package/lib/components/QPhoneField/index.d.ts +3 -0
  44. package/lib/components/QPhoneField/index.d.ts.map +1 -1
  45. package/lib/components/QProgress/QProgress.d.ts.map +1 -1
  46. package/lib/components/QProgress/QProgress.vue.js +66 -47
  47. package/lib/components/QProgress/types.d.ts +3 -0
  48. package/lib/components/QProgress/types.d.ts.map +1 -1
  49. package/lib/components/QRadioGroup/QRadioGroup.d.ts +1 -1
  50. package/lib/components/QRadioGroup/index.d.ts +3 -3
  51. package/lib/components/QSelect/QSelect.d.ts +6 -0
  52. package/lib/components/QSelect/QSelect.d.ts.map +1 -1
  53. package/lib/components/QSelect/index.d.ts +3 -0
  54. package/lib/components/QSelect/index.d.ts.map +1 -1
  55. package/lib/components/QToast/QToaster.d.ts.map +1 -1
  56. package/lib/components/QToast/QToaster.vue.js +61 -58
  57. package/lib/composables/defaults.d.ts +25 -1
  58. package/lib/composables/defaults.d.ts.map +1 -1
  59. package/lib/composables/defaults.js +15 -7
  60. package/lib/composables/useColor/index.d.ts +2 -0
  61. package/lib/composables/useColor/index.d.ts.map +1 -1
  62. package/lib/composables/useColor/index.js +25 -19
  63. package/lib/composables/useColor/types.d.ts +12 -0
  64. package/lib/composables/useColor/types.d.ts.map +1 -1
  65. package/lib/utils/bidi.d.ts +27 -0
  66. package/lib/utils/bidi.d.ts.map +1 -0
  67. package/lib/utils/bidi.js +15 -0
  68. package/package.json +1 -1
@@ -4,15 +4,15 @@ import { QIcon as r } from "../QIcon/index.js";
4
4
  import { hasSlotContent as i } from "../../utils/slots.js";
5
5
  import { fieldLabelTextId as a } from "../QField/ids.js";
6
6
  import { QField as o } from "../QField/index.js";
7
- import { computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createSlots as d, createVNode as f, defineComponent as p, guardReactiveProps as m, normalizeClass as h, normalizeProps as g, openBlock as _, renderSlot as v, toRef as y, unref as b, useTemplateRef as x, withCtx as S } from "vue";
7
+ import { computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createSlots as d, createVNode as f, defineComponent as p, guardReactiveProps as m, normalizeClass as h, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as v, onMounted as y, openBlock as b, ref as x, renderSlot as S, toRef as C, unref as w, useTemplateRef as T, withCtx as E } from "vue";
8
8
  //#region src/components/QInputGroup/QInputGroup.vue?vue&type=script&setup=true&lang.ts
9
- var C = {
9
+ var D = {
10
10
  key: 0,
11
11
  class: "q-input-group__prepend"
12
- }, w = { key: 0 }, T = {
12
+ }, O = { key: 0 }, k = {
13
13
  key: 1,
14
14
  class: "q-input-group__append"
15
- }, E = { key: 0 }, D = /*@__PURE__*/ p({
15
+ }, A = { key: 0 }, j = "minmax(auto, 1fr)", M = "max-content", N = /*@__PURE__*/ p({
16
16
  __name: "QInputGroup",
17
17
  props: {
18
18
  id: {},
@@ -32,8 +32,8 @@ var C = {
32
32
  prependIcon: {},
33
33
  appendIcon: {}
34
34
  },
35
- setup(p, { expose: D }) {
36
- let O = p, k = n(y(O, "id")), A = s(() => a(k.value)), j = [
35
+ setup(p, { expose: N }) {
36
+ let P = p, F = n(C(P, "id")), I = s(() => a(F.value)), L = [
37
37
  "QCheckbox",
38
38
  "QColorPicker",
39
39
  "QCombobox",
@@ -47,68 +47,106 @@ var C = {
47
47
  "QSwitch",
48
48
  "QTextArea",
49
49
  "QTextField"
50
- ], M = [
50
+ ], R = [
51
51
  "QButton",
52
52
  "QButtonGroup",
53
53
  "QToggle",
54
54
  "QToggleGroup"
55
- ], N = e(() => O.disabled), P = e(() => O.readonly);
55
+ ], z = e(() => P.disabled), B = e(() => P.readonly);
56
56
  t({
57
57
  QField: { size: "block" },
58
- ...Object.fromEntries(j.map((e) => [e, {
59
- disabled: N,
60
- readonly: P
58
+ ...Object.fromEntries(L.map((e) => [e, {
59
+ disabled: z,
60
+ readonly: B
61
61
  }])),
62
- ...Object.fromEntries(M.map((e) => [e, { disabled: N }]))
62
+ ...Object.fromEntries(R.map((e) => [e, { disabled: z }]))
63
63
  });
64
- let F = x("field");
65
- return D({
66
- fieldRef: s(() => F.value?.fieldRef),
67
- helpDescribedBy: s(() => F.value?.helpDescribedBy)
68
- }), (e, t) => (_(), c(b(o), {
69
- id: b(k),
64
+ let V = T("field"), H = [
65
+ "mini",
66
+ "small",
67
+ "medium",
68
+ "large",
69
+ "xlarge",
70
+ "xxlarge"
71
+ ], U = (e, t) => t ? `minmax(auto, var(--q-field-width-${e}))` : `minmax(auto, var(--q-field-share-${e}))`, W = [
72
+ "q-checkbox-field",
73
+ "q-switch-field",
74
+ "q-input-group__fit"
75
+ ], G = {
76
+ attributes: !0,
77
+ attributeFilter: ["class", "style"]
78
+ }, K = x("");
79
+ function q(e) {
80
+ let { display: t, position: n } = getComputedStyle(e);
81
+ return t === "none" || n === "absolute" || n === "fixed";
82
+ }
83
+ function J(e) {
84
+ let { classList: t } = e;
85
+ if (!(!t.contains("q-field") || W.some((e) => t.contains(e)))) return H.find((e) => t.contains(`q-field--${e}`)) ?? "block";
86
+ }
87
+ function Y(e) {
88
+ let t = e.map(J), n = t.includes("block");
89
+ return t.map((e) => e ? e === "block" ? j : U(e, n) : M);
90
+ }
91
+ let X;
92
+ function Z() {
93
+ let e = V.value?.fieldRef;
94
+ if (!(e instanceof HTMLElement)) return;
95
+ let t = [...e.children];
96
+ for (let e of t) X?.observe(e, G);
97
+ K.value = Y(t.filter((e) => !q(e))).join(" ");
98
+ }
99
+ return y(() => {
100
+ let e = V.value?.fieldRef;
101
+ e instanceof HTMLElement && (X = new MutationObserver(Z), X.observe(e, { childList: !0 })), Z();
102
+ }), v(() => X?.disconnect()), N({
103
+ fieldRef: s(() => V.value?.fieldRef),
104
+ helpDescribedBy: s(() => V.value?.helpDescribedBy)
105
+ }), (e, t) => (b(), c(w(o), {
106
+ id: w(F),
70
107
  ref: "field",
71
- class: h(["q-input-group", O.class]),
72
- for: O.for,
73
- label: O.label,
74
- "label-position": O.labelPosition,
75
- required: O.required,
76
- size: O.size,
77
- readonly: O.readonly,
78
- disabled: O.disabled,
79
- invalid: O.invalid,
108
+ class: h(["q-input-group", P.class]),
109
+ for: P.for,
110
+ label: P.label,
111
+ "label-position": P.labelPosition,
112
+ required: P.required,
113
+ size: P.size,
114
+ readonly: P.readonly,
115
+ disabled: P.disabled,
116
+ invalid: P.invalid,
80
117
  role: "group",
81
- "aria-labelledby": O.label ? A.value : void 0,
82
- help: O.help,
83
- "help-display": O.helpDisplay,
84
- icons: O.icons,
85
- texts: O.texts
118
+ "aria-labelledby": P.label ? I.value : void 0,
119
+ help: P.help,
120
+ "help-display": P.helpDisplay,
121
+ icons: P.icons,
122
+ texts: P.texts,
123
+ style: _(K.value ? { gridTemplateColumns: K.value } : void 0)
86
124
  }, d({
87
- "label.prepend": S(() => [v(e.$slots, "label.prepend")]),
88
- "label.append": S(() => [v(e.$slots, "label.append")]),
89
- default: S(({ describedBy: t, invalid: n }) => [
90
- O.prependIcon || b(i)(e.$slots.prepend) ? (_(), u("div", C, [O.prependIcon ? (_(), u("span", w, [f(b(r), g(m(O.prependIcon)), null, 16)])) : l("", !0), v(e.$slots, "prepend")])) : l("", !0),
91
- v(e.$slots, "default", {
125
+ "label.prepend": E(() => [S(e.$slots, "label.prepend")]),
126
+ "label.append": E(() => [S(e.$slots, "label.append")]),
127
+ default: E(({ describedBy: t, invalid: n }) => [
128
+ P.prependIcon || w(i)(e.$slots.prepend) ? (b(), u("div", D, [P.prependIcon ? (b(), u("span", O, [f(w(r), g(m(P.prependIcon)), null, 16)])) : l("", !0), S(e.$slots, "prepend")])) : l("", !0),
129
+ S(e.$slots, "default", {
92
130
  describedBy: t,
93
131
  invalid: n
94
132
  }),
95
- O.appendIcon || b(i)(e.$slots.append) ? (_(), u("div", T, [O.appendIcon ? (_(), u("span", E, [f(b(r), g(m(O.appendIcon)), null, 16)])) : l("", !0), v(e.$slots, "append")])) : l("", !0)
133
+ P.appendIcon || w(i)(e.$slots.append) ? (b(), u("div", k, [P.appendIcon ? (b(), u("span", A, [f(w(r), g(m(P.appendIcon)), null, 16)])) : l("", !0), S(e.$slots, "append")])) : l("", !0)
96
134
  ]),
97
135
  _: 2
98
136
  }, [
99
137
  e.$slots.errors ? {
100
138
  name: "errors",
101
- fn: S(() => [v(e.$slots, "errors")]),
139
+ fn: E(() => [S(e.$slots, "errors")]),
102
140
  key: "0"
103
141
  } : void 0,
104
142
  e.$slots.warnings ? {
105
143
  name: "warnings",
106
- fn: S(() => [v(e.$slots, "warnings")]),
144
+ fn: E(() => [S(e.$slots, "warnings")]),
107
145
  key: "1"
108
146
  } : void 0,
109
147
  e.$slots.extras ? {
110
148
  name: "extras",
111
- fn: S(() => [v(e.$slots, "extras")]),
149
+ fn: E(() => [S(e.$slots, "extras")]),
112
150
  key: "2"
113
151
  } : void 0
114
152
  ]), 1032, [
@@ -126,9 +164,10 @@ var C = {
126
164
  "help",
127
165
  "help-display",
128
166
  "icons",
129
- "texts"
167
+ "texts",
168
+ "style"
130
169
  ]));
131
170
  }
132
171
  });
133
172
  //#endregion
134
- export { D as default };
173
+ export { N as default };
@@ -1 +1 @@
1
- {"version":3,"file":"QLabel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QLabel/QLabel.vue"],"names":[],"mappings":"AAmBA;AA4DC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AA0BrC,iBAAS,cAAc;WAmDT,OAAO,IAA6B;;yBAbrB,GAAG;yBACH,GAAG;yBACH,GAAG;wBACJ,GAAG;;;;EAe9B;AAaD,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":"AAoBA;AA6DC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AA0BrC,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;yBAbrB,GAAG;yBACH,GAAG;yBACH,GAAG;wBACJ,GAAG;;;;EAe9B;AAaD,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"}
@@ -29,6 +29,7 @@ var g = ["id"], _ = ["id", "for"], v = /*@__PURE__*/ l({
29
29
  v.label || h(t)(e.$slots.default) ? (d(), s("label", {
30
30
  key: 0,
31
31
  id: b.value,
32
+ class: "q-label__text",
32
33
  for: v.for
33
34
  }, [f(e.$slots, "default", {}, () => [c(p(v.label), 1)])], 8, _)) : f(e.$slots, "default", { key: 1 }),
34
35
  f(e.$slots, "append"),
@@ -1 +1 @@
1
- {"version":3,"file":"QListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QListItem.vue"],"names":[],"mappings":"AA4EA;AAwPC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAU3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAMvC,KAAK,WAAW,GAAG,cAAc,CAAC;AA+JnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkJT,OAAO,IAA6B;;yBAbrB,GAAG;yBACH,GAAG;wBACH,GAAG;;;;;;EAgB/B;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;wCApWpB,oBA3EG;;;;iBAybF,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":"AA6EA;AAsQC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAU3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAMvC,KAAK,WAAW,GAAG,cAAc,CAAC;AA4KnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkJT,OAAO,IAA6B;;yBAbrB,GAAG;yBACH,GAAG;wBACH,GAAG;;;;;;EAgB/B;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;wCAjXpB,oBA9FQ;;;;iBAydP,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"}
@@ -22,7 +22,7 @@ var O = [
22
22
  key: 0,
23
23
  class: "q-list-item__description"
24
24
  }, P = ["id"], F = {
25
- key: 0,
25
+ key: 1,
26
26
  class: "q-list-item__check-container"
27
27
  }, I = { class: "q-checkbox__input" }, L = /*@__PURE__*/ d({
28
28
  __name: "QListItem",
@@ -56,14 +56,18 @@ var O = [
56
56
  let e = /^(\d*\.?\d+)%$/.exec(m.width.trim());
57
57
  return { "--q-list-item-width": e ? `calc(${e[1]}% - var(--q-list-grid-gap) * ${(100 - Number(e[1])) / 100})` : m.width };
58
58
  }), G = b(0), K = a(() => {
59
+ let e = m.selectable ? m.icons?.check?.size : void 0;
60
+ return e === void 0 ? void 0 : { "--q-list-item-check-icon-size": `${e}rem` };
61
+ }), q = a(() => {
59
62
  let e = G.value > 0 ? { "--q-option-label-overflow": `${G.value}px` } : void 0;
60
- if (!(!W.value && !e)) return {
63
+ if (!(!W.value && !K.value && !e)) return {
61
64
  ...W.value,
65
+ ...K.value,
62
66
  ...e
63
67
  };
64
- }), q = T("label");
65
- function J() {
66
- let e = q.value;
68
+ }), J = T("label");
69
+ function Y() {
70
+ let e = J.value;
67
71
  if (!e) return;
68
72
  let t = e.scrollWidth - e.clientWidth;
69
73
  G.value = t > 0 ? t : 0;
@@ -71,19 +75,19 @@ var O = [
71
75
  n && (G.value > 0 ? n.style.setProperty("--q-option-label-overflow", `${G.value}px`) : n.style.removeProperty("--q-option-label-overflow"));
72
76
  }
73
77
  E(() => m.highlighted, (e) => {
74
- e && J();
78
+ e && Y();
75
79
  }, { flush: "post" });
76
- let Y = b(!1);
77
- function X() {
80
+ let X = b(!1);
81
+ function Z() {
78
82
  if (!m.overflowTitle) return;
79
- let e = q.value;
80
- Y.value = !!e && e.scrollWidth > e.clientWidth;
83
+ let e = J.value;
84
+ X.value = !!e && e.scrollWidth > e.clientWidth;
81
85
  }
82
- function Z() {
86
+ function Q() {
83
87
  m.disabled || (L("click"), m.selectable && U?.toggle());
84
88
  }
85
- function Q(e) {
86
- e.key === "Tab" && !e.shiftKey && m.selectOnTab && !U?.isActive.value && Z(), (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), Z());
89
+ function $(e) {
90
+ e.key === "Tab" && !e.shiftKey && m.selectOnTab && !U?.isActive.value && Q(), (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), Q());
87
91
  }
88
92
  return E(U.isActive, (e) => {
89
93
  R.value = e;
@@ -98,31 +102,34 @@ var O = [
98
102
  "q-list-item--disabled": m.disabled,
99
103
  "q-list-item--highlighted": m.highlighted
100
104
  }]),
101
- style: v(K.value),
102
- title: m.overflowTitle && Y.value ? m.label : void 0,
105
+ style: v(q.value),
106
+ title: m.overflowTitle && X.value ? m.label : void 0,
103
107
  "aria-label": m.label,
104
108
  "aria-describedby": H.value,
105
109
  "aria-disabled": m.disabled || void 0,
106
110
  "aria-selected": C(z) === "option" && !m.disabled ? R.value : void 0,
107
- onKeydown: Q,
108
- onFocus: J,
109
- onMouseenter: X,
110
- onClick: D(Z, ["stop", "prevent"])
111
+ onKeydown: $,
112
+ onFocus: Y,
113
+ onMouseenter: Z,
114
+ onClick: D(Q, ["stop", "prevent"])
111
115
  }, [
112
116
  x(e.$slots, "prepend"),
113
- l("div", k, [l("div", A, [x(e.$slots, "default", {}, () => [m.icon ? (y(), o(C(n), h({ key: 0 }, m.icon, { class: "q-list-item__icon" }), null, 16)) : s("", !0), l("span", j, [l("span", M, S(m.label), 1)], 512)])]), m.description ? (y(), c("div", N, [u(C(n), _(f(m.icons.description)), null, 16), l("span", { id: V.value }, S(m.description), 9, P)])) : s("", !0)]),
114
- x(e.$slots, "append"),
115
- m.selectable ? (y(), c("div", F, [m.checkboxless && R.value ? (y(), o(C(n), h({ key: 0 }, m.icons.check, {
116
- class: "q-list-item__check",
117
- "aria-hidden": "true"
118
- }), null, 16)) : m.checkboxless ? s("", !0) : (y(), c("span", {
119
- key: 1,
120
- "aria-hidden": "true",
121
- class: g(["q-checkbox q-checkbox--small", {
122
- "q-checkbox--checked": R.value,
123
- "q-checkbox--disabled": m.disabled
124
- }])
125
- }, [l("span", I, [R.value ? (y(), o(C(n), h({ key: 0 }, m.icons.check, { class: "q-checkbox__input-icon" }), null, 16)) : s("", !0)])], 2))])) : s("", !0)
117
+ l("div", k, [
118
+ l("div", A, [x(e.$slots, "default", {}, () => [m.icon ? (y(), o(C(n), h({ key: 0 }, m.icon, { class: "q-list-item__icon" }), null, 16)) : s("", !0), l("span", j, [l("span", M, S(m.label), 1)], 512)])]),
119
+ m.description ? (y(), c("div", N, [u(C(n), _(f(m.icons.description)), null, 16), l("span", { id: V.value }, S(m.description), 9, P)])) : s("", !0),
120
+ m.selectable ? (y(), c("div", F, [m.checkboxless && R.value ? (y(), o(C(n), h({ key: 0 }, m.icons.check, {
121
+ class: "q-list-item__check",
122
+ "aria-hidden": "true"
123
+ }), null, 16)) : m.checkboxless ? s("", !0) : (y(), c("span", {
124
+ key: 1,
125
+ "aria-hidden": "true",
126
+ class: g(["q-checkbox q-checkbox--small", {
127
+ "q-checkbox--checked": R.value,
128
+ "q-checkbox--disabled": m.disabled
129
+ }])
130
+ }, [l("span", I, [R.value ? (y(), o(C(n), h({ key: 0 }, m.icons.check, { class: "q-checkbox__input-icon" }), null, 16)) : s("", !0)])], 2))])) : s("", !0)
131
+ ]),
132
+ x(e.$slots, "append")
126
133
  ], 46, O));
127
134
  }
128
135
  });
@@ -15,6 +15,9 @@ export type QMeterProps = Omit<QLabelProps, 'label'> & {
15
15
  /**
16
16
  * Label to display next to the meter value.
17
17
  *
18
+ * In a right-to-left page, the text reads in the direction of its first letter: Arabic or Hebrew
19
+ * right to left, and a text with no letter, such as `-20%`, left to right, as written.
20
+ *
18
21
  * @category Content
19
22
  */
20
23
  valueLabel?: string | ((value: number, max: number) => string);
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QMeter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,GAAG;IACtD;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,CAAA;IAE9D;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QMeter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,GAAG;IACtD;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,CAAA;IAE9D;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"QOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/QOverlay.vue"],"names":[],"mappings":"AA4EA;AA4vBC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,GAAG,CAAA;AA0BtC,KAAK,WAAW,GAAG,aAAa,CAAC;AA0oBlC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA2LT,OAAO,IAA6B;;yBAfpB,GAAG;;;;;;;;;EAoBhC;AAiCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;OASnB,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":"QOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/QOverlay.vue"],"names":[],"mappings":"AA4EA;AAkwBC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,GAAG,CAAA;AA0BtC,KAAK,WAAW,GAAG,aAAa,CAAC;AA8oBlC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA2LT,OAAO,IAA6B;;yBAfpB,GAAG;;;;;;;;;EAoBhC;AAiCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;OASnB,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"}