@cling-se/widget 0.15.3 → 0.15.6

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 (134) hide show
  1. package/README.md +43 -43
  2. package/dist/{AddClientCallout-8s5a1_CZ.js → AddClientCallout-BpWCvb7A.js} +15 -13
  3. package/dist/{AnswerModal-Cnp43tGo.js → AnswerModal-0JXov7oA.js} +71 -71
  4. package/dist/{AttachmentItem-BP85gcjP.js → AttachmentItem-C93ndWhI.js} +17 -12
  5. package/dist/{BaseDatePicker-C27CsTzy.js → BaseDatePicker-BaUxrKlN.js} +2 -2
  6. package/dist/{BaseUpload-DnhS3hGx.js → BaseUpload-CACi6tYY.js} +3 -3
  7. package/dist/{BlockMedia-D4nhek2s.js → BlockMedia-Dlv23tgo.js} +2 -2
  8. package/dist/{CCallout-CQjRcxpC.js → CCallout-jnIpJu5U.js} +4 -5
  9. package/dist/{CCurrencyDropdown-BT01qBGg.js → CCurrencyDropdown-BQLDbp9J.js} +4 -4
  10. package/dist/{CDropdownItem-BSPNul90.js → CDropdownItem-CNUf29O4.js} +139 -37
  11. package/dist/{CFormField-Cz_jNazS.js → CFormField-qy_STCgm.js} +3 -4
  12. package/dist/{CPhoneFormat-C017AoM0.js → CPhoneFormat-BZd_xftN.js} +1 -1
  13. package/dist/CPhoneInput-j4Zuah8p.js +138 -0
  14. package/dist/{CPriceInput-jktMjvwx.js → CPriceInput-CXGw4w0R.js} +2 -2
  15. package/dist/CSelect-CSwTYXae.js +91 -0
  16. package/dist/CSkeleton-B5J9cKAm.js +55 -0
  17. package/dist/ClientAutocomplete-CjaUEuHJ.js +438 -0
  18. package/dist/{ClientModal-DLtFhJya.js → ClientModal-Cn40dzh3.js} +77 -42
  19. package/dist/{ColorPicker-MQmVGbvm.js → ColorPicker-wUW8hJ8i.js} +2 -2
  20. package/dist/{CompanyModal-Qx5xMku0.js → CompanyModal-CbcusrDu.js} +25 -19
  21. package/dist/{ContentWrapper-B9NQqp2q.js → ContentWrapper-Bad8dXOX.js} +11 -11
  22. package/dist/CoverBlockSettings-DX390gBU.js +659 -0
  23. package/dist/{DocAnswer-BlxFv_Gc.js → DocAnswer-BESzyKCO.js} +2 -2
  24. package/dist/{DocDetails-dGcYGJpp.js → DocDetails-1rMbwwY3.js} +10 -10
  25. package/dist/{DocForm-C6o_XBcW.js → DocForm-B3IxEK4j.js} +512 -498
  26. package/dist/{DocFormSend-_prtxNIf.js → DocFormSend-sm8Hu8Be.js} +14 -15
  27. package/dist/{DocLinks-Dp495SCS.js → DocLinks-CyXFaNcq.js} +2 -2
  28. package/dist/{DocModalBase-B0wYq3ft.js → DocModalBase-CSh4Lkzq.js} +2 -2
  29. package/dist/{DocPrint-CURxofeU.js → DocPrint-BQ-M-3OC.js} +3 -3
  30. package/dist/{DocReceipt-DgGcBRVH.js → DocReceipt-OoEOv4bh.js} +25 -20
  31. package/dist/{DocSendReminder-CPty4svi.js → DocSendReminder-dQcAFIdw.js} +19 -16
  32. package/dist/{DocTextEditor-BYsXFRLg.js → DocTextEditor-Ckfx6Hj5.js} +13 -15
  33. package/dist/{DocTimeline-CHg1QykR.js → DocTimeline-DDaN8k9R.js} +36 -34
  34. package/dist/{DocumentClient-CZ6N73pQ.js → DocumentClient-DBA3AQQG.js} +5 -5
  35. package/dist/{DocumentLayout-CiszuoQc.js → DocumentLayout-D42e3G51.js} +1503 -1539
  36. package/dist/{DocumentLogotype-BgFCWcwC.js → DocumentLogotype-ngySb8g4.js} +18 -15
  37. package/dist/{DocumentVoided-DT2hhHk2.js → DocumentVoided-Dtj2XpOI.js} +1 -1
  38. package/dist/{EmbedInput-aLmvzK1I.js → EmbedInput-CxqpXi4D.js} +25 -21
  39. package/dist/{EmbedSettings-BZipciy9.js → EmbedSettings-B4ejIQIJ.js} +13 -11
  40. package/dist/{ErrorCallout-CNxSDsr_.js → ErrorCallout-BiCmogrM.js} +6 -6
  41. package/dist/{FilePreviewModal-DxdksQiy.js → FilePreviewModal-CpSfuR9V.js} +3 -3
  42. package/dist/Flag-B9CEVlmX.js +46 -0
  43. package/dist/{HeaderSettings-DeoSRi6O.js → HeaderSettings-CowCzINW.js} +155 -110
  44. package/dist/{ImageSelectModal-DvQz2VPi.js → ImageSelectModal-DdzcxIMp.js} +6 -6
  45. package/dist/{ImageUploadWrapper-CNQRdHF9.js → ImageUploadWrapper-CWCF8Dlc.js} +3 -3
  46. package/dist/{Index-CPjAXBMU.js → Index-07hqDjA-.js} +5 -5
  47. package/dist/{Index-CDKq7Fx6.js → Index-4_K-mW5b.js} +4 -4
  48. package/dist/Index-B4PLiPUX.js +28 -0
  49. package/dist/{Index-CjfCyQlB.js → Index-B4imH9tr.js} +5 -5
  50. package/dist/{Index-CJeSVpRh.js → Index-BGXkhXYw.js} +2 -2
  51. package/dist/{Index-BjdxeF4C.js → Index-BLK2yfMF.js} +2 -2
  52. package/dist/{Index-w5DWfGOc.js → Index-BS2bqI3s.js} +4 -4
  53. package/dist/{Index-CWj2vDHc.js → Index-BXm5pjk3.js} +49 -44
  54. package/dist/{Index-B3Q09phm.js → Index-BY9jJJk1.js} +4 -4
  55. package/dist/{Index-BEpKb8IR.js → Index-BeAySORd.js} +4 -4
  56. package/dist/{Index-BIv8flFB.js → Index-BguXp1xd.js} +9 -9
  57. package/dist/{Index-CTqdaykO.js → Index-CEQgPBnH.js} +18 -12
  58. package/dist/{Index-q04Dwxrr.js → Index-CWRkkwfa.js} +7 -7
  59. package/dist/{Index-3bD76d9q.js → Index-CaRFixxe.js} +7 -7
  60. package/dist/{Index-D-l3i9vY.js → Index-ClP8s9kZ.js} +3 -3
  61. package/dist/{Index-BDCgilFk.js → Index-Cmu_M3TM.js} +2 -2
  62. package/dist/{Index-BglKAnNq.js → Index-Cnyk_-IC.js} +7 -7
  63. package/dist/{Index-CvRNeJ4U.js → Index-CpLsMmCx.js} +124 -123
  64. package/dist/{Index-CXibuEkU.js → Index-D7WQe9WH.js} +15 -15
  65. package/dist/{Index-CTk6Nh-I.js → Index-DAsAy5JF.js} +7 -7
  66. package/dist/{Index-BiVwDgqW.js → Index-DEcCSixa.js} +2 -2
  67. package/dist/{Index-PUFeH_1z.js → Index-DMy3kJ7T.js} +4 -4
  68. package/dist/{Index-Cfc0Q0AG.js → Index-DWC0ggkj.js} +6 -6
  69. package/dist/{Index-B0n1UOOA.js → Index-DZ59IAyR.js} +6 -6
  70. package/dist/{Index-S3LqU0A0.js → Index-DdJbi1AO.js} +12 -10
  71. package/dist/{Index-B9_POjpY.js → Index-Df9ct4wb.js} +23 -21
  72. package/dist/{Index-D1NwTUs-.js → Index-DhrjL3IY.js} +5 -5
  73. package/dist/{Index-FC1UsElU.js → Index-Dm0Fzc6C.js} +7 -7
  74. package/dist/{Index-Ch5j2tqD.js → Index-DqSikIZB.js} +2 -2
  75. package/dist/{Index-BeMeWDIf.js → Index-DtSf7JJt.js} +6 -6
  76. package/dist/{Index-BNJ2KHKc.js → Index-FfBNBm3w.js} +3 -3
  77. package/dist/{Index-jIIHHGh3.js → Index-SN7H4PM1.js} +489 -471
  78. package/dist/{Index-CePHdKi2.js → Index-U_PvsI4Y.js} +5 -5
  79. package/dist/{Index-C-CE21WK.js → Index-sFiPn5zO.js} +5 -5
  80. package/dist/{InputToggleRow-CvHvRdsn.js → InputToggleRow-CRC8ievQ.js} +2 -2
  81. package/dist/{ManualPopover-DxE-6-Sp.js → ManualPopover-15SKAS2F.js} +1 -1
  82. package/dist/{MediaWrapper-DNi80fbw.js → MediaWrapper-CihDdp6P.js} +3 -3
  83. package/dist/{NotBindingText-D2rYFVxr.js → NotBindingText-nUBihSic.js} +2 -2
  84. package/dist/{PackageGroup-6ar8HjPo.js → PackageGroup-Bk0UeRqr.js} +26 -20
  85. package/dist/PdfTerms-Cy2kB_Zo.js +31 -0
  86. package/dist/{PdfViewer-B5qbLLtd.js → PdfViewer-BMcMfsRH.js} +5 -5
  87. package/dist/{PlainHtml-CIMtcn2F.js → PlainHtml-BDvPNe17.js} +1 -1
  88. package/dist/{PriceHeader-BSpj_-5M.js → PriceHeader-DzvUaY9O.js} +15 -15
  89. package/dist/{SearchApi-Cwgf52EV.js → SearchApi-BPJpYWWz.js} +2 -2
  90. package/dist/SendForm-DWVu8jq8.js +1023 -0
  91. package/dist/{Setup-CRmiH9lD.js → Setup-DjxGq4d9.js} +1 -1
  92. package/dist/{SmartList-D6AvxfSL.js → SmartList-Bh10ojB0.js} +1 -1
  93. package/dist/{TermsSettings-DEO1O460.js → TermsSettings-Cg8TYiLL.js} +17 -12
  94. package/dist/{ThemeColorRow-Cy1NKEIG.js → ThemeColorRow-BeNhoFSI.js} +4 -4
  95. package/dist/{ToggleBinding-BvIUt1Jx.js → ToggleBinding-KmMUK5gz.js} +12 -10
  96. package/dist/{UploadModal-C1j-GeMD.js → UploadModal-DTmPPCz3.js} +6 -6
  97. package/dist/{VideoPlayerInput-BmbrquN6.js → VideoPlayerInput-Z5j6JzLW.js} +15 -11
  98. package/dist/{VideoPlayerSettings-B7HpBoWX.js → VideoPlayerSettings-C7GjuMAw.js} +3 -3
  99. package/dist/{VideoSelectModal-CeaG2tME.js → VideoSelectModal-DMIdcoOE.js} +4 -4
  100. package/dist/{answerDocumentMixin-AcDG8Byi.js → answerDocumentMixin-DulmofDA.js} +3 -3
  101. package/dist/{debounce-HJoaSvIY.js → debounce-nohaKn7u.js} +16 -16
  102. package/dist/{focusDrawerMixin-CBYjpEGL.js → focusDrawerMixin-BsYcC4qG.js} +1 -1
  103. package/dist/{formDrawerState-DYSBcjo4.js → formDrawerState-Bpcaq429.js} +1 -1
  104. package/dist/{formValidationMixin-Dqlhg0R2.js → formValidationMixin-DYGNCEbq.js} +1 -1
  105. package/dist/{index-CLOsPxCh.js → index-BUGMJTF2.js} +35 -33
  106. package/dist/{index-CKZmpLr6.js → index-BVOHCIHl.js} +781 -2021
  107. package/dist/{index-CFe1BJZJ.js → index-CtA6LmXt.js} +1 -1
  108. package/dist/{index-zzCfHTf8.js → index-CxitjuY3.js} +2 -2
  109. package/dist/{index-CFx0cpeM.js → index-CySeSzas.js} +1 -1
  110. package/dist/{index-CFwLDxbi.js → index-zBWldKKX.js} +18 -17
  111. package/dist/index.es.js +10 -10
  112. package/dist/index.umd.js +177 -173
  113. package/dist/{main-BIwKzAN8.js → main-CfSVOXu-.js} +12995 -11349
  114. package/dist/{mapFormMixin-e2PJ431T.js → mapFormMixin-BTZaIaQ8.js} +1 -1
  115. package/dist/omit-DIEW6Th9.js +31 -0
  116. package/dist/{publicSenderState-D-_7UwjT.js → publicSenderState-B4TdI-yD.js} +1 -1
  117. package/dist/regions-BdZt9Srn.js +1250 -0
  118. package/dist/simplebar.min-BZ0EEeAp.js +71 -0
  119. package/dist/style.css +2 -2
  120. package/dist/{throttle-B2yMLA5N.js → throttle-JENEyCY1.js} +2 -2
  121. package/dist/{tinycolor-vIxz4Xgi.js → tinycolor-79beE8BV.js} +1 -1
  122. package/dist/{tippy.esm-DiOYviyf.js → tippy.esm-CR28gOMM.js} +208 -206
  123. package/dist/{utils-CFXqaEy7.js → utils-CD2k1yv3.js} +1 -1
  124. package/dist/{vuedraggable.umd-DDT8qZBI.js → vuedraggable.umd-IXGjMCUG.js} +1 -1
  125. package/package.json +2 -11
  126. package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
  127. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
  128. package/dist/ClientAutocomplete-B3z6RPXr.js +0 -82
  129. package/dist/CoverBlockSettings-Bcz_W5I3.js +0 -275
  130. package/dist/Flag-3OyFDPsP.js +0 -114
  131. package/dist/Index-Cr6DlYGN.js +0 -21
  132. package/dist/PdfTerms-B-lbU_6H.js +0 -36
  133. package/dist/formComponentsInstall-DMoWrprH.js +0 -2505
  134. package/dist/omit-CpamclWf.js +0 -31
