@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,5 +1,5 @@
1
- import { X as d, O as l, c } from "./main-8d566a02.js";
2
- import { g as o } from "./image-58c45661.js";
1
+ import { X as d, O as l, c } from "./main-4f27b552.js";
2
+ import { g as o } from "./image-cd324ded.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-8d566a02.js";
2
- import { a as o } from "./debounce-0451fa9d.js";
1
+ import { j as n, k as l } from "./main-4f27b552.js";
2
+ import { a as o } from "./debounce-9410d5d6.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-8d566a02.js";
1
+ import { j as he } from "./main-4f27b552.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-b5a7f700.js";
2
- import { F as hr } from "./DocumentLayout-00ec1c6f.js";
3
- import { C as gr, a as yr } from "./CDropdownItem-e0cecd02.js";
4
- import { n as Wt, q as br, aV as Ct } from "./main-8d566a02.js";
5
- import { S as wr } from "./CSlider.vue_vue_type_style_index_0_lang-d964f857.js";
1
+ import { C as mr } from "./ColorPicker-94e3b1d4.js";
2
+ import { F as hr } from "./DocumentLayout-81ae175c.js";
3
+ import { C as gr, a as yr } from "./CDropdownItem-109be2e2.js";
4
+ import { n as Wt, q as br, aV as Ct } from "./main-4f27b552.js";
5
+ import { S as wr } from "./CSlider.vue_vue_type_style_index_0_lang-49fcd521.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-8d566a02.js";
1
+ import { l as d, c as m } from "./main-4f27b552.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-8d566a02.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-4f27b552.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.23",
3
+ "version": "0.9.25",
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-8d566a02.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-4446a1bd.js";
2
- import { n as o } from "./main-8d566a02.js";
3
- const a = {
4
- name: "NotBinding",
5
- components: {
6
- Edit: () => import("./ToggleBinding-7c726915.js"),
7
- Read: () => import("./NotBindingText-38e6e74c.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
- };