@cling-se/widget 0.3.3 → 0.5.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 (115) hide show
  1. package/.env +4 -4
  2. package/dist/{DocFormSend.8754868e.js → DocFormSend.63e8ebfd.js} +25 -30
  3. package/dist/DocReceipt.087edc6c.js +189 -0
  4. package/dist/{DocSendReminder.d98e3f1e.js → DocSendReminder.0da038c3.js} +4 -5
  5. package/dist/{DocTimeline.281a4dbc.js → DocTimeline.c75aca03.js} +32 -33
  6. package/dist/index.es.js +29 -4
  7. package/dist/index.umd.js +100 -101
  8. package/dist/{main.837b42e2.js → main.819722de.js} +10877 -10168
  9. package/package.json +2 -1
  10. package/stats.html +1 -1
  11. package/tailwind.config.cjs +1 -1
  12. package/dist/index.0064b913.js +0 -347
  13. package/dist/index.03eb849d.js +0 -392
  14. package/dist/index.06ae19a2.js +0 -392
  15. package/dist/index.0b00c821.js +0 -174
  16. package/dist/index.0b0db0bd.js +0 -405
  17. package/dist/index.0bc608d5.js +0 -373
  18. package/dist/index.0c336ba9.js +0 -405
  19. package/dist/index.0ceaa718.js +0 -358
  20. package/dist/index.0ef1a3a6.js +0 -413
  21. package/dist/index.1503d863.js +0 -424
  22. package/dist/index.15ee0ab9.js +0 -414
  23. package/dist/index.168c2bce.js +0 -423
  24. package/dist/index.16902632.js +0 -392
  25. package/dist/index.18701043.js +0 -419
  26. package/dist/index.198d78b9.js +0 -418
  27. package/dist/index.1b27357e.js +0 -400
  28. package/dist/index.1bc3c82c.js +0 -487
  29. package/dist/index.1cca6025.js +0 -457
  30. package/dist/index.2026e05c.js +0 -413
  31. package/dist/index.222039f9.js +0 -402
  32. package/dist/index.23a35b9b.js +0 -497
  33. package/dist/index.2942b429.js +0 -442
  34. package/dist/index.298a69f1.js +0 -362
  35. package/dist/index.2ace86f5.js +0 -44
  36. package/dist/index.2c359b4e.js +0 -405
  37. package/dist/index.2d941184.js +0 -396
  38. package/dist/index.2db71959.js +0 -542
  39. package/dist/index.2f4aeb17.js +0 -76
  40. package/dist/index.31152a7a.js +0 -460
  41. package/dist/index.311ffa7e.js +0 -527
  42. package/dist/index.32733310.js +0 -437
  43. package/dist/index.3c067fea.js +0 -498
  44. package/dist/index.3fcd5701.js +0 -422
  45. package/dist/index.47d10a37.js +0 -358
  46. package/dist/index.49976861.js +0 -358
  47. package/dist/index.5087f7bd.js +0 -414
  48. package/dist/index.54e2a93d.js +0 -573
  49. package/dist/index.572141f4.js +0 -88
  50. package/dist/index.6158b0ab.js +0 -398
  51. package/dist/index.66cfda66.js +0 -495
  52. package/dist/index.67e7120b.js +0 -497
  53. package/dist/index.694a50c1.js +0 -573
  54. package/dist/index.6b196f79.js +0 -485
  55. package/dist/index.6fbbcdb3.js +0 -392
  56. package/dist/index.741c5144.js +0 -50
  57. package/dist/index.7a83617c.js +0 -495
  58. package/dist/index.7b414677.js +0 -395
  59. package/dist/index.8163ec67.js +0 -89
  60. package/dist/index.825ca275.js +0 -88
  61. package/dist/index.849ab6fa.js +0 -358
  62. package/dist/index.87a7d282.js +0 -422
  63. package/dist/index.89b15e9c.js +0 -11089
  64. package/dist/index.89edadab.js +0 -401
  65. package/dist/index.8d78ff09.js +0 -357
  66. package/dist/index.91647e7b.js +0 -390
  67. package/dist/index.91b4b4e5.js +0 -390
  68. package/dist/index.91b9ac70.js +0 -427
  69. package/dist/index.947cc7ce.js +0 -414
  70. package/dist/index.98d98c90.js +0 -605
  71. package/dist/index.9a09d960.js +0 -401
  72. package/dist/index.9a1c119f.js +0 -103
  73. package/dist/index.9b893c04.js +0 -411
  74. package/dist/index.9c1acbbd.js +0 -422
  75. package/dist/index.9fb3d656.js +0 -89
  76. package/dist/index.9fd80be0.js +0 -423
  77. package/dist/index.a3323069.js +0 -394
  78. package/dist/index.aa84e0d9.js +0 -392
  79. package/dist/index.add715bd.js +0 -664
  80. package/dist/index.b08b5876.js +0 -174
  81. package/dist/index.b3a86349.js +0 -371
  82. package/dist/index.b5842b70.js +0 -89
  83. package/dist/index.b658adad.js +0 -396
  84. package/dist/index.b71f00b5.js +0 -90
  85. package/dist/index.b8750637.js +0 -540
  86. package/dist/index.b995f365.js +0 -358
  87. package/dist/index.ba4f216e.js +0 -399
  88. package/dist/index.bee408a6.js +0 -406
  89. package/dist/index.bf274622.js +0 -397
  90. package/dist/index.bfdd7ce8.js +0 -391
  91. package/dist/index.c02dd0fa.js +0 -344
  92. package/dist/index.c84e7cc7.js +0 -324
  93. package/dist/index.c8b68fb4.js +0 -89
  94. package/dist/index.cbebf0b5.js +0 -89
  95. package/dist/index.cd8e3187.js +0 -247
  96. package/dist/index.cedea761.js +0 -397
  97. package/dist/index.d104916c.js +0 -20
  98. package/dist/index.d3fb286b.js +0 -566
  99. package/dist/index.d6936050.js +0 -446
  100. package/dist/index.d7e2ee42.js +0 -399
  101. package/dist/index.d97cba81.js +0 -564
  102. package/dist/index.dc39d415.js +0 -264
  103. package/dist/index.e1de722f.js +0 -392
  104. package/dist/index.e216613c.js +0 -400
  105. package/dist/index.e70ace17.js +0 -50
  106. package/dist/index.ead78f64.js +0 -496
  107. package/dist/index.eaf0a7c6.js +0 -99
  108. package/dist/index.ef37b57d.js +0 -105
  109. package/dist/index.f9398aeb.js +0 -347
  110. package/dist/index.fbf51f38.js +0 -388
  111. package/dist/index.fd6131ed.js +0 -397
  112. package/dist/index.fe1fd10f.js +0 -514
  113. package/dist/index.fe69dc7a.js +0 -89
  114. package/dist/index.ffd56116.js +0 -161
  115. package/dist/init.1c637e98.js +0 -570
