@cling-se/widget 0.3.1 → 0.3.2
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/{DocFormSend.4167e485.js → DocFormSend.58fbdade.js} +2 -2
- package/dist/{DocSendReminder.ea59eb89.js → DocSendReminder.610e6f1b.js} +2 -2
- package/dist/{index.4b5231be.js → index.021aea9f.js} +1 -1
- package/dist/{index.c0ecaaa7.js → index.0372fc9a.js} +1 -1
- package/dist/{index.95a392ee.js → index.05656554.js} +2 -2
- package/dist/{index.daeef8fa.js → index.08d12aab.js} +1 -1
- package/dist/{index.69bbb9b5.js → index.0c6034f0.js} +1 -1
- package/dist/{index.e7c54cc7.js → index.0df3b27e.js} +1 -1
- package/dist/{index.efe268c2.js → index.0e4c0d69.js} +1 -1
- package/dist/{index.7bdb91f0.js → index.135b006c.js} +1 -1
- package/dist/{index.c076812f.js → index.1595ef27.js} +1 -1
- package/dist/{index.842cdca5.js → index.1936f911.js} +1 -1
- package/dist/{index.f8df4dfb.js → index.1c5c3e44.js} +1 -1
- package/dist/{index.5da9fafd.js → index.1c92d26c.js} +1 -1
- package/dist/{index.756eb2f9.js → index.1d4d1b78.js} +1 -1
- package/dist/{index.2484f858.js → index.1e40747d.js} +1 -1
- package/dist/{index.42f72a0a.js → index.1f0b252d.js} +1 -1
- package/dist/{index.2be363fd.js → index.218b46ae.js} +1 -1
- package/dist/{index.e4afc779.js → index.22b2af79.js} +1 -1
- package/dist/{index.7f5b95a1.js → index.25db5309.js} +1 -1
- package/dist/{index.23ef6d49.js → index.266a6ace.js} +1 -1
- package/dist/{index.a24c27e0.js → index.272e7245.js} +1 -1
- package/dist/{index.129d08c4.js → index.27304047.js} +1 -1
- package/dist/{index.0e7c6d61.js → index.291b2b54.js} +1 -1
- package/dist/{index.b971ee0c.js → index.31d7f14e.js} +1 -1
- package/dist/{index.af77bced.js → index.37c3cfdc.js} +1 -1
- package/dist/{index.06409a2f.js → index.39e24331.js} +1 -1
- package/dist/{index.91061a60.js → index.3ae42b88.js} +1 -1
- package/dist/{index.08111bb7.js → index.3ede3ed9.js} +1 -1
- package/dist/{index.3d942988.js → index.48e6f73c.js} +1 -1
- package/dist/{index.784a699d.js → index.4ac3b55d.js} +1 -1
- package/dist/{index.fc2cb4eb.js → index.4dbcd770.js} +1 -1
- package/dist/{index.4c7f301f.js → index.4eb9c363.js} +2 -2
- package/dist/{index.517a6724.js → index.4eba4a7d.js} +1 -1
- package/dist/{index.56714d78.js → index.4f04d830.js} +1 -1
- package/dist/{index.256635f9.js → index.4ff3dace.js} +1 -1
- package/dist/{index.1139f21e.js → index.510b34a1.js} +1 -1
- package/dist/{index.1d1a95d4.js → index.54aa5bdb.js} +1 -1
- package/dist/{index.155e790a.js → index.571dd412.js} +1 -1
- package/dist/{index.85759566.js → index.57976804.js} +1 -1
- package/dist/{index.3f213bda.js → index.59de1b2c.js} +1 -1
- package/dist/{index.faa46a40.js → index.5b3f29b6.js} +1 -1
- package/dist/{index.569dd909.js → index.5e93a4a4.js} +1 -1
- package/dist/{index.5282ac36.js → index.604f9a4f.js} +1 -1
- package/dist/{index.d7c13f64.js → index.63b5f71b.js} +1 -1
- package/dist/{index.30113922.js → index.64fdd79b.js} +1 -1
- package/dist/{index.0ed558c6.js → index.66e76ef5.js} +1 -1
- package/dist/{index.55c534ff.js → index.6d854739.js} +1 -1
- package/dist/{index.6c00772b.js → index.7062d55c.js} +1 -1
- package/dist/{index.cf4ccd13.js → index.7081acc5.js} +1 -1
- package/dist/{index.982477cd.js → index.7619605a.js} +1 -1
- package/dist/{index.6aebf764.js → index.764b658e.js} +1 -1
- package/dist/{index.628e9d30.js → index.7b93c6da.js} +1 -1
- package/dist/{index.3a576af9.js → index.7c5aed5b.js} +1 -1
- package/dist/{index.c6979fb6.js → index.83910d3f.js} +1 -1
- package/dist/{index.2797c7a7.js → index.8bd24899.js} +1 -1
- package/dist/{index.3342df5b.js → index.90a87d9e.js} +1 -1
- package/dist/{index.0b1b812f.js → index.95cbc7d1.js} +1 -1
- package/dist/{index.724d1312.js → index.98af6e12.js} +1 -1
- package/dist/{index.01c25e08.js → index.9d868f2c.js} +1 -1
- package/dist/{index.c1b1459e.js → index.a0f17a47.js} +1 -1
- package/dist/{index.d9d9cbb9.js → index.a3b03275.js} +1 -1
- package/dist/{index.2003fa47.js → index.a4cc2ffa.js} +1 -1
- package/dist/{index.efffdb7d.js → index.a9441e00.js} +1 -1
- package/dist/{index.4efc8cb4.js → index.a9a2afee.js} +1 -1
- package/dist/{index.a3eece60.js → index.b4904461.js} +1 -1
- package/dist/{index.647dbf81.js → index.b51268b0.js} +1 -1
- package/dist/{index.30a4c616.js → index.b6512901.js} +1 -1
- package/dist/{index.41fda479.js → index.b724afce.js} +1 -1
- package/dist/{index.0d00d7bd.js → index.ba3dcf3b.js} +1 -1
- package/dist/{index.35bb18c6.js → index.be109e22.js} +1 -1
- package/dist/{index.f3e48619.js → index.bf3d1093.js} +1 -1
- package/dist/{index.3b743171.js → index.c2181b71.js} +1 -1
- package/dist/{index.e779dc87.js → index.c498538e.js} +1 -1
- package/dist/{index.7547246a.js → index.c627b669.js} +1 -1
- package/dist/{index.4dffcb9c.js → index.c934c6af.js} +1 -1
- package/dist/{index.4dfa2b20.js → index.ce8801e2.js} +1 -1
- package/dist/{index.25b970da.js → index.d320459d.js} +1 -1
- package/dist/{index.cb95bd5c.js → index.d380d13d.js} +1 -1
- package/dist/{index.f37e9e48.js → index.d5ad6009.js} +1 -1
- package/dist/{index.cc8daeed.js → index.d6b1b629.js} +1 -1
- package/dist/{index.6dcf7370.js → index.dc39016c.js} +1 -1
- package/dist/{index.c42286ec.js → index.dd9fd6fa.js} +1 -1
- package/dist/{index.3d004e78.js → index.df9d0f0b.js} +1 -1
- package/dist/{index.e1be038b.js → index.dfe76608.js} +1 -1
- package/dist/{index.ea23c736.js → index.e19eaf33.js} +1 -1
- package/dist/{index.1dabfb0c.js → index.e3826d57.js} +1 -1
- package/dist/{index.a9d3e8ad.js → index.e70d1ec3.js} +1 -1
- package/dist/{index.7e878114.js → index.ea966a9a.js} +1 -1
- package/dist/{index.c36dad5b.js → index.ed2c5306.js} +1 -1
- package/dist/{index.96120e6d.js → index.ed474d79.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{index.e51d0dfe.js → index.f0d4aeb1.js} +1 -1
- package/dist/{index.809771d5.js → index.f678de56.js} +2 -2
- package/dist/{index.3a4adc1e.js → index.fae17bfe.js} +1 -1
- package/dist/{index.5169ae52.js → index.faf3d6eb.js} +1 -1
- package/dist/{index.e888c32b.js → index.fbc2bf20.js} +1 -1
- package/dist/index.umd.js +10 -10
- package/dist/{init.018b2925.js → init.b422c2c8.js} +1 -1
- package/dist/{main.c0ec9a75.js → main.65f1b3e9.js} +71 -73
- package/package.json +1 -1
- package/stats.html +1 -1
|
@@ -551,7 +551,7 @@ const S = "Cling", ja = {
|
|
|
551
551
|
typeof e[a] < "u" && Wa(g, a, e[a]);
|
|
552
552
|
});
|
|
553
553
|
}
|
|
554
|
-
return import("./main.
|
|
554
|
+
return import("./main.65f1b3e9.js").then((e) => e.H).then((e) => {
|
|
555
555
|
const a = e.default;
|
|
556
556
|
return window[S] = a, Object.assign(this, a), a.init({ ..._, LIB_NAME: S });
|
|
557
557
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var QS = Object.defineProperty;
|
|
2
2
|
var eO = (e, t, n) => t in e ? QS(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Fe = (e, t, n) => (eO(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import { g as Xi, c as Pr, a as ee, b as tO, _ as nO, d as rO, s as iO } from "./init.
|
|
4
|
+
import { g as Xi, c as Pr, a as ee, b as tO, _ as nO, d as rO, s as iO } from "./init.b422c2c8.js";
|
|
5
5
|
const aO = () => {
|
|
6
6
|
try {
|
|
7
7
|
const e = window.localStorage;
|
|
@@ -36,13 +36,13 @@ class oO {
|
|
|
36
36
|
this._isLocalStorageSupport ? localStorage.clear() : this._memory = {};
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
const
|
|
39
|
+
const fe = new oO();
|
|
40
40
|
/*!
|
|
41
41
|
* Vue.js v2.7.13
|
|
42
42
|
* (c) 2014-2022 Evan You
|
|
43
43
|
* Released under the MIT License.
|
|
44
44
|
*/
|
|
45
|
-
var St = Object.freeze({}),
|
|
45
|
+
var St = Object.freeze({}), pe = Array.isArray;
|
|
46
46
|
function ie(e) {
|
|
47
47
|
return e == null;
|
|
48
48
|
}
|
|
@@ -417,7 +417,7 @@ var AO = {
|
|
|
417
417
|
removeSub: Je
|
|
418
418
|
}, Um = function() {
|
|
419
419
|
function e(t, n, r) {
|
|
420
|
-
if (n === void 0 && (n = !1), r === void 0 && (r = !1), this.value = t, this.shallow = n, this.mock = r, this.dep = r ? AO : new or(), this.vmCount = 0, rr(t, "__ob__", this),
|
|
420
|
+
if (n === void 0 && (n = !1), r === void 0 && (r = !1), this.value = t, this.shallow = n, this.mock = r, this.dep = r ? AO : new or(), this.vmCount = 0, rr(t, "__ob__", this), pe(t)) {
|
|
421
421
|
if (!r)
|
|
422
422
|
if (TO)
|
|
423
423
|
t.__proto__ = pl;
|
|
@@ -441,7 +441,7 @@ var AO = {
|
|
|
441
441
|
function xn(e, t, n) {
|
|
442
442
|
if (e && dt(e, "__ob__") && e.__ob__ instanceof Um)
|
|
443
443
|
return e.__ob__;
|
|
444
|
-
if (nf && (n || !Fo()) && (
|
|
444
|
+
if (nf && (n || !Fo()) && (pe(e) || Ot(e)) && Object.isExtensible(e) && !e.__v_skip && !OO.has(e) && !un(e) && !(e instanceof Ct))
|
|
445
445
|
return new Um(e, t, n);
|
|
446
446
|
}
|
|
447
447
|
function zr(e, t, n, r, i, a) {
|
|
@@ -455,7 +455,7 @@ function zr(e, t, n, r, i, a) {
|
|
|
455
455
|
configurable: !0,
|
|
456
456
|
get: function() {
|
|
457
457
|
var p = l ? l.call(e) : n;
|
|
458
|
-
return or.target && (o.depend(), u && (u.dep.depend(),
|
|
458
|
+
return or.target && (o.depend(), u && (u.dep.depend(), pe(p) && sE(p))), un(p) && !i ? p.value : p;
|
|
459
459
|
},
|
|
460
460
|
set: function(p) {
|
|
461
461
|
var d = l ? l.call(e) : n;
|
|
@@ -480,11 +480,11 @@ function zr(e, t, n, r, i, a) {
|
|
|
480
480
|
function rf(e, t, n) {
|
|
481
481
|
if (!tf(e)) {
|
|
482
482
|
var r = e.__ob__;
|
|
483
|
-
return
|
|
483
|
+
return pe(e) && YT(t) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), r && !r.shallow && r.mock && xn(n, !1, !0), n) : t in e && !(t in Object.prototype) ? (e[t] = n, n) : e._isVue || r && r.vmCount ? n : r ? (zr(r.value, t, n, void 0, r.shallow, r.mock), r.dep.notify(), n) : (e[t] = n, n);
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
486
|
function oE(e, t) {
|
|
487
|
-
if (
|
|
487
|
+
if (pe(e) && YT(t)) {
|
|
488
488
|
e.splice(t, 1);
|
|
489
489
|
return;
|
|
490
490
|
}
|
|
@@ -493,7 +493,7 @@ function oE(e, t) {
|
|
|
493
493
|
}
|
|
494
494
|
function sE(e) {
|
|
495
495
|
for (var t = void 0, n = 0, r = e.length; n < r; n++)
|
|
496
|
-
t = e[n], t && t.__ob__ && t.__ob__.dep.depend(),
|
|
496
|
+
t = e[n], t && t.__ob__ && t.__ob__.dep.depend(), pe(t) && sE(t);
|
|
497
497
|
}
|
|
498
498
|
function un(e) {
|
|
499
499
|
return !!(e && e.__v_isRef === !0);
|
|
@@ -573,7 +573,7 @@ var Vm = ei(function(e) {
|
|
|
573
573
|
function xd(e, t) {
|
|
574
574
|
function n() {
|
|
575
575
|
var r = n.fns;
|
|
576
|
-
if (
|
|
576
|
+
if (pe(r))
|
|
577
577
|
for (var i = r.slice(), a = 0; a < i.length; a++)
|
|
578
578
|
lr(i[a], null, arguments, t, "v-on handler");
|
|
579
579
|
else
|
|
@@ -619,12 +619,12 @@ function Bm(e, t, n, r, i) {
|
|
|
619
619
|
}
|
|
620
620
|
function PO(e) {
|
|
621
621
|
for (var t = 0; t < e.length; t++)
|
|
622
|
-
if (
|
|
622
|
+
if (pe(e[t]))
|
|
623
623
|
return Array.prototype.concat.apply([], e);
|
|
624
624
|
return e;
|
|
625
625
|
}
|
|
626
626
|
function af(e) {
|
|
627
|
-
return Lo(e) ? [$i(e)] :
|
|
627
|
+
return Lo(e) ? [$i(e)] : pe(e) ? cE(e) : void 0;
|
|
628
628
|
}
|
|
629
629
|
function Ia(e) {
|
|
630
630
|
return U(e) && U(e.text) && sO(e.isComment);
|
|
@@ -632,12 +632,12 @@ function Ia(e) {
|
|
|
632
632
|
function cE(e, t) {
|
|
633
633
|
var n = [], r, i, a, o;
|
|
634
634
|
for (r = 0; r < e.length; r++)
|
|
635
|
-
i = e[r], !(ie(i) || typeof i == "boolean") && (a = n.length - 1, o = n[a],
|
|
635
|
+
i = e[r], !(ie(i) || typeof i == "boolean") && (a = n.length - 1, o = n[a], pe(i) ? i.length > 0 && (i = cE(i, "".concat(t || "", "_").concat(r)), Ia(i[0]) && Ia(o) && (n[a] = $i(o.text + i[0].text), i.shift()), n.push.apply(n, i)) : Lo(i) ? Ia(o) ? n[a] = $i(o.text + i) : i !== "" && n.push($i(i)) : Ia(i) && Ia(o) ? n[a] = $i(o.text + i.text) : (Le(e._isVList) && U(i.tag) && ie(i.key) && U(t) && (i.key = "__vlist".concat(t, "_").concat(r, "__")), n.push(i)));
|
|
636
636
|
return n;
|
|
637
637
|
}
|
|
638
638
|
function DO(e, t) {
|
|
639
639
|
var n = null, r, i, a, o;
|
|
640
|
-
if (
|
|
640
|
+
if (pe(e) || typeof e == "string")
|
|
641
641
|
for (n = new Array(e.length), r = 0, i = e.length; r < i; r++)
|
|
642
642
|
n[r] = t(e[r], r);
|
|
643
643
|
else if (typeof e == "number")
|
|
@@ -663,7 +663,7 @@ function NO(e) {
|
|
|
663
663
|
return yl(this.$options, "filters", e) || XT;
|
|
664
664
|
}
|
|
665
665
|
function Hm(e, t) {
|
|
666
|
-
return
|
|
666
|
+
return pe(e) ? e.indexOf(t) === -1 : e !== t;
|
|
667
667
|
}
|
|
668
668
|
function LO(e, t, n, r, i) {
|
|
669
669
|
var a = Lt.keyCodes[t] || n;
|
|
@@ -671,7 +671,7 @@ function LO(e, t, n, r, i) {
|
|
|
671
671
|
}
|
|
672
672
|
function jO(e, t, n, r, i) {
|
|
673
673
|
if (n && ot(n)) {
|
|
674
|
-
|
|
674
|
+
pe(n) && (n = ZT(n));
|
|
675
675
|
var a = void 0, o = function(l) {
|
|
676
676
|
if (l === "class" || l === "style" || uO(l))
|
|
677
677
|
a = e;
|
|
@@ -704,7 +704,7 @@ function UO(e, t, n) {
|
|
|
704
704
|
return uE(e, "__once__".concat(t).concat(n ? "_".concat(n) : ""), !0), e;
|
|
705
705
|
}
|
|
706
706
|
function uE(e, t, n) {
|
|
707
|
-
if (
|
|
707
|
+
if (pe(e))
|
|
708
708
|
for (var r = 0; r < e.length; r++)
|
|
709
709
|
e[r] && typeof e[r] != "string" && qm(e[r], "".concat(t, "_").concat(r), n);
|
|
710
710
|
else
|
|
@@ -727,7 +727,7 @@ function dE(e, t, n, r) {
|
|
|
727
727
|
t = t || { $stable: !n };
|
|
728
728
|
for (var i = 0; i < e.length; i++) {
|
|
729
729
|
var a = e[i];
|
|
730
|
-
|
|
730
|
+
pe(a) ? dE(a, t, n) : a && (a.proxy && (a.fn.proxy = !0), t[a.key] = a.fn);
|
|
731
731
|
}
|
|
732
732
|
return r && (t.$key = r), t;
|
|
733
733
|
}
|
|
@@ -787,7 +787,7 @@ function WO(e, t, n, r) {
|
|
|
787
787
|
var a = io;
|
|
788
788
|
ar(e);
|
|
789
789
|
var o = arguments.length ? r.apply(null, arguments) : r({});
|
|
790
|
-
o = o && typeof o == "object" && !
|
|
790
|
+
o = o && typeof o == "object" && !pe(o) ? [o] : af(o);
|
|
791
791
|
var s = o && o[0];
|
|
792
792
|
return ar(a), o && (!s || o.length === 1 && s.isComment && !vo(s)) ? void 0 : o;
|
|
793
793
|
};
|
|
@@ -899,7 +899,7 @@ function XO(e) {
|
|
|
899
899
|
} finally {
|
|
900
900
|
Id = null, ar();
|
|
901
901
|
}
|
|
902
|
-
return
|
|
902
|
+
return pe(a) && a.length === 1 && (a = a[0]), a instanceof Ct || (a = Fr()), a.parent = i, a;
|
|
903
903
|
};
|
|
904
904
|
}
|
|
905
905
|
function zc(e, t) {
|
|
@@ -939,7 +939,7 @@ function eC(e, t) {
|
|
|
939
939
|
}
|
|
940
940
|
}
|
|
941
941
|
function hE(e) {
|
|
942
|
-
if (
|
|
942
|
+
if (pe(e))
|
|
943
943
|
for (var t = 0; t < e.length; t++) {
|
|
944
944
|
var n = e[t];
|
|
945
945
|
if (U(n) && (U(n.componentOptions) || vo(n)))
|
|
@@ -948,19 +948,19 @@ function hE(e) {
|
|
|
948
948
|
}
|
|
949
949
|
var tC = 1, mE = 2;
|
|
950
950
|
function hl(e, t, n, r, i, a) {
|
|
951
|
-
return (
|
|
951
|
+
return (pe(n) || Lo(n)) && (i = r, r = n, n = void 0), Le(a) && (i = mE), nC(e, t, n, r, i);
|
|
952
952
|
}
|
|
953
953
|
function nC(e, t, n, r, i) {
|
|
954
954
|
if (U(n) && U(n.__ob__) || (U(n) && U(n.is) && (t = n.is), !t))
|
|
955
955
|
return Fr();
|
|
956
|
-
|
|
956
|
+
pe(r) && Ve(r[0]) && (n = n || {}, n.scopedSlots = { default: r[0] }, r.length = 0), i === mE ? r = af(r) : i === tC && (r = PO(r));
|
|
957
957
|
var a, o;
|
|
958
958
|
if (typeof t == "string") {
|
|
959
959
|
var s = void 0;
|
|
960
960
|
o = e.$vnode && e.$vnode.ns || Lt.getTagNamespace(t), Lt.isReservedTag(t) ? a = new Ct(Lt.parsePlatformTagName(t), n, r, void 0, void 0, e) : (!n || !n.pre) && U(s = yl(e.$options, "components", t)) ? a = Xm(s, n, e, r, t) : a = new Ct(t, n, r, void 0, void 0, e);
|
|
961
961
|
} else
|
|
962
962
|
a = Xm(t, n, e, r);
|
|
963
|
-
return
|
|
963
|
+
return pe(a) ? a : U(a) ? (U(o) && gE(a, o), U(n) && rC(n), a) : Fr();
|
|
964
964
|
}
|
|
965
965
|
function gE(e, t, n) {
|
|
966
966
|
if (e.ns = t, e.tag === "foreignObject" && (t = void 0, n = !0), U(e.children))
|
|
@@ -1067,7 +1067,7 @@ function ml(e) {
|
|
|
1067
1067
|
return qs(e, Km), Km.clear(), e;
|
|
1068
1068
|
}
|
|
1069
1069
|
function qs(e, t) {
|
|
1070
|
-
var n, r, i =
|
|
1070
|
+
var n, r, i = pe(e);
|
|
1071
1071
|
if (!(!i && !ot(e) || e.__v_skip || Object.isFrozen(e) || e instanceof Ct)) {
|
|
1072
1072
|
if (e.__ob__) {
|
|
1073
1073
|
var a = e.__ob__.dep.id;
|
|
@@ -1169,7 +1169,7 @@ function pC(e) {
|
|
|
1169
1169
|
var t = /^hook:/;
|
|
1170
1170
|
e.prototype.$on = function(n, r) {
|
|
1171
1171
|
var i = this;
|
|
1172
|
-
if (
|
|
1172
|
+
if (pe(n))
|
|
1173
1173
|
for (var a = 0, o = n.length; a < o; a++)
|
|
1174
1174
|
i.$on(n[a], r);
|
|
1175
1175
|
else
|
|
@@ -1185,7 +1185,7 @@ function pC(e) {
|
|
|
1185
1185
|
var i = this;
|
|
1186
1186
|
if (!arguments.length)
|
|
1187
1187
|
return i._events = /* @__PURE__ */ Object.create(null), i;
|
|
1188
|
-
if (
|
|
1188
|
+
if (pe(n)) {
|
|
1189
1189
|
for (var a = 0, o = n.length; a < o; a++)
|
|
1190
1190
|
i.$off(n[a], r);
|
|
1191
1191
|
return i;
|
|
@@ -1417,7 +1417,7 @@ function pf(e, t, n, r, i) {
|
|
|
1417
1417
|
}
|
|
1418
1418
|
}), l && (this.$options = o, this.$slots = this.slots(), this.$scopedSlots = ao(r, e.scopedSlots, this.$slots)), o._scopeId ? this._c = function(u, f, p, d) {
|
|
1419
1419
|
var h = hl(s, u, f, p, d, c);
|
|
1420
|
-
return h && !
|
|
1420
|
+
return h && !pe(h) && (h.fnScopeId = o._scopeId, h.fnContext = r), h;
|
|
1421
1421
|
} : this._c = function(u, f, p, d) {
|
|
1422
1422
|
return hl(s, u, f, p, d, c);
|
|
1423
1423
|
};
|
|
@@ -1433,7 +1433,7 @@ function OC(e, t, n, r, i) {
|
|
|
1433
1433
|
var c = new pf(n, o, i, r, e), u = a.render.call(null, c._c, c);
|
|
1434
1434
|
if (u instanceof Ct)
|
|
1435
1435
|
return Ym(u, n, c.parent, a);
|
|
1436
|
-
if (
|
|
1436
|
+
if (pe(u)) {
|
|
1437
1437
|
for (var f = af(u) || [], p = new Array(f.length), d = 0; d < f.length; d++)
|
|
1438
1438
|
p[d] = Ym(f[d], n, c.parent, a);
|
|
1439
1439
|
return p;
|
|
@@ -1534,7 +1534,7 @@ function IC(e, t) {
|
|
|
1534
1534
|
var n = e.model && e.model.prop || "value", r = e.model && e.model.event || "input";
|
|
1535
1535
|
(t.attrs || (t.attrs = {}))[n] = t.model.value;
|
|
1536
1536
|
var i = t.on || (t.on = {}), a = i[r], o = t.model.callback;
|
|
1537
|
-
U(a) ? (
|
|
1537
|
+
U(a) ? (pe(a) ? a.indexOf(o) === -1 : a !== o) && (i[r] = [o].concat(a)) : i[r] = o;
|
|
1538
1538
|
}
|
|
1539
1539
|
var $C = Je, cn = Lt.optionMergeStrategies;
|
|
1540
1540
|
function Nd(e, t) {
|
|
@@ -1556,7 +1556,7 @@ cn.data = function(e, t, n) {
|
|
|
1556
1556
|
return n ? Ld(e, t, n) : t && typeof t != "function" ? e : Ld(e, t);
|
|
1557
1557
|
};
|
|
1558
1558
|
function MC(e, t) {
|
|
1559
|
-
var n = t ? e ? e.concat(t) :
|
|
1559
|
+
var n = t ? e ? e.concat(t) : pe(t) ? t : [t] : e;
|
|
1560
1560
|
return n && PC(n);
|
|
1561
1561
|
}
|
|
1562
1562
|
function PC(e) {
|
|
@@ -1583,7 +1583,7 @@ cn.watch = function(e, t, n, r) {
|
|
|
1583
1583
|
Oe(i, e);
|
|
1584
1584
|
for (var a in t) {
|
|
1585
1585
|
var o = i[a], s = t[a];
|
|
1586
|
-
o && !
|
|
1586
|
+
o && !pe(o) && (o = [o]), i[a] = o ? o.concat(s) : pe(s) ? s : [s];
|
|
1587
1587
|
}
|
|
1588
1588
|
return i;
|
|
1589
1589
|
};
|
|
@@ -1601,7 +1601,7 @@ function NC(e, t) {
|
|
|
1601
1601
|
var n = e.props;
|
|
1602
1602
|
if (!!n) {
|
|
1603
1603
|
var r = {}, i, a, o;
|
|
1604
|
-
if (
|
|
1604
|
+
if (pe(n))
|
|
1605
1605
|
for (i = n.length; i--; )
|
|
1606
1606
|
a = n[i], typeof a == "string" && (o = Wr(a), r[o] = { type: null });
|
|
1607
1607
|
else if (Ot(n))
|
|
@@ -1614,7 +1614,7 @@ function LC(e, t) {
|
|
|
1614
1614
|
var n = e.inject;
|
|
1615
1615
|
if (!!n) {
|
|
1616
1616
|
var r = e.inject = {};
|
|
1617
|
-
if (
|
|
1617
|
+
if (pe(n))
|
|
1618
1618
|
for (var i = 0; i < n.length; i++)
|
|
1619
1619
|
r[n[i]] = { from: n[i] };
|
|
1620
1620
|
else if (Ot(n))
|
|
@@ -1694,7 +1694,7 @@ function Qm(e, t) {
|
|
|
1694
1694
|
return jd(e) === jd(t);
|
|
1695
1695
|
}
|
|
1696
1696
|
function eg(e, t) {
|
|
1697
|
-
if (!
|
|
1697
|
+
if (!pe(t))
|
|
1698
1698
|
return Qm(t, e) ? 0 : -1;
|
|
1699
1699
|
for (var n = 0, r = t.length; n < r; n++)
|
|
1700
1700
|
if (Qm(t[n], e))
|
|
@@ -1790,7 +1790,7 @@ function zC(e, t) {
|
|
|
1790
1790
|
function KC(e, t) {
|
|
1791
1791
|
for (var n in t) {
|
|
1792
1792
|
var r = t[n];
|
|
1793
|
-
if (
|
|
1793
|
+
if (pe(r))
|
|
1794
1794
|
for (var i = 0; i < r.length; i++)
|
|
1795
1795
|
Fd(e, n, r[i]);
|
|
1796
1796
|
else
|
|
@@ -1913,7 +1913,7 @@ function rg(e) {
|
|
|
1913
1913
|
return e && (vl(e.Ctor.options) || e.tag);
|
|
1914
1914
|
}
|
|
1915
1915
|
function os(e, t) {
|
|
1916
|
-
return
|
|
1916
|
+
return pe(e) ? e.indexOf(t) > -1 : typeof e == "string" ? e.split(",").indexOf(t) > -1 : lO(e) ? e.test(t) : !1;
|
|
1917
1917
|
}
|
|
1918
1918
|
function ig(e, t) {
|
|
1919
1919
|
var n = e.cache, r = e.keys, i = e._vnode;
|
|
@@ -2163,7 +2163,7 @@ function Pi(e, t) {
|
|
|
2163
2163
|
if (l || c) {
|
|
2164
2164
|
if (s) {
|
|
2165
2165
|
var f = l ? u[n] : n.value;
|
|
2166
|
-
t ?
|
|
2166
|
+
t ? pe(f) && pr(f, i) : pe(f) ? f.includes(i) || f.push(i) : l ? (u[n] = [i], sg(r, n, u[n])) : n.value = [i];
|
|
2167
2167
|
} else if (l) {
|
|
2168
2168
|
if (t && u[n] !== i)
|
|
2169
2169
|
return;
|
|
@@ -2245,7 +2245,7 @@ function UA(e) {
|
|
|
2245
2245
|
U(k) && (U(A) ? a.parentNode(A) === k && a.insertBefore(k, S, A) : a.appendChild(k, S));
|
|
2246
2246
|
}
|
|
2247
2247
|
function h(k, S, A) {
|
|
2248
|
-
if (
|
|
2248
|
+
if (pe(S))
|
|
2249
2249
|
for (var P = 0; P < S.length; ++P)
|
|
2250
2250
|
c(S[P], A, k.elm, null, !0, S, P);
|
|
2251
2251
|
else
|
|
@@ -9681,7 +9681,7 @@ const hN = [
|
|
|
9681
9681
|
{
|
|
9682
9682
|
name: "DocFormSend",
|
|
9683
9683
|
path: "/send",
|
|
9684
|
-
component: () => import("./DocFormSend.
|
|
9684
|
+
component: () => import("./DocFormSend.58fbdade.js"),
|
|
9685
9685
|
props: !0,
|
|
9686
9686
|
meta: {
|
|
9687
9687
|
mode: "drawer",
|
|
@@ -9692,7 +9692,7 @@ const hN = [
|
|
|
9692
9692
|
{
|
|
9693
9693
|
name: "DocSendReminder",
|
|
9694
9694
|
path: "/reminder",
|
|
9695
|
-
component: () => import("./DocSendReminder.
|
|
9695
|
+
component: () => import("./DocSendReminder.610e6f1b.js"),
|
|
9696
9696
|
props: !0,
|
|
9697
9697
|
meta: {
|
|
9698
9698
|
mode: "modal",
|
|
@@ -10121,7 +10121,7 @@ const sF = (e) => {
|
|
|
10121
10121
|
const t = e || {}, n = t.key || "vuex";
|
|
10122
10122
|
function r(f) {
|
|
10123
10123
|
try {
|
|
10124
|
-
const p =
|
|
10124
|
+
const p = fe.getItem(f);
|
|
10125
10125
|
try {
|
|
10126
10126
|
return typeof p < "u" ? JSON.parse(p) : void 0;
|
|
10127
10127
|
} catch {
|
|
@@ -10136,7 +10136,7 @@ const sF = (e) => {
|
|
|
10136
10136
|
}
|
|
10137
10137
|
function a(f, p) {
|
|
10138
10138
|
try {
|
|
10139
|
-
return
|
|
10139
|
+
return fe.setItem(f, JSON.stringify(p));
|
|
10140
10140
|
} catch {
|
|
10141
10141
|
return;
|
|
10142
10142
|
}
|
|
@@ -10151,7 +10151,7 @@ const sF = (e) => {
|
|
|
10151
10151
|
return (p) => f.subscribe(p);
|
|
10152
10152
|
}
|
|
10153
10153
|
(t.assertStorage || (() => {
|
|
10154
|
-
|
|
10154
|
+
fe.setItem("@@", 1), fe.removeItem("@@");
|
|
10155
10155
|
}))();
|
|
10156
10156
|
const c = () => (t.getState || r)(n);
|
|
10157
10157
|
let u;
|
|
@@ -23027,11 +23027,11 @@ const S9 = (e = "") => {
|
|
|
23027
23027
|
}, O9 = () => navigator && navigator.languages && Array.isArray(navigator.languages) && navigator.languages[0] ? navigator.languages[0] : navigator && navigator.language ? navigator.language : null, Oy = {
|
|
23028
23028
|
lookup(e) {
|
|
23029
23029
|
let t = null;
|
|
23030
|
-
const n =
|
|
23030
|
+
const n = fe.getItem(e);
|
|
23031
23031
|
return n && (t = n), t;
|
|
23032
23032
|
},
|
|
23033
23033
|
cacheUserLocale(e, t) {
|
|
23034
|
-
|
|
23034
|
+
fe.setItem(e, t);
|
|
23035
23035
|
}
|
|
23036
23036
|
};
|
|
23037
23037
|
class C9 {
|
|
@@ -23055,7 +23055,7 @@ const Ic = {
|
|
|
23055
23055
|
};
|
|
23056
23056
|
async function A9(e) {
|
|
23057
23057
|
try {
|
|
23058
|
-
return Vq(/* @__PURE__ */ Object.assign({ "../../../node_modules/date-fns/locale/af/index.js": () => import("./index.cc8daeed.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ar-DZ/index.js": () => import("./index.a3eece60.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ar-EG/index.js": () => import("./index.c6979fb6.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ar-MA/index.js": () => import("./index.1dabfb0c.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ar-SA/index.js": () => import("./index.2003fa47.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ar-TN/index.js": () => import("./index.3342df5b.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ar/index.js": () => import("./index.35bb18c6.js").then((t) => t.i), "../../../node_modules/date-fns/locale/az/index.js": () => import("./index.f3e48619.js").then((t) => t.i), "../../../node_modules/date-fns/locale/be-tarask/index.js": () => import("./index.4c7f301f.js").then((t) => t.i), "../../../node_modules/date-fns/locale/be/index.js": () => import("./index.95a392ee.js").then((t) => t.i), "../../../node_modules/date-fns/locale/bg/index.js": () => import("./index.4dffcb9c.js").then((t) => t.i), "../../../node_modules/date-fns/locale/bn/index.js": () => import("./index.c0ecaaa7.js").then((t) => t.i), "../../../node_modules/date-fns/locale/bs/index.js": () => import("./index.91061a60.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ca/index.js": () => import("./index.69bbb9b5.js").then((t) => t.i), "../../../node_modules/date-fns/locale/cs/index.js": () => import("./index.842cdca5.js").then((t) => t.i), "../../../node_modules/date-fns/locale/cy/index.js": () => import("./index.982477cd.js").then((t) => t.i), "../../../node_modules/date-fns/locale/da/index.js": () => import("./index.1139f21e.js").then((t) => t.i), "../../../node_modules/date-fns/locale/de-AT/index.js": () => import("./index.3a576af9.js").then((t) => t.i), "../../../node_modules/date-fns/locale/de/index.js": () => import("./index.e779dc87.js").then((t) => t.i), "../../../node_modules/date-fns/locale/el/index.js": () => import("./index.0e7c6d61.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-AU/index.js": () => import("./index.4efc8cb4.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-CA/index.js": () => import("./index.daeef8fa.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-GB/index.js": () => import("./index.a9d3e8ad.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-IE/index.js": () => import("./index.0b1b812f.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-IN/index.js": () => import("./index.2797c7a7.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-NZ/index.js": () => import("./index.f8df4dfb.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-US/index.js": () => import("./index.faa46a40.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-ZA/index.js": () => import("./index.e4afc779.js").then((t) => t.i), "../../../node_modules/date-fns/locale/eo/index.js": () => import("./index.25b970da.js").then((t) => t.i), "../../../node_modules/date-fns/locale/es/index.js": () => import("./index.2be363fd.js").then((t) => t.i), "../../../node_modules/date-fns/locale/et/index.js": () => import("./index.30a4c616.js").then((t) => t.i), "../../../node_modules/date-fns/locale/eu/index.js": () => import("./index.4dfa2b20.js").then((t) => t.i), "../../../node_modules/date-fns/locale/fa-IR/index.js": () => import("./index.c36dad5b.js").then((t) => t.i), "../../../node_modules/date-fns/locale/fi/index.js": () => import("./index.0ed558c6.js").then((t) => t.i), "../../../node_modules/date-fns/locale/fr-CA/index.js": () => import("./index.3f213bda.js").then((t) => t.i), "../../../node_modules/date-fns/locale/fr-CH/index.js": () => import("./index.c1b1459e.js").then((t) => t.i), "../../../node_modules/date-fns/locale/fr/index.js": () => import("./index.5282ac36.js").then((t) => t.i), "../../../node_modules/date-fns/locale/fy/index.js": () => import("./index.7bdb91f0.js").then((t) => t.i), "../../../node_modules/date-fns/locale/gd/index.js": () => import("./index.85759566.js").then((t) => t.i), "../../../node_modules/date-fns/locale/gl/index.js": () => import("./index.d7c13f64.js").then((t) => t.i), "../../../node_modules/date-fns/locale/gu/index.js": () => import("./index.e51d0dfe.js").then((t) => t.i), "../../../node_modules/date-fns/locale/he/index.js": () => import("./index.6aebf764.js").then((t) => t.i), "../../../node_modules/date-fns/locale/hi/index.js": () => import("./index.f37e9e48.js").then((t) => t.i), "../../../node_modules/date-fns/locale/hr/index.js": () => import("./index.efe268c2.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ht/index.js": () => import("./index.724d1312.js").then((t) => t.i), "../../../node_modules/date-fns/locale/hu/index.js": () => import("./index.cb95bd5c.js").then((t) => t.i), "../../../node_modules/date-fns/locale/hy/index.js": () => import("./index.55c534ff.js").then((t) => t.i), "../../../node_modules/date-fns/locale/id/index.js": () => import("./index.569dd909.js").then((t) => t.i), "../../../node_modules/date-fns/locale/is/index.js": () => import("./index.1d1a95d4.js").then((t) => t.i), "../../../node_modules/date-fns/locale/it-CH/index.js": () => import("./index.42f72a0a.js").then((t) => t.i), "../../../node_modules/date-fns/locale/it/index.js": () => import("./index.56714d78.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ja-Hira/index.js": () => import("./index.6dcf7370.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ja/index.js": () => import("./index.155e790a.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ka/index.js": () => import("./index.5da9fafd.js").then((t) => t.i), "../../../node_modules/date-fns/locale/kk/index.js": () => import("./index.d9d9cbb9.js").then((t) => t.i), "../../../node_modules/date-fns/locale/km/index.js": () => import("./index.3b743171.js").then((t) => t.i), "../../../node_modules/date-fns/locale/kn/index.js": () => import("./index.6c00772b.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ko/index.js": () => import("./index.3d004e78.js").then((t) => t.i), "../../../node_modules/date-fns/locale/lb/index.js": () => import("./index.01c25e08.js").then((t) => t.i), "../../../node_modules/date-fns/locale/lt/index.js": () => import("./index.e7c54cc7.js").then((t) => t.i), "../../../node_modules/date-fns/locale/lv/index.js": () => import("./index.5169ae52.js").then((t) => t.i), "../../../node_modules/date-fns/locale/mk/index.js": () => import("./index.96120e6d.js").then((t) => t.i), "../../../node_modules/date-fns/locale/mn/index.js": () => import("./index.0d00d7bd.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ms/index.js": () => import("./index.517a6724.js").then((t) => t.i), "../../../node_modules/date-fns/locale/mt/index.js": () => import("./index.06409a2f.js").then((t) => t.i), "../../../node_modules/date-fns/locale/nb/index.js": () => import("./index.b971ee0c.js").then((t) => t.i), "../../../node_modules/date-fns/locale/nl-BE/index.js": () => import("./index.e888c32b.js").then((t) => t.i), "../../../node_modules/date-fns/locale/nl/index.js": () => import("./index.fc2cb4eb.js").then((t) => t.i), "../../../node_modules/date-fns/locale/nn/index.js": () => import("./index.30113922.js").then((t) => t.i), "../../../node_modules/date-fns/locale/oc/index.js": () => import("./index.ea23c736.js").then((t) => t.i), "../../../node_modules/date-fns/locale/pl/index.js": () => import("./index.af77bced.js").then((t) => t.i), "../../../node_modules/date-fns/locale/pt-BR/index.js": () => import("./index.cf4ccd13.js").then((t) => t.i), "../../../node_modules/date-fns/locale/pt/index.js": () => import("./index.c076812f.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ro/index.js": () => import("./index.784a699d.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ru/index.js": () => import("./index.256635f9.js").then((t) => t.i), "../../../node_modules/date-fns/locale/sk/index.js": () => import("./index.756eb2f9.js").then((t) => t.i), "../../../node_modules/date-fns/locale/sl/index.js": () => import("./index.23ef6d49.js").then((t) => t.i), "../../../node_modules/date-fns/locale/sq/index.js": () => import("./index.129d08c4.js").then((t) => t.i), "../../../node_modules/date-fns/locale/sr-Latn/index.js": () => import("./index.2484f858.js").then((t) => t.i), "../../../node_modules/date-fns/locale/sr/index.js": () => import("./index.e1be038b.js").then((t) => t.i), "../../../node_modules/date-fns/locale/sv/index.js": () => import("./index.efffdb7d.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ta/index.js": () => import("./index.628e9d30.js").then((t) => t.i), "../../../node_modules/date-fns/locale/te/index.js": () => import("./index.7f5b95a1.js").then((t) => t.i), "../../../node_modules/date-fns/locale/th/index.js": () => import("./index.3d942988.js").then((t) => t.i), "../../../node_modules/date-fns/locale/tr/index.js": () => import("./index.c42286ec.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ug/index.js": () => import("./index.7e878114.js").then((t) => t.i), "../../../node_modules/date-fns/locale/uk/index.js": () => import("./index.809771d5.js").then((t) => t.i), "../../../node_modules/date-fns/locale/uz-Cyrl/index.js": () => import("./index.41fda479.js").then((t) => t.i), "../../../node_modules/date-fns/locale/uz/index.js": () => import("./index.3a4adc1e.js").then((t) => t.i), "../../../node_modules/date-fns/locale/vi/index.js": () => import("./index.7547246a.js").then((t) => t.i), "../../../node_modules/date-fns/locale/zh-CN/index.js": () => import("./index.a24c27e0.js").then((t) => t.i), "../../../node_modules/date-fns/locale/zh-HK/index.js": () => import("./index.4b5231be.js").then((t) => t.i), "../../../node_modules/date-fns/locale/zh-TW/index.js": () => import("./index.647dbf81.js").then((t) => t.i) }), `../../../node_modules/date-fns/locale/${e}/index.js`).then((t) => (t && (Ic[e] = t), null));
|
|
23058
|
+
return Vq(/* @__PURE__ */ Object.assign({ "../../../node_modules/date-fns/locale/af/index.js": () => import("./index.d6b1b629.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ar-DZ/index.js": () => import("./index.b4904461.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ar-EG/index.js": () => import("./index.83910d3f.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ar-MA/index.js": () => import("./index.e3826d57.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ar-SA/index.js": () => import("./index.a4cc2ffa.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ar-TN/index.js": () => import("./index.90a87d9e.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ar/index.js": () => import("./index.be109e22.js").then((t) => t.i), "../../../node_modules/date-fns/locale/az/index.js": () => import("./index.bf3d1093.js").then((t) => t.i), "../../../node_modules/date-fns/locale/be-tarask/index.js": () => import("./index.4eb9c363.js").then((t) => t.i), "../../../node_modules/date-fns/locale/be/index.js": () => import("./index.05656554.js").then((t) => t.i), "../../../node_modules/date-fns/locale/bg/index.js": () => import("./index.c934c6af.js").then((t) => t.i), "../../../node_modules/date-fns/locale/bn/index.js": () => import("./index.0372fc9a.js").then((t) => t.i), "../../../node_modules/date-fns/locale/bs/index.js": () => import("./index.3ae42b88.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ca/index.js": () => import("./index.0c6034f0.js").then((t) => t.i), "../../../node_modules/date-fns/locale/cs/index.js": () => import("./index.1936f911.js").then((t) => t.i), "../../../node_modules/date-fns/locale/cy/index.js": () => import("./index.7619605a.js").then((t) => t.i), "../../../node_modules/date-fns/locale/da/index.js": () => import("./index.510b34a1.js").then((t) => t.i), "../../../node_modules/date-fns/locale/de-AT/index.js": () => import("./index.7c5aed5b.js").then((t) => t.i), "../../../node_modules/date-fns/locale/de/index.js": () => import("./index.c498538e.js").then((t) => t.i), "../../../node_modules/date-fns/locale/el/index.js": () => import("./index.291b2b54.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-AU/index.js": () => import("./index.a9a2afee.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-CA/index.js": () => import("./index.08d12aab.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-GB/index.js": () => import("./index.e70d1ec3.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-IE/index.js": () => import("./index.95cbc7d1.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-IN/index.js": () => import("./index.8bd24899.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-NZ/index.js": () => import("./index.1c5c3e44.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-US/index.js": () => import("./index.5b3f29b6.js").then((t) => t.i), "../../../node_modules/date-fns/locale/en-ZA/index.js": () => import("./index.22b2af79.js").then((t) => t.i), "../../../node_modules/date-fns/locale/eo/index.js": () => import("./index.d320459d.js").then((t) => t.i), "../../../node_modules/date-fns/locale/es/index.js": () => import("./index.218b46ae.js").then((t) => t.i), "../../../node_modules/date-fns/locale/et/index.js": () => import("./index.b6512901.js").then((t) => t.i), "../../../node_modules/date-fns/locale/eu/index.js": () => import("./index.ce8801e2.js").then((t) => t.i), "../../../node_modules/date-fns/locale/fa-IR/index.js": () => import("./index.ed2c5306.js").then((t) => t.i), "../../../node_modules/date-fns/locale/fi/index.js": () => import("./index.66e76ef5.js").then((t) => t.i), "../../../node_modules/date-fns/locale/fr-CA/index.js": () => import("./index.59de1b2c.js").then((t) => t.i), "../../../node_modules/date-fns/locale/fr-CH/index.js": () => import("./index.a0f17a47.js").then((t) => t.i), "../../../node_modules/date-fns/locale/fr/index.js": () => import("./index.604f9a4f.js").then((t) => t.i), "../../../node_modules/date-fns/locale/fy/index.js": () => import("./index.135b006c.js").then((t) => t.i), "../../../node_modules/date-fns/locale/gd/index.js": () => import("./index.57976804.js").then((t) => t.i), "../../../node_modules/date-fns/locale/gl/index.js": () => import("./index.63b5f71b.js").then((t) => t.i), "../../../node_modules/date-fns/locale/gu/index.js": () => import("./index.f0d4aeb1.js").then((t) => t.i), "../../../node_modules/date-fns/locale/he/index.js": () => import("./index.764b658e.js").then((t) => t.i), "../../../node_modules/date-fns/locale/hi/index.js": () => import("./index.d5ad6009.js").then((t) => t.i), "../../../node_modules/date-fns/locale/hr/index.js": () => import("./index.0e4c0d69.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ht/index.js": () => import("./index.98af6e12.js").then((t) => t.i), "../../../node_modules/date-fns/locale/hu/index.js": () => import("./index.d380d13d.js").then((t) => t.i), "../../../node_modules/date-fns/locale/hy/index.js": () => import("./index.6d854739.js").then((t) => t.i), "../../../node_modules/date-fns/locale/id/index.js": () => import("./index.5e93a4a4.js").then((t) => t.i), "../../../node_modules/date-fns/locale/is/index.js": () => import("./index.54aa5bdb.js").then((t) => t.i), "../../../node_modules/date-fns/locale/it-CH/index.js": () => import("./index.1f0b252d.js").then((t) => t.i), "../../../node_modules/date-fns/locale/it/index.js": () => import("./index.4f04d830.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ja-Hira/index.js": () => import("./index.dc39016c.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ja/index.js": () => import("./index.571dd412.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ka/index.js": () => import("./index.1c92d26c.js").then((t) => t.i), "../../../node_modules/date-fns/locale/kk/index.js": () => import("./index.a3b03275.js").then((t) => t.i), "../../../node_modules/date-fns/locale/km/index.js": () => import("./index.c2181b71.js").then((t) => t.i), "../../../node_modules/date-fns/locale/kn/index.js": () => import("./index.7062d55c.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ko/index.js": () => import("./index.df9d0f0b.js").then((t) => t.i), "../../../node_modules/date-fns/locale/lb/index.js": () => import("./index.9d868f2c.js").then((t) => t.i), "../../../node_modules/date-fns/locale/lt/index.js": () => import("./index.0df3b27e.js").then((t) => t.i), "../../../node_modules/date-fns/locale/lv/index.js": () => import("./index.faf3d6eb.js").then((t) => t.i), "../../../node_modules/date-fns/locale/mk/index.js": () => import("./index.ed474d79.js").then((t) => t.i), "../../../node_modules/date-fns/locale/mn/index.js": () => import("./index.ba3dcf3b.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ms/index.js": () => import("./index.4eba4a7d.js").then((t) => t.i), "../../../node_modules/date-fns/locale/mt/index.js": () => import("./index.39e24331.js").then((t) => t.i), "../../../node_modules/date-fns/locale/nb/index.js": () => import("./index.31d7f14e.js").then((t) => t.i), "../../../node_modules/date-fns/locale/nl-BE/index.js": () => import("./index.fbc2bf20.js").then((t) => t.i), "../../../node_modules/date-fns/locale/nl/index.js": () => import("./index.4dbcd770.js").then((t) => t.i), "../../../node_modules/date-fns/locale/nn/index.js": () => import("./index.64fdd79b.js").then((t) => t.i), "../../../node_modules/date-fns/locale/oc/index.js": () => import("./index.e19eaf33.js").then((t) => t.i), "../../../node_modules/date-fns/locale/pl/index.js": () => import("./index.37c3cfdc.js").then((t) => t.i), "../../../node_modules/date-fns/locale/pt-BR/index.js": () => import("./index.7081acc5.js").then((t) => t.i), "../../../node_modules/date-fns/locale/pt/index.js": () => import("./index.1595ef27.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ro/index.js": () => import("./index.4ac3b55d.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ru/index.js": () => import("./index.4ff3dace.js").then((t) => t.i), "../../../node_modules/date-fns/locale/sk/index.js": () => import("./index.1d4d1b78.js").then((t) => t.i), "../../../node_modules/date-fns/locale/sl/index.js": () => import("./index.266a6ace.js").then((t) => t.i), "../../../node_modules/date-fns/locale/sq/index.js": () => import("./index.27304047.js").then((t) => t.i), "../../../node_modules/date-fns/locale/sr-Latn/index.js": () => import("./index.1e40747d.js").then((t) => t.i), "../../../node_modules/date-fns/locale/sr/index.js": () => import("./index.dfe76608.js").then((t) => t.i), "../../../node_modules/date-fns/locale/sv/index.js": () => import("./index.a9441e00.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ta/index.js": () => import("./index.7b93c6da.js").then((t) => t.i), "../../../node_modules/date-fns/locale/te/index.js": () => import("./index.25db5309.js").then((t) => t.i), "../../../node_modules/date-fns/locale/th/index.js": () => import("./index.48e6f73c.js").then((t) => t.i), "../../../node_modules/date-fns/locale/tr/index.js": () => import("./index.dd9fd6fa.js").then((t) => t.i), "../../../node_modules/date-fns/locale/ug/index.js": () => import("./index.ea966a9a.js").then((t) => t.i), "../../../node_modules/date-fns/locale/uk/index.js": () => import("./index.f678de56.js").then((t) => t.i), "../../../node_modules/date-fns/locale/uz-Cyrl/index.js": () => import("./index.b724afce.js").then((t) => t.i), "../../../node_modules/date-fns/locale/uz/index.js": () => import("./index.fae17bfe.js").then((t) => t.i), "../../../node_modules/date-fns/locale/vi/index.js": () => import("./index.c627b669.js").then((t) => t.i), "../../../node_modules/date-fns/locale/zh-CN/index.js": () => import("./index.272e7245.js").then((t) => t.i), "../../../node_modules/date-fns/locale/zh-HK/index.js": () => import("./index.021aea9f.js").then((t) => t.i), "../../../node_modules/date-fns/locale/zh-TW/index.js": () => import("./index.b51268b0.js").then((t) => t.i) }), `../../../node_modules/date-fns/locale/${e}/index.js`).then((t) => (t && (Ic[e] = t), null));
|
|
23059
23059
|
} catch (t) {
|
|
23060
23060
|
return t;
|
|
23061
23061
|
}
|
|
@@ -23536,7 +23536,7 @@ const X9 = (e, { renewToken: t }) => {
|
|
|
23536
23536
|
const i = r.headers["X-TOKEN"];
|
|
23537
23537
|
if (!i)
|
|
23538
23538
|
return r;
|
|
23539
|
-
const a =
|
|
23539
|
+
const a = fe.getItem("tokenExpires");
|
|
23540
23540
|
if (i && a) {
|
|
23541
23541
|
const o = new Date(), s = new Date(a);
|
|
23542
23542
|
if (o > s)
|
|
@@ -23574,7 +23574,7 @@ const X9 = (e, { renewToken: t }) => {
|
|
|
23574
23574
|
return Promise.reject(n);
|
|
23575
23575
|
if (l.url.includes("auth/actionlink") && !l.headers["X-TOKEN"])
|
|
23576
23576
|
return Promise.reject(n);
|
|
23577
|
-
console.error("User should be logged out!!"),
|
|
23577
|
+
console.error("User should be logged out!!"), fe.removeItem("token"), fe.removeItem("tokenExpires"), fe.removeItem("refreshToken"), window.location.reload();
|
|
23578
23578
|
}
|
|
23579
23579
|
return Promise.reject(n);
|
|
23580
23580
|
}
|
|
@@ -23629,9 +23629,9 @@ const X9 = (e, { renewToken: t }) => {
|
|
|
23629
23629
|
withCredentials: t,
|
|
23630
23630
|
paramsSerializer: (f) => Z9(f)
|
|
23631
23631
|
});
|
|
23632
|
-
r.defaults.headers["X-CLIENT"] = "widget", r.defaults.headers["X-CLIENT-VERSION"] = "0.3.
|
|
23632
|
+
r.defaults.headers["X-CLIENT"] = "widget", r.defaults.headers["X-CLIENT-VERSION"] = "0.3.2";
|
|
23633
23633
|
const i = async (f, p, d = null, h = {}) => {
|
|
23634
|
-
const m = p.startsWith("/public/"), g =
|
|
23634
|
+
const m = p.startsWith("/public/"), g = fe.getItem("token");
|
|
23635
23635
|
switch (g && !m && (r.defaults.headers["X-TOKEN"] = g), f) {
|
|
23636
23636
|
case "get":
|
|
23637
23637
|
return r.get(p, h);
|
|
@@ -23647,7 +23647,7 @@ const X9 = (e, { renewToken: t }) => {
|
|
|
23647
23647
|
throw new Error(`SendRequest failed as method: '${f}' is not implemented`);
|
|
23648
23648
|
}
|
|
23649
23649
|
}, a = (f, p = {}) => i("get", f, null, p), o = (f, p = {}, d = {}) => i("put", f, p, d), s = (f, p, d = {}) => i("post", f, p, d), l = (f, p = {}) => i("delete", f, null, p), c = (f, p = {}) => i("patch", f, null, p), u = async () => {
|
|
23650
|
-
const f =
|
|
23650
|
+
const f = fe.getItem("refreshToken"), p = await s("/auth/companyUser", { refreshToken: f });
|
|
23651
23651
|
if (!p.data || !p.data.token)
|
|
23652
23652
|
throw new Error("No token was defined in result");
|
|
23653
23653
|
const {
|
|
@@ -23656,7 +23656,7 @@ const X9 = (e, { renewToken: t }) => {
|
|
|
23656
23656
|
companyUser: m,
|
|
23657
23657
|
company: g
|
|
23658
23658
|
} = p.data;
|
|
23659
|
-
return
|
|
23659
|
+
return fe.setItem("token", d), fe.setItem("tokenExpires", h), d;
|
|
23660
23660
|
};
|
|
23661
23661
|
return X9(r, { renewToken: u }), Q9(r, { renewToken: u }), qw(r), eW(r), nW(r), tW(r), {
|
|
23662
23662
|
instance: r,
|
|
@@ -26438,7 +26438,7 @@ const EG = /* @__PURE__ */ Xi(ok.exports), wG = ee.rollbar.clientToken, kG = new
|
|
|
26438
26438
|
payload: {
|
|
26439
26439
|
client: {
|
|
26440
26440
|
javascript: {
|
|
26441
|
-
code_version: "0.3.
|
|
26441
|
+
code_version: "0.3.2",
|
|
26442
26442
|
source_map_enabled: !0,
|
|
26443
26443
|
guess_uncaught_frames: !0
|
|
26444
26444
|
}
|
|
@@ -26475,8 +26475,8 @@ const EG = /* @__PURE__ */ Xi(ok.exports), wG = ee.rollbar.clientToken, kG = new
|
|
|
26475
26475
|
async [Ei]({ commit: e, getters: t, dispatch: n }) {
|
|
26476
26476
|
var r, i;
|
|
26477
26477
|
try {
|
|
26478
|
-
if (!
|
|
26479
|
-
|
|
26478
|
+
if (!fe.getItem("token")) {
|
|
26479
|
+
fe.removeItem("tokenExpire"), fe.removeItem("refreshToken"), e(Ze, {
|
|
26480
26480
|
userId: null,
|
|
26481
26481
|
companyId: null,
|
|
26482
26482
|
crispUserHash: null
|
|
@@ -26532,7 +26532,7 @@ const EG = /* @__PURE__ */ Xi(ok.exports), wG = ee.rollbar.clientToken, kG = new
|
|
|
26532
26532
|
settings: { error: null }
|
|
26533
26533
|
});
|
|
26534
26534
|
let c;
|
|
26535
|
-
if (o ? ({ data: c } = await ut.post("/auth/employee", { email: n, password: r, CompanyUserId: o }),
|
|
26535
|
+
if (o ? ({ data: c } = await ut.post("/auth/employee", { email: n, password: r, CompanyUserId: o }), fe.setItem("isClingEmployee", !0)) : l ? ({ data: c } = await ut.post("/oauth2/token", {
|
|
26536
26536
|
code: l,
|
|
26537
26537
|
client_id: ee.clientId,
|
|
26538
26538
|
grant_type: "authorization_code",
|
|
@@ -26550,7 +26550,7 @@ const EG = /* @__PURE__ */ Xi(ok.exports), wG = ee.rollbar.clientToken, kG = new
|
|
|
26550
26550
|
}), s === "code" && c.code)
|
|
26551
26551
|
return e(Ze, { isLoggingIn: !1 }), c;
|
|
26552
26552
|
const { token: u, tokenExpires: f, refreshToken: p } = c;
|
|
26553
|
-
if (
|
|
26553
|
+
if (fe.setItem("token", u), fe.setItem("tokenExpires", f), fe.setItem("refreshToken", p), e(Ze, { isLoggingIn: !1 }), a && await t(Ei), !i)
|
|
26554
26554
|
return !0;
|
|
26555
26555
|
const { redirect: d } = this.state.route.query || {};
|
|
26556
26556
|
return d ? (this.$router.push(d), !0) : (this.$router.push({ name: "account" }), !0);
|
|
@@ -26578,7 +26578,7 @@ const EG = /* @__PURE__ */ Xi(ok.exports), wG = ee.rollbar.clientToken, kG = new
|
|
|
26578
26578
|
throw new Error("Missing param to");
|
|
26579
26579
|
e(Ze, { isLoggingIn: !0 }), r && (a = Object.assign({}, r.query), delete a.authtoken);
|
|
26580
26580
|
const { data: o } = await fW(n, { ...gs(this._vm.$view) }), { token: s, tokenExpires: l, refreshToken: c } = o;
|
|
26581
|
-
if (
|
|
26581
|
+
if (fe.setItem("token", s), fe.setItem("tokenExpires", l), fe.setItem("refreshToken", c), await t(Ei), !i)
|
|
26582
26582
|
return !0;
|
|
26583
26583
|
this.$router.push({ path: r.path, query: a });
|
|
26584
26584
|
} catch (o) {
|
|
@@ -26616,7 +26616,7 @@ const EG = /* @__PURE__ */ Xi(ok.exports), wG = ee.rollbar.clientToken, kG = new
|
|
|
26616
26616
|
company: f,
|
|
26617
26617
|
companyUser: p
|
|
26618
26618
|
} = s;
|
|
26619
|
-
return
|
|
26619
|
+
return fe.setItem("token", l), fe.setItem("tokenExpires", c), fe.setItem("refreshToken", u), p && p.isSlave && !p.verifiedEmailAt ? (i.companyUser = p, i.isVerify = !0, i) : (await t(Ei), o && (i.addedToExistingCompanyId = o), i.company = f, i.isAuth = !0, i);
|
|
26620
26620
|
} catch (a) {
|
|
26621
26621
|
return this.handleError(a, {
|
|
26622
26622
|
action: Iy,
|
|
@@ -26639,7 +26639,7 @@ const EG = /* @__PURE__ */ Xi(ok.exports), wG = ee.rollbar.clientToken, kG = new
|
|
|
26639
26639
|
throw new Error("Missing param companyUserId");
|
|
26640
26640
|
e(Ze, { isLoggingIn: !0 });
|
|
26641
26641
|
const { data: i } = await Ay.getConnectedUserAuth(n), { token: a, tokenExpires: o, refreshToken: s } = i;
|
|
26642
|
-
|
|
26642
|
+
fe.setItem("token", a), fe.setItem("tokenExpires", o), fe.setItem("refreshToken", s), this.commit("reset"), await t(Ei), r ? this.$router.push({ name: "account" }) : window.reloadApp(!0);
|
|
26643
26643
|
} catch (i) {
|
|
26644
26644
|
this.handleError(i, {
|
|
26645
26645
|
action: $y,
|
|
@@ -26747,7 +26747,7 @@ const EG = /* @__PURE__ */ Xi(ok.exports), wG = ee.rollbar.clientToken, kG = new
|
|
|
26747
26747
|
},
|
|
26748
26748
|
[ys]({ commit: e }, { next: t } = {}) {
|
|
26749
26749
|
try {
|
|
26750
|
-
|
|
26750
|
+
fe.removeItem("token"), fe.removeItem("tokenExpires"), fe.removeItem("refreshToken"), this.commit("reset");
|
|
26751
26751
|
} finally {
|
|
26752
26752
|
e(Ze, {
|
|
26753
26753
|
isLoggingIn: !1,
|
|
@@ -27468,7 +27468,7 @@ const Xr = new no(), sz = {
|
|
|
27468
27468
|
userPosition: (e) => e.user.position,
|
|
27469
27469
|
isLoggingIn: (e) => e.user.isLoggingIn,
|
|
27470
27470
|
isSuperUser: () => () => {
|
|
27471
|
-
const e =
|
|
27471
|
+
const e = fe.getItem("token");
|
|
27472
27472
|
if (!e)
|
|
27473
27473
|
return !1;
|
|
27474
27474
|
const { employee: t } = Oh.exports(e);
|
|
@@ -42922,7 +42922,7 @@ const za = new Doe({
|
|
|
42922
42922
|
rootUrl: ee.api.socket.rootUrl,
|
|
42923
42923
|
path: ee.api.socket.path,
|
|
42924
42924
|
logger: Ne,
|
|
42925
|
-
getTokenFn: () =>
|
|
42925
|
+
getTokenFn: () => fe.getItem("token")
|
|
42926
42926
|
}), Roe = (e) => {
|
|
42927
42927
|
za.onConnectionChanged((t) => {
|
|
42928
42928
|
e.commit(
|
|
@@ -43849,7 +43849,7 @@ class zse extends Goe {
|
|
|
43849
43849
|
return Ge.getters["application/isUserLoaded"];
|
|
43850
43850
|
}
|
|
43851
43851
|
get hasToken() {
|
|
43852
|
-
return !!
|
|
43852
|
+
return !!fe.getItem("token");
|
|
43853
43853
|
}
|
|
43854
43854
|
checkAuth() {
|
|
43855
43855
|
if (!this.hasToken)
|
|
@@ -47827,7 +47827,7 @@ const XS = {
|
|
|
47827
47827
|
const a = document.getElementById("CLING_WIDGET_STYLE");
|
|
47828
47828
|
a.disabled = !1, n.appendChild(a), n.appendChild(r), t.attachShadow({ mode: "open" }).appendChild(n), document.body.appendChild(t);
|
|
47829
47829
|
}
|
|
47830
|
-
|
|
47830
|
+
fe.setPrefix("cling-"), this.app = Rce(r), this.initialized = !0;
|
|
47831
47831
|
},
|
|
47832
47832
|
get store() {
|
|
47833
47833
|
var e;
|
|
@@ -47837,9 +47837,6 @@ const XS = {
|
|
|
47837
47837
|
var e;
|
|
47838
47838
|
return (e = this.app) == null ? void 0 : e.$router;
|
|
47839
47839
|
},
|
|
47840
|
-
get isLoggedIn() {
|
|
47841
|
-
return !!pe.getItem("token");
|
|
47842
|
-
},
|
|
47843
47840
|
async test() {
|
|
47844
47841
|
this.init(), await this.auth({
|
|
47845
47842
|
email: "widget-demo@cling.se",
|
|
@@ -47862,15 +47859,16 @@ const XS = {
|
|
|
47862
47859
|
});
|
|
47863
47860
|
},
|
|
47864
47861
|
async auth({ method: e = "standard", email: t, password: n, authToken: r }) {
|
|
47865
|
-
var
|
|
47866
|
-
|
|
47862
|
+
var o, s;
|
|
47863
|
+
let a;
|
|
47864
|
+
return e === "standard" ? a = await ((o = this.store) == null ? void 0 : o.dispatch("application/LOGIN_USER", {
|
|
47867
47865
|
email: t,
|
|
47868
47866
|
password: n,
|
|
47869
47867
|
doRedirect: !1
|
|
47870
|
-
})) : e === "authToken" && await ((
|
|
47868
|
+
})) : e === "authToken" && (a = await ((s = this.store) == null ? void 0 : s.dispatch("application/LOGIN_AUTH_TOKEN", {
|
|
47871
47869
|
authToken: r,
|
|
47872
47870
|
doRedirect: !1
|
|
47873
|
-
})),
|
|
47871
|
+
}))), a;
|
|
47874
47872
|
},
|
|
47875
47873
|
destroy() {
|
|
47876
47874
|
var e, t;
|