@cling-se/widget 0.9.4 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/dist/{AddClientCallout-d472aa84.js → AddClientCallout-e4e9874f.js} +5 -5
  2. package/dist/{AnswerModal-06487437.js → AnswerModal-acd3b9c0.js} +248 -248
  3. package/dist/{AttachmentItem-d98488ee.js → AttachmentItem-34e91526.js} +8 -8
  4. package/dist/{BaseDatePicker-8c098701.js → BaseDatePicker-581297bc.js} +43 -43
  5. package/dist/{BaseInput-2723d613.js → BaseInput-29d88150.js} +1 -1
  6. package/dist/{BaseUpload-996d74b3.js → BaseUpload-84d3b68b.js} +3 -3
  7. package/dist/{BlockMedia-00907fb6.js → BlockMedia-319932b8.js} +1 -1
  8. package/dist/{CCallout-ffa95028.js → CCallout-88ae9c08.js} +6 -6
  9. package/dist/{CDropdownItem-74672842.js → CDropdownItem-d46bf062.js} +76 -75
  10. package/dist/{CField-06dd50f1.js → CField-be05883b.js} +1 -1
  11. package/dist/{CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js → CSlider.vue_vue_type_style_index_0_lang-df4c839e.js} +1 -1
  12. package/dist/{ClientAutocomplete-f65643dd.js → ClientAutocomplete-68f76bfc.js} +4 -4
  13. package/dist/{ClientModal-d276aabd.js → ClientModal-73086005.js} +16 -16
  14. package/dist/{ColorPicker-4f6b70af.js → ColorPicker-11ee76f0.js} +2 -2
  15. package/dist/{CompanyModal-30c54ce3.js → CompanyModal-0fec4480.js} +8 -8
  16. package/dist/{ContentWrapper-d5653fef.js → ContentWrapper-fba78b6f.js} +19 -19
  17. package/dist/{CoverBlockSettings-2335f3a8.js → CoverBlockSettings-7ffa15b1.js} +19 -19
  18. package/dist/{DocForm-9ca24de4.js → DocForm-e56b3a0c.js} +1190 -819
  19. package/dist/{DocFormSend-d0c6fa1d.js → DocFormSend-cdc4eaf8.js} +14 -14
  20. package/dist/{DocModalBase-f4915a62.js → DocModalBase-e473b946.js} +4 -4
  21. package/dist/DocPrint-6d8b1f14.js +222 -0
  22. package/dist/{DocReceipt-d192000e.js → DocReceipt-c8a543f8.js} +1 -1
  23. package/dist/{DocSendReminder-06d5b34c.js → DocSendReminder-70effa09.js} +1 -1
  24. package/dist/{DocTextEditor-c6d1df3c.js → DocTextEditor-cce51e7c.js} +19 -19
  25. package/dist/{DocTimeline-b4c20f93.js → DocTimeline-c2cbd773.js} +11 -11
  26. package/dist/{DocumentClient-c2319f00.js → DocumentClient-611c8c1c.js} +8 -6
  27. package/dist/{formValidationMixin-4920ab53.js → DocumentLayout-86c367d1.js} +1617 -1709
  28. package/dist/{DocumentLogotype-1efd1ce9.js → DocumentLogotype-441a9fdb.js} +3 -3
  29. package/dist/{EmbedInput-654c0477.js → EmbedInput-a5938c25.js} +2 -2
  30. package/dist/{EmbedSettings-b81ec734.js → EmbedSettings-141ab53c.js} +10 -10
  31. package/dist/ErrorCallout-7dea37df.js +30 -0
  32. package/dist/{FilePreviewModal-895bd1bd.js → FilePreviewModal-875fd8c9.js} +8 -7
  33. package/dist/{HeaderSettings-c6dac755.js → HeaderSettings-0364b6df.js} +29 -29
  34. package/dist/{ImageSelectModal-7cece54e.js → ImageSelectModal-2d3a69db.js} +11 -11
  35. package/dist/{ImageUploadWrapper-53afd31d.js → ImageUploadWrapper-7c70045f.js} +3 -3
  36. package/dist/{Index-f935c492.js → Index-006a27da.js} +10 -10
  37. package/dist/{Index-6ef78b7a.js → Index-0313a553.js} +2 -2
  38. package/dist/{Index-9aaf8b90.js → Index-06bd31c3.js} +26 -26
  39. package/dist/Index-07ae23ce.js +54 -0
  40. package/dist/{Index-7443e91c.js → Index-0f4c9eb4.js} +34 -34
  41. package/dist/{Index-c4de05aa.js → Index-1e0cf88a.js} +10 -9
  42. package/dist/{Index-d45a1eff.js → Index-1fc54467.js} +4 -4
  43. package/dist/{Index-e749f6f1.js → Index-205dd368.js} +14 -14
  44. package/dist/{Index-34c84bab.js → Index-245f88ff.js} +10 -10
  45. package/dist/{Index-d8879ca9.js → Index-28bdb859.js} +2 -2
  46. package/dist/{Index-60fc8a6e.js → Index-2a0c06b1.js} +3 -3
  47. package/dist/{Index-63805642.js → Index-3d84a32c.js} +9 -9
  48. package/dist/{Index-66c8cbfa.js → Index-418c517f.js} +4 -4
  49. package/dist/{Index-e45a0c32.js → Index-5196628a.js} +27 -27
  50. package/dist/{Index-61f7dc92.js → Index-532b8844.js} +2 -2
  51. package/dist/{Index-b14d0f03.js → Index-53348c92.js} +4 -4
  52. package/dist/{Index-9233cc83.js → Index-54962a1e.js} +15 -15
  53. package/dist/{Index-701f0d05.js → Index-5de564da.js} +2 -2
  54. package/dist/{Index-c67218ce.js → Index-6f957f7e.js} +15 -15
  55. package/dist/{Index-98e8bb86.js → Index-710d1132.js} +8 -8
  56. package/dist/{Index-8bca2d87.js → Index-7a2f20fd.js} +9 -9
  57. package/dist/{Index-1d361d01.js → Index-818ef607.js} +4 -4
  58. package/dist/Index-875e7805.js +79 -0
  59. package/dist/{Index-82574a41.js → Index-889b6a45.js} +18 -19
  60. package/dist/{Index-82b5de12.js → Index-8975cd1e.js} +4 -4
  61. package/dist/{Index-1a7e98d7.js → Index-affdb14c.js} +11 -10
  62. package/dist/{Index-01c63c88.js → Index-b80ab22f.js} +2 -2
  63. package/dist/{Index-5e35f4a2.js → Index-ba48e68b.js} +8 -8
  64. package/dist/{Index-caf5cf44.js → Index-beb43a1a.js} +94 -94
  65. package/dist/{Index-b15cfd62.js → Index-c746dc64.js} +13 -13
  66. package/dist/{Index-2535f58f.js → Index-cf54ef50.js} +2 -2
  67. package/dist/{Index-c7e68382.js → Index-dbf5c34c.js} +4 -4
  68. package/dist/{Index-5cc51230.js → Index-fa01557d.js} +12 -12
  69. package/dist/{Index-cd76b120.js → Index-ff60354c.js} +7 -7
  70. package/dist/{InputToggleRow-9d8a7da4.js → InputToggleRow-c520bed9.js} +5 -5
  71. package/dist/IsPremiumPreStep-d4739d6a.js +2443 -0
  72. package/dist/{MediaWrapper-d4a4b66f.js → MediaWrapper-722723f7.js} +3 -3
  73. package/dist/{NotBindingText-b199006c.js → NotBindingText-613399b6.js} +2 -2
  74. package/dist/{PackageGroup-37ac99b1.js → PackageGroup-1085c76c.js} +56 -56
  75. package/dist/{PdfTerms-8b52bb6e.js → PdfTerms-f98a6f75.js} +8 -7
  76. package/dist/{PdfViewer-38bd8439.js → PdfViewer-096bbf00.js} +5 -4
  77. package/dist/{PlainHtml-9174cbf6.js → PlainHtml-752bc8d6.js} +1 -1
  78. package/dist/PriceHeader-e25df5eb.js +337 -0
  79. package/dist/{SearchApi-2e286be6.js → SearchApi-20629627.js} +2 -2
  80. package/dist/{TermsSettings-c74eec79.js → TermsSettings-4cc4a9ee.js} +11 -11
  81. package/dist/{ThemeColorRow-3558367b.js → ThemeColorRow-c292abc6.js} +3 -3
  82. package/dist/{ToggleBinding-6c9c1ac3.js → ToggleBinding-406175fb.js} +3 -3
  83. package/dist/{UploadModal-6d0abd77.js → UploadModal-0cbd0c8f.js} +16 -16
  84. package/dist/{VideoPlayerInput-77cd86aa.js → VideoPlayerInput-d7b5fe4b.js} +3 -3
  85. package/dist/{VideoPlayerSettings-b7eb781c.js → VideoPlayerSettings-51c75143.js} +12 -12
  86. package/dist/VideoSelectModal-e34cde4b.js +111 -0
  87. package/dist/{answerDocumentMixin-66023e62.js → answerDocumentMixin-574c5304.js} +3 -3
  88. package/dist/assets/article-options-10291.png +0 -0
  89. package/dist/assets/bg-base-13048.png +0 -0
  90. package/dist/assets/bg-pro-81076.png +0 -0
  91. package/dist/assets/bg-start-20630.png +0 -0
  92. package/dist/assets/blank-10674.png +0 -0
  93. package/dist/assets/block-options-17322.png +0 -0
  94. package/dist/assets/columnGallery.image-24825.png +0 -0
  95. package/dist/assets/doc-send-94456.png +0 -0
  96. package/dist/assets/drag-block-17194.png +0 -0
  97. package/dist/assets/headerCircularGradient.image-13878.png +0 -0
  98. package/dist/assets/roiCalculator.image-14704.png +0 -0
  99. package/dist/assets/text-bubble-53861.png +0 -0
  100. package/dist/{cssMode-8552fc56.js → cssMode-eda08630.js} +19 -15
  101. package/dist/dom-068d1a7b.js +59 -0
  102. package/dist/{focusDrawerMixin-67462262.js → focusDrawerMixin-72f8dd7a.js} +1 -1
  103. package/dist/{formComponentsInstall-ad9c2a83.js → formComponentsInstall-3f1c6477.js} +40 -40
  104. package/dist/formValidationMixin-d4e84872.js +49 -0
  105. package/dist/{freemarker2-7e10a65d.js → freemarker2-42cdfba5.js} +23 -19
  106. package/dist/{handlebars-8045bfa8.js → handlebars-b4515777.js} +15 -11
  107. package/dist/{html-8afcb633.js → html-ea5d1845.js} +18 -14
  108. package/dist/{htmlMode-1a2d1b48.js → htmlMode-1cc3531d.js} +23 -19
  109. package/dist/{index-f805bfce.js → index-07377b76.js} +45 -45
  110. package/dist/index-676b9274.js +17 -0
  111. package/dist/{index-bf93d7c2.js → index-762349d7.js} +7 -7
  112. package/dist/{index-3d6d7a03.js → index-7adda710.js} +31 -31
  113. package/dist/index.es.js +8 -8
  114. package/dist/index.umd.js +537 -533
  115. package/dist/{javascript-dad5561e.js → javascript-185ef2e0.js} +15 -11
  116. package/dist/{jsonMode-ce09245f.js → jsonMode-59ea4e99.js} +23 -19
  117. package/dist/{liquid-05247459.js → liquid-517f2a7c.js} +18 -14
  118. package/dist/{main-04025a56.js → main-95207159.js} +15380 -12891
  119. package/dist/{mapFormMixin-8d073f99.js → mapFormMixin-a245a297.js} +1 -1
  120. package/dist/{publicSenderState-97108de1.js → publicSenderState-bea5980b.js} +1 -1
  121. package/dist/{python-3f3513c5.js → python-eb6703d8.js} +15 -11
  122. package/dist/{razor-1f3e9c4e.js → razor-4c5b7deb.js} +22 -18
  123. package/dist/simplebar.min-97b539d6.js +71 -0
  124. package/dist/style.css +2 -2
  125. package/dist/template-b3af7583.js +528 -0
  126. package/dist/{throttle-a2c1f34d.js → throttle-a0ce8f66.js} +2 -2
  127. package/dist/{tinycolor-88fa380f.js → tinycolor-65e7dc2e.js} +1 -1
  128. package/dist/{FormInputRow-9819eb71.js → tippy.esm-3c111ba9.js} +285 -285
  129. package/dist/{tsMode-4c026047.js → tsMode-a4a0e653.js} +19 -15
  130. package/dist/{typescript-baf56f67.js → typescript-aeab7849.js} +15 -11
  131. package/dist/{utils-6670dea6.js → utils-580c7144.js} +1 -1
  132. package/dist/{vuedraggable.umd-d7138234.js → vuedraggable.umd-2c22e5f8.js} +41 -41
  133. package/dist/{xml-ffc6146a.js → xml-098907e6.js} +18 -14
  134. package/package.json +3 -2
  135. package/stats.html +1 -1
  136. package/vite-plugin-library-asset-external/index.js +134 -0
  137. package/dist/ErrorCallout-60d0b3ab.js +0 -30
  138. package/dist/Index-b020a80c.js +0 -47
  139. package/dist/Index-e80f5f9c.js +0 -79
  140. package/dist/IsPremiumPreStep-3a087524.js +0 -1919
  141. package/dist/PriceHeader-e357afe9.js +0 -336
  142. package/dist/VideoSelectModal-d2299552.js +0 -111
  143. package/dist/index-c48c5eb4.js +0 -14
  144. package/dist/simplebar.min-3af55aab.js +0 -2429
  145. package/dist/template-42a1d852.js +0 -526