package/.env CHANGED
@@ -1,7 +1,7 @@
1
1
  VITE_APP_ROOT_STYLE_ID=CLING_WIDGET_STYLE
2
- VITE_APP_WEB_BASEURL=https://app.dev2.cling.se
3
- VITE_APP_CLINGAPI_BASEURL=https://api.dev.cling.se
4
- VITE_APP_CLINGAPI_SOCKET_ROOT=https://api.dev.cling.se
2
+ VITE_APP_WEB_BASEURL=https://app.cling.se
3
+ VITE_APP_CLINGAPI_BASEURL=https://api.cling.se
4
+ VITE_APP_CLINGAPI_SOCKET_ROOT=https://api.cling.se
5
5
  VITE_APP_ROLLBAR_CLIENT_TOKEN=cf75726b70174d4097505ae18d5f9600
6
6
  VITE_APP_ROLLBAR_ENV=production
7
7
  VITE_APP_STRIPE_PUBLISHABLE_KEY=pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8
@@ -11,4 +11,4 @@ VITE_APP_WEB_BASEURL_DEV=https://app.dev2.cling.se
11
11
  VITE_APP_CLINGAPI_BASEURL_DEV=https://api.dev.cling.se
12
12
  VITE_APP_CLINGAPI_SOCKET_ROOT_DEV=https://api.dev.cling.se
13
13
  VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV=cf75726b70174d4097505ae18d5f9600
