@cling-se/widget 0.9.18 → 0.9.20

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 (130) hide show
  1. package/dist/{AddClientCallout-e8abe369.js → AddClientCallout-9619a0cd.js} +5 -5
  2. package/dist/{AnswerModal-09ffb221.js → AnswerModal-f1389947.js} +3 -3
  3. package/dist/{AttachmentItem-110f93f7.js → AttachmentItem-95fc684f.js} +3 -3
  4. package/dist/{BaseDatePicker-03ece6df.js → BaseDatePicker-4d9b61fd.js} +1 -1
  5. package/dist/{BaseInput-295abce2.js → BaseInput-84339b4c.js} +1 -1
  6. package/dist/{BaseUpload-7c1121f8.js → BaseUpload-066f809f.js} +2 -2
  7. package/dist/{BlockMedia-f95986a5.js → BlockMedia-50fb330d.js} +1 -1
  8. package/dist/{CCallout-6ff50025.js → CCallout-78e08a9d.js} +2 -2
  9. package/dist/{CDropdownItem-fa27c5e4.js → CDropdownItem-66b82296.js} +2 -1
  10. package/dist/{CField-855c1d0a.js → CField-ef95a1e3.js} +1 -1
  11. package/dist/{CSlider.vue_vue_type_style_index_0_lang-5d538988.js → CSlider.vue_vue_type_style_index_0_lang-2d8796e1.js} +1 -1
  12. package/dist/{ClientAutocomplete-a569db77.js → ClientAutocomplete-9501cf84.js} +2 -2
  13. package/dist/{ClientModal-708de29c.js → ClientModal-067ecc75.js} +45 -38
  14. package/dist/{ColorPicker-eeac209c.js → ColorPicker-8cb1f27c.js} +1 -1
  15. package/dist/{CompanyModal-b59c2a9d.js → CompanyModal-983de11b.js} +3 -3
  16. package/dist/{ContentWrapper-b3353d9f.js → ContentWrapper-f7ddec71.js} +12 -12
  17. package/dist/{CoverBlockSettings-55e7a45b.js → CoverBlockSettings-9c9ee9b7.js} +8 -8
  18. package/dist/{DocAnswer-3292579d.js → DocAnswer-f1099b05.js} +4 -4
  19. package/dist/{DocForm-d39f62d7.js → DocForm-408eacc2.js} +633 -568
  20. package/dist/{DocFormSend-a9d52a13.js → DocFormSend-5dab1505.js} +39 -32
  21. package/dist/{DocLinks-dcc93a82.js → DocLinks-8e16606e.js} +2 -2
  22. package/dist/{DocModalBase-16e3129d.js → DocModalBase-7428da89.js} +1 -1
  23. package/dist/{DocPrint-6efe5f7e.js → DocPrint-54d3217e.js} +48 -29
  24. package/dist/{DocReceipt-fe1bb7da.js → DocReceipt-907da7e5.js} +1 -1
  25. package/dist/{DocSendReminder-f25c765c.js → DocSendReminder-f24cadff.js} +1 -1
  26. package/dist/{DocTextEditor-0a93ad72.js → DocTextEditor-24205e38.js} +8 -8
  27. package/dist/{DocTimeline-19a2d78f.js → DocTimeline-38d24961.js} +1 -1
  28. package/dist/{DocumentClient-66a913b6.js → DocumentClient-fe8c5bd9.js} +5 -5
  29. package/dist/{DocumentLayout-759a064d.js → DocumentLayout-e7b72468.js} +3 -3
  30. package/dist/{DocumentLogotype-a393c0be.js → DocumentLogotype-b22c2f09.js} +3 -3
  31. package/dist/{EmbedInput-1f9511d4.js → EmbedInput-19806a9e.js} +2 -2
  32. package/dist/{EmbedSettings-dab21536.js → EmbedSettings-c0cec374.js} +3 -3
  33. package/dist/{ErrorCallout-78e56929.js → ErrorCallout-a662ea20.js} +1 -1
  34. package/dist/{FilePreviewModal-ad52ec07.js → FilePreviewModal-01da22e5.js} +4 -4
  35. package/dist/{HeaderSettings-52bf0abe.js → HeaderSettings-a3531f64.js} +15 -15
  36. package/dist/{ImageSelectModal-710b1c98.js → ImageSelectModal-474d9d7a.js} +8 -8
  37. package/dist/{ImageUploadWrapper-e4ec2d95.js → ImageUploadWrapper-f40bec1d.js} +2 -2
  38. package/dist/{Index-fa4453cc.js → Index-02c3e9fa.js} +6 -6
  39. package/dist/{Index-f90de221.js → Index-19126146.js} +2 -2
  40. package/dist/{Index-36e4bf8c.js → Index-1b7e3d53.js} +4 -4
  41. package/dist/{Index-ce61e3e6.js → Index-1bfcccc4.js} +9 -9
  42. package/dist/{Index-e20ec508.js → Index-1de87c6e.js} +7 -7
  43. package/dist/{Index-d8a20b59.js → Index-32694d1d.js} +2 -2
  44. package/dist/{Index-8da208ee.js → Index-36b27618.js} +57 -52
  45. package/dist/{Index-ee78a0d7.js → Index-4cd7a2f2.js} +4 -4
  46. package/dist/{Index-912c9b2b.js → Index-50314a91.js} +4 -4
  47. package/dist/{Index-e59b8d01.js → Index-509da1b4.js} +9 -9
  48. package/dist/{Index-0a824c85.js → Index-52509ecc.js} +6 -6
  49. package/dist/{Index-aba31a5e.js → Index-56883ef4.js} +6 -6
  50. package/dist/{Index-59830840.js → Index-56944bc9.js} +4 -4
  51. package/dist/{Index-fbdf1476.js → Index-73032523.js} +1 -1
  52. package/dist/{Index-90e16f49.js → Index-73cb2f77.js} +13 -13
  53. package/dist/{Index-7d913167.js → Index-7c72d521.js} +2 -2
  54. package/dist/{Index-e9a8bb89.js → Index-87389ddb.js} +25 -25
  55. package/dist/{Index-33447fc6.js → Index-8929dd51.js} +5 -5
  56. package/dist/{Index-d34e5825.js → Index-8a61e9e6.js} +1 -1
  57. package/dist/{Index-0db8754f.js → Index-9e039c9b.js} +2 -2
  58. package/dist/{Index-ac1e43f2.js → Index-a8a68e5a.js} +7 -7
  59. package/dist/{Index-d98ab083.js → Index-af0f3e58.js} +4 -4
  60. package/dist/{Index-d10a939c.js → Index-b0bc65a3.js} +8 -8
  61. package/dist/{Index-352c9021.js → Index-c10669fe.js} +2 -2
  62. package/dist/{Index-4353a97c.js → Index-c49111c7.js} +4 -4
  63. package/dist/{Index-d86c5a75.js → Index-c8f9233b.js} +48 -47
  64. package/dist/{Index-f5c9987e.js → Index-cf4842b9.js} +2 -2
  65. package/dist/{Index-8225fee4.js → Index-d198ebd8.js} +2 -2
  66. package/dist/{Index-d20dca56.js → Index-d265d801.js} +4 -4
  67. package/dist/{Index-5b64fb7a.js → Index-e6330dff.js} +4 -4
  68. package/dist/{Index-3fe3326a.js → Index-f249ab5b.js} +2 -2
  69. package/dist/{Index-62c81443.js → Index-f9983a6a.js} +13 -13
  70. package/dist/{Index-688ba377.js → Index-fb7e5d20.js} +4 -4
  71. package/dist/{Index-6051d460.js → Index-fec9c623.js} +3 -3
  72. package/dist/{InputToggleRow-e4c9fb71.js → InputToggleRow-90cd84bb.js} +1 -1
  73. package/dist/{IsPremiumPreStep-e4caf2dd.js → IsPremiumPreStep-b154b6c5.js} +38 -31
  74. package/dist/{ManualPopover-d8269334.js → ManualPopover-d732ac07.js} +1 -1
  75. package/dist/{MediaWrapper-5b99c2b9.js → MediaWrapper-7a042a7f.js} +3 -3
  76. package/dist/{NotBindingText-27150bf7.js → NotBindingText-2c0a1b94.js} +2 -2
  77. package/dist/{PackageGroup-f6bbaea1.js → PackageGroup-cc422650.js} +13 -13
  78. package/dist/{PdfTerms-1b34c28a.js → PdfTerms-20c78c5b.js} +4 -4
  79. package/dist/{PdfViewer-fe405d8f.js → PdfViewer-f2026467.js} +5 -5
  80. package/dist/{PlainHtml-07b4461c.js → PlainHtml-f2b630f9.js} +1 -1
  81. package/dist/{PriceHeader-693a6414.js → PriceHeader-c9011e48.js} +12 -12
  82. package/dist/{SearchApi-9d26dde8.js → SearchApi-7b15f157.js} +2 -2
  83. package/dist/{Setup-ba2a9928.js → Setup-36945741.js} +1 -1
  84. package/dist/{TermsSettings-9aa52469.js → TermsSettings-36cbaf14.js} +6 -6
  85. package/dist/{ThemeColorRow-ef3ec593.js → ThemeColorRow-0b5c56fc.js} +3 -3
  86. package/dist/{ToggleBinding-ac3268f8.js → ToggleBinding-cc06dcef.js} +3 -3
  87. package/dist/{UploadModal-e8ef00fb.js → UploadModal-c61ec4e8.js} +3 -3
  88. package/dist/{VideoPlayerInput-9feb576c.js → VideoPlayerInput-91408653.js} +3 -3
  89. package/dist/{VideoPlayerSettings-2450b21c.js → VideoPlayerSettings-ae7e9175.js} +4 -4
  90. package/dist/{VideoSelectModal-f282ba52.js → VideoSelectModal-83b9e055.js} +7 -7
  91. package/dist/{answerDocumentMixin-59e29633.js → answerDocumentMixin-69fdcb8e.js} +3 -3
  92. package/dist/{cssMode-691cb247.js → cssMode-7d9ff98e.js} +7 -7
  93. package/dist/{focusDrawerMixin-91e8cb6b.js → focusDrawerMixin-ff6461a8.js} +1 -1
  94. package/dist/{formComponentsInstall-a371e037.js → formComponentsInstall-f4e2b7d5.js} +14 -13
  95. package/dist/{formDrawerState-db84952d.js → formDrawerState-aae83c3d.js} +1 -1
  96. package/dist/{formValidationMixin-699c04c8.js → formValidationMixin-cd15cf18.js} +1 -1
  97. package/dist/{freemarker2-369c7be7.js → freemarker2-9b942f4a.js} +7 -7
  98. package/dist/{handlebars-e69d309d.js → handlebars-ed9d2974.js} +7 -7
  99. package/dist/{html-b90b7472.js → html-f2889a37.js} +7 -7
  100. package/dist/{htmlMode-852798f7.js → htmlMode-37f68fda.js} +7 -7
  101. package/dist/{image-45637029.js → image-6862651d.js} +1 -1
  102. package/dist/{index-e42d306b.js → index-66f749c2.js} +4 -4
  103. package/dist/{index-03d51584.js → index-7f2e8b37.js} +4 -4
  104. package/dist/{index-60e5432a.js → index-8255de00.js} +8 -8
  105. package/dist/{index-ef653c95.js → index-a19a5c70.js} +27 -27
  106. package/dist/{index-68aa0619.js → index-a1f81228.js} +2 -2
  107. package/dist/{index-0f4dd31a.js → index-a44f193f.js} +1 -1
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +488 -488
  110. package/dist/{javascript-d936cb19.js → javascript-46a9739c.js} +8 -8
  111. package/dist/{jsonMode-082e4bd3.js → jsonMode-ab05190c.js} +7 -7
  112. package/dist/{liquid-461e97b3.js → liquid-60a5e8f4.js} +7 -7
  113. package/dist/{main-870410b4.js → main-1f937d87.js} +3724 -3650
  114. package/dist/mapFormMixin-8c09dab9.js +73 -0
  115. package/dist/{publicSenderState-973b902b.js → publicSenderState-73d241e0.js} +1 -1
  116. package/dist/{python-516db33c.js → python-2fc09c0f.js} +7 -7
  117. package/dist/{razor-7e80bafe.js → razor-01789f82.js} +7 -7
  118. package/dist/{simplebar.min-db10f993.js → simplebar.min-76317c3b.js} +1 -1
  119. package/dist/style.css +2 -2
  120. package/dist/{template-a0e45f2c.js → template-6422cbb1.js} +1 -1
  121. package/dist/{throttle-9dc46674.js → throttle-2e1b7f21.js} +2 -2
  122. package/dist/{tinycolor-17c54210.js → tinycolor-024fb881.js} +1 -1
  123. package/dist/{tippy.esm-e1516e3d.js → tippy.esm-d006e34e.js} +5 -5
  124. package/dist/{tsMode-dc7b755a.js → tsMode-bc82901a.js} +7 -7
  125. package/dist/{typescript-18787046.js → typescript-35063579.js} +7 -7
  126. package/dist/{utils-bc6b4fb5.js → utils-d8ab353e.js} +1 -1
  127. package/dist/{vuedraggable.umd-b951d1bb.js → vuedraggable.umd-8be16eb5.js} +1 -1
  128. package/dist/{xml-c6d75bf4.js → xml-a008072c.js} +7 -7
  129. package/package.json +1 -1
  130. package/dist/mapFormMixin-3e8412ac.js +0 -66
