@cling-se/widget 0.14.6 → 1.0.0-beta.1

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 (127) hide show
  1. package/.eslintrc.cjs +4 -4
  2. package/README.md +40 -40
  3. package/dist/{AddClientCallout-C7abPZ87.js → AddClientCallout-BWnvyBcK.js} +3 -3
  4. package/dist/{AnswerModal-CsA2pl2P.js → AnswerModal-CLGRdSnK.js} +7 -7
  5. package/dist/{AttachmentItem-Da1-7xwf.js → AttachmentItem-BPS0-wyc.js} +3 -3
  6. package/dist/{BaseDatePicker-k9zlSi5J.js → BaseDatePicker-BbmV_GdD.js} +2 -2
  7. package/dist/{BaseUpload-BUrXX3fT.js → BaseUpload-9gPgI7r6.js} +3 -3
  8. package/dist/{BlockMedia-CYI07qAn.js → BlockMedia-DkPFWiYL.js} +2 -2
  9. package/dist/{CCallout-Qwae66vo.js → CCallout-T26jwUby.js} +4 -4
  10. package/dist/{CCurrencyDropdown-Y_u0hgBx.js → CCurrencyDropdown-qH-3m2eP.js} +4 -4
  11. package/dist/{CDropdownItem-CXJ4xD8W.js → CDropdownItem-BE8BAMD1.js} +167 -69
  12. package/dist/{CFormField--m3PvQuT.js → CFormField-DECEfoVq.js} +1 -1
  13. package/dist/{CPhoneFormat-Qg6MkDVP.js → CPhoneFormat-CfQayFxw.js} +1 -1
  14. package/dist/{CPriceInput-Dlx44UrR.js → CPriceInput-C4SOB-P5.js} +2 -2
  15. package/dist/{ClientAutocomplete-BKKc_br6.js → ClientAutocomplete-DSebA1Mx.js} +3 -3
  16. package/dist/{ClientModal-CVZFb1Br.js → ClientModal-BXFYvYCF.js} +6 -6
  17. package/dist/{ColorPicker-Bo3s3Esp.js → ColorPicker-CZ_bJabP.js} +2 -2
  18. package/dist/{CompanyModal-DadjAioS.js → CompanyModal-CDr3t28n.js} +5 -5
  19. package/dist/{ContentWrapper-BC3ZBQW9.js → ContentWrapper-BwmMoe4W.js} +9 -9
  20. package/dist/{CoverBlockSettings-B484eE4g.js → CoverBlockSettings-_F11-DGc.js} +11 -11
  21. package/dist/{DocAnswer-CcYryOWI.js → DocAnswer-BR59xzkT.js} +2 -2
  22. package/dist/{DocDetails-BigsoEWL.js → DocDetails-D1qbCbps.js} +43 -30
  23. package/dist/{DocForm-DlN0eNWt.js → DocForm-DBc2a7z5.js} +91 -92
  24. package/dist/{DocFormSend-TqKo210I.js → DocFormSend-Casix-yG.js} +4 -3
  25. package/dist/{DocLinks-DSo54vDn.js → DocLinks-DGTaewyX.js} +2 -2
  26. package/dist/{DocModalBase-XlM1SThW.js → DocModalBase-BbS_qvSv.js} +2 -2
  27. package/dist/{DocPrint-tD0Vd9Sw.js → DocPrint-0PqX3mbJ.js} +2 -2
  28. package/dist/{DocReceipt-CDHPrhXM.js → DocReceipt-CU3VD5pt.js} +1 -1
  29. package/dist/{DocSendReminder-C62RhltH.js → DocSendReminder-CuycBspr.js} +1 -1
  30. package/dist/{DocTextEditor-VjhV9IRp.js → DocTextEditor-CntS2Bd-.js} +21 -22
  31. package/dist/{DocTimeline-LcW4z3nC.js → DocTimeline-DJuv3yBe.js} +1 -1
  32. package/dist/{DocumentClient-CqbTRdpB.js → DocumentClient-C25XXzz6.js} +5 -5
  33. package/dist/{DocumentLayout-Dbf8_01r.js → DocumentLayout-B7afHRMr.js} +6 -6
  34. package/dist/{DocumentLogotype-DXYnBedV.js → DocumentLogotype-sqI51wvM.js} +4 -4
  35. package/dist/{DocumentVoided-vH1Ti5lZ.js → DocumentVoided-TahdTSMn.js} +1 -1
  36. package/dist/{EmbedInput-D9qP8OnY.js → EmbedInput-BY-wHSfc.js} +2 -2
  37. package/dist/{EmbedSettings-DISuNqJT.js → EmbedSettings-8pfjk4NP.js} +3 -3
  38. package/dist/{ErrorCallout-CCtCVwSh.js → ErrorCallout-Dsr8PNsU.js} +5 -5
  39. package/dist/{FilePreviewModal-BjhNyb6L.js → FilePreviewModal-CcEinEFg.js} +3 -3
  40. package/dist/{Flag-Dhukv9_J.js → Flag-PJKrghi9.js} +1 -1
  41. package/dist/{HeaderSettings-CK4SkB1x.js → HeaderSettings-BqczIOsG.js} +9 -9
  42. package/dist/{ImageSelectModal-DnvPZzXx.js → ImageSelectModal-Cd-HhKnH.js} +4 -4
  43. package/dist/{ImageUploadWrapper-B7cNMu5a.js → ImageUploadWrapper-Dv43rGdb.js} +3 -3
  44. package/dist/{Index-CPJVx14x.js → Index--qPMWUMT.js} +4 -4
  45. package/dist/{Index-Bh0kMSsA.js → Index-6b5VBKE-.js} +5 -5
  46. package/dist/{Index-B3HoK_cZ.js → Index-B4pRJnbw.js} +9 -9
  47. package/dist/{Index-B9H5MMHb.js → Index-B69f8qgZ.js} +5 -5
  48. package/dist/{Index-dyWK9jgr.js → Index-B79YN9RO.js} +4 -4
  49. package/dist/{Index-Bs8wprXw.js → Index-BBrlPoe8.js} +4 -4
  50. package/dist/{Index-D6bc7lg4.js → Index-BXfWJCuq.js} +3 -3
  51. package/dist/{Index-DtSSgtxB.js → Index-Bd76vb37.js} +5 -5
  52. package/dist/{Index-lKk_XKJ3.js → Index-BmbtQO5F.js} +5 -5
  53. package/dist/{Index-CNvp5K3L.js → Index-Bu0MGrj6.js} +8 -8
  54. package/dist/{Index-DuTw9vhb.js → Index-ByV_kJaH.js} +15 -15
  55. package/dist/{Index-CWrDtcfT.js → Index-CDV5rhWS.js} +4 -4
  56. package/dist/{Index-BlQSM7tC.js → Index-CIx4OOK-.js} +9 -9
  57. package/dist/{Index-CyJnSvDR.js → Index-CL1OWLt6.js} +38 -38
  58. package/dist/{Index-Dw26jtGV.js → Index-Caow0eZu.js} +5 -5
  59. package/dist/{Index-S-FHG7_k.js → Index-Cd3-3PEK.js} +316 -316
  60. package/dist/{Index-BY1UKGEO.js → Index-CdpZBEKU.js} +7 -7
  61. package/dist/{Index-BAYdvT-t.js → Index-CmU3Sys-.js} +2 -2
  62. package/dist/{Index-OxN73_fO.js → Index-CtRtgnpm.js} +5 -5
  63. package/dist/{Index-CQ325eVT.js → Index-Cukkr33D.js} +4 -4
  64. package/dist/{Index-gb11ngPS.js → Index-Cuqw0ios.js} +3 -3
  65. package/dist/{Index-B3aucNji.js → Index-Czm_WdqC.js} +4 -4
  66. package/dist/{Index-Dm8xMFGg.js → Index-D4XgxmbD.js} +2 -2
  67. package/dist/{Index-D_rfst8y.js → Index-DIOiMm9f.js} +2 -2
  68. package/dist/{Index-DCR8ev4U.js → Index-DNdYXHgr.js} +4 -4
  69. package/dist/{Index-BLeQprjq.js → Index-DcQbh-z2.js} +2 -2
  70. package/dist/{Index-BpcJBGGd.js → Index-DcuBxutp.js} +59 -59
  71. package/dist/{Index-DXAvlq74.js → Index-DpWNWiyY.js} +13 -14
  72. package/dist/{Index-DGQSB9cH.js → Index-DzS1rZdF.js} +3 -3
  73. package/dist/{Index-CFo-3Y5Q.js → Index-N6s5pZxv.js} +7 -7
  74. package/dist/{Index-ZFkitzfq.js → Index-g_DNu4mt.js} +5 -5
  75. package/dist/{Index-BOyvQlng.js → Index-mJ8F41GY.js} +6 -6
  76. package/dist/{Index-BvZZAvFd.js → Index-q7W9KA8m.js} +2 -2
  77. package/dist/{Index-BVsw2tak.js → Index-rtzblZp4.js} +6 -6
  78. package/dist/{InputToggleRow-DSSvhPKA.js → InputToggleRow-CZjxsDOQ.js} +2 -2
  79. package/dist/{ManualPopover-lpJYSkw5.js → ManualPopover-CZrWiT-P.js} +1 -1
  80. package/dist/{MediaWrapper-BQ22FA2B.js → MediaWrapper-D37qK4KR.js} +3 -3
  81. package/dist/{NotBindingText-JxwzZLPP.js → NotBindingText-CNV2Wmdx.js} +2 -2
  82. package/dist/{PackageGroup-BLSMSUDz.js → PackageGroup-Heo_s8ct.js} +10 -10
  83. package/dist/{PdfTerms-DtutjM5Y.js → PdfTerms-AB9tXAtU.js} +3 -3
  84. package/dist/{PdfViewer-BsxcZI_x.js → PdfViewer-CIVkvOBr.js} +12 -13
  85. package/dist/{PlainHtml-BMPZs2fT.js → PlainHtml-CPmIebjY.js} +1 -1
  86. package/dist/{PriceHeader-BRYY01H2.js → PriceHeader-DhDAruwX.js} +13 -13
  87. package/dist/{SearchApi-6001iFxU.js → SearchApi-BMgdaI4s.js} +2 -2
  88. package/dist/{Setup-cw6jMI9M.js → Setup-VIaIV9uT.js} +1 -1
  89. package/dist/{SmartList-q6H-uLbm.js → SmartList-Qgu0rMrI.js} +1 -1
  90. package/dist/{TermsSettings-DWvaPneu.js → TermsSettings-CE3h_xkm.js} +4 -4
  91. package/dist/{ThemeColorRow-BXWnvfz-.js → ThemeColorRow-DYJNgk6S.js} +4 -4
  92. package/dist/{ToggleBinding-DydtwpNG.js → ToggleBinding-CuwCeYpO.js} +3 -3
  93. package/dist/{UploadModal-D_EDKHGD.js → UploadModal-BITcxG-J.js} +3 -3
  94. package/dist/{VideoPlayerInput-B9yzUeBW.js → VideoPlayerInput-8szEX_8L.js} +3 -3
  95. package/dist/{VideoPlayerSettings-Bvp9l0yj.js → VideoPlayerSettings-BIPytm6w.js} +3 -3
  96. package/dist/{VideoSelectModal-DY3N4JiS.js → VideoSelectModal-B-Pe34nb.js} +4 -4
  97. package/dist/{answerDocumentMixin-BYZPU_R-.js → answerDocumentMixin-W7vE1Gp4.js} +3 -3
  98. package/dist/{debounce-BPnlzNwd.js → debounce-C1AuSpOZ.js} +1 -1
  99. package/dist/{focusDrawerMixin-DC9Oa1i7.js → focusDrawerMixin-Be6BAK8-.js} +1 -1
  100. package/dist/{formComponentsInstall-CEW6TK6z.js → formComponentsInstall-Bm3VMOh6.js} +51 -43
  101. package/dist/{formDrawerState-CAzvSMiQ.js → formDrawerState-DRbg5rVI.js} +1 -1
  102. package/dist/{formValidationMixin-D7zXxCpC.js → formValidationMixin-COkY8COk.js} +2 -2
  103. package/dist/{index-BbscgdRg.js → index-BFvjENMH.js} +1 -1
  104. package/dist/{index-BDMI4NVY.js → index-BV2nGWay.js} +1 -1
  105. package/dist/{index-B9WDC3Xe.js → index-BgJ05dYc.js} +10 -11
  106. package/dist/{index-CLUljEDI.js → index-CMPAXxzs.js} +8 -8
  107. package/dist/{index-BCMaUC5r.js → index-DNDjI5uI.js} +7 -7
  108. package/dist/{index-SxyZvewN.js → index-aoff9oUi.js} +2 -2
  109. package/dist/index.es.js +3 -3
  110. package/dist/index.umd.js +106 -106
  111. package/dist/{main-CQBEuZk9.js → main-WKzC-Dnu.js} +879 -878
  112. package/dist/{mapFormMixin-DlFcgwhm.js → mapFormMixin-QbevCwJK.js} +1 -1
  113. package/dist/{omit-BWy0Zhd3.js → omit-CTp9CXoU.js} +1 -1
  114. package/dist/{publicSenderState-CvOcFv2U.js → publicSenderState-BujjYsZZ.js} +1 -1
  115. package/dist/style.css +2 -2
  116. package/dist/{throttle-BrC8eGjQ.js → throttle-CWPJmFid.js} +2 -2
  117. package/dist/{tinycolor-PhFP695w.js → tinycolor-kTl0yxzz.js} +1 -1
  118. package/dist/{tippy.esm-7dmKOUvu.js → tippy.esm-sS5koDSU.js} +6 -6
  119. package/dist/{utils-NBLgNGHR.js → utils-CA_Zy6u1.js} +1 -1
  120. package/dist/{vuedraggable.umd-ByfH7ZxC.js → vuedraggable.umd-BA3ZDRAp.js} +1 -1
  121. package/package.json +1 -1
  122. package/tsconfig.json +26 -26
  123. package/tsconfig.node.json +10 -10
  124. package/tsconfig.paths.json +17 -17
  125. package/vite.config.ts +60 -60
  126. package/dist/dom-CJxkno7i.js +0 -91
  127. /package/dist/{CTabs.vue_vue_type_style_index_0_scoped_b7262014_lang-l0sNRNKZ.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { S as o } from "./SearchApi-6001iFxU.js";
2
- import { n as l, y as c } from "./main-CQBEuZk9.js";
1
+ import { S as o } from "./SearchApi-BMgdaI4s.js";
2
+ import { n as l, y as c } from "./main-WKzC-Dnu.js";
3
3
  const i = {
4
4
  i18nOptions: {
5
5
  namespaces: "components",
@@ -70,7 +70,7 @@ var u = function() {
70
70
  d,
71
71
  !1,
72
72
  null,
73
- "dd1b240c"
73
+ "7407276e"
74
74
  );
75
75
  const h = f.exports;
76
76
  export {
@@ -1,9 +1,9 @@
1
- import { C as v } from "./ClientAutocomplete-BKKc_br6.js";
2
- import { E as p, a9 as y, I as C, n as u, b as l, d as b, c as _, g as c, aa as $, y as w } from "./main-CQBEuZk9.js";
3
- import { w as f } from "./CDropdownItem-CXJ4xD8W.js";
4
- import { v as r } from "./index-BDMI4NVY.js";
1
+ import { C as v } from "./ClientAutocomplete-DSebA1Mx.js";
2
+ import { E as p, a9 as y, I as C, n as u, b as l, d as b, c as _, g as c, aa as $, y as w } from "./main-WKzC-Dnu.js";
3
+ import { w as f } from "./CDropdownItem-BE8BAMD1.js";
4
+ import { v as r } from "./index-BV2nGWay.js";
5
5
  import { m as g, b as x, a as k } from "./vuex.esm-DKGl8mcw.js";
6
- import { o as N } from "./omit-BWy0Zhd3.js";
6
+ import { o as N } from "./omit-CTp9CXoU.js";
7
7
  function h(a) {
8
8
  if (typeof a > "u")
9
9
  throw Error("Missing param inputParam");
@@ -401,7 +401,7 @@ var M = function() {
401
401
  z,
402
402
  !1,
403
403
  null,
404
- "2405400e"
404
+ "99750061"
405
405
  );
406
406
  const R = O.exports, { mapFields: q } = p({
407
407
  getterType: "forms/getField",
@@ -1,4 +1,4 @@
1
- import { a5 as ht, n as bt } from "./main-CQBEuZk9.js";
1
+ import { a5 as ht, n as bt } from "./main-WKzC-Dnu.js";
2
2
  var vt = { exports: {} };
3
3
  (function(gt, Ct) {
4
4
  (function(c, i) {
@@ -2871,7 +2871,7 @@ var yt = /* @__PURE__ */ bt(
2871
2871
  wt,
2872
2872
  !1,
2873
2873
  null,
2874
- "d5b1f2a4"
2874
+ "c60bd4ad"
2875
2875
  );
2876
2876
  const Ft = yt.exports;
2877
2877
  export {
@@ -1,8 +1,8 @@
1
- import { w as r } from "./CDropdownItem-CXJ4xD8W.js";
2
- import { E as l, g as s, n as c } from "./main-CQBEuZk9.js";
3
- import { v as o } from "./index-BDMI4NVY.js";
1
+ import { w as r } from "./CDropdownItem-BE8BAMD1.js";
2
+ import { E as l, g as s, n as c } from "./main-WKzC-Dnu.js";
3
+ import { v as o } from "./index-BV2nGWay.js";
4
4
  import { m as p, b as n, a as d } from "./vuex.esm-DKGl8mcw.js";
5
- import { s as m, a as u } from "./publicSenderState-CvOcFv2U.js";
5
+ import { s as m, a as u } from "./publicSenderState-BujjYsZZ.js";
6
6
  const { mapFields: f } = l({
7
7
  getterType: "forms/getField",
8
8
  mutationType: "forms/updateField"
@@ -133,7 +133,7 @@ var h = function() {
133
133
  g,
134
134
  !1,
135
135
  null,
136
- "01341cfe"
136
+ "20ecbb22"
137
137
  );
138
138
  const S = C.exports;
139
139
  export {
@@ -1,8 +1,8 @@
1
- import { m as n } from "./mapFormMixin-DlFcgwhm.js";
2
- import { B as l } from "./BlockMedia-CYI07qAn.js";
3
- import { t as r } from "./tinycolor-PhFP695w.js";
4
- import { T as i } from "./DocTextEditor-VjhV9IRp.js";
5
- import { n as s, ab as c, z as u, B as m, A as p } from "./main-CQBEuZk9.js";
1
+ import { m as n } from "./mapFormMixin-QbevCwJK.js";
2
+ import { B as l } from "./BlockMedia-DkPFWiYL.js";
3
+ import { t as r } from "./tinycolor-kTl0yxzz.js";
4
+ import { T as i } from "./DocTextEditor-CntS2Bd-.js";
5
+ import { n as s, ab as c, z as u, B as m, A as p } from "./main-WKzC-Dnu.js";
6
6
  import { i as d } from "./i18nMessages-Chz_lxGG.js";
7
7
  const _ = {
8
8
  name: "StaticComboLayout",
@@ -24,7 +24,7 @@ var f = function() {
24
24
  x,
25
25
  !1,
26
26
  null,
27
- "430dee73"
27
+ "8e41c57b"
28
28
  );
29
29
  const h = y.exports, v = {
30
30
  name: "StaticLayout",
@@ -33,7 +33,7 @@ const h = y.exports, v = {
33
33
  messages: d
34
34
  },
35
35
  components: {
36
- DocumentLogotype: () => import("./DocumentLogotype-DXYnBedV.js"),
36
+ DocumentLogotype: () => import("./DocumentLogotype-sqI51wvM.js"),
37
37
  StaticComboLayout: h,
38
38
  TextEditor: i
39
39
  },
@@ -121,7 +121,7 @@ var g = function() {
121
121
  T,
122
122
  !1,
123
123
  null,
124
- "709166f1"
124
+ "5e1fe7d6"
125
125
  );
126
126
  const C = b.exports, w = {
127
127
  name: "ContentWrapper",
@@ -175,7 +175,7 @@ var S = function() {
175
175
  $,
176
176
  !1,
177
177
  null,
178
- "62c6ef68"
178
+ "3dfe0998"
179
179
  );
180
180
  const z = L.exports;
181
181
  export {
@@ -1,6 +1,6 @@
1
- import { m as d } from "./mapFormMixin-DlFcgwhm.js";
2
- import { T as l } from "./ThemeColorRow-BXWnvfz-.js";
3
- import { n as s, P as p, H as u } from "./main-CQBEuZk9.js";
1
+ import { m as d } from "./mapFormMixin-QbevCwJK.js";
2
+ import { T as l } from "./ThemeColorRow-DYJNgk6S.js";
3
+ import { n as s, P as p, H as u } from "./main-WKzC-Dnu.js";
4
4
  const m = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180, v = {
5
5
  name: "DegreePicker",
6
6
  props: {
@@ -46,15 +46,15 @@ const m = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180,
46
46
  var g = function() {
47
47
  var e = this, t = e._self._c;
48
48
  return t("div", { staticClass: "gradient-degrees-options" }, [t("div", { staticStyle: { "pointer-events": "none", "user-select": "none", "padding-right": "0.5em", opacity: "0.75" } }, [t("div", [e._v(e._s(e.value) + "°")])]), t("div", { staticClass: "gradient-degrees", on: { mousedown: e.onButtonDown } }, [t("div", { staticClass: "gradient-degree-center", style: e.degreesStyle }, [t("div", { staticClass: "gradient-degree-pointer" })])])]);
49
- }, f = [], _ = /* @__PURE__ */ s(
49
+ }, _ = [], f = /* @__PURE__ */ s(
50
50
  v,
51
51
  g,
52
- f,
52
+ _,
53
53
  !1,
54
54
  null,
55
- "9d7cb204"
55
+ "0c48c700"
56
56
  );
57
- const y = _.exports, h = {
57
+ const y = f.exports, h = {
58
58
  name: "GradientPicker",
59
59
  i18nOptions: {
60
60
  namespaces: "gradientPicker",
@@ -132,11 +132,11 @@ var C = function() {
132
132
  b,
133
133
  !1,
134
134
  null,
135
- "8dae9e23"
135
+ "e22a6b42"
136
136
  );
137
137
  const $ = w.exports, x = {
138
- image: () => import("./ImageSelectModal-DnvPZzXx.js"),
139
- video: () => import("./VideoSelectModal-DY3N4JiS.js")
138
+ image: () => import("./ImageSelectModal-Cd-HhKnH.js"),
139
+ video: () => import("./VideoSelectModal-B-Pe34nb.js")
140
140
  }, S = {
141
141
  name: "CoverBlockSettings",
142
142
  i18nOptions: {
@@ -267,7 +267,7 @@ var k = function() {
267
267
  R,
268
268
  !1,
269
269
  null,
270
- "ac3e3e8f"
270
+ "30a9943d"
271
271
  );
272
272
  const B = D.exports;
273
273
  export {
@@ -1,5 +1,5 @@
1
- import r from "./AnswerModal-CsA2pl2P.js";
2
- import { n as o } from "./main-CQBEuZk9.js";
1
+ import r from "./AnswerModal-CLGRdSnK.js";
2
+ import { n as o } from "./main-WKzC-Dnu.js";
3
3
  const t = {
4
4
  components: {
5
5
  AnswerModal: r
@@ -1,7 +1,7 @@
1
- import { D as f } from "./DocumentVoided-vH1Ti5lZ.js";
2
- import { C as g, a as h, w } from "./CDropdownItem-CXJ4xD8W.js";
3
- import { n as r, ag as $, b as x, ah as y, ai as b, aj as C } from "./main-CQBEuZk9.js";
4
- import { C as S } from "./CPhoneFormat-Qg6MkDVP.js";
1
+ import { D as f } from "./DocumentVoided-TahdTSMn.js";
2
+ import { C as g, a as h, w } from "./CDropdownItem-BE8BAMD1.js";
3
+ import { n as c, ag as $, b as y, ah as x, ai as b, aj as C } from "./main-WKzC-Dnu.js";
4
+ import { C as S } from "./CPhoneFormat-CfQayFxw.js";
5
5
  const D = {
6
6
  name: "PublicDocumentEvents",
7
7
  props: {
@@ -14,7 +14,7 @@ const D = {
14
14
  events() {
15
15
  const s = [], { acceptedAt: e } = this.document;
16
16
  return this.document.events.filter(({ createdAt: t }) => e ? $(e, t) : !0).forEach((t) => {
17
- const { code: i, createdAt: n, children: c = [] } = t;
17
+ const { code: i, createdAt: n, children: r = [] } = t;
18
18
  let { data: l = {} } = t;
19
19
  l === null && (l = {});
20
20
  const { client: a = {}, clients: u = [], status: p, counter: _ } = l, m = {
@@ -31,7 +31,7 @@ const D = {
31
31
  };
32
32
  }),
33
33
  viewed: () => {
34
- const o = _ || c.length + 1;
34
+ const o = _ || r.length + 1;
35
35
  return [
36
36
  {
37
37
  text: `${this.document.$t(
@@ -103,7 +103,7 @@ const D = {
103
103
  });
104
104
  }
105
105
  }, z = null, k = null;
106
- var P = /* @__PURE__ */ r(
106
+ var P = /* @__PURE__ */ c(
107
107
  D,
108
108
  z,
109
109
  k,
@@ -111,7 +111,7 @@ var P = /* @__PURE__ */ r(
111
111
  null,
112
112
  null
113
113
  );
114
- const F = P.exports, A = {
114
+ const F = P.exports, L = {
115
115
  name: "PublicRecipientItem",
116
116
  i18nOptions: {
117
117
  namespaces: "components",
@@ -127,13 +127,13 @@ const F = P.exports, A = {
127
127
  }
128
128
  },
129
129
  methods: {
130
- get: x,
130
+ get: y,
131
131
  getBrowserString({ browser: s, os: e, device: t }) {
132
132
  return [s && s.name, e && e.name, t && t.model].filter((i) => !!i).join(", ");
133
133
  }
134
134
  }
135
135
  };
136
- var R = function() {
136
+ var A = function() {
137
137
  var e = this, t = e._self._c;
138
138
  return t("div", { staticStyle: { border: "1px solid hsl(0, 0%, 84%)", "border-radius": "3px", "margin-bottom": "1em" } }, [t("div", { staticStyle: { padding: "0.5em 0.75em" } }, [e._l([
139
139
  e.recipient.name,
@@ -144,15 +144,15 @@ var R = function() {
144
144
  }), t("div", { staticClass: "flex w-full flex-col", staticStyle: { "font-size": "14px", "align-items": "baseline" } }, [e.recipient.email ? t("a", { attrs: { href: `mailto:${e.recipient.email}`, target: "_blank" } }, [e._v(" " + e._s(e.recipient.email) + " ")]) : e._e(), e.recipient.cellphone ? t("CPhoneFormat", { attrs: { phone: e.recipient.cellphone, region: e.recipient.cellphoneRegion }, scopedSlots: e._u([{ key: "default", fn: function({ formattedValue: i }) {
145
145
  return t("a", { attrs: { href: `tel:${e.recipient.cellphone}` } }, [e._v(" " + e._s(i) + " ")]);
146
146
  } }], null, !1, 2469850174) }) : e._e()], 1)], 2), t("div", { staticStyle: { "background-color": "hsl(0, 0%, 94%)", padding: "0.75em 0.75em", "font-weight": "500", "font-size": "13px", "line-height": "1", color: "hsl(0, 0%, 40%)", position: "relative" } }, [t("div", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.recipient.documentRole}.label`)) + " ")]), t("div", { staticStyle: { position: "absolute", right: "1em", top: "0px", transform: "translate(0, -50%)" } }, [t("v-popover", { attrs: { "popover-inner-class": "signee-popover", trigger: "hover", placement: "bottom-end" } }, [e.recipient.documentRole === "signee" ? t("div", { staticStyle: { padding: "5px 0.75em", background: "hsl(0, 0%, 60%)", "border-radius": "4px", "font-size": "13px", color: "hsl(0, 0%, 100%)", cursor: "default", display: "inline-flex", "align-items": "center" } }, [t("CIcon", { staticStyle: { "margin-right": "0.5ch" }, attrs: { size: 15, type: "info", "stroke-width": "2" } }), e.recipient.answer && e.recipient.answer.didAccept ? [e._v(" " + e._s(e.$t("_common:approved").capitalize()) + " ")] : e.recipient.answer ? [e._v(" " + e._s(e.$t("_common:denied").capitalize()) + " ")] : [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.waitingForAnswer")) + " ")]], 2) : e._e(), t("div", { staticStyle: { padding: "0" }, attrs: { slot: "popover" }, slot: "popover" }, [t("div", { staticStyle: { padding: "1em 1.5em" } }, [e.recipient.answer && e.recipient.answer.didAccept ? [e.recipient.answer.signatureDataURL ? t("div", { staticStyle: { "padding-bottom": "0.5em" } }, [t("div", { staticClass: "has-text-grey", staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("_common:signature").capitalize()) + " ")]), t("img", { staticStyle: { width: "80%" }, attrs: { src: e.recipient.answer.signatureDataURL } })]) : t("div", { staticStyle: { "font-size": "13px", "padding-top": "3px" } }, [e.get(e.recipient, "answerMethod.accept") === "bankId" ? [t("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.recipient.signedBankId")) + " ")]), t("div", [e._v(e._s(e.recipient.answer.response.name))]), t("div", [e._v(e._s(e.recipient.socialNo))])] : e.get(e.recipient, "answerMethod.accept") === "login" ? t("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.recipient.verifiedLogin")) + " ")]) : e._e()], 2)] : e.recipient.answer ? t("div", [e._v(" " + e._s(e.$t("_common:denied").capitalize()) + " ")]) : t("div", [e._v(" " + e._s(e.$t("pendingAnswer")) + " ")])], 2), e.recipient.answer ? t("div", { staticStyle: { padding: "8px 1.5em", "border-top": "1px solid hsl(0deg 0% 88%)", "background-color": "hsl(0deg 0% 95%)", "font-size": "13px", color: "hsl(0, 0%, 35%)", "font-weight": "500" } }, [e.recipient.answer.didAnswerAt ? t("div", [t("div", [e._v(" " + e._s(e.$t("_common:date").capitalize()) + ": " + e._s(e.$formatDate(e.recipient.answer.didAnswerAt, "P")) + " ")]), t("div", [e._v(" " + e._s(e.$t("_common:time").capitalize()) + ": " + e._s(e.$formatDate(e.recipient.answer.didAnswerAt, "p")) + " ")])]) : e._e(), e.recipient.answer.ip ? t("div", [e._v(" IP: " + e._s(e.recipient.answer.ip) + " ")]) : e._e(), e.recipient.answer.browser ? t("div", [e._v(" Browser: " + e._s(e.getBrowserString(e.recipient.answer)) + " ")]) : e._e()]) : e._e()])])], 1)])]);
147
- }, L = [], j = /* @__PURE__ */ r(
147
+ }, R = [], j = /* @__PURE__ */ c(
148
+ L,
148
149
  A,
149
150
  R,
150
- L,
151
151
  !1,
152
152
  null,
153
- "28784b79"
153
+ "eee5c92d"
154
154
  );
155
- const I = j.exports, q = {
155
+ const I = j.exports, B = {
156
156
  name: "DocumentDetails",
157
157
  components: {
158
158
  PublicDocumentEvents: F,
@@ -169,17 +169,28 @@ const I = j.exports, q = {
169
169
  openPrintFunc: {
170
170
  type: Function,
171
171
  default: null
172
+ },
173
+ showLanguageSelect: {
174
+ type: Boolean,
175
+ default: !0
176
+ },
177
+ close: {
178
+ type: Function,
179
+ default: null
172
180
  }
173
181
  },
174
182
  data() {
175
183
  return {
176
- docLanguages: y,
184
+ docLanguages: x,
177
185
  nativeTranslations: b
178
186
  };
179
187
  },
180
188
  computed: {
181
189
  viewer() {
182
190
  return this.document.viewer;
191
+ },
192
+ showActionNav() {
193
+ return !!(this.openPrintFunc || this.showLanguageSelect || this.close);
183
194
  }
184
195
  },
185
196
  methods: {
@@ -190,30 +201,28 @@ const I = j.exports, q = {
190
201
  }
191
202
  }
192
203
  };
193
- var O = function() {
204
+ var q = function() {
194
205
  var e = this, t = e._self._c;
195
- return t("div", { staticClass: "relative flex h-full w-full flex-col overflow-hidden rounded-lg bg-white text-base shadow-md" }, [t("div", { staticClass: "z-10 flex w-full items-center justify-end px-6 py-4 shadow-sm" }, [e.openPrintFunc ? [t("CButton", { staticStyle: { "padding-left": "1em", "padding-right": "1em" }, attrs: { "icon-left": "print", type: "none", pattern: "tertiary", taller: "", size: "small" }, on: { click: e.openPrintFunc } }, [e._v(" " + e._s(e.document.$t("download", { thing: "PDF" })) + " ")]), t("div", { staticStyle: { height: "2rem", width: "1px", "background-color": "hsl(0, 0%, 88%)", margin: "0 6px" } })] : e._e(), t("CDropdown", { attrs: { value: e.document.language } }, [t("CButton", { staticStyle: { color: "hsla(0, 0%, 45%, 1)" }, attrs: { slot: "trigger", "icon-props": { size: 18 }, size: "normal", icon: "globe", circle: "" }, slot: "trigger" }), e._l(e.docLanguages, function(i) {
206
+ return t("div", { staticClass: "relative flex h-full w-full flex-col overflow-hidden rounded-lg bg-white text-base" }, [e.showActionNav ? t("div", { staticClass: "z-10 flex w-full items-center justify-end px-6 py-4 shadow-sm" }, [e.openPrintFunc ? [t("CButton", { staticStyle: { "padding-left": "1em", "padding-right": "1em" }, attrs: { "icon-left": "print", type: "none", pattern: "tertiary", taller: "", size: "small" }, on: { click: e.openPrintFunc } }, [e._v(" " + e._s(e.document.$t("download", { thing: "PDF" })) + " ")]), t("div", { staticStyle: { height: "2rem", width: "1px", "background-color": "hsl(0, 0%, 88%)", margin: "0 6px" } })] : e._e(), e.showLanguageSelect ? t("CDropdown", { attrs: { value: e.document.language } }, [t("CButton", { staticStyle: { color: "hsla(0, 0%, 45%, 1)" }, attrs: { slot: "trigger", "icon-props": { size: 18 }, size: "normal", icon: "globe", circle: "" }, slot: "trigger" }), e._l(e.docLanguages, function(i) {
196
207
  return t("CDropdownItem", { key: i, attrs: { value: i }, on: { click: function(n) {
197
208
  return e.changeLanguage(i);
198
209
  } } }, [e._v(" " + e._s(e.nativeTranslations[i]) + " ")]);
199
- })], 2), t("CButton", { staticStyle: { "margin-left": "6px", color: "hsla(0, 0%, 45%, 1)" }, attrs: { "icon-props": { size: 18 }, size: "normal", icon: "x", circle: "" }, on: { click: function(i) {
200
- return e.$emit("close");
201
- } } })], 2), t("div", { staticClass: "d-root h-full min-h-0 flex-1 overflow-auto px-6 py-8 md:px-12 md:py-16" }, [t("div", { staticClass: "mb-[3em] flex justify-between" }, [t("div", [t("div", { staticStyle: { "font-size": "18px", "font-weight": "600" } }, [e._v(" " + e._s(e.document.$t("detail_plural").capitalize()) + " ")]), t("div", { staticClass: "has-text-grey", staticStyle: { "font-size": "14px" } }, [e._v(" " + e._s(e.document.$t("documentDetails.subTitle")) + " ")])])]), t("div", { staticClass: "d-option", staticStyle: { "margin-bottom": "3em" } }, [t("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "0.5rem" } }, [e._v(" " + e._s(e.document.$t("participant_plural").capitalize()) + " ")]), e._l(e.document.recipients, function(i, n) {
210
+ })], 2) : e._e(), e.close ? t("CButton", { staticStyle: { "margin-left": "6px", color: "hsla(0, 0%, 45%, 1)" }, attrs: { "icon-props": { size: 18 }, size: "normal", icon: "x", circle: "" }, on: { click: e.close } }) : e._e()], 2) : e._e(), t("div", { staticClass: "d-root h-full min-h-0 flex-1 overflow-auto px-6 py-8 md:px-12 md:py-16" }, [t("div", { staticClass: "mb-[3em] flex justify-between" }, [t("div", [t("div", { staticStyle: { "font-size": "18px", "font-weight": "600" } }, [e._v(" " + e._s(e.document.$t("detail_plural").capitalize()) + " ")]), t("div", { staticClass: "has-text-grey", staticStyle: { "font-size": "14px" } }, [e._v(" " + e._s(e.document.$t("documentDetails.subTitle")) + " ")])])]), t("div", { staticClass: "d-option", staticStyle: { "margin-bottom": "3em" } }, [t("div", { staticClass: "d-option-title", staticStyle: { "padding-bottom": "0.5rem" } }, [e._v(" " + e._s(e.document.$t("participant_plural").capitalize()) + " ")]), e._l(e.document.recipients, function(i, n) {
202
211
  return t("PublicRecipientItem", { key: i._uniqueId + n, attrs: { recipient: i } });
203
212
  })], 2), t("PublicDocumentEvents", { attrs: { document: e.document }, scopedSlots: e._u([{ key: "default", fn: function({ events: i }) {
204
- return [i && i.length ? t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(" " + e._s(e.document.$t("event.event_plural").capitalize()) + " ")]), t("div", { attrs: { id: "timeline" } }, [t("div", e._l(i, function(n, c) {
205
- return t("div", { key: c, staticClass: "e-item" }, [t("div", { staticClass: "e-data" }, [t("div", { staticClass: "e-text" }, [e._v(e._s(n.text))]), t("div", { staticClass: "e-timestamp" }, [t("div", { staticClass: "e-date" }, [e._v(e._s(e.$formatDate(n.time, "P")))]), t("div", { staticClass: "e-time", staticStyle: { "padding-left": "0.5ch" } }, [e._v(" " + e._s(e.$formatDate(n.time, "p")) + " ")])])])]);
213
+ return [i && i.length ? t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(" " + e._s(e.document.$t("event.event_plural").capitalize()) + " ")]), t("div", { attrs: { id: "timeline" } }, [t("div", e._l(i, function(n, r) {
214
+ return t("div", { key: r, staticClass: "e-item" }, [t("div", { staticClass: "e-data" }, [t("div", { staticClass: "e-text" }, [e._v(e._s(n.text))]), t("div", { staticClass: "e-timestamp" }, [t("div", { staticClass: "e-date" }, [e._v(e._s(e.$formatDate(n.time, "P")))]), t("div", { staticClass: "e-time", staticStyle: { "padding-left": "0.5ch" } }, [e._v(" " + e._s(e.$formatDate(n.time, "p")) + " ")])])])]);
206
215
  }), 0)])]) : e._e()];
207
216
  } }]) }), e.mq === "sm" ? t("div", [e._t("footer")], 2) : e._e()], 1), e.mq !== "sm" ? t("div", [e._t("footer")], 2) : e._e()]);
208
- }, B = [], N = /* @__PURE__ */ r(
209
- q,
210
- O,
217
+ }, N = [], O = /* @__PURE__ */ c(
211
218
  B,
219
+ q,
220
+ N,
212
221
  !1,
213
222
  null,
214
- "bc6efd6a"
223
+ "96a06d9f"
215
224
  );
216
- const V = N.exports, E = {
225
+ const V = O.exports, E = {
217
226
  components: {
218
227
  DocumentDetails: V,
219
228
  DocumentVoided: f
@@ -226,19 +235,23 @@ const V = N.exports, E = {
226
235
  closeFunc: {
227
236
  type: Function,
228
237
  default: null
238
+ },
239
+ showLanguageSelect: {
240
+ type: Boolean,
241
+ default: !0
229
242
  }
230
243
  }
231
244
  };
232
245
  var T = function() {
233
246
  var e = this, t = e._self._c;
234
- return e.document && e.document.status === "voided" ? t("DocumentVoided", { attrs: { document: e.document } }) : t("DocumentDetails", { attrs: { document: e.document }, on: { close: e.closeFunc } });
235
- }, M = [], U = /* @__PURE__ */ r(
247
+ return e.document && e.document.status === "voided" ? t("DocumentVoided", { attrs: { document: e.document } }) : t("DocumentDetails", { attrs: { document: e.document, "show-language-select": e.showLanguageSelect, close: e.closeFunc } });
248
+ }, M = [], U = /* @__PURE__ */ c(
236
249
  E,
237
250
  T,
238
251
  M,
239
252
  !1,
240
253
  null,
241
- "a913ff7e"
254
+ "f3d78687"
242
255
  );
243
256
  const K = U.exports;
244
257
  export {