@cling-se/widget 0.12.2 → 0.12.3

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 (120) hide show
  1. package/dist/{AddClientCallout-55d62947.js → AddClientCallout-751ed5aa.js} +7 -7
  2. package/dist/{AnswerModal-b6711c04.js → AnswerModal-581cee38.js} +128 -169
  3. package/dist/{AttachmentItem-ae30a5f1.js → AttachmentItem-811ac040.js} +6 -6
  4. package/dist/{BaseDatePicker-eb8f882d.js → BaseDatePicker-95f61f10.js} +2 -2
  5. package/dist/{BaseInput-2937b370.js → BaseInput-2316a974.js} +1 -1
  6. package/dist/{BaseUpload-43e14bd0.js → BaseUpload-bf946607.js} +2 -2
  7. package/dist/{BlockMedia-8360c785.js → BlockMedia-a2018340.js} +1 -1
  8. package/dist/{CCallout-0151c27a.js → CCallout-25a66bee.js} +4 -4
  9. package/dist/{CDropdownItem-b1e4c6f3.js → CDropdownItem-46ef817a.js} +2 -2
  10. package/dist/{CField-fdd6dcfd.js → CField-d83a443d.js} +1 -1
  11. package/dist/{CPhoneFormat-df833bce.js → CPhoneFormat-195e1576.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js → CSlider.vue_vue_type_style_index_0_lang-1bfafbea.js} +1 -1
  13. package/dist/{ClientAutocomplete-205a7590.js → ClientAutocomplete-5f619f92.js} +2 -2
  14. package/dist/{ClientModal-68127a2f.js → ClientModal-72bc0977.js} +11 -11
  15. package/dist/{ColorPicker-43c3cfaf.js → ColorPicker-b815929f.js} +2 -2
  16. package/dist/{CompanyModal-71ebe768.js → CompanyModal-0ea79ac1.js} +3 -3
  17. package/dist/{ContentWrapper-8f8bee09.js → ContentWrapper-c7e2a8f2.js} +19 -19
  18. package/dist/{CoverBlockSettings-d5369ff3.js → CoverBlockSettings-b42b5f8a.js} +17 -17
  19. package/dist/{DocAnswer-5e76d312.js → DocAnswer-0a2cd242.js} +4 -4
  20. package/dist/{DocDetails-66a88018.js → DocDetails-a06afb2b.js} +29 -29
  21. package/dist/{DocForm-6bd82138.js → DocForm-ab0c0845.js} +88 -85
  22. package/dist/{DocFormSend-c216bd22.js → DocFormSend-315100bf.js} +19 -19
  23. package/dist/{DocLinks-c970a046.js → DocLinks-0667287d.js} +2 -2
  24. package/dist/{DocModalBase-cbaaa05d.js → DocModalBase-b7819a9e.js} +7 -7
  25. package/dist/{DocPrint-8151565c.js → DocPrint-d79f92b7.js} +13 -13
  26. package/dist/{DocReceipt-493488a1.js → DocReceipt-34fb36ed.js} +7 -7
  27. package/dist/{DocSendReminder-ffc469ba.js → DocSendReminder-eb36b1ae.js} +6 -6
  28. package/dist/{DocTextEditor-4892f553.js → DocTextEditor-7b551ddf.js} +16 -16
  29. package/dist/{DocTimeline-7a10530a.js → DocTimeline-3422972c.js} +4 -4
  30. package/dist/{DocumentClient-414f097b.js → DocumentClient-a13c009e.js} +7 -7
  31. package/dist/{DocumentLayout-2cca22a1.js → DocumentLayout-4ef4eb0c.js} +6 -6
  32. package/dist/{DocumentLogotype-e77e7f40.js → DocumentLogotype-d0a0f8dc.js} +9 -9
  33. package/dist/{DocumentVoided-09d10c10.js → DocumentVoided-e99fe2b3.js} +2 -2
  34. package/dist/{EmbedInput-25566df2.js → EmbedInput-84cbb26b.js} +2 -2
  35. package/dist/{EmbedSettings-167509c0.js → EmbedSettings-03092756.js} +3 -3
  36. package/dist/{ErrorCallout-42eae3f2.js → ErrorCallout-5207a92e.js} +1 -1
  37. package/dist/{FilePreviewModal-8e1122db.js → FilePreviewModal-f811bc63.js} +8 -8
  38. package/dist/{Flag-38700bb4.js → Flag-4e6e51fe.js} +1 -1
  39. package/dist/{HeaderSettings-081d2355.js → HeaderSettings-35726563.js} +24 -24
  40. package/dist/{ImageSelectModal-6a1cd80d.js → ImageSelectModal-6143f099.js} +8 -8
  41. package/dist/{ImageUploadWrapper-9a6f033f.js → ImageUploadWrapper-299c58fe.js} +5 -5
  42. package/dist/{Index-7114ff1a.js → Index-0623b53d.js} +6 -6
  43. package/dist/{Index-4a8142d1.js → Index-09486dc6.js} +2 -2
  44. package/dist/{Index-88084849.js → Index-16a1a69c.js} +6 -6
  45. package/dist/{Index-8e921bc3.js → Index-189c8b44.js} +4 -4
  46. package/dist/{Index-ddb1face.js → Index-1fe7f785.js} +4 -4
  47. package/dist/{Index-a75ce263.js → Index-2e1f9e1b.js} +4 -4
  48. package/dist/{Index-c55a7553.js → Index-3e5de61c.js} +7 -7
  49. package/dist/{Index-b925e767.js → Index-3f027683.js} +5 -5
  50. package/dist/{Index-39261a3a.js → Index-47059b84.js} +1 -1
  51. package/dist/{Index-34195119.js → Index-538e57e9.js} +6 -6
  52. package/dist/{Index-8f01dd46.js → Index-539d4217.js} +4 -4
  53. package/dist/{Index-860a7def.js → Index-55922e6a.js} +2 -2
  54. package/dist/{Index-d1ab5e5c.js → Index-63683f50.js} +14 -14
  55. package/dist/{Index-4369488e.js → Index-728ec7d7.js} +6 -6
  56. package/dist/{Index-79894831.js → Index-72e44ff5.js} +4 -4
  57. package/dist/{Index-b62d0ef2.js → Index-7353209e.js} +6 -6
  58. package/dist/{Index-fdaebd99.js → Index-775c3d2f.js} +2 -2
  59. package/dist/{Index-2c33f7e6.js → Index-805d2fc2.js} +9 -9
  60. package/dist/{Index-3e206913.js → Index-91b55567.js} +2 -2
  61. package/dist/{Index-bf5c0b5b.js → Index-98ab8892.js} +10 -10
  62. package/dist/{Index-1273cdc7.js → Index-9c98f176.js} +7 -7
  63. package/dist/{Index-b0b08a5f.js → Index-b8e2e1b8.js} +3 -3
  64. package/dist/{Index-915af180.js → Index-ba6b2169.js} +4 -4
  65. package/dist/{Index-f5620e99.js → Index-bbfc58aa.js} +4 -4
  66. package/dist/{Index-c25f3084.js → Index-c1f31c24.js} +2 -2
  67. package/dist/{Index-ba70d622.js → Index-c7c41ec0.js} +2 -2
  68. package/dist/{Index-614cfe86.js → Index-caa773f2.js} +9 -9
  69. package/dist/{Index-9502eaff.js → Index-cdeffca2.js} +41 -41
  70. package/dist/{Index-ae9bb0e5.js → Index-cfa5b251.js} +19 -19
  71. package/dist/{Index-0e0ad8c0.js → Index-e99b0408.js} +5 -5
  72. package/dist/{Index-a934610b.js → Index-f21adb8b.js} +1 -1
  73. package/dist/{Index-a8e9faf7.js → Index-f7a41581.js} +9 -9
  74. package/dist/{Index-54fd8589.js → Index-f97205f6.js} +4 -4
  75. package/dist/{Index-7c04c559.js → Index-fb3d4460.js} +24 -24
  76. package/dist/{InputToggleRow-afcabf8b.js → InputToggleRow-9eae9950.js} +6 -6
  77. package/dist/{IsPremiumPreStep-231700e7.js → IsPremiumPreStep-b4094114.js} +27 -27
  78. package/dist/{ManualPopover-07af41a9.js → ManualPopover-279c34d7.js} +1 -1
  79. package/dist/{MediaWrapper-3f16a687.js → MediaWrapper-28900be4.js} +3 -3
  80. package/dist/{NotBindingText-4ba4eb33.js → NotBindingText-03ed1896.js} +2 -2
  81. package/dist/{PackageGroup-bb70a242.js → PackageGroup-a09157ce.js} +20 -20
  82. package/dist/{PdfTerms-73cdcc78.js → PdfTerms-40cf2e44.js} +5 -5
  83. package/dist/{PdfViewer-0ca6548a.js → PdfViewer-022d9820.js} +4 -4
  84. package/dist/{PlainHtml-834d9eb9.js → PlainHtml-816cdcfd.js} +1 -1
  85. package/dist/{PriceHeader-27bc4ab4.js → PriceHeader-c5d1c5a5.js} +37 -37
  86. package/dist/{SearchApi-e24cb043.js → SearchApi-2cf7a417.js} +2 -2
  87. package/dist/{Setup-38eb90ad.js → Setup-f675b31a.js} +2 -2
  88. package/dist/{TermsSettings-0566ebc2.js → TermsSettings-4865f58c.js} +7 -7
  89. package/dist/{ThemeColorRow-6bb39c8c.js → ThemeColorRow-88778196.js} +4 -4
  90. package/dist/{ToggleBinding-b399a2d3.js → ToggleBinding-664e9183.js} +3 -3
  91. package/dist/{UploadModal-69feba8c.js → UploadModal-9de4a0c5.js} +8 -8
  92. package/dist/{VideoPlayerInput-0289e1ad.js → VideoPlayerInput-a6db7b6f.js} +3 -3
  93. package/dist/{VideoPlayerSettings-cc63392e.js → VideoPlayerSettings-bb6e5389.js} +4 -4
  94. package/dist/{VideoSelectModal-c98090a3.js → VideoSelectModal-5476aa27.js} +15 -15
  95. package/dist/answerDocumentMixin-564758ae.js +51 -0
  96. package/dist/{debounce-ceac3c0c.js → debounce-fb89e666.js} +1 -1
  97. package/dist/{focusDrawerMixin-6b40c0e4.js → focusDrawerMixin-9822a344.js} +1 -1
  98. package/dist/{formComponentsInstall-4bc1ca62.js → formComponentsInstall-cd69ac70.js} +41 -41
  99. package/dist/{formDrawerState-2389a9f5.js → formDrawerState-889851ba.js} +1 -1
  100. package/dist/{formValidationMixin-198347ab.js → formValidationMixin-de96de9e.js} +1 -1
  101. package/dist/{i18nMessages-45c6bfd6.js → i18nMessages-6b279c15.js} +4 -2
  102. package/dist/{index-e3f717e9.js → index-286fbf2e.js} +1 -1
  103. package/dist/{index-df8dbf78.js → index-28cc6cae.js} +13 -13
  104. package/dist/{index-4e8daf4c.js → index-39b8ba31.js} +3 -3
  105. package/dist/{index-f44b504d.js → index-67306b4a.js} +14 -14
  106. package/dist/{index-323657a2.js → index-6c4051cc.js} +1 -1
  107. package/dist/{index-2e4624f0.js → index-e9650c8b.js} +1 -1
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +141 -141
  110. package/dist/{main-e7c2bb1b.js → main-1ef64f74.js} +6012 -6224
  111. package/dist/{mapFormMixin-cb52494b.js → mapFormMixin-37d8b2ce.js} +1 -1
  112. package/dist/{publicSenderState-60a99040.js → publicSenderState-ed17e82f.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{throttle-27be8808.js → throttle-4a44697d.js} +2 -2
  115. package/dist/{tinycolor-314fba6f.js → tinycolor-6fefbbd2.js} +1 -1
  116. package/dist/{tippy.esm-4fc6fa67.js → tippy.esm-cddf5c5a.js} +6 -6
  117. package/dist/{utils-e42920bb.js → utils-ebaac977.js} +1 -1
  118. package/dist/{vuedraggable.umd-945498e7.js → vuedraggable.umd-fcf03933.js} +1 -1
  119. package/package.json +2 -2
  120. package/dist/answerDocumentMixin-a2c8c0c9.js +0 -54
@@ -1,19 +1,19 @@
1
- import { t as m } from "./tinycolor-314fba6f.js";
2
- import { aj as v, ak as y, v as g, n as p, al as f, y as k, b as u, l as w, c as P } from "./main-e7c2bb1b.js";
3
- import { E as b } from "./ErrorCallout-42eae3f2.js";
4
- import { m as _ } from "./mapFormMixin-cb52494b.js";
5
- import { T as x } from "./DocTextEditor-4892f553.js";
6
- import "./tippy.esm-4fc6fa67.js";
7
- import "./ColorPicker-43c3cfaf.js";
8
- import "./DocumentLayout-2cca22a1.js";
9
- import "./debounce-ceac3c0c.js";
10
- import "./CDropdownItem-b1e4c6f3.js";
11
- import "./CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js";
1
+ import { t as m } from "./tinycolor-6fefbbd2.js";
2
+ import { aj as v, ak as y, v as g, n as p, al as f, y as k, b as u, l as w, c as P } from "./main-1ef64f74.js";
3
+ import { E as x } from "./ErrorCallout-5207a92e.js";
4
+ import { m as _ } from "./mapFormMixin-37d8b2ce.js";
5
+ import { T as $ } from "./DocTextEditor-7b551ddf.js";
6
+ import "./tippy.esm-cddf5c5a.js";
7
+ import "./ColorPicker-b815929f.js";
8
+ import "./DocumentLayout-4ef4eb0c.js";
9
+ import "./debounce-fb89e666.js";
10
+ import "./CDropdownItem-46ef817a.js";
11
+ import "./CSlider.vue_vue_type_style_index_0_lang-1bfafbea.js";
12
12
  import "./dom-962579a6.js";
13
13
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
14
- import "./ManualPopover-07af41a9.js";
14
+ import "./ManualPopover-279c34d7.js";
15
15
  import "./color-71c20583.js";
16
- const $ = {
16
+ const b = {
17
17
  name: "ArticleItem",
18
18
  mixins: [_([])],
19
19
  props: {
@@ -151,7 +151,7 @@ var T = function() {
151
151
  "no-border-top": e.position === 0
152
152
  } }, [t("div", { staticClass: "article-text" }, [t("div", { staticClass: "article-text-title hyphens-auto break-all" }, [e._v(e._s(e.title))]), e.showDetails ? t("div", { staticClass: "article-text-sub" }, [e.priceType === "openAcc" || e.priceType === "markup" ? t("div", [e._v(" " + e._s(e._document.$t(`price.${e.priceType}`)) + "  ")]) : e._e(), e.priceType !== "openAcc" && e.priceType !== "markup" ? t("div", [e._v(" " + e._s(e.fixQuantity) + " " + e._s(e.articleUnitLabel(e.unitType, { count: e.fixQuantity, lng: e._document.language, instance: e.$options.docLang })) + " ")]) : e._e(), e.atPrice ? t("svg", { staticStyle: { margin: "0 4px" }, attrs: { width: "6", height: "6", viewBox: "0 0 148 141", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M73.742787 92.65535l-34.444359 47.40859-18.607391-13.51906 34.060775-46.88064L0 61.8743 7.107391 40 62 57.83569V0h23v57.99346L140.378182 40l7.107391 21.8743-54.751812 17.78994 34.060775 46.88064-18.607391 13.51906-34.444358-47.40859z", fill: "#000", "fill-rule": "evenodd" } })]) : e._e(), e.atPrice ? t("div", [e._v(e._s(e.atPrice))]) : e._e()]) : e._e()]), t("div", { staticClass: "article-price" }, [e.showPrice ? [e.discount ? t("div", { domProps: { innerHTML: e._s(e.discountLabels) } }) : e._e(), t("div", [e._v(" " + e._s(e.totalPrice) + " ")])] : e._e(), e.houseWorkType ? t("div", { staticClass: "article-price-sub" }, [e.houseWorkType && e.priceType === "openAcc" ? [e._v(e._s(e._document.$t("deduction.afterType", { type: `${e.houseWorkType}_percentage` })))] : e.houseWorkType ? [e._v(e._s(e._document.$t("chapters.articleItem.eligibleForDeduction", { type: `${e.houseWorkType}_percentage` })))] : e._e()], 2) : e._e()], 2)]);
153
153
  }, S = [], V = /* @__PURE__ */ p(
154
- $,
154
+ b,
155
155
  T,
156
156
  S,
157
157
  !1,
@@ -239,7 +239,7 @@ const B = {
239
239
  },
240
240
  components: {
241
241
  ArticleList: z,
242
- TextEditor: x
242
+ TextEditor: $
243
243
  },
244
244
  inject: {
245
245
  isPdf: {
@@ -337,7 +337,7 @@ var M = function() {
337
337
  }
338
338
  } }, [t("div", { staticClass: "top-container" }, [e.workPackage.data.name ? t("div", { staticStyle: { "font-weight": "800", "font-size": "calc(calc(1 * var(--rem)) + 4px)", "margin-bottom": "calc(0.5 * var(--rem))" } }, [e._v(" " + e._s(e.workPackage.data.name) + " ")]) : e._e(), t("div", [e.description ? t("TextEditor", { staticStyle: { "margin-bottom": "1em" }, attrs: { value: e.description } }) : e._e()], 1)]), t("Animation", [t("ArticleList", { directives: [{ name: "show", rawName: "v-show", value: e.showDetails && e.workPackage.articles.length, expression: "showDetails && workPackage.articles.length" }], staticClass: "articles-container", attrs: { _document: e._document, articles: e.workPackage.articles, "show-prices-inc-vat": e.showPricesIncVat, "use-vat": e.useVat, "vat-type": e.vatType, parent: "packageGroup" }, on: { "toggle-show-vat": function(r) {
339
339
  return e.$emit("toggle-show-vat", r);
340
- } } })], 1), e.type !== "single" && (e.workPackage.toggable || e.isPreview) && (e.prices.total || e.prices.type === "openAcc") ? t("div", { staticClass: "flex justify-end w-full", staticStyle: { "margin-top": "calc(3 * var(--rem))" } }, [t("div", { staticStyle: { padding: "calc(0.75 * var(--rem)) calc(1 * var(--rem))", "text-align": "right" } }, [e.prices.helpers.discount ? t("div", { staticClass: "price-total", staticStyle: { color: "red", "text-decoration": "line-through", "font-size": "16px", "font-weight": "600" } }, [e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.totalBeforeDiscount : e.prices.subTotal + e.prices.helpers.discount)) + " ")]) : e._e(), e.prices.type === "openAcc" ? [t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px" } }, [e._v(" " + e._s(e._document.$t("price.pricing")) + " ")]), t("div", { staticClass: "price-total", staticStyle: { padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.openAccPrice")) + " ")])] : [t("div", { staticClass: "price-total" }, [e.type === "checkbox" ? t("span", { staticClass: "primary-text-color", staticStyle: { "font-weight": "900" } }, [e._v("+")]) : e._e(), e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.prices.total : e.prices.subTotal)) + " ")]), e.useVat ? t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px", padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.price").capitalize()) + " " + e._s(e._document.$t(`vat.${e.showPricesIncVat ? "incVat" : "exVat"}`, { thing: e._document.$t(`vat.${e.vatType}`) })) + " ")]) : e._e()]], 2)]) : e._e(), e.showToggle ? t("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { "background-color": "hsl(215, 10%, 95%)" } }, [e.isPdf ? e._e() : [t("CButton", { staticClass: "package-button", attrs: { pattern: "tertiary", type: "text", icon: e.showDetails ? "arrow-up" : "arrow-down", "icon-props": { size: 20 } }, on: { click: function(r) {
340
+ } } })], 1), e.type !== "single" && (e.workPackage.toggable || e.isPreview) && (e.prices.total || e.prices.type === "openAcc") ? t("div", { staticClass: "flex w-full justify-end", staticStyle: { "margin-top": "calc(3 * var(--rem))" } }, [t("div", { staticStyle: { padding: "calc(0.75 * var(--rem)) calc(1 * var(--rem))", "text-align": "right" } }, [e.prices.helpers.discount ? t("div", { staticClass: "price-total", staticStyle: { color: "red", "text-decoration": "line-through", "font-size": "16px", "font-weight": "600" } }, [e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.totalBeforeDiscount : e.prices.subTotal + e.prices.helpers.discount)) + " ")]) : e._e(), e.prices.type === "openAcc" ? [t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px" } }, [e._v(" " + e._s(e._document.$t("price.pricing")) + " ")]), t("div", { staticClass: "price-total", staticStyle: { padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.openAccPrice")) + " ")])] : [t("div", { staticClass: "price-total" }, [e.type === "checkbox" ? t("span", { staticClass: "primary-text-color", staticStyle: { "font-weight": "900" } }, [e._v("+")]) : e._e(), e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.prices.total : e.prices.subTotal)) + " ")]), e.useVat ? t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px", padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.price").capitalize()) + " " + e._s(e._document.$t(`vat.${e.showPricesIncVat ? "incVat" : "exVat"}`, { thing: e._document.$t(`vat.${e.vatType}`) })) + " ")]) : e._e()]], 2)]) : e._e(), e.showToggle ? t("div", { staticClass: "flex w-full items-center justify-end", staticStyle: { "background-color": "hsl(215, 10%, 95%)" } }, [e.isPdf ? e._e() : [t("CButton", { staticClass: "package-button", attrs: { pattern: "tertiary", type: "text", icon: e.showDetails ? "arrow-up" : "arrow-down", "icon-props": { size: 20 } }, on: { click: function(r) {
341
341
  e.showDetails = !e.showDetails;
342
342
  } } }, [e._v(" " + e._s(e._document.$t("show", { thing: e._document.$t(`${e.showDetails ? "less" : "detail_plural"}`) })) + " ")]), e.canToggle || e.isPreview ? t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.isPreview && {
343
343
  content: e.$t("selectTooltip"),
@@ -359,7 +359,7 @@ var M = function() {
359
359
  W,
360
360
  !1,
361
361
  null,
362
- "6dcf4b42",
362
+ "739ac8d8",
363
363
  null,
364
364
  null
365
365
  );
@@ -594,14 +594,14 @@ var Z = function() {
594
594
  return t("div", { key: a, staticClass: "block-container print-avoid-break-inside", class: { first: a === 0 } }, [t("div", { staticClass: "block-header" }, [r.title ? t("div", { staticStyle: { "font-weight": "800" } }, [e._v(" " + e._s(r.title) + " ")]) : e._e(), r.subTitle ? t("div", { staticStyle: { "font-size": "16px", "margin-left": "0.5em" } }, [e._v(" " + e._s(r.subTitle) + " ")]) : e._e()]), n.length || s ? t("div", { staticClass: "block-body" }, [e._l(n, function({ label: c, value: l }, o) {
595
595
  return t("div", { key: `item-${o}-${a}`, staticClass: "block-body-item", class: a === 0 && "primary-light-background", style: a !== 0 && { borderBottom: "1px solid hsl(210, 15%, 85%)" } }, [t("div", [e._v(e._s(c))]), t("div", [e._v(e._s(l))])]);
596
596
  }), s ? t("div", { staticClass: "block-body-footer", style: { "border-top": `4px solid ${e.primaryColor}` } }, [t("div", [e._v(" " + e._s(s.title) + " "), s.subTitle ? t("div", { staticStyle: { "font-weight": "500", "font-size": "calc(1em - 2px)" } }, [e._v(" " + e._s(s.subTitle) + " ")]) : e._e()]), t("div", { staticClass: "text-right" }, [t("div", [e._v(e._s(s.value))]), s.subValue ? t("div", { staticClass: "block-body-footer-hint" }, [e._v(" " + e._s(s.subValue) + " ")]) : e._e()])]) : e._e()], 2) : e._e()]);
597
- }), e.prices.region && e.prices.region.reverseVat ? [t("div", { staticClass: "terms-text" }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.reverseVat")) + " ")])] : e._e(), e.prices.region && e.prices.region.houseWorkType ? t("div", { staticClass: "terms-text", attrs: { id: "villkor-avdrag" } }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.houseWork", { type: `${e.prices.region.houseWorkType}_percentage` })) + " ")]) : e._e(), e.prices.type === "approx" && e.prices.region && e.prices.region.houseWorkType === "rot" ? t("div", { staticClass: "terms-text" }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.houseWorkApprox")) + " ")]) : e._e()], 2) : e._e(), e.placeholder ? t("div", { staticClass: "flex flex-col items-center justify-center w-full", staticStyle: { position: "absolute", top: "calc(1 * var(--rem))", left: "50%", transform: "translate(-50%, 0%)", "background-color": "white", width: "350px", "max-width": "90%", "border-radius": "3px", padding: "calc(2 * var(--rem))", "box-shadow": "0 1px rgba(0, 0, 0, 0.1),", "text-align": "center", "font-size": "16px" } }, [t("svg", { attrs: { width: "200", height: "100", viewBox: "0 0 418 211", xmlns: "http://www.w3.org/2000/svg" } }, [t("defs", [t("filter", { attrs: { x: "-30.7%", y: "-26.2%", width: "160%", height: "155%", filterUnits: "objectBoundingBox", id: "a" } }, [t("feOffset", { attrs: { dy: "3", in: "SourceAlpha", result: "shadowOffsetOuter1" } }), t("feGaussianBlur", { attrs: { stdDeviation: "1", in: "shadowOffsetOuter1", result: "shadowBlurOuter1" } }), t("feColorMatrix", { attrs: { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0", in: "shadowBlurOuter1", result: "shadowMatrixOuter1" } }), t("feMerge", [t("feMergeNode", { attrs: { in: "shadowMatrixOuter1" } }), t("feMergeNode", { attrs: { in: "SourceGraphic" } })], 1)], 1)]), t("g", { attrs: { fill: "none", "fill-rule": "evenodd" } }, [t("path", { attrs: { stroke: "#E4E4E4", "stroke-width": "3", d: "M1.5 1.5h415v187H1.5z" } }), t("path", { attrs: { fill: e.primaryColor, "fill-rule": "nonzero", d: "M282 139h136v51H282z" } }), t("g", { attrs: { filter: "url(#a)", transform: "translate(365.5 165)" } }, [t("path", { attrs: { d: "M8.2 30.7c-.7-.9-1.6-2.7-3.1-5-.9-1.3-3-3.6-3.7-4.8a3.3 3.3 0 013.2-5c1.3.2 2.5.8 3.4 1.8a16 16 0 011.8 2l.9 1.2c.5.6.8 1.2.5.3-.1-1.3-.4-3.3-.9-5.2l-.7-2.8c-.3-1-.4-2-.8-3.1l-.7-3.7a7 7 0 01.7-4.6 3 3 0 013.2-.6c1.1.8 2 2 2.4 3.3.6 1.6 1 3.3 1.3 5 .4 2.5 1.2 6.1 1.2 6.9 0-1-.2-2.9 0-3.8.1-.9.8-1.6 1.7-2a5 5 0 012.3-.1c.7.1 1.4.6 1.9 1.2.6 1.5.9 3 1 4.6 0-1.4.2-2.7.6-4 .4-.6 1-1 1.8-1.3a7 7 0 012.4 0c.7.3 1.3.7 1.8 1.3.5 1.3.8 2.7.9 4.1 0 .4.2-1 .7-1.8a2.5 2.5 0 114.8 1.6v5.6c-.1 1.5-.3 3-.6 4.4-.5 1.2-1 2.4-1.8 3.6a18 18 0 00-3 4.5 10 10 0 000 4.8h-3c-1-.2-2.2-2.1-2.5-2.7a1 1 0 00-1.7 0c-.6 1-1.8 2.6-2.6 2.8h-7.9s.5-2.6-.6-3.5l-2.8-2.6-2.1-2.4z", fill: "#FFF", "fill-rule": "nonzero" } }), t("path", { attrs: { d: "M8.2 30.7c-.7-.9-1.6-2.7-3.1-5-.9-1.3-3-3.6-3.7-4.8a3.3 3.3 0 013.2-5c1.3.2 2.5.8 3.4 1.8a16 16 0 011.8 2l.9 1.2c.5.6.8 1.2.5.3-.1-1.3-.4-3.3-.9-5.2l-.7-2.8c-.3-1-.4-2-.8-3.1l-.7-3.7a7 7 0 01.7-4.6 3 3 0 013.2-.6c1.1.8 2 2 2.4 3.3.6 1.6 1 3.3 1.3 5 .4 2.5 1.2 6.1 1.2 6.9 0-1-.2-2.9 0-3.8.1-.9.8-1.6 1.7-2a5 5 0 012.3-.1c.7.1 1.4.6 1.9 1.2.6 1.5.9 3 1 4.6 0-1.4.2-2.7.6-4 .4-.6 1-1 1.8-1.3a7 7 0 012.4 0c.7.3 1.3.7 1.8 1.3.5 1.3.8 2.7.9 4.1 0 .4.2-1 .7-1.8a2.5 2.5 0 114.8 1.6v5.6c-.1 1.5-.3 3-.6 4.4-.5 1.2-1 2.4-1.8 3.6a18 18 0 00-3 4.5 10 10 0 000 4.8h-3c-1-.2-2.2-2.1-2.5-2.7a1 1 0 00-1.7 0c-.6 1-1.8 2.6-2.6 2.8h-7.9s.5-2.6-.6-3.5l-2.8-2.6-2.1-2.4z", stroke: "#000", "stroke-width": "1.9", "stroke-linecap": "round", "stroke-linejoin": "round" } }), t("path", { attrs: { d: "M29.4 32v-8.6a1 1 0 00-1.9 0v8.7a1 1 0 001.9 0zM24.4 32v-8.6a1 1 0 00-1.9 0v8.7a1 1 0 002 0zM17.5 23.4v8.7a1 1 0 102 0l-.1-8.7a1 1 0 10-1.9 0z", fill: "#000", "fill-rule": "nonzero" } })]), t("text", { attrs: { "font-family": "Inter-Regular, Inter", "font-size": "24", fill: "#FFF" } }, [t("tspan", { attrs: { x: "332.4", y: "173" } }, [e._v(e._s(e._document.$t("select")))])]), t("path", { attrs: { fill: "#E4E4E4", "fill-rule": "nonzero", d: "M28 27h124v24H28zM28 64h355v11H28zM28 82h355v12H28zM28 103h178v12H28z" } })])]), t("div", { staticStyle: { "padding-top": "1em", "font-weight": "600", "font-size": "18px" } }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.placeholder.title")) + " ")]), t("div", [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.placeholder.description"))), t("span", { staticStyle: { "font-weight": "600" } }, [e._v(e._s(e._document.$t("chapters.pricingSummary.placeholder.descriptionBold")))]), e._v(". ")])]) : e._e()]) : e._e();
597
+ }), e.prices.region && e.prices.region.reverseVat ? [t("div", { staticClass: "terms-text" }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.reverseVat")) + " ")])] : e._e(), e.prices.region && e.prices.region.houseWorkType ? t("div", { staticClass: "terms-text", attrs: { id: "villkor-avdrag" } }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.houseWork", { type: `${e.prices.region.houseWorkType}_percentage` })) + " ")]) : e._e(), e.prices.type === "approx" && e.prices.region && e.prices.region.houseWorkType === "rot" ? t("div", { staticClass: "terms-text" }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.houseWorkApprox")) + " ")]) : e._e()], 2) : e._e(), e.placeholder ? t("div", { staticClass: "flex w-full flex-col items-center justify-center", staticStyle: { position: "absolute", top: "calc(1 * var(--rem))", left: "50%", transform: "translate(-50%, 0%)", "background-color": "white", width: "350px", "max-width": "90%", "border-radius": "3px", padding: "calc(2 * var(--rem))", "text-align": "center", "font-size": "16px" } }, [t("svg", { attrs: { width: "200", height: "100", viewBox: "0 0 418 211", xmlns: "http://www.w3.org/2000/svg" } }, [t("defs", [t("filter", { attrs: { x: "-30.7%", y: "-26.2%", width: "160%", height: "155%", filterUnits: "objectBoundingBox", id: "a" } }, [t("feOffset", { attrs: { dy: "3", in: "SourceAlpha", result: "shadowOffsetOuter1" } }), t("feGaussianBlur", { attrs: { stdDeviation: "1", in: "shadowOffsetOuter1", result: "shadowBlurOuter1" } }), t("feColorMatrix", { attrs: { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0", in: "shadowBlurOuter1", result: "shadowMatrixOuter1" } }), t("feMerge", [t("feMergeNode", { attrs: { in: "shadowMatrixOuter1" } }), t("feMergeNode", { attrs: { in: "SourceGraphic" } })], 1)], 1)]), t("g", { attrs: { fill: "none", "fill-rule": "evenodd" } }, [t("path", { attrs: { stroke: "#E4E4E4", "stroke-width": "3", d: "M1.5 1.5h415v187H1.5z" } }), t("path", { attrs: { fill: e.primaryColor, "fill-rule": "nonzero", d: "M282 139h136v51H282z" } }), t("g", { attrs: { filter: "url(#a)", transform: "translate(365.5 165)" } }, [t("path", { attrs: { d: "M8.2 30.7c-.7-.9-1.6-2.7-3.1-5-.9-1.3-3-3.6-3.7-4.8a3.3 3.3 0 013.2-5c1.3.2 2.5.8 3.4 1.8a16 16 0 011.8 2l.9 1.2c.5.6.8 1.2.5.3-.1-1.3-.4-3.3-.9-5.2l-.7-2.8c-.3-1-.4-2-.8-3.1l-.7-3.7a7 7 0 01.7-4.6 3 3 0 013.2-.6c1.1.8 2 2 2.4 3.3.6 1.6 1 3.3 1.3 5 .4 2.5 1.2 6.1 1.2 6.9 0-1-.2-2.9 0-3.8.1-.9.8-1.6 1.7-2a5 5 0 012.3-.1c.7.1 1.4.6 1.9 1.2.6 1.5.9 3 1 4.6 0-1.4.2-2.7.6-4 .4-.6 1-1 1.8-1.3a7 7 0 012.4 0c.7.3 1.3.7 1.8 1.3.5 1.3.8 2.7.9 4.1 0 .4.2-1 .7-1.8a2.5 2.5 0 114.8 1.6v5.6c-.1 1.5-.3 3-.6 4.4-.5 1.2-1 2.4-1.8 3.6a18 18 0 00-3 4.5 10 10 0 000 4.8h-3c-1-.2-2.2-2.1-2.5-2.7a1 1 0 00-1.7 0c-.6 1-1.8 2.6-2.6 2.8h-7.9s.5-2.6-.6-3.5l-2.8-2.6-2.1-2.4z", fill: "#FFF", "fill-rule": "nonzero" } }), t("path", { attrs: { d: "M8.2 30.7c-.7-.9-1.6-2.7-3.1-5-.9-1.3-3-3.6-3.7-4.8a3.3 3.3 0 013.2-5c1.3.2 2.5.8 3.4 1.8a16 16 0 011.8 2l.9 1.2c.5.6.8 1.2.5.3-.1-1.3-.4-3.3-.9-5.2l-.7-2.8c-.3-1-.4-2-.8-3.1l-.7-3.7a7 7 0 01.7-4.6 3 3 0 013.2-.6c1.1.8 2 2 2.4 3.3.6 1.6 1 3.3 1.3 5 .4 2.5 1.2 6.1 1.2 6.9 0-1-.2-2.9 0-3.8.1-.9.8-1.6 1.7-2a5 5 0 012.3-.1c.7.1 1.4.6 1.9 1.2.6 1.5.9 3 1 4.6 0-1.4.2-2.7.6-4 .4-.6 1-1 1.8-1.3a7 7 0 012.4 0c.7.3 1.3.7 1.8 1.3.5 1.3.8 2.7.9 4.1 0 .4.2-1 .7-1.8a2.5 2.5 0 114.8 1.6v5.6c-.1 1.5-.3 3-.6 4.4-.5 1.2-1 2.4-1.8 3.6a18 18 0 00-3 4.5 10 10 0 000 4.8h-3c-1-.2-2.2-2.1-2.5-2.7a1 1 0 00-1.7 0c-.6 1-1.8 2.6-2.6 2.8h-7.9s.5-2.6-.6-3.5l-2.8-2.6-2.1-2.4z", stroke: "#000", "stroke-width": "1.9", "stroke-linecap": "round", "stroke-linejoin": "round" } }), t("path", { attrs: { d: "M29.4 32v-8.6a1 1 0 00-1.9 0v8.7a1 1 0 001.9 0zM24.4 32v-8.6a1 1 0 00-1.9 0v8.7a1 1 0 002 0zM17.5 23.4v8.7a1 1 0 102 0l-.1-8.7a1 1 0 10-1.9 0z", fill: "#000", "fill-rule": "nonzero" } })]), t("text", { attrs: { "font-family": "Inter-Regular, Inter", "font-size": "24", fill: "#FFF" } }, [t("tspan", { attrs: { x: "332.4", y: "173" } }, [e._v(e._s(e._document.$t("select")))])]), t("path", { attrs: { fill: "#E4E4E4", "fill-rule": "nonzero", d: "M28 27h124v24H28zM28 64h355v11H28zM28 82h355v12H28zM28 103h178v12H28z" } })])]), t("div", { staticStyle: { "padding-top": "1em", "font-weight": "600", "font-size": "18px" } }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.placeholder.title")) + " ")]), t("div", [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.placeholder.description"))), t("span", { staticStyle: { "font-weight": "600" } }, [e._v(e._s(e._document.$t("chapters.pricingSummary.placeholder.descriptionBold")))]), e._v(". ")])]) : e._e()]) : e._e();
598
598
  }, E = [], j = /* @__PURE__ */ p(
599
599
  L,
600
600
  Z,
601
601
  E,
602
602
  !1,
603
603
  null,
604
- "cfcdda7b",
604
+ "9732e280",
605
605
  null,
606
606
  null
607
607
  );
