@uxland/primary-shell 5.2.0 → 5.2.1
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/index.js +383 -363
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +107 -96
- package/dist/index.umd.cjs.map +1 -1
- package/dist/primary/shell/src/UI/shared-components/primaria-character-limit-badge/primaria-character-limit-badge.d.ts +9 -0
- package/package.json +1 -1
- package/src/UI/shared-components/bootstrapper.ts +2 -0
- package/src/UI/shared-components/primaria-character-limit-badge/primaria-character-limit-badge.ts +29 -0
- package/src/UI/shared-components/primaria-character-limit-badge/styles.css +8 -0
- package/src/handle-views.ts +2 -24
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Ot = (X, W, J) =>
|
|
1
|
+
var tn = Object.defineProperty;
|
|
2
|
+
var rn = (X, W, J) => W in X ? tn(X, W, { enumerable: !0, configurable: !0, writable: !0, value: J }) : X[W] = J;
|
|
3
|
+
var Ot = (X, W, J) => rn(X, typeof W != "symbol" ? W + "" : W, J);
|
|
4
4
|
import c$r, { useState, useRef, useEffect } from "react";
|
|
5
5
|
import r$O, { createRoot } from "react-dom/client";
|
|
6
6
|
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -1921,13 +1921,13 @@ const V$4 = (X, W) => {
|
|
|
1921
1921
|
}
|
|
1922
1922
|
return [P$2(X, ne + (X[J] || "<?>") + (W === 2 ? "</svg>" : "")), te];
|
|
1923
1923
|
};
|
|
1924
|
-
let N$3 = class
|
|
1924
|
+
let N$3 = class $i {
|
|
1925
1925
|
constructor({ strings: W, _$litType$: J }, te) {
|
|
1926
1926
|
let re;
|
|
1927
1927
|
this.parts = [];
|
|
1928
1928
|
let ne = 0, oe = 0;
|
|
1929
1929
|
const de = W.length - 1, he = this.parts, [ue, ce] = V$4(W, J);
|
|
1930
|
-
if (this.el =
|
|
1930
|
+
if (this.el = $i.createElement(ue, te), C$b.currentNode = this.el.content, J === 2) {
|
|
1931
1931
|
const pe = this.el.content, fe = pe.firstChild;
|
|
1932
1932
|
fe.remove(), pe.append(...fe.childNodes);
|
|
1933
1933
|
}
|
|
@@ -2000,7 +2000,7 @@ let M$4 = class {
|
|
|
2000
2000
|
let J = 0;
|
|
2001
2001
|
for (const te of this._$AV) te !== void 0 && (te.strings !== void 0 ? (te._$AI(W, te, J), J += te.strings.length - 2) : te._$AI(W[J])), J++;
|
|
2002
2002
|
}
|
|
2003
|
-
}, R$1 = class
|
|
2003
|
+
}, R$1 = class wi {
|
|
2004
2004
|
constructor(W, J, te, re) {
|
|
2005
2005
|
var ne;
|
|
2006
2006
|
this.type = 2, this._$AH = A$1, this._$AN = void 0, this._$AA = W, this._$AB = J, this._$AM = te, this.options = re, this._$Cp = (ne = re == null ? void 0 : re.isConnected) === null || ne === void 0 || ne;
|
|
@@ -2049,7 +2049,7 @@ let M$4 = class {
|
|
|
2049
2049
|
c$o(this._$AH) || (this._$AH = [], this._$AR());
|
|
2050
2050
|
const J = this._$AH;
|
|
2051
2051
|
let te, re = 0;
|
|
2052
|
-
for (const ne of W) re === J.length ? J.push(te = new
|
|
2052
|
+
for (const ne of W) re === J.length ? J.push(te = new wi(this.k(u$u()), this.k(u$u()), this, this.options)) : te = J[re], te._$AI(ne), re++;
|
|
2053
2053
|
re < J.length && (this._$AR(te && te._$AB.nextSibling, re), J.length = re);
|
|
2054
2054
|
}
|
|
2055
2055
|
_$AR(W = this._$AA.nextSibling, J) {
|
|
@@ -2623,13 +2623,13 @@ const U$1 = (X, W) => {
|
|
|
2623
2623
|
}
|
|
2624
2624
|
return [N$2(X, ne + (X[J] || "<?>") + (W === 2 ? "</svg>" : W === 3 ? "</math>" : "")), te];
|
|
2625
2625
|
};
|
|
2626
|
-
let B$3 = class
|
|
2626
|
+
let B$3 = class xi {
|
|
2627
2627
|
constructor({ strings: W, _$litType$: J }, te) {
|
|
2628
2628
|
let re;
|
|
2629
2629
|
this.parts = [];
|
|
2630
2630
|
let ne = 0, oe = 0;
|
|
2631
2631
|
const de = W.length - 1, he = this.parts, [ue, ce] = U$1(W, J);
|
|
2632
|
-
if (this.el =
|
|
2632
|
+
if (this.el = xi.createElement(ue, te), I$2.currentNode = this.el.content, J === 2 || J === 3) {
|
|
2633
2633
|
const pe = this.el.content.firstChild;
|
|
2634
2634
|
pe.replaceWith(...pe.childNodes);
|
|
2635
2635
|
}
|
|
@@ -2694,7 +2694,7 @@ let F$2 = class {
|
|
|
2694
2694
|
let J = 0;
|
|
2695
2695
|
for (const te of this._$AV) te !== void 0 && (te.strings !== void 0 ? (te._$AI(W, te, J), J += te.strings.length - 2) : te._$AI(W[J])), J++;
|
|
2696
2696
|
}
|
|
2697
|
-
}, et$1 = class
|
|
2697
|
+
}, et$1 = class ki {
|
|
2698
2698
|
get _$AU() {
|
|
2699
2699
|
var W;
|
|
2700
2700
|
return ((W = this._$AM) == null ? void 0 : W._$AU) ?? this.v;
|
|
@@ -2742,7 +2742,7 @@ let F$2 = class {
|
|
|
2742
2742
|
g$n(this._$AH) || (this._$AH = [], this._$AR());
|
|
2743
2743
|
const J = this._$AH;
|
|
2744
2744
|
let te, re = 0;
|
|
2745
|
-
for (const ne of W) re === J.length ? J.push(te = new
|
|
2745
|
+
for (const ne of W) re === J.length ? J.push(te = new ki(this.O(lt$1()), this.O(lt$1()), this, this.options)) : te = J[re], te._$AI(ne), re++;
|
|
2746
2746
|
re < J.length && (this._$AR(te && te._$AB.nextSibling, re), J.length = re);
|
|
2747
2747
|
}
|
|
2748
2748
|
_$AR(W = this._$AA.nextSibling, J) {
|
|
@@ -2863,8 +2863,8 @@ let h$q = class extends b$r {
|
|
|
2863
2863
|
return R;
|
|
2864
2864
|
}
|
|
2865
2865
|
};
|
|
2866
|
-
var
|
|
2867
|
-
h$q._$litElement$ = !0, h$q.finalized = !0, (
|
|
2866
|
+
var yi;
|
|
2867
|
+
h$q._$litElement$ = !0, h$q.finalized = !0, (yi = globalThis.litElementHydrateSupport) == null || yi.call(globalThis, { LitElement: h$q });
|
|
2868
2868
|
const f$k = globalThis.litElementPolyfillSupport;
|
|
2869
2869
|
f$k == null || f$k({ LitElement: h$q });
|
|
2870
2870
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.0");
|
|
@@ -2947,7 +2947,7 @@ let a$n = class {
|
|
|
2947
2947
|
clear() {
|
|
2948
2948
|
this.viewsByRegion = {};
|
|
2949
2949
|
}
|
|
2950
|
-
}, n$u = class
|
|
2950
|
+
}, n$u = class Si {
|
|
2951
2951
|
constructor(W) {
|
|
2952
2952
|
this._viewRegistry = W, this._regions = {};
|
|
2953
2953
|
}
|
|
@@ -2988,7 +2988,7 @@ let a$n = class {
|
|
|
2988
2988
|
), this._regions = {}, this;
|
|
2989
2989
|
}
|
|
2990
2990
|
createRegionManager() {
|
|
2991
|
-
return new
|
|
2991
|
+
return new Si(this._viewRegistry);
|
|
2992
2992
|
}
|
|
2993
2993
|
}, h$p = class extends n$u {
|
|
2994
2994
|
constructor(W) {
|
|
@@ -3015,7 +3015,7 @@ const x$5 = (X) => new h$p(X), c$k = (X) => X.importer(), l$r = (X) => async (W,
|
|
|
3015
3015
|
if (!(X != null && X.length)) throw new Error("No plugins to bootstrap");
|
|
3016
3016
|
const J = (te) => l$r(u$q)(te, W);
|
|
3017
3017
|
return (await Promise.allSettled(X.map(J))).map((te) => te.status === "fulfilled" ? te.value : null);
|
|
3018
|
-
}, primariaShellId = "primaria-shell"
|
|
3018
|
+
}, primariaShellId = "primaria-shell";
|
|
3019
3019
|
var __extends$2 = /* @__PURE__ */ function() {
|
|
3020
3020
|
var X = function(W, J) {
|
|
3021
3021
|
return X = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(te, re) {
|
|
@@ -6332,7 +6332,7 @@ var __extends$1 = /* @__PURE__ */ function() {
|
|
|
6332
6332
|
);
|
|
6333
6333
|
function peg$parse(X, W) {
|
|
6334
6334
|
W = W !== void 0 ? W : {};
|
|
6335
|
-
var J = {}, te = { start:
|
|
6335
|
+
var J = {}, te = { start: ni }, re = ni, ne = function(Oe) {
|
|
6336
6336
|
return Oe.join("");
|
|
6337
6337
|
}, oe = function(Oe) {
|
|
6338
6338
|
return __assign$4({ type: TYPE.literal, value: Oe }, yr());
|
|
@@ -6340,7 +6340,7 @@ function peg$parse(X, W) {
|
|
|
6340
6340
|
return __assign$4({ type: TYPE.pound }, yr());
|
|
6341
6341
|
}, ce = vr("argumentElement"), pe = "{", fe = hr("{", !1), ge = "}", me = hr("}", !1), ve = function(Oe) {
|
|
6342
6342
|
return __assign$4({ type: TYPE.argument, value: Oe }, yr());
|
|
6343
|
-
}, be = vr("numberSkeletonId"), ye = /^['\/{}]/, we = wr(["'", "/", "{", "}"], !1, !1), Se =
|
|
6343
|
+
}, be = vr("numberSkeletonId"), ye = /^['\/{}]/, we = wr(["'", "/", "{", "}"], !1, !1), Se = Li(), _e = vr("numberSkeletonTokenOption"), Ce = "/", Le = hr("/", !1), Pe = function(Oe) {
|
|
6344
6344
|
return Oe;
|
|
6345
6345
|
}, Ie = vr("numberSkeletonToken"), ze = function(Oe, Be) {
|
|
6346
6346
|
return { stem: Oe, options: Be };
|
|
@@ -6361,7 +6361,7 @@ function peg$parse(X, W) {
|
|
|
6361
6361
|
}, Et = "date", Dt = hr("date", !1), Lt = "time", Ut = hr("time", !1), Ht = "plural", dr = hr("plural", !1), rr = "selectordinal", gt = hr("selectordinal", !1), mt = "offset:", xt = hr("offset:", !1), St = function(Oe, Be, tt, ft) {
|
|
6362
6362
|
return __assign$4({ type: TYPE.plural, pluralType: Be === "plural" ? "cardinal" : "ordinal", value: Oe, offset: tt ? tt[2] : 0, options: ft.reduce(function(wt, Mt) {
|
|
6363
6363
|
var nr = Mt.id, Vt = Mt.value, gr = Mt.location;
|
|
6364
|
-
return nr in wt &&
|
|
6364
|
+
return nr in wt && ri('Duplicate option "' + nr + '" in plural element: "' + ti() + '"', Ir()), wt[nr] = {
|
|
6365
6365
|
value: Vt,
|
|
6366
6366
|
location: gr
|
|
6367
6367
|
}, wt;
|
|
@@ -6369,7 +6369,7 @@ function peg$parse(X, W) {
|
|
|
6369
6369
|
}, $t = "select", Ft = hr("select", !1), Nt = function(Oe, Be) {
|
|
6370
6370
|
return __assign$4({ type: TYPE.select, value: Oe, options: Be.reduce(function(tt, ft) {
|
|
6371
6371
|
var wt = ft.id, Mt = ft.value, nr = ft.location;
|
|
6372
|
-
return wt in tt &&
|
|
6372
|
+
return wt in tt && ri('Duplicate option "' + wt + '" in select element: "' + ti() + '"', Ir()), tt[wt] = {
|
|
6373
6373
|
value: Mt,
|
|
6374
6374
|
location: nr
|
|
6375
6375
|
}, tt;
|
|
@@ -6395,29 +6395,29 @@ function peg$parse(X, W) {
|
|
|
6395
6395
|
}, fr = function(Oe, Be) {
|
|
6396
6396
|
return Oe + Be.replace("''", "'");
|
|
6397
6397
|
}, Ar = function(Oe) {
|
|
6398
|
-
return Oe !== "{" && !(
|
|
6398
|
+
return Oe !== "{" && !(_i() && Oe === "#") && !(en() && Oe === "}");
|
|
6399
6399
|
}, Pr = `
|
|
6400
6400
|
`, Dr = hr(`
|
|
6401
|
-
`, !1),
|
|
6402
|
-
return Oe === "{" || Oe === "}" ||
|
|
6403
|
-
},
|
|
6401
|
+
`, !1), Ci = function(Oe) {
|
|
6402
|
+
return Oe === "{" || Oe === "}" || _i() && Oe === "#";
|
|
6403
|
+
}, Ei = vr("argNameOrNumber"), Ai = vr("argNumber"), Ti = "0", Oi = hr("0", !1), qi = function() {
|
|
6404
6404
|
return 0;
|
|
6405
|
-
},
|
|
6405
|
+
}, Pi = /^[1-9]/, Di = wr([["1", "9"]], !1, !1), Xr = /^[0-9]/, ei = wr([["0", "9"]], !1, !1), Ri = function(Oe) {
|
|
6406
6406
|
return parseInt(Oe.join(""), 10);
|
|
6407
|
-
},
|
|
6407
|
+
}, Ii = vr("argName"), Fe = 0, Yt = 0, Tr = [{ line: 1, column: 1 }], br = 0, Rr = [], yt = 0, Or;
|
|
6408
6408
|
if (W.startRule !== void 0) {
|
|
6409
6409
|
if (!(W.startRule in te))
|
|
6410
6410
|
throw new Error(`Can't start parsing from rule "` + W.startRule + '".');
|
|
6411
6411
|
re = te[W.startRule];
|
|
6412
6412
|
}
|
|
6413
|
-
function
|
|
6413
|
+
function ti() {
|
|
6414
6414
|
return X.substring(Yt, Fe);
|
|
6415
6415
|
}
|
|
6416
6416
|
function Ir() {
|
|
6417
6417
|
return qr(Yt, Fe);
|
|
6418
6418
|
}
|
|
6419
|
-
function
|
|
6420
|
-
throw Be = Be !== void 0 ? Be : qr(Yt, Fe),
|
|
6419
|
+
function ri(Oe, Be) {
|
|
6420
|
+
throw Be = Be !== void 0 ? Be : qr(Yt, Fe), Ni(Oe, Be);
|
|
6421
6421
|
}
|
|
6422
6422
|
function hr(Oe, Be) {
|
|
6423
6423
|
return { type: "literal", text: Oe, ignoreCase: Be };
|
|
@@ -6425,16 +6425,16 @@ function peg$parse(X, W) {
|
|
|
6425
6425
|
function wr(Oe, Be, tt) {
|
|
6426
6426
|
return { type: "class", parts: Oe, inverted: Be, ignoreCase: tt };
|
|
6427
6427
|
}
|
|
6428
|
-
function
|
|
6428
|
+
function Li() {
|
|
6429
6429
|
return { type: "any" };
|
|
6430
6430
|
}
|
|
6431
|
-
function
|
|
6431
|
+
function Mi() {
|
|
6432
6432
|
return { type: "end" };
|
|
6433
6433
|
}
|
|
6434
6434
|
function vr(Oe) {
|
|
6435
6435
|
return { type: "other", description: Oe };
|
|
6436
6436
|
}
|
|
6437
|
-
function
|
|
6437
|
+
function ii(Oe) {
|
|
6438
6438
|
var Be = Tr[Oe], tt;
|
|
6439
6439
|
if (Be)
|
|
6440
6440
|
return Be;
|
|
@@ -6448,7 +6448,7 @@ function peg$parse(X, W) {
|
|
|
6448
6448
|
return Tr[Oe] = Be, Be;
|
|
6449
6449
|
}
|
|
6450
6450
|
function qr(Oe, Be) {
|
|
6451
|
-
var tt =
|
|
6451
|
+
var tt = ii(Oe), ft = ii(Be);
|
|
6452
6452
|
return {
|
|
6453
6453
|
start: {
|
|
6454
6454
|
offset: Oe,
|
|
@@ -6465,48 +6465,48 @@ function peg$parse(X, W) {
|
|
|
6465
6465
|
function Ct(Oe) {
|
|
6466
6466
|
Fe < br || (Fe > br && (br = Fe, Rr = []), Rr.push(Oe));
|
|
6467
6467
|
}
|
|
6468
|
-
function
|
|
6468
|
+
function Ni(Oe, Be) {
|
|
6469
6469
|
return new SyntaxError(Oe, [], "", Be);
|
|
6470
6470
|
}
|
|
6471
|
-
function
|
|
6471
|
+
function Fi(Oe, Be, tt) {
|
|
6472
6472
|
return new SyntaxError(SyntaxError.buildMessage(Oe, Be), Oe, Be, tt);
|
|
6473
6473
|
}
|
|
6474
|
-
function
|
|
6474
|
+
function ni() {
|
|
6475
6475
|
var Oe;
|
|
6476
6476
|
return Oe = Lr(), Oe;
|
|
6477
6477
|
}
|
|
6478
6478
|
function Lr() {
|
|
6479
6479
|
var Oe, Be;
|
|
6480
|
-
for (Oe = [], Be =
|
|
6481
|
-
Oe.push(Be), Be =
|
|
6480
|
+
for (Oe = [], Be = oi(); Be !== J; )
|
|
6481
|
+
Oe.push(Be), Be = oi();
|
|
6482
6482
|
return Oe;
|
|
6483
6483
|
}
|
|
6484
|
-
function
|
|
6484
|
+
function oi() {
|
|
6485
6485
|
var Oe;
|
|
6486
|
-
return Oe =
|
|
6486
|
+
return Oe = zi(), Oe === J && (Oe = Ui(), Oe === J && (Oe = Yi(), Oe === J && (Oe = Zi(), Oe === J && (Oe = Ki(), Oe === J && (Oe = ji()))))), Oe;
|
|
6487
6487
|
}
|
|
6488
6488
|
function Mr() {
|
|
6489
6489
|
var Oe, Be, tt;
|
|
6490
|
-
if (Oe = Fe, Be = [], tt = kr(), tt === J && (tt =
|
|
6490
|
+
if (Oe = Fe, Be = [], tt = kr(), tt === J && (tt = vi(), tt === J && (tt = mi())), tt !== J)
|
|
6491
6491
|
for (; tt !== J; )
|
|
6492
|
-
Be.push(tt), tt = kr(), tt === J && (tt =
|
|
6492
|
+
Be.push(tt), tt = kr(), tt === J && (tt = vi(), tt === J && (tt = mi()));
|
|
6493
6493
|
else
|
|
6494
6494
|
Be = J;
|
|
6495
6495
|
return Be !== J && (Yt = Oe, Be = ne(Be)), Oe = Be, Oe;
|
|
6496
6496
|
}
|
|
6497
|
-
function
|
|
6497
|
+
function zi() {
|
|
6498
6498
|
var Oe, Be;
|
|
6499
6499
|
return Oe = Fe, Be = Mr(), Be !== J && (Yt = Oe, Be = oe(Be)), Oe = Be, Oe;
|
|
6500
6500
|
}
|
|
6501
|
-
function
|
|
6501
|
+
function ji() {
|
|
6502
6502
|
var Oe, Be;
|
|
6503
6503
|
return Oe = Fe, X.charCodeAt(Fe) === 35 ? (Be = de, Fe++) : (Be = J, yt === 0 && Ct(he)), Be !== J && (Yt = Oe, Be = ue()), Oe = Be, Oe;
|
|
6504
6504
|
}
|
|
6505
|
-
function
|
|
6505
|
+
function Ui() {
|
|
6506
6506
|
var Oe, Be, tt, ft, wt, Mt;
|
|
6507
6507
|
return yt++, Oe = Fe, X.charCodeAt(Fe) === 123 ? (Be = pe, Fe++) : (Be = J, yt === 0 && Ct(fe)), Be !== J ? (tt = Wt(), tt !== J ? (ft = Cr(), ft !== J ? (wt = Wt(), wt !== J ? (X.charCodeAt(Fe) === 125 ? (Mt = ge, Fe++) : (Mt = J, yt === 0 && Ct(me)), Mt !== J ? (Yt = Oe, Be = ve(ft), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J), yt--, Oe === J && (Be = J, yt === 0 && Ct(ce)), Oe;
|
|
6508
6508
|
}
|
|
6509
|
-
function
|
|
6509
|
+
function ai() {
|
|
6510
6510
|
var Oe, Be, tt, ft, wt;
|
|
6511
6511
|
if (yt++, Oe = Fe, Be = [], tt = Fe, ft = Fe, yt++, wt = xr(), wt === J && (ye.test(X.charAt(Fe)) ? (wt = X.charAt(Fe), Fe++) : (wt = J, yt === 0 && Ct(we))), yt--, wt === J ? ft = void 0 : (Fe = ft, ft = J), ft !== J ? (X.length > Fe ? (wt = X.charAt(Fe), Fe++) : (wt = J, yt === 0 && Ct(Se)), wt !== J ? (ft = [ft, wt], tt = ft) : (Fe = tt, tt = J)) : (Fe = tt, tt = J), tt !== J)
|
|
6512
6512
|
for (; tt !== J; )
|
|
@@ -6515,16 +6515,16 @@ function peg$parse(X, W) {
|
|
|
6515
6515
|
Be = J;
|
|
6516
6516
|
return Be !== J ? Oe = X.substring(Oe, Fe) : Oe = Be, yt--, Oe === J && (Be = J, yt === 0 && Ct(be)), Oe;
|
|
6517
6517
|
}
|
|
6518
|
-
function
|
|
6518
|
+
function li() {
|
|
6519
6519
|
var Oe, Be, tt;
|
|
6520
|
-
return yt++, Oe = Fe, X.charCodeAt(Fe) === 47 ? (Be = Ce, Fe++) : (Be = J, yt === 0 && Ct(Le)), Be !== J ? (tt =
|
|
6520
|
+
return yt++, Oe = Fe, X.charCodeAt(Fe) === 47 ? (Be = Ce, Fe++) : (Be = J, yt === 0 && Ct(Le)), Be !== J ? (tt = ai(), tt !== J ? (Yt = Oe, Be = Pe(tt), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J), yt--, Oe === J && (Be = J, yt === 0 && Ct(_e)), Oe;
|
|
6521
6521
|
}
|
|
6522
|
-
function
|
|
6522
|
+
function di() {
|
|
6523
6523
|
var Oe, Be, tt, ft, wt;
|
|
6524
6524
|
if (yt++, Oe = Fe, Be = Wt(), Be !== J)
|
|
6525
|
-
if (tt =
|
|
6526
|
-
for (ft = [], wt =
|
|
6527
|
-
ft.push(wt), wt =
|
|
6525
|
+
if (tt = ai(), tt !== J) {
|
|
6526
|
+
for (ft = [], wt = li(); wt !== J; )
|
|
6527
|
+
ft.push(wt), wt = li();
|
|
6528
6528
|
ft !== J ? (Yt = Oe, Be = ze(tt, ft), Oe = Be) : (Fe = Oe, Oe = J);
|
|
6529
6529
|
} else
|
|
6530
6530
|
Fe = Oe, Oe = J;
|
|
@@ -6532,24 +6532,24 @@ function peg$parse(X, W) {
|
|
|
6532
6532
|
Fe = Oe, Oe = J;
|
|
6533
6533
|
return yt--, Oe === J && (Be = J, yt === 0 && Ct(Ie)), Oe;
|
|
6534
6534
|
}
|
|
6535
|
-
function
|
|
6535
|
+
function Bi() {
|
|
6536
6536
|
var Oe, Be, tt;
|
|
6537
|
-
if (Oe = Fe, Be = [], tt =
|
|
6537
|
+
if (Oe = Fe, Be = [], tt = di(), tt !== J)
|
|
6538
6538
|
for (; tt !== J; )
|
|
6539
|
-
Be.push(tt), tt =
|
|
6539
|
+
Be.push(tt), tt = di();
|
|
6540
6540
|
else
|
|
6541
6541
|
Be = J;
|
|
6542
6542
|
return Be !== J && (Yt = Oe, Be = qe(Be)), Oe = Be, Oe;
|
|
6543
6543
|
}
|
|
6544
|
-
function
|
|
6544
|
+
function Hi() {
|
|
6545
6545
|
var Oe, Be, tt;
|
|
6546
|
-
return Oe = Fe, X.substr(Fe, 2) === Ae ? (Be = Ae, Fe += 2) : (Be = J, yt === 0 && Ct(De)), Be !== J ? (tt =
|
|
6546
|
+
return Oe = Fe, X.substr(Fe, 2) === Ae ? (Be = Ae, Fe += 2) : (Be = J, yt === 0 && Ct(De)), Be !== J ? (tt = Bi(), tt !== J ? (Yt = Oe, Be = Me(tt), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J), Oe === J && (Oe = Fe, Yt = Fe, Be = Ue(), Be ? Be = void 0 : Be = J, Be !== J ? (tt = Mr(), tt !== J ? (Yt = Oe, Be = Ve(tt), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)), Oe;
|
|
6547
6547
|
}
|
|
6548
|
-
function
|
|
6548
|
+
function Vi() {
|
|
6549
6549
|
var Oe, Be, tt, ft, wt, Mt, nr, Vt, gr, Gt, lr, Zt, sr;
|
|
6550
|
-
return Oe = Fe, X.charCodeAt(Fe) === 123 ? (Be = pe, Fe++) : (Be = J, yt === 0 && Ct(fe)), Be !== J ? (tt = Wt(), tt !== J ? (ft = Cr(), ft !== J ? (wt = Wt(), wt !== J ? (X.charCodeAt(Fe) === 44 ? (Mt = Ge, Fe++) : (Mt = J, yt === 0 && Ct(Ye)), Mt !== J ? (nr = Wt(), nr !== J ? (X.substr(Fe, 6) === vt ? (Vt = vt, Fe += 6) : (Vt = J, yt === 0 && Ct(Qe)), Vt !== J ? (gr = Wt(), gr !== J ? (Gt = Fe, X.charCodeAt(Fe) === 44 ? (lr = Ge, Fe++) : (lr = J, yt === 0 && Ct(Ye)), lr !== J ? (Zt = Wt(), Zt !== J ? (sr =
|
|
6550
|
+
return Oe = Fe, X.charCodeAt(Fe) === 123 ? (Be = pe, Fe++) : (Be = J, yt === 0 && Ct(fe)), Be !== J ? (tt = Wt(), tt !== J ? (ft = Cr(), ft !== J ? (wt = Wt(), wt !== J ? (X.charCodeAt(Fe) === 44 ? (Mt = Ge, Fe++) : (Mt = J, yt === 0 && Ct(Ye)), Mt !== J ? (nr = Wt(), nr !== J ? (X.substr(Fe, 6) === vt ? (Vt = vt, Fe += 6) : (Vt = J, yt === 0 && Ct(Qe)), Vt !== J ? (gr = Wt(), gr !== J ? (Gt = Fe, X.charCodeAt(Fe) === 44 ? (lr = Ge, Fe++) : (lr = J, yt === 0 && Ct(Ye)), lr !== J ? (Zt = Wt(), Zt !== J ? (sr = Hi(), sr !== J ? (lr = [lr, Zt, sr], Gt = lr) : (Fe = Gt, Gt = J)) : (Fe = Gt, Gt = J)) : (Fe = Gt, Gt = J), Gt === J && (Gt = null), Gt !== J ? (lr = Wt(), lr !== J ? (X.charCodeAt(Fe) === 125 ? (Zt = ge, Fe++) : (Zt = J, yt === 0 && Ct(me)), Zt !== J ? (Yt = Oe, Be = We(ft, Vt, Gt), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J), Oe;
|
|
6551
6551
|
}
|
|
6552
|
-
function
|
|
6552
|
+
function ci() {
|
|
6553
6553
|
var Oe, Be, tt, ft;
|
|
6554
6554
|
if (Oe = Fe, X.charCodeAt(Fe) === 39 ? (Be = Ne, Fe++) : (Be = J, yt === 0 && Ct(je)), Be !== J) {
|
|
6555
6555
|
if (tt = [], ft = kr(), ft === J && (Je.test(X.charAt(Fe)) ? (ft = X.charAt(Fe), Fe++) : (ft = J, yt === 0 && Ct(Xe))), ft !== J)
|
|
@@ -6568,7 +6568,7 @@ function peg$parse(X, W) {
|
|
|
6568
6568
|
Oe = J;
|
|
6569
6569
|
return Oe;
|
|
6570
6570
|
}
|
|
6571
|
-
function
|
|
6571
|
+
function ui() {
|
|
6572
6572
|
var Oe, Be;
|
|
6573
6573
|
if (Oe = [], Ze.test(X.charAt(Fe)) ? (Be = X.charAt(Fe), Fe++) : (Be = J, yt === 0 && Ct(it)), Be !== J)
|
|
6574
6574
|
for (; Be !== J; )
|
|
@@ -6577,28 +6577,28 @@ function peg$parse(X, W) {
|
|
|
6577
6577
|
Oe = J;
|
|
6578
6578
|
return Oe;
|
|
6579
6579
|
}
|
|
6580
|
-
function
|
|
6580
|
+
function Wi() {
|
|
6581
6581
|
var Oe, Be, tt, ft;
|
|
6582
|
-
if (Oe = Fe, Be = Fe, tt = [], ft =
|
|
6582
|
+
if (Oe = Fe, Be = Fe, tt = [], ft = ci(), ft === J && (ft = ui()), ft !== J)
|
|
6583
6583
|
for (; ft !== J; )
|
|
6584
|
-
tt.push(ft), ft =
|
|
6584
|
+
tt.push(ft), ft = ci(), ft === J && (ft = ui());
|
|
6585
6585
|
else
|
|
6586
6586
|
tt = J;
|
|
6587
6587
|
return tt !== J ? Be = X.substring(Be, Fe) : Be = tt, Be !== J && (Yt = Oe, Be = nt(Be)), Oe = Be, Oe;
|
|
6588
6588
|
}
|
|
6589
|
-
function
|
|
6589
|
+
function Ji() {
|
|
6590
6590
|
var Oe, Be, tt;
|
|
6591
|
-
return Oe = Fe, X.substr(Fe, 2) === Ae ? (Be = Ae, Fe += 2) : (Be = J, yt === 0 && Ct(De)), Be !== J ? (tt =
|
|
6591
|
+
return Oe = Fe, X.substr(Fe, 2) === Ae ? (Be = Ae, Fe += 2) : (Be = J, yt === 0 && Ct(De)), Be !== J ? (tt = Wi(), tt !== J ? (Yt = Oe, Be = Me(tt), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J), Oe === J && (Oe = Fe, Yt = Fe, Be = bt(), Be ? Be = void 0 : Be = J, Be !== J ? (tt = Mr(), tt !== J ? (Yt = Oe, Be = Ve(tt), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)), Oe;
|
|
6592
6592
|
}
|
|
6593
|
-
function
|
|
6593
|
+
function Gi() {
|
|
6594
6594
|
var Oe, Be, tt, ft, wt, Mt, nr, Vt, gr, Gt, lr, Zt, sr;
|
|
6595
|
-
return Oe = Fe, X.charCodeAt(Fe) === 123 ? (Be = pe, Fe++) : (Be = J, yt === 0 && Ct(fe)), Be !== J ? (tt = Wt(), tt !== J ? (ft = Cr(), ft !== J ? (wt = Wt(), wt !== J ? (X.charCodeAt(Fe) === 44 ? (Mt = Ge, Fe++) : (Mt = J, yt === 0 && Ct(Ye)), Mt !== J ? (nr = Wt(), nr !== J ? (X.substr(Fe, 4) === Et ? (Vt = Et, Fe += 4) : (Vt = J, yt === 0 && Ct(Dt)), Vt === J && (X.substr(Fe, 4) === Lt ? (Vt = Lt, Fe += 4) : (Vt = J, yt === 0 && Ct(Ut))), Vt !== J ? (gr = Wt(), gr !== J ? (Gt = Fe, X.charCodeAt(Fe) === 44 ? (lr = Ge, Fe++) : (lr = J, yt === 0 && Ct(Ye)), lr !== J ? (Zt = Wt(), Zt !== J ? (sr =
|
|
6595
|
+
return Oe = Fe, X.charCodeAt(Fe) === 123 ? (Be = pe, Fe++) : (Be = J, yt === 0 && Ct(fe)), Be !== J ? (tt = Wt(), tt !== J ? (ft = Cr(), ft !== J ? (wt = Wt(), wt !== J ? (X.charCodeAt(Fe) === 44 ? (Mt = Ge, Fe++) : (Mt = J, yt === 0 && Ct(Ye)), Mt !== J ? (nr = Wt(), nr !== J ? (X.substr(Fe, 4) === Et ? (Vt = Et, Fe += 4) : (Vt = J, yt === 0 && Ct(Dt)), Vt === J && (X.substr(Fe, 4) === Lt ? (Vt = Lt, Fe += 4) : (Vt = J, yt === 0 && Ct(Ut))), Vt !== J ? (gr = Wt(), gr !== J ? (Gt = Fe, X.charCodeAt(Fe) === 44 ? (lr = Ge, Fe++) : (lr = J, yt === 0 && Ct(Ye)), lr !== J ? (Zt = Wt(), Zt !== J ? (sr = Ji(), sr !== J ? (lr = [lr, Zt, sr], Gt = lr) : (Fe = Gt, Gt = J)) : (Fe = Gt, Gt = J)) : (Fe = Gt, Gt = J), Gt === J && (Gt = null), Gt !== J ? (lr = Wt(), lr !== J ? (X.charCodeAt(Fe) === 125 ? (Zt = ge, Fe++) : (Zt = J, yt === 0 && Ct(me)), Zt !== J ? (Yt = Oe, Be = We(ft, Vt, Gt), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J), Oe;
|
|
6596
6596
|
}
|
|
6597
|
-
function
|
|
6597
|
+
function Yi() {
|
|
6598
6598
|
var Oe;
|
|
6599
|
-
return Oe =
|
|
6599
|
+
return Oe = Vi(), Oe === J && (Oe = Gi()), Oe;
|
|
6600
6600
|
}
|
|
6601
|
-
function
|
|
6601
|
+
function Zi() {
|
|
6602
6602
|
var Oe, Be, tt, ft, wt, Mt, nr, Vt, gr, Gt, lr, Zt, sr, mr, $r, Fr;
|
|
6603
6603
|
if (Oe = Fe, X.charCodeAt(Fe) === 123 ? (Be = pe, Fe++) : (Be = J, yt === 0 && Ct(fe)), Be !== J)
|
|
6604
6604
|
if (tt = Wt(), tt !== J)
|
|
@@ -6610,11 +6610,11 @@ function peg$parse(X, W) {
|
|
|
6610
6610
|
if (gr = Wt(), gr !== J)
|
|
6611
6611
|
if (X.charCodeAt(Fe) === 44 ? (Gt = Ge, Fe++) : (Gt = J, yt === 0 && Ct(Ye)), Gt !== J)
|
|
6612
6612
|
if (lr = Wt(), lr !== J)
|
|
6613
|
-
if (Zt = Fe, X.substr(Fe, 7) === mt ? (sr = mt, Fe += 7) : (sr = J, yt === 0 && Ct(xt)), sr !== J ? (mr = Wt(), mr !== J ? ($r =
|
|
6613
|
+
if (Zt = Fe, X.substr(Fe, 7) === mt ? (sr = mt, Fe += 7) : (sr = J, yt === 0 && Ct(xt)), sr !== J ? (mr = Wt(), mr !== J ? ($r = gi(), $r !== J ? (sr = [sr, mr, $r], Zt = sr) : (Fe = Zt, Zt = J)) : (Fe = Zt, Zt = J)) : (Fe = Zt, Zt = J), Zt === J && (Zt = null), Zt !== J)
|
|
6614
6614
|
if (sr = Wt(), sr !== J) {
|
|
6615
|
-
if (mr = [], $r =
|
|
6615
|
+
if (mr = [], $r = pi(), $r !== J)
|
|
6616
6616
|
for (; $r !== J; )
|
|
6617
|
-
mr.push($r), $r =
|
|
6617
|
+
mr.push($r), $r = pi();
|
|
6618
6618
|
else
|
|
6619
6619
|
mr = J;
|
|
6620
6620
|
mr !== J ? ($r = Wt(), $r !== J ? (X.charCodeAt(Fe) === 125 ? (Fr = ge, Fe++) : (Fr = J, yt === 0 && Ct(me)), Fr !== J ? (Yt = Oe, Be = St(ft, Vt, Zt, mr), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J);
|
|
@@ -6644,7 +6644,7 @@ function peg$parse(X, W) {
|
|
|
6644
6644
|
Fe = Oe, Oe = J;
|
|
6645
6645
|
return Oe;
|
|
6646
6646
|
}
|
|
6647
|
-
function
|
|
6647
|
+
function Ki() {
|
|
6648
6648
|
var Oe, Be, tt, ft, wt, Mt, nr, Vt, gr, Gt, lr, Zt, sr, mr;
|
|
6649
6649
|
if (Oe = Fe, X.charCodeAt(Fe) === 123 ? (Be = pe, Fe++) : (Be = J, yt === 0 && Ct(fe)), Be !== J)
|
|
6650
6650
|
if (tt = Wt(), tt !== J)
|
|
@@ -6656,9 +6656,9 @@ function peg$parse(X, W) {
|
|
|
6656
6656
|
if (gr = Wt(), gr !== J)
|
|
6657
6657
|
if (X.charCodeAt(Fe) === 44 ? (Gt = Ge, Fe++) : (Gt = J, yt === 0 && Ct(Ye)), Gt !== J)
|
|
6658
6658
|
if (lr = Wt(), lr !== J) {
|
|
6659
|
-
if (Zt = [], sr =
|
|
6659
|
+
if (Zt = [], sr = hi(), sr !== J)
|
|
6660
6660
|
for (; sr !== J; )
|
|
6661
|
-
Zt.push(sr), sr =
|
|
6661
|
+
Zt.push(sr), sr = hi();
|
|
6662
6662
|
else
|
|
6663
6663
|
Zt = J;
|
|
6664
6664
|
Zt !== J ? (sr = Wt(), sr !== J ? (X.charCodeAt(Fe) === 125 ? (mr = ge, Fe++) : (mr = J, yt === 0 && Ct(me)), mr !== J ? (Yt = Oe, Be = Nt(ft, Zt), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J);
|
|
@@ -6684,23 +6684,23 @@ function peg$parse(X, W) {
|
|
|
6684
6684
|
Fe = Oe, Oe = J;
|
|
6685
6685
|
return Oe;
|
|
6686
6686
|
}
|
|
6687
|
-
function
|
|
6687
|
+
function Qi() {
|
|
6688
6688
|
var Oe, Be, tt, ft;
|
|
6689
|
-
return Oe = Fe, Be = Fe, X.charCodeAt(Fe) === 61 ? (tt = zt, Fe++) : (tt = J, yt === 0 && Ct(or)), tt !== J ? (ft =
|
|
6689
|
+
return Oe = Fe, Be = Fe, X.charCodeAt(Fe) === 61 ? (tt = zt, Fe++) : (tt = J, yt === 0 && Ct(or)), tt !== J ? (ft = gi(), ft !== J ? (tt = [tt, ft], Be = tt) : (Fe = Be, Be = J)) : (Fe = Be, Be = J), Be !== J ? Oe = X.substring(Oe, Fe) : Oe = Be, Oe === J && (Oe = Nr()), Oe;
|
|
6690
6690
|
}
|
|
6691
|
-
function
|
|
6691
|
+
function hi() {
|
|
6692
6692
|
var Oe, Be, tt, ft, wt, Mt, nr, Vt;
|
|
6693
6693
|
return Oe = Fe, Be = Wt(), Be !== J ? (tt = Nr(), tt !== J ? (ft = Wt(), ft !== J ? (X.charCodeAt(Fe) === 123 ? (wt = pe, Fe++) : (wt = J, yt === 0 && Ct(fe)), wt !== J ? (Yt = Fe, Mt = pr(), Mt ? Mt = void 0 : Mt = J, Mt !== J ? (nr = Lr(), nr !== J ? (X.charCodeAt(Fe) === 125 ? (Vt = ge, Fe++) : (Vt = J, yt === 0 && Ct(me)), Vt !== J ? (Yt = Oe, Be = Kt(tt, nr), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J), Oe;
|
|
6694
6694
|
}
|
|
6695
|
-
function
|
|
6695
|
+
function pi() {
|
|
6696
6696
|
var Oe, Be, tt, ft, wt, Mt, nr, Vt;
|
|
6697
|
-
return Oe = Fe, Be = Wt(), Be !== J ? (tt =
|
|
6697
|
+
return Oe = Fe, Be = Wt(), Be !== J ? (tt = Qi(), tt !== J ? (ft = Wt(), ft !== J ? (X.charCodeAt(Fe) === 123 ? (wt = pe, Fe++) : (wt = J, yt === 0 && Ct(fe)), wt !== J ? (Yt = Fe, Mt = Sr(), Mt ? Mt = void 0 : Mt = J, Mt !== J ? (nr = Lr(), nr !== J ? (X.charCodeAt(Fe) === 125 ? (Vt = ge, Fe++) : (Vt = J, yt === 0 && Ct(me)), Vt !== J ? (Yt = Oe, Be = ir(tt, nr), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J), Oe;
|
|
6698
6698
|
}
|
|
6699
6699
|
function xr() {
|
|
6700
6700
|
var Oe;
|
|
6701
6701
|
return yt++, ot.test(X.charAt(Fe)) ? (Oe = X.charAt(Fe), Fe++) : (Oe = J, yt === 0 && Ct(_t)), yt--, Oe === J && yt === 0 && Ct(rt), Oe;
|
|
6702
6702
|
}
|
|
6703
|
-
function
|
|
6703
|
+
function fi() {
|
|
6704
6704
|
var Oe;
|
|
6705
6705
|
return yt++, It.test(X.charAt(Fe)) ? (Oe = X.charAt(Fe), Fe++) : (Oe = J, yt === 0 && Ct(ur)), yt--, Oe === J && yt === 0 && Ct(kt), Oe;
|
|
6706
6706
|
}
|
|
@@ -6710,18 +6710,18 @@ function peg$parse(X, W) {
|
|
|
6710
6710
|
Be.push(tt), tt = xr();
|
|
6711
6711
|
return Be !== J ? Oe = X.substring(Oe, Fe) : Oe = Be, yt--, Oe === J && (Be = J, yt === 0 && Ct(cr)), Oe;
|
|
6712
6712
|
}
|
|
6713
|
-
function
|
|
6713
|
+
function gi() {
|
|
6714
6714
|
var Oe, Be, tt;
|
|
6715
|
-
return yt++, Oe = Fe, X.charCodeAt(Fe) === 45 ? (Be = At, Fe++) : (Be = J, yt === 0 && Ct(Tt)), Be === J && (Be = null), Be !== J ? (tt =
|
|
6715
|
+
return yt++, Oe = Fe, X.charCodeAt(Fe) === 45 ? (Be = At, Fe++) : (Be = J, yt === 0 && Ct(Tt)), Be === J && (Be = null), Be !== J ? (tt = bi(), tt !== J ? (Yt = Oe, Be = qt(Be, tt), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J), yt--, Oe === J && (Be = J, yt === 0 && Ct(Bt)), Oe;
|
|
6716
6716
|
}
|
|
6717
6717
|
function kr() {
|
|
6718
6718
|
var Oe, Be;
|
|
6719
6719
|
return yt++, Oe = Fe, X.substr(Fe, 2) === jt ? (Be = jt, Fe += 2) : (Be = J, yt === 0 && Ct(Xt)), Be !== J && (Yt = Oe, Be = ar()), Oe = Be, yt--, Oe === J && (Be = J, yt === 0 && Ct(Pt)), Oe;
|
|
6720
6720
|
}
|
|
6721
|
-
function
|
|
6721
|
+
function vi() {
|
|
6722
6722
|
var Oe, Be, tt, ft, wt, Mt;
|
|
6723
6723
|
if (Oe = Fe, X.charCodeAt(Fe) === 39 ? (Be = Ne, Fe++) : (Be = J, yt === 0 && Ct(je)), Be !== J)
|
|
6724
|
-
if (tt =
|
|
6724
|
+
if (tt = Xi(), tt !== J) {
|
|
6725
6725
|
for (ft = Fe, wt = [], X.substr(Fe, 2) === jt ? (Mt = jt, Fe += 2) : (Mt = J, yt === 0 && Ct(Xt)), Mt === J && (Je.test(X.charAt(Fe)) ? (Mt = X.charAt(Fe), Fe++) : (Mt = J, yt === 0 && Ct(Xe))); Mt !== J; )
|
|
6726
6726
|
wt.push(Mt), X.substr(Fe, 2) === jt ? (Mt = jt, Fe += 2) : (Mt = J, yt === 0 && Ct(Xt)), Mt === J && (Je.test(X.charAt(Fe)) ? (Mt = X.charAt(Fe), Fe++) : (Mt = J, yt === 0 && Ct(Xe)));
|
|
6727
6727
|
wt !== J ? ft = X.substring(ft, Fe) : ft = wt, ft !== J ? (X.charCodeAt(Fe) === 39 ? (wt = Ne, Fe++) : (wt = J, yt === 0 && Ct(je)), wt === J && (wt = null), wt !== J ? (Yt = Oe, Be = fr(tt, ft), Oe = Be) : (Fe = Oe, Oe = J)) : (Fe = Oe, Oe = J);
|
|
@@ -6731,45 +6731,45 @@ function peg$parse(X, W) {
|
|
|
6731
6731
|
Fe = Oe, Oe = J;
|
|
6732
6732
|
return Oe;
|
|
6733
6733
|
}
|
|
6734
|
-
function
|
|
6734
|
+
function mi() {
|
|
6735
6735
|
var Oe, Be, tt, ft;
|
|
6736
6736
|
return Oe = Fe, Be = Fe, X.length > Fe ? (tt = X.charAt(Fe), Fe++) : (tt = J, yt === 0 && Ct(Se)), tt !== J ? (Yt = Fe, ft = Ar(tt), ft ? ft = void 0 : ft = J, ft !== J ? (tt = [tt, ft], Be = tt) : (Fe = Be, Be = J)) : (Fe = Be, Be = J), Be === J && (X.charCodeAt(Fe) === 10 ? (Be = Pr, Fe++) : (Be = J, yt === 0 && Ct(Dr))), Be !== J ? Oe = X.substring(Oe, Fe) : Oe = Be, Oe;
|
|
6737
6737
|
}
|
|
6738
|
-
function
|
|
6738
|
+
function Xi() {
|
|
6739
6739
|
var Oe, Be, tt, ft;
|
|
6740
|
-
return Oe = Fe, Be = Fe, X.length > Fe ? (tt = X.charAt(Fe), Fe++) : (tt = J, yt === 0 && Ct(Se)), tt !== J ? (Yt = Fe, ft =
|
|
6740
|
+
return Oe = Fe, Be = Fe, X.length > Fe ? (tt = X.charAt(Fe), Fe++) : (tt = J, yt === 0 && Ct(Se)), tt !== J ? (Yt = Fe, ft = Ci(tt), ft ? ft = void 0 : ft = J, ft !== J ? (tt = [tt, ft], Be = tt) : (Fe = Be, Be = J)) : (Fe = Be, Be = J), Be !== J ? Oe = X.substring(Oe, Fe) : Oe = Be, Oe;
|
|
6741
6741
|
}
|
|
6742
6742
|
function Cr() {
|
|
6743
6743
|
var Oe, Be;
|
|
6744
|
-
return yt++, Oe = Fe, Be =
|
|
6744
|
+
return yt++, Oe = Fe, Be = bi(), Be === J && (Be = Nr()), Be !== J ? Oe = X.substring(Oe, Fe) : Oe = Be, yt--, Oe === J && (Be = J, yt === 0 && Ct(Ei)), Oe;
|
|
6745
6745
|
}
|
|
6746
|
-
function
|
|
6746
|
+
function bi() {
|
|
6747
6747
|
var Oe, Be, tt, ft, wt;
|
|
6748
|
-
if (yt++, Oe = Fe, X.charCodeAt(Fe) === 48 ? (Be =
|
|
6749
|
-
if (Oe = Fe, Be = Fe,
|
|
6750
|
-
for (ft = [],
|
|
6751
|
-
ft.push(wt),
|
|
6748
|
+
if (yt++, Oe = Fe, X.charCodeAt(Fe) === 48 ? (Be = Ti, Fe++) : (Be = J, yt === 0 && Ct(Oi)), Be !== J && (Yt = Oe, Be = qi()), Oe = Be, Oe === J) {
|
|
6749
|
+
if (Oe = Fe, Be = Fe, Pi.test(X.charAt(Fe)) ? (tt = X.charAt(Fe), Fe++) : (tt = J, yt === 0 && Ct(Di)), tt !== J) {
|
|
6750
|
+
for (ft = [], Xr.test(X.charAt(Fe)) ? (wt = X.charAt(Fe), Fe++) : (wt = J, yt === 0 && Ct(ei)); wt !== J; )
|
|
6751
|
+
ft.push(wt), Xr.test(X.charAt(Fe)) ? (wt = X.charAt(Fe), Fe++) : (wt = J, yt === 0 && Ct(ei));
|
|
6752
6752
|
ft !== J ? (tt = [tt, ft], Be = tt) : (Fe = Be, Be = J);
|
|
6753
6753
|
} else
|
|
6754
6754
|
Fe = Be, Be = J;
|
|
6755
|
-
Be !== J && (Yt = Oe, Be =
|
|
6755
|
+
Be !== J && (Yt = Oe, Be = Ri(Be)), Oe = Be;
|
|
6756
6756
|
}
|
|
6757
|
-
return yt--, Oe === J && (Be = J, yt === 0 && Ct(
|
|
6757
|
+
return yt--, Oe === J && (Be = J, yt === 0 && Ct(Ai)), Oe;
|
|
6758
6758
|
}
|
|
6759
6759
|
function Nr() {
|
|
6760
6760
|
var Oe, Be, tt, ft, wt;
|
|
6761
|
-
if (yt++, Oe = Fe, Be = [], tt = Fe, ft = Fe, yt++, wt = xr(), wt === J && (wt =
|
|
6761
|
+
if (yt++, Oe = Fe, Be = [], tt = Fe, ft = Fe, yt++, wt = xr(), wt === J && (wt = fi()), yt--, wt === J ? ft = void 0 : (Fe = ft, ft = J), ft !== J ? (X.length > Fe ? (wt = X.charAt(Fe), Fe++) : (wt = J, yt === 0 && Ct(Se)), wt !== J ? (ft = [ft, wt], tt = ft) : (Fe = tt, tt = J)) : (Fe = tt, tt = J), tt !== J)
|
|
6762
6762
|
for (; tt !== J; )
|
|
6763
|
-
Be.push(tt), tt = Fe, ft = Fe, yt++, wt = xr(), wt === J && (wt =
|
|
6763
|
+
Be.push(tt), tt = Fe, ft = Fe, yt++, wt = xr(), wt === J && (wt = fi()), yt--, wt === J ? ft = void 0 : (Fe = ft, ft = J), ft !== J ? (X.length > Fe ? (wt = X.charAt(Fe), Fe++) : (wt = J, yt === 0 && Ct(Se)), wt !== J ? (ft = [ft, wt], tt = ft) : (Fe = tt, tt = J)) : (Fe = tt, tt = J);
|
|
6764
6764
|
else
|
|
6765
6765
|
Be = J;
|
|
6766
|
-
return Be !== J ? Oe = X.substring(Oe, Fe) : Oe = Be, yt--, Oe === J && (Be = J, yt === 0 && Ct(
|
|
6766
|
+
return Be !== J ? Oe = X.substring(Oe, Fe) : Oe = Be, yt--, Oe === J && (Be = J, yt === 0 && Ct(Ii)), Oe;
|
|
6767
6767
|
}
|
|
6768
6768
|
var _r = ["root"];
|
|
6769
|
-
function
|
|
6769
|
+
function en() {
|
|
6770
6770
|
return _r.length > 1;
|
|
6771
6771
|
}
|
|
6772
|
-
function
|
|
6772
|
+
function _i() {
|
|
6773
6773
|
return _r[_r.length - 1] === "plural";
|
|
6774
6774
|
}
|
|
6775
6775
|
function yr() {
|
|
@@ -6779,7 +6779,7 @@ function peg$parse(X, W) {
|
|
|
6779
6779
|
}
|
|
6780
6780
|
if (Or = re(), Or !== J && Fe === X.length)
|
|
6781
6781
|
return Or;
|
|
6782
|
-
throw Or !== J && Fe < X.length && Ct(
|
|
6782
|
+
throw Or !== J && Fe < X.length && Ct(Mi()), Fi(Rr, br < X.length ? X.charAt(br) : null, br < X.length ? qr(br, br + 1) : qr(br, br));
|
|
6783
6783
|
}
|
|
6784
6784
|
var pegParse = peg$parse, __spreadArrays$2 = function() {
|
|
6785
6785
|
for (var X = 0, W = 0, J = arguments.length; W < J; W++) X += arguments[W].length;
|
|
@@ -9479,7 +9479,7 @@ const useLocalization = async (X) => {
|
|
|
9479
9479
|
}
|
|
9480
9480
|
}
|
|
9481
9481
|
}
|
|
9482
|
-
}, styles$
|
|
9482
|
+
}, styles$j = ".item{display:flex;cursor:pointer;border-radius:8px;padding:8px;justify-content:center;transition:background-color .3s ease}.item[expanded]{justify-content:space-between}.item:hover{background-color:var(--color-primary-900);color:#fff}.item .icon-label{display:flex;gap:8px;transition:background-color .3s}.item.active{outline:2px solid white}";
|
|
9483
9483
|
/**
|
|
9484
9484
|
* @license
|
|
9485
9485
|
* Copyright 2017 Google LLC
|
|
@@ -9547,10 +9547,10 @@ const Rt = e$I(class extends i$x {
|
|
|
9547
9547
|
</dss-tooltip>`}
|
|
9548
9548
|
</div>
|
|
9549
9549
|
`;
|
|
9550
|
-
var __defProp$
|
|
9550
|
+
var __defProp$o = Object.defineProperty, __decorateClass$o = (X, W, J, te) => {
|
|
9551
9551
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
9552
9552
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
9553
|
-
return re && __defProp$
|
|
9553
|
+
return re && __defProp$o(W, J, re), re;
|
|
9554
9554
|
};
|
|
9555
9555
|
const zr = class zr extends k$5(h$q) {
|
|
9556
9556
|
constructor(W) {
|
|
@@ -9592,19 +9592,19 @@ const zr = class zr extends k$5(h$q) {
|
|
|
9592
9592
|
}
|
|
9593
9593
|
};
|
|
9594
9594
|
zr.styles = i$A`
|
|
9595
|
-
${r$I(styles$
|
|
9595
|
+
${r$I(styles$j)}
|
|
9596
9596
|
`;
|
|
9597
9597
|
let PrimariaNavItem = zr;
|
|
9598
|
-
__decorateClass$
|
|
9598
|
+
__decorateClass$o([
|
|
9599
9599
|
n$v({ type: Number })
|
|
9600
9600
|
], PrimariaNavItem.prototype, "containerWidth");
|
|
9601
|
-
__decorateClass$
|
|
9601
|
+
__decorateClass$o([
|
|
9602
9602
|
r$F()
|
|
9603
9603
|
], PrimariaNavItem.prototype, "showText");
|
|
9604
|
-
__decorateClass$
|
|
9604
|
+
__decorateClass$o([
|
|
9605
9605
|
r$F()
|
|
9606
9606
|
], PrimariaNavItem.prototype, "isActive");
|
|
9607
|
-
__decorateClass$
|
|
9607
|
+
__decorateClass$o([
|
|
9608
9608
|
n$v({ type: Object })
|
|
9609
9609
|
], PrimariaNavItem.prototype, "config");
|
|
9610
9610
|
const shellRegions = {
|
|
@@ -9696,7 +9696,7 @@ const container$1 = new Container(), { lazyInject: lazyInject$1 } = getDecorator
|
|
|
9696
9696
|
primaryApi: Symbol.for("primaryApi"),
|
|
9697
9697
|
store: Symbol.for("store"),
|
|
9698
9698
|
localeManager: Symbol.for("localeManager")
|
|
9699
|
-
}, styles$
|
|
9699
|
+
}, styles$i = ":host{min-height:1px;height:100%;width:100%;display:flex}iframe{border:none;flex:1;height:100%}.pdf-container{display:flex;justify-content:center;align-items:center;height:100%;flex:1;border:1px solid #ccc}.no-pdf{text-align:center;color:#666;font-size:1.2rem;font-weight:700}";
|
|
9700
9700
|
function base64ToBlob(X, W = "application/octet-stream") {
|
|
9701
9701
|
const J = window.atob(X), te = J.length, re = new Uint8Array(te);
|
|
9702
9702
|
for (let ne = 0; ne < te; ne++)
|
|
@@ -9709,10 +9709,10 @@ const createUrlFromBase64 = (X, W) => {
|
|
|
9709
9709
|
return URL.createObjectURL(J);
|
|
9710
9710
|
}
|
|
9711
9711
|
};
|
|
9712
|
-
var __defProp$
|
|
9712
|
+
var __defProp$n = Object.defineProperty, __decorateClass$n = (X, W, J, te) => {
|
|
9713
9713
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
9714
9714
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
9715
|
-
return re && __defProp$
|
|
9715
|
+
return re && __defProp$n(W, J, re), re;
|
|
9716
9716
|
};
|
|
9717
9717
|
const jr = class jr extends h$q {
|
|
9718
9718
|
constructor() {
|
|
@@ -9780,15 +9780,15 @@ const jr = class jr extends h$q {
|
|
|
9780
9780
|
`;
|
|
9781
9781
|
}
|
|
9782
9782
|
};
|
|
9783
|
-
jr.styles = i$A`${r$I(styles$
|
|
9783
|
+
jr.styles = i$A`${r$I(styles$i)}`;
|
|
9784
9784
|
let PdfVisor = jr;
|
|
9785
|
-
__decorateClass$
|
|
9785
|
+
__decorateClass$n([
|
|
9786
9786
|
lazyInject$1(TYPES$1.primaryApi)
|
|
9787
9787
|
], PdfVisor.prototype, "api");
|
|
9788
|
-
__decorateClass$
|
|
9788
|
+
__decorateClass$n([
|
|
9789
9789
|
n$v({ type: Array })
|
|
9790
9790
|
], PdfVisor.prototype, "pdfList");
|
|
9791
|
-
__decorateClass$
|
|
9791
|
+
__decorateClass$n([
|
|
9792
9792
|
n$v({ type: Array })
|
|
9793
9793
|
], PdfVisor.prototype, "activePdfs");
|
|
9794
9794
|
const registerPdfViewerNavItem = () => {
|
|
@@ -9813,7 +9813,7 @@ const registerPdfViewerNavItem = () => {
|
|
|
9813
9813
|
return Promise.resolve(X);
|
|
9814
9814
|
}
|
|
9815
9815
|
});
|
|
9816
|
-
}, styles$
|
|
9816
|
+
}, styles$h = ":host{width:250px;gap:8px}.pdf-item{display:flex;align-items:flex-start;padding:8px;gap:8px;color:#000;border-bottom:1px solid var(--color-neutral-100)}.header-icons{display:flex;gap:8px}.container{gap:8px;display:flex;flex-direction:column}";
|
|
9817
9817
|
/**
|
|
9818
9818
|
* @license
|
|
9819
9819
|
* Copyright 2020 Google LLC
|
|
@@ -9933,10 +9933,10 @@ const Jt = (X, W, J) => {
|
|
|
9933
9933
|
</div>
|
|
9934
9934
|
`;
|
|
9935
9935
|
};
|
|
9936
|
-
var __defProp$
|
|
9936
|
+
var __defProp$m = Object.defineProperty, __decorateClass$m = (X, W, J, te) => {
|
|
9937
9937
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
9938
9938
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
9939
|
-
return re && __defProp$
|
|
9939
|
+
return re && __defProp$m(W, J, re), re;
|
|
9940
9940
|
};
|
|
9941
9941
|
const Ur = class Ur extends h$q {
|
|
9942
9942
|
constructor() {
|
|
@@ -9961,13 +9961,13 @@ const Ur = class Ur extends h$q {
|
|
|
9961
9961
|
}
|
|
9962
9962
|
};
|
|
9963
9963
|
Ur.styles = i$A`
|
|
9964
|
-
${r$I(styles$
|
|
9964
|
+
${r$I(styles$h)}
|
|
9965
9965
|
`;
|
|
9966
9966
|
let PdfSelector = Ur;
|
|
9967
|
-
__decorateClass$
|
|
9967
|
+
__decorateClass$m([
|
|
9968
9968
|
n$v({ type: Array })
|
|
9969
9969
|
], PdfSelector.prototype, "pdfList");
|
|
9970
|
-
__decorateClass$
|
|
9970
|
+
__decorateClass$m([
|
|
9971
9971
|
n$v({ type: Array })
|
|
9972
9972
|
], PdfSelector.prototype, "activePdfs");
|
|
9973
9973
|
class PdfViewerManager {
|
|
@@ -9997,7 +9997,7 @@ class PdfViewerManager {
|
|
|
9997
9997
|
registerPdfViewerNavItem();
|
|
9998
9998
|
}
|
|
9999
9999
|
}
|
|
10000
|
-
const createPdfViewerManager = (X, W) => new PdfViewerManager(X, W), styles$
|
|
10000
|
+
const createPdfViewerManager = (X, W) => new PdfViewerManager(X, W), styles$g = ".container{display:flex;flex-direction:column;gap:4px;align-items:center}.title{font-size:15px;line-height:24px;font-weight:600;color:var(--color-red-600)}.list{display:flex;flex-direction:column;gap:8px}", template$g = (X) => {
|
|
10001
10001
|
var W, J;
|
|
10002
10002
|
return ke$1`
|
|
10003
10003
|
<div class="container">
|
|
@@ -10013,7 +10013,7 @@ const createPdfViewerManager = (X, W) => new PdfViewerManager(X, W), styles$f =
|
|
|
10013
10013
|
}
|
|
10014
10014
|
};
|
|
10015
10015
|
Br.styles = i$A`
|
|
10016
|
-
${r$I(styles$
|
|
10016
|
+
${r$I(styles$g)}
|
|
10017
10017
|
`;
|
|
10018
10018
|
let PluginBusyList = Br;
|
|
10019
10019
|
class PluginBusyManagerImpl {
|
|
@@ -11596,17 +11596,17 @@ const container = new Container(), { lazyInject } = getDecorators(container), bi
|
|
|
11596
11596
|
}, unbindDeps = () => {
|
|
11597
11597
|
container.unbind(TYPES.primaryApi), container.unbind(TYPES.store);
|
|
11598
11598
|
}, addAsyncHistoryItemsCommand = "inject_async_history_items_request";
|
|
11599
|
-
var __defProp$
|
|
11599
|
+
var __defProp$l = Object.defineProperty, __getOwnPropDesc$d = Object.getOwnPropertyDescriptor, __decorateClass$l = (X, W, J, te) => {
|
|
11600
11600
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$d(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
11601
11601
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
11602
|
-
return te && re && __defProp$
|
|
11602
|
+
return te && re && __defProp$l(W, J, re), re;
|
|
11603
11603
|
}, __decorateParam$3 = (X, W) => (J, te) => W(J, te, X);
|
|
11604
11604
|
let StoreBaseHandler = class {
|
|
11605
11605
|
constructor(X) {
|
|
11606
11606
|
this.store = X;
|
|
11607
11607
|
}
|
|
11608
11608
|
};
|
|
11609
|
-
StoreBaseHandler = __decorateClass$
|
|
11609
|
+
StoreBaseHandler = __decorateClass$l([
|
|
11610
11610
|
injectable(),
|
|
11611
11611
|
__decorateParam$3(0, inject(TYPES.store))
|
|
11612
11612
|
], StoreBaseHandler);
|
|
@@ -11615,7 +11615,7 @@ let ApiBaseHandler = class {
|
|
|
11615
11615
|
this.api = X;
|
|
11616
11616
|
}
|
|
11617
11617
|
};
|
|
11618
|
-
ApiBaseHandler = __decorateClass$
|
|
11618
|
+
ApiBaseHandler = __decorateClass$l([
|
|
11619
11619
|
injectable(),
|
|
11620
11620
|
__decorateParam$3(0, inject(TYPES.primaryApi))
|
|
11621
11621
|
], ApiBaseHandler);
|
|
@@ -11624,7 +11624,7 @@ let BaseHandler = class {
|
|
|
11624
11624
|
this.store = X, this.api = W;
|
|
11625
11625
|
}
|
|
11626
11626
|
};
|
|
11627
|
-
BaseHandler = __decorateClass$
|
|
11627
|
+
BaseHandler = __decorateClass$l([
|
|
11628
11628
|
injectable(),
|
|
11629
11629
|
__decorateParam$3(0, inject(TYPES.store)),
|
|
11630
11630
|
__decorateParam$3(1, inject(TYPES.primaryApi))
|
|
@@ -11775,7 +11775,7 @@ const initializeLocalization = async (X) => {
|
|
|
11775
11775
|
}
|
|
11776
11776
|
}
|
|
11777
11777
|
}
|
|
11778
|
-
}, styles$
|
|
11778
|
+
}, styles$f = ".wrapper{display:flex;flex-direction:column;align-items:center;gap:24px;width:484px;height:auto}.wrapper .content-options{display:flex;flex-direction:column;align-items:center;gap:16px}.wrapper .selector-options{display:flex;flex-direction:row;gap:16px}.wrapper .content-date{display:flex;flex-direction:column;align-items:center;gap:16px;height:124px}.wrapper .datepicker-canvas{display:flex;flex-direction:row;justify-content:center;align-content:center;gap:16px}.wrapper .actions{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:16px}dss-datepicker{width:234px;height:48px;border-radius:var(--dss-radius-sm);border:var(--dss-border-width-sm);padding:var(--dss-spacing-sm);gap:var(--dss-spacing-xs);color:var(--color-neutral-100)}", template$f = (X) => {
|
|
11779
11779
|
const { arrayElements: W, text: J } = X;
|
|
11780
11780
|
return ke$1`
|
|
11781
11781
|
<div class="wrapper">
|
|
@@ -11817,10 +11817,10 @@ const initializeLocalization = async (X) => {
|
|
|
11817
11817
|
</div>` : D$1}
|
|
11818
11818
|
</div>`;
|
|
11819
11819
|
};
|
|
11820
|
-
var __defProp$
|
|
11820
|
+
var __defProp$k = Object.defineProperty, __getOwnPropDesc$c = Object.getOwnPropertyDescriptor, __decorateClass$k = (X, W, J, te) => {
|
|
11821
11821
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$c(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
11822
11822
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
11823
|
-
return te && re && __defProp$
|
|
11823
|
+
return te && re && __defProp$k(W, J, re), re;
|
|
11824
11824
|
};
|
|
11825
11825
|
let ExportPdfModal = class extends h$q {
|
|
11826
11826
|
constructor() {
|
|
@@ -11838,7 +11838,7 @@ let ExportPdfModal = class extends h$q {
|
|
|
11838
11838
|
}
|
|
11839
11839
|
static get styles() {
|
|
11840
11840
|
return i$A`
|
|
11841
|
-
${r$I(styles$
|
|
11841
|
+
${r$I(styles$f)}
|
|
11842
11842
|
`;
|
|
11843
11843
|
}
|
|
11844
11844
|
handleTest() {
|
|
@@ -11848,22 +11848,22 @@ let ExportPdfModal = class extends h$q {
|
|
|
11848
11848
|
);
|
|
11849
11849
|
}
|
|
11850
11850
|
};
|
|
11851
|
-
__decorateClass$
|
|
11851
|
+
__decorateClass$k([
|
|
11852
11852
|
n$v()
|
|
11853
11853
|
], ExportPdfModal.prototype, "selectedRadioOption", 2);
|
|
11854
|
-
__decorateClass$
|
|
11854
|
+
__decorateClass$k([
|
|
11855
11855
|
n$v()
|
|
11856
11856
|
], ExportPdfModal.prototype, "text", 2);
|
|
11857
|
-
__decorateClass$
|
|
11857
|
+
__decorateClass$k([
|
|
11858
11858
|
n$v()
|
|
11859
11859
|
], ExportPdfModal.prototype, "selectedVisibilityLevelElement", 2);
|
|
11860
|
-
__decorateClass$
|
|
11860
|
+
__decorateClass$k([
|
|
11861
11861
|
n$v()
|
|
11862
11862
|
], ExportPdfModal.prototype, "selectedPeriodDate", 2);
|
|
11863
|
-
__decorateClass$
|
|
11863
|
+
__decorateClass$k([
|
|
11864
11864
|
n$v({ type: Array })
|
|
11865
11865
|
], ExportPdfModal.prototype, "arrayElements", 2);
|
|
11866
|
-
ExportPdfModal = __decorateClass$
|
|
11866
|
+
ExportPdfModal = __decorateClass$k([
|
|
11867
11867
|
t$j("export-pdf-modal")
|
|
11868
11868
|
], ExportPdfModal);
|
|
11869
11869
|
class ExportToPdfHandler extends ApiBaseHandler {
|
|
@@ -12175,7 +12175,7 @@ const activityHistoryFiltersSelector = (X) => X.activityHistoryFilters.filters,
|
|
|
12175
12175
|
), ne = groupActivityHistoryItems(re);
|
|
12176
12176
|
return sortGroupsByMostRecentDate(ne);
|
|
12177
12177
|
}
|
|
12178
|
-
), styles$
|
|
12178
|
+
), styles$e = ":host{min-height:1px;height:100%}.container{display:flex;flex-direction:column;gap:16px;padding-inline:16px;padding-top:16px;min-height:1px;height:100%;overflow-y:auto;position:relative}.container .visit{display:flex;flex-direction:column;gap:16px;background-color:#fff;border-radius:var(--dss-radius-sm);padding:var(--dss-spacing-sm)}.container .visit .visit__header{display:flex;flex-direction:row;align-items:center;gap:16px}.container .visit .visit__header .title{flex:1;font-size:14px;line-height:24px;display:flex;flex-direction:row;gap:12px;color:var(--color-neutral-800)}.container .visit .visit__header .title-date{font-weight:700}.container .visit .visit__header .title-description{font-weight:600;display:flex;flex-direction:row;gap:4px}.container .visit .visit__header .highlight{background-color:#ff0;font-weight:700}.container .visit .visit__items{display:flex;flex-direction:column;gap:16px}.container .visit .visit__items .item{border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200)}.container .visit .visit__items .item:last-of-type{border:none}.container .visit .diagnostics{display:flex;flex-direction:column;gap:16px}.container .visit .diagnostics .diagnostics__header{display:flex;flex-direction:row;align-items:center;gap:16px}.container .visit .diagnostics .diagnostics__items{display:flex;flex-direction:column}.container .visit .diagnostics .diagnostics__items .item{border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200)}.container .visit .diagnostics .diagnostics__items .item:last-of-type{border:none}.container .feedback{width:100%;height:100%;display:flex;align-items:center;justify-content:center}";
|
|
12179
12179
|
function toDate(X) {
|
|
12180
12180
|
const W = Object.prototype.toString.call(X);
|
|
12181
12181
|
return X instanceof Date || typeof X == "object" && W === "[object Date]" ? new X.constructor(+X) : typeof X == "number" || W === "[object Number]" || typeof X == "string" || W === "[object String]" ? new Date(X) : /* @__PURE__ */ new Date(NaN);
|
|
@@ -15026,10 +15026,10 @@ const to = (X) => X ?? D$1, template$e = (X) => X._hasUpdatedOnce ? ke$1`<div cl
|
|
|
15026
15026
|
)}
|
|
15027
15027
|
</div>
|
|
15028
15028
|
`;
|
|
15029
|
-
var __defProp$
|
|
15029
|
+
var __defProp$j = Object.defineProperty, __getOwnPropDesc$b = Object.getOwnPropertyDescriptor, __decorateClass$j = (X, W, J, te) => {
|
|
15030
15030
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$b(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
15031
15031
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
15032
|
-
return te && re && __defProp$
|
|
15032
|
+
return te && re && __defProp$j(W, J, re), re;
|
|
15033
15033
|
};
|
|
15034
15034
|
let ActivityHistoryTimeline = class extends h$q {
|
|
15035
15035
|
constructor() {
|
|
@@ -15077,21 +15077,21 @@ let ActivityHistoryTimeline = class extends h$q {
|
|
|
15077
15077
|
}
|
|
15078
15078
|
};
|
|
15079
15079
|
ActivityHistoryTimeline.styles = i$A`
|
|
15080
|
-
${r$I(styles$
|
|
15080
|
+
${r$I(styles$e)}
|
|
15081
15081
|
`;
|
|
15082
|
-
__decorateClass$
|
|
15082
|
+
__decorateClass$j([
|
|
15083
15083
|
connectedProperty(activityHistoryGroupedItems)
|
|
15084
15084
|
], ActivityHistoryTimeline.prototype, "historyGroups", 2);
|
|
15085
|
-
__decorateClass$
|
|
15085
|
+
__decorateClass$j([
|
|
15086
15086
|
connectedProperty(isAnyCollectionLoadingWithoutAnyLoaded)
|
|
15087
15087
|
], ActivityHistoryTimeline.prototype, "isAnyCollectionLoadingWithoutAnyLoaded", 2);
|
|
15088
|
-
__decorateClass$
|
|
15088
|
+
__decorateClass$j([
|
|
15089
15089
|
connectedProperty(isSomeCollectionLoadedAndOtherLoading)
|
|
15090
15090
|
], ActivityHistoryTimeline.prototype, "isSomeCollectionLoadedAndOtherLoading", 2);
|
|
15091
|
-
__decorateClass$
|
|
15091
|
+
__decorateClass$j([
|
|
15092
15092
|
connectedProperty(activityHistorySearchStringSelector)
|
|
15093
15093
|
], ActivityHistoryTimeline.prototype, "searchString", 2);
|
|
15094
|
-
ActivityHistoryTimeline = __decorateClass$
|
|
15094
|
+
ActivityHistoryTimeline = __decorateClass$j([
|
|
15095
15095
|
t$j("activity-history-timeline")
|
|
15096
15096
|
], ActivityHistoryTimeline);
|
|
15097
15097
|
/**
|
|
@@ -15107,11 +15107,11 @@ const template$d = (X) => !X.areCustomFiltersActive && !X.areCommonFiltersActive
|
|
|
15107
15107
|
<active-filters-badges></active-filters-badges>
|
|
15108
15108
|
${nn(X.searchString.length > 1, () => ke$1`<activity-history-search-results searchQuery=${X.searchString}></activity-history-search-results>`)}
|
|
15109
15109
|
</div>
|
|
15110
|
-
`, styles$
|
|
15111
|
-
var __defProp$
|
|
15110
|
+
`, styles$d = ".active-filters-header{display:flex;flex-direction:column;border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;padding:var(--dss-spacing-sm) var(--dss-spacing-md);gap:var(--dss-spacing-xs);font-size:14px;line-height:24px}";
|
|
15111
|
+
var __defProp$i = Object.defineProperty, __getOwnPropDesc$a = Object.getOwnPropertyDescriptor, __decorateClass$i = (X, W, J, te) => {
|
|
15112
15112
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$a(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
15113
15113
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
15114
|
-
return te && re && __defProp$
|
|
15114
|
+
return te && re && __defProp$i(W, J, re), re;
|
|
15115
15115
|
};
|
|
15116
15116
|
let ActiveFiltersHeader = class extends h$q {
|
|
15117
15117
|
render() {
|
|
@@ -15119,21 +15119,21 @@ let ActiveFiltersHeader = class extends h$q {
|
|
|
15119
15119
|
}
|
|
15120
15120
|
};
|
|
15121
15121
|
ActiveFiltersHeader.styles = i$A`
|
|
15122
|
-
${r$I(styles$
|
|
15122
|
+
${r$I(styles$d)}
|
|
15123
15123
|
`;
|
|
15124
|
-
__decorateClass$
|
|
15124
|
+
__decorateClass$i([
|
|
15125
15125
|
connectedProperty(activityHistorySearchStringSelector)
|
|
15126
15126
|
], ActiveFiltersHeader.prototype, "searchString", 2);
|
|
15127
|
-
__decorateClass$
|
|
15127
|
+
__decorateClass$i([
|
|
15128
15128
|
connectedProperty(areCustomFiltersActive)
|
|
15129
15129
|
], ActiveFiltersHeader.prototype, "areCustomFiltersActive", 2);
|
|
15130
|
-
__decorateClass$
|
|
15130
|
+
__decorateClass$i([
|
|
15131
15131
|
connectedProperty(areCommonFiltersActive)
|
|
15132
15132
|
], ActiveFiltersHeader.prototype, "areCommonFiltersActive", 2);
|
|
15133
|
-
ActiveFiltersHeader = __decorateClass$
|
|
15133
|
+
ActiveFiltersHeader = __decorateClass$i([
|
|
15134
15134
|
t$j("active-filters-header")
|
|
15135
15135
|
], ActiveFiltersHeader);
|
|
15136
|
-
const styles$
|
|
15136
|
+
const styles$c = ".filters-sidebar{padding:8px 4px;border-right:1px solid rgb(189,189,189);width:56px;height:100%;box-sizing:border-box;display:flex;flex-direction:column}.filters-sidebar dss-icon-button{align-self:center}.filters-sidebar[expanded]{width:296px}.filters-sidebar[expanded] .filters-sidebar-opened{display:flex;align-items:center;justify-content:space-between;padding-inline:8px;color:var(--color-neutral-900);font-weight:700;font-size:16px;line-height:24px}.filter-container{display:flex;flex-direction:column;padding:16px 8px 8px;overflow:auto}.filter-container .filter{padding:8px 0;border-bottom:1px solid var(--color-neutral-200)}.filter-group{display:flex;flex-direction:column;padding-top:12px}.filter-group .custom-filter{display:flex;flex-direction:column;padding:6px 8px 6px var(--dss-spacing-xl)}.filter-group .custom-filter .custom-filter-content{display:flex;flex-direction:column}", filterTemplates = {
|
|
15137
15137
|
[ActivityHistoryFilterType.Switch]: (X, W, J, te, re) => ke$1`
|
|
15138
15138
|
<dss-input-switch size="sm" .checked=${te} @onChangeValue=${J} >
|
|
15139
15139
|
<input slot="input" id="switch-${X}" aria-label=${W} type="checkbox" ?disabled=${!re}>
|
|
@@ -15193,10 +15193,10 @@ class SetCustomFilterValue {
|
|
|
15193
15193
|
this.payload = W;
|
|
15194
15194
|
}
|
|
15195
15195
|
}
|
|
15196
|
-
var __defProp$
|
|
15196
|
+
var __defProp$h = Object.defineProperty, __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor, __decorateClass$h = (X, W, J, te) => {
|
|
15197
15197
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$9(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
15198
15198
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
15199
|
-
return te && re && __defProp$
|
|
15199
|
+
return te && re && __defProp$h(W, J, re), re;
|
|
15200
15200
|
};
|
|
15201
15201
|
let ActivityHistoryFilters = class extends h$q {
|
|
15202
15202
|
constructor() {
|
|
@@ -15229,24 +15229,24 @@ let ActivityHistoryFilters = class extends h$q {
|
|
|
15229
15229
|
}
|
|
15230
15230
|
};
|
|
15231
15231
|
ActivityHistoryFilters.styles = i$A`
|
|
15232
|
-
${r$I(styles$
|
|
15232
|
+
${r$I(styles$c)}
|
|
15233
15233
|
`;
|
|
15234
|
-
__decorateClass$
|
|
15234
|
+
__decorateClass$h([
|
|
15235
15235
|
connectedProperty(activityHistoryCommonFiltersSelector)
|
|
15236
15236
|
], ActivityHistoryFilters.prototype, "commonFilters", 2);
|
|
15237
|
-
__decorateClass$
|
|
15237
|
+
__decorateClass$h([
|
|
15238
15238
|
connectedProperty(customFilterGroupsWithOptionsSelector)
|
|
15239
15239
|
], ActivityHistoryFilters.prototype, "customFilterGroups", 2);
|
|
15240
|
-
__decorateClass$
|
|
15240
|
+
__decorateClass$h([
|
|
15241
15241
|
lazyInject(TYPES.primaryApi)
|
|
15242
15242
|
], ActivityHistoryFilters.prototype, "api", 2);
|
|
15243
|
-
__decorateClass$
|
|
15243
|
+
__decorateClass$h([
|
|
15244
15244
|
r$F()
|
|
15245
15245
|
], ActivityHistoryFilters.prototype, "filtersExpanded", 2);
|
|
15246
|
-
__decorateClass$
|
|
15246
|
+
__decorateClass$h([
|
|
15247
15247
|
n$v({ type: Boolean })
|
|
15248
15248
|
], ActivityHistoryFilters.prototype, "wrapperMaximized", 2);
|
|
15249
|
-
ActivityHistoryFilters = __decorateClass$
|
|
15249
|
+
ActivityHistoryFilters = __decorateClass$h([
|
|
15250
15250
|
t$j("activity-history-filters")
|
|
15251
15251
|
], ActivityHistoryFilters);
|
|
15252
15252
|
const { setCommonFilterValue } = activityHistoryFiltersSlice.actions;
|
|
@@ -15334,13 +15334,13 @@ class SearchActivityHistoryItems {
|
|
|
15334
15334
|
this.searchString = W, this.searchString = W;
|
|
15335
15335
|
}
|
|
15336
15336
|
}
|
|
15337
|
-
const styles$
|
|
15337
|
+
const styles$b = ".search-header{color:var(--color-neutral-900);font-weight:600}", template$b = (X) => ke$1`<div class="search-header">
|
|
15338
15338
|
${translate("searchBarResults")} “${X.searchQuery}”
|
|
15339
15339
|
</div>`;
|
|
15340
|
-
var __defProp$
|
|
15340
|
+
var __defProp$g = Object.defineProperty, __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor, __decorateClass$g = (X, W, J, te) => {
|
|
15341
15341
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$8(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
15342
15342
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
15343
|
-
return te && re && __defProp$
|
|
15343
|
+
return te && re && __defProp$g(W, J, re), re;
|
|
15344
15344
|
};
|
|
15345
15345
|
let ActivityHistorySearchResults = class extends h$q {
|
|
15346
15346
|
constructor() {
|
|
@@ -15351,22 +15351,22 @@ let ActivityHistorySearchResults = class extends h$q {
|
|
|
15351
15351
|
}
|
|
15352
15352
|
};
|
|
15353
15353
|
ActivityHistorySearchResults.styles = i$A`
|
|
15354
|
-
${r$I(styles$
|
|
15354
|
+
${r$I(styles$b)}
|
|
15355
15355
|
`;
|
|
15356
|
-
__decorateClass$
|
|
15356
|
+
__decorateClass$g([
|
|
15357
15357
|
n$v()
|
|
15358
15358
|
], ActivityHistorySearchResults.prototype, "searchQuery", 2);
|
|
15359
|
-
ActivityHistorySearchResults = __decorateClass$
|
|
15359
|
+
ActivityHistorySearchResults = __decorateClass$g([
|
|
15360
15360
|
t$j("activity-history-search-results")
|
|
15361
15361
|
], ActivityHistorySearchResults);
|
|
15362
|
-
const styles$
|
|
15362
|
+
const styles$a = ".search-header{padding-inline:16px;padding-top:12px;padding-bottom:12px;gap:var(--dss-spacing-xs);border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;color:var(--color-neutral-900);font-weight:600;font-size:14px;line-height:24px}", template$a = (X) => ke$1`<dss-search-bar dropdownStyle=${"display: none"} @onSearchChange=${X._handleSearchChange} icon="search" inputsize="md" threshold="2" recentsearchestext="" emptydropdowntext="">
|
|
15363
15363
|
<label slot="label" for="searchbar1" aria-hidden="false"></label>
|
|
15364
15364
|
<input slot="input" id="searchbar1" type="text" value=${X.searchQuery} @input=${(W) => X._handleSearchChange({ detail: [W.target.value] })}>
|
|
15365
15365
|
</dss-search-bar>`;
|
|
15366
|
-
var __defProp$
|
|
15366
|
+
var __defProp$f = Object.defineProperty, __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor, __decorateClass$f = (X, W, J, te) => {
|
|
15367
15367
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$7(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
15368
15368
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
15369
|
-
return te && re && __defProp$
|
|
15369
|
+
return te && re && __defProp$f(W, J, re), re;
|
|
15370
15370
|
};
|
|
15371
15371
|
let ActivityHistorySearchBar = class extends h$q {
|
|
15372
15372
|
constructor() {
|
|
@@ -15381,12 +15381,12 @@ let ActivityHistorySearchBar = class extends h$q {
|
|
|
15381
15381
|
}
|
|
15382
15382
|
};
|
|
15383
15383
|
ActivityHistorySearchBar.styles = i$A`
|
|
15384
|
-
${r$I(styles$
|
|
15384
|
+
${r$I(styles$a)}
|
|
15385
15385
|
`;
|
|
15386
|
-
__decorateClass$
|
|
15386
|
+
__decorateClass$f([
|
|
15387
15387
|
n$v()
|
|
15388
15388
|
], ActivityHistorySearchBar.prototype, "searchQuery", 2);
|
|
15389
|
-
ActivityHistorySearchBar = __decorateClass$
|
|
15389
|
+
ActivityHistorySearchBar = __decorateClass$f([
|
|
15390
15390
|
t$j("activity-history-search-bar")
|
|
15391
15391
|
], ActivityHistorySearchBar);
|
|
15392
15392
|
const formatShowFilterTitle = (X) => {
|
|
@@ -15446,11 +15446,11 @@ const formatShowFilterTitle = (X) => {
|
|
|
15446
15446
|
</div>
|
|
15447
15447
|
</div>
|
|
15448
15448
|
`;
|
|
15449
|
-
}, styles$
|
|
15450
|
-
var __defProp$
|
|
15449
|
+
}, styles$9 = ".filters-container{display:flex;gap:var(--dss-spacing-md)}.filters-header{font-weight:700}.filter-groups{display:flex;gap:var(--dss-spacing-xs)}.filter-group{display:flex;gap:var(--dss-spacing-xs);color:var(--color-neutral-600);font-weight:600}.popover-content{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:var(--dss-spacing-xs);padding:10px;max-width:368px;max-height:336px;overflow:auto}";
|
|
15450
|
+
var __defProp$e = Object.defineProperty, __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor, __decorateClass$e = (X, W, J, te) => {
|
|
15451
15451
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$6(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
15452
15452
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
15453
|
-
return te && re && __defProp$
|
|
15453
|
+
return te && re && __defProp$e(W, J, re), re;
|
|
15454
15454
|
};
|
|
15455
15455
|
let ActiveFiltersBadges = class extends h$q {
|
|
15456
15456
|
render() {
|
|
@@ -15471,18 +15471,18 @@ let ActiveFiltersBadges = class extends h$q {
|
|
|
15471
15471
|
}
|
|
15472
15472
|
};
|
|
15473
15473
|
ActiveFiltersBadges.styles = i$A`
|
|
15474
|
-
${r$I(styles$
|
|
15474
|
+
${r$I(styles$9)}
|
|
15475
15475
|
`;
|
|
15476
|
-
__decorateClass$
|
|
15476
|
+
__decorateClass$e([
|
|
15477
15477
|
lazyInject(TYPES.primaryApi)
|
|
15478
15478
|
], ActiveFiltersBadges.prototype, "api", 2);
|
|
15479
|
-
__decorateClass$
|
|
15479
|
+
__decorateClass$e([
|
|
15480
15480
|
connectedProperty(activityHistoryEnabledCommonFiltersSelector)
|
|
15481
15481
|
], ActiveFiltersBadges.prototype, "enabledCommonFilters", 2);
|
|
15482
|
-
__decorateClass$
|
|
15482
|
+
__decorateClass$e([
|
|
15483
15483
|
connectedProperty(activeGroupsWithEnabledFilters)
|
|
15484
15484
|
], ActiveFiltersBadges.prototype, "enabledFilters", 2);
|
|
15485
|
-
ActiveFiltersBadges = __decorateClass$
|
|
15485
|
+
ActiveFiltersBadges = __decorateClass$e([
|
|
15486
15486
|
t$j("active-filters-badges")
|
|
15487
15487
|
], ActiveFiltersBadges);
|
|
15488
15488
|
let request$2;
|
|
@@ -15490,11 +15490,11 @@ const bootstrapSearchItems = (X) => {
|
|
|
15490
15490
|
request$2 = X.registerRequest(SearchActivityHistoryItems, SearchItemsHandler);
|
|
15491
15491
|
}, teardownSearchItems = () => {
|
|
15492
15492
|
request$2 == null || request$2.dispose();
|
|
15493
|
-
}, styles$
|
|
15494
|
-
var __defProp$
|
|
15493
|
+
}, styles$8 = ".spinner-container{display:flex;flex-direction:row;align-items:center;gap:24px;justify-content:center;padding-top:16px}.spinner-full-container{width:100%;height:100%;display:flex;align-items:center;justify-content:center}", template$8 = (X) => X.isAnyCollectionLoadingWithoutAnyLoaded ? ke$1`<div class="spinner-full-container"><dss-spinner></dss-spinner></div>` : X.isSomeCollectionLoadedAndOtherLoading ? ke$1`<div class="spinner-container"><dss-spinner size="sm"></dss-spinner><div class="busy-description">${translate("busyEntriesLoading")}</div></div>` : D$1;
|
|
15494
|
+
var __defProp$d = Object.defineProperty, __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor, __decorateClass$d = (X, W, J, te) => {
|
|
15495
15495
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$5(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
15496
15496
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
15497
|
-
return te && re && __defProp$
|
|
15497
|
+
return te && re && __defProp$d(W, J, re), re;
|
|
15498
15498
|
};
|
|
15499
15499
|
let ActivityHistoryBusy = class extends h$q {
|
|
15500
15500
|
render() {
|
|
@@ -15502,15 +15502,15 @@ let ActivityHistoryBusy = class extends h$q {
|
|
|
15502
15502
|
}
|
|
15503
15503
|
};
|
|
15504
15504
|
ActivityHistoryBusy.styles = i$A`
|
|
15505
|
-
${r$I(styles$
|
|
15505
|
+
${r$I(styles$8)}
|
|
15506
15506
|
`;
|
|
15507
|
-
__decorateClass$
|
|
15507
|
+
__decorateClass$d([
|
|
15508
15508
|
connectedProperty(isAnyCollectionLoadingWithoutAnyLoaded)
|
|
15509
15509
|
], ActivityHistoryBusy.prototype, "isAnyCollectionLoadingWithoutAnyLoaded", 2);
|
|
15510
|
-
__decorateClass$
|
|
15510
|
+
__decorateClass$d([
|
|
15511
15511
|
connectedProperty(isSomeCollectionLoadedAndOtherLoading)
|
|
15512
15512
|
], ActivityHistoryBusy.prototype, "isSomeCollectionLoadedAndOtherLoading", 2);
|
|
15513
|
-
ActivityHistoryBusy = __decorateClass$
|
|
15513
|
+
ActivityHistoryBusy = __decorateClass$d([
|
|
15514
15514
|
t$j("activity-history-busy")
|
|
15515
15515
|
], ActivityHistoryBusy);
|
|
15516
15516
|
let broker;
|
|
@@ -15518,7 +15518,7 @@ const bootstrapActivityHistoryItem = (X) => {
|
|
|
15518
15518
|
broker = brokerExtensions(X, container), bootstrapInjectAsyncHistoryItems(broker), bootstrapAddHistoryItem(broker), bootstrapAddHistoryItems(broker), bootstrapUpdateHistoryItem(broker), bootstrapExportPdf(broker), bootstrapFilters(broker), bootstrapSearchItems(broker);
|
|
15519
15519
|
}, teardownActivityHistoryItem = () => {
|
|
15520
15520
|
teardownInjectAsyncHistoryItems(), teardownAddHistoryItem(), teardownAddHistoryItems(), teardownUpdateHistoryItem(), teardownExportPdf(), teardownFilters(), teardownSearchItems();
|
|
15521
|
-
}, styles$
|
|
15521
|
+
}, styles$7 = ":host{display:flex;min-height:1px;height:100%;width:100%}.container{display:flex;flex-direction:column;width:100%;border:1px solid rgb(189,189,189);border-radius:var(--dss-radius-sm)}.container[maximized]{position:absolute;background:#fff;top:0;left:0;bottom:0;border:none}.container[maximized] .header-maximized-container{display:flex;flex-direction:column}.container[maximized] .header-maximized-container .header__maximized{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding-top:24px;padding-bottom:24px;padding-inline:40px}.container[maximized] .header-maximized-container .header__maximized .header__maximized__search{flex:1;border-radius:8px;border:1px solid rgb(189,189,189);padding:8px;width:300px}.container[maximized] .header-maximized-container .header__maximized .title{color:var(--color-neutral-900);font-weight:700;font-size:20px;line-height:30px;white-space:nowrap}.container[maximized] .header-maximized-container .header__maximized .options{display:flex;align-items:center;color:var(--color-primary-400);font-weight:600;font-size:14px;line-height:24px;cursor:pointer}.container[maximized] .header-maximized-container .header__maximized .header__maximized__left{display:flex;flex-direction:row;gap:24px;align-items:center;width:100%}.container[maximized] .header-maximized-container .header__maximized .header__maximized__right{display:flex;flex-direction:row;gap:16px;align-items:center}.container[maximized] .wrapper{height:calc(100vh - 175px);border:1px solid rgb(189,189,189);border-radius:var(--dss-radius-sm);margin-bottom:24px;margin-inline:40px;width:calc(100% - 80px)}.container .header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid rgb(189,189,189);gap:16px}.container .header .header__left{display:flex;flex-direction:row;align-items:center;flex:1;gap:16px}.container .header .header__left .title{color:var(--color-neutral-800);font-weight:700;font-size:16px;line-height:24px;white-space:nowrap}.container .header .header__right{display:flex;flex-direction:row;align-items:center;gap:8px}.container .header .header__right .action-icons{display:flex;align-items:center}.container .wrapper{display:flex;flex-direction:row;min-height:1px;width:100%;height:100%}.container .wrapper[maximized] .content{width:100%;background:var(--color-neutral-50);border-top-right-radius:var(--dss-radius-sm)}.container .wrapper .content{width:100%;background:var(--color-neutral-50);border-bottom-right-radius:var(--dss-radius-sm);overflow:hidden}", template$7 = (X) => ke$1`<div class="container" ?maximized=${X.maximized}>
|
|
15522
15522
|
${X.maximized ? ke$1`${headerMaximizedTemplate(X)}` : ke$1`<div class="header">
|
|
15523
15523
|
<div class="header__left">
|
|
15524
15524
|
<div class="title">${translate("activityHistory")}</div>
|
|
@@ -15572,10 +15572,10 @@ const bootstrapActivityHistoryItem = (X) => {
|
|
|
15572
15572
|
</div>
|
|
15573
15573
|
</div>
|
|
15574
15574
|
`;
|
|
15575
|
-
var __defProp$
|
|
15575
|
+
var __defProp$c = Object.defineProperty, __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor, __decorateClass$c = (X, W, J, te) => {
|
|
15576
15576
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$4(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
15577
15577
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
15578
|
-
return te && re && __defProp$
|
|
15578
|
+
return te && re && __defProp$c(W, J, re), re;
|
|
15579
15579
|
};
|
|
15580
15580
|
let ActivityHistoryMain = class extends PrimariaRegionHost(h$q) {
|
|
15581
15581
|
constructor() {
|
|
@@ -15627,21 +15627,21 @@ let ActivityHistoryMain = class extends PrimariaRegionHost(h$q) {
|
|
|
15627
15627
|
}
|
|
15628
15628
|
};
|
|
15629
15629
|
ActivityHistoryMain.styles = i$A`
|
|
15630
|
-
${r$I(styles$
|
|
15630
|
+
${r$I(styles$7)}
|
|
15631
15631
|
`;
|
|
15632
|
-
__decorateClass$
|
|
15632
|
+
__decorateClass$c([
|
|
15633
15633
|
n$v({ type: Boolean, reflect: !0 })
|
|
15634
15634
|
], ActivityHistoryMain.prototype, "maximized", 2);
|
|
15635
|
-
__decorateClass$
|
|
15635
|
+
__decorateClass$c([
|
|
15636
15636
|
lazyInject(TYPES.primaryApi)
|
|
15637
15637
|
], ActivityHistoryMain.prototype, "api", 2);
|
|
15638
|
-
__decorateClass$
|
|
15638
|
+
__decorateClass$c([
|
|
15639
15639
|
connectedProperty(activityHistoryCollectionsSelector)
|
|
15640
15640
|
], ActivityHistoryMain.prototype, "historyItems", 2);
|
|
15641
|
-
__decorateClass$
|
|
15641
|
+
__decorateClass$c([
|
|
15642
15642
|
n$v()
|
|
15643
15643
|
], ActivityHistoryMain.prototype, "searchQuery", 2);
|
|
15644
|
-
ActivityHistoryMain = __decorateClass$
|
|
15644
|
+
ActivityHistoryMain = __decorateClass$c([
|
|
15645
15645
|
t$j("activity-history-main")
|
|
15646
15646
|
], ActivityHistoryMain);
|
|
15647
15647
|
const registerViews = (X) => {
|
|
@@ -15670,10 +15670,10 @@ const internalPlugins = [
|
|
|
15670
15670
|
const W = internalPlugins.concat(X || []);
|
|
15671
15671
|
bootstrappedPlugins = await v$e(W, primariaApiFactory);
|
|
15672
15672
|
}, disposePlugins = async () => Promise.all(bootstrappedPlugins.map((X) => X == null ? void 0 : X.dispose()));
|
|
15673
|
-
var __defProp$
|
|
15673
|
+
var __defProp$b = Object.defineProperty, __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor, __decorateClass$b = (X, W, J, te) => {
|
|
15674
15674
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$3(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
15675
15675
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
15676
|
-
return te && re && __defProp$
|
|
15676
|
+
return te && re && __defProp$b(W, J, re), re;
|
|
15677
15677
|
}, __decorateParam$2 = (X, W) => (J, te) => W(J, te, X);
|
|
15678
15678
|
let ExitShellHandler = class {
|
|
15679
15679
|
constructor(X) {
|
|
@@ -15708,7 +15708,7 @@ let ExitShellHandler = class {
|
|
|
15708
15708
|
return new Promise((W) => setTimeout(W, X));
|
|
15709
15709
|
}
|
|
15710
15710
|
};
|
|
15711
|
-
ExitShellHandler = __decorateClass$
|
|
15711
|
+
ExitShellHandler = __decorateClass$b([
|
|
15712
15712
|
__decorateParam$2(0, inject(TYPES$1.primaryApi))
|
|
15713
15713
|
], ExitShellHandler);
|
|
15714
15714
|
class ExitShell {
|
|
@@ -15719,10 +15719,10 @@ const useExitShell = (X) => {
|
|
|
15719
15719
|
}, disposeExitShell = () => {
|
|
15720
15720
|
request$1 == null || request$1.dispose();
|
|
15721
15721
|
};
|
|
15722
|
-
var __defProp$
|
|
15722
|
+
var __defProp$a = Object.defineProperty, __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor, __decorateClass$a = (X, W, J, te) => {
|
|
15723
15723
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$2(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
15724
15724
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
15725
|
-
return te && re && __defProp$
|
|
15725
|
+
return te && re && __defProp$a(W, J, re), re;
|
|
15726
15726
|
}, __decorateParam$1 = (X, W) => (J, te) => W(J, te, X);
|
|
15727
15727
|
let GetUserInfoBackendAdapter = class {
|
|
15728
15728
|
constructor(X) {
|
|
@@ -15745,14 +15745,14 @@ let GetUserInfoBackendAdapter = class {
|
|
|
15745
15745
|
return Promise.resolve(W);
|
|
15746
15746
|
}
|
|
15747
15747
|
};
|
|
15748
|
-
GetUserInfoBackendAdapter = __decorateClass$
|
|
15748
|
+
GetUserInfoBackendAdapter = __decorateClass$a([
|
|
15749
15749
|
injectable(),
|
|
15750
15750
|
__decorateParam$1(0, inject(TYPES$1.primaryApi))
|
|
15751
15751
|
], GetUserInfoBackendAdapter);
|
|
15752
|
-
var __defProp$
|
|
15752
|
+
var __defProp$9 = Object.defineProperty, __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor, __decorateClass$9 = (X, W, J, te) => {
|
|
15753
15753
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$1(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
15754
15754
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
15755
|
-
return te && re && __defProp$
|
|
15755
|
+
return te && re && __defProp$9(W, J, re), re;
|
|
15756
15756
|
}, __decorateParam = (X, W) => (J, te) => W(J, te, X);
|
|
15757
15757
|
let GetUserInfoHandler = class {
|
|
15758
15758
|
constructor(X, W) {
|
|
@@ -15767,7 +15767,7 @@ let GetUserInfoHandler = class {
|
|
|
15767
15767
|
}
|
|
15768
15768
|
}
|
|
15769
15769
|
};
|
|
15770
|
-
GetUserInfoHandler = __decorateClass$
|
|
15770
|
+
GetUserInfoHandler = __decorateClass$9([
|
|
15771
15771
|
__decorateParam(0, inject(TYPES$1.primaryApi)),
|
|
15772
15772
|
__decorateParam(1, inject(GetUserInfoBackendAdapter))
|
|
15773
15773
|
], GetUserInfoHandler);
|
|
@@ -15778,7 +15778,7 @@ const useGetUserInfo = (X) => {
|
|
|
15778
15778
|
disposeGetUserInfo(), request = registerRequest(X, container$1)(GetUserInfo, GetUserInfoHandler), registerDep(GetUserInfoBackendAdapter);
|
|
15779
15779
|
}, disposeGetUserInfo = () => {
|
|
15780
15780
|
request == null || request.dispose(), unregisterDep(GetUserInfoBackendAdapter);
|
|
15781
|
-
}, clinicalMonitoringId = "clinical-monitoring", styles$
|
|
15781
|
+
}, clinicalMonitoringId = "clinical-monitoring", styles$6 = ":host{min-height:1px;height:100%;width:100%}.wrapper{position:relative;min-height:1px;height:100%;display:flex;flex-direction:row}.wrapper #widgets-sidebar-region{width:25%;border-left:1px solid rgb(189,189,189)}.wrapper .content{flex:1;display:flex;flex-direction:column}.wrapper .content #header-widgets-region{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:24px 40px}.wrapper .content #content-widgets-region{flex:1;min-height:1px;height:100%;padding-inline:40px;padding-bottom:24px}", template$6 = (X) => ke$1`
|
|
15782
15782
|
<div class="wrapper">
|
|
15783
15783
|
<div class="content">
|
|
15784
15784
|
<div id="header-widgets-region"></div>
|
|
@@ -15787,10 +15787,10 @@ const useGetUserInfo = (X) => {
|
|
|
15787
15787
|
<div id="widgets-sidebar-region"></div>
|
|
15788
15788
|
</div>
|
|
15789
15789
|
`;
|
|
15790
|
-
var __defProp$
|
|
15790
|
+
var __defProp$8 = Object.defineProperty, __decorateClass$8 = (X, W, J, te) => {
|
|
15791
15791
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
15792
15792
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
15793
|
-
return re && __defProp$
|
|
15793
|
+
return re && __defProp$8(W, J, re), re;
|
|
15794
15794
|
};
|
|
15795
15795
|
const Hr = class Hr extends PrimariaRegionHost(h$q) {
|
|
15796
15796
|
render() {
|
|
@@ -15820,16 +15820,16 @@ const Hr = class Hr extends PrimariaRegionHost(h$q) {
|
|
|
15820
15820
|
}
|
|
15821
15821
|
};
|
|
15822
15822
|
Hr.styles = i$A`
|
|
15823
|
-
${r$I(styles$
|
|
15823
|
+
${r$I(styles$6)}
|
|
15824
15824
|
`;
|
|
15825
15825
|
let ClinicalMonitoring = Hr;
|
|
15826
|
-
__decorateClass$
|
|
15826
|
+
__decorateClass$8([
|
|
15827
15827
|
s$x({ targetId: "widgets-sidebar-region", name: clinicalMonitoringRegions.sidebar })
|
|
15828
15828
|
], ClinicalMonitoring.prototype, "sidebarRegion");
|
|
15829
|
-
__decorateClass$
|
|
15829
|
+
__decorateClass$8([
|
|
15830
15830
|
s$x({ targetId: "header-widgets-region", name: clinicalMonitoringRegions.header })
|
|
15831
15831
|
], ClinicalMonitoring.prototype, "headerRegion");
|
|
15832
|
-
__decorateClass$
|
|
15832
|
+
__decorateClass$8([
|
|
15833
15833
|
s$x({ targetId: "content-widgets-region", name: clinicalMonitoringRegions.content })
|
|
15834
15834
|
], ClinicalMonitoring.prototype, "contentRegion");
|
|
15835
15835
|
const useClinicalMonitoring = (X) => {
|
|
@@ -15866,7 +15866,7 @@ const useClinicalMonitoring = (X) => {
|
|
|
15866
15866
|
shellApi.ecapEventManager.publish("CLOSE_FORM", "", {});
|
|
15867
15867
|
};
|
|
15868
15868
|
var shellViews = /* @__PURE__ */ ((X) => (X.shell = "primaria-shell", X.error = "primaria-error-view", X))(shellViews || {});
|
|
15869
|
-
const styles$
|
|
15869
|
+
const styles$5 = ":host{width:100%;overflow:hidden}#main-switcher{display:inherit}.container{width:100%;height:100%;display:flex;flex-direction:column;background:#fff}.main-container{min-height:1px;height:100%;display:flex}.main-container .sidebar{padding-inline:16px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;background:var(--color-primary-700);width:40px;height:100%;color:#fff}.main-container .sidebar .quick-actions-content{padding-top:24px;padding-bottom:22px;border-radius:8px}.main-container .sidebar .quick-actions-content .create-button-icon-badge{position:relative}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-notification-badge{position:absolute;top:-7px;right:-6px;z-index:1}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-icon{position:relative}.main-container .sidebar .icon{margin-left:8px}.main-container .sidebar #menu-region-container{padding-top:24px;min-height:1px;height:100%;width:100%;display:flex;flex-direction:column;gap:4px}.main-container .sidebar .bottom-content{display:flex;flex-direction:column;gap:24px;width:100%}.main-container .sidebar .bottom-content .bottom-content-first{display:flex;flex-direction:column;gap:4px}.main-container .sidebar #quick-actions-region-container{width:100%}.main-container .sidebar[expanded]{width:252px;align-items:flex-start}.main-container .sidebar .create-button-closed{cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);border-radius:8px;width:40px;height:40px;display:flex;flex-direction:row;align-items:center;justify-content:center;transition:background-color .3s ease}.main-container .sidebar .create-button-closed:hover{background-color:var(--color-primary-900);color:#fff}.main-container .sidebar .create-button-opened{padding:1px;cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);border-radius:8px;gap:8px;font-weight:600;width:220px;height:40px;display:flex;flex-direction:row;align-items:center;transition:background-color .3s ease}.main-container .sidebar .create-button-opened:hover{background-color:var(--color-primary-900);color:#fff}.main-container .content{display:flex;height:100%;width:100%}.main-container #main-region-container{min-height:1px;height:100%;flex:1}.main-container #floating-region-container{position:fixed;z-index:300}.footer{display:flex;height:48px;padding:12px 24px}.footer .footer-logo{align-self:center;display:flex;gap:16px}.divider-opened{width:220px}.divider-closed{width:40px}.toggle-button{margin-bottom:24px}";
|
|
15870
15870
|
let t$f = "";
|
|
15871
15871
|
function f$j() {
|
|
15872
15872
|
return t$f;
|
|
@@ -26271,10 +26271,10 @@ i$c([
|
|
|
26271
26271
|
n$v(o$J)
|
|
26272
26272
|
], n$d.prototype, "secondaryLabelClose", 2);
|
|
26273
26273
|
const r$a = ':host{display:inline-block;height:100%;width:100%;--circle: 32px;--circle-md: 24px;--circle-sm: 16px;--default-background: var(--color-white);--default-border-color: var(--color-neutral-500);--default-font-color: var(--color-neutral-900);--default-background-hover: var(--color-neutral-50);--default-font-color-active: var(--color-neutral-500);--active-background: var(--color-primary-500);--active-border-color: var(--color-primary-500);--active-font-color: var(--color-white);--completed-background: var(--color-primary-50);--disabled-background: var(--color-neutral-100);--disabled-border-color: var(--color-neutral-100);--disabled-font-color: var(--color-neutral-600);--line-width: 2px;--font-size: 18px;--font-size-md: 16px;--font-size-sm: 16px}.dss-circular-stepper{display:flex;gap:16px;align-items:center}.dss-circular-stepper__item{width:3rem;height:3rem;position:relative}.dss-circular-stepper__item svg{width:3rem;height:3rem;transform:rotate(-90deg)}.dss-circular-stepper__counter{position:absolute;font-size:.9rem;line-height:24px;left:0;top:0;width:3rem;height:3rem;display:flex;justify-content:center;align-items:center}.dss-circular-stepper__label,.dss-circular-stepper__counter b{font-weight:600;color:var(--color-neutral-700);font-size:.9rem;transition:.3s all ease-in;line-height:24px}.dss-circular-stepper circle{stroke:var(--color-neutral-200);stroke-dashoffset:0;fill:none;stroke-linecap:round;stroke-width:6px;stroke-dasharray:100,100;transition:.3s all ease-in}.dss-circular-stepper circle:last-of-type{stroke:var(--color-primary-500);stroke-dasharray:var(--percent),100;stroke-dashoffset:0}.dss-stepper{display:flex;list-style:none;justify-content:space-between;background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle) - var(--line-width)) / 2) / 100% var(--line-width);margin:var(--dss-spacing-xxs) 0 var(--dss-spacing-xl);padding:0;counter-reset:step}.dss-stepper--md{background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle-md) - var(--line-width)) / 2) / 100% var(--line-width)}.dss-stepper--sm{background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle-sm) - var(--line-width)) / 2) / 100% var(--line-width)}.dss-bubble{display:grid;place-items:center;gap:0;position:relative;border-radius:50%;transition:.3s outline ease-in}.dss-bubble:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-bubble:before{cursor:pointer;content:counter(step) " ";counter-increment:step;display:grid;place-content:center;aspect-ratio:1;height:var(--circle);box-sizing:border-box;border-radius:50%;font-size:var(--font-size);font-weight:var(--font-semibold);font-family:var(--font-family);z-index:100;background-color:var(--default-background);border:var(--line-width) solid var(--active-border-color);color:var(--default-font-color);transition:.3s all ease-in}.dss-bubble:not(.dss-bubble--active):not(:active):hover:before{background-color:var(--completed-background)}.dss-stepper--md .dss-bubble:before{height:var(--circle-md);font-size:var(--font-size-md)}.dss-stepper--sm .dss-bubble:before{content:"";height:var(--circle-sm);font-size:var(--font-size-sm);height:16px;width:16px}.dss-bubble--active:before{background-color:var(--active-background);border-color:var(--active-border-color);color:var(--active-font-color)}.dss-bubble--active~.dss-bubble:before{background-color:var(--default-background);border-color:var(--default-border-color);color:var(--default-font-color)}.dss-bubble--active~.dss-bubble:not(.dss-bubble--active):hover:before{background-color:var(--default-background-hover)}.dss-bubble--active~.dss-bubble:active:before{background-color:var(--default-background);color:var(--default-font-color-active)}.dss-bubble--icon:before{content:attr(icon);font-family:var(--font-icons);font-weight:400}.dss-bubble--checked:before{content:"done";font-family:var(--font-icons);font-weight:400;font-size:24px;color:var(--color-primary-500)!important}.dss-stepper--sm .dss-bubble--checked:before{content:"check_circle";background-color:var(--color-primary-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--checked:hover:before{border-color:var(--color-white);color:var(--color-primary-500)!important}.dss-bubble--checked:active:before{background-color:var(--color-white);color:var(--color-primary-300)!important;border-color:var(--color-primary-500)!important}.dss-stepper--sm .dss-bubble--checked:active:before{border-color:var(--color-white)!important;color:var(--color-primary-300)!important}.dss-bubble--info:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:before{content:"info_i";font-family:var(--font-icons);font-weight:400;background-color:var(--color-white);color:var(--color-blue-500);border-color:var(--color-blue-500)}.dss-bubble--info:hover:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:hover:before{background-color:var(--color-blue-50)!important}.dss-bubble--info:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:not(.dss-bubble--active):active:before{color:var(--color-blue-300)!important;background-color:var(--color-white)!important}.dss-stepper--sm .dss-bubble--info:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:before{content:"info";background-color:var(--color-blue-500);border-color:var(--color-blue-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--info:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:hover:before{background-color:var(--color-blue-50)!important;border-color:var(--color-white);color:var(--color-blue-500)!important}.dss-stepper--sm .dss-bubble--info:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-blue-300)!important}.dss-bubble--alert:before,.dss-bubble--active~.dss-bubble.dss-bubble--alert:before{content:"priority_high";font-family:var(--font-icons);font-weight:400;background-color:var(--color-white);color:var(--color-yellow-800);border-color:var(--color-yellow-800)}.dss-bubble--alert:not(:active):hover:before{background-color:var(--color-yellow-50)!important}.dss-bubble--alert:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--alert:active:before{color:var(--color-yellow-700)!important;background-color:var(--color-white)}.dss-stepper--sm .dss-bubble--alert:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:before{content:"error";background-color:var(--color-yellow-800);border-color:var(--color-yellow-800);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--alert:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:hover:before{background-color:var(--color-yellow-50)!important;border-color:var(--color-white);color:var(--color-yellow-800)!important}.dss-stepper--sm .dss-bubble--alert:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-yellow-700)!important}.dss-bubble--error:before,.dss-bubble--active~.dss-bubble.dss-bubble--error:before{content:"close";font-family:var(--font-icons);font-weight:400;background-color:var(--color-white);color:var(--color-red-500);border-color:var(--color-red-500)}.dss-bubble--error:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--error:active:before{color:var(--color-red-300)!important;background-color:var(--color-white)}.dss-stepper--sm .dss-bubble--error:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:before{content:"cancel";background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--error:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:hover:before{background-color:var(--color-red-50)!important;border-color:var(--color-white);color:var(--color-red-500)!important}.dss-stepper--sm .dss-bubble--error:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-red-300)!important}.dss-bubble--disabled:before{cursor:not-allowed;background-color:var(--disabled-background)!important;border-color:var(--disabled-border-color)!important;color:var(--disabled-font-color)!important}.dss-stepper--vertical .dss-bubble:not(:first-child){margin-top:var(--dss-spacing-lg)}.dss-bubble--error:not(:active):hover:before{background-color:var(--color-red-50)!important}.dss-bubble--error:active:before{color:var(--color-red-300)!important}.dss-stepper--sm .dss-bubble--error:before{content:"cancel";background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--error:hover:before{background-color:var(--color-red-50)!important;border-color:var(--color-white);color:var(--color-red-500)!important}.dss-stepper--sm .dss-bubble--error:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-red-300)!important}.dss-bubble--disabled:before{cursor:not-allowed;background:var(--disabled-background)!important;border-color:var(--disabled-border-color)!important;color:var(--disabled-font-color)!important}.dss-bubble--completed:not(:first-child):after{content:"";position:absolute;height:var(--line-width);right:0;top:calc((var(--circle) - var(--line-width)) / 2);width:var(--active-bar-width);background:var(--active-background)}.dss-bubble--active:not(:first-child):after{content:"";position:absolute;height:var(--line-width);right:0;top:calc((var(--circle) - var(--line-width)) / 2);width:var(--active-bar-width);background:var(--active-background);animation:animate .3s}.dss-stepper--md .dss-bubble--completed:not(:first-child):after{top:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--md .dss-bubble--active:not(:first-child):after{top:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm .dss-bubble--completed:not(:first-child):after{top:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--sm .dss-bubble--active:not(:first-child):after{top:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--vertical{height:100%;flex-direction:column;gap:0;background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--vertical .dss-bubble{display:flex;width:-moz-fit-content;width:fit-content}.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{content:"";position:absolute;width:var(--line-width);bottom:0;left:calc((var(--circle) - var(--line-width)) / 2);top:auto;right:auto;height:var(--active-bar-width);background:var(--active-background)}.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{content:"";position:absolute;width:var(--line-width);bottom:0;left:calc((var(--circle) - var(--line-width)) / 2);top:auto;right:auto;height:var(--active-bar-width);background:var(--active-background);animation:column-animate .5s}.dss-stepper--md.dss-stepper--vertical{background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle-md) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--sm.dss-stepper--vertical{background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle-sm) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--md.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{left:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{left:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--md.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{left:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{left:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper:not(.dss-stepper--vertical) .dss-bubble-label{position:absolute;top:calc(100% + var(--dss-spacing-xxs));left:50%;transform:translate(-50%)}.dss-bubble-label{width:-moz-max-content;width:max-content;font-weight:var(--font-regular);font-size:14px;color:var(--color-neutral-700)}.dss-bubble-label--disabled{color:var(--color-neutral-500)}.dss-bubble--active .dss-bubble-label{color:var(--color-neutral-700);font-weight:var(--font-semibold)}.dss-stepper--vertical .dss-bubble-label{position:absolute;left:calc(100% + var(--dss-spacing-xs));top:50%;transform:translateY(-50%)}.dss-bubble-label.hide-label{display:none}@keyframes animate{0%{width:0}to{width:100%}}@keyframes column-animate{0%{height:0}to{height:100%}}';
|
|
26274
|
-
var __defProp$
|
|
26274
|
+
var __defProp$7 = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __decorateClass$7 = (X, W, J, te) => {
|
|
26275
26275
|
for (var re = __getOwnPropDesc(W, J), ne = X.length - 1, oe; ne >= 0; ne--)
|
|
26276
26276
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
26277
|
-
return re && __defProp$
|
|
26277
|
+
return re && __defProp$7(W, J, re), re;
|
|
26278
26278
|
};
|
|
26279
26279
|
class Stepper extends h$q {
|
|
26280
26280
|
constructor() {
|
|
@@ -26421,22 +26421,22 @@ class Stepper extends h$q {
|
|
|
26421
26421
|
`;
|
|
26422
26422
|
}
|
|
26423
26423
|
}
|
|
26424
|
-
__decorateClass$
|
|
26424
|
+
__decorateClass$7([
|
|
26425
26425
|
n$v({ type: [] })
|
|
26426
26426
|
], Stepper.prototype, "steps");
|
|
26427
|
-
__decorateClass$
|
|
26427
|
+
__decorateClass$7([
|
|
26428
26428
|
n$v({ type: Number })
|
|
26429
26429
|
], Stepper.prototype, "currentStep");
|
|
26430
|
-
__decorateClass$
|
|
26430
|
+
__decorateClass$7([
|
|
26431
26431
|
n$v(o$J)
|
|
26432
26432
|
], Stepper.prototype, "column");
|
|
26433
|
-
__decorateClass$
|
|
26433
|
+
__decorateClass$7([
|
|
26434
26434
|
n$v(o$J)
|
|
26435
26435
|
], Stepper.prototype, "circular");
|
|
26436
|
-
__decorateClass$
|
|
26436
|
+
__decorateClass$7([
|
|
26437
26437
|
n$v(o$J)
|
|
26438
26438
|
], Stepper.prototype, "hideLabel");
|
|
26439
|
-
__decorateClass$
|
|
26439
|
+
__decorateClass$7([
|
|
26440
26440
|
n$v({ type: String })
|
|
26441
26441
|
], Stepper.prototype, "size");
|
|
26442
26442
|
const e$g = ":host{display:block;width:100%}.dss-table-header{padding:var(--dss-spacing-md) 0}.dss-table-header-title{display:flex;justify-content:space-between;align-items:center;gap:var(--dss-spacing-lg);margin-bottom:var(--dss-spacing-md)}.dss-table-header-title__text{flex:1;color:var(--color-neutral-900);font-weight:var(--font-bold);font-size:20px}.dss-table-header-title__info{font-size:14px;font-style:normal;font-weight:400;line-height:24px;color:var(--color-neutral-500)}.dss-table-header-title__action{display:flex;justify-content:flex-end;align-items:center;gap:var(--dss-spacing-xxs);font-size:14px;color:var(--color-primary-700);cursor:pointer;border-radius:var(--dss-radius-xs);font-weight:var(--font-semibold)}.dss-table-header-title__action:hover{color:var(--color-primary-600)}.dss-table-header-title__action:active{color:var(--color-primary-400)}.dss-table-header-title__action:focus-visible{outline:var(--dss-border-width-md) solid var(--color-blue-200)}.dss-table-header-filters{display:flex;justify-content:space-between;align-items:center}.dss-table-header-filters__filters{display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-md);width:70%;box-sizing:border-box}.dss-table-header-filters--inner .dss-table-header-filters__filters{width:80%}.filters-label{font-size:14px;font-weight:var(--font-bold);color:var(--color-neutral-600)}.filters-list{display:flex;flex-wrap:wrap;max-width:60%;gap:var(--dss-spacing-xs)}.filters-list-empty{font-size:14px;color:var(--color-neutral-600)}.filters-clean{padding-left:var(--dss-spacing-md);border-left:var(--dss-border-width-sm) solid var(--color-neutral-100)}.dss-table-header-filters__actions{display:flex;justify-content:flex-end;align-items:center;gap:var(--dss-spacing-md);width:30%;box-sizing:border-box}.dss-table-header-filters--inner .dss-table-header-filters__actions{width:20%}::slotted(div.dss-table-filters){width:100%;display:flex;justify-content:flex-start;align-items:center;gap:var(--dss-spacing-xs)}";
|
|
@@ -35074,10 +35074,10 @@ const gencatLogo = "data:image/svg+xml,%3csvg%20width='94'%20height='24'%20viewB
|
|
|
35074
35074
|
`, activateClinicalMonitoringView = () => {
|
|
35075
35075
|
shellApi.regionManager.activateMainView(clinicalMonitoringId);
|
|
35076
35076
|
};
|
|
35077
|
-
var __defProp$
|
|
35077
|
+
var __defProp$6 = Object.defineProperty, __decorateClass$6 = (X, W, J, te) => {
|
|
35078
35078
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
35079
35079
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
35080
|
-
return re && __defProp$
|
|
35080
|
+
return re && __defProp$6(W, J, re), re;
|
|
35081
35081
|
};
|
|
35082
35082
|
const Vr = class Vr extends PrimariaRegionHost(h$q) {
|
|
35083
35083
|
constructor() {
|
|
@@ -35127,97 +35127,43 @@ const Vr = class Vr extends PrimariaRegionHost(h$q) {
|
|
|
35127
35127
|
}
|
|
35128
35128
|
};
|
|
35129
35129
|
Vr.styles = i$A`
|
|
35130
|
-
${r$I(styles$
|
|
35130
|
+
${r$I(styles$5)}
|
|
35131
35131
|
`;
|
|
35132
35132
|
let PrimariaShell = Vr;
|
|
35133
|
-
__decorateClass$
|
|
35133
|
+
__decorateClass$6([
|
|
35134
35134
|
s$x({ targetId: "menu-region-container", name: shellRegions.navigationMenu })
|
|
35135
35135
|
], PrimariaShell.prototype, "navigationMenuRegion");
|
|
35136
|
-
__decorateClass$
|
|
35136
|
+
__decorateClass$6([
|
|
35137
35137
|
s$x({ targetId: "main-region-container", name: shellRegions.main })
|
|
35138
35138
|
], PrimariaShell.prototype, "mainRegion");
|
|
35139
|
-
__decorateClass$
|
|
35139
|
+
__decorateClass$6([
|
|
35140
35140
|
s$x({ targetId: "quick-actions-region-container", name: shellRegions.quickActions })
|
|
35141
35141
|
], PrimariaShell.prototype, "quickActionsRegion");
|
|
35142
|
-
__decorateClass$
|
|
35142
|
+
__decorateClass$6([
|
|
35143
35143
|
s$x({ targetId: "floating-region-container", name: shellRegions.floating })
|
|
35144
35144
|
], PrimariaShell.prototype, "floatingRegion");
|
|
35145
|
-
__decorateClass$
|
|
35145
|
+
__decorateClass$6([
|
|
35146
35146
|
s$x({
|
|
35147
35147
|
targetId: "navigation-menu-lower-region-container",
|
|
35148
35148
|
name: shellRegions.navigationLowerLeftMenu
|
|
35149
35149
|
})
|
|
35150
35150
|
], PrimariaShell.prototype, "navLowerLeftMenu");
|
|
35151
|
-
__decorateClass$
|
|
35151
|
+
__decorateClass$6([
|
|
35152
35152
|
r$F()
|
|
35153
35153
|
], PrimariaShell.prototype, "sidebarExpanded");
|
|
35154
|
-
__decorateClass$
|
|
35154
|
+
__decorateClass$6([
|
|
35155
35155
|
r$F()
|
|
35156
35156
|
], PrimariaShell.prototype, "viewSelected");
|
|
35157
|
-
__decorateClass$
|
|
35157
|
+
__decorateClass$6([
|
|
35158
35158
|
r$F()
|
|
35159
35159
|
], PrimariaShell.prototype, "error");
|
|
35160
|
-
__decorateClass$
|
|
35160
|
+
__decorateClass$6([
|
|
35161
35161
|
r$F()
|
|
35162
35162
|
], PrimariaShell.prototype, "quickActionBusy");
|
|
35163
35163
|
const getPatientCip = async (X) => await X.broker.send("get_patient_cip"), navigateToEcapWithoutClosingWithCip = async (X) => {
|
|
35164
35164
|
const W = await getPatientCip(shellApi);
|
|
35165
35165
|
shellApi.ecapEventManager.publish(X, "NO_TANCAR", { CIP: W });
|
|
35166
|
-
},
|
|
35167
|
-
render() {
|
|
35168
|
-
return ke$1`<div>
|
|
35169
|
-
<h1>POC ECAP Test </h1>
|
|
35170
|
-
<hr>
|
|
35171
|
-
<p>Emplenar valors de url i accio per navegar a ECAP</p>
|
|
35172
|
-
<form>
|
|
35173
|
-
<label for="eventType">Tipus d'event (TipusEvent)</label>
|
|
35174
|
-
<input type="text" id="eventType" name="eventType" placeholder="IA_DEV">
|
|
35175
|
-
<label for="Accio">Acció a executar (Accio)</label>
|
|
35176
|
-
<input type="text" id="accio" name="accio" placeholder="NO_TANCAR">
|
|
35177
|
-
<label for="parameterName">Nom del parametre</label>
|
|
35178
|
-
<input type="text" id="parameterName" name="parameterName" placeholder="CIP">
|
|
35179
|
-
<label for="parameterValue">Valor del parametre</label>
|
|
35180
|
-
<input type="text" id="parameterValue" name="parameterValue" placeholder="12345678">
|
|
35181
|
-
|
|
35182
|
-
</form>
|
|
35183
|
-
<button @click=${(W) => this.goToLinkOnEcap()}>LLennçar event ecap</button>
|
|
35184
|
-
</div>
|
|
35185
|
-
|
|
35186
|
-
<form>
|
|
35187
|
-
<label for="pdfName">PDF Name</label>
|
|
35188
|
-
<input type="text" id="pdfName" name="pdfName" placeholder="pdfName">
|
|
35189
|
-
<label for="url">URL</label>
|
|
35190
|
-
<input type="text" id="url" name="url" placeholder="url">
|
|
35191
|
-
|
|
35192
|
-
|
|
35193
|
-
</form>
|
|
35194
|
-
<button @click=${(W) => this.sendPdfToViewer()}>Add PDF</button>
|
|
35195
|
-
|
|
35196
|
-
|
|
35197
|
-
<button @click=${(W) => this.getPDFS()}>GET PDFs</button>
|
|
35198
|
-
`;
|
|
35199
|
-
}
|
|
35200
|
-
sendPdfToViewer() {
|
|
35201
|
-
var re, ne, oe, de;
|
|
35202
|
-
const W = (ne = (re = this.shadowRoot) == null ? void 0 : re.getElementById("pdfName")) == null ? void 0 : ne.value, te = { url: (de = (oe = this.shadowRoot) == null ? void 0 : oe.getElementById("url")) == null ? void 0 : de.value };
|
|
35203
|
-
console.log("Añadiendo PDF:", W), shellApi.pdfViewerManager.add(W, te);
|
|
35204
|
-
}
|
|
35205
|
-
getPDFS() {
|
|
35206
|
-
const W = shellApi.pdfViewerManager.getPdfs();
|
|
35207
|
-
console.log(W);
|
|
35208
|
-
}
|
|
35209
|
-
goToLinkOnEcap() {
|
|
35210
|
-
var ne, oe, de, he, ue, ce, pe, fe;
|
|
35211
|
-
const W = (oe = (ne = this.shadowRoot) == null ? void 0 : ne.getElementById("eventType")) == null ? void 0 : oe.value, J = (he = (de = this.shadowRoot) == null ? void 0 : de.getElementById("accio")) == null ? void 0 : he.value, te = (ce = (ue = this.shadowRoot) == null ? void 0 : ue.getElementById("parameterName")) == null ? void 0 : ce.value, re = (fe = (pe = this.shadowRoot) == null ? void 0 : pe.getElementById("parameterValue")) == null ? void 0 : fe.value;
|
|
35212
|
-
shellApi.ecapEventManager.publish(W, J, {
|
|
35213
|
-
[te]: re
|
|
35214
|
-
});
|
|
35215
|
-
}
|
|
35216
|
-
};
|
|
35217
|
-
Wr.styles = i$A`
|
|
35218
|
-
`;
|
|
35219
|
-
let PocEventsEcap = Wr;
|
|
35220
|
-
const styles$3 = ".wrapper{display:flex;flex-direction:column;gap:8px}.menu-active{background-color:var(--color-primary-900);color:#fff;border-radius:8px}", template$4 = (X) => {
|
|
35166
|
+
}, styles$4 = ".wrapper{display:flex;flex-direction:column;gap:8px}.menu-active{background-color:var(--color-primary-900);color:#fff;border-radius:8px}", template$4 = (X) => {
|
|
35221
35167
|
var W;
|
|
35222
35168
|
return ke$1`
|
|
35223
35169
|
<div class="wrapper">
|
|
@@ -35242,12 +35188,12 @@ const styles$3 = ".wrapper{display:flex;flex-direction:column;gap:8px}.menu-acti
|
|
|
35242
35188
|
</div>
|
|
35243
35189
|
`;
|
|
35244
35190
|
};
|
|
35245
|
-
var __defProp$
|
|
35191
|
+
var __defProp$5 = Object.defineProperty, __decorateClass$5 = (X, W, J, te) => {
|
|
35246
35192
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
35247
35193
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
35248
|
-
return re && __defProp$
|
|
35194
|
+
return re && __defProp$5(W, J, re), re;
|
|
35249
35195
|
};
|
|
35250
|
-
const
|
|
35196
|
+
const Wr = class Wr extends h$q {
|
|
35251
35197
|
constructor(W) {
|
|
35252
35198
|
super(), this.showActionMenu = !1, this.handleItemClick = () => {
|
|
35253
35199
|
this.showActionMenu = !0, this.requestUpdate();
|
|
@@ -35264,17 +35210,17 @@ const Jr = class Jr extends h$q {
|
|
|
35264
35210
|
return ke$1`${template$4(this)}`;
|
|
35265
35211
|
}
|
|
35266
35212
|
};
|
|
35267
|
-
|
|
35268
|
-
${r$I(styles$
|
|
35213
|
+
Wr.styles = i$A`
|
|
35214
|
+
${r$I(styles$4)}
|
|
35269
35215
|
`;
|
|
35270
|
-
let PrimariaNavTreeMenu =
|
|
35271
|
-
__decorateClass$
|
|
35216
|
+
let PrimariaNavTreeMenu = Wr;
|
|
35217
|
+
__decorateClass$5([
|
|
35272
35218
|
n$v({ type: Object })
|
|
35273
35219
|
], PrimariaNavTreeMenu.prototype, "config");
|
|
35274
|
-
__decorateClass$
|
|
35220
|
+
__decorateClass$5([
|
|
35275
35221
|
r$F()
|
|
35276
35222
|
], PrimariaNavTreeMenu.prototype, "primariaNavItemConfig");
|
|
35277
|
-
__decorateClass$
|
|
35223
|
+
__decorateClass$5([
|
|
35278
35224
|
r$F()
|
|
35279
35225
|
], PrimariaNavTreeMenu.prototype, "showActionMenu");
|
|
35280
35226
|
const registerUpperNavMenuViews = () => {
|
|
@@ -35381,7 +35327,7 @@ const registerUpperNavMenuViews = () => {
|
|
|
35381
35327
|
id: "results-reports",
|
|
35382
35328
|
factory: () => {
|
|
35383
35329
|
const X = new PrimariaNavTreeMenu({
|
|
35384
|
-
icon: "
|
|
35330
|
+
icon: "folder_shared",
|
|
35385
35331
|
label: "Documents",
|
|
35386
35332
|
actionMenuItems: [
|
|
35387
35333
|
{
|
|
@@ -35456,7 +35402,7 @@ const registerUpperNavMenuViews = () => {
|
|
|
35456
35402
|
id: "visits",
|
|
35457
35403
|
factory: () => {
|
|
35458
35404
|
const X = new PrimariaNavItem({
|
|
35459
|
-
icon: "
|
|
35405
|
+
icon: "event",
|
|
35460
35406
|
label: "Visites",
|
|
35461
35407
|
callbackFn: async () => {
|
|
35462
35408
|
navigateToEcapWithoutClosingWithCip("CONSULTA_VISITES");
|
|
@@ -35465,18 +35411,6 @@ const registerUpperNavMenuViews = () => {
|
|
|
35465
35411
|
return Promise.resolve(X);
|
|
35466
35412
|
},
|
|
35467
35413
|
sortHint: "001300"
|
|
35468
|
-
}), shellApi.regionManager.registerView(shellRegions.navigationMenu, {
|
|
35469
|
-
id: pocTestEventsId,
|
|
35470
|
-
factory: () => {
|
|
35471
|
-
const X = new PrimariaNavItem({
|
|
35472
|
-
icon: "bolt",
|
|
35473
|
-
label: "Prova Events ECAP",
|
|
35474
|
-
callbackFn: () => {
|
|
35475
|
-
shellApi.regionManager.activateMainView(pocTestEventsId);
|
|
35476
|
-
}
|
|
35477
|
-
});
|
|
35478
|
-
return Promise.resolve(X);
|
|
35479
|
-
}
|
|
35480
35414
|
}), shellApi.regionManager.registerView(shellRegions.navigationMenu, {
|
|
35481
35415
|
id: "it",
|
|
35482
35416
|
factory: () => {
|
|
@@ -35516,16 +35450,10 @@ const registerUpperNavMenuViews = () => {
|
|
|
35516
35450
|
}
|
|
35517
35451
|
});
|
|
35518
35452
|
}, registerMainViews = () => {
|
|
35519
|
-
|
|
35520
|
-
id: pocTestEventsId,
|
|
35521
|
-
factory: () => {
|
|
35522
|
-
const X = new PocEventsEcap();
|
|
35523
|
-
return Promise.resolve(X);
|
|
35524
|
-
}
|
|
35525
|
-
}), registerPDFVisorMainView();
|
|
35453
|
+
registerPDFVisorMainView();
|
|
35526
35454
|
}, useInternalViews = () => {
|
|
35527
35455
|
registerMainViews(), registerUpperNavMenuViews(), registerLowerNavMenuViews();
|
|
35528
|
-
}, styles$
|
|
35456
|
+
}, styles$3 = ":host{width:100%;height:100%;min-height:1px;display:flex}.container{width:100%;min-height:1px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#60a8f0}svg{width:45px;height:45px;fill:#d36262}h1{color:#fff}", template$3 = (X) => {
|
|
35529
35457
|
var W;
|
|
35530
35458
|
return ke$1`
|
|
35531
35459
|
<div class="container">
|
|
@@ -35534,21 +35462,21 @@ const registerUpperNavMenuViews = () => {
|
|
|
35534
35462
|
</div>
|
|
35535
35463
|
`;
|
|
35536
35464
|
};
|
|
35537
|
-
var __defProp$
|
|
35465
|
+
var __defProp$4 = Object.defineProperty, __decorateClass$4 = (X, W, J, te) => {
|
|
35538
35466
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
35539
35467
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
35540
|
-
return re && __defProp$
|
|
35468
|
+
return re && __defProp$4(W, J, re), re;
|
|
35541
35469
|
};
|
|
35542
|
-
const
|
|
35470
|
+
const Jr = class Jr extends h$q {
|
|
35543
35471
|
render() {
|
|
35544
35472
|
return ke$1`${template$3(this)}`;
|
|
35545
35473
|
}
|
|
35546
35474
|
};
|
|
35547
|
-
|
|
35548
|
-
${r$I(styles$
|
|
35475
|
+
Jr.styles = i$A`
|
|
35476
|
+
${r$I(styles$3)}
|
|
35549
35477
|
`;
|
|
35550
|
-
let PrimariaErrorView =
|
|
35551
|
-
__decorateClass$
|
|
35478
|
+
let PrimariaErrorView = Jr;
|
|
35479
|
+
__decorateClass$4([
|
|
35552
35480
|
n$v()
|
|
35553
35481
|
], PrimariaErrorView.prototype, "error");
|
|
35554
35482
|
const template$2 = (X) => ke$1`
|
|
@@ -35588,7 +35516,7 @@ class QuickActionsMenu extends h$q {
|
|
|
35588
35516
|
te && (te.style.overflow = "hidden");
|
|
35589
35517
|
}
|
|
35590
35518
|
}
|
|
35591
|
-
const styles$
|
|
35519
|
+
const styles$2 = ":host{z-index:101}.header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0 16px;height:60px;background-color:#fff;color:#000;z-index:1;box-shadow:#0000001f 4px -1px 3px,#0000003d 0 1px 2px}.header .header__left{display:flex;flex-direction:row;align-items:center;gap:24px}.header .header__left .header-logo{align-self:center}.header .header__left #header-region-container{display:flex;flex-direction:row;align-items:center}.header .header__right{display:flex;flex-direction:row;align-items:center;gap:24px}.header .header__right #header-actions-region-container{display:flex;flex-direction:row;align-items:center}", salutLogo = "data:image/svg+xml,%3csvg%20width='80'%20height='24'%20viewBox='0%200%2080%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.51539%2023.4832H0L8.22624%200.518679H10.7412L2.51539%2023.4832Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M20.1573%2024C17.1695%2024%2014.8372%2023.3218%2013.1604%2021.9659C11.4836%2020.6095%2010.633%2018.5906%2010.6094%2015.9092H13.4169C13.4812%2019.6737%2015.7275%2021.5563%2020.1573%2021.5563C22.0287%2021.5563%2023.4647%2021.1901%2024.4642%2020.4587C25.4641%2019.7269%2025.9643%2018.6581%2025.9643%2017.2522C26.0073%2016.2425%2025.5399%2015.2791%2024.7212%2014.6874C23.8941%2014.0743%2022.449%2013.5427%2020.3853%2013.091L18.3511%2012.6389C16.028%2012.0994%2014.2875%2011.3204%2013.128%2010.3019C11.969%209.28302%2011.393%207.84942%2011.4004%206.00159C11.35%204.28135%2012.1493%202.64663%2013.5381%201.63049C14.9439%200.544998%2016.844%200.00226593%2019.2383%200.00226593C20.6576%20-0.0236225%2022.0722%200.172396%2023.4314%200.582922C24.4817%200.885733%2025.4406%201.44557%2026.2209%202.21115C26.858%202.86207%2027.3573%203.63505%2027.6883%204.48384C28.0096%205.35251%2028.1797%206.26925%2028.1908%207.19525H25.4156C25.2875%205.55869%2024.7554%204.35948%2023.8197%203.59668C22.8835%202.83434%2021.3566%202.4534%2019.2383%202.4534C17.623%202.4534%2016.3808%202.76592%2015.5116%203.39049C14.6573%203.97947%2014.1645%204.96464%2014.2038%206.00159C14.1492%206.99831%2014.5612%207.96359%2015.3193%208.61313C16.0484%209.2377%2017.4732%209.78646%2019.5943%2010.2589L21.6289%2010.7115C24.1651%2011.2718%2025.9925%2012.0721%2027.1113%2013.1127C28.2301%2014.1529%2028.7881%2015.5352%2028.7858%2017.2596C28.7858%2019.3446%2028.0235%2020.9895%2026.4988%2022.1938C24.9736%2023.3976%2022.86%2024%2020.1573%2024Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M36.6945%2021.677C38.0098%2021.6978%2039.2894%2021.2521%2040.3074%2020.4195C41.3356%2019.6026%2041.8515%2018.4302%2041.8538%2016.9033V14.9366C41.1997%2015.3647%2040.4434%2015.6107%2039.6625%2015.6495L37.2437%2015.938C35.8434%2016.1123%2034.8495%2016.4331%2034.2582%2016.907C33.6558%2017.4039%2033.3262%2018.1579%2033.371%2018.9374C33.3313%2019.7025%2033.6401%2020.444%2034.212%2020.954C34.7783%2021.4348%2035.6261%2021.677%2036.6945%2021.677ZM45.2841%2021.3779H46.2175V23.4763C45.746%2023.5438%2045.2693%2023.5757%2044.7927%2023.5725C43.0498%2023.5725%2042.1146%2022.7768%2041.9893%2021.1856C40.8345%2022.9766%2039.0305%2023.8716%2036.5776%2023.8716C34.7464%2023.8716%2033.3142%2023.4444%2032.2703%2022.5965C31.2264%2021.7487%2030.7063%2020.5476%2030.7063%2019.0017C30.7063%2015.9879%2032.7594%2014.2668%2036.866%2013.8396L39.2529%2013.583C40.9935%2013.3884%2041.864%2012.6246%2041.864%2011.2923C41.864%2010.3658%2041.5792%209.69872%2041.0092%209.29005C40.4392%208.88368%2039.4771%208.67749%2038.1235%208.67749C36.6982%208.67749%2035.6298%208.91975%2035.0099%209.38991C34.3899%209.86007%2034.0159%2010.7292%2033.941%2011.9548H31.3512C31.5648%208.27807%2033.8213%206.43995%2038.1198%206.43995C42.2907%206.43995%2044.3762%208.05292%2044.3762%2011.278V20.58C44.3794%2021.1176%2044.6822%2021.3779%2045.2841%2021.3779Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M50.8951%2023.4832H48.3159V0.518679H50.8951V23.4832Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M65.7337%2016.2584V6.83891H68.3129V23.4832H65.8618V20.9896C64.5937%2022.9109%2062.8517%2023.8716%2060.6359%2023.8716C58.7876%2023.8716%2057.3471%2023.3658%2056.3143%2022.3543C55.281%2021.3423%2054.7642%2019.9175%2054.7642%2018.0789V6.83891H57.3581V17.8403C57.3581%2020.3127%2058.6262%2021.549%2061.1629%2021.549C62.3718%2021.5531%2063.5304%2021.0631%2064.3694%2020.1916C65.2788%2019.2915%2065.7337%2017.9804%2065.7337%2016.2584Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M79.4708%206.83878V9.09759H76.0544V19.903C76.0544%2020.8507%2076.6882%2021.3279%2077.9568%2021.3279H79.4708V23.4905C78.7584%2023.5548%2078.1459%2023.5867%2077.6323%2023.5867C74.8607%2023.5867%2073.4748%2022.436%2073.4748%2020.1346V9.09066H70.7314V6.83878H73.4748V2.13992H76.0544V6.83878H79.4708Z'%20fill='%236AAAE4'/%3e%3c/svg%3e", template$1 = (X) => {
|
|
35592
35520
|
var re, ne, oe;
|
|
35593
35521
|
const W = [{ label: (re = X.professional) == null ? void 0 : re.workCenter, value: "1" }], J = [{ label: (ne = X.professional) == null ? void 0 : ne.role, value: "1" }], te = [{ label: (oe = X.professional) == null ? void 0 : oe.speciality, value: "1" }];
|
|
35594
35522
|
return ke$1`
|
|
@@ -35626,12 +35554,12 @@ const styles$1 = ":host{z-index:101}.header{display:flex;flex-direction:row;alig
|
|
|
35626
35554
|
</div>
|
|
35627
35555
|
`;
|
|
35628
35556
|
};
|
|
35629
|
-
var __defProp$
|
|
35557
|
+
var __defProp$3 = Object.defineProperty, __decorateClass$3 = (X, W, J, te) => {
|
|
35630
35558
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
35631
35559
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
35632
|
-
return re && __defProp$
|
|
35560
|
+
return re && __defProp$3(W, J, re), re;
|
|
35633
35561
|
};
|
|
35634
|
-
const
|
|
35562
|
+
const Gr = class Gr extends PrimariaRegionHost(h$q) {
|
|
35635
35563
|
constructor() {
|
|
35636
35564
|
super(...arguments), this.menuOpened = !1;
|
|
35637
35565
|
}
|
|
@@ -35650,29 +35578,83 @@ const Yr = class Yr extends PrimariaRegionHost(h$q) {
|
|
|
35650
35578
|
});
|
|
35651
35579
|
}
|
|
35652
35580
|
};
|
|
35653
|
-
|
|
35654
|
-
${r$I(styles$
|
|
35581
|
+
Gr.styles = i$A`
|
|
35582
|
+
${r$I(styles$2)}
|
|
35655
35583
|
`;
|
|
35656
|
-
let PrimariaShellHeader =
|
|
35657
|
-
__decorateClass$
|
|
35584
|
+
let PrimariaShellHeader = Gr;
|
|
35585
|
+
__decorateClass$3([
|
|
35658
35586
|
s$x({ targetId: "header-region-container", name: shellRegions.header })
|
|
35659
35587
|
], PrimariaShellHeader.prototype, "headerRegion");
|
|
35660
|
-
__decorateClass$
|
|
35588
|
+
__decorateClass$3([
|
|
35661
35589
|
s$x({ targetId: "header-actions-region-container", name: shellRegions.headerRightActions })
|
|
35662
35590
|
], PrimariaShellHeader.prototype, "headerRightActionsRegion");
|
|
35663
|
-
__decorateClass$
|
|
35591
|
+
__decorateClass$3([
|
|
35664
35592
|
n$v({ type: Object })
|
|
35665
35593
|
], PrimariaShellHeader.prototype, "professional");
|
|
35666
|
-
__decorateClass$
|
|
35594
|
+
__decorateClass$3([
|
|
35667
35595
|
r$F()
|
|
35668
35596
|
], PrimariaShellHeader.prototype, "menuOpened");
|
|
35597
|
+
const Yr = class Yr extends h$q {
|
|
35598
|
+
render() {
|
|
35599
|
+
return ke$1`<div>
|
|
35600
|
+
<h1>POC ECAP Test </h1>
|
|
35601
|
+
<hr>
|
|
35602
|
+
<p>Emplenar valors de url i accio per navegar a ECAP</p>
|
|
35603
|
+
<form>
|
|
35604
|
+
<label for="eventType">Tipus d'event (TipusEvent)</label>
|
|
35605
|
+
<input type="text" id="eventType" name="eventType" placeholder="IA_DEV">
|
|
35606
|
+
<label for="Accio">Acció a executar (Accio)</label>
|
|
35607
|
+
<input type="text" id="accio" name="accio" placeholder="NO_TANCAR">
|
|
35608
|
+
<label for="parameterName">Nom del parametre</label>
|
|
35609
|
+
<input type="text" id="parameterName" name="parameterName" placeholder="CIP">
|
|
35610
|
+
<label for="parameterValue">Valor del parametre</label>
|
|
35611
|
+
<input type="text" id="parameterValue" name="parameterValue" placeholder="12345678">
|
|
35612
|
+
|
|
35613
|
+
</form>
|
|
35614
|
+
<button @click=${(W) => this.goToLinkOnEcap()}>LLennçar event ecap</button>
|
|
35615
|
+
</div>
|
|
35616
|
+
|
|
35617
|
+
<form>
|
|
35618
|
+
<label for="pdfName">PDF Name</label>
|
|
35619
|
+
<input type="text" id="pdfName" name="pdfName" placeholder="pdfName">
|
|
35620
|
+
<label for="url">URL</label>
|
|
35621
|
+
<input type="text" id="url" name="url" placeholder="url">
|
|
35622
|
+
|
|
35623
|
+
|
|
35624
|
+
</form>
|
|
35625
|
+
<button @click=${(W) => this.sendPdfToViewer()}>Add PDF</button>
|
|
35626
|
+
|
|
35627
|
+
|
|
35628
|
+
<button @click=${(W) => this.getPDFS()}>GET PDFs</button>
|
|
35629
|
+
`;
|
|
35630
|
+
}
|
|
35631
|
+
sendPdfToViewer() {
|
|
35632
|
+
var re, ne, oe, de;
|
|
35633
|
+
const W = (ne = (re = this.shadowRoot) == null ? void 0 : re.getElementById("pdfName")) == null ? void 0 : ne.value, te = { url: (de = (oe = this.shadowRoot) == null ? void 0 : oe.getElementById("url")) == null ? void 0 : de.value };
|
|
35634
|
+
console.log("Añadiendo PDF:", W), shellApi.pdfViewerManager.add(W, te);
|
|
35635
|
+
}
|
|
35636
|
+
getPDFS() {
|
|
35637
|
+
const W = shellApi.pdfViewerManager.getPdfs();
|
|
35638
|
+
console.log(W);
|
|
35639
|
+
}
|
|
35640
|
+
goToLinkOnEcap() {
|
|
35641
|
+
var ne, oe, de, he, ue, ce, pe, fe;
|
|
35642
|
+
const W = (oe = (ne = this.shadowRoot) == null ? void 0 : ne.getElementById("eventType")) == null ? void 0 : oe.value, J = (he = (de = this.shadowRoot) == null ? void 0 : de.getElementById("accio")) == null ? void 0 : he.value, te = (ce = (ue = this.shadowRoot) == null ? void 0 : ue.getElementById("parameterName")) == null ? void 0 : ce.value, re = (fe = (pe = this.shadowRoot) == null ? void 0 : pe.getElementById("parameterValue")) == null ? void 0 : fe.value;
|
|
35643
|
+
shellApi.ecapEventManager.publish(W, J, {
|
|
35644
|
+
[te]: re
|
|
35645
|
+
});
|
|
35646
|
+
}
|
|
35647
|
+
};
|
|
35648
|
+
Yr.styles = i$A`
|
|
35649
|
+
`;
|
|
35650
|
+
let PocEventsEcap = Yr;
|
|
35669
35651
|
const useComponents = () => {
|
|
35670
35652
|
t$j("primaria-shell")(PrimariaShell), t$j("primaria-shell-header")(PrimariaShellHeader), t$j("primaria-error-view")(PrimariaErrorView), t$j("quick-actions-menu")(QuickActionsMenu), t$j("poc-events-ecap")(PocEventsEcap);
|
|
35671
35653
|
};
|
|
35672
|
-
var __defProp$
|
|
35654
|
+
var __defProp$2 = Object.defineProperty, __decorateClass$2 = (X, W, J, te) => {
|
|
35673
35655
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
35674
35656
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
35675
|
-
return re && __defProp$
|
|
35657
|
+
return re && __defProp$2(W, J, re), re;
|
|
35676
35658
|
};
|
|
35677
35659
|
const isSelected = (X, W, J) => X[W] === J || Array.from(X.attributes).some(
|
|
35678
35660
|
(te) => te.name === W && te.value === J
|
|
@@ -35731,13 +35713,13 @@ Zr.styles = i$A`
|
|
|
35731
35713
|
}
|
|
35732
35714
|
`;
|
|
35733
35715
|
let PrimariaContentSwitcher = Zr;
|
|
35734
|
-
__decorateClass$
|
|
35716
|
+
__decorateClass$2([
|
|
35735
35717
|
n$v()
|
|
35736
35718
|
], PrimariaContentSwitcher.prototype, "selected");
|
|
35737
|
-
__decorateClass$
|
|
35719
|
+
__decorateClass$2([
|
|
35738
35720
|
n$v()
|
|
35739
35721
|
], PrimariaContentSwitcher.prototype, "attrForSelected");
|
|
35740
|
-
__decorateClass$
|
|
35722
|
+
__decorateClass$2([
|
|
35741
35723
|
n$v()
|
|
35742
35724
|
], PrimariaContentSwitcher.prototype, "animation");
|
|
35743
35725
|
var quill = { exports: {} };
|
|
@@ -43204,7 +43186,7 @@ var quill = { exports: {} };
|
|
|
43204
43186
|
});
|
|
43205
43187
|
})(quill);
|
|
43206
43188
|
var quillExports = quill.exports;
|
|
43207
|
-
const Quill = /* @__PURE__ */ getDefaultExportFromCjs(quillExports), styles = ':host{height:100%}.container{width:100%;height:100%;display:flex;flex-direction:column;flex:1}.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative;color:#000;overflow-y:auto}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word;font-size:1rem}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li{list-style-type:none}.ql-editor ul>li{list-style-type:disc}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1;counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-2{counter-increment:list-2;counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-3{counter-increment:list-3;counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-4{counter-increment:list-4;counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-5{counter-increment:list-5;counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-6{counter-increment:list-6;counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-7{counter-increment:list-7;counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-8{counter-increment:list-8;counter-reset:list-9}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px);background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none;line-height:26px}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Petita"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Gran"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Enorme"}button.ql-indent{display:none!important}.ql-undo{font-size:14pt;font-weight:900;display:flex!important;align-items:center}.ql-undo:after{content:"↺";transform:rotate(-135deg)}.ql-redo{font-size:14pt;font-weight:900;display:flex!important;align-items:center}.ql-redo:after{content:"↻";transform:rotate(135deg)}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border-bottom:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}', template = (X) => ke$1`
|
|
43189
|
+
const Quill = /* @__PURE__ */ getDefaultExportFromCjs(quillExports), styles$1 = ':host{height:100%}.container{width:100%;height:100%;display:flex;flex-direction:column;flex:1}.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative;color:#000;overflow-y:auto}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word;font-size:1rem}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li{list-style-type:none}.ql-editor ul>li{list-style-type:disc}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1;counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-2{counter-increment:list-2;counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-3{counter-increment:list-3;counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-4{counter-increment:list-4;counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-5{counter-increment:list-5;counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-6{counter-increment:list-6;counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-7{counter-increment:list-7;counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-8{counter-increment:list-8;counter-reset:list-9}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px);background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none;line-height:26px}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Petita"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Gran"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Enorme"}button.ql-indent{display:none!important}.ql-undo{font-size:14pt;font-weight:900;display:flex!important;align-items:center}.ql-undo:after{content:"↺";transform:rotate(-135deg)}.ql-redo{font-size:14pt;font-weight:900;display:flex!important;align-items:center}.ql-redo:after{content:"↻";transform:rotate(135deg)}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border-bottom:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}', template = (X) => ke$1`
|
|
43208
43190
|
<div class="container">
|
|
43209
43191
|
<div id="rte">
|
|
43210
43192
|
</div>
|
|
@@ -43228,10 +43210,10 @@ const Quill = /* @__PURE__ */ getDefaultExportFromCjs(quillExports), styles = ':
|
|
|
43228
43210
|
}
|
|
43229
43211
|
J.blotName = "customAttributes", J.tagName = "FONT", X.register(J, !0);
|
|
43230
43212
|
};
|
|
43231
|
-
var __defProp = Object.defineProperty, __decorateClass = (X, W, J, te) => {
|
|
43213
|
+
var __defProp$1 = Object.defineProperty, __decorateClass$1 = (X, W, J, te) => {
|
|
43232
43214
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
43233
43215
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
43234
|
-
return re && __defProp(W, J, re), re;
|
|
43216
|
+
return re && __defProp$1(W, J, re), re;
|
|
43235
43217
|
};
|
|
43236
43218
|
fixSpellCheckerIssue(Quill);
|
|
43237
43219
|
const Kr = class Kr extends h$q {
|
|
@@ -43398,29 +43380,65 @@ const Kr = class Kr extends h$q {
|
|
|
43398
43380
|
}
|
|
43399
43381
|
};
|
|
43400
43382
|
Kr.styles = i$A`
|
|
43401
|
-
${r$I(styles)}
|
|
43383
|
+
${r$I(styles$1)}
|
|
43402
43384
|
`;
|
|
43403
43385
|
let PrimariaRichTextEditor = Kr;
|
|
43404
|
-
__decorateClass([
|
|
43386
|
+
__decorateClass$1([
|
|
43405
43387
|
n$v()
|
|
43406
43388
|
], PrimariaRichTextEditor.prototype, "quill");
|
|
43407
|
-
__decorateClass([
|
|
43389
|
+
__decorateClass$1([
|
|
43408
43390
|
n$v()
|
|
43409
43391
|
], PrimariaRichTextEditor.prototype, "options");
|
|
43410
|
-
__decorateClass([
|
|
43392
|
+
__decorateClass$1([
|
|
43411
43393
|
n$v({ type: Object })
|
|
43412
43394
|
], PrimariaRichTextEditor.prototype, "range");
|
|
43413
|
-
__decorateClass([
|
|
43395
|
+
__decorateClass$1([
|
|
43414
43396
|
n$v({ type: Array })
|
|
43415
43397
|
], PrimariaRichTextEditor.prototype, "availableOptions");
|
|
43416
|
-
__decorateClass([
|
|
43398
|
+
__decorateClass$1([
|
|
43417
43399
|
n$v({ type: Array })
|
|
43418
43400
|
], PrimariaRichTextEditor.prototype, "availableFormats");
|
|
43419
|
-
__decorateClass([
|
|
43401
|
+
__decorateClass$1([
|
|
43420
43402
|
n$v()
|
|
43421
43403
|
], PrimariaRichTextEditor.prototype, "formats");
|
|
43404
|
+
const styles = ":host{margin:0 auto}.limit-badge{padding-top:8px;padding-bottom:8px}";
|
|
43405
|
+
var __defProp = Object.defineProperty, __decorateClass = (X, W, J, te) => {
|
|
43406
|
+
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
43407
|
+
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
43408
|
+
return re && __defProp(W, J, re), re;
|
|
43409
|
+
};
|
|
43410
|
+
const Qr = class Qr extends h$q {
|
|
43411
|
+
constructor() {
|
|
43412
|
+
super(...arguments), this.characterCount = 0, this.characterLimit = 0, this.label = "";
|
|
43413
|
+
}
|
|
43414
|
+
render() {
|
|
43415
|
+
return this.characterCount > this.characterLimit ? ke$1`
|
|
43416
|
+
<dss-badge
|
|
43417
|
+
class="limit-badge"
|
|
43418
|
+
icon="report"
|
|
43419
|
+
size="md"
|
|
43420
|
+
state="alert"
|
|
43421
|
+
text="${this.label} ${this.characterCount}/${this.characterLimit}"
|
|
43422
|
+
outlined
|
|
43423
|
+
></dss-badge>
|
|
43424
|
+
` : D$1;
|
|
43425
|
+
}
|
|
43426
|
+
};
|
|
43427
|
+
Qr.styles = i$A`
|
|
43428
|
+
${r$I(styles)}
|
|
43429
|
+
`;
|
|
43430
|
+
let PrimariaCharacterLimitBadge = Qr;
|
|
43431
|
+
__decorateClass([
|
|
43432
|
+
n$v({ type: Number })
|
|
43433
|
+
], PrimariaCharacterLimitBadge.prototype, "characterCount");
|
|
43434
|
+
__decorateClass([
|
|
43435
|
+
n$v({ type: Number })
|
|
43436
|
+
], PrimariaCharacterLimitBadge.prototype, "characterLimit");
|
|
43437
|
+
__decorateClass([
|
|
43438
|
+
n$v({ type: String })
|
|
43439
|
+
], PrimariaCharacterLimitBadge.prototype, "label");
|
|
43422
43440
|
const useSharedUI = () => {
|
|
43423
|
-
t$j("primaria-content-switcher")(PrimariaContentSwitcher), t$j("primaria-nav-item")(PrimariaNavItem), t$j("primaria-rich-text-editor")(PrimariaRichTextEditor), t$j("primaria-nav-tree-menu")(PrimariaNavTreeMenu);
|
|
43441
|
+
t$j("primaria-content-switcher")(PrimariaContentSwitcher), t$j("primaria-nav-item")(PrimariaNavItem), t$j("primaria-rich-text-editor")(PrimariaRichTextEditor), t$j("primaria-nav-tree-menu")(PrimariaNavTreeMenu), t$j("primaria-character-limit-badge")(PrimariaCharacterLimitBadge);
|
|
43424
43442
|
}, useUI = () => {
|
|
43425
43443
|
p$h.registerAdapterFactory(
|
|
43426
43444
|
"primaria-content-switcher",
|
|
@@ -43436,7 +43454,9 @@ class n extends HTMLElement {
|
|
|
43436
43454
|
super(), this.jsx = W, this.styles = J, this.root = this.attachShadow({ mode: "open" }), this.reactRoot = null, te && (this.props = te);
|
|
43437
43455
|
}
|
|
43438
43456
|
connectedCallback() {
|
|
43439
|
-
const W = document.createElement("div")
|
|
43457
|
+
const W = document.createElement("div");
|
|
43458
|
+
W.style.minHeight = "100%", W.style.width = "100%";
|
|
43459
|
+
const J = document.createElement("style");
|
|
43440
43460
|
J.innerText = this.styles, this.root.appendChild(W), this.root.appendChild(J), this.reactRoot = r$O.createRoot(W), this.renderReact();
|
|
43441
43461
|
}
|
|
43442
43462
|
disconnectedCallback() {
|