@cling-se/widget 0.9.30 → 0.9.32

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.
Files changed (119) hide show
  1. package/dist/{AddClientCallout-e63b3bc8.js → AddClientCallout-57195414.js} +5 -5
  2. package/dist/{AnswerModal-0fc36a99.js → AnswerModal-84115064.js} +47 -47
  3. package/dist/{AttachmentItem-7fcfe642.js → AttachmentItem-d5059568.js} +3 -3
  4. package/dist/{BaseDatePicker-3618f643.js → BaseDatePicker-0f2bbfe0.js} +2 -2
  5. package/dist/{BaseInput-1e53b776.js → BaseInput-09fa078c.js} +1 -1
  6. package/dist/{BaseUpload-2eea6112.js → BaseUpload-7ac7f0de.js} +2 -2
  7. package/dist/{BlockMedia-4f30336b.js → BlockMedia-35572b5a.js} +1 -1
  8. package/dist/{CCallout-3ea46d33.js → CCallout-f4a3000f.js} +2 -2
  9. package/dist/{CDropdownItem-301e3273.js → CDropdownItem-648b13e8.js} +1 -1
  10. package/dist/{CField-25e8b388.js → CField-c179740e.js} +1 -1
  11. package/dist/{CPhoneFormat-0eb4f8c1.js → CPhoneFormat-06cd312e.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-8b316fae.js → CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js} +1 -1
  13. package/dist/{ClientAutocomplete-35cada3c.js → ClientAutocomplete-1aacab81.js} +2 -2
  14. package/dist/{ClientModal-c11543c6.js → ClientModal-62cfe454.js} +5 -5
  15. package/dist/{ColorPicker-5ca79d5e.js → ColorPicker-c9eadd63.js} +1 -1
  16. package/dist/{CompanyModal-648fce86.js → CompanyModal-1140af13.js} +3 -3
  17. package/dist/{ContentWrapper-70c4494a.js → ContentWrapper-5d7221c8.js} +13 -13
  18. package/dist/{CoverBlockSettings-cfdb6528.js → CoverBlockSettings-668eec29.js} +9 -9
  19. package/dist/{DocAnswer-b03f11d8.js → DocAnswer-978f1b34.js} +4 -4
  20. package/dist/{DocDetails-ffbd78f5.js → DocDetails-02ab49b6.js} +4 -4
  21. package/dist/{DocForm-0216b4bf.js → DocForm-25924bbc.js} +29 -29
  22. package/dist/{DocFormSend-8d6e051b.js → DocFormSend-666669ea.js} +19 -18
  23. package/dist/{DocLinks-8520a61d.js → DocLinks-1b3d8aa7.js} +2 -2
  24. package/dist/{DocModalBase-a61f7c10.js → DocModalBase-ed5f21ca.js} +1 -1
  25. package/dist/{DocPrint-3e8970bc.js → DocPrint-c8e7792f.js} +1 -1
  26. package/dist/{DocReceipt-5da67daf.js → DocReceipt-68bb30bd.js} +1 -1
  27. package/dist/{DocSendReminder-b2e096d4.js → DocSendReminder-1bb53aa6.js} +1 -1
  28. package/dist/{DocTextEditor-1c8197e2.js → DocTextEditor-baf911e4.js} +8 -8
  29. package/dist/{DocTimeline-1804ebb6.js → DocTimeline-e80b7d30.js} +1 -1
  30. package/dist/{DocumentClient-a0592efe.js → DocumentClient-e5674987.js} +7 -7
  31. package/dist/{DocumentLayout-dd904f22.js → DocumentLayout-bdb661ca.js} +340 -331
  32. package/dist/{DocumentLogotype-59b1549a.js → DocumentLogotype-b47e5d3b.js} +3 -3
  33. package/dist/{DocumentVoided-f6b8e4ff.js → DocumentVoided-4689a48a.js} +1 -1
  34. package/dist/{EmbedInput-c1393639.js → EmbedInput-4e9f9fdc.js} +2 -2
  35. package/dist/{EmbedSettings-f7451a3d.js → EmbedSettings-8e8e772e.js} +3 -3
  36. package/dist/{ErrorCallout-2973d65d.js → ErrorCallout-b48cecf9.js} +1 -1
  37. package/dist/{FilePreviewModal-e8e3d042.js → FilePreviewModal-5ae3179e.js} +5 -5
  38. package/dist/{Flag-c17cf658.js → Flag-f21c517c.js} +1 -1
  39. package/dist/{HeaderSettings-eb0a98b4.js → HeaderSettings-dadaba45.js} +15 -15
  40. package/dist/{ImageSelectModal-cab96401.js → ImageSelectModal-3079deaf.js} +8 -8
  41. package/dist/{ImageUploadWrapper-38e2afa8.js → ImageUploadWrapper-92389319.js} +2 -2
  42. package/dist/{Index-0bfac160.js → Index-0d9fc410.js} +6 -6
  43. package/dist/{Index-a280b4b2.js → Index-16e2d1e5.js} +4 -4
  44. package/dist/{Index-d01e898b.js → Index-18ee40ea.js} +41 -26
  45. package/dist/{Index-bc62c1f2.js → Index-1a6f1fe8.js} +9 -9
  46. package/dist/{Index-28ec6148.js → Index-21715b96.js} +2 -2
  47. package/dist/{Index-921eb9ba.js → Index-25240fbd.js} +2 -2
  48. package/dist/{Index-1d85df60.js → Index-3855ca38.js} +7 -7
  49. package/dist/{Index-d7bf1266.js → Index-3a7288be.js} +17 -17
  50. package/dist/{Index-a2dba1ec.js → Index-469db7d7.js} +4 -4
  51. package/dist/{Index-e0c5772a.js → Index-48e502c3.js} +4 -4
  52. package/dist/{Index-bf74adf8.js → Index-672648c7.js} +50 -23
  53. package/dist/{Index-0e100224.js → Index-6d2a08a5.js} +6 -6
  54. package/dist/{Index-e1f464ef.js → Index-83509fc5.js} +1 -1
  55. package/dist/{Index-fcef00d7.js → Index-85996f2f.js} +2 -2
  56. package/dist/{Index-ce33b807.js → Index-85b558a8.js} +6 -6
  57. package/dist/{Index-0f08ced2.js → Index-88aa3f7e.js} +4 -4
  58. package/dist/{Index-8cc33cc7.js → Index-93d6b687.js} +2 -2
  59. package/dist/{Index-a3b1e7de.js → Index-9794be3d.js} +5 -5
  60. package/dist/{Index-d9abc609.js → Index-a7d30625.js} +4 -4
  61. package/dist/{Index-f4b486da.js → Index-a9cfa68b.js} +5 -5
  62. package/dist/{Index-19f50205.js → Index-aa9388ac.js} +4 -4
  63. package/dist/{Index-d256a1d6.js → Index-aac9dd15.js} +9 -9
  64. package/dist/{Index-714600fc.js → Index-ad7770f7.js} +4 -4
  65. package/dist/{Index-9c28cb53.js → Index-adabe428.js} +2 -2
  66. package/dist/{Index-d364dae0.js → Index-b9535d28.js} +14 -14
  67. package/dist/{Index-d2afa240.js → Index-c3f4a4b8.js} +3 -3
  68. package/dist/{Index-c9b85813.js → Index-c4184a33.js} +2 -2
  69. package/dist/{Index-da40e434.js → Index-c704e669.js} +10 -10
  70. package/dist/{Index-5c3cb151.js → Index-d0cf8cd4.js} +2 -2
  71. package/dist/{Index-30c1d44e.js → Index-da28cb69.js} +4 -4
  72. package/dist/{Index-4e60e980.js → Index-e6b7d574.js} +23 -23
  73. package/dist/{Index-07da4308.js → Index-ea0c9b42.js} +1 -1
  74. package/dist/{Index-6bb8e424.js → Index-ed57f450.js} +6 -6
  75. package/dist/{Index-46e59685.js → Index-ef0a8d46.js} +2 -2
  76. package/dist/{InputToggleRow-e28f45a0.js → InputToggleRow-67d34fe0.js} +1 -1
  77. package/dist/{IsPremiumPreStep-e1d54d22.js → IsPremiumPreStep-f1c4e0f9.js} +77 -75
  78. package/dist/{ManualPopover-64b4c430.js → ManualPopover-4641e4de.js} +1 -1
  79. package/dist/{MediaWrapper-240bb3b2.js → MediaWrapper-3dbdd7b2.js} +3 -3
  80. package/dist/{NotBindingText-2148a45c.js → NotBindingText-3c7f4d55.js} +2 -2
  81. package/dist/{PackageGroup-92ec85c9.js → PackageGroup-c935a59b.js} +14 -14
  82. package/dist/{PdfTerms-cf3e0ff3.js → PdfTerms-6afcf887.js} +15 -14
  83. package/dist/PdfViewer-f6d4d126.js +251 -0
  84. package/dist/{PlainHtml-98d14d49.js → PlainHtml-41dde027.js} +1 -1
  85. package/dist/{PriceHeader-2f97908c.js → PriceHeader-84ad2639.js} +13 -13
  86. package/dist/{SearchApi-3f0ee279.js → SearchApi-a8d58e7b.js} +2 -2
  87. package/dist/{Setup-6ca34742.js → Setup-86baa232.js} +1 -1
  88. package/dist/{TermsSettings-244144ce.js → TermsSettings-158e2ba7.js} +7 -7
  89. package/dist/{ThemeColorRow-8297bac6.js → ThemeColorRow-af9f1f9f.js} +3 -3
  90. package/dist/{ToggleBinding-801b881c.js → ToggleBinding-d80c5b56.js} +3 -3
  91. package/dist/{UploadModal-143d3385.js → UploadModal-64705993.js} +3 -3
  92. package/dist/{VideoPlayerInput-7cbe00d0.js → VideoPlayerInput-f001a306.js} +3 -3
  93. package/dist/{VideoPlayerSettings-055bfb63.js → VideoPlayerSettings-be3a2a08.js} +4 -4
  94. package/dist/{VideoSelectModal-82769419.js → VideoSelectModal-325ca974.js} +8 -8
  95. package/dist/{answerDocumentMixin-0eb824aa.js → answerDocumentMixin-7b4bd6d8.js} +3 -3
  96. package/dist/{debounce-35659385.js → debounce-2da37622.js} +8 -8
  97. package/dist/{focusDrawerMixin-57a74f04.js → focusDrawerMixin-2593f43c.js} +1 -1
  98. package/dist/{formComponentsInstall-53f4342a.js → formComponentsInstall-05dc0275.js} +12 -12
  99. package/dist/{formDrawerState-c089ffac.js → formDrawerState-1279a667.js} +1 -1
  100. package/dist/{formValidationMixin-08f0a439.js → formValidationMixin-b354db95.js} +1 -1
  101. package/dist/{index-317dfeee.js → index-05ff66b4.js} +13 -13
  102. package/dist/{index-497ae925.js → index-20e88d5e.js} +3 -3
  103. package/dist/{index-a37004d7.js → index-88e32902.js} +1 -1
  104. package/dist/{index-736d30ee.js → index-aa52e2dc.js} +5 -5
  105. package/dist/{index-e88b85e7.js → index-b9ea34e7.js} +1 -1
  106. package/dist/{index-17a2bb54.js → index-c30544b6.js} +1 -1
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +97 -95
  109. package/dist/{main-40ffafe1.js → main-5fada315.js} +50 -75
  110. package/dist/{mapFormMixin-5472d70c.js → mapFormMixin-881590dc.js} +1 -1
  111. package/dist/{publicSenderState-7ee4c697.js → publicSenderState-b7a68e31.js} +1 -1
  112. package/dist/style.css +2 -2
  113. package/dist/{throttle-4a418273.js → throttle-14a46b90.js} +2 -2
  114. package/dist/{tinycolor-2370293d.js → tinycolor-bcf90a67.js} +1 -1
  115. package/dist/{tippy.esm-f79d2d2e.js → tippy.esm-ece926d8.js} +5 -5
  116. package/dist/{utils-c72c79a9.js → utils-482054e4.js} +1 -1
  117. package/dist/{vuedraggable.umd-8bca15d0.js → vuedraggable.umd-0883a75f.js} +1 -1
  118. package/package.json +1 -1
  119. package/dist/PdfViewer-f2af7ba4.js +0 -245
