@cling-se/widget 0.9.16 → 0.9.18

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 (135) hide show
  1. package/dist/{AddClientCallout-1348821d.js → AddClientCallout-e8abe369.js} +5 -5
  2. package/dist/{AnswerModal-73bfc112.js → AnswerModal-09ffb221.js} +3 -3
  3. package/dist/{AttachmentItem-1b9e1170.js → AttachmentItem-110f93f7.js} +3 -3
  4. package/dist/{BaseDatePicker-1e3422da.js → BaseDatePicker-03ece6df.js} +1 -1
  5. package/dist/{BaseInput-70aa2f9d.js → BaseInput-295abce2.js} +1 -1
  6. package/dist/{BaseUpload-27cbe3b2.js → BaseUpload-7c1121f8.js} +2 -2
  7. package/dist/{BlockMedia-0f41fb43.js → BlockMedia-f95986a5.js} +1 -1
  8. package/dist/{CCallout-faf80dfb.js → CCallout-6ff50025.js} +2 -2
  9. package/dist/{CDropdownItem-13f6bf72.js → CDropdownItem-fa27c5e4.js} +1 -1
  10. package/dist/{CField-1aa7c4ab.js → CField-855c1d0a.js} +1 -1
  11. package/dist/{CSlider.vue_vue_type_style_index_0_lang-879e8c05.js → CSlider.vue_vue_type_style_index_0_lang-5d538988.js} +1 -1
  12. package/dist/{ClientAutocomplete-94a42966.js → ClientAutocomplete-a569db77.js} +2 -2
  13. package/dist/{ClientModal-b3ec6c4e.js → ClientModal-708de29c.js} +10 -12
  14. package/dist/{ColorPicker-debcfab1.js → ColorPicker-eeac209c.js} +1 -1
  15. package/dist/{CompanyModal-8cf32258.js → CompanyModal-b59c2a9d.js} +3 -3
  16. package/dist/{ContentWrapper-c0a17123.js → ContentWrapper-b3353d9f.js} +26 -26
  17. package/dist/{CoverBlockSettings-0b289e31.js → CoverBlockSettings-55e7a45b.js} +8 -8
  18. package/dist/{DocAnswer-91248c64.js → DocAnswer-3292579d.js} +4 -4
  19. package/dist/{DocForm-91ae8830.js → DocForm-d39f62d7.js} +581 -508
  20. package/dist/{DocFormSend-0288bd11.js → DocFormSend-a9d52a13.js} +23 -22
  21. package/dist/{DocLinks-0b74ba52.js → DocLinks-dcc93a82.js} +2 -2
  22. package/dist/{DocModalBase-04a8975b.js → DocModalBase-16e3129d.js} +1 -1
  23. package/dist/{DocPrint-f4f49825.js → DocPrint-6efe5f7e.js} +1 -1
  24. package/dist/{DocReceipt-7f49dbc7.js → DocReceipt-fe1bb7da.js} +1 -1
  25. package/dist/{DocSendReminder-3059f0b3.js → DocSendReminder-f25c765c.js} +1 -1
  26. package/dist/{DocTextEditor-570f3d62.js → DocTextEditor-0a93ad72.js} +14 -14
  27. package/dist/{DocTimeline-fe15c761.js → DocTimeline-19a2d78f.js} +1 -1
  28. package/dist/{DocumentClient-685c2a72.js → DocumentClient-66a913b6.js} +7 -7
  29. package/dist/{DocumentLayout-1222a5f8.js → DocumentLayout-759a064d.js} +3 -3
  30. package/dist/{DocumentLogotype-b12feaae.js → DocumentLogotype-a393c0be.js} +3 -3
  31. package/dist/{EmbedInput-a1b00bd5.js → EmbedInput-1f9511d4.js} +2 -2
  32. package/dist/{EmbedSettings-33a765a6.js → EmbedSettings-dab21536.js} +3 -3
  33. package/dist/{ErrorCallout-d7d78926.js → ErrorCallout-78e56929.js} +1 -1
  34. package/dist/{FilePreviewModal-877e5aaa.js → FilePreviewModal-ad52ec07.js} +5 -5
  35. package/dist/{HeaderSettings-1b8d8783.js → HeaderSettings-52bf0abe.js} +16 -16
  36. package/dist/{ImageSelectModal-7e612643.js → ImageSelectModal-710b1c98.js} +9 -9
  37. package/dist/{ImageUploadWrapper-2e6b3682.js → ImageUploadWrapper-e4ec2d95.js} +2 -2
  38. package/dist/Index-0a824c85.js +72 -0
  39. package/dist/{Index-3e7e4c33.js → Index-0db8754f.js} +2 -2
  40. package/dist/{Index-abb05d61.js → Index-33447fc6.js} +6 -6
  41. package/dist/{Index-9d7a87a2.js → Index-352c9021.js} +2 -2
  42. package/dist/{Index-83603328.js → Index-36e4bf8c.js} +4 -4
  43. package/dist/{Index-e87eac2e.js → Index-3fe3326a.js} +2 -2
  44. package/dist/{Index-05492736.js → Index-4353a97c.js} +4 -4
  45. package/dist/{Index-2e71665d.js → Index-59830840.js} +4 -4
  46. package/dist/{Index-ab7ee5cf.js → Index-5b64fb7a.js} +4 -4
  47. package/dist/{Index-479a4f5c.js → Index-6051d460.js} +3 -3
  48. package/dist/{Index-96cc92d3.js → Index-62c81443.js} +14 -14
  49. package/dist/{Index-92444604.js → Index-688ba377.js} +4 -4
  50. package/dist/{Index-c4c942a3.js → Index-7d913167.js} +2 -2
  51. package/dist/{Index-5003d8a4.js → Index-8225fee4.js} +2 -2
  52. package/dist/{Index-11d14c4d.js → Index-8da208ee.js} +13 -13
  53. package/dist/{Index-f0ea6d6a.js → Index-90e16f49.js} +24 -30
  54. package/dist/{Index-edb47e7d.js → Index-912c9b2b.js} +4 -4
  55. package/dist/Index-aba31a5e.js +59 -0
  56. package/dist/{Index-ca877625.js → Index-ac1e43f2.js} +19 -22
  57. package/dist/{Index-83cd3513.js → Index-ce61e3e6.js} +10 -10
  58. package/dist/{Index-f450c453.js → Index-d10a939c.js} +9 -9
  59. package/dist/{Index-674572ab.js → Index-d20dca56.js} +4 -4
  60. package/dist/{Index-bff6cda5.js → Index-d34e5825.js} +1 -1
  61. package/dist/{Index-4559e60b.js → Index-d86c5a75.js} +5 -5
  62. package/dist/{Index-bf2851ea.js → Index-d8a20b59.js} +2 -2
  63. package/dist/{Index-dff23f41.js → Index-d98ab083.js} +4 -4
  64. package/dist/{Index-2f94216d.js → Index-e20ec508.js} +8 -8
  65. package/dist/{Index-cdd643d6.js → Index-e59b8d01.js} +30 -36
  66. package/dist/{Index-0d051f12.js → Index-e9a8bb89.js} +35 -26
  67. package/dist/{Index-e7a49ef5.js → Index-ee78a0d7.js} +4 -4
  68. package/dist/{Index-887a4e3b.js → Index-f5c9987e.js} +3 -3
  69. package/dist/{Index-d62e8abf.js → Index-f90de221.js} +2 -2
  70. package/dist/{Index-52da7dd1.js → Index-fa4453cc.js} +6 -6
  71. package/dist/{Index-3bfb3895.js → Index-fbdf1476.js} +1 -1
  72. package/dist/{InputToggleRow-ff428de1.js → InputToggleRow-e4c9fb71.js} +1 -1
  73. package/dist/{IsPremiumPreStep-4bc3a874.js → IsPremiumPreStep-e4caf2dd.js} +394 -260
  74. package/dist/{ManualPopover-fdad805a.js → ManualPopover-d8269334.js} +1 -1
  75. package/dist/{MediaWrapper-10405a28.js → MediaWrapper-5b99c2b9.js} +3 -3
  76. package/dist/{NotBindingText-eab4529c.js → NotBindingText-27150bf7.js} +2 -2
  77. package/dist/{PackageGroup-50b4428c.js → PackageGroup-f6bbaea1.js} +12 -12
  78. package/dist/{PdfTerms-81256394.js → PdfTerms-1b34c28a.js} +5 -5
  79. package/dist/{PdfViewer-10150d1b.js → PdfViewer-fe405d8f.js} +3 -3
  80. package/dist/{PlainHtml-57b8ec60.js → PlainHtml-07b4461c.js} +1 -1
  81. package/dist/PriceHeader-693a6414.js +339 -0
  82. package/dist/{SearchApi-c81405a8.js → SearchApi-9d26dde8.js} +2 -2
  83. package/dist/{Setup-438b2554.js → Setup-ba2a9928.js} +1 -1
  84. package/dist/{TermsSettings-0ad9987a.js → TermsSettings-9aa52469.js} +6 -6
  85. package/dist/{ThemeColorRow-178c3b34.js → ThemeColorRow-ef3ec593.js} +3 -3
  86. package/dist/{ToggleBinding-63c41c8f.js → ToggleBinding-ac3268f8.js} +3 -3
  87. package/dist/{UploadModal-859233e4.js → UploadModal-e8ef00fb.js} +3 -3
  88. package/dist/{VideoPlayerInput-73ac34db.js → VideoPlayerInput-9feb576c.js} +3 -3
  89. package/dist/{VideoPlayerSettings-c60fb8dc.js → VideoPlayerSettings-2450b21c.js} +4 -4
  90. package/dist/{VideoSelectModal-5358f138.js → VideoSelectModal-f282ba52.js} +8 -8
  91. package/dist/{answerDocumentMixin-69b88088.js → answerDocumentMixin-59e29633.js} +3 -3
  92. package/dist/{cssMode-59194949.js → cssMode-691cb247.js} +7 -7
  93. package/dist/{dom-d4731032.js → dom-962579a6.js} +7 -6
  94. package/dist/focusDrawerMixin-91e8cb6b.js +22 -0
  95. package/dist/{formComponentsInstall-12195b8b.js → formComponentsInstall-a371e037.js} +12 -12
  96. package/dist/formDrawerState-db84952d.js +20 -0
  97. package/dist/{formValidationMixin-e54b71c9.js → formValidationMixin-699c04c8.js} +2 -2
  98. package/dist/{freemarker2-3008b375.js → freemarker2-369c7be7.js} +7 -7
  99. package/dist/{handlebars-fa9ab08d.js → handlebars-e69d309d.js} +7 -7
  100. package/dist/{html-d5653fb5.js → html-b90b7472.js} +7 -7
  101. package/dist/{htmlMode-788d6ef2.js → htmlMode-852798f7.js} +7 -7
  102. package/dist/{image-4270bed4.js → image-45637029.js} +1 -1
  103. package/dist/index-03d51584.js +15 -0
  104. package/dist/{index-bed8fb27.js → index-0f4dd31a.js} +1 -1
  105. package/dist/{index-cd29b3be.js → index-60e5432a.js} +9 -9
  106. package/dist/{index-c48b4b2a.js → index-68aa0619.js} +2 -2
  107. package/dist/{index-79df8dcf.js → index-e42d306b.js} +5 -5
  108. package/dist/{index-df5fd2b2.js → index-ef653c95.js} +1 -1
  109. package/dist/index.es.js +3 -3
  110. package/dist/index.umd.js +453 -453
  111. package/dist/{javascript-553c3953.js → javascript-d936cb19.js} +8 -8
  112. package/dist/{jsonMode-c7ab0d1f.js → jsonMode-082e4bd3.js} +7 -7
  113. package/dist/{liquid-9e71ef49.js → liquid-461e97b3.js} +7 -7
  114. package/dist/{main-9e6f1eed.js → main-870410b4.js} +7142 -7097
  115. package/dist/{mapFormMixin-afafb1fa.js → mapFormMixin-3e8412ac.js} +1 -1
  116. package/dist/{publicSenderState-994a5c48.js → publicSenderState-973b902b.js} +1 -1
  117. package/dist/{python-c3ceee79.js → python-516db33c.js} +7 -7
  118. package/dist/{razor-5c5d60a9.js → razor-7e80bafe.js} +7 -7
  119. package/dist/{simplebar.min-2c8e9500.js → simplebar.min-db10f993.js} +1 -1
  120. package/dist/style.css +2 -2
  121. package/dist/{template-35be25a1.js → template-a0e45f2c.js} +1 -1
  122. package/dist/{throttle-0e8ac006.js → throttle-9dc46674.js} +2 -2
  123. package/dist/{tinycolor-e0dc7ddf.js → tinycolor-17c54210.js} +1 -1
  124. package/dist/{tippy.esm-112598e3.js → tippy.esm-e1516e3d.js} +5 -5
  125. package/dist/{tsMode-26e458da.js → tsMode-dc7b755a.js} +7 -7
  126. package/dist/{typescript-152aeb18.js → typescript-18787046.js} +7 -7
  127. package/dist/{utils-3acdacf6.js → utils-bc6b4fb5.js} +1 -1
  128. package/dist/{vuedraggable.umd-9543559a.js → vuedraggable.umd-b951d1bb.js} +1 -1
  129. package/dist/{xml-9806bd44.js → xml-c6d75bf4.js} +7 -7
  130. package/package.json +2 -3
  131. package/dist/Index-6f9f3222.js +0 -69
  132. package/dist/Index-f2fde02f.js +0 -76
  133. package/dist/PriceHeader-70427a56.js +0 -338
  134. package/dist/focusDrawerMixin-188ef585.js +0 -68
  135. package/dist/index-0265dfbd.js +0 -14
