@quidgest/ui 0.14.0 → 0.14.2

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 (121) hide show
  1. package/dist/ui.css +4 -0
  2. package/dist/ui.esm.js +752 -739
  3. package/dist/ui.js +4 -4
  4. package/dist/ui.min.js +51 -51
  5. package/dist/ui.scss +1053 -1049
  6. package/esm/components/QBadge/QBadge.d.ts +14 -41
  7. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  8. package/esm/components/QBadge/QBadge.vue.js +33 -33
  9. package/esm/components/QBadge/index.d.ts +0 -1
  10. package/esm/components/QBadge/types.d.ts +6 -7
  11. package/esm/components/QBadge/types.d.ts.map +1 -1
  12. package/esm/components/QButton/QButton.d.ts +12 -35
  13. package/esm/components/QButton/QButton.d.ts.map +1 -1
  14. package/esm/components/QButton/index.d.ts +0 -1
  15. package/esm/components/QButtonGroup/QButtonGroup.d.ts +9 -26
  16. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  17. package/esm/components/QButtonGroup/index.d.ts +0 -1
  18. package/esm/components/QButtonToggle/QButtonToggle.d.ts +17 -47
  19. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
  20. package/esm/components/QButtonToggle/QButtonToggle.vue.js +26 -23
  21. package/esm/components/QButtonToggle/index.d.ts +0 -1
  22. package/esm/components/QCombobox/QCombobox.d.ts +373 -485
  23. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  24. package/esm/components/QCombobox/QCombobox.vue.js +92 -87
  25. package/esm/components/QCombobox/index.d.ts +0 -1
  26. package/esm/components/QCombobox/types.d.ts +9 -8
  27. package/esm/components/QCombobox/types.d.ts.map +1 -1
  28. package/esm/components/QCombobox/types.js +3 -1
  29. package/esm/components/QDialog/QDialog.d.ts +21 -109
  30. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  31. package/esm/components/QDialog/QDialog.vue.js +16 -16
  32. package/esm/components/QDialog/index.d.ts +0 -1
  33. package/esm/components/QDialog/types.d.ts +6 -8
  34. package/esm/components/QDialog/types.d.ts.map +1 -1
  35. package/esm/components/QField/QField.d.ts +18 -41
  36. package/esm/components/QField/QField.d.ts.map +1 -1
  37. package/esm/components/QField/index.d.ts +0 -1
  38. package/esm/components/QIcon/InlineSvg.d.ts +6 -6
  39. package/esm/components/QIcon/QIcon.d.ts +2 -28
  40. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  41. package/esm/components/QIcon/QIconFont.d.ts +2 -30
  42. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  43. package/esm/components/QIcon/QIconImg.d.ts +1 -11
  44. package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
  45. package/esm/components/QIcon/QIconSvg.d.ts +6 -32
  46. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
  47. package/esm/components/QIcon/index.d.ts +0 -1
  48. package/esm/components/QInputGroup/QInputGroup.d.ts +12 -39
  49. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  50. package/esm/components/QInputGroup/index.d.ts +0 -1
  51. package/esm/components/QInputGroup/types.d.ts +0 -1
  52. package/esm/components/QLineLoader/QLineLoader.d.ts +2 -24
  53. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
  54. package/esm/components/QLineLoader/index.d.ts +0 -1
  55. package/esm/components/QList/QList.d.ts +22 -72
  56. package/esm/components/QList/QList.d.ts.map +1 -1
  57. package/esm/components/QList/QListItem.d.ts +14 -39
  58. package/esm/components/QList/QListItem.d.ts.map +1 -1
  59. package/esm/components/QList/QListItem.vue.js +5 -5
  60. package/esm/components/QList/QListItemGroup.d.ts +9 -26
  61. package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
  62. package/esm/components/QList/index.d.ts +0 -1
  63. package/esm/components/QList/types.d.ts +5 -7
  64. package/esm/components/QList/types.d.ts.map +1 -1
  65. package/esm/components/QOverlay/QOverlay.d.ts +23 -141
  66. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  67. package/esm/components/QOverlay/index.d.ts +0 -1
  68. package/esm/components/QOverlay/types.d.ts +0 -1
  69. package/esm/components/QPopover/QPopover.d.ts +19 -77
  70. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  71. package/esm/components/QPopover/index.d.ts +0 -1
  72. package/esm/components/QPopover/types.d.ts +0 -1
  73. package/esm/components/QPropertyList/QPropertyList.d.ts +28 -56
  74. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
  75. package/esm/components/QPropertyList/QPropertyList.vue.js +61 -62
  76. package/esm/components/QPropertyList/QPropertyListGroup.d.ts +7 -44
  77. package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
  78. package/esm/components/QPropertyList/QPropertyListGroup.vue.js +22 -26
  79. package/esm/components/QPropertyList/QPropertyListPanel.d.ts +11 -43
  80. package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -1
  81. package/esm/components/QPropertyList/QPropertyListPanel.vue.js +14 -16
  82. package/esm/components/QPropertyList/QPropertyListRow.d.ts +12 -17
  83. package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
  84. package/esm/components/QPropertyList/QPropertyListRow.vue.js +28 -25
  85. package/esm/components/QPropertyList/index.d.ts +0 -1
  86. package/esm/components/QPropertyList/types.d.ts +66 -34
  87. package/esm/components/QPropertyList/types.d.ts.map +1 -1
  88. package/esm/components/QSelect/QSelect.d.ts +199 -147
  89. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  90. package/esm/components/QSelect/QSelect.vue.js +130 -125
  91. package/esm/components/QSelect/index.d.ts +0 -1
  92. package/esm/components/QSelect/types.d.ts +9 -8
  93. package/esm/components/QSelect/types.d.ts.map +1 -1
  94. package/esm/components/QSelect/types.js +5 -3
  95. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +2 -28
  96. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
  97. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +19 -19
  98. package/esm/components/QSkeletonLoader/index.d.ts +0 -1
  99. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +2 -26
  100. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
  101. package/esm/components/QSpinnerLoader/index.d.ts +0 -1
  102. package/esm/components/QTextField/QTextField.d.ts +100 -96
  103. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  104. package/esm/components/QTextField/index.d.ts +0 -1
  105. package/esm/components/QTextField/types.d.ts +0 -1
  106. package/esm/components/QThemeProvider/QThemeProvider.d.ts +8 -13
  107. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  108. package/esm/components/QThemeProvider/index.d.ts +0 -1
  109. package/esm/components/QTooltip/QTooltip.d.ts +24 -121
  110. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  111. package/esm/components/QTooltip/QTooltip.vue.js +1 -1
  112. package/esm/components/QTooltip/index.d.ts +0 -1
  113. package/esm/components/QTooltip/types.d.ts +1 -2
  114. package/esm/components/QTooltip/types.d.ts.map +1 -1
  115. package/esm/composables/defaults.d.ts +0 -1
  116. package/esm/composables/theme.d.ts +0 -1
  117. package/esm/framework.d.ts +0 -1
  118. package/esm/templates/theme.d.ts +0 -1
  119. package/esm/utils/setupPropsProxy.d.ts +0 -1
  120. package/esm/utils/theme.d.ts +0 -1
  121. package/package.json +35 -33
