@cling-se/widget 0.9.3 → 0.9.5

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 (145) hide show
  1. package/dist/{AddClientCallout-746899d9.js → AddClientCallout-e4e9874f.js} +5 -5
  2. package/dist/{AnswerModal-fdfea0f8.js → AnswerModal-acd3b9c0.js} +248 -248
  3. package/dist/{AttachmentItem-5671c64d.js → AttachmentItem-34e91526.js} +8 -8
  4. package/dist/{BaseDatePicker-a9240306.js → BaseDatePicker-581297bc.js} +43 -43
  5. package/dist/{BaseInput-d3c3688b.js → BaseInput-29d88150.js} +1 -1
  6. package/dist/{BaseUpload-8e7a2b72.js → BaseUpload-84d3b68b.js} +27 -26
  7. package/dist/{BlockMedia-b613a2a4.js → BlockMedia-319932b8.js} +1 -1
  8. package/dist/{CCallout-e9ff903a.js → CCallout-88ae9c08.js} +6 -6
  9. package/dist/{CDropdownItem-05d84f95.js → CDropdownItem-d46bf062.js} +76 -75
  10. package/dist/{CField-cd4dcae9.js → CField-be05883b.js} +1 -1
  11. package/dist/{CSlider.vue_vue_type_style_index_0_lang-383db616.js → CSlider.vue_vue_type_style_index_0_lang-df4c839e.js} +1 -1
  12. package/dist/{ClientAutocomplete-421a2216.js → ClientAutocomplete-68f76bfc.js} +4 -4
  13. package/dist/{ClientModal-11341b1c.js → ClientModal-73086005.js} +16 -16
  14. package/dist/{ColorPicker-f90939b5.js → ColorPicker-11ee76f0.js} +2 -2
  15. package/dist/{CompanyModal-2bfd21b8.js → CompanyModal-0fec4480.js} +8 -8
  16. package/dist/{ContentWrapper-4aae35b2.js → ContentWrapper-fba78b6f.js} +19 -19
  17. package/dist/{CoverBlockSettings-1f917be3.js → CoverBlockSettings-7ffa15b1.js} +19 -19
  18. package/dist/{DocForm-0891c6b2.js → DocForm-e56b3a0c.js} +1208 -832
  19. package/dist/{DocFormSend-2b35999d.js → DocFormSend-cdc4eaf8.js} +14 -14
  20. package/dist/{DocModalBase-225e2f2d.js → DocModalBase-e473b946.js} +4 -4
  21. package/dist/DocPrint-6d8b1f14.js +222 -0
  22. package/dist/{DocReceipt-1391c17a.js → DocReceipt-c8a543f8.js} +1 -1
  23. package/dist/{DocSendReminder-c488842d.js → DocSendReminder-70effa09.js} +1 -1
  24. package/dist/{DocTextEditor-2538e1ab.js → DocTextEditor-cce51e7c.js} +19 -19
  25. package/dist/{DocTimeline-69ada0de.js → DocTimeline-c2cbd773.js} +11 -11
  26. package/dist/{DocumentClient-74b8f25b.js → DocumentClient-611c8c1c.js} +8 -6
  27. package/dist/{formValidationMixin-df38771c.js → DocumentLayout-86c367d1.js} +1617 -1709
  28. package/dist/{DocumentLogotype-e89b53fb.js → DocumentLogotype-441a9fdb.js} +3 -3
  29. package/dist/{EmbedInput-b7fefe5e.js → EmbedInput-a5938c25.js} +2 -2
  30. package/dist/{EmbedSettings-4957252f.js → EmbedSettings-141ab53c.js} +10 -10
  31. package/dist/ErrorCallout-7dea37df.js +30 -0
  32. package/dist/{FilePreviewModal-75693619.js → FilePreviewModal-875fd8c9.js} +8 -7
  33. package/dist/{HeaderSettings-9b69eada.js → HeaderSettings-0364b6df.js} +29 -29
  34. package/dist/{ImageSelectModal-94d4dc7f.js → ImageSelectModal-2d3a69db.js} +11 -11
  35. package/dist/{ImageUploadWrapper-a144b042.js → ImageUploadWrapper-7c70045f.js} +4 -4
  36. package/dist/{Index-023c3119.js → Index-006a27da.js} +10 -10
  37. package/dist/{Index-ec8d534f.js → Index-0313a553.js} +2 -2
  38. package/dist/{Index-4563d3fa.js → Index-06bd31c3.js} +26 -26
  39. package/dist/Index-07ae23ce.js +54 -0
  40. package/dist/{Index-62936c19.js → Index-0f4c9eb4.js} +34 -34
  41. package/dist/{Index-3dff19dd.js → Index-1e0cf88a.js} +10 -9
  42. package/dist/{Index-37a9183b.js → Index-1fc54467.js} +4 -4
  43. package/dist/{Index-abb8c6e4.js → Index-205dd368.js} +14 -14
  44. package/dist/{Index-b7def77a.js → Index-245f88ff.js} +10 -10
  45. package/dist/{Index-9a243eb8.js → Index-28bdb859.js} +2 -2
  46. package/dist/{Index-90492f19.js → Index-2a0c06b1.js} +3 -3
  47. package/dist/{Index-2cb8fa22.js → Index-3d84a32c.js} +9 -9
  48. package/dist/{Index-9ffe9766.js → Index-418c517f.js} +4 -4
  49. package/dist/{Index-f9b5f03c.js → Index-5196628a.js} +27 -27
  50. package/dist/{Index-dbe97658.js → Index-532b8844.js} +2 -2
  51. package/dist/{Index-96f39afc.js → Index-53348c92.js} +4 -4
  52. package/dist/{Index-cec7d4f1.js → Index-54962a1e.js} +15 -15
  53. package/dist/{Index-a37beb03.js → Index-5de564da.js} +2 -2
  54. package/dist/{Index-d68a28da.js → Index-6f957f7e.js} +15 -15
  55. package/dist/{Index-304c45be.js → Index-710d1132.js} +8 -8
  56. package/dist/{Index-a86ea774.js → Index-7a2f20fd.js} +9 -9
  57. package/dist/{Index-693005f0.js → Index-818ef607.js} +4 -4
  58. package/dist/Index-875e7805.js +79 -0
  59. package/dist/{Index-f453850f.js → Index-889b6a45.js} +18 -19
  60. package/dist/{Index-a554b58c.js → Index-8975cd1e.js} +4 -4
  61. package/dist/{Index-97d1f2f3.js → Index-affdb14c.js} +11 -10
  62. package/dist/{Index-3ee2e944.js → Index-b80ab22f.js} +2 -2
  63. package/dist/{Index-53da7be8.js → Index-ba48e68b.js} +8 -8
  64. package/dist/{Index-35387450.js → Index-beb43a1a.js} +95 -95
  65. package/dist/{Index-00ef9241.js → Index-c746dc64.js} +13 -13
  66. package/dist/{Index-1bafafca.js → Index-cf54ef50.js} +2 -2
  67. package/dist/{Index-4440fe3d.js → Index-dbf5c34c.js} +4 -4
  68. package/dist/{Index-bcc478b3.js → Index-fa01557d.js} +12 -12
  69. package/dist/{Index-78f13416.js → Index-ff60354c.js} +7 -7
  70. package/dist/{InputToggleRow-68320d9f.js → InputToggleRow-c520bed9.js} +5 -5
  71. package/dist/IsPremiumPreStep-d4739d6a.js +2443 -0
  72. package/dist/{MediaWrapper-c50879c2.js → MediaWrapper-722723f7.js} +3 -3
  73. package/dist/{NotBindingText-8f2d9244.js → NotBindingText-613399b6.js} +2 -2
  74. package/dist/{PackageGroup-2c49e99b.js → PackageGroup-1085c76c.js} +56 -56
  75. package/dist/{PdfTerms-94153a5f.js → PdfTerms-f98a6f75.js} +8 -7
  76. package/dist/{PdfViewer-701ad40e.js → PdfViewer-096bbf00.js} +5 -4
  77. package/dist/{PlainHtml-04a6d7f9.js → PlainHtml-752bc8d6.js} +1 -1
  78. package/dist/PriceHeader-e25df5eb.js +337 -0
  79. package/dist/{SearchApi-ffe5b697.js → SearchApi-20629627.js} +2 -2
  80. package/dist/{TermsSettings-b1bf19e9.js → TermsSettings-4cc4a9ee.js} +11 -11
  81. package/dist/{ThemeColorRow-913497f6.js → ThemeColorRow-c292abc6.js} +3 -3
  82. package/dist/{ToggleBinding-6518935d.js → ToggleBinding-406175fb.js} +3 -3
  83. package/dist/{UploadModal-3c399d25.js → UploadModal-0cbd0c8f.js} +16 -16
  84. package/dist/{VideoPlayerInput-b54845a4.js → VideoPlayerInput-d7b5fe4b.js} +3 -3
  85. package/dist/{VideoPlayerSettings-496e9e79.js → VideoPlayerSettings-51c75143.js} +12 -12
  86. package/dist/VideoSelectModal-e34cde4b.js +111 -0
  87. package/dist/{answerDocumentMixin-0e5e4dbb.js → answerDocumentMixin-574c5304.js} +3 -3
  88. package/dist/assets/article-options-10291.png +0 -0
  89. package/dist/assets/bg-base-13048.png +0 -0
  90. package/dist/assets/bg-pro-81076.png +0 -0
  91. package/dist/assets/bg-start-20630.png +0 -0
  92. package/dist/assets/blank-10674.png +0 -0
  93. package/dist/assets/block-options-17322.png +0 -0
  94. package/dist/assets/columnGallery.image-24825.png +0 -0
  95. package/dist/assets/doc-send-94456.png +0 -0
  96. package/dist/assets/drag-block-17194.png +0 -0
  97. package/dist/assets/headerCircularGradient.image-13878.png +0 -0
  98. package/dist/assets/roiCalculator.image-14704.png +0 -0
  99. package/dist/assets/text-bubble-53861.png +0 -0
  100. package/dist/{cssMode-c0865919.js → cssMode-eda08630.js} +19 -15
  101. package/dist/dom-068d1a7b.js +59 -0
  102. package/dist/{focusDrawerMixin-298861bc.js → focusDrawerMixin-72f8dd7a.js} +1 -1
  103. package/dist/{formComponentsInstall-1be6791d.js → formComponentsInstall-3f1c6477.js} +40 -40
  104. package/dist/formValidationMixin-d4e84872.js +49 -0
  105. package/dist/{freemarker2-85dde97c.js → freemarker2-42cdfba5.js} +23 -19
  106. package/dist/{handlebars-6aa1e52b.js → handlebars-b4515777.js} +15 -11
  107. package/dist/{html-f0c735cd.js → html-ea5d1845.js} +18 -14
  108. package/dist/{htmlMode-7b3bd7c9.js → htmlMode-1cc3531d.js} +23 -19
  109. package/dist/{index-1ef6f423.js → index-07377b76.js} +45 -45
  110. package/dist/index-676b9274.js +17 -0
  111. package/dist/{index-431938de.js → index-762349d7.js} +7 -7
  112. package/dist/{index-30808a2c.js → index-7adda710.js} +31 -31
  113. package/dist/index.es.js +8 -8
  114. package/dist/index.umd.js +537 -533
  115. package/dist/{javascript-9c54ad9e.js → javascript-185ef2e0.js} +15 -11
  116. package/dist/{jsonMode-1d1176fa.js → jsonMode-59ea4e99.js} +23 -19
  117. package/dist/{liquid-0738c73d.js → liquid-517f2a7c.js} +18 -14
  118. package/dist/{main-2d9b8259.js → main-95207159.js} +15376 -12887
  119. package/dist/{mapFormMixin-308bbdab.js → mapFormMixin-a245a297.js} +1 -1
  120. package/dist/{publicSenderState-9eecb11f.js → publicSenderState-bea5980b.js} +1 -1
  121. package/dist/{python-588c9e64.js → python-eb6703d8.js} +15 -11
  122. package/dist/{razor-fbaa1d21.js → razor-4c5b7deb.js} +22 -18
  123. package/dist/simplebar.min-97b539d6.js +71 -0
  124. package/dist/style.css +2 -2
  125. package/dist/template-b3af7583.js +528 -0
  126. package/dist/{throttle-d7bed81a.js → throttle-a0ce8f66.js} +2 -2
  127. package/dist/{tinycolor-ef496244.js → tinycolor-65e7dc2e.js} +1 -1
  128. package/dist/{FormInputRow-09d450e3.js → tippy.esm-3c111ba9.js} +285 -285
  129. package/dist/{tsMode-c1de8e10.js → tsMode-a4a0e653.js} +19 -15
  130. package/dist/{typescript-737827aa.js → typescript-aeab7849.js} +15 -11
  131. package/dist/{utils-69c41ae9.js → utils-580c7144.js} +1 -1
  132. package/dist/{vuedraggable.umd-67b8cddf.js → vuedraggable.umd-2c22e5f8.js} +41 -41
  133. package/dist/{xml-30e811a1.js → xml-098907e6.js} +18 -14
  134. package/package.json +3 -2
  135. package/stats.html +1 -1
  136. package/vite-plugin-library-asset-external/index.js +134 -0
  137. package/dist/ErrorCallout-42e45ec0.js +0 -30
  138. package/dist/Index-42e26b46.js +0 -79
  139. package/dist/Index-f2b66b79.js +0 -47
  140. package/dist/IsPremiumPreStep-0c7032a3.js +0 -1919
  141. package/dist/PriceHeader-7f92d5a7.js +0 -336
  142. package/dist/VideoSelectModal-3a566398.js +0 -111
  143. package/dist/index-6d08eac3.js +0 -14
  144. package/dist/simplebar.min-75960401.js +0 -2429
  145. package/dist/template-b877debf.js +0 -526