14
- VITE_APP_ROLLBAR_ENV_DEV=staging
14
+ VITE_APP_ROLLBAR_ENV_DEV=staging
@@ -1,5 +1,4 @@
1
- import { g as Se, n as N, C as Ya, s as jf, e as Wf, i as Yf, r as Tc, a as Xs, m as Rc, b as Lt, c as mn, d as nt, _ as Vf, f as Ic, h as Uf, p as Hf, j as Gf, k as qf, l as Pc, V as Va, o as Ac, A as Kf, q as Xf, t as Zf, u as Jf, v as Qf, F as Fc, w as Nc, x as Ua, y as eh, z as th, B as Zs, D as rh, E as nh, G as ih } from "./main.837b42e2.js";
2
- import { c as se, b as ah } from "./init.1c637e98.js";
1
+ import { c as se, g as Se, a as jf, n as N, C as Ya, s as Wf, e as Yf, i as Vf, r as Tc, b as Xs, m as Rc, d as Lt, f as mn, h as nt, _ as Uf, j as Ic, k as Hf, p as Gf, l as qf, o as Kf, q as Pc, V as Va, t as Ac, A as Xf, u as Zf, v as Jf, w as Qf, x as eh, F as Fc, y as Nc, z as Ua, B as th, D as rh, E as Zs, G as nh, H as ih, I as ah } from "./main.819722de.js";
3
2
  const fe = {
4
3
  AD: {
5
4
  name: "Andorra",
@@ -6153,7 +6152,7 @@ y.HTML5_FMT = {
6153
6152
  const sk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6154
6153
  __proto__: null,
6155
6154
  default: y
6156
- }, Symbol.toStringTag, { value: "Module" })), ok = /* @__PURE__ */ ah(sk);
6155
+ }, Symbol.toStringTag, { value: "Module" })), ok = /* @__PURE__ */ jf(sk);
6157
6156
  /*!
6158
6157
  * Pikaday
6159
6158
  *
@@ -6642,7 +6641,7 @@ const ck = {
6642
6641
  change(t) {
6643
6642
  if (t) {
6644
6643
  let e = new Date(t);
6645
- this.direction === "start" && (e = jf(e)), this.direction === "end" && (e = Wf(e)), e = e.toISOString(), this.$emit("input", e);
6644
+ this.direction === "start" && (e = Wf(e)), this.direction === "end" && (e = Yf(e)), e = e.toISOString(), this.$emit("input", e);
6646
6645
  }
6647
6646
  },
6648
6647
  onSelect() {
@@ -6653,7 +6652,7 @@ const ck = {
6653
6652
  this.visible = !0, this.overflowCheck();
6654
6653
  },
6655
6654
  onClose() {
6656
- Yf(new Date(this.value)) || (this.pikaday.setDate(null, !0), this.change(null)), this.visible = !1;
6655
+ Vf(new Date(this.value)) || (this.pikaday.setDate(null, !0), this.change(null)), this.visible = !1;
6657
6656
  },
6658
6657
  show() {
6659
6658
  this.pikaday.show(), this.$emit("focus");
@@ -6963,7 +6962,7 @@ var Mk = function() {
6963
6962
  null
6964
6963
  );
6965
6964
  const Rk = Tk.exports;
6966
- var Ik = Vf, Pk = function() {
6965
+ var Ik = Uf, Pk = function() {
6967
6966
  return Ik.Date.now();
6968
6967
  }, Ak = Pk, Fk = /\s/;
6969
6968
  function Nk(t) {
@@ -6975,7 +6974,7 @@ var Lk = Nk, Bk = Lk, zk = /^\s+/;
6975
6974
  function jk(t) {
6976
6975
  return t && t.slice(0, Bk(t) + 1).replace(zk, "");
6977
6976
  }
6978
- var Wk = jk, Yk = Wk, sc = Ic, Vk = Uf, oc = 0 / 0, Uk = /^[-+]0x[0-9a-f]+$/i, Hk = /^0b[01]+$/i, Gk = /^0o[0-7]+$/i, qk = parseInt;
6977
+ var Wk = jk, Yk = Wk, sc = Ic, Vk = Hf, oc = 0 / 0, Uk = /^[-+]0x[0-9a-f]+$/i, Hk = /^0b[01]+$/i, Gk = /^0o[0-7]+$/i, qk = parseInt;
6979
6978
  function Kk(t) {
6980
6979
  if (typeof t == "number")
6981
6980
  return t;
@@ -7104,7 +7103,7 @@ const nD = {
7104
7103
  async fetchType(t, e, r, n) {
7105
7104
  if (!this.canFetchType(t))
7106
7105
  return [];
7107
- const { data: i } = await Hf("search", {
7106
+ const { data: i } = await Gf("search", {
7108
7107
  type: t,
7109
7108
  query: e,
7110
7109
  ...r !== null && n !== null && { start: r, end: n }
@@ -7129,7 +7128,7 @@ const nD = {
7129
7128
  }
7130
7129
  }
7131
7130
  ]
7132
- }, { data: a } = await Gf("/document", {
7131
+ }, { data: a } = await qf("/document", {
7133
7132
  params: {
7134
7133
  lean: !0,
7135
7134
  filter: encodeURIComponent(JSON.stringify(i)),
@@ -7147,7 +7146,7 @@ const nD = {
7147
7146
  this.hasSearchedAll = !1;
7148
7147
  return;
7149
7148
  }
7150
- const { data: a } = await qf.search(i, { query: t, type: "article" });
7149
+ const { data: a } = await Kf.search(i, { query: t, type: "article" });
7151
7150
  a && Array.isArray(a) && n.push(...a);
7152
7151
  } catch {
7153
7152
  }
@@ -7864,7 +7863,7 @@ const { mapFields: iM } = Ac({
7864
7863
  name: "FormClient",
7865
7864
  components: {
7866
7865
  ClientAutocomplete: Df,
7867
- Animation: Kf
7866
+ Animation: Xf
7868
7867
  },
7869
7868
  mixins: [nM],
7870
7869
  props: {
@@ -8155,7 +8154,7 @@ const cM = lM.exports, { mapFields: uM } = Ac({
8155
8154
  showMessage: nt.SHOW_MESSAGE
8156
8155
  }),
8157
8156
  loadForm(t = {}) {
8158
- this.storedNewClient = Object.assign(this.storedNewClient, t), this.endCustomer = Xf({
8157
+ this.storedNewClient = Object.assign(this.storedNewClient, t), this.endCustomer = Zf({
8159
8158
  type: this.$brand === "cling" ? "individual" : "company",
8160
8159
  ...t
8161
8160
  });
@@ -8339,7 +8338,7 @@ const bM = {
8339
8338
  generateSenderClient() {
8340
8339
  const { company: t, user: e } = this._document.sender || {}, r = Se(this._document, "data.defaultAnswerMethod");
8341
8340
  this.senderClientData = {
8342
- ...Zf(),
8341
+ ...Jf(),
8343
8342
  documentRole: "recipient",
8344
8343
  ...r && { answerMethod: r },
8345
8344
  ...this.senderClient,
@@ -8445,7 +8444,7 @@ const xM = {
8445
8444
  },
8446
8445
  methods: {
8447
8446
  onMoveRecipient({ index: t, direction: e }) {
8448
- this.clients = Jf(this.clients).set(
8447
+ this.clients = Qf(this.clients).set(
8449
8448
  {
8450
8449
  ...this.clients[t],
8451
8450
  signOrder: Math.max(this.clients[t].signOrder + e, 0)
@@ -8475,7 +8474,7 @@ const xM = {
8475
8474
  {
8476
8475
  documentClientIndex: t,
8477
8476
  ...this.useSignOrder && {
8478
- signOrder: Qf(e) === "number" ? e : this.maxSignOrder + 1
8477
+ signOrder: eh(e) === "number" ? e : this.maxSignOrder + 1
8479
8478
  },
8480
8479
  isPublicForm: this.isPublicForm
8481
8480
  }
@@ -8566,10 +8565,6 @@ const EM = {
8566
8565
  type: Boolean,
8567
8566
  default: !1
8568
8567
  },
8569
- addMissingAnswerMethod: {
8570
- type: Boolean,
8571
- default: !1
8572
- },
8573
8568
  onSaveDocument: {
8574
8569
  type: Function,
8575
8570
  default: null
@@ -8649,7 +8644,7 @@ const EM = {
8649
8644
  });
8650
8645
  }
8651
8646
  }
8652
- this.addMissingAnswerMethod && !this.defaultAnswerMethod && (this.defaultAnswerMethod = { accept: "signature", deny: "button" }), ((t = this.defaultAnswerMethod) == null ? void 0 : t.accept) === "button" && this.setAnswerMethod("signature", { ignoreChanges: !0 });
8647
+ ((t = this.defaultAnswerMethod) == null ? void 0 : t.accept) === "button" && this.setAnswerMethod("signature", { ignoreChanges: !0 });
8653
8648
  },
8654
8649
  validations: {
8655
8650
  clients: {
@@ -8671,7 +8666,7 @@ const EM = {
8671
8666
  },
8672
8667
  async doSendDocument() {
8673
8668
  var t;
8674
- this.$v.$touch(), ((t = this._document) == null ? void 0 : t.status) === "denied" && this.resetDeniedDocument(), await this.doSaveDocument({ doSend: !0 });
8669
+ this.$v.$touch(), !this.$v.$invalid && (((t = this._document) == null ? void 0 : t.status) === "denied" && this.resetDeniedDocument(), await this.doSaveDocument({ doSend: !0 }));
8675
8670
  },
8676
8671
  setDeliveryMethod(t, e) {
8677
8672
  const r = this.deliveryTypes;
@@ -8775,7 +8770,7 @@ var TM = function() {
8775
8770
  RM,
8776
8771
  !1,
8777
8772
  null,
8778
- "6ed08d50",
8773
+ "ccf0eb53",
8779
8774
  null,
8780
8775
  null
8781
8776
  );
@@ -10203,7 +10198,7 @@ const If = zE.exports, jE = {
10203
10198
  components: {
10204
10199
  CField: If
10205
10200
  },
10206
- extends: eh,
10201
+ extends: th,
10207
10202
  computed: {
10208
10203
  type() {
10209
10204
  return this.hasErrors ? "is-danger" : this.isValid ? "is-success" : null;
@@ -10347,7 +10342,7 @@ const eT = QE.exports, tT = {
10347
10342
  return this.items.filter((t) => typeof t == "object" ? Object.keys(t).some((e) => String(t[e]).toLowerCase().includes(this.query.toLowerCase())) : String(t).toLowerCase().includes(this.query.toLowerCase()));
10348
10343
  },
10349
10344
  sortedItems() {
10350
- return this.searchedItems.slice().sort((t, e) => (typeof t == "object" && typeof e == "object" && (t = t[this.sortBy], e = e[this.sortBy]), (t === e ? 0 : th(t, e)) * this.sortOrder));
10345
+ return this.searchedItems.slice().sort((t, e) => (typeof t == "object" && typeof e == "object" && (t = t[this.sortBy], e = e[this.sortBy]), (t === e ? 0 : rh(t, e)) * this.sortOrder));
10351
10346
  }
10352
10347
  },
10353
10348
  created() {
@@ -10880,7 +10875,7 @@ const Ec = Va.observable({
10880
10875
  };
10881
10876
  },
10882
10877
  computed: {
10883
- ...rh({
10878
+ ...nh({
10884
10879
  company: "application/company",
10885
10880
  can: "application/can",
10886
10881
  rawDoc: "forms/document",
@@ -10900,14 +10895,14 @@ const Ec = Va.observable({
10900
10895
  this.setFormValue && (Ec.setFormValue = this.setDocValue);
10901
10896
  },
10902
10897
  methods: {
10903
- ...nh({
10898
+ ...ih({
10904
10899
  setFormValue: nt.SET_FORM_VALUE,
10905
10900
  removeFormValue: nt.REMOVE_FORM_VALUE
10906
10901
  }),
10907
10902
  async initDoc() {
10908
10903
  if (!this.rawDoc)
10909
10904
  throw new Error("Missing initiated form document");
10910
- this.document = new ih({
10905
+ this.document = new ah({
10911
10906
  data: this.rawDoc,
10912
10907
  can: this.can,
10913
10908
  getters: this.$store.getters,
@@ -10931,7 +10926,7 @@ var OT = function() {
10931
10926
  clients: "clients",
10932
10927
  reminders: "data.reminders",
10933
10928
  name: "data.name"
10934
- }, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "add-missing-answer-method": "", "use-scroll": "" } }) : r("div", { staticClass: "w-full h-full grid place-items-center" }, [r("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: 28 } })], 1);
10929
+ }, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "use-scroll": "" } }) : r("div", { staticClass: "w-full h-full grid place-items-center" }, [r("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: 28 } })], 1);
10935
10930
  }, kT = [], DT = /* @__PURE__ */ N(
10936
10931
  xT,
10937
10932
  OT,
@@ -10942,7 +10937,7 @@ var OT = function() {
10942
10937
  null,
10943
10938
  null
10944
10939
  );
10945
- const TT = DT.exports;
10940
+ const ET = DT.exports;
10946
10941
  export {
10947
- TT as default
10942
+ ET as default
10948
10943
  };
@@ -0,0 +1,189 @@
1
+ import { f as g, h as p, n as u } from "./main.819722de.js";
2
+ const _ = {
3
+ name: "DocumentReceipt",
4
+ i18nOptions: {
5
+ namespaces: "DocumentReceipt",
6
+ messages: {
7
+ en: {
8
+ title: "Signature verification",
9
+ waitingForSign: "Waiting for signature",
10
+ signMethod: "Sign method",
11
+ remaining: "{{count}} signatures are remaining before the document is completely signed.",
12
+ confirmChangeMessage: "Do you really want to change sign method for {{- name}}?",
13
+ bankIdHint: "Identity and signature confirmed with BankID"
14
+ },
15
+ sv: {
16
+ title: "Verifikat p\xE5 signering",
17
+ waitingForSign: "V\xE4ntar p\xE5 signatur",
18
+ signMethod: "Signeringsmetod",
19
+ remaining: "{{count}} st signaturer kvarst\xE5r innan dokumentet \xE4r helt signerat.",
20
+ confirmChangeMessage: "Vill du verkligen byta signeringsmetod f\xF6r {{- name}}?",
21
+ bankIdHint: "Identifiering och signering s\xE4kerst\xE4lld med BankID."
22
+ }
23
+ }
24
+ },
25
+ props: {
26
+ document: {
27
+ type: Object,
28
+ required: !0
29
+ },
30
+ allowSignMethodUpdate: {
31
+ type: Boolean,
32
+ default: !0
33
+ }
34
+ },
35
+ computed: {
36
+ signees() {
37
+ const { senderClient: a, clients: t } = this.document;
38
+ return [
39
+ ...a ? [a] : [],
40
+ ...(t || []).map((n, s) => ({ ...n, index: s }))
41
+ ].filter(
42
+ (n) => {
43
+ var s;
44
+ return ["signee", "approver"].includes(n.documentRole) || ((s = n.answer) == null ? void 0 : s.didAccept);
45
+ }
46
+ ).map(
47
+ ({
48
+ name: n = "",
49
+ companyName: s,
50
+ email: o,
51
+ socialNo: c = null,
52
+ answerMethod: i,
53
+ answer: d,
54
+ documentRole: l,
55
+ index: m
56
+ }) => ({
57
+ name: n || s || o,
58
+ socialNo: c,
59
+ method: (i == null ? void 0 : i.accept) || "",
60
+ documentRole: l,
61
+ ...d,
62
+ index: m
63
+ })
64
+ );
65
+ },
66
+ waitingFor() {
67
+ return this.document.recipients.reduce(
68
+ (a, t) => {
69
+ var e;
70
+ return t.answer || !["signee", "approver"].includes(t.documentRole) || ((e = t.answerMethod) == null ? void 0 : e.accept) === "inPerson" ? a : [...a, t];
71
+ },
72
+ []
73
+ );
74
+ },
75
+ documentName() {
76
+ return this.document.name || "";
77
+ },
78
+ sentByName() {
79
+ var a, t;
80
+ return ((t = (a = this.document.sender) == null ? void 0 : a.user) == null ? void 0 : t.name) || "";
81
+ }
82
+ },
83
+ methods: {
84
+ ...g({
85
+ showMessage: p.SHOW_MESSAGE,
86
+ updateDocument: p.UPDATE_DOCUMENT2
87
+ }),
88
+ getIconType(a) {
89
+ return a === "signee" ? "pen-tool" : a === "recipient" ? "eye" : a === "approver" ? "check" : "shield";
90
+ },
91
+ getBrowserString({ browser: a, os: t, device: e }) {
92
+ return [a == null ? void 0 : a.name, t == null ? void 0 : t.name, e == null ? void 0 : e.model].filter((n) => !!n).join(", ");
93
+ },
94
+ onUpdate(a, t) {
95
+ this.showMessage({
96
+ displayType: "dialog",
97
+ type: "secondary",
98
+ title: this.$t("_common:change", { thing: this.$t("_common:signMethod.title").toLowerCase() }),
99
+ message: this.$t("confirmChangeMessage", { name: a.name }),
100
+ actions: {
101
+ cancel: {
102
+ text: this.$t("_common:cancel"),
103
+ callback: "cancel"
104
+ },
105
+ submit: {
106
+ text: this.$t("actions:updateDocumentDialog.submit"),
107
+ callback: () => this.updateSignMethod(a.index, t)
108
+ }
109
+ }
110
+ });
111
+ },
112
+ async updateSignMethod(a, t) {
113
+ const { id: e } = this.document || {}, n = { [`clients.${a}.answerMethod.accept`]: t };
114
+ await this.updateDocument({
115
+ id: e,
116
+ body: n,
117
+ params: { type: "paths" }
118
+ });
119
+ }
120
+ }
121
+ };
122
+ var f = function() {
123
+ var t = this, e = t._self._c;
124
+ return e("div", { staticClass: "rounded-lg text-gray-600 pt-4 px-1 pb-1 bg-gray-100 border border-gray-200" }, [e("div", { staticClass: "mb-1 relative leading-5" }, [e("div", { staticClass: "pl-4 pb-1" }, [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([
125
+ [t.$t("_common:sentByName"), t.sentByName],
126
+ [t.$t("_components:status.sent"), t.$formatDate(t.document.sentAt, "Pp")],
127
+ [t.$t("_components:replyBy"), t.document.status === "sent" && t.$formatDate(t.document.expiresAt)],
128
+ [t.$t("_components:status.accepted"), t.$formatDate(t.document.acceptedAt, "Pp")]
129
+ ], function([n, s], o) {
130
+ return [s ? e("div", { key: o }, [e("div", { staticClass: "text-gray-900 text-xs", domProps: { textContent: t._s(n) } }), e("div", { staticClass: "text-gray-600 mr-1.5", domProps: { textContent: t._s(s) } })]) : t._e()];
131
+ })], 2)]), t.waitingFor.length ? e("div", { staticClass: "mt-2 inline-flex items-center text-xs font-medium bg-orange-50 border border-orange-200/90 px-1 py-0.5 rounded-full ml-3 text-black/80" }, [e("BaseIcon", { staticClass: "text-orange-500/80", attrs: { type: "info", size: "14" } }), e("div", { staticClass: "px-1.5" }, [t._v(" " + t._s(t.$t("remaining", { count: t.waitingFor.length })) + " ")])], 1) : t._e(), e("BaseIcon", { staticClass: "absolute top-1 right-5 text-gray-500", attrs: { type: "lock", size: "18" } })], 1), e("div", { staticClass: "flex flex-col gap-2 p-2" }, t._l(t.signees, function(n, s) {
132
+ var o, c;
133
+ return e("div", { key: s, staticClass: "bg-white relative text-gray-700 border border-gray-200 rounded-md" }, [e("div", { staticClass: "px-4 py-3" }, [n.didAccept && n.method === "bankId" ? e("BaseIcon", { staticClass: "absolute top-3 right-4", attrs: { type: "bankIdColor", size: "22" } }) : n.didAccept ? e("BaseIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t(`_common:documentRole.${n.documentRole}.label`), expression: "$t(`_common:documentRole.${signee.documentRole}.label`)" }], staticClass: "lock-icon absolute right-6 top-4 opacity-70", attrs: { size: 18, type: t.getIconType(n.documentRole) } }) : t._e(), n.didAccept === !1 ? e("div", { staticClass: "absolute right-3 top-3 bg-red-200 border border-red-400/50 rounded-full text-xs py-0.5 px-2 inline-flex font-medium text-red-700" }, [t._v(" " + t._s(t.$t("_common:denied").capitalize()) + " ")]) : !n.didAccept && n.method !== "inPerson" ? e("div", { staticClass: "absolute right-3 top-3 bg-orange-50 border border-orange-200/70 rounded-full text-xs py-0.5 px-2 inline-flex font-medium text-black/80" }, [t._v(" " + t._s(t.$t("waitingForSign")) + " ")]) : t._e(), e("div", { staticClass: "font-medium text-[15px] text-black pb-1" }, [t._v(t._s(((o = n.response) == null ? void 0 : o.name) || n.name))]), e("div", { staticClass: "grid grid-cols-3 gap-2 py-1", staticStyle: { "grid-template-columns": "repeat(auto-fit, minmax(190px, 1fr))" } }, [t._l([
134
+ [t.$t("_common:socialNo").capitalize(), n.socialNo],
135
+ [t.$t("signMethod"), t.$t(`_common:signMethod.${n.method}`), "signMethod"],
136
+ [`${t.$t("_common:date").capitalize()} & ${t.$t("_common:time.time")}`, t.$formatDate(n.didAnswerAt, "Pp")],
137
+ ["IP-" + t.$t("_common:address"), n.ip],
138
+ [`${t.$t("_common:browser")}, OS & ${t.$t("_common:device")}`, t.getBrowserString(n)]
139
+ ], function([i, d, l], m) {
140
+ return [d ? e("div", { key: m, staticClass: "text-[13px]" }, [e("div", { staticClass: "text-gray-900", domProps: { textContent: t._s(i) } }), e("div", { staticClass: "flex items-center" }, [e("div", { staticClass: "text-gray-500 mr-1.5", domProps: { textContent: t._s(d) } }), l === "signMethod" && n.method && t.allowSignMethodUpdate && t.document.status !== "accepted" && n.didAccept === void 0 ? e("CDropdown", { attrs: { "append-to-body": !0, "menu-styling": { width: "180px" } } }, [e("div", { staticClass: "underline text-primary-500 font-medium text-xs", attrs: { slot: "trigger" }, domProps: { textContent: t._s(t.$t("_common:change")) }, slot: "trigger" }), t._l([
141
+ ...t.$feature("bankId") ? ["bankId"] : [],
142
+ "signature",
143
+ "inPerson"
144
+ ], function(r) {
145
+ return e("CDropdownItem", { key: r, attrs: { "icon-right": n.method === r ? "check" : "" }, on: { click: function(k) {
146
+ n.method !== r && t.onUpdate(n, r);
147
+ } } }, [t._v(" " + t._s(t.$t(`_common:signMethod.${r}`)) + " ")]);
148
+ })], 2) : t._e()], 1)]) : t._e()];
149
+ })], 2)], 1), n.signatureDataURL ? e("div", { staticClass: "h-20 mx-4 border-t border-gray-100" }, [e("img", { staticClass: "h-full", attrs: { src: n.signatureDataURL } })]) : n.didAccept && n.method === "bankId" ? e("div", { staticClass: "bg-gray-300 mx-4 mb-4 text-white/90 flex items-center p-1.5 rounded-md", staticStyle: { background: "linear-gradient(45deg, hsl(200deg 35% 17%), hsl(199deg 25% 30%))", border: "1px solid #35677e" } }, [e("div", { staticClass: "rounded-md w-9 h-9 flex items-center justify-center mr-2 ml-0.5 bg-[#183e4f] border border-[#275369]" }, [e("BaseIcon", { 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) + " \xB7 " + t._s(n.socialNo))])])]) : t._e()]);
150
+ }), 0)]);
151
+ }, x = [], h = /* @__PURE__ */ u(
152
+ _,
153
+ f,
154
+ x,
155
+ !1,
156
+ null,
157
+ null,
158
+ null,
159
+ null
160
+ );
161
+ const b = h.exports, y = {
162
+ name: "DocReceipt",
163
+ components: {
164
+ DocumentReceipt: b
165
+ },
166
+ props: {
167
+ document: {
168
+ type: Object,
169
+ required: !0
170
+ }
171
+ }
172
+ };
173
+ var v = function() {
174
+ var t = this, e = t._self._c;
175
+ return e("div", [e("DocumentReceipt", { attrs: { document: t.document, "allow-sign-method-update": !1 } })], 1);
176
+ }, C = [], $ = /* @__PURE__ */ u(
177
+ y,
178
+ v,
179
+ C,
180
+ !1,
181
+ null,
182
+ null,
183
+ null,
184
+ null
185
+ );
186
+ const w = $.exports;
187
+ export {
188
+ w as default
189
+ };
@@ -1,5 +1,4 @@
1
- import { b as d, c, d as l, n as r } from "./main.837b42e2.js";
2
- import "./init.1c637e98.js";
1
+ import { d, f as c, h as l, n as r } from "./main.819722de.js";
3
2
  const m = {
4
3
  name: "DocumentSendReminderModal",
5
4
  props: {
@@ -87,7 +86,7 @@ var _ = function() {
87
86
  return s("DocumentSendReminderModal", { attrs: { document: e.document }, on: { close: function(t) {
88
87
  return e.$router.push("/");
89
88
  } } });
90
- }, f = [], b = /* @__PURE__ */ r(
89
+ }, f = [], T = /* @__PURE__ */ r(
91
90
  h,
92
91
  _,
93
92
  f,
@@ -97,7 +96,7 @@ var _ = function() {
97
96
  null,
98
97
  null
99
98
  );
100
- const $ = b.exports;
99
+ const g = T.exports;
101
100
  export {
102
- $ as default
101
+ g as default
103
102
  };
@@ -1,5 +1,4 @@
1
- import { n as p, i as g, H as f, b as x } from "./main.837b42e2.js";
2
- import "./init.1c637e98.js";
1
+ import { n as p, i as g, J as f, d as x } from "./main.819722de.js";
3
2
  const $ = {
4
3
  name: "DynamicLink",
5
4
  props: {
@@ -15,8 +14,8 @@ const $ = {
15
14
  }
16
15
  };
17
16
  var v = function() {
18
- var t = this, e = t._self._c;
19
- return e(t.transformed, { tag: "component" });
17
+ var e = this, t = e._self._c;
18
+ return t(e.transformed, { tag: "component" });
20
19
  }, b = [], C = /* @__PURE__ */ p(
21
20
  $,
22
21
  v,
@@ -110,8 +109,8 @@ const k = C.exports, S = {
110
109
  }
111
110
  };
112
111
  var D = function() {
113
- var t = this, e = t._self._c;
114
- return e("div", { staticClass: "flex flex-nowrap relative text-primary-500 cursor-default pb-5 ml-4 event before:content-[''] before:absolute before:w-px before:h-full before:bg-gray-300 before:-left-px before:top-4 last:before:hidden" }, [e("div", { staticClass: "m-0 h-[23px] relative", staticStyle: { "--bg": "#fff" } }, [e("div", { staticClass: "rounded-full absolute left-1/2 top-1/2 z-[1] w-7 h-7 flex items-center justify-center 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("BaseIcon", { attrs: { type: t.icon, size: "14" } })], 1)]), e("div", { staticClass: "ml-7 min-w-0 flex-grow flex flex-col pt-1" }, [t.loading ? [e("CSkeleton", { staticClass: "max-w-md text-gray-900 font-medium", class: t.titleSize, attrs: { width: "80%" } }), e("CSkeleton", { staticClass: "text-gray-600", class: t.textSize, attrs: { width: "40%" } }), e("CSkeleton", { staticClass: "text-center text-gray-500 text-xs inline-flex pt-0.5", 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: "text-center text-gray-500 inline-flex pt-1", 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)]);
112
+ var e = this, t = e._self._c;
113
+ return t("div", { staticClass: "flex flex-nowrap relative text-primary-500 cursor-default pb-5 ml-4 event before:content-[''] before:absolute before:w-px before:h-full before:bg-gray-300 before:-left-px before:top-4 last:before:hidden" }, [t("div", { staticClass: "m-0 h-[23px] relative", staticStyle: { "--bg": "#fff" } }, [t("div", { staticClass: "rounded-full absolute left-1/2 top-1/2 z-[1] w-7 h-7 flex items-center justify-center border-none bg-gray-100", class: e.iconClasses, staticStyle: { transform: "translate(-50%, calc(-50% + 8px))", "box-shadow": "0 0 0 2px var(--bg)" } }, [e.loading ? e._e() : t("BaseIcon", { attrs: { type: e.icon, size: "14" } })], 1)]), t("div", { staticClass: "ml-7 min-w-0 flex-grow flex flex-col pt-1" }, [e.loading ? [t("CSkeleton", { staticClass: "max-w-md text-gray-900 font-medium", class: e.titleSize, attrs: { width: "80%" } }), t("CSkeleton", { staticClass: "text-gray-600", class: e.textSize, attrs: { width: "40%" } }), t("CSkeleton", { staticClass: "text-center text-gray-500 text-xs inline-flex pt-0.5", class: e.dateSize, attrs: { hidden: "" } })] : e._e(), t("div", { staticClass: "max-w-md font-medium", class: [e.isFuture ? "text-gray-500" : "text-gray-700", e.titleSize] }, [e.template ? t("DynamicLink", { attrs: { template: e.template } }) : [e._v(e._s(e.title))]], 2), e.content ? t("div", { class: [e.isFuture ? "text-gray-400" : "text-gray-600", e.textSize] }, [t("div", { domProps: { innerHTML: e._s(e.content) } })]) : e._e(), t("div", { staticClass: "text-center text-gray-500 inline-flex pt-1", class: e.dateSize }, [t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.date, expression: "date" }] }, [e._v(e._s(e.dayOfMonth) + " " + e._s(e.month))])])], 2)]);
115
114
  }, w = [], z = /* @__PURE__ */ p(
116
115
  S,
117
116
  D,
@@ -191,9 +190,9 @@ const I = z.exports, M = {
191
190
  code: "created",
192
191
  createdAt: (i = this.document) == null ? void 0 : i.createdAt
193
192
  })
194
- ], { events: t, scheduledFirstDelivery: e } = this.document || {};
195
- if ((e == null ? void 0 : e.status) === "active") {
196
- const r = e.deliveryTypes.join(
193
+ ], { events: e, scheduledFirstDelivery: t } = this.document || {};
194
+ if ((t == null ? void 0 : t.status) === "active") {
195
+ const r = t.deliveryTypes.join(
197
196
  ` ${this.$t("_common:and")} `
198
197
  );
199
198
  n.push({
@@ -201,18 +200,18 @@ const I = z.exports, M = {
201
200
  content: `${this.$t(
202
201
  "_common:via"
203
202
  )} ${r}, ${this.$formatDate(
204
- e.sendAt
203
+ t.sendAt
205
204
  )}`,
206
205
  isFuture: !0,
207
206
  icon: "calendar",
208
207
  color: "primary"
209
208
  });
210
209
  }
211
- return t == null || t.forEach((r) => n.push(this.formatEvent(r))), n;
210
+ return e == null || e.forEach((r) => n.push(this.formatEvent(r))), n;
212
211
  }
213
212
  },
214
213
  methods: {
215
- formatEvent({ code: n, data: t, createdAt: e, children: i = [] }) {
214
+ formatEvent({ code: n, data: e, createdAt: t, children: i = [] }) {
216
215
  const {
217
216
  client: r = {},
218
217
  clients: u,
@@ -221,18 +220,18 @@ const I = z.exports, M = {
221
220
  counter: _,
222
221
  sendSource: h,
223
222
  companyUserId: y
224
- } = t || {}, m = _ || i.length + 1, o = r.name;
223
+ } = e || {}, m = _ || i.length + 1, o = r.name;
225
224
  return {
226
225
  created: () => ({
227
226
  title: this.$t("_common:created"),
228
- createdAt: e,
227
+ createdAt: t,
229
228
  icon: "folder",
230
229
  color: "primary"
231
230
  }),
232
231
  viewed: () => ({
233
232
  title: this.$t("viewed"),
234
233
  content: (o ? this.$t("viewedContent", { name: o }) : "") + (m ? ` ${this.$tc("_common:times", { count: m })}` : ""),
235
- createdAt: e,
234
+ createdAt: t,
236
235
  icon: "eye",
237
236
  color: "primary"
238
237
  }),
@@ -241,7 +240,7 @@ const I = z.exports, M = {
241
240
  const s = {
242
241
  title: this.$t("_common:status.signed"),
243
242
  content: o ? this.$t("byName", { name: o }) : "",
244
- createdAt: e,
243
+ createdAt: t,
245
244
  icon: "check",
246
245
  color: "primary"
247
246
  };
@@ -250,7 +249,7 @@ const I = z.exports, M = {
250
249
  denied: () => ({
251
250
  title: this.$t("_common:status.denied"),
252
251
  content: o ? this.$t("byName", { name: o }) : "",
253
- createdAt: e,
252
+ createdAt: t,
254
253
  icon: "x",
255
254
  color: "primary"
256
255
  }),
@@ -266,7 +265,7 @@ const I = z.exports, M = {
266
265
  (a, l) => a ? `${a}<div>${l}</div>` : `${this.$t("_common:to")}: ${l}`.capitalize(),
267
266
  ""
268
267
  ),
269
- createdAt: e,
268
+ createdAt: t,
270
269
  icon: h === "reminder" ? "bell" : "send",
271
270
  color: "primary"
272
271
  };
@@ -275,7 +274,7 @@ const I = z.exports, M = {
275
274
  title: `${this.$t("statusChanged")} ${this.$t(
276
275
  `_common:status.${d}`
277
276
  )}`,
278
- createdAt: e,
277
+ createdAt: t,
279
278
  icon: d === "accepted" ? "check" : "x",
280
279
  color: d === "accepted" ? "green" : "red"
281
280
  } : null,
@@ -287,7 +286,7 @@ const I = z.exports, M = {
287
286
  `_common:status.${d}`
288
287
  )}`,
289
288
  content: s && this.$t("byName", { name: s }),
290
- createdAt: e,
289
+ createdAt: t,
291
290
  icon: "tool",
292
291
  color: "primary"
293
292
  };
@@ -297,35 +296,35 @@ const I = z.exports, M = {
297
296
  thing: this.$t("_common:email").capitalize()
298
297
  }),
299
298
  content: c ? `${this.$t("_common:to")}: ${c}`.capitalize() : "",
300
- createdAt: e,
299
+ createdAt: t,
301
300
  icon: "inbox",
302
301
  color: "primary"
303
302
  }),
304
303
  mailOpened: () => ({
305
304
  title: this.$t("mailOpened"),
306
305
  content: `${this.$t("mailOpenedContent", { email: c })} ${m ? this.$tc("_common:times", { count: m }) : ""}`,
307
- createdAt: e,
306
+ createdAt: t,
308
307
  icon: "email",
309
308
  color: "primary"
310
309
  }),
311
310
  mailDropped: () => ({
312
311
  title: this.$t("mailDropped"),
313
312
  content: c ? this.$t("toEmail", { email: c }) : null,
314
- createdAt: e,
313
+ createdAt: t,
315
314
  icon: "alert-triangle",
316
315
  color: "orange"
317
316
  }),
318
317
  smsDropped: () => ({
319
318
  title: this.$t("smsDropped"),
320
- content: t ? `${this.$t("_common:to")}: ${t}`.capitalize() : "",
321
- createdAt: e,
319
+ content: e ? `${this.$t("_common:to")}: ${e}`.capitalize() : "",
320
+ createdAt: t,
322
321
  icon: "alert-triangle",
323
322
  color: "orange"
324
323
  }),
325
324
  expired: () => ({
326
325
  title: this.$t("expired"),
327
326
  content: this.$t("expiredContent"),
328
- createdAt: e,
327
+ createdAt: t,
329
328
  icon: "x",
330
329
  color: "red"
331
330
  })
@@ -334,9 +333,9 @@ const I = z.exports, M = {
334
333
  }
335
334
  };
336
335
  var B = function() {
337
- var t = this, e = t._self._c;
338
- return e("div", [e("div", { staticClass: "border-b mb-4 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: "font-semibold text-lg" }, [t._v(t._s(t.document.name))])]), e("div", { staticClass: "inline-flex items-center rounded-full bg-gray-100 border-gray-200 -ml-2" }, [e("div", { staticClass: "text-xs text-gray-600 mr-1 py-1 pl-2", domProps: { textContent: t._s(t.$t("_common:status.status")) } }), e("div", { staticClass: "text-xs font-semibold py-1 px-2 bg-gray-300 rounded-r-full", domProps: { textContent: t._s(t.$t(`_common:status.${t.document.status}`)) } })])]), t._l(t.events, function(i, r) {
339
- return e("EventItem", { key: r, attrs: { title: i.title, content: i.content, createdAt: i.createdAt, icon: i.icon, color: i.color, "is-future": i.isFuture, size: "large" } });
336
+ var e = this, t = e._self._c;
337
+ return t("div", [t("div", { staticClass: "border-b mb-4 pb-4" }, [t("div", { staticClass: "mb-2" }, [t("div", { staticClass: "text-xs text-gray-600", domProps: { textContent: e._s(e.$t("_common:document").capitalize()) } }), t("div", { staticClass: "font-semibold text-lg" }, [e._v(e._s(e.document.name))])]), t("div", { staticClass: "inline-flex items-center rounded-full bg-gray-100 border-gray-200 -ml-2" }, [t("div", { staticClass: "text-xs text-gray-600 mr-1 py-1 pl-2", domProps: { textContent: e._s(e.$t("_common:status.status")) } }), t("div", { staticClass: "text-xs font-semibold py-1 px-2 bg-gray-300 rounded-r-full", domProps: { textContent: e._s(e.$t(`_common:status.${e.document.status}`)) } })])]), e._l(e.events, function(i, r) {
338
+ return t("EventItem", { key: r, attrs: { title: i.title, content: i.content, createdAt: i.createdAt, icon: i.icon, color: i.color, "is-future": i.isFuture, size: "large" } });
340
339
  })], 2);
341
340
  }, O = [], E = /* @__PURE__ */ p(
342
341
  M,
@@ -361,8 +360,8 @@ const N = E.exports, T = {
361
360
  }
362
361
  };
363
362
  var q = function() {
364
- var t = this, e = t._self._c;
365
- return e("div", { staticClass: "p-8" }, [e("DocumentTimeline", { attrs: { id: t.id } })], 1);
363
+ var e = this, t = e._self._c;
364
+ return t("div", { staticClass: "p-8" }, [t("DocumentTimeline", { attrs: { id: e.id } })], 1);
366
365
  }, F = [], P = /* @__PURE__ */ p(
367
366
  T,
368
367
  q,
@@ -373,7 +372,7 @@ var q = function() {
373
372
  null,
374
373
  null
375
374
  );
376
- const A = P.exports;
375
+ const j = P.exports;
377
376
  export {
378
- A as default
377
+ j as default
379
378
  };