@cling-se/widget 0.3.2 → 0.4.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 (113) hide show
  1. package/dist/{DocFormSend.58fbdade.js → DocFormSend.06af8a6b.js} +27 -32
  2. package/dist/{DocSendReminder.610e6f1b.js → DocSendReminder.526624ad.js} +16 -15
  3. package/dist/DocTimeline.fbf264f2.js +378 -0
  4. package/dist/index.es.js +29 -4
  5. package/dist/index.umd.js +104 -105
  6. package/dist/{main.65f1b3e9.js → main.5aaccd3f.js} +9505 -8879
  7. package/package.json +1 -1
  8. package/stats.html +1 -1
  9. package/tailwind.config.cjs +1 -1
  10. package/dist/index.021aea9f.js +0 -401
  11. package/dist/index.0372fc9a.js +0 -457
  12. package/dist/index.05656554.js +0 -573
  13. package/dist/index.08d12aab.js +0 -161
  14. package/dist/index.0c6034f0.js +0 -418
  15. package/dist/index.0df3b27e.js +0 -460
  16. package/dist/index.0e4c0d69.js +0 -496
  17. package/dist/index.135b006c.js +0 -358
  18. package/dist/index.1595ef27.js +0 -397
  19. package/dist/index.1936f911.js +0 -605
  20. package/dist/index.1c5c3e44.js +0 -89
  21. package/dist/index.1c92d26c.js +0 -405
  22. package/dist/index.1d4d1b78.js +0 -527
  23. package/dist/index.1e40747d.js +0 -495
  24. package/dist/index.1f0b252d.js +0 -88
  25. package/dist/index.218b46ae.js +0 -400
  26. package/dist/index.22b2af79.js +0 -89
  27. package/dist/index.25db5309.js +0 -485
  28. package/dist/index.266a6ace.js +0 -664
  29. package/dist/index.272e7245.js +0 -411
  30. package/dist/index.27304047.js +0 -392
  31. package/dist/index.291b2b54.js +0 -373
  32. package/dist/index.2ace86f5.js +0 -44
  33. package/dist/index.2f4aeb17.js +0 -76
  34. package/dist/index.31d7f14e.js +0 -358
  35. package/dist/index.37c3cfdc.js +0 -514
  36. package/dist/index.39e24331.js +0 -396
  37. package/dist/index.3ae42b88.js +0 -495
  38. package/dist/index.3ede3ed9.js +0 -11089
  39. package/dist/index.48e6f73c.js +0 -390
  40. package/dist/index.4ac3b55d.js +0 -392
  41. package/dist/index.4dbcd770.js +0 -358
  42. package/dist/index.4eb9c363.js +0 -573
  43. package/dist/index.4eba4a7d.js +0 -391
  44. package/dist/index.4f04d830.js +0 -88
  45. package/dist/index.4ff3dace.js +0 -564
  46. package/dist/index.510b34a1.js +0 -392
  47. package/dist/index.54aa5bdb.js +0 -392
  48. package/dist/index.571dd412.js +0 -414
  49. package/dist/index.57976804.js +0 -405
  50. package/dist/index.59de1b2c.js +0 -89
  51. package/dist/index.5b3f29b6.js +0 -90
  52. package/dist/index.5e93a4a4.js +0 -392
  53. package/dist/index.604f9a4f.js +0 -89
  54. package/dist/index.63b5f71b.js +0 -400
  55. package/dist/index.64fdd79b.js +0 -358
  56. package/dist/index.66e76ef5.js +0 -414
  57. package/dist/index.6d854739.js +0 -394
  58. package/dist/index.7062d55c.js +0 -498
  59. package/dist/index.7081acc5.js +0 -398
  60. package/dist/index.7619605a.js +0 -437
  61. package/dist/index.764b658e.js +0 -413
  62. package/dist/index.7b93c6da.js +0 -540
  63. package/dist/index.7c5aed5b.js +0 -174
  64. package/dist/index.83910d3f.js +0 -424
  65. package/dist/index.8bd24899.js +0 -89
  66. package/dist/index.90a87d9e.js +0 -422
  67. package/dist/index.95cbc7d1.js +0 -50
  68. package/dist/index.98af6e12.js +0 -362
  69. package/dist/index.9a1c119f.js +0 -103
  70. package/dist/index.9d868f2c.js +0 -497
  71. package/dist/index.a0f17a47.js +0 -105
  72. package/dist/index.a3b03275.js +0 -542
  73. package/dist/index.a4cc2ffa.js +0 -422
  74. package/dist/index.a9441e00.js +0 -396
  75. package/dist/index.a9a2afee.js +0 -89
  76. package/dist/index.b4904461.js +0 -423
  77. package/dist/index.b51268b0.js +0 -401
  78. package/dist/index.b6512901.js +0 -487
  79. package/dist/index.b724afce.js +0 -347
  80. package/dist/index.ba3dcf3b.js +0 -406
  81. package/dist/index.be109e22.js +0 -422
  82. package/dist/index.bf3d1093.js +0 -419
  83. package/dist/index.c02dd0fa.js +0 -344
  84. package/dist/index.c2181b71.js +0 -347
  85. package/dist/index.c498538e.js +0 -174
  86. package/dist/index.c627b669.js +0 -442
  87. package/dist/index.c84e7cc7.js +0 -324
  88. package/dist/index.c934c6af.js +0 -405
  89. package/dist/index.cd8e3187.js +0 -247
  90. package/dist/index.ce8801e2.js +0 -413
  91. package/dist/index.d104916c.js +0 -20
  92. package/dist/index.d320459d.js +0 -357
  93. package/dist/index.d380d13d.js +0 -371
  94. package/dist/index.d5ad6009.js +0 -427
  95. package/dist/index.d6b1b629.js +0 -399
  96. package/dist/index.dc39016c.js +0 -414
  97. package/dist/index.dc39d415.js +0 -264
  98. package/dist/index.dd9fd6fa.js +0 -395
  99. package/dist/index.df9d0f0b.js +0 -397
  100. package/dist/index.dfe76608.js +0 -497
  101. package/dist/index.e19eaf33.js +0 -402
  102. package/dist/index.e3826d57.js +0 -423
  103. package/dist/index.e70d1ec3.js +0 -50
  104. package/dist/index.ea966a9a.js +0 -390
  105. package/dist/index.eaf0a7c6.js +0 -99
  106. package/dist/index.ed2c5306.js +0 -392
  107. package/dist/index.ed474d79.js +0 -397
  108. package/dist/index.f0d4aeb1.js +0 -399
  109. package/dist/index.f678de56.js +0 -566
  110. package/dist/index.fae17bfe.js +0 -388
  111. package/dist/index.faf3d6eb.js +0 -446
  112. package/dist/index.fbc2bf20.js +0 -358
  113. package/dist/init.b422c2c8.js +0 -570
