@cling-se/widget 0.9.23 → 0.9.25

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 (122) hide show
  1. package/dist/{AddClientCallout-49655a64.js → AddClientCallout-b8390699.js} +5 -5
  2. package/dist/{AnswerModal-6f4004e1.js → AnswerModal-87be4c0b.js} +84 -27
  3. package/dist/{AttachmentItem-e3bfcd82.js → AttachmentItem-24ad77d3.js} +7 -5
  4. package/dist/{BaseDatePicker-d04f761f.js → BaseDatePicker-5a89a264.js} +1 -1
  5. package/dist/{BaseInput-e14e8b12.js → BaseInput-f180db14.js} +6 -2
  6. package/dist/{BaseUpload-0fa8ad72.js → BaseUpload-529d21bb.js} +28 -11
  7. package/dist/{BlockMedia-b49a63f3.js → BlockMedia-93ee8699.js} +5 -3
  8. package/dist/{CCallout-baeb732f.js → CCallout-1c3a4b40.js} +6 -9
  9. package/dist/{CDropdownItem-e0cecd02.js → CDropdownItem-109be2e2.js} +3 -3
  10. package/dist/{CField-c10f5951.js → CField-d2390b15.js} +18 -4
  11. package/dist/{CPhoneFormat-636103a1.js → CPhoneFormat-570a91d9.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-d964f857.js → CSlider.vue_vue_type_style_index_0_lang-49fcd521.js} +4 -2
  13. package/dist/{ClientAutocomplete-28bf2076.js → ClientAutocomplete-ee0b54d5.js} +3 -3
  14. package/dist/{ClientModal-b94206f4.js → ClientModal-dc178083.js} +34 -19
  15. package/dist/{ColorPicker-b5a7f700.js → ColorPicker-94e3b1d4.js} +2 -2
  16. package/dist/{CompanyModal-c47e7c55.js → CompanyModal-6ef7dcdc.js} +8 -5
  17. package/dist/{ContentWrapper-8293109f.js → ContentWrapper-95159ca6.js} +40 -27
  18. package/dist/{CoverBlockSettings-2242d653.js → CoverBlockSettings-647e6b18.js} +49 -34
  19. package/dist/{DocAnswer-75f53dd5.js → DocAnswer-299edc71.js} +4 -4
  20. package/dist/{DocDetails-1bdecff4.js → DocDetails-c740d0a6.js} +71 -46
  21. package/dist/{DocForm-263bac20.js → DocForm-42c0c67c.js} +515 -291
  22. package/dist/{DocFormSend-5b098ca6.js → DocFormSend-1f9c446f.js} +18 -18
  23. package/dist/{DocLinks-500b61b0.js → DocLinks-2c63c0dc.js} +2 -2
  24. package/dist/{DocModalBase-b64e792b.js → DocModalBase-62c42e04.js} +4 -4
  25. package/dist/{DocPrint-555475c6.js → DocPrint-cea9de40.js} +2 -2
  26. package/dist/{DocReceipt-5a393f79.js → DocReceipt-61b17b52.js} +33 -10
  27. package/dist/{DocSendReminder-8d875174.js → DocSendReminder-d69f4a3f.js} +30 -5
  28. package/dist/{DocTextEditor-7fd7ca5f.js → DocTextEditor-e6008feb.js} +86 -37
  29. package/dist/{DocTimeline-0273acd1.js → DocTimeline-480b7adf.js} +11 -2
  30. package/dist/{DocumentClient-342454c2.js → DocumentClient-6e36a622.js} +7 -7
  31. package/dist/{DocumentLayout-00ec1c6f.js → DocumentLayout-81ae175c.js} +31 -11
  32. package/dist/{DocumentLogotype-137fd8f5.js → DocumentLogotype-dea21bad.js} +8 -8
  33. package/dist/{DocumentVoided-584cbee7.js → DocumentVoided-1b3a2ab5.js} +1 -1
  34. package/dist/{EmbedInput-19362c0b.js → EmbedInput-fbbf12f1.js} +2 -2
  35. package/dist/{EmbedSettings-cbffd133.js → EmbedSettings-1063c1e4.js} +7 -7
  36. package/dist/ErrorCallout-82e50910.js +30 -0
  37. package/dist/{FilePreviewModal-80a5f1fc.js → FilePreviewModal-dc188de1.js} +6 -6
  38. package/dist/{HeaderSettings-e5e52b5a.js → HeaderSettings-663e5b4f.js} +65 -63
  39. package/dist/{ImageSelectModal-f54699a2.js → ImageSelectModal-a76f7e4b.js} +27 -27
  40. package/dist/{ImageUploadWrapper-d4291dd3.js → ImageUploadWrapper-1c6f0ae4.js} +11 -5
  41. package/dist/{Index-468190f0.js → Index-0078c287.js} +15 -15
  42. package/dist/{Index-5093d646.js → Index-0428c10a.js} +2 -2
  43. package/dist/{Index-29147f73.js → Index-0a6802ca.js} +51 -43
  44. package/dist/{Index-4c78a308.js → Index-12f4ded1.js} +24 -17
  45. package/dist/{Index-a79cd9b6.js → Index-18c5bc6b.js} +6 -6
  46. package/dist/{Index-bf2ed6a3.js → Index-1914be9d.js} +3 -3
  47. package/dist/{Index-8ef32146.js → Index-2c3b5b59.js} +20 -16
  48. package/dist/{Index-d6635896.js → Index-3f3c03a0.js} +20 -16
  49. package/dist/{Index-0eb9d45b.js → Index-4b1074d0.js} +13 -9
  50. package/dist/{Index-7fe05fe5.js → Index-58ee00b1.js} +3 -3
  51. package/dist/{Index-d60eb16f.js → Index-5a61849b.js} +32 -20
  52. package/dist/{Index-4df3c1d2.js → Index-5fc2d521.js} +300 -147
  53. package/dist/{Index-b66d1e1a.js → Index-6fe85402.js} +4 -4
  54. package/dist/Index-7c14fd96.js +28 -0
  55. package/dist/{Index-64236029.js → Index-81c49dd8.js} +6 -9
  56. package/dist/{Index-96725e56.js → Index-90cc1544.js} +7 -7
  57. package/dist/{Index-843f81bd.js → Index-98237ab3.js} +17 -12
  58. package/dist/{Index-f640eb29.js → Index-a7e8812e.js} +2 -2
  59. package/dist/{Index-630c21f5.js → Index-ad36c47b.js} +13 -11
  60. package/dist/{Index-e813c8cd.js → Index-aea14240.js} +2 -2
  61. package/dist/{Index-0f2bf3b1.js → Index-b1f07b87.js} +13 -13
  62. package/dist/{Index-c89d17d9.js → Index-b457cd00.js} +17 -17
  63. package/dist/{Index-12a6485f.js → Index-c0dd3309.js} +3 -3
  64. package/dist/{Index-aad34e7e.js → Index-c1b546ad.js} +13 -15
  65. package/dist/{Index-7c60cb32.js → Index-c1b73537.js} +56 -31
  66. package/dist/{Index-dbeaf863.js → Index-c2ded827.js} +9 -10
  67. package/dist/{Index-a3ee21e6.js → Index-ca9d1747.js} +4 -4
  68. package/dist/{Index-a36c3418.js → Index-cb5b055d.js} +2 -2
  69. package/dist/{Index-9afa091c.js → Index-cea034a9.js} +13 -11
  70. package/dist/{Index-7dec77f5.js → Index-e63f7ce8.js} +21 -18
  71. package/dist/{Index-bb62e92d.js → Index-f05733c2.js} +22 -27
  72. package/dist/{Index-16155aba.js → Index-f62acccc.js} +7 -7
  73. package/dist/{Index-bf0e9351.js → Index-f9bbee77.js} +2 -2
  74. package/dist/{Index-0b1a9238.js → Index-ffedf35a.js} +4 -4
  75. package/dist/{InputToggleRow-40b7b57e.js → InputToggleRow-176f3685.js} +4 -4
  76. package/dist/{IsPremiumPreStep-d2ceb183.js → IsPremiumPreStep-f3040c7a.js} +81 -36
  77. package/dist/{ManualPopover-58c3f059.js → ManualPopover-b7c65a0c.js} +5 -2
  78. package/dist/{MediaWrapper-0e3ff436.js → MediaWrapper-d1f91245.js} +3 -3
  79. package/dist/{NotBindingText-38e6e74c.js → NotBindingText-00d1b175.js} +2 -2
  80. package/dist/{PackageGroup-6e6dd719.js → PackageGroup-89033998.js} +184 -69
  81. package/dist/{PdfTerms-3be0f8d1.js → PdfTerms-0e214875.js} +8 -8
  82. package/dist/{PdfViewer-991eb731.js → PdfViewer-00d4de8d.js} +2 -2
  83. package/dist/{PlainHtml-4aaf6438.js → PlainHtml-00ce6fd0.js} +1 -1
  84. package/dist/{PriceHeader-f3e7b525.js → PriceHeader-553f4ff0.js} +48 -32
  85. package/dist/{SearchApi-2523a5fb.js → SearchApi-e5cde5cf.js} +40 -20
  86. package/dist/{Setup-2849b519.js → Setup-7f309cf0.js} +1 -1
  87. package/dist/{TermsSettings-6d3dfe8d.js → TermsSettings-74d7c2d9.js} +11 -11
  88. package/dist/{ThemeColorRow-a33d04b5.js → ThemeColorRow-0b7ad102.js} +4 -4
  89. package/dist/{ToggleBinding-7c726915.js → ToggleBinding-33b62557.js} +3 -3
  90. package/dist/{UploadModal-814fc3af.js → UploadModal-6f43c373.js} +16 -14
  91. package/dist/{VideoPlayerInput-fa0774c1.js → VideoPlayerInput-81e64059.js} +3 -3
  92. package/dist/{VideoPlayerSettings-ff82938f.js → VideoPlayerSettings-f3445401.js} +5 -5
  93. package/dist/{VideoSelectModal-7b213a09.js → VideoSelectModal-736176ac.js} +32 -36
  94. package/dist/{answerDocumentMixin-b2488be9.js → answerDocumentMixin-0b94b90e.js} +3 -3
  95. package/dist/{debounce-0451fa9d.js → debounce-9410d5d6.js} +1 -1
  96. package/dist/{focusDrawerMixin-0d406532.js → focusDrawerMixin-14a97cd3.js} +1 -1
  97. package/dist/{formComponentsInstall-9c59efba.js → formComponentsInstall-6a61db21.js} +210 -168
  98. package/dist/{formDrawerState-6c57d51e.js → formDrawerState-b23639bd.js} +1 -1
  99. package/dist/{formValidationMixin-7603171e.js → formValidationMixin-047668c3.js} +1 -1
  100. package/dist/{image-58c45661.js → image-cd324ded.js} +1 -1
  101. package/dist/{index-47e427b4.js → index-22c9f370.js} +8 -6
  102. package/dist/{index-b20167b3.js → index-3003bff6.js} +4 -4
  103. package/dist/{index-cf014fd4.js → index-569793de.js} +2 -2
  104. package/dist/{index-0c493549.js → index-a62beb97.js} +17 -9
  105. package/dist/{index-4afc771b.js → index-ad0c2be7.js} +1 -1
  106. package/dist/{index-c0b45aa7.js → index-b937c6d2.js} +12 -12
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +96 -67
  109. package/dist/{main-8d566a02.js → main-4f27b552.js} +137 -80
  110. package/dist/{mapFormMixin-4446a1bd.js → mapFormMixin-9f326a09.js} +1 -1
  111. package/dist/{publicSenderState-02c0c9eb.js → publicSenderState-ec8a9ad6.js} +1 -1
  112. package/dist/{simplebar.min-d30d6e1f.js → simplebar.min-c555666e.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{template-e04cc32f.js → template-70f4518f.js} +7 -7
  115. package/dist/{throttle-b0a5ba09.js → throttle-a0a6c1c7.js} +2 -2
  116. package/dist/{tinycolor-c6f29f33.js → tinycolor-2fdfb0b3.js} +1 -1
  117. package/dist/{tippy.esm-2cb937d0.js → tippy.esm-e8cf7685.js} +8 -8
  118. package/dist/{utils-36338df7.js → utils-805171cf.js} +1 -1
  119. package/dist/{vuedraggable.umd-a0d21ce9.js → vuedraggable.umd-79e4b33e.js} +1 -1
  120. package/package.json +2 -2
  121. package/dist/ErrorCallout-4ce34a95.js +0 -30
  122. package/dist/Index-66295ea9.js +0 -28
@@ -1,10 +1,10 @@
1
- import { A as p, R as h, I as v, n as u, T as y, c as C, b as d, g as c, U as b, w as _ } from "./main-8d566a02.js";
1
+ import { A as p, R as h, I as v, n as u, T as y, c as C, b as d, g as c, U as b, w as _ } from "./main-4f27b552.js";
2
2
  import { m as f, b as $, a as w } from "./vuex.esm-4a0fff7c.js";
3
- import { w as x } from "./CDropdownItem-e0cecd02.js";
4
- import { C as k } from "./ClientAutocomplete-28bf2076.js";
3
+ import { w as x } from "./CDropdownItem-109be2e2.js";
4
+ import { C as k } from "./ClientAutocomplete-ee0b54d5.js";
5
5
  import { v as s } from "./index-805c56e4.js";
6
- import "./SearchApi-2523a5fb.js";
7
- import "./debounce-0451fa9d.js";
6
+ import "./SearchApi-e5cde5cf.js";
7
+ import "./debounce-9410d5d6.js";
8
8
  function g(n) {
9
9
  if (typeof n > "u")
10
10
  throw Error("Missing param inputParam");
@@ -200,7 +200,13 @@ const { mapFields: N } = p({
200
200
  }
201
201
  },
202
202
  validations() {
203
- return [this.name, this.orgNo, this.reference, this.email, this.cellphone].some((e) => !!e) ? {
203
+ return [
204
+ this.name,
205
+ this.orgNo,
206
+ this.reference,
207
+ this.email,
208
+ this.cellphone
209
+ ].some((e) => !!e) ? {
204
210
  orgNo: {
205
211
  personalNumber(e) {
206
212
  return !this.validateOrgNo || !e ? !0 : this.isIndivid ? l(e) : m(e) || l(e);
@@ -324,7 +330,7 @@ var F = function() {
324
330
  e.cellphone = i;
325
331
  }, expression: "cellphone" } }), e.documentRole ? t("CDropdown", { staticStyle: { "margin-bottom": "calc(1 * var(--rem))" }, attrs: { expanded: "" } }, [t("CButton", { staticClass: "is-left", staticStyle: { width: "100%" }, attrs: { slot: "trigger", "dropdown-icon": !0, "icon-props": {
326
332
  stroke: "hsl(0, 0%, 50%)"
327
- }, "icon-left": e.documentRole === "signee" ? "pen-tool" : "eye", type: "none", pattern: "secondary" }, slot: "trigger" }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(e._s(e.$t(`_common:documentRole.${e.documentRole}.description`)))]), t("div", { staticStyle: { "font-size": "12px", opacity: "0.7" } }, [e._v(" " + e._s(e.$t(`_common:documentRole.${e.documentRole}.label`)) + " ")])])]), e._l(["signee", "recipient", "approver"], function(i) {
333
+ }, "icon-left": e.documentRole === "signee" ? "pen-tool" : "eye", type: "none", pattern: "secondary" }, slot: "trigger" }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.documentRole}.description`)) + " ")]), t("div", { staticStyle: { "font-size": "12px", opacity: "0.7" } }, [e._v(" " + e._s(e.$t(`_common:documentRole.${e.documentRole}.label`)) + " ")])])]), e._l(["signee", "recipient", "approver"], function(i) {
328
334
  return t("CDropdownItem", { key: i, attrs: { "icon-left": i === "signee" ? "pen-tool" : "eye", "icon-props": {
329
335
  stroke: "hsl(0, 0%, 50%)"
330
336
  } }, on: { click: function(a) {
@@ -332,7 +338,7 @@ var F = function() {
332
338
  } } }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(e._s(e.$t(`_common:documentRole.${i}.description`)))]), t("div", { staticStyle: { "font-size": "12px", opacity: "0.7" } }, [e._v(" " + e._s(e.$t(`_common:documentRole.${i}.label`)) + " ")])])]);
333
339
  })], 2) : e._e(), t("CButton", { attrs: { type: "secondary", pattern: "tertiary", size: "small", "icon-left": "arrow-right" }, on: { click: function(i) {
334
340
  return e.$emit("show-more");
335
- } } }, [e._v(" " + e._s(e.$t("showMore").capitalize()) + " ")]), t("CButton", { staticClass: "mt-4", staticStyle: { padding: "16px", "border-radius": "8px", height: "100%", "font-size": "14px", "font-weight": "600", "box-shadow": "0 2px 4px -1px rgba(0,0,0,0.1)" }, attrs: { loading: e.isPosting, "native-type": "submit", type: "secondary", wide: "", size: "medium" } }, [e._v(" " + e._s(e.$t("updateButton")) + " ")])], 1) : t("div", { class: { "column-only": e.windowWidth <= 600 } }, [t("div", { staticClass: "flex items-center justify-center", staticStyle: { "margin-bottom": "calc(2.5 * var(--rem))" } }, [t("div", { staticClass: "type-toggle" }, [t("div", { staticClass: "type-toggle-button", class: { active: e.type === "individual" }, on: { click: function(i) {
341
+ } } }, [e._v(" " + e._s(e.$t("showMore").capitalize()) + " ")]), t("CButton", { staticClass: "mt-4", staticStyle: { padding: "16px", "border-radius": "8px", height: "100%", "font-size": "14px", "font-weight": "600", "box-shadow": "0 2px 4px -1px rgba(0, 0, 0, 0.1)" }, attrs: { loading: e.isPosting, "native-type": "submit", type: "secondary", wide: "", size: "medium" } }, [e._v(" " + e._s(e.$t("updateButton")) + " ")])], 1) : t("div", { class: { "column-only": e.windowWidth <= 600 } }, [t("div", { staticClass: "flex items-center justify-center", staticStyle: { "margin-bottom": "calc(2.5 * var(--rem))" } }, [t("div", { staticClass: "type-toggle" }, [t("div", { staticClass: "type-toggle-button", class: { active: e.type === "individual" }, on: { click: function(i) {
336
342
  e.type = "individual";
337
343
  } } }, [e._v(" " + e._s(e.$t("individual")) + " ")]), t("div", { staticClass: "type-toggle-button", class: { active: e.type === "company" }, on: { click: function(i) {
338
344
  e.type = "company";
@@ -370,7 +376,7 @@ var F = function() {
370
376
  e.workCity = i;
371
377
  }, expression: "workCity" } })], 1)], 1)], 1) : e._e()]), e.documentRole || e.answerMethod ? t("CField", { staticClass: "flex pt-4", attrs: { grouped: "" } }, [e.documentRole ? t("div", { staticClass: "dropdown-field-wrapper" }, [t("div", { staticClass: "my-1 text-sm text-gray-600" }, [e._v(" " + e._s(e.$t("_common:documentRole.title")) + " ")]), t("CDropdown", { staticStyle: { "margin-bottom": "calc(1 * var(--rem))" }, attrs: { expanded: "" } }, [t("CButton", { staticClass: "is-left", staticStyle: { width: "100%" }, attrs: { slot: "trigger", "dropdown-icon": !0, "icon-props": {
372
378
  stroke: "hsl(0, 0%, 50%)"
373
- }, "icon-left": e.documentRole === "signee" ? "pen-tool" : "eye", type: "none", pattern: "secondary" }, slot: "trigger" }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(e._s(e.$t(`_common:documentRole.${e.documentRole}.description`)))]), t("div", { staticStyle: { "font-size": "12px", opacity: "0.7" } }, [e._v(" " + e._s(e.$t(`_common:documentRole.${e.documentRole}.label`)) + " ")])])]), e._l(["signee", "recipient", "approver"], function(i) {
379
+ }, "icon-left": e.documentRole === "signee" ? "pen-tool" : "eye", type: "none", pattern: "secondary" }, slot: "trigger" }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.documentRole}.description`)) + " ")]), t("div", { staticStyle: { "font-size": "12px", opacity: "0.7" } }, [e._v(" " + e._s(e.$t(`_common:documentRole.${e.documentRole}.label`)) + " ")])])]), e._l(["signee", "recipient", "approver"], function(i) {
374
380
  return t("CDropdownItem", { key: i, attrs: { "icon-left": i === "signee" ? "pen-tool" : "eye", "icon-props": {
375
381
  stroke: "hsl(0, 0%, 50%)"
376
382
  } }, on: { click: function(a) {
@@ -382,16 +388,19 @@ var F = function() {
382
388
  "inPerson"
383
389
  ], function(i) {
384
390
  return t("CDropdownItem", { key: i, on: { click: function(a) {
385
- return e.$emit("update:answer-method", { ...e.answerMethod, accept: i });
391
+ return e.$emit("update:answer-method", {
392
+ ...e.answerMethod,
393
+ accept: i
394
+ });
386
395
  } } }, [t("div", { staticStyle: { "line-height": "1.25", padding: "4px 0" } }, [t("div", [e._v(e._s(e.$t(`signMethod.${i}.title`)))]), t("div", { staticClass: "max-w-[calc(12_*_var(--rem))] truncate", staticStyle: { "font-size": "12px", opacity: "0.7", "text-wrap": "wrap" } }, [e._v(" " + e._s(e.$t(`signMethod.${i}.content`)) + " ")])])]);
387
- })], 2)], 1) : e._e()]) : e._e(), t("div", { staticStyle: { "margin-top": "calc(3 * var(--rem))" } }, [t("CButton", { staticStyle: { padding: "16px", "border-radius": "8px", height: "100%", "font-size": "14px", "font-weight": "600", "box-shadow": "0 2px 4px -1px rgba(0,0,0,0.1)" }, attrs: { loading: e.isPosting, type: "secondary", wide: "" }, on: { click: e.validateForm } }, [e._v(e._s(e.$t("updateButton")))])], 1)], 1)]);
396
+ })], 2)], 1) : e._e()]) : e._e(), t("div", { staticStyle: { "margin-top": "calc(3 * var(--rem))" } }, [t("CButton", { staticStyle: { padding: "16px", "border-radius": "8px", height: "100%", "font-size": "14px", "font-weight": "600", "box-shadow": "0 2px 4px -1px rgba(0, 0, 0, 0.1)" }, attrs: { loading: e.isPosting, type: "secondary", wide: "" }, on: { click: e.validateForm } }, [e._v(e._s(e.$t("updateButton")))])], 1)], 1)]);
388
397
  }, z = [], R = /* @__PURE__ */ u(
389
398
  I,
390
399
  F,
391
400
  z,
392
401
  !1,
393
402
  null,
394
- "dd8b1fcf",
403
+ "d4e472e0",
395
404
  null,
396
405
  null
397
406
  );
