@cling-se/widget 0.12.2 → 0.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/dist/{AddClientCallout-55d62947.js → AddClientCallout-96e94ad9.js} +7 -7
  2. package/dist/{AnswerModal-b6711c04.js → AnswerModal-6990ea17.js} +225 -266
  3. package/dist/{AttachmentItem-ae30a5f1.js → AttachmentItem-0d327381.js} +6 -6
  4. package/dist/{BaseDatePicker-eb8f882d.js → BaseDatePicker-e2e1ea6e.js} +2 -2
  5. package/dist/{BaseInput-2937b370.js → BaseInput-d9c734b0.js} +1 -1
  6. package/dist/{BaseUpload-43e14bd0.js → BaseUpload-9efbce6d.js} +2 -2
  7. package/dist/{BlockMedia-8360c785.js → BlockMedia-70d92534.js} +1 -1
  8. package/dist/{CCallout-0151c27a.js → CCallout-419f1eac.js} +4 -4
  9. package/dist/{CDropdownItem-b1e4c6f3.js → CDropdownItem-60893039.js} +2 -2
  10. package/dist/{CField-fdd6dcfd.js → CField-2e027461.js} +1 -1
  11. package/dist/{CPhoneFormat-df833bce.js → CPhoneFormat-b0670312.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js → CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js} +1 -1
  13. package/dist/{ClientAutocomplete-205a7590.js → ClientAutocomplete-44998c42.js} +2 -2
  14. package/dist/{ClientModal-68127a2f.js → ClientModal-d4ebef77.js} +11 -11
  15. package/dist/{ColorPicker-43c3cfaf.js → ColorPicker-cd9e1cc0.js} +2 -2
  16. package/dist/{CompanyModal-71ebe768.js → CompanyModal-36820c26.js} +3 -3
  17. package/dist/{ContentWrapper-8f8bee09.js → ContentWrapper-520e4761.js} +19 -19
  18. package/dist/{CoverBlockSettings-d5369ff3.js → CoverBlockSettings-0251d18f.js} +17 -17
  19. package/dist/{DocAnswer-5e76d312.js → DocAnswer-dad0bf7f.js} +4 -4
  20. package/dist/{DocDetails-66a88018.js → DocDetails-31009b60.js} +29 -29
  21. package/dist/{DocForm-6bd82138.js → DocForm-3e6d9d83.js} +88 -85
  22. package/dist/{DocFormSend-c216bd22.js → DocFormSend-3b8e9604.js} +19 -19
  23. package/dist/{DocLinks-c970a046.js → DocLinks-1467ba01.js} +2 -2
  24. package/dist/{DocModalBase-cbaaa05d.js → DocModalBase-c596787a.js} +7 -7
  25. package/dist/{DocPrint-8151565c.js → DocPrint-3970f8e8.js} +13 -13
  26. package/dist/{DocReceipt-493488a1.js → DocReceipt-dd5c7d5b.js} +7 -7
  27. package/dist/{DocSendReminder-ffc469ba.js → DocSendReminder-a3909a71.js} +6 -6
  28. package/dist/{DocTextEditor-4892f553.js → DocTextEditor-f0223af8.js} +16 -16
  29. package/dist/{DocTimeline-7a10530a.js → DocTimeline-9b29e5f6.js} +4 -4
  30. package/dist/{DocumentClient-414f097b.js → DocumentClient-f77bc578.js} +46 -32
  31. package/dist/{DocumentLayout-2cca22a1.js → DocumentLayout-9cc2a08e.js} +6 -6
  32. package/dist/{DocumentLogotype-e77e7f40.js → DocumentLogotype-20216f74.js} +9 -9
  33. package/dist/{DocumentVoided-09d10c10.js → DocumentVoided-1198114e.js} +2 -2
  34. package/dist/{EmbedInput-25566df2.js → EmbedInput-df3aa286.js} +2 -2
  35. package/dist/{EmbedSettings-167509c0.js → EmbedSettings-b71e059b.js} +3 -3
  36. package/dist/{ErrorCallout-42eae3f2.js → ErrorCallout-a39eba4d.js} +1 -1
  37. package/dist/{FilePreviewModal-8e1122db.js → FilePreviewModal-b5edeee0.js} +8 -8
  38. package/dist/{Flag-38700bb4.js → Flag-c7a354cd.js} +1 -1
  39. package/dist/{HeaderSettings-081d2355.js → HeaderSettings-db6e32c8.js} +24 -24
  40. package/dist/{ImageSelectModal-6a1cd80d.js → ImageSelectModal-856e363b.js} +8 -8
  41. package/dist/{ImageUploadWrapper-9a6f033f.js → ImageUploadWrapper-24dadc15.js} +5 -5
  42. package/dist/{Index-0e0ad8c0.js → Index-007a1233.js} +5 -5
  43. package/dist/{Index-a934610b.js → Index-0099e82e.js} +1 -1
  44. package/dist/{Index-9502eaff.js → Index-014d0ac2.js} +47 -41
  45. package/dist/{Index-39261a3a.js → Index-12ea21c5.js} +1 -1
  46. package/dist/{Index-3e206913.js → Index-139b1013.js} +2 -2
  47. package/dist/{Index-79894831.js → Index-1bf76a16.js} +4 -4
  48. package/dist/{Index-8e921bc3.js → Index-3378fcf6.js} +4 -4
  49. package/dist/{Index-c25f3084.js → Index-34978d11.js} +2 -2
  50. package/dist/{Index-54fd8589.js → Index-3889e134.js} +4 -4
  51. package/dist/{Index-d1ab5e5c.js → Index-40083942.js} +14 -14
  52. package/dist/{Index-8f01dd46.js → Index-4e675d8a.js} +4 -4
  53. package/dist/{Index-bf5c0b5b.js → Index-4f25825f.js} +10 -10
  54. package/dist/{Index-b62d0ef2.js → Index-4f9afe72.js} +6 -6
  55. package/dist/{Index-1273cdc7.js → Index-5355b449.js} +7 -7
  56. package/dist/{Index-7114ff1a.js → Index-54a78fad.js} +6 -6
  57. package/dist/{Index-34195119.js → Index-607f6640.js} +6 -6
  58. package/dist/{Index-4a8142d1.js → Index-6d22d9d1.js} +2 -2
  59. package/dist/{Index-b925e767.js → Index-73cee68c.js} +5 -5
  60. package/dist/{Index-fdaebd99.js → Index-75368b48.js} +2 -2
  61. package/dist/{Index-7c04c559.js → Index-7b2e5ac5.js} +24 -24
  62. package/dist/{Index-a75ce263.js → Index-8ac2ed05.js} +4 -4
  63. package/dist/{Index-4369488e.js → Index-9891ee1a.js} +6 -6
  64. package/dist/{Index-915af180.js → Index-99ac0ac2.js} +4 -4
  65. package/dist/{Index-2c33f7e6.js → Index-a5a82682.js} +9 -9
  66. package/dist/{Index-a8e9faf7.js → Index-b5480383.js} +9 -9
  67. package/dist/{Index-ddb1face.js → Index-bc5f3ca9.js} +4 -4
  68. package/dist/{Index-88084849.js → Index-c551781f.js} +6 -6
  69. package/dist/{Index-c55a7553.js → Index-cada810e.js} +7 -7
  70. package/dist/{Index-860a7def.js → Index-d689466d.js} +2 -2
  71. package/dist/{Index-ba70d622.js → Index-dcbfb822.js} +2 -2
  72. package/dist/{Index-614cfe86.js → Index-dd5f8fc7.js} +9 -9
  73. package/dist/{Index-b0b08a5f.js → Index-ef955a66.js} +3 -3
  74. package/dist/{Index-f5620e99.js → Index-f05fe2a1.js} +4 -4
  75. package/dist/{Index-ae9bb0e5.js → Index-f06fcb76.js} +48 -38
  76. package/dist/{InputToggleRow-afcabf8b.js → InputToggleRow-a9229972.js} +6 -6
  77. package/dist/{IsPremiumPreStep-231700e7.js → IsPremiumPreStep-4e9e2883.js} +27 -27
  78. package/dist/{ManualPopover-07af41a9.js → ManualPopover-720770bb.js} +1 -1
  79. package/dist/{MediaWrapper-3f16a687.js → MediaWrapper-90c72ae5.js} +3 -3
  80. package/dist/{NotBindingText-4ba4eb33.js → NotBindingText-832d5350.js} +2 -2
  81. package/dist/{PackageGroup-bb70a242.js → PackageGroup-22cbb76c.js} +87 -73
  82. package/dist/{PdfTerms-73cdcc78.js → PdfTerms-ce2d5d5e.js} +5 -5
  83. package/dist/{PdfViewer-0ca6548a.js → PdfViewer-ebff4b6c.js} +4 -4
  84. package/dist/{PlainHtml-834d9eb9.js → PlainHtml-faae67a3.js} +1 -1
  85. package/dist/{PriceHeader-27bc4ab4.js → PriceHeader-67ac2108.js} +37 -37
  86. package/dist/{SearchApi-e24cb043.js → SearchApi-d90fd0d2.js} +2 -2
  87. package/dist/{Setup-38eb90ad.js → Setup-88387515.js} +2 -2
  88. package/dist/{TermsSettings-0566ebc2.js → TermsSettings-82f18edc.js} +7 -7
  89. package/dist/{ThemeColorRow-6bb39c8c.js → ThemeColorRow-ca0c7f34.js} +4 -4
  90. package/dist/{ToggleBinding-b399a2d3.js → ToggleBinding-87b13b54.js} +3 -3
  91. package/dist/{UploadModal-69feba8c.js → UploadModal-9c6b64dc.js} +8 -8
  92. package/dist/{VideoPlayerInput-0289e1ad.js → VideoPlayerInput-87ae1e67.js} +3 -3
  93. package/dist/{VideoPlayerSettings-cc63392e.js → VideoPlayerSettings-ab7c9dd9.js} +4 -4
  94. package/dist/{VideoSelectModal-c98090a3.js → VideoSelectModal-b9c128a2.js} +15 -15
  95. package/dist/answerDocumentMixin-1a04710f.js +51 -0
  96. package/dist/{debounce-ceac3c0c.js → debounce-5f4cc346.js} +1 -1
  97. package/dist/{focusDrawerMixin-6b40c0e4.js → focusDrawerMixin-fcfab690.js} +1 -1
  98. package/dist/{formComponentsInstall-4bc1ca62.js → formComponentsInstall-f2198c99.js} +41 -41
  99. package/dist/{formDrawerState-2389a9f5.js → formDrawerState-6ff961ac.js} +1 -1
  100. package/dist/{formValidationMixin-198347ab.js → formValidationMixin-5882b9a7.js} +1 -1
  101. package/dist/{i18nMessages-45c6bfd6.js → i18nMessages-6b279c15.js} +4 -2
  102. package/dist/{index-4e8daf4c.js → index-069b282b.js} +3 -3
  103. package/dist/{index-323657a2.js → index-09727136.js} +1 -1
  104. package/dist/{index-2e4624f0.js → index-383fefaf.js} +1 -1
  105. package/dist/{index-df8dbf78.js → index-525e4866.js} +13 -13
  106. package/dist/{index-f44b504d.js → index-7fa7534f.js} +14 -14
  107. package/dist/{index-e3f717e9.js → index-9d8996e9.js} +1 -1
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +144 -144
  110. package/dist/{main-e7c2bb1b.js → main-0ba93efc.js} +6037 -6233
  111. package/dist/{mapFormMixin-cb52494b.js → mapFormMixin-46fe94a8.js} +1 -1
  112. package/dist/{publicSenderState-60a99040.js → publicSenderState-644bb177.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{throttle-27be8808.js → throttle-61f5ee70.js} +2 -2
  115. package/dist/{tinycolor-314fba6f.js → tinycolor-4773d945.js} +1 -1
  116. package/dist/{tippy.esm-4fc6fa67.js → tippy.esm-b5320973.js} +6 -6
  117. package/dist/{utils-e42920bb.js → utils-8d533496.js} +1 -1
  118. package/dist/{vuedraggable.umd-945498e7.js → vuedraggable.umd-37bf712b.js} +1 -1
  119. package/package.json +2 -2
  120. package/dist/answerDocumentMixin-a2c8c0c9.js +0 -54
@@ -1,24 +1,24 @@
1
- import { V as n, m as s, a as r, g as l, C as i, n as u } from "./main-e7c2bb1b.js";
2
- import { i as m, S as c } from "./formComponentsInstall-4bc1ca62.js";
1
+ import { V as n, m as s, a as r, g as l, C as i, n as u } from "./main-0ba93efc.js";
2
+ import { i as m, S as c } from "./formComponentsInstall-f2198c99.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
- import "./Flag-38700bb4.js";
5
- import "./mapFormMixin-cb52494b.js";
6
- import "./BaseDatePicker-eb8f882d.js";
7
- import "./CDropdownItem-b1e4c6f3.js";
8
- import "./ErrorCallout-42eae3f2.js";
9
- import "./IsPremiumPreStep-231700e7.js";
4
+ import "./Flag-c7a354cd.js";
5
+ import "./mapFormMixin-46fe94a8.js";
6
+ import "./BaseDatePicker-e2e1ea6e.js";
7
+ import "./CDropdownItem-60893039.js";
8
+ import "./ErrorCallout-a39eba4d.js";
9
+ import "./IsPremiumPreStep-4e9e2883.js";
10
10
  import "./anime.es-e284c852.js";
11
- import "./index-e3f717e9.js";
11
+ import "./index-9d8996e9.js";
12
12
  import "./index-805c56e4.js";
13
13
  import "./dom-962579a6.js";
14
- import "./AddClientCallout-55d62947.js";
15
- import "./ClientAutocomplete-205a7590.js";
16
- import "./SearchApi-e24cb043.js";
17
- import "./debounce-ceac3c0c.js";
18
- import "./ClientModal-68127a2f.js";
19
- import "./CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js";
20
- import "./CCallout-0151c27a.js";
21
- import "./CField-fdd6dcfd.js";
14
+ import "./AddClientCallout-96e94ad9.js";
15
+ import "./ClientAutocomplete-44998c42.js";
16
+ import "./SearchApi-d90fd0d2.js";
17
+ import "./debounce-5f4cc346.js";
18
+ import "./ClientModal-d4ebef77.js";
19
+ import "./CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js";
20
+ import "./CCallout-419f1eac.js";
21
+ import "./CField-2e027461.js";
22
22
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
23
23
  n.use(m);
24
24
  const a = n.observable({
@@ -137,14 +137,14 @@ const a = n.observable({
137
137
  };
138
138
  var p = function() {
139
139
  var e = this, o = e._self._c;
140
- return e.document ? o("SendForm", { staticClass: "w-full h-full", attrs: { _document: e.document, _value: {
140
+ return e.document ? o("SendForm", { staticClass: "h-full w-full", attrs: { _document: e.document, _value: {
141
141
  expiresAt: "data.expiresAt",
142
142
  personalMessage: "data.personalMessage",
143
143
  defaultAnswerMethod: "data.defaultAnswerMethod",
144
144
  clients: "clients",
145
145
  reminders: "data.reminders",
146
146
  name: "data.name"
147
- }, "show-name": e.showName, "show-save": e.showSave, "show-schedule": e.showSchedule, "allow-manual-delivery": e.allowManualDelivery, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "on-save-document": e.onSaveDocument, "use-scroll": "" } }, [e.contentSlot ? o("div", { attrs: { slot: "content" }, domProps: { innerHTML: e._s(e.contentSlot) }, slot: "content" }) : e._e(), e.footerSlot ? o("div", { attrs: { slot: "footer" }, domProps: { innerHTML: e._s(e.footerSlot) }, slot: "footer" }) : e._e()]) : o("div", { staticClass: "grid w-full h-full place-items-center" }, [o("BaseIcon", { staticClass: "text-gray-400 animate-spin", attrs: { type: "loader", size: 28 } })], 1);
147
+ }, "show-name": e.showName, "show-save": e.showSave, "show-schedule": e.showSchedule, "allow-manual-delivery": e.allowManualDelivery, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "on-save-document": e.onSaveDocument, "use-scroll": "" } }, [e.contentSlot ? o("div", { attrs: { slot: "content" }, domProps: { innerHTML: e._s(e.contentSlot) }, slot: "content" }) : e._e(), e.footerSlot ? o("div", { attrs: { slot: "footer" }, domProps: { innerHTML: e._s(e.footerSlot) }, slot: "footer" }) : e._e()]) : o("div", { staticClass: "grid h-full w-full place-items-center" }, [o("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: 28 } })], 1);
148
148
  }, f = [], h = /* @__PURE__ */ u(
149
149
  d,
150
150
  p,
@@ -1,5 +1,5 @@
1
- import { C as o } from "./index-323657a2.js";
2
- import { n as t } from "./main-e7c2bb1b.js";
1
+ import { C as o } from "./index-09727136.js";
2
+ import { n as t } from "./main-0ba93efc.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
4
  const s = {
5
5
  name: "DocLinks",
@@ -1,4 +1,4 @@
1
- import { n as t } from "./main-e7c2bb1b.js";
1
+ import { n as t } from "./main-0ba93efc.js";
2
2
  const s = {
3
3
  name: "DocModalBase",
4
4
  components: {},
@@ -9,22 +9,22 @@ const s = {
9
9
  }
10
10
  }
11
11
  };
12
- var a = function() {
12
+ var n = function() {
13
13
  var e = this, o = e._self._c;
14
- return o("div", { staticClass: "doc-modal-base" }, [e.showClose ? o("CButton", { staticClass: "absolute text-gray-500 top-4 right-4", attrs: { circle: "", icon: "x" }, on: { click: function(_) {
14
+ return o("div", { staticClass: "doc-modal-base" }, [e.showClose ? o("CButton", { staticClass: "absolute right-4 top-4 text-gray-500", attrs: { circle: "", icon: "x" }, on: { click: function(_) {
15
15
  return e.$parent.$emit("close");
16
16
  } } }) : e._e(), e._t("default")], 2);
17
- }, n = [], l = /* @__PURE__ */ t(
17
+ }, a = [], c = /* @__PURE__ */ t(
18
18
  s,
19
- a,
20
19
  n,
20
+ a,
21
21
  !1,
22
22
  null,
23
- "b672a873",
23
+ "b2e4ec77",
24
24
  null,
25
25
  null
26
26
  );
27
- const i = l.exports;
27
+ const i = c.exports;
28
28
  export {
29
29
  i as D
30
30
  };
@@ -1,4 +1,4 @@
1
- import { n as d, F as h, c, I as l, G as p, H as a, J as m } from "./main-e7c2bb1b.js";
1
+ import { n as d, F as h, c, I as l, G as p, H as a, J as m } from "./main-0ba93efc.js";
2
2
  const u = {
3
3
  i18nOptions: {
4
4
  namespaces: "documentPrint",
@@ -173,23 +173,23 @@ const u = {
173
173
  };
174
174
  var f = function() {
175
175
  var t = this, e = t._self._c;
176
- return e("div", [e("div", { staticClass: "options-wrapper" }, [e("div", { staticClass: "pb-4 text-lg font-semibold" }, [t._v(t._s(t.$t("title")))]), e("div", { staticClass: "print-options" }, [e("div", { staticClass: "pb-1 text-sm font-medium text-gray-800 select-none" }, [t._v(" " + t._s(t.$t("_common:document")) + " ")]), e("div", { staticClass: "option-item" }, [e("div", { staticClass: "bg-gray-100 option-item__inner hover:bg-gray-200", class: { disabled: !t.document.attachedFiles.length }, on: { click: function(i) {
176
+ return e("div", [e("div", { staticClass: "options-wrapper" }, [e("div", { staticClass: "pb-4 text-lg font-semibold" }, [t._v(t._s(t.$t("title")))]), e("div", { staticClass: "print-options" }, [e("div", { staticClass: "select-none pb-1 text-sm font-medium text-gray-800" }, [t._v(" " + t._s(t.$t("_common:document")) + " ")]), e("div", { staticClass: "option-item" }, [e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", class: { disabled: !t.document.attachedFiles.length }, on: { click: function(i) {
177
177
  t.options.appendAttachments = !t.options.appendAttachments;
178
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.document.attachedFiles.length ? t.options.appendAttachments : !1, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("appendAttachments")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$tc("_common:attachment", { count: t.document.attachedFiles.length })) + " ")])])], 1), e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.omitAttachmentBlockTooltip, expression: "omitAttachmentBlockTooltip" }] }, [e("div", { staticClass: "bg-gray-100 option-item__inner hover:bg-gray-200", class: {
178
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.document.attachedFiles.length ? t.options.appendAttachments : !1, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("appendAttachments")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$tc("_common:attachment", { count: t.document.attachedFiles.length })) + " ")])])], 1), e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.omitAttachmentBlockTooltip, expression: "omitAttachmentBlockTooltip" }] }, [e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", class: {
179
179
  disabled: !t.document.getAllNodesWithType("attachments").length
180
180
  }, staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)" }, on: { click: function(i) {
181
181
  t.options.hideDocumentAttachmentBlocks = !t.options.hideDocumentAttachmentBlocks;
182
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.document.getAllNodesWithType("attachments").length ? t.options.hideDocumentAttachmentBlocks : !1, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("hideDocumentAttachmentBlocks")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$tc("_common:block", { count: t.document.getAllNodesWithType("attachments").length })) + " ")])])], 1)])]), e("div", { staticStyle: { height: "1.25rem" } }), e("div", { staticClass: "pb-1 text-sm font-medium text-gray-800 select-none" }, [t._v(" " + t._s(t.$t("_common:verification").capitalize()) + " ")]), e("div", { staticClass: "option-item", class: { disabled: !t.allowVerification } }, [e("div", { staticClass: "bg-gray-100 option-item__inner hover:bg-gray-200", on: { click: function(i) {
182
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.document.getAllNodesWithType("attachments").length ? t.options.hideDocumentAttachmentBlocks : !1, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("hideDocumentAttachmentBlocks")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$tc("_common:block", { count: t.document.getAllNodesWithType("attachments").length })) + " ")])])], 1)])]), e("div", { staticStyle: { height: "1.25rem" } }), e("div", { staticClass: "select-none pb-1 text-sm font-medium text-gray-800" }, [t._v(" " + t._s(t.$t("_common:verification").capitalize()) + " ")]), e("div", { staticClass: "option-item", class: { disabled: !t.allowVerification } }, [e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", on: { click: function(i) {
183
183
  t.options.showVerification = !t.options.showVerification;
184
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showVerification, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showVerification")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$t("showVerificationSub")) + " ")])])], 1), t.options.showVerification ? e("div", { staticClass: "bg-gray-100 option-item__inner hover:bg-gray-200", staticStyle: { "padding-left": "2rem", "border-top": "2px solid hsl(0, 0%, 100%)" }, on: { click: function(i) {
184
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showVerification, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showVerification")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$t("showVerificationSub")) + " ")])])], 1), t.options.showVerification ? e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", staticStyle: { "padding-left": "2rem", "border-top": "2px solid hsl(0, 0%, 100%)" }, on: { click: function(i) {
185
185
  t.options.showEvents = !t.options.showEvents;
186
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showEvents, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showEvents")))])])], 1) : t._e(), t.options.showVerification && t.hasBankIdSignatures ? e("div", [e("div", { staticClass: "inline-flex items-center p-2 mt-3 mb-1 text-xs font-medium leading-none text-gray-500 rounded cursor-pointer select-none hover:bg-gray-100", on: { click: function(i) {
186
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showEvents, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showEvents")))])])], 1) : t._e(), t.options.showVerification && t.hasBankIdSignatures ? e("div", [e("div", { staticClass: "mb-1 mt-3 inline-flex cursor-pointer select-none items-center rounded p-2 text-xs font-medium leading-none text-gray-500 hover:bg-gray-100", on: { click: function(i) {
187
187
  t.showMoreOptions = !t.showMoreOptions;
188
- } } }, [t._v(" " + t._s(t.$t("_common:more").capitalize()) + " "), e("BaseIcon", { staticClass: "ml-0.5 transition-transform", class: { "rotate-90": t.showMoreOptions }, attrs: { type: "chevron-right", "stroke-width": "2.25", size: "12" } })], 1), e("Animation", [t.showMoreOptions ? e("div", { staticClass: "bg-gray-100 option-item__inner hover:bg-gray-200", on: { click: function(i) {
188
+ } } }, [t._v(" " + t._s(t.$t("_common:more").capitalize()) + " "), e("BaseIcon", { staticClass: "ml-0.5 transition-transform", class: { "rotate-90": t.showMoreOptions }, attrs: { type: "chevron-right", "stroke-width": "2.25", size: "12" } })], 1), e("Animation", [t.showMoreOptions ? e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", on: { click: function(i) {
189
189
  t.options.showLast4ssn = !t.options.showLast4ssn;
190
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showLast4ssn, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showLast4ssn")))])])], 1) : t._e()])], 1) : t._e()]), t.showAdminOptions ? e("div", [e("div", { staticStyle: { height: "1.25rem" } }), e("div", { staticClass: "pb-1 text-sm font-medium text-gray-800 select-none" }, [t._v(" Superuser + VPN ")]), e("div", { staticClass: "bg-gray-100 option-item__inner hover:bg-gray-200", staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)", opacity: "0.8", "font-size": "10px" }, on: { click: function(i) {
190
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showLast4ssn, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showLast4ssn")))])])], 1) : t._e()])], 1) : t._e()]), t.showAdminOptions ? e("div", [e("div", { staticStyle: { height: "1.25rem" } }), e("div", { staticClass: "select-none pb-1 text-sm font-medium text-gray-800" }, [t._v(" Superuser + VPN ")]), e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)", opacity: "0.8", "font-size": "10px" }, on: { click: function(i) {
191
191
  t.options.forceDoCreatePdf = !t.options.forceDoCreatePdf;
192
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.forceDoCreatePdf, type: "secondary", size: "small" } }), t._m(0)], 1), e("div", { staticClass: "bg-gray-100 option-item__inner hover:bg-gray-200", staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)", opacity: "0.8", "font-size": "10px" }, on: { click: function(i) {
192
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.forceDoCreatePdf, type: "secondary", size: "small" } }), t._m(0)], 1), e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)", opacity: "0.8", "font-size": "10px" }, on: { click: function(i) {
193
193
  t.options.debugPage = !t.options.debugPage;
