@cling-se/widget 0.9.22 → 0.9.24
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-f30100da.js → AddClientCallout-4afb07ff.js} +5 -5
- package/dist/{AnswerModal-d30e03bd.js → AnswerModal-2b11381b.js} +84 -27
- package/dist/{AttachmentItem-446bb069.js → AttachmentItem-c666fb74.js} +7 -5
- package/dist/{BaseDatePicker-6a365a09.js → BaseDatePicker-e1efcf48.js} +1 -1
- package/dist/{BaseInput-7ed92f6a.js → BaseInput-44c3af54.js} +6 -2
- package/dist/{BaseUpload-636eeec3.js → BaseUpload-740b1f88.js} +28 -11
- package/dist/{BlockMedia-3cb86ebf.js → BlockMedia-f5086397.js} +5 -3
- package/dist/{CCallout-44e44f26.js → CCallout-1a1feea0.js} +6 -9
- package/dist/{CDropdownItem-52cf4f0e.js → CDropdownItem-cc274799.js} +3 -3
- package/dist/{CField-a80001b1.js → CField-372bd9c7.js} +18 -4
- package/dist/{CPhoneFormat-3db8947d.js → CPhoneFormat-b273a499.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-42fea525.js → CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js} +4 -2
- package/dist/{ClientAutocomplete-84cfcc88.js → ClientAutocomplete-0f51c1cd.js} +3 -3
- package/dist/{ClientModal-5c684c95.js → ClientModal-1bec5a45.js} +34 -19
- package/dist/{ColorPicker-043d7a04.js → ColorPicker-43c741fb.js} +2 -2
- package/dist/{CompanyModal-64d16864.js → CompanyModal-adec1d7e.js} +8 -5
- package/dist/{ContentWrapper-f3c1c1cb.js → ContentWrapper-48e69342.js} +40 -27
- package/dist/{CoverBlockSettings-8f28a3a5.js → CoverBlockSettings-c0a57bee.js} +49 -34
- package/dist/{DocAnswer-2402eee3.js → DocAnswer-f0f7d55d.js} +4 -4
- package/dist/{DocDetails-ec7f2a02.js → DocDetails-0e25552f.js} +71 -46
- package/dist/{DocForm-c9df5aa0.js → DocForm-2ab0c521.js} +515 -291
- package/dist/{DocFormSend-31f95da1.js → DocFormSend-e60808ca.js} +18 -18
- package/dist/{DocLinks-93f538c9.js → DocLinks-20719644.js} +2 -2
- package/dist/{DocModalBase-5c9138cc.js → DocModalBase-039f53c2.js} +4 -4
- package/dist/{DocPrint-a4475559.js → DocPrint-aafc72e2.js} +2 -2
- package/dist/{DocReceipt-4e571cee.js → DocReceipt-641b141c.js} +33 -10
- package/dist/{DocSendReminder-fe49cd44.js → DocSendReminder-aabc0994.js} +30 -5
- package/dist/{DocTextEditor-2bb318af.js → DocTextEditor-3eb97671.js} +86 -37
- package/dist/{DocTimeline-9f47bab8.js → DocTimeline-9d765ded.js} +29 -16
- package/dist/{DocumentClient-99d7039b.js → DocumentClient-8d59d823.js} +7 -7
- package/dist/{DocumentLayout-11af5e3b.js → DocumentLayout-a659ce2a.js} +31 -11
- package/dist/{DocumentLogotype-1931e1ad.js → DocumentLogotype-393d1610.js} +8 -8
- package/dist/{DocumentVoided-6351a1df.js → DocumentVoided-9294f5d4.js} +1 -1
- package/dist/{EmbedInput-7d0562fc.js → EmbedInput-e6a9ee21.js} +2 -2
- package/dist/{EmbedSettings-9df99e76.js → EmbedSettings-e31ccfdc.js} +7 -7
- package/dist/ErrorCallout-d6c77efa.js +30 -0
- package/dist/{FilePreviewModal-095408ae.js → FilePreviewModal-84d6ab65.js} +6 -6
- package/dist/{HeaderSettings-6d350190.js → HeaderSettings-51d44d2d.js} +65 -63
- package/dist/{ImageSelectModal-971708e1.js → ImageSelectModal-051e0929.js} +27 -27
- package/dist/{ImageUploadWrapper-3fac23f0.js → ImageUploadWrapper-dcceec48.js} +11 -5
- package/dist/{Index-9b1e35fa.js → Index-06045b22.js} +9 -10
- package/dist/{Index-8b39f885.js → Index-0932b744.js} +32 -20
- package/dist/{Index-ffff3ae8.js → Index-20c0168b.js} +15 -15
- package/dist/{Index-6e6d2653.js → Index-3571dbbe.js} +2 -2
- package/dist/{Index-d3667461.js → Index-36ba2c7c.js} +20 -16
- package/dist/{Index-7b9b5dee.js → Index-39d0e781.js} +17 -17
- package/dist/{Index-88af8453.js → Index-3bdfc806.js} +3 -3
- package/dist/{Index-fad050d0.js → Index-3cb4cf49.js} +4 -4
- package/dist/Index-42639492.js +28 -0
- package/dist/{Index-eb9a3a06.js → Index-494c3112.js} +300 -147
- package/dist/{Index-ffd8211f.js → Index-51ceb867.js} +20 -16
- package/dist/{Index-70f16919.js → Index-54695ef1.js} +13 -11
- package/dist/{Index-2abd5d2b.js → Index-5b2c568a.js} +13 -11
- package/dist/{Index-77bcf959.js → Index-5def7508.js} +17 -12
- package/dist/{Index-8c335677.js → Index-5ead0dc5.js} +2 -2
- package/dist/{Index-57d5951b.js → Index-652a82d0.js} +6 -6
- package/dist/{Index-4fa057f8.js → Index-75922cfc.js} +13 -13
- package/dist/{Index-7477a320.js → Index-9a162ce6.js} +2 -2
- package/dist/{Index-938d67eb.js → Index-a94f257f.js} +56 -31
- package/dist/{Index-5a0d7d8c.js → Index-a98c290d.js} +21 -18
- package/dist/{Index-1e62aedf.js → Index-b33109a3.js} +13 -9
- package/dist/{Index-d9001d15.js → Index-c1aa1453.js} +3 -3
- package/dist/{Index-e27c2fdf.js → Index-c2008029.js} +2 -2
- package/dist/{Index-d617c13f.js → Index-c4942c4e.js} +22 -27
- package/dist/{Index-567e408c.js → Index-c5983b2b.js} +13 -15
- package/dist/{Index-c8e36c6e.js → Index-c8ded03a.js} +2 -2
- package/dist/{Index-8f883e55.js → Index-cc56dad6.js} +7 -7
- package/dist/{Index-8c04b710.js → Index-d77ba606.js} +51 -43
- package/dist/{Index-868d52a9.js → Index-d7a7de69.js} +24 -17
- package/dist/{Index-356bc162.js → Index-e8a3b12b.js} +4 -4
- package/dist/{Index-20d85e3a.js → Index-e9da5a9c.js} +3 -3
- package/dist/{Index-79f564d7.js → Index-f36accd7.js} +4 -4
- package/dist/{Index-bf0c487f.js → Index-fd6da129.js} +7 -7
- package/dist/{Index-a1f74882.js → Index-fdb53118.js} +6 -9
- package/dist/{InputToggleRow-e6ceba8d.js → InputToggleRow-79bbd6c6.js} +4 -4
- package/dist/{IsPremiumPreStep-5760ca12.js → IsPremiumPreStep-f0524e76.js} +81 -36
- package/dist/{ManualPopover-814d1319.js → ManualPopover-8a1e53a5.js} +5 -2
- package/dist/{MediaWrapper-e67928b8.js → MediaWrapper-b128c707.js} +3 -3
- package/dist/{NotBindingText-f72244ab.js → NotBindingText-561df6d3.js} +2 -2
- package/dist/{PackageGroup-b457cbbb.js → PackageGroup-3eaff6a7.js} +184 -69
- package/dist/{PdfTerms-fa51699a.js → PdfTerms-27d7ea41.js} +8 -8
- package/dist/{PdfViewer-93b67f36.js → PdfViewer-5b2bcbb5.js} +2 -2
- package/dist/{PlainHtml-4decb4b1.js → PlainHtml-c743e90e.js} +1 -1
- package/dist/{PriceHeader-85923b9b.js → PriceHeader-287b8219.js} +48 -32
- package/dist/{SearchApi-e49da25f.js → SearchApi-1cd32dd3.js} +40 -20
- package/dist/{Setup-9e46ec76.js → Setup-647c8d19.js} +1 -1
- package/dist/{TermsSettings-79755d10.js → TermsSettings-28e00bdf.js} +11 -11
- package/dist/{ThemeColorRow-ce0c5083.js → ThemeColorRow-87aad7e1.js} +4 -4
- package/dist/{ToggleBinding-cda92aa3.js → ToggleBinding-86912659.js} +3 -3
- package/dist/{UploadModal-0e80a0f2.js → UploadModal-4065d410.js} +16 -14
- package/dist/{VideoPlayerInput-6145c645.js → VideoPlayerInput-1b402e91.js} +3 -3
- package/dist/{VideoPlayerSettings-b6d55453.js → VideoPlayerSettings-4dcca863.js} +5 -5
- package/dist/{VideoSelectModal-61d97f65.js → VideoSelectModal-4f9def15.js} +32 -36
- package/dist/{answerDocumentMixin-8edab24a.js → answerDocumentMixin-6b6cfdb6.js} +3 -3
- package/dist/{debounce-62af9d61.js → debounce-97bb38ac.js} +1 -1
- package/dist/{focusDrawerMixin-745d4e52.js → focusDrawerMixin-0d00dfeb.js} +1 -1
- package/dist/{formComponentsInstall-dc68b7e8.js → formComponentsInstall-0e28cca8.js} +210 -168
- package/dist/{formDrawerState-6408853b.js → formDrawerState-68670778.js} +1 -1
- package/dist/{formValidationMixin-a27a1b47.js → formValidationMixin-cb6f10e2.js} +1 -1
- package/dist/{image-7f7c16da.js → image-456aa00c.js} +1 -1
- package/dist/{index-2a4b06f7.js → index-1f6e36c5.js} +4 -4
- package/dist/{index-474d6e34.js → index-2710ab1c.js} +3 -3
- package/dist/{index-a72b19e9.js → index-63ab2d14.js} +12 -12
- package/dist/{index-1cf2de3c.js → index-b8207e2a.js} +1 -1
- package/dist/{index-14df19cb.js → index-e4f936ec.js} +8 -6
- package/dist/{index-cc6b4d3a.js → index-ea1c7f84.js} +17 -9
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +167 -138
- package/dist/{main-b72127b8.js → main-b5eb6366.js} +2374 -2298
- package/dist/{mapFormMixin-52ec1660.js → mapFormMixin-e0c45bbd.js} +1 -1
- package/dist/{publicSenderState-1a30e0c5.js → publicSenderState-4163b1b6.js} +1 -1
- package/dist/{simplebar.min-c28f1a61.js → simplebar.min-147772cd.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-c65478b1.js → template-6e93622c.js} +7 -7
- package/dist/{throttle-040bd305.js → throttle-7a7a1299.js} +2 -2
- package/dist/{tinycolor-10bcd30d.js → tinycolor-bb8652ea.js} +1 -1
- package/dist/{tippy.esm-0ef95919.js → tippy.esm-f533f77b.js} +8 -8
- package/dist/{utils-6073fc98.js → utils-066c47a5.js} +1 -1
- package/dist/{vuedraggable.umd-d2790aec.js → vuedraggable.umd-76911d11.js} +1 -1
- package/package.json +2 -2
- package/dist/ErrorCallout-106838ce.js +0 -30
- package/dist/Index-a65bded3.js +0 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as u, X as b, b as S, a7 as _, a8 as f } from "./main-
|
|
1
|
+
import { n as u, X as b, b as S, a7 as _, a8 as f } from "./main-b5eb6366.js";
|
|
2
2
|
import { m as D } from "./vuex.esm-4a0fff7c.js";
|
|
3
|
-
const
|
|
3
|
+
const v = {
|
|
4
4
|
new: {
|
|
5
5
|
statusClass: "draft",
|
|
6
6
|
icon: "statusDraft"
|
|
@@ -53,7 +53,7 @@ const x = {
|
|
|
53
53
|
statusClass: "archived",
|
|
54
54
|
icon: "statusArchive"
|
|
55
55
|
}
|
|
56
|
-
},
|
|
56
|
+
}, w = {
|
|
57
57
|
props: {
|
|
58
58
|
status: {
|
|
59
59
|
type: String,
|
|
@@ -69,20 +69,20 @@ const x = {
|
|
|
69
69
|
return this.status ? b.t(`_common:status.${this.status}`) : "";
|
|
70
70
|
},
|
|
71
71
|
className() {
|
|
72
|
-
const { statusClass: s = "" } =
|
|
72
|
+
const { statusClass: s = "" } = v[this.status] || {};
|
|
73
73
|
return s;
|
|
74
74
|
},
|
|
75
75
|
icon() {
|
|
76
|
-
return S(
|
|
76
|
+
return S(v, `${this.status}.icon`);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
|
-
var
|
|
80
|
+
var k = function() {
|
|
81
81
|
var t = this, e = t._self._c;
|
|
82
82
|
return e("div", { staticClass: "inline-flex items-center h-6 pl-1 pr-2 text-xs font-medium leading-none rounded-full c-badge_status", class: t.className }, [t.icon ? e("BaseIcon", { staticClass: "mr-1 status-icon", attrs: { type: t.icon, size: "16" } }) : t._e(), e("span", [t._v(t._s(t.text))])], 1);
|
|
83
|
-
}, z = [],
|
|
84
|
-
k,
|
|
83
|
+
}, z = [], T = /* @__PURE__ */ u(
|
|
85
84
|
w,
|
|
85
|
+
k,
|
|
86
86
|
z,
|
|
87
87
|
!1,
|
|
88
88
|
null,
|
|
@@ -90,7 +90,7 @@ var w = function() {
|
|
|
90
90
|
null,
|
|
91
91
|
null
|
|
92
92
|
);
|
|
93
|
-
const
|
|
93
|
+
const B = T.exports, I = {
|
|
94
94
|
name: "DynamicLink",
|
|
95
95
|
props: {
|
|
96
96
|
template: {
|
|
@@ -154,7 +154,16 @@ const N = M.exports, A = {
|
|
|
154
154
|
color: {
|
|
155
155
|
type: String,
|
|
156
156
|
default: "gray",
|
|
157
|
-
validator: (s) => [
|
|
157
|
+
validator: (s) => [
|
|
158
|
+
"blue",
|
|
159
|
+
"teal",
|
|
160
|
+
"orange",
|
|
161
|
+
"green",
|
|
162
|
+
"red",
|
|
163
|
+
"purple",
|
|
164
|
+
"gray",
|
|
165
|
+
"primary"
|
|
166
|
+
].indexOf(s) !== -1
|
|
158
167
|
},
|
|
159
168
|
isFuture: {
|
|
160
169
|
type: Boolean,
|
|
@@ -305,16 +314,16 @@ const R = j.exports, L = {
|
|
|
305
314
|
},
|
|
306
315
|
methods: {
|
|
307
316
|
formatEvent({ code: s, data: t, createdAt: e, children: n = [] }) {
|
|
308
|
-
var
|
|
317
|
+
var y;
|
|
309
318
|
const {
|
|
310
319
|
client: r = {},
|
|
311
320
|
clients: o,
|
|
312
321
|
email: d,
|
|
313
322
|
status: m,
|
|
314
|
-
counter:
|
|
323
|
+
counter: x,
|
|
315
324
|
sendSource: h,
|
|
316
325
|
companyUserId: $
|
|
317
|
-
} = t || {}, p =
|
|
326
|
+
} = t || {}, p = x || n.length + 1, l = r.name, C = {
|
|
318
327
|
created: () => ({
|
|
319
328
|
title: this.$t("_common:created"),
|
|
320
329
|
createdAt: e,
|
|
@@ -419,7 +428,7 @@ const R = j.exports, L = {
|
|
|
419
428
|
icon: "moon",
|
|
420
429
|
color: "gray"
|
|
421
430
|
})
|
|
422
|
-
}, g = (
|
|
431
|
+
}, g = (y = this.colors) == null ? void 0 : y[s];
|
|
423
432
|
return {
|
|
424
433
|
...C[s](),
|
|
425
434
|
...g && { color: g }
|
|
@@ -445,7 +454,7 @@ var G = function() {
|
|
|
445
454
|
const U = V.exports, K = {
|
|
446
455
|
name: "DocTimeline",
|
|
447
456
|
components: {
|
|
448
|
-
StatusBadge:
|
|
457
|
+
StatusBadge: B,
|
|
449
458
|
DocumentTimeline: U
|
|
450
459
|
},
|
|
451
460
|
props: {
|
|
@@ -456,12 +465,16 @@ const U = V.exports, K = {
|
|
|
456
465
|
showHeader: {
|
|
457
466
|
type: Boolean,
|
|
458
467
|
default: !0
|
|
468
|
+
},
|
|
469
|
+
viewType: {
|
|
470
|
+
type: String,
|
|
471
|
+
default: "modal"
|
|
459
472
|
}
|
|
460
473
|
}
|
|
461
474
|
};
|
|
462
475
|
var X = function() {
|
|
463
476
|
var t = this, e = t._self._c;
|
|
464
|
-
return e("div", {
|
|
477
|
+
return e("div", { class: { "p-8": t.viewType !== "mount" } }, [e("DocumentTimeline", { attrs: { document: t.document, size: "large" } }, [t.showHeader ? e("div", { staticClass: "border-b mb-4 pb-4", attrs: { slot: "header" }, slot: "header" }, [e("div", { staticClass: "mb-2" }, [e("div", { staticClass: "text-xs text-gray-600", domProps: { textContent: t._s(t.$t("_common:document").capitalize()) } }), e("div", { staticClass: "font-semibold text-lg" }, [t._v(t._s(t.document.name))])]), e("div", { staticClass: "inline-flex items-center -ml-2" }, [e("div", { staticClass: "text-xs text-gray-600 mr-1.5 py-1 pl-2", domProps: { textContent: t._s(t.$t("_common:status.status")) } }), e("StatusBadge", { attrs: { status: t.document.status } })], 1)]) : t._e()])], 1);
|
|
465
478
|
}, J = [], Q = /* @__PURE__ */ u(
|
|
466
479
|
K,
|
|
467
480
|
X,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { V as c, n as a } from "./main-
|
|
2
|
-
import { D as d } from "./DocumentLayout-
|
|
3
|
-
import { f as m } from "./formValidationMixin-
|
|
4
|
-
import { a as l } from "./answerDocumentMixin-
|
|
5
|
-
import { D as f } from "./DocumentVoided-
|
|
6
|
-
import "./debounce-
|
|
7
|
-
import "./CDropdownItem-
|
|
1
|
+
import { V as c, n as a } from "./main-b5eb6366.js";
|
|
2
|
+
import { D as d } from "./DocumentLayout-a659ce2a.js";
|
|
3
|
+
import { f as m } from "./formValidationMixin-cb6f10e2.js";
|
|
4
|
+
import { a as l } from "./answerDocumentMixin-6b6cfdb6.js";
|
|
5
|
+
import { D as f } from "./DocumentVoided-9294f5d4.js";
|
|
6
|
+
import "./debounce-97bb38ac.js";
|
|
7
|
+
import "./CDropdownItem-cc274799.js";
|
|
8
8
|
import "./dom-962579a6.js";
|
|
9
9
|
const p = (t) => {
|
|
10
10
|
var e;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as _o, n as Pt, W as wn, c as aa, V as ca, l as la, q as ua, b as da } from "./main-
|
|
2
|
-
import { d as fa } from "./debounce-
|
|
3
|
-
import { a as di, C as pa } from "./CDropdownItem-
|
|
1
|
+
import { j as _o, n as Pt, W as wn, c as aa, V as ca, l as la, q as ua, b as da } from "./main-b5eb6366.js";
|
|
2
|
+
import { d as fa } from "./debounce-97bb38ac.js";
|
|
3
|
+
import { a as di, C as pa } from "./CDropdownItem-cc274799.js";
|
|
4
4
|
var fi = { exports: {} }, ha = fi.exports = {};
|
|
5
5
|
ha.forEach = function(d, c) {
|
|
6
6
|
for (var f = 0; f < d.length; f++) {
|
|
@@ -736,7 +736,9 @@ function xt(d, c, f) {
|
|
|
736
736
|
return a == null && f !== void 0 ? f : a;
|
|
737
737
|
}
|
|
738
738
|
const Fa = /* @__PURE__ */ _o(Ma);
|
|
739
|
-
window.elementResizeDetectorMaker || (window.elementResizeDetectorMaker = Fa({
|
|
739
|
+
window.elementResizeDetectorMaker || (window.elementResizeDetectorMaker = Fa({
|
|
740
|
+
strategy: "scroll"
|
|
741
|
+
}));
|
|
740
742
|
const Na = (d) => d <= 640 ? "mobile" : d <= 1024 ? "tablet" : "desktop", Ha = {
|
|
741
743
|
props: {
|
|
742
744
|
provideDevice: {
|
|
@@ -4542,7 +4544,9 @@ const dc = {
|
|
|
4542
4544
|
const { family: c, variants: f = [] } = d || {};
|
|
4543
4545
|
let { weight: a = "400" } = this.value || {};
|
|
4544
4546
|
const k = ki(f), R = k.map((x) => x.value);
|
|
4545
|
-
R.length && !R.includes(`${a}`) && (a = R.reduce(
|
|
4547
|
+
R.length && !R.includes(`${a}`) && (a = R.reduce(
|
|
4548
|
+
(x, $) => Math.abs($ - a) < Math.abs(x - a) ? $ : x
|
|
4549
|
+
)), this.$emit("input", {
|
|
4546
4550
|
family: c,
|
|
4547
4551
|
weight: a,
|
|
4548
4552
|
options: k
|
|
@@ -4589,24 +4593,40 @@ var fc = function() {
|
|
|
4589
4593
|
pc,
|
|
4590
4594
|
!1,
|
|
4591
4595
|
null,
|
|
4592
|
-
"
|
|
4596
|
+
"c4e9dd16",
|
|
4593
4597
|
null,
|
|
4594
4598
|
null
|
|
4595
4599
|
);
|
|
4596
4600
|
const Kc = hc.exports;
|
|
4597
|
-
function mc({
|
|
4601
|
+
function mc({
|
|
4602
|
+
minWidthPx: d,
|
|
4603
|
+
maxWidthPx: c,
|
|
4604
|
+
minFontSize: f,
|
|
4605
|
+
maxFontSize: a
|
|
4606
|
+
}) {
|
|
4598
4607
|
const k = d, R = c, x = (a - f) / (R - k), $ = -k * x + f, M = (O) => Math.round(O * 1e3) / 1e3;
|
|
4599
|
-
return `clamp(${M(f)}px, ${M(
|
|
4608
|
+
return `clamp(${M(f)}px, ${M(
|
|
4609
|
+
$
|
|
4610
|
+
)}px + calc(${M(x) * 100} * var(--vw, 1vw)), ${M(
|
|
4611
|
+
a
|
|
4612
|
+
)}px)`;
|
|
4600
4613
|
}
|
|
4601
4614
|
function vc({ size: d }) {
|
|
4602
4615
|
let c = d * 0.9;
|
|
4603
|
-
return d > 30 && (c = d * 0.8), d > 40 && (c = d * 0.725), d > 50 && (c = d * 0.675), mc({
|
|
4616
|
+
return d > 30 && (c = d * 0.8), d > 40 && (c = d * 0.725), d > 50 && (c = d * 0.675), mc({
|
|
4617
|
+
minWidthPx: 375,
|
|
4618
|
+
maxWidthPx: 1200,
|
|
4619
|
+
minFontSize: c,
|
|
4620
|
+
maxFontSize: d
|
|
4621
|
+
});
|
|
4604
4622
|
}
|
|
4605
4623
|
const gc = ({ json: d, prefix: c = "" } = {}) => Object.keys(d || {}).map((f) => {
|
|
4606
4624
|
const a = d[f], R = Object.keys(a).map((x) => {
|
|
4607
4625
|
const $ = x.startsWith("--") ? x : x.split(/(?=[A-Z])/).join("-").toLowerCase(), M = a[x];
|
|
4608
4626
|
let O = `${$}:${M}`;
|
|
4609
|
-
return $ === "font-size" && (O += `; font-size: ${vc({
|
|
4627
|
+
return $ === "font-size" && (O += `; font-size: ${vc({
|
|
4628
|
+
size: parseInt(M, 10)
|
|
4629
|
+
})}`), O;
|
|
4610
4630
|
}).join(";");
|
|
4611
4631
|
return `${c}${f}{${R}}`;
|
|
4612
4632
|
}).join(`
|
|
@@ -4779,7 +4799,7 @@ const ui = Pc.exports, Ac = {
|
|
|
4779
4799
|
},
|
|
4780
4800
|
computed: {
|
|
4781
4801
|
loader() {
|
|
4782
|
-
return () => Ec(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-
|
|
4802
|
+
return () => Ec(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-d7a7de69.js"), "../blocks/attachments/Index.vue": () => import("./Index-c4942c4e.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-51ceb867.js"), "../blocks/custom/Index.vue": () => import("./Index-c5983b2b.js"), "../blocks/docChapter/Index.vue": () => import("./Index-75922cfc.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-9a162ce6.js"), "../blocks/docParties/Index.vue": () => import("./Index-a94f257f.js"), "../blocks/embed/Index.vue": () => import("./Index-cc56dad6.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-e8a3b12b.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-f36accd7.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-54695ef1.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-5b2c568a.js"), "../blocks/header/Index.vue": () => import("./Index-39d0e781.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-20c0168b.js"), "../blocks/notBinding/Index.vue": () => import("./Index-42639492.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-06045b22.js"), "../blocks/pdf/Index.vue": () => import("./Index-a98c290d.js"), "../blocks/presentation/Index.vue": () => import("./Index-d77ba606.js"), "../blocks/terms/Index.vue": () => import("./Index-652a82d0.js"), "../blocks/textContent/Index.vue": () => import("./Index-36ba2c7c.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-fd6da129.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-3bdfc806.js") }), `../blocks/${this.componentName}/Index.vue`);
|
|
4783
4803
|
},
|
|
4784
4804
|
isPdfPrintAndPdfBlock() {
|
|
4785
4805
|
var d, c;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as
|
|
1
|
+
import { g as s, n as a } from "./main-b5eb6366.js";
|
|
2
2
|
import { m as l, a as p } from "./vuex.esm-4a0fff7c.js";
|
|
3
|
-
import { a as r } from "./publicSenderState-
|
|
3
|
+
import { a as r } from "./publicSenderState-4163b1b6.js";
|
|
4
4
|
const c = {
|
|
5
5
|
name: "DocumentLogotype",
|
|
6
6
|
components: {
|
|
7
|
-
ImageUploadWrapper: () => import("./ImageUploadWrapper-
|
|
7
|
+
ImageUploadWrapper: () => import("./ImageUploadWrapper-dcceec48.js")
|
|
8
8
|
},
|
|
9
9
|
props: {
|
|
10
10
|
value: {
|
|
@@ -42,7 +42,7 @@ const c = {
|
|
|
42
42
|
},
|
|
43
43
|
methods: {
|
|
44
44
|
...p({
|
|
45
|
-
updateCompany:
|
|
45
|
+
updateCompany: s.DO_UPDATE_CURRENT_COMPANY
|
|
46
46
|
}),
|
|
47
47
|
initUpload() {
|
|
48
48
|
this.$refs.uploadWrapper && this.$refs.uploadWrapper.onClick();
|
|
@@ -72,18 +72,18 @@ var m = function() {
|
|
|
72
72
|
} } }, [t._v(" " + t._s(t.$t("_common:show", { thing: t.$t("_common:logotype") })) + " ")]), t.showLogo ? [o("CDropdownItem", { attrs: { separator: !0 } }), o("CDropdownItem", { on: { click: t.initUpload } }, [t._v(" " + t._s(t.$t("_common:change", { thing: t.$t("_common:logotype") })) + " ")]), o("CDropdownItem", { attrs: { disabled: !t.value }, on: { click: function(i) {
|
|
73
73
|
return t.$emit("input", "");
|
|
74
74
|
} } }, [t._v(" " + t._s(t.$t("_common:reset")) + " ")])] : t._e()], 2)];
|
|
75
|
-
} }], null, !1,
|
|
76
|
-
}, u = [],
|
|
75
|
+
} }], null, !1, 2390674405) }) : t.showLogo ? o("div", { staticStyle: { display: "inline-block" } }, [o("img", { attrs: { src: t.logotype, alt: "", width: "150" } })]) : t._e();
|
|
76
|
+
}, u = [], d = /* @__PURE__ */ a(
|
|
77
77
|
c,
|
|
78
78
|
m,
|
|
79
79
|
u,
|
|
80
80
|
!1,
|
|
81
81
|
null,
|
|
82
|
-
"
|
|
82
|
+
"096d868c",
|
|
83
83
|
null,
|
|
84
84
|
null
|
|
85
85
|
);
|
|
86
|
-
const h =
|
|
86
|
+
const h = d.exports;
|
|
87
87
|
export {
|
|
88
88
|
h as default
|
|
89
89
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d } from "./debounce-
|
|
2
|
-
import { b as l, n as o } from "./main-
|
|
1
|
+
import { d } from "./debounce-97bb38ac.js";
|
|
2
|
+
import { b as l, n as o } from "./main-b5eb6366.js";
|
|
3
3
|
const m = (t) => {
|
|
4
4
|
const i = new DOMParser().parseFromString(t, "text/html"), [s] = l(i, "body.children") || [];
|
|
5
5
|
return !s || s.tagName !== "IFRAME" ? {} : Array.from(s.attributes).reduce(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import n from "./EmbedInput-
|
|
2
|
-
import { n as l } from "./main-
|
|
3
|
-
import "./debounce-
|
|
1
|
+
import n from "./EmbedInput-e6a9ee21.js";
|
|
2
|
+
import { n as l } from "./main-b5eb6366.js";
|
|
3
|
+
import "./debounce-97bb38ac.js";
|
|
4
4
|
const o = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "embedSettings",
|
|
@@ -55,7 +55,7 @@ var r = function() {
|
|
|
55
55
|
return t("div", { staticClass: "d-root" }, [t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(e._s(e.$t("title").capitalize()))]), t("div", { staticClass: "text-gray-600", staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), t("EmbedInput", { attrs: { value: e.value, "is-drawer-mode": !0 }, on: { input: function(i) {
|
|
56
56
|
return e.$emit("input", i);
|
|
57
57
|
} } })], 1), t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [t("div", { staticStyle: { flex: "1 1 auto" } }, [e._v(" " + e._s(e.$t("responsiveSize")) + " ")]), t("CSwitch", { staticStyle: { "margin-right": "0" }, attrs: { value: !!e.size, size: "small", type: "secondary" }, on: { input: (i) => e.$emit("update:size", i ? "small" : null) } })], 1), e.size ? t("div", { staticStyle: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "padding-top": "5px" } }, e._l(e.sizeOptions, function({ value: i, svg: s }, a) {
|
|
58
|
-
return t("div", { key: a, staticClass: "size-option", on: { click: function(
|
|
58
|
+
return t("div", { key: a, staticClass: "size-option", on: { click: function(m) {
|
|
59
59
|
return e.$emit("update:size", i);
|
|
60
60
|
} } }, [t("svg", { staticClass: "size-option-image", class: { "is-active": e.size === i }, attrs: { viewBox: "0 0 99 65" }, domProps: { innerHTML: e._s(s) } })]);
|
|
61
61
|
}), 0) : e._e()])]);
|
|
@@ -65,11 +65,11 @@ var r = function() {
|
|
|
65
65
|
d,
|
|
66
66
|
!1,
|
|
67
67
|
null,
|
|
68
|
-
"
|
|
68
|
+
"9bf232df",
|
|
69
69
|
null,
|
|
70
70
|
null
|
|
71
71
|
);
|
|
72
|
-
const
|
|
72
|
+
const f = p.exports;
|
|
73
73
|
export {
|
|
74
|
-
|
|
74
|
+
f as default
|
|
75
75
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { n as r } from "./main-b5eb6366.js";
|
|
2
|
+
const a = {
|
|
3
|
+
name: "ErrorCallout",
|
|
4
|
+
props: {
|
|
5
|
+
message: {
|
|
6
|
+
type: String,
|
|
7
|
+
required: !0
|
|
8
|
+
},
|
|
9
|
+
size: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: "normal"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
var s = function(e, t) {
|
|
16
|
+
return e("div", { staticClass: "flex items-center", class: [t.data.staticClass], staticStyle: { "margin-top": "calc(1 * var(--rem))" }, style: [t.data.staticStyle] }, [e("div", { staticClass: "error-wrapper bg-red-50 text-red-500", class: [`is-${t.props.size}`], staticStyle: { margin: "calc(1 * var(--rem)) 0" } }, [e("BaseIcon", { staticStyle: { "margin-right": "0.5em", flex: "0 0 18px" }, attrs: { type: "alert", size: "18" } }), e("div", [t._v(" " + t._s(t.props.message) + " ")])], 1)]);
|
|
17
|
+
}, l = [], n = /* @__PURE__ */ r(
|
|
18
|
+
a,
|
|
19
|
+
s,
|
|
20
|
+
l,
|
|
21
|
+
!0,
|
|
22
|
+
null,
|
|
23
|
+
"92251ac9",
|
|
24
|
+
null,
|
|
25
|
+
null
|
|
26
|
+
);
|
|
27
|
+
const c = n.exports;
|
|
28
|
+
export {
|
|
29
|
+
c as E
|
|
30
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n, S as o } from "./main-
|
|
2
|
-
import { V as r } from "./PdfViewer-
|
|
1
|
+
import { n, S as o } from "./main-b5eb6366.js";
|
|
2
|
+
import { V as r } from "./PdfViewer-5b2bcbb5.js";
|
|
3
3
|
import "./dom-962579a6.js";
|
|
4
|
-
import "./DocumentLayout-
|
|
5
|
-
import "./debounce-
|
|
6
|
-
import "./CDropdownItem-
|
|
4
|
+
import "./DocumentLayout-a659ce2a.js";
|
|
5
|
+
import "./debounce-97bb38ac.js";
|
|
6
|
+
import "./CDropdownItem-cc274799.js";
|
|
7
7
|
const a = {
|
|
8
8
|
name: "FilesPreviewModal",
|
|
9
9
|
components: {
|
|
@@ -77,7 +77,7 @@ var l = function() {
|
|
|
77
77
|
d,
|
|
78
78
|
!1,
|
|
79
79
|
null,
|
|
80
|
-
"
|
|
80
|
+
"d70d5a87",
|
|
81
81
|
null,
|
|
82
82
|
null
|
|
83
83
|
);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { m as x } from "./mapFormMixin-
|
|
2
|
-
import { T as _ } from "./ThemeColorRow-
|
|
3
|
-
import { c as v, n as y, l as d } from "./main-
|
|
4
|
-
import { a as w } from "./image-
|
|
5
|
-
import { B as C, a as k } from "./index-
|
|
6
|
-
import b from "./VideoPlayerInput-
|
|
7
|
-
import S from "./ImageUploadWrapper-
|
|
8
|
-
import { a as A } from "./tinycolor-
|
|
1
|
+
import { m as x } from "./mapFormMixin-e0c45bbd.js";
|
|
2
|
+
import { T as _ } from "./ThemeColorRow-87aad7e1.js";
|
|
3
|
+
import { c as v, n as y, l as d } from "./main-b5eb6366.js";
|
|
4
|
+
import { a as w } from "./image-456aa00c.js";
|
|
5
|
+
import { B as C, a as k } from "./index-ea1c7f84.js";
|
|
6
|
+
import b from "./VideoPlayerInput-1b402e91.js";
|
|
7
|
+
import S from "./ImageUploadWrapper-dcceec48.js";
|
|
8
|
+
import { a as A } from "./tinycolor-bb8652ea.js";
|
|
9
9
|
import "./color-71c20583.js";
|
|
10
|
-
import "./ColorPicker-
|
|
11
|
-
import "./ManualPopover-
|
|
12
|
-
import "./debounce-
|
|
13
|
-
import "./throttle-
|
|
10
|
+
import "./ColorPicker-43c741fb.js";
|
|
11
|
+
import "./ManualPopover-8a1e53a5.js";
|
|
12
|
+
import "./debounce-97bb38ac.js";
|
|
13
|
+
import "./throttle-7a7a1299.js";
|
|
14
14
|
import "./dom-962579a6.js";
|
|
15
|
-
import "./CDropdownItem-
|
|
16
|
-
import "./simplebar.min-
|
|
17
|
-
import "./utils-
|
|
18
|
-
import "./BaseUpload-
|
|
15
|
+
import "./CDropdownItem-cc274799.js";
|
|
16
|
+
import "./simplebar.min-147772cd.js";
|
|
17
|
+
import "./utils-066c47a5.js";
|
|
18
|
+
import "./BaseUpload-740b1f88.js";
|
|
19
19
|
const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
20
20
|
name: "MediaSelectModal",
|
|
21
21
|
i18nOptions: {
|
|
@@ -89,14 +89,17 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
|
89
89
|
},
|
|
90
90
|
methods: {
|
|
91
91
|
async fetchImage({ query: i, page: t }) {
|
|
92
|
-
const { data: e } = await d.get(
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
92
|
+
const { data: e } = await d.get(
|
|
93
|
+
"https://api.unsplash.com/search/photos",
|
|
94
|
+
{
|
|
95
|
+
params: {
|
|
96
|
+
page: t,
|
|
97
|
+
per_page: 12,
|
|
98
|
+
client_id: g,
|
|
99
|
+
query: i
|
|
100
|
+
}
|
|
98
101
|
}
|
|
99
|
-
|
|
102
|
+
);
|
|
100
103
|
return {
|
|
101
104
|
items: (e.results || []).map((o) => ({
|
|
102
105
|
...o,
|
|
@@ -118,38 +121,35 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
|
|
|
118
121
|
}
|
|
119
122
|
}), o = (r, a) => r.height < a.height || r.width < a.width ? -1 : 1, s = (r) => (r.find(({ height: a }) => a > 1e3 && a < 1200) || {}).link;
|
|
120
123
|
return {
|
|
121
|
-
items: (e.videos || []).map(
|
|
122
|
-
id: r,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
|
|
124
|
+
items: (e.videos || []).map(
|
|
125
|
+
({ id: r, image: a, video_files: m = [], user: u }) => {
|
|
126
|
+
const { sd: h, hd: p } = (m || []).sort(o).reduce(
|
|
127
|
+
(n, l) => (n[l.quality] && l.link && n[l.quality].push(l.link), n),
|
|
128
|
+
{ sd: [], hd: [] }
|
|
129
|
+
), [f] = h;
|
|
130
|
+
let c = s(m);
|
|
131
|
+
return c || ([c] = p.length ? p : h.slice(-1)), {
|
|
132
|
+
id: `${r}`,
|
|
133
|
+
image: a,
|
|
134
|
+
minImage: a,
|
|
135
|
+
video: c,
|
|
136
|
+
minVideo: f,
|
|
137
|
+
userName: u.name,
|
|
138
|
+
userLink: u.link
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
),
|
|
139
142
|
total: e.total_results
|
|
140
143
|
};
|
|
141
144
|
},
|
|
142
145
|
selectImage({ image: i, links: t, color: e }) {
|
|
143
146
|
this.selectedImage = w(i, { w: 1800 }), e && (this.preferredColor = e);
|
|
144
147
|
const o = new Image();
|
|
145
|
-
o.src = this.selectedImage, d.get(
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
params: {
|
|
149
|
-
client_id: g
|
|
150
|
-
}
|
|
148
|
+
o.src = this.selectedImage, d.get(t.download_location, {
|
|
149
|
+
params: {
|
|
150
|
+
client_id: g
|
|
151
151
|
}
|
|
152
|
-
);
|
|
152
|
+
});
|
|
153
153
|
},
|
|
154
154
|
setCustomBackground({ response: i }) {
|
|
155
155
|
this.customImage = i.url;
|
|
@@ -193,7 +193,7 @@ var I = function() {
|
|
|
193
193
|
V,
|
|
194
194
|
!1,
|
|
195
195
|
null,
|
|
196
|
-
"
|
|
196
|
+
"fcedce5d",
|
|
197
197
|
null,
|
|
198
198
|
null
|
|
199
199
|
);
|
|
@@ -203,18 +203,20 @@ const $ = {
|
|
|
203
203
|
components: {
|
|
204
204
|
ThemeColorRow: _
|
|
205
205
|
},
|
|
206
|
-
mixins: [
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
206
|
+
mixins: [
|
|
207
|
+
x(
|
|
208
|
+
[
|
|
209
|
+
"layout",
|
|
210
|
+
"items",
|
|
211
|
+
"media",
|
|
212
|
+
"showPriceSummary",
|
|
213
|
+
"backgroundColor",
|
|
214
|
+
"textAlign",
|
|
215
|
+
"textColor"
|
|
216
|
+
],
|
|
217
|
+
{ useEmit: !1 }
|
|
218
|
+
)
|
|
219
|
+
],
|
|
218
220
|
data() {
|
|
219
221
|
return {
|
|
220
222
|
type: "image",
|
|
@@ -384,7 +386,7 @@ var B = function() {
|
|
|
384
386
|
backgroundImage: `url(${t.background || t.theme.background})`
|
|
385
387
|
}, on: { click: t.openBgModal } })]), e("div", { staticClass: "d-option", staticStyle: { "padding-bottom": "0.5em" } }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.overlayColor || t.theme.backgroundFilter || "", placement: "auto" }, on: { change: function(o) {
|
|
386
388
|
t.overlayColor = o;
|
|
387
|
-
} } }, [t._v(" " + t._s(t.$t("components:account.documentForm.settings.backgroundFilter")) + " ")])], 1), t.layout === "price" ? e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title" }, [e("div", { staticStyle: { flex: "1 1 auto" } }, [t._v(t._s(t.$t("components:account.documentForm.settings.priceSummaryBackground")))]), e("CSwitch", { staticStyle: { "margin-right": "0" }, attrs: { size: "small", type: "secondary" }, model: { value: t.showPriceToggle, callback: function(o) {
|
|
389
|
+
} } }, [t._v(" " + t._s(t.$t("components:account.documentForm.settings.backgroundFilter")) + " ")])], 1), t.layout === "price" ? e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title" }, [e("div", { staticStyle: { flex: "1 1 auto" } }, [t._v(" " + t._s(t.$t("components:account.documentForm.settings.priceSummaryBackground")) + " ")]), e("CSwitch", { staticStyle: { "margin-right": "0" }, attrs: { size: "small", type: "secondary" }, model: { value: t.showPriceToggle, callback: function(o) {
|
|
388
390
|
t.showPriceToggle = o;
|
|
389
391
|
}, expression: "showPriceToggle" } })], 1), t.showPriceToggle ? e("div", { staticClass: "d-option-row", staticStyle: { "padding-top": "1em" } }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.backgroundColor || t.theme.priceSummaryBackground || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(o) {
|
|
390
392
|
t.backgroundColor = o;
|
|
@@ -405,7 +407,7 @@ var B = function() {
|
|
|
405
407
|
P,
|
|
406
408
|
!1,
|
|
407
409
|
null,
|
|
408
|
-
"
|
|
410
|
+
"c91f6414",
|
|
409
411
|
null,
|
|
410
412
|
null
|
|
411
413
|
);
|