@cling-se/widget 0.9.10 → 0.9.11
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.
- package/README.md +35 -35
- package/dist/{AddClientCallout-98b5d2c9.js → AddClientCallout-bccc787f.js} +5 -5
- package/dist/{AnswerModal-995e7a87.js → AnswerModal-4de1dbc1.js} +7 -7
- package/dist/{AttachmentItem-331b9c1e.js → AttachmentItem-800d8c9f.js} +4 -4
- package/dist/{BaseDatePicker-7f047527.js → BaseDatePicker-1abafbac.js} +43 -43
- package/dist/{BaseInput-c79f0001.js → BaseInput-51ade595.js} +1 -1
- package/dist/{BaseUpload-9402cc1b.js → BaseUpload-b9b2fa68.js} +3 -3
- package/dist/{BlockMedia-80a082ed.js → BlockMedia-efc20618.js} +2 -2
- package/dist/{CCallout-bd314caa.js → CCallout-a357fde2.js} +5 -5
- package/dist/{CDropdownItem-ab42f924.js → CDropdownItem-bb7f1de7.js} +1 -1
- package/dist/{CField-6da7299b.js → CField-d69fcf46.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-c70342a2.js → CSlider.vue_vue_type_style_index_0_lang-5ac8d200.js} +1 -1
- package/dist/{ClientAutocomplete-67fc253c.js → ClientAutocomplete-d126a3bd.js} +6 -6
- package/dist/{ClientModal-1709e8c7.js → ClientModal-e2c196c4.js} +5 -5
- package/dist/{ColorPicker-4880a624.js → ColorPicker-81f9f778.js} +2 -2
- package/dist/{CompanyModal-dbe85884.js → CompanyModal-092999bf.js} +4 -4
- package/dist/{ContentWrapper-a602cc3d.js → ContentWrapper-1f930dce.js} +14 -14
- package/dist/{CoverBlockSettings-f37fe6e1.js → CoverBlockSettings-5aa513a4.js} +20 -20
- package/dist/DocForm-2e9af604.js +7132 -0
- package/dist/{DocFormSend-c9b955b9.js → DocFormSend-fadf14c9.js} +18 -19
- package/dist/{DocModalBase-8c238a59.js → DocModalBase-4172fbbb.js} +4 -4
- package/dist/{DocPrint-2a181ffb.js → DocPrint-edc291ba.js} +5 -5
- package/dist/{DocReceipt-00c0f631.js → DocReceipt-bcb8539c.js} +1 -1
- package/dist/{DocSendReminder-9effd808.js → DocSendReminder-c75a1906.js} +1 -1
- package/dist/{DocTextEditor-0c8a4782.js → DocTextEditor-c9b90281.js} +12 -12
- package/dist/{DocTimeline-be5e8b9d.js → DocTimeline-2afee21c.js} +5 -5
- package/dist/{DocumentClient-13f55b25.js → DocumentClient-425f6e0b.js} +5 -5
- package/dist/{DocumentLayout-2ff55f9f.js → DocumentLayout-0d24ac85.js} +5 -5
- package/dist/{DocumentLogotype-80a2521a.js → DocumentLogotype-278b2823.js} +15 -15
- package/dist/{EmbedInput-8572a42b.js → EmbedInput-28796e66.js} +2 -2
- package/dist/{EmbedSettings-1a60358e.js → EmbedSettings-1e097db9.js} +5 -5
- package/dist/{ErrorCallout-84e8168b.js → ErrorCallout-ddbc30af.js} +2 -2
- package/dist/{FilePreviewModal-cdafbf1c.js → FilePreviewModal-360216a2.js} +5 -5
- package/dist/{HeaderSettings-9f4d182b.js → HeaderSettings-abc9e60f.js} +15 -15
- package/dist/{ImageSelectModal-b97c8185.js → ImageSelectModal-2c078df5.js} +10 -10
- package/dist/{ImageUploadWrapper-ebcdbc9e.js → ImageUploadWrapper-99a3b0dd.js} +3 -3
- package/dist/{Index-4bbfdb2e.js → Index-05d4a173.js} +2 -2
- package/dist/{Index-ba4cfb80.js → Index-0a9e95d6.js} +6 -6
- package/dist/{Index-623bb993.js → Index-168790bc.js} +4 -4
- package/dist/{Index-ddf49640.js → Index-193a4968.js} +6 -6
- package/dist/{Index-7b1fd376.js → Index-23c1de88.js} +2 -2
- package/dist/{Index-9c5f5d6e.js → Index-44764dbb.js} +7 -7
- package/dist/{Index-5428e87c.js → Index-4cae2241.js} +9 -9
- package/dist/{Index-11d16691.js → Index-5688e5e1.js} +25 -25
- package/dist/{Index-8cba5dac.js → Index-610a54bf.js} +39 -39
- package/dist/{Index-6c782bef.js → Index-61786d22.js} +12 -12
- package/dist/{Index-3ccc66e4.js → Index-61b794ca.js} +4 -4
- package/dist/{Index-dd30bbc5.js → Index-6435f551.js} +12 -12
- package/dist/{Index-7f01697f.js → Index-7317f443.js} +7 -7
- package/dist/{Index-ffc7dba1.js → Index-7a56c885.js} +5 -5
- package/dist/{Index-dca28212.js → Index-81eeecba.js} +2 -2
- package/dist/{Index-0bbbe1cf.js → Index-83597574.js} +11 -11
- package/dist/{Index-8ecb9aa4.js → Index-8b02f74f.js} +2 -2
- package/dist/{Index-b233276b.js → Index-8b57e293.js} +2 -2
- package/dist/{Index-039d9c9d.js → Index-901f2f68.js} +6 -6
- package/dist/{Index-0bd4a30c.js → Index-942a36d2.js} +6 -6
- package/dist/{Index-de93e029.js → Index-a0de23fe.js} +7 -7
- package/dist/{Index-c2b2ccd9.js → Index-a8b60741.js} +8 -8
- package/dist/{Index-8053871b.js → Index-a8faf552.js} +4 -4
- package/dist/{Index-8c4fd5b4.js → Index-abb29c87.js} +27 -27
- package/dist/{Index-8755440b.js → Index-ad024dc9.js} +5 -5
- package/dist/{Index-8eff4eae.js → Index-aecbccac.js} +2 -2
- package/dist/{Index-0022bc40.js → Index-c5b9ad7f.js} +4 -4
- package/dist/{Index-341f9388.js → Index-cb10ca9b.js} +8 -8
- package/dist/{Index-f9063054.js → Index-cb1efaaa.js} +7 -7
- package/dist/{Index-2ecefac2.js → Index-d2d40188.js} +4 -4
- package/dist/{Index-95f0dd2f.js → Index-d56d4b7b.js} +19 -19
- package/dist/{Index-0306a974.js → Index-d841c396.js} +12 -12
- package/dist/{Index-451f5485.js → Index-f3af647f.js} +5 -5
- package/dist/{Index-473d0fad.js → Index-f9a97c67.js} +3 -3
- package/dist/{InputToggleRow-533651e6.js → InputToggleRow-3bba2a55.js} +2 -2
- package/dist/IsPremiumPreStep-1657f1ce.js +2443 -0
- package/dist/{MediaWrapper-388589e5.js → MediaWrapper-574eca05.js} +3 -3
- package/dist/{NotBindingText-b833c49b.js → NotBindingText-f2acdb51.js} +2 -2
- package/dist/{PackageGroup-41b2d524.js → PackageGroup-625d7093.js} +17 -17
- package/dist/{PdfTerms-461fcd9e.js → PdfTerms-05e6491e.js} +7 -7
- package/dist/{PdfViewer-099b598c.js → PdfViewer-4d32b0f1.js} +2 -2
- package/dist/{PlainHtml-37aa5b7b.js → PlainHtml-c2e1feca.js} +1 -1
- package/dist/PriceHeader-ce8bb22c.js +337 -0
- package/dist/{SearchApi-25909227.js → SearchApi-b7e03288.js} +2 -2
- package/dist/Setup-e92daff6.js +50 -0
- package/dist/{TermsSettings-c730ac70.js → TermsSettings-de33fad6.js} +10 -10
- package/dist/{ThemeColorRow-31d8285b.js → ThemeColorRow-52efe243.js} +3 -3
- package/dist/{ToggleBinding-1a98360f.js → ToggleBinding-ec8d351f.js} +3 -3
- package/dist/{UploadModal-e0a37c3e.js → UploadModal-463188b1.js} +4 -4
- package/dist/{VideoPlayerInput-4d7f302a.js → VideoPlayerInput-9314dfa5.js} +3 -3
- package/dist/{VideoPlayerSettings-81168a6b.js → VideoPlayerSettings-e7978498.js} +5 -5
- package/dist/{VideoSelectModal-dc429ff0.js → VideoSelectModal-72e1e4e2.js} +26 -26
- package/dist/{answerDocumentMixin-3ff2b25d.js → answerDocumentMixin-d65059b8.js} +3 -3
- package/dist/assets/article-options-10522.png +0 -0
- package/dist/assets/bg-base-11995.png +0 -0
- package/dist/assets/bg-pro-89155.png +0 -0
- package/dist/assets/bg-start-17372.png +0 -0
- package/dist/assets/blank-95062.png +0 -0
- package/dist/assets/block-options-11378.png +0 -0
- package/dist/assets/columnGallery.image-14820.png +0 -0
- package/dist/assets/doc-send-25589.png +0 -0
- package/dist/assets/drag-block-21107.png +0 -0
- package/dist/assets/headerCircularGradient.image-79345.png +0 -0
- package/dist/assets/roiCalculator.image-13673.png +0 -0
- package/dist/assets/text-bubble-21606.png +0 -0
- package/dist/{cssMode-c6b1b286.js → cssMode-88d0146a.js} +19 -15
- package/dist/{focusDrawerMixin-01b547f0.js → focusDrawerMixin-46eade80.js} +1 -1
- package/dist/{formComponentsInstall-9e33cb8f.js → formComponentsInstall-0cfab48e.js} +41 -36
- package/dist/{formValidationMixin-74c239ee.js → formValidationMixin-94fb3562.js} +1 -1
- package/dist/{freemarker2-076519a0.js → freemarker2-fb187d64.js} +23 -19
- package/dist/{handlebars-bb155717.js → handlebars-4a1a8024.js} +15 -11
- package/dist/{html-1cf008d9.js → html-00e90fc7.js} +18 -14
- package/dist/{htmlMode-bf67fa2b.js → htmlMode-cfbebdc7.js} +23 -19
- package/dist/{index-7097f05c.js → index-7a30802a.js} +13 -13
- package/dist/{index-908333a3.js → index-93fd29b3.js} +9 -9
- package/dist/{index-0f09ca1c.js → index-de7702a8.js} +10 -10
- package/dist/index-e9d870d0.js +17 -0
- package/dist/index.es.js +4 -4
- package/dist/index.umd.js +585 -588
- package/dist/{javascript-b98377f9.js → javascript-3213b923.js} +15 -11
- package/dist/{jsonMode-e9595a57.js → jsonMode-afc781d8.js} +23 -19
- package/dist/{liquid-b60636e3.js → liquid-dc5a4df5.js} +18 -14
- package/dist/{main-cf622dd3.js → main-abeba7c1.js} +30552 -30687
- package/dist/{mapFormMixin-490a1765.js → mapFormMixin-e82f943f.js} +1 -1
- package/dist/{publicSenderState-6b369e21.js → publicSenderState-2f11c080.js} +1 -1
- package/dist/{python-4e4d18f5.js → python-4bce1745.js} +15 -11
- package/dist/{razor-63ead89f.js → razor-f57062fd.js} +22 -18
- package/dist/{simplebar.min-3f1edc12.js → simplebar.min-07c0e6b7.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/template-3600893b.js +528 -0
- package/dist/{throttle-2b45d29c.js → throttle-1bf5bb97.js} +2 -2
- package/dist/{tinycolor-9f3cc25c.js → tinycolor-0084a04e.js} +1 -1
- package/dist/{tippy.esm-dec03596.js → tippy.esm-2bcbed04.js} +7 -7
- package/dist/{tsMode-e93504e4.js → tsMode-c0486e4e.js} +19 -15
- package/dist/{typescript-111230d0.js → typescript-50a48698.js} +15 -11
- package/dist/{utils-fb02e603.js → utils-d907da71.js} +1 -1
- package/dist/{vuedraggable.umd-f2d6d3e3.js → vuedraggable.umd-c326d90c.js} +48 -48
- package/dist/{xml-987e33cc.js → xml-0ef7a70a.js} +18 -14
- package/package.json +8 -10
- package/.env +0 -12
- package/dist/DocAnswer-081e8239.js +0 -33
- package/dist/DocForm-c69281fc.js +0 -7062
- package/dist/IsPremiumPreStep-8d46fadc.js +0 -2349
- package/dist/PriceHeader-41c48787.js +0 -337
- package/dist/index-e37214e9.js +0 -14
- package/dist/template-66eba036.js +0 -526
- package/jsconfig.json +0 -11
- package/postcss.config.cjs +0 -6
- package/stats.html +0 -4044
- package/tailwind.config.cjs +0 -26
- package/vite-plugin-library-asset-external/index.js +0 -134
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as rn, _ as on, f as We, U as an, W as sn, X as ln, Y as un, Z as fn, $ as cn, a0 as dn,
|
|
1
|
+
import { T as rn, _ as on, f as We, U as an, W as sn, X as ln, Y as un, Z as fn, $ as cn, a0 as dn, J as hn } from "./main-abeba7c1.js";
|
|
2
2
|
var pn = rn;
|
|
3
3
|
function gn(o) {
|
|
4
4
|
return pn(o) ? void 0 : o;
|
|
@@ -291,7 +291,7 @@ function he(o, n) {
|
|
|
291
291
|
return Math.round(o.top) === Math.round(n.top) && Math.round(o.left) === Math.round(n.left) && Math.round(o.height) === Math.round(n.height) && Math.round(o.width) === Math.round(n.width);
|
|
292
292
|
}
|
|
293
293
|
var Wt;
|
|
294
|
-
function
|
|
294
|
+
function Je(o, n) {
|
|
295
295
|
return function() {
|
|
296
296
|
if (!Wt) {
|
|
297
297
|
var r = arguments, t = this;
|
|
@@ -304,7 +304,7 @@ function Ze(o, n) {
|
|
|
304
304
|
function Xn() {
|
|
305
305
|
clearTimeout(Wt), Wt = void 0;
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Ze(o, n, r) {
|
|
308
308
|
o.scrollLeft += n, o.scrollTop += r;
|
|
309
309
|
}
|
|
310
310
|
function Pe(o) {
|
|
@@ -384,7 +384,7 @@ function Vn(o, n, r, t) {
|
|
|
384
384
|
}
|
|
385
385
|
var Rt = [], ge = {
|
|
386
386
|
initializeByDefault: !0
|
|
387
|
-
},
|
|
387
|
+
}, Jt = {
|
|
388
388
|
mount: function(n) {
|
|
389
389
|
for (var r in ge)
|
|
390
390
|
ge.hasOwnProperty(r) && !(r in n) && (n[r] = ge[r]);
|
|
@@ -439,7 +439,7 @@ function Bt(o) {
|
|
|
439
439
|
bubbles: !0,
|
|
440
440
|
cancelable: !0
|
|
441
441
|
}) : (p = document.createEvent("Event"), p.initEvent(t, !0, !0)), p.to = i || r, p.from = s || r, p.item = a || r, p.clone = e, p.oldIndex = l, p.newIndex = u, p.oldDraggableIndex = f, p.newDraggableIndex = c, p.originalEvent = d, p.pullMode = b ? b.lastPutMode : void 0;
|
|
442
|
-
var C = Ct({}, g,
|
|
442
|
+
var C = Ct({}, g, Jt.getEventProperties(t, n));
|
|
443
443
|
for (var D in C)
|
|
444
444
|
p[D] = C[D];
|
|
445
445
|
r && r.dispatchEvent(p), y[T] && y[T].call(n, p);
|
|
@@ -447,14 +447,14 @@ function Bt(o) {
|
|
|
447
447
|
}
|
|
448
448
|
var ut = function(n, r) {
|
|
449
449
|
var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = t.evt, e = Nn(t, ["evt"]);
|
|
450
|
-
|
|
450
|
+
Jt.pluginEvent.bind(w)(n, r, Ct({
|
|
451
451
|
dragEl: x,
|
|
452
452
|
parentEl: et,
|
|
453
453
|
ghostEl: N,
|
|
454
454
|
rootEl: z,
|
|
455
455
|
nextEl: At,
|
|
456
456
|
lastDownEl: ne,
|
|
457
|
-
cloneEl:
|
|
457
|
+
cloneEl: Z,
|
|
458
458
|
cloneHidden: Dt,
|
|
459
459
|
dragStarted: Ht,
|
|
460
460
|
putSortable: ot,
|
|
@@ -484,7 +484,7 @@ var ut = function(n, r) {
|
|
|
484
484
|
function lt(o) {
|
|
485
485
|
Bt(Ct({
|
|
486
486
|
putSortable: ot,
|
|
487
|
-
cloneEl:
|
|
487
|
+
cloneEl: Z,
|
|
488
488
|
targetEl: x,
|
|
489
489
|
rootEl: z,
|
|
490
490
|
oldIndex: Lt,
|
|
@@ -493,7 +493,7 @@ function lt(o) {
|
|
|
493
493
|
newDraggableIndex: Ot
|
|
494
494
|
}, o));
|
|
495
495
|
}
|
|
496
|
-
var x, et, N, z, At, ne,
|
|
496
|
+
var x, et, N, z, At, ne, Z, Dt, Lt, ht, Yt, Ot, Qt, ot, jt = !1, le = !1, ue = [], wt, vt, ve, me, Ge, Be, Ht, Mt, Vt, zt = !1, kt = !1, re, at, be = [], Te = !1, fe = [], de = typeof document < "u", qt = Ve, He = Kt || Et ? "cssFloat" : "float", zn = de && !Gn && !Ve && "draggable" in document.createElement("div"), Qe = function() {
|
|
497
497
|
if (de) {
|
|
498
498
|
if (Et)
|
|
499
499
|
return !1;
|
|
@@ -514,7 +514,7 @@ var x, et, N, z, At, ne, J, Dt, Lt, ht, Yt, Ot, Qt, ot, jt = !1, le = !1, ue = [
|
|
|
514
514
|
}, Kn = function(n, r, t) {
|
|
515
515
|
var a = t ? n.left : n.top, e = t ? n.right : n.bottom, i = t ? n.width : n.height, s = t ? r.left : r.top, l = t ? r.right : r.bottom, u = t ? r.width : r.height;
|
|
516
516
|
return a === s || e === l || a + i / 2 === s + u / 2;
|
|
517
|
-
},
|
|
517
|
+
}, Jn = function(n, r) {
|
|
518
518
|
var t;
|
|
519
519
|
return ue.some(function(a) {
|
|
520
520
|
if (!Ae(a)) {
|
|
@@ -555,7 +555,7 @@ de && document.addEventListener("click", function(o) {
|
|
|
555
555
|
var It = function(n) {
|
|
556
556
|
if (x) {
|
|
557
557
|
n = n.touches ? n.touches[0] : n;
|
|
558
|
-
var r =
|
|
558
|
+
var r = Jn(n.clientX, n.clientY);
|
|
559
559
|
if (r) {
|
|
560
560
|
var t = {};
|
|
561
561
|
for (var a in n)
|
|
@@ -563,7 +563,7 @@ var It = function(n) {
|
|
|
563
563
|
t.target = t.rootEl = r, t.preventDefault = void 0, t.stopPropagation = void 0, r[st]._onDragOver(t);
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
},
|
|
566
|
+
}, Zn = function(n) {
|
|
567
567
|
x && x.parentNode[st]._isOutsideThisEl(n.target);
|
|
568
568
|
};
|
|
569
569
|
function w(o, n) {
|
|
@@ -615,7 +615,7 @@ function w(o, n) {
|
|
|
615
615
|
supportPointer: w.supportPointer !== !1 && "PointerEvent" in window,
|
|
616
616
|
emptyInsertThreshold: 5
|
|
617
617
|
};
|
|
618
|
-
|
|
618
|
+
Jt.initializePlugins(this, o, r);
|
|
619
619
|
for (var t in r)
|
|
620
620
|
!(t in n) && (n[t] = r[t]);
|
|
621
621
|
qe(n);
|
|
@@ -728,7 +728,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
728
728
|
if (jt = !1, z && x) {
|
|
729
729
|
ut("dragStarted", this, {
|
|
730
730
|
evt: r
|
|
731
|
-
}), this.nativeDraggable && $(document, "dragover",
|
|
731
|
+
}), this.nativeDraggable && $(document, "dragover", Zn);
|
|
732
732
|
var t = this.options;
|
|
733
733
|
!n && K(x, t.dragClass, !1), K(x, t.ghostClass, !0), w.active = this, n && this._appendGhost(), lt({
|
|
734
734
|
sortable: this,
|
|
@@ -802,8 +802,8 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
802
802
|
this._onDrop();
|
|
803
803
|
return;
|
|
804
804
|
}
|
|
805
|
-
ut("setupClone", this), w.eventCanceled || (
|
|
806
|
-
ut("clone", t), !w.eventCanceled && (t.options.removeCloneOnHide || z.insertBefore(
|
|
805
|
+
ut("setupClone", this), w.eventCanceled || (Z = Pe(x), Z.draggable = !1, Z.style["will-change"] = "", this._hideClone(), K(Z, this.options.chosenClass, !1), w.clone = Z), t.cloneId = oe(function() {
|
|
806
|
+
ut("clone", t), !w.eventCanceled && (t.options.removeCloneOnHide || z.insertBefore(Z, x), t._hideClone(), lt({
|
|
807
807
|
sortable: t,
|
|
808
808
|
name: "clone"
|
|
809
809
|
}));
|
|
@@ -871,21 +871,21 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
871
871
|
e = k(t);
|
|
872
872
|
var F = 0, B, H = x.parentNode !== r, A = !Kn(x.animated && x.toRect || a, t.animated && t.toRect || e, b), M = b ? "top" : "left", I = Re(t, "top", "top") || Re(x, "top", "top"), G = I ? I.scrollTop : void 0;
|
|
873
873
|
Mt !== t && (B = e[M], zt = !1, kt = !A && s.invertSwap || H), F = _n(n, t, e, b, A ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, kt, Mt === t);
|
|
874
|
-
var
|
|
874
|
+
var J;
|
|
875
875
|
if (F !== 0) {
|
|
876
876
|
var tt = Q(x);
|
|
877
877
|
do
|
|
878
|
-
tt -= F,
|
|
879
|
-
while (
|
|
878
|
+
tt -= F, J = et.children[tt];
|
|
879
|
+
while (J && (S(J, "display") === "none" || J === N));
|
|
880
880
|
}
|
|
881
|
-
if (F === 0 ||
|
|
881
|
+
if (F === 0 || J === t)
|
|
882
882
|
return C(!1);
|
|
883
883
|
Mt = t, Vt = F;
|
|
884
884
|
var q = t.nextElementSibling, W = !1;
|
|
885
885
|
W = F === 1;
|
|
886
886
|
var U = ye(z, r, x, a, t, e, n, W);
|
|
887
887
|
if (U !== !1)
|
|
888
|
-
return (U === 1 || U === -1) && (W = U === 1), Te = !0, setTimeout(kn, 30), T(), W && !q ? r.appendChild(x) : t.parentNode.insertBefore(x, W ? q : t), I &&
|
|
888
|
+
return (U === 1 || U === -1) && (W = U === 1), Te = !0, setTimeout(kn, 30), T(), W && !q ? r.appendChild(x) : t.parentNode.insertBefore(x, W ? q : t), I && Ze(I, 0, G - I.scrollTop), et = x.parentNode, B !== void 0 && !kt && (re = Math.abs(B - k(t)[M])), D(), C(!0);
|
|
889
889
|
}
|
|
890
890
|
if (r.contains(x))
|
|
891
891
|
return C(!1);
|
|
@@ -908,7 +908,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
908
908
|
this._nulling();
|
|
909
909
|
return;
|
|
910
910
|
}
|
|
911
|
-
jt = !1, kt = !1, zt = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ce(this.cloneId), Ce(this._dragStartId), this.nativeDraggable && (R(document, "drop", this), R(r, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), De && S(document.body, "user-select", ""), S(x, "transform", ""), n && (Ht && (n.cancelable && n.preventDefault(), !t.dropBubble && n.stopPropagation()), N && N.parentNode && N.parentNode.removeChild(N), (z === et || ot && ot.lastPutMode !== "clone") &&
|
|
911
|
+
jt = !1, kt = !1, zt = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ce(this.cloneId), Ce(this._dragStartId), this.nativeDraggable && (R(document, "drop", this), R(r, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), De && S(document.body, "user-select", ""), S(x, "transform", ""), n && (Ht && (n.cancelable && n.preventDefault(), !t.dropBubble && n.stopPropagation()), N && N.parentNode && N.parentNode.removeChild(N), (z === et || ot && ot.lastPutMode !== "clone") && Z && Z.parentNode && Z.parentNode.removeChild(Z), x && (this.nativeDraggable && R(x, "dragend", this), xe(x), x.style["will-change"] = "", Ht && !jt && K(x, ot ? ot.options.ghostClass : this.options.ghostClass, !1), K(x, this.options.chosenClass, !1), lt({
|
|
912
912
|
sortable: this,
|
|
913
913
|
name: "unchoose",
|
|
914
914
|
toEl: et,
|
|
@@ -955,7 +955,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
955
955
|
}), this.save()))), this._nulling();
|
|
956
956
|
},
|
|
957
957
|
_nulling: function() {
|
|
958
|
-
ut("nulling", this), z = x = et = N = At =
|
|
958
|
+
ut("nulling", this), z = x = et = N = At = Z = ne = Dt = wt = vt = Ht = ht = Ot = Lt = Yt = Mt = Vt = ot = Qt = w.dragged = w.ghost = w.clone = w.active = null, fe.forEach(function(n) {
|
|
959
959
|
n.checked = !0;
|
|
960
960
|
}), fe.length = ve = me = 0;
|
|
961
961
|
},
|
|
@@ -1022,7 +1022,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
1022
1022
|
var t = this.options;
|
|
1023
1023
|
if (r === void 0)
|
|
1024
1024
|
return t[n];
|
|
1025
|
-
var a =
|
|
1025
|
+
var a = Jt.modifyOption(this, n, r);
|
|
1026
1026
|
typeof a < "u" ? t[n] = a : t[n] = r, n === "group" && qe(t);
|
|
1027
1027
|
},
|
|
1028
1028
|
/**
|
|
@@ -1039,7 +1039,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
1039
1039
|
if (!Dt) {
|
|
1040
1040
|
if (ut("hideClone", this), w.eventCanceled)
|
|
1041
1041
|
return;
|
|
1042
|
-
S(
|
|
1042
|
+
S(Z, "display", "none"), this.options.removeCloneOnHide && Z.parentNode && Z.parentNode.removeChild(Z), Dt = !0;
|
|
1043
1043
|
}
|
|
1044
1044
|
},
|
|
1045
1045
|
_showClone: function(n) {
|
|
@@ -1050,7 +1050,7 @@ w.prototype = /** @lends Sortable.prototype */
|
|
|
1050
1050
|
if (Dt) {
|
|
1051
1051
|
if (ut("showClone", this), w.eventCanceled)
|
|
1052
1052
|
return;
|
|
1053
|
-
z.contains(x) && !this.options.group.revertClone ? z.insertBefore(
|
|
1053
|
+
z.contains(x) && !this.options.group.revertClone ? z.insertBefore(Z, x) : At ? z.insertBefore(Z, At) : z.appendChild(Z), this.options.group.revertClone && this.animate(x, Z), S(Z, "display", ""), Dt = !1;
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
1056
|
};
|
|
@@ -1120,7 +1120,7 @@ w.utils = {
|
|
|
1120
1120
|
return !!bt(n, r, n, !1);
|
|
1121
1121
|
},
|
|
1122
1122
|
extend: Un,
|
|
1123
|
-
throttle:
|
|
1123
|
+
throttle: Je,
|
|
1124
1124
|
closest: bt,
|
|
1125
1125
|
toggleClass: K,
|
|
1126
1126
|
clone: Pe,
|
|
@@ -1139,7 +1139,7 @@ w.mount = function() {
|
|
|
1139
1139
|
n[0].constructor === Array && (n = n[0]), n.forEach(function(t) {
|
|
1140
1140
|
if (!t.prototype || !t.prototype.constructor)
|
|
1141
1141
|
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));
|
|
1142
|
-
t.utils && (w.utils = Ct({}, w.utils, t.utils)),
|
|
1142
|
+
t.utils && (w.utils = Ct({}, w.utils, t.utils)), Jt.mount(t);
|
|
1143
1143
|
});
|
|
1144
1144
|
};
|
|
1145
1145
|
w.create = function(o, n) {
|
|
@@ -1206,7 +1206,7 @@ function ie() {
|
|
|
1206
1206
|
function Ue() {
|
|
1207
1207
|
clearInterval(Xt);
|
|
1208
1208
|
}
|
|
1209
|
-
var Oe =
|
|
1209
|
+
var Oe = Je(function(o, n, r, t) {
|
|
1210
1210
|
if (n.scroll) {
|
|
1211
1211
|
var a = (o.touches ? o.touches[0] : o).clientX, e = (o.touches ? o.touches[0] : o).clientY, i = n.scrollSensitivity, s = n.scrollSpeed, l = xt(), u = !1, f;
|
|
1212
1212
|
we !== r && (we = r, ie(), Ut = n.scroll, f = n.scrollFn, Ut === !0 && (Ut = Tt(r, !0)));
|
|
@@ -1214,14 +1214,14 @@ var Oe = Ze(function(o, n, r, t) {
|
|
|
1214
1214
|
do {
|
|
1215
1215
|
var b = d, g = k(b), p = g.top, y = g.bottom, T = g.left, C = g.right, D = g.width, O = g.height, F = void 0, B = void 0, H = b.scrollWidth, A = b.scrollHeight, M = S(b), I = b.scrollLeft, G = b.scrollTop;
|
|
1216
1216
|
b === l ? (F = D < H && (M.overflowX === "auto" || M.overflowX === "scroll" || M.overflowX === "visible"), B = O < A && (M.overflowY === "auto" || M.overflowY === "scroll" || M.overflowY === "visible")) : (F = D < H && (M.overflowX === "auto" || M.overflowX === "scroll"), B = O < A && (M.overflowY === "auto" || M.overflowY === "scroll"));
|
|
1217
|
-
var
|
|
1217
|
+
var J = F && (Math.abs(C - a) <= i && I + D < H) - (Math.abs(T - a) <= i && !!I), tt = B && (Math.abs(y - e) <= i && G + O < A) - (Math.abs(p - e) <= i && !!G);
|
|
1218
1218
|
if (!nt[c])
|
|
1219
1219
|
for (var q = 0; q <= c; q++)
|
|
1220
1220
|
nt[q] || (nt[q] = {});
|
|
1221
|
-
(nt[c].vx !=
|
|
1221
|
+
(nt[c].vx != J || nt[c].vy != tt || nt[c].el !== b) && (nt[c].el = b, nt[c].vx = J, nt[c].vy = tt, clearInterval(nt[c].pid), (J != 0 || tt != 0) && (u = !0, nt[c].pid = setInterval(function() {
|
|
1222
1222
|
t && this.layer === 0 && w.active._onTouchMove(ce);
|
|
1223
1223
|
var W = nt[this.layer].vy ? nt[this.layer].vy * s : 0, U = nt[this.layer].vx ? nt[this.layer].vx * s : 0;
|
|
1224
|
-
typeof f == "function" && f.call(w.dragged.parentNode[st], U, W, o, ce, nt[this.layer].el) !== "continue" ||
|
|
1224
|
+
typeof f == "function" && f.call(w.dragged.parentNode[st], U, W, o, ce, nt[this.layer].el) !== "continue" || Ze(nt[this.layer].el, U, W);
|
|
1225
1225
|
}.bind({
|
|
1226
1226
|
layer: c
|
|
1227
1227
|
}), 24))), c++;
|
|
@@ -1686,10 +1686,10 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1686
1686
|
return function() {
|
|
1687
1687
|
return new B(this, v);
|
|
1688
1688
|
};
|
|
1689
|
-
},
|
|
1690
|
-
if (it && (h = b(it.call(new O())), h !== Object.prototype && h.next && (d(h,
|
|
1689
|
+
}, J = F + " Iterator", tt = A == C, q = !1, W = O.prototype, U = W[g] || W[y] || A && W[A], V = U || G(A), ft = A ? tt ? G("entries") : V : void 0, it = F == "Array" && W.entries || U, rt, m, h;
|
|
1690
|
+
if (it && (h = b(it.call(new O())), h !== Object.prototype && h.next && (d(h, J, !0), !i && typeof h[g] != "function" && u(h, g, D))), tt && U && U.name !== C && (q = !0, V = function() {
|
|
1691
1691
|
return U.call(this);
|
|
1692
|
-
}), (!i || I) && (p || q || !W[g]) && u(W, g, V), f[F] = V, f[
|
|
1692
|
+
}), (!i || I) && (p || q || !W[g]) && u(W, g, V), f[F] = V, f[J] = D, A)
|
|
1693
1693
|
if (rt = {
|
|
1694
1694
|
values: tt ? V : G(C),
|
|
1695
1695
|
keys: M ? V : G(T),
|
|
@@ -1798,8 +1798,8 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1798
1798
|
u,
|
|
1799
1799
|
C,
|
|
1800
1800
|
""[p],
|
|
1801
|
-
function(I, G,
|
|
1802
|
-
return G.exec === c ? D && !q ? { done: !0, value: F.call(G,
|
|
1801
|
+
function(I, G, J, tt, q) {
|
|
1802
|
+
return G.exec === c ? D && !q ? { done: !0, value: F.call(G, J, tt) } : { done: !0, value: I.call(J, G, tt) } : { done: !1 };
|
|
1803
1803
|
}
|
|
1804
1804
|
), H = B[0], A = B[1];
|
|
1805
1805
|
i(String.prototype, p, H), s(
|
|
@@ -2348,8 +2348,8 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2348
2348
|
var M = F(O, H, this, A);
|
|
2349
2349
|
if (M.done)
|
|
2350
2350
|
return M.value;
|
|
2351
|
-
var I = i(H), G = String(this),
|
|
2352
|
-
|
|
2351
|
+
var I = i(H), G = String(this), J = typeof A == "function";
|
|
2352
|
+
J || (A = String(A));
|
|
2353
2353
|
var tt = I.global;
|
|
2354
2354
|
if (tt) {
|
|
2355
2355
|
var q = I.unicode;
|
|
@@ -2367,7 +2367,7 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2367
2367
|
for (var m = String(U[0]), h = d(b(u(U.index), G.length), 0), v = [], E = 1; E < U.length; E++)
|
|
2368
2368
|
v.push(T(U[E]));
|
|
2369
2369
|
var j = U.groups;
|
|
2370
|
-
if (
|
|
2370
|
+
if (J) {
|
|
2371
2371
|
var L = [m].concat(v, h, G);
|
|
2372
2372
|
j !== void 0 && L.push(j);
|
|
2373
2373
|
var X = String(A.apply(void 0, L));
|
|
@@ -2378,9 +2378,9 @@ const lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2378
2378
|
return ft + G.slice(it);
|
|
2379
2379
|
}
|
|
2380
2380
|
];
|
|
2381
|
-
function B(H, A, M, I, G,
|
|
2381
|
+
function B(H, A, M, I, G, J) {
|
|
2382
2382
|
var tt = M + H.length, q = I.length, W = y;
|
|
2383
|
-
return G !== void 0 && (G = s(G), W = p), O.call(
|
|
2383
|
+
return G !== void 0 && (G = s(G), W = p), O.call(J, W, function(U, V) {
|
|
2384
2384
|
var ft;
|
|
2385
2385
|
switch (V.charAt(0)) {
|
|
2386
2386
|
case "$":
|
|
@@ -2855,7 +2855,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2855
2855
|
function G(m, h, v) {
|
|
2856
2856
|
return m[v] || (h[v] ? h[v]() : void 0);
|
|
2857
2857
|
}
|
|
2858
|
-
function
|
|
2858
|
+
function J(m, h, v) {
|
|
2859
2859
|
var E = 0, j = 0, L = G(h, v, "header");
|
|
2860
2860
|
L && (E = L.length, m = m ? [].concat(y(L), y(m)) : y(L));
|
|
2861
2861
|
var X = G(h, v, "footer");
|
|
@@ -2866,12 +2866,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2866
2866
|
};
|
|
2867
2867
|
}
|
|
2868
2868
|
function tt(m, h) {
|
|
2869
|
-
var v = null, E = function(
|
|
2870
|
-
v = O(v,
|
|
2869
|
+
var v = null, E = function(Zt, nn) {
|
|
2870
|
+
v = O(v, Zt, nn);
|
|
2871
2871
|
}, j = Object.keys(m).filter(function(yt) {
|
|
2872
2872
|
return yt === "id" || yt.startsWith("data-");
|
|
2873
|
-
}).reduce(function(yt,
|
|
2874
|
-
return yt[
|
|
2873
|
+
}).reduce(function(yt, Zt) {
|
|
2874
|
+
return yt[Zt] = m[Zt], yt;
|
|
2875
2875
|
}, {});
|
|
2876
2876
|
if (E("attrs", j), !h)
|
|
2877
2877
|
return v;
|
|
@@ -2932,7 +2932,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2932
2932
|
render: function(h) {
|
|
2933
2933
|
var v = this.$slots.default;
|
|
2934
2934
|
this.transitionMode = I(v);
|
|
2935
|
-
var E =
|
|
2935
|
+
var E = J(v, this.$slots, this.$scopedSlots), j = E.children, L = E.headerOffset, X = E.footerOffset;
|
|
2936
2936
|
this.headerOffset = L, this.footerOffset = X;
|
|
2937
2937
|
var _ = tt(this.$attrs, this.componentData);
|
|
2938
2938
|
return h(this.getTag(), _, j);
|
|
@@ -1,25 +1,29 @@
|
|
|
1
|
-
import { m as r } from "./Index-
|
|
2
|
-
import "./mapFormMixin-
|
|
3
|
-
import "./main-
|
|
4
|
-
import "./throttle-
|
|
5
|
-
import "./CDropdownItem-
|
|
1
|
+
import { m as r } from "./Index-abb29c87.js";
|
|
2
|
+
import "./mapFormMixin-e82f943f.js";
|
|
3
|
+
import "./main-abeba7c1.js";
|
|
4
|
+
import "./throttle-1bf5bb97.js";
|
|
5
|
+
import "./CDropdownItem-bb7f1de7.js";
|
|
6
6
|
import "./splitpanes-ba7897bf.js";
|
|
7
|
-
import "./DocumentLayout-
|
|
8
|
-
import "./template-
|
|
7
|
+
import "./DocumentLayout-0d24ac85.js";
|
|
8
|
+
import "./template-3600893b.js";
|
|
9
|
+
import "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/headerCircularGradient.image-79345.png";
|
|
10
|
+
import "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/columnGallery.image-14820.png";
|
|
11
|
+
import "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/roiCalculator.image-13673.png";
|
|
12
|
+
import "/Users/rang.ali/Projects/cling-vue/widget/dist/assets/blank-95062.png";
|
|
9
13
|
/*!-----------------------------------------------------------------------------
|
|
10
14
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
11
15
|
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
|
|
12
16
|
* Released under the MIT license
|
|
13
17
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
14
18
|
*-----------------------------------------------------------------------------*/
|
|
15
|
-
var m = Object.defineProperty,
|
|
19
|
+
var m = Object.defineProperty, p = Object.getOwnPropertyDescriptor, c = Object.getOwnPropertyNames, l = Object.prototype.hasOwnProperty, s = (n, e, i, a) => {
|
|
16
20
|
if (e && typeof e == "object" || typeof e == "function")
|
|
17
|
-
for (let t of
|
|
18
|
-
!l.call(n, t) && (i || t !== "default") && m(n, t, { get: () => e[t], enumerable: !(a =
|
|
21
|
+
for (let t of c(e))
|
|
22
|
+
!l.call(n, t) && (i || t !== "default") && m(n, t, { get: () => e[t], enumerable: !(a = p(e, t)) || a.enumerable });
|
|
19
23
|
return n;
|
|
20
24
|
}, o = {};
|
|
21
25
|
s(o, r);
|
|
22
|
-
var
|
|
26
|
+
var P = {
|
|
23
27
|
comments: {
|
|
24
28
|
blockComment: ["<!--", "-->"]
|
|
25
29
|
},
|
|
@@ -47,7 +51,7 @@ var b = {
|
|
|
47
51
|
action: { indentAction: o.languages.IndentAction.Indent }
|
|
48
52
|
}
|
|
49
53
|
]
|
|
50
|
-
},
|
|
54
|
+
}, q = {
|
|
51
55
|
defaultToken: "",
|
|
52
56
|
tokenPostfix: ".xml",
|
|
53
57
|
ignoreCase: !0,
|
|
@@ -97,6 +101,6 @@ var b = {
|
|
|
97
101
|
}
|
|
98
102
|
};
|
|
99
103
|
export {
|
|
100
|
-
|
|
101
|
-
|
|
104
|
+
P as conf,
|
|
105
|
+
q as language
|
|
102
106
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cling-se/widget",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.11",
|
|
4
4
|
"type": "module",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "vite",
|
|
7
|
+
"build": "vite build",
|
|
8
|
+
"preview": "vite preview --port 4173",
|
|
9
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
|
|
10
|
+
},
|
|
5
11
|
"main": "./dist/index.umd.js",
|
|
6
12
|
"module": "./dist/index.es.js",
|
|
7
13
|
"exports": {
|
|
@@ -51,7 +57,6 @@
|
|
|
51
57
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
52
58
|
"astring": "^1.8.6",
|
|
53
59
|
"autoprefixer": "^10.4.12",
|
|
54
|
-
"bumpp": "^8.2.1",
|
|
55
60
|
"eslint": "^8.5.0",
|
|
56
61
|
"eslint-plugin-vue": "^9.0.0",
|
|
57
62
|
"path": "^0.12.7",
|
|
@@ -61,12 +66,5 @@
|
|
|
61
66
|
"tailwindcss": "^3.2.1",
|
|
62
67
|
"terser": "^5.14.2",
|
|
63
68
|
"vite": "^4.3.8"
|
|
64
|
-
},
|
|
65
|
-
"scripts": {
|
|
66
|
-
"dev": "vite",
|
|
67
|
-
"build": "vite build",
|
|
68
|
-
"preview": "vite preview --port 4173",
|
|
69
|
-
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
|
|
70
|
-
"release": "bumpp --tag '%s'"
|
|
71
69
|
}
|
|
72
|
-
}
|
|
70
|
+
}
|
package/.env
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
VITE_APP_ROOT_STYLE_ID=CLING_WIDGET_STYLE
|
|
2
|
-
VITE_APP_WEB_BASEURL=https://app.cling.se
|
|
3
|
-
VITE_APP_CLINGAPI_BASEURL=https://api.cling.se
|
|
4
|
-
VITE_APP_ROLLBAR_CLIENT_TOKEN=cf75726b70174d4097505ae18d5f9600
|
|
5
|
-
VITE_APP_ROLLBAR_ENV=production
|
|
6
|
-
VITE_APP_STRIPE_PUBLISHABLE_KEY=pk_live_srt9FB7WkzNiQGIP46ISVpag00bGlEZBT8
|
|
7
|
-
|
|
8
|
-
# WIDGET DEV OVERRIDES
|
|
9
|
-
VITE_APP_WEB_BASEURL_DEV=https://app.dev.cling.se
|
|
10
|
-
VITE_APP_CLINGAPI_BASEURL_DEV=https://api.dev.cling.se
|
|
11
|
-
VITE_APP_ROLLBAR_CLIENT_TOKEN_DEV=cf75726b70174d4097505ae18d5f9600
|
|
12
|
-
VITE_APP_ROLLBAR_ENV_DEV=staging
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import o from "./AnswerModal-995e7a87.js";
|
|
2
|
-
import { r as e, u as t, n as s } from "./main-cf622dd3.js";
|
|
3
|
-
import "./anime.es-e284c852.js";
|
|
4
|
-
import "./vuex.esm-4a0fff7c.js";
|
|
5
|
-
import "./mapFormMixin-490a1765.js";
|
|
6
|
-
import "./CField-6da7299b.js";
|
|
7
|
-
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
8
|
-
const a = {
|
|
9
|
-
components: {
|
|
10
|
-
AnswerModal: o
|
|
11
|
-
},
|
|
12
|
-
mixins: [e(["answerType", "document", "closeFunc"])],
|
|
13
|
-
data() {
|
|
14
|
-
return { ui: t };
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
var m = function() {
|
|
18
|
-
var n = this, r = n._self._c;
|
|
19
|
-
return r("AnswerModal", { attrs: { mode: n.answerType, _document: n.document }, on: { close: n.closeFunc } });
|
|
20
|
-
}, c = [], i = /* @__PURE__ */ s(
|
|
21
|
-
a,
|
|
22
|
-
m,
|
|
23
|
-
c,
|
|
24
|
-
!1,
|
|
25
|
-
null,
|
|
26
|
-
null,
|
|
27
|
-
null,
|
|
28
|
-
null
|
|
29
|
-
);
|
|
30
|
-
const x = i.exports;
|
|
31
|
-
export {
|
|
32
|
-
x as default
|
|
33
|
-
};
|