@cling-se/widget 0.9.4 → 0.9.6

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 (131) hide show
  1. package/dist/{AddClientCallout-d472aa84.js → AddClientCallout-d8f5bc53.js} +5 -5
  2. package/dist/{AnswerModal-06487437.js → AnswerModal-5f83562b.js} +248 -248
  3. package/dist/{AttachmentItem-d98488ee.js → AttachmentItem-79eb718b.js} +8 -8
  4. package/dist/{BaseDatePicker-8c098701.js → BaseDatePicker-ae7aebf1.js} +43 -43
  5. package/dist/{BaseInput-2723d613.js → BaseInput-2c476604.js} +1 -1
  6. package/dist/{BaseUpload-996d74b3.js → BaseUpload-9e15729d.js} +3 -3
  7. package/dist/{BlockMedia-00907fb6.js → BlockMedia-a3f00a2f.js} +1 -1
  8. package/dist/{CCallout-ffa95028.js → CCallout-04e2c8c6.js} +6 -6
  9. package/dist/{CDropdownItem-74672842.js → CDropdownItem-5532f8af.js} +76 -75
  10. package/dist/{CField-06dd50f1.js → CField-0bc9de28.js} +1 -1
  11. package/dist/{CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js → CSlider.vue_vue_type_style_index_0_lang-d9c2f582.js} +1 -1
  12. package/dist/{ClientAutocomplete-f65643dd.js → ClientAutocomplete-e13c2753.js} +4 -4
  13. package/dist/{ClientModal-d276aabd.js → ClientModal-da9fddf9.js} +16 -16
  14. package/dist/{ColorPicker-4f6b70af.js → ColorPicker-06b731b7.js} +2 -2
  15. package/dist/{CompanyModal-30c54ce3.js → CompanyModal-b7c42f2a.js} +8 -8
  16. package/dist/{ContentWrapper-d5653fef.js → ContentWrapper-fe4a67bc.js} +19 -19
  17. package/dist/{CoverBlockSettings-2335f3a8.js → CoverBlockSettings-2024e993.js} +19 -19
  18. package/dist/DocForm-af03179d.js +7012 -0
  19. package/dist/{DocFormSend-d0c6fa1d.js → DocFormSend-44161541.js} +14 -14
  20. package/dist/{DocModalBase-f4915a62.js → DocModalBase-9eb0f26f.js} +4 -4
  21. package/dist/DocPrint-92d12950.js +222 -0
  22. package/dist/{DocReceipt-d192000e.js → DocReceipt-4df57e1d.js} +1 -1
  23. package/dist/{DocSendReminder-06d5b34c.js → DocSendReminder-041af744.js} +1 -1
  24. package/dist/{DocTextEditor-c6d1df3c.js → DocTextEditor-b07dd391.js} +19 -19
  25. package/dist/{DocTimeline-b4c20f93.js → DocTimeline-2ae2ca63.js} +7 -7
  26. package/dist/{DocumentClient-c2319f00.js → DocumentClient-3a1aecf2.js} +8 -6
  27. package/dist/{formValidationMixin-4920ab53.js → DocumentLayout-ae49ac7a.js} +1617 -1709
  28. package/dist/{DocumentLogotype-1efd1ce9.js → DocumentLogotype-91436523.js} +3 -3
  29. package/dist/{EmbedInput-654c0477.js → EmbedInput-05e22228.js} +2 -2
  30. package/dist/{EmbedSettings-b81ec734.js → EmbedSettings-9dabb6d4.js} +10 -10
  31. package/dist/ErrorCallout-c7f69cd9.js +30 -0
  32. package/dist/{FilePreviewModal-895bd1bd.js → FilePreviewModal-167a40c8.js} +8 -7
  33. package/dist/{HeaderSettings-c6dac755.js → HeaderSettings-e9b177e0.js} +29 -29
  34. package/dist/{ImageSelectModal-7cece54e.js → ImageSelectModal-8565c461.js} +11 -11
  35. package/dist/{ImageUploadWrapper-53afd31d.js → ImageUploadWrapper-1e61e8da.js} +3 -3
  36. package/dist/{Index-5cc51230.js → Index-0708b238.js} +12 -12
  37. package/dist/{Index-82574a41.js → Index-0799eaba.js} +18 -19
  38. package/dist/{Index-1a7e98d7.js → Index-1f3de208.js} +11 -10
  39. package/dist/{Index-d8879ca9.js → Index-27a05d76.js} +2 -2
  40. package/dist/{Index-b15cfd62.js → Index-43899daf.js} +13 -13
  41. package/dist/{Index-c4de05aa.js → Index-4446581c.js} +10 -9
  42. package/dist/{Index-01c63c88.js → Index-49766088.js} +2 -2
  43. package/dist/{Index-caf5cf44.js → Index-630600c9.js} +94 -94
  44. package/dist/{Index-b14d0f03.js → Index-6b63686e.js} +4 -4
  45. package/dist/{Index-34c84bab.js → Index-716dbe24.js} +10 -10
  46. package/dist/{Index-f935c492.js → Index-72bcad54.js} +10 -10
  47. package/dist/{Index-61f7dc92.js → Index-84820d3d.js} +2 -2
  48. package/dist/{Index-e749f6f1.js → Index-85e8119e.js} +14 -14
  49. package/dist/Index-88e175bf.js +54 -0
  50. package/dist/{Index-e45a0c32.js → Index-89addabd.js} +27 -27
  51. package/dist/{Index-701f0d05.js → Index-8b29bd10.js} +2 -2
  52. package/dist/{Index-d45a1eff.js → Index-8d1c62be.js} +4 -4
  53. package/dist/{Index-63805642.js → Index-96a07794.js} +9 -9
  54. package/dist/{Index-60fc8a6e.js → Index-9bbfa37b.js} +3 -3
  55. package/dist/{Index-7443e91c.js → Index-a7a6f91c.js} +31 -31
  56. package/dist/{Index-8bca2d87.js → Index-a987a099.js} +9 -9
  57. package/dist/{Index-98e8bb86.js → Index-b6b60b81.js} +8 -8
  58. package/dist/{Index-5e35f4a2.js → Index-ba0c8eaa.js} +8 -8
  59. package/dist/{Index-9aaf8b90.js → Index-c038406f.js} +26 -26
  60. package/dist/Index-c53330d6.js +79 -0
  61. package/dist/{Index-9233cc83.js → Index-c58260f8.js} +15 -15
  62. package/dist/{Index-2535f58f.js → Index-c893d091.js} +2 -2
  63. package/dist/{Index-1d361d01.js → Index-ca112d97.js} +4 -4
  64. package/dist/{Index-cd76b120.js → Index-e728d2f7.js} +7 -7
  65. package/dist/{Index-6ef78b7a.js → Index-ecf93915.js} +2 -2
  66. package/dist/{Index-c7e68382.js → Index-eda700f4.js} +4 -4
  67. package/dist/{Index-82b5de12.js → Index-ee75e74a.js} +4 -4
  68. package/dist/{Index-c67218ce.js → Index-f75b1dd5.js} +15 -15
  69. package/dist/{Index-66c8cbfa.js → Index-fc722547.js} +4 -4
  70. package/dist/{InputToggleRow-9d8a7da4.js → InputToggleRow-483acc75.js} +5 -5
  71. package/dist/{IsPremiumPreStep-3a087524.js → IsPremiumPreStep-aa08f8c8.js} +856 -432
  72. package/dist/{MediaWrapper-d4a4b66f.js → MediaWrapper-ed7db800.js} +3 -3
  73. package/dist/{NotBindingText-b199006c.js → NotBindingText-a99b4f85.js} +2 -2
  74. package/dist/{PackageGroup-37ac99b1.js → PackageGroup-8cae78f1.js} +56 -56
  75. package/dist/{PdfTerms-8b52bb6e.js → PdfTerms-9c1c806e.js} +8 -7
  76. package/dist/{PdfViewer-38bd8439.js → PdfViewer-1227dda6.js} +5 -4
  77. package/dist/{PlainHtml-9174cbf6.js → PlainHtml-647219e9.js} +1 -1
  78. package/dist/PriceHeader-cfb22169.js +337 -0
  79. package/dist/{SearchApi-2e286be6.js → SearchApi-c0067742.js} +2 -2
  80. package/dist/{TermsSettings-c74eec79.js → TermsSettings-a0282ad7.js} +11 -11
  81. package/dist/{ThemeColorRow-3558367b.js → ThemeColorRow-71af67bd.js} +3 -3
  82. package/dist/{ToggleBinding-6c9c1ac3.js → ToggleBinding-16c2879e.js} +3 -3
  83. package/dist/{UploadModal-6d0abd77.js → UploadModal-084e3c2e.js} +16 -16
  84. package/dist/{VideoPlayerInput-77cd86aa.js → VideoPlayerInput-fe87698e.js} +3 -3
  85. package/dist/{VideoPlayerSettings-b7eb781c.js → VideoPlayerSettings-06cfaccc.js} +12 -12
  86. package/dist/VideoSelectModal-fa81fb92.js +111 -0
  87. package/dist/{answerDocumentMixin-66023e62.js → answerDocumentMixin-ef48c7eb.js} +3 -3
  88. package/dist/{cssMode-8552fc56.js → cssMode-916ae2c1.js} +7 -7
  89. package/dist/dom-068d1a7b.js +59 -0
  90. package/dist/{focusDrawerMixin-67462262.js → focusDrawerMixin-24942dd1.js} +1 -1
  91. package/dist/{formComponentsInstall-ad9c2a83.js → formComponentsInstall-2dfa2def.js} +25 -25
  92. package/dist/formValidationMixin-82793652.js +49 -0
  93. package/dist/{freemarker2-7e10a65d.js → freemarker2-6fd30e77.js} +7 -7
  94. package/dist/{handlebars-8045bfa8.js → handlebars-ff07e526.js} +7 -7
  95. package/dist/{html-8afcb633.js → html-5ad143f9.js} +7 -7
  96. package/dist/{htmlMode-1a2d1b48.js → htmlMode-adc834ff.js} +7 -7
  97. package/dist/{index-3d6d7a03.js → index-045c9c73.js} +31 -31
  98. package/dist/{index-c48c5eb4.js → index-1f068e8e.js} +3 -3
  99. package/dist/{index-bf93d7c2.js → index-6eda8be0.js} +7 -7
  100. package/dist/{index-f805bfce.js → index-b3fb8f92.js} +45 -45
  101. package/dist/index.es.js +8 -8
  102. package/dist/index.umd.js +565 -561
  103. package/dist/{javascript-dad5561e.js → javascript-9c241e8d.js} +8 -8
  104. package/dist/{jsonMode-ce09245f.js → jsonMode-36a8e1fd.js} +7 -7
  105. package/dist/{liquid-05247459.js → liquid-da99d7af.js} +7 -7
  106. package/dist/{main-04025a56.js → main-2dc98356.js} +15380 -12891
  107. package/dist/{mapFormMixin-8d073f99.js → mapFormMixin-4ac649c2.js} +1 -1
  108. package/dist/{publicSenderState-97108de1.js → publicSenderState-1db8a50c.js} +1 -1
  109. package/dist/{python-3f3513c5.js → python-15d86041.js} +7 -7
  110. package/dist/{razor-1f3e9c4e.js → razor-19e0207f.js} +7 -7
  111. package/dist/simplebar.min-9f5e0b8a.js +71 -0
  112. package/dist/style.css +2 -2
  113. package/dist/{template-42a1d852.js → template-069f0890.js} +1 -1
  114. package/dist/{throttle-a2c1f34d.js → throttle-f8ef830f.js} +2 -2
  115. package/dist/{tinycolor-88fa380f.js → tinycolor-78c3e3d5.js} +1 -1
  116. package/dist/{FormInputRow-9819eb71.js → tippy.esm-d2a6f864.js} +285 -285
  117. package/dist/{tsMode-4c026047.js → tsMode-7fcdffc4.js} +7 -7
  118. package/dist/{typescript-baf56f67.js → typescript-f492bdab.js} +7 -7
  119. package/dist/{utils-6670dea6.js → utils-aab0bc31.js} +1 -1
  120. package/dist/{vuedraggable.umd-d7138234.js → vuedraggable.umd-eb01eee5.js} +41 -41
  121. package/dist/{xml-ffc6146a.js → xml-976a8723.js} +7 -7
  122. package/package.json +3 -2
  123. package/stats.html +1 -1
  124. package/vite-plugin-library-asset-external/index.js +134 -0
  125. package/dist/DocForm-9ca24de4.js +0 -6772
  126. package/dist/ErrorCallout-60d0b3ab.js +0 -30
  127. package/dist/Index-b020a80c.js +0 -47
  128. package/dist/Index-e80f5f9c.js +0 -79
  129. package/dist/PriceHeader-e357afe9.js +0 -336
  130. package/dist/VideoSelectModal-d2299552.js +0 -111
  131. package/dist/simplebar.min-3af55aab.js +0 -2429
