@cling-se/widget 0.19.7 → 0.19.8
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 +8 -0
- package/dist/{AddClientCallout-BdGevuQo.js → AddClientCallout-sPxYX5tQ.js} +19 -19
- package/dist/{AnswerModal-DfjF-RVP.js → AnswerModal-o8OHHulg.js} +80 -80
- package/dist/{AttachmentItem-BEd3qVAo.js → AttachmentItem-CzzOlHB-.js} +14 -14
- package/dist/{BaseUpload-Zm4EX8ir.js → BaseUpload-oZQfFwOj.js} +256 -256
- package/dist/{BlockMedia-ZHaA4OMV.js → BlockMedia-BGPxfM2X.js} +11 -11
- package/dist/{CCallout-BlglVZrm.js → CCallout-CrbMGTIj.js} +15 -15
- package/dist/{CCurrencyDropdown-BzvKsm1N.js → CCurrencyDropdown-BnNDP51j.js} +13 -13
- package/dist/{CDropdownItem-B5rgSee7.js → CDropdownItem-E-kRDIiy.js} +11 -11
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js → CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js} +17 -17
- package/dist/{CPhoneFormat-DaDNMlmK.js → CPhoneFormat-CIQAVdsB.js} +1 -1
- package/dist/{CPhoneInput-BUogm59J.js → CPhoneInput-9AwTJm-0.js} +23 -23
- package/dist/{CPriceInput-Cd5OHMJS.js → CPriceInput-agFahtr1.js} +12 -12
- package/dist/{CSelect-CmoAbVkP.js → CSelect-BpautzPq.js} +15 -15
- package/dist/{CSkeleton-BF6EYj8H.js → CSkeleton-GIqd-JU4.js} +18 -18
- package/dist/{ClientAutocomplete-CHfp4YiV.js → ClientAutocomplete-DOHX9Igy.js} +24 -24
- package/dist/{ClientModal-Com23Qgc.js → ClientModal-DAXKN_b3.js} +49 -49
- package/dist/{ColorPicker-BzdHtZep.js → ColorPicker-B9F8znY_.js} +66 -66
- package/dist/{CompanyModal-CGjSgTEJ.js → CompanyModal-BvIMVys6.js} +18 -18
- package/dist/{ContentWrapper-CS-Bh4Bk.js → ContentWrapper-DB22RaUr.js} +20 -20
- package/dist/{CoverBlockSettings-DDHQzLdc.js → CoverBlockSettings--l4fH9mr.js} +39 -39
- package/dist/{DocAnswer-Cmdsw_CW.js → DocAnswer-Bq-4uVbe.js} +4 -4
- package/dist/{DocDetails-C5Vzh550.js → DocDetails-yxmchgO5.js} +56 -56
- package/dist/{DocForm-DEUVV11n.js → DocForm-CzrR8o22.js} +819 -825
- package/dist/{DocFormSend-Dt7N3wCz.js → DocFormSend-Bjc1QDcK.js} +11 -11
- package/dist/{DocLinks-C6-Er0rk.js → DocLinks-BXbC-6v3.js} +6 -6
- package/dist/{DocModalBase-DbuJwHXi.js → DocModalBase-axX_Rlp3.js} +1 -1
- package/dist/{DocPrint-D_uxg7qD.js → DocPrint-D0IdWsUM.js} +15 -15
- package/dist/{DocReceipt-D6LP9UAa.js → DocReceipt-4e-RmgeQ.js} +23 -23
- package/dist/{DocSendReminder-DopLhyjz.js → DocSendReminder-L35eZxgk.js} +10 -10
- package/dist/{DocTextEditor-DeZtzbgm.js → DocTextEditor-KrfylSV6.js} +4493 -4435
- package/dist/{DocTimeline-DAWZu_KT.js → DocTimeline-Be5CvtcQ.js} +16 -16
- package/dist/{DocumentClient-kxnT6k9s.js → DocumentClient-Bc4kf2q9.js} +12 -12
- package/dist/DocumentLayout-Oe-ZsHML.js +595 -0
- package/dist/{DocumentLogotype-G-a7gBIC.js → DocumentLogotype-BFo5UEWS.js} +18 -18
- package/dist/{DocumentVoided-SG_ShMmc.js → DocumentVoided-DlQtlO7G.js} +4 -4
- package/dist/{EmbedInput-CJL5y3Zj.js → EmbedInput-B29usQZZ.js} +8 -8
- package/dist/{EmbedSettings-B0X6A9Uy.js → EmbedSettings-D-9rcSn0.js} +12 -12
- package/dist/{ErrorCallout-xCSfpQWV.js → ErrorCallout--EnH1Ezu.js} +10 -10
- package/dist/{FilePreviewModal-Da_pMUoO.js → FilePreviewModal-H5Ilg9xN.js} +7 -7
- package/dist/{Flag-wXawyyMO.js → Flag-DgZVh3Lf.js} +4 -4
- package/dist/{HeaderSettings-CD3y6-uY.js → HeaderSettings-HuM_JwJw.js} +36 -36
- package/dist/{ImageSelectModal-DatnXHH1.js → ImageSelectModal-CJ-DstAf.js} +16 -16
- package/dist/{ImageUploadWrapper-CwKe3Iq7.js → ImageUploadWrapper-TYs37LIQ.js} +72 -72
- package/dist/{Index-ezY0DbcB.js → Index-6N_iRlrQ.js} +5 -5
- package/dist/{Index-BJf4YdYB.js → Index-B-PDcQKh.js} +29 -29
- package/dist/{Index-C-EUJjuk.js → Index-B942Auag.js} +2 -2
- package/dist/{Index-NnBwJv9v.js → Index-BLdFyt-s.js} +9 -9
- package/dist/{Index-CXjLkK_n.js → Index-BMpHXgR4.js} +15 -15
- package/dist/{Index-COF0evH4.js → Index-BZ6ZDf9T.js} +6 -6
- package/dist/{Index-y_AJP61r.js → Index-BdnFLjgV.js} +9 -9
- package/dist/{Index-DAkq_7Ws.js → Index-BeOtRIzZ.js} +18 -18
- package/dist/{Index-CTrX3VRa.js → Index-BsRxY7vc.js} +5 -5
- package/dist/{Index-D-gJQEAD.js → Index-CAMAtPVL.js} +6 -6
- package/dist/{Index-C2-s62x7.js → Index-CC4E2CmH.js} +11 -11
- package/dist/{Index-Dxg4gEKd.js → Index-CGus-YwW.js} +18 -18
- package/dist/{Index-Ciy9lnhS.js → Index-CLgN5Jzf.js} +2 -2
- package/dist/{Index-Cjg3X74T.js → Index-CTlB43yV.js} +7 -7
- package/dist/{Index-DkQ8_VkX.js → Index-CY2sRfaY.js} +194 -218
- package/dist/{Index-DfuzxXzD.js → Index-CnrSvy6E.js} +2 -2
- package/dist/{Index-DjfbgA_7.js → Index-CrdSdXWN.js} +19 -19
- package/dist/{Index-Ct735UtM.js → Index-CtJfMiZW.js} +2 -2
- package/dist/Index-D4HNTocO.js +4 -0
- package/dist/{Index-Ck-_9woY.js → Index-D5_GLLQH.js} +501 -506
- package/dist/{Index-DzdEqsZB.js → Index-D9sceHk5.js} +16 -16
- package/dist/{Index-Dfy0PsiW.js → Index-DJ11Zra_.js} +29 -29
- package/dist/{Index-DOeHci16.js → Index-DMIjuWSa.js} +7 -7
- package/dist/{Index-Bb6JZC8l.js → Index-DTm59e-A.js} +11 -11
- package/dist/{Index-CQboLS2e.js → Index-DXT_IMjq.js} +8 -8
- package/dist/{Index-GPliVrhC.js → Index-DYUvtCff.js} +7 -7
- package/dist/{Index-BvAqglwa.js → Index-DYW8T0Hl.js} +27 -27
- package/dist/{Index-BTDQax0X.js → Index-Dg4dwlh_.js} +60 -59
- package/dist/{Index-BlownK7_.js → Index-N88Abomf.js} +7 -7
- package/dist/{Index-9ZFW8Ka7.js → Index-W-Q19E3a.js} +7 -7
- package/dist/{Index-BbVHxVFJ.js → Index-edWEg_rF.js} +33 -33
- package/dist/{Index-B53eUt7Y.js → Index-nRqNPZ3B.js} +15 -15
- package/dist/{Index-1WPEpaVr.js → Index-nTp9wEni.js} +7 -7
- package/dist/{Index-yS5OPrJJ.js → Index-yJRtT77X.js} +2 -2
- package/dist/{Index.vue_vue_type_script_lang-B3RoDZmC.js → Index.vue_vue_type_script_lang-PJPQMT2c.js} +2 -2
- package/dist/{InputToggleRow-D5rvQpAw.js → InputToggleRow-DCr_DEm4.js} +15 -15
- package/dist/{ManualPopover-Bd-GsLGT.js → ManualPopover-CpVsmQvn.js} +6 -6
- package/dist/{MediaWrapper-Ci0XPCcb.js → MediaWrapper-Cj3LBhdR.js} +4 -4
- package/dist/{NotBindingText-DhndGZE3.js → NotBindingText-1J0p_k4u.js} +5 -5
- package/dist/{PackageGroup-4Jt9ClVO.js → PackageGroup-CqrWEfCT.js} +29 -29
- package/dist/{PdfTerms-CGeJDJpQ.js → PdfTerms-DmrPDtae.js} +9 -9
- package/dist/{PdfViewer-o2vb6Fya.js → PdfViewer-C2EEwUBa.js} +71 -71
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js → PlainHtml.vue_vue_type_script_setup_true_lang-B6pRo08V.js} +2 -2
- package/dist/{PriceHeader-BsObxLHK.js → PriceHeader-BaREzUxI.js} +31 -31
- package/dist/{SearchApi-ZczKsBb7.js → SearchApi-Bf4jeQVr.js} +6 -6
- package/dist/{SendForm-D5jqkofo.js → SendForm-D5qpHxNU.js} +713 -711
- package/dist/{Setup-CdZzn0qW.js → Setup-Bw8ViFxw.js} +4 -4
- package/dist/{SmartList-B36ffGAZ.js → SmartList-CzylvV8N.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js → Sortable.vue_vue_type_script_setup_true_lang-DleoAiSK.js} +118 -118
- package/dist/{TermsSettings-CmAHVOuX.js → TermsSettings-EoJvsPqK.js} +16 -16
- package/dist/{ThemeColorRow-CScTIcPB.js → ThemeColorRow-D3blQMiD.js} +13 -13
- package/dist/{ToggleBinding-CVZZlpBR.js → ToggleBinding-BteBsRYr.js} +7 -7
- package/dist/{UploadModal-2tXsmGMM.js → UploadModal-Cr5sF3M-.js} +19 -19
- package/dist/{VideoPlayerInput-BDzjZ2St.js → VideoPlayerInput-BBycKv9w.js} +10 -10
- package/dist/{VideoPlayerSettings-BLAEZw4C.js → VideoPlayerSettings-BXXpTWBf.js} +9 -9
- package/dist/{VideoSelectModal-iqgmg85K.js → VideoSelectModal-B2VPO6q4.js} +19 -19
- package/dist/{focusDrawerMixin-BmyahQiE.js → focusDrawerMixin-CCAEZjWO.js} +1 -1
- package/dist/{formDrawerState-B7ASfNsk.js → formDrawerState-CJyP4ce1.js} +1 -1
- package/dist/{helpers-BVP2Pul1.js → helpers-Cf9s0P7o.js} +4 -4
- package/dist/{index-B86TZXOh.js → index-C3pnyYI4.js} +94 -94
- package/dist/{index-D0Qee2OX.js → index-CBn1mHmK.js} +30 -30
- package/dist/{index-DXNrJnEc.js → index-DAJmNac8.js} +10 -10
- package/dist/{index-Cd4S4J-L.js → index-DYJN9yoF.js} +56 -56
- package/dist/{index-BDb4bM0D.js → index-DuXECcGq.js} +25 -25
- package/dist/{index-BH5vwOzR.js → index-XzoHqJIR.js} +9 -9
- package/dist/{index-CsbYpQqP.js → index-_MfZEYgE.js} +57 -57
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +153 -158
- package/dist/{main-C2Q8_T2Y.js → main-BayUZ9OO.js} +13620 -13669
- package/dist/{mapFormMixin-CjfqZnmd.js → mapFormMixin-Bx5_nE7g.js} +40 -46
- package/dist/omit-BKJdPM2H.js +56 -0
- package/dist/{publicSenderState-C3ELW8Cw.js → publicSenderState-CblTasKp.js} +4 -4
- package/dist/{splitpanes-CuxtOZyV.js → splitpanes-DFkgBT3z.js} +6 -6
- package/dist/{template-DzrGrOEa.js → template-CvGgzazD.js} +5 -5
- package/dist/{tippy.esm-Bf86qEue.js → tippy.esm-CYKcJaqz.js} +273 -275
- package/dist/{useTermsModal-Be4HLDDm.js → useTermsModal-DFmdeFRm.js} +7 -7
- package/dist/{utils-a_Odlqb5.js → utils-DTwXcY8_.js} +1 -1
- package/dist/{validation-38muBV6x.js → validation-d_jonAPy.js} +4 -4
- package/dist/widget.css +1 -1
- package/package.json +2 -2
- package/dist/DocumentLayout-DaVz9SGF.js +0 -1434
- package/dist/Index-qFx0G3fC.js +0 -4
- package/dist/omit-DzlbtNCX.js +0 -56
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as z } from "./mapFormMixin-
|
|
2
|
-
import { T as
|
|
3
|
-
import { b as
|
|
4
|
-
import { _ as w,
|
|
5
|
-
import { b as I } from "./CDropdownItem-
|
|
1
|
+
import { m as z } from "./mapFormMixin-Bx5_nE7g.js";
|
|
2
|
+
import { T as B } from "./ThemeColorRow-D3blQMiD.js";
|
|
3
|
+
import { b as T } from "./helpers-Cf9s0P7o.js";
|
|
4
|
+
import { _ as w, N as M, d as u, o as l, j as n, R as x, ah as f, am as y, e as p, T as $, W as b, x as L, b as g, f as v, c as S, F as V, n as _, t as h, ac as N, w as k, q as C, l as R, at as U } from "./main-BayUZ9OO.js";
|
|
5
|
+
import { b as I } from "./CDropdownItem-E-kRDIiy.js";
|
|
6
6
|
const K = {
|
|
7
7
|
name: "CSliderThumb",
|
|
8
8
|
mixins: [M],
|
|
@@ -150,25 +150,25 @@ const A = /* @__PURE__ */ w(K, [["render", X]]), H = {
|
|
|
150
150
|
return { left: `${e}%` };
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
},
|
|
153
|
+
}, j = {
|
|
154
154
|
key: 0,
|
|
155
155
|
class: "c-slider-tick-label"
|
|
156
156
|
};
|
|
157
|
-
function
|
|
157
|
+
function q(e, t, s, a, r, i) {
|
|
158
158
|
return l(), u("div", {
|
|
159
|
-
class:
|
|
159
|
+
class: L([{ "is-tick-hidden": i.hidden }, "c-slider-tick"]),
|
|
160
160
|
style: b(i.getTickStyle(i.position))
|
|
161
161
|
}, [
|
|
162
|
-
e.$slots.default ? (l(), u("span",
|
|
162
|
+
e.$slots.default ? (l(), u("span", j, [
|
|
163
163
|
$(e.$slots, "default")
|
|
164
164
|
])) : p("", !0)
|
|
165
165
|
], 6);
|
|
166
166
|
}
|
|
167
|
-
const
|
|
167
|
+
const G = /* @__PURE__ */ w(H, [["render", q]]), Y = {
|
|
168
168
|
name: "CSlider",
|
|
169
169
|
components: {
|
|
170
170
|
CSliderThumb: A,
|
|
171
|
-
CSliderTick:
|
|
171
|
+
CSliderTick: G
|
|
172
172
|
},
|
|
173
173
|
props: {
|
|
174
174
|
modelValue: {
|
|
@@ -329,14 +329,14 @@ const j = /* @__PURE__ */ w(H, [["render", Y]]), q = {
|
|
|
329
329
|
if (!(this.min > this.max))
|
|
330
330
|
if (Array.isArray(e)) {
|
|
331
331
|
this.isRange = !0;
|
|
332
|
-
const t = typeof e[0] != "number" || isNaN(e[0]) ? this.min :
|
|
332
|
+
const t = typeof e[0] != "number" || isNaN(e[0]) ? this.min : T(e[0], this.min, this.max), s = typeof e[1] != "number" || isNaN(e[1]) ? this.max : T(e[1], this.min, this.max);
|
|
333
333
|
this.internal = {
|
|
334
334
|
value1: this.isThumbReversed ? s : t,
|
|
335
335
|
value2: this.isThumbReversed ? t : s
|
|
336
336
|
};
|
|
337
337
|
} else
|
|
338
338
|
this.isRange = !1, this.internal = {
|
|
339
|
-
value1: isNaN(e) ? this.min :
|
|
339
|
+
value1: isNaN(e) ? this.min : T(e, this.min, this.max),
|
|
340
340
|
value2: null
|
|
341
341
|
};
|
|
342
342
|
},
|
|
@@ -379,22 +379,22 @@ const j = /* @__PURE__ */ w(H, [["render", Y]]), q = {
|
|
|
379
379
|
);
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
|
-
},
|
|
382
|
+
}, W = {
|
|
383
383
|
ref: "slider",
|
|
384
384
|
class: "c-slider-track"
|
|
385
385
|
};
|
|
386
|
-
function
|
|
386
|
+
function J(e, t, s, a, r, i) {
|
|
387
387
|
const o = g("CSliderTick"), c = g("CSliderThumb");
|
|
388
388
|
return l(), u("div", {
|
|
389
|
-
class:
|
|
389
|
+
class: L([[`is-${s.size}`, `is-${s.type}`, i.rootClasses], "c-slider"]),
|
|
390
390
|
onClick: t[2] || (t[2] = (...m) => i.onSliderClick && i.onSliderClick(...m))
|
|
391
391
|
}, [
|
|
392
|
-
n("div",
|
|
392
|
+
n("div", W, [
|
|
393
393
|
n("div", {
|
|
394
394
|
style: b(i.barStyle),
|
|
395
395
|
class: "c-slider-fill"
|
|
396
396
|
}, null, 4),
|
|
397
|
-
s.ticks ? (l(!0), u(V, { key: 0 },
|
|
397
|
+
s.ticks ? (l(!0), u(V, { key: 0 }, _(i.tickValues, (m, P) => (l(), S(o, {
|
|
398
398
|
key: P,
|
|
399
399
|
value: m
|
|
400
400
|
}, null, 8, ["value"]))), 128)) : p("", !0),
|
|
@@ -437,7 +437,7 @@ function Q(e, t, s, a, r, i) {
|
|
|
437
437
|
], 512)
|
|
438
438
|
], 2);
|
|
439
439
|
}
|
|
440
|
-
const
|
|
440
|
+
const Q = /* @__PURE__ */ w(Y, [["render", J]]), Z = (e, t, s, a) => Math.atan2(e - s, t - a) * (180 / Math.PI) * -1 + 180, ee = {
|
|
441
441
|
name: "DegreePicker",
|
|
442
442
|
emits: ["input"],
|
|
443
443
|
props: {
|
|
@@ -516,7 +516,7 @@ const oe = /* @__PURE__ */ w(ee, [["render", se], ["__scopeId", "data-v-fe95bfec
|
|
|
516
516
|
}
|
|
517
517
|
},
|
|
518
518
|
components: {
|
|
519
|
-
ThemeColorRow:
|
|
519
|
+
ThemeColorRow: B,
|
|
520
520
|
DegreePicker: oe
|
|
521
521
|
},
|
|
522
522
|
emits: ["input"],
|
|
@@ -528,7 +528,7 @@ const oe = /* @__PURE__ */ w(ee, [["render", se], ["__scopeId", "data-v-fe95bfec
|
|
|
528
528
|
},
|
|
529
529
|
data() {
|
|
530
530
|
return {
|
|
531
|
-
set:
|
|
531
|
+
set: N,
|
|
532
532
|
defaultValue: {
|
|
533
533
|
type: "linear",
|
|
534
534
|
degree: 0,
|
|
@@ -599,11 +599,11 @@ function le(e, t, s, a, r, i) {
|
|
|
599
599
|
]);
|
|
600
600
|
}
|
|
601
601
|
const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-a0f7de54"]]), ue = {
|
|
602
|
-
image:
|
|
603
|
-
() => import("./ImageSelectModal-
|
|
602
|
+
image: R(
|
|
603
|
+
() => import("./ImageSelectModal-CJ-DstAf.js")
|
|
604
604
|
),
|
|
605
|
-
video:
|
|
606
|
-
() => import("./VideoSelectModal-
|
|
605
|
+
video: R(
|
|
606
|
+
() => import("./VideoSelectModal-B2VPO6q4.js")
|
|
607
607
|
)
|
|
608
608
|
}, me = {
|
|
609
609
|
name: "CoverBlockSettings",
|
|
@@ -629,9 +629,9 @@ const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-a0f7de54
|
|
|
629
629
|
}
|
|
630
630
|
},
|
|
631
631
|
components: {
|
|
632
|
-
ThemeColorRow:
|
|
632
|
+
ThemeColorRow: B,
|
|
633
633
|
GradientPicker: de,
|
|
634
|
-
CSlider:
|
|
634
|
+
CSlider: Q,
|
|
635
635
|
CSwitch: I
|
|
636
636
|
},
|
|
637
637
|
mixins: [
|
|
@@ -653,7 +653,7 @@ const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-a0f7de54
|
|
|
653
653
|
],
|
|
654
654
|
data() {
|
|
655
655
|
return {
|
|
656
|
-
getUnsplashResized:
|
|
656
|
+
getUnsplashResized: U
|
|
657
657
|
};
|
|
658
658
|
},
|
|
659
659
|
methods: {
|
|
@@ -710,21 +710,21 @@ const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-a0f7de54
|
|
|
710
710
|
key: 4,
|
|
711
711
|
class: "d-option",
|
|
712
712
|
style: { "padding-bottom": "0.5em" }
|
|
713
|
-
},
|
|
713
|
+
}, Te = { class: "d-option-title" }, _e = { style: { flex: "1 1 auto" } }, Le = {
|
|
714
714
|
key: 5,
|
|
715
715
|
class: "d-option"
|
|
716
|
-
}, Ee = { class: "d-option-title" }, xe = { style: { flex: "1 1 auto" } },
|
|
716
|
+
}, Ee = { class: "d-option-title" }, xe = { style: { flex: "1 1 auto" } }, Re = {
|
|
717
717
|
key: 0,
|
|
718
718
|
class: "d-option-row",
|
|
719
719
|
style: { "padding-top": "1em" }
|
|
720
720
|
};
|
|
721
|
-
function
|
|
721
|
+
function Be(e, t, s, a, r, i) {
|
|
722
722
|
const o = g("CButton"), c = g("CSlider"), m = g("ThemeColorRow"), P = g("GradientPicker"), F = g("CSwitch");
|
|
723
723
|
return l(), u("div", he, [
|
|
724
724
|
n("div", ce, [
|
|
725
725
|
n("div", pe, h(e.$t("_common:background").capitalize()), 1),
|
|
726
726
|
n("div", ge, [
|
|
727
|
-
(l(!0), u(V, null,
|
|
727
|
+
(l(!0), u(V, null, _([
|
|
728
728
|
{ label: e.$t("_common:image"), value: "image" },
|
|
729
729
|
{ label: e.$t("_common:color"), value: "color" },
|
|
730
730
|
{ label: e.$t("_common:gradient"), value: "gradient" },
|
|
@@ -755,7 +755,7 @@ function Re(e, t, s, a, r, i) {
|
|
|
755
755
|
e.resourceUrl ? (l(), u("div", fe, [
|
|
756
756
|
n("div", ye, h(e.$t("_common:filter").capitalize()), 1),
|
|
757
757
|
n("div", be, [
|
|
758
|
-
(l(), u(V, null,
|
|
758
|
+
(l(), u(V, null, _([
|
|
759
759
|
"",
|
|
760
760
|
"sepia(30%) brightness(110%) contrast(110%) grayscale(100%)",
|
|
761
761
|
"brightness(110%) contrast(90%) saturate(150%)",
|
|
@@ -764,7 +764,7 @@ function Re(e, t, s, a, r, i) {
|
|
|
764
764
|
"blur(0px) sepia(15%) saturate(130%) hue-rotate(-30deg)"
|
|
765
765
|
], (d, D) => n("div", {
|
|
766
766
|
key: D,
|
|
767
|
-
class:
|
|
767
|
+
class: L([{ "is-active": e.filter === d }, "bg-filter"]),
|
|
768
768
|
onClick: (E) => e.filter = d
|
|
769
769
|
}, [
|
|
770
770
|
n("div", {
|
|
@@ -816,8 +816,8 @@ function Re(e, t, s, a, r, i) {
|
|
|
816
816
|
onInput: t[4] || (t[4] = (d) => e.gradient = d)
|
|
817
817
|
}, null, 8, ["value"])) : p("", !0),
|
|
818
818
|
["image", "video"].includes(e.type) ? (l(), u("div", Pe, [
|
|
819
|
-
n("div",
|
|
820
|
-
n("div",
|
|
819
|
+
n("div", Te, [
|
|
820
|
+
n("div", _e, h(e.$t("_common:blur").capitalize()), 1),
|
|
821
821
|
v(c, {
|
|
822
822
|
"model-value": e.blur || 0,
|
|
823
823
|
max: 30,
|
|
@@ -829,7 +829,7 @@ function Re(e, t, s, a, r, i) {
|
|
|
829
829
|
}, null, 8, ["model-value"])
|
|
830
830
|
])
|
|
831
831
|
])) : p("", !0),
|
|
832
|
-
["image", "video"].includes(e.type) ? (l(), u("div",
|
|
832
|
+
["image", "video"].includes(e.type) ? (l(), u("div", Le, [
|
|
833
833
|
n("div", Ee, [
|
|
834
834
|
n("div", xe, h(e.$t("overlay.title")), 1),
|
|
835
835
|
v(F, {
|
|
@@ -840,7 +840,7 @@ function Re(e, t, s, a, r, i) {
|
|
|
840
840
|
"onUpdate:modelValue": i.toggleOverlay
|
|
841
841
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
842
842
|
]),
|
|
843
|
-
e.overlay ? (l(), u("div",
|
|
843
|
+
e.overlay ? (l(), u("div", Re, [
|
|
844
844
|
v(m, {
|
|
845
845
|
value: e.overlayColor || "",
|
|
846
846
|
placement: "top-end",
|
|
@@ -855,7 +855,7 @@ function Re(e, t, s, a, r, i) {
|
|
|
855
855
|
])) : p("", !0)
|
|
856
856
|
]);
|
|
857
857
|
}
|
|
858
|
-
const Ie = /* @__PURE__ */ w(me, [["render",
|
|
858
|
+
const Ie = /* @__PURE__ */ w(me, [["render", Be], ["__scopeId", "data-v-6f8a8437"]]);
|
|
859
859
|
export {
|
|
860
860
|
Ie as default
|
|
861
861
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import n from "./AnswerModal-
|
|
2
|
-
import { _ as t, c,
|
|
1
|
+
import n from "./AnswerModal-o8OHHulg.js";
|
|
2
|
+
import { _ as t, b as c, c as r, o as s } from "./main-BayUZ9OO.js";
|
|
3
3
|
const u = {
|
|
4
4
|
components: {
|
|
5
5
|
AnswerModal: n
|
|
@@ -20,8 +20,8 @@ const u = {
|
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
function a(d, l, e, m, p, _) {
|
|
23
|
-
const o =
|
|
24
|
-
return s(),
|
|
23
|
+
const o = c("AnswerModal");
|
|
24
|
+
return s(), r(o, {
|
|
25
25
|
mode: e.answerType,
|
|
26
26
|
_document: e.document,
|
|
27
27
|
onClose: e.closeFunc
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as A } from "./DocumentVoided-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { C as
|
|
1
|
+
import { D as A } from "./DocumentVoided-DlQtlO7G.js";
|
|
2
|
+
import { w as F, C as I, a as B } from "./CDropdownItem-E-kRDIiy.js";
|
|
3
|
+
import { a7 as V, d as s, o as n, j as o, T as P, F as _, n as N, x as z, t as i, e as d, c as y, w as v, I as S, _ as $, b8 as j, ae as q, b as p, f as b, q as w, aC as O, b9 as E, ba as T, bb as M } from "./main-BayUZ9OO.js";
|
|
4
|
+
import { C as U } from "./CPhoneFormat-CIQAVdsB.js";
|
|
5
5
|
const G = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)", "border-radius": "3px" } }, H = { class: "flex items-center p-4" }, J = { class: "mb-1" }, K = { class: "flex flex-col space-y-1 text-sm" }, Q = ["href"], W = ["href"], R = /* @__PURE__ */ V({
|
|
6
6
|
__name: "PublicContactDetails",
|
|
7
7
|
props: {
|
|
@@ -14,29 +14,29 @@ const G = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)"
|
|
|
14
14
|
region: {}
|
|
15
15
|
},
|
|
16
16
|
setup(t) {
|
|
17
|
-
return (
|
|
17
|
+
return (a, e) => (n(), s("div", G, [
|
|
18
18
|
o("div", H, [
|
|
19
19
|
o("div", null, [
|
|
20
20
|
o("div", J, [
|
|
21
|
-
(n(!0), s(_, null, N([
|
|
21
|
+
(n(!0), s(_, null, N([a.name, a.companyName, a.orgNo], (m, l) => (n(), s("span", {
|
|
22
22
|
key: `${m}-${l}`,
|
|
23
23
|
class: z([l === 0 ? "font-medium" : "text-gray-600", "mr-1 inline-block"])
|
|
24
24
|
}, i(m && l > 0 ? "·" : "") + " " + i(m), 3))), 128))
|
|
25
25
|
]),
|
|
26
26
|
o("div", K, [
|
|
27
|
-
|
|
27
|
+
a.email ? (n(), s("a", {
|
|
28
28
|
key: 0,
|
|
29
|
-
href: `mailto:${
|
|
29
|
+
href: `mailto:${a.email}`,
|
|
30
30
|
target: "_blank"
|
|
31
|
-
}, i(
|
|
32
|
-
|
|
31
|
+
}, i(a.email), 9, Q)) : d("", !0),
|
|
32
|
+
a.cellphone ? (n(), y(S(U), {
|
|
33
33
|
key: 1,
|
|
34
|
-
phone:
|
|
35
|
-
region:
|
|
34
|
+
phone: a.cellphone,
|
|
35
|
+
region: a.cellphoneRegion ? a.cellphoneRegion : a.region
|
|
36
36
|
}, {
|
|
37
37
|
default: v(({ formattedValue: m }) => [
|
|
38
38
|
o("a", {
|
|
39
|
-
href: `tel:${
|
|
39
|
+
href: `tel:${a.cellphone}`
|
|
40
40
|
}, i(m), 9, W)
|
|
41
41
|
]),
|
|
42
42
|
_: 1
|
|
@@ -44,7 +44,7 @@ const G = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)"
|
|
|
44
44
|
])
|
|
45
45
|
])
|
|
46
46
|
]),
|
|
47
|
-
P(
|
|
47
|
+
P(a.$slots, "default")
|
|
48
48
|
]));
|
|
49
49
|
}
|
|
50
50
|
}), X = {
|
|
@@ -57,9 +57,9 @@ const G = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)"
|
|
|
57
57
|
},
|
|
58
58
|
computed: {
|
|
59
59
|
events() {
|
|
60
|
-
const t = [], { acceptedAt:
|
|
61
|
-
return this.document.events.filter(({ createdAt: e }) =>
|
|
62
|
-
const { code: m, createdAt: l, children:
|
|
60
|
+
const t = [], { acceptedAt: a } = this.document;
|
|
61
|
+
return this.document.events.filter(({ createdAt: e }) => a ? j(a, e) : !0).forEach((e) => {
|
|
62
|
+
const { code: m, createdAt: l, children: c = [] } = e;
|
|
63
63
|
let { data: g = {} } = e;
|
|
64
64
|
g === null && (g = {});
|
|
65
65
|
const { client: u = {}, clients: D = [], status: k, counter: x } = g, C = {
|
|
@@ -76,7 +76,7 @@ const G = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)"
|
|
|
76
76
|
};
|
|
77
77
|
}),
|
|
78
78
|
viewed: () => {
|
|
79
|
-
const f = x ||
|
|
79
|
+
const f = x || c.length + 1;
|
|
80
80
|
return [
|
|
81
81
|
{
|
|
82
82
|
text: `${this.document.$t(
|
|
@@ -132,13 +132,13 @@ const G = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)"
|
|
|
132
132
|
},
|
|
133
133
|
methods: {
|
|
134
134
|
getClientName(t) {
|
|
135
|
-
const
|
|
136
|
-
return
|
|
135
|
+
const a = this.document.clients.find(({ id: e }) => e === t);
|
|
136
|
+
return a ? a.name : "";
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
|
-
function Y(t,
|
|
141
|
-
return P(t.$slots, "default", { events:
|
|
140
|
+
function Y(t, a, e, m, l, c) {
|
|
141
|
+
return P(t.$slots, "default", { events: c.events });
|
|
142
142
|
}
|
|
143
143
|
const Z = /* @__PURE__ */ $(X, [["render", Y]]), ee = {
|
|
144
144
|
name: "PublicRecipientItem",
|
|
@@ -157,17 +157,17 @@ const Z = /* @__PURE__ */ $(X, [["render", Y]]), ee = {
|
|
|
157
157
|
},
|
|
158
158
|
methods: {
|
|
159
159
|
get: q,
|
|
160
|
-
getBrowserString({ browser: t, os:
|
|
161
|
-
return [t && t.name,
|
|
160
|
+
getBrowserString({ browser: t, os: a, device: e }) {
|
|
161
|
+
return [t && t.name, a && a.name, e && e.model].filter((m) => !!m).join(", ");
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}, te = { style: { "background-color": "hsl(0, 0%, 94%)", padding: "0.75em 0.75em", "font-weight": "500", "font-size": "13px", "line-height": "1", color: "hsl(0, 0%, 40%)", position: "relative" } }, ne = { style: { position: "absolute", right: "1em", top: "0px", transform: "translate(0, -50%)" } }, oe = { style: { padding: "0" } }, ie = { style: { padding: "1em 1.5em" } }, se = {
|
|
165
165
|
key: 0,
|
|
166
166
|
style: { "padding-bottom": "0.5em" }
|
|
167
|
-
},
|
|
167
|
+
}, ae = {
|
|
168
168
|
class: "has-text-grey",
|
|
169
169
|
style: { "padding-bottom": "1em" }
|
|
170
|
-
},
|
|
170
|
+
}, ce = ["src"], le = {
|
|
171
171
|
key: 1,
|
|
172
172
|
style: { "font-size": "13px", "padding-top": "3px" }
|
|
173
173
|
}, de = { style: { "font-weight": "500" } }, re = {
|
|
@@ -177,7 +177,7 @@ const Z = /* @__PURE__ */ $(X, [["render", Y]]), ee = {
|
|
|
177
177
|
key: 0,
|
|
178
178
|
style: { padding: "8px 1.5em", "border-top": "1px solid hsl(0deg 0% 88%)", "background-color": "hsl(0deg 0% 95%)", "font-size": "13px", color: "hsl(0, 0%, 35%)", "font-weight": "500" }
|
|
179
179
|
}, pe = { key: 0 }, ge = { key: 1 }, _e = { key: 2 };
|
|
180
|
-
function fe(t,
|
|
180
|
+
function fe(t, a, e, m, l, c) {
|
|
181
181
|
const g = p("CIcon"), u = p("VDropdown"), D = p("PublicContactDetails");
|
|
182
182
|
return n(), y(D, {
|
|
183
183
|
name: e.recipient.name,
|
|
@@ -201,19 +201,19 @@ function fe(t, c, e, m, l, a) {
|
|
|
201
201
|
o("div", ie, [
|
|
202
202
|
e.recipient.answer && e.recipient.answer.didAccept ? (n(), s(_, { key: 0 }, [
|
|
203
203
|
e.recipient.answer.signatureDataURL ? (n(), s("div", se, [
|
|
204
|
-
o("div",
|
|
204
|
+
o("div", ae, i(t.$t("_common:signature").capitalize()), 1),
|
|
205
205
|
o("img", {
|
|
206
206
|
src: e.recipient.answer.signatureDataURL,
|
|
207
207
|
style: { width: "80%" }
|
|
208
|
-
}, null, 8,
|
|
208
|
+
}, null, 8, ce)
|
|
209
209
|
])) : (n(), s("div", le, [
|
|
210
|
-
|
|
210
|
+
c.get(e.recipient, "answerMethod.accept") === "bankId" ? (n(), s(_, { key: 0 }, [
|
|
211
211
|
o("div", de, i(t.$t(
|
|
212
212
|
"views:publicDocument.pdfVerification.recipient.signedBankId"
|
|
213
213
|
)), 1),
|
|
214
214
|
o("div", null, i(e.recipient.answer.response.name), 1),
|
|
215
215
|
o("div", null, i(e.recipient.socialNo), 1)
|
|
216
|
-
], 64)) :
|
|
216
|
+
], 64)) : c.get(e.recipient, "answerMethod.accept") === "login" ? (n(), s("div", re, i(t.$t(
|
|
217
217
|
"views:publicDocument.pdfVerification.recipient.verifiedLogin"
|
|
218
218
|
)), 1)) : d("", !0)
|
|
219
219
|
]))
|
|
@@ -225,7 +225,7 @@ function fe(t, c, e, m, l, a) {
|
|
|
225
225
|
o("div", null, i(t.$t("_common:time").capitalize()) + ": " + i(t.$formatDate(e.recipient.answer.didAnswerAt, "p")), 1)
|
|
226
226
|
])) : d("", !0),
|
|
227
227
|
e.recipient.answer.ip ? (n(), s("div", ge, " IP: " + i(e.recipient.answer.ip), 1)) : d("", !0),
|
|
228
|
-
e.recipient.answer.browser ? (n(), s("div", _e, " Browser: " + i(
|
|
228
|
+
e.recipient.answer.browser ? (n(), s("div", _e, " Browser: " + i(c.getBrowserString(e.recipient.answer)), 1)) : d("", !0)
|
|
229
229
|
])) : d("", !0)
|
|
230
230
|
])
|
|
231
231
|
]),
|
|
@@ -266,10 +266,10 @@ const ye = /* @__PURE__ */ $(ee, [["render", fe], ["__scopeId", "data-v-5be0d201
|
|
|
266
266
|
PublicDocumentEvents: Z,
|
|
267
267
|
PublicRecipientItem: ye,
|
|
268
268
|
PublicContactDetails: R,
|
|
269
|
-
CDropdown:
|
|
269
|
+
CDropdown: B,
|
|
270
270
|
CDropdownItem: I
|
|
271
271
|
},
|
|
272
|
-
mixins: [
|
|
272
|
+
mixins: [F],
|
|
273
273
|
props: {
|
|
274
274
|
document: {
|
|
275
275
|
type: Object,
|
|
@@ -290,8 +290,8 @@ const ye = /* @__PURE__ */ $(ee, [["render", fe], ["__scopeId", "data-v-5be0d201
|
|
|
290
290
|
},
|
|
291
291
|
data() {
|
|
292
292
|
return {
|
|
293
|
-
docLanguages:
|
|
294
|
-
nativeTranslations:
|
|
293
|
+
docLanguages: M,
|
|
294
|
+
nativeTranslations: T
|
|
295
295
|
};
|
|
296
296
|
},
|
|
297
297
|
computed: {
|
|
@@ -316,7 +316,7 @@ const ye = /* @__PURE__ */ $(ee, [["render", fe], ["__scopeId", "data-v-5be0d201
|
|
|
316
316
|
},
|
|
317
317
|
methods: {
|
|
318
318
|
changeLanguage(t) {
|
|
319
|
-
this.document.language = t,
|
|
319
|
+
this.document.language = t, O.changeLanguage(E.includes(t) ? t : "en");
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
}, we = { class: "relative flex h-full w-full flex-col overflow-hidden rounded-lg bg-white text-base" }, be = {
|
|
@@ -340,14 +340,14 @@ const ye = /* @__PURE__ */ $(ee, [["render", fe], ["__scopeId", "data-v-5be0d201
|
|
|
340
340
|
}, Re = {
|
|
341
341
|
key: 0,
|
|
342
342
|
class: "d-option"
|
|
343
|
-
}, Le = { class: "d-option-title" }, Ae = { id: "timeline" }, Fe = { class: "e-data" }, Ie = { class: "e-text" }, Be = { key: 0 }, Ve = { class: "e-timestamp" },
|
|
343
|
+
}, Le = { class: "d-option-title" }, Ae = { id: "timeline" }, Fe = { class: "e-data" }, Ie = { class: "e-text" }, Be = { key: 0 }, Ve = { class: "e-timestamp" }, Se = { class: "e-date" }, je = {
|
|
344
344
|
class: "e-time",
|
|
345
345
|
style: { "padding-left": "0.5ch" }
|
|
346
|
-
}, qe = { key: 0 },
|
|
347
|
-
function
|
|
346
|
+
}, qe = { key: 0 }, Oe = { key: 1 };
|
|
347
|
+
function Ee(t, a, e, m, l, c) {
|
|
348
348
|
const g = p("CButton"), u = p("CDropdownItem"), D = p("CDropdown"), k = p("PublicContactDetails"), x = p("PublicRecipientItem"), C = p("CPhoneFormat"), f = p("PublicDocumentEvents");
|
|
349
349
|
return n(), s("div", we, [
|
|
350
|
-
|
|
350
|
+
c.showActionNav ? (n(), s("div", be, [
|
|
351
351
|
e.openPrintFunc ? (n(), s(_, { key: 0 }, [
|
|
352
352
|
b(g, {
|
|
353
353
|
"icon-left": "print",
|
|
@@ -363,7 +363,7 @@ function Oe(t, c, e, m, l, a) {
|
|
|
363
363
|
]),
|
|
364
364
|
_: 1
|
|
365
365
|
}, 8, ["onClick"]),
|
|
366
|
-
|
|
366
|
+
a[0] || (a[0] = o("div", { style: { height: "2rem", width: "1px", "background-color": "hsl(0, 0%, 88%)", margin: "0 6px" } }, null, -1))
|
|
367
367
|
], 64)) : d("", !0),
|
|
368
368
|
e.showLanguageSelect ? (n(), y(D, {
|
|
369
369
|
key: 1,
|
|
@@ -382,7 +382,7 @@ function Oe(t, c, e, m, l, a) {
|
|
|
382
382
|
(n(!0), s(_, null, N(l.docLanguages, (r) => (n(), y(u, {
|
|
383
383
|
key: r,
|
|
384
384
|
value: r,
|
|
385
|
-
onClick: (h) =>
|
|
385
|
+
onClick: (h) => c.changeLanguage(r)
|
|
386
386
|
}, {
|
|
387
387
|
default: v(() => [
|
|
388
388
|
w(i(l.nativeTranslations[r]), 1)
|
|
@@ -412,13 +412,13 @@ function Oe(t, c, e, m, l, a) {
|
|
|
412
412
|
o("div", Pe, [
|
|
413
413
|
o("div", $e, i(e.document.$t("sender").capitalize()), 1),
|
|
414
414
|
b(k, {
|
|
415
|
-
name:
|
|
416
|
-
email:
|
|
417
|
-
cellphone:
|
|
418
|
-
cellphoneRegion:
|
|
419
|
-
companyName:
|
|
420
|
-
orgNo:
|
|
421
|
-
region:
|
|
415
|
+
name: c.senderContactDetails.name,
|
|
416
|
+
email: c.senderContactDetails.email,
|
|
417
|
+
cellphone: c.senderContactDetails.cellphone,
|
|
418
|
+
cellphoneRegion: c.senderContactDetails.cellphoneRegion,
|
|
419
|
+
companyName: c.senderContactDetails.companyName,
|
|
420
|
+
orgNo: c.senderContactDetails.orgNo,
|
|
421
|
+
region: c.senderContactDetails.region
|
|
422
422
|
}, null, 8, ["name", "email", "cellphone", "cellphoneRegion", "companyName", "orgNo", "region"])
|
|
423
423
|
]),
|
|
424
424
|
o("div", xe, [
|
|
@@ -451,8 +451,8 @@ function Oe(t, c, e, m, l, a) {
|
|
|
451
451
|
])) : d("", !0)
|
|
452
452
|
]),
|
|
453
453
|
o("div", Ve, [
|
|
454
|
-
o("div",
|
|
455
|
-
o("div",
|
|
454
|
+
o("div", Se, i(t.$formatDate(h.time, "P")), 1),
|
|
455
|
+
o("div", je, i(t.$formatDate(h.time, "p")), 1)
|
|
456
456
|
])
|
|
457
457
|
])
|
|
458
458
|
]))), 128))
|
|
@@ -466,12 +466,12 @@ function Oe(t, c, e, m, l, a) {
|
|
|
466
466
|
P(t.$slots, "footer", {}, void 0, !0)
|
|
467
467
|
])) : d("", !0)
|
|
468
468
|
]),
|
|
469
|
-
t.mq !== "sm" ? (n(), s("div",
|
|
469
|
+
t.mq !== "sm" ? (n(), s("div", Oe, [
|
|
470
470
|
P(t.$slots, "footer", {}, void 0, !0)
|
|
471
471
|
])) : d("", !0)
|
|
472
472
|
]);
|
|
473
473
|
}
|
|
474
|
-
const Te = /* @__PURE__ */ $(ve, [["render",
|
|
474
|
+
const Te = /* @__PURE__ */ $(ve, [["render", Ee], ["__scopeId", "data-v-c7151f45"]]), Me = {
|
|
475
475
|
components: {
|
|
476
476
|
DocumentDetails: Te,
|
|
477
477
|
DocumentVoided: A
|
|
@@ -491,7 +491,7 @@ const Te = /* @__PURE__ */ $(ve, [["render", Oe], ["__scopeId", "data-v-c7151f45
|
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
493
|
};
|
|
494
|
-
function
|
|
494
|
+
function Ue(t, a, e, m, l, c) {
|
|
495
495
|
const g = p("DocumentVoided"), u = p("DocumentDetails");
|
|
496
496
|
return e.document && e.document.status === "voided" ? (n(), y(g, {
|
|
497
497
|
key: 0,
|
|
@@ -503,7 +503,7 @@ function Me(t, c, e, m, l, a) {
|
|
|
503
503
|
close: e.closeFunc
|
|
504
504
|
}, null, 8, ["document", "show-language-select", "close"]));
|
|
505
505
|
}
|
|
506
|
-
const Qe = /* @__PURE__ */ $(
|
|
506
|
+
const Qe = /* @__PURE__ */ $(Me, [["render", Ue]]);
|
|
507
507
|
export {
|
|
508
508
|
Qe as default
|
|
509
509
|
};
|