@cling-se/widget 0.15.5 → 0.15.6
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-CrZF5j7A.js → AddClientCallout-BpWCvb7A.js} +4 -4
- package/dist/{AnswerModal-C3r9vyki.js → AnswerModal-0JXov7oA.js} +3 -3
- package/dist/{AttachmentItem-BVXrxCnv.js → AttachmentItem-C93ndWhI.js} +4 -4
- package/dist/{BaseDatePicker-DxL2l3QC.js → BaseDatePicker-BaUxrKlN.js} +2 -2
- package/dist/{BaseUpload-B7259IaQ.js → BaseUpload-CACi6tYY.js} +2 -2
- package/dist/{BlockMedia-BSKtZMwa.js → BlockMedia-Dlv23tgo.js} +1 -1
- package/dist/{CCallout-BNvM6gNJ.js → CCallout-jnIpJu5U.js} +1 -1
- package/dist/{CCurrencyDropdown-xmqmb8gW.js → CCurrencyDropdown-BQLDbp9J.js} +3 -3
- package/dist/{CDropdownItem-DiLisSei.js → CDropdownItem-CNUf29O4.js} +1 -1
- package/dist/{CFormField-DcZVdj3a.js → CFormField-qy_STCgm.js} +1 -1
- package/dist/{CPhoneFormat-BeYxRN0i.js → CPhoneFormat-BZd_xftN.js} +1 -1
- package/dist/{CPhoneInput-UzZkxbC6.js → CPhoneInput-j4Zuah8p.js} +5 -5
- package/dist/{CPriceInput-C2y_3PM7.js → CPriceInput-CXGw4w0R.js} +2 -2
- package/dist/{CSelect-BmP1UsQA.js → CSelect-CSwTYXae.js} +1 -1
- package/dist/{CSkeleton-BNbft-NE.js → CSkeleton-B5J9cKAm.js} +1 -1
- package/dist/{ClientAutocomplete-BnredOme.js → ClientAutocomplete-CjaUEuHJ.js} +3 -3
- package/dist/{ClientModal-DNcf4APF.js → ClientModal-Cn40dzh3.js} +7 -7
- package/dist/{ColorPicker-BupC4jvI.js → ColorPicker-wUW8hJ8i.js} +1 -1
- package/dist/{CompanyModal-Bh8mEHE1.js → CompanyModal-CbcusrDu.js} +6 -6
- package/dist/{ContentWrapper-Bs3nrJda.js → ContentWrapper-Bad8dXOX.js} +6 -6
- package/dist/{CoverBlockSettings-WYZsCdky.js → CoverBlockSettings-DX390gBU.js} +6 -6
- package/dist/{DocAnswer--FfsnnTB.js → DocAnswer-BESzyKCO.js} +2 -2
- package/dist/{DocDetails-Ce7bj-qO.js → DocDetails-1rMbwwY3.js} +4 -4
- package/dist/{DocForm-FR_Vlq_C.js → DocForm-B3IxEK4j.js} +24 -24
- package/dist/{DocFormSend-DcSv3JNg.js → DocFormSend-sm8Hu8Be.js} +2 -2
- package/dist/{DocLinks-Bvhc62aJ.js → DocLinks-CyXFaNcq.js} +2 -2
- package/dist/{DocModalBase-DkfUBRi3.js → DocModalBase-CSh4Lkzq.js} +1 -1
- package/dist/{DocPrint-BrKY6rOy.js → DocPrint-BQ-M-3OC.js} +1 -1
- package/dist/{DocReceipt-oGrM6t_k.js → DocReceipt-OoEOv4bh.js} +2 -2
- package/dist/{DocSendReminder-veEC_yHK.js → DocSendReminder-dQcAFIdw.js} +1 -1
- package/dist/{DocTextEditor-CNRwxPEx.js → DocTextEditor-Ckfx6Hj5.js} +7 -7
- package/dist/{DocTimeline-e2Xf_QZ7.js → DocTimeline-DDaN8k9R.js} +2 -2
- package/dist/{DocumentClient-Dx4Uyxkh.js → DocumentClient-DBA3AQQG.js} +5 -5
- package/dist/{DocumentLayout-DmjmsTcx.js → DocumentLayout-D42e3G51.js} +4 -4
- package/dist/{DocumentLogotype-ddYHM9wn.js → DocumentLogotype-ngySb8g4.js} +4 -4
- package/dist/{DocumentVoided-WCk7XuxH.js → DocumentVoided-Dtj2XpOI.js} +1 -1
- package/dist/{EmbedInput-CMueXdFs.js → EmbedInput-CxqpXi4D.js} +3 -3
- package/dist/{EmbedSettings-BRuLCWr0.js → EmbedSettings-B4ejIQIJ.js} +3 -3
- package/dist/{ErrorCallout-CDtZceLU.js → ErrorCallout-BiCmogrM.js} +1 -1
- package/dist/{FilePreviewModal-BzAUuY58.js → FilePreviewModal-CpSfuR9V.js} +2 -2
- package/dist/{Flag-DkJgyDQK.js → Flag-B9CEVlmX.js} +1 -1
- package/dist/{HeaderSettings-CoKK5Mbt.js → HeaderSettings-CowCzINW.js} +9 -9
- package/dist/{ImageSelectModal-De64vGSr.js → ImageSelectModal-DdzcxIMp.js} +3 -3
- package/dist/{ImageUploadWrapper-CE6KTze0.js → ImageUploadWrapper-CWCF8Dlc.js} +2 -2
- package/dist/{Index-hkGYloih.js → Index-07hqDjA-.js} +5 -5
- package/dist/{Index-QMkjG7hk.js → Index-4_K-mW5b.js} +4 -4
- package/dist/{Index-Cf45UGbc.js → Index-B4PLiPUX.js} +1 -1
- package/dist/{Index-CfLPq-yA.js → Index-B4imH9tr.js} +4 -4
- package/dist/{Index-CBRJ-AZi.js → Index-BGXkhXYw.js} +2 -2
- package/dist/{Index-sqI1TF7Z.js → Index-BLK2yfMF.js} +2 -2
- package/dist/{Index-h5xDFYM9.js → Index-BS2bqI3s.js} +4 -4
- package/dist/{Index-BVKCCkQY.js → Index-BXm5pjk3.js} +8 -8
- package/dist/{Index-BoDKKVvL.js → Index-BY9jJJk1.js} +4 -4
- package/dist/{Index-CmV8oF4Q.js → Index-BeAySORd.js} +3 -3
- package/dist/{Index-ByqCyUgx.js → Index-BguXp1xd.js} +8 -8
- package/dist/{Index-DbKB8sTh.js → Index-CEQgPBnH.js} +5 -5
- package/dist/{Index-QmX5pv-V.js → Index-CWRkkwfa.js} +6 -6
- package/dist/{Index-DGdlZzVO.js → Index-CaRFixxe.js} +6 -6
- package/dist/{Index-BwaJW9CY.js → Index-ClP8s9kZ.js} +3 -3
- package/dist/{Index-CK_5l1kP.js → Index-Cmu_M3TM.js} +2 -2
- package/dist/{Index-BiGT3iEX.js → Index-Cnyk_-IC.js} +4 -4
- package/dist/{Index-M2Mce2_m.js → Index-CpLsMmCx.js} +7 -7
- package/dist/{Index-CJKyHWiO.js → Index-D7WQe9WH.js} +1 -1
- package/dist/{Index-Ci7y3O0G.js → Index-DAsAy5JF.js} +5 -5
- package/dist/{Index-DCf6_Zd2.js → Index-DEcCSixa.js} +2 -2
- package/dist/{Index-50KxppUS.js → Index-DMy3kJ7T.js} +4 -4
- package/dist/{Index-BUQ75xOU.js → Index-DWC0ggkj.js} +5 -5
- package/dist/{Index-q3gLm4b1.js → Index-DZ59IAyR.js} +2 -2
- package/dist/{Index-CtKNyVUB.js → Index-DdJbi1AO.js} +4 -4
- package/dist/{Index-C7pge7E9.js → Index-Df9ct4wb.js} +6 -6
- package/dist/{Index-CTokKHJA.js → Index-DhrjL3IY.js} +5 -5
- package/dist/{Index-B7vVIRFn.js → Index-Dm0Fzc6C.js} +4 -4
- package/dist/{Index-BotY9nbP.js → Index-DqSikIZB.js} +1 -1
- package/dist/{Index-DvNxOHHu.js → Index-DtSf7JJt.js} +5 -5
- package/dist/{Index-DgBOq2MJ.js → Index-FfBNBm3w.js} +2 -2
- package/dist/{Index-CLc_11Bc.js → Index-SN7H4PM1.js} +13 -13
- package/dist/{Index-CFQMtx5w.js → Index-U_PvsI4Y.js} +4 -4
- package/dist/{Index-CoRuYEYW.js → Index-sFiPn5zO.js} +5 -5
- package/dist/{InputToggleRow-DLFIMIdx.js → InputToggleRow-CRC8ievQ.js} +1 -1
- package/dist/{ManualPopover-Cf8DotlW.js → ManualPopover-15SKAS2F.js} +1 -1
- package/dist/{MediaWrapper-BgWmA3kS.js → MediaWrapper-CihDdp6P.js} +3 -3
- package/dist/{NotBindingText-DhsHxvkX.js → NotBindingText-nUBihSic.js} +2 -2
- package/dist/{PackageGroup-EbOSxv69.js → PackageGroup-Bk0UeRqr.js} +5 -5
- package/dist/{PdfTerms-im6uTd5E.js → PdfTerms-Cy2kB_Zo.js} +2 -2
- package/dist/{PdfViewer-DY0rcZjo.js → PdfViewer-BMcMfsRH.js} +3 -3
- package/dist/{PlainHtml-o031pfp-.js → PlainHtml-BDvPNe17.js} +1 -1
- package/dist/{PriceHeader-NdFa0Sqs.js → PriceHeader-DzvUaY9O.js} +6 -6
- package/dist/{SearchApi-Bw5E9IPj.js → SearchApi-BPJpYWWz.js} +2 -2
- package/dist/{SendForm-BDY5VDkS.js → SendForm-DWVu8jq8.js} +9 -9
- package/dist/{Setup-BsYqPmOm.js → Setup-DjxGq4d9.js} +1 -1
- package/dist/{SmartList-CP2wHig-.js → SmartList-Bh10ojB0.js} +1 -1
- package/dist/{TermsSettings-CUlSayCJ.js → TermsSettings-Cg8TYiLL.js} +5 -5
- package/dist/{ThemeColorRow-D3fav4Sl.js → ThemeColorRow-BeNhoFSI.js} +3 -3
- package/dist/{ToggleBinding-B715OVl2.js → ToggleBinding-KmMUK5gz.js} +4 -4
- package/dist/{UploadModal-THDJ-UNp.js → UploadModal-DTmPPCz3.js} +2 -2
- package/dist/{VideoPlayerInput-Cm3KoRnR.js → VideoPlayerInput-Z5j6JzLW.js} +4 -4
- package/dist/{VideoPlayerSettings-BFAjczuw.js → VideoPlayerSettings-C7GjuMAw.js} +2 -2
- package/dist/{VideoSelectModal-CzO8EMg9.js → VideoSelectModal-DMIdcoOE.js} +3 -3
- package/dist/{answerDocumentMixin-D12xJRhx.js → answerDocumentMixin-DulmofDA.js} +3 -3
- package/dist/{debounce-DLiv1sQX.js → debounce-nohaKn7u.js} +1 -1
- package/dist/{focusDrawerMixin-khaScuSu.js → focusDrawerMixin-BsYcC4qG.js} +1 -1
- package/dist/{formDrawerState-CJ6kjaD_.js → formDrawerState-Bpcaq429.js} +1 -1
- package/dist/{formValidationMixin-Bri1WflH.js → formValidationMixin-DYGNCEbq.js} +1 -1
- package/dist/{index-DJOUQneq.js → index-BUGMJTF2.js} +6 -6
- package/dist/{index-CMT3coT-.js → index-BVOHCIHl.js} +5 -5
- package/dist/{index-Dygy9XlG.js → index-CtA6LmXt.js} +1 -1
- package/dist/{index-B0Zu30kF.js → index-CxitjuY3.js} +1 -1
- package/dist/{index-C1Ngv-v3.js → index-CySeSzas.js} +1 -1
- package/dist/{index-DLa3QER7.js → index-zBWldKKX.js} +6 -6
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +57 -57
- package/dist/{main-U22_wtg0.js → main-CfSVOXu-.js} +416 -420
- package/dist/{mapFormMixin-BZf4RJIE.js → mapFormMixin-BTZaIaQ8.js} +1 -1
- package/dist/{omit-RBXmF_Fo.js → omit-DIEW6Th9.js} +1 -1
- package/dist/{publicSenderState-DKuvxj4_.js → publicSenderState-B4TdI-yD.js} +1 -1
- package/dist/{simplebar.min-Bnrne5ZK.js → simplebar.min-BZ0EEeAp.js} +1 -1
- package/dist/{throttle-Fkuqk26x.js → throttle-JENEyCY1.js} +2 -2
- package/dist/{tinycolor-BZ8wGctU.js → tinycolor-79beE8BV.js} +1 -1
- package/dist/{tippy.esm-BJe845c1.js → tippy.esm-CR28gOMM.js} +5 -5
- package/dist/{utils-BOWVR87A.js → utils-CD2k1yv3.js} +1 -1
- package/dist/{vuedraggable.umd-CJL8TWxZ.js → vuedraggable.umd-IXGjMCUG.js} +1 -1
- package/package.json +1 -1
|
@@ -224,16 +224,16 @@ let bD = class {
|
|
|
224
224
|
this.debug(t), typeof t == "object" && t.error && this.error(t.error);
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
|
-
const
|
|
228
|
-
|
|
227
|
+
const Mn = new bD();
|
|
228
|
+
Mn.setLevel(we.logLevel);
|
|
229
229
|
const wD = ["sv", "en"];
|
|
230
|
-
function
|
|
230
|
+
function hi(e) {
|
|
231
231
|
"@babel/helpers - typeof";
|
|
232
|
-
return
|
|
232
|
+
return hi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
233
233
|
return typeof t;
|
|
234
234
|
} : function(t) {
|
|
235
235
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
236
|
-
},
|
|
236
|
+
}, hi(e);
|
|
237
237
|
}
|
|
238
238
|
function _D(e, t, r) {
|
|
239
239
|
return t in e ? Object.defineProperty(e, t, {
|
|
@@ -275,7 +275,7 @@ function ra(e) {
|
|
|
275
275
|
return e;
|
|
276
276
|
}
|
|
277
277
|
function ol(e, t) {
|
|
278
|
-
if (t && (
|
|
278
|
+
if (t && (hi(t) === "object" || typeof t == "function"))
|
|
279
279
|
return t;
|
|
280
280
|
if (t !== void 0)
|
|
281
281
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -629,7 +629,7 @@ var Zd = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
629
629
|
key: "translate",
|
|
630
630
|
value: function(n, i, a) {
|
|
631
631
|
var o = this;
|
|
632
|
-
if (
|
|
632
|
+
if (hi(i) !== "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), i || (i = {}), n == null)
|
|
633
633
|
return "";
|
|
634
634
|
Array.isArray(n) || (n = [String(n)]);
|
|
635
635
|
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, h = i.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
@@ -1353,7 +1353,7 @@ function LD() {
|
|
|
1353
1353
|
appendNamespaceToCIMode: !1,
|
|
1354
1354
|
overloadTranslationOptionHandler: function(t) {
|
|
1355
1355
|
var r = {};
|
|
1356
|
-
if (
|
|
1356
|
+
if (hi(t[1]) === "object" && (r = t[1]), typeof t[1] == "string" && (r.defaultValue = t[1]), typeof t[2] == "string" && (r.tDescription = t[2]), hi(t[2]) === "object" || hi(t[3]) === "object") {
|
|
1357
1357
|
var n = t[3] || t[2];
|
|
1358
1358
|
Object.keys(n).forEach(function(i) {
|
|
1359
1359
|
r[i] = n[i];
|
|
@@ -1530,7 +1530,7 @@ var jD = function(e) {
|
|
|
1530
1530
|
value: function(n, i) {
|
|
1531
1531
|
var a = this, o = function s(l, c) {
|
|
1532
1532
|
var u;
|
|
1533
|
-
if (
|
|
1533
|
+
if (hi(c) !== "object") {
|
|
1534
1534
|
for (var d = arguments.length, p = new Array(d > 2 ? d - 2 : 0), h = 2; h < d; h++)
|
|
1535
1535
|
p[h - 2] = arguments[h];
|
|
1536
1536
|
u = a.options.overloadTranslationOptionHandler([l, c].concat(p));
|
|
@@ -2305,7 +2305,7 @@ function OS(e) {
|
|
|
2305
2305
|
return gI(e, !0), Ot(e, "__v_isShallow", !0), e;
|
|
2306
2306
|
}
|
|
2307
2307
|
function gI(e, t) {
|
|
2308
|
-
Dl(e) ||
|
|
2308
|
+
Dl(e) || In(
|
|
2309
2309
|
e,
|
|
2310
2310
|
t,
|
|
2311
2311
|
Ei()
|
|
@@ -2352,11 +2352,11 @@ var vI = {
|
|
|
2352
2352
|
}
|
|
2353
2353
|
return e.prototype.observeArray = function(t) {
|
|
2354
2354
|
for (var r = 0, n = t.length; r < n; r++)
|
|
2355
|
-
|
|
2355
|
+
In(t[r], !1, this.mock);
|
|
2356
2356
|
}, e;
|
|
2357
2357
|
}()
|
|
2358
2358
|
);
|
|
2359
|
-
function
|
|
2359
|
+
function In(e, t, r) {
|
|
2360
2360
|
if (e && Kt(e, "__ob__") && e.__ob__ instanceof l1)
|
|
2361
2361
|
return e.__ob__;
|
|
2362
2362
|
if (_v && (r || !Ei()) && (De(e) || Qt(e)) && Object.isExtensible(e) && !e.__v_skip && !mI.has(e) && !zt(e) && !(e instanceof fr))
|
|
@@ -2367,7 +2367,7 @@ function bi(e, t, r, n, i, a) {
|
|
|
2367
2367
|
if (!(s && s.configurable === !1)) {
|
|
2368
2368
|
var l = s && s.get, c = s && s.set;
|
|
2369
2369
|
(!l || c) && (r === CS || arguments.length === 2) && (r = e[t]);
|
|
2370
|
-
var u = !i &&
|
|
2370
|
+
var u = !i && In(r, !1, a);
|
|
2371
2371
|
return Object.defineProperty(e, t, {
|
|
2372
2372
|
enumerable: !0,
|
|
2373
2373
|
configurable: !0,
|
|
@@ -2389,7 +2389,7 @@ function bi(e, t, r, n, i, a) {
|
|
|
2389
2389
|
} else
|
|
2390
2390
|
r = p;
|
|
2391
2391
|
}
|
|
2392
|
-
u = !i &&
|
|
2392
|
+
u = !i && In(p, !1, a), o.notify();
|
|
2393
2393
|
}
|
|
2394
2394
|
}
|
|
2395
2395
|
}), o;
|
|
@@ -2398,7 +2398,7 @@ function bi(e, t, r, n, i, a) {
|
|
|
2398
2398
|
function Ev(e, t, r) {
|
|
2399
2399
|
if (!Dl(e)) {
|
|
2400
2400
|
var n = e.__ob__;
|
|
2401
|
-
return De(e) && vS(t) ? (e.length = Math.max(e.length, t), e.splice(t, 1, r), n && !n.shallow && n.mock &&
|
|
2401
|
+
return De(e) && vS(t) ? (e.length = Math.max(e.length, t), e.splice(t, 1, r), n && !n.shallow && n.mock && In(r, !1, !0), r) : t in e && !(t in Object.prototype) ? (e[t] = r, r) : e._isVue || n && n.vmCount ? r : n ? (bi(n.value, t, r, void 0, n.shallow, n.mock), n.dep.notify(), r) : (e[t] = r, r);
|
|
2402
2402
|
}
|
|
2403
2403
|
}
|
|
2404
2404
|
function AS(e, t) {
|
|
@@ -2534,7 +2534,7 @@ function kI(e, t, r) {
|
|
|
2534
2534
|
var n = r === void 0 ? nr : r, i = n.immediate, a = n.deep, o = n.flush, s = o === void 0 ? "pre" : o;
|
|
2535
2535
|
n.onTrack, n.onTrigger;
|
|
2536
2536
|
var l = Jt, c = function(y, b, w) {
|
|
2537
|
-
return w === void 0 && (w = null),
|
|
2537
|
+
return w === void 0 && (w = null), Nn(y, null, w, l, b);
|
|
2538
2538
|
}, u, d = !1, p = !1;
|
|
2539
2539
|
if (zt(e) ? (u = function() {
|
|
2540
2540
|
return e.value;
|
|
@@ -2686,9 +2686,9 @@ function km(e, t) {
|
|
|
2686
2686
|
var n = r.fns;
|
|
2687
2687
|
if (De(n))
|
|
2688
2688
|
for (var i = n.slice(), a = 0; a < i.length; a++)
|
|
2689
|
-
|
|
2689
|
+
Nn(i[a], null, arguments, t, "v-on handler");
|
|
2690
2690
|
else
|
|
2691
|
-
return
|
|
2691
|
+
return Nn(n, null, arguments, t, "v-on handler");
|
|
2692
2692
|
}
|
|
2693
2693
|
return r.fns = e, r;
|
|
2694
2694
|
}
|
|
@@ -2699,7 +2699,7 @@ function DS(e, t, r, n, i, a) {
|
|
|
2699
2699
|
for (o in t)
|
|
2700
2700
|
Se(e[o]) && (c = p1(o), n(c.name, t[o], c.capture));
|
|
2701
2701
|
}
|
|
2702
|
-
function
|
|
2702
|
+
function pi(e, t, r) {
|
|
2703
2703
|
e instanceof fr && (e = e.data.hook || (e.data.hook = {}));
|
|
2704
2704
|
var n, i = e[t];
|
|
2705
2705
|
function a() {
|
|
@@ -2919,7 +2919,7 @@ function GI(e) {
|
|
|
2919
2919
|
if (r) {
|
|
2920
2920
|
var n = e._setupContext = FS(e);
|
|
2921
2921
|
vi(e), Ao();
|
|
2922
|
-
var i =
|
|
2922
|
+
var i = Nn(r, null, [e._props || OS({}), n], e, "setup");
|
|
2923
2923
|
if ($o(), vi(), Ze(i))
|
|
2924
2924
|
t.render = i;
|
|
2925
2925
|
else if (Ht(i))
|
|
@@ -3118,7 +3118,7 @@ function aa(e, t, r) {
|
|
|
3118
3118
|
$o();
|
|
3119
3119
|
}
|
|
3120
3120
|
}
|
|
3121
|
-
function
|
|
3121
|
+
function Nn(e, t, r, n, i) {
|
|
3122
3122
|
var a;
|
|
3123
3123
|
try {
|
|
3124
3124
|
a = r ? e.apply(t, r) : e.call(t), a && !a._isVue && ym(a) && !a._handled && (a.catch(function(o) {
|
|
@@ -3272,7 +3272,7 @@ var l4 = 0, Nl = (
|
|
|
3272
3272
|
var r = this.value;
|
|
3273
3273
|
if (this.value = t, this.user) {
|
|
3274
3274
|
var n = 'callback for watcher "'.concat(this.expression, '"');
|
|
3275
|
-
|
|
3275
|
+
Nn(this.cb, this.vm, [t, r], this.vm, n);
|
|
3276
3276
|
} else
|
|
3277
3277
|
this.cb.call(this.vm, t, r);
|
|
3278
3278
|
}
|
|
@@ -3354,7 +3354,7 @@ function f4(e) {
|
|
|
3354
3354
|
if (i) {
|
|
3355
3355
|
i = i.length > 1 ? bm(i) : i;
|
|
3356
3356
|
for (var a = bm(arguments, 1), o = 'event handler for "'.concat(r, '"'), s = 0, l = i.length; s < l; s++)
|
|
3357
|
-
|
|
3357
|
+
Nn(i[s], n, a, n, o);
|
|
3358
3358
|
}
|
|
3359
3359
|
return n;
|
|
3360
3360
|
};
|
|
@@ -3476,7 +3476,7 @@ function Fr(e, t, r, n) {
|
|
|
3476
3476
|
var a = e.$options[t], o = "".concat(t, " hook");
|
|
3477
3477
|
if (a)
|
|
3478
3478
|
for (var s = 0, l = a.length; s < l; s++)
|
|
3479
|
-
|
|
3479
|
+
Nn(a[s], e, null, e, o);
|
|
3480
3480
|
e._hasHookEvent && e.$emit("hook:" + t), n && vi(i), $o();
|
|
3481
3481
|
}
|
|
3482
3482
|
var $n = [], Cv = [], cd = {}, $m = !1, Av = !1, Ya = 0;
|
|
@@ -3856,7 +3856,7 @@ function Rv(e, t, r, n) {
|
|
|
3856
3856
|
if (o === void 0) {
|
|
3857
3857
|
o = j4(n, i, e);
|
|
3858
3858
|
var c = _v;
|
|
3859
|
-
yi(!0),
|
|
3859
|
+
yi(!0), In(o), yi(c);
|
|
3860
3860
|
}
|
|
3861
3861
|
return o;
|
|
3862
3862
|
}
|
|
@@ -3882,25 +3882,25 @@ function k1(e, t) {
|
|
|
3882
3882
|
return r;
|
|
3883
3883
|
return -1;
|
|
3884
3884
|
}
|
|
3885
|
-
var
|
|
3885
|
+
var ci = {
|
|
3886
3886
|
enumerable: !0,
|
|
3887
3887
|
configurable: !0,
|
|
3888
3888
|
get: lt,
|
|
3889
3889
|
set: lt
|
|
3890
3890
|
};
|
|
3891
3891
|
function Mv(e, t, r) {
|
|
3892
|
-
|
|
3892
|
+
ci.get = function() {
|
|
3893
3893
|
return this[t][r];
|
|
3894
|
-
},
|
|
3894
|
+
}, ci.set = function(i) {
|
|
3895
3895
|
this[t][r] = i;
|
|
3896
|
-
}, Object.defineProperty(e, r,
|
|
3896
|
+
}, Object.defineProperty(e, r, ci);
|
|
3897
3897
|
}
|
|
3898
3898
|
function U4(e) {
|
|
3899
3899
|
var t = e.$options;
|
|
3900
3900
|
if (t.props && V4(e, t.props), GI(e), t.methods && G4(e, t.methods), t.data)
|
|
3901
3901
|
B4(e);
|
|
3902
3902
|
else {
|
|
3903
|
-
var r =
|
|
3903
|
+
var r = In(e._data = {});
|
|
3904
3904
|
r && r.vmCount++;
|
|
3905
3905
|
}
|
|
3906
3906
|
t.computed && W4(e, t.computed), t.watch && t.watch !== _m && q4(e, t.watch);
|
|
@@ -3926,7 +3926,7 @@ function B4(e) {
|
|
|
3926
3926
|
var a = r[i];
|
|
3927
3927
|
n && Kt(n, a) || xS(a) || Mv(e, "_data", a);
|
|
3928
3928
|
}
|
|
3929
|
-
var o =
|
|
3929
|
+
var o = In(t);
|
|
3930
3930
|
o && o.vmCount++;
|
|
3931
3931
|
}
|
|
3932
3932
|
function z4(e, t) {
|
|
@@ -3949,7 +3949,7 @@ function W4(e, t) {
|
|
|
3949
3949
|
}
|
|
3950
3950
|
function XS(e, t, r) {
|
|
3951
3951
|
var n = !Ei();
|
|
3952
|
-
Ze(r) ? (
|
|
3952
|
+
Ze(r) ? (ci.get = n ? S1(t) : O1(r), ci.set = lt) : (ci.get = r.get ? n && r.cache !== !1 ? S1(t) : O1(r.get) : lt, ci.set = r.set || lt), Object.defineProperty(e, t, ci);
|
|
3953
3953
|
}
|
|
3954
3954
|
function S1(e) {
|
|
3955
3955
|
return function() {
|
|
@@ -3997,7 +3997,7 @@ function Y4(e) {
|
|
|
3997
3997
|
var s = new Nl(o, n, i, a);
|
|
3998
3998
|
if (a.immediate) {
|
|
3999
3999
|
var l = 'callback for immediate watcher "'.concat(s.expression, '"');
|
|
4000
|
-
Ao(),
|
|
4000
|
+
Ao(), Nn(i, o, [s.value], o, l), $o();
|
|
4001
4001
|
}
|
|
4002
4002
|
return function() {
|
|
4003
4003
|
s.teardown();
|
|
@@ -4194,7 +4194,7 @@ function sN(e) {
|
|
|
4194
4194
|
mergeOptions: oa,
|
|
4195
4195
|
defineReactive: bi
|
|
4196
4196
|
}, e.set = Ev, e.delete = AS, e.nextTick = Sv, e.observable = function(r) {
|
|
4197
|
-
return
|
|
4197
|
+
return In(r), r;
|
|
4198
4198
|
}, e.options = /* @__PURE__ */ Object.create(null), Xd.forEach(function(r) {
|
|
4199
4199
|
e.options[r + "s"] = /* @__PURE__ */ Object.create(null);
|
|
4200
4200
|
}), e.options._base = e, Xe(e.options.components, oN), Q4(e), eN(e), tN(e), iN(e);
|
|
@@ -4357,7 +4357,7 @@ function Ka(e, t) {
|
|
|
4357
4357
|
if (Y(r)) {
|
|
4358
4358
|
var n = e.context, i = e.componentInstance || e.elm, a = t ? null : i, o = t ? void 0 : i;
|
|
4359
4359
|
if (Ze(r)) {
|
|
4360
|
-
|
|
4360
|
+
Nn(r, n, [a], n, "template ref function");
|
|
4361
4361
|
return;
|
|
4362
4362
|
}
|
|
4363
4363
|
var s = e.data.refInFor, l = typeof r == "string" || typeof r == "number", c = zt(r), u = n.$refs;
|
|
@@ -4381,7 +4381,7 @@ function R1(e, t, r) {
|
|
|
4381
4381
|
var n = e._setupState;
|
|
4382
4382
|
n && Kt(n, t) && (zt(n[t]) ? n[t].value = r : n[t] = r);
|
|
4383
4383
|
}
|
|
4384
|
-
var
|
|
4384
|
+
var fi = new fr("", {}, []), ps = ["create", "activate", "update", "remove", "destroy"];
|
|
4385
4385
|
function Pi(e, t) {
|
|
4386
4386
|
return e.key === t.key && e.asyncFactory === t.asyncFactory && (e.tag === t.tag && e.isComment === t.isComment && Y(e.data) === Y(t.data) && LN(e, t) || dt(e.isAsyncPlaceholder) && Se(t.asyncFactory.error));
|
|
4387
4387
|
}
|
|
@@ -4440,7 +4440,7 @@ function FN(e) {
|
|
|
4440
4440
|
for (var j, F = S; F.componentInstance; )
|
|
4441
4441
|
if (F = F.componentInstance._vnode, Y(j = F.data) && Y(j = j.transition)) {
|
|
4442
4442
|
for (j = 0; j < n.activate.length; ++j)
|
|
4443
|
-
n.activate[j](
|
|
4443
|
+
n.activate[j](fi, F);
|
|
4444
4444
|
O.push(F);
|
|
4445
4445
|
break;
|
|
4446
4446
|
}
|
|
@@ -4463,8 +4463,8 @@ function FN(e) {
|
|
|
4463
4463
|
}
|
|
4464
4464
|
function g(S, O) {
|
|
4465
4465
|
for (var I = 0; I < n.create.length; ++I)
|
|
4466
|
-
n.create[I](
|
|
4467
|
-
t = S.data.hook, Y(t) && (Y(t.create) && t.create(
|
|
4466
|
+
n.create[I](fi, S);
|
|
4467
|
+
t = S.data.hook, Y(t) && (Y(t.create) && t.create(fi, S), Y(t.insert) && O.push(S));
|
|
4468
4468
|
}
|
|
4469
4469
|
function v(S) {
|
|
4470
4470
|
var O;
|
|
@@ -4620,7 +4620,7 @@ function FN(e) {
|
|
|
4620
4620
|
n.destroy[fe](ae);
|
|
4621
4621
|
if (ae.elm = I.elm, oe) {
|
|
4622
4622
|
for (var se = 0; se < n.create.length; ++se)
|
|
4623
|
-
n.create[se](
|
|
4623
|
+
n.create[se](fi, ae);
|
|
4624
4624
|
var Q = ae.data.hook.insert;
|
|
4625
4625
|
if (Q.merged)
|
|
4626
4626
|
for (var ce = 1; ce < Q.fns.length; ce++)
|
|
@@ -4639,14 +4639,14 @@ var UN = {
|
|
|
4639
4639
|
create: sf,
|
|
4640
4640
|
update: sf,
|
|
4641
4641
|
destroy: function(t) {
|
|
4642
|
-
sf(t,
|
|
4642
|
+
sf(t, fi);
|
|
4643
4643
|
}
|
|
4644
4644
|
};
|
|
4645
4645
|
function sf(e, t) {
|
|
4646
4646
|
(e.data.directives || t.data.directives) && VN(e, t);
|
|
4647
4647
|
}
|
|
4648
4648
|
function VN(e, t) {
|
|
4649
|
-
var r = e ===
|
|
4649
|
+
var r = e === fi, n = t === fi, i = M1(e.data.directives, e.context), a = M1(t.data.directives, t.context), o = [], s = [], l, c, u;
|
|
4650
4650
|
for (l in a)
|
|
4651
4651
|
c = i[l], u = a[l], c ? (u.oldValue = c.value, u.oldArg = c.arg, fs(u, "update", t, e), u.def && u.def.componentUpdated && s.push(u)) : (fs(u, "bind", t, e), u.def && u.def.inserted && o.push(u));
|
|
4652
4652
|
if (o.length) {
|
|
@@ -4654,9 +4654,9 @@ function VN(e, t) {
|
|
|
4654
4654
|
for (var p = 0; p < o.length; p++)
|
|
4655
4655
|
fs(o[p], "inserted", t, e);
|
|
4656
4656
|
};
|
|
4657
|
-
r ?
|
|
4657
|
+
r ? pi(t, "insert", d) : d();
|
|
4658
4658
|
}
|
|
4659
|
-
if (s.length &&
|
|
4659
|
+
if (s.length && pi(t, "postpatch", function() {
|
|
4660
4660
|
for (var p = 0; p < s.length; p++)
|
|
4661
4661
|
fs(s[p], "componentUpdated", t, e);
|
|
4662
4662
|
}), !r)
|
|
@@ -4794,7 +4794,7 @@ var ZN = {
|
|
|
4794
4794
|
update: uf,
|
|
4795
4795
|
// @ts-expect-error emptyNode has actually data
|
|
4796
4796
|
destroy: function(e) {
|
|
4797
|
-
return uf(e,
|
|
4797
|
+
return uf(e, fi);
|
|
4798
4798
|
}
|
|
4799
4799
|
}, xc;
|
|
4800
4800
|
function j1(e, t) {
|
|
@@ -5030,7 +5030,7 @@ function Vm(e, t) {
|
|
|
5030
5030
|
var D = R && c ? c : o, C = R && d ? d : l, M = R && u ? u : s, q = R && g || p, S = R && Ze(v) ? v : h, O = R && y || f, I = R && b || m, L = sl(Ht(w) ? w.enter : w), j = i !== !1 && !Co, F = Fv(S), z = r._enterCb = ad(function() {
|
|
5031
5031
|
j && (Pn(r, M), Pn(r, C)), z.cancelled ? (j && Pn(r, D), I && I(r)) : O && O(r), r._enterCb = null;
|
|
5032
5032
|
});
|
|
5033
|
-
e.data.show ||
|
|
5033
|
+
e.data.show || pi(e, "insert", function() {
|
|
5034
5034
|
var P = r.parentNode, H = P && P._pending && P._pending[e.key];
|
|
5035
5035
|
H && H.tag === e.tag && H.elm._leaveCb && H.elm._leaveCb(), S && S(r, z);
|
|
5036
5036
|
}), q && q(r), j && (Yi(r, D), Yi(r, C), uO(function() {
|
|
@@ -5082,7 +5082,7 @@ Co && document.addEventListener("selectionchange", function() {
|
|
|
5082
5082
|
});
|
|
5083
5083
|
var mO = {
|
|
5084
5084
|
inserted: function(e, t, r, n) {
|
|
5085
|
-
r.tag === "select" ? (n.elm && !n.elm._vOptions ?
|
|
5085
|
+
r.tag === "select" ? (n.elm && !n.elm._vOptions ? pi(r, "postpatch", function() {
|
|
5086
5086
|
mO.componentUpdated(e, t, r);
|
|
5087
5087
|
}) : Y1(e, t, r.context), e._vOptions = [].map.call(e.options, hd)) : (r.tag === "textarea" || Fm(e.type)) && (e._vModifiers = t.modifiers, t.modifiers.lazy || (e.addEventListener("compositionstart", p3), e.addEventListener("compositionend", Z1), e.addEventListener("change", Z1), Co && (e.vmodel = !0)));
|
|
5088
5088
|
},
|
|
@@ -5237,7 +5237,7 @@ var v3 = function(e) {
|
|
|
5237
5237
|
!(c.componentInstance && c.componentInstance._vnode.isComment)) {
|
|
5238
5238
|
var u = c.data.transition = Xe({}, s);
|
|
5239
5239
|
if (n === "out-in")
|
|
5240
|
-
return this._leaving = !0,
|
|
5240
|
+
return this._leaving = !0, pi(u, "afterLeave", function() {
|
|
5241
5241
|
t._leaving = !1, t.$forceUpdate();
|
|
5242
5242
|
}), X1(e, i);
|
|
5243
5243
|
if (n === "in-out") {
|
|
@@ -5246,7 +5246,7 @@ var v3 = function(e) {
|
|
|
5246
5246
|
var d, p = function() {
|
|
5247
5247
|
d();
|
|
5248
5248
|
};
|
|
5249
|
-
|
|
5249
|
+
pi(s, "afterEnter", p), pi(s, "enterCancelled", p), pi(u, "delayLeave", function(h) {
|
|
5250
5250
|
d = h;
|
|
5251
5251
|
});
|
|
5252
5252
|
}
|
|
@@ -5928,7 +5928,7 @@ function Ge(e, t) {
|
|
|
5928
5928
|
n = "0" + n;
|
|
5929
5929
|
return r + n;
|
|
5930
5930
|
}
|
|
5931
|
-
var
|
|
5931
|
+
var Gn = {
|
|
5932
5932
|
// Year
|
|
5933
5933
|
y: function(t, r) {
|
|
5934
5934
|
var n = t.getUTCFullYear(), i = n > 0 ? n : 1 - n;
|
|
@@ -6019,7 +6019,7 @@ var qn = {
|
|
|
6019
6019
|
unit: "year"
|
|
6020
6020
|
});
|
|
6021
6021
|
}
|
|
6022
|
-
return
|
|
6022
|
+
return Gn.y(t, r);
|
|
6023
6023
|
},
|
|
6024
6024
|
// Local week-numbering year
|
|
6025
6025
|
Y: function(t, r, n, i) {
|
|
@@ -6116,7 +6116,7 @@ var qn = {
|
|
|
6116
6116
|
switch (r) {
|
|
6117
6117
|
case "M":
|
|
6118
6118
|
case "MM":
|
|
6119
|
-
return
|
|
6119
|
+
return Gn.M(t, r);
|
|
6120
6120
|
case "Mo":
|
|
6121
6121
|
return n.ordinalNumber(i + 1, {
|
|
6122
6122
|
unit: "month"
|
|
@@ -6187,7 +6187,7 @@ var qn = {
|
|
|
6187
6187
|
d: function(t, r, n) {
|
|
6188
6188
|
return r === "do" ? n.ordinalNumber(t.getUTCDate(), {
|
|
6189
6189
|
unit: "date"
|
|
6190
|
-
}) :
|
|
6190
|
+
}) : Gn.d(t, r);
|
|
6191
6191
|
},
|
|
6192
6192
|
// Day of year
|
|
6193
6193
|
D: function(t, r, n) {
|
|
@@ -6418,13 +6418,13 @@ var qn = {
|
|
|
6418
6418
|
unit: "hour"
|
|
6419
6419
|
});
|
|
6420
6420
|
}
|
|
6421
|
-
return
|
|
6421
|
+
return Gn.h(t, r);
|
|
6422
6422
|
},
|
|
6423
6423
|
// Hour [0-23]
|
|
6424
6424
|
H: function(t, r, n) {
|
|
6425
6425
|
return r === "Ho" ? n.ordinalNumber(t.getUTCHours(), {
|
|
6426
6426
|
unit: "hour"
|
|
6427
|
-
}) :
|
|
6427
|
+
}) : Gn.H(t, r);
|
|
6428
6428
|
},
|
|
6429
6429
|
// Hour [0-11]
|
|
6430
6430
|
K: function(t, r, n) {
|
|
@@ -6444,17 +6444,17 @@ var qn = {
|
|
|
6444
6444
|
m: function(t, r, n) {
|
|
6445
6445
|
return r === "mo" ? n.ordinalNumber(t.getUTCMinutes(), {
|
|
6446
6446
|
unit: "minute"
|
|
6447
|
-
}) :
|
|
6447
|
+
}) : Gn.m(t, r);
|
|
6448
6448
|
},
|
|
6449
6449
|
// Second
|
|
6450
6450
|
s: function(t, r, n) {
|
|
6451
6451
|
return r === "so" ? n.ordinalNumber(t.getUTCSeconds(), {
|
|
6452
6452
|
unit: "second"
|
|
6453
|
-
}) :
|
|
6453
|
+
}) : Gn.s(t, r);
|
|
6454
6454
|
},
|
|
6455
6455
|
// Fraction of second
|
|
6456
6456
|
S: function(t, r) {
|
|
6457
|
-
return
|
|
6457
|
+
return Gn.S(t, r);
|
|
6458
6458
|
},
|
|
6459
6459
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
6460
6460
|
X: function(t, r, n, i) {
|
|
@@ -12625,7 +12625,7 @@ const $O = gS, PO = {
|
|
|
12625
12625
|
saveMissing: !0,
|
|
12626
12626
|
// Needed for missingKeyHandler to be used
|
|
12627
12627
|
missingKeyHandler(t, r, n, i) {
|
|
12628
|
-
|
|
12628
|
+
Mn.info(
|
|
12629
12629
|
`i18next: Missing translation lng '${t}', ns '${r}', 'key: '${n}'`
|
|
12630
12630
|
);
|
|
12631
12631
|
},
|
|
@@ -13845,7 +13845,7 @@ function qj(e, t, r) {
|
|
|
13845
13845
|
const Jm = {
|
|
13846
13846
|
assertOptions: qj,
|
|
13847
13847
|
validators: Gv
|
|
13848
|
-
},
|
|
13848
|
+
}, qn = Jm.validators;
|
|
13849
13849
|
let Ki = class {
|
|
13850
13850
|
constructor(t) {
|
|
13851
13851
|
this.defaults = t, this.interceptors = {
|
|
@@ -13865,14 +13865,14 @@ let Ki = class {
|
|
|
13865
13865
|
typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = ho(this.defaults, r);
|
|
13866
13866
|
const { transitional: n, paramsSerializer: i, headers: a } = r;
|
|
13867
13867
|
n !== void 0 && Jm.assertOptions(n, {
|
|
13868
|
-
silentJSONParsing:
|
|
13869
|
-
forcedJSONParsing:
|
|
13870
|
-
clarifyTimeoutError:
|
|
13868
|
+
silentJSONParsing: qn.transitional(qn.boolean),
|
|
13869
|
+
forcedJSONParsing: qn.transitional(qn.boolean),
|
|
13870
|
+
clarifyTimeoutError: qn.transitional(qn.boolean)
|
|
13871
13871
|
}, !1), i != null && (ee.isFunction(i) ? r.paramsSerializer = {
|
|
13872
13872
|
serialize: i
|
|
13873
13873
|
} : Jm.assertOptions(i, {
|
|
13874
|
-
encode:
|
|
13875
|
-
serialize:
|
|
13874
|
+
encode: qn.function,
|
|
13875
|
+
serialize: qn.function
|
|
13876
13876
|
}, !0)), r.method = (r.method || this.defaults.method || "get").toLowerCase();
|
|
13877
13877
|
let o = a && ee.merge(
|
|
13878
13878
|
a.common,
|
|
@@ -15672,11 +15672,11 @@ var E9 = _9;
|
|
|
15672
15672
|
function x9(e) {
|
|
15673
15673
|
return e != null && typeof e == "object";
|
|
15674
15674
|
}
|
|
15675
|
-
var
|
|
15675
|
+
var Un = x9, T9 = Do, k9 = Un, S9 = "[object Arguments]";
|
|
15676
15676
|
function O9(e) {
|
|
15677
15677
|
return k9(e) && T9(e) == S9;
|
|
15678
15678
|
}
|
|
15679
|
-
var C9 = O9, $w = C9, A9 =
|
|
15679
|
+
var C9 = O9, $w = C9, A9 = Un, dC = Object.prototype, $9 = dC.hasOwnProperty, P9 = dC.propertyIsEnumerable, R9 = $w(/* @__PURE__ */ function() {
|
|
15680
15680
|
return arguments;
|
|
15681
15681
|
}()) ? $w : function(e) {
|
|
15682
15682
|
return A9(e) && $9.call(e, "callee") && !P9.call(e, "callee");
|
|
@@ -15699,7 +15699,7 @@ var ey = j9, F9 = 9007199254740991;
|
|
|
15699
15699
|
function U9(e) {
|
|
15700
15700
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= F9;
|
|
15701
15701
|
}
|
|
15702
|
-
var ty = U9, V9 = Do, B9 = ty, z9 =
|
|
15702
|
+
var ty = U9, V9 = Do, B9 = ty, z9 = Un, H9 = "[object Arguments]", W9 = "[object Array]", G9 = "[object Boolean]", q9 = "[object Date]", Y9 = "[object Error]", K9 = "[object Function]", J9 = "[object Map]", Z9 = "[object Number]", X9 = "[object Object]", Q9 = "[object RegExp]", eV = "[object Set]", tV = "[object String]", rV = "[object WeakMap]", nV = "[object ArrayBuffer]", iV = "[object DataView]", aV = "[object Float32Array]", oV = "[object Float64Array]", sV = "[object Int8Array]", lV = "[object Int16Array]", cV = "[object Int32Array]", uV = "[object Uint8Array]", dV = "[object Uint8ClampedArray]", pV = "[object Uint16Array]", fV = "[object Uint32Array]", nt = {};
|
|
15703
15703
|
nt[aV] = nt[oV] = nt[sV] = nt[lV] = nt[cV] = nt[uV] = nt[dV] = nt[pV] = nt[fV] = !0;
|
|
15704
15704
|
nt[H9] = nt[W9] = nt[nV] = nt[G9] = nt[iV] = nt[q9] = nt[Y9] = nt[K9] = nt[J9] = nt[Z9] = nt[X9] = nt[Q9] = nt[eV] = nt[tV] = nt[rV] = !1;
|
|
15705
15705
|
function hV(e) {
|
|
@@ -15954,11 +15954,11 @@ var pH = dH, fH = da, zw = Object.create, hH = /* @__PURE__ */ function() {
|
|
|
15954
15954
|
function bH(e) {
|
|
15955
15955
|
return typeof e.constructor == "function" && !yH(e) ? gH(vH(e)) : {};
|
|
15956
15956
|
}
|
|
15957
|
-
var wH = bH, _H = fp, EH =
|
|
15957
|
+
var wH = bH, _H = fp, EH = Un, xH = "[object Map]";
|
|
15958
15958
|
function TH(e) {
|
|
15959
15959
|
return EH(e) && _H(e) == xH;
|
|
15960
15960
|
}
|
|
15961
|
-
var kH = TH, SH = kH, OH = dp, Hw = ry, Ww = Hw && Hw.isMap, CH = Ww ? OH(Ww) : SH, AH = CH, $H = fp, PH =
|
|
15961
|
+
var kH = TH, SH = kH, OH = dp, Hw = ry, Ww = Hw && Hw.isMap, CH = Ww ? OH(Ww) : SH, AH = CH, $H = fp, PH = Un, RH = "[object Set]";
|
|
15962
15962
|
function MH(e) {
|
|
15963
15963
|
return PH(e) && $H(e) == RH;
|
|
15964
15964
|
}
|
|
@@ -16048,7 +16048,7 @@ function vl() {
|
|
|
16048
16048
|
return vl.last = e > t ? e : t + 1;
|
|
16049
16049
|
}
|
|
16050
16050
|
var zW = gl.exports;
|
|
16051
|
-
const
|
|
16051
|
+
const Vn = /* @__PURE__ */ $t(zW), I5e = (e, t) => (e || "").substr(0, t - 1) + ((e || "").length > t ? "..." : ""), N5e = (e) => typeof e != "string" ? "" : e.replace(/<[^>]+>/g, " ");
|
|
16052
16052
|
function HW(e) {
|
|
16053
16053
|
return Number(e) === e && e % 1 !== 0;
|
|
16054
16054
|
}
|
|
@@ -16120,7 +16120,7 @@ function mo(e, t = !1) {
|
|
|
16120
16120
|
throw Error("Arg.0 must be an object");
|
|
16121
16121
|
return {
|
|
16122
16122
|
...e,
|
|
16123
|
-
_uniqueId: e._uniqueId && !t ? e._uniqueId :
|
|
16123
|
+
_uniqueId: e._uniqueId && !t ? e._uniqueId : Vn()
|
|
16124
16124
|
};
|
|
16125
16125
|
}
|
|
16126
16126
|
function ng(e) {
|
|
@@ -21251,7 +21251,7 @@ function Rt(e) {
|
|
|
21251
21251
|
function ys() {
|
|
21252
21252
|
return !0;
|
|
21253
21253
|
}
|
|
21254
|
-
function
|
|
21254
|
+
function Yn(e) {
|
|
21255
21255
|
return QG.test(e);
|
|
21256
21256
|
}
|
|
21257
21257
|
function aq(e) {
|
|
@@ -21287,10 +21287,10 @@ function oq() {
|
|
|
21287
21287
|
theme: {
|
|
21288
21288
|
colors: [ys],
|
|
21289
21289
|
spacing: [Mr],
|
|
21290
|
-
blur: ["none", "",
|
|
21290
|
+
blur: ["none", "", Yn, Fi],
|
|
21291
21291
|
brightness: [qt],
|
|
21292
21292
|
borderColor: [e],
|
|
21293
|
-
borderRadius: ["none", "", "full",
|
|
21293
|
+
borderRadius: ["none", "", "full", Yn, Fi],
|
|
21294
21294
|
borderSpacing: [t],
|
|
21295
21295
|
borderWidth: q(),
|
|
21296
21296
|
contrast: [qt],
|
|
@@ -21329,7 +21329,7 @@ function oq() {
|
|
|
21329
21329
|
* @see https://tailwindcss.com/docs/columns
|
|
21330
21330
|
*/
|
|
21331
21331
|
columns: [{
|
|
21332
|
-
columns: [
|
|
21332
|
+
columns: [Yn]
|
|
21333
21333
|
}],
|
|
21334
21334
|
/**
|
|
21335
21335
|
* Break After
|
|
@@ -21871,8 +21871,8 @@ function oq() {
|
|
|
21871
21871
|
*/
|
|
21872
21872
|
"max-w": [{
|
|
21873
21873
|
"max-w": ["0", "none", "full", "min", "max", "fit", "prose", {
|
|
21874
|
-
screen: [
|
|
21875
|
-
},
|
|
21874
|
+
screen: [Yn]
|
|
21875
|
+
}, Yn, Fi]
|
|
21876
21876
|
}],
|
|
21877
21877
|
/**
|
|
21878
21878
|
* Height
|
|
@@ -21901,7 +21901,7 @@ function oq() {
|
|
|
21901
21901
|
* @see https://tailwindcss.com/docs/font-size
|
|
21902
21902
|
*/
|
|
21903
21903
|
"font-size": [{
|
|
21904
|
-
text: ["base",
|
|
21904
|
+
text: ["base", Yn, Fi]
|
|
21905
21905
|
}],
|
|
21906
21906
|
/**
|
|
21907
21907
|
* Font Smoothing
|
|
@@ -22484,7 +22484,7 @@ function oq() {
|
|
|
22484
22484
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
22485
22485
|
*/
|
|
22486
22486
|
shadow: [{
|
|
22487
|
-
shadow: ["", "inner", "none",
|
|
22487
|
+
shadow: ["", "inner", "none", Yn, aq]
|
|
22488
22488
|
}],
|
|
22489
22489
|
/**
|
|
22490
22490
|
* Box Shadow Color
|
|
@@ -22549,7 +22549,7 @@ function oq() {
|
|
|
22549
22549
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
22550
22550
|
*/
|
|
22551
22551
|
"drop-shadow": [{
|
|
22552
|
-
"drop-shadow": ["", "none",
|
|
22552
|
+
"drop-shadow": ["", "none", Yn, Rt]
|
|
22553
22553
|
}],
|
|
22554
22554
|
/**
|
|
22555
22555
|
* Grayscale
|
|
@@ -23979,7 +23979,7 @@ const Aq = (e, { renewToken: t }) => {
|
|
|
23979
23979
|
// allow API to store cookie
|
|
23980
23980
|
paramsSerializer: (d) => Oq(d)
|
|
23981
23981
|
});
|
|
23982
|
-
n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.15.
|
|
23982
|
+
n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.15.6";
|
|
23983
23983
|
const i = async (d, p, h = null, f = {}) => {
|
|
23984
23984
|
const m = p.startsWith("/public/"), g = xe.getItem("token");
|
|
23985
23985
|
switch (g && !m && (n.defaults.headers["X-TOKEN"] = g), d) {
|
|
@@ -24132,7 +24132,7 @@ const jq = async (e, t = {}) => _e("/project", e, { params: t }), Fq = async (e,
|
|
|
24132
24132
|
}),
|
|
24133
24133
|
patch: async (e, t = {}) => bn(`/document/${e}`, { params: t }),
|
|
24134
24134
|
validate: async (e, t = {}) => He("/documentValidate", e, { params: t })
|
|
24135
|
-
},
|
|
24135
|
+
}, li = {
|
|
24136
24136
|
get: async (e, t = {}) => _e(e ? `/template/${e}` : "/template", { params: t }),
|
|
24137
24137
|
post: async (e, t = {}) => He("/template", e, { params: t }),
|
|
24138
24138
|
put: async (e, t, r = {}) => Dt(`/template/${e}`, t, { params: r }),
|
|
@@ -26503,7 +26503,7 @@ const zY = /* @__PURE__ */ $t(BY), qC = we.rollbar.clientToken, fy = new zY({
|
|
|
26503
26503
|
client: {
|
|
26504
26504
|
javascript: {
|
|
26505
26505
|
// eslint-disable-next-line
|
|
26506
|
-
code_version: "0.15.
|
|
26506
|
+
code_version: "0.15.6",
|
|
26507
26507
|
// Git SHA of the deployed code (from webpack plugin)
|
|
26508
26508
|
source_map_enabled: !0,
|
|
26509
26509
|
guess_uncaught_frames: !0
|
|
@@ -28850,7 +28850,7 @@ var WK = {
|
|
|
28850
28850
|
b_(t);
|
|
28851
28851
|
}
|
|
28852
28852
|
};
|
|
28853
|
-
function
|
|
28853
|
+
function Kn(e) {
|
|
28854
28854
|
var t = je.options.popover[e];
|
|
28855
28855
|
return typeof t > "u" ? je.options[e] : t;
|
|
28856
28856
|
}
|
|
@@ -28876,49 +28876,49 @@ var GK = {
|
|
|
28876
28876
|
placement: {
|
|
28877
28877
|
type: String,
|
|
28878
28878
|
default: function() {
|
|
28879
|
-
return
|
|
28879
|
+
return Kn("defaultPlacement");
|
|
28880
28880
|
}
|
|
28881
28881
|
},
|
|
28882
28882
|
delay: {
|
|
28883
28883
|
type: [String, Number, Object],
|
|
28884
28884
|
default: function() {
|
|
28885
|
-
return
|
|
28885
|
+
return Kn("defaultDelay");
|
|
28886
28886
|
}
|
|
28887
28887
|
},
|
|
28888
28888
|
offset: {
|
|
28889
28889
|
type: [String, Number],
|
|
28890
28890
|
default: function() {
|
|
28891
|
-
return
|
|
28891
|
+
return Kn("defaultOffset");
|
|
28892
28892
|
}
|
|
28893
28893
|
},
|
|
28894
28894
|
trigger: {
|
|
28895
28895
|
type: String,
|
|
28896
28896
|
default: function() {
|
|
28897
|
-
return
|
|
28897
|
+
return Kn("defaultTrigger");
|
|
28898
28898
|
}
|
|
28899
28899
|
},
|
|
28900
28900
|
container: {
|
|
28901
28901
|
type: [String, Object, Eg, Boolean],
|
|
28902
28902
|
default: function() {
|
|
28903
|
-
return
|
|
28903
|
+
return Kn("defaultContainer");
|
|
28904
28904
|
}
|
|
28905
28905
|
},
|
|
28906
28906
|
boundariesElement: {
|
|
28907
28907
|
type: [String, Eg],
|
|
28908
28908
|
default: function() {
|
|
28909
|
-
return
|
|
28909
|
+
return Kn("defaultBoundariesElement");
|
|
28910
28910
|
}
|
|
28911
28911
|
},
|
|
28912
28912
|
popperOptions: {
|
|
28913
28913
|
type: Object,
|
|
28914
28914
|
default: function() {
|
|
28915
|
-
return
|
|
28915
|
+
return Kn("defaultPopperOptions");
|
|
28916
28916
|
}
|
|
28917
28917
|
},
|
|
28918
28918
|
popoverClass: {
|
|
28919
28919
|
type: [String, Array],
|
|
28920
28920
|
default: function() {
|
|
28921
|
-
return
|
|
28921
|
+
return Kn("defaultClass");
|
|
28922
28922
|
}
|
|
28923
28923
|
},
|
|
28924
28924
|
popoverBaseClass: {
|
|
@@ -31724,22 +31724,22 @@ function Qs(e) {
|
|
|
31724
31724
|
return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
|
31725
31725
|
}, Qs(e);
|
|
31726
31726
|
}
|
|
31727
|
-
var KA = [],
|
|
31728
|
-
hr.target =
|
|
31727
|
+
var KA = [], Dn = null;
|
|
31728
|
+
hr.target = Dn;
|
|
31729
31729
|
var zee = function(t) {
|
|
31730
|
-
hr.target =
|
|
31730
|
+
hr.target = Dn = t;
|
|
31731
31731
|
};
|
|
31732
31732
|
hr._setTarget = zee;
|
|
31733
31733
|
function JA() {
|
|
31734
|
-
|
|
31734
|
+
Dn !== null && KA.push(Dn), hr.target = Dn = {};
|
|
31735
31735
|
}
|
|
31736
31736
|
function ZA() {
|
|
31737
|
-
var e =
|
|
31737
|
+
var e = Dn, t = hr.target = Dn = KA.pop() || null;
|
|
31738
31738
|
return t && (Array.isArray(t.$sub) || (t.$sub = []), t.$sub.push(e)), e;
|
|
31739
31739
|
}
|
|
31740
31740
|
function Hee(e) {
|
|
31741
31741
|
if (Qs(e) === "object" && !Array.isArray(e))
|
|
31742
|
-
hr.target =
|
|
31742
|
+
hr.target = Dn = Vee({}, Dn, {}, e);
|
|
31743
31743
|
else
|
|
31744
31744
|
throw new Error("params must be an object");
|
|
31745
31745
|
}
|
|
@@ -35452,19 +35452,19 @@ function K_(e) {
|
|
|
35452
35452
|
return t = !0, e.apply(this, r);
|
|
35453
35453
|
};
|
|
35454
35454
|
}
|
|
35455
|
-
var
|
|
35455
|
+
var Bn = function(t, r) {
|
|
35456
35456
|
this.router = t, this.base = Sne(r), this.current = _p, this.pending = null, this.ready = !1, this.readyCbs = [], this.readyErrorCbs = [], this.errorCbs = [];
|
|
35457
35457
|
};
|
|
35458
|
-
|
|
35458
|
+
Bn.prototype.listen = function(t) {
|
|
35459
35459
|
this.cb = t;
|
|
35460
35460
|
};
|
|
35461
|
-
|
|
35461
|
+
Bn.prototype.onReady = function(t, r) {
|
|
35462
35462
|
this.ready ? t() : (this.readyCbs.push(t), r && this.readyErrorCbs.push(r));
|
|
35463
35463
|
};
|
|
35464
|
-
|
|
35464
|
+
Bn.prototype.onError = function(t) {
|
|
35465
35465
|
this.errorCbs.push(t);
|
|
35466
35466
|
};
|
|
35467
|
-
|
|
35467
|
+
Bn.prototype.transitionTo = function(t, r, n) {
|
|
35468
35468
|
var i = this, a = this.router.match(t, this.current);
|
|
35469
35469
|
this.confirmTransition(a, function() {
|
|
35470
35470
|
i.updateRoute(a), r && r(a), i.ensureURL(), i.ready || (i.ready = !0, i.readyCbs.forEach(function(o) {
|
|
@@ -35476,7 +35476,7 @@ zn.prototype.transitionTo = function(t, r, n) {
|
|
|
35476
35476
|
}));
|
|
35477
35477
|
});
|
|
35478
35478
|
};
|
|
35479
|
-
|
|
35479
|
+
Bn.prototype.confirmTransition = function(t, r, n) {
|
|
35480
35480
|
var i = this, a = this.current, o = function(h) {
|
|
35481
35481
|
Rg(h) && (i.errorCbs.length ? i.errorCbs.forEach(function(f) {
|
|
35482
35482
|
f(h);
|
|
@@ -35526,7 +35526,7 @@ zn.prototype.confirmTransition = function(t, r, n) {
|
|
|
35526
35526
|
});
|
|
35527
35527
|
});
|
|
35528
35528
|
};
|
|
35529
|
-
|
|
35529
|
+
Bn.prototype.updateRoute = function(t) {
|
|
35530
35530
|
var r = this.current;
|
|
35531
35531
|
this.current = t, this.cb && this.cb(t), this.router.afterHooks.forEach(function(n) {
|
|
35532
35532
|
n && n(t, r);
|
|
@@ -35629,7 +35629,7 @@ var P5 = function(e) {
|
|
|
35629
35629
|
}, t.prototype.getCurrentLocation = function() {
|
|
35630
35630
|
return zs(this.base);
|
|
35631
35631
|
}, t;
|
|
35632
|
-
}(
|
|
35632
|
+
}(Bn);
|
|
35633
35633
|
function zs(e) {
|
|
35634
35634
|
var t = window.location.pathname;
|
|
35635
35635
|
return e && t.indexOf(e) === 0 && (t = t.slice(e.length)), (t || "/") + window.location.search + window.location.hash;
|
|
@@ -35664,7 +35664,7 @@ var R5 = function(e) {
|
|
|
35664
35664
|
}, t.prototype.getCurrentLocation = function() {
|
|
35665
35665
|
return Uu();
|
|
35666
35666
|
}, t;
|
|
35667
|
-
}(
|
|
35667
|
+
}(Bn);
|
|
35668
35668
|
function Mne(e) {
|
|
35669
35669
|
var t = zs(e);
|
|
35670
35670
|
if (!/^\/#/.test(t))
|
|
@@ -35717,7 +35717,7 @@ var Dne = function(e) {
|
|
|
35717
35717
|
return n ? n.fullPath : "/";
|
|
35718
35718
|
}, t.prototype.ensureURL = function() {
|
|
35719
35719
|
}, t;
|
|
35720
|
-
}(
|
|
35720
|
+
}(Bn), wt = function(t) {
|
|
35721
35721
|
t === void 0 && (t = {}), this.app = null, this.apps = [], this.options = t, this.beforeHooks = [], this.resolveHooks = [], this.afterHooks = [], this.matcher = mne(t.routes || [], this);
|
|
35722
35722
|
var r = t.mode || "hash";
|
|
35723
35723
|
switch (this.fallback = r === "history" && !io && t.fallback !== !1, this.fallback && (r = "hash"), Yl || (r = "abstract"), this.mode = r, r) {
|
|
@@ -35837,7 +35837,7 @@ const Nne = [
|
|
|
35837
35837
|
{
|
|
35838
35838
|
name: "form",
|
|
35839
35839
|
path: "/form",
|
|
35840
|
-
component: () => import("./DocForm-
|
|
35840
|
+
component: () => import("./DocForm-B3IxEK4j.js"),
|
|
35841
35841
|
props: !0,
|
|
35842
35842
|
meta: {
|
|
35843
35843
|
mode: "modal",
|
|
@@ -35849,7 +35849,7 @@ const Nne = [
|
|
|
35849
35849
|
{
|
|
35850
35850
|
name: "document",
|
|
35851
35851
|
path: "/document",
|
|
35852
|
-
component: () => import("./DocumentLayout-
|
|
35852
|
+
component: () => import("./DocumentLayout-D42e3G51.js").then((e) => e.c),
|
|
35853
35853
|
props: !0,
|
|
35854
35854
|
meta: {
|
|
35855
35855
|
mode: "modal",
|
|
@@ -35862,7 +35862,7 @@ const Nne = [
|
|
|
35862
35862
|
{
|
|
35863
35863
|
name: "send",
|
|
35864
35864
|
path: "/send",
|
|
35865
|
-
component: () => import("./DocFormSend-
|
|
35865
|
+
component: () => import("./DocFormSend-sm8Hu8Be.js"),
|
|
35866
35866
|
props: !0,
|
|
35867
35867
|
meta: {
|
|
35868
35868
|
mode: "drawer",
|
|
@@ -35874,7 +35874,7 @@ const Nne = [
|
|
|
35874
35874
|
{
|
|
35875
35875
|
name: "print",
|
|
35876
35876
|
path: "/print",
|
|
35877
|
-
component: () => import("./DocPrint-
|
|
35877
|
+
component: () => import("./DocPrint-BQ-M-3OC.js"),
|
|
35878
35878
|
props: !0,
|
|
35879
35879
|
meta: {
|
|
35880
35880
|
mode: "modal",
|
|
@@ -35885,7 +35885,7 @@ const Nne = [
|
|
|
35885
35885
|
{
|
|
35886
35886
|
name: "sendReminder",
|
|
35887
35887
|
path: "/sendReminder",
|
|
35888
|
-
component: () => import("./DocSendReminder-
|
|
35888
|
+
component: () => import("./DocSendReminder-dQcAFIdw.js"),
|
|
35889
35889
|
props: !0,
|
|
35890
35890
|
meta: {
|
|
35891
35891
|
mode: "modal",
|
|
@@ -35896,7 +35896,7 @@ const Nne = [
|
|
|
35896
35896
|
{
|
|
35897
35897
|
name: "timeline",
|
|
35898
35898
|
path: "/timeline",
|
|
35899
|
-
component: () => import("./DocTimeline-
|
|
35899
|
+
component: () => import("./DocTimeline-DDaN8k9R.js"),
|
|
35900
35900
|
props: !0,
|
|
35901
35901
|
meta: {
|
|
35902
35902
|
mode: "modal",
|
|
@@ -35906,7 +35906,7 @@ const Nne = [
|
|
|
35906
35906
|
{
|
|
35907
35907
|
name: "receipt",
|
|
35908
35908
|
path: "/receipt",
|
|
35909
|
-
component: () => import("./DocReceipt-
|
|
35909
|
+
component: () => import("./DocReceipt-OoEOv4bh.js"),
|
|
35910
35910
|
props: !0,
|
|
35911
35911
|
meta: {
|
|
35912
35912
|
mode: "modal",
|
|
@@ -35916,7 +35916,7 @@ const Nne = [
|
|
|
35916
35916
|
{
|
|
35917
35917
|
name: "clientLinks",
|
|
35918
35918
|
path: "/clientLinks",
|
|
35919
|
-
component: () => import("./DocLinks-
|
|
35919
|
+
component: () => import("./DocLinks-CyXFaNcq.js"),
|
|
35920
35920
|
props: !0,
|
|
35921
35921
|
meta: {
|
|
35922
35922
|
mode: "modal",
|
|
@@ -35926,7 +35926,7 @@ const Nne = [
|
|
|
35926
35926
|
{
|
|
35927
35927
|
name: "documentClient",
|
|
35928
35928
|
path: "/documentClient",
|
|
35929
|
-
component: () => import("./DocumentClient-
|
|
35929
|
+
component: () => import("./DocumentClient-DBA3AQQG.js"),
|
|
35930
35930
|
props: !0,
|
|
35931
35931
|
meta: {
|
|
35932
35932
|
mode: "modal",
|
|
@@ -35938,7 +35938,7 @@ const Nne = [
|
|
|
35938
35938
|
{
|
|
35939
35939
|
name: "setup",
|
|
35940
35940
|
path: "/setup",
|
|
35941
|
-
component: () => import("./Setup-
|
|
35941
|
+
component: () => import("./Setup-DjxGq4d9.js"),
|
|
35942
35942
|
props: !0,
|
|
35943
35943
|
meta: {
|
|
35944
35944
|
mode: "modal",
|
|
@@ -35950,7 +35950,7 @@ const Nne = [
|
|
|
35950
35950
|
{
|
|
35951
35951
|
name: "docAnswer",
|
|
35952
35952
|
path: "/docAnswer",
|
|
35953
|
-
component: () => import("./DocAnswer
|
|
35953
|
+
component: () => import("./DocAnswer-BESzyKCO.js"),
|
|
35954
35954
|
props: !0,
|
|
35955
35955
|
meta: {
|
|
35956
35956
|
mode: "modal",
|
|
@@ -35961,7 +35961,7 @@ const Nne = [
|
|
|
35961
35961
|
{
|
|
35962
35962
|
name: "docDetails",
|
|
35963
35963
|
path: "/docDetails",
|
|
35964
|
-
component: () => import("./DocDetails-
|
|
35964
|
+
component: () => import("./DocDetails-1rMbwwY3.js"),
|
|
35965
35965
|
props: !0,
|
|
35966
35966
|
meta: {
|
|
35967
35967
|
mode: "drawer",
|
|
@@ -35972,7 +35972,7 @@ const Nne = [
|
|
|
35972
35972
|
}
|
|
35973
35973
|
];
|
|
35974
35974
|
ne.use(wt);
|
|
35975
|
-
const
|
|
35975
|
+
const mi = new wt({
|
|
35976
35976
|
mode: "abstract",
|
|
35977
35977
|
routes: Nne
|
|
35978
35978
|
}), Ie = ne.observable({
|
|
@@ -35983,10 +35983,6 @@ const Rn = new wt({
|
|
|
35983
35983
|
get openViews() {
|
|
35984
35984
|
return this._openViews;
|
|
35985
35985
|
},
|
|
35986
|
-
get view() {
|
|
35987
|
-
var e;
|
|
35988
|
-
return this.open && ((e = Rn.currentRoute) == null ? void 0 : e.name) || null;
|
|
35989
|
-
},
|
|
35990
35986
|
get language() {
|
|
35991
35987
|
return ie.lang;
|
|
35992
35988
|
},
|
|
@@ -36007,8 +36003,8 @@ const Rn = new wt({
|
|
|
36007
36003
|
key: e,
|
|
36008
36004
|
viewOpts: n
|
|
36009
36005
|
};
|
|
36010
|
-
if (["modal", "drawer"].includes(r) &&
|
|
36011
|
-
const { routes: a } =
|
|
36006
|
+
if (["modal", "drawer"].includes(r) && mi.push({ name: t, params: n }), r === "mount") {
|
|
36007
|
+
const { routes: a } = mi.options || [];
|
|
36012
36008
|
if (!a.map((s) => s.name).includes(t))
|
|
36013
36009
|
throw new Error(`View ${t} not supported`);
|
|
36014
36010
|
const o = a.find((s) => s.name === t);
|
|
@@ -36024,7 +36020,7 @@ const Rn = new wt({
|
|
|
36024
36020
|
const i = document.getElementById(`${e}-${r}-${t}`);
|
|
36025
36021
|
i && (i.textContent = "");
|
|
36026
36022
|
}
|
|
36027
|
-
n > -1 && this._openViews.splice(n, 1), ["modal", "drawer"].includes(r) &&
|
|
36023
|
+
n > -1 && this._openViews.splice(n, 1), ["modal", "drawer"].includes(r) && mi.push("/"), St.trigger("ui:close", { key: e, mode: r, view: t });
|
|
36028
36024
|
},
|
|
36029
36025
|
removeAllOverlayViews() {
|
|
36030
36026
|
var e, t, r, n;
|
|
@@ -36426,7 +36422,7 @@ var Soe = Kl, Ooe = ut, Coe = Cp, Aoe = Ky, $oe = gr, Poe = Ooe([].concat), Roe
|
|
|
36426
36422
|
return r == zoe ? !0 : r == Boe ? !1 : joe(t) ? Loe(t) : !!t;
|
|
36427
36423
|
}, Uoe = Zl.normalize = function(e) {
|
|
36428
36424
|
return String(e).replace(Foe, ".").toLowerCase();
|
|
36429
|
-
}, Voe = Zl.data = {}, Boe = Zl.NATIVE = "N", zoe = Zl.POLYFILL = "P", a$ = Zl, qf = Pt, Hoe = Dy.f, Woe = Ko, Goe = ya, qoe = jy, Yoe = Noe, Koe = a$,
|
|
36425
|
+
}, Voe = Zl.data = {}, Boe = Zl.NATIVE = "N", zoe = Zl.POLYFILL = "P", a$ = Zl, qf = Pt, Hoe = Dy.f, Woe = Ko, Goe = ya, qoe = jy, Yoe = Noe, Koe = a$, zn = function(e, t) {
|
|
36430
36426
|
var r = e.target, n = e.global, i = e.stat, a, o, s, l, c, u;
|
|
36431
36427
|
if (n ? o = qf : i ? o = qf[r] || qoe(r, {}) : o = (qf[r] || {}).prototype, o)
|
|
36432
36428
|
for (s in t) {
|
|
@@ -36500,7 +36496,7 @@ var wse = !d$ || fse(function() {
|
|
|
36500
36496
|
return { foo: 1 };
|
|
36501
36497
|
}, t[e](Boolean).foo !== 1;
|
|
36502
36498
|
});
|
|
36503
|
-
}, Pse =
|
|
36499
|
+
}, Pse = zn, Rse = at, Mse = o$, Dse = sr, Ise = va, Nse = Zo, xE = Qoe, TE = s$, Lse = f$, jse = h$, Fse = Wt, Use = kp, m$ = Fse("isConcatSpreadable"), Vse = Use >= 51 || !Rse(function() {
|
|
36504
36500
|
var e = [];
|
|
36505
36501
|
return e[m$] = !1, e.concat()[0] !== e;
|
|
36506
36502
|
}), Bse = jse("concat"), zse = function(e) {
|
|
@@ -36562,7 +36558,7 @@ var g$ = {
|
|
|
36562
36558
|
return Xse(e), t === void 0 ? e : Qse ? ele(e, t) : function() {
|
|
36563
36559
|
return e.apply(t, arguments);
|
|
36564
36560
|
};
|
|
36565
|
-
}, tle = y$, rle = ut, nle = Tp, ile = va, ale = Zo, ole = f$, OE = rle([].push),
|
|
36561
|
+
}, tle = y$, rle = ut, nle = Tp, ile = va, ale = Zo, ole = f$, OE = rle([].push), Jn = function(e) {
|
|
36566
36562
|
var t = e == 1, r = e == 2, n = e == 3, i = e == 4, a = e == 6, o = e == 7, s = e == 5 || a;
|
|
36567
36563
|
return function(l, c, u, d) {
|
|
36568
36564
|
for (var p = ile(l), h = nle(p), f = tle(c, u), m = ale(h), g = 0, v = d || ole, y = t ? v(l, m) : r || o ? v(l, 0) : void 0, b, w; m > g; g++)
|
|
@@ -36592,28 +36588,28 @@ var g$ = {
|
|
|
36592
36588
|
}, Xy = {
|
|
36593
36589
|
// `Array.prototype.forEach` method
|
|
36594
36590
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
36595
|
-
forEach:
|
|
36591
|
+
forEach: Jn(0),
|
|
36596
36592
|
// `Array.prototype.map` method
|
|
36597
36593
|
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
36598
|
-
map:
|
|
36594
|
+
map: Jn(1),
|
|
36599
36595
|
// `Array.prototype.filter` method
|
|
36600
36596
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
36601
|
-
filter:
|
|
36597
|
+
filter: Jn(2),
|
|
36602
36598
|
// `Array.prototype.some` method
|
|
36603
36599
|
// https://tc39.es/ecma262/#sec-array.prototype.some
|
|
36604
|
-
some:
|
|
36600
|
+
some: Jn(3),
|
|
36605
36601
|
// `Array.prototype.every` method
|
|
36606
36602
|
// https://tc39.es/ecma262/#sec-array.prototype.every
|
|
36607
|
-
every:
|
|
36603
|
+
every: Jn(4),
|
|
36608
36604
|
// `Array.prototype.find` method
|
|
36609
36605
|
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
36610
|
-
find:
|
|
36606
|
+
find: Jn(5),
|
|
36611
36607
|
// `Array.prototype.findIndex` method
|
|
36612
36608
|
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
|
|
36613
|
-
findIndex:
|
|
36609
|
+
findIndex: Jn(6),
|
|
36614
36610
|
// `Array.prototype.filterReject` method
|
|
36615
36611
|
// https://github.com/tc39/proposal-array-filtering
|
|
36616
|
-
filterReject:
|
|
36612
|
+
filterReject: Jn(7)
|
|
36617
36613
|
}, sle = at, b$ = function(e, t) {
|
|
36618
36614
|
var r = [][e];
|
|
36619
36615
|
return !!r && sle(function() {
|
|
@@ -36661,7 +36657,7 @@ var gle = $p, vle = String, ba = function(e) {
|
|
|
36661
36657
|
}), Ple = $le ? function(t, r) {
|
|
36662
36658
|
var n = Cle(Ole(t));
|
|
36663
36659
|
return tl(n, r >>> 0 || (Ale(x$, n) ? 16 : 10));
|
|
36664
|
-
} : tl, Rle =
|
|
36660
|
+
} : tl, Rle = zn, DE = Ple;
|
|
36665
36661
|
Rle({ global: !0, forced: parseInt != DE }, {
|
|
36666
36662
|
parseInt: DE
|
|
36667
36663
|
});
|
|
@@ -36687,11 +36683,11 @@ var Mle = i$, Dle = Yy, T$ = Object.keys || function(t) {
|
|
|
36687
36683
|
for (var l = Vle(arguments[a++]), c = o ? Ble(Xf(l), o(l)) : Xf(l), u = c.length, d = 0, p; u > d; )
|
|
36688
36684
|
p = c[d++], (!IE || Nle(s, l, p)) && (n[p] = l[p]);
|
|
36689
36685
|
return n;
|
|
36690
|
-
} : Ma, Hle =
|
|
36686
|
+
} : Ma, Hle = zn, LE = zle;
|
|
36691
36687
|
Hle({ target: "Object", stat: !0, arity: 2, forced: Object.assign !== LE }, {
|
|
36692
36688
|
assign: LE
|
|
36693
36689
|
});
|
|
36694
|
-
var Wle =
|
|
36690
|
+
var Wle = zn, Gle = Xy.filter, qle = h$, Yle = qle("filter");
|
|
36695
36691
|
Wle({ target: "Array", proto: !0, forced: !Yle }, {
|
|
36696
36692
|
filter: function(t) {
|
|
36697
36693
|
return Gle(this, t, arguments.length > 1 ? arguments[1] : void 0);
|
|
@@ -36778,7 +36774,7 @@ var $$ = {
|
|
|
36778
36774
|
return function(i, a) {
|
|
36779
36775
|
return zce(i), Hce(a), e ? r(i, a) : i.__proto__ = a, i;
|
|
36780
36776
|
};
|
|
36781
|
-
}() : void 0), Wce =
|
|
36777
|
+
}() : void 0), Wce = zn, Gce = $r, R$ = Wy, qce = kt, Yce = Lce, WE = C$, GE = P$, Kce = tb, Jce = Ko, rh = ya, Zce = Wt, Xce = Xl, M$ = $$, Qce = R$.PROPER, eue = R$.CONFIGURABLE, qE = M$.IteratorPrototype, Nc = M$.BUGGY_SAFARI_ITERATORS, Ts = Zce("iterator"), YE = "keys", ks = "values", KE = "entries", tue = function() {
|
|
36782
36778
|
return this;
|
|
36783
36779
|
}, D$ = function(e, t, r, n, i, a, o) {
|
|
36784
36780
|
Yce(r, t, n);
|
|
@@ -36894,8 +36890,8 @@ var Aue = at, $ue = Aue(function() {
|
|
|
36894
36890
|
return !Rue(t) || rx && Mue(t) == "ArrayBuffer" ? !1 : Wu ? Wu(t) : !0;
|
|
36895
36891
|
} : Wu, Iue = at, Nue = !Iue(function() {
|
|
36896
36892
|
return Object.isExtensible(Object.preventExtensions({}));
|
|
36897
|
-
}), Lue =
|
|
36898
|
-
Vue(e,
|
|
36893
|
+
}), Lue = zn, jue = ut, Fue = Op, Uue = sr, ib = Hr, Vue = Wr.f, nx = Cp, Bue = z$, ab = G$, zue = Vy, Hue = Nue, q$ = !1, Ln = zue("meta"), Wue = 0, ob = function(e) {
|
|
36894
|
+
Vue(e, Ln, { value: {
|
|
36899
36895
|
objectID: "O" + Wue++,
|
|
36900
36896
|
// object ID
|
|
36901
36897
|
weakData: {}
|
|
@@ -36904,32 +36900,32 @@ var Aue = at, $ue = Aue(function() {
|
|
|
36904
36900
|
}, Gue = function(e, t) {
|
|
36905
36901
|
if (!Uue(e))
|
|
36906
36902
|
return typeof e == "symbol" ? e : (typeof e == "string" ? "S" : "P") + e;
|
|
36907
|
-
if (!ib(e,
|
|
36903
|
+
if (!ib(e, Ln)) {
|
|
36908
36904
|
if (!ab(e))
|
|
36909
36905
|
return "F";
|
|
36910
36906
|
if (!t)
|
|
36911
36907
|
return "E";
|
|
36912
36908
|
ob(e);
|
|
36913
36909
|
}
|
|
36914
|
-
return e[
|
|
36910
|
+
return e[Ln].objectID;
|
|
36915
36911
|
}, que = function(e, t) {
|
|
36916
|
-
if (!ib(e,
|
|
36912
|
+
if (!ib(e, Ln)) {
|
|
36917
36913
|
if (!ab(e))
|
|
36918
36914
|
return !0;
|
|
36919
36915
|
if (!t)
|
|
36920
36916
|
return !1;
|
|
36921
36917
|
ob(e);
|
|
36922
36918
|
}
|
|
36923
|
-
return e[
|
|
36919
|
+
return e[Ln].weakData;
|
|
36924
36920
|
}, Yue = function(e) {
|
|
36925
|
-
return Hue && q$ && ab(e) && !ib(e,
|
|
36921
|
+
return Hue && q$ && ab(e) && !ib(e, Ln) && ob(e), e;
|
|
36926
36922
|
}, Kue = function() {
|
|
36927
36923
|
Jue.enable = function() {
|
|
36928
36924
|
}, q$ = !0;
|
|
36929
36925
|
var e = nx.f, t = jue([].splice), r = {};
|
|
36930
|
-
r[
|
|
36926
|
+
r[Ln] = 1, e(r).length && (nx.f = function(n) {
|
|
36931
36927
|
for (var i = e(n), a = 0, o = i.length; a < o; a++)
|
|
36932
|
-
if (i[a] ===
|
|
36928
|
+
if (i[a] === Ln) {
|
|
36933
36929
|
t(i, a, 1);
|
|
36934
36930
|
break;
|
|
36935
36931
|
}
|
|
@@ -36943,7 +36939,7 @@ var Aue = at, $ue = Aue(function() {
|
|
|
36943
36939
|
getWeakData: que,
|
|
36944
36940
|
onFreeze: Yue
|
|
36945
36941
|
};
|
|
36946
|
-
Fue[
|
|
36942
|
+
Fue[Ln] = !0;
|
|
36947
36943
|
var sb = B$.exports, Zue = Wt, Xue = Xl, Que = Zue("iterator"), ede = Array.prototype, tde = function(e) {
|
|
36948
36944
|
return e !== void 0 && (Xue.Array === e || ede[Que] === e);
|
|
36949
36945
|
}, rde = $p, ix = Jl, nde = ga, ide = Xl, ade = Wt, ode = ade("iterator"), Y$ = function(e) {
|
|
@@ -37049,7 +37045,7 @@ var $de = function(e, t) {
|
|
|
37049
37045
|
ux && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
37050
37046
|
Pde(n = t.constructor) && n !== r && Rde(i = n.prototype) && i !== r.prototype && ux(e, i), e
|
|
37051
37047
|
);
|
|
37052
|
-
}, Dde =
|
|
37048
|
+
}, Dde = zn, Ide = Pt, Nde = ut, dx = a$, Lde = ya, jde = sb, Fde = K$, Ude = J$, Vde = kt, Bde = ga, nh = sr, ih = at, zde = $de, Hde = tb, Wde = Mde, Gde = function(e, t, r) {
|
|
37053
37049
|
var n = e.indexOf("Map") !== -1, i = e.indexOf("Weak") !== -1, a = n ? "set" : "add", o = Ide[e], s = o && o.prototype, l = o, c = {}, u = function(v) {
|
|
37054
37050
|
var y = Nde(s[v]);
|
|
37055
37051
|
Lde(
|
|
@@ -37892,7 +37888,7 @@ var Qi = function(e) {
|
|
|
37892
37888
|
// `Array.prototype.reduceRight` method
|
|
37893
37889
|
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
|
|
37894
37890
|
right: Nx(!0)
|
|
37895
|
-
}, ahe = Ti, ohe = Pt, she = ahe(ohe.process) == "process", lhe =
|
|
37891
|
+
}, ahe = Ti, ohe = Pt, she = ahe(ohe.process) == "process", lhe = zn, che = ihe.left, uhe = b$, Lx = kp, dhe = she, phe = uhe("reduce"), fhe = !dhe && Lx > 79 && Lx < 83;
|
|
37896
37892
|
lhe({ target: "Array", proto: !0, forced: !phe || fhe }, {
|
|
37897
37893
|
reduce: function(t) {
|
|
37898
37894
|
var r = arguments.length;
|
|
@@ -37939,7 +37935,7 @@ Uhe && (Qg = function(t) {
|
|
|
37939
37935
|
p = h[u], d[p[0]] = c[p[1]];
|
|
37940
37936
|
return c;
|
|
37941
37937
|
});
|
|
37942
|
-
var hb = Qg, Vhe =
|
|
37938
|
+
var hb = Qg, Vhe = zn, jx = hb;
|
|
37943
37939
|
Vhe({ target: "RegExp", proto: !0, forced: /./.exec !== jx }, {
|
|
37944
37940
|
exec: jx
|
|
37945
37941
|
});
|
|
@@ -38131,7 +38127,7 @@ var Fd = function(t) {
|
|
|
38131
38127
|
}, {});
|
|
38132
38128
|
return r;
|
|
38133
38129
|
};
|
|
38134
|
-
function
|
|
38130
|
+
function Zn(e) {
|
|
38135
38131
|
return !e || !e.ownerDocument || !e.ownerDocument.defaultView ? window : e.ownerDocument.defaultView;
|
|
38136
38132
|
}
|
|
38137
38133
|
function Yu(e) {
|
|
@@ -38157,7 +38153,7 @@ var bt = /* @__PURE__ */ function() {
|
|
|
38157
38153
|
function e(r, n) {
|
|
38158
38154
|
var i = this;
|
|
38159
38155
|
this.onScroll = function() {
|
|
38160
|
-
var a =
|
|
38156
|
+
var a = Zn(i.el);
|
|
38161
38157
|
i.scrollXTicking || (a.requestAnimationFrame(i.scrollX), i.scrollXTicking = !0), i.scrollYTicking || (a.requestAnimationFrame(i.scrollY), i.scrollYTicking = !0);
|
|
38162
38158
|
}, this.scrollX = function() {
|
|
38163
38159
|
i.axis.x.isOverflowing && (i.showScrollbar("x"), i.positionScrollbar("x")), i.scrollXTicking = !1;
|
|
@@ -38182,7 +38178,7 @@ var bt = /* @__PURE__ */ function() {
|
|
|
38182
38178
|
var p = o - s.rect[i.axis[i.draggedAxis].offsetAttr] - i.axis[i.draggedAxis].dragOffset, h = p / (l - c.size), f = h * (u - d);
|
|
38183
38179
|
i.draggedAxis === "x" && (f = i.isRtl && e.getRtlHelpers().isRtlScrollbarInverted ? f - (l + c.size) : f, f = i.isRtl && e.getRtlHelpers().isRtlScrollingInverted ? -f : f), i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr] = f;
|
|
38184
38180
|
}, this.onEndDrag = function(a) {
|
|
38185
|
-
var o = Yu(i.el), s =
|
|
38181
|
+
var o = Yu(i.el), s = Zn(i.el);
|
|
38186
38182
|
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() {
|
|
38187
38183
|
o.removeEventListener("click", i.preventClick, !0), o.removeEventListener("dblclick", i.preventClick, !0), i.removePreventClickId = null;
|
|
38188
38184
|
});
|
|
@@ -38238,7 +38234,7 @@ var bt = /* @__PURE__ */ function() {
|
|
|
38238
38234
|
isRtlScrollbarInverted: o.left !== s.left
|
|
38239
38235
|
};
|
|
38240
38236
|
}, e.getOffset = function(n) {
|
|
38241
|
-
var i = n.getBoundingClientRect(), a = Yu(n), o =
|
|
38237
|
+
var i = n.getBoundingClientRect(), a = Yu(n), o = Zn(n);
|
|
38242
38238
|
return {
|
|
38243
38239
|
top: i.top + (o.pageYOffset || a.documentElement.scrollTop),
|
|
38244
38240
|
left: i.left + (o.pageXOffset || a.documentElement.scrollLeft)
|
|
@@ -38267,7 +38263,7 @@ var bt = /* @__PURE__ */ function() {
|
|
|
38267
38263
|
var n = this.options.ariaLabel || "scrollable content";
|
|
38268
38264
|
this.contentWrapperEl.setAttribute("tabindex", "0"), this.contentWrapperEl.setAttribute("role", "region"), this.contentWrapperEl.setAttribute("aria-label", n);
|
|
38269
38265
|
}, t.initListeners = function() {
|
|
38270
|
-
var n = this, i =
|
|
38266
|
+
var n = this, i = Zn(this.el);
|
|
38271
38267
|
this.options.autoHide && this.el.addEventListener("mouseenter", this.onMouseEnter), ["mousedown", "click", "dblclick"].forEach(function(l) {
|
|
38272
38268
|
n.el.addEventListener(l, n.onPointerEvent, !0);
|
|
38273
38269
|
}), ["touchstart", "touchend", "touchmove"].forEach(function(l) {
|
|
@@ -38289,7 +38285,7 @@ var bt = /* @__PURE__ */ function() {
|
|
|
38289
38285
|
characterData: !0
|
|
38290
38286
|
});
|
|
38291
38287
|
}, t.recalculate = function() {
|
|
38292
|
-
var n =
|
|
38288
|
+
var n = Zn(this.el);
|
|
38293
38289
|
this.elStyles = n.getComputedStyle(this.el), this.isRtl = this.elStyles.direction === "rtl";
|
|
38294
38290
|
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;
|
|
38295
38291
|
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;
|
|
@@ -38329,12 +38325,12 @@ var bt = /* @__PURE__ */ function() {
|
|
|
38329
38325
|
this.axis[n].isVisible || (i.classList.add(this.classNames.visible), this.axis[n].isVisible = !0), this.options.autoHide && this.hideScrollbars();
|
|
38330
38326
|
}, t.onDragStart = function(n, i) {
|
|
38331
38327
|
i === void 0 && (i = "y");
|
|
38332
|
-
var a = Yu(this.el), o =
|
|
38328
|
+
var a = Yu(this.el), o = Zn(this.el), s = this.axis[i].scrollbar, l = i === "y" ? n.pageY : n.pageX;
|
|
38333
38329
|
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);
|
|
38334
38330
|
}, t.onTrackClick = function(n, i) {
|
|
38335
38331
|
var a = this;
|
|
38336
38332
|
if (i === void 0 && (i = "y"), !!this.options.clickOnTrack) {
|
|
38337
|
-
var o =
|
|
38333
|
+
var o = Zn(this.el);
|
|
38338
38334
|
this.axis[i].scrollbar.rect = this.axis[i].scrollbar.el.getBoundingClientRect();
|
|
38339
38335
|
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, h = p === -1 ? u - c : u + c, f = function m() {
|
|
38340
38336
|
if (p === -1) {
|
|
@@ -38360,7 +38356,7 @@ var bt = /* @__PURE__ */ function() {
|
|
|
38360
38356
|
return Zx(this.el);
|
|
38361
38357
|
}
|
|
38362
38358
|
}, t.removeListeners = function() {
|
|
38363
|
-
var n = this, i =
|
|
38359
|
+
var n = this, i = Zn(this.el);
|
|
38364
38360
|
this.options.autoHide && this.el.removeEventListener("mouseenter", this.onMouseEnter), ["mousedown", "click", "dblclick"].forEach(function(a) {
|
|
38365
38361
|
n.el.removeEventListener(a, n.onPointerEvent, !0);
|
|
38366
38362
|
}), ["touchstart", "touchend", "touchmove"].forEach(function(a) {
|
|
@@ -39475,7 +39471,7 @@ var Tge = function(t) {
|
|
|
39475
39471
|
var c = t[s][l];
|
|
39476
39472
|
c ? t[s][l] = r.merge(c, n) : t[s][l] = n;
|
|
39477
39473
|
};
|
|
39478
|
-
},
|
|
39474
|
+
}, Te = {
|
|
39479
39475
|
Array: $ge,
|
|
39480
39476
|
Entity: kge,
|
|
39481
39477
|
Object: Rge,
|
|
@@ -39849,13 +39845,13 @@ const oo = "SET_AS_NORMALIZED_DATA", WP = /* @__PURE__ */ Object.freeze(/* @__PU
|
|
|
39849
39845
|
SET_PROJECTS: "SET_PROJECTS",
|
|
39850
39846
|
SET_PROJECT_FILES: "SET_PROJECT_FILES",
|
|
39851
39847
|
UPDATE_COMPANY: "UPDATE_COMPANY"
|
|
39852
|
-
}, xo = new
|
|
39848
|
+
}, xo = new Te.Entity("files"), Kge = new Te.Array(xo), Ob = new Te.Entity("companyUsers"), rR = new Te.Array(Ob), nR = new Te.Entity("companies"), Jge = new Te.Array(nR), Zge = new Te.Entity("documents", {
|
|
39853
39849
|
data: {
|
|
39854
39850
|
Files: Kge
|
|
39855
39851
|
}
|
|
39856
|
-
}), Xge = new
|
|
39852
|
+
}), Xge = new Te.Array(Zge), iR = new Te.Entity("projectFiles", {
|
|
39857
39853
|
File: xo
|
|
39858
|
-
}), Qge = new
|
|
39854
|
+
}), Qge = new Te.Array(iR), aR = new Te.Entity("projects", {
|
|
39859
39855
|
ProjectMembers: rR,
|
|
39860
39856
|
ProjectFiles: [
|
|
39861
39857
|
{
|
|
@@ -39863,14 +39859,14 @@ const oo = "SET_AS_NORMALIZED_DATA", WP = /* @__PURE__ */ Object.freeze(/* @__PU
|
|
|
39863
39859
|
}
|
|
39864
39860
|
],
|
|
39865
39861
|
CompanyUser: Ob
|
|
39866
|
-
}), eve = new
|
|
39862
|
+
}), eve = new Te.Array(aR), oR = new Te.Entity("companyReference", {
|
|
39867
39863
|
CompanyReferenceItem: {
|
|
39868
39864
|
Image: xo,
|
|
39869
39865
|
Thumbnail: xo
|
|
39870
39866
|
}
|
|
39871
|
-
}), tve = new
|
|
39867
|
+
}), tve = new Te.Array(oR), sR = new Te.Entity("documentTerms", {
|
|
39872
39868
|
File: xo
|
|
39873
|
-
}), rve = new
|
|
39869
|
+
}), rve = new Te.Array(sR), nve = {
|
|
39874
39870
|
project: aR,
|
|
39875
39871
|
projects: eve,
|
|
39876
39872
|
companyReference: oR,
|
|
@@ -39973,11 +39969,11 @@ const Xx = {
|
|
|
39973
39969
|
(o) => (!r.includedModules || r.includedModules.includes(o)) && (!r.excludedModules || !r.excludedModules.includes(o))
|
|
39974
39970
|
), a.forEach((o) => {
|
|
39975
39971
|
if (!Qx[o]) {
|
|
39976
|
-
|
|
39972
|
+
Mn.warn(`setActions: '${o}', does not exist`);
|
|
39977
39973
|
return;
|
|
39978
39974
|
}
|
|
39979
39975
|
if (!Xx[o]) {
|
|
39980
|
-
|
|
39976
|
+
Mn.warn(`moduleKeys: '${o}', does not exist`);
|
|
39981
39977
|
return;
|
|
39982
39978
|
}
|
|
39983
39979
|
const s = {
|
|
@@ -40150,7 +40146,7 @@ Object.keys(Cn).forEach((e) => {
|
|
|
40150
40146
|
Object.keys(WP).forEach((e) => {
|
|
40151
40147
|
Ce[e] && console.warn(`Duplicate action constant warning!, ${Cn[e]}`), Ce[e] = Cn[e];
|
|
40152
40148
|
});
|
|
40153
|
-
var sve = Do, lve =
|
|
40149
|
+
var sve = Do, lve = Un, cve = "[object Symbol]";
|
|
40154
40150
|
function uve(e) {
|
|
40155
40151
|
return typeof e == "symbol" || lve(e) && sve(e) == cve;
|
|
40156
40152
|
}
|
|
@@ -40667,7 +40663,7 @@ const re = /* @__PURE__ */ $t(mR), {
|
|
|
40667
40663
|
[rye]({ commit: e, state: t }, r) {
|
|
40668
40664
|
const n = {
|
|
40669
40665
|
...r,
|
|
40670
|
-
_uniqueId:
|
|
40666
|
+
_uniqueId: Vn()
|
|
40671
40667
|
};
|
|
40672
40668
|
e(At.SET_MODALS, [...t.modals, n]);
|
|
40673
40669
|
},
|
|
@@ -41135,7 +41131,7 @@ const Sye = /* @__PURE__ */ $t(kye), Oye = {
|
|
|
41135
41131
|
FORM_NEW_ARTICLE: Iye,
|
|
41136
41132
|
FORM_EDIT_ARTICLE: Nye,
|
|
41137
41133
|
FORM_SUBMIT_ARTICLE: hT
|
|
41138
|
-
} = lR, { SET_ARTICLES_FETCHING: Xc, SET_ARTICLES_POSTING:
|
|
41134
|
+
} = lR, { SET_ARTICLES_FETCHING: Xc, SET_ARTICLES_POSTING: Xn } = cR, Lye = {
|
|
41139
41135
|
/**
|
|
41140
41136
|
* @name LOAD_ARTICLES
|
|
41141
41137
|
* Load all articles into store
|
|
@@ -41186,7 +41182,7 @@ const Sye = /* @__PURE__ */ $t(kye), Oye = {
|
|
|
41186
41182
|
*/
|
|
41187
41183
|
async [Eh]({ dispatch: e, commit: t }, { id: r, body: n }) {
|
|
41188
41184
|
try {
|
|
41189
|
-
return t(
|
|
41185
|
+
return t(Xn, !0), await uY(r, n), await e(Zc, {
|
|
41190
41186
|
id: r
|
|
41191
41187
|
}), this.dispatch("application/SHOW_MESSAGE", {
|
|
41192
41188
|
type: "success",
|
|
@@ -41201,7 +41197,7 @@ const Sye = /* @__PURE__ */ $t(kye), Oye = {
|
|
|
41201
41197
|
actionPayload: arguments[1]
|
|
41202
41198
|
}), null;
|
|
41203
41199
|
} finally {
|
|
41204
|
-
t(
|
|
41200
|
+
t(Xn, !1);
|
|
41205
41201
|
}
|
|
41206
41202
|
},
|
|
41207
41203
|
/**
|
|
@@ -41212,14 +41208,14 @@ const Sye = /* @__PURE__ */ $t(kye), Oye = {
|
|
|
41212
41208
|
*/
|
|
41213
41209
|
async [dT]({ commit: e }, { body: t, showMessage: r = !0 }) {
|
|
41214
41210
|
try {
|
|
41215
|
-
e(
|
|
41211
|
+
e(Xn, !0);
|
|
41216
41212
|
const { data: n } = await cY(t);
|
|
41217
41213
|
return await e(Dye, { data: n }), r && this.dispatch("application/SHOW_MESSAGE", {
|
|
41218
41214
|
type: "success",
|
|
41219
41215
|
message: ie.t("createdThing", { thing: ie.t("article") })
|
|
41220
41216
|
}), n.id;
|
|
41221
41217
|
} finally {
|
|
41222
|
-
e(
|
|
41218
|
+
e(Xn, !1);
|
|
41223
41219
|
}
|
|
41224
41220
|
},
|
|
41225
41221
|
/**
|
|
@@ -41230,7 +41226,7 @@ const Sye = /* @__PURE__ */ $t(kye), Oye = {
|
|
|
41230
41226
|
*/
|
|
41231
41227
|
async [pT]({ commit: e }, { id: t }) {
|
|
41232
41228
|
try {
|
|
41233
|
-
return e(
|
|
41229
|
+
return e(Xn, !0), await dY(t), e(Pe.DELETE_ARTICLE, t), this.dispatch("application/SHOW_MESSAGE", {
|
|
41234
41230
|
type: "success",
|
|
41235
41231
|
message: ie.t("removedThing", { thing: ie.t("article") }),
|
|
41236
41232
|
actions: {
|
|
@@ -41248,7 +41244,7 @@ const Sye = /* @__PURE__ */ $t(kye), Oye = {
|
|
|
41248
41244
|
actionPayload: arguments[1]
|
|
41249
41245
|
}), null;
|
|
41250
41246
|
} finally {
|
|
41251
|
-
e(
|
|
41247
|
+
e(Xn, !1);
|
|
41252
41248
|
}
|
|
41253
41249
|
},
|
|
41254
41250
|
/**
|
|
@@ -41259,7 +41255,7 @@ const Sye = /* @__PURE__ */ $t(kye), Oye = {
|
|
|
41259
41255
|
*/
|
|
41260
41256
|
async [xh]({ dispatch: e, commit: t }, { id: r }) {
|
|
41261
41257
|
try {
|
|
41262
|
-
return t(
|
|
41258
|
+
return t(Xn, !0), await pY(r), await e(Zc, {
|
|
41263
41259
|
id: r
|
|
41264
41260
|
}), r;
|
|
41265
41261
|
} catch (n) {
|
|
@@ -41271,7 +41267,7 @@ const Sye = /* @__PURE__ */ $t(kye), Oye = {
|
|
|
41271
41267
|
actionPayload: arguments[1]
|
|
41272
41268
|
}), null;
|
|
41273
41269
|
} finally {
|
|
41274
|
-
t(
|
|
41270
|
+
t(Xn, !1);
|
|
41275
41271
|
}
|
|
41276
41272
|
},
|
|
41277
41273
|
/**
|
|
@@ -41430,23 +41426,23 @@ const Sye = /* @__PURE__ */ $t(kye), Oye = {
|
|
|
41430
41426
|
getters: jye,
|
|
41431
41427
|
actions: Lye,
|
|
41432
41428
|
mutations: Hye
|
|
41433
|
-
}, To = new
|
|
41434
|
-
new
|
|
41435
|
-
const bR = new
|
|
41429
|
+
}, To = new Te.Entity("files");
|
|
41430
|
+
new Te.Array(To);
|
|
41431
|
+
const bR = new Te.Entity("projectFiles", {
|
|
41436
41432
|
File: To
|
|
41437
41433
|
});
|
|
41438
|
-
new
|
|
41439
|
-
const nv = new
|
|
41440
|
-
new
|
|
41441
|
-
const Nb = new
|
|
41434
|
+
new Te.Array(bR);
|
|
41435
|
+
const nv = new Te.Entity("companyUsers");
|
|
41436
|
+
new Te.Array(nv);
|
|
41437
|
+
const Nb = new Te.Entity("offers", {
|
|
41442
41438
|
Files: [To]
|
|
41443
41439
|
});
|
|
41444
|
-
new
|
|
41445
|
-
const wR = new
|
|
41440
|
+
new Te.Array(Nb);
|
|
41441
|
+
const wR = new Te.Entity("atas", {
|
|
41446
41442
|
Files: [To]
|
|
41447
41443
|
});
|
|
41448
|
-
new
|
|
41449
|
-
const Lb = new
|
|
41444
|
+
new Te.Array(wR);
|
|
41445
|
+
const Lb = new Te.Entity("projects", {
|
|
41450
41446
|
// Offer: offer,
|
|
41451
41447
|
// Atas: [ata],
|
|
41452
41448
|
CompanyUser: nv,
|
|
@@ -41456,37 +41452,37 @@ const Lb = new ke.Entity("projects", {
|
|
|
41456
41452
|
wR.define({
|
|
41457
41453
|
Project: Lb
|
|
41458
41454
|
});
|
|
41459
|
-
const qye = new
|
|
41460
|
-
new
|
|
41461
|
-
const _R = new
|
|
41462
|
-
new
|
|
41463
|
-
const Kye = new
|
|
41455
|
+
const qye = new Te.Array(Lb), Yye = new Te.Entity("articles");
|
|
41456
|
+
new Te.Array(Yye);
|
|
41457
|
+
const _R = new Te.Entity("certificates");
|
|
41458
|
+
new Te.Array(_R);
|
|
41459
|
+
const Kye = new Te.Entity("companies", {
|
|
41464
41460
|
CompanyCertificates: [_R]
|
|
41465
|
-
}), Jye = new
|
|
41461
|
+
}), Jye = new Te.Array(Kye), ER = new Te.Entity("companyReferenceItems", {
|
|
41466
41462
|
Image: To,
|
|
41467
41463
|
Thumbnail: To
|
|
41468
41464
|
});
|
|
41469
|
-
new
|
|
41470
|
-
const Zye = new
|
|
41465
|
+
new Te.Array(ER);
|
|
41466
|
+
const Zye = new Te.Entity("companyReferences", {
|
|
41471
41467
|
CompanyReferenceItems: [ER]
|
|
41472
41468
|
});
|
|
41473
|
-
new
|
|
41474
|
-
const xR = new
|
|
41469
|
+
new Te.Array(Zye);
|
|
41470
|
+
const xR = new Te.Entity("contracts", {
|
|
41475
41471
|
Offer: Nb
|
|
41476
41472
|
});
|
|
41477
|
-
new
|
|
41473
|
+
new Te.Array(xR);
|
|
41478
41474
|
Nb.define({
|
|
41479
41475
|
Contract: xR
|
|
41480
41476
|
});
|
|
41481
|
-
new
|
|
41482
|
-
const Xye = new
|
|
41477
|
+
new Te.Entity("endCustomers");
|
|
41478
|
+
const Xye = new Te.Entity("notifications", {
|
|
41483
41479
|
Project: Lb
|
|
41484
41480
|
});
|
|
41485
|
-
new
|
|
41486
|
-
const Qye = new
|
|
41487
|
-
new
|
|
41488
|
-
const ebe = new
|
|
41489
|
-
new
|
|
41481
|
+
new Te.Array(Xye);
|
|
41482
|
+
const Qye = new Te.Entity("propertyDesignations");
|
|
41483
|
+
new Te.Array(Qye);
|
|
41484
|
+
const ebe = new Te.Entity("templateMessages");
|
|
41485
|
+
new Te.Array(ebe);
|
|
41490
41486
|
const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM: Th } = Pe.forms, {
|
|
41491
41487
|
DO_LOAD_CURRENT_COMPANY: Qc,
|
|
41492
41488
|
DO_NORMALIZE_COMPANIES: gT,
|
|
@@ -41756,7 +41752,7 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
41756
41752
|
getters: nbe,
|
|
41757
41753
|
actions: rbe,
|
|
41758
41754
|
mutations: lbe
|
|
41759
|
-
},
|
|
41755
|
+
}, Qn = "companyUsers", {
|
|
41760
41756
|
LOAD_COMPANY_USERS: ET,
|
|
41761
41757
|
LOAD_COMPANY_USER: eu,
|
|
41762
41758
|
DO_NORMALIZE_COMPANY_USERS: tu,
|
|
@@ -41767,7 +41763,7 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
41767
41763
|
FORM_NEW_COMPANY_USER: dbe,
|
|
41768
41764
|
FORM_EDIT_COMPANY_USER: pbe,
|
|
41769
41765
|
FORM_SUBMIT_COMPANY_USER: TT
|
|
41770
|
-
} = uR, { SET_AS_NORMALIZED_DATA: fbe, FORM_RESET_OLD: hbe, DELETE_FILE: mbe } = Ce, { SET_COMPANY_USERS_FETCHING: ru, SET_COMPANY_USERS_POSTING:
|
|
41766
|
+
} = uR, { SET_AS_NORMALIZED_DATA: fbe, FORM_RESET_OLD: hbe, DELETE_FILE: mbe } = Ce, { SET_COMPANY_USERS_FETCHING: ru, SET_COMPANY_USERS_POSTING: ei } = Cb, gbe = {
|
|
41771
41767
|
/**
|
|
41772
41768
|
* @name DO_NORMALIZE_COMPANY_USERS
|
|
41773
41769
|
* Normalize company users and insert into store.
|
|
@@ -41803,7 +41799,7 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
41803
41799
|
this.handleError(r, {
|
|
41804
41800
|
object: "companyUser",
|
|
41805
41801
|
fallbackCode: "companyUser.getAll",
|
|
41806
|
-
action: `${
|
|
41802
|
+
action: `${Qn}/${ET}`
|
|
41807
41803
|
});
|
|
41808
41804
|
} finally {
|
|
41809
41805
|
t(ru, !1);
|
|
@@ -41832,7 +41828,7 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
41832
41828
|
object: "companyUser",
|
|
41833
41829
|
objectId: n,
|
|
41834
41830
|
fallbackCode: "companyUser.get",
|
|
41835
|
-
action: `${
|
|
41831
|
+
action: `${Qn}/${eu}`,
|
|
41836
41832
|
actionPayload: arguments[1]
|
|
41837
41833
|
}), null;
|
|
41838
41834
|
} finally {
|
|
@@ -41855,7 +41851,7 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
41855
41851
|
locale: a || "en-US",
|
|
41856
41852
|
...n
|
|
41857
41853
|
};
|
|
41858
|
-
e(
|
|
41854
|
+
e(ei, !0);
|
|
41859
41855
|
const { data: s } = await CY(o);
|
|
41860
41856
|
return await t(tu, {
|
|
41861
41857
|
companyUsers: [s]
|
|
@@ -41870,11 +41866,11 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
41870
41866
|
return this.handleError(i, {
|
|
41871
41867
|
object: "companyUser",
|
|
41872
41868
|
fallbackCode: "companyUser.post",
|
|
41873
|
-
action: `${
|
|
41869
|
+
action: `${Qn}/${Ch}`,
|
|
41874
41870
|
actionPayload: arguments[1]
|
|
41875
41871
|
}), null;
|
|
41876
41872
|
} finally {
|
|
41877
|
-
e(
|
|
41873
|
+
e(ei, !1);
|
|
41878
41874
|
}
|
|
41879
41875
|
},
|
|
41880
41876
|
/**
|
|
@@ -41889,7 +41885,7 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
41889
41885
|
async [Oh]({ dispatch: e, commit: t, getters: r }, { id: n, body: i }) {
|
|
41890
41886
|
var a;
|
|
41891
41887
|
try {
|
|
41892
|
-
t(
|
|
41888
|
+
t(ei, !0);
|
|
41893
41889
|
const { AvatarPublicId: o } = i, { AvatarPublicId: s } = r.byId(n);
|
|
41894
41890
|
return o && o !== s && this.dispatch(mbe, { id: s }), await AY(n, i), await e(eu, {
|
|
41895
41891
|
id: n
|
|
@@ -41902,11 +41898,11 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
41902
41898
|
object: "companyUser",
|
|
41903
41899
|
objectId: n,
|
|
41904
41900
|
fallbackCode: "companyUser.put",
|
|
41905
|
-
action: `${
|
|
41901
|
+
action: `${Qn}/${Oh}`,
|
|
41906
41902
|
actionPayload: arguments[1]
|
|
41907
41903
|
}), null;
|
|
41908
41904
|
} finally {
|
|
41909
|
-
t(
|
|
41905
|
+
t(ei, !1);
|
|
41910
41906
|
}
|
|
41911
41907
|
},
|
|
41912
41908
|
/**
|
|
@@ -41920,12 +41916,12 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
41920
41916
|
// Destroy company user
|
|
41921
41917
|
async [xT]({ commit: e }, { id: t }) {
|
|
41922
41918
|
try {
|
|
41923
|
-
return e(
|
|
41919
|
+
return e(ei, !0), await $Y(t), e(Cb.DELETE_COMPANY_USER, t), this.dispatch("application/SHOW_MESSAGE", {
|
|
41924
41920
|
type: "success",
|
|
41925
41921
|
message: ie.t("removedThing", { thing: ie.t("user") }),
|
|
41926
41922
|
actions: {
|
|
41927
41923
|
undo: () => {
|
|
41928
|
-
this.dispatch(`${
|
|
41924
|
+
this.dispatch(`${Qn}/${Ah}`, { id: t });
|
|
41929
41925
|
}
|
|
41930
41926
|
}
|
|
41931
41927
|
}), t;
|
|
@@ -41934,11 +41930,11 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
41934
41930
|
object: "companyUser",
|
|
41935
41931
|
objectId: t,
|
|
41936
41932
|
fallbackCode: "companyUser.delete",
|
|
41937
|
-
action: `${
|
|
41933
|
+
action: `${Qn}/${xT}`,
|
|
41938
41934
|
actionPayload: arguments[1]
|
|
41939
41935
|
}), null;
|
|
41940
41936
|
} finally {
|
|
41941
|
-
e(
|
|
41937
|
+
e(ei, !1);
|
|
41942
41938
|
}
|
|
41943
41939
|
},
|
|
41944
41940
|
/**
|
|
@@ -41951,7 +41947,7 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
41951
41947
|
*/
|
|
41952
41948
|
async [Ah]({ dispatch: e, commit: t }, { id: r }) {
|
|
41953
41949
|
try {
|
|
41954
|
-
return t(
|
|
41950
|
+
return t(ei, !0), await PY(r), await e(eu, {
|
|
41955
41951
|
id: r
|
|
41956
41952
|
}), r;
|
|
41957
41953
|
} catch (n) {
|
|
@@ -41959,11 +41955,11 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
41959
41955
|
object: "companyUser",
|
|
41960
41956
|
objectId: r,
|
|
41961
41957
|
fallbackCode: "companyUser.patch",
|
|
41962
|
-
action: `${
|
|
41958
|
+
action: `${Qn}/${Ah}`,
|
|
41963
41959
|
actionPayload: arguments[1]
|
|
41964
41960
|
}), null;
|
|
41965
41961
|
} finally {
|
|
41966
|
-
t(
|
|
41962
|
+
t(ei, !1);
|
|
41967
41963
|
}
|
|
41968
41964
|
},
|
|
41969
41965
|
/**
|
|
@@ -42038,7 +42034,7 @@ const Cs = "companies", { LOAD_FILE: i$e, FORM_RESET_OLD: mT } = Ce, { SET_FORM:
|
|
|
42038
42034
|
} catch (r) {
|
|
42039
42035
|
return this.handleError(r, {
|
|
42040
42036
|
object: "companyUser",
|
|
42041
|
-
action: `${
|
|
42037
|
+
action: `${Qn}/${TT}`,
|
|
42042
42038
|
actionPayload: arguments[1]
|
|
42043
42039
|
}), !1;
|
|
42044
42040
|
}
|
|
@@ -42837,7 +42833,7 @@ var TR = { exports: {} };
|
|
|
42837
42833
|
}, n;
|
|
42838
42834
|
});
|
|
42839
42835
|
})(TR);
|
|
42840
|
-
var Wbe = TR.exports, Gbe = Do, qbe = ly, Ybe =
|
|
42836
|
+
var Wbe = TR.exports, Gbe = Do, qbe = ly, Ybe = Un, Kbe = "[object Object]", Jbe = Function.prototype, Zbe = Object.prototype, kR = Jbe.toString, Xbe = Zbe.hasOwnProperty, Qbe = kR.call(Object);
|
|
42841
42837
|
function e0e(e) {
|
|
42842
42838
|
if (!Ybe(e) || Gbe(e) != Kbe)
|
|
42843
42839
|
return !1;
|
|
@@ -43183,7 +43179,7 @@ const s0e = (e) => {
|
|
|
43183
43179
|
deny: "button"
|
|
43184
43180
|
},
|
|
43185
43181
|
signOrder: 0,
|
|
43186
|
-
_uniqueId:
|
|
43182
|
+
_uniqueId: Vn()
|
|
43187
43183
|
};
|
|
43188
43184
|
}, l0e = (e, t) => {
|
|
43189
43185
|
const r = {
|
|
@@ -43328,7 +43324,7 @@ const s0e = (e) => {
|
|
|
43328
43324
|
theme: i
|
|
43329
43325
|
});
|
|
43330
43326
|
}
|
|
43331
|
-
}), e),
|
|
43327
|
+
}), e), ti = (e) => ie.t(`components:document.chapters.${e}.title`), tr = (e) => ie.t(`components:document.chapters.subChapters.${e}.title`), p0e = {
|
|
43332
43328
|
// Based on folder name in document blocks as object key
|
|
43333
43329
|
// and node itemType in array values
|
|
43334
43330
|
docChapter: ["section"],
|
|
@@ -43353,18 +43349,18 @@ const s0e = (e) => {
|
|
|
43353
43349
|
}, f0e = () => ({
|
|
43354
43350
|
docChapter: {
|
|
43355
43351
|
parties: {
|
|
43356
|
-
title:
|
|
43352
|
+
title: ti("parties"),
|
|
43357
43353
|
classList: "print-avoid-break-inside"
|
|
43358
43354
|
},
|
|
43359
|
-
workPackage: { title:
|
|
43360
|
-
warningInfo: { title:
|
|
43361
|
-
estimatedTime: { title:
|
|
43362
|
-
extraWorkTimeImpact: { title:
|
|
43355
|
+
workPackage: { title: ti("workPackage") },
|
|
43356
|
+
warningInfo: { title: ti("warningInfo") },
|
|
43357
|
+
estimatedTime: { title: ti("estimatedTime") },
|
|
43358
|
+
extraWorkTimeImpact: { title: ti("extraWorkTimeImpact") },
|
|
43363
43359
|
extraWorkConstructionPricingList: {
|
|
43364
|
-
title:
|
|
43360
|
+
title: ti("extraWorkConstructionPricingList")
|
|
43365
43361
|
},
|
|
43366
|
-
paymentTerms: { title:
|
|
43367
|
-
misc: { title:
|
|
43362
|
+
paymentTerms: { title: ti("paymentTerms") },
|
|
43363
|
+
misc: { title: ti("misc") }
|
|
43368
43364
|
},
|
|
43369
43365
|
docChapterSub: {
|
|
43370
43366
|
workAddress: { title: tr("workAddress"), hideFromEdit: !0 },
|
|
@@ -44024,7 +44020,7 @@ class Ea {
|
|
|
44024
44020
|
}
|
|
44025
44021
|
}
|
|
44026
44022
|
const b0e = Object.prototype.toString, NT = String.prototype.toLowerCase, $R = Object.hasOwnProperty;
|
|
44027
|
-
function
|
|
44023
|
+
function Hn(e) {
|
|
44028
44024
|
return typeof e == "string";
|
|
44029
44025
|
}
|
|
44030
44026
|
function Zt(e) {
|
|
@@ -44040,7 +44036,7 @@ function _0e(e) {
|
|
|
44040
44036
|
return e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
44041
44037
|
}
|
|
44042
44038
|
function Oe(e) {
|
|
44043
|
-
return e = $e(e),
|
|
44039
|
+
return e = $e(e), Hn(e) ? e : Wn(e) ? "" : It(e) ? e.map((t) => Oe(t)).join("") : String(e);
|
|
44044
44040
|
}
|
|
44045
44041
|
function $e(e) {
|
|
44046
44042
|
return e instanceof Ea && Zt(e.valueOf) ? e.valueOf() : e;
|
|
@@ -44051,7 +44047,7 @@ function Bp(e) {
|
|
|
44051
44047
|
function PR(e) {
|
|
44052
44048
|
return e && Zt(e.toLiquid) ? PR(e.toLiquid()) : e;
|
|
44053
44049
|
}
|
|
44054
|
-
function
|
|
44050
|
+
function Wn(e) {
|
|
44055
44051
|
return e == null;
|
|
44056
44052
|
}
|
|
44057
44053
|
function E0e(e) {
|
|
@@ -44194,7 +44190,7 @@ function Vr(e, t) {
|
|
|
44194
44190
|
}
|
|
44195
44191
|
class N0e extends Ea {
|
|
44196
44192
|
equals(t) {
|
|
44197
|
-
return
|
|
44193
|
+
return Wn($e(t));
|
|
44198
44194
|
}
|
|
44199
44195
|
gt() {
|
|
44200
44196
|
return !1;
|
|
@@ -44214,7 +44210,7 @@ class N0e extends Ea {
|
|
|
44214
44210
|
}
|
|
44215
44211
|
class zp extends Ea {
|
|
44216
44212
|
equals(t) {
|
|
44217
|
-
return t instanceof zp ? !1 : (t = $e(t),
|
|
44213
|
+
return t instanceof zp ? !1 : (t = $e(t), Hn(t) || It(t) ? t.length === 0 : Xb(t) ? Object.keys(t).length === 0 : !1);
|
|
44218
44214
|
}
|
|
44219
44215
|
gt() {
|
|
44220
44216
|
return !1;
|
|
@@ -44234,7 +44230,7 @@ class zp extends Ea {
|
|
|
44234
44230
|
}
|
|
44235
44231
|
class L0e extends zp {
|
|
44236
44232
|
equals(t) {
|
|
44237
|
-
return t === !1 ||
|
|
44233
|
+
return t === !1 || Wn($e(t)) ? !0 : Hn(t) ? /^\s*$/.test(t) : super.equals(t);
|
|
44238
44234
|
}
|
|
44239
44235
|
}
|
|
44240
44236
|
class e0 extends Ea {
|
|
@@ -44338,7 +44334,7 @@ function On(e, t, r, n) {
|
|
|
44338
44334
|
c((n = n.apply(e, [])).next());
|
|
44339
44335
|
});
|
|
44340
44336
|
}
|
|
44341
|
-
function
|
|
44337
|
+
function ui(e) {
|
|
44342
44338
|
return On(this, void 0, void 0, function* () {
|
|
44343
44339
|
if (!qd(e))
|
|
44344
44340
|
return e;
|
|
@@ -44347,7 +44343,7 @@ function di(e) {
|
|
|
44347
44343
|
const i = e[n](t);
|
|
44348
44344
|
r = i.done, t = i.value, n = "next";
|
|
44349
44345
|
try {
|
|
44350
|
-
qd(t) && (t =
|
|
44346
|
+
qd(t) && (t = ui(t)), w0e(t) && (t = yield t);
|
|
44351
44347
|
} catch (a) {
|
|
44352
44348
|
n = "throw", t = a;
|
|
44353
44349
|
}
|
|
@@ -44355,7 +44351,7 @@ function di(e) {
|
|
|
44355
44351
|
return t;
|
|
44356
44352
|
});
|
|
44357
44353
|
}
|
|
44358
|
-
function
|
|
44354
|
+
function di(e) {
|
|
44359
44355
|
if (!qd(e))
|
|
44360
44356
|
return e;
|
|
44361
44357
|
let t, r = !1, n = "next";
|
|
@@ -44363,7 +44359,7 @@ function pi(e) {
|
|
|
44363
44359
|
const i = e[n](t);
|
|
44364
44360
|
if (r = i.done, t = i.value, n = "next", qd(t))
|
|
44365
44361
|
try {
|
|
44366
|
-
t =
|
|
44362
|
+
t = di(t);
|
|
44367
44363
|
} catch (a) {
|
|
44368
44364
|
n = "throw", t = a;
|
|
44369
44365
|
}
|
|
@@ -44371,10 +44367,10 @@ function pi(e) {
|
|
|
44371
44367
|
return t;
|
|
44372
44368
|
}
|
|
44373
44369
|
function t0(e) {
|
|
44374
|
-
return e = $e(e), It(e) ? e :
|
|
44370
|
+
return e = $e(e), It(e) ? e : Hn(e) && e.length > 0 ? [e] : x0e(e) ? Array.from(e) : Xb(e) ? Object.keys(e).map((t) => [t, e[t]]) : [];
|
|
44375
44371
|
}
|
|
44376
|
-
function
|
|
44377
|
-
return
|
|
44372
|
+
function jn(e) {
|
|
44373
|
+
return Wn(e) ? [] : It(e) ? e : [e];
|
|
44378
44374
|
}
|
|
44379
44375
|
const j0e = /%([-_0^#:]+)?(\d+)?([EO])?(.)/, UR = [
|
|
44380
44376
|
"January",
|
|
@@ -44530,9 +44526,9 @@ function Y0e(e, t) {
|
|
|
44530
44526
|
return l["^"] ? c = c.toUpperCase() : l["#"] && (c = k0e(c)), l._ ? u = " " : l[0] && (u = "0"), l["-"] && (d = 0), Al(c, d, u);
|
|
44531
44527
|
}
|
|
44532
44528
|
const K0e = 6e4, J0e = /([zZ]|([+-])(\d{2}):(\d{2}))$/;
|
|
44533
|
-
class
|
|
44529
|
+
class Rn {
|
|
44534
44530
|
constructor(t, r) {
|
|
44535
|
-
this.date = t instanceof
|
|
44531
|
+
this.date = t instanceof Rn ? t.date : new Date(t), this.timezoneOffset = r;
|
|
44536
44532
|
const n = (this.date.getTimezoneOffset() - this.timezoneOffset) * K0e, i = this.date.getTime() + n;
|
|
44537
44533
|
this.displayDate = new Date(i);
|
|
44538
44534
|
}
|
|
@@ -44591,10 +44587,10 @@ class Mn {
|
|
|
44591
44587
|
static createDateFixedToTimezone(t) {
|
|
44592
44588
|
const r = t.match(J0e);
|
|
44593
44589
|
if (r && r[1] === "Z")
|
|
44594
|
-
return new
|
|
44590
|
+
return new Rn(+new Date(t), 0);
|
|
44595
44591
|
if (r && r[2] && r[3] && r[4]) {
|
|
44596
44592
|
const [, , n, i, a] = r, o = (n === "+" ? -1 : 1) * (parseInt(i, 10) * 60 + parseInt(a, 10));
|
|
44597
|
-
return new
|
|
44593
|
+
return new Rn(+new Date(t), o);
|
|
44598
44594
|
}
|
|
44599
44595
|
return new Date(t);
|
|
44600
44596
|
}
|
|
@@ -44789,7 +44785,7 @@ class f1e {
|
|
|
44789
44785
|
class h1e {
|
|
44790
44786
|
renderTemplatesToNodeStream(t, r) {
|
|
44791
44787
|
const n = new p1e();
|
|
44792
|
-
return Promise.resolve().then(() =>
|
|
44788
|
+
return Promise.resolve().then(() => ui(this.renderTemplates(t, r, n))).then(() => n.end(), (i) => n.error(i)), n.stream;
|
|
44793
44789
|
}
|
|
44794
44790
|
*renderTemplates(t, r, n) {
|
|
44795
44791
|
n || (n = r.opts.keepOutputType ? new f1e() : new d1e());
|
|
@@ -44986,7 +44982,7 @@ var C1e = /* @__PURE__ */ Object.freeze({
|
|
|
44986
44982
|
sep: O1e
|
|
44987
44983
|
});
|
|
44988
44984
|
function A1e(e, t, ...r) {
|
|
44989
|
-
return e = $e(e), It(e) ||
|
|
44985
|
+
return e = $e(e), It(e) || Hn(e) ? e.length ? e : t : e === !1 && new Map(r).get("allow_false") ? !1 : Hp(e, this.context) ? t : e;
|
|
44990
44986
|
}
|
|
44991
44987
|
function GR(e, t = 0) {
|
|
44992
44988
|
return JSON.stringify(e, null, t);
|
|
@@ -45072,7 +45068,7 @@ function F1e(e) {
|
|
|
45072
45068
|
}
|
|
45073
45069
|
function Ju(e) {
|
|
45074
45070
|
let t = [];
|
|
45075
|
-
return It(e) && (t = e),
|
|
45071
|
+
return It(e) && (t = e), Hn(e) && (t = [e]), t;
|
|
45076
45072
|
}
|
|
45077
45073
|
function U1e(e, t) {
|
|
45078
45074
|
let r = !1;
|
|
@@ -45496,7 +45492,7 @@ class qR {
|
|
|
45496
45492
|
return yield this.handler.apply({ context: r, liquid: this.liquid }, [t, ...n]);
|
|
45497
45493
|
}
|
|
45498
45494
|
}
|
|
45499
|
-
class
|
|
45495
|
+
class Fn {
|
|
45500
45496
|
/**
|
|
45501
45497
|
* @param str the value to be valuated, eg.: "foobar" | truncate: 3
|
|
45502
45498
|
*/
|
|
@@ -45522,7 +45518,7 @@ class G1e extends i0 {
|
|
|
45522
45518
|
var n;
|
|
45523
45519
|
super(t);
|
|
45524
45520
|
const i = new ts(t.input, r.options.operators, t.file, t.contentRange);
|
|
45525
|
-
this.value = new
|
|
45521
|
+
this.value = new Fn(i.readFilteredValue(), r);
|
|
45526
45522
|
const a = this.value.filters, o = r.options.outputEscape;
|
|
45527
45523
|
!(!((n = a[a.length - 1]) === null || n === void 0) && n.raw) && o && a.push(new qR(toString.call(o), o, [], r));
|
|
45528
45524
|
}
|
|
@@ -45622,7 +45618,7 @@ class K1e {
|
|
|
45622
45618
|
const a = this.cache, o = this.loader.shouldLoadRelative(t) ? i + "," + t : n + ":" + t, s = yield a.read(o);
|
|
45623
45619
|
if (s)
|
|
45624
45620
|
return s;
|
|
45625
|
-
const l = this._parseFile(t, r, n, i), c = r ? yield l :
|
|
45621
|
+
const l = this._parseFile(t, r, n, i), c = r ? yield l : ui(l);
|
|
45626
45622
|
a.write(o, c);
|
|
45627
45623
|
try {
|
|
45628
45624
|
return yield c;
|
|
@@ -45693,7 +45689,7 @@ class Wa {
|
|
|
45693
45689
|
return this.getSync(t);
|
|
45694
45690
|
}
|
|
45695
45691
|
getSync(t) {
|
|
45696
|
-
return
|
|
45692
|
+
return di(this._get(t));
|
|
45697
45693
|
}
|
|
45698
45694
|
*_get(t) {
|
|
45699
45695
|
const r = this.findScope(t[0]);
|
|
@@ -45703,10 +45699,10 @@ class Wa {
|
|
|
45703
45699
|
* @deprecated use `_get()` instead
|
|
45704
45700
|
*/
|
|
45705
45701
|
getFromScope(t, r) {
|
|
45706
|
-
return
|
|
45702
|
+
return di(this._getFromScope(t, r));
|
|
45707
45703
|
}
|
|
45708
45704
|
*_getFromScope(t, r, n = this.strictVariables) {
|
|
45709
|
-
|
|
45705
|
+
Hn(r) && (r = r.split("."));
|
|
45710
45706
|
for (let i = 0; i < r.length; i++)
|
|
45711
45707
|
if (t = yield twe(t, r[i], this.ownPropertyOnly), n && E0e(t))
|
|
45712
45708
|
throw new $0e(r.slice(0, i + 1).join("."));
|
|
@@ -45731,7 +45727,7 @@ class Wa {
|
|
|
45731
45727
|
}
|
|
45732
45728
|
}
|
|
45733
45729
|
function twe(e, t, r) {
|
|
45734
|
-
if (e = PR(e),
|
|
45730
|
+
if (e = PR(e), Wn(e))
|
|
45735
45731
|
return e;
|
|
45736
45732
|
if (It(e) && t < 0)
|
|
45737
45733
|
return e[e.length + +t];
|
|
@@ -45751,7 +45747,7 @@ function iwe(e) {
|
|
|
45751
45747
|
function awe(e) {
|
|
45752
45748
|
if (e.hasOwnProperty("size") || e.size !== void 0)
|
|
45753
45749
|
return e.size;
|
|
45754
|
-
if (It(e) ||
|
|
45750
|
+
if (It(e) || Hn(e))
|
|
45755
45751
|
return e.length;
|
|
45756
45752
|
if (typeof e == "object")
|
|
45757
45753
|
return Object.keys(e).length;
|
|
@@ -45789,10 +45785,10 @@ var wwe = /* @__PURE__ */ Object.freeze({
|
|
|
45789
45785
|
url_decode: ywe,
|
|
45790
45786
|
url_encode: bwe
|
|
45791
45787
|
});
|
|
45792
|
-
const _we = yr((e, t) =>
|
|
45788
|
+
const _we = yr((e, t) => jn(e).join(t === void 0 ? " " : t)), Ewe = yr((e) => It(e) ? RR(e) : ""), xwe = yr((e) => It(e) ? e[0] : ""), Twe = yr((e) => [...jn(e)].reverse());
|
|
45793
45789
|
function* kwe(e, t) {
|
|
45794
45790
|
const r = [];
|
|
45795
|
-
for (const n of
|
|
45791
|
+
for (const n of jn($e(e)))
|
|
45796
45792
|
r.push([
|
|
45797
45793
|
n,
|
|
45798
45794
|
t ? yield this.context._getFromScope(n, Oe(t).split("."), !1) : n
|
|
@@ -45805,30 +45801,30 @@ function* kwe(e, t) {
|
|
|
45805
45801
|
function Swe(e, t) {
|
|
45806
45802
|
e = $e(e);
|
|
45807
45803
|
const r = Oe(t), n = t === void 0 ? jT : (i, a) => jT(i[r], a[r]);
|
|
45808
|
-
return [...
|
|
45804
|
+
return [...jn(e)].sort(n);
|
|
45809
45805
|
}
|
|
45810
45806
|
const Owe = (e) => e && e.length || 0;
|
|
45811
45807
|
function* Cwe(e, t) {
|
|
45812
45808
|
const r = [];
|
|
45813
|
-
for (const n of
|
|
45809
|
+
for (const n of jn($e(e)))
|
|
45814
45810
|
r.push(yield this.context._getFromScope(n, Oe(t), !1));
|
|
45815
45811
|
return r;
|
|
45816
45812
|
}
|
|
45817
45813
|
function Awe(e) {
|
|
45818
|
-
return e = $e(e),
|
|
45814
|
+
return e = $e(e), jn(e).filter((t) => !Wn($e(t)));
|
|
45819
45815
|
}
|
|
45820
45816
|
function KR(e, t = []) {
|
|
45821
|
-
return e = $e(e), t =
|
|
45817
|
+
return e = $e(e), t = jn(t).map((r) => $e(r)), jn(e).concat(t);
|
|
45822
45818
|
}
|
|
45823
45819
|
function $we(e, t) {
|
|
45824
45820
|
return KR(e, [t]);
|
|
45825
45821
|
}
|
|
45826
45822
|
function Pwe(e, t, r = 1) {
|
|
45827
|
-
return e = $e(e),
|
|
45823
|
+
return e = $e(e), Wn(e) ? [] : (It(e) || (e = Oe(e)), t = t < 0 ? e.length + t : t, e.slice(t, t + r));
|
|
45828
45824
|
}
|
|
45829
45825
|
function* Rwe(e, t, r) {
|
|
45830
45826
|
const n = [];
|
|
45831
|
-
e =
|
|
45827
|
+
e = jn($e(e));
|
|
45832
45828
|
for (const i of e)
|
|
45833
45829
|
n.push(yield this.context._getFromScope(i, Oe(t).split("."), !1));
|
|
45834
45830
|
return e.filter((i, a) => r === void 0 ? Wi(n[a], this.context) : Ir(r) ? r.equals(n[a]) : n[a] === r);
|
|
@@ -45839,7 +45835,7 @@ function Mwe(e) {
|
|
|
45839
45835
|
return (e || []).filter((r) => $R.call(t, String(r)) ? !1 : (t[String(r)] = !0, !0));
|
|
45840
45836
|
}
|
|
45841
45837
|
function Dwe(e, t = 1) {
|
|
45842
|
-
if (e = $e(e),
|
|
45838
|
+
if (e = $e(e), Wn(e))
|
|
45843
45839
|
return [];
|
|
45844
45840
|
It(e) || (e = Oe(e));
|
|
45845
45841
|
const r = [...e].sort(() => Math.random() - 0.5);
|
|
@@ -45866,10 +45862,10 @@ var Iwe = /* @__PURE__ */ Object.freeze({
|
|
|
45866
45862
|
function Nwe(e, t, r) {
|
|
45867
45863
|
const n = this.context.opts;
|
|
45868
45864
|
let i;
|
|
45869
|
-
return e = $e(e), t = $e(t),
|
|
45865
|
+
return e = $e(e), t = $e(t), Wn(t) ? t = n.dateFormat : t = Oe(t), e === "now" || e === "today" ? i = /* @__PURE__ */ new Date() : Bp(e) ? i = new Date(e * 1e3) : Hn(e) ? /^\d+$/.test(e) ? i = new Date(+e * 1e3) : n.preserveTimezones ? i = Rn.createDateFixedToTimezone(e) : i = new Date(e) : i = e, Lwe(i) ? (r !== void 0 ? i = new Rn(i, QT(i, r)) : !(i instanceof Rn) && n.timezoneOffset !== void 0 && (i = new Rn(i, QT(i, n.timezoneOffset))), q0e(i, t)) : e;
|
|
45870
45866
|
}
|
|
45871
45867
|
function Lwe(e) {
|
|
45872
|
-
return (e instanceof Date || e instanceof
|
|
45868
|
+
return (e instanceof Date || e instanceof Rn) && !isNaN(e.getTime());
|
|
45873
45869
|
}
|
|
45874
45870
|
function QT(e, t) {
|
|
45875
45871
|
if (Bp(t))
|
|
@@ -45974,7 +45970,7 @@ const i_e = Object.assign(Object.assign(Object.assign(Object.assign(Object.assig
|
|
|
45974
45970
|
});
|
|
45975
45971
|
class a_e extends yt {
|
|
45976
45972
|
constructor(t, r, n) {
|
|
45977
|
-
super(t, r, n), this.key = this.tokenizer.readIdentifier().content, this.tokenizer.assert(this.key, "expected variable name"), this.tokenizer.skipBlank(), this.tokenizer.assert(this.tokenizer.peek() === "=", 'expected "="'), this.tokenizer.advance(), this.value = new
|
|
45973
|
+
super(t, r, n), this.key = this.tokenizer.readIdentifier().content, this.tokenizer.assert(this.key, "expected variable name"), this.tokenizer.skipBlank(), this.tokenizer.assert(this.tokenizer.peek() === "=", 'expected "="'), this.tokenizer.advance(), this.value = new Fn(this.tokenizer.readFilteredValue(), this.liquid);
|
|
45978
45974
|
}
|
|
45979
45975
|
*render(t) {
|
|
45980
45976
|
t.bottom()[this.key] = yield this.value.value(t, this.liquid.options.lenientIf);
|
|
@@ -46052,7 +46048,7 @@ class u_e extends yt {
|
|
|
46052
46048
|
}
|
|
46053
46049
|
class d_e extends yt {
|
|
46054
46050
|
constructor(t, r, n) {
|
|
46055
|
-
super(t, r, n), this.branches = [], this.elseTemplates = [], this.value = new
|
|
46051
|
+
super(t, r, n), this.branches = [], this.elseTemplates = [], this.value = new Fn(this.tokenizer.readFilteredValue(), this.liquid), this.elseTemplates = [];
|
|
46056
46052
|
let i = [];
|
|
46057
46053
|
const a = this.liquid.parser.parseStream(r).on("tag:when", (o) => {
|
|
46058
46054
|
i = [];
|
|
@@ -46208,10 +46204,10 @@ class v_e extends yt {
|
|
|
46208
46204
|
super(t, r, n), this.branches = [], this.elseTemplates = [];
|
|
46209
46205
|
let i;
|
|
46210
46206
|
n.parser.parseStream(r).on("start", () => this.branches.push({
|
|
46211
|
-
value: new
|
|
46207
|
+
value: new Fn(t.args, this.liquid),
|
|
46212
46208
|
templates: i = []
|
|
46213
46209
|
})).on("tag:elsif", (a) => this.branches.push({
|
|
46214
|
-
value: new
|
|
46210
|
+
value: new Fn(a.args, this.liquid),
|
|
46215
46211
|
templates: i = []
|
|
46216
46212
|
})).on("tag:else", () => i = this.elseTemplates).on("tag:endif", function() {
|
|
46217
46213
|
this.stop();
|
|
@@ -46349,11 +46345,11 @@ class k_e extends yt {
|
|
|
46349
46345
|
super(t, r, n), this.branches = [], this.elseTemplates = [];
|
|
46350
46346
|
let i;
|
|
46351
46347
|
this.liquid.parser.parseStream(r).on("start", () => this.branches.push({
|
|
46352
|
-
value: new
|
|
46348
|
+
value: new Fn(t.args, this.liquid),
|
|
46353
46349
|
test: Hp,
|
|
46354
46350
|
templates: i = []
|
|
46355
46351
|
})).on("tag:elsif", (a) => this.branches.push({
|
|
46356
|
-
value: new
|
|
46352
|
+
value: new Fn(a.args, this.liquid),
|
|
46357
46353
|
test: Wi,
|
|
46358
46354
|
templates: i = []
|
|
46359
46355
|
})).on("tag:else", () => i = this.elseTemplates).on("tag:endunless", function() {
|
|
@@ -46386,7 +46382,7 @@ class O_e extends yt {
|
|
|
46386
46382
|
}
|
|
46387
46383
|
class C_e extends yt {
|
|
46388
46384
|
constructor(t, r, n) {
|
|
46389
|
-
super(t, r, n), this.tokenizer.skipBlank(), this.tokenizer.end() || (this.value = new
|
|
46385
|
+
super(t, r, n), this.tokenizer.skipBlank(), this.tokenizer.end() || (this.value = new Fn(this.tokenizer.readFilteredValue(), this.liquid));
|
|
46390
46386
|
}
|
|
46391
46387
|
*render(t, r) {
|
|
46392
46388
|
if (!this.value)
|
|
@@ -46449,11 +46445,11 @@ class l0 {
|
|
|
46449
46445
|
}
|
|
46450
46446
|
render(t, r, n) {
|
|
46451
46447
|
return On(this, void 0, void 0, function* () {
|
|
46452
|
-
return
|
|
46448
|
+
return ui(this._render(t, r, Object.assign(Object.assign({}, n), { sync: !1 })));
|
|
46453
46449
|
});
|
|
46454
46450
|
}
|
|
46455
46451
|
renderSync(t, r, n) {
|
|
46456
|
-
return
|
|
46452
|
+
return di(this._render(t, r, Object.assign(Object.assign({}, n), { sync: !0 })));
|
|
46457
46453
|
}
|
|
46458
46454
|
renderToNodeStream(t, r, n = {}) {
|
|
46459
46455
|
const i = new Wa(r, this.options, n);
|
|
@@ -46465,11 +46461,11 @@ class l0 {
|
|
|
46465
46461
|
}
|
|
46466
46462
|
parseAndRender(t, r, n) {
|
|
46467
46463
|
return On(this, void 0, void 0, function* () {
|
|
46468
|
-
return
|
|
46464
|
+
return ui(this._parseAndRender(t, r, Object.assign(Object.assign({}, n), { sync: !1 })));
|
|
46469
46465
|
});
|
|
46470
46466
|
}
|
|
46471
46467
|
parseAndRenderSync(t, r, n) {
|
|
46472
|
-
return
|
|
46468
|
+
return di(this._parseAndRender(t, r, Object.assign(Object.assign({}, n), { sync: !0 })));
|
|
46473
46469
|
}
|
|
46474
46470
|
_parsePartialFile(t, r, n) {
|
|
46475
46471
|
return this.parser.parseFile(t, r, ca.Partials, n);
|
|
@@ -46482,11 +46478,11 @@ class l0 {
|
|
|
46482
46478
|
}
|
|
46483
46479
|
parseFile(t, r) {
|
|
46484
46480
|
return On(this, void 0, void 0, function* () {
|
|
46485
|
-
return
|
|
46481
|
+
return ui(this.parser.parseFile(t, !1, r));
|
|
46486
46482
|
});
|
|
46487
46483
|
}
|
|
46488
46484
|
parseFileSync(t, r) {
|
|
46489
|
-
return
|
|
46485
|
+
return di(this.parser.parseFile(t, !0, r));
|
|
46490
46486
|
}
|
|
46491
46487
|
*_renderFile(t, r, n) {
|
|
46492
46488
|
const i = yield this._parseFile(t, n.sync, n.lookupType);
|
|
@@ -46494,11 +46490,11 @@ class l0 {
|
|
|
46494
46490
|
}
|
|
46495
46491
|
renderFile(t, r, n) {
|
|
46496
46492
|
return On(this, void 0, void 0, function* () {
|
|
46497
|
-
return
|
|
46493
|
+
return ui(this._renderFile(t, r, Object.assign(Object.assign({}, n), { sync: !1 })));
|
|
46498
46494
|
});
|
|
46499
46495
|
}
|
|
46500
46496
|
renderFileSync(t, r, n) {
|
|
46501
|
-
return
|
|
46497
|
+
return di(this._renderFile(t, r, Object.assign(Object.assign({}, n), { sync: !0 })));
|
|
46502
46498
|
}
|
|
46503
46499
|
renderFileToNodeStream(t, r, n) {
|
|
46504
46500
|
return On(this, void 0, void 0, function* () {
|
|
@@ -46507,16 +46503,16 @@ class l0 {
|
|
|
46507
46503
|
});
|
|
46508
46504
|
}
|
|
46509
46505
|
_evalValue(t, r) {
|
|
46510
|
-
const n = new
|
|
46506
|
+
const n = new Fn(t, this), i = r instanceof Wa ? r : new Wa(r, this.options);
|
|
46511
46507
|
return n.value(i);
|
|
46512
46508
|
}
|
|
46513
46509
|
evalValue(t, r) {
|
|
46514
46510
|
return On(this, void 0, void 0, function* () {
|
|
46515
|
-
return
|
|
46511
|
+
return ui(this._evalValue(t, r));
|
|
46516
46512
|
});
|
|
46517
46513
|
}
|
|
46518
46514
|
evalValueSync(t, r) {
|
|
46519
|
-
return
|
|
46515
|
+
return di(this._evalValue(t, r));
|
|
46520
46516
|
}
|
|
46521
46517
|
registerFilter(t, r) {
|
|
46522
46518
|
this.filters[t] = r;
|
|
@@ -47722,9 +47718,9 @@ const rEe = {
|
|
|
47722
47718
|
getters: rEe,
|
|
47723
47719
|
actions: Hbe,
|
|
47724
47720
|
mutations: sEe
|
|
47725
|
-
},
|
|
47721
|
+
}, ri = "endCustomers", {
|
|
47726
47722
|
SET_ENDCUSTOMER_FETCHING: ou,
|
|
47727
|
-
SET_ENDCUSTOMER_POSTING:
|
|
47723
|
+
SET_ENDCUSTOMER_POSTING: ni,
|
|
47728
47724
|
CLEAR_END_CUSTOMER: uEe
|
|
47729
47725
|
} = Za, {
|
|
47730
47726
|
LOAD_ENDCUSTOMERS: r2,
|
|
@@ -47764,7 +47760,7 @@ const rEe = {
|
|
|
47764
47760
|
return this.handleError(r, {
|
|
47765
47761
|
object: "endCustomer",
|
|
47766
47762
|
fallbackCode: "endCustomer.getAll",
|
|
47767
|
-
action: `${
|
|
47763
|
+
action: `${ri}/${r2}`
|
|
47768
47764
|
}), !1;
|
|
47769
47765
|
} finally {
|
|
47770
47766
|
e(ou, !1);
|
|
@@ -47787,7 +47783,7 @@ const rEe = {
|
|
|
47787
47783
|
object: "endCustomer",
|
|
47788
47784
|
objectId: t,
|
|
47789
47785
|
fallbackCode: "endCustomer.get",
|
|
47790
|
-
action: `${
|
|
47786
|
+
action: `${ri}/${su}`,
|
|
47791
47787
|
actionPayload: arguments[1]
|
|
47792
47788
|
});
|
|
47793
47789
|
} finally {
|
|
@@ -47804,7 +47800,7 @@ const rEe = {
|
|
|
47804
47800
|
*/
|
|
47805
47801
|
async [Ih]({ commit: e }, { body: t, showNotification: r = !0 }) {
|
|
47806
47802
|
try {
|
|
47807
|
-
e(
|
|
47803
|
+
e(ni, !0);
|
|
47808
47804
|
const { data: n } = await EY(t);
|
|
47809
47805
|
return e(Za.SET_ENDCUSTOMERS, { data: n }), r && pr.value !== "widget" && this.dispatch("application/SHOW_MESSAGE", {
|
|
47810
47806
|
type: "success",
|
|
@@ -47814,11 +47810,11 @@ const rEe = {
|
|
|
47814
47810
|
return this.handleError(n, {
|
|
47815
47811
|
object: "endCustomer",
|
|
47816
47812
|
fallbackCode: "endCustomer.post",
|
|
47817
|
-
action: `${
|
|
47813
|
+
action: `${ri}/${Ih}`,
|
|
47818
47814
|
actionPayload: arguments[1]
|
|
47819
47815
|
}), null;
|
|
47820
47816
|
} finally {
|
|
47821
|
-
e(
|
|
47817
|
+
e(ni, !1);
|
|
47822
47818
|
}
|
|
47823
47819
|
},
|
|
47824
47820
|
/**
|
|
@@ -47832,7 +47828,7 @@ const rEe = {
|
|
|
47832
47828
|
*/
|
|
47833
47829
|
async [Dh]({ dispatch: e, commit: t }, { id: r, body: n }) {
|
|
47834
47830
|
try {
|
|
47835
|
-
return t(
|
|
47831
|
+
return t(ni, !0), await xY(r, n), await e(su, {
|
|
47836
47832
|
id: r
|
|
47837
47833
|
}), pr.value !== "widget" && this.dispatch("application/SHOW_MESSAGE", {
|
|
47838
47834
|
type: "success",
|
|
@@ -47843,11 +47839,11 @@ const rEe = {
|
|
|
47843
47839
|
object: "endCustomer",
|
|
47844
47840
|
objectId: r,
|
|
47845
47841
|
fallbackCode: "endCustomer.put",
|
|
47846
|
-
action: `${
|
|
47842
|
+
action: `${ri}/${Dh}`,
|
|
47847
47843
|
actionPayload: arguments[1]
|
|
47848
47844
|
}), null;
|
|
47849
47845
|
} finally {
|
|
47850
|
-
t(
|
|
47846
|
+
t(ni, !1);
|
|
47851
47847
|
}
|
|
47852
47848
|
},
|
|
47853
47849
|
/**
|
|
@@ -47860,7 +47856,7 @@ const rEe = {
|
|
|
47860
47856
|
*/
|
|
47861
47857
|
async [n2]({ commit: e }, { id: t }) {
|
|
47862
47858
|
try {
|
|
47863
|
-
return e(
|
|
47859
|
+
return e(ni, !0), await TY(t), e(Za.DELETE_ENDCUSTOMER, t), this.dispatch("application/SHOW_MESSAGE", {
|
|
47864
47860
|
type: "success",
|
|
47865
47861
|
message: ie.t("removedThing", { thing: ie.t("client") }),
|
|
47866
47862
|
actions: {
|
|
@@ -47874,11 +47870,11 @@ const rEe = {
|
|
|
47874
47870
|
object: "endCustomer",
|
|
47875
47871
|
objectId: t,
|
|
47876
47872
|
fallbackCode: "endCustomer.delete",
|
|
47877
|
-
action: `${
|
|
47873
|
+
action: `${ri}/${n2}`,
|
|
47878
47874
|
actionPayload: arguments[1]
|
|
47879
47875
|
}), null;
|
|
47880
47876
|
} finally {
|
|
47881
|
-
e(
|
|
47877
|
+
e(ni, !1);
|
|
47882
47878
|
}
|
|
47883
47879
|
},
|
|
47884
47880
|
/**
|
|
@@ -47889,7 +47885,7 @@ const rEe = {
|
|
|
47889
47885
|
*/
|
|
47890
47886
|
async [Nh]({ dispatch: e, commit: t }, { id: r }) {
|
|
47891
47887
|
try {
|
|
47892
|
-
return t(
|
|
47888
|
+
return t(ni, !0), await kY(r), await e(su, {
|
|
47893
47889
|
id: r
|
|
47894
47890
|
}), r;
|
|
47895
47891
|
} catch (n) {
|
|
@@ -47897,11 +47893,11 @@ const rEe = {
|
|
|
47897
47893
|
object: "endCustomer",
|
|
47898
47894
|
objectId: r,
|
|
47899
47895
|
fallbackCode: "endCustomer.patch",
|
|
47900
|
-
action: `${
|
|
47896
|
+
action: `${ri}/${Nh}`,
|
|
47901
47897
|
actionPayload: arguments[1]
|
|
47902
47898
|
}), null;
|
|
47903
47899
|
} finally {
|
|
47904
|
-
t(
|
|
47900
|
+
t(ni, !1);
|
|
47905
47901
|
}
|
|
47906
47902
|
},
|
|
47907
47903
|
/**
|
|
@@ -47938,7 +47934,7 @@ const rEe = {
|
|
|
47938
47934
|
} catch (t) {
|
|
47939
47935
|
return this.handleError(t, {
|
|
47940
47936
|
object: "endCustomer",
|
|
47941
|
-
action: `${
|
|
47937
|
+
action: `${ri}/${i2}`
|
|
47942
47938
|
}), !1;
|
|
47943
47939
|
}
|
|
47944
47940
|
},
|
|
@@ -47978,7 +47974,7 @@ const rEe = {
|
|
|
47978
47974
|
return this.handleError(n, {
|
|
47979
47975
|
object: "endCustomer",
|
|
47980
47976
|
fallbackCode: "endCustomer.submit",
|
|
47981
|
-
action: `${
|
|
47977
|
+
action: `${ri}/${a2}`
|
|
47982
47978
|
}), null;
|
|
47983
47979
|
}
|
|
47984
47980
|
}
|
|
@@ -48070,7 +48066,7 @@ const rEe = {
|
|
|
48070
48066
|
UPDATE_MANY_FILES: u2,
|
|
48071
48067
|
DELETE_ONE_FILE: TEe,
|
|
48072
48068
|
SET_FILES_FETCHING: d2,
|
|
48073
|
-
SET_FILES_POSTING:
|
|
48069
|
+
SET_FILES_POSTING: ii
|
|
48074
48070
|
} = kb, { SET_FORM: p2, CLEAR_FORM: kEe } = Pe.forms, SEe = {
|
|
48075
48071
|
/**
|
|
48076
48072
|
* @name LOAD_FILE
|
|
@@ -48106,7 +48102,7 @@ const rEe = {
|
|
|
48106
48102
|
*/
|
|
48107
48103
|
async [Lh]({ commit: e }, { body: t }) {
|
|
48108
48104
|
try {
|
|
48109
|
-
e(
|
|
48105
|
+
e(ii, !0);
|
|
48110
48106
|
const r = t.fileName || "";
|
|
48111
48107
|
let n = null;
|
|
48112
48108
|
if (t.blob) {
|
|
@@ -48125,7 +48121,7 @@ const rEe = {
|
|
|
48125
48121
|
actionPayload: arguments[1]
|
|
48126
48122
|
}), null;
|
|
48127
48123
|
} finally {
|
|
48128
|
-
e(
|
|
48124
|
+
e(ii, !1);
|
|
48129
48125
|
}
|
|
48130
48126
|
},
|
|
48131
48127
|
/**
|
|
@@ -48139,7 +48135,7 @@ const rEe = {
|
|
|
48139
48135
|
*/
|
|
48140
48136
|
async [jh]({ commit: e, dispatch: t }, { id: r, body: n }) {
|
|
48141
48137
|
try {
|
|
48142
|
-
return e(
|
|
48138
|
+
return e(ii, !0), await iY(r, n), await t(Vd.LOAD_FILE, {
|
|
48143
48139
|
id: r
|
|
48144
48140
|
}), r;
|
|
48145
48141
|
} catch (i) {
|
|
@@ -48151,7 +48147,7 @@ const rEe = {
|
|
|
48151
48147
|
actionPayload: arguments[1]
|
|
48152
48148
|
}), null;
|
|
48153
48149
|
} finally {
|
|
48154
|
-
e(
|
|
48150
|
+
e(ii, !1);
|
|
48155
48151
|
}
|
|
48156
48152
|
},
|
|
48157
48153
|
/**
|
|
@@ -48164,7 +48160,7 @@ const rEe = {
|
|
|
48164
48160
|
*/
|
|
48165
48161
|
async [s2]({ commit: e }, { id: t }) {
|
|
48166
48162
|
try {
|
|
48167
|
-
return e(
|
|
48163
|
+
return e(ii, !0), await aY(t), e(TEe, t), t;
|
|
48168
48164
|
} catch (r) {
|
|
48169
48165
|
return this.handleError(r, {
|
|
48170
48166
|
object: "file",
|
|
@@ -48174,7 +48170,7 @@ const rEe = {
|
|
|
48174
48170
|
actionPayload: arguments[1]
|
|
48175
48171
|
}), null;
|
|
48176
48172
|
} finally {
|
|
48177
|
-
e(
|
|
48173
|
+
e(ii, !1);
|
|
48178
48174
|
}
|
|
48179
48175
|
},
|
|
48180
48176
|
/**
|
|
@@ -48186,7 +48182,7 @@ const rEe = {
|
|
|
48186
48182
|
*/
|
|
48187
48183
|
async [l2]({ commit: e, dispatch: t }, { id: r }) {
|
|
48188
48184
|
try {
|
|
48189
|
-
return e(
|
|
48185
|
+
return e(ii, !0), await oY(r), await t(Vd.LOAD_FILE, {
|
|
48190
48186
|
id: r
|
|
48191
48187
|
}), r;
|
|
48192
48188
|
} catch (n) {
|
|
@@ -48198,7 +48194,7 @@ const rEe = {
|
|
|
48198
48194
|
actionPayload: arguments[1]
|
|
48199
48195
|
}), null;
|
|
48200
48196
|
} finally {
|
|
48201
|
-
e(
|
|
48197
|
+
e(ii, !1);
|
|
48202
48198
|
}
|
|
48203
48199
|
},
|
|
48204
48200
|
/**
|
|
@@ -48750,9 +48746,9 @@ async function txe({
|
|
|
48750
48746
|
id: u,
|
|
48751
48747
|
template: { id: d }
|
|
48752
48748
|
} = s;
|
|
48753
|
-
return ["documentForm"].includes(l) && (e ? u && u === c && u === e && (
|
|
48749
|
+
return ["documentForm"].includes(l) && (e ? u && u === c && u === e && (Mn.debug(
|
|
48754
48750
|
"DYNDOC_FORM: Using existing store data existing id match route"
|
|
48755
|
-
), o = !0) : !u && !e && (t === "default" && !d || t === d) && (
|
|
48751
|
+
), o = !0) : !u && !e && (t === "default" && !d || t === d) && (Mn.debug("DYNDOC_FORM: Using existing store data as no ids was found"), o = !0)), o && Mn.debug(
|
|
48756
48752
|
"DYNDOC_FORM: Dont reload as forms/document2 is already defined"
|
|
48757
48753
|
), o;
|
|
48758
48754
|
}
|
|
@@ -48787,7 +48783,7 @@ const rxe = {
|
|
|
48787
48783
|
return;
|
|
48788
48784
|
let m = {
|
|
48789
48785
|
id: null,
|
|
48790
|
-
__tempId:
|
|
48786
|
+
__tempId: Vn(),
|
|
48791
48787
|
companyUserId: this.getters["application/user"].id,
|
|
48792
48788
|
language: this.getters["settings/getCompanyUserSetting"]("defaultLanguage") || "en",
|
|
48793
48789
|
currency: this.getters["settings/getCompanyUserSetting"]("defaultCurrency"),
|
|
@@ -48813,7 +48809,7 @@ const rxe = {
|
|
|
48813
48809
|
"offertaPdfTemplate",
|
|
48814
48810
|
"onboardingTemplate"
|
|
48815
48811
|
].includes(o)) {
|
|
48816
|
-
const { data: _ } = await
|
|
48812
|
+
const { data: _ } = await li.get(o);
|
|
48817
48813
|
w = new nn(_);
|
|
48818
48814
|
}
|
|
48819
48815
|
if (w || (await this.dispatch(Ce.LOAD_TEMPLATE, { id: o }), w = this.getters["templates/byId"](o)), !w)
|
|
@@ -49614,7 +49610,7 @@ function GTe(e, t, r, n, i, a) {
|
|
|
49614
49610
|
}
|
|
49615
49611
|
return p ? (a || (a = new Bh()), BTe(e, t, r, n, i, a)) : !1;
|
|
49616
49612
|
}
|
|
49617
|
-
var qTe = GTe, YTe = qTe, M2 =
|
|
49613
|
+
var qTe = GTe, YTe = qTe, M2 = Un;
|
|
49618
49614
|
function rM(e, t, r, n, i) {
|
|
49619
49615
|
return e === t ? !0 : e == null || t == null || !M2(e) && !M2(t) ? e !== e && t !== t : YTe(e, t, r, n, rM, i);
|
|
49620
49616
|
}
|
|
@@ -49774,7 +49770,7 @@ var yke = vke, bke = fke, wke = yke, _ke = wke(bke), Eke = _ke, xke = c0, Tke =
|
|
|
49774
49770
|
function Ske(e, t) {
|
|
49775
49771
|
return kke(Tke(e, t, xke), e + "");
|
|
49776
49772
|
}
|
|
49777
|
-
var Oke = Ske, Cke = iy, Ake =
|
|
49773
|
+
var Oke = Ske, Cke = iy, Ake = Un;
|
|
49778
49774
|
function $ke(e) {
|
|
49779
49775
|
return Ake(e) && Cke(e);
|
|
49780
49776
|
}
|
|
@@ -51124,7 +51120,7 @@ const iSe = {
|
|
|
51124
51120
|
getters: iSe,
|
|
51125
51121
|
actions: tSe,
|
|
51126
51122
|
mutations: _Se
|
|
51127
|
-
},
|
|
51123
|
+
}, ai = "settings", { FORM_RESET_OLD: nk } = Ce, {
|
|
51128
51124
|
DO_LOAD_ALL_SETTINGS: ik,
|
|
51129
51125
|
LOAD_ALL_SETTINGS: ak,
|
|
51130
51126
|
DO_LOAD_SETTINGS_COMPANY: pu,
|
|
@@ -51177,7 +51173,7 @@ const iSe = {
|
|
|
51177
51173
|
this.handleError(t, {
|
|
51178
51174
|
object: "settings",
|
|
51179
51175
|
fallbackCode: "settings.get",
|
|
51180
|
-
action: `${
|
|
51176
|
+
action: `${ai}/${ak}`
|
|
51181
51177
|
});
|
|
51182
51178
|
}
|
|
51183
51179
|
},
|
|
@@ -51212,7 +51208,7 @@ const iSe = {
|
|
|
51212
51208
|
this.handleError(t, {
|
|
51213
51209
|
object: "companySettings",
|
|
51214
51210
|
fallbackCode: "settings.get",
|
|
51215
|
-
action: `${
|
|
51211
|
+
action: `${ai}/${ok}`
|
|
51216
51212
|
});
|
|
51217
51213
|
}
|
|
51218
51214
|
},
|
|
@@ -51251,7 +51247,7 @@ const iSe = {
|
|
|
51251
51247
|
this.handleError(t, {
|
|
51252
51248
|
object: "companyUserSettings",
|
|
51253
51249
|
fallbackCode: "settings.get",
|
|
51254
|
-
action: `${
|
|
51250
|
+
action: `${ai}/${sk}`
|
|
51255
51251
|
});
|
|
51256
51252
|
}
|
|
51257
51253
|
},
|
|
@@ -51272,7 +51268,7 @@ const iSe = {
|
|
|
51272
51268
|
return this.handleError(i, {
|
|
51273
51269
|
object: "setting",
|
|
51274
51270
|
fallbackCode: "settings.put",
|
|
51275
|
-
action: `${
|
|
51271
|
+
action: `${ai}/${lk}`,
|
|
51276
51272
|
actionPayload: arguments[1]
|
|
51277
51273
|
}), !1;
|
|
51278
51274
|
}
|
|
@@ -51318,7 +51314,7 @@ const iSe = {
|
|
|
51318
51314
|
return this.handleError(n, {
|
|
51319
51315
|
object: "setting",
|
|
51320
51316
|
fallbackCode: "setting.editCompany",
|
|
51321
|
-
action: `${
|
|
51317
|
+
action: `${ai}/${ck}`,
|
|
51322
51318
|
actionPayload: arguments[1]
|
|
51323
51319
|
}), !1;
|
|
51324
51320
|
}
|
|
@@ -51339,7 +51335,7 @@ const iSe = {
|
|
|
51339
51335
|
return this.handleError(r, {
|
|
51340
51336
|
object: "setting",
|
|
51341
51337
|
fallbackCode: "setting.submitCompany",
|
|
51342
|
-
action: `${
|
|
51338
|
+
action: `${ai}/${uk}`
|
|
51343
51339
|
}), !1;
|
|
51344
51340
|
}
|
|
51345
51341
|
},
|
|
@@ -51362,7 +51358,7 @@ const iSe = {
|
|
|
51362
51358
|
return this.handleError(n, {
|
|
51363
51359
|
object: "setting",
|
|
51364
51360
|
fallbackCode: "setting.editCompanyUser",
|
|
51365
|
-
action: `${
|
|
51361
|
+
action: `${ai}/${dk}`,
|
|
51366
51362
|
actionPayload: arguments[1]
|
|
51367
51363
|
}), !1;
|
|
51368
51364
|
}
|
|
@@ -51385,7 +51381,7 @@ const iSe = {
|
|
|
51385
51381
|
return this.handleError(r, {
|
|
51386
51382
|
object: "setting",
|
|
51387
51383
|
fallbackCode: "setting.submitCompanyUser",
|
|
51388
|
-
action: `${
|
|
51384
|
+
action: `${ai}/${pk}`
|
|
51389
51385
|
}), !1;
|
|
51390
51386
|
}
|
|
51391
51387
|
}
|
|
@@ -51538,7 +51534,7 @@ const iSe = {
|
|
|
51538
51534
|
FORM_SUBMIT_TEMPLATE_MESSAGE: Ek
|
|
51539
51535
|
} = Xa, {
|
|
51540
51536
|
SET_TEMPLATE_MESSAGES: rm,
|
|
51541
|
-
SET_TEMPLATE_MESSAGES_POSTING:
|
|
51537
|
+
SET_TEMPLATE_MESSAGES_POSTING: oi,
|
|
51542
51538
|
SET_TEMPLATE_MESSAGES_FETCHING: gu
|
|
51543
51539
|
} = Ab, ISe = {
|
|
51544
51540
|
/**
|
|
@@ -51596,7 +51592,7 @@ const iSe = {
|
|
|
51596
51592
|
*/
|
|
51597
51593
|
async [vk]({ commit: e }, { body: t }) {
|
|
51598
51594
|
try {
|
|
51599
|
-
e(
|
|
51595
|
+
e(oi, !0);
|
|
51600
51596
|
const { data: r } = await gY(t);
|
|
51601
51597
|
return e(rm, { data: r }), this.dispatch("application/SHOW_MESSAGE", {
|
|
51602
51598
|
type: "success",
|
|
@@ -51610,7 +51606,7 @@ const iSe = {
|
|
|
51610
51606
|
actionPayload: arguments[1]
|
|
51611
51607
|
}), null;
|
|
51612
51608
|
} finally {
|
|
51613
|
-
e(
|
|
51609
|
+
e(oi, !1);
|
|
51614
51610
|
}
|
|
51615
51611
|
},
|
|
51616
51612
|
/**
|
|
@@ -51624,7 +51620,7 @@ const iSe = {
|
|
|
51624
51620
|
*/
|
|
51625
51621
|
async [yk]({ dispatch: e, commit: t }, { id: r, body: n }) {
|
|
51626
51622
|
try {
|
|
51627
|
-
return t(
|
|
51623
|
+
return t(oi, !0), await vY(r, n), await e(Xa.LOAD_TEMPLATE_MESSAGE, {
|
|
51628
51624
|
id: r
|
|
51629
51625
|
}), this.dispatch("application/SHOW_MESSAGE", {
|
|
51630
51626
|
type: "success",
|
|
@@ -51639,7 +51635,7 @@ const iSe = {
|
|
|
51639
51635
|
actionPayload: arguments[1]
|
|
51640
51636
|
}), !1;
|
|
51641
51637
|
} finally {
|
|
51642
|
-
t(
|
|
51638
|
+
t(oi, !1);
|
|
51643
51639
|
}
|
|
51644
51640
|
},
|
|
51645
51641
|
/**
|
|
@@ -51652,7 +51648,7 @@ const iSe = {
|
|
|
51652
51648
|
*/
|
|
51653
51649
|
async [bk]({ commit: e }, { id: t }) {
|
|
51654
51650
|
try {
|
|
51655
|
-
return e(
|
|
51651
|
+
return e(oi, !0), await yY(t), e(Ab.DELETE_TEMPLATE_MESSAGE, t), this.dispatch("application/SHOW_MESSAGE", {
|
|
51656
51652
|
type: "success",
|
|
51657
51653
|
message: ie.t("removedThing", { thing: ie.t("template") }),
|
|
51658
51654
|
actions: {
|
|
@@ -51670,7 +51666,7 @@ const iSe = {
|
|
|
51670
51666
|
actionPayload: arguments[1]
|
|
51671
51667
|
}), !1;
|
|
51672
51668
|
} finally {
|
|
51673
|
-
e(
|
|
51669
|
+
e(oi, !1);
|
|
51674
51670
|
}
|
|
51675
51671
|
},
|
|
51676
51672
|
/**
|
|
@@ -51683,7 +51679,7 @@ const iSe = {
|
|
|
51683
51679
|
*/
|
|
51684
51680
|
async [tm]({ dispatch: e, commit: t }, { id: r }) {
|
|
51685
51681
|
try {
|
|
51686
|
-
return t(
|
|
51682
|
+
return t(oi, !0), await bY(r), await e(em, {
|
|
51687
51683
|
id: r
|
|
51688
51684
|
}), r;
|
|
51689
51685
|
} catch (n) {
|
|
@@ -51695,7 +51691,7 @@ const iSe = {
|
|
|
51695
51691
|
actionPayload: arguments[1]
|
|
51696
51692
|
}), null;
|
|
51697
51693
|
} finally {
|
|
51698
|
-
t(
|
|
51694
|
+
t(oi, !1);
|
|
51699
51695
|
}
|
|
51700
51696
|
},
|
|
51701
51697
|
/**
|
|
@@ -51874,7 +51870,7 @@ const iSe = {
|
|
|
51874
51870
|
async [Ps]({ commit: e }, { id: t, emit: r = !1, params: n = {} }) {
|
|
51875
51871
|
try {
|
|
51876
51872
|
e(vu, !0);
|
|
51877
|
-
const { data: i } = await
|
|
51873
|
+
const { data: i } = await li.get(t, n);
|
|
51878
51874
|
r && St.trigger("template:watch", i), e(Pk, { data: [i] });
|
|
51879
51875
|
} finally {
|
|
51880
51876
|
e(vu, !1);
|
|
@@ -51889,7 +51885,7 @@ const iSe = {
|
|
|
51889
51885
|
async [xk]({ commit: e }, t = {}) {
|
|
51890
51886
|
try {
|
|
51891
51887
|
e(vu, !0);
|
|
51892
|
-
const { data: r } = await
|
|
51888
|
+
const { data: r } = await li.get(null, t), { items: n } = r;
|
|
51893
51889
|
e(Pk, { data: n });
|
|
51894
51890
|
} finally {
|
|
51895
51891
|
e(vu, !1);
|
|
@@ -51934,7 +51930,7 @@ const iSe = {
|
|
|
51934
51930
|
async [Ok]({ commit: e, dispatch: t }, { body: r, showMessage: n = !0 }) {
|
|
51935
51931
|
try {
|
|
51936
51932
|
e(Zr, !0);
|
|
51937
|
-
const { data: i } = await
|
|
51933
|
+
const { data: i } = await li.post(r), { id: a } = i;
|
|
51938
51934
|
return await t(Ps, { id: a }), n && this.dispatch("application/SHOW_MESSAGE", {
|
|
51939
51935
|
type: "success",
|
|
51940
51936
|
message: ie.t("createdThing", { thing: ie.t("template") })
|
|
@@ -51952,7 +51948,7 @@ const iSe = {
|
|
|
51952
51948
|
*/
|
|
51953
51949
|
async [Sk]({ dispatch: e, commit: t }, { id: r, body: n }) {
|
|
51954
51950
|
try {
|
|
51955
|
-
return t(Zr, !0), await
|
|
51951
|
+
return t(Zr, !0), await li.put(r, n), await e(Ps, { id: r }), pr.value !== "widget" && this.dispatch("application/SHOW_MESSAGE", {
|
|
51956
51952
|
type: "success",
|
|
51957
51953
|
message: ie.t("updatedThing", { thing: ie.t("template") })
|
|
51958
51954
|
}), r;
|
|
@@ -52025,7 +52021,7 @@ const iSe = {
|
|
|
52025
52021
|
*/
|
|
52026
52022
|
async [nm]({ commit: e }, { id: t }) {
|
|
52027
52023
|
try {
|
|
52028
|
-
return e(Zr, !0), await
|
|
52024
|
+
return e(Zr, !0), await li.delete(t), e(WSe, t), pr.value !== "widget" && this.dispatch("application/SHOW_MESSAGE", {
|
|
52029
52025
|
type: "success",
|
|
52030
52026
|
message: ie.t("removedThing", { thing: ie.t("template") }),
|
|
52031
52027
|
actions: {
|
|
@@ -52054,7 +52050,7 @@ const iSe = {
|
|
|
52054
52050
|
*/
|
|
52055
52051
|
async [im]({ commit: e, dispatch: t }, { id: r }) {
|
|
52056
52052
|
try {
|
|
52057
|
-
return e(Zr, !0), await
|
|
52053
|
+
return e(Zr, !0), await li.patch(r), await t(Ps, {
|
|
52058
52054
|
id: r
|
|
52059
52055
|
}), r;
|
|
52060
52056
|
} catch (n) {
|
|
@@ -54428,7 +54424,7 @@ class XOe {
|
|
|
54428
54424
|
const Ms = new XOe({
|
|
54429
54425
|
rootUrl: we.api.baseUrl,
|
|
54430
54426
|
path: we.api.socket.path,
|
|
54431
|
-
logger:
|
|
54427
|
+
logger: Mn,
|
|
54432
54428
|
getTokenFn: () => xe.getItem("token")
|
|
54433
54429
|
}), QOe = (e) => {
|
|
54434
54430
|
Ms.onConnectionChanged((t) => {
|
|
@@ -54579,9 +54575,9 @@ try {
|
|
|
54579
54575
|
const e = eCe({ paths: ["forms"] });
|
|
54580
54576
|
xM.push(e);
|
|
54581
54577
|
} catch (e) {
|
|
54582
|
-
|
|
54578
|
+
Mn.debug(e);
|
|
54583
54579
|
}
|
|
54584
|
-
const
|
|
54580
|
+
const ke = new FP.Store({
|
|
54585
54581
|
modules: {
|
|
54586
54582
|
application: Mye,
|
|
54587
54583
|
companies: ube,
|
|
@@ -54606,7 +54602,7 @@ const Te = new FP.Store({
|
|
|
54606
54602
|
plugins: xM
|
|
54607
54603
|
});
|
|
54608
54604
|
function rCe() {
|
|
54609
|
-
pn.init({ store:
|
|
54605
|
+
pn.init({ store: ke }), yl.init({ store: ke }), pg.init({ showMessage: hy }), ke.handleError = YC, Xte(ke, mi), ke.$router = mi;
|
|
54610
54606
|
}
|
|
54611
54607
|
rCe();
|
|
54612
54608
|
function nCe(e, t = {}) {
|
|
@@ -54636,15 +54632,15 @@ function nCe(e, t = {}) {
|
|
|
54636
54632
|
return [];
|
|
54637
54633
|
const { modals: a } = i;
|
|
54638
54634
|
return a;
|
|
54639
|
-
}, pr.value = "widget", ne.use(qee), ne.use(Zte), ne.directive("click-outside", hee), ne.component(_d.name, _d), ne.component(r_.name, r_), ne.component(i_.name, i_), ne.component(n_.name, n_), ne.component(Jw.name, Jw), we.debug && (ne.config.productionTip = !1, ne.config.devtools = !0, ne.config.performance = !0),
|
|
54635
|
+
}, pr.value = "widget", ne.use(qee), ne.use(Zte), ne.directive("click-outside", hee), ne.component(_d.name, _d), ne.component(r_.name, r_), ne.component(i_.name, i_), ne.component(n_.name, n_), ne.component(Jw.name, Jw), we.debug && (ne.config.productionTip = !1, ne.config.devtools = !0, ne.config.performance = !0), ke.commit("application/SET_SOCKET_ENABLED", ((n = t == null ? void 0 : t.socket) == null ? void 0 : n.enabled) || !1);
|
|
54640
54636
|
const r = new ne({
|
|
54641
54637
|
el: e,
|
|
54642
|
-
router:
|
|
54643
|
-
store:
|
|
54638
|
+
router: mi,
|
|
54639
|
+
store: ke,
|
|
54644
54640
|
i18n: ie,
|
|
54645
54641
|
render: (i) => i(Ege)
|
|
54646
54642
|
});
|
|
54647
|
-
return
|
|
54643
|
+
return mi.beforeEach((i, a, o) => (mi.resolve({ ...i }).href === "/" && Ie.removeAllOverlayViews(), o())), r;
|
|
54648
54644
|
}
|
|
54649
54645
|
class iCe {
|
|
54650
54646
|
constructor() {
|
|
@@ -54680,13 +54676,13 @@ class iCe {
|
|
|
54680
54676
|
});
|
|
54681
54677
|
}
|
|
54682
54678
|
get isUserLoaded() {
|
|
54683
|
-
return
|
|
54679
|
+
return ke.getters["application/isUserLoaded"];
|
|
54684
54680
|
}
|
|
54685
54681
|
get account() {
|
|
54686
|
-
return
|
|
54682
|
+
return ke.getters["application/companyAccount"];
|
|
54687
54683
|
}
|
|
54688
54684
|
reload() {
|
|
54689
|
-
return this.isUserLoaded ?
|
|
54685
|
+
return this.isUserLoaded ? ke.dispatch(Ce.DO_LOAD_CURRENT_COMPANY) : null;
|
|
54690
54686
|
}
|
|
54691
54687
|
get voucherApi() {
|
|
54692
54688
|
return LY;
|
|
@@ -54729,32 +54725,32 @@ class p0 extends aCe {
|
|
|
54729
54725
|
new(...t) {
|
|
54730
54726
|
if (this.storeMap.new === void 0)
|
|
54731
54727
|
throw new Error("No provided NEW action");
|
|
54732
|
-
return
|
|
54728
|
+
return ke.dispatch(this.storeMap.new, ...t);
|
|
54733
54729
|
}
|
|
54734
54730
|
get(t) {
|
|
54735
54731
|
if (this.storeMap.get === void 0)
|
|
54736
54732
|
throw new Error("No provided NEW action");
|
|
54737
54733
|
if (this.storeMap.byId === void 0)
|
|
54738
54734
|
throw new Error("No provided byId getter");
|
|
54739
|
-
return
|
|
54740
|
-
const r =
|
|
54735
|
+
return ke.dispatch(this.storeMap.get, { id: t }).then(() => {
|
|
54736
|
+
const r = ke.getters[this.storeMap.byId](t);
|
|
54741
54737
|
return this._applyInstance(r);
|
|
54742
54738
|
});
|
|
54743
54739
|
}
|
|
54744
54740
|
_create(t) {
|
|
54745
54741
|
if (this.storeMap.create === void 0)
|
|
54746
54742
|
throw new Error("No provided CREATE action");
|
|
54747
|
-
return
|
|
54743
|
+
return ke.dispatch(this.storeMap.create, { body: t });
|
|
54748
54744
|
}
|
|
54749
54745
|
_update(...t) {
|
|
54750
54746
|
if (this.storeMap.update === void 0)
|
|
54751
54747
|
throw new Error("No provided UPDATE action");
|
|
54752
|
-
return
|
|
54748
|
+
return ke.dispatch(this.storeMap.update, ...t);
|
|
54753
54749
|
}
|
|
54754
54750
|
remove(t) {
|
|
54755
54751
|
if (this.storeMap.remove === void 0)
|
|
54756
54752
|
throw new Error("No provided REMOVE action");
|
|
54757
|
-
return
|
|
54753
|
+
return ke.dispatch(this.storeMap.remove, { id: t });
|
|
54758
54754
|
}
|
|
54759
54755
|
on(t, r) {
|
|
54760
54756
|
return St.on(t, r);
|
|
@@ -54768,7 +54764,7 @@ const oCe = () => [
|
|
|
54768
54764
|
defaultAnswerMethod: "data.defaultAnswerMethod"
|
|
54769
54765
|
},
|
|
54770
54766
|
parentId: "0",
|
|
54771
|
-
nodeId:
|
|
54767
|
+
nodeId: Vn()
|
|
54772
54768
|
}
|
|
54773
54769
|
], sCe = (e = null) => {
|
|
54774
54770
|
const [t] = (e == null ? void 0 : e.signOptions) || ["signature"];
|
|
@@ -55292,7 +55288,7 @@ setContent(inputSlider);
|
|
|
55292
55288
|
custom: `data.${lo}-${e}`
|
|
55293
55289
|
},
|
|
55294
55290
|
parentId: "0",
|
|
55295
|
-
nodeId:
|
|
55291
|
+
nodeId: Vn()
|
|
55296
55292
|
}
|
|
55297
55293
|
], hCe = (e) => [
|
|
55298
55294
|
{
|
|
@@ -55306,7 +55302,7 @@ setContent(inputSlider);
|
|
|
55306
55302
|
includeMockData: e = !1,
|
|
55307
55303
|
contentData: t = null
|
|
55308
55304
|
} = {}) => {
|
|
55309
|
-
const r =
|
|
55305
|
+
const r = Vn();
|
|
55310
55306
|
let n = null;
|
|
55311
55307
|
return typeof t == "function" ? n = t(r) : e && (n = mCe(r)), {
|
|
55312
55308
|
readView: fCe(r),
|
|
@@ -55343,7 +55339,7 @@ const vCe = {
|
|
|
55343
55339
|
[`data.${lo}-${r}`]: t.data
|
|
55344
55340
|
})
|
|
55345
55341
|
})), yCe = (e) => {
|
|
55346
|
-
const t = Array(2).fill().map(() =>
|
|
55342
|
+
const t = Array(2).fill().map(() => Vn());
|
|
55347
55343
|
return [
|
|
55348
55344
|
{
|
|
55349
55345
|
itemId: "sectionPdf",
|
|
@@ -55372,7 +55368,7 @@ const vCe = {
|
|
|
55372
55368
|
default: null
|
|
55373
55369
|
}
|
|
55374
55370
|
], wCe = ({ contentData: e = null } = {}) => {
|
|
55375
|
-
const t =
|
|
55371
|
+
const t = Vn();
|
|
55376
55372
|
let r = null;
|
|
55377
55373
|
return typeof e == "function" && (r = e(t)), {
|
|
55378
55374
|
readView: yCe(t),
|
|
@@ -56654,7 +56650,7 @@ function IAe(e, t, r) {
|
|
|
56654
56650
|
const vv = {
|
|
56655
56651
|
assertOptions: IAe,
|
|
56656
56652
|
validators: g0
|
|
56657
|
-
},
|
|
56653
|
+
}, si = vv.validators;
|
|
56658
56654
|
class ta {
|
|
56659
56655
|
constructor(t) {
|
|
56660
56656
|
this.defaults = t, this.interceptors = {
|
|
@@ -56674,14 +56670,14 @@ class ta {
|
|
|
56674
56670
|
typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = So(this.defaults, r);
|
|
56675
56671
|
const { transitional: n, paramsSerializer: i, headers: a } = r;
|
|
56676
56672
|
n !== void 0 && vv.assertOptions(n, {
|
|
56677
|
-
silentJSONParsing:
|
|
56678
|
-
forcedJSONParsing:
|
|
56679
|
-
clarifyTimeoutError:
|
|
56673
|
+
silentJSONParsing: si.transitional(si.boolean),
|
|
56674
|
+
forcedJSONParsing: si.transitional(si.boolean),
|
|
56675
|
+
clarifyTimeoutError: si.transitional(si.boolean)
|
|
56680
56676
|
}, !1), i != null && (te.isFunction(i) ? r.paramsSerializer = {
|
|
56681
56677
|
serialize: i
|
|
56682
56678
|
} : vv.assertOptions(i, {
|
|
56683
|
-
encode:
|
|
56684
|
-
serialize:
|
|
56679
|
+
encode: si.function,
|
|
56680
|
+
serialize: si.function
|
|
56685
56681
|
}, !0)), r.method = (r.method || this.defaults.method || "get").toLowerCase();
|
|
56686
56682
|
let o = a && te.merge(
|
|
56687
56683
|
a.common,
|
|
@@ -57047,17 +57043,17 @@ const {
|
|
|
57047
57043
|
throw new Error(
|
|
57048
57044
|
`Invalid sign option provided, valid options: ${r.join(", ")}`
|
|
57049
57045
|
);
|
|
57050
|
-
|
|
57046
|
+
ke.dispatch(il, {
|
|
57051
57047
|
key: co("data.signOptions"),
|
|
57052
57048
|
value: t
|
|
57053
57049
|
});
|
|
57054
57050
|
const n = (a = (i = e == null ? void 0 : e.data) == null ? void 0 : i.defaultAnswerMethod) == null ? void 0 : a.accept;
|
|
57055
|
-
n && !e.signOptions.includes(n) &&
|
|
57051
|
+
n && !e.signOptions.includes(n) && ke.dispatch(il, {
|
|
57056
57052
|
key: co("data.defaultAnswerMethod.accept"),
|
|
57057
57053
|
value: t[0]
|
|
57058
57054
|
}), (o = e == null ? void 0 : e.clients) != null && o.length && e.clients.forEach((s, l) => {
|
|
57059
57055
|
const c = s.answerMethod.accept;
|
|
57060
|
-
c && !t.includes(c) &&
|
|
57056
|
+
c && !t.includes(c) && ke.dispatch(il, {
|
|
57061
57057
|
key: co(`clients[${l}].answerMethod.accept`),
|
|
57062
57058
|
value: t[0]
|
|
57063
57059
|
});
|
|
@@ -57226,7 +57222,7 @@ let YM = class extends p0 {
|
|
|
57226
57222
|
});
|
|
57227
57223
|
r && (this._isForm = n || !1, this._document = r, this._unregisterListeners = {}, this._builder = new UAe({
|
|
57228
57224
|
document: this._document,
|
|
57229
|
-
setter: ({ key: i, value: a }) =>
|
|
57225
|
+
setter: ({ key: i, value: a }) => ke.dispatch(il, { key: co(i), value: a })
|
|
57230
57226
|
})), this._beforeSave = null, this._beforeSend = null, this._beforeUpdateForm = null;
|
|
57231
57227
|
}
|
|
57232
57228
|
get storeMap() {
|
|
@@ -57242,7 +57238,7 @@ let YM = class extends p0 {
|
|
|
57242
57238
|
};
|
|
57243
57239
|
}
|
|
57244
57240
|
get isUserLoaded() {
|
|
57245
|
-
return
|
|
57241
|
+
return ke.getters["application/isUserLoaded"];
|
|
57246
57242
|
}
|
|
57247
57243
|
get hasToken() {
|
|
57248
57244
|
return !!xe.getItem("token");
|
|
@@ -57259,7 +57255,7 @@ let YM = class extends p0 {
|
|
|
57259
57255
|
if (!this._document)
|
|
57260
57256
|
return;
|
|
57261
57257
|
let n = (i = this._document) == null ? void 0 : i._doc;
|
|
57262
|
-
return this._isForm && (n =
|
|
57258
|
+
return this._isForm && (n = ke.getters["forms/document"]), r === "" ? n : re(n, r);
|
|
57263
57259
|
}
|
|
57264
57260
|
setProperty(r, n, i = { runHook: !0 }) {
|
|
57265
57261
|
if (!this._document)
|
|
@@ -57273,10 +57269,10 @@ let YM = class extends p0 {
|
|
|
57273
57269
|
const o = this.beforeUpdateForm(r, n);
|
|
57274
57270
|
o !== void 0 && (a = o);
|
|
57275
57271
|
}
|
|
57276
|
-
return r === "" ?
|
|
57272
|
+
return r === "" ? ke.commit("forms/SET_FORM", {
|
|
57277
57273
|
key: "document2",
|
|
57278
57274
|
formData: n
|
|
57279
|
-
}) :
|
|
57275
|
+
}) : ke.dispatch(il, {
|
|
57280
57276
|
key: co(r),
|
|
57281
57277
|
value: a
|
|
57282
57278
|
}).then(() => this._emitFormUpdate({ key: r, value: a }));
|
|
@@ -57287,7 +57283,7 @@ let YM = class extends p0 {
|
|
|
57287
57283
|
this.setProperty(r, n, { runHook: !1 });
|
|
57288
57284
|
return;
|
|
57289
57285
|
}
|
|
57290
|
-
|
|
57286
|
+
ke.dispatch(zAe, co(r)).then(() => this._emitFormUpdate({ key: r }));
|
|
57291
57287
|
}
|
|
57292
57288
|
_emitFormUpdate({ key: r, value: n }) {
|
|
57293
57289
|
St.trigger("document:formUpdate", {
|
|
@@ -57377,13 +57373,13 @@ let YM = class extends p0 {
|
|
|
57377
57373
|
...r,
|
|
57378
57374
|
...!r && { __isNew: !0 }
|
|
57379
57375
|
}).then(() => {
|
|
57380
|
-
const a =
|
|
57376
|
+
const a = ke.getters["forms/document"];
|
|
57381
57377
|
r != null && r.signOptions && JAe(a, r.signOptions);
|
|
57382
57378
|
const o = new nc({
|
|
57383
57379
|
data: a,
|
|
57384
|
-
can:
|
|
57380
|
+
can: ke.getters["application/can"],
|
|
57385
57381
|
// TODO could cleanup
|
|
57386
|
-
getters:
|
|
57382
|
+
getters: ke.getters
|
|
57387
57383
|
});
|
|
57388
57384
|
return this._applyInstance(o, { isForm: !0 });
|
|
57389
57385
|
});
|
|
@@ -57398,17 +57394,17 @@ let YM = class extends p0 {
|
|
|
57398
57394
|
}).then(
|
|
57399
57395
|
(n) => {
|
|
57400
57396
|
var i;
|
|
57401
|
-
return (((i = n == null ? void 0 : n.data) == null ? void 0 : i.items) || []).map((a) =>
|
|
57397
|
+
return (((i = n == null ? void 0 : n.data) == null ? void 0 : i.items) || []).map((a) => ke.getters["documents2/byData"]({ data: a })).map((a) => this._applyInstance(a));
|
|
57402
57398
|
}
|
|
57403
57399
|
);
|
|
57404
57400
|
}
|
|
57405
57401
|
async save() {
|
|
57402
|
+
var n;
|
|
57406
57403
|
if (this.checkAuth(), !this._document)
|
|
57407
57404
|
throw new Error("You must provide a document instance");
|
|
57408
|
-
|
|
57409
|
-
|
|
57410
|
-
|
|
57411
|
-
return r._id ? this._update({ id: r._id, body: r }) : this._create(r);
|
|
57405
|
+
this._beforeSave && await this._beforeSave(this._document);
|
|
57406
|
+
const r = await ke.dispatch(tS);
|
|
57407
|
+
return (n = Ie.openViews) != null && n.find((i) => i.view === "form") || await ke.dispatch(BAe), r;
|
|
57412
57408
|
}
|
|
57413
57409
|
remove() {
|
|
57414
57410
|
if (this.checkAuth(), !this._document)
|
|
@@ -57469,7 +57465,7 @@ let YM = class extends p0 {
|
|
|
57469
57465
|
const r = ((n = this._document) == null ? void 0 : n._id) || ((a = (i = this._document) == null ? void 0 : i._doc) == null ? void 0 : a._id);
|
|
57470
57466
|
if (!r)
|
|
57471
57467
|
throw new Error("You must provide an existing document");
|
|
57472
|
-
return this._beforeSend && await this._beforeSend(), await
|
|
57468
|
+
return this._beforeSend && await this._beforeSend(this._document), await ke.dispatch(YAe, { id: r }), r;
|
|
57473
57469
|
}
|
|
57474
57470
|
addBlock() {
|
|
57475
57471
|
if (!this._builder)
|
|
@@ -57825,7 +57821,7 @@ let o5e = class extends p0 {
|
|
|
57825
57821
|
viewOpts: {
|
|
57826
57822
|
document: this._document,
|
|
57827
57823
|
key: this._document.id,
|
|
57828
|
-
setFormValue: ({ key: n, value: i }) =>
|
|
57824
|
+
setFormValue: ({ key: n, value: i }) => ke.dispatch(uS, { key: n, value: i }),
|
|
57829
57825
|
...r
|
|
57830
57826
|
}
|
|
57831
57827
|
});
|
|
@@ -57847,7 +57843,7 @@ let o5e = class extends p0 {
|
|
|
57847
57843
|
...r,
|
|
57848
57844
|
props: {
|
|
57849
57845
|
document: this._document,
|
|
57850
|
-
setFormValue: ({ key: n, value: i }) =>
|
|
57846
|
+
setFormValue: ({ key: n, value: i }) => ke.dispatch(uS, {
|
|
57851
57847
|
key: n,
|
|
57852
57848
|
value: i
|
|
57853
57849
|
}),
|
|
@@ -57965,7 +57961,7 @@ let o5e = class extends p0 {
|
|
|
57965
57961
|
},
|
|
57966
57962
|
on: Ie.on
|
|
57967
57963
|
});
|
|
57968
|
-
r && (this._document = r, this._unregisterListeners = {}),
|
|
57964
|
+
r && (this._document = r, this._unregisterListeners = {}), ke.state.publicDocuments || ke.registerModule("publicDocuments", i5e);
|
|
57969
57965
|
}
|
|
57970
57966
|
get storeMap() {
|
|
57971
57967
|
return {
|
|
@@ -58029,7 +58025,7 @@ function l5e(e) {
|
|
|
58029
58025
|
return o && (i.docExternalReferences = { [o]: "contains" }), i;
|
|
58030
58026
|
}
|
|
58031
58027
|
function c5e() {
|
|
58032
|
-
return
|
|
58028
|
+
return ke.getters["application/isUserLoaded"];
|
|
58033
58029
|
}
|
|
58034
58030
|
function u5e() {
|
|
58035
58031
|
return !!xe.getItem("token");
|
|
@@ -58081,18 +58077,18 @@ class f5e {
|
|
|
58081
58077
|
this._sort = { ...dS, ...t }, xe.setItem("projects-sort", JSON.stringify(this._sort));
|
|
58082
58078
|
}
|
|
58083
58079
|
get isFetching() {
|
|
58084
|
-
return
|
|
58080
|
+
return ke.getters["projects/isFetching"];
|
|
58085
58081
|
}
|
|
58086
58082
|
get canFetchMore() {
|
|
58087
|
-
return
|
|
58083
|
+
return ke.getters["projects/canFetchMore"];
|
|
58088
58084
|
}
|
|
58089
58085
|
get count() {
|
|
58090
|
-
return
|
|
58086
|
+
return ke.getters["projects/count"];
|
|
58091
58087
|
}
|
|
58092
58088
|
async fetch(t = {}) {
|
|
58093
58089
|
d5e();
|
|
58094
58090
|
const { field: r, order: n } = this.sort;
|
|
58095
|
-
return await
|
|
58091
|
+
return await ke.dispatch(Ce.LOAD_PROJECTS, {
|
|
58096
58092
|
start: 0,
|
|
58097
58093
|
end: 20,
|
|
58098
58094
|
order: n,
|
|
@@ -58102,10 +58098,10 @@ class f5e {
|
|
|
58102
58098
|
}), this.list;
|
|
58103
58099
|
}
|
|
58104
58100
|
async clear() {
|
|
58105
|
-
return await
|
|
58101
|
+
return await ke.dispatch(Ce.CLEAR_PROJECTS), this.list;
|
|
58106
58102
|
}
|
|
58107
58103
|
get list() {
|
|
58108
|
-
const t =
|
|
58104
|
+
const t = ke.getters["projects/projects"] || [], { field: r, order: n } = this.sort;
|
|
58109
58105
|
let i = t.map((s) => {
|
|
58110
58106
|
var l, c, u;
|
|
58111
58107
|
return {
|
|
@@ -58135,7 +58131,7 @@ class f5e {
|
|
|
58135
58131
|
}
|
|
58136
58132
|
class h5e {
|
|
58137
58133
|
static checkAuth() {
|
|
58138
|
-
const t = !!xe.getItem("token"), r =
|
|
58134
|
+
const t = !!xe.getItem("token"), r = ke.getters["application/isUserLoaded"];
|
|
58139
58135
|
if (!pn.checkFeature("stats"))
|
|
58140
58136
|
throw new Error(
|
|
58141
58137
|
'Unauthorized, feature "stats" is not included in this account'
|
|
@@ -58212,7 +58208,7 @@ class m5e extends p0 {
|
|
|
58212
58208
|
};
|
|
58213
58209
|
}
|
|
58214
58210
|
checkAuth() {
|
|
58215
|
-
const r = !!xe.getItem("token"), n =
|
|
58211
|
+
const r = !!xe.getItem("token"), n = ke.getters["application/isUserLoaded"];
|
|
58216
58212
|
if (!r)
|
|
58217
58213
|
throw new Error("No authorization token set");
|
|
58218
58214
|
if (!n)
|
|
@@ -58231,7 +58227,7 @@ class m5e extends p0 {
|
|
|
58231
58227
|
return this.checkAuth(), super.get(r);
|
|
58232
58228
|
}
|
|
58233
58229
|
find(r = {}) {
|
|
58234
|
-
return this.checkAuth(),
|
|
58230
|
+
return this.checkAuth(), li.get(null, { ...r }).then(
|
|
58235
58231
|
(n) => {
|
|
58236
58232
|
var i;
|
|
58237
58233
|
return (((i = n == null ? void 0 : n.data) == null ? void 0 : i.items) || []).map((a) => new nn(a)).map((a) => this._applyInstance(a));
|
|
@@ -58249,7 +58245,7 @@ class m5e extends p0 {
|
|
|
58249
58245
|
throw new Error("You must provide a template instance");
|
|
58250
58246
|
if (!this._template.id)
|
|
58251
58247
|
throw new Error("You must provide an existing template");
|
|
58252
|
-
return
|
|
58248
|
+
return ke.dispatch(this.storeMap.remove, { template: this._template });
|
|
58253
58249
|
}
|
|
58254
58250
|
static async fetchGallery(r = {}) {
|
|
58255
58251
|
this.instance().checkAuth();
|
|
@@ -58409,7 +58405,7 @@ export {
|
|
|
58409
58405
|
Fb as aD,
|
|
58410
58406
|
qe as aE,
|
|
58411
58407
|
tG as aF,
|
|
58412
|
-
|
|
58408
|
+
Mn as aG,
|
|
58413
58409
|
Q5e as aH,
|
|
58414
58410
|
U5e as aI,
|
|
58415
58411
|
Ys as aJ,
|
|
@@ -58434,7 +58430,7 @@ export {
|
|
|
58434
58430
|
l0e as ab,
|
|
58435
58431
|
k3 as ac,
|
|
58436
58432
|
vt as ad,
|
|
58437
|
-
|
|
58433
|
+
Vn as ae,
|
|
58438
58434
|
vn as af,
|
|
58439
58435
|
$b as ag,
|
|
58440
58436
|
N5e as ah,
|