@cling-se/widget 0.19.6 → 0.19.8

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 (130) hide show
  1. package/CHANGELOG.md +15 -1
  2. package/dist/{AddClientCallout-DtVRTCr_.js → AddClientCallout-sPxYX5tQ.js} +18 -18
  3. package/dist/{AnswerModal-ClyWtHBj.js → AnswerModal-o8OHHulg.js} +80 -80
  4. package/dist/{AttachmentItem-COoLlAum.js → AttachmentItem-CzzOlHB-.js} +16 -16
  5. package/dist/{BaseUpload-DlaYaxxr.js → BaseUpload-oZQfFwOj.js} +256 -256
  6. package/dist/{BlockMedia-IMu4YO3J.js → BlockMedia-BGPxfM2X.js} +16 -16
  7. package/dist/{CCallout-C32zwICP.js → CCallout-CrbMGTIj.js} +15 -15
  8. package/dist/{CCurrencyDropdown-D4ZxTioo.js → CCurrencyDropdown-BnNDP51j.js} +13 -13
  9. package/dist/{CDropdownItem-BuQONogL.js → CDropdownItem-E-kRDIiy.js} +6 -6
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-KdkAe_wn.js → CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js} +25 -25
  11. package/dist/{CPhoneFormat-C2K78cmZ.js → CPhoneFormat-CIQAVdsB.js} +1 -1
  12. package/dist/{CPhoneInput-DolVFzrL.js → CPhoneInput-9AwTJm-0.js} +21 -21
  13. package/dist/{CPriceInput-SbRlrDnD.js → CPriceInput-agFahtr1.js} +11 -11
  14. package/dist/CSelect-BpautzPq.js +129 -0
  15. package/dist/CSkeleton-GIqd-JU4.js +47 -0
  16. package/dist/{ClientAutocomplete-vgxEGqNU.js → ClientAutocomplete-DOHX9Igy.js} +26 -26
  17. package/dist/{ClientModal-B8ip7v99.js → ClientModal-DAXKN_b3.js} +35 -35
  18. package/dist/{ColorPicker-BrfM9S1s.js → ColorPicker-B9F8znY_.js} +82 -82
  19. package/dist/{CompanyModal-DJZezqM5.js → CompanyModal-BvIMVys6.js} +27 -27
  20. package/dist/{ContentWrapper-zJ4MCnSC.js → ContentWrapper-DB22RaUr.js} +24 -24
  21. package/dist/{CoverBlockSettings-Cz0NUYXX.js → CoverBlockSettings--l4fH9mr.js} +32 -32
  22. package/dist/{DocAnswer-EWarWnbt.js → DocAnswer-Bq-4uVbe.js} +4 -4
  23. package/dist/{DocDetails-CGHN3tbO.js → DocDetails-yxmchgO5.js} +59 -59
  24. package/dist/{DocForm-BLTap-Bb.js → DocForm-CzrR8o22.js} +1208 -1180
  25. package/dist/{DocFormSend-_jCPFI9r.js → DocFormSend-Bjc1QDcK.js} +11 -11
  26. package/dist/{DocLinks-D9Ok4HvN.js → DocLinks-BXbC-6v3.js} +6 -6
  27. package/dist/{DocModalBase-fQz5UuCF.js → DocModalBase-axX_Rlp3.js} +1 -1
  28. package/dist/{DocPrint-Cua_U7zt.js → DocPrint-D0IdWsUM.js} +19 -19
  29. package/dist/{DocReceipt-Cg2hiSby.js → DocReceipt-4e-RmgeQ.js} +19 -19
  30. package/dist/{DocSendReminder-Dh7G9kbZ.js → DocSendReminder-L35eZxgk.js} +12 -12
  31. package/dist/{DocTextEditor-Ds4Cbg-2.js → DocTextEditor-KrfylSV6.js} +4493 -4435
  32. package/dist/{DocTimeline-DpWUMwJE.js → DocTimeline-Be5CvtcQ.js} +18 -18
  33. package/dist/{DocumentClient-DUqHQVSe.js → DocumentClient-Bc4kf2q9.js} +10 -10
  34. package/dist/DocumentLayout-Oe-ZsHML.js +595 -0
  35. package/dist/{DocumentLogotype-BiekV9-j.js → DocumentLogotype-BFo5UEWS.js} +20 -20
  36. package/dist/{DocumentVoided-D_YMyeV8.js → DocumentVoided-DlQtlO7G.js} +7 -7
  37. package/dist/{EmbedInput-Crx-LEGc.js → EmbedInput-B29usQZZ.js} +10 -10
  38. package/dist/{EmbedSettings-xIGtEN7L.js → EmbedSettings-D-9rcSn0.js} +16 -16
  39. package/dist/{ErrorCallout-D_fUVD4I.js → ErrorCallout--EnH1Ezu.js} +9 -9
  40. package/dist/{FilePreviewModal-av2lE91B.js → FilePreviewModal-H5Ilg9xN.js} +9 -9
  41. package/dist/{Flag-CI52SH_9.js → Flag-DgZVh3Lf.js} +4 -4
  42. package/dist/{HeaderSettings-Ip634NWe.js → HeaderSettings-HuM_JwJw.js} +27 -27
  43. package/dist/{ImageSelectModal-DNtR86H7.js → ImageSelectModal-CJ-DstAf.js} +14 -14
  44. package/dist/{ImageUploadWrapper-Co43CWCP.js → ImageUploadWrapper-TYs37LIQ.js} +76 -76
  45. package/dist/{Index-C6KPbnAq.js → Index-6N_iRlrQ.js} +10 -10
  46. package/dist/{Index-bvCcp9l6.js → Index-B-PDcQKh.js} +34 -34
  47. package/dist/{Index-CTQyX_63.js → Index-B942Auag.js} +2 -2
  48. package/dist/{Index-4ZURK6a8.js → Index-BLdFyt-s.js} +12 -12
  49. package/dist/{Index-CZqJYh7u.js → Index-BMpHXgR4.js} +16 -16
  50. package/dist/{Index-DGwF2cvQ.js → Index-BZ6ZDf9T.js} +11 -11
  51. package/dist/{Index-Ci_PUYqE.js → Index-BdnFLjgV.js} +11 -11
  52. package/dist/{Index-BdW5_mV-.js → Index-BeOtRIzZ.js} +21 -21
  53. package/dist/Index-BsRxY7vc.js +21 -0
  54. package/dist/{Index-xVX7aGXv.js → Index-CAMAtPVL.js} +6 -6
  55. package/dist/{Index-uDG1i8F-.js → Index-CC4E2CmH.js} +11 -11
  56. package/dist/{Index-CJi8Remu.js → Index-CGus-YwW.js} +26 -26
  57. package/dist/{Index-C-Suk6Qs.js → Index-CLgN5Jzf.js} +3 -3
  58. package/dist/{Index-C92jPUcy.js → Index-CTlB43yV.js} +7 -7
  59. package/dist/{Index-CmLvcWe3.js → Index-CY2sRfaY.js} +194 -218
  60. package/dist/{Index-PzcQhAgF.js → Index-CnrSvy6E.js} +2 -2
  61. package/dist/{Index-Bgm5PHos.js → Index-CrdSdXWN.js} +18 -18
  62. package/dist/{Index-Bj81gIof.js → Index-CtJfMiZW.js} +2 -2
  63. package/dist/Index-D4HNTocO.js +4 -0
  64. package/dist/{Index-chiZsMLh.js → Index-D5_GLLQH.js} +507 -512
  65. package/dist/{Index-DOiPKAhk.js → Index-D9sceHk5.js} +17 -17
  66. package/dist/{Index-CV5RbQn5.js → Index-DJ11Zra_.js} +42 -42
  67. package/dist/{Index-DQbbxV0m.js → Index-DMIjuWSa.js} +9 -9
  68. package/dist/{Index-BMwBpYpa.js → Index-DTm59e-A.js} +11 -11
  69. package/dist/{Index-CxAd29-m.js → Index-DXT_IMjq.js} +8 -8
  70. package/dist/{Index-BF1bZUso.js → Index-DYUvtCff.js} +8 -8
  71. package/dist/{Index-DKuTOk0t.js → Index-DYW8T0Hl.js} +18 -18
  72. package/dist/{Index-DWIpdRX-.js → Index-Dg4dwlh_.js} +59 -58
  73. package/dist/{Index-DOCeODtL.js → Index-N88Abomf.js} +11 -11
  74. package/dist/{Index-BY2kaUsM.js → Index-W-Q19E3a.js} +7 -7
  75. package/dist/{Index-DwIfORsz.js → Index-edWEg_rF.js} +29 -29
  76. package/dist/{Index-DlGSVN83.js → Index-nRqNPZ3B.js} +18 -18
  77. package/dist/{Index-CeJRMtmh.js → Index-nTp9wEni.js} +7 -7
  78. package/dist/{Index-D_X2OZA3.js → Index-yJRtT77X.js} +2 -2
  79. package/dist/{Index.vue_vue_type_script_lang-WK-YdZ30.js → Index.vue_vue_type_script_lang-PJPQMT2c.js} +2 -2
  80. package/dist/{InputToggleRow-CWvEi0HF.js → InputToggleRow-DCr_DEm4.js} +9 -9
  81. package/dist/{ManualPopover-BSX3bOr0.js → ManualPopover-CpVsmQvn.js} +4 -4
  82. package/dist/{MediaWrapper-D8BXMoDz.js → MediaWrapper-Cj3LBhdR.js} +4 -4
  83. package/dist/{NotBindingText-V-8_5Pln.js → NotBindingText-1J0p_k4u.js} +5 -5
  84. package/dist/{PackageGroup-BN5njJA7.js → PackageGroup-CqrWEfCT.js} +17 -17
  85. package/dist/{PdfTerms-DarzYw1g.js → PdfTerms-DmrPDtae.js} +6 -6
  86. package/dist/{PdfViewer-DYN758PA.js → PdfViewer-C2EEwUBa.js} +37 -37
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-B3g18l5G.js → PlainHtml.vue_vue_type_script_setup_true_lang-B6pRo08V.js} +2 -2
  88. package/dist/{PriceHeader-B7QoQ2ZO.js → PriceHeader-BaREzUxI.js} +32 -32
  89. package/dist/{SearchApi-rcvoh3Av.js → SearchApi-Bf4jeQVr.js} +6 -6
  90. package/dist/{SendForm-DHRq76pb.js → SendForm-D5qpHxNU.js} +713 -711
  91. package/dist/{Setup-BWMY9S__.js → Setup-Bw8ViFxw.js} +4 -4
  92. package/dist/{SmartList-BpNfmUMA.js → SmartList-CzylvV8N.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-B_f6Nh_O.js → Sortable.vue_vue_type_script_setup_true_lang-DleoAiSK.js} +92 -92
  94. package/dist/{TermsSettings-BTv1dj63.js → TermsSettings-EoJvsPqK.js} +20 -20
  95. package/dist/{ThemeColorRow-r1ECSrBU.js → ThemeColorRow-D3blQMiD.js} +12 -12
  96. package/dist/{ToggleBinding-BBF1duBh.js → ToggleBinding-BteBsRYr.js} +7 -7
  97. package/dist/{UploadModal-B_l6gvuJ.js → UploadModal-Cr5sF3M-.js} +19 -19
  98. package/dist/{VideoPlayerInput-8e9ooR1p.js → VideoPlayerInput-BBycKv9w.js} +5 -5
  99. package/dist/{VideoPlayerSettings-CFOPAFlE.js → VideoPlayerSettings-BXXpTWBf.js} +12 -12
  100. package/dist/{VideoSelectModal-QWkNrFQC.js → VideoSelectModal-B2VPO6q4.js} +15 -15
  101. package/dist/{focusDrawerMixin-hy76kTBG.js → focusDrawerMixin-CCAEZjWO.js} +1 -1
  102. package/dist/{formDrawerState-s4ySD850.js → formDrawerState-CJyP4ce1.js} +1 -1
  103. package/dist/{helpers-BHIbXt8q.js → helpers-Cf9s0P7o.js} +3 -3
  104. package/dist/{index-Dbe2ueXc.js → index-C3pnyYI4.js} +90 -90
  105. package/dist/{index-CGXCI2G7.js → index-CBn1mHmK.js} +36 -36
  106. package/dist/{index-BTw8ZC8k.js → index-DAJmNac8.js} +6 -6
  107. package/dist/{index-DpubWmXg.js → index-DYJN9yoF.js} +37 -37
  108. package/dist/{index-ByEyJueq.js → index-DuXECcGq.js} +31 -31
  109. package/dist/{index-Cwf2aXw3.js → index-XzoHqJIR.js} +9 -9
  110. package/dist/{index-DjHfCViH.js → index-_MfZEYgE.js} +28 -27
  111. package/dist/index.es.js +2 -2
  112. package/dist/index.umd.js +154 -159
  113. package/dist/{main-WDVYC60Z.js → main-BayUZ9OO.js} +14904 -14950
  114. package/dist/{mapFormMixin-B8xN9LiX.js → mapFormMixin-Bx5_nE7g.js} +36 -42
  115. package/dist/omit-BKJdPM2H.js +56 -0
  116. package/dist/{publicSenderState-CtB0-WJX.js → publicSenderState-CblTasKp.js} +3 -3
  117. package/dist/{splitpanes-CwgWVXfp.js → splitpanes-DFkgBT3z.js} +6 -6
  118. package/dist/{template-fVxhQbOu.js → template-CvGgzazD.js} +5 -5
  119. package/dist/{tippy.esm-Ikv5_i_g.js → tippy.esm-CYKcJaqz.js} +222 -224
  120. package/dist/{useTermsModal-DxXjznop.js → useTermsModal-DFmdeFRm.js} +5 -5
  121. package/dist/{utils-fXD4AHot.js → utils-DTwXcY8_.js} +1 -1
  122. package/dist/{validation-Bf4rZ8pa.js → validation-d_jonAPy.js} +4 -4
  123. package/dist/widget.css +1 -1
  124. package/package.json +2 -2
  125. package/dist/CSelect-BQsWYh8F.js +0 -98
  126. package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-aq47QhPF.js +0 -51
  127. package/dist/DocumentLayout-Bth5tpry.js +0 -1434
  128. package/dist/Index-CFSuI-QL.js +0 -21
  129. package/dist/Index-DHzaqQH0.js +0 -4
  130. package/dist/omit-BhJ-wiH8.js +0 -56
