@cling-se/widget 0.13.1 → 0.13.3

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 (136) hide show
  1. package/README.md +27 -22
  2. package/dist/{AddClientCallout-fd6dc000.js → AddClientCallout-D9a9MCUX.js} +11 -16
  3. package/dist/{AnswerModal-7c83d608.js → AnswerModal-D8x72yGp.js} +1931 -1948
  4. package/dist/{AttachmentItem-468fd65c.js → AttachmentItem-BvRfBRk6.js} +15 -18
  5. package/dist/{BaseDatePicker-1975be7c.js → BaseDatePicker-BmvP7mNA.js} +139 -142
  6. package/dist/{BaseInput-2ca68242.js → BaseInput-DDxP_o2d.js} +77 -56
  7. package/dist/{BaseUpload-a37ee3a3.js → BaseUpload-BYXTgBXu.js} +208 -212
  8. package/dist/{BlockMedia-9fa610ce.js → BlockMedia-BjasKSPl.js} +6 -8
  9. package/dist/{CCallout-4c253200.js → CCallout-D66Z5Gmx.js} +26 -16
  10. package/dist/{CDropdownItem-7e71da85.js → CDropdownItem-CsY-c0bJ.js} +51 -50
  11. package/dist/{CField-823448be.js → CField-P1DJ6Xte.js} +75 -58
  12. package/dist/{CPhoneFormat-54baa501.js → CPhoneFormat-CWaOjZ6c.js} +5 -7
  13. package/dist/{CSlider.vue_vue_type_style_index_0_lang-ceb19661.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-ZmW20zh4.js} +6 -8
  14. package/dist/{ClientAutocomplete-186cc118.js → ClientAutocomplete-CS5EWC8m.js} +11 -13
  15. package/dist/{ClientModal-c5ee3885.js → ClientModal-JsCpUq7_.js} +25 -32
  16. package/dist/{ColorPicker-65a47379.js → ColorPicker-D2qM7zAH.js} +5 -7
  17. package/dist/{CompanyModal-564e2b35.js → CompanyModal-Cy41VR2V.js} +28 -30
  18. package/dist/{ContentWrapper-ac56e749.js → ContentWrapper-BZV21UxA.js} +25 -43
  19. package/dist/{CoverBlockSettings-8949a330.js → CoverBlockSettings-BKSeVFDE.js} +20 -31
  20. package/dist/{DocAnswer-2c0cb58f.js → DocAnswer-kP7uwYPw.js} +5 -12
  21. package/dist/{DocDetails-6522bb1b.js → DocDetails-CQokGcQU.js} +47 -59
  22. package/dist/{DocForm-983d41f5.js → DocForm--8jg79O2.js} +4871 -4946
  23. package/dist/{DocFormSend-787ce614.js → DocFormSend-yMGm0yem.js} +15 -33
  24. package/dist/DocLinks-tR60r1YR.js +38 -0
  25. package/dist/{DocModalBase-60c69c7f.js → DocModalBase-CTK46Brc.js} +8 -10
  26. package/dist/{DocPrint-78c501ca.js → DocPrint-GY73q9cl.js} +6 -10
  27. package/dist/{DocReceipt-ac44b93f.js → DocReceipt-pTTh1XRW.js} +11 -15
  28. package/dist/{DocSendReminder-6cf2424c.js → DocSendReminder-C4MsDwmQ.js} +2 -6
  29. package/dist/{DocTextEditor-81f63135.js → DocTextEditor-C-22iwpJ.js} +2509 -2529
  30. package/dist/{DocTimeline-35106a94.js → DocTimeline-CwcPVMLq.js} +26 -37
  31. package/dist/{DocumentClient-eda56a3c.js → DocumentClient-C9Lm9899.js} +15 -22
  32. package/dist/{DocumentLayout-4005baa4.js → DocumentLayout-BijbYCjw.js} +4510 -4527
  33. package/dist/{DocumentLogotype-0d7d5080.js → DocumentLogotype-EyAhhuyy.js} +20 -22
  34. package/dist/DocumentVoided-D5t8akG5.js +25 -0
  35. package/dist/{EmbedInput-8c301d27.js → EmbedInput-BgRj0APU.js} +9 -12
  36. package/dist/{EmbedSettings-05ab2762.js → EmbedSettings-D2AVYJsR.js} +6 -9
  37. package/dist/ErrorCallout-C2Hz9_Kw.js +28 -0
  38. package/dist/{FilePreviewModal-743fe489.js → FilePreviewModal-qE7IG4wX.js} +8 -14
  39. package/dist/{Flag-a6b545e0.js → Flag-BCpOsl81.js} +18 -20
  40. package/dist/{HeaderSettings-b739ddbb.js → HeaderSettings-BZNxb77S.js} +34 -49
  41. package/dist/{ImageSelectModal-b626ef57.js → ImageSelectModal-FTD0imPM.js} +12 -20
  42. package/dist/{ImageUploadWrapper-be047810.js → ImageUploadWrapper-Dt-_sMWf.js} +356 -384
  43. package/dist/{Index-ea1e223d.js → Index-21Rqe72Y.js} +16 -18
  44. package/dist/{Index-54f457ee.js → Index-5j91zO6f.js} +10 -12
  45. package/dist/{Index-848bb05c.js → Index-BCXTn1sC.js} +11 -13
  46. package/dist/{Index-01224b38.js → Index-BDET3dI8.js} +233 -273
  47. package/dist/{Index-071b97c8.js → Index-BFaUGjUB.js} +24 -26
  48. package/dist/{Index-8cfeac73.js → Index-BKlCGLNd.js} +80 -90
  49. package/dist/{Index-c349151b.js → Index-BoLTPa35.js} +7 -9
  50. package/dist/{Index-ecbffb52.js → Index-CBbfIsZN.js} +18 -31
  51. package/dist/{Index-8f237754.js → Index-CFdROMC3.js} +6 -8
  52. package/dist/{Index-8ea1a895.js → Index-CJODaFN6.js} +16 -21
  53. package/dist/{Index-4298f3e2.js → Index-C_xGmfku.js} +13 -15
  54. package/dist/Index-CcukWQRL.js +21 -0
  55. package/dist/Index-Cl5xExRO.js +24 -0
  56. package/dist/{Index-b56a2d94.js → Index-Cp6jRq1R.js} +20 -23
  57. package/dist/{Index-4b09d0fa.js → Index-CuoBquDv.js} +116 -118
  58. package/dist/{Index-4f119d80.js → Index-Cwl2NC2m.js} +459 -510
  59. package/dist/{Index-fe0e805b.js → Index-D-bjhn09.js} +51 -58
  60. package/dist/{Index-a52df5e2.js → Index-D2nfeQ5x.js} +14 -21
  61. package/dist/{Index-caebb616.js → Index-D5bdxU_9.js} +4 -6
  62. package/dist/{Index-6b66b9ff.js → Index-DFtgMiak.js} +4 -6
  63. package/dist/{Index-3f02e8ca.js → Index-DGZ31KnZ.js} +8 -11
  64. package/dist/{Index-5bf8b9b7.js → Index-DJR3xxCd.js} +8 -10
  65. package/dist/{Index-8ebe3371.js → Index-DMY-Sq_M.js} +19 -26
  66. package/dist/Index-DlhEipBL.js +26 -0
  67. package/dist/Index-Dv7cLrE4.js +52 -0
  68. package/dist/{Index-b2de3af8.js → Index-In1yv5wC.js} +2 -4
  69. package/dist/{Index-8e82da74.js → Index-UamytEM4.js} +12 -15
  70. package/dist/{Index-63aea2b8.js → Index-WMiYQ88f.js} +12 -21
  71. package/dist/{Index-a3920b7b.js → Index-WNn-Ygm3.js} +9 -11
  72. package/dist/{Index-56e4127a.js → Index-_IbAcZwx.js} +29 -29
  73. package/dist/{Index-f1bf6520.js → Index-djTZz7Ns.js} +6 -8
  74. package/dist/{Index-c049a6e2.js → Index-sfUDC-CQ.js} +7 -9
  75. package/dist/Index-tPwll4sB.js +49 -0
  76. package/dist/{Index-97c18be1.js → Index-xgTLuqmb.js} +5 -9
  77. package/dist/{InputToggleRow-f86fdf91.js → InputToggleRow-BEO32u0P.js} +3 -5
  78. package/dist/{ManualPopover-d7c2a780.js → ManualPopover-BBh0cUw5.js} +1 -3
  79. package/dist/{MediaWrapper-2381bc95.js → MediaWrapper-CoMogZxx.js} +3 -6
  80. package/dist/{NotBindingText-a9eae0b2.js → NotBindingText-BT1Q6RMl.js} +5 -7
  81. package/dist/{PackageGroup-95d99d03.js → PackageGroup-FdTMDsjx.js} +35 -59
  82. package/dist/{PdfTerms-4a6d6067.js → PdfTerms-DyPWsQVj.js} +11 -18
  83. package/dist/{PdfViewer-8d7f2143.js → PdfViewer-DypsavPs.js} +25 -29
  84. package/dist/{PlainHtml-9d3f71d6.js → PlainHtml-BfBjldPv.js} +5 -7
  85. package/dist/{PriceHeader-f2cb6529.js → PriceHeader-C7uxm0UF.js} +113 -130
  86. package/dist/SearchApi-BFRaO76p.js +161 -0
  87. package/dist/{Setup-74c47337.js → Setup-5Bd2oKy5.js} +9 -11
  88. package/dist/{TermsSettings-0c5a6cad.js → TermsSettings-qp4QTvSS.js} +6 -12
  89. package/dist/{ThemeColorRow-bbf4f527.js → ThemeColorRow-BVO3w229.js} +8 -10
  90. package/dist/{ToggleBinding-50af6f0f.js → ToggleBinding-kUXMHL_T.js} +7 -9
  91. package/dist/{UploadModal-d2757015.js → UploadModal-pc_pdLKq.js} +16 -19
  92. package/dist/{VideoPlayerInput-cb6c91e8.js → VideoPlayerInput-D_pGBwqs.js} +6 -8
  93. package/dist/{VideoPlayerSettings-bff30628.js → VideoPlayerSettings-j923whT9.js} +7 -11
  94. package/dist/{VideoSelectModal-9ec9ecfc.js → VideoSelectModal-YwoeiHje.js} +20 -28
  95. package/dist/{answerDocumentMixin-9368852c.js → answerDocumentMixin-B_U73rNw.js} +5 -5
  96. package/dist/{debounce-f8aeabc5.js → debounce-BsRaWg59.js} +3 -3
  97. package/dist/{dom-962579a6.js → dom-CPYqHOIw.js} +2 -2
  98. package/dist/{focusDrawerMixin-e2312605.js → focusDrawerMixin-JAewKqED.js} +1 -1
  99. package/dist/{formComponentsInstall-6894b988.js → formComponentsInstall-D4n0po7Z.js} +1198 -1171
  100. package/dist/{formDrawerState-b99be3a7.js → formDrawerState-zC8aJ2vd.js} +1 -1
  101. package/dist/{formValidationMixin-a9a35060.js → formValidationMixin-BZkYLjQt.js} +2 -2
  102. package/dist/{index-b2348f09.js → index-B3HvM0tt.js} +39 -44
  103. package/dist/{index-96e9db00.js → index-CoyXZLrG.js} +41 -59
  104. package/dist/{index-c9186403.js → index-DMs1rzm_.js} +14 -16
  105. package/dist/{IsPremiumPreStep-27645ee9.js → index-DNfDl5X3.js} +531 -566
  106. package/dist/{index-d35e9363.js → index-RA-At4z5.js} +5 -3
  107. package/dist/{index-9d1ade78.js → index-g89MyoBh.js} +3 -5
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +1019 -1028
  110. package/dist/{main-b9ea9725.js → main-DdTHuJSP.js} +21733 -21943
  111. package/dist/{mapFormMixin-de4a37c3.js → mapFormMixin-jUVHvbDZ.js} +1 -2
  112. package/dist/{vuedraggable.umd-1b113186.js → omit-Cu3_dgaV.js} +143 -133
  113. package/dist/{publicSenderState-a2c0cc9d.js → publicSenderState-DbENjyL4.js} +1 -1
  114. package/dist/{splitpanes-ba7897bf.js → splitpanes-BHUVsCZF.js} +38 -42
  115. package/dist/style.css +2 -2
  116. package/dist/{throttle-53a6c735.js → throttle-DP3fD_7G.js} +2 -2
  117. package/dist/{tinycolor-071e269c.js → tinycolor-BK1IhVpb.js} +6 -6
  118. package/dist/{tippy.esm-1b89bf69.js → tippy.esm-BZYdaq3J.js} +226 -232
  119. package/dist/{utils-44a35f52.js → utils-D8WP6t_z.js} +1 -1
  120. package/package.json +2 -2
  121. package/dist/DocLinks-d6b1b080.js +0 -41
  122. package/dist/DocumentVoided-fe1bd505.js +0 -27
  123. package/dist/ErrorCallout-87033b39.js +0 -30
  124. package/dist/Index-6bfbbbd2.js +0 -61
  125. package/dist/Index-6c21af02.js +0 -28
  126. package/dist/Index-cbd0f3f6.js +0 -23
  127. package/dist/Index-f006e9fe.js +0 -26
  128. package/dist/Index-fc0516f6.js +0 -54
  129. package/dist/SearchApi-2a59cdc7.js +0 -167
  130. package/dist/index-3671e1b7.js +0 -14
  131. package/dist/index-805c56e4.js +0 -4
  132. /package/dist/{CField.vue_vue_type_style_index_0_lang-4ed993c7.js → CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js} +0 -0
  133. /package/dist/{anime.es-e284c852.js → anime.es-BrPTThYb.js} +0 -0
  134. /package/dist/{color-c1606adc.js → color-TdtKxwVa.js} +0 -0
  135. /package/dist/{i18nMessages-6b279c15.js → i18nMessages-Chz_lxGG.js} +0 -0
  136. /package/dist/{vuex.esm-4a0fff7c.js → vuex.esm-DKGl8mcw.js} +0 -0
