@arche-mc2/vue-ui-lib 1.2.38 → 1.2.40
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/vue-ui-lib.css +1 -1
- package/dist/vue-ui-lib.es.js +164 -162
- package/dist/vue-ui-lib.umd.js +1 -1
- package/package.json +1 -1
package/dist/vue-ui-lib.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u1, ref as e1, computed as Q, createElementBlock as I, openBlock as E, normalizeStyle as w1, normalizeClass as
|
|
1
|
+
import { defineComponent as u1, ref as e1, computed as Q, createElementBlock as I, openBlock as E, normalizeStyle as w1, normalizeClass as G, unref as S1, createCommentVNode as N, createElementVNode as V, toDisplayString as J, createBlock as t1, renderSlot as _1, h as fe, Fragment as g1, Teleport as Ze, mergeModels as S4, useModel as k4, watch as B1, withDirectives as Fa, createVNode as r1, vModelCheckbox as x4, mergeProps as xe, resolveDynamicComponent as Na, normalizeProps as D4, withCtx as C1, onMounted as _3, nextTick as v3, getCurrentScope as I4, onScopeDispose as V4, getCurrentInstance as ja, toRef as B4, readonly as R4, customRef as T4, shallowRef as $1, toValue as x1, useTemplateRef as De, renderList as z1, createTextVNode as S3, useSlots as Ua, onBeforeUnmount as Ka, withModifiers as Pa, onUnmounted as Wa, Transition as H4, watchEffect as L4, inject as a6 } from "vue";
|
|
2
2
|
if (typeof window < "u") {
|
|
3
3
|
let a = function() {
|
|
4
4
|
var e = document.body, t = document.getElementById("__svg__icons__dom__");
|
|
@@ -26,13 +26,13 @@ const O4 = ["width", "height", "fill"], F4 = { key: 0 }, N4 = ["href", "id"], j4
|
|
|
26
26
|
"--icon-color-secondary": i.value && e.colorSecondaryHover || e.colorSecondary
|
|
27
27
|
}));
|
|
28
28
|
return (l, s) => (E(), I("div", {
|
|
29
|
-
class:
|
|
29
|
+
class: G(["svgicon", S1(t)]),
|
|
30
30
|
style: w1({ display: "flex", width: `${l.width}px`, height: `${l.height}px` })
|
|
31
31
|
}, [
|
|
32
32
|
(E(), I("svg", {
|
|
33
33
|
width: l.width,
|
|
34
34
|
height: l.height,
|
|
35
|
-
class:
|
|
35
|
+
class: G(["svg-icon", { "svg-icon-hover": i.value }]),
|
|
36
36
|
style: w1(n.value),
|
|
37
37
|
fill: l.color,
|
|
38
38
|
onMouseenter: s[0] || (s[0] = (r) => i.value = !0),
|
|
@@ -90,7 +90,7 @@ const O4 = ["width", "height", "fill"], F4 = { key: 0 }, N4 = ["href", "id"], j4
|
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
92
|
return (i, n) => (E(), I("button", {
|
|
93
|
-
class:
|
|
93
|
+
class: G({
|
|
94
94
|
"amc2-button": !0,
|
|
95
95
|
[`amc2-button-${e.type}`]: !0,
|
|
96
96
|
active: e.active
|
|
@@ -6652,7 +6652,7 @@ const Go = {
|
|
|
6652
6652
|
return fe("div", {
|
|
6653
6653
|
// when renderId is changed, Vue will trigger a real-DOM async rerender, calling beforeUpdate/updated
|
|
6654
6654
|
attrs: { "data-fc-render-id": this.renderId }
|
|
6655
|
-
}, fe(
|
|
6655
|
+
}, fe(g1, a));
|
|
6656
6656
|
},
|
|
6657
6657
|
mounted() {
|
|
6658
6658
|
const a = new I7();
|
|
@@ -9790,15 +9790,15 @@ function mc(a) {
|
|
|
9790
9790
|
function gc(a) {
|
|
9791
9791
|
var e = a.state, t = a.options, i = a.name;
|
|
9792
9792
|
if (!e.modifiersData[i]._skip) {
|
|
9793
|
-
for (var n = t.mainAxis, l = n === void 0 ? !0 : n, s = t.altAxis, r = s === void 0 ? !0 : s, o = t.fallbackPlacements, u = t.padding, c = t.boundary, h = t.rootBoundary, f = t.altBoundary, d = t.flipVariations, m = d === void 0 ? !0 : d, g = t.allowedAutoPlacements, p = e.options.placement, y = r3(p), b = y === p, z = o || (b || !m ? [be(p)] : mc(p)), v = [p].concat(z).reduce(function(f1,
|
|
9794
|
-
return f1.concat(r3(
|
|
9795
|
-
placement:
|
|
9793
|
+
for (var n = t.mainAxis, l = n === void 0 ? !0 : n, s = t.altAxis, r = s === void 0 ? !0 : s, o = t.fallbackPlacements, u = t.padding, c = t.boundary, h = t.rootBoundary, f = t.altBoundary, d = t.flipVariations, m = d === void 0 ? !0 : d, g = t.allowedAutoPlacements, p = e.options.placement, y = r3(p), b = y === p, z = o || (b || !m ? [be(p)] : mc(p)), v = [p].concat(z).reduce(function(f1, m1) {
|
|
9794
|
+
return f1.concat(r3(m1) === W2 ? vc(e, {
|
|
9795
|
+
placement: m1,
|
|
9796
9796
|
boundary: c,
|
|
9797
9797
|
rootBoundary: h,
|
|
9798
9798
|
padding: u,
|
|
9799
9799
|
flipVariations: m,
|
|
9800
9800
|
allowedAutoPlacements: g
|
|
9801
|
-
}) :
|
|
9801
|
+
}) : m1);
|
|
9802
9802
|
}, []), B = e.rects.reference, S = e.rects.popper, L = /* @__PURE__ */ new Map(), H = !0, Z = v[0], P = 0; P < v.length; P++) {
|
|
9803
9803
|
var K = v[P], i1 = r3(K), T = m0(K) === f0, R = [j1, Z1].indexOf(i1) >= 0, C = R ? "width" : "height", x = O0(e, {
|
|
9804
9804
|
placement: K,
|
|
@@ -9818,11 +9818,11 @@ function gc(a) {
|
|
|
9818
9818
|
L.set(K, O);
|
|
9819
9819
|
}
|
|
9820
9820
|
if (H)
|
|
9821
|
-
for (var j = m ? 3 : 1, X = function(
|
|
9821
|
+
for (var j = m ? 3 : 1, X = function(m1) {
|
|
9822
9822
|
var M1 = v.find(function(O1) {
|
|
9823
9823
|
var R1 = L.get(O1);
|
|
9824
9824
|
if (R1)
|
|
9825
|
-
return R1.slice(0,
|
|
9825
|
+
return R1.slice(0, m1).every(function(F1) {
|
|
9826
9826
|
return F1;
|
|
9827
9827
|
});
|
|
9828
9828
|
});
|
|
@@ -9950,7 +9950,7 @@ function kc(a) {
|
|
|
9950
9950
|
var T, R = v === "y" ? j1 : U1, C = v === "y" ? Z1 : X1, x = v === "y" ? "height" : "width", k = S[v], D = k + p[R], O = k - p[C], j = d ? -H[x] / 2 : 0, X = b === f0 ? L[x] : H[x], s1 = b === f0 ? -H[x] : -L[x], h1 = e.elements.arrow, f1 = d && h1 ? Y2(h1) : {
|
|
9951
9951
|
width: 0,
|
|
9952
9952
|
height: 0
|
|
9953
|
-
},
|
|
9953
|
+
}, m1 = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Qn(), M1 = m1[R], O1 = m1[C], R1 = I0(0, L[x], f1[x]), F1 = z ? L[x] / 2 - j - R1 - M1 - P.mainAxis : X - R1 - M1 - P.mainAxis, y1 = z ? -L[x] / 2 + j + R1 + O1 + P.mainAxis : s1 + R1 + O1 + P.mainAxis, T1 = e.elements.arrow && Q0(e.elements.arrow), a3 = T1 ? v === "y" ? T1.clientTop || 0 : T1.clientLeft || 0 : 0, i3 = (T = K?.[v]) != null ? T : 0, G0 = k + F1 - i3 - a3, _0 = k + y1 - i3, b0 = I0(d ? Ye(D, G0) : D, k, d ? P3(O, _0) : O);
|
|
9954
9954
|
S[v] = b0, i1[v] = b0 - k;
|
|
9955
9955
|
}
|
|
9956
9956
|
if (r) {
|
|
@@ -10652,7 +10652,7 @@ function f9(a, e) {
|
|
|
10652
10652
|
function f1() {
|
|
10653
10653
|
o = !1;
|
|
10654
10654
|
}
|
|
10655
|
-
function
|
|
10655
|
+
function m1() {
|
|
10656
10656
|
var M = R();
|
|
10657
10657
|
M.addEventListener("mousedown", s1, !0), M.addEventListener("touchend", s1, O3), M.addEventListener("touchstart", f1, O3), M.addEventListener("touchmove", h1, O3);
|
|
10658
10658
|
}
|
|
@@ -10828,7 +10828,7 @@ function f9(a, e) {
|
|
|
10828
10828
|
return qe(S.querySelectorAll("[data-tippy-root]"));
|
|
10829
10829
|
}
|
|
10830
10830
|
function E0(M) {
|
|
10831
|
-
v.clearDelayTimeouts(), M && D("onTrigger", [v, M]),
|
|
10831
|
+
v.clearDelayTimeouts(), M && D("onTrigger", [v, M]), m1();
|
|
10832
10832
|
var F = x(!0), q = P(), c1 = q[0], n1 = q[1];
|
|
10833
10833
|
l3.isTouch && c1 === "hold" && n1 && (F = n1), F ? i = setTimeout(function() {
|
|
10834
10834
|
v.show();
|
|
@@ -10879,7 +10879,7 @@ function f9(a, e) {
|
|
|
10879
10879
|
process.env.NODE_ENV !== "production" && h3(v.state.isDestroyed, t0("show"));
|
|
10880
10880
|
var M = v.state.isVisible, F = v.state.isDestroyed, q = !v.state.isEnabled, c1 = l3.isTouch && !v.props.touch, n1 = Vt(v.props.duration, 0, P1.duration);
|
|
10881
10881
|
if (!(M || F || q || c1) && !T().hasAttribute("disabled") && (D("onShow", [v], !1), v.props.onShow(v) !== !1)) {
|
|
10882
|
-
if (v.state.isVisible = !0, i1() && (S.style.visibility = "visible"), k(),
|
|
10882
|
+
if (v.state.isVisible = !0, i1() && (S.style.visibility = "visible"), k(), m1(), v.state.isMounted || (S.style.transition = "none"), i1()) {
|
|
10883
10883
|
var H1 = C(), G1 = H1.box, $3 = H1.content;
|
|
10884
10884
|
Bt([G1, $3], 0);
|
|
10885
10885
|
}
|
|
@@ -11082,7 +11082,7 @@ const sh = /* @__PURE__ */ u1({
|
|
|
11082
11082
|
}
|
|
11083
11083
|
), (l, s) => (E(), I("label", {
|
|
11084
11084
|
style: w1(l.theme),
|
|
11085
|
-
class:
|
|
11085
|
+
class: G(["amc2-checkbox-container", l.className, { disabled: l.disabled }]),
|
|
11086
11086
|
onClick: n
|
|
11087
11087
|
}, [
|
|
11088
11088
|
Fa(V("input", {
|
|
@@ -11535,11 +11535,11 @@ const I9 = { class: "flyout-menu-container" }, V9 = {
|
|
|
11535
11535
|
n.value ? Fa((E(), I("div", {
|
|
11536
11536
|
key: 0,
|
|
11537
11537
|
ref: "contentWrapper",
|
|
11538
|
-
class:
|
|
11538
|
+
class: G(["flyout-menu-list ", d.value]),
|
|
11539
11539
|
style: w1(r.value)
|
|
11540
11540
|
}, [
|
|
11541
11541
|
m.items ? (E(), I("div", V9, [
|
|
11542
|
-
(E(!0), I(
|
|
11542
|
+
(E(!0), I(g1, null, z1(m.items, (p, y) => (E(), I("div", {
|
|
11543
11543
|
key: y,
|
|
11544
11544
|
onClick: () => {
|
|
11545
11545
|
p.onClick?.(), m.autoClose && c();
|
|
@@ -11647,7 +11647,7 @@ const I9 = { class: "flyout-menu-container" }, V9 = {
|
|
|
11647
11647
|
...e.style
|
|
11648
11648
|
};
|
|
11649
11649
|
};
|
|
11650
|
-
return (d, m) => (E(), I(
|
|
11650
|
+
return (d, m) => (E(), I(g1, null, [
|
|
11651
11651
|
V("div", {
|
|
11652
11652
|
class: "tooltip-container",
|
|
11653
11653
|
onMouseenter: c,
|
|
@@ -11664,7 +11664,7 @@ const I9 = { class: "flyout-menu-container" }, V9 = {
|
|
|
11664
11664
|
(E(), t1(Ze, { to: "body" }, [
|
|
11665
11665
|
t.value ? (E(), I("div", {
|
|
11666
11666
|
key: 0,
|
|
11667
|
-
class:
|
|
11667
|
+
class: G(["tooltip-content-arrow", d.className, d.position]),
|
|
11668
11668
|
style: w1(i.value),
|
|
11669
11669
|
ref_key: "tooltipRef",
|
|
11670
11670
|
ref: l,
|
|
@@ -11675,7 +11675,7 @@ const I9 = { class: "flyout-menu-container" }, V9 = {
|
|
|
11675
11675
|
_1(d.$slots, "content")
|
|
11676
11676
|
]),
|
|
11677
11677
|
V("div", {
|
|
11678
|
-
class:
|
|
11678
|
+
class: G(["tooltip-arrow", d.position])
|
|
11679
11679
|
}, null, 2)
|
|
11680
11680
|
], 38)) : N("", !0)
|
|
11681
11681
|
]))
|
|
@@ -11787,25 +11787,25 @@ class N9 {
|
|
|
11787
11787
|
this.oldSelection.end === this.oldSelection.start ? U.RIGHT : U.LEFT;
|
|
11788
11788
|
}
|
|
11789
11789
|
}
|
|
11790
|
-
function
|
|
11791
|
-
return new
|
|
11790
|
+
function _(a, e) {
|
|
11791
|
+
return new _.InputMask(a, e);
|
|
11792
11792
|
}
|
|
11793
11793
|
function f4(a) {
|
|
11794
11794
|
if (a == null) throw new Error("mask property should be defined");
|
|
11795
|
-
return a instanceof RegExp ?
|
|
11795
|
+
return a instanceof RegExp ? _.MaskedRegExp : x3(a) ? _.MaskedPattern : a === Date ? _.MaskedDate : a === Number ? _.MaskedNumber : Array.isArray(a) || a === Array ? _.MaskedDynamic : _.Masked && a.prototype instanceof _.Masked ? a : _.Masked && a instanceof _.Masked ? a.constructor : a instanceof Function ? _.MaskedFunction : (console.warn("Mask not found for mask", a), _.Masked);
|
|
11796
11796
|
}
|
|
11797
11797
|
function j0(a) {
|
|
11798
11798
|
if (!a) throw new Error("Options in not defined");
|
|
11799
|
-
if (
|
|
11800
|
-
if (a.prototype instanceof
|
|
11799
|
+
if (_.Masked) {
|
|
11800
|
+
if (a.prototype instanceof _.Masked) return {
|
|
11801
11801
|
mask: a
|
|
11802
11802
|
};
|
|
11803
11803
|
const {
|
|
11804
11804
|
mask: e = void 0,
|
|
11805
11805
|
...t
|
|
11806
|
-
} = a instanceof
|
|
11806
|
+
} = a instanceof _.Masked ? {
|
|
11807
11807
|
mask: a
|
|
11808
|
-
} : Da(a) && a.mask instanceof
|
|
11808
|
+
} : Da(a) && a.mask instanceof _.Masked ? a : {};
|
|
11809
11809
|
if (e) {
|
|
11810
11810
|
const i = e.mask;
|
|
11811
11811
|
return {
|
|
@@ -11823,12 +11823,12 @@ function j0(a) {
|
|
|
11823
11823
|
};
|
|
11824
11824
|
}
|
|
11825
11825
|
function y3(a) {
|
|
11826
|
-
if (
|
|
11826
|
+
if (_.Masked && a instanceof _.Masked) return a;
|
|
11827
11827
|
const e = j0(a), t = f4(e.mask);
|
|
11828
11828
|
if (!t) throw new Error("Masked class is not found for provided mask " + e.mask + ", appropriate module needs to be imported manually before creating mask.");
|
|
11829
11829
|
return e.mask === t && delete e.mask, e._mask && (e.mask = e._mask, delete e._mask), new t(e);
|
|
11830
11830
|
}
|
|
11831
|
-
|
|
11831
|
+
_.createMask = y3;
|
|
11832
11832
|
class e6 {
|
|
11833
11833
|
/** */
|
|
11834
11834
|
/** */
|
|
@@ -11867,7 +11867,7 @@ class e6 {
|
|
|
11867
11867
|
/** */
|
|
11868
11868
|
/** */
|
|
11869
11869
|
}
|
|
11870
|
-
|
|
11870
|
+
_.MaskElement = e6;
|
|
11871
11871
|
const Ia = 90, j9 = 89;
|
|
11872
11872
|
class rt extends e6 {
|
|
11873
11873
|
/** HTMLElement to use mask on */
|
|
@@ -11910,7 +11910,7 @@ class rt extends e6 {
|
|
|
11910
11910
|
this.input.removeEventListener("keydown", this._onKeydown), this.input.removeEventListener("input", this._onInput), this.input.removeEventListener("beforeinput", this._onBeforeinput), this.input.removeEventListener("compositionend", this._onCompositionEnd), this.input.removeEventListener("drop", this._handlers.drop), this.input.removeEventListener("click", this._handlers.click), this.input.removeEventListener("focus", this._handlers.focus), this.input.removeEventListener("blur", this._handlers.commit), this._handlers = {};
|
|
11911
11911
|
}
|
|
11912
11912
|
}
|
|
11913
|
-
|
|
11913
|
+
_.HTMLMaskElement = rt;
|
|
11914
11914
|
class U9 extends rt {
|
|
11915
11915
|
/** InputElement to use mask on */
|
|
11916
11916
|
constructor(e) {
|
|
@@ -11935,7 +11935,7 @@ class U9 extends rt {
|
|
|
11935
11935
|
this.input.value = e;
|
|
11936
11936
|
}
|
|
11937
11937
|
}
|
|
11938
|
-
|
|
11938
|
+
_.HTMLMaskElement = rt;
|
|
11939
11939
|
class p4 extends rt {
|
|
11940
11940
|
/** Returns HTMLElement selection start */
|
|
11941
11941
|
get _unsafeSelectionStart() {
|
|
@@ -11963,7 +11963,7 @@ class p4 extends rt {
|
|
|
11963
11963
|
this.input.textContent = e;
|
|
11964
11964
|
}
|
|
11965
11965
|
}
|
|
11966
|
-
|
|
11966
|
+
_.HTMLContenteditableMaskElement = p4;
|
|
11967
11967
|
class ot {
|
|
11968
11968
|
constructor() {
|
|
11969
11969
|
this.states = [], this.currentIndex = 0;
|
|
@@ -12009,13 +12009,13 @@ class K9 {
|
|
|
12009
12009
|
}
|
|
12010
12010
|
set mask(e) {
|
|
12011
12011
|
if (this.maskEquals(e)) return;
|
|
12012
|
-
if (!(e instanceof
|
|
12012
|
+
if (!(e instanceof _.Masked) && this.masked.constructor === f4(e)) {
|
|
12013
12013
|
this.masked.updateOptions({
|
|
12014
12014
|
mask: e
|
|
12015
12015
|
});
|
|
12016
12016
|
return;
|
|
12017
12017
|
}
|
|
12018
|
-
const t = e instanceof
|
|
12018
|
+
const t = e instanceof _.Masked ? e : y3({
|
|
12019
12019
|
mask: e
|
|
12020
12020
|
});
|
|
12021
12021
|
t.unmaskedValue = this.masked.unmaskedValue, this.masked = t;
|
|
@@ -12200,7 +12200,7 @@ class K9 {
|
|
|
12200
12200
|
this._unbindEvents(), this._listeners.length = 0, delete this.el;
|
|
12201
12201
|
}
|
|
12202
12202
|
}
|
|
12203
|
-
|
|
12203
|
+
_.InputMask = K9;
|
|
12204
12204
|
class $ {
|
|
12205
12205
|
/** Inserted symbols */
|
|
12206
12206
|
/** Additional offset if any changes occurred before tail */
|
|
@@ -12232,7 +12232,7 @@ class $ {
|
|
|
12232
12232
|
return this.inserted === e.inserted && this.tailShift === e.tailShift && this.rawInserted === e.rawInserted && this.skip === e.skip;
|
|
12233
12233
|
}
|
|
12234
12234
|
}
|
|
12235
|
-
|
|
12235
|
+
_.ChangeDetails = $;
|
|
12236
12236
|
class s3 {
|
|
12237
12237
|
/** Tail value as string */
|
|
12238
12238
|
/** Tail start position */
|
|
@@ -12516,7 +12516,7 @@ I1.DEFAULTS = {
|
|
|
12516
12516
|
skipInvalid: !0
|
|
12517
12517
|
};
|
|
12518
12518
|
I1.EMPTY_VALUES = [void 0, null, ""];
|
|
12519
|
-
|
|
12519
|
+
_.Masked = I1;
|
|
12520
12520
|
class j3 {
|
|
12521
12521
|
/** */
|
|
12522
12522
|
constructor(e, t) {
|
|
@@ -12543,7 +12543,7 @@ class j3 {
|
|
|
12543
12543
|
}
|
|
12544
12544
|
}
|
|
12545
12545
|
appendTo(e) {
|
|
12546
|
-
if (!(e instanceof
|
|
12546
|
+
if (!(e instanceof _.MaskedPattern))
|
|
12547
12547
|
return new s3(this.toString()).appendTo(e);
|
|
12548
12548
|
const t = new $();
|
|
12549
12549
|
for (let i = 0; i < this.chunks.length; ++i) {
|
|
@@ -12946,7 +12946,7 @@ class W9 extends I1 {
|
|
|
12946
12946
|
t && (e.validate = (i) => i.search(t) >= 0), super._update(e);
|
|
12947
12947
|
}
|
|
12948
12948
|
}
|
|
12949
|
-
|
|
12949
|
+
_.MaskedRegExp = W9;
|
|
12950
12950
|
class V1 extends I1 {
|
|
12951
12951
|
/** */
|
|
12952
12952
|
/** */
|
|
@@ -12996,7 +12996,7 @@ class V1 extends I1 {
|
|
|
12996
12996
|
...m,
|
|
12997
12997
|
repeat: d,
|
|
12998
12998
|
parent: this
|
|
12999
|
-
}, p = d != null ? new
|
|
12999
|
+
}, p = d != null ? new _.RepeatBlock(
|
|
13000
13000
|
g
|
|
13001
13001
|
/* TODO */
|
|
13002
13002
|
) : y3(g);
|
|
@@ -13255,7 +13255,7 @@ V1.STOP_CHAR = "`";
|
|
|
13255
13255
|
V1.ESCAPE_CHAR = "\\";
|
|
13256
13256
|
V1.InputDefinition = Je;
|
|
13257
13257
|
V1.FixedDefinition = v4;
|
|
13258
|
-
|
|
13258
|
+
_.MaskedPattern = V1;
|
|
13259
13259
|
class Ee extends V1 {
|
|
13260
13260
|
/**
|
|
13261
13261
|
Optionally sets max length of pattern.
|
|
@@ -13323,7 +13323,7 @@ class Ee extends V1 {
|
|
|
13323
13323
|
return t;
|
|
13324
13324
|
}
|
|
13325
13325
|
}
|
|
13326
|
-
|
|
13326
|
+
_.MaskedRange = Ee;
|
|
13327
13327
|
const Q9 = "d{.}`m{.}`Y";
|
|
13328
13328
|
class f3 extends V1 {
|
|
13329
13329
|
static extractPatternOptions(e) {
|
|
@@ -13428,7 +13428,7 @@ f3.DEFAULTS = {
|
|
|
13428
13428
|
return new Date(n, i - 1, t);
|
|
13429
13429
|
}
|
|
13430
13430
|
};
|
|
13431
|
-
|
|
13431
|
+
_.MaskedDate = f3;
|
|
13432
13432
|
class ct extends I1 {
|
|
13433
13433
|
constructor(e) {
|
|
13434
13434
|
super({
|
|
@@ -13642,7 +13642,7 @@ ct.DEFAULTS = {
|
|
|
13642
13642
|
return l.sort((s, r) => r.weight - s.weight || r.totalInputPositions - s.totalInputPositions), e.compiledMasks[l[0].index];
|
|
13643
13643
|
}
|
|
13644
13644
|
};
|
|
13645
|
-
|
|
13645
|
+
_.MaskedDynamic = ct;
|
|
13646
13646
|
class ut extends V1 {
|
|
13647
13647
|
constructor(e) {
|
|
13648
13648
|
super({
|
|
@@ -13699,7 +13699,7 @@ ut.DEFAULTS = {
|
|
|
13699
13699
|
...V1.DEFAULTS,
|
|
13700
13700
|
matchValue: (a, e, t) => a.indexOf(e, t) === t
|
|
13701
13701
|
};
|
|
13702
|
-
|
|
13702
|
+
_.MaskedEnum = ut;
|
|
13703
13703
|
class Y9 extends I1 {
|
|
13704
13704
|
/** */
|
|
13705
13705
|
/** Enable characters overwriting */
|
|
@@ -13716,7 +13716,7 @@ class Y9 extends I1 {
|
|
|
13716
13716
|
});
|
|
13717
13717
|
}
|
|
13718
13718
|
}
|
|
13719
|
-
|
|
13719
|
+
_.MaskedFunction = Y9;
|
|
13720
13720
|
var m4;
|
|
13721
13721
|
class K1 extends I1 {
|
|
13722
13722
|
/** Single char */
|
|
@@ -13921,7 +13921,7 @@ K1.DEFAULTS = {
|
|
|
13921
13921
|
maximumFractionDigits: 20
|
|
13922
13922
|
})
|
|
13923
13923
|
};
|
|
13924
|
-
|
|
13924
|
+
_.MaskedNumber = K1;
|
|
13925
13925
|
const o2 = {
|
|
13926
13926
|
MASKED: "value",
|
|
13927
13927
|
UNMASKED: "unmaskedValue",
|
|
@@ -13935,9 +13935,9 @@ function g4(a, e, t) {
|
|
|
13935
13935
|
function q9(a, e, t, i) {
|
|
13936
13936
|
return g4(e, t, i)(a);
|
|
13937
13937
|
}
|
|
13938
|
-
|
|
13939
|
-
|
|
13940
|
-
|
|
13938
|
+
_.PIPE_TYPE = o2;
|
|
13939
|
+
_.createPipe = g4;
|
|
13940
|
+
_.pipe = q9;
|
|
13941
13941
|
class G9 extends V1 {
|
|
13942
13942
|
get repeatFrom() {
|
|
13943
13943
|
var e;
|
|
@@ -14031,9 +14031,9 @@ class G9 extends V1 {
|
|
|
14031
14031
|
this._blocks.length = e._blocks.length, this.mask = this.mask.slice(0, this._blocks.length), super.state = e;
|
|
14032
14032
|
}
|
|
14033
14033
|
}
|
|
14034
|
-
|
|
14034
|
+
_.RepeatBlock = G9;
|
|
14035
14035
|
try {
|
|
14036
|
-
globalThis.IMask =
|
|
14036
|
+
globalThis.IMask = _;
|
|
14037
14037
|
} catch {
|
|
14038
14038
|
}
|
|
14039
14039
|
function dt(a) {
|
|
@@ -14135,7 +14135,7 @@ function A4() {
|
|
|
14135
14135
|
return O ? T1 : T1.endOf(u);
|
|
14136
14136
|
}, s1 = function(F1, y1) {
|
|
14137
14137
|
return K.w(D.toDate()[F1].apply(D.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(y1)), D);
|
|
14138
|
-
}, h1 = this.$W, f1 = this.$M,
|
|
14138
|
+
}, h1 = this.$W, f1 = this.$M, m1 = this.$D, M1 = "set" + (this.$u ? "UTC" : "");
|
|
14139
14139
|
switch (j) {
|
|
14140
14140
|
case d:
|
|
14141
14141
|
return O ? X(1, 0) : X(31, 11);
|
|
@@ -14143,7 +14143,7 @@ function A4() {
|
|
|
14143
14143
|
return O ? X(1, f1) : X(0, f1 + 1);
|
|
14144
14144
|
case c:
|
|
14145
14145
|
var O1 = this.$locale().weekStart || 0, R1 = (h1 < O1 ? h1 + 7 : h1) - O1;
|
|
14146
|
-
return X(O ?
|
|
14146
|
+
return X(O ? m1 - R1 : m1 + (6 - R1), f1);
|
|
14147
14147
|
case u:
|
|
14148
14148
|
case m:
|
|
14149
14149
|
return s1(M1 + "Hours", 0);
|
|
@@ -14173,8 +14173,8 @@ function A4() {
|
|
|
14173
14173
|
var D, O = this;
|
|
14174
14174
|
x = Number(x);
|
|
14175
14175
|
var j = K.p(k), X = function(f1) {
|
|
14176
|
-
var
|
|
14177
|
-
return K.w(
|
|
14176
|
+
var m1 = P(O);
|
|
14177
|
+
return K.w(m1.date(m1.date() + Math.round(f1 * x)), O);
|
|
14178
14178
|
};
|
|
14179
14179
|
if (j === h) return this.set(h, this.$M + x);
|
|
14180
14180
|
if (j === d) return this.set(d, this.$y + x);
|
|
@@ -14187,7 +14187,7 @@ function A4() {
|
|
|
14187
14187
|
}, C.format = function(x) {
|
|
14188
14188
|
var k = this, D = this.$locale();
|
|
14189
14189
|
if (!this.isValid()) return D.invalidDate || g;
|
|
14190
|
-
var O = x || "YYYY-MM-DDTHH:mm:ssZ", j = K.z(this), X = this.$H, s1 = this.$m, h1 = this.$M, f1 = D.weekdays,
|
|
14190
|
+
var O = x || "YYYY-MM-DDTHH:mm:ssZ", j = K.z(this), X = this.$H, s1 = this.$m, h1 = this.$M, f1 = D.weekdays, m1 = D.months, M1 = D.meridiem, O1 = function(y1, T1, a3, i3) {
|
|
14191
14191
|
return y1 && (y1[T1] || y1(k, O)) || a3[T1].slice(0, i3);
|
|
14192
14192
|
}, R1 = function(y1) {
|
|
14193
14193
|
return K.s(X % 12 || 12, y1, "0");
|
|
@@ -14207,9 +14207,9 @@ function A4() {
|
|
|
14207
14207
|
case "MM":
|
|
14208
14208
|
return K.s(h1 + 1, 2, "0");
|
|
14209
14209
|
case "MMM":
|
|
14210
|
-
return O1(D.monthsShort, h1,
|
|
14210
|
+
return O1(D.monthsShort, h1, m1, 3);
|
|
14211
14211
|
case "MMMM":
|
|
14212
|
-
return O1(
|
|
14212
|
+
return O1(m1, h1);
|
|
14213
14213
|
case "D":
|
|
14214
14214
|
return k.$D;
|
|
14215
14215
|
case "DD":
|
|
@@ -14253,18 +14253,18 @@ function A4() {
|
|
|
14253
14253
|
}, C.utcOffset = function() {
|
|
14254
14254
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
14255
14255
|
}, C.diff = function(x, k, D) {
|
|
14256
|
-
var O, j = this, X = K.p(k), s1 = P(x), h1 = (s1.utcOffset() - this.utcOffset()) * i, f1 = this - s1,
|
|
14256
|
+
var O, j = this, X = K.p(k), s1 = P(x), h1 = (s1.utcOffset() - this.utcOffset()) * i, f1 = this - s1, m1 = function() {
|
|
14257
14257
|
return K.m(j, s1);
|
|
14258
14258
|
};
|
|
14259
14259
|
switch (X) {
|
|
14260
14260
|
case d:
|
|
14261
|
-
O =
|
|
14261
|
+
O = m1() / 12;
|
|
14262
14262
|
break;
|
|
14263
14263
|
case h:
|
|
14264
|
-
O =
|
|
14264
|
+
O = m1();
|
|
14265
14265
|
break;
|
|
14266
14266
|
case f:
|
|
14267
|
-
O =
|
|
14267
|
+
O = m1() / 3;
|
|
14268
14268
|
break;
|
|
14269
14269
|
case c:
|
|
14270
14270
|
O = (f1 - h1) / 6048e5;
|
|
@@ -14492,7 +14492,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
14492
14492
|
])) : N("", !0),
|
|
14493
14493
|
V("button", {
|
|
14494
14494
|
type: "button",
|
|
14495
|
-
class:
|
|
14495
|
+
class: G(["datepicker-navigation-button datepicker-navigation-date datepicker-navigation-month", {
|
|
14496
14496
|
"datepicker-navigation-button__inactive": c.navType === S1(E1).Year
|
|
14497
14497
|
}]),
|
|
14498
14498
|
onClick: h[2] || (h[2] = (f) => c.$emit("updateNavType", S1(E1).Year))
|
|
@@ -14630,28 +14630,28 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
14630
14630
|
}), (p, y) => (E(), I("table", bu, [
|
|
14631
14631
|
p.navType === S1(E1).Day ? (E(), I("thead", wu, [
|
|
14632
14632
|
V("tr", null, [
|
|
14633
|
-
(E(!0), I(
|
|
14633
|
+
(E(!0), I(g1, null, z1(S1(l), (b) => (E(), I("th", Eu, [
|
|
14634
14634
|
V("span", null, J(b), 1)
|
|
14635
14635
|
]))), 256))
|
|
14636
14636
|
])
|
|
14637
14637
|
])) : N("", !0),
|
|
14638
14638
|
V("tbody", null, [
|
|
14639
|
-
p.navType === S1(E1).Day ? (E(!0), I(
|
|
14640
|
-
(E(!0), I(
|
|
14641
|
-
class:
|
|
14639
|
+
p.navType === S1(E1).Day ? (E(!0), I(g1, { key: 0 }, z1(d.value, (b) => (E(), I("tr", null, [
|
|
14640
|
+
(E(!0), I(g1, null, z1(b, (z) => (E(), I("td", {
|
|
14641
|
+
class: G(["calendar-cell calendar-day-cell", z.class]),
|
|
14642
14642
|
onClick: (v) => z.onClick()
|
|
14643
14643
|
}, [
|
|
14644
14644
|
V("span", Cu, J(z.value), 1)
|
|
14645
14645
|
], 10, zu))), 256))
|
|
14646
|
-
]))), 256)) : p.navType === S1(E1).Month ? (E(!0), I(
|
|
14647
|
-
(E(!0), I(
|
|
14646
|
+
]))), 256)) : p.navType === S1(E1).Month ? (E(!0), I(g1, { key: 1 }, z1(m.value, (b) => (E(), I("tr", null, [
|
|
14647
|
+
(E(!0), I(g1, null, z1(b, (z) => (E(), I("td", {
|
|
14648
14648
|
class: "calendar-cell calendar-month-cell",
|
|
14649
14649
|
onClick: (v) => z.onClick()
|
|
14650
14650
|
}, [
|
|
14651
14651
|
V("span", Su, J(z.value), 1)
|
|
14652
14652
|
], 8, Mu))), 256))
|
|
14653
|
-
]))), 256)) : p.navType === S1(E1).Year ? (E(!0), I(
|
|
14654
|
-
(E(!0), I(
|
|
14653
|
+
]))), 256)) : p.navType === S1(E1).Year ? (E(!0), I(g1, { key: 2 }, z1(g.value, (b) => (E(), I("tr", null, [
|
|
14654
|
+
(E(!0), I(g1, null, z1(b, (z) => (E(), I("td", {
|
|
14655
14655
|
class: "calendar-cell calendar-year-cell",
|
|
14656
14656
|
onClick: (v) => z.onClick()
|
|
14657
14657
|
}, [
|
|
@@ -14707,16 +14707,16 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
14707
14707
|
])
|
|
14708
14708
|
]));
|
|
14709
14709
|
}
|
|
14710
|
-
}), Tu = {
|
|
14710
|
+
}), Tu = { class: "amc2-input-wrapper" }, Hu = {
|
|
14711
14711
|
key: 1,
|
|
14712
14712
|
class: "input-require"
|
|
14713
|
-
},
|
|
14713
|
+
}, Lu = ["type", "value", "disabled", "placeholder"], Ou = ["type", "disabled", "placeholder"], Fu = {
|
|
14714
14714
|
key: 2,
|
|
14715
14715
|
class: "amc2-input-icons date"
|
|
14716
|
-
},
|
|
14716
|
+
}, Nu = {
|
|
14717
14717
|
key: 3,
|
|
14718
14718
|
class: "amc2-select-dropdown amc2-input-suggestions"
|
|
14719
|
-
},
|
|
14719
|
+
}, ju = { class: "amc2-list-wrapper" }, Uu = { class: "amc2-list" }, Ku = ["onMousedown"], Pu = ["for"], Wu = {
|
|
14720
14720
|
key: 0,
|
|
14721
14721
|
class: "amc2-input-error"
|
|
14722
14722
|
}, y4 = /* @__PURE__ */ u1({
|
|
@@ -14808,7 +14808,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
14808
14808
|
i.value = !i.value;
|
|
14809
14809
|
}, x = () => t.placeholder ? t.placeholder : t.label ? "" : n[t.type ?? "text"] ?? "Saisissez une valeur";
|
|
14810
14810
|
return _3(() => {
|
|
14811
|
-
t.type === "date" && m.value && (g =
|
|
14811
|
+
t.type === "date" && m.value && (g = _(m.value, {
|
|
14812
14812
|
mask: "00/00/0000",
|
|
14813
14813
|
lazy: !0,
|
|
14814
14814
|
overwrite: !0,
|
|
@@ -14816,9 +14816,9 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
14816
14816
|
}), t.modelValue && (g.value = String(t.modelValue)));
|
|
14817
14817
|
}), Ka(() => {
|
|
14818
14818
|
g?.destroy();
|
|
14819
|
-
}), (k, D) => (E(), I(
|
|
14819
|
+
}), (k, D) => (E(), I("div", Tu, [
|
|
14820
14820
|
V("div", {
|
|
14821
|
-
class:
|
|
14821
|
+
class: G({
|
|
14822
14822
|
"amc2-input-container": !0,
|
|
14823
14823
|
disabled: t.disabled,
|
|
14824
14824
|
error: !t.disabled && (t.error || o.value),
|
|
@@ -14827,11 +14827,11 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
14827
14827
|
}, [
|
|
14828
14828
|
k.label ? (E(), I("label", {
|
|
14829
14829
|
key: 0,
|
|
14830
|
-
class:
|
|
14830
|
+
class: G(["label-input", [{ solo: R.value && !r.value }, { active: r.value }]])
|
|
14831
14831
|
}, J(k.label), 3)) : N("", !0),
|
|
14832
|
-
k.required ? (E(), I("div",
|
|
14832
|
+
k.required ? (E(), I("div", Hu, "Requis")) : N("", !0),
|
|
14833
14833
|
V("div", {
|
|
14834
|
-
class:
|
|
14834
|
+
class: G(["amc2-input-line", { active: r.value }, { noLabel: !k.label }])
|
|
14835
14835
|
}, [
|
|
14836
14836
|
k.iconName && p.value === "search" && !k.label ? (E(), t1(l1, {
|
|
14837
14837
|
key: 0,
|
|
@@ -14841,7 +14841,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
14841
14841
|
V("div", {
|
|
14842
14842
|
ref_key: "dateInputWrapper",
|
|
14843
14843
|
ref: c,
|
|
14844
|
-
class:
|
|
14844
|
+
class: G(["input-content", v.value])
|
|
14845
14845
|
}, [
|
|
14846
14846
|
k.type !== "date" ? (E(), I("input", {
|
|
14847
14847
|
key: 0,
|
|
@@ -14855,7 +14855,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
14855
14855
|
onInput: H,
|
|
14856
14856
|
onFocus: P,
|
|
14857
14857
|
onBlur: K
|
|
14858
|
-
}, null, 40,
|
|
14858
|
+
}, null, 40, Lu)) : (E(), I("input", {
|
|
14859
14859
|
key: 1,
|
|
14860
14860
|
ref_key: "inputRef",
|
|
14861
14861
|
ref: m,
|
|
@@ -14866,9 +14866,9 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
14866
14866
|
onInput: H,
|
|
14867
14867
|
onFocus: P,
|
|
14868
14868
|
onBlur: K
|
|
14869
|
-
}, null, 40,
|
|
14869
|
+
}, null, 40, Ou)),
|
|
14870
14870
|
V("div", {
|
|
14871
|
-
class:
|
|
14871
|
+
class: G(["input-icon-container", {
|
|
14872
14872
|
visible: r.value && (b.value || z.value || k.type === "date" || k.iconName && k.label)
|
|
14873
14873
|
}])
|
|
14874
14874
|
}, [
|
|
@@ -14884,14 +14884,14 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
14884
14884
|
class: "amc2-input-icon password-control",
|
|
14885
14885
|
onClick: D[0] || (D[0] = (O) => C())
|
|
14886
14886
|
}, null, 8, ["iconName"])) : N("", !0),
|
|
14887
|
-
k.type === "date" ? (E(), I("div",
|
|
14887
|
+
k.type === "date" ? (E(), I("div", Fu, [
|
|
14888
14888
|
r1(l1, {
|
|
14889
14889
|
"icon-name": "close",
|
|
14890
14890
|
class: "amc2-input-icon input-clear",
|
|
14891
14891
|
onClick: T
|
|
14892
14892
|
}),
|
|
14893
14893
|
r1(l1, {
|
|
14894
|
-
class:
|
|
14894
|
+
class: G(["amc2-input-icon", o.value ? "alert-circle" : "calendar"]),
|
|
14895
14895
|
iconName: o.value ? "alert-circle" : "calendar",
|
|
14896
14896
|
onClick: P
|
|
14897
14897
|
}, null, 8, ["class", "iconName"])
|
|
@@ -14912,10 +14912,10 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
14912
14912
|
iconName: k.iconName,
|
|
14913
14913
|
class: "amc2-input-icon-permanent"
|
|
14914
14914
|
}, null, 8, ["iconName"])) : N("", !0),
|
|
14915
|
-
p.value === "text" && d.value && f.value.length ? (E(), I("div",
|
|
14916
|
-
V("div",
|
|
14917
|
-
V("ul",
|
|
14918
|
-
(E(!0), I(
|
|
14915
|
+
p.value === "text" && d.value && f.value.length ? (E(), I("div", Nu, [
|
|
14916
|
+
V("div", ju, [
|
|
14917
|
+
V("ul", Uu, [
|
|
14918
|
+
(E(!0), I(g1, null, z1(f.value, (O, j) => (E(), I("li", {
|
|
14919
14919
|
key: j,
|
|
14920
14920
|
onMousedown: Pa((X) => S(O), ["prevent"])
|
|
14921
14921
|
}, [
|
|
@@ -14924,32 +14924,32 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
14924
14924
|
class: "amc2-list-item"
|
|
14925
14925
|
}, [
|
|
14926
14926
|
V("span", null, J(O.label), 1)
|
|
14927
|
-
], 8,
|
|
14928
|
-
], 40,
|
|
14927
|
+
], 8, Pu)
|
|
14928
|
+
], 40, Ku))), 128))
|
|
14929
14929
|
])
|
|
14930
14930
|
])
|
|
14931
14931
|
])) : N("", !0)
|
|
14932
14932
|
], 2),
|
|
14933
|
-
t.error && t.errorMessage ? (E(), I("div",
|
|
14934
|
-
]
|
|
14933
|
+
t.error && t.errorMessage ? (E(), I("div", Wu, J(t.errorMessage), 1)) : N("", !0)
|
|
14934
|
+
]));
|
|
14935
14935
|
}
|
|
14936
|
-
}),
|
|
14936
|
+
}), Qu = {
|
|
14937
14937
|
key: 0,
|
|
14938
14938
|
class: "datagrid-thead-cell datagrid-cell datagrid-checkbox-col",
|
|
14939
14939
|
style: { "align-self": "center" }
|
|
14940
|
-
},
|
|
14940
|
+
}, Yu = { class: "datagrid-cell-wrapper" }, qu = { class: "datagrid-cell-label" }, Gu = {
|
|
14941
14941
|
key: 0,
|
|
14942
14942
|
class: "datagrid-filter-order"
|
|
14943
|
-
},
|
|
14943
|
+
}, _u = ["onClick"], Ju = ["onClick"], Zu = {
|
|
14944
14944
|
key: 1,
|
|
14945
14945
|
class: "datagrid-thead-cell datagrid-cell"
|
|
14946
|
-
},
|
|
14946
|
+
}, Xu = {
|
|
14947
14947
|
ref: "settingsCol",
|
|
14948
14948
|
class: "datagrid-cell-wrapper"
|
|
14949
|
-
},
|
|
14949
|
+
}, $u = { class: "datagrid-settings-header" }, ed = { class: "col-selection-container" }, td = { class: "col-selection-options" }, ad = { class: "col-selection-option-text" }, id = {
|
|
14950
14950
|
key: 0,
|
|
14951
14951
|
class: "datagrid-tbody-cell datagrid-cell datagrid-checkbox-col"
|
|
14952
|
-
},
|
|
14952
|
+
}, nd = { class: "datagrid-action-menu-container" }, ld = { class: "datagrid-loader" }, La = 1500, rh = /* @__PURE__ */ u1({
|
|
14953
14953
|
__name: "DataGrid",
|
|
14954
14954
|
props: {
|
|
14955
14955
|
headers: {},
|
|
@@ -15054,13 +15054,13 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15054
15054
|
class: "datagrid-container"
|
|
15055
15055
|
}, [
|
|
15056
15056
|
V("div", {
|
|
15057
|
-
class:
|
|
15057
|
+
class: G(["datagrid-table", { "datagrid-table__with-selection": T.selection }])
|
|
15058
15058
|
}, [
|
|
15059
15059
|
V("div", {
|
|
15060
15060
|
class: "datagrid-thead",
|
|
15061
15061
|
style: w1(y.value)
|
|
15062
15062
|
}, [
|
|
15063
|
-
T.selection ? (E(), I("div",
|
|
15063
|
+
T.selection ? (E(), I("div", Qu, [
|
|
15064
15064
|
T.selection && T.headers.length ? (E(), t1(s2, {
|
|
15065
15065
|
key: "checkAll",
|
|
15066
15066
|
theme: { "--amc2-checkbox-color": "#9590b9" },
|
|
@@ -15071,13 +15071,13 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15071
15071
|
onChange: B
|
|
15072
15072
|
}, null, 8, ["indeterminate", "modelValue"])) : N("", !0)
|
|
15073
15073
|
])) : N("", !0),
|
|
15074
|
-
(E(!0), I(
|
|
15075
|
-
class: "datagrid-thead-cell datagrid-cell",
|
|
15074
|
+
(E(!0), I(g1, null, z1(g.value, (C) => (E(), I("div", {
|
|
15075
|
+
class: G(["datagrid-thead-cell datagrid-cell", { "datagrid-cell__fixed": C.fixedWidth }]),
|
|
15076
15076
|
style: w1(C.style)
|
|
15077
15077
|
}, [
|
|
15078
|
-
V("div",
|
|
15079
|
-
V("span",
|
|
15080
|
-
C.sortable && T.modalFilter ? (E(), I("div",
|
|
15078
|
+
V("div", Yu, [
|
|
15079
|
+
V("span", qu, J(C.label), 1),
|
|
15080
|
+
C.sortable && T.modalFilter ? (E(), I("div", Gu, [
|
|
15081
15081
|
V("span", {
|
|
15082
15082
|
class: "datagrid-cell-filter",
|
|
15083
15083
|
onClick: (x) => T.modalFilter(C)
|
|
@@ -15091,7 +15091,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15091
15091
|
key: 0,
|
|
15092
15092
|
backgroundColor: "secondary"
|
|
15093
15093
|
})) : N("", !0)
|
|
15094
|
-
], 8,
|
|
15094
|
+
], 8, _u),
|
|
15095
15095
|
r1(o0, null, {
|
|
15096
15096
|
content: C1(() => [
|
|
15097
15097
|
S3(J(z(C.dataType, C.sortOrder)), 1)
|
|
@@ -15104,7 +15104,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15104
15104
|
}, [
|
|
15105
15105
|
r1(l1, {
|
|
15106
15106
|
iconName: "arrow-up",
|
|
15107
|
-
class:
|
|
15107
|
+
class: G([
|
|
15108
15108
|
"sort-order-arrow",
|
|
15109
15109
|
"up",
|
|
15110
15110
|
C.sortOrder === "ASC" && "active"
|
|
@@ -15112,28 +15112,28 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15112
15112
|
}, null, 8, ["class"]),
|
|
15113
15113
|
r1(l1, {
|
|
15114
15114
|
iconName: "arrow-down",
|
|
15115
|
-
class:
|
|
15115
|
+
class: G([
|
|
15116
15116
|
"sort-order-arrow",
|
|
15117
15117
|
"down",
|
|
15118
15118
|
C.sortOrder === "DESC" && "active"
|
|
15119
15119
|
])
|
|
15120
15120
|
}, null, 8, ["class"])
|
|
15121
|
-
], 8,
|
|
15121
|
+
], 8, Ju)) : N("", !0)
|
|
15122
15122
|
]),
|
|
15123
15123
|
_: 2
|
|
15124
15124
|
}, 1024)
|
|
15125
15125
|
])) : N("", !0)
|
|
15126
15126
|
])
|
|
15127
|
-
],
|
|
15128
|
-
T.displaySettingsHeader ? (E(), I("div",
|
|
15129
|
-
V("div",
|
|
15127
|
+
], 6))), 256)),
|
|
15128
|
+
T.displaySettingsHeader ? (E(), I("div", Zu, [
|
|
15129
|
+
V("div", Xu, [
|
|
15130
15130
|
r1(ka, {
|
|
15131
15131
|
position: "bottom-left",
|
|
15132
15132
|
class: "datagrid-settings-menu-container",
|
|
15133
15133
|
onClose: R[2] || (R[2] = (C) => c.value = "")
|
|
15134
15134
|
}, {
|
|
15135
15135
|
content: C1(() => [
|
|
15136
|
-
V("div",
|
|
15136
|
+
V("div", ed, [
|
|
15137
15137
|
r1(y4, {
|
|
15138
15138
|
id: "datagrid-col-selection-input",
|
|
15139
15139
|
class: "col-selection-input",
|
|
@@ -15143,12 +15143,12 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15143
15143
|
modelValue: c.value,
|
|
15144
15144
|
"onUpdate:modelValue": R[1] || (R[1] = (C) => c.value = C)
|
|
15145
15145
|
}, null, 8, ["modelValue"]),
|
|
15146
|
-
V("div",
|
|
15147
|
-
(E(!0), I(
|
|
15146
|
+
V("div", td, [
|
|
15147
|
+
(E(!0), I(g1, null, z1(p.value, (C) => (E(), I("div", {
|
|
15148
15148
|
key: C.key,
|
|
15149
15149
|
class: "col-selection-option"
|
|
15150
15150
|
}, [
|
|
15151
|
-
V("div",
|
|
15151
|
+
V("div", ad, J(S1(H9)(C.label)), 1),
|
|
15152
15152
|
r1(T9, {
|
|
15153
15153
|
disabled: C.visibility?.isDisabled,
|
|
15154
15154
|
modelValue: C.visibility.isShown,
|
|
@@ -15162,7 +15162,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15162
15162
|
])
|
|
15163
15163
|
]),
|
|
15164
15164
|
default: C1(() => [
|
|
15165
|
-
V("div",
|
|
15165
|
+
V("div", $u, [
|
|
15166
15166
|
r1(l1, {
|
|
15167
15167
|
iconName: "settings",
|
|
15168
15168
|
height: "18",
|
|
@@ -15185,12 +15185,12 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15185
15185
|
class: "datagrid-tbody",
|
|
15186
15186
|
style: w1(y.value)
|
|
15187
15187
|
}, [
|
|
15188
|
-
(E(!0), I(
|
|
15188
|
+
(E(!0), I(g1, null, z1(T.items, (C) => (E(), I("div", {
|
|
15189
15189
|
key: C.id,
|
|
15190
|
-
class:
|
|
15190
|
+
class: G(["datagrid-tbody-row", { "datagrid-tbody-row__selected": C.isSelected }]),
|
|
15191
15191
|
style: w1(y.value)
|
|
15192
15192
|
}, [
|
|
15193
|
-
T.selection ? (E(), I("div",
|
|
15193
|
+
T.selection ? (E(), I("div", id, [
|
|
15194
15194
|
(E(), t1(s2, {
|
|
15195
15195
|
key: C.id,
|
|
15196
15196
|
iconStyle: r,
|
|
@@ -15199,7 +15199,9 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15199
15199
|
onChange: () => v(C)
|
|
15200
15200
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]))
|
|
15201
15201
|
])) : N("", !0),
|
|
15202
|
-
(E(!0), I(
|
|
15202
|
+
(E(!0), I(g1, null, z1(g.value, (x) => (E(), I("div", {
|
|
15203
|
+
class: G(["datagrid-tbody-cell datagrid-cell", { "datagrid-cell__fixed": x.fixedWidth }])
|
|
15204
|
+
}, [
|
|
15203
15205
|
r1(m9, {
|
|
15204
15206
|
is: "a",
|
|
15205
15207
|
class: "datagrid-link",
|
|
@@ -15207,18 +15209,18 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15207
15209
|
onClick: C[`onClick_${x.key}`]
|
|
15208
15210
|
}, {
|
|
15209
15211
|
default: C1(() => [
|
|
15210
|
-
C[x.key]?.render ? (E(), t1(Na(C[x.key].render), { key: 0 })) : x.dataType === "array" ? (E(), I(
|
|
15212
|
+
C[x.key]?.render ? (E(), t1(Na(C[x.key].render), { key: 0 })) : x.dataType === "array" ? (E(), I(g1, { key: 1 }, [
|
|
15211
15213
|
S3(J(b(C[x.key])), 1)
|
|
15212
|
-
], 64)) : (E(), I(
|
|
15214
|
+
], 64)) : (E(), I(g1, { key: 2 }, [
|
|
15213
15215
|
S3(J(C[x.key]), 1)
|
|
15214
15216
|
], 64))
|
|
15215
15217
|
]),
|
|
15216
15218
|
_: 2
|
|
15217
15219
|
}, 1032, ["wrap", "onClick"])
|
|
15218
|
-
]))), 256)),
|
|
15220
|
+
], 2))), 256)),
|
|
15219
15221
|
T.displaySettings ? (E(), I("div", {
|
|
15220
15222
|
key: 1,
|
|
15221
|
-
class:
|
|
15223
|
+
class: G(["datagrid-tbody-cell datagrid-cell datagrid-cell__settings", {
|
|
15222
15224
|
"datagrid-cell__not-fully-visible": !S.value.isFullyVisible
|
|
15223
15225
|
}]),
|
|
15224
15226
|
style: w1({
|
|
@@ -15323,7 +15325,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15323
15325
|
c.multiple || c.searchable ? (E(), I("div", {
|
|
15324
15326
|
key: 0,
|
|
15325
15327
|
ref: "headerRef",
|
|
15326
|
-
class:
|
|
15328
|
+
class: G(["amc2-list-header", { "amc2-list-header-sticky": c.stickyHeader }])
|
|
15327
15329
|
}, [
|
|
15328
15330
|
V("div", rd, [
|
|
15329
15331
|
c.multiple && n.value.length >= 3 ? (E(), t1(o0, {
|
|
@@ -15356,21 +15358,21 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15356
15358
|
])
|
|
15357
15359
|
], 2)) : N("", !0),
|
|
15358
15360
|
V("ul", {
|
|
15359
|
-
class:
|
|
15361
|
+
class: G(["amc2-list", [c.itemSize ? `amc2-list-${c.itemSize}` : ""]])
|
|
15360
15362
|
}, [
|
|
15361
15363
|
r.value.length === 0 ? (E(), I("li", ud, [
|
|
15362
15364
|
V("span", dd, J(c.emptyMessage), 1)
|
|
15363
15365
|
])) : N("", !0),
|
|
15364
|
-
(E(!0), I(
|
|
15366
|
+
(E(!0), I(g1, null, z1(r.value, (f) => (E(), I("li", {
|
|
15365
15367
|
key: f.value + "-" + f.label,
|
|
15366
|
-
class:
|
|
15368
|
+
class: G({ "amc2-list-item-selected": s(f.value) })
|
|
15367
15369
|
}, [
|
|
15368
15370
|
V("label", {
|
|
15369
15371
|
class: "amc2-list-item",
|
|
15370
15372
|
onClick: (d) => u(f)
|
|
15371
15373
|
}, [
|
|
15372
15374
|
V("span", {
|
|
15373
|
-
class:
|
|
15375
|
+
class: G({ selected: s(f.value) })
|
|
15374
15376
|
}, J(f.label), 3)
|
|
15375
15377
|
], 8, hd)
|
|
15376
15378
|
], 2))), 128))
|
|
@@ -15387,7 +15389,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15387
15389
|
setup(a) {
|
|
15388
15390
|
return (e, t) => e.visible ? (E(), I("div", {
|
|
15389
15391
|
key: 0,
|
|
15390
|
-
class:
|
|
15392
|
+
class: G(["modal-container", { "additional-modal": e.additionnal ?? !1 }])
|
|
15391
15393
|
}, [
|
|
15392
15394
|
t[1] || (t[1] = V("div", { class: "modal-background" }, null, -1)),
|
|
15393
15395
|
V("dialog", pd, [
|
|
@@ -15424,7 +15426,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15424
15426
|
};
|
|
15425
15427
|
return (s, r) => (E(), I("label", {
|
|
15426
15428
|
style: w1(n.value),
|
|
15427
|
-
class:
|
|
15429
|
+
class: G(["amc2-radio-container", s.className]),
|
|
15428
15430
|
onClick: l
|
|
15429
15431
|
}, [
|
|
15430
15432
|
V("input", {
|
|
@@ -15470,7 +15472,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15470
15472
|
}));
|
|
15471
15473
|
return (s, r) => (E(), I("div", {
|
|
15472
15474
|
style: w1(l.value),
|
|
15473
|
-
class:
|
|
15475
|
+
class: G(["amc2-segment-btn-container", { disabled: s.disabled }])
|
|
15474
15476
|
}, [
|
|
15475
15477
|
r1(o0, null, {
|
|
15476
15478
|
content: C1(() => [
|
|
@@ -15479,7 +15481,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15479
15481
|
default: C1(() => [
|
|
15480
15482
|
V("div", yd, [
|
|
15481
15483
|
V("div", {
|
|
15482
|
-
class:
|
|
15484
|
+
class: G(["amc2-segment-btn left", { active: s.modelValue === "left" }]),
|
|
15483
15485
|
onClick: r[0] || (r[0] = (o) => n("left")),
|
|
15484
15486
|
disabled: s.disabled
|
|
15485
15487
|
}, [
|
|
@@ -15502,7 +15504,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15502
15504
|
default: C1(() => [
|
|
15503
15505
|
V("div", wd, [
|
|
15504
15506
|
V("div", {
|
|
15505
|
-
class:
|
|
15507
|
+
class: G(["amc2-segment-btn center", { active: s.modelValue === "center" }]),
|
|
15506
15508
|
onClick: r[1] || (r[1] = (o) => n("center")),
|
|
15507
15509
|
disabled: s.disabled
|
|
15508
15510
|
}, [
|
|
@@ -15525,7 +15527,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15525
15527
|
default: C1(() => [
|
|
15526
15528
|
V("div", zd, [
|
|
15527
15529
|
V("div", {
|
|
15528
|
-
class:
|
|
15530
|
+
class: G(["amc2-segment-btn right", { active: s.modelValue === "right" }]),
|
|
15529
15531
|
onClick: r[2] || (r[2] = (o) => n("right")),
|
|
15530
15532
|
disabled: s.disabled
|
|
15531
15533
|
}, [
|
|
@@ -15558,7 +15560,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15558
15560
|
}
|
|
15559
15561
|
return (s, r) => n.value ? (E(), I("div", {
|
|
15560
15562
|
key: 0,
|
|
15561
|
-
class:
|
|
15563
|
+
class: G(["amc2-selection", { "amc2-selection-disabled": t.disabled }])
|
|
15562
15564
|
}, [
|
|
15563
15565
|
V("span", Md, [
|
|
15564
15566
|
_1(s.$slots, "default")
|
|
@@ -15634,7 +15636,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15634
15636
|
ref_key: "itemsRef",
|
|
15635
15637
|
ref: l
|
|
15636
15638
|
}, [
|
|
15637
|
-
d.modelValue.length === 0 ? (E(), I("span", Sd, J(t.placeholder), 1)) : (E(!0), I(
|
|
15639
|
+
d.modelValue.length === 0 ? (E(), I("span", Sd, J(t.placeholder), 1)) : (E(!0), I(g1, { key: 1 }, z1(r.value, (g, p) => (E(), t1(Oa, {
|
|
15638
15640
|
key: p,
|
|
15639
15641
|
disabled: t.disabled,
|
|
15640
15642
|
onClear: (y) => c(p),
|
|
@@ -15657,7 +15659,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15657
15659
|
}, {
|
|
15658
15660
|
content: C1(() => [
|
|
15659
15661
|
V("div", Id, [
|
|
15660
|
-
(E(!0), I(
|
|
15662
|
+
(E(!0), I(g1, null, z1(o.value, (g, p) => (E(), t1(Oa, {
|
|
15661
15663
|
key: p,
|
|
15662
15664
|
disabled: t.disabled,
|
|
15663
15665
|
onClear: (y) => c(p),
|
|
@@ -15740,14 +15742,14 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15740
15742
|
}), (d, m) => (E(), I("div", {
|
|
15741
15743
|
ref_key: "selectRef",
|
|
15742
15744
|
ref: s,
|
|
15743
|
-
class:
|
|
15745
|
+
class: G(["amc2-select", { "amc2-select-disabled": d.disabled }])
|
|
15744
15746
|
}, [
|
|
15745
15747
|
V("div", {
|
|
15746
15748
|
class: "amc2-select-display",
|
|
15747
15749
|
onClick: h
|
|
15748
15750
|
}, [
|
|
15749
15751
|
V("div", {
|
|
15750
|
-
class:
|
|
15752
|
+
class: G(["amc2-select-display-content", { withLabel: d.label !== void 0 }])
|
|
15751
15753
|
}, [
|
|
15752
15754
|
l.value.length === 1 ? (E(), I("span", Rd, J(l.value[0].label), 1)) : (E(), t1(Bd, {
|
|
15753
15755
|
key: 1,
|
|
@@ -15759,14 +15761,14 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15759
15761
|
V("div", Td, [
|
|
15760
15762
|
d.label !== void 0 ? (E(), I("span", {
|
|
15761
15763
|
key: 0,
|
|
15762
|
-
class:
|
|
15764
|
+
class: G(["amc2-select-label", [
|
|
15763
15765
|
{ active: n.value || l.value.length > 0 },
|
|
15764
15766
|
{ alone: !d.placeholder }
|
|
15765
15767
|
]])
|
|
15766
15768
|
}, J(d.label), 3)) : N("", !0),
|
|
15767
15769
|
!l.value.length && d.placeholder ? (E(), I("span", {
|
|
15768
15770
|
key: 1,
|
|
15769
|
-
class:
|
|
15771
|
+
class: G(["amc2-select-placeholder", [
|
|
15770
15772
|
{ active: n.value || l.value.length > 0 },
|
|
15771
15773
|
{ alone: !d.label }
|
|
15772
15774
|
]])
|
|
@@ -15776,7 +15778,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15776
15778
|
d.disabled ? N("", !0) : (E(), t1(l1, {
|
|
15777
15779
|
key: 0,
|
|
15778
15780
|
iconName: "chevron-down",
|
|
15779
|
-
class:
|
|
15781
|
+
class: G(["amc2-select-icon", { opened: n.value }])
|
|
15780
15782
|
}, null, 8, ["class"]))
|
|
15781
15783
|
]),
|
|
15782
15784
|
(E(), t1(Ze, { to: "body" }, [
|
|
@@ -15831,9 +15833,9 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15831
15833
|
r && t.value.add(r.label);
|
|
15832
15834
|
}
|
|
15833
15835
|
}), (r, o) => (E(), I("nav", Hd, [
|
|
15834
|
-
(E(!0), I(
|
|
15836
|
+
(E(!0), I(g1, null, z1(e.items, (u) => (E(), I("li", {
|
|
15835
15837
|
key: u.id,
|
|
15836
|
-
class:
|
|
15838
|
+
class: G({ "side-menu-item": !0, selected: u.id === i.value })
|
|
15837
15839
|
}, [
|
|
15838
15840
|
V("div", {
|
|
15839
15841
|
class: "side-menu-item-line",
|
|
@@ -15863,9 +15865,9 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15863
15865
|
}, {
|
|
15864
15866
|
default: C1(() => [
|
|
15865
15867
|
u.children && s(u) ? (E(), I("div", Nd, [
|
|
15866
|
-
(E(!0), I(
|
|
15868
|
+
(E(!0), I(g1, null, z1(u.children, (c) => (E(), I("li", {
|
|
15867
15869
|
key: c.id,
|
|
15868
|
-
class:
|
|
15870
|
+
class: G({
|
|
15869
15871
|
"side-menu-submenu-item": !0,
|
|
15870
15872
|
selected: c.id === i.value
|
|
15871
15873
|
}),
|
|
@@ -15902,8 +15904,8 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15902
15904
|
);
|
|
15903
15905
|
}), (n, l) => (E(), I("div", Ud, [
|
|
15904
15906
|
V("menu", Kd, [
|
|
15905
|
-
(E(!0), I(
|
|
15906
|
-
class:
|
|
15907
|
+
(E(!0), I(g1, null, z1(n.listItems, (s) => (E(), I("li", {
|
|
15908
|
+
class: G(["tabbar-menu-item", { active: s === n.listType }]),
|
|
15907
15909
|
onClick: (r) => i("change", s)
|
|
15908
15910
|
}, J(s), 11, Pd))), 256))
|
|
15909
15911
|
])
|
|
@@ -15927,10 +15929,10 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15927
15929
|
}, s = Q(() => ({ ...t.theme ?? {} }));
|
|
15928
15930
|
return (r, o) => (E(), I("div", {
|
|
15929
15931
|
style: w1(s.value),
|
|
15930
|
-
class:
|
|
15932
|
+
class: G(["amc2-advanced-toggle-container", { disabled: r.disabled }])
|
|
15931
15933
|
}, [
|
|
15932
15934
|
V("button", {
|
|
15933
|
-
class:
|
|
15935
|
+
class: G(["amc2-toggle-btn left", { active: n.value }]),
|
|
15934
15936
|
onClick: l,
|
|
15935
15937
|
disabled: r.disabled
|
|
15936
15938
|
}, [
|
|
@@ -15943,7 +15945,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15943
15945
|
V("span", null, J(r.labelLeft), 1)
|
|
15944
15946
|
], 10, Wd),
|
|
15945
15947
|
V("button", {
|
|
15946
|
-
class:
|
|
15948
|
+
class: G(["amc2-toggle-btn right", { active: !n.value }]),
|
|
15947
15949
|
onClick: l,
|
|
15948
15950
|
disabled: r.disabled
|
|
15949
15951
|
}, [
|
|
@@ -15990,9 +15992,9 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
15990
15992
|
}
|
|
15991
15993
|
};
|
|
15992
15994
|
return (s, r) => (E(), I("div", Yd, [
|
|
15993
|
-
(E(!0), I(
|
|
15995
|
+
(E(!0), I(g1, null, z1(S1(e), (o) => (E(), I("div", {
|
|
15994
15996
|
key: o.id,
|
|
15995
|
-
class:
|
|
15997
|
+
class: G(["toast", "show", o.intent])
|
|
15996
15998
|
}, [
|
|
15997
15999
|
V("div", qd, [
|
|
15998
16000
|
r1(l1, {
|
|
@@ -16044,7 +16046,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
|
|
|
16044
16046
|
return !(l && l?.length > 0);
|
|
16045
16047
|
});
|
|
16046
16048
|
return (l, s) => (E(), I("div", {
|
|
16047
|
-
class:
|
|
16049
|
+
class: G(["widget-container", l.color ? "custom-color" : ""]),
|
|
16048
16050
|
style: w1({
|
|
16049
16051
|
width: l.width,
|
|
16050
16052
|
height: l.height,
|