@@ -0,0 +1,251 @@
1
+ import { n as u, R as g } from "./main-5fada315.js";
2
+ import { e as d } from "./dom-962579a6.js";
3
+ import { W as m } from "./DocumentLayout-bdb661ca.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,4 +1,4 @@
1
- import { n as r } from "./main-40ffafe1.js";
1
+ import { n as r } from "./main-5fada315.js";
2
2
  const e = {
3
3
  name: "PlainHtml"
4
4
  };
@@ -1,19 +1,19 @@
1
- import { m as c } from "./mapFormMixin-5472d70c.js";
2
- import { B as l } from "./BlockMedia-4f30336b.js";
3
- import { n, b as r, v as d, a8 as m } from "./main-40ffafe1.js";
4
- import { T as u } from "./DocTextEditor-1c8197e2.js";
1
+ import { m as c } from "./mapFormMixin-881590dc.js";
2
+ import { B as l } from "./BlockMedia-35572b5a.js";
3
+ import { n, b as r, w as d, a8 as m } from "./main-5fada315.js";
4
+ import { T as u } from "./DocTextEditor-baf911e4.js";
5
5
  import { i as p } from "./i18nMessages-45c6bfd6.js";
6
- import { t as _ } from "./tinycolor-2370293d.js";
6
+ import { t as _ } from "./tinycolor-bcf90a67.js";
7
7
  import { s as y } from "./dom-962579a6.js";
