@cling-se/widget 0.12.8 → 0.13.1

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 (123) hide show
  1. package/.eslintrc.cjs +4 -0
  2. package/dist/{AddClientCallout-1db76c94.js → AddClientCallout-fd6dc000.js} +5 -5
  3. package/dist/{AnswerModal-6c06a8a2.js → AnswerModal-7c83d608.js} +3 -3
  4. package/dist/{AttachmentItem-41e444a4.js → AttachmentItem-468fd65c.js} +3 -3
  5. package/dist/{BaseDatePicker-d2a55800.js → BaseDatePicker-1975be7c.js} +2 -2
  6. package/dist/{BaseInput-18e129c8.js → BaseInput-2ca68242.js} +1 -1
  7. package/dist/{BaseUpload-a9e1877b.js → BaseUpload-a37ee3a3.js} +2 -2
  8. package/dist/{BlockMedia-8f9708c5.js → BlockMedia-9fa610ce.js} +1 -1
  9. package/dist/{CCallout-b49bff26.js → CCallout-4c253200.js} +2 -2
  10. package/dist/{CDropdownItem-d4615a56.js → CDropdownItem-7e71da85.js} +1 -1
  11. package/dist/{CField-f2688fc2.js → CField-823448be.js} +1 -1
  12. package/dist/{CPhoneFormat-b1e386fc.js → CPhoneFormat-54baa501.js} +1 -1
  13. package/dist/{CSlider.vue_vue_type_style_index_0_lang-5d43c5ff.js → CSlider.vue_vue_type_style_index_0_lang-ceb19661.js} +1 -1
  14. package/dist/{ClientAutocomplete-e74a234a.js → ClientAutocomplete-186cc118.js} +2 -2
  15. package/dist/{ClientModal-37836644.js → ClientModal-c5ee3885.js} +5 -5
  16. package/dist/{ColorPicker-ccea269c.js → ColorPicker-65a47379.js} +1 -1
  17. package/dist/{CompanyModal-1ae0f6ac.js → CompanyModal-564e2b35.js} +3 -3
  18. package/dist/{ContentWrapper-a4b0def6.js → ContentWrapper-ac56e749.js} +13 -13
  19. package/dist/{CoverBlockSettings-9adcce77.js → CoverBlockSettings-8949a330.js} +7 -7
  20. package/dist/{DocAnswer-2cebb34c.js → DocAnswer-2c0cb58f.js} +4 -4
  21. package/dist/{DocDetails-4779c308.js → DocDetails-6522bb1b.js} +15 -15
  22. package/dist/{DocForm-211552a8.js → DocForm-983d41f5.js} +6438 -6423
  23. package/dist/{DocFormSend-046a4add.js → DocFormSend-787ce614.js} +27 -27
  24. package/dist/{DocLinks-45fab5d6.js → DocLinks-d6b1b080.js} +2 -2
  25. package/dist/{DocModalBase-5f1948d9.js → DocModalBase-60c69c7f.js} +1 -1
  26. package/dist/{DocPrint-8332f880.js → DocPrint-78c501ca.js} +1 -1
  27. package/dist/{DocReceipt-fe11e0cb.js → DocReceipt-ac44b93f.js} +1 -1
  28. package/dist/{DocSendReminder-8943a812.js → DocSendReminder-6cf2424c.js} +4 -4
  29. package/dist/{DocTextEditor-de66d76f.js → DocTextEditor-81f63135.js} +8 -8
  30. package/dist/{DocTimeline-3502cb4c.js → DocTimeline-35106a94.js} +114 -113
  31. package/dist/{DocumentClient-b781dd1f.js → DocumentClient-eda56a3c.js} +11 -9
  32. package/dist/{DocumentLayout-27fbb225.js → DocumentLayout-4005baa4.js} +132 -132
  33. package/dist/{DocumentLogotype-a28abe5a.js → DocumentLogotype-0d7d5080.js} +3 -3
  34. package/dist/{DocumentVoided-455343c5.js → DocumentVoided-fe1bd505.js} +1 -1
  35. package/dist/{EmbedInput-d11d5de2.js → EmbedInput-8c301d27.js} +2 -2
  36. package/dist/{EmbedSettings-016ff455.js → EmbedSettings-05ab2762.js} +3 -3
  37. package/dist/{ErrorCallout-a074770e.js → ErrorCallout-87033b39.js} +1 -1
  38. package/dist/{FilePreviewModal-fca6faef.js → FilePreviewModal-743fe489.js} +5 -5
  39. package/dist/{Flag-900b37df.js → Flag-a6b545e0.js} +1 -1
  40. package/dist/{HeaderSettings-ae0b3cf5.js → HeaderSettings-b739ddbb.js} +15 -15
  41. package/dist/{ImageSelectModal-97133858.js → ImageSelectModal-b626ef57.js} +8 -8
  42. package/dist/{ImageUploadWrapper-1635702c.js → ImageUploadWrapper-be047810.js} +2 -2
  43. package/dist/{Index-ef2a29e9.js → Index-01224b38.js} +13 -13
  44. package/dist/{Index-5ddfb8a8.js → Index-071b97c8.js} +2 -2
  45. package/dist/{Index-8b7c94ba.js → Index-3f02e8ca.js} +5 -5
  46. package/dist/{Index-59e9af38.js → Index-4298f3e2.js} +1 -1
  47. package/dist/{Index-693618d0.js → Index-4b09d0fa.js} +2 -2
  48. package/dist/{Index-9c4b7f92.js → Index-4f119d80.js} +14 -14
  49. package/dist/{Index-7c6cea7d.js → Index-54f457ee.js} +6 -6
  50. package/dist/{Index-1c7f63c9.js → Index-56e4127a.js} +9 -9
  51. package/dist/{Index-86d26237.js → Index-5bf8b9b7.js} +4 -4
  52. package/dist/{Index-9bb614c4.js → Index-63aea2b8.js} +9 -9
  53. package/dist/{Index-3b5a9052.js → Index-6b66b9ff.js} +2 -2
  54. package/dist/{Index-0c29aa88.js → Index-6bfbbbd2.js} +10 -10
  55. package/dist/{Index-6ee8096a.js → Index-6c21af02.js} +4 -4
  56. package/dist/{Index-6c0d7d03.js → Index-848bb05c.js} +1 -1
  57. package/dist/{Index-84efdf4e.js → Index-8cfeac73.js} +6 -6
  58. package/dist/{Index-31a7de9d.js → Index-8e82da74.js} +7 -7
  59. package/dist/{Index-7f1831cc.js → Index-8ea1a895.js} +6 -6
  60. package/dist/{Index-30d88fb4.js → Index-8ebe3371.js} +8 -8
  61. package/dist/{Index-f1000bb7.js → Index-8f237754.js} +4 -4
  62. package/dist/{Index-831f4f0b.js → Index-97c18be1.js} +6 -6
  63. package/dist/{Index-398a837d.js → Index-a3920b7b.js} +4 -4
  64. package/dist/{Index-330c01cb.js → Index-a52df5e2.js} +7 -7
  65. package/dist/{Index-3f500f06.js → Index-b2de3af8.js} +2 -2
  66. package/dist/{Index-1cb91a78.js → Index-b56a2d94.js} +2 -2
  67. package/dist/{Index-5af3739d.js → Index-c049a6e2.js} +4 -4
  68. package/dist/{Index-8b8ee120.js → Index-c349151b.js} +4 -4
  69. package/dist/{Index-1cf58bbf.js → Index-caebb616.js} +2 -2
  70. package/dist/{Index-87a4e82c.js → Index-cbd0f3f6.js} +2 -2
  71. package/dist/{Index-1ed5e7ea.js → Index-ea1e223d.js} +4 -4
  72. package/dist/{Index-d9e51018.js → Index-ecbffb52.js} +14 -14
  73. package/dist/{Index-b8b9f7f0.js → Index-f006e9fe.js} +3 -3
  74. package/dist/{Index-7510cf12.js → Index-f1bf6520.js} +4 -4
  75. package/dist/{Index-0a894180.js → Index-fc0516f6.js} +2 -2
  76. package/dist/{Index-b626f0cc.js → Index-fe0e805b.js} +5 -5
  77. package/dist/{InputToggleRow-ea78cea0.js → InputToggleRow-f86fdf91.js} +1 -1
  78. package/dist/{IsPremiumPreStep-e80f039e.js → IsPremiumPreStep-27645ee9.js} +4 -4
  79. package/dist/{ManualPopover-4b11a2f4.js → ManualPopover-d7c2a780.js} +1 -1
  80. package/dist/{MediaWrapper-517aefb6.js → MediaWrapper-2381bc95.js} +3 -3
  81. package/dist/{NotBindingText-0e7bf539.js → NotBindingText-a9eae0b2.js} +2 -2
  82. package/dist/{PackageGroup-7686c682.js → PackageGroup-95d99d03.js} +12 -12
  83. package/dist/{PdfTerms-20b187ab.js → PdfTerms-4a6d6067.js} +5 -5
  84. package/dist/{PdfViewer-5f7f3e7e.js → PdfViewer-8d7f2143.js} +2 -2
  85. package/dist/{PlainHtml-8da72eb0.js → PlainHtml-9d3f71d6.js} +1 -1
  86. package/dist/{PriceHeader-1664be58.js → PriceHeader-f2cb6529.js} +13 -13
  87. package/dist/{SearchApi-969f26f3.js → SearchApi-2a59cdc7.js} +2 -2
  88. package/dist/{Setup-6924ae55.js → Setup-74c47337.js} +1 -2
  89. package/dist/{TermsSettings-24722cab.js → TermsSettings-0c5a6cad.js} +7 -7
  90. package/dist/{ThemeColorRow-dad2a360.js → ThemeColorRow-bbf4f527.js} +3 -3
  91. package/dist/{ToggleBinding-95b398b5.js → ToggleBinding-50af6f0f.js} +3 -3
  92. package/dist/{UploadModal-fcb5d747.js → UploadModal-d2757015.js} +3 -3
  93. package/dist/{VideoPlayerInput-0653fdac.js → VideoPlayerInput-cb6c91e8.js} +3 -3
  94. package/dist/{VideoPlayerSettings-cd36d947.js → VideoPlayerSettings-bff30628.js} +4 -4
  95. package/dist/{VideoSelectModal-80bce79a.js → VideoSelectModal-9ec9ecfc.js} +8 -8
  96. package/dist/{answerDocumentMixin-562a6227.js → answerDocumentMixin-9368852c.js} +3 -3
  97. package/dist/{debounce-e16e154a.js → debounce-f8aeabc5.js} +1 -1
  98. package/dist/{focusDrawerMixin-2ea3f8b2.js → focusDrawerMixin-e2312605.js} +1 -1
  99. package/dist/{formComponentsInstall-f0935848.js → formComponentsInstall-6894b988.js} +12 -12
  100. package/dist/{formDrawerState-5cb1d38e.js → formDrawerState-b99be3a7.js} +1 -1
  101. package/dist/{formValidationMixin-fbcf6044.js → formValidationMixin-a9a35060.js} +1 -1
  102. package/dist/{index-3eb46e3e.js → index-3671e1b7.js} +3 -3
  103. package/dist/{index-e7242888.js → index-96e9db00.js} +9 -9
  104. package/dist/{index-926169da.js → index-9d1ade78.js} +1 -1
  105. package/dist/{index-0f93916c.js → index-b2348f09.js} +5 -5
  106. package/dist/{index-4284b917.js → index-c9186403.js} +1 -1
  107. package/dist/{index-b6c7c8f9.js → index-d35e9363.js} +1 -1
  108. package/dist/index.es.js +2 -2
  109. package/dist/index.umd.js +208 -208
  110. package/dist/{main-00182277.js → main-b9ea9725.js} +34998 -34938
  111. package/dist/{mapFormMixin-1c6561a7.js → mapFormMixin-de4a37c3.js} +1 -1
  112. package/dist/{publicSenderState-a9f48e73.js → publicSenderState-a2c0cc9d.js} +1 -1
  113. package/dist/style.css +1 -1
  114. package/dist/{throttle-ac46d119.js → throttle-53a6c735.js} +2 -2
  115. package/dist/{tinycolor-dc78edeb.js → tinycolor-071e269c.js} +1 -1
  116. package/dist/{tippy.esm-95420c02.js → tippy.esm-1b89bf69.js} +5 -5
  117. package/dist/{utils-eb62baff.js → utils-44a35f52.js} +1 -1
  118. package/dist/{vuedraggable.umd-f51633ac.js → vuedraggable.umd-1b113186.js} +1 -1
  119. package/package.json +3 -2
  120. package/tsconfig.json +26 -0
  121. package/tsconfig.node.json +10 -0
  122. package/tsconfig.paths.json +17 -0
  123. package/vite.config.ts +61 -0