@@ -1,15 +1,14 @@
1
- import { i as l, S as s } from "./formComponentsInstall-DMoWrprH.js";
2
- import { V as n, m as r, a as u, g as i, C as c, n as m } from "./main-BIwKzAN8.js";
3
- n.use(l);
4
- const a = n.observable({
1
+ import { S as n } from "./SendForm-DWVu8jq8.js";
2
+ import { V as l, m as s, a as r, g as u, C as i, n as c } from "./main-CfSVOXu-.js";
3
+ const a = l.observable({
5
4
  canEdit: !1,
6
5
  isForm: !0,
7
6
  setFormValue: null,
8
7
  removeFormValue: null
9
- }), d = {
8
+ }), m = {
10
9
  name: "DocFormSend",
11
10
  components: {
12
- SendForm: s
11
+ SendForm: n
13
12
  },
14
13
  provide: () => ({ viewSettings: a, allowSenderSign: !1 }),
15
14
  // TODO maybe not needed
@@ -71,7 +70,7 @@ const a = n.observable({
71
70
  };
72
71
  },
73
72
  computed: {
74
- ...r({
73
+ ...s({
75
74
  company: "application/company",
76
75
  can: "application/can",
77
76
  rawDoc: "forms/document",
@@ -90,14 +89,14 @@ const a = n.observable({
90
89
  this.setDocValue && (a.setFormValue = this.setDocValue), this.removeDocValue && (a.removeFormValue = this.removeDocValue);
91
90
  },
92
91
  methods: {
93
- ...u({
94
- saveDocument: i.SAVE_DYNDOC_FORM
92
+ ...r({
93
+ saveDocument: u.SAVE_DYNDOC_FORM
95
94
  // loadCompanyUser: global.LOAD_COMPANY_USER,
96
95
  }),
97
96
  async initDoc() {
98
97
  if (!this.rawDoc)
99
98
  throw new Error("Missing initiated form document");
100
- this.document = new c({
99
+ this.document = new i({
101
100
  data: this.rawDoc,
102
101
  can: this.can,
103
102
  getters: this.$store.getters,
@@ -119,7 +118,7 @@ const a = n.observable({
119
118
  }
120
119
  }
121
120
  };
122
- var f = function() {
121
+ var d = function() {
123
122
  var e = this, o = e._self._c;
124
123
  return e.document ? o("SendForm", { staticClass: "h-full w-full", attrs: { _document: e.document, _value: {
125
124
  expiresAt: "data.expiresAt",
@@ -133,15 +132,15 @@ var f = function() {
133
132
  }, proxy: !0 }, { key: "footer", fn: function() {
134
133
  return [e.footerSlot ? o("div", { domProps: { innerHTML: e._s(e.footerSlot) } }) : e._e()];
135
134
  }, proxy: !0 }], null, !1, 2490720261) }) : o("div", { staticClass: "grid h-full w-full place-items-center" }, [o("CIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: 28 } })], 1);
136
- }, p = [], h = /* @__PURE__ */ m(
135
+ }, f = [], p = /* @__PURE__ */ c(
136
+ m,
137
137
  d,
138
138
  f,
139
- p,
140
139
  !1,
141
140
  null,
142
141
  null
143
142
  );
144
- const S = h.exports;
143
+ const w = p.exports;
145
144
  export {
146
- S as default
145
+ w as default
147
146
  };
@@ -1,5 +1,5 @@
1
- import { C as o } from "./index-zzCfHTf8.js";
2
- import { n as s } from "./main-BIwKzAN8.js";
1
+ import { C as o } from "./index-CxitjuY3.js";
2
+ import { n as s } from "./main-CfSVOXu-.js";
3
3
  const t = {
4
4
  name: "DocLinks",
5
5
  components: {
@@ -1,4 +1,4 @@
1
- import { n as o } from "./main-BIwKzAN8.js";
1
+ import { n as o } from "./main-CfSVOXu-.js";
2
2
  const s = {
3
3
  name: "DocModalBase",
4
4
  components: {},
@@ -20,7 +20,7 @@ var a = function() {
20
20
  n,
21
21
  !1,
22
22
  null,
23
- "14171006"
23
+ "76fb32f6"
24
24
  );
25
25
  const i = r.exports;
26
26
  export {
@@ -1,4 +1,4 @@
1
- import { n as d, K as h, c, I as l, L as p, M as a, N as m } from "./main-BIwKzAN8.js";
1
+ import { n as d, t as h, c, I as l, Q as p, R as a, T as m } from "./main-CfSVOXu-.js";
2
2
  const u = {
3
3
  i18nOptions: {
4
4
  namespaces: "documentPrint",
@@ -125,7 +125,7 @@ const u = {
125
125
  brand: c.brand
126
126
  // this.$brand not defined on init
127
127
  // locale: this.$i18n.locale,
128
- // timeZone: this.$get(Intl.DateTimeFormat().resolvedOptions(), 'timeZone') || '',
128
+ // timeZone: get(Intl.DateTimeFormat().resolvedOptions(), 'timeZone') || '',
129
129
  });
130
130
  let t, e;
131
131
  const i = async () => {
@@ -207,7 +207,7 @@ var f = function() {
207
207
  g,
208
208
  !1,
209
209
  null,
210
- "c95522c4"
210
+ "57e291c7"
211
211
  );
212
212
  const b = v.exports, w = {
213
213
  name: "DocPrint",
@@ -1,6 +1,7 @@
1
- import { g as p, n as u } from "./main-BIwKzAN8.js";
2
- import { m as g, a as _ } from "./vuex.esm-DKGl8mcw.js";
3
- const f = {
1
+ import { C as g, a as _ } from "./CDropdownItem-CNUf29O4.js";
2
+ import { g as p, n as u } from "./main-CfSVOXu-.js";
3
+ import { m as f, a as x } from "./vuex.esm-DKGl8mcw.js";
4
+ const h = {
4
5
  sv: {
5
6
  title: "Verifikat på signering",
6
7
  waitingForSign: "Väntar på signatur",
@@ -17,11 +18,15 @@ const f = {
17
18
  confirmChangeMessage: "Do you really want to change sign method for {{- name}}?",
18
19
  bankIdHint: "Identity and signature confirmed with BankID"
19
20
  }
20
- }, x = {
21
+ }, y = {
21
22
  name: "DocumentReceipt",
22
23
  i18nOptions: {
23
24
  namespaces: "documentReceipt",
24
- messages: f
25
+ messages: h
26
+ },
27
+ components: {
28
+ CDropdown: g,
29
+ CDropdownItem: _
25
30
  },
26
31
  props: {
27
32
  document: {
@@ -34,7 +39,7 @@ const f = {
34
39
  }
35
40
  },
36
41
  computed: {
37
- ...g({
42
+ ...f({
38
43
  feature: "application/feature"
39
44
  }),
40
45
  signees() {
@@ -89,7 +94,7 @@ const f = {
89
94
  }
90
95
  },
91
96
  methods: {
92
- ..._({
97
+ ...x({
93
98
  showMessage: p.SHOW_MESSAGE,
94
99
  updateDocument: p.UPDATE_DOCUMENT2
95
100
  }),
@@ -129,7 +134,7 @@ const f = {
129
134
  }
130
135
  }
131
136
  };
132
- var h = function() {
137
+ var b = function() {
133
138
  var t = this, e = t._self._c;
134
139
  return e("div", { staticClass: "rounded-lg border border-gray-200 bg-gray-100 px-1 pb-1 pt-4 text-gray-600" }, [e("div", { staticClass: "relative mb-1 leading-5" }, [e("div", { staticClass: "pb-1 pl-4" }, [e("div", { staticClass: "font-medium text-black" }, [t._v(t._s(t.$t("title")))]), e("div", { staticClass: "data-label" }, [t._v(t._s(t.documentName))]), e("div", { staticClass: "grid grid-cols-3 gap-2 pb-1 pt-4", staticStyle: { "grid-template-columns": "repeat(auto-fit, minmax(200px, 1fr))" } }, [t._l([
135
140
  [t.$t("_common:sentByName"), t.sentByName],
@@ -169,24 +174,24 @@ var h = function() {
169
174
  return [d ? e("div", { key: l, staticClass: "text-[13px]" }, [e("div", { staticClass: "text-gray-900", domProps: { textContent: t._s(i) } }), e("div", { staticClass: "flex items-center" }, [e("div", { staticClass: "mr-1.5 text-gray-500", domProps: { textContent: t._s(d) } }), m === "signMethod" && n.method && t.allowSignMethodUpdate && t.signOptions.length > 1 && t.document.status !== "accepted" && n.didAccept === void 0 ? e("CDropdown", { attrs: { "append-to-body": !0, "menu-styling": { width: "180px" } }, scopedSlots: t._u([{ key: "trigger", fn: function() {
170
175
  return [e("div", { staticClass: "text-primary-500 text-xs font-medium underline", domProps: { textContent: t._s(t.$t("_common:change")) } })];
171
176
  }, proxy: !0 }], null, !0) }, t._l(t.signOptions, function(r) {
172
- return e("CDropdownItem", { key: r, attrs: { "icon-right": n.method === r ? "check" : "" }, on: { click: function(D) {
177
+ return e("CDropdownItem", { key: r, attrs: { "icon-right": n.method === r ? "check" : "" }, on: { click: function(S) {
173
178
  n.method !== r && t.onUpdate(n, r);
174
179
  } } }, [t._v(" " + t._s(t.$t(`_common:signMethod.${r}`)) + " ")]);
175
180
  }), 1) : t._e()], 1)]) : t._e()];
176
181
  })], 2)], 1), n.signatureDataURL ? e("div", { staticClass: "mx-4 h-20 border-t border-gray-100 py-6" }, [e("img", { staticClass: "h-full", attrs: { src: n.signatureDataURL } })]) : n.didAccept && n.method === "bankId" ? e("div", { staticClass: "mx-4 mb-4 flex items-center rounded-md bg-gray-300 p-1.5 text-white/90", staticStyle: { border: "1px solid #35677e" }, style: "background: linear-gradient(45deg,hsl(200deg 35% 17%),hsl(199deg 25% 30%));" }, [e("div", { staticClass: "ml-0.5 mr-2 flex h-9 w-9 items-center justify-center rounded-md border border-[#275369] bg-[#183e4f]" }, [e("CIcon", { attrs: { type: "bankId", size: "22" } })], 1), e("div", [e("div", { staticClass: "text-xs font-medium", domProps: { textContent: t._s(t.$t("bankIdHint")) } }), e("div", { staticClass: "text-xs opacity-70" }, [t._v(" " + t._s(((c = n.response) == null ? void 0 : c.name) || n.name) + " · " + t._s(n.socialNo) + " ")])])]) : t._e()]);
177
182
  }), 0)]);
178
- }, y = [], b = /* @__PURE__ */ u(
179
- x,
180
- h,
183
+ }, v = [], C = /* @__PURE__ */ u(
181
184
  y,
185
+ b,
186
+ v,
182
187
  !1,
183
188
  null,
184
189
  null
185
190
  );
186
- const v = b.exports, C = {
191
+ const $ = C.exports, k = {
187
192
  name: "DocReceipt",
188
193
  components: {
189
- DocumentReceipt: v
194
+ DocumentReceipt: $
190
195
  },
191
196
  props: {
192
197
  document: {
@@ -195,18 +200,18 @@ const v = b.exports, C = {
195
200
  }
196
201
  }
197
202
  };
198
- var $ = function() {
203
+ var w = function() {
199
204
  var t = this, e = t._self._c;
200
205
  return e("div", [e("DocumentReceipt", { attrs: { document: t.document, "allow-sign-method-update": !1 } })], 1);
201
- }, k = [], w = /* @__PURE__ */ u(
202
- C,
203
- $,
206
+ }, D = [], I = /* @__PURE__ */ u(
204
207
  k,
208
+ w,
209
+ D,
205
210
  !1,
206
211
  null,
207
212
  null
208
213
  );
209
- const M = w.exports;
214
+ const P = I.exports;
210
215
  export {
211
- M as default
216
+ P as default
212
217
  };
@@ -1,6 +1,6 @@
1
- import { g as m, n as a } from "./main-BIwKzAN8.js";
2
- import { m as c, a as d } from "./vuex.esm-DKGl8mcw.js";
3
- const l = {
1
+ import { t as m, g as c, n as a } from "./main-CfSVOXu-.js";
2
+ import { m as d, a as l } from "./vuex.esm-DKGl8mcw.js";
3
+ const p = {
4
4
  name: "DocumentSendReminderModal",
5
5
  i18nOptions: {
6
6
  namespaces: "documentSendReminderModal",
@@ -15,6 +15,9 @@ const l = {
15
15
  }
16
16
  }
17
17
  },
18
+ components: {
19
+ CCheckbox: m
20
+ },
18
21
  props: {
19
22
  document: {
20
23
  type: Object,
@@ -27,7 +30,7 @@ const l = {
27
30
  };
28
31
  },
29
32
  computed: {
30
- ...c({
33
+ ...d({
31
34
  feature: "application/feature"
32
35
  })
33
36
  },
@@ -45,8 +48,8 @@ const l = {
45
48
  });
46
49
  },
47
50
  methods: {
48
- ...d({
49
- sendDocumentReminder: m.SEND_REMINDER_DOCUMENT2
51
+ ...l({
52
+ sendDocumentReminder: c.SEND_REMINDER_DOCUMENT2
50
53
  }),
51
54
  async submit() {
52
55
  await this.sendDocumentReminder({
@@ -70,7 +73,7 @@ const l = {
70
73
  }
71
74
  }
72
75
  };
73
- var p = function() {
76
+ var u = function() {
74
77
  var e = this, n = e._self._c;
75
78
  return n("div", { staticClass: "rounded-xl bg-white p-8" }, [n("div", { staticClass: "mb-6 text-lg font-semibold", domProps: { textContent: e._s(e.$t("_common:send", { thing: e.$t("_common:reminder") })) } }), e._l(e.clientsToSend, function(t, i) {
76
79
  return n("div", { key: i, staticClass: "mb-3 rounded-lg border border-gray-200 p-2" }, [n("div", { staticClass: "mb-2 pl-1" }, [n("div", { staticClass: "text-sm font-medium" }, [e._v(" " + e._s(t.name || t.companyName) + " ")]), t.answer ? n("div", { staticClass: "text-xs text-gray-500", domProps: { textContent: e._s(e.$t("alreadySigned").capitalize()) } }) : t.documentRole === "recipient" ? n("div", { staticClass: "text-xs text-gray-500", domProps: { textContent: e._s(e.$t("cannotSign").capitalize()) } }) : e._e()]), n("div", { staticClass: "flex" }, [n("div", { staticClass: "mr-2 flex items-center rounded-md border border-gray-200 bg-gray-100 py-1.5 pl-1.5" }, [n("CCheckbox", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
@@ -99,17 +102,17 @@ var p = function() {
99
102
  return e.setDeliveryMethod("email", i);
100
103
  } } }, [e._v(" " + e._s(e.$t("_common:email").capitalize()) + " ")])], 1)])]);
101
104
  }), n("CButton", { staticClass: "mt-8 font-semibold", attrs: { type: "secondary", size: "small", taller: "", icon: "send", wide: "" }, on: { click: e.submit } }, [e._v(" " + e._s(e.$t("_common:send", { thing: e.$t("_common:reminder") })) + " ")])], 2);
102
- }, u = [], _ = /* @__PURE__ */ a(
103
- l,
105
+ }, _ = [], v = /* @__PURE__ */ a(
104
106
  p,
105
107
  u,
108
+ _,
106
109
  !1,
107
110
  null,
108
111
  null
109
112
  );
110
- const v = _.exports, y = {
113
+ const y = v.exports, h = {
111
114
  components: {
112
- DocumentSendReminderModal: v
115
+ DocumentSendReminderModal: y
113
116
  },
114
117
  props: {
115
118
  document: {
@@ -118,20 +121,20 @@ const v = _.exports, y = {
118
121
  }
119
122
  }
120
123
  };
121
- var h = function() {
124
+ var f = function() {
122
125
  var e = this, n = e._self._c;
123
126
  return n("DocumentSendReminderModal", { attrs: { document: e.document }, on: { close: function(t) {
124
127
  return e.$router.push("/");
125
128
  } } });
126
- }, f = [], g = /* @__PURE__ */ a(
127
- y,
129
+ }, g = [], S = /* @__PURE__ */ a(
128
130
  h,
129
131
  f,
132
+ g,
130
133
  !1,
131
134
  null,
132
135
  null
133
136
  );
134
- const b = g.exports;
137
+ const C = S.exports;
135
138
  export {
136
- b as default
139
+ C as default
137
140
  };
@@ -1,11 +1,9 @@
1
- import { V as Vn, n as ut, ai as ys, b as bs, x as _a, p as $a } from "./main-BIwKzAN8.js";
1
+ import { V as Vn, n as ut, $ as ys, b as bs, G as _a, p as $a } from "./main-CfSVOXu-.js";
2
2
  import { g as jn } from "./dom-CJxkno7i.js";
3
- import { t as Uo, F as Ha, s as Va, d as Ds } from "./tippy.esm-DiOYviyf.js";
4
- import { i as Jo, w as ja } from "./CDropdownItem-BSPNul90.js";
5
- import "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js";
6
- import "./CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js";
7
- import { C as Wa } from "./ColorPicker-MQmVGbvm.js";
8
- import { M as Go } from "./ManualPopover-DxE-6-Sp.js";
3
+ import { t as Uo, F as Ha, s as Va, d as Ds } from "./tippy.esm-CR28gOMM.js";
4
+ import { i as Jo, w as ja } from "./CDropdownItem-CNUf29O4.js";
5
+ import { C as Wa } from "./ColorPicker-wUW8hJ8i.js";
6
+ import { M as Go } from "./ManualPopover-15SKAS2F.js";
9
7
  import { h as qa } from "./color-TdtKxwVa.js";
10
8
  function ee(n) {
11
9
  this.content = n;
@@ -13760,7 +13758,7 @@ var am = function() {
13760
13758
  um,
13761
13759
  !1,
13762
13760
  null,
13763
- "5b3042bc"
13761
+ "8ed11a29"
13764
13762
  );
13765
13763
  const dm = cm.exports, hm = {
13766
13764
  name: "TextEditorFontStyleMenu",
@@ -13962,12 +13960,12 @@ var bm = function() {
13962
13960
  Dm,
13963
13961
  !1,
13964
13962
  null,
13965
- "62c3ea9a"
13963
+ "4d9d07e2"
13966
13964
  );
13967
13965
  const km = Cm.exports, wm = {
13968
13966
  components: {
13969
13967
  FormInputRow: Ha,
13970
- TextTemplates: () => import("./index-CLOsPxCh.js")
13968
+ TextTemplates: () => import("./index-BUGMJTF2.js")
13971
13969
  },
13972
13970
  mixins: [ja],
13973
13971
  props: {
@@ -14323,7 +14321,7 @@ var xm = function() {
14323
14321
  Am,
14324
14322
  !1,
14325
14323
  null,
14326
- "77b41fa2"
14324
+ "4251d31d"
14327
14325
  );
14328
14326
  const Sm = vm.exports;
14329
14327
  function Em(n) {
@@ -14868,7 +14866,7 @@ const zm = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, _m = q.cr
14868
14866
  },
14869
14867
  async openPreview() {
14870
14868
  var r;
14871
- const n = () => import("./FilePreviewModal-DxdksQiy.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
14869
+ const n = () => import("./FilePreviewModal-CpSfuR9V.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
14872
14870
  this.$modal.show(
14873
14871
  n,
14874
14872
  {
@@ -14907,7 +14905,7 @@ var Hm = function() {
14907
14905
  Vm,
14908
14906
  !1,
14909
14907
  null,
14910
- "11890f55"
14908
+ "6c36d27d"
14911
14909
  );
14912
14910
  const Wm = jm.exports, qm = (n, e = !1) => _m.extend({
14913
14911
  addOptions() {
@@ -17178,8 +17176,8 @@ var r0 = function() {
17178
17176
  null,
17179
17177
  null
17180
17178
  );
17181
- const b0 = s0.exports;
17179
+ const g0 = s0.exports;
17182
17180
  export {
17183
17181
  t0 as B,
17184
- b0 as T
17182
+ g0 as T
17185
17183
  };
@@ -1,6 +1,7 @@
1
- import { n as u, ag as f, ah as _, ai as b, b as S } from "./main-BIwKzAN8.js";
2
- import { m as D } from "./vuex.esm-DKGl8mcw.js";
3
- const k = {
1
+ import { C as b } from "./CSkeleton-B5J9cKAm.js";
2
+ import { n as u, aj as f, ak as _, $ as S, b as D } from "./main-CfSVOXu-.js";
3
+ import { m as k } from "./vuex.esm-DKGl8mcw.js";
4
+ const w = {
4
5
  name: "DynamicLink",
5
6
  props: {
6
7
  template: {
@@ -14,21 +15,22 @@ const k = {
14
15
  }
15
16
  }
16
17
  };
17
- var w = function() {
18
+ var z = function() {
18
19
  var t = this, e = t._self._c;
19
20
  return e(t.transformed, { tag: "component" });
20
- }, z = [], T = /* @__PURE__ */ u(
21
- k,
21
+ }, T = [], I = /* @__PURE__ */ u(
22
22
  w,
23
23
  z,
24
+ T,
24
25
  !1,
25
26
  null,
26
27
  null
27
28
  );
28
- const I = T.exports, B = {
29
+ const B = I.exports, O = {
29
30
  name: "EventItem",
30
31
  components: {
31
- DynamicLink: I
32
+ DynamicLink: B,
33
+ CSkeleton: b
32
34
  },
33
35
  props: {
34
36
  title: {
@@ -116,18 +118,18 @@ const I = T.exports, B = {
116
118
  }
117
119
  }
118
120
  };
119
- var O = function() {
121
+ var E = function() {
120
122
  var t = this, e = t._self._c;
121
123
  return e("div", { staticClass: "text-primary-500 event relative ml-4 flex cursor-default flex-nowrap pb-5 before:absolute before:-left-px before:top-4 before:h-full before:w-px before:bg-gray-300 before:content-[''] last:before:hidden" }, [e("div", { staticClass: "relative m-0 h-[23px]", staticStyle: { "--bg": "#fff" } }, [e("div", { staticClass: "absolute left-1/2 top-1/2 z-[1] flex h-7 w-7 items-center justify-center rounded-full border-none bg-gray-100", class: t.iconClasses, staticStyle: { transform: "translate(-50%, calc(-50% + 8px))", "box-shadow": "0 0 0 2px var(--bg)" } }, [t.loading ? t._e() : e("CIcon", { attrs: { type: t.icon, size: "14" } })], 1)]), e("div", { staticClass: "ml-7 flex min-w-0 flex-grow flex-col pt-1" }, [t.loading ? [e("CSkeleton", { staticClass: "max-w-md font-medium text-gray-900", class: t.titleSize, attrs: { width: "80%" } }), e("CSkeleton", { staticClass: "text-gray-600", class: t.textSize, attrs: { width: "40%" } }), e("CSkeleton", { staticClass: "inline-flex pt-0.5 text-center text-xs text-gray-500", class: t.dateSize, attrs: { hidden: "" } })] : t._e(), e("div", { staticClass: "max-w-md font-medium", class: [t.isFuture ? "text-gray-500" : "text-gray-700", t.titleSize] }, [t.template ? e("DynamicLink", { attrs: { template: t.template } }) : [t._v(t._s(t.title))]], 2), t.content ? e("div", { class: [t.isFuture ? "text-gray-400" : "text-gray-600", t.textSize] }, [e("div", { domProps: { innerHTML: t._s(t.content) } })]) : t._e(), e("div", { staticClass: "inline-flex pt-1 text-center text-gray-500", class: t.dateSize }, [e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.date, expression: "date" }] }, [t._v(t._s(t.dayOfMonth) + " " + t._s(t.month))])])], 2)]);
122
- }, E = [], M = /* @__PURE__ */ u(
123
- B,
124
+ }, M = [], N = /* @__PURE__ */ u(
124
125
  O,
125
126
  E,
127
+ M,
126
128
  !1,
127
129
  null,
128
130
  null
129
131
  );
130
- const N = M.exports, F = {
132
+ const F = N.exports, q = {
131
133
  sv: {
132
134
  clientName: "Kunden",
133
135
  byName: "Av {{- name}}",
@@ -164,14 +166,14 @@ const N = M.exports, F = {
164
166
  expiredContent: "The expiration date has passed",
165
167
  toEmail: "To: {{email}}"
166
168
  }
167
- }, q = {
169
+ }, A = {
168
170
  name: "DocumentTimeline",
169
171
  i18nOptions: {
170
172
  namespaces: "documentTimeline",
171
- messages: F
173
+ messages: q
172
174
  },
173
175
  components: {
174
- EventItem: N
176
+ EventItem: F
175
177
  },
176
178
  props: {
177
179
  document: {
@@ -188,7 +190,7 @@ const N = M.exports, F = {
188
190
  }
189
191
  },
190
192
  computed: {
191
- ...D({
193
+ ...k({
192
194
  userById: "companyUsers/byId"
193
195
  }),
194
196
  events() {
@@ -342,20 +344,20 @@ const N = M.exports, F = {
342
344
  }
343
345
  }
344
346
  };
345
- var A = function() {
347
+ var j = function() {
346
348
  var t = this, e = t._self._c;
347
349
  return e("div", [t._t("header"), t._l(t.events, function(n, r) {
348
350
  return e("EventItem", { key: r, attrs: { title: n.title, content: n.content, "created-at": n.createdAt, icon: n.icon, color: n.color, "is-future": n.isFuture, size: t.size } });
349
351
  })], 2);
350
- }, j = [], R = /* @__PURE__ */ u(
351
- q,
352
+ }, R = [], L = /* @__PURE__ */ u(
352
353
  A,
353
354
  j,
355
+ R,
354
356
  !1,
355
357
  null,
356
358
  null
357
359
  );
358
- const L = R.exports, v = {
360
+ const P = L.exports, v = {
359
361
  new: {
360
362
  statusClass: "draft",
361
363
  icon: "statusDraft"
@@ -408,7 +410,7 @@ const L = R.exports, v = {
408
410
  statusClass: "archived",
409
411
  icon: "statusArchive"
410
412
  }
411
- }, P = {
413
+ }, G = {
412
414
  props: {
413
415
  status: {
414
416
  type: String,
@@ -421,33 +423,33 @@ const L = R.exports, v = {
421
423
  },
422
424
  computed: {
423
425
  text() {
424
- return this.status ? b.t(`_common:status.${this.status}`) : "";
426
+ return this.status ? S.t(`_common:status.${this.status}`) : "";
425
427
  },
426
428
  className() {
427
429
  const { statusClass: s = "" } = v[this.status] || {};
428
430
  return s;
429
431
  },
430
432
  icon() {
431
- return S(v, `${this.status}.icon`);
433
+ return D(v, `${this.status}.icon`);
432
434
  }
433
435
  }
434
436
  };
435
- var G = function() {
437
+ var H = function() {
436
438
  var t = this, e = t._self._c;
437
439
  return e("div", { staticClass: "c-badge_status inline-flex h-6 items-center rounded-full pl-1 pr-2 text-xs font-medium leading-none", class: t.className }, [t.icon ? e("CIcon", { staticClass: "status-icon mr-1", attrs: { type: t.icon, size: "16" } }) : t._e(), e("span", [t._v(t._s(t.text))])], 1);
438
- }, H = [], V = /* @__PURE__ */ u(
439
- P,
440
+ }, V = [], U = /* @__PURE__ */ u(
440
441
  G,
441
442
  H,
443
+ V,
442
444
  !1,
443
445
  null,
444
446
  null
445
447
  );
446
- const U = V.exports, K = {
448
+ const K = U.exports, J = {
447
449
  name: "DocTimeline",
448
450
  components: {
449
- StatusBadge: U,
450
- DocumentTimeline: L
451
+ StatusBadge: K,
452
+ DocumentTimeline: P
451
453
  },
452
454
  props: {
453
455
  document: {
@@ -464,20 +466,20 @@ const U = V.exports, K = {
464
466
  }
465
467
  }
466
468
  };
467
- var J = function() {
469
+ var Q = function() {
468
470
  var t = this, e = t._self._c;
469
471
  return e("div", { class: { "p-8": t.viewType !== "mount" } }, [e("DocumentTimeline", { attrs: { document: t.document, size: "large" }, scopedSlots: t._u([{ key: "header", fn: function() {
470
472
  return [t.showHeader ? e("div", { staticClass: "mb-4 border-b pb-4" }, [e("div", { staticClass: "mb-2" }, [e("div", { staticClass: "text-xs text-gray-600", domProps: { textContent: t._s(t.$t("_common:document").capitalize()) } }), e("div", { staticClass: "text-lg font-semibold" }, [t._v(t._s(t.document.name))])]), e("div", { staticClass: "-ml-2 inline-flex items-center" }, [e("div", { staticClass: "mr-1.5 py-1 pl-2 text-xs text-gray-600", domProps: { textContent: t._s(t.$t("_common:status.status")) } }), e("StatusBadge", { attrs: { status: t.document.status } })], 1)]) : t._e()];
471
473
  }, proxy: !0 }]) })], 1);
472
- }, Q = [], W = /* @__PURE__ */ u(
473
- K,
474
+ }, W = [], X = /* @__PURE__ */ u(
474
475
  J,
475
476
  Q,
477
+ W,
476
478
  !1,
477
479
  null,
478
480
  null
479
481
  );
480
- const Z = W.exports;
482
+ const et = X.exports;
481
483
  export {
482
- Z as default
484
+ et as default
483
485
  };
@@ -1,8 +1,8 @@
1
- import { a as u } from "./answerDocumentMixin-AcDG8Byi.js";
2
- import { D as m } from "./DocumentLayout-CiszuoQc.js";
3
- import { f as d } from "./formValidationMixin-Dqlhg0R2.js";
4
- import { V as l, n as a } from "./main-BIwKzAN8.js";
5
- import { D as f } from "./DocumentVoided-DT2hhHk2.js";
1
+ import { a as u } from "./answerDocumentMixin-DulmofDA.js";
2
+ import { D as m } from "./DocumentLayout-D42e3G51.js";
3
+ import { f as d } from "./formValidationMixin-DYGNCEbq.js";
4
+ import { V as l, n as a } from "./main-CfSVOXu-.js";
5
+ import { D as f } from "./DocumentVoided-Dtj2XpOI.js";
6
6
  const p = (s) => {
7
7
  var e;
8
8
  return (e = window == null ? void 0 : window.parent) == null ? void 0 : e.postMessage(s, "*");