8
8
  import "./color-71c20583.js";
9
- import "./tippy.esm-f79d2d2e.js";
10
- import "./ColorPicker-5ca79d5e.js";
11
- import "./DocumentLayout-dd904f22.js";
12
- import "./debounce-35659385.js";
13
- import "./CDropdownItem-301e3273.js";
14
- import "./CSlider.vue_vue_type_style_index_0_lang-8b316fae.js";
9
+ import "./tippy.esm-ece926d8.js";
10
+ import "./ColorPicker-c9eadd63.js";
11
+ import "./DocumentLayout-bdb661ca.js";
12
+ import "./debounce-2da37622.js";
13
+ import "./CDropdownItem-648b13e8.js";
14
+ import "./CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js";
15
15
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
16
- import "./ManualPopover-64b4c430.js";
16
+ import "./ManualPopover-4641e4de.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-59b1549a.js")
25
+ DocumentLogotype: () => import("./DocumentLogotype-b47e5d3b.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-40ffafe1.js";
2
- import { d as p } from "./debounce-35659385.js";
1
+ import { g as u, p as h, f, i as d, n as m } from "./main-5fada315.js";
2
+ import { d as p } from "./debounce-2da37622.js";
3
3
  import { m as y, a as g } from "./vuex.esm-4a0fff7c.js";
4
4
  const A = {
5
5
  name: "SearchApi",
@@ -1,4 +1,4 @@
1
- import { n as s, c as o, e as c } from "./main-40ffafe1.js";
1
+ import { n as s, c as o, e as c } from "./main-5fada315.js";
2
2
  const l = {
3
3
  // eslint-disable-next-line vue/multi-word-component-names
4
4
  name: "Setup",
@@ -1,10 +1,10 @@
1
- import { f as m, B as o, n as v } from "./main-40ffafe1.js";
2
- import { m as c } from "./mapFormMixin-5472d70c.js";
3
- import g from "./Index-d01e898b.js";
4
- import "./DocModalBase-a61f7c10.js";
5
- import "./DocumentLayout-dd904f22.js";
6
- import "./debounce-35659385.js";
7
- import "./CDropdownItem-301e3273.js";
1
+ import { f as m, D as o, n as v } from "./main-5fada315.js";
2
+ import { m as c } from "./mapFormMixin-881590dc.js";
3
+ import g from "./Index-18ee40ea.js";
4
+ import "./DocModalBase-ed5f21ca.js";
5
+ import "./DocumentLayout-bdb661ca.js";
6
+ import "./debounce-2da37622.js";
7
+ import "./CDropdownItem-648b13e8.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-5ca79d5e.js";
3
- import { M as s } from "./ManualPopover-64b4c430.js";
4
- import { n as a } from "./main-40ffafe1.js";
2
+ import { C as l } from "./ColorPicker-c9eadd63.js";
3
+ import { M as s } from "./ManualPopover-4641e4de.js";
4
+ import { n as a } from "./main-5fada315.js";
5
5
  const i = {
6
6
  name: "ThemeColorRow",
7
7
  components: {
@@ -1,6 +1,6 @@
1
- import { m as i } from "./mapFormMixin-5472d70c.js";
2
- import { I as t } from "./InputToggleRow-e28f45a0.js";
3
- import { n as l } from "./main-40ffafe1.js";
1
+ import { m as i } from "./mapFormMixin-881590dc.js";
2
+ import { I as t } from "./InputToggleRow-67d34fe0.js";
3
+ import { n as l } from "./main-5fada315.js";
4
4
  const s = {
5
5
  name: "ToggleBinding",
6
6
  i18nOptions: {
@@ -1,7 +1,7 @@
1
- import l from "./Index-28ec6148.js";
2
- import { f as o, h as c, D as d, n as m } from "./main-40ffafe1.js";
1
+ import l from "./Index-21715b96.js";
2
+ import { f as o, h as c, E as d, n as m } from "./main-5fada315.js";
3
3
  import { m as p } from "./vuex.esm-4a0fff7c.js";
4
- import "./tinycolor-2370293d.js";
4
+ import "./tinycolor-bcf90a67.js";
5
5
  const u = {
6
6
  i18nOptions: {
7
7
  namespaces: "uploadModal",
@@ -1,6 +1,6 @@
1
- import { d as a } from "./debounce-35659385.js";
2
- import { v as l } from "./utils-c72c79a9.js";
3
- import { n } from "./main-40ffafe1.js";
1
+ import { d as a } from "./debounce-2da37622.js";
2
+ import { v as l } from "./utils-482054e4.js";
3
+ import { n } from "./main-5fada315.js";
4
4
  const r = {
5
5
  name: "VideoPlayerInput",
6
6
  i18nOptions: {
@@ -1,7 +1,7 @@
1
- import n from "./VideoPlayerInput-7cbe00d0.js";
2
- import { n as s } from "./main-40ffafe1.js";
3
- import "./debounce-35659385.js";
4
- import "./utils-c72c79a9.js";
1
+ import n from "./VideoPlayerInput-f001a306.js";
2
+ import { n as s } from "./main-5fada315.js";
3
+ import "./debounce-2da37622.js";
4
+ import "./utils-482054e4.js";
5
5
  const l = {
6
6
  i18nOptions: {
7
7
  namespaces: "components",
@@ -1,12 +1,12 @@
1
- import { c as h, n as f, l as g } from "./main-40ffafe1.js";
2
- import { B as _, a as y } from "./index-736d30ee.js";
3
- import x from "./VideoPlayerInput-7cbe00d0.js";
4
- import "./debounce-35659385.js";
5
- import "./throttle-4a418273.js";
1
+ import { c as h, n as f, o as g } from "./main-5fada315.js";
2
+ import { B as _, a as y } from "./index-aa52e2dc.js";
3
+ import x from "./VideoPlayerInput-f001a306.js";
4
+ import "./debounce-2da37622.js";
5
+ import "./throttle-14a46b90.js";
6
6
  import "./dom-962579a6.js";
7
- import "./CDropdownItem-301e3273.js";
8
- import "./Flag-c17cf658.js";
9
- import "./utils-c72c79a9.js";
7
+ import "./CDropdownItem-648b13e8.js";
8
+ import "./Flag-f21c517c.js";
9
+ import "./utils-482054e4.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-40ffafe1.js";
2
- import { w as l } from "./CDropdownItem-301e3273.js";
1
+ import { b as r } from "./main-5fada315.js";
2
+ import { w as l } from "./CDropdownItem-648b13e8.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-0fc36a99.js");
29
+ const n = this.mq === "sm" ? "100%" : "auto", a = () => import("./AnswerModal-84115064.js");
30
30
  this.$modal.show(
31
31
  a,
32
32
  {
@@ -1,4 +1,4 @@
1
- import { _ as j, k, U as C, j as A } from "./main-40ffafe1.js";
1
+ import { _ as j, k, W as C, j as A } from "./main-5fada315.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, U = D, H = /^\s+/;
11
- function P(e) {
12
- return e && e.slice(0, U(e) + 1).replace(H, "");
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 = P, 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;
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 N() {
60
+ function W() {
61
61
  t !== void 0 && clearTimeout(t), d = 0, u = f = o = t = void 0;
62
62
  }
63
- function W() {
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 = N, x.flush = W, x;
76
+ return x.cancel = W, x.flush = N, x;
77
77
  }
78
78
  var te = re;
79
79
  const ae = /* @__PURE__ */ A(te);
@@ -1,4 +1,4 @@
1
- import { s as o } from "./formDrawerState-c089ffac.js";
1
+ import { s as o } from "./formDrawerState-1279a667.js";
2
2
  const t = {
3
3
  inject: {
4
4
  sectionTopNode: {
@@ -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-c17cf658.js";
3
- import { m } from "./mapFormMixin-5472d70c.js";
4
- import { B as I } from "./BaseDatePicker-3618f643.js";
5
- import { E as K } from "./ErrorCallout-2973d65d.js";
6
- import { I as W, a as X, r as l } from "./IsPremiumPreStep-e1d54d22.js";
7
- import { n as o, ax as O, ay as v, h as U, b as c, az as Q, q as Y, aA as G, aB as J, s as T, aC as P, aD as R, d as M, F as y } from "./main-40ffafe1.js";
8
- import Z from "./AddClientCallout-e63b3bc8.js";
9
- import ee from "./ClientModal-c11543c6.js";
10
- import { c as te, r as ie, g as se, C as h, a as f, b as p } from "./CDropdownItem-301e3273.js";
11
- import { S as ne } from "./CSlider.vue_vue_type_style_index_0_lang-8b316fae.js";
12
- import { C as _ } from "./CCallout-3ea46d33.js";
13
- import { C as z } from "./CField-25e8b388.js";
2
+ import { s as q, F as j } from "./Flag-f21c517c.js";
3
+ import { m } from "./mapFormMixin-881590dc.js";
4
+ import { B as I } from "./BaseDatePicker-0f2bbfe0.js";
5
+ import { E as K } from "./ErrorCallout-b48cecf9.js";
6
+ import { I as W, a as X, r as l } from "./IsPremiumPreStep-f1c4e0f9.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-5fada315.js";
8
+ import Z from "./AddClientCallout-57195414.js";
9
+ import ee from "./ClientModal-62cfe454.js";
10
+ import { c as te, r as ie, g as se, C as h, a as f, b as p } from "./CDropdownItem-648b13e8.js";
11
+ import { S as ne } from "./CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js";
12
+ import { C as _ } from "./CCallout-f4a3000f.js";
13
+ import { C as z } from "./CField-c179740e.js";
14
14
  const ae = {
15
15
  name: "DocumentSendReminderItem",
16
16
  props: {
@@ -1,4 +1,4 @@
1
- import { V as s } from "./main-40ffafe1.js";
1
+ import { V as s } from "./main-5fada315.js";
2
2
  const e = s.observable({
3
3
  isFixed: !1,
4
4
  // Worded according to CSS property (show as fixed drawer)
@@ -1,4 +1,4 @@
1
- import { h as n } from "./main-40ffafe1.js";
1
+ import { h as n } from "./main-5fada315.js";
2
2
  import { s as l } from "./dom-962579a6.js";
3
3
  const s = (r) => {
4
4
  var i;
@@ -1,16 +1,16 @@
1
1
  import { m as f, a as m, b as _ } from "./vuex.esm-4a0fff7c.js";
2
- import { n as o, A as v, S as h, g as l, h as i } from "./main-40ffafe1.js";
3
- import { w as d } from "./CDropdownItem-301e3273.js";
4
- import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-8b316fae.js";
5
- import { B as p } from "./DocTextEditor-1c8197e2.js";
2
+ import { n as o, B as v, S as h, g as l, h as i } from "./main-5fada315.js";
3
+ import { w as d } from "./CDropdownItem-648b13e8.js";
4
+ import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js";
5
+ import { B as p } from "./DocTextEditor-baf911e4.js";
6
6
  import { v as r } from "./index-805c56e4.js";
7
- import "./tippy.esm-f79d2d2e.js";
8
- import "./ColorPicker-5ca79d5e.js";
9
- import "./DocumentLayout-dd904f22.js";
10
- import "./debounce-35659385.js";
7
+ import "./tippy.esm-ece926d8.js";
8
+ import "./ColorPicker-c9eadd63.js";
9
+ import "./DocumentLayout-bdb661ca.js";
10
+ import "./debounce-2da37622.js";
11
11
  import "./dom-962579a6.js";
12
12
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
13
- import "./ManualPopover-64b4c430.js";
13
+ import "./ManualPopover-4641e4de.js";
14
14
  import "./color-71c20583.js";
15
15
  const g = {
16
16
  props: {
@@ -237,7 +237,7 @@ var M = function() {
237
237
  null
238
238
  );
239
239
  const w = F.exports;
240
- const A = {
240
+ const k = {
241
241
  name: "TextTemplatesModal",
242
242
  components: {
243
243
  SmartList: x,
@@ -287,7 +287,7 @@ const A = {
287
287
  }
288
288
  }
289
289
  };
290
- var k = function() {
290
+ var q = function() {
291
291
  var e = this, t = e._self._c;
292
292
  return t("SmartList", { attrs: { items: e.templates, "sort-key": "position", query: e.query }, scopedSlots: e._u([{ key: "default", fn: function({ items: a }) {
293
293
  return [t("div", { ref: "modal-container", staticClass: "font-inter t-modal" }, [t("div", { staticClass: "t-nav" }, [t("CInput", { ref: "searchInput", staticClass: "search-input focus:text-gray-500", attrs: { placeholder: e.$t("search"), icon: "search" }, on: { input: function(n) {
@@ -302,10 +302,10 @@ var k = function() {
302
302
  } } }, [e._v(" " + e._s(n.name) + " ")]);
303
303
  }), 0), e.mq !== "sm" ? t("div", { staticClass: "t-text quill-format" }, [a[e.selectedIndex] ? t("BaseTextEditor", { attrs: { value: a[e.selectedIndex].message || "", editable: !1, extensions: "all", "class-list": "document-form", unstyled: "" } }) : t("div", [e._v(" " + e._s(e.$t("noResults")) + " ")])], 1) : e._e()]), t("div", { staticClass: "flex items-center justify-between w-full t-footer" }, [t("div", { staticStyle: { display: "inline-flex", "align-items": "center" } }), t("div", [t("CButton", { staticClass: "t-footer-button", attrs: { to: { name: "settingsTemplates" }, target: "_blank", size: "small" } }, [e._v(" " + e._s(e.$t("handle")) + " "), t("BaseIcon", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "new-window", size: "16" } })], 1), t("CButton", { staticClass: "t-footer-button", attrs: { size: "small" }, on: { click: e.openCreateModal } }, [e._v(" " + e._s(e.$t("create", { thing: e.$t("template") })) + " ")])], 1)])])];
304
304
  } }]) });
305
- }, q = [], L = /* @__PURE__ */ o(
306
- A,
305
+ }, A = [], L = /* @__PURE__ */ o(
307
306
  k,
308
307
  q,
308
+ A,
309
309
  !1,
310
310
  null,
311
311
  "9e3e792b",
@@ -1,8 +1,8 @@
1
- import { C as e, P as u, a as P, I as C, s as I } from "./IsPremiumPreStep-e1d54d22.js";
2
- import "./main-40ffafe1.js";
1
+ import { C as e, P as u, a as P, I as C, s as I } from "./IsPremiumPreStep-f1c4e0f9.js";
2
+ import "./main-5fada315.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
4
  import "./anime.es-e284c852.js";
5
- import "./index-e88b85e7.js";
5
+ import "./index-b9ea34e7.js";
6
6
  import "./index-805c56e4.js";
7
7
  import "./dom-962579a6.js";
8
8
  export {
@@ -1,4 +1,4 @@
1
- import { n as i, o as n } from "./main-40ffafe1.js";
1
+ import { n as i, q as n } from "./main-5fada315.js";
2
2
  const o = {
3
3
  name: "DocumentGuide",
4
4
  i18nOptions: {
@@ -1,9 +1,9 @@
1
- import { d as n } from "./debounce-35659385.js";
2
- import { t as o } from "./throttle-4a418273.js";
3
- import { n as r } from "./main-40ffafe1.js";
1
+ import { d as n } from "./debounce-2da37622.js";
2
+ import { t as o } from "./throttle-14a46b90.js";
3
+ import { n as r } from "./main-5fada315.js";
4
4
  import { i as c } from "./dom-962579a6.js";
5
- import { w as d } from "./CDropdownItem-301e3273.js";
6
- import { s as u, F as m } from "./Flag-c17cf658.js";
5
+ import { w as d } from "./CDropdownItem-648b13e8.js";
6
+ import { s as u, F as m } from "./Flag-f21c517c.js";
7
7
  const f = {
8
8
  name: "BackgroundsModalList",
9
9
  i18nOptions: {
@@ -1,5 +1,5 @@
1
1
  import { v as pe } from "./index-805c56e4.js";
2
- import { Z as T } from "./main-40ffafe1.js";
2
+ import { Z as T } from "./main-5fada315.js";
3
3
  var P = {}, f = {}, b = {}, O = {};
4
4
  Object.defineProperty(O, "__esModule", {
5
5
  value: !0
@@ -1,4 +1,4 @@
1
- import { g as s, K as l, L as r, n as d, V as a } from "./main-40ffafe1.js";
1
+ import { g as s, L as l, M as r, n as d, V as a } from "./main-5fada315.js";
2
2
  import { m as p, a as c } from "./vuex.esm-4a0fff7c.js";
3
3
  const m = {
4
4
  name: "ClientLinks",