@quidgest/ui 0.15.2 → 0.15.4

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 (123) hide show
  1. package/dist/manifest/components.json +4 -0
  2. package/dist/ui.css +111 -6
  3. package/dist/ui.esm.js +6988 -5987
  4. package/dist/ui.js +33 -26
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +1141 -990
  7. package/dist/ui.scss +119 -9
  8. package/esm/components/QCombobox/QCombobox.d.ts +18 -14
  9. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  10. package/esm/components/QCombobox/QCombobox.vue.js +1 -1
  11. package/esm/components/QCombobox/index.d.ts +29 -17
  12. package/esm/components/QCombobox/index.d.ts.map +1 -1
  13. package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +1 -1
  14. package/esm/components/QDateTimePicker/index.d.ts +3 -0
  15. package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
  16. package/esm/components/QDialog/QDialog.d.ts +2 -2
  17. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  18. package/esm/components/QDialog/QDialog.vue.js +51 -50
  19. package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts +35 -0
  20. package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts.map +1 -0
  21. package/esm/components/QDismissibleLayer/QDismissibleLayer.vue.js +50 -0
  22. package/esm/components/QDismissibleLayer/QDismissibleLayer.vue2.js +4 -0
  23. package/esm/components/QDismissibleLayer/index.d.ts +53 -0
  24. package/esm/components/QDismissibleLayer/index.d.ts.map +1 -0
  25. package/esm/components/QDismissibleLayer/index.js +6 -0
  26. package/esm/components/QDismissibleLayer/types.d.ts +25 -0
  27. package/esm/components/QDismissibleLayer/types.d.ts.map +1 -0
  28. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +0 -4
  29. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  30. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +10 -15
  31. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +10 -15
  32. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  33. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +72 -117
  34. package/esm/components/QDropdownMenu/index.d.ts +0 -3
  35. package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
  36. package/esm/components/QField/QField.d.ts.map +1 -1
  37. package/esm/components/QField/QField.vue.js +11 -10
  38. package/esm/components/QFileUpload/QFileUpload.vue.js +1 -1
  39. package/esm/components/QFileUpload/index.d.ts +3 -0
  40. package/esm/components/QFileUpload/index.d.ts.map +1 -1
  41. package/esm/components/QFocusTrap/QFocusTrap.d.ts +28 -0
  42. package/esm/components/QFocusTrap/QFocusTrap.d.ts.map +1 -0
  43. package/esm/components/QFocusTrap/QFocusTrap.vue.js +32 -0
  44. package/esm/components/QFocusTrap/QFocusTrap.vue2.js +4 -0
  45. package/esm/components/QFocusTrap/index.d.ts +38 -0
  46. package/esm/components/QFocusTrap/index.d.ts.map +1 -0
  47. package/esm/components/QFocusTrap/index.js +6 -0
  48. package/esm/components/QFocusTrap/types.d.ts +6 -0
  49. package/esm/components/QFocusTrap/types.d.ts.map +1 -0
  50. package/esm/components/QInputGroup/QInputGroup.vue.js +1 -1
  51. package/esm/components/QLabel/QLabel.d.ts +1 -0
  52. package/esm/components/QLabel/QLabel.d.ts.map +1 -1
  53. package/esm/components/QLabel/QLabel.vue.js +28 -13
  54. package/esm/components/QLabel/index.d.ts +1 -0
  55. package/esm/components/QLabel/index.d.ts.map +1 -1
  56. package/esm/components/QLabel/types.d.ts +5 -0
  57. package/esm/components/QLabel/types.d.ts.map +1 -1
  58. package/esm/components/QList/QList.d.ts +0 -9
  59. package/esm/components/QList/QList.d.ts.map +1 -1
  60. package/esm/components/QList/QList.vue.js +97 -82
  61. package/esm/components/QList/index.d.ts +0 -3
  62. package/esm/components/QList/index.d.ts.map +1 -1
  63. package/esm/components/QMeter/QMeter.vue.js +14 -13
  64. package/esm/components/QMeter/index.d.ts +2 -0
  65. package/esm/components/QMeter/index.d.ts.map +1 -1
  66. package/esm/components/QOverlay/QOverlay.d.ts +2 -0
  67. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  68. package/esm/components/QOverlay/QOverlay.vue.js +197 -148
  69. package/esm/components/QOverlay/index.d.ts +4 -0
  70. package/esm/components/QOverlay/index.d.ts.map +1 -1
  71. package/esm/components/QOverlay/types.d.ts +6 -1
  72. package/esm/components/QOverlay/types.d.ts.map +1 -1
  73. package/esm/components/QPasswordField/QPasswordField.d.ts +8 -4
  74. package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
  75. package/esm/components/QPasswordField/QPasswordField.vue.js +1 -1
  76. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +6 -5
  77. package/esm/components/QPasswordField/index.d.ts +4 -2
  78. package/esm/components/QPasswordField/index.d.ts.map +1 -1
  79. package/esm/components/QPropertyList/QPropertyList.vue.js +23 -23
  80. package/esm/components/QPropertyList/QPropertyListRow.d.ts +6 -2
  81. package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
  82. package/esm/components/QPropertyList/QPropertyListRow.vue.js +20 -20
  83. package/esm/components/QPropertyList/index.d.ts +9 -2
  84. package/esm/components/QPropertyList/index.d.ts.map +1 -1
  85. package/esm/components/QRadioGroup/QRadioButton.d.ts +24 -0
  86. package/esm/components/QRadioGroup/QRadioButton.d.ts.map +1 -0
  87. package/esm/components/QRadioGroup/QRadioButton.vue.js +78 -0
  88. package/esm/components/QRadioGroup/QRadioButton.vue2.js +4 -0
  89. package/esm/components/QRadioGroup/QRadioGroup.d.ts +32 -0
  90. package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -0
  91. package/esm/components/QRadioGroup/QRadioGroup.vue.js +79 -0
  92. package/esm/components/QRadioGroup/QRadioGroup.vue2.js +4 -0
  93. package/esm/components/QRadioGroup/index.d.ts +108 -0
  94. package/esm/components/QRadioGroup/index.d.ts.map +1 -0
  95. package/esm/components/QRadioGroup/index.js +8 -0
  96. package/esm/components/QRadioGroup/types.d.ts +65 -0
  97. package/esm/components/QRadioGroup/types.d.ts.map +1 -0
  98. package/esm/components/QSelect/QSelect.d.ts +4 -8
  99. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  100. package/esm/components/QSelect/QSelect.vue.js +107 -126
  101. package/esm/components/QSelect/index.d.ts +5 -4
  102. package/esm/components/QSelect/index.d.ts.map +1 -1
  103. package/esm/components/QTextArea/QTextArea.vue.js +1 -1
  104. package/esm/components/QTextArea/index.d.ts +3 -0
  105. package/esm/components/QTextArea/index.d.ts.map +1 -1
  106. package/esm/components/QTextField/QTextField.d.ts +2 -2
  107. package/esm/components/QTextField/QTextField.vue.js +1 -1
  108. package/esm/components/QTextField/index.d.ts +4 -1
  109. package/esm/components/QTextField/index.d.ts.map +1 -1
  110. package/esm/components/index.d.ts +3 -0
  111. package/esm/components/index.d.ts.map +1 -1
  112. package/esm/components/index.js +67 -60
  113. package/esm/composables/group.d.ts.map +1 -1
  114. package/esm/composables/group.js +1 -1
  115. package/esm/index.d.ts +4 -0
  116. package/esm/utils/merge.d.ts.map +1 -1
  117. package/esm/utils/merge.js +12 -16
  118. package/esm/vendors/@vueuse/core/index.js +173 -67
  119. package/esm/vendors/@vueuse/integrations/useFocusTrap/component.js +24 -0
  120. package/esm/vendors/@vueuse/shared/index.js +36 -15
  121. package/esm/vendors/focus-trap/dist/focus-trap.esm.js +473 -0
  122. package/esm/vendors/tabbable/dist/index.esm.js +202 -0
  123. package/package.json +3 -1