@@ -1,6 +1,6 @@
1
- import { S as f } from "./SendForm-DHRq76pb.js";
2
- import { _ as h, r as v, m as w, a as y, g as S, C as p, c as D, w as c, b as l, d as _, e as u, o as a, f as i } from "./main-WDVYC60Z.js";
3
- const s = v({
1
+ import { S as f } from "./SendForm-D5qpHxNU.js";
2
+ import { _ as h, m as v, a as w, r as y, b as c, c as S, d as l, o as a, w as u, e as i, f as p, C as D, g as _ } from "./main-BayUZ9OO.js";
3
+ const s = y({
4
4
  canEdit: !1,
5
5
  isForm: !0,
6
6
  setFormValue: null,
@@ -89,13 +89,13 @@ const s = v({
89
89
  this.setDocValue && (s.setFormValue = this.setDocValue), this.removeDocValue && (s.removeFormValue = this.removeDocValue);
90
90
  },
91
91
  methods: {
92
- ...y({
93
- saveDocument: S.SAVE_DYNDOC_FORM
92
+ ...v({
93
+ saveDocument: _.SAVE_DYNDOC_FORM
94
94
  // loadCompanyUser: global.LOAD_COMPANY_USER,
95
95
  }),
96
96
  async initDoc() {
97
97
  if (!this.rawDoc) throw new Error("Missing initiated form document");
98
- this.document = new p({
98
+ this.document = new D({
99
99
  data: this.rawDoc,
100
100
  can: this.can,
101
101
  getters: this.$store.getters,
@@ -121,8 +121,8 @@ const s = v({
121
121
  class: "grid h-full w-full place-items-center"
122
122
  };
123
123
  function C(t, o, e, b, r, n) {
124
- const m = u("SendForm"), d = u("CIcon");
125
- return r.document ? (a(), D(m, {
124
+ const m = c("SendForm"), d = c("CIcon");
125
+ return r.document ? (a(), S(m, {
126
126
  key: 0,
127
127
  _document: r.document,
128
128
  _value: {
@@ -144,13 +144,13 @@ function C(t, o, e, b, r, n) {
144
144
  "use-scroll": "",
145
145
  class: "h-full w-full"
146
146
  }, {
147
- content: c(() => [
147
+ content: u(() => [
148
148
  e.contentSlot ? (a(), l("div", {
149
149
  key: 0,
150
150
  innerHTML: e.contentSlot
151
151
  }, null, 8, V)) : i("", !0)
152
152
  ]),
153
- footer: c(() => [
153
+ footer: u(() => [
154
154
  e.footerSlot ? (a(), l("div", {
155
155
  key: 0,
156
156
  innerHTML: e.footerSlot
@@ -158,7 +158,7 @@ function C(t, o, e, b, r, n) {
158
158
  ]),
159
159
  _: 1
160
160
  }, 8, ["_document", "show-name", "show-save", "show-schedule", "allow-edit-clients", "allow-manual-delivery", "set-form-value", "remove-form-value", "on-save-document"])) : (a(), l("div", M, [
161
- _(d, {
161
+ p(d, {
162
162
  type: "loader",
163
163
  class: "animate-spin text-gray-400",
164
164
  size: 28
@@ -1,5 +1,5 @@
1
- import { C as s } from "./index-ByEyJueq.js";
2
- import { _ as t, b as c, d as l, e as i, o as r } from "./main-WDVYC60Z.js";
1
+ import { C as s } from "./index-DuXECcGq.js";
2
+ import { _ as t, b as c, d as l, o as i, f as r } from "./main-BayUZ9OO.js";
3
3
  const a = {
4
4
  name: "DocLinks",
5
5
  components: {
@@ -21,10 +21,10 @@ const a = {
21
21
  }
22
22
  }
23
23
  }, u = { class: "h-full w-full overflow-auto" };
24
- function d(m, p, e, _, f, o) {
25
- const n = i("ClientLinks");
26
- return r(), c("div", u, [
27
- l(n, {
24
+ function d(f, m, e, p, _, o) {
25
+ const n = c("ClientLinks");
26
+ return i(), l("div", u, [
27
+ r(n, {
28
28
  id: e.document.id,
29
29
  onClose: o.close
30
30
  }, null, 8, ["id", "onClose"])
@@ -1,4 +1,4 @@
1
- import { _ as n, e as c, o as s, b as l, c as r, f as d, K as p } from "./main-WDVYC60Z.js";
1
+ import { _ as n, b as c, d as l, o as s, c as r, e as d, T as p } from "./main-BayUZ9OO.js";
2
2
  const i = {
3
3
  name: "DocModalBase",
4
4
  components: {},
@@ -1,4 +1,4 @@
1
- import { _ as C, ap as I, p as D, ak as P, aq as _, ar as k, o as p, b as m, s as o, v as l, n as y, d as r, O as V, f as w, H as b, w as x, e as h, ac as B, as as E } from "./main-WDVYC60Z.js";
1
+ import { _ as C, aa as I, au as D, i as P, av as k, a6 as _, b as h, a4 as V, d as p, o as m, j as o, f as r, t as l, e as w, u as B, x as y, q as b, w as x, aw as E } from "./main-BayUZ9OO.js";
2
2
  const z = {
3
3
  i18nOptions: {
4
4
  namespaces: "documentPrint",
@@ -90,7 +90,7 @@ const z = {
90
90
  return this.document && this.document.allowVerification;
91
91
  },
92
92
  showAdminOptions() {
93
- return D.showAdminSettings || this.isSuperUser;
93
+ return P.showAdminSettings || this.isSuperUser;
94
94
  },
95
95
  hasBankIdSignatures() {
96
96
  var i;
@@ -106,27 +106,27 @@ const z = {
106
106
  created() {
107
107
  Object.assign(
108
108
  this.options,
109
- JSON.parse(P.getItem("print-settings"))
109
+ JSON.parse(_.getItem("print-settings"))
110
110
  ), this.allowVerification || (this.options.showVerification = !1), this.$watch("options", {
111
111
  deep: !0,
112
112
  handler(s) {
113
- P.setItem("print-settings", JSON.stringify(s)), !s.showVerification && !s.showEvents && (this.options.showEvents = !0), !s.showVerification && !s.showLast4ssn && (this.options.showLast4ssn = !0);
113
+ _.setItem("print-settings", JSON.stringify(s)), !s.showVerification && !s.showEvents && (this.options.showEvents = !0), !s.showVerification && !s.showLast4ssn && (this.options.showLast4ssn = !0);
114
114
  }
115
115
  });
116
116
  },
117
117
  methods: {
118
118
  async generatePdf() {
119
119
  if (!this.document || !this.document.publicId) return;
120
- const s = this.$t("preparingPdfDone"), e = this.$t("preparingPdfError"), i = this.$t("preparingPdf"), u = this.$t("_common:download"), { data: t } = await _.addDocument(this.document.publicId, {
120
+ const s = this.$t("preparingPdfDone"), e = this.$t("preparingPdfError"), i = this.$t("preparingPdf"), u = this.$t("_common:download"), { data: t } = await D.addDocument(this.document.publicId, {
121
121
  ...this.options,
122
- brand: D.brand
122
+ brand: P.brand
123
123
  // this.$brand not defined on init
124
124
  // locale: this.$i18n.locale,
125
125
  // timeZone: get(Intl.DateTimeFormat().resolvedOptions(), 'timeZone') || '',
126
126
  });
127
127
  let a, n;
128
128
  const f = async () => {
129
- const { data: d } = await _.get(t) || {};
129
+ const { data: d } = await D.get(t) || {};
130
130
  ({ status: a, url: n } = d);
131
131
  }, g = async () => {
132
132
  try {
@@ -175,13 +175,13 @@ const z = {
175
175
  }, N = {
176
176
  class: "has-text-grey-dark",
177
177
  style: { "font-size": "13px" }
178
- }, H = { class: "select-none pb-1 text-sm font-medium text-gray-800" }, $ = {
178
+ }, j = { class: "select-none pb-1 text-sm font-medium text-gray-800" }, H = {
179
179
  class: "has-text-grey-dark",
180
180
  style: { "font-size": "13px" }
181
- }, j = { key: 1 }, U = { key: 0 }, q = { class: "border-t-2 border-white bg-gray-100 text-xs opacity-80 hover:bg-gray-200" };
181
+ }, $ = { key: 1 }, U = { key: 0 }, q = { class: "border-t-2 border-white bg-gray-100 text-xs opacity-80 hover:bg-gray-200" };
182
182
  function J(s, e, i, u, t, a) {
183
- const n = h("CCheckbox"), f = h("CIcon"), g = h("Animation"), d = h("CInput"), v = h("CButton"), A = B("tooltip");
184
- return p(), m("div", null, [
183
+ const n = h("CCheckbox"), f = h("CIcon"), g = h("Animation"), d = h("CInput"), v = h("CButton"), A = V("tooltip");
184
+ return m(), p("div", null, [
185
185
  o("div", F, [
186
186
  o("div", T, l(s.$t("title")), 1),
187
187
  o("div", S, [
@@ -204,7 +204,7 @@ function J(s, e, i, u, t, a) {
204
204
  })), 1)
205
205
  ])
206
206
  ], 2),
207
- V((p(), m("div", null, [
207
+ B((m(), p("div", null, [
208
208
  o("div", {
209
209
  class: y([{
210
210
  disabled: !i.document.getAllNodesWithType("attachments").length
@@ -229,7 +229,7 @@ function J(s, e, i, u, t, a) {
229
229
  ])
230
230
  ]),
231
231
  e[15] || (e[15] = o("div", { style: { height: "1.25rem" } }, null, -1)),
232
- o("div", H, l(s.$t("_common:verification").capitalize()), 1),
232
+ o("div", j, l(s.$t("_common:verification").capitalize()), 1),
233
233
  o("div", {
234
234
  class: y([{ disabled: !a.allowVerification }, "option-item"])
235
235
  }, [
@@ -245,10 +245,10 @@ function J(s, e, i, u, t, a) {
245
245
  }, null, 8, ["model-value"]),
246
246
  o("div", null, [
247
247
  o("div", null, l(s.$t("showVerification")), 1),
248
- o("div", $, l(s.$t("showVerificationSub")), 1)
248
+ o("div", H, l(s.$t("showVerificationSub")), 1)
249
249
  ])
250
250
  ]),
251
- t.options.showVerification ? (p(), m("div", {
251
+ t.options.showVerification ? (m(), p("div", {
252
252
  key: 0,
253
253
  class: "option-item__inner border-t-2 border-white bg-gray-100 pl-8 hover:bg-gray-200",
254
254
  onClick: e[3] || (e[3] = (c) => t.options.showEvents = !t.options.showEvents)
@@ -263,7 +263,7 @@ function J(s, e, i, u, t, a) {
263
263
  o("div", null, l(s.$t("showEvents")), 1)
264
264
  ])
265
265
  ])) : w("", !0),
266
- t.options.showVerification && a.hasBankIdSignatures ? (p(), m("div", j, [
266
+ t.options.showVerification && a.hasBankIdSignatures ? (m(), p("div", $, [
267
267
  o("div", {
268
268
  class: "mb-1 mt-3 inline-flex cursor-pointer select-none items-center rounded p-2 text-xs font-medium leading-none text-gray-500 hover:bg-gray-100",
269
269
  onClick: e[4] || (e[4] = (c) => t.showMoreOptions = !t.showMoreOptions)
@@ -278,7 +278,7 @@ function J(s, e, i, u, t, a) {
278
278
  ]),
279
279
  r(g, null, {
280
280
  default: x(() => [
281
- t.showMoreOptions ? (p(), m("div", {
281
+ t.showMoreOptions ? (m(), p("div", {
282
282
  key: 0,
283
283
  class: "option-item__inner bg-gray-100 hover:bg-gray-200",
284
284
  onClick: e[5] || (e[5] = (c) => t.options.showLast4ssn = !t.options.showLast4ssn)
@@ -298,7 +298,7 @@ function J(s, e, i, u, t, a) {
298
298
  })
299
299
  ])) : w("", !0)
300
300
  ], 2),
301
- a.showAdminOptions ? (p(), m("div", U, [
301
+ a.showAdminOptions ? (m(), p("div", U, [
302
302
  e[13] || (e[13] = o("div", { style: { height: "1.25rem" } }, null, -1)),
303
303
  e[14] || (e[14] = o("div", { class: "select-none pb-1 text-sm font-medium text-gray-800" }, " Superuser + VPN ", -1)),
304
304
  o("div", {
@@ -386,7 +386,7 @@ const W = /* @__PURE__ */ C(z, [["render", J], ["__scopeId", "data-v-5bb1f402"]]
386
386
  }, G = { class: "h-full w-full overflow-auto px-8 py-12" };
387
387
  function K(s, e, i, u, t, a) {
388
388
  const n = h("DocumentPrint");
389
- return p(), m("div", G, [
389
+ return m(), p("div", G, [
390
390
  r(n, {
391
391
  document: i.document,
392
392
  onClose: e[0] || (e[0] = (f) => s.$router.push("/"))
@@ -1,5 +1,5 @@
1
- import { C as B, a as N } from "./CDropdownItem-BuQONogL.js";
2
- import { m as O, a as z, g as I, _ as S, o, b as i, s as n, v as d, F as p, k as f, d as x, f as u, e as k, ac as F, c as b, O as U, w as $, H as P, l as V } from "./main-WDVYC60Z.js";
1
+ import { C as B, a as N } from "./CDropdownItem-E-kRDIiy.js";
2
+ import { _ as S, m as O, a as z, g as I, b as x, a4 as F, d as i, o, j as n, e as u, f as k, t as d, F as p, n as f, c as b, u as U, w as $, q as P, W as V } from "./main-BayUZ9OO.js";
3
3
  const T = {
4
4
  sv: {
5
5
  title: "Verifikat på signering",
@@ -17,15 +17,15 @@ const T = {
17
17
  confirmChangeMessage: "Do you really want to change sign method for {{- name}}?",
18
18
  bankIdHint: "Identity and signature confirmed with BankID"
19
19
  }
20
- }, E = {
20
+ }, j = {
21
21
  name: "DocumentReceipt",
22
22
  i18nOptions: {
23
23
  namespaces: "documentReceipt",
24
24
  messages: T
25
25
  },
26
26
  components: {
27
- CDropdown: B,
28
- CDropdownItem: N
27
+ CDropdown: N,
28
+ CDropdownItem: B
29
29
  },
30
30
  props: {
31
31
  document: {
@@ -38,7 +38,7 @@ const T = {
38
38
  }
39
39
  },
40
40
  computed: {
41
- ...O({
41
+ ...z({
42
42
  feature: "application/feature"
43
43
  }),
44
44
  signees() {
@@ -93,7 +93,7 @@ const T = {
93
93
  }
94
94
  },
95
95
  methods: {
96
- ...z({
96
+ ...O({
97
97
  showMessage: I.SHOW_MESSAGE,
98
98
  updateDocument: I.UPDATE_DOCUMENT2
99
99
  }),
@@ -132,7 +132,7 @@ const T = {
132
132
  });
133
133
  }
134
134
  }
135
- }, H = { class: "rounded-lg border border-gray-200 bg-gray-100 px-1 pb-1 pt-4 text-gray-600" }, j = { class: "relative mb-1 leading-5" }, L = { class: "pb-1 pl-4" }, q = { class: "font-medium text-black" }, G = { class: "data-label" }, W = {
135
+ }, E = { class: "rounded-lg border border-gray-200 bg-gray-100 px-1 pb-1 pt-4 text-gray-600" }, H = { class: "relative mb-1 leading-5" }, L = { class: "pb-1 pl-4" }, q = { class: "font-medium text-black" }, W = { class: "data-label" }, G = {
136
136
  class: "grid grid-cols-3 gap-2 pb-1 pt-4",
137
137
  style: { "grid-template-columns": "repeat(auto-fit, minmax(200px, 1fr))" }
138
138
  }, J = ["textContent"], K = ["textContent"], Q = {
@@ -152,13 +152,13 @@ const T = {
152
152
  class: "mx-4 h-20 border-t border-gray-100 py-6"
153
153
  }, ct = ["src"], lt = { class: "ml-0.5 mr-2 flex h-9 w-9 items-center justify-center rounded-md border border-[#275369] bg-[#183e4f]" }, mt = ["textContent"], ut = { class: "text-xs opacity-70" };
154
154
  function pt(t, s, a, c, m, r) {
155
- const l = k("CIcon"), g = k("CDropdownItem"), v = k("CDropdown"), C = F("tooltip");
156
- return o(), i("div", H, [
157
- n("div", j, [
155
+ const l = x("CIcon"), g = x("CDropdownItem"), v = x("CDropdown"), C = F("tooltip");
156
+ return o(), i("div", E, [
157
+ n("div", H, [
158
158
  n("div", L, [
159
159
  n("div", q, d(t.$t("title")), 1),
160
- n("div", G, d(r.documentName), 1),
161
- n("div", W, [
160
+ n("div", W, d(r.documentName), 1),
161
+ n("div", G, [
162
162
  (o(!0), i(p, null, f([
163
163
  [t.$t("_common:sentByName"), r.sentByName],
164
164
  [
@@ -188,14 +188,14 @@ function pt(t, s, a, c, m, r) {
188
188
  ])
189
189
  ]),
190
190
  r.waitingFor.length ? (o(), i("div", Q, [
191
- x(l, {
191
+ k(l, {
192
192
  type: "info",
193
193
  size: "14",
194
194
  class: "text-orange-500/80"
195
195
  }),
196
196
  n("div", X, d(t.$t("remaining", { count: r.waitingFor.length })), 1)
197
197
  ])) : u("", !0),
198
- x(l, {
198
+ k(l, {
199
199
  class: "absolute right-5 top-1 text-gray-500",
200
200
  type: "lock",
201
201
  size: "18"
@@ -296,7 +296,7 @@ function pt(t, s, a, c, m, r) {
296
296
  style: V([{ border: "1px solid #35677e" }, "background: linear-gradient(45deg,hsl(200deg 35% 17%),hsl(199deg 25% 30%));"])
297
297
  }, [
298
298
  n("div", lt, [
299
- x(l, {
299
+ k(l, {
300
300
  type: "bankId",
301
301
  size: "22"
302
302
  })
@@ -314,7 +314,7 @@ function pt(t, s, a, c, m, r) {
314
314
  ])
315
315
  ]);
316
316
  }
317
- const gt = /* @__PURE__ */ S(E, [["render", pt]]), ht = {
317
+ const gt = /* @__PURE__ */ S(j, [["render", pt]]), ht = {
318
318
  name: "DocReceipt",
319
319
  components: {
320
320
  DocumentReceipt: gt
@@ -327,9 +327,9 @@ const gt = /* @__PURE__ */ S(E, [["render", pt]]), ht = {
327
327
  }
328
328
  };
329
329
  function _t(t, s, a, c, m, r) {
330
- const l = k("DocumentReceipt");
330
+ const l = x("DocumentReceipt");
331
331
  return o(), i("div", null, [
332
- x(l, {
332
+ k(l, {
333
333
  document: a.document,
334
334
  "allow-sign-method-update": !1
335
335
  }, null, 8, ["document"])
@@ -1,4 +1,4 @@
1
- import { ap as T, m as C, a as D, g as $, _ as b, o as a, b as l, s as r, v as c, F as k, k as x, d as M, w as p, H as h, e as y, ac as R, f as N, O as g, c as _ } from "./main-WDVYC60Z.js";
1
+ import { _ as b, m as T, a as C, aa as D, g as $, b as y, a4 as k, d as l, o as a, j as r, f as x, t as c, F as M, n as R, e as N, u as g, c as _, w as p, q as h } from "./main-BayUZ9OO.js";
2
2
  const w = {
3
3
  name: "DocumentSendReminderModal",
4
4
  i18nOptions: {
@@ -15,7 +15,7 @@ const w = {
15
15
  }
16
16
  },
17
17
  components: {
18
- CCheckbox: T
18
+ CCheckbox: D
19
19
  },
20
20
  emits: ["close"],
21
21
  props: {
@@ -48,7 +48,7 @@ const w = {
48
48
  });
49
49
  },
50
50
  methods: {
51
- ...D({
51
+ ...T({
52
52
  sendDocumentReminder: $.SEND_REMINDER_DOCUMENT2
53
53
  }),
54
54
  async submit() {
@@ -72,15 +72,15 @@ const w = {
72
72
  d > -1 ? this.clientsToSend[n].deliveryTypes.splice(d, 1) : this.clientsToSend[n].deliveryTypes.push(e);
73
73
  }
74
74
  }
75
- }, E = { class: "rounded-xl bg-white p-8" }, V = ["textContent"], z = { class: "mb-2 pl-1" }, A = { class: "text-sm font-medium" }, B = ["textContent"], O = ["textContent"], U = { class: "flex" }, I = { class: "mr-2 flex items-center rounded-md border border-gray-200 bg-gray-100 py-1.5 pl-1.5" }, j = { class: "flex items-center rounded-md border border-gray-200 bg-gray-100 py-1.5 pl-1.5 pr-2.5" };
75
+ }, E = { class: "rounded-xl bg-white p-8" }, V = ["textContent"], z = { class: "mb-2 pl-1" }, A = { class: "text-sm font-medium" }, B = ["textContent"], U = ["textContent"], j = { class: "flex" }, I = { class: "mr-2 flex items-center rounded-md border border-gray-200 bg-gray-100 py-1.5 pl-1.5" }, O = { class: "flex items-center rounded-md border border-gray-200 bg-gray-100 py-1.5 pl-1.5 pr-2.5" };
76
76
  function q(e, n, d, s, i, t) {
77
- const m = y("CCheckbox"), v = y("CButton"), f = R("tooltip");
77
+ const m = y("CCheckbox"), v = y("CButton"), f = k("tooltip");
78
78
  return a(), l("div", E, [
79
79
  r("div", {
80
80
  class: "mb-6 text-lg font-semibold",
81
81
  textContent: c(e.$t("_common:send", { thing: e.$t("_common:reminder") }))
82
82
  }, null, 8, V),
83
- (a(!0), l(k, null, x(i.clientsToSend, (o, u) => (a(), l("div", {
83
+ (a(!0), l(M, null, R(i.clientsToSend, (o, u) => (a(), l("div", {
84
84
  key: u,
85
85
  class: "mb-3 rounded-lg border border-gray-200 p-2"
86
86
  }, [
@@ -94,9 +94,9 @@ function q(e, n, d, s, i, t) {
94
94
  key: 1,
95
95
  class: "text-xs text-gray-500",
96
96
  textContent: c(e.$t("cannotSign").capitalize())
97
- }, null, 8, O)) : N("", !0)
97
+ }, null, 8, U)) : N("", !0)
98
98
  ]),
99
- r("div", U, [
99
+ r("div", j, [
100
100
  r("div", I, [
101
101
  g((a(), _(m, {
102
102
  "model-value": t.isTypeActive("sms", o),
@@ -119,7 +119,7 @@ function q(e, n, d, s, i, t) {
119
119
  }]
120
120
  ])
121
121
  ]),
122
- r("div", j, [
122
+ r("div", O, [
123
123
  g((a(), _(m, {
124
124
  "model-value": t.isTypeActive("email", o),
125
125
  size: "tiny",
@@ -141,7 +141,7 @@ function q(e, n, d, s, i, t) {
141
141
  ])
142
142
  ])
143
143
  ]))), 128)),
144
- M(v, {
144
+ x(v, {
145
145
  type: "secondary",
146
146
  size: "small",
147
147
  taller: "",
@@ -168,14 +168,14 @@ const F = /* @__PURE__ */ b(w, [["render", q]]), G = {
168
168
  }
169
169
  }
170
170
  };
171
- function H(e, n, d, s, i, t) {
171
+ function L(e, n, d, s, i, t) {
172
172
  const m = y("DocumentSendReminderModal");
173
173
  return a(), _(m, {
174
174
  document: d.document,
175
175
  onClose: n[0] || (n[0] = (v) => e.$router.push("/"))
176
176
  }, null, 8, ["document"]);
177
177
  }
178
- const J = /* @__PURE__ */ b(G, [["render", H]]);
178
+ const J = /* @__PURE__ */ b(G, [["render", L]]);
179
179
  export {
180
180
  J as default
181
181
  };