@cling-se/widget 0.9.22 → 0.9.24

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-f30100da.js → AddClientCallout-4afb07ff.js} +5 -5
  2. package/dist/{AnswerModal-d30e03bd.js → AnswerModal-2b11381b.js} +84 -27
  3. package/dist/{AttachmentItem-446bb069.js → AttachmentItem-c666fb74.js} +7 -5
  4. package/dist/{BaseDatePicker-6a365a09.js → BaseDatePicker-e1efcf48.js} +1 -1
  5. package/dist/{BaseInput-7ed92f6a.js → BaseInput-44c3af54.js} +6 -2
  6. package/dist/{BaseUpload-636eeec3.js → BaseUpload-740b1f88.js} +28 -11
  7. package/dist/{BlockMedia-3cb86ebf.js → BlockMedia-f5086397.js} +5 -3
  8. package/dist/{CCallout-44e44f26.js → CCallout-1a1feea0.js} +6 -9
  9. package/dist/{CDropdownItem-52cf4f0e.js → CDropdownItem-cc274799.js} +3 -3
  10. package/dist/{CField-a80001b1.js → CField-372bd9c7.js} +18 -4
  11. package/dist/{CPhoneFormat-3db8947d.js → CPhoneFormat-b273a499.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-42fea525.js → CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js} +4 -2
  13. package/dist/{ClientAutocomplete-84cfcc88.js → ClientAutocomplete-0f51c1cd.js} +3 -3
  14. package/dist/{ClientModal-5c684c95.js → ClientModal-1bec5a45.js} +34 -19
  15. package/dist/{ColorPicker-043d7a04.js → ColorPicker-43c741fb.js} +2 -2
  16. package/dist/{CompanyModal-64d16864.js → CompanyModal-adec1d7e.js} +8 -5
  17. package/dist/{ContentWrapper-f3c1c1cb.js → ContentWrapper-48e69342.js} +40 -27
  18. package/dist/{CoverBlockSettings-8f28a3a5.js → CoverBlockSettings-c0a57bee.js} +49 -34
  19. package/dist/{DocAnswer-2402eee3.js → DocAnswer-f0f7d55d.js} +4 -4
  20. package/dist/{DocDetails-ec7f2a02.js → DocDetails-0e25552f.js} +71 -46
  21. package/dist/{DocForm-c9df5aa0.js → DocForm-2ab0c521.js} +515 -291
  22. package/dist/{DocFormSend-31f95da1.js → DocFormSend-e60808ca.js} +18 -18
  23. package/dist/{DocLinks-93f538c9.js → DocLinks-20719644.js} +2 -2
  24. package/dist/{DocModalBase-5c9138cc.js → DocModalBase-039f53c2.js} +4 -4
  25. package/dist/{DocPrint-a4475559.js → DocPrint-aafc72e2.js} +2 -2
  26. package/dist/{DocReceipt-4e571cee.js → DocReceipt-641b141c.js} +33 -10
  27. package/dist/{DocSendReminder-fe49cd44.js → DocSendReminder-aabc0994.js} +30 -5
  28. package/dist/{DocTextEditor-2bb318af.js → DocTextEditor-3eb97671.js} +86 -37
  29. package/dist/{DocTimeline-9f47bab8.js → DocTimeline-9d765ded.js} +29 -16
  30. package/dist/{DocumentClient-99d7039b.js → DocumentClient-8d59d823.js} +7 -7
  31. package/dist/{DocumentLayout-11af5e3b.js → DocumentLayout-a659ce2a.js} +31 -11
  32. package/dist/{DocumentLogotype-1931e1ad.js → DocumentLogotype-393d1610.js} +8 -8
  33. package/dist/{DocumentVoided-6351a1df.js → DocumentVoided-9294f5d4.js} +1 -1
  34. package/dist/{EmbedInput-7d0562fc.js → EmbedInput-e6a9ee21.js} +2 -2
  35. package/dist/{EmbedSettings-9df99e76.js → EmbedSettings-e31ccfdc.js} +7 -7
  36. package/dist/ErrorCallout-d6c77efa.js +30 -0
  37. package/dist/{FilePreviewModal-095408ae.js → FilePreviewModal-84d6ab65.js} +6 -6
  38. package/dist/{HeaderSettings-6d350190.js → HeaderSettings-51d44d2d.js} +65 -63
  39. package/dist/{ImageSelectModal-971708e1.js → ImageSelectModal-051e0929.js} +27 -27
  40. package/dist/{ImageUploadWrapper-3fac23f0.js → ImageUploadWrapper-dcceec48.js} +11 -5
  41. package/dist/{Index-9b1e35fa.js → Index-06045b22.js} +9 -10
  42. package/dist/{Index-8b39f885.js → Index-0932b744.js} +32 -20
  43. package/dist/{Index-ffff3ae8.js → Index-20c0168b.js} +15 -15
  44. package/dist/{Index-6e6d2653.js → Index-3571dbbe.js} +2 -2
  45. package/dist/{Index-d3667461.js → Index-36ba2c7c.js} +20 -16
  46. package/dist/{Index-7b9b5dee.js → Index-39d0e781.js} +17 -17
  47. package/dist/{Index-88af8453.js → Index-3bdfc806.js} +3 -3
  48. package/dist/{Index-fad050d0.js → Index-3cb4cf49.js} +4 -4
  49. package/dist/Index-42639492.js +28 -0
  50. package/dist/{Index-eb9a3a06.js → Index-494c3112.js} +300 -147
  51. package/dist/{Index-ffd8211f.js → Index-51ceb867.js} +20 -16
  52. package/dist/{Index-70f16919.js → Index-54695ef1.js} +13 -11
  53. package/dist/{Index-2abd5d2b.js → Index-5b2c568a.js} +13 -11
  54. package/dist/{Index-77bcf959.js → Index-5def7508.js} +17 -12
  55. package/dist/{Index-8c335677.js → Index-5ead0dc5.js} +2 -2
  56. package/dist/{Index-57d5951b.js → Index-652a82d0.js} +6 -6
  57. package/dist/{Index-4fa057f8.js → Index-75922cfc.js} +13 -13
  58. package/dist/{Index-7477a320.js → Index-9a162ce6.js} +2 -2
  59. package/dist/{Index-938d67eb.js → Index-a94f257f.js} +56 -31
  60. package/dist/{Index-5a0d7d8c.js → Index-a98c290d.js} +21 -18
  61. package/dist/{Index-1e62aedf.js → Index-b33109a3.js} +13 -9
  62. package/dist/{Index-d9001d15.js → Index-c1aa1453.js} +3 -3
  63. package/dist/{Index-e27c2fdf.js → Index-c2008029.js} +2 -2
  64. package/dist/{Index-d617c13f.js → Index-c4942c4e.js} +22 -27
  65. package/dist/{Index-567e408c.js → Index-c5983b2b.js} +13 -15
  66. package/dist/{Index-c8e36c6e.js → Index-c8ded03a.js} +2 -2
  67. package/dist/{Index-8f883e55.js → Index-cc56dad6.js} +7 -7
  68. package/dist/{Index-8c04b710.js → Index-d77ba606.js} +51 -43
  69. package/dist/{Index-868d52a9.js → Index-d7a7de69.js} +24 -17
  70. package/dist/{Index-356bc162.js → Index-e8a3b12b.js} +4 -4
  71. package/dist/{Index-20d85e3a.js → Index-e9da5a9c.js} +3 -3
  72. package/dist/{Index-79f564d7.js → Index-f36accd7.js} +4 -4
  73. package/dist/{Index-bf0c487f.js → Index-fd6da129.js} +7 -7
  74. package/dist/{Index-a1f74882.js → Index-fdb53118.js} +6 -9
  75. package/dist/{InputToggleRow-e6ceba8d.js → InputToggleRow-79bbd6c6.js} +4 -4
  76. package/dist/{IsPremiumPreStep-5760ca12.js → IsPremiumPreStep-f0524e76.js} +81 -36
  77. package/dist/{ManualPopover-814d1319.js → ManualPopover-8a1e53a5.js} +5 -2
  78. package/dist/{MediaWrapper-e67928b8.js → MediaWrapper-b128c707.js} +3 -3
  79. package/dist/{NotBindingText-f72244ab.js → NotBindingText-561df6d3.js} +2 -2
  80. package/dist/{PackageGroup-b457cbbb.js → PackageGroup-3eaff6a7.js} +184 -69
  81. package/dist/{PdfTerms-fa51699a.js → PdfTerms-27d7ea41.js} +8 -8
  82. package/dist/{PdfViewer-93b67f36.js → PdfViewer-5b2bcbb5.js} +2 -2
  83. package/dist/{PlainHtml-4decb4b1.js → PlainHtml-c743e90e.js} +1 -1
  84. package/dist/{PriceHeader-85923b9b.js → PriceHeader-287b8219.js} +48 -32
  85. package/dist/{SearchApi-e49da25f.js → SearchApi-1cd32dd3.js} +40 -20
  86. package/dist/{Setup-9e46ec76.js → Setup-647c8d19.js} +1 -1
  87. package/dist/{TermsSettings-79755d10.js → TermsSettings-28e00bdf.js} +11 -11
  88. package/dist/{ThemeColorRow-ce0c5083.js → ThemeColorRow-87aad7e1.js} +4 -4
  89. package/dist/{ToggleBinding-cda92aa3.js → ToggleBinding-86912659.js} +3 -3
  90. package/dist/{UploadModal-0e80a0f2.js → UploadModal-4065d410.js} +16 -14
  91. package/dist/{VideoPlayerInput-6145c645.js → VideoPlayerInput-1b402e91.js} +3 -3
  92. package/dist/{VideoPlayerSettings-b6d55453.js → VideoPlayerSettings-4dcca863.js} +5 -5
  93. package/dist/{VideoSelectModal-61d97f65.js → VideoSelectModal-4f9def15.js} +32 -36
  94. package/dist/{answerDocumentMixin-8edab24a.js → answerDocumentMixin-6b6cfdb6.js} +3 -3
  95. package/dist/{debounce-62af9d61.js → debounce-97bb38ac.js} +1 -1
  96. package/dist/{focusDrawerMixin-745d4e52.js → focusDrawerMixin-0d00dfeb.js} +1 -1
  97. package/dist/{formComponentsInstall-dc68b7e8.js → formComponentsInstall-0e28cca8.js} +210 -168
  98. package/dist/{formDrawerState-6408853b.js → formDrawerState-68670778.js} +1 -1
  99. package/dist/{formValidationMixin-a27a1b47.js → formValidationMixin-cb6f10e2.js} +1 -1
  100. package/dist/{image-7f7c16da.js → image-456aa00c.js} +1 -1
  101. package/dist/{index-2a4b06f7.js → index-1f6e36c5.js} +4 -4
  102. package/dist/{index-474d6e34.js → index-2710ab1c.js} +3 -3
  103. package/dist/{index-a72b19e9.js → index-63ab2d14.js} +12 -12
  104. package/dist/{index-1cf2de3c.js → index-b8207e2a.js} +1 -1
  105. package/dist/{index-14df19cb.js → index-e4f936ec.js} +8 -6
  106. package/dist/{index-cc6b4d3a.js → index-ea1c7f84.js} +17 -9
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +167 -138
  109. package/dist/{main-b72127b8.js → main-b5eb6366.js} +2374 -2298
  110. package/dist/{mapFormMixin-52ec1660.js → mapFormMixin-e0c45bbd.js} +1 -1
  111. package/dist/{publicSenderState-1a30e0c5.js → publicSenderState-4163b1b6.js} +1 -1
  112. package/dist/{simplebar.min-c28f1a61.js → simplebar.min-147772cd.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{template-c65478b1.js → template-6e93622c.js} +7 -7
  115. package/dist/{throttle-040bd305.js → throttle-7a7a1299.js} +2 -2
  116. package/dist/{tinycolor-10bcd30d.js → tinycolor-bb8652ea.js} +1 -1
  117. package/dist/{tippy.esm-0ef95919.js → tippy.esm-f533f77b.js} +8 -8
  118. package/dist/{utils-6073fc98.js → utils-066c47a5.js} +1 -1
  119. package/dist/{vuedraggable.umd-d2790aec.js → vuedraggable.umd-76911d11.js} +1 -1
  120. package/package.json +2 -2
  121. package/dist/ErrorCallout-106838ce.js +0 -30
  122. package/dist/Index-a65bded3.js +0 -28
@@ -1,5 +1,5 @@
1
- import { X as d, O as l, c } from "./main-b72127b8.js";
2
- import { g as o } from "./image-7f7c16da.js";
1
+ import { X as d, O as l, c } from "./main-b5eb6366.js";
2
+ import { g as o } from "./image-456aa00c.js";
3
3
  function t(e) {
4
4
  return btoa(encodeURIComponent(e));
5
5
  }
@@ -27,13 +27,13 @@ const g = {
27
27
  `),
28
28
  css: t(`
29
29
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');
30
-
30
+
31
31
  body,html {
32
32
  margin: 0;
33
33
  font-family: 'Poppins', sans-serif;
34
34
  font-size: 16px;
35
35
  }
36
-
36
+
37
37
  .root {
38
38
  background-color: green;
39
39
  background-image: radial-gradient(100% 150% at 13.58% 44.42%, #001855 0%, #00917d 100%);
@@ -250,7 +250,7 @@ img {
250
250
  Number of seats: <span class="value-amount"></span>
251
251
  </h4>
252
252
  </div>
253
- </section>
253
+ </section>
254
254
  `),
255
255
  css: t(`
256
256
  html, body {
@@ -446,12 +446,12 @@ setContent(inputSlider);
446
446
  p
447
447
  ], r = "custom", s = () => ({
448
448
  javascript: t(`// Add your javascript here
449
- // You can also access all the document data
449
+ // You can also access all the document data
450
450
  // from the global variable doc
451
451
 
452
452
  // To see what's available, uncomment the line below:
453
453
  // console.log(window.doc);
454
-
454
+
455
455
  // Listen to the event 'docUpdate' to detect updates on doc
456
456
  // window.addEventListener('docUpdate', function(e) {
457
457
  // // A change has been detected on doc
@@ -1,5 +1,5 @@
1
- import { j as n, k as l } from "./main-b72127b8.js";
2
- import { a as o } from "./debounce-62af9d61.js";
1
+ import { j as n, k as l } from "./main-b5eb6366.js";
2
+ import { a as o } from "./debounce-97bb38ac.js";
3
3
  var g = o, c = l, f = "Expected a function";
4
4
  function u(a, i, t) {
5
5
  var r = !0, e = !0;
@@ -1,4 +1,4 @@
1
- import { j as he } from "./main-b72127b8.js";
1
+ import { j as he } from "./main-b5eb6366.js";
2
2
  var N = { exports: {} };
3
3
  (function(R) {
4
4
  (function(c) {
@@ -1,8 +1,8 @@
1
- import { C as mr } from "./ColorPicker-043d7a04.js";
2
- import { F as hr } from "./DocumentLayout-11af5e3b.js";
3
- import { C as gr, a as yr } from "./CDropdownItem-52cf4f0e.js";
4
- import { n as Wt, q as br, aV as Ct } from "./main-b72127b8.js";
5
- import { S as wr } from "./CSlider.vue_vue_type_style_index_0_lang-42fea525.js";
1
+ import { C as mr } from "./ColorPicker-43c741fb.js";
2
+ import { F as hr } from "./DocumentLayout-a659ce2a.js";
3
+ import { C as gr, a as yr } from "./CDropdownItem-cc274799.js";
4
+ import { n as Wt, q as br, aV as Ct } from "./main-b5eb6366.js";
5
+ import { S as wr } from "./CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js";
6
6
  const xr = {
7
7
  AED: "United Arab Emirates Dirham",
8
8
  AFN: "Afghan Afghani",
@@ -241,7 +241,7 @@ var Or = function() {
241
241
  Cr,
242
242
  !1,
243
243
  null,
244
- "0b0912ae",
244
+ "d5b03ea4",
245
245
  null,
246
246
  null
247
247
  );
@@ -298,7 +298,7 @@ var Er = function() {
298
298
  n.onInput && n.onInput(o.target.value);
299
299
  } } }, "select", n.props, !1), e._l(n.props.options, function(o) {
300
300
  return r("option", { key: o.value, domProps: { value: o.value, selected: o.value === n.props.value } }, [e._v(" " + e._s(o.label) + " ")]);
301
- }), 0)]) : n.component === "color" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CDropdown", { staticStyle: { width: "100%" }, attrs: { "menu-styling": { width: "240px" }, position: n.props.position || "is-top-right", paddingless: "", expanded: "" } }, [r("div", { staticStyle: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" }, attrs: { slot: "trigger" }, slot: "trigger" }, [r("div", { staticStyle: { height: "20px", width: "26px", margin: "0px 3px", "border-radius": "3px", "box-shadow": "inset 0 0 2px rgba(0,0,0,0.3)" }, style: { "background-color": n.props.value } }), r("div", { staticStyle: { padding: "0 5px" } }, [e._v(e._s(n.props.value))]), n.props.value && n.props.showReset ? r("div", { staticClass: "plain-button", staticStyle: { position: "absolute", width: "24px", right: "2px", display: "grid", "place-items": "center", top: "2px", bottom: "2px", "border-radius": "4px" }, on: { click: function(o) {
301
+ }), 0)]) : n.component === "color" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CDropdown", { staticStyle: { width: "100%" }, attrs: { "menu-styling": { width: "240px" }, position: n.props.position || "is-top-right", paddingless: "", expanded: "" } }, [r("div", { staticStyle: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" }, attrs: { slot: "trigger" }, slot: "trigger" }, [r("div", { staticStyle: { height: "20px", width: "26px", margin: "0px 3px", "border-radius": "3px", "box-shadow": "inset 0 0 2px rgba(0, 0, 0, 0.3)" }, style: { "background-color": n.props.value } }), r("div", { staticStyle: { padding: "0 5px" } }, [e._v(e._s(n.props.value))]), n.props.value && n.props.showReset ? r("div", { staticClass: "plain-button", staticStyle: { position: "absolute", width: "24px", right: "2px", display: "grid", "place-items": "center", top: "2px", bottom: "2px", "border-radius": "4px" }, on: { click: function(o) {
302
302
  return o.preventDefault(), o.stopPropagation(), n.onInput("");
303
303
  } } }, [r("BaseIcon", { attrs: { type: "reset", size: "14", "stroke-width": "2.5" } })], 1) : e._e()]), r("ColorPicker", e._b({ staticStyle: { "box-shadow": "none" }, on: { input: ({ a: o, hex: l, hex8: c }) => n.onInput && n.onInput(o === 1 ? l : c) } }, "ColorPicker", n.props, !1))], 1)], 1) : n.component === "font" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("FontPickerDropdown", e._b({ staticClass: "font-input-wrapper", on: { input: (o) => n.onInput && n.onInput(o) }, scopedSlots: e._u([{ key: "default", fn: function({ selectedFamily: o }) {
304
304
  return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [e._v(" " + e._s(o) + " ")])]);
@@ -314,7 +314,7 @@ var Er = function() {
314
314
  Pr,
315
315
  !1,
316
316
  null,
317
- "36f65d63",
317
+ "5fff6512",
318
318
  null,
319
319
  null
320
320
  );
@@ -1,4 +1,4 @@
1
- import { l as d, c as m } from "./main-b72127b8.js";
1
+ import { l as d, c as m } from "./main-b5eb6366.js";
2
2
  const s = {
3
3
  youtube: {
4
4
  reg: /^(?:https?:\/\/)?(?:(?:www|m)\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((?:\w|-){11})(?:\S+)?$/,
@@ -1,4 +1,4 @@
1
- import { Y as rn, Z as on, j as Xe, $ as an, a0 as sn, a1 as ln, a2 as un, a3 as fn, a4 as cn, a5 as dn, W as hn } from "./main-b72127b8.js";
1
+ import { Y as rn, Z as on, j as Xe, $ as an, a0 as sn, a1 as ln, a2 as un, a3 as fn, a4 as cn, a5 as dn, W as hn } from "./main-b5eb6366.js";
2
2
  var pn = rn;
3
3
  function gn(o) {
4
4
  return pn(o) ? void 0 : o;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cling-se/widget",
3
- "version": "0.9.22",
3
+ "version": "0.9.24",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",
@@ -65,7 +65,7 @@
65
65
  "dev": "vite",
66
66
  "build": "vite build",
67
67
  "preview": "vite preview --port 4173",
68
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
68
+ "lint": "eslint .",
69
69
  "release": "bumpp --tag '%s'"
70
70
  }
71
71
  }
@@ -1,30 +0,0 @@
1
- import { n as r } from "./main-b72127b8.js";
2
- const s = {
3
- name: "ErrorCallout",
4
- props: {
5
- message: {
6
- type: String,
7
- required: !0
8
- },
9
- size: {
10
- type: String,
11
- default: "normal"
12
- }
13
- }
14
- };
15
- var a = function(t, e) {
16
- return t("div", { staticClass: "flex items-center", class: [e.data.staticClass], staticStyle: { "margin-top": "calc(1 * var(--rem))" }, style: [e.data.staticStyle] }, [t("div", { staticClass: "error-wrapper bg-red-50 text-red-500", class: [`is-${e.props.size}`], staticStyle: { margin: "calc(1 * var(--rem)) 0" } }, [t("BaseIcon", { staticStyle: { "margin-right": "0.5em", flex: "0 0 18px" }, attrs: { type: "alert", size: "18" } }), t("div", [e._v(" " + e._s(e.props.message) + " ")])], 1)]);
17
- }, l = [], n = /* @__PURE__ */ r(
18
- s,
19
- a,
20
- l,
21
- !0,
22
- null,
23
- "7e7d102f",
24
- null,
25
- null
26
- );
27
- const c = n.exports;
28
- export {
29
- c as E
30
- };
@@ -1,28 +0,0 @@
1
- import { m as _ } from "./mapFormMixin-52ec1660.js";
2
- import { n as o } from "./main-b72127b8.js";
3
- const a = {
4
- name: "NotBinding",
5
- components: {
6
- Edit: () => import("./ToggleBinding-cda92aa3.js"),
7
- Read: () => import("./NotBindingText-f72244ab.js")
8
- },
9
- mixins: [_()]
10
- };
11
- var i = function() {
12
- var t;
13
- var n = this, e = n._self._c;
14
- return n.canEdit ? e("Edit", n._g({ attrs: { _document: n._document, _value: { notBinding: "data.notBinding" } } }, n.$listeners)) : (t = n._document.data) != null && t.notBinding ? e("Read") : n._e();
15
- }, r = [], d = /* @__PURE__ */ o(
16
- a,
17
- i,
18
- r,
19
- !1,
20
- null,
21
- "0648ef9a",
22
- null,
23
- null
24
- );
25
- const l = d.exports;
26
- export {
27
- l as default
28
- };