@@ -1,5 +1,5 @@
1
- import { P as e } from "./PlainHtml-07b4461c.js";
2
- import { n } from "./main-870410b4.js";
1
+ import { P as e } from "./PlainHtml-f2b630f9.js";
2
+ import { n } from "./main-1f937d87.js";
3
3
  const s = {
4
4
  name: "EstimatedWorkStartAndEndAtTextRead",
5
5
  props: {
@@ -1,8 +1,8 @@
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";
1
+ import { m as o } from "./mapFormMixin-8c09dab9.js";
2
+ import { f as r } from "./focusDrawerMixin-ff6461a8.js";
3
+ import { g as n } from "./utils-d8ab353e.js";
4
+ import { n as a } from "./main-1f937d87.js";
5
+ import "./formDrawerState-aae83c3d.js";
6
6
  const d = {
7
7
  name: "VideoPlayer",
8
8
  i18nOptions: {
@@ -10,8 +10,8 @@ const d = {
10
10
  keyPrefix: "document.videoPlayer"
11
11
  },
12
12
  components: {
13
- VideoPlayerSettings: () => import("./VideoPlayerSettings-2450b21c.js"),
14
- VideoPlayerInput: () => import("./VideoPlayerInput-9feb576c.js")
13
+ VideoPlayerSettings: () => import("./VideoPlayerSettings-ae7e9175.js"),
14
+ VideoPlayerInput: () => import("./VideoPlayerInput-91408653.js")
15
15
  },
16
16
  mixins: [o(["videoPlayer"]), r],
17
17
  data() {
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-3e8412ac.js";
2
- import { n as i } from "./main-870410b4.js";
1
+ import { m as e } from "./mapFormMixin-8c09dab9.js";
2
+ import { n as i } from "./main-1f937d87.js";
3
3
  const r = {
4
4
  name: "ExtraWorkTimeImpactText",
5
5
  components: {
6
- Read: () => import("./Index-3fe3326a.js"),
7
- Edit: () => import("./Index-8225fee4.js")
6
+ Read: () => import("./Index-f249ab5b.js"),
7
+ Edit: () => import("./Index-d198ebd8.js")
8
8
  },
9
9
  mixins: [e([
10
10
  "workStartAt",
@@ -1,10 +1,10 @@
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";
1
+ import { n as m, o as p } from "./main-1f937d87.js";
2
+ import { m as c } from "./mapFormMixin-8c09dab9.js";
3
+ import l from "./FilePreviewModal-01da22e5.js";
4
+ import "./PdfViewer-f2026467.js";
5
5
  import "./dom-962579a6.js";
6
- import "./DocumentLayout-759a064d.js";
7
- import "./CDropdownItem-fa27c5e4.js";
6
+ import "./DocumentLayout-e7b72468.js";
7
+ import "./CDropdownItem-66b82296.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-7c1121f8.js"),
74
- AttachmentItem: () => import("./AttachmentItem-110f93f7.js")
73
+ BaseUpload: () => import("./BaseUpload-066f809f.js"),
74
+ AttachmentItem: () => import("./AttachmentItem-95fc684f.js")
75
75
  },
76
76
  mixins: [c(["attachments"])],
77
77
  data() {
@@ -1,5 +1,5 @@
1
- import { P as n } from "./PlainHtml-07b4461c.js";
2
- import { n as s } from "./main-870410b4.js";
1
+ import { P as n } from "./PlainHtml-f2b630f9.js";
2
+ import { n as s } from "./main-1f937d87.js";
3
3
  const o = {
4
4
  name: "EstimatedTimeToCompleteTextRead",
5
5
  props: {
@@ -1,10 +1,10 @@
1
- import { m as _ } from "./mapFormMixin-3e8412ac.js";
2
- import { n as o } from "./main-870410b4.js";
1
+ import { m as _ } from "./mapFormMixin-8c09dab9.js";
2
+ import { n as o } from "./main-1f937d87.js";
3
3
  const a = {
4
4
  name: "NotBinding",
5
5
  components: {
6
- Edit: () => import("./ToggleBinding-ac3268f8.js"),
7
- Read: () => import("./NotBindingText-27150bf7.js")
6
+ Edit: () => import("./ToggleBinding-cc06dcef.js"),
7
+ Read: () => import("./NotBindingText-2c0a1b94.js")
8
8
  },
9
9
  mixins: [_()]
10
10
  };
@@ -1,5 +1,5 @@
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";
1
+ import { U as $, W as C, n as p, b as v } from "./main-1f937d87.js";
2
+ import { m as b } from "./mapFormMixin-8c09dab9.js";
3
3
  const w = {
4
4
  name: "CPhoneFormat",
5
5
  props: {
@@ -48,22 +48,22 @@ const w = {
48
48
  formattedValue: this.formattedPhone
49
49
  }) : C("span", [this.formattedPhone]);
50
50
  }
51
- }, S = null, k = null;
52
- var P = /* @__PURE__ */ p(
51
+ }, x = null, S = null;
52
+ var k = /* @__PURE__ */ p(
53
53
  w,
54
+ x,
54
55
  S,
55
- k,
56
56
  !1,
57
57
  null,
58
58
  null,
59
59
  null,
60
60
  null
61
61
  );
62
- const F = P.exports;
63
- const I = {
62
+ const P = k.exports;
63
+ const F = {
64
64
  name: "DocPartiesItem",
65
65
  components: {
66
- CPhoneFormat: F
66
+ CPhoneFormat: P
67
67
  },
68
68
  props: {
69
69
  label: {
@@ -84,16 +84,16 @@ const I = {
84
84
  }
85
85
  }
86
86
  };
87
- var M = function() {
87
+ var I = function() {
88
88
  var e = this, t = e._self._c;
89
89
  return t("div", { staticClass: "client-row" }, [t("div", { staticClass: "label" }, [e._v(" " + e._s(e.label) + " ")]), t("div", { staticClass: "data", class: {
90
90
  "is-editable": e.canEdit
91
91
  } }, [t("span", { on: { click: function(a) {
92
92
  return e.$emit("click");
93
93
  } } }, [e.type === "phone" ? t("CPhoneFormat", { attrs: { phone: e.data.cellphone, region: e.data.region } }) : [e._v(e._s(e.data))]], 2)])]);
94
- }, D = [], E = /* @__PURE__ */ p(
94
+ }, D = [], M = /* @__PURE__ */ p(
95
+ F,
95
96
  I,
96
- M,
97
97
  D,
98
98
  !1,
99
99
  null,
@@ -101,20 +101,20 @@ var M = function() {
101
101
  null,
102
102
  null
103
103
  );
104
- const z = E.exports;
105
- const K = {
106
- client: () => import("./ClientModal-708de29c.js"),
107
- company: () => import("./CompanyModal-b59c2a9d.js")
108
- }, N = {
104
+ const z = M.exports;
105
+ const E = {
106
+ client: () => import("./ClientModal-067ecc75.js"),
107
+ company: () => import("./CompanyModal-983de11b.js")
108
+ }, K = {
109
109
  i18nOptions: {
110
110
  namespaces: "components"
111
111
  },
112
112
  name: "DocParties",
113
113
  components: {
114
114
  DocPartiesItem: z,
115
- AddClientCallout: () => import("./AddClientCallout-e8abe369.js")
115
+ AddClientCallout: () => import("./AddClientCallout-9619a0cd.js")
116
116
  },
117
- mixins: [x()],
117
+ mixins: [b()],
118
118
  props: {
119
119
  // todo: atm custom behaviour for path 'data.sender' through doc-class
120
120
  parties: {
@@ -134,8 +134,8 @@ const K = {
134
134
  return (Array.isArray(this.parties) ? this.parties : [this.parties]).map((t) => {
135
135
  const {
136
136
  orgNo: a,
137
- socialNo: i,
138
- companyName: o,
137
+ socialNo: o,
138
+ companyName: i,
139
139
  name: r,
140
140
  type: m,
141
141
  cellphone: u,
@@ -147,14 +147,14 @@ const K = {
147
147
  } = t, c = m === "individual", s = l && (l.standard || l.work);
148
148
  s && (s.formKey = l.standard ? "street" : "workStreet");
149
149
  const g = [
150
- o && { label: n("company"), value: o, formKey: "name" },
150
+ i && { label: n("company"), value: i, formKey: "name" },
151
151
  a && { label: n("orgNoShort"), value: a, formKey: "orgNo" },
152
152
  r && {
153
153
  label: n(c ? "name" : "reference"),
154
154
  value: r,
155
155
  formKey: c ? "name" : "reference"
156
156
  },
157
- i && c && { label: n("socialNo"), value: i, formKey: "orgNo" },
157
+ o && c && { label: n("socialNo"), value: o, formKey: "orgNo" },
158
158
  h && { label: n("email"), value: h, formKey: "email" },
159
159
  u && {
160
160
  label: n("phone"),
@@ -182,17 +182,18 @@ const K = {
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
- K[this.type],
185
+ E[this.type],
186
186
  {
187
187
  inputFocusOnMount: t,
188
188
  forceExpand: a,
189
189
  documentClientIndex: e,
190
+ setFormValue: this.viewSettings.setFormValue,
190
191
  isPublicForm: this.viewSettings.isPublicForm
191
192
  }
192
193
  );
193
194
  },
194
195
  removeClient(n) {
195
- this.parties[n] && this.$store.dispatch(b.REMOVE_FORM_VALUE, `document2.clients[${n}]`);
196
+ this.parties[n] && this.removeField(`clients[${n}]`);
196
197
  },
197
198
  parseStreet(n, e, t) {
198
199
  let a = "";
@@ -211,48 +212,48 @@ const K = {
211
212
  }
212
213
  }
213
214
  };
214
- var A = function() {
215
+ var N = function() {
215
216
  var e = this, t = e._self._c;
216
217
  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
218
  class: "text-primary-500"
218
219
  }, "icon-left": "plus-circle" }, on: { click: function(a) {
219
220
  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, i) {
221
- return t("CDropdownItem", { key: i, attrs: { "icon-props": {
221
+ } } }, [e._v(" " + e._s(e.$t("components:account.documentForm.clients.add.extra")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), e._l(e.parties, function(a, o) {
222
+ return t("CDropdownItem", { key: o, attrs: { "icon-props": {
222
223
  class: "text-gray-400"
223
- }, "icon-left": "edit" }, on: { click: function(o) {
224
- return e.openModal({ index: i });
224
+ }, "icon-left": "edit" }, on: { click: function(i) {
225
+ return e.openModal({ index: o });
225
226
  } } }, [e._v(" " + e._s(a.type === "individual" ? a.name : a.companyName || a.name) + " ")]);
226
227
  })], 2) : e._e()], 1) : e._e(), e.viewSettings.canEdit ? [e.type === "client" && !(e.parties && e.parties.length) ? t("AddClientCallout", { on: { add: function(a) {
227
228
  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, i) {
229
- return t("div", { key: i, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(o) {
230
- e.hoverIndex = i;
231
- }, "&mouseleave": function(o) {
229
+ }, 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, o) {
230
+ return t("div", { key: o, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(i) {
231
+ e.hoverIndex = o;
232
+ }, "&mouseleave": function(i) {
232
233
  e.hoverIndex = null;
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
- } } }), t("CButton", { attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "tertiary" }, on: { click: function(o) {
236
- return e.removeClient(i);
237
- } } })], 1) : e._e(), e._l(a.main, function(o, r) {
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: i });
234
+ } } }, [e.viewSettings.canEdit && e.type !== "company" && e.hoverIndex === o ? 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(i) {
235
+ return e.openModal({ index: o });
236
+ } } }), t("CButton", { attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "tertiary" }, on: { click: function(i) {
237
+ return e.removeClient(o);
238
+ } } })], 1) : e._e(), e._l(a.main, function(i, r) {
239
+ return [i ? t("DocPartiesItem", { key: r, attrs: { label: i.label, data: i.value, type: i.type, "can-edit": e.viewSettings.canEdit }, on: { click: function(m) {
240
+ e.viewSettings.canEdit && e.openModal({ formKey: i.formKey, index: o });
240
241
  } } }) : e._e()];
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
- 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))])]);
242
+ }), a.checks && a.checks.length ? t("div", { staticStyle: { width: "100%", "padding-top": "calc(1 * var(--rem))" } }, e._l(a.checks, function(i, r) {
243
+ 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(i.label))])]);
243
244
  }), 0) : e._e()], 2);
244
245
  })], 2);