@@ -611,7 +611,7 @@ const N = {
611
611
  components: {
612
612
  PackageItem: q,
613
613
  PackagePricingSummary: G,
614
- ErrorCallout: b
614
+ ErrorCallout: x
615
615
  },
616
616
  mixins: [
617
617
  _(["type", "packages", "hideGroupPrice"], { useEmit: !1 })
@@ -1,9 +1,9 @@
1
- import { V as t } from "./PdfViewer-0ca6548a.js";
2
- import { n as s } from "./main-e7c2bb1b.js";
1
+ import { V as t } from "./PdfViewer-022d9820.js";
2
+ import { n as s } from "./main-1ef64f74.js";
3
3
  import "./dom-962579a6.js";
4
- import "./DocumentLayout-2cca22a1.js";
5
- import "./debounce-ceac3c0c.js";
6
- import "./CDropdownItem-b1e4c6f3.js";
4
+ import "./DocumentLayout-4ef4eb0c.js";
5
+ import "./debounce-fb89e666.js";
6
+ import "./CDropdownItem-46ef817a.js";
7
7
  const o = {
8
8
  name: "PdfTerms",
9
9
  functional: !0,
@@ -1,6 +1,6 @@
1
- import { n as h, Q as m, c as n } from "./main-e7c2bb1b.js";
1
+ import { n as h, Q as m, c as n } from "./main-1ef64f74.js";
2
2
  import { e as o } from "./dom-962579a6.js";
3
- import { W as w } from "./DocumentLayout-2cca22a1.js";
3
+ import { W as w } from "./DocumentLayout-4ef4eb0c.js";
4
4
  let l, f, c, p, u;
5
5
  function _(t) {
6
6
  return typeof t == "object" && t !== null && t.__PDFDocumentLoadingTask === !0;
@@ -224,7 +224,7 @@ var S = function() {
224
224
  var e = this, i = e._self._c;
225
225
  return i("div", { key: e.src }, [e.isPdf ? i("pre", [e._v(" ClingPDFReplaceStart:[" + e._s(this.docFilePath) + `]ClingPDFReplaceEnd
226
226
  `), i("div", [e._v("This page should have been replaced with URL: " + e._s(e.src))]), e._v(`
227
- `)]) : i("div", [e.loading ? i("div", { staticClass: "mb-4 border border-gray-100 bg-gray-50 aspect-[210/297] grid place-items-center" }, [i("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1) : e._e(), e._l(e.numPages, function(s) {
227
+ `)]) : i("div", [e.loading ? i("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50" }, [i("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1) : e._e(), e._l(e.numPages, function(s) {
228
228
  return i("VuePdf", e._b({ key: s, ref: "vuePdf", refInFor: !0, attrs: { page: s, "container-class": e.isPdf ? "" : "mb-4 shadow-[0_2px_4px_hsla(0,0%,0%,0.25)]" }, on: { "hook:created": function(r) {
229
229
  return e.pdfRenderBus.add(`${e._uid}-${s}`);
230
230
  }, loading: (r) => r ? null : e.pdfRenderBus.remove(`${e._uid}-${s}`) } }, "VuePdf", {
@@ -232,7 +232,7 @@ var S = function() {
232
232
  ...e.$props,
233
233
  pdfLoadingTask: e.pdfLoadingTask
234
234
  }, !1), [e._t("loading", function() {
235
- return [i("div", { staticClass: "mb-4 border border-gray-100 bg-gray-50 aspect-[210/297] grid place-items-center", attrs: { slot: "loading" }, slot: "loading" }, [i("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1)];
235
+ return [i("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50", attrs: { slot: "loading" }, slot: "loading" }, [i("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1)];
236
236
  })], 2);
237
237
  })], 2)]);
238
238
  }, b = [], F = /* @__PURE__ */ h(
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-e7c2bb1b.js";
1
+ import { n as r } from "./main-1ef64f74.js";
2
2
  const e = {
3
3
  name: "PlainHtml"
4
4
  };
@@ -1,19 +1,19 @@
1
- import { m as c } from "./mapFormMixin-cb52494b.js";
2
- import { B as l } from "./BlockMedia-8360c785.js";
3
- import { n, b as r, v as d, a7 as m } from "./main-e7c2bb1b.js";
4
- import { T as u } from "./DocTextEditor-4892f553.js";
5
- import { i as p } from "./i18nMessages-45c6bfd6.js";
6
- import { t as _ } from "./tinycolor-314fba6f.js";
1
+ import { m as c } from "./mapFormMixin-37d8b2ce.js";
2
+ import { B as l } from "./BlockMedia-a2018340.js";
3
+ import { n, b as r, v as d, a7 as m } from "./main-1ef64f74.js";
4
+ import { T as u } from "./DocTextEditor-7b551ddf.js";
5
+ import { i as p } from "./i18nMessages-6b279c15.js";
6
+ import { t as _ } from "./tinycolor-6fefbbd2.js";
7
7
  import { s as y } from "./dom-962579a6.js";
8
8
  import "./color-71c20583.js";
9
- import "./tippy.esm-4fc6fa67.js";
10
- import "./ColorPicker-43c3cfaf.js";
11
- import "./DocumentLayout-2cca22a1.js";
12
- import "./debounce-ceac3c0c.js";
13
- import "./CDropdownItem-b1e4c6f3.js";
14
- import "./CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js";
9
+ import "./tippy.esm-cddf5c5a.js";
10
+ import "./ColorPicker-b815929f.js";
11
+ import "./DocumentLayout-4ef4eb0c.js";
12
+ import "./debounce-fb89e666.js";
13
+ import "./CDropdownItem-46ef817a.js";
14
+ import "./CSlider.vue_vue_type_style_index_0_lang-1bfafbea.js";
15
15
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
16
- import "./ManualPopover-07af41a9.js";
16
+ import "./ManualPopover-279c34d7.js";
17
17
  const h = {
18
18
  name: "SummaryTop",
19
19
  i18nOptions: {
@@ -22,7 +22,7 @@ const h = {
22
22
  },
23
23
  components: {
24
24
  TextEditor: u,
25
- DocumentLogotype: () => import("./DocumentLogotype-e77e7f40.js")
25
+ DocumentLogotype: () => import("./DocumentLogotype-d0a0f8dc.js")
26
26
  },
27
27
  inject: ["parentSize"],
28
28
  mixins: [c([])],
@@ -88,7 +88,7 @@ const h = {
88
88
  };
89
89
  var v = function() {
90
90
  var t = this, e = t._self._c;
91
- return e("section", { staticClass: "flex justify-center w-full summary-top" }, [e("div", { staticClass: "doc-summary-top-wrapper" }, [e("div", { staticClass: "doc-summary-top-wrapper__background" }), e("div", { staticClass: "flex justify-between w-full", staticStyle: { "margin-bottom": "calc(2.5 * var(--rem))" } }, [t.showLogo && (t.logotype || t.companyLogotype) || t.canEdit ? e("DocumentLogotype", t._g({ attrs: { value: t.logotype, "show-logo": t.showLogo, "company-logotype": t.companyLogotype, "has-hover": t.hasHover } }, t.logotypeListeners)) : e("div", { staticClass: "company-name" }, [t._v(" " + t._s(t.senderName) + " ")]), e("div", { staticClass: "top-right-text-wrapper" }, [t.sentAt ? e("div", [t._v(t._s(t.$formatDate(t.sentAt)))]) : t._e(), t.docNumber ? e("div", [t._v(" #" + t._s(t.docNumber) + " ")]) : t._e()])], 1), e("div", { staticClass: "title-text" }, [t.canEdit ? e("TextEditor", { ref: "editor", staticClass: "no-drag", staticStyle: { "will-change": "opacity" }, attrs: { value: t.docName, placeholder: t.$t("name.placeholder"), extensions: {
91
+ return e("section", { staticClass: "summary-top flex w-full justify-center" }, [e("div", { staticClass: "doc-summary-top-wrapper" }, [e("div", { staticClass: "doc-summary-top-wrapper__background" }), e("div", { staticClass: "flex w-full justify-between", staticStyle: { "margin-bottom": "calc(2.5 * var(--rem))" } }, [t.showLogo && (t.logotype || t.companyLogotype) || t.canEdit ? e("DocumentLogotype", t._g({ attrs: { value: t.logotype, "show-logo": t.showLogo, "company-logotype": t.companyLogotype, "has-hover": t.hasHover } }, t.logotypeListeners)) : e("div", { staticClass: "company-name" }, [t._v(" " + t._s(t.senderName) + " ")]), e("div", { staticClass: "top-right-text-wrapper" }, [t.sentAt ? e("div", [t._v(t._s(t.$formatDate(t.sentAt)))]) : t._e(), t.docNumber ? e("div", [t._v(" #" + t._s(t.docNumber) + " ")]) : t._e()])], 1), e("div", { staticClass: "title-text" }, [t.canEdit ? e("TextEditor", { ref: "editor", staticClass: "no-drag", staticStyle: { "will-change": "opacity" }, attrs: { value: t.docName, placeholder: t.$t("name.placeholder"), extensions: {
92
92
  bulletList: !1,
93
93
  heading: [1, 2, 3],
94
94
  bold: !1,
@@ -98,19 +98,19 @@ var v = function() {
98
98
  table: !1
99
99
  }, unstyled: "", static: "" }, on: { input: function(s) {
100
100
  return t.$emit("update:doc-name", s);
101
- } } }) : e("div", { staticClass: "quill-custom", domProps: { innerHTML: t._s(t.docName) } })], 1), e("div", { staticClass: "flex justify-between w-full" }, [t.expiresAt ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(t._s(t._document.$t("replyBy")))]), e("div", { staticClass: "data-text" }, [t._v(t._s(t.$formatDate(t.expiresAt)))])]) : t._e(), t.docType !== "document" ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(" " + t._s(t._document.$t("document").capitalize()) + " ")]), e("div", { staticClass: "data-text" }, [t._v(" " + t._s(t._document.$t(`series.${t.docType}`).capitalize()) + " ")])]) : t._e(), t.parentSize.width >= 576 ? [t.estimatedTime ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(t._s(t.$t("time.estimatedTime")))]), e("div", { staticClass: "data-text" }, [t._v(" " + t._s(t._document.$t("approx")) + " " + t._s(t.estimatedTime) + " ")])]) : t._e()] : t._e()], 2)])]);
101
+ } } }) : e("div", { staticClass: "quill-custom", domProps: { innerHTML: t._s(t.docName) } })], 1), e("div", { staticClass: "flex w-full justify-between" }, [t.expiresAt ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(t._s(t._document.$t("replyBy")))]), e("div", { staticClass: "data-text" }, [t._v(t._s(t.$formatDate(t.expiresAt)))])]) : t._e(), t.docType !== "document" ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(" " + t._s(t._document.$t("document").capitalize()) + " ")]), e("div", { staticClass: "data-text" }, [t._v(" " + t._s(t._document.$t(`series.${t.docType}`).capitalize()) + " ")])]) : t._e(), t.parentSize.width >= 576 ? [t.estimatedTime ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(t._s(t.$t("estimatedTime")))]), e("div", { staticClass: "data-text" }, [t._v(" " + t._s(t._document.$t("approx")) + " " + t._s(t.estimatedTime) + " ")])]) : t._e()] : t._e()], 2)])]);
102
102
  }, g = [], f = /* @__PURE__ */ n(
103
103
  h,
104
104
  v,
105
105
  g,
106
106
  !1,
107
107
  null,
108
- "53650981",
108
+ "4e2c274a",
109
109
  null,
110
110
  null
111
111
  );
112
112
  const S = f.exports;
113
- const x = {
113
+ const b = {
114
114
  name: "SummaryBottom",
115
115
  mixins: [c([])],
116
116
  props: {
@@ -210,7 +210,7 @@ const x = {
210
210
  }
211
211
  }
212
212
  };
213
- var b = function() {
213
+ var x = function() {
214
214
  var t = this, e = t._self._c;
215
215
  return e("section", { staticClass: "summary-bottom-root" }, [e("div", { staticClass: "summary-bottom", style: [
216
216
  {
@@ -221,19 +221,19 @@ var b = function() {
221
221
  overflow: "hidden",
222
222
  padding: 0
223
223
  }
224
- ] }, [t.options.length ? e("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { height: "108px" } }, [e("div", { staticStyle: { "text-align": "right", padding: "calc(2 * var(--rem))" } }, [e("div", { staticStyle: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "900" } }, [t._v(" " + t._s(t._document.$t("price.proposal")) + " ")]), e("div", [t._v(t._s(t._document.$t("summaryBottom.chooseFrom")))])]), e("div", { staticStyle: { "background-color": "hsla(0, 0%, 0%, 0.15)", paadding: "calc(1 * var(--rem)) calc(2 * var(--rem))", height: "100%", display: "inline-flex" } }, [t.base ? e("div", { staticStyle: { display: "flex", "flex-direction": "column", "align-items": "flex-start", "justify-content": "center", padding: "calc(1 * var(--rem)) calc(1 * var(--rem))", "text-align": "left" } }, [e("div", { staticStyle: { "font-weight": "900", "font-size": "calc(1.5 * var(--rem))" } }, [t._v(" " + t._s(t.priceFormat(t.base.prices.total, { currency: t.currency, decimals: 2, hideZeroDecimals: !0 })) + " ")]), e("div", [t._v(" + " + t._s(t._document.$tc("summaryBottom.option", { count: t.options.length })) + " ")])]) : e("div", { staticStyle: { padding: "calc(2 * var(--rem))", display: "inline-flex", "align-items": "center", "justify-content": "center", "font-weight": "900", "font-size": "calc(2.5 * var(--rem))" } }, [t._v(" " + t._s(t._document.$t("summaryBottom.noOfOptions", { count: t.options.length })) + " ")])]), e("div", { staticStyle: { "background-color": "hsla(0, 0%, 0%, 0.4)", overflow: "hidden", width: "calc(1.5 * var(--rem))", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center", height: "100%", color: "hsla(0, 0%, 100%, 0.2)" } })]) : e("div", { staticClass: "flex justify-between w-full", class: [
224
+ ] }, [t.options.length ? e("div", { staticClass: "flex w-full items-center justify-end", staticStyle: { height: "108px" } }, [e("div", { staticStyle: { "text-align": "right", padding: "calc(2 * var(--rem))" } }, [e("div", { staticStyle: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "900" } }, [t._v(" " + t._s(t._document.$t("price.proposal")) + " ")]), e("div", [t._v(t._s(t._document.$t("summaryBottom.chooseFrom")))])]), e("div", { staticStyle: { "background-color": "hsla(0, 0%, 0%, 0.15)", paadding: "calc(1 * var(--rem)) calc(2 * var(--rem))", height: "100%", display: "inline-flex" } }, [t.base ? e("div", { staticStyle: { display: "flex", "flex-direction": "column", "align-items": "flex-start", "justify-content": "center", padding: "calc(1 * var(--rem)) calc(1 * var(--rem))", "text-align": "left" } }, [e("div", { staticStyle: { "font-weight": "900", "font-size": "calc(1.5 * var(--rem))" } }, [t._v(" " + t._s(t.priceFormat(t.base.prices.total, { currency: t.currency, decimals: 2, hideZeroDecimals: !0 })) + " ")]), e("div", [t._v(" + " + t._s(t._document.$tc("summaryBottom.option", { count: t.options.length })) + " ")])]) : e("div", { staticStyle: { padding: "calc(2 * var(--rem))", display: "inline-flex", "align-items": "center", "justify-content": "center", "font-weight": "900", "font-size": "calc(2.5 * var(--rem))" } }, [t._v(" " + t._s(t._document.$t("summaryBottom.noOfOptions", { count: t.options.length })) + " ")])]), e("div", { staticStyle: { "background-color": "hsla(0, 0%, 0%, 0.4)", overflow: "hidden", width: "calc(1.5 * var(--rem))", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center", height: "100%", color: "hsla(0, 0%, 100%, 0.2)" } })]) : e("div", { staticClass: "flex w-full justify-between", class: [
225
225
  {
226
226
  column: t.isSmallScreen,
227
227
  sm: t.isSmallScreen
228
228
  }
229
- ], staticStyle: { position: "relative" } }, [e("div", { staticClass: "flex flex-col w-full", class: [{ "fixed-price-type-string": t.isSmallScreen }], staticStyle: { "background-color": "hsl(224, 57%, 39%)" }, style: [t.backgroundSecondary] }, [e("div", { staticClass: "price-type-string data-text" }, [t._v(" " + t._s(t.priceTypeString) + " ")]), t.isSmallScreen ? t._e() : e("div", { staticClass: "price-deduction-text" }, [t._v(" " + t._s(t.priceDeductionVatString) + " ")])]), t.priceType.some((s) => ["openAcc", "openAccMaxPrice"].includes(s)) ? e("div", { staticClass: "open-acc-wrapper" }, [t.openAccMaxPrice ? e("div", { staticClass: "open-acc-item" }, [e("div", [t._v(" " + t._s(t._document.$t("price.maxPrice").capitalize()) + " " + t._s(t._document.$t("vat.exVat", { thing: t._document.$t(`vat.${t.vatType}`) })) + ": ")]), e("div", [t._v(t._s(t.priceFormat(t.openAccMaxPrice, { currency: t.currency })))])]) : t._e(), e("div", { staticClass: "open-acc-link" }, [t._v(" " + t._s(t._document.$t("see").capitalize()) + " "), e("span", { staticStyle: { color: "inherit", cursor: "pointer" }, on: { click: t.scrollToPricing } }, [e("u", [t._v(t._s(t._document.$t("price.price_plural")))])]), t._v(" " + t._s(t._document.$t("summaryBottom.forDetails")) + " ")])]) : e("div", { staticClass: "flex items-center w-full", class: [{ "justify-end": !t.isSmallScreen }] }, [e("div", { staticClass: "data-text", staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "900", "letter-spacing": "1px", "line-height": "1", "padding-bottom": "calc(0.3 * var(--rem))" } }, [t._v(" " + t._s(t.priceType.includes("approx") ? t._document.$t("approx").capitalize() : "") + " " + t._s(t.priceFormat(t.priceTotal, { currency: t.currency, decimals: 2, hideZeroDecimals: !0 })) + " ")])]), t.isSmallScreen ? e("div", { staticClass: "label-text caps price-deduction-text", staticStyle: { "margin-top": "4px" } }, [t._v(" " + t._s(t.priceDeductionVatString) + " ")]) : t._e()])])]);
229
+ ], staticStyle: { position: "relative" } }, [e("div", { staticClass: "flex w-full flex-col", class: [{ "fixed-price-type-string": t.isSmallScreen }], staticStyle: { "background-color": "hsl(224, 57%, 39%)" }, style: [t.backgroundSecondary] }, [e("div", { staticClass: "price-type-string data-text" }, [t._v(" " + t._s(t.priceTypeString) + " ")]), t.isSmallScreen ? t._e() : e("div", { staticClass: "price-deduction-text" }, [t._v(" " + t._s(t.priceDeductionVatString) + " ")])]), t.priceType.some((s) => ["openAcc", "openAccMaxPrice"].includes(s)) ? e("div", { staticClass: "open-acc-wrapper" }, [t.openAccMaxPrice ? e("div", { staticClass: "open-acc-item" }, [e("div", [t._v(" " + t._s(t._document.$t("price.maxPrice").capitalize()) + " " + t._s(t._document.$t("vat.exVat", { thing: t._document.$t(`vat.${t.vatType}`) })) + ": ")]), e("div", [t._v(t._s(t.priceFormat(t.openAccMaxPrice, { currency: t.currency })))])]) : t._e(), e("div", { staticClass: "open-acc-link" }, [t._v(" " + t._s(t._document.$t("see").capitalize()) + " "), e("span", { staticStyle: { color: "inherit", cursor: "pointer" }, on: { click: t.scrollToPricing } }, [e("u", [t._v(t._s(t._document.$t("price.price_plural")))])]), t._v(" " + t._s(t._document.$t("summaryBottom.forDetails")) + " ")])]) : e("div", { staticClass: "flex w-full items-center", class: [{ "justify-end": !t.isSmallScreen }] }, [e("div", { staticClass: "data-text", staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "900", "letter-spacing": "1px", "line-height": "1", "padding-bottom": "calc(0.3 * var(--rem))" } }, [t._v(" " + t._s(t.priceType.includes("approx") ? t._document.$t("approx").capitalize() : "") + " " + t._s(t.priceFormat(t.priceTotal, { currency: t.currency, decimals: 2, hideZeroDecimals: !0 })) + " ")])]), t.isSmallScreen ? e("div", { staticClass: "label-text caps price-deduction-text", staticStyle: { "margin-top": "4px" } }, [t._v(" " + t._s(t.priceDeductionVatString) + " ")]) : t._e()])])]);
230
230
  }, C = [], $ = /* @__PURE__ */ n(
231
- x,
232
231
  b,
232
+ x,
233
233
  C,
234
234
  !1,
235
235
  null,
236
- "459417ae",
236
+ "5da858b8",
237
237
  null,
238
238
  null
239
239
  );
@@ -311,11 +311,11 @@ const T = {
311
311
  ...i,
312
312
  show: t,
313
313
  base: { prices: this.prices },
314
- options: e.filter(({ toggable: a }) => a).map(({ prices: a }) => ({ prices: a }))
314
+ options: e.filter(({ toggable: o }) => o).map(({ prices: o }) => ({ prices: o }))
315
315
  } : i = {
316
316
  ...i,
317
317
  show: t && this._document.readPrices && (this.prices.total || this.prices.type.some(
318
- (a) => ["openAccMaxPrice", "openAcc"].includes(a)
318
+ (o) => ["openAccMaxPrice", "openAcc"].includes(o)
319
319
  )),
320
320
  base: { prices: this.prices }
321
321
  }, this.canEdit && t && (i.show = !0), i.documentCurrency || (i.show = !1), i;
@@ -323,22 +323,22 @@ const T = {
323
323
  }
324
324
  };
325
325
  var k = function() {
326
- var s, a;
326
+ var s, o;
327
327
  var t = this, e = t._self._c;
328
328
  return e("div", [e("div", { staticClass: "doc-jumbotron-wrapper" }, [e("BlockMedia", { staticClass: "price-media-wrapper", attrs: { media: {
329
329
  ...t.media,
330
330
  resourceUrl: ((s = t.media) == null ? void 0 : s.resourceUrl) || t._document.theme.background,
331
- overlayColor: ((a = t.media) == null ? void 0 : a.overlayColor) || t._document.theme.backgroundFilter
332
- } } }), e("SummaryTop", { attrs: { _document: t._document, "show-logo": t.showLogo, logotype: t.logotype, "company-logotype": t.company.logotype, "sender-name": t.company.name, "doc-type": t._document.docNumber.series, "doc-name": t.internalName, "doc-number": t._document.docNumber.value, "sent-at": t.sendAtShowDate, "expires-at": t._document.expiresAt, "estimated-time": t.estimatedTimeString, "has-hover": t.hasHover }, on: { "update:showLogo": function(o) {
333
- t.showLogo = o;
334
- }, "update:show-logo": function(o) {
335
- t.showLogo = o;
336
- }, "update:logotype": function(o) {
337
- t.logotype = o;
338
- }, "update:docName": function(o) {
339
- t.internalName = o;
340
- }, "update:doc-name": function(o) {
341
- t.internalName = o;
331
+ overlayColor: ((o = t.media) == null ? void 0 : o.overlayColor) || t._document.theme.backgroundFilter
332
+ } } }), e("SummaryTop", { attrs: { _document: t._document, "show-logo": t.showLogo, logotype: t.logotype, "company-logotype": t.company.logotype, "sender-name": t.company.name, "doc-type": t._document.docNumber.series, "doc-name": t.internalName, "doc-number": t._document.docNumber.value, "sent-at": t.sendAtShowDate, "expires-at": t._document.expiresAt, "estimated-time": t.estimatedTimeString, "has-hover": t.hasHover }, on: { "update:showLogo": function(a) {
333
+ t.showLogo = a;
334
+ }, "update:show-logo": function(a) {
335
+ t.showLogo = a;
336
+ }, "update:logotype": function(a) {
337
+ t.logotype = a;
338
+ }, "update:docName": function(a) {
339
+ t.internalName = a;
340
+ }, "update:doc-name": function(a) {
341
+ t.internalName = a;
342
342
  } } })], 1), t.summaryBottom.show ? e("SummaryBottom", t._b({ attrs: { _document: t._document } }, "SummaryBottom", t.summaryBottom, !1)) : t._e()], 1);
343
343
  }, A = [], B = /* @__PURE__ */ n(
344
344
  T,
@@ -1,5 +1,5 @@
1
- import { g as u, p as h, f, i as d, n as m } from "./main-e7c2bb1b.js";
2
- import { d as p } from "./debounce-ceac3c0c.js";
1
+ import { g as u, p as h, f, i as d, n as m } from "./main-1ef64f74.js";
2
+ import { d as p } from "./debounce-fb89e666.js";
3
3
  import { m as y, a as g } from "./vuex.esm-4a0fff7c.js";
4
4
  const A = {
5
5
  name: "SearchApi",
@@ -1,4 +1,4 @@
1
- import { n as s, c as o, e as c } from "./main-e7c2bb1b.js";
1
+ import { n as s, c as o, e as c } from "./main-1ef64f74.js";
2
2
  const l = {
3
3
  // eslint-disable-next-line vue/multi-word-component-names
4
4
  name: "Setup",
@@ -36,7 +36,7 @@ const l = {
36
36
  };
37
37
  var i = function() {
38
38
  var n = this, r = n._self._c;
39
- return r("iframe", { staticClass: "w-full h-full", attrs: { title: "Partner Connect", src: n.iframeUrl, frameborder: "0" } });
39
+ return r("iframe", { staticClass: "h-full w-full", attrs: { title: "Partner Connect", src: n.iframeUrl, frameborder: "0" } });
40
40
  }, p = [], a = /* @__PURE__ */ s(
41
41
  l,
42
42
  i,
@@ -1,10 +1,10 @@
1
- import { f as m, B as o, n as v } from "./main-e7c2bb1b.js";
2
- import { m as c } from "./mapFormMixin-cb52494b.js";
3
- import g from "./Index-c55a7553.js";
4
- import "./DocModalBase-cbaaa05d.js";
5
- import "./DocumentLayout-2cca22a1.js";
6
- import "./debounce-ceac3c0c.js";
7
- import "./CDropdownItem-b1e4c6f3.js";
1
+ import { f as m, B as o, n as v } from "./main-1ef64f74.js";
2
+ import { m as c } from "./mapFormMixin-37d8b2ce.js";
3
+ import g from "./Index-3e5de61c.js";
4
+ import "./DocModalBase-b7819a9e.js";
5
+ import "./DocumentLayout-4ef4eb0c.js";
6
+ import "./debounce-fb89e666.js";
7
+ import "./CDropdownItem-46ef817a.js";
8
8
  const p = {
9
9
  i18nOptions: {
10
10
  namespaces: "terms",
@@ -1,7 +1,7 @@
1
1
  import { h as n } from "./color-71c20583.js";
2
- import { C as l } from "./ColorPicker-43c3cfaf.js";
3
- import { M as s } from "./ManualPopover-07af41a9.js";
4
- import { n as a } from "./main-e7c2bb1b.js";
2
+ import { C as l } from "./ColorPicker-b815929f.js";
3
+ import { M as s } from "./ManualPopover-279c34d7.js";
4
+ import { n as a } from "./main-1ef64f74.js";
5
5
  const i = {
6
6
  name: "ThemeColorRow",
7
7
  components: {
@@ -55,7 +55,7 @@ var c = function() {
55
55
  p,
56
56
  !1,
57
57
  null,
58
- "20910178",
58
+ "525021e0",
59
59
  null,
60
60
  null
61
61
  );
@@ -1,6 +1,6 @@
1
- import { m as i } from "./mapFormMixin-cb52494b.js";
2
- import { I as t } from "./InputToggleRow-afcabf8b.js";
3
- import { n as l } from "./main-e7c2bb1b.js";
1
+ import { m as i } from "./mapFormMixin-37d8b2ce.js";
2
+ import { I as t } from "./InputToggleRow-9eae9950.js";
3
+ import { n as l } from "./main-1ef64f74.js";
4
4
  const s = {
5
5
  name: "ToggleBinding",
6
6
  i18nOptions: {
@@ -1,7 +1,7 @@
1
- import l from "./Index-860a7def.js";
2
- import { f as o, h as c, D as d, n as m } from "./main-e7c2bb1b.js";
1
+ import l from "./Index-55922e6a.js";
2
+ import { f as o, h as c, D as d, n as m } from "./main-1ef64f74.js";
3
3
  import { m as p } from "./vuex.esm-4a0fff7c.js";
4
- import "./tinycolor-314fba6f.js";
4
+ import "./tinycolor-6fefbbd2.js";
5
5
  const u = {
6
6
  i18nOptions: {
7
7
  namespaces: "uploadModal",
@@ -73,12 +73,12 @@ const u = {
73
73
  };
74
74
  var _ = function() {
75
75
  var e = this, t = e._self._c;
76
- return t("div", { staticClass: "bg-white rounded-xl text-base max-h-[90%] w-[460px] max-w-full" }, [t("div", { staticClass: "p-6" }, [t("div", { staticClass: "p-8 text-center text-gray-700 border border-gray-200 rounded-lg cursor-pointer bg-gray-50 hover:bg-gray-100 hover:border-primary-500/20 active:bg-gray-200", on: { click: function(s) {
76
+ return t("div", { staticClass: "max-h-[90%] w-[460px] max-w-full rounded-xl bg-white text-base" }, [t("div", { staticClass: "p-6" }, [t("div", { staticClass: "hover:border-primary-500/20 cursor-pointer rounded-lg border border-gray-200 bg-gray-50 p-8 text-center text-gray-700 hover:bg-gray-100 active:bg-gray-200", on: { click: function(s) {
77
77
  return e.$emit("open-picker");
78
- } } }, [e._v(" " + e._s(e.$t("upPlaceholder")) + " "), t("span", { staticClass: "underline text-primary-500" }, [e._v(e._s(e.$t("_common:browse")))])])]), e.isLoading || e.recentFiles.length ? t("div", { staticClass: "pb-4 text-left h-[400px] overflow-auto max-h-[50vh] border-t border-gray-200" }, [t("div", { staticStyle: { "font-size": "15px", padding: "1em", margin: "0px 1em", color: "hsl(0, 0%, 30%)" } }, [e._v(" " + e._s(e.$t("recentlyUsed")) + " ")]), e.isLoading ? e._l(6, function(s) {
79
- return t("ContentPlaceholders", { key: s, staticClass: "flex items-center w-full up-recent-item", attrs: { animated: !1 } }, [t("ContentPlaceholdersText", { staticStyle: { width: "37px", height: "38px", "font-size": "24px", "margin-right": "4px" }, attrs: { lines: 1 } }), t("div", { staticClass: "flex-grow" }, [t("ContentPlaceholdersText", { attrs: { lines: 1 } }), t("ContentPlaceholdersText", { staticClass: "up-recent-item-hint", staticStyle: { "max-width": "50%" }, attrs: { lines: 1 } })], 1)], 1);
78
+ } } }, [e._v(" " + e._s(e.$t("upPlaceholder")) + " "), t("span", { staticClass: "text-primary-500 underline" }, [e._v(e._s(e.$t("_common:browse")))])])]), e.isLoading || e.recentFiles.length ? t("div", { staticClass: "h-[400px] max-h-[50vh] overflow-auto border-t border-gray-200 pb-4 text-left" }, [t("div", { staticStyle: { "font-size": "15px", padding: "1em", margin: "0px 1em", color: "hsl(0, 0%, 30%)" } }, [e._v(" " + e._s(e.$t("recentlyUsed")) + " ")]), e.isLoading ? e._l(6, function(s) {
79
+ return t("ContentPlaceholders", { key: s, staticClass: "up-recent-item flex w-full items-center", attrs: { animated: !1 } }, [t("ContentPlaceholdersText", { staticStyle: { width: "37px", height: "38px", "font-size": "24px", "margin-right": "4px" }, attrs: { lines: 1 } }), t("div", { staticClass: "flex-grow" }, [t("ContentPlaceholdersText", { attrs: { lines: 1 } }), t("ContentPlaceholdersText", { staticClass: "up-recent-item-hint", staticStyle: { "max-width": "50%" }, attrs: { lines: 1 } })], 1)], 1);
80
80
  }) : e._l(e.recentFiles, function(s) {
81
- return t("div", { key: s.id, staticClass: "flex items-center w-full up-recent-item", on: { click: function(r) {
81
+ return t("div", { key: s.id, staticClass: "up-recent-item flex w-full items-center", on: { click: function(r) {
82
82
  return e.onSelect(s);
83
83
  } } }, [t("FileIcon", { staticStyle: { "margin-right": "1em" }, attrs: { mime: s.mime, size: 30 } }), t("div", { staticClass: "truncate-text" }, [t("div", { staticClass: "truncate-text", staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(s.name) + " ")]), t("div", { staticClass: "up-recent-item-hint" }, [e._v(" " + e._s(e.$formatDate(s.createdAt)) + " ")])])], 1);
84
84
  })], 2) : e._e()]);
@@ -88,7 +88,7 @@ var _ = function() {
88
88
  h,
89
89
  !1,
90
90
  null,
91
- "7a9d7b43",
91
+ "b69c7bc0",
92
92
  null,
93
93
  null
94
94
  );
@@ -1,6 +1,6 @@
1
- import { d as a } from "./debounce-ceac3c0c.js";
2
- import { v as l } from "./utils-e42920bb.js";
3
- import { n } from "./main-e7c2bb1b.js";
1
+ import { d as a } from "./debounce-fb89e666.js";
2
+ import { v as l } from "./utils-ebaac977.js";
3
+ import { n } from "./main-1ef64f74.js";
4
4
  const r = {
5
5
  name: "VideoPlayerInput",
6
6
  i18nOptions: {
@@ -1,7 +1,7 @@
1
- import n from "./VideoPlayerInput-0289e1ad.js";
2
- import { n as s } from "./main-e7c2bb1b.js";
3
- import "./debounce-ceac3c0c.js";
4
- import "./utils-e42920bb.js";
1
+ import n from "./VideoPlayerInput-a6db7b6f.js";
2
+ import { n as s } from "./main-1ef64f74.js";
3
+ import "./debounce-fb89e666.js";
4
+ import "./utils-ebaac977.js";
5
5
  const l = {
6
6
  i18nOptions: {
7
7
  namespaces: "components",
@@ -1,12 +1,12 @@
1
- import { c as h, n as f, o as g } from "./main-e7c2bb1b.js";
2
- import { B as _, a as y } from "./index-df8dbf78.js";
3
- import x from "./VideoPlayerInput-0289e1ad.js";
4
- import "./debounce-ceac3c0c.js";
5
- import "./throttle-27be8808.js";
1
+ import { c as h, n as f, o as g } from "./main-1ef64f74.js";
2
+ import { B as _, a as y } from "./index-28cc6cae.js";
3
+ import x from "./VideoPlayerInput-a6db7b6f.js";
4
+ import "./debounce-fb89e666.js";
5
+ import "./throttle-4a44697d.js";
6
6
  import "./dom-962579a6.js";
7
- import "./CDropdownItem-b1e4c6f3.js";
8
- import "./Flag-38700bb4.js";
9
- import "./utils-e42920bb.js";
7
+ import "./CDropdownItem-46ef817a.js";
8
+ import "./Flag-4e6e51fe.js";
9
+ import "./utils-ebaac977.js";
10
10
  const V = h.pexels.id, w = {
11
11
  name: "VideoSelectModal",
12
12
  i18nOptions: {
@@ -48,12 +48,12 @@ const V = h.pexels.id, w = {
48
48
  }), a = (o, i) => o.height < i.height || o.width < i.width ? -1 : 1, u = (o) => (o.find(({ height: i }) => i > 1e3 && i < 1200) || {}).link;
49
49
  return {
50
50
  items: (e.videos || []).map(
51
- ({ id: o, image: i, video_files: r = [], user: d }) => {
52
- const { sd: m, hd: p } = (r || []).sort(a).reduce(
53
- (c, l) => (c[l.quality] && l.link && c[l.quality].push(l.link), c),
51
+ ({ id: o, image: i, video_files: c = [], user: d }) => {
52
+ const { sd: m, hd: p } = (c || []).sort(a).reduce(
53
+ (r, l) => (r[l.quality] && l.link && r[l.quality].push(l.link), r),
54
54
  { sd: [], hd: [] }
55
55
  ), [v] = m;
56
- let n = u(r);
56
+ let n = u(c);
57
57
  return n || ([n] = p.length ? p : m.slice(-1)), {
58
58
  id: `${o}`,
59
59
  image: i,
@@ -85,11 +85,11 @@ const V = h.pexels.id, w = {
85
85
  };
86
86
  var b = function() {
87
87
  var t = this, e = t._self._c;
88
- return e("BackgroundModal", t._g({}, t.$listeners), [e("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }, attrs: { slot: "header" }, slot: "header" }, [e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "pexels" && { opacity: 1 }, on: { click: function(a) {
88
+ return e("BackgroundModal", t._g({}, t.$listeners), [e("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }, attrs: { slot: "header" }, slot: "header" }, [e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "pexels" && { opacity: 1 }, on: { click: function(a) {
89
89
  t.activeTab = "pexels";
90
90
  } } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 32 32" } }, [e("path", { attrs: { d: "M2 0h28a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z", fill: "#05A081" } }), e("path", { attrs: { d: "M13 21h3.863v-3.752h1.167a3.124 3.124 0 1 0 0-6.248H13v10zm5.863 2H11V9h7.03a5.124 5.124 0 0 1 .833 10.18V23z", fill: "#fff" } })]), t._v(" " + t._s(t.$t("_common:video").capitalize()) + " ")])]), e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "customUrl" && { opacity: 1 }, on: { click: function(a) {
91
91
  t.activeTab = "customUrl";
92
- } } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { width: "28", height: "28", xmlns: "http://www.w3.org/2000/svg", version: "1.1", x: "0", y: "0", "xml:space": "preserve", viewBox: "0 0 71.412 50" } }, [e("g", { attrs: { transform: "scale(.58824)" } }, [e("path", { attrs: { d: "M118.9 13.3c-1.4-5.2-5.5-9.3-10.7-10.7C98.7 0 60.7 0 60.7 0s-38 0-47.5 2.5C8.1 3.9 3.9 8.1 2.5 13.3 0 22.8 0 42.5 0 42.5s0 19.8 2.5 29.2C3.9 76.9 8 81 13.2 82.4 22.8 85 60.7 85 60.7 85s38 0 47.5-2.5c5.2-1.4 9.3-5.5 10.7-10.7 2.5-9.5 2.5-29.2 2.5-29.2s.1-19.8-2.5-29.3z", fill: "red", "fill-opacity": "1" } }), e("path", { attrs: { fill: "#fff", d: "M80.2 42.5L48.6 24.3v36.4z" } })])]), t._v(" " + t._s(t.$t("tabLink").capitalize()) + " ")])])], 1), t.activeTab === "pexels" ? e("BackgroundList", { attrs: { fetch: t.fetch, "credit-text": t.$t("creditVideos", { thing: "Pexels" }), "default-query": "nature" }, on: { select: t.selectVideo } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disable: !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : e("div", { staticClass: "flex flex-col items-center justify-center w-full" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, [e("div", { staticStyle: { position: "relative", width: "100%", "padding-top": "56.25%", "background-color": "hsl(var(--gray-color-100) / 1)", "border-radius": "0.5em", "margin-bottom": "calc(1.5 * var(--rem))" } }, [t.customVideo ? e("iframe", { staticClass: "custom-video-preview", attrs: { src: t.customVideo.url } }) : t._e()]), e("VideoPlayerInput", { attrs: { filled: !0, "video-options": { background: !0 } }, model: { value: t.customVideo, callback: function(a) {
92
+ } } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { width: "28", height: "28", xmlns: "http://www.w3.org/2000/svg", version: "1.1", x: "0", y: "0", "xml:space": "preserve", viewBox: "0 0 71.412 50" } }, [e("g", { attrs: { transform: "scale(.58824)" } }, [e("path", { attrs: { d: "M118.9 13.3c-1.4-5.2-5.5-9.3-10.7-10.7C98.7 0 60.7 0 60.7 0s-38 0-47.5 2.5C8.1 3.9 3.9 8.1 2.5 13.3 0 22.8 0 42.5 0 42.5s0 19.8 2.5 29.2C3.9 76.9 8 81 13.2 82.4 22.8 85 60.7 85 60.7 85s38 0 47.5-2.5c5.2-1.4 9.3-5.5 10.7-10.7 2.5-9.5 2.5-29.2 2.5-29.2s.1-19.8-2.5-29.3z", fill: "red", "fill-opacity": "1" } }), e("path", { attrs: { fill: "#fff", d: "M80.2 42.5L48.6 24.3v36.4z" } })])]), t._v(" " + t._s(t.$t("tabLink").capitalize()) + " ")])])], 1), t.activeTab === "pexels" ? e("BackgroundList", { attrs: { fetch: t.fetch, "credit-text": t.$t("creditVideos", { thing: "Pexels" }), "default-query": "nature" }, on: { select: t.selectVideo } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disable: !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : e("div", { staticClass: "flex w-full flex-col items-center justify-center" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, [e("div", { staticStyle: { position: "relative", width: "100%", "padding-top": "56.25%", "background-color": "hsl(var(--gray-color-100) / 1)", "border-radius": "0.5em", "margin-bottom": "calc(1.5 * var(--rem))" } }, [t.customVideo ? e("iframe", { staticClass: "custom-video-preview", attrs: { src: t.customVideo.url } }) : t._e()]), e("VideoPlayerInput", { attrs: { filled: !0, "video-options": { background: !0 } }, model: { value: t.customVideo, callback: function(a) {
93
93
  t.customVideo = a;
94
94
  }, expression: "customVideo" } }, [e("CButton", { attrs: { disable: !t.customVideo, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)])], 1);
95
95
  }, k = [], S = /* @__PURE__ */ f(
@@ -98,7 +98,7 @@ var b = function() {
98
98
  k,
99
99
  !1,
100
100
  null,
101
- "bc480378",
101
+ "4501db64",
102
102
  null,
103
103
  null
104
104
  );