@cling-se/widget 0.9.24 → 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-4afb07ff.js → AddClientCallout-1d22cff1.js} +5 -5
  2. package/dist/{AnswerModal-2b11381b.js → AnswerModal-7d4a4ad6.js} +82 -70
  3. package/dist/{AttachmentItem-c666fb74.js → AttachmentItem-fa4a7b2f.js} +3 -3
  4. package/dist/{BaseDatePicker-e1efcf48.js → BaseDatePicker-bb3c9290.js} +1 -1
  5. package/dist/{BaseInput-44c3af54.js → BaseInput-d46c6aab.js} +1 -1
  6. package/dist/{BaseUpload-740b1f88.js → BaseUpload-61a6ae84.js} +2 -2
  7. package/dist/{BlockMedia-f5086397.js → BlockMedia-c0765d5f.js} +1 -1
  8. package/dist/{CCallout-1a1feea0.js → CCallout-e9eb8421.js} +2 -2
  9. package/dist/{CDropdownItem-cc274799.js → CDropdownItem-0c39e15e.js} +1 -1
  10. package/dist/{CField-372bd9c7.js → CField-9a36ccbe.js} +1 -1
  11. package/dist/{CPhoneFormat-b273a499.js → CPhoneFormat-14fb2bfe.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js → CSlider.vue_vue_type_style_index_0_lang-473e3473.js} +1 -1
  13. package/dist/{ClientAutocomplete-0f51c1cd.js → ClientAutocomplete-ea948de7.js} +2 -2
  14. package/dist/{ClientModal-1bec5a45.js → ClientModal-03f9a7ad.js} +8 -8
  15. package/dist/{ColorPicker-43c741fb.js → ColorPicker-9d6e8692.js} +38 -38
  16. package/dist/{CompanyModal-adec1d7e.js → CompanyModal-9a2797e4.js} +3 -3
  17. package/dist/{ContentWrapper-48e69342.js → ContentWrapper-cd0abb46.js} +13 -13
  18. package/dist/{CoverBlockSettings-c0a57bee.js → CoverBlockSettings-9e6926e5.js} +8 -8
  19. package/dist/{DocAnswer-f0f7d55d.js → DocAnswer-760aca52.js} +4 -4
  20. package/dist/{DocDetails-0e25552f.js → DocDetails-a49d9706.js} +4 -4
  21. package/dist/{DocForm-2ab0c521.js → DocForm-9296137d.js} +508 -487
  22. package/dist/{DocFormSend-e60808ca.js → DocFormSend-d53627b6.js} +18 -18
  23. package/dist/{DocLinks-20719644.js → DocLinks-ebb434cf.js} +2 -2
  24. package/dist/{DocModalBase-039f53c2.js → DocModalBase-788ecca2.js} +1 -1
  25. package/dist/{DocPrint-aafc72e2.js → DocPrint-76494770.js} +4 -2
  26. package/dist/{DocReceipt-641b141c.js → DocReceipt-91a22031.js} +1 -1
  27. package/dist/{DocSendReminder-aabc0994.js → DocSendReminder-8fb4f42a.js} +1 -1
  28. package/dist/{DocTextEditor-3eb97671.js → DocTextEditor-718701da.js} +8 -8
  29. package/dist/{DocTimeline-9d765ded.js → DocTimeline-745f11ca.js} +3 -3
  30. package/dist/{DocumentClient-8d59d823.js → DocumentClient-9484dac6.js} +7 -7
  31. package/dist/{DocumentLayout-a659ce2a.js → DocumentLayout-b35834b7.js} +143 -143
  32. package/dist/{DocumentLogotype-393d1610.js → DocumentLogotype-ac609ac3.js} +3 -3
  33. package/dist/{DocumentVoided-9294f5d4.js → DocumentVoided-35a08aae.js} +1 -1
  34. package/dist/{EmbedInput-e6a9ee21.js → EmbedInput-b4e82feb.js} +2 -2
  35. package/dist/{EmbedSettings-e31ccfdc.js → EmbedSettings-e1a34a42.js} +3 -3
  36. package/dist/{ErrorCallout-d6c77efa.js → ErrorCallout-028c5129.js} +1 -1
  37. package/dist/{FilePreviewModal-84d6ab65.js → FilePreviewModal-317d0164.js} +5 -5
  38. package/dist/{HeaderSettings-51d44d2d.js → HeaderSettings-6b47fc81.js} +16 -16
  39. package/dist/{ImageSelectModal-051e0929.js → ImageSelectModal-844c6bc3.js} +9 -9
  40. package/dist/{ImageUploadWrapper-dcceec48.js → ImageUploadWrapper-50277abb.js} +12 -12
  41. package/dist/{Index-c2008029.js → Index-05284370.js} +2 -2
  42. package/dist/{Index-c8ded03a.js → Index-150fb782.js} +2 -2
  43. package/dist/{Index-d77ba606.js → Index-15208945.js} +16 -16
  44. package/dist/{Index-c1aa1453.js → Index-19a722f7.js} +2 -2
  45. package/dist/{Index-fd6da129.js → Index-2167f5b1.js} +7 -7
  46. package/dist/{Index-5def7508.js → Index-2d053662.js} +4 -4
  47. package/dist/{Index-36ba2c7c.js → Index-2d8c6cb4.js} +10 -10
  48. package/dist/{Index-494c3112.js → Index-3149ec57.js} +39 -39
  49. package/dist/{Index-3cb4cf49.js → Index-3806962a.js} +4 -4
  50. package/dist/{Index-fdb53118.js → Index-3dab1bc2.js} +4 -4
  51. package/dist/{Index-51ceb867.js → Index-4372b425.js} +14 -14
  52. package/dist/{Index-9a162ce6.js → Index-577f50c3.js} +1 -1
  53. package/dist/{Index-e8a3b12b.js → Index-6cf07e69.js} +4 -4
  54. package/dist/{Index-b33109a3.js → Index-7088fac5.js} +7 -7
  55. package/dist/{Index-3571dbbe.js → Index-7746750d.js} +2 -2
  56. package/dist/{Index-39d0e781.js → Index-7dc7112d.js} +9 -9
  57. package/dist/{Index-5ead0dc5.js → Index-80b0143a.js} +2 -2
  58. package/dist/{Index-c4942c4e.js → Index-891aef3c.js} +9 -9
  59. package/dist/{Index-c5983b2b.js → Index-95d81511.js} +8 -8
  60. package/dist/{Index-42639492.js → Index-9a60040d.js} +4 -4
  61. package/dist/{Index-5b2c568a.js → Index-9db11c22.js} +4 -4
  62. package/dist/{Index-d7a7de69.js → Index-a07fdebf.js} +5 -5
  63. package/dist/{Index-a94f257f.js → Index-b2aac451.js} +6 -6
  64. package/dist/{Index-54695ef1.js → Index-baae6f49.js} +4 -4
  65. package/dist/{Index-75922cfc.js → Index-bbf0ffc1.js} +2 -2
  66. package/dist/{Index-cc56dad6.js → Index-bd96ee96.js} +6 -6
  67. package/dist/{Index-20c0168b.js → Index-c17f0725.js} +1 -1
  68. package/dist/{Index-652a82d0.js → Index-c4573294.js} +6 -6
  69. package/dist/{Index-e9da5a9c.js → Index-d7279e3d.js} +2 -2
  70. package/dist/{Index-a98c290d.js → Index-de524825.js} +8 -8
  71. package/dist/{Index-06045b22.js → Index-e30aeae7.js} +4 -4
  72. package/dist/{Index-f36accd7.js → Index-e3a4b413.js} +4 -4
  73. package/dist/{Index-0932b744.js → Index-ede7b036.js} +2 -2
  74. package/dist/{Index-3bdfc806.js → Index-f87f5334.js} +3 -3
  75. package/dist/{InputToggleRow-79bbd6c6.js → InputToggleRow-88c816d8.js} +1 -1
  76. package/dist/{IsPremiumPreStep-f0524e76.js → IsPremiumPreStep-3665f985.js} +17 -17
  77. package/dist/{ManualPopover-8a1e53a5.js → ManualPopover-db213d5f.js} +1 -1
  78. package/dist/{MediaWrapper-b128c707.js → MediaWrapper-fd7c4863.js} +3 -3
  79. package/dist/{NotBindingText-561df6d3.js → NotBindingText-c2e4a00c.js} +2 -2
  80. package/dist/{PackageGroup-3eaff6a7.js → PackageGroup-d8077d12.js} +12 -12
  81. package/dist/{PdfTerms-27d7ea41.js → PdfTerms-ca12cb7a.js} +5 -5
  82. package/dist/{PdfViewer-5b2bcbb5.js → PdfViewer-0bd06c00.js} +2 -2
  83. package/dist/{PlainHtml-c743e90e.js → PlainHtml-9326653d.js} +1 -1
  84. package/dist/{PriceHeader-287b8219.js → PriceHeader-b8225846.js} +13 -13
  85. package/dist/{SearchApi-1cd32dd3.js → SearchApi-2070fc66.js} +2 -2
  86. package/dist/{Setup-647c8d19.js → Setup-112a316f.js} +1 -1
  87. package/dist/{TermsSettings-28e00bdf.js → TermsSettings-181622d1.js} +7 -7
  88. package/dist/{ThemeColorRow-87aad7e1.js → ThemeColorRow-7dd6979b.js} +3 -3
  89. package/dist/{ToggleBinding-86912659.js → ToggleBinding-482c9df9.js} +3 -3
  90. package/dist/{UploadModal-4065d410.js → UploadModal-fc9b0c7b.js} +3 -3
  91. package/dist/{VideoPlayerInput-1b402e91.js → VideoPlayerInput-c1465b51.js} +3 -3
  92. package/dist/{VideoPlayerSettings-4dcca863.js → VideoPlayerSettings-a3e8a905.js} +4 -4
  93. package/dist/{VideoSelectModal-4f9def15.js → VideoSelectModal-0834b28c.js} +8 -8
  94. package/dist/{answerDocumentMixin-6b6cfdb6.js → answerDocumentMixin-77a657f2.js} +3 -3
  95. package/dist/{debounce-97bb38ac.js → debounce-7a30cd28.js} +13 -13
  96. package/dist/{focusDrawerMixin-0d00dfeb.js → focusDrawerMixin-4b8dc020.js} +1 -1
  97. package/dist/{formComponentsInstall-0e28cca8.js → formComponentsInstall-b7ccf504.js} +12 -12
  98. package/dist/{formDrawerState-68670778.js → formDrawerState-66870f5d.js} +1 -1
  99. package/dist/{formValidationMixin-cb6f10e2.js → formValidationMixin-00449d9c.js} +1 -1
  100. package/dist/{image-456aa00c.js → image-025ccec3.js} +1 -1
  101. package/dist/{index-b8207e2a.js → index-26b885b0.js} +42 -42
  102. package/dist/{index-63ab2d14.js → index-47104181.js} +9 -9
  103. package/dist/{index-1f6e36c5.js → index-75dcd2c7.js} +4 -4
  104. package/dist/{index-e4f936ec.js → index-86143b34.js} +2 -2
  105. package/dist/{index-2710ab1c.js → index-9ed00aac.js} +26 -21
  106. package/dist/{index-ea1c7f84.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-b5eb6366.js → main-046afb6a.js} +186 -152
  110. package/dist/{mapFormMixin-e0c45bbd.js → mapFormMixin-55374367.js} +1 -1
  111. package/dist/{publicSenderState-4163b1b6.js → publicSenderState-6a3c9ab7.js} +1 -1
  112. package/dist/{simplebar.min-147772cd.js → simplebar.min-536ba2c3.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{template-6e93622c.js → template-b0d55fd8.js} +2 -2
  115. package/dist/{throttle-7a7a1299.js → throttle-c63892db.js} +2 -2
  116. package/dist/{tinycolor-bb8652ea.js → tinycolor-acb2af47.js} +1 -1
  117. package/dist/{tippy.esm-f533f77b.js → tippy.esm-33ba8b66.js} +45 -45
  118. package/dist/{utils-066c47a5.js → utils-0876161d.js} +1 -1
  119. package/dist/{vuedraggable.umd-76911d11.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-b5eb6366.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-97bb38ac.js";
2
- import { t as a } from "./throttle-7a7a1299.js";
3
- import { n } from "./main-b5eb6366.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-cc274799.js";
6
- import { s as u } from "./simplebar.min-147772cd.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: {