@@ -1,10 +1,10 @@
1
- import { g as s, n as a } from "./main-04025a56.js";
1
+ import { g as s, n as a } from "./main-2dc98356.js";
2
2
  import { m as l, a as p } from "./vuex.esm-4a0fff7c.js";
3
- import { a as r } from "./publicSenderState-97108de1.js";
3
+ import { a as r } from "./publicSenderState-1db8a50c.js";
4
4
  const c = {
5
5
  name: "DocumentLogotype",
6
6
  components: {
7
- ImageUploadWrapper: () => import("./ImageUploadWrapper-53afd31d.js")
7
+ ImageUploadWrapper: () => import("./ImageUploadWrapper-1e61e8da.js")
8
8
  },
9
9
  props: {
10
10
  value: {
@@ -1,5 +1,5 @@
1
- import { d } from "./CDropdownItem-74672842.js";
2
- import { b as l, n as o } from "./main-04025a56.js";
1
+ import { d } from "./CDropdownItem-5532f8af.js";
2
+ import { b as l, n as o } from "./main-2dc98356.js";
3
3
  const m = (t) => {
4
4
  const i = new DOMParser().parseFromString(t, "text/html"), [s] = l(i, "body.children") || [];
5
5
  return !s || s.tagName !== "IFRAME" ? {} : Array.from(s.attributes).reduce(
@@ -1,6 +1,6 @@
1
- import n from "./EmbedInput-654c0477.js";
2
- import { n as l } from "./main-04025a56.js";
3
- import "./CDropdownItem-74672842.js";
1
+ import n from "./EmbedInput-05e22228.js";
2
+ import { n as l } from "./main-2dc98356.js";
3
+ import "./CDropdownItem-5532f8af.js";
4
4
  const o = {
5
5
  i18nOptions: {
6
6
  namespaces: "embedSettings",
@@ -52,12 +52,12 @@ const o = {
52
52
  };
53
53
  var r = function() {
54
54
  var e = this, t = e._self._c;
55
- return t("div", { staticClass: "d-root" }, [t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(e._s(e.$t("title").capitalize()))]), t("div", { staticClass: "has-text-grey-dark", staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), t("EmbedInput", { attrs: { value: e.value, "is-drawer-mode": !0 }, on: { input: function(s) {
56
- return e.$emit("input", s);
57
- } } })], 1), t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [t("div", { staticStyle: { flex: "1 1 auto" } }, [e._v(" " + e._s(e.$t("responsiveSize")) + " ")]), t("CSwitch", { staticStyle: { "margin-right": "0" }, attrs: { value: !!e.size, size: "small", type: "secondary" }, on: { input: (s) => e.$emit("update:size", s ? "small" : null) } })], 1), e.size ? t("div", { staticStyle: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "padding-top": "5px" } }, e._l(e.sizeOptions, function({ value: s, svg: i }, a) {
58
- return t("div", { key: a, staticClass: "size-option", on: { click: function(m) {
59
- return e.$emit("update:size", s);
60
- } } }, [t("svg", { staticClass: "size-option-image", class: { "is-active": e.size === s }, attrs: { viewBox: "0 0 99 65" }, domProps: { innerHTML: e._s(i) } })]);
55
+ return t("div", { staticClass: "d-root" }, [t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(e._s(e.$t("title").capitalize()))]), t("div", { staticClass: "text-gray-600", staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), t("EmbedInput", { attrs: { value: e.value, "is-drawer-mode": !0 }, on: { input: function(i) {
56
+ return e.$emit("input", i);
57
+ } } })], 1), t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [t("div", { staticStyle: { flex: "1 1 auto" } }, [e._v(" " + e._s(e.$t("responsiveSize")) + " ")]), t("CSwitch", { staticStyle: { "margin-right": "0" }, attrs: { value: !!e.size, size: "small", type: "secondary" }, on: { input: (i) => e.$emit("update:size", i ? "small" : null) } })], 1), e.size ? t("div", { staticStyle: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "padding-top": "5px" } }, e._l(e.sizeOptions, function({ value: i, svg: s }, a) {
58
+ return t("div", { key: a, staticClass: "size-option", on: { click: function(c) {
59
+ return e.$emit("update:size", i);
60
+ } } }, [t("svg", { staticClass: "size-option-image", class: { "is-active": e.size === i }, attrs: { viewBox: "0 0 99 65" }, domProps: { innerHTML: e._s(s) } })]);
61
61
  }), 0) : e._e()])]);
62
62
  }, d = [], p = /* @__PURE__ */ l(
63
63
  o,
@@ -65,7 +65,7 @@ var r = function() {
65
65
  d,
66
66
  !1,
67
67
  null,
68
- "024651f6",
68
+ "e95b62ec",
69
69
  null,
70
70
  null
71
71
  );
@@ -0,0 +1,30 @@
1
+ import { n as r } from "./main-2dc98356.js";
2
+ const s = {
3
+ name: "ErrorCallout",
4
+ props: {
5
+ message: {
6
+ type: String,
7
+ required: !0
8
+ },
9
+ size: {
10
+ type: String,
11
+ default: "normal"
12
+ }
13
+ }
14
+ };
15
+ var a = function(t, e) {
16
+ return t("div", { staticClass: "flex items-center", class: [e.data.staticClass], staticStyle: { "margin-top": "calc(1 * var(--rem))" }, style: [e.data.staticStyle] }, [t("div", { staticClass: "error-wrapper bg-red-50 text-red-500", class: [`is-${e.props.size}`], staticStyle: { margin: "calc(1 * var(--rem)) 0" } }, [t("BaseIcon", { staticStyle: { "margin-right": "0.5em", flex: "0 0 18px" }, attrs: { type: "alert", size: "18" } }), t("div", [e._v(" " + e._s(e.props.message) + " ")])], 1)]);
17
+ }, l = [], n = /* @__PURE__ */ r(
18
+ s,
19
+ a,
20
+ l,
21
+ !0,
22
+ null,
23
+ "7e7d102f",
24
+ null,
25
+ null
26
+ );
27
+ const c = n.exports;
28
+ export {
29
+ c as E
30
+ };
@@ -1,7 +1,8 @@
1
- import { n, S as o } from "./main-04025a56.js";
2
- import { V as r } from "./PdfViewer-38bd8439.js";
3
- import "./formValidationMixin-4920ab53.js";
4
- import "./CDropdownItem-74672842.js";
1
+ import { n, S as o } from "./main-2dc98356.js";
2
+ import { V as r } from "./PdfViewer-1227dda6.js";
3
+ import "./dom-068d1a7b.js";
4
+ import "./DocumentLayout-ae49ac7a.js";
5
+ import "./CDropdownItem-5532f8af.js";
5
6
  const a = {
6
7
  name: "FilesPreviewModal",
7
8
  components: {
@@ -75,11 +76,11 @@ var l = function() {
75
76
  d,
76
77
  !1,
77
78
  null,
78
- "2a485b38",
79
+ "c103b633",
79
80
  null,
80
81
  null
81
82
  );
82
- const m = c.exports;
83
+ const g = c.exports;
83
84
  export {
84
- m as default
85
+ g as default
85
86
  };
@@ -1,18 +1,18 @@
1
- import { m as x } from "./mapFormMixin-8d073f99.js";
2
- import { g as _, T as w } from "./ThemeColorRow-3558367b.js";
3
- import { j as v, n as y, h as d } from "./main-04025a56.js";
4
- import { B as C, a as k } from "./index-bf93d7c2.js";
5
- import b from "./VideoPlayerInput-77cd86aa.js";
6
- import S from "./ImageUploadWrapper-53afd31d.js";
7
- import { a as A } from "./tinycolor-88fa380f.js";
1
+ import { m as x } from "./mapFormMixin-4ac649c2.js";
2
+ import { g as _, T as w } from "./ThemeColorRow-71af67bd.js";
3
+ import { k as v, n as y, j as d } from "./main-2dc98356.js";
4
+ import { B as C, a as k } from "./index-6eda8be0.js";
5
+ import b from "./VideoPlayerInput-fe87698e.js";
6
+ import S from "./ImageUploadWrapper-1e61e8da.js";
7
+ import { a as A } from "./tinycolor-78c3e3d5.js";
8
8
  import "./color-71c20583.js";
9
- import "./ColorPicker-4f6b70af.js";
10
- import "./CDropdownItem-74672842.js";
11
- import "./throttle-a2c1f34d.js";
12
- import "./formValidationMixin-4920ab53.js";
13
- import "./simplebar.min-3af55aab.js";
14
- import "./utils-6670dea6.js";
15
- import "./BaseUpload-996d74b3.js";
9
+ import "./ColorPicker-06b731b7.js";
10
+ import "./CDropdownItem-5532f8af.js";
11
+ import "./throttle-f8ef830f.js";
12
+ import "./dom-068d1a7b.js";
13
+ import "./simplebar.min-9f5e0b8a.js";
14
+ import "./utils-aab0bc31.js";
15
+ import "./BaseUpload-9e15729d.js";
16
16
  const g = v.unsplash.id, L = v.pexels.id, z = {
17
17
  name: "MediaSelectModal",
18
18
  i18nOptions: {
@@ -50,22 +50,22 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
50
50
  {
51
51
  value: "unsplash",
52
52
  label: "Unsplash",
53
- icon: '<svg style="margin-right: 0.5rem;" width="20" height="20" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z"/></svg>'
53
+ icon: '<svg style="margin-right: calc(0.5 * var(--rem));" width="20" height="20" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z"/></svg>'
54
54
  },
55
55
  {
56
56
  value: "customImage",
57
57
  label: this.$t("_common:upload"),
58
- icon: '<svg style="margin-right: 0.5rem;" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M20.4 14.5L16 10 4 20"/></svg>'
58
+ icon: '<svg style="margin-right: calc(0.5 * var(--rem));" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M20.4 14.5L16 10 4 20"/></svg>'
59
59
  },
60
60
  {
61
61
  value: "pexels",
62
62
  label: "Pexels",
63
- icon: '<svg style="margin-right: 0.5rem;" xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 32 32"><path 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"></path><path 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"></path></svg>'
63
+ icon: '<svg style="margin-right: calc(0.5 * var(--rem));" xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 32 32"><path 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"></path><path 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"></path></svg>'
64
64
  },
65
65
  {
66
66
  value: "customVideo",
67
67
  label: this.$t("tabLink"),
68
- icon: '<svg style="margin-right: 0.5rem;" 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"><g transform="scale(.58824)"><path 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"/><path fill="#fff" d="M80.2 42.5L48.6 24.3v36.4z"/></g></svg>'
68
+ icon: '<svg style="margin-right: calc(0.5 * var(--rem));" 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"><g transform="scale(.58824)"><path 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"/><path fill="#fff" d="M80.2 42.5L48.6 24.3v36.4z"/></g></svg>'
69
69
  }
70
70
  ],
71
71
  activeTab: "unsplash",
@@ -173,16 +173,16 @@ const g = v.unsplash.id, L = v.pexels.id, z = {
173
173
  };
174
174
  var I = function() {
175
175
  var t = this, e = t._self._c;
176
- return e("BackgroundModal", [e("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { padding: "0.25rem 1rem", "border-bottom": "1px solid hsl(0, 0%, 88%)" }, attrs: { slot: "header" }, slot: "header" }, t._l(t.tabs, function(o, s) {
176
+ return e("BackgroundModal", [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" }, t._l(t.tabs, function(o, s) {
177
177
  return e("CButton", { key: s, staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === o.value && { opacity: 1 }, on: { click: function(r) {
178
178
  t.activeTab = o.value;
179
179
  } } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("div", { domProps: { innerHTML: t._s(o.icon) } }), t._v(" " + t._s(o.label) + " ")])]);
180
180
  }), 1), ["unsplash", "pexels"].includes(t.activeTab) ? e("BackgroundList", { key: t.activeTab, attrs: { fetch: t.isImage ? t.fetchImage : t.fetchVideo, "credit-text": t.$t("creditVideos", { thing: t.activeTab.capitalize() }), "default-query": "nature" }, on: { select: function(o) {
181
181
  t.isImage ? t.selectImage(o) : t.selectVideo(o);
182
- } } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disabled: t.isImage ? !t.selectedImage : !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : t.activeTab === "customVideo" ? 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": "3rem" } }, [e("div", { staticStyle: { position: "relative", width: "100%", "padding-top": "56.25%", "background-color": "hsl(0, 0%, 95%)", "border-radius": "0.5em", "margin-bottom": "1.5rem" } }, [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(o) {
182
+ } } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disabled: t.isImage ? !t.selectedImage : !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : t.activeTab === "customVideo" ? 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(o) {
183
183
  t.customVideo = o;
184
- }, expression: "customVideo" } }, [e("CButton", { attrs: { disabled: !t.customVideo, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)]) : e("div", { staticClass: "flex flex-col items-center justify-center" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "3rem" } }, [e("ImageUploadWrapper", { ref: "uploadWrapper", attrs: { "on-image-upload": t.setCustomBackground }, scopedSlots: t._u([{ key: "default", fn: function({ progress: o }) {
185
- return [e("div", { staticClass: "relative w-full mb-6" }, [t.customImage ? e("img", { staticClass: "object-cover w-full h-full", attrs: { src: t.customImage, alt: t.customImage } }) : e("div", { staticClass: "flex flex-col items-center justify-center bg-gray-100 rounded-md aspect-video" }, [e("CButton", { style: t.customImage && { opacity: 0.5 }, attrs: { loading: !!o && o < 100, "icon-left": "upload", type: "none" } }, [t._v(" " + t._s(t.$t("_common:upload")) + " ")]), e("div", { staticClass: "text-center has-text-grey-dark", staticStyle: { "padding-top": "1rem", "font-size": "14px", "max-width": "40ch" } }, [t._v(" " + t._s(t.$t("minWidth")) + " ")])], 1)])];
184
+ }, expression: "customVideo" } }, [e("CButton", { attrs: { disabled: !t.customVideo, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)]) : e("div", { staticClass: "flex flex-col items-center justify-center" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, [e("ImageUploadWrapper", { ref: "uploadWrapper", attrs: { "on-image-upload": t.setCustomBackground }, scopedSlots: t._u([{ key: "default", fn: function({ progress: o }) {
185
+ return [e("div", { staticClass: "relative w-full mb-6" }, [t.customImage ? e("img", { staticClass: "object-cover w-full h-full", attrs: { src: t.customImage, alt: t.customImage } }) : e("div", { staticClass: "flex flex-col items-center justify-center bg-gray-100 rounded-md aspect-video" }, [e("CButton", { style: t.customImage && { opacity: 0.5 }, attrs: { loading: !!o && o < 100, "icon-left": "upload", type: "none" } }, [t._v(" " + t._s(t.$t("_common:upload")) + " ")]), e("div", { staticClass: "text-center text-gray-600", staticStyle: { "padding-top": "calc(1 * var(--rem))", "font-size": "14px", "max-width": "40ch" } }, [t._v(" " + t._s(t.$t("minWidth")) + " ")])], 1)])];
186
186
  } }]) }), e("div", { staticClass: "flex items-center justify-center" }, [e("CButton", { attrs: { disabled: !t.customImage, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)])], 1);
187
187
  }, V = [], M = /* @__PURE__ */ y(
188
188
  z,
@@ -190,7 +190,7 @@ var I = function() {
190
190
  V,
191
191
  !1,
192
192
  null,
193
- "0b054e26",
193
+ "5d67c30b",
194
194
  null,
195
195
  null
196
196
  );
@@ -375,9 +375,9 @@ const $ = {
375
375
  };
376
376
  var B = function() {
377
377
  var t = this, e = t._self._c;
378
- return e("div", { staticClass: "d-root" }, [e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "0.5rem" } }, [t._v(" Layouts ")]), e("div", { staticClass: "grid grid-cols-3 gap-2 p-1" }, t._l(t.layoutOptions, function({ isActive: o, onClick: s, icon: r }, a) {
378
+ return e("div", { staticClass: "d-root" }, [e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "calc(0.5 * var(--rem))" } }, [t._v(" Layouts ")]), e("div", { staticClass: "grid grid-cols-3 gap-2 p-1" }, t._l(t.layoutOptions, function({ isActive: o, onClick: s, icon: r }, a) {
379
379
  return e("CButton", { key: a, staticStyle: { padding: "6px 10px", "border-radius": "3px", height: "initial" }, attrs: { type: o ? "secondary" : "none", pattern: o ? "primary" : "secondary", size: "normal" }, on: { click: s } }, [e("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.75", "stroke-linecap": "round", "stroke-linejoin": "round" }, domProps: { innerHTML: t._s(r) } })]);
380
- }), 1)]), e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "0.5rem" } }, [t._v(" " + t._s(t.$t("_common:background").capitalize()) + " ")]), e("div", { staticClass: "d-option-button-image", style: {
380
+ }), 1)]), e("div", { staticClass: "d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "calc(0.5 * var(--rem))" } }, [t._v(" " + t._s(t.$t("_common:background").capitalize()) + " ")]), e("div", { staticClass: "d-option-button-image", style: {
381
381
  backgroundImage: `url(${t.background || t.theme.background})`
382
382
  }, on: { click: t.openBgModal } })]), e("div", { staticClass: "d-option", staticStyle: { "padding-bottom": "0.5em" } }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.overlayColor || t.theme.backgroundFilter || "", placement: "auto" }, on: { change: function(o) {
383
383
  t.overlayColor = o;
@@ -387,10 +387,10 @@ var B = function() {
387
387
  t.backgroundColor = o;
388
388
  } } }, [t._v(" " + t._s(t.$t("_common:backgroundColor").capitalize()) + " ")])], 1) : t._e()]) : [t.layout !== "center" ? e("div", { staticClass: "d-option" }, [e("ThemeColorRow", { staticClass: "d-option-title", attrs: { value: t.backgroundColor || t.theme.priceSummaryBackground || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(o) {
389
389
  t.backgroundColor = o, t._document.setDirty(t._value.backgroundColor);
390
- } } }, [t._v(" " + t._s(t.$t("_common:backgroundColor").capitalize()) + " ")])], 1) : t._e(), e("div", { staticClass: "d-option" }, [e("ThemeColorRow", { staticClass: "d-option-title", staticStyle: { "margin-top": "0.5rem" }, attrs: { value: t.textColor || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(o) {
390
+ } } }, [t._v(" " + t._s(t.$t("_common:backgroundColor").capitalize()) + " ")])], 1) : t._e(), e("div", { staticClass: "d-option" }, [e("ThemeColorRow", { staticClass: "d-option-title", staticStyle: { "margin-top": "calc(0.5 * var(--rem))" }, attrs: { value: t.textColor || "", "picker-options": { disableAlpha: !0 }, placement: "auto" }, on: { change: function(o) {
391
391
  t.textColor = o, t._document.setDirty(t._value.textColor);
392
- } } }, [t._v(" " + t._s(t.$t("_common:textColor").capitalize()) + " ")])], 1), e("div", { staticClass: "flex w-full d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "margin-top": "0.5rem" } }, [t._v(" " + t._s(t.$t("_common:textAlign").capitalize()) + " ")]), e("CField", { staticStyle: { "margin-left": "auto" } }, t._l(t.alignOptions, function({ value: o, icon: s }, r) {
393
- return e("CRadioButton", { key: r, class: !t.textAlign && "has-text-grey", attrs: { "native-value": o, type: t.textAlign ? "secondary" : "none", size: "small" }, on: { input: function(a) {
392
+ } } }, [t._v(" " + t._s(t.$t("_common:textColor").capitalize()) + " ")])], 1), e("div", { staticClass: "flex w-full d-option" }, [e("div", { staticClass: "d-option-title", staticStyle: { "margin-top": "calc(0.5 * var(--rem))" } }, [t._v(" " + t._s(t.$t("_common:textAlign").capitalize()) + " ")]), e("CField", { staticStyle: { "margin-left": "auto" } }, t._l(t.alignOptions, function({ value: o, icon: s }, r) {
393
+ return e("CRadioButton", { key: r, class: !t.textAlign && "text-gray-400", attrs: { "native-value": o, type: t.textAlign ? "secondary" : "none", size: "small" }, on: { input: function(a) {
394
394
  return t._document.setDirty(t._value.textAlign);
395
395
  } }, model: { value: t.textAlign, callback: function(a) {
396
396
  t.textAlign = a;
@@ -402,7 +402,7 @@ var B = function() {
402
402
  P,
403
403
  !1,
404
404
  null,
405
- "9d260e69",
405
+ "f4832ed6",
406
406
  null,
407
407
  null
408
408
  );
@@ -1,14 +1,14 @@
1
- import { j as r, n as l, h as o } from "./main-04025a56.js";
2
- import { g as i } from "./ThemeColorRow-3558367b.js";
3
- import c from "./ImageUploadWrapper-53afd31d.js";
4
- import { B as m, a as p } from "./index-bf93d7c2.js";
1
+ import { k as r, n as l, j as o } from "./main-2dc98356.js";
2
+ import { g as i } from "./ThemeColorRow-71af67bd.js";
3
+ import c from "./ImageUploadWrapper-1e61e8da.js";
4
+ import { B as m, a as p } from "./index-6eda8be0.js";
5
5
  import "./color-71c20583.js";
6
- import "./ColorPicker-4f6b70af.js";
7
- import "./BaseUpload-996d74b3.js";
8
- import "./CDropdownItem-74672842.js";
9
- import "./throttle-a2c1f34d.js";
10
- import "./formValidationMixin-4920ab53.js";
11
- import "./simplebar.min-3af55aab.js";
6
+ import "./ColorPicker-06b731b7.js";
7
+ import "./BaseUpload-9e15729d.js";
8
+ import "./CDropdownItem-5532f8af.js";
9
+ import "./throttle-f8ef830f.js";
10
+ import "./dom-068d1a7b.js";
11
+ import "./simplebar.min-9f5e0b8a.js";
12
12
  const n = r.unsplash.id, d = {
13
13
  name: "ImageSelectModal",
14
14
  i18nOptions: {
@@ -84,7 +84,7 @@ var u = function() {
84
84
  g,
85
85
  !1,
86
86
  null,
87
- "7c79883e",
87
+ "24971860",
88
88
  null,
89
89
  null
90
90
  );
@@ -1,5 +1,5 @@
1
- import Xt from "./BaseUpload-996d74b3.js";
2
- import { V as k, n as _t, X as Yt } from "./main-04025a56.js";
1
+ import Xt from "./BaseUpload-9e15729d.js";
2
+ import { V as k, n as _t, a1 as Yt } from "./main-2dc98356.js";
3
3
  function yt(t, e) {
4
4
  var i = Object.keys(t);
5
5
  if (Object.getOwnPropertySymbols) {
@@ -1488,7 +1488,7 @@ var Ee = function() {
1488
1488
  e.currentTarget === n.target && e.$emit("close");
1489
1489
  } } }, [i("CButton", { staticClass: "absolute z-50 border-transparent text-white/90 right-2 top-2 bg-black/50", attrs: { circle: "", icon: "x", type: "text" }, on: { click: function(n) {
1490
1490
  return e.$emit("close");
1491
- } } }), i("div", { staticClass: "flex items-center justify-center flex-auto min-h-0 pt-8 max-w-[calc(100%-4rem)]" }, [i("Cropper", e._b({ ref: "cropper", staticClass: "w-full h-full", attrs: { src: e.imageData } }, "Cropper", e.cropperOptions, !1))], 1), i("div", { staticClass: "flex-grow py-8 shrink-0" }, [i("CButton", { staticClass: "w-36", attrs: { type: "secondary" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 1);
1491
+ } } }), i("div", { staticClass: "flex items-center justify-center flex-auto min-h-0 pt-8 max-w-[calc(100%_-_4_*_var(--rem))]" }, [i("Cropper", e._b({ ref: "cropper", staticClass: "w-full h-full", attrs: { src: e.imageData } }, "Cropper", e.cropperOptions, !1))], 1), i("div", { staticClass: "flex-grow py-8 shrink-0" }, [i("CButton", { staticClass: "w-36", attrs: { type: "secondary" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 1);
1492
1492
  }, Oe = [], We = /* @__PURE__ */ _t(
1493
1493
  Ce,
1494
1494
  Ee,
@@ -1,6 +1,6 @@
1
- import { m as n } from "./mapFormMixin-8d073f99.js";
2
- import { f as r } from "./focusDrawerMixin-67462262.js";
3
- import { n as i } from "./main-04025a56.js";
1
+ import { m as r } from "./mapFormMixin-4ac649c2.js";
2
+ import { f as n } from "./focusDrawerMixin-24942dd1.js";
3
+ import { n as i } from "./main-2dc98356.js";
4
4
  const a = {
5
5
  // eslint-disable-next-line vue/multi-word-component-names
6
6
  name: "Terms",
@@ -16,17 +16,17 @@ const a = {
16
16
  }
17
17
  },
18
18
  components: {
19
- Read: () => import("./Index-e749f6f1.js"),
20
- TermsSettings: () => import("./TermsSettings-c74eec79.js")
19
+ Read: () => import("./Index-85e8119e.js"),
20
+ TermsSettings: () => import("./TermsSettings-a0282ad7.js")
21
21
  },
22
22
  mixins: [
23
- n([
23
+ r([
24
24
  "href",
25
25
  "termType",
26
26
  "file",
27
27
  "text"
28
28
  ]),
29
- r()
29
+ n()
30
30
  ],
31
31
  data() {
32
32
  return {
@@ -46,24 +46,24 @@ var l = function() {
46
46
  e.showControls = !0;
47
47
  }, "&mouseleave": function(o) {
48
48
  e.showControls = !1;
49
- } } }, [t("Read", e._g({ attrs: { _document: e._document, href: e.href, "term-type": e.termType, file: e.file, text: e.text } }, e.$listeners)), e.isForm ? [e.hasTerms ? e._e() : t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("noneSelected"), expression: "$t('noneSelected')" }], staticStyle: { position: "absolute", left: "1rem", top: "1rem", width: "2em", height: "2em" }, attrs: { "icon-props": { size: 18 }, pattern: "secondary", icon: "info", circle: "", size: "small", type: "danger" }, on: { click: function(o) {
49
+ } } }, [t("Read", e._g({ attrs: { _document: e._document, href: e.href, "term-type": e.termType, file: e.file, text: e.text } }, e.$listeners)), e.isForm ? [e.hasTerms ? e._e() : t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("noneSelected"), expression: "$t('noneSelected')" }], staticStyle: { position: "absolute", left: "calc(1 * var(--rem))", top: "calc(1 * var(--rem))", width: "2em", height: "2em" }, attrs: { "icon-props": { size: 18 }, pattern: "secondary", icon: "info", circle: "", size: "small", type: "danger" }, on: { click: function(o) {
50
50
  e.showDrawer = !0;
51
51
  } } }), t("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) {
52
52
  e.showDrawer = !0;
53
- } } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]), e.showDrawer ? t("portal", { attrs: { to: "drawer-content" } }, [t("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) {
53
+ } } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]), e.showDrawer ? t("portal", { attrs: { to: "drawer-content" } }, [t("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) {
54
54
  e.showDrawer = !1;
55
55
  } } }), t("TermsSettings", e._g({ attrs: { _document: e._document, _value: { term: "data.terms" } } }, e.$listeners))], 1) : e._e()] : e._e()], 2) : e._e();
56
- }, m = [], c = /* @__PURE__ */ i(
56
+ }, c = [], m = /* @__PURE__ */ i(
57
57
  a,
58
58
  l,
59
- m,
59
+ c,
60
60
  !1,
61
61
  null,
62
62
  null,
63
63
  null,
64
64
  null
65
65
  );
66
- const f = c.exports;
66
+ const f = m.exports;
67
67
  export {
68
68
  f as default
69
69
  };
@@ -1,8 +1,7 @@
1
- import { A as c, o as u, n as m } from "./main-04025a56.js";
2
- import { P as p } from "./PlainHtml-9174cbf6.js";
3
- import { s as g } from "./formValidationMixin-4920ab53.js";
4
- import "./CDropdownItem-74672842.js";
5
- const h = {
1
+ import { G as c, q as u, n as m } from "./main-2dc98356.js";
2
+ import { P as p } from "./PlainHtml-647219e9.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,9 +1,10 @@
1
- import { n as m, k as p } from "./main-04025a56.js";
2
- import { m as c } from "./mapFormMixin-8d073f99.js";
3
- import l from "./FilePreviewModal-895bd1bd.js";
4
- import "./PdfViewer-38bd8439.js";
5
- import "./formValidationMixin-4920ab53.js";
6
- import "./CDropdownItem-74672842.js";
1
+ import { n as m, l as p } from "./main-2dc98356.js";
2
+ import { m as c } from "./mapFormMixin-4ac649c2.js";
3
+ import l from "./FilePreviewModal-167a40c8.js";
4
+ import "./PdfViewer-1227dda6.js";
5
+ import "./dom-068d1a7b.js";
6
+ import "./DocumentLayout-ae49ac7a.js";
7
+ import "./CDropdownItem-5532f8af.js";
7
8
  const d = {
8
9
  name: "FilePreviewWrapper",
9
10
  components: {
@@ -69,8 +70,8 @@ const w = h.exports, v = {
69
70
  name: "AttachmentList",
70
71
  components: {
71
72
  FilePreviewWrapper: w,
72
- BaseUpload: () => import("./BaseUpload-996d74b3.js"),
73
- AttachmentItem: () => import("./AttachmentItem-d98488ee.js")
73
+ BaseUpload: () => import("./BaseUpload-9e15729d.js"),
74
+ AttachmentItem: () => import("./AttachmentItem-79eb718b.js")
74
75
  },
75
76
  mixins: [c(["attachments"])],
76
77
  data() {
@@ -154,7 +155,7 @@ var g = function() {
154
155
  null,
155
156
  null
156
157
  );
157
- const k = x.exports;
158
+ const A = x.exports;
158
159
  export {
159
- k as default
160
+ A as default
160
161
  };
@@ -1,5 +1,5 @@
1
- import { P as r } from "./PlainHtml-9174cbf6.js";
2
- import { n as o } from "./main-04025a56.js";
1
+ import { P as r } from "./PlainHtml-647219e9.js";
2
+ import { n as o } from "./main-2dc98356.js";
3
3
  const s = {
4
4
  name: "ExtraWorkTimeImpactTextRead",
5
5
  props: {
@@ -1,18 +1,18 @@
1
- import { m as n } from "./mapFormMixin-8d073f99.js";
2
- import { f as l } from "./focusDrawerMixin-67462262.js";
3
- import { d as c } from "./CDropdownItem-74672842.js";
1
+ import { m as r } from "./mapFormMixin-4ac649c2.js";
2
+ import { f as l } from "./focusDrawerMixin-24942dd1.js";
3
+ import { d as c } from "./CDropdownItem-5532f8af.js";
4
4
  import { s as u, p as m } from "./splitpanes-ba7897bf.js";
5
- import { n as r } from "./main-04025a56.js";
5
+ import { n } from "./main-2dc98356.js";
6
6
  const d = {
7
7
  name: "HeaderItems",
8
8
  components: {
9
- MediaWrapper: () => import("./MediaWrapper-d4a4b66f.js"),
10
- ContentWrapper: () => import("./ContentWrapper-d5653fef.js"),
9
+ MediaWrapper: () => import("./MediaWrapper-ed7db800.js"),
10
+ ContentWrapper: () => import("./ContentWrapper-fe4a67bc.js"),
11
11
  Splitpanes: u,
12
12
  Pane: m
13
13
  },
14
14
  mixins: [
15
- n(["layout", "items", "baseStyle"])
15
+ r(["layout", "items", "baseStyle"])
16
16
  ],
17
17
  props: {
18
18
  showControls: {
@@ -55,7 +55,7 @@ var _ = function() {
55
55
  flex: `1 1 ${a.size}%`
56
56
  }, attrs: { size: a.size } }, [o(`${a.type}Wrapper`, e._g({ tag: "component", staticClass: "item", attrs: { _document: e._document, _value: { ...e._value, item: `${e._value.items}.${s}` }, "has-hover": e.showControls } }, e.$listeners))], 1);
57
57
  }), 1);
58
- }, h = [], p = /* @__PURE__ */ r(
58
+ }, h = [], p = /* @__PURE__ */ n(
59
59
  d,
60
60
  _,
61
61
  h,
@@ -69,12 +69,12 @@ const v = p.exports;
69
69
  const f = {
70
70
  name: "HeaderBlock",
71
71
  components: {
72
- PriceHeader: () => import("./PriceHeader-e357afe9.js"),
73
- HeaderSettings: () => import("./HeaderSettings-c6dac755.js"),
72
+ PriceHeader: () => import("./PriceHeader-cfb22169.js"),
73
+ HeaderSettings: () => import("./HeaderSettings-e9b177e0.js"),
74
74
  HeaderItems: v
75
75
  },
76
76
  mixins: [
77
- n(["header"]),
77
+ r(["header"]),
78
78
  l()
79
79
  ],
80
80
  data() {
@@ -123,7 +123,7 @@ var y = function() {
123
123
  baseStyle: `${e._value.header}.baseStyle`
124
124
  }, "show-controls": e.showControls } }, e.$listeners)), e.isForm ? [o("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(a) {
125
125
  e.showDrawer = !0;
126
- } } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]), 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(a) {
126
+ } } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]), 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(a) {
127
127
  e.showDrawer = !1;
128
128
  } } }), o("HeaderSettings", { attrs: { _document: e._document, _value: {
129
129
  layout: `${e._value.header}.layout`,
@@ -134,7 +134,7 @@ var y = function() {
134
134
  textAlign: `${e._value.header}.baseStyle.textAlign`,
135
135
  textColor: `${e._value.header}.baseStyle.textColor`
136
136
  } } })], 1) : e._e()] : e._e()], 2);
