@cling-se/widget 0.9.33 → 0.10.4-beta.0

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-ac04b0e5.js} +5 -5
  2. package/dist/{AnswerModal-39f81c0e.js → AnswerModal-ab94492a.js} +47 -47
  3. package/dist/{AttachmentItem-5d900d83.js → AttachmentItem-3fe7f93e.js} +15 -10
  4. package/dist/{BaseDatePicker-92562106.js → BaseDatePicker-bc7a7a38.js} +2 -2
  5. package/dist/{BaseInput-1c9d9daf.js → BaseInput-0128f8e7.js} +1 -1
  6. package/dist/{BaseUpload-078e4666.js → BaseUpload-72ba3ed6.js} +25 -25
  7. package/dist/{BlockMedia-4155dbd6.js → BlockMedia-34f3880e.js} +1 -1
  8. package/dist/{CCallout-46b3d405.js → CCallout-25f57fce.js} +2 -2
  9. package/dist/{CDropdownItem-9b1ca709.js → CDropdownItem-5b7319d8.js} +1 -1
  10. package/dist/{CField-d7edf10c.js → CField-7d3f84b4.js} +1 -1
  11. package/dist/{CPhoneFormat-40bd6283.js → CPhoneFormat-c733eed8.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-12f32bb7.js → CSlider.vue_vue_type_style_index_0_lang-2908d3f1.js} +1 -1
  13. package/dist/{ClientAutocomplete-a6bb0940.js → ClientAutocomplete-977b5a9e.js} +2 -2
  14. package/dist/{ClientModal-e5f7b4b8.js → ClientModal-be37f1fc.js} +5 -5
  15. package/dist/{ColorPicker-c1b32ad5.js → ColorPicker-42cda4ee.js} +1 -1
  16. package/dist/{CompanyModal-977515ec.js → CompanyModal-c864241c.js} +3 -3
  17. package/dist/{ContentWrapper-62f4579f.js → ContentWrapper-f36e7350.js} +13 -13
  18. package/dist/{CoverBlockSettings-7226a5b6.js → CoverBlockSettings-362d1abb.js} +9 -9
  19. package/dist/DocAnswer-d7d3e570.js +43 -0
  20. package/dist/{DocDetails-8172e555.js → DocDetails-99c9480f.js} +46 -37
  21. package/dist/{DocForm-3d4d126b.js → DocForm-d42c6859.js} +602 -600
  22. package/dist/{DocFormSend-237ec151.js → DocFormSend-5cfcec8a.js} +51 -38
  23. package/dist/DocLinks-4eb1de5e.js +41 -0
  24. package/dist/{DocModalBase-f3267f66.js → DocModalBase-3199ead0.js} +1 -1
  25. package/dist/{DocPrint-2925c8e3.js → DocPrint-ffd6bd0a.js} +1 -1
  26. package/dist/{DocReceipt-ac09c964.js → DocReceipt-dcb76efe.js} +1 -1
  27. package/dist/{DocSendReminder-e1999f4e.js → DocSendReminder-63f7d042.js} +1 -1
  28. package/dist/{DocTextEditor-25220c68.js → DocTextEditor-f7aa5610.js} +8 -8
  29. package/dist/{DocTimeline-5eb73448.js → DocTimeline-637ce0d3.js} +1 -1
  30. package/dist/{DocumentClient-321f7941.js → DocumentClient-a8c0c1f0.js} +7 -7
  31. package/dist/{DocumentLayout-a798e912.js → DocumentLayout-d0b0264c.js} +5 -5
  32. package/dist/{DocumentLogotype-b87b1b6d.js → DocumentLogotype-cf798645.js} +3 -3
  33. package/dist/{DocumentVoided-f0601bd6.js → DocumentVoided-32256b94.js} +1 -1
  34. package/dist/{EmbedInput-39a03d94.js → EmbedInput-90aa3ad1.js} +2 -2
  35. package/dist/{EmbedSettings-554aac05.js → EmbedSettings-fb61b264.js} +3 -3
  36. package/dist/{ErrorCallout-21273503.js → ErrorCallout-cd3bfacb.js} +1 -1
  37. package/dist/{FilePreviewModal-29a98271.js → FilePreviewModal-7176df5b.js} +5 -5
  38. package/dist/{Flag-6e070aa2.js → Flag-f48640d5.js} +1 -1
  39. package/dist/{HeaderSettings-61efccf5.js → HeaderSettings-d3083244.js} +15 -15
  40. package/dist/{ImageSelectModal-fd5cd1d6.js → ImageSelectModal-44047f1e.js} +8 -8
  41. package/dist/{ImageUploadWrapper-f7f6033b.js → ImageUploadWrapper-9d102509.js} +2 -2
  42. package/dist/{Index-b0cddd8a.js → Index-007fa122.js} +4 -4
  43. package/dist/{Index-74f5784f.js → Index-01311f76.js} +5 -5
  44. package/dist/{Index-952af56e.js → Index-08900b5e.js} +6 -6
  45. package/dist/{Index-9311fb23.js → Index-13103bfa.js} +4 -4
  46. package/dist/{Index-8ce025b4.js → Index-153fb302.js} +7 -7
  47. package/dist/{Index-e876c053.js → Index-15cda543.js} +9 -9
  48. package/dist/{Index-3323e160.js → Index-160a7d88.js} +2 -2
  49. package/dist/{Index-2beebe64.js → Index-2621b655.js} +6 -6
  50. package/dist/{Index-d8d40597.js → Index-268a3680.js} +2 -2
  51. package/dist/{Index-59e57f26.js → Index-2dd0855b.js} +6 -6
  52. package/dist/{Index-30e39d25.js → Index-34f8ec3d.js} +4 -4
  53. package/dist/{Index-7f1f80fa.js → Index-4a077c97.js} +17 -17
  54. package/dist/{Index-d1732510.js → Index-4a69a722.js} +2 -2
  55. package/dist/{Index-46f2a6e0.js → Index-4e013912.js} +4 -4
  56. package/dist/{Index-4d3fa8b8.js → Index-50f1f14e.js} +4 -4
  57. package/dist/{Index-fdbed274.js → Index-6a965ec8.js} +1 -1
  58. package/dist/{Index-c01113d6.js → Index-70e37c05.js} +2 -2
  59. package/dist/{Index-524cea65.js → Index-7adb0086.js} +8 -8
  60. package/dist/{Index-e903660c.js → Index-8a130821.js} +2 -2
  61. package/dist/{Index-c3193bbe.js → Index-8dd0a4a3.js} +6 -6
  62. package/dist/{Index-617c91c3.js → Index-8e42fd14.js} +1 -1
  63. package/dist/{Index-afe7a567.js → Index-8ffa87b4.js} +2 -2
  64. package/dist/{Index-727c0770.js → Index-91923bb3.js} +14 -14
  65. package/dist/{Index-2ecd6c6a.js → Index-a3dd0100.js} +3 -3
  66. package/dist/{Index-8920bf5c.js → Index-a6c2348f.js} +4 -4
  67. package/dist/{Index-808af4fd.js → Index-a8ab221c.js} +4 -4
  68. package/dist/{Index-c1ef9eae.js → Index-a9255882.js} +10 -10
  69. package/dist/{Index-cc59098f.js → Index-b2861f7a.js} +2 -2
  70. package/dist/{Index-e29b7205.js → Index-d5c54afa.js} +4 -4
  71. package/dist/{Index-4835bdde.js → Index-d5ed245c.js} +2 -2
  72. package/dist/{Index-6a5ee34c.js → Index-e9cf6266.js} +14 -14
  73. package/dist/{Index-875247ac.js → Index-f10ed000.js} +5 -5
  74. package/dist/{Index-729cd253.js → Index-f4270151.js} +14 -14
  75. package/dist/{Index-f1c8a1fd.js → Index-ff9efb43.js} +7 -7
  76. package/dist/{InputToggleRow-e9ccb4db.js → InputToggleRow-f7c8fad0.js} +1 -1
  77. package/dist/{IsPremiumPreStep-086fdca0.js → IsPremiumPreStep-c57d25d5.js} +14 -14
  78. package/dist/{ManualPopover-01700f5a.js → ManualPopover-8a1b6a31.js} +1 -1
  79. package/dist/{MediaWrapper-32ca2c1d.js → MediaWrapper-5dcfede8.js} +3 -3
  80. package/dist/{NotBindingText-fb273710.js → NotBindingText-0464a81e.js} +2 -2
  81. package/dist/{PackageGroup-856c8037.js → PackageGroup-339ce6cb.js} +15 -15
  82. package/dist/{PdfTerms-ec7f5bf0.js → PdfTerms-0f433ba4.js} +5 -5
  83. package/dist/{PdfViewer-876f73eb.js → PdfViewer-dfb6816e.js} +9 -9
  84. package/dist/{PlainHtml-eaf23e90.js → PlainHtml-511f00f4.js} +1 -1
  85. package/dist/{PriceHeader-08162c74.js → PriceHeader-81c0f36c.js} +13 -13
  86. package/dist/{SearchApi-4e81ff12.js → SearchApi-0d8acefc.js} +3 -4
  87. package/dist/{Setup-d5c66f4b.js → Setup-bbdf4e98.js} +1 -1
  88. package/dist/{TermsSettings-5c9b40f9.js → TermsSettings-e6827dae.js} +7 -7
  89. package/dist/{ThemeColorRow-37d6548d.js → ThemeColorRow-0a7ade13.js} +3 -3
  90. package/dist/{ToggleBinding-cfa1fef2.js → ToggleBinding-34338d89.js} +3 -3
  91. package/dist/{UploadModal-e1269a45.js → UploadModal-08b3ecb6.js} +3 -3
  92. package/dist/{VideoPlayerInput-675640a9.js → VideoPlayerInput-a1592195.js} +3 -3
  93. package/dist/{VideoPlayerSettings-0d68de0a.js → VideoPlayerSettings-d8ed1e19.js} +4 -4
  94. package/dist/{VideoSelectModal-29619ddc.js → VideoSelectModal-421df4a2.js} +8 -8
  95. package/dist/{answerDocumentMixin-7c88a039.js → answerDocumentMixin-a3a4e70d.js} +3 -3
  96. package/dist/{debounce-a8a2e7ca.js → debounce-7b692c87.js} +8 -8
  97. package/dist/{focusDrawerMixin-903d1bdd.js → focusDrawerMixin-5b5ac90c.js} +1 -1
  98. package/dist/{formComponentsInstall-286a0acd.js → formComponentsInstall-897fd293.js} +12 -12
  99. package/dist/{formDrawerState-e034a6ab.js → formDrawerState-09657030.js} +1 -1
  100. package/dist/{formValidationMixin-76dd5928.js → formValidationMixin-090f1841.js} +1 -1
  101. package/dist/{index-01421a50.js → index-10f9f703.js} +5 -5
  102. package/dist/{index-61ba0ac0.js → index-3f979f04.js} +3 -3
  103. package/dist/{index-5363165d.js → index-71606148.js} +13 -13
  104. package/dist/{index-563cfa1e.js → index-74a344c7.js} +1 -1
  105. package/dist/{index-5827c622.js → index-a3dfaf0e.js} +48 -48
  106. package/dist/{index-4a052f26.js → index-c6a51a6f.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-fe7caa96.js} +10357 -12663
  110. package/dist/{mapFormMixin-0583565b.js → mapFormMixin-821b98b6.js} +1 -1
  111. package/dist/{publicSenderState-b62d76e3.js → publicSenderState-7387a06a.js} +1 -1
  112. package/dist/style.css +1 -1
  113. package/dist/{throttle-a8b2f0e5.js → throttle-cc268af2.js} +2 -2
  114. package/dist/{tinycolor-dffe2bfd.js → tinycolor-91424e70.js} +1 -1
  115. package/dist/{tippy.esm-7bfd5b54.js → tippy.esm-95ab3202.js} +5 -5
  116. package/dist/{utils-9a1bdd7a.js → utils-3f18d789.js} +1 -1
  117. package/dist/{vuedraggable.umd-a5100bc8.js → vuedraggable.umd-797c9a23.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-821b98b6.js";
2
+ import { T as l } from "./ThemeColorRow-0a7ade13.js";
3
+ import { n as a, M as p, E as u } from "./main-fe7caa96.js";
4
4
  import "./color-71c20583.js";
5
- import "./ColorPicker-c1b32ad5.js";
6
- import "./ManualPopover-01700f5a.js";
5
+ import "./ColorPicker-42cda4ee.js";
6
+ import "./ManualPopover-8a1b6a31.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-44047f1e.js"),
148
+ video: () => import("./VideoSelectModal-421df4a2.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-ab94492a.js";
2
+ import { n as o } from "./main-fe7caa96.js";
3
+ import "./anime.es-e284c852.js";
4
+ import "./vuex.esm-4a0fff7c.js";
5
+ import "./mapFormMixin-821b98b6.js";
6
+ import "./CField-7d3f84b4.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-fe7caa96.js";
2
+ import { C as x } from "./CPhoneFormat-c733eed8.js";
3
+ import { w, C as b, a as C } from "./CDropdownItem-5b7319d8.js";
4
+ import { D } from "./DocumentVoided-32256b94.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
  };