@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.
Files changed (122) hide show
  1. package/dist/{AddClientCallout-f30100da.js → AddClientCallout-4afb07ff.js} +5 -5
  2. package/dist/{AnswerModal-d30e03bd.js → AnswerModal-2b11381b.js} +84 -27
  3. package/dist/{AttachmentItem-446bb069.js → AttachmentItem-c666fb74.js} +7 -5
  4. package/dist/{BaseDatePicker-6a365a09.js → BaseDatePicker-e1efcf48.js} +1 -1
  5. package/dist/{BaseInput-7ed92f6a.js → BaseInput-44c3af54.js} +6 -2
  6. package/dist/{BaseUpload-636eeec3.js → BaseUpload-740b1f88.js} +28 -11
  7. package/dist/{BlockMedia-3cb86ebf.js → BlockMedia-f5086397.js} +5 -3
  8. package/dist/{CCallout-44e44f26.js → CCallout-1a1feea0.js} +6 -9
  9. package/dist/{CDropdownItem-52cf4f0e.js → CDropdownItem-cc274799.js} +3 -3
  10. package/dist/{CField-a80001b1.js → CField-372bd9c7.js} +18 -4
  11. package/dist/{CPhoneFormat-3db8947d.js → CPhoneFormat-b273a499.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-42fea525.js → CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js} +4 -2
  13. package/dist/{ClientAutocomplete-84cfcc88.js → ClientAutocomplete-0f51c1cd.js} +3 -3
  14. package/dist/{ClientModal-5c684c95.js → ClientModal-1bec5a45.js} +34 -19
  15. package/dist/{ColorPicker-043d7a04.js → ColorPicker-43c741fb.js} +2 -2
  16. package/dist/{CompanyModal-64d16864.js → CompanyModal-adec1d7e.js} +8 -5
  17. package/dist/{ContentWrapper-f3c1c1cb.js → ContentWrapper-48e69342.js} +40 -27
  18. package/dist/{CoverBlockSettings-8f28a3a5.js → CoverBlockSettings-c0a57bee.js} +49 -34
  19. package/dist/{DocAnswer-2402eee3.js → DocAnswer-f0f7d55d.js} +4 -4
  20. package/dist/{DocDetails-ec7f2a02.js → DocDetails-0e25552f.js} +71 -46
  21. package/dist/{DocForm-c9df5aa0.js → DocForm-2ab0c521.js} +515 -291
  22. package/dist/{DocFormSend-31f95da1.js → DocFormSend-e60808ca.js} +18 -18
  23. package/dist/{DocLinks-93f538c9.js → DocLinks-20719644.js} +2 -2
  24. package/dist/{DocModalBase-5c9138cc.js → DocModalBase-039f53c2.js} +4 -4
  25. package/dist/{DocPrint-a4475559.js → DocPrint-aafc72e2.js} +2 -2
  26. package/dist/{DocReceipt-4e571cee.js → DocReceipt-641b141c.js} +33 -10
  27. package/dist/{DocSendReminder-fe49cd44.js → DocSendReminder-aabc0994.js} +30 -5
  28. package/dist/{DocTextEditor-2bb318af.js → DocTextEditor-3eb97671.js} +86 -37
  29. package/dist/{DocTimeline-9f47bab8.js → DocTimeline-9d765ded.js} +29 -16
  30. package/dist/{DocumentClient-99d7039b.js → DocumentClient-8d59d823.js} +7 -7
  31. package/dist/{DocumentLayout-11af5e3b.js → DocumentLayout-a659ce2a.js} +31 -11
  32. package/dist/{DocumentLogotype-1931e1ad.js → DocumentLogotype-393d1610.js} +8 -8
  33. package/dist/{DocumentVoided-6351a1df.js → DocumentVoided-9294f5d4.js} +1 -1
  34. package/dist/{EmbedInput-7d0562fc.js → EmbedInput-e6a9ee21.js} +2 -2
  35. package/dist/{EmbedSettings-9df99e76.js → EmbedSettings-e31ccfdc.js} +7 -7
  36. package/dist/ErrorCallout-d6c77efa.js +30 -0
  37. package/dist/{FilePreviewModal-095408ae.js → FilePreviewModal-84d6ab65.js} +6 -6
  38. package/dist/{HeaderSettings-6d350190.js → HeaderSettings-51d44d2d.js} +65 -63
  39. package/dist/{ImageSelectModal-971708e1.js → ImageSelectModal-051e0929.js} +27 -27
  40. package/dist/{ImageUploadWrapper-3fac23f0.js → ImageUploadWrapper-dcceec48.js} +11 -5
  41. package/dist/{Index-9b1e35fa.js → Index-06045b22.js} +9 -10
  42. package/dist/{Index-8b39f885.js → Index-0932b744.js} +32 -20
  43. package/dist/{Index-ffff3ae8.js → Index-20c0168b.js} +15 -15
  44. package/dist/{Index-6e6d2653.js → Index-3571dbbe.js} +2 -2
  45. package/dist/{Index-d3667461.js → Index-36ba2c7c.js} +20 -16
  46. package/dist/{Index-7b9b5dee.js → Index-39d0e781.js} +17 -17
  47. package/dist/{Index-88af8453.js → Index-3bdfc806.js} +3 -3
  48. package/dist/{Index-fad050d0.js → Index-3cb4cf49.js} +4 -4
  49. package/dist/Index-42639492.js +28 -0
  50. package/dist/{Index-eb9a3a06.js → Index-494c3112.js} +300 -147
  51. package/dist/{Index-ffd8211f.js → Index-51ceb867.js} +20 -16
  52. package/dist/{Index-70f16919.js → Index-54695ef1.js} +13 -11
  53. package/dist/{Index-2abd5d2b.js → Index-5b2c568a.js} +13 -11
  54. package/dist/{Index-77bcf959.js → Index-5def7508.js} +17 -12
  55. package/dist/{Index-8c335677.js → Index-5ead0dc5.js} +2 -2
  56. package/dist/{Index-57d5951b.js → Index-652a82d0.js} +6 -6
  57. package/dist/{Index-4fa057f8.js → Index-75922cfc.js} +13 -13
  58. package/dist/{Index-7477a320.js → Index-9a162ce6.js} +2 -2
  59. package/dist/{Index-938d67eb.js → Index-a94f257f.js} +56 -31
  60. package/dist/{Index-5a0d7d8c.js → Index-a98c290d.js} +21 -18
  61. package/dist/{Index-1e62aedf.js → Index-b33109a3.js} +13 -9
  62. package/dist/{Index-d9001d15.js → Index-c1aa1453.js} +3 -3
  63. package/dist/{Index-e27c2fdf.js → Index-c2008029.js} +2 -2
  64. package/dist/{Index-d617c13f.js → Index-c4942c4e.js} +22 -27
  65. package/dist/{Index-567e408c.js → Index-c5983b2b.js} +13 -15
  66. package/dist/{Index-c8e36c6e.js → Index-c8ded03a.js} +2 -2
  67. package/dist/{Index-8f883e55.js → Index-cc56dad6.js} +7 -7
  68. package/dist/{Index-8c04b710.js → Index-d77ba606.js} +51 -43
  69. package/dist/{Index-868d52a9.js → Index-d7a7de69.js} +24 -17
  70. package/dist/{Index-356bc162.js → Index-e8a3b12b.js} +4 -4
  71. package/dist/{Index-20d85e3a.js → Index-e9da5a9c.js} +3 -3
  72. package/dist/{Index-79f564d7.js → Index-f36accd7.js} +4 -4
  73. package/dist/{Index-bf0c487f.js → Index-fd6da129.js} +7 -7
  74. package/dist/{Index-a1f74882.js → Index-fdb53118.js} +6 -9
  75. package/dist/{InputToggleRow-e6ceba8d.js → InputToggleRow-79bbd6c6.js} +4 -4
  76. package/dist/{IsPremiumPreStep-5760ca12.js → IsPremiumPreStep-f0524e76.js} +81 -36
  77. package/dist/{ManualPopover-814d1319.js → ManualPopover-8a1e53a5.js} +5 -2
  78. package/dist/{MediaWrapper-e67928b8.js → MediaWrapper-b128c707.js} +3 -3
  79. package/dist/{NotBindingText-f72244ab.js → NotBindingText-561df6d3.js} +2 -2
  80. package/dist/{PackageGroup-b457cbbb.js → PackageGroup-3eaff6a7.js} +184 -69
  81. package/dist/{PdfTerms-fa51699a.js → PdfTerms-27d7ea41.js} +8 -8
  82. package/dist/{PdfViewer-93b67f36.js → PdfViewer-5b2bcbb5.js} +2 -2
  83. package/dist/{PlainHtml-4decb4b1.js → PlainHtml-c743e90e.js} +1 -1
  84. package/dist/{PriceHeader-85923b9b.js → PriceHeader-287b8219.js} +48 -32
  85. package/dist/{SearchApi-e49da25f.js → SearchApi-1cd32dd3.js} +40 -20
  86. package/dist/{Setup-9e46ec76.js → Setup-647c8d19.js} +1 -1
  87. package/dist/{TermsSettings-79755d10.js → TermsSettings-28e00bdf.js} +11 -11
  88. package/dist/{ThemeColorRow-ce0c5083.js → ThemeColorRow-87aad7e1.js} +4 -4
  89. package/dist/{ToggleBinding-cda92aa3.js → ToggleBinding-86912659.js} +3 -3
  90. package/dist/{UploadModal-0e80a0f2.js → UploadModal-4065d410.js} +16 -14
  91. package/dist/{VideoPlayerInput-6145c645.js → VideoPlayerInput-1b402e91.js} +3 -3
  92. package/dist/{VideoPlayerSettings-b6d55453.js → VideoPlayerSettings-4dcca863.js} +5 -5
  93. package/dist/{VideoSelectModal-61d97f65.js → VideoSelectModal-4f9def15.js} +32 -36
  94. package/dist/{answerDocumentMixin-8edab24a.js → answerDocumentMixin-6b6cfdb6.js} +3 -3
  95. package/dist/{debounce-62af9d61.js → debounce-97bb38ac.js} +1 -1
  96. package/dist/{focusDrawerMixin-745d4e52.js → focusDrawerMixin-0d00dfeb.js} +1 -1
  97. package/dist/{formComponentsInstall-dc68b7e8.js → formComponentsInstall-0e28cca8.js} +210 -168
  98. package/dist/{formDrawerState-6408853b.js → formDrawerState-68670778.js} +1 -1
  99. package/dist/{formValidationMixin-a27a1b47.js → formValidationMixin-cb6f10e2.js} +1 -1
  100. package/dist/{image-7f7c16da.js → image-456aa00c.js} +1 -1
  101. package/dist/{index-2a4b06f7.js → index-1f6e36c5.js} +4 -4
  102. package/dist/{index-474d6e34.js → index-2710ab1c.js} +3 -3
  103. package/dist/{index-a72b19e9.js → index-63ab2d14.js} +12 -12
  104. package/dist/{index-1cf2de3c.js → index-b8207e2a.js} +1 -1
  105. package/dist/{index-14df19cb.js → index-e4f936ec.js} +8 -6
  106. package/dist/{index-cc6b4d3a.js → index-ea1c7f84.js} +17 -9
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +167 -138
  109. package/dist/{main-b72127b8.js → main-b5eb6366.js} +2374 -2298
  110. package/dist/{mapFormMixin-52ec1660.js → mapFormMixin-e0c45bbd.js} +1 -1
  111. package/dist/{publicSenderState-1a30e0c5.js → publicSenderState-4163b1b6.js} +1 -1
  112. package/dist/{simplebar.min-c28f1a61.js → simplebar.min-147772cd.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{template-c65478b1.js → template-6e93622c.js} +7 -7
  115. package/dist/{throttle-040bd305.js → throttle-7a7a1299.js} +2 -2
  116. package/dist/{tinycolor-10bcd30d.js → tinycolor-bb8652ea.js} +1 -1
  117. package/dist/{tippy.esm-0ef95919.js → tippy.esm-f533f77b.js} +8 -8
  118. package/dist/{utils-6073fc98.js → utils-066c47a5.js} +1 -1
  119. package/dist/{vuedraggable.umd-d2790aec.js → vuedraggable.umd-76911d11.js} +1 -1
  120. package/package.json +2 -2
  121. package/dist/ErrorCallout-106838ce.js +0 -30
  122. 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-b72127b8.js";
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 x = {
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
- }, k = {
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 = "" } = x[this.status] || {};
72
+ const { statusClass: s = "" } = v[this.status] || {};
73
73
  return s;
74
74
  },