@@ -1,20 +1,19 @@
1
- import { g as a, h as l, n as c, b as m, e as u } from "./main-b9ea9725.js";
2
- import { s as p, i as v } from "./dom-962579a6.js";
3
- import { w as d } from "./CDropdownItem-7e71da85.js";
4
- import { a as _ } from "./answerDocumentMixin-9368852c.js";
5
- import "./index-d35e9363.js";
6
- import { a as g } from "./vuex.esm-4a0fff7c.js";
7
- import { D as h } from "./DocModalBase-60c69c7f.js";
8
- import { v as s } from "./index-805c56e4.js";
9
- const f = {
1
+ import { w as c } from "./CDropdownItem-CsY-c0bJ.js";
2
+ import { g as a, h as m, n as d, b as l, e as u } from "./main-DdTHuJSP.js";
3
+ import { s as p, i as v } from "./dom-CPYqHOIw.js";
4
+ import { D as _ } from "./DocModalBase-CTK46Brc.js";
5
+ import { v as n } from "./index-RA-At4z5.js";
6
+ import { a as g } from "./vuex.esm-DKGl8mcw.js";
7
+ import { a as h } from "./answerDocumentMixin-B_U73rNw.js";
8
+ const w = {
10
9
  i18nOptions: {
11
10
  namespaces: "components",
12
11
  keyPrefix: "document.propertyDesignationModal"
13
12
  },
14
- mixins: [d],
15
13
  components: {
16
- DocModalBase: h
14
+ DocModalBase: _
17
15
  },
16
+ mixins: [c],
18
17
  props: {
19
18
  senderName: {
20
19
  type: String,
@@ -55,15 +54,15 @@ const f = {
55
54
  },
56
55
  validations: {
57
56
  condominiumId: {
58
- required: s.requiredIf((i) => i.form === "condominium"),
59
- minLength: s.minLength(4),
60
- maxLength: s.maxLength(4)
57
+ required: n.requiredIf((i) => i.form === "condominium"),
58
+ minLength: n.minLength(4),
59
+ maxLength: n.maxLength(4)
61
60
  },
62
61
  condominiumOrgNo: {
63
- required: s.requiredIf((i) => i.form === "condominium")
62
+ required: n.requiredIf((i) => i.form === "condominium")
64
63
  },
65
64
  realEstateId: {
66
- required: s.requiredIf((i) => i.form === "realEstate")
65
+ required: n.requiredIf((i) => i.form === "realEstate")
67
66
  }
68
67
  },
69
68
  computed: {
@@ -115,53 +114,49 @@ const f = {
115
114
  }
116
115
  };
117
116
  try {
118
- const e = "clients[0].region.propertyDesignation";
119
117
  await this.putCurrentDoc({
120
118
  body: {
121
- [e]: i
119
+ ["clients[0].region.propertyDesignation"]: i
122
120
  }
123
121
  }), this.reloadCurrentDocument(), this.view = "complete";
124
122
  } catch (e) {
125
- l(e);
123
+ m(e);
126
124
  }
127
125
  }
128
126
  }
129
127
  };
130
- var w = function() {
128
+ var C = function() {
131
129
  var e = this, t = e._self._c;
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(n) {
130
+ 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) {
133
131
  return e.$emit("close");
134
132
  } } }) : e._e(), t("div", [e.view !== "complete" ? t("div", { staticClass: "negate-padding relative mb-8 border-b border-gray-100 bg-gray-50 pb-8 text-center", style: {
135
133
  paddingTop: e.spacing,
136
134
  marginTop: `-${e.spacing}`,
137
135
  borderRadius: `${e.cornerRadius} ${e.cornerRadius} 0 0`
138
- } }, [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 left-4 top-4", attrs: { circle: "", icon: "arrow-left" }, on: { click: function(n) {
136
+ } }, [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 left-4 top-4", attrs: { circle: "", icon: "arrow-left" }, on: { click: function(s) {
139
137
  e.view = "start";
140
- } } }), 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: "mb-2 flex h-24 w-24 cursor-pointer items-center justify-center rounded-xl border border-gray-300 bg-gray-50 hover:bg-gray-100 active:bg-gray-200", on: { click: function(n) {
138
+ } } }), 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: "mb-2 flex h-24 w-24 cursor-pointer items-center justify-center rounded-xl border border-gray-300 bg-gray-50 hover:bg-gray-100 active:bg-gray-200", on: { click: function(s) {
141
139
  e.view = "form", e.form = "realEstate";
142
- } } }, [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: "mb-2 flex h-24 w-24 cursor-pointer items-center justify-center rounded-xl border border-gray-300 bg-gray-50 hover:bg-gray-100 active:bg-gray-200", on: { click: function(n) {
140
+ } } }, [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: "mb-2 flex h-24 w-24 cursor-pointer items-center justify-center rounded-xl border border-gray-300 bg-gray-50 hover:bg-gray-100 active:bg-gray-200", on: { click: function(s) {
143
141
  e.view = "form", e.form = "condominium";
144
- } } }, [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(n) {
145
- e.realEstateId = n;
146
- }, 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(n) {
147
- e.condominiumId = n;
148
- }, 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(n) {
149
- e.condominiumOrgNo = n;
150
- }, 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: "bg-primary-50 mb-4 flex h-12 w-12 items-center justify-center rounded-full" }, [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: "mt-4 w-full" }, [t("CButton", { attrs: { type: "secondary", wide: "" }, on: { click: function(n) {
142
+ } } }, [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) {
143
+ e.realEstateId = s;
144
+ }, 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) {
145
+ e.condominiumId = s;
146
+ }, 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) {
147
+ e.condominiumOrgNo = s;
148
+ }, 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: "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) {
151
149
  return e.$emit("close");
