@cling-se/widget 0.13.5 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddClientCallout-P8T0R-6B.js → AddClientCallout-BP2ip0A4.js} +3 -3
- package/dist/{AnswerModal-BF-ZUpQ9.js → AnswerModal-C8i3ldB_.js} +4 -4
- package/dist/{AttachmentItem-DEC6rjGE.js → AttachmentItem-BrvrAMae.js} +2 -2
- package/dist/{BaseDatePicker-2uhuySby.js → BaseDatePicker-BSkAllLg.js} +556 -556
- package/dist/{BaseUpload-D1OS-EZ-.js → BaseUpload-J2v3G0-q.js} +14 -14
- package/dist/{BlockMedia-BFBeRtJx.js → BlockMedia-CAgKbN_k.js} +21 -17
- package/dist/{CCallout-CsQMsFZO.js → CCallout-D5Nk5DgN.js} +2 -2
- package/dist/CCurrencyDropdown-CGYQfYSD.js +246 -0
- package/dist/{CDropdownItem-BeK9wNHJ.js → CDropdownItem-DGES8E6l.js} +7 -5
- package/dist/{CField-TsZhnNrK.js → CFormField-CE4rV3cr.js} +66 -39
- package/dist/{CPhoneFormat-DPYhElZw.js → CPhoneFormat-DXPrTit9.js} +1 -1
- package/dist/CPriceInput-CYsf1n6T.js +112 -0
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +1 -0
- package/dist/{ClientAutocomplete-Ch2Z-VNr.js → ClientAutocomplete-DPgOfPg1.js} +2 -2
- package/dist/{ClientModal-rdb9TsyH.js → ClientModal-Dznh8Vvn.js} +44 -36
- package/dist/{ColorPicker-2gfbU60o.js → ColorPicker-CWQEE8VR.js} +1 -1
- package/dist/{CompanyModal-CNeySxNi.js → CompanyModal-CeZ3GgLu.js} +4 -4
- package/dist/{ContentWrapper-D27J_sCS.js → ContentWrapper-DW7VHTdA.js} +8 -8
- package/dist/{CoverBlockSettings-BfdJKrsq.js → CoverBlockSettings-DNSdXFgF.js} +5 -5
- package/dist/{DocAnswer-CyHASkhm.js → DocAnswer-CPttkKAJ.js} +2 -2
- package/dist/{DocDetails-8bM9dBxm.js → DocDetails-BCwWW_kM.js} +7 -7
- package/dist/{DocForm-CumvOHwl.js → DocForm-BPjC08Ic.js} +41 -39
- package/dist/{DocFormSend-CdoZy_Q2.js → DocFormSend-BaC8IJCu.js} +2 -2
- package/dist/{DocLinks-BJPADuvd.js → DocLinks-DN-S8MY_.js} +2 -2
- package/dist/{DocModalBase-Cd3zXvH_.js → DocModalBase-bFJp0T2Y.js} +1 -1
- package/dist/{DocPrint-Be4l2pra.js → DocPrint-Ci7Jyh-C.js} +20 -19
- package/dist/{DocReceipt-DmFjo26V.js → DocReceipt-BYlXr6eS.js} +6 -6
- package/dist/{DocSendReminder-CVxh_c7u.js → DocSendReminder-DFx4934a.js} +1 -1
- package/dist/{DocTextEditor-2jhWmmN2.js → DocTextEditor-idQMnlIF.js} +1086 -1057
- package/dist/{DocTimeline-Dvn690cI.js → DocTimeline-ZmGSVRUB.js} +1 -1
- package/dist/{DocumentClient-D3ESmMk1.js → DocumentClient-DTRlyvLO.js} +5 -5
- package/dist/{DocumentLayout-0-y6ChW3.js → DocumentLayout-BJAyNjNa.js} +9 -5
- package/dist/{DocumentLogotype-CHWEVOFb.js → DocumentLogotype-pDJRc6Hj.js} +3 -3
- package/dist/{DocumentVoided-CoJ6YorU.js → DocumentVoided-DfKewfe4.js} +1 -1
- package/dist/{EmbedInput-CGQJdLBd.js → EmbedInput-7hLNsnEV.js} +2 -2
- package/dist/{EmbedSettings-DRfM7EkF.js → EmbedSettings-CpL24RhA.js} +2 -2
- package/dist/{ErrorCallout-pRwrsMwI.js → ErrorCallout-CdJCe67q.js} +1 -1
- package/dist/{FilePreviewModal-4hJnwqeM.js → FilePreviewModal-B7qT3I7F.js} +2 -2
- package/dist/{Flag-CH9jX9p6.js → Flag-DwW19zju.js} +1 -1
- package/dist/{HeaderSettings-DESkxus6.js → HeaderSettings-C8SuuAwv.js} +7 -7
- package/dist/{ImageSelectModal-BczBg7pO.js → ImageSelectModal-CAOh3YHc.js} +3 -3
- package/dist/{ImageUploadWrapper-B7F5UzSa.js → ImageUploadWrapper-21yldsj9.js} +2 -2
- package/dist/{Index-Dj7XQrCX.js → Index-B0BgYtWI.js} +5 -5
- package/dist/{Index-DLX_14JW.js → Index-BC1AhlQ9.js} +6 -6
- package/dist/{Index-B77mpvaJ.js → Index-BZi6r2UN.js} +8 -8
- package/dist/{Index-CPXWFvtI.js → Index-BsD09y_2.js} +6 -6
- package/dist/{Index-DpZ0FVkb.js → Index-Bu9SdKLP.js} +1 -1
- package/dist/{Index-DRdhlnQI.js → Index-BvsqZh2A.js} +4 -4
- package/dist/{Index-Cb7AYMdp.js → Index-Bz4qd9uO.js} +5 -5
- package/dist/{Index-BkDT09xK.js → Index-C--GiPc1.js} +5 -5
- package/dist/{Index-D_21EWlr.js → Index-CC7qF0br.js} +4 -4
- package/dist/{Index-CgugegyD.js → Index-CGxOvTF4.js} +590 -694
- package/dist/{Index-C8Eykyfr.js → Index-CI7_ktvb.js} +5 -5
- package/dist/{Index-D_XxQTHL.js → Index-COJZmxkX.js} +4 -4
- package/dist/{Index-BztAYqwZ.js → Index-CObEQ6G-.js} +3 -3
- package/dist/{Index-Lwrlj4Uo.js → Index-CP2bsXd-.js} +11 -13
- package/dist/{Index-DM8XS-Lc.js → Index-CSvZBLnp.js} +3 -3
- package/dist/{Index-xVss9bbv.js → Index-Ci-hGBbC.js} +4 -4
- package/dist/{Index-CUYcsakk.js → Index-Ckzq1cEJ.js} +22 -18
- package/dist/{Index-euXfMzGE.js → Index-CoIh5y2F.js} +4 -4
- package/dist/{Index-Cs1C7d8_.js → Index-Couda8BX.js} +2 -2
- package/dist/{Index-BSApSN3a.js → Index-CvXt3dm6.js} +24 -24
- package/dist/{Index-CwOwQrDd.js → Index-D95MNzAZ.js} +4 -4
- package/dist/{Index-CRjdza18.js → Index-DB5EG4EI.js} +32 -30
- package/dist/{Index-COFOq65C.js → Index-DDvRihXA.js} +3 -3
- package/dist/{Index-BOIBgNgp.js → Index-DIAntwBs.js} +2 -2
- package/dist/{Index-BCBBrdDY.js → Index-DUdJNcDT.js} +4 -4
- package/dist/{Index-DAuSARq4.js → Index-DfANvO5d.js} +5 -5
- package/dist/{Index-DLwJlsSV.js → Index-Ds1Jv5Mr.js} +6 -6
- package/dist/{Index-CBRWEkz3.js → Index-FIWsRGmh.js} +12 -7
- package/dist/{Index-DXovv3-e.js → Index-M3b7S4YX.js} +4 -4
- package/dist/{Index-McJQllNy.js → Index-NoN1_539.js} +7 -7
- package/dist/{Index-BBWCdaFx.js → Index-UGFm4yxI.js} +14 -32
- package/dist/{Index-Dk7qSZaZ.js → Index-aCBe0dXx.js} +2 -2
- package/dist/{Index-BSizncA1.js → Index-kJFtpJEP.js} +2 -2
- package/dist/{Index-DxT6UrU3.js → Index-rQKoLISX.js} +2 -2
- package/dist/{InputToggleRow-BjSD0lth.js → InputToggleRow-Ct8rvqAF.js} +1 -1
- package/dist/{ManualPopover-CIouE65j.js → ManualPopover-B0vp9ydC.js} +1 -1
- package/dist/{MediaWrapper-DK2fsQP7.js → MediaWrapper-hmofOPLv.js} +3 -3
- package/dist/{NotBindingText-D1IUYEiC.js → NotBindingText-COpJPwHe.js} +2 -2
- package/dist/{PackageGroup-BImsltc7.js → PackageGroup-BdtslJL-.js} +5 -5
- package/dist/{PdfTerms-BzBvvuT6.js → PdfTerms-EDStBDhn.js} +2 -2
- package/dist/PdfViewer-D1_Roqu2.js +374 -0
- package/dist/{PlainHtml-J_nR1ibV.js → PlainHtml-C3JPvt4o.js} +1 -1
- package/dist/{PriceHeader-BZeaKOTy.js → PriceHeader-BdfozyN8.js} +7 -7
- package/dist/{SearchApi-Du-Lqo7R.js → SearchApi-CQtYh98a.js} +2 -2
- package/dist/{Setup-CtSIo_xU.js → Setup-DHHMT6xu.js} +1 -1
- package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-B85IuuQS.js → SmartList-BXeRj5NC.js} +1 -1
- package/dist/{TermsSettings-DDHrUB_S.js → TermsSettings-D1tDAu-r.js} +3 -3
- package/dist/{ThemeColorRow-BiRPYyj_.js → ThemeColorRow-HUN-QPY_.js} +3 -3
- package/dist/{ToggleBinding-Cvd9I0Dw.js → ToggleBinding-CRoVM6Nw.js} +3 -3
- package/dist/{UploadModal-ByJeM98S.js → UploadModal-BD3pIiPT.js} +2 -2
- package/dist/{VideoPlayerInput-C1PiFaBo.js → VideoPlayerInput-QFJfPoCf.js} +3 -3
- package/dist/{VideoPlayerSettings-C9vt7Twd.js → VideoPlayerSettings-CGq--niu.js} +2 -2
- package/dist/{VideoSelectModal-cEDZv03c.js → VideoSelectModal-B61rBqdH.js} +3 -3
- package/dist/{answerDocumentMixin-QbMot2bf.js → answerDocumentMixin-DiONfM1s.js} +3 -3
- package/dist/{debounce-CaZBFRFZ.js → debounce-BIchuVwa.js} +11 -11
- package/dist/dom-CJxkno7i.js +91 -0
- package/dist/{focusDrawerMixin-D-mqPE02.js → focusDrawerMixin-CzvgKsOZ.js} +1 -1
- package/dist/{formComponentsInstall-BdhIOhq5.js → formComponentsInstall-EQLbqYqI.js} +201 -231
- package/dist/{formDrawerState-CcDRv2mi.js → formDrawerState-CiKGHdNH.js} +1 -1
- package/dist/{formValidationMixin-sp3Q6-ER.js → formValidationMixin-5BVcxu38.js} +2 -2
- package/dist/{index-CJTuXpCD.js → index-BYTRIZIz.js} +1 -1
- package/dist/{index-DEWMCZz4.js → index-Be__C37A.js} +1 -1
- package/dist/{index-DuCwf2mg.js → index-CUydiL8B.js} +16 -16
- package/dist/{index-BjZuADtN.js → index-DH6SCEKQ.js} +13 -13
- package/dist/{index-BWmMho6V.js → index-gtVGRKIX.js} +9 -9
- package/dist/{index-BABEaO8N.js → index-tNIrTnCx.js} +35 -35
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +134 -142
- package/dist/{main-DQ6SH_E_.js → main-Bp2qcma0.js} +4209 -4198
- package/dist/{mapFormMixin-2SoyKxW2.js → mapFormMixin-Ce3_WIKw.js} +1 -1
- package/dist/omit-21u5fFMx.js +31 -0
- package/dist/{publicSenderState-CKGe1ejF.js → publicSenderState-BcN9kJJr.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-BeZ_TpQb.js → throttle-CfPxqhW_.js} +2 -2
- package/dist/{tinycolor-C3JU9Hqu.js → tinycolor-DNK6zGoq.js} +1 -1
- package/dist/tippy.esm-B5TcTBWX.js +1799 -0
- package/dist/{utils-D2JfcR6v.js → utils-GzwJPAEe.js} +1 -1
- package/dist/{omit-BjdTqooP.js → vuedraggable.umd-2pmrPYml.js} +497 -525
- package/package.json +1 -1
- package/dist/BaseInput-BtgFVDxx.js +0 -364
- package/dist/PdfViewer-Dq0Mc-WC.js +0 -247
- package/dist/dom-CPYqHOIw.js +0 -69
- package/dist/tippy.esm-DowQrfWM.js +0 -2039
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import se from "./AnswerModal-
|
|
2
|
-
import { o as ne } from "./index-
|
|
3
|
-
import { w as x } from "./CDropdownItem-
|
|
4
|
-
import {
|
|
1
|
+
import se from "./AnswerModal-C8i3ldB_.js";
|
|
2
|
+
import { o as ne } from "./index-Be__C37A.js";
|
|
3
|
+
import { w as x } from "./CDropdownItem-DGES8E6l.js";
|
|
4
|
+
import { aT as I, g as m, n as d, c as f, b as u, d as oe, aU as le, S as re, w as U, j as $, aA as ce, aN as y, a6 as p, O as H, h as D, ae as h, aV as de, aW as pe, aX as ue, aY as me, aZ as he, a_ as fe, V as A, aP as O, aQ as R, I as E, a$ as B, aR as ge, b0 as Ce, J as ve, b1 as ye, f as xe, k as G, b2 as we, b3 as be, F as ke, b4 as _e, C as W, b5 as Le, b6 as $e, N as q, b7 as Se, b8 as Te, aS as De, b9 as Ve, ba as Be, bb as Me, a3 as Ie, bc as Fe, m as He, a as Ae, bd as Pe } from "./main-Bp2qcma0.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
|
|
12
|
-
import { C as
|
|
13
|
-
import { C as j
|
|
14
|
-
import { S as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { s as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
6
|
+
import { s as k } from "./Flag-DwW19zju.js";
|
|
7
|
+
import { l as Ee, g as ze, W as Ze, b as Ue, a as Oe, D as Re } from "./DocumentLayout-BJAyNjNa.js";
|
|
8
|
+
import { F as N, d as Ge } from "./tippy.esm-B5TcTBWX.js";
|
|
9
|
+
import { m as S } from "./mapFormMixin-Ce3_WIKw.js";
|
|
10
|
+
import { d as P, t as We } from "./debounce-BIchuVwa.js";
|
|
11
|
+
import { d as qe } from "./vuedraggable.umd-2pmrPYml.js";
|
|
12
|
+
import { C as Ne, I as _, a as L, s as je } from "./index-CUydiL8B.js";
|
|
13
|
+
import { C as j } from "./CFormField-CE4rV3cr.js";
|
|
14
|
+
import { S as Ke } from "./SmartList-BXeRj5NC.js";
|
|
15
|
+
import { o as Ye, _ as Qe } from "./omit-21u5fFMx.js";
|
|
16
|
+
import { v as F } from "./index-tNIrTnCx.js";
|
|
17
|
+
import { t as Je } from "./tinycolor-DNK6zGoq.js";
|
|
18
|
+
import { s as v } from "./formDrawerState-CiKGHdNH.js";
|
|
19
|
+
import { s as Xe } from "./dom-CJxkno7i.js";
|
|
20
|
+
import { S as et, i as tt } from "./formComponentsInstall-EQLbqYqI.js";
|
|
21
|
+
import { f as it } from "./formValidationMixin-5BVcxu38.js";
|
|
22
|
+
import { B as at } from "./BlockMedia-CAgKbN_k.js";
|
|
21
23
|
const st = {
|
|
22
24
|
name: "DocumentPostSendStep",
|
|
23
25
|
mixins: [x],
|
|
@@ -1879,7 +1881,7 @@ const m1 = u1.exports, h1 = {
|
|
|
1879
1881
|
remove() {
|
|
1880
1882
|
if (!this.existingFieldId)
|
|
1881
1883
|
return;
|
|
1882
|
-
const i =
|
|
1884
|
+
const i = Ye(this.document.fields, [this.existingFieldId]);
|
|
1883
1885
|
this.set({ key: "data.fields", value: i }), this.$emit("close");
|
|
1884
1886
|
}
|
|
1885
1887
|
}
|
|
@@ -1927,8 +1929,8 @@ const v1 = C1.exports, y1 = {
|
|
|
1927
1929
|
},
|
|
1928
1930
|
name: "DocumentFormFields",
|
|
1929
1931
|
components: {
|
|
1930
|
-
SmartList:
|
|
1931
|
-
CAccordion:
|
|
1932
|
+
SmartList: Ke,
|
|
1933
|
+
CAccordion: Ne,
|
|
1932
1934
|
CField: j
|
|
1933
1935
|
},
|
|
1934
1936
|
mixins: [S()],
|
|
@@ -3038,7 +3040,7 @@ const Z1 = ({ language: i = "en" } = {}) => [
|
|
|
3038
3040
|
background: o,
|
|
3039
3041
|
priceSummaryBackground: l,
|
|
3040
3042
|
backgroundFilter: r
|
|
3041
|
-
} = s || {}, c = l || "hsl(228, 52%, 18%)", C =
|
|
3043
|
+
} = s || {}, c = l || "hsl(228, 52%, 18%)", C = Je.readability(c, "#fff") < 1.8 ? "#111111" : "#FFFFFF";
|
|
3042
3044
|
return [
|
|
3043
3045
|
{
|
|
3044
3046
|
key: `header-${i}`,
|
|
@@ -5053,7 +5055,7 @@ const G2 = R2.exports, W2 = {
|
|
|
5053
5055
|
Fields: k1,
|
|
5054
5056
|
ExtensionTab: m1,
|
|
5055
5057
|
DocumentGeneralSettings: r1,
|
|
5056
|
-
DocumentGuide: () => import("./index-
|
|
5058
|
+
DocumentGuide: () => import("./index-BYTRIZIz.js"),
|
|
5057
5059
|
MenuBlocks: G2,
|
|
5058
5060
|
Simplebar: k
|
|
5059
5061
|
},
|
|
@@ -5289,7 +5291,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
|
|
|
5289
5291
|
return this.view === "edit";
|
|
5290
5292
|
},
|
|
5291
5293
|
isFixedSidebar() {
|
|
5292
|
-
return ["sm", "md"].includes(this.mq);
|
|
5294
|
+
return ["sm", "md", "lg"].includes(this.mq);
|
|
5293
5295
|
},
|
|
5294
5296
|
isLegacyTemplate() {
|
|
5295
5297
|
return !!this.readLayout.find(
|
|
@@ -5345,7 +5347,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
|
|
|
5345
5347
|
},
|
|
5346
5348
|
methods: {
|
|
5347
5349
|
onAddBlockMount(i, e) {
|
|
5348
|
-
!this.onAddRedis[i] || !e || (e.$el && this.$nextTick(() =>
|
|
5350
|
+
!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
5351
|
},
|
|
5350
5352
|
onBlockToggleVisible(i, e) {
|
|
5351
5353
|
const a = [...this.readLayout].findIndex(
|
|
@@ -5457,7 +5459,7 @@ var Q2 = function() {
|
|
|
5457
5459
|
return a.stopPropagation(), e.drawerState.toggleLeft.apply(null, arguments);
|
|
5458
5460
|
} } })], 1), e._t("nav-left")], 2), t("div", { staticClass: "relative", attrs: { slot: "center" }, slot: "center" }, [t("DocumentFormViewRadio", { directives: [{ name: "show", rawName: "v-show", value: e.nestedReadLayout.length, expression: "nestedReadLayout.length" }], attrs: { small: e.mq === "sm", value: e.view }, on: { input: function(a) {
|
|
5459
5461
|
return e.$emit("update:view", a);
|
|
5460
|
-
} } }), !e.isEditView && !["sm", "md"].includes(e.mq) ? t("div", { staticClass: "absolute inline-flex h-9 space-x-2 rounded-md bg-gray-300 p-1 backdrop-blur-lg backdrop-saturate-[180%]", staticStyle: { left: "calc(100% + calc(1.25 * var(--rem)))" } }, e._l(["desktop", "tablet", "mobile"], function(a) {
|
|
5462
|
+
} } }), !e.isEditView && !["sm", "md", "lg"].includes(e.mq) ? t("div", { staticClass: "absolute inline-flex h-9 cursor-pointer space-x-2 rounded-md bg-gray-300 p-1 backdrop-blur-lg backdrop-saturate-[180%]", staticStyle: { left: "calc(100% + calc(1.25 * var(--rem)))" } }, e._l(["desktop", "tablet", "mobile"], function(a) {
|
|
5461
5463
|
return t("div", { key: a, staticClass: "pointer inline-flex select-none items-center justify-center rounded-md p-[10px] font-semibold text-gray-700 transition duration-150 ease-linear", style: e.previewDevice === a && {
|
|
5462
5464
|
boxShadow: "0 1px 1px rgba(0, 0, 0, 0.2)",
|
|
5463
5465
|
backgroundColor: "hsl(0, 0%, 100%)",
|
|
@@ -5530,7 +5532,7 @@ var Q2 = function() {
|
|
|
5530
5532
|
J2,
|
|
5531
5533
|
!1,
|
|
5532
5534
|
null,
|
|
5533
|
-
"
|
|
5535
|
+
"3168d720"
|
|
5534
5536
|
);
|
|
5535
5537
|
const ei = X2.exports, ti = {
|
|
5536
5538
|
name: "DocumentSend",
|
|
@@ -5558,7 +5560,7 @@ const ei = X2.exports, ti = {
|
|
|
5558
5560
|
components: {
|
|
5559
5561
|
AddBlock: Q,
|
|
5560
5562
|
Drawer: K,
|
|
5561
|
-
SendForm:
|
|
5563
|
+
SendForm: et,
|
|
5562
5564
|
CCheckbox: ve,
|
|
5563
5565
|
CIcon: ye,
|
|
5564
5566
|
CButton: xe,
|
|
@@ -5663,9 +5665,9 @@ var ii = function() {
|
|
|
5663
5665
|
e.isOpen = !1;
|
|
5664
5666
|
} } }), t("SendForm", { attrs: { _document: e._document, _value: e._value, "set-form-value": e.setFormValue, "remove-form-value": e.removeFormValue, "on-save-document": e.onSaveDoc, "use-scroll": "" } }, [e.hasAnswerBlock ? e._e() : t("div", { key: "1", staticClass: "mb-8 flex rounded-lg border border-red-200 bg-red-50 p-3" }, [t("div", [t("CIcon", { staticClass: "-mt-1 text-red-600", attrs: { type: "error", size: "18" } })], 1), t("div", [t("div", { staticClass: "pl-2" }, [t("div", { staticClass: "text-sm font-semibold text-red-600", domProps: { textContent: e._s(e.$t("signMissingTitle")) } }), t("div", { staticClass: "mb-4 text-sm text-red-600 text-opacity-80" }, [e._v(" " + e._s(e.$t("signMissingText")) + " ")])]), t("AddBlock", { attrs: { set: e.setFormValue }, scopedSlots: e._u([{ key: "default", fn: function({ addBlock: a }) {
|
|
5665
5667
|
return [t("CButton", { staticClass: "is-left", attrs: { type: "secondary", size: "small" }, on: { click: function(s) {
|
|
5666
|
-
return a({ sectionKey: "answer" });
|
|
5668
|
+
return a({ sectionKey: "answer", document: e._document });
|
|
5667
5669
|
} } }, [e._v(" " + e._s(e.$t("signMissingAdd")) + " ")])];
|
|
5668
|
-
} }], null, !1,
|
|
5670
|
+
} }], null, !1, 1245343054) })], 1)]), e.isPublicForm ? t("CButton", { staticStyle: { height: "48px" }, attrs: { slot: "send", type: "secondary", wide: "" }, on: { click: e.onSaveDocument }, slot: "send" }, [e._v(" " + e._s(e.$t("signupToSend")) + " ")]) : e._e(), t("label", { staticClass: "text-gray-600", staticStyle: { display: "inline-flex", "align-items": "center", cursor: "pointer", "user-select": "none", "font-size": "12px", "font-weight": "500", "padding-top": "calc(1 * var(--rem))" }, attrs: { slot: "footer", for: "checkbox-save-as-temp" }, slot: "footer" }, [t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canCreateTemplate: a }) {
|
|
5669
5671
|
return [t("IsPremiumPreStep", { attrs: { feature: "saveDocTemplate" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: s }) {
|
|
5670
5672
|
return [t("div", { staticClass: "flex items-center", on: { click: (n) => e.onClickSaveAsTemplate({
|
|
5671
5673
|
event: n,
|
|
@@ -5682,7 +5684,7 @@ var ii = function() {
|
|
|
5682
5684
|
ai,
|
|
5683
5685
|
!1,
|
|
5684
5686
|
null,
|
|
5685
|
-
"
|
|
5687
|
+
"ded1afc1"
|
|
5686
5688
|
);
|
|
5687
5689
|
const ni = si.exports, oi = {
|
|
5688
5690
|
i18nOptions: {
|
|
@@ -5829,7 +5831,7 @@ const ni = si.exports, oi = {
|
|
|
5829
5831
|
};
|
|
5830
5832
|
var li = function() {
|
|
5831
5833
|
var e = this, t = e._self._c;
|
|
5832
|
-
return t("div", { staticClass: "t-root font-inter" }, [t("div", { staticStyle: { "font-size": "18px", "font-weight": "700", "text-align": "center", "margin-bottom": "1em" } }, [e._v(" " + e._s(e.template ? e.$t("_common:edit", { thing: e.$t("_common:name") }) : e.$t("_common:save", { thing: e.$t("_common:template") })) + " ")]), t("div", [e.template ? e._e() : t("CCallout", [e._v(" " + e._s(e.$t("calloutDescription")) + " ")]), t("CField", { attrs: { vuelidate: e.$v.name, "vuelidate-messages": e.messages.name, label: e.$t("_common:name").capitalize(), "label-position": "inside" } }, [t("CInput", { ref: "input", staticClass: "rounder", staticStyle: { "margin-bottom": "calc(1 * var(--rem))" }, attrs: { value: e.updateExistingDocTemplate ? e.document.template.name : e.name, placeholder: e.$t("namePlaceholder"), disabled: e.updateExistingDocTemplate,
|
|
5834
|
+
return t("div", { staticClass: "t-root font-inter" }, [t("div", { staticStyle: { "font-size": "18px", "font-weight": "700", "text-align": "center", "margin-bottom": "1em" } }, [e._v(" " + e._s(e.template ? e.$t("_common:edit", { thing: e.$t("_common:name") }) : e.$t("_common:save", { thing: e.$t("_common:template") })) + " ")]), t("div", [e.template ? e._e() : t("CCallout", [e._v(" " + e._s(e.$t("calloutDescription")) + " ")]), t("CField", { attrs: { vuelidate: e.$v.name, "vuelidate-messages": e.messages.name, label: e.$t("_common:name").capitalize(), "label-position": "inside" } }, [t("CInput", { ref: "input", staticClass: "rounder", staticStyle: { "margin-bottom": "calc(1 * var(--rem))" }, attrs: { value: e.updateExistingDocTemplate ? e.document.template.name : e.name, placeholder: e.$t("namePlaceholder"), disabled: e.updateExistingDocTemplate, size: "medium" }, on: { input: function(a) {
|
|
5833
5835
|
e.name = a;
|
|
5834
5836
|
} } })], 1), e.document && e.document.template.id && e.canUpdateExistingDocTemplate ? t("div", [t("CField", { staticStyle: { "padding-left": "calc(0.5 * var(--rem))", "margin-bottom": "calc(0.5 * var(--rem))" } }, [t("CCheckbox", { attrs: { type: "secondary", size: "normal" }, model: { value: e.updateExistingDocTemplate, callback: function(a) {
|
|
5835
5837
|
e.updateExistingDocTemplate = a;
|
|
@@ -5842,7 +5844,7 @@ var li = function() {
|
|
|
5842
5844
|
ri,
|
|
5843
5845
|
!1,
|
|
5844
5846
|
null,
|
|
5845
|
-
"
|
|
5847
|
+
"ea90dfe8"
|
|
5846
5848
|
);
|
|
5847
5849
|
const X = ci.exports;
|
|
5848
5850
|
function di(i, e, t) {
|
|
@@ -6638,7 +6640,7 @@ const Ni = qi.exports, ji = {
|
|
|
6638
6640
|
}
|
|
6639
6641
|
},
|
|
6640
6642
|
beforeCreate() {
|
|
6641
|
-
this.$store.hasModule("stripe") || this.$store.registerModuleState("stripe",
|
|
6643
|
+
this.$store.hasModule("stripe") || this.$store.registerModuleState("stripe", je);
|
|
6642
6644
|
},
|
|
6643
6645
|
async created() {
|
|
6644
6646
|
var t, a, s, n;
|
|
@@ -7065,11 +7067,11 @@ function pa(i, e) {
|
|
|
7065
7067
|
return da(i, a);
|
|
7066
7068
|
});
|
|
7067
7069
|
}
|
|
7068
|
-
var ua = pa, ma = ua, ha =
|
|
7070
|
+
var ua = pa, ma = ua, ha = Qe, fa = ha(function(i, e) {
|
|
7069
7071
|
return i == null ? {} : ma(i, e);
|
|
7070
7072
|
}), ga = fa;
|
|
7071
7073
|
const Ca = /* @__PURE__ */ G(ga);
|
|
7072
|
-
A.use(
|
|
7074
|
+
A.use(tt);
|
|
7073
7075
|
const va = {
|
|
7074
7076
|
name: "DocForm",
|
|
7075
7077
|
i18nOptions: {
|
|
@@ -7265,7 +7267,7 @@ var ya = function() {
|
|
|
7265
7267
|
null,
|
|
7266
7268
|
"2c3d4461"
|
|
7267
7269
|
);
|
|
7268
|
-
const
|
|
7270
|
+
const Ga = wa.exports;
|
|
7269
7271
|
export {
|
|
7270
|
-
|
|
7272
|
+
Ga as default
|
|
7271
7273
|
};
|
|
@@ -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-EQLbqYqI.js";
|
|
2
|
+
import { V as n, m as r, a as i, g as u, C as c, n as m } from "./main-Bp2qcma0.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, J as h, c, I as l, K as p, L as a, M as m } from "./main-Bp2qcma0.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,43 +177,42 @@ 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", {
|
|
194
|
+
} } }, [e("CCheckbox", { staticClass: "py-2", attrs: { value: t.options.forceDoCreatePdf, size: "small" } }, [t._v(" Force re-create PDF ")])], 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(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) {
|
|
193
197
|
t.options.debugPage = !t.options.debugPage;
|
|
194
|
-
} } }, [e("CCheckbox", {
|
|
198
|
+
} } }, [e("CCheckbox", { staticClass: "py-2", attrs: { value: t.options.debugPage, size: "small" } }, [t._v(" Debug page output ")])], 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
|
-
return t("div", [t("div", [s._v("
|
|
200
|
-
}, function() {
|
|
201
|
-
var s = this, t = s._self._c;
|
|
202
|
-
return t("div", [t("div", [s._v("Debug page output")])]);
|
|
203
|
+
return t("div", [t("div", [s._v("Compress images")])]);
|
|
203
204
|
}], v = /* @__PURE__ */ d(
|
|
204
205
|
u,
|
|
205
206
|
f,
|
|
206
207
|
g,
|
|
207
208
|
!1,
|
|
208
209
|
null,
|
|
209
|
-
"
|
|
210
|
+
"c95522c4"
|
|
210
211
|
);
|
|
211
|
-
const
|
|
212
|
+
const b = v.exports, w = {
|
|
212
213
|
name: "DocPrint",
|
|
213
214
|
components: {
|
|
214
|
-
DocumentPrint:
|
|
215
|
+
DocumentPrint: b
|
|
215
216
|
},
|
|
216
217
|
props: {
|
|
217
218
|
document: {
|
|
@@ -220,20 +221,20 @@ const y = v.exports, _ = {
|
|
|
220
221
|
}
|
|
221
222
|
}
|
|
222
223
|
};
|
|
223
|
-
var
|
|
224
|
+
var y = function() {
|
|
224
225
|
var t = this, e = t._self._c;
|
|
225
226
|
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
227
|
return t.$router.push("/");
|
|
227
228
|
} } })], 1);
|
|
228
|
-
},
|
|
229
|
-
_,
|
|
230
|
-
x,
|
|
229
|
+
}, _ = [], x = /* @__PURE__ */ d(
|
|
231
230
|
w,
|
|
231
|
+
y,
|
|
232
|
+
_,
|
|
232
233
|
!1,
|
|
233
234
|
null,
|
|
234
235
|
null
|
|
235
236
|
);
|
|
236
|
-
const C =
|
|
237
|
+
const C = x.exports;
|
|
237
238
|
export {
|
|
238
239
|
C as default
|
|
239
240
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as p, n as u } from "./main-
|
|
1
|
+
import { g as p, n as u } from "./main-Bp2qcma0.js";
|
|
2
2
|
import { m as g, a as _ } from "./vuex.esm-DKGl8mcw.js";
|
|
3
3
|
const f = {
|
|
4
4
|
sv: {
|
|
@@ -82,6 +82,10 @@ const f = {
|
|
|
82
82
|
sentByName() {
|
|
83
83
|
var a, t;
|
|
84
84
|
return ((t = (a = this.document.sender) == null ? void 0 : a.user) == null ? void 0 : t.name) || "";
|
|
85
|
+
},
|
|
86
|
+
signOptions() {
|
|
87
|
+
var a;
|
|
88
|
+
return ((a = this.document) == null ? void 0 : a.signOptions) || [];
|
|
85
89
|
}
|
|
86
90
|
},
|
|
87
91
|
methods: {
|
|
@@ -162,11 +166,7 @@ var h = function() {
|
|
|
162
166
|
t.getBrowserString(n)
|
|
163
167
|
]
|
|
164
168
|
], function([i, d, m], l) {
|
|
165
|
-
return [d ? e("div", { key: l, staticClass: "text-[13px]" }, [e("div", { staticClass: "text-gray-900", domProps: { textContent: t._s(i) } }), e("div", { staticClass: "flex items-center" }, [e("div", { staticClass: "mr-1.5 text-gray-500", domProps: { textContent: t._s(d) } }), m === "signMethod" && n.method && t.allowSignMethodUpdate && t.document.status !== "accepted" && n.didAccept === void 0 ? e("CDropdown", { attrs: { "append-to-body": !0, "menu-styling": { width: "180px" } } }, [e("div", { staticClass: "text-primary-500 text-xs font-medium underline", attrs: { slot: "trigger" }, domProps: { textContent: t._s(t.$t("_common:change")) }, slot: "trigger" }), t._l(
|
|
166
|
-
...t.feature("bankId") ? ["bankId"] : [],
|
|
167
|
-
"signature",
|
|
168
|
-
"inPerson"
|
|
169
|
-
], function(r) {
|
|
169
|
+
return [d ? e("div", { key: l, staticClass: "text-[13px]" }, [e("div", { staticClass: "text-gray-900", domProps: { textContent: t._s(i) } }), e("div", { staticClass: "flex items-center" }, [e("div", { staticClass: "mr-1.5 text-gray-500", domProps: { textContent: t._s(d) } }), m === "signMethod" && n.method && t.allowSignMethodUpdate && t.signOptions.length > 1 && t.document.status !== "accepted" && n.didAccept === void 0 ? e("CDropdown", { attrs: { "append-to-body": !0, "menu-styling": { width: "180px" } } }, [e("div", { staticClass: "text-primary-500 text-xs font-medium underline", attrs: { slot: "trigger" }, domProps: { textContent: t._s(t.$t("_common:change")) }, slot: "trigger" }), t._l(t.signOptions, function(r) {
|
|
170
170
|
return e("CDropdownItem", { key: r, attrs: { "icon-right": n.method === r ? "check" : "" }, on: { click: function(D) {
|
|
171
171
|
n.method !== r && t.onUpdate(n, r);
|
|
172
172
|
} } }, [t._v(" " + t._s(t.$t(`_common:signMethod.${r}`)) + " ")]);
|