@quidgest/ui 0.16.11 → 0.16.13

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.
package/dist/ui.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quidgest UI v0.16.11
2
+ * Quidgest UI v0.16.13
3
3
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1815,6 +1815,7 @@ $q-line-loader-color: var(--q-line-loader-color);
1815
1815
  width: inherit;
1816
1816
  border-radius: var(--border-radius);
1817
1817
  outline: none;
1818
+ cursor: default;
1818
1819
  &--selectable {
1819
1820
  &:hover {
1820
1821
  cursor: pointer;
@@ -1849,6 +1850,8 @@ $q-line-loader-color: var(--q-line-loader-color);
1849
1850
  display: flex;
1850
1851
  flex-grow: 1;
1851
1852
  gap: $space-base * 2;
1853
+ cursor: inherit;
1854
+ user-select: none;
1852
1855
  }
1853
1856
  &__check-container {
1854
1857
  display: flex;
@@ -2286,6 +2289,11 @@ $base-border: 1px solid rgb(0 0 0 / 10%);
2286
2289
  font-style: italic;
2287
2290
  color: var(--q-theme-neutral);
2288
2291
  }
2292
+ &__input {
2293
+ width: 0;
2294
+ opacity: 0;
2295
+ cursor: inherit;
2296
+ }
2289
2297
 
2290
2298
  .q-field__prepend {
2291
2299
  padding-left: $space-base * 2;
@@ -1,8 +1,8 @@
1
- import { defineComponent as u, computed as s, createBlock as m, openBlock as p, unref as o, mergeProps as d, withCtx as c, renderSlot as f } from "vue";
2
- import { QCollapsible as v } from "../QCollapsible/index.js";
3
- import { useId as g } from "../../composables/uid.js";
4
- import { useGroupItem as h } from "../../composables/useGroup/index.js";
5
- const I = /* @__PURE__ */ u({
1
+ import { defineComponent as l, computed as a, createBlock as c, openBlock as s, unref as o, mergeProps as u, withCtx as m, renderSlot as p } from "vue";
2
+ import { QCollapsible as d } from "../QCollapsible/index.js";
3
+ import { useId as f } from "../../composables/uid.js";
4
+ import { useGroupItem as v } from "../../composables/useGroup/index.js";
5
+ const B = /* @__PURE__ */ l({
6
6
  __name: "QAccordionItem",
7
7
  props: {
8
8
  id: {},
@@ -17,26 +17,24 @@ const I = /* @__PURE__ */ u({
17
17
  icons: {},
18
18
  value: {}
19
19
  },
20
- setup(i) {
21
- const t = i, l = s(() => g(t.value)), e = h(l);
20
+ setup(r) {
21
+ const t = r, i = a(() => f(t.value)), e = v(i);
22
22
  if (!e)
23
23
  throw new Error(
24
24
  "QAccordionItem: Failed to retrieve group item. Ensure the component is used within a QAccordion context."
25
25
  );
26
- return (n, r) => (p(), m(o(v), d({
27
- modelValue: o(e).isActive.value,
28
- "onUpdate:modelValue": r[0] || (r[0] = (a) => o(e).isActive.value = a)
29
- }, t, {
26
+ return (n, h) => (s(), c(o(d), u(t, {
27
+ "model-value": o(e).isActive.value,
30
28
  "onUpdate:modelValue": o(e).toggle
31
29
  }), {
32
- default: c(() => [
33
- f(n.$slots, "default")
30
+ default: m(() => [
31
+ p(n.$slots, "default")
34
32
  ]),
35
33
  _: 3
36
34
  /* FORWARDED */
37
- }, 16, ["modelValue", "onUpdate:modelValue"]));
35
+ }, 16, ["model-value", "onUpdate:modelValue"]));
38
36
  }
39
37
  });
40
38
  export {
41
- I as default
39
+ B as default
42
40
  };
@@ -1 +1 @@
1
- {"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AA2HA;AAySC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAatD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AAEpD,KAAK,WAAW,GAAG,YAAY,CAAC;AAkKjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAgUT,OAAO,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,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAiBE,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAFhB,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAFhB,GAAG,8CACpB,GAAG,yBAAyB,GACjC,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAVrC,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,26 +1,26 @@
1
- import { defineComponent as P, mergeModels as D, useModel as K, ref as b, computed as k, watch as H, nextTick as X, createElementBlock as f, openBlock as t, Fragment as R, createVNode as g, unref as n, mergeProps as z, createSlots as j, withCtx as i, toDisplayString as A, createCommentVNode as h, createTextVNode as G, renderSlot as d, createBlock as _, normalizeProps as J, createElementVNode as W, withModifiers as Y } from "vue";
2
- import { DEFAULT_TEXTS as Z, DEFAULT_ICONS as ee } from "./types.js";
3
- import { QButton as le } from "../QButton/index.js";
4
- import { QField as oe } from "../QField/index.js";
5
- import { QIcon as ae } from "../QIcon/index.js";
6
- import { QList as te } from "../QList/index.js";
7
- import { QOverlay as ne } from "../QOverlay/index.js";
8
- import { QSpinnerLoader as ie } from "../QSpinnerLoader/index.js";
9
- import { QChevron as se } from "../__internal__/QChevron/index.js";
10
- import { QClearButton as re } from "../__internal__/QClearButton/index.js";
11
- const de = {
1
+ import { defineComponent as H, mergeModels as R, useModel as X, ref as h, computed as k, watch as j, nextTick as G, createElementBlock as p, openBlock as t, Fragment as A, createVNode as g, unref as i, normalizeClass as J, createSlots as W, withCtx as s, withDirectives as Y, toDisplayString as F, createCommentVNode as _, createTextVNode as Z, createElementVNode as K, mergeProps as M, vModelText as ee, renderSlot as r, createBlock as w, normalizeProps as le, withModifiers as oe } from "vue";
2
+ import { DEFAULT_TEXTS as ae, DEFAULT_ICONS as te } from "./types.js";
3
+ import { QButton as ne } from "../QButton/index.js";
4
+ import { QField as ie } from "../QField/index.js";
5
+ import { QIcon as se } from "../QIcon/index.js";
6
+ import { QList as de } from "../QList/index.js";
7
+ import { QOverlay as re } from "../QOverlay/index.js";
8
+ import { QSpinnerLoader as ue } from "../QSpinnerLoader/index.js";
9
+ import { QChevron as ce } from "../__internal__/QChevron/index.js";
10
+ import { QClearButton as fe } from "../__internal__/QClearButton/index.js";
11
+ const pe = {
12
12
  key: 0,
13
13
  class: "q-select__value"
14
- }, ue = {
14
+ }, me = {
15
15
  key: 1,
16
16
  class: "q-select__placeholder"
17
- }, ce = ["data-key"], fe = {
17
+ }, ve = ["id", "tabindex", "aria-keyshortcuts"], ye = ["data-key"], be = {
18
18
  key: 0,
19
19
  class: "q-select__loader"
20
- }, Ve = /* @__PURE__ */ P({
20
+ }, Be = /* @__PURE__ */ H({
21
21
  inheritAttrs: !1,
22
22
  __name: "QSelect",
23
- props: /* @__PURE__ */ D({
23
+ props: /* @__PURE__ */ R({
24
24
  id: {},
25
25
  class: {},
26
26
  label: {},
@@ -38,108 +38,109 @@ const de = {
38
38
  loading: { type: Boolean },
39
39
  emptyValue: {},
40
40
  inline: { type: Boolean },
41
- icons: { default: () => ee },
42
- texts: { default: () => Z }
41
+ icons: { default: () => te },
42
+ texts: { default: () => ae }
43
43
  }, {
44
44
  modelValue: {},
45
45
  modelModifiers: {}
46
46
  }),
47
- emits: /* @__PURE__ */ D(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
48
- setup(q, { emit: F }) {
49
- const e = q, m = F, p = K(q, "modelValue"), o = b(!1), v = b(null), x = b(null), w = b(null), O = k(() => s.value === void 0), s = k(
47
+ emits: /* @__PURE__ */ R(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
48
+ setup(C, { emit: O }) {
49
+ const e = C, m = O, v = X(C, "modelValue"), a = h(!1), y = h(null), B = h(null), V = h(null), D = k(() => d.value === void 0), d = k(
50
50
  () => {
51
51
  var l;
52
- return (l = e.items) == null ? void 0 : l.find((a) => a[e.itemValue] === p.value);
52
+ return (l = e.items) == null ? void 0 : l.find((o) => o[e.itemValue] === v.value);
53
53
  }
54
- ), M = k(
55
- () => s.value ? s.value[e.itemLabel] : ""
56
- ), V = k(
54
+ ), q = k(
55
+ () => d.value ? d.value[e.itemLabel] : ""
56
+ ), u = k(
57
57
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
58
58
  );
59
- function B(l) {
60
- p.value = l, y();
59
+ function L(l) {
60
+ v.value = l, b();
61
61
  }
62
- function E() {
63
- V.value && (B(e.emptyValue), Q());
62
+ function x() {
63
+ u.value && (L(e.emptyValue), Q());
64
64
  }
65
- function N(l) {
66
- var a, u, c;
67
- !((a = w.value) != null && a.contains(l.relatedTarget)) && !((c = (u = v.value) == null ? void 0 : u.fieldRef) != null && c.contains(l.relatedTarget)) && y();
65
+ function U(l) {
66
+ var o, c, f;
67
+ !((o = V.value) != null && o.contains(l.relatedTarget)) && !((f = (c = y.value) == null ? void 0 : c.fieldRef) != null && f.contains(l.relatedTarget)) && b();
68
68
  }
69
- function L() {
70
- o.value || (m("before-show"), o.value = !0);
69
+ function $() {
70
+ a.value || (m("before-show"), a.value = !0);
71
71
  }
72
- function y() {
73
- o.value && (m("before-hide"), o.value = !1);
72
+ function b() {
73
+ a.value && (m("before-hide"), a.value = !1);
74
74
  }
75
- function C() {
76
- e.readonly || e.disabled || (o.value ? y() : L());
75
+ function T() {
76
+ e.readonly || e.disabled || (a.value ? b() : $());
77
+ }
78
+ function E(l) {
79
+ !l.key || e.readonly || e.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End", "Delete"].includes(l.key) && (l.preventDefault(), l.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(l.key) && $(), ["Escape", "Tab"].includes(l.key) && (a.value ? b() : u.value && l.key === "Escape" && x()), u.value && l.key === "Delete" && x());
77
80
  }
78
- function $(l) {
79
- !l.key || e.readonly || e.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(l.key) && (l.preventDefault(), l.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(l.key) && L(), ["Escape", "Tab"].includes(l.key) && (o.value ? y() : V.value && l.key === "Escape" && E()), l.key === "Delete" && e.clearable && E());
81
+ function I(l) {
82
+ l.key.length === 1 && l.preventDefault(), E(l);
80
83
  }
81
- function U() {
84
+ function N() {
82
85
  var l;
83
- e.loading ? (l = w.value) == null || l.focus() : T(), m("show");
86
+ e.loading ? (l = V.value) == null || l.focus() : S(), m("show");
84
87
  }
85
- function I() {
88
+ function P() {
86
89
  Q(), m("hide");
87
90
  }
88
91
  function Q() {
89
- var l, a;
90
- (a = (l = v.value) == null ? void 0 : l.fieldRef) == null || a.focus();
92
+ var l, o;
93
+ (o = (l = y.value) == null ? void 0 : l.fieldRef) == null || o.focus();
91
94
  }
92
- function T() {
95
+ function S() {
93
96
  var l;
94
- (l = x.value) == null || l.$el.focus();
97
+ (l = B.value) == null || l.$el.focus();
95
98
  }
96
- return H(
99
+ return j(
97
100
  () => e.loading,
98
101
  (l) => {
99
- !l && o.value && X(T);
102
+ !l && a.value && G(S);
100
103
  }
101
- ), (l, a) => {
102
- var u, c;
103
- return t(), f(
104
- R,
104
+ ), (l, o) => {
105
+ var c, f;
106
+ return t(), p(
107
+ A,
105
108
  null,
106
109
  [
107
- g(n(oe), z({
110
+ g(i(ie), {
108
111
  id: e.id,
109
112
  ref_key: "triggerEl",
110
- ref: v,
113
+ ref: y,
111
114
  label: e.label,
112
115
  required: e.required,
113
116
  role: "combobox",
114
- tabindex: e.disabled ? -1 : 0,
115
- class: [
117
+ class: J([
116
118
  "q-select",
117
119
  {
118
120
  "q-select--readonly": e.readonly,
119
121
  "q-select--disabled": e.disabled
120
122
  },
121
123
  e.class
122
- ],
124
+ ]),
123
125
  readonly: e.readonly,
124
126
  disabled: e.disabled,
125
127
  "data-loading": e.loading,
126
- "aria-expanded": o.value,
128
+ "aria-expanded": a.value,
127
129
  "aria-haspopup": "listbox",
128
130
  size: e.size,
129
- invalid: e.invalid
130
- }, l.$attrs, {
131
- onClick: C,
132
- onKeydown: $
133
- }), j({
134
- append: i(() => [
135
- d(l.$slots, "append"),
136
- V.value && p.value ? (t(), _(n(re), {
131
+ invalid: e.invalid,
132
+ onClick: T,
133
+ onKeydown: E
134
+ }, W({
135
+ append: s(() => [
136
+ r(l.$slots, "append"),
137
+ u.value && v.value ? (t(), w(i(fe), {
137
138
  key: 0,
138
139
  icons: e.icons,
139
140
  texts: e.texts,
140
- onClick: E
141
- }, null, 8, ["icons", "texts"])) : h("v-if", !0),
142
- e.readonly ? h("v-if", !0) : (t(), _(n(le), {
141
+ onClick: x
142
+ }, null, 8, ["icons", "texts"])) : _("v-if", !0),
143
+ e.readonly ? _("v-if", !0) : (t(), w(i(ne), {
143
144
  key: 1,
144
145
  class: "q-select__chevron",
145
146
  "aria-label": e.texts.showOptions,
@@ -148,11 +149,11 @@ const de = {
148
149
  borderless: "",
149
150
  tabindex: "-1",
150
151
  disabled: e.disabled,
151
- onClick: C
152
+ onClick: T
152
153
  }, {
153
- default: i(() => [
154
- g(n(se), {
155
- "model-value": o.value,
154
+ default: s(() => [
155
+ g(i(ce), {
156
+ "model-value": a.value,
156
157
  icons: e.icons
157
158
  }, null, 8, ["model-value", "icons"])
158
159
  ]),
@@ -160,107 +161,121 @@ const de = {
160
161
  /* STABLE */
161
162
  }, 8, ["aria-label", "disabled"]))
162
163
  ]),
163
- default: i(() => [
164
- O.value ? (t(), f("span", ue, [
165
- !e.readonly && !e.disabled ? (t(), f(
166
- R,
164
+ default: s(() => [
165
+ D.value ? (t(), p("span", me, [
166
+ !e.readonly && !e.disabled ? (t(), p(
167
+ A,
167
168
  { key: 0 },
168
169
  [
169
- G(
170
- A(e.texts.placeholder),
170
+ Z(
171
+ F(e.texts.placeholder),
171
172
  1
172
173
  /* TEXT */
173
174
  )
174
175
  ],
175
176
  64
176
177
  /* STABLE_FRAGMENT */
177
- )) : h("v-if", !0)
178
- ])) : (t(), f(
178
+ )) : _("v-if", !0)
179
+ ])) : (t(), p(
179
180
  "span",
180
- de,
181
- A(M.value),
181
+ pe,
182
+ F(q.value),
182
183
  1
183
184
  /* TEXT */
184
- ))
185
+ )),
186
+ Y(K("input", M({
187
+ id: `${e.id}_input`
188
+ }, l.$attrs, {
189
+ "onUpdate:modelValue": o[0] || (o[0] = (n) => q.value = n),
190
+ class: "q-select__input",
191
+ inputmode: "none",
192
+ type: "text",
193
+ autocomplete: "off",
194
+ tabindex: e.disabled ? -1 : 0,
195
+ "aria-keyshortcuts": u.value && !D.value ? "Delete" : void 0,
196
+ onKeydown: I
197
+ }), null, 16, ve), [
198
+ [ee, q.value]
199
+ ])
185
200
  ]),
186
201
  _: 2
187
202
  /* DYNAMIC */
188
203
  }, [
189
- (u = s.value) != null && u.icon || l.$slots.prepend ? {
204
+ (c = d.value) != null && c.icon || l.$slots.prepend ? {
190
205
  name: "prepend",
191
- fn: i(() => {
192
- var r, S;
206
+ fn: s(() => {
207
+ var n, z;
193
208
  return [
194
- d(l.$slots, "prepend"),
195
- (r = s.value) != null && r.icon ? (t(), _(
196
- n(ae),
197
- J(z({ key: 0 }, (S = s.value) == null ? void 0 : S.icon)),
209
+ r(l.$slots, "prepend"),
210
+ (n = d.value) != null && n.icon ? (t(), w(
211
+ i(se),
212
+ le(M({ key: 0 }, (z = d.value) == null ? void 0 : z.icon)),
198
213
  null,
199
214
  16
200
215
  /* FULL_PROPS */
201
- )) : h("v-if", !0)
216
+ )) : _("v-if", !0)
202
217
  ];
203
218
  }),
204
219
  key: "0"
205
220
  } : void 0,
206
221
  l.$slots.extras ? {
207
222
  name: "extras",
208
- fn: i(() => [
209
- d(l.$slots, "extras")
223
+ fn: s(() => [
224
+ r(l.$slots, "extras")
210
225
  ]),
211
226
  key: "1"
212
227
  } : void 0
213
- ]), 1040, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size", "invalid"]),
214
- g(n(ne), {
215
- modelValue: o.value,
216
- "onUpdate:modelValue": a[0] || (a[0] = (r) => o.value = r),
228
+ ]), 1032, ["id", "label", "required", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size", "invalid"]),
229
+ g(i(re), {
230
+ modelValue: a.value,
231
+ "onUpdate:modelValue": o[1] || (o[1] = (n) => a.value = n),
217
232
  spy: "",
218
233
  trigger: "manual",
219
234
  placement: "bottom-start",
220
235
  width: "anchor",
221
236
  "scroll-lock": "",
222
237
  inline: e.inline,
223
- anchor: (c = v.value) == null ? void 0 : c.fieldRef,
238
+ anchor: (f = y.value) == null ? void 0 : f.fieldRef,
224
239
  offset: 2,
225
- onEnter: U,
226
- onLeave: I
240
+ onEnter: N,
241
+ onLeave: P
227
242
  }, {
228
- default: i(() => [
229
- W("div", {
243
+ default: s(() => [
244
+ K("div", {
230
245
  ref_key: "contentRef",
231
- ref: w,
246
+ ref: V,
232
247
  "data-testid": "combobox-dropdown",
233
248
  "data-key": e.id,
234
249
  class: "q-select__body",
235
250
  tabindex: "-1",
236
- onFocusout: N,
237
- onKeydown: Y($, ["stop"])
251
+ onFocusout: U,
252
+ onKeydown: oe(E, ["stop"])
238
253
  }, [
239
- d(l.$slots, "body.prepend"),
240
- e.loading ? (t(), f("div", fe, [
241
- g(n(ie), { size: 24 })
242
- ])) : (t(), _(n(te), {
254
+ r(l.$slots, "body.prepend"),
255
+ e.loading ? (t(), p("div", be, [
256
+ g(i(ue), { size: 24 })
257
+ ])) : (t(), w(i(de), {
243
258
  key: 1,
244
259
  ref_key: "listRef",
245
- ref: x,
260
+ ref: B,
246
261
  class: "q-select__items",
247
262
  selectable: "",
248
263
  required: "",
249
- "model-value": p.value,
264
+ "model-value": v.value,
250
265
  items: e.items,
251
266
  groups: l.groups,
252
267
  "item-label": e.itemLabel,
253
268
  "item-value": e.itemValue,
254
- "onUpdate:modelValue": B
269
+ "onUpdate:modelValue": L
255
270
  }, {
256
- item: i(({ item: r }) => [
257
- d(l.$slots, "item", { item: r })
271
+ item: s(({ item: n }) => [
272
+ r(l.$slots, "item", { item: n })
258
273
  ]),
259
274
  _: 3
260
275
  /* FORWARDED */
261
276
  }, 8, ["model-value", "items", "groups", "item-label", "item-value"])),
262
- d(l.$slots, "body.append")
263
- ], 40, ce)
277
+ r(l.$slots, "body.append")
278
+ ], 40, ye)
264
279
  ]),
265
280
  _: 3
266
281
  /* FORWARDED */
@@ -273,5 +288,5 @@ const de = {
273
288
  }
274
289
  });
275
290
  export {
276
- Ve as default
291
+ Be as default
277
292
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quidgest/ui",
3
3
  "description": "Quidgest's UI framework",
4
- "version": "0.16.11",
4
+ "version": "0.16.13",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "author": "Quidgest",