75
75
  icon() {
76
- return S(x, `${this.status}.icon`);
76
+ return S(v, `${this.status}.icon`);
77
77
  }
78
78
  }
79
79
  };
80
- var w = function() {
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 = [], B = /* @__PURE__ */ u(
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 T = B.exports, I = {
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) => ["blue", "teal", "orange", "green", "red", "purple", "gray", "primary"].indexOf(s) !== -1
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 v;
317
+ var y;
309
318
  const {
310
319
  client: r = {},
311
320
  clients: o,
312
321
  email: d,
313
322
  status: m,
314
- counter: y,
323
+ counter: x,
315
324
  sendSource: h,
316
325
  companyUserId: $
317
- } = t || {}, p = y || n.length + 1, l = r.name, C = {
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 = (v = this.colors) == null ? void 0 : v[s];
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: T,
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", { staticClass: "p-8" }, [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);
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-b72127b8.js";
2
- import { D as d } from "./DocumentLayout-11af5e3b.js";
3
- import { f as m } from "./formValidationMixin-a27a1b47.js";
4
- import { a as l } from "./answerDocumentMixin-8edab24a.js";
5
- import { D as f } from "./DocumentVoided-6351a1df.js";
6
- import "./debounce-62af9d61.js";
7
- import "./CDropdownItem-52cf4f0e.js";
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-b72127b8.js";
2
- import { d as fa } from "./debounce-62af9d61.js";
3
- import { a as di, C as pa } from "./CDropdownItem-52cf4f0e.js";
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({ strategy: "scroll" }));
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((x, $) => Math.abs($ - a) < Math.abs(x - a) ? $ : x)), this.$emit("input", {
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
- "01d4b61b",
4596
+ "c4e9dd16",
4593
4597
  null,
4594
4598
  null
4595
4599
  );
4596
4600
  const Kc = hc.exports;
4597
- function mc({ minWidthPx: d, maxWidthPx: c, minFontSize: f, maxFontSize: a }) {
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($)}px + calc(${M(x) * 100} * var(--vw, 1vw)), ${M(a)}px)`;
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({ minWidthPx: 375, maxWidthPx: 1200, minFontSize: c, maxFontSize: d });
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({ size: parseInt(M, 10) })}`), O;
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-868d52a9.js"), "../blocks/attachments/Index.vue": () => import("./Index-d617c13f.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-ffd8211f.js"), "../blocks/custom/Index.vue": () => import("./Index-567e408c.js"), "../blocks/docChapter/Index.vue": () => import("./Index-4fa057f8.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-7477a320.js"), "../blocks/docParties/Index.vue": () => import("./Index-938d67eb.js"), "../blocks/embed/Index.vue": () => import("./Index-8f883e55.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-356bc162.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-79f564d7.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-70f16919.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-2abd5d2b.js"), "../blocks/header/Index.vue": () => import("./Index-7b9b5dee.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-ffff3ae8.js"), "../blocks/notBinding/Index.vue": () => import("./Index-a65bded3.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-9b1e35fa.js"), "../blocks/pdf/Index.vue": () => import("./Index-5a0d7d8c.js"), "../blocks/presentation/Index.vue": () => import("./Index-8c04b710.js"), "../blocks/terms/Index.vue": () => import("./Index-57d5951b.js"), "../blocks/textContent/Index.vue": () => import("./Index-d3667461.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-bf0c487f.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-88af8453.js") }), `../blocks/${this.componentName}/Index.vue`);
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 a, n as s } from "./main-b72127b8.js";
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-1a30e0c5.js";
3
+ import { a as r } from "./publicSenderState-4163b1b6.js";
4
4
  const c = {
5
5
  name: "DocumentLogotype",
6
6
  components: {
7
- ImageUploadWrapper: () => import("./ImageUploadWrapper-3fac23f0.js")
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: a.DO_UPDATE_CURRENT_COMPANY
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, 286513385) }) : t.showLogo ? o("div", { staticStyle: { display: "inline-block" } }, [o("img", { attrs: { src: t.logotype, alt: "", width: "150" } })]) : t._e();
76
- }, u = [], g = /* @__PURE__ */ s(
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
- "018831ea",
82
+ "096d868c",
83
83
  null,
84
84
  null
85
85
  );