194
194
  } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.debugPage, type: "secondary", size: "small" } }), t._m(1)], 1), e("div", { staticClass: "bg-gray-100 hover:bg-gray-200", staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)", opacity: "0.8", "font-size": "10px" } }, [e("CInput", { attrs: { type: "number", filled: "", size: "small", placeholder: "Optional extra timeout (ms)" }, model: { value: t.extraTimeout, callback: function(i) {
195
195
  t.extraTimeout = t._n(i);
@@ -206,7 +206,7 @@ var f = function() {
206
206
  g,
207
207
  !1,
208
208
  null,
209
- "7d66fef4",
209
+ "7bcbbf3c",
210
210
  null,
211
211
  null
212
212
  );
@@ -227,17 +227,17 @@ var x = function() {
227
227
  return e("div", { staticClass: "h-full w-full overflow-auto px-8 py-12" }, [e("DocumentPrint", { attrs: { document: t.document }, on: { close: function(i) {
228
228
  return t.$router.push("/");
229
229
  } } })], 1);
230
- }, w = [], b = /* @__PURE__ */ d(
230
+ }, b = [], w = /* @__PURE__ */ d(
231
231
  y,
232
232
  x,
233
- w,
233
+ b,
234
234
  !1,
235
235
  null,
236
236
  null,
237
237
  null,
238
238
  null
239
239
  );
240
- const C = b.exports;
240
+ const C = w.exports;
241
241
  export {
242
242
  C as default
243
243
  };
@@ -1,4 +1,4 @@
1
- import { g as p, n as u } from "./main-e7c2bb1b.js";
1
+ import { g as p, n as u } from "./main-0ba93efc.js";
2
2
  import { m as g, a as _ } from "./vuex.esm-4a0fff7c.js";
3
3
  const f = {
4
4
  sv: {
@@ -127,7 +127,7 @@ const f = {
127
127
  };
128
128
  var h = function() {
129
129
  var t = this, e = t._self._c;
130
- 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([
130
+ 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([
131
131
  [t.$t("_common:sentByName"), t.sentByName],
132
132
  [
133
133
  t.$t("_components:status.sent"),
@@ -142,10 +142,10 @@ var h = function() {
142
142
  t.$formatDate(t.document.acceptedAt, "Pp")
143
143
  ]
144
144
  ], function([n, s], o) {
145
- 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()];
146
- })], 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) {
145
+ return [s ? e("div", { key: o }, [e("div", { staticClass: "text-xs text-gray-900", domProps: { textContent: t._s(n) } }), e("div", { staticClass: "mr-1.5 text-gray-600", domProps: { textContent: t._s(s) } })]) : t._e()];
146
+ })], 2)]), t.waitingFor.length ? e("div", { staticClass: "ml-3 mt-2 inline-flex items-center rounded-full border border-orange-200/90 bg-orange-50 px-1 py-0.5 text-xs font-medium 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 right-5 top-1 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) {
147
147
  var o, c;
148
- 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([
148
+ return e("div", { key: s, staticClass: "relative rounded-md border border-gray-200 bg-white text-gray-700" }, [e("div", { staticClass: "px-4 py-3" }, [n.didAccept && n.method === "bankId" ? e("BaseIcon", { staticClass: "absolute right-4 top-3", 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 inline-flex rounded-full border border-red-400/50 bg-red-200 px-2 py-0.5 text-xs 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 inline-flex rounded-full border border-orange-200/70 bg-orange-50 px-2 py-0.5 text-xs font-medium text-black/80" }, [t._v(" " + t._s(t.$t("waitingForSign")) + " ")]) : t._e(), e("div", { staticClass: "pb-1 text-[15px] font-medium text-black" }, [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([
149
149
  [t.$t("_common:socialNo").capitalize(), n.socialNo],
150
150
  [
151
151
  t.$t("signMethod"),
@@ -164,7 +164,7 @@ var h = function() {
164
164
  t.getBrowserString(n)
165
165
  ]
166
166
  ], function([i, d, m], l) {
167
- 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: "text-gray-500 mr-1.5", domProps: { textContent: t._s(d) } }), m === "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([
167
+ 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.document.status !== "accepted" && n.didAccept === void 0 ? e("CDropdown", { attrs: { "append-to-body": !0, "menu-styling": { width: "180px" } } }, [e("div", { staticClass: "text-primary-500 text-xs font-medium underline", attrs: { slot: "trigger" }, domProps: { textContent: t._s(t.$t("_common:change")) }, slot: "trigger" }), t._l([
168
168
  ...t.feature("bankId") ? ["bankId"] : [],
169
169
  "signature",
170
170
  "inPerson"
@@ -173,7 +173,7 @@ var h = function() {
173
173
  n.method !== r && t.onUpdate(n, r);
174
174
  } } }, [t._v(" " + t._s(t.$t(`_common:signMethod.${r}`)) + " ")]);
175
175
  })], 2) : t._e()], 1)]) : t._e()];
176
- })], 2)], 1), n.signatureDataURL ? e("div", { staticClass: "h-20 mx-4 py-6 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: { border: "1px solid #35677e" }, style: "background: linear-gradient(45deg,hsl(200deg 35% 17%),hsl(199deg 25% 30%));" }, [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) + " · " + t._s(n.socialNo) + " ")])])]) : t._e()]);
176
+ })], 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("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) + " · " + t._s(n.socialNo) + " ")])])]) : t._e()]);
177
177
  }), 0)]);