@@ -1,5 +1,5 @@
1
- import { P as n } from "./PlainHtml-9174cbf6.js";
2
- import { n as s } from "./main-04025a56.js";
1
+ import { P as n } from "./PlainHtml-752bc8d6.js";
2
+ import { n as s } from "./main-95207159.js";
3
3
  const o = {
4
4
  name: "EstimatedTimeToCompleteTextRead",
5
5
  props: {
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-8d073f99.js";
2
- import { n as r } from "./main-04025a56.js";
1
+ import { m as e } from "./mapFormMixin-a245a297.js";
2
+ import { n as r } from "./main-95207159.js";
3
3
  const a = {
4
4
  name: "EstimatedWorkStartAndEndAtText",
5
5
  components: {
6
- Read: () => import("./Index-01c63c88.js"),
7
- Edit: () => import("./Index-c67218ce.js")
6
+ Read: () => import("./Index-b80ab22f.js"),
7
+ Edit: () => import("./Index-6f957f7e.js")
8
8
  },
9
9
  mixins: [e(["startAt", "endAt"])]
10
10
  };
@@ -1,21 +1,21 @@
1
- import { b as n, q as s, r as c, s as i, z as a, n as l } from "./main-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-95207159.js";
2
+ import { m as v } from "./mapFormMixin-a245a297.js";
3
+ import { f as u } from "./focusDrawerMixin-72f8dd7a.js";
4
+ import { B as d } from "./BlockMedia-319932b8.js";
5
+ import { T as m } from "./DocTextEditor-cce51e7c.js";
6
6
  import "./color-71c20583.js";
7
- import "./FormInputRow-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-3c111ba9.js";
8
+ import "./ColorPicker-11ee76f0.js";
9
+ import "./DocumentLayout-86c367d1.js";
10
+ import "./CDropdownItem-d46bf062.js";
11
+ import "./CSlider.vue_vue_type_style_index_0_lang-df4c839e.js";
12
12
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
13
13
  const _ = {
14
14
  name: "CoverBlock",
15
15
  components: {
16
16
  BlockMedia: d,
17
17
  TextEditor: m,
18
- CoverBlockSettings: () => import("./CoverBlockSettings-2335f3a8.js")
18
+ CoverBlockSettings: () => import("./CoverBlockSettings-7ffa15b1.js")
19
19
  },
20
20
  mixins: [
21
21
  v(["coverBlock"]),
@@ -34,7 +34,7 @@ const _ = {
34
34
  return this.canEdit ? s(t, this._document.textTemplateMap, this._document._doc) : c(t, this._document._doc);
35
35
  },
36
36
  set(t) {
37
- this.setValue({ key: "text", value: i(t) });
37
+ this.setValue({ key: "text", value: a(t) });
38
38
  }
39
39
  },
40
40
  media() {
@@ -44,7 +44,7 @@ const _ = {
44
44
  },
45
45
  methods: {
46
46
  setValue({ key: t, value: e }) {
47
- this.coverBlock = a(this.coverBlock, t, e);
47
+ this.coverBlock = i(this.coverBlock, t, e);
48
48
  },
49
49
  onAdd() {
50
50
  const t = () => this.$refs.editor.focus();
@@ -64,7 +64,7 @@ var p = function() {
64
64
  e.text = r;
65
65
  }, expression: "text" } })], 1)])], 1), e.isForm ? [e.showControls ? o("CButton", { staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: function(r) {
66
66
  e.showDrawer = !0;
67
- } } }, [e._v(" " + e._s(e.$t("_common:appearance").capitalize()) + " ")]) : e._e(), e.showDrawer ? o("portal", { attrs: { to: "drawer-content" } }, [o("CButton", { staticStyle: { position: "absolute", top: "0.5rem", right: "0.5rem" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(r) {
67
+ } } }, [e._v(" " + e._s(e.$t("_common:appearance").capitalize()) + " ")]) : e._e(), e.showDrawer ? o("portal", { attrs: { to: "drawer-content" } }, [o("CButton", { staticStyle: { position: "absolute", top: "calc(0.5 * var(--rem))", right: "calc(0.5 * var(--rem))" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(r) {
68
68
  e.showDrawer = !1;
69
69
  } } }), o("CoverBlockSettings", { attrs: { _document: e._document, _value: {
70
70
  type: `${e._value.coverBlock}.type`,
@@ -86,7 +86,7 @@ var p = function() {
86
86
  f,
87
87
  !1,
88
88
  null,
89
- "a73620d5",
89
+ "28cafa4b",
90
90
  null,
91
91
  null
92
92
  );
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-04025a56.js";
1
+ import { n as r } from "./main-95207159.js";
2
2
  const l = {
3
3
  name: "DocChapterSub",
4
4
  inheritAttrs: !1,
@@ -23,7 +23,7 @@ var o = function(e, t) {
23
23
  u,
24
24
  !0,
25
25
  null,
26
- "463b1e49",
26
+ "e2258a71",
27
27
  null,
28
28
  null
29
29
  );
@@ -1,8 +1,8 @@
1
- import { m as n } from "./mapFormMixin-8d073f99.js";
2
- import { I as s } from "./InputToggleRow-9d8a7da4.js";
3
- import { B as r } from "./BaseDatePicker-8c098701.js";
4
- import { n as l } from "./main-04025a56.js";
5
- const i = {
1
+ import { m as r } from "./mapFormMixin-a245a297.js";
2
+ import { I as n } from "./InputToggleRow-c520bed9.js";
3
+ import { B as l } from "./BaseDatePicker-581297bc.js";
4
+ import { n as s } from "./main-95207159.js";
5
+ const c = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeStartEnd",
8
8
  messages: {
@@ -26,38 +26,38 @@ const i = {
26
26
  },
27
27
  name: "EstimatedWorkStartAndEndAtTextEdit",
28
28
  components: {
29
- InputToggleRow: s,
30
- BaseDatePicker: r
29
+ InputToggleRow: n,
30
+ BaseDatePicker: l
31
31
  },
32
- mixins: [n([
32
+ mixins: [r([
33
33
  "startAt",
34
34
  "endAt"
35
35
  ])]
36
36
  };
37
- var o = function() {
37
+ var i = function() {
38
38
  var t = this, a = t._self._c;
39
39
  return a("InputToggleRow", { attrs: { "display-value": t.startAt && t.endAt ? `${t.$formatDate(t.startAt)} → ${t.$formatDate(t.endAt)}` : t.$t("_common:add"), label: t.$t("label"), "show-clear": !!(t.startAt && t.endAt) }, on: { remove: function(e) {
40
40
  t.startAt = null, t.endAt = null;
41
- } } }, [a("div", { staticStyle: { display: "inline-flex" } }, [a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "8rem" }, attrs: { placeholder: t.$t("placeholders.start") }, on: { click: function(e) {
41
+ } } }, [a("div", { staticStyle: { display: "inline-flex" } }, [a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "calc(8 * var(--rem))" }, attrs: { placeholder: t.$t("placeholders.start") }, on: { click: function(e) {
42
42
  e.preventDefault();
43
43
  } }, model: { value: t.startAt, callback: function(e) {
44
44
  t.startAt = e;
45
- }, expression: "startAt" } }), a("div", { staticStyle: { "line-height": "3rem", margin: "0 0.5rem", "font-size": "calc(1rem + 2px)" } }, [t._v("→")]), a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "8rem" }, attrs: { static: !0, placeholder: t.$t("placeholders.end") }, on: { click: function(e) {
45
+ }, expression: "startAt" } }), a("div", { staticStyle: { "line-height": "calc(3 * var(--rem))", margin: "0 calc(0.5 * var(--rem))", "font-size": "calc(calc(1 * var(--rem)) + 2px)" } }, [t._v("→")]), a("BaseDatePicker", { staticClass: "datepicker-simple", staticStyle: { width: "calc(8 * var(--rem))" }, attrs: { static: !0, placeholder: t.$t("placeholders.end") }, on: { click: function(e) {
46
46
  e.preventDefault();
47
47
  } }, model: { value: t.endAt, callback: function(e) {
48
48
  t.endAt = e;
49
49
  }, expression: "endAt" } })], 1)]);
50
- }, d = [], c = /* @__PURE__ */ l(
50
+ }, o = [], d = /* @__PURE__ */ s(
51
+ c,
51
52
  i,
52
53
  o,
53
- d,
54
54
  !1,
55
55
  null,
56
56
  null,
57
57
  null,
58
58
  null
59
59
  );
60
- const v = c.exports;
60
+ const A = d.exports;
61
61
  export {
62
- v as default
62
+ A as default
63
63
  };
@@ -1,11 +1,11 @@
1
- import { m as s } from "./mapFormMixin-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-a245a297.js";
2
+ import { r as i, s as r, t as a, n as c } from "./main-95207159.js";
3
+ import { T as m } from "./DocTextEditor-cce51e7c.js";
4
+ import "./tippy.esm-3c111ba9.js";
5
+ import "./ColorPicker-11ee76f0.js";
6
+ import "./DocumentLayout-86c367d1.js";
7
+ import "./CDropdownItem-d46bf062.js";
8
+ import "./CSlider.vue_vue_type_style_index_0_lang-df4c839e.js";
9
9
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
10
10
  import "./color-71c20583.js";
11
11
  const d = {
@@ -1,7 +1,7 @@
1
- import { m as s } from "./mapFormMixin-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-a245a297.js";
2
+ import { f as r } from "./focusDrawerMixin-72f8dd7a.js";
3
+ import { g as n } from "./utils-580c7144.js";
4
+ import { n as a } from "./main-95207159.js";
5
5
  const d = {
6
6
  name: "VideoPlayer",
7
7
  i18nOptions: {
@@ -9,8 +9,8 @@ const d = {
9
9
  keyPrefix: "document.videoPlayer"
10
10
  },
11
11
  components: {
12
- VideoPlayerSettings: () => import("./VideoPlayerSettings-b7eb781c.js"),
13
- VideoPlayerInput: () => import("./VideoPlayerInput-77cd86aa.js")
12
+ VideoPlayerSettings: () => import("./VideoPlayerSettings-51c75143.js"),
13
+ VideoPlayerInput: () => import("./VideoPlayerInput-d7b5fe4b.js")
14
14
  },
15
15
  mixins: [s(["videoPlayer"]), r()],
16
16
  data() {
@@ -79,13 +79,13 @@ var l = function() {
79
79
  e.showControls = !0;
80
80
  }, "&mouseleave": function(o) {
81
81
  e.showControls = !1;
82
- } } }, [i("div", { staticClass: "no-drag", class: [`video-is-${e.size}`] }, [i("div", { staticClass: "video-container", style: { paddingTop: e.aspectRatio } }, [!e.video.url && e.canEdit ? i("div", { staticClass: "video-element" }, [i("div", { staticClass: "is-placeholder" }, [i("div", { staticClass: "has-text-grey-dark" }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), i("VideoPlayerInput", { ref: "input", staticStyle: { "padding-top": "1em" }, attrs: { value: e.video }, on: { input: function(o) {
82
+ } } }, [i("div", { staticClass: "no-drag", class: [`video-is-${e.size}`] }, [i("div", { staticClass: "video-container", style: { paddingTop: e.aspectRatio } }, [!e.video.url && e.canEdit ? i("div", { staticClass: "video-element" }, [i("div", { staticClass: "is-placeholder" }, [i("div", { staticClass: "text-gray-600" }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), i("VideoPlayerInput", { ref: "input", staticStyle: { "padding-top": "1em" }, attrs: { value: e.video }, on: { input: function(o) {
83
83
  return e.setValue({ key: "video", value: o });
84
84
  }, "hook:mounted": function(o) {
85
85
  return e.$emit("triggerOnAdd");
86
86
  } } })], 1)]) : i("iframe", { ref: "iframe", staticClass: "video-element", attrs: { title: "Video", src: e.video.url, frameborder: "0", allowfullscreen: "" } })])]), e.isForm ? [i("CButton", { directives: [{ name: "show", rawName: "v-show", value: e.showControls, expression: "showControls" }], staticClass: "document-block__edit-button", attrs: { round: "", size: "small", thinner: "", "icon-right": "colored-dots" }, on: { click: function(o) {
87
87
  e.showDrawer = !0;
88
- } } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]), e.showDrawer ? i("portal", { attrs: { to: "drawer-content" } }, [i("CButton", { staticStyle: { position: "absolute", top: "0.5rem", right: "0.5rem" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(o) {
88
+ } } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]), e.showDrawer ? i("portal", { attrs: { to: "drawer-content" } }, [i("CButton", { staticStyle: { position: "absolute", top: "calc(0.5 * var(--rem))", right: "calc(0.5 * var(--rem))" }, attrs: { "icon-props": { size: 20 }, size: "normal", icon: "x", circle: "", type: "none", pattern: "tertiary" }, on: { click: function(o) {
89
89
  e.showDrawer = !1;
90
90
  } } }), i("VideoPlayerSettings", { attrs: { video: e.video, size: e.size }, on: { input: e.setValue } })], 1) : e._e()] : e._e()], 2);
91
91
  }, c = [], u = /* @__PURE__ */ a(
@@ -94,7 +94,7 @@ var l = function() {
94
94
  c,
95
95
  !1,
96
96
  null,
97
- "4d771621",
97
+ "846fc9cb",
98
98
  null,
99
99
  null
100
100
  );
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-8d073f99.js";
2
- import { n as i } from "./main-04025a56.js";
1
+ import { m as e } from "./mapFormMixin-a245a297.js";
2
+ import { n as i } from "./main-95207159.js";
3
3
  const r = {
4
4
  name: "ExtraWorkTimeImpactText",
5
5
  components: {
6
- Read: () => import("./Index-d8879ca9.js"),
7
- Edit: () => import("./Index-5e35f4a2.js")
6
+ Read: () => import("./Index-28bdb859.js"),
7
+ Edit: () => import("./Index-ba48e68b.js")
8
8
  },
9
9
  mixins: [e([
10
10
  "workStartAt",
@@ -0,0 +1,79 @@
1
+ import { n, q as l } from "./main-95207159.js";
2
+ const d = {
3
+ name: "MultiGroupPricing",
4
+ props: {
5
+ _document: {
6
+ type: Object,
7
+ default: () => ({})
8
+ }
9
+ },
10
+ computed: {
11
+ docPriceItems() {
12
+ const { total: s, subTotal: t } = this._document.prices || {};
13
+ return [
14
+ {
15
+ label: this._document.$t("price.net"),
16
+ value: this.priceFormat(t)
17
+ },
18
+ {
19
+ label: this._document.$t("price.total"),
20
+ value: this.priceFormat(s)
21
+ }
22
+ ];
23
+ },
24
+ pkgGroups() {
25
+ var t;
26
+ return (((t = this._document.packageGroups) == null ? void 0 : t.groups) || []).map(({ title: e, prices: r, selectedPackages: a }) => {
27
+ const { total: c, subTotal: i } = r || {};
28
+ return {
29
+ title: e,
30
+ noOfSelectedPackages: a.length,
31
+ priceItems: [
32
+ {
33
+ label: this._document.$t("price.net"),
34
+ value: this.priceFormat(i)
35
+ },
36
+ {
37
+ label: this._document.$t("price.total"),
38
+ value: this.priceFormat(c)
39
+ }
40
+ ]
41
+ };
42
+ });
43
+ }
44
+ },
45
+ methods: {
46
+ priceFormat(s, t) {
47
+ return l(s, {
48
+ currency: this._document.currency,
49
+ showZero: !0,
50
+ decimals: 2,
51
+ hideZeroDecimals: !0,
52
+ ...t
53
+ });
54
+ }
55
+ }
56
+ };
57
+ var p = function() {
58
+ var t = this, e = t._self._c;
59
+ return e("div", [t._l(t.pkgGroups, function(r, a) {
60
+ return e("div", { key: a, staticStyle: { padding: "calc(0.5 * var(--rem)) 0" } }, [e("div", { staticStyle: { display: "flex", "font-size": "calc(1.1 * var(--rem))", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v(" " + t._s(r.title) + " "), e("span", { staticClass: "text-gray-400", staticStyle: { "margin-left": "auto", "font-size": "calc(1 * var(--rem))" } }, [t._v(" " + t._s(r.noOfSelectedPackages) + " paket ")])]), t._l(r.priceItems, function({ label: c, value: i }, o) {
61
+ return e("div", { key: c + o, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "calc(1 * var(--rem))" } }, [e("div", [t._v(t._s(c))]), e("div", [t._v(t._s(i))])]);
62
+ })], 2);
63
+ }), e("div", { staticStyle: { "margin-top": "calc(1 * var(--rem))" } }, [e("div", { staticStyle: { "font-size": "calc(1.1 * var(--rem))", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v("Doc summary")]), t._l(t.docPriceItems, function({ label: r, value: a }, c) {
64
+ return e("div", { key: c + r, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "calc(1 * var(--rem))" } }, [e("div", [t._v(t._s(r))]), e("div", [t._v(t._s(a))])]);
65
+ })], 2)], 2);
66
+ }, u = [], _ = /* @__PURE__ */ n(
67
+ d,
68
+ p,
69
+ u,
70
+ !1,
71
+ null,
72
+ "6d408837",
73
+ null,
74
+ null
75
+ );
76
+ const v = _.exports;
77
+ export {
78
+ v as default
79
+ };
@@ -1,8 +1,7 @@
1
- import { A as c, o as u, n as m } from "./main-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-95207159.js";
2
+ import { P as p } from "./PlainHtml-752bc8d6.js";
3
+ import { s as g } from "./dom-068d1a7b.js";
4
+ const f = {
6
5
  name: "ExtraWorkConstructionPricingListRead",
7
6
  props: {
8
7
  _document: {
@@ -65,17 +64,17 @@ const h = {
65
64
  render(e) {
66
65
  if (!this._document.readPrices)
67
66
  return e("div");
68
- let n = !0, i = null, s = 1, o = null;
67
+ let i = !0, n = null, s = 1, o = null;
69
68
  const {
70
69
  prices: r = null
71
70
  } = this._document || {};
72
71
  if (r && (r.currency && ({
73
72
  currency: o
74
73
  } = r), r.helpers && ({
75
- isIndivid: n
74
+ isIndivid: i
76
75
  } = r.helpers), r.region)) {
77
76
  ({
78
- houseWorkType: i
77
+ houseWorkType: n
79
78
  } = r.region);
80
79
  const t = {
81
80
  rot: 0.7,
@@ -84,15 +83,15 @@ const h = {
84
83
  greenRot20: 0.8,
85
84
  greenRot50: 0.5
86
85
  };
87
- n && (s *= 1.25), n && t[i] && (s *= t[i]);
86
+ i && (s *= 1.25), i && t[n] && (s *= t[n]);
88
87
  }
89
- const d = () => i ? this.$t("deduction.afterType", {
90
- type: i
91
- }) : n ? "" : `${this.$t("vat.exVat", {
88
+ const d = () => n ? this.$t("deduction.afterType", {
89
+ type: n
90
+ }) : i ? "" : `${this.$t("vat.exVat", {
92
91
  thing: this.$t("_common:vat.sharedTitle")
93
92
  })} `, l = this.$t("subPriceString", {
94
93
  str: d(),
95
- vat: n ? this.$t("andVat") : ""
94
+ vat: i ? this.$t("andVat") : ""
96
95
  }), a = [];
97
96
  if (this.workPrice) {
98
97
  const t = c({
@@ -144,7 +143,7 @@ const h = {
144
143
  class: "ata-item-data"
145
144
  }, [t.amount])]))]), e("div", {
146
145
  class: "m-b-2r"
147
- }, [this.$t("descriptionBottom")]), i && e("div", {
146
+ }, [this.$t("descriptionBottom")]), n && e("div", {
148
147
  class: "hint-text"
149
148
  }, [this.$t("houseWorkDesc1"), " ", document.getElementById("villkor-avdrag") ? e("span", {
150
149
  on: {
@@ -158,18 +157,18 @@ const h = {
158
157
  }, [this.$t("houseWorkReadTerms")]) : this.$t("houseWorkReadTerms"), " ", this.$t("houseWorkDesc2")])]);
159
158
  }
160
159
  };
161
- const f = null, b = null;
160
+ const h = null, b = null;
162
161
  var k = /* @__PURE__ */ m(
163
- h,
164
162
  f,
163
+ h,
165
164
  b,
166
165
  !1,
167
166
  null,
168
- "19c63a46",
167
+ "3fc3c0cf",
169
168
  null,
170
169
  null
171
170
  );
172
- const y = k.exports;
171
+ const $ = k.exports;
173
172
  export {
174
- y as default
173
+ $ as default
175
174
  };
@@ -1,10 +1,10 @@
1
- import { m as n } from "./mapFormMixin-8d073f99.js";
2
- import { n as t } from "./main-04025a56.js";
1
+ import { m as n } from "./mapFormMixin-a245a297.js";
2
+ import { n as t } from "./main-95207159.js";
3
3
  const a = {
4
4
  name: "ExtraWorkConstructionPricingList",
5
5
  components: {
6
- Read: () => import("./Index-82574a41.js"),
7
- Edit: () => import("./Index-cd76b120.js")
6
+ Read: () => import("./Index-889b6a45.js"),
7
+ Edit: () => import("./Index-ff60354c.js")
8
8
  },
9
9
  mixins: [n([
10
10
  "workPrice",
@@ -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-95207159.js";
2
+ import { m as c } from "./mapFormMixin-a245a297.js";
3
+ import l from "./FilePreviewModal-875fd8c9.js";
4
+ import "./PdfViewer-096bbf00.js";
5
+ import "./dom-068d1a7b.js";
6
+ import "./DocumentLayout-86c367d1.js";
7
+ import "./CDropdownItem-d46bf062.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-84d3b68b.js"),
74
+ AttachmentItem: () => import("./AttachmentItem-34e91526.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 e } from "./PlainHtml-9174cbf6.js";
2
- import { n } from "./main-04025a56.js";
1
+ import { P as e } from "./PlainHtml-752bc8d6.js";
2
+ import { n } from "./main-95207159.js";
3
3
  const s = {
4
4
  name: "EstimatedWorkStartAndEndAtTextRead",
5
5
  props: {
@@ -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-a245a297.js";
2
+ import { n as l, H as s } from "./main-95207159.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
  );