@@ -1 +1 @@
1
- {"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"AA0HA;AAYC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAKlD,OAAO,EAAY,QAAQ,EAAyB,MAAM,KAAK,CAAA;AAydhE,iBAAS,cAAc;6BAiWe,GAAG;4BACJ,GAAG;qBACV,GAAG;oBACJ,GAAG;oBACH,GAAG;4BACK,GAAG;;;QACZ,GAAG;2BACM,GAAG;EAGvC;AAsCD,QAAA,MAAM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C/C,8CAIG,GAAG,yBAAyB,GAAG,6DAE7B,GACL;;;;;;;;;;;;;;;;;;;;;;;;;WAuZa,OAAO,IAA6B;EAEjD;AAyCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA3c2B,GAC/C,8CAIG,GAAG,yBAAyB,GAAG,6DAE7B,GACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAR+C,GAC/C,8CAIG,GAAG,yBAAyB,GAAG,6DAE7B,GACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAidC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,18 +1,19 @@
1
- import { defineComponent as re, mergeModels as H, useModel as T, ref as I, onMounted as ce, computed as m, watch as k, nextTick as w, openBlock as y, createElementBlock as _, Fragment as ve, createVNode as x, unref as c, normalizeClass as fe, withModifiers as K, createSlots as me, withCtx as r, renderSlot as v, createBlock as C, normalizeProps as j, guardReactiveProps as W, createCommentVNode as X, createElementVNode as pe, toDisplayString as be } from "vue";
1
+ import { defineComponent as re, mergeModels as H, useModel as T, ref as I, onMounted as ce, computed as m, watch as k, nextTick as x, openBlock as y, createElementBlock as _, Fragment as fe, createVNode as w, unref as c, mergeProps as ve, withModifiers as K, createSlots as me, withCtx as r, renderSlot as f, createBlock as A, normalizeProps as j, guardReactiveProps as W, createCommentVNode as X, createElementVNode as pe, toDisplayString as be } from "vue";
2
2
  import { QButton as G } from "../QButton/index.js";
3
3
  import { QIcon as J } from "../QIcon/index.js";
4
4
  import { QList as ye } from "../QList/index.js";
5
5
  import { QOverlay as ge } from "../QOverlay/index.js";
6
6
  import { QSpinnerLoader as he } from "../QSpinnerLoader/index.js";
7
7
  import { QTextField as Ie } from "../QTextField/index.js";
8
- import { DEFAULT_ICONS as ke, DEFAULT_TEXTS as we } from "./types.js";
9
- const xe = ["data-key"], Ve = {
8
+ import { DEFAULT_ICONS as ke, DEFAULT_TEXTS as xe } from "./types.js";
9
+ const we = ["data-key"], Ve = {
10
10
  key: 0,
11
11
  class: "q-select__loader"
12
12
  }, Le = {
13
13
  key: 2,
14
14
  class: "q-select__loader"
15
15
  }, Te = /* @__PURE__ */ re({
16
+ inheritAttrs: !1,
16
17
  __name: "QCombobox",
17
18
  props: /* @__PURE__ */ H({
18
19
  id: { default: void 0 },
@@ -32,7 +33,8 @@ const xe = ["data-key"], Ve = {
32
33
  emptyValue: { type: [String, Number, Boolean, Symbol], default: void 0 },
33
34
  size: { default: void 0 },
34
35
  class: { default: void 0 },
35
- internals: { default: () => ({ icons: ke, texts: we }) }
36
+ icons: { default: () => ke },
37
+ texts: { default: () => xe }
36
38
  }, {
37
39
  modelValue: {
38
40
  type: [String, Number, Boolean, Symbol]
@@ -45,36 +47,36 @@ const xe = ["data-key"], Ve = {
45
47
  }),
46
48
  emits: /* @__PURE__ */ H(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
47
49
  setup(V, { expose: Y, emit: Z }) {
48
- const l = V, L = Z, d = T(V, "modelValue"), i = T(V, "open"), u = T(V, "search"), t = I(void 0), f = I(null), s = I(null), F = I(null), $ = I(null);
50
+ const l = V, L = Z, d = T(V, "modelValue"), i = T(V, "open"), u = T(V, "search"), t = I(void 0), v = I(null), s = I(null), F = I(null), $ = I(null);
49
51
  ce(h);
50
52
  const B = m(() => l.clearable && !l.readonly && !l.disabled), p = m(() => {
51
53
  var e;
52
54
  return l.filterMode === "manual" || !le.value ? l.items : (e = l.items) == null ? void 0 : e.filter(
53
- (o) => o[l.itemLabel].toLowerCase().startsWith(u.value.toLowerCase())
55
+ (a) => a[l.itemLabel].toLowerCase().startsWith(u.value.toLowerCase())
54
56
  );
55
57
  }), g = m(() => {
56
58
  var e;
57
- return (e = l.items) == null ? void 0 : e.find((o) => o[l.itemValue] === d.value);
58
- }), A = m(() => g.value === void 0), D = m(() => {
59
+ return (e = l.items) == null ? void 0 : e.find((a) => a[l.itemValue] === d.value);
60
+ }), C = m(() => g.value === void 0), D = m(() => {
59
61
  const e = t.value;
60
62
  if (e !== void 0 && p.value[e])
61
63
  return p.value[e];
62
64
  }), ee = m(() => {
63
- var o;
65
+ var a;
64
66
  if (t.value === void 0)
65
67
  return;
66
- const e = (o = s.value) == null ? void 0 : o.getItem(t.value);
68
+ const e = (a = s.value) == null ? void 0 : a.getItem(t.value);
67
69
  return e == null ? void 0 : e.id;
68
70
  }), le = m(() => {
69
71
  var e;
70
72
  return u.value.length > 0 && u.value !== ((e = g.value) == null ? void 0 : e[l.itemLabel]);
71
73
  });
72
- function z(e) {
74
+ function U(e) {
73
75
  d.value = e, q();
74
76
  }
75
77
  function h() {
76
- var o;
77
- const e = ((o = g.value) == null ? void 0 : o[l.itemLabel]) || "";
78
+ var a;
79
+ const e = ((a = g.value) == null ? void 0 : a[l.itemLabel]) || "";
78
80
  u.value !== e && (u.value = e);
79
81
  }
80
82
  function E() {
@@ -83,70 +85,70 @@ const xe = ["data-key"], Ve = {
83
85
  function q() {
84
86
  i.value && (L("before-hide"), i.value = !1, t.value = void 0);
85
87
  }
86
- function oe() {
87
- i.value ? q() : U();
88
- }
89
88
  function ae() {
89
+ i.value ? q() : z();
90
+ }
91
+ function oe() {
90
92
  B.value && (d.value = l.emptyValue, t.value = void 0, S());
91
93
  }
92
- function U() {
94
+ function z() {
93
95
  if (E(), g.value !== void 0) {
94
96
  const e = p.value.indexOf(g.value);
95
- e !== -1 && w(() => Q(e));
97
+ e !== -1 && x(() => O(e));
96
98
  }
97
99
  }
98
100
  function te(e) {
99
- var o, a;
101
+ var a, o;
100
102
  if (!(!e.key || l.readonly || l.disabled))
101
103
  if (["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "Escape")
102
104
  h(), i.value && q();
103
105
  else if (["ArrowDown", "ArrowUp"].includes(e.key))
104
- i.value ? w(() => {
106
+ i.value ? x(() => {
105
107
  if (t.value === void 0)
106
108
  M();
107
109
  else {
108
110
  const n = e.key === "ArrowDown" ? "next" : "prev";
109
111
  ie(t.value, n);
110
112
  }
111
- }) : (E(), w(() => {
113
+ }) : (E(), x(() => {
112
114
  e.key === "ArrowDown" ? M() : ne();
113
115
  }));
114
116
  else if (e.key === "Enter") {
115
117
  if (D.value === void 0) return;
116
- z(D.value[l.itemValue]);
117
- } else e.key === "Home" ? t.value = (o = s.value) == null ? void 0 : o.getFirstFocusableItemIndex() : e.key === "End" ? t.value = (a = s.value) == null ? void 0 : a.getLastFocusableItemIndex() : (/^[a-z]$/i.test(e.key) || e.key === "Backspace") && E();
118
+ U(D.value[l.itemValue]);
119
+ } else e.key === "Home" ? t.value = (a = s.value) == null ? void 0 : a.getFirstFocusableItemIndex() : e.key === "End" ? t.value = (o = s.value) == null ? void 0 : o.getLastFocusableItemIndex() : (/^[a-z]$/i.test(e.key) || e.key === "Backspace") && E();
118
120
  }
119
121
  function M() {
120
- var e, o;
121
- if (A.value)
122
- t.value = (o = s.value) == null ? void 0 : o.getFirstFocusableItemIndex();
122
+ var e, a;
123
+ if (C.value)
124
+ t.value = (a = s.value) == null ? void 0 : a.getFirstFocusableItemIndex();
123
125
  else {
124
- const a = p.value.findIndex(
126
+ const o = p.value.findIndex(
125
127
  (n) => n[l.itemValue] === d.value
126
128
  );
127
- a === -1 ? t.value = (e = s.value) == null ? void 0 : e.getFirstFocusableItemIndex() : t.value = a;
129
+ o === -1 ? t.value = (e = s.value) == null ? void 0 : e.getFirstFocusableItemIndex() : t.value = o;
128
130
  }
129
131
  }
130
132
  function ne() {
131
133
  var e;
132
134
  t.value = (e = s.value) == null ? void 0 : e.getLastFocusableItemIndex();
133
135
  }
134
- function ie(e, o) {
135
- var a;
136
- t.value = (a = s.value) == null ? void 0 : a.getAdjacentItemIndex(e, o);
136
+ function ie(e, a) {
137
+ var o;
138
+ t.value = (o = s.value) == null ? void 0 : o.getAdjacentItemIndex(e, a);
137
139
  }
138
140
  function N(e) {
139
- var b, O, P, R;
140
- const o = ((b = F == null ? void 0 : F.value) == null ? void 0 : b.$el) === e.relatedTarget, a = (P = (O = f == null ? void 0 : f.value) == null ? void 0 : O.$el) == null ? void 0 : P.contains(e.relatedTarget), n = (R = $ == null ? void 0 : $.value) == null ? void 0 : R.contains(e.relatedTarget);
141
- if (o || n || a) {
141
+ var b, Q, P, R;
142
+ const a = ((b = F == null ? void 0 : F.value) == null ? void 0 : b.$el) === e.relatedTarget, o = (P = (Q = v == null ? void 0 : v.value) == null ? void 0 : Q.$el) == null ? void 0 : P.contains(e.relatedTarget), n = (R = $ == null ? void 0 : $.value) == null ? void 0 : R.contains(e.relatedTarget);
143
+ if (a || n || o) {
142
144
  e.preventDefault(), e.stopPropagation();
143
145
  return;
144
146
  }
145
147
  q(), B.value && !u.value && (d.value = l.emptyValue), h();
146
148
  }
147
149
  function S() {
148
- var e, o;
149
- (o = (e = f.value) == null ? void 0 : e.inputRef) == null || o.focus();
150
+ var e, a;
151
+ (a = (e = v.value) == null ? void 0 : e.inputRef) == null || a.focus();
150
152
  }
151
153
  function ue() {
152
154
  S();
@@ -157,48 +159,48 @@ const xe = ["data-key"], Ve = {
157
159
  function de() {
158
160
  L("hide");
159
161
  }
160
- function Q(e) {
161
- var a;
162
- const o = (a = s.value) == null ? void 0 : a.getItem(e);
163
- s.value && (s.value.$el.scrollTop = o == null ? void 0 : o.offsetTop);
162
+ function O(e) {
163
+ var o;
164
+ const a = (o = s.value) == null ? void 0 : o.getItem(e);
165
+ s.value && (s.value.$el.scrollTop = a == null ? void 0 : a.offsetTop);
164
166
  }
165
167
  return k(d, h), k(
166
168
  () => l.items,
167
- (e, o) => {
168
- if (!A.value) {
169
- const a = o.find((n) => n[l.itemValue] === d.value);
170
- u.value === (a == null ? void 0 : a[l.itemLabel]) && h();
169
+ (e, a) => {
170
+ if (!C.value) {
171
+ const o = a.find((n) => n[l.itemValue] === d.value);
172
+ u.value === (o == null ? void 0 : o[l.itemLabel]) && h();
171
173
  }
172
174
  },
173
175
  { deep: !0 }
174
176
  ), k(t, (e) => {
175
- e !== void 0 && Q(e);
177
+ e !== void 0 && O(e);
176
178
  }), k(u, (e) => {
177
- e && i.value && l.selectionMode === "automatic" && w(M);
179
+ e && i.value && l.selectionMode === "automatic" && x(M);
178
180
  }), k(
179
181
  () => l.loading,
180
182
  (e) => {
181
- !e && i.value && w(M);
183
+ !e && i.value && x(M);
182
184
  }
183
185
  ), Y({
184
- triggerEl: f
185
- }), (e, o) => {
186
- var a;
186
+ triggerEl: v
187
+ }), (e, a) => {
188
+ var o;
187
189
  return y(), _(
188
- ve,
190
+ fe,
189
191
  null,
190
192
  [
191
- x(c(Ie), {
193
+ w(c(Ie), ve({
192
194
  modelValue: u.value,
193
- "onUpdate:modelValue": o[0] || (o[0] = (n) => u.value = n),
195
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => u.value = n),
194
196
  id: l.id,
195
197
  label: l.label,
196
198
  required: l.required,
197
199
  ref_key: "triggerEl",
198
- ref: f,
200
+ ref: v,
199
201
  role: "combobox",
200
202
  placeholder: l.placeholder,
201
- class: fe([
203
+ class: [
202
204
  "q-combobox",
203
205
  {
204
206
  "q-combobox--readonly": l.readonly,
@@ -206,7 +208,7 @@ const xe = ["data-key"], Ve = {
206
208
  "q-combobox--expanded": i.value
207
209
  },
208
210
  l.class
209
- ]),
211
+ ],
210
212
  readonly: l.readonly,
211
213
  disabled: l.disabled,
212
214
  "data-loading": l.loading,
@@ -215,31 +217,33 @@ const xe = ["data-key"], Ve = {
215
217
  "aria-haspopup": "listbox",
216
218
  "aria-autocomplete": "list",
217
219
  "aria-activedescendant": ee.value,
218
- size: l.size,
219
- onClick: U,
220
+ size: l.size
221
+ }, e.$attrs, {
222
+ onClick: z,
220
223
  onFocusout: N,
221
224
  onKeydown: K(te, ["stop"])
222
- }, me({
225
+ }), me({
223
226
  "label.prepend": r(() => [
224
- v(e.$slots, "label.prepend")
227
+ f(e.$slots, "label.prepend")
225
228
  ]),
226
229
  "label.append": r(() => [
227
- v(e.$slots, "label.append")
230
+ f(e.$slots, "label.append")
228
231
  ]),
229
232
  append: r(() => [
230
- v(e.$slots, "append"),
231
- B.value && u.value ? (y(), C(c(G), {
233
+ f(e.$slots, "append"),
234
+ B.value && u.value ? (y(), A(c(G), {
232
235
  key: 0,
233
236
  class: "q-combobox__clear",
237
+ "aria-label": l.texts.clearValue,
234
238
  "b-style": "plain",
235
239
  borderless: "",
236
240
  tabindex: "-1",
237
- onClick: ae
241
+ onClick: oe
238
242
  }, {
239
243
  default: r(() => [
240
- x(
244
+ w(
241
245
  c(J),
242
- j(W(l.internals.icons.clear)),
246
+ j(W(l.icons.clear)),
243
247
  null,
244
248
  16
245
249
  /* FULL_PROPS */
@@ -247,22 +251,23 @@ const xe = ["data-key"], Ve = {
247
251
  ]),
248
252
  _: 1
249
253
  /* STABLE */
250
- })) : X("v-if", !0),
251
- l.readonly ? X("v-if", !0) : (y(), C(c(G), {
254
+ }, 8, ["aria-label"])) : X("v-if", !0),
255
+ l.readonly ? X("v-if", !0) : (y(), A(c(G), {
252
256
  key: 1,
253
257
  ref_key: "toggleRef",
254
258
  ref: F,
255
259
  class: "q-combobox__chevron",
260
+ "aria-label": l.texts.showOptions,
256
261
  "b-style": "plain",
257
262
  borderless: "",
258
263
  tabindex: "-1",
259
264
  disabled: l.disabled,
260
- onMousedown: K(oe, ["stop", "prevent"])
265
+ onMousedown: K(ae, ["stop", "prevent"])
261
266
  }, {
262
267
  default: r(() => [
263
- x(
268
+ w(
264
269
  c(J),
265
- j(W(l.internals.icons.chevron)),
270
+ j(W(l.icons.chevron)),
266
271
  null,
267
272
  16
268
273
  /* FULL_PROPS */
@@ -270,7 +275,7 @@ const xe = ["data-key"], Ve = {
270
275
  ]),
271
276
  _: 1
272
277
  /* STABLE */
273
- }, 8, ["disabled"]))
278
+ }, 8, ["aria-label", "disabled"]))
274
279
  ]),
275
280
  _: 2
276
281
  /* DYNAMIC */
@@ -278,28 +283,28 @@ const xe = ["data-key"], Ve = {
278
283
  e.$slots.prepend ? {
279
284
  name: "prepend",
280
285
  fn: r(() => [
281
- v(e.$slots, "prepend")
286
+ f(e.$slots, "prepend")
282
287
  ]),
283
288
  key: "0"
284
289
  } : void 0,
285
290
  e.$slots.extras ? {
286
291
  name: "extras",
287
292
  fn: r(() => [
288
- v(e.$slots, "extras")
293
+ f(e.$slots, "extras")
289
294
  ]),
290
295
  key: "1"
291
296
  } : void 0
292
- ]), 1032, ["modelValue", "id", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
293
- x(c(ge), {
297
+ ]), 1040, ["modelValue", "id", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
298
+ w(c(ge), {
294
299
  modelValue: i.value,
295
- "onUpdate:modelValue": o[2] || (o[2] = (n) => i.value = n),
300
+ "onUpdate:modelValue": a[2] || (a[2] = (n) => i.value = n),
296
301
  spy: "",
297
302
  "non-modal": "",
298
303
  trigger: "manual",
299
304
  placement: "bottom-start",
300
305
  width: "anchor",
301
306
  offset: 4,
302
- anchor: (a = f.value) == null ? void 0 : a.$el,
307
+ anchor: (o = v.value) == null ? void 0 : o.$el,
303
308
  onEnter: se,
304
309
  onLeave: de
305
310
  }, {
@@ -314,10 +319,10 @@ const xe = ["data-key"], Ve = {
314
319
  "data-key": l.id,
315
320
  onFocusout: N
316
321
  }, [
317
- v(e.$slots, "body.prepend"),
322
+ f(e.$slots, "body.prepend"),
318
323
  l.loading ? (y(), _("div", Ve, [
319
- x(c(he), { size: 24 })
320
- ])) : p.value.length ? (y(), C(c(ye), {
324
+ w(c(he), { size: 24 })
325
+ ])) : p.value.length ? (y(), A(c(ye), {
321
326
  key: 1,
322
327
  ref_key: "listRef",
323
328
  ref: s,
@@ -325,8 +330,8 @@ const xe = ["data-key"], Ve = {
325
330
  selectable: "",
326
331
  modelValue: d.value,
327
332
  "onUpdate:modelValue": [
328
- o[1] || (o[1] = (b) => d.value = b),
329
- z
333
+ a[1] || (a[1] = (b) => d.value = b),
334
+ U
330
335
  ],
331
336
  highlighted: (n = D.value) == null ? void 0 : n[l.itemValue],
332
337
  items: p.value,
@@ -336,19 +341,19 @@ const xe = ["data-key"], Ve = {
336
341
  onMouseup: ue
337
342
  }, {
338
343
  item: r(({ item: b }) => [
339
- v(e.$slots, "item", { item: b })
344
+ f(e.$slots, "item", { item: b })
340
345
  ]),
341
346
  _: 3
342
347
  /* FORWARDED */
343
348
  }, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (y(), _(
344
349
  "div",
345
350
  Le,
346
- be(e.internals.texts.noData),
351
+ be(l.texts.noData),
347
352
  1
348
353
  /* TEXT */
349
354
  )),
350
- v(e.$slots, "body.append")
351
- ], 40, xe)
355
+ f(e.$slots, "body.append")
356
+ ], 40, we)
352
357
  ];
353
358
  }),
354
359
  _: 3
@@ -1,5 +1,4 @@
1
1
  import { default as _QCombobox } from './QCombobox';
2
-
3
2
  declare const QCombobox: typeof _QCombobox;
4
3
  export { QCombobox };
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -2,7 +2,6 @@ import { Icon } from '../QIcon';
2
2
  import { Primitive } from '../../types/primitive';
3
3
  import { QFieldSize } from '../QField';
4
4
  import { QListItemGroupProps, QListItemProps } from '../QList';
5
-
6
5
  export type QComboboxProps = {
7
6
  /**
8
7
  * The field unique identifier.
@@ -79,14 +78,16 @@ export type QComboboxProps = {
79
78
  */
80
79
  class?: string | unknown[];
81
80
  /**
82
- * The internal elements of the component.
81
+ * Custom icon configurations.
83
82
  */
84
- internals?: Internals;
83
+ icons?: typeof DEFAULT_ICONS;
84
+ /**
85
+ * Custom text configurations.
86
+ */
87
+ texts?: typeof DEFAULT_TEXTS;
85
88
  };
86
89
  export declare const DEFAULT_TEXTS: Record<string, string>;
87
- export declare const DEFAULT_ICONS: Record<string, Icon>;
88
- export type Internals = {
89
- icons: typeof DEFAULT_ICONS;
90
- texts: typeof DEFAULT_TEXTS;
91
- };
90
+ type IconKeys = 'chevron' | 'clear';
91
+ export declare const DEFAULT_ICONS: Record<IconKeys, Icon>;
92
+ export {};
92
93
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAE7E,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;IAEtC;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAEjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAE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AA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAIhD,CAAA;AAED,KAAK,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAGnC,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,QAAQ,EAAE,IAAI,CAOhD,CAAA"}
@@ -1,5 +1,7 @@
1
1
  const o = {
2
- noData: "No data available"
2
+ noData: "No data available",
3
+ clearValue: "Clear value",
4
+ showOptions: "Show options"
3
5
  }, a = {
4
6
  chevron: {
5
7
  icon: "chevron-down"
@@ -1,123 +1,35 @@
1
- import { DialogButton } from './types';
2
-
1
+ import { DialogButton, QDialogProps, DEFAULT_ICONS } from './types';
2
+ declare let __VLS_typeProps: QDialogProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: boolean;
5
+ } & typeof __VLS_typeProps;
3
6
  declare function __VLS_template(): {
4
- "body.content"?(_: {}): any;
5
- "body.icon"?(_: {}): any;
6
- "body.append"?(_: {}): any;
7
- };
8
- declare const __VLS_component: import('vue').DefineComponent<{
9
- modelValue: import('vue').PropType<boolean>;
10
- class: {
11
- type: import('vue').PropType<string | unknown[]>;
12
- default: undefined;
13
- };
14
- html: {
15
- type: import('vue').PropType<boolean>;
16
- default: boolean;
17
- };
18
- title: {
19
- type: import('vue').PropType<string>;
20
- default: string;
21
- };
22
- text: {
23
- type: import('vue').PropType<string>;
24
- default: string;
25
- };
26
- icon: {
27
- type: import('vue').PropType<import('../QIcon').Icon>;
28
- default: () => import('../QIcon').Icon;
29
- };
30
- internals: {
31
- type: import('vue').PropType<import('./types').Internals>;
32
- default: () => {
33
- icons: Record<string, import('../QIcon').Icon>;
34
- };
35
- };
36
- id: {
37
- type: import('vue').PropType<string>;
38
- default: undefined;
39
- };
40
- attach: {
41
- type: import('vue').PropType<string>;
42
- default: string;
43
- };
44
- inline: {
45
- type: import('vue').PropType<boolean>;
46
- };
47
- backdropBlur: {
48
- type: import('vue').PropType<boolean>;
49
- default: boolean;
50
- };
51
- buttons: {
52
- type: import('vue').PropType<DialogButton[]>;
53
- default: () => DialogButton[];
54
- };
55
- dismissible: {
56
- type: import('vue').PropType<boolean>;
57
- };
58
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
59
- modelValue: import('vue').PropType<boolean>;
60
- class: {
61
- type: import('vue').PropType<string | unknown[]>;
62
- default: undefined;
7
+ slots: {
8
+ "body.content"?(_: {}): any;
9
+ "body.icon"?(_: {}): any;
10
+ "body.append"?(_: {}): any;
63
11
  };
64
- html: {
65
- type: import('vue').PropType<boolean>;
66
- default: boolean;
67
- };
68
- title: {
69
- type: import('vue').PropType<string>;
70
- default: string;
71
- };
72
- text: {
73
- type: import('vue').PropType<string>;
74
- default: string;
75
- };
76
- icon: {
77
- type: import('vue').PropType<import('../QIcon').Icon>;
78
- default: () => import('../QIcon').Icon;
79
- };
80
- internals: {
81
- type: import('vue').PropType<import('./types').Internals>;
82
- default: () => {
83
- icons: Record<string, import('../QIcon').Icon>;
84
- };
85
- };
86
- id: {
87
- type: import('vue').PropType<string>;
88
- default: undefined;
89
- };
90
- attach: {
91
- type: import('vue').PropType<string>;
92
- default: string;
93
- };
94
- inline: {
95
- type: import('vue').PropType<boolean>;
96
- };
97
- backdropBlur: {
98
- type: import('vue').PropType<boolean>;
99
- default: boolean;
100
- };
101
- buttons: {
102
- type: import('vue').PropType<DialogButton[]>;
103
- default: () => DialogButton[];
104
- };
105
- dismissible: {
106
- type: import('vue').PropType<boolean>;
107
- };
108
- }>>, {
12
+ refs: {};
13
+ attrs: Partial<{}>;
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:modelValue": (modelValue: boolean) => any;
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
+ "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
20
+ }>, {
109
21
  class: string | unknown[];
110
22
  html: boolean;
111
23
  title: string;
112
24
  text: string;
113
25
  icon: import('../QIcon').Icon;
114
- internals: import('./types').Internals;
26
+ icons: typeof DEFAULT_ICONS;
115
27
  id: string;
116
28
  attach: string;
117
29
  backdropBlur: boolean;
118
30
  buttons: DialogButton[];
119
- }, {}>;
120
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
121
33
  export default _default;
122
34
  type __VLS_WithTemplateSlots<T, S> = T & {
123
35
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAyDA;AAQC,OAAO,KAAK,EAAE,YAAY,EAAgB,MAAM,SAAS,CAAA;AA6D1D,iBAAS,cAAc;4BA6Nc,GAAG;yBACN,GAAG;2BACD,GAAG;EAGtC;AAmBD,QAAA,MAAM,eAAe;gBA3PT,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAA/B,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoQzC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAUxG,KAAK,uBAAuB,CAAC,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