@cling-se/widget 0.9.33 → 0.10.2

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 (120) hide show
  1. package/dist/{AddClientCallout-5d2a5eaa.js → AddClientCallout-c91ca331.js} +5 -5
  2. package/dist/{AnswerModal-39f81c0e.js → AnswerModal-8a2e1b96.js} +47 -47
  3. package/dist/{AttachmentItem-5d900d83.js → AttachmentItem-2fcd4102.js} +15 -10
  4. package/dist/{BaseDatePicker-92562106.js → BaseDatePicker-764430e7.js} +2 -2
  5. package/dist/{BaseInput-1c9d9daf.js → BaseInput-16ff95d4.js} +1 -1
  6. package/dist/{BaseUpload-078e4666.js → BaseUpload-cde6c150.js} +25 -25
  7. package/dist/{BlockMedia-4155dbd6.js → BlockMedia-73c89da8.js} +1 -1
  8. package/dist/{CCallout-46b3d405.js → CCallout-80f62120.js} +2 -2
  9. package/dist/{CDropdownItem-9b1ca709.js → CDropdownItem-b703493e.js} +1 -1
  10. package/dist/{CField-d7edf10c.js → CField-82e3942c.js} +1 -1
  11. package/dist/{CPhoneFormat-40bd6283.js → CPhoneFormat-6f544ea2.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-12f32bb7.js → CSlider.vue_vue_type_style_index_0_lang-ee3915b1.js} +1 -1
  13. package/dist/{ClientAutocomplete-a6bb0940.js → ClientAutocomplete-ea981ce9.js} +2 -2
  14. package/dist/{ClientModal-e5f7b4b8.js → ClientModal-b1f06e4b.js} +5 -5
  15. package/dist/{ColorPicker-c1b32ad5.js → ColorPicker-db332e31.js} +1 -1
  16. package/dist/{CompanyModal-977515ec.js → CompanyModal-37d80a52.js} +3 -3
  17. package/dist/{ContentWrapper-62f4579f.js → ContentWrapper-530ac6c4.js} +13 -13
  18. package/dist/{CoverBlockSettings-7226a5b6.js → CoverBlockSettings-70f33b4e.js} +9 -9
  19. package/dist/DocAnswer-b3af9c74.js +43 -0
  20. package/dist/{DocDetails-8172e555.js → DocDetails-4569f591.js} +46 -37
  21. package/dist/{DocForm-3d4d126b.js → DocForm-e6dbd1b7.js} +602 -600
  22. package/dist/{DocFormSend-237ec151.js → DocFormSend-097fad46.js} +51 -38
  23. package/dist/DocLinks-de9a4377.js +41 -0
  24. package/dist/{DocModalBase-f3267f66.js → DocModalBase-1d7b3e3a.js} +1 -1
  25. package/dist/{DocPrint-2925c8e3.js → DocPrint-1747a6cc.js} +1 -1
  26. package/dist/{DocReceipt-ac09c964.js → DocReceipt-a7b28565.js} +1 -1
  27. package/dist/{DocSendReminder-e1999f4e.js → DocSendReminder-f9861a59.js} +1 -1
  28. package/dist/{DocTextEditor-25220c68.js → DocTextEditor-5ca1ab49.js} +8 -8
  29. package/dist/{DocTimeline-5eb73448.js → DocTimeline-fed91a61.js} +1 -1
  30. package/dist/{DocumentClient-321f7941.js → DocumentClient-a10eb849.js} +7 -7
  31. package/dist/{DocumentLayout-a798e912.js → DocumentLayout-3a00c75c.js} +5 -5
  32. package/dist/{DocumentLogotype-b87b1b6d.js → DocumentLogotype-47bdfc02.js} +3 -3
  33. package/dist/{DocumentVoided-f0601bd6.js → DocumentVoided-10eb3206.js} +1 -1
  34. package/dist/{EmbedInput-39a03d94.js → EmbedInput-a393b7a7.js} +2 -2
  35. package/dist/{EmbedSettings-554aac05.js → EmbedSettings-e34184f5.js} +3 -3
  36. package/dist/{ErrorCallout-21273503.js → ErrorCallout-bb4bb30b.js} +1 -1
  37. package/dist/{FilePreviewModal-29a98271.js → FilePreviewModal-63bf0717.js} +5 -5
  38. package/dist/{Flag-6e070aa2.js → Flag-952ef47c.js} +1 -1
  39. package/dist/{HeaderSettings-61efccf5.js → HeaderSettings-0f324256.js} +15 -15
  40. package/dist/{ImageSelectModal-fd5cd1d6.js → ImageSelectModal-9454fc9b.js} +8 -8
  41. package/dist/{ImageUploadWrapper-f7f6033b.js → ImageUploadWrapper-0f3f712f.js} +2 -2
  42. package/dist/{Index-2beebe64.js → Index-08b3f0d9.js} +6 -6
  43. package/dist/{Index-fdbed274.js → Index-11417826.js} +1 -1
  44. package/dist/{Index-b0cddd8a.js → Index-11fce018.js} +4 -4
  45. package/dist/{Index-6a5ee34c.js → Index-1899a59d.js} +14 -14
  46. package/dist/{Index-8ce025b4.js → Index-1ad2a354.js} +7 -7
  47. package/dist/{Index-c01113d6.js → Index-22a6ac2c.js} +2 -2
  48. package/dist/{Index-e29b7205.js → Index-2e836913.js} +4 -4
  49. package/dist/{Index-808af4fd.js → Index-3b07edd1.js} +4 -4
  50. package/dist/{Index-f1c8a1fd.js → Index-445dc171.js} +7 -7
  51. package/dist/{Index-7f1f80fa.js → Index-4600f943.js} +17 -17
  52. package/dist/{Index-729cd253.js → Index-496348ea.js} +14 -14
  53. package/dist/{Index-9311fb23.js → Index-53f5e92b.js} +4 -4
  54. package/dist/{Index-c3193bbe.js → Index-5962c5fa.js} +6 -6
  55. package/dist/{Index-e876c053.js → Index-5d78cedc.js} +9 -9
  56. package/dist/{Index-cc59098f.js → Index-6052206b.js} +2 -2
  57. package/dist/{Index-74f5784f.js → Index-62311015.js} +5 -5
  58. package/dist/{Index-727c0770.js → Index-6a0bc652.js} +14 -14
  59. package/dist/{Index-8920bf5c.js → Index-722972c7.js} +4 -4
  60. package/dist/{Index-524cea65.js → Index-733a87b2.js} +8 -8
  61. package/dist/{Index-617c91c3.js → Index-7b01d5f3.js} +1 -1
  62. package/dist/{Index-875247ac.js → Index-7f9f54df.js} +5 -5
  63. package/dist/{Index-4d3fa8b8.js → Index-85ba630b.js} +4 -4
  64. package/dist/{Index-30e39d25.js → Index-89d7293e.js} +4 -4
  65. package/dist/{Index-d8d40597.js → Index-902c62af.js} +2 -2
  66. package/dist/{Index-952af56e.js → Index-94e5bdd2.js} +6 -6
  67. package/dist/{Index-c1ef9eae.js → Index-9c5778a0.js} +10 -10
  68. package/dist/{Index-d1732510.js → Index-a13a8628.js} +2 -2
  69. package/dist/{Index-4835bdde.js → Index-a99bd8f6.js} +2 -2
  70. package/dist/{Index-59e57f26.js → Index-ab589ff1.js} +6 -6
  71. package/dist/{Index-2ecd6c6a.js → Index-b320d668.js} +3 -3
  72. package/dist/{Index-afe7a567.js → Index-bbb1eed9.js} +2 -2
  73. package/dist/{Index-e903660c.js → Index-c3100eb8.js} +2 -2
  74. package/dist/{Index-46f2a6e0.js → Index-e7af00fd.js} +4 -4
  75. package/dist/{Index-3323e160.js → Index-f31c6bf6.js} +2 -2
  76. package/dist/{InputToggleRow-e9ccb4db.js → InputToggleRow-04ccd5f2.js} +1 -1
  77. package/dist/{IsPremiumPreStep-086fdca0.js → IsPremiumPreStep-fd71afe7.js} +14 -14
  78. package/dist/{ManualPopover-01700f5a.js → ManualPopover-66e2fbda.js} +1 -1
  79. package/dist/{MediaWrapper-32ca2c1d.js → MediaWrapper-0895cb0a.js} +3 -3
  80. package/dist/{NotBindingText-fb273710.js → NotBindingText-bbb75490.js} +2 -2
  81. package/dist/{PackageGroup-856c8037.js → PackageGroup-d0c8c851.js} +15 -15
  82. package/dist/{PdfTerms-ec7f5bf0.js → PdfTerms-3ca871a7.js} +5 -5
  83. package/dist/{PdfViewer-876f73eb.js → PdfViewer-f8877419.js} +2 -2
  84. package/dist/{PlainHtml-eaf23e90.js → PlainHtml-70f73857.js} +1 -1
  85. package/dist/{PriceHeader-08162c74.js → PriceHeader-bd7f2fa0.js} +13 -13
  86. package/dist/{SearchApi-4e81ff12.js → SearchApi-dfd24f3e.js} +3 -4
  87. package/dist/{Setup-d5c66f4b.js → Setup-67aa6fe8.js} +1 -1
  88. package/dist/{TermsSettings-5c9b40f9.js → TermsSettings-fe4e225f.js} +7 -7
  89. package/dist/{ThemeColorRow-37d6548d.js → ThemeColorRow-81f8615a.js} +3 -3
  90. package/dist/{ToggleBinding-cfa1fef2.js → ToggleBinding-5af2df09.js} +3 -3
  91. package/dist/{UploadModal-e1269a45.js → UploadModal-8c766ba7.js} +3 -3
  92. package/dist/{VideoPlayerInput-675640a9.js → VideoPlayerInput-0a11df1e.js} +3 -3
  93. package/dist/{VideoPlayerSettings-0d68de0a.js → VideoPlayerSettings-e54bdb5e.js} +4 -4
  94. package/dist/{VideoSelectModal-29619ddc.js → VideoSelectModal-023186e1.js} +8 -8
  95. package/dist/{answerDocumentMixin-7c88a039.js → answerDocumentMixin-97203107.js} +3 -3
  96. package/dist/{debounce-a8a2e7ca.js → debounce-653d5a89.js} +8 -8
  97. package/dist/{focusDrawerMixin-903d1bdd.js → focusDrawerMixin-7f321c15.js} +1 -1
  98. package/dist/{formComponentsInstall-286a0acd.js → formComponentsInstall-fd01cdd2.js} +12 -12
  99. package/dist/{formDrawerState-e034a6ab.js → formDrawerState-3c299bf6.js} +1 -1
  100. package/dist/{formValidationMixin-76dd5928.js → formValidationMixin-c20cb8fe.js} +1 -1
  101. package/dist/{index-61ba0ac0.js → index-01437260.js} +3 -3
  102. package/dist/{index-01421a50.js → index-2aa11fa3.js} +5 -5
  103. package/dist/{index-563cfa1e.js → index-60e8f1c3.js} +1 -1
  104. package/dist/{index-5363165d.js → index-aa0b2a84.js} +13 -13
  105. package/dist/{index-5827c622.js → index-bf9f0618.js} +48 -48
  106. package/dist/{index-4a052f26.js → index-dc39dc99.js} +1 -1
  107. package/dist/index.es.js +2 -2
  108. package/dist/index.umd.js +158 -159
  109. package/dist/{main-d803b876.js → main-6be1d89a.js} +10357 -12663
  110. package/dist/{mapFormMixin-0583565b.js → mapFormMixin-ab97e85b.js} +1 -1
  111. package/dist/{publicSenderState-b62d76e3.js → publicSenderState-2ca5021f.js} +1 -1
  112. package/dist/style.css +1 -1
  113. package/dist/{throttle-a8b2f0e5.js → throttle-78ffe6e1.js} +2 -2
  114. package/dist/{tinycolor-dffe2bfd.js → tinycolor-8972e238.js} +1 -1
  115. package/dist/{tippy.esm-7bfd5b54.js → tippy.esm-d62237ec.js} +5 -5
  116. package/dist/{utils-9a1bdd7a.js → utils-24c33071.js} +1 -1
  117. package/dist/{vuedraggable.umd-a5100bc8.js → vuedraggable.umd-78b3c86e.js} +1 -1
  118. package/package.json +1 -1
  119. package/dist/DocAnswer-245629ec.js +0 -30
  120. package/dist/DocLinks-c807e0dc.js +0 -38