@@ -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.65f1b3e9.js";
2
- import { c as se, b as ah } from "./init.b422c2c8.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.5aaccd3f.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: {
@@ -7991,7 +7990,7 @@ var sM = function() {
7991
7990
  e.type = n;
7992
7991
  }, expression: "type" } }, [e._v(" " + e._s(e.$t("forms.client.individual")) + " ")]), r("CRadioButton", { attrs: { "native-value": "company", type: "none", size: "small" }, model: { value: e.type, callback: function(n) {
7993
7992
  e.type = n;
7994
- }, expression: "type" } }, [e._v(" " + e._s(e.$t("_common:company").capitalize()) + " ")])], 1)], 1), r("CField", { staticStyle: { "margin-bottom": "1.5rem" }, attrs: { label: e.isIndivid ? e.$t("name").capitalize() : e.$t("company").capitalize(), validator: e.$v.name, messages: e.messages.name, "label-position": "inside" } }, [r("ClientAutocomplete", { ref: "name", attrs: { placeholder: e.isIndivid ? e.$t("forms.client.placeholders.name") : e.$t("forms.client.placeholders.companyName"), "search-enabled": e.searchEnabled }, on: { setClient: function(n) {
7993
+ }, expression: "type" } }, [e._v(" " + e._s(e.$t("_common:company").capitalize()) + " ")])], 1)], 1), r("CField", { staticStyle: { "margin-bottom": "1.5rem" }, attrs: { label: e.isIndivid ? e.$t("name").capitalize() : e.$t("company").capitalize(), validator: e.$v.name, messages: e.messages.name, "label-position": "inside" } }, [r("ClientAutocomplete", { ref: "name", attrs: { placeholder: e.isIndivid ? e.$t("forms.client.placeholders.name") : e.$t("forms.client.placeholders.companyName"), "search-enabled": e.searchEnabled, "show-loading": !0 }, on: { setClient: function(n) {
7995
7994
  return e.$emit("setClient", n);
7996
7995
  } }, model: { value: e.name, callback: function(n) {
7997
7996
  e.name = n;
@@ -8017,7 +8016,7 @@ var sM = function() {
8017
8016
  e.type = n;
8018
8017
  }, expression: "type" } }, [e._v(" " + e._s(e.$t("forms.client.individual")) + " ")]), r("CRadioButton", { attrs: { "native-value": "company", type: "none", size: "normal" }, model: { value: e.type, callback: function(n) {
8019
8018
  e.type = n;
8020
- }, expression: "type" } }, [e._v(" " + e._s(e.$t("_common:company").capitalize()) + " ")])], 1)], 1), r("CField", { staticClass: "flex", attrs: { grouped: "" } }, [r("CField", { attrs: { label: e.isIndivid ? e.$t("name").capitalize() : e.$t("company").capitalize(), validator: e.$v.name, messages: e.messages.name, "label-position": "inside", expanded: "" } }, [r("ClientAutocomplete", { ref: "name", attrs: { placeholder: e.isIndivid ? e.$t("forms.client.placeholders.name") : e.$t("forms.client.placeholders.companyName"), "search-enabled": e.searchEnabled, size: "medium" }, on: { setClient: function(n) {
8019
+ }, expression: "type" } }, [e._v(" " + e._s(e.$t("_common:company").capitalize()) + " ")])], 1)], 1), r("CField", { staticClass: "flex", attrs: { grouped: "" } }, [r("CField", { attrs: { label: e.isIndivid ? e.$t("name").capitalize() : e.$t("company").capitalize(), validator: e.$v.name, messages: e.messages.name, "label-position": "inside", expanded: "" } }, [r("ClientAutocomplete", { ref: "name", attrs: { placeholder: e.isIndivid ? e.$t("forms.client.placeholders.name") : e.$t("forms.client.placeholders.companyName"), "show-loading": !0, "search-enabled": e.searchEnabled, size: "medium" }, on: { setClient: function(n) {
8021
8020
  return e.$emit("setClient", n);
8022
8021
  } }, model: { value: e.name, callback: function(n) {
8023
8022
  e.name = n;
@@ -8072,7 +8071,7 @@ var sM = function() {
8072
8071
  oM,
8073
8072
  !1,
8074
8073
  null,
8075
- "01fc72bf",
8074
+ "89076d1d",
8076
8075
  null,
8077
8076
  null
8078
8077
  );
@@ -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,
@@ -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
  };
@@ -1,6 +1,5 @@
1
- import { b as d, c, d as m, n as r } from "./main.65f1b3e9.js";
2
- import "./init.b422c2c8.js";
3
- const l = {
1
+ import { d, f as c, h as l, n as r } from "./main.5aaccd3f.js";
2
+ const m = {
4
3
  name: "DocumentSendReminderModal",
5
4
  props: {
6
5
  document: {
@@ -30,7 +29,7 @@ const l = {
30
29
  },
31
30
  methods: {
32
31
  ...c({
33
- sendDocumentReminder: m.SEND_REMINDER_DOCUMENT2
32
+ sendDocumentReminder: l.SEND_REMINDER_DOCUMENT2
34
33
  }),
35
34
  async submit() {
36
35
  await this.sendDocumentReminder({
@@ -52,7 +51,7 @@ const l = {
52
51
  }
53
52
  }
54
53
  };
55
- var p = function() {
54
+ var u = function() {
56
55
  var e = this, s = e._self._c;
57
56
  return s("div", { staticClass: "bg-white rounded-xl p-8" }, [s("div", { staticClass: "mb-6 text-lg font-semibold", domProps: { textContent: e._s(e.$t("send", { thing: e.$t("reminder") })) } }), e._l(e.clientsToSend, function(t, i) {
58
57
  return s("div", { key: i, staticClass: "border border-gray-200 p-2 rounded-lg mb-3" }, [s("div", { staticClass: "mb-2 pl-1" }, [s("div", { staticClass: "font-medium text-sm" }, [e._v(e._s(t.name || t.companyName))]), t.answer ? s("div", { staticClass: "text-gray-500 text-xs", domProps: { textContent: e._s(e.$t("components:account.documentForm.send.reminders.alreadySigned").capitalize()) } }) : t.documentRole === "recipient" ? s("div", { staticClass: "text-gray-500 text-xs", domProps: { textContent: e._s(e.$t("components:account.documentForm.send.reminders.cannotSign").capitalize()) } }) : e._e()]), s("div", { staticClass: "flex" }, [s("div", { staticClass: "py-1.5 pl-1.5 rounded-md bg-gray-100 border border-gray-200 items-center flex mr-2" }, [s("CCheckbox", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: { ...!e.canSendType("sms", t) && { content: e.$t("missing", { thing: e.$t("phoneNumber") }) } }, expression: "{ ...(!canSendType('sms', client) && { content: $t('missing', { thing: $t('phoneNumber') }) }) }" }], staticClass: "font-medium mr-2", attrs: { value: e.isTypeActive("sms", t), size: "tiny", disabled: !e.feature("sms") || !e.canSendType("sms", t) }, on: { input: function(o) {
@@ -61,17 +60,17 @@ var p = function() {
61
60
  return e.setDeliveryMethod("email", i);
62
61
  } } }, [e._v(" " + e._s(e.$t("email").capitalize()) + " ")])], 1)])]);
63
62
  }), s("CButton", { staticClass: "font-semibold mt-8", attrs: { type: "secondary", size: "small", taller: "", icon: "send", wide: "" }, on: { click: e.submit } }, [e._v(" " + e._s(e.$t("send", { thing: e.$t("reminder") })) + " ")])], 2);
64
- }, u = [], v = /* @__PURE__ */ r(
65
- l,
66
- p,
63
+ }, p = [], v = /* @__PURE__ */ r(
64
+ m,
67
65
  u,
66
+ p,
68
67
  !1,
69
68
  null,
70
69
  null,
71
70
  null,
72
71
  null
73
72
  );
74
- const y = v.exports, _ = {
73
+ const y = v.exports, h = {
75
74
  props: {
76
75
  document: {
77
76
  type: Object,
@@ -82,12 +81,14 @@ const y = v.exports, _ = {
82
81
  DocumentSendReminderModal: y
83
82
  }
84
83
  };
85
- var h = function() {
84
+ var _ = function() {
86
85
  var e = this, s = e._self._c;
87
- return s("DocumentSendReminderModal", { attrs: { document: e.document } });
88
- }, f = [], b = /* @__PURE__ */ r(
89
- _,
86
+ return s("DocumentSendReminderModal", { attrs: { document: e.document }, on: { close: function(t) {
87
+ return e.$router.push("/");
88
+ } } });
89
+ }, f = [], T = /* @__PURE__ */ r(
90
90
  h,
91
+ _,
91
92
  f,
92
93
  !1,
93
94
  null,
@@ -95,7 +96,7 @@ var h = function() {
95
96
  null,
96
97
  null
97
98
  );
98
- const C = b.exports;
99
+ const g = T.exports;
99
100
  export {
100
- C as default
101
+ g as default
101
102
  };