137
- }, $ = [], w = /* @__PURE__ */ r(
137
+ }, $ = [], w = /* @__PURE__ */ n(
138
138
  f,
139
139
  y,
140
140
  $,
@@ -1,8 +1,9 @@
1
- import { m as n } from "./mapFormMixin-8d073f99.js";
2
- import { V as r } from "./PdfViewer-38bd8439.js";
3
- import { n as l } from "./main-04025a56.js";
4
- import "./formValidationMixin-4920ab53.js";
5
- import "./CDropdownItem-74672842.js";
1
+ import { m as n } from "./mapFormMixin-4ac649c2.js";
2
+ import { V as r } from "./PdfViewer-1227dda6.js";
3
+ import { n as l } from "./main-2dc98356.js";
4
+ import "./dom-068d1a7b.js";
5
+ import "./DocumentLayout-ae49ac7a.js";
6
+ import "./CDropdownItem-5532f8af.js";
6
7
  const i = {
7
8
  i18nOptions: {
8
9
  namespaces: "pdfBlock",
@@ -23,8 +24,8 @@ const i = {
23
24
  name: "Pdf",
24
25
  components: {
25
26
  PdfViewer: r,
26
- FileIcon: () => import("./Index-6ef78b7a.js"),
27
- BaseUpload: () => import("./BaseUpload-996d74b3.js")
27
+ FileIcon: () => import("./Index-ecf93915.js"),
28
+ BaseUpload: () => import("./BaseUpload-9e15729d.js")
28
29
  },
29
30
  mixins: [
30
31
  n(["file"])
@@ -92,7 +93,7 @@ var d = function() {
92
93
  null,
93
94
  null
94
95
  );
95
- const _ = p.exports;
96
+ const P = p.exports;
96
97
  export {
97
- _ as default
98
+ P as default
98
99
  };