@digitalservicebund/ris-ui 3.9.0 → 3.11.0
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/components/RisExpandableText/RisExpandableText.vue.d.ts +2 -72
- package/dist/components/RisGhostButton/RisGhostButton.vue.d.ts +2 -4
- package/dist/components/RisSingleAccordion/RisSingleAccordion.vue.d.ts +2 -31
- package/dist/components/index.cjs +12 -11
- package/dist/components/index.cjs.map +1 -0
- package/dist/components/index.js +163 -161
- package/dist/components/index.js.map +1 -0
- package/dist/primevue/index.cjs +2 -1
- package/dist/primevue/index.cjs.map +1 -0
- package/dist/primevue/index.d.ts +3 -0
- package/dist/primevue/index.js +47 -23
- package/dist/primevue/index.js.map +1 -0
- package/dist/primevue/tooltip/tooltip.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/tailwind/index.cjs +1 -0
- package/dist/tailwind/index.cjs.map +1 -0
- package/dist/tailwind/index.js +1 -0
- package/dist/tailwind/index.js.map +1 -0
- package/package.json +14 -14
package/dist/components/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { markRaw as oe, createElementBlock as S, openBlock as m, createElementVNode as k, ref as
|
1
|
+
import { markRaw as oe, createElementBlock as S, openBlock as m, createElementVNode as k, ref as ee, readonly as oi, getCurrentInstance as At, onMounted as ln, nextTick as ri, watch as ai, useId as St, mergeProps as b, createBlock as L, renderSlot as T, Transition as un, withCtx as D, withDirectives as $t, createCommentVNode as E, resolveDynamicComponent as Q, vShow as si, normalizeClass as U, resolveDirective as dn, resolveComponent as fe, Fragment as de, renderList as Te, createVNode as B, toDisplayString as q, defineComponent as ke, mergeModels as Le, useModel as Ge, computed as cn, unref as A, Teleport as li, normalizeStyle as ui, createSlots as di, createTextVNode as Ce, useCssVars as ci, useTemplateRef as pi, watchEffect as fi, withKeys as tt, withModifiers as nt } from "vue";
|
2
2
|
import { Paginator as hi, Button as Vt, InputMask as mi, InputText as vi } from "primevue";
|
3
3
|
const gi = {
|
4
4
|
viewBox: "0 0 24 24",
|
@@ -272,9 +272,9 @@ function ji(t) {
|
|
272
272
|
function Di(t, e, n = !0) {
|
273
273
|
var i, r, o, s;
|
274
274
|
if (t) {
|
275
|
-
const l = t.offsetParent ? { width: t.offsetWidth, height: t.offsetHeight } : fn(t), a = l.height, u = l.width, d = e.offsetHeight, c = e.offsetWidth, p = e.getBoundingClientRect(), f = Ei(), v = Mi(),
|
276
|
-
let
|
277
|
-
p.top + d + a >
|
275
|
+
const l = t.offsetParent ? { width: t.offsetWidth, height: t.offsetHeight } : fn(t), a = l.height, u = l.width, d = e.offsetHeight, c = e.offsetWidth, p = e.getBoundingClientRect(), f = Ei(), v = Mi(), y = hn();
|
276
|
+
let g, $, O = "top";
|
277
|
+
p.top + d + a > y.height ? (g = p.top + f - a, O = "bottom", g < 0 && (g = f)) : g = d + p.top + f, p.left + u > y.width ? $ = Math.max(0, p.left + v + c - u) : $ = p.left + v, ji(t) ? t.style.insetInlineEnd = $ + "px" : t.style.insetInlineStart = $ + "px", t.style.top = g + "px", t.style.transformOrigin = O, n && (t.style.marginTop = O === "bottom" ? `calc(${(r = (i = it(/-anchor-gutter$/)) == null ? void 0 : i.value) != null ? r : "2px"} * -1)` : (s = (o = it(/-anchor-gutter$/)) == null ? void 0 : o.value) != null ? s : "");
|
278
278
|
}
|
279
279
|
}
|
280
280
|
function Ri(t, e) {
|
@@ -563,12 +563,12 @@ function ce(t, ...e) {
|
|
563
563
|
function ro(t, e = {}) {
|
564
564
|
const n = M.defaults.variable, { prefix: i = n.prefix, selector: r = n.selector, excludedKeyRegex: o = n.excludedKeyRegex } = e, s = (u, d = "") => Object.entries(u).reduce(
|
565
565
|
(c, [p, f]) => {
|
566
|
-
const v = he(p, o) ? vt(d) : vt(d, pn(p)),
|
567
|
-
if (me(
|
568
|
-
const { variables:
|
569
|
-
jt(c.tokens,
|
566
|
+
const v = he(p, o) ? vt(d) : vt(d, pn(p)), y = eo(f);
|
567
|
+
if (me(y)) {
|
568
|
+
const { variables: g, tokens: $ } = s(y, v);
|
569
|
+
jt(c.tokens, $), jt(c.variables, g);
|
570
570
|
} else
|
571
|
-
c.tokens.push((i ? v.replace(`${i}-`, "") : v).replaceAll("-", ".")), io(c.variables, $n(v), wn(
|
571
|
+
c.tokens.push((i ? v.replace(`${i}-`, "") : v).replaceAll("-", ".")), io(c.variables, $n(v), wn(y, v, i, [o]));
|
572
572
|
return c;
|
573
573
|
},
|
574
574
|
{ variables: [], tokens: [] }
|
@@ -627,27 +627,27 @@ var re = {
|
|
627
627
|
getCommon({ name: t = "", theme: e = {}, params: n, set: i, defaults: r }) {
|
628
628
|
var o, s, l, a, u, d, c;
|
629
629
|
const { preset: p, options: f } = e;
|
630
|
-
let v,
|
630
|
+
let v, y, g, $, O, w, h;
|
631
631
|
if (x(p) && f.transform !== "strict") {
|
632
|
-
const { primitive: C, semantic: V, extend: R } = p, N = V || {}, { colorScheme: H } = N, G = pe(N, ["colorScheme"]), z = R || {}, { colorScheme: K } = z, X = pe(z, ["colorScheme"]), J = H || {}, { dark: F } = J, Z = pe(J, ["dark"]),
|
633
|
-
v = this.transformCSS(t, Bn, "light", "variable", f, i, r),
|
632
|
+
const { primitive: C, semantic: V, extend: R } = p, N = V || {}, { colorScheme: H } = N, G = pe(N, ["colorScheme"]), z = R || {}, { colorScheme: K } = z, X = pe(z, ["colorScheme"]), J = H || {}, { dark: F } = J, Z = pe(J, ["dark"]), te = K || {}, { dark: ge } = te, se = pe(te, ["dark"]), ne = x(C) ? this._toVariables({ primitive: C }, f) : {}, le = x(G) ? this._toVariables({ semantic: G }, f) : {}, Se = x(Z) ? this._toVariables({ light: Z }, f) : {}, Je = x(F) ? this._toVariables({ dark: F }, f) : {}, Ie = x(X) ? this._toVariables({ semantic: X }, f) : {}, Tt = x(se) ? this._toVariables({ light: se }, f) : {}, Lt = x(ge) ? this._toVariables({ dark: ge }, f) : {}, [Bn, Nn] = [(o = ne.declarations) != null ? o : "", ne.tokens], [Kn, Fn] = [(s = le.declarations) != null ? s : "", le.tokens || []], [Hn, Un] = [(l = Se.declarations) != null ? l : "", Se.tokens || []], [Wn, qn] = [(a = Je.declarations) != null ? a : "", Je.tokens || []], [Gn, Zn] = [(u = Ie.declarations) != null ? u : "", Ie.tokens || []], [Yn, Xn] = [(d = Tt.declarations) != null ? d : "", Tt.tokens || []], [Jn, Qn] = [(c = Lt.declarations) != null ? c : "", Lt.tokens || []];
|
633
|
+
v = this.transformCSS(t, Bn, "light", "variable", f, i, r), y = Nn;
|
634
634
|
const ei = this.transformCSS(t, `${Kn}${Hn}`, "light", "variable", f, i, r), ti = this.transformCSS(t, `${Wn}`, "dark", "variable", f, i, r);
|
635
|
-
|
635
|
+
g = `${ei}${ti}`, $ = [.../* @__PURE__ */ new Set([...Fn, ...Un, ...qn])];
|
636
636
|
const ni = this.transformCSS(t, `${Gn}${Yn}color-scheme:light`, "light", "variable", f, i, r), ii = this.transformCSS(t, `${Jn}color-scheme:dark`, "dark", "variable", f, i, r);
|
637
|
-
O = `${ni}${ii}`,
|
637
|
+
O = `${ni}${ii}`, w = [.../* @__PURE__ */ new Set([...Zn, ...Xn, ...Qn])], h = ce`${p.css}`;
|
638
638
|
}
|
639
639
|
return {
|
640
640
|
primitive: {
|
641
641
|
css: v,
|
642
|
-
tokens:
|
642
|
+
tokens: y
|
643
643
|
},
|
644
644
|
semantic: {
|
645
|
-
css:
|
646
|
-
tokens:
|
645
|
+
css: g,
|
646
|
+
tokens: $
|
647
647
|
},
|
648
648
|
global: {
|
649
649
|
css: O,
|
650
|
-
tokens:
|
650
|
+
tokens: w
|
651
651
|
},
|
652
652
|
style: h
|
653
653
|
};
|
@@ -656,8 +656,8 @@ var re = {
|
|
656
656
|
var l, a, u;
|
657
657
|
let d, c, p;
|
658
658
|
if (x(e) && n.transform !== "strict") {
|
659
|
-
const f = t.replace("-directive", ""), v = e, { colorScheme:
|
660
|
-
d = `${le}${Se}`, c = [.../* @__PURE__ */ new Set([...Z, ...ge, ...
|
659
|
+
const f = t.replace("-directive", ""), v = e, { colorScheme: y, extend: g, css: $ } = v, O = pe(v, ["colorScheme", "extend", "css"]), w = g || {}, { colorScheme: h } = w, C = pe(w, ["colorScheme"]), V = y || {}, { dark: R } = V, N = pe(V, ["dark"]), H = h || {}, { dark: G } = H, z = pe(H, ["dark"]), K = x(O) ? this._toVariables({ [f]: ae(ae({}, O), C) }, n) : {}, X = x(N) ? this._toVariables({ [f]: ae(ae({}, N), z) }, n) : {}, J = x(R) ? this._toVariables({ [f]: ae(ae({}, R), G) }, n) : {}, [F, Z] = [(l = K.declarations) != null ? l : "", K.tokens || []], [te, ge] = [(a = X.declarations) != null ? a : "", X.tokens || []], [se, ne] = [(u = J.declarations) != null ? u : "", J.tokens || []], le = this.transformCSS(f, `${F}${te}`, "light", "variable", n, r, o, s), Se = this.transformCSS(f, se, "dark", "variable", n, r, o, s);
|
660
|
+
d = `${le}${Se}`, c = [.../* @__PURE__ */ new Set([...Z, ...ge, ...ne])], p = ce`${$}`;
|
661
661
|
}
|
662
662
|
return {
|
663
663
|
css: d,
|
@@ -719,12 +719,12 @@ var re = {
|
|
719
719
|
const c = /{([^}]*)}/g;
|
720
720
|
let p = s;
|
721
721
|
if (d.name = this.path, d.binding || (d.binding = {}), he(s, c)) {
|
722
|
-
const v = s.trim().replaceAll(c, (
|
722
|
+
const v = s.trim().replaceAll(c, ($) => {
|
723
723
|
var O;
|
724
|
-
const
|
724
|
+
const w = $.replace(/{|}/g, ""), h = (O = r[w]) == null ? void 0 : O.computed(u, d);
|
725
725
|
return st(h) && h.length === 2 ? `light-dark(${h[0].value},${h[1].value})` : h == null ? void 0 : h.value;
|
726
|
-
}),
|
727
|
-
p = he(v.replace(
|
726
|
+
}), y = /(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g, g = /var\([^)]+\)/g;
|
727
|
+
p = he(v.replace(g, "0"), y) ? `calc(${v})` : v;
|
728
728
|
}
|
729
729
|
return Ve(d.binding) && delete d.binding, {
|
730
730
|
colorScheme: u,
|
@@ -1074,17 +1074,17 @@ function co(t) {
|
|
1074
1074
|
}
|
1075
1075
|
var po = 0;
|
1076
1076
|
function fo(t) {
|
1077
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n =
|
1077
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = ee(!1), i = ee(t), r = ee(null), o = yn() ? window.document : void 0, s = e.document, l = s === void 0 ? o : s, a = e.immediate, u = a === void 0 ? !0 : a, d = e.manual, c = d === void 0 ? !1 : d, p = e.name, f = p === void 0 ? "style_".concat(++po) : p, v = e.id, y = v === void 0 ? void 0 : v, g = e.media, $ = g === void 0 ? void 0 : g, O = e.nonce, w = O === void 0 ? void 0 : O, h = e.first, C = h === void 0 ? !1 : h, V = e.onMounted, R = V === void 0 ? void 0 : V, N = e.onUpdated, H = N === void 0 ? void 0 : N, G = e.onLoad, z = G === void 0 ? void 0 : G, K = e.props, X = K === void 0 ? {} : K, J = function() {
|
1078
1078
|
}, F = function(ge) {
|
1079
1079
|
var se = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
1080
1080
|
if (l) {
|
1081
|
-
var
|
1081
|
+
var ne = Rt(Rt({}, X), se), le = ne.name || f, Se = ne.id || y, Je = ne.nonce || w;
|
1082
1082
|
r.value = l.querySelector('style[data-primevue-style-id="'.concat(le, '"]')) || l.getElementById(Se) || l.createElement("style"), r.value.isConnected || (i.value = ge || t, ot(r.value, {
|
1083
1083
|
type: "text/css",
|
1084
1084
|
id: Se,
|
1085
|
-
media:
|
1085
|
+
media: $,
|
1086
1086
|
nonce: Je
|
1087
|
-
}), C ? l.head.prepend(r.value) : l.head.appendChild(r.value), qi(r.value, "data-primevue-style-id", le), ot(r.value,
|
1087
|
+
}), C ? l.head.prepend(r.value) : l.head.appendChild(r.value), qi(r.value, "data-primevue-style-id", le), ot(r.value, ne), r.value.onload = function(Ie) {
|
1088
1088
|
return z == null ? void 0 : z(Ie, {
|
1089
1089
|
name: le
|
1090
1090
|
});
|
@@ -1098,7 +1098,7 @@ function fo(t) {
|
|
1098
1098
|
!l || !n.value || (J(), Ni(r.value) && l.head.removeChild(r.value), n.value = !1, r.value = null);
|
1099
1099
|
};
|
1100
1100
|
return u && !c && co(F), {
|
1101
|
-
id:
|
1101
|
+
id: y,
|
1102
1102
|
name: f,
|
1103
1103
|
el: r,
|
1104
1104
|
css: i,
|
@@ -1445,8 +1445,8 @@ var ve = {
|
|
1445
1445
|
beforeCreate: function() {
|
1446
1446
|
var e, n, i, r, o, s, l, a, u, d, c, p = (e = this.pt) === null || e === void 0 ? void 0 : e._usept, f = p ? (n = this.pt) === null || n === void 0 || (n = n.originalValue) === null || n === void 0 ? void 0 : n[this.$.type.name] : void 0, v = p ? (i = this.pt) === null || i === void 0 || (i = i.value) === null || i === void 0 ? void 0 : i[this.$.type.name] : this.pt;
|
1447
1447
|
(r = v || f) === null || r === void 0 || (r = r.hooks) === null || r === void 0 || (o = r.onBeforeCreate) === null || o === void 0 || o.call(r);
|
1448
|
-
var
|
1449
|
-
(d =
|
1448
|
+
var y = (s = this.$primevueConfig) === null || s === void 0 || (s = s.pt) === null || s === void 0 ? void 0 : s._usept, g = y ? (l = this.$primevue) === null || l === void 0 || (l = l.config) === null || l === void 0 || (l = l.pt) === null || l === void 0 ? void 0 : l.originalValue : void 0, $ = y ? (a = this.$primevue) === null || a === void 0 || (a = a.config) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a.value : (u = this.$primevue) === null || u === void 0 || (u = u.config) === null || u === void 0 ? void 0 : u.pt;
|
1449
|
+
(d = $ || g) === null || d === void 0 || (d = d[this.$.type.name]) === null || d === void 0 || (d = d.hooks) === null || d === void 0 || (c = d.onBeforeCreate) === null || c === void 0 || c.call(d), this.$attrSelector = Co(), this.uid = this.$attrs.id || this.$attrSelector.replace("pc", "pv_id_");
|
1450
1450
|
},
|
1451
1451
|
created: function() {
|
1452
1452
|
this._hook("onCreated");
|
@@ -1517,16 +1517,16 @@ var ve = {
|
|
1517
1517
|
}, this.$styleOptions), u), M.setLoadedStyleName("common");
|
1518
1518
|
}
|
1519
1519
|
if (!M.isStyleNameLoaded((e = this.$style) === null || e === void 0 ? void 0 : e.name) && (n = this.$style) !== null && n !== void 0 && n.name) {
|
1520
|
-
var d, c, p, f, v = ((d = this.$style) === null || d === void 0 || (c = d.getComponentTheme) === null || c === void 0 ? void 0 : c.call(d)) || {},
|
1521
|
-
(p = this.$style) === null || p === void 0 || p.load(
|
1520
|
+
var d, c, p, f, v = ((d = this.$style) === null || d === void 0 || (c = d.getComponentTheme) === null || c === void 0 ? void 0 : c.call(d)) || {}, y = v.css, g = v.style;
|
1521
|
+
(p = this.$style) === null || p === void 0 || p.load(y, I({
|
1522
1522
|
name: "".concat(this.$style.name, "-variables")
|
1523
1523
|
}, this.$styleOptions)), (f = this.$style) === null || f === void 0 || f.loadStyle(I({
|
1524
1524
|
name: "".concat(this.$style.name, "-style")
|
1525
|
-
}, this.$styleOptions),
|
1525
|
+
}, this.$styleOptions), g), M.setLoadedStyleName(this.$style.name);
|
1526
1526
|
}
|
1527
1527
|
if (!M.isStyleNameLoaded("layer-order")) {
|
1528
|
-
var
|
1529
|
-
j.load(
|
1528
|
+
var $, O, w = ($ = this.$style) === null || $ === void 0 || (O = $.getLayerOrderThemeCSS) === null || O === void 0 ? void 0 : O.call($);
|
1529
|
+
j.load(w, I({
|
1530
1530
|
name: "layer-order",
|
1531
1531
|
first: !0
|
1532
1532
|
}, this.$styleOptions)), M.setLoadedStyleName("layer-order");
|
@@ -1600,8 +1600,8 @@ var ve = {
|
|
1600
1600
|
} : o(e, !0);
|
1601
1601
|
},
|
1602
1602
|
_usePT: function(e, n, i, r) {
|
1603
|
-
var o = function(
|
1604
|
-
return n(
|
1603
|
+
var o = function(y) {
|
1604
|
+
return n(y, i, r);
|
1605
1605
|
};
|
1606
1606
|
if (e != null && e.hasOwnProperty("_usept")) {
|
1607
1607
|
var s, l = e._usept || ((s = this.$primevueConfig) === null || s === void 0 ? void 0 : s.ptOptions) || {}, a = l.mergeSections, u = a === void 0 ? !0 : a, d = l.mergeProps, c = d === void 0 ? !1 : d, p = o(e.originalValue), f = o(e.value);
|
@@ -2090,10 +2090,10 @@ var _ = {
|
|
2090
2090
|
return Y(O) || st(O) ? {
|
2091
2091
|
class: O
|
2092
2092
|
} : O;
|
2093
|
-
}, u = ((e = i.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((n = i.$primevueConfig) === null || n === void 0 ? void 0 : n.ptOptions) || {}, d = u.mergeSections, c = d === void 0 ? !0 : d, p = u.mergeProps, f = p === void 0 ? !1 : p, v = l ? _._useDefaultPT(i, i.defaultPT(), a, o, s) : void 0,
|
2093
|
+
}, u = ((e = i.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((n = i.$primevueConfig) === null || n === void 0 ? void 0 : n.ptOptions) || {}, d = u.mergeSections, c = d === void 0 ? !0 : d, p = u.mergeProps, f = p === void 0 ? !1 : p, v = l ? _._useDefaultPT(i, i.defaultPT(), a, o, s) : void 0, y = _._usePT(i, _._getPT(r, i.$name), a, o, P(P({}, s), {}, {
|
2094
2094
|
global: v || {}
|
2095
|
-
})),
|
2096
|
-
return c || !c &&
|
2095
|
+
})), g = _._getPTDatasets(i, o);
|
2096
|
+
return c || !c && y ? f ? _._mergeProps(i, f, v, y, g) : P(P(P({}, v), y), g) : P(P({}, y), g);
|
2097
2097
|
},
|
2098
2098
|
_getPTDatasets: function() {
|
2099
2099
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", i = "data-pc-";
|
@@ -2111,8 +2111,8 @@ var _ = {
|
|
2111
2111
|
} : r(e);
|
2112
2112
|
},
|
2113
2113
|
_usePT: function() {
|
2114
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, i = arguments.length > 2 ? arguments[2] : void 0, r = arguments.length > 3 ? arguments[3] : void 0, o = arguments.length > 4 ? arguments[4] : void 0, s = function(
|
2115
|
-
return i(
|
2114
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, i = arguments.length > 2 ? arguments[2] : void 0, r = arguments.length > 3 ? arguments[3] : void 0, o = arguments.length > 4 ? arguments[4] : void 0, s = function(g) {
|
2115
|
+
return i(g, r, o);
|
2116
2116
|
};
|
2117
2117
|
if (n && Object.hasOwn(n, "_usept")) {
|
2118
2118
|
var l, a = n._usept || ((l = e.$primevueConfig) === null || l === void 0 ? void 0 : l.ptOptions) || {}, u = a.mergeSections, d = u === void 0 ? !0 : u, c = a.mergeProps, p = c === void 0 ? !1 : c, f = s(n.originalValue), v = s(n.value);
|
@@ -2155,12 +2155,12 @@ var _ = {
|
|
2155
2155
|
}, o), p), M.setLoadedStyleName("common");
|
2156
2156
|
}
|
2157
2157
|
if (!M.isStyleNameLoaded((n = r.$style) === null || n === void 0 ? void 0 : n.name) && (i = r.$style) !== null && i !== void 0 && i.name) {
|
2158
|
-
var f, v,
|
2159
|
-
(
|
2158
|
+
var f, v, y, g, $ = ((f = r.$style) === null || f === void 0 || (v = f.getDirectiveTheme) === null || v === void 0 ? void 0 : v.call(f)) || {}, O = $.css, w = $.style;
|
2159
|
+
(y = r.$style) === null || y === void 0 || y.load(O, P({
|
2160
2160
|
name: "".concat(r.$style.name, "-variables")
|
2161
|
-
}, o)), (
|
2161
|
+
}, o)), (g = r.$style) === null || g === void 0 || g.loadStyle(P({
|
2162
2162
|
name: "".concat(r.$style.name, "-style")
|
2163
|
-
}, o),
|
2163
|
+
}, o), w), M.setLoadedStyleName(r.$style.name);
|
2164
2164
|
}
|
2165
2165
|
if (!M.isStyleNameLoaded("layer-order")) {
|
2166
2166
|
var h, C, V = (h = r.$style) === null || h === void 0 || (C = h.getLayerOrderThemeCSS) === null || C === void 0 ? void 0 : C.call(h);
|
@@ -2206,17 +2206,17 @@ var _ = {
|
|
2206
2206
|
},
|
2207
2207
|
_extend: function(e) {
|
2208
2208
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = function(l, a, u, d, c) {
|
2209
|
-
var p, f, v,
|
2209
|
+
var p, f, v, y;
|
2210
2210
|
a._$instances = a._$instances || {};
|
2211
|
-
var
|
2212
|
-
a._$instances[e] = P(P({},
|
2211
|
+
var g = _._getConfig(u, d), $ = a._$instances[e] || {}, O = Ve($) ? P(P({}, n), n == null ? void 0 : n.methods) : {};
|
2212
|
+
a._$instances[e] = P(P({}, $), {}, {
|
2213
2213
|
/* new instance variables to pass in directive methods */
|
2214
2214
|
$name: e,
|
2215
2215
|
$host: a,
|
2216
2216
|
$binding: u,
|
2217
2217
|
$modifiers: u == null ? void 0 : u.modifiers,
|
2218
2218
|
$value: u == null ? void 0 : u.value,
|
2219
|
-
$el:
|
2219
|
+
$el: $.$el || a || void 0,
|
2220
2220
|
$style: P({
|
2221
2221
|
classes: void 0,
|
2222
2222
|
inlineStyles: void 0,
|
@@ -2227,18 +2227,18 @@ var _ = {
|
|
2227
2227
|
loadStyle: function() {
|
2228
2228
|
}
|
2229
2229
|
}, n == null ? void 0 : n.style),
|
2230
|
-
$primevueConfig:
|
2230
|
+
$primevueConfig: g,
|
2231
2231
|
$attrSelector: (p = a.$pd) === null || p === void 0 || (p = p[e]) === null || p === void 0 ? void 0 : p.attrSelector,
|
2232
2232
|
/* computed instance variables */
|
2233
2233
|
defaultPT: function() {
|
2234
|
-
return _._getPT(
|
2234
|
+
return _._getPT(g == null ? void 0 : g.pt, void 0, function(h) {
|
2235
2235
|
var C;
|
2236
2236
|
return h == null || (C = h.directives) === null || C === void 0 ? void 0 : C[e];
|
2237
2237
|
});
|
2238
2238
|
},
|
2239
2239
|
isUnstyled: function() {
|
2240
2240
|
var h, C;
|
2241
|
-
return ((h = a._$instances[e]) === null || h === void 0 || (h = h.$binding) === null || h === void 0 || (h = h.value) === null || h === void 0 ? void 0 : h.unstyled) !== void 0 ? (C = a._$instances[e]) === null || C === void 0 || (C = C.$binding) === null || C === void 0 || (C = C.value) === null || C === void 0 ? void 0 : C.unstyled :
|
2241
|
+
return ((h = a._$instances[e]) === null || h === void 0 || (h = h.$binding) === null || h === void 0 || (h = h.value) === null || h === void 0 ? void 0 : h.unstyled) !== void 0 ? (C = a._$instances[e]) === null || C === void 0 || (C = C.$binding) === null || C === void 0 || (C = C.value) === null || C === void 0 ? void 0 : C.unstyled : g == null ? void 0 : g.unstyled;
|
2242
2242
|
},
|
2243
2243
|
theme: function() {
|
2244
2244
|
var h;
|
@@ -2265,17 +2265,17 @@ var _ = {
|
|
2265
2265
|
var h, C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, R = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
2266
2266
|
return V ? _._getOptionValue((h = a._$instances[e]) === null || h === void 0 || (h = h.$style) === null || h === void 0 ? void 0 : h.inlineStyles, C, P({}, R)) : void 0;
|
2267
2267
|
}
|
2268
|
-
}, O), a.$instance = a._$instances[e], (f = (v = a.$instance)[l]) === null || f === void 0 || f.call(v, a, u, d, c), a["$".concat(e)] = a.$instance, _._hook(e, l, a, u, d, c), a.$pd || (a.$pd = {}), a.$pd[e] = P(P({}, (
|
2268
|
+
}, O), a.$instance = a._$instances[e], (f = (v = a.$instance)[l]) === null || f === void 0 || f.call(v, a, u, d, c), a["$".concat(e)] = a.$instance, _._hook(e, l, a, u, d, c), a.$pd || (a.$pd = {}), a.$pd[e] = P(P({}, (y = a.$pd) === null || y === void 0 ? void 0 : y[e]), {}, {
|
2269
2269
|
name: e,
|
2270
2270
|
instance: a._$instances[e]
|
2271
2271
|
});
|
2272
2272
|
}, r = function(l) {
|
2273
|
-
var a, u, d, c = l._$instances[e], p = c == null ? void 0 : c.watch, f = function(
|
2274
|
-
var
|
2275
|
-
return p == null || (
|
2276
|
-
}, v = function(
|
2277
|
-
var
|
2278
|
-
return p == null || (
|
2273
|
+
var a, u, d, c = l._$instances[e], p = c == null ? void 0 : c.watch, f = function(g) {
|
2274
|
+
var $, O = g.newValue, w = g.oldValue;
|
2275
|
+
return p == null || ($ = p.config) === null || $ === void 0 ? void 0 : $.call(c, O, w);
|
2276
|
+
}, v = function(g) {
|
2277
|
+
var $, O = g.newValue, w = g.oldValue;
|
2278
|
+
return p == null || ($ = p["config.ripple"]) === null || $ === void 0 ? void 0 : $.call(c, O, w);
|
2279
2279
|
};
|
2280
2280
|
c.$watchersCallback = {
|
2281
2281
|
config: f,
|
@@ -3061,7 +3061,7 @@ const yr = { class: "flex flex-col gap-4" }, br = { class: "flex flex-col gap-4"
|
|
3061
3061
|
}),
|
3062
3062
|
emits: ["update:modelValue"],
|
3063
3063
|
setup(t) {
|
3064
|
-
const e =
|
3064
|
+
const e = ee(!1), n = t, i = Ge(t, "modelValue"), r = cn({
|
3065
3065
|
get: () => i.value ? "0" : "",
|
3066
3066
|
set: (o) => {
|
3067
3067
|
i.value = o === "0";
|
@@ -4110,12 +4110,12 @@ var En = {
|
|
4110
4110
|
return R > -1;
|
4111
4111
|
}) : e > -1;
|
4112
4112
|
if (s) {
|
4113
|
-
var l = this.first, a = this.element, u = a.scrollTop, d = u === void 0 ? 0 : u, c = a.scrollLeft, p = c === void 0 ? 0 : c, f = this.calculateNumItems(), v = f.numToleratedItems,
|
4113
|
+
var l = this.first, a = this.element, u = a.scrollTop, d = u === void 0 ? 0 : u, c = a.scrollLeft, p = c === void 0 ? 0 : c, f = this.calculateNumItems(), v = f.numToleratedItems, y = this.getContentPosition(), g = this.itemSize, $ = function() {
|
4114
4114
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, H = arguments.length > 1 ? arguments[1] : void 0;
|
4115
4115
|
return N <= H ? 0 : N;
|
4116
4116
|
}, O = function(N, H, G) {
|
4117
4117
|
return N * H + G;
|
4118
|
-
},
|
4118
|
+
}, w = function() {
|
4119
4119
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, H = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
4120
4120
|
return n.scrollTo({
|
4121
4121
|
left: N,
|
@@ -4127,22 +4127,22 @@ var En = {
|
|
4127
4127
|
cols: 0
|
4128
4128
|
} : 0, C = !1, V = !1;
|
4129
4129
|
r ? (h = {
|
4130
|
-
rows:
|
4131
|
-
cols:
|
4132
|
-
},
|
4130
|
+
rows: $(e[0], v[0]),
|
4131
|
+
cols: $(e[1], v[1])
|
4132
|
+
}, w(O(h.cols, g[1], y.left), O(h.rows, g[0], y.top)), V = this.lastScrollPos.top !== d || this.lastScrollPos.left !== p, C = h.rows !== l.rows || h.cols !== l.cols) : (h = $(e, v), o ? w(O(h, g, y.left), d) : w(p, O(h, g, y.top)), V = this.lastScrollPos !== (o ? p : d), C = h !== l), this.isRangeChanged = C, V && (this.first = h);
|
4133
4133
|
}
|
4134
4134
|
},
|
4135
4135
|
scrollInView: function(e, n) {
|
4136
4136
|
var i = this, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "auto";
|
4137
4137
|
if (n) {
|
4138
|
-
var o = this.isBoth(), s = this.isHorizontal(), l = o ? e.every(function(
|
4139
|
-
return
|
4138
|
+
var o = this.isBoth(), s = this.isHorizontal(), l = o ? e.every(function(g) {
|
4139
|
+
return g > -1;
|
4140
4140
|
}) : e > -1;
|
4141
4141
|
if (l) {
|
4142
4142
|
var a = this.getRenderedRange(), u = a.first, d = a.viewport, c = function() {
|
4143
|
-
var
|
4143
|
+
var $ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
4144
4144
|
return i.scrollTo({
|
4145
|
-
left:
|
4145
|
+
left: $,
|
4146
4146
|
top: O,
|
4147
4147
|
behavior: r
|
4148
4148
|
});
|
@@ -4158,8 +4158,8 @@ var En = {
|
|
4158
4158
|
if (o)
|
4159
4159
|
d.last.rows - u.rows <= e[0] + 1 ? c(d.first.cols * this.itemSize[1], (d.first.rows + 1) * this.itemSize[0]) : d.last.cols - u.cols <= e[1] + 1 && c((d.first.cols + 1) * this.itemSize[1], d.first.rows * this.itemSize[0]);
|
4160
4160
|
else if (d.last - u <= e + 1) {
|
4161
|
-
var
|
4162
|
-
s ? c(
|
4161
|
+
var y = (d.first + 1) * this.itemSize;
|
4162
|
+
s ? c(y, 0) : c(0, y);
|
4163
4163
|
}
|
4164
4164
|
}
|
4165
4165
|
}
|
@@ -4316,34 +4316,34 @@ var En = {
|
|
4316
4316
|
return Math.floor(z / (K || z));
|
4317
4317
|
}, u = function(z, K, X, J, F, Z) {
|
4318
4318
|
return z <= F ? F : Z ? X - J - F : K + F - 1;
|
4319
|
-
}, d = function(z, K, X, J, F, Z,
|
4319
|
+
}, d = function(z, K, X, J, F, Z, te, ge) {
|
4320
4320
|
if (z <= Z) return 0;
|
4321
|
-
var se = Math.max(0,
|
4322
|
-
return se >
|
4321
|
+
var se = Math.max(0, te ? z < K ? X : z - Z : z > K ? X : z - 2 * Z), ne = n.getLast(se, ge);
|
4322
|
+
return se > ne ? ne - F : se;
|
4323
4323
|
}, c = function(z, K, X, J, F, Z) {
|
4324
|
-
var
|
4325
|
-
return z >= F && (
|
4324
|
+
var te = K + J + 2 * F;
|
4325
|
+
return z >= F && (te += F + 1), n.getLast(te, Z);
|
4326
4326
|
}, p = l(i.scrollTop, s.top), f = l(i.scrollLeft, s.left), v = r ? {
|
4327
4327
|
rows: 0,
|
4328
4328
|
cols: 0
|
4329
|
-
} : 0,
|
4329
|
+
} : 0, y = this.last, g = !1, $ = this.lastScrollPos;
|
4330
4330
|
if (r) {
|
4331
|
-
var O = this.lastScrollPos.top <= p,
|
4332
|
-
if (!this.appendOnly || this.appendOnly && (O ||
|
4331
|
+
var O = this.lastScrollPos.top <= p, w = this.lastScrollPos.left <= f;
|
4332
|
+
if (!this.appendOnly || this.appendOnly && (O || w)) {
|
4333
4333
|
var h = {
|
4334
4334
|
rows: a(p, this.itemSize[0]),
|
4335
4335
|
cols: a(f, this.itemSize[1])
|
4336
4336
|
}, C = {
|
4337
4337
|
rows: u(h.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], O),
|
4338
|
-
cols: u(h.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1],
|
4338
|
+
cols: u(h.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], w)
|
4339
4339
|
};
|
4340
4340
|
v = {
|
4341
4341
|
rows: d(h.rows, C.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], O),
|
4342
|
-
cols: d(h.cols, C.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1],
|
4343
|
-
},
|
4342
|
+
cols: d(h.cols, C.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], w, !0)
|
4343
|
+
}, y = {
|
4344
4344
|
rows: c(h.rows, v.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
|
4345
4345
|
cols: c(h.cols, v.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], !0)
|
4346
|
-
},
|
4346
|
+
}, g = v.rows !== this.first.rows || y.rows !== this.last.rows || v.cols !== this.first.cols || y.cols !== this.last.cols || this.isRangeChanged, $ = {
|
4347
4347
|
top: p,
|
4348
4348
|
left: f
|
4349
4349
|
};
|
@@ -4352,14 +4352,14 @@ var En = {
|
|
4352
4352
|
var V = o ? f : p, R = this.lastScrollPos <= V;
|
4353
4353
|
if (!this.appendOnly || this.appendOnly && R) {
|
4354
4354
|
var N = a(V, this.itemSize), H = u(N, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, R);
|
4355
|
-
v = d(N, H, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, R),
|
4355
|
+
v = d(N, H, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, R), y = c(N, v, this.last, this.numItemsInViewport, this.d_numToleratedItems), g = v !== this.first || y !== this.last || this.isRangeChanged, $ = V;
|
4356
4356
|
}
|
4357
4357
|
}
|
4358
4358
|
return {
|
4359
4359
|
first: v,
|
4360
|
-
last:
|
4361
|
-
isRangeChanged:
|
4362
|
-
scrollPos:
|
4360
|
+
last: y,
|
4361
|
+
isRangeChanged: g,
|
4362
|
+
scrollPos: $
|
4363
4363
|
};
|
4364
4364
|
},
|
4365
4365
|
onScrollChange: function(e) {
|
@@ -5859,8 +5859,8 @@ function Aa(t, e, n, i, r, o) {
|
|
5859
5859
|
class: t.cx("pcChip"),
|
5860
5860
|
value: p,
|
5861
5861
|
index: f,
|
5862
|
-
removeCallback: function(
|
5863
|
-
return o.removeOption(
|
5862
|
+
removeCallback: function(y) {
|
5863
|
+
return o.removeOption(y, f);
|
5864
5864
|
},
|
5865
5865
|
ref_for: !0
|
5866
5866
|
}, t.ptm("pcChip")), function() {
|
@@ -5870,8 +5870,8 @@ function Aa(t, e, n, i, r, o) {
|
|
5870
5870
|
removeIcon: t.chipIcon || t.removeTokenIcon,
|
5871
5871
|
removable: "",
|
5872
5872
|
unstyled: t.unstyled,
|
5873
|
-
onRemove: function(
|
5874
|
-
return o.removeOption(
|
5873
|
+
onRemove: function(y) {
|
5874
|
+
return o.removeOption(y, f);
|
5875
5875
|
},
|
5876
5876
|
"data-p-focused": r.focusedMultipleOptionIndex === f,
|
5877
5877
|
pt: t.ptm("pcChip")
|
@@ -5880,8 +5880,8 @@ function Aa(t, e, n, i, r, o) {
|
|
5880
5880
|
return [T(t.$slots, t.$slots.chipicon ? "chipicon" : "removetokenicon", {
|
5881
5881
|
class: U(t.cx("chipIcon")),
|
5882
5882
|
index: f,
|
5883
|
-
removeCallback: function(
|
5884
|
-
return o.removeOption(
|
5883
|
+
removeCallback: function(y) {
|
5884
|
+
return o.removeOption(y, f);
|
5885
5885
|
}
|
5886
5886
|
})];
|
5887
5887
|
}),
|
@@ -6017,22 +6017,22 @@ function Aa(t, e, n, i, r, o) {
|
|
6017
6017
|
pt: t.ptm("virtualScroller")
|
6018
6018
|
}), di({
|
6019
6019
|
content: D(function(p) {
|
6020
|
-
var f = p.styleClass, v = p.contentRef,
|
6020
|
+
var f = p.styleClass, v = p.contentRef, y = p.items, g = p.getItemOptions, $ = p.contentStyle, O = p.itemSize;
|
6021
6021
|
return [k("ul", b({
|
6022
6022
|
ref: function(h) {
|
6023
6023
|
return o.listRef(h, v);
|
6024
6024
|
},
|
6025
6025
|
id: t.$id + "_list",
|
6026
6026
|
class: [t.cx("list"), f],
|
6027
|
-
style:
|
6027
|
+
style: $,
|
6028
6028
|
role: "listbox",
|
6029
6029
|
"aria-label": o.listAriaLabel
|
6030
|
-
}, t.ptm("list")), [(m(!0), S(de, null, Te(
|
6030
|
+
}, t.ptm("list")), [(m(!0), S(de, null, Te(y, function(w, h) {
|
6031
6031
|
return m(), S(de, {
|
6032
|
-
key: o.getOptionRenderKey(
|
6033
|
-
}, [o.isOptionGroup(
|
6032
|
+
key: o.getOptionRenderKey(w, o.getOptionIndex(h, g))
|
6033
|
+
}, [o.isOptionGroup(w) ? (m(), S("li", b({
|
6034
6034
|
key: 0,
|
6035
|
-
id: t.$id + "_" + o.getOptionIndex(h,
|
6035
|
+
id: t.$id + "_" + o.getOptionIndex(h, g),
|
6036
6036
|
style: {
|
6037
6037
|
height: O ? O + "px" : void 0
|
6038
6038
|
},
|
@@ -6040,44 +6040,44 @@ function Aa(t, e, n, i, r, o) {
|
|
6040
6040
|
role: "option",
|
6041
6041
|
ref_for: !0
|
6042
6042
|
}, t.ptm("optionGroup")), [T(t.$slots, "optiongroup", {
|
6043
|
-
option:
|
6044
|
-
index: o.getOptionIndex(h,
|
6043
|
+
option: w.optionGroup,
|
6044
|
+
index: o.getOptionIndex(h, g)
|
6045
6045
|
}, function() {
|
6046
|
-
return [Ce(q(o.getOptionGroupLabel(
|
6046
|
+
return [Ce(q(o.getOptionGroupLabel(w.optionGroup)), 1)];
|
6047
6047
|
})], 16, Ta)) : $t((m(), S("li", b({
|
6048
6048
|
key: 1,
|
6049
|
-
id: t.$id + "_" + o.getOptionIndex(h,
|
6049
|
+
id: t.$id + "_" + o.getOptionIndex(h, g),
|
6050
6050
|
style: {
|
6051
6051
|
height: O ? O + "px" : void 0
|
6052
6052
|
},
|
6053
6053
|
class: t.cx("option", {
|
6054
|
-
option:
|
6054
|
+
option: w,
|
6055
6055
|
i: h,
|
6056
|
-
getItemOptions:
|
6056
|
+
getItemOptions: g
|
6057
6057
|
}),
|
6058
6058
|
role: "option",
|
6059
|
-
"aria-label": o.getOptionLabel(
|
6060
|
-
"aria-selected": o.isSelected(
|
6061
|
-
"aria-disabled": o.isOptionDisabled(
|
6059
|
+
"aria-label": o.getOptionLabel(w),
|
6060
|
+
"aria-selected": o.isSelected(w),
|
6061
|
+
"aria-disabled": o.isOptionDisabled(w),
|
6062
6062
|
"aria-setsize": o.ariaSetSize,
|
6063
|
-
"aria-posinset": o.getAriaPosInset(o.getOptionIndex(h,
|
6063
|
+
"aria-posinset": o.getAriaPosInset(o.getOptionIndex(h, g)),
|
6064
6064
|
onClick: function(V) {
|
6065
|
-
return o.onOptionSelect(V,
|
6065
|
+
return o.onOptionSelect(V, w);
|
6066
6066
|
},
|
6067
6067
|
onMousemove: function(V) {
|
6068
|
-
return o.onOptionMouseMove(V, o.getOptionIndex(h,
|
6068
|
+
return o.onOptionMouseMove(V, o.getOptionIndex(h, g));
|
6069
6069
|
},
|
6070
|
-
"data-p-selected": o.isSelected(
|
6071
|
-
"data-p-focused": r.focusedOptionIndex === o.getOptionIndex(h,
|
6072
|
-
"data-p-disabled": o.isOptionDisabled(
|
6070
|
+
"data-p-selected": o.isSelected(w),
|
6071
|
+
"data-p-focused": r.focusedOptionIndex === o.getOptionIndex(h, g),
|
6072
|
+
"data-p-disabled": o.isOptionDisabled(w),
|
6073
6073
|
ref_for: !0
|
6074
|
-
}, o.getPTOptions(
|
6075
|
-
option:
|
6076
|
-
index: o.getOptionIndex(h,
|
6074
|
+
}, o.getPTOptions(w, g, h, "option")), [T(t.$slots, "option", {
|
6075
|
+
option: w,
|
6076
|
+
index: o.getOptionIndex(h, g)
|
6077
6077
|
}, function() {
|
6078
|
-
return [Ce(q(o.getOptionLabel(
|
6078
|
+
return [Ce(q(o.getOptionLabel(w)), 1)];
|
6079
6079
|
})], 16, La)), [[c]])], 64);
|
6080
|
-
}), 128)), t.showEmptyMessage && (!
|
6080
|
+
}), 128)), t.showEmptyMessage && (!y || y && y.length === 0) ? (m(), S("li", b({
|
6081
6081
|
key: 0,
|
6082
6082
|
class: t.cx("emptyMessage"),
|
6083
6083
|
role: "option"
|
@@ -6292,9 +6292,9 @@ const Ka = ["data-variant"], Fa = { class: "ris-label1-regular" }, Ha = {
|
|
6292
6292
|
}),
|
6293
6293
|
emits: ["update:modelValue"],
|
6294
6294
|
setup(t, { expose: e }) {
|
6295
|
-
const n = t, i = Ge(t, "modelValue"), r = (u) => u.id === i.value, o =
|
6295
|
+
const n = t, i = Ge(t, "modelValue"), r = (u) => u.id === i.value, o = ee(n.initialLabel ?? i.value), s = (u) => {
|
6296
6296
|
typeof u == "string" ? o.value = u : u && u.label && (o.value = u.label), u === "" && (i.value = void 0);
|
6297
|
-
}, l = () => s(""), a =
|
6297
|
+
}, l = () => s(""), a = ee(null);
|
6298
6298
|
return e({ autoCompleteRef: a }), (u, d) => (m(), L(A(jn), b({
|
6299
6299
|
ref_key: "autoCompleteRef",
|
6300
6300
|
ref: a
|
@@ -6392,7 +6392,7 @@ const Ya = oe({ name: "mdi-check", render: Za }), Xa = ["aria-label", "title"],
|
|
6392
6392
|
name: { default: "Wert" }
|
6393
6393
|
},
|
6394
6394
|
setup(t) {
|
6395
|
-
const e = t, n =
|
6395
|
+
const e = t, n = ee(!1);
|
6396
6396
|
async function i() {
|
6397
6397
|
try {
|
6398
6398
|
await navigator.clipboard.writeText(e.value ?? e.text), n.value = !0, setTimeout(() => {
|
@@ -6431,16 +6431,15 @@ const Ya = oe({ name: "mdi-check", render: Za }), Xa = ["aria-label", "title"],
|
|
6431
6431
|
emits: ["update:expanded"],
|
6432
6432
|
setup(t) {
|
6433
6433
|
ci((o) => ({
|
6434
|
-
"
|
6434
|
+
"027069d3": o.length
|
6435
6435
|
}));
|
6436
|
-
const e = Ge(t, "expanded"), n =
|
6436
|
+
const e = Ge(t, "expanded"), n = ee(!1), i = pi("textContent"), r = St();
|
6437
6437
|
return fi(() => {
|
6438
6438
|
i.value instanceof HTMLDivElement && (n.value = i.value.scrollHeight - t.tolerance > i.value.clientHeight);
|
6439
6439
|
}), (o, s) => (m(), S("div", null, [
|
6440
6440
|
k("div", {
|
6441
6441
|
id: A(r),
|
6442
|
-
|
6443
|
-
ref: i,
|
6442
|
+
ref: "textContent",
|
6444
6443
|
class: U({ [o.$style.truncate]: !e.value })
|
6445
6444
|
}, [
|
6446
6445
|
T(o.$slots, "default")
|
@@ -6597,7 +6596,7 @@ const gs = oe({ name: "ic-baseline-subdirectory-arrow-left", render: vs }), ys =
|
|
6597
6596
|
}),
|
6598
6597
|
emits: /* @__PURE__ */ Le(["complete"], ["update:modelValue"]),
|
6599
6598
|
setup(t, { expose: e }) {
|
6600
|
-
const n = t, i = Ge(t, "modelValue"), r = St(), o =
|
6599
|
+
const n = t, i = Ge(t, "modelValue"), r = St(), o = ee(null);
|
6601
6600
|
function s() {
|
6602
6601
|
var a;
|
6603
6602
|
const l = (a = o.value) == null ? void 0 : a.$el;
|
@@ -6658,7 +6657,7 @@ const gs = oe({ name: "ic-baseline-subdirectory-arrow-left", render: vs }), ys =
|
|
6658
6657
|
])
|
6659
6658
|
]));
|
6660
6659
|
}
|
6661
|
-
}), $s = ["aria-label"], ws = { class: "contents" }, Os = ["aria-label"], Cs = ["onDblclick", "onKeydown"], _s = ["onClick", "onKeydown"], Vs = /* @__PURE__ */ ke({
|
6660
|
+
}), $s = ["aria-label", "aria-invalid"], ws = { class: "contents" }, Os = ["aria-label"], Cs = ["onDblclick", "onKeydown"], _s = ["onClick", "onKeydown"], Vs = /* @__PURE__ */ ke({
|
6662
6661
|
__name: "RisChipsInput",
|
6663
6662
|
props: /* @__PURE__ */ Le({
|
6664
6663
|
ariaLabel: {},
|
@@ -6671,34 +6670,35 @@ const gs = oe({ name: "ic-baseline-subdirectory-arrow-left", render: vs }), ys =
|
|
6671
6670
|
}),
|
6672
6671
|
emits: ["update:modelValue"],
|
6673
6672
|
setup(t) {
|
6674
|
-
const e = t, n = Ge(t, "modelValue"), i =
|
6675
|
-
function
|
6676
|
-
r.value =
|
6677
|
-
}
|
6678
|
-
function l(p) {
|
6679
|
-
p && (n.value = [...n.value, p.trim()], o.value = "");
|
6673
|
+
const e = t, n = Ge(t, "modelValue"), i = ee(null), r = ee(null), o = ee(""), s = ee(0);
|
6674
|
+
function l(f) {
|
6675
|
+
r.value = f;
|
6680
6676
|
}
|
6681
6677
|
function a() {
|
6678
|
+
o.value && (n.value = [...n.value, o.value.trim()], o.value = "", s.value += 1, c());
|
6679
|
+
}
|
6680
|
+
function u() {
|
6682
6681
|
n.value = [...n.value].filter(Boolean), r.value = null;
|
6683
6682
|
}
|
6684
|
-
function
|
6685
|
-
n.value = n.value.filter((
|
6683
|
+
function d(f) {
|
6684
|
+
n.value = n.value.filter((v, y) => y !== f), r.value = null;
|
6686
6685
|
}
|
6687
|
-
function
|
6688
|
-
var
|
6689
|
-
r.value || (
|
6686
|
+
function c() {
|
6687
|
+
var f;
|
6688
|
+
r.value || (f = i.value) == null || f.focus();
|
6690
6689
|
}
|
6691
|
-
const
|
6690
|
+
const p = cn(() => ({
|
6692
6691
|
"!shadow-red-800 !bg-red-200": e.hasError
|
6693
6692
|
}));
|
6694
|
-
return (
|
6695
|
-
class: U(["ris-body2-regular shadow-blue flex min-h-48 w-full cursor-text flex-row flex-wrap gap-8 bg-white px-16 py-8",
|
6696
|
-
"aria-label":
|
6693
|
+
return (f, v) => (m(), S("div", {
|
6694
|
+
class: U(["ris-body2-regular shadow-blue flex min-h-48 w-full cursor-text flex-row flex-wrap gap-8 bg-white px-16 py-8", p.value]),
|
6695
|
+
"aria-label": f.ariaLabel,
|
6696
|
+
"aria-invalid": f.hasError,
|
6697
6697
|
role: "group",
|
6698
|
-
onClick:
|
6698
|
+
onClick: c
|
6699
6699
|
}, [
|
6700
6700
|
k("ul", ws, [
|
6701
|
-
(m(!0), S(de, null, Te(n.value, (
|
6701
|
+
(m(!0), S(de, null, Te(n.value, (y, g) => (m(), S("li", {
|
6702
6702
|
key: g,
|
6703
6703
|
class: "flex items-center rounded-full bg-blue-300 py-6 pr-4 pl-16 outline-none",
|
6704
6704
|
"aria-label": `${n.value[g]}`
|
@@ -6706,42 +6706,43 @@ const gs = oe({ name: "ic-baseline-subdirectory-arrow-left", render: vs }), ys =
|
|
6706
6706
|
r.value === g ? (m(), L(sn, {
|
6707
6707
|
key: 0,
|
6708
6708
|
modelValue: n.value[g],
|
6709
|
-
"onUpdate:modelValue": (
|
6710
|
-
mask:
|
6709
|
+
"onUpdate:modelValue": ($) => n.value[g] = $,
|
6710
|
+
mask: f.mask,
|
6711
6711
|
"should-focus-on-mount": "",
|
6712
|
-
onComplete:
|
6712
|
+
onComplete: u
|
6713
6713
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "mask"])) : (m(), S("button", {
|
6714
6714
|
key: 1,
|
6715
6715
|
"aria-label": "Eintrag bearbeiten",
|
6716
6716
|
class: "cursor-pointer group-focus:bg-blue-900 group-focus:text-white",
|
6717
6717
|
type: "button",
|
6718
|
-
onDblclick: (
|
6719
|
-
onKeydown: tt(nt((
|
6718
|
+
onDblclick: ($) => l(g),
|
6719
|
+
onKeydown: tt(nt(($) => l(g), ["stop", "prevent"]), ["enter"])
|
6720
6720
|
}, [
|
6721
|
-
k("span", null, q(
|
6721
|
+
k("span", null, q(y), 1)
|
6722
6722
|
], 40, Cs)),
|
6723
6723
|
k("button", {
|
6724
6724
|
"aria-label": "Eintrag löschen",
|
6725
6725
|
class: "mx-6 flex h-full cursor-pointer items-center rounded-r-full group-focus:bg-blue-900 group-focus:text-white",
|
6726
6726
|
type: "button",
|
6727
|
-
onClick: (
|
6728
|
-
onKeydown: tt(nt((
|
6727
|
+
onClick: ($) => d(g),
|
6728
|
+
onKeydown: tt(nt(($) => d(g), ["stop", "prevent"]), ["enter"])
|
6729
6729
|
}, [
|
6730
6730
|
B(A(hs))
|
6731
6731
|
], 40, _s)
|
6732
6732
|
], 8, Os))), 128))
|
6733
6733
|
]),
|
6734
6734
|
r.value === null ? (m(), L(sn, {
|
6735
|
-
key:
|
6735
|
+
key: s.value,
|
6736
6736
|
ref_key: "newChipInputRef",
|
6737
6737
|
ref: i,
|
6738
6738
|
modelValue: o.value,
|
6739
|
-
"onUpdate:modelValue":
|
6740
|
-
mask:
|
6739
|
+
"onUpdate:modelValue": v[0] || (v[0] = (y) => o.value = y),
|
6740
|
+
mask: f.mask,
|
6741
|
+
placeholder: f.placeholder,
|
6742
|
+
"should-focus-on-mount": s.value > 0,
|
6741
6743
|
"aria-label": "Eintrag hinzufügen",
|
6742
|
-
|
6743
|
-
|
6744
|
-
}, null, 8, ["modelValue", "mask", "placeholder"])) : E("", !0)
|
6744
|
+
onComplete: a
|
6745
|
+
}, null, 8, ["modelValue", "mask", "placeholder", "should-focus-on-mount"])) : E("", !0)
|
6745
6746
|
], 10, $s));
|
6746
6747
|
}
|
6747
6748
|
});
|
@@ -6753,3 +6754,4 @@ export {
|
|
6753
6754
|
As as RisPaginator,
|
6754
6755
|
Ps as RisSingleAccordion
|
6755
6756
|
};
|
6757
|
+
//# sourceMappingURL=index.js.map
|