86
- const h = g.exports;
86
+ const h = d.exports;
87
87
  export {
88
88
  h as default
89
89
  };
@@ -1,4 +1,4 @@
1
- import { n } from "./main-b72127b8.js";
1
+ import { n } from "./main-b5eb6366.js";
2
2
  const s = {
3
3
  name: "DocumentVoided",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { d } from "./debounce-62af9d61.js";
2
- import { b as l, n as o } from "./main-b72127b8.js";
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-7d0562fc.js";
2
- import { n as l } from "./main-b72127b8.js";
3
- import "./debounce-62af9d61.js";
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(c) {
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
- "e95b62ec",
68
+ "9bf232df",
69
69
  null,
70
70
  null
71
71
  );
72
- const z = p.exports;
72
+ const f = p.exports;
73
73
  export {
74
- z as default
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-b72127b8.js";
2
- import { V as r } from "./PdfViewer-93b67f36.js";
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-11af5e3b.js";
5
- import "./debounce-62af9d61.js";
6
- import "./CDropdownItem-52cf4f0e.js";
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
- "c103b633",
80
+ "d70d5a87",
81
81
  null,
82
82
  null
83
83
  );
@@ -1,21 +1,21 @@
1
- import { m as x } from "./mapFormMixin-52ec1660.js";
2
- import { T as _ } from "./ThemeColorRow-ce0c5083.js";
3
- import { c as v, n as y, l as d } from "./main-b72127b8.js";
4
- import { a as w } from "./image-7f7c16da.js";
5
- import { B as C, a as k } from "./index-cc6b4d3a.js";
6
- import b from "./VideoPlayerInput-6145c645.js";
7
- import S from "./ImageUploadWrapper-3fac23f0.js";
8
- import { a as A } from "./tinycolor-10bcd30d.js";
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-043d7a04.js";
11
- import "./ManualPopover-814d1319.js";
12
- import "./debounce-62af9d61.js";
13
- import "./throttle-040bd305.js";
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-52cf4f0e.js";
16
- import "./simplebar.min-c28f1a61.js";
17
- import "./utils-6073fc98.js";
18
- import "./BaseUpload-636eeec3.js";
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("https://api.unsplash.com/search/photos", {
93
- params: {
94
- page: t,
95
- per_page: 12,
96
- client_id: g,
97
- query: i
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
- image: a,
124
- video_files: m = [],
125
- user: u
126
- }) => {
127
- const { sd: h, hd: p } = (m || []).sort(o).reduce((c, l) => (c[l.quality] && l.link && c[l.quality].push(l.link), c), { sd: [], hd: [] }), [f] = h;
128
- let n = s(m);
129
- return n || ([n] = p.length ? p : h.slice(-1)), {
130
- id: `${r}`,
131
- image: a,
132
- minImage: a,
133
- video: n,
134
- minVideo: f,
135
- userName: u.name,
136
- userLink: u.link
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
- t.download_location,
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
- "5d67c30b",
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: [x(
207
- [
208
- "layout",
209
- "items",
210
- "media",
211
- "showPriceSummary",
212
- "backgroundColor",
213
- "textAlign",
214
- "textColor"
215
- ],
216
- { useEmit: !1 }
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
- "f4832ed6",
410
+ "c91f6414",
409
411
  null,
410
412
  null
411
413
  );