@@ -466,13 +475,19 @@ const M = R.exports, { mapFields: O } = p({
466
475
  },
467
476
  created() {
468
477
  this.forceExpand && (this.showMore = !0);
469
- const n = d(this.formData, `clients[${this.documentClientIndex}]`, {});
470
- this.loadForm(n), ["endCustomer", "storedNewClient"].forEach((e) => this.$watch(e, {
471
- deep: !0,
472
- handler() {
473
- this.hasChanged = !0;
474
- }
475
- }));
478
+ const n = d(
479
+ this.formData,
480
+ `clients[${this.documentClientIndex}]`,
481
+ {}
482
+ );
483
+ this.loadForm(n), ["endCustomer", "storedNewClient"].forEach(
484
+ (e) => this.$watch(e, {
485
+ deep: !0,
486
+ handler() {
487
+ this.hasChanged = !0;
488
+ }
489
+ })
490
+ );
476
491
  },
477
492
  methods: {
478
493
  ...w({
@@ -1,4 +1,4 @@
1
- import { W as ht, n as bt } from "./main-8d566a02.js";
1
+ import { W as ht, n as bt } from "./main-4f27b552.js";
2
2
  var vt = { exports: {} };
3
3
  (function(gt, Ct) {
4
4
  (function(c, i) {
@@ -2871,7 +2871,7 @@ var yt = /* @__PURE__ */ bt(
2871
2871
  wt,
2872
2872
  !1,
2873
2873
  null,
2874
- "a55fe513",
2874
+ "94048cc1",
2875
2875
  null,
2876
2876
  null
2877
2877
  );
@@ -1,7 +1,7 @@
1
- import { A as r, g as i, n as l } from "./main-8d566a02.js";
2
- import { w as c } from "./CDropdownItem-e0cecd02.js";
1
+ import { A as r, g as i, n as l } from "./main-4f27b552.js";
2
+ import { w as c } from "./CDropdownItem-109be2e2.js";
3
3
  import { m as p, b as o, a as d } from "./vuex.esm-4a0fff7c.js";
4
- import { s as n, a as u } from "./publicSenderState-02c0c9eb.js";
4
+ import { s as n, a as u } from "./publicSenderState-ec8a9ad6.js";
5
5
  import { v as m } from "./index-805c56e4.js";
6
6
  const { mapFields: f } = r({
7
7
  getterType: "forms/getField",
@@ -93,7 +93,10 @@ const { mapFields: f } = r({
93
93
  showMessage: i.SHOW_MESSAGE
94
94
  }),
95
95
  loadForm() {
96
- this.isPublicForm ? (this.setForm({ key: "company", formData: n.company }), this.setForm({ key: "companyUser", formData: n.user })) : (this.formEditCompany({ props: ["name"] }), this.formEditCompanyUser({ id: this.documentCompanyUserId, props: ["id", "firstname", "lastname", "cellphone", "email"] }));
96
+ this.isPublicForm ? (this.setForm({ key: "company", formData: n.company }), this.setForm({ key: "companyUser", formData: n.user })) : (this.formEditCompany({ props: ["name"] }), this.formEditCompanyUser({
97
+ id: this.documentCompanyUserId,
98
+ props: ["id", "firstname", "lastname", "cellphone", "email"]
99
+ }));
97
100
  },
98
101
  async save() {
99
102
  this.$v.$touch(), !this.$v.$invalid && (this.isLoading = !0, this.isPublicForm ? u({ company: this.company, user: this.user }) : await Promise.all([
@@ -130,7 +133,7 @@ var h = function() {
130
133
  _,
131
134
  !1,
132
135
  null,
133
- "bc90e778",
136
+ "accc1bc1",
134
137
  null,
135
138
  null
136
139
  );
@@ -1,19 +1,19 @@
1
- import { a as l } from "./tinycolor-c6f29f33.js";
2
- import { m as n } from "./mapFormMixin-4446a1bd.js";
3
- import { B as r } from "./BlockMedia-b49a63f3.js";
4
- import { n as s, a6 as i, x as c, z as u, y as p } from "./main-8d566a02.js";
5
- import { T as m } from "./DocTextEditor-7fd7ca5f.js";
1
+ import { a as l } from "./tinycolor-2fdfb0b3.js";
2
+ import { m as n } from "./mapFormMixin-9f326a09.js";
3
+ import { B as r } from "./BlockMedia-93ee8699.js";
4
+ import { n as s, a6 as i, x as c, z as u, y as p } from "./main-4f27b552.js";
5
+ import { T as m } from "./DocTextEditor-e6008feb.js";
6
6
  import { i as d } from "./i18nMessages-45c6bfd6.js";
7
7
  import "./color-71c20583.js";
8
- import "./tippy.esm-2cb937d0.js";
9
- import "./ColorPicker-b5a7f700.js";
10
- import "./DocumentLayout-00ec1c6f.js";
11
- import "./debounce-0451fa9d.js";
12
- import "./CDropdownItem-e0cecd02.js";
13
- import "./CSlider.vue_vue_type_style_index_0_lang-d964f857.js";
8
+ import "./tippy.esm-e8cf7685.js";
9
+ import "./ColorPicker-94e3b1d4.js";
10
+ import "./DocumentLayout-81ae175c.js";
11
+ import "./debounce-9410d5d6.js";
12
+ import "./CDropdownItem-109be2e2.js";
13
+ import "./CSlider.vue_vue_type_style_index_0_lang-49fcd521.js";
14
14
  import "./dom-962579a6.js";
15
15
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
16
- import "./ManualPopover-58c3f059.js";
16
+ import "./ManualPopover-b7c65a0c.js";
17
17
  const _ = {
18
18
  name: "StaticComboLayout",
19
19
  props: {
@@ -34,7 +34,7 @@ var f = function() {
34
34
  y,
35
35
  !1,
36
36
  null,
37
- "6d873a8e",
37
+ "6df3f6bf",
38
38
  null,
39
39
  null
40
40
  );
@@ -46,18 +46,20 @@ const v = {
46
46
  messages: d
47
47
  },
48
48
  components: {
49
- DocumentLogotype: () => import("./DocumentLogotype-137fd8f5.js"),
49
+ DocumentLogotype: () => import("./DocumentLogotype-dea21bad.js"),
50
50
  StaticComboLayout: h,
51
51
  TextEditor: m
52
52
  },
53
- mixins: [n([
54
- "layout",
55
- "preText",
56
- "documentName",
57
- "postText",
58
- "showLogo",
59
- "logotype"
60
- ])],
53
+ mixins: [
54
+ n([
55
+ "layout",
56
+ "preText",
57
+ "documentName",
58
+ "postText",
59
+ "showLogo",
60
+ "logotype"
61
+ ])
62
+ ],
61
63
  props: {
62
64
  validator: {
63
65
  type: Object,
@@ -79,7 +81,10 @@ const v = {
79
81
  return this.documentName || `<p data-typography="title">${((o = this._document.data) == null ? void 0 : o.name) || ""}</p>`;
80
82
  },
81
83
  set(o) {
82
- this.documentName = o, this.$emit("input", { key: "data.name", value: i(o).trim().slice(0, 255) });
84
+ this.documentName = o, this.$emit("input", {
85
+ key: "data.name",
86
+ value: i(o).trim().slice(0, 255)
87
+ });
83
88
  }
84
89
  },
85
90
  mentions() {
@@ -100,7 +105,11 @@ var g = function() {
100
105
  t.showLogo = a;
101
106
  } }, slot: "logo", model: { value: t.logotype, callback: function(a) {
102
107
  t.logotype = a;
103
- }, expression: "logotype" } }), e("template", { slot: "preText" }, [e("TextEditor", { key: "preText" + t.canEdit, ref: "preTextEditor", staticClass: "no-drag header-text", attrs: { value: t.canEdit ? t.mustacheToSpan(t.preText, t._document.textTemplateMap, t._document._doc) : t.interpolateString(t.preText, t._document._doc), mentions: t.mentions, snippets: !0, placeholder: t.$t("optional").capitalize(), static: "", unstyled: "" }, on: { input: function(a) {
108
+ }, expression: "logotype" } }), e("template", { slot: "preText" }, [e("TextEditor", { key: "preText" + t.canEdit, ref: "preTextEditor", staticClass: "no-drag header-text", attrs: { value: t.canEdit ? t.mustacheToSpan(
109
+ t.preText,
110
+ t._document.textTemplateMap,
111
+ t._document._doc
112
+ ) : t.interpolateString(t.preText, t._document._doc), mentions: t.mentions, snippets: !0, placeholder: t.$t("optional").capitalize(), static: "", unstyled: "" }, on: { input: function(a) {
104
113
  t.preText = t.spanToMustache(a);
105
114
  } } })], 1), e("div", { staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "700", margin: "calc(1 * var(--rem)) 0" }, attrs: { slot: "documentName" }, slot: "documentName" }, [t.canEdit ? e("TextEditor", { ref: "nameEditor", staticClass: "no-drag header-text", attrs: { value: t.internalName, extensions: {
106
115
  bulletList: !0,
@@ -112,7 +121,11 @@ var g = function() {
112
121
  table: !1
113
122
  }, placeholder: t.$t("name.placeholder"), unstyled: "", static: "" }, on: { input: function(a) {
114
123
  t.internalName = a;
115
- } } }) : e("div", { staticClass: "header-text", domProps: { innerHTML: t._s(t.internalName) } })], 1), e("template", { slot: "postText" }, [e("TextEditor", { key: "postText" + t.canEdit, ref: "postTextEditor", staticClass: "no-drag header-text", staticStyle: { width: "100%" }, attrs: { value: t.canEdit ? t.mustacheToSpan(t.postText, t._document.textTemplateMap, t._document._doc) : t.interpolateString(t.postText, t._document._doc), editable: t.canEdit, mentions: t.mentions, snippets: !0, placeholder: t.$t("optional").capitalize(), static: "", unstyled: "" }, on: { input: function(a) {
124
+ } } }) : e("div", { staticClass: "header-text", domProps: { innerHTML: t._s(t.internalName) } })], 1), e("template", { slot: "postText" }, [e("TextEditor", { key: "postText" + t.canEdit, ref: "postTextEditor", staticClass: "no-drag header-text", staticStyle: { width: "100%" }, attrs: { value: t.canEdit ? t.mustacheToSpan(
125
+ t.postText,
126
+ t._document.textTemplateMap,
127
+ t._document._doc
128
+ ) : t.interpolateString(t.postText, t._document._doc), editable: t.canEdit, mentions: t.mentions, snippets: !0, placeholder: t.$t("optional").capitalize(), static: "", unstyled: "" }, on: { input: function(a) {
116
129
  t.postText = t.spanToMustache(a);
117
130
  } } })], 1)], 2)], 1);
118
131
  }, T = [], b = /* @__PURE__ */ s(
@@ -121,7 +134,7 @@ var g = function() {
121
134
  T,
122
135
  !1,
123
136
  null,
124
- "37de59d2",
137
+ "adf92b79",
125
138
  null,
126
139
  null
127
140
  );
@@ -178,7 +191,7 @@ var w = function() {
178
191
  $,
179
192
  !1,
180
193
  null,
181
- "f3da414b",
194
+ "342a22b3",
182
195
  null,
183
196
  null
184
197
  );
@@ -1,10 +1,10 @@
1
- import { m as d } from "./mapFormMixin-4446a1bd.js";
2
- import { T as l } from "./ThemeColorRow-a33d04b5.js";
3
- import { a as p } from "./image-58c45661.js";
4
- import { n as s, K as u } from "./main-8d566a02.js";
1
+ import { m as d } from "./mapFormMixin-9f326a09.js";
2
+ import { T as l } from "./ThemeColorRow-0b7ad102.js";
3
+ import { a as p } from "./image-cd324ded.js";
4
+ import { n as s, K as u } from "./main-4f27b552.js";
5
5
  import "./color-71c20583.js";
6
- import "./ColorPicker-b5a7f700.js";
7
- import "./ManualPopover-58c3f059.js";
6
+ import "./ColorPicker-94e3b1d4.js";
7
+ import "./ManualPopover-b7c65a0c.js";
8
8
  const m = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180, v = {
9
9
  name: "DegreePicker",
10
10
  props: {
@@ -24,12 +24,21 @@ const m = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180,
24
24
  const t = (o) => {
25
25
  e = this.mouseMoveHandler(o, e) || e;
26
26
  };
27
- window.addEventListener("mousemove", t), window.addEventListener("mouseup", () => {
28
- window.removeEventListener("mousemove", t);
29
- }, { once: !0 });
27
+ window.addEventListener("mousemove", t), window.addEventListener(
28
+ "mouseup",
29
+ () => {
30
+ window.removeEventListener("mousemove", t);
31
+ },
32
+ { once: !0 }
33
+ );
30
34
  },
31
35
  mouseMoveHandler(i, { centerX: e, centerY: t }) {
32
- const o = m(i.clientX, i.clientY, e, t);
36
+ const o = m(
37
+ i.clientX,
38
+ i.clientY,
39
+ e,
40
+ t
41
+ );
33
42
  this.$emit("input", parseInt(o, 10));
34
43
  },
35
44
  mouseDownHandler(i) {
@@ -47,7 +56,7 @@ var g = function() {
47
56
  _,
48
57
  !1,
49
58
  null,
50
- "842d065e",
59
+ "0c48c700",
51
60
  null,
52
61
  null
53
62
  );
@@ -107,7 +116,9 @@ const h = {
107
116
  let t = e;
108
117
  if (i === "colors") {
109
118
  const { i: o, color: r, percent: a } = e || {};
110
- t = this.internalValue.colors.map((n, c) => c === o ? { color: r, percent: a } : n);
119
+ t = this.internalValue.colors.map(
120
+ (n, c) => c === o ? { color: r, percent: a } : n
121
+ );
111
122
  }
112
123
  this.internalValue = { ...this.internalValue, [i]: t };
113
124
  }
@@ -128,14 +139,14 @@ var C = function() {
128
139
  b,
129
140
  !1,
130
141
  null,
131
- "db914daf",
142
+ "3924f832",
132
143
  null,
133
144
  null
134
145
  );
135
146
  const x = w.exports;
136
147
  const $ = {
137
- image: () => import("./ImageSelectModal-f54699a2.js"),
138
- video: () => import("./VideoSelectModal-7b213a09.js")
148
+ image: () => import("./ImageSelectModal-a76f7e4b.js"),
149
+ video: () => import("./VideoSelectModal-736176ac.js")
139
150
  }, S = {
140
151
  name: "CoverBlockSettings",
141
152
  i18nOptions: {
@@ -163,21 +174,23 @@ const $ = {
163
174
  ThemeColorRow: l,
164
175
  GradientPicker: x
165
176
  },
166
- mixins: [d(
167
- [
168
- "type",
169
- "video",
170
- "resourceUrl",
171
- "filter",
172
- "blur",
173
- "position",
174
- "overlay",
175
- "overlayColor",
176
- "gradient",
177
- "backgroundColor"
178
- ],
179
- { useEmit: !1 }
180
- )],
177
+ mixins: [
178
+ d(
179
+ [
180
+ "type",
181
+ "video",
182
+ "resourceUrl",
183
+ "filter",
184
+ "blur",
185
+ "position",
186
+ "overlay",
187
+ "overlayColor",
188
+ "gradient",
189
+ "backgroundColor"
190
+ ],
191
+ { useEmit: !1 }
192
+ )
193
+ ],
181
194
  data() {
182
195
  return {
183
196
  getUnsplashResized: p
@@ -227,7 +240,7 @@ const $ = {
227
240
  };
228
241
  var k = function() {
229
242
  var e = this, t = e._self._c;
230
- return t("div", { staticClass: "d-root" }, [t("div", { staticClass: "d-option", staticStyle: { "border-bottom": "none" } }, [t("div", { staticClass: "d-option-title" }, [e._v(e._s(e.$t("_common:background").capitalize()))]), t("div", { staticClass: "flex w-full", staticStyle: { "flex-wrap": "wrap", "padding-top": "0.25em" } }, e._l([
243
+ return t("div", { staticClass: "d-root" }, [t("div", { staticClass: "d-option", staticStyle: { "border-bottom": "none" } }, [t("div", { staticClass: "d-option-title" }, [e._v(" " + e._s(e.$t("_common:background").capitalize()) + " ")]), t("div", { staticClass: "flex w-full", staticStyle: { "flex-wrap": "wrap", "padding-top": "0.25em" } }, e._l([
231
244
  { label: e.$t("_common:image"), value: "image" },
232
245
  { label: e.$t("_common:color"), value: "color" },
233
246
  { label: e.$t("_common:gradient"), value: "gradient" },
@@ -238,7 +251,7 @@ var k = function() {
238
251
  } } }, [e._v(" " + e._s(o.capitalize()) + " ")]);
239
252
  }), 1)]), e.type === "image" ? [t("div", { staticClass: "d-option-button-image", style: { backgroundImage: `url(${e.resourceUrl})` }, on: { click: function(o) {
240
253
  return e.openResourceModal(e.type);
241
- } } }), e.resourceUrl ? t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(e._s(e.$t("_common:filter").capitalize()))]), t("div", { staticStyle: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "padding-top": "0.25em" } }, e._l([
254
+ } } }), e.resourceUrl ? t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(" " + e._s(e.$t("_common:filter").capitalize()) + " ")]), t("div", { staticStyle: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "padding-top": "0.25em" } }, e._l([
242
255
  "",
243
256
  "sepia(30%) brightness(110%) contrast(110%) grayscale(100%)",
244
257
  "brightness(110%) contrast(90%) saturate(150%)",
@@ -250,7 +263,9 @@ var k = function() {
250
263
  e.filter = o;
251
264
  } } }, [t("div", { staticClass: "bg-filter-preview", style: {
252
265
  filter: o,
253
- backgroundImage: `url(${e.getUnsplashResized(e.resourceUrl, { w: 200 })})`
266
+ backgroundImage: `url(${e.getUnsplashResized(e.resourceUrl, {
267
+ w: 200
268
+ })})`
254
269
  } })]);
255
270
  }), 0)]) : e._e(), t("div", { staticClass: "d-option", staticStyle: { "padding-bottom": "0.5em" } }, [t("div", { staticClass: "d-option-title" }, [t("div", { staticStyle: { flex: "1 1 auto" } }, [e._v(" " + e._s(e.$t("_common:position").capitalize()) + " ")]), t("CSlider", { staticStyle: { width: "80px", margin: "0" }, attrs: { value: e.position || 0, type: "secondary", size: "small", rounded: "" }, on: { input: function(o) {
256
271
  e.position = o;
@@ -271,7 +286,7 @@ var k = function() {
271
286
  R,
272
287
  !1,
273
288
  null,
274
- "b351ef11",
289
+ "3a135046",
275
290
  null,
276
291
  null
277
292
  );
@@ -1,9 +1,9 @@
1
- import r from "./AnswerModal-6f4004e1.js";
2
- import { r as e, n as s } from "./main-8d566a02.js";
1
+ import r from "./AnswerModal-87be4c0b.js";
2
+ import { r as e, n as s } from "./main-4f27b552.js";
3
3
  import "./anime.es-e284c852.js";
4
4
  import "./vuex.esm-4a0fff7c.js";
5
- import "./mapFormMixin-4446a1bd.js";
6
- import "./CField-c10f5951.js";
5
+ import "./mapFormMixin-9f326a09.js";
6
+ import "./CField-d2390b15.js";
7
7
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
8
8
  const t = {
9
9
  components: {
@@ -1,7 +1,7 @@
1
- import { n as c, ac as f, b as g, ad as h, ae as x, af as $, r as y } from "./main-8d566a02.js";
2
- import { C as w } from "./CPhoneFormat-636103a1.js";
3
- import { w as b, C, a as D } from "./CDropdownItem-e0cecd02.js";
4
- import { D as S } from "./DocumentVoided-584cbee7.js";
1
+ import { n as c, ac as f, b as g, ad as h, ae as x, af as $, r as y } from "./main-4f27b552.js";
2
+ import { C as w } from "./CPhoneFormat-570a91d9.js";
3
+ import { w as b, C, a as D } from "./CDropdownItem-109be2e2.js";
4
+ import { D as S } from "./DocumentVoided-1b3a2ab5.js";
5
5
  const z = {
6
6
  name: "PublicDocumentEvents",
7
7
  props: {
@@ -14,54 +14,73 @@ const z = {
14
14
  events() {
15
15
  const s = [], { acceptedAt: e } = this.document;
16
16
  return this.document.events.filter(({ createdAt: t }) => e ? f(e, t) : !0).forEach((t) => {
17
- const {
18
- code: i,
19
- createdAt: n,
20
- children: r = []
21
- } = t;
17
+ const { code: i, createdAt: n, children: r = [] } = t;
22
18
  let { data: l = {} } = t;
23
19
  l === null && (l = {});
24
- const {
25
- client: o = {},
26
- clients: u = [],
27
- status: p,
28
- counter: _
29
- } = l, m = {
20
+ const { client: o = {}, clients: u = [], status: p, counter: _ } = l, m = {
30
21
  sent: () => u.map((a) => {
31
- const d = this.getClientName(a.id), v = this.filteredOxfordComma([a.email, a.cellphone]);
22
+ const d = this.getClientName(a.id), v = this.filteredOxfordComma([
23
+ a.email,
24
+ a.cellphone
25
+ ]);
32
26
  return {
33
27
  // eslint-disable-next-line prefer-template
34
- text: this.document.$t("event.sent", { to: `${d ? d + ", " : ""}${v}` }),
28
+ text: this.document.$t("event.sent", {
29
+ to: `${d ? d + ", " : ""}${v}`
30
+ }),
35
31
  time: n
36
32
  };
37
33
  }),
38
34
  viewed: () => {
39
35
  const a = _ || r.length + 1;
40
- return [{
41
- text: `${this.document.$t(`event.${o.name ? "viewedName" : "viewed"}`, { name: o.name })} ${a ? this.document.$tc("times", { count: a }) : ""}.`,
42
- time: n
43
- }];
36
+ return [
37
+ {
38
+ text: `${this.document.$t(
39
+ `event.${o.name ? "viewedName" : "viewed"}`,
40
+ { name: o.name }
41
+ )} ${a ? this.document.$tc("times", { count: a }) : ""}.`,
42
+ time: n
43
+ }
44
+ ];
44
45
  },
45
- accepted: () => [{
46
- text: this.document.$t("event.accepted", { by: o.name || o.email || o.cellphone }),
47
- time: n
48
- }],
49
- denied: () => [{
50
- text: this.document.$t("event.denied", { by: o.name || o.email || o.cellphone }),
51
- time: n
52
- }],
53
- statusChanged: () => [{
54
- text: this.document.$t("event.statusChanged", { status: this.document.$t(`status.${p}`).toLowerCase() }),
55
- time: n
56
- }],
57
- requestChange: () => [{
58
- text: this.document.$t("event.requestChange", { status: this.document.$t(`status.${p}`).toLowerCase() }),
59
- time: n
60
- }],
61
- expired: () => [{
62
- text: this.document.$t("event.expired"),
63
- time: n
64
- }]
46
+ accepted: () => [
47
+ {
48
+ text: this.document.$t("event.accepted", {
49
+ by: o.name || o.email || o.cellphone
50
+ }),
51
+ time: n
52
+ }
53
+ ],
54
+ denied: () => [
55
+ {
56
+ text: this.document.$t("event.denied", {
57
+ by: o.name || o.email || o.cellphone
58
+ }),
59
+ time: n
60
+ }
61
+ ],
62
+ statusChanged: () => [
63
+ {
64
+ text: this.document.$t("event.statusChanged", {
65
+ status: this.document.$t(`status.${p}`).toLowerCase()
66
+ }),
67
+ time: n
68
+ }
69
+ ],
70
+ requestChange: () => [
71
+ {
72
+ text: this.document.$t("event.requestChange", {
73
+ status: this.document.$t(`status.${p}`).toLowerCase()
74
+ }),
75
+ time: n
76
+ }
77
+ ],
78
+ expired: () => [
79
+ {
80
+ text: this.document.$t("event.expired"),
81
+ time: n
82
+ }
83
+ ]
65
84
  };
66
85
  m[i] && s.push(...m[i]());
67
86
  }), s;
@@ -70,7 +89,9 @@ const z = {
70
89
  methods: {
71
90
  filteredOxfordComma(s = []) {
72
91
  const e = s.filter((i) => !!i), t = e.length;
73
- return t ? t < 2 ? e[0] : `${e.slice(0, -1).join(", ")} ${this.document.$t("and")} ${e.slice(-1)}` : "";
92
+ return t ? t < 2 ? e[0] : `${e.slice(0, -1).join(", ")} ${this.document.$t("and")} ${e.slice(
93
+ -1
94
+ )}` : "";
74
95
  },
75
96
  getClientName(s) {
76
97
  const e = this.document.clients.find(({ id: t }) => t === s);
@@ -118,18 +139,22 @@ const A = {
118
139
  };
119
140
  var I = function() {
120
141
  var e = this, t = e._self._c;
121
- return t("div", { staticStyle: { border: "1px solid hsl(0, 0%, 84%)", "border-radius": "3px", "margin-bottom": "1em" } }, [t("div", { staticStyle: { padding: "0.5em 0.75em" } }, [e._l([e.recipient.name, e.recipient.companyName, e.recipient.orgNo], function(i, n) {
142
+ return t("div", { staticStyle: { border: "1px solid hsl(0, 0%, 84%)", "border-radius": "3px", "margin-bottom": "1em" } }, [t("div", { staticStyle: { padding: "0.5em 0.75em" } }, [e._l([
143
+ e.recipient.name,
144
+ e.recipient.companyName,
145
+ e.recipient.orgNo
146
+ ], function(i, n) {
122
147
  return t("span", { key: `${i}-${n}`, style: n === 0 ? { fontWeight: 500 } : { opacity: 0.65 } }, [e._v(" " + e._s(i && n > 0 ? "·" : "") + " " + e._s(i) + " ")]);
123
148
  }), t("div", { staticClass: "flex flex-col w-full", staticStyle: { "font-size": "14px", "align-items": "baseline" } }, [e.recipient.email ? t("a", { attrs: { href: `mailto:${e.recipient.email}`, target: "_blank" } }, [e._v(" " + e._s(e.recipient.email) + " ")]) : e._e(), e.recipient.cellphone ? t("CPhoneFormat", { attrs: { phone: e.recipient.cellphone, region: e.recipient.cellphoneRegion }, scopedSlots: e._u([{ key: "default", fn: function({ formattedValue: i }) {
124
149
  return t("a", { attrs: { href: `tel:${e.recipient.cellphone}` } }, [e._v(" " + e._s(i) + " ")]);
125
- } }], null, !1, 2469850174) }) : e._e()], 1)], 2), t("div", { staticStyle: { "background-color": "hsl(0, 0%, 94%)", padding: "0.75em 0.75em", "font-weight": "500", "font-size": "13px", "line-height": "1", color: "hsl(0, 0%, 40%)", position: "relative" } }, [t("div", [e._v(e._s(e.$t(`_common:documentRole.${e.recipient.documentRole}.label`)))]), t("div", { staticStyle: { position: "absolute", right: "1em", top: "0px", transform: "translate(0, -50%)" } }, [t("v-popover", { attrs: { "popover-inner-class": "signee-popover", trigger: "hover", placement: "bottom-end" } }, [e.recipient.documentRole === "signee" ? t("div", { staticStyle: { padding: "5px 0.75em", background: "hsl(0, 0%, 60%)", "border-radius": "4px", "font-size": "13px", color: "hsl(0, 0%, 100%)", cursor: "default", display: "inline-flex", "align-items": "center" } }, [t("BaseIcon", { staticStyle: { "margin-right": "0.5ch" }, attrs: { size: 15, type: "info", "stroke-width": "2" } }), e.recipient.answer && e.recipient.answer.didAccept ? [e._v(" " + e._s(e.$t("_common:approved").capitalize()) + " ")] : e.recipient.answer ? [e._v(" " + e._s(e.$t("_common:denied").capitalize()) + " ")] : [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.waitingForAnswer")) + " ")]], 2) : e._e(), t("div", { staticStyle: { padding: "0" }, attrs: { slot: "popover" }, slot: "popover" }, [t("div", { staticStyle: { padding: "1em 1.5em" } }, [e.recipient.answer && e.recipient.answer.didAccept ? [e.recipient.answer.signatureDataURL ? t("div", { staticStyle: { "padding-bottom": "0.5em" } }, [t("div", { staticClass: "has-text-grey", staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("_common:signature").capitalize()) + " ")]), t("img", { staticStyle: { width: "80%" }, attrs: { src: e.recipient.answer.signatureDataURL } })]) : t("div", { staticStyle: { "font-size": "13px", "padding-top": "3px" } }, [e.get(e.recipient, "answerMethod.accept") === "bankId" ? [t("div", { staticStyle: { "font-weight": "500" } }, [e._v(e._s(e.$t("views:publicDocument.pdfVerification.recipient.signedBankId")))]), t("div", [e._v(e._s(e.recipient.answer.response.name))]), t("div", [e._v(e._s(e.recipient.socialNo))])] : e.get(e.recipient, "answerMethod.accept") === "login" ? t("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.recipient.verifiedLogin")) + " ")]) : e._e()], 2)] : e.recipient.answer ? t("div", [e._v(" " + e._s(e.$t("_common:denied").capitalize()) + " ")]) : t("div", [e._v(" " + e._s(e.$t("pendingAnswer")) + " ")])], 2), e.recipient.answer ? t("div", { staticStyle: { padding: "8px 1.5em", "border-top": "1px solid hsl(0deg 0% 88%)", "background-color": "hsl(0deg 0% 95%)", "font-size": "13px", color: "hsl(0, 0%, 35%)", "font-weight": "500" } }, [e.recipient.answer.didAnswerAt ? t("div", [t("div", [e._v(e._s(e.$t("_common:date").capitalize()) + ": " + e._s(e.$formatDate(e.recipient.answer.didAnswerAt, "P")))]), t("div", [e._v(e._s(e.$t("_common:time.time").capitalize()) + ": " + e._s(e.$formatDate(e.recipient.answer.didAnswerAt, "p")))])]) : e._e(), e.recipient.answer.ip ? t("div", [e._v(" IP: " + e._s(e.recipient.answer.ip) + " ")]) : e._e(), e.recipient.answer.browser ? t("div", [e._v(" Browser: " + e._s(e.getBrowserString(e.recipient.answer)) + " ")]) : e._e()]) : e._e()])])], 1)])]);
150
+ } }], null, !1, 2469850174) }) : e._e()], 1)], 2), t("div", { staticStyle: { "background-color": "hsl(0, 0%, 94%)", padding: "0.75em 0.75em", "font-weight": "500", "font-size": "13px", "line-height": "1", color: "hsl(0, 0%, 40%)", position: "relative" } }, [t("div", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.recipient.documentRole}.label`)) + " ")]), t("div", { staticStyle: { position: "absolute", right: "1em", top: "0px", transform: "translate(0, -50%)" } }, [t("v-popover", { attrs: { "popover-inner-class": "signee-popover", trigger: "hover", placement: "bottom-end" } }, [e.recipient.documentRole === "signee" ? t("div", { staticStyle: { padding: "5px 0.75em", background: "hsl(0, 0%, 60%)", "border-radius": "4px", "font-size": "13px", color: "hsl(0, 0%, 100%)", cursor: "default", display: "inline-flex", "align-items": "center" } }, [t("BaseIcon", { staticStyle: { "margin-right": "0.5ch" }, attrs: { size: 15, type: "info", "stroke-width": "2" } }), e.recipient.answer && e.recipient.answer.didAccept ? [e._v(" " + e._s(e.$t("_common:approved").capitalize()) + " ")] : e.recipient.answer ? [e._v(" " + e._s(e.$t("_common:denied").capitalize()) + " ")] : [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.waitingForAnswer")) + " ")]], 2) : e._e(), t("div", { staticStyle: { padding: "0" }, attrs: { slot: "popover" }, slot: "popover" }, [t("div", { staticStyle: { padding: "1em 1.5em" } }, [e.recipient.answer && e.recipient.answer.didAccept ? [e.recipient.answer.signatureDataURL ? t("div", { staticStyle: { "padding-bottom": "0.5em" } }, [t("div", { staticClass: "has-text-grey", staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("_common:signature").capitalize()) + " ")]), t("img", { staticStyle: { width: "80%" }, attrs: { src: e.recipient.answer.signatureDataURL } })]) : t("div", { staticStyle: { "font-size": "13px", "padding-top": "3px" } }, [e.get(e.recipient, "answerMethod.accept") === "bankId" ? [t("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.recipient.signedBankId")) + " ")]), t("div", [e._v(e._s(e.recipient.answer.response.name))]), t("div", [e._v(e._s(e.recipient.socialNo))])] : e.get(e.recipient, "answerMethod.accept") === "login" ? t("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.$t("views:publicDocument.pdfVerification.recipient.verifiedLogin")) + " ")]) : e._e()], 2)] : e.recipient.answer ? t("div", [e._v(" " + e._s(e.$t("_common:denied").capitalize()) + " ")]) : t("div", [e._v(" " + e._s(e.$t("pendingAnswer")) + " ")])], 2), e.recipient.answer ? t("div", { staticStyle: { padding: "8px 1.5em", "border-top": "1px solid hsl(0deg 0% 88%)", "background-color": "hsl(0deg 0% 95%)", "font-size": "13px", color: "hsl(0, 0%, 35%)", "font-weight": "500" } }, [e.recipient.answer.didAnswerAt ? t("div", [t("div", [e._v(" " + e._s(e.$t("_common:date").capitalize()) + ": " + e._s(e.$formatDate(e.recipient.answer.didAnswerAt, "P")) + " ")]), t("div", [e._v(" " + e._s(e.$t("_common:time.time").capitalize()) + ": " + e._s(e.$formatDate(e.recipient.answer.didAnswerAt, "p")) + " ")])]) : e._e(), e.recipient.answer.ip ? t("div", [e._v(" IP: " + e._s(e.recipient.answer.ip) + " ")]) : e._e(), e.recipient.answer.browser ? t("div", [e._v(" Browser: " + e._s(e.getBrowserString(e.recipient.answer)) + " ")]) : e._e()]) : e._e()])])], 1)])]);
126
151
  }, L = [], j = /* @__PURE__ */ c(
127
152
  A,
128
153
  I,
129
154
  L,
130
155
  !1,
131
156
  null,
132
- "7190c9bd",
157
+ "7bf07f05",
133
158
  null,
134
159
  null
135
160
  );
@@ -193,7 +218,7 @@ var O = function() {
193
218
  N,
194
219
  !1,
195
220
  null,
196
- "2dc478c2",
221
+ "0d868038",
197
222
  null,
198
223
  null
199
224
  );