@@ -1,9 +1,9 @@
1
- import { m as d } from "./mapFormMixin-0583565b.js";
2
- import { T as l } from "./ThemeColorRow-37d6548d.js";
3
- import { n as a, N as p, F as u } from "./main-d803b876.js";
1
+ import { m as d } from "./mapFormMixin-ab97e85b.js";
2
+ import { T as l } from "./ThemeColorRow-81f8615a.js";
3
+ import { n as a, M as p, E as u } from "./main-6be1d89a.js";
4
4
  import "./color-71c20583.js";
5
- import "./ColorPicker-c1b32ad5.js";
6
- import "./ManualPopover-01700f5a.js";
5
+ import "./ColorPicker-db332e31.js";
6
+ import "./ManualPopover-66e2fbda.js";
7
7
  const v = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180, m = {
8
8
  name: "DegreePicker",
9
9
  props: {
@@ -144,8 +144,8 @@ var C = function() {
144
144
  );
145
145
  const x = w.exports;
146
146
  const $ = {
147
- image: () => import("./ImageSelectModal-fd5cd1d6.js"),
148
- video: () => import("./VideoSelectModal-29619ddc.js")
147
+ image: () => import("./ImageSelectModal-9454fc9b.js"),
148
+ video: () => import("./VideoSelectModal-023186e1.js")
149
149
  }, S = {
150
150
  name: "CoverBlockSettings",
151
151
  i18nOptions: {
@@ -280,7 +280,7 @@ var k = function() {
280
280
  null,
281
281
  null
282
282
  );
283
- const O = D.exports;
283
+ const U = D.exports;
284
284
  export {
285
- O as default
285
+ U as default
286
286
  };
@@ -0,0 +1,43 @@
1
+ import r from "./AnswerModal-8a2e1b96.js";
2
+ import { n as o } from "./main-6be1d89a.js";
3
+ import "./anime.es-e284c852.js";
4
+ import "./vuex.esm-4a0fff7c.js";
5
+ import "./mapFormMixin-ab97e85b.js";
6
+ import "./CField-82e3942c.js";
7
+ import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
8
+ const t = {
9
+ components: {
10
+ AnswerModal: r
11
+ },
12
+ props: {
13
+ document: {
14
+ type: Object,
15
+ required: !0
16
+ },
17
+ answerType: {
18
+ type: String,
19
+ required: !0
20
+ },
21
+ closeFunc: {
22
+ type: Function,
23
+ default: null
24
+ }
25
+ }
26
+ };
27
+ var s = function() {
28
+ var e = this, n = e._self._c;
29
+ return n("AnswerModal", { attrs: { mode: e.answerType, _document: e.document }, on: { close: e.closeFunc } });
30
+ }, c = [], l = /* @__PURE__ */ o(
31
+ t,
32
+ s,
33
+ c,
34
+ !1,
35
+ null,
36
+ null,
37
+ null,
38
+ null
39
+ );
40
+ const v = l.exports;
41
+ export {
42
+ v as default
43
+ };
@@ -1,8 +1,8 @@
1
- import { n as c, ad as f, b as g, ae as h, af as x, ag as $, r as y } from "./main-d803b876.js";
2
- import { C as w } from "./CPhoneFormat-40bd6283.js";
3
- import { w as b, C, a as D } from "./CDropdownItem-9b1ca709.js";
4
- import { D as S } from "./DocumentVoided-f0601bd6.js";
5
- const z = {
1
+ import { n as c, ac as f, b as g, ad as h, ae as y, af as $ } from "./main-6be1d89a.js";
2
+ import { C as x } from "./CPhoneFormat-6f544ea2.js";
3
+ import { w, C as b, a as C } from "./CDropdownItem-b703493e.js";
4
+ import { D } from "./DocumentVoided-10eb3206.js";
5
+ const S = {
6
6
  name: "PublicDocumentEvents",
7
7
  props: {
8
8
  document: {
@@ -17,8 +17,8 @@ const z = {
17
17
  const { code: i, createdAt: n, children: r = [] } = t;
18
18
  let { data: l = {} } = t;
19
19
  l === null && (l = {});
20
- const { client: o = {}, clients: u = [], status: p, counter: _ } = l, m = {
21
- sent: () => u.map((a) => {
20
+ const { client: o = {}, clients: m = [], status: p, counter: _ } = l, u = {
21
+ sent: () => m.map((a) => {
22
22
  const d = this.getClientName(a.id), v = this.filteredOxfordComma([
23
23
  a.email,
24
24
  a.cellphone
@@ -82,7 +82,7 @@ const z = {
82
82
  }
83
83
  ]
84
84
  };
85
- m[i] && s.push(...m[i]());
85
+ u[i] && s.push(...u[i]());
86
86
  }), s;
87
87
  }
88
88
  },
@@ -103,10 +103,10 @@ const z = {
103
103
  events: this.events
104
104
  });
105
105
  }
106
- }, P = null, k = null;
107
- var R = /* @__PURE__ */ c(
106
+ }, z = null, k = null;
107
+ var P = /* @__PURE__ */ c(
108
+ S,
108
109
  z,
109
- P,
110
110
  k,
111
111
  !1,
112
112
  null,
@@ -114,15 +114,15 @@ var R = /* @__PURE__ */ c(
114
114
  null,
115
115
  null
116
116
  );
117
- const F = R.exports;
118
- const A = {
117
+ const F = P.exports;
118
+ const R = {
119
119
  name: "PublicRecipientItem",
120
120
  i18nOptions: {
121
121
  namespaces: "components",
122
122
  keyPrefix: "document.myPagesDrawer"
123
123
  },
124
124
  components: {
125
- CPhoneFormat: w
125
+ CPhoneFormat: x
126
126
  },
127
127
  props: {
128
128
  recipient: {
@@ -137,7 +137,7 @@ const A = {
137
137
  }
138
138
  }
139
139
  };
140
- var I = function() {
140
+ var A = function() {
141
141
  var e = this, t = e._self._c;
142
142
  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([
143
143
  e.recipient.name,
@@ -148,25 +148,25 @@ var I = function() {
148
148
  }), t("div", { staticClass: "flex flex-col w-full", 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 }) {
149
149
  return t("a", { attrs: { href: `tel:${e.recipient.cellphone}` } }, [e._v(" " + e._s(i) + " ")]);
150
150
  } }], 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("BaseIcon", { 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.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)])]);
151
- }, L = [], j = /* @__PURE__ */ c(
151
+ }, I = [], L = /* @__PURE__ */ c(
152
+ R,
152
153
  A,
153
154
  I,
154
- L,
155
155
  !1,
156
156
  null,
157
157
  "7bf07f05",
158
158
  null,
159
159
  null
160
160
  );
161
- const B = j.exports;
161
+ const j = L.exports;
162
162
  const q = {
163
163
  name: "DocumentDetails",
164
- mixins: [b],
164
+ mixins: [w],
165
165
  components: {
166
166
  PublicDocumentEvents: F,
167
- PublicRecipientItem: B,
168
- CDropdown: C,
169
- CDropdownItem: D
167
+ PublicRecipientItem: j,
168
+ CDropdown: b,
169
+ CDropdownItem: C
170
170
  },
171
171
  props: {
172
172
  document: {
@@ -181,7 +181,7 @@ const q = {
181
181
  data() {
182
182
  return {
183
183
  docLanguages: h,
184
- nativeTranslations: x
184
+ nativeTranslations: y
185
185
  };
186
186
  },
187
187
  computed: {
@@ -197,7 +197,7 @@ const q = {
197
197
  }
198
198
  }
199
199
  };
200
- var O = function() {
200
+ var B = function() {
201
201
  var e = this, t = e._self._c;
202
202
  return t("div", { staticStyle: { width: "100%", height: "100%", display: "flex", "flex-direction": "column", "font-size": "16px", background: "hsl(0, 0%, 100%)", "border-radius": "10px", overflow: "hidden", "box-shadow": "0 10px 20px rgba(0, 0, 0, 0.2)", position: "relative" } }, [t("div", { staticClass: "flex w-full justify-end items-center", staticStyle: { position: "absolute", top: "20px", right: "20px", "z-index": "2" } }, [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) {
203
203
  return t("CDropdownItem", { key: i, attrs: { value: i }, on: { click: function(n) {
@@ -212,38 +212,47 @@ var O = function() {
212
212
  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")) + " ")])])])]);
213
213
  }), 0)])]) : e._e()];
214
214
  } }]) }), e.mq === "sm" ? t("div", [e._t("footer")], 2) : e._e()], 1), e.mq !== "sm" ? t("div", [e._t("footer")], 2) : e._e()]);
215
- }, N = [], V = /* @__PURE__ */ c(
215
+ }, O = [], N = /* @__PURE__ */ c(
216
216
  q,
217
+ B,
217
218
  O,
218
- N,
219
219
  !1,
220
220
  null,
221
221
  "0d868038",
222
222
  null,
223
223
  null
224
224
  );
225
- const E = V.exports;
226
- const M = {
225
+ const V = N.exports;
226
+ const E = {
227
227
  components: {
228
- DocumentDetails: E,
229
- DocumentVoided: S
228
+ DocumentDetails: V,
229
+ DocumentVoided: D
230
230
  },
231
- mixins: [y(["document", "closeFunc"])]
231
+ props: {
232
+ document: {
233
+ type: Object,
234
+ required: !0
235
+ },
236
+ closeFunc: {
237
+ type: Function,
238
+ default: null
239
+ }
240
+ }
232
241
  };
233
242
  var T = function() {
234
243
  var e = this, t = e._self._c;
235
244
  return e.document && e.document.status === "voided" ? t("DocumentVoided", { attrs: { document: e.document } }) : t("DocumentDetails", { attrs: { document: e.document }, on: { close: e.closeFunc } });
236
- }, U = [], W = /* @__PURE__ */ c(
237
- M,
245
+ }, M = [], U = /* @__PURE__ */ c(
246
+ E,
238
247
  T,
239
- U,
248
+ M,
240
249
  !1,
241
250
  null,
242
- "4bffbf9c",
251
+ "d3b68450",
243
252
  null,
244
253
  null
245
254
  );
246
- const Q = W.exports;
255
+ const K = U.exports;
247
256
  export {
248
- Q as default
257
+ K as default
249
258
  };