@cling-se/widget 0.18.4 → 0.18.5
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/CHANGELOG.md +6 -0
- package/dist/{AddClientCallout-BfK8UoOx.js → AddClientCallout-BYMQmWZp.js} +4 -4
- package/dist/{AnswerModal-dIGNoQWN.js → AnswerModal-C_8g8qUj.js} +3 -3
- package/dist/{AttachmentItem-Bs_cfwqY.js → AttachmentItem-D0ORFnks.js} +4 -4
- package/dist/{BaseUpload-7bzdmPHT.js → BaseUpload-ZojEX2Ry.js} +2 -2
- package/dist/{BlockMedia-DsN4LZEA.js → BlockMedia-BiFviX2D.js} +1 -1
- package/dist/{CCallout-Bc_cKNdQ.js → CCallout-BaJMhQ2L.js} +1 -1
- package/dist/{CCurrencyDropdown-wFajPaWy.js → CCurrencyDropdown-DPvuyrsE.js} +3 -3
- package/dist/{CDropdownItem-CD0jH1oG.js → CDropdownItem-CP6bqnp5.js} +2 -2
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-Cpfvu3Rl.js → CFormField.vue_vue_type_script_setup_true_lang-BZ5UmYQQ.js} +2 -2
- package/dist/{CPhoneFormat-DAe_I5l0.js → CPhoneFormat-D5vlOvO2.js} +1 -1
- package/dist/{CPhoneInput-C_mlQt-g.js → CPhoneInput-Zohwl4FE.js} +5 -5
- package/dist/{CPriceInput-BtkukdME.js → CPriceInput-BTrU21IR.js} +2 -2
- package/dist/{CSelect-Gc4ULibK.js → CSelect-BnCH1pkJ.js} +1 -1
- package/dist/{CSkeleton.vue_vue_type_script_setup_true_lang-55Fapizm.js → CSkeleton.vue_vue_type_script_setup_true_lang-DAdlNUZU.js} +1 -1
- package/dist/{ClientAutocomplete-Bw7LpF-0.js → ClientAutocomplete-CkcAjgRN.js} +3 -3
- package/dist/{ClientModal-Dzu9xMkE.js → ClientModal-DfitE8qG.js} +8 -8
- package/dist/{ColorPicker-D5DPMF4o.js → ColorPicker-Dv1V8WKz.js} +1 -1
- package/dist/{CompanyModal-DUyYKizz.js → CompanyModal-i-LYu8mk.js} +7 -7
- package/dist/{ContentWrapper-BeBmjlKx.js → ContentWrapper-DpHHu_sY.js} +6 -6
- package/dist/{CoverBlockSettings-DtcZc3Nc.js → CoverBlockSettings-gzcmFy3P.js} +7 -7
- package/dist/{DocAnswer-Bi7FoJZL.js → DocAnswer-Bt6Nau_Q.js} +2 -2
- package/dist/{DocDetails-66yY4ZwB.js → DocDetails-CqLhz_EH.js} +4 -4
- package/dist/{DocForm-JI34e3zh.js → DocForm-CLWMOhiD.js} +24 -24
- package/dist/{DocFormSend-Dr_193UR.js → DocFormSend-5x6Vt1pn.js} +2 -2
- package/dist/{DocLinks-BMvYvFbo.js → DocLinks-OcVT6KZq.js} +2 -2
- package/dist/{DocModalBase-DIyeBP8G.js → DocModalBase-BJtEcHwB.js} +1 -1
- package/dist/{DocPrint-CQiLdKxC.js → DocPrint-DwoRKEMN.js} +1 -1
- package/dist/{DocReceipt-DW7EZES5.js → DocReceipt-bl6EjC-h.js} +2 -2
- package/dist/{DocSendReminder-CHMyc_PR.js → DocSendReminder-f7t0s4cj.js} +1 -1
- package/dist/{DocTextEditor-DVr1u5AP.js → DocTextEditor-CH949JrU.js} +8 -8
- package/dist/{DocTimeline-D5J_L2-O.js → DocTimeline-DV1xt84y.js} +2 -2
- package/dist/{DocumentClient-DRdB79Zh.js → DocumentClient-3MsgS-SQ.js} +5 -5
- package/dist/{DocumentLayout-BrAn3M2c.js → DocumentLayout-CJDtoapK.js} +5 -5
- package/dist/{DocumentLogotype-DwGFIflf.js → DocumentLogotype-B3cr4N1H.js} +4 -4
- package/dist/{DocumentVoided-Cisut7AA.js → DocumentVoided-BtNRqX6A.js} +1 -1
- package/dist/{EmbedInput-Dfc66iQJ.js → EmbedInput-DlTYr3tP.js} +3 -3
- package/dist/{EmbedSettings-CV_CtjgT.js → EmbedSettings-D8bQVms5.js} +3 -3
- package/dist/{ErrorCallout-DnOdDtWT.js → ErrorCallout-DGRmrz9-.js} +1 -1
- package/dist/{FilePreviewModal-wOGHWmkX.js → FilePreviewModal-fdiWARR8.js} +2 -2
- package/dist/{Flag-BRtvTLRH.js → Flag-BinwubO6.js} +1 -1
- package/dist/{HeaderSettings-CxSCFOEV.js → HeaderSettings-Eu1aXPeU.js} +9 -9
- package/dist/{ImageSelectModal-OUSw1c-o.js → ImageSelectModal-BD0TsEqz.js} +3 -3
- package/dist/{ImageUploadWrapper-D5S9bOcy.js → ImageUploadWrapper-BJ8gVTxd.js} +2 -2
- package/dist/{Index-COBY4AgY.js → Index--TbMy3aO.js} +2 -2
- package/dist/{Index-B3pq84AS.js → Index-9pUuJS_x.js} +5 -5
- package/dist/{Index-DZXf966e.js → Index-AFDPOJhK.js} +4 -4
- package/dist/{Index-oDHoBNr8.js → Index-BjuKDrZJ.js} +14 -14
- package/dist/{Index-BAHo7Lxt.js → Index-BotbL0PO.js} +5 -5
- package/dist/{Index-u776srKO.js → Index-Byuqi5H7.js} +5 -5
- package/dist/{Index-DMtnSpLP.js → Index-CEYS_1au.js} +3 -3
- package/dist/{Index-Bdokoyav.js → Index-CE_fAP4t.js} +3 -3
- package/dist/{Index-CupiwKnf.js → Index-CIxgCuml.js} +4 -4
- package/dist/{Index-DeZO893y.js → Index-CO_FqsZj.js} +8 -8
- package/dist/Index-CPCSC5JW.js +4 -0
- package/dist/{Index-CrKQByZ-.js → Index-CWJ6hYXs.js} +4 -4
- package/dist/{Index-v064xpO2.js → Index-CWkEoa31.js} +4 -4
- package/dist/{Index-OnRehEMe.js → Index-CYiR7cwn.js} +6 -6
- package/dist/{Index-DK-b3X5J.js → Index-CoH1ZTUN.js} +4 -4
- package/dist/{Index-BF9cEt8P.js → Index-CqntYtbF.js} +11 -11
- package/dist/{Index-Cqb3ruqb.js → Index-CrPxAq9V.js} +3 -3
- package/dist/{Index-DYbFoFJo.js → Index-Cty2ItN8.js} +2 -2
- package/dist/{Index-CrJFElkQ.js → Index-CzQtrEnq.js} +1 -1
- package/dist/{Index-D6iC2Z6I.js → Index-CzcZqUNE.js} +4 -4
- package/dist/{Index-NUWn1IZz.js → Index-Czxy7ohm.js} +2 -2
- package/dist/{Index-U9Rw-qx2.js → Index-D-7p8qee.js} +1 -1
- package/dist/{Index-BsuLi8E-.js → Index-D2Usi5h3.js} +8 -8
- package/dist/{Index-CBAtGhzQ.js → Index-DF6QYENr.js} +1 -1
- package/dist/{Index-Bshd0FCH.js → Index-DJHwoXTX.js} +4 -4
- package/dist/{Index-BuR0Qogl.js → Index-DfjDBtwD.js} +4 -4
- package/dist/{Index-DTKb41xd.js → Index-DxQHED-V.js} +5 -5
- package/dist/{Index-g_cVfmSr.js → Index-PIna2Bzd.js} +2 -2
- package/dist/{Index-D251WqWh.js → Index-Qb_9D3ML.js} +5 -5
- package/dist/{Index-DmWKZJDK.js → Index-QlE3fU69.js} +3 -3
- package/dist/{Index-Cf7IHqNX.js → Index-U05VMq7g.js} +7 -7
- package/dist/{Index-BQ_llowu.js → Index-cwvbKD8n.js} +8 -8
- package/dist/{Index-D6gzeI7R.js → Index-okktPCTd.js} +6 -6
- package/dist/{Index-BfOtNpzi.js → Index-rDDbKIJd.js} +2 -2
- package/dist/{Index.vue_vue_type_script_lang-BH6lylZL.js → Index.vue_vue_type_script_lang-ChQ8naKI.js} +2 -2
- package/dist/{InputToggleRow-U_ELB3dL.js → InputToggleRow-KEYeox9P.js} +1 -1
- package/dist/{ManualPopover-DTkg0Mwz.js → ManualPopover-CAu52OTt.js} +1 -1
- package/dist/{MediaWrapper-DG3HDeox.js → MediaWrapper-Cx2RfGSd.js} +3 -3
- package/dist/{NotBindingText-BcrdKd9F.js → NotBindingText-Bz0n5PZI.js} +2 -2
- package/dist/{PackageGroup-B3eCkS3a.js → PackageGroup-CGHxlQiS.js} +5 -5
- package/dist/{PdfTerms-BHfChwQO.js → PdfTerms-C-2x2IZd.js} +2 -2
- package/dist/{PdfViewer-BRJlW1zQ.js → PdfViewer-B23LTvPE.js} +3 -3
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-CGLpbWcM.js → PlainHtml.vue_vue_type_script_setup_true_lang-CBAvBJNK.js} +1 -1
- package/dist/{PriceHeader-Cskv20wf.js → PriceHeader-D3PGDtUi.js} +7 -7
- package/dist/{SearchApi-z82q8bfp.js → SearchApi-prhCJVK3.js} +1 -1
- package/dist/{SendForm-Cdpc2uhV.js → SendForm-CIhPZ5z3.js} +8 -8
- package/dist/{Setup-D08SynbE.js → Setup-DY-gV9Cy.js} +1 -1
- package/dist/{SmartList-BZVKcRgK.js → SmartList-BDX2T8o0.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-BnbbgIqR.js → Sortable.vue_vue_type_script_setup_true_lang-CuTNyHOv.js} +1 -1
- package/dist/{TermsSettings-CiYK6R2O.js → TermsSettings-Bz1PEGKA.js} +5 -5
- package/dist/{ThemeColorRow-CCAjrFpM.js → ThemeColorRow-DpO56wzV.js} +3 -3
- package/dist/{ToggleBinding-CHXDvfSf.js → ToggleBinding-CveFWblF.js} +4 -4
- package/dist/{UploadModal-q9tPAFnb.js → UploadModal-ChFi-bBc.js} +2 -2
- package/dist/{VideoPlayerInput-D4BFppB-.js → VideoPlayerInput-CA2ixlSY.js} +4 -4
- package/dist/{VideoPlayerSettings-B36WpvXO.js → VideoPlayerSettings-C2xjnF65.js} +2 -2
- package/dist/{VideoSelectModal-qhgDMVrB.js → VideoSelectModal-BWgmmtCv.js} +3 -3
- package/dist/{focusDrawerMixin-BsTK22aL.js → focusDrawerMixin-BI9XvfuM.js} +1 -1
- package/dist/{formDrawerState-Bj2NZU3o.js → formDrawerState-CFo4v6dk.js} +1 -1
- package/dist/{helpers-BW47ugKh.js → helpers-DMpHR2Xx.js} +1 -1
- package/dist/{index-3Oxn7gPz.js → index-BpJzlFbE.js} +1 -1
- package/dist/{index-DP9UXq_D.js → index-C4BkFnz7.js} +1 -1
- package/dist/{index-s94_KwQ8.js → index-CqJlfCjV.js} +8 -8
- package/dist/{index-DghOJYsW.js → index-DVSNVZCs.js} +1 -1
- package/dist/{index-CHUJmLfA.js → index-Dj5sX9CL.js} +3 -3
- package/dist/{index-BS2cT45y.js → index-S00UgIDd.js} +1 -1
- package/dist/{index-BjGWTU07.js → index-v0g8Qkjd.js} +6 -6
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +35 -35
- package/dist/{main-Da02iEd7.js → main-cWw2L_2S.js} +263 -270
- package/dist/{mapFormMixin-ChKYS6jh.js → mapFormMixin-C9uccgMR.js} +2 -2
- package/dist/{omit-NbTZo4oS.js → omit-CnuVPRE1.js} +1 -1
- package/dist/{publicSenderState-CMdNP4mr.js → publicSenderState-B2goZZ4M.js} +1 -1
- package/dist/{splitpanes-4U6482xR.js → splitpanes-DzQ8kZpM.js} +1 -1
- package/dist/{template-CgONtXvh.js → template-DVuenYg0.js} +1 -1
- package/dist/{tippy.esm-BKjV1yQ1.js → tippy.esm-BnlajIVC.js} +5 -5
- package/dist/{useTermsModal-PuexIhRE.js → useTermsModal-DU9eLR6O.js} +4 -4
- package/dist/{utils-DdFHLfO9.js → utils-gSRvP4de.js} +1 -1
- package/dist/{validation-S3d2E_7k.js → validation-Bu0vs1g5.js} +2 -2
- package/dist/widget.css +1 -1
- package/package.json +1 -2
- package/dist/Index-CLn_onQM.js +0 -4
|
@@ -12519,10 +12519,10 @@ function qO(t, e) {
|
|
|
12519
12519
|
nextSibling: p,
|
|
12520
12520
|
setScopeId: h = Lr,
|
|
12521
12521
|
insertStaticContent: f
|
|
12522
|
-
} = t, m = (P, N, F, X = null, H = null, Q = null, oe = void 0, ae = null,
|
|
12522
|
+
} = t, m = (P, N, F, X = null, H = null, Q = null, oe = void 0, ae = null, te = !!N.dynamicChildren) => {
|
|
12523
12523
|
if (P === N)
|
|
12524
12524
|
return;
|
|
12525
|
-
P && !nn(P, N) && (X = K(P), mt(P, H, Q, !0), P = null), N.patchFlag === -2 && (
|
|
12525
|
+
P && !nn(P, N) && (X = K(P), mt(P, H, Q, !0), P = null), N.patchFlag === -2 && (te = !1, N.dynamicChildren = null);
|
|
12526
12526
|
const { type: Z, ref: pe, shapeFlag: ce } = N;
|
|
12527
12527
|
switch (Z) {
|
|
12528
12528
|
case qi:
|
|
@@ -12544,7 +12544,7 @@ function qO(t, e) {
|
|
|
12544
12544
|
Q,
|
|
12545
12545
|
oe,
|
|
12546
12546
|
ae,
|
|
12547
|
-
|
|
12547
|
+
te
|
|
12548
12548
|
);
|
|
12549
12549
|
break;
|
|
12550
12550
|
default:
|
|
@@ -12557,7 +12557,7 @@ function qO(t, e) {
|
|
|
12557
12557
|
Q,
|
|
12558
12558
|
oe,
|
|
12559
12559
|
ae,
|
|
12560
|
-
|
|
12560
|
+
te
|
|
12561
12561
|
) : ce & 6 ? L(
|
|
12562
12562
|
P,
|
|
12563
12563
|
N,
|
|
@@ -12567,7 +12567,7 @@ function qO(t, e) {
|
|
|
12567
12567
|
Q,
|
|
12568
12568
|
oe,
|
|
12569
12569
|
ae,
|
|
12570
|
-
|
|
12570
|
+
te
|
|
12571
12571
|
) : (ce & 64 || ce & 128) && Z.process(
|
|
12572
12572
|
P,
|
|
12573
12573
|
N,
|
|
@@ -12577,7 +12577,7 @@ function qO(t, e) {
|
|
|
12577
12577
|
Q,
|
|
12578
12578
|
oe,
|
|
12579
12579
|
ae,
|
|
12580
|
-
|
|
12580
|
+
te,
|
|
12581
12581
|
ge
|
|
12582
12582
|
);
|
|
12583
12583
|
}
|
|
@@ -12618,7 +12618,7 @@ function qO(t, e) {
|
|
|
12618
12618
|
for (; P && P !== N; )
|
|
12619
12619
|
F = p(P), i(P), P = F;
|
|
12620
12620
|
i(N);
|
|
12621
|
-
}, x = (P, N, F, X, H, Q, oe, ae,
|
|
12621
|
+
}, x = (P, N, F, X, H, Q, oe, ae, te) => {
|
|
12622
12622
|
N.type === "svg" ? oe = "svg" : N.type === "math" && (oe = "mathml"), P == null ? T(
|
|
12623
12623
|
N,
|
|
12624
12624
|
F,
|
|
@@ -12627,7 +12627,7 @@ function qO(t, e) {
|
|
|
12627
12627
|
Q,
|
|
12628
12628
|
oe,
|
|
12629
12629
|
ae,
|
|
12630
|
-
|
|
12630
|
+
te
|
|
12631
12631
|
) : S(
|
|
12632
12632
|
P,
|
|
12633
12633
|
N,
|
|
@@ -12635,34 +12635,34 @@ function qO(t, e) {
|
|
|
12635
12635
|
Q,
|
|
12636
12636
|
oe,
|
|
12637
12637
|
ae,
|
|
12638
|
-
|
|
12638
|
+
te
|
|
12639
12639
|
);
|
|
12640
12640
|
}, T = (P, N, F, X, H, Q, oe, ae) => {
|
|
12641
|
-
let
|
|
12641
|
+
let te, Z;
|
|
12642
12642
|
const { props: pe, shapeFlag: ce, transition: fe, dirs: be } = P;
|
|
12643
|
-
if (
|
|
12643
|
+
if (te = P.el = a(
|
|
12644
12644
|
P.type,
|
|
12645
12645
|
Q,
|
|
12646
12646
|
pe && pe.is,
|
|
12647
12647
|
pe
|
|
12648
|
-
), ce & 8 ? u(
|
|
12648
|
+
), ce & 8 ? u(te, P.children) : ce & 16 && E(
|
|
12649
12649
|
P.children,
|
|
12650
|
-
|
|
12650
|
+
te,
|
|
12651
12651
|
null,
|
|
12652
12652
|
X,
|
|
12653
12653
|
H,
|
|
12654
12654
|
Fp(P, Q),
|
|
12655
12655
|
oe,
|
|
12656
12656
|
ae
|
|
12657
|
-
), be && kn(P, null, X, "created"), _(
|
|
12657
|
+
), be && kn(P, null, X, "created"), _(te, P, P.scopeId, oe, X), pe) {
|
|
12658
12658
|
for (const $e in pe)
|
|
12659
|
-
$e !== "value" && !Ro($e) && o(
|
|
12660
|
-
"value" in pe && o(
|
|
12659
|
+
$e !== "value" && !Ro($e) && o(te, $e, null, pe[$e], Q, X);
|
|
12660
|
+
"value" in pe && o(te, "value", null, pe.value, Q), (Z = pe.onVnodeBeforeMount) && _r(Z, X, P);
|
|
12661
12661
|
}
|
|
12662
12662
|
be && kn(P, null, X, "beforeMount");
|
|
12663
12663
|
const Le = WO(H, fe);
|
|
12664
|
-
Le && fe.beforeEnter(
|
|
12665
|
-
Z && _r(Z, X, P), Le && fe.enter(
|
|
12664
|
+
Le && fe.beforeEnter(te), n(te, N, F), ((Z = pe && pe.onVnodeMounted) || Le || be) && Lt(() => {
|
|
12665
|
+
Z && _r(Z, X, P), Le && fe.enter(te), be && kn(P, null, X, "mounted");
|
|
12666
12666
|
}, H);
|
|
12667
12667
|
}, _ = (P, N, F, X, H) => {
|
|
12668
12668
|
if (F && h(P, F), X)
|
|
@@ -12681,8 +12681,8 @@ function qO(t, e) {
|
|
|
12681
12681
|
);
|
|
12682
12682
|
}
|
|
12683
12683
|
}
|
|
12684
|
-
}, E = (P, N, F, X, H, Q, oe, ae,
|
|
12685
|
-
for (let Z =
|
|
12684
|
+
}, E = (P, N, F, X, H, Q, oe, ae, te = 0) => {
|
|
12685
|
+
for (let Z = te; Z < P.length; Z++) {
|
|
12686
12686
|
const pe = P[Z] = ae ? $i(P[Z]) : xr(P[Z]);
|
|
12687
12687
|
m(
|
|
12688
12688
|
null,
|
|
@@ -12698,8 +12698,8 @@ function qO(t, e) {
|
|
|
12698
12698
|
}
|
|
12699
12699
|
}, S = (P, N, F, X, H, Q, oe) => {
|
|
12700
12700
|
const ae = N.el = P.el;
|
|
12701
|
-
let { patchFlag:
|
|
12702
|
-
|
|
12701
|
+
let { patchFlag: te, dynamicChildren: Z, dirs: pe } = N;
|
|
12702
|
+
te |= P.patchFlag & 16;
|
|
12703
12703
|
const ce = P.props || ze, fe = N.props || ze;
|
|
12704
12704
|
let be;
|
|
12705
12705
|
if (F && uo(F, !1), (be = fe.onVnodeBeforeUpdate) && _r(be, F, N, P), pe && kn(N, P, F, "beforeUpdate"), F && uo(F, !0), (ce.innerHTML && fe.innerHTML == null || ce.textContent && fe.textContent == null) && u(ae, ""), Z ? O(
|
|
@@ -12720,39 +12720,39 @@ function qO(t, e) {
|
|
|
12720
12720
|
Fp(N, H),
|
|
12721
12721
|
Q,
|
|
12722
12722
|
!1
|
|
12723
|
-
),
|
|
12724
|
-
if (
|
|
12723
|
+
), te > 0) {
|
|
12724
|
+
if (te & 16)
|
|
12725
12725
|
k(ae, ce, fe, F, H);
|
|
12726
|
-
else if (
|
|
12726
|
+
else if (te & 2 && ce.class !== fe.class && o(ae, "class", null, fe.class, H), te & 4 && o(ae, "style", ce.style, fe.style, H), te & 8) {
|
|
12727
12727
|
const Le = N.dynamicProps;
|
|
12728
12728
|
for (let $e = 0; $e < Le.length; $e++) {
|
|
12729
12729
|
const Ue = Le[$e], Ve = ce[Ue], lt = fe[Ue];
|
|
12730
12730
|
(lt !== Ve || Ue === "value") && o(ae, Ue, Ve, lt, H, F);
|
|
12731
12731
|
}
|
|
12732
12732
|
}
|
|
12733
|
-
|
|
12733
|
+
te & 1 && P.children !== N.children && u(ae, N.children);
|
|
12734
12734
|
} else !oe && Z == null && k(ae, ce, fe, F, H);
|
|
12735
12735
|
((be = fe.onVnodeUpdated) || pe) && Lt(() => {
|
|
12736
12736
|
be && _r(be, F, N, P), pe && kn(N, P, F, "updated");
|
|
12737
12737
|
}, X);
|
|
12738
12738
|
}, O = (P, N, F, X, H, Q, oe) => {
|
|
12739
12739
|
for (let ae = 0; ae < N.length; ae++) {
|
|
12740
|
-
const
|
|
12740
|
+
const te = P[ae], Z = N[ae], pe = (
|
|
12741
12741
|
// oldVNode may be an errored async setup() component inside Suspense
|
|
12742
12742
|
// which will not have a mounted element
|
|
12743
|
-
|
|
12743
|
+
te.el && // - In the case of a Fragment, we need to provide the actual parent
|
|
12744
12744
|
// of the Fragment itself so it can move its children.
|
|
12745
|
-
(
|
|
12745
|
+
(te.type === Et || // - In the case of different nodes, there is going to be a replacement
|
|
12746
12746
|
// which also requires the correct parent container
|
|
12747
|
-
!nn(
|
|
12748
|
-
|
|
12747
|
+
!nn(te, Z) || // - In the case of a component, it could contain anything.
|
|
12748
|
+
te.shapeFlag & 70) ? d(te.el) : (
|
|
12749
12749
|
// In other cases, the parent container is not actually used so we
|
|
12750
12750
|
// just pass the block element here to avoid a DOM parentNode call.
|
|
12751
12751
|
F
|
|
12752
12752
|
)
|
|
12753
12753
|
);
|
|
12754
12754
|
m(
|
|
12755
|
-
|
|
12755
|
+
te,
|
|
12756
12756
|
Z,
|
|
12757
12757
|
pe,
|
|
12758
12758
|
null,
|
|
@@ -12782,7 +12782,7 @@ function qO(t, e) {
|
|
|
12782
12782
|
}
|
|
12783
12783
|
"value" in F && o(P, "value", N.value, F.value, H);
|
|
12784
12784
|
}
|
|
12785
|
-
}, R = (P, N, F, X, H, Q, oe, ae,
|
|
12785
|
+
}, R = (P, N, F, X, H, Q, oe, ae, te) => {
|
|
12786
12786
|
const Z = N.el = P ? P.el : s(""), pe = N.anchor = P ? P.anchor : s("");
|
|
12787
12787
|
let { patchFlag: ce, dynamicChildren: fe, slotScopeIds: be } = N;
|
|
12788
12788
|
be && (ae = ae ? ae.concat(be) : be), P == null ? (n(Z, F, X), n(pe, F, X), E(
|
|
@@ -12797,7 +12797,7 @@ function qO(t, e) {
|
|
|
12797
12797
|
Q,
|
|
12798
12798
|
oe,
|
|
12799
12799
|
ae,
|
|
12800
|
-
|
|
12800
|
+
te
|
|
12801
12801
|
)) : ce > 0 && ce & 64 && fe && // #2715 the previous fragment could've been a BAILed one as a result
|
|
12802
12802
|
// of renderSlot() with no valid children
|
|
12803
12803
|
P.dynamicChildren ? (O(
|
|
@@ -12826,15 +12826,15 @@ function qO(t, e) {
|
|
|
12826
12826
|
Q,
|
|
12827
12827
|
oe,
|
|
12828
12828
|
ae,
|
|
12829
|
-
|
|
12829
|
+
te
|
|
12830
12830
|
);
|
|
12831
|
-
}, L = (P, N, F, X, H, Q, oe, ae,
|
|
12831
|
+
}, L = (P, N, F, X, H, Q, oe, ae, te) => {
|
|
12832
12832
|
N.slotScopeIds = ae, P == null ? N.shapeFlag & 512 ? H.ctx.activate(
|
|
12833
12833
|
N,
|
|
12834
12834
|
F,
|
|
12835
12835
|
X,
|
|
12836
12836
|
oe,
|
|
12837
|
-
|
|
12837
|
+
te
|
|
12838
12838
|
) : $(
|
|
12839
12839
|
N,
|
|
12840
12840
|
F,
|
|
@@ -12842,8 +12842,8 @@ function qO(t, e) {
|
|
|
12842
12842
|
H,
|
|
12843
12843
|
Q,
|
|
12844
12844
|
oe,
|
|
12845
|
-
|
|
12846
|
-
) : B(P, N,
|
|
12845
|
+
te
|
|
12846
|
+
) : B(P, N, te);
|
|
12847
12847
|
}, $ = (P, N, F, X, H, Q, oe) => {
|
|
12848
12848
|
const ae = P.component = aA(
|
|
12849
12849
|
P,
|
|
@@ -12852,8 +12852,8 @@ function qO(t, e) {
|
|
|
12852
12852
|
);
|
|
12853
12853
|
if (Xl(P) && (ae.ctx.renderer = ge), lA(ae, !1, oe), ae.asyncDep) {
|
|
12854
12854
|
if (H && H.registerDep(ae, I, oe), !P.el) {
|
|
12855
|
-
const
|
|
12856
|
-
g(null,
|
|
12855
|
+
const te = ae.subTree = Pe(Pt);
|
|
12856
|
+
g(null, te, N, F);
|
|
12857
12857
|
}
|
|
12858
12858
|
} else
|
|
12859
12859
|
I(
|
|
@@ -12947,15 +12947,15 @@ function qO(t, e) {
|
|
|
12947
12947
|
}
|
|
12948
12948
|
};
|
|
12949
12949
|
P.scope.on();
|
|
12950
|
-
const
|
|
12950
|
+
const te = P.effect = new xl(ae);
|
|
12951
12951
|
P.scope.off();
|
|
12952
|
-
const Z = P.update =
|
|
12953
|
-
pe.i = P, pe.id = P.uid,
|
|
12952
|
+
const Z = P.update = te.run.bind(te), pe = P.job = te.runIfDirty.bind(te);
|
|
12953
|
+
pe.i = P, pe.id = P.uid, te.scheduler = () => Hy(pe), uo(P, !0), Z();
|
|
12954
12954
|
}, q = (P, N, F) => {
|
|
12955
12955
|
N.component = P;
|
|
12956
12956
|
const X = P.vnode.props;
|
|
12957
12957
|
P.vnode = N, P.next = null, vL(P, N.props, X, F), EL(P, N.children, F), to(), V1(P), ro();
|
|
12958
|
-
}, Y = (P, N, F, X, H, Q, oe, ae,
|
|
12958
|
+
}, Y = (P, N, F, X, H, Q, oe, ae, te = !1) => {
|
|
12959
12959
|
const Z = P && P.children, pe = P ? P.shapeFlag : 0, ce = N.children, { patchFlag: fe, shapeFlag: be } = N;
|
|
12960
12960
|
if (fe > 0) {
|
|
12961
12961
|
if (fe & 128) {
|
|
@@ -12968,7 +12968,7 @@ function qO(t, e) {
|
|
|
12968
12968
|
Q,
|
|
12969
12969
|
oe,
|
|
12970
12970
|
ae,
|
|
12971
|
-
|
|
12971
|
+
te
|
|
12972
12972
|
);
|
|
12973
12973
|
return;
|
|
12974
12974
|
} else if (fe & 256) {
|
|
@@ -12981,7 +12981,7 @@ function qO(t, e) {
|
|
|
12981
12981
|
Q,
|
|
12982
12982
|
oe,
|
|
12983
12983
|
ae,
|
|
12984
|
-
|
|
12984
|
+
te
|
|
12985
12985
|
);
|
|
12986
12986
|
return;
|
|
12987
12987
|
}
|
|
@@ -12995,7 +12995,7 @@ function qO(t, e) {
|
|
|
12995
12995
|
Q,
|
|
12996
12996
|
oe,
|
|
12997
12997
|
ae,
|
|
12998
|
-
|
|
12998
|
+
te
|
|
12999
12999
|
) : Dt(Z, H, Q, !0) : (pe & 8 && u(F, ""), be & 16 && E(
|
|
13000
13000
|
ce,
|
|
13001
13001
|
F,
|
|
@@ -13004,14 +13004,14 @@ function qO(t, e) {
|
|
|
13004
13004
|
Q,
|
|
13005
13005
|
oe,
|
|
13006
13006
|
ae,
|
|
13007
|
-
|
|
13007
|
+
te
|
|
13008
13008
|
));
|
|
13009
|
-
}, he = (P, N, F, X, H, Q, oe, ae,
|
|
13009
|
+
}, he = (P, N, F, X, H, Q, oe, ae, te) => {
|
|
13010
13010
|
P = P || Oo, N = N || Oo;
|
|
13011
13011
|
const Z = P.length, pe = N.length, ce = Math.min(Z, pe);
|
|
13012
13012
|
let fe;
|
|
13013
13013
|
for (fe = 0; fe < ce; fe++) {
|
|
13014
|
-
const be = N[fe] =
|
|
13014
|
+
const be = N[fe] = te ? $i(N[fe]) : xr(N[fe]);
|
|
13015
13015
|
m(
|
|
13016
13016
|
P[fe],
|
|
13017
13017
|
be,
|
|
@@ -13021,7 +13021,7 @@ function qO(t, e) {
|
|
|
13021
13021
|
Q,
|
|
13022
13022
|
oe,
|
|
13023
13023
|
ae,
|
|
13024
|
-
|
|
13024
|
+
te
|
|
13025
13025
|
);
|
|
13026
13026
|
}
|
|
13027
13027
|
Z > pe ? Dt(
|
|
@@ -13039,15 +13039,15 @@ function qO(t, e) {
|
|
|
13039
13039
|
Q,
|
|
13040
13040
|
oe,
|
|
13041
13041
|
ae,
|
|
13042
|
-
|
|
13042
|
+
te,
|
|
13043
13043
|
ce
|
|
13044
13044
|
);
|
|
13045
|
-
}, Qe = (P, N, F, X, H, Q, oe, ae,
|
|
13045
|
+
}, Qe = (P, N, F, X, H, Q, oe, ae, te) => {
|
|
13046
13046
|
let Z = 0;
|
|
13047
13047
|
const pe = N.length;
|
|
13048
13048
|
let ce = P.length - 1, fe = pe - 1;
|
|
13049
13049
|
for (; Z <= ce && Z <= fe; ) {
|
|
13050
|
-
const be = P[Z], Le = N[Z] =
|
|
13050
|
+
const be = P[Z], Le = N[Z] = te ? $i(N[Z]) : xr(N[Z]);
|
|
13051
13051
|
if (nn(be, Le))
|
|
13052
13052
|
m(
|
|
13053
13053
|
be,
|
|
@@ -13058,14 +13058,14 @@ function qO(t, e) {
|
|
|
13058
13058
|
Q,
|
|
13059
13059
|
oe,
|
|
13060
13060
|
ae,
|
|
13061
|
-
|
|
13061
|
+
te
|
|
13062
13062
|
);
|
|
13063
13063
|
else
|
|
13064
13064
|
break;
|
|
13065
13065
|
Z++;
|
|
13066
13066
|
}
|
|
13067
13067
|
for (; Z <= ce && Z <= fe; ) {
|
|
13068
|
-
const be = P[ce], Le = N[fe] =
|
|
13068
|
+
const be = P[ce], Le = N[fe] = te ? $i(N[fe]) : xr(N[fe]);
|
|
13069
13069
|
if (nn(be, Le))
|
|
13070
13070
|
m(
|
|
13071
13071
|
be,
|
|
@@ -13076,7 +13076,7 @@ function qO(t, e) {
|
|
|
13076
13076
|
Q,
|
|
13077
13077
|
oe,
|
|
13078
13078
|
ae,
|
|
13079
|
-
|
|
13079
|
+
te
|
|
13080
13080
|
);
|
|
13081
13081
|
else
|
|
13082
13082
|
break;
|
|
@@ -13088,14 +13088,14 @@ function qO(t, e) {
|
|
|
13088
13088
|
for (; Z <= fe; )
|
|
13089
13089
|
m(
|
|
13090
13090
|
null,
|
|
13091
|
-
N[Z] =
|
|
13091
|
+
N[Z] = te ? $i(N[Z]) : xr(N[Z]),
|
|
13092
13092
|
F,
|
|
13093
13093
|
Le,
|
|
13094
13094
|
H,
|
|
13095
13095
|
Q,
|
|
13096
13096
|
oe,
|
|
13097
13097
|
ae,
|
|
13098
|
-
|
|
13098
|
+
te
|
|
13099
13099
|
), Z++;
|
|
13100
13100
|
}
|
|
13101
13101
|
} else if (Z > fe)
|
|
@@ -13104,7 +13104,7 @@ function qO(t, e) {
|
|
|
13104
13104
|
else {
|
|
13105
13105
|
const be = Z, Le = Z, $e = /* @__PURE__ */ new Map();
|
|
13106
13106
|
for (Z = Le; Z <= fe; Z++) {
|
|
13107
|
-
const Vt = N[Z] =
|
|
13107
|
+
const Vt = N[Z] = te ? $i(N[Z]) : xr(N[Z]);
|
|
13108
13108
|
Vt.key != null && $e.set(Vt.key, Z);
|
|
13109
13109
|
}
|
|
13110
13110
|
let Ue, Ve = 0;
|
|
@@ -13136,7 +13136,7 @@ function qO(t, e) {
|
|
|
13136
13136
|
Q,
|
|
13137
13137
|
oe,
|
|
13138
13138
|
ae,
|
|
13139
|
-
|
|
13139
|
+
te
|
|
13140
13140
|
), Ve++);
|
|
13141
13141
|
}
|
|
13142
13142
|
const Ur = Se ? TL(gt) : Oo;
|
|
@@ -13151,12 +13151,12 @@ function qO(t, e) {
|
|
|
13151
13151
|
Q,
|
|
13152
13152
|
oe,
|
|
13153
13153
|
ae,
|
|
13154
|
-
|
|
13154
|
+
te
|
|
13155
13155
|
) : Se && (Ue < 0 || Z !== Ur[Ue] ? kt(Xt, F, so, 2) : Ue--);
|
|
13156
13156
|
}
|
|
13157
13157
|
}
|
|
13158
13158
|
}, kt = (P, N, F, X, H = null) => {
|
|
13159
|
-
const { el: Q, type: oe, transition: ae, children:
|
|
13159
|
+
const { el: Q, type: oe, transition: ae, children: te, shapeFlag: Z } = P;
|
|
13160
13160
|
if (Z & 6) {
|
|
13161
13161
|
kt(P.component.subTree, N, F, X);
|
|
13162
13162
|
return;
|
|
@@ -13171,8 +13171,8 @@ function qO(t, e) {
|
|
|
13171
13171
|
}
|
|
13172
13172
|
if (oe === Et) {
|
|
13173
13173
|
n(Q, N, F);
|
|
13174
|
-
for (let ce = 0; ce <
|
|
13175
|
-
kt(
|
|
13174
|
+
for (let ce = 0; ce < te.length; ce++)
|
|
13175
|
+
kt(te[ce], N, F, X);
|
|
13176
13176
|
n(P.anchor, N, F);
|
|
13177
13177
|
return;
|
|
13178
13178
|
}
|
|
@@ -13198,7 +13198,7 @@ function qO(t, e) {
|
|
|
13198
13198
|
type: Q,
|
|
13199
13199
|
props: oe,
|
|
13200
13200
|
ref: ae,
|
|
13201
|
-
children:
|
|
13201
|
+
children: te,
|
|
13202
13202
|
dynamicChildren: Z,
|
|
13203
13203
|
shapeFlag: pe,
|
|
13204
13204
|
patchFlag: ce,
|
|
@@ -13236,7 +13236,7 @@ function qO(t, e) {
|
|
|
13236
13236
|
F,
|
|
13237
13237
|
!1,
|
|
13238
13238
|
!0
|
|
13239
|
-
) : (Q === Et && ce & 384 || !H && pe & 16) && Dt(
|
|
13239
|
+
) : (Q === Et && ce & 384 || !H && pe & 16) && Dt(te, N, F), X && Rt(P);
|
|
13240
13240
|
}
|
|
13241
13241
|
($e && (Ue = oe && oe.onVnodeUnmounted) || Le) && Lt(() => {
|
|
13242
13242
|
Ue && _r(Ue, N, P), Le && kn(P, null, N, "unmounted");
|
|
@@ -13255,8 +13255,8 @@ function qO(t, e) {
|
|
|
13255
13255
|
i(F), H && !H.persisted && H.afterLeave && H.afterLeave();
|
|
13256
13256
|
};
|
|
13257
13257
|
if (P.shapeFlag & 1 && H && !H.persisted) {
|
|
13258
|
-
const { leave: oe, delayLeave: ae } = H,
|
|
13259
|
-
ae ? ae(P.el, Q,
|
|
13258
|
+
const { leave: oe, delayLeave: ae } = H, te = () => oe(F, Q);
|
|
13259
|
+
ae ? ae(P.el, Q, te) : te();
|
|
13260
13260
|
} else
|
|
13261
13261
|
Q();
|
|
13262
13262
|
}, lr = (P, N) => {
|
|
@@ -13265,8 +13265,8 @@ function qO(t, e) {
|
|
|
13265
13265
|
F = p(P), i(P), P = F;
|
|
13266
13266
|
i(N);
|
|
13267
13267
|
}, cr = (P, N, F) => {
|
|
13268
|
-
const { bum: X, scope: H, job: Q, subTree: oe, um: ae, m:
|
|
13269
|
-
qu(
|
|
13268
|
+
const { bum: X, scope: H, job: Q, subTree: oe, um: ae, m: te, a: Z } = P;
|
|
13269
|
+
qu(te), qu(Z), X && Mo(X), H.stop(), Q && (Q.flags |= 8, mt(oe, P, N, F)), ae && Lt(ae, N), Lt(() => {
|
|
13270
13270
|
P.isUnmounted = !0;
|
|
13271
13271
|
}, N), N && N.pendingBranch && !N.isUnmounted && P.asyncDep && !P.asyncResolved && P.suspenseId === N.pendingId && (N.deps--, N.deps === 0 && N.resolve());
|
|
13272
13272
|
}, Dt = (P, N, F, X = !1, H = !1, Q = 0) => {
|
|
@@ -15931,8 +15931,8 @@ vu.use(LA).use(FA).use($A).init({
|
|
|
15931
15931
|
fallbackNS: "_common"
|
|
15932
15932
|
}).then(() => UA(vu));
|
|
15933
15933
|
Dy.init({ fallbackLocale: "en-US" });
|
|
15934
|
-
const Y6 = Dy,
|
|
15935
|
-
|
|
15934
|
+
const Y6 = Dy, ee = new IA(vu, Dy);
|
|
15935
|
+
ee.loadOptions = QI.bind(ee);
|
|
15936
15936
|
let K6 = class {
|
|
15937
15937
|
constructor() {
|
|
15938
15938
|
this.events = {};
|
|
@@ -20096,9 +20096,9 @@ function C5() {
|
|
|
20096
20096
|
Vx = 1;
|
|
20097
20097
|
var t = fv(), e = _F(), r = hv(), n = OF(), i = MF(), o = DF(), a = PF(), s = IF(), l = LF(), c = k5(), u = $F(), d = tp(), p = BF(), h = GF(), f = KF(), m = zn(), v = gv(), g = ZF(), y = Bn(), b = QF(), w = ep(), x = xv(), T = 1, _ = 2, E = 4, S = "[object Arguments]", O = "[object Array]", k = "[object Boolean]", R = "[object Date]", L = "[object Error]", $ = "[object Function]", B = "[object GeneratorFunction]", I = "[object Map]", q = "[object Number]", Y = "[object Object]", he = "[object RegExp]", Qe = "[object Set]", kt = "[object String]", mt = "[object Symbol]", Rt = "[object WeakMap]", lr = "[object ArrayBuffer]", cr = "[object DataView]", Dt = "[object Float32Array]", K = "[object Float64Array]", ie = "[object Int8Array]", le = "[object Int16Array]", ge = "[object Int32Array]", He = "[object Uint8Array]", st = "[object Uint8ClampedArray]", P = "[object Uint16Array]", N = "[object Uint32Array]", F = {};
|
|
20098
20098
|
F[S] = F[O] = F[lr] = F[cr] = F[k] = F[R] = F[Dt] = F[K] = F[ie] = F[le] = F[ge] = F[I] = F[q] = F[Y] = F[he] = F[Qe] = F[kt] = F[mt] = F[He] = F[st] = F[P] = F[N] = !0, F[L] = F[$] = F[Rt] = !1;
|
|
20099
|
-
function X(H, Q, oe, ae,
|
|
20099
|
+
function X(H, Q, oe, ae, te, Z) {
|
|
20100
20100
|
var pe, ce = Q & T, fe = Q & _, be = Q & E;
|
|
20101
|
-
if (oe && (pe =
|
|
20101
|
+
if (oe && (pe = te ? oe(H, ae, te, Z) : oe(H)), pe !== void 0)
|
|
20102
20102
|
return pe;
|
|
20103
20103
|
if (!y(H))
|
|
20104
20104
|
return H;
|
|
@@ -20110,12 +20110,12 @@ function C5() {
|
|
|
20110
20110
|
var $e = d(H), Ue = $e == $ || $e == B;
|
|
20111
20111
|
if (v(H))
|
|
20112
20112
|
return o(H, ce);
|
|
20113
|
-
if ($e == Y || $e == S || Ue && !
|
|
20113
|
+
if ($e == Y || $e == S || Ue && !te) {
|
|
20114
20114
|
if (pe = fe || Ue ? {} : f(H), !ce)
|
|
20115
20115
|
return fe ? l(H, i(pe, H)) : s(H, n(pe, H));
|
|
20116
20116
|
} else {
|
|
20117
20117
|
if (!F[$e])
|
|
20118
|
-
return
|
|
20118
|
+
return te ? H : {};
|
|
20119
20119
|
pe = h(H, $e, ce);
|
|
20120
20120
|
}
|
|
20121
20121
|
}
|
|
@@ -20381,7 +20381,7 @@ const Kb = (t) => ["isDeductable", "isRut", "greenRot15", "greenRot20", "greenRo
|
|
|
20381
20381
|
return e ? "rot" : r ? "rut" : n ? "greenRot15" : i ? "greenRot20" : o ? "greenRot50" : null;
|
|
20382
20382
|
}, Cie = (t, { count: e = null, includeCount: r = !1, lng: n = null, instance: i } = {}) => {
|
|
20383
20383
|
if (typeof t != "string") return "";
|
|
20384
|
-
const o = i ||
|
|
20384
|
+
const o = i || ee, a = {
|
|
20385
20385
|
...typeof e == "number" && { count: e },
|
|
20386
20386
|
...n && { lng: n }
|
|
20387
20387
|
};
|
|
@@ -20441,7 +20441,7 @@ function M5(t) {
|
|
|
20441
20441
|
return null;
|
|
20442
20442
|
const { code: e, updatedAt: r } = t;
|
|
20443
20443
|
let n = null;
|
|
20444
|
-
return e === "mailDropped" ?
|
|
20444
|
+
return e === "mailDropped" ? ee.t(`event.${e}`) : (e === "viewed" && (n = `${ee.t(`event.${e}`)} ${ee.formatDistanceToNow(r)}`), n);
|
|
20445
20445
|
}
|
|
20446
20446
|
function bj(t) {
|
|
20447
20447
|
return Math.floor(t) !== t && t.toString().split(".")[1].length || 0;
|
|
@@ -20466,7 +20466,7 @@ function yj(t, {
|
|
|
20466
20466
|
return s && (d = bj(c.getAmount() / 100)), n && d && (u = `${u}.${"0".repeat(d)}`), c.toFormat(u);
|
|
20467
20467
|
}
|
|
20468
20468
|
function vj(t, e) {
|
|
20469
|
-
const { locale: r } =
|
|
20469
|
+
const { locale: r } = ee;
|
|
20470
20470
|
return yj(t, {
|
|
20471
20471
|
...e,
|
|
20472
20472
|
...!e.locale && { locale: r }
|
|
@@ -20476,7 +20476,7 @@ const qh = {};
|
|
|
20476
20476
|
function Oie(t, e = null) {
|
|
20477
20477
|
if (typeof t > "u" || !t)
|
|
20478
20478
|
throw new Error("Missing param currency");
|
|
20479
|
-
const r = e ||
|
|
20479
|
+
const r = e || ee.locale;
|
|
20480
20480
|
if (qh[`${t}_${e}`])
|
|
20481
20481
|
return qh[`${t}_${e}`];
|
|
20482
20482
|
const n = 0 .toLocaleString(r, {
|
|
@@ -23763,7 +23763,7 @@ function Bj(t = {}) {
|
|
|
23763
23763
|
const r = t[e];
|
|
23764
23764
|
Object.keys(r).forEach((n) => {
|
|
23765
23765
|
const i = r[n];
|
|
23766
|
-
(n === "document" ? Aa :
|
|
23766
|
+
(n === "document" ? Aa : ee).i18next.addResources(e, n, i);
|
|
23767
23767
|
});
|
|
23768
23768
|
});
|
|
23769
23769
|
}
|
|
@@ -31389,7 +31389,7 @@ const ZV = (t, { renewToken: e }) => {
|
|
|
31389
31389
|
// allow API to store cookie
|
|
31390
31390
|
paramsSerializer: (d) => KV(d)
|
|
31391
31391
|
});
|
|
31392
|
-
n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.18.
|
|
31392
|
+
n.defaults.headers["X-CLIENT"] = "widget", n.defaults.headers["X-CLIENT-VERSION"] = "0.18.5";
|
|
31393
31393
|
const i = async (d, p, h = null, f = {}) => {
|
|
31394
31394
|
const m = p.startsWith("/public/"), v = Ee.getItem("token");
|
|
31395
31395
|
switch (v && !m && (n.defaults.headers["X-TOKEN"] = v), d) {
|
|
@@ -33688,7 +33688,7 @@ const hz = /* @__PURE__ */ Or(fz), NR = _e.rollbar.clientToken, mz = [
|
|
|
33688
33688
|
client: {
|
|
33689
33689
|
javascript: {
|
|
33690
33690
|
// eslint-disable-next-line
|
|
33691
|
-
code_version: "0.18.
|
|
33691
|
+
code_version: "0.18.5",
|
|
33692
33692
|
// Git SHA of the deployed code (from webpack plugin)
|
|
33693
33693
|
source_map_enabled: !0,
|
|
33694
33694
|
guess_uncaught_frames: !0
|
|
@@ -33717,7 +33717,7 @@ window.enableErrorTracker = () => {
|
|
|
33717
33717
|
};
|
|
33718
33718
|
const bz = [9001, 9002, 9003, 9004, 9005, 9006], yz = [401];
|
|
33719
33719
|
function vz(t) {
|
|
33720
|
-
const { payload: e } = t, r = (i) =>
|
|
33720
|
+
const { payload: e } = t, r = (i) => ee.te(`errors:${i}`) && ee.t(`errors:${i}`);
|
|
33721
33721
|
let n = r(t.code);
|
|
33722
33722
|
return e.code && r(e.code) ? n = r(e.code) : e.fallbackCode && r(e.fallbackCode) ? n = r(e.fallbackCode) : e.string && (n = e.string), n;
|
|
33723
33723
|
}
|
|
@@ -35500,10 +35500,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
35500
35500
|
});
|
|
35501
35501
|
};
|
|
35502
35502
|
}
|
|
35503
|
-
typeof window < "u" && ((
|
|
35503
|
+
typeof window < "u" && ((te = Element) && te.prototype && !te.prototype.matches && (te.prototype.matches = te.prototype.matchesSelector || te.prototype.mozMatchesSelector || te.prototype.msMatchesSelector || te.prototype.oMatchesSelector || te.prototype.webkitMatchesSelector || function(M) {
|
|
35504
35504
|
for (var C = (this.document || this.ownerDocument).querySelectorAll(M), A = C.length; 0 <= --A && C.item(A) !== this; ) ;
|
|
35505
35505
|
return -1 < A;
|
|
35506
|
-
}), (
|
|
35506
|
+
}), (te = Node || Element) && te.prototype && te.prototype.firstElementChild == null && Object.defineProperty(te.prototype, "firstElementChild", { get: function() {
|
|
35507
35507
|
for (var M, C = this.childNodes, A = 0; M = C[A++]; ) if (M.nodeType === 1) return M;
|
|
35508
35508
|
return null;
|
|
35509
35509
|
} }), Array.prototype.some || (Array.prototype.some = function(M) {
|
|
@@ -35512,7 +35512,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
35512
35512
|
for (var C = Object(this), A = C.length >>> 0, D = 2 <= arguments.length ? arguments[1] : void 0, V = 0; V < A; V++) if (V in C && M.call(D, C[V], V, C)) return !0;
|
|
35513
35513
|
return !1;
|
|
35514
35514
|
}));
|
|
35515
|
-
var
|
|
35515
|
+
var te = { overflow: "hidden", display: "block" }, Z = { height: "100%", display: "table-cell", "vertical-align": "top" }, Z = (_(St = {}, ".".concat(c), { position: "relative", "min-height": "30px", "min-width": "30px" }), _(St, ".".concat(c, ".horizontal"), { display: "table" }), _(St, ".".concat(c, ".horizontal > .").concat(d), { display: "inline-block" }), _(St, ".".concat(c, ".horizontal > .").concat(i), Z), _(St, ".".concat(c, ".vertical > .").concat(i), te), _(St, ".".concat(i), { "box-sizing": "border-box" }), _(St, ".".concat(i, ".horizontal"), Z), _(St, ".".concat(i, ".vertical"), te), _(St, ".".concat(i, ".animated"), { transition: "transform ease" }), _(St, ".".concat(l), { "box-sizing": "border-box" }), _(St, ".".concat(l, ".animated"), { transition: "all ease-in-out" }), _(St, ".".concat(l, " *"), { "pointer-events": "none" }), _(St, ".".concat(h, " *"), { "touch-action": "none", "-ms-touch-action": "none" }), _(St, ".".concat(f), { "-webkit-touch-callout": "none", "-webkit-user-select": "none", "-khtml-user-select": "none", "-moz-user-select": "none", "-ms-user-select": "none", "user-select": "none" }), _(St, ".".concat(g), { flex: "1" }), _(St, ".".concat(c, ".horizontal > .").concat(y), { height: "100%", overflow: "hidden", display: "table-cell", "vertical-align": "top" }), _(St, ".".concat(c, ".vertical > .").concat(y), { overflow: "hidden", display: "block", width: "100%" }), _(St, ".".concat(b), { width: "100%", height: "100%", display: "flex", "justify-content": "stretch", "align-items": "stretch" }), _(St, ".".concat(v), { "background-color": "rgba(150, 150, 150, 0.1)", border: "1px solid #ccc" }), St);
|
|
35516
35516
|
function pe(M) {
|
|
35517
35517
|
return Object.keys(M).reduce(function(C, A) {
|
|
35518
35518
|
var D = M[A];
|
|
@@ -37408,7 +37408,7 @@ const Eq = [
|
|
|
37408
37408
|
{
|
|
37409
37409
|
name: "form",
|
|
37410
37410
|
path: "/form",
|
|
37411
|
-
component: () => import("./DocForm-
|
|
37411
|
+
component: () => import("./DocForm-CLWMOhiD.js"),
|
|
37412
37412
|
props: !0,
|
|
37413
37413
|
meta: {
|
|
37414
37414
|
mode: "modal",
|
|
@@ -37420,7 +37420,7 @@ const Eq = [
|
|
|
37420
37420
|
{
|
|
37421
37421
|
name: "document",
|
|
37422
37422
|
path: "/document",
|
|
37423
|
-
component: () => import("./DocumentLayout-
|
|
37423
|
+
component: () => import("./DocumentLayout-CJDtoapK.js").then((t) => t.c),
|
|
37424
37424
|
props: !0,
|
|
37425
37425
|
meta: {
|
|
37426
37426
|
mode: "modal",
|
|
@@ -37433,7 +37433,7 @@ const Eq = [
|
|
|
37433
37433
|
{
|
|
37434
37434
|
name: "send",
|
|
37435
37435
|
path: "/send",
|
|
37436
|
-
component: () => import("./DocFormSend-
|
|
37436
|
+
component: () => import("./DocFormSend-5x6Vt1pn.js"),
|
|
37437
37437
|
props: !0,
|
|
37438
37438
|
meta: {
|
|
37439
37439
|
mode: "drawer",
|
|
@@ -37445,7 +37445,7 @@ const Eq = [
|
|
|
37445
37445
|
{
|
|
37446
37446
|
name: "print",
|
|
37447
37447
|
path: "/print",
|
|
37448
|
-
component: () => import("./DocPrint-
|
|
37448
|
+
component: () => import("./DocPrint-DwoRKEMN.js"),
|
|
37449
37449
|
props: !0,
|
|
37450
37450
|
meta: {
|
|
37451
37451
|
mode: "modal",
|
|
@@ -37456,7 +37456,7 @@ const Eq = [
|
|
|
37456
37456
|
{
|
|
37457
37457
|
name: "sendReminder",
|
|
37458
37458
|
path: "/sendReminder",
|
|
37459
|
-
component: () => import("./DocSendReminder-
|
|
37459
|
+
component: () => import("./DocSendReminder-f7t0s4cj.js"),
|
|
37460
37460
|
props: !0,
|
|
37461
37461
|
meta: {
|
|
37462
37462
|
mode: "modal",
|
|
@@ -37467,7 +37467,7 @@ const Eq = [
|
|
|
37467
37467
|
{
|
|
37468
37468
|
name: "timeline",
|
|
37469
37469
|
path: "/timeline",
|
|
37470
|
-
component: () => import("./DocTimeline-
|
|
37470
|
+
component: () => import("./DocTimeline-DV1xt84y.js"),
|
|
37471
37471
|
props: !0,
|
|
37472
37472
|
meta: {
|
|
37473
37473
|
mode: "modal",
|
|
@@ -37477,7 +37477,7 @@ const Eq = [
|
|
|
37477
37477
|
{
|
|
37478
37478
|
name: "receipt",
|
|
37479
37479
|
path: "/receipt",
|
|
37480
|
-
component: () => import("./DocReceipt-
|
|
37480
|
+
component: () => import("./DocReceipt-bl6EjC-h.js"),
|
|
37481
37481
|
props: !0,
|
|
37482
37482
|
meta: {
|
|
37483
37483
|
mode: "modal",
|
|
@@ -37487,7 +37487,7 @@ const Eq = [
|
|
|
37487
37487
|
{
|
|
37488
37488
|
name: "clientLinks",
|
|
37489
37489
|
path: "/clientLinks",
|
|
37490
|
-
component: () => import("./DocLinks-
|
|
37490
|
+
component: () => import("./DocLinks-OcVT6KZq.js"),
|
|
37491
37491
|
props: !0,
|
|
37492
37492
|
meta: {
|
|
37493
37493
|
mode: "modal",
|
|
@@ -37497,7 +37497,7 @@ const Eq = [
|
|
|
37497
37497
|
{
|
|
37498
37498
|
name: "documentClient",
|
|
37499
37499
|
path: "/documentClient",
|
|
37500
|
-
component: () => import("./DocumentClient-
|
|
37500
|
+
component: () => import("./DocumentClient-3MsgS-SQ.js"),
|
|
37501
37501
|
props: !0,
|
|
37502
37502
|
meta: {
|
|
37503
37503
|
mode: "modal",
|
|
@@ -37509,7 +37509,7 @@ const Eq = [
|
|
|
37509
37509
|
{
|
|
37510
37510
|
name: "setup",
|
|
37511
37511
|
path: "/setup",
|
|
37512
|
-
component: () => import("./Setup-
|
|
37512
|
+
component: () => import("./Setup-DY-gV9Cy.js"),
|
|
37513
37513
|
props: !0,
|
|
37514
37514
|
meta: {
|
|
37515
37515
|
mode: "modal",
|
|
@@ -37521,7 +37521,7 @@ const Eq = [
|
|
|
37521
37521
|
{
|
|
37522
37522
|
name: "docAnswer",
|
|
37523
37523
|
path: "/docAnswer",
|
|
37524
|
-
component: () => import("./DocAnswer-
|
|
37524
|
+
component: () => import("./DocAnswer-Bt6Nau_Q.js"),
|
|
37525
37525
|
props: !0,
|
|
37526
37526
|
meta: {
|
|
37527
37527
|
mode: "modal",
|
|
@@ -37532,7 +37532,7 @@ const Eq = [
|
|
|
37532
37532
|
{
|
|
37533
37533
|
name: "docDetails",
|
|
37534
37534
|
path: "/docDetails",
|
|
37535
|
-
component: () => import("./DocDetails-
|
|
37535
|
+
component: () => import("./DocDetails-CqLhz_EH.js"),
|
|
37536
37536
|
props: !0,
|
|
37537
37537
|
meta: {
|
|
37538
37538
|
mode: "drawer",
|
|
@@ -37563,10 +37563,10 @@ const Fe = Vn({
|
|
|
37563
37563
|
return this._openViews;
|
|
37564
37564
|
},
|
|
37565
37565
|
get language() {
|
|
37566
|
-
return
|
|
37566
|
+
return ee.lang;
|
|
37567
37567
|
},
|
|
37568
37568
|
get locale() {
|
|
37569
|
-
return
|
|
37569
|
+
return ee.locale;
|
|
37570
37570
|
},
|
|
37571
37571
|
get styleVars() {
|
|
37572
37572
|
return this._styleVars;
|
|
@@ -37611,10 +37611,10 @@ const Fe = Vn({
|
|
|
37611
37611
|
)) == null || r.forEach((n) => this.removeView(n));
|
|
37612
37612
|
},
|
|
37613
37613
|
setLanguage(t) {
|
|
37614
|
-
|
|
37614
|
+
ee.changeLanguage(t, !0);
|
|
37615
37615
|
},
|
|
37616
37616
|
setLocale(t) {
|
|
37617
|
-
|
|
37617
|
+
ee.changeLocale(t, !0);
|
|
37618
37618
|
},
|
|
37619
37619
|
on(t, e) {
|
|
37620
37620
|
if (!["open", "close", "document.block.answer.visible"].includes(t))
|
|
@@ -40375,7 +40375,7 @@ function KM() {
|
|
|
40375
40375
|
return km = e, km;
|
|
40376
40376
|
}
|
|
40377
40377
|
var hG = KM();
|
|
40378
|
-
const
|
|
40378
|
+
const re = /* @__PURE__ */ Or(hG), {
|
|
40379
40379
|
UPDATE_VIEW_SETTINGS: la,
|
|
40380
40380
|
LOAD_USER_POSITION: mG,
|
|
40381
40381
|
LOAD_USER: ca,
|
|
@@ -40391,7 +40391,7 @@ const ee = /* @__PURE__ */ Or(hG), {
|
|
|
40391
40391
|
DO_LOAD_ALL_SETTINGS: bG,
|
|
40392
40392
|
DO_NORMALIZE_COMPANY_USERS: yG,
|
|
40393
40393
|
LOAD_UNREAD_NOTIFICATIONS: vG
|
|
40394
|
-
} = Oe, { SET_USER_LOCATION: wG, SET_USER: qt } = Pr, DT = (t) =>
|
|
40394
|
+
} = Oe, { SET_USER_LOCATION: wG, SET_USER: qt } = Pr, DT = (t) => ee.te(`errors:${t}`) && ee.t(`errors:${t}`), _G = {
|
|
40395
40395
|
async [ca]({ commit: t, getters: e, dispatch: r }) {
|
|
40396
40396
|
var n, i;
|
|
40397
40397
|
try {
|
|
@@ -40411,7 +40411,7 @@ const ee = /* @__PURE__ */ Or(hG), {
|
|
|
40411
40411
|
language: c,
|
|
40412
40412
|
locale: u
|
|
40413
40413
|
} = o;
|
|
40414
|
-
c &&
|
|
40414
|
+
c && ee.changeLanguage(c), u && ee.changeLocale(u), await this.dispatch(yG, {
|
|
40415
40415
|
companyUsers: [
|
|
40416
40416
|
{
|
|
40417
40417
|
...o,
|
|
@@ -40508,14 +40508,14 @@ const ee = /* @__PURE__ */ Or(hG), {
|
|
|
40508
40508
|
const { redirect: f } = this.state.route.query || {};
|
|
40509
40509
|
return f ? (this.$router.push(f), !0) : (this.$router.push({ name: "account" }), !0);
|
|
40510
40510
|
} catch (u) {
|
|
40511
|
-
let d =
|
|
40511
|
+
let d = ee.t("errors:fallback"), p = !1;
|
|
40512
40512
|
if (u && typeof u.getPayload == "function") {
|
|
40513
40513
|
const h = u.getPayload();
|
|
40514
40514
|
h && h.axios && h.axios.status === 401 && (p = !0);
|
|
40515
40515
|
}
|
|
40516
|
-
if (p && (d =
|
|
40516
|
+
if (p && (d = ee.t("actions:loginUser.wrongCredentials")), u && typeof u.getPayload == "function") {
|
|
40517
40517
|
const h = u.getPayload();
|
|
40518
|
-
h != null && h.code &&
|
|
40518
|
+
h != null && h.code && ee.te(`errors:${h.code}`) && (d = ee.t(`errors:${h.code}`));
|
|
40519
40519
|
}
|
|
40520
40520
|
return e(la, {
|
|
40521
40521
|
view: "login",
|
|
@@ -40693,7 +40693,7 @@ const ee = /* @__PURE__ */ Or(hG), {
|
|
|
40693
40693
|
});
|
|
40694
40694
|
return p.isAuth = v, v && ((d = this.$trackEvent) == null || d.call(this, "register")), p;
|
|
40695
40695
|
} catch (p) {
|
|
40696
|
-
if (
|
|
40696
|
+
if (re(p, "payload.code") === 4008 && u) throw p;
|
|
40697
40697
|
if (p && p.code) {
|
|
40698
40698
|
const h = DT(p.code);
|
|
40699
40699
|
h && e(la, {
|
|
@@ -41103,7 +41103,7 @@ const UG = /* @__PURE__ */ Or(jG), VG = {
|
|
|
41103
41103
|
allowFailedPaymentToConvertStripe: m,
|
|
41104
41104
|
freeBankIdLeft: v,
|
|
41105
41105
|
freeSmsLeft: g
|
|
41106
|
-
} = r, y =
|
|
41106
|
+
} = r, y = re(
|
|
41107
41107
|
r,
|
|
41108
41108
|
"AccountConfiguration.data.defaultNewCompany.freePremiumDays",
|
|
41109
41109
|
14
|
|
@@ -41111,7 +41111,7 @@ const UG = /* @__PURE__ */ Or(jG), VG = {
|
|
|
41111
41111
|
.../* @__PURE__ */ new Set([...p.map((_) => _.status)])
|
|
41112
41112
|
], w = p.some(
|
|
41113
41113
|
(_) => (_.stripeItems || []).some((E) => E.stripePriceStripeId.startsWith("plan_"))
|
|
41114
|
-
), x = Op.includes(i) && u && s === "invoice" &&
|
|
41114
|
+
), x = Op.includes(i) && u && s === "invoice" && re(r, "documentQuota.newCount") === 1e3 && !re(r, "premiumEndAt");
|
|
41115
41115
|
return {
|
|
41116
41116
|
type: i,
|
|
41117
41117
|
trialDaysLeft: n,
|
|
@@ -41301,7 +41301,7 @@ const UG = /* @__PURE__ */ Or(jG), VG = {
|
|
|
41301
41301
|
id: r
|
|
41302
41302
|
}), this.dispatch("application/SHOW_MESSAGE", {
|
|
41303
41303
|
type: "success",
|
|
41304
|
-
message:
|
|
41304
|
+
message: ee.t("updatedThing", { thing: ee.t("article") })
|
|
41305
41305
|
}), r;
|
|
41306
41306
|
} catch (i) {
|
|
41307
41307
|
return this.handleError(i, {
|
|
@@ -41327,7 +41327,7 @@ const UG = /* @__PURE__ */ Or(jG), VG = {
|
|
|
41327
41327
|
const { data: n } = await DB(e);
|
|
41328
41328
|
return await t(YG, { data: n }), r && this.dispatch("application/SHOW_MESSAGE", {
|
|
41329
41329
|
type: "success",
|
|
41330
|
-
message:
|
|
41330
|
+
message: ee.t("createdThing", { thing: ee.t("article") })
|
|
41331
41331
|
}), n.id;
|
|
41332
41332
|
} finally {
|
|
41333
41333
|
t(xi, !1);
|
|
@@ -41343,7 +41343,7 @@ const UG = /* @__PURE__ */ Or(jG), VG = {
|
|
|
41343
41343
|
try {
|
|
41344
41344
|
return t(xi, !0), await NB(e), t(Re.DELETE_ARTICLE, e), this.dispatch("application/SHOW_MESSAGE", {
|
|
41345
41345
|
type: "success",
|
|
41346
|
-
message:
|
|
41346
|
+
message: ee.t("removedThing", { thing: ee.t("article") }),
|
|
41347
41347
|
actions: {
|
|
41348
41348
|
undo: () => {
|
|
41349
41349
|
this.dispatch(`articles/${Am}`, { id: e });
|
|
@@ -41936,7 +41936,7 @@ const Ds = "companies", { LOAD_FILE: soe, FORM_RESET_OLD: BT } = Oe, { SET_FORM:
|
|
|
41936
41936
|
companyUsers: [i]
|
|
41937
41937
|
});
|
|
41938
41938
|
const { id: o } = r["application/user"] || {};
|
|
41939
|
-
return n === o && (
|
|
41939
|
+
return n === o && (ee.locale !== i.locale && ee.changeLocale(i.locale), ee.lang !== i.language && (ee.changeLanguage(i.language), location && location.reload())), n;
|
|
41940
41940
|
} catch (i) {
|
|
41941
41941
|
return this.handleError(i, {
|
|
41942
41942
|
object: "companyUser",
|
|
@@ -41971,8 +41971,8 @@ const Ds = "companies", { LOAD_FILE: soe, FORM_RESET_OLD: BT } = Oe, { SET_FORM:
|
|
|
41971
41971
|
companyUsers: [s]
|
|
41972
41972
|
}), this.dispatch("application/SHOW_MESSAGE", {
|
|
41973
41973
|
type: "success",
|
|
41974
|
-
message:
|
|
41975
|
-
thing:
|
|
41974
|
+
message: ee.t("sentThingTo", {
|
|
41975
|
+
thing: ee.t("invitation"),
|
|
41976
41976
|
recipient: s.email
|
|
41977
41977
|
})
|
|
41978
41978
|
}), s.id;
|
|
@@ -42005,7 +42005,7 @@ const Ds = "companies", { LOAD_FILE: soe, FORM_RESET_OLD: BT } = Oe, { SET_FORM:
|
|
|
42005
42005
|
id: n
|
|
42006
42006
|
}), (o = this.$supportChat) == null || o.syncData(), this.dispatch("application/SHOW_MESSAGE", {
|
|
42007
42007
|
type: "success",
|
|
42008
|
-
message:
|
|
42008
|
+
message: ee.t("updatedThing", { thing: ee.t("user") })
|
|
42009
42009
|
}), n;
|
|
42010
42010
|
} catch (a) {
|
|
42011
42011
|
return this.handleError(a, {
|
|
@@ -42032,7 +42032,7 @@ const Ds = "companies", { LOAD_FILE: soe, FORM_RESET_OLD: BT } = Oe, { SET_FORM:
|
|
|
42032
42032
|
try {
|
|
42033
42033
|
return t(Ti, !0), await QB(e), t(r0.DELETE_COMPANY_USER, e), this.dispatch("application/SHOW_MESSAGE", {
|
|
42034
42034
|
type: "success",
|
|
42035
|
-
message:
|
|
42035
|
+
message: ee.t("removedThing", { thing: ee.t("user") }),
|
|
42036
42036
|
actions: {
|
|
42037
42037
|
undo: () => {
|
|
42038
42038
|
this.dispatch(`${Ei}/${Im}`, { id: e });
|
|
@@ -42413,7 +42413,7 @@ const $t = /* @__PURE__ */ Or(BY), ua = "documents2", {
|
|
|
42413
42413
|
try {
|
|
42414
42414
|
e(tr, !0), await Dr.send(r), Ft.trigger("document:send", t.data[r]), ["extension", "widget"].includes(Ir.value) || this.dispatch("application/SHOW_MESSAGE", {
|
|
42415
42415
|
type: "success",
|
|
42416
|
-
message:
|
|
42416
|
+
message: ee.t("sentThing", { thing: ee.t("document") })
|
|
42417
42417
|
});
|
|
42418
42418
|
} catch (n) {
|
|
42419
42419
|
throw n;
|
|
@@ -42462,7 +42462,7 @@ const $t = /* @__PURE__ */ Or(BY), ua = "documents2", {
|
|
|
42462
42462
|
sendSource: "reminder"
|
|
42463
42463
|
}), this.dispatch("application/SHOW_MESSAGE", {
|
|
42464
42464
|
type: "success",
|
|
42465
|
-
message:
|
|
42465
|
+
message: ee.t("sentThing", { thing: ee.t("reminder") })
|
|
42466
42466
|
});
|
|
42467
42467
|
} catch (n) {
|
|
42468
42468
|
throw n;
|
|
@@ -42505,7 +42505,7 @@ const $t = /* @__PURE__ */ Or(BY), ua = "documents2", {
|
|
|
42505
42505
|
]
|
|
42506
42506
|
}
|
|
42507
42507
|
}
|
|
42508
|
-
}, { data: i } = await Dr.get(e), o = (s) =>
|
|
42508
|
+
}, { data: i } = await Dr.get(e), o = (s) => ee.t(`propertyDesignationRequest.${s}`, {
|
|
42509
42509
|
ns: "actions",
|
|
42510
42510
|
interpolation: { prefix: "__", suffix: "__" }
|
|
42511
42511
|
});
|
|
@@ -42530,7 +42530,7 @@ const $t = /* @__PURE__ */ Or(BY), ua = "documents2", {
|
|
|
42530
42530
|
sendSource: "propertyDesignation"
|
|
42531
42531
|
}), this.dispatch("application/SHOW_MESSAGE", {
|
|
42532
42532
|
type: "success",
|
|
42533
|
-
message:
|
|
42533
|
+
message: ee.t("actions:propertyDesignationRequest.successMessage")
|
|
42534
42534
|
});
|
|
42535
42535
|
} catch (n) {
|
|
42536
42536
|
throw n;
|
|
@@ -42553,7 +42553,7 @@ const $t = /* @__PURE__ */ Or(BY), ua = "documents2", {
|
|
|
42553
42553
|
const s = t.data[n];
|
|
42554
42554
|
return Ft.trigger("document:update", s), Ft.trigger("document:save", s), a && !["extension", "widget"].includes(Ir.value) && this.dispatch("application/SHOW_MESSAGE", {
|
|
42555
42555
|
type: "success",
|
|
42556
|
-
message:
|
|
42556
|
+
message: ee.t("updatedThing", { thing: ee.t("document") })
|
|
42557
42557
|
}), n;
|
|
42558
42558
|
} catch (s) {
|
|
42559
42559
|
throw s;
|
|
@@ -42595,7 +42595,7 @@ const $t = /* @__PURE__ */ Or(BY), ua = "documents2", {
|
|
|
42595
42595
|
try {
|
|
42596
42596
|
return t(tr, !0), await Dr.delete(e), t(KY, e), Ft.trigger("document:remove", e), Ir.value !== "widget" && this.dispatch("application/SHOW_MESSAGE", {
|
|
42597
42597
|
type: "success",
|
|
42598
|
-
message:
|
|
42598
|
+
message: ee.t("removedThing", { thing: ee.t("document") }),
|
|
42599
42599
|
actions: {
|
|
42600
42600
|
undo: () => {
|
|
42601
42601
|
this.dispatch(`documents2/${jm}`, { id: e });
|
|
@@ -42650,15 +42650,15 @@ const $t = /* @__PURE__ */ Or(BY), ua = "documents2", {
|
|
|
42650
42650
|
return i && !["accepted", "denied"].includes(n) ? await this.dispatch(JY, {
|
|
42651
42651
|
displayType: "dialog",
|
|
42652
42652
|
type: "warning",
|
|
42653
|
-
title:
|
|
42654
|
-
message:
|
|
42653
|
+
title: ee.t("actions:updateDocumentDialog.title"),
|
|
42654
|
+
message: ee.t("actions:updateDocumentDialog.message"),
|
|
42655
42655
|
actions: {
|
|
42656
42656
|
cancel: {
|
|
42657
|
-
text:
|
|
42657
|
+
text: ee.t("actions:updateDocumentDialog.cancel"),
|
|
42658
42658
|
callback: "cancel"
|
|
42659
42659
|
},
|
|
42660
42660
|
submit: {
|
|
42661
|
-
text:
|
|
42661
|
+
text: ee.t("actions:updateDocumentDialog.submit"),
|
|
42662
42662
|
callback: async () => {
|
|
42663
42663
|
await t(ok, { id: r, doFetch: !1 }), await t(Yc, {
|
|
42664
42664
|
id: r,
|
|
@@ -42979,21 +42979,17 @@ function rK() {
|
|
|
42979
42979
|
var nK = rK();
|
|
42980
42980
|
const iK = /* @__PURE__ */ Or(nK);
|
|
42981
42981
|
function oK(t, e) {
|
|
42982
|
-
|
|
42983
|
-
|
|
42984
|
-
|
|
42985
|
-
|
|
42986
|
-
|
|
42987
|
-
|
|
42988
|
-
|
|
42989
|
-
|
|
42990
|
-
return d === p && p !== void 0 || h === f && f !== void 0;
|
|
42991
|
-
});
|
|
42992
|
-
l ? (l.children = [...l.children, o], l.createdAt = o.createdAt) : n.push({ ...o, children: [] });
|
|
42982
|
+
const r = [], n = /* @__PURE__ */ new Map(), i = () => {
|
|
42983
|
+
n.forEach((o) => r.push(o)), n.clear();
|
|
42984
|
+
};
|
|
42985
|
+
return t.forEach((o) => {
|
|
42986
|
+
var a, s, l;
|
|
42987
|
+
if (e.includes(o.code)) {
|
|
42988
|
+
const c = o.code + ((s = (a = o.data) == null ? void 0 : a.client) == null ? void 0 : s.id) || ((l = o.data) == null ? void 0 : l.email), u = n.get(c);
|
|
42989
|
+
u ? u.children.push(o) : n.set(c, { ...o, children: [] });
|
|
42993
42990
|
} else
|
|
42994
|
-
|
|
42995
|
-
}
|
|
42996
|
-
return n;
|
|
42991
|
+
i(), r.push(o);
|
|
42992
|
+
}), n.size && i(), r;
|
|
42997
42993
|
}
|
|
42998
42994
|
const nD = ({ nodes: t, data: e }) => {
|
|
42999
42995
|
const r = [];
|
|
@@ -43084,7 +43080,7 @@ const nD = ({ nodes: t, data: e }) => {
|
|
|
43084
43080
|
region: {
|
|
43085
43081
|
country: "sweden",
|
|
43086
43082
|
houseWorkType: null,
|
|
43087
|
-
reverseVat: !!i.find((d) =>
|
|
43083
|
+
reverseVat: !!i.find((d) => re(d, "region.reverseVat")),
|
|
43088
43084
|
houseWorkManualAmount: o.houseWorkManualAmount || null,
|
|
43089
43085
|
houseWorkWork: 0,
|
|
43090
43086
|
houseWorkAmount: o.houseWorkManualAmount || o.houseWorkAmount || null,
|
|
@@ -43129,10 +43125,10 @@ const nD = ({ nodes: t, data: e }) => {
|
|
|
43129
43125
|
clients: r = [],
|
|
43130
43126
|
articles: n = [],
|
|
43131
43127
|
acceptedAt: i
|
|
43132
|
-
} = t, o =
|
|
43133
|
-
enabled:
|
|
43134
|
-
interval:
|
|
43135
|
-
show:
|
|
43128
|
+
} = t, o = re(t, "data.packageGroups", {}), a = re(t, "data.formSettings.useVat", !0), s = {
|
|
43129
|
+
enabled: re(t, "data.formSettings.rounding.enabled", !1),
|
|
43130
|
+
interval: re(t, "data.formSettings.rounding.interval", 1),
|
|
43131
|
+
show: re(t, "data.formSettings.rounding.show", !0)
|
|
43136
43132
|
}, l = [], c = [];
|
|
43137
43133
|
let u = null, d = null, p = null;
|
|
43138
43134
|
if (Object.keys(o).forEach((v) => {
|
|
@@ -43140,13 +43136,13 @@ const nD = ({ nodes: t, data: e }) => {
|
|
|
43140
43136
|
({ isSelected: b }) => b
|
|
43141
43137
|
);
|
|
43142
43138
|
c.push(...g.map(({ packageId: b }) => b));
|
|
43143
|
-
const y =
|
|
43139
|
+
const y = re(g, "[0].data.prices.type", "fixed");
|
|
43144
43140
|
l.push(...Array.isArray(y) ? y : [y]), g.forEach((b) => {
|
|
43145
|
-
const { maxTotal: w = null, region: x } =
|
|
43141
|
+
const { maxTotal: w = null, region: x } = re(b, "data.prices") || {};
|
|
43146
43142
|
y === "openAccMaxPrice" && !Number.isNaN(Number.parseInt(w, 10)) && (u += w), x && !Number.isNaN(Number.parseInt(x.houseWorkManualAmount, 10)) && (d += x.houseWorkManualAmount);
|
|
43147
43143
|
});
|
|
43148
43144
|
}), !l.length) {
|
|
43149
|
-
const v =
|
|
43145
|
+
const v = re(t, "data.prices.type", "fixed");
|
|
43150
43146
|
l.push(...Array.isArray(v) ? v : [v]);
|
|
43151
43147
|
}
|
|
43152
43148
|
const h = n.filter(
|
|
@@ -43182,7 +43178,7 @@ const nD = ({ nodes: t, data: e }) => {
|
|
|
43182
43178
|
maxTotal: u
|
|
43183
43179
|
};
|
|
43184
43180
|
}, cK = (t) => {
|
|
43185
|
-
const e = (i) =>
|
|
43181
|
+
const e = (i) => ee.t(`_common:documentMentions.${i}`), r = !!re(t, "clients.0"), n = {
|
|
43186
43182
|
clientName: {
|
|
43187
43183
|
key: "clients.0.name",
|
|
43188
43184
|
meta: { inputDisabled: !r, virtual: !0 }
|
|
@@ -43264,8 +43260,8 @@ const nD = ({ nodes: t, data: e }) => {
|
|
|
43264
43260
|
};
|
|
43265
43261
|
for (const i of Object.keys(n)) {
|
|
43266
43262
|
n[i].label = e(i);
|
|
43267
|
-
const o =
|
|
43268
|
-
n[i].value = n[i].filter === "formatDate" ?
|
|
43263
|
+
const o = re(t, n[i].key) || "";
|
|
43264
|
+
n[i].value = n[i].filter === "formatDate" ? ee.formatDate(o) : o;
|
|
43269
43265
|
}
|
|
43270
43266
|
return n;
|
|
43271
43267
|
}, Pa = (t) => t ? Object.keys(t).reduce(
|
|
@@ -43292,7 +43288,7 @@ function oD(t) {
|
|
|
43292
43288
|
o(a[s], c, l);
|
|
43293
43289
|
}) : Array.isArray(a[s]) ? a[s].forEach((c, u) => {
|
|
43294
43290
|
o(a[s], u, l);
|
|
43295
|
-
}) : typeof
|
|
43291
|
+
}) : typeof re(a, s) > "u" && $t(a, s, l);
|
|
43296
43292
|
}
|
|
43297
43293
|
o(t.data.formSettings, i, n[i]);
|
|
43298
43294
|
}), t;
|
|
@@ -43363,8 +43359,8 @@ const uK = (t) => {
|
|
|
43363
43359
|
...e && e.region,
|
|
43364
43360
|
reverseVat: t.reverseVat && t.customerType === "company"
|
|
43365
43361
|
},
|
|
43366
|
-
documentRole:
|
|
43367
|
-
signOrder:
|
|
43362
|
+
documentRole: re(e, "documentRole", "signee"),
|
|
43363
|
+
signOrder: re(e, "signOrder", 0)
|
|
43368
43364
|
};
|
|
43369
43365
|
return {
|
|
43370
43366
|
...l0(),
|
|
@@ -43372,7 +43368,7 @@ const uK = (t) => {
|
|
|
43372
43368
|
...r
|
|
43373
43369
|
};
|
|
43374
43370
|
}, loe = (t = {}) => {
|
|
43375
|
-
const e = t, r =
|
|
43371
|
+
const e = t, r = re(e, "addresses.standard", {}), n = re(e, "addresses.work", {});
|
|
43376
43372
|
return {
|
|
43377
43373
|
id: e.endCustomerId,
|
|
43378
43374
|
EndCustomerId: e.endCustomerId,
|
|
@@ -43391,9 +43387,9 @@ const uK = (t) => {
|
|
|
43391
43387
|
workCity: n.city,
|
|
43392
43388
|
vatNumber: e.vatNumber || uK(e.orgNo) || "",
|
|
43393
43389
|
separateWorkAddress: !!Object.keys(n).length,
|
|
43394
|
-
reverseVat:
|
|
43395
|
-
longitude:
|
|
43396
|
-
latitude:
|
|
43390
|
+
reverseVat: re(e, "region.reverseVat", !1),
|
|
43391
|
+
longitude: re(e, "addresses[0].longitude", null),
|
|
43392
|
+
latitude: re(e, "addresses[0].latitude", null),
|
|
43397
43393
|
reference: e.type === "company" ? e.name : null
|
|
43398
43394
|
};
|
|
43399
43395
|
}, pK = ({
|
|
@@ -43452,7 +43448,7 @@ const uK = (t) => {
|
|
|
43452
43448
|
],
|
|
43453
43449
|
...typeof a == "boolean" && { showPriceSummary: a }
|
|
43454
43450
|
};
|
|
43455
|
-
}, hK = (t, e = {}) => (!t || !t.data ||
|
|
43451
|
+
}, hK = (t, e = {}) => (!t || !t.data || re(t, "template.views.read.nodes", []).filter((n) => n.itemType === "header" && !!n.value.header).map((n) => n.value.header.substring(5)).forEach((n) => {
|
|
43456
43452
|
if (t.data[n] && t.data[n].layout === "legacy") {
|
|
43457
43453
|
const i = {
|
|
43458
43454
|
...e,
|
|
@@ -43461,12 +43457,12 @@ const uK = (t) => {
|
|
|
43461
43457
|
t.data[n] = fK({
|
|
43462
43458
|
header: {
|
|
43463
43459
|
...t.data[n],
|
|
43464
|
-
title:
|
|
43460
|
+
title: re(t, "data.name", "")
|
|
43465
43461
|
},
|
|
43466
43462
|
theme: i
|
|
43467
43463
|
});
|
|
43468
43464
|
}
|
|
43469
|
-
}), t), ki = (t) =>
|
|
43465
|
+
}), t), ki = (t) => ee.t(`components:document.chapters.${t}.title`), wr = (t) => ee.t(`components:document.chapters.subChapters.${t}.title`), mK = {
|
|
43470
43466
|
// Based on folder name in document blocks as object key
|
|
43471
43467
|
// and node itemType in array values
|
|
43472
43468
|
docChapter: ["section"],
|
|
@@ -43549,13 +43545,13 @@ const uK = (t) => {
|
|
|
43549
43545
|
}) => {
|
|
43550
43546
|
const o = /* @__PURE__ */ Object.create(null), a = gK();
|
|
43551
43547
|
e.forEach((l) => {
|
|
43552
|
-
const c = yK(l.itemType), u =
|
|
43548
|
+
const c = yK(l.itemType), u = re(
|
|
43553
43549
|
a,
|
|
43554
43550
|
`${c}.${l.itemId}`,
|
|
43555
43551
|
{}
|
|
43556
43552
|
), d = l.value && typeof l.value == "object";
|
|
43557
43553
|
r && d && (Object.keys(l.value).forEach((p) => {
|
|
43558
|
-
u[p] =
|
|
43554
|
+
u[p] = re(t, `${l.value[p]}`);
|
|
43559
43555
|
}), l._value = l.value), o[l.nodeId] = {
|
|
43560
43556
|
...l,
|
|
43561
43557
|
componentName: c,
|
|
@@ -44055,7 +44051,7 @@ let Mn = class {
|
|
|
44055
44051
|
return this.data.language;
|
|
44056
44052
|
}
|
|
44057
44053
|
get theme() {
|
|
44058
|
-
return
|
|
44054
|
+
return re(
|
|
44059
44055
|
this,
|
|
44060
44056
|
"_data.validationSchema.properties.data.properties.theme.default",
|
|
44061
44057
|
{}
|
|
@@ -44074,7 +44070,7 @@ let Mn = class {
|
|
|
44074
44070
|
get defaultMedia() {
|
|
44075
44071
|
if (this.thumbnailUrl)
|
|
44076
44072
|
return { type: "image", resourceUrl: this.thumbnailUrl };
|
|
44077
|
-
const { defaultData: e } = this, r = (
|
|
44073
|
+
const { defaultData: e } = this, r = (re(this, "_data.views.read.nodes") || []).filter(
|
|
44078
44074
|
(i) => ["header", "coverBlock"].includes(i.itemType)
|
|
44079
44075
|
);
|
|
44080
44076
|
let n = null;
|
|
@@ -44085,17 +44081,17 @@ let Mn = class {
|
|
|
44085
44081
|
if (!o) continue;
|
|
44086
44082
|
if (i.itemType === "header") {
|
|
44087
44083
|
o += ".items";
|
|
44088
|
-
const a = (
|
|
44084
|
+
const a = (re(e, o) || []).find(
|
|
44089
44085
|
({ type: s }) => s === "media"
|
|
44090
44086
|
);
|
|
44091
44087
|
a && a.media && ({ media: n } = a);
|
|
44092
44088
|
} else if (i.itemType === "coverBlock") {
|
|
44093
|
-
const { type: a, cover: s } =
|
|
44089
|
+
const { type: a, cover: s } = re(e, o) || {};
|
|
44094
44090
|
s && (n = { ...a && { type: a }, ...s });
|
|
44095
44091
|
}
|
|
44096
44092
|
}
|
|
44097
44093
|
if (!n) {
|
|
44098
|
-
const i =
|
|
44094
|
+
const i = re(this, "theme.background");
|
|
44099
44095
|
i && (n = { type: "image", resourceUrl: i });
|
|
44100
44096
|
}
|
|
44101
44097
|
return n;
|
|
@@ -44114,7 +44110,7 @@ let Mn = class {
|
|
|
44114
44110
|
return this.getDefaultData();
|
|
44115
44111
|
}
|
|
44116
44112
|
get categoryTags() {
|
|
44117
|
-
return
|
|
44113
|
+
return re(this.defaultData, "tags", []).reduce(
|
|
44118
44114
|
(e, r) => [...e, r.name],
|
|
44119
44115
|
[]
|
|
44120
44116
|
);
|
|
@@ -46693,7 +46689,7 @@ cc.registerFilter("priceFormat", function(t) {
|
|
|
46693
46689
|
return vj(t, { currency: r });
|
|
46694
46690
|
});
|
|
46695
46691
|
cc.registerFilter("formatDate", function(t) {
|
|
46696
|
-
return
|
|
46692
|
+
return ee.formatDate(t);
|
|
46697
46693
|
});
|
|
46698
46694
|
const doe = (t, e = {}, r = {}, n = {}) => {
|
|
46699
46695
|
const { prefix: i = "{{", suffix: o = "}}", filterDelimiter: a = "|" } = n || {};
|
|
@@ -46702,7 +46698,7 @@ const doe = (t, e = {}, r = {}, n = {}) => {
|
|
|
46702
46698
|
(s, l) => {
|
|
46703
46699
|
const [c, u = ""] = l.split(a), d = e[c];
|
|
46704
46700
|
if (!d) return s;
|
|
46705
|
-
const p =
|
|
46701
|
+
const p = re(r, c, "") || "";
|
|
46706
46702
|
return `<span class="mention" data-mention-id="${c}" data-tooltip="${p}" data-filter="${u}">${d}</span>`;
|
|
46707
46703
|
}
|
|
46708
46704
|
) : "";
|
|
@@ -46841,10 +46837,10 @@ class HX {
|
|
|
46841
46837
|
);
|
|
46842
46838
|
}
|
|
46843
46839
|
get priceType() {
|
|
46844
|
-
return
|
|
46840
|
+
return re(this, "selectedPackages[0].prices.type", "fixed");
|
|
46845
46841
|
}
|
|
46846
46842
|
get currency() {
|
|
46847
|
-
return
|
|
46843
|
+
return re(this, "selectedPackages[0].prices.currency") || this._currency;
|
|
46848
46844
|
}
|
|
46849
46845
|
get maxTotal() {
|
|
46850
46846
|
return this.priceType === "openAccMaxPrice" ? this.selectedPackages.reduce(
|
|
@@ -46854,7 +46850,7 @@ class HX {
|
|
|
46854
46850
|
}
|
|
46855
46851
|
get houseWorkManualAmount() {
|
|
46856
46852
|
return this.selectedPackages.some(
|
|
46857
|
-
({ prices: e }) =>
|
|
46853
|
+
({ prices: e }) => re(e, "region.houseWorkManualAmount", null) !== null
|
|
46858
46854
|
) ? this.selectedPackages.reduce((e, { prices: r }) => {
|
|
46859
46855
|
const { houseWorkManualAmount: n } = r.region || {};
|
|
46860
46856
|
return n ? e + n : e;
|
|
@@ -46881,15 +46877,15 @@ class HX {
|
|
|
46881
46877
|
...e,
|
|
46882
46878
|
type: this.type,
|
|
46883
46879
|
prices: hd({
|
|
46884
|
-
type:
|
|
46885
|
-
currency:
|
|
46880
|
+
type: re(e, "data.prices.type", "fixed"),
|
|
46881
|
+
currency: re(e, "data.prices.currency") || this.currency,
|
|
46886
46882
|
// Use document currency if unset pkg.data.prices
|
|
46887
46883
|
articles: e.articles,
|
|
46888
46884
|
clients: e.clients,
|
|
46889
|
-
maxTotal:
|
|
46885
|
+
maxTotal: re(e, "data.prices.maxTotal", null),
|
|
46890
46886
|
region: {
|
|
46891
46887
|
country: "sweden",
|
|
46892
|
-
houseWorkManualAmount:
|
|
46888
|
+
houseWorkManualAmount: re(
|
|
46893
46889
|
e,
|
|
46894
46890
|
"data.prices.region.houseWorkManualAmount",
|
|
46895
46891
|
null
|
|
@@ -47017,19 +47013,19 @@ let Ty = class {
|
|
|
47017
47013
|
// Resolve order for receiver/sender titles:
|
|
47018
47014
|
// edited value > settings value > default value
|
|
47019
47015
|
get receiverString() {
|
|
47020
|
-
return
|
|
47016
|
+
return re(this._doc, "data.receiverString") || re(this._props, "defaultReceiverString") || ee.t("_common:receiver", {
|
|
47021
47017
|
lng: this.language,
|
|
47022
47018
|
postProcess: "capitalize"
|
|
47023
47019
|
});
|
|
47024
47020
|
}
|
|
47025
47021
|
get senderString() {
|
|
47026
|
-
return
|
|
47022
|
+
return re(this._doc, "data.senderString") || re(this._props, "defaultSenderString") || ee.t("_common:sender", {
|
|
47027
47023
|
lng: this.language,
|
|
47028
47024
|
postProcess: "capitalize"
|
|
47029
47025
|
});
|
|
47030
47026
|
}
|
|
47031
47027
|
get sender() {
|
|
47032
|
-
const e =
|
|
47028
|
+
const e = re(this._doc, "data.sender", {});
|
|
47033
47029
|
return {
|
|
47034
47030
|
company: {
|
|
47035
47031
|
// TODO - Remove this conditional once the store is updated
|
|
@@ -47074,7 +47070,7 @@ let Ty = class {
|
|
|
47074
47070
|
get remainingSignatures() {
|
|
47075
47071
|
return this.clients.filter(
|
|
47076
47072
|
({ documentRole: e }) => ["signee", "approver"].includes(e)
|
|
47077
|
-
).reduce((e, r) =>
|
|
47073
|
+
).reduce((e, r) => re(r, "answer.didAccept") ? e : e + 1, 0);
|
|
47078
47074
|
}
|
|
47079
47075
|
get answerActions() {
|
|
47080
47076
|
const e = {
|
|
@@ -47082,7 +47078,7 @@ let Ty = class {
|
|
|
47082
47078
|
hasAnswered: !1,
|
|
47083
47079
|
showActions: !1,
|
|
47084
47080
|
waitingForOthers: !1
|
|
47085
|
-
}, r = !!
|
|
47081
|
+
}, r = !!re(this.viewer, "answer"), n = !!re(this.viewer, "answerMethod.accept", !1) && ["signee", "approver"].includes(re(this.viewer, "documentRole")), i = ["sent", "draft"].includes(this.status);
|
|
47086
47082
|
return n && i && !r && (e.canAnswer = !0), e.showActions = n || this.isPreview, e.hasAnswered = r, e.waitingForOthers = r && i, e;
|
|
47087
47083
|
}
|
|
47088
47084
|
get id() {
|
|
@@ -47167,11 +47163,11 @@ let Ty = class {
|
|
|
47167
47163
|
return this._doc.excludeFromStats || !1;
|
|
47168
47164
|
}
|
|
47169
47165
|
get setPricesIncVat() {
|
|
47170
|
-
return
|
|
47166
|
+
return re(this, "data.formSettings.setPricesIncVat", null) && this.useVat;
|
|
47171
47167
|
}
|
|
47172
47168
|
// Always return null if not yet defined, then we can setup defaults
|
|
47173
47169
|
get formSettings() {
|
|
47174
|
-
return
|
|
47170
|
+
return re(this, "data.formSettings");
|
|
47175
47171
|
}
|
|
47176
47172
|
get useVat() {
|
|
47177
47173
|
return this.formSettings.useVat;
|
|
@@ -47224,10 +47220,7 @@ let Ty = class {
|
|
|
47224
47220
|
const a = r[i + 1];
|
|
47225
47221
|
a && a.code === "statusChanged" && (a.data.status !== o.code || n <= 1) && r.splice(i + 1, 1);
|
|
47226
47222
|
}
|
|
47227
|
-
return ["viewed", "mailOpened"]
|
|
47228
|
-
(i, o) => oK(i, o),
|
|
47229
|
-
r
|
|
47230
|
-
);
|
|
47223
|
+
return oK(r, ["viewed", "mailOpened"]);
|
|
47231
47224
|
}
|
|
47232
47225
|
// Doc status getter with virtual statuses included
|
|
47233
47226
|
// TODO: combine with regular status getter when all consequences are known
|
|
@@ -47251,25 +47244,25 @@ let Ty = class {
|
|
|
47251
47244
|
return this.categoryTags[0];
|
|
47252
47245
|
}
|
|
47253
47246
|
get categoryTags() {
|
|
47254
|
-
return
|
|
47247
|
+
return re(this._doc, "tags", []).reduce((e, r) => [...e, r.name], []);
|
|
47255
47248
|
}
|
|
47256
47249
|
get language() {
|
|
47257
|
-
return
|
|
47250
|
+
return re(this, "_doc.language", "en");
|
|
47258
47251
|
}
|
|
47259
47252
|
set language(e) {
|
|
47260
47253
|
return $t(this, "_doc.language", e);
|
|
47261
47254
|
}
|
|
47262
47255
|
get externalReferences() {
|
|
47263
|
-
return
|
|
47256
|
+
return re(this, "_doc.externalReferences", []);
|
|
47264
47257
|
}
|
|
47265
47258
|
set externalReferences(e) {
|
|
47266
47259
|
return $t(this, "_doc.externalReferences", e);
|
|
47267
47260
|
}
|
|
47268
47261
|
get currency() {
|
|
47269
|
-
return
|
|
47262
|
+
return re(this, "_doc.currency");
|
|
47270
47263
|
}
|
|
47271
47264
|
get tags() {
|
|
47272
|
-
return
|
|
47265
|
+
return re(this, "_doc.tags", []);
|
|
47273
47266
|
}
|
|
47274
47267
|
set tags(e) {
|
|
47275
47268
|
return $t(this, "_doc.tags", e);
|
|
@@ -47306,7 +47299,7 @@ let Ty = class {
|
|
|
47306
47299
|
);
|
|
47307
47300
|
if (p.length) {
|
|
47308
47301
|
const { maxTotal: f, houseWorkManualAmount: m } = o.reduce(
|
|
47309
|
-
(g, { prices: y }) => (g.maxTotal += y.maxTotal, g.houseWorkManualAmount +=
|
|
47302
|
+
(g, { prices: y }) => (g.maxTotal += y.maxTotal, g.houseWorkManualAmount += re(
|
|
47310
47303
|
y,
|
|
47311
47304
|
"region.houseWorkManualAmount",
|
|
47312
47305
|
0
|
|
@@ -47352,7 +47345,7 @@ let Ty = class {
|
|
|
47352
47345
|
// TODO showTravel,
|
|
47353
47346
|
// TODO showIsBinding,
|
|
47354
47347
|
// TODO chapterPaymentSubtitle,
|
|
47355
|
-
}, r =
|
|
47348
|
+
}, r = re(this._doc, "data.theme", {});
|
|
47356
47349
|
return { ...e, ...this._theme, ...Pa(r) };
|
|
47357
47350
|
}
|
|
47358
47351
|
set theme(e) {
|
|
@@ -47362,14 +47355,14 @@ let Ty = class {
|
|
|
47362
47355
|
this._pdfOptions = e;
|
|
47363
47356
|
}
|
|
47364
47357
|
getAllNodesWithType(e) {
|
|
47365
|
-
return (
|
|
47358
|
+
return (re(this, "template.views.read.nodes") || []).filter(({ itemType: n }) => n === e);
|
|
47366
47359
|
}
|
|
47367
47360
|
get attachedFiles() {
|
|
47368
47361
|
const e = [];
|
|
47369
47362
|
return this.getAllNodesWithType("attachments").forEach((r) => {
|
|
47370
47363
|
const n = r.value.attachments;
|
|
47371
47364
|
if (!n) return;
|
|
47372
|
-
const i =
|
|
47365
|
+
const i = re(this, n);
|
|
47373
47366
|
i && Array.isArray(i) && e.push(...i);
|
|
47374
47367
|
}), e;
|
|
47375
47368
|
}
|
|
@@ -47451,7 +47444,7 @@ let Ty = class {
|
|
|
47451
47444
|
{
|
|
47452
47445
|
id: n.key,
|
|
47453
47446
|
label: n.label,
|
|
47454
|
-
tooltip:
|
|
47447
|
+
tooltip: re(this._doc, n.key),
|
|
47455
47448
|
filter: n.filter
|
|
47456
47449
|
}
|
|
47457
47450
|
],
|
|
@@ -47560,7 +47553,7 @@ let Ty = class {
|
|
|
47560
47553
|
useSignOrder: u
|
|
47561
47554
|
} = this.duplicate().getRawData();
|
|
47562
47555
|
Object.keys(i).forEach((p) => {
|
|
47563
|
-
|
|
47556
|
+
re(r, `validationSchema.properties.data.properties.${p}`) ? $t(
|
|
47564
47557
|
r,
|
|
47565
47558
|
`validationSchema.properties.data.properties.${p}.default`,
|
|
47566
47559
|
i[p]
|
|
@@ -47664,7 +47657,7 @@ class uc extends Ty {
|
|
|
47664
47657
|
}) {
|
|
47665
47658
|
if (!i) throw new Error("Missing param getters");
|
|
47666
47659
|
let a = e;
|
|
47667
|
-
n && !n("prices", "read") &&
|
|
47660
|
+
n && !n("prices", "read") && re(e, "articles", []).length && (a = {
|
|
47668
47661
|
...e,
|
|
47669
47662
|
articles: WX(e.articles)
|
|
47670
47663
|
});
|
|
@@ -47703,14 +47696,14 @@ class uc extends Ty {
|
|
|
47703
47696
|
showClingLogo: g
|
|
47704
47697
|
})
|
|
47705
47698
|
}), this._documentOptions = r, this._can = n, this._defaultScope = "documents", this._getters = i;
|
|
47706
|
-
const y = o || !Object.keys(
|
|
47699
|
+
const y = o || !Object.keys(re(this, "_doc.company", {})).length || !Object.keys(re(this, "_doc.companyUser", {})).length, b = y ? this._doc.companyId ? i["companies/companyById"](this._doc.companyId) : i["application/company"] : this._doc.company;
|
|
47707
47700
|
b && y && (b.fSkatt = c, b.insurance = u);
|
|
47708
47701
|
const w = y ? this._doc.companyUserId ? i["companyUsers/referenceById"](this._doc.companyUserId) : i["application/user"] : this._doc.companyUser;
|
|
47709
47702
|
this.sender = this._documentOptions.sender || {
|
|
47710
47703
|
company: b,
|
|
47711
47704
|
user: w
|
|
47712
47705
|
};
|
|
47713
|
-
const x = this._getters["application/companyAccount"], T =
|
|
47706
|
+
const x = this._getters["application/companyAccount"], T = re(x, "customViewRoute"), _ = this._getters["application/feature"]("subdomain") && T;
|
|
47714
47707
|
this._baseDomain = _ ? T : _e.baseUrl;
|
|
47715
47708
|
}
|
|
47716
47709
|
can(e, r = null, n = null) {
|
|
@@ -47771,7 +47764,7 @@ class uc extends Ty {
|
|
|
47771
47764
|
super.clients = e;
|
|
47772
47765
|
}
|
|
47773
47766
|
get signOptions() {
|
|
47774
|
-
let e =
|
|
47767
|
+
let e = re(this, "_doc.data.signOptions") || [];
|
|
47775
47768
|
const r = this._getters["application/feature"]("bankId");
|
|
47776
47769
|
if (Array.isArray(e) && e.length)
|
|
47777
47770
|
return e.includes("bankId") && !r && (e = e.filter((i) => i !== "bankId")), e;
|
|
@@ -47957,7 +47950,7 @@ const GX = {
|
|
|
47957
47950
|
const { data: n } = await qB(e);
|
|
47958
47951
|
return t(Ea.SET_ENDCUSTOMERS, { data: n }), r && Ir.value !== "widget" && this.dispatch("application/SHOW_MESSAGE", {
|
|
47959
47952
|
type: "success",
|
|
47960
|
-
message:
|
|
47953
|
+
message: ee.t("createdThing", { thing: ee.t("client") })
|
|
47961
47954
|
}), n.id;
|
|
47962
47955
|
} catch (n) {
|
|
47963
47956
|
return this.handleError(n, {
|
|
@@ -47985,7 +47978,7 @@ const GX = {
|
|
|
47985
47978
|
id: r
|
|
47986
47979
|
}), Ir.value !== "widget" && this.dispatch("application/SHOW_MESSAGE", {
|
|
47987
47980
|
type: "success",
|
|
47988
|
-
message:
|
|
47981
|
+
message: ee.t("updatedThing", { thing: ee.t("client") })
|
|
47989
47982
|
}), !0;
|
|
47990
47983
|
} catch (i) {
|
|
47991
47984
|
return this.handleError(i, {
|
|
@@ -48011,7 +48004,7 @@ const GX = {
|
|
|
48011
48004
|
try {
|
|
48012
48005
|
return t(Ci, !0), await GB(e), t(Ea.DELETE_ENDCUSTOMER, e), this.dispatch("application/SHOW_MESSAGE", {
|
|
48013
48006
|
type: "success",
|
|
48014
|
-
message:
|
|
48007
|
+
message: ee.t("removedThing", { thing: ee.t("client") }),
|
|
48015
48008
|
actions: {
|
|
48016
48009
|
undo: () => {
|
|
48017
48010
|
this.dispatch(`endCustomers/${Jm}`, { id: e });
|
|
@@ -48608,7 +48601,7 @@ const GX = {
|
|
|
48608
48601
|
// Temporary
|
|
48609
48602
|
partiesString: {
|
|
48610
48603
|
anyOf: [{ type: "string" }, { type: "null" }],
|
|
48611
|
-
default:
|
|
48604
|
+
default: ee.t("components:document.chapters.parties.title", {
|
|
48612
48605
|
lng: t
|
|
48613
48606
|
})
|
|
48614
48607
|
},
|
|
@@ -48651,7 +48644,7 @@ const GX = {
|
|
|
48651
48644
|
default: {
|
|
48652
48645
|
kh0lol91: {
|
|
48653
48646
|
type: "",
|
|
48654
|
-
title:
|
|
48647
|
+
title: ee.t(
|
|
48655
48648
|
"components:document.chapters.packageGroup.title",
|
|
48656
48649
|
{ lng: t }
|
|
48657
48650
|
),
|
|
@@ -48981,7 +48974,7 @@ const GQ = {
|
|
|
48981
48974
|
defaultData: x.defaultData
|
|
48982
48975
|
};
|
|
48983
48976
|
}
|
|
48984
|
-
const y =
|
|
48977
|
+
const y = re(f, "template.defaultData", {});
|
|
48985
48978
|
if (f = {
|
|
48986
48979
|
...f,
|
|
48987
48980
|
...y,
|
|
@@ -49005,7 +48998,7 @@ const GQ = {
|
|
|
49005
48998
|
}
|
|
49006
48999
|
if (c && (f.projectId = c), u) {
|
|
49007
49000
|
await this.dispatch($Q, { id: u });
|
|
49008
|
-
const y = r["endCustomers/endCustomerById"](u), b =
|
|
49001
|
+
const y = r["endCustomers/endCustomerById"](u), b = re(
|
|
49009
49002
|
f,
|
|
49010
49003
|
"template.defaultData.data.defaultAnswerMethod"
|
|
49011
49004
|
), w = dK(y, {
|
|
@@ -49028,9 +49021,9 @@ const GQ = {
|
|
|
49028
49021
|
// uniqueId needed for send order logic
|
|
49029
49022
|
];
|
|
49030
49023
|
}
|
|
49031
|
-
const m =
|
|
49024
|
+
const m = re(f, "data.defaultAnswerMethod", null);
|
|
49032
49025
|
m && (f.clients = f.clients.map(
|
|
49033
|
-
(y) =>
|
|
49026
|
+
(y) => re(y, "answerMethod.accept") !== "inPerson" ? { ...y, answerMethod: m } : y
|
|
49034
49027
|
) || []);
|
|
49035
49028
|
let v = {
|
|
49036
49029
|
...f,
|
|
@@ -49059,7 +49052,7 @@ const GQ = {
|
|
|
49059
49052
|
async [VQ]({ commit: t }, { formData: e = null } = {}) {
|
|
49060
49053
|
let r = {
|
|
49061
49054
|
id: null,
|
|
49062
|
-
language:
|
|
49055
|
+
language: ee.lang,
|
|
49063
49056
|
currency: br[_e.brand].defaultCurrency,
|
|
49064
49057
|
data: {},
|
|
49065
49058
|
template: null,
|
|
@@ -49077,16 +49070,16 @@ const GQ = {
|
|
|
49077
49070
|
defaultData: o.defaultData
|
|
49078
49071
|
};
|
|
49079
49072
|
}
|
|
49080
|
-
const i =
|
|
49073
|
+
const i = re(r, "template.defaultData", {});
|
|
49081
49074
|
r = {
|
|
49082
49075
|
...r,
|
|
49083
49076
|
...i
|
|
49084
49077
|
};
|
|
49085
49078
|
}
|
|
49086
49079
|
r.language === "sv" && r.data.defaultAnswerMethod && (r.data.defaultAnswerMethod.accept = "bankId");
|
|
49087
|
-
const n =
|
|
49080
|
+
const n = re(r, "data.defaultAnswerMethod", null);
|
|
49088
49081
|
n && (r.clients = r.clients.map(
|
|
49089
|
-
(i) =>
|
|
49082
|
+
(i) => re(i, "answerMethod.accept") !== "inPerson" ? { ...i, answerMethod: n } : i
|
|
49090
49083
|
) || []), t(eg, {
|
|
49091
49084
|
key: "document2",
|
|
49092
49085
|
formData: {
|
|
@@ -49156,7 +49149,7 @@ const GQ = {
|
|
|
49156
49149
|
*/
|
|
49157
49150
|
async [BQ]({ dispatch: t }, { doSend: e = !1 } = {}) {
|
|
49158
49151
|
try {
|
|
49159
|
-
const r = await t(Qk), n = this.getters["documents2/byId"](r), i = !!
|
|
49152
|
+
const r = await t(Qk), n = this.getters["documents2/byId"](r), i = !!re(n, "senderClient");
|
|
49160
49153
|
return e && !i && await this.dispatch(IQ, { id: r }), r;
|
|
49161
49154
|
} catch (r) {
|
|
49162
49155
|
return this.handleError(r), null;
|
|
@@ -49180,9 +49173,9 @@ const GQ = {
|
|
|
49180
49173
|
const a = (c) => Aa.t(`documentTemplateView.${c}`, {
|
|
49181
49174
|
lng: i.language,
|
|
49182
49175
|
interpolation: { prefix: "__", suffix: "__" }
|
|
49183
|
-
}), s =
|
|
49176
|
+
}), s = re(i, "data.defaultAnswerMethod", null);
|
|
49184
49177
|
s && i.clients && Array.isArray(i.clients) && (i.clients = i.clients.map(
|
|
49185
|
-
(c) =>
|
|
49178
|
+
(c) => re(c, "answerMethod.accept") !== "inPerson" ? { ...c, answerMethod: s } : c
|
|
49186
49179
|
));
|
|
49187
49180
|
const l = {
|
|
49188
49181
|
...i,
|
|
@@ -49232,7 +49225,7 @@ const GQ = {
|
|
|
49232
49225
|
},
|
|
49233
49226
|
pdfConfig: {
|
|
49234
49227
|
locale: Aa.locale,
|
|
49235
|
-
timeZone:
|
|
49228
|
+
timeZone: re(Intl.DateTimeFormat().resolvedOptions(), "timeZone") || ""
|
|
49236
49229
|
}
|
|
49237
49230
|
};
|
|
49238
49231
|
return delete l.company, delete l.companyUser, o ? (i.clearAnswerBeforePut && (await this.dispatch(Zk, { id: o, doFetch: !1 }), await this.dispatch(Oe.DO_UPDATE_DOCUMENT2, {
|
|
@@ -49261,15 +49254,15 @@ const GQ = {
|
|
|
49261
49254
|
this.dispatch(LQ, {
|
|
49262
49255
|
displayType: "dialog",
|
|
49263
49256
|
type: "primary",
|
|
49264
|
-
title:
|
|
49265
|
-
message:
|
|
49257
|
+
title: ee.t(`actions:editDocumentDialog.${c}.title`),
|
|
49258
|
+
message: ee.t(`actions:editDocumentDialog.${c}.message`),
|
|
49266
49259
|
actions: {
|
|
49267
49260
|
cancel: {
|
|
49268
|
-
text:
|
|
49261
|
+
text: ee.t("_common:cancel"),
|
|
49269
49262
|
callback: "cancel"
|
|
49270
49263
|
},
|
|
49271
49264
|
submit: {
|
|
49272
|
-
text:
|
|
49265
|
+
text: ee.t(`actions:editDocumentDialog.${c}.submit`),
|
|
49273
49266
|
callback: async () => {
|
|
49274
49267
|
if (c === "accepted")
|
|
49275
49268
|
await e(Xk, {
|
|
@@ -49315,7 +49308,7 @@ const GQ = {
|
|
|
49315
49308
|
);
|
|
49316
49309
|
r(e2, {
|
|
49317
49310
|
key: "document2.data.fields",
|
|
49318
|
-
value: { ...
|
|
49311
|
+
value: { ...re(n, "data.fields"), ...s }
|
|
49319
49312
|
});
|
|
49320
49313
|
}
|
|
49321
49314
|
}
|
|
@@ -49352,7 +49345,7 @@ const GQ = {
|
|
|
49352
49345
|
};
|
|
49353
49346
|
function KQ(t) {
|
|
49354
49347
|
const e = { email: !1, sms: !1 };
|
|
49355
|
-
return
|
|
49348
|
+
return re(t, "clients", []).forEach((r) => {
|
|
49356
49349
|
r.deliveryTypes.indexOf("sms") > -1 && (e.sms = !0), r.deliveryTypes.indexOf("email") > -1 && (e.email = !0);
|
|
49357
49350
|
}), e.sms && !ai.checkFeature("sms") && (e.sms = !1), e;
|
|
49358
49351
|
}
|
|
@@ -50259,7 +50252,7 @@ const Wee = /* @__PURE__ */ Or(qee), { LOAD_EVENTS_FOR_PROJECT: Gee } = On, { SE
|
|
|
50259
50252
|
}
|
|
50260
50253
|
return await wB(n), t(pd.DELETE_PROJECT_FILE, { projectId: r, id: n }), this.dispatch("application/SHOW_MESSAGE", {
|
|
50261
50254
|
type: "success",
|
|
50262
|
-
message:
|
|
50255
|
+
message: ee.t("removedThing", { thing: ee.t("file") }),
|
|
50263
50256
|
actions: {
|
|
50264
50257
|
undo: () => {
|
|
50265
50258
|
this.dispatch(`projects/${qg}`, { id: n, projectId: r });
|
|
@@ -50359,7 +50352,7 @@ const Wee = /* @__PURE__ */ Or(qee), { LOAD_EVENTS_FOR_PROJECT: Gee } = On, { SE
|
|
|
50359
50352
|
projectNotes: [r]
|
|
50360
50353
|
}), this.dispatch("application/SHOW_MESSAGE", {
|
|
50361
50354
|
type: "success",
|
|
50362
|
-
message:
|
|
50355
|
+
message: ee.t("createdThing", { thing: ee.t("note") })
|
|
50363
50356
|
}), r.id;
|
|
50364
50357
|
} finally {
|
|
50365
50358
|
t(eu, !1);
|
|
@@ -50380,7 +50373,7 @@ const Wee = /* @__PURE__ */ Or(qee), { LOAD_EVENTS_FOR_PROJECT: Gee } = On, { SE
|
|
|
50380
50373
|
id: r
|
|
50381
50374
|
}), this.dispatch("application/SHOW_MESSAGE", {
|
|
50382
50375
|
type: "success",
|
|
50383
|
-
message:
|
|
50376
|
+
message: ee.t("updatedThing", { thing: ee.t("note") })
|
|
50384
50377
|
}), r;
|
|
50385
50378
|
} finally {
|
|
50386
50379
|
t(eu, !1);
|
|
@@ -50536,16 +50529,16 @@ const Wee = /* @__PURE__ */ Or(qee), { LOAD_EVENTS_FOR_PROJECT: Gee } = On, { SE
|
|
|
50536
50529
|
name: p.documents[m].name,
|
|
50537
50530
|
clients: [
|
|
50538
50531
|
{
|
|
50539
|
-
name:
|
|
50532
|
+
name: re(
|
|
50540
50533
|
p,
|
|
50541
50534
|
`documents[${m}].firstClient.name`,
|
|
50542
50535
|
""
|
|
50543
50536
|
),
|
|
50544
|
-
type:
|
|
50537
|
+
type: re(
|
|
50545
50538
|
p,
|
|
50546
50539
|
`documents[${m}].firstClient.type`
|
|
50547
50540
|
),
|
|
50548
|
-
addresses:
|
|
50541
|
+
addresses: re(
|
|
50549
50542
|
p,
|
|
50550
50543
|
`documents[${m}].firstClient.addresses`
|
|
50551
50544
|
)
|
|
@@ -50783,7 +50776,7 @@ const Wee = /* @__PURE__ */ Or(qee), { LOAD_EVENTS_FOR_PROJECT: Gee } = On, { SE
|
|
|
50783
50776
|
try {
|
|
50784
50777
|
return t(Ot, !0), await uB(r), t(ste, r), this.dispatch("application/SHOW_MESSAGE", {
|
|
50785
50778
|
type: "success",
|
|
50786
|
-
message:
|
|
50779
|
+
message: ee.t("removedThing", { thing: ee.t("project") }),
|
|
50787
50780
|
actions: {
|
|
50788
50781
|
undo: () => {
|
|
50789
50782
|
this.dispatch(`projects/${Kg}`, { id: r });
|
|
@@ -51063,7 +51056,7 @@ class gl {
|
|
|
51063
51056
|
}
|
|
51064
51057
|
get documents() {
|
|
51065
51058
|
var r;
|
|
51066
|
-
const e =
|
|
51059
|
+
const e = re(this._project, "cachedDocuments.mainDocument.id");
|
|
51067
51060
|
return (r = this.documentIds) == null ? void 0 : r.reduce((n, i) => {
|
|
51068
51061
|
const o = this._getters["documents2/byId"](i);
|
|
51069
51062
|
return o ? o.id === e ? [o, ...n] : [...n, o] : n;
|
|
@@ -51111,7 +51104,7 @@ class gl {
|
|
|
51111
51104
|
}
|
|
51112
51105
|
get firstDeliveryFormatted() {
|
|
51113
51106
|
const { firstDeliveryAt: e } = this;
|
|
51114
|
-
return e ?
|
|
51107
|
+
return e ? ee.formatDate(e, "p dd MMM") : null;
|
|
51115
51108
|
}
|
|
51116
51109
|
get lastViewedAgo() {
|
|
51117
51110
|
var r, n, i, o;
|
|
@@ -51132,7 +51125,7 @@ class gl {
|
|
|
51132
51125
|
return this.documents[0];
|
|
51133
51126
|
}
|
|
51134
51127
|
get currency() {
|
|
51135
|
-
return
|
|
51128
|
+
return re(this, "mainDocument.currency", null);
|
|
51136
51129
|
}
|
|
51137
51130
|
get members() {
|
|
51138
51131
|
var e, r;
|
|
@@ -51171,7 +51164,7 @@ class gl {
|
|
|
51171
51164
|
}), e;
|
|
51172
51165
|
}
|
|
51173
51166
|
getProperty(e = "") {
|
|
51174
|
-
return
|
|
51167
|
+
return re(this._project, e, null);
|
|
51175
51168
|
}
|
|
51176
51169
|
}
|
|
51177
51170
|
Ke(gl, "schema", ute), Ke(gl, "statuses", {
|
|
@@ -51217,7 +51210,7 @@ const dte = {
|
|
|
51217
51210
|
...cte,
|
|
51218
51211
|
byId: (t, e, r, n) => (i) => t.data[i] ? new gl(t.data[i], n) : null,
|
|
51219
51212
|
projectIdsByClientId: (t) => (e) => t.ids.filter((r) => {
|
|
51220
|
-
const n =
|
|
51213
|
+
const n = re(
|
|
51221
51214
|
t.data[r],
|
|
51222
51215
|
"clientEndCustomerIds",
|
|
51223
51216
|
""
|
|
@@ -51275,7 +51268,7 @@ const dte = {
|
|
|
51275
51268
|
status: {
|
|
51276
51269
|
archived: !1
|
|
51277
51270
|
}
|
|
51278
|
-
},
|
|
51271
|
+
}, re(o, "or.and.or.docStatuses.sent") ? $t(o, "or.and.or.docStatuses.voided", "contains") : vd(o, "or.and.or.docStatuses.voided"), Object.keys(re(o, "or.and.or.docStatuses", {})).length ? $t(o, "or.and.status.offer", !0) : vd(o, "or.and.status.offer"), o;
|
|
51279
51272
|
},
|
|
51280
51273
|
sort: (t, e, r, n) => {
|
|
51281
51274
|
const i = n["settings/getCompanyUserSetting"]("projectListSort");
|
|
@@ -51567,7 +51560,7 @@ const dte = {
|
|
|
51567
51560
|
const { data: e } = await Er.get("/companySetting"), r = TS(e);
|
|
51568
51561
|
t(eb, { key: "company", settings: r });
|
|
51569
51562
|
const { ataTitleKey: n } = e;
|
|
51570
|
-
n && n !== "ata" &&
|
|
51563
|
+
n && n !== "ata" && ee.i18next.addResources(ee.i18next.language, "_common", {
|
|
51571
51564
|
ata: `$t(${n})`,
|
|
51572
51565
|
ataThe: `$t(${n}The)`
|
|
51573
51566
|
});
|
|
@@ -51955,7 +51948,7 @@ const dte = {
|
|
|
51955
51948
|
const { data: r } = await jB(e);
|
|
51956
51949
|
return t(nb, { data: r }), this.dispatch("application/SHOW_MESSAGE", {
|
|
51957
51950
|
type: "success",
|
|
51958
|
-
message:
|
|
51951
|
+
message: ee.t("createdThing", { thing: ee.t("template") })
|
|
51959
51952
|
}), r.id;
|
|
51960
51953
|
} catch (r) {
|
|
51961
51954
|
return this.handleError(r, {
|
|
@@ -51983,7 +51976,7 @@ const dte = {
|
|
|
51983
51976
|
id: r
|
|
51984
51977
|
}), this.dispatch("application/SHOW_MESSAGE", {
|
|
51985
51978
|
type: "success",
|
|
51986
|
-
message:
|
|
51979
|
+
message: ee.t("updatedThing", { thing: ee.t("template") })
|
|
51987
51980
|
}), r;
|
|
51988
51981
|
} catch (i) {
|
|
51989
51982
|
return this.handleError(i, {
|
|
@@ -52009,7 +52002,7 @@ const dte = {
|
|
|
52009
52002
|
try {
|
|
52010
52003
|
return t(Ri, !0), await VB(e), t(n0.DELETE_TEMPLATE_MESSAGE, e), this.dispatch("application/SHOW_MESSAGE", {
|
|
52011
52004
|
type: "success",
|
|
52012
|
-
message:
|
|
52005
|
+
message: ee.t("removedThing", { thing: ee.t("template") }),
|
|
52013
52006
|
actions: {
|
|
52014
52007
|
undo: () => {
|
|
52015
52008
|
this.dispatch(`templateMessages/${rb}`, { id: e });
|
|
@@ -52292,7 +52285,7 @@ const dte = {
|
|
|
52292
52285
|
const { data: i } = await ji.post(r), { id: o } = i;
|
|
52293
52286
|
return await e(Is, { id: o }), n && this.dispatch("application/SHOW_MESSAGE", {
|
|
52294
52287
|
type: "success",
|
|
52295
|
-
message:
|
|
52288
|
+
message: ee.t("createdThing", { thing: ee.t("template") })
|
|
52296
52289
|
}), o;
|
|
52297
52290
|
} finally {
|
|
52298
52291
|
t(xn, !1);
|
|
@@ -52309,7 +52302,7 @@ const dte = {
|
|
|
52309
52302
|
try {
|
|
52310
52303
|
return e(xn, !0), await ji.put(r, n), await t(Is, { id: r }), Ir.value !== "widget" && this.dispatch("application/SHOW_MESSAGE", {
|
|
52311
52304
|
type: "success",
|
|
52312
|
-
message:
|
|
52305
|
+
message: ee.t("updatedThing", { thing: ee.t("template") })
|
|
52313
52306
|
}), r;
|
|
52314
52307
|
} finally {
|
|
52315
52308
|
e(xn, !1);
|
|
@@ -52382,7 +52375,7 @@ const dte = {
|
|
|
52382
52375
|
try {
|
|
52383
52376
|
return t(xn, !0), await ji.delete(e), t(Xte, e), Ir.value !== "widget" && this.dispatch("application/SHOW_MESSAGE", {
|
|
52384
52377
|
type: "success",
|
|
52385
|
-
message:
|
|
52378
|
+
message: ee.t("removedThing", { thing: ee.t("template") }),
|
|
52386
52379
|
actions: {
|
|
52387
52380
|
undo: () => {
|
|
52388
52381
|
this.dispatch(`templates/${ob}`, { id: e });
|
|
@@ -54948,7 +54941,7 @@ const cne = /* @__PURE__ */ Or(lne), une = (t) => {
|
|
|
54948
54941
|
}
|
|
54949
54942
|
function a(d, p) {
|
|
54950
54943
|
return Array.isArray(p) ? p.reduce(
|
|
54951
|
-
(h, f) => $t(h, f,
|
|
54944
|
+
(h, f) => $t(h, f, re(d, f)),
|
|
54952
54945
|
{}
|
|
54953
54946
|
) : d;
|
|
54954
54947
|
}
|
|
@@ -55057,7 +55050,7 @@ function fne(t, e = {}) {
|
|
|
55057
55050
|
const i = (s = ly.$modal) == null ? void 0 : s.getOpenInstances().find((u) => u.id === n), o = (l = i == null ? void 0 : i.modalAttrs) == null ? void 0 : l.name, a = (c = Fe.openViews) == null ? void 0 : c.find((u) => u.key === o);
|
|
55058
55051
|
o && a && Fe.removeView(a);
|
|
55059
55052
|
}
|
|
55060
|
-
}), Wt.use(Lz), Ir.value = "widget", Wt.directive("click-outside", kz), Wt.component(td.name, td), Wt.component(Zx.name, Zx), Wt.component(Qx.name, Qx), Wt.component(Xx.name, Xx), Wt.component("Animation", oU), _e.debug && (Wt.config.devtools = !0, Wt.config.performance = !0), xe.commit("application/SET_SOCKET_ENABLED", ((r = e == null ? void 0 : e.socket) == null ? void 0 : r.enabled) || !1), Wt.use(xe), Wt.use(pn), Wt.use(
|
|
55053
|
+
}), Wt.use(Lz), Ir.value = "widget", Wt.directive("click-outside", kz), Wt.component(td.name, td), Wt.component(Zx.name, Zx), Wt.component(Qx.name, Qx), Wt.component(Xx.name, Xx), Wt.component("Animation", oU), _e.debug && (Wt.config.devtools = !0, Wt.config.performance = !0), xe.commit("application/SET_SOCKET_ENABLED", ((r = e == null ? void 0 : e.socket) == null ? void 0 : r.enabled) || !1), Wt.use(xe), Wt.use(pn), Wt.use(ee), Wt.provide(JU, e.rootNode), Wt.mount(t), pn.beforeEach((n, i, o) => (pn.resolve({ ...n }).href === "/" && Fe.removeAllOverlayViews(), o())), [Wt, xe];
|
|
55061
55054
|
}
|
|
55062
55055
|
class hne {
|
|
55063
55056
|
constructor() {
|
|
@@ -55724,7 +55717,7 @@ setContent(inputSlider);
|
|
|
55724
55717
|
...n && { data: n }
|
|
55725
55718
|
};
|
|
55726
55719
|
};
|
|
55727
|
-
|
|
55720
|
+
ee.loadOptions({
|
|
55728
55721
|
namespaces: "customTemplate",
|
|
55729
55722
|
messages: {
|
|
55730
55723
|
en: {
|
|
@@ -55742,7 +55735,7 @@ const Cne = {
|
|
|
55742
55735
|
"/account/document/custom/blank.png"
|
|
55743
55736
|
)}" style="width: 100%; height: auto;">
|
|
55744
55737
|
<div class="submenu-item-badge">
|
|
55745
|
-
${
|
|
55738
|
+
${ee.t("customTemplate:title")}
|
|
55746
55739
|
</div>
|
|
55747
55740
|
</div>
|
|
55748
55741
|
`,
|
|
@@ -55979,7 +55972,7 @@ class Lne {
|
|
|
55979
55972
|
/^data.(?!properties)/g,
|
|
55980
55973
|
"data.properties."
|
|
55981
55974
|
)}`;
|
|
55982
|
-
|
|
55975
|
+
re(this._documentJSON, l) !== void 0 && QS(this._documentJSON, l);
|
|
55983
55976
|
});
|
|
55984
55977
|
}, { nodes: n } = this._documentJSON.template.views.read;
|
|
55985
55978
|
eP(e, n).forEach((o) => {
|
|
@@ -56226,7 +56219,7 @@ let tP = class extends L0 {
|
|
|
56226
56219
|
var i;
|
|
56227
56220
|
if (!this._document) return;
|
|
56228
56221
|
let n = (i = this._document) == null ? void 0 : i._doc;
|
|
56229
|
-
return this._isForm && (n = xe.getters["forms/document"]), r === "" ? n :
|
|
56222
|
+
return this._isForm && (n = xe.getters["forms/document"]), r === "" ? n : re(n, r);
|
|
56230
56223
|
}
|
|
56231
56224
|
setProperty(r, n, i = { runHook: !0 }) {
|
|
56232
56225
|
if (!this._document) return;
|
|
@@ -56372,7 +56365,7 @@ let tP = class extends L0 {
|
|
|
56372
56365
|
if (!this._document) throw new Error("You must provide a document instance");
|
|
56373
56366
|
const r = {
|
|
56374
56367
|
...this._document.copyTemplateDocDefault(),
|
|
56375
|
-
name:
|
|
56368
|
+
name: re(this._document, "name") || this.$t("_common:untitled"),
|
|
56376
56369
|
_id: void 0,
|
|
56377
56370
|
id: void 0,
|
|
56378
56371
|
isVisible: !0
|
|
@@ -56519,7 +56512,7 @@ const Yne = "publicDocuments", {
|
|
|
56519
56512
|
SET_VIEWER: aC,
|
|
56520
56513
|
SET_PUBLIC_COMPANIES: sC
|
|
56521
56514
|
} = PM, lC = (t, e) => {
|
|
56522
|
-
const { companySettings: r = {}, company: n = {} } = e.companyById(
|
|
56515
|
+
const { companySettings: r = {}, company: n = {} } = e.companyById(re(t, "company.publicId")) || {}, {
|
|
56523
56516
|
senderString: i,
|
|
56524
56517
|
receiverString: o,
|
|
56525
56518
|
// default theme
|
|
@@ -56574,7 +56567,7 @@ const Yne = "publicDocuments", {
|
|
|
56574
56567
|
companyById: (t) => (e) => t.companies[e] || null,
|
|
56575
56568
|
currentDocument: (t, e) => Object.keys(t.currentDocument).length ? new Ty(...lC(t.currentDocument, e)) : null,
|
|
56576
56569
|
changes: (t) => t.changes || {},
|
|
56577
|
-
currentDocumentId: (t) =>
|
|
56570
|
+
currentDocumentId: (t) => re(t, "currentDocument.viewerId", null),
|
|
56578
56571
|
currentSenderCompany: (t) => {
|
|
56579
56572
|
var e, r;
|
|
56580
56573
|
return t.companies[(r = (e = t.currentDocument) == null ? void 0 : e.company) == null ? void 0 : r.publicId];
|
|
@@ -56599,8 +56592,8 @@ const Yne = "publicDocuments", {
|
|
|
56599
56592
|
async [pb]({ state: t, commit: e, dispatch: r }, { id: n, params: i = {}, showLast4ssn: o = !0 }) {
|
|
56600
56593
|
await r(ub, { id: n, params: i, showLast4ssn: o });
|
|
56601
56594
|
const a = t.documents[t.viewerIdToId[n]], { language: s } = a || {};
|
|
56602
|
-
if (s &&
|
|
56603
|
-
const l =
|
|
56595
|
+
if (s && ee.changeLanguage(s), e("SET_CURRENT_DOCUMENT", { data: a }), re(t, "viewer.publicDocumentId", null) !== n) {
|
|
56596
|
+
const l = re(a, "clients", []).find(
|
|
56604
56597
|
(c) => c.publicDocumentId === n
|
|
56605
56598
|
);
|
|
56606
56599
|
l && e(aC, l);
|
|
@@ -56625,7 +56618,7 @@ const Yne = "publicDocuments", {
|
|
|
56625
56618
|
o || (a.clients && Array.isArray(a.clients) && a.clients.filter((l) => l.socialNo).forEach((l) => {
|
|
56626
56619
|
l.socialNo = `${l.socialNo.slice(0, -4)}****`;
|
|
56627
56620
|
}), a.senderClient && a.senderClient.socialNo && (a.senderClient.socialNo = `${a.senderClient.socialNo.slice(0, -4)}****`)), e(fb, { data: [{ ...a, viewerId: n }] });
|
|
56628
|
-
const s =
|
|
56621
|
+
const s = re(
|
|
56629
56622
|
t.documents[a.id],
|
|
56630
56623
|
"company.publicId"
|
|
56631
56624
|
);
|
|
@@ -56938,7 +56931,7 @@ let nie = class extends L0 {
|
|
|
56938
56931
|
}
|
|
56939
56932
|
getProperty(r) {
|
|
56940
56933
|
if (this._document)
|
|
56941
|
-
return
|
|
56934
|
+
return re(this._document._doc, r);
|
|
56942
56935
|
}
|
|
56943
56936
|
setProperty(r, n) {
|
|
56944
56937
|
if (this._document)
|
|
@@ -57184,7 +57177,7 @@ class pie extends L0 {
|
|
|
57184
57177
|
return !0;
|
|
57185
57178
|
}
|
|
57186
57179
|
getProperty(r) {
|
|
57187
|
-
return
|
|
57180
|
+
return re(this._template, r);
|
|
57188
57181
|
}
|
|
57189
57182
|
setProperty(r, n) {
|
|
57190
57183
|
var i;
|
|
@@ -57282,7 +57275,7 @@ const fie = {
|
|
|
57282
57275
|
if (this.initialized) return;
|
|
57283
57276
|
this._rootId = `${t.LIB_NAME}-shadow`;
|
|
57284
57277
|
const e = document.createElement("div"), r = document.createElement("div"), n = document.createElement("div");
|
|
57285
|
-
n.setAttribute("id", "Cling-app"), e.setAttribute("id", this._rootId), e.style.zIndex = ((o = (i = t.ui) == null ? void 0 : i.vars) == null ? void 0 : o["--app-z-index"]) || 1001, e.style.position = "fixed", e.style.top = 0, e.style.left = 0, r.setAttribute("id", `${this._rootId}-child`), r.classList.add(`${this._rootId}-child`), (a = t.ui) != null && a.vars && (Zb(t.ui.vars, r), Zb(t.ui.vars, e), Fe.styleVars = t.ui.vars), t.i18n && Bj(t.i18n), (s = t.ui) != null && s.language &&
|
|
57278
|
+
n.setAttribute("id", "Cling-app"), e.setAttribute("id", this._rootId), e.style.zIndex = ((o = (i = t.ui) == null ? void 0 : i.vars) == null ? void 0 : o["--app-z-index"]) || 1001, e.style.position = "fixed", e.style.top = 0, e.style.left = 0, r.setAttribute("id", `${this._rootId}-child`), r.classList.add(`${this._rootId}-child`), (a = t.ui) != null && a.vars && (Zb(t.ui.vars, r), Zb(t.ui.vars, e), Fe.styleVars = t.ui.vars), t.i18n && Bj(t.i18n), (s = t.ui) != null && s.language && ee.changeLanguage(t.ui.language, !0), (l = t.ui) != null && l.locale && ee.changeLocale(t.ui.locale, !0), e.appendChild(r), r.appendChild(n), e.attachShadow({ mode: "open" }).appendChild(r), document.body.appendChild(e), r.classList.add("Cling-shadow-component"), Ee.setPrefix("cling-"), t.rootNode = r, [this._app, this._store] = fne(n, t), this.initialized = !0;
|
|
57286
57279
|
},
|
|
57287
57280
|
get store() {
|
|
57288
57281
|
return this._store;
|
|
@@ -57359,9 +57352,9 @@ export {
|
|
|
57359
57352
|
Tie as a6,
|
|
57360
57353
|
Xx as a7,
|
|
57361
57354
|
Rie as a8,
|
|
57362
|
-
|
|
57355
|
+
re as a9,
|
|
57363
57356
|
ly as aA,
|
|
57364
|
-
|
|
57357
|
+
ee as aB,
|
|
57365
57358
|
di as aC,
|
|
57366
57359
|
A5 as aD,
|
|
57367
57360
|
dK as aE,
|