@cling-se/widget 0.15.3 → 0.15.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 (134) hide show
  1. package/README.md +43 -43
  2. package/dist/{AddClientCallout-8s5a1_CZ.js → AddClientCallout-CrZF5j7A.js} +15 -13
  3. package/dist/{AnswerModal-Cnp43tGo.js → AnswerModal-C3r9vyki.js} +71 -71
  4. package/dist/{AttachmentItem-BP85gcjP.js → AttachmentItem-BVXrxCnv.js} +17 -12
  5. package/dist/{BaseDatePicker-C27CsTzy.js → BaseDatePicker-DxL2l3QC.js} +2 -2
  6. package/dist/{BaseUpload-DnhS3hGx.js → BaseUpload-B7259IaQ.js} +3 -3
  7. package/dist/{BlockMedia-D4nhek2s.js → BlockMedia-BSKtZMwa.js} +2 -2
  8. package/dist/{CCallout-CQjRcxpC.js → CCallout-BNvM6gNJ.js} +4 -5
  9. package/dist/{CCurrencyDropdown-BT01qBGg.js → CCurrencyDropdown-xmqmb8gW.js} +4 -4
  10. package/dist/{CDropdownItem-BSPNul90.js → CDropdownItem-DiLisSei.js} +139 -37
  11. package/dist/{CFormField-Cz_jNazS.js → CFormField-DcZVdj3a.js} +3 -4
  12. package/dist/{CPhoneFormat-C017AoM0.js → CPhoneFormat-BeYxRN0i.js} +1 -1
  13. package/dist/CPhoneInput-UzZkxbC6.js +138 -0
  14. package/dist/{CPriceInput-jktMjvwx.js → CPriceInput-C2y_3PM7.js} +2 -2
  15. package/dist/CSelect-BmP1UsQA.js +91 -0
  16. package/dist/CSkeleton-BNbft-NE.js +55 -0
  17. package/dist/ClientAutocomplete-BnredOme.js +438 -0
  18. package/dist/{ClientModal-DLtFhJya.js → ClientModal-DNcf4APF.js} +77 -42
  19. package/dist/{ColorPicker-MQmVGbvm.js → ColorPicker-BupC4jvI.js} +2 -2
  20. package/dist/{CompanyModal-Qx5xMku0.js → CompanyModal-Bh8mEHE1.js} +25 -19
  21. package/dist/{ContentWrapper-B9NQqp2q.js → ContentWrapper-Bs3nrJda.js} +11 -11
  22. package/dist/CoverBlockSettings-WYZsCdky.js +659 -0
  23. package/dist/{DocAnswer-BlxFv_Gc.js → DocAnswer--FfsnnTB.js} +2 -2
  24. package/dist/{DocDetails-dGcYGJpp.js → DocDetails-Ce7bj-qO.js} +10 -10
  25. package/dist/{DocForm-C6o_XBcW.js → DocForm-FR_Vlq_C.js} +512 -498
  26. package/dist/{DocFormSend-_prtxNIf.js → DocFormSend-DcSv3JNg.js} +14 -15
  27. package/dist/{DocLinks-Dp495SCS.js → DocLinks-Bvhc62aJ.js} +2 -2
  28. package/dist/{DocModalBase-B0wYq3ft.js → DocModalBase-DkfUBRi3.js} +2 -2
  29. package/dist/{DocPrint-CURxofeU.js → DocPrint-BrKY6rOy.js} +3 -3
  30. package/dist/{DocReceipt-DgGcBRVH.js → DocReceipt-oGrM6t_k.js} +25 -20
  31. package/dist/{DocSendReminder-CPty4svi.js → DocSendReminder-veEC_yHK.js} +19 -16
  32. package/dist/{DocTextEditor-BYsXFRLg.js → DocTextEditor-CNRwxPEx.js} +13 -15
  33. package/dist/{DocTimeline-CHg1QykR.js → DocTimeline-e2Xf_QZ7.js} +36 -34
  34. package/dist/{DocumentClient-CZ6N73pQ.js → DocumentClient-Dx4Uyxkh.js} +5 -5
  35. package/dist/{DocumentLayout-CiszuoQc.js → DocumentLayout-DmjmsTcx.js} +1503 -1539
  36. package/dist/{DocumentLogotype-BgFCWcwC.js → DocumentLogotype-ddYHM9wn.js} +18 -15
  37. package/dist/{DocumentVoided-DT2hhHk2.js → DocumentVoided-WCk7XuxH.js} +1 -1
  38. package/dist/{EmbedInput-aLmvzK1I.js → EmbedInput-CMueXdFs.js} +25 -21
  39. package/dist/{EmbedSettings-BZipciy9.js → EmbedSettings-BRuLCWr0.js} +13 -11
  40. package/dist/{ErrorCallout-CNxSDsr_.js → ErrorCallout-CDtZceLU.js} +6 -6
  41. package/dist/{FilePreviewModal-DxdksQiy.js → FilePreviewModal-BzAUuY58.js} +3 -3
  42. package/dist/Flag-DkJgyDQK.js +46 -0
  43. package/dist/{HeaderSettings-DeoSRi6O.js → HeaderSettings-CoKK5Mbt.js} +155 -110
  44. package/dist/{ImageSelectModal-DvQz2VPi.js → ImageSelectModal-De64vGSr.js} +6 -6
  45. package/dist/{ImageUploadWrapper-CNQRdHF9.js → ImageUploadWrapper-CE6KTze0.js} +3 -3
  46. package/dist/{Index-PUFeH_1z.js → Index-50KxppUS.js} +4 -4
  47. package/dist/{Index-FC1UsElU.js → Index-B7vVIRFn.js} +7 -7
  48. package/dist/{Index-Cfc0Q0AG.js → Index-BUQ75xOU.js} +6 -6
  49. package/dist/{Index-CWj2vDHc.js → Index-BVKCCkQY.js} +49 -44
  50. package/dist/{Index-BglKAnNq.js → Index-BiGT3iEX.js} +7 -7
  51. package/dist/{Index-B3Q09phm.js → Index-BoDKKVvL.js} +4 -4
  52. package/dist/{Index-Ch5j2tqD.js → Index-BotY9nbP.js} +2 -2
  53. package/dist/{Index-D-l3i9vY.js → Index-BwaJW9CY.js} +3 -3
  54. package/dist/{Index-BIv8flFB.js → Index-ByqCyUgx.js} +9 -9
  55. package/dist/{Index-B9_POjpY.js → Index-C7pge7E9.js} +23 -21
  56. package/dist/{Index-CJeSVpRh.js → Index-CBRJ-AZi.js} +2 -2
  57. package/dist/{Index-CePHdKi2.js → Index-CFQMtx5w.js} +5 -5
  58. package/dist/{Index-CXibuEkU.js → Index-CJKyHWiO.js} +15 -15
  59. package/dist/{Index-BDCgilFk.js → Index-CK_5l1kP.js} +2 -2
  60. package/dist/{Index-jIIHHGh3.js → Index-CLc_11Bc.js} +489 -471
  61. package/dist/{Index-D1NwTUs-.js → Index-CTokKHJA.js} +5 -5
  62. package/dist/Index-Cf45UGbc.js +28 -0
  63. package/dist/{Index-CjfCyQlB.js → Index-CfLPq-yA.js} +5 -5
  64. package/dist/{Index-CTk6Nh-I.js → Index-Ci7y3O0G.js} +7 -7
  65. package/dist/{Index-BEpKb8IR.js → Index-CmV8oF4Q.js} +4 -4
  66. package/dist/{Index-C-CE21WK.js → Index-CoRuYEYW.js} +5 -5
  67. package/dist/{Index-S3LqU0A0.js → Index-CtKNyVUB.js} +12 -10
  68. package/dist/{Index-BiVwDgqW.js → Index-DCf6_Zd2.js} +2 -2
  69. package/dist/{Index-3bD76d9q.js → Index-DGdlZzVO.js} +7 -7
  70. package/dist/{Index-CTqdaykO.js → Index-DbKB8sTh.js} +18 -12
  71. package/dist/{Index-BNJ2KHKc.js → Index-DgBOq2MJ.js} +3 -3
  72. package/dist/{Index-BeMeWDIf.js → Index-DvNxOHHu.js} +6 -6
  73. package/dist/{Index-CvRNeJ4U.js → Index-M2Mce2_m.js} +124 -123
  74. package/dist/{Index-CDKq7Fx6.js → Index-QMkjG7hk.js} +4 -4
  75. package/dist/{Index-q04Dwxrr.js → Index-QmX5pv-V.js} +7 -7
  76. package/dist/{Index-w5DWfGOc.js → Index-h5xDFYM9.js} +4 -4
  77. package/dist/{Index-CPjAXBMU.js → Index-hkGYloih.js} +5 -5
  78. package/dist/{Index-B0n1UOOA.js → Index-q3gLm4b1.js} +6 -6
  79. package/dist/{Index-BjdxeF4C.js → Index-sqI1TF7Z.js} +2 -2
  80. package/dist/{InputToggleRow-CvHvRdsn.js → InputToggleRow-DLFIMIdx.js} +2 -2
  81. package/dist/{ManualPopover-DxE-6-Sp.js → ManualPopover-Cf8DotlW.js} +1 -1
  82. package/dist/{MediaWrapper-DNi80fbw.js → MediaWrapper-BgWmA3kS.js} +3 -3
  83. package/dist/{NotBindingText-D2rYFVxr.js → NotBindingText-DhsHxvkX.js} +2 -2
  84. package/dist/{PackageGroup-6ar8HjPo.js → PackageGroup-EbOSxv69.js} +26 -20
  85. package/dist/PdfTerms-im6uTd5E.js +31 -0
  86. package/dist/{PdfViewer-B5qbLLtd.js → PdfViewer-DY0rcZjo.js} +5 -5
  87. package/dist/{PlainHtml-CIMtcn2F.js → PlainHtml-o031pfp-.js} +1 -1
  88. package/dist/{PriceHeader-BSpj_-5M.js → PriceHeader-NdFa0Sqs.js} +15 -15
  89. package/dist/{SearchApi-Cwgf52EV.js → SearchApi-Bw5E9IPj.js} +2 -2
  90. package/dist/SendForm-BDY5VDkS.js +1023 -0
  91. package/dist/{Setup-CRmiH9lD.js → Setup-BsYqPmOm.js} +1 -1
  92. package/dist/{SmartList-D6AvxfSL.js → SmartList-CP2wHig-.js} +1 -1
  93. package/dist/{TermsSettings-DEO1O460.js → TermsSettings-CUlSayCJ.js} +17 -12
  94. package/dist/{ThemeColorRow-Cy1NKEIG.js → ThemeColorRow-D3fav4Sl.js} +4 -4
  95. package/dist/{ToggleBinding-BvIUt1Jx.js → ToggleBinding-B715OVl2.js} +12 -10
  96. package/dist/{UploadModal-C1j-GeMD.js → UploadModal-THDJ-UNp.js} +6 -6
  97. package/dist/{VideoPlayerInput-BmbrquN6.js → VideoPlayerInput-Cm3KoRnR.js} +15 -11
  98. package/dist/{VideoPlayerSettings-B7HpBoWX.js → VideoPlayerSettings-BFAjczuw.js} +3 -3
  99. package/dist/{VideoSelectModal-CeaG2tME.js → VideoSelectModal-CzO8EMg9.js} +4 -4
  100. package/dist/{answerDocumentMixin-AcDG8Byi.js → answerDocumentMixin-D12xJRhx.js} +3 -3
  101. package/dist/{debounce-HJoaSvIY.js → debounce-DLiv1sQX.js} +16 -16
  102. package/dist/{focusDrawerMixin-CBYjpEGL.js → focusDrawerMixin-khaScuSu.js} +1 -1
  103. package/dist/{formDrawerState-DYSBcjo4.js → formDrawerState-CJ6kjaD_.js} +1 -1
  104. package/dist/{formValidationMixin-Dqlhg0R2.js → formValidationMixin-Bri1WflH.js} +1 -1
  105. package/dist/{index-zzCfHTf8.js → index-B0Zu30kF.js} +2 -2
  106. package/dist/{index-CFx0cpeM.js → index-C1Ngv-v3.js} +1 -1
  107. package/dist/{index-CKZmpLr6.js → index-CMT3coT-.js} +781 -2021
  108. package/dist/{index-CLOsPxCh.js → index-DJOUQneq.js} +35 -33
  109. package/dist/{index-CFwLDxbi.js → index-DLa3QER7.js} +18 -17
  110. package/dist/{index-CFe1BJZJ.js → index-Dygy9XlG.js} +1 -1
  111. package/dist/index.es.js +10 -10
  112. package/dist/index.umd.js +177 -173
  113. package/dist/{main-BIwKzAN8.js → main-U22_wtg0.js} +13008 -11358
  114. package/dist/{mapFormMixin-e2PJ431T.js → mapFormMixin-BZf4RJIE.js} +1 -1
  115. package/dist/omit-RBXmF_Fo.js +31 -0
  116. package/dist/{publicSenderState-D-_7UwjT.js → publicSenderState-DKuvxj4_.js} +1 -1
  117. package/dist/regions-BdZt9Srn.js +1250 -0
  118. package/dist/simplebar.min-Bnrne5ZK.js +71 -0
  119. package/dist/style.css +2 -2
  120. package/dist/{throttle-B2yMLA5N.js → throttle-Fkuqk26x.js} +2 -2
  121. package/dist/{tinycolor-vIxz4Xgi.js → tinycolor-BZ8wGctU.js} +1 -1
  122. package/dist/{tippy.esm-DiOYviyf.js → tippy.esm-BJe845c1.js} +208 -206
  123. package/dist/{utils-CFXqaEy7.js → utils-BOWVR87A.js} +1 -1
  124. package/dist/{vuedraggable.umd-DDT8qZBI.js → vuedraggable.umd-CJL8TWxZ.js} +1 -1
  125. package/package.json +2 -11
  126. package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
  127. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
  128. package/dist/ClientAutocomplete-B3z6RPXr.js +0 -82
  129. package/dist/CoverBlockSettings-Bcz_W5I3.js +0 -275
  130. package/dist/Flag-3OyFDPsP.js +0 -114
  131. package/dist/Index-Cr6DlYGN.js +0 -21
  132. package/dist/PdfTerms-B-lbU_6H.js +0 -36
  133. package/dist/formComponentsInstall-DMoWrprH.js +0 -2505
  134. package/dist/omit-CpamclWf.js +0 -31