@@ -1,5 +1,5 @@
1
- import { m as o } from "./mapFormMixin-afafb1fa.js";
2
- import { n as l, L as s } from "./main-9e6f1eed.js";
1
+ import { m as o } from "./mapFormMixin-3e8412ac.js";
2
+ import { n as l, L as s } from "./main-870410b4.js";
3
3
  import { v as a } from "./index-805c56e4.js";
4
4
  const c = (e, t) => e ? s(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 : !0, u = {
5
5
  name: "ExtraWorkTimeImpactTextEdit",
@@ -1,16 +1,16 @@
1
- import { n as i, g as o, P as u, b as l, am as d } from "./main-9e6f1eed.js";
2
- import { m } from "./mapFormMixin-afafb1fa.js";
3
- import { w as _ } from "./CDropdownItem-13f6bf72.js";
1
+ import { n as i, g as o, P as u, b as l, am as d } from "./main-870410b4.js";
2
+ import { m } from "./mapFormMixin-3e8412ac.js";
3
+ import { w as _ } from "./CDropdownItem-fa27c5e4.js";
4
4
  import { m as g, a as f } from "./vuex.esm-4a0fff7c.js";
5
- import { T as v } from "./DocTextEditor-570f3d62.js";
6
- import { C as h } from "./CCallout-faf80dfb.js";
7
- import "./tippy.esm-112598e3.js";
8
- import "./ColorPicker-debcfab1.js";
9
- import "./DocumentLayout-1222a5f8.js";
10
- import "./CSlider.vue_vue_type_style_index_0_lang-879e8c05.js";
11
- import "./dom-d4731032.js";
5
+ import { T as v } from "./DocTextEditor-0a93ad72.js";
6
+ import { C as h } from "./CCallout-6ff50025.js";
7
+ import "./tippy.esm-e1516e3d.js";
8
+ import "./ColorPicker-eeac209c.js";
9
+ import "./DocumentLayout-759a064d.js";
10
+ import "./CSlider.vue_vue_type_style_index_0_lang-5d538988.js";
11
+ import "./dom-962579a6.js";
12
12
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
13
- import "./ManualPopover-fdad805a.js";
13
+ import "./ManualPopover-d8269334.js";
14
14
  import "./color-71c20583.js";
15
15
  const y = {
16
16
  name: "ModalReference",
@@ -277,8 +277,8 @@ const A = {
277
277
  name: "DocPresentationMessage",
278
278
  components: {
279
279
  AvatarContact: F,
280
- IsPremium: () => import("./index-0265dfbd.js").then((s) => s.IsPremium),
281
- IsPremiumPreStep: () => import("./index-0265dfbd.js").then((s) => s.IsPremiumPreStep)
280
+ IsPremium: () => import("./index-03d51584.js").then((s) => s.IsPremium),
281
+ IsPremiumPreStep: () => import("./index-03d51584.js").then((s) => s.IsPremiumPreStep)
282
282
  },
283
283
  props: {
284
284
  _document: {
@@ -1,28 +1,26 @@
1
- import { b as n, w as s, x as c, y as a, J as i, n as l } from "./main-9e6f1eed.js";
2
- import { m as v } from "./mapFormMixin-afafb1fa.js";
3
- import { f as u } from "./focusDrawerMixin-188ef585.js";
4
- import { B as d } from "./BlockMedia-0f41fb43.js";
5
- import { T as m } from "./DocTextEditor-570f3d62.js";
1
+ import { b as s, w as n, x as c, y as i, J as a, n as l } from "./main-870410b4.js";
2
+ import { m as v } from "./mapFormMixin-3e8412ac.js";
3
+ import { f as d } from "./focusDrawerMixin-91e8cb6b.js";
4
+ import { B as u } from "./BlockMedia-f95986a5.js";
5
+ import { T as m } from "./DocTextEditor-0a93ad72.js";
6
+ import "./formDrawerState-db84952d.js";
6
7
  import "./color-71c20583.js";
7
- import "./tippy.esm-112598e3.js";
8
- import "./ColorPicker-debcfab1.js";
9
- import "./DocumentLayout-1222a5f8.js";
10
- import "./CDropdownItem-13f6bf72.js";
11
- import "./CSlider.vue_vue_type_style_index_0_lang-879e8c05.js";
12
- import "./dom-d4731032.js";
8
+ import "./tippy.esm-e1516e3d.js";
9
+ import "./ColorPicker-eeac209c.js";
10
+ import "./DocumentLayout-759a064d.js";
11
+ import "./CDropdownItem-fa27c5e4.js";
12
+ import "./CSlider.vue_vue_type_style_index_0_lang-5d538988.js";
13
+ import "./dom-962579a6.js";
13
14
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
14
- import "./ManualPopover-fdad805a.js";
15
+ import "./ManualPopover-d8269334.js";
15
16
  const _ = {
16
17
  name: "CoverBlock",
17
18
  components: {
18
- BlockMedia: d,
19
+ BlockMedia: u,
19
20
  TextEditor: m,
20
- CoverBlockSettings: () => import("./CoverBlockSettings-0b289e31.js")
21
+ CoverBlockSettings: () => import("./CoverBlockSettings-55e7a45b.js")
21
22
  },
22
- mixins: [
23
- v(["coverBlock"]),
24
- u()
25
- ],
23
+ mixins: [v(["coverBlock"]), d],
26
24
  inject: ["parentSize"],
27
25
  data() {
28
26
  return {
@@ -32,11 +30,11 @@ const _ = {
32
30
  computed: {
33
31
  text: {
34
32
  get() {
35
- const t = n(this, "coverBlock.text", "");
36
- return this.canEdit ? s(t, this._document.textTemplateMap, this._document._doc) : c(t, this._document._doc);
33
+ const t = s(this, "coverBlock.text", "");
34
+ return this.canEdit ? n(t, this._document.textTemplateMap, this._document._doc) : c(t, this._document._doc);
37
35
  },
38
36
  set(t) {
39
- this.setValue({ key: "text", value: a(t) });
37
+ this.setValue({ key: "text", value: i(t) });
40
38
  }
41
39
  },
42
40
  media() {
@@ -46,7 +44,7 @@ const _ = {
46
44
  },
47
45
  methods: {
48
46
  setValue({ key: t, value: e }) {
49
- this.coverBlock = i(this.coverBlock, t, e);
47
+ this.coverBlock = a(this.coverBlock, t, e);
50
48
  },
51
49
  onAdd() {
52
50
  const t = () => this.$refs.editor.focus();
@@ -64,11 +62,7 @@ var p = function() {
64
62
  return e.$emit("triggerOnAdd");
65
63
  } }, model: { value: e.text, callback: function(r) {
66
64
  e.text = r;
67
- }, 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) {
68
- e.showDrawer = !0;
69
- } } }, [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) {
70
- e.showDrawer = !1;
71
- } } }), o("CoverBlockSettings", { attrs: { _document: e._document, _value: {
65
+ }, expression: "text" } })], 1)])], 1), e.isForm ? [e.showDrawer ? o("portal", { attrs: { to: "drawer-content" } }, [o("CoverBlockSettings", { attrs: { _document: e._document, _value: {
72
66
  type: `${e._value.coverBlock}.type`,
73
67
  video: `${e._value.coverBlock}.cover.video`,
74
68
  resourceUrl: `${e._value.coverBlock}.cover.resourceUrl`,
@@ -88,11 +82,11 @@ var p = function() {
88
82
  f,
89
83
  !1,
90
84
  null,
91
- "28cafa4b",
85
+ "7affbbb2",
92
86
  null,
93
87
  null
94
88
  );
95
- const A = k.exports;
89
+ const z = k.exports;
96
90
  export {
97
- A as default
91
+ z as default
98
92
  };
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-afafb1fa.js";
2
- import { n as r } from "./main-9e6f1eed.js";
1
+ import { m as e } from "./mapFormMixin-3e8412ac.js";
2
+ import { n as r } from "./main-870410b4.js";
3
3
  const a = {
4
4
  name: "EstimatedWorkStartAndEndAtText",
5
5
  components: {
6
- Read: () => import("./Index-3e7e4c33.js"),
7
- Edit: () => import("./Index-674572ab.js")
6
+ Read: () => import("./Index-0db8754f.js"),
7
+ Edit: () => import("./Index-d20dca56.js")
8
8
  },
9
9
  mixins: [e(["startAt", "endAt"])]
10
10
  };
@@ -0,0 +1,59 @@
1
+ import { m as n } from "./mapFormMixin-3e8412ac.js";
2
+ import { f as o } from "./focusDrawerMixin-91e8cb6b.js";
3
+ import { n as i } from "./main-870410b4.js";
4
+ import "./formDrawerState-db84952d.js";
5
+ const a = {
6
+ // eslint-disable-next-line vue/multi-word-component-names
7
+ name: "Terms",
8
+ i18nOptions: {
9
+ namespaces: "terms",
10
+ messages: {
11
+ en: {
12
+ noneSelected: "No terms selected"
13
+ },
14
+ sv: {
15
+ noneSelected: "Inga villkor valda"
16
+ }
17
+ }
18
+ },
19
+ components: {
20
+ Read: () => import("./Index-fa4453cc.js"),
21
+ TermsSettings: () => import("./TermsSettings-9aa52469.js")
22
+ },
23
+ mixins: [
24
+ n(["href", "termType", "file", "text"]),
25
+ o
26
+ ],
27
+ data() {
28
+ return {
29
+ showControls: !1
30
+ };
31
+ },
32
+ computed: {
33
+ hasTerms() {
34
+ const s = ["href", "file"].includes(this.termType) && this.href, e = this.termType === "text" && this.text, t = this.termType === "file" && this.file;
35
+ return s || e || t;
36
+ }
37
+ }
38
+ };
39
+ var m = function() {
40
+ var e = this, t = e._self._c;
41
+ return e.isForm || e.hasTerms ? t("div", { on: { "&mouseover": function(r) {
42
+ e.showControls = !0;
43
+ }, "&mouseleave": function(r) {
44
+ e.showControls = !1;
45
+ } } }, [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: e.openDrawer } }), e.showDrawer ? t("portal", { attrs: { to: "drawer-content" } }, [t("TermsSettings", e._g({ attrs: { _document: e._document, _value: { term: "data.terms" } } }, e.$listeners))], 1) : e._e()] : e._e()], 2) : e._e();
46
+ }, l = [], c = /* @__PURE__ */ i(
47
+ a,
48
+ m,
49
+ l,
50
+ !1,
51
+ null,
52
+ null,
53
+ null,
54
+ null
55
+ );
56
+ const _ = c.exports;
57
+ export {
58
+ _ as default
59
+ };
@@ -1,7 +1,8 @@
1
- import { m as s } from "./mapFormMixin-afafb1fa.js";
2
- import { f as r } from "./focusDrawerMixin-188ef585.js";
3
- import { g as n } from "./utils-3acdacf6.js";
4
- import { n as a } from "./main-9e6f1eed.js";
1
+ import { m as o } from "./mapFormMixin-3e8412ac.js";
2
+ import { f as r } from "./focusDrawerMixin-91e8cb6b.js";
3
+ import { g as n } from "./utils-bc6b4fb5.js";
4
+ import { n as a } from "./main-870410b4.js";
5
+ import "./formDrawerState-db84952d.js";
5
6
  const d = {
6
7
  name: "VideoPlayer",
7
8
  i18nOptions: {
@@ -9,10 +10,10 @@ const d = {
9
10
  keyPrefix: "document.videoPlayer"
10
11
  },
11
12
  components: {
12
- VideoPlayerSettings: () => import("./VideoPlayerSettings-c60fb8dc.js"),
13
- VideoPlayerInput: () => import("./VideoPlayerInput-73ac34db.js")
13
+ VideoPlayerSettings: () => import("./VideoPlayerSettings-2450b21c.js"),
14
+ VideoPlayerInput: () => import("./VideoPlayerInput-9feb576c.js")
14
15
  },
15
- mixins: [s(["videoPlayer"]), r()],
16
+ mixins: [o(["videoPlayer"]), r],
16
17
  data() {
17
18
  return {
18
19
  showControls: !1,
@@ -75,30 +76,26 @@ const d = {
75
76
  };
76
77
  var l = function() {
77
78
  var e = this, i = e._self._c;
78
- return i("div", { staticClass: "video-root font-inter", on: { "&mouseover": function(o) {
79
+ return i("div", { staticClass: "video-root font-inter", on: { "&mouseover": function(s) {
79
80
  e.showControls = !0;
80
- }, "&mouseleave": function(o) {
81
+ }, "&mouseleave": function(s) {
81
82
  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: "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
- return e.setValue({ key: "video", value: o });
84
- }, "hook:mounted": function(o) {
83
+ } } }, [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(s) {
84
+ return e.setValue({ key: "video", value: s });
85
+ }, "hook:mounted": function(s) {
85
86
  return e.$emit("triggerOnAdd");
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
- 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: "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
- e.showDrawer = !1;
90
- } } }), i("VideoPlayerSettings", { attrs: { video: e.video, size: e.size }, on: { input: e.setValue } })], 1) : e._e()] : e._e()], 2);
91
- }, c = [], u = /* @__PURE__ */ a(
87
+ } } })], 1)]) : i("iframe", { ref: "iframe", staticClass: "video-element", attrs: { title: "Video", src: e.video.url, frameborder: "0", allowfullscreen: "" } })])]), e.isForm ? [e.showDrawer ? i("portal", { attrs: { to: "drawer-content" } }, [i("VideoPlayerSettings", { attrs: { video: e.video, size: e.size }, on: { input: e.setValue } })], 1) : e._e()] : e._e()], 2);
88
+ }, u = [], c = /* @__PURE__ */ a(
92
89
  d,
93
90
  l,
94
- c,
91
+ u,
95
92
  !1,
96
93
  null,
97
- "846fc9cb",
94
+ "b40b61e0",
98
95
  null,
99
96
  null
100
97
  );
