@cling-se/widget 0.9.25 → 0.9.26

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-b8390699.js → AddClientCallout-1d22cff1.js} +5 -5
  2. package/dist/{AnswerModal-87be4c0b.js → AnswerModal-7d4a4ad6.js} +82 -70
  3. package/dist/{AttachmentItem-24ad77d3.js → AttachmentItem-fa4a7b2f.js} +3 -3
  4. package/dist/{BaseDatePicker-5a89a264.js → BaseDatePicker-bb3c9290.js} +1 -1
  5. package/dist/{BaseInput-f180db14.js → BaseInput-d46c6aab.js} +1 -1
  6. package/dist/{BaseUpload-529d21bb.js → BaseUpload-61a6ae84.js} +2 -2
  7. package/dist/{BlockMedia-93ee8699.js → BlockMedia-c0765d5f.js} +1 -1
  8. package/dist/{CCallout-1c3a4b40.js → CCallout-e9eb8421.js} +2 -2
  9. package/dist/{CDropdownItem-109be2e2.js → CDropdownItem-0c39e15e.js} +1 -1
  10. package/dist/{CField-d2390b15.js → CField-9a36ccbe.js} +1 -1
  11. package/dist/{CPhoneFormat-570a91d9.js → CPhoneFormat-14fb2bfe.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-49fcd521.js → CSlider.vue_vue_type_style_index_0_lang-473e3473.js} +1 -1
  13. package/dist/{ClientAutocomplete-ee0b54d5.js → ClientAutocomplete-ea948de7.js} +2 -2
  14. package/dist/{ClientModal-dc178083.js → ClientModal-03f9a7ad.js} +8 -8
  15. package/dist/{ColorPicker-94e3b1d4.js → ColorPicker-9d6e8692.js} +38 -38
  16. package/dist/{CompanyModal-6ef7dcdc.js → CompanyModal-9a2797e4.js} +3 -3
  17. package/dist/{ContentWrapper-95159ca6.js → ContentWrapper-cd0abb46.js} +13 -13
  18. package/dist/{CoverBlockSettings-647e6b18.js → CoverBlockSettings-9e6926e5.js} +8 -8
  19. package/dist/{DocAnswer-299edc71.js → DocAnswer-760aca52.js} +4 -4
  20. package/dist/{DocDetails-c740d0a6.js → DocDetails-a49d9706.js} +4 -4
  21. package/dist/{DocForm-42c0c67c.js → DocForm-9296137d.js} +508 -487
  22. package/dist/{DocFormSend-1f9c446f.js → DocFormSend-d53627b6.js} +18 -18
  23. package/dist/{DocLinks-2c63c0dc.js → DocLinks-ebb434cf.js} +2 -2
  24. package/dist/{DocModalBase-62c42e04.js → DocModalBase-788ecca2.js} +1 -1
  25. package/dist/{DocPrint-cea9de40.js → DocPrint-76494770.js} +4 -2
  26. package/dist/{DocReceipt-61b17b52.js → DocReceipt-91a22031.js} +1 -1
  27. package/dist/{DocSendReminder-d69f4a3f.js → DocSendReminder-8fb4f42a.js} +1 -1
  28. package/dist/{DocTextEditor-e6008feb.js → DocTextEditor-718701da.js} +8 -8
  29. package/dist/{DocTimeline-480b7adf.js → DocTimeline-745f11ca.js} +3 -3
  30. package/dist/{DocumentClient-6e36a622.js → DocumentClient-9484dac6.js} +7 -7
  31. package/dist/{DocumentLayout-81ae175c.js → DocumentLayout-b35834b7.js} +143 -143
  32. package/dist/{DocumentLogotype-dea21bad.js → DocumentLogotype-ac609ac3.js} +3 -3
  33. package/dist/{DocumentVoided-1b3a2ab5.js → DocumentVoided-35a08aae.js} +1 -1
  34. package/dist/{EmbedInput-fbbf12f1.js → EmbedInput-b4e82feb.js} +2 -2
  35. package/dist/{EmbedSettings-1063c1e4.js → EmbedSettings-e1a34a42.js} +3 -3
  36. package/dist/{ErrorCallout-82e50910.js → ErrorCallout-028c5129.js} +1 -1
  37. package/dist/{FilePreviewModal-dc188de1.js → FilePreviewModal-317d0164.js} +5 -5
  38. package/dist/{HeaderSettings-663e5b4f.js → HeaderSettings-6b47fc81.js} +16 -16
  39. package/dist/{ImageSelectModal-a76f7e4b.js → ImageSelectModal-844c6bc3.js} +9 -9
  40. package/dist/{ImageUploadWrapper-1c6f0ae4.js → ImageUploadWrapper-50277abb.js} +12 -12
  41. package/dist/{Index-cb5b055d.js → Index-05284370.js} +2 -2
  42. package/dist/{Index-a7e8812e.js → Index-150fb782.js} +2 -2
  43. package/dist/{Index-0a6802ca.js → Index-15208945.js} +16 -16
  44. package/dist/{Index-c0dd3309.js → Index-19a722f7.js} +2 -2
  45. package/dist/{Index-90cc1544.js → Index-2167f5b1.js} +7 -7
  46. package/dist/{Index-98237ab3.js → Index-2d053662.js} +4 -4
  47. package/dist/{Index-2c3b5b59.js → Index-2d8c6cb4.js} +10 -10
  48. package/dist/{Index-5fc2d521.js → Index-3149ec57.js} +39 -39
  49. package/dist/{Index-ca9d1747.js → Index-3806962a.js} +4 -4
  50. package/dist/{Index-81c49dd8.js → Index-3dab1bc2.js} +4 -4
  51. package/dist/{Index-3f3c03a0.js → Index-4372b425.js} +14 -14
  52. package/dist/{Index-f9bbee77.js → Index-577f50c3.js} +1 -1
  53. package/dist/{Index-ffedf35a.js → Index-6cf07e69.js} +4 -4
  54. package/dist/{Index-4b1074d0.js → Index-7088fac5.js} +7 -7
  55. package/dist/{Index-aea14240.js → Index-7746750d.js} +2 -2
  56. package/dist/{Index-b457cd00.js → Index-7dc7112d.js} +9 -9
  57. package/dist/{Index-0428c10a.js → Index-80b0143a.js} +2 -2
  58. package/dist/{Index-f05733c2.js → Index-891aef3c.js} +9 -9
  59. package/dist/{Index-c1b546ad.js → Index-95d81511.js} +8 -8
  60. package/dist/{Index-7c14fd96.js → Index-9a60040d.js} +4 -4
  61. package/dist/{Index-cea034a9.js → Index-9db11c22.js} +4 -4
  62. package/dist/{Index-12f4ded1.js → Index-a07fdebf.js} +5 -5
  63. package/dist/{Index-c1b73537.js → Index-b2aac451.js} +6 -6
  64. package/dist/{Index-ad36c47b.js → Index-baae6f49.js} +4 -4
  65. package/dist/{Index-b1f07b87.js → Index-bbf0ffc1.js} +2 -2
  66. package/dist/{Index-f62acccc.js → Index-bd96ee96.js} +6 -6
  67. package/dist/{Index-0078c287.js → Index-c17f0725.js} +1 -1
  68. package/dist/{Index-18c5bc6b.js → Index-c4573294.js} +6 -6
  69. package/dist/{Index-1914be9d.js → Index-d7279e3d.js} +2 -2
  70. package/dist/{Index-e63f7ce8.js → Index-de524825.js} +8 -8
  71. package/dist/{Index-c2ded827.js → Index-e30aeae7.js} +4 -4
  72. package/dist/{Index-6fe85402.js → Index-e3a4b413.js} +4 -4
  73. package/dist/{Index-5a61849b.js → Index-ede7b036.js} +2 -2
  74. package/dist/{Index-58ee00b1.js → Index-f87f5334.js} +3 -3
  75. package/dist/{InputToggleRow-176f3685.js → InputToggleRow-88c816d8.js} +1 -1
  76. package/dist/{IsPremiumPreStep-f3040c7a.js → IsPremiumPreStep-3665f985.js} +17 -17
  77. package/dist/{ManualPopover-b7c65a0c.js → ManualPopover-db213d5f.js} +1 -1
  78. package/dist/{MediaWrapper-d1f91245.js → MediaWrapper-fd7c4863.js} +3 -3
  79. package/dist/{NotBindingText-00d1b175.js → NotBindingText-c2e4a00c.js} +2 -2
  80. package/dist/{PackageGroup-89033998.js → PackageGroup-d8077d12.js} +12 -12
  81. package/dist/{PdfTerms-0e214875.js → PdfTerms-ca12cb7a.js} +5 -5
  82. package/dist/{PdfViewer-00d4de8d.js → PdfViewer-0bd06c00.js} +2 -2
  83. package/dist/{PlainHtml-00ce6fd0.js → PlainHtml-9326653d.js} +1 -1
  84. package/dist/{PriceHeader-553f4ff0.js → PriceHeader-b8225846.js} +13 -13
  85. package/dist/{SearchApi-e5cde5cf.js → SearchApi-2070fc66.js} +2 -2
  86. package/dist/{Setup-7f309cf0.js → Setup-112a316f.js} +1 -1
  87. package/dist/{TermsSettings-74d7c2d9.js → TermsSettings-181622d1.js} +7 -7
  88. package/dist/{ThemeColorRow-0b7ad102.js → ThemeColorRow-7dd6979b.js} +3 -3
  89. package/dist/{ToggleBinding-33b62557.js → ToggleBinding-482c9df9.js} +3 -3
  90. package/dist/{UploadModal-6f43c373.js → UploadModal-fc9b0c7b.js} +3 -3
  91. package/dist/{VideoPlayerInput-81e64059.js → VideoPlayerInput-c1465b51.js} +3 -3
  92. package/dist/{VideoPlayerSettings-f3445401.js → VideoPlayerSettings-a3e8a905.js} +4 -4
  93. package/dist/{VideoSelectModal-736176ac.js → VideoSelectModal-0834b28c.js} +8 -8
  94. package/dist/{answerDocumentMixin-0b94b90e.js → answerDocumentMixin-77a657f2.js} +3 -3
  95. package/dist/{debounce-9410d5d6.js → debounce-7a30cd28.js} +13 -13
  96. package/dist/{focusDrawerMixin-14a97cd3.js → focusDrawerMixin-4b8dc020.js} +1 -1
  97. package/dist/{formComponentsInstall-6a61db21.js → formComponentsInstall-b7ccf504.js} +12 -12
  98. package/dist/{formDrawerState-b23639bd.js → formDrawerState-66870f5d.js} +1 -1
  99. package/dist/{formValidationMixin-047668c3.js → formValidationMixin-00449d9c.js} +1 -1
  100. package/dist/{image-cd324ded.js → image-025ccec3.js} +1 -1
  101. package/dist/{index-ad0c2be7.js → index-26b885b0.js} +42 -42
  102. package/dist/{index-b937c6d2.js → index-47104181.js} +9 -9
  103. package/dist/{index-3003bff6.js → index-75dcd2c7.js} +4 -4
  104. package/dist/{index-22c9f370.js → index-86143b34.js} +2 -2
  105. package/dist/{index-569793de.js → index-9ed00aac.js} +26 -21
  106. package/dist/{index-a62beb97.js → index-c2b908d6.js} +5 -5
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +139 -139
  109. package/dist/{main-4f27b552.js → main-046afb6a.js} +182 -147
  110. package/dist/{mapFormMixin-9f326a09.js → mapFormMixin-55374367.js} +1 -1
  111. package/dist/{publicSenderState-ec8a9ad6.js → publicSenderState-6a3c9ab7.js} +1 -1
  112. package/dist/{simplebar.min-c555666e.js → simplebar.min-536ba2c3.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{template-70f4518f.js → template-b0d55fd8.js} +2 -2
  115. package/dist/{throttle-a0a6c1c7.js → throttle-c63892db.js} +2 -2
  116. package/dist/{tinycolor-2fdfb0b3.js → tinycolor-acb2af47.js} +1 -1
  117. package/dist/{tippy.esm-e8cf7685.js → tippy.esm-33ba8b66.js} +45 -45
  118. package/dist/{utils-805171cf.js → utils-0876161d.js} +1 -1
  119. package/dist/{vuedraggable.umd-79e4b33e.js → vuedraggable.umd-b517a242.js} +63 -63
  120. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { g as s, J as l, n as r, V as a } from "./main-4f27b552.js";
2
- import { m as d, a as p } from "./vuex.esm-4a0fff7c.js";
3
- const c = {
1
+ import { g as s, J as l, K as r, n as d, V as a } from "./main-046afb6a.js";
2
+ import { m as p, a as c } from "./vuex.esm-4a0fff7c.js";
3
+ const m = {
4
4
  name: "ClientLinks",
5
5
  props: {
6
6
  id: {
@@ -30,7 +30,7 @@ const c = {
30
30
  }
31
31
  },
32
32
  computed: {
33
- ...d({
33
+ ...p({
34
34
  docById: "documents2/byId"
35
35
  }),
36
36
  document() {
@@ -39,8 +39,8 @@ const c = {
39
39
  clients() {
40
40
  if (!this.document)
41
41
  return [];
42
- const { clients: i } = this.document;
43
- return i.map((t) => ({
42
+ const { clients: o } = this.document;
43
+ return o.map((t) => ({
44
44
  ...t,
45
45
  primaryTitle: t.name,
46
46
  secondaryTitle: t.type === "company" ? t.companyName : ""
@@ -51,38 +51,43 @@ const c = {
51
51
  this.loadDocument({ id: this.id });
52
52
  },
53
53
  methods: {
54
- ...p({
54
+ ...c({
55
55
  loadDocument: s.LOAD_DOCUMENT2
56
56
  }),
57
- copyToClipboard(i) {
58
- i.target.previousElementSibling.select(), document.execCommand("copy", !1), l("info", this.$t("copied"));
57
+ async copyToClipboard(o) {
58
+ var i, n;
59
+ (i = o.target.previousElementSibling) == null || i.select();
60
+ const t = (n = o.target.previousElementSibling) == null ? void 0 : n.value;
61
+ if (!t)
62
+ return;
63
+ await l(t) && r("info", this.$t("copied"));
59
64
  }
60
65
  }
61
66
  };
62
- var m = function() {
67
+ var u = function() {
63
68
  var t = this, e = t._self._c;
64
- return e("div", { staticClass: "font-inter", staticStyle: { "background-color": "white", "border-radius": "10px", overflow: "hidden" } }, [e("div", { staticStyle: { padding: "40px 30px", position: "relative" } }, [e("CButton", { staticStyle: { position: "absolute", right: "1em", top: "1em", color: "hsl(0, 0%, 55%)" }, attrs: { icon: "x", circle: "", size: "normal" }, on: { click: function(o) {
69
+ return e("div", { staticClass: "font-inter", staticStyle: { "background-color": "white", "border-radius": "10px", overflow: "hidden" } }, [e("div", { staticStyle: { padding: "40px 30px", position: "relative" } }, [e("CButton", { staticStyle: { position: "absolute", right: "1em", top: "1em", color: "hsl(0, 0%, 55%)" }, attrs: { icon: "x", circle: "", size: "normal" }, on: { click: function(i) {
65
70
  return t.$emit("close");
66
- } } }), e("div", { staticStyle: { padding: "0 0 2.5em" } }, [e("div", { staticClass: "x-title", domProps: { textContent: t._s(t.$t("title")) } }), e("div", { staticClass: "x-text", domProps: { textContent: t._s(t.$t("text")) } })]), t.clients.length ? t._l(t.clients, function(o, n) {
67
- return e("div", { key: n, staticClass: "client-card" }, [e("div", { staticStyle: { padding: "4px 6px 8px 6px" } }, [e("div", { staticClass: "client-title truncate-text" }, [t._v(" " + t._s(o.primaryTitle) + " "), o.secondaryTitle ? e("span", { staticStyle: { opacity: "0.5", "padding-left": "0.125ch" } }, [t._v("· " + t._s(o.secondaryTitle))]) : t._e()]), o.documentRole ? e("div", { domProps: { textContent: t._s(t.$t(`_common:documentRole.${o.documentRole}.label`)) } }) : t._e(), e("div", [o.email ? e("a", { attrs: { href: `mailto:${o.email}?&body=${o.docLink}` } }, [t._v(t._s(o.email))]) : t._e(), o.email && o.cellphone ? e("span", { staticStyle: { padding: "0 0.5ch" } }, [t._v("·")]) : t._e(), o.cellphone ? e("a", { attrs: { href: `sms:${o.cellphone}?&body=${o.docLink}` } }, [e("CPhoneFormat", { attrs: { phone: o.cellphone, region: o.cellphoneRegion } })], 1) : t._e()])]), e("div", { staticStyle: { display: "flex", position: "relative" } }, [e("input", { ref: "key", refInFor: !0, staticClass: "link-field truncate-text", attrs: { placeholder: t.$t("placeholder"), type: "text", readonly: "readonly" }, domProps: { value: o.docLink } }), e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("tooltip"), expression: "$t('tooltip')" }], staticClass: "clipboard-button", on: { click: t.copyToClipboard } }, [e("BaseIcon", { staticStyle: { "pointer-events": "none" }, attrs: { type: "copy", size: "17" } })], 1)])]);
71
+ } } }), e("div", { staticStyle: { padding: "0 0 2.5em" } }, [e("div", { staticClass: "x-title", domProps: { textContent: t._s(t.$t("title")) } }), e("div", { staticClass: "x-text", domProps: { textContent: t._s(t.$t("text")) } })]), t.clients.length ? t._l(t.clients, function(i, n) {
72
+ return e("div", { key: n, staticClass: "client-card" }, [e("div", { staticStyle: { padding: "4px 6px 8px 6px" } }, [e("div", { staticClass: "client-title truncate-text" }, [t._v(" " + t._s(i.primaryTitle) + " "), i.secondaryTitle ? e("span", { staticStyle: { opacity: "0.5", "padding-left": "0.125ch" } }, [t._v("· " + t._s(i.secondaryTitle))]) : t._e()]), i.documentRole ? e("div", { domProps: { textContent: t._s(t.$t(`_common:documentRole.${i.documentRole}.label`)) } }) : t._e(), e("div", [i.email ? e("a", { attrs: { href: `mailto:${i.email}?&body=${i.docLink}` } }, [t._v(t._s(i.email))]) : t._e(), i.email && i.cellphone ? e("span", { staticStyle: { padding: "0 0.5ch" } }, [t._v("·")]) : t._e(), i.cellphone ? e("a", { attrs: { href: `sms:${i.cellphone}?&body=${i.docLink}` } }, [e("CPhoneFormat", { attrs: { phone: i.cellphone, region: i.cellphoneRegion } })], 1) : t._e()])]), e("div", { staticStyle: { display: "flex", position: "relative" } }, [e("input", { ref: "key", refInFor: !0, staticClass: "link-field truncate-text", attrs: { placeholder: t.$t("placeholder"), type: "text", readonly: "readonly" }, domProps: { value: i.docLink } }), e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("tooltip"), expression: "$t('tooltip')" }], staticClass: "clipboard-button", on: { click: t.copyToClipboard } }, [e("BaseIcon", { staticStyle: { "pointer-events": "none" }, attrs: { type: "copy", size: "17" } })], 1)])]);
68
73
  }) : e("div", { staticStyle: { padding: "2em", "font-size": "14px", "text-align": "center", color: "hsl(0, 0%, 55%)", border: "1px solid hsl(0, 0%, 88%)", "border-radius": "6px" }, domProps: { textContent: t._s(t.$t("placeholder")) } }), e("div", { staticClass: "x-hint" }, [e("BaseIcon", { staticClass: "text-primary-500", staticStyle: { flex: "0 0 auto", "margin-right": "8px", "margin-top": "3px" }, attrs: { type: "info", size: "16" } }), e("div", { domProps: { textContent: t._s(t.$t("hint")) } })], 1)], 2)]);
69
- }, u = [], h = /* @__PURE__ */ r(
70
- c,
74
+ }, h = [], y = /* @__PURE__ */ d(
71
75
  m,
72
76
  u,
77
+ h,
73
78
  !1,
74
79
  null,
75
- "e7b64c81",
80
+ "e0736d54",
76
81
  null,
77
82
  null
78
83
  );
79
- const v = h.exports, y = v, k = ({ id: i }) => {
84
+ const v = y.exports, _ = v, x = ({ id: o }) => {
80
85
  if (!a.prototype.$modal)
81
86
  throw Error("Open client modal requires plugin vue-js-modal");
82
87
  a.prototype.$modal.show(
83
- y,
88
+ _,
84
89
  {
85
- id: i
90
+ id: o
86
91
  },
87
92
  {
88
93
  adaptive: !0,
@@ -94,6 +99,6 @@ const v = h.exports, y = v, k = ({ id: i }) => {
94
99
  );
95
100
  };
96
101
  export {
97
- y as C,
98
- k as o
102
+ _ as C,
103
+ x as o
99
104
  };
@@ -1,9 +1,9 @@
1
- import { d as o } from "./debounce-9410d5d6.js";
2
- import { t as a } from "./throttle-a0a6c1c7.js";
3
- import { n } from "./main-4f27b552.js";
1
+ import { d as o } from "./debounce-7a30cd28.js";
2
+ import { t as a } from "./throttle-c63892db.js";
3
+ import { n } from "./main-046afb6a.js";
4
4
  import { i as c } from "./dom-962579a6.js";
5
- import { w as d } from "./CDropdownItem-109be2e2.js";
6
- import { s as u } from "./simplebar.min-c555666e.js";
5
+ import { w as d } from "./CDropdownItem-0c39e15e.js";
6
+ import { s as u } from "./simplebar.min-536ba2c3.js";
7
7
  const f = {
8
8
  name: "BackgroundsModalList",
9
9
  i18nOptions: {