@@ -1,10 +1,12 @@
1
- import { m as C } from "./mapFormMixin-e2PJ431T.js";
2
- import { n as _, b as h } from "./main-BIwKzAN8.js";
3
- import { C as b } from "./CPhoneFormat-C017AoM0.js";
4
- const $ = {
1
+ import { m as C } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { C as b } from "./CCallout-BNvM6gNJ.js";
3
+ import { C as $, a as w } from "./CDropdownItem-DiLisSei.js";
4
+ import { n as _, b as h } from "./main-U22_wtg0.js";
5
+ import { C as k } from "./CPhoneFormat-BeYxRN0i.js";
6
+ const x = {
5
7
  name: "DocPartiesItem",
6
8
  components: {
7
- CPhoneFormat: b
9
+ CPhoneFormat: k
8
10
  },
9
11
  props: {
10
12
  label: {
@@ -25,32 +27,35 @@ const $ = {
25
27
  }
26
28
  }
27
29
  };
28
- var w = function() {
30
+ var S = function() {
29
31
  var e = this, t = e._self._c;
30
32
  return t("div", { staticClass: "client-row" }, [t("div", { staticClass: "label" }, [e._v(" " + e._s(e.label) + " ")]), t("div", { staticClass: "data", class: {
31
33
  "is-editable": e.canEdit
32
34
  } }, [t("span", { on: { click: function(a) {
33
35
  return e.$emit("click");
34
36
  } } }, [e.type === "phone" ? t("CPhoneFormat", { attrs: { phone: e.data.cellphone, region: e.data.region } }) : [e._v(e._s(e.data))]], 2)])]);
35
- }, k = [], x = /* @__PURE__ */ _(
36
- $,
37
- w,
38
- k,
37
+ }, F = [], I = /* @__PURE__ */ _(
38
+ x,
39
+ S,
40
+ F,
39
41
  !1,
40
42
  null,
41
- "9bad68ca"
43
+ "4c4b7148"
42
44
  );
43
- const S = x.exports, F = {
44
- client: () => import("./ClientModal-DLtFhJya.js"),
45
- company: () => import("./CompanyModal-Qx5xMku0.js")
46
- }, I = {
45
+ const D = I.exports, P = {
46
+ client: () => import("./ClientModal-DNcf4APF.js").then((n) => n.b),
47
+ company: () => import("./CompanyModal-Bh8mEHE1.js")
48
+ }, M = {
47
49
  i18nOptions: {
48
50
  namespaces: "components"
49
51
  },
50
52
  name: "DocParties",
51
53
  components: {
52
- DocPartiesItem: S,
53
- AddClientCallout: () => import("./AddClientCallout-8s5a1_CZ.js")
54
+ DocPartiesItem: D,
55
+ CCallout: b,
56
+ CDropdown: $,
57
+ CDropdownItem: w,
58
+ AddClientCallout: () => import("./AddClientCallout-CrZF5j7A.js")
54
59
  },
55
60
  mixins: [C()],
56
61
  props: {
@@ -73,7 +78,7 @@ const S = x.exports, F = {
73
78
  const {
74
79
  orgNo: a,
75
80
  socialNo: i,
76
- companyName: s,
81
+ companyName: o,
77
82
  name: r,
78
83
  type: d,
79
84
  cellphone: m,
@@ -82,12 +87,12 @@ const S = x.exports, F = {
82
87
  addresses: l,
83
88
  hasFSkatt: v,
84
89
  hasInsurance: f
85
- } = t, c = d === "individual", o = l && (l.standard || l.work);
86
- o && (o.formKey = l.standard ? "street" : "workStreet");
90
+ } = t, c = d === "individual", s = l && (l.standard || l.work);
91
+ s && (s.formKey = l.standard ? "street" : "workStreet");
87
92
  const g = [
88
- s && {
93
+ o && {
89
94
  label: n("company"),
90
- value: s,
95
+ value: o,
91
96
  formKey: "name"
92
97
  },
93
98
  a && {
@@ -119,10 +124,10 @@ const S = x.exports, F = {
119
124
  },
120
125
  formKey: "cellphone"
121
126
  },
122
- o && {
127
+ s && {
123
128
  label: n("address"),
124
- value: this.parseStreet(o.street, o.city, o.zip),
125
- formKey: o.formKey
129
+ value: this.parseStreet(s.street, s.city, s.zip),
130
+ formKey: s.formKey
126
131
  }
127
132
  ], p = [];
128
133
  return v && p.push({
@@ -145,7 +150,7 @@ const S = x.exports, F = {
145
150
  openModal({ formKey: n, index: e } = {}) {
146
151
  var i;
147
152
  let t = "name", a = !1;
148
- n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (a = !0)), this.$modal.show(F[this.type], {
153
+ n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (a = !0)), this.$modal.show(P[this.type], {
149
154
  inputFocusOnMount: t,
150
155
  forceExpand: a,
151
156
  documentClientIndex: e,
@@ -178,7 +183,7 @@ const S = x.exports, F = {
178
183
  }
179
184
  }
180
185
  };
181
- var P = function() {
186
+ var z = function() {
182
187
  var e = this, t = e._self._c;
183
188
  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" }, scopedSlots: e._u([{ key: "trigger", fn: function() {
184
189
  return [t("CButton", { attrs: { type: "none", size: "small", pattern: "secondary", "icon-right": "chevron-down" } }, [e._v(" " + e._s(e.$t("_common:more").capitalize()) + " ")])];
@@ -189,37 +194,37 @@ var P = function() {
189
194
  } } }, [e._v(" " + e._s(e.$t("components:account.documentForm.clients.add.extra")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), e._l(e.parties, function(a, i) {
190
195
  return t("CDropdownItem", { key: i, attrs: { "icon-props": {
191
196
  class: "text-gray-400"
192
- }, "icon-left": "edit" }, on: { click: function(s) {
197
+ }, "icon-left": "edit" }, on: { click: function(o) {
193
198
  return e.openModal({ index: i });
194
199
  } } }, [e._v(" " + e._s(a.type === "individual" ? a.name : a.companyName || a.name) + " ")]);
195
200
  })], 2) : e._e()], 1) : e._e(), e.viewSettings.canEdit ? [e.type === "client" && !(e.parties && e.parties.length) ? t("AddClientCallout", { on: { add: function(a) {
196
201
  return e.openModal({ index: e.parties.length });
197
202
  }, 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) {
198
- return t("div", { key: i, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(s) {
203
+ return t("div", { key: i, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(o) {
199
204
  e.hoverIndex = i;
200
- }, "&mouseleave": function(s) {
205
+ }, "&mouseleave": function(o) {
201
206
  e.hoverIndex = null;
202
- } } }, [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(s) {
207
+ } } }, [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) {
203
208
  return e.openModal({ index: i });
204
- } } }), t("CButton", { attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "tertiary" }, on: { click: function(s) {
209
+ } } }), t("CButton", { attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "tertiary" }, on: { click: function(o) {
205
210
  return e.removeClient(i);
206
- } } })], 1) : e._e(), e._l(a.main, function(s, r) {
207
- return [s ? t("DocPartiesItem", { key: r, attrs: { label: s.label, data: s.value, type: s.type, "can-edit": e.viewSettings.canEdit }, on: { click: function(d) {
208
- e.viewSettings.canEdit && e.openModal({ formKey: s.formKey, index: i });
211
+ } } })], 1) : e._e(), e._l(a.main, function(o, r) {
212
+ return [o ? t("DocPartiesItem", { key: r, attrs: { label: o.label, data: o.value, type: o.type, "can-edit": e.viewSettings.canEdit }, on: { click: function(d) {
213
+ e.viewSettings.canEdit && e.openModal({ formKey: o.formKey, index: i });
209
214
  } } }) : e._e()];
210
- }), a.checks && a.checks.length ? t("div", { staticStyle: { width: "100%", "padding-top": "calc(1 * var(--rem))" } }, e._l(a.checks, function(s, r) {
211
- 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(s.label))])]);
215
+ }), a.checks && a.checks.length ? t("div", { staticStyle: { width: "100%", "padding-top": "calc(1 * var(--rem))" } }, e._l(a.checks, function(o, r) {
216
+ 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))])]);
212
217
  }), 0) : e._e()], 2);