245
- }, R = [], B = /* @__PURE__ */ p(
246
+ }, A = [], B = /* @__PURE__ */ p(
247
+ K,
246
248
  N,
247
249
  A,
248
- R,
249
250
  !1,
250
251
  null,
251
- "c1a9a3e4",
252
+ "9a83d4c6",
252
253
  null,
253
254
  null
254
255
  );
255
- const L = B.exports;
256
+ const O = B.exports;
256
257
  export {
257
- L as default
258
+ O as default
258
259
  };
@@ -1,5 +1,5 @@
1
- import { K as c, s as u, n as m } from "./main-870410b4.js";
2
- import { P as p } from "./PlainHtml-07b4461c.js";
1
+ import { K as c, s as u, n as m } from "./main-1f937d87.js";
2
+ import { P as p } from "./PlainHtml-f2b630f9.js";
3
3
  import { s as g } from "./dom-962579a6.js";
4
4
  const f = {
5
5
  name: "ExtraWorkConstructionPricingListRead",
@@ -1,5 +1,5 @@
1
- import { m as o } from "./mapFormMixin-3e8412ac.js";
2
- import { n as l, L as s } from "./main-870410b4.js";
1
+ import { m as o } from "./mapFormMixin-8c09dab9.js";
2
+ import { n as l, L as s } from "./main-1f937d87.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,7 +1,7 @@
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";
1
+ import { m as r } from "./mapFormMixin-8c09dab9.js";
2
+ import { I as n } from "./InputToggleRow-90cd84bb.js";
3
+ import { B as l } from "./BaseDatePicker-4d9b61fd.js";
4
+ import { n as s } from "./main-1f937d87.js";
5
5
  const c = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeStartEnd",
@@ -1,7 +1,7 @@
1
- import { m as o } from "./mapFormMixin-3e8412ac.js";
2
- import { I as i } from "./InputToggleRow-e4c9fb71.js";
3
- import { B as a } from "./BaseInput-295abce2.js";
4
- import { n as l } from "./main-870410b4.js";
1
+ import { m as o } from "./mapFormMixin-8c09dab9.js";
2
+ import { I as i } from "./InputToggleRow-90cd84bb.js";
3
+ import { B as a } from "./BaseInput-84339b4c.js";
4
+ import { n as l } from "./main-1f937d87.js";
5
5
  const m = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeToCompleteText",
@@ -1,5 +1,5 @@
1
- import { P as r } from "./PlainHtml-07b4461c.js";
2
- import { n as o } from "./main-870410b4.js";
1
+ import { P as r } from "./PlainHtml-f2b630f9.js";
2
+ import { n as o } from "./main-1f937d87.js";
3
3
  const s = {
4
4
  name: "ExtraWorkTimeImpactTextRead",
5
5
  props: {
@@ -1,20 +1,20 @@
1
- import { aK as B, aL as A, aM as E, aN as z, aO as W, aP as F, j, aQ as N, b as o, n as c, q as H, aR as x, aq as q, aS as w, aT as U, ac as f, a4 as G, g as p, s as k, aU as K, ad as Y, aV as Z, aW as J, aX as C, p as Q, K as g, w as X, y as ee, aY as te, o as ie, N as se } from "./main-870410b4.js";
1
+ import { aK as B, aL as A, aM as E, aN as z, aO as W, aP as F, j, aQ as N, b as o, n as c, q as H, aR as x, aq as q, aS as w, aT as U, ad as f, a5 as G, g as p, s as k, aU as K, ae as Y, aV as Z, aW as J, aX as C, p as Q, K as g, w as X, y as ee, aY as te, o as ie, N as se } from "./main-1f937d87.js";
2
2
  import { m as h, a as v } from "./vuex.esm-4a0fff7c.js";
3
- import { m as y } from "./mapFormMixin-3e8412ac.js";
4
- import { E as P } from "./ErrorCallout-78e56929.js";
5
- import { T as ae } from "./DocTextEditor-0a93ad72.js";
6
- import { o as S, d as ne } from "./vuedraggable.umd-b951d1bb.js";
7
- import { W as re } from "./DocumentLayout-759a064d.js";
8
- import { C as oe } from "./tippy.esm-e1516e3d.js";
3
+ import { m as y } from "./mapFormMixin-8c09dab9.js";
4
+ import { E as P } from "./ErrorCallout-a662ea20.js";
5
+ import { T as ae } from "./DocTextEditor-24205e38.js";
6
+ import { o as S, d as ne } from "./vuedraggable.umd-8be16eb5.js";
7
+ import { W as re } from "./DocumentLayout-e7b72468.js";
8
+ import { C as oe } from "./tippy.esm-d006e34e.js";
9
9
  import { v as le } from "./index-805c56e4.js";
10
- import { S as ce } from "./SearchApi-9d26dde8.js";
11
- import { w as ue } from "./CDropdownItem-fa27c5e4.js";
12
- import { B as V } from "./BaseInput-295abce2.js";
10
+ import { S as ce } from "./SearchApi-7b15f157.js";
11
+ import { w as ue } from "./CDropdownItem-66b82296.js";
12
+ import { B as V } from "./BaseInput-84339b4c.js";
13
13
  import "./dom-962579a6.js";
14
- import "./CSlider.vue_vue_type_style_index_0_lang-5d538988.js";
14
+ import "./CSlider.vue_vue_type_style_index_0_lang-2d8796e1.js";
15
15
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
16
- import "./ManualPopover-d8269334.js";
17
- import "./ColorPicker-eeac209c.js";
16
+ import "./ManualPopover-d732ac07.js";
17
+ import "./ColorPicker-8cb1f27c.js";
18
18
  import "./color-71c20583.js";
19
19
  const de = [
20
20
  "unit",
@@ -1,10 +1,10 @@
1
- import { m as n } from "./mapFormMixin-3e8412ac.js";
2
- import { n as t } from "./main-870410b4.js";
1
+ import { m as n } from "./mapFormMixin-8c09dab9.js";
2
+ import { n as t } from "./main-1f937d87.js";
3
3
  const a = {
4
4
  name: "ExtraWorkConstructionPricingList",
5
5
  components: {
6
- Read: () => import("./Index-f5c9987e.js"),
7
- Edit: () => import("./Index-36e4bf8c.js")
6
+ Read: () => import("./Index-cf4842b9.js"),
7
+ Edit: () => import("./Index-1b7e3d53.js")
8
8
  },
9
9
  mixins: [n([
10
10
  "workPrice",
@@ -1,9 +1,9 @@
1
- import { m as n } from "./mapFormMixin-3e8412ac.js";
2
- import { n as r } from "./main-870410b4.js";
1
+ import { m as n } from "./mapFormMixin-8c09dab9.js";
2
+ import { n as r } from "./main-1f937d87.js";
3
3
  const s = {
4
4
  name: "WorkAddressText",
5
5
  components: {
6
- Read: () => import("./Index-d8a20b59.js")
6
+ Read: () => import("./Index-32694d1d.js")
7
7
  },
8
8
  mixins: [n(["street", "city", "zip"])]
9
9
  };
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-870410b4.js";
1
+ import { n as s } from "./main-1f937d87.js";
2
2
  const n = {
3
3
  name: "InputCompactRow",
4
4
  props: {