@quidgest/ui 0.14.15 → 0.14.16
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.css +3 -3
- package/dist/ui.esm.js +40 -40
- package/dist/ui.js +3 -3
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +14 -14
- package/dist/ui.scss +4 -4
- package/esm/components/QBadge/QBadge.vue.js +2 -2
- package/esm/components/QCheckbox/QCheckbox.vue.js +3 -2
- package/esm/components/QColorPicker/QColorPicker.vue.js +4 -5
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +3 -2
- package/esm/components/QFileUpload/QFileUpload.vue.js +7 -8
- package/esm/components/QIcon/InlineSvg.d.ts.map +1 -1
- package/esm/components/QIcon/InlineSvg.js +16 -16
- package/esm/components/QPopover/QPopover.vue.js +2 -2
- package/esm/components/QTooltip/QTooltip.vue.js +2 -2
- package/package.json +1 -1
package/dist/ui.css
CHANGED
|
@@ -578,7 +578,7 @@ body *::-webkit-scrollbar-track {
|
|
|
578
578
|
display: flex;
|
|
579
579
|
flex-direction: row;
|
|
580
580
|
align-items: center;
|
|
581
|
-
padding: 0.
|
|
581
|
+
padding: 0.4rem;
|
|
582
582
|
border-width: 1px;
|
|
583
583
|
background-color: transparent;
|
|
584
584
|
user-select: none;
|
|
@@ -609,7 +609,7 @@ body *::-webkit-scrollbar-track {
|
|
|
609
609
|
justify-content: center;
|
|
610
610
|
font-size: 0.9rem;
|
|
611
611
|
white-space: nowrap;
|
|
612
|
-
gap: 0.
|
|
612
|
+
gap: 0.25rem;
|
|
613
613
|
pointer-events: none;
|
|
614
614
|
line-height: 1;
|
|
615
615
|
}
|
|
@@ -676,7 +676,7 @@ body *::-webkit-scrollbar-track {
|
|
|
676
676
|
visibility: hidden;
|
|
677
677
|
}
|
|
678
678
|
.q-btn--small {
|
|
679
|
-
padding: 0.
|
|
679
|
+
padding: 0.25rem;
|
|
680
680
|
}
|
|
681
681
|
.q-btn--small span {
|
|
682
682
|
font-size: 0.75rem;
|
package/dist/ui.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ var $s = (e, a, t) => a in e ? xs(e, a, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ye = (e, a, t) => $s(e, typeof a != "symbol" ? a + "" : a, t);
|
|
4
4
|
import { getCurrentInstance as tr, computed as M, ref as W, provide as Un, inject as Qn, unref as d, watch as Re, defineComponent as ge, mergeModels as ze, toRef as Tt, useModel as rt, createElementBlock as T, openBlock as p, normalizeClass as he, renderSlot as V, normalizeStyle as it, withModifiers as ft, createCommentVNode as z, createElementVNode as te, createVNode as De, Fragment as we, createTextVNode as st, toDisplayString as Te, createBlock as me, resolveDynamicComponent as jt, h as In, useAttrs as jn, withKeys as qa, withCtx as ee, normalizeProps as Ee, guardReactiveProps as Fe, useSlots as Xt, renderList as Be, createSlots as Qe, mergeProps as Ce, withDirectives as pa, vModelDynamic as Ds, vModelText as Ts, onMounted as Ge, onUnmounted as Vt, reactive as aa, nextTick as Ue, onBeforeUnmount as Ms, Teleport as ar, Transition as la, isRef as qn, render as kl, toValue as As, getCurrentScope as Ps, onScopeDispose as Cs, onBeforeUpdate as Ss, vShow as ja } from "vue";
|
|
5
5
|
/*!
|
|
6
|
-
* Quidgest UI v0.14.
|
|
6
|
+
* Quidgest UI v0.14.16
|
|
7
7
|
* (c) 2025 Quidgest - Consultores de Gestão, S.A.
|
|
8
8
|
* Released under the MIT License.
|
|
9
9
|
*/
|
|
@@ -354,19 +354,7 @@ const Ns = Ae(Es), Vs = ["id"], Ys = /* @__PURE__ */ ge({
|
|
|
354
354
|
}
|
|
355
355
|
}), Ma = {}, Gs = ge({
|
|
356
356
|
name: "InlineSvg",
|
|
357
|
-
emits: {
|
|
358
|
-
loaded: (e) => typeof e == "object",
|
|
359
|
-
unloaded: () => !0,
|
|
360
|
-
error: (e) => typeof e == "object"
|
|
361
|
-
},
|
|
362
357
|
inheritAttrs: !1,
|
|
363
|
-
render() {
|
|
364
|
-
if (!this.svgElSource) return null;
|
|
365
|
-
const e = this.getSvgContent(this.svgElSource);
|
|
366
|
-
if (!e) return In("div", this.$attrs);
|
|
367
|
-
const a = {};
|
|
368
|
-
return this.copySvgAttrs(a, this.svgElSource), this.copySvgAttrs(a, e), this.copyComponentAttrs(a, this.$attrs), a.innerHTML = e.innerHTML, In("svg", a);
|
|
369
|
-
},
|
|
370
358
|
props: {
|
|
371
359
|
/**
|
|
372
360
|
* The source URL of the SVG bundle.
|
|
@@ -406,12 +394,22 @@ const Ns = Ae(Es), Vs = ["id"], Ys = /* @__PURE__ */ ge({
|
|
|
406
394
|
default: !0
|
|
407
395
|
}
|
|
408
396
|
},
|
|
397
|
+
emits: {
|
|
398
|
+
loaded: (e) => typeof e == "object",
|
|
399
|
+
unloaded: () => !0,
|
|
400
|
+
error: (e) => typeof e == "object"
|
|
401
|
+
},
|
|
409
402
|
data() {
|
|
410
403
|
return {
|
|
411
404
|
/** @type SVGElement */
|
|
412
405
|
svgElSource: null
|
|
413
406
|
};
|
|
414
407
|
},
|
|
408
|
+
watch: {
|
|
409
|
+
src(e) {
|
|
410
|
+
this.getSource(e);
|
|
411
|
+
}
|
|
412
|
+
},
|
|
415
413
|
async mounted() {
|
|
416
414
|
await this.getSource(this.src);
|
|
417
415
|
},
|
|
@@ -453,10 +451,12 @@ const Ns = Ae(Es), Vs = ["id"], Ys = /* @__PURE__ */ ge({
|
|
|
453
451
|
return r;
|
|
454
452
|
}
|
|
455
453
|
},
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
454
|
+
render() {
|
|
455
|
+
if (!this.svgElSource) return null;
|
|
456
|
+
const e = this.getSvgContent(this.svgElSource);
|
|
457
|
+
if (!e) return In("div", this.$attrs);
|
|
458
|
+
const a = {};
|
|
459
|
+
return this.copySvgAttrs(a, this.svgElSource), this.copySvgAttrs(a, e), this.copyComponentAttrs(a, this.$attrs), a.innerHTML = e.innerHTML, In("svg", a);
|
|
460
460
|
},
|
|
461
461
|
expose: []
|
|
462
462
|
});
|
|
@@ -660,8 +660,8 @@ const so = {
|
|
|
660
660
|
class: "q-badge__remove",
|
|
661
661
|
borderless: "",
|
|
662
662
|
tabindex: "0",
|
|
663
|
-
|
|
664
|
-
|
|
663
|
+
"aria-label": t.texts.removeText,
|
|
664
|
+
onClick: m
|
|
665
665
|
}, {
|
|
666
666
|
default: ee(() => [
|
|
667
667
|
De(d(Je), Ee(Fe(t.icons.remove)), null, 16)
|
|
@@ -959,14 +959,15 @@ const so = {
|
|
|
959
959
|
type: "button",
|
|
960
960
|
class: "q-checkbox__input",
|
|
961
961
|
"aria-checked": a.indeterminate ? "mixed" : t.value,
|
|
962
|
-
disabled: a.disabled || a.readonly
|
|
962
|
+
disabled: a.disabled || a.readonly
|
|
963
|
+
}, r.$attrs, {
|
|
963
964
|
onClick: ft(l, ["prevent"]),
|
|
964
965
|
onKeydown: [
|
|
965
966
|
qa(ft(l, ["prevent"]), ["space"]),
|
|
966
967
|
s[0] || (s[0] = qa(ft(() => {
|
|
967
968
|
}, ["prevent"]), ["enter"]))
|
|
968
969
|
]
|
|
969
|
-
}
|
|
970
|
+
}), [
|
|
970
971
|
t.value || r.indeterminate ? (p(), me(d(Je), Ce({ key: 0 }, t.value ? a.icons.checked : a.icons.indeterminate, { class: "q-checkbox__input-icon" }), null, 16)) : z("", !0)
|
|
971
972
|
], 16, Oo),
|
|
972
973
|
a.labelPlacement === "right" ? (p(), me($l, {
|
|
@@ -1376,10 +1377,10 @@ const No = {
|
|
|
1376
1377
|
f && s(f) ? l.value = f : l.value = "";
|
|
1377
1378
|
}
|
|
1378
1379
|
return Re(t, c, { immediate: !0 }), (f, h) => (p(), me(d(Jn), {
|
|
1380
|
+
id: a.id,
|
|
1379
1381
|
modelValue: l.value,
|
|
1380
1382
|
"onUpdate:modelValue": h[1] || (h[1] = (g) => l.value = g),
|
|
1381
1383
|
maxlength: "7",
|
|
1382
|
-
id: a.id,
|
|
1383
1384
|
class: he(["q-color-picker", a.class]),
|
|
1384
1385
|
label: a.label,
|
|
1385
1386
|
size: a.size,
|
|
@@ -1403,9 +1404,8 @@ const No = {
|
|
|
1403
1404
|
class: "q-color-picker__swatch",
|
|
1404
1405
|
readonly: a.readonly,
|
|
1405
1406
|
disabled: r.value,
|
|
1406
|
-
"aria-label": a.texts.selectColor
|
|
1407
|
-
|
|
1408
|
-
}, f.$attrs), null, 16, ri), [
|
|
1407
|
+
"aria-label": a.texts.selectColor
|
|
1408
|
+
}, f.$attrs, { onChange: o }), null, 16, ri), [
|
|
1409
1409
|
[Ts, n.value]
|
|
1410
1410
|
])
|
|
1411
1411
|
]),
|
|
@@ -1425,7 +1425,7 @@ const No = {
|
|
|
1425
1425
|
]),
|
|
1426
1426
|
key: "1"
|
|
1427
1427
|
} : void 0
|
|
1428
|
-
]), 1032, ["
|
|
1428
|
+
]), 1032, ["id", "modelValue", "class", "label", "size", "readonly", "disabled", "required", "placeholder"]));
|
|
1429
1429
|
}
|
|
1430
1430
|
}), oi = Ae(si), ii = {
|
|
1431
1431
|
...tn,
|
|
@@ -11413,14 +11413,15 @@ const qm = ["value", "placeholder", "disabled", "readonly", "required", "onInput
|
|
|
11413
11413
|
placeholder: a.placeholder,
|
|
11414
11414
|
disabled: a.disabled,
|
|
11415
11415
|
readonly: a.readonly,
|
|
11416
|
-
required: a.required
|
|
11416
|
+
required: a.required
|
|
11417
|
+
}, O.$attrs, {
|
|
11417
11418
|
onInput: H,
|
|
11418
11419
|
onBlur: L,
|
|
11419
11420
|
onFocus: F,
|
|
11420
11421
|
onKeypress: q,
|
|
11421
11422
|
onKeydown: q,
|
|
11422
11423
|
onPaste: N
|
|
11423
|
-
}
|
|
11424
|
+
}), null, 16, qm)
|
|
11424
11425
|
]),
|
|
11425
11426
|
"clear-icon": ee(({ clear: I }) => [
|
|
11426
11427
|
De(d(an), {
|
|
@@ -11914,17 +11915,16 @@ const rp = ["id", "accept", "required", "readonly", "disabled"], sp = {
|
|
|
11914
11915
|
class: he(O.value)
|
|
11915
11916
|
}, [
|
|
11916
11917
|
te("input", Ce({
|
|
11918
|
+
id: d(n),
|
|
11917
11919
|
ref_key: "fileInput",
|
|
11918
11920
|
ref: s,
|
|
11919
|
-
id: d(n),
|
|
11920
11921
|
type: "file",
|
|
11921
11922
|
class: "q-file-input__file-input",
|
|
11922
11923
|
accept: P.value,
|
|
11923
11924
|
required: a.required,
|
|
11924
11925
|
readonly: a.readonly,
|
|
11925
|
-
disabled: a.disabled
|
|
11926
|
-
|
|
11927
|
-
}, b.$attrs), null, 16, rp),
|
|
11926
|
+
disabled: a.disabled
|
|
11927
|
+
}, b.$attrs, { onChange: u }), null, 16, rp),
|
|
11928
11928
|
!t.value && l.value ? (p(), T("div", sp, [
|
|
11929
11929
|
De(d(Je), Ee(Fe(a.icons.upload)), null, 16),
|
|
11930
11930
|
te("span", null, Te(a.texts.dropHereOr), 1),
|
|
@@ -11950,9 +11950,9 @@ const rp = ["id", "accept", "required", "readonly", "disabled"], sp = {
|
|
|
11950
11950
|
]),
|
|
11951
11951
|
l.value ? (p(), T("div", pp, [
|
|
11952
11952
|
De(d(wt), {
|
|
11953
|
-
onClick: m,
|
|
11954
11953
|
title: a.texts.download,
|
|
11955
|
-
borderless: ""
|
|
11954
|
+
borderless: "",
|
|
11955
|
+
onClick: m
|
|
11956
11956
|
}, {
|
|
11957
11957
|
default: ee(() => [
|
|
11958
11958
|
De(d(Je), Ee(Fe(a.icons.download)), null, 16)
|
|
@@ -11960,9 +11960,9 @@ const rp = ["id", "accept", "required", "readonly", "disabled"], sp = {
|
|
|
11960
11960
|
_: 1
|
|
11961
11961
|
}, 8, ["title"]),
|
|
11962
11962
|
De(d(wt), {
|
|
11963
|
-
onClick: c,
|
|
11964
11963
|
title: a.texts.remove,
|
|
11965
|
-
borderless: ""
|
|
11964
|
+
borderless: "",
|
|
11965
|
+
onClick: c
|
|
11966
11966
|
}, {
|
|
11967
11967
|
default: ee(() => [
|
|
11968
11968
|
De(d(Je), Ee(Fe(a.icons.remove)), null, 16)
|
|
@@ -12088,9 +12088,9 @@ const rp = ["id", "accept", "required", "readonly", "disabled"], sp = {
|
|
|
12088
12088
|
setup(e) {
|
|
12089
12089
|
const a = e, t = rt(e, "modelValue");
|
|
12090
12090
|
return (n, l) => (p(), me(d(sa), {
|
|
12091
|
+
id: a.id,
|
|
12091
12092
|
modelValue: t.value,
|
|
12092
12093
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => t.value = r),
|
|
12093
|
-
id: a.id,
|
|
12094
12094
|
class: he(["q-popover", a.class]),
|
|
12095
12095
|
trigger: "click",
|
|
12096
12096
|
anchor: a.anchor,
|
|
@@ -12114,7 +12114,7 @@ const rp = ["id", "accept", "required", "readonly", "disabled"], sp = {
|
|
|
12114
12114
|
])) : z("", !0)
|
|
12115
12115
|
]),
|
|
12116
12116
|
_: 3
|
|
12117
|
-
}, 8, ["
|
|
12117
|
+
}, 8, ["id", "modelValue", "class", "anchor", "arrow", "attach", "inline", "disabled", "placement"]));
|
|
12118
12118
|
}
|
|
12119
12119
|
}), Op = Ae(Sp), ys = {
|
|
12120
12120
|
emptyMessage: "Select a field to view details."
|
|
@@ -12712,9 +12712,9 @@ const rp = ["id", "accept", "required", "readonly", "disabled"], sp = {
|
|
|
12712
12712
|
props: { "aria-describedby": d(n) }
|
|
12713
12713
|
}),
|
|
12714
12714
|
De(d(sa), {
|
|
12715
|
+
id: d(n),
|
|
12715
12716
|
modelValue: t.value,
|
|
12716
12717
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => t.value = f),
|
|
12717
|
-
id: d(n),
|
|
12718
12718
|
anchor: a.anchor,
|
|
12719
12719
|
role: "tooltip",
|
|
12720
12720
|
"non-modal": "",
|
|
@@ -12740,7 +12740,7 @@ const rp = ["id", "accept", "required", "readonly", "disabled"], sp = {
|
|
|
12740
12740
|
])
|
|
12741
12741
|
]),
|
|
12742
12742
|
_: 3
|
|
12743
|
-
}, 8, ["
|
|
12743
|
+
}, 8, ["id", "modelValue", "anchor", "appearance", "arrow", "attach", "inline", "class", "delay", "disabled", "placement", "trigger"])
|
|
12744
12744
|
], 64));
|
|
12745
12745
|
}
|
|
12746
12746
|
}), iv = Ae(ov), uv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|