@cling-se/widget 0.9.12 → 0.9.13
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/{AddClientCallout-6b0621ec.js → AddClientCallout-228b3577.js} +5 -5
- package/dist/{AnswerModal-f6cb74d7.js → AnswerModal-8d56e27b.js} +3 -3
- package/dist/{AttachmentItem-2a4cb524.js → AttachmentItem-c351e46f.js} +3 -3
- package/dist/{BaseDatePicker-2daf62c0.js → BaseDatePicker-455a8e63.js} +1 -1
- package/dist/{BaseInput-a4523348.js → BaseInput-6b0cdce2.js} +1 -1
- package/dist/{BaseUpload-737004ad.js → BaseUpload-53bb3574.js} +2 -2
- package/dist/{BlockMedia-a145fc19.js → BlockMedia-7f55be7a.js} +1 -1
- package/dist/{CCallout-7fb1ad5c.js → CCallout-357061be.js} +2 -2
- package/dist/{CDropdownItem-79c8dc70.js → CDropdownItem-18010a08.js} +1 -1
- package/dist/{CField-2b1118f9.js → CField-05874972.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-47894df7.js → CSlider.vue_vue_type_style_index_0_lang-cf8cf3bf.js} +1 -1
- package/dist/{ClientAutocomplete-3d098904.js → ClientAutocomplete-80568a20.js} +2 -2
- package/dist/{ClientModal-d1bf8d0d.js → ClientModal-7504abd0.js} +4 -4
- package/dist/{ColorPicker-c61cd86f.js → ColorPicker-6ce6c99f.js} +1 -1
- package/dist/{CompanyModal-46cab2d1.js → CompanyModal-14c95452.js} +3 -3
- package/dist/{ContentWrapper-3251ab37.js → ContentWrapper-2af616a6.js} +11 -11
- package/dist/{CoverBlockSettings-3ad93db4.js → CoverBlockSettings-16e69c0f.js} +7 -7
- package/dist/{DocAnswer-a0f2853b.js → DocAnswer-4c60bdb2.js} +4 -4
- package/dist/{DocForm-a4c0a0f1.js → DocForm-88aad3f9.js} +431 -423
- package/dist/{DocFormSend-ed982485.js → DocFormSend-7822495a.js} +17 -17
- package/dist/{DocModalBase-22abfff9.js → DocModalBase-cc16308d.js} +1 -1
- package/dist/{DocPrint-028aa0ed.js → DocPrint-ab80350b.js} +1 -1
- package/dist/{DocReceipt-3bd27c4a.js → DocReceipt-a418995c.js} +1 -1
- package/dist/{DocSendReminder-8ad0ca86.js → DocSendReminder-604537a5.js} +1 -1
- package/dist/{DocTextEditor-8930e458.js → DocTextEditor-4c3a9dda.js} +7 -7
- package/dist/{DocTimeline-2ab336f0.js → DocTimeline-f528fe03.js} +1 -1
- package/dist/{DocumentClient-441798b5.js → DocumentClient-63eee0be.js} +5 -5
- package/dist/{DocumentLayout-02c32058.js → DocumentLayout-7f21170a.js} +3 -3
- package/dist/{DocumentLogotype-43ef9231.js → DocumentLogotype-342699d5.js} +3 -3
- package/dist/{EmbedInput-996ae0e3.js → EmbedInput-838658e0.js} +2 -2
- package/dist/{EmbedSettings-41af8b9c.js → EmbedSettings-4861e515.js} +3 -3
- package/dist/{ErrorCallout-d392ffe9.js → ErrorCallout-3c335312.js} +1 -1
- package/dist/{FilePreviewModal-e298691e.js → FilePreviewModal-36890f6f.js} +4 -4
- package/dist/{HeaderSettings-687131c9.js → HeaderSettings-c60b567b.js} +14 -14
- package/dist/{ImageSelectModal-eec441aa.js → ImageSelectModal-364cb7f3.js} +8 -8
- package/dist/{ImageUploadWrapper-b244cf9e.js → ImageUploadWrapper-3f97caf0.js} +2 -2
- package/dist/{Index-37d3fd60.js → Index-043d9b1b.js} +2 -2
- package/dist/{Index-77a7d639.js → Index-0a743dbe.js} +5 -5
- package/dist/{Index-a9f197a7.js → Index-143c8249.js} +4 -4
- package/dist/{Index-6d61f98d.js → Index-236b16cb.js} +12 -12
- package/dist/{Index-485b35e8.js → Index-2d530ba9.js} +25 -25
- package/dist/{Index-8c254496.js → Index-31c43501.js} +4 -4
- package/dist/{Index-7c421b05.js → Index-39588910.js} +4 -4
- package/dist/{Index-d76bf229.js → Index-4d066329.js} +1 -1
- package/dist/{Index-2468cd69.js → Index-4d75a98f.js} +11 -11
- package/dist/{Index-01a3b6ed.js → Index-54dae7d5.js} +6 -6
- package/dist/{Index-13b65d9b.js → Index-5e5e9eea.js} +2 -2
- package/dist/{Index-6ca4a7e4.js → Index-61044ea1.js} +11 -11
- package/dist/{Index-b9b80eae.js → Index-622f4488.js} +6 -6
- package/dist/{Index-30ebb13c.js → Index-68d33a7a.js} +2 -2
- package/dist/{Index-25ce24cc.js → Index-7ae67a69.js} +2 -2
- package/dist/{Index-bf23d7a9.js → Index-81aebe47.js} +8 -8
- package/dist/{Index-6c5de42a.js → Index-87e1bf30.js} +2 -2
- package/dist/{Index-87cd4771.js → Index-933d777b.js} +4 -4
- package/dist/{Index-8882ee1b.js → Index-9f14cadf.js} +5 -5
- package/dist/{Index-9ccce76f.js → Index-a954fa0e.js} +4 -4
- package/dist/{Index-62ea070e.js → Index-ab549b7b.js} +2 -2
- package/dist/{Index-7d2fe1bd.js → Index-ab8a049c.js} +5 -5
- package/dist/{Index-ee558d21.js → Index-ad6b4226.js} +1 -1
- package/dist/{Index-af3a9b66.js → Index-c3e9f61e.js} +4 -4
- package/dist/{Index-f14261e7.js → Index-c4a96084.js} +3 -3
- package/dist/{Index-fd947a18.js → Index-c4da8059.js} +8 -8
- package/dist/{Index-5ff95ead.js → Index-d0572db7.js} +8 -8
- package/dist/{Index-e2919ed0.js → Index-d354a773.js} +4 -4
- package/dist/{Index-efa47af4.js → Index-dad75b77.js} +7 -7
- package/dist/{Index-d3225e03.js → Index-db68776e.js} +5 -5
- package/dist/{Index-0ed1b84a.js → Index-df63e9b1.js} +2 -2
- package/dist/{Index-c3a619f4.js → Index-e1fa12f4.js} +4 -4
- package/dist/{Index-a7871ea6.js → Index-e8bd9682.js} +4 -4
- package/dist/{Index-2b19a264.js → Index-eb677c16.js} +2 -2
- package/dist/{InputToggleRow-ee713437.js → InputToggleRow-9f3a21c8.js} +1 -1
- package/dist/{IsPremiumPreStep-9b5a0a01.js → IsPremiumPreStep-fc67e5a6.js} +167 -138
- package/dist/{MediaWrapper-45257b41.js → MediaWrapper-97e972de.js} +3 -3
- package/dist/{NotBindingText-c2f7c9cb.js → NotBindingText-a1bfc652.js} +2 -2
- package/dist/{PackageGroup-b2aa42da.js → PackageGroup-fd73d61e.js} +10 -10
- package/dist/{PdfTerms-2d66043e.js → PdfTerms-183987fe.js} +4 -4
- package/dist/{PdfViewer-947ee278.js → PdfViewer-92bae106.js} +2 -2
- package/dist/{PlainHtml-a3d47a45.js → PlainHtml-659dc40e.js} +1 -1
- package/dist/{PriceHeader-b6a99a57.js → PriceHeader-07cd131c.js} +11 -11
- package/dist/{SearchApi-c6511bc3.js → SearchApi-64811a82.js} +2 -2
- package/dist/{Setup-60ec3c2a.js → Setup-2ceea9c6.js} +5 -6
- package/dist/{TermsSettings-836555da.js → TermsSettings-fcd58004.js} +6 -6
- package/dist/{ThemeColorRow-672086c3.js → ThemeColorRow-df5956c8.js} +2 -2
- package/dist/{ToggleBinding-3c581fbb.js → ToggleBinding-f7bc2d76.js} +3 -3
- package/dist/{UploadModal-b3933203.js → UploadModal-a1ac0b5c.js} +3 -3
- package/dist/{VideoPlayerInput-5ad13a27.js → VideoPlayerInput-1f3f68ff.js} +3 -3
- package/dist/{VideoPlayerSettings-e964804b.js → VideoPlayerSettings-11942297.js} +4 -4
- package/dist/{VideoSelectModal-321b2270.js → VideoSelectModal-745c2810.js} +7 -7
- package/dist/{answerDocumentMixin-76224b35.js → answerDocumentMixin-f8efbecd.js} +3 -3
- package/dist/{cssMode-2bf89988.js → cssMode-76c1eb7e.js} +7 -7
- package/dist/{focusDrawerMixin-dffff858.js → focusDrawerMixin-ef272683.js} +1 -1
- package/dist/{formComponentsInstall-57c30f22.js → formComponentsInstall-1032f4c0.js} +12 -12
- package/dist/{formValidationMixin-9d5c1283.js → formValidationMixin-cae02f79.js} +1 -1
- package/dist/{freemarker2-503b066f.js → freemarker2-a5050433.js} +7 -7
- package/dist/{handlebars-8c0c0a90.js → handlebars-97600bea.js} +7 -7
- package/dist/{html-5b503855.js → html-848aba57.js} +7 -7
- package/dist/{htmlMode-b751a462.js → htmlMode-f297f1ba.js} +7 -7
- package/dist/{image-a902f5a5.js → image-eeafca74.js} +1 -1
- package/dist/{index-9a5227ef.js → index-5bf60a14.js} +2 -2
- package/dist/{index-a9f8e647.js → index-66441a0e.js} +7 -7
- package/dist/{index-771f5571.js → index-9c826693.js} +4 -4
- package/dist/{index-1c1cefec.js → index-b156c3e5.js} +4 -4
- package/dist/{index-d81be181.js → index-d9dc84c3.js} +1 -1
- package/dist/index.es.js +5 -2
- package/dist/index.umd.js +208 -208
- package/dist/{javascript-2d18f43b.js → javascript-05903a61.js} +8 -8
- package/dist/{jsonMode-95421c7a.js → jsonMode-808b2c11.js} +7 -7
- package/dist/{liquid-47ff3277.js → liquid-3a4ed820.js} +7 -7
- package/dist/{main-5532481e.js → main-37f5e386.js} +342 -400
- package/dist/{mapFormMixin-218f9749.js → mapFormMixin-57fc1af3.js} +1 -1
- package/dist/{publicSenderState-7c91d66d.js → publicSenderState-23dfd84e.js} +1 -1
- package/dist/{python-afd06bc4.js → python-59364ca7.js} +7 -7
- package/dist/{razor-28875ccf.js → razor-c485357e.js} +7 -7
- package/dist/{simplebar.min-3682e5c9.js → simplebar.min-0afea859.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{template-cd101772.js → template-09a48d50.js} +1 -1
- package/dist/{throttle-3a262479.js → throttle-7cc7cddf.js} +2 -2
- package/dist/{tinycolor-ca02e626.js → tinycolor-9b14b99e.js} +1 -1
- package/dist/{tippy.esm-a7740684.js → tippy.esm-e04582c9.js} +5 -5
- package/dist/{tsMode-bc258439.js → tsMode-1c3b939e.js} +7 -7
- package/dist/{typescript-ac68850c.js → typescript-80bee482.js} +7 -7
- package/dist/{utils-b0646315.js → utils-48a92f83.js} +1 -1
- package/dist/{vuedraggable.umd-934a0379.js → vuedraggable.umd-937de8ac.js} +1 -1
- package/dist/{xml-a8591419.js → xml-277e74c7.js} +7 -7
- package/package.json +1 -1
|
@@ -300,7 +300,7 @@ function tS(e) {
|
|
|
300
300
|
var t = (e + "").charCodeAt(0);
|
|
301
301
|
return t === 36 || t === 95;
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function ri(e, t, r, n) {
|
|
304
304
|
Object.defineProperty(e, t, {
|
|
305
305
|
value: r,
|
|
306
306
|
enumerable: !!n,
|
|
@@ -448,7 +448,7 @@ var iS = Array.prototype, Du = Object.create(iS), ZP = [
|
|
|
448
448
|
];
|
|
449
449
|
ZP.forEach(function(e) {
|
|
450
450
|
var t = iS[e];
|
|
451
|
-
|
|
451
|
+
ri(Du, e, function() {
|
|
452
452
|
for (var n = [], i = 0; i < arguments.length; i++)
|
|
453
453
|
n[i] = arguments[i];
|
|
454
454
|
var a = t.apply(this, n), o = this.__ob__, s;
|
|
@@ -466,10 +466,10 @@ ZP.forEach(function(e) {
|
|
|
466
466
|
});
|
|
467
467
|
var XP = /* @__PURE__ */ new WeakMap();
|
|
468
468
|
function aS(e) {
|
|
469
|
-
return QP(e, !0),
|
|
469
|
+
return QP(e, !0), ri(e, "__v_isShallow", !0), e;
|
|
470
470
|
}
|
|
471
471
|
function QP(e, t) {
|
|
472
|
-
Vg(e) ||
|
|
472
|
+
Vg(e) || kn(
|
|
473
473
|
e,
|
|
474
474
|
t,
|
|
475
475
|
wl()
|
|
@@ -492,14 +492,14 @@ var eM = {
|
|
|
492
492
|
/** @class */
|
|
493
493
|
function() {
|
|
494
494
|
function e(t, r, n) {
|
|
495
|
-
if (r === void 0 && (r = !1), n === void 0 && (n = !1), this.value = t, this.shallow = r, this.mock = n, this.dep = n ? eM : new ai(), this.vmCount = 0,
|
|
495
|
+
if (r === void 0 && (r = !1), n === void 0 && (n = !1), this.value = t, this.shallow = r, this.mock = n, this.dep = n ? eM : new ai(), this.vmCount = 0, ri(t, "__ob__", this), Re(t)) {
|
|
496
496
|
if (!n)
|
|
497
497
|
if (qP)
|
|
498
498
|
t.__proto__ = Du;
|
|
499
499
|
else
|
|
500
500
|
for (var i = 0, a = C0.length; i < a; i++) {
|
|
501
501
|
var o = C0[i];
|
|
502
|
-
|
|
502
|
+
ri(t, o, Du[o]);
|
|
503
503
|
}
|
|
504
504
|
r || this.observeArray(t);
|
|
505
505
|
} else
|
|
@@ -510,11 +510,11 @@ var eM = {
|
|
|
510
510
|
}
|
|
511
511
|
return e.prototype.observeArray = function(t) {
|
|
512
512
|
for (var r = 0, n = t.length; r < n; r++)
|
|
513
|
-
|
|
513
|
+
kn(t[r], !1, this.mock);
|
|
514
514
|
}, e;
|
|
515
515
|
}()
|
|
516
516
|
);
|
|
517
|
-
function
|
|
517
|
+
function kn(e, t, r) {
|
|
518
518
|
if (e && Vt(e, "__ob__") && e.__ob__ instanceof A0)
|
|
519
519
|
return e.__ob__;
|
|
520
520
|
if (Bg && (r || !wl()) && (Re(e) || ir(e)) && Object.isExtensible(e) && !e.__v_skip && !XP.has(e) && !Jr(e) && !(e instanceof ar))
|
|
@@ -525,7 +525,7 @@ function Zi(e, t, r, n, i, a) {
|
|
|
525
525
|
if (!(s && s.configurable === !1)) {
|
|
526
526
|
var l = s && s.get, c = s && s.set;
|
|
527
527
|
(!l || c) && (r === oS || arguments.length === 2) && (r = e[t]);
|
|
528
|
-
var u = !i &&
|
|
528
|
+
var u = !i && kn(r, !1, a);
|
|
529
529
|
return Object.defineProperty(e, t, {
|
|
530
530
|
enumerable: !0,
|
|
531
531
|
configurable: !0,
|
|
@@ -547,7 +547,7 @@ function Zi(e, t, r, n, i, a) {
|
|
|
547
547
|
} else
|
|
548
548
|
r = p;
|
|
549
549
|
}
|
|
550
|
-
u = !i &&
|
|
550
|
+
u = !i && kn(p, !1, a), o.notify();
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
}), o;
|
|
@@ -556,7 +556,7 @@ function Zi(e, t, r, n, i, a) {
|
|
|
556
556
|
function zg(e, t, r) {
|
|
557
557
|
if (!Vg(e)) {
|
|
558
558
|
var n = e.__ob__;
|
|
559
|
-
return Re(e) && Y2(t) ? (e.length = Math.max(e.length, t), e.splice(t, 1, r), n && !n.shallow && n.mock &&
|
|
559
|
+
return Re(e) && Y2(t) ? (e.length = Math.max(e.length, t), e.splice(t, 1, r), n && !n.shallow && n.mock && kn(r, !1, !0), r) : t in e && !(t in Object.prototype) ? (e[t] = r, r) : e._isVue || n && n.vmCount ? r : n ? (Zi(n.value, t, r, void 0, n.shallow, n.mock), n.dep.notify(), r) : (e[t] = r, r);
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
562
|
function sS(e, t) {
|
|
@@ -667,7 +667,7 @@ function cS(e, t, r, n, i, a) {
|
|
|
667
667
|
for (o in t)
|
|
668
668
|
xe(e[o]) && (c = $0(o), n(c.name, t[o], c.capture));
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function Qn(e, t, r) {
|
|
671
671
|
e instanceof ar && (e = e.data.hook || (e.data.hook = {}));
|
|
672
672
|
var n, i = e[t];
|
|
673
673
|
function a() {
|
|
@@ -860,7 +860,7 @@ function Fs(e, t, r, n) {
|
|
|
860
860
|
}
|
|
861
861
|
for (var c in r)
|
|
862
862
|
c in i || (i[c] = yM(r, c));
|
|
863
|
-
return t && Object.isExtensible(t) && (t._normalized = i),
|
|
863
|
+
return t && Object.isExtensible(t) && (t._normalized = i), ri(i, "$stable", o), ri(i, "$key", s), ri(i, "$hasNormal", a), i;
|
|
864
864
|
}
|
|
865
865
|
function vM(e, t, r, n) {
|
|
866
866
|
var i = function() {
|
|
@@ -905,7 +905,7 @@ function wM(e) {
|
|
|
905
905
|
get attrs() {
|
|
906
906
|
if (!e._attrsProxy) {
|
|
907
907
|
var t = e._attrsProxy = {};
|
|
908
|
-
|
|
908
|
+
ri(t, "_v_attr_proxy", !0), Nu(t, e.$attrs, rr, e, "$attrs");
|
|
909
909
|
}
|
|
910
910
|
return e._attrsProxy;
|
|
911
911
|
},
|
|
@@ -1800,7 +1800,7 @@ function Qg(e, t, r, n) {
|
|
|
1800
1800
|
if (o === void 0) {
|
|
1801
1801
|
o = dD(n, i, e);
|
|
1802
1802
|
var c = Bg;
|
|
1803
|
-
oi(!0),
|
|
1803
|
+
oi(!0), kn(o), oi(c);
|
|
1804
1804
|
}
|
|
1805
1805
|
return o;
|
|
1806
1806
|
}
|
|
@@ -1826,25 +1826,25 @@ function z0(e, t) {
|
|
|
1826
1826
|
return r;
|
|
1827
1827
|
return -1;
|
|
1828
1828
|
}
|
|
1829
|
-
var
|
|
1829
|
+
var Jn = {
|
|
1830
1830
|
enumerable: !0,
|
|
1831
1831
|
configurable: !0,
|
|
1832
1832
|
get: Tt,
|
|
1833
1833
|
set: Tt
|
|
1834
1834
|
};
|
|
1835
1835
|
function ev(e, t, r) {
|
|
1836
|
-
|
|
1836
|
+
Jn.get = function() {
|
|
1837
1837
|
return this[t][r];
|
|
1838
|
-
},
|
|
1838
|
+
}, Jn.set = function(i) {
|
|
1839
1839
|
this[t][r] = i;
|
|
1840
|
-
}, Object.defineProperty(e, r,
|
|
1840
|
+
}, Object.defineProperty(e, r, Jn);
|
|
1841
1841
|
}
|
|
1842
1842
|
function fD(e) {
|
|
1843
1843
|
var t = e.$options;
|
|
1844
1844
|
if (t.props && hD(e, t.props), bM(e), t.methods && bD(e, t.methods), t.data)
|
|
1845
1845
|
mD(e);
|
|
1846
1846
|
else {
|
|
1847
|
-
var r =
|
|
1847
|
+
var r = kn(e._data = {});
|
|
1848
1848
|
r && r.vmCount++;
|
|
1849
1849
|
}
|
|
1850
1850
|
t.computed && yD(e, t.computed), t.watch && t.watch !== Zh && wD(e, t.watch);
|
|
@@ -1870,7 +1870,7 @@ function mD(e) {
|
|
|
1870
1870
|
var a = r[i];
|
|
1871
1871
|
n && Vt(n, a) || tS(a) || ev(e, "_data", a);
|
|
1872
1872
|
}
|
|
1873
|
-
var o =
|
|
1873
|
+
var o = kn(t);
|
|
1874
1874
|
o && o.vmCount++;
|
|
1875
1875
|
}
|
|
1876
1876
|
function gD(e, t) {
|
|
@@ -1893,7 +1893,7 @@ function yD(e, t) {
|
|
|
1893
1893
|
}
|
|
1894
1894
|
function xS(e, t, r) {
|
|
1895
1895
|
var n = !wl();
|
|
1896
|
-
ht(r) ? (
|
|
1896
|
+
ht(r) ? (Jn.get = n ? H0(t) : W0(r), Jn.set = Tt) : (Jn.get = r.get ? n && r.cache !== !1 ? H0(t) : W0(r.get) : Tt, Jn.set = r.set || Tt), Object.defineProperty(e, t, Jn);
|
|
1897
1897
|
}
|
|
1898
1898
|
function H0(e) {
|
|
1899
1899
|
return function() {
|
|
@@ -2138,7 +2138,7 @@ function MD(e) {
|
|
|
2138
2138
|
mergeOptions: Qi,
|
|
2139
2139
|
defineReactive: Zi
|
|
2140
2140
|
}, e.set = zg, e.delete = sS, e.nextTick = Gg, e.observable = function(r) {
|
|
2141
|
-
return
|
|
2141
|
+
return kn(r), r;
|
|
2142
2142
|
}, e.options = /* @__PURE__ */ Object.create(null), Id.forEach(function(r) {
|
|
2143
2143
|
e.options[r + "s"] = /* @__PURE__ */ Object.create(null);
|
|
2144
2144
|
}), e.options._base = e, Ze(e.options.components, PD), SD(e), OD(e), CD(e), ID(e);
|
|
@@ -2325,7 +2325,7 @@ function J0(e, t, r) {
|
|
|
2325
2325
|
var n = e._setupState;
|
|
2326
2326
|
n && Vt(n, t) && (Jr(n[t]) ? n[t].value = r : n[t] = r);
|
|
2327
2327
|
}
|
|
2328
|
-
var
|
|
2328
|
+
var ei = new ar("", {}, []), es = ["create", "activate", "update", "remove", "destroy"];
|
|
2329
2329
|
function bi(e, t) {
|
|
2330
2330
|
return e.key === t.key && e.asyncFactory === t.asyncFactory && (e.tag === t.tag && e.isComment === t.isComment && q(e.data) === q(t.data) && uN(e, t) || lt(e.isAsyncPlaceholder) && xe(t.asyncFactory.error));
|
|
2331
2331
|
}
|
|
@@ -2384,7 +2384,7 @@ function pN(e) {
|
|
|
2384
2384
|
for (var L, j = A; j.componentInstance; )
|
|
2385
2385
|
if (j = j.componentInstance._vnode, q(L = j.data) && q(L = L.transition)) {
|
|
2386
2386
|
for (L = 0; L < n.activate.length; ++L)
|
|
2387
|
-
n.activate[L](
|
|
2387
|
+
n.activate[L](ei, j);
|
|
2388
2388
|
O.push(j);
|
|
2389
2389
|
break;
|
|
2390
2390
|
}
|
|
@@ -2407,8 +2407,8 @@ function pN(e) {
|
|
|
2407
2407
|
}
|
|
2408
2408
|
function g(A, O) {
|
|
2409
2409
|
for (var P = 0; P < n.create.length; ++P)
|
|
2410
|
-
n.create[P](
|
|
2411
|
-
t = A.data.hook, q(t) && (q(t.create) && t.create(
|
|
2410
|
+
n.create[P](ei, A);
|
|
2411
|
+
t = A.data.hook, q(t) && (q(t.create) && t.create(ei, A), q(t.insert) && O.push(A));
|
|
2412
2412
|
}
|
|
2413
2413
|
function v(A) {
|
|
2414
2414
|
var O;
|
|
@@ -2564,7 +2564,7 @@ function pN(e) {
|
|
|
2564
2564
|
n.destroy[pe](ie);
|
|
2565
2565
|
if (ie.elm = P.elm, le) {
|
|
2566
2566
|
for (var ue = 0; ue < n.create.length; ++ue)
|
|
2567
|
-
n.create[ue](
|
|
2567
|
+
n.create[ue](ei, ie);
|
|
2568
2568
|
var ee = ie.data.hook.insert;
|
|
2569
2569
|
if (ee.merged)
|
|
2570
2570
|
for (var se = 1; se < ee.fns.length; se++)
|
|
@@ -2583,14 +2583,14 @@ var fN = {
|
|
|
2583
2583
|
create: Up,
|
|
2584
2584
|
update: Up,
|
|
2585
2585
|
destroy: function(t) {
|
|
2586
|
-
Up(t,
|
|
2586
|
+
Up(t, ei);
|
|
2587
2587
|
}
|
|
2588
2588
|
};
|
|
2589
2589
|
function Up(e, t) {
|
|
2590
2590
|
(e.data.directives || t.data.directives) && hN(e, t);
|
|
2591
2591
|
}
|
|
2592
2592
|
function hN(e, t) {
|
|
2593
|
-
var r = e ===
|
|
2593
|
+
var r = e === ei, n = t === ei, i = Z0(e.data.directives, e.context), a = Z0(t.data.directives, t.context), o = [], s = [], l, c, u;
|
|
2594
2594
|
for (l in a)
|
|
2595
2595
|
c = i[l], u = a[l], c ? (u.oldValue = c.value, u.oldArg = c.arg, ts(u, "update", t, e), u.def && u.def.componentUpdated && s.push(u)) : (ts(u, "bind", t, e), u.def && u.def.inserted && o.push(u));
|
|
2596
2596
|
if (o.length) {
|
|
@@ -2598,9 +2598,9 @@ function hN(e, t) {
|
|
|
2598
2598
|
for (var p = 0; p < o.length; p++)
|
|
2599
2599
|
ts(o[p], "inserted", t, e);
|
|
2600
2600
|
};
|
|
2601
|
-
r ?
|
|
2601
|
+
r ? Qn(t, "insert", d) : d();
|
|
2602
2602
|
}
|
|
2603
|
-
if (s.length &&
|
|
2603
|
+
if (s.length && Qn(t, "postpatch", function() {
|
|
2604
2604
|
for (var p = 0; p < s.length; p++)
|
|
2605
2605
|
ts(s[p], "componentUpdated", t, e);
|
|
2606
2606
|
}), !r)
|
|
@@ -2738,7 +2738,7 @@ var xN = {
|
|
|
2738
2738
|
update: zp,
|
|
2739
2739
|
// @ts-expect-error emptyNode has actually data
|
|
2740
2740
|
destroy: function(e) {
|
|
2741
|
-
return zp(e,
|
|
2741
|
+
return zp(e, ei);
|
|
2742
2742
|
}
|
|
2743
2743
|
}, Ql;
|
|
2744
2744
|
function r1(e, t) {
|
|
@@ -2976,7 +2976,7 @@ function mm(e, t) {
|
|
|
2976
2976
|
var D = $ && c ? c : o, S = $ && d ? d : l, N = $ && u ? u : s, K = $ && g || p, A = $ && ht(v) ? v : f, O = $ && y || h, P = $ && w || m, F = Zs(Dt(b) ? b.enter : b), L = i !== !1 && !mo, j = ov(A), z = r._enterCb = Pu(function() {
|
|
2977
2977
|
L && (bn(r, N), bn(r, S)), z.cancelled ? (L && bn(r, D), P && P(r)) : O && O(r), r._enterCb = null;
|
|
2978
2978
|
});
|
|
2979
|
-
e.data.show ||
|
|
2979
|
+
e.data.show || Qn(e, "insert", function() {
|
|
2980
2980
|
var R = r.parentNode, H = R && R._pending && R._pending[e.key];
|
|
2981
2981
|
H && H.tag === e.tag && H.elm._leaveCb && H.elm._leaveCb(), A && A(r, z);
|
|
2982
2982
|
}), K && K(r), L && (Vi(r, D), Vi(r, S), NS(function() {
|
|
@@ -3028,7 +3028,7 @@ mo && document.addEventListener("selectionchange", function() {
|
|
|
3028
3028
|
});
|
|
3029
3029
|
var VS = {
|
|
3030
3030
|
inserted: function(e, t, r, n) {
|
|
3031
|
-
r.tag === "select" ? (n.elm && !n.elm._vOptions ?
|
|
3031
|
+
r.tag === "select" ? (n.elm && !n.elm._vOptions ? Qn(r, "postpatch", function() {
|
|
3032
3032
|
VS.componentUpdated(e, t, r);
|
|
3033
3033
|
}) : p1(e, t, r.context), e._vOptions = [].map.call(e.options, zu)) : (r.tag === "textarea" || fm(e.type)) && (e._vModifiers = t.modifiers, t.modifiers.lazy || (e.addEventListener("compositionstart", FN), e.addEventListener("compositionend", m1), e.addEventListener("change", m1), mo && (e.vmodel = !0)));
|
|
3034
3034
|
},
|
|
@@ -3183,7 +3183,7 @@ var HN = function(e) {
|
|
|
3183
3183
|
!(c.componentInstance && c.componentInstance._vnode.isComment)) {
|
|
3184
3184
|
var u = c.data.transition = Ze({}, s);
|
|
3185
3185
|
if (n === "out-in")
|
|
3186
|
-
return this._leaving = !0,
|
|
3186
|
+
return this._leaving = !0, Qn(u, "afterLeave", function() {
|
|
3187
3187
|
t._leaving = !1, t.$forceUpdate();
|
|
3188
3188
|
}), g1(e, i);
|
|
3189
3189
|
if (n === "in-out") {
|
|
@@ -3192,7 +3192,7 @@ var HN = function(e) {
|
|
|
3192
3192
|
var d, p = function() {
|
|
3193
3193
|
d();
|
|
3194
3194
|
};
|
|
3195
|
-
|
|
3195
|
+
Qn(s, "afterEnter", p), Qn(s, "enterCancelled", p), Qn(u, "delayLeave", function(f) {
|
|
3196
3196
|
d = f;
|
|
3197
3197
|
});
|
|
3198
3198
|
}
|
|
@@ -3293,13 +3293,13 @@ te.prototype.$mount = function(e, t) {
|
|
|
3293
3293
|
sr && setTimeout(function() {
|
|
3294
3294
|
gr.devtools && Mu && Mu.emit("init", te);
|
|
3295
3295
|
}, 0);
|
|
3296
|
-
function
|
|
3296
|
+
function ni(e) {
|
|
3297
3297
|
"@babel/helpers - typeof";
|
|
3298
|
-
return
|
|
3298
|
+
return ni = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
3299
3299
|
return typeof t;
|
|
3300
3300
|
} : function(t) {
|
|
3301
3301
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
3302
|
-
},
|
|
3302
|
+
}, ni(e);
|
|
3303
3303
|
}
|
|
3304
3304
|
function XN(e, t, r) {
|
|
3305
3305
|
return t in e ? Object.defineProperty(e, t, {
|
|
@@ -3341,7 +3341,7 @@ function ea(e) {
|
|
|
3341
3341
|
return e;
|
|
3342
3342
|
}
|
|
3343
3343
|
function nl(e, t) {
|
|
3344
|
-
if (t && (
|
|
3344
|
+
if (t && (ni(t) === "object" || typeof t == "function"))
|
|
3345
3345
|
return t;
|
|
3346
3346
|
if (t !== void 0)
|
|
3347
3347
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -3695,7 +3695,7 @@ var Pd = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
3695
3695
|
key: "translate",
|
|
3696
3696
|
value: function(n, i, a) {
|
|
3697
3697
|
var o = this;
|
|
3698
|
-
if (
|
|
3698
|
+
if (ni(i) !== "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), i || (i = {}), n == null)
|
|
3699
3699
|
return "";
|
|
3700
3700
|
Array.isArray(n) || (n = [String(n)]);
|
|
3701
3701
|
var s = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, l = this.extractFromKey(n[n.length - 1], i), c = l.key, u = l.namespaces, d = u[u.length - 1], p = i.lng || this.language, f = i.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
@@ -4419,7 +4419,7 @@ function h4() {
|
|
|
4419
4419
|
appendNamespaceToCIMode: !1,
|
|
4420
4420
|
overloadTranslationOptionHandler: function(t) {
|
|
4421
4421
|
var r = {};
|
|
4422
|
-
if (
|
|
4422
|
+
if (ni(t[1]) === "object" && (r = t[1]), typeof t[1] == "string" && (r.defaultValue = t[1]), typeof t[2] == "string" && (r.tDescription = t[2]), ni(t[2]) === "object" || ni(t[3]) === "object") {
|
|
4423
4423
|
var n = t[3] || t[2];
|
|
4424
4424
|
Object.keys(n).forEach(function(i) {
|
|
4425
4425
|
r[i] = n[i];
|
|
@@ -4596,7 +4596,7 @@ var m4 = function(e) {
|
|
|
4596
4596
|
value: function(n, i) {
|
|
4597
4597
|
var a = this, o = function s(l, c) {
|
|
4598
4598
|
var u;
|
|
4599
|
-
if (
|
|
4599
|
+
if (ni(c) !== "object") {
|
|
4600
4600
|
for (var d = arguments.length, p = new Array(d > 2 ? d - 2 : 0), f = 2; f < d; f++)
|
|
4601
4601
|
p[f - 2] = arguments[f];
|
|
4602
4602
|
u = a.options.overloadTranslationOptionHandler([l, c].concat(p));
|
|
@@ -7617,10 +7617,6 @@ const qp = ["start", "base", "pro"], lr = {
|
|
|
7617
7617
|
}
|
|
7618
7618
|
},
|
|
7619
7619
|
documentForm: {
|
|
7620
|
-
addonDocumentCallout: {
|
|
7621
|
-
title: "Tilläggsdokument",
|
|
7622
|
-
description: "Det här dokumentet har en koppling till"
|
|
7623
|
-
},
|
|
7624
7620
|
misc: {
|
|
7625
7621
|
addSample: "Klicka på '{{thing}}' för att testa exemplet."
|
|
7626
7622
|
},
|
|
@@ -7706,7 +7702,6 @@ const qp = ["start", "base", "pro"], lr = {
|
|
|
7706
7702
|
title: "Vem är din kund?",
|
|
7707
7703
|
// todo: need new wording?
|
|
7708
7704
|
subTitle: "Lägg till en mottagare.",
|
|
7709
|
-
dropdownTooltip: "Redigera / Byt mottagare",
|
|
7710
7705
|
errorMessage: "Lägg till en mottagare",
|
|
7711
7706
|
search: {
|
|
7712
7707
|
label: "En mottagare jag redan har",
|
|
@@ -7719,10 +7714,6 @@ const qp = ["start", "base", "pro"], lr = {
|
|
|
7719
7714
|
me: "Lägg till mig!",
|
|
7720
7715
|
fake: "Lägg till en låtsaskund"
|
|
7721
7716
|
},
|
|
7722
|
-
extraList: {
|
|
7723
|
-
coApplicant: "Medsökande",
|
|
7724
|
-
recipient: "Mottagare"
|
|
7725
|
-
},
|
|
7726
7717
|
unsavedDialog: {
|
|
7727
7718
|
title: "Osparade ändringar",
|
|
7728
7719
|
message: "Är du säker på att du vill avbryta?",
|
|
@@ -8191,24 +8182,6 @@ Anteckningar är enbart synlig för dig & dina kollegor.`,
|
|
|
8191
8182
|
}
|
|
8192
8183
|
}
|
|
8193
8184
|
},
|
|
8194
|
-
extraClient: {
|
|
8195
|
-
placeholders: {
|
|
8196
|
-
optional: "Frivilligt",
|
|
8197
|
-
name: "Kundens namn"
|
|
8198
|
-
},
|
|
8199
|
-
mustAnswer: {
|
|
8200
|
-
title: "Måste besvara dokumentet",
|
|
8201
|
-
subTitle: "För att dokumentet ska bli signerat."
|
|
8202
|
-
},
|
|
8203
|
-
validations: {
|
|
8204
|
-
email: {
|
|
8205
|
-
email: "E-posten är ogiltig"
|
|
8206
|
-
},
|
|
8207
|
-
cellphone: {
|
|
8208
|
-
numeric: "Ange enbart siffror"
|
|
8209
|
-
}
|
|
8210
|
-
}
|
|
8211
|
-
},
|
|
8212
8185
|
invoiceContact: {
|
|
8213
8186
|
label: "Kontaktperson",
|
|
8214
8187
|
placeholder: "För- och efternamn",
|
|
@@ -10510,10 +10483,6 @@ För att underlätta din ansökan om avdrag så behöver {{company.name}} din fa
|
|
|
10510
10483
|
}
|
|
10511
10484
|
},
|
|
10512
10485
|
documentForm: {
|
|
10513
|
-
addonDocumentCallout: {
|
|
10514
|
-
title: "Adherence agreement",
|
|
10515
|
-
description: "This document has a connection to"
|
|
10516
|
-
},
|
|
10517
10486
|
misc: {
|
|
10518
10487
|
addSample: "Click '{{thing}}' to try this sample."
|
|
10519
10488
|
},
|
|
@@ -10599,7 +10568,6 @@ För att underlätta din ansökan om avdrag så behöver {{company.name}} din fa
|
|
|
10599
10568
|
title: "Who's your client?",
|
|
10600
10569
|
// todo: need new wording?
|
|
10601
10570
|
subTitle: "Add a recipient.",
|
|
10602
|
-
dropdownTooltip: "Edit / change recipient",
|
|
10603
10571
|
errorMessage: "Add a recipient.",
|
|
10604
10572
|
search: {
|
|
10605
10573
|
label: "A recipient I already have",
|
|
@@ -10612,10 +10580,6 @@ För att underlätta din ansökan om avdrag så behöver {{company.name}} din fa
|
|
|
10612
10580
|
me: "Add me!",
|
|
10613
10581
|
fake: "Add sample recipient"
|
|
10614
10582
|
},
|
|
10615
|
-
extraList: {
|
|
10616
|
-
coApplicant: "Co. applicant",
|
|
10617
|
-
recipient: "Receiver"
|
|
10618
|
-
},
|
|
10619
10583
|
unsavedDialog: {
|
|
10620
10584
|
title: "Unsaved changes",
|
|
10621
10585
|
message: "Are you sure you want to cancel?",
|
|
@@ -11125,24 +11089,6 @@ Notes are only visible to you & your team.`,
|
|
|
11125
11089
|
}
|
|
11126
11090
|
}
|
|
11127
11091
|
},
|
|
11128
|
-
extraClient: {
|
|
11129
|
-
placeholders: {
|
|
11130
|
-
optional: "Optional",
|
|
11131
|
-
name: "Client name"
|
|
11132
|
-
},
|
|
11133
|
-
mustAnswer: {
|
|
11134
|
-
title: "Document must be answered",
|
|
11135
|
-
subTitle: "In order for the document to become accepted."
|
|
11136
|
-
},
|
|
11137
|
-
validations: {
|
|
11138
|
-
email: {
|
|
11139
|
-
email: "Invalid email"
|
|
11140
|
-
},
|
|
11141
|
-
cellphone: {
|
|
11142
|
-
numeric: "Only numbers"
|
|
11143
|
-
}
|
|
11144
|
-
}
|
|
11145
|
-
},
|
|
11146
11092
|
invoiceContact: {
|
|
11147
11093
|
label: "Contact person",
|
|
11148
11094
|
placeholder: "First and last name",
|
|
@@ -11612,7 +11558,7 @@ var ML = {
|
|
|
11612
11558
|
return ze(a, r.length);
|
|
11613
11559
|
}
|
|
11614
11560
|
};
|
|
11615
|
-
const
|
|
11561
|
+
const Mn = ML;
|
|
11616
11562
|
var Ta = {
|
|
11617
11563
|
am: "am",
|
|
11618
11564
|
pm: "pm",
|
|
@@ -11652,7 +11598,7 @@ var Ta = {
|
|
|
11652
11598
|
unit: "year"
|
|
11653
11599
|
});
|
|
11654
11600
|
}
|
|
11655
|
-
return
|
|
11601
|
+
return Mn.y(t, r);
|
|
11656
11602
|
},
|
|
11657
11603
|
// Local week-numbering year
|
|
11658
11604
|
Y: function(t, r, n, i) {
|
|
@@ -11749,7 +11695,7 @@ var Ta = {
|
|
|
11749
11695
|
switch (r) {
|
|
11750
11696
|
case "M":
|
|
11751
11697
|
case "MM":
|
|
11752
|
-
return
|
|
11698
|
+
return Mn.M(t, r);
|
|
11753
11699
|
case "Mo":
|
|
11754
11700
|
return n.ordinalNumber(i + 1, {
|
|
11755
11701
|
unit: "month"
|
|
@@ -11820,7 +11766,7 @@ var Ta = {
|
|
|
11820
11766
|
d: function(t, r, n) {
|
|
11821
11767
|
return r === "do" ? n.ordinalNumber(t.getUTCDate(), {
|
|
11822
11768
|
unit: "date"
|
|
11823
|
-
}) :
|
|
11769
|
+
}) : Mn.d(t, r);
|
|
11824
11770
|
},
|
|
11825
11771
|
// Day of year
|
|
11826
11772
|
D: function(t, r, n) {
|
|
@@ -12051,13 +11997,13 @@ var Ta = {
|
|
|
12051
11997
|
unit: "hour"
|
|
12052
11998
|
});
|
|
12053
11999
|
}
|
|
12054
|
-
return
|
|
12000
|
+
return Mn.h(t, r);
|
|
12055
12001
|
},
|
|
12056
12002
|
// Hour [0-23]
|
|
12057
12003
|
H: function(t, r, n) {
|
|
12058
12004
|
return r === "Ho" ? n.ordinalNumber(t.getUTCHours(), {
|
|
12059
12005
|
unit: "hour"
|
|
12060
|
-
}) :
|
|
12006
|
+
}) : Mn.H(t, r);
|
|
12061
12007
|
},
|
|
12062
12008
|
// Hour [0-11]
|
|
12063
12009
|
K: function(t, r, n) {
|
|
@@ -12077,17 +12023,17 @@ var Ta = {
|
|
|
12077
12023
|
m: function(t, r, n) {
|
|
12078
12024
|
return r === "mo" ? n.ordinalNumber(t.getUTCMinutes(), {
|
|
12079
12025
|
unit: "minute"
|
|
12080
|
-
}) :
|
|
12026
|
+
}) : Mn.m(t, r);
|
|
12081
12027
|
},
|
|
12082
12028
|
// Second
|
|
12083
12029
|
s: function(t, r, n) {
|
|
12084
12030
|
return r === "so" ? n.ordinalNumber(t.getUTCSeconds(), {
|
|
12085
12031
|
unit: "second"
|
|
12086
|
-
}) :
|
|
12032
|
+
}) : Mn.s(t, r);
|
|
12087
12033
|
},
|
|
12088
12034
|
// Fraction of second
|
|
12089
12035
|
S: function(t, r) {
|
|
12090
|
-
return
|
|
12036
|
+
return Mn.S(t, r);
|
|
12091
12037
|
},
|
|
12092
12038
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
12093
12039
|
X: function(t, r, n, i) {
|
|
@@ -15535,9 +15481,9 @@ class Ud {
|
|
|
15535
15481
|
Ud.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
15536
15482
|
Q.freezeMethods(Ud.prototype);
|
|
15537
15483
|
Q.freezeMethods(Ud);
|
|
15538
|
-
const
|
|
15484
|
+
const En = Ud;
|
|
15539
15485
|
function tf(e, t) {
|
|
15540
|
-
const r = this || hv, n = t || r, i =
|
|
15486
|
+
const r = this || hv, n = t || r, i = En.from(n.headers);
|
|
15541
15487
|
let a = n.data;
|
|
15542
15488
|
return Q.forEach(e, function(s) {
|
|
15543
15489
|
a = s.call(r, a, i.normalize(), t ? t.status : void 0);
|
|
@@ -15675,7 +15621,7 @@ function Y1(e, t) {
|
|
|
15675
15621
|
const $j = typeof XMLHttpRequest < "u", Ij = $j && function(e) {
|
|
15676
15622
|
return new Promise(function(r, n) {
|
|
15677
15623
|
let i = e.data;
|
|
15678
|
-
const a =
|
|
15624
|
+
const a = En.from(e.headers).normalize(), o = e.responseType;
|
|
15679
15625
|
let s;
|
|
15680
15626
|
function l() {
|
|
15681
15627
|
e.cancelToken && e.cancelToken.unsubscribe(s), e.signal && e.signal.removeEventListener("abort", s);
|
|
@@ -15691,7 +15637,7 @@ const $j = typeof XMLHttpRequest < "u", Ij = $j && function(e) {
|
|
|
15691
15637
|
function d() {
|
|
15692
15638
|
if (!c)
|
|
15693
15639
|
return;
|
|
15694
|
-
const f =
|
|
15640
|
+
const f = En.from(
|
|
15695
15641
|
"getAllResponseHeaders" in c && c.getAllResponseHeaders()
|
|
15696
15642
|
), m = {
|
|
15697
15643
|
data: !o || o === "text" || o === "json" ? c.responseText : c.response,
|
|
@@ -15776,7 +15722,7 @@ function rf(e) {
|
|
|
15776
15722
|
throw new kl(null, e);
|
|
15777
15723
|
}
|
|
15778
15724
|
function J1(e) {
|
|
15779
|
-
return rf(e), e.headers =
|
|
15725
|
+
return rf(e), e.headers = En.from(e.headers), e.data = tf.call(
|
|
15780
15726
|
e,
|
|
15781
15727
|
e.transformRequest
|
|
15782
15728
|
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Rj.getAdapter(e.adapter || hv.adapter)(e).then(function(n) {
|
|
@@ -15784,16 +15730,16 @@ function J1(e) {
|
|
|
15784
15730
|
e,
|
|
15785
15731
|
e.transformResponse,
|
|
15786
15732
|
n
|
|
15787
|
-
), n.headers =
|
|
15733
|
+
), n.headers = En.from(n.headers), n;
|
|
15788
15734
|
}, function(n) {
|
|
15789
15735
|
return RO(n) || (rf(e), n && n.response && (n.response.data = tf.call(
|
|
15790
15736
|
e,
|
|
15791
15737
|
e.transformResponse,
|
|
15792
15738
|
n.response
|
|
15793
|
-
), n.response.headers =
|
|
15739
|
+
), n.response.headers = En.from(n.response.headers))), Promise.reject(n);
|
|
15794
15740
|
});
|
|
15795
15741
|
}
|
|
15796
|
-
const Z1 = (e) => e instanceof
|
|
15742
|
+
const Z1 = (e) => e instanceof En ? e.toJSON() : e;
|
|
15797
15743
|
function ao(e, t) {
|
|
15798
15744
|
t = t || {};
|
|
15799
15745
|
const r = {};
|
|
@@ -15904,7 +15850,7 @@ function Pj(e, t, r) {
|
|
|
15904
15850
|
const km = {
|
|
15905
15851
|
assertOptions: Pj,
|
|
15906
15852
|
validators: mv
|
|
15907
|
-
},
|
|
15853
|
+
}, Dn = km.validators;
|
|
15908
15854
|
class Ju {
|
|
15909
15855
|
constructor(t) {
|
|
15910
15856
|
this.defaults = t, this.interceptors = {
|
|
@@ -15924,14 +15870,14 @@ class Ju {
|
|
|
15924
15870
|
typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = ao(this.defaults, r);
|
|
15925
15871
|
const { transitional: n, paramsSerializer: i, headers: a } = r;
|
|
15926
15872
|
n !== void 0 && km.assertOptions(n, {
|
|
15927
|
-
silentJSONParsing:
|
|
15928
|
-
forcedJSONParsing:
|
|
15929
|
-
clarifyTimeoutError:
|
|
15873
|
+
silentJSONParsing: Dn.transitional(Dn.boolean),
|
|
15874
|
+
forcedJSONParsing: Dn.transitional(Dn.boolean),
|
|
15875
|
+
clarifyTimeoutError: Dn.transitional(Dn.boolean)
|
|
15930
15876
|
}, !1), i != null && (Q.isFunction(i) ? r.paramsSerializer = {
|
|
15931
15877
|
serialize: i
|
|
15932
15878
|
} : km.assertOptions(i, {
|
|
15933
|
-
encode:
|
|
15934
|
-
serialize:
|
|
15879
|
+
encode: Dn.function,
|
|
15880
|
+
serialize: Dn.function
|
|
15935
15881
|
}, !0)), r.method = (r.method || this.defaults.method || "get").toLowerCase();
|
|
15936
15882
|
let o;
|
|
15937
15883
|
o = a && Q.merge(
|
|
@@ -15942,7 +15888,7 @@ class Ju {
|
|
|
15942
15888
|
(h) => {
|
|
15943
15889
|
delete a[h];
|
|
15944
15890
|
}
|
|
15945
|
-
), r.headers =
|
|
15891
|
+
), r.headers = En.concat(o, a);
|
|
15946
15892
|
const s = [];
|
|
15947
15893
|
let l = !0;
|
|
15948
15894
|
this.interceptors.request.forEach(function(m) {
|
|
@@ -16177,11 +16123,11 @@ _t.all = function(t) {
|
|
|
16177
16123
|
_t.spread = Dj;
|
|
16178
16124
|
_t.isAxiosError = Nj;
|
|
16179
16125
|
_t.mergeConfig = ao;
|
|
16180
|
-
_t.AxiosHeaders =
|
|
16126
|
+
_t.AxiosHeaders = En;
|
|
16181
16127
|
_t.formToJSON = (e) => IO(Q.isHTMLForm(e) ? new FormData(e) : e);
|
|
16182
16128
|
_t.HttpStatusCode = Lj;
|
|
16183
16129
|
_t.default = _t;
|
|
16184
|
-
const
|
|
16130
|
+
const Tn = _t;
|
|
16185
16131
|
function jj() {
|
|
16186
16132
|
this.__data__ = [], this.size = 0;
|
|
16187
16133
|
}
|
|
@@ -16475,11 +16421,11 @@ var zU = BU;
|
|
|
16475
16421
|
function HU(e) {
|
|
16476
16422
|
return e != null && typeof e == "object";
|
|
16477
16423
|
}
|
|
16478
|
-
var
|
|
16424
|
+
var In = HU, WU = _o, GU = In, qU = "[object Arguments]";
|
|
16479
16425
|
function KU(e) {
|
|
16480
16426
|
return GU(e) && WU(e) == qU;
|
|
16481
16427
|
}
|
|
16482
|
-
var YU = KU, ow = YU, JU =
|
|
16428
|
+
var YU = KU, ow = YU, JU = In, BO = Object.prototype, ZU = BO.hasOwnProperty, XU = BO.propertyIsEnumerable, QU = ow(function() {
|
|
16483
16429
|
return arguments;
|
|
16484
16430
|
}()) ? ow : function(e) {
|
|
16485
16431
|
return JU(e) && ZU.call(e, "callee") && !XU.call(e, "callee");
|
|
@@ -16502,7 +16448,7 @@ var xv = a9, o9 = 9007199254740991;
|
|
|
16502
16448
|
function s9(e) {
|
|
16503
16449
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= o9;
|
|
16504
16450
|
}
|
|
16505
|
-
var kv = s9, l9 = _o, c9 = kv, u9 =
|
|
16451
|
+
var kv = s9, l9 = _o, c9 = kv, u9 = In, d9 = "[object Arguments]", p9 = "[object Array]", f9 = "[object Boolean]", h9 = "[object Date]", m9 = "[object Error]", g9 = "[object Function]", v9 = "[object Map]", y9 = "[object Number]", b9 = "[object Object]", w9 = "[object RegExp]", _9 = "[object Set]", E9 = "[object String]", T9 = "[object WeakMap]", x9 = "[object ArrayBuffer]", k9 = "[object DataView]", S9 = "[object Float32Array]", O9 = "[object Float64Array]", C9 = "[object Int8Array]", A9 = "[object Int16Array]", $9 = "[object Int32Array]", I9 = "[object Uint8Array]", R9 = "[object Uint8ClampedArray]", P9 = "[object Uint16Array]", M9 = "[object Uint32Array]", tt = {};
|
|
16506
16452
|
tt[S9] = tt[O9] = tt[C9] = tt[A9] = tt[$9] = tt[I9] = tt[R9] = tt[P9] = tt[M9] = !0;
|
|
16507
16453
|
tt[d9] = tt[p9] = tt[x9] = tt[f9] = tt[k9] = tt[h9] = tt[m9] = tt[g9] = tt[v9] = tt[y9] = tt[b9] = tt[w9] = tt[_9] = tt[E9] = tt[T9] = !1;
|
|
16508
16454
|
function D9(e) {
|
|
@@ -16757,11 +16703,11 @@ var Pz = Rz, Mz = la, bw = Object.create, Dz = function() {
|
|
|
16757
16703
|
function Uz(e) {
|
|
16758
16704
|
return typeof e.constructor == "function" && !Fz(e) ? Lz(jz(e)) : {};
|
|
16759
16705
|
}
|
|
16760
|
-
var Vz = Uz, Bz = Kd, zz =
|
|
16706
|
+
var Vz = Uz, Bz = Kd, zz = In, Hz = "[object Map]";
|
|
16761
16707
|
function Wz(e) {
|
|
16762
16708
|
return zz(e) && Bz(e) == Hz;
|
|
16763
16709
|
}
|
|
16764
|
-
var Gz = Wz, qz = Gz, Kz = Gd, ww = Sv, _w = ww && ww.isMap, Yz = _w ? Kz(_w) : qz, Jz = Yz, Zz = Kd, Xz =
|
|
16710
|
+
var Gz = Wz, qz = Gz, Kz = Gd, ww = Sv, _w = ww && ww.isMap, Yz = _w ? Kz(_w) : qz, Jz = Yz, Zz = Kd, Xz = In, Qz = "[object Set]";
|
|
16765
16711
|
function eH(e) {
|
|
16766
16712
|
return Xz(e) && Zz(e) == Qz;
|
|
16767
16713
|
}
|
|
@@ -17080,7 +17026,7 @@ function hRe(e, t) {
|
|
|
17080
17026
|
}
|
|
17081
17027
|
return xw(i, a) ? 1 : xw(a, i) ? -1 : 0;
|
|
17082
17028
|
}
|
|
17083
|
-
function
|
|
17029
|
+
function Sn(e, t = []) {
|
|
17084
17030
|
return !t || Ve(t) === "array" && !t.length ? e : Object.keys(e).filter((n) => t.includes(n)).reduce(
|
|
17085
17031
|
(n, i) => ({
|
|
17086
17032
|
...n,
|
|
@@ -17089,7 +17035,7 @@ function kn(e, t = []) {
|
|
|
17089
17035
|
{}
|
|
17090
17036
|
);
|
|
17091
17037
|
}
|
|
17092
|
-
function
|
|
17038
|
+
function Zn(e, t = []) {
|
|
17093
17039
|
return !t || Ve(t) === "array" && !t.length ? e : Object.keys(e).filter((n) => !t.includes(n)).reduce(
|
|
17094
17040
|
(n, i) => ({
|
|
17095
17041
|
...n,
|
|
@@ -17214,7 +17160,7 @@ const vRe = (e) => ({
|
|
|
17214
17160
|
}, OW = async (e, { defaultRegion: t } = {}) => {
|
|
17215
17161
|
if (!e)
|
|
17216
17162
|
return null;
|
|
17217
|
-
const { data: r } = await
|
|
17163
|
+
const { data: r } = await Tn.post(
|
|
17218
17164
|
`${Te.api.baseUrl}/public/validate/phone`,
|
|
17219
17165
|
{ phone: e, defaultRegion: t }
|
|
17220
17166
|
);
|
|
@@ -23240,7 +23186,7 @@ var VG = {
|
|
|
23240
23186
|
Dw(t);
|
|
23241
23187
|
}
|
|
23242
23188
|
};
|
|
23243
|
-
function
|
|
23189
|
+
function Nn(e) {
|
|
23244
23190
|
var t = Fe.options.popover[e];
|
|
23245
23191
|
return typeof t > "u" ? Fe.options[e] : t;
|
|
23246
23192
|
}
|
|
@@ -23266,49 +23212,49 @@ var BG = {
|
|
|
23266
23212
|
placement: {
|
|
23267
23213
|
type: String,
|
|
23268
23214
|
default: function() {
|
|
23269
|
-
return
|
|
23215
|
+
return Nn("defaultPlacement");
|
|
23270
23216
|
}
|
|
23271
23217
|
},
|
|
23272
23218
|
delay: {
|
|
23273
23219
|
type: [String, Number, Object],
|
|
23274
23220
|
default: function() {
|
|
23275
|
-
return
|
|
23221
|
+
return Nn("defaultDelay");
|
|
23276
23222
|
}
|
|
23277
23223
|
},
|
|
23278
23224
|
offset: {
|
|
23279
23225
|
type: [String, Number],
|
|
23280
23226
|
default: function() {
|
|
23281
|
-
return
|
|
23227
|
+
return Nn("defaultOffset");
|
|
23282
23228
|
}
|
|
23283
23229
|
},
|
|
23284
23230
|
trigger: {
|
|
23285
23231
|
type: String,
|
|
23286
23232
|
default: function() {
|
|
23287
|
-
return
|
|
23233
|
+
return Nn("defaultTrigger");
|
|
23288
23234
|
}
|
|
23289
23235
|
},
|
|
23290
23236
|
container: {
|
|
23291
23237
|
type: [String, Object, Wm, Boolean],
|
|
23292
23238
|
default: function() {
|
|
23293
|
-
return
|
|
23239
|
+
return Nn("defaultContainer");
|
|
23294
23240
|
}
|
|
23295
23241
|
},
|
|
23296
23242
|
boundariesElement: {
|
|
23297
23243
|
type: [String, Wm],
|
|
23298
23244
|
default: function() {
|
|
23299
|
-
return
|
|
23245
|
+
return Nn("defaultBoundariesElement");
|
|
23300
23246
|
}
|
|
23301
23247
|
},
|
|
23302
23248
|
popperOptions: {
|
|
23303
23249
|
type: Object,
|
|
23304
23250
|
default: function() {
|
|
23305
|
-
return
|
|
23251
|
+
return Nn("defaultPopperOptions");
|
|
23306
23252
|
}
|
|
23307
23253
|
},
|
|
23308
23254
|
popoverClass: {
|
|
23309
23255
|
type: [String, Array],
|
|
23310
23256
|
default: function() {
|
|
23311
|
-
return
|
|
23257
|
+
return Nn("defaultClass");
|
|
23312
23258
|
}
|
|
23313
23259
|
},
|
|
23314
23260
|
popoverBaseClass: {
|
|
@@ -24415,22 +24361,22 @@ function Bs(e) {
|
|
|
24415
24361
|
return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
|
24416
24362
|
}, Bs(e);
|
|
24417
24363
|
}
|
|
24418
|
-
var XC = [],
|
|
24419
|
-
or.target =
|
|
24364
|
+
var XC = [], xn = null;
|
|
24365
|
+
or.target = xn;
|
|
24420
24366
|
var vZ = function(t) {
|
|
24421
|
-
or.target =
|
|
24367
|
+
or.target = xn = t;
|
|
24422
24368
|
};
|
|
24423
24369
|
or._setTarget = vZ;
|
|
24424
24370
|
function QC() {
|
|
24425
|
-
|
|
24371
|
+
xn !== null && XC.push(xn), or.target = xn = {};
|
|
24426
24372
|
}
|
|
24427
24373
|
function eA() {
|
|
24428
|
-
var e =
|
|
24374
|
+
var e = xn, t = or.target = xn = XC.pop() || null;
|
|
24429
24375
|
return t && (Array.isArray(t.$sub) || (t.$sub = []), t.$sub.push(e)), e;
|
|
24430
24376
|
}
|
|
24431
24377
|
function yZ(e) {
|
|
24432
24378
|
if (Bs(e) === "object" && !Array.isArray(e))
|
|
24433
|
-
or.target =
|
|
24379
|
+
or.target = xn = mZ({}, xn, {}, e);
|
|
24434
24380
|
else
|
|
24435
24381
|
throw new Error("params must be an object");
|
|
24436
24382
|
}
|
|
@@ -27179,19 +27125,19 @@ function o_(e) {
|
|
|
27179
27125
|
return t = !0, e.apply(this, r);
|
|
27180
27126
|
};
|
|
27181
27127
|
}
|
|
27182
|
-
var
|
|
27128
|
+
var Rn = function(t, r) {
|
|
27183
27129
|
this.router = t, this.base = IQ(r), this.current = rp, this.pending = null, this.ready = !1, this.readyCbs = [], this.readyErrorCbs = [], this.errorCbs = [];
|
|
27184
27130
|
};
|
|
27185
|
-
|
|
27131
|
+
Rn.prototype.listen = function(t) {
|
|
27186
27132
|
this.cb = t;
|
|
27187
27133
|
};
|
|
27188
|
-
|
|
27134
|
+
Rn.prototype.onReady = function(t, r) {
|
|
27189
27135
|
this.ready ? t() : (this.readyCbs.push(t), r && this.readyErrorCbs.push(r));
|
|
27190
27136
|
};
|
|
27191
|
-
|
|
27137
|
+
Rn.prototype.onError = function(t) {
|
|
27192
27138
|
this.errorCbs.push(t);
|
|
27193
27139
|
};
|
|
27194
|
-
|
|
27140
|
+
Rn.prototype.transitionTo = function(t, r, n) {
|
|
27195
27141
|
var i = this, a = this.router.match(t, this.current);
|
|
27196
27142
|
this.confirmTransition(a, function() {
|
|
27197
27143
|
i.updateRoute(a), r && r(a), i.ensureURL(), i.ready || (i.ready = !0, i.readyCbs.forEach(function(o) {
|
|
@@ -27203,7 +27149,7 @@ In.prototype.transitionTo = function(t, r, n) {
|
|
|
27203
27149
|
}));
|
|
27204
27150
|
});
|
|
27205
27151
|
};
|
|
27206
|
-
|
|
27152
|
+
Rn.prototype.confirmTransition = function(t, r, n) {
|
|
27207
27153
|
var i = this, a = this.current, o = function(f) {
|
|
27208
27154
|
Qm(f) && (i.errorCbs.length ? i.errorCbs.forEach(function(h) {
|
|
27209
27155
|
h(f);
|
|
@@ -27253,7 +27199,7 @@ In.prototype.confirmTransition = function(t, r, n) {
|
|
|
27253
27199
|
});
|
|
27254
27200
|
});
|
|
27255
27201
|
};
|
|
27256
|
-
|
|
27202
|
+
Rn.prototype.updateRoute = function(t) {
|
|
27257
27203
|
var r = this.current;
|
|
27258
27204
|
this.current = t, this.cb && this.cb(t), this.router.afterHooks.forEach(function(n) {
|
|
27259
27205
|
n && n(t, r);
|
|
@@ -27356,7 +27302,7 @@ var PA = function(e) {
|
|
|
27356
27302
|
}, t.prototype.getCurrentLocation = function() {
|
|
27357
27303
|
return Ps(this.base);
|
|
27358
27304
|
}, t;
|
|
27359
|
-
}(
|
|
27305
|
+
}(Rn);
|
|
27360
27306
|
function Ps(e) {
|
|
27361
27307
|
var t = window.location.pathname;
|
|
27362
27308
|
return e && t.indexOf(e) === 0 && (t = t.slice(e.length)), (t || "/") + window.location.search + window.location.hash;
|
|
@@ -27391,7 +27337,7 @@ var MA = function(e) {
|
|
|
27391
27337
|
}, t.prototype.getCurrentLocation = function() {
|
|
27392
27338
|
return yu();
|
|
27393
27339
|
}, t;
|
|
27394
|
-
}(
|
|
27340
|
+
}(Rn);
|
|
27395
27341
|
function jQ(e) {
|
|
27396
27342
|
var t = Ps(e);
|
|
27397
27343
|
if (!/^\/#/.test(t))
|
|
@@ -27444,7 +27390,7 @@ var FQ = function(e) {
|
|
|
27444
27390
|
return n ? n.fullPath : "/";
|
|
27445
27391
|
}, t.prototype.ensureURL = function() {
|
|
27446
27392
|
}, t;
|
|
27447
|
-
}(
|
|
27393
|
+
}(Rn), gt = function(t) {
|
|
27448
27394
|
t === void 0 && (t = {}), this.app = null, this.apps = [], this.options = t, this.beforeHooks = [], this.resolveHooks = [], this.afterHooks = [], this.matcher = wQ(t.routes || [], this);
|
|
27449
27395
|
var r = t.mode || "hash";
|
|
27450
27396
|
switch (this.fallback = r === "history" && !eo && t.fallback !== !1, this.fallback && (r = "hash"), $l || (r = "abstract"), this.mode = r, r) {
|
|
@@ -27564,7 +27510,7 @@ const VQ = [
|
|
|
27564
27510
|
{
|
|
27565
27511
|
name: "form",
|
|
27566
27512
|
path: "/form",
|
|
27567
|
-
component: () => import("./DocForm-
|
|
27513
|
+
component: () => import("./DocForm-88aad3f9.js"),
|
|
27568
27514
|
props: !0,
|
|
27569
27515
|
meta: {
|
|
27570
27516
|
mode: "modal",
|
|
@@ -27576,7 +27522,7 @@ const VQ = [
|
|
|
27576
27522
|
{
|
|
27577
27523
|
name: "document",
|
|
27578
27524
|
path: "/document",
|
|
27579
|
-
component: () => import("./DocumentLayout-
|
|
27525
|
+
component: () => import("./DocumentLayout-7f21170a.js").then((e) => e.c),
|
|
27580
27526
|
props: !0,
|
|
27581
27527
|
meta: {
|
|
27582
27528
|
mode: "modal",
|
|
@@ -27589,7 +27535,7 @@ const VQ = [
|
|
|
27589
27535
|
{
|
|
27590
27536
|
name: "send",
|
|
27591
27537
|
path: "/send",
|
|
27592
|
-
component: () => import("./DocFormSend-
|
|
27538
|
+
component: () => import("./DocFormSend-7822495a.js"),
|
|
27593
27539
|
props: !0,
|
|
27594
27540
|
meta: {
|
|
27595
27541
|
mode: "drawer",
|
|
@@ -27601,7 +27547,7 @@ const VQ = [
|
|
|
27601
27547
|
{
|
|
27602
27548
|
name: "print",
|
|
27603
27549
|
path: "/print",
|
|
27604
|
-
component: () => import("./DocPrint-
|
|
27550
|
+
component: () => import("./DocPrint-ab80350b.js"),
|
|
27605
27551
|
props: !0,
|
|
27606
27552
|
meta: {
|
|
27607
27553
|
mode: "modal",
|
|
@@ -27612,7 +27558,7 @@ const VQ = [
|
|
|
27612
27558
|
{
|
|
27613
27559
|
name: "sendReminder",
|
|
27614
27560
|
path: "/sendReminder",
|
|
27615
|
-
component: () => import("./DocSendReminder-
|
|
27561
|
+
component: () => import("./DocSendReminder-604537a5.js"),
|
|
27616
27562
|
props: !0,
|
|
27617
27563
|
meta: {
|
|
27618
27564
|
mode: "modal",
|
|
@@ -27623,7 +27569,7 @@ const VQ = [
|
|
|
27623
27569
|
{
|
|
27624
27570
|
name: "timeline",
|
|
27625
27571
|
path: "/timeline",
|
|
27626
|
-
component: () => import("./DocTimeline-
|
|
27572
|
+
component: () => import("./DocTimeline-f528fe03.js"),
|
|
27627
27573
|
props: !0,
|
|
27628
27574
|
meta: {
|
|
27629
27575
|
mode: "modal",
|
|
@@ -27633,7 +27579,7 @@ const VQ = [
|
|
|
27633
27579
|
{
|
|
27634
27580
|
name: "receipt",
|
|
27635
27581
|
path: "/receipt",
|
|
27636
|
-
component: () => import("./DocReceipt-
|
|
27582
|
+
component: () => import("./DocReceipt-a418995c.js"),
|
|
27637
27583
|
props: !0,
|
|
27638
27584
|
meta: {
|
|
27639
27585
|
mode: "modal",
|
|
@@ -27643,7 +27589,7 @@ const VQ = [
|
|
|
27643
27589
|
{
|
|
27644
27590
|
name: "documentClient",
|
|
27645
27591
|
path: "/documentClient",
|
|
27646
|
-
component: () => import("./DocumentClient-
|
|
27592
|
+
component: () => import("./DocumentClient-63eee0be.js"),
|
|
27647
27593
|
props: !0,
|
|
27648
27594
|
meta: {
|
|
27649
27595
|
mode: "modal",
|
|
@@ -27655,7 +27601,7 @@ const VQ = [
|
|
|
27655
27601
|
{
|
|
27656
27602
|
name: "setup",
|
|
27657
27603
|
path: "/setup",
|
|
27658
|
-
component: () => import("./Setup-
|
|
27604
|
+
component: () => import("./Setup-2ceea9c6.js"),
|
|
27659
27605
|
props: !0,
|
|
27660
27606
|
meta: {
|
|
27661
27607
|
mode: "modal",
|
|
@@ -27667,7 +27613,7 @@ const VQ = [
|
|
|
27667
27613
|
{
|
|
27668
27614
|
name: "docAnswer",
|
|
27669
27615
|
path: "/docAnswer",
|
|
27670
|
-
component: () => import("./DocAnswer-
|
|
27616
|
+
component: () => import("./DocAnswer-4c60bdb2.js"),
|
|
27671
27617
|
props: !0,
|
|
27672
27618
|
meta: {
|
|
27673
27619
|
mode: "modal",
|
|
@@ -27677,7 +27623,7 @@ const VQ = [
|
|
|
27677
27623
|
}
|
|
27678
27624
|
];
|
|
27679
27625
|
te.use(gt);
|
|
27680
|
-
const
|
|
27626
|
+
const _n = new gt({
|
|
27681
27627
|
mode: "abstract",
|
|
27682
27628
|
routes: VQ
|
|
27683
27629
|
}), ft = te.observable({
|
|
@@ -27689,7 +27635,7 @@ const ni = new gt({
|
|
|
27689
27635
|
},
|
|
27690
27636
|
get view() {
|
|
27691
27637
|
var e;
|
|
27692
|
-
return this.open && ((e =
|
|
27638
|
+
return this.open && ((e = _n.currentRoute) == null ? void 0 : e.name) || null;
|
|
27693
27639
|
},
|
|
27694
27640
|
get language() {
|
|
27695
27641
|
return ne.lang;
|
|
@@ -27705,8 +27651,8 @@ const ni = new gt({
|
|
|
27705
27651
|
key: e,
|
|
27706
27652
|
viewOpts: n
|
|
27707
27653
|
};
|
|
27708
|
-
if (["modal", "drawer"].includes(r) &&
|
|
27709
|
-
const { routes: a } =
|
|
27654
|
+
if (["modal", "drawer"].includes(r) && _n.push({ name: t, params: n }), r === "mount") {
|
|
27655
|
+
const { routes: a } = _n.options || [];
|
|
27710
27656
|
if (!a.map((s) => s.name).includes(t))
|
|
27711
27657
|
throw new Error(`View ${t} not supported`);
|
|
27712
27658
|
const o = a.find((s) => s.name === t);
|
|
@@ -27723,7 +27669,7 @@ const ni = new gt({
|
|
|
27723
27669
|
const a = this._openViews[n], o = document.getElementById((i = a == null ? void 0 : a.viewOpts) == null ? void 0 : i.key);
|
|
27724
27670
|
o && (o.textContent = "");
|
|
27725
27671
|
}
|
|
27726
|
-
n > -1 && this._openViews.splice(n, 1), er.trigger("ui:close", { key: e, mode: r, view: t });
|
|
27672
|
+
n > -1 && this._openViews.splice(n, 1), ["modal", "drawer"].includes(r) && _n.push("/"), er.trigger("ui:close", { key: e, mode: r, view: t });
|
|
27727
27673
|
},
|
|
27728
27674
|
removeAllOverlayViews() {
|
|
27729
27675
|
var e, t, r, n;
|
|
@@ -27743,7 +27689,7 @@ const ni = new gt({
|
|
|
27743
27689
|
return er.on(`ui:${e}`, t);
|
|
27744
27690
|
}
|
|
27745
27691
|
});
|
|
27746
|
-
var BQ = _o, zQ =
|
|
27692
|
+
var BQ = _o, zQ = In, HQ = "[object Symbol]";
|
|
27747
27693
|
function WQ(e) {
|
|
27748
27694
|
return typeof e == "symbol" || zQ(e) && BQ(e) == HQ;
|
|
27749
27695
|
}
|
|
@@ -28136,7 +28082,7 @@ const zte = (e, { renewToken: t }) => {
|
|
|
28136
28082
|
if (a === 401 && l.headers["X-TOKEN"] && c() && !Ms)
|
|
28137
28083
|
return t(), new Promise((d) => {
|
|
28138
28084
|
YA((p) => {
|
|
28139
|
-
l.headers["X-TOKEN"] = p, d(
|
|
28085
|
+
l.headers["X-TOKEN"] = p, d(Tn(l));
|
|
28140
28086
|
});
|
|
28141
28087
|
});
|
|
28142
28088
|
if (a === 401 && typeof s > "u") {
|
|
@@ -28192,7 +28138,7 @@ const zte = (e, { renewToken: t }) => {
|
|
|
28192
28138
|
(t) => Promise.reject(t)
|
|
28193
28139
|
);
|
|
28194
28140
|
}, Kte = ({ baseUrl: e, withCredentials: t, cache: r }) => {
|
|
28195
|
-
const n =
|
|
28141
|
+
const n = Tn.create({
|
|
28196
28142
|
baseURL: e,
|
|
28197
28143
|
timeout: 2e4,
|
|
28198
28144
|
adapter: r,
|
|
@@ -28201,7 +28147,7 @@ const zte = (e, { renewToken: t }) => {
|
|
|
28201
28147
|
// allow API to store cookie
|
|
28202
28148
|
paramsSerializer: (d) => Vte(d)
|
|
28203
28149
|
});
|
|
28204
|
-
n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.9.
|
|
28150
|
+
n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.9.13";
|
|
28205
28151
|
const i = async (d, p, f = null, h = {}) => {
|
|
28206
28152
|
const m = p.startsWith("/public/"), g = Ce.getItem("token");
|
|
28207
28153
|
switch (g && !m && (n.defaults.headers["X-TOKEN"] = g), d) {
|
|
@@ -28253,9 +28199,9 @@ function Yte(e) {
|
|
|
28253
28199
|
}
|
|
28254
28200
|
const Jte = async (e) => {
|
|
28255
28201
|
const { url: t, params: r = {} } = e, n = Object.keys(r).map((o) => `${o}=${r[o]}`).join("&"), i = `${t}${n ? `?${n}` : ""}`;
|
|
28256
|
-
return Yte(i), await
|
|
28202
|
+
return Yte(i), await Tn({
|
|
28257
28203
|
...e,
|
|
28258
|
-
adapter:
|
|
28204
|
+
adapter: Tn.defaults.adapter
|
|
28259
28205
|
// do the request normally
|
|
28260
28206
|
});
|
|
28261
28207
|
}, zi = {
|
|
@@ -28332,13 +28278,13 @@ const Xte = async (e, t = {}) => _e("/project", e, { params: t }), Qte = async (
|
|
|
28332
28278
|
}, pf = {
|
|
28333
28279
|
getDocuments: async (e = {}) => {
|
|
28334
28280
|
const t = Ce.getItem("clientToken");
|
|
28335
|
-
return
|
|
28281
|
+
return Tn.get(`${zi.baseUrl}/client/document`, { headers: { Authorization: t }, params: e });
|
|
28336
28282
|
},
|
|
28337
28283
|
getInvoices: async (e = {}) => {
|
|
28338
28284
|
const t = Ce.getItem("clientToken");
|
|
28339
|
-
return
|
|
28285
|
+
return Tn.get(`${zi.baseUrl}/client/invoice`, { headers: { Authorization: t }, params: e });
|
|
28340
28286
|
},
|
|
28341
|
-
requestMagicLink: async (e, t = {}) =>
|
|
28287
|
+
requestMagicLink: async (e, t = {}) => Tn.post(`${zi.baseUrl}/client/requestMagicLink`, e, { params: t })
|
|
28342
28288
|
}, Qre = {
|
|
28343
28289
|
get: async (e, t = {}) => _e(`/public/company/${e}`, { params: t }),
|
|
28344
28290
|
getCertificates: async (e, t = {}) => _e(`/public/company/${e}/certificates`, { params: t }),
|
|
@@ -30553,7 +30499,7 @@ const t$ = Te.rollbar.clientToken, iy = new tne({
|
|
|
30553
30499
|
client: {
|
|
30554
30500
|
javascript: {
|
|
30555
30501
|
// eslint-disable-next-line
|
|
30556
|
-
code_version: "0.9.
|
|
30502
|
+
code_version: "0.9.13",
|
|
30557
30503
|
// Git SHA of the deployed code (from webpack plugin)
|
|
30558
30504
|
source_map_enabled: !0,
|
|
30559
30505
|
guess_uncaught_frames: !0
|
|
@@ -31360,7 +31306,7 @@ var voe = Pl, yoe = ot, boe = up, woe = wy, _oe = cr, Eoe = yoe([].concat), Toe
|
|
|
31360
31306
|
return r == Moe ? !0 : r == Poe ? !1 : Aoe(t) ? Coe(t) : !!t;
|
|
31361
31307
|
}, Ioe = Dl.normalize = function(e) {
|
|
31362
31308
|
return String(e).replace($oe, ".").toLowerCase();
|
|
31363
|
-
}, Roe = Dl.data = {}, Poe = Dl.NATIVE = "N", Moe = Dl.POLYFILL = "P", $$ = Dl, Sf = kt, Doe = ay.f, Noe = Lo, Loe = ma, joe = cy, Foe = Ooe, Uoe = $$,
|
|
31309
|
+
}, Roe = Dl.data = {}, Poe = Dl.NATIVE = "N", Moe = Dl.POLYFILL = "P", $$ = Dl, Sf = kt, Doe = ay.f, Noe = Lo, Loe = ma, joe = cy, Foe = Ooe, Uoe = $$, Pn = function(e, t) {
|
|
31364
31310
|
var r = e.target, n = e.global, i = e.stat, a, o, s, l, c, u;
|
|
31365
31311
|
if (n ? o = Sf : i ? o = Sf[r] || joe(r, {}) : o = (Sf[r] || {}).prototype, o)
|
|
31366
31312
|
for (s in t) {
|
|
@@ -31434,7 +31380,7 @@ var dse = !N$ || ise(function() {
|
|
|
31434
31380
|
return { foo: 1 };
|
|
31435
31381
|
}, t[e](Boolean).foo !== 1;
|
|
31436
31382
|
});
|
|
31437
|
-
}, Ese =
|
|
31383
|
+
}, Ese = Pn, Tse = nt, xse = I$, kse = qt, Sse = ha, Ose = Fo, q_ = Hoe, K_ = R$, Cse = j$, Ase = F$, $se = Lt, Ise = sp, U$ = $se("isConcatSpreadable"), Rse = Ise >= 51 || !Tse(function() {
|
|
31438
31384
|
var e = [];
|
|
31439
31385
|
return e[U$] = !1, e.concat()[0] !== e;
|
|
31440
31386
|
}), Pse = Ase("concat"), Mse = function(e) {
|
|
@@ -31496,7 +31442,7 @@ var V$ = {
|
|
|
31496
31442
|
return zse(e), t === void 0 ? e : Hse ? Wse(e, t) : function() {
|
|
31497
31443
|
return e.apply(t, arguments);
|
|
31498
31444
|
};
|
|
31499
|
-
}, Gse = z$, qse = ot, Kse = op, Yse = ha, Jse = Fo, Zse = j$, Z_ = qse([].push),
|
|
31445
|
+
}, Gse = z$, qse = ot, Kse = op, Yse = ha, Jse = Fo, Zse = j$, Z_ = qse([].push), Ln = function(e) {
|
|
31500
31446
|
var t = e == 1, r = e == 2, n = e == 3, i = e == 4, a = e == 6, o = e == 7, s = e == 5 || a;
|
|
31501
31447
|
return function(l, c, u, d) {
|
|
31502
31448
|
for (var p = Yse(l), f = Kse(p), h = Gse(c, u), m = Jse(f), g = 0, v = d || Zse, y = t ? v(l, m) : r || o ? v(l, 0) : void 0, w, b; m > g; g++)
|
|
@@ -31526,28 +31472,28 @@ var V$ = {
|
|
|
31526
31472
|
}, Ty = {
|
|
31527
31473
|
// `Array.prototype.forEach` method
|
|
31528
31474
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
31529
|
-
forEach:
|
|
31475
|
+
forEach: Ln(0),
|
|
31530
31476
|
// `Array.prototype.map` method
|
|
31531
31477
|
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
31532
|
-
map:
|
|
31478
|
+
map: Ln(1),
|
|
31533
31479
|
// `Array.prototype.filter` method
|
|
31534
31480
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
31535
|
-
filter:
|
|
31481
|
+
filter: Ln(2),
|
|
31536
31482
|
// `Array.prototype.some` method
|
|
31537
31483
|
// https://tc39.es/ecma262/#sec-array.prototype.some
|
|
31538
|
-
some:
|
|
31484
|
+
some: Ln(3),
|
|
31539
31485
|
// `Array.prototype.every` method
|
|
31540
31486
|
// https://tc39.es/ecma262/#sec-array.prototype.every
|
|
31541
|
-
every:
|
|
31487
|
+
every: Ln(4),
|
|
31542
31488
|
// `Array.prototype.find` method
|
|
31543
31489
|
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
31544
|
-
find:
|
|
31490
|
+
find: Ln(5),
|
|
31545
31491
|
// `Array.prototype.findIndex` method
|
|
31546
31492
|
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
|
|
31547
|
-
findIndex:
|
|
31493
|
+
findIndex: Ln(6),
|
|
31548
31494
|
// `Array.prototype.filterReject` method
|
|
31549
31495
|
// https://github.com/tc39/proposal-array-filtering
|
|
31550
|
-
filterReject:
|
|
31496
|
+
filterReject: Ln(7)
|
|
31551
31497
|
}, Xse = nt, H$ = function(e, t) {
|
|
31552
31498
|
var r = [][e];
|
|
31553
31499
|
return !!r && Xse(function() {
|
|
@@ -31595,7 +31541,7 @@ var sle = pp, lle = String, ga = function(e) {
|
|
|
31595
31541
|
}), Ele = _le ? function(t, r) {
|
|
31596
31542
|
var n = ble(yle(t));
|
|
31597
31543
|
return Gs(n, r >>> 0 || (wle(K$, n) ? 16 : 10));
|
|
31598
|
-
} : Gs, Tle =
|
|
31544
|
+
} : Gs, Tle = Pn, iE = Ele;
|
|
31599
31545
|
Tle({ global: !0, forced: parseInt != iE }, {
|
|
31600
31546
|
parseInt: iE
|
|
31601
31547
|
});
|
|
@@ -31621,11 +31567,11 @@ var xle = A$, kle = by, Y$ = Object.keys || function(t) {
|
|
|
31621
31567
|
for (var l = Rle(arguments[a++]), c = o ? Ple(If(l), o(l)) : If(l), u = c.length, d = 0, p; u > d; )
|
|
31622
31568
|
p = c[d++], (!aE || Ole(s, l, p)) && (n[p] = l[p]);
|
|
31623
31569
|
return n;
|
|
31624
|
-
} : Ca, Dle =
|
|
31570
|
+
} : Ca, Dle = Pn, sE = Mle;
|
|
31625
31571
|
Dle({ target: "Object", stat: !0, arity: 2, forced: Object.assign !== sE }, {
|
|
31626
31572
|
assign: sE
|
|
31627
31573
|
});
|
|
31628
|
-
var Nle =
|
|
31574
|
+
var Nle = Pn, Lle = Ty.filter, jle = F$, Fle = jle("filter");
|
|
31629
31575
|
Nle({ target: "Array", proto: !0, forced: !Fle }, {
|
|
31630
31576
|
filter: function(t) {
|
|
31631
31577
|
return Lle(this, t, arguments.length > 1 ? arguments[1] : void 0);
|
|
@@ -31712,7 +31658,7 @@ var tI = {
|
|
|
31712
31658
|
return function(i, a) {
|
|
31713
31659
|
return Mce(i), Dce(a), e ? r(i, a) : i.__proto__ = a, i;
|
|
31714
31660
|
};
|
|
31715
|
-
}() : void 0), Nce =
|
|
31661
|
+
}() : void 0), Nce = Pn, Lce = Er, nI = gy, jce = wt, Fce = Cce, mE = Q$, gE = rI, Uce = Sy, Vce = Lo, Df = ma, Bce = Lt, zce = Nl, iI = tI, Hce = nI.PROPER, Wce = nI.CONFIGURABLE, vE = iI.IteratorPrototype, fc = iI.BUGGY_SAFARI_ITERATORS, fs = Bce("iterator"), yE = "keys", hs = "values", bE = "entries", Gce = function() {
|
|
31716
31662
|
return this;
|
|
31717
31663
|
}, aI = function(e, t, r, n, i, a, o) {
|
|
31718
31664
|
Fce(r, t, n);
|
|
@@ -31828,8 +31774,8 @@ var wue = nt, _ue = wue(function() {
|
|
|
31828
31774
|
return !Tue(t) || SE && xue(t) == "ArrayBuffer" ? !1 : Tu ? Tu(t) : !0;
|
|
31829
31775
|
} : Tu, Sue = nt, Oue = !Sue(function() {
|
|
31830
31776
|
return Object.isExtensible(Object.preventExtensions({}));
|
|
31831
|
-
}), Cue =
|
|
31832
|
-
Rue(e,
|
|
31777
|
+
}), Cue = Pn, Aue = ot, $ue = cp, Iue = qt, Ay = Rr, Rue = Pr.f, OE = up, Pue = hI, $y = vI, Mue = py, Due = Oue, yI = !1, On = Mue("meta"), Nue = 0, Iy = function(e) {
|
|
31778
|
+
Rue(e, On, { value: {
|
|
31833
31779
|
objectID: "O" + Nue++,
|
|
31834
31780
|
// object ID
|
|
31835
31781
|
weakData: {}
|
|
@@ -31838,32 +31784,32 @@ var wue = nt, _ue = wue(function() {
|
|
|
31838
31784
|
}, Lue = function(e, t) {
|
|
31839
31785
|
if (!Iue(e))
|
|
31840
31786
|
return typeof e == "symbol" ? e : (typeof e == "string" ? "S" : "P") + e;
|
|
31841
|
-
if (!Ay(e,
|
|
31787
|
+
if (!Ay(e, On)) {
|
|
31842
31788
|
if (!$y(e))
|
|
31843
31789
|
return "F";
|
|
31844
31790
|
if (!t)
|
|
31845
31791
|
return "E";
|
|
31846
31792
|
Iy(e);
|
|
31847
31793
|
}
|
|
31848
|
-
return e[
|
|
31794
|
+
return e[On].objectID;
|
|
31849
31795
|
}, jue = function(e, t) {
|
|
31850
|
-
if (!Ay(e,
|
|
31796
|
+
if (!Ay(e, On)) {
|
|
31851
31797
|
if (!$y(e))
|
|
31852
31798
|
return !0;
|
|
31853
31799
|
if (!t)
|
|
31854
31800
|
return !1;
|
|
31855
31801
|
Iy(e);
|
|
31856
31802
|
}
|
|
31857
|
-
return e[
|
|
31803
|
+
return e[On].weakData;
|
|
31858
31804
|
}, Fue = function(e) {
|
|
31859
|
-
return Due && yI && $y(e) && !Ay(e,
|
|
31805
|
+
return Due && yI && $y(e) && !Ay(e, On) && Iy(e), e;
|
|
31860
31806
|
}, Uue = function() {
|
|
31861
31807
|
Bue.enable = function() {
|
|
31862
31808
|
}, yI = !0;
|
|
31863
31809
|
var e = OE.f, t = Aue([].splice), r = {};
|
|
31864
|
-
r[
|
|
31810
|
+
r[On] = 1, e(r).length && (OE.f = function(n) {
|
|
31865
31811
|
for (var i = e(n), a = 0, o = i.length; a < o; a++)
|
|
31866
|
-
if (i[a] ===
|
|
31812
|
+
if (i[a] === On) {
|
|
31867
31813
|
t(i, a, 1);
|
|
31868
31814
|
break;
|
|
31869
31815
|
}
|
|
@@ -31877,7 +31823,7 @@ var wue = nt, _ue = wue(function() {
|
|
|
31877
31823
|
getWeakData: jue,
|
|
31878
31824
|
onFreeze: Fue
|
|
31879
31825
|
};
|
|
31880
|
-
$ue[
|
|
31826
|
+
$ue[On] = !0;
|
|
31881
31827
|
var Ry = fI.exports, zue = Lt, Hue = Nl, Wue = zue("iterator"), Gue = Array.prototype, que = function(e) {
|
|
31882
31828
|
return e !== void 0 && (Hue.Array === e || Gue[Wue] === e);
|
|
31883
31829
|
}, Kue = pp, CE = Ml, Yue = fa, Jue = Nl, Zue = Lt, Xue = Zue("iterator"), bI = function(e) {
|
|
@@ -31983,7 +31929,7 @@ var Ede = function(e, t) {
|
|
|
31983
31929
|
ME && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
31984
31930
|
Tde(n = t.constructor) && n !== r && xde(i = n.prototype) && i !== r.prototype && ME(e, i), e
|
|
31985
31931
|
);
|
|
31986
|
-
}, Sde =
|
|
31932
|
+
}, Sde = Pn, Ode = kt, Cde = ot, DE = $$, Ade = ma, $de = Ry, Ide = wI, Rde = _I, Pde = wt, Mde = fa, Nf = qt, Lf = nt, Dde = Ede, Nde = Sy, Lde = kde, jde = function(e, t, r) {
|
|
31987
31933
|
var n = e.indexOf("Map") !== -1, i = e.indexOf("Weak") !== -1, a = n ? "set" : "add", o = Ode[e], s = o && o.prototype, l = o, c = {}, u = function(v) {
|
|
31988
31934
|
var y = Cde(s[v]);
|
|
31989
31935
|
Ade(
|
|
@@ -32826,7 +32772,7 @@ var Gi = function(e) {
|
|
|
32826
32772
|
// `Array.prototype.reduceRight` method
|
|
32827
32773
|
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
|
|
32828
32774
|
right: oT(!0)
|
|
32829
|
-
}, Zfe = pi, Xfe = kt, Qfe = Zfe(Xfe.process) == "process", ehe =
|
|
32775
|
+
}, Zfe = pi, Xfe = kt, Qfe = Zfe(Xfe.process) == "process", ehe = Pn, the = Jfe.left, rhe = H$, sT = sp, nhe = Qfe, ihe = rhe("reduce"), ahe = !nhe && sT > 79 && sT < 83;
|
|
32830
32776
|
ehe({ target: "Array", proto: !0, forced: !ihe || ahe }, {
|
|
32831
32777
|
reduce: function(t) {
|
|
32832
32778
|
var r = arguments.length;
|
|
@@ -32873,7 +32819,7 @@ Rhe && (wg = function(t) {
|
|
|
32873
32819
|
p = f[u], d[p[0]] = c[p[1]];
|
|
32874
32820
|
return c;
|
|
32875
32821
|
});
|
|
32876
|
-
var Fy = wg, Phe =
|
|
32822
|
+
var Fy = wg, Phe = Pn, lT = Fy;
|
|
32877
32823
|
Phe({ target: "RegExp", proto: !0, forced: /./.exec !== lT }, {
|
|
32878
32824
|
exec: lT
|
|
32879
32825
|
});
|
|
@@ -33065,7 +33011,7 @@ var vd = function(t) {
|
|
|
33065
33011
|
}, {});
|
|
33066
33012
|
return r;
|
|
33067
33013
|
};
|
|
33068
|
-
function
|
|
33014
|
+
function jn(e) {
|
|
33069
33015
|
return !e || !e.ownerDocument || !e.ownerDocument.defaultView ? window : e.ownerDocument.defaultView;
|
|
33070
33016
|
}
|
|
33071
33017
|
function Su(e) {
|
|
@@ -33091,7 +33037,7 @@ var mt = /* @__PURE__ */ function() {
|
|
|
33091
33037
|
function e(r, n) {
|
|
33092
33038
|
var i = this;
|
|
33093
33039
|
this.onScroll = function() {
|
|
33094
|
-
var a =
|
|
33040
|
+
var a = jn(i.el);
|
|
33095
33041
|
i.scrollXTicking || (a.requestAnimationFrame(i.scrollX), i.scrollXTicking = !0), i.scrollYTicking || (a.requestAnimationFrame(i.scrollY), i.scrollYTicking = !0);
|
|
33096
33042
|
}, this.scrollX = function() {
|
|
33097
33043
|
i.axis.x.isOverflowing && (i.showScrollbar("x"), i.positionScrollbar("x")), i.scrollXTicking = !1;
|
|
@@ -33116,7 +33062,7 @@ var mt = /* @__PURE__ */ function() {
|
|
|
33116
33062
|
var p = o - s.rect[i.axis[i.draggedAxis].offsetAttr] - i.axis[i.draggedAxis].dragOffset, f = p / (l - c.size), h = f * (u - d);
|
|
33117
33063
|
i.draggedAxis === "x" && (h = i.isRtl && e.getRtlHelpers().isRtlScrollbarInverted ? h - (l + c.size) : h, h = i.isRtl && e.getRtlHelpers().isRtlScrollingInverted ? -h : h), i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr] = h;
|
|
33118
33064
|
}, this.onEndDrag = function(a) {
|
|
33119
|
-
var o = Su(i.el), s =
|
|
33065
|
+
var o = Su(i.el), s = jn(i.el);
|
|
33120
33066
|
a.preventDefault(), a.stopPropagation(), i.el.classList.remove(i.classNames.dragging), o.removeEventListener("mousemove", i.drag, !0), o.removeEventListener("mouseup", i.onEndDrag, !0), i.removePreventClickId = s.setTimeout(function() {
|
|
33121
33067
|
o.removeEventListener("click", i.preventClick, !0), o.removeEventListener("dblclick", i.preventClick, !0), i.removePreventClickId = null;
|
|
33122
33068
|
});
|
|
@@ -33172,7 +33118,7 @@ var mt = /* @__PURE__ */ function() {
|
|
|
33172
33118
|
isRtlScrollbarInverted: o.left !== s.left
|
|
33173
33119
|
};
|
|
33174
33120
|
}, e.getOffset = function(n) {
|
|
33175
|
-
var i = n.getBoundingClientRect(), a = Su(n), o =
|
|
33121
|
+
var i = n.getBoundingClientRect(), a = Su(n), o = jn(n);
|
|
33176
33122
|
return {
|
|
33177
33123
|
top: i.top + (o.pageYOffset || a.documentElement.scrollTop),
|
|
33178
33124
|
left: i.left + (o.pageXOffset || a.documentElement.scrollLeft)
|
|
@@ -33201,7 +33147,7 @@ var mt = /* @__PURE__ */ function() {
|
|
|
33201
33147
|
var n = this.options.ariaLabel || "scrollable content";
|
|
33202
33148
|
this.contentWrapperEl.setAttribute("tabindex", "0"), this.contentWrapperEl.setAttribute("role", "region"), this.contentWrapperEl.setAttribute("aria-label", n);
|
|
33203
33149
|
}, t.initListeners = function() {
|
|
33204
|
-
var n = this, i =
|
|
33150
|
+
var n = this, i = jn(this.el);
|
|
33205
33151
|
this.options.autoHide && this.el.addEventListener("mouseenter", this.onMouseEnter), ["mousedown", "click", "dblclick"].forEach(function(l) {
|
|
33206
33152
|
n.el.addEventListener(l, n.onPointerEvent, !0);
|
|
33207
33153
|
}), ["touchstart", "touchend", "touchmove"].forEach(function(l) {
|
|
@@ -33223,7 +33169,7 @@ var mt = /* @__PURE__ */ function() {
|
|
|
33223
33169
|
characterData: !0
|
|
33224
33170
|
});
|
|
33225
33171
|
}, t.recalculate = function() {
|
|
33226
|
-
var n =
|
|
33172
|
+
var n = jn(this.el);
|
|
33227
33173
|
this.elStyles = n.getComputedStyle(this.el), this.isRtl = this.elStyles.direction === "rtl";
|
|
33228
33174
|
var i = this.heightAutoObserverEl.offsetHeight <= 1, a = this.heightAutoObserverEl.offsetWidth <= 1, o = this.contentEl.offsetWidth, s = this.contentWrapperEl.offsetWidth, l = this.elStyles.overflowX, c = this.elStyles.overflowY;
|
|
33229
33175
|
this.contentEl.style.padding = this.elStyles.paddingTop + " " + this.elStyles.paddingRight + " " + this.elStyles.paddingBottom + " " + this.elStyles.paddingLeft, this.wrapperEl.style.margin = "-" + this.elStyles.paddingTop + " -" + this.elStyles.paddingRight + " -" + this.elStyles.paddingBottom + " -" + this.elStyles.paddingLeft;
|
|
@@ -33263,12 +33209,12 @@ var mt = /* @__PURE__ */ function() {
|
|
|
33263
33209
|
this.axis[n].isVisible || (i.classList.add(this.classNames.visible), this.axis[n].isVisible = !0), this.options.autoHide && this.hideScrollbars();
|
|
33264
33210
|
}, t.onDragStart = function(n, i) {
|
|
33265
33211
|
i === void 0 && (i = "y");
|
|
33266
|
-
var a = Su(this.el), o =
|
|
33212
|
+
var a = Su(this.el), o = jn(this.el), s = this.axis[i].scrollbar, l = i === "y" ? n.pageY : n.pageX;
|
|
33267
33213
|
this.axis[i].dragOffset = l - s.rect[this.axis[i].offsetAttr], this.draggedAxis = i, this.el.classList.add(this.classNames.dragging), a.addEventListener("mousemove", this.drag, !0), a.addEventListener("mouseup", this.onEndDrag, !0), this.removePreventClickId === null ? (a.addEventListener("click", this.preventClick, !0), a.addEventListener("dblclick", this.preventClick, !0)) : (o.clearTimeout(this.removePreventClickId), this.removePreventClickId = null);
|
|
33268
33214
|
}, t.onTrackClick = function(n, i) {
|
|
33269
33215
|
var a = this;
|
|
33270
33216
|
if (i === void 0 && (i = "y"), !!this.options.clickOnTrack) {
|
|
33271
|
-
var o =
|
|
33217
|
+
var o = jn(this.el);
|
|
33272
33218
|
this.axis[i].scrollbar.rect = this.axis[i].scrollbar.el.getBoundingClientRect();
|
|
33273
33219
|
var s = this.axis[i].scrollbar, l = s.rect[this.axis[i].offsetAttr], c = parseInt(this.elStyles[this.axis[i].sizeAttr], 10), u = this.contentWrapperEl[this.axis[i].scrollOffsetAttr], d = i === "y" ? this.mouseY - l : this.mouseX - l, p = d < 0 ? -1 : 1, f = p === -1 ? u - c : u + c, h = function m() {
|
|
33274
33220
|
if (p === -1) {
|
|
@@ -33294,7 +33240,7 @@ var mt = /* @__PURE__ */ function() {
|
|
|
33294
33240
|
return _T(this.el);
|
|
33295
33241
|
}
|
|
33296
33242
|
}, t.removeListeners = function() {
|
|
33297
|
-
var n = this, i =
|
|
33243
|
+
var n = this, i = jn(this.el);
|
|
33298
33244
|
this.options.autoHide && this.el.removeEventListener("mouseenter", this.onMouseEnter), ["mousedown", "click", "dblclick"].forEach(function(a) {
|
|
33299
33245
|
n.el.removeEventListener(a, n.onPointerEvent, !0);
|
|
33300
33246
|
}), ["touchstart", "touchend", "touchmove"].forEach(function(a) {
|
|
@@ -36453,7 +36399,7 @@ const {
|
|
|
36453
36399
|
* @param {Object} obj Optional
|
|
36454
36400
|
* @param {Object} obj.next Vue-router route obj (optional)
|
|
36455
36401
|
*/
|
|
36456
|
-
[Sc]({ commit: e }, { next: t = { name: "
|
|
36402
|
+
[Sc]({ commit: e }, { next: t = { name: "Login" } } = {}) {
|
|
36457
36403
|
try {
|
|
36458
36404
|
Ce.removeItem("token"), Ce.removeItem("tokenExpires"), Ce.removeItem("refreshToken"), this.commit("reset");
|
|
36459
36405
|
} finally {
|
|
@@ -37883,7 +37829,7 @@ const vs = "companies", { LOAD_FILE: MRe, FORM_RESET_OLD: RT } = Ae, { SET_FORM:
|
|
|
37883
37829
|
*/
|
|
37884
37830
|
async [kye]({ rootGetters: e }, { props: t = [] } = {}) {
|
|
37885
37831
|
try {
|
|
37886
|
-
const r =
|
|
37832
|
+
const r = Sn(e["application/company"], t);
|
|
37887
37833
|
return this.commit(`forms/${rh}`, { key: "company", formData: r }), !0;
|
|
37888
37834
|
} catch (r) {
|
|
37889
37835
|
return this.handleError(r), !1;
|
|
@@ -38009,7 +37955,7 @@ const ab = new be.Array(Ri), Aye = new be.Entity("documents", {
|
|
|
38009
37955
|
const r = Lye[t];
|
|
38010
37956
|
return r || console.warn(`No schema found for type: '${t}'`), U5(e, r);
|
|
38011
37957
|
};
|
|
38012
|
-
function
|
|
37958
|
+
function Xn(e, t, r = !1) {
|
|
38013
37959
|
let n = t.replace(/\[(\d*)\]/ig, (o, s) => `.${s}`);
|
|
38014
37960
|
n = n.split(".");
|
|
38015
37961
|
let i = e;
|
|
@@ -38032,7 +37978,7 @@ function yr(e, t) {
|
|
|
38032
37978
|
}
|
|
38033
37979
|
r(e, t);
|
|
38034
37980
|
}
|
|
38035
|
-
function
|
|
37981
|
+
function Cn(e, { keyId: t = "id" } = {}) {
|
|
38036
37982
|
const r = [], n = {};
|
|
38037
37983
|
return e.forEach((i) => {
|
|
38038
37984
|
n[i[t]] = i, r.push(i[t]);
|
|
@@ -38143,7 +38089,7 @@ const {
|
|
|
38143
38089
|
[Vye](e, { data: t }) {
|
|
38144
38090
|
if (typeof t != "object")
|
|
38145
38091
|
throw Error("Data must be a company or an array of companies!");
|
|
38146
|
-
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } =
|
|
38092
|
+
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } = Cn(r);
|
|
38147
38093
|
yr(e.data, i), e.ids = nr([...n, ...e.ids]);
|
|
38148
38094
|
},
|
|
38149
38095
|
/**
|
|
@@ -38197,7 +38143,7 @@ const {
|
|
|
38197
38143
|
// array of ids
|
|
38198
38144
|
isFetching: !1,
|
|
38199
38145
|
isPosting: !1
|
|
38200
|
-
},
|
|
38146
|
+
}, Fn = "companyUsers", {
|
|
38201
38147
|
LOAD_COMPANY_USERS: FT,
|
|
38202
38148
|
LOAD_COMPANY_USER: Ac,
|
|
38203
38149
|
DO_NORMALIZE_COMPANY_USERS: $c,
|
|
@@ -38214,7 +38160,7 @@ const {
|
|
|
38214
38160
|
DELETE_FILE: Qye
|
|
38215
38161
|
} = Ae, {
|
|
38216
38162
|
SET_COMPANY_USERS_FETCHING: Ic,
|
|
38217
|
-
SET_COMPANY_USERS_POSTING:
|
|
38163
|
+
SET_COMPANY_USERS_POSTING: Un
|
|
38218
38164
|
} = qy, ebe = {
|
|
38219
38165
|
/**
|
|
38220
38166
|
* @name DO_NORMALIZE_COMPANY_USERS
|
|
@@ -38251,7 +38197,7 @@ const {
|
|
|
38251
38197
|
this.handleError(r, {
|
|
38252
38198
|
object: "companyUser",
|
|
38253
38199
|
fallbackCode: "companyUser.getAll",
|
|
38254
|
-
action: `${
|
|
38200
|
+
action: `${Fn}/${FT}`
|
|
38255
38201
|
});
|
|
38256
38202
|
} finally {
|
|
38257
38203
|
t(Ic, !1);
|
|
@@ -38280,7 +38226,7 @@ const {
|
|
|
38280
38226
|
object: "companyUser",
|
|
38281
38227
|
objectId: n,
|
|
38282
38228
|
fallbackCode: "companyUser.get",
|
|
38283
|
-
action: `${
|
|
38229
|
+
action: `${Fn}/${Ac}`,
|
|
38284
38230
|
actionPayload: arguments[1]
|
|
38285
38231
|
}), null;
|
|
38286
38232
|
} finally {
|
|
@@ -38303,7 +38249,7 @@ const {
|
|
|
38303
38249
|
locale: a || "en-US",
|
|
38304
38250
|
...n
|
|
38305
38251
|
};
|
|
38306
|
-
e(
|
|
38252
|
+
e(Un, !0);
|
|
38307
38253
|
const { data: s } = await zre(o);
|
|
38308
38254
|
return await t($c, {
|
|
38309
38255
|
companyUsers: [s]
|
|
@@ -38315,11 +38261,11 @@ const {
|
|
|
38315
38261
|
return this.handleError(i, {
|
|
38316
38262
|
object: "companyUser",
|
|
38317
38263
|
fallbackCode: "companyUser.post",
|
|
38318
|
-
action: `${
|
|
38264
|
+
action: `${Fn}/${oh}`,
|
|
38319
38265
|
actionPayload: arguments[1]
|
|
38320
38266
|
}), null;
|
|
38321
38267
|
} finally {
|
|
38322
|
-
e(
|
|
38268
|
+
e(Un, !1);
|
|
38323
38269
|
}
|
|
38324
38270
|
},
|
|
38325
38271
|
/**
|
|
@@ -38334,7 +38280,7 @@ const {
|
|
|
38334
38280
|
async [ah]({ dispatch: e, commit: t, getters: r }, { id: n, body: i }) {
|
|
38335
38281
|
var a;
|
|
38336
38282
|
try {
|
|
38337
|
-
t(
|
|
38283
|
+
t(Un, !0);
|
|
38338
38284
|
const { AvatarPublicId: o } = i, { AvatarPublicId: s } = r.byId(n);
|
|
38339
38285
|
return o && o !== s && this.dispatch(Qye, { id: s }), await Hre(n, i), await e(Ac, {
|
|
38340
38286
|
id: n
|
|
@@ -38347,11 +38293,11 @@ const {
|
|
|
38347
38293
|
object: "companyUser",
|
|
38348
38294
|
objectId: n,
|
|
38349
38295
|
fallbackCode: "companyUser.put",
|
|
38350
|
-
action: `${
|
|
38296
|
+
action: `${Fn}/${ah}`,
|
|
38351
38297
|
actionPayload: arguments[1]
|
|
38352
38298
|
}), null;
|
|
38353
38299
|
} finally {
|
|
38354
|
-
t(
|
|
38300
|
+
t(Un, !1);
|
|
38355
38301
|
}
|
|
38356
38302
|
},
|
|
38357
38303
|
/**
|
|
@@ -38365,12 +38311,12 @@ const {
|
|
|
38365
38311
|
// Destroy company user
|
|
38366
38312
|
async [UT]({ commit: e }, { id: t }) {
|
|
38367
38313
|
try {
|
|
38368
|
-
return e(
|
|
38314
|
+
return e(Un, !0), await Wre(t), e(qy.DELETE_COMPANY_USER, t), this.dispatch("application/SHOW_MESSAGE", {
|
|
38369
38315
|
type: "success",
|
|
38370
38316
|
message: ne.t("removedThing", { thing: ne.t("user") }),
|
|
38371
38317
|
actions: {
|
|
38372
38318
|
undo: () => {
|
|
38373
|
-
this.dispatch(`${
|
|
38319
|
+
this.dispatch(`${Fn}/${sh}`, { id: t });
|
|
38374
38320
|
}
|
|
38375
38321
|
}
|
|
38376
38322
|
}), t;
|
|
@@ -38379,11 +38325,11 @@ const {
|
|
|
38379
38325
|
object: "companyUser",
|
|
38380
38326
|
objectId: t,
|
|
38381
38327
|
fallbackCode: "companyUser.delete",
|
|
38382
|
-
action: `${
|
|
38328
|
+
action: `${Fn}/${UT}`,
|
|
38383
38329
|
actionPayload: arguments[1]
|
|
38384
38330
|
}), null;
|
|
38385
38331
|
} finally {
|
|
38386
|
-
e(
|
|
38332
|
+
e(Un, !1);
|
|
38387
38333
|
}
|
|
38388
38334
|
},
|
|
38389
38335
|
/**
|
|
@@ -38396,7 +38342,7 @@ const {
|
|
|
38396
38342
|
*/
|
|
38397
38343
|
async [sh]({ dispatch: e, commit: t }, { id: r }) {
|
|
38398
38344
|
try {
|
|
38399
|
-
return t(
|
|
38345
|
+
return t(Un, !0), await Gre(r), await e(Ac, {
|
|
38400
38346
|
id: r
|
|
38401
38347
|
}), r;
|
|
38402
38348
|
} catch (n) {
|
|
@@ -38404,11 +38350,11 @@ const {
|
|
|
38404
38350
|
object: "companyUser",
|
|
38405
38351
|
objectId: r,
|
|
38406
38352
|
fallbackCode: "companyUser.patch",
|
|
38407
|
-
action: `${
|
|
38353
|
+
action: `${Fn}/${sh}`,
|
|
38408
38354
|
actionPayload: arguments[1]
|
|
38409
38355
|
}), null;
|
|
38410
38356
|
} finally {
|
|
38411
|
-
t(
|
|
38357
|
+
t(Un, !1);
|
|
38412
38358
|
}
|
|
38413
38359
|
},
|
|
38414
38360
|
/**
|
|
@@ -38477,7 +38423,7 @@ const {
|
|
|
38477
38423
|
* @param {String[]} object.props Optional array of strings which props to load into store
|
|
38478
38424
|
*/
|
|
38479
38425
|
[Jye]({ commit: e, getters: t }, { id: r, props: n = [] }) {
|
|
38480
|
-
const i =
|
|
38426
|
+
const i = Sn(t.byId(r), n);
|
|
38481
38427
|
return e(
|
|
38482
38428
|
`forms/${Ee.SET_FORM}`,
|
|
38483
38429
|
{ key: "companyUser", formData: i },
|
|
@@ -38502,7 +38448,7 @@ const {
|
|
|
38502
38448
|
} catch (r) {
|
|
38503
38449
|
return this.handleError(r, {
|
|
38504
38450
|
object: "companyUser",
|
|
38505
|
-
action: `${
|
|
38451
|
+
action: `${Fn}/${VT}`,
|
|
38506
38452
|
actionPayload: arguments[1]
|
|
38507
38453
|
}), !1;
|
|
38508
38454
|
}
|
|
@@ -38528,7 +38474,7 @@ const {
|
|
|
38528
38474
|
[tbe](e, { data: t = [] }) {
|
|
38529
38475
|
if (typeof t != "object")
|
|
38530
38476
|
throw Error("Data must be a company user or an array of company users!");
|
|
38531
|
-
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } =
|
|
38477
|
+
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } = Cn(r);
|
|
38532
38478
|
yr(e.data, i), e.ids = nr([...n, ...e.ids]);
|
|
38533
38479
|
},
|
|
38534
38480
|
// Delete one
|
|
@@ -38700,7 +38646,7 @@ const {
|
|
|
38700
38646
|
*/
|
|
38701
38647
|
async [HT]({ commit: e, state: t }, { props: r = [] } = {}) {
|
|
38702
38648
|
try {
|
|
38703
|
-
const n =
|
|
38649
|
+
const n = Sn(t.invoice, r);
|
|
38704
38650
|
return e(
|
|
38705
38651
|
`forms/${fbe}`,
|
|
38706
38652
|
{ key: "companyInvoiceSettings", formData: n },
|
|
@@ -38737,7 +38683,7 @@ const {
|
|
|
38737
38683
|
}), !1;
|
|
38738
38684
|
}
|
|
38739
38685
|
}
|
|
38740
|
-
},
|
|
38686
|
+
}, Vn = "settings", {
|
|
38741
38687
|
FORM_RESET_OLD: KT,
|
|
38742
38688
|
DO_LOAD_INVOICE_SETTINGS: mbe
|
|
38743
38689
|
} = Ae, {
|
|
@@ -38795,7 +38741,7 @@ const {
|
|
|
38795
38741
|
this.handleError(t, {
|
|
38796
38742
|
object: "settings",
|
|
38797
38743
|
fallbackCode: "settings.get",
|
|
38798
|
-
action: `${
|
|
38744
|
+
action: `${Vn}/${JT}`
|
|
38799
38745
|
});
|
|
38800
38746
|
}
|
|
38801
38747
|
},
|
|
@@ -38836,7 +38782,7 @@ const {
|
|
|
38836
38782
|
this.handleError(t, {
|
|
38837
38783
|
object: "companySettings",
|
|
38838
38784
|
fallbackCode: "settings.get",
|
|
38839
|
-
action: `${
|
|
38785
|
+
action: `${Vn}/${ZT}`
|
|
38840
38786
|
});
|
|
38841
38787
|
}
|
|
38842
38788
|
},
|
|
@@ -38874,7 +38820,7 @@ const {
|
|
|
38874
38820
|
this.handleError(t, {
|
|
38875
38821
|
object: "companyUserSettings",
|
|
38876
38822
|
fallbackCode: "settings.get",
|
|
38877
|
-
action: `${
|
|
38823
|
+
action: `${Vn}/${XT}`
|
|
38878
38824
|
});
|
|
38879
38825
|
}
|
|
38880
38826
|
},
|
|
@@ -38895,7 +38841,7 @@ const {
|
|
|
38895
38841
|
return this.handleError(i, {
|
|
38896
38842
|
object: "setting",
|
|
38897
38843
|
fallbackCode: "settings.put",
|
|
38898
|
-
action: `${
|
|
38844
|
+
action: `${Vn}/${QT}`,
|
|
38899
38845
|
actionPayload: arguments[1]
|
|
38900
38846
|
}), !1;
|
|
38901
38847
|
}
|
|
@@ -38931,7 +38877,7 @@ const {
|
|
|
38931
38877
|
*/
|
|
38932
38878
|
async [ex]({ commit: e, state: t }, { props: r = [] } = {}) {
|
|
38933
38879
|
try {
|
|
38934
|
-
const n =
|
|
38880
|
+
const n = Sn(t.company, r);
|
|
38935
38881
|
return e(
|
|
38936
38882
|
`forms/${ax}`,
|
|
38937
38883
|
{ key: "companySettings", formData: n },
|
|
@@ -38941,7 +38887,7 @@ const {
|
|
|
38941
38887
|
return this.handleError(n, {
|
|
38942
38888
|
object: "setting",
|
|
38943
38889
|
fallbackCode: "setting.editCompany",
|
|
38944
|
-
action: `${
|
|
38890
|
+
action: `${Vn}/${ex}`,
|
|
38945
38891
|
actionPayload: arguments[1]
|
|
38946
38892
|
}), !1;
|
|
38947
38893
|
}
|
|
@@ -38962,7 +38908,7 @@ const {
|
|
|
38962
38908
|
return this.handleError(r, {
|
|
38963
38909
|
object: "setting",
|
|
38964
38910
|
fallbackCode: "setting.submitCompany",
|
|
38965
|
-
action: `${
|
|
38911
|
+
action: `${Vn}/${tx}`
|
|
38966
38912
|
}), !1;
|
|
38967
38913
|
}
|
|
38968
38914
|
},
|
|
@@ -38975,7 +38921,7 @@ const {
|
|
|
38975
38921
|
*/
|
|
38976
38922
|
async [rx]({ commit: e, state: t }, { props: r = [] } = {}) {
|
|
38977
38923
|
try {
|
|
38978
|
-
const n =
|
|
38924
|
+
const n = Sn(t.companyUser, r);
|
|
38979
38925
|
return e(
|
|
38980
38926
|
`forms/${ax}`,
|
|
38981
38927
|
{ key: "companyUserSettings", formData: n },
|
|
@@ -38985,7 +38931,7 @@ const {
|
|
|
38985
38931
|
return this.handleError(n, {
|
|
38986
38932
|
object: "setting",
|
|
38987
38933
|
fallbackCode: "setting.editCompanyUser",
|
|
38988
|
-
action: `${
|
|
38934
|
+
action: `${Vn}/${rx}`,
|
|
38989
38935
|
actionPayload: arguments[1]
|
|
38990
38936
|
}), !1;
|
|
38991
38937
|
}
|
|
@@ -39006,7 +38952,7 @@ const {
|
|
|
39006
38952
|
return this.handleError(r, {
|
|
39007
38953
|
object: "setting",
|
|
39008
38954
|
fallbackCode: "setting.submitCompanyUser",
|
|
39009
|
-
action: `${
|
|
38955
|
+
action: `${Vn}/${nx}`
|
|
39010
38956
|
}), !1;
|
|
39011
38957
|
}
|
|
39012
38958
|
}
|
|
@@ -40570,7 +40516,7 @@ const {
|
|
|
40570
40516
|
SUBMIT_INVOICE_FORM: i0e,
|
|
40571
40517
|
SET_KYC_FORM: a0e,
|
|
40572
40518
|
DO_SAVE_KYC_FORM: o0e
|
|
40573
|
-
} = _5,
|
|
40519
|
+
} = _5, Bn = (e, t) => {
|
|
40574
40520
|
e(Jbe, {
|
|
40575
40521
|
view: "newInvoice",
|
|
40576
40522
|
settings: { isLoading: t }
|
|
@@ -40632,7 +40578,7 @@ const s0e = {
|
|
|
40632
40578
|
dispatch: n
|
|
40633
40579
|
}, { creditsInvoiceId: i }) {
|
|
40634
40580
|
try {
|
|
40635
|
-
if (
|
|
40581
|
+
if (Bn(this.dispatch, !0), await dh({
|
|
40636
40582
|
id: null,
|
|
40637
40583
|
rootState: r,
|
|
40638
40584
|
state: e,
|
|
@@ -40653,7 +40599,7 @@ const s0e = {
|
|
|
40653
40599
|
error: "Tried to load invoice to credit that does not exist!"
|
|
40654
40600
|
}), new Error(`Could not find original invoice by id: '${i}'`);
|
|
40655
40601
|
s.documentId && !this.getters["documents2/byId"](s.documentId) && await this.dispatch(px, { id: s.documentId });
|
|
40656
|
-
const l =
|
|
40602
|
+
const l = Sn(
|
|
40657
40603
|
s.getProperties({ scope: "invoice", includeVirtual: !0 }),
|
|
40658
40604
|
[
|
|
40659
40605
|
"ModuleArticles",
|
|
@@ -40682,18 +40628,18 @@ const s0e = {
|
|
|
40682
40628
|
invoiceDate: Rm(/* @__PURE__ */ new Date()).toISOString(),
|
|
40683
40629
|
dueDate: Rm(/* @__PURE__ */ new Date()).toISOString()
|
|
40684
40630
|
}, o.invoiceFee && (o.invoiceFee = -o.invoiceFee), o.ModuleArticles && (o.ModuleArticles = o.ModuleArticles.map((c) => {
|
|
40685
|
-
const u =
|
|
40631
|
+
const u = Zn(
|
|
40686
40632
|
c,
|
|
40687
40633
|
["id", "createdAt", "updatedAt", "deletedAt", "object", "ObjectId"]
|
|
40688
40634
|
);
|
|
40689
40635
|
return u.price = -u.price, u.houseWorkHoursToReport && (u.houseWorkHoursToReport *= -1), u;
|
|
40690
|
-
})), o.ModuleBranding && (o.ModuleBranding =
|
|
40636
|
+
})), o.ModuleBranding && (o.ModuleBranding = Zn(
|
|
40691
40637
|
o.ModuleBranding,
|
|
40692
40638
|
["id", "createdAt", "updatedAt", "deletedAt", "object", "ObjectId"]
|
|
40693
|
-
)), o.ModuleEndCustomer && (o.ModuleEndCustomer =
|
|
40639
|
+
)), o.ModuleEndCustomer && (o.ModuleEndCustomer = Zn(
|
|
40694
40640
|
o.ModuleEndCustomer,
|
|
40695
40641
|
["id", "createdAt", "updatedAt", "deletedAt", "object", "ObjectId"]
|
|
40696
|
-
)), o.InvoiceRegionSweden && (o.InvoiceRegionSweden =
|
|
40642
|
+
)), o.InvoiceRegionSweden && (o.InvoiceRegionSweden = Sn(
|
|
40697
40643
|
o.InvoiceRegionSweden,
|
|
40698
40644
|
["condominiumId", "condominiumOrgNo", "isHouseWorkAuto", "persons", "propertyType", "realEstateId"]
|
|
40699
40645
|
), o.InvoiceRegionSweden && !o.InvoiceRegionSweden.isHouseWorkAuto && (o.InvoiceRegionSweden.persons = (o.InvoiceRegionSweden.persons || []).map((c) => ({
|
|
@@ -40707,7 +40653,7 @@ const s0e = {
|
|
|
40707
40653
|
} catch (a) {
|
|
40708
40654
|
this.handleError(a);
|
|
40709
40655
|
} finally {
|
|
40710
|
-
|
|
40656
|
+
Bn(this.dispatch, !1);
|
|
40711
40657
|
}
|
|
40712
40658
|
},
|
|
40713
40659
|
/**
|
|
@@ -40727,7 +40673,7 @@ const s0e = {
|
|
|
40727
40673
|
try {
|
|
40728
40674
|
if (!i)
|
|
40729
40675
|
throw new Error("Missing parameter docId");
|
|
40730
|
-
|
|
40676
|
+
Bn(this.dispatch, !0);
|
|
40731
40677
|
let a = ws({ rootState: this.state, rootGetters: t });
|
|
40732
40678
|
await this.dispatch(px, { id: i });
|
|
40733
40679
|
const o = this.getters["documents2/byId"](i);
|
|
@@ -40748,14 +40694,14 @@ const s0e = {
|
|
|
40748
40694
|
...a,
|
|
40749
40695
|
documentId: o.id,
|
|
40750
40696
|
...s && { projectId: s }
|
|
40751
|
-
}, o.clients && o.clients.length && (a.ModuleEndCustomer = ux(
|
|
40697
|
+
}, o.clients && o.clients.length && (a.ModuleEndCustomer = ux(Zn(
|
|
40752
40698
|
o.clients[0],
|
|
40753
40699
|
["id", "createdAt", "updatedAt", "deletedAt", "object", "ObjectId"]
|
|
40754
40700
|
))), this.commit(`forms/${bs}`, { key: "document", formData: a });
|
|
40755
40701
|
} catch (a) {
|
|
40756
40702
|
this.handleError(a);
|
|
40757
40703
|
} finally {
|
|
40758
|
-
|
|
40704
|
+
Bn(this.dispatch, !1);
|
|
40759
40705
|
}
|
|
40760
40706
|
},
|
|
40761
40707
|
/**
|
|
@@ -40775,7 +40721,7 @@ const s0e = {
|
|
|
40775
40721
|
rootGetters: n
|
|
40776
40722
|
}, { id: i = null, projectId: a = null } = {}) {
|
|
40777
40723
|
try {
|
|
40778
|
-
if (
|
|
40724
|
+
if (Bn(this.dispatch, !0), await dh({
|
|
40779
40725
|
id: i,
|
|
40780
40726
|
rootState: t,
|
|
40781
40727
|
state: e,
|
|
@@ -40802,7 +40748,7 @@ const s0e = {
|
|
|
40802
40748
|
}, a) {
|
|
40803
40749
|
s.projectId = a;
|
|
40804
40750
|
const d = n["projects/byId"](a);
|
|
40805
|
-
d && d.clients[0] && (s.ModuleEndCustomer = ux(
|
|
40751
|
+
d && d.clients[0] && (s.ModuleEndCustomer = ux(Zn(
|
|
40806
40752
|
d.clients[0],
|
|
40807
40753
|
["id", "createdAt", "updatedAt", "deletedAt", "object", "ObjectId"]
|
|
40808
40754
|
)));
|
|
@@ -40821,7 +40767,7 @@ const s0e = {
|
|
|
40821
40767
|
error: o
|
|
40822
40768
|
});
|
|
40823
40769
|
} finally {
|
|
40824
|
-
|
|
40770
|
+
Bn(this.dispatch, !1);
|
|
40825
40771
|
}
|
|
40826
40772
|
},
|
|
40827
40773
|
/**
|
|
@@ -40871,7 +40817,7 @@ const s0e = {
|
|
|
40871
40817
|
if (!["100kr"].includes(r))
|
|
40872
40818
|
throw Error("Missing valid param name");
|
|
40873
40819
|
try {
|
|
40874
|
-
|
|
40820
|
+
Bn(this.dispatch, !0);
|
|
40875
40821
|
let i = {
|
|
40876
40822
|
...ws({ rootState: this.state, rootGetters: t })
|
|
40877
40823
|
};
|
|
@@ -40914,7 +40860,7 @@ const s0e = {
|
|
|
40914
40860
|
error: i
|
|
40915
40861
|
});
|
|
40916
40862
|
} finally {
|
|
40917
|
-
|
|
40863
|
+
Bn(this.dispatch, !1);
|
|
40918
40864
|
}
|
|
40919
40865
|
},
|
|
40920
40866
|
async [a0e]({ rootGetters: e }, { formData: t = {} } = {}) {
|
|
@@ -41012,7 +40958,7 @@ const s0e = {
|
|
|
41012
40958
|
return i;
|
|
41013
40959
|
}
|
|
41014
40960
|
}, p0e = (e, t) => (typeof t > "u" ? t = e.definitions || {} : vl(e.definitions) && (t = cb(t, e.definitions)), Fa(Tp(e), t));
|
|
41015
|
-
class
|
|
40961
|
+
class ti {
|
|
41016
40962
|
/**
|
|
41017
40963
|
* Template constructor
|
|
41018
40964
|
* @param {Object} obj
|
|
@@ -41122,7 +41068,7 @@ class ei {
|
|
|
41122
41068
|
return t && (r = t.split(".").reduce((n, i) => n[i], r)), p0e(r) || {};
|
|
41123
41069
|
}
|
|
41124
41070
|
}
|
|
41125
|
-
var f0e = _o, h0e = Rv, m0e =
|
|
41071
|
+
var f0e = _o, h0e = Rv, m0e = In, g0e = "[object Object]", v0e = Function.prototype, y0e = Object.prototype, nR = v0e.toString, b0e = y0e.hasOwnProperty, w0e = nR.call(Object);
|
|
41126
41072
|
function _0e(e) {
|
|
41127
41073
|
if (!m0e(e) || f0e(e) != g0e)
|
|
41128
41074
|
return !1;
|
|
@@ -41471,13 +41417,13 @@ const w1e = (e) => Se(e).split("+").map(decodeURIComponent).join(" "), _1e = (e)
|
|
|
41471
41417
|
function gb(e) {
|
|
41472
41418
|
return e = Oe(e), Kt(e) ? e : sn(e) && e.length > 0 ? [e] : z0e(e) ? Array.from(e) : pb(e) ? Object.keys(e).map((t) => [t, e[t]]) : [];
|
|
41473
41419
|
}
|
|
41474
|
-
function
|
|
41420
|
+
function An(e) {
|
|
41475
41421
|
return fi(e) ? [] : Kt(e) ? e : [e];
|
|
41476
41422
|
}
|
|
41477
|
-
const E1e = dr((e, t) =>
|
|
41423
|
+
const E1e = dr((e, t) => An(e).join(t === void 0 ? " " : t)), T1e = dr((e) => Kt(e) ? db(e) : ""), x1e = dr((e) => Kt(e) ? e[0] : ""), k1e = dr((e) => [...An(e)].reverse());
|
|
41478
41424
|
function* S1e(e, t) {
|
|
41479
41425
|
const r = [];
|
|
41480
|
-
for (const n of
|
|
41426
|
+
for (const n of An(Oe(e)))
|
|
41481
41427
|
r.push([
|
|
41482
41428
|
n,
|
|
41483
41429
|
t ? yield this.context._getFromScope(n, Se(t).split(".")) : n
|
|
@@ -41490,27 +41436,27 @@ function* S1e(e, t) {
|
|
|
41490
41436
|
function O1e(e, t) {
|
|
41491
41437
|
e = Oe(e);
|
|
41492
41438
|
const r = Se(t), n = t === void 0 ? hx : (i, a) => hx(i[r], a[r]);
|
|
41493
|
-
return [...
|
|
41439
|
+
return [...An(e)].sort(n);
|
|
41494
41440
|
}
|
|
41495
41441
|
const C1e = (e) => e && e.length || 0;
|
|
41496
41442
|
function* A1e(e, t) {
|
|
41497
41443
|
const r = [];
|
|
41498
|
-
for (const n of
|
|
41444
|
+
for (const n of An(Oe(e)))
|
|
41499
41445
|
r.push(yield this.context._getFromScope(n, Se(t).split(".")));
|
|
41500
41446
|
return r;
|
|
41501
41447
|
}
|
|
41502
41448
|
function $1e(e) {
|
|
41503
|
-
return e = Oe(e),
|
|
41449
|
+
return e = Oe(e), An(e).filter((t) => !fi(Oe(t)));
|
|
41504
41450
|
}
|
|
41505
41451
|
function I1e(e, t = []) {
|
|
41506
|
-
return e = Oe(e), t =
|
|
41452
|
+
return e = Oe(e), t = An(t).map((r) => Oe(r)), An(e).concat(t);
|
|
41507
41453
|
}
|
|
41508
41454
|
function R1e(e, t, r = 1) {
|
|
41509
41455
|
return e = Oe(e), fi(e) ? [] : (Kt(e) || (e = Se(e)), t = t < 0 ? e.length + t : t, e.slice(t, t + r));
|
|
41510
41456
|
}
|
|
41511
41457
|
function* P1e(e, t, r) {
|
|
41512
41458
|
const n = [];
|
|
41513
|
-
e =
|
|
41459
|
+
e = An(Oe(e));
|
|
41514
41460
|
for (const i of e)
|
|
41515
41461
|
n.push(yield this.context._getFromScope(i, Se(t).split(".")));
|
|
41516
41462
|
return e.filter((i, a) => r === void 0 ? Di(n[a], this.context) : Zt(r) ? r.equals(n[a]) : n[a] === r);
|
|
@@ -42638,7 +42584,7 @@ class Eb {
|
|
|
42638
42584
|
return this.impl.apply({ context: r, liquid: this.liquid }, [t, ...n]);
|
|
42639
42585
|
}
|
|
42640
42586
|
}
|
|
42641
|
-
class
|
|
42587
|
+
class $n {
|
|
42642
42588
|
/**
|
|
42643
42589
|
* @param str the value to be valuated, eg.: "foobar" | truncate: 3
|
|
42644
42590
|
*/
|
|
@@ -42658,7 +42604,7 @@ class An {
|
|
|
42658
42604
|
var e_e = {
|
|
42659
42605
|
parse: function(e) {
|
|
42660
42606
|
const t = new Ct(e.args, this.liquid.options.operatorsTrie);
|
|
42661
|
-
this.key = t.readIdentifier().content, t.skipBlank(), yt(t.peek() === "=", () => `illegal token ${e.getText()}`), t.advance(), this.value = new
|
|
42607
|
+
this.key = t.readIdentifier().content, t.skipBlank(), yt(t.peek() === "=", () => `illegal token ${e.getText()}`), t.advance(), this.value = new $n(t.remaining(), this.liquid);
|
|
42662
42608
|
},
|
|
42663
42609
|
render: function* (e) {
|
|
42664
42610
|
e.bottom()[this.key] = yield this.value.value(e, this.liquid.options.lenientIf);
|
|
@@ -42761,7 +42707,7 @@ function o_e(e) {
|
|
|
42761
42707
|
}
|
|
42762
42708
|
var s_e = {
|
|
42763
42709
|
parse: function(e, t) {
|
|
42764
|
-
this.cond = new
|
|
42710
|
+
this.cond = new $n(e.args, this.liquid), this.cases = [], this.elseTemplates = [];
|
|
42765
42711
|
let r = [];
|
|
42766
42712
|
const n = this.liquid.parser.parseStream(t).on("tag:when", (i) => {
|
|
42767
42713
|
r = [];
|
|
@@ -42918,10 +42864,10 @@ var u_e = {
|
|
|
42918
42864
|
this.branches = [], this.elseTemplates = [];
|
|
42919
42865
|
let r;
|
|
42920
42866
|
this.liquid.parser.parseStream(t).on("start", () => this.branches.push({
|
|
42921
|
-
predicate: new
|
|
42867
|
+
predicate: new $n(e.args, this.liquid),
|
|
42922
42868
|
templates: r = []
|
|
42923
42869
|
})).on("tag:elsif", (n) => this.branches.push({
|
|
42924
|
-
predicate: new
|
|
42870
|
+
predicate: new $n(n.args, this.liquid),
|
|
42925
42871
|
templates: r = []
|
|
42926
42872
|
})).on("tag:else", () => r = this.elseTemplates).on("tag:endif", function() {
|
|
42927
42873
|
this.stop();
|
|
@@ -43064,11 +43010,11 @@ var b_e = {
|
|
|
43064
43010
|
this.branches = [], this.elseTemplates = [];
|
|
43065
43011
|
let r;
|
|
43066
43012
|
this.liquid.parser.parseStream(t).on("start", () => this.branches.push({
|
|
43067
|
-
predicate: new
|
|
43013
|
+
predicate: new $n(e.args, this.liquid),
|
|
43068
43014
|
test: hb,
|
|
43069
43015
|
templates: r = []
|
|
43070
43016
|
})).on("tag:elsif", (n) => this.branches.push({
|
|
43071
|
-
predicate: new
|
|
43017
|
+
predicate: new $n(n.args, this.liquid),
|
|
43072
43018
|
test: Di,
|
|
43073
43019
|
templates: r = []
|
|
43074
43020
|
})).on("tag:else", () => r = this.elseTemplates).on("tag:endunless", function() {
|
|
@@ -43098,7 +43044,7 @@ var b_e = {
|
|
|
43098
43044
|
}
|
|
43099
43045
|
}, x_e = {
|
|
43100
43046
|
parse: function(e) {
|
|
43101
|
-
this.value = new
|
|
43047
|
+
this.value = new $n(e.args, this.liquid);
|
|
43102
43048
|
},
|
|
43103
43049
|
render: function* (e, t) {
|
|
43104
43050
|
const r = yield this.value.value(e, !1);
|
|
@@ -43387,7 +43333,7 @@ class U_e extends Sb {
|
|
|
43387
43333
|
}
|
|
43388
43334
|
class V_e extends Sb {
|
|
43389
43335
|
constructor(t, r) {
|
|
43390
|
-
super(t), this.value = new
|
|
43336
|
+
super(t), this.value = new $n(t.content, r);
|
|
43391
43337
|
const n = this.value.filters, i = r.options.outputEscape;
|
|
43392
43338
|
n.length && n[n.length - 1].name === "raw" ? n.pop() : i && n.push(new Eb(toString.call(i), i, [], r));
|
|
43393
43339
|
}
|
|
@@ -43539,7 +43485,7 @@ class Ob {
|
|
|
43539
43485
|
});
|
|
43540
43486
|
}
|
|
43541
43487
|
_evalValue(t, r) {
|
|
43542
|
-
const n = new
|
|
43488
|
+
const n = new $n(t, this), i = r instanceof Ls ? r : new Ls(r, this.options);
|
|
43543
43489
|
return n.value(i, !1);
|
|
43544
43490
|
}
|
|
43545
43491
|
evalValue(t, r) {
|
|
@@ -43649,7 +43595,7 @@ const LRe = (e, t = {}, r = {}, n = {}) => {
|
|
|
43649
43595
|
r = { ...r, ...a };
|
|
43650
43596
|
}
|
|
43651
43597
|
return r;
|
|
43652
|
-
},
|
|
43598
|
+
}, zn = (e) => ne.t(`components:document.chapters.${e}.title`), Bt = (e) => ne.t(`components:document.chapters.subChapters.${e}.title`), Z_e = {
|
|
43653
43599
|
// Based on folder name in document blocks as object key
|
|
43654
43600
|
// and node itemType in array values
|
|
43655
43601
|
docChapter: ["section"],
|
|
@@ -43673,14 +43619,14 @@ const LRe = (e, t = {}, r = {}, n = {}) => {
|
|
|
43673
43619
|
answer: ["answer"]
|
|
43674
43620
|
}, X_e = () => ({
|
|
43675
43621
|
docChapter: {
|
|
43676
|
-
parties: { title:
|
|
43677
|
-
workPackage: { title:
|
|
43678
|
-
warningInfo: { title:
|
|
43679
|
-
estimatedTime: { title:
|
|
43680
|
-
extraWorkTimeImpact: { title:
|
|
43681
|
-
extraWorkConstructionPricingList: { title:
|
|
43682
|
-
paymentTerms: { title:
|
|
43683
|
-
misc: { title:
|
|
43622
|
+
parties: { title: zn("parties"), classList: "print-avoid-break-inside" },
|
|
43623
|
+
workPackage: { title: zn("workPackage") },
|
|
43624
|
+
warningInfo: { title: zn("warningInfo") },
|
|
43625
|
+
estimatedTime: { title: zn("estimatedTime") },
|
|
43626
|
+
extraWorkTimeImpact: { title: zn("extraWorkTimeImpact") },
|
|
43627
|
+
extraWorkConstructionPricingList: { title: zn("extraWorkConstructionPricingList") },
|
|
43628
|
+
paymentTerms: { title: zn("paymentTerms") },
|
|
43629
|
+
misc: { title: zn("misc") }
|
|
43684
43630
|
},
|
|
43685
43631
|
docChapterSub: {
|
|
43686
43632
|
workAddress: { title: Bt("workAddress"), hideFromEdit: !0 },
|
|
@@ -44291,7 +44237,7 @@ let Rg = class {
|
|
|
44291
44237
|
} = {}) {
|
|
44292
44238
|
if (!t)
|
|
44293
44239
|
throw new Error("Missing param data");
|
|
44294
|
-
this._doc = t, this._doc = Vbe(this._doc, o), this._doc = nEe(this._doc), this._computedPricing = r, this._theme = o, this._props = a, this._readPrices = i, this._isPreview = n, this._pdfOptions = {}, this._template = this._doc.template ? new
|
|
44240
|
+
this._doc = t, this._doc = Vbe(this._doc, o), this._doc = nEe(this._doc), this._computedPricing = r, this._theme = o, this._props = a, this._readPrices = i, this._isPreview = n, this._pdfOptions = {}, this._template = this._doc.template ? new ti(this._doc.template) : null, this._dirtyKeys = {};
|
|
44295
44241
|
}
|
|
44296
44242
|
get data() {
|
|
44297
44243
|
return this._doc.data;
|
|
@@ -44785,7 +44731,7 @@ let Rg = class {
|
|
|
44785
44731
|
*/
|
|
44786
44732
|
duplicate() {
|
|
44787
44733
|
const t = this.clone();
|
|
44788
|
-
return t.id = null, t._doc._id = null, t.deleteProperty("data.expiresAt"), t.deleteProperty("data.rejectReasons"), t.deleteProperty("company"), t.deleteProperty("companyUser"), t.deleteProperty("senderClient"), t.clients = t.clients.map((r) =>
|
|
44734
|
+
return t.id = null, t._doc._id = null, t.deleteProperty("data.expiresAt"), t.deleteProperty("data.rejectReasons"), t.deleteProperty("company"), t.deleteProperty("companyUser"), t.deleteProperty("senderClient"), t.clients = t.clients.map((r) => Zn(r, ["id", "_id", "publicDocumentId", "answer"])), t.allArticles = t.allArticles.map((r) => Zn(r, ["id", "_id", "createdAt", "updatedAt", "deletedAt"])), t.resetReminders(), t.resetDefaultSelected(), t;
|
|
44789
44735
|
}
|
|
44790
44736
|
copyTemplateDocDefault({ keepClients: t = !1 } = {}) {
|
|
44791
44737
|
const {
|
|
@@ -44992,7 +44938,7 @@ class jl extends Rg {
|
|
|
44992
44938
|
return super.clients.map((t) => ({
|
|
44993
44939
|
...t,
|
|
44994
44940
|
docLink: `${this._baseDomain}/document/${t.publicDocumentId}`,
|
|
44995
|
-
...t.
|
|
44941
|
+
...t.customDocLinkRendered ? { docLink: t.customDocLinkRendered } : {}
|
|
44996
44942
|
}));
|
|
44997
44943
|
}
|
|
44998
44944
|
// Setter also needs forwarding because getter is exposed
|
|
@@ -45355,10 +45301,10 @@ const wEe = {
|
|
|
45355
45301
|
...v.getRawData()
|
|
45356
45302
|
};
|
|
45357
45303
|
} else if (o) {
|
|
45358
|
-
let v = ["default", "empty"].includes(o) ? new
|
|
45304
|
+
let v = ["default", "empty"].includes(o) ? new ti(Mx[o](h.language)) : this.getters["templates/byId"](o);
|
|
45359
45305
|
if (["offertaPdfTemplate", "onboardingTemplate"].includes(o)) {
|
|
45360
45306
|
const { data: y } = await Ai.get(o);
|
|
45361
|
-
v = new
|
|
45307
|
+
v = new ti(y);
|
|
45362
45308
|
}
|
|
45363
45309
|
if (v || (await this.dispatch(Ae.LOAD_TEMPLATE, { id: o }), v = this.getters["templates/byId"](o)), !v)
|
|
45364
45310
|
throw new Error(`Could not find template by id: '${o}'`);
|
|
@@ -45427,7 +45373,7 @@ const wEe = {
|
|
|
45427
45373
|
...h.data,
|
|
45428
45374
|
...!a && {
|
|
45429
45375
|
// TODO - Add key to template to know which path to read it from
|
|
45430
|
-
reminders: this.getters["forms/getDocumentAccountDefault"]("reminders", { template: new
|
|
45376
|
+
reminders: this.getters["forms/getDocumentAccountDefault"]("reminders", { template: new ti(h.template) })
|
|
45431
45377
|
}
|
|
45432
45378
|
}
|
|
45433
45379
|
}
|
|
@@ -45456,7 +45402,7 @@ const wEe = {
|
|
|
45456
45402
|
};
|
|
45457
45403
|
if (!t) {
|
|
45458
45404
|
if (!r.template) {
|
|
45459
|
-
const a = new
|
|
45405
|
+
const a = new ti(Mx.default(r.language));
|
|
45460
45406
|
r.template = { ...a._data, defaultData: a.defaultData };
|
|
45461
45407
|
}
|
|
45462
45408
|
const i = re(r, "template.defaultData", {});
|
|
@@ -45716,7 +45662,7 @@ const wEe = {
|
|
|
45716
45662
|
}, EEe = {}, TEe = {
|
|
45717
45663
|
// Wrapper to use vuex-map-fields for easy access to get/setter for document fields
|
|
45718
45664
|
setDocumentField(e, t) {
|
|
45719
|
-
const { path: r, value: n } = t, { root: i, prop: a } =
|
|
45665
|
+
const { path: r, value: n } = t, { root: i, prop: a } = Xn(e.document, r, !0);
|
|
45720
45666
|
Bo(i, {
|
|
45721
45667
|
path: a,
|
|
45722
45668
|
value: n
|
|
@@ -45738,7 +45684,7 @@ const wEe = {
|
|
|
45738
45684
|
console.warn("FormData was undefined!");
|
|
45739
45685
|
return;
|
|
45740
45686
|
}
|
|
45741
|
-
const n = JSON.parse(JSON.stringify(r)), { root: i, prop: a } =
|
|
45687
|
+
const n = JSON.parse(JSON.stringify(r)), { root: i, prop: a } = Xn(e, t, !0);
|
|
45742
45688
|
if (Array.isArray(n))
|
|
45743
45689
|
te.set(i, a, n);
|
|
45744
45690
|
else if (typeof n == "object" && n !== null) {
|
|
@@ -45754,14 +45700,14 @@ const wEe = {
|
|
|
45754
45700
|
},
|
|
45755
45701
|
// Clear form by value
|
|
45756
45702
|
[kEe](e, { key: t }) {
|
|
45757
|
-
const { root: r, prop: n } =
|
|
45703
|
+
const { root: r, prop: n } = Xn(e, t);
|
|
45758
45704
|
te.set(r, n, {});
|
|
45759
45705
|
},
|
|
45760
45706
|
/**
|
|
45761
45707
|
* @name REMOVE_FORM_VALUE
|
|
45762
45708
|
*/
|
|
45763
45709
|
[OEe](e, t) {
|
|
45764
|
-
const { root: r, prop: n } =
|
|
45710
|
+
const { root: r, prop: n } = Xn(e, t);
|
|
45765
45711
|
if (Array.isArray(r)) {
|
|
45766
45712
|
te.delete(r, n);
|
|
45767
45713
|
return;
|
|
@@ -45780,14 +45726,14 @@ const wEe = {
|
|
|
45780
45726
|
* @name REMOVE_FORM_KEY_VALUE
|
|
45781
45727
|
*/
|
|
45782
45728
|
[CEe](e, t) {
|
|
45783
|
-
const { root: r, prop: n } =
|
|
45729
|
+
const { root: r, prop: n } = Xn(e, t);
|
|
45784
45730
|
r && n in r && delete r[n];
|
|
45785
45731
|
},
|
|
45786
45732
|
/**
|
|
45787
45733
|
* @name SET_FORM_VALUE
|
|
45788
45734
|
*/
|
|
45789
45735
|
[SEe](e, { key: t, value: r }) {
|
|
45790
|
-
const { root: n, prop: i } =
|
|
45736
|
+
const { root: n, prop: i } = Xn(e, t, !0), a = Ve(r) === "null", o = Ve(r) === "array" && !r.length;
|
|
45791
45737
|
if (!a && n[i] && Ve(n[i]) === "array" && !o && Ve(r) !== "array") {
|
|
45792
45738
|
n[i].push(oo(r));
|
|
45793
45739
|
return;
|
|
@@ -45934,7 +45880,7 @@ const IEe = {
|
|
|
45934
45880
|
return r.length > 0 && (n = r.reduce((a, o) => a[o], e)), n[i];
|
|
45935
45881
|
},
|
|
45936
45882
|
getArrayElement: (e) => (t, r) => {
|
|
45937
|
-
const { root: n, prop: i } =
|
|
45883
|
+
const { root: n, prop: i } = Xn(e, t), a = n[i];
|
|
45938
45884
|
if (!Array.isArray(a))
|
|
45939
45885
|
throw new Error(`${i} is not an array`);
|
|
45940
45886
|
return a.find((s) => s.uniqueId === r);
|
|
@@ -45967,7 +45913,7 @@ const IEe = {
|
|
|
45967
45913
|
UPDATE_MANY_FILES: Hx,
|
|
45968
45914
|
DELETE_ONE_FILE: jEe,
|
|
45969
45915
|
SET_FILES_FETCHING: Wx,
|
|
45970
|
-
SET_FILES_POSTING:
|
|
45916
|
+
SET_FILES_POSTING: Hn
|
|
45971
45917
|
} = Yy, {
|
|
45972
45918
|
SET_FORM: Gx,
|
|
45973
45919
|
CLEAR_FORM: FEe
|
|
@@ -46006,7 +45952,7 @@ const IEe = {
|
|
|
46006
45952
|
*/
|
|
46007
45953
|
async [mh]({ commit: e }, { body: t }) {
|
|
46008
45954
|
try {
|
|
46009
|
-
e(
|
|
45955
|
+
e(Hn, !0);
|
|
46010
45956
|
const r = t.fileName || "";
|
|
46011
45957
|
let n = null;
|
|
46012
45958
|
if (t.blob) {
|
|
@@ -46025,7 +45971,7 @@ const IEe = {
|
|
|
46025
45971
|
actionPayload: arguments[1]
|
|
46026
45972
|
}), null;
|
|
46027
45973
|
} finally {
|
|
46028
|
-
e(
|
|
45974
|
+
e(Hn, !1);
|
|
46029
45975
|
}
|
|
46030
45976
|
},
|
|
46031
45977
|
/**
|
|
@@ -46039,7 +45985,7 @@ const IEe = {
|
|
|
46039
45985
|
*/
|
|
46040
45986
|
async [gh]({ commit: e, dispatch: t }, { id: r, body: n }) {
|
|
46041
45987
|
try {
|
|
46042
|
-
return e(
|
|
45988
|
+
return e(Hn, !0), await yre(r, n), await t(wd.LOAD_FILE, {
|
|
46043
45989
|
id: r
|
|
46044
45990
|
}), r;
|
|
46045
45991
|
} catch (i) {
|
|
@@ -46051,7 +45997,7 @@ const IEe = {
|
|
|
46051
45997
|
actionPayload: arguments[1]
|
|
46052
45998
|
}), null;
|
|
46053
45999
|
} finally {
|
|
46054
|
-
e(
|
|
46000
|
+
e(Hn, !1);
|
|
46055
46001
|
}
|
|
46056
46002
|
},
|
|
46057
46003
|
/**
|
|
@@ -46064,7 +46010,7 @@ const IEe = {
|
|
|
46064
46010
|
*/
|
|
46065
46011
|
async [Vx]({ commit: e }, { id: t }) {
|
|
46066
46012
|
try {
|
|
46067
|
-
return e(
|
|
46013
|
+
return e(Hn, !0), await bre(t), e(jEe, t), t;
|
|
46068
46014
|
} catch (r) {
|
|
46069
46015
|
return this.handleError(r, {
|
|
46070
46016
|
object: "file",
|
|
@@ -46074,7 +46020,7 @@ const IEe = {
|
|
|
46074
46020
|
actionPayload: arguments[1]
|
|
46075
46021
|
}), null;
|
|
46076
46022
|
} finally {
|
|
46077
|
-
e(
|
|
46023
|
+
e(Hn, !1);
|
|
46078
46024
|
}
|
|
46079
46025
|
},
|
|
46080
46026
|
/**
|
|
@@ -46086,7 +46032,7 @@ const IEe = {
|
|
|
46086
46032
|
*/
|
|
46087
46033
|
async [Bx]({ commit: e, dispatch: t }, { id: r }) {
|
|
46088
46034
|
try {
|
|
46089
|
-
return e(
|
|
46035
|
+
return e(Hn, !0), await wre(r), await t(wd.LOAD_FILE, {
|
|
46090
46036
|
id: r
|
|
46091
46037
|
}), r;
|
|
46092
46038
|
} catch (n) {
|
|
@@ -46098,7 +46044,7 @@ const IEe = {
|
|
|
46098
46044
|
actionPayload: arguments[1]
|
|
46099
46045
|
}), null;
|
|
46100
46046
|
} finally {
|
|
46101
|
-
e(
|
|
46047
|
+
e(Hn, !1);
|
|
46102
46048
|
}
|
|
46103
46049
|
},
|
|
46104
46050
|
/**
|
|
@@ -46123,7 +46069,7 @@ const IEe = {
|
|
|
46123
46069
|
*/
|
|
46124
46070
|
[LEe]({ commit: e, state: t }, { id: r, props: n = [] }) {
|
|
46125
46071
|
const i = {
|
|
46126
|
-
...
|
|
46072
|
+
...Sn(t.data[r], n),
|
|
46127
46073
|
id: r
|
|
46128
46074
|
};
|
|
46129
46075
|
return e(`forms/${Gx}`, { key: "file", formData: i }, { root: !0 });
|
|
@@ -46163,7 +46109,7 @@ const IEe = {
|
|
|
46163
46109
|
[VEe](e, { data: t = [] }) {
|
|
46164
46110
|
if (typeof t != "object")
|
|
46165
46111
|
throw Error("Data must be a company user or an array of company users!");
|
|
46166
|
-
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } =
|
|
46112
|
+
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } = Cn(r), a = n.reduce((o, s) => !i[s] || !i[s].publicId ? o : {
|
|
46167
46113
|
...o,
|
|
46168
46114
|
[i[s].publicId]: i[s].id
|
|
46169
46115
|
}, {});
|
|
@@ -46451,7 +46397,7 @@ function yxe(e, t, r, n, i, a) {
|
|
|
46451
46397
|
}
|
|
46452
46398
|
return p ? (a || (a = new yh()), hxe(e, t, r, n, i, a)) : !1;
|
|
46453
46399
|
}
|
|
46454
|
-
var bxe = yxe, wxe = bxe, nk =
|
|
46400
|
+
var bxe = yxe, wxe = bxe, nk = In;
|
|
46455
46401
|
function CR(e, t, r, n, i) {
|
|
46456
46402
|
return e === t ? !0 : e == null || t == null || !nk(e) && !nk(t) ? e !== e && t !== t : wxe(e, t, r, n, CR, i);
|
|
46457
46403
|
}
|
|
@@ -46537,7 +46483,7 @@ var fke = pke, hke = ry, mke = zA, gke = HA;
|
|
|
46537
46483
|
function vke(e, t) {
|
|
46538
46484
|
return gke(mke(e, t, hke), e + "");
|
|
46539
46485
|
}
|
|
46540
|
-
var yke = vke, bke = Cv, wke =
|
|
46486
|
+
var yke = vke, bke = Cv, wke = In;
|
|
46541
46487
|
function _ke(e) {
|
|
46542
46488
|
return wke(e) && bke(e);
|
|
46543
46489
|
}
|
|
@@ -47464,7 +47410,7 @@ const $ke = /* @__PURE__ */ bt(Ake), wh = "projects", {
|
|
|
47464
47410
|
[e2e](e, { data: t = [] }) {
|
|
47465
47411
|
if (typeof t != "object")
|
|
47466
47412
|
throw Error("Data must be a project or an array of projects!");
|
|
47467
|
-
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } =
|
|
47413
|
+
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } = Cn(r);
|
|
47468
47414
|
yr(e.data, i), e.ids = nr([...n, ...e.ids]);
|
|
47469
47415
|
},
|
|
47470
47416
|
[t2e](e) {
|
|
@@ -47602,11 +47548,6 @@ const $ke = /* @__PURE__ */ bt(Ake), wh = "projects", {
|
|
|
47602
47548
|
$type: Array,
|
|
47603
47549
|
$scope: ["project", "offer", "contract"]
|
|
47604
47550
|
},
|
|
47605
|
-
frontend: {
|
|
47606
|
-
$default: "vue",
|
|
47607
|
-
$type: String,
|
|
47608
|
-
$scope: ["project", "offer", "contract"]
|
|
47609
|
-
},
|
|
47610
47551
|
status: {
|
|
47611
47552
|
$default: "new",
|
|
47612
47553
|
$type: String
|
|
@@ -48118,7 +48059,7 @@ const d2e = {
|
|
|
48118
48059
|
async [Rk]({ commit: e, dispatch: t }, { body: r, doHide: n }) {
|
|
48119
48060
|
try {
|
|
48120
48061
|
e(Vr, !0);
|
|
48121
|
-
const i =
|
|
48062
|
+
const i = Zn(r, ["_id", "id", "companyId"]), a = await t(Ak, { body: i });
|
|
48122
48063
|
return n && await t(Ih, { id: r.id }), a;
|
|
48123
48064
|
} catch (i) {
|
|
48124
48065
|
throw i;
|
|
@@ -48180,7 +48121,7 @@ const d2e = {
|
|
|
48180
48121
|
});
|
|
48181
48122
|
}
|
|
48182
48123
|
}, E2e = {
|
|
48183
|
-
byId: (e) => (t) => e.data[t] ? new
|
|
48124
|
+
byId: (e) => (t) => e.data[t] ? new ti(e.data[t]) : null,
|
|
48184
48125
|
idList: (e) => e.ids,
|
|
48185
48126
|
isPosting: (e) => e.isPosting,
|
|
48186
48127
|
isFetching: (e) => e.isFetching,
|
|
@@ -48188,11 +48129,11 @@ const d2e = {
|
|
|
48188
48129
|
// Get available not starred templates
|
|
48189
48130
|
availableTemplates: (e, t) => {
|
|
48190
48131
|
const { idList: r, hiddenTemplateIds: n } = t;
|
|
48191
|
-
return r.filter((a) => !n.includes(a)).map((a) => new
|
|
48132
|
+
return r.filter((a) => !n.includes(a)).map((a) => new ti(e.data[a]));
|
|
48192
48133
|
},
|
|
48193
48134
|
hiddenTemplates: (e, t) => {
|
|
48194
48135
|
const { idList: r, hiddenTemplateIds: n } = t;
|
|
48195
|
-
return n.filter((a) => r.includes(a)).map((a) => new
|
|
48136
|
+
return n.filter((a) => r.includes(a)).map((a) => new ti(e.data[a]));
|
|
48196
48137
|
}
|
|
48197
48138
|
}, T2e = {
|
|
48198
48139
|
namespaced: !0,
|
|
@@ -48221,7 +48162,7 @@ const d2e = {
|
|
|
48221
48162
|
FORM_SUBMIT_TEMPLATE_MESSAGE: Uk
|
|
48222
48163
|
} = Ga, {
|
|
48223
48164
|
SET_TEMPLATE_MESSAGES: Mh,
|
|
48224
|
-
SET_TEMPLATE_MESSAGES_POSTING:
|
|
48165
|
+
SET_TEMPLATE_MESSAGES_POSTING: Wn,
|
|
48225
48166
|
SET_TEMPLATE_MESSAGES_FETCHING: zc
|
|
48226
48167
|
} = Zy, S2e = {
|
|
48227
48168
|
/**
|
|
@@ -48279,7 +48220,7 @@ const d2e = {
|
|
|
48279
48220
|
*/
|
|
48280
48221
|
async [Dk]({ commit: e }, { body: t }) {
|
|
48281
48222
|
try {
|
|
48282
|
-
e(
|
|
48223
|
+
e(Wn, !0);
|
|
48283
48224
|
const { data: r } = await $re(t);
|
|
48284
48225
|
return e(Mh, { data: r }), this.dispatch("application/SHOW_MESSAGE", {
|
|
48285
48226
|
type: "success",
|
|
@@ -48293,7 +48234,7 @@ const d2e = {
|
|
|
48293
48234
|
actionPayload: arguments[1]
|
|
48294
48235
|
}), null;
|
|
48295
48236
|
} finally {
|
|
48296
|
-
e(
|
|
48237
|
+
e(Wn, !1);
|
|
48297
48238
|
}
|
|
48298
48239
|
},
|
|
48299
48240
|
/**
|
|
@@ -48307,7 +48248,7 @@ const d2e = {
|
|
|
48307
48248
|
*/
|
|
48308
48249
|
async [Nk]({ dispatch: e, commit: t }, { id: r, body: n }) {
|
|
48309
48250
|
try {
|
|
48310
|
-
return t(
|
|
48251
|
+
return t(Wn, !0), await Ire(r, n), await e(Ga.LOAD_TEMPLATE_MESSAGE, {
|
|
48311
48252
|
id: r
|
|
48312
48253
|
}), this.dispatch("application/SHOW_MESSAGE", {
|
|
48313
48254
|
type: "success",
|
|
@@ -48322,7 +48263,7 @@ const d2e = {
|
|
|
48322
48263
|
actionPayload: arguments[1]
|
|
48323
48264
|
}), !1;
|
|
48324
48265
|
} finally {
|
|
48325
|
-
t(
|
|
48266
|
+
t(Wn, !1);
|
|
48326
48267
|
}
|
|
48327
48268
|
},
|
|
48328
48269
|
/**
|
|
@@ -48335,7 +48276,7 @@ const d2e = {
|
|
|
48335
48276
|
*/
|
|
48336
48277
|
async [Lk]({ commit: e }, { id: t }) {
|
|
48337
48278
|
try {
|
|
48338
|
-
return e(
|
|
48279
|
+
return e(Wn, !0), await Rre(t), e(Zy.DELETE_TEMPLATE_MESSAGE, t), this.dispatch("application/SHOW_MESSAGE", {
|
|
48339
48280
|
type: "success",
|
|
48340
48281
|
message: ne.t("removedThing", { thing: ne.t("template") }),
|
|
48341
48282
|
actions: {
|
|
@@ -48353,7 +48294,7 @@ const d2e = {
|
|
|
48353
48294
|
actionPayload: arguments[1]
|
|
48354
48295
|
}), !1;
|
|
48355
48296
|
} finally {
|
|
48356
|
-
e(
|
|
48297
|
+
e(Wn, !1);
|
|
48357
48298
|
}
|
|
48358
48299
|
},
|
|
48359
48300
|
/**
|
|
@@ -48366,7 +48307,7 @@ const d2e = {
|
|
|
48366
48307
|
*/
|
|
48367
48308
|
async [Ph]({ dispatch: e, commit: t }, { id: r }) {
|
|
48368
48309
|
try {
|
|
48369
|
-
return t(
|
|
48310
|
+
return t(Wn, !0), await Pre(r), await e(Rh, {
|
|
48370
48311
|
id: r
|
|
48371
48312
|
}), r;
|
|
48372
48313
|
} catch (n) {
|
|
@@ -48378,7 +48319,7 @@ const d2e = {
|
|
|
48378
48319
|
actionPayload: arguments[1]
|
|
48379
48320
|
}), null;
|
|
48380
48321
|
} finally {
|
|
48381
|
-
t(
|
|
48322
|
+
t(Wn, !1);
|
|
48382
48323
|
}
|
|
48383
48324
|
},
|
|
48384
48325
|
/**
|
|
@@ -49030,9 +48971,9 @@ const d2e = {
|
|
|
49030
48971
|
// array of ids
|
|
49031
48972
|
isFetching: !1,
|
|
49032
48973
|
isPosting: !1
|
|
49033
|
-
},
|
|
48974
|
+
}, Gn = "endCustomers", {
|
|
49034
48975
|
SET_ENDCUSTOMER_FETCHING: Gc,
|
|
49035
|
-
SET_ENDCUSTOMER_POSTING:
|
|
48976
|
+
SET_ENDCUSTOMER_POSTING: qn,
|
|
49036
48977
|
CLEAR_END_CUSTOMER: eSe
|
|
49037
48978
|
} = Wa, {
|
|
49038
48979
|
LOAD_ENDCUSTOMERS: Kk,
|
|
@@ -49072,7 +49013,7 @@ const d2e = {
|
|
|
49072
49013
|
return this.handleError(r, {
|
|
49073
49014
|
object: "endCustomer",
|
|
49074
49015
|
fallbackCode: "endCustomer.getAll",
|
|
49075
|
-
action: `${
|
|
49016
|
+
action: `${Gn}/${Kk}`
|
|
49076
49017
|
}), !1;
|
|
49077
49018
|
} finally {
|
|
49078
49019
|
e(Gc, !1);
|
|
@@ -49095,7 +49036,7 @@ const d2e = {
|
|
|
49095
49036
|
object: "endCustomer",
|
|
49096
49037
|
objectId: t,
|
|
49097
49038
|
fallbackCode: "endCustomer.get",
|
|
49098
|
-
action: `${
|
|
49039
|
+
action: `${Gn}/${qc}`,
|
|
49099
49040
|
actionPayload: arguments[1]
|
|
49100
49041
|
});
|
|
49101
49042
|
} finally {
|
|
@@ -49112,7 +49053,7 @@ const d2e = {
|
|
|
49112
49053
|
*/
|
|
49113
49054
|
async [jh]({ commit: e }, { body: t, showNotification: r = !0 }) {
|
|
49114
49055
|
try {
|
|
49115
|
-
e(
|
|
49056
|
+
e(qn, !0);
|
|
49116
49057
|
const { data: n } = await Nre(t);
|
|
49117
49058
|
return e(Wa.SET_ENDCUSTOMERS, { data: n }), r && this.dispatch("application/SHOW_MESSAGE", {
|
|
49118
49059
|
type: "success",
|
|
@@ -49123,11 +49064,11 @@ const d2e = {
|
|
|
49123
49064
|
return this.handleError(n, {
|
|
49124
49065
|
object: "endCustomer",
|
|
49125
49066
|
fallbackCode: "endCustomer.post",
|
|
49126
|
-
action: `${
|
|
49067
|
+
action: `${Gn}/${jh}`,
|
|
49127
49068
|
actionPayload: arguments[1]
|
|
49128
49069
|
}), null;
|
|
49129
49070
|
} finally {
|
|
49130
|
-
e(
|
|
49071
|
+
e(qn, !1);
|
|
49131
49072
|
}
|
|
49132
49073
|
},
|
|
49133
49074
|
/**
|
|
@@ -49141,7 +49082,7 @@ const d2e = {
|
|
|
49141
49082
|
*/
|
|
49142
49083
|
async [Lh]({ dispatch: e, commit: t }, { id: r, body: n }) {
|
|
49143
49084
|
try {
|
|
49144
|
-
return t(
|
|
49085
|
+
return t(qn, !0), await Lre(r, n), await e(qc, {
|
|
49145
49086
|
id: r
|
|
49146
49087
|
}), this.dispatch("application/SHOW_MESSAGE", {
|
|
49147
49088
|
type: "success",
|
|
@@ -49153,11 +49094,11 @@ const d2e = {
|
|
|
49153
49094
|
object: "endCustomer",
|
|
49154
49095
|
objectId: r,
|
|
49155
49096
|
fallbackCode: "endCustomer.put",
|
|
49156
|
-
action: `${
|
|
49097
|
+
action: `${Gn}/${Lh}`,
|
|
49157
49098
|
actionPayload: arguments[1]
|
|
49158
49099
|
}), null;
|
|
49159
49100
|
} finally {
|
|
49160
|
-
t(
|
|
49101
|
+
t(qn, !1);
|
|
49161
49102
|
}
|
|
49162
49103
|
},
|
|
49163
49104
|
/**
|
|
@@ -49170,7 +49111,7 @@ const d2e = {
|
|
|
49170
49111
|
*/
|
|
49171
49112
|
async [Yk]({ commit: e }, { id: t }) {
|
|
49172
49113
|
try {
|
|
49173
|
-
return e(
|
|
49114
|
+
return e(qn, !0), await jre(t), e(Wa.DELETE_ENDCUSTOMER, t), this.dispatch("application/SHOW_MESSAGE", {
|
|
49174
49115
|
type: "success",
|
|
49175
49116
|
message: ne.t("removedThing", { thing: ne.t("client") }),
|
|
49176
49117
|
actions: {
|
|
@@ -49184,11 +49125,11 @@ const d2e = {
|
|
|
49184
49125
|
object: "endCustomer",
|
|
49185
49126
|
objectId: t,
|
|
49186
49127
|
fallbackCode: "endCustomer.delete",
|
|
49187
|
-
action: `${
|
|
49128
|
+
action: `${Gn}/${Yk}`,
|
|
49188
49129
|
actionPayload: arguments[1]
|
|
49189
49130
|
}), null;
|
|
49190
49131
|
} finally {
|
|
49191
|
-
e(
|
|
49132
|
+
e(qn, !1);
|
|
49192
49133
|
}
|
|
49193
49134
|
},
|
|
49194
49135
|
/**
|
|
@@ -49199,7 +49140,7 @@ const d2e = {
|
|
|
49199
49140
|
*/
|
|
49200
49141
|
async [Fh]({ dispatch: e, commit: t }, { id: r }) {
|
|
49201
49142
|
try {
|
|
49202
|
-
return t(
|
|
49143
|
+
return t(qn, !0), await Fre(r), await e(qc, {
|
|
49203
49144
|
id: r
|
|
49204
49145
|
}), r;
|
|
49205
49146
|
} catch (n) {
|
|
@@ -49207,11 +49148,11 @@ const d2e = {
|
|
|
49207
49148
|
object: "endCustomer",
|
|
49208
49149
|
objectId: r,
|
|
49209
49150
|
fallbackCode: "endCustomer.patch",
|
|
49210
|
-
action: `${
|
|
49151
|
+
action: `${Gn}/${Fh}`,
|
|
49211
49152
|
actionPayload: arguments[1]
|
|
49212
49153
|
}), null;
|
|
49213
49154
|
} finally {
|
|
49214
|
-
t(
|
|
49155
|
+
t(qn, !1);
|
|
49215
49156
|
}
|
|
49216
49157
|
},
|
|
49217
49158
|
/**
|
|
@@ -49245,7 +49186,7 @@ const d2e = {
|
|
|
49245
49186
|
} catch (t) {
|
|
49246
49187
|
return this.handleError(t, {
|
|
49247
49188
|
object: "endCustomer",
|
|
49248
|
-
action: `${
|
|
49189
|
+
action: `${Gn}/${Jk}`
|
|
49249
49190
|
}), !1;
|
|
49250
49191
|
}
|
|
49251
49192
|
},
|
|
@@ -49258,7 +49199,7 @@ const d2e = {
|
|
|
49258
49199
|
* @param {String[]} object.props Optional array of strings which props to load into store
|
|
49259
49200
|
*/
|
|
49260
49201
|
async [tSe]({ getters: e }, { id: t, props: r = [] }) {
|
|
49261
|
-
const n =
|
|
49202
|
+
const n = Sn(e.endCustomerById(t), r);
|
|
49262
49203
|
this.dispatch(`forms/${Ee.forms.SET_FORM_VALUE}`, { key: "endCustomer", value: n });
|
|
49263
49204
|
},
|
|
49264
49205
|
/**
|
|
@@ -49282,7 +49223,7 @@ const d2e = {
|
|
|
49282
49223
|
return this.handleError(n, {
|
|
49283
49224
|
object: "endCustomer",
|
|
49284
49225
|
fallbackCode: "endCustomer.submit",
|
|
49285
|
-
action: `${
|
|
49226
|
+
action: `${Gn}/${Zk}`
|
|
49286
49227
|
}), null;
|
|
49287
49228
|
}
|
|
49288
49229
|
}
|
|
@@ -49300,7 +49241,7 @@ const d2e = {
|
|
|
49300
49241
|
[iSe](e, { data: t = [] }) {
|
|
49301
49242
|
if (typeof t != "object")
|
|
49302
49243
|
throw Error("Data must be a company user or an array of company users!");
|
|
49303
|
-
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } =
|
|
49244
|
+
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } = Cn(r);
|
|
49304
49245
|
yr(e.data, i), e.ids = nr([...n, ...e.ids]);
|
|
49305
49246
|
},
|
|
49306
49247
|
// Delete one
|
|
@@ -49376,7 +49317,7 @@ const d2e = {
|
|
|
49376
49317
|
FORM_SUBMIT_ARTICLE: r2
|
|
49377
49318
|
} = O5, {
|
|
49378
49319
|
SET_ARTICLES_FETCHING: Yc,
|
|
49379
|
-
SET_ARTICLES_POSTING:
|
|
49320
|
+
SET_ARTICLES_POSTING: Kn
|
|
49380
49321
|
} = C5, mSe = {
|
|
49381
49322
|
/**
|
|
49382
49323
|
* @name LOAD_ARTICLES
|
|
@@ -49428,7 +49369,7 @@ const d2e = {
|
|
|
49428
49369
|
*/
|
|
49429
49370
|
async [Uh]({ dispatch: e, commit: t }, { id: r, body: n }) {
|
|
49430
49371
|
try {
|
|
49431
|
-
return t(
|
|
49372
|
+
return t(Kn, !0), await xre(r, n), await e(Kc, {
|
|
49432
49373
|
id: r
|
|
49433
49374
|
}), this.dispatch("application/SHOW_MESSAGE", {
|
|
49434
49375
|
type: "success",
|
|
@@ -49443,7 +49384,7 @@ const d2e = {
|
|
|
49443
49384
|
actionPayload: arguments[1]
|
|
49444
49385
|
}), null;
|
|
49445
49386
|
} finally {
|
|
49446
|
-
t(
|
|
49387
|
+
t(Kn, !1);
|
|
49447
49388
|
}
|
|
49448
49389
|
},
|
|
49449
49390
|
/**
|
|
@@ -49454,7 +49395,7 @@ const d2e = {
|
|
|
49454
49395
|
*/
|
|
49455
49396
|
async [Qk]({ commit: e }, { body: t, showMessage: r = !0 }) {
|
|
49456
49397
|
try {
|
|
49457
|
-
e(
|
|
49398
|
+
e(Kn, !0);
|
|
49458
49399
|
const { data: n } = await Tre(t);
|
|
49459
49400
|
return await e(pSe, { data: n }), r && this.dispatch("application/SHOW_MESSAGE", {
|
|
49460
49401
|
type: "success",
|
|
@@ -49463,7 +49404,7 @@ const d2e = {
|
|
|
49463
49404
|
} catch (n) {
|
|
49464
49405
|
throw n;
|
|
49465
49406
|
} finally {
|
|
49466
|
-
e(
|
|
49407
|
+
e(Kn, !1);
|
|
49467
49408
|
}
|
|
49468
49409
|
},
|
|
49469
49410
|
/**
|
|
@@ -49474,7 +49415,7 @@ const d2e = {
|
|
|
49474
49415
|
*/
|
|
49475
49416
|
async [e2]({ commit: e }, { id: t }) {
|
|
49476
49417
|
try {
|
|
49477
|
-
return e(
|
|
49418
|
+
return e(Kn, !0), await kre(t), e(Ee.DELETE_ARTICLE, t), this.dispatch("application/SHOW_MESSAGE", {
|
|
49478
49419
|
type: "success",
|
|
49479
49420
|
message: ne.t("removedThing", { thing: ne.t("article") }),
|
|
49480
49421
|
actions: {
|
|
@@ -49492,7 +49433,7 @@ const d2e = {
|
|
|
49492
49433
|
actionPayload: arguments[1]
|
|
49493
49434
|
}), null;
|
|
49494
49435
|
} finally {
|
|
49495
|
-
e(
|
|
49436
|
+
e(Kn, !1);
|
|
49496
49437
|
}
|
|
49497
49438
|
},
|
|
49498
49439
|
/**
|
|
@@ -49503,7 +49444,7 @@ const d2e = {
|
|
|
49503
49444
|
*/
|
|
49504
49445
|
async [Vh]({ dispatch: e, commit: t }, { id: r }) {
|
|
49505
49446
|
try {
|
|
49506
|
-
return t(
|
|
49447
|
+
return t(Kn, !0), await Sre(r), await e(Kc, {
|
|
49507
49448
|
id: r
|
|
49508
49449
|
}), r;
|
|
49509
49450
|
} catch (n) {
|
|
@@ -49515,7 +49456,7 @@ const d2e = {
|
|
|
49515
49456
|
actionPayload: arguments[1]
|
|
49516
49457
|
}), null;
|
|
49517
49458
|
} finally {
|
|
49518
|
-
t(
|
|
49459
|
+
t(Kn, !1);
|
|
49519
49460
|
}
|
|
49520
49461
|
},
|
|
49521
49462
|
/**
|
|
@@ -49601,7 +49542,7 @@ const d2e = {
|
|
|
49601
49542
|
[gSe](e, { data: t }) {
|
|
49602
49543
|
if (typeof t != "object")
|
|
49603
49544
|
throw Error("Data must be an article or array of articles!");
|
|
49604
|
-
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } =
|
|
49545
|
+
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } = Cn(r);
|
|
49605
49546
|
yr(e.data, i), e.ids = nr([...n, ...e.ids]);
|
|
49606
49547
|
},
|
|
49607
49548
|
// Delete one
|
|
@@ -49758,7 +49699,7 @@ const d2e = {
|
|
|
49758
49699
|
[OSe](e, { data: t }) {
|
|
49759
49700
|
if (typeof t != "object")
|
|
49760
49701
|
throw Error("Data must be an unitType or array of unitTypes!");
|
|
49761
|
-
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } =
|
|
49702
|
+
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } = Cn(r);
|
|
49762
49703
|
yr(e.data, i), e.ids = nr([...n, ...e.ids]);
|
|
49763
49704
|
},
|
|
49764
49705
|
[CSe](e, t = "") {
|
|
@@ -51892,7 +51833,8 @@ class _Oe {
|
|
|
51892
51833
|
}
|
|
51893
51834
|
off(t, r) {
|
|
51894
51835
|
this._listeners.forEach((n, i) => {
|
|
51895
|
-
|
|
51836
|
+
var a;
|
|
51837
|
+
n.type === t && n.fn === r && (this._listeners.splice(i, 1), (a = this._socket) == null || a.off(t, r));
|
|
51896
51838
|
});
|
|
51897
51839
|
}
|
|
51898
51840
|
async connect() {
|
|
@@ -52749,7 +52691,7 @@ function Ot(e) {
|
|
|
52749
52691
|
function ks() {
|
|
52750
52692
|
return !0;
|
|
52751
52693
|
}
|
|
52752
|
-
function
|
|
52694
|
+
function Yn(e) {
|
|
52753
52695
|
return YOe.test(e);
|
|
52754
52696
|
}
|
|
52755
52697
|
function tCe(e) {
|
|
@@ -52785,10 +52727,10 @@ function rCe() {
|
|
|
52785
52727
|
theme: {
|
|
52786
52728
|
colors: [ks],
|
|
52787
52729
|
spacing: [xr],
|
|
52788
|
-
blur: ["none", "",
|
|
52730
|
+
blur: ["none", "", Yn, $i],
|
|
52789
52731
|
brightness: [Ft],
|
|
52790
52732
|
borderColor: [e],
|
|
52791
|
-
borderRadius: ["none", "", "full",
|
|
52733
|
+
borderRadius: ["none", "", "full", Yn, $i],
|
|
52792
52734
|
borderSpacing: [t],
|
|
52793
52735
|
borderWidth: K(),
|
|
52794
52736
|
contrast: [Ft],
|
|
@@ -52827,7 +52769,7 @@ function rCe() {
|
|
|
52827
52769
|
* @see https://tailwindcss.com/docs/columns
|
|
52828
52770
|
*/
|
|
52829
52771
|
columns: [{
|
|
52830
|
-
columns: [
|
|
52772
|
+
columns: [Yn]
|
|
52831
52773
|
}],
|
|
52832
52774
|
/**
|
|
52833
52775
|
* Break After
|
|
@@ -53369,8 +53311,8 @@ function rCe() {
|
|
|
53369
53311
|
*/
|
|
53370
53312
|
"max-w": [{
|
|
53371
53313
|
"max-w": ["0", "none", "full", "min", "max", "fit", "prose", {
|
|
53372
|
-
screen: [
|
|
53373
|
-
},
|
|
53314
|
+
screen: [Yn]
|
|
53315
|
+
}, Yn, $i]
|
|
53374
53316
|
}],
|
|
53375
53317
|
/**
|
|
53376
53318
|
* Height
|
|
@@ -53399,7 +53341,7 @@ function rCe() {
|
|
|
53399
53341
|
* @see https://tailwindcss.com/docs/font-size
|
|
53400
53342
|
*/
|
|
53401
53343
|
"font-size": [{
|
|
53402
|
-
text: ["base",
|
|
53344
|
+
text: ["base", Yn, $i]
|
|
53403
53345
|
}],
|
|
53404
53346
|
/**
|
|
53405
53347
|
* Font Smoothing
|
|
@@ -53982,7 +53924,7 @@ function rCe() {
|
|
|
53982
53924
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
53983
53925
|
*/
|
|
53984
53926
|
shadow: [{
|
|
53985
|
-
shadow: ["", "inner", "none",
|
|
53927
|
+
shadow: ["", "inner", "none", Yn, tCe]
|
|
53986
53928
|
}],
|
|
53987
53929
|
/**
|
|
53988
53930
|
* Box Shadow Color
|
|
@@ -54047,7 +53989,7 @@ function rCe() {
|
|
|
54047
53989
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
54048
53990
|
*/
|
|
54049
53991
|
"drop-shadow": [{
|
|
54050
|
-
"drop-shadow": ["", "none",
|
|
53992
|
+
"drop-shadow": ["", "none", Yn, Ot]
|
|
54051
53993
|
}],
|
|
54052
53994
|
/**
|
|
54053
53995
|
* Grayscale
|
|
@@ -56193,7 +56135,7 @@ var ECe = function() {
|
|
|
56193
56135
|
);
|
|
56194
56136
|
const x2 = xCe.exports;
|
|
56195
56137
|
function kCe() {
|
|
56196
|
-
Ar.init({ store: He }), ia.init({ store: He }), He.handleError = r$, SX(He,
|
|
56138
|
+
Ar.init({ store: He }), ia.init({ store: He }), He.handleError = r$, SX(He, _n), He.$router = _n;
|
|
56197
56139
|
}
|
|
56198
56140
|
kCe();
|
|
56199
56141
|
function SCe(e, t = {}) {
|
|
@@ -56224,12 +56166,12 @@ function SCe(e, t = {}) {
|
|
|
56224
56166
|
}, te.prototype.$view = "widget", te.use(_Z), te.use(kX), te.use(SOe), te.component(Ad.name, Ad), te.component(_2.name, _2), te.component(E2.name, E2), te.component(T2.name, T2), te.component(x2.name, x2), Te.debug && (te.config.productionTip = !1, te.config.devtools = !0, te.config.performance = !0), He.commit("application/SET_SOCKET_ENABLED", ((n = t == null ? void 0 : t.socket) == null ? void 0 : n.enabled) || !1);
|
|
56225
56167
|
const r = new te({
|
|
56226
56168
|
el: e,
|
|
56227
|
-
router:
|
|
56169
|
+
router: _n,
|
|
56228
56170
|
store: He,
|
|
56229
56171
|
i18n: ne,
|
|
56230
56172
|
render: (i) => i(Bge)
|
|
56231
56173
|
});
|
|
56232
|
-
return
|
|
56174
|
+
return _n.beforeEach((i, a, o) => (_n.resolve({ ...i }).href === "/" && ft.removeAllOverlayViews(), o())), r;
|
|
56233
56175
|
}
|
|
56234
56176
|
var OCe = Array.isArray, zb = OCe, CCe = typeof Je == "object" && Je && Je.Object === Object && Je, ACe = CCe, $Ce = ACe, ICe = typeof self == "object" && self && self.Object === Object && self, RCe = $Ce || ICe || Function("return this")(), Hb = RCe, PCe = Hb, MCe = PCe.Symbol, Wb = MCe, k2 = Wb, QR = Object.prototype, DCe = QR.hasOwnProperty, NCe = QR.toString, Ss = k2 ? k2.toStringTag : void 0;
|
|
56235
56177
|
function LCe(e) {
|
|
@@ -56815,7 +56757,7 @@ const lP = ({
|
|
|
56815
56757
|
n.nodeId === e && r.push(n), n.parentId === e && r.push(...uP(n.nodeId, t));
|
|
56816
56758
|
}), r;
|
|
56817
56759
|
}, N2 = (e, t) => {
|
|
56818
|
-
const { root: r, prop: n } =
|
|
56760
|
+
const { root: r, prop: n } = Xn(e, t);
|
|
56819
56761
|
r && n in r && delete r[n];
|
|
56820
56762
|
};
|
|
56821
56763
|
class M5e {
|
|
@@ -56827,7 +56769,7 @@ class M5e {
|
|
|
56827
56769
|
async pdf(t) {
|
|
56828
56770
|
let r = t;
|
|
56829
56771
|
if (typeof t == "string" && P5e(t)) {
|
|
56830
|
-
const { data: a } = await
|
|
56772
|
+
const { data: a } = await Tn.get(t, { responseType: "blob" });
|
|
56831
56773
|
r = new File([a], "copied-file.pdf", { type: a.type });
|
|
56832
56774
|
}
|
|
56833
56775
|
if (!(r instanceof File))
|
|
@@ -57481,7 +57423,7 @@ const H5e = "publicDocuments", {
|
|
|
57481
57423
|
[G2](e, { data: t = [] }) {
|
|
57482
57424
|
if (typeof t != "object")
|
|
57483
57425
|
throw Error("Data must be a company or an array of companies!");
|
|
57484
|
-
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } =
|
|
57426
|
+
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } = Cn(r, { keyId: "publicId" });
|
|
57485
57427
|
yr(e.companies, i), e.companyIds = nr([...n, ...e.companyIds]);
|
|
57486
57428
|
},
|
|
57487
57429
|
[Kh](e, { data: t = [] }) {
|
|
@@ -57503,7 +57445,7 @@ const H5e = "publicDocuments", {
|
|
|
57503
57445
|
[W2](e, { data: t = [] }) {
|
|
57504
57446
|
if (typeof t != "object")
|
|
57505
57447
|
throw Error("Data must be an invoice or an array of invoices!");
|
|
57506
|
-
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } =
|
|
57448
|
+
const r = Array.isArray(t) ? t : [t], { ids: n, values: i } = Cn(r);
|
|
57507
57449
|
yr(e.invoices, i), e.invoiceIds = nr([...n, ...e.invoiceIds]);
|
|
57508
57450
|
},
|
|
57509
57451
|
[H2](e, t) {
|
|
@@ -57752,7 +57694,7 @@ export {
|
|
|
57752
57694
|
uW as a7,
|
|
57753
57695
|
Rm as a8,
|
|
57754
57696
|
Ut as a9,
|
|
57755
|
-
|
|
57697
|
+
Xn as aA,
|
|
57756
57698
|
bve as aB,
|
|
57757
57699
|
TRe as aC,
|
|
57758
57700
|
Ar as aD,
|
|
@@ -57775,7 +57717,7 @@ export {
|
|
|
57775
57717
|
IRe as aU,
|
|
57776
57718
|
RRe as aV,
|
|
57777
57719
|
yRe as aW,
|
|
57778
|
-
|
|
57720
|
+
Zn as aX,
|
|
57779
57721
|
KIe as aY,
|
|
57780
57722
|
y5e as aZ,
|
|
57781
57723
|
iP as a_,
|
|
@@ -57802,7 +57744,7 @@ export {
|
|
|
57802
57744
|
Ci as au,
|
|
57803
57745
|
xRe as av,
|
|
57804
57746
|
ERe as aw,
|
|
57805
|
-
|
|
57747
|
+
Cn as ax,
|
|
57806
57748
|
yr as ay,
|
|
57807
57749
|
nr as az,
|
|
57808
57750
|
re as b,
|
|
@@ -57815,7 +57757,7 @@ export {
|
|
|
57815
57757
|
xs as b6,
|
|
57816
57758
|
SRe as b7,
|
|
57817
57759
|
Pm as b8,
|
|
57818
|
-
|
|
57760
|
+
ti as b9,
|
|
57819
57761
|
lRe as ba,
|
|
57820
57762
|
Xt as bb,
|
|
57821
57763
|
kRe as bc,
|
|
@@ -57840,7 +57782,7 @@ export {
|
|
|
57840
57782
|
QA as i,
|
|
57841
57783
|
bt as j,
|
|
57842
57784
|
la as k,
|
|
57843
|
-
|
|
57785
|
+
Tn as l,
|
|
57844
57786
|
p5 as m,
|
|
57845
57787
|
Gt as n,
|
|
57846
57788
|
vRe as o,
|