@@ -1,13 +1,13 @@
1
- import { n as i, g as o, H as u, b as l, ag as d } from "./main-2d9b8259.js";
2
- import { m } from "./mapFormMixin-308bbdab.js";
3
- import { w as _ } from "./CDropdownItem-05d84f95.js";
1
+ import { n as i, g as o, N as u, b as l, ak as d } from "./main-95207159.js";
2
+ import { m } from "./mapFormMixin-a245a297.js";
3
+ import { w as _ } from "./CDropdownItem-d46bf062.js";
4
4
  import { m as g, a as f } from "./vuex.esm-4a0fff7c.js";
5
- import { T as v } from "./DocTextEditor-2538e1ab.js";
6
- import { C as h } from "./CCallout-e9ff903a.js";
7
- import "./FormInputRow-09d450e3.js";
8
- import "./ColorPicker-f90939b5.js";
9
- import "./formValidationMixin-df38771c.js";
10
- import "./CSlider.vue_vue_type_style_index_0_lang-383db616.js";
5
+ import { T as v } from "./DocTextEditor-cce51e7c.js";
6
+ import { C as h } from "./CCallout-88ae9c08.js";
7
+ import "./tippy.esm-3c111ba9.js";
8
+ import "./ColorPicker-11ee76f0.js";
9
+ import "./DocumentLayout-86c367d1.js";
10
+ import "./CSlider.vue_vue_type_style_index_0_lang-df4c839e.js";
11
11
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
12
12
  import "./color-71c20583.js";