178
178
  }, y = [], b = /* @__PURE__ */ u(
179
179
  x,
@@ -1,4 +1,4 @@
1
- import { g as m, n as a } from "./main-e7c2bb1b.js";
1
+ import { g as m, n as a } from "./main-0ba93efc.js";
2
2
  import { m as c, a as d } from "./vuex.esm-4a0fff7c.js";
3
3
  const l = {
4
4
  name: "DocumentSendReminderModal",
@@ -72,8 +72,8 @@ const l = {
72
72
  };
73
73
  var p = function() {
74
74
  var e = this, n = e._self._c;
75
- return n("div", { staticClass: "bg-white rounded-xl 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
- return n("div", { key: i, staticClass: "border border-gray-200 p-2 rounded-lg mb-3" }, [n("div", { staticClass: "mb-2 pl-1" }, [n("div", { staticClass: "font-medium text-sm" }, [e._v(" " + e._s(t.name || t.companyName) + " ")]), t.answer ? n("div", { staticClass: "text-gray-500 text-xs", domProps: { textContent: e._s(e.$t("alreadySigned").capitalize()) } }) : t.documentRole === "recipient" ? n("div", { staticClass: "text-gray-500 text-xs", domProps: { textContent: e._s(e.$t("cannotSign").capitalize()) } }) : e._e()]), n("div", { staticClass: "flex" }, [n("div", { staticClass: "py-1.5 pl-1.5 rounded-md bg-gray-100 border border-gray-200 items-center flex mr-2" }, [n("CCheckbox", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
75
+ 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
+ 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: {
77
77
  ...!e.canSendType("sms", t) && {
78
78
  content: e.$t("_common:missing", {
79
79
  thing: e.$t("_common:phoneNumber")
@@ -85,9 +85,9 @@ var p = function() {
85
85
  thing: $t('_common:phoneNumber')
86
86
  })
87
87
  })
88
- }` }], 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) {
88
+ }` }], staticClass: "mr-2 font-medium", attrs: { value: e.isTypeActive("sms", t), size: "tiny", disabled: !e.feature("sms") || !e.canSendType("sms", t) }, on: { input: function(o) {
89
89
  return e.setDeliveryMethod("sms", i);
90
- } } }, [e._v(" " + e._s(e.$t("_common:sms")) + " ")])], 1), n("div", { staticClass: "py-1.5 pl-1.5 pr-2.5 rounded-md bg-gray-100 border border-gray-200 items-center flex" }, [n("CCheckbox", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
90
+ } } }, [e._v(" " + e._s(e.$t("_common:sms")) + " ")])], 1), n("div", { staticClass: "flex items-center rounded-md border border-gray-200 bg-gray-100 py-1.5 pl-1.5 pr-2.5" }, [n("CCheckbox", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
91
91
  ...!e.canSendType("email", t) && {
92
92
  content: e.$t("_common:missing", { thing: e.$t("_common:email") })
93
93
  }
@@ -98,7 +98,7 @@ var p = function() {
98
98
  }` }], staticClass: "font-medium", attrs: { value: e.isTypeActive("email", t), size: "tiny", disabled: !e.canSendType("email", t) }, on: { input: function(o) {
99
99
  return e.setDeliveryMethod("email", i);
100
100
  } } }, [e._v(" " + e._s(e.$t("_common:email").capitalize()) + " ")])], 1)])]);
101
- }), n("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("_common:send", { thing: e.$t("_common:reminder") })) + " ")])], 2);
101
+ }), 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
102
  }, u = [], _ = /* @__PURE__ */ a(
103
103
  l,
104
104
  p,
@@ -1,11 +1,11 @@
1
- import { t as Uo, F as za, s as $a, d as ys } from "./tippy.esm-4fc6fa67.js";
2
- import { V as Vn, n as ut, a8 as bs, b as Ds, p as Ha } from "./main-e7c2bb1b.js";
1
+ import { t as Uo, F as za, s as $a, d as ys } from "./tippy.esm-b5320973.js";
2
+ import { V as Vn, n as ut, a8 as bs, b as Ds, p as Ha } from "./main-0ba93efc.js";
3
3
  import { a as ai } from "./dom-962579a6.js";
4
- import { i as Jo, w as Va } from "./CDropdownItem-b1e4c6f3.js";
5
- import "./CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js";
4
+ import { i as Jo, w as Va } from "./CDropdownItem-60893039.js";
5
+ import "./CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js";
6
6
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
7
- import { M as Go } from "./ManualPopover-07af41a9.js";
8
- import { C as ja } from "./ColorPicker-43c3cfaf.js";
7
+ import { M as Go } from "./ManualPopover-720770bb.js";
8
+ import { C as ja } from "./ColorPicker-cd9e1cc0.js";
9
9
  import { h as Wa } from "./color-71c20583.js";
10
10
  function ee(n) {
11
11
  this.content = n;
@@ -13712,7 +13712,7 @@ var lm = function() {
13712
13712
  var e = this, t = e._self._c;
13713
13713
  return t("ManualPopover", { attrs: { "popover-inner-class": "texteditor-tooltip-dropdown-inner", "popover-class": "no-animation", placement: "bottom-start" }, nativeOn: { mousedown: function(r) {
13714
13714
  r.preventDefault();
13715
- } } }, [t("button", { staticClass: "menu-button", attrs: { "data-texteditor-tooltip": e.$t("fontStyle") } }, [t("svg", { attrs: { width: "20", height: "20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", viewBox: "1 4 46 44" } }, [t("path", { attrs: { d: "M 35.005859 7 A 2.0002 2.0002 0 0 0 33.132812 8.28125 L 23.132812 34.28125 A 2.000748 2.000748 0 0 0 26.867188 35.71875 L 29.066406 30 L 40.933594 30 L 43.132812 35.71875 A 2.000748 2.000748 0 1 0 46.867188 34.28125 L 36.867188 8.28125 A 2.0002 2.0002 0 0 0 35.005859 7 z M 10.980469 13 A 2.0002 2.0002 0 0 0 9.1425781 14.257812 L 3.2519531 28.982422 A 2.0002 2.0002 0 0 0 3.0253906 29.550781 L 1.1425781 34.257812 A 2.0002148 2.0002148 0 1 0 4.8574219 35.742188 L 6.3535156 32 L 15.646484 32 L 17.142578 35.742188 A 2.0002149 2.0002149 0 1 0 20.857422 34.257812 L 18.982422 29.572266 A 2.0002 2.0002 0 0 0 18.980469 29.566406 A 2.0002 2.0002 0 0 0 18.744141 28.976562 L 12.857422 14.257812 A 2.0002 2.0002 0 0 0 10.980469 13 z M 35 14.574219 L 39.394531 26 L 30.605469 26 L 35 14.574219 z M 11 20.386719 L 14.044922 28 L 7.9550781 28 L 11 20.386719 z" } })])]), t("div", { staticClass: "flex flex-col w-full text-left texteditor-tooltip-dropdown", attrs: { slot: "popover" }, slot: "popover" }, [t("div", { directives: [{ name: "close-popover", rawName: "v-close-popover" }], staticClass: "texteditor-tooltip-dropdown-item", class: {
13715
+ } } }, [t("button", { staticClass: "menu-button", attrs: { "data-texteditor-tooltip": e.$t("fontStyle") } }, [t("svg", { attrs: { width: "20", height: "20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", viewBox: "1 4 46 44" } }, [t("path", { attrs: { d: "M 35.005859 7 A 2.0002 2.0002 0 0 0 33.132812 8.28125 L 23.132812 34.28125 A 2.000748 2.000748 0 0 0 26.867188 35.71875 L 29.066406 30 L 40.933594 30 L 43.132812 35.71875 A 2.000748 2.000748 0 1 0 46.867188 34.28125 L 36.867188 8.28125 A 2.0002 2.0002 0 0 0 35.005859 7 z M 10.980469 13 A 2.0002 2.0002 0 0 0 9.1425781 14.257812 L 3.2519531 28.982422 A 2.0002 2.0002 0 0 0 3.0253906 29.550781 L 1.1425781 34.257812 A 2.0002148 2.0002148 0 1 0 4.8574219 35.742188 L 6.3535156 32 L 15.646484 32 L 17.142578 35.742188 A 2.0002149 2.0002149 0 1 0 20.857422 34.257812 L 18.982422 29.572266 A 2.0002 2.0002 0 0 0 18.980469 29.566406 A 2.0002 2.0002 0 0 0 18.744141 28.976562 L 12.857422 14.257812 A 2.0002 2.0002 0 0 0 10.980469 13 z M 35 14.574219 L 39.394531 26 L 30.605469 26 L 35 14.574219 z M 11 20.386719 L 14.044922 28 L 7.9550781 28 L 11 20.386719 z" } })])]), t("div", { staticClass: "texteditor-tooltip-dropdown flex w-full flex-col text-left", attrs: { slot: "popover" }, slot: "popover" }, [t("div", { directives: [{ name: "close-popover", rawName: "v-close-popover" }], staticClass: "texteditor-tooltip-dropdown-item", class: {
13716
13716
  "is-active": e.editor.isActive("paragraph", { typography: "title" })
13717
13717
  }, on: { mousedown: function(r) {
13718
13718
  r.preventDefault();
@@ -13792,7 +13792,7 @@ var hm = function() {
13792
13792
  var e = this, t = e._self._c;
13793
13793
  return t("ManualPopover", { attrs: { placement: e.showPicker ? "right" : e.isTouchDevice ? "bottom" : "top", "popover-inner-class": "!bg-white texteditor-tooltip-dropdown-inner is-color-menu", "popover-class": "no-animation" }, on: { hide: e.closePicker }, nativeOn: { mousedown: function(r) {
13794
13794
  r.preventDefault();
13795
- } } }, [t("button", { staticClass: "menu-button", attrs: { "data-texteditor-tooltip": e.$t("_common:color").capitalize() } }, [t("svg", { attrs: { fill: e.editor.getAttributes("textStyle").color, viewBox: "0 0 24 24", width: "20", height: "20", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z" } })])]), t("div", { staticClass: "flex text-[15px] text-white/70 bg-white", attrs: { slot: "popover" }, slot: "popover" }, [e.showPicker ? t("ColorPicker", { ref: "colorPicker", staticStyle: { "box-shadow": "none", padding: "0" }, attrs: { value: e.internalColor }, on: { input: function(r) {
13795
+ } } }, [t("button", { staticClass: "menu-button", attrs: { "data-texteditor-tooltip": e.$t("_common:color").capitalize() } }, [t("svg", { attrs: { fill: e.editor.getAttributes("textStyle").color, viewBox: "0 0 24 24", width: "20", height: "20", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z" } })])]), t("div", { staticClass: "flex bg-white text-[15px] text-white/70", attrs: { slot: "popover" }, slot: "popover" }, [e.showPicker ? t("ColorPicker", { ref: "colorPicker", staticStyle: { "box-shadow": "none", padding: "0" }, attrs: { value: e.internalColor }, on: { input: function(r) {
13796
13796
  return e.setColor(r);
13797
13797
  } } }) : [e._l([
13798
13798
  "auto",
@@ -13826,7 +13826,7 @@ var hm = function() {
13826
13826
  fm,
13827
13827
  !1,
13828
13828
  null,
13829
- "ca634346",
13829
+ "2c6e11da",
13830
13830
  null,
13831
13831
  null
13832
13832
  );
@@ -13967,7 +13967,7 @@ const Cm = Dm.exports;
13967
13967
  const km = {
13968
13968
  components: {
13969
13969
  FormInputRow: za,
13970
- TextTemplates: () => import("./index-f44b504d.js")
13970
+ TextTemplates: () => import("./index-7fa7534f.js")
13971
13971
  },
13972
13972
  props: {
13973
13973
  editor: {
@@ -14620,7 +14620,7 @@ var Nm = function() {
14620
14620
  Fm,
14621
14621
  !1,
14622
14622
  null,
14623
- "10928a97",
14623
+ "f2211263",
14624
14624
  null,
14625
14625
  null
14626
14626
  );
@@ -14859,7 +14859,7 @@ const zm = {
14859
14859
  },
14860
14860
  async openPreview() {
14861
14861
  var r;
14862
- const n = () => import("./FilePreviewModal-8e1122db.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
14862
+ const n = () => import("./FilePreviewModal-b5edeee0.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
14863
14863
  this.$modal.show(
14864
14864
  n,
14865
14865
  {
@@ -14884,10 +14884,10 @@ var $m = function() {
14884
14884
  return t("NodeViewWrapper", { staticClass: "texteditor-image-view", class: [
14885
14885
  {
14886
14886
  "texteditor-image-view-inline": e.display && e.display !== "block",
14887
- "outline outline-2 outline-primary-300": e.isSelected
14887
+ "outline-primary-300 outline outline-2": e.isSelected
14888
14888
  },
14889
14889
  `texteditor-image-view-${e.display}`
14890
- ], attrs: { as: "span", draggable: "true", "data-drag-handle": "" } }, [t("img", { class: { selected: e.isSelected }, attrs: { src: e.src }, on: { click: e.selectImage } }), e.isSelected ? t("div", { staticClass: "bg-gray-800 rounded-md image-menu top-2" }, [e._l(e.displayOptions, function(r, i) {
14890
+ ], attrs: { as: "span", draggable: "true", "data-drag-handle": "" } }, [t("img", { class: { selected: e.isSelected }, attrs: { src: e.src }, on: { click: e.selectImage } }), e.isSelected ? t("div", { staticClass: "image-menu top-2 rounded-md bg-gray-800" }, [e._l(e.displayOptions, function(r, i) {
14891
14891
  return t("CButton", { key: i, class: { "!text-primary-300": e.display === r.value }, attrs: { "data-texteditor-tooltip": r.tooltip, type: "none", size: "small" }, on: { click: function(s) {
14892
14892
  return e.changeDisplay(r.value);
14893
14893
  } } }, [t("svg", { attrs: { viewBox: "0 0 24 24", width: "21", height: "21", stroke: "currentColor", "stroke-width": "2", fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" }, domProps: { innerHTML: e._s(r.icon) } })]);
@@ -14898,7 +14898,7 @@ var $m = function() {
14898
14898
  Hm,
14899
14899
  !1,
14900
14900
  null,
14901
- "50515611",
14901
+ "94cce378",
14902
14902
  null,
14903
14903
  null
14904
14904
  );
@@ -17013,7 +17013,7 @@ const Ko = async (n) => {
17013
17013
  var r;
17014
17014
  const { el: n, isShadow: e } = ai((r = this.$root) == null ? void 0 : r.$el), t = e ? n : n.body;
17015
17015
  ys("body", {
17016
- // Note: Perfomance
17016
+ // Note: Performance
17017
17017
  // Could prolly register this function on the window to avoid having
17018
17018
  // several listeners running. If so, question is, when should it get destroyed?
17019
17019
  target: "[data-texteditor-tooltip]",
@@ -1,4 +1,4 @@
1
- import { n as u, a8 as b, b as S, a9 as _, aa as f } from "./main-e7c2bb1b.js";
1
+ import { n as u, a8 as b, b as S, a9 as _, aa as f } from "./main-0ba93efc.js";
2
2
  import { m as D } from "./vuex.esm-4a0fff7c.js";
3
3
  const v = {
4
4
  new: {
@@ -79,7 +79,7 @@ const v = {
79
79
  };
80
80
  var k = function() {
81
81
  var t = this, e = t._self._c;
82
- return e("div", { staticClass: "inline-flex items-center h-6 pl-1 pr-2 text-xs font-medium leading-none rounded-full c-badge_status", class: t.className }, [t.icon ? e("BaseIcon", { staticClass: "mr-1 status-icon", attrs: { type: t.icon, size: "16" } }) : t._e(), e("span", [t._v(t._s(t.text))])], 1);
82
+ 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("BaseIcon", { staticClass: "status-icon mr-1", attrs: { type: t.icon, size: "16" } }) : t._e(), e("span", [t._v(t._s(t.text))])], 1);
83
83
  }, z = [], T = /* @__PURE__ */ u(
84
84
  w,
85
85
  k,
@@ -210,7 +210,7 @@ const N = M.exports, A = {
210
210
  };
211
211
  var F = function() {
212
212
  var t = this, e = t._self._c;
213
- 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)]);
213
+ 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("BaseIcon", { 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)]);
214
214
  }, q = [], j = /* @__PURE__ */ u(
215
215
  A,
216
216
  F,
@@ -474,7 +474,7 @@ const U = V.exports, K = {
474
474
  };
475
475
  var J = function() {
476
476
  var t = this, e = t._self._c;
477
- return e("div", { class: { "p-8": t.viewType !== "mount" } }, [e("DocumentTimeline", { attrs: { document: t.document, size: "large" } }, [t.showHeader ? e("div", { staticClass: "border-b mb-4 pb-4", attrs: { slot: "header" }, slot: "header" }, [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 -ml-2" }, [e("div", { staticClass: "text-xs text-gray-600 mr-1.5 py-1 pl-2", domProps: { textContent: t._s(t.$t("_common:status.status")) } }), e("StatusBadge", { attrs: { status: t.document.status } })], 1)]) : t._e()])], 1);
477
+ return e("div", { class: { "p-8": t.viewType !== "mount" } }, [e("DocumentTimeline", { attrs: { document: t.document, size: "large" } }, [t.showHeader ? e("div", { staticClass: "mb-4 border-b pb-4", attrs: { slot: "header" }, slot: "header" }, [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()])], 1);
478
478
  }, Q = [], W = /* @__PURE__ */ u(
479
479
  K,
480
480
  J,
@@ -1,36 +1,36 @@
1
- import { V as c, n as a } from "./main-e7c2bb1b.js";
2
- import { D as d } from "./DocumentLayout-2cca22a1.js";
3
- import { f as m } from "./formValidationMixin-198347ab.js";
4
- import { a as l } from "./answerDocumentMixin-a2c8c0c9.js";
5
- import { D as f } from "./DocumentVoided-09d10c10.js";
6
- import "./debounce-ceac3c0c.js";
7
- import "./CDropdownItem-b1e4c6f3.js";
1
+ import { V as c, n as a } from "./main-0ba93efc.js";
2
+ import { D as m } from "./DocumentLayout-9cc2a08e.js";
3
+ import { f as d } from "./formValidationMixin-5882b9a7.js";
4
+ import { a as l } from "./answerDocumentMixin-1a04710f.js";
5
+ import { D as f } from "./DocumentVoided-1198114e.js";
6
+ import "./debounce-5f4cc346.js";
7
+ import "./CDropdownItem-60893039.js";
8
8
  import "./dom-962579a6.js";
9
- const p = (t) => {
9
+ const p = (s) => {
10
10
  var e;
11
- return (e = window == null ? void 0 : window.parent) == null ? void 0 : e.postMessage(t, "*");
12
- }, o = (t) => typeof t == "object" && "event" in t;
11
+ return (e = window == null ? void 0 : window.parent) == null ? void 0 : e.postMessage(s, "*");
12
+ }, o = (s) => typeof s == "object" && "event" in s;
13
13
  class _ {
14
14
  constructor() {
15
15
  this.observers = {}, this.registered = !0, window.addEventListener("message", this._onMessage.bind(this));
16
16
  }
17
17
  _onMessage(e) {
18
18
  if (e.source === window.parent && o(e == null ? void 0 : e.data)) {
19
- const { event: s, data: r } = e.data;
20
- this.observers[s] && this.observers[s].forEach((u) => u(r));
19
+ const { event: t, data: r } = e.data;
20
+ this.observers[t] && this.observers[t].forEach((u) => u(r));
21
21
  }
22
22
  }
23
- on(e, s) {
24
- this.registered || window.addEventListener("message", this._onMessage.bind(this)), this.observers[e] = this.observers[e] || [], this.observers[e].push(s);
23
+ on(e, t) {
24
+ this.registered || window.addEventListener("message", this._onMessage.bind(this)), this.observers[e] = this.observers[e] || [], this.observers[e].push(t);
25
25
  }
26
- off(e, s) {
26
+ off(e, t) {
27
27
  if (this.observers[e]) {
28
- if (!s) {
28
+ if (!t) {
29
29
  delete this.observers[e];
30
30
  return;
31
31
  }
32
32
  this.observers[e] = this.observers[e].filter(
33
- (r) => r !== s
33
+ (r) => r !== t
34
34
  );
35
35
  }
36
36
  }
@@ -61,10 +61,10 @@ const n = new _(), i = c.observable({
61
61
  }
62
62
  },
63
63
  components: {
64
- DocumentLayout: d,
64
+ DocumentLayout: m,
65
65
  DocumentVoided: f
66
66
  },
67
- mixins: [m, l()],
67
+ mixins: [d, l()],
68
68
  provide: () => ({ viewSettings: i }),
69
69
  created() {
70
70
  this.setFormValue && (i.setFormValue = this.setFormValue), n.on("answer", this.onAnswerMessage);
@@ -73,15 +73,15 @@ const n = new _(), i = c.observable({
73
73
  n.off("answer", this.onAnswerMessage);
74
74
  },
75
75
  methods: {
76
- onAnswerMessage(t) {
77
- this.onAnswer(t == null ? void 0 : t.mode);
76
+ onAnswerMessage(s) {
77
+ this.onAnswer(s == null ? void 0 : s.mode);
78
78
  }
79
79
  }
80
80
  };
81
81
  var v = function() {
82
82
  var r;
83
- var e = this, s = e._self._c;
84
- return s("div", [e._t("default"), ((r = e.document) == null ? void 0 : r.status) === "voided" ? s("DocumentVoided", { attrs: { document: e.document } }) : s("DocumentLayout", { attrs: { document: e.document } })], 2);
83
+ var e = this, t = e._self._c;
84
+ return t("div", [e._t("default"), ((r = e.document) == null ? void 0 : r.status) === "voided" ? t("DocumentVoided", { attrs: { document: e.document } }) : t("DocumentLayout", { attrs: { document: e.document } })], 2);
85
85
  }, w = [], b = /* @__PURE__ */ a(
86
86
  h,
87
87
  v,
@@ -92,11 +92,17 @@ var v = function() {
92
92
  null,
93
93
  null
94
94
  );
95
- const g = b.exports, M = {
95
+ const g = b.exports, y = {
96
96
  name: "DocumentClient",
97
97
  components: {
98
98
  ClientView: g
99
99
  },
100
+ provide() {
101
+ return {
102
+ customHtmlAccept: this.customHtmlAccept,
103
+ customHtmlDeny: this.customHtmlDeny
104
+ };
105
+ },
100
106
  props: {
101
107
  document: {
102
108
  type: Object,
@@ -104,24 +110,32 @@ const g = b.exports, M = {
104
110
  },
105
111
  setFormValue: {
106
112
  type: Function,
107
- required: !0
113
+ default: null
114
+ },
115
+ customHtmlAccept: {
116
+ type: String,
117
+ required: ""
118
+ },
119
+ customHtmlDeny: {
120
+ type: String,
121
+ required: ""
108
122
  }
109
123
  }
110
124
  };
111
- var V = function() {
112
- var e = this, s = e._self._c;
113
- return s("ClientView", { attrs: { document: e.document, "set-form-value": e.setFormValue } });
114
- }, F = [], y = /* @__PURE__ */ a(
125
+ var M = function() {
126
+ var e = this, t = e._self._c;
127
+ return t("ClientView", { attrs: { document: e.document, "set-form-value": e.setFormValue } });
128
+ }, V = [], D = /* @__PURE__ */ a(
129
+ y,
115
130
  M,
116
131
  V,
117
- F,
118
132
  !1,
119
133
  null,
120
134
  null,
121
135
  null,
122
136
  null
123
137
  );
124
- const $ = y.exports;
138
+ const j = D.exports;
125
139
  export {
126
- $ as default
140
+ j as default
127
141
  };