@@ -1 +1 @@
1
- {"version":3,"file":"QDropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenuContent.vue"],"names":[],"mappings":"AAsDA;AAmNC,OAAO,KAAK,EAAE,yBAAyB,EAA0B,MAAM,SAAS,CAAA;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAGlD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAGvC,KAAK,WAAW,GAAG,yBAAyB,CAAC;AA2J9C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA0IT,OAAO,IAA6B;;;;YAbvB,GAAG;;;YACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAwEi+S,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAvD7nT;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA+Bm/S,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OArB5nT,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":"QDropdownMenuContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenuContent.vue"],"names":[],"mappings":"AAiDA;AAkIC,OAAO,KAAK,EAAE,yBAAyB,EAA0B,MAAM,SAAS,CAAA;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAGlD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAiB,QAAQ,EAAE,MAAM,KAAK,CAAA;AAE7C,KAAK,WAAW,GAAG,yBAAyB,CAAC;AA8E9C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WA8HT,OAAO,IAA6B;;;;YAZvB,GAAG;;;YACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAmE61a,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAnDz/a;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA+B+2a,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OArBx/a,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,158 +1,113 @@
1
- import { defineComponent as T, mergeModels as h, useModel as N, ref as i, computed as y, createBlock as R, openBlock as w, unref as k, normalizeClass as S, withCtx as f, createElementVNode as U, withModifiers as $, createVNode as q, renderSlot as _, createElementBlock as A, createCommentVNode as F, toDisplayString as Q } from "vue";
2
- import { QList as z } from "../QList/index.js";
3
- import { QOverlay as K } from "../QOverlay/index.js";
4
- import { DEFAULT_ICONS as H } from "./types.js";
5
- const P = {
1
+ import { defineComponent as S, mergeModels as x, useModel as f, ref as c, computed as m, createBlock as B, openBlock as p, unref as g, normalizeClass as C, withCtx as n, createElementVNode as w, createVNode as L, renderSlot as v, createElementBlock as M, createCommentVNode as N, toDisplayString as O, nextTick as E } from "vue";
2
+ import { QList as I } from "../QList/index.js";
3
+ import { QOverlay as q } from "../QOverlay/index.js";
4
+ import { DEFAULT_ICONS as D } from "./types.js";
5
+ const Q = {
6
+ class: "q-dropdown-menu__body",
7
+ "data-testid": "dropdown-content",
8
+ tabindex: "-1"
9
+ }, U = {
6
10
  key: 0,
7
11
  class: "q-dropdown-menu__extra"
8
- }, X = /* @__PURE__ */ T({
12
+ }, A = /* @__PURE__ */ S({
9
13
  __name: "QDropdownMenuContent",
10
- props: /* @__PURE__ */ h({
14
+ props: /* @__PURE__ */ x({
11
15
  id: {},
12
16
  class: {},
13
17
  activator: {},
14
18
  appearance: { default: "regular" },
15
19
  inline: { type: Boolean },
16
20
  delay: { default: 500 },
17
- placement: { default: "right-start" },
21
+ placement: { default: "bottom-start" },
18
22
  transition: { default: "fade" },
19
23
  items: {},
20
24
  groups: { default: () => [] },
21
25
  itemValue: { default: "key" },
22
26
  itemLabel: { default: "label" },
23
- icons: { default: () => H },
27
+ icons: { default: () => D },
24
28
  trigger: { default: "click" },
25
29
  offset: { default: 0 },
26
30
  crossOffset: { default: -5 },
27
31
  depth: { default: 0 }
28
32
  }, {
29
33
  modelValue: { type: Boolean },
30
- modelModifiers: {}
34
+ modelModifiers: {},
35
+ selected: { type: [String, Number, Boolean, Symbol] },
36
+ selectedModifiers: {}
31
37
  }),
32
- emits: /* @__PURE__ */ h(["select"], ["update:modelValue"]),
33
- setup(c, { emit: b }) {
34
- const e = c, L = b, a = N(c, "modelValue"), r = i(void 0), m = i([]), u = i(""), V = y(() => e.depth !== 0 ? e.offset : 4), C = y(() => e.depth !== 0 ? e.crossOffset : void 0);
35
- let p;
36
- const d = i(null), v = i(null);
37
- function E(t) {
38
- var n;
39
- r.value = t;
40
- const o = (n = e.items) == null ? void 0 : n.find((l) => l[e.itemValue] === t);
41
- o && (m.value = (o == null ? void 0 : o.items) ?? []), m.value.length || (L("select", t), r.value = void 0, s());
38
+ emits: ["update:modelValue", "update:selected"],
39
+ setup(l) {
40
+ const e = l, s = f(l, "modelValue"), i = f(l, "selected"), d = c([]), h = m(() => e.depth !== 0 ? e.offset : 4), y = m(() => e.depth !== 0 ? e.crossOffset : void 0), r = c(null);
41
+ function b(o) {
42
+ var u;
43
+ const a = (u = e.items) == null ? void 0 : u.find((k) => k[e.itemValue] === o);
44
+ d.value = (a == null ? void 0 : a.items) ?? [];
45
+ const t = d.value.length > 0;
46
+ i.value = t ? o : void 0, t || V();
42
47
  }
43
- function I() {
44
- a.value || (a.value = !0);
48
+ function V() {
49
+ s.value = !1;
45
50
  }
46
- function s() {
47
- a.value && (a.value = !1);
51
+ function _() {
52
+ E(() => {
53
+ var o;
54
+ return (o = r.value) == null ? void 0 : o.$el.focus();
55
+ });
48
56
  }
49
- function D() {
50
- a.value ? s() : I();
51
- }
52
- function O(t) {
53
- var o;
54
- if (t.key) {
55
- if (window.clearTimeout(p), ["Escape", "Tab", "Delete"].includes(t.key)) {
56
- s();
57
- return;
58
- }
59
- if (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(t.key) && (t.preventDefault(), t.stopPropagation()), /^[a-z]$/i.test(t.key)) {
60
- u.value += t.key.toLowerCase();
61
- const n = ((o = e.items) == null ? void 0 : o.length) || 0;
62
- for (let l = 0; l < n; l++) {
63
- const g = e.items[l];
64
- if (g[e.itemLabel] && g[e.itemLabel].toLowerCase().startsWith(u.value)) {
65
- M(l);
66
- break;
67
- }
68
- }
69
- }
70
- p = window.setTimeout(function() {
71
- u.value = "";
72
- }, 500);
73
- }
74
- }
75
- function x(t) {
76
- var o;
77
- (o = v.value) != null && o.contains(t.relatedTarget) || s();
78
- }
79
- function B() {
80
- var t;
81
- (t = d.value) == null || t.$el.focus();
82
- }
83
- function M(t) {
84
- var o;
85
- (o = d.value) == null || o.focusItem(t);
86
- }
87
- return (t, o) => (w(), R(k(K), {
57
+ return (o, a) => (p(), B(g(q), {
88
58
  id: e.id,
89
- "model-value": a.value,
59
+ modelValue: s.value,
60
+ "onUpdate:modelValue": a[0] || (a[0] = (t) => s.value = t),
90
61
  anchor: e.activator,
91
62
  appearance: e.appearance,
92
63
  inline: e.inline,
93
64
  delay: e.delay,
94
- offset: V.value,
95
- "cross-offset": C.value,
65
+ offset: h.value,
66
+ "cross-offset": y.value,
96
67
  placement: e.placement,
97
68
  transition: e.transition,
98
- class: S(e.class),
69
+ class: C(e.class),
99
70
  trigger: e.trigger,
100
71
  "scroll-lock": "",
101
- persistent: "",
102
- "onUpdate:modelValue": D,
103
- onEnter: B
72
+ onEnter: _
104
73
  }, {
105
- default: f(() => [
106
- U(
107
- "div",
108
- {
109
- ref_key: "contentRef",
110
- ref: v,
111
- class: "q-dropdown-menu__body",
112
- "data-testid": "dropdown-content",
113
- tabindex: "-1",
114
- onFocusout: x,
115
- onKeydown: $(O, ["stop"])
116
- },
117
- [
118
- q(k(z), {
119
- ref_key: "listRef",
120
- ref: d,
121
- class: "q-dropdown-menu__items",
122
- highlighted: r.value,
123
- items: e.items,
124
- groups: e.groups,
125
- "item-label": e.itemLabel,
126
- "item-value": e.itemValue,
127
- "onUpdate:modelValue": E
128
- }, {
129
- item: f(({ item: n }) => [
130
- _(t.$slots, "item", { item: n })
131
- ]),
132
- "item.append": f(({ item: n }) => [
133
- _(t.$slots, "item.append", { item: n }, () => [
134
- n.extraInfo ? (w(), A(
135
- "span",
136
- P,
137
- Q(n.extraInfo),
138
- 1
139
- /* TEXT */
140
- )) : F("v-if", !0)
141
- ])
142
- ]),
143
- _: 3
144
- /* FORWARDED */
145
- }, 8, ["highlighted", "items", "groups", "item-label", "item-value"])
146
- ],
147
- 544
148
- /* NEED_HYDRATION, NEED_PATCH */
149
- )
74
+ default: n(() => [
75
+ w("div", Q, [
76
+ L(g(I), {
77
+ ref_key: "listRef",
78
+ ref: r,
79
+ class: "q-dropdown-menu__items",
80
+ highlighted: i.value,
81
+ items: e.items,
82
+ groups: e.groups,
83
+ "item-label": e.itemLabel,
84
+ "item-value": e.itemValue,
85
+ "onUpdate:modelValue": b
86
+ }, {
87
+ item: n(({ item: t }) => [
88
+ v(o.$slots, "item", { item: t })
89
+ ]),
90
+ "item.append": n(({ item: t }) => [
91
+ v(o.$slots, "item.append", { item: t }, () => [
92
+ t.extraInfo ? (p(), M(
93
+ "span",
94
+ U,
95
+ O(t.extraInfo),
96
+ 1
97
+ /* TEXT */
98
+ )) : N("v-if", !0)
99
+ ])
100
+ ]),
101
+ _: 3
102
+ /* FORWARDED */
103
+ }, 8, ["highlighted", "items", "groups", "item-label", "item-value"])
104
+ ])
150
105
  ]),
151
106
  _: 3
152
107
  /* FORWARDED */
153
- }, 8, ["id", "model-value", "anchor", "appearance", "inline", "delay", "offset", "cross-offset", "placement", "transition", "class", "trigger"]));
108
+ }, 8, ["id", "modelValue", "anchor", "appearance", "inline", "delay", "offset", "cross-offset", "placement", "transition", "class", "trigger"]));
154
109
  }
155
110
  });
156
111
  export {
157
- X as default
112
+ A as default
158
113
  };
@@ -14,8 +14,6 @@ declare const QDropdownMenu: import('vue').DefineComponent<{
14
14
  icons?: typeof import('./types').DEFAULT_ICONS;
15
15
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
16
  "update:modelValue": (value: boolean) => any;
17
- } & {
18
- select: (item: import('../../types/primitive').Primitive | undefined) => any;
19
17
  }, string, import('vue').PublicProps, Readonly<{
20
18
  modelValue?: boolean;
21
19
  } & import('../../types/component').QBaseComponentProps & {
@@ -31,7 +29,6 @@ declare const QDropdownMenu: import('vue').DefineComponent<{
31
29
  itemLabel?: string;
32
30
  icons?: typeof import('./types').DEFAULT_ICONS;
33
31
  }> & Readonly<{
34
- onSelect?: ((item: import('../../types/primitive').Primitive | undefined) => any) | undefined;
35
32
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
36
33
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
34
  export { QDropdownMenu };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAAkC,CAAA;AAGrD,OAAO,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAAkC,CAAA;AAGrD,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"QField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QField/QField.vue"],"names":[],"mappings":"AAyCA;AAwFC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AA4C3C,iBAAS,cAAc;WA4FT,OAAO,IAA6B;;iCAlBb,GAAG;gCACJ,GAAG;yBACV,GAAG;yBACH,GAAG;yBACF,GAAG;wBACJ,GAAG;wBACH,GAAG;;;;;;EAiB/B;AAYD,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":"QField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QField/QField.vue"],"names":[],"mappings":"AA0CA;AAyFC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AA4C3C,iBAAS,cAAc;WA8FT,OAAO,IAA6B;;iCAlBb,GAAG;gCACJ,GAAG;yBACV,GAAG;yBACH,GAAG;yBACF,GAAG;wBACJ,GAAG;wBACH,GAAG;;;;;;EAiB/B;AAYD,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,4 +1,4 @@
1
- import { defineComponent as u, ref as m, computed as r, createElementBlock as o, openBlock as d, normalizeClass as q, createBlock as _, createCommentVNode as a, renderSlot as s, unref as v, withCtx as t, createElementVNode as b, mergeProps as y } from "vue";
1
+ import { defineComponent as c, ref as q, computed as a, createElementBlock as o, openBlock as d, normalizeClass as m, createBlock as _, createCommentVNode as r, renderSlot as s, unref as v, withCtx as t, createElementVNode as b, mergeProps as y } from "vue";
2
2
  import { QLabel as $ } from "../QLabel/index.js";
3
3
  const k = ["id"], h = {
4
4
  key: 0,
@@ -9,7 +9,7 @@ const k = ["id"], h = {
9
9
  }, C = {
10
10
  key: 1,
11
11
  class: "q-field__extras"
12
- }, N = /* @__PURE__ */ u({
12
+ }, N = /* @__PURE__ */ c({
13
13
  inheritAttrs: !1,
14
14
  __name: "QField",
15
15
  props: {
@@ -17,14 +17,14 @@ const k = ["id"], h = {
17
17
  class: {},
18
18
  label: {},
19
19
  for: {},
20
+ required: { type: Boolean },
20
21
  size: { default: "medium" },
21
22
  readonly: { type: Boolean },
22
23
  disabled: { type: Boolean },
23
- required: { type: Boolean },
24
24
  invalid: { type: Boolean }
25
25
  },
26
26
  setup(n, { expose: p }) {
27
- const e = n, i = m(null), f = r(() => e.required && !e.readonly && !e.disabled), c = r(() => [
27
+ const e = n, i = q(null), f = a(() => e.required && !e.readonly && !e.disabled), u = a(() => [
28
28
  "q-field",
29
29
  `q-field--${e.size}`,
30
30
  {
@@ -39,13 +39,14 @@ const k = ["id"], h = {
39
39
  fieldRef: i
40
40
  }), (l, z) => (d(), o("div", {
41
41
  id: e.id,
42
- class: q(c.value)
42
+ class: m(u.value)
43
43
  }, [
44
44
  e.label ? (d(), _(v($), {
45
45
  key: 0,
46
46
  class: "q-field__label",
47
47
  label: e.label,
48
- for: e.for
48
+ for: e.for,
49
+ required: e.required
49
50
  }, {
50
51
  prepend: t(() => [
51
52
  s(l.$slots, "label.prepend")
@@ -55,7 +56,7 @@ const k = ["id"], h = {
55
56
  ]),
56
57
  _: 3
57
58
  /* FORWARDED */
58
- }, 8, ["label", "for"])) : a("v-if", !0),
59
+ }, 8, ["label", "for", "required"])) : r("v-if", !0),
59
60
  s(l.$slots, "control", {}, () => [
60
61
  b(
61
62
  "div",
@@ -67,11 +68,11 @@ const k = ["id"], h = {
67
68
  [
68
69
  l.$slots.prepend ? (d(), o("div", h, [
69
70
  s(l.$slots, "prepend")
70
- ])) : a("v-if", !0),
71
+ ])) : r("v-if", !0),
71
72
  s(l.$slots, "default"),
72
73
  l.$slots.append ? (d(), o("div", B, [
73
74
  s(l.$slots, "append")
74
- ])) : a("v-if", !0)
75
+ ])) : r("v-if", !0)
75
76
  ],
76
77
  16
77
78
  /* FULL_PROPS */
@@ -79,7 +80,7 @@ const k = ["id"], h = {
79
80
  ]),
80
81
  l.$slots.extras ? (d(), o("div", C, [
81
82
  s(l.$slots, "extras")
82
- ])) : a("v-if", !0)
83
+ ])) : r("v-if", !0)
83
84
  ], 10, k));
84
85
  }
85
86
  });
@@ -29,10 +29,10 @@ const K = ["id", "accept", "required", "readonly", "disabled"], Y = {
29
29
  class: {},
30
30
  label: {},
31
31
  for: {},
32
+ required: { type: Boolean },
32
33
  size: { default: "large" },
33
34
  readonly: { type: Boolean },
34
35
  disabled: { type: Boolean },
35
- required: { type: Boolean },
36
36
  invalid: { type: Boolean },
37
37
  accept: {},
38
38
  icons: { default: () => H },
@@ -5,6 +5,7 @@ declare const QFileUpload: {
5
5
  } & import('../../types/component').QBaseComponentProps & {
6
6
  label?: string;
7
7
  for?: string;
8
+ required?: boolean;
8
9
  } & {
9
10
  size?: import('..').QFieldSize;
10
11
  readonly?: boolean;
@@ -38,6 +39,7 @@ declare const QFileUpload: {
38
39
  } & import('../../types/component').QBaseComponentProps & {
39
40
  label?: string;
40
41
  for?: string;
42
+ required?: boolean;
41
43
  } & {
42
44
  size?: import('..').QFieldSize;
43
45
  readonly?: boolean;
@@ -63,6 +65,7 @@ declare const QFileUpload: {
63
65
  } & import('../../types/component').QBaseComponentProps & {
64
66
  label?: string;
65
67
  for?: string;
68
+ required?: boolean;
66
69
  } & {
67
70
  size?: import('..').QFieldSize;
68
71
  readonly?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QFileUpload/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAK/C,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgC,CAAA;AAGjD,OAAO,EAAE,WAAW,EAAE,CAAA;AAGtB,YAAY,EAAE,gBAAgB,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QFileUpload/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAK/C,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgC,CAAA;AAGjD,OAAO,EAAE,WAAW,EAAE,CAAA;AAGtB,YAAY,EAAE,gBAAgB,EAAE,CAAA"}
@@ -0,0 +1,28 @@
1
+ import { QFocusTrapProps } from './types';
2
+ type __VLS_Props = QFocusTrapProps;
3
+ type __VLS_PublicProps = {
4
+ 'disabled'?: boolean;
5
+ } & __VLS_Props;
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ default?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: any;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ "update:disabled": (value: boolean) => any;
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
+ "onUpdate:disabled"?: ((value: boolean) => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ export default _default;
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
28
+ //# sourceMappingURL=QFocusTrap.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QFocusTrap.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QFocusTrap/QFocusTrap.vue"],"names":[],"mappings":"AAQA;AA0BC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,KAAK,WAAW,GAAG,eAAe,CAAC;AAQpC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAsCT,OAAO,IAA6B;;yBAXrB,GAAG;yBACH,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { defineComponent as a, mergeModels as d, useModel as l, renderSlot as s, createBlock as n, openBlock as i, unref as p, normalizeProps as u, mergeProps as m, withCtx as c } from "vue";
2
+ import { UseFocusTrap as f } from "../../vendors/@vueuse/integrations/useFocusTrap/component.js";
3
+ const B = /* @__PURE__ */ a({
4
+ __name: "QFocusTrap",
5
+ props: /* @__PURE__ */ d({
6
+ options: {},
7
+ as: {}
8
+ }, {
9
+ disabled: { type: Boolean },
10
+ disabledModifiers: {}
11
+ }),
12
+ emits: ["update:disabled"],
13
+ setup(e) {
14
+ const t = e, r = l(e, "disabled");
15
+ return (o, b) => r.value ? s(o.$slots, "default", { key: 0 }) : (i(), n(
16
+ p(f),
17
+ u(m({ key: 1 }, t)),
18
+ {
19
+ default: c(() => [
20
+ s(o.$slots, "default")
21
+ ]),
22
+ _: 3
23
+ /* FORWARDED */
24
+ },
25
+ 16
26
+ /* FULL_PROPS */
27
+ ));
28
+ }
29
+ });
30
+ export {
31
+ B as default
32
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./QFocusTrap.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,38 @@
1
+ import { QFocusTrapProps } from './types';
2
+ declare const QFocusTrap: {
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
4
+ disabled?: boolean;
5
+ } & import('@vueuse/integrations/useFocusTrap/component.mjs').ComponentUseFocusTrapOptions> & Readonly<{
6
+ "onUpdate:disabled"?: ((value: boolean) => any) | undefined;
7
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:disabled": (value: boolean) => any;
9
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
10
+ P: {};
11
+ B: {};
12
+ D: {};
13
+ C: {};
14
+ M: {};
15
+ Defaults: {};
16
+ }, Readonly<{
17
+ disabled?: boolean;
18
+ } & import('@vueuse/integrations/useFocusTrap/component.mjs').ComponentUseFocusTrapOptions> & Readonly<{
19
+ "onUpdate:disabled"?: ((value: boolean) => any) | undefined;
20
+ }>, {}, {}, {}, {}, {}>;
21
+ __isFragment?: never;
22
+ __isTeleport?: never;
23
+ __isSuspense?: never;
24
+ } & import('vue').ComponentOptionsBase<Readonly<{
25
+ disabled?: boolean;
26
+ } & import('@vueuse/integrations/useFocusTrap/component.mjs').ComponentUseFocusTrapOptions> & Readonly<{
27
+ "onUpdate:disabled"?: ((value: boolean) => any) | undefined;
28
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
+ "update:disabled": (value: boolean) => any;
30
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
31
+ $slots: {
32
+ default?(_: {}): any;
33
+ default?(_: {}): any;
34
+ };
35
+ });
36
+ export { QFocusTrap };
37
+ export type { QFocusTrapProps };
38
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QFocusTrap/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAK9C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+B,CAAA;AAG/C,OAAO,EAAE,UAAU,EAAE,CAAA;AAGrB,YAAY,EAAE,eAAe,EAAE,CAAA"}
@@ -0,0 +1,6 @@
1
+ import o from "./QFocusTrap.vue.js";
2
+ import { setupPropsProxy as r } from "../../utils/setupPropsProxy.js";
3
+ const s = r(o);
4
+ export {
5
+ s as QFocusTrap
6
+ };
@@ -0,0 +1,6 @@
1
+ import { ComponentUseFocusTrapOptions } from '@vueuse/integrations/useFocusTrap/component';
2
+ /**
3
+ * Props for the QFocusTrap component.
4
+ */
5
+ export type QFocusTrapProps = ComponentUseFocusTrapOptions;
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QFocusTrap/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAA;AAE/F;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,4BAA4B,CAAA"}
@@ -15,10 +15,10 @@ const _ = {
15
15
  class: {},
16
16
  label: {},
17
17
  for: {},
18
+ required: { type: Boolean },
18
19
  size: { default: "large" },
19
20
  readonly: { type: Boolean },
20
21
  disabled: { type: Boolean },
21
- required: { type: Boolean },
22
22
  invalid: { type: Boolean },
23
23
  prependIcon: {},
24
24
  appendIcon: {}
@@ -3,6 +3,7 @@ declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
5
5
  prepend?(_: {}): any;
6
+ default?(_: {}): any;
6
7
  append?(_: {}): any;
7
8
  };
8
9
  refs: {};
@@ -1 +1 @@
1
- {"version":3,"file":"QLabel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QLabel/QLabel.vue"],"names":[],"mappings":"AAaA;AA2BC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAW3C,iBAAS,cAAc;WAiCT,OAAO,IAA6B;;yBAZrB,GAAG;wBACJ,GAAG;;;;EAgB9B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,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":"AAeA;AA0CC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAwB3C,iBAAS,cAAc;WAmCT,OAAO,IAA6B;;yBAbrB,GAAG;yBACH,GAAG;wBACJ,GAAG;;;;EAgB9B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,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,27 +1,42 @@
1
- import { defineComponent as t, createElementBlock as l, openBlock as a, normalizeClass as n, renderSlot as o, createElementVNode as i, mergeProps as p, toDisplayString as d } from "vue";
2
- const c = ["id"], f = ["for"], b = /* @__PURE__ */ t({
1
+ import { defineComponent as l, computed as a, createElementBlock as n, openBlock as d, normalizeClass as i, renderSlot as s, createElementVNode as p, mergeProps as c, createTextVNode as u, toDisplayString as f } from "vue";
2
+ const m = ["id"], b = ["for"], h = /* @__PURE__ */ l({
3
3
  inheritAttrs: !1,
4
4
  __name: "QLabel",
5
5
  props: {
6
6
  id: {},
7
7
  class: {},
8
8
  label: {},
9
- for: {}
9
+ for: {},
10
+ required: { type: Boolean }
10
11
  },
11
- setup(r) {
12
- const e = r;
13
- return (s, m) => (a(), l("div", {
12
+ setup(o) {
13
+ const e = o, t = a(() => [
14
+ "q-label",
15
+ {
16
+ "q-label--required": e.required
17
+ },
18
+ e.class
19
+ ]);
20
+ return (r, _) => (d(), n("div", {
14
21
  id: e.id,
15
- class: n(["q-label", e.class])
22
+ class: i(t.value)
16
23
  }, [
17
- o(s.$slots, "prepend"),
18
- i("label", p({
24
+ s(r.$slots, "prepend"),
25
+ p("label", c({
19
26
  for: e.for
20
- }, s.$attrs), d(e.label), 17, f),
21
- o(s.$slots, "append")
22
- ], 10, c));
27
+ }, r.$attrs), [
28
+ s(r.$slots, "default", {}, () => [
29
+ u(
30
+ f(e.label),
31
+ 1
32
+ /* TEXT */
33
+ )
34
+ ])
35
+ ], 16, b),
36
+ s(r.$slots, "append")
37
+ ], 10, m));
23
38
  }
24
39
  });
25
40
  export {
26
- b as default
41
+ h as default
27
42
  };
@@ -14,6 +14,7 @@ declare const QLabel: {
14
14
  } & import('vue').ComponentOptionsBase<Readonly<QLabelProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
15
15
  $slots: {
16
16
  prepend?(_: {}): any;
17
+ default?(_: {}): any;
17
18
  append?(_: {}): any;
18
19
  };
19
20
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QLabel/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAK1C,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;EAA2B,CAAA;AAGvC,OAAO,EAAE,MAAM,EAAE,CAAA;AAGjB,YAAY,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QLabel/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAK1C,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;EAA2B,CAAA;AAGvC,OAAO,EAAE,MAAM,EAAE,CAAA;AAGjB,YAAY,EAAE,WAAW,EAAE,CAAA"}
@@ -8,5 +8,10 @@ export type QLabelProps = QBaseComponentProps & {
8
8
  * The form field associated with the label.
9
9
  */
10
10
  for?: string;
11
+ /**
12
+ * If set to true, an asterisk (*) is displayed
13
+ * to indicate that the associated field is required.
14
+ */
15
+ required?: boolean;
11
16
  };
12
17
  //# sourceMappingURL=types.d.ts.map