152
150
  } } }, [e._v(e._s(e.$t("_common:close")))])], 1)])]) : e._e()])], 1);
153
- }, C = [], y = /* @__PURE__ */ c(
154
- f,
151
+ }, f = [], y = /* @__PURE__ */ d(
155
152
  w,
156
153
  C,
154
+ f,
157
155
  !1,
158
156
  null,
159
- null,
160
- null,
161
157
  null
162
158
  );
163
- const $ = y.exports;
164
- const x = {
159
+ const $ = y.exports, b = {
165
160
  i18nOptions: {
166
161
  namespaces: "docAnswer",
167
162
  messages: {
@@ -174,7 +169,7 @@ const x = {
174
169
  }
175
170
  },
176
171
  name: "DocumentAnswerRead",
177
- mixins: [_({ documentKey: "_document" }), d],
172
+ mixins: [h({ documentKey: "_document" }), c],
178
173
  inject: {
179
174
  isPdf: {
180
175
  default: !1
@@ -219,18 +214,9 @@ const x = {
219
214
  );
220
215
  },
221
216
  propertyDesignation() {
222
- return m(this._document, "clients[0].region.propertyDesignation", null);
217
+ return l(this._document, "clients[0].region.propertyDesignation", null);
223
218
  }
224
219
  },
225
- mounted() {
226
- window.addEventListener("scroll", this.scrollHandler, {
227
- capture: !0,
228
- passive: !0
229
- }), this.$route.name === "docPropertyDesignation" && this.showPropertyDesignation();
230
- },
231
- destroyed() {
232
- window.removeEventListener("scroll", this.scrollHandler);
233
- },
234
220
  watch: {
235
221
  $route: {
236
222
  immediate: !0,
@@ -245,6 +231,15 @@ const x = {
245
231
  }
246
232
  }
247
233
  },
234
+ mounted() {
235
+ window.addEventListener("scroll", this.scrollHandler, {
236
+ capture: !0,
237
+ passive: !0
238
+ }), this.$route.name === "docPropertyDesignation" && this.showPropertyDesignation();
239
+ },
240
+ destroyed() {
241
+ window.removeEventListener("scroll", this.scrollHandler);
242
+ },
248
243
  methods: {
249
244
  scrollHandler() {
250
245
  this.$refs.answerButtons && (this.isInViewport = v(this.$refs.answerButtons));
@@ -269,10 +264,10 @@ const x = {
269
264
  }
270
265
  }
271
266
  };
272
- var b = function() {
273
- var n, o;
267
+ var x = function() {
268
+ var s, o;
274
269
  var e = this, t = e._self._c;
275
- 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 = (n = e._document.viewer) == null ? void 0 : n.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) {
270
+ 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) {
276
271
  return e.onAnswer("decline");
277
272
  } } }) : t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.isPreview && e.$t("previewTooltip"), expression: "isPreview && $t('previewTooltip')" }], staticClass: "text-gray-400", attrs: { disabled: e.isPreview, size: "medium" }, on: { click: function(r) {
278
273
  return e.onAnswer("decline");
@@ -283,17 +278,15 @@ var b = function() {
283
278
  } } }, [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) {
284
279
  return e.showPropertyDesignation();
285
280
  } } }, [e._v(" " + e._s(e._document.$t(`chapters.answerButtons.${e.propertyDesignation ? "editPropDes" : "enterPropDes"}`)) + " ")])]) : e._e()]) : e._e();
