@cling-se/widget 0.9.8 → 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/dist/{AddClientCallout-a45ee0f3.js → AddClientCallout-bccc787f.js} +5 -5
- package/dist/{AnswerModal-de2d4e05.js → AnswerModal-4de1dbc1.js} +3 -3
- package/dist/{AttachmentItem-3d18f509.js → AttachmentItem-800d8c9f.js} +3 -3
- package/dist/{BaseDatePicker-dea04782.js → BaseDatePicker-1abafbac.js} +43 -43
- package/dist/{BaseInput-d1686e72.js → BaseInput-51ade595.js} +1 -1
- package/dist/{BaseUpload-02c9e78f.js → BaseUpload-b9b2fa68.js} +2 -2
- package/dist/{BlockMedia-620716a2.js → BlockMedia-efc20618.js} +1 -1
- package/dist/{CCallout-2842d99e.js → CCallout-a357fde2.js} +3 -3
- package/dist/{CDropdownItem-c2f36de9.js → CDropdownItem-bb7f1de7.js} +5 -5
- package/dist/{CField-c089365f.js → CField-d69fcf46.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-3de2be04.js → CSlider.vue_vue_type_style_index_0_lang-5ac8d200.js} +1 -1
- package/dist/{ClientAutocomplete-1288f9a7.js → ClientAutocomplete-d126a3bd.js} +2 -2
- package/dist/{ClientModal-0863a0a5.js → ClientModal-e2c196c4.js} +4 -4
- package/dist/{ColorPicker-e0178aa9.js → ColorPicker-81f9f778.js} +1 -1
- package/dist/{CompanyModal-902787de.js → CompanyModal-092999bf.js} +3 -3
- package/dist/{ContentWrapper-b7748534.js → ContentWrapper-1f930dce.js} +11 -11
- package/dist/{CoverBlockSettings-e108e279.js → CoverBlockSettings-5aa513a4.js} +8 -8
- package/dist/DocForm-2e9af604.js +7132 -0
- package/dist/{DocFormSend-ad07f927.js → DocFormSend-fadf14c9.js} +14 -14
- package/dist/{DocModalBase-19bd9218.js → DocModalBase-4172fbbb.js} +1 -1
- package/dist/{DocPrint-065067d3.js → DocPrint-edc291ba.js} +1 -1
- package/dist/{DocReceipt-cd92f4bc.js → DocReceipt-bcb8539c.js} +1 -1
- package/dist/{DocSendReminder-10240571.js → DocSendReminder-c75a1906.js} +1 -1
- package/dist/{DocTextEditor-264eae51.js → DocTextEditor-c9b90281.js} +7 -7
- package/dist/{DocTimeline-7ca06776.js → DocTimeline-2afee21c.js} +5 -5
- package/dist/{DocumentClient-11bb861b.js → DocumentClient-425f6e0b.js} +5 -5
- package/dist/{DocumentLayout-2c0dde37.js → DocumentLayout-0d24ac85.js} +118 -118
- package/dist/{DocumentLogotype-c63e9e2b.js → DocumentLogotype-278b2823.js} +16 -16
- package/dist/{EmbedInput-f829347b.js → EmbedInput-28796e66.js} +2 -2
- package/dist/{EmbedSettings-15c9c5d2.js → EmbedSettings-1e097db9.js} +3 -3
- package/dist/{ErrorCallout-9b4c45b0.js → ErrorCallout-ddbc30af.js} +1 -1
- package/dist/{FilePreviewModal-3c976c4f.js → FilePreviewModal-360216a2.js} +4 -4
- package/dist/{HeaderSettings-2bed2e49.js → HeaderSettings-abc9e60f.js} +13 -13
- package/dist/{ImageSelectModal-aa8a9196.js → ImageSelectModal-2c078df5.js} +9 -9
- package/dist/{ImageUploadWrapper-191b58cb.js → ImageUploadWrapper-99a3b0dd.js} +2 -2
- package/dist/{Index-e75fb399.js → Index-05d4a173.js} +2 -2
- package/dist/{Index-010b6c77.js → Index-0a9e95d6.js} +2 -2
- package/dist/{Index-2efc79a6.js → Index-168790bc.js} +4 -4
- package/dist/{Index-2b95c1b1.js → Index-193a4968.js} +5 -5
- package/dist/{Index-81121ad2.js → Index-23c1de88.js} +2 -2
- package/dist/{Index-b2b13e59.js → Index-44764dbb.js} +7 -7
- package/dist/{Index-27a08871.js → Index-4cae2241.js} +11 -11
- package/dist/{Index-584c31f5.js → Index-5688e5e1.js} +14 -14
- package/dist/{Index-fc0c3175.js → Index-610a54bf.js} +25 -25
- package/dist/{Index-09f3d14a.js → Index-61786d22.js} +6 -6
- package/dist/{Index-6a834a9a.js → Index-61b794ca.js} +4 -4
- package/dist/{Index-bc0448b7.js → Index-6435f551.js} +11 -11
- package/dist/{Index-f7910f63.js → Index-7317f443.js} +4 -4
- package/dist/{Index-466ac151.js → Index-7a56c885.js} +4 -4
- package/dist/{Index-a8a278df.js → Index-81eeecba.js} +2 -2
- package/dist/{Index-2d0ce634.js → Index-83597574.js} +8 -8
- package/dist/{Index-ca5a3caf.js → Index-8b02f74f.js} +1 -1
- package/dist/{Index-3af51db0.js → Index-8b57e293.js} +2 -2
- package/dist/{Index-e49bf365.js → Index-901f2f68.js} +3 -3
- package/dist/{Index-68c2e6e8.js → Index-942a36d2.js} +2 -2
- package/dist/{Index-491ca5f8.js → Index-a0de23fe.js} +5 -5
- package/dist/{Index-4a3e4ff7.js → Index-a8b60741.js} +4 -4
- package/dist/{Index-579a4b8e.js → Index-a8faf552.js} +4 -4
- package/dist/{Index-8c251698.js → Index-abb29c87.js} +26 -26
- package/dist/{Index-49e83404.js → Index-ad024dc9.js} +5 -5
- package/dist/{Index-ef1edca1.js → Index-aecbccac.js} +2 -2
- package/dist/{Index-a0bce09c.js → Index-c5b9ad7f.js} +4 -4
- package/dist/{Index-587512ed.js → Index-cb10ca9b.js} +8 -8
- package/dist/{Index-97ceff4a.js → Index-cb1efaaa.js} +6 -6
- package/dist/{Index-30a2e82a.js → Index-d2d40188.js} +4 -4
- package/dist/{Index-77a0fd51.js → Index-d56d4b7b.js} +1 -1
- package/dist/{Index-b3a5344a.js → Index-d841c396.js} +5 -5
- package/dist/{Index-7b7f6b0d.js → Index-f3af647f.js} +4 -4
- package/dist/{Index-b8809785.js → Index-f9a97c67.js} +2 -2
- package/dist/{InputToggleRow-ff35c2ce.js → InputToggleRow-3bba2a55.js} +1 -1
- package/dist/IsPremiumPreStep-1657f1ce.js +2443 -0
- package/dist/{MediaWrapper-5714c933.js → MediaWrapper-574eca05.js} +3 -3
- package/dist/{NotBindingText-09b91d96.js → NotBindingText-f2acdb51.js} +2 -2
- package/dist/{PackageGroup-8a819bad.js → PackageGroup-625d7093.js} +12 -12
- package/dist/{PdfTerms-8f633637.js → PdfTerms-05e6491e.js} +4 -4
- package/dist/{PdfViewer-c9707701.js → PdfViewer-4d32b0f1.js} +2 -2
- package/dist/{PlainHtml-7e5c2f75.js → PlainHtml-c2e1feca.js} +1 -1
- package/dist/{PriceHeader-04f93704.js → PriceHeader-ce8bb22c.js} +11 -11
- package/dist/{SearchApi-941492e2.js → SearchApi-b7e03288.js} +2 -2
- package/dist/Setup-e92daff6.js +50 -0
- package/dist/{TermsSettings-ef3ff7bd.js → TermsSettings-de33fad6.js} +6 -6
- package/dist/{ThemeColorRow-228b2150.js → ThemeColorRow-52efe243.js} +2 -2
- package/dist/{ToggleBinding-864dd88b.js → ToggleBinding-ec8d351f.js} +3 -3
- package/dist/{UploadModal-becfcb33.js → UploadModal-463188b1.js} +3 -3
- package/dist/{VideoPlayerInput-22f9bd4d.js → VideoPlayerInput-9314dfa5.js} +3 -3
- package/dist/{VideoPlayerSettings-871ebafc.js → VideoPlayerSettings-e7978498.js} +4 -4
- package/dist/{VideoSelectModal-7702dfef.js → VideoSelectModal-72e1e4e2.js} +9 -9
- package/dist/{answerDocumentMixin-1cebd720.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-ecb6e1c1.js → cssMode-88d0146a.js} +19 -15
- package/dist/{focusDrawerMixin-f736add2.js → focusDrawerMixin-46eade80.js} +1 -1
- package/dist/{formComponentsInstall-2d3f76f6.js → formComponentsInstall-0cfab48e.js} +33 -28
- package/dist/{formValidationMixin-e41d906a.js → formValidationMixin-94fb3562.js} +1 -1
- package/dist/{freemarker2-307c95a2.js → freemarker2-fb187d64.js} +23 -19
- package/dist/{handlebars-81fcee8b.js → handlebars-4a1a8024.js} +15 -11
- package/dist/{html-968ef632.js → html-00e90fc7.js} +18 -14
- package/dist/{htmlMode-8db816bf.js → htmlMode-cfbebdc7.js} +23 -19
- package/dist/{index-f44d3569.js → index-7a30802a.js} +10 -10
- package/dist/{index-072e7404.js → index-93fd29b3.js} +4 -4
- package/dist/{index-df6392e8.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 +545 -545
- package/dist/{javascript-cea828eb.js → javascript-3213b923.js} +15 -11
- package/dist/{jsonMode-9dc70f37.js → jsonMode-afc781d8.js} +23 -19
- package/dist/{liquid-a15e142f.js → liquid-dc5a4df5.js} +18 -14
- package/dist/{main-b6350bc3.js → main-abeba7c1.js} +1402 -1435
- package/dist/{mapFormMixin-48e32d23.js → mapFormMixin-e82f943f.js} +1 -1
- package/dist/{publicSenderState-8ff674de.js → publicSenderState-2f11c080.js} +1 -1
- package/dist/{python-c1ad439e.js → python-4bce1745.js} +15 -11
- package/dist/{razor-29ed486f.js → razor-f57062fd.js} +22 -18
- package/dist/{simplebar.min-bd77544d.js → simplebar.min-07c0e6b7.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/template-3600893b.js +528 -0
- package/dist/throttle-1bf5bb97.js +18 -0
- package/dist/{tinycolor-8a716699.js → tinycolor-0084a04e.js} +1 -1
- package/dist/{tippy.esm-be0516c8.js → tippy.esm-2bcbed04.js} +5 -5
- package/dist/{tsMode-b84b9fe6.js → tsMode-c0486e4e.js} +19 -15
- package/dist/{typescript-2fb3afdc.js → typescript-50a48698.js} +15 -11
- package/dist/{utils-c1d2b87e.js → utils-d907da71.js} +1 -1
- package/dist/{vuedraggable.umd-995319fc.js → vuedraggable.umd-c326d90c.js} +48 -48
- package/dist/{xml-795e735c.js → xml-0ef7a70a.js} +18 -14
- package/package.json +8 -8
- package/.env +0 -12
- package/dist/DocAnswer-2c75c7d8.js +0 -46
- package/dist/DocForm-fdf870ec.js +0 -7042
- package/dist/IsPremiumPreStep-3a45da09.js +0 -2343
- package/dist/index-bfbed7c8.js +0 -14
- package/dist/template-b8b398df.js +0 -526
- package/dist/throttle-62e7a6dd.js +0 -18
- 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,
|
|
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": {
|
|
@@ -60,11 +66,5 @@
|
|
|
60
66
|
"tailwindcss": "^3.2.1",
|
|
61
67
|
"terser": "^5.14.2",
|
|
62
68
|
"vite": "^4.3.8"
|
|
63
|
-
},
|
|
64
|
-
"scripts": {
|
|
65
|
-
"dev": "vite",
|
|
66
|
-
"build": "vite build",
|
|
67
|
-
"preview": "vite preview --port 4173",
|
|
68
|
-
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
|
|
69
69
|
}
|
|
70
|
-
}
|
|
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,46 +0,0 @@
|
|
|
1
|
-
import { u as s, b as a, n as m } from "./main-b6350bc3.js";
|
|
2
|
-
import c from "./AnswerModal-de2d4e05.js";
|
|
3
|
-
import "./anime.es-e284c852.js";
|
|
4
|
-
import "./vuex.esm-4a0fff7c.js";
|
|
5
|
-
import "./mapFormMixin-48e32d23.js";
|
|
6
|
-
import "./CField-c089365f.js";
|
|
7
|
-
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
8
|
-
const u = (t, e) => ({
|
|
9
|
-
...t,
|
|
10
|
-
[e]: (n) => {
|
|
11
|
-
var o, r;
|
|
12
|
-
return ((o = n.params) == null ? void 0 : o[e]) || ((r = n.meta) == null ? void 0 : r[e]);
|
|
13
|
-
}
|
|
14
|
-
}), p = {
|
|
15
|
-
components: {
|
|
16
|
-
AnswerModal: c
|
|
17
|
-
},
|
|
18
|
-
data() {
|
|
19
|
-
return { ui: s };
|
|
20
|
-
},
|
|
21
|
-
computed: {
|
|
22
|
-
...a(
|
|
23
|
-
"route",
|
|
24
|
-
["answerType", "document"].reduce(u, {})
|
|
25
|
-
)
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
var l = function() {
|
|
29
|
-
var e = this, n = e._self._c;
|
|
30
|
-
return n("AnswerModal", { attrs: { mode: e.answerType, _document: e.document }, on: { close: function(o) {
|
|
31
|
-
e.ui.open = !1;
|
|
32
|
-
} } });
|
|
33
|
-
}, i = [], _ = /* @__PURE__ */ m(
|
|
34
|
-
p,
|
|
35
|
-
l,
|
|
36
|
-
i,
|
|
37
|
-
!1,
|
|
38
|
-
null,
|
|
39
|
-
null,
|
|
40
|
-
null,
|
|
41
|
-
null
|
|
42
|
-
);
|
|
43
|
-
const M = _.exports;
|
|
44
|
-
export {
|
|
45
|
-
M as default
|
|
46
|
-
};
|