@@ -1,6 +1,6 @@
1
- import { j as _o, n as Pt, Y as wn, c as aa, V as ca, o as la, s as ua, b as da } from "./main-00182277.js";
2
- import { d as fa } from "./debounce-e16e154a.js";
3
- import { a as di, C as pa } from "./CDropdownItem-d4615a56.js";
1
+ import { j as _o, n as Pt, Y as wn, c as aa, V as ca, o as la, s as ua, b as da } from "./main-b9ea9725.js";
2
+ import { d as fa } from "./debounce-f8aeabc5.js";
3
+ import { a as di, C as pa } from "./CDropdownItem-7e71da85.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++) {
@@ -4597,146 +4597,34 @@ var fc = function() {
4597
4597
  null,
4598
4598
  null
4599
4599
  );
4600
- const Kc = hc.exports;
4601
- function mc({
4602
- minWidthPx: d,
4603
- maxWidthPx: c,
4604
- minFontSize: f,
4605
- maxFontSize: a
4606
- }) {
4607
- const $ = d, R = c, x = (a - f) / (R - $), k = -$ * x + f, M = (O) => Math.round(O * 1e3) / 1e3;
4608
- return `clamp(${M(f)}px, ${M(
4609
- k
4610
- )}px + calc(${M(x) * 100} * var(--vw, 1vw)), ${M(
4611
- a
4612
- )}px)`;
4613
- }
4614
- function vc({ size: d }) {
4615
- let c = d * 0.9;
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
- });
4622
- }
4623
- const gc = ({ json: d, prefix: c = "" } = {}) => Object.keys(d || {}).map((f) => {
4624
- const a = d[f], R = Object.keys(a).map((x) => {
4625
- const k = x.startsWith("--") ? x : x.split(/(?=[A-Z])/).join("-").toLowerCase(), M = a[x];
4626
- let O = `${k}:${M}`;
4627
- return k === "font-size" && (O += `; font-size: ${vc({
4628
- size: parseInt(M, 10)
4629
- })}`), O;
4630
- }).join(";");
4631
- return `${c}${f}{${R}}`;
4632
- }).join(`
4633
- `), yc = {
4634
- name: "DynamicStyle",
4635
- props: {
4636
- json: {
4637
- type: Object,
4638
- default: null
4639
- },
4640
- prefix: {
4641
- type: String,
4642
- default: ""
4643
- }
4644
- },
4645
- created() {
4646
- Ci(this.json);
4647
- },
4648
- methods: {
4649
- jsonToCss: gc
4650
- }
4651
- };
4652
- var _c = function() {
4653
- var c = this, f = c._self._c;
4654
- return c.json ? f("style", { tag: "component" }, [c._v(" " + c._s(c.jsonToCss({ json: c.json, prefix: c.prefix })) + " ")]) : c._e();
4655
- }, bc = [], Sc = /* @__PURE__ */ Pt(
4656
- yc,
4657
- _c,
4658
- bc,
4659
- !1,
4660
- null,
4661
- null,
4662
- null,
4663
- null
4664
- );
4665
- const wc = Sc.exports;
4666
- const xc = {
4667
- name: "DocumentStyleContainer",
4668
- components: {
4669
- DynamicStyle: wc
4670
- },
4671
- props: {
4672
- inputStyle: {
4673
- type: Object,
4674
- default: null
4675
- }
4676
- },
4677
- computed: {
4678
- docBaseClass() {
4679
- return `document-base-style-${this._uid}`;
4680
- },
4681
- docLegacyClasses() {
4682
- const d = {
4683
- '[data-typography="title"]': "title",
4684
- h1: "h1",
4685
- h2: "h2",
4686
- h3: "h3",
4687
- p: "p",
4688
- blockquote: "blockquote",
4689
- ".chapter": "section"
4690
- };
4691
- return Object.keys(d).filter((c) => !(this.inputStyle || {})[c]).map((c) => `document-legacy-style-${d[c]}`);
4692
- },
4693
- legacyHeadingColorResolver() {
4694
- var d, c;
4695
- return ((c = (d = this.inputStyle) == null ? void 0 : d[".chapter"]) == null ? void 0 : c["--accentColor"]) || da(this, "_document.theme.headingColor");
4696
- }
4697
- }
4698
- };
4699
- var Cc = function() {
4700
- var c = this, f = c._self._c;
4701
- return f("div", { class: [...c.docLegacyClasses, c.docBaseClass] }, [f("style", { tag: "component" }, [c._v(" .primary-text-color { color: " + c._s(c.legacyHeadingColorResolver) + " !important } .primary-background-color, quill-format ul li::before { background-color: " + c._s(c.legacyHeadingColorResolver) + " !important } .primary-box-shadow-left-color { box-shadow: inset 4px 0 " + c._s(c.legacyHeadingColorResolver) + " !important } .primary-border-left-color { border-left-color: " + c._s(c.legacyHeadingColorResolver) + " !important } .primary-pseudo-background::after { background-color: " + c._s(c.legacyHeadingColorResolver) + " !important } .primary-svg-fill { fill: " + c._s(c.legacyHeadingColorResolver) + " !important } .primary-light-background { background-color: hsla(0, 0%, 0%, 0.05) !important} .primary-light-box-shadow-left-color { box-shadow: inset 4px 0 " + c._s(c.legacyHeadingColorResolver ? c.legacyHeadingColorResolver.replace(/[^,]+(?=\))/, "0.08") : "") + " !important} .quill-format ul li::before { background-color: " + c._s(c.legacyHeadingColorResolver) + " !important } ")]), f("DynamicStyle", { attrs: { json: c.inputStyle, prefix: `.${c.docBaseClass}.${c.docBaseClass}.${c.docBaseClass} ` } }), c._t("default")], 2);
4702
- }, kc = [], $c = /* @__PURE__ */ Pt(
4703
- xc,
4704
- Cc,
4705
- kc,
4706
- !1,
4707
- null,
4708
- null,
4709
- null,
4710
- null
4711
- );
4712
- const Oc = $c.exports, Ec = (d, c) => {
4600
+ const Kc = hc.exports, mc = (d, c) => {
4713
4601
  const f = d[c];
4714
4602
  return f ? typeof f == "function" ? f() : Promise.resolve(f) : new Promise((a, $) => {
4715
4603
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)($.bind(null, new Error("Unknown variable dynamic import: " + c)));
4716
4604
  });
4717
4605
  };
