@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,5 +1,5 @@
1
- import { K as $, L as C, n as p, b as v, g as b } from "./main-04025a56.js";
2
- import { m as x } from "./mapFormMixin-8d073f99.js";
1
+ import { P as $, Q as C, n as p, b as v, g as b } from "./main-2dc98356.js";
2
+ import { m as x } from "./mapFormMixin-4ac649c2.js";
3
3
  const w = {
4
4
  name: "CPhoneFormat",
5
5
  props: {
@@ -97,22 +97,22 @@ var M = function() {
97
97
  D,
98
98
  !1,
99
99
  null,
100
- "115aebe2",
100
+ "7016583e",
101
101
  null,
102
102
  null
103
103
  );
104
- const K = E.exports;
105
- const z = {
106
- client: () => import("./ClientModal-d276aabd.js"),
107
- company: () => import("./CompanyModal-30c54ce3.js")
104
+ const z = E.exports;
105
+ const K = {
106
+ client: () => import("./ClientModal-da9fddf9.js"),
107
+ company: () => import("./CompanyModal-b7c42f2a.js")
108
108
  }, N = {
109
109
  i18nOptions: {
110
110
  namespaces: "components"
111
111
  },
112
112
  name: "DocParties",
113
113
  components: {
114
- DocPartiesItem: K,
115
- AddClientCallout: () => import("./AddClientCallout-d472aa84.js")
114
+ DocPartiesItem: z,
115
+ AddClientCallout: () => import("./AddClientCallout-d8f5bc53.js")
116
116
  },
117
117
  mixins: [x()],
118
118
  props: {
@@ -134,7 +134,7 @@ const z = {
134
134
  return (Array.isArray(this.parties) ? this.parties : [this.parties]).map((t) => {
135
135
  const {
136
136
  orgNo: a,
137
- socialNo: s,
137
+ socialNo: i,
138
138
  companyName: o,
139
139
  name: r,
140
140
  type: m,
@@ -144,8 +144,8 @@ const z = {
144
144
  addresses: l,
145
145
  hasFSkatt: _,
146
146
  hasInsurance: f
147
- } = t, c = m === "individual", i = l && (l.standard || l.work);
148
- i && (i.formKey = l.standard ? "street" : "workStreet");
147
+ } = t, c = m === "individual", s = l && (l.standard || l.work);
148
+ s && (s.formKey = l.standard ? "street" : "workStreet");
149
149
  const g = [
150
150
  o && { label: n("company"), value: o, formKey: "name" },
151
151
  a && { label: n("orgNoShort"), value: a, formKey: "orgNo" },
@@ -154,7 +154,7 @@ const z = {
154
154
  value: r,
155
155
  formKey: c ? "name" : "reference"
156
156
  },
157
- s && c && { label: n("socialNo"), value: s, formKey: "orgNo" },
157
+ i && c && { label: n("socialNo"), value: i, formKey: "orgNo" },
158
158
  h && { label: n("email"), value: h, formKey: "email" },
159
159
  u && {
160
160
  label: n("phone"),
@@ -162,10 +162,10 @@ const z = {
162
162
  value: { cellphone: u, region: y || v(this._document, "sender.company.region", "") },
163
163
  formKey: "cellphone"
164
164
  },
165
- i && {
165
+ s && {
166
166
  label: n("address"),
167
- value: this.parseStreet(i.street, i.city, i.zip),
168
- formKey: i.formKey
167
+ value: this.parseStreet(s.street, s.city, s.zip),
168
+ formKey: s.formKey
169
169
  }
170
170
  ], d = [];
171
171
  return _ && d.push({ label: this._document.$t("chapters.parties.fTax"), value: _ }), f && d.push({ label: this._document.$t("chapters.parties.allRiskAndLiability"), value: f }), {
@@ -182,7 +182,7 @@ const z = {
182
182
  openModal({ formKey: n, index: e } = {}) {
183
183
  let t = "name", a = !1;
184
184
  n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (a = !0)), this.$modal.show(
185
- z[this.type],
185
+ K[this.type],
186
186
  {
187
187
  inputFocusOnMount: t,
188
188
  forceExpand: a,
@@ -214,31 +214,31 @@ const z = {
214
214
  var A = function() {
215
215
  var e = this, t = e._self._c;
216
216
  return t("div", { staticStyle: { position: "relative" } }, [e.viewSettings.canEdit ? t("div", { staticClass: "edit-button" }, [e.type === "company" ? t("CButton", { attrs: { type: "none", size: "small", pattern: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]) : e.parties.length && e.type === "client" ? t("CDropdown", { ref: "dropdown", attrs: { position: "is-bottom-left" } }, [t("CButton", { attrs: { slot: "trigger", type: "none", size: "small", pattern: "secondary", "icon-right": "chevron-down" }, slot: "trigger" }, [e._v(" " + e._s(e.$t("_common:more").capitalize()) + " ")]), t("CDropdownItem", { attrs: { "icon-props": {
217
- class: "has-text-secondary"
217
+ class: "text-primary-500"
218
218
  }, "icon-left": "plus-circle" }, on: { click: function(a) {
219
219
  return e.openModal({ index: e.parties.length });
220
- } } }, [e._v(" " + e._s(e.$t("components:account.documentForm.clients.add.extra")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), e._l(e.parties, function(a, s) {
221
- return t("CDropdownItem", { key: s, attrs: { "icon-props": {
222
- class: "has-text-grey"
220
+ } } }, [e._v(" " + e._s(e.$t("components:account.documentForm.clients.add.extra")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), e._l(e.parties, function(a, i) {
221
+ return t("CDropdownItem", { key: i, attrs: { "icon-props": {
222
+ class: "text-gray-400"
223
223
  }, "icon-left": "edit" }, on: { click: function(o) {
224
- return e.openModal({ index: s });
224
+ return e.openModal({ index: i });
225
225
  } } }, [e._v(" " + e._s(a.type === "individual" ? a.name : a.companyName || a.name) + " ")]);
226
226
  })], 2) : e._e()], 1) : e._e(), e.viewSettings.canEdit ? [e.type === "client" && !(e.parties && e.parties.length) ? t("AddClientCallout", { on: { add: function(a) {
227
227
  return e.openModal({ index: e.parties.length });
228
- }, setClient: e.setClient } }) : e._e(), e.type === "company" && e.viewSettings.isPublicForm && !(e.parties.companyName || e.parties.email) ? t("CCallout", { attrs: { title: e.$t("document.chapters.parties.missingSender.title") } }, [t("div", { staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("document.chapters.parties.missingSender.description")) + " ")]), t("CButton", { attrs: { "icon-left": "plus", type: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:add", { thing: e.$t("_common:info") })) + " ")])], 1) : e._e()] : e._e(), e._l(e.mappedParties, function(a, s) {
229
- return t("div", { key: s, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(o) {
230
- e.hoverIndex = s;
228
+ }, setClient: e.setClient } }) : e._e(), e.type === "company" && e.viewSettings.isPublicForm && !(e.parties.companyName || e.parties.email) ? t("CCallout", { attrs: { title: e.$t("document.chapters.parties.missingSender.title") } }, [t("div", { staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("document.chapters.parties.missingSender.description")) + " ")]), t("CButton", { attrs: { "icon-left": "plus", type: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:add", { thing: e.$t("_common:info") })) + " ")])], 1) : e._e()] : e._e(), e._l(e.mappedParties, function(a, i) {
229
+ return t("div", { key: i, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(o) {
230
+ e.hoverIndex = i;
231
231
  }, "&mouseleave": function(o) {
232
232
  e.hoverIndex = null;
233
- } } }, [e.viewSettings.canEdit && e.type !== "company" && e.hoverIndex === s ? t("div", { staticClass: "controls", staticStyle: { position: "absolute", left: "100%", top: "0", "padding-left": "0.5rem" } }, [t("CButton", { attrs: { circle: "", size: "small", icon: "edit", type: "none", pattern: "tertiary" }, on: { click: function(o) {
234
- return e.openModal({ index: s });
233
+ } } }, [e.viewSettings.canEdit && e.type !== "company" && e.hoverIndex === i ? t("div", { staticClass: "controls", staticStyle: { position: "absolute", left: "100%", top: "0", "padding-left": "calc(0.5 * var(--rem))" } }, [t("CButton", { attrs: { circle: "", size: "small", icon: "edit", type: "none", pattern: "tertiary" }, on: { click: function(o) {
234
+ return e.openModal({ index: i });
235
235
  } } }), t("CButton", { attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "tertiary" }, on: { click: function(o) {
236
- return e.removeClient(s);
236
+ return e.removeClient(i);
237
237
  } } })], 1) : e._e(), e._l(a.main, function(o, r) {
238
238
  return [o ? t("DocPartiesItem", { key: r, attrs: { label: o.label, data: o.value, type: o.type, "can-edit": e.viewSettings.canEdit }, on: { click: function(m) {
239
- e.viewSettings.canEdit && e.openModal({ formKey: o.formKey, index: s });
239
+ e.viewSettings.canEdit && e.openModal({ formKey: o.formKey, index: i });
240
240
  } } }) : e._e()];
241
- }), a.checks && a.checks.length ? t("div", { staticStyle: { width: "100%", "padding-top": "1rem" } }, e._l(a.checks, function(o, r) {
241
+ }), a.checks && a.checks.length ? t("div", { staticStyle: { width: "100%", "padding-top": "calc(1 * var(--rem))" } }, e._l(a.checks, function(o, r) {
242
242
  return t("div", { key: r, staticClass: "check-text" }, [t("svg", { attrs: { width: "11", height: "11", viewBox: "0 0 218 185", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { staticClass: "primary-svg-fill", attrs: { d: "M217.931476 30.821773L180.506583.515692 85.82601 117.436462 29.993388 72.224097.068524 109.178227l93.257515 75.518447z", fill: "#D8D8D8", "fill-rule": "evenodd" } })]), t("div", [e._v(e._s(o.label))])]);
243
243
  }), 0) : e._e()], 2);
244
244
  })], 2);
@@ -248,7 +248,7 @@ var A = function() {
248
248
  R,
249
249
  !1,
250
250
  null,
251
- "00f8ad5a",
251
+ "c1a9a3e4",
252
252
  null,
253
253
  null
254
254
  );
@@ -1,7 +1,7 @@
1
- import { m as s } from "./mapFormMixin-8d073f99.js";
2
- import { f as r } from "./focusDrawerMixin-67462262.js";
3
- import { g as n } from "./utils-6670dea6.js";
4
- import { n as a } from "./main-04025a56.js";
1
+ import { m as s } from "./mapFormMixin-4ac649c2.js";
2
+ import { f as r } from "./focusDrawerMixin-24942dd1.js";
3
+ import { g as n } from "./utils-aab0bc31.js";
4
+ import { n as a } from "./main-2dc98356.js";
5
5
  const d = {
6
6
  name: "VideoPlayer",
7
7
  i18nOptions: {
@@ -9,8 +9,8 @@ const d = {
9
9
  keyPrefix: "document.videoPlayer"
10
10
  },
11
11
  components: {
12
- VideoPlayerSettings: () => import("./VideoPlayerSettings-b7eb781c.js"),
13
- VideoPlayerInput: () => import("./VideoPlayerInput-77cd86aa.js")
12
+ VideoPlayerSettings: () => import("./VideoPlayerSettings-06cfaccc.js"),
13
+ VideoPlayerInput: () => import("./VideoPlayerInput-fe87698e.js")
14
14
  },
15
15
  mixins: [s(["videoPlayer"]), r()],
16
16
  data() {
@@ -79,13 +79,13 @@ var l = function() {
79
79
  e.showControls = !0;
80
80
  }, "&mouseleave": function(o) {
81
81
  e.showControls = !1;
82
- } } }, [i("div", { staticClass: "no-drag", class: [`video-is-${e.size}`] }, [i("div", { staticClass: "video-container", style: { paddingTop: e.aspectRatio } }, [!e.video.url && e.canEdit ? i("div", { staticClass: "video-element" }, [i("div", { staticClass: "is-placeholder" }, [i("div", { staticClass: "has-text-grey-dark" }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), i("VideoPlayerInput", { ref: "input", staticStyle: { "padding-top": "1em" }, attrs: { value: e.video }, on: { input: function(o) {
82
+ } } }, [i("div", { staticClass: "no-drag", class: [`video-is-${e.size}`] }, [i("div", { staticClass: "video-container", style: { paddingTop: e.aspectRatio } }, [!e.video.url && e.canEdit ? i("div", { staticClass: "video-element" }, [i("div", { staticClass: "is-placeholder" }, [i("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), i("VideoPlayerInput", { ref: "input", staticStyle: { "padding-top": "1em" }, attrs: { value: e.video }, on: { input: function(o) {
83
83
  return e.setValue({ key: "video", value: o });
84
84
  }, "hook:mounted": function(o) {
85
85
  return e.$emit("triggerOnAdd");
86
86
  } } })], 1)]) : i("iframe", { ref: "iframe", staticClass: "video-element", attrs: { title: "Video", src: e.video.url, frameborder: "0", allowfullscreen: "" } })])]), e.isForm ? [i("CButton", { directives: [{ name: "show", rawName: "v-show", value: e.showControls, expression: "showControls" }], staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: function(o) {
87
87
  e.showDrawer = !0;
88
- } } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]), e.showDrawer ? i("portal", { attrs: { to: "drawer-content" } }, [i("CButton", { staticStyle: { position: "absolute", top: "0.5rem", right: "0.5rem" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(o) {
88
+ } } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]), e.showDrawer ? i("portal", { attrs: { to: "drawer-content" } }, [i("CButton", { staticStyle: { position: "absolute", top: "calc(0.5 * var(--rem))", right: "calc(0.5 * var(--rem))" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(o) {
89
89
  e.showDrawer = !1;
90
90
  } } }), i("VideoPlayerSettings", { attrs: { video: e.video, size: e.size }, on: { input: e.setValue } })], 1) : e._e()] : e._e()], 2);
91
91
  }, c = [], u = /* @__PURE__ */ a(
@@ -94,7 +94,7 @@ var l = function() {
94
94
  c,
95
95
  !1,
96
96
  null,
97
- "4d771621",
97
+ "846fc9cb",
98
98
  null,
99
99
  null
100
100
  );
@@ -1,11 +1,11 @@
1
- import { m as s } from "./mapFormMixin-8d073f99.js";
2
- import { q as i, r, s as a, n as c } from "./main-04025a56.js";
3
- import { T as m } from "./DocTextEditor-c6d1df3c.js";
4
- import "./FormInputRow-9819eb71.js";
5
- import "./ColorPicker-4f6b70af.js";
6
- import "./formValidationMixin-4920ab53.js";
7
- import "./CDropdownItem-74672842.js";
8
- import "./CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js";
1
+ import { m as s } from "./mapFormMixin-4ac649c2.js";
2
+ import { r as i, s as r, t as a, n as c } from "./main-2dc98356.js";
3
+ import { T as m } from "./DocTextEditor-b07dd391.js";
4
+ import "./tippy.esm-d2a6f864.js";
5
+ import "./ColorPicker-06b731b7.js";
6
+ import "./DocumentLayout-ae49ac7a.js";
7
+ import "./CDropdownItem-5532f8af.js";
8
+ import "./CSlider.vue_vue_type_style_index_0_lang-d9c2f582.js";
9
9
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
10
10
  import "./color-71c20583.js";
11
11
  const d = {
@@ -1,7 +1,7 @@
1
- import { m as o } from "./mapFormMixin-8d073f99.js";
2
- import { n as s, B as l } from "./main-04025a56.js";
1
+ import { m as o } from "./mapFormMixin-4ac649c2.js";
2
+ import { n as l, H as s } from "./main-2dc98356.js";
3
3
  import { v as a } from "./index-805c56e4.js";
4
- const c = (e, t) => e ? l(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 : !0, u = {
4
+ const c = (e, t) => e ? s(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 : !0, u = {
5
5
  name: "ExtraWorkTimeImpactTextEdit",
6
6
  i18nOptions: {
7
7
  namespaces: "ExtraWorkTimeImpactTextEdit",
@@ -93,7 +93,7 @@ const c = (e, t) => e ? l(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 :
93
93
  };
94
94
  var d = function() {
95
95
  var t = this, n = t._self._c;
96
- return n("div", { staticStyle: { position: "relative" } }, [n("CSwitch", { staticStyle: { position: "absolute", right: "0", top: "-0.5rem", transform: "translateY(-100%)" }, on: { input: t.toggleOpen }, model: { value: t.isOpen, callback: function(i) {
96
+ return n("div", { staticStyle: { position: "relative" } }, [n("CSwitch", { staticStyle: { position: "absolute", right: "0", top: "calc(-0.5 * var(--rem))", transform: "translateY(-100%)" }, on: { input: t.toggleOpen }, model: { value: t.isOpen, callback: function(i) {
97
97
  t.isOpen = i;
98
98
  }, expression: "isOpen" } }), t.isOpen ? n("div", [n("div", { staticClass: "inline-form" }, [t._v(" " + t._s(t.$t("inlineForm.1")) + " "), n("input", { staticClass: "bg-gray-100 ml-1", attrs: { type: "date", max: t.getDateValue(t.workEndAt) }, domProps: { value: t.getDateValue(t.workStartAt) }, on: { input: function(i) {
99
99
  var r;
@@ -103,10 +103,10 @@ var d = function() {
103
103
  t.workEndAt = (r = i.target) != null && r.value ? new Date(i.target.value).toISOString() : null;
104
104
  } } }), t._v(". " + t._s(t.$t("inlineForm.3")) + " "), n("CSelect", { staticClass: "select-width input-inline-language", attrs: { placeholder: t.$t("_common:select") }, model: { value: t.timeDeltaDirection, callback: function(i) {
105
105
  t.timeDeltaDirection = i;
106
- }, expression: "timeDeltaDirection" } }, [n("option", { attrs: { value: "extend" } }, [t._v(t._s(t.$t("_common:extend").toLowerCase()))]), n("option", { attrs: { value: "shorten" } }, [t._v(t._s(t.$t("_common:shorten").toLowerCase()))])]), t._v(" " + t._s(t.$t("_common:with")) + " "), n("CSelect", { staticClass: "select-width quantity input-inline-language", staticStyle: { width: "2rem", "margin-right": "0.5rem" }, attrs: { placeholder: t.$t("_common:select") }, model: { value: t.noOfTimeUnits, callback: function(i) {
106
+ }, expression: "timeDeltaDirection" } }, [n("option", { attrs: { value: "extend" } }, [t._v(t._s(t.$t("_common:extend").toLowerCase()))]), n("option", { attrs: { value: "shorten" } }, [t._v(t._s(t.$t("_common:shorten").toLowerCase()))])]), t._v(" " + t._s(t.$t("_common:with")) + " "), n("CSelect", { staticClass: "select-width quantity input-inline-language", staticStyle: { width: "calc(2 * var(--rem))", "margin-right": "calc(0.5 * var(--rem))" }, attrs: { placeholder: t.$t("_common:select") }, model: { value: t.noOfTimeUnits, callback: function(i) {
107
107
  t.noOfTimeUnits = i;
108
108
  }, expression: "noOfTimeUnits" } }, t._l(31, function(i, r) {
109
- return n("option", { key: r, staticStyle: { "font-size": "calc(1rem + 1px)", "text-align": "center" }, domProps: { value: i - 1 } }, [t._v(" " + t._s(i - 1) + " ")]);
109
+ return n("option", { key: r, staticStyle: { "font-size": "calc(calc(1 * var(--rem)) + 1px)", "text-align": "center" }, domProps: { value: i - 1 } }, [t._v(" " + t._s(i - 1) + " ")]);
110
110
  }), 0), n("CSelect", { staticClass: "select-width unit input-inline-language", attrs: { placeholder: t.$t("_common:select") }, on: { blur: function(i) {
111
111
  return t.$v.timeUnit.$touch();
112
112
  } }, model: { value: t.timeUnit, callback: function(i) {
@@ -114,13 +114,13 @@ var d = function() {
114
114
  }, expression: "timeUnit" } }, [n("option", { attrs: { value: "days" } }, [t._v(t._s(t.$t("_common:day_plural")))]), n("option", { attrs: { value: "weeks" } }, [t._v(t._s(t.$t("_common:week_plural")))]), n("option", { attrs: { value: "months" } }, [t._v(t._s(t.$t("_common:month_plural")))])]), t._v(". ")], 1), t.$v.$invalid && t.$v.$dirty ? n("div", { staticClass: "error-wrapper", on: { click: function(i) {
115
115
  return t.$v.$touch();
116
116
  } } }, [n("svg", { attrs: { name: "info-icon", width: "14", height: "14", viewBox: "0 0 125 125", xmlns: "http://www.w3.org/2000/svg" } }, [n("path", { attrs: { d: "M62.5 125C27.9822 125 0 97.0178 0 62.5S27.9822 0 62.5 0 125 27.9822 125 62.5 97.0178 125 62.5 125zM52.44694 65.23395v26.93183c0 5.43129 4.40293 9.83422 9.83422 9.83422 5.4461 0 9.87524-4.38793 9.92615-9.83379l.25177-26.93269c.05142-5.50025-4.36573-10.00077-9.86598-10.05219a9.963143 9.963143 0 0 0-.0931-.00043c-5.55215 0-10.05306 4.5009-10.05306 10.05305zm.43768-31.76657c0 5.25109 4.2545 9.50584 9.5027 9.50584h.22536c5.2467 0 9.5027-4.25591 9.5027-9.50584 0-5.25109-4.2545-9.50584-9.5027-9.50584h-.22536c-5.2467 0-9.5027 4.25591-9.5027 9.50584z", fill: "currentColor", "fill-rule": "evenodd" } })]), t._v(" " + t._s(t.$t("error")) + " ")]) : t._e()]) : t._e()], 1);
117
- }, m = [], p = /* @__PURE__ */ s(
117
+ }, m = [], p = /* @__PURE__ */ l(
118
118
  u,
119
119
  d,
120
120
  m,
121
121
  !1,
122
122
  null,
123
- "79651ad3",
123
+ "ee9d4276",
124
124
  null,
125
125
  null
126
126
  );
@@ -1,13 +1,13 @@
1
1
  var j6 = Object.defineProperty;
2
2
  var K6 = (s, e, t) => e in s ? j6(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
3
  var zt = (s, e, t) => (K6(s, typeof e != "symbol" ? e + "" : e, t), t);
4
- import { m as q6 } from "./mapFormMixin-8d073f99.js";
5
- import { t as G6 } from "./throttle-a2c1f34d.js";
6
- import { r as tw, b9 as S2, b as y2, n as Gk } from "./main-04025a56.js";
4
+ import { m as q6 } from "./mapFormMixin-4ac649c2.js";
5
+ import { t as G6 } from "./throttle-f8ef830f.js";
6
+ import { s as tw, bk as S2, b as y2, n as Gk } from "./main-2dc98356.js";
7
7
  import { s as Z6, p as Y6 } from "./splitpanes-ba7897bf.js";
8
- import { d as X6 } from "./CDropdownItem-74672842.js";
9
- import { W as L2 } from "./formValidationMixin-4920ab53.js";
10
- import { a as Q6, b as iw, d as nw } from "./template-42a1d852.js";
8
+ import { d as X6 } from "./CDropdownItem-5532f8af.js";
9
+ import { W as L2 } from "./DocumentLayout-ae49ac7a.js";
10
+ import { a as Q6, b as iw, d as nw } from "./template-069f0890.js";
11
11
  const J6 = `
12
12
  /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}html{box-sizing:border-box;font-family:sans-serif}*,::after,::before{box-sizing:inherit}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,p,pre{margin:0}button{background:0 0;padding:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset{margin:0;padding:0}ol,ul{margin:0}*,::after,::before{border-width:0;border-style:solid;border-color:#dae1e7}img{border-style:solid}[type=button],[type=reset],[type=submit],button{border-radius:0}textarea{resize:vertical}img{max-width:100%;height:auto}button,input,optgroup,select,textarea{font-family:inherit}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:inherit;opacity:.5}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:inherit;opacity:.5}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:inherit;opacity:.5}input::placeholder,textarea::placeholder{color:inherit;opacity:.5}[role=button],button{cursor:pointer}table{border-collapse:collapse}
13
13
  `, eB = (s, { _document: e, id: t, firstRender: i }) => `
@@ -60087,37 +60087,37 @@ ue({
60087
60087
  id: "freemarker2",
60088
60088
  extensions: [".ftl", ".ftlh", ".ftlx"],
60089
60089
  aliases: ["FreeMarker2", "Apache FreeMarker2"],
60090
- loader: () => import("./freemarker2-7e10a65d.js").then((s) => s.TagAutoInterpolationDollar)
60090
+ loader: () => import("./freemarker2-6fd30e77.js").then((s) => s.TagAutoInterpolationDollar)
60091
60091
  });
60092
60092
  ue({
60093
60093
  id: "freemarker2.tag-angle.interpolation-dollar",
60094
60094
  aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
60095
- loader: () => import("./freemarker2-7e10a65d.js").then((s) => s.TagAngleInterpolationDollar)
60095
+ loader: () => import("./freemarker2-6fd30e77.js").then((s) => s.TagAngleInterpolationDollar)
60096
60096
  });
60097
60097
  ue({
60098
60098
  id: "freemarker2.tag-bracket.interpolation-dollar",
60099
60099
  aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
60100
- loader: () => import("./freemarker2-7e10a65d.js").then((s) => s.TagBracketInterpolationDollar)
60100
+ loader: () => import("./freemarker2-6fd30e77.js").then((s) => s.TagBracketInterpolationDollar)
60101
60101
  });
60102
60102
  ue({
60103
60103
  id: "freemarker2.tag-angle.interpolation-bracket",
60104
60104
  aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
60105
- loader: () => import("./freemarker2-7e10a65d.js").then((s) => s.TagAngleInterpolationBracket)
60105
+ loader: () => import("./freemarker2-6fd30e77.js").then((s) => s.TagAngleInterpolationBracket)
60106
60106
  });
60107
60107
  ue({
60108
60108
  id: "freemarker2.tag-bracket.interpolation-bracket",
60109
60109
  aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
60110
- loader: () => import("./freemarker2-7e10a65d.js").then((s) => s.TagBracketInterpolationBracket)
60110
+ loader: () => import("./freemarker2-6fd30e77.js").then((s) => s.TagBracketInterpolationBracket)
60111
60111
  });
60112
60112
  ue({
60113
60113
  id: "freemarker2.tag-auto.interpolation-dollar",
60114
60114
  aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
60115
- loader: () => import("./freemarker2-7e10a65d.js").then((s) => s.TagAutoInterpolationDollar)
60115
+ loader: () => import("./freemarker2-6fd30e77.js").then((s) => s.TagAutoInterpolationDollar)
60116
60116
  });
60117
60117
  ue({
60118
60118
  id: "freemarker2.tag-auto.interpolation-bracket",
60119
60119
  aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
60120
- loader: () => import("./freemarker2-7e10a65d.js").then((s) => s.TagAutoInterpolationBracket)
60120
+ loader: () => import("./freemarker2-6fd30e77.js").then((s) => s.TagAutoInterpolationBracket)
60121
60121
  });
60122
60122
  /*!-----------------------------------------------------------------------------
60123
60123
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -60155,7 +60155,7 @@ ue({
60155
60155
  extensions: [".handlebars", ".hbs"],
60156
60156
  aliases: ["Handlebars", "handlebars", "hbs"],
60157
60157
  mimetypes: ["text/x-handlebars-template"],
60158
- loader: () => import("./handlebars-8045bfa8.js")
60158
+ loader: () => import("./handlebars-ff07e526.js")
60159
60159
  });
60160
60160
  /*!-----------------------------------------------------------------------------
60161
60161
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -60180,7 +60180,7 @@ ue({
60180
60180
  extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
60181
60181
  aliases: ["HTML", "htm", "html", "xhtml"],
60182
60182
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
60183
- loader: () => import("./html-8afcb633.js")
60183
+ loader: () => import("./html-5ad143f9.js")
60184
60184
  });
60185
60185
  /*!-----------------------------------------------------------------------------
60186
60186
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -60221,7 +60221,7 @@ ue({
60221
60221
  filenames: ["jakefile"],
60222
60222
  aliases: ["JavaScript", "javascript", "js"],
60223
60223
  mimetypes: ["text/javascript"],
60224
- loader: () => import("./javascript-dad5561e.js")
60224
+ loader: () => import("./javascript-9c241e8d.js")
60225
60225
  });
60226
60226
  /*!-----------------------------------------------------------------------------
60227
60227
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -60296,7 +60296,7 @@ ue({
60296
60296
  extensions: [".liquid", ".html.liquid"],
60297
60297
  aliases: ["Liquid", "liquid"],
60298
60298
  mimetypes: ["application/liquid"],
60299
- loader: () => import("./liquid-05247459.js")
60299
+ loader: () => import("./liquid-da99d7af.js")
60300
60300
  });
60301
60301
  /*!-----------------------------------------------------------------------------
60302
60302
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -60515,7 +60515,7 @@ ue({
60515
60515
  extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
60516
60516
  aliases: ["Python", "py"],
60517
60517
  firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
60518
- loader: () => import("./python-3f3513c5.js")
60518
+ loader: () => import("./python-15d86041.js")
60519
60519
  });
60520
60520
  /*!-----------------------------------------------------------------------------
60521
60521
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -60552,7 +60552,7 @@ ue({
60552
60552
  extensions: [".cshtml"],
60553
60553
  aliases: ["Razor", "razor"],
60554
60554
  mimetypes: ["text/x-cshtml"],
60555
- loader: () => import("./razor-1f3e9c4e.js")
60555
+ loader: () => import("./razor-19e0207f.js")
60556
60556
  });
60557
60557
  /*!-----------------------------------------------------------------------------
60558
60558
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -60804,7 +60804,7 @@ ue({
60804
60804
  extensions: [".ts", ".tsx"],
60805
60805
  aliases: ["TypeScript", "ts", "typescript"],
60806
60806
  mimetypes: ["text/typescript"],
60807
- loader: () => import("./typescript-baf56f67.js")
60807
+ loader: () => import("./typescript-f492bdab.js")
60808
60808
  });
60809
60809
  /*!-----------------------------------------------------------------------------
60810
60810
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -60844,7 +60844,7 @@ ue({
60844
60844
  firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
60845
60845
  aliases: ["XML", "xml"],
60846
60846
  mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
60847
- loader: () => import("./xml-ffc6146a.js")
60847
+ loader: () => import("./xml-976a8723.js")
60848
60848
  });
60849
60849
  /*!-----------------------------------------------------------------------------
60850
60850
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -60942,7 +60942,7 @@ var CN = class {
60942
60942
  }, R3 = new CN("css", vN, wN), O3 = new CN("scss", vN, wN), P3 = new CN("less", vN, wN);
60943
60943
  Of.languages.css = { cssDefaults: R3, lessDefaults: P3, scssDefaults: O3 };
60944
60944
  function SN() {
60945
- return import("./cssMode-8552fc56.js");
60945
+ return import("./cssMode-916ae2c1.js");
60946
60946
  }
60947
60947
  Of.languages.onLanguage("less", () => {
60948
60948
  SN().then((s) => s.setupMode(P3));
@@ -61037,7 +61037,7 @@ rv.languages.html = {
61037
61037
  registerHTMLLanguageService: cv
61038
61038
  };
61039
61039
  function mie() {
61040
- return import("./htmlMode-1a2d1b48.js");
61040
+ return import("./htmlMode-adc834ff.js");
61041
61041
  }
61042
61042
  function cv(s, e = av, t = lv(s)) {
61043
61043
  const i = new hie(s, e, t);
@@ -61114,7 +61114,7 @@ var Sie = class {
61114
61114
  }, V3 = new Sie("json", yie, Lie);
61115
61115
  Gm.languages.json = { jsonDefaults: V3 };
61116
61116
  function xie() {
61117
- return import("./jsonMode-ce09245f.js");
61117
+ return import("./jsonMode-36a8e1fd.js");
61118
61118
  }
61119
61119
  Gm.languages.register({
61120
61120
  id: "json",
@@ -61253,7 +61253,7 @@ lf.languages.typescript = {
61253
61253
  getJavaScriptWorker: Rie
61254
61254
  };
61255
61255
  function dv() {
61256
- return import("./tsMode-4c026047.js");
61256
+ return import("./tsMode-7fcdffc4.js");
61257
61257
  }
61258
61258
  lf.languages.onLanguage("typescript", () => dv().then((s) => s.setupTypeScript(q3)));
61259
61259
  lf.languages.onLanguage("javascript", () => dv().then((s) => s.setupJavaScript(G3)));
@@ -94903,7 +94903,7 @@ var Wme = function() {
94903
94903
  e.showControls = !0;
94904
94904
  }, "&mouseleave": function(i) {
94905
94905
  e.showControls = !1;
94906
- } } }, [e.isEdited ? t("CustomView", { staticStyle: { width: "100%", "min-height": "0" }, attrs: { html: e.html, css: e.css, javascript: e.javascript, _document: e._document } }) : e._e(), e.isForm ? [e.showControls ? t("CButton", { staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]) : e._e(), e.canEdit && !e.isEdited ? t("div", { staticClass: "flex flex-col items-center justify-center text-center", staticStyle: { padding: "3rem 1rem 4rem 1rem", "line-height": "1.5", color: "white" } }, [t("div", { staticStyle: { "font-weight": "500", "margin-bottom": "0.25em", opacity: "0.98" }, domProps: { textContent: e._s(e.$t("title")) } }), t("div", { staticStyle: { "font-size": "14px", "margin-bottom": "2rem", color: "hsl(218deg 24% 60%)", "max-width": "40ch" }, domProps: { textContent: e._s(e.$t("text")) } }), t("CButton", { staticStyle: { "font-size": "14px", "border-radius": "8px", padding: "12px 12px", height: "initial", "box-shadow": "rgb(0, 0, 0, 50%) 0px 10px 40px" }, attrs: { size: "normal", "icon-left": "code", type: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("action")) + " ")])], 1) : e._e()] : e._e(), t("CustomModal", { ref: "customModal", attrs: { html: e.html, css: e.css, javascript: e.javascript, _document: e._document }, on: { "update:html": function(i) {
94906
+ } } }, [e.isEdited ? t("CustomView", { staticStyle: { width: "100%", "min-height": "0" }, attrs: { html: e.html, css: e.css, javascript: e.javascript, _document: e._document } }) : e._e(), e.isForm ? [e.showControls ? t("CButton", { staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]) : e._e(), e.canEdit && !e.isEdited ? t("div", { staticClass: "flex flex-col items-center justify-center text-center", staticStyle: { padding: "calc(3 * var(--rem)) calc(1 * var(--rem)) calc(4 * var(--rem)) calc(1 * var(--rem))", "line-height": "1.5", color: "white" } }, [t("div", { staticStyle: { "font-weight": "500", "margin-bottom": "0.25em", opacity: "0.98" }, domProps: { textContent: e._s(e.$t("title")) } }), t("div", { staticStyle: { "font-size": "14px", "margin-bottom": "calc(2 * var(--rem))", color: "hsl(218deg 24% 60%)", "max-width": "40ch" }, domProps: { textContent: e._s(e.$t("text")) } }), t("CButton", { staticStyle: { "font-size": "14px", "border-radius": "8px", padding: "12px 12px", height: "initial", "box-shadow": "rgb(0, 0, 0, 50%) 0px 10px 40px" }, attrs: { size: "normal", "icon-left": "code", type: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("action")) + " ")])], 1) : e._e()] : e._e(), t("CustomModal", { ref: "customModal", attrs: { html: e.html, css: e.css, javascript: e.javascript, _document: e._document }, on: { "update:html": function(i) {
94907
94907
  e.html = i;
94908
94908
  }, "update:css": function(i) {
94909
94909
  e.css = i;
@@ -0,0 +1,79 @@
1
+ import { n, q as l } from "./main-2dc98356.js";
2
+ const d = {
3
+ name: "MultiGroupPricing",
4
+ props: {
5
+ _document: {
6
+ type: Object,
7
+ default: () => ({})
8
+ }
9
+ },
10
+ computed: {
11
+ docPriceItems() {
12
+ const { total: s, subTotal: t } = this._document.prices || {};
13
+ return [
14
+ {
15
+ label: this._document.$t("price.net"),
16
+ value: this.priceFormat(t)
17
+ },
18
+ {
19
+ label: this._document.$t("price.total"),
20
+ value: this.priceFormat(s)
21
+ }
22
+ ];
23
+ },
24
+ pkgGroups() {
25
+ var t;
26
+ return (((t = this._document.packageGroups) == null ? void 0 : t.groups) || []).map(({ title: e, prices: r, selectedPackages: a }) => {
27
+ const { total: c, subTotal: i } = r || {};
28
+ return {
29
+ title: e,
30
+ noOfSelectedPackages: a.length,
31
+ priceItems: [
32
+ {
33
+ label: this._document.$t("price.net"),
34
+ value: this.priceFormat(i)
35
+ },
36
+ {
37
+ label: this._document.$t("price.total"),
38
+ value: this.priceFormat(c)
39
+ }
40
+ ]
41
+ };
42
+ });
43
+ }
44
+ },
45
+ methods: {
46
+ priceFormat(s, t) {
47
+ return l(s, {
48
+ currency: this._document.currency,
49
+ showZero: !0,
50
+ decimals: 2,
51
+ hideZeroDecimals: !0,
52
+ ...t
53
+ });
54
+ }
55
+ }
56
+ };
57
+ var p = function() {
58
+ var t = this, e = t._self._c;
59
+ return e("div", [t._l(t.pkgGroups, function(r, a) {
60
+ return e("div", { key: a, staticStyle: { padding: "calc(0.5 * var(--rem)) 0" } }, [e("div", { staticStyle: { display: "flex", "font-size": "calc(1.1 * var(--rem))", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v(" " + t._s(r.title) + " "), e("span", { staticClass: "text-gray-400", staticStyle: { "margin-left": "auto", "font-size": "calc(1 * var(--rem))" } }, [t._v(" " + t._s(r.noOfSelectedPackages) + " paket ")])]), t._l(r.priceItems, function({ label: c, value: i }, o) {
61
+ return e("div", { key: c + o, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "calc(1 * var(--rem))" } }, [e("div", [t._v(t._s(c))]), e("div", [t._v(t._s(i))])]);
62
+ })], 2);
63
+ }), e("div", { staticStyle: { "margin-top": "calc(1 * var(--rem))" } }, [e("div", { staticStyle: { "font-size": "calc(1.1 * var(--rem))", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v("Doc summary")]), t._l(t.docPriceItems, function({ label: r, value: a }, c) {
64
+ return e("div", { key: c + r, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "calc(1 * var(--rem))" } }, [e("div", [t._v(t._s(r))]), e("div", [t._v(t._s(a))])]);
65
+ })], 2)], 2);
66
+ }, u = [], _ = /* @__PURE__ */ n(
67
+ d,
68
+ p,
69
+ u,
70
+ !1,
71
+ null,
72
+ "6d408837",
73
+ null,
74
+ null
75
+ );
76
+ const v = _.exports;
77
+ export {
78
+ v as default
79
+ };
@@ -1,21 +1,21 @@
1
- import { b as n, q as s, r as c, s as i, z as a, n as l } from "./main-04025a56.js";
2
- import { m as v } from "./mapFormMixin-8d073f99.js";
3
- import { f as u } from "./focusDrawerMixin-67462262.js";
4
- import { B as d } from "./BlockMedia-00907fb6.js";
5
- import { T as m } from "./DocTextEditor-c6d1df3c.js";
1
+ import { b as n, r as s, s as c, t as a, F as i, n as l } from "./main-2dc98356.js";
2
+ import { m as v } from "./mapFormMixin-4ac649c2.js";
3
+ import { f as u } from "./focusDrawerMixin-24942dd1.js";
4
+ import { B as d } from "./BlockMedia-a3f00a2f.js";
5
+ import { T as m } from "./DocTextEditor-b07dd391.js";
6
6
  import "./color-71c20583.js";
7
- import "./FormInputRow-9819eb71.js";
8
- import "./ColorPicker-4f6b70af.js";
9
- import "./formValidationMixin-4920ab53.js";
10
- import "./CDropdownItem-74672842.js";
11
- import "./CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js";
7
+ import "./tippy.esm-d2a6f864.js";
8
+ import "./ColorPicker-06b731b7.js";
9
+ import "./DocumentLayout-ae49ac7a.js";
10
+ import "./CDropdownItem-5532f8af.js";
11
+ import "./CSlider.vue_vue_type_style_index_0_lang-d9c2f582.js";
12
12
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
13
13
  const _ = {
14
14
  name: "CoverBlock",
15
15
  components: {
16
16
  BlockMedia: d,
17
17
  TextEditor: m,
18
- CoverBlockSettings: () => import("./CoverBlockSettings-2335f3a8.js")
18
+ CoverBlockSettings: () => import("./CoverBlockSettings-2024e993.js")
19
19
  },
20
20
  mixins: [
21
21
  v(["coverBlock"]),
@@ -34,7 +34,7 @@ const _ = {
34
34
  return this.canEdit ? s(t, this._document.textTemplateMap, this._document._doc) : c(t, this._document._doc);
35
35
  },
36
36
  set(t) {
37
- this.setValue({ key: "text", value: i(t) });
37
+ this.setValue({ key: "text", value: a(t) });
38
38
  }
39
39
  },
40
40
  media() {
@@ -44,7 +44,7 @@ const _ = {
44
44
  },
45
45
  methods: {
46
46
  setValue({ key: t, value: e }) {
47
- this.coverBlock = a(this.coverBlock, t, e);
47
+ this.coverBlock = i(this.coverBlock, t, e);
48
48
  },
49
49
  onAdd() {
50
50
  const t = () => this.$refs.editor.focus();
@@ -64,7 +64,7 @@ var p = function() {
64
64
  e.text = r;
65
65
  }, expression: "text" } })], 1)])], 1), e.isForm ? [e.showControls ? o("CButton", { staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: function(r) {
66
66
  e.showDrawer = !0;
67
- } } }, [e._v(" " + e._s(e.$t("_common:appearance").capitalize()) + " ")]) : e._e(), e.showDrawer ? o("portal", { attrs: { to: "drawer-content" } }, [o("CButton", { staticStyle: { position: "absolute", top: "0.5rem", right: "0.5rem" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(r) {
67
+ } } }, [e._v(" " + e._s(e.$t("_common:appearance").capitalize()) + " ")]) : e._e(), e.showDrawer ? o("portal", { attrs: { to: "drawer-content" } }, [o("CButton", { staticStyle: { position: "absolute", top: "calc(0.5 * var(--rem))", right: "calc(0.5 * var(--rem))" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(r) {
68
68
  e.showDrawer = !1;
69
69
  } } }), o("CoverBlockSettings", { attrs: { _document: e._document, _value: {
70
70
  type: `${e._value.coverBlock}.type`,
@@ -86,7 +86,7 @@ var p = function() {
86
86
  f,
87
87
  !1,
88
88
  null,
89
- "a73620d5",
89
+ "28cafa4b",
90
90
  null,
91
91
  null
92
92
  );
@@ -1,5 +1,5 @@
1
- import { P as s } from "./PlainHtml-9174cbf6.js";
2
- import { n as e } from "./main-04025a56.js";
1
+ import { P as s } from "./PlainHtml-647219e9.js";
2
+ import { n as e } from "./main-2dc98356.js";
3
3
  const l = {
4
4
  name: "WorkAddressTextRead",
5
5
  functional: !0,