13
13
  const y = {
@@ -59,7 +59,7 @@ var b = function() {
59
59
  w,
60
60
  !1,
61
61
  null,
62
- "2fc2a770",
62
+ "1a404981",
63
63
  null,
64
64
  null
65
65
  );
@@ -113,7 +113,7 @@ var $ = function() {
113
113
  M,
114
114
  !1,
115
115
  null,
116
- "48d719b0",
116
+ "fbf30b32",
117
117
  null,
118
118
  null
119
119
  );
@@ -152,26 +152,26 @@ const I = {
152
152
  };
153
153
  var B = function() {
154
154
  var e = this, t = e._self._c;
155
- return t("div", { staticClass: "flex w-full" }, [e.avatarUrl ? t("div", [t("div", { staticStyle: { width: "45px", height: "45px", "border-radius": "50%", "background-position": "center", "background-size": "cover", "margin-right": "1.2rem" }, style: { backgroundImage: `url(${e.avatarUrl})` } })]) : e._e(), t("div", { staticClass: "flex flex-grow w-full" }, [t("div", [t("div", { staticStyle: { "font-size": "calc(1rem - 1px)", color: "#73758c", "font-weight": "500" } }, [e._v(e._s(e.$t("bestRegards")))]), t("div", { staticStyle: { "font-size": "calc(1rem + 1px)", "font-weight": "500" } }, [e._v(e._s(e.name))])]), e.cellphone || e.email ? t("div", { staticClass: "contact-wrapper" }, [e.cellphone ? t("a", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
155
+ return t("div", { staticClass: "flex w-full" }, [e.avatarUrl ? t("div", [t("div", { staticStyle: { width: "45px", height: "45px", "border-radius": "50%", "background-position": "center", "background-size": "cover", "margin-right": "calc(1.2 * var(--rem))" }, style: { backgroundImage: `url(${e.avatarUrl})` } })]) : e._e(), t("div", { staticClass: "flex flex-grow w-full" }, [t("div", [t("div", { staticStyle: { "font-size": "calc(calc(1 * var(--rem)) - 1px)", color: "#73758c", "font-weight": "500" } }, [e._v(e._s(e.$t("bestRegards")))]), t("div", { staticStyle: { "font-size": "calc(calc(1 * var(--rem)) + 1px)", "font-weight": "500" } }, [e._v(e._s(e.name))])]), e.cellphone || e.email ? t("div", { staticClass: "contact-wrapper" }, [e.cellphone ? t("a", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
156
156
  content: e.cellphone,
157
157
  autoHide: !1
158
158
  }, expression: `{
159
159
  content: cellphone,
160
160
  autoHide: false,
161
- }` }], attrs: { href: `tel:${e.cellphone}` } }, [t("CButton", { staticClass: "has-text-grey", attrs: { circle: "", type: "none", pattern: "secondary", icon: "phone" } })], 1) : e._e(), e.email ? t("a", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
161
+ }` }], attrs: { href: `tel:${e.cellphone}` } }, [t("CButton", { staticClass: "text-gray-400", attrs: { circle: "", type: "none", pattern: "secondary", icon: "phone" } })], 1) : e._e(), e.email ? t("a", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
162
162
  content: e.email,
163
163
  autoHide: !1
164
164
  }, expression: `{
165
165
  content: email,
166
166
  autoHide: false,
167
- }` }], attrs: { href: `mailto:${e.email}` } }, [t("CButton", { staticClass: "has-text-grey", attrs: { circle: "", type: "none", pattern: "secondary", icon: "email" } })], 1) : e._e()]) : e._e()])]);
167
+ }` }], attrs: { href: `mailto:${e.email}` } }, [t("CButton", { staticClass: "text-gray-400", attrs: { circle: "", type: "none", pattern: "secondary", icon: "email" } })], 1) : e._e()]) : e._e()])]);
168
168
  }, z = [], D = /* @__PURE__ */ i(
169
169
  I,
170
170
  B,
171
171
  z,
172
172
  !1,
173
173
  null,
174
- "8d65d995",
174
+ "7ce422df",
175
175
  null,
176
176
  null
177
177
  );
@@ -235,7 +235,7 @@ const E = {
235
235
  };