101
- const f = u.exports;
98
+ const _ = c.exports;
102
99
  export {
103
- f as default
100
+ _ as default
104
101
  };
@@ -1,14 +1,14 @@
1
- import { m as s } from "./mapFormMixin-afafb1fa.js";
2
- import { w as i, x as r, y as a, n as m } from "./main-9e6f1eed.js";
3
- import { T as c } from "./DocTextEditor-570f3d62.js";
4
- import "./tippy.esm-112598e3.js";
5
- import "./ColorPicker-debcfab1.js";
6
- import "./DocumentLayout-1222a5f8.js";
7
- import "./CDropdownItem-13f6bf72.js";
8
- import "./CSlider.vue_vue_type_style_index_0_lang-879e8c05.js";
9
- import "./dom-d4731032.js";
1
+ import { m as s } from "./mapFormMixin-3e8412ac.js";
2
+ import { w as i, x as r, y as a, n as m } from "./main-870410b4.js";
3
+ import { T as c } from "./DocTextEditor-0a93ad72.js";
4
+ import "./tippy.esm-e1516e3d.js";
5
+ import "./ColorPicker-eeac209c.js";
6
+ import "./DocumentLayout-759a064d.js";
7
+ import "./CDropdownItem-fa27c5e4.js";
8
+ import "./CSlider.vue_vue_type_style_index_0_lang-5d538988.js";
9
+ import "./dom-962579a6.js";
10
10
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
11
- import "./ManualPopover-fdad805a.js";
11
+ import "./ManualPopover-d8269334.js";
12
12
  import "./color-71c20583.js";