286
- }, H = [], D = /* @__PURE__ */ c(
287
- x,
281
+ }, H = [], D = /* @__PURE__ */ d(
288
282
  b,
283
+ x,
289
284
  H,
290
285
  !1,
291
286
  null,
292
- "7af77224",
293
- null,
294
- null
287
+ "a09f8d01"
295
288
  );
296
- const T = D.exports;
289
+ const N = D.exports;
297
290
  export {
298
- T as default
291
+ N as default
299
292
  };
@@ -1,13 +1,11 @@
1
- import { m as n } from "./mapFormMixin-de4a37c3.js";
2
- import { D as a } from "./DocModalBase-60c69c7f.js";
3
- import { a as o } from "./DocumentLayout-4005baa4.js";
4
- import { n as l } from "./main-b9ea9725.js";
5
- import "./debounce-f8aeabc5.js";
6
- import "./CDropdownItem-7e71da85.js";
1
+ import { m as n } from "./mapFormMixin-jUVHvbDZ.js";
2
+ import { D as l } from "./DocModalBase-CTK46Brc.js";
3
+ import { a as o } from "./DocumentLayout-BijbYCjw.js";
4
+ import { n as a } from "./main-DdTHuJSP.js";
7
5
  const c = {
8
6
  name: "TermsModal",
9
7
  components: {
10
- DocModalBase: a,
8
+ DocModalBase: l,
11
9
  DocumentStyleContainer: o
12
10
  },
13
11
  mixins: [n([])],
@@ -26,18 +24,15 @@ var m = function() {
26
24
  } } }), t("DocModalBase", { staticClass: "terms-root" }, [t("div", { staticClass: "sticky-btn" }, [t("CButton", { staticStyle: { "margin-top": "calc(0.5 * var(--rem))" }, attrs: { circle: "", icon: "x" }, on: { click: function(r) {
27
25
  return e.$emit("close");
28
26
  } } })], 1), t("div", { staticStyle: { padding: "0 calc(1 * var(--rem))" } }, [t("DocumentStyleContainer", { staticStyle: { width: "100%", height: "100%" }, attrs: { "input-style": ((i = e._document.data) == null ? void 0 : i.css) || null } }, [t("div", { staticClass: "term-text quill-format", domProps: { innerHTML: e._s(e.text) } })])], 1)])], 1);
