@cling-se/widget 0.9.2 → 0.9.4

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 (132) hide show
  1. package/dist/AddClientCallout-d472aa84.js +57 -0
  2. package/dist/{AnswerModal-8f918a49.js → AnswerModal-06487437.js} +7 -5
  3. package/dist/{AttachmentItem-79618446.js → AttachmentItem-d98488ee.js} +5 -7
  4. package/dist/BaseDatePicker-8c098701.js +3156 -0
  5. package/dist/{BaseInput-9f376e4e.js → BaseInput-2723d613.js} +4 -4
  6. package/dist/{BaseUpload-9a3d655d.js → BaseUpload-996d74b3.js} +27 -26
  7. package/dist/BlockMedia-00907fb6.js +72 -0
  8. package/dist/CCallout-ffa95028.js +52 -0
  9. package/dist/CDropdownItem-74672842.js +610 -0
  10. package/dist/CField-06dd50f1.js +183 -0
  11. package/dist/CField.vue_vue_type_style_index_0_lang-4ed993c7.js +1 -0
  12. package/dist/CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js +83 -0
  13. package/dist/ClientAutocomplete-f65643dd.js +80 -0
  14. package/dist/ClientModal-d276aabd.js +547 -0
  15. package/dist/ColorPicker-4f6b70af.js +2881 -0
  16. package/dist/{CompanyModal-5dfa4486.js → CompanyModal-30c54ce3.js} +12 -11
  17. package/dist/{ContentWrapper-3ac57cb2.js → ContentWrapper-d5653fef.js} +21 -14
  18. package/dist/{CoverBlockSettings-323ef519.js → CoverBlockSettings-2335f3a8.js} +7 -7
  19. package/dist/DocForm-9ca24de4.js +6772 -0
  20. package/dist/DocFormSend-d0c6fa1d.js +135 -0
  21. package/dist/{DocModalBase-4058a890.js → DocModalBase-f4915a62.js} +1 -1
  22. package/dist/{DocReceipt-390f75e3.js → DocReceipt-d192000e.js} +1 -1
  23. package/dist/{DocSendReminder-afc52d3d.js → DocSendReminder-06d5b34c.js} +1 -1
  24. package/dist/{DocTextEditor-0be1aea9.js → DocTextEditor-c6d1df3c.js} +16 -12
  25. package/dist/{DocTimeline-c421dead.js → DocTimeline-b4c20f93.js} +11 -11
  26. package/dist/DocumentClient-c2319f00.js +145 -0
  27. package/dist/{DocumentLogotype-5230c7bd.js → DocumentLogotype-1efd1ce9.js} +3 -3
  28. package/dist/{EmbedInput-8092d310.js → EmbedInput-654c0477.js} +10 -11
  29. package/dist/{EmbedSettings-bbea9894.js → EmbedSettings-b81ec734.js} +10 -11
  30. package/dist/ErrorCallout-60d0b3ab.js +30 -0
  31. package/dist/{FilePreviewModal-67088d0f.js → FilePreviewModal-895bd1bd.js} +6 -7
  32. package/dist/FormInputRow-9819eb71.js +2045 -0
  33. package/dist/{HeaderSettings-e02a5832.js → HeaderSettings-c6dac755.js} +23 -19
  34. package/dist/{ImageSelectModal-a9912356.js → ImageSelectModal-7cece54e.js} +20 -18
  35. package/dist/{ImageUploadWrapper-1310e96e.js → ImageUploadWrapper-53afd31d.js} +3 -3
  36. package/dist/{Index-f3eae2af.js → Index-01c63c88.js} +2 -2
  37. package/dist/{Index-90566113.js → Index-1a7e98d7.js} +8 -8
  38. package/dist/{Index-0ac00646.js → Index-1d361d01.js} +6 -7
  39. package/dist/{Index-9cd881f2.js → Index-2535f58f.js} +2 -2
  40. package/dist/{Index-f4bb1f71.js → Index-34c84bab.js} +8 -9
  41. package/dist/{Index-f03edd3d.js → Index-5cc51230.js} +7 -8
  42. package/dist/{Index-648a786a.js → Index-5e35f4a2.js} +3 -3
  43. package/dist/{Index-6df9883f.js → Index-60fc8a6e.js} +5 -6
  44. package/dist/{Index-de45c9c3.js → Index-61f7dc92.js} +2 -2
  45. package/dist/{Index-26f9a008.js → Index-63805642.js} +73 -118
  46. package/dist/{Index-ca8aedde.js → Index-66c8cbfa.js} +11 -12
  47. package/dist/{Index-a9ed7c39.js → Index-6ef78b7a.js} +4 -6
  48. package/dist/{Index-8a22c5cd.js → Index-701f0d05.js} +1 -1
  49. package/dist/{Index-6ee090c3.js → Index-7443e91c.js} +16 -17
  50. package/dist/{Index-1ae93acd.js → Index-82574a41.js} +6 -7
  51. package/dist/{Index-35f3bca9.js → Index-82b5de12.js} +6 -7
  52. package/dist/{Index-d02a530a.js → Index-8bca2d87.js} +8 -9
  53. package/dist/{Index-57ce8eee.js → Index-9233cc83.js} +22 -15
  54. package/dist/{Index-faeeff50.js → Index-98e8bb86.js} +21 -16
  55. package/dist/{Index-17e60907.js → Index-9aaf8b90.js} +33 -31
  56. package/dist/{Index-0d81bade.js → Index-b020a80c.js} +6 -7
  57. package/dist/{Index-28c78ddc.js → Index-b14d0f03.js} +6 -7
  58. package/dist/{Index-d3e59202.js → Index-b15cfd62.js} +10 -10
  59. package/dist/{Index-0a22673f.js → Index-c4de05aa.js} +7 -7
  60. package/dist/{Index-87497c7c.js → Index-c67218ce.js} +7 -7
  61. package/dist/{Index-2b684213.js → Index-c7e68382.js} +6 -7
  62. package/dist/{Index-e1bd4ea9.js → Index-caf5cf44.js} +54 -44
  63. package/dist/{Index-2d5fe047.js → Index-cd76b120.js} +6 -7
  64. package/dist/Index-d45a1eff.js +28 -0
  65. package/dist/{Index-876daf3e.js → Index-d8879ca9.js} +2 -2
  66. package/dist/{Index-1f966c82.js → Index-e45a0c32.js} +27 -20
  67. package/dist/{Index-d11146a6.js → Index-e749f6f1.js} +6 -6
  68. package/dist/{Index-15591118.js → Index-e80f5f9c.js} +11 -11
  69. package/dist/{Index-e30b3de9.js → Index-f935c492.js} +6 -7
  70. package/dist/{InputToggleRow-c58dde03.js → InputToggleRow-9d8a7da4.js} +1 -1
  71. package/dist/IsPremiumPreStep-3a087524.js +1919 -0
  72. package/dist/{MediaWrapper-afc29574.js → MediaWrapper-d4a4b66f.js} +4 -4
  73. package/dist/{NotBindingText-e3a49f8a.js → NotBindingText-b199006c.js} +2 -2
  74. package/dist/{PackageGroup-150a9942.js → PackageGroup-37ac99b1.js} +24 -17
  75. package/dist/{PdfTerms-fcc835f4.js → PdfTerms-8b52bb6e.js} +6 -7
  76. package/dist/{PdfViewer-b1118475.js → PdfViewer-38bd8439.js} +2 -2
  77. package/dist/{PlainHtml-47791667.js → PlainHtml-9174cbf6.js} +1 -1
  78. package/dist/PriceHeader-e357afe9.js +336 -0
  79. package/dist/SearchApi-2e286be6.js +148 -0
  80. package/dist/{TermsSettings-c97df867.js → TermsSettings-c74eec79.js} +6 -6
  81. package/dist/{ThemeColorRow-014a0526.js → ThemeColorRow-3558367b.js} +7 -6
  82. package/dist/{ToggleBinding-342beacc.js → ToggleBinding-6c9c1ac3.js} +8 -9
  83. package/dist/{UploadModal-aed5f8c9.js → UploadModal-6d0abd77.js} +21 -22
  84. package/dist/{VideoPlayerInput-7ebb49d7.js → VideoPlayerInput-77cd86aa.js} +5 -6
  85. package/dist/{VideoPlayerSettings-0a027a8e.js → VideoPlayerSettings-b7eb781c.js} +13 -14
  86. package/dist/{VideoSelectModal-5c1a8ddc.js → VideoSelectModal-d2299552.js} +10 -10
  87. package/dist/anime.es-e284c852.js +858 -0
  88. package/dist/answerDocumentMixin-66023e62.js +54 -0
  89. package/dist/color-71c20583.js +15 -0
  90. package/dist/{cssMode-b59b5164.js → cssMode-8552fc56.js} +15 -14
  91. package/dist/focusDrawerMixin-67462262.js +68 -0
  92. package/dist/formComponentsInstall-ad9c2a83.js +2491 -0
  93. package/dist/formValidationMixin-4920ab53.js +4984 -0
  94. package/dist/{freemarker2-5b426d60.js → freemarker2-7e10a65d.js} +19 -18
  95. package/dist/{handlebars-9a256dec.js → handlebars-8045bfa8.js} +18 -17
  96. package/dist/{html-4322f199.js → html-8afcb633.js} +14 -13
  97. package/dist/{htmlMode-d8a0ed16.js → htmlMode-1a2d1b48.js} +19 -18
  98. package/dist/index-3d6d7a03.js +490 -0
  99. package/dist/index-805c56e4.js +4 -0
  100. package/dist/{index-c2f8c4f3.js → index-bf93d7c2.js} +13 -12
  101. package/dist/index-c48c5eb4.js +14 -0
  102. package/dist/{index-7359c27c.js → index-f805bfce.js} +21 -15
  103. package/dist/index.es.js +3 -3
  104. package/dist/index.umd.js +713 -600
  105. package/dist/{javascript-7f9828c0.js → javascript-dad5561e.js} +11 -10
  106. package/dist/{jsonMode-e07cde60.js → jsonMode-ce09245f.js} +19 -18
  107. package/dist/{liquid-b47f65fb.js → liquid-05247459.js} +11 -10
  108. package/dist/{main-154fab72.js → main-04025a56.js} +19557 -20415
  109. package/dist/mapFormMixin-8d073f99.js +66 -0
  110. package/dist/{publicSenderState-51ca0439.js → publicSenderState-97108de1.js} +1 -1
  111. package/dist/{python-f3873309.js → python-3f3513c5.js} +11 -10
  112. package/dist/{razor-4071ec1b.js → razor-1f3e9c4e.js} +14 -13
  113. package/dist/regions-29ee6964.js +1250 -0
  114. package/dist/simplebar.min-3af55aab.js +2429 -0
  115. package/dist/style.css +4 -0
  116. package/dist/template-42a1d852.js +526 -0
  117. package/dist/throttle-a2c1f34d.js +18 -0
  118. package/dist/tinycolor-88fa380f.js +634 -0
  119. package/dist/{tsMode-71160e05.js → tsMode-4c026047.js} +15 -14
  120. package/dist/{typescript-80a61e6a.js → typescript-baf56f67.js} +11 -10
  121. package/dist/{utils-72915af5.js → utils-6670dea6.js} +5 -5
  122. package/dist/vuedraggable.umd-d7138234.js +3179 -0
  123. package/dist/{xml-021490f1.js → xml-ffc6146a.js} +11 -10
  124. package/package.json +3 -2
  125. package/stats.html +1 -1
  126. package/dist/DocForm-5ff2cbbb.js +0 -22074
  127. package/dist/DocFormSend-06ffa19c.js +0 -113
  128. package/dist/Index-2b5c1367.js +0 -29
  129. package/dist/PriceHeader-1dfa95fd.js +0 -329
  130. package/dist/formComponentsInstall-e33d6795.js +0 -11121
  131. package/dist/index-51b2742c.js +0 -11
  132. package/dist/throttle-f479e1f1.js +0 -18
