@cling-se/widget 0.13.5 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddClientCallout-P8T0R-6B.js → AddClientCallout-C7BLDW6Y.js} +3 -3
- package/dist/{AnswerModal-BF-ZUpQ9.js → AnswerModal-KWFteFV9.js} +4 -4
- package/dist/{AttachmentItem-DEC6rjGE.js → AttachmentItem-CSerklBS.js} +2 -2
- package/dist/{BaseDatePicker-2uhuySby.js → BaseDatePicker-BOxfHGS8.js} +102 -102
- package/dist/{BaseInput-BtgFVDxx.js → BaseInput-BDjhI5P9.js} +1 -1
- package/dist/{BaseUpload-D1OS-EZ-.js → BaseUpload-B-CktrCH.js} +24 -24
- package/dist/{BlockMedia-BFBeRtJx.js → BlockMedia-T4OxMb4n.js} +21 -17
- package/dist/{CCallout-CsQMsFZO.js → CCallout-yFt7TFJa.js} +2 -2
- package/dist/{CDropdownItem-BeK9wNHJ.js → CDropdownItem-DhEpCmQt.js} +1 -1
- package/dist/{CField-TsZhnNrK.js → CFormField-DDLf5YY4.js} +66 -39
- package/dist/{CPhoneFormat-DPYhElZw.js → CPhoneFormat-B88rkuf0.js} +1 -1
- package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-B85IuuQS.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-DbBb6ZId.js} +1 -1
- package/dist/{ClientAutocomplete-Ch2Z-VNr.js → ClientAutocomplete-DmRl3SUj.js} +2 -2
- package/dist/{ClientModal-rdb9TsyH.js → ClientModal-Dn3WDhGU.js} +4 -4
- package/dist/{ColorPicker-2gfbU60o.js → ColorPicker-DX6JAsTn.js} +1 -1
- package/dist/{CompanyModal-CNeySxNi.js → CompanyModal-BbO2nTd5.js} +4 -4
- package/dist/{ContentWrapper-D27J_sCS.js → ContentWrapper-BvbmcTXK.js} +8 -8
- package/dist/{CoverBlockSettings-BfdJKrsq.js → CoverBlockSettings-C8FDwx7i.js} +5 -5
- package/dist/{DocAnswer-CyHASkhm.js → DocAnswer-OttbybQs.js} +2 -2
- package/dist/{DocDetails-8bM9dBxm.js → DocDetails-J7O26zqa.js} +4 -4
- package/dist/{DocForm-CumvOHwl.js → DocForm-Bgbesq79.js} +46 -45
- package/dist/{DocFormSend-CdoZy_Q2.js → DocFormSend-D_U3ztgw.js} +2 -2
- package/dist/{DocLinks-BJPADuvd.js → DocLinks-Dp-iQ-B_.js} +2 -2
- package/dist/{DocModalBase-Cd3zXvH_.js → DocModalBase-F-wlPg7j.js} +1 -1
- package/dist/{DocPrint-Be4l2pra.js → DocPrint-B45voy0W.js} +22 -15
- package/dist/{DocReceipt-DmFjo26V.js → DocReceipt-jKVK5U-a.js} +1 -1
- package/dist/{DocSendReminder-CVxh_c7u.js → DocSendReminder-BersSNb1.js} +1 -1
- package/dist/{DocTextEditor-2jhWmmN2.js → DocTextEditor-CYe_jWZ8.js} +834 -816
- package/dist/{DocTimeline-Dvn690cI.js → DocTimeline-yyzh51yB.js} +1 -1
- package/dist/{DocumentClient-D3ESmMk1.js → DocumentClient-CS_EVjK9.js} +5 -5
- package/dist/{DocumentLayout-0-y6ChW3.js → DocumentLayout-Ba121Zro.js} +9 -5
- package/dist/{DocumentLogotype-CHWEVOFb.js → DocumentLogotype-DUVhl9xC.js} +3 -3
- package/dist/{DocumentVoided-CoJ6YorU.js → DocumentVoided-D5ePc-a5.js} +1 -1
- package/dist/{EmbedInput-CGQJdLBd.js → EmbedInput-Ds-Z-0J2.js} +2 -2
- package/dist/{EmbedSettings-DRfM7EkF.js → EmbedSettings-C8BP4YuY.js} +2 -2
- package/dist/{ErrorCallout-pRwrsMwI.js → ErrorCallout-B_QrRAm6.js} +1 -1
- package/dist/{FilePreviewModal-4hJnwqeM.js → FilePreviewModal-B105PxLD.js} +2 -2
- package/dist/{Flag-CH9jX9p6.js → Flag-hg61To9C.js} +1 -1
- package/dist/{HeaderSettings-DESkxus6.js → HeaderSettings-DIBiJc4I.js} +7 -7
- package/dist/{ImageSelectModal-BczBg7pO.js → ImageSelectModal-D2g42vWJ.js} +3 -3
- package/dist/{ImageUploadWrapper-B7F5UzSa.js → ImageUploadWrapper-CREUMKh3.js} +2 -2
- package/dist/{Index-COFOq65C.js → Index-02IKjPth.js} +3 -3
- package/dist/{Index-DLX_14JW.js → Index-4NdatdH2.js} +6 -6
- package/dist/{Index-C8Eykyfr.js → Index-7rbX01Io.js} +5 -5
- package/dist/{Index-Dj7XQrCX.js → Index-8DAfMA_s.js} +5 -5
- package/dist/{Index-CBRWEkz3.js → Index-B8xcDVQ1.js} +9 -4
- package/dist/{Index-DAuSARq4.js → Index-BG9x90V0.js} +5 -5
- package/dist/{Index-BkDT09xK.js → Index-BLQwYzIX.js} +3 -3
- package/dist/{Index-Dk7qSZaZ.js → Index-BUTYZCat.js} +2 -2
- package/dist/{Index-DpZ0FVkb.js → Index-BZM-FsHY.js} +1 -1
- package/dist/{Index-Cs1C7d8_.js → Index-BiK7PqAm.js} +2 -2
- package/dist/{Index-DxT6UrU3.js → Index-BqBi-EmE.js} +2 -2
- package/dist/{Index-BztAYqwZ.js → Index-Bu6aOCmM.js} +3 -3
- package/dist/{Index-xVss9bbv.js → Index-BuDj2yrd.js} +4 -4
- package/dist/{Index-euXfMzGE.js → Index-C56fTFO3.js} +4 -4
- package/dist/{Index-CUYcsakk.js → Index-CL12KArA.js} +4 -4
- package/dist/{Index-BBWCdaFx.js → Index-CUxvKTfn.js} +14 -32
- package/dist/{Index-BCBBrdDY.js → Index-CYHxrllv.js} +4 -4
- package/dist/{Index-Lwrlj4Uo.js → Index-CpWW7m5F.js} +4 -4
- package/dist/{Index-B77mpvaJ.js → Index-CwulQoRG.js} +8 -8
- package/dist/{Index-CwOwQrDd.js → Index-D0gS476H.js} +4 -4
- package/dist/{Index-D_21EWlr.js → Index-DDj3_T_m.js} +1 -1
- package/dist/{Index-BSizncA1.js → Index-DIg77V9c.js} +2 -2
- package/dist/{Index-D_XxQTHL.js → Index-DRgVg0CH.js} +4 -4
- package/dist/{Index-DLwJlsSV.js → Index-DVQ6ZsHz.js} +6 -6
- package/dist/{Index-BSApSN3a.js → Index-D_MonVUx.js} +6 -6
- package/dist/{Index-Cb7AYMdp.js → Index-DeNpUKh8.js} +5 -5
- package/dist/{Index-CRjdza18.js → Index-Dqp7TmnQ.js} +6 -6
- package/dist/{Index-CgugegyD.js → Index-Dy7K8KMB.js} +11 -11
- package/dist/{Index-DRdhlnQI.js → Index-YkoWXviW.js} +4 -4
- package/dist/{Index-CPXWFvtI.js → Index-agYFtWMw.js} +6 -6
- package/dist/{Index-DXovv3-e.js → Index-bTXYCG9Y.js} +4 -4
- package/dist/{Index-McJQllNy.js → Index-kAu-7TWv.js} +10 -10
- package/dist/{Index-DM8XS-Lc.js → Index-lKo8z-71.js} +3 -3
- package/dist/{Index-BOIBgNgp.js → Index-sltQx4D3.js} +2 -2
- package/dist/{InputToggleRow-BjSD0lth.js → InputToggleRow-C7aWJpUF.js} +1 -1
- package/dist/{ManualPopover-CIouE65j.js → ManualPopover-CK9Xp-mo.js} +1 -1
- package/dist/{MediaWrapper-DK2fsQP7.js → MediaWrapper-v87wlFnj.js} +3 -3
- package/dist/{NotBindingText-D1IUYEiC.js → NotBindingText-BGy3SnK3.js} +2 -2
- package/dist/{PackageGroup-BImsltc7.js → PackageGroup-CrsOkWIb.js} +8 -8
- package/dist/{PdfTerms-BzBvvuT6.js → PdfTerms-UmEmlI0Y.js} +2 -2
- package/dist/PdfViewer-C6VBu4tT.js +374 -0
- package/dist/{PlainHtml-J_nR1ibV.js → PlainHtml-Dsaxrq3D.js} +1 -1
- package/dist/{PriceHeader-BZeaKOTy.js → PriceHeader-DQ615L9Q.js} +10 -10
- package/dist/{SearchApi-Du-Lqo7R.js → SearchApi-CbWFQfoc.js} +2 -2
- package/dist/{Setup-CtSIo_xU.js → Setup-Byd-0W7U.js} +1 -1
- package/dist/{TermsSettings-DDHrUB_S.js → TermsSettings-Cah7_3Ba.js} +3 -3
- package/dist/{ThemeColorRow-BiRPYyj_.js → ThemeColorRow-DqsjvQfY.js} +3 -3
- package/dist/{ToggleBinding-Cvd9I0Dw.js → ToggleBinding-DFr6xW2B.js} +3 -3
- package/dist/{UploadModal-ByJeM98S.js → UploadModal-jRI9ITty.js} +2 -2
- package/dist/{VideoPlayerInput-C1PiFaBo.js → VideoPlayerInput-C5_Ft8-4.js} +3 -3
- package/dist/{VideoPlayerSettings-C9vt7Twd.js → VideoPlayerSettings-LZluC-Tg.js} +2 -2
- package/dist/{VideoSelectModal-cEDZv03c.js → VideoSelectModal-OGDq_lwv.js} +3 -3
- package/dist/{answerDocumentMixin-QbMot2bf.js → answerDocumentMixin-D8BXcPWt.js} +3 -3
- package/dist/{debounce-CaZBFRFZ.js → debounce-BQXg61RJ.js} +8 -8
- package/dist/dom-CJxkno7i.js +91 -0
- package/dist/{focusDrawerMixin-D-mqPE02.js → focusDrawerMixin-D3Pzr0P-.js} +1 -1
- package/dist/{formComponentsInstall-BdhIOhq5.js → formComponentsInstall-D1VBPt9o.js} +173 -201
- package/dist/{formDrawerState-CcDRv2mi.js → formDrawerState-wG6RdIXD.js} +1 -1
- package/dist/{formValidationMixin-sp3Q6-ER.js → formValidationMixin-D9qFZJf9.js} +2 -2
- package/dist/{index-BjZuADtN.js → index-1DmXjcSN.js} +6 -6
- package/dist/{index-BWmMho6V.js → index-BEOnzeEr.js} +9 -9
- package/dist/{index-CJTuXpCD.js → index-BFnwm62-.js} +1 -1
- package/dist/{index-DuCwf2mg.js → index-DETqm8Jy.js} +3 -3
- package/dist/{index-DEWMCZz4.js → index-Dnp3LAf2.js} +1 -1
- package/dist/{index-BABEaO8N.js → index-M-GXl2PO.js} +48 -48
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +135 -135
- package/dist/{main-DQ6SH_E_.js → main-CWRB9q-W.js} +332 -312
- package/dist/{mapFormMixin-2SoyKxW2.js → mapFormMixin-BOmDynJ-.js} +1 -1
- package/dist/{omit-BjdTqooP.js → omit-CMqxXOLn.js} +47 -47
- package/dist/{publicSenderState-CKGe1ejF.js → publicSenderState-D_VhSyXD.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-BeZ_TpQb.js → throttle-Bixql7MZ.js} +2 -2
- package/dist/{tinycolor-C3JU9Hqu.js → tinycolor-CIjZZX-6.js} +1 -1
- package/dist/{tippy.esm-DowQrfWM.js → tippy.esm-BcAHvKwR.js} +5 -5
- package/dist/{utils-D2JfcR6v.js → utils-1ypnMuRv.js} +1 -1
- package/package.json +1 -1
- package/dist/PdfViewer-Dq0Mc-WC.js +0 -247
- package/dist/dom-CPYqHOIw.js +0 -69
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import se from "./AnswerModal-
|
|
2
|
-
import { o as ne } from "./index-
|
|
3
|
-
import { w as x } from "./CDropdownItem-
|
|
4
|
-
import { aU as I, g as m, n as d, c as f, b as u, d as oe, aV as le, S as re, u as U, j as $, aA as ce, aO as y,
|
|
1
|
+
import se from "./AnswerModal-KWFteFV9.js";
|
|
2
|
+
import { o as ne } from "./index-Dnp3LAf2.js";
|
|
3
|
+
import { w as x } from "./CDropdownItem-DhEpCmQt.js";
|
|
4
|
+
import { aU as I, g as m, n as d, c as f, b as u, d as oe, aV as le, S as re, u as U, j as $, aA as ce, aO as y, T as p, M as H, h as D, a2 as h, aW as de, aX as pe, aY as ue, aZ as me, a_ as he, a$ as fe, V as A, aQ as O, aR as R, I as E, b0 as M, aS as ge, b1 as Ce, G as ve, b2 as ye, f as xe, k as G, b3 as we, b4 as be, D as ke, b5 as _e, C as W, b6 as Le, b7 as $e, L as q, b8 as Se, b9 as Te, aT as De, ba as Ve, bb as Me, bc as Be, ai as Ie, bd as Fe, m as He, a as Ae, be as Pe } from "./main-CWRB9q-W.js";
|
|
5
5
|
import { a as w, m as g } from "./vuex.esm-DKGl8mcw.js";
|
|
6
|
-
import { s as k } from "./Flag-
|
|
7
|
-
import { l as Ee, g as ze, W as Ze, b as Ue, a as Oe, D as Re } from "./DocumentLayout-
|
|
8
|
-
import { F as N, d as Ge } from "./tippy.esm-
|
|
9
|
-
import { m as S } from "./mapFormMixin-
|
|
10
|
-
import { d as P, t as We } from "./debounce-
|
|
11
|
-
import { d as qe, o as Ne, _ as je } from "./omit-
|
|
12
|
-
import { C as Ke, I as _, a as L, s as Ye } from "./index-
|
|
13
|
-
import { C as j
|
|
14
|
-
import { S as
|
|
15
|
-
import { v as F } from "./index-
|
|
16
|
-
import { t as
|
|
17
|
-
import { s as v } from "./formDrawerState-
|
|
18
|
-
import { s as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
6
|
+
import { s as k } from "./Flag-hg61To9C.js";
|
|
7
|
+
import { l as Ee, g as ze, W as Ze, b as Ue, a as Oe, D as Re } from "./DocumentLayout-Ba121Zro.js";
|
|
8
|
+
import { F as N, d as Ge } from "./tippy.esm-BcAHvKwR.js";
|
|
9
|
+
import { m as S } from "./mapFormMixin-BOmDynJ-.js";
|
|
10
|
+
import { d as P, t as We } from "./debounce-BQXg61RJ.js";
|
|
11
|
+
import { d as qe, o as Ne, _ as je } from "./omit-CMqxXOLn.js";
|
|
12
|
+
import { C as Ke, I as _, a as L, s as Ye } from "./index-DETqm8Jy.js";
|
|
13
|
+
import { C as j } from "./CFormField-DDLf5YY4.js";
|
|
14
|
+
import { S as Qe } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-DbBb6ZId.js";
|
|
15
|
+
import { v as F } from "./index-M-GXl2PO.js";
|
|
16
|
+
import { t as Je } from "./tinycolor-CIjZZX-6.js";
|
|
17
|
+
import { s as v } from "./formDrawerState-wG6RdIXD.js";
|
|
18
|
+
import { s as Xe } from "./dom-CJxkno7i.js";
|
|
19
|
+
import { S as et, i as tt } from "./formComponentsInstall-D1VBPt9o.js";
|
|
20
|
+
import { f as it } from "./formValidationMixin-D9qFZJf9.js";
|
|
21
|
+
import { B as at } from "./BlockMedia-T4OxMb4n.js";
|
|
21
22
|
const st = {
|
|
22
23
|
name: "DocumentPostSendStep",
|
|
23
24
|
mixins: [x],
|
|
@@ -351,7 +352,7 @@ var Dt = function() {
|
|
|
351
352
|
} } }, [t("CIcon", { attrs: { type: "chevron-down", size: "16" } })], 1)]), t("div", { staticClass: "control-button remove", on: { click: function(a) {
|
|
352
353
|
return e.$emit("remove");
|
|
353
354
|
} } }, [t("CIcon", { attrs: { type: "x", size: "16" } })], 1)]) : e._e()], 2);
|
|
354
|
-
}, Vt = [],
|
|
355
|
+
}, Vt = [], Mt = /* @__PURE__ */ d(
|
|
355
356
|
Tt,
|
|
356
357
|
Dt,
|
|
357
358
|
Vt,
|
|
@@ -359,10 +360,10 @@ var Dt = function() {
|
|
|
359
360
|
null,
|
|
360
361
|
"bfd61212"
|
|
361
362
|
);
|
|
362
|
-
const
|
|
363
|
+
const Bt = Mt.exports, It = {
|
|
363
364
|
name: "DynamicBlock",
|
|
364
365
|
components: {
|
|
365
|
-
BlockControlButtons:
|
|
366
|
+
BlockControlButtons: Bt
|
|
366
367
|
},
|
|
367
368
|
provide() {
|
|
368
369
|
return {
|
|
@@ -1927,7 +1928,7 @@ const v1 = C1.exports, y1 = {
|
|
|
1927
1928
|
},
|
|
1928
1929
|
name: "DocumentFormFields",
|
|
1929
1930
|
components: {
|
|
1930
|
-
SmartList:
|
|
1931
|
+
SmartList: Qe,
|
|
1931
1932
|
CAccordion: Ke,
|
|
1932
1933
|
CField: j
|
|
1933
1934
|
},
|
|
@@ -2182,7 +2183,7 @@ const k1 = b1.exports, _1 = (i) => {
|
|
|
2182
2183
|
validation: T1(a, s),
|
|
2183
2184
|
...n && { data: n }
|
|
2184
2185
|
};
|
|
2185
|
-
},
|
|
2186
|
+
}, M1 = ({ language: i = "en" } = {}) => {
|
|
2186
2187
|
const e = (t) => h.t(`components:account.documentForm.contentItems.coverBlock.${t}`, {
|
|
2187
2188
|
lng: i
|
|
2188
2189
|
});
|
|
@@ -2327,7 +2328,7 @@ const k1 = b1.exports, _1 = (i) => {
|
|
|
2327
2328
|
})
|
|
2328
2329
|
}
|
|
2329
2330
|
];
|
|
2330
|
-
},
|
|
2331
|
+
}, B1 = () => {
|
|
2331
2332
|
const i = Array(5).fill().map(() => p());
|
|
2332
2333
|
return [
|
|
2333
2334
|
{
|
|
@@ -2404,7 +2405,7 @@ const k1 = b1.exports, _1 = (i) => {
|
|
|
2404
2405
|
const { language: a } = e || {};
|
|
2405
2406
|
let s = null;
|
|
2406
2407
|
return typeof t == "function" ? s = t() : i && (s = I1()), {
|
|
2407
|
-
readView:
|
|
2408
|
+
readView: B1(),
|
|
2408
2409
|
validation: F1(a),
|
|
2409
2410
|
// Client / company will for now always exist on doc and in validation
|
|
2410
2411
|
...s && { data: s }
|
|
@@ -3038,7 +3039,7 @@ const Z1 = ({ language: i = "en" } = {}) => [
|
|
|
3038
3039
|
background: o,
|
|
3039
3040
|
priceSummaryBackground: l,
|
|
3040
3041
|
backgroundFilter: r
|
|
3041
|
-
} = s || {}, c = l || "hsl(228, 52%, 18%)", C =
|
|
3042
|
+
} = s || {}, c = l || "hsl(228, 52%, 18%)", C = Je.readability(c, "#fff") < 1.8 ? "#111111" : "#FFFFFF";
|
|
3042
3043
|
return [
|
|
3043
3044
|
{
|
|
3044
3045
|
key: `header-${i}`,
|
|
@@ -4374,7 +4375,7 @@ const f2 = ({
|
|
|
4374
4375
|
extraWorkTimeImpactText: X1,
|
|
4375
4376
|
notBinding: d2
|
|
4376
4377
|
}, Z = {
|
|
4377
|
-
coverBlock:
|
|
4378
|
+
coverBlock: M1,
|
|
4378
4379
|
header: s2,
|
|
4379
4380
|
packageGroup: f2,
|
|
4380
4381
|
embed: Z1,
|
|
@@ -4409,11 +4410,11 @@ const f2 = ({
|
|
|
4409
4410
|
)
|
|
4410
4411
|
});
|
|
4411
4412
|
}
|
|
4412
|
-
},
|
|
4413
|
+
}, M2 = null, B2 = null;
|
|
4413
4414
|
var I2 = /* @__PURE__ */ d(
|
|
4414
4415
|
V2,
|
|
4415
|
-
B2,
|
|
4416
4416
|
M2,
|
|
4417
|
+
B2,
|
|
4417
4418
|
!1,
|
|
4418
4419
|
null,
|
|
4419
4420
|
null
|
|
@@ -5053,7 +5054,7 @@ const G2 = R2.exports, W2 = {
|
|
|
5053
5054
|
Fields: k1,
|
|
5054
5055
|
ExtensionTab: m1,
|
|
5055
5056
|
DocumentGeneralSettings: r1,
|
|
5056
|
-
DocumentGuide: () => import("./index-
|
|
5057
|
+
DocumentGuide: () => import("./index-BFnwm62-.js"),
|
|
5057
5058
|
MenuBlocks: G2,
|
|
5058
5059
|
Simplebar: k
|
|
5059
5060
|
},
|
|
@@ -5345,7 +5346,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
|
|
|
5345
5346
|
},
|
|
5346
5347
|
methods: {
|
|
5347
5348
|
onAddBlockMount(i, e) {
|
|
5348
|
-
!this.onAddRedis[i] || !e || (e.$el && this.$nextTick(() =>
|
|
5349
|
+
!this.onAddRedis[i] || !e || (e.$el && this.$nextTick(() => Xe(e.$el, { offset: 100 })), typeof e[this.onAddRedis[i]] == "function" && e[this.onAddRedis[i]](), delete this.onAddRedis[i]);
|
|
5349
5350
|
},
|
|
5350
5351
|
onBlockToggleVisible(i, e) {
|
|
5351
5352
|
const a = [...this.readLayout].findIndex(
|
|
@@ -5382,7 +5383,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
|
|
|
5382
5383
|
this.removeFormKeyValue(r);
|
|
5383
5384
|
});
|
|
5384
5385
|
}, "children");
|
|
5385
|
-
|
|
5386
|
+
M([this.nestedReadLayout[e]]).forEach((a) => {
|
|
5386
5387
|
const s = this.readLayout.findIndex((n) => n.nodeId === a.nodeId);
|
|
5387
5388
|
this.removeFormValue(`template.views.read.nodes[${s}]`);
|
|
5388
5389
|
});
|
|
@@ -5416,7 +5417,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
|
|
|
5416
5417
|
);
|
|
5417
5418
|
this.setFormValue({
|
|
5418
5419
|
key: "template.views.read.nodes",
|
|
5419
|
-
value:
|
|
5420
|
+
value: M(s)
|
|
5420
5421
|
});
|
|
5421
5422
|
} else if (!e && t !== null) {
|
|
5422
5423
|
const { sectionKey: s, createNewSection: n, addValidation: o, contentData: l } = a, {
|
|
@@ -5437,7 +5438,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
|
|
|
5437
5438
|
];
|
|
5438
5439
|
this.setFormValue({
|
|
5439
5440
|
key: "template.views.read.nodes",
|
|
5440
|
-
value:
|
|
5441
|
+
value: M(ie)
|
|
5441
5442
|
});
|
|
5442
5443
|
const [{ nodeId: ae }] = r;
|
|
5443
5444
|
this.onAddRedis[ae] = V;
|
|
@@ -5558,7 +5559,7 @@ const ei = X2.exports, ti = {
|
|
|
5558
5559
|
components: {
|
|
5559
5560
|
AddBlock: Q,
|
|
5560
5561
|
Drawer: K,
|
|
5561
|
-
SendForm:
|
|
5562
|
+
SendForm: et,
|
|
5562
5563
|
CCheckbox: ve,
|
|
5563
5564
|
CIcon: ye,
|
|
5564
5565
|
CButton: xe,
|
|
@@ -5848,9 +5849,9 @@ const X = ci.exports;
|
|
|
5848
5849
|
function di(i, e, t) {
|
|
5849
5850
|
return i === i && (t !== void 0 && (i = i <= t ? i : t), e !== void 0 && (i = i >= e ? i : e)), i;
|
|
5850
5851
|
}
|
|
5851
|
-
var pi = di, ui = pi,
|
|
5852
|
+
var pi = di, ui = pi, B = We;
|
|
5852
5853
|
function mi(i, e, t) {
|
|
5853
|
-
return t === void 0 && (t = e, e = void 0), t !== void 0 && (t =
|
|
5854
|
+
return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = B(t), t = t === t ? t : 0), e !== void 0 && (e = B(e), e = e === e ? e : 0), ui(B(i), e, t);
|
|
5854
5855
|
}
|
|
5855
5856
|
var hi = mi;
|
|
5856
5857
|
const fi = /* @__PURE__ */ G(hi), gi = {
|
|
@@ -6188,7 +6189,7 @@ var Si = function() {
|
|
|
6188
6189
|
null,
|
|
6189
6190
|
"9c78dbb6"
|
|
6190
6191
|
);
|
|
6191
|
-
const Vi = Di.exports,
|
|
6192
|
+
const Vi = Di.exports, Mi = {
|
|
6192
6193
|
name: "DocumentIcon",
|
|
6193
6194
|
truncate: ke,
|
|
6194
6195
|
inject: {
|
|
@@ -6199,7 +6200,7 @@ const Vi = Di.exports, Bi = {
|
|
|
6199
6200
|
}
|
|
6200
6201
|
}
|
|
6201
6202
|
};
|
|
6202
|
-
var
|
|
6203
|
+
var Bi = function(e, t) {
|
|
6203
6204
|
return e("div", t._b({ key: t.data.key, staticClass: "item", class: [
|
|
6204
6205
|
t.data.staticClass,
|
|
6205
6206
|
t.data.class,
|
|
@@ -6216,8 +6217,8 @@ var Mi = function(e, t) {
|
|
|
6216
6217
|
t.parent.$t("_common:empty", { thing: t.parent.$t("_common:template") })
|
|
6217
6218
|
) } }) : t.props.name ? [e("div", { staticClass: "item-text", domProps: { textContent: t._s(t.$options.truncate(t.props.name, 60)) } }), t._t("default")] : t._e()], 2)]);
|
|
6218
6219
|
}, Ii = [], Fi = /* @__PURE__ */ d(
|
|
6219
|
-
Bi,
|
|
6220
6220
|
Mi,
|
|
6221
|
+
Bi,
|
|
6221
6222
|
Ii,
|
|
6222
6223
|
!0,
|
|
6223
6224
|
null,
|
|
@@ -7051,7 +7052,7 @@ var ea = function() {
|
|
|
7051
7052
|
"5c1a776a"
|
|
7052
7053
|
);
|
|
7053
7054
|
const aa = ia.exports;
|
|
7054
|
-
var sa =
|
|
7055
|
+
var sa = Me, na = Be, oa = Ie;
|
|
7055
7056
|
function la(i, e, t) {
|
|
7056
7057
|
for (var a = -1, s = e.length, n = {}; ++a < s; ) {
|
|
7057
7058
|
var o = e[a], l = sa(i, o);
|
|
@@ -7069,7 +7070,7 @@ var ua = pa, ma = ua, ha = je, fa = ha(function(i, e) {
|
|
|
7069
7070
|
return i == null ? {} : ma(i, e);
|
|
7070
7071
|
}), ga = fa;
|
|
7071
7072
|
const Ca = /* @__PURE__ */ G(ga);
|
|
7072
|
-
A.use(
|
|
7073
|
+
A.use(tt);
|
|
7073
7074
|
const va = {
|
|
7074
7075
|
name: "DocForm",
|
|
7075
7076
|
i18nOptions: {
|
|
@@ -7265,7 +7266,7 @@ var ya = function() {
|
|
|
7265
7266
|
null,
|
|
7266
7267
|
"2c3d4461"
|
|
7267
7268
|
);
|
|
7268
|
-
const
|
|
7269
|
+
const Ra = wa.exports;
|
|
7269
7270
|
export {
|
|
7270
|
-
|
|
7271
|
+
Ra as default
|
|
7271
7272
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as s, S as l } from "./formComponentsInstall-
|
|
2
|
-
import { V as n, m as r, a as i, g as u, C as c, n as m } from "./main-
|
|
1
|
+
import { i as s, S as l } from "./formComponentsInstall-D1VBPt9o.js";
|
|
2
|
+
import { V as n, m as r, a as i, g as u, C as c, n as m } from "./main-CWRB9q-W.js";
|
|
3
3
|
n.use(s);
|
|
4
4
|
const a = n.observable({
|
|
5
5
|
canEdit: !1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as d,
|
|
1
|
+
import { n as d, G as h, c, I as l, H as p, J as a, K as m } from "./main-CWRB9q-W.js";
|
|
2
2
|
const u = {
|
|
3
3
|
i18nOptions: {
|
|
4
4
|
namespaces: "documentPrint",
|
|
@@ -59,6 +59,8 @@ const u = {
|
|
|
59
59
|
showLast4ssn: !0,
|
|
60
60
|
forceDoCreatePdf: !1,
|
|
61
61
|
// Only for superuser
|
|
62
|
+
compressImages: !1,
|
|
63
|
+
// Only for superuser
|
|
62
64
|
debugPage: !1,
|
|
63
65
|
// Only for superuser
|
|
64
66
|
extraTimeout: 0
|
|
@@ -175,28 +177,33 @@ var f = function() {
|
|
|
175
177
|
var t = this, e = t._self._c;
|
|
176
178
|
return e("div", [e("div", { staticClass: "options-wrapper" }, [e("div", { staticClass: "pb-4 text-lg font-semibold" }, [t._v(t._s(t.$t("title")))]), e("div", { staticClass: "print-options" }, [e("div", { staticClass: "select-none pb-1 text-sm font-medium text-gray-800" }, [t._v(" " + t._s(t.$t("_common:document")) + " ")]), e("div", { staticClass: "option-item" }, [e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", class: { disabled: !t.document.attachedFiles.length }, on: { click: function(i) {
|
|
177
179
|
t.options.appendAttachments = !t.options.appendAttachments;
|
|
178
|
-
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.document.attachedFiles.length ? t.options.appendAttachments : !1, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("appendAttachments")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$tc("_common:attachment", { count: t.document.attachedFiles.length })) + " ")])])], 1), e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.omitAttachmentBlockTooltip, expression: "omitAttachmentBlockTooltip" }] }, [e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", class: {
|
|
180
|
+
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.document.attachedFiles.length ? t.options.appendAttachments : !1, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("appendAttachments")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$tc("_common:attachment", { count: t.document.attachedFiles.length })) + " ")])])], 1), e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.omitAttachmentBlockTooltip, expression: "omitAttachmentBlockTooltip" }] }, [e("div", { staticClass: "option-item__inner border-t-2 border-white bg-gray-100 hover:bg-gray-200", class: {
|
|
179
181
|
disabled: !t.document.getAllNodesWithType("attachments").length
|
|
180
|
-
},
|
|
182
|
+
}, on: { click: function(i) {
|
|
181
183
|
t.options.hideDocumentAttachmentBlocks = !t.options.hideDocumentAttachmentBlocks;
|
|
182
184
|
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.document.getAllNodesWithType("attachments").length ? t.options.hideDocumentAttachmentBlocks : !1, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("hideDocumentAttachmentBlocks")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$tc("_common:block", { count: t.document.getAllNodesWithType("attachments").length })) + " ")])])], 1)])]), e("div", { staticStyle: { height: "1.25rem" } }), e("div", { staticClass: "select-none pb-1 text-sm font-medium text-gray-800" }, [t._v(" " + t._s(t.$t("_common:verification").capitalize()) + " ")]), e("div", { staticClass: "option-item", class: { disabled: !t.allowVerification } }, [e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", on: { click: function(i) {
|
|
183
185
|
t.options.showVerification = !t.options.showVerification;
|
|
184
|
-
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showVerification, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showVerification")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$t("showVerificationSub")) + " ")])])], 1), t.options.showVerification ? e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200",
|
|
186
|
+
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showVerification, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showVerification")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$t("showVerificationSub")) + " ")])])], 1), t.options.showVerification ? e("div", { staticClass: "option-item__inner border-t-2 border-white bg-gray-100 pl-8 hover:bg-gray-200", on: { click: function(i) {
|
|
185
187
|
t.options.showEvents = !t.options.showEvents;
|
|
186
188
|
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showEvents, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showEvents")))])])], 1) : t._e(), t.options.showVerification && t.hasBankIdSignatures ? e("div", [e("div", { staticClass: "mb-1 mt-3 inline-flex cursor-pointer select-none items-center rounded p-2 text-xs font-medium leading-none text-gray-500 hover:bg-gray-100", on: { click: function(i) {
|
|
187
189
|
t.showMoreOptions = !t.showMoreOptions;
|
|
188
190
|
} } }, [t._v(" " + t._s(t.$t("_common:more").capitalize()) + " "), e("CIcon", { staticClass: "ml-0.5 transition-transform", class: { "rotate-90": t.showMoreOptions }, attrs: { type: "chevron-right", "stroke-width": "2.25", size: "12" } })], 1), e("Animation", [t.showMoreOptions ? e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", on: { click: function(i) {
|
|
189
191
|
t.options.showLast4ssn = !t.options.showLast4ssn;
|
|
190
|
-
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showLast4ssn, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showLast4ssn")))])])], 1) : t._e()])], 1) : t._e()]), t.showAdminOptions ? e("div", [e("div", { staticStyle: { height: "1.25rem" } }), e("div", { staticClass: "select-none pb-1 text-sm font-medium text-gray-800" }, [t._v(" Superuser + VPN ")]), e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200",
|
|
192
|
+
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showLast4ssn, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showLast4ssn")))])])], 1) : t._e()])], 1) : t._e()]), t.showAdminOptions ? e("div", [e("div", { staticStyle: { height: "1.25rem" } }), e("div", { staticClass: "select-none pb-1 text-sm font-medium text-gray-800" }, [t._v(" Superuser + VPN ")]), e("div", { staticClass: "option-item__inner border-t-2 border-white bg-gray-100 text-xs opacity-80 hover:bg-gray-200", on: { click: function(i) {
|
|
191
193
|
t.options.forceDoCreatePdf = !t.options.forceDoCreatePdf;
|
|
192
|
-
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.forceDoCreatePdf, type: "secondary", size: "small" } }), t._m(0)], 1), e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200",
|
|
194
|
+
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.forceDoCreatePdf, type: "secondary", size: "small" } }), t._m(0)], 1), e("div", { staticClass: "option-item__inner border-t-2 border-white bg-gray-100 text-xs opacity-80 hover:bg-gray-200", on: { click: function(i) {
|
|
195
|
+
t.options.compressImages = !t.options.compressImages;
|
|
196
|
+
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.compressImages, type: "secondary", size: "small" } }), t._m(1)], 1), e("div", { staticClass: "option-item__inner border-t-2 border-white bg-gray-100 text-xs opacity-80 hover:bg-gray-200", on: { click: function(i) {
|
|
193
197
|
t.options.debugPage = !t.options.debugPage;
|
|
194
|
-
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.debugPage, type: "secondary", size: "small" } }), t._m(
|
|
198
|
+
} } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.debugPage, type: "secondary", size: "small" } }), t._m(2)], 1), e("div", { staticClass: "border-t-2 border-white bg-gray-100 text-xs opacity-80 hover:bg-gray-200" }, [e("CInput", { attrs: { type: "number", filled: "", size: "small", placeholder: "Optional extra timeout (ms)" }, model: { value: t.extraTimeout, callback: function(i) {
|
|
195
199
|
t.extraTimeout = t._n(i);
|
|
196
200
|
}, expression: "extraTimeout" } })], 1)]) : t._e()])]), e("CButton", { attrs: { type: "secondary", size: "medium", wide: "" }, on: { click: t.generatePdf } }, [t._v(" " + t._s(t.$t("buttonText")) + " ")])], 1);
|
|
197
201
|
}, g = [function() {
|
|
198
202
|
var s = this, t = s._self._c;
|
|
199
203
|
return t("div", [t("div", [s._v("Force re-create PDF")])]);
|
|
204
|
+
}, function() {
|
|
205
|
+
var s = this, t = s._self._c;
|
|
206
|
+
return t("div", [t("div", [s._v("Compress images")])]);
|
|
200
207
|
}, function() {
|
|
201
208
|
var s = this, t = s._self._c;
|
|
202
209
|
return t("div", [t("div", [s._v("Debug page output")])]);
|
|
@@ -206,12 +213,12 @@ var f = function() {
|
|
|
206
213
|
g,
|
|
207
214
|
!1,
|
|
208
215
|
null,
|
|
209
|
-
"
|
|
216
|
+
"f435986a"
|
|
210
217
|
);
|
|
211
|
-
const
|
|
218
|
+
const _ = v.exports, y = {
|
|
212
219
|
name: "DocPrint",
|
|
213
220
|
components: {
|
|
214
|
-
DocumentPrint:
|
|
221
|
+
DocumentPrint: _
|
|
215
222
|
},
|
|
216
223
|
props: {
|
|
217
224
|
document: {
|
|
@@ -220,20 +227,20 @@ const y = v.exports, _ = {
|
|
|
220
227
|
}
|
|
221
228
|
}
|
|
222
229
|
};
|
|
223
|
-
var
|
|
230
|
+
var b = function() {
|
|
224
231
|
var t = this, e = t._self._c;
|
|
225
232
|
return e("div", { staticClass: "h-full w-full overflow-auto px-8 py-12" }, [e("DocumentPrint", { attrs: { document: t.document }, on: { close: function(i) {
|
|
226
233
|
return t.$router.push("/");
|
|
227
234
|
} } })], 1);
|
|
228
|
-
}, w = [],
|
|
229
|
-
|
|
230
|
-
|
|
235
|
+
}, w = [], x = /* @__PURE__ */ d(
|
|
236
|
+
y,
|
|
237
|
+
b,
|
|
231
238
|
w,
|
|
232
239
|
!1,
|
|
233
240
|
null,
|
|
234
241
|
null
|
|
235
242
|
);
|
|
236
|
-
const C =
|
|
243
|
+
const C = x.exports;
|
|
237
244
|
export {
|
|
238
245
|
C as default
|
|
239
246
|
};
|