29
- }, d = [], f = /* @__PURE__ */ l(
27
+ }, d = [], f = /* @__PURE__ */ a(
30
28
  c,
31
29
  m,
32
30
  d,
33
31
  !1,
34
32
  null,
35
- null,
36
- null,
37
33
  null
38
34
  );
39
- const p = f.exports;
40
- const u = {
35
+ const p = f.exports, u = {
41
36
  name: "TermsDisclaimer",
42
37
  mixins: [n([])],
43
38
  inject: {
@@ -71,7 +66,7 @@ const u = {
71
66
  },
72
67
  computed: {
73
68
  printPdfTerms() {
74
- return this.isPdf ? () => import("./PdfTerms-4a6d6067.js") : void 0;
69
+ return this.isPdf ? () => import("./PdfTerms-DyPWsQVj.js") : void 0;
75
70
  }
76
71
  },
77
72
  methods: {
@@ -144,18 +139,16 @@ const u = {
144
139
  ]
145
140
  );
146
141
  }
147
- }, _ = null, h = null;
148
- var v = /* @__PURE__ */ l(
142
+ }, h = null, _ = null;
143
+ var v = /* @__PURE__ */ a(
149
144
  u,
150
- _,
151
145
  h,
146
+ _,
152
147
  !1,
153
148
  null,
154
- "0d91b109",
155
- null,
156
- null
149
+ "7623e4d6"
157
150
  );
158
- const $ = v.exports;
151
+ const k = v.exports;
159
152
  export {
160
- $ as default
153
+ k as default
161
154
  };
@@ -1,5 +1,5 @@
1
- import { P as r } from "./PlainHtml-9d3f71d6.js";
2
- import { n as o } from "./main-b9ea9725.js";
1
+ import { P as r } from "./PlainHtml-BfBjldPv.js";
2
+ import { n as o } from "./main-DdTHuJSP.js";
3
3
  const s = {
4
4
  name: "ExtraWorkTimeImpactTextRead",
5
5
  props: {
@@ -47,17 +47,15 @@ const s = {
47
47
  return t(r, [this.$t("description1"), " ", t("strong", [e]), " ", this.$t("description2"), t("strong", [n]), ".", this.$t("description3"), " ", t("strong", [this.$t(`_common:${this.timeDeltaDirection}`)]), this.$t("description4"), " ", t("strong", [i]), "."]);
48
48
  }
49
49
  }, a = null, c = null;
50
- var l = /* @__PURE__ */ o(
50
+ var d = /* @__PURE__ */ o(
51
51
  s,
52
52
  a,
53
53
  c,
54
54
  !1,
55
55
  null,
56
- null,
57
- null,
58
56
  null
59
57
  );
60
- const p = l.exports;
58
+ const p = d.exports;
61
59
  export {
62
60
  p as default
63
61
  };
@@ -1,5 +1,5 @@
1
- import { P as e } from "./PlainHtml-9d3f71d6.js";
2
- import { n } from "./main-b9ea9725.js";
1
+ import { P as e } from "./PlainHtml-BfBjldPv.js";
2
+ import { n } from "./main-DdTHuJSP.js";
3
3
  const s = {
4
4
  name: "EstimatedWorkStartAndEndAtTextRead",
5
5
  props: {
@@ -38,11 +38,9 @@ var a = /* @__PURE__ */ n(
38
38
  o,
39
39
  !1,
40
40
  null,
41
- null,
42
- null,
43
41
  null
44
42
  );
45
- const d = a.exports;
43
+ const l = a.exports;
46
44
  export {
47
- d as default
45
+ l as default
48
46
  };
@@ -1,8 +1,7 @@
1
- import { m as r } from "./mapFormMixin-de4a37c3.js";
2
- import { I as n } from "./InputToggleRow-f86fdf91.js";
3
- import { B as l } from "./BaseDatePicker-1975be7c.js";
4
- import { n as s } from "./main-b9ea9725.js";
5
- import "./CDropdownItem-7e71da85.js";
1
+ import { m as r } from "./mapFormMixin-jUVHvbDZ.js";
2
+ import { I as n } from "./InputToggleRow-BEO32u0P.js";
3
+ import { B as s } from "./BaseDatePicker-BmvP7mNA.js";
4
+ import { n as l } from "./main-DdTHuJSP.js";
6
5
  const c = {
7
6
  i18nOptions: {
8
7
  namespaces: "estimatedTimeStartEnd",
@@ -28,7 +27,7 @@ const c = {
28
27
  name: "EstimatedWorkStartAndEndAtTextEdit",
29
28
  components: {
30
29
  InputToggleRow: n,
31
- BaseDatePicker: l
30
+ BaseDatePicker: s
32
31
  },
33
32
  mixins: [r(["startAt", "endAt"])]
34
33
  };
@@ -45,17 +44,15 @@ var i = function() {
45
44
  } }, model: { value: t.endAt, callback: function(e) {
46
45
  t.endAt = e;
47
46
  }, expression: "endAt" } })], 1)]);
