hldesigner 0.0.199 → 0.0.203
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/{_pdf-4c706e60.js → _pdf-3f9ca974.js} +12 -11
- package/{_share_image-dc17ebf1.js → _share_image-30a7e940.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-112b73cf.js → _share_size.vue_vue_type_script_setup_true_lang-baa111b4.js} +3 -3
- package/{_txt-e4b11c88.js → _txt-b0f0ebb7.js} +15 -14
- package/{_unsupport-1bab2565.js → _unsupport-fd2af812.js} +10 -9
- package/affix-widget-5b31aef3.js +44 -0
- package/{alert-widget-8578fbe7.js → alert-widget-023ad236.js} +23 -22
- package/{anchor-widget-ceeabf3f.js → anchor-widget-4cb83acd.js} +20 -19
- package/{auto-complete-widget-64f54cd6.js → auto-complete-widget-a40381f8.js} +23 -22
- package/avatar-widget-32b58d84.js +44 -0
- package/{backtop-widget-9de51b39.js → backtop-widget-e9867933.js} +23 -22
- package/badge-widget-1f3ce07a.js +50 -0
- package/{barcode-widget-9c8b37b8.js → barcode-widget-ef49bf1a.js} +20 -19
- package/{baseImp-e49d2773.js → baseImp-d6a218bb.js} +692 -695
- package/{breadcrumb-widget-792bcaf6.js → breadcrumb-widget-02835287.js} +20 -19
- package/{button-widget-f1c5236f.js → button-widget-21c3a1d5.js} +23 -22
- package/{cache-widget-5fa60ec6.js → cache-widget-4104da94.js} +22 -21
- package/{card-widget-e512515a.js → card-widget-94540bcb.js} +21 -20
- package/{carousel-widget-3696c44d.js → carousel-widget-4c42a9b5.js} +21 -20
- package/{cascader-widget-e5c5f825.js → cascader-widget-3b351e93.js} +22 -21
- package/{chart-widget-3e54a5bb.js → chart-widget-fea7b4eb.js} +25 -24
- package/{checkbox-widget-564de2c7.js → checkbox-widget-703a8743.js} +22 -21
- package/{collapse-widget-51d7cf71.js → collapse-widget-82c9f052.js} +29 -28
- package/{color-picker-widget-fc1cbd99.js → color-picker-widget-366c7b6a.js} +22 -21
- package/common-editor-7fbb76d2.js +27 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-e83ab29f.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-1f8ca7a0.js} +2 -2
- package/{configItem-022c3a03.js → configItem-9beab327.js} +44 -42
- package/{cont-cell-widget-a130b8db.js → cont-cell-widget-a6d7799b.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-22b878c0.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-792388b7.js} +5 -5
- package/{cont-widget-7f0e150f.js → cont-widget-978dce4e.js} +5 -5
- package/{content-wrapper-9f6222f3.js → content-wrapper-ef2cf36b.js} +8 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-bc24e53b.js → content-wrapper.vue_vue_type_script_setup_true_lang-ef54a554.js} +3 -3
- package/{css-editor-78e6dc8c.js → css-editor-2f6dbde3.js} +43 -42
- package/{cssIndex-8e8522e2.js → cssIndex-cf6e26c2.js} +61 -60
- package/customClass-editor-df52cc90.js +46 -0
- package/{date-picker-range-widget-3c7a0942.js → date-picker-range-widget-181f33cb.js} +22 -21
- package/{date-picker-widget-037ceb37.js → date-picker-widget-a5bd4bf3.js} +22 -21
- package/default-slot-widget-56a353d7.js +30 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-800037db.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8b0fcd83.js} +10 -9
- package/{descriptions-widget-4d59d506.js → descriptions-widget-ba2c798d.js} +28 -27
- package/designer.es.js +37 -35
- package/designer.style.css +1 -1
- package/designer.umd.js +806 -802
- package/{dialog-fd389629.js → dialog-24d066bb.js} +2 -2
- package/dialog-widget-c9f8b45b.js +38 -0
- package/{divider-widget-352dabc2.js → divider-widget-e2cd731e.js} +23 -22
- package/{drag-wrapper-c5f36a3f.js → drag-wrapper-be4fc6c6.js} +25 -24
- package/drawer-widget-c15da4c7.js +38 -0
- package/{dropdown-widget-e6f407a3.js → dropdown-widget-42a47ad3.js} +21 -20
- package/{editor-wrapper-037968c2.js → editor-wrapper-8027ed75.js} +218 -217
- package/{emitter-fd99ee94.js → emitter-22bcad26.js} +1 -1
- package/empty-widget-6ac74681.js +44 -0
- package/{enum-type-25ce26d4.js → enum-type-339a584b.js} +125 -437
- package/{enum-type-a9f5e75a.js → enum-type-50a08ddf.js} +1 -1
- package/{expression-c0206176.js → expression-cf83c895.js} +95 -94
- package/feedback-widget-56db531b.js +31 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-0f7a4c77.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-cf9de69d.js} +5 -5
- package/{field-editor-a074e424.js → field-editor-ab704a01.js} +26 -25
- package/{fieldobj-e53244c0.js → fieldobj-fe7d8eae.js} +1 -1
- package/{file-upload-widget-7c1c900b.js → file-upload-widget-2b05d62c.js} +27 -26
- package/{form-item-wrapper-75976438.js → form-item-wrapper-f8359511.js} +16 -15
- package/form-widget-35b12f17.js +232 -0
- package/{grid-col-widget-1f1a8714.js → grid-col-widget-6cad3503.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-2ae49464.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-082d895b.js} +5 -5
- package/{grid-widget-d9c98e1e.js → grid-widget-075a1abe.js} +5 -5
- package/{html-text-widget-ead52952.js → html-text-widget-0c89effe.js} +24 -23
- package/{icon-widget-0d09fa31.js → icon-widget-efa0dbb7.js} +20 -19
- package/iframe-widget-d293f152.js +112 -0
- package/{image-editor-87c1fa97.js → image-editor-0b28e384.js} +21 -20
- package/{image-widget-5304b99a.js → image-widget-bc9c59ac.js} +20 -19
- package/index-1521518c.js +44 -0
- package/{index-471b1b77.js → index-1844520a.js} +181 -179
- package/{index-8faf4a86.js → index-2aa1f947.js} +19 -18
- package/{index-5df9e1e9.js → index-2cc63818.js} +58 -57
- package/{index-afcc0cb2.js → index-30fe2727.js} +31 -30
- package/{index-29a9d260.js → index-4121f492.js} +28 -27
- package/{index-ddb14013.js → index-47333282.js} +32 -31
- package/{index-37761d29.js → index-57266e1d.js} +25 -24
- package/{index-ea246120.js → index-57ba032d.js} +32 -31
- package/index-57de1e93.js +200 -0
- package/index-67e02ed1.js +48 -0
- package/{index-1652c0d1.js → index-6d72c605.js} +1 -1
- package/{index-4bba6308.js → index-7dcb0846.js} +45 -44
- package/{index-4ef04f4f.js → index-9b16b876.js} +9 -8
- package/{index-8411963a.js → index-9bf39185.js} +1 -1
- package/{index-b3585536.js → index-9c8ab628.js} +18 -17
- package/{index-d9faf252.js → index-9d594e77.js} +48 -46
- package/{index-4768c271.js → index-a9b325de.js} +31 -30
- package/{index-132e54f6.js → index-ad62fe68.js} +41 -39
- package/{index-5663497c.js → index-b07f673f.js} +28 -27
- package/{index-972b5e7d.js → index-b6dd9f73.js} +12 -11
- package/{index-fd5e4e75.js → index-cb040833.js} +30 -29
- package/index-df1e4d1c.js +138 -0
- package/{index-edba8ac2.js → index-e6f28811.js} +9 -8
- package/index-f02a72ab.js +287 -0
- package/{index-c0ac6679.js → index-f328b549.js} +1 -1
- package/{input-number-widget-5b91814d.js → input-number-widget-8c11c9f1.js} +22 -21
- package/{input-widget-9f9f1e86.js → input-widget-c493df61.js} +23 -22
- package/{install-designer-092182cc.js → install-designer-2b98bf6a.js} +946 -928
- package/{item-4a07c2c6.js → item-a6a9abce.js} +8 -7
- package/{itemDetail-107667d0.js → itemDetail-2061e03c.js} +12 -11
- package/{label-wrapper-fcfc49bb.js → label-wrapper-1f60e363.js} +6 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-32dd0eb6.js → label-wrapper.vue_vue_type_style_index_0_lang-0926028b.js} +3 -3
- package/{link-widget-f1bc9ed1.js → link-widget-aeb07c45.js} +23 -22
- package/{ltable-col-widget-7198f180.js → ltable-col-widget-7b73596b.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-9659c585.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-76360bb0.js} +9 -9
- package/{ltable-widget-8e240c9e.js → ltable-widget-2748c11d.js} +5 -5
- package/{menu-widget-b30f1aa4.js → menu-widget-f030ec3f.js} +43 -42
- package/{model-widget-e8b3f795.js → model-widget-324ee8d8.js} +29 -28
- package/{multirow-70766faf.js → multirow-60333a37.js} +50 -49
- package/{multirow-widget-b7d121ce.js → multirow-widget-b9f113dc.js} +80 -79
- package/{name-editor-f2e09a2a.js → name-editor-9e584829.js} +39 -38
- package/obj-469b8636.js +344 -0
- package/{optionItem-658ef248.js → optionItem-94e8e557.js} +5 -5
- package/package.json +1 -1
- package/{pagination-widget-8d56529f.js → pagination-widget-5fc3a123.js} +27 -26
- package/{picture-upload-widget-3c439623.js → picture-upload-widget-074d5dfa.js} +23 -22
- package/{progress-widget-3deb6d65.js → progress-widget-ab7645f4.js} +21 -20
- package/{property-base-585ae99f.js → property-base-847bea01.js} +6 -5
- package/{propresult-7ff730e7.js → propresult-80ff10b0.js} +1 -1
- package/{qrcode-widget-58b296c9.js → qrcode-widget-d3332db8.js} +28 -27
- package/{radio-widget-b37f2efa.js → radio-widget-30fbcfa8.js} +22 -21
- package/{range-widget-9e9d1d91.js → range-widget-501ac45f.js} +26 -25
- package/{rate-widget-f2df42ca.js → rate-widget-0efc5a30.js} +22 -21
- package/{reg-editor.vue_vue_type_script_setup_true_lang-552964b4.js → reg-editor.vue_vue_type_script_setup_true_lang-303c53c7.js} +3 -3
- package/{result-widget-064d580f.js → result-widget-c7ba3598.js} +26 -25
- package/{rich-editor-widget-f8c3a359.js → rich-editor-widget-68065124.js} +29 -28
- package/{router-widget-c3c1dcbe.js → router-widget-87f54e9c.js} +26 -25
- package/{schemaData-4b6c8f93.js → schemaData-4017f436.js} +117 -113
- package/{select-widget-115c19eb.js → select-widget-b603a045.js} +75 -74
- package/{sfc-8e1699a5.js → sfc-c084412d.js} +38 -37
- package/{sfcview-e35d2a6c.js → sfcview-35444e54.js} +27 -26
- package/{share-editor-0b81d40d.js → share-editor-2b290a2a.js} +110 -108
- package/{share-event-00871445.js → share-event-2000a2e4.js} +2 -2
- package/{share-field-6d22dc0f.js → share-field-081900cb.js} +229 -227
- package/{share-file-c09f38d7.js → share-file-a4a4269a.js} +15 -14
- package/{size-editor-19b9771a.js → size-editor-60515ca3.js} +22 -21
- package/{slider-widget-8ffc9a9e.js → slider-widget-0e5c6ea8.js} +22 -21
- package/slot-ad34bf62.js +292 -0
- package/{static-text-widget-bfd431fd.js → static-text-widget-e96741ad.js} +23 -22
- package/{steps-widget-62708fc5.js → steps-widget-f4f7a59d.js} +20 -19
- package/{subMenu-widget-bc8720e3.js → subMenu-widget-6e151b95.js} +9 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-292af0db.js → subMenu-widget.vue_vue_type_script_setup_true_lang-5c3a8a82.js} +3 -3
- package/{switch-widget-45c43819.js → switch-widget-be4a4f29.js} +22 -21
- package/{tab-pane-widget-4f6477b7.js → tab-pane-widget-f257d01a.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-6c931b97.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7102e80f.js} +5 -5
- package/table-col-widget-44257f41.js +27 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-51a501b6.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-fda5176e.js} +6 -6
- package/{table-widget-48472910.js → table-widget-6e69243d.js} +29 -28
- package/{tabs-widget-223c7b43.js → tabs-widget-3789cc71.js} +33 -32
- package/tag-widget-30ed85f5.js +44 -0
- package/{target-code-faf94048.js → target-code-c9b01d8e.js} +13 -12
- package/{target-datasource-ce8ef09f.js → target-datasource-358d46d3.js} +91 -89
- package/{target-link-365f24d0.js → target-link-63b8c8b7.js} +59 -57
- package/{target-saveForm-96b58000.js → target-saveForm-32d63f35.js} +41 -39
- package/{target-widget-1d501f28.js → target-widget-9263d60f.js} +11 -10
- package/{target-window-846ee9c9.js → target-window-e79c6e2e.js} +12 -11
- package/text-widget-9d91dbb9.js +44 -0
- package/textarea-widget-abc44051.js +61 -0
- package/{time-picker-range-widget-181b8b60.js → time-picker-range-widget-1daba17f.js} +24 -23
- package/{time-picker-widget-9f410605.js → time-picker-widget-0e493b7e.js} +22 -21
- package/{time-select-widget-28d4139e.js → time-select-widget-52b79d07.js} +22 -21
- package/{tmpl-widget-43e82eef.js → tmpl-widget-87950870.js} +21 -20
- package/{tree-select-widget-6f671e54.js → tree-select-widget-90e24dbc.js} +35 -34
- package/{tree-widget-a0eee231.js → tree-widget-27d9f388.js} +27 -26
- package/{uuid-ff3b37ed.js → uuid-d9f857bf.js} +1 -1
- package/{value-editor-2b6e96e5.js → value-editor-1c0315d8.js} +29 -28
- package/{verifycode-widget-c09fbb3c.js → verifycode-widget-5df2dcdc.js} +34 -33
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1fca8a90.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js} +27 -26
- package/{wrapper-widget-21408a77.js → wrapper-widget-a70d939f.js} +6 -6
- package/affix-widget-1c84ecfb.js +0 -43
- package/avatar-widget-3b71e7a1.js +0 -43
- package/badge-widget-72b34510.js +0 -49
- package/common-editor-fba47b00.js +0 -26
- package/customClass-editor-5f3c0118.js +0 -45
- package/default-slot-widget-0dcac6f6.js +0 -29
- package/dialog-widget-a1705f21.js +0 -37
- package/drawer-widget-8a4cf015.js +0 -37
- package/empty-widget-f99a3baf.js +0 -43
- package/feedback-widget-08332c4f.js +0 -30
- package/form-widget-10dd2246.js +0 -230
- package/iframe-widget-2834e921.js +0 -111
- package/index-004c3e5a.js +0 -135
- package/index-1a4ba0e3.js +0 -132
- package/index-6ae0e7db.js +0 -121
- package/index-8c63f468.js +0 -47
- package/index-979a4dfc.js +0 -43
- package/slot-62b1ff9b.js +0 -287
- package/table-col-widget-a0233d24.js +0 -26
- package/tag-widget-7bce1464.js +0 -43
- package/text-widget-d5907fd1.js +0 -43
- package/textarea-widget-ba555132.js +0 -60
|
@@ -1,39 +1,41 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { _ as
|
|
15
|
-
import { p as
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { u as
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { u as
|
|
25
|
-
import {
|
|
26
|
-
import { u as gt
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import "./
|
|
1
|
+
var H0 = Object.defineProperty;
|
|
2
|
+
var V0 = (r, o, e) => o in r ? H0(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e;
|
|
3
|
+
var j1 = (r, o, e) => (V0(r, typeof o != "symbol" ? o + "" : o, e), e);
|
|
4
|
+
import { _ as O0 } from "./cont-cell-widget-a6d7799b.js";
|
|
5
|
+
import { _ as A0 } from "./cont-widget-978dce4e.js";
|
|
6
|
+
import { _ as L0 } from "./form-widget-35b12f17.js";
|
|
7
|
+
import { _ as T0 } from "./grid-col-widget-6cad3503.js";
|
|
8
|
+
import { _ as I0 } from "./grid-widget-075a1abe.js";
|
|
9
|
+
import { _ as D0 } from "./ltable-col-widget-7b73596b.js";
|
|
10
|
+
import { _ as P0 } from "./ltable-widget-2748c11d.js";
|
|
11
|
+
import { _ as R0 } from "./tab-pane-widget-f257d01a.js";
|
|
12
|
+
import { _ as B0 } from "./tabs-widget-3789cc71.js";
|
|
13
|
+
import { _ as F0 } from "./wrapper-widget-a70d939f.js";
|
|
14
|
+
import { _ as N0 } from "./index-a9b325de.js";
|
|
15
|
+
import { p as j0, o as $0 } from "./dialog-24d066bb.js";
|
|
16
|
+
import { _ as K0 } from "./index-57de1e93.js";
|
|
17
|
+
import U0, { computed as s3, ref as W2, watch as o0, onMounted as r0, onUnmounted as a0, nextTick as H1, defineComponent as j3, provide as Q2, resolveDirective as G0, withDirectives as W0, openBlock as q2, createElementBlock as l1, unref as V2, normalizeClass as X0, withKeys as $1, renderSlot as e1, createBlock as O3, Suspense as Y0, withCtx as J2, createVNode as U2, reactive as Z0, shallowRef as G3, resolveComponent as C3, resolveDynamicComponent as W3, Fragment as J0, renderList as Q0, defineAsyncComponent as X3 } from "vue";
|
|
18
|
+
import { t as i0, r as k0, p as q0, f as Y3, a as l0, w as p3, d as k2 } from "./expression-cf83c895.js";
|
|
19
|
+
import { u as _0, a as tt, P as D3, g as et } from "./baseImp-d6a218bb.js";
|
|
20
|
+
import { u as K1, F as nt, a as ot } from "./slot-ad34bf62.js";
|
|
21
|
+
import { I as rt } from "./widget-base-4c2d6265.js";
|
|
22
|
+
import { i as at, f as it, c as lt, t as st, a as ct } from "./enum-type-339a584b.js";
|
|
23
|
+
import { g as dt } from "./uuid-d9f857bf.js";
|
|
24
|
+
import { u as s0 } from "./icon-6342f929.js";
|
|
25
|
+
import { i as ft, a as ut, o as vt, d as ht, t as mt, b as g1 } from "./obj-469b8636.js";
|
|
26
|
+
import { u as gt } from "./emitter-22bcad26.js";
|
|
27
|
+
import { W as Z3 } from "./enum-type-50a08ddf.js";
|
|
28
|
+
import { u as pt, a as U1, R as G1, b as yt } from "./share-field-081900cb.js";
|
|
29
|
+
import { u as bt } from "./multirow-60333a37.js";
|
|
30
|
+
import { ElMessage as xt, ElMessageBox as zt, ElNotification as St } from "element-plus";
|
|
31
|
+
import { D as Mt } from "./drag-wrapper-be4fc6c6.js";
|
|
32
|
+
import { u as c0, D as Et, c as Ct } from "./index-2cc63818.js";
|
|
33
|
+
import "./index-f328b549.js";
|
|
32
34
|
import "./esprima-e8d15055.js";
|
|
33
35
|
import { _ as D1 } from "./_plugin-vue_export-helper-dad06003.js";
|
|
34
|
-
import { g as
|
|
35
|
-
import { S as
|
|
36
|
-
import { g as
|
|
36
|
+
import { g as wt } from "./setView-de8aaf40.js";
|
|
37
|
+
import { S as Ht } from "./index-6d72c605.js";
|
|
38
|
+
import { g as Vt, c as Ot, a as At } from "./_commonjsHelpers-e7ea1525.js";
|
|
37
39
|
if (typeof window < "u") {
|
|
38
40
|
let r = function() {
|
|
39
41
|
var o = document.body, e = document.getElementById("__svg__icons__dom__");
|
|
@@ -41,7 +43,7 @@ if (typeof window < "u") {
|
|
|
41
43
|
};
|
|
42
44
|
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", r) : r();
|
|
43
45
|
}
|
|
44
|
-
function
|
|
46
|
+
function P1(r) {
|
|
45
47
|
let o = /* @__PURE__ */ new Map();
|
|
46
48
|
for (const e in r) {
|
|
47
49
|
let i = r == null ? void 0 : r[e], n = i == null ? void 0 : i.default, s = (n == null ? void 0 : n.name) || (n == null ? void 0 : n.__name);
|
|
@@ -49,28 +51,36 @@ function s0(r) {
|
|
|
49
51
|
}
|
|
50
52
|
return o;
|
|
51
53
|
}
|
|
52
|
-
function
|
|
53
|
-
return
|
|
54
|
+
function d0() {
|
|
55
|
+
return P1(/* @__PURE__ */ Object.assign({ "../cont-cell-widget.vue": O0, "../cont-widget.vue": A0, "../form-widget.vue": L0, "../grid-col-widget.vue": T0, "../grid-widget.vue": I0, "../ltable-col-widget.vue": D0, "../ltable-widget.vue": P0, "../tab-pane-widget.vue": R0, "../tabs-widget.vue": B0, "../wrapper-widget.vue": F0 }));
|
|
54
56
|
}
|
|
55
|
-
const
|
|
56
|
-
const e =
|
|
57
|
+
const Lt = (r, o) => {
|
|
58
|
+
const e = d0();
|
|
59
|
+
for (const i in Object.keys(e))
|
|
60
|
+
r.component(i, e[i]);
|
|
61
|
+
}, Tt = { install: Lt }, It = (r, o) => {
|
|
62
|
+
const e = d0();
|
|
57
63
|
for (const i in Object.keys(e))
|
|
58
64
|
r.component(i, e[i]);
|
|
59
|
-
},
|
|
60
|
-
|
|
65
|
+
}, Dt = { install: It };
|
|
66
|
+
function Pt() {
|
|
67
|
+
return P1(/* @__PURE__ */ Object.assign({ "./index.vue": N0 }));
|
|
68
|
+
}
|
|
69
|
+
const Rt = (r, o) => {
|
|
70
|
+
const e = Pt();
|
|
71
|
+
r.use(j0);
|
|
61
72
|
for (const i in Object.keys(e))
|
|
62
73
|
r.component(i, e[i]);
|
|
63
|
-
},
|
|
64
|
-
function
|
|
65
|
-
return
|
|
74
|
+
}, Bt = { install: Rt };
|
|
75
|
+
function Ft() {
|
|
76
|
+
return P1(/* @__PURE__ */ Object.assign({ "./index.vue": K0 }));
|
|
66
77
|
}
|
|
67
|
-
const
|
|
68
|
-
const e =
|
|
69
|
-
r.use(N0);
|
|
78
|
+
const Nt = (r, o) => {
|
|
79
|
+
const e = Ft();
|
|
70
80
|
for (const i in Object.keys(e))
|
|
71
81
|
r.component(i, e[i]);
|
|
72
|
-
},
|
|
73
|
-
function
|
|
82
|
+
}, jt = { install: Nt };
|
|
83
|
+
function $t(r, o, e, i) {
|
|
74
84
|
const n = { r: 255, g: 255, b: 255 };
|
|
75
85
|
return {
|
|
76
86
|
r: Math.round(r * (1 - i) + n.r * i),
|
|
@@ -78,26 +88,26 @@ function Bt(r, o, e, i) {
|
|
|
78
88
|
b: Math.round(e * (1 - i) + n.b * i)
|
|
79
89
|
};
|
|
80
90
|
}
|
|
81
|
-
function
|
|
91
|
+
function Kt(r, o, e, i = !1, n = 5) {
|
|
82
92
|
const s = [];
|
|
83
93
|
for (let t = 0; t < n; t++) {
|
|
84
|
-
const a =
|
|
94
|
+
const a = $t(r, o, e, t * 0.1);
|
|
85
95
|
s.push(a);
|
|
86
96
|
}
|
|
87
97
|
return s;
|
|
88
98
|
}
|
|
89
|
-
function
|
|
90
|
-
const i =
|
|
91
|
-
return n == null ? void 0 : n.map((s) =>
|
|
99
|
+
function Ut(r, o = !1, e = 5) {
|
|
100
|
+
const i = Wt(r), n = Kt(i.r, i.g, i.b, o, e);
|
|
101
|
+
return n == null ? void 0 : n.map((s) => Gt(s.r, s.g, s.b));
|
|
92
102
|
}
|
|
93
|
-
function
|
|
103
|
+
function Gt(r, o, e) {
|
|
94
104
|
const i = (n) => {
|
|
95
105
|
const s = n.toString(16);
|
|
96
106
|
return s.length === 1 ? "0" + s : s;
|
|
97
107
|
};
|
|
98
108
|
return `#${i(r)}${i(o)}${i(e)}`;
|
|
99
109
|
}
|
|
100
|
-
function
|
|
110
|
+
function Wt(r) {
|
|
101
111
|
r = r.replace(/^#/, ""), r.length === 3 && (r = r[0] + r[0] + r[1] + r[1] + r[2] + r[2]);
|
|
102
112
|
const o = parseInt(r, 16);
|
|
103
113
|
return {
|
|
@@ -106,88 +116,96 @@ function $t(r) {
|
|
|
106
116
|
b: o & 255
|
|
107
117
|
};
|
|
108
118
|
}
|
|
109
|
-
function
|
|
119
|
+
function Xt(r, o) {
|
|
110
120
|
return {
|
|
111
121
|
cssWithPrimaryColor: s3(() => {
|
|
112
122
|
var s, t;
|
|
113
|
-
const i = (o == null ? void 0 : o.themeColor) ||
|
|
123
|
+
const i = (o == null ? void 0 : o.themeColor) || i0.color1;
|
|
114
124
|
var n = {
|
|
115
125
|
themeColor: i
|
|
116
126
|
};
|
|
117
|
-
return (s =
|
|
127
|
+
return (s = Ut(i, !1, 10)) == null || s.forEach((a, l) => {
|
|
118
128
|
n["themeColor-" + l] = a;
|
|
119
|
-
}), !
|
|
129
|
+
}), !ft(r) && ut(r) && ((t = vt(n)) == null || t.forEach((a) => {
|
|
120
130
|
var l = `var\\(--${a}\\)`;
|
|
121
|
-
r =
|
|
131
|
+
r = k0(r, l, n[a]);
|
|
122
132
|
})), r;
|
|
123
133
|
})
|
|
124
134
|
};
|
|
125
135
|
}
|
|
126
|
-
function
|
|
127
|
-
var { addWindowName: o, addWindowHook: e } =
|
|
136
|
+
function Yt(r) {
|
|
137
|
+
var { addWindowName: o, addWindowHook: e } = _0();
|
|
128
138
|
o(), e("openModalAsync", (i) => {
|
|
129
|
-
|
|
130
|
-
}), e("ElMessage",
|
|
139
|
+
$0(r == null ? void 0 : r.instance, i);
|
|
140
|
+
}), e("ElMessage", xt), e("ElMessageBox", zt), e("ElNotification", St);
|
|
131
141
|
}
|
|
132
|
-
function
|
|
133
|
-
const o = r.designer, e = o == null ? void 0 : o.pageConfig, i =
|
|
134
|
-
var { instance: u, proxy: v } =
|
|
135
|
-
const h = { instance: u, designState: n, formData: s, pageConfig: e, globalConfig: t }, { handleFunc: m } =
|
|
136
|
-
let
|
|
142
|
+
function Zt(r) {
|
|
143
|
+
const o = r.designer, e = o == null ? void 0 : o.pageConfig, i = W2(o == null ? void 0 : o.widgetList), n = r == null ? void 0 : r.designState, s = r == null ? void 0 : r.pageData, t = r == null ? void 0 : r.renderConfig, a = {}, l = {}, { off$: c, on$: d, emit$: f } = gt();
|
|
144
|
+
var { instance: u, proxy: v } = s0();
|
|
145
|
+
const h = { instance: u, designState: n, formData: s, pageConfig: e, globalConfig: t }, { handleFunc: m } = pt({ options: e }, h), { callWidgetsExposed: g } = U1(l), { formModel: p, setData: y, getData: C, clearData: S } = bt(i.value, h), w = new G1(a), M = new G1(l), { findRefByName: D } = U1(l), { getOneSchemaData: P, getSchemaDataObject: E, getSchemaDatas: T } = tt(h);
|
|
146
|
+
let $ = (() => "vfRender" + dt())();
|
|
137
147
|
const V = () => {
|
|
138
148
|
m(e == null ? void 0 : e.pageCreated);
|
|
139
149
|
}, O = () => {
|
|
140
150
|
m(e == null ? void 0 : e.pageMounted);
|
|
141
|
-
},
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
const { cssWithPrimaryColor: Y2 } = Kt(h2, { themeColor: (t == null ? void 0 : t.themeColor) || "" });
|
|
147
|
-
Z(Y2.value, $.value);
|
|
151
|
+
}, j = s3(() => n ? "" : $), L = () => {
|
|
152
|
+
const { insertCustomCssToHead: K, insertGlobalFunctionsToHtml: q } = K1(), T2 = D3.getValue(e == null ? void 0 : e.cssCode, !1, !0);
|
|
153
|
+
if (T2) {
|
|
154
|
+
const { cssWithPrimaryColor: w2 } = Xt(T2, { themeColor: (t == null ? void 0 : t.themeColor) || "" });
|
|
155
|
+
K(w2.value, j.value);
|
|
148
156
|
}
|
|
149
|
-
|
|
150
|
-
|
|
157
|
+
return new Promise((w2) => {
|
|
158
|
+
const I2 = D3.getValue(e == null ? void 0 : e.functions, !1, !0);
|
|
159
|
+
I2 ? q(I2, j.value).then((d3) => {
|
|
160
|
+
w2(d3);
|
|
161
|
+
}) : w2(!0);
|
|
162
|
+
});
|
|
151
163
|
}, N = () => {
|
|
152
|
-
const { removeCustomCssToHead:
|
|
153
|
-
|
|
154
|
-
}, Q = (
|
|
155
|
-
|
|
156
|
-
},
|
|
157
|
-
w.setWidgetRef(
|
|
158
|
-
}, l2 = (
|
|
159
|
-
g(
|
|
160
|
-
},
|
|
161
|
-
v2(
|
|
162
|
-
}, f2 = (
|
|
163
|
-
g(
|
|
164
|
-
},
|
|
165
|
-
f2(
|
|
166
|
-
},
|
|
167
|
-
if (
|
|
168
|
-
var
|
|
169
|
-
if (
|
|
170
|
-
if (!
|
|
164
|
+
const { removeCustomCssToHead: K, removeGlobalFunctionsToHtml: q } = K1();
|
|
165
|
+
K(j.value), q(j.value);
|
|
166
|
+
}, Q = () => {
|
|
167
|
+
x2(), V(), z2(), F2();
|
|
168
|
+
}, o2 = q0.page, x2 = () => {
|
|
169
|
+
w.setWidgetRef(o2, u), M.setWidgetRef(o2, u);
|
|
170
|
+
}, l2 = (K) => g(K, Z3.getValue), s2 = (K, q) => g(K, Z3.setValue, q), v2 = (K, q = !0) => {
|
|
171
|
+
g(K, Z3.setDisabled, { flag: q });
|
|
172
|
+
}, y2 = (K) => {
|
|
173
|
+
v2(K, !1);
|
|
174
|
+
}, f2 = (K, q = !0) => {
|
|
175
|
+
g(K, Z3.setHidden, { flag: q });
|
|
176
|
+
}, r2 = (K) => {
|
|
177
|
+
f2(K, !1);
|
|
178
|
+
}, i2 = (K) => {
|
|
179
|
+
if (K) {
|
|
180
|
+
var q = it(K);
|
|
181
|
+
if (q) {
|
|
182
|
+
if (!q.pageConfig || !q.widgetList)
|
|
171
183
|
return "Invalid pageat of page json.";
|
|
172
|
-
|
|
173
|
-
|
|
184
|
+
ht(r.pageConfig, q), L().then((T2) => {
|
|
185
|
+
H1(() => {
|
|
186
|
+
Q(), O();
|
|
187
|
+
});
|
|
174
188
|
});
|
|
175
189
|
} else
|
|
176
190
|
return "Set page json failed.";
|
|
177
191
|
}
|
|
178
|
-
},
|
|
179
|
-
v == null || v.$emit(
|
|
180
|
-
},
|
|
181
|
-
c(Y3.fieldChange), d(Y3.fieldChange, (
|
|
182
|
-
|
|
192
|
+
}, C2 = (K, q, T2) => {
|
|
193
|
+
v == null || v.$emit(l0.formChange, K, q, T2, p);
|
|
194
|
+
}, z2 = () => {
|
|
195
|
+
c(Y3.fieldChange), d(Y3.fieldChange, (K) => {
|
|
196
|
+
C2(K == null ? void 0 : K.fieldName, K == null ? void 0 : K.newValue, K == null ? void 0 : K.oldValue);
|
|
183
197
|
});
|
|
184
|
-
},
|
|
185
|
-
c(Y3.fieldValidation), d(Y3.fieldValidation, (
|
|
198
|
+
}, F2 = () => {
|
|
199
|
+
c(Y3.fieldValidation), d(Y3.fieldValidation, (K) => {
|
|
186
200
|
});
|
|
187
|
-
};
|
|
188
|
-
return
|
|
189
|
-
|
|
190
|
-
}),
|
|
201
|
+
}, X2 = W2(!1), N2 = W2(!1);
|
|
202
|
+
return o0([X2, N2], ([K, q]) => {
|
|
203
|
+
K && q && O();
|
|
204
|
+
}), L().then(() => {
|
|
205
|
+
Q(), X2.value = !0;
|
|
206
|
+
}), r0(() => {
|
|
207
|
+
S(), at(), Yt({ instance: u }), N2.value = !0;
|
|
208
|
+
}), a0(() => {
|
|
191
209
|
S(), N();
|
|
192
210
|
}), {
|
|
193
211
|
formModel: p,
|
|
@@ -198,11 +216,11 @@ function Gt(r) {
|
|
|
198
216
|
exposed: {
|
|
199
217
|
// findRefById,
|
|
200
218
|
findRefByName: D,
|
|
201
|
-
setPageJson:
|
|
219
|
+
setPageJson: i2,
|
|
202
220
|
hideWidgets: f2,
|
|
203
|
-
showWidgets:
|
|
221
|
+
showWidgets: r2,
|
|
204
222
|
disableWidgets: v2,
|
|
205
|
-
enableWidgets:
|
|
223
|
+
enableWidgets: y2,
|
|
206
224
|
getFieldValue: l2,
|
|
207
225
|
setFieldValue: s2,
|
|
208
226
|
setData: y,
|
|
@@ -218,7 +236,7 @@ function Gt(r) {
|
|
|
218
236
|
}
|
|
219
237
|
};
|
|
220
238
|
}
|
|
221
|
-
function
|
|
239
|
+
function f0() {
|
|
222
240
|
const r = {}, o = (n, s, t) => {
|
|
223
241
|
r[n] = { opt: s, doEvent: t };
|
|
224
242
|
}, e = (n, s) => {
|
|
@@ -235,8 +253,8 @@ function d0() {
|
|
|
235
253
|
}
|
|
236
254
|
};
|
|
237
255
|
}
|
|
238
|
-
function
|
|
239
|
-
const { bindKey: o, runEvent: e } =
|
|
256
|
+
function Jt(r) {
|
|
257
|
+
const { bindKey: o, runEvent: e } = f0(), { undoHistoryStep: i, cloneSelectedWidget: n, pasteSelectedWidget: s, removeSelectedWidget: t } = c0(r);
|
|
240
258
|
let a = null;
|
|
241
259
|
const l = () => (a = n(), !!a), c = () => a ? s(a) : !1, d = () => (i(), !0), f = () => {
|
|
242
260
|
o("c", { ctrlKey: !0 }, l), o("v", { ctrlKey: !0 }, c), o("z", { ctrlKey: !0 }, d);
|
|
@@ -247,8 +265,8 @@ function Wt(r) {
|
|
|
247
265
|
}
|
|
248
266
|
};
|
|
249
267
|
}
|
|
250
|
-
function
|
|
251
|
-
const { bindKey: o, runEvent: e } =
|
|
268
|
+
function Qt(r) {
|
|
269
|
+
const { bindKey: o, runEvent: e } = f0(), i = () => {
|
|
252
270
|
o("enter", { ctrlKey: !1 }, a), o("arrowleft", { ctrlKey: !0 }, l);
|
|
253
271
|
}, n = (c) => (i(), e(c)), s = "input,select,textarea", t = ["textarea"], a = () => {
|
|
254
272
|
var v, h;
|
|
@@ -280,94 +298,94 @@ function Xt(r) {
|
|
|
280
298
|
addKeyBoardEvent: n
|
|
281
299
|
};
|
|
282
300
|
}
|
|
283
|
-
const
|
|
284
|
-
...
|
|
301
|
+
const kt = ["element-loading-text", "onKeyup"], qt = j3({ componentName: p3.VFormRender, name: p3.VFormRender }), _t = /* @__PURE__ */ j3({
|
|
302
|
+
...qt,
|
|
285
303
|
props: {
|
|
286
|
-
...
|
|
304
|
+
...rt,
|
|
287
305
|
pageData: { type: Object },
|
|
288
306
|
renderConfig: { type: Object }
|
|
289
307
|
},
|
|
290
308
|
setup(r, { expose: o, emit: e }) {
|
|
291
|
-
const i = r, { formModel: n, exposed: s, widgetList: t, pageConfig: a, allWidgetRefList: l } =
|
|
309
|
+
const i = r, { formModel: n, exposed: s, widgetList: t, pageConfig: a, allWidgetRefList: l } = Zt(i), c = s3(() => {
|
|
292
310
|
var p, y;
|
|
293
|
-
return
|
|
294
|
-
}), d = s3(() =>
|
|
311
|
+
return D3.getValue((y = (p = i.designer) == null ? void 0 : p.pageConfig) == null ? void 0 : y.layoutType);
|
|
312
|
+
}), d = s3(() => lt(st(D3.getValue(a == null ? void 0 : a.customClass), !0))), f = s3(() => {
|
|
295
313
|
var p;
|
|
296
|
-
return (p =
|
|
297
|
-
}), u =
|
|
298
|
-
|
|
314
|
+
return (p = D3.getValue(a == null ? void 0 : a.componentWrapperClass)) == null ? void 0 : p.join(" ");
|
|
315
|
+
}), u = W2(!1), v = {};
|
|
316
|
+
nt.globalProvide({
|
|
299
317
|
formRefList: v,
|
|
300
318
|
globalRefList: l,
|
|
301
319
|
globalDataModel: n,
|
|
302
|
-
globalFormName:
|
|
320
|
+
globalFormName: p3.VFormRender
|
|
303
321
|
// globalPageName: widgetVar.VFormRender
|
|
304
|
-
}),
|
|
305
|
-
const h =
|
|
306
|
-
const { addKeyBoardEvent: y } =
|
|
322
|
+
}), Q2(k2.globalConfig, i.renderConfig), Q2(k2.isRenderComplete, u);
|
|
323
|
+
const h = W2(), m = (p) => {
|
|
324
|
+
const { addKeyBoardEvent: y } = Qt(h.value);
|
|
307
325
|
y(p);
|
|
308
326
|
}, g = () => {
|
|
309
|
-
u.value = !0, e(
|
|
327
|
+
u.value = !0, e(l0.renderComplete);
|
|
310
328
|
};
|
|
311
329
|
return o({
|
|
312
330
|
...s,
|
|
313
|
-
componentName:
|
|
331
|
+
componentName: p3.VFormRender
|
|
314
332
|
}), (p, y) => {
|
|
315
|
-
const C =
|
|
316
|
-
return
|
|
317
|
-
"element-loading-text":
|
|
318
|
-
class:
|
|
333
|
+
const C = G0("loading");
|
|
334
|
+
return W0((q2(), l1("div", {
|
|
335
|
+
"element-loading-text": V2(ct).i18nt("designer.hint.loading"),
|
|
336
|
+
class: X0([...V2(d), V2(c) + "-layout", { loadingLayout: !u.value }]),
|
|
319
337
|
tabindex: "0",
|
|
320
338
|
ref_key: "taregtWrapperRef",
|
|
321
339
|
ref: h,
|
|
322
340
|
onKeyup: [
|
|
323
|
-
|
|
324
|
-
|
|
341
|
+
$1(m, ["enter"]),
|
|
342
|
+
$1(m, ["left"])
|
|
325
343
|
]
|
|
326
344
|
}, [
|
|
327
345
|
e1(p.$slots, "header", {}, void 0, !0),
|
|
328
346
|
e1(p.$slots, "default", {}, () => [
|
|
329
|
-
(q2(),
|
|
330
|
-
default:
|
|
331
|
-
|
|
347
|
+
(q2(), O3(Y0, { onResolve: g }, {
|
|
348
|
+
default: J2(() => [
|
|
349
|
+
U2(Mt, {
|
|
332
350
|
designer: p.designer,
|
|
333
|
-
"widget-list":
|
|
334
|
-
model:
|
|
351
|
+
"widget-list": V2(t),
|
|
352
|
+
model: V2(n),
|
|
335
353
|
"design-state": !1,
|
|
336
|
-
"component-class":
|
|
354
|
+
"component-class": V2(f)
|
|
337
355
|
}, null, 8, ["designer", "widget-list", "model", "component-class"])
|
|
338
356
|
]),
|
|
339
357
|
_: 1
|
|
340
358
|
}))
|
|
341
359
|
], !0),
|
|
342
360
|
e1(p.$slots, "footer", {}, void 0, !0)
|
|
343
|
-
], 42,
|
|
361
|
+
], 42, kt)), [
|
|
344
362
|
[C, !u.value]
|
|
345
363
|
]);
|
|
346
364
|
};
|
|
347
365
|
}
|
|
348
366
|
});
|
|
349
|
-
const
|
|
350
|
-
function
|
|
367
|
+
const u0 = /* @__PURE__ */ D1(_t, [["__scopeId", "data-v-527104aa"]]);
|
|
368
|
+
function t4(r) {
|
|
351
369
|
return {
|
|
352
370
|
getSFCCode: () => new Promise((n, s) => {
|
|
353
|
-
import("./sfc-
|
|
371
|
+
import("./sfc-c084412d.js").then((t) => {
|
|
354
372
|
const { genSFC: a } = t, l = a(r == null ? void 0 : r.pageConfig, r == null ? void 0 : r.widgetList, !1);
|
|
355
373
|
n == null || n(l);
|
|
356
374
|
});
|
|
357
375
|
}),
|
|
358
376
|
getFieldItems: () => new Promise((n, s) => {
|
|
359
|
-
import("./sfcview-
|
|
377
|
+
import("./sfcview-35444e54.js").then((t) => {
|
|
360
378
|
const { useGenFieldItemList: a } = t, { filterFieldItems: l } = a(r == null ? void 0 : r.widgetList), c = l();
|
|
361
379
|
n == null || n(c);
|
|
362
380
|
});
|
|
363
381
|
}),
|
|
364
382
|
getCtx: (n) => {
|
|
365
|
-
const { instance: s } =
|
|
366
|
-
return
|
|
383
|
+
const { instance: s } = s0(n);
|
|
384
|
+
return et({ instance: s });
|
|
367
385
|
}
|
|
368
386
|
};
|
|
369
387
|
}
|
|
370
|
-
const
|
|
388
|
+
const e4 = /* @__PURE__ */ j3({
|
|
371
389
|
__name: "layoutdivider",
|
|
372
390
|
props: {
|
|
373
391
|
modelValue: null,
|
|
@@ -388,64 +406,64 @@ const kt = /* @__PURE__ */ N3({
|
|
|
388
406
|
g1(e.maxValue) || i.value > ((e == null ? void 0 : e.maxValue) || 0) && (l = (e == null ? void 0 : e.maxValue) || 0), g1(e.minValue) || i.value < (e.minValue || 0) && (l = (e == null ? void 0 : e.minValue) || 0), g1(l) || (i.value = l), document.removeEventListener("mousemove", t);
|
|
389
407
|
}, t = (l) => {
|
|
390
408
|
i.value = l.screenX;
|
|
391
|
-
}, a =
|
|
392
|
-
return
|
|
409
|
+
}, a = mt(s, 300);
|
|
410
|
+
return r0(() => {
|
|
393
411
|
document.addEventListener("mouseup", a);
|
|
394
|
-
}),
|
|
412
|
+
}), a0(() => {
|
|
395
413
|
document.removeEventListener("mouseup", a);
|
|
396
414
|
}), (l, c) => (q2(), l1("div", {
|
|
397
415
|
class: "resize flex bgWhite",
|
|
398
416
|
onMousedown: n
|
|
399
417
|
}, [
|
|
400
|
-
|
|
418
|
+
U2(Ht, {
|
|
401
419
|
name: "@custom-resize",
|
|
402
420
|
class: "resizeIcon"
|
|
403
421
|
})
|
|
404
422
|
], 32));
|
|
405
423
|
}
|
|
406
424
|
});
|
|
407
|
-
const
|
|
408
|
-
class
|
|
425
|
+
const W1 = /* @__PURE__ */ D1(e4, [["__scopeId", "data-v-bf6aa713"]]);
|
|
426
|
+
class n4 {
|
|
409
427
|
constructor() {
|
|
410
428
|
/**
|
|
411
429
|
* 设计器主题颜色
|
|
412
430
|
*/
|
|
413
|
-
|
|
431
|
+
j1(this, "themeColor", i0.color1);
|
|
414
432
|
}
|
|
415
433
|
}
|
|
416
|
-
const
|
|
417
|
-
...
|
|
434
|
+
const o4 = { class: "full-height-width noscrollbar" }, r4 = j3({ componentName: p3.VFormDesigner, name: p3.VFormDesigner }), a4 = /* @__PURE__ */ j3({
|
|
435
|
+
...r4,
|
|
418
436
|
props: {
|
|
419
437
|
fieldList: null,
|
|
420
438
|
bannedWidgets: { default: () => [] },
|
|
421
439
|
pageTemplates: null,
|
|
422
440
|
exampleCodes: null,
|
|
423
|
-
designerConfig: { default: () => new
|
|
424
|
-
renderConfig: { default: () => new
|
|
441
|
+
designerConfig: { default: () => new Et() },
|
|
442
|
+
renderConfig: { default: () => new n4() },
|
|
425
443
|
designerJson: null
|
|
426
444
|
},
|
|
427
445
|
setup(r, { expose: o }) {
|
|
428
446
|
var E, T;
|
|
429
|
-
const e = r, { onMountedOrActivated: i } =
|
|
430
|
-
|
|
431
|
-
const s =
|
|
432
|
-
|
|
447
|
+
const e = r, { onMountedOrActivated: i } = yt(), n = W2(!1);
|
|
448
|
+
Q2(k2.getDesignerConfig, e.designerConfig), Q2(k2.getBannedWidgets, e.bannedWidgets), Q2(k2.getPageTemplates, e.pageTemplates), Q2(k2.getExampleCode, e.exampleCodes), Q2(k2.serverFieldList, e.fieldList), Q2(k2.globalConfig, e.renderConfig), Q2(k2.isRenderComplete, n);
|
|
449
|
+
const s = Ct(e.designerJson, !!((E = e.designerConfig) != null && E.resetPageJson), !!((T = e.designerConfig) != null && T.radomKey)), t = Z0(s);
|
|
450
|
+
o0(() => e.designerJson, (I) => {
|
|
433
451
|
C(I);
|
|
434
452
|
});
|
|
435
|
-
const a = s3(() => t.version), l =
|
|
436
|
-
d.value = X3(() => import("./index-
|
|
437
|
-
}, m =
|
|
438
|
-
const I =
|
|
453
|
+
const a = s3(() => t.version), l = W2(), c = W2(), d = G3(), f = G3(), u = G3(), v = G3(), h = () => {
|
|
454
|
+
d.value = X3(() => import("./index-47333282.js")), f.value = X3(() => import("./index-57266e1d.js")), u.value = X3(() => import("./index-4121f492.js").then((I) => I.i)), v.value = X3(() => import("./index-1844520a.js"));
|
|
455
|
+
}, m = W2(), g = () => {
|
|
456
|
+
const I = wt(".page-widget-main .el-scrollbar");
|
|
439
457
|
m.value = I - 80 + "px";
|
|
440
458
|
};
|
|
441
|
-
|
|
459
|
+
ot(() => {
|
|
442
460
|
H1(() => {
|
|
443
461
|
g();
|
|
444
462
|
});
|
|
445
463
|
});
|
|
446
|
-
const { getSFCCode: p } =
|
|
464
|
+
const { getSFCCode: p } = t4(t), { getPageJson: y, loadPageJson: C } = c0(t), { addKeyBoardEvent: S } = Jt(t), w = (I) => {
|
|
447
465
|
S(I), I.preventDefault();
|
|
448
|
-
}, M = window.innerWidth, D =
|
|
466
|
+
}, M = window.innerWidth, D = W2(250), P = W2(M - 320);
|
|
449
467
|
return i(() => {
|
|
450
468
|
H1(() => {
|
|
451
469
|
h(), g();
|
|
@@ -454,63 +472,63 @@ const _t = { class: "full-height-width noscrollbar" }, t4 = N3({ componentName:
|
|
|
454
472
|
getPageJson: y,
|
|
455
473
|
loadPageJson: C,
|
|
456
474
|
getSFCCode: p
|
|
457
|
-
}), (I,
|
|
458
|
-
const V =
|
|
459
|
-
return q2(), l1("div",
|
|
460
|
-
|
|
461
|
-
default:
|
|
462
|
-
|
|
475
|
+
}), (I, $) => {
|
|
476
|
+
const V = C3("el-aside"), O = C3("el-header"), j = C3("el-scrollbar"), L = C3("el-main"), N = C3("el-container");
|
|
477
|
+
return q2(), l1("div", o4, [
|
|
478
|
+
U2(N, { class: "full-height noscrollbar" }, {
|
|
479
|
+
default: J2(() => [
|
|
480
|
+
U2(V, {
|
|
463
481
|
class: "noscrollbar left-panel",
|
|
464
482
|
width: `${D.value}px`,
|
|
465
483
|
tabindex: "0",
|
|
466
484
|
onKeydown: w
|
|
467
485
|
}, {
|
|
468
|
-
default:
|
|
469
|
-
(q2(),
|
|
470
|
-
key: `WidgetPanel${
|
|
486
|
+
default: J2(() => [
|
|
487
|
+
(q2(), O3(W3(V2(d)), {
|
|
488
|
+
key: `WidgetPanel${V2(a)}`,
|
|
471
489
|
class: "full-height-width bgWhite",
|
|
472
490
|
designer: t
|
|
473
491
|
}, null, 8, ["designer"]))
|
|
474
492
|
]),
|
|
475
493
|
_: 1
|
|
476
494
|
}, 8, ["width"]),
|
|
477
|
-
|
|
495
|
+
U2(W1, {
|
|
478
496
|
modelValue: D.value,
|
|
479
|
-
"onUpdate:modelValue":
|
|
497
|
+
"onUpdate:modelValue": $[0] || ($[0] = (Q) => D.value = Q),
|
|
480
498
|
minValue: 200,
|
|
481
499
|
maxValue: 500
|
|
482
500
|
}, null, 8, ["modelValue"]),
|
|
483
|
-
|
|
484
|
-
default:
|
|
485
|
-
|
|
486
|
-
default:
|
|
487
|
-
(q2(),
|
|
501
|
+
U2(L, { class: "noscrollbar nopadding" }, {
|
|
502
|
+
default: J2(() => [
|
|
503
|
+
U2(O, { class: "toolbar-header nopadding bgWhite" }, {
|
|
504
|
+
default: J2(() => [
|
|
505
|
+
(q2(), O3(W3(V2(v)), {
|
|
488
506
|
designer: t,
|
|
489
507
|
"designer-config": r.designerConfig,
|
|
490
|
-
key: `ToolbarPanel${
|
|
508
|
+
key: `ToolbarPanel${V2(a)}`,
|
|
491
509
|
"render-config": r.renderConfig,
|
|
492
510
|
ref: l.value
|
|
493
511
|
}, {
|
|
494
|
-
default:
|
|
495
|
-
(q2(!0), l1(
|
|
512
|
+
default: J2(() => [
|
|
513
|
+
(q2(!0), l1(J0, null, Q0(I.$slots, (Q, o2) => e1(I.$slots, o2, {}, void 0, !0)), 256))
|
|
496
514
|
]),
|
|
497
515
|
_: 3
|
|
498
516
|
}, 8, ["designer", "designer-config", "render-config"]))
|
|
499
517
|
]),
|
|
500
518
|
_: 3
|
|
501
519
|
}),
|
|
502
|
-
|
|
520
|
+
U2(L, {
|
|
503
521
|
class: "page-widget-main full-height-width nopadding",
|
|
504
522
|
tabindex: "0",
|
|
505
523
|
onKeydown: w
|
|
506
524
|
}, {
|
|
507
|
-
default:
|
|
508
|
-
|
|
509
|
-
default:
|
|
510
|
-
(q2(),
|
|
525
|
+
default: J2(() => [
|
|
526
|
+
U2(j, null, {
|
|
527
|
+
default: J2(() => [
|
|
528
|
+
(q2(), O3(W3(V2(f)), {
|
|
511
529
|
panelHeight: m.value,
|
|
512
530
|
designer: t,
|
|
513
|
-
key: `PageWidget${
|
|
531
|
+
key: `PageWidget${V2(a)}`,
|
|
514
532
|
"designer-config": r.designerConfig,
|
|
515
533
|
ref_key: "pageWidgetRef",
|
|
516
534
|
ref: c
|
|
@@ -524,20 +542,20 @@ const _t = { class: "full-height-width noscrollbar" }, t4 = N3({ componentName:
|
|
|
524
542
|
]),
|
|
525
543
|
_: 3
|
|
526
544
|
}),
|
|
527
|
-
|
|
545
|
+
U2(W1, {
|
|
528
546
|
modelValue: P.value,
|
|
529
|
-
"onUpdate:modelValue":
|
|
547
|
+
"onUpdate:modelValue": $[1] || ($[1] = (Q) => P.value = Q)
|
|
530
548
|
}, null, 8, ["modelValue"]),
|
|
531
|
-
|
|
549
|
+
U2(V, {
|
|
532
550
|
class: "noscrollbar right-panel",
|
|
533
|
-
width: `${
|
|
551
|
+
width: `${V2(M) - P.value}px`
|
|
534
552
|
}, {
|
|
535
|
-
default:
|
|
536
|
-
(q2(),
|
|
553
|
+
default: J2(() => [
|
|
554
|
+
(q2(), O3(W3(V2(u)), {
|
|
537
555
|
class: "bgWhite",
|
|
538
556
|
designer: t,
|
|
539
557
|
"render-config": r.renderConfig,
|
|
540
|
-
key: `SettingPanel${
|
|
558
|
+
key: `SettingPanel${V2(a)}`
|
|
541
559
|
}, null, 8, ["designer", "render-config"]))
|
|
542
560
|
]),
|
|
543
561
|
_: 1
|
|
@@ -549,8 +567,8 @@ const _t = { class: "full-height-width noscrollbar" }, t4 = N3({ componentName:
|
|
|
549
567
|
};
|
|
550
568
|
}
|
|
551
569
|
});
|
|
552
|
-
const
|
|
553
|
-
var V1 = {},
|
|
570
|
+
const v0 = /* @__PURE__ */ D1(a4, [["__scopeId", "data-v-ba3aa756"]]);
|
|
571
|
+
var V1 = {}, i4 = {
|
|
554
572
|
get exports() {
|
|
555
573
|
return V1;
|
|
556
574
|
},
|
|
@@ -564,7 +582,7 @@ var V1 = {}, n4 = {
|
|
|
564
582
|
* @author owenm <owen23355@gmail.com>
|
|
565
583
|
* @license MIT
|
|
566
584
|
*/
|
|
567
|
-
function
|
|
585
|
+
function X1(r, o) {
|
|
568
586
|
var e = Object.keys(r);
|
|
569
587
|
if (Object.getOwnPropertySymbols) {
|
|
570
588
|
var i = Object.getOwnPropertySymbols(r);
|
|
@@ -574,12 +592,12 @@ function W1(r, o) {
|
|
|
574
592
|
}
|
|
575
593
|
return e;
|
|
576
594
|
}
|
|
577
|
-
function
|
|
595
|
+
function Z2(r) {
|
|
578
596
|
for (var o = 1; o < arguments.length; o++) {
|
|
579
597
|
var e = arguments[o] != null ? arguments[o] : {};
|
|
580
|
-
o % 2 ?
|
|
581
|
-
|
|
582
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(e)) :
|
|
598
|
+
o % 2 ? X1(Object(e), !0).forEach(function(i) {
|
|
599
|
+
l4(r, i, e[i]);
|
|
600
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(e)) : X1(Object(e)).forEach(function(i) {
|
|
583
601
|
Object.defineProperty(r, i, Object.getOwnPropertyDescriptor(e, i));
|
|
584
602
|
});
|
|
585
603
|
}
|
|
@@ -592,7 +610,7 @@ function n1(r) {
|
|
|
592
610
|
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
593
611
|
}, n1(r);
|
|
594
612
|
}
|
|
595
|
-
function
|
|
613
|
+
function l4(r, o, e) {
|
|
596
614
|
return o in r ? Object.defineProperty(r, o, {
|
|
597
615
|
value: e,
|
|
598
616
|
enumerable: !0,
|
|
@@ -600,17 +618,17 @@ function o4(r, o, e) {
|
|
|
600
618
|
writable: !0
|
|
601
619
|
}) : r[o] = e, r;
|
|
602
620
|
}
|
|
603
|
-
function
|
|
604
|
-
return
|
|
621
|
+
function B2() {
|
|
622
|
+
return B2 = Object.assign || function(r) {
|
|
605
623
|
for (var o = 1; o < arguments.length; o++) {
|
|
606
624
|
var e = arguments[o];
|
|
607
625
|
for (var i in e)
|
|
608
626
|
Object.prototype.hasOwnProperty.call(e, i) && (r[i] = e[i]);
|
|
609
627
|
}
|
|
610
628
|
return r;
|
|
611
|
-
},
|
|
629
|
+
}, B2.apply(this, arguments);
|
|
612
630
|
}
|
|
613
|
-
function
|
|
631
|
+
function s4(r, o) {
|
|
614
632
|
if (r == null)
|
|
615
633
|
return {};
|
|
616
634
|
var e = {}, i = Object.keys(r), n, s;
|
|
@@ -618,10 +636,10 @@ function r4(r, o) {
|
|
|
618
636
|
n = i[s], !(o.indexOf(n) >= 0) && (e[n] = r[n]);
|
|
619
637
|
return e;
|
|
620
638
|
}
|
|
621
|
-
function
|
|
639
|
+
function c4(r, o) {
|
|
622
640
|
if (r == null)
|
|
623
641
|
return {};
|
|
624
|
-
var e =
|
|
642
|
+
var e = s4(r, o), i, n;
|
|
625
643
|
if (Object.getOwnPropertySymbols) {
|
|
626
644
|
var s = Object.getOwnPropertySymbols(r);
|
|
627
645
|
for (n = 0; n < s.length; n++)
|
|
@@ -629,18 +647,18 @@ function a4(r, o) {
|
|
|
629
647
|
}
|
|
630
648
|
return e;
|
|
631
649
|
}
|
|
632
|
-
function
|
|
633
|
-
return
|
|
650
|
+
function d4(r) {
|
|
651
|
+
return f4(r) || u4(r) || v4(r) || h4();
|
|
634
652
|
}
|
|
635
|
-
function
|
|
653
|
+
function f4(r) {
|
|
636
654
|
if (Array.isArray(r))
|
|
637
655
|
return O1(r);
|
|
638
656
|
}
|
|
639
|
-
function
|
|
657
|
+
function u4(r) {
|
|
640
658
|
if (typeof Symbol < "u" && r[Symbol.iterator] != null || r["@@iterator"] != null)
|
|
641
659
|
return Array.from(r);
|
|
642
660
|
}
|
|
643
|
-
function
|
|
661
|
+
function v4(r, o) {
|
|
644
662
|
if (r) {
|
|
645
663
|
if (typeof r == "string")
|
|
646
664
|
return O1(r, o);
|
|
@@ -657,24 +675,24 @@ function O1(r, o) {
|
|
|
657
675
|
i[e] = r[e];
|
|
658
676
|
return i;
|
|
659
677
|
}
|
|
660
|
-
function
|
|
678
|
+
function h4() {
|
|
661
679
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
662
680
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
663
681
|
}
|
|
664
|
-
var
|
|
682
|
+
var m4 = "1.14.0";
|
|
665
683
|
function _2(r) {
|
|
666
684
|
if (typeof window < "u" && window.navigator)
|
|
667
685
|
return !!/* @__PURE__ */ navigator.userAgent.match(r);
|
|
668
686
|
}
|
|
669
|
-
var t3 = _2(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),
|
|
687
|
+
var t3 = _2(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), $3 = _2(/Edge/i), Y1 = _2(/firefox/i), P3 = _2(/safari/i) && !_2(/chrome/i) && !_2(/android/i), h0 = _2(/iP(ad|od|hone)/i), g4 = _2(/chrome/i) && _2(/android/i), m0 = {
|
|
670
688
|
capture: !1,
|
|
671
689
|
passive: !1
|
|
672
690
|
};
|
|
673
|
-
function
|
|
674
|
-
r.addEventListener(o, e, !t3 &&
|
|
691
|
+
function _(r, o, e) {
|
|
692
|
+
r.addEventListener(o, e, !t3 && m0);
|
|
675
693
|
}
|
|
676
694
|
function k(r, o, e) {
|
|
677
|
-
r.removeEventListener(o, e, !t3 &&
|
|
695
|
+
r.removeEventListener(o, e, !t3 && m0);
|
|
678
696
|
}
|
|
679
697
|
function s1(r, o) {
|
|
680
698
|
if (o) {
|
|
@@ -692,10 +710,10 @@ function s1(r, o) {
|
|
|
692
710
|
return !1;
|
|
693
711
|
}
|
|
694
712
|
}
|
|
695
|
-
function
|
|
713
|
+
function p4(r) {
|
|
696
714
|
return r.host && r !== document && r.host.nodeType ? r.host : r.parentNode;
|
|
697
715
|
}
|
|
698
|
-
function
|
|
716
|
+
function G2(r, o, e, i) {
|
|
699
717
|
if (r) {
|
|
700
718
|
e = e || document;
|
|
701
719
|
do {
|
|
@@ -703,18 +721,18 @@ function K2(r, o, e, i) {
|
|
|
703
721
|
return r;
|
|
704
722
|
if (r === e)
|
|
705
723
|
break;
|
|
706
|
-
} while (r =
|
|
724
|
+
} while (r = p4(r));
|
|
707
725
|
}
|
|
708
726
|
return null;
|
|
709
727
|
}
|
|
710
|
-
var
|
|
728
|
+
var Z1 = /\s+/g;
|
|
711
729
|
function u2(r, o, e) {
|
|
712
730
|
if (r && o)
|
|
713
731
|
if (r.classList)
|
|
714
732
|
r.classList[e ? "add" : "remove"](o);
|
|
715
733
|
else {
|
|
716
|
-
var i = (" " + r.className + " ").replace(
|
|
717
|
-
r.className = (i + (e ? " " + o : "")).replace(
|
|
734
|
+
var i = (" " + r.className + " ").replace(Z1, " ").replace(" " + o + " ", " ");
|
|
735
|
+
r.className = (i + (e ? " " + o : "")).replace(Z1, " ");
|
|
718
736
|
}
|
|
719
737
|
}
|
|
720
738
|
function B(r, o, e) {
|
|
@@ -737,7 +755,7 @@ function c3(r, o) {
|
|
|
737
755
|
var n = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
738
756
|
return n && new n(e);
|
|
739
757
|
}
|
|
740
|
-
function
|
|
758
|
+
function g0(r, o, e) {
|
|
741
759
|
if (r) {
|
|
742
760
|
var i = r.getElementsByTagName(o), n = 0, s = i.length;
|
|
743
761
|
if (e)
|
|
@@ -747,14 +765,14 @@ function m0(r, o, e) {
|
|
|
747
765
|
}
|
|
748
766
|
return [];
|
|
749
767
|
}
|
|
750
|
-
function
|
|
768
|
+
function Y2() {
|
|
751
769
|
var r = document.scrollingElement;
|
|
752
770
|
return r || document.documentElement;
|
|
753
771
|
}
|
|
754
772
|
function d2(r, o, e, i, n) {
|
|
755
773
|
if (!(!r.getBoundingClientRect && r !== window)) {
|
|
756
774
|
var s, t, a, l, c, d, f;
|
|
757
|
-
if (r !== window && r.parentNode && r !==
|
|
775
|
+
if (r !== window && r.parentNode && r !== Y2() ? (s = r.getBoundingClientRect(), t = s.top, a = s.left, l = s.bottom, c = s.right, d = s.height, f = s.width) : (t = 0, a = 0, l = window.innerHeight, c = window.innerWidth, d = window.innerHeight, f = window.innerWidth), (o || e) && r !== window && (n = n || r.parentNode, !t3))
|
|
758
776
|
do
|
|
759
777
|
if (n && n.getBoundingClientRect && (B(n, "transform") !== "none" || e && B(n, "position") !== "static")) {
|
|
760
778
|
var u = n.getBoundingClientRect();
|
|
@@ -776,20 +794,20 @@ function d2(r, o, e, i, n) {
|
|
|
776
794
|
};
|
|
777
795
|
}
|
|
778
796
|
}
|
|
779
|
-
function
|
|
797
|
+
function J1(r, o, e) {
|
|
780
798
|
for (var i = r3(r, !0), n = d2(r)[o]; i; ) {
|
|
781
799
|
var s = d2(i)[e], t = void 0;
|
|
782
800
|
if (e === "top" || e === "left" ? t = n >= s : t = n <= s, !t)
|
|
783
801
|
return i;
|
|
784
|
-
if (i ===
|
|
802
|
+
if (i === Y2())
|
|
785
803
|
break;
|
|
786
804
|
i = r3(i, !1);
|
|
787
805
|
}
|
|
788
806
|
return !1;
|
|
789
807
|
}
|
|
790
|
-
function
|
|
808
|
+
function y3(r, o, e, i) {
|
|
791
809
|
for (var n = 0, s = 0, t = r.children; s < t.length; ) {
|
|
792
|
-
if (t[s].style.display !== "none" && t[s] !==
|
|
810
|
+
if (t[s].style.display !== "none" && t[s] !== G.ghost && (i || t[s] !== G.dragged) && G2(t[s], e.draggable, r, !1)) {
|
|
793
811
|
if (n === o)
|
|
794
812
|
return t[s];
|
|
795
813
|
n++;
|
|
@@ -798,21 +816,21 @@ function p3(r, o, e, i) {
|
|
|
798
816
|
}
|
|
799
817
|
return null;
|
|
800
818
|
}
|
|
801
|
-
function
|
|
802
|
-
for (var e = r.lastElementChild; e && (e ===
|
|
819
|
+
function R1(r, o) {
|
|
820
|
+
for (var e = r.lastElementChild; e && (e === G.ghost || B(e, "display") === "none" || o && !s1(e, o)); )
|
|
803
821
|
e = e.previousElementSibling;
|
|
804
822
|
return e || null;
|
|
805
823
|
}
|
|
806
|
-
function
|
|
824
|
+
function g2(r, o) {
|
|
807
825
|
var e = 0;
|
|
808
826
|
if (!r || !r.parentNode)
|
|
809
827
|
return -1;
|
|
810
828
|
for (; r = r.previousElementSibling; )
|
|
811
|
-
r.nodeName.toUpperCase() !== "TEMPLATE" && r !==
|
|
829
|
+
r.nodeName.toUpperCase() !== "TEMPLATE" && r !== G.clone && (!o || s1(r, o)) && e++;
|
|
812
830
|
return e;
|
|
813
831
|
}
|
|
814
|
-
function
|
|
815
|
-
var o = 0, e = 0, i =
|
|
832
|
+
function Q1(r) {
|
|
833
|
+
var o = 0, e = 0, i = Y2();
|
|
816
834
|
if (r)
|
|
817
835
|
do {
|
|
818
836
|
var n = c3(r), s = n.a, t = n.d;
|
|
@@ -820,7 +838,7 @@ function J1(r) {
|
|
|
820
838
|
} while (r !== i && (r = r.parentNode));
|
|
821
839
|
return [o, e];
|
|
822
840
|
}
|
|
823
|
-
function
|
|
841
|
+
function y4(r, o) {
|
|
824
842
|
for (var e in r)
|
|
825
843
|
if (r.hasOwnProperty(e)) {
|
|
826
844
|
for (var i in o)
|
|
@@ -831,23 +849,23 @@ function h4(r, o) {
|
|
|
831
849
|
}
|
|
832
850
|
function r3(r, o) {
|
|
833
851
|
if (!r || !r.getBoundingClientRect)
|
|
834
|
-
return
|
|
852
|
+
return Y2();
|
|
835
853
|
var e = r, i = !1;
|
|
836
854
|
do
|
|
837
855
|
if (e.clientWidth < e.scrollWidth || e.clientHeight < e.scrollHeight) {
|
|
838
856
|
var n = B(e);
|
|
839
857
|
if (e.clientWidth < e.scrollWidth && (n.overflowX == "auto" || n.overflowX == "scroll") || e.clientHeight < e.scrollHeight && (n.overflowY == "auto" || n.overflowY == "scroll")) {
|
|
840
858
|
if (!e.getBoundingClientRect || e === document.body)
|
|
841
|
-
return
|
|
859
|
+
return Y2();
|
|
842
860
|
if (i || o)
|
|
843
861
|
return e;
|
|
844
862
|
i = !0;
|
|
845
863
|
}
|
|
846
864
|
}
|
|
847
865
|
while (e = e.parentNode);
|
|
848
|
-
return
|
|
866
|
+
return Y2();
|
|
849
867
|
}
|
|
850
|
-
function
|
|
868
|
+
function b4(r, o) {
|
|
851
869
|
if (r && o)
|
|
852
870
|
for (var e in o)
|
|
853
871
|
o.hasOwnProperty(e) && (r[e] = o[e]);
|
|
@@ -856,47 +874,47 @@ function m4(r, o) {
|
|
|
856
874
|
function p1(r, o) {
|
|
857
875
|
return Math.round(r.top) === Math.round(o.top) && Math.round(r.left) === Math.round(o.left) && Math.round(r.height) === Math.round(o.height) && Math.round(r.width) === Math.round(o.width);
|
|
858
876
|
}
|
|
859
|
-
var
|
|
860
|
-
function
|
|
877
|
+
var R3;
|
|
878
|
+
function p0(r, o) {
|
|
861
879
|
return function() {
|
|
862
|
-
if (!
|
|
880
|
+
if (!R3) {
|
|
863
881
|
var e = arguments, i = this;
|
|
864
|
-
e.length === 1 ? r.call(i, e[0]) : r.apply(i, e),
|
|
865
|
-
|
|
882
|
+
e.length === 1 ? r.call(i, e[0]) : r.apply(i, e), R3 = setTimeout(function() {
|
|
883
|
+
R3 = void 0;
|
|
866
884
|
}, o);
|
|
867
885
|
}
|
|
868
886
|
};
|
|
869
887
|
}
|
|
870
|
-
function
|
|
871
|
-
clearTimeout(
|
|
888
|
+
function x4() {
|
|
889
|
+
clearTimeout(R3), R3 = void 0;
|
|
872
890
|
}
|
|
873
|
-
function
|
|
891
|
+
function y0(r, o, e) {
|
|
874
892
|
r.scrollLeft += o, r.scrollTop += e;
|
|
875
893
|
}
|
|
876
|
-
function
|
|
894
|
+
function B1(r) {
|
|
877
895
|
var o = window.Polymer, e = window.jQuery || window.Zepto;
|
|
878
896
|
return o && o.dom ? o.dom(r).cloneNode(!0) : e ? e(r).clone(!0)[0] : r.cloneNode(!0);
|
|
879
897
|
}
|
|
880
|
-
function
|
|
898
|
+
function k1(r, o) {
|
|
881
899
|
B(r, "position", "absolute"), B(r, "top", o.top), B(r, "left", o.left), B(r, "width", o.width), B(r, "height", o.height);
|
|
882
900
|
}
|
|
883
901
|
function y1(r) {
|
|
884
902
|
B(r, "position", ""), B(r, "top", ""), B(r, "left", ""), B(r, "width", ""), B(r, "height", "");
|
|
885
903
|
}
|
|
886
|
-
var
|
|
887
|
-
function
|
|
904
|
+
var E2 = "Sortable" + new Date().getTime();
|
|
905
|
+
function z4() {
|
|
888
906
|
var r = [], o;
|
|
889
907
|
return {
|
|
890
908
|
captureAnimationState: function() {
|
|
891
909
|
if (r = [], !!this.options.animation) {
|
|
892
910
|
var i = [].slice.call(this.el.children);
|
|
893
911
|
i.forEach(function(n) {
|
|
894
|
-
if (!(B(n, "display") === "none" || n ===
|
|
912
|
+
if (!(B(n, "display") === "none" || n === G.ghost)) {
|
|
895
913
|
r.push({
|
|
896
914
|
target: n,
|
|
897
915
|
rect: d2(n)
|
|
898
916
|
});
|
|
899
|
-
var s =
|
|
917
|
+
var s = Z2({}, r[r.length - 1].rect);
|
|
900
918
|
if (n.thisAnimationDuration) {
|
|
901
919
|
var t = c3(n, !0);
|
|
902
920
|
t && (s.top -= t.f, s.left -= t.e);
|
|
@@ -910,7 +928,7 @@ function p4() {
|
|
|
910
928
|
r.push(i);
|
|
911
929
|
},
|
|
912
930
|
removeAnimationState: function(i) {
|
|
913
|
-
r.splice(
|
|
931
|
+
r.splice(y4(r, {
|
|
914
932
|
target: i
|
|
915
933
|
}), 1);
|
|
916
934
|
},
|
|
@@ -923,7 +941,7 @@ function p4() {
|
|
|
923
941
|
var s = !1, t = 0;
|
|
924
942
|
r.forEach(function(a) {
|
|
925
943
|
var l = 0, c = a.target, d = c.fromRect, f = d2(c), u = c.prevFromRect, v = c.prevToRect, h = a.rect, m = c3(c, !0);
|
|
926
|
-
m && (f.top -= m.f, f.left -= m.e), c.toRect = f, c.thisAnimationDuration && p1(u, f) && !p1(d, f) && (h.top - f.top) / (h.left - f.left) === (d.top - f.top) / (d.left - f.left) && (l =
|
|
944
|
+
m && (f.top -= m.f, f.left -= m.e), c.toRect = f, c.thisAnimationDuration && p1(u, f) && !p1(d, f) && (h.top - f.top) / (h.left - f.left) === (d.top - f.top) / (d.left - f.left) && (l = M4(h, u, v, n.options)), p1(f, d) || (c.prevFromRect = d, c.prevToRect = f, l || (l = n.options.animation), n.animate(c, h, f, l)), l && (s = !0, t = Math.max(t, l), clearTimeout(c.animationResetTimer), c.animationResetTimer = setTimeout(function() {
|
|
927
945
|
c.animationTime = 0, c.prevFromRect = null, c.fromRect = null, c.prevToRect = null, c.thisAnimationDuration = null;
|
|
928
946
|
}, l), c.thisAnimationDuration = l);
|
|
929
947
|
}), clearTimeout(o), s ? o = setTimeout(function() {
|
|
@@ -934,29 +952,29 @@ function p4() {
|
|
|
934
952
|
if (t) {
|
|
935
953
|
B(i, "transition", ""), B(i, "transform", "");
|
|
936
954
|
var a = c3(this.el), l = a && a.a, c = a && a.d, d = (n.left - s.left) / (l || 1), f = (n.top - s.top) / (c || 1);
|
|
937
|
-
i.animatingX = !!d, i.animatingY = !!f, B(i, "transform", "translate3d(" + d + "px," + f + "px,0)"), this.forRepaintDummy =
|
|
955
|
+
i.animatingX = !!d, i.animatingY = !!f, B(i, "transform", "translate3d(" + d + "px," + f + "px,0)"), this.forRepaintDummy = S4(i), B(i, "transition", "transform " + t + "ms" + (this.options.easing ? " " + this.options.easing : "")), B(i, "transform", "translate3d(0,0,0)"), typeof i.animated == "number" && clearTimeout(i.animated), i.animated = setTimeout(function() {
|
|
938
956
|
B(i, "transition", ""), B(i, "transform", ""), i.animated = !1, i.animatingX = !1, i.animatingY = !1;
|
|
939
957
|
}, t);
|
|
940
958
|
}
|
|
941
959
|
}
|
|
942
960
|
};
|
|
943
961
|
}
|
|
944
|
-
function
|
|
962
|
+
function S4(r) {
|
|
945
963
|
return r.offsetWidth;
|
|
946
964
|
}
|
|
947
|
-
function
|
|
965
|
+
function M4(r, o, e, i) {
|
|
948
966
|
return Math.sqrt(Math.pow(o.top - r.top, 2) + Math.pow(o.left - r.left, 2)) / Math.sqrt(Math.pow(o.top - e.top, 2) + Math.pow(o.left - e.left, 2)) * i.animation;
|
|
949
967
|
}
|
|
950
|
-
var
|
|
968
|
+
var u3 = [], b1 = {
|
|
951
969
|
initializeByDefault: !0
|
|
952
|
-
},
|
|
970
|
+
}, K3 = {
|
|
953
971
|
mount: function(o) {
|
|
954
972
|
for (var e in b1)
|
|
955
973
|
b1.hasOwnProperty(e) && !(e in o) && (o[e] = b1[e]);
|
|
956
|
-
|
|
974
|
+
u3.forEach(function(i) {
|
|
957
975
|
if (i.pluginName === o.pluginName)
|
|
958
976
|
throw "Sortable: Cannot mount plugin ".concat(o.pluginName, " more than once");
|
|
959
|
-
}),
|
|
977
|
+
}), u3.push(o);
|
|
960
978
|
},
|
|
961
979
|
pluginEvent: function(o, e, i) {
|
|
962
980
|
var n = this;
|
|
@@ -964,20 +982,20 @@ var f3 = [], b1 = {
|
|
|
964
982
|
n.eventCanceled = !0;
|
|
965
983
|
};
|
|
966
984
|
var s = o + "Global";
|
|
967
|
-
|
|
968
|
-
e[t.pluginName] && (e[t.pluginName][s] && e[t.pluginName][s](
|
|
985
|
+
u3.forEach(function(t) {
|
|
986
|
+
e[t.pluginName] && (e[t.pluginName][s] && e[t.pluginName][s](Z2({
|
|
969
987
|
sortable: e
|
|
970
|
-
}, i)), e.options[t.pluginName] && e[t.pluginName][o] && e[t.pluginName][o](
|
|
988
|
+
}, i)), e.options[t.pluginName] && e[t.pluginName][o] && e[t.pluginName][o](Z2({
|
|
971
989
|
sortable: e
|
|
972
990
|
}, i)));
|
|
973
991
|
});
|
|
974
992
|
},
|
|
975
993
|
initializePlugins: function(o, e, i, n) {
|
|
976
|
-
|
|
994
|
+
u3.forEach(function(a) {
|
|
977
995
|
var l = a.pluginName;
|
|
978
996
|
if (!(!o.options[l] && !a.initializeByDefault)) {
|
|
979
997
|
var c = new a(o, e, o.options);
|
|
980
|
-
c.sortable = o, c.options = o.options, o[l] = c,
|
|
998
|
+
c.sortable = o, c.options = o.options, o[l] = c, B2(i, c.defaults);
|
|
981
999
|
}
|
|
982
1000
|
});
|
|
983
1001
|
for (var s in o.options)
|
|
@@ -988,52 +1006,52 @@ var f3 = [], b1 = {
|
|
|
988
1006
|
},
|
|
989
1007
|
getEventProperties: function(o, e) {
|
|
990
1008
|
var i = {};
|
|
991
|
-
return
|
|
992
|
-
typeof n.eventProperties == "function" &&
|
|
1009
|
+
return u3.forEach(function(n) {
|
|
1010
|
+
typeof n.eventProperties == "function" && B2(i, n.eventProperties.call(e[n.pluginName], o));
|
|
993
1011
|
}), i;
|
|
994
1012
|
},
|
|
995
1013
|
modifyOption: function(o, e, i) {
|
|
996
1014
|
var n;
|
|
997
|
-
return
|
|
1015
|
+
return u3.forEach(function(s) {
|
|
998
1016
|
o[s.pluginName] && s.optionListeners && typeof s.optionListeners[e] == "function" && (n = s.optionListeners[e].call(o[s.pluginName], i));
|
|
999
1017
|
}), n;
|
|
1000
1018
|
}
|
|
1001
1019
|
};
|
|
1002
|
-
function
|
|
1020
|
+
function A3(r) {
|
|
1003
1021
|
var o = r.sortable, e = r.rootEl, i = r.name, n = r.targetEl, s = r.cloneEl, t = r.toEl, a = r.fromEl, l = r.oldIndex, c = r.newIndex, d = r.oldDraggableIndex, f = r.newDraggableIndex, u = r.originalEvent, v = r.putSortable, h = r.extraEventProperties;
|
|
1004
|
-
if (o = o || e && e[
|
|
1022
|
+
if (o = o || e && e[E2], !!o) {
|
|
1005
1023
|
var m, g = o.options, p = "on" + i.charAt(0).toUpperCase() + i.substr(1);
|
|
1006
|
-
window.CustomEvent && !t3 &&
|
|
1024
|
+
window.CustomEvent && !t3 && !$3 ? m = new CustomEvent(i, {
|
|
1007
1025
|
bubbles: !0,
|
|
1008
1026
|
cancelable: !0
|
|
1009
1027
|
}) : (m = document.createEvent("Event"), m.initEvent(i, !0, !0)), m.to = t || e, m.from = a || e, m.item = n || e, m.clone = s, m.oldIndex = l, m.newIndex = c, m.oldDraggableIndex = d, m.newDraggableIndex = f, m.originalEvent = u, m.pullMode = v ? v.lastPutMode : void 0;
|
|
1010
|
-
var y =
|
|
1028
|
+
var y = Z2(Z2({}, h), K3.getEventProperties(i, o));
|
|
1011
1029
|
for (var C in y)
|
|
1012
1030
|
m[C] = y[C];
|
|
1013
1031
|
e && e.dispatchEvent(m), g[p] && g[p].call(o, m);
|
|
1014
1032
|
}
|
|
1015
1033
|
}
|
|
1016
|
-
var
|
|
1017
|
-
var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = i.evt, s =
|
|
1018
|
-
|
|
1034
|
+
var E4 = ["evt"], A2 = function(o, e) {
|
|
1035
|
+
var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = i.evt, s = c4(i, E4);
|
|
1036
|
+
K3.pluginEvent.bind(G)(o, e, Z2({
|
|
1019
1037
|
dragEl: A,
|
|
1020
|
-
parentEl:
|
|
1021
|
-
ghostEl:
|
|
1038
|
+
parentEl: h2,
|
|
1039
|
+
ghostEl: Z,
|
|
1022
1040
|
rootEl: c2,
|
|
1023
1041
|
nextEl: l3,
|
|
1024
1042
|
lastDownEl: o1,
|
|
1025
|
-
cloneEl:
|
|
1043
|
+
cloneEl: m2,
|
|
1026
1044
|
cloneHidden: o3,
|
|
1027
|
-
dragStarted:
|
|
1028
|
-
putSortable:
|
|
1029
|
-
activeSortable:
|
|
1045
|
+
dragStarted: L3,
|
|
1046
|
+
putSortable: S2,
|
|
1047
|
+
activeSortable: G.active,
|
|
1030
1048
|
originalEvent: n,
|
|
1031
|
-
oldIndex:
|
|
1032
|
-
oldDraggableIndex:
|
|
1033
|
-
newIndex:
|
|
1049
|
+
oldIndex: g3,
|
|
1050
|
+
oldDraggableIndex: B3,
|
|
1051
|
+
newIndex: P2,
|
|
1034
1052
|
newDraggableIndex: n3,
|
|
1035
|
-
hideGhostForTarget:
|
|
1036
|
-
unhideGhostForTarget:
|
|
1053
|
+
hideGhostForTarget: S0,
|
|
1054
|
+
unhideGhostForTarget: M0,
|
|
1037
1055
|
cloneNowHidden: function() {
|
|
1038
1056
|
o3 = !0;
|
|
1039
1057
|
},
|
|
@@ -1041,7 +1059,7 @@ var x4 = ["evt"], L2 = function(o, e) {
|
|
|
1041
1059
|
o3 = !1;
|
|
1042
1060
|
},
|
|
1043
1061
|
dispatchSortableEvent: function(a) {
|
|
1044
|
-
|
|
1062
|
+
H2({
|
|
1045
1063
|
sortable: e,
|
|
1046
1064
|
name: a,
|
|
1047
1065
|
originalEvent: n
|
|
@@ -1049,27 +1067,27 @@ var x4 = ["evt"], L2 = function(o, e) {
|
|
|
1049
1067
|
}
|
|
1050
1068
|
}, s));
|
|
1051
1069
|
};
|
|
1052
|
-
function
|
|
1053
|
-
|
|
1054
|
-
putSortable:
|
|
1055
|
-
cloneEl:
|
|
1070
|
+
function H2(r) {
|
|
1071
|
+
A3(Z2({
|
|
1072
|
+
putSortable: S2,
|
|
1073
|
+
cloneEl: m2,
|
|
1056
1074
|
targetEl: A,
|
|
1057
1075
|
rootEl: c2,
|
|
1058
|
-
oldIndex:
|
|
1059
|
-
oldDraggableIndex:
|
|
1060
|
-
newIndex:
|
|
1076
|
+
oldIndex: g3,
|
|
1077
|
+
oldDraggableIndex: B3,
|
|
1078
|
+
newIndex: P2,
|
|
1061
1079
|
newDraggableIndex: n3
|
|
1062
1080
|
}, r));
|
|
1063
1081
|
}
|
|
1064
|
-
var A,
|
|
1082
|
+
var A, h2, Z, c2, l3, o1, m2, o3, g3, P2, B3, n3, J3, S2, m3 = !1, c1 = !1, d1 = [], a3, $2, x1, z1, q1, _1, L3, v3, F3, N3 = !1, Q3 = !1, r1, M2, S1 = [], A1 = !1, f1 = [], v1 = typeof document < "u", k3 = h0, t0 = $3 || t3 ? "cssFloat" : "float", C4 = v1 && !g4 && !h0 && "draggable" in document.createElement("div"), b0 = function() {
|
|
1065
1083
|
if (v1) {
|
|
1066
1084
|
if (t3)
|
|
1067
1085
|
return !1;
|
|
1068
1086
|
var r = document.createElement("x");
|
|
1069
1087
|
return r.style.cssText = "pointer-events:auto", r.style.pointerEvents === "auto";
|
|
1070
1088
|
}
|
|
1071
|
-
}(),
|
|
1072
|
-
var i = B(o), n = parseInt(i.width) - parseInt(i.paddingLeft) - parseInt(i.paddingRight) - parseInt(i.borderLeftWidth) - parseInt(i.borderRightWidth), s =
|
|
1089
|
+
}(), x0 = function(o, e) {
|
|
1090
|
+
var i = B(o), n = parseInt(i.width) - parseInt(i.paddingLeft) - parseInt(i.paddingRight) - parseInt(i.borderLeftWidth) - parseInt(i.borderRightWidth), s = y3(o, 0, e), t = y3(o, 1, e), a = s && B(s), l = t && B(t), c = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + d2(s).width, d = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + d2(t).width;
|
|
1073
1091
|
if (i.display === "flex")
|
|
1074
1092
|
return i.flexDirection === "column" || i.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
1075
1093
|
if (i.display === "grid")
|
|
@@ -1078,21 +1096,21 @@ var A, m2, Y, c2, l3, o1, g2, o3, m3, D2, R3, n3, J3, E2, h3 = !1, c1 = !1, d1 =
|
|
|
1078
1096
|
var f = a.float === "left" ? "left" : "right";
|
|
1079
1097
|
return t && (l.clear === "both" || l.clear === f) ? "vertical" : "horizontal";
|
|
1080
1098
|
}
|
|
1081
|
-
return s && (a.display === "block" || a.display === "flex" || a.display === "table" || a.display === "grid" || c >= n && i[
|
|
1082
|
-
},
|
|
1099
|
+
return s && (a.display === "block" || a.display === "flex" || a.display === "table" || a.display === "grid" || c >= n && i[t0] === "none" || t && i[t0] === "none" && c + d > n) ? "vertical" : "horizontal";
|
|
1100
|
+
}, w4 = function(o, e, i) {
|
|
1083
1101
|
var n = i ? o.left : o.top, s = i ? o.right : o.bottom, t = i ? o.width : o.height, a = i ? e.left : e.top, l = i ? e.right : e.bottom, c = i ? e.width : e.height;
|
|
1084
1102
|
return n === a || s === l || n + t / 2 === a + c / 2;
|
|
1085
|
-
},
|
|
1103
|
+
}, H4 = function(o, e) {
|
|
1086
1104
|
var i;
|
|
1087
1105
|
return d1.some(function(n) {
|
|
1088
|
-
var s = n[
|
|
1089
|
-
if (!(!s ||
|
|
1106
|
+
var s = n[E2].options.emptyInsertThreshold;
|
|
1107
|
+
if (!(!s || R1(n))) {
|
|
1090
1108
|
var t = d2(n), a = o >= t.left - s && o <= t.right + s, l = e >= t.top - s && e <= t.bottom + s;
|
|
1091
1109
|
if (a && l)
|
|
1092
1110
|
return i = n;
|
|
1093
1111
|
}
|
|
1094
1112
|
}), i;
|
|
1095
|
-
},
|
|
1113
|
+
}, z0 = function(o) {
|
|
1096
1114
|
function e(s, t) {
|
|
1097
1115
|
return function(a, l, c, d) {
|
|
1098
1116
|
var f = a.options.group.name && l.options.group.name && a.options.group.name === l.options.group.name;
|
|
@@ -1112,10 +1130,10 @@ var A, m2, Y, c2, l3, o1, g2, o3, m3, D2, R3, n3, J3, E2, h3 = !1, c1 = !1, d1 =
|
|
|
1112
1130
|
(!n || n1(n) != "object") && (n = {
|
|
1113
1131
|
name: n
|
|
1114
1132
|
}), i.name = n.name, i.checkPull = e(n.pull, !0), i.checkPut = e(n.put), i.revertClone = n.revertClone, o.group = i;
|
|
1115
|
-
}, z0 = function() {
|
|
1116
|
-
!y0 && Y && B(Y, "display", "none");
|
|
1117
1133
|
}, S0 = function() {
|
|
1118
|
-
!
|
|
1134
|
+
!b0 && Z && B(Z, "display", "none");
|
|
1135
|
+
}, M0 = function() {
|
|
1136
|
+
!b0 && Z && B(Z, "display", "");
|
|
1119
1137
|
};
|
|
1120
1138
|
v1 && document.addEventListener("click", function(r) {
|
|
1121
1139
|
if (c1)
|
|
@@ -1124,21 +1142,21 @@ v1 && document.addEventListener("click", function(r) {
|
|
|
1124
1142
|
var i3 = function(o) {
|
|
1125
1143
|
if (A) {
|
|
1126
1144
|
o = o.touches ? o.touches[0] : o;
|
|
1127
|
-
var e =
|
|
1145
|
+
var e = H4(o.clientX, o.clientY);
|
|
1128
1146
|
if (e) {
|
|
1129
1147
|
var i = {};
|
|
1130
1148
|
for (var n in o)
|
|
1131
1149
|
o.hasOwnProperty(n) && (i[n] = o[n]);
|
|
1132
|
-
i.target = i.rootEl = e, i.preventDefault = void 0, i.stopPropagation = void 0, e[
|
|
1150
|
+
i.target = i.rootEl = e, i.preventDefault = void 0, i.stopPropagation = void 0, e[E2]._onDragOver(i);
|
|
1133
1151
|
}
|
|
1134
1152
|
}
|
|
1135
|
-
},
|
|
1136
|
-
A && A.parentNode[
|
|
1153
|
+
}, V4 = function(o) {
|
|
1154
|
+
A && A.parentNode[E2]._isOutsideThisEl(o.target);
|
|
1137
1155
|
};
|
|
1138
|
-
function
|
|
1156
|
+
function G(r, o) {
|
|
1139
1157
|
if (!(r && r.nodeType && r.nodeType === 1))
|
|
1140
1158
|
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(r));
|
|
1141
|
-
this.el = r, this.options = o =
|
|
1159
|
+
this.el = r, this.options = o = B2({}, o), r[E2] = this;
|
|
1142
1160
|
var e = {
|
|
1143
1161
|
group: null,
|
|
1144
1162
|
sort: !0,
|
|
@@ -1154,7 +1172,7 @@ function U(r, o) {
|
|
|
1154
1172
|
// will be set to same as swapThreshold if default
|
|
1155
1173
|
removeCloneOnHide: !0,
|
|
1156
1174
|
direction: function() {
|
|
1157
|
-
return
|
|
1175
|
+
return x0(r, this.options);
|
|
1158
1176
|
},
|
|
1159
1177
|
ghostClass: "sortable-ghost",
|
|
1160
1178
|
chosenClass: "sortable-chosen",
|
|
@@ -1181,22 +1199,22 @@ function U(r, o) {
|
|
|
1181
1199
|
x: 0,
|
|
1182
1200
|
y: 0
|
|
1183
1201
|
},
|
|
1184
|
-
supportPointer:
|
|
1202
|
+
supportPointer: G.supportPointer !== !1 && "PointerEvent" in window && !P3,
|
|
1185
1203
|
emptyInsertThreshold: 5
|
|
1186
1204
|
};
|
|
1187
|
-
|
|
1205
|
+
K3.initializePlugins(this, r, e);
|
|
1188
1206
|
for (var i in e)
|
|
1189
1207
|
!(i in o) && (o[i] = e[i]);
|
|
1190
|
-
|
|
1208
|
+
z0(o);
|
|
1191
1209
|
for (var n in this)
|
|
1192
1210
|
n.charAt(0) === "_" && typeof this[n] == "function" && (this[n] = this[n].bind(this));
|
|
1193
|
-
this.nativeDraggable = o.forceFallback ? !1 :
|
|
1211
|
+
this.nativeDraggable = o.forceFallback ? !1 : C4, this.nativeDraggable && (this.options.touchStartThreshold = 1), o.supportPointer ? _(r, "pointerdown", this._onTapStart) : (_(r, "mousedown", this._onTapStart), _(r, "touchstart", this._onTapStart)), this.nativeDraggable && (_(r, "dragover", this), _(r, "dragenter", this)), d1.push(this.el), o.store && o.store.get && this.sort(o.store.get(this) || []), B2(this, z4());
|
|
1194
1212
|
}
|
|
1195
|
-
|
|
1213
|
+
G.prototype = /** @lends Sortable.prototype */
|
|
1196
1214
|
{
|
|
1197
|
-
constructor:
|
|
1215
|
+
constructor: G,
|
|
1198
1216
|
_isOutsideThisEl: function(o) {
|
|
1199
|
-
!this.el.contains(o) && o !== this.el && (
|
|
1217
|
+
!this.el.contains(o) && o !== this.el && (v3 = null);
|
|
1200
1218
|
},
|
|
1201
1219
|
_getDirection: function(o, e) {
|
|
1202
1220
|
return typeof this.options.direction == "function" ? this.options.direction.call(this, o, e, A) : this.options.direction;
|
|
@@ -1204,38 +1222,38 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1204
1222
|
_onTapStart: function(o) {
|
|
1205
1223
|
if (o.cancelable) {
|
|
1206
1224
|
var e = this, i = this.el, n = this.options, s = n.preventOnFilter, t = o.type, a = o.touches && o.touches[0] || o.pointerType && o.pointerType === "touch" && o, l = (a || o).target, c = o.target.shadowRoot && (o.path && o.path[0] || o.composedPath && o.composedPath()[0]) || l, d = n.filter;
|
|
1207
|
-
if (
|
|
1208
|
-
if (
|
|
1225
|
+
if (R4(i), !A && !(/mousedown|pointerdown/.test(t) && o.button !== 0 || n.disabled) && !c.isContentEditable && !(!this.nativeDraggable && P3 && l && l.tagName.toUpperCase() === "SELECT") && (l = G2(l, n.draggable, i, !1), !(l && l.animated) && o1 !== l)) {
|
|
1226
|
+
if (g3 = g2(l), B3 = g2(l, n.draggable), typeof d == "function") {
|
|
1209
1227
|
if (d.call(this, o, l, this)) {
|
|
1210
|
-
|
|
1228
|
+
H2({
|
|
1211
1229
|
sortable: e,
|
|
1212
1230
|
rootEl: c,
|
|
1213
1231
|
name: "filter",
|
|
1214
1232
|
targetEl: l,
|
|
1215
1233
|
toEl: i,
|
|
1216
1234
|
fromEl: i
|
|
1217
|
-
}),
|
|
1235
|
+
}), A2("filter", e, {
|
|
1218
1236
|
evt: o
|
|
1219
1237
|
}), s && o.cancelable && o.preventDefault();
|
|
1220
1238
|
return;
|
|
1221
1239
|
}
|
|
1222
1240
|
} else if (d && (d = d.split(",").some(function(f) {
|
|
1223
|
-
if (f =
|
|
1224
|
-
return
|
|
1241
|
+
if (f = G2(c, f.trim(), i, !1), f)
|
|
1242
|
+
return H2({
|
|
1225
1243
|
sortable: e,
|
|
1226
1244
|
rootEl: f,
|
|
1227
1245
|
name: "filter",
|
|
1228
1246
|
targetEl: l,
|
|
1229
1247
|
fromEl: i,
|
|
1230
1248
|
toEl: i
|
|
1231
|
-
}),
|
|
1249
|
+
}), A2("filter", e, {
|
|
1232
1250
|
evt: o
|
|
1233
1251
|
}), !0;
|
|
1234
1252
|
}), d)) {
|
|
1235
1253
|
s && o.cancelable && o.preventDefault();
|
|
1236
1254
|
return;
|
|
1237
1255
|
}
|
|
1238
|
-
n.handle && !
|
|
1256
|
+
n.handle && !G2(c, n.handle, i, !1) || this._prepareDragStart(o, a, l);
|
|
1239
1257
|
}
|
|
1240
1258
|
}
|
|
1241
1259
|
},
|
|
@@ -1243,32 +1261,32 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1243
1261
|
var n = this, s = n.el, t = n.options, a = s.ownerDocument, l;
|
|
1244
1262
|
if (i && !A && i.parentNode === s) {
|
|
1245
1263
|
var c = d2(i);
|
|
1246
|
-
if (c2 = s, A = i,
|
|
1264
|
+
if (c2 = s, A = i, h2 = A.parentNode, l3 = A.nextSibling, o1 = i, J3 = t.group, G.dragged = A, a3 = {
|
|
1247
1265
|
target: A,
|
|
1248
1266
|
clientX: (e || o).clientX,
|
|
1249
1267
|
clientY: (e || o).clientY
|
|
1250
|
-
},
|
|
1251
|
-
if (
|
|
1268
|
+
}, q1 = a3.clientX - c.left, _1 = a3.clientY - c.top, this._lastX = (e || o).clientX, this._lastY = (e || o).clientY, A.style["will-change"] = "all", l = function() {
|
|
1269
|
+
if (A2("delayEnded", n, {
|
|
1252
1270
|
evt: o
|
|
1253
|
-
}),
|
|
1271
|
+
}), G.eventCanceled) {
|
|
1254
1272
|
n._onDrop();
|
|
1255
1273
|
return;
|
|
1256
1274
|
}
|
|
1257
|
-
n._disableDelayedDragEvents(), !
|
|
1275
|
+
n._disableDelayedDragEvents(), !Y1 && n.nativeDraggable && (A.draggable = !0), n._triggerDragStart(o, e), H2({
|
|
1258
1276
|
sortable: n,
|
|
1259
1277
|
name: "choose",
|
|
1260
1278
|
originalEvent: o
|
|
1261
1279
|
}), u2(A, t.chosenClass, !0);
|
|
1262
1280
|
}, t.ignore.split(",").forEach(function(d) {
|
|
1263
|
-
|
|
1264
|
-
}),
|
|
1281
|
+
g0(A, d.trim(), M1);
|
|
1282
|
+
}), _(a, "dragover", i3), _(a, "mousemove", i3), _(a, "touchmove", i3), _(a, "mouseup", n._onDrop), _(a, "touchend", n._onDrop), _(a, "touchcancel", n._onDrop), Y1 && this.nativeDraggable && (this.options.touchStartThreshold = 4, A.draggable = !0), A2("delayStart", this, {
|
|
1265
1283
|
evt: o
|
|
1266
|
-
}), t.delay && (!t.delayOnTouchOnly || e) && (!this.nativeDraggable || !(
|
|
1267
|
-
if (
|
|
1284
|
+
}), t.delay && (!t.delayOnTouchOnly || e) && (!this.nativeDraggable || !($3 || t3))) {
|
|
1285
|
+
if (G.eventCanceled) {
|
|
1268
1286
|
this._onDrop();
|
|
1269
1287
|
return;
|
|
1270
1288
|
}
|
|
1271
|
-
|
|
1289
|
+
_(a, "mouseup", n._disableDelayedDrag), _(a, "touchend", n._disableDelayedDrag), _(a, "touchcancel", n._disableDelayedDrag), _(a, "mousemove", n._delayedDragTouchMoveHandler), _(a, "touchmove", n._delayedDragTouchMoveHandler), t.supportPointer && _(a, "pointermove", n._delayedDragTouchMoveHandler), n._dragStartTimer = setTimeout(l, t.delay);
|
|
1272
1290
|
} else
|
|
1273
1291
|
l();
|
|
1274
1292
|
}
|
|
@@ -1285,7 +1303,7 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1285
1303
|
k(o, "mouseup", this._disableDelayedDrag), k(o, "touchend", this._disableDelayedDrag), k(o, "touchcancel", this._disableDelayedDrag), k(o, "mousemove", this._delayedDragTouchMoveHandler), k(o, "touchmove", this._delayedDragTouchMoveHandler), k(o, "pointermove", this._delayedDragTouchMoveHandler);
|
|
1286
1304
|
},
|
|
1287
1305
|
_triggerDragStart: function(o, e) {
|
|
1288
|
-
e = e || o.pointerType == "touch" && o, !this.nativeDraggable || e ? this.options.supportPointer ?
|
|
1306
|
+
e = e || o.pointerType == "touch" && o, !this.nativeDraggable || e ? this.options.supportPointer ? _(document, "pointermove", this._onTouchMove) : e ? _(document, "touchmove", this._onTouchMove) : _(document, "mousemove", this._onTouchMove) : (_(A, "dragend", this), _(c2, "dragstart", this._onDragStart));
|
|
1289
1307
|
try {
|
|
1290
1308
|
document.selection ? a1(function() {
|
|
1291
1309
|
document.selection.empty();
|
|
@@ -1294,12 +1312,12 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1294
1312
|
}
|
|
1295
1313
|
},
|
|
1296
1314
|
_dragStarted: function(o, e) {
|
|
1297
|
-
if (
|
|
1298
|
-
|
|
1315
|
+
if (m3 = !1, c2 && A) {
|
|
1316
|
+
A2("dragStarted", this, {
|
|
1299
1317
|
evt: e
|
|
1300
|
-
}), this.nativeDraggable &&
|
|
1318
|
+
}), this.nativeDraggable && _(document, "dragover", V4);
|
|
1301
1319
|
var i = this.options;
|
|
1302
|
-
!o && u2(A, i.dragClass, !1), u2(A, i.ghostClass, !0),
|
|
1320
|
+
!o && u2(A, i.dragClass, !1), u2(A, i.ghostClass, !0), G.active = this, o && this._appendGhost(), H2({
|
|
1303
1321
|
sortable: this,
|
|
1304
1322
|
name: "start",
|
|
1305
1323
|
originalEvent: e
|
|
@@ -1308,17 +1326,17 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1308
1326
|
this._nulling();
|
|
1309
1327
|
},
|
|
1310
1328
|
_emulateDragOver: function() {
|
|
1311
|
-
if (
|
|
1312
|
-
this._lastX =
|
|
1313
|
-
for (var o = document.elementFromPoint(
|
|
1329
|
+
if ($2) {
|
|
1330
|
+
this._lastX = $2.clientX, this._lastY = $2.clientY, S0();
|
|
1331
|
+
for (var o = document.elementFromPoint($2.clientX, $2.clientY), e = o; o && o.shadowRoot && (o = o.shadowRoot.elementFromPoint($2.clientX, $2.clientY), o !== e); )
|
|
1314
1332
|
e = o;
|
|
1315
|
-
if (A.parentNode[
|
|
1333
|
+
if (A.parentNode[E2]._isOutsideThisEl(o), e)
|
|
1316
1334
|
do {
|
|
1317
|
-
if (e[
|
|
1335
|
+
if (e[E2]) {
|
|
1318
1336
|
var i = void 0;
|
|
1319
|
-
if (i = e[
|
|
1320
|
-
clientX:
|
|
1321
|
-
clientY:
|
|
1337
|
+
if (i = e[E2]._onDragOver({
|
|
1338
|
+
clientX: $2.clientX,
|
|
1339
|
+
clientY: $2.clientY,
|
|
1322
1340
|
target: o,
|
|
1323
1341
|
rootEl: e
|
|
1324
1342
|
}), i && !this.options.dragoverBubble)
|
|
@@ -1326,18 +1344,18 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1326
1344
|
}
|
|
1327
1345
|
o = e;
|
|
1328
1346
|
} while (e = e.parentNode);
|
|
1329
|
-
|
|
1347
|
+
M0();
|
|
1330
1348
|
}
|
|
1331
1349
|
},
|
|
1332
1350
|
_onTouchMove: function(o) {
|
|
1333
1351
|
if (a3) {
|
|
1334
|
-
var e = this.options, i = e.fallbackTolerance, n = e.fallbackOffset, s = o.touches ? o.touches[0] : o, t =
|
|
1335
|
-
if (!
|
|
1352
|
+
var e = this.options, i = e.fallbackTolerance, n = e.fallbackOffset, s = o.touches ? o.touches[0] : o, t = Z && c3(Z, !0), a = Z && t && t.a, l = Z && t && t.d, c = k3 && M2 && Q1(M2), d = (s.clientX - a3.clientX + n.x) / (a || 1) + (c ? c[0] - S1[0] : 0) / (a || 1), f = (s.clientY - a3.clientY + n.y) / (l || 1) + (c ? c[1] - S1[1] : 0) / (l || 1);
|
|
1353
|
+
if (!G.active && !m3) {
|
|
1336
1354
|
if (i && Math.max(Math.abs(s.clientX - this._lastX), Math.abs(s.clientY - this._lastY)) < i)
|
|
1337
1355
|
return;
|
|
1338
1356
|
this._onDragStart(o, !0);
|
|
1339
1357
|
}
|
|
1340
|
-
if (
|
|
1358
|
+
if (Z) {
|
|
1341
1359
|
t ? (t.e += d - (x1 || 0), t.f += f - (z1 || 0)) : t = {
|
|
1342
1360
|
a: 1,
|
|
1343
1361
|
b: 0,
|
|
@@ -1347,44 +1365,44 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1347
1365
|
f
|
|
1348
1366
|
};
|
|
1349
1367
|
var u = "matrix(".concat(t.a, ",").concat(t.b, ",").concat(t.c, ",").concat(t.d, ",").concat(t.e, ",").concat(t.f, ")");
|
|
1350
|
-
B(
|
|
1368
|
+
B(Z, "webkitTransform", u), B(Z, "mozTransform", u), B(Z, "msTransform", u), B(Z, "transform", u), x1 = d, z1 = f, $2 = s;
|
|
1351
1369
|
}
|
|
1352
1370
|
o.cancelable && o.preventDefault();
|
|
1353
1371
|
}
|
|
1354
1372
|
},
|
|
1355
1373
|
_appendGhost: function() {
|
|
1356
|
-
if (!
|
|
1374
|
+
if (!Z) {
|
|
1357
1375
|
var o = this.options.fallbackOnBody ? document.body : c2, e = d2(A, !0, k3, !0, o), i = this.options;
|
|
1358
1376
|
if (k3) {
|
|
1359
|
-
for (
|
|
1360
|
-
|
|
1361
|
-
|
|
1377
|
+
for (M2 = o; B(M2, "position") === "static" && B(M2, "transform") === "none" && M2 !== document; )
|
|
1378
|
+
M2 = M2.parentNode;
|
|
1379
|
+
M2 !== document.body && M2 !== document.documentElement ? (M2 === document && (M2 = Y2()), e.top += M2.scrollTop, e.left += M2.scrollLeft) : M2 = Y2(), S1 = Q1(M2);
|
|
1362
1380
|
}
|
|
1363
|
-
|
|
1381
|
+
Z = A.cloneNode(!0), u2(Z, i.ghostClass, !1), u2(Z, i.fallbackClass, !0), u2(Z, i.dragClass, !0), B(Z, "transition", ""), B(Z, "transform", ""), B(Z, "box-sizing", "border-box"), B(Z, "margin", 0), B(Z, "top", e.top), B(Z, "left", e.left), B(Z, "width", e.width), B(Z, "height", e.height), B(Z, "opacity", "0.8"), B(Z, "position", k3 ? "absolute" : "fixed"), B(Z, "zIndex", "100000"), B(Z, "pointerEvents", "none"), G.ghost = Z, o.appendChild(Z), B(Z, "transform-origin", q1 / parseInt(Z.style.width) * 100 + "% " + _1 / parseInt(Z.style.height) * 100 + "%");
|
|
1364
1382
|
}
|
|
1365
1383
|
},
|
|
1366
1384
|
_onDragStart: function(o, e) {
|
|
1367
1385
|
var i = this, n = o.dataTransfer, s = i.options;
|
|
1368
|
-
if (
|
|
1386
|
+
if (A2("dragStart", this, {
|
|
1369
1387
|
evt: o
|
|
1370
|
-
}),
|
|
1388
|
+
}), G.eventCanceled) {
|
|
1371
1389
|
this._onDrop();
|
|
1372
1390
|
return;
|
|
1373
1391
|
}
|
|
1374
|
-
|
|
1375
|
-
|
|
1392
|
+
A2("setupClone", this), G.eventCanceled || (m2 = B1(A), m2.draggable = !1, m2.style["will-change"] = "", this._hideClone(), u2(m2, this.options.chosenClass, !1), G.clone = m2), i.cloneId = a1(function() {
|
|
1393
|
+
A2("clone", i), !G.eventCanceled && (i.options.removeCloneOnHide || c2.insertBefore(m2, A), i._hideClone(), H2({
|
|
1376
1394
|
sortable: i,
|
|
1377
1395
|
name: "clone"
|
|
1378
1396
|
}));
|
|
1379
|
-
}), !e && u2(A, s.dragClass, !0), e ? (c1 = !0, i._loopId = setInterval(i._emulateDragOver, 50)) : (k(document, "mouseup", i._onDrop), k(document, "touchend", i._onDrop), k(document, "touchcancel", i._onDrop), n && (n.effectAllowed = "move", s.setData && s.setData.call(i, n, A)),
|
|
1397
|
+
}), !e && u2(A, s.dragClass, !0), e ? (c1 = !0, i._loopId = setInterval(i._emulateDragOver, 50)) : (k(document, "mouseup", i._onDrop), k(document, "touchend", i._onDrop), k(document, "touchcancel", i._onDrop), n && (n.effectAllowed = "move", s.setData && s.setData.call(i, n, A)), _(document, "drop", i), B(A, "transform", "translateZ(0)")), m3 = !0, i._dragStartId = a1(i._dragStarted.bind(i, e, o)), _(document, "selectstart", i), L3 = !0, P3 && B(document.body, "user-select", "none");
|
|
1380
1398
|
},
|
|
1381
1399
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
1382
1400
|
_onDragOver: function(o) {
|
|
1383
|
-
var e = this.el, i = o.target, n, s, t, a = this.options, l = a.group, c =
|
|
1401
|
+
var e = this.el, i = o.target, n, s, t, a = this.options, l = a.group, c = G.active, d = J3 === l, f = a.sort, u = S2 || c, v, h = this, m = !1;
|
|
1384
1402
|
if (A1)
|
|
1385
1403
|
return;
|
|
1386
|
-
function g(Q,
|
|
1387
|
-
|
|
1404
|
+
function g(Q, o2) {
|
|
1405
|
+
A2(Q, h, Z2({
|
|
1388
1406
|
evt: o,
|
|
1389
1407
|
isOwner: d,
|
|
1390
1408
|
axis: v ? "vertical" : "horizontal",
|
|
@@ -1399,7 +1417,7 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1399
1417
|
return q3(c2, e, A, n, l2, d2(l2), o, s2);
|
|
1400
1418
|
},
|
|
1401
1419
|
changed: C
|
|
1402
|
-
},
|
|
1420
|
+
}, o2));
|
|
1403
1421
|
}
|
|
1404
1422
|
function p() {
|
|
1405
1423
|
g("dragOverAnimationCapture"), h.captureAnimationState(), h !== u && u.captureAnimationState();
|
|
@@ -1407,60 +1425,60 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1407
1425
|
function y(Q) {
|
|
1408
1426
|
return g("dragOverCompleted", {
|
|
1409
1427
|
insertion: Q
|
|
1410
|
-
}), Q && (d ? c._hideClone() : c._showClone(h), h !== u && (u2(A,
|
|
1428
|
+
}), Q && (d ? c._hideClone() : c._showClone(h), h !== u && (u2(A, S2 ? S2.options.ghostClass : c.options.ghostClass, !1), u2(A, a.ghostClass, !0)), S2 !== h && h !== G.active ? S2 = h : h === G.active && S2 && (S2 = null), u === h && (h._ignoreWhileAnimating = i), h.animateAll(function() {
|
|
1411
1429
|
g("dragOverAnimationComplete"), h._ignoreWhileAnimating = null;
|
|
1412
|
-
}), h !== u && (u.animateAll(), u._ignoreWhileAnimating = null)), (i === A && !A.animated || i === e && !i.animated) && (
|
|
1430
|
+
}), h !== u && (u.animateAll(), u._ignoreWhileAnimating = null)), (i === A && !A.animated || i === e && !i.animated) && (v3 = null), !a.dragoverBubble && !o.rootEl && i !== document && (A.parentNode[E2]._isOutsideThisEl(o.target), !Q && i3(o)), !a.dragoverBubble && o.stopPropagation && o.stopPropagation(), m = !0;
|
|
1413
1431
|
}
|
|
1414
1432
|
function C() {
|
|
1415
|
-
|
|
1433
|
+
P2 = g2(A), n3 = g2(A, a.draggable), H2({
|
|
1416
1434
|
sortable: h,
|
|
1417
1435
|
name: "change",
|
|
1418
1436
|
toEl: e,
|
|
1419
|
-
newIndex:
|
|
1437
|
+
newIndex: P2,
|
|
1420
1438
|
newDraggableIndex: n3,
|
|
1421
1439
|
originalEvent: o
|
|
1422
1440
|
});
|
|
1423
1441
|
}
|
|
1424
|
-
if (o.preventDefault !== void 0 && o.cancelable && o.preventDefault(), i =
|
|
1442
|
+
if (o.preventDefault !== void 0 && o.cancelable && o.preventDefault(), i = G2(i, a.draggable, e, !0), g("dragOver"), G.eventCanceled)
|
|
1425
1443
|
return m;
|
|
1426
1444
|
if (A.contains(o.target) || i.animated && i.animatingX && i.animatingY || h._ignoreWhileAnimating === i)
|
|
1427
1445
|
return y(!1);
|
|
1428
|
-
if (c1 = !1, c && !a.disabled && (d ? f || (t =
|
|
1429
|
-
if (v = this._getDirection(o, i) === "vertical", n = d2(A), g("dragOverValid"),
|
|
1446
|
+
if (c1 = !1, c && !a.disabled && (d ? f || (t = h2 !== c2) : S2 === this || (this.lastPutMode = J3.checkPull(this, c, A, o)) && l.checkPut(this, c, A, o))) {
|
|
1447
|
+
if (v = this._getDirection(o, i) === "vertical", n = d2(A), g("dragOverValid"), G.eventCanceled)
|
|
1430
1448
|
return m;
|
|
1431
1449
|
if (t)
|
|
1432
|
-
return
|
|
1433
|
-
var S =
|
|
1434
|
-
if (!S ||
|
|
1450
|
+
return h2 = c2, p(), this._hideClone(), g("revert"), G.eventCanceled || (l3 ? c2.insertBefore(A, l3) : c2.appendChild(A)), y(!0);
|
|
1451
|
+
var S = R1(e, a.draggable);
|
|
1452
|
+
if (!S || T4(o, v, this) && !S.animated) {
|
|
1435
1453
|
if (S === A)
|
|
1436
1454
|
return y(!1);
|
|
1437
1455
|
if (S && e === o.target && (i = S), i && (s = d2(i)), q3(c2, e, A, n, i, s, o, !!i) !== !1)
|
|
1438
|
-
return p(), e.appendChild(A),
|
|
1439
|
-
} else if (S &&
|
|
1440
|
-
var w =
|
|
1456
|
+
return p(), e.appendChild(A), h2 = e, C(), y(!0);
|
|
1457
|
+
} else if (S && L4(o, v, this)) {
|
|
1458
|
+
var w = y3(e, 0, a, !0);
|
|
1441
1459
|
if (w === A)
|
|
1442
1460
|
return y(!1);
|
|
1443
1461
|
if (i = w, s = d2(i), q3(c2, e, A, n, i, s, o, !1) !== !1)
|
|
1444
|
-
return p(), e.insertBefore(A, w),
|
|
1462
|
+
return p(), e.insertBefore(A, w), h2 = e, C(), y(!0);
|
|
1445
1463
|
} else if (i.parentNode === e) {
|
|
1446
1464
|
s = d2(i);
|
|
1447
|
-
var M = 0, D, P = A.parentNode !== e, E = !
|
|
1448
|
-
|
|
1465
|
+
var M = 0, D, P = A.parentNode !== e, E = !w4(A.animated && A.toRect || n, i.animated && i.toRect || s, v), T = v ? "top" : "left", I = J1(i, "top", "top") || J1(A, "top", "top"), $ = I ? I.scrollTop : void 0;
|
|
1466
|
+
v3 !== i && (D = s[T], N3 = !1, Q3 = !E && a.invertSwap || P), M = I4(o, i, s, v, E ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, Q3, v3 === i);
|
|
1449
1467
|
var V;
|
|
1450
1468
|
if (M !== 0) {
|
|
1451
|
-
var O =
|
|
1469
|
+
var O = g2(A);
|
|
1452
1470
|
do
|
|
1453
|
-
O -= M, V =
|
|
1454
|
-
while (V && (B(V, "display") === "none" || V ===
|
|
1471
|
+
O -= M, V = h2.children[O];
|
|
1472
|
+
while (V && (B(V, "display") === "none" || V === Z));
|
|
1455
1473
|
}
|
|
1456
1474
|
if (M === 0 || V === i)
|
|
1457
1475
|
return y(!1);
|
|
1458
|
-
|
|
1459
|
-
var
|
|
1476
|
+
v3 = i, F3 = M;
|
|
1477
|
+
var j = i.nextElementSibling, L = !1;
|
|
1460
1478
|
L = M === 1;
|
|
1461
1479
|
var N = q3(c2, e, A, n, i, s, o, L);
|
|
1462
1480
|
if (N !== !1)
|
|
1463
|
-
return (N === 1 || N === -1) && (L = N === 1), A1 = !0, setTimeout(
|
|
1481
|
+
return (N === 1 || N === -1) && (L = N === 1), A1 = !0, setTimeout(A4, 30), p(), L && !j ? e.appendChild(A) : i.parentNode.insertBefore(A, L ? j : i), I && y0(I, 0, $ - I.scrollTop), h2 = A.parentNode, D !== void 0 && !Q3 && (r1 = Math.abs(D - d2(i)[T])), C(), y(!0);
|
|
1464
1482
|
}
|
|
1465
1483
|
if (e.contains(A))
|
|
1466
1484
|
return y(!1);
|
|
@@ -1477,60 +1495,60 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1477
1495
|
},
|
|
1478
1496
|
_onDrop: function(o) {
|
|
1479
1497
|
var e = this.el, i = this.options;
|
|
1480
|
-
if (
|
|
1498
|
+
if (P2 = g2(A), n3 = g2(A, i.draggable), A2("drop", this, {
|
|
1481
1499
|
evt: o
|
|
1482
|
-
}),
|
|
1500
|
+
}), h2 = A && A.parentNode, P2 = g2(A), n3 = g2(A, i.draggable), G.eventCanceled) {
|
|
1483
1501
|
this._nulling();
|
|
1484
1502
|
return;
|
|
1485
1503
|
}
|
|
1486
|
-
|
|
1504
|
+
m3 = !1, Q3 = !1, N3 = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), L1(this.cloneId), L1(this._dragStartId), this.nativeDraggable && (k(document, "drop", this), k(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), P3 && B(document.body, "user-select", ""), B(A, "transform", ""), o && (L3 && (o.cancelable && o.preventDefault(), !i.dropBubble && o.stopPropagation()), Z && Z.parentNode && Z.parentNode.removeChild(Z), (c2 === h2 || S2 && S2.lastPutMode !== "clone") && m2 && m2.parentNode && m2.parentNode.removeChild(m2), A && (this.nativeDraggable && k(A, "dragend", this), M1(A), A.style["will-change"] = "", L3 && !m3 && u2(A, S2 ? S2.options.ghostClass : this.options.ghostClass, !1), u2(A, this.options.chosenClass, !1), H2({
|
|
1487
1505
|
sortable: this,
|
|
1488
1506
|
name: "unchoose",
|
|
1489
|
-
toEl:
|
|
1507
|
+
toEl: h2,
|
|
1490
1508
|
newIndex: null,
|
|
1491
1509
|
newDraggableIndex: null,
|
|
1492
1510
|
originalEvent: o
|
|
1493
|
-
}), c2 !==
|
|
1494
|
-
rootEl:
|
|
1511
|
+
}), c2 !== h2 ? (P2 >= 0 && (H2({
|
|
1512
|
+
rootEl: h2,
|
|
1495
1513
|
name: "add",
|
|
1496
|
-
toEl:
|
|
1514
|
+
toEl: h2,
|
|
1497
1515
|
fromEl: c2,
|
|
1498
1516
|
originalEvent: o
|
|
1499
|
-
}),
|
|
1517
|
+
}), H2({
|
|
1500
1518
|
sortable: this,
|
|
1501
1519
|
name: "remove",
|
|
1502
|
-
toEl:
|
|
1520
|
+
toEl: h2,
|
|
1503
1521
|
originalEvent: o
|
|
1504
|
-
}),
|
|
1505
|
-
rootEl:
|
|
1522
|
+
}), H2({
|
|
1523
|
+
rootEl: h2,
|
|
1506
1524
|
name: "sort",
|
|
1507
|
-
toEl:
|
|
1525
|
+
toEl: h2,
|
|
1508
1526
|
fromEl: c2,
|
|
1509
1527
|
originalEvent: o
|
|
1510
|
-
}),
|
|
1528
|
+
}), H2({
|
|
1511
1529
|
sortable: this,
|
|
1512
1530
|
name: "sort",
|
|
1513
|
-
toEl:
|
|
1531
|
+
toEl: h2,
|
|
1514
1532
|
originalEvent: o
|
|
1515
|
-
})),
|
|
1533
|
+
})), S2 && S2.save()) : P2 !== g3 && P2 >= 0 && (H2({
|
|
1516
1534
|
sortable: this,
|
|
1517
1535
|
name: "update",
|
|
1518
|
-
toEl:
|
|
1536
|
+
toEl: h2,
|
|
1519
1537
|
originalEvent: o
|
|
1520
|
-
}),
|
|
1538
|
+
}), H2({
|
|
1521
1539
|
sortable: this,
|
|
1522
1540
|
name: "sort",
|
|
1523
|
-
toEl:
|
|
1541
|
+
toEl: h2,
|
|
1524
1542
|
originalEvent: o
|
|
1525
|
-
})),
|
|
1543
|
+
})), G.active && ((P2 == null || P2 === -1) && (P2 = g3, n3 = B3), H2({
|
|
1526
1544
|
sortable: this,
|
|
1527
1545
|
name: "end",
|
|
1528
|
-
toEl:
|
|
1546
|
+
toEl: h2,
|
|
1529
1547
|
originalEvent: o
|
|
1530
1548
|
}), this.save()))), this._nulling();
|
|
1531
1549
|
},
|
|
1532
1550
|
_nulling: function() {
|
|
1533
|
-
|
|
1551
|
+
A2("nulling", this), c2 = A = h2 = Z = l3 = m2 = o1 = o3 = a3 = $2 = L3 = P2 = n3 = g3 = B3 = v3 = F3 = S2 = J3 = G.dragged = G.ghost = G.clone = G.active = null, f1.forEach(function(o) {
|
|
1534
1552
|
o.checked = !0;
|
|
1535
1553
|
}), f1.length = x1 = z1 = 0;
|
|
1536
1554
|
},
|
|
@@ -1542,7 +1560,7 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1542
1560
|
break;
|
|
1543
1561
|
case "dragenter":
|
|
1544
1562
|
case "dragover":
|
|
1545
|
-
A && (this._onDragOver(o),
|
|
1563
|
+
A && (this._onDragOver(o), O4(o));
|
|
1546
1564
|
break;
|
|
1547
1565
|
case "selectstart":
|
|
1548
1566
|
o.preventDefault();
|
|
@@ -1555,7 +1573,7 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1555
1573
|
*/
|
|
1556
1574
|
toArray: function() {
|
|
1557
1575
|
for (var o = [], e, i = this.el.children, n = 0, s = i.length, t = this.options; n < s; n++)
|
|
1558
|
-
e = i[n],
|
|
1576
|
+
e = i[n], G2(e, t.draggable, this.el, !1) && o.push(e.getAttribute(t.dataIdAttr) || P4(e));
|
|
1559
1577
|
return o;
|
|
1560
1578
|
},
|
|
1561
1579
|
/**
|
|
@@ -1566,7 +1584,7 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1566
1584
|
var i = {}, n = this.el;
|
|
1567
1585
|
this.toArray().forEach(function(s, t) {
|
|
1568
1586
|
var a = n.children[t];
|
|
1569
|
-
|
|
1587
|
+
G2(a, this.options.draggable, n, !1) && (i[s] = a);
|
|
1570
1588
|
}, this), e && this.captureAnimationState(), o.forEach(function(s) {
|
|
1571
1589
|
i[s] && (n.removeChild(i[s]), n.appendChild(i[s]));
|
|
1572
1590
|
}), e && this.animateAll();
|
|
@@ -1585,7 +1603,7 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1585
1603
|
* @returns {HTMLElement|null}
|
|
1586
1604
|
*/
|
|
1587
1605
|
closest: function(o, e) {
|
|
1588
|
-
return
|
|
1606
|
+
return G2(o, e || this.options.draggable, this.el, !1);
|
|
1589
1607
|
},
|
|
1590
1608
|
/**
|
|
1591
1609
|
* Set/get option
|
|
@@ -1597,24 +1615,24 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1597
1615
|
var i = this.options;
|
|
1598
1616
|
if (e === void 0)
|
|
1599
1617
|
return i[o];
|
|
1600
|
-
var n =
|
|
1601
|
-
typeof n < "u" ? i[o] = n : i[o] = e, o === "group" &&
|
|
1618
|
+
var n = K3.modifyOption(this, o, e);
|
|
1619
|
+
typeof n < "u" ? i[o] = n : i[o] = e, o === "group" && z0(i);
|
|
1602
1620
|
},
|
|
1603
1621
|
/**
|
|
1604
1622
|
* Destroy
|
|
1605
1623
|
*/
|
|
1606
1624
|
destroy: function() {
|
|
1607
|
-
|
|
1625
|
+
A2("destroy", this);
|
|
1608
1626
|
var o = this.el;
|
|
1609
|
-
o[
|
|
1627
|
+
o[E2] = null, k(o, "mousedown", this._onTapStart), k(o, "touchstart", this._onTapStart), k(o, "pointerdown", this._onTapStart), this.nativeDraggable && (k(o, "dragover", this), k(o, "dragenter", this)), Array.prototype.forEach.call(o.querySelectorAll("[draggable]"), function(e) {
|
|
1610
1628
|
e.removeAttribute("draggable");
|
|
1611
1629
|
}), this._onDrop(), this._disableDelayedDragEvents(), d1.splice(d1.indexOf(this.el), 1), this.el = o = null;
|
|
1612
1630
|
},
|
|
1613
1631
|
_hideClone: function() {
|
|
1614
1632
|
if (!o3) {
|
|
1615
|
-
if (
|
|
1633
|
+
if (A2("hideClone", this), G.eventCanceled)
|
|
1616
1634
|
return;
|
|
1617
|
-
B(
|
|
1635
|
+
B(m2, "display", "none"), this.options.removeCloneOnHide && m2.parentNode && m2.parentNode.removeChild(m2), o3 = !0;
|
|
1618
1636
|
}
|
|
1619
1637
|
},
|
|
1620
1638
|
_showClone: function(o) {
|
|
@@ -1623,18 +1641,18 @@ U.prototype = /** @lends Sortable.prototype */
|
|
|
1623
1641
|
return;
|
|
1624
1642
|
}
|
|
1625
1643
|
if (o3) {
|
|
1626
|
-
if (
|
|
1644
|
+
if (A2("showClone", this), G.eventCanceled)
|
|
1627
1645
|
return;
|
|
1628
|
-
A.parentNode == c2 && !this.options.group.revertClone ? c2.insertBefore(
|
|
1646
|
+
A.parentNode == c2 && !this.options.group.revertClone ? c2.insertBefore(m2, A) : l3 ? c2.insertBefore(m2, l3) : c2.appendChild(m2), this.options.group.revertClone && this.animate(A, m2), B(m2, "display", ""), o3 = !1;
|
|
1629
1647
|
}
|
|
1630
1648
|
}
|
|
1631
1649
|
};
|
|
1632
|
-
function
|
|
1650
|
+
function O4(r) {
|
|
1633
1651
|
r.dataTransfer && (r.dataTransfer.dropEffect = "move"), r.cancelable && r.preventDefault();
|
|
1634
1652
|
}
|
|
1635
1653
|
function q3(r, o, e, i, n, s, t, a) {
|
|
1636
|
-
var l, c = r[
|
|
1637
|
-
return window.CustomEvent && !t3 &&
|
|
1654
|
+
var l, c = r[E2], d = c.options.onMove, f;
|
|
1655
|
+
return window.CustomEvent && !t3 && !$3 ? l = new CustomEvent("move", {
|
|
1638
1656
|
bubbles: !0,
|
|
1639
1657
|
cancelable: !0
|
|
1640
1658
|
}) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = o, l.from = r, l.dragged = e, l.draggedRect = i, l.related = n || o, l.relatedRect = s || d2(o), l.willInsertAfter = a, l.originalEvent = t, r.dispatchEvent(l), d && (f = d.call(c, l, t)), f;
|
|
@@ -1642,39 +1660,39 @@ function q3(r, o, e, i, n, s, t, a) {
|
|
|
1642
1660
|
function M1(r) {
|
|
1643
1661
|
r.draggable = !1;
|
|
1644
1662
|
}
|
|
1645
|
-
function
|
|
1663
|
+
function A4() {
|
|
1646
1664
|
A1 = !1;
|
|
1647
1665
|
}
|
|
1648
|
-
function
|
|
1649
|
-
var i = d2(
|
|
1666
|
+
function L4(r, o, e) {
|
|
1667
|
+
var i = d2(y3(e.el, 0, e.options, !0)), n = 10;
|
|
1650
1668
|
return o ? r.clientX < i.left - n || r.clientY < i.top && r.clientX < i.right : r.clientY < i.top - n || r.clientY < i.bottom && r.clientX < i.left;
|
|
1651
1669
|
}
|
|
1652
|
-
function
|
|
1653
|
-
var i = d2(
|
|
1670
|
+
function T4(r, o, e) {
|
|
1671
|
+
var i = d2(R1(e.el, e.options.draggable)), n = 10;
|
|
1654
1672
|
return o ? r.clientX > i.right + n || r.clientX <= i.right && r.clientY > i.bottom && r.clientX >= i.left : r.clientX > i.right && r.clientY > i.top || r.clientX <= i.right && r.clientY > i.bottom + n;
|
|
1655
1673
|
}
|
|
1656
|
-
function
|
|
1674
|
+
function I4(r, o, e, i, n, s, t, a) {
|
|
1657
1675
|
var l = i ? r.clientY : r.clientX, c = i ? e.height : e.width, d = i ? e.top : e.left, f = i ? e.bottom : e.right, u = !1;
|
|
1658
1676
|
if (!t) {
|
|
1659
1677
|
if (a && r1 < c * n) {
|
|
1660
|
-
if (!
|
|
1678
|
+
if (!N3 && (F3 === 1 ? l > d + c * s / 2 : l < f - c * s / 2) && (N3 = !0), N3)
|
|
1661
1679
|
u = !0;
|
|
1662
|
-
else if (
|
|
1663
|
-
return -
|
|
1680
|
+
else if (F3 === 1 ? l < d + r1 : l > f - r1)
|
|
1681
|
+
return -F3;
|
|
1664
1682
|
} else if (l > d + c * (1 - n) / 2 && l < f - c * (1 - n) / 2)
|
|
1665
|
-
return
|
|
1683
|
+
return D4(o);
|
|
1666
1684
|
}
|
|
1667
1685
|
return u = u || t, u && (l < d + c * s / 2 || l > f - c * s / 2) ? l > d + c / 2 ? 1 : -1 : 0;
|
|
1668
1686
|
}
|
|
1669
|
-
function
|
|
1670
|
-
return
|
|
1687
|
+
function D4(r) {
|
|
1688
|
+
return g2(A) < g2(r) ? 1 : -1;
|
|
1671
1689
|
}
|
|
1672
|
-
function
|
|
1690
|
+
function P4(r) {
|
|
1673
1691
|
for (var o = r.tagName + r.className + r.src + r.href + r.textContent, e = o.length, i = 0; e--; )
|
|
1674
1692
|
i += o.charCodeAt(e);
|
|
1675
1693
|
return i.toString(36);
|
|
1676
1694
|
}
|
|
1677
|
-
function
|
|
1695
|
+
function R4(r) {
|
|
1678
1696
|
f1.length = 0;
|
|
1679
1697
|
for (var o = r.getElementsByTagName("input"), e = o.length; e--; ) {
|
|
1680
1698
|
var i = o[e];
|
|
@@ -1687,46 +1705,46 @@ function a1(r) {
|
|
|
1687
1705
|
function L1(r) {
|
|
1688
1706
|
return clearTimeout(r);
|
|
1689
1707
|
}
|
|
1690
|
-
v1 &&
|
|
1691
|
-
(
|
|
1708
|
+
v1 && _(document, "touchmove", function(r) {
|
|
1709
|
+
(G.active || m3) && r.cancelable && r.preventDefault();
|
|
1692
1710
|
});
|
|
1693
|
-
|
|
1694
|
-
on:
|
|
1711
|
+
G.utils = {
|
|
1712
|
+
on: _,
|
|
1695
1713
|
off: k,
|
|
1696
1714
|
css: B,
|
|
1697
|
-
find:
|
|
1715
|
+
find: g0,
|
|
1698
1716
|
is: function(o, e) {
|
|
1699
|
-
return !!
|
|
1717
|
+
return !!G2(o, e, o, !1);
|
|
1700
1718
|
},
|
|
1701
|
-
extend:
|
|
1702
|
-
throttle:
|
|
1703
|
-
closest:
|
|
1719
|
+
extend: b4,
|
|
1720
|
+
throttle: p0,
|
|
1721
|
+
closest: G2,
|
|
1704
1722
|
toggleClass: u2,
|
|
1705
|
-
clone:
|
|
1706
|
-
index:
|
|
1723
|
+
clone: B1,
|
|
1724
|
+
index: g2,
|
|
1707
1725
|
nextTick: a1,
|
|
1708
1726
|
cancelNextTick: L1,
|
|
1709
|
-
detectDirection:
|
|
1710
|
-
getChild:
|
|
1727
|
+
detectDirection: x0,
|
|
1728
|
+
getChild: y3
|
|
1711
1729
|
};
|
|
1712
|
-
|
|
1713
|
-
return r[
|
|
1730
|
+
G.get = function(r) {
|
|
1731
|
+
return r[E2];
|
|
1714
1732
|
};
|
|
1715
|
-
|
|
1733
|
+
G.mount = function() {
|
|
1716
1734
|
for (var r = arguments.length, o = new Array(r), e = 0; e < r; e++)
|
|
1717
1735
|
o[e] = arguments[e];
|
|
1718
1736
|
o[0].constructor === Array && (o = o[0]), o.forEach(function(i) {
|
|
1719
1737
|
if (!i.prototype || !i.prototype.constructor)
|
|
1720
1738
|
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));
|
|
1721
|
-
i.utils && (
|
|
1739
|
+
i.utils && (G.utils = Z2(Z2({}, G.utils), i.utils)), K3.mount(i);
|
|
1722
1740
|
});
|
|
1723
1741
|
};
|
|
1724
|
-
|
|
1725
|
-
return new
|
|
1742
|
+
G.create = function(r, o) {
|
|
1743
|
+
return new G(r, o);
|
|
1726
1744
|
};
|
|
1727
|
-
|
|
1728
|
-
var
|
|
1729
|
-
function
|
|
1745
|
+
G.version = m4;
|
|
1746
|
+
var b2 = [], T3, T1, I1 = !1, E1, C1, u1, I3;
|
|
1747
|
+
function B4() {
|
|
1730
1748
|
function r() {
|
|
1731
1749
|
this.defaults = {
|
|
1732
1750
|
scroll: !0,
|
|
@@ -1741,74 +1759,74 @@ function I4() {
|
|
|
1741
1759
|
return r.prototype = {
|
|
1742
1760
|
dragStarted: function(e) {
|
|
1743
1761
|
var i = e.originalEvent;
|
|
1744
|
-
this.sortable.nativeDraggable ?
|
|
1762
|
+
this.sortable.nativeDraggable ? _(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? _(document, "pointermove", this._handleFallbackAutoScroll) : i.touches ? _(document, "touchmove", this._handleFallbackAutoScroll) : _(document, "mousemove", this._handleFallbackAutoScroll);
|
|
1745
1763
|
},
|
|
1746
1764
|
dragOverCompleted: function(e) {
|
|
1747
1765
|
var i = e.originalEvent;
|
|
1748
1766
|
!this.options.dragOverBubble && !i.rootEl && this._handleAutoScroll(i);
|
|
1749
1767
|
},
|
|
1750
1768
|
drop: function() {
|
|
1751
|
-
this.sortable.nativeDraggable ? k(document, "dragover", this._handleAutoScroll) : (k(document, "pointermove", this._handleFallbackAutoScroll), k(document, "touchmove", this._handleFallbackAutoScroll), k(document, "mousemove", this._handleFallbackAutoScroll)),
|
|
1769
|
+
this.sortable.nativeDraggable ? k(document, "dragover", this._handleAutoScroll) : (k(document, "pointermove", this._handleFallbackAutoScroll), k(document, "touchmove", this._handleFallbackAutoScroll), k(document, "mousemove", this._handleFallbackAutoScroll)), e0(), i1(), x4();
|
|
1752
1770
|
},
|
|
1753
1771
|
nulling: function() {
|
|
1754
|
-
u1 = T1 =
|
|
1772
|
+
u1 = T1 = T3 = I1 = I3 = E1 = C1 = null, b2.length = 0;
|
|
1755
1773
|
},
|
|
1756
1774
|
_handleFallbackAutoScroll: function(e) {
|
|
1757
1775
|
this._handleAutoScroll(e, !0);
|
|
1758
1776
|
},
|
|
1759
1777
|
_handleAutoScroll: function(e, i) {
|
|
1760
1778
|
var n = this, s = (e.touches ? e.touches[0] : e).clientX, t = (e.touches ? e.touches[0] : e).clientY, a = document.elementFromPoint(s, t);
|
|
1761
|
-
if (u1 = e, i || this.options.forceAutoScrollFallback ||
|
|
1779
|
+
if (u1 = e, i || this.options.forceAutoScrollFallback || $3 || t3 || P3) {
|
|
1762
1780
|
w1(e, this.options, a, i);
|
|
1763
1781
|
var l = r3(a, !0);
|
|
1764
|
-
I1 && (!
|
|
1782
|
+
I1 && (!I3 || s !== E1 || t !== C1) && (I3 && e0(), I3 = setInterval(function() {
|
|
1765
1783
|
var c = r3(document.elementFromPoint(s, t), !0);
|
|
1766
1784
|
c !== l && (l = c, i1()), w1(e, n.options, c, i);
|
|
1767
1785
|
}, 10), E1 = s, C1 = t);
|
|
1768
1786
|
} else {
|
|
1769
|
-
if (!this.options.bubbleScroll || r3(a, !0) ===
|
|
1787
|
+
if (!this.options.bubbleScroll || r3(a, !0) === Y2()) {
|
|
1770
1788
|
i1();
|
|
1771
1789
|
return;
|
|
1772
1790
|
}
|
|
1773
1791
|
w1(e, this.options, r3(a, !1), !1);
|
|
1774
1792
|
}
|
|
1775
1793
|
}
|
|
1776
|
-
},
|
|
1794
|
+
}, B2(r, {
|
|
1777
1795
|
pluginName: "scroll",
|
|
1778
1796
|
initializeByDefault: !0
|
|
1779
1797
|
});
|
|
1780
1798
|
}
|
|
1781
1799
|
function i1() {
|
|
1782
|
-
|
|
1800
|
+
b2.forEach(function(r) {
|
|
1783
1801
|
clearInterval(r.pid);
|
|
1784
|
-
}),
|
|
1802
|
+
}), b2 = [];
|
|
1785
1803
|
}
|
|
1786
|
-
function
|
|
1787
|
-
clearInterval(
|
|
1804
|
+
function e0() {
|
|
1805
|
+
clearInterval(I3);
|
|
1788
1806
|
}
|
|
1789
|
-
var w1 =
|
|
1807
|
+
var w1 = p0(function(r, o, e, i) {
|
|
1790
1808
|
if (o.scroll) {
|
|
1791
|
-
var n = (r.touches ? r.touches[0] : r).clientX, s = (r.touches ? r.touches[0] : r).clientY, t = o.scrollSensitivity, a = o.scrollSpeed, l =
|
|
1792
|
-
T1 !== e && (T1 = e, i1(),
|
|
1793
|
-
var f = 0, u =
|
|
1809
|
+
var n = (r.touches ? r.touches[0] : r).clientX, s = (r.touches ? r.touches[0] : r).clientY, t = o.scrollSensitivity, a = o.scrollSpeed, l = Y2(), c = !1, d;
|
|
1810
|
+
T1 !== e && (T1 = e, i1(), T3 = o.scroll, d = o.scrollFn, T3 === !0 && (T3 = r3(e, !0)));
|
|
1811
|
+
var f = 0, u = T3;
|
|
1794
1812
|
do {
|
|
1795
1813
|
var v = u, h = d2(v), m = h.top, g = h.bottom, p = h.left, y = h.right, C = h.width, S = h.height, w = void 0, M = void 0, D = v.scrollWidth, P = v.scrollHeight, E = B(v), T = v.scrollLeft, I = v.scrollTop;
|
|
1796
1814
|
v === l ? (w = C < D && (E.overflowX === "auto" || E.overflowX === "scroll" || E.overflowX === "visible"), M = S < P && (E.overflowY === "auto" || E.overflowY === "scroll" || E.overflowY === "visible")) : (w = C < D && (E.overflowX === "auto" || E.overflowX === "scroll"), M = S < P && (E.overflowY === "auto" || E.overflowY === "scroll"));
|
|
1797
|
-
var
|
|
1798
|
-
if (!
|
|
1815
|
+
var $ = w && (Math.abs(y - n) <= t && T + C < D) - (Math.abs(p - n) <= t && !!T), V = M && (Math.abs(g - s) <= t && I + S < P) - (Math.abs(m - s) <= t && !!I);
|
|
1816
|
+
if (!b2[f])
|
|
1799
1817
|
for (var O = 0; O <= f; O++)
|
|
1800
|
-
|
|
1801
|
-
(
|
|
1802
|
-
i && this.layer === 0 &&
|
|
1803
|
-
var
|
|
1804
|
-
typeof d == "function" && d.call(
|
|
1818
|
+
b2[O] || (b2[O] = {});
|
|
1819
|
+
(b2[f].vx != $ || b2[f].vy != V || b2[f].el !== v) && (b2[f].el = v, b2[f].vx = $, b2[f].vy = V, clearInterval(b2[f].pid), ($ != 0 || V != 0) && (c = !0, b2[f].pid = setInterval(function() {
|
|
1820
|
+
i && this.layer === 0 && G.active._onTouchMove(u1);
|
|
1821
|
+
var j = b2[this.layer].vy ? b2[this.layer].vy * a : 0, L = b2[this.layer].vx ? b2[this.layer].vx * a : 0;
|
|
1822
|
+
typeof d == "function" && d.call(G.dragged.parentNode[E2], L, j, r, u1, b2[this.layer].el) !== "continue" || y0(b2[this.layer].el, L, j);
|
|
1805
1823
|
}.bind({
|
|
1806
1824
|
layer: f
|
|
1807
1825
|
}), 24))), f++;
|
|
1808
1826
|
} while (o.bubbleScroll && u !== l && (u = r3(u, !1)));
|
|
1809
1827
|
I1 = c;
|
|
1810
1828
|
}
|
|
1811
|
-
}, 30),
|
|
1829
|
+
}, 30), E0 = function(o) {
|
|
1812
1830
|
var e = o.originalEvent, i = o.putSortable, n = o.dragEl, s = o.activeSortable, t = o.dispatchSortableEvent, a = o.hideGhostForTarget, l = o.unhideGhostForTarget;
|
|
1813
1831
|
if (e) {
|
|
1814
1832
|
var c = i || s;
|
|
@@ -1820,9 +1838,9 @@ var w1 = g0(function(r, o, e, i) {
|
|
|
1820
1838
|
}));
|
|
1821
1839
|
}
|
|
1822
1840
|
};
|
|
1823
|
-
function
|
|
1841
|
+
function F1() {
|
|
1824
1842
|
}
|
|
1825
|
-
|
|
1843
|
+
F1.prototype = {
|
|
1826
1844
|
startIndex: null,
|
|
1827
1845
|
dragStart: function(o) {
|
|
1828
1846
|
var e = o.oldDraggableIndex;
|
|
@@ -1831,28 +1849,28 @@ B1.prototype = {
|
|
|
1831
1849
|
onSpill: function(o) {
|
|
1832
1850
|
var e = o.dragEl, i = o.putSortable;
|
|
1833
1851
|
this.sortable.captureAnimationState(), i && i.captureAnimationState();
|
|
1834
|
-
var n =
|
|
1852
|
+
var n = y3(this.sortable.el, this.startIndex, this.options);
|
|
1835
1853
|
n ? this.sortable.el.insertBefore(e, n) : this.sortable.el.appendChild(e), this.sortable.animateAll(), i && i.animateAll();
|
|
1836
1854
|
},
|
|
1837
|
-
drop:
|
|
1855
|
+
drop: E0
|
|
1838
1856
|
};
|
|
1839
|
-
|
|
1857
|
+
B2(F1, {
|
|
1840
1858
|
pluginName: "revertOnSpill"
|
|
1841
1859
|
});
|
|
1842
|
-
function
|
|
1860
|
+
function N1() {
|
|
1843
1861
|
}
|
|
1844
|
-
|
|
1862
|
+
N1.prototype = {
|
|
1845
1863
|
onSpill: function(o) {
|
|
1846
1864
|
var e = o.dragEl, i = o.putSortable, n = i || this.sortable;
|
|
1847
1865
|
n.captureAnimationState(), e.parentNode && e.parentNode.removeChild(e), n.animateAll();
|
|
1848
1866
|
},
|
|
1849
|
-
drop:
|
|
1867
|
+
drop: E0
|
|
1850
1868
|
};
|
|
1851
|
-
|
|
1869
|
+
B2(N1, {
|
|
1852
1870
|
pluginName: "removeOnSpill"
|
|
1853
1871
|
});
|
|
1854
|
-
var
|
|
1855
|
-
function
|
|
1872
|
+
var R2;
|
|
1873
|
+
function F4() {
|
|
1856
1874
|
function r() {
|
|
1857
1875
|
this.defaults = {
|
|
1858
1876
|
swapClass: "sortable-swap-highlight"
|
|
@@ -1861,50 +1879,50 @@ function D4() {
|
|
|
1861
1879
|
return r.prototype = {
|
|
1862
1880
|
dragStart: function(e) {
|
|
1863
1881
|
var i = e.dragEl;
|
|
1864
|
-
|
|
1882
|
+
R2 = i;
|
|
1865
1883
|
},
|
|
1866
1884
|
dragOverValid: function(e) {
|
|
1867
1885
|
var i = e.completed, n = e.target, s = e.onMove, t = e.activeSortable, a = e.changed, l = e.cancel;
|
|
1868
1886
|
if (t.options.swap) {
|
|
1869
1887
|
var c = this.sortable.el, d = this.options;
|
|
1870
1888
|
if (n && n !== c) {
|
|
1871
|
-
var f =
|
|
1872
|
-
s(n) !== !1 ? (u2(n, d.swapClass, !0),
|
|
1889
|
+
var f = R2;
|
|
1890
|
+
s(n) !== !1 ? (u2(n, d.swapClass, !0), R2 = n) : R2 = null, f && f !== R2 && u2(f, d.swapClass, !1);
|
|
1873
1891
|
}
|
|
1874
1892
|
a(), i(!0), l();
|
|
1875
1893
|
}
|
|
1876
1894
|
},
|
|
1877
1895
|
drop: function(e) {
|
|
1878
1896
|
var i = e.activeSortable, n = e.putSortable, s = e.dragEl, t = n || this.sortable, a = this.options;
|
|
1879
|
-
|
|
1897
|
+
R2 && u2(R2, a.swapClass, !1), R2 && (a.swap || n && n.options.swap) && s !== R2 && (t.captureAnimationState(), t !== i && i.captureAnimationState(), N4(s, R2), t.animateAll(), t !== i && i.animateAll());
|
|
1880
1898
|
},
|
|
1881
1899
|
nulling: function() {
|
|
1882
|
-
|
|
1900
|
+
R2 = null;
|
|
1883
1901
|
}
|
|
1884
|
-
},
|
|
1902
|
+
}, B2(r, {
|
|
1885
1903
|
pluginName: "swap",
|
|
1886
1904
|
eventProperties: function() {
|
|
1887
1905
|
return {
|
|
1888
|
-
swapItem:
|
|
1906
|
+
swapItem: R2
|
|
1889
1907
|
};
|
|
1890
1908
|
}
|
|
1891
1909
|
});
|
|
1892
1910
|
}
|
|
1893
|
-
function
|
|
1911
|
+
function N4(r, o) {
|
|
1894
1912
|
var e = r.parentNode, i = o.parentNode, n, s;
|
|
1895
|
-
!e || !i || e.isEqualNode(o) || i.isEqualNode(r) || (n =
|
|
1913
|
+
!e || !i || e.isEqualNode(o) || i.isEqualNode(r) || (n = g2(r), s = g2(o), e.isEqualNode(i) && n < s && s++, e.insertBefore(o, e.children[n]), i.insertBefore(r, i.children[s]));
|
|
1896
1914
|
}
|
|
1897
|
-
var
|
|
1898
|
-
function
|
|
1915
|
+
var Y = [], D2 = [], w3, K2, H3 = !1, L2 = !1, h3 = !1, a2, V3, _3;
|
|
1916
|
+
function j4() {
|
|
1899
1917
|
function r(o) {
|
|
1900
1918
|
for (var e in this)
|
|
1901
1919
|
e.charAt(0) === "_" && typeof this[e] == "function" && (this[e] = this[e].bind(this));
|
|
1902
|
-
o.options.supportPointer ?
|
|
1920
|
+
o.options.supportPointer ? _(document, "pointerup", this._deselectMultiDrag) : (_(document, "mouseup", this._deselectMultiDrag), _(document, "touchend", this._deselectMultiDrag)), _(document, "keydown", this._checkKeyDown), _(document, "keyup", this._checkKeyUp), this.defaults = {
|
|
1903
1921
|
selectedClass: "sortable-selected",
|
|
1904
1922
|
multiDragKey: null,
|
|
1905
1923
|
setData: function(n, s) {
|
|
1906
1924
|
var t = "";
|
|
1907
|
-
|
|
1925
|
+
Y.length && K2 === o ? Y.forEach(function(a, l) {
|
|
1908
1926
|
t += (l ? ", " : "") + a.textContent;
|
|
1909
1927
|
}) : t = s.textContent, n.setData("Text", t);
|
|
1910
1928
|
}
|
|
@@ -1915,26 +1933,26 @@ function R4() {
|
|
|
1915
1933
|
isMultiDrag: !1,
|
|
1916
1934
|
delayStartGlobal: function(e) {
|
|
1917
1935
|
var i = e.dragEl;
|
|
1918
|
-
|
|
1936
|
+
a2 = i;
|
|
1919
1937
|
},
|
|
1920
1938
|
delayEnded: function() {
|
|
1921
|
-
this.isMultiDrag = ~
|
|
1939
|
+
this.isMultiDrag = ~Y.indexOf(a2);
|
|
1922
1940
|
},
|
|
1923
1941
|
setupClone: function(e) {
|
|
1924
1942
|
var i = e.sortable, n = e.cancel;
|
|
1925
1943
|
if (this.isMultiDrag) {
|
|
1926
|
-
for (var s = 0; s <
|
|
1927
|
-
|
|
1944
|
+
for (var s = 0; s < Y.length; s++)
|
|
1945
|
+
D2.push(B1(Y[s])), D2[s].sortableIndex = Y[s].sortableIndex, D2[s].draggable = !1, D2[s].style["will-change"] = "", u2(D2[s], this.options.selectedClass, !1), Y[s] === a2 && u2(D2[s], this.options.chosenClass, !1);
|
|
1928
1946
|
i._hideClone(), n();
|
|
1929
1947
|
}
|
|
1930
1948
|
},
|
|
1931
1949
|
clone: function(e) {
|
|
1932
1950
|
var i = e.sortable, n = e.rootEl, s = e.dispatchSortableEvent, t = e.cancel;
|
|
1933
|
-
this.isMultiDrag && (this.options.removeCloneOnHide ||
|
|
1951
|
+
this.isMultiDrag && (this.options.removeCloneOnHide || Y.length && K2 === i && (n0(!0, n), s("clone"), t()));
|
|
1934
1952
|
},
|
|
1935
1953
|
showClone: function(e) {
|
|
1936
1954
|
var i = e.cloneNowShown, n = e.rootEl, s = e.cancel;
|
|
1937
|
-
this.isMultiDrag && (
|
|
1955
|
+
this.isMultiDrag && (n0(!1, n), D2.forEach(function(t) {
|
|
1938
1956
|
B(t, "display", "");
|
|
1939
1957
|
}), i(), _3 = !1, s());
|
|
1940
1958
|
},
|
|
@@ -1942,31 +1960,31 @@ function R4() {
|
|
|
1942
1960
|
var i = this;
|
|
1943
1961
|
e.sortable;
|
|
1944
1962
|
var n = e.cloneNowHidden, s = e.cancel;
|
|
1945
|
-
this.isMultiDrag && (
|
|
1963
|
+
this.isMultiDrag && (D2.forEach(function(t) {
|
|
1946
1964
|
B(t, "display", "none"), i.options.removeCloneOnHide && t.parentNode && t.parentNode.removeChild(t);
|
|
1947
1965
|
}), n(), _3 = !0, s());
|
|
1948
1966
|
},
|
|
1949
1967
|
dragStartGlobal: function(e) {
|
|
1950
|
-
e.sortable, !this.isMultiDrag &&
|
|
1951
|
-
i.sortableIndex =
|
|
1952
|
-
}),
|
|
1968
|
+
e.sortable, !this.isMultiDrag && K2 && K2.multiDrag._deselectMultiDrag(), Y.forEach(function(i) {
|
|
1969
|
+
i.sortableIndex = g2(i);
|
|
1970
|
+
}), Y = Y.sort(function(i, n) {
|
|
1953
1971
|
return i.sortableIndex - n.sortableIndex;
|
|
1954
|
-
}),
|
|
1972
|
+
}), h3 = !0;
|
|
1955
1973
|
},
|
|
1956
1974
|
dragStarted: function(e) {
|
|
1957
1975
|
var i = this, n = e.sortable;
|
|
1958
1976
|
if (this.isMultiDrag) {
|
|
1959
1977
|
if (this.options.sort && (n.captureAnimationState(), this.options.animation)) {
|
|
1960
|
-
|
|
1961
|
-
t !==
|
|
1978
|
+
Y.forEach(function(t) {
|
|
1979
|
+
t !== a2 && B(t, "position", "absolute");
|
|
1962
1980
|
});
|
|
1963
|
-
var s = d2(
|
|
1964
|
-
|
|
1965
|
-
t !==
|
|
1966
|
-
}),
|
|
1981
|
+
var s = d2(a2, !1, !0, !0);
|
|
1982
|
+
Y.forEach(function(t) {
|
|
1983
|
+
t !== a2 && k1(t, s);
|
|
1984
|
+
}), L2 = !0, H3 = !0;
|
|
1967
1985
|
}
|
|
1968
1986
|
n.animateAll(function() {
|
|
1969
|
-
|
|
1987
|
+
L2 = !1, H3 = !1, i.options.animation && Y.forEach(function(t) {
|
|
1970
1988
|
y1(t);
|
|
1971
1989
|
}), i.options.sort && t1();
|
|
1972
1990
|
});
|
|
@@ -1974,34 +1992,34 @@ function R4() {
|
|
|
1974
1992
|
},
|
|
1975
1993
|
dragOver: function(e) {
|
|
1976
1994
|
var i = e.target, n = e.completed, s = e.cancel;
|
|
1977
|
-
|
|
1995
|
+
L2 && ~Y.indexOf(i) && (n(!1), s());
|
|
1978
1996
|
},
|
|
1979
1997
|
revert: function(e) {
|
|
1980
1998
|
var i = e.fromSortable, n = e.rootEl, s = e.sortable, t = e.dragRect;
|
|
1981
|
-
|
|
1999
|
+
Y.length > 1 && (Y.forEach(function(a) {
|
|
1982
2000
|
s.addAnimationState({
|
|
1983
2001
|
target: a,
|
|
1984
|
-
rect:
|
|
2002
|
+
rect: L2 ? d2(a) : t
|
|
1985
2003
|
}), y1(a), a.fromRect = t, i.removeAnimationState(a);
|
|
1986
|
-
}),
|
|
2004
|
+
}), L2 = !1, $4(!this.options.removeCloneOnHide, n));
|
|
1987
2005
|
},
|
|
1988
2006
|
dragOverCompleted: function(e) {
|
|
1989
2007
|
var i = e.sortable, n = e.isOwner, s = e.insertion, t = e.activeSortable, a = e.parentEl, l = e.putSortable, c = this.options;
|
|
1990
2008
|
if (s) {
|
|
1991
|
-
if (n && t._hideClone(),
|
|
1992
|
-
var d = d2(
|
|
1993
|
-
|
|
1994
|
-
u !==
|
|
1995
|
-
}),
|
|
2009
|
+
if (n && t._hideClone(), H3 = !1, c.animation && Y.length > 1 && (L2 || !n && !t.options.sort && !l)) {
|
|
2010
|
+
var d = d2(a2, !1, !0, !0);
|
|
2011
|
+
Y.forEach(function(u) {
|
|
2012
|
+
u !== a2 && (k1(u, d), a.appendChild(u));
|
|
2013
|
+
}), L2 = !0;
|
|
1996
2014
|
}
|
|
1997
2015
|
if (!n)
|
|
1998
|
-
if (
|
|
2016
|
+
if (L2 || t1(), Y.length > 1) {
|
|
1999
2017
|
var f = _3;
|
|
2000
|
-
t._showClone(i), t.options.animation && !_3 && f &&
|
|
2018
|
+
t._showClone(i), t.options.animation && !_3 && f && D2.forEach(function(u) {
|
|
2001
2019
|
t.addAnimationState({
|
|
2002
2020
|
target: u,
|
|
2003
|
-
rect:
|
|
2004
|
-
}), u.fromRect =
|
|
2021
|
+
rect: V3
|
|
2022
|
+
}), u.fromRect = V3, u.thisAnimationDuration = null;
|
|
2005
2023
|
});
|
|
2006
2024
|
} else
|
|
2007
2025
|
t._showClone(i);
|
|
@@ -2009,43 +2027,43 @@ function R4() {
|
|
|
2009
2027
|
},
|
|
2010
2028
|
dragOverAnimationCapture: function(e) {
|
|
2011
2029
|
var i = e.dragRect, n = e.isOwner, s = e.activeSortable;
|
|
2012
|
-
if (
|
|
2030
|
+
if (Y.forEach(function(a) {
|
|
2013
2031
|
a.thisAnimationDuration = null;
|
|
2014
2032
|
}), s.options.animation && !n && s.multiDrag.isMultiDrag) {
|
|
2015
|
-
|
|
2016
|
-
var t = c3(
|
|
2017
|
-
|
|
2033
|
+
V3 = B2({}, i);
|
|
2034
|
+
var t = c3(a2, !0);
|
|
2035
|
+
V3.top -= t.f, V3.left -= t.e;
|
|
2018
2036
|
}
|
|
2019
2037
|
},
|
|
2020
2038
|
dragOverAnimationComplete: function() {
|
|
2021
|
-
|
|
2039
|
+
L2 && (L2 = !1, t1());
|
|
2022
2040
|
},
|
|
2023
2041
|
drop: function(e) {
|
|
2024
2042
|
var i = e.originalEvent, n = e.rootEl, s = e.parentEl, t = e.sortable, a = e.dispatchSortableEvent, l = e.oldIndex, c = e.putSortable, d = c || this.sortable;
|
|
2025
2043
|
if (i) {
|
|
2026
2044
|
var f = this.options, u = s.children;
|
|
2027
|
-
if (!
|
|
2028
|
-
if (f.multiDragKey && !this.multiDragKeyDown && this._deselectMultiDrag(), u2(
|
|
2029
|
-
|
|
2045
|
+
if (!h3)
|
|
2046
|
+
if (f.multiDragKey && !this.multiDragKeyDown && this._deselectMultiDrag(), u2(a2, f.selectedClass, !~Y.indexOf(a2)), ~Y.indexOf(a2))
|
|
2047
|
+
Y.splice(Y.indexOf(a2), 1), w3 = null, A3({
|
|
2030
2048
|
sortable: t,
|
|
2031
2049
|
rootEl: n,
|
|
2032
2050
|
name: "deselect",
|
|
2033
|
-
targetEl:
|
|
2051
|
+
targetEl: a2,
|
|
2034
2052
|
originalEvt: i
|
|
2035
2053
|
});
|
|
2036
2054
|
else {
|
|
2037
|
-
if (
|
|
2055
|
+
if (Y.push(a2), A3({
|
|
2038
2056
|
sortable: t,
|
|
2039
2057
|
rootEl: n,
|
|
2040
2058
|
name: "select",
|
|
2041
|
-
targetEl:
|
|
2059
|
+
targetEl: a2,
|
|
2042
2060
|
originalEvt: i
|
|
2043
|
-
}), i.shiftKey &&
|
|
2044
|
-
var v =
|
|
2061
|
+
}), i.shiftKey && w3 && t.el.contains(w3)) {
|
|
2062
|
+
var v = g2(w3), h = g2(a2);
|
|
2045
2063
|
if (~v && ~h && v !== h) {
|
|
2046
2064
|
var m, g;
|
|
2047
2065
|
for (h > v ? (g = v, m = h) : (g = h, m = v + 1); g < m; g++)
|
|
2048
|
-
~
|
|
2066
|
+
~Y.indexOf(u[g]) || (u2(u[g], f.selectedClass, !0), Y.push(u[g]), A3({
|
|
2049
2067
|
sortable: t,
|
|
2050
2068
|
rootEl: n,
|
|
2051
2069
|
name: "select",
|
|
@@ -2054,53 +2072,53 @@ function R4() {
|
|
|
2054
2072
|
}));
|
|
2055
2073
|
}
|
|
2056
2074
|
} else
|
|
2057
|
-
|
|
2058
|
-
|
|
2075
|
+
w3 = a2;
|
|
2076
|
+
K2 = d;
|
|
2059
2077
|
}
|
|
2060
|
-
if (
|
|
2061
|
-
if (
|
|
2062
|
-
var p = d2(
|
|
2063
|
-
if (!
|
|
2064
|
-
if (S.thisAnimationDuration = null, S !==
|
|
2065
|
-
var w =
|
|
2078
|
+
if (h3 && this.isMultiDrag) {
|
|
2079
|
+
if (L2 = !1, (s[E2].options.sort || s !== n) && Y.length > 1) {
|
|
2080
|
+
var p = d2(a2), y = g2(a2, ":not(." + this.options.selectedClass + ")");
|
|
2081
|
+
if (!H3 && f.animation && (a2.thisAnimationDuration = null), d.captureAnimationState(), !H3 && (f.animation && (a2.fromRect = p, Y.forEach(function(S) {
|
|
2082
|
+
if (S.thisAnimationDuration = null, S !== a2) {
|
|
2083
|
+
var w = L2 ? d2(S) : p;
|
|
2066
2084
|
S.fromRect = w, d.addAnimationState({
|
|
2067
2085
|
target: S,
|
|
2068
2086
|
rect: w
|
|
2069
2087
|
});
|
|
2070
2088
|
}
|
|
2071
|
-
})), t1(),
|
|
2089
|
+
})), t1(), Y.forEach(function(S) {
|
|
2072
2090
|
u[y] ? s.insertBefore(S, u[y]) : s.appendChild(S), y++;
|
|
2073
|
-
}), l ===
|
|
2091
|
+
}), l === g2(a2))) {
|
|
2074
2092
|
var C = !1;
|
|
2075
|
-
|
|
2076
|
-
if (S.sortableIndex !==
|
|
2093
|
+
Y.forEach(function(S) {
|
|
2094
|
+
if (S.sortableIndex !== g2(S)) {
|
|
2077
2095
|
C = !0;
|
|
2078
2096
|
return;
|
|
2079
2097
|
}
|
|
2080
2098
|
}), C && a("update");
|
|
2081
2099
|
}
|
|
2082
|
-
|
|
2100
|
+
Y.forEach(function(S) {
|
|
2083
2101
|
y1(S);
|
|
2084
2102
|
}), d.animateAll();
|
|
2085
2103
|
}
|
|
2086
|
-
|
|
2104
|
+
K2 = d;
|
|
2087
2105
|
}
|
|
2088
|
-
(n === s || c && c.lastPutMode !== "clone") &&
|
|
2106
|
+
(n === s || c && c.lastPutMode !== "clone") && D2.forEach(function(S) {
|
|
2089
2107
|
S.parentNode && S.parentNode.removeChild(S);
|
|
2090
2108
|
});
|
|
2091
2109
|
}
|
|
2092
2110
|
},
|
|
2093
2111
|
nullingGlobal: function() {
|
|
2094
|
-
this.isMultiDrag =
|
|
2112
|
+
this.isMultiDrag = h3 = !1, D2.length = 0;
|
|
2095
2113
|
},
|
|
2096
2114
|
destroyGlobal: function() {
|
|
2097
2115
|
this._deselectMultiDrag(), k(document, "pointerup", this._deselectMultiDrag), k(document, "mouseup", this._deselectMultiDrag), k(document, "touchend", this._deselectMultiDrag), k(document, "keydown", this._checkKeyDown), k(document, "keyup", this._checkKeyUp);
|
|
2098
2116
|
},
|
|
2099
2117
|
_deselectMultiDrag: function(e) {
|
|
2100
|
-
if (!(typeof
|
|
2101
|
-
for (;
|
|
2102
|
-
var i =
|
|
2103
|
-
u2(i, this.options.selectedClass, !1),
|
|
2118
|
+
if (!(typeof h3 < "u" && h3) && K2 === this.sortable && !(e && G2(e.target, this.options.draggable, this.sortable.el, !1)) && !(e && e.button !== 0))
|
|
2119
|
+
for (; Y.length; ) {
|
|
2120
|
+
var i = Y[0];
|
|
2121
|
+
u2(i, this.options.selectedClass, !1), Y.shift(), A3({
|
|
2104
2122
|
sortable: this.sortable,
|
|
2105
2123
|
rootEl: this.sortable.el,
|
|
2106
2124
|
name: "deselect",
|
|
@@ -2115,7 +2133,7 @@ function R4() {
|
|
|
2115
2133
|
_checkKeyUp: function(e) {
|
|
2116
2134
|
e.key === this.options.multiDragKey && (this.multiDragKeyDown = !1);
|
|
2117
2135
|
}
|
|
2118
|
-
},
|
|
2136
|
+
}, B2(r, {
|
|
2119
2137
|
// Static methods & properties
|
|
2120
2138
|
pluginName: "multiDrag",
|
|
2121
2139
|
utils: {
|
|
@@ -2124,33 +2142,33 @@ function R4() {
|
|
|
2124
2142
|
* @param {HTMLElement} el The element to be selected
|
|
2125
2143
|
*/
|
|
2126
2144
|
select: function(e) {
|
|
2127
|
-
var i = e.parentNode[
|
|
2128
|
-
!i || !i.options.multiDrag || ~
|
|
2145
|
+
var i = e.parentNode[E2];
|
|
2146
|
+
!i || !i.options.multiDrag || ~Y.indexOf(e) || (K2 && K2 !== i && (K2.multiDrag._deselectMultiDrag(), K2 = i), u2(e, i.options.selectedClass, !0), Y.push(e));
|
|
2129
2147
|
},
|
|
2130
2148
|
/**
|
|
2131
2149
|
* Deselects the provided multi-drag item
|
|
2132
2150
|
* @param {HTMLElement} el The element to be deselected
|
|
2133
2151
|
*/
|
|
2134
2152
|
deselect: function(e) {
|
|
2135
|
-
var i = e.parentNode[
|
|
2136
|
-
!i || !i.options.multiDrag || !~n || (u2(e, i.options.selectedClass, !1),
|
|
2153
|
+
var i = e.parentNode[E2], n = Y.indexOf(e);
|
|
2154
|
+
!i || !i.options.multiDrag || !~n || (u2(e, i.options.selectedClass, !1), Y.splice(n, 1));
|
|
2137
2155
|
}
|
|
2138
2156
|
},
|
|
2139
2157
|
eventProperties: function() {
|
|
2140
2158
|
var e = this, i = [], n = [];
|
|
2141
|
-
return
|
|
2159
|
+
return Y.forEach(function(s) {
|
|
2142
2160
|
i.push({
|
|
2143
2161
|
multiDragElement: s,
|
|
2144
2162
|
index: s.sortableIndex
|
|
2145
2163
|
});
|
|
2146
2164
|
var t;
|
|
2147
|
-
|
|
2165
|
+
L2 && s !== a2 ? t = -1 : L2 ? t = g2(s, ":not(." + e.options.selectedClass + ")") : t = g2(s), n.push({
|
|
2148
2166
|
multiDragElement: s,
|
|
2149
2167
|
index: t
|
|
2150
2168
|
});
|
|
2151
2169
|
}), {
|
|
2152
|
-
items:
|
|
2153
|
-
clones: [].concat(
|
|
2170
|
+
items: d4(Y),
|
|
2171
|
+
clones: [].concat(D2),
|
|
2154
2172
|
oldIndicies: i,
|
|
2155
2173
|
newIndicies: n
|
|
2156
2174
|
};
|
|
@@ -2162,36 +2180,36 @@ function R4() {
|
|
|
2162
2180
|
}
|
|
2163
2181
|
});
|
|
2164
2182
|
}
|
|
2165
|
-
function
|
|
2166
|
-
|
|
2183
|
+
function $4(r, o) {
|
|
2184
|
+
Y.forEach(function(e, i) {
|
|
2167
2185
|
var n = o.children[e.sortableIndex + (r ? Number(i) : 0)];
|
|
2168
2186
|
n ? o.insertBefore(e, n) : o.appendChild(e);
|
|
2169
2187
|
});
|
|
2170
2188
|
}
|
|
2171
|
-
function
|
|
2172
|
-
|
|
2189
|
+
function n0(r, o) {
|
|
2190
|
+
D2.forEach(function(e, i) {
|
|
2173
2191
|
var n = o.children[e.sortableIndex + (r ? Number(i) : 0)];
|
|
2174
2192
|
n ? o.insertBefore(e, n) : o.appendChild(e);
|
|
2175
2193
|
});
|
|
2176
2194
|
}
|
|
2177
2195
|
function t1() {
|
|
2178
|
-
|
|
2179
|
-
r !==
|
|
2196
|
+
Y.forEach(function(r) {
|
|
2197
|
+
r !== a2 && r.parentNode && r.parentNode.removeChild(r);
|
|
2180
2198
|
});
|
|
2181
2199
|
}
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
const
|
|
2200
|
+
G.mount(new B4());
|
|
2201
|
+
G.mount(N1, F1);
|
|
2202
|
+
const K4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2185
2203
|
__proto__: null,
|
|
2186
|
-
MultiDrag:
|
|
2187
|
-
Sortable:
|
|
2188
|
-
Swap:
|
|
2189
|
-
default:
|
|
2190
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2204
|
+
MultiDrag: j4,
|
|
2205
|
+
Sortable: G,
|
|
2206
|
+
Swap: F4,
|
|
2207
|
+
default: G
|
|
2208
|
+
}, Symbol.toStringTag, { value: "Module" })), U4 = /* @__PURE__ */ Vt(K4);
|
|
2191
2209
|
(function(r, o) {
|
|
2192
2210
|
(function(i, n) {
|
|
2193
|
-
r.exports = n(
|
|
2194
|
-
})(typeof self < "u" ? self :
|
|
2211
|
+
r.exports = n(U0, U4);
|
|
2212
|
+
})(typeof self < "u" ? self : Ot, function(e, i) {
|
|
2195
2213
|
return function(n) {
|
|
2196
2214
|
var s = {};
|
|
2197
2215
|
function t(a) {
|
|
@@ -2620,13 +2638,13 @@ const F4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2620
2638
|
"4df4": function(n, s, t) {
|
|
2621
2639
|
var a = t("0366"), l = t("7b0b"), c = t("9bdd"), d = t("e95a"), f = t("50c4"), u = t("8418"), v = t("35a1");
|
|
2622
2640
|
n.exports = function(m) {
|
|
2623
|
-
var g = l(m), p = typeof this == "function" ? this : Array, y = arguments.length, C = y > 1 ? arguments[1] : void 0, S = C !== void 0, w = v(g), M = 0, D, P, E, T, I,
|
|
2641
|
+
var g = l(m), p = typeof this == "function" ? this : Array, y = arguments.length, C = y > 1 ? arguments[1] : void 0, S = C !== void 0, w = v(g), M = 0, D, P, E, T, I, $;
|
|
2624
2642
|
if (S && (C = a(C, y > 2 ? arguments[2] : void 0, 2)), w != null && !(p == Array && d(w)))
|
|
2625
2643
|
for (T = w.call(g), I = T.next, P = new p(); !(E = I.call(T)).done; M++)
|
|
2626
|
-
|
|
2644
|
+
$ = S ? c(T, C, [E.value, M], !0) : E.value, u(P, M, $);
|
|
2627
2645
|
else
|
|
2628
2646
|
for (D = f(g.length), P = new p(D); D > M; M++)
|
|
2629
|
-
|
|
2647
|
+
$ = S ? C(g[M], M) : g[M], u(P, M, $);
|
|
2630
2648
|
return P.length = M, P;
|
|
2631
2649
|
};
|
|
2632
2650
|
},
|
|
@@ -2663,75 +2681,75 @@ const F4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2663
2681
|
return [
|
|
2664
2682
|
// `String.prototype.replace` method
|
|
2665
2683
|
// https://tc39.github.io/ecma262/#sec-string.prototype.replace
|
|
2666
|
-
function(O,
|
|
2684
|
+
function(O, j) {
|
|
2667
2685
|
var L = u(this), N = O == null ? void 0 : O[w];
|
|
2668
|
-
return N !== void 0 ? N.call(O, L,
|
|
2686
|
+
return N !== void 0 ? N.call(O, L, j) : M.call(String(L), O, j);
|
|
2669
2687
|
},
|
|
2670
2688
|
// `RegExp.prototype[@@replace]` method
|
|
2671
2689
|
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
|
|
2672
2690
|
function(V, O) {
|
|
2673
2691
|
if (!E && T || typeof O == "string" && O.indexOf(I) === -1) {
|
|
2674
|
-
var
|
|
2675
|
-
if (
|
|
2676
|
-
return
|
|
2692
|
+
var j = D(M, V, this, O);
|
|
2693
|
+
if (j.done)
|
|
2694
|
+
return j.value;
|
|
2677
2695
|
}
|
|
2678
2696
|
var L = l(V), N = String(this), Q = typeof O == "function";
|
|
2679
2697
|
Q || (O = String(O));
|
|
2680
|
-
var
|
|
2681
|
-
if (
|
|
2682
|
-
var
|
|
2698
|
+
var o2 = L.global;
|
|
2699
|
+
if (o2) {
|
|
2700
|
+
var x2 = L.unicode;
|
|
2683
2701
|
L.lastIndex = 0;
|
|
2684
2702
|
}
|
|
2685
2703
|
for (var l2 = []; ; ) {
|
|
2686
2704
|
var s2 = h(L, N);
|
|
2687
|
-
if (s2 === null || (l2.push(s2), !
|
|
2705
|
+
if (s2 === null || (l2.push(s2), !o2))
|
|
2688
2706
|
break;
|
|
2689
2707
|
var v2 = String(s2[0]);
|
|
2690
|
-
v2 === "" && (L.lastIndex = v(N, d(L.lastIndex),
|
|
2708
|
+
v2 === "" && (L.lastIndex = v(N, d(L.lastIndex), x2));
|
|
2691
2709
|
}
|
|
2692
|
-
for (var
|
|
2693
|
-
s2 = l2[
|
|
2694
|
-
for (var
|
|
2695
|
-
|
|
2696
|
-
var
|
|
2710
|
+
for (var y2 = "", f2 = 0, r2 = 0; r2 < l2.length; r2++) {
|
|
2711
|
+
s2 = l2[r2];
|
|
2712
|
+
for (var i2 = String(s2[0]), C2 = m(g(f(s2.index), N.length), 0), z2 = [], F2 = 1; F2 < s2.length; F2++)
|
|
2713
|
+
z2.push(S(s2[F2]));
|
|
2714
|
+
var X2 = s2.groups;
|
|
2697
2715
|
if (Q) {
|
|
2698
|
-
var
|
|
2699
|
-
|
|
2700
|
-
var
|
|
2716
|
+
var N2 = [i2].concat(z2, C2, N);
|
|
2717
|
+
X2 !== void 0 && N2.push(X2);
|
|
2718
|
+
var K = String(O.apply(void 0, N2));
|
|
2701
2719
|
} else
|
|
2702
|
-
|
|
2703
|
-
|
|
2720
|
+
K = $(i2, N, C2, z2, X2, O);
|
|
2721
|
+
C2 >= f2 && (y2 += N.slice(f2, C2) + K, f2 = C2 + i2.length);
|
|
2704
2722
|
}
|
|
2705
|
-
return
|
|
2723
|
+
return y2 + N.slice(f2);
|
|
2706
2724
|
}
|
|
2707
2725
|
];
|
|
2708
|
-
function
|
|
2709
|
-
var
|
|
2726
|
+
function $(V, O, j, L, N, Q) {
|
|
2727
|
+
var o2 = j + V.length, x2 = L.length, l2 = C;
|
|
2710
2728
|
return N !== void 0 && (N = c(N), l2 = y), M.call(Q, l2, function(s2, v2) {
|
|
2711
|
-
var
|
|
2729
|
+
var y2;
|
|
2712
2730
|
switch (v2.charAt(0)) {
|
|
2713
2731
|
case "$":
|
|
2714
2732
|
return "$";
|
|
2715
2733
|
case "&":
|
|
2716
2734
|
return V;
|
|
2717
2735
|
case "`":
|
|
2718
|
-
return O.slice(0,
|
|
2736
|
+
return O.slice(0, j);
|
|
2719
2737
|
case "'":
|
|
2720
|
-
return O.slice(
|
|
2738
|
+
return O.slice(o2);
|
|
2721
2739
|
case "<":
|
|
2722
|
-
|
|
2740
|
+
y2 = N[v2.slice(1, -1)];
|
|
2723
2741
|
break;
|
|
2724
2742
|
default:
|
|
2725
2743
|
var f2 = +v2;
|
|
2726
2744
|
if (f2 === 0)
|
|
2727
2745
|
return s2;
|
|
2728
|
-
if (f2 >
|
|
2729
|
-
var
|
|
2730
|
-
return
|
|
2746
|
+
if (f2 > x2) {
|
|
2747
|
+
var r2 = p(f2 / 10);
|
|
2748
|
+
return r2 === 0 ? s2 : r2 <= x2 ? L[r2 - 1] === void 0 ? v2.charAt(1) : L[r2 - 1] + v2.charAt(1) : s2;
|
|
2731
2749
|
}
|
|
2732
|
-
|
|
2750
|
+
y2 = L[f2 - 1];
|
|
2733
2751
|
}
|
|
2734
|
-
return
|
|
2752
|
+
return y2 === void 0 ? "" : y2;
|
|
2735
2753
|
});
|
|
2736
2754
|
}
|
|
2737
2755
|
});
|
|
@@ -2943,8 +2961,8 @@ const F4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2943
2961
|
return P();
|
|
2944
2962
|
};
|
|
2945
2963
|
d[y] = !0, n.exports = Object.create || function(T, I) {
|
|
2946
|
-
var
|
|
2947
|
-
return T !== null ? (C[g] = a(T),
|
|
2964
|
+
var $;
|
|
2965
|
+
return T !== null ? (C[g] = a(T), $ = new C(), C[g] = null, $[y] = T) : $ = P(), I === void 0 ? $ : l($, I);
|
|
2948
2966
|
};
|
|
2949
2967
|
},
|
|
2950
2968
|
/***/
|
|
@@ -2952,44 +2970,44 @@ const F4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2952
2970
|
var a = t("23e7"), l = t("9ed3"), c = t("e163"), d = t("d2bb"), f = t("d44e"), u = t("9112"), v = t("6eeb"), h = t("b622"), m = t("c430"), g = t("3f8c"), p = t("ae93"), y = p.IteratorPrototype, C = p.BUGGY_SAFARI_ITERATORS, S = h("iterator"), w = "keys", M = "values", D = "entries", P = function() {
|
|
2953
2971
|
return this;
|
|
2954
2972
|
};
|
|
2955
|
-
n.exports = function(E, T, I,
|
|
2956
|
-
l(I, T,
|
|
2957
|
-
var L = function(
|
|
2958
|
-
if (
|
|
2973
|
+
n.exports = function(E, T, I, $, V, O, j) {
|
|
2974
|
+
l(I, T, $);
|
|
2975
|
+
var L = function(r2) {
|
|
2976
|
+
if (r2 === V && l2)
|
|
2959
2977
|
return l2;
|
|
2960
|
-
if (!C &&
|
|
2961
|
-
return
|
|
2962
|
-
switch (
|
|
2978
|
+
if (!C && r2 in o2)
|
|
2979
|
+
return o2[r2];
|
|
2980
|
+
switch (r2) {
|
|
2963
2981
|
case w:
|
|
2964
2982
|
return function() {
|
|
2965
|
-
return new I(this,
|
|
2983
|
+
return new I(this, r2);
|
|
2966
2984
|
};
|
|
2967
2985
|
case M:
|
|
2968
2986
|
return function() {
|
|
2969
|
-
return new I(this,
|
|
2987
|
+
return new I(this, r2);
|
|
2970
2988
|
};
|
|
2971
2989
|
case D:
|
|
2972
2990
|
return function() {
|
|
2973
|
-
return new I(this,
|
|
2991
|
+
return new I(this, r2);
|
|
2974
2992
|
};
|
|
2975
2993
|
}
|
|
2976
2994
|
return function() {
|
|
2977
2995
|
return new I(this);
|
|
2978
2996
|
};
|
|
2979
|
-
}, N = T + " Iterator", Q = !1,
|
|
2980
|
-
if (s2 && (v2 = c(s2.call(new E())), y !== Object.prototype && v2.next && (!m && c(v2) !== y && (d ? d(v2, y) : typeof v2[S] != "function" && u(v2, S, P)), f(v2, N, !0, !0), m && (g[N] = P))), V == M &&
|
|
2981
|
-
return
|
|
2982
|
-
}), (!m ||
|
|
2983
|
-
if (
|
|
2997
|
+
}, N = T + " Iterator", Q = !1, o2 = E.prototype, x2 = o2[S] || o2["@@iterator"] || V && o2[V], l2 = !C && x2 || L(V), s2 = T == "Array" && o2.entries || x2, v2, y2, f2;
|
|
2998
|
+
if (s2 && (v2 = c(s2.call(new E())), y !== Object.prototype && v2.next && (!m && c(v2) !== y && (d ? d(v2, y) : typeof v2[S] != "function" && u(v2, S, P)), f(v2, N, !0, !0), m && (g[N] = P))), V == M && x2 && x2.name !== M && (Q = !0, l2 = function() {
|
|
2999
|
+
return x2.call(this);
|
|
3000
|
+
}), (!m || j) && o2[S] !== l2 && u(o2, S, l2), g[T] = l2, V)
|
|
3001
|
+
if (y2 = {
|
|
2984
3002
|
values: L(M),
|
|
2985
3003
|
keys: O ? l2 : L(w),
|
|
2986
3004
|
entries: L(D)
|
|
2987
|
-
},
|
|
2988
|
-
for (f2 in
|
|
2989
|
-
(C || Q || !(f2 in
|
|
3005
|
+
}, j)
|
|
3006
|
+
for (f2 in y2)
|
|
3007
|
+
(C || Q || !(f2 in o2)) && v(o2, f2, y2[f2]);
|
|
2990
3008
|
else
|
|
2991
|
-
a({ target: T, proto: !0, forced: C || Q },
|
|
2992
|
-
return
|
|
3009
|
+
a({ target: T, proto: !0, forced: C || Q }, y2);
|
|
3010
|
+
return y2;
|
|
2993
3011
|
};
|
|
2994
3012
|
},
|
|
2995
3013
|
/***/
|
|
@@ -3125,19 +3143,19 @@ const F4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3125
3143
|
}, P = !w || !M;
|
|
3126
3144
|
a({ target: "Array", proto: !0, forced: P }, {
|
|
3127
3145
|
concat: function(T) {
|
|
3128
|
-
var I = f(this),
|
|
3146
|
+
var I = f(this), $ = h(I, 0), V = 0, O, j, L, N, Q;
|
|
3129
3147
|
for (O = -1, L = arguments.length; O < L; O++)
|
|
3130
3148
|
if (Q = O === -1 ? I : arguments[O], D(Q)) {
|
|
3131
3149
|
if (N = u(Q.length), V + N > C)
|
|
3132
3150
|
throw TypeError(S);
|
|
3133
|
-
for (
|
|
3134
|
-
|
|
3151
|
+
for (j = 0; j < N; j++, V++)
|
|
3152
|
+
j in Q && v($, V, Q[j]);
|
|
3135
3153
|
} else {
|
|
3136
3154
|
if (V >= C)
|
|
3137
3155
|
throw TypeError(S);
|
|
3138
|
-
v(
|
|
3156
|
+
v($, V++, Q);
|
|
3139
3157
|
}
|
|
3140
|
-
return
|
|
3158
|
+
return $.length = V, $;
|
|
3141
3159
|
}
|
|
3142
3160
|
});
|
|
3143
3161
|
},
|
|
@@ -3220,12 +3238,12 @@ const F4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3220
3238
|
var a = t("23e7"), l = t("23cb"), c = t("a691"), d = t("50c4"), f = t("7b0b"), u = t("65f0"), v = t("8418"), h = t("1dde"), m = t("ae40"), g = h("splice"), p = m("splice", { ACCESSORS: !0, 0: 0, 1: 2 }), y = Math.max, C = Math.min, S = 9007199254740991, w = "Maximum allowed length exceeded";
|
|
3221
3239
|
a({ target: "Array", proto: !0, forced: !g || !p }, {
|
|
3222
3240
|
splice: function(D, P) {
|
|
3223
|
-
var E = f(this), T = d(E.length), I = l(D, T),
|
|
3224
|
-
if (
|
|
3241
|
+
var E = f(this), T = d(E.length), I = l(D, T), $ = arguments.length, V, O, j, L, N, Q;
|
|
3242
|
+
if ($ === 0 ? V = O = 0 : $ === 1 ? (V = 0, O = T - I) : (V = $ - 2, O = C(y(c(P), 0), T - I)), T + V - O > S)
|
|
3225
3243
|
throw TypeError(w);
|
|
3226
|
-
for (
|
|
3227
|
-
N = I + L, N in E && v(
|
|
3228
|
-
if (
|
|
3244
|
+
for (j = u(E, O), L = 0; L < O; L++)
|
|
3245
|
+
N = I + L, N in E && v(j, L, E[N]);
|
|
3246
|
+
if (j.length = O, V < O) {
|
|
3229
3247
|
for (L = I; L < T - O; L++)
|
|
3230
3248
|
N = L + O, Q = L + V, N in E ? E[Q] = E[N] : delete E[Q];
|
|
3231
3249
|
for (L = T; L > T - O + V; L--)
|
|
@@ -3235,109 +3253,109 @@ const F4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3235
3253
|
N = L + O - 1, Q = L + V - 1, N in E ? E[Q] = E[N] : delete E[Q];
|
|
3236
3254
|
for (L = 0; L < V; L++)
|
|
3237
3255
|
E[L + I] = arguments[L + 2];
|
|
3238
|
-
return E.length = T - O + V,
|
|
3256
|
+
return E.length = T - O + V, j;
|
|
3239
3257
|
}
|
|
3240
3258
|
});
|
|
3241
3259
|
},
|
|
3242
3260
|
/***/
|
|
3243
3261
|
a4d3: function(n, s, t) {
|
|
3244
|
-
var a = t("23e7"), l = t("da84"), c = t("d066"), d = t("c430"), f = t("83ab"), u = t("4930"), v = t("fdbf"), h = t("d039"), m = t("5135"), g = t("e8b5"), p = t("861d"), y = t("825a"), C = t("7b0b"), S = t("fc6a"), w = t("c04e"), M = t("5c6c"), D = t("7c73"), P = t("df75"), E = t("241c"), T = t("057f"), I = t("7418"),
|
|
3245
|
-
return D(
|
|
3262
|
+
var a = t("23e7"), l = t("da84"), c = t("d066"), d = t("c430"), f = t("83ab"), u = t("4930"), v = t("fdbf"), h = t("d039"), m = t("5135"), g = t("e8b5"), p = t("861d"), y = t("825a"), C = t("7b0b"), S = t("fc6a"), w = t("c04e"), M = t("5c6c"), D = t("7c73"), P = t("df75"), E = t("241c"), T = t("057f"), I = t("7418"), $ = t("06cf"), V = t("9bf2"), O = t("d1e7"), j = t("9112"), L = t("6eeb"), N = t("5692"), Q = t("f772"), o2 = t("d012"), x2 = t("90e3"), l2 = t("b622"), s2 = t("e538"), v2 = t("746f"), y2 = t("d44e"), f2 = t("69f3"), r2 = t("b727").forEach, i2 = Q("hidden"), C2 = "Symbol", z2 = "prototype", F2 = l2("toPrimitive"), X2 = f2.set, N2 = f2.getterFor(C2), K = Object[z2], q = l.Symbol, T2 = c("JSON", "stringify"), w2 = $.f, I2 = V.f, d3 = T.f, h1 = O.f, j2 = N("symbols"), e3 = N("op-symbols"), f3 = N("string-to-symbol-registry"), b3 = N("symbol-to-string-registry"), x3 = N("wks"), z3 = l.QObject, S3 = !z3 || !z3[z2] || !z3[z2].findChild, M3 = f && h(function() {
|
|
3263
|
+
return D(I2({}, "a", {
|
|
3246
3264
|
get: function() {
|
|
3247
|
-
return
|
|
3265
|
+
return I2(this, "a", { value: 7 }).a;
|
|
3248
3266
|
}
|
|
3249
3267
|
})).a != 7;
|
|
3250
|
-
}) ? function(
|
|
3251
|
-
var
|
|
3252
|
-
|
|
3253
|
-
} :
|
|
3254
|
-
var
|
|
3255
|
-
return
|
|
3256
|
-
type:
|
|
3257
|
-
tag:
|
|
3268
|
+
}) ? function(X, F, U) {
|
|
3269
|
+
var t2 = w2(K, F);
|
|
3270
|
+
t2 && delete K[F], I2(X, F, U), t2 && X !== K && I2(K, F, t2);
|
|
3271
|
+
} : I2, E3 = function(X, F) {
|
|
3272
|
+
var U = j2[X] = D(q[z2]);
|
|
3273
|
+
return X2(U, {
|
|
3274
|
+
type: C2,
|
|
3275
|
+
tag: X,
|
|
3258
3276
|
description: F
|
|
3259
|
-
}), f || (
|
|
3260
|
-
}, x = v ? function(
|
|
3261
|
-
return typeof
|
|
3262
|
-
} : function(
|
|
3263
|
-
return Object(
|
|
3264
|
-
}, b = function(F,
|
|
3265
|
-
F ===
|
|
3266
|
-
var
|
|
3267
|
-
return y(
|
|
3268
|
-
}, z = function(F,
|
|
3277
|
+
}), f || (U.description = F), U;
|
|
3278
|
+
}, x = v ? function(X) {
|
|
3279
|
+
return typeof X == "symbol";
|
|
3280
|
+
} : function(X) {
|
|
3281
|
+
return Object(X) instanceof q;
|
|
3282
|
+
}, b = function(F, U, t2) {
|
|
3283
|
+
F === K && b(e3, U, t2), y(F);
|
|
3284
|
+
var e2 = w(U, !0);
|
|
3285
|
+
return y(t2), m(j2, e2) ? (t2.enumerable ? (m(F, i2) && F[i2][e2] && (F[i2][e2] = !1), t2 = D(t2, { enumerable: M(0, !1) })) : (m(F, i2) || I2(F, i2, M(1, {})), F[i2][e2] = !0), M3(F, e2, t2)) : I2(F, e2, t2);
|
|
3286
|
+
}, z = function(F, U) {
|
|
3269
3287
|
y(F);
|
|
3270
|
-
var
|
|
3271
|
-
return
|
|
3272
|
-
(!f || R.call(
|
|
3288
|
+
var t2 = S(U), e2 = P(t2).concat(n2(t2));
|
|
3289
|
+
return r2(e2, function(O2) {
|
|
3290
|
+
(!f || R.call(t2, O2)) && b(F, O2, t2[O2]);
|
|
3273
3291
|
}), F;
|
|
3274
|
-
}, H = function(F,
|
|
3275
|
-
return
|
|
3292
|
+
}, H = function(F, U) {
|
|
3293
|
+
return U === void 0 ? D(F) : z(D(F), U);
|
|
3276
3294
|
}, R = function(F) {
|
|
3277
|
-
var
|
|
3278
|
-
return this ===
|
|
3279
|
-
},
|
|
3280
|
-
var
|
|
3281
|
-
if (!(
|
|
3282
|
-
var
|
|
3283
|
-
return
|
|
3295
|
+
var U = w(F, !0), t2 = h1.call(this, U);
|
|
3296
|
+
return this === K && m(j2, U) && !m(e3, U) ? !1 : t2 || !m(this, U) || !m(j2, U) || m(this, i2) && this[i2][U] ? t2 : !0;
|
|
3297
|
+
}, W = function(F, U) {
|
|
3298
|
+
var t2 = S(F), e2 = w(U, !0);
|
|
3299
|
+
if (!(t2 === K && m(j2, e2) && !m(e3, e2))) {
|
|
3300
|
+
var O2 = w2(t2, e2);
|
|
3301
|
+
return O2 && m(j2, e2) && !(m(t2, i2) && t2[i2][e2]) && (O2.enumerable = !0), O2;
|
|
3284
3302
|
}
|
|
3285
3303
|
}, J = function(F) {
|
|
3286
|
-
var
|
|
3287
|
-
return
|
|
3288
|
-
!m(
|
|
3289
|
-
}), _;
|
|
3290
|
-
}, e2 = function(F) {
|
|
3291
|
-
var K = F === h2, _ = K3(K ? e3 : S(F)), t2 = [];
|
|
3292
|
-
return o2(_, function(A2) {
|
|
3293
|
-
m(F2, A2) && (!K || m(h2, A2)) && t2.push(F2[A2]);
|
|
3304
|
+
var U = d3(S(F)), t2 = [];
|
|
3305
|
+
return r2(U, function(e2) {
|
|
3306
|
+
!m(j2, e2) && !m(o2, e2) && t2.push(e2);
|
|
3294
3307
|
}), t2;
|
|
3308
|
+
}, n2 = function(F) {
|
|
3309
|
+
var U = F === K, t2 = d3(U ? e3 : S(F)), e2 = [];
|
|
3310
|
+
return r2(t2, function(O2) {
|
|
3311
|
+
m(j2, O2) && (!U || m(K, O2)) && e2.push(j2[O2]);
|
|
3312
|
+
}), e2;
|
|
3295
3313
|
};
|
|
3296
|
-
if (u || (
|
|
3297
|
-
if (this instanceof
|
|
3314
|
+
if (u || (q = function() {
|
|
3315
|
+
if (this instanceof q)
|
|
3298
3316
|
throw TypeError("Symbol is not a constructor");
|
|
3299
|
-
var F = !arguments.length || arguments[0] === void 0 ? void 0 : String(arguments[0]),
|
|
3300
|
-
this ===
|
|
3317
|
+
var F = !arguments.length || arguments[0] === void 0 ? void 0 : String(arguments[0]), U = x2(F), t2 = function(e2) {
|
|
3318
|
+
this === K && t2.call(e3, e2), m(this, i2) && m(this[i2], U) && (this[i2][U] = !1), M3(this, U, M(1, e2));
|
|
3301
3319
|
};
|
|
3302
|
-
return f &&
|
|
3303
|
-
}, L(
|
|
3304
|
-
return
|
|
3305
|
-
}), L(
|
|
3306
|
-
return
|
|
3307
|
-
}), O.f = R, V.f = b,
|
|
3308
|
-
return
|
|
3309
|
-
}, f && (
|
|
3320
|
+
return f && S3 && M3(K, U, { configurable: !0, set: t2 }), E3(U, F);
|
|
3321
|
+
}, L(q[z2], "toString", function() {
|
|
3322
|
+
return N2(this).tag;
|
|
3323
|
+
}), L(q, "withoutSetter", function(X) {
|
|
3324
|
+
return E3(x2(X), X);
|
|
3325
|
+
}), O.f = R, V.f = b, $.f = W, E.f = T.f = J, I.f = n2, s2.f = function(X) {
|
|
3326
|
+
return E3(l2(X), X);
|
|
3327
|
+
}, f && (I2(q[z2], "description", {
|
|
3310
3328
|
configurable: !0,
|
|
3311
3329
|
get: function() {
|
|
3312
|
-
return
|
|
3330
|
+
return N2(this).description;
|
|
3313
3331
|
}
|
|
3314
|
-
}), d || L(
|
|
3315
|
-
Symbol:
|
|
3316
|
-
}),
|
|
3317
|
-
v2(
|
|
3318
|
-
}), a({ target:
|
|
3332
|
+
}), d || L(K, "propertyIsEnumerable", R, { unsafe: !0 }))), a({ global: !0, wrap: !0, forced: !u, sham: !u }, {
|
|
3333
|
+
Symbol: q
|
|
3334
|
+
}), r2(P(x3), function(X) {
|
|
3335
|
+
v2(X);
|
|
3336
|
+
}), a({ target: C2, stat: !0, forced: !u }, {
|
|
3319
3337
|
// `Symbol.for` method
|
|
3320
3338
|
// https://tc39.github.io/ecma262/#sec-symbol.for
|
|
3321
|
-
for: function(
|
|
3322
|
-
var F = String(
|
|
3323
|
-
if (m(
|
|
3324
|
-
return
|
|
3325
|
-
var
|
|
3326
|
-
return
|
|
3339
|
+
for: function(X) {
|
|
3340
|
+
var F = String(X);
|
|
3341
|
+
if (m(f3, F))
|
|
3342
|
+
return f3[F];
|
|
3343
|
+
var U = q(F);
|
|
3344
|
+
return f3[F] = U, b3[U] = F, U;
|
|
3327
3345
|
},
|
|
3328
3346
|
// `Symbol.keyFor` method
|
|
3329
3347
|
// https://tc39.github.io/ecma262/#sec-symbol.keyfor
|
|
3330
3348
|
keyFor: function(F) {
|
|
3331
3349
|
if (!x(F))
|
|
3332
3350
|
throw TypeError(F + " is not a symbol");
|
|
3333
|
-
if (m(
|
|
3334
|
-
return
|
|
3351
|
+
if (m(b3, F))
|
|
3352
|
+
return b3[F];
|
|
3335
3353
|
},
|
|
3336
3354
|
useSetter: function() {
|
|
3337
|
-
|
|
3355
|
+
S3 = !0;
|
|
3338
3356
|
},
|
|
3339
3357
|
useSimple: function() {
|
|
3340
|
-
|
|
3358
|
+
S3 = !1;
|
|
3341
3359
|
}
|
|
3342
3360
|
}), a({ target: "Object", stat: !0, forced: !u, sham: !f }, {
|
|
3343
3361
|
// `Object.create` method
|
|
@@ -3351,39 +3369,39 @@ const F4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3351
3369
|
defineProperties: z,
|
|
3352
3370
|
// `Object.getOwnPropertyDescriptor` method
|
|
3353
3371
|
// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors
|
|
3354
|
-
getOwnPropertyDescriptor:
|
|
3372
|
+
getOwnPropertyDescriptor: W
|
|
3355
3373
|
}), a({ target: "Object", stat: !0, forced: !u }, {
|
|
3356
3374
|
// `Object.getOwnPropertyNames` method
|
|
3357
3375
|
// https://tc39.github.io/ecma262/#sec-object.getownpropertynames
|
|
3358
3376
|
getOwnPropertyNames: J,
|
|
3359
3377
|
// `Object.getOwnPropertySymbols` method
|
|
3360
3378
|
// https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols
|
|
3361
|
-
getOwnPropertySymbols:
|
|
3379
|
+
getOwnPropertySymbols: n2
|
|
3362
3380
|
}), a({ target: "Object", stat: !0, forced: h(function() {
|
|
3363
3381
|
I.f(1);
|
|
3364
3382
|
}) }, {
|
|
3365
3383
|
getOwnPropertySymbols: function(F) {
|
|
3366
3384
|
return I.f(C(F));
|
|
3367
3385
|
}
|
|
3368
|
-
}),
|
|
3369
|
-
var
|
|
3370
|
-
var
|
|
3371
|
-
return
|
|
3386
|
+
}), T2) {
|
|
3387
|
+
var p2 = !u || h(function() {
|
|
3388
|
+
var X = q();
|
|
3389
|
+
return T2([X]) != "[null]" || T2({ a: X }) != "{}" || T2(Object(X)) != "{}";
|
|
3372
3390
|
});
|
|
3373
|
-
a({ target: "JSON", stat: !0, forced:
|
|
3391
|
+
a({ target: "JSON", stat: !0, forced: p2 }, {
|
|
3374
3392
|
// eslint-disable-next-line no-unused-vars
|
|
3375
|
-
stringify: function(F,
|
|
3376
|
-
for (var
|
|
3377
|
-
|
|
3378
|
-
if (m1 =
|
|
3379
|
-
return g(
|
|
3380
|
-
if (typeof m1 == "function" && (U3 = m1.call(this,
|
|
3393
|
+
stringify: function(F, U, t2) {
|
|
3394
|
+
for (var e2 = [F], O2 = 1, m1; arguments.length > O2; )
|
|
3395
|
+
e2.push(arguments[O2++]);
|
|
3396
|
+
if (m1 = U, !(!p(U) && F === void 0 || x(F)))
|
|
3397
|
+
return g(U) || (U = function(w0, U3) {
|
|
3398
|
+
if (typeof m1 == "function" && (U3 = m1.call(this, w0, U3)), !x(U3))
|
|
3381
3399
|
return U3;
|
|
3382
|
-
}),
|
|
3400
|
+
}), e2[1] = U, T2.apply(null, e2);
|
|
3383
3401
|
}
|
|
3384
3402
|
});
|
|
3385
3403
|
}
|
|
3386
|
-
|
|
3404
|
+
q[z2][F2] || j(q[z2], F2, q[z2].valueOf), y2(q, C2), o2[i2] = !0;
|
|
3387
3405
|
},
|
|
3388
3406
|
/***/
|
|
3389
3407
|
a630: function(n, s, t) {
|
|
@@ -3516,10 +3534,10 @@ const F4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3516
3534
|
var a = t("0366"), l = t("44ad"), c = t("7b0b"), d = t("50c4"), f = t("65f0"), u = [].push, v = function(h) {
|
|
3517
3535
|
var m = h == 1, g = h == 2, p = h == 3, y = h == 4, C = h == 6, S = h == 5 || C;
|
|
3518
3536
|
return function(w, M, D, P) {
|
|
3519
|
-
for (var E = c(w), T = l(E), I = a(M, D, 3),
|
|
3537
|
+
for (var E = c(w), T = l(E), I = a(M, D, 3), $ = d(T.length), V = 0, O = P || f, j = m ? O(w, $) : g ? O(w, 0) : void 0, L, N; $ > V; V++)
|
|
3520
3538
|
if ((S || V in T) && (L = T[V], N = I(L, V, E), h)) {
|
|
3521
3539
|
if (m)
|
|
3522
|
-
|
|
3540
|
+
j[V] = N;
|
|
3523
3541
|
else if (N)
|
|
3524
3542
|
switch (h) {
|
|
3525
3543
|
case 3:
|
|
@@ -3529,12 +3547,12 @@ const F4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3529
3547
|
case 6:
|
|
3530
3548
|
return V;
|
|
3531
3549
|
case 2:
|
|
3532
|
-
u.call(
|
|
3550
|
+
u.call(j, L);
|
|
3533
3551
|
}
|
|
3534
3552
|
else if (y)
|
|
3535
3553
|
return !1;
|
|
3536
3554
|
}
|
|
3537
|
-
return C ? -1 : p || y ? y :
|
|
3555
|
+
return C ? -1 : p || y ? y : j;
|
|
3538
3556
|
};
|
|
3539
3557
|
};
|
|
3540
3558
|
n.exports = {
|
|
@@ -3789,19 +3807,19 @@ const F4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3789
3807
|
}, O[M](""), !V;
|
|
3790
3808
|
});
|
|
3791
3809
|
if (!D || !P || y === "replace" && !(v && h && !g) || y === "split" && !p) {
|
|
3792
|
-
var E = /./[M], T = S(M, ""[y], function(V, O,
|
|
3793
|
-
return O.exec === d ? D && !N ? { done: !0, value: E.call(O,
|
|
3810
|
+
var E = /./[M], T = S(M, ""[y], function(V, O, j, L, N) {
|
|
3811
|
+
return O.exec === d ? D && !N ? { done: !0, value: E.call(O, j, L) } : { done: !0, value: V.call(j, O, L) } : { done: !1 };
|
|
3794
3812
|
}, {
|
|
3795
3813
|
REPLACE_KEEPS_$0: h,
|
|
3796
3814
|
REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: g
|
|
3797
|
-
}), I = T[0],
|
|
3815
|
+
}), I = T[0], $ = T[1];
|
|
3798
3816
|
a(String.prototype, y, I), a(
|
|
3799
3817
|
RegExp.prototype,
|
|
3800
3818
|
M,
|
|
3801
3819
|
C == 2 ? function(V, O) {
|
|
3802
|
-
return
|
|
3820
|
+
return $.call(V, this, O);
|
|
3803
3821
|
} : function(V) {
|
|
3804
|
-
return
|
|
3822
|
+
return $.call(V, this);
|
|
3805
3823
|
}
|
|
3806
3824
|
);
|
|
3807
3825
|
}
|
|
@@ -4053,18 +4071,18 @@ const F4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4053
4071
|
t("e01a"), t("d28b"), t("e260"), t("d3b7"), t("3ca3"), t("ddb0");
|
|
4054
4072
|
function h(x, b) {
|
|
4055
4073
|
if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(x)))) {
|
|
4056
|
-
var z = [], H = !0, R = !1,
|
|
4074
|
+
var z = [], H = !0, R = !1, W = void 0;
|
|
4057
4075
|
try {
|
|
4058
|
-
for (var J = x[Symbol.iterator](),
|
|
4076
|
+
for (var J = x[Symbol.iterator](), n2; !(H = (n2 = J.next()).done) && (z.push(n2.value), !(b && z.length === b)); H = !0)
|
|
4059
4077
|
;
|
|
4060
|
-
} catch (
|
|
4061
|
-
R = !0,
|
|
4078
|
+
} catch (p2) {
|
|
4079
|
+
R = !0, W = p2;
|
|
4062
4080
|
} finally {
|
|
4063
4081
|
try {
|
|
4064
4082
|
!H && J.return != null && J.return();
|
|
4065
4083
|
} finally {
|
|
4066
4084
|
if (R)
|
|
4067
|
-
throw
|
|
4085
|
+
throw W;
|
|
4068
4086
|
}
|
|
4069
4087
|
}
|
|
4070
4088
|
return z;
|
|
@@ -4120,29 +4138,29 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4120
4138
|
}
|
|
4121
4139
|
var I = t("dbf1");
|
|
4122
4140
|
t("13d5"), t("4fad"), t("ac1f"), t("5319");
|
|
4123
|
-
function
|
|
4141
|
+
function $(x) {
|
|
4124
4142
|
var b = /* @__PURE__ */ Object.create(null);
|
|
4125
4143
|
return function(H) {
|
|
4126
4144
|
var R = b[H];
|
|
4127
4145
|
return R || (b[H] = x(H));
|
|
4128
4146
|
};
|
|
4129
4147
|
}
|
|
4130
|
-
var V = /-(\w)/g, O =
|
|
4148
|
+
var V = /-(\w)/g, O = $(function(x) {
|
|
4131
4149
|
return x.replace(V, function(b, z) {
|
|
4132
4150
|
return z.toUpperCase();
|
|
4133
4151
|
});
|
|
4134
4152
|
});
|
|
4135
4153
|
t("5db7"), t("73d9");
|
|
4136
|
-
var
|
|
4154
|
+
var j = ["Start", "Add", "Remove", "Update", "End"], L = ["Choose", "Unchoose", "Sort", "Filter", "Clone"], N = ["Move"], Q = [N, j, L].flatMap(function(x) {
|
|
4137
4155
|
return x;
|
|
4138
4156
|
}).map(function(x) {
|
|
4139
4157
|
return "on".concat(x);
|
|
4140
|
-
}),
|
|
4158
|
+
}), o2 = {
|
|
4141
4159
|
manage: N,
|
|
4142
|
-
manageAndEmit:
|
|
4160
|
+
manageAndEmit: j,
|
|
4143
4161
|
emit: L
|
|
4144
4162
|
};
|
|
4145
|
-
function
|
|
4163
|
+
function x2(x) {
|
|
4146
4164
|
return Q.indexOf(x) !== -1;
|
|
4147
4165
|
}
|
|
4148
4166
|
t("caad"), t("2ca0");
|
|
@@ -4153,28 +4171,28 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4153
4171
|
function v2(x) {
|
|
4154
4172
|
return ["transition-group", "TransitionGroup"].includes(x);
|
|
4155
4173
|
}
|
|
4156
|
-
function
|
|
4174
|
+
function y2(x) {
|
|
4157
4175
|
return ["id", "class", "role", "style"].includes(x) || x.startsWith("data-") || x.startsWith("aria-") || x.startsWith("on");
|
|
4158
4176
|
}
|
|
4159
4177
|
function f2(x) {
|
|
4160
4178
|
return x.reduce(function(b, z) {
|
|
4161
|
-
var H = y(z, 2), R = H[0],
|
|
4162
|
-
return b[R] =
|
|
4179
|
+
var H = y(z, 2), R = H[0], W = H[1];
|
|
4180
|
+
return b[R] = W, b;
|
|
4163
4181
|
}, {});
|
|
4164
4182
|
}
|
|
4165
|
-
function
|
|
4166
|
-
var b = x.$attrs, z = x.componentData, H = z === void 0 ? {} : z, R = f2(Object.entries(b).filter(function(
|
|
4167
|
-
var J = y(
|
|
4168
|
-
return J[1],
|
|
4183
|
+
function r2(x) {
|
|
4184
|
+
var b = x.$attrs, z = x.componentData, H = z === void 0 ? {} : z, R = f2(Object.entries(b).filter(function(W) {
|
|
4185
|
+
var J = y(W, 2), n2 = J[0];
|
|
4186
|
+
return J[1], y2(n2);
|
|
4169
4187
|
}));
|
|
4170
4188
|
return u(u({}, R), H);
|
|
4171
4189
|
}
|
|
4172
|
-
function
|
|
4173
|
-
var b = x.$attrs, z = x.callBackBuilder, H = f2(
|
|
4174
|
-
Object.entries(z).forEach(function(
|
|
4175
|
-
var J = y(
|
|
4176
|
-
n2
|
|
4177
|
-
H["on".concat(
|
|
4190
|
+
function i2(x) {
|
|
4191
|
+
var b = x.$attrs, z = x.callBackBuilder, H = f2(C2(b));
|
|
4192
|
+
Object.entries(z).forEach(function(W) {
|
|
4193
|
+
var J = y(W, 2), n2 = J[0], p2 = J[1];
|
|
4194
|
+
o2[n2].forEach(function(X) {
|
|
4195
|
+
H["on".concat(X)] = p2(X);
|
|
4178
4196
|
});
|
|
4179
4197
|
});
|
|
4180
4198
|
var R = "[data-draggable]".concat(H.draggable || "");
|
|
@@ -4182,85 +4200,85 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4182
4200
|
draggable: R
|
|
4183
4201
|
});
|
|
4184
4202
|
}
|
|
4185
|
-
function
|
|
4203
|
+
function C2(x) {
|
|
4186
4204
|
return Object.entries(x).filter(function(b) {
|
|
4187
4205
|
var z = y(b, 2), H = z[0];
|
|
4188
|
-
return z[1], !
|
|
4206
|
+
return z[1], !y2(H);
|
|
4189
4207
|
}).map(function(b) {
|
|
4190
4208
|
var z = y(b, 2), H = z[0], R = z[1];
|
|
4191
4209
|
return [O(H), R];
|
|
4192
4210
|
}).filter(function(b) {
|
|
4193
4211
|
var z = y(b, 2), H = z[0];
|
|
4194
|
-
return z[1], !
|
|
4212
|
+
return z[1], !x2(H);
|
|
4195
4213
|
});
|
|
4196
4214
|
}
|
|
4197
4215
|
t("c740");
|
|
4198
|
-
function
|
|
4216
|
+
function z2(x, b) {
|
|
4199
4217
|
if (!(x instanceof b))
|
|
4200
4218
|
throw new TypeError("Cannot call a class as a function");
|
|
4201
4219
|
}
|
|
4202
|
-
function
|
|
4220
|
+
function F2(x, b) {
|
|
4203
4221
|
for (var z = 0; z < b.length; z++) {
|
|
4204
4222
|
var H = b[z];
|
|
4205
4223
|
H.enumerable = H.enumerable || !1, H.configurable = !0, "value" in H && (H.writable = !0), Object.defineProperty(x, H.key, H);
|
|
4206
4224
|
}
|
|
4207
4225
|
}
|
|
4208
|
-
function
|
|
4209
|
-
return b &&
|
|
4226
|
+
function X2(x, b, z) {
|
|
4227
|
+
return b && F2(x.prototype, b), z && F2(x, z), x;
|
|
4210
4228
|
}
|
|
4211
|
-
var
|
|
4229
|
+
var N2 = function(b) {
|
|
4212
4230
|
var z = b.el;
|
|
4213
4231
|
return z;
|
|
4214
|
-
},
|
|
4232
|
+
}, K = function(b, z) {
|
|
4215
4233
|
return b.__draggable_context = z;
|
|
4216
|
-
},
|
|
4234
|
+
}, q = function(b) {
|
|
4217
4235
|
return b.__draggable_context;
|
|
4218
|
-
},
|
|
4236
|
+
}, T2 = /* @__PURE__ */ function() {
|
|
4219
4237
|
function x(b) {
|
|
4220
|
-
var z = b.nodes, H = z.header, R = z.default,
|
|
4221
|
-
|
|
4238
|
+
var z = b.nodes, H = z.header, R = z.default, W = z.footer, J = b.root, n2 = b.realList;
|
|
4239
|
+
z2(this, x), this.defaultNodes = R, this.children = [].concat(M(H), M(R), M(W)), this.externalComponent = J.externalComponent, this.rootTransition = J.transition, this.tag = J.tag, this.realList = n2;
|
|
4222
4240
|
}
|
|
4223
|
-
return
|
|
4241
|
+
return X2(x, [{
|
|
4224
4242
|
key: "render",
|
|
4225
4243
|
value: function(z, H) {
|
|
4226
|
-
var R = this.tag,
|
|
4244
|
+
var R = this.tag, W = this.children, J = this._isRootComponent, n2 = J ? {
|
|
4227
4245
|
default: function() {
|
|
4228
|
-
return
|
|
4246
|
+
return W;
|
|
4229
4247
|
}
|
|
4230
|
-
} :
|
|
4231
|
-
return z(R, H,
|
|
4248
|
+
} : W;
|
|
4249
|
+
return z(R, H, n2);
|
|
4232
4250
|
}
|
|
4233
4251
|
}, {
|
|
4234
4252
|
key: "updated",
|
|
4235
4253
|
value: function() {
|
|
4236
4254
|
var z = this.defaultNodes, H = this.realList;
|
|
4237
|
-
z.forEach(function(R,
|
|
4238
|
-
|
|
4239
|
-
element: H[
|
|
4240
|
-
index:
|
|
4255
|
+
z.forEach(function(R, W) {
|
|
4256
|
+
K(N2(R), {
|
|
4257
|
+
element: H[W],
|
|
4258
|
+
index: W
|
|
4241
4259
|
});
|
|
4242
4260
|
});
|
|
4243
4261
|
}
|
|
4244
4262
|
}, {
|
|
4245
4263
|
key: "getUnderlyingVm",
|
|
4246
4264
|
value: function(z) {
|
|
4247
|
-
return
|
|
4265
|
+
return q(z);
|
|
4248
4266
|
}
|
|
4249
4267
|
}, {
|
|
4250
4268
|
key: "getVmIndexFromDomIndex",
|
|
4251
4269
|
value: function(z, H) {
|
|
4252
|
-
var R = this.defaultNodes,
|
|
4253
|
-
if (
|
|
4254
|
-
return
|
|
4255
|
-
var
|
|
4256
|
-
if (
|
|
4257
|
-
return
|
|
4258
|
-
if (
|
|
4270
|
+
var R = this.defaultNodes, W = R.length, J = H.children, n2 = J.item(z);
|
|
4271
|
+
if (n2 === null)
|
|
4272
|
+
return W;
|
|
4273
|
+
var p2 = q(n2);
|
|
4274
|
+
if (p2)
|
|
4275
|
+
return p2.index;
|
|
4276
|
+
if (W === 0)
|
|
4259
4277
|
return 0;
|
|
4260
|
-
var
|
|
4261
|
-
return
|
|
4278
|
+
var X = N2(R[0]), F = M(J).findIndex(function(U) {
|
|
4279
|
+
return U === X;
|
|
4262
4280
|
});
|
|
4263
|
-
return z < F ? 0 :
|
|
4281
|
+
return z < F ? 0 : W;
|
|
4264
4282
|
}
|
|
4265
4283
|
}, {
|
|
4266
4284
|
key: "_isRootComponent",
|
|
@@ -4268,32 +4286,32 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4268
4286
|
return this.externalComponent || this.rootTransition;
|
|
4269
4287
|
}
|
|
4270
4288
|
}]), x;
|
|
4271
|
-
}(),
|
|
4272
|
-
function
|
|
4289
|
+
}(), w2 = t("8bbf");
|
|
4290
|
+
function I2(x, b) {
|
|
4273
4291
|
var z = x[b];
|
|
4274
4292
|
return z ? z() : [];
|
|
4275
4293
|
}
|
|
4276
|
-
function
|
|
4277
|
-
var b = x.$slots, z = x.realList, H = x.getKey, R = z || [],
|
|
4278
|
-
return
|
|
4279
|
-
}), J = y(
|
|
4280
|
-
if (!
|
|
4294
|
+
function d3(x) {
|
|
4295
|
+
var b = x.$slots, z = x.realList, H = x.getKey, R = z || [], W = ["header", "footer"].map(function(U) {
|
|
4296
|
+
return I2(b, U);
|
|
4297
|
+
}), J = y(W, 2), n2 = J[0], p2 = J[1], X = b.item;
|
|
4298
|
+
if (!X)
|
|
4281
4299
|
throw new Error("draggable element must have an item slot");
|
|
4282
|
-
var F = R.flatMap(function(
|
|
4283
|
-
return
|
|
4284
|
-
element:
|
|
4285
|
-
index:
|
|
4286
|
-
}).map(function(
|
|
4287
|
-
return
|
|
4300
|
+
var F = R.flatMap(function(U, t2) {
|
|
4301
|
+
return X({
|
|
4302
|
+
element: U,
|
|
4303
|
+
index: t2
|
|
4304
|
+
}).map(function(e2) {
|
|
4305
|
+
return e2.key = H(U), e2.props = u(u({}, e2.props || {}), {}, {
|
|
4288
4306
|
"data-draggable": !0
|
|
4289
|
-
}),
|
|
4307
|
+
}), e2;
|
|
4290
4308
|
});
|
|
4291
4309
|
});
|
|
4292
4310
|
if (F.length !== R.length)
|
|
4293
4311
|
throw new Error("Item slot must have only one child");
|
|
4294
4312
|
return {
|
|
4295
|
-
header:
|
|
4296
|
-
footer:
|
|
4313
|
+
header: n2,
|
|
4314
|
+
footer: p2,
|
|
4297
4315
|
default: F
|
|
4298
4316
|
};
|
|
4299
4317
|
}
|
|
@@ -4302,41 +4320,41 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4302
4320
|
return {
|
|
4303
4321
|
transition: b,
|
|
4304
4322
|
externalComponent: z,
|
|
4305
|
-
tag: z ? Object(
|
|
4323
|
+
tag: z ? Object(w2.resolveComponent)(x) : b ? w2.TransitionGroup : x
|
|
4306
4324
|
};
|
|
4307
4325
|
}
|
|
4308
|
-
function
|
|
4309
|
-
var b = x.$slots, z = x.tag, H = x.realList, R = x.getKey,
|
|
4326
|
+
function j2(x) {
|
|
4327
|
+
var b = x.$slots, z = x.tag, H = x.realList, R = x.getKey, W = d3({
|
|
4310
4328
|
$slots: b,
|
|
4311
4329
|
realList: H,
|
|
4312
4330
|
getKey: R
|
|
4313
4331
|
}), J = h1(z);
|
|
4314
|
-
return new
|
|
4315
|
-
nodes:
|
|
4332
|
+
return new T2({
|
|
4333
|
+
nodes: W,
|
|
4316
4334
|
root: J,
|
|
4317
4335
|
realList: H
|
|
4318
4336
|
});
|
|
4319
4337
|
}
|
|
4320
4338
|
function e3(x, b) {
|
|
4321
4339
|
var z = this;
|
|
4322
|
-
Object(
|
|
4340
|
+
Object(w2.nextTick)(function() {
|
|
4323
4341
|
return z.$emit(x.toLowerCase(), b);
|
|
4324
4342
|
});
|
|
4325
4343
|
}
|
|
4326
|
-
function
|
|
4344
|
+
function f3(x) {
|
|
4327
4345
|
var b = this;
|
|
4328
4346
|
return function(z, H) {
|
|
4329
4347
|
if (b.realList !== null)
|
|
4330
4348
|
return b["onDrag".concat(x)](z, H);
|
|
4331
4349
|
};
|
|
4332
4350
|
}
|
|
4333
|
-
function
|
|
4334
|
-
var b = this, z =
|
|
4351
|
+
function b3(x) {
|
|
4352
|
+
var b = this, z = f3.call(this, x);
|
|
4335
4353
|
return function(H, R) {
|
|
4336
4354
|
z.call(b, H, R), e3.call(b, x, H);
|
|
4337
4355
|
};
|
|
4338
4356
|
}
|
|
4339
|
-
var
|
|
4357
|
+
var x3 = null, z3 = {
|
|
4340
4358
|
list: {
|
|
4341
4359
|
type: Array,
|
|
4342
4360
|
required: !1,
|
|
@@ -4370,13 +4388,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4370
4388
|
required: !1,
|
|
4371
4389
|
default: null
|
|
4372
4390
|
}
|
|
4373
|
-
},
|
|
4391
|
+
}, S3 = ["update:modelValue", "change"].concat(M([].concat(M(o2.manageAndEmit), M(o2.emit)).map(function(x) {
|
|
4374
4392
|
return x.toLowerCase();
|
|
4375
|
-
}))),
|
|
4393
|
+
}))), M3 = Object(w2.defineComponent)({
|
|
4376
4394
|
name: "draggable",
|
|
4377
4395
|
inheritAttrs: !1,
|
|
4378
|
-
props:
|
|
4379
|
-
emits:
|
|
4396
|
+
props: z3,
|
|
4397
|
+
emits: S3,
|
|
4380
4398
|
data: function() {
|
|
4381
4399
|
return {
|
|
4382
4400
|
error: !1
|
|
@@ -4385,24 +4403,24 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4385
4403
|
render: function() {
|
|
4386
4404
|
try {
|
|
4387
4405
|
this.error = !1;
|
|
4388
|
-
var b = this.$slots, z = this.$attrs, H = this.tag, R = this.componentData,
|
|
4406
|
+
var b = this.$slots, z = this.$attrs, H = this.tag, R = this.componentData, W = this.realList, J = this.getKey, n2 = j2({
|
|
4389
4407
|
$slots: b,
|
|
4390
4408
|
tag: H,
|
|
4391
|
-
realList:
|
|
4409
|
+
realList: W,
|
|
4392
4410
|
getKey: J
|
|
4393
4411
|
});
|
|
4394
|
-
this.componentStructure =
|
|
4395
|
-
var
|
|
4412
|
+
this.componentStructure = n2;
|
|
4413
|
+
var p2 = r2({
|
|
4396
4414
|
$attrs: z,
|
|
4397
4415
|
componentData: R
|
|
4398
4416
|
});
|
|
4399
|
-
return
|
|
4400
|
-
} catch (
|
|
4401
|
-
return this.error = !0, Object(
|
|
4417
|
+
return n2.render(w2.h, p2);
|
|
4418
|
+
} catch (X) {
|
|
4419
|
+
return this.error = !0, Object(w2.h)("pre", {
|
|
4402
4420
|
style: {
|
|
4403
4421
|
color: "red"
|
|
4404
4422
|
}
|
|
4405
|
-
},
|
|
4423
|
+
}, X.stack);
|
|
4406
4424
|
}
|
|
4407
4425
|
},
|
|
4408
4426
|
created: function() {
|
|
@@ -4413,21 +4431,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4413
4431
|
if (!this.error) {
|
|
4414
4432
|
var z = this.$attrs, H = this.$el, R = this.componentStructure;
|
|
4415
4433
|
R.updated();
|
|
4416
|
-
var
|
|
4434
|
+
var W = i2({
|
|
4417
4435
|
$attrs: z,
|
|
4418
4436
|
callBackBuilder: {
|
|
4419
|
-
manageAndEmit: function(
|
|
4420
|
-
return
|
|
4437
|
+
manageAndEmit: function(p2) {
|
|
4438
|
+
return b3.call(b, p2);
|
|
4421
4439
|
},
|
|
4422
|
-
emit: function(
|
|
4423
|
-
return e3.bind(b,
|
|
4440
|
+
emit: function(p2) {
|
|
4441
|
+
return e3.bind(b, p2);
|
|
4424
4442
|
},
|
|
4425
|
-
manage: function(
|
|
4426
|
-
return
|
|
4443
|
+
manage: function(p2) {
|
|
4444
|
+
return f3.call(b, p2);
|
|
4427
4445
|
}
|
|
4428
4446
|
}
|
|
4429
4447
|
}), J = H.nodeType === 1 ? H : H.parentElement;
|
|
4430
|
-
this._sortable = new P.a(J,
|
|
4448
|
+
this._sortable = new P.a(J, W), this.targetDomElement = J, J.__draggable_component__ = this;
|
|
4431
4449
|
}
|
|
4432
4450
|
},
|
|
4433
4451
|
updated: function() {
|
|
@@ -4452,9 +4470,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4452
4470
|
$attrs: {
|
|
4453
4471
|
handler: function(b) {
|
|
4454
4472
|
var z = this._sortable;
|
|
4455
|
-
z &&
|
|
4456
|
-
var R = y(H, 2),
|
|
4457
|
-
z.option(
|
|
4473
|
+
z && C2(b).forEach(function(H) {
|
|
4474
|
+
var R = y(H, 2), W = R[0], J = R[1];
|
|
4475
|
+
z.option(W, J);
|
|
4458
4476
|
});
|
|
4459
4477
|
},
|
|
4460
4478
|
deep: !0
|
|
@@ -4469,7 +4487,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4469
4487
|
},
|
|
4470
4488
|
emitChanges: function(b) {
|
|
4471
4489
|
var z = this;
|
|
4472
|
-
Object(
|
|
4490
|
+
Object(w2.nextTick)(function() {
|
|
4473
4491
|
return z.$emit("change", b);
|
|
4474
4492
|
});
|
|
4475
4493
|
},
|
|
@@ -4488,8 +4506,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4488
4506
|
this.alterList(z);
|
|
4489
4507
|
},
|
|
4490
4508
|
updatePosition: function(b, z) {
|
|
4491
|
-
var H = function(
|
|
4492
|
-
return
|
|
4509
|
+
var H = function(W) {
|
|
4510
|
+
return W.splice(z, 0, W.splice(b, 1)[0]);
|
|
4493
4511
|
};
|
|
4494
4512
|
this.alterList(H);
|
|
4495
4513
|
},
|
|
@@ -4499,13 +4517,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4499
4517
|
return {
|
|
4500
4518
|
component: R
|
|
4501
4519
|
};
|
|
4502
|
-
var
|
|
4503
|
-
list:
|
|
4520
|
+
var W = R.realList, J = {
|
|
4521
|
+
list: W,
|
|
4504
4522
|
component: R
|
|
4505
4523
|
};
|
|
4506
|
-
if (z !== H &&
|
|
4507
|
-
var
|
|
4508
|
-
return u(u({},
|
|
4524
|
+
if (z !== H && W) {
|
|
4525
|
+
var n2 = R.getUnderlyingVm(H) || {};
|
|
4526
|
+
return u(u({}, n2), J);
|
|
4509
4527
|
}
|
|
4510
4528
|
return J;
|
|
4511
4529
|
},
|
|
@@ -4513,7 +4531,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4513
4531
|
return this.componentStructure.getVmIndexFromDomIndex(b, this.targetDomElement);
|
|
4514
4532
|
},
|
|
4515
4533
|
onDragStart: function(b) {
|
|
4516
|
-
this.context = this.getUnderlyingVm(b.item), b.item._underlying_vm_ = this.clone(this.context.element),
|
|
4534
|
+
this.context = this.getUnderlyingVm(b.item), b.item._underlying_vm_ = this.clone(this.context.element), x3 = b.item;
|
|
4517
4535
|
},
|
|
4518
4536
|
onDragAdd: function(b) {
|
|
4519
4537
|
var z = b.item._underlying_vm_;
|
|
@@ -4537,12 +4555,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4537
4555
|
}
|
|
4538
4556
|
var z = this.context, H = z.index, R = z.element;
|
|
4539
4557
|
this.spliceList(H, 1);
|
|
4540
|
-
var
|
|
4558
|
+
var W = {
|
|
4541
4559
|
element: R,
|
|
4542
4560
|
oldIndex: H
|
|
4543
4561
|
};
|
|
4544
4562
|
this.emitChanges({
|
|
4545
|
-
removed:
|
|
4563
|
+
removed: W
|
|
4546
4564
|
});
|
|
4547
4565
|
},
|
|
4548
4566
|
onDragUpdate: function(b) {
|
|
@@ -4561,41 +4579,41 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4561
4579
|
computeFutureIndex: function(b, z) {
|
|
4562
4580
|
if (!b.element)
|
|
4563
4581
|
return 0;
|
|
4564
|
-
var H = M(z.to.children).filter(function(
|
|
4565
|
-
return
|
|
4566
|
-
}), R = H.indexOf(z.related),
|
|
4567
|
-
return J || !z.willInsertAfter ?
|
|
4582
|
+
var H = M(z.to.children).filter(function(n2) {
|
|
4583
|
+
return n2.style.display !== "none";
|
|
4584
|
+
}), R = H.indexOf(z.related), W = b.component.getVmIndexFromDomIndex(R), J = H.indexOf(x3) !== -1;
|
|
4585
|
+
return J || !z.willInsertAfter ? W : W + 1;
|
|
4568
4586
|
},
|
|
4569
4587
|
onDragMove: function(b, z) {
|
|
4570
4588
|
var H = this.move, R = this.realList;
|
|
4571
4589
|
if (!H || !R)
|
|
4572
4590
|
return !0;
|
|
4573
|
-
var
|
|
4591
|
+
var W = this.getRelatedContextFromMoveEvent(b), J = this.computeFutureIndex(W, b), n2 = u(u({}, this.context), {}, {
|
|
4574
4592
|
futureIndex: J
|
|
4575
|
-
}),
|
|
4576
|
-
relatedContext:
|
|
4577
|
-
draggedContext:
|
|
4593
|
+
}), p2 = u(u({}, b), {}, {
|
|
4594
|
+
relatedContext: W,
|
|
4595
|
+
draggedContext: n2
|
|
4578
4596
|
});
|
|
4579
|
-
return H(
|
|
4597
|
+
return H(p2, z);
|
|
4580
4598
|
},
|
|
4581
4599
|
onDragEnd: function() {
|
|
4582
|
-
|
|
4600
|
+
x3 = null;
|
|
4583
4601
|
}
|
|
4584
4602
|
}
|
|
4585
|
-
}),
|
|
4586
|
-
s.default =
|
|
4603
|
+
}), E3 = M3;
|
|
4604
|
+
s.default = E3;
|
|
4587
4605
|
},
|
|
4588
4606
|
/***/
|
|
4589
4607
|
fb6a: function(n, s, t) {
|
|
4590
4608
|
var a = t("23e7"), l = t("861d"), c = t("e8b5"), d = t("23cb"), f = t("50c4"), u = t("fc6a"), v = t("8418"), h = t("b622"), m = t("1dde"), g = t("ae40"), p = m("slice"), y = g("slice", { ACCESSORS: !0, 0: 0, 1: 2 }), C = h("species"), S = [].slice, w = Math.max;
|
|
4591
4609
|
a({ target: "Array", proto: !0, forced: !p || !y }, {
|
|
4592
4610
|
slice: function(D, P) {
|
|
4593
|
-
var E = u(this), T = f(E.length), I = d(D, T),
|
|
4611
|
+
var E = u(this), T = f(E.length), I = d(D, T), $ = d(P === void 0 ? T : P, T), V, O, j;
|
|
4594
4612
|
if (c(E) && (V = E.constructor, typeof V == "function" && (V === Array || c(V.prototype)) ? V = void 0 : l(V) && (V = V[C], V === null && (V = void 0)), V === Array || V === void 0))
|
|
4595
|
-
return S.call(E, I,
|
|
4596
|
-
for (O = new (V === void 0 ? Array : V)(w(
|
|
4597
|
-
I in E && v(O,
|
|
4598
|
-
return O.length =
|
|
4613
|
+
return S.call(E, I, $);
|
|
4614
|
+
for (O = new (V === void 0 ? Array : V)(w($ - I, 0)), j = 0; I < $; I++, j++)
|
|
4615
|
+
I in E && v(O, j, E[I]);
|
|
4616
|
+
return O.length = j, O;
|
|
4599
4617
|
}
|
|
4600
4618
|
});
|
|
4601
4619
|
},
|
|
@@ -4650,24 +4668,24 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4650
4668
|
/******/
|
|
4651
4669
|
}).default;
|
|
4652
4670
|
});
|
|
4653
|
-
})(
|
|
4654
|
-
const
|
|
4655
|
-
r.use(
|
|
4671
|
+
})(i4);
|
|
4672
|
+
const G4 = /* @__PURE__ */ At(V1), C0 = (r) => {
|
|
4673
|
+
r.use(Dt), r.use(Tt);
|
|
4656
4674
|
};
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
const
|
|
4675
|
+
u0.install = C0;
|
|
4676
|
+
v0.install = C0;
|
|
4677
|
+
const He = {
|
|
4660
4678
|
install(r) {
|
|
4661
|
-
r.use(
|
|
4679
|
+
r.use(Bt);
|
|
4662
4680
|
try {
|
|
4663
|
-
r.component("draggable",
|
|
4681
|
+
r.component("draggable", G4);
|
|
4664
4682
|
} catch {
|
|
4665
4683
|
}
|
|
4666
|
-
r.component("VFormRender",
|
|
4684
|
+
r.component("VFormRender", u0), r.component("VFormDesigner", v0), r.component("VAceEditor", jt);
|
|
4667
4685
|
}
|
|
4668
4686
|
};
|
|
4669
4687
|
export {
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4688
|
+
u0 as F,
|
|
4689
|
+
He as i,
|
|
4690
|
+
Xt as u
|
|
4673
4691
|
};
|