4718
- const Tc = {
4606
+ const vc = {
4719
4607
  name: "LoadingBlock"
4720
4608
  };
4721
- var Ic = function(c, f) {
4609
+ var gc = function(c, f) {
4722
4610
  return c("div", { staticClass: "c-loading" }, [c("div", { staticClass: "c-loading-title", style: {
4723
4611
  width: `${Math.floor(Math.random() * 56 + 25)}%`
4724
4612
  } }), c("div", { staticClass: "c-loading-body" })]);
4725
- }, Dc = [], Pc = /* @__PURE__ */ Pt(
4726
- Tc,
4727
- Ic,
4728
- Dc,
4613
+ }, yc = [], _c = /* @__PURE__ */ Pt(
4614
+ vc,
4615
+ gc,
4616
+ yc,
4729
4617
  !0,
4730
4618
  null,
4731
4619
  "155947c7",
4732
4620
  null,
4733
4621
  null
4734
4622
  );
4735
- const ui = Pc.exports, Ac = {
4623
+ const ui = _c.exports, bc = {
4736
4624
  name: "DynamicChapter",
4737
4625
  components: {
4738
4626
  // eslint-disable-next-line import/no-self-import
4739
- DynamicChapter: () => Promise.resolve().then(() => Rc),
4627
+ DynamicChapter: () => Promise.resolve().then(() => Cc),
4740
4628
  LoadingBlock: ui
4741
4629
  },
4742
4630
  props: {
@@ -4808,7 +4696,7 @@ const ui = Pc.exports, Ac = {
4808
4696
  },
4809
4697
  computed: {
4810
4698
  loader() {
4811
- return () => Ec(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-b626f0cc.js"), "../blocks/attachments/Index.vue": () => import("./Index-9bb614c4.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-d9e51018.js"), "../blocks/custom/Index.vue": () => import("./Index-84efdf4e.js"), "../blocks/docChapter/Index.vue": () => import("./Index-0a894180.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-6c0d7d03.js"), "../blocks/docParties/Index.vue": () => import("./Index-7f1831cc.js"), "../blocks/embed/Index.vue": () => import("./Index-7c6cea7d.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-7510cf12.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-f1000bb7.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-8b8ee120.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-398a837d.js"), "../blocks/header/Index.vue": () => import("./Index-1c7f63c9.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-59e9af38.js"), "../blocks/notBinding/Index.vue": () => import("./Index-6ee8096a.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-1ed5e7ea.js"), "../blocks/pdf/Index.vue": () => import("./Index-30d88fb4.js"), "../blocks/presentation/Index.vue": () => import("./Index-ef2a29e9.js"), "../blocks/terms/Index.vue": () => import("./Index-831f4f0b.js"), "../blocks/textContent/Index.vue": () => import("./Index-0c29aa88.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-31a7de9d.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-b8b9f7f0.js") }), `../blocks/${this.componentName}/Index.vue`);
4699
+ return () => mc(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-fe0e805b.js"), "../blocks/attachments/Index.vue": () => import("./Index-63aea2b8.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-ecbffb52.js"), "../blocks/custom/Index.vue": () => import("./Index-8cfeac73.js"), "../blocks/docChapter/Index.vue": () => import("./Index-fc0516f6.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-848bb05c.js"), "../blocks/docParties/Index.vue": () => import("./Index-8ea1a895.js"), "../blocks/embed/Index.vue": () => import("./Index-54f457ee.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-f1bf6520.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-8f237754.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-c349151b.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-a3920b7b.js"), "../blocks/header/Index.vue": () => import("./Index-56e4127a.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-4298f3e2.js"), "../blocks/notBinding/Index.vue": () => import("./Index-6c21af02.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-ea1e223d.js"), "../blocks/pdf/Index.vue": () => import("./Index-8ebe3371.js"), "../blocks/presentation/Index.vue": () => import("./Index-01224b38.js"), "../blocks/terms/Index.vue": () => import("./Index-97c18be1.js"), "../blocks/textContent/Index.vue": () => import("./Index-6bfbbbd2.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-8e82da74.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-f006e9fe.js") }), `../blocks/${this.componentName}/Index.vue`);
4812
4700
  },
4813
4701
  isPdfPrintAndPdfBlock() {
4814
4702
  var d, c;
@@ -4823,7 +4711,7 @@ const ui = Pc.exports, Ac = {
4823
4711
  });
4824
4712
  }
4825
4713
  };
4826
- var jc = function() {
4714
+ var Sc = function() {
4827
4715
  var c = this, f = c._self._c;
4828
4716
  return c.component ? f(c.component, c._b({ tag: "component", class: c.level === 0 && [
4829
4717
  {
@@ -4841,6 +4729,121 @@ var jc = function() {
4841
4729
  _value: a._value
4842
4730
  }, children: a.children, level: c.level + 1, "on-input": c.onInput, "on-remove": c.onRemove, "on-mount": c.onMount } });
4843
4731
  }) : c._e()], 2) : c._e();
4732
+ }, wc = [], xc = /* @__PURE__ */ Pt(
4733
+ bc,
4734
+ Sc,
4735
+ wc,
4736
+ !1,
4737
+ null,
4738
+ null,
4739
+ null,
4740
+ null
4741
+ );
4742
+ const Oi = xc.exports, Cc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4743
+ __proto__: null,
4744
+ default: Oi
4745
+ }, Symbol.toStringTag, { value: "Module" }));
4746
+ function kc({
4747
+ minWidthPx: d,
4748
+ maxWidthPx: c,
4749
+ minFontSize: f,
4750
+ maxFontSize: a
4751
+ }) {
4752
+ const $ = d, R = c, x = (a - f) / (R - $), k = -$ * x + f, M = (O) => Math.round(O * 1e3) / 1e3;
4753
+ return `clamp(${M(f)}px, ${M(
4754
+ k
4755
+ )}px + calc(${M(x) * 100} * var(--vw, 1vw)), ${M(
4756
+ a
4757
+ )}px)`;
4758
+ }
4759
+ function $c({ size: d }) {
4760
+ let c = d * 0.9;
4761
+ return d > 30 && (c = d * 0.8), d > 40 && (c = d * 0.725), d > 50 && (c = d * 0.675), kc({
4762
+ minWidthPx: 375,
4763
+ maxWidthPx: 1200,
4764
+ minFontSize: c,
4765
+ maxFontSize: d
4766
+ });
4767
+ }
4768
+ const Oc = ({ json: d, prefix: c = "" } = {}) => Object.keys(d || {}).map((f) => {
4769
+ const a = d[f], R = Object.keys(a).map((x) => {
4770
+ const k = x.startsWith("--") ? x : x.split(/(?=[A-Z])/).join("-").toLowerCase(), M = a[x];
4771
+ let O = `${k}:${M}`;
4772
+ return k === "font-size" && (O += `; font-size: ${$c({
4773
+ size: parseInt(M, 10)
4774
+ })}`), O;
4775
+ }).join(";");
4776
+ return `${c}${f}{${R}}`;
4777
+ }).join(`
4778
+ `), Ec = {
4779
+ name: "DynamicStyle",
4780
+ props: {
4781
+ json: {
4782
+ type: Object,
4783
+ default: null
4784
+ },
4785
+ prefix: {
4786
+ type: String,
4787
+ default: ""
4788
+ }
4789
+ },
4790
+ created() {
4791
+ Ci(this.json);
4792
+ },
4793
+ methods: {
4794
+ jsonToCss: Oc
4795
+ }
4796
+ };
4797
+ var Tc = function() {
4798
+ var c = this, f = c._self._c;
4799
+ return c.json ? f("style", { tag: "component" }, [c._v(" " + c._s(c.jsonToCss({ json: c.json, prefix: c.prefix })) + " ")]) : c._e();
4800
+ }, Ic = [], Dc = /* @__PURE__ */ Pt(
4801
+ Ec,
4802
+ Tc,
4803
+ Ic,
4804
+ !1,
4805
+ null,
4806
+ null,
4807
+ null,
4808
+ null
4809
+ );
4810
+ const Pc = Dc.exports;
4811
+ const Ac = {
4812
+ name: "DocumentStyleContainer",
4813
+ components: {
4814
+ DynamicStyle: Pc
4815
+ },
4816
+ props: {
4817
+ inputStyle: {
4818
+ type: Object,
4819
+ default: null
4820
+ }
4821
+ },
4822
+ computed: {
4823
+ docBaseClass() {
4824
+ return `document-base-style-${this._uid}`;
4825
+ },
4826
+ docLegacyClasses() {
4827
+ const d = {
4828
+ '[data-typography="title"]': "title",
4829
+ h1: "h1",
4830
+ h2: "h2",
4831
+ h3: "h3",
4832
+ p: "p",
4833
+ blockquote: "blockquote",
4834
+ ".chapter": "section"
4835
+ };
4836
+ return Object.keys(d).filter((c) => !(this.inputStyle || {})[c]).map((c) => `document-legacy-style-${d[c]}`);
4837
+ },
4838
+ legacyHeadingColorResolver() {
4839
+ var d, c;
4840
+ return ((c = (d = this.inputStyle) == null ? void 0 : d[".chapter"]) == null ? void 0 : c["--accentColor"]) || da(this, "_document.theme.headingColor");
4841
+ }
4842
+ }
4843
+ };
4844
+ var jc = function() {
4845
+ var c = this, f = c._self._c;
4846
+ return f("div", { class: [...c.docLegacyClasses, c.docBaseClass] }, [f("style", { tag: "component" }, [c._v(" .primary-text-color { color: " + c._s(c.legacyHeadingColorResolver) + " !important } .primary-background-color, quill-format ul li::before { background-color: " + c._s(c.legacyHeadingColorResolver) + " !important } .primary-box-shadow-left-color { box-shadow: inset 4px 0 " + c._s(c.legacyHeadingColorResolver) + " !important } .primary-border-left-color { border-left-color: " + c._s(c.legacyHeadingColorResolver) + " !important } .primary-pseudo-background::after { background-color: " + c._s(c.legacyHeadingColorResolver) + " !important } .primary-svg-fill { fill: " + c._s(c.legacyHeadingColorResolver) + " !important } .primary-light-background { background-color: hsla(0, 0%, 0%, 0.05) !important} .primary-light-box-shadow-left-color { box-shadow: inset 4px 0 " + c._s(c.legacyHeadingColorResolver ? c.legacyHeadingColorResolver.replace(/[^,]+(?=\))/, "0.08") : "") + " !important} .quill-format ul li::before { background-color: " + c._s(c.legacyHeadingColorResolver) + " !important } ")]), f("DynamicStyle", { attrs: { json: c.inputStyle, prefix: `.${c.docBaseClass}.${c.docBaseClass}.${c.docBaseClass} ` } }), c._t("default")], 2);
4844
4847
  }, zc = [], Lc = /* @__PURE__ */ Pt(
4845
4848
  Ac,
4846
4849
  jc,
@@ -4851,14 +4854,11 @@ var jc = function() {
4851
4854
  null,
4852
4855
  null
4853
4856
  );
4854
- const Oi = Lc.exports, Rc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4855
- __proto__: null,
4856
- default: Oi
4857
- }, Symbol.toStringTag, { value: "Module" })), Mc = {
4857
+ const Rc = Lc.exports, Mc = {
4858
4858
  name: "DocumentLayout",
4859
4859
  components: {
4860
4860
  DynamicChapter: Oi,
4861
- DocumentStyleContainer: Oc,
4861
+ DocumentStyleContainer: Rc,
4862
4862
  WithDimensions: qa
4863
4863
  },
4864
4864
  props: {
@@ -4914,7 +4914,7 @@ export {
4914
4914
  Hc as D,
4915
4915
  Kc as F,
4916
4916
  qa as W,
4917
- Oc as a,
4917
+ Rc as a,
4918
4918
  Oi as b,
4919
4919
  Gc as c,
4920
4920
  Uc as g,
@@ -1,10 +1,10 @@
1
- import { g as a, n as s } from "./main-00182277.js";
1
+ import { g as a, n as s } from "./main-b9ea9725.js";
2
2
  import { m as l, a as p } from "./vuex.esm-4a0fff7c.js";
3
- import { a as r } from "./publicSenderState-a9f48e73.js";
3
+ import { a as r } from "./publicSenderState-a2c0cc9d.js";
4
4
  const c = {
5
5
  name: "DocumentLogotype",
6
6
  components: {
7
- ImageUploadWrapper: () => import("./ImageUploadWrapper-1635702c.js")
7
+ ImageUploadWrapper: () => import("./ImageUploadWrapper-be047810.js")
8
8
  },
9
9
  props: {
10
10
  value: {
@@ -1,4 +1,4 @@
1
- import { n } from "./main-00182277.js";
1
+ import { n } from "./main-b9ea9725.js";
2
2
  const s = {
3
3
  name: "DocumentVoided",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { d } from "./debounce-e16e154a.js";
2
- import { b as l, n as o } from "./main-00182277.js";
1
+ import { d } from "./debounce-f8aeabc5.js";
2
+ import { b as l, n as o } from "./main-b9ea9725.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-d11d5de2.js";
2
- import { n as l } from "./main-00182277.js";
3
- import "./debounce-e16e154a.js";
1
+ import n from "./EmbedInput-8c301d27.js";
2
+ import { n as l } from "./main-b9ea9725.js";
3
+ import "./debounce-f8aeabc5.js";
4
4
  const o = {
5
5
  i18nOptions: {
6
6
  namespaces: "embedSettings",
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-00182277.js";
1
+ import { n as r } from "./main-b9ea9725.js";
2
2
  const a = {
3
3
  name: "ErrorCallout",
4
4
  props: {
@@ -1,9 +1,9 @@
1
- import { n, S as o } from "./main-00182277.js";
2
- import { V as r } from "./PdfViewer-5f7f3e7e.js";
1
+ import { n, S as o } from "./main-b9ea9725.js";
2
+ import { V as r } from "./PdfViewer-8d7f2143.js";
3
3
  import "./dom-962579a6.js";
4
- import "./DocumentLayout-27fbb225.js";
5
- import "./debounce-e16e154a.js";
6
- import "./CDropdownItem-d4615a56.js";
4
+ import "./DocumentLayout-4005baa4.js";
5
+ import "./debounce-f8aeabc5.js";
6
+ import "./CDropdownItem-7e71da85.js";
7
7
  const a = {
8
8
  name: "FilesPreviewModal",
9
9
  components: {
@@ -1,4 +1,4 @@
1
- import { N as c, n as o } from "./main-00182277.js";
1
+ import { N as c, n as o } from "./main-b9ea9725.js";
2
2
  var m = {
3
3
  name: "simplebar-vue",
4
4
  mounted: function() {
@@ -1,20 +1,20 @@
1
- import { m as x } from "./mapFormMixin-1c6561a7.js";
2
- import { T as _ } from "./ThemeColorRow-dad2a360.js";
3
- import { c as v, n as y, o as d, E as w } from "./main-00182277.js";
4
- import { B as C, a as b } from "./index-0f93916c.js";
5
- import k from "./VideoPlayerInput-0653fdac.js";
6
- import S from "./ImageUploadWrapper-1635702c.js";
7
- import { t as A } from "./tinycolor-dc78edeb.js";
1
+ import { m as x } from "./mapFormMixin-de4a37c3.js";
2
+ import { T as _ } from "./ThemeColorRow-bbf4f527.js";
3
+ import { c as v, n as y, o as d, E as w } from "./main-b9ea9725.js";
4
+ import { B as C, a as b } from "./index-b2348f09.js";
5
+ import k from "./VideoPlayerInput-cb6c91e8.js";
6
+ import S from "./ImageUploadWrapper-be047810.js";
7
+ import { t as A } from "./tinycolor-071e269c.js";
8
8
  import "./color-c1606adc.js";
9
- import "./ColorPicker-ccea269c.js";
10
- import "./ManualPopover-4b11a2f4.js";
11
- import "./debounce-e16e154a.js";
12
- import "./throttle-ac46d119.js";
9
+ import "./ColorPicker-65a47379.js";
10
+ import "./ManualPopover-d7c2a780.js";
11
+ import "./debounce-f8aeabc5.js";
12
+ import "./throttle-53a6c735.js";
13
13
  import "./dom-962579a6.js";
14
- import "./CDropdownItem-d4615a56.js";
15
- import "./Flag-900b37df.js";
16
- import "./utils-eb62baff.js";
17
- import "./BaseUpload-a9e1877b.js";
14
+ import "./CDropdownItem-7e71da85.js";
15
+ import "./Flag-a6b545e0.js";
16
+ import "./utils-44a35f52.js";
17
+ import "./BaseUpload-a37ee3a3.js";
18
18
  const g = v.unsplash.id, L = v.pexels.id, z = {
19
19
  name: "MediaSelectModal",
20
20
  i18nOptions: {
@@ -1,12 +1,12 @@
1
- import { c as r, n as l, o as n, E as i } from "./main-00182277.js";
2
- import c from "./ImageUploadWrapper-1635702c.js";
3
- import { B as m, a as d } from "./index-0f93916c.js";
4
- import "./BaseUpload-a9e1877b.js";
5
- import "./debounce-e16e154a.js";
6
- import "./throttle-ac46d119.js";
1
+ import { c as r, n as l, o as n, E as i } from "./main-b9ea9725.js";
2
+ import c from "./ImageUploadWrapper-be047810.js";
3
+ import { B as m, a as d } from "./index-b2348f09.js";
4
+ import "./BaseUpload-a37ee3a3.js";
5
+ import "./debounce-f8aeabc5.js";
6
+ import "./throttle-53a6c735.js";
7
7
  import "./dom-962579a6.js";
8
- import "./CDropdownItem-d4615a56.js";
9
- import "./Flag-900b37df.js";
8
+ import "./CDropdownItem-7e71da85.js";
9
+ import "./Flag-a6b545e0.js";
10
10
  const o = r.unsplash.id, p = {
11
11
  name: "ImageSelectModal",
12
12
  i18nOptions: {
@@ -1,5 +1,5 @@
1
- import Xt from "./BaseUpload-a9e1877b.js";
2
- import { V as k, n as _t, L as Yt } from "./main-00182277.js";
1
+ import Xt from "./BaseUpload-a37ee3a3.js";
2
+ import { V as k, n as _t, L as Yt } from "./main-b9ea9725.js";
3
3
  function yt(t, e) {
4
4
  var i = Object.keys(t);
5
5
  if (Object.getOwnPropertySymbols) {
@@ -1,17 +1,17 @@
1
- import { n as i, g as d, W as m, b as o, av as c } from "./main-00182277.js";
2
- import { m as p } from "./mapFormMixin-1c6561a7.js";
3
- import { w as _ } from "./CDropdownItem-d4615a56.js";
1
+ import { n as i, g as d, W as m, b as o, av as c } from "./main-b9ea9725.js";
2
+ import { m as p } from "./mapFormMixin-de4a37c3.js";
3
+ import { w as _ } from "./CDropdownItem-7e71da85.js";
4
4
  import { m as g, a as v } from "./vuex.esm-4a0fff7c.js";
5
- import { T as f } from "./DocTextEditor-de66d76f.js";
6
- import { C as h } from "./CCallout-b49bff26.js";
7
- import "./tippy.esm-95420c02.js";
8
- import "./ColorPicker-ccea269c.js";
9
- import "./DocumentLayout-27fbb225.js";
10
- import "./debounce-e16e154a.js";
11
- import "./CSlider.vue_vue_type_style_index_0_lang-5d43c5ff.js";
5
+ import { T as f } from "./DocTextEditor-81f63135.js";
6
+ import { C as h } from "./CCallout-4c253200.js";
7
+ import "./tippy.esm-1b89bf69.js";
8
+ import "./ColorPicker-65a47379.js";
9
+ import "./DocumentLayout-4005baa4.js";
10
+ import "./debounce-f8aeabc5.js";
11
+ import "./CSlider.vue_vue_type_style_index_0_lang-ceb19661.js";
12
12
  import "./dom-962579a6.js";
13
13
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
14
- import "./ManualPopover-4b11a2f4.js";
14
+ import "./ManualPopover-d7c2a780.js";
15
15
  import "./color-c1606adc.js";
16
16
  const b = {
17
17
  name: "ModalReference",
@@ -290,8 +290,8 @@ const O = {
290
290
  mixins: [p([])],
291
291
  components: {
292
292
  AvatarContact: F,
293
- IsPremium: () => import("./index-3eb46e3e.js").then((s) => s.IsPremium),
294
- IsPremiumPreStep: () => import("./index-3eb46e3e.js").then((s) => s.IsPremiumPreStep)
293
+ IsPremium: () => import("./index-3671e1b7.js").then((s) => s.IsPremium),
294
+ IsPremiumPreStep: () => import("./index-3671e1b7.js").then((s) => s.IsPremiumPreStep)
295
295
  },
296
296
  props: {
297
297
  content: {
@@ -1,5 +1,5 @@
1
- import { m as o } from "./mapFormMixin-1c6561a7.js";
2
- import { n as l, P as s } from "./main-00182277.js";
1
+ import { m as o } from "./mapFormMixin-de4a37c3.js";
2
+ import { n as l, P as s } from "./main-b9ea9725.js";
3
3
  import { v as a } from "./index-805c56e4.js";
4
4
  const c = (e, t) => e ? s(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 : !0, u = {
5
5
  name: "ExtraWorkTimeImpactTextEdit",
@@ -1,8 +1,8 @@
1
- import { m as r } from "./mapFormMixin-1c6561a7.js";
2
- import { I as n } from "./InputToggleRow-ea78cea0.js";
3
- import { B as l } from "./BaseDatePicker-d2a55800.js";
4
- import { n as s } from "./main-00182277.js";
5
- import "./CDropdownItem-d4615a56.js";
1
+ import { m as r } from "./mapFormMixin-de4a37c3.js";
2
+ import { I as n } from "./InputToggleRow-f86fdf91.js";
3
+ import { B as l } from "./BaseDatePicker-1975be7c.js";
4
+ import { n as s } from "./main-b9ea9725.js";
5
+ import "./CDropdownItem-7e71da85.js";
6
6
  const c = {
7
7
  i18nOptions: {
8
8
  namespaces: "estimatedTimeStartEnd",
@@ -1,4 +1,4 @@
1
- import { n, v as l } from "./main-00182277.js";
1
+ import { n, v as l } from "./main-b9ea9725.js";
2
2
  const d = {
3
3
  name: "MultiGroupPricing",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { t as i } from "./tinycolor-dc78edeb.js";
2
- import { R as d, n } from "./main-00182277.js";
1
+ import { t as i } from "./tinycolor-071e269c.js";
2
+ import { R as d, n } from "./main-b9ea9725.js";
3
3
  const c = {
4
4
  "3d": (e) => e("path", {
5
5
  attrs: {
@@ -1,22 +1,22 @@
1
- import { aT as B, aU as A, aV as E, aW as z, aX as W, aY as F, j, aZ as N, b as o, n as c, s as H, a_ as x, az as U, a$ as w, b0 as q, ak as f, a8 as G, g as p, v as k, b1 as K, al as Y, b2 as Z, b3 as J, b4 as C, p as X, O as g, x as Q, z as ee, b5 as te, r as ie, R as se } from "./main-00182277.js";
1
+ import { aT as B, aU as A, aV as E, aW as z, aX as W, aY as F, j, aZ as N, b as o, n as c, s as H, a_ as x, az as U, a$ as w, b0 as q, ak as f, aa as G, g as p, v as k, b1 as K, al as Y, b2 as Z, b3 as J, b4 as C, p as X, O as g, x as Q, z as ee, b5 as te, r as ie, R as se } from "./main-b9ea9725.js";
2
2
  import { m as h, a as v } from "./vuex.esm-4a0fff7c.js";
3
- import { m as y } from "./mapFormMixin-1c6561a7.js";
4
- import { E as P } from "./ErrorCallout-a074770e.js";
5
- import { T as ae } from "./DocTextEditor-de66d76f.js";
6
- import { o as S, d as ne } from "./vuedraggable.umd-f51633ac.js";
7
- import { W as re } from "./DocumentLayout-27fbb225.js";
8
- import { C as oe } from "./tippy.esm-95420c02.js";
3
+ import { m as y } from "./mapFormMixin-de4a37c3.js";
4
+ import { E as P } from "./ErrorCallout-87033b39.js";
5
+ import { T as ae } from "./DocTextEditor-81f63135.js";
6
+ import { o as S, d as ne } from "./vuedraggable.umd-1b113186.js";
7
+ import { W as re } from "./DocumentLayout-4005baa4.js";
8
+ import { C as oe } from "./tippy.esm-1b89bf69.js";
9
9
  import { v as le } from "./index-805c56e4.js";
10
- import { S as ce } from "./SearchApi-969f26f3.js";
11
- import { w as ue } from "./CDropdownItem-d4615a56.js";
12
- import { B as V } from "./BaseInput-18e129c8.js";
10
+ import { S as ce } from "./SearchApi-2a59cdc7.js";
11
+ import { w as ue } from "./CDropdownItem-7e71da85.js";
12
+ import { B as V } from "./BaseInput-2ca68242.js";
13
13
  import "./dom-962579a6.js";
14
- import "./CSlider.vue_vue_type_style_index_0_lang-5d43c5ff.js";
14
+ import "./CSlider.vue_vue_type_style_index_0_lang-ceb19661.js";
15
15
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
16
- import "./ManualPopover-4b11a2f4.js";
17
- import "./ColorPicker-ccea269c.js";
16
+ import "./ManualPopover-d7c2a780.js";
17
+ import "./ColorPicker-65a47379.js";
18
18
  import "./color-c1606adc.js";
19
- import "./debounce-e16e154a.js";
19
+ import "./debounce-f8aeabc5.js";
20
20
  const de = [
21
21
  "unit",
22
22
  "m2",
@@ -1,7 +1,7 @@
1
- import { m as o } from "./mapFormMixin-1c6561a7.js";
2
- import { f as i } from "./focusDrawerMixin-2ea3f8b2.js";
3
- import { S as a, n as r } from "./main-00182277.js";
4
- import "./formDrawerState-5cb1d38e.js";
1
+ import { m as o } from "./mapFormMixin-de4a37c3.js";
2
+ import { f as i } from "./focusDrawerMixin-e2312605.js";
3
+ import { S as a, n as r } from "./main-b9ea9725.js";
4
+ import "./formDrawerState-b99be3a7.js";
5
5
  const d = {
6
6
  name: "Embed",
7
7
  i18nOptions: {
@@ -16,8 +16,8 @@ const d = {
16
16
  }
17
17
  },
18
18
  components: {
19
- EmbedSettings: () => import("./EmbedSettings-016ff455.js"),
20
- EmbedInput: () => import("./EmbedInput-d11d5de2.js"),
19
+ EmbedSettings: () => import("./EmbedSettings-05ab2762.js"),
20
+ EmbedInput: () => import("./EmbedInput-8c301d27.js"),
21
21
  Spinner: a
22
22
  },
23
23
  mixins: [o(["embed", "size"]), i],