48
- }, o = [], d = /* @__PURE__ */ s(
47
+ }, o = [], d = /* @__PURE__ */ l(
49
48
  c,
50
49
  i,
51
50
  o,
52
51
  !1,
53
52
  null,
54
- null,
55
- null,
56
53
  null
57
54
  );
58
- const _ = d.exports;
55
+ const A = d.exports;
59
56
  export {
60
- _ as default
57
+ A as default
61
58
  };
@@ -1,8 +1,8 @@
1
- import { m as o } from "./mapFormMixin-de4a37c3.js";
2
- import { I as i } from "./InputToggleRow-f86fdf91.js";
3
- import { B as a } from "./BaseInput-2ca68242.js";
4
- import { n as l } from "./main-b9ea9725.js";
5
- const m = {
1
+ import { m as o } from "./mapFormMixin-jUVHvbDZ.js";
2
+ import { I as i } from "./InputToggleRow-BEO32u0P.js";
3
+ import { B as a } from "./BaseInput-DDxP_o2d.js";
4
+ import { n as m } from "./main-DdTHuJSP.js";
5
+ const s = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeToCompleteText",
8
8
  messages: {
@@ -29,7 +29,7 @@ const m = {
29
29
  this.timeUnit || (this.timeUnit = "day");
30
30
  }
31
31
  };
32
- var s = function() {
32
+ var l = function() {
33
33
  var t = this, e = t._self._c;
34
34
  return e("InputToggleRow", { attrs: { "display-value": t.noOfTimeUnits && t.timeUnit ? `${t.noOfTimeUnits} ${t.$t(`_common:${t.timeUnit}`, {
35
35
  count: t.noOfTimeUnits
@@ -40,14 +40,12 @@ var s = function() {
40
40
  }, expression: "noOfTimeUnits" } }, [e("CSelect", { staticClass: "select-width plain", staticStyle: { width: "120px" }, attrs: { slot: "append", placeholder: t.$t("placeholder") }, slot: "append", model: { value: t.timeUnit, callback: function(n) {
41
41
  t.timeUnit = n;
42
42
  }, expression: "timeUnit" } }, [e("option", { attrs: { value: "hour" } }, [t._v(t._s(t.$t("_common:hour_plural")))]), e("option", { attrs: { value: "day" } }, [t._v(t._s(t.$t("_common:day_plural")))]), e("option", { attrs: { value: "week" } }, [t._v(t._s(t.$t("_common:week_plural")))]), e("option", { attrs: { value: "month" } }, [t._v(t._s(t.$t("_common:month_plural")))])])], 1)], 1);
43
- }, r = [], p = /* @__PURE__ */ l(
44
- m,
43
+ }, r = [], p = /* @__PURE__ */ m(
45
44
  s,
45
+ l,
46
46
  r,
47
47
  !1,
48
48
  null,
49
- null,
50
- null,
51
49
  null
52
50
  );
53
51
  const v = p.exports;
@@ -1,10 +1,6 @@
1
- import { m as i } from "./mapFormMixin-de4a37c3.js";
2
- import { V as n } from "./PdfViewer-8d7f2143.js";
3
- import { c as r, l as o, n as d } from "./main-b9ea9725.js";
4
- import "./dom-962579a6.js";
5
- import "./DocumentLayout-4005baa4.js";
6
- import "./debounce-f8aeabc5.js";
7
- import "./CDropdownItem-7e71da85.js";
1
+ import { m as i } from "./mapFormMixin-jUVHvbDZ.js";
2
+ import { V as n } from "./PdfViewer-DypsavPs.js";
3
+ import { c as r, d as l, n as d } from "./main-DdTHuJSP.js";
8
4
  const u = {
9
5
  i18nOptions: {
10
6
  namespaces: "pdfBlock",
@@ -21,12 +17,11 @@ const u = {
21
17
  }
22
18
  }
23
19
  },
24
- // eslint-disable-next-line vue/multi-word-component-names
25
20
  name: "Pdf",
26
21
  components: {
27
22
  PdfViewer: n,
28
- FileIcon: () => import("./Index-4b09d0fa.js"),
29
- BaseUpload: () => import("./BaseUpload-a37ee3a3.js")
23
+ FileIcon: () => import("./Index-CuoBquDv.js"),
24
+ BaseUpload: () => import("./BaseUpload-BYXTgBXu.js")
30
25
  },
31
26
  mixins: [i(["file"])],
32
27
  inject: {
@@ -60,9 +55,9 @@ const u = {
60
55
  if (this.file.url.startsWith(r.api.baseUrl))
61
56
  return this.file.url;
62
57
  try {
63
- const { hostname: l } = new URL(this.file.url);
64
- if (Object.keys(o).some(
65
- (s) => l.includes(o[s].domain)
58
+ const { hostname: a } = new URL(this.file.url);
59
+ if (Object.keys(l).some(
60
+ (s) => a.includes(l[s].domain)
66
61
  ))
67
62
  return this.file.url;
68
63
  } catch {
@@ -76,21 +71,21 @@ const u = {
76
71
  this.$nextTick(() => {
77
72
  if (!this.isPdf)
78
73
  return;
79
- const l = this.$el.closest(".chapter");
80
- l && (l.style.padding = 0);
74
+ const a = this.$el.closest(".chapter");
75
+ a && (a.style.padding = 0);
81
76
  });
82
77
  },
83
78
  methods: {
84
- onUploadSuccess(l) {
85
- const { id: e, displayName: s, url: t, mime: a } = l.response;
79
+ onUploadSuccess(a) {
80
+ const { id: e, displayName: s, url: t, mime: o } = a.response;
86
81
  if (!e)
87
82
  throw new Error("Could not read id from uploaded file");
88
83
  this.file = {
89
84
  fileId: e,
90
85
  name: s,
91
- mime: a,
86
+ mime: o,
92
87
  url: t
93
- }, this.$refs.uploader.remove(l), this.uploadProgress = null;
88
+ }, this.$refs.uploader.remove(a), this.uploadProgress = null;
94
89
  }
95
90
  }
96
91
  };
@@ -115,18 +110,16 @@ var f = function() {
115
110
  } }], null, !1, 3134809537) })], 1) : e._e(), e.file ? s("div", [s("div", { class: {
116
111
  "break-before-page": e.isPdf && !e._firstBlock,
117
112
  "break-after-page": e.isPdf && !e._lastBlock
118
- } }, [e.file && e.file.url ? s("PdfViewer", { attrs: { src: e.fileUrl, docFilePath: `${e._value.file}.url` }, on: { numPages: (t) => e.numPages = t } }) : e._e()], 1)]) : e._e()]);
119
- }, p = [], c = /* @__PURE__ */ d(
113
+ } }, [e.file && e.file.url ? s("PdfViewer", { attrs: { src: e.fileUrl, "doc-file-path": `${e._value.file}.url` }, on: { numPages: (t) => e.numPages = t } }) : e._e()], 1)]) : e._e()]);
114
+ }, c = [], p = /* @__PURE__ */ d(
120
115
  u,
121
116
  f,
122
- p,
117
+ c,
123
118
  !1,
124
119
  null,
125
- null,
126
- null,
127
120
  null
128
121
  );
129
- const x = c.exports;
122
+ const _ = p.exports;
130
123
  export {
131
- x as default
124
+ _ as default
132
125
  };
@@ -0,0 +1,26 @@
1
+ import { m as o } from "./mapFormMixin-jUVHvbDZ.js";
2
+ import { n as i } from "./main-DdTHuJSP.js";
3
+ const a = {
4
+ name: "NotBinding",
5
+ components: {
6
+ Edit: () => import("./ToggleBinding-kUXMHL_T.js"),
7
+ Read: () => import("./NotBindingText-BT1Q6RMl.js")
8
+ },
9
+ mixins: [o()]
10
+ };
11
+ var r = function() {
12
+ var e;
13
+ var n = this, t = n._self._c;
14
+ return n.canEdit ? t("Edit", n._g({ attrs: { _document: n._document, _value: { notBinding: "data.notBinding" } } }, n.$listeners)) : (e = n._document.data) != null && e.notBinding ? t("Read") : n._e();
15
+ }, m = [], _ = /* @__PURE__ */ i(
16
+ a,
17
+ r,
18
+ m,
19
+ !1,
20
+ null,
21
+ "a3b56101"
22
+ );
23
+ const p = _.exports;
24
+ export {
25
+ p as default
26
+ };
@@ -0,0 +1,52 @@
1
+ import { m as s } from "./mapFormMixin-jUVHvbDZ.js";
2
+ import { r as l, n as o } from "./main-DdTHuJSP.js";
3
+ const c = {
4
+ name: "DocChapter",
5
+ components: {
6
+ CInput: l
7
+ },
8
+ mixins: [s(["title"])],
9
+ props: {
10
+ enableSpacingX: {
11
+ type: Boolean,
12
+ default: !0
13
+ },
14
+ enableSpacingY: {
15
+ type: Boolean,
16
+ default: !0
17
+ }
18
+ },
19
+ methods: {
20
+ // Naming convention used by generateTemplate-functions in order for it to choose whether or not to run on add
21
+ conditionalOnAdd() {
22
+ const a = () => this.$refs.input.focus();
23
+ this.$refs.input ? a() : this.$once("triggerOnAdd", a);
24
+ }
25
+ }
26
+ };
27
+ var p = function() {
28
+ var i;
29
+ var t = this, n = t._self._c;
30
+ return n("div", { staticClass: "chapter" }, [n("div", { staticClass: "no-drag", class: {
31
+ "chapter-spacing-x": t.enableSpacingX,
32
+ "chapter-spacing-y": t.enableSpacingY
33
+ } }, [t.canEdit && ((i = t._value) != null && i.title) ? n("CInput", { ref: "input", staticClass: "title preview-title-input", attrs: { value: t.title, spellcheck: !1, placeholder: t.$t("components:account.documentForm.titleAndText.title"), static: "" }, on: { blur: (e) => {
34
+ var r;
35
+ t.title = ((r = e.target) == null ? void 0 : r.value) || "";
36
+ }, "hook:mounted": function(e) {
37
+ return t.$emit("triggerOnAdd");
38
+ } }, nativeOn: { keydown: function(e) {
39
+ return !e.type.indexOf("key") && t._k(e.keyCode, "enter", 13, e.key, "Enter") ? null : e.target.blur();
40
+ } } }) : t.title ? n("div", { staticClass: "title" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), n("div", [t._t("default")], 2)], 1)]);
41
+ }, d = [], u = /* @__PURE__ */ o(
42
+ c,
43
+ p,
44
+ d,
45
+ !1,
46
+ null,
47
+ "a4874efe"
48
+ );
49
+ const _ = u.exports;
50
+ export {
51
+ _ as default
52
+ };
@@ -1,5 +1,5 @@
1
- import { P as n } from "./PlainHtml-9d3f71d6.js";
2
- import { n as s } from "./main-b9ea9725.js";
1
+ import { P as n } from "./PlainHtml-BfBjldPv.js";
2
+ import { n as s } from "./main-DdTHuJSP.js";
3
3
  const o = {
4
4
  name: "EstimatedTimeToCompleteTextRead",
5
5
  props: {
@@ -37,8 +37,6 @@ var i = /* @__PURE__ */ s(
37
37
  a,
38
38
  !1,
39
39
  null,
40
- null,
41
- null,
42
40
  null
43
41
  );
44
42
  const p = i.exports;