236
236
  var R = function() {
237
237
  var e = this, t = e._self._c;
238
- return t("div", { staticClass: "has-background-white", staticStyle: { padding: "2rem", "border-radius": "0.75em" } }, [t("div", { staticStyle: { "font-size": "calc(1rem + 4px)", "font-weight": "900", "margin-bottom": "1rem" } }, [e._v(e._s(e.$t("title")))]), t("TextEditor", { ref: "textEditor", staticStyle: { "margin-bottom": "1em" }, attrs: { extensions: {
238
+ return t("div", { staticClass: "bg-white", staticStyle: { padding: "calc(2 * var(--rem))", "border-radius": "0.75em" } }, [t("div", { staticStyle: { "font-size": "calc(calc(1 * var(--rem)) + 4px)", "font-weight": "900", "margin-bottom": "calc(1 * var(--rem))" } }, [e._v(e._s(e.$t("title")))]), t("TextEditor", { ref: "textEditor", staticStyle: { "margin-bottom": "1em" }, attrs: { extensions: {
239
239
  blockquote: !0,
240
240
  highlight: !0,
241
241
  image: !0,
@@ -275,8 +275,8 @@ const A = {
275
275
  name: "DocPresentationMessage",
276
276
  components: {
277
277
  AvatarContact: F,
278
- IsPremium: () => import("./index-6d08eac3.js").then((s) => s.IsPremium),
279
- IsPremiumPreStep: () => import("./index-6d08eac3.js").then((s) => s.IsPremiumPreStep)
278
+ IsPremium: () => import("./index-676b9274.js").then((s) => s.IsPremium),
279
+ IsPremiumPreStep: () => import("./index-676b9274.js").then((s) => s.IsPremiumPreStep)
280
280
  },
281
281
  props: {
282
282
  _document: {
@@ -320,20 +320,20 @@ const A = {
320
320
  };
321
321
  var V = function() {
322
322
  var e = this, t = e._self._c;
323
- return t("div", { staticClass: "presentation-message" }, [e.content ? t("div", { staticClass: "quill-format", domProps: { innerHTML: e._s(e.content) } }) : e._e(), e.editable && e.content ? t("div", { staticStyle: { "margin-top": "2rem" } }, [t("CButton", { attrs: { type: "none", pattern: "secondary", size: "normal", "icon-left": "edit" }, on: { click: e.openEditModal } }, [e._v(" " + e._s(e.$t("changeMessage")) + " ")])], 1) : !e.content && e.editable ? t("CCallout", { attrs: { title: e.$t("addMessage") } }, [t("div", [e._v(e._s(e.$t("pmPlaceholder")))]), t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ allowPremiumFeatures: a }) {
323
+ return t("div", { staticClass: "presentation-message" }, [e.content ? t("div", { staticClass: "quill-format", domProps: { innerHTML: e._s(e.content) } }) : e._e(), e.editable && e.content ? t("div", { staticStyle: { "margin-top": "calc(2 * var(--rem))" } }, [t("CButton", { attrs: { type: "none", pattern: "secondary", size: "normal", "icon-left": "edit" }, on: { click: e.openEditModal } }, [e._v(" " + e._s(e.$t("changeMessage")) + " ")])], 1) : !e.content && e.editable ? t("CCallout", { attrs: { title: e.$t("addMessage") } }, [t("div", [e._v(e._s(e.$t("pmPlaceholder")))]), t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ allowPremiumFeatures: a }) {
324
324
  return [t("IsPremiumPreStep", { attrs: { feature: "personalMessage" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: n }) {
325
- return [t("CButton", { staticStyle: { "margin-top": "1.5rem" }, attrs: { type: "secondary", size: "normal" }, on: { click: function(r) {
325
+ return [t("CButton", { staticStyle: { "margin-top": "calc(1.5 * var(--rem))" }, attrs: { type: "secondary", size: "normal" }, on: { click: function(r) {
326
326
  a ? e.openEditModal() : n({ callback: e.openEditModal });
327
327
  } } }, [e._v(" " + e._s(e.$t("writeMessage")) + " ")])];
328
328
  } }], null, !0) })];
329
- } }]) })], 1) : e._e(), e.avatar ? t("AvatarContact", { staticStyle: { "margin-top": "2.5rem" }, attrs: { "avatar-url": e.creator.image, name: e.creator.name, cellphone: e.creator.cellphone, email: e.creator.email } }) : e._e()], 1);
329
+ } }]) })], 1) : e._e(), e.avatar ? t("AvatarContact", { staticStyle: { "margin-top": "calc(2.5 * var(--rem))" }, attrs: { "avatar-url": e.creator.image, name: e.creator.name, cellphone: e.creator.cellphone, email: e.creator.email } }) : e._e()], 1);
330
330
  }, H = [], U = /* @__PURE__ */ i(
331
331
  A,
332
332
  V,
333
333
  H,
334
334
  !1,
335
335
  null,
336
- "8fe1c5d4",
336
+ "6bd1cca9",
337
337
  null,
338
338
  null
339
339
  );
@@ -382,14 +382,14 @@ var N = function() {
382
382
  classes: 'simple small',
383
383
  placement: 'top',
384
384
  offset: 2,
385
- }` }], staticClass: "social-media-button", attrs: { href: e.url.toLowerCase().startsWith("http") ? e.url : `//${e.url}`, target: "_blank", rel: "noopener" } }, [t("CButton", { staticClass: "has-text-grey", attrs: { circle: "", type: "none", pattern: "secondary" } }, [e.type === "website" ? t("svg", { staticClass: "website-icon", attrs: { width: "18", height: "18", viewBox: "0 0 146 146", xmlns: "http://www.w3.org/2000/svg" } }, [t("g", { attrs: { transform: "translate(8 8)", fill: "none", "fill-rule": "evenodd" } }, [t("path", { attrs: { d: "M10.508537 0C4.704832 0 0 4.70357 0 10.500874v108.998252C0 125.298599 4.70357 130 10.500874 130h108.998252C125.298599 130 130 125.29643 130 119.499126V10.500874C130 4.7014 125.300178 0 119.497413 0H10.508537zM2.5 50.5h124.016128", stroke: "#3E8EFF", "stroke-width": "16", "stroke-linecap": "square" } }), t("circle", { attrs: { fill: "#3E8EFF", cx: "27", cy: "26", r: "7" } }), t("circle", { attrs: { fill: "#3E8EFF", cx: "51", cy: "26", r: "7" } }), t("circle", { attrs: { fill: "#3E8EFF", cx: "75", cy: "26", r: "7" } })])]) : e._e(), e.type === "linkedin" ? t("BaseIcon", { staticClass: "linkedin-icon", attrs: { size: 18, type: "linkedin" } }) : e._e(), e.type === "instagram" ? t("svg", { staticClass: "instagram-icon", attrs: { width: "18", height: "18", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" } }, [t("path", { attrs: { d: "M256 49.471c67.266 0 75.233.257 101.8 1.469 24.562 1.121 37.9 5.224 46.778 8.674a78.052 78.052 0 0 1 28.966 18.845 78.052 78.052 0 0 1 18.845 28.966c3.45 8.877 7.554 22.216 8.674 46.778 1.212 26.565 1.469 34.532 1.469 101.8s-.257 75.233-1.469 101.8c-1.121 24.562-5.225 37.9-8.674 46.778a83.427 83.427 0 0 1-47.811 47.811c-8.877 3.45-22.216 7.554-46.778 8.674-26.56 1.212-34.527 1.469-101.8 1.469s-75.237-.257-101.8-1.469c-24.562-1.121-37.9-5.225-46.778-8.674a78.051 78.051 0 0 1-28.966-18.845 78.053 78.053 0 0 1-18.845-28.966c-3.45-8.877-7.554-22.216-8.674-46.778-1.212-26.564-1.469-34.532-1.469-101.8s.257-75.233 1.469-101.8c1.121-24.562 5.224-37.9 8.674-46.778a78.052 78.052 0 0 1 18.847-28.967 78.053 78.053 0 0 1 28.966-18.845c8.877-3.45 22.216-7.554 46.778-8.674 26.565-1.212 34.532-1.469 101.8-1.469m0-45.391c-68.418 0-77 .29-103.866 1.516-26.815 1.224-45.127 5.482-61.151 11.71a123.488 123.488 0 0 0-44.62 29.057A123.488 123.488 0 0 0 17.3 90.982c-6.223 16.025-10.481 34.337-11.7 61.152C4.369 179 4.079 187.582 4.079 256s.29 77 1.521 103.866c1.224 26.815 5.482 45.127 11.71 61.151a123.489 123.489 0 0 0 29.057 44.62 123.486 123.486 0 0 0 44.62 29.057c16.025 6.228 34.337 10.486 61.151 11.71 26.87 1.226 35.449 1.516 103.866 1.516s77-.29 103.866-1.516c26.815-1.224 45.127-5.482 61.151-11.71a128.817 128.817 0 0 0 73.677-73.677c6.228-16.025 10.486-34.337 11.71-61.151 1.226-26.87 1.516-35.449 1.516-103.866s-.29-77-1.516-103.866c-1.224-26.815-5.482-45.127-11.71-61.151a123.486 123.486 0 0 0-29.057-44.62A123.487 123.487 0 0 0 421.018 17.3c-16.025-6.223-34.337-10.481-61.152-11.7C333 4.369 324.418 4.079 256 4.079z" } }), t("path", { attrs: { d: "M256 126.635A129.365 129.365 0 1 0 385.365 256 129.365 129.365 0 0 0 256 126.635zm0 213.338A83.973 83.973 0 1 1 339.974 256 83.974 83.974 0 0 1 256 339.973z" } }), t("circle", { attrs: { cx: "390.476", cy: "121.524", r: "30.23" } })]) : e._e(), e.type === "facebook" ? t("svg", { staticClass: "facebook-icon", attrs: { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24" } }, [t("path", { attrs: { d: "M22.675 0H1.325C.593 0 0 .593 0 1.325v21.351C0 23.407.593 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.893-4.788 4.659-4.788 1.325 0 2.463.099 2.795.143v3.24l-1.918.001c-1.504 0-1.795.715-1.795 1.763v2.313h3.587l-.467 3.622h-3.12V24h6.116c.73 0 1.323-.593 1.323-1.325V1.325C24 .593 23.407 0 22.675 0z" } })]) : e._e(), e.type === "google" ? t("svg", { staticClass: "google-icon", attrs: { width: "20", height: "20", xmlns: "http://www.w3.org/2000/svg", "aria-label": "Google", role: "img", viewBox: "0 0 512 512" } }, [t("rect", { attrs: { width: "512", height: "512", rx: "15%", fill: "none" } }), t("path", { attrs: { fill: "#5a6886", d: "M386 400c45-42 65-112 53-179H260v74h102c-4 24-18 44-38 57z" } }), t("path", { attrs: { fill: "#5a6886", d: "M90 341a192 192 0 0 0 296 59l-62-48c-53 35-141 22-171-60z" } }), t("path", { attrs: { fill: "#5a6886", d: "M153 292c-8-25-8-48 0-73l-63-49c-23 46-30 111 0 171z" } }), t("path", { attrs: { fill: "#5a6886", d: "M153 219c22-69 116-109 179-50l55-54c-78-75-230-72-297 55z" } })]) : e._e(), e.type === "reco" ? t("svg", { staticClass: "reco-icon", attrs: { width: "20", height: "20", viewBox: "0 0 188 163", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M17.035792 77.21013c.134576 3.81669.650037 7.69152 1.569666 11.59061 8.363034 35.45799 47.039175 59.7296 88.485526 55.77833L89.860598 67.77959l-72.824806 9.43054zm.973286-12.68806l69.398537-7.67594-9.671508-43.10794C45.59368 17.85816 22.942511 38.77825 18.009081 64.52207zm143.02734-15.81978c-14.905342-21.89837-43.103385-36.14241-73.073905-35.69191L99.84883 55.47005l61.187588-6.76776zm5.240304 9.18169l-63.451888 8.21679 21.060817 75.23232c33.769528-10.10888 54.05118-39.73898 46.562981-71.4878-.976607-4.14067-2.383129-8.13748-4.17191-11.96131zm-54.317558 104.49575C61.065612 167.89817 11.730953 136.16134 1.767118 91.49354-8.196717 46.82575 24.983374 6.14176 75.876925.62332c50.893551-5.51844 100.22821 26.21839 110.192045 70.88619 9.963835 44.66779-23.216255 85.35178-74.109806 90.87022z", fill: "#000", "fill-rule": "evenodd" } })]) : e._e()], 1)], 1);
385
+ }` }], staticClass: "social-media-button", attrs: { href: e.url.toLowerCase().startsWith("http") ? e.url : `//${e.url}`, target: "_blank", rel: "noopener" } }, [t("CButton", { staticClass: "text-gray-400", attrs: { circle: "", type: "none", pattern: "secondary" } }, [e.type === "website" ? t("svg", { staticClass: "website-icon", attrs: { width: "18", height: "18", viewBox: "0 0 146 146", xmlns: "http://www.w3.org/2000/svg" } }, [t("g", { attrs: { transform: "translate(8 8)", fill: "none", "fill-rule": "evenodd" } }, [t("path", { attrs: { d: "M10.508537 0C4.704832 0 0 4.70357 0 10.500874v108.998252C0 125.298599 4.70357 130 10.500874 130h108.998252C125.298599 130 130 125.29643 130 119.499126V10.500874C130 4.7014 125.300178 0 119.497413 0H10.508537zM2.5 50.5h124.016128", stroke: "#3E8EFF", "stroke-width": "16", "stroke-linecap": "square" } }), t("circle", { attrs: { fill: "#3E8EFF", cx: "27", cy: "26", r: "7" } }), t("circle", { attrs: { fill: "#3E8EFF", cx: "51", cy: "26", r: "7" } }), t("circle", { attrs: { fill: "#3E8EFF", cx: "75", cy: "26", r: "7" } })])]) : e._e(), e.type === "linkedin" ? t("BaseIcon", { staticClass: "linkedin-icon", attrs: { size: 18, type: "linkedin" } }) : e._e(), e.type === "instagram" ? t("svg", { staticClass: "instagram-icon", attrs: { width: "18", height: "18", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" } }, [t("path", { attrs: { d: "M256 49.471c67.266 0 75.233.257 101.8 1.469 24.562 1.121 37.9 5.224 46.778 8.674a78.052 78.052 0 0 1 28.966 18.845 78.052 78.052 0 0 1 18.845 28.966c3.45 8.877 7.554 22.216 8.674 46.778 1.212 26.565 1.469 34.532 1.469 101.8s-.257 75.233-1.469 101.8c-1.121 24.562-5.225 37.9-8.674 46.778a83.427 83.427 0 0 1-47.811 47.811c-8.877 3.45-22.216 7.554-46.778 8.674-26.56 1.212-34.527 1.469-101.8 1.469s-75.237-.257-101.8-1.469c-24.562-1.121-37.9-5.225-46.778-8.674a78.051 78.051 0 0 1-28.966-18.845 78.053 78.053 0 0 1-18.845-28.966c-3.45-8.877-7.554-22.216-8.674-46.778-1.212-26.564-1.469-34.532-1.469-101.8s.257-75.233 1.469-101.8c1.121-24.562 5.224-37.9 8.674-46.778a78.052 78.052 0 0 1 18.847-28.967 78.053 78.053 0 0 1 28.966-18.845c8.877-3.45 22.216-7.554 46.778-8.674 26.565-1.212 34.532-1.469 101.8-1.469m0-45.391c-68.418 0-77 .29-103.866 1.516-26.815 1.224-45.127 5.482-61.151 11.71a123.488 123.488 0 0 0-44.62 29.057A123.488 123.488 0 0 0 17.3 90.982c-6.223 16.025-10.481 34.337-11.7 61.152C4.369 179 4.079 187.582 4.079 256s.29 77 1.521 103.866c1.224 26.815 5.482 45.127 11.71 61.151a123.489 123.489 0 0 0 29.057 44.62 123.486 123.486 0 0 0 44.62 29.057c16.025 6.228 34.337 10.486 61.151 11.71 26.87 1.226 35.449 1.516 103.866 1.516s77-.29 103.866-1.516c26.815-1.224 45.127-5.482 61.151-11.71a128.817 128.817 0 0 0 73.677-73.677c6.228-16.025 10.486-34.337 11.71-61.151 1.226-26.87 1.516-35.449 1.516-103.866s-.29-77-1.516-103.866c-1.224-26.815-5.482-45.127-11.71-61.151a123.486 123.486 0 0 0-29.057-44.62A123.487 123.487 0 0 0 421.018 17.3c-16.025-6.223-34.337-10.481-61.152-11.7C333 4.369 324.418 4.079 256 4.079z" } }), t("path", { attrs: { d: "M256 126.635A129.365 129.365 0 1 0 385.365 256 129.365 129.365 0 0 0 256 126.635zm0 213.338A83.973 83.973 0 1 1 339.974 256 83.974 83.974 0 0 1 256 339.973z" } }), t("circle", { attrs: { cx: "390.476", cy: "121.524", r: "30.23" } })]) : e._e(), e.type === "facebook" ? t("svg", { staticClass: "facebook-icon", attrs: { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24" } }, [t("path", { attrs: { d: "M22.675 0H1.325C.593 0 0 .593 0 1.325v21.351C0 23.407.593 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.893-4.788 4.659-4.788 1.325 0 2.463.099 2.795.143v3.24l-1.918.001c-1.504 0-1.795.715-1.795 1.763v2.313h3.587l-.467 3.622h-3.12V24h6.116c.73 0 1.323-.593 1.323-1.325V1.325C24 .593 23.407 0 22.675 0z" } })]) : e._e(), e.type === "google" ? t("svg", { staticClass: "google-icon", attrs: { width: "20", height: "20", xmlns: "http://www.w3.org/2000/svg", "aria-label": "Google", role: "img", viewBox: "0 0 512 512" } }, [t("rect", { attrs: { width: "512", height: "512", rx: "15%", fill: "none" } }), t("path", { attrs: { fill: "#5a6886", d: "M386 400c45-42 65-112 53-179H260v74h102c-4 24-18 44-38 57z" } }), t("path", { attrs: { fill: "#5a6886", d: "M90 341a192 192 0 0 0 296 59l-62-48c-53 35-141 22-171-60z" } }), t("path", { attrs: { fill: "#5a6886", d: "M153 292c-8-25-8-48 0-73l-63-49c-23 46-30 111 0 171z" } }), t("path", { attrs: { fill: "#5a6886", d: "M153 219c22-69 116-109 179-50l55-54c-78-75-230-72-297 55z" } })]) : e._e(), e.type === "reco" ? t("svg", { staticClass: "reco-icon", attrs: { width: "20", height: "20", viewBox: "0 0 188 163", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M17.035792 77.21013c.134576 3.81669.650037 7.69152 1.569666 11.59061 8.363034 35.45799 47.039175 59.7296 88.485526 55.77833L89.860598 67.77959l-72.824806 9.43054zm.973286-12.68806l69.398537-7.67594-9.671508-43.10794C45.59368 17.85816 22.942511 38.77825 18.009081 64.52207zm143.02734-15.81978c-14.905342-21.89837-43.103385-36.14241-73.073905-35.69191L99.84883 55.47005l61.187588-6.76776zm5.240304 9.18169l-63.451888 8.21679 21.060817 75.23232c33.769528-10.10888 54.05118-39.73898 46.562981-71.4878-.976607-4.14067-2.383129-8.13748-4.17191-11.96131zm-54.317558 104.49575C61.065612 167.89817 11.730953 136.16134 1.767118 91.49354-8.196717 46.82575 24.983374 6.14176 75.876925.62332c50.893551-5.51844 100.22821 26.21839 110.192045 70.88619 9.963835 44.66779-23.216255 85.35178-74.109806 90.87022z", fill: "#000", "fill-rule": "evenodd" } })]) : e._e()], 1)], 1);
386
386
  }, W = [], G = /* @__PURE__ */ i(
387
387
  L,
388
388
  N,
389
389
  W,
390
390
  !1,
391
391
  null,
392
- "9543947b",
392
+ "b349de8a",
393
393
  null,
394
394
  null
395
395
  );
@@ -418,7 +418,7 @@ var Y = function() {
418
418
  J,
419
419
  !1,
420
420
  null,
421
- "1a348777",
421
+ "3dd0a0fd",
422
422
  null,
423
423
  null
424
424
  );
@@ -469,7 +469,7 @@ var te = function() {
469
469
  se,
470
470
  !1,
471
471
  null,
472
- "8afe2003",
472
+ "3c990152",
473
473
  null,
474
474
  null
475
475
  );
@@ -656,7 +656,7 @@ var re = function() {
656
656
  oe,
657
657
  !1,
658
658
  null,
659
- "f46f66e3",
659
+ "1878d336",
660
660
  null,
661
661
  null
662
662
  );
@@ -1,5 +1,5 @@
1
- import { P as n } from "./PlainHtml-04a6d7f9.js";
2
- import { n as s } from "./main-2d9b8259.js";
1
+ import { P as n } from "./PlainHtml-752bc8d6.js";
2
+ import { n as s } from "./main-95207159.js";
3
3
  const o = {
4
4
  name: "EstimatedTimeToCompleteTextRead",
5
5
  props: {
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-308bbdab.js";
2
- import { n as r } from "./main-2d9b8259.js";
1
+ import { m as e } from "./mapFormMixin-a245a297.js";
2
+ import { n as r } from "./main-95207159.js";
3
3
  const a = {
4
4
  name: "EstimatedWorkStartAndEndAtText",
5
5
  components: {
6
- Read: () => import("./Index-3ee2e944.js"),
7
- Edit: () => import("./Index-d68a28da.js")
6
+ Read: () => import("./Index-b80ab22f.js"),
7
+ Edit: () => import("./Index-6f957f7e.js")
8
8
  },
9
9
  mixins: [e(["startAt", "endAt"])]
10
10
  };
@@ -1,21 +1,21 @@
1
- import { b as n, q as s, r as c, s as i, z as a, n as l } from "./main-2d9b8259.js";
2
- import { m as v } from "./mapFormMixin-308bbdab.js";
3
- import { f as u } from "./focusDrawerMixin-298861bc.js";
4
- import { B as d } from "./BlockMedia-b613a2a4.js";
5
- import { T as m } from "./DocTextEditor-2538e1ab.js";
1
+ import { b as n, r as s, s as c, t as a, F as i, n as l } from "./main-95207159.js";
2
+ import { m as v } from "./mapFormMixin-a245a297.js";
3
+ import { f as u } from "./focusDrawerMixin-72f8dd7a.js";
4
+ import { B as d } from "./BlockMedia-319932b8.js";
5
+ import { T as m } from "./DocTextEditor-cce51e7c.js";
6
6
  import "./color-71c20583.js";
7
- import "./FormInputRow-09d450e3.js";
8
- import "./ColorPicker-f90939b5.js";
9
- import "./formValidationMixin-df38771c.js";
10
- import "./CDropdownItem-05d84f95.js";
11
- import "./CSlider.vue_vue_type_style_index_0_lang-383db616.js";
7
+ import "./tippy.esm-3c111ba9.js";
8
+ import "./ColorPicker-11ee76f0.js";
9
+ import "./DocumentLayout-86c367d1.js";
10
+ import "./CDropdownItem-d46bf062.js";
11
+ import "./CSlider.vue_vue_type_style_index_0_lang-df4c839e.js";
12
12
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
13
13
  const _ = {
14
14
  name: "CoverBlock",
15
15
  components: {
16
16
  BlockMedia: d,
17
17
  TextEditor: m,
18
- CoverBlockSettings: () => import("./CoverBlockSettings-1f917be3.js")
18
+ CoverBlockSettings: () => import("./CoverBlockSettings-7ffa15b1.js")
19
19
  },
20
20
  mixins: [
21
21
  v(["coverBlock"]),
@@ -34,7 +34,7 @@ const _ = {
34
34
  return this.canEdit ? s(t, this._document.textTemplateMap, this._document._doc) : c(t, this._document._doc);
35
35
  },
36
36
  set(t) {
37
- this.setValue({ key: "text", value: i(t) });
37
+ this.setValue({ key: "text", value: a(t) });
38
38
  }
39
39
  },
40
40
  media() {
@@ -44,7 +44,7 @@ const _ = {
44
44
  },
45
45
  methods: {
46
46
  setValue({ key: t, value: e }) {
47
- this.coverBlock = a(this.coverBlock, t, e);
47
+ this.coverBlock = i(this.coverBlock, t, e);
48
48
  },
49
49
  onAdd() {
50
50
  const t = () => this.$refs.editor.focus();
@@ -64,7 +64,7 @@ var p = function() {
64
64
  e.text = r;
65
65
  }, expression: "text" } })], 1)])], 1), e.isForm ? [e.showControls ? o("CButton", { staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: function(r) {
66
66
  e.showDrawer = !0;
67
- } } }, [e._v(" " + e._s(e.$t("_common:appearance").capitalize()) + " ")]) : e._e(), e.showDrawer ? o("portal", { attrs: { to: "drawer-content" } }, [o("CButton", { staticStyle: { position: "absolute", top: "0.5rem", right: "0.5rem" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(r) {
67
+ } } }, [e._v(" " + e._s(e.$t("_common:appearance").capitalize()) + " ")]) : e._e(), e.showDrawer ? o("portal", { attrs: { to: "drawer-content" } }, [o("CButton", { staticStyle: { position: "absolute", top: "calc(0.5 * var(--rem))", right: "calc(0.5 * var(--rem))" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(r) {
68
68
  e.showDrawer = !1;
69
69
  } } }), o("CoverBlockSettings", { attrs: { _document: e._document, _value: {
70
70
  type: `${e._value.coverBlock}.type`,
@@ -86,7 +86,7 @@ var p = function() {
86
86
  f,
87
87
  !1,
88
88
  null,
89
- "a73620d5",
89
+ "28cafa4b",
90
90
  null,
91
91
  null
92
92
  );
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-2d9b8259.js";
1
+ import { n as r } from "./main-95207159.js";
2
2
  const l = {
3
3
  name: "DocChapterSub",
4
4
  inheritAttrs: !1,
@@ -23,7 +23,7 @@ var o = function(e, t) {
23
23
  u,
24
24
  !0,
25
25
  null,
26
- "463b1e49",
26
+ "e2258a71",
27
27
  null,
28
28
  null
29
29
  );
@@ -1,8 +1,8 @@
1
- import { m as n } from "./mapFormMixin-308bbdab.js";
2
- import { I as s } from "./InputToggleRow-68320d9f.js";
3
- import { B as r } from "./BaseDatePicker-a9240306.js";
4
- import { n as l } from "./main-2d9b8259.js";
5
- const i = {
1
+ import { m as r } from "./mapFormMixin-a245a297.js";
2
+ import { I as n } from "./InputToggleRow-c520bed9.js";
3
+ import { B as l } from "./BaseDatePicker-581297bc.js";
4
+ import { n as s } from "./main-95207159.js";
5
+ const c = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeStartEnd",
8
8
  messages: {
@@ -26,38 +26,38 @@ const i = {
26
26
  },
27
27
  name: "EstimatedWorkStartAndEndAtTextEdit",
28
28
  components: {
29
- InputToggleRow: s,
30
- BaseDatePicker: r
29
+ InputToggleRow: n,
30
+ BaseDatePicker: l
31
31
  },
32
- mixins: [n([
32
+ mixins: [r([
33
33
  "startAt",
34
34
  "endAt"
35
35
  ])]
36
36
  };
37
- var o = function() {
37
+ var i = function() {
38
38
  var t = this, a = t._self._c;
39
39
  return a("InputToggleRow", { attrs: { "display-value": t.startAt && t.endAt ? `${t.$formatDate(t.startAt)} → ${t.$formatDate(t.endAt)}` : t.$t("_common:add"), label: t.$t("label"), "show-clear": !!(t.startAt && t.endAt) }, on: { remove: function(e) {
40
40
  t.startAt = null, t.endAt = null;
41
- } } }, [a("div", { staticStyle: { display: "inline-flex" } }, [a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "8rem" }, attrs: { placeholder: t.$t("placeholders.start") }, on: { click: function(e) {
41
+ } } }, [a("div", { staticStyle: { display: "inline-flex" } }, [a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "calc(8 * var(--rem))" }, attrs: { placeholder: t.$t("placeholders.start") }, on: { click: function(e) {
42
42
  e.preventDefault();
43
43
  } }, model: { value: t.startAt, callback: function(e) {
44
44
  t.startAt = e;
45
- }, expression: "startAt" } }), a("div", { staticStyle: { "line-height": "3rem", margin: "0 0.5rem", "font-size": "calc(1rem + 2px)" } }, [t._v("→")]), a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "8rem" }, attrs: { static: !0, placeholder: t.$t("placeholders.end") }, on: { click: function(e) {
45
+ }, expression: "startAt" } }), a("div", { staticStyle: { "line-height": "calc(3 * var(--rem))", margin: "0 calc(0.5 * var(--rem))", "font-size": "calc(calc(1 * var(--rem)) + 2px)" } }, [t._v("→")]), a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "calc(8 * var(--rem))" }, attrs: { static: !0, placeholder: t.$t("placeholders.end") }, on: { click: function(e) {
46
46
  e.preventDefault();
47
47
  } }, model: { value: t.endAt, callback: function(e) {
48
48
  t.endAt = e;
49
49
  }, expression: "endAt" } })], 1)]);
50
- }, d = [], c = /* @__PURE__ */ l(
50
+ }, o = [], d = /* @__PURE__ */ s(
51
+ c,
51
52
  i,
52
53
  o,
53
- d,
54
54
  !1,
55
55
  null,
56
56
  null,
57
57
  null,
58
58
  null
59
59
  );
60
- const v = c.exports;
60
+ const A = d.exports;
61
61
  export {
62
- v as default
62
+ A as default
63
63
  };
@@ -1,11 +1,11 @@
1
- import { m as s } from "./mapFormMixin-308bbdab.js";
2
- import { q as i, r, s as a, n as c } from "./main-2d9b8259.js";
3
- import { T as m } from "./DocTextEditor-2538e1ab.js";
4
- import "./FormInputRow-09d450e3.js";
5
- import "./ColorPicker-f90939b5.js";
6
- import "./formValidationMixin-df38771c.js";
7
- import "./CDropdownItem-05d84f95.js";
8
- import "./CSlider.vue_vue_type_style_index_0_lang-383db616.js";
1
+ import { m as s } from "./mapFormMixin-a245a297.js";
2
+ import { r as i, s as r, t as a, n as c } from "./main-95207159.js";
3
+ import { T as m } from "./DocTextEditor-cce51e7c.js";
4
+ import "./tippy.esm-3c111ba9.js";
5
+ import "./ColorPicker-11ee76f0.js";
6
+ import "./DocumentLayout-86c367d1.js";
7
+ import "./CDropdownItem-d46bf062.js";
8
+ import "./CSlider.vue_vue_type_style_index_0_lang-df4c839e.js";
9
9
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
10
10
  import "./color-71c20583.js";
11
11
  const d = {
@@ -1,7 +1,7 @@
1
- import { m as s } from "./mapFormMixin-308bbdab.js";
2
- import { f as r } from "./focusDrawerMixin-298861bc.js";
3
- import { g as n } from "./utils-69c41ae9.js";
4
- import { n as a } from "./main-2d9b8259.js";
1
+ import { m as s } from "./mapFormMixin-a245a297.js";
2
+ import { f as r } from "./focusDrawerMixin-72f8dd7a.js";
3
+ import { g as n } from "./utils-580c7144.js";
4
+ import { n as a } from "./main-95207159.js";
5
5
  const d = {
6
6
  name: "VideoPlayer",
7
7
  i18nOptions: {
@@ -9,8 +9,8 @@ const d = {
9
9
  keyPrefix: "document.videoPlayer"
10
10
  },
11
11
  components: {
12
- VideoPlayerSettings: () => import("./VideoPlayerSettings-496e9e79.js"),
13
- VideoPlayerInput: () => import("./VideoPlayerInput-b54845a4.js")
12
+ VideoPlayerSettings: () => import("./VideoPlayerSettings-51c75143.js"),
13
+ VideoPlayerInput: () => import("./VideoPlayerInput-d7b5fe4b.js")
14
14
  },
15
15
  mixins: [s(["videoPlayer"]), r()],
16
16
  data() {
@@ -79,13 +79,13 @@ var l = function() {
79
79
  e.showControls = !0;
80
80
  }, "&mouseleave": function(o) {
81
81
  e.showControls = !1;
82
- } } }, [i("div", { staticClass: "no-drag", class: [`video-is-${e.size}`] }, [i("div", { staticClass: "video-container", style: { paddingTop: e.aspectRatio } }, [!e.video.url && e.canEdit ? i("div", { staticClass: "video-element" }, [i("div", { staticClass: "is-placeholder" }, [i("div", { staticClass: "has-text-grey-dark" }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), i("VideoPlayerInput", { ref: "input", staticStyle: { "padding-top": "1em" }, attrs: { value: e.video }, on: { input: function(o) {
82
+ } } }, [i("div", { staticClass: "no-drag", class: [`video-is-${e.size}`] }, [i("div", { staticClass: "video-container", style: { paddingTop: e.aspectRatio } }, [!e.video.url && e.canEdit ? i("div", { staticClass: "video-element" }, [i("div", { staticClass: "is-placeholder" }, [i("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), i("VideoPlayerInput", { ref: "input", staticStyle: { "padding-top": "1em" }, attrs: { value: e.video }, on: { input: function(o) {
83
83
  return e.setValue({ key: "video", value: o });
84
84
  }, "hook:mounted": function(o) {
85
85
  return e.$emit("triggerOnAdd");
86
86
  } } })], 1)]) : i("iframe", { ref: "iframe", staticClass: "video-element", attrs: { title: "Video", src: e.video.url, frameborder: "0", allowfullscreen: "" } })])]), e.isForm ? [i("CButton", { directives: [{ name: "show", rawName: "v-show", value: e.showControls, expression: "showControls" }], staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: function(o) {
87
87
  e.showDrawer = !0;
88
- } } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]), e.showDrawer ? i("portal", { attrs: { to: "drawer-content" } }, [i("CButton", { staticStyle: { position: "absolute", top: "0.5rem", right: "0.5rem" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(o) {
88
+ } } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]), e.showDrawer ? i("portal", { attrs: { to: "drawer-content" } }, [i("CButton", { staticStyle: { position: "absolute", top: "calc(0.5 * var(--rem))", right: "calc(0.5 * var(--rem))" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(o) {
89
89
  e.showDrawer = !1;
90
90
  } } }), i("VideoPlayerSettings", { attrs: { video: e.video, size: e.size }, on: { input: e.setValue } })], 1) : e._e()] : e._e()], 2);
91
91
  }, c = [], u = /* @__PURE__ */ a(
@@ -94,7 +94,7 @@ var l = function() {
94
94
  c,
95
95
  !1,
96
96
  null,
97
- "4d771621",
97
+ "846fc9cb",
98
98
  null,
99
99
  null
100
100
  );
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-308bbdab.js";
2
- import { n as i } from "./main-2d9b8259.js";
1
+ import { m as e } from "./mapFormMixin-a245a297.js";
2
+ import { n as i } from "./main-95207159.js";
3
3
  const r = {
4
4
  name: "ExtraWorkTimeImpactText",
5
5
  components: {
6
- Read: () => import("./Index-9a243eb8.js"),
7
- Edit: () => import("./Index-53da7be8.js")
6
+ Read: () => import("./Index-28bdb859.js"),
7
+ Edit: () => import("./Index-ba48e68b.js")
8
8
  },
9
9
  mixins: [e([
10
10
  "workStartAt",
@@ -0,0 +1,79 @@
1
+ import { n, q as l } from "./main-95207159.js";
2
+ const d = {
3
+ name: "MultiGroupPricing",
4
+ props: {
5
+ _document: {
6
+ type: Object,
7
+ default: () => ({})
8
+ }
9
+ },
10
+ computed: {
11
+ docPriceItems() {
12
+ const { total: s, subTotal: t } = this._document.prices || {};
13
+ return [
14
+ {
15
+ label: this._document.$t("price.net"),
16
+ value: this.priceFormat(t)
17
+ },
18
+ {
19
+ label: this._document.$t("price.total"),
20
+ value: this.priceFormat(s)
21
+ }
22
+ ];
23
+ },
24
+ pkgGroups() {
25
+ var t;
26
+ return (((t = this._document.packageGroups) == null ? void 0 : t.groups) || []).map(({ title: e, prices: r, selectedPackages: a }) => {
27
+ const { total: c, subTotal: i } = r || {};
28
+ return {
29
+ title: e,
30
+ noOfSelectedPackages: a.length,
31
+ priceItems: [
32
+ {
33
+ label: this._document.$t("price.net"),
34
+ value: this.priceFormat(i)
35
+ },
36
+ {
37
+ label: this._document.$t("price.total"),
38
+ value: this.priceFormat(c)
39
+ }
40
+ ]
41
+ };
42
+ });
43
+ }
44
+ },
45
+ methods: {
46
+ priceFormat(s, t) {
47
+ return l(s, {
48
+ currency: this._document.currency,
49
+ showZero: !0,
50
+ decimals: 2,
51
+ hideZeroDecimals: !0,
52
+ ...t
53
+ });
54
+ }
55
+ }
56
+ };
57
+ var p = function() {
58
+ var t = this, e = t._self._c;
59
+ return e("div", [t._l(t.pkgGroups, function(r, a) {
60
+ return e("div", { key: a, staticStyle: { padding: "calc(0.5 * var(--rem)) 0" } }, [e("div", { staticStyle: { display: "flex", "font-size": "calc(1.1 * var(--rem))", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v(" " + t._s(r.title) + " "), e("span", { staticClass: "text-gray-400", staticStyle: { "margin-left": "auto", "font-size": "calc(1 * var(--rem))" } }, [t._v(" " + t._s(r.noOfSelectedPackages) + " paket ")])]), t._l(r.priceItems, function({ label: c, value: i }, o) {
61
+ return e("div", { key: c + o, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "calc(1 * var(--rem))" } }, [e("div", [t._v(t._s(c))]), e("div", [t._v(t._s(i))])]);
62
+ })], 2);
63
+ }), e("div", { staticStyle: { "margin-top": "calc(1 * var(--rem))" } }, [e("div", { staticStyle: { "font-size": "calc(1.1 * var(--rem))", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v("Doc summary")]), t._l(t.docPriceItems, function({ label: r, value: a }, c) {
64
+ return e("div", { key: c + r, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "calc(1 * var(--rem))" } }, [e("div", [t._v(t._s(r))]), e("div", [t._v(t._s(a))])]);
65
+ })], 2)], 2);
66
+ }, u = [], _ = /* @__PURE__ */ n(
67
+ d,
68
+ p,
69
+ u,
70
+ !1,
71
+ null,
72
+ "6d408837",
73
+ null,
74
+ null
75
+ );
76
+ const v = _.exports;
77
+ export {
78
+ v as default
79
+ };
@@ -1,8 +1,7 @@
1
- import { A as c, o as u, n as m } from "./main-2d9b8259.js";
2
- import { P as p } from "./PlainHtml-04a6d7f9.js";
3
- import { s as g } from "./formValidationMixin-df38771c.js";
4
- import "./CDropdownItem-05d84f95.js";
5
- const h = {
1
+ import { G as c, q as u, n as m } from "./main-95207159.js";
2
+ import { P as p } from "./PlainHtml-752bc8d6.js";
3
+ import { s as g } from "./dom-068d1a7b.js";
4
+ const f = {
6
5
  name: "ExtraWorkConstructionPricingListRead",
7
6
  props: {
8
7
  _document: {
@@ -65,17 +64,17 @@ const h = {
65
64
  render(e) {
66
65
  if (!this._document.readPrices)
67
66
  return e("div");
68
- let n = !0, i = null, s = 1, o = null;
67
+ let i = !0, n = null, s = 1, o = null;
69
68
  const {
70
69
  prices: r = null
71
70
  } = this._document || {};
72
71
  if (r && (r.currency && ({
73
72
  currency: o
74
73
  } = r), r.helpers && ({
75
- isIndivid: n
74
+ isIndivid: i
76
75
  } = r.helpers), r.region)) {
77
76
  ({
78
- houseWorkType: i
77
+ houseWorkType: n
79
78
  } = r.region);
80
79
  const t = {
81
80
  rot: 0.7,
@@ -84,15 +83,15 @@ const h = {
84
83
  greenRot20: 0.8,
85
84
  greenRot50: 0.5
86
85
  };
87
- n && (s *= 1.25), n && t[i] && (s *= t[i]);
86
+ i && (s *= 1.25), i && t[n] && (s *= t[n]);
88
87
  }
89
- const d = () => i ? this.$t("deduction.afterType", {
90
- type: i
91
- }) : n ? "" : `${this.$t("vat.exVat", {
88
+ const d = () => n ? this.$t("deduction.afterType", {
89
+ type: n
90
+ }) : i ? "" : `${this.$t("vat.exVat", {
92
91
  thing: this.$t("_common:vat.sharedTitle")
93
92
  })} `, l = this.$t("subPriceString", {
94
93
  str: d(),
95
- vat: n ? this.$t("andVat") : ""
94
+ vat: i ? this.$t("andVat") : ""
96
95
  }), a = [];
97
96
  if (this.workPrice) {
98
97
  const t = c({
@@ -144,7 +143,7 @@ const h = {
144
143
  class: "ata-item-data"
145
144
  }, [t.amount])]))]), e("div", {
146
145
  class: "m-b-2r"
147
- }, [this.$t("descriptionBottom")]), i && e("div", {
146
+ }, [this.$t("descriptionBottom")]), n && e("div", {
148
147
  class: "hint-text"
149
148
  }, [this.$t("houseWorkDesc1"), " ", document.getElementById("villkor-avdrag") ? e("span", {
150
149
  on: {
@@ -158,18 +157,18 @@ const h = {
158
157
  }, [this.$t("houseWorkReadTerms")]) : this.$t("houseWorkReadTerms"), " ", this.$t("houseWorkDesc2")])]);
159
158
  }
160
159
  };
161
- const f = null, b = null;
160
+ const h = null, b = null;
162
161
  var k = /* @__PURE__ */ m(
163
- h,
164
162
  f,
163
+ h,
165
164
  b,
166
165
  !1,
167
166
  null,
168
- "19c63a46",
167
+ "3fc3c0cf",
169
168
  null,
170
169
  null
171
170
  );
172
- const y = k.exports;
171
+ const $ = k.exports;
173
172
  export {
174
- y as default
173
+ $ as default
175
174
  };
@@ -1,10 +1,10 @@
1
- import { m as n } from "./mapFormMixin-308bbdab.js";
2
- import { n as t } from "./main-2d9b8259.js";
1
+ import { m as n } from "./mapFormMixin-a245a297.js";
2
+ import { n as t } from "./main-95207159.js";
3
3
  const a = {
4
4
  name: "ExtraWorkConstructionPricingList",
5
5
  components: {
6
- Read: () => import("./Index-f453850f.js"),
7
- Edit: () => import("./Index-78f13416.js")
6
+ Read: () => import("./Index-889b6a45.js"),
7
+ Edit: () => import("./Index-ff60354c.js")
8
8
  },
9
9
  mixins: [n([
10
10
  "workPrice",