13
13
  const d = {
14
14
  name: "textContent",
@@ -1,10 +1,10 @@
1
- import { n as m, o as p } from "./main-9e6f1eed.js";
2
- import { m as c } from "./mapFormMixin-afafb1fa.js";
3
- import l from "./FilePreviewModal-877e5aaa.js";
4
- import "./PdfViewer-10150d1b.js";
5
- import "./dom-d4731032.js";
6
- import "./DocumentLayout-1222a5f8.js";
7
- import "./CDropdownItem-13f6bf72.js";
1
+ import { n as m, o as p } from "./main-870410b4.js";
2
+ import { m as c } from "./mapFormMixin-3e8412ac.js";
3
+ import l from "./FilePreviewModal-ad52ec07.js";
4
+ import "./PdfViewer-fe405d8f.js";
5
+ import "./dom-962579a6.js";
6
+ import "./DocumentLayout-759a064d.js";
7
+ import "./CDropdownItem-fa27c5e4.js";
8
8
  const d = {
9
9
  name: "FilePreviewWrapper",
10
10
  components: {
@@ -70,8 +70,8 @@ const w = h.exports, v = {
70
70
  name: "AttachmentList",
71
71
  components: {
72
72
  FilePreviewWrapper: w,
73
- BaseUpload: () => import("./BaseUpload-27cbe3b2.js"),
74
- AttachmentItem: () => import("./AttachmentItem-1b9e1170.js")
73
+ BaseUpload: () => import("./BaseUpload-7c1121f8.js"),
74
+ AttachmentItem: () => import("./AttachmentItem-110f93f7.js")
75
75
  },
76
76
  mixins: [c(["attachments"])],
77
77
  data() {
@@ -1,7 +1,7 @@
1
- import { m as r } from "./mapFormMixin-afafb1fa.js";
2
- import { I as n } from "./InputToggleRow-ff428de1.js";
3
- import { B as l } from "./BaseDatePicker-1e3422da.js";
4
- import { n as s } from "./main-9e6f1eed.js";
1
+ import { m as r } from "./mapFormMixin-3e8412ac.js";
2
+ import { I as n } from "./InputToggleRow-e4c9fb71.js";
3
+ import { B as l } from "./BaseDatePicker-03ece6df.js";
4
+ import { n as s } from "./main-870410b4.js";
5
5
  const c = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeStartEnd",
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-9e6f1eed.js";
1
+ import { n as r } from "./main-870410b4.js";
2
2
  const l = {
3
3
  name: "DocChapterSub",
4
4
  inheritAttrs: !1,
@@ -1,5 +1,5 @@
1
- import { T as $, U as C, n as p, b as v, g as b } from "./main-9e6f1eed.js";
2
- import { m as x } from "./mapFormMixin-afafb1fa.js";
1
+ import { T as $, U as C, n as p, b as v, g as b } from "./main-870410b4.js";
2
+ import { m as x } from "./mapFormMixin-3e8412ac.js";
3
3
  const w = {
4
4
  name: "CPhoneFormat",
5
5
  props: {
@@ -103,8 +103,8 @@ var M = function() {
103
103
  );
104
104
  const z = E.exports;
105
105
  const K = {
106
- client: () => import("./ClientModal-b3ec6c4e.js"),
107
- company: () => import("./CompanyModal-8cf32258.js")
106
+ client: () => import("./ClientModal-708de29c.js"),
107
+ company: () => import("./CompanyModal-b59c2a9d.js")
108
108
  }, N = {
109
109
  i18nOptions: {
110
110
  namespaces: "components"
@@ -112,7 +112,7 @@ const K = {
112
112
  name: "DocParties",
113
113
  components: {
114
114
  DocPartiesItem: z,
115
- AddClientCallout: () => import("./AddClientCallout-1348821d.js")
115
+ AddClientCallout: () => import("./AddClientCallout-e8abe369.js")
116
116
  },
117
117
  mixins: [x()],
118
118
  props: {
@@ -1,5 +1,5 @@
1
- import { P as s } from "./PlainHtml-57b8ec60.js";
2
- import { n as e } from "./main-9e6f1eed.js";
1
+ import { P as s } from "./PlainHtml-07b4461c.js";
2
+ import { n as e } from "./main-870410b4.js";
3
3
  const l = {
4
4
  name: "WorkAddressTextRead",
5
5
  functional: !0,
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-afafb1fa.js";
2
- import { n as i } from "./main-9e6f1eed.js";
1
+ import { m as e } from "./mapFormMixin-3e8412ac.js";
2
+ import { n as i } from "./main-870410b4.js";
3
3
  const r = {
4
4
  name: "ExtraWorkTimeImpactText",
5
5
  components: {
6
- Read: () => import("./Index-e87eac2e.js"),
7
- Edit: () => import("./Index-5003d8a4.js")
6
+ Read: () => import("./Index-3fe3326a.js"),
7
+ Edit: () => import("./Index-8225fee4.js")
8
8
  },
9
9
  mixins: [e([
10
10
  "workStartAt",
@@ -1,9 +1,9 @@
1
- import { m as n } from "./mapFormMixin-afafb1fa.js";
2
- import { V as r } from "./PdfViewer-10150d1b.js";
3
- import { n as l } from "./main-9e6f1eed.js";
4
- import "./dom-d4731032.js";
5
- import "./DocumentLayout-1222a5f8.js";
6
- import "./CDropdownItem-13f6bf72.js";
1
+ import { m as n } from "./mapFormMixin-3e8412ac.js";
2
+ import { V as r } from "./PdfViewer-fe405d8f.js";
3
+ import { n as l } from "./main-870410b4.js";
4
+ import "./dom-962579a6.js";
5
+ import "./DocumentLayout-759a064d.js";
6
+ import "./CDropdownItem-fa27c5e4.js";
7
7
  const i = {
8
8
  i18nOptions: {
9
9
  namespaces: "pdfBlock",
@@ -24,8 +24,8 @@ const i = {
24
24
  name: "Pdf",
25
25
  components: {
26
26
  PdfViewer: r,
27
- FileIcon: () => import("./Index-d62e8abf.js"),
28
- BaseUpload: () => import("./BaseUpload-27cbe3b2.js")
27
+ FileIcon: () => import("./Index-f90de221.js"),
28
+ BaseUpload: () => import("./BaseUpload-7c1121f8.js")
29
29
  },
30
30
  mixins: [
31
31
  n(["file"])
@@ -1,13 +1,14 @@
1
- import { m as r } from "./mapFormMixin-afafb1fa.js";
2
- import { f as l } from "./focusDrawerMixin-188ef585.js";
3
- import { d as c } from "./CDropdownItem-13f6bf72.js";
1
+ import { m as r } from "./mapFormMixin-3e8412ac.js";
2
+ import { f as l } from "./focusDrawerMixin-91e8cb6b.js";
3
+ import { d as c } from "./CDropdownItem-fa27c5e4.js";
4
4
  import { s as u, p as m } from "./splitpanes-ba7897bf.js";
5
- import { n } from "./main-9e6f1eed.js";
5
+ import { n } from "./main-870410b4.js";
6
+ import "./formDrawerState-db84952d.js";
6
7
  const d = {
7
8
  name: "HeaderItems",
8
9
  components: {
9
- MediaWrapper: () => import("./MediaWrapper-10405a28.js"),
10
- ContentWrapper: () => import("./ContentWrapper-c0a17123.js"),
10
+ MediaWrapper: () => import("./MediaWrapper-5b99c2b9.js"),
11
+ ContentWrapper: () => import("./ContentWrapper-b3353d9f.js"),
11
12
  Splitpanes: u,
12
13
  Pane: m
13
14
  },
@@ -39,21 +40,21 @@ const d = {
39
40
  }, 0);
40
41
  },
41
42
  onResize: c(function([{ size: e }]) {
42
- const o = Math.round(e), a = 100 - o;
43
- this.items = this.items.map((s, i) => ({ ...s, size: [o, a][i] }));
43
+ const a = Math.round(e), o = 100 - a;
44
+ this.items = this.items.map((s, i) => ({ ...s, size: [a, o][i] }));
44
45
  }, 100)
45
46
  }
46
47
  };
47
48
  var _ = function() {
48
- var e = this, o = e._self._c;
49
- return e.layout === "center" ? o("div", { staticStyle: { position: "relative", "min-height": "calc(100 * var(--vh, 1vh))" } }, e._l(e.items, function(a, s) {
50
- return o(`${a.type}Wrapper`, e._g({ key: s, tag: "component", staticClass: "item", staticStyle: { position: "absolute", left: "0", top: "0", right: "0", bottom: "0" }, attrs: { size: a.size, _document: e._document, _value: { ...e._value, item: `${e._value.items}.${s}` }, "has-hover": e.showControls } }, e.$listeners));
51
- }), 1) : o(e.canEdit ? "splitpanes" : "div", { tag: "component", staticClass: "layout-wrapper", style: !e.canEdit && {
49
+ var e = this, a = e._self._c;
50
+ return e.layout === "center" ? a("div", { staticStyle: { position: "relative", "min-height": "calc(100 * var(--vh, 1vh))" } }, e._l(e.items, function(o, s) {
51
+ return a(`${o.type}Wrapper`, e._g({ key: s, tag: "component", staticClass: "item", staticStyle: { position: "absolute", left: "0", top: "0", right: "0", bottom: "0" }, attrs: { size: o.size, _document: e._document, _value: { ...e._value, item: `${e._value.items}.${s}` }, "has-hover": e.showControls } }, e.$listeners));
52
+ }), 1) : a(e.canEdit ? "splitpanes" : "div", { tag: "component", staticClass: "layout-wrapper", style: !e.canEdit && {
52
53
  "flex-direction": e.forceHorizontal || e.layout === "horizontal" ? "column" : "row"
53
- }, attrs: { horizontal: e.forceHorizontal ? !0 : e.layout === "horizontal", vertical: e.forceHorizontal ? !1 : e.layout === "vertical" }, on: { resize: e.onResize } }, e._l(e.items, function(a, s) {
54
- return o(e.canEdit ? "pane" : "div", { key: s, tag: "component", style: !e.canEdit && {
55
- flex: `1 1 ${a.size}%`
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);
54
+ }, attrs: { horizontal: e.forceHorizontal ? !0 : e.layout === "horizontal", vertical: e.forceHorizontal ? !1 : e.layout === "vertical" }, on: { resize: e.onResize } }, e._l(e.items, function(o, s) {
55
+ return a(e.canEdit ? "pane" : "div", { key: s, tag: "component", style: !e.canEdit && {
56
+ flex: `1 1 ${o.size}%`
57
+ }, attrs: { size: o.size } }, [a(`${o.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
58
  }), 1);
58
59
  }, h = [], p = /* @__PURE__ */ n(
59
60
  d,
@@ -69,14 +70,11 @@ const v = p.exports;
69
70
  const f = {
70
71
  name: "HeaderBlock",
71
72
  components: {
72
- PriceHeader: () => import("./PriceHeader-70427a56.js"),
73
- HeaderSettings: () => import("./HeaderSettings-1b8d8783.js"),
73
+ PriceHeader: () => import("./PriceHeader-693a6414.js"),
74
+ HeaderSettings: () => import("./HeaderSettings-52bf0abe.js"),
74
75
  HeaderItems: v
75
76
  },
76
- mixins: [
77
- r(["header"]),
78
- l()
79
- ],
77
+ mixins: [r(["header"]), l],
80
78
  data() {
81
79
  return {
82
80
  showControls: !1
@@ -102,30 +100,26 @@ const f = {
102
100
  }
103
101
  };
104
102
  var y = function() {
105
- var e = this, o = e._self._c;
106
- return o("div", { staticClass: "header-root", class: {
103
+ var e = this, a = e._self._c;
104
+ return a("div", { staticClass: "header-root", class: {
107
105
  "has-parent-nav": e.viewSettings.isForm,
108
106
  "has-hover": e.showControls
109
- }, on: { "&mouseover": function(a) {
107
+ }, on: { "&mouseover": function(o) {
110
108
  e.showControls = !0;
111
- }, "&mouseleave": function(a) {
109
+ }, "&mouseleave": function(o) {
112
110
  e.showControls = !1;
113
- } } }, [e.layout === "price" ? o("PriceHeader", e._g({ attrs: { _document: e._document, _value: {
111
+ } } }, [e.layout === "price" ? a("PriceHeader", e._g({ attrs: { _document: e._document, _value: {
114
112
  media: e.mediaPath,
115
113
  backgroundColor: `${e.contentPath}.media.backgroundColor`,
116
114
  documentName: `${e.contentPath}.value.documentName`,
117
115
  showLogo: `${e.contentPath}.value.showLogo`,
118
116
  logotype: `${e.contentPath}.value.logotype`,
119
117
  showPriceSummary: `${e._value.header}.showPriceSummary`
120
- }, "has-hover": e.showControls } }, e.$listeners)) : o("HeaderItems", e._g({ attrs: { _document: e._document, _value: {
118
+ }, "has-hover": e.showControls } }, e.$listeners)) : a("HeaderItems", e._g({ attrs: { _document: e._document, _value: {
121
119
  layout: `${e._value.header}.layout`,
122
120
  items: `${e._value.header}.items`,
123
121
  baseStyle: `${e._value.header}.baseStyle`
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
- 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: "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
- e.showDrawer = !1;
128
- } } }), o("HeaderSettings", { attrs: { _document: e._document, _value: {
122
+ }, "show-controls": e.showControls } }, e.$listeners)), e.isForm ? [e.showDrawer ? a("portal", { attrs: { to: "drawer-content" } }, [a("HeaderSettings", { attrs: { _document: e._document, _value: {
129
123
  layout: `${e._value.header}.layout`,
130
124
  items: `${e._value.header}.items`,
131
125
  showPriceSummary: `${e._value.header}.showPriceSummary`,
@@ -134,7 +128,7 @@ var y = function() {
134
128
  textAlign: `${e._value.header}.baseStyle.textAlign`,
135
129
  textColor: `${e._value.header}.baseStyle.textColor`
136
130
  } } })], 1) : e._e()] : e._e()], 2);
137
- }, $ = [], w = /* @__PURE__ */ n(
131
+ }, $ = [], g = /* @__PURE__ */ n(
138
132
  f,
139
133
  y,
140
134
  $,
@@ -144,7 +138,7 @@ var y = function() {
144
138
  null,
145
139
  null
146
140
  );
147
- const S = w.exports;
141
+ const b = g.exports;
148
142
  export {
149
- S as default
143
+ b as default
150
144
  };