@@ -1,64 +1,19 @@
1
- import { r as l, g as d, o as p, n as m } from "./main-154fab72.js";
2
- import { b as v, i as c } from "./DocForm-5ff2cbbb.js";
3
- import { w as a, v as r } from "./formComponentsInstall-e33d6795.js";
4
- import { a as h } from "./vuex.esm-4a0fff7c.js";
5
- import { D as w } from "./DocModalBase-4058a890.js";
6
- const _ = ({ documentKey: s = "document" } = {}) => ({
7
- mixins: [a],
8
- inject: {
9
- formValidation: { default: null }
10
- },
11
- methods: {
12
- isValid() {
13
- const { isFormValid: e, scrollToInvalidInput: t } = this.formValidation || this;
14
- return !e || !t || e() ? !0 : t({ offset: 120 });
15
- },
16
- isAnswerModalOpen() {
17
- const e = this.$modal.getOpenInstances();
18
- return e && e.length && e.some((t) => {
19
- var i;
20
- return ((i = t.modalAttrs) == null ? void 0 : i.name) === "AnswerModal";
21
- });
22
- },
23
- onAnswer(e = "accept", t = {}) {
24
- if (this.isAnswerModalOpen())
25
- return;
26
- const i = l(this, s);
27
- if (!i)
28
- return;
29
- const o = e === "decline" ? !0 : this.isValid();
30
- if (!i.isPreview && !o)
31
- return;
32
- const n = this.mq === "sm" ? "100%" : "auto", u = () => import("./AnswerModal-8f918a49.js");
33
- this.$modal.show(
34
- u,
35
- {
36
- mode: e,
37
- _document: i,
38
- fullScreen: n === "100%",
39
- calcHeight: !!t.calcHeight
40
- },
41
- {
42
- name: "AnswerModal",
43
- adaptive: !0,
44
- height: "auto",
45
- width: "90%",
46
- maxWidth: 420,
47
- classes: "overflow-visible",
48
- transition: "modal-soft",
49
- clickToClose: !1
50
- }
51
- );
52
- }
53
- }
54
- }), g = {
1
+ import { g as a, x as m, n as c, b as u } from "./main-04025a56.js";
2
+ import { s as p, i as d } from "./formValidationMixin-4920ab53.js";
3
+ import { w as l } from "./CDropdownItem-74672842.js";
4
+ import { a as v } from "./answerDocumentMixin-66023e62.js";
5
+ import "./index-3d6d7a03.js";
6
+ import { a as w } from "./vuex.esm-4a0fff7c.js";
7
+ import { D as h } from "./DocModalBase-f4915a62.js";
8
+ import { v as n } from "./index-805c56e4.js";
9
+ const _ = {
55
10
  i18nOptions: {
56
11
  namespaces: "components",
57
12
  keyPrefix: "document.propertyDesignationModal"
58
13
  },
59
- mixins: [a],
14
+ mixins: [l],
60
15
  components: {
61
- DocModalBase: w
16
+ DocModalBase: h
62
17
  },
63
18
  props: {
64
19
  senderName: {
@@ -100,53 +55,53 @@ const _ = ({ documentKey: s = "document" } = {}) => ({
100
55
  },
101
56
  validations: {
102
57
  condominiumId: {
103
- required: r.requiredIf((s) => s.form === "condominium"),
104
- minLength: r.minLength(4),
105
- maxLength: r.maxLength(4)
58
+ required: n.requiredIf((i) => i.form === "condominium"),
59
+ minLength: n.minLength(4),
60
+ maxLength: n.maxLength(4)
106
61
  },
107
62
  condominiumOrgNo: {
108
- required: r.requiredIf((s) => s.form === "condominium")
63
+ required: n.requiredIf((i) => i.form === "condominium")
109
64
  },
110
65
  realEstateId: {
111
- required: r.requiredIf((s) => s.form === "realEstate")
66
+ required: n.requiredIf((i) => i.form === "realEstate")
112
67
  }
113
68
  },
114
69
  computed: {
115
70
  messages() {
116
- const s = (e) => this.$t(`validations.${e}`);
71
+ const i = (e) => this.$t(`validations.${e}`);
117
72
  return {
118
73
  condominiumId: {
119
- required: s("condominiumId.required"),
120
- minLength: s("condominiumId.minLength"),
121
- maxLength: s("condominiumId.maxLength")
74
+ required: i("condominiumId.required"),
75
+ minLength: i("condominiumId.minLength"),
76
+ maxLength: i("condominiumId.maxLength")
122
77
  },
123
78
  condominiumOrgNo: {
124
- required: s("condominiumOrgNo.required")
79
+ required: i("condominiumOrgNo.required")
125
80
  },
126
81
  realEstateId: {
127
- required: s("realEstateId.required")
82
+ required: i("realEstateId.required")
128
83
  }
129
84
  };
130
85
  }
131
86
  },
132
87
  created() {
133
88
  if (this.propertyDesignation) {
134
- const { propertyType: s = "", propertyId: e = "", condominiumOrgNo: t = null } = this.propertyDesignation;
135
- this.form = s, s === "realEstate" ? this.realEstateId = e : this.condominiumId = e, this.condominiumOrgNo = t;
89
+ const { propertyType: i = "", propertyId: e = "", condominiumOrgNo: t = null } = this.propertyDesignation;
90
+ this.form = i, i === "realEstate" ? this.realEstateId = e : this.condominiumId = e, this.condominiumOrgNo = t;
136
91
  }
137
92
  },
138
93
  mounted() {
139
94
  this.spacing = window.getComputedStyle(this.$refs.root.$el).paddingTop, this.cornerRadius = window.getComputedStyle(this.$refs.root.$el).borderRadius;
140
95
  },
141
96
  methods: {
142
- ...h({
143
- putCurrentDoc: d.PUT_CURRENT_PUBLIC_DOCUMENT,
144
- reloadCurrentDocument: d.RELOAD_CURRENT_DOCUMENT
97
+ ...w({
98
+ putCurrentDoc: a.PUT_CURRENT_PUBLIC_DOCUMENT,
99
+ reloadCurrentDocument: a.RELOAD_CURRENT_DOCUMENT
145
100
  }),
146
101
  async updateClientPropertyDesignation() {
147
102
  if (this.$v.$touch(), this.$v.$invalid)
148
103
  return;
149
- const s = {
104
+ const i = {
150
105
  propertyType: this.form,
151
106
  propertyId: this.form === "realEstate" ? this.realEstateId : this.condominiumId,
152
107
  ...this.form === "condominium" && { condominiumOrgNo: this.condominiumOrgNo }
@@ -155,50 +110,50 @@ const _ = ({ documentKey: s = "document" } = {}) => ({
155
110
  const e = "clients[0].region.propertyDesignation";
156
111
  await this.putCurrentDoc({
157
112
  body: {
158
- [e]: s
113
+ [e]: i
159
114
  }
160
115
  }), this.reloadCurrentDocument(), this.view = "complete";
161
116
  } catch (e) {
162
- p(e);
117
+ m(e);
163
118
  }
164
119
  }
165
120
  }
166
121
  };
167
- var f = function() {
122
+ var g = function() {
168
123
  var e = this, t = e._self._c;
169
- return t("doc-modal-base", { ref: "root", class: [{ "full-screen": e.mq === "sm" }] }, [e.fullScreen ? t("CButton", { staticClass: "absolute z-50 top-4 right-4", attrs: { icon: "x", circle: "" }, on: { click: function(i) {
124
+ return t("doc-modal-base", { ref: "root", class: [{ "full-screen": e.mq === "sm" }] }, [e.fullScreen ? t("CButton", { staticClass: "absolute z-50 top-4 right-4", attrs: { icon: "x", circle: "" }, on: { click: function(s) {
170
125
  return e.$emit("close");
171
126
  } } }) : e._e(), t("div", [e.view !== "complete" ? t("div", { staticClass: "relative pb-8 mb-8 text-center border-b border-gray-100 negate-padding bg-gray-50", style: {
172
127
  paddingTop: e.spacing,
173
128
  marginTop: `-${e.spacing}`,
174
129
  borderRadius: `${e.cornerRadius} ${e.cornerRadius} 0 0`
175
- } }, [e.view === "start" ? t("div", { key: 1 }, [t("div", { staticClass: "mb-2 text-lg font-semibold" }, [e._v(e._s(e.$t("title")))]), t("div", { staticClass: "text-gray-700" }, [e._v(" " + e._s(e.$t("subTitle", { senderName: e.senderName })) + " ")])]) : e._e(), e.view === "form" ? t("div", { key: 2 }, [t("CButton", { staticClass: "absolute top-4 left-4", attrs: { circle: "", icon: "arrow-left" }, on: { click: function(i) {
130
+ } }, [e.view === "start" ? t("div", { key: 1 }, [t("div", { staticClass: "mb-2 text-lg font-semibold" }, [e._v(e._s(e.$t("title")))]), t("div", { staticClass: "text-gray-700" }, [e._v(" " + e._s(e.$t("subTitle", { senderName: e.senderName })) + " ")])]) : e._e(), e.view === "form" ? t("div", { key: 2 }, [t("CButton", { staticClass: "absolute top-4 left-4", attrs: { circle: "", icon: "arrow-left" }, on: { click: function(s) {
176
131
  e.view = "start";
177
- } } }), t("div", { staticClass: "mb-2 text-lg font-semibold" }, [e._v(e._s(e.$t("howToFind")))]), t("div", { staticClass: "text-gray-700" }, [e._v(" " + e._s(e.$t("goto1")) + " "), t("a", { staticStyle: { "text-decoration": "underline" }, attrs: { href: "https://www.lantmateriet.se/", target: "_blank", rel: "noopener" } }, [e._v(" " + e._s(e.$t("goto2")) + " ")]), e._v(" " + e._s(e.$t("goto3")) + " ")])], 1) : e._e()]) : e._e(), e.view === "start" ? t("div", { key: 1, staticClass: "mb-12 text-center" }, [t("div", { staticClass: "mb-4 text-base font-medium" }, [e._v(e._s(e.$t("whereTitle")))]), t("div", { staticClass: "flex justify-center" }, [t("div", { staticClass: "mx-4" }, [t("div", { staticClass: "flex items-center justify-center w-24 h-24 mb-2 border border-gray-300 cursor-pointer bg-gray-50 rounded-xl hover:bg-gray-100 active:bg-gray-200", on: { click: function(i) {
132
+ } } }), t("div", { staticClass: "mb-2 text-lg font-semibold" }, [e._v(e._s(e.$t("howToFind")))]), t("div", { staticClass: "text-gray-700" }, [e._v(" " + e._s(e.$t("goto1")) + " "), t("a", { staticStyle: { "text-decoration": "underline" }, attrs: { href: "https://www.lantmateriet.se/", target: "_blank", rel: "noopener" } }, [e._v(" " + e._s(e.$t("goto2")) + " ")]), e._v(" " + e._s(e.$t("goto3")) + " ")])], 1) : e._e()]) : e._e(), e.view === "start" ? t("div", { key: 1, staticClass: "mb-12 text-center" }, [t("div", { staticClass: "mb-4 text-base font-medium" }, [e._v(e._s(e.$t("whereTitle")))]), t("div", { staticClass: "flex justify-center" }, [t("div", { staticClass: "mx-4" }, [t("div", { staticClass: "flex items-center justify-center w-24 h-24 mb-2 border border-gray-300 cursor-pointer bg-gray-50 rounded-xl hover:bg-gray-100 active:bg-gray-200", on: { click: function(s) {
178
133
  e.view = "form", e.form = "realEstate";
179
- } } }, [t("svg", { staticClass: "text-gray-400", attrs: { width: "59", height: "41", viewBox: "0 0 59 59", xmlns: "http://www.w3.org/2000/svg" } }, [t("g", { attrs: { fill: "currentColor", "fill-rule": "evenodd" } }, [t("path", { attrs: { d: "M6 28h47v29H6V28zm6 7.998101V40.0019C12 41.113294 12.89458 42 13.998101 42H18.0019C19.113294 42 20 41.10542 20 40.001899V35.9981C20 34.886706 19.10542 34 18.001899 34H13.9981C12.886706 34 12 34.89458 12 35.998101zm22-.007306V54h11V35.990795C45 34.898212 44.108144 34 43.007983 34h-7.015966C34.900177 34 34 34.89131 34 35.990795zM27.189354 1.837583C28.46549.536998 30.53366.53613 31.813677 1.840673L56.5 27h-54l9.85551-10.044348V7.141778h6.733007v2.95186l8.100837-8.256055zM25.5 15.861211v4.003797c0 1.111395.89458 1.998102 1.998101 1.998102H31.5019c1.111395 0 1.998101-.89458 1.998101-1.998102v-4.003797c0-1.111395-.89458-1.998101-1.998101-1.998101H27.4981c-1.111395 0-1.998101.89458-1.998101 1.998101z" } }), t("path", { attrs: { d: "M0 56.004882C0 54.897616.90314 54 1.996843 54h55.006314C58.105983 54 59 54.8939 59 56.004882V59H0v-2.995118z" } })])])]), t("div", { staticClass: "text-sm leading-tight text-gray-700" }, [e._v(e._s(e.$t("house"))), t("br"), e._v("/ " + e._s(e.$t("realEstate")))])]), t("div", { staticClass: "mx-4" }, [t("div", { staticClass: "flex items-center justify-center w-24 h-24 mb-2 border border-gray-300 cursor-pointer bg-gray-50 rounded-xl hover:bg-gray-100 active:bg-gray-200", on: { click: function(i) {
134
+ } } }, [t("svg", { staticClass: "text-gray-400", attrs: { width: "59", height: "41", viewBox: "0 0 59 59", xmlns: "http://www.w3.org/2000/svg" } }, [t("g", { attrs: { fill: "currentColor", "fill-rule": "evenodd" } }, [t("path", { attrs: { d: "M6 28h47v29H6V28zm6 7.998101V40.0019C12 41.113294 12.89458 42 13.998101 42H18.0019C19.113294 42 20 41.10542 20 40.001899V35.9981C20 34.886706 19.10542 34 18.001899 34H13.9981C12.886706 34 12 34.89458 12 35.998101zm22-.007306V54h11V35.990795C45 34.898212 44.108144 34 43.007983 34h-7.015966C34.900177 34 34 34.89131 34 35.990795zM27.189354 1.837583C28.46549.536998 30.53366.53613 31.813677 1.840673L56.5 27h-54l9.85551-10.044348V7.141778h6.733007v2.95186l8.100837-8.256055zM25.5 15.861211v4.003797c0 1.111395.89458 1.998102 1.998101 1.998102H31.5019c1.111395 0 1.998101-.89458 1.998101-1.998102v-4.003797c0-1.111395-.89458-1.998101-1.998101-1.998101H27.4981c-1.111395 0-1.998101.89458-1.998101 1.998101z" } }), t("path", { attrs: { d: "M0 56.004882C0 54.897616.90314 54 1.996843 54h55.006314C58.105983 54 59 54.8939 59 56.004882V59H0v-2.995118z" } })])])]), t("div", { staticClass: "text-sm leading-tight text-gray-700" }, [e._v(e._s(e.$t("house"))), t("br"), e._v("/ " + e._s(e.$t("realEstate")))])]), t("div", { staticClass: "mx-4" }, [t("div", { staticClass: "flex items-center justify-center w-24 h-24 mb-2 border border-gray-300 cursor-pointer bg-gray-50 rounded-xl hover:bg-gray-100 active:bg-gray-200", on: { click: function(s) {
180
135
  e.view = "form", e.form = "condominium";
181
- } } }, [t("svg", { staticClass: "text-gray-400", attrs: { width: "59", height: "50", viewBox: "0 0 59 73", xmlns: "http://www.w3.org/2000/svg" } }, [t("g", { attrs: { fill: "currentColor", "fill-rule": "evenodd" } }, [t("path", { attrs: { d: "M6 9.004723C6 7.34526 7.343394 6 8.993614 6h41.012771C51.659714 6 53 7.342697 53 9.004723V71H6V9.004723zm5 4.993378V18.0019C11 19.113294 11.89458 20 12.998101 20H17.0019C18.113294 20 19 19.10542 19 18.001899V13.9981C19 12.886706 18.10542 12 17.001899 12H12.9981C11.886706 12 11 12.89458 11 13.998101zm14.5 0V18.0019C25.5 19.113294 26.39458 20 27.498101 20H31.5019C32.613294 20 33.5 19.10542 33.5 18.001899V13.9981C33.5 12.886706 32.60542 12 31.501899 12H27.4981C26.386706 12 25.5 12.89458 25.5 13.998101zm14.5 0V18.0019C40 19.113294 40.89458 20 41.998101 20H46.0019C47.113294 20 48 19.10542 48 18.001899V13.9981C48 12.886706 47.10542 12 46.001899 12H41.9981C40.886706 12 40 12.89458 40 13.998101zm-29 12V30.0019C11 31.113294 11.89458 32 12.998101 32H17.0019C18.113294 32 19 31.10542 19 30.001899V25.9981C19 24.886706 18.10542 24 17.001899 24H12.9981C11.886706 24 11 24.89458 11 25.998101zm14.5 0V30.0019C25.5 31.113294 26.39458 32 27.498101 32H31.5019C32.613294 32 33.5 31.10542 33.5 30.001899V25.9981C33.5 24.886706 32.60542 24 31.501899 24H27.4981C26.386706 24 25.5 24.89458 25.5 25.998101zm14.5 0V30.0019C40 31.113294 40.89458 32 41.998101 32H46.0019C47.113294 32 48 31.10542 48 30.001899V25.9981C48 24.886706 47.10542 24 46.001899 24H41.9981C40.886706 24 40 24.89458 40 25.998101zm-29 12V42.0019C11 43.113294 11.89458 44 12.998101 44H17.0019C18.113294 44 19 43.10542 19 42.001899V37.9981C19 36.886706 18.10542 36 17.001899 36H12.9981C11.886706 36 11 36.89458 11 37.998101zm14.5 0V42.0019C25.5 43.113294 26.39458 44 27.498101 44H31.5019C32.613294 44 33.5 43.10542 33.5 42.001899V37.9981C33.5 36.886706 32.60542 36 31.501899 36H27.4981C26.386706 36 25.5 36.89458 25.5 37.998101zm14.5 0V42.0019C40 43.113294 40.89458 44 41.998101 44H46.0019C47.113294 44 48 43.10542 48 42.001899V37.9981C48 36.886706 47.10542 36 46.001899 36H41.9981C40.886706 36 40 36.89458 40 37.998101zm-29 12V54.0019C11 55.113294 11.89458 56 12.998101 56H17.0019C18.113294 56 19 55.10542 19 54.001899V49.9981C19 48.886706 18.10542 48 17.001899 48H12.9981C11.886706 48 11 48.89458 11 49.998101zm14.5 0V54.0019C25.5 55.113294 26.39458 56 27.498101 56H31.5019C32.613294 56 33.5 55.10542 33.5 54.001899V49.9981C33.5 48.886706 32.60542 48 31.501899 48H27.4981C26.386706 48 25.5 48.89458 25.5 49.998101zM21 60.997391V68h17v-7.002608C38 59.895858 37.104522 59 35.999894 59H23.000106C21.890058 59 21 59.894263 21 60.997392zm19-10.99929V54.0019C40 55.113294 40.89458 56 41.998101 56H46.0019C47.113294 56 48 55.10542 48 54.001899V49.9981C48 48.886706 47.10542 48 46.001899 48H41.9981C40.886706 48 40 48.89458 40 49.998101zM10 2.5C10 1.119288 11.125134 0 12.498953 0h34.002094C47.88118 0 49 1.109662 49 2.5V5H10V2.5z" } }), t("path", { attrs: { d: "M0 70.004881C0 68.897616.90314 68 1.996843 68h55.006314C58.105983 68 59 68.8939 59 70.004881V73H0v-2.995119z" } })])])]), t("div", { staticClass: "text-sm leading-tight text-gray-700" }, [e._v(e._s(e.$t("condominium"))), t("br"), e._v("/ " + e._s(e.$t("apartment")))])])])]) : e._e(), e.view === "form" ? t("div", { key: 2 }, [t("div", [e.form === "realEstate" ? t("CField", { attrs: { vuelidate: e.$v.realEstateId, "vuelidate-messages": e.messages.realEstateId, label: e.$t("propertyDesignation") } }, [t("CInput", { attrs: { placeholder: e.$t("propertyDesignationPlaceholder"), autofocus: "" }, model: { value: e.realEstateId, callback: function(i) {
182
- e.realEstateId = i;
183
- }, expression: "realEstateId" } })], 1) : e._e(), e.form === "condominium" ? t("CField", { attrs: { vuelidate: e.$v.condominiumId, "vuelidate-messages": e.messages.condominiumId, label: e.$t("condominiumId") } }, [t("CInput", { attrs: { placeholder: e.$t("condominiumIdPlaceholder"), autofocus: "", type: "number" }, model: { value: e.condominiumId, callback: function(i) {
184
- e.condominiumId = i;
185
- }, expression: "condominiumId" } })], 1) : e._e(), e.form === "condominium" ? t("CField", { attrs: { vuelidate: e.$v.condominiumOrgNo, "vuelidate-messages": e.messages.condominiumOrgNo, label: e.$t("condominiumOrgNo") } }, [t("CInput", { attrs: { placeholder: e.$t("condominiumOrgNoPlaceholder"), type: "number" }, model: { value: e.condominiumOrgNo, callback: function(i) {
186
- e.condominiumOrgNo = i;
187
- }, expression: "condominiumOrgNo" } })], 1) : e._e(), t("div", { staticClass: "mt-8" }, [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: "flex items-center justify-center w-12 h-12 mb-4 rounded-full bg-primary-50" }, [t("BaseIcon", { 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: "w-full mt-4" }, [t("CButton", { attrs: { type: "secondary", wide: "" }, on: { click: function(i) {
136
+ } } }, [t("svg", { staticClass: "text-gray-400", attrs: { width: "59", height: "50", viewBox: "0 0 59 73", xmlns: "http://www.w3.org/2000/svg" } }, [t("g", { attrs: { fill: "currentColor", "fill-rule": "evenodd" } }, [t("path", { attrs: { d: "M6 9.004723C6 7.34526 7.343394 6 8.993614 6h41.012771C51.659714 6 53 7.342697 53 9.004723V71H6V9.004723zm5 4.993378V18.0019C11 19.113294 11.89458 20 12.998101 20H17.0019C18.113294 20 19 19.10542 19 18.001899V13.9981C19 12.886706 18.10542 12 17.001899 12H12.9981C11.886706 12 11 12.89458 11 13.998101zm14.5 0V18.0019C25.5 19.113294 26.39458 20 27.498101 20H31.5019C32.613294 20 33.5 19.10542 33.5 18.001899V13.9981C33.5 12.886706 32.60542 12 31.501899 12H27.4981C26.386706 12 25.5 12.89458 25.5 13.998101zm14.5 0V18.0019C40 19.113294 40.89458 20 41.998101 20H46.0019C47.113294 20 48 19.10542 48 18.001899V13.9981C48 12.886706 47.10542 12 46.001899 12H41.9981C40.886706 12 40 12.89458 40 13.998101zm-29 12V30.0019C11 31.113294 11.89458 32 12.998101 32H17.0019C18.113294 32 19 31.10542 19 30.001899V25.9981C19 24.886706 18.10542 24 17.001899 24H12.9981C11.886706 24 11 24.89458 11 25.998101zm14.5 0V30.0019C25.5 31.113294 26.39458 32 27.498101 32H31.5019C32.613294 32 33.5 31.10542 33.5 30.001899V25.9981C33.5 24.886706 32.60542 24 31.501899 24H27.4981C26.386706 24 25.5 24.89458 25.5 25.998101zm14.5 0V30.0019C40 31.113294 40.89458 32 41.998101 32H46.0019C47.113294 32 48 31.10542 48 30.001899V25.9981C48 24.886706 47.10542 24 46.001899 24H41.9981C40.886706 24 40 24.89458 40 25.998101zm-29 12V42.0019C11 43.113294 11.89458 44 12.998101 44H17.0019C18.113294 44 19 43.10542 19 42.001899V37.9981C19 36.886706 18.10542 36 17.001899 36H12.9981C11.886706 36 11 36.89458 11 37.998101zm14.5 0V42.0019C25.5 43.113294 26.39458 44 27.498101 44H31.5019C32.613294 44 33.5 43.10542 33.5 42.001899V37.9981C33.5 36.886706 32.60542 36 31.501899 36H27.4981C26.386706 36 25.5 36.89458 25.5 37.998101zm14.5 0V42.0019C40 43.113294 40.89458 44 41.998101 44H46.0019C47.113294 44 48 43.10542 48 42.001899V37.9981C48 36.886706 47.10542 36 46.001899 36H41.9981C40.886706 36 40 36.89458 40 37.998101zm-29 12V54.0019C11 55.113294 11.89458 56 12.998101 56H17.0019C18.113294 56 19 55.10542 19 54.001899V49.9981C19 48.886706 18.10542 48 17.001899 48H12.9981C11.886706 48 11 48.89458 11 49.998101zm14.5 0V54.0019C25.5 55.113294 26.39458 56 27.498101 56H31.5019C32.613294 56 33.5 55.10542 33.5 54.001899V49.9981C33.5 48.886706 32.60542 48 31.501899 48H27.4981C26.386706 48 25.5 48.89458 25.5 49.998101zM21 60.997391V68h17v-7.002608C38 59.895858 37.104522 59 35.999894 59H23.000106C21.890058 59 21 59.894263 21 60.997392zm19-10.99929V54.0019C40 55.113294 40.89458 56 41.998101 56H46.0019C47.113294 56 48 55.10542 48 54.001899V49.9981C48 48.886706 47.10542 48 46.001899 48H41.9981C40.886706 48 40 48.89458 40 49.998101zM10 2.5C10 1.119288 11.125134 0 12.498953 0h34.002094C47.88118 0 49 1.109662 49 2.5V5H10V2.5z" } }), t("path", { attrs: { d: "M0 70.004881C0 68.897616.90314 68 1.996843 68h55.006314C58.105983 68 59 68.8939 59 70.004881V73H0v-2.995119z" } })])])]), t("div", { staticClass: "text-sm leading-tight text-gray-700" }, [e._v(e._s(e.$t("condominium"))), t("br"), e._v("/ " + e._s(e.$t("apartment")))])])])]) : e._e(), e.view === "form" ? t("div", { key: 2 }, [t("div", [e.form === "realEstate" ? t("CField", { attrs: { vuelidate: e.$v.realEstateId, "vuelidate-messages": e.messages.realEstateId, label: e.$t("propertyDesignation") } }, [t("CInput", { attrs: { placeholder: e.$t("propertyDesignationPlaceholder"), autofocus: "" }, model: { value: e.realEstateId, callback: function(s) {
137
+ e.realEstateId = s;
138
+ }, expression: "realEstateId" } })], 1) : e._e(), e.form === "condominium" ? t("CField", { attrs: { vuelidate: e.$v.condominiumId, "vuelidate-messages": e.messages.condominiumId, label: e.$t("condominiumId") } }, [t("CInput", { attrs: { placeholder: e.$t("condominiumIdPlaceholder"), autofocus: "", type: "number" }, model: { value: e.condominiumId, callback: function(s) {
139
+ e.condominiumId = s;
140
+ }, expression: "condominiumId" } })], 1) : e._e(), e.form === "condominium" ? t("CField", { attrs: { vuelidate: e.$v.condominiumOrgNo, "vuelidate-messages": e.messages.condominiumOrgNo, label: e.$t("condominiumOrgNo") } }, [t("CInput", { attrs: { placeholder: e.$t("condominiumOrgNoPlaceholder"), type: "number" }, model: { value: e.condominiumOrgNo, callback: function(s) {
141
+ e.condominiumOrgNo = s;
142
+ }, expression: "condominiumOrgNo" } })], 1) : e._e(), t("div", { staticClass: "mt-8" }, [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: "flex items-center justify-center w-12 h-12 mb-4 rounded-full bg-primary-50" }, [t("BaseIcon", { 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: "w-full mt-4" }, [t("CButton", { attrs: { type: "secondary", wide: "" }, on: { click: function(s) {
188
143
  return e.$emit("close");
189
144
  } } }, [e._v(e._s(e.$t("_common:close")))])], 1)])]) : e._e()])], 1);
190
- }, C = [], y = /* @__PURE__ */ m(
145
+ }, f = [], C = /* @__PURE__ */ c(
146
+ _,
191
147
  g,
192
148
  f,
193
- C,
194
149
  !1,
195
150
  null,
196
151
  null,
197
152
  null,
198
153
  null
199
154
  );
200
- const $ = y.exports;
201
- const x = {
155
+ const y = C.exports;
156
+ const $ = {
202
157
  i18nOptions: {
203
158
  namespaces: "docAnswer",
204
159
  messages: {
@@ -212,8 +167,8 @@ const x = {
212
167
  },
213
168
  name: "DocumentAnswerRead",
214
169
  mixins: [
215
- _({ documentKey: "_document" }),
216
- a
170
+ v({ documentKey: "_document" }),
171
+ l
217
172
  ],
218
173
  inject: {
219
174
  isPdf: {
@@ -237,13 +192,13 @@ const x = {
237
192
  data() {
238
193
  return {
239
194
  showFixedAnswer: !1,
240
- scrollToElement: v
195
+ scrollToElement: p
241
196
  };
242
197
  },
243
198
  computed: {
244
199
  viewerId() {
245
- var s;
246
- return ((s = this._document._doc) == null ? void 0 : s.viewerId) || null;
200
+ var i;
201
+ return ((i = this._document._doc) == null ? void 0 : i.viewerId) || null;
247
202
  },
248
203
  isPreview() {
249
204
  return this._document.isPreview;
@@ -252,25 +207,25 @@ const x = {
252
207
  if (this.hideFixedAnswer)
253
208
  return !1;
254
209
  const {
255
- canAnswer: s,
210
+ canAnswer: i,
256
211
  hasAnswered: e,
257
212
  showActions: t,
258
- waitingForOthers: i
213
+ waitingForOthers: s
259
214
  } = this._document.answerActions;
260
- return this.showFixedAnswer && t && (this.isPreview && !i || s && !e);
215
+ return this.showFixedAnswer && t && (this.isPreview && !s || i && !e);
261
216
  },
262
217
  modalHeight() {
263
218
  return this.mq === "sm" ? "100%" : "auto";
264
219
  },
265
220
  allowPropertyDesignation() {
266
- const { prices: s } = this._document;
267
- if (!s || !s.region)
221
+ const { prices: i } = this._document;
222
+ if (!i || !i.region)
268
223
  return !1;
269
- const { houseWorkType: e } = s.region;
224
+ const { houseWorkType: e } = i.region;
270
225
  return ["rot", "greenRot15", "greenRot20", "greenRot50"].includes(e);
271
226
  },
272
227
  propertyDesignation() {
273
- return l(this._document, "clients[0].region.propertyDesignation", null);
228
+ return u(this._document, "clients[0].region.propertyDesignation", null);
274
229
  }
275
230
  },
276
231
  mounted() {
@@ -285,18 +240,18 @@ const x = {
285
240
  watch: {
286
241
  $route: {
287
242
  immediate: !0,
288
- handler(s) {
289
- s != null && s.hash && this.onAnswer("accept", { calcHeight: !0 });
243
+ handler(i) {
244
+ i != null && i.hash && this.onAnswer("accept", { calcHeight: !0 });
290
245
  }
291
246
  }
292
247
  },
293
248
  methods: {
294
249
  scrollHandler() {
295
- !this.showFixedRef || !this.$refs.answerButtons || (this.showFixedAnswer = !c(this.showFixedRef.$el) && !c(this.$refs.answerButtons));
250
+ !this.showFixedRef || !this.$refs.answerButtons || (this.showFixedAnswer = !d(this.showFixedRef.$el) && !d(this.$refs.answerButtons));
296
251
  },
297
252
  showPropertyDesignation() {
298
253
  this.$modal.show(
299
- $,
254
+ y,
300
255
  {
301
256
  senderName: this._document.sender.user.name,
302
257
  propertyDesignation: this.propertyDesignation,
@@ -314,31 +269,31 @@ const x = {
314
269
  }
315
270
  }
316
271
  };
317
- var b = function() {
318
- var i, o;
272
+ var x = function() {
273
+ var s, o;
319
274
  var e = this, t = e._self._c;
320
- return e._document.answerActions.showActions && !e.isPdf ? t("div", { staticStyle: { padding: "3rem 0" } }, [t("div", { ref: "answerButtons", staticClass: "flex justify-center w-full" }, [t("transition", { attrs: { name: "fade", mode: "out-in" } }, [((o = (i = e._document.viewer) == null ? void 0 : i.answerMethod) == null ? void 0 : o.accept) === "inPerson" ? t("div", { key: 0, staticStyle: { "max-width": "720px", margin: "0 auto", padding: "0 3rem" }, style: e.mq === "sm" ? { padding: "0 1.5rem" } : 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 justify-center w-full" }, [t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.isPreview && e.$t("previewTooltip"), expression: "isPreview && $t('previewTooltip')" }], staticClass: "has-text-grey", attrs: { size: "medium" }, on: { click: function(n) {
275
+ return e._document.answerActions.showActions && !e.isPdf ? t("div", { staticStyle: { padding: "3rem 0" } }, [t("div", { ref: "answerButtons", staticClass: "flex justify-center w-full" }, [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 3rem" }, style: e.mq === "sm" ? { padding: "0 1.5rem" } : 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 justify-center w-full" }, [t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.isPreview && e.$t("previewTooltip"), expression: "isPreview && $t('previewTooltip')" }], staticClass: "has-text-grey", attrs: { size: "medium" }, on: { click: function(r) {
321
276
  return e.onAnswer("decline");
322
- } } }, [e._v(" " + e._s(e._document.$t("deny").capitalize()) + " ")]), t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.isPreview && e.$t("previewTooltip"), expression: "isPreview && $t('previewTooltip')" }], staticStyle: { "margin-left": "1em", "padding-left": "1.5em", "padding-right": "1.5em" }, attrs: { "icon-props": { strokeWidth: 2.5 }, type: "success", size: "medium", "icon-left": "check", raised: "" }, on: { click: function(n) {
277
+ } } }, [e._v(" " + e._s(e._document.$t("deny").capitalize()) + " ")]), t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.isPreview && e.$t("previewTooltip"), expression: "isPreview && $t('previewTooltip')" }], staticStyle: { "margin-left": "1em", "padding-left": "1.5em", "padding-right": "1.5em" }, attrs: { "icon-props": { strokeWidth: 2.5 }, type: "success", size: "medium", "icon-left": "check", raised: "" }, on: { click: function(r) {
323
278
  return e.onAnswer("accept");
324
- } } }, [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(1rem + 2px)", "margin-bottom": "0.5rem" } }, [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: "`${ $formatDate(_document.viewer.answer.didAnswerAt, 'Pp') }`" }], 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": "1.5rem", "padding-right": "1.5rem" }, on: { click: function(n) {
279
+ } } }, [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(1rem + 2px)", "margin-bottom": "0.5rem" } }, [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: "`${ $formatDate(_document.viewer.answer.didAnswerAt, 'Pp') }`" }], 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": "1.5rem", "padding-right": "1.5rem" }, on: { click: function(r) {
325
280
  return e.showPropertyDesignation();
326
- } } }, [e._v(" " + e._s(e._document.$t(`chapters.answerButtons.${e.propertyDesignation ? "editPropDes" : "enterPropDes"}`)) + " ")])]) : e._e(), t("transition", { attrs: { name: "fixed-answer-transition", appear: "" } }, [e.showFixedAnswerActions && e.$refs.answerButtons ? t("div", { staticClass: "fixed-answer-wrapper" }, [t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.isPreview && e.$t("previewTooltip"), expression: "isPreview && $t('previewTooltip')" }], staticClass: "answer button deny", class: { disabled: e.isPreview }, on: { click: function(n) {
281
+ } } }, [e._v(" " + e._s(e._document.$t(`chapters.answerButtons.${e.propertyDesignation ? "editPropDes" : "enterPropDes"}`)) + " ")])]) : e._e(), t("transition", { attrs: { name: "fixed-answer-transition", appear: "" } }, [e.showFixedAnswerActions && e.$refs.answerButtons ? t("div", { staticClass: "fixed-answer-wrapper" }, [t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.isPreview && e.$t("previewTooltip"), expression: "isPreview && $t('previewTooltip')" }], staticClass: "answer button deny", class: { disabled: e.isPreview }, on: { click: function(r) {
327
282
  e.isPreview || e.scrollToElement(e.$refs.answerButtons);
328
- } } }, [e._v(e._s(e._document.$t("deny")))]), t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.isPreview && e.$t("previewTooltip"), expression: "isPreview && $t('previewTooltip')" }], staticClass: "answer button accept", class: { disabled: e.isPreview }, on: { click: function(n) {
283
+ } } }, [e._v(e._s(e._document.$t("deny")))]), t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.isPreview && e.$t("previewTooltip"), expression: "isPreview && $t('previewTooltip')" }], staticClass: "answer button accept", class: { disabled: e.isPreview }, on: { click: function(r) {
329
284
  e.isPreview || e.scrollToElement(e.$refs.answerButtons);
330
285
  } } }, [e._v(e._s(e._document.$t("sign")) + " "), t("svg", { attrs: { width: "18", height: "18", viewBox: "0 0 104 91", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M12.501447 50.843965l25.24763 27.226231 53.36445-66.070195", "stroke-width": "20", stroke: "#FFFFFF", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round", "stroke-linejoin": "round" } })])])]) : e._e()])], 1) : e._e();
331
- }, H = [], I = /* @__PURE__ */ m(
286
+ }, b = [], H = /* @__PURE__ */ c(
287
+ $,
332
288
  x,
333
289
  b,
334
- H,
335
290
  !1,
336
291
  null,
337
292
  "760b52a3",
338
293
  null,
339
294
  null
340
295
  );
341
- const T = I.exports;
296
+ const B = H.exports;
342
297
  export {
343
- T as default
298
+ B as default
344
299
  };
@@ -1,13 +1,12 @@
1
- import { m as o } from "./formComponentsInstall-e33d6795.js";
2
- import { n as s } from "./main-154fab72.js";
3
- import "./vuex.esm-4a0fff7c.js";
4
- const p = {
1
+ import { m as s } from "./mapFormMixin-8d073f99.js";
2
+ import { n as o } from "./main-04025a56.js";
3
+ const u = {
5
4
  name: "PackageGroupBlock",
6
5
  components: {
7
- PackageGroupRead: () => import("./PackageGroup-150a9942.js"),
8
- PackageGroupEdit: () => import("./Index-e1bd4ea9.js")
6
+ PackageGroupRead: () => import("./PackageGroup-37ac99b1.js"),
7
+ PackageGroupEdit: () => import("./Index-caf5cf44.js")
9
8
  },
10
- mixins: [o([
9
+ mixins: [s([
11
10
  "type",
12
11
  "packages"
13
12
  ])],
@@ -43,16 +42,16 @@ const p = {
43
42
  };
44
43
  }
45
44
  };
46
- var u = function() {
45
+ var p = function() {
47
46
  var e = this, a = e._self._c;
48
47
  return e.canEdit ? a("PackageGroupEdit", e._g({ attrs: { _document: e._document, _value: e.valuePaths, "persisted-group": e.persistedGroup, validator: e.$v }, on: { "update:persistedGroup": function(t) {
49
48
  e.persistedGroup = t;
50
49
  }, "update:persisted-group": function(t) {
51
50
  e.persistedGroup = t;
52
51
  } } }, e.$listeners)) : a("PackageGroupRead", { attrs: { _document: e._document, _value: e.valuePaths, validator: e.$v } });
53
- }, i = [], n = /* @__PURE__ */ s(
54
- p,
52
+ }, i = [], n = /* @__PURE__ */ o(
55
53
  u,
54
+ p,
56
55
  i,
57
56
  !1,
58
57
  null,
@@ -60,7 +59,7 @@ var u = function() {
60
59
  null,
61
60
  null
62
61
  );
63
- const l = n.exports;
62
+ const _ = n.exports;
64
63
  export {
65
- l as default
64
+ _ as default
66
65
  };
@@ -1,7 +1,5 @@
1
- import { t as i } from "./DocForm-5ff2cbbb.js";
2
- import { x as d, n } from "./main-154fab72.js";
3
- import "./vuex.esm-4a0fff7c.js";
4
- import "./formComponentsInstall-e33d6795.js";
1
+ import { t as i } from "./tinycolor-88fa380f.js";
2
+ import { F as d, n } from "./main-04025a56.js";
5
3
  const c = {
6
4
  "3d": (e) => e("path", {
7
5
  attrs: {
@@ -752,7 +750,7 @@ var h = /* @__PURE__ */ n(
752
750
  null,
753
751
  null
754
752
  );
755
- const x = h.exports;
753
+ const H = h.exports;
756
754
  export {
757
- x as default
755
+ H as default
758
756
  };
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-154fab72.js";
1
+ import { n as r } from "./main-04025a56.js";
2
2
  const l = {
3
3
  name: "DocChapterSub",
4
4
  inheritAttrs: !1,
@@ -1,6 +1,5 @@
1
- import { z as $, A as C, n as p, r as v, g as b } from "./main-154fab72.js";
2
- import { m as x } from "./formComponentsInstall-e33d6795.js";
3
- import "./vuex.esm-4a0fff7c.js";
1
+ import { K as $, L as C, n as p, b as v, g as b } from "./main-04025a56.js";
2
+ import { m as x } from "./mapFormMixin-8d073f99.js";
4
3
  const w = {
5
4
  name: "CPhoneFormat",
6
5
  props: {
@@ -49,11 +48,11 @@ const w = {
49
48
  formattedValue: this.formattedPhone
50
49
  }) : C("span", [this.formattedPhone]);
51
50
  }
52
- }, k = null, S = null;
51
+ }, S = null, k = null;
53
52
  var P = /* @__PURE__ */ p(
54
53
  w,
55
- k,
56
54
  S,
55
+ k,
57
56
  !1,
58
57
  null,
59
58
  null,
@@ -102,18 +101,18 @@ var M = function() {
102
101
  null,
103
102
  null
104
103
  );
105
- const z = E.exports;
106
- const A = {
107
- client: () => import("./formComponentsInstall-e33d6795.js").then((n) => n.k),
108
- company: () => import("./CompanyModal-5dfa4486.js")
109
- }, K = {
104
+ const K = E.exports;
105
+ const z = {
106
+ client: () => import("./ClientModal-d276aabd.js"),
107
+ company: () => import("./CompanyModal-30c54ce3.js")
108
+ }, N = {
110
109
  i18nOptions: {
111
110
  namespaces: "components"
112
111
  },
113
112
  name: "DocParties",
114
113
  components: {
115
- DocPartiesItem: z,
116
- AddClientCallout: () => import("./formComponentsInstall-e33d6795.js").then((n) => n.A)
114
+ DocPartiesItem: K,
115
+ AddClientCallout: () => import("./AddClientCallout-d472aa84.js")
117
116
  },
118
117
  mixins: [x()],
119
118
  props: {
@@ -183,7 +182,7 @@ const A = {
183
182
  openModal({ formKey: n, index: e } = {}) {
184
183
  let t = "name", a = !1;
185
184
  n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (a = !0)), this.$modal.show(
186
- A[this.type],
185
+ z[this.type],
187
186
  {
188
187
  inputFocusOnMount: t,
189
188
  forceExpand: a,
@@ -212,7 +211,7 @@ const A = {
212
211
  }
213
212
  }
214
213
  };
215
- var N = function() {
214
+ var A = function() {
216
215
  var e = this, t = e._self._c;
217
216
  return t("div", { staticStyle: { position: "relative" } }, [e.viewSettings.canEdit ? t("div", { staticClass: "edit-button" }, [e.type === "company" ? t("CButton", { attrs: { type: "none", size: "small", pattern: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]) : e.parties.length && e.type === "client" ? t("CDropdown", { ref: "dropdown", attrs: { position: "is-bottom-left" } }, [t("CButton", { attrs: { slot: "trigger", type: "none", size: "small", pattern: "secondary", "icon-right": "chevron-down" }, slot: "trigger" }, [e._v(" " + e._s(e.$t("_common:more").capitalize()) + " ")]), t("CDropdownItem", { attrs: { "icon-props": {
218
217
  class: "has-text-secondary"
@@ -244,8 +243,8 @@ var N = function() {
244
243
  }), 0) : e._e()], 2);
245
244
  })], 2);
246
245
  }, R = [], B = /* @__PURE__ */ p(
247
- K,
248
246
  N,
247
+ A,
249
248
  R,
250
249
  !1,
251
250
  null,
@@ -253,7 +252,7 @@ var N = function() {
253
252
  null,
254
253
  null
255
254
  );
256
- const V = B.exports;
255
+ const L = B.exports;
257
256
  export {
258
- V as default
257
+ L as default
259
258
  };
@@ -1,8 +1,7 @@
1
- import { v as c, p as u, n as m } from "./main-154fab72.js";
2
- import { P as p } from "./PlainHtml-47791667.js";
3
- import { b as g } from "./DocForm-5ff2cbbb.js";
4
- import "./vuex.esm-4a0fff7c.js";
5
- import "./formComponentsInstall-e33d6795.js";
1
+ import { A as c, o as u, n as m } from "./main-04025a56.js";
2
+ import { P as p } from "./PlainHtml-9174cbf6.js";
3
+ import { s as g } from "./formValidationMixin-4920ab53.js";
4
+ import "./CDropdownItem-74672842.js";
6
5
  const h = {
7
6
  name: "ExtraWorkConstructionPricingListRead",
8
7
  props: {
@@ -170,7 +169,7 @@ var k = /* @__PURE__ */ m(
170
169
  null,
171
170
  null
172
171
  );
173
- const T = k.exports;
172
+ const y = k.exports;
174
173
  export {
175
- T as default
174
+ y as default
176
175
  };
@@ -1,11 +1,10 @@
1
- import { m as n } from "./formComponentsInstall-e33d6795.js";
2
- import { n as t } from "./main-154fab72.js";
3
- import "./vuex.esm-4a0fff7c.js";
1
+ import { m as n } from "./mapFormMixin-8d073f99.js";
2
+ import { n as t } from "./main-04025a56.js";
4
3
  const a = {
5
4
  name: "ExtraWorkConstructionPricingList",
6
5
  components: {
7
- Read: () => import("./Index-1ae93acd.js"),
8
- Edit: () => import("./Index-2d5fe047.js")
6
+ Read: () => import("./Index-82574a41.js"),
7
+ Edit: () => import("./Index-cd76b120.js")
9
8
  },
10
9
  mixins: [n([
11
10
  "workPrice",
@@ -27,7 +26,7 @@ var c = function() {
27
26
  null,
28
27
  null
29
28
  );
30
- const u = i.exports;
29
+ const p = i.exports;
31
30
  export {
32
- u as default
31
+ p as default
33
32
  };
@@ -1,8 +1,7 @@
1
- import { m as s } from "./formComponentsInstall-e33d6795.js";
2
- import { f as r } from "./DocForm-5ff2cbbb.js";
3
- import { g as n } from "./utils-72915af5.js";
4
- import { n as a } from "./main-154fab72.js";
5
- import "./vuex.esm-4a0fff7c.js";
1
+ import { m as s } from "./mapFormMixin-8d073f99.js";
2
+ import { f as r } from "./focusDrawerMixin-67462262.js";
3
+ import { g as n } from "./utils-6670dea6.js";
4
+ import { n as a } from "./main-04025a56.js";
6
5
  const d = {
7
6
  name: "VideoPlayer",
8
7
  i18nOptions: {
@@ -10,8 +9,8 @@ const d = {
10
9
  keyPrefix: "document.videoPlayer"
11
10
  },
12
11
  components: {
13
- VideoPlayerSettings: () => import("./VideoPlayerSettings-0a027a8e.js"),
14
- VideoPlayerInput: () => import("./VideoPlayerInput-7ebb49d7.js")
12
+ VideoPlayerSettings: () => import("./VideoPlayerSettings-b7eb781c.js"),
13
+ VideoPlayerInput: () => import("./VideoPlayerInput-77cd86aa.js")
15
14
  },
16
15
  mixins: [s(["videoPlayer"]), r()],
17
16
  data() {
@@ -99,7 +98,7 @@ var l = function() {
99
98
  null,
100
99
  null
101
100
  );
102
- const _ = u.exports;
101
+ const f = u.exports;
103
102
  export {
104
- _ as default
103
+ f as default
105
104
  };