213
218
  })], 2);
214
- }, D = [], M = /* @__PURE__ */ _(
215
- I,
216
- P,
217
- D,
219
+ }, E = [], K = /* @__PURE__ */ _(
220
+ M,
221
+ z,
222
+ E,
218
223
  !1,
219
224
  null,
220
- "f631ecd9"
225
+ "ffe04187"
221
226
  );
222
- const N = M.exports;
227
+ const V = K.exports;
223
228
  export {
224
- N as default
229
+ V as default
225
230
  };
@@ -1,7 +1,7 @@
1
- import { m as t } from "./mapFormMixin-e2PJ431T.js";
2
- import { I as a } from "./InputToggleRow-CvHvRdsn.js";
3
- import { C as c } from "./CPriceInput-jktMjvwx.js";
4
- import { n as o } from "./main-BIwKzAN8.js";
1
+ import { m as t } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { I as a } from "./InputToggleRow-DLFIMIdx.js";
3
+ import { C as c } from "./CPriceInput-C2y_3PM7.js";
4
+ import { n as o } from "./main-U22_wtg0.js";
5
5
  const i = {
6
6
  i18nOptions: {
7
7
  namespaces: "ExtraWorkConstructionPricingListEdit",
@@ -65,9 +65,9 @@ var s = function() {
65
65
  u,
66
66
  !1,
67
67
  null,
68
- "3c3dbd58"
68
+ "4647f895"
69
69
  );
70
- const f = m.exports;
70
+ const k = m.exports;
71
71
  export {
72
- f as default
72
+ k as default
73
73
  };
@@ -1,7 +1,7 @@
1
- import { m as r } from "./mapFormMixin-e2PJ431T.js";
2
- import { I as n } from "./InputToggleRow-CvHvRdsn.js";
3
- import { B as s } from "./BaseDatePicker-C27CsTzy.js";
4
- import { n as l } from "./main-BIwKzAN8.js";
1
+ import { m as r } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { I as n } from "./InputToggleRow-DLFIMIdx.js";
3
+ import { B as s } from "./BaseDatePicker-DxL2l3QC.js";
4
+ import { n as l } from "./main-U22_wtg0.js";
5
5
  const c = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeStartEnd",
@@ -1,4 +1,4 @@
1
- import { F as u, R as d, T as l, n as _ } from "./main-BIwKzAN8.js";
1
+ import { u, Y as d, x as l, n as _ } from "./main-U22_wtg0.js";
2
2
  const p = /* @__PURE__ */ u({
3
3
  __name: "Index",
4
4
  props: {
@@ -33,7 +33,7 @@ var f = function() {
33
33
  m,
34
34
  !1,
35
35
  null,
36
- "5ec34827"
36
+ "566e86c8"
37
37
  );
38
38
  const C = v.exports;
39
39
  export {
@@ -1,9 +1,9 @@
1
- import { m as r } from "./mapFormMixin-e2PJ431T.js";
2
- import { n } from "./main-BIwKzAN8.js";
1
+ import { m as r } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { n } from "./main-U22_wtg0.js";
3
3
  const s = {
4
4
  name: "WorkAddressText",
5
5
  components: {
6
- Read: () => import("./Index-Cr6DlYGN.js")
6
+ Read: () => import("./Index-Cf45UGbc.js")
7
7
  },
8
8
  mixins: [r(["street", "city", "zip"])]
9
9
  };
@@ -1,13 +1,13 @@
1
- import { m as r } from "./mapFormMixin-e2PJ431T.js";
2
- import { f as l } from "./focusDrawerMixin-CBYjpEGL.js";
3
- import { d as c } from "./debounce-HJoaSvIY.js";
1
+ import { m as r } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { f as l } from "./focusDrawerMixin-khaScuSu.js";
3
+ import { d as c } from "./debounce-DLiv1sQX.js";
4
4
  import { s as m, p as u } from "./splitpanes-BHUVsCZF.js";
5
- import { n } from "./main-BIwKzAN8.js";
5
+ import { n } from "./main-U22_wtg0.js";
6
6
  const d = {
7
7
  name: "HeaderItems",
8
8
  components: {
9
- MediaWrapper: () => import("./MediaWrapper-DNi80fbw.js"),
10
- ContentWrapper: () => import("./ContentWrapper-B9NQqp2q.js"),
9
+ MediaWrapper: () => import("./MediaWrapper-BgWmA3kS.js"),
10
+ ContentWrapper: () => import("./ContentWrapper-Bs3nrJda.js"),
11
11
  Splitpanes: m,
12
12
  Pane: u
13
13
  },
@@ -67,13 +67,13 @@ var h = function() {
67
67
  _,
68
68
  !1,
69
69
  null,
70
- "683ee6d3"
70
+ "f9074e87"
71
71
  );
72
72
  const v = p.exports, f = {
73
73
  name: "HeaderBlock",
74
74
  components: {
75
- PriceHeader: () => import("./PriceHeader-BSpj_-5M.js"),
76
- HeaderSettings: () => import("./HeaderSettings-DeoSRi6O.js"),
75
+ PriceHeader: () => import("./PriceHeader-NdFa0Sqs.js"),
76
+ HeaderSettings: () => import("./HeaderSettings-CoKK5Mbt.js"),
77
77
  HeaderItems: v
78
78
  },
79
79
  mixins: [r(["header"]), l],
@@ -1,17 +1,19 @@
1
- import { w as c } from "./CDropdownItem-BSPNul90.js";
2
- import { g as a, h as m, n as d, b as l, e as u } from "./main-BIwKzAN8.js";
1
+ import { w as c } from "./CDropdownItem-DiLisSei.js";
2
+ import { g as a, h as m, n as d, b as l, e as u } from "./main-U22_wtg0.js";
3
3
  import { s as p, i as v } from "./dom-CJxkno7i.js";
4
- import { D as _ } from "./DocModalBase-B0wYq3ft.js";
5
- import { v as n } from "./index-CFx0cpeM.js";
6
- import { a as g } from "./vuex.esm-DKGl8mcw.js";
7
- import { a as h } from "./answerDocumentMixin-AcDG8Byi.js";
8
- const C = {
4
+ import { D as _ } from "./DocModalBase-DkfUBRi3.js";
5
+ import { C as g } from "./CFormField-DcZVdj3a.js";
6
+ import { v as n } from "./index-C1Ngv-v3.js";
7
+ import { a as h } from "./vuex.esm-DKGl8mcw.js";
8
+ import { a as C } from "./answerDocumentMixin-D12xJRhx.js";
9
+ const w = {
9
10
  i18nOptions: {
10
11
  namespaces: "components",
11
12
  keyPrefix: "document.propertyDesignationModal"
12
13
  },
13
14
  components: {
14
- DocModalBase: _
15
+ DocModalBase: _,
16
+ CField: g
15
17
  },
16
18
  mixins: [c],
17
19
  props: {
@@ -99,7 +101,7 @@ const C = {
99
101
  ).borderRadius;
100
102
  },
101
103
  methods: {
102
- ...g({
104
+ ...h({
103
105
  putCurrentDoc: a.PUT_CURRENT_PUBLIC_DOCUMENT,
104
106
  reloadCurrentDocument: a.RELOAD_CURRENT_DOCUMENT
105
107
  }),
@@ -125,7 +127,7 @@ const C = {
125
127
  }
126
128
  }
127
129
  };
128
- var w = function() {
130
+ var f = function() {
129
131
  var e = this, t = e._self._c;
130
132
  return t("doc-modal-base", { ref: "root", class: [{ "full-screen": e.mq === "sm" }] }, [e.fullScreen ? t("CButton", { staticClass: "absolute right-4 top-4 z-50", attrs: { icon: "x", circle: "" }, on: { click: function(s) {
131
133
  return e.$emit("close");
@@ -148,15 +150,15 @@ var w = function() {
148
150
  }, expression: "condominiumOrgNo" } })], 1) : e._e(), t("div", [t("CButton", { attrs: { type: "secondary", wide: "" }, on: { click: e.updateClientPropertyDesignation } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 1)]) : e._e(), e.view === "complete" ? t("div", { key: 3 }, [t("div", { staticClass: "flex flex-col items-center justify-center text-center" }, [t("div", { staticClass: "bg-primary-50 mb-4 flex h-12 w-12 items-center justify-center rounded-full" }, [t("CIcon", { staticClass: "text-primary-500", attrs: { type: "check" } })], 1), t("div", { staticClass: "mb-1 text-base font-semibold" }, [e._v(" " + e._s(e.$t("savedTitle")) + " ")]), t("div", { staticClass: "mb-6 text-base text-gray-700" }, [e._v(" " + e._s(e.$t("savedSubTitle", { senderName: e.senderName })) + " ")]), t("div", { staticClass: "mt-4 w-full" }, [t("CButton", { attrs: { type: "secondary", wide: "" }, on: { click: function(s) {
149
151
  return e.$emit("close");
150
152
  } } }, [e._v(" " + e._s(e.$t("_common:close")) + " ")])], 1)])]) : e._e()])], 1);
151
- }, f = [], y = /* @__PURE__ */ d(
152
- C,
153
+ }, y = [], $ = /* @__PURE__ */ d(
153
154
  w,
154
155
  f,
156
+ y,
155
157
  !1,
156
158
  null,
157
159
  null
158
160
  );
159
- const $ = y.exports, b = {
161
+ const b = $.exports, x = {
160
162
  i18nOptions: {
161
163
  namespaces: "docAnswer",
162
164
  messages: {
@@ -169,7 +171,7 @@ const $ = y.exports, b = {
169
171
  }
170
172
  },
171
173
  name: "DocumentAnswerRead",
172
- mixins: [h({ documentKey: "_document" }), c],
174
+ mixins: [C({ documentKey: "_document" }), c],
173
175
  inject: {
174
176
  isPdf: {
175
177
  default: !1
@@ -246,7 +248,7 @@ const $ = y.exports, b = {
246
248
  },
247
249
  showPropertyDesignation() {
248
250
  this.$modal.show(
249
- $,
251
+ b,
250
252
  {
251
253
  senderName: this._document.sender.user.name,
252
254
  propertyDesignation: this.propertyDesignation,
@@ -264,7 +266,7 @@ const $ = y.exports, b = {
264
266
  }
265
267
  }
266
268
  };
267
- var x = function() {
269
+ var H = function() {
268
270
  var s, o;
269
271
  var e = this, t = e._self._c;
270
272
  return e._document.answerActions.showActions && !e.isPdf ? t("div", { staticStyle: { padding: "calc(3 * var(--rem)) 0" } }, [t("div", { ref: "answerButtons", staticClass: "flex w-full justify-center" }, [t("transition", { attrs: { name: "fade", mode: "out-in" } }, [((o = (s = e._document.viewer) == null ? void 0 : s.answerMethod) == null ? void 0 : o.accept) === "inPerson" ? t("div", { key: 0, staticStyle: { "max-width": "720px", margin: "0 auto", padding: "0 calc(3 * var(--rem))" }, style: e.mq === "sm" ? { padding: "0 calc(1.5 * var(--rem))" } : null }, [e._v(" " + e._s(e._document.$t("chapters.answerButtons.inPersonSignatureHint")) + " "), t(e._document.sender.user.email ? "a" : "span", { tag: "component", attrs: { href: `mailto:${e._document.sender.user.email}` } }, [e._v(" " + e._s(e._document.sender.company.name || e._document.$t("theSender")) + " ")])], 1) : (e._document.answerActions.canAnswer || e.isPreview) && e._document.answerActions.showActions ? t("div", { key: 1, staticClass: "flex w-full justify-center" }, [e.customHtmlDeny ? t("div", { domProps: { innerHTML: e._s(e.customHtmlDeny) }, on: { click: function(r) {
@@ -278,15 +280,15 @@ var x = function() {
278
280
  } } }, [e._v(" " + e._s(e._document.$t("sign").capitalize()) + " ")])], 1) : e._document.answerActions.hasAnswered && e._document.answerActions.waitingForOthers ? t("div", { key: 2, staticClass: "text-center" }, [t("div", { staticStyle: { "font-weight": "600", "font-size": "calc(calc(1 * var(--rem)) + 2px)", "margin-bottom": "calc(0.5 * var(--rem))" } }, [e._v(" " + e._s(e._document.$t("chapters.answerButtons.youHave")) + " "), t("span", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: `${e.$formatDate(e._document.viewer.answer.didAnswerAt, "Pp")}`, expression: "\n `${$formatDate(_document.viewer.answer.didAnswerAt, 'Pp')}`\n " }], staticStyle: { "text-decoration": "underline" } }, [e._v(e._s(e._document.viewer.answer.didAccept ? e._document.$t("approved") : e._document.$t("denied")))]), e._v(" " + e._s(" " + e._document.$t("theDocument")) + ". ")]), t("div", [e._v(" " + e._s(e._document.$t("chapters.answerButtons.waitingDescription", { remaining: e._document.remainingSignatures })) + " ")])]) : e._document.status === "accepted" ? t("div", { key: 3 }, [t("div", { staticClass: "callout accepted" }, [t("div", { staticClass: "title" }, [e._v(" " + e._s(e._document.$t("chapters.answerButtons.approveTitle")) + " ")]), t("div", [e._v(" " + e._s(e._document.$t("chapters.answerButtons.approveDescription", { sender: e._document.sender.company.name || e._document.$t("theSender") })) + " ")])])]) : e._document.status === "denied" ? t("div", { key: 4, staticClass: "callout denied" }, [t("div", { staticClass: "title" }, [e._v(" " + e._s(e._document.$t("chapters.answerButtons.denyTitle")) + " ")]), t("div", [e._v(" " + e._s(e._document.$t("chapters.answerButtons.denyDescription", { sender: e._document.sender.company.name || e._document.$t("theSender") })) + " ")])]) : e._document.status === "expired" ? t("div", { key: 5, staticClass: "callout expired" }, [t("div", { staticClass: "title" }, [e._v(" " + e._s(e._document.$t("chapters.answerButtons.expiredTitle")) + " ")]), t("div", [e._v(" " + e._s(e._document.$t("chapters.answerButtons.expiredDescription", { sender: e._document.sender.company.name || e._document.$t("theSender") })) + " ")])]) : e._e()])], 1), e._document.status === "accepted" && e.allowPropertyDesignation && e._document.answerActions.hasAnswered ? t("div", { staticClass: "flex justify-center" }, [t("div", { staticClass: "answer button accept", staticStyle: { "padding-left": "calc(1.5 * var(--rem))", "padding-right": "calc(1.5 * var(--rem))" }, on: { click: function(r) {
279
281
  return e.showPropertyDesignation();
280
282
  } } }, [e._v(" " + e._s(e._document.$t(`chapters.answerButtons.${e.propertyDesignation ? "editPropDes" : "enterPropDes"}`)) + " ")])]) : e._e()]) : e._e();
281
- }, H = [], D = /* @__PURE__ */ d(
282
- b,
283
+ }, D = [], I = /* @__PURE__ */ d(
283
284
  x,
284
285
  H,
286
+ D,
285
287
  !1,
286
288
  null,
287
- "a09f8d01"
289
+ "1a7731c6"
288
290
  );
289
- const N = D.exports;
291
+ const B = I.exports;
290
292
  export {
291
- N as default
293
+ B as default
292
294
  };
@@ -1,5 +1,5 @@
1
- import { P as e } from "./PlainHtml-CIMtcn2F.js";
2
- import { n } from "./main-BIwKzAN8.js";
1
+ import { P as e } from "./PlainHtml-o031pfp-.js";
2
+ import { n } from "./main-U22_wtg0.js";
3
3
  const s = {
4
4
  name: "EstimatedWorkStartAndEndAtTextRead",
5
5
  props: {
@@ -1,10 +1,10 @@
1
- import { m as n } from "./mapFormMixin-e2PJ431T.js";
2
- import { n as t } from "./main-BIwKzAN8.js";
1
+ import { m as n } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { n as t } from "./main-U22_wtg0.js";
3
3
  const a = {
4
4
  name: "ExtraWorkConstructionPricingList",
5
5
  components: {
6
- Read: () => import("./Index-B0n1UOOA.js"),
7
- Edit: () => import("./Index-BglKAnNq.js")
6
+ Read: () => import("./Index-q3gLm4b1.js"),
7
+ Edit: () => import("./Index-BiGT3iEX.js")
8
8
  },
9
9
  mixins: [
10
10
  n([
@@ -24,7 +24,7 @@ var c = function() {
24
24
  m,
25
25
  !1,
26
26
  null,
27
- "b31d846d"
27
+ "5dbb0a73"
28
28
  );
29
29
  const _ = i.exports;
30
30
  export {
@@ -1,5 +1,5 @@
1
- import { n, w as l } from "./main-BIwKzAN8.js";
2
- const d = {
1
+ import { n, D as l } from "./main-U22_wtg0.js";
2
+ const p = {
3
3
  name: "MultiGroupPricing",
4
4
  props: {
5
5
  _document: {
@@ -9,7 +9,7 @@ const d = {
9
9
  },
10
10
  computed: {
11
11
  docPriceItems() {
12
- const { total: c, subTotal: t } = this._document.prices || {};
12
+ const { total: a, subTotal: t } = this._document.prices || {};
13
13
  return [
14
14
  {
15
15
  label: this._document.$t("price.net"),
@@ -17,14 +17,14 @@ const d = {
17
17
  },
18
18
  {
19
19
  label: this._document.$t("price.total"),
20
- value: this.priceFormat(c)
20
+ value: this.priceFormat(a)
21
21
  }
22
22
  ];
23
23
  },
24
24
  pkgGroups() {
25
25
  var t;
26
26
  return (((t = this._document.packageGroups) == null ? void 0 : t.groups) || []).map(({ title: e, prices: r, selectedPackages: i }) => {
27
- const { total: a, subTotal: s } = r || {};
27
+ const { total: c, subTotal: s } = r || {};
28
28
  return {
29
29
  title: e,
30
30
  noOfSelectedPackages: i.length,
@@ -35,7 +35,7 @@ const d = {
35
35
  },
36
36
  {
37
37
  label: this._document.$t("price.total"),
38
- value: this.priceFormat(a)
38
+ value: this.priceFormat(c)
39
39
  }
40
40
  ]
41
41
  };
@@ -43,8 +43,8 @@ const d = {
43
43
  }
44
44
  },
45
45
  methods: {
46
- priceFormat(c, t) {
47
- return l(c, {
46
+ priceFormat(a, t) {
47
+ return l(a, {
48
48
  currency: this._document.currency,
49
49
  showZero: !0,
50
50
  decimals: 2,
@@ -54,22 +54,22 @@ const d = {
54
54
  }
55
55
  }
56
56
  };
57
- var p = function() {
57
+ var d = function() {
58
58
  var t = this, e = t._self._c;
59
59
  return e("div", [t._l(t.pkgGroups, function(r, i) {
60
- return e("div", { key: i, 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: a, value: s }, o) {
61
- return e("div", { key: a + o, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "calc(1 * var(--rem))" } }, [e("div", [t._v(t._s(a))]), e("div", [t._v(t._s(s))])]);
60
+ return e("div", { key: i, 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: s }, 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(s))])]);
62
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: i }, a) {
64
- return e("div", { key: a + 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(i))])]);
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: i }, 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(i))])]);
65
65
  })], 2)], 2);
66
66
  }, m = [], u = /* @__PURE__ */ n(
67
- d,
68
67
  p,
68
+ d,
69
69
  m,
70
70
  !1,
71
71
  null,
72
- "adf5d470"
72
+ "e8731f43"
73
73
  );
74
74
  const v = u.exports;
75
75
  export {
@@ -1,5 +1,5 @@
1
- import { P as r } from "./PlainHtml-CIMtcn2F.js";
2
- import { n as o } from "./main-BIwKzAN8.js";
1
+ import { P as r } from "./PlainHtml-o031pfp-.js";
2
+ import { n as o } from "./main-U22_wtg0.js";
3
3
  const s = {
4
4
  name: "ExtraWorkTimeImpactTextRead",
5
5
  props: {