@cling-se/widget 0.9.31 → 0.9.33
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-24d768b3.js → AddClientCallout-5d2a5eaa.js} +5 -5
- package/dist/{AnswerModal-dfc7f833.js → AnswerModal-39f81c0e.js} +47 -47
- package/dist/{AttachmentItem-488b86dd.js → AttachmentItem-5d900d83.js} +3 -3
- package/dist/{BaseDatePicker-e6ccad3a.js → BaseDatePicker-92562106.js} +2 -2
- package/dist/{BaseInput-6e56b8d1.js → BaseInput-1c9d9daf.js} +1 -1
- package/dist/{BaseUpload-71f1b275.js → BaseUpload-078e4666.js} +2 -2
- package/dist/{BlockMedia-c79a4337.js → BlockMedia-4155dbd6.js} +1 -1
- package/dist/{CCallout-e3750faa.js → CCallout-46b3d405.js} +2 -2
- package/dist/{CDropdownItem-88323f71.js → CDropdownItem-9b1ca709.js} +1 -1
- package/dist/{CField-f9bba928.js → CField-d7edf10c.js} +1 -1
- package/dist/{CPhoneFormat-cde6dc0e.js → CPhoneFormat-40bd6283.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-7a85b50d.js → CSlider.vue_vue_type_style_index_0_lang-12f32bb7.js} +1 -1
- package/dist/{ClientAutocomplete-d2795bd2.js → ClientAutocomplete-a6bb0940.js} +2 -2
- package/dist/{ClientModal-d0ea3ce2.js → ClientModal-e5f7b4b8.js} +5 -5
- package/dist/{ColorPicker-5d5a1857.js → ColorPicker-c1b32ad5.js} +1 -1
- package/dist/{CompanyModal-6c34c20c.js → CompanyModal-977515ec.js} +3 -3
- package/dist/{ContentWrapper-2aed29d3.js → ContentWrapper-62f4579f.js} +13 -13
- package/dist/{CoverBlockSettings-dcc286e4.js → CoverBlockSettings-7226a5b6.js} +9 -9
- package/dist/{DocAnswer-2369f748.js → DocAnswer-245629ec.js} +4 -4
- package/dist/{DocDetails-c4a9f60a.js → DocDetails-8172e555.js} +4 -4
- package/dist/{DocForm-e363f56b.js → DocForm-3d4d126b.js} +694 -826
- package/dist/{DocFormSend-ebae7df3.js → DocFormSend-237ec151.js} +17 -17
- package/dist/{DocLinks-0a40f844.js → DocLinks-c807e0dc.js} +2 -2
- package/dist/{DocModalBase-19651230.js → DocModalBase-f3267f66.js} +1 -1
- package/dist/{DocPrint-3a163086.js → DocPrint-2925c8e3.js} +1 -1
- package/dist/{DocReceipt-68653527.js → DocReceipt-ac09c964.js} +1 -1
- package/dist/{DocSendReminder-86f5237b.js → DocSendReminder-e1999f4e.js} +1 -1
- package/dist/{DocTextEditor-81792d61.js → DocTextEditor-25220c68.js} +8 -8
- package/dist/{DocTimeline-6e34b841.js → DocTimeline-5eb73448.js} +1 -1
- package/dist/{DocumentClient-12d31ace.js → DocumentClient-321f7941.js} +7 -7
- package/dist/{DocumentLayout-b17e31c9.js → DocumentLayout-a798e912.js} +340 -331
- package/dist/{DocumentLogotype-4cc9a9ef.js → DocumentLogotype-b87b1b6d.js} +3 -3
- package/dist/{DocumentVoided-406c0ad1.js → DocumentVoided-f0601bd6.js} +1 -1
- package/dist/{EmbedInput-a0c0c0c4.js → EmbedInput-39a03d94.js} +2 -2
- package/dist/{EmbedSettings-615e0b87.js → EmbedSettings-554aac05.js} +3 -3
- package/dist/{ErrorCallout-706a3f77.js → ErrorCallout-21273503.js} +1 -1
- package/dist/{FilePreviewModal-ecab34c8.js → FilePreviewModal-29a98271.js} +5 -5
- package/dist/{Flag-9f5eb788.js → Flag-6e070aa2.js} +1 -1
- package/dist/{HeaderSettings-73c0961b.js → HeaderSettings-61efccf5.js} +21 -21
- package/dist/{ImageSelectModal-93764b6f.js → ImageSelectModal-fd5cd1d6.js} +8 -8
- package/dist/{ImageUploadWrapper-fe99eb8b.js → ImageUploadWrapper-f7f6033b.js} +2 -2
- package/dist/{Index-96277fb2.js → Index-2beebe64.js} +6 -6
- package/dist/{Index-3a123b4e.js → Index-2ecd6c6a.js} +3 -3
- package/dist/{Index-a029c07f.js → Index-30e39d25.js} +4 -4
- package/dist/{Index-a2cf77ea.js → Index-3323e160.js} +2 -2
- package/dist/{Index-e1897561.js → Index-46f2a6e0.js} +4 -4
- package/dist/{Index-acda7892.js → Index-4835bdde.js} +2 -2
- package/dist/{Index-672923c9.js → Index-4d3fa8b8.js} +4 -4
- package/dist/{Index-44e89aa9.js → Index-524cea65.js} +50 -23
- package/dist/{Index-66295846.js → Index-59e57f26.js} +6 -6
- package/dist/{Index-3052ab4d.js → Index-617c91c3.js} +1 -1
- package/dist/{Index-d42a13b8.js → Index-6a5ee34c.js} +9 -9
- package/dist/{Index-825f3a1f.js → Index-727c0770.js} +23 -23
- package/dist/{Index-bf0de2df.js → Index-729cd253.js} +14 -14
- package/dist/{Index-b1df203d.js → Index-74f5784f.js} +5 -5
- package/dist/{Index-50c7ee58.js → Index-7f1f80fa.js} +17 -17
- package/dist/{Index-7d7f7e31.js → Index-808af4fd.js} +4 -4
- package/dist/{Index-aff3d93a.js → Index-875247ac.js} +5 -5
- package/dist/{Index-fda4f71a.js → Index-8920bf5c.js} +4 -4
- package/dist/{Index-539987a6.js → Index-8ce025b4.js} +7 -7
- package/dist/{Index-08b136bb.js → Index-9311fb23.js} +4 -4
- package/dist/{Index-c181220a.js → Index-952af56e.js} +6 -6
- package/dist/{Index-88a20cfb.js → Index-afe7a567.js} +2 -2
- package/dist/{Index-96d8aa1c.js → Index-b0cddd8a.js} +4 -4
- package/dist/{Index-c5c60100.js → Index-c01113d6.js} +2 -2
- package/dist/{Index-448c8cfc.js → Index-c1ef9eae.js} +10 -10
- package/dist/{Index-6c74f06d.js → Index-c3193bbe.js} +6 -6
- package/dist/{Index-da669865.js → Index-cc59098f.js} +2 -2
- package/dist/{Index-cc9aec2b.js → Index-d1732510.js} +2 -2
- package/dist/{Index-fe25c28e.js → Index-d8d40597.js} +2 -2
- package/dist/{Index-efc1cdd2.js → Index-e29b7205.js} +4 -4
- package/dist/{Index-ca6bf576.js → Index-e876c053.js} +9 -9
- package/dist/{Index-295a1424.js → Index-e903660c.js} +2 -2
- package/dist/{Index-d077ee95.js → Index-f1c8a1fd.js} +41 -26
- package/dist/{Index-8c09fd91.js → Index-fdbed274.js} +1 -1
- package/dist/{InputToggleRow-9bf217c1.js → InputToggleRow-e9ccb4db.js} +1 -1
- package/dist/{IsPremiumPreStep-4d92f1ad.js → IsPremiumPreStep-086fdca0.js} +15 -15
- package/dist/{ManualPopover-ae1487dd.js → ManualPopover-01700f5a.js} +1 -1
- package/dist/{MediaWrapper-2f250f98.js → MediaWrapper-32ca2c1d.js} +3 -3
- package/dist/{NotBindingText-9137c52d.js → NotBindingText-fb273710.js} +2 -2
- package/dist/{PackageGroup-333b552e.js → PackageGroup-856c8037.js} +12 -12
- package/dist/{PdfTerms-1e7aaca6.js → PdfTerms-ec7f5bf0.js} +15 -14
- package/dist/PdfViewer-876f73eb.js +251 -0
- package/dist/{PlainHtml-c68e93f5.js → PlainHtml-eaf23e90.js} +1 -1
- package/dist/{PriceHeader-a2fac138.js → PriceHeader-08162c74.js} +13 -13
- package/dist/{SearchApi-006cecf3.js → SearchApi-4e81ff12.js} +2 -2
- package/dist/{Setup-2ead963e.js → Setup-d5c66f4b.js} +1 -1
- package/dist/{TermsSettings-d9a9fa85.js → TermsSettings-5c9b40f9.js} +7 -7
- package/dist/{ThemeColorRow-7b4f4b4a.js → ThemeColorRow-37d6548d.js} +3 -3
- package/dist/{ToggleBinding-28de38c5.js → ToggleBinding-cfa1fef2.js} +3 -3
- package/dist/{UploadModal-c94c1bf9.js → UploadModal-e1269a45.js} +3 -3
- package/dist/{VideoPlayerInput-6ca13120.js → VideoPlayerInput-675640a9.js} +3 -3
- package/dist/{VideoPlayerSettings-694de911.js → VideoPlayerSettings-0d68de0a.js} +4 -4
- package/dist/{VideoSelectModal-43179837.js → VideoSelectModal-29619ddc.js} +8 -8
- package/dist/{answerDocumentMixin-258ef50d.js → answerDocumentMixin-7c88a039.js} +3 -3
- package/dist/{debounce-6e758807.js → debounce-a8a2e7ca.js} +8 -8
- package/dist/{focusDrawerMixin-c7716b11.js → focusDrawerMixin-903d1bdd.js} +1 -1
- package/dist/{formComponentsInstall-d835efd9.js → formComponentsInstall-286a0acd.js} +12 -12
- package/dist/{formDrawerState-66d10543.js → formDrawerState-e034a6ab.js} +1 -1
- package/dist/{formValidationMixin-c174cfae.js → formValidationMixin-76dd5928.js} +1 -1
- package/dist/{index-8ffa8672.js → index-01421a50.js} +5 -5
- package/dist/{index-cb1bc377.js → index-4a052f26.js} +1 -1
- package/dist/{index-91f074e6.js → index-5363165d.js} +13 -13
- package/dist/{index-a6f6eb93.js → index-563cfa1e.js} +1 -1
- package/dist/{index-bae2f40c.js → index-5827c622.js} +1 -1
- package/dist/{index-34dbf888.js → index-61ba0ac0.js} +3 -3
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +149 -157
- package/dist/{main-4b1b8c72.js → main-d803b876.js} +10708 -10908
- package/dist/{mapFormMixin-448a5950.js → mapFormMixin-0583565b.js} +1 -1
- package/dist/{publicSenderState-62b7a4e1.js → publicSenderState-b62d76e3.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-635ffdd0.js → throttle-a8b2f0e5.js} +2 -2
- package/dist/{tinycolor-e4cbccbe.js → tinycolor-dffe2bfd.js} +1 -1
- package/dist/{tippy.esm-c08ce12b.js → tippy.esm-7bfd5b54.js} +5 -5
- package/dist/{utils-c123fce7.js → utils-9a1bdd7a.js} +1 -1
- package/dist/{vuedraggable.umd-258fba93.js → vuedraggable.umd-a5100bc8.js} +1 -1
- package/package.json +4 -4
- package/dist/PdfViewer-ff32350f.js +0 -245
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as m } from "./tinycolor-
|
|
2
|
-
import { ak as v, al as y,
|
|
3
|
-
import { E as b } from "./ErrorCallout-
|
|
4
|
-
import { m as _ } from "./mapFormMixin-
|
|
5
|
-
import { T as x } from "./DocTextEditor-
|
|
6
|
-
import "./tippy.esm-
|
|
7
|
-
import "./ColorPicker-
|
|
8
|
-
import "./DocumentLayout-
|
|
9
|
-
import "./debounce-
|
|
10
|
-
import "./CDropdownItem-
|
|
11
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { t as m } from "./tinycolor-dffe2bfd.js";
|
|
2
|
+
import { ak as v, al as y, w as g, n as p, am as f, z as k, b as u, l as w, c as P } from "./main-d803b876.js";
|
|
3
|
+
import { E as b } from "./ErrorCallout-21273503.js";
|
|
4
|
+
import { m as _ } from "./mapFormMixin-0583565b.js";
|
|
5
|
+
import { T as x } from "./DocTextEditor-25220c68.js";
|
|
6
|
+
import "./tippy.esm-7bfd5b54.js";
|
|
7
|
+
import "./ColorPicker-c1b32ad5.js";
|
|
8
|
+
import "./DocumentLayout-a798e912.js";
|
|
9
|
+
import "./debounce-a8a2e7ca.js";
|
|
10
|
+
import "./CDropdownItem-9b1ca709.js";
|
|
11
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-12f32bb7.js";
|
|
12
12
|
import "./dom-962579a6.js";
|
|
13
13
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
14
|
-
import "./ManualPopover-
|
|
14
|
+
import "./ManualPopover-01700f5a.js";
|
|
15
15
|
import "./color-71c20583.js";
|
|
16
16
|
const $ = {
|
|
17
17
|
name: "ArticleItem",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { V as
|
|
2
|
-
import { n as
|
|
1
|
+
import { V as t } from "./PdfViewer-876f73eb.js";
|
|
2
|
+
import { n as s } from "./main-d803b876.js";
|
|
3
3
|
import "./dom-962579a6.js";
|
|
4
|
-
import "./DocumentLayout-
|
|
5
|
-
import "./debounce-
|
|
6
|
-
import "./CDropdownItem-
|
|
7
|
-
const
|
|
4
|
+
import "./DocumentLayout-a798e912.js";
|
|
5
|
+
import "./debounce-a8a2e7ca.js";
|
|
6
|
+
import "./CDropdownItem-9b1ca709.js";
|
|
7
|
+
const o = {
|
|
8
8
|
name: "PdfTerms",
|
|
9
9
|
functional: !0,
|
|
10
10
|
render(r, e) {
|
|
@@ -17,26 +17,27 @@ const n = {
|
|
|
17
17
|
domProps: {
|
|
18
18
|
innerHTML: e.props.text
|
|
19
19
|
}
|
|
20
|
-
})]) : e.props.file ? r("div", [r(
|
|
20
|
+
})]) : e.props.file ? r("div", [r(t, {
|
|
21
21
|
attrs: {
|
|
22
|
-
src: e.props.file.url
|
|
22
|
+
src: e.props.file.url,
|
|
23
|
+
docFilePath: "data.terms.file.url"
|
|
23
24
|
},
|
|
24
25
|
class: "pdf-container"
|
|
25
26
|
})]) : r("div");
|
|
26
27
|
}
|
|
27
28
|
};
|
|
28
|
-
const
|
|
29
|
-
var a = /* @__PURE__ */
|
|
30
|
-
n,
|
|
29
|
+
const n = null, l = null;
|
|
30
|
+
var a = /* @__PURE__ */ s(
|
|
31
31
|
o,
|
|
32
|
+
n,
|
|
32
33
|
l,
|
|
33
34
|
!1,
|
|
34
35
|
null,
|
|
35
|
-
"
|
|
36
|
+
"d1cc4fe9",
|
|
36
37
|
null,
|
|
37
38
|
null
|
|
38
39
|
);
|
|
39
|
-
const
|
|
40
|
+
const _ = a.exports;
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
_ as default
|
|
42
43
|
};
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
import { n as u, R as g } from "./main-d803b876.js";
|
|
2
|
+
import { e as d } from "./dom-962579a6.js";
|
|
3
|
+
import { W as m } from "./DocumentLayout-a798e912.js";
|
|
4
|
+
let o, l, f, c, p;
|
|
5
|
+
function w(t) {
|
|
6
|
+
return typeof t == "object" && t !== null && t.__PDFDocumentLoadingTask === !0;
|
|
7
|
+
}
|
|
8
|
+
const _ = {
|
|
9
|
+
name: "PdfPage",
|
|
10
|
+
props: {
|
|
11
|
+
src: {
|
|
12
|
+
type: [String, Object, Promise],
|
|
13
|
+
default: ""
|
|
14
|
+
},
|
|
15
|
+
page: {
|
|
16
|
+
type: Number,
|
|
17
|
+
default: 1
|
|
18
|
+
},
|
|
19
|
+
rotate: {
|
|
20
|
+
type: Number,
|
|
21
|
+
default: 0
|
|
22
|
+
},
|
|
23
|
+
scale: {
|
|
24
|
+
type: [Number, String],
|
|
25
|
+
default: "page-width"
|
|
26
|
+
},
|
|
27
|
+
resize: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !0
|
|
30
|
+
},
|
|
31
|
+
text: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: !0
|
|
34
|
+
},
|
|
35
|
+
pdfLoadingTask: {
|
|
36
|
+
type: Promise,
|
|
37
|
+
required: !0
|
|
38
|
+
},
|
|
39
|
+
containerClass: {
|
|
40
|
+
type: [Array, String],
|
|
41
|
+
default: ""
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
components: {
|
|
45
|
+
WithDimensions: m
|
|
46
|
+
},
|
|
47
|
+
data() {
|
|
48
|
+
return {
|
|
49
|
+
internalSrc: this.src,
|
|
50
|
+
pdf: null,
|
|
51
|
+
pdfViewer: null,
|
|
52
|
+
loading: !0
|
|
53
|
+
};
|
|
54
|
+
},
|
|
55
|
+
watch: {
|
|
56
|
+
pdf(t) {
|
|
57
|
+
const e = t.pdfInfo || t._pdfInfo;
|
|
58
|
+
this.$emit("numpages", e.numPages);
|
|
59
|
+
},
|
|
60
|
+
page(t) {
|
|
61
|
+
this.pdf.getPage(t).then((e) => {
|
|
62
|
+
this.pdfViewer.setPdfPage(e), this.pdfViewer.draw();
|
|
63
|
+
});
|
|
64
|
+
},
|
|
65
|
+
scale(t) {
|
|
66
|
+
this.drawScaled(t);
|
|
67
|
+
},
|
|
68
|
+
rotate(t) {
|
|
69
|
+
this.pdfViewer && (this.pdfViewer.update({ scale: this.scale, rotation: t }), this.pdfViewer.draw());
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
mounted() {
|
|
73
|
+
o = window.pdfjsViewer.DefaultTextLayerFactory, l = window.pdfjsViewer.PDFFindController, f = window.pdfjsViewer.PDFLinkService, c = window.pdfjsViewer.PDFPageView, p = window.pdfjsViewer.EventBus, this.init();
|
|
74
|
+
},
|
|
75
|
+
beforeDestroy() {
|
|
76
|
+
this.pdfViewer && (this.pdfViewer.destroy(), this.pdfViewer = null);
|
|
77
|
+
},
|
|
78
|
+
methods: {
|
|
79
|
+
init() {
|
|
80
|
+
w(this.internalSrc) || (this.internalSrc = this.pdfLoadingTask, this.$emit("loading", !0));
|
|
81
|
+
const t = this.$refs.container, e = new p();
|
|
82
|
+
e.on("pagerendered", (s) => {
|
|
83
|
+
this.$emit("pagerendered", s);
|
|
84
|
+
}), this.pdfLinkService = new f({
|
|
85
|
+
eventBus: e,
|
|
86
|
+
externalLinkTarget: 2
|
|
87
|
+
}), this.pdfFindController = new l({
|
|
88
|
+
eventBus: e,
|
|
89
|
+
linkService: this.pdfLinkService
|
|
90
|
+
});
|
|
91
|
+
let i;
|
|
92
|
+
this.text && (i = new o()), this.internalSrc.then((s) => (this.pdf = s, s.getPage(this.page))).then((s) => {
|
|
93
|
+
this.pdfViewer = new c({
|
|
94
|
+
container: t,
|
|
95
|
+
id: this.page,
|
|
96
|
+
scale: 1,
|
|
97
|
+
defaultViewport: s.getViewport({
|
|
98
|
+
scale: 1
|
|
99
|
+
}),
|
|
100
|
+
eventBus: e,
|
|
101
|
+
textLayerFactory: i
|
|
102
|
+
}), this.pdfViewer.setPdfPage(s);
|
|
103
|
+
const r = {
|
|
104
|
+
scrollPageIntoView: (h) => {
|
|
105
|
+
this.$emit("link-clicked", h);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
return this.pdfLinkService.setDocument(this.pdf), this.pdfLinkService.setViewer(r), this.pdfFindController.setDocument(this.pdf), this.drawScaled(this.scale);
|
|
109
|
+
}).catch((s) => {
|
|
110
|
+
this.$emit("error", s), this.loading = !1, this.$emit("loading", !1);
|
|
111
|
+
});
|
|
112
|
+
},
|
|
113
|
+
calculateScale(t = -1, e = -1) {
|
|
114
|
+
return this.pdfViewer.update({ scale: 1, rotation: this.rotate }), t === -1 && e === -1 && (t = this.$refs.container.offsetWidth), t / this.pdfViewer.viewport.width;
|
|
115
|
+
},
|
|
116
|
+
calculateScaleHeight() {
|
|
117
|
+
this.pdfViewer.update({ scale: 1, rotation: this.rotate });
|
|
118
|
+
var t = this.$refs.container.offsetHeight, e = this.$refs.container.parentElement.parentElement;
|
|
119
|
+
return e.offsetHeight / t;
|
|
120
|
+
},
|
|
121
|
+
async drawScaled(t) {
|
|
122
|
+
this.pdfViewer && (t === "page-width" ? (t = this.calculateScale(), this.$emit("update:scale", t)) : t === "page-height" && (t = this.calculateScaleHeight(), this.$emit("update:scale", t)), this.pdfViewer.update({ scale: t, rotation: this.rotate }), await this.pdfViewer.draw(), this.text && (this.pdfViewer.textLayer.findController = this.pdfFindController), this.loading = !1, this.$emit("loading", !1));
|
|
123
|
+
},
|
|
124
|
+
resizeScale() {
|
|
125
|
+
this.resize && this.drawScaled("page-width");
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
var P = function() {
|
|
130
|
+
var e = this, i = e._self._c;
|
|
131
|
+
return i("div", [e.loading ? e._t("loading") : e._e(), i("WithDimensions", { on: { resize: e.resizeScale } }, [i("div", { ref: "container", staticClass: "pdfViewer", class: e.containerClass })])], 2);
|
|
132
|
+
}, v = [], y = /* @__PURE__ */ u(
|
|
133
|
+
_,
|
|
134
|
+
P,
|
|
135
|
+
v,
|
|
136
|
+
!1,
|
|
137
|
+
null,
|
|
138
|
+
null,
|
|
139
|
+
null,
|
|
140
|
+
null
|
|
141
|
+
);
|
|
142
|
+
const V = y.exports, a = new g();
|
|
143
|
+
function k(t, e) {
|
|
144
|
+
let i;
|
|
145
|
+
if (typeof t == "string")
|
|
146
|
+
i = {
|
|
147
|
+
url: t
|
|
148
|
+
};
|
|
149
|
+
else if (typeof t == "object" && t !== null)
|
|
150
|
+
i = { ...t };
|
|
151
|
+
else
|
|
152
|
+
throw new TypeError("invalid src type");
|
|
153
|
+
const s = window.pdfjsLib.getDocument(i).promise;
|
|
154
|
+
return s.__PDFDocumentLoadingTask = !0, e && e.onPassword && (s.onPassword = e.onPassword), e && e.onProgress && (s.onProgress = e.onProgress), s;
|
|
155
|
+
}
|
|
156
|
+
const n = {
|
|
157
|
+
add(t) {
|
|
158
|
+
a.trigger("add", t);
|
|
159
|
+
},
|
|
160
|
+
remove(t) {
|
|
161
|
+
a.trigger("remove", t);
|
|
162
|
+
},
|
|
163
|
+
onAdd(t) {
|
|
164
|
+
a.on("add", t);
|
|
165
|
+
},
|
|
166
|
+
onRemove(t) {
|
|
167
|
+
a.on("remove", t);
|
|
168
|
+
}
|
|
169
|
+
}, L = {
|
|
170
|
+
props: {
|
|
171
|
+
src: {
|
|
172
|
+
type: String,
|
|
173
|
+
default: null
|
|
174
|
+
},
|
|
175
|
+
docFilePath: {
|
|
176
|
+
type: String,
|
|
177
|
+
default: null
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
components: {
|
|
181
|
+
VuePdf: V
|
|
182
|
+
},
|
|
183
|
+
inject: {
|
|
184
|
+
isPdf: {
|
|
185
|
+
default: !1
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
data() {
|
|
189
|
+
return {
|
|
190
|
+
numPages: void 0,
|
|
191
|
+
pdfLoadingTask: null,
|
|
192
|
+
hasLoadedScripts: !1,
|
|
193
|
+
loading: !1,
|
|
194
|
+
pdfRenderBus: n
|
|
195
|
+
};
|
|
196
|
+
},
|
|
197
|
+
created() {
|
|
198
|
+
this.isPdf || n.add(this._uid);
|
|
199
|
+
},
|
|
200
|
+
watch: {
|
|
201
|
+
src: {
|
|
202
|
+
immediate: !0,
|
|
203
|
+
async handler(t) {
|
|
204
|
+
this.hasLoadedScripts || (await d(
|
|
205
|
+
"https://unpkg.com/pdfjs-dist@3.0.279/build/pdf.min.js"
|
|
206
|
+
), await d(
|
|
207
|
+
"https://unpkg.com/pdfjs-dist@3.0.279/web/pdf_viewer.js"
|
|
208
|
+
), window.pdfjsLib.GlobalWorkerOptions.workerSrc = "https://unpkg.com/pdfjs-dist@3.0.279/build/pdf.worker.min.js", this.hasLoadedScripts = !0), this.setPdf(t);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
methods: {
|
|
213
|
+
createLoadingTask: k,
|
|
214
|
+
async setPdf(t) {
|
|
215
|
+
t && (this.loading = !0, this.pdfLoadingTask = this.createLoadingTask(t), this.$nextTick(() => {
|
|
216
|
+
this.pdfLoadingTask.then((e) => {
|
|
217
|
+
this.loading = !1, this.numPages = e.numPages, this.$emit("numPages", e.numPages), this.$emit("rendered"), n.remove(this._uid);
|
|
218
|
+
});
|
|
219
|
+
}));
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
var $ = function() {
|
|
224
|
+
var e = this, i = e._self._c;
|
|
225
|
+
return i("div", { key: e.src }, [e.isPdf ? i("pre", [e._v(" ClingPDFReplaceStart:[" + e._s(this.docFilePath) + `]ClingPDFReplaceEnd
|
|
226
|
+
`), i("div", [e._v("This page should have been replaced with URL: " + e._s(e.src))]), e._v(`
|
|
227
|
+
`)]) : i("div", [e.loading ? i("div", { staticClass: "mb-4 border border-gray-100 bg-gray-50 aspect-[210/297] grid place-items-center" }, [i("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1) : e._e(), e._l(e.numPages, function(s) {
|
|
228
|
+
return i("VuePdf", e._b({ key: s, ref: "vuePdf", refInFor: !0, attrs: { page: s, "container-class": e.isPdf ? "" : "mb-4 shadow-[0_2px_4px_hsla(0,0%,0%,0.25)]" }, on: { "hook:created": function(r) {
|
|
229
|
+
return e.pdfRenderBus.add(`${e._uid}-${s}`);
|
|
230
|
+
}, loading: (r) => r ? null : e.pdfRenderBus.remove(`${e._uid}-${s}`) } }, "VuePdf", {
|
|
231
|
+
...e.$attrs,
|
|
232
|
+
...e.$props,
|
|
233
|
+
pdfLoadingTask: e.pdfLoadingTask
|
|
234
|
+
}, !1), [e._t("loading", function() {
|
|
235
|
+
return [i("div", { staticClass: "mb-4 border border-gray-100 bg-gray-50 aspect-[210/297] grid place-items-center", attrs: { slot: "loading" }, slot: "loading" }, [i("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1)];
|
|
236
|
+
})], 2);
|
|
237
|
+
})], 2)]);
|
|
238
|
+
}, S = [], F = /* @__PURE__ */ u(
|
|
239
|
+
L,
|
|
240
|
+
$,
|
|
241
|
+
S,
|
|
242
|
+
!1,
|
|
243
|
+
null,
|
|
244
|
+
null,
|
|
245
|
+
null,
|
|
246
|
+
null
|
|
247
|
+
);
|
|
248
|
+
const x = F.exports;
|
|
249
|
+
export {
|
|
250
|
+
x as V
|
|
251
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { m as c } from "./mapFormMixin-
|
|
2
|
-
import { B as l } from "./BlockMedia-
|
|
3
|
-
import { n, b as r,
|
|
4
|
-
import { T as u } from "./DocTextEditor-
|
|
1
|
+
import { m as c } from "./mapFormMixin-0583565b.js";
|
|
2
|
+
import { B as l } from "./BlockMedia-4155dbd6.js";
|
|
3
|
+
import { n, b as r, w as d, a8 as m } from "./main-d803b876.js";
|
|
4
|
+
import { T as u } from "./DocTextEditor-25220c68.js";
|
|
5
5
|
import { i as p } from "./i18nMessages-45c6bfd6.js";
|
|
6
|
-
import { t as _ } from "./tinycolor-
|
|
6
|
+
import { t as _ } from "./tinycolor-dffe2bfd.js";
|
|
7
7
|
import { s as y } from "./dom-962579a6.js";
|
|
8
8
|
import "./color-71c20583.js";
|
|
9
|
-
import "./tippy.esm-
|
|
10
|
-
import "./ColorPicker-
|
|
11
|
-
import "./DocumentLayout-
|
|
12
|
-
import "./debounce-
|
|
13
|
-
import "./CDropdownItem-
|
|
14
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
9
|
+
import "./tippy.esm-7bfd5b54.js";
|
|
10
|
+
import "./ColorPicker-c1b32ad5.js";
|
|
11
|
+
import "./DocumentLayout-a798e912.js";
|
|
12
|
+
import "./debounce-a8a2e7ca.js";
|
|
13
|
+
import "./CDropdownItem-9b1ca709.js";
|
|
14
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-12f32bb7.js";
|
|
15
15
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
16
|
-
import "./ManualPopover-
|
|
16
|
+
import "./ManualPopover-01700f5a.js";
|
|
17
17
|
const h = {
|
|
18
18
|
name: "SummaryTop",
|
|
19
19
|
i18nOptions: {
|
|
@@ -22,7 +22,7 @@ const h = {
|
|
|
22
22
|
},
|
|
23
23
|
components: {
|
|
24
24
|
TextEditor: u,
|
|
25
|
-
DocumentLogotype: () => import("./DocumentLogotype-
|
|
25
|
+
DocumentLogotype: () => import("./DocumentLogotype-b87b1b6d.js")
|
|
26
26
|
},
|
|
27
27
|
inject: ["parentSize"],
|
|
28
28
|
mixins: [c([])],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as u, p as h, f, i as d, n as m } from "./main-
|
|
2
|
-
import { d as p } from "./debounce-
|
|
1
|
+
import { g as u, p as h, f, i as d, n as m } from "./main-d803b876.js";
|
|
2
|
+
import { d as p } from "./debounce-a8a2e7ca.js";
|
|
3
3
|
import { m as y, a as g } from "./vuex.esm-4a0fff7c.js";
|
|
4
4
|
const A = {
|
|
5
5
|
name: "SearchApi",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { f as m,
|
|
2
|
-
import { m as c } from "./mapFormMixin-
|
|
3
|
-
import g from "./Index-
|
|
4
|
-
import "./DocModalBase-
|
|
5
|
-
import "./DocumentLayout-
|
|
6
|
-
import "./debounce-
|
|
7
|
-
import "./CDropdownItem-
|
|
1
|
+
import { f as m, D as o, n as v } from "./main-d803b876.js";
|
|
2
|
+
import { m as c } from "./mapFormMixin-0583565b.js";
|
|
3
|
+
import g from "./Index-f1c8a1fd.js";
|
|
4
|
+
import "./DocModalBase-f3267f66.js";
|
|
5
|
+
import "./DocumentLayout-a798e912.js";
|
|
6
|
+
import "./debounce-a8a2e7ca.js";
|
|
7
|
+
import "./CDropdownItem-9b1ca709.js";
|
|
8
8
|
const p = {
|
|
9
9
|
i18nOptions: {
|
|
10
10
|
namespaces: "terms",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as n } from "./color-71c20583.js";
|
|
2
|
-
import { C as l } from "./ColorPicker-
|
|
3
|
-
import { M as s } from "./ManualPopover-
|
|
4
|
-
import { n as a } from "./main-
|
|
2
|
+
import { C as l } from "./ColorPicker-c1b32ad5.js";
|
|
3
|
+
import { M as s } from "./ManualPopover-01700f5a.js";
|
|
4
|
+
import { n as a } from "./main-d803b876.js";
|
|
5
5
|
const i = {
|
|
6
6
|
name: "ThemeColorRow",
|
|
7
7
|
components: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as i } from "./mapFormMixin-
|
|
2
|
-
import { I as t } from "./InputToggleRow-
|
|
3
|
-
import { n as l } from "./main-
|
|
1
|
+
import { m as i } from "./mapFormMixin-0583565b.js";
|
|
2
|
+
import { I as t } from "./InputToggleRow-e9ccb4db.js";
|
|
3
|
+
import { n as l } from "./main-d803b876.js";
|
|
4
4
|
const s = {
|
|
5
5
|
name: "ToggleBinding",
|
|
6
6
|
i18nOptions: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import l from "./Index-
|
|
2
|
-
import { f as o, h as c,
|
|
1
|
+
import l from "./Index-4835bdde.js";
|
|
2
|
+
import { f as o, h as c, E as d, n as m } from "./main-d803b876.js";
|
|
3
3
|
import { m as p } from "./vuex.esm-4a0fff7c.js";
|
|
4
|
-
import "./tinycolor-
|
|
4
|
+
import "./tinycolor-dffe2bfd.js";
|
|
5
5
|
const u = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "uploadModal",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as a } from "./debounce-
|
|
2
|
-
import { v as l } from "./utils-
|
|
3
|
-
import { n } from "./main-
|
|
1
|
+
import { d as a } from "./debounce-a8a2e7ca.js";
|
|
2
|
+
import { v as l } from "./utils-9a1bdd7a.js";
|
|
3
|
+
import { n } from "./main-d803b876.js";
|
|
4
4
|
const r = {
|
|
5
5
|
name: "VideoPlayerInput",
|
|
6
6
|
i18nOptions: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import n from "./VideoPlayerInput-
|
|
2
|
-
import { n as s } from "./main-
|
|
3
|
-
import "./debounce-
|
|
4
|
-
import "./utils-
|
|
1
|
+
import n from "./VideoPlayerInput-675640a9.js";
|
|
2
|
+
import { n as s } from "./main-d803b876.js";
|
|
3
|
+
import "./debounce-a8a2e7ca.js";
|
|
4
|
+
import "./utils-9a1bdd7a.js";
|
|
5
5
|
const l = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "components",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as h, n as f,
|
|
2
|
-
import { B as _, a as y } from "./index-
|
|
3
|
-
import x from "./VideoPlayerInput-
|
|
4
|
-
import "./debounce-
|
|
5
|
-
import "./throttle-
|
|
1
|
+
import { c as h, n as f, o as g } from "./main-d803b876.js";
|
|
2
|
+
import { B as _, a as y } from "./index-01421a50.js";
|
|
3
|
+
import x from "./VideoPlayerInput-675640a9.js";
|
|
4
|
+
import "./debounce-a8a2e7ca.js";
|
|
5
|
+
import "./throttle-a8b2f0e5.js";
|
|
6
6
|
import "./dom-962579a6.js";
|
|
7
|
-
import "./CDropdownItem-
|
|
8
|
-
import "./Flag-
|
|
9
|
-
import "./utils-
|
|
7
|
+
import "./CDropdownItem-9b1ca709.js";
|
|
8
|
+
import "./Flag-6e070aa2.js";
|
|
9
|
+
import "./utils-9a1bdd7a.js";
|
|
10
10
|
const V = h.pexels.id, w = {
|
|
11
11
|
name: "VideoSelectModal",
|
|
12
12
|
i18nOptions: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as r } from "./main-
|
|
2
|
-
import { w as l } from "./CDropdownItem-
|
|
1
|
+
import { b as r } from "./main-d803b876.js";
|
|
2
|
+
import { w as l } from "./CDropdownItem-9b1ca709.js";
|
|
3
3
|
const m = ({ documentKey: s = "document" } = {}) => ({
|
|
4
4
|
mixins: [l],
|
|
5
5
|
inject: {
|
|
@@ -26,7 +26,7 @@ const m = ({ documentKey: s = "document" } = {}) => ({
|
|
|
26
26
|
const o = t === "decline" ? !0 : this.isValid();
|
|
27
27
|
if (!i.isPreview && !o)
|
|
28
28
|
return;
|
|
29
|
-
const n = this.mq === "sm" ? "100%" : "auto", a = () => import("./AnswerModal-
|
|
29
|
+
const n = this.mq === "sm" ? "100%" : "auto", a = () => import("./AnswerModal-39f81c0e.js");
|
|
30
30
|
this.$modal.show(
|
|
31
31
|
a,
|
|
32
32
|
{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as j, k,
|
|
1
|
+
import { _ as j, k, W as C, j as A } from "./main-d803b876.js";
|
|
2
2
|
var L = j, M = function() {
|
|
3
3
|
return L.Date.now();
|
|
4
4
|
}, B = M, F = /\s/;
|
|
@@ -7,11 +7,11 @@ function R(e) {
|
|
|
7
7
|
;
|
|
8
8
|
return r;
|
|
9
9
|
}
|
|
10
|
-
var D = R,
|
|
11
|
-
function
|
|
12
|
-
return e && e.slice(0,
|
|
10
|
+
var D = R, H = D, P = /^\s+/;
|
|
11
|
+
function U(e) {
|
|
12
|
+
return e && e.slice(0, H(e) + 1).replace(P, "");
|
|
13
13
|
}
|
|
14
|
-
var X =
|
|
14
|
+
var X = U, q = X, p = k, w = C, y = 0 / 0, z = /^[-+]0x[0-9a-f]+$/i, G = /^0b[01]+$/i, J = /^0o[0-7]+$/i, K = parseInt;
|
|
15
15
|
function Q(e) {
|
|
16
16
|
if (typeof e == "number")
|
|
17
17
|
return e;
|
|
@@ -57,10 +57,10 @@ function re(e, r, i) {
|
|
|
57
57
|
function E(n) {
|
|
58
58
|
return t = void 0, b && u ? g(n) : (u = o = void 0, s);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function W() {
|
|
61
61
|
t !== void 0 && clearTimeout(t), d = 0, u = f = o = t = void 0;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function N() {
|
|
64
64
|
return t === void 0 ? s : E(T());
|
|
65
65
|
}
|
|
66
66
|
function x() {
|
|
@@ -73,7 +73,7 @@ function re(e, r, i) {
|
|
|
73
73
|
}
|
|
74
74
|
return t === void 0 && (t = setTimeout(v, r)), s;
|
|
75
75
|
}
|
|
76
|
-
return x.cancel =
|
|
76
|
+
return x.cancel = W, x.flush = N, x;
|
|
77
77
|
}
|
|
78
78
|
var te = re;
|
|
79
79
|
const ae = /* @__PURE__ */ A(te);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { b as H, m as g } from "./vuex.esm-4a0fff7c.js";
|
|
2
|
-
import { s as q, F as j } from "./Flag-
|
|
3
|
-
import { m } from "./mapFormMixin-
|
|
4
|
-
import { B as I } from "./BaseDatePicker-
|
|
5
|
-
import { E as K } from "./ErrorCallout-
|
|
6
|
-
import { I as W, a as X, r as l } from "./IsPremiumPreStep-
|
|
7
|
-
import { n as o, ax as O, ay as v, h as U, b as c, az as Q,
|
|
8
|
-
import Z from "./AddClientCallout-
|
|
9
|
-
import ee from "./ClientModal-
|
|
10
|
-
import { c as te, r as ie, g as se, C as h, a as f, b as p } from "./CDropdownItem-
|
|
11
|
-
import { S as ne } from "./CSlider.vue_vue_type_style_index_0_lang-
|
|
12
|
-
import { C as _ } from "./CCallout-
|
|
13
|
-
import { C as z } from "./CField-
|
|
2
|
+
import { s as q, F as j } from "./Flag-6e070aa2.js";
|
|
3
|
+
import { m } from "./mapFormMixin-0583565b.js";
|
|
4
|
+
import { B as I } from "./BaseDatePicker-92562106.js";
|
|
5
|
+
import { E as K } from "./ErrorCallout-21273503.js";
|
|
6
|
+
import { I as W, a as X, r as l } from "./IsPremiumPreStep-086fdca0.js";
|
|
7
|
+
import { n as o, ax as O, ay as v, h as U, b as c, az as Q, s as Y, aA as G, aB as J, t as T, aC as P, aD as R, d as M, G as y } from "./main-d803b876.js";
|
|
8
|
+
import Z from "./AddClientCallout-5d2a5eaa.js";
|
|
9
|
+
import ee from "./ClientModal-e5f7b4b8.js";
|
|
10
|
+
import { c as te, r as ie, g as se, C as h, a as f, b as p } from "./CDropdownItem-9b1ca709.js";
|
|
11
|
+
import { S as ne } from "./CSlider.vue_vue_type_style_index_0_lang-12f32bb7.js";
|
|
12
|
+
import { C as _ } from "./CCallout-46b3d405.js";
|
|
13
|
+
import { C as z } from "./CField-d7edf10c.js";
|
|
14
14
|
const ae = {
|
|
15
15
|
name: "DocumentSendReminderItem",
|
|
16
16
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as n } from "./debounce-
|
|
2
|
-
import { t as o } from "./throttle-
|
|
3
|
-
import { n as r } from "./main-
|
|
1
|
+
import { d as n } from "./debounce-a8a2e7ca.js";
|
|
2
|
+
import { t as o } from "./throttle-a8b2f0e5.js";
|
|
3
|
+
import { n as r } from "./main-d803b876.js";
|
|
4
4
|
import { i as c } from "./dom-962579a6.js";
|
|
5
|
-
import { w as d } from "./CDropdownItem-
|
|
6
|
-
import { s as u, F as m } from "./Flag-
|
|
5
|
+
import { w as d } from "./CDropdownItem-9b1ca709.js";
|
|
6
|
+
import { s as u, F as m } from "./Flag-6e070aa2.js";
|
|
7
7
|
const f = {
|
|
8
8
|
name: "BackgroundsModalList",
|
|
9
9
|
i18nOptions: {
|