hlrender 0.0.100 → 0.0.101
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/{affix-widget-b33a98e1.js → affix-widget-341cfb7e.js} +17 -17
- package/{alert-widget-633eb0ac.js → alert-widget-24aa4017.js} +17 -17
- package/{anchor-widget-75f6915b.js → anchor-widget-6fc95258.js} +14 -14
- package/{auto-complete-widget-7fd2abb6.js → auto-complete-widget-740b814f.js} +17 -17
- package/{avatar-widget-7b877144.js → avatar-widget-3ef51396.js} +17 -17
- package/{backtop-widget-a5e9c5f4.js → backtop-widget-1536b5e6.js} +17 -17
- package/{badge-widget-b772b789.js → badge-widget-83d1ce73.js} +17 -17
- package/{baseImp-5b17336a.js → baseImp-838d8fb5.js} +9 -9
- package/{breadcrumb-widget-93b99a87.js → breadcrumb-widget-d766fe62.js} +14 -14
- package/{button-widget-6fbe1189.js → button-widget-92a775d6.js} +17 -17
- package/{cache-widget-d473f695.js → cache-widget-7ebb46cf.js} +16 -16
- package/{card-widget-686ae47f.js → card-widget-93d5d629.js} +15 -15
- package/{carousel-widget-aa95b97b.js → carousel-widget-e783c590.js} +15 -15
- package/{cascader-widget-30d30780.js → cascader-widget-d4e49788.js} +24 -24
- package/{chart-widget-64f48e75.js → chart-widget-32fb2572.js} +14 -14
- package/{checkbox-widget-6bdebe55.js → checkbox-widget-9aa95a16.js} +16 -16
- package/{collapse-widget-ad17e7ce.js → collapse-widget-c3b3b029.js} +15 -15
- package/{color-picker-widget-5a96b3dc.js → color-picker-widget-d0c99096.js} +16 -16
- package/{cont-cell-widget-8c7a4c0a.js → cont-cell-widget-f7bc7e90.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1056f03a.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-778e129d.js} +5 -5
- package/{cont-widget-c619d2f1.js → cont-widget-e9007d09.js} +5 -5
- package/content-wrapper-1a610d49.js +16 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-920821e9.js → content-wrapper.vue_vue_type_script_setup_true_lang-b50d52df.js} +3 -3
- package/{date-picker-range-widget-22fa7950.js → date-picker-range-widget-8ccfd6ff.js} +16 -16
- package/{date-picker-widget-e85f08b7.js → date-picker-widget-35d7e33f.js} +16 -16
- package/default-slot-widget-b2f4b07d.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b034cae8.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-299c79ad.js} +7 -7
- package/{descriptions-widget-10cd8931.js → descriptions-widget-63e09e37.js} +15 -15
- package/{dialog-e9330a03.js → dialog-8cf49d1d.js} +2 -2
- package/{dialog-widget-0bfe1c42.js → dialog-widget-9bc6608b.js} +16 -16
- package/{divider-widget-704c5af7.js → divider-widget-7f2e2a4b.js} +17 -17
- package/{drag-wrapper-7a0422c0.js → drag-wrapper-964c15f7.js} +6 -6
- package/{drawer-widget-cd6ee68c.js → drawer-widget-0e97996f.js} +16 -16
- package/{dropdown-widget-b6d7241f.js → dropdown-widget-ac2ecced.js} +15 -15
- package/{empty-widget-3eac14c1.js → empty-widget-7515475c.js} +17 -17
- package/{enum-type-f177c9cf.js → enum-type-4a878657.js} +33 -30
- package/{enum-type-eacaf465.js → enum-type-c01256f6.js} +2 -2
- package/{expression-92cadbfb.js → expression-ab81df05.js} +177 -177
- package/feedback-widget-86b0f45f.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-9cd73071.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-dc94791b.js} +5 -5
- package/{fieldobj-2df290fb.js → fieldobj-374f1c1a.js} +1 -1
- package/file-upload-widget-cfecb373.js +162 -0
- package/{form-item-wrapper-9660e359.js → form-item-wrapper-f09824fb.js} +12 -12
- package/{form-widget-0d930376.js → form-widget-ee77babb.js} +49 -49
- package/{grid-col-widget-718c65a0.js → grid-col-widget-c95c696d.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-29b6dc07.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-907bb73f.js} +5 -5
- package/{grid-widget-d68223a7.js → grid-widget-27779136.js} +5 -5
- package/{html-text-widget-1592c26e.js → html-text-widget-0bd1608c.js} +15 -15
- package/{icon-e9532b43.js → icon-a0e0cdb0.js} +22 -22
- package/icon-widget-488788fa.js +62 -0
- package/{iframe-widget-6d71caee.js → iframe-widget-61d99d44.js} +14 -14
- package/{image-widget-42d835be.js → image-widget-eddd489f.js} +14 -14
- package/{index-85279301.js → index-20591a7f.js} +1316 -1290
- package/{index-29f70ed6.js → index-2e433759.js} +2 -2
- package/{index-90941780.js → index-e69085b5.js} +4 -4
- package/{input-number-widget-edef1d06.js → input-number-widget-e60ab0c7.js} +16 -16
- package/{input-widget-7c836745.js → input-widget-c9e6d8b2.js} +17 -17
- package/{label-wrapper-05d8f075.js → label-wrapper-860ed446.js} +6 -6
- package/{label-wrapper.vue_vue_type_style_index_0_lang-2f174e7a.js → label-wrapper.vue_vue_type_style_index_0_lang-223a3538.js} +3 -3
- package/{link-widget-244e11d8.js → link-widget-c37f53da.js} +17 -17
- package/{ltable-col-widget-381b27dd.js → ltable-col-widget-68e41fe3.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-0a2e778b.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-327aba60.js} +10 -10
- package/{ltable-widget-02607d52.js → ltable-widget-fbbe5cf1.js} +5 -5
- package/{menu-widget-00ad97db.js → menu-widget-b988e832.js} +15 -15
- package/{model-widget-1b5ab837.js → model-widget-24f816cc.js} +14 -14
- package/{multirow-49846c15.js → multirow-f9b50a58.js} +7 -7
- package/{multirow-widget-3bc595fe.js → multirow-widget-75f4de44.js} +16 -16
- package/package.json +1 -1
- package/{pagination-widget-f9a682ec.js → pagination-widget-b2bf91a1.js} +14 -14
- package/{picture-upload-widget-174181e9.js → picture-upload-widget-e6d3e5d0.js} +42 -41
- package/{progress-widget-2c225e00.js → progress-widget-51ee46bc.js} +15 -15
- package/{propresult-88efb2cd.js → propresult-e01e499d.js} +2 -2
- package/{radio-widget-385e5174.js → radio-widget-8e92ed81.js} +16 -16
- package/{range-widget-da5f9eaf.js → range-widget-d7f545e6.js} +17 -17
- package/{rate-widget-2e6f5fc3.js → rate-widget-09a59def.js} +16 -16
- package/render.es.js +155 -155
- package/render.style.css +1 -1
- package/render.umd.js +251 -251
- package/{result-widget-945c532c.js → result-widget-e2dead90.js} +20 -20
- package/{rich-editor-widget-ec8a05df.js → rich-editor-widget-34c1131f.js} +16 -16
- package/{router-widget-efab4060.js → router-widget-df794305.js} +14 -14
- package/{select-widget-3738f19f.js → select-widget-661c08bf.js} +16 -16
- package/{sfc-4c4de9b9.js → sfc-784ee675.js} +9 -9
- package/{share-field-1c102ba4.js → share-field-a4ea3cfb.js} +65 -65
- package/share-file-b9a88a87.js +150 -0
- package/{slider-widget-e234e4c0.js → slider-widget-249b4352.js} +16 -16
- package/{slot-0409dcec.js → slot-52f769bc.js} +3 -3
- package/{static-text-widget-4fc3f9d1.js → static-text-widget-65963e5a.js} +15 -15
- package/{steps-widget-a5d0a9db.js → steps-widget-4de757fc.js} +14 -14
- package/{subMenu-widget-d1ab3457.js → subMenu-widget-8a03f788.js} +9 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-6e807644.js → subMenu-widget.vue_vue_type_script_setup_true_lang-57101136.js} +4 -4
- package/{switch-widget-6b390c61.js → switch-widget-082ce3c0.js} +16 -16
- package/{tab-pane-widget-a816ed21.js → tab-pane-widget-38537e92.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-2e941ff5.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-91fd5262.js} +5 -5
- package/table-col-widget-5ec5984c.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-7e88b04b.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-2e4e7eca.js} +6 -6
- package/{table-widget-4022c649.js → table-widget-5e4a25b3.js} +16 -16
- package/{tabs-widget-92b2154c.js → tabs-widget-5b6f7e56.js} +8 -8
- package/{tag-widget-a7584b6a.js → tag-widget-524adc92.js} +17 -17
- package/{text-widget-e8c1aaf1.js → text-widget-bfb1226a.js} +17 -17
- package/{textarea-widget-fdecb7c1.js → textarea-widget-f1aec65b.js} +16 -16
- package/{time-picker-range-widget-e0c7059d.js → time-picker-range-widget-09332b59.js} +16 -16
- package/{time-picker-widget-b1b72b21.js → time-picker-widget-6f52dc19.js} +19 -19
- package/{time-select-widget-174a2167.js → time-select-widget-66c62dc1.js} +19 -19
- package/{tmpl-widget-df8283ea.js → tmpl-widget-02058d9e.js} +15 -15
- package/{tree-select-widget-b34f2ca4.js → tree-select-widget-a4e62477.js} +16 -16
- package/{tree-widget-48104d6a.js → tree-widget-ad31245c.js} +14 -14
- package/{uuid-472ff1db.js → uuid-39a489b9.js} +1 -1
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea314a4.js} +44 -44
- package/{wrapper-widget-917c4f6b.js → wrapper-widget-4e995078.js} +6 -6
- package/content-wrapper-58a73528.js +0 -16
- package/default-slot-widget-bf2a8e3e.js +0 -26
- package/feedback-widget-f5d8be6f.js +0 -26
- package/file-upload-widget-b5e0f40b.js +0 -161
- package/share-file-6e1341fa.js +0 -134
- package/table-col-widget-8ef729af.js +0 -22
package/render.es.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { _ as ir } from "./cont-cell-widget-
|
|
2
|
-
import { _ as sr } from "./cont-widget-
|
|
3
|
-
import { _ as lr } from "./form-widget-
|
|
4
|
-
import { _ as fr } from "./grid-col-widget-
|
|
5
|
-
import { _ as ur } from "./grid-widget-
|
|
6
|
-
import { _ as cr } from "./ltable-col-widget-
|
|
7
|
-
import { _ as dr } from "./ltable-widget-
|
|
8
|
-
import { _ as vr } from "./tab-pane-widget-
|
|
9
|
-
import { _ as hr } from "./tabs-widget-
|
|
10
|
-
import { _ as gr } from "./wrapper-widget-
|
|
11
|
-
import { _ as pr } from "./index-
|
|
12
|
-
import { D as mr, o as yr } from "./dialog-
|
|
1
|
+
import { _ as ir } from "./cont-cell-widget-f7bc7e90.js";
|
|
2
|
+
import { _ as sr } from "./cont-widget-e9007d09.js";
|
|
3
|
+
import { _ as lr } from "./form-widget-ee77babb.js";
|
|
4
|
+
import { _ as fr } from "./grid-col-widget-c95c696d.js";
|
|
5
|
+
import { _ as ur } from "./grid-widget-27779136.js";
|
|
6
|
+
import { _ as cr } from "./ltable-col-widget-68e41fe3.js";
|
|
7
|
+
import { _ as dr } from "./ltable-widget-fbbe5cf1.js";
|
|
8
|
+
import { _ as vr } from "./tab-pane-widget-38537e92.js";
|
|
9
|
+
import { _ as hr } from "./tabs-widget-5b6f7e56.js";
|
|
10
|
+
import { _ as gr } from "./wrapper-widget-4e995078.js";
|
|
11
|
+
import { _ as pr } from "./index-e69085b5.js";
|
|
12
|
+
import { D as mr, o as yr } from "./dialog-8cf49d1d.js";
|
|
13
13
|
import Sr, { computed as Be, ref as hn, onMounted as br, onUnmounted as Er, nextTick as xr, defineComponent as Wn, provide as In, resolveDirective as Or, withDirectives as Tr, openBlock as Pn, createElementBlock as Ir, unref as re, normalizeClass as Pr, withKeys as Cn, renderSlot as nn, createBlock as Cr, Suspense as Dr, withCtx as Ar, createVNode as Rr } from "vue";
|
|
14
|
-
import { t as Mr, p as Nr, f as je, i as jr, a as wr, b as Hn, w as ze, d as Dn } from "./expression-
|
|
15
|
-
import { u as Fr, a as Lr, P as Oe, g as Ur } from "./baseImp-
|
|
16
|
-
import { l as
|
|
17
|
-
import { F as $r } from "./slot-
|
|
14
|
+
import { t as Mr, p as Nr, f as je, i as jr, a as wr, b as Hn, w as ze, d as Dn } from "./expression-ab81df05.js";
|
|
15
|
+
import { u as Fr, a as Lr, P as Oe, g as Ur } from "./baseImp-838d8fb5.js";
|
|
16
|
+
import { l as ei } from "./baseImp-838d8fb5.js";
|
|
17
|
+
import { F as $r } from "./slot-52f769bc.js";
|
|
18
18
|
import { I as Gr } from "./widget-base-4c2d6265.js";
|
|
19
|
-
import {
|
|
20
|
-
import { g as
|
|
21
|
-
import { u as Vn } from "./icon-
|
|
22
|
-
import { u as
|
|
23
|
-
import { W as we } from "./enum-type-
|
|
24
|
-
import { u as
|
|
25
|
-
import { ElMessage as
|
|
26
|
-
import { D as
|
|
27
|
-
import { _ as
|
|
28
|
-
import { g as
|
|
29
|
-
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-
|
|
30
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
31
|
-
import "./index-
|
|
32
|
-
import "./index-
|
|
33
|
-
import "./fieldobj-
|
|
34
|
-
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
35
|
-
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
36
|
-
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
19
|
+
import { i as Kr, a as Br, o as Wr, b as Hr, f as Vr, d as Xr, c as Yr } from "./enum-type-4a878657.js";
|
|
20
|
+
import { g as zr, c as Jr, t as Qr } from "./uuid-39a489b9.js";
|
|
21
|
+
import { u as Vn } from "./icon-a0e0cdb0.js";
|
|
22
|
+
import { u as Zr, a as kr } from "./multirow-f9b50a58.js";
|
|
23
|
+
import { W as we } from "./enum-type-c01256f6.js";
|
|
24
|
+
import { u as qr, a as An, R as Rn } from "./share-field-a4ea3cfb.js";
|
|
25
|
+
import { ElMessage as _r, ElMessageBox as to, ElNotification as eo } from "element-plus";
|
|
26
|
+
import { D as no } from "./drag-wrapper-964c15f7.js";
|
|
27
|
+
import { _ as ro } from "./_plugin-vue_export-helper-dad06003.js";
|
|
28
|
+
import { g as oo, c as ao, a as io } from "./_commonjsHelpers-e7ea1525.js";
|
|
29
|
+
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-778e129d.js";
|
|
30
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea314a4.js";
|
|
31
|
+
import "./index-20591a7f.js";
|
|
32
|
+
import "./index-2e433759.js";
|
|
33
|
+
import "./fieldobj-374f1c1a.js";
|
|
34
|
+
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-907bb73f.js";
|
|
35
|
+
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-327aba60.js";
|
|
36
|
+
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-91fd5262.js";
|
|
37
37
|
import "./source-map-b04aec4a.js";
|
|
38
38
|
import "./esprima-e8d15055.js";
|
|
39
39
|
function Xn(o) {
|
|
@@ -47,25 +47,25 @@ function Xn(o) {
|
|
|
47
47
|
function Yn() {
|
|
48
48
|
return Xn(/* @__PURE__ */ Object.assign({ "../cont-cell-widget.vue": ir, "../cont-widget.vue": sr, "../form-widget.vue": lr, "../grid-col-widget.vue": fr, "../grid-widget.vue": ur, "../ltable-col-widget.vue": cr, "../ltable-widget.vue": dr, "../tab-pane-widget.vue": vr, "../tabs-widget.vue": hr, "../wrapper-widget.vue": gr }));
|
|
49
49
|
}
|
|
50
|
-
const
|
|
50
|
+
const so = (o, n) => {
|
|
51
51
|
const r = Yn();
|
|
52
52
|
for (const i in Object.keys(r))
|
|
53
53
|
o.component(i, r[i]);
|
|
54
|
-
},
|
|
54
|
+
}, lo = { install: so }, fo = (o, n) => {
|
|
55
55
|
const r = Yn();
|
|
56
56
|
for (const i in Object.keys(r))
|
|
57
57
|
o.component(i, r[i]);
|
|
58
|
-
},
|
|
59
|
-
function
|
|
58
|
+
}, uo = { install: fo };
|
|
59
|
+
function co() {
|
|
60
60
|
return Xn(/* @__PURE__ */ Object.assign({ "./index.vue": pr }));
|
|
61
61
|
}
|
|
62
|
-
const
|
|
63
|
-
const r =
|
|
62
|
+
const vo = (o, n) => {
|
|
63
|
+
const r = co();
|
|
64
64
|
o.use(mr);
|
|
65
65
|
for (const i in Object.keys(r))
|
|
66
66
|
o.component(i, r[i]);
|
|
67
|
-
},
|
|
68
|
-
function
|
|
67
|
+
}, ho = { install: vo };
|
|
68
|
+
function go(o, n, r, i) {
|
|
69
69
|
const e = { r: 255, g: 255, b: 255 };
|
|
70
70
|
return {
|
|
71
71
|
r: Math.round(o * (1 - i) + e.r * i),
|
|
@@ -73,26 +73,26 @@ function vo(o, n, r, i) {
|
|
|
73
73
|
b: Math.round(r * (1 - i) + e.b * i)
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function po(o, n, r, i = !1, e = 5) {
|
|
77
77
|
const l = [];
|
|
78
78
|
for (let t = 0; t < e; t++) {
|
|
79
|
-
const a =
|
|
79
|
+
const a = go(o, n, r, t * 0.1);
|
|
80
80
|
l.push(a);
|
|
81
81
|
}
|
|
82
82
|
return l;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
const i =
|
|
86
|
-
return e == null ? void 0 : e.map((l) =>
|
|
84
|
+
function mo(o, n = !1, r = 5) {
|
|
85
|
+
const i = So(o), e = po(i.r, i.g, i.b, n, r);
|
|
86
|
+
return e == null ? void 0 : e.map((l) => yo(l.r, l.g, l.b));
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function yo(o, n, r) {
|
|
89
89
|
const i = (e) => {
|
|
90
90
|
const l = e.toString(16);
|
|
91
91
|
return l.length === 1 ? "0" + l : l;
|
|
92
92
|
};
|
|
93
93
|
return `#${i(o)}${i(n)}${i(r)}`;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function So(o) {
|
|
96
96
|
o = o.replace(/^#/, ""), o.length === 3 && (o = o[0] + o[0] + o[1] + o[1] + o[2] + o[2]);
|
|
97
97
|
const n = parseInt(o, 16);
|
|
98
98
|
return {
|
|
@@ -101,7 +101,7 @@ function mo(o) {
|
|
|
101
101
|
b: n & 255
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function bo(o, n) {
|
|
105
105
|
return {
|
|
106
106
|
cssWithPrimaryColor: Be(() => {
|
|
107
107
|
var l, t;
|
|
@@ -109,25 +109,25 @@ function yo(o, n) {
|
|
|
109
109
|
var e = {
|
|
110
110
|
themeColor: i
|
|
111
111
|
};
|
|
112
|
-
return (l =
|
|
112
|
+
return (l = mo(i, !1, 10)) == null || l.forEach((a, s) => {
|
|
113
113
|
e["themeColor-" + s] = a;
|
|
114
|
-
}), o && ((t =
|
|
114
|
+
}), !Kr(o) && Br(o) && ((t = Wr(e)) == null || t.forEach((a) => {
|
|
115
115
|
o = o == null ? void 0 : o.replaceAll(`var(--${a})`, e[a]);
|
|
116
116
|
})), o;
|
|
117
117
|
})
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Eo(o) {
|
|
121
121
|
var { addWindowName: n, addWindowHook: r } = Fr();
|
|
122
122
|
n(), r("openModalAsync", (i) => {
|
|
123
123
|
yr(o == null ? void 0 : o.instance, i);
|
|
124
|
-
}), r("ElMessage",
|
|
124
|
+
}), r("ElMessage", _r), r("ElMessageBox", to), r("ElNotification", eo);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
127
|
-
const n = o.designer, r = n == null ? void 0 : n.pageConfig, i = hn(n == null ? void 0 : n.widgetList), e = o == null ? void 0 : o.designState, l = o == null ? void 0 : o.pageData, t = o == null ? void 0 : o.renderConfig, a = {}, s = {}, { off$: f, on$: u, emit$: c } =
|
|
126
|
+
function xo(o) {
|
|
127
|
+
const n = o.designer, r = n == null ? void 0 : n.pageConfig, i = hn(n == null ? void 0 : n.widgetList), e = o == null ? void 0 : o.designState, l = o == null ? void 0 : o.pageData, t = o == null ? void 0 : o.renderConfig, a = {}, s = {}, { off$: f, on$: u, emit$: c } = kr();
|
|
128
128
|
var { instance: d, proxy: v } = Vn();
|
|
129
|
-
const h = { instance: d, designState: e, formData: l, pageConfig: r, globalConfig: t }, { handleFunc: g } =
|
|
130
|
-
let V = (() => "vfRender" +
|
|
129
|
+
const h = { instance: d, designState: e, formData: l, pageConfig: r, globalConfig: t }, { handleFunc: g } = qr({ options: r }, h), { callWidgetsExposed: p } = An(s), { formModel: m, setData: S, getData: I, clearData: x } = Zr(i.value, h), P = new Rn(a), O = new Rn(s), { findRefByName: w } = An(s), { getOneSchemaData: L, getSchemaDataObject: T, getSchemaDatas: N } = Lr(h);
|
|
130
|
+
let V = (() => "vfRender" + zr())();
|
|
131
131
|
const D = () => {
|
|
132
132
|
g(r == null ? void 0 : r.pageCreated);
|
|
133
133
|
}, R = () => {
|
|
@@ -137,7 +137,7 @@ function bo(o) {
|
|
|
137
137
|
return;
|
|
138
138
|
const H = Oe.getValue(r.cssCode, !1, !0);
|
|
139
139
|
if (H) {
|
|
140
|
-
const { cssWithPrimaryColor: Ft } =
|
|
140
|
+
const { cssWithPrimaryColor: Ft } = bo(H, { themeColor: (t == null ? void 0 : t.themeColor) || "" });
|
|
141
141
|
jr(Ft.value, e ? "" : V);
|
|
142
142
|
}
|
|
143
143
|
const st = Oe.getValue(r.functions, !1, !0);
|
|
@@ -156,11 +156,11 @@ function bo(o) {
|
|
|
156
156
|
dt(H, !1);
|
|
157
157
|
}, vt = (H) => {
|
|
158
158
|
if (H) {
|
|
159
|
-
var st =
|
|
159
|
+
var st = Vr(H);
|
|
160
160
|
if (st) {
|
|
161
161
|
if (!st.pageConfig || !st.widgetList)
|
|
162
162
|
return "Invalid pageat of page json.";
|
|
163
|
-
|
|
163
|
+
Xr(o.pageConfig, st), W(), xr(() => {
|
|
164
164
|
M(!1), R();
|
|
165
165
|
});
|
|
166
166
|
} else
|
|
@@ -177,7 +177,7 @@ function bo(o) {
|
|
|
177
177
|
});
|
|
178
178
|
};
|
|
179
179
|
return M(), br(() => {
|
|
180
|
-
x(),
|
|
180
|
+
x(), Hr(), R(), Eo({ instance: d });
|
|
181
181
|
}), Er(() => {
|
|
182
182
|
x();
|
|
183
183
|
}), {
|
|
@@ -209,7 +209,7 @@ function bo(o) {
|
|
|
209
209
|
}
|
|
210
210
|
};
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Oo() {
|
|
213
213
|
const o = {}, n = (e, l, t) => {
|
|
214
214
|
o[e] = { opt: l, doEvent: t };
|
|
215
215
|
}, r = (e, l) => {
|
|
@@ -226,8 +226,8 @@ function Eo() {
|
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
const { bindKey: n, runEvent: r } =
|
|
229
|
+
function To(o) {
|
|
230
|
+
const { bindKey: n, runEvent: r } = Oo(), i = () => {
|
|
231
231
|
n("enter", { ctrlKey: !1 }, a), n("arrowleft", { ctrlKey: !0 }, s);
|
|
232
232
|
}, e = (f) => (i(), r(f)), l = "input,select,textarea", t = ["textarea"], a = () => {
|
|
233
233
|
var v, h;
|
|
@@ -259,18 +259,18 @@ function xo(o) {
|
|
|
259
259
|
addKeyBoardEvent: e
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
|
-
const
|
|
263
|
-
...
|
|
262
|
+
const Io = ["element-loading-text", "onKeyup"], Po = Wn({ componentName: ze.VFormRender, name: ze.VFormRender }), Co = /* @__PURE__ */ Wn({
|
|
263
|
+
...Po,
|
|
264
264
|
props: {
|
|
265
265
|
...Gr,
|
|
266
266
|
pageData: { type: Object },
|
|
267
267
|
renderConfig: { type: Object }
|
|
268
268
|
},
|
|
269
269
|
setup(o, { expose: n, emit: r }) {
|
|
270
|
-
const i = o, { formModel: e, exposed: l, widgetList: t, pageConfig: a, allWidgetRefList: s } =
|
|
270
|
+
const i = o, { formModel: e, exposed: l, widgetList: t, pageConfig: a, allWidgetRefList: s } = xo(i), f = Be(() => {
|
|
271
271
|
var m, S;
|
|
272
272
|
return Oe.getValue((S = (m = i.designer) == null ? void 0 : m.pageConfig) == null ? void 0 : S.layoutType);
|
|
273
|
-
}), u = Be(() =>
|
|
273
|
+
}), u = Be(() => Jr(Qr(Oe.getValue(a == null ? void 0 : a.customClass), !0))), c = Be(() => {
|
|
274
274
|
var m;
|
|
275
275
|
return (m = Oe.getValue(a == null ? void 0 : a.componentWrapperClass)) == null ? void 0 : m.join(" ");
|
|
276
276
|
}), d = hn(!1), v = {};
|
|
@@ -282,7 +282,7 @@ const Oo = ["element-loading-text", "onKeyup"], To = Wn({ componentName: ze.VFor
|
|
|
282
282
|
// globalPageName: widgetVar.VFormRender
|
|
283
283
|
}), In(Dn.globalConfig, i.renderConfig), In(Dn.isRenderComplete, d);
|
|
284
284
|
const h = hn(), g = (m) => {
|
|
285
|
-
const { addKeyBoardEvent: S } =
|
|
285
|
+
const { addKeyBoardEvent: S } = To(h.value);
|
|
286
286
|
S(m);
|
|
287
287
|
}, p = () => {
|
|
288
288
|
d.value = !0, r(Hn.renderComplete);
|
|
@@ -293,7 +293,7 @@ const Oo = ["element-loading-text", "onKeyup"], To = Wn({ componentName: ze.VFor
|
|
|
293
293
|
}), (m, S) => {
|
|
294
294
|
const I = Or("loading");
|
|
295
295
|
return Tr((Pn(), Ir("div", {
|
|
296
|
-
"element-loading-text": re(
|
|
296
|
+
"element-loading-text": re(Yr).i18nt("designer.hint.loading"),
|
|
297
297
|
class: Pr([...re(u), re(f) + "-layout", { loadingLayout: !d.value }]),
|
|
298
298
|
tabindex: "0",
|
|
299
299
|
ref_key: "taregtWrapperRef",
|
|
@@ -307,7 +307,7 @@ const Oo = ["element-loading-text", "onKeyup"], To = Wn({ componentName: ze.VFor
|
|
|
307
307
|
nn(m.$slots, "default", {}, () => [
|
|
308
308
|
(Pn(), Cr(Dr, { onResolve: p }, {
|
|
309
309
|
default: Ar(() => [
|
|
310
|
-
Rr(
|
|
310
|
+
Rr(no, {
|
|
311
311
|
designer: m.designer,
|
|
312
312
|
"widget-list": re(t),
|
|
313
313
|
model: re(e),
|
|
@@ -319,14 +319,14 @@ const Oo = ["element-loading-text", "onKeyup"], To = Wn({ componentName: ze.VFor
|
|
|
319
319
|
}))
|
|
320
320
|
], !0),
|
|
321
321
|
nn(m.$slots, "footer", {}, void 0, !0)
|
|
322
|
-
], 42,
|
|
322
|
+
], 42, Io)), [
|
|
323
323
|
[I, !d.value]
|
|
324
324
|
]);
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
327
|
});
|
|
328
|
-
const zn = /* @__PURE__ */
|
|
329
|
-
var gn = {},
|
|
328
|
+
const zn = /* @__PURE__ */ ro(Co, [["__scopeId", "data-v-3af3e0f4"]]);
|
|
329
|
+
var gn = {}, Do = {
|
|
330
330
|
get exports() {
|
|
331
331
|
return gn;
|
|
332
332
|
},
|
|
@@ -354,7 +354,7 @@ function Ht(o) {
|
|
|
354
354
|
for (var n = 1; n < arguments.length; n++) {
|
|
355
355
|
var r = arguments[n] != null ? arguments[n] : {};
|
|
356
356
|
n % 2 ? Mn(Object(r), !0).forEach(function(i) {
|
|
357
|
-
|
|
357
|
+
Ao(o, i, r[i]);
|
|
358
358
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(r)) : Mn(Object(r)).forEach(function(i) {
|
|
359
359
|
Object.defineProperty(o, i, Object.getOwnPropertyDescriptor(r, i));
|
|
360
360
|
});
|
|
@@ -368,7 +368,7 @@ function We(o) {
|
|
|
368
368
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
369
369
|
}, We(o);
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function Ao(o, n, r) {
|
|
372
372
|
return n in o ? Object.defineProperty(o, n, {
|
|
373
373
|
value: r,
|
|
374
374
|
enumerable: !0,
|
|
@@ -386,7 +386,7 @@ function wt() {
|
|
|
386
386
|
return o;
|
|
387
387
|
}, wt.apply(this, arguments);
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function Ro(o, n) {
|
|
390
390
|
if (o == null)
|
|
391
391
|
return {};
|
|
392
392
|
var r = {}, i = Object.keys(o), e, l;
|
|
@@ -394,10 +394,10 @@ function Do(o, n) {
|
|
|
394
394
|
e = i[l], !(n.indexOf(e) >= 0) && (r[e] = o[e]);
|
|
395
395
|
return r;
|
|
396
396
|
}
|
|
397
|
-
function
|
|
397
|
+
function Mo(o, n) {
|
|
398
398
|
if (o == null)
|
|
399
399
|
return {};
|
|
400
|
-
var r =
|
|
400
|
+
var r = Ro(o, n), i, e;
|
|
401
401
|
if (Object.getOwnPropertySymbols) {
|
|
402
402
|
var l = Object.getOwnPropertySymbols(o);
|
|
403
403
|
for (e = 0; e < l.length; e++)
|
|
@@ -405,18 +405,18 @@ function Ao(o, n) {
|
|
|
405
405
|
}
|
|
406
406
|
return r;
|
|
407
407
|
}
|
|
408
|
-
function
|
|
409
|
-
return
|
|
408
|
+
function No(o) {
|
|
409
|
+
return jo(o) || wo(o) || Fo(o) || Lo();
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function jo(o) {
|
|
412
412
|
if (Array.isArray(o))
|
|
413
413
|
return pn(o);
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function wo(o) {
|
|
416
416
|
if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
|
|
417
417
|
return Array.from(o);
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function Fo(o, n) {
|
|
420
420
|
if (o) {
|
|
421
421
|
if (typeof o == "string")
|
|
422
422
|
return pn(o, n);
|
|
@@ -433,16 +433,16 @@ function pn(o, n) {
|
|
|
433
433
|
i[r] = o[r];
|
|
434
434
|
return i;
|
|
435
435
|
}
|
|
436
|
-
function
|
|
436
|
+
function Lo() {
|
|
437
437
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
438
438
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
439
439
|
}
|
|
440
|
-
var
|
|
440
|
+
var Uo = "1.14.0";
|
|
441
441
|
function Vt(o) {
|
|
442
442
|
if (typeof window < "u" && window.navigator)
|
|
443
443
|
return !!/* @__PURE__ */ navigator.userAgent.match(o);
|
|
444
444
|
}
|
|
445
|
-
var Xt = Vt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ae = Vt(/Edge/i), Nn = Vt(/firefox/i), Te = Vt(/safari/i) && !Vt(/chrome/i) && !Vt(/android/i), Jn = Vt(/iP(ad|od|hone)/i),
|
|
445
|
+
var Xt = Vt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ae = Vt(/Edge/i), Nn = Vt(/firefox/i), Te = Vt(/safari/i) && !Vt(/chrome/i) && !Vt(/android/i), Jn = Vt(/iP(ad|od|hone)/i), $o = Vt(/chrome/i) && Vt(/android/i), Qn = {
|
|
446
446
|
capture: !1,
|
|
447
447
|
passive: !1
|
|
448
448
|
};
|
|
@@ -468,7 +468,7 @@ function Je(o, n) {
|
|
|
468
468
|
return !1;
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
function
|
|
471
|
+
function Go(o) {
|
|
472
472
|
return o.host && o !== document && o.host.nodeType ? o.host : o.parentNode;
|
|
473
473
|
}
|
|
474
474
|
function Gt(o, n, r, i) {
|
|
@@ -479,7 +479,7 @@ function Gt(o, n, r, i) {
|
|
|
479
479
|
return o;
|
|
480
480
|
if (o === r)
|
|
481
481
|
break;
|
|
482
|
-
} while (o =
|
|
482
|
+
} while (o = Go(o));
|
|
483
483
|
}
|
|
484
484
|
return null;
|
|
485
485
|
}
|
|
@@ -596,7 +596,7 @@ function Fn(o) {
|
|
|
596
596
|
} while (o !== i && (o = o.parentNode));
|
|
597
597
|
return [n, r];
|
|
598
598
|
}
|
|
599
|
-
function
|
|
599
|
+
function Ko(o, n) {
|
|
600
600
|
for (var r in o)
|
|
601
601
|
if (o.hasOwnProperty(r)) {
|
|
602
602
|
for (var i in n)
|
|
@@ -623,7 +623,7 @@ function Zt(o, n) {
|
|
|
623
623
|
while (r = r.parentNode);
|
|
624
624
|
return Wt();
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Bo(o, n) {
|
|
627
627
|
if (o && n)
|
|
628
628
|
for (var r in n)
|
|
629
629
|
n.hasOwnProperty(r) && (o[r] = n[r]);
|
|
@@ -643,7 +643,7 @@ function kn(o, n) {
|
|
|
643
643
|
}
|
|
644
644
|
};
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function Wo() {
|
|
647
647
|
clearTimeout(Ie), Ie = void 0;
|
|
648
648
|
}
|
|
649
649
|
function qn(o, n, r) {
|
|
@@ -660,7 +660,7 @@ function on(o) {
|
|
|
660
660
|
U(o, "position", ""), U(o, "top", ""), U(o, "left", ""), U(o, "width", ""), U(o, "height", "");
|
|
661
661
|
}
|
|
662
662
|
var It = "Sortable" + new Date().getTime();
|
|
663
|
-
function
|
|
663
|
+
function Ho() {
|
|
664
664
|
var o = [], n;
|
|
665
665
|
return {
|
|
666
666
|
captureAnimationState: function() {
|
|
@@ -686,7 +686,7 @@ function Bo() {
|
|
|
686
686
|
o.push(i);
|
|
687
687
|
},
|
|
688
688
|
removeAnimationState: function(i) {
|
|
689
|
-
o.splice(
|
|
689
|
+
o.splice(Ko(o, {
|
|
690
690
|
target: i
|
|
691
691
|
}), 1);
|
|
692
692
|
},
|
|
@@ -699,7 +699,7 @@ function Bo() {
|
|
|
699
699
|
var l = !1, t = 0;
|
|
700
700
|
o.forEach(function(a) {
|
|
701
701
|
var s = 0, f = a.target, u = f.fromRect, c = ut(f), d = f.prevFromRect, v = f.prevToRect, h = a.rect, g = ee(f, !0);
|
|
702
|
-
g && (c.top -= g.f, c.left -= g.e), f.toRect = c, f.thisAnimationDuration && rn(d, c) && !rn(u, c) && (h.top - c.top) / (h.left - c.left) === (u.top - c.top) / (u.left - c.left) && (s =
|
|
702
|
+
g && (c.top -= g.f, c.left -= g.e), f.toRect = c, f.thisAnimationDuration && rn(d, c) && !rn(u, c) && (h.top - c.top) / (h.left - c.left) === (u.top - c.top) / (u.left - c.left) && (s = Xo(h, d, v, e.options)), rn(c, u) || (f.prevFromRect = u, f.prevToRect = c, s || (s = e.options.animation), e.animate(f, h, c, s)), s && (l = !0, t = Math.max(t, s), clearTimeout(f.animationResetTimer), f.animationResetTimer = setTimeout(function() {
|
|
703
703
|
f.animationTime = 0, f.prevFromRect = null, f.fromRect = null, f.prevToRect = null, f.thisAnimationDuration = null;
|
|
704
704
|
}, s), f.thisAnimationDuration = s);
|
|
705
705
|
}), clearTimeout(n), l ? n = setTimeout(function() {
|
|
@@ -710,17 +710,17 @@ function Bo() {
|
|
|
710
710
|
if (t) {
|
|
711
711
|
U(i, "transition", ""), U(i, "transform", "");
|
|
712
712
|
var a = ee(this.el), s = a && a.a, f = a && a.d, u = (e.left - l.left) / (s || 1), c = (e.top - l.top) / (f || 1);
|
|
713
|
-
i.animatingX = !!u, i.animatingY = !!c, U(i, "transform", "translate3d(" + u + "px," + c + "px,0)"), this.forRepaintDummy =
|
|
713
|
+
i.animatingX = !!u, i.animatingY = !!c, U(i, "transform", "translate3d(" + u + "px," + c + "px,0)"), this.forRepaintDummy = Vo(i), U(i, "transition", "transform " + t + "ms" + (this.options.easing ? " " + this.options.easing : "")), U(i, "transform", "translate3d(0,0,0)"), typeof i.animated == "number" && clearTimeout(i.animated), i.animated = setTimeout(function() {
|
|
714
714
|
U(i, "transition", ""), U(i, "transform", ""), i.animated = !1, i.animatingX = !1, i.animatingY = !1;
|
|
715
715
|
}, t);
|
|
716
716
|
}
|
|
717
717
|
}
|
|
718
718
|
};
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function Vo(o) {
|
|
721
721
|
return o.offsetWidth;
|
|
722
722
|
}
|
|
723
|
-
function
|
|
723
|
+
function Xo(o, n, r, i) {
|
|
724
724
|
return Math.sqrt(Math.pow(n.top - o.top, 2) + Math.pow(n.left - o.left, 2)) / Math.sqrt(Math.pow(n.top - r.top, 2) + Math.pow(n.left - r.left, 2)) * i.animation;
|
|
725
725
|
}
|
|
726
726
|
var oe = [], an = {
|
|
@@ -789,8 +789,8 @@ function Se(o) {
|
|
|
789
789
|
r && r.dispatchEvent(g), p[m] && p[m].call(n, g);
|
|
790
790
|
}
|
|
791
791
|
}
|
|
792
|
-
var
|
|
793
|
-
var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, e = i.evt, l =
|
|
792
|
+
var Yo = ["evt"], At = function(n, r) {
|
|
793
|
+
var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, e = i.evt, l = Mo(i, Yo);
|
|
794
794
|
Re.pluginEvent.bind(B)(n, r, Ht({
|
|
795
795
|
dragEl: A,
|
|
796
796
|
parentEl: ht,
|
|
@@ -837,7 +837,7 @@ function Ct(o) {
|
|
|
837
837
|
newDraggableIndex: Jt
|
|
838
838
|
}, o));
|
|
839
839
|
}
|
|
840
|
-
var A, ht, J, ft, te, He, gt, Qt, le, Nt, Pe, Jt, Fe, Ot, se = !1, Qe = !1, Ze = [], qt, Ut, sn, ln, Un, $n, be, ae, Ce, De = !1, Le = !1, Ve, Tt, fn = [], mn = !1, ke = [], _e = typeof document < "u", Ue = Jn, Gn = Ae || Xt ? "cssFloat" : "float",
|
|
840
|
+
var A, ht, J, ft, te, He, gt, Qt, le, Nt, Pe, Jt, Fe, Ot, se = !1, Qe = !1, Ze = [], qt, Ut, sn, ln, Un, $n, be, ae, Ce, De = !1, Le = !1, Ve, Tt, fn = [], mn = !1, ke = [], _e = typeof document < "u", Ue = Jn, Gn = Ae || Xt ? "cssFloat" : "float", zo = _e && !$o && !Jn && "draggable" in document.createElement("div"), _n = function() {
|
|
841
841
|
if (_e) {
|
|
842
842
|
if (Xt)
|
|
843
843
|
return !1;
|
|
@@ -855,10 +855,10 @@ var A, ht, J, ft, te, He, gt, Qt, le, Nt, Pe, Jt, Fe, Ot, se = !1, Qe = !1, Ze =
|
|
|
855
855
|
return t && (s.clear === "both" || s.clear === c) ? "vertical" : "horizontal";
|
|
856
856
|
}
|
|
857
857
|
return l && (a.display === "block" || a.display === "flex" || a.display === "table" || a.display === "grid" || f >= e && i[Gn] === "none" || t && i[Gn] === "none" && f + u > e) ? "vertical" : "horizontal";
|
|
858
|
-
},
|
|
858
|
+
}, Jo = function(n, r, i) {
|
|
859
859
|
var e = i ? n.left : n.top, l = i ? n.right : n.bottom, t = i ? n.width : n.height, a = i ? r.left : r.top, s = i ? r.right : r.bottom, f = i ? r.width : r.height;
|
|
860
860
|
return e === a || l === s || e + t / 2 === a + f / 2;
|
|
861
|
-
},
|
|
861
|
+
}, Qo = function(n, r) {
|
|
862
862
|
var i;
|
|
863
863
|
return Ze.some(function(e) {
|
|
864
864
|
var l = e[It].options.emptyInsertThreshold;
|
|
@@ -900,7 +900,7 @@ _e && document.addEventListener("click", function(o) {
|
|
|
900
900
|
var _t = function(n) {
|
|
901
901
|
if (A) {
|
|
902
902
|
n = n.touches ? n.touches[0] : n;
|
|
903
|
-
var r =
|
|
903
|
+
var r = Qo(n.clientX, n.clientY);
|
|
904
904
|
if (r) {
|
|
905
905
|
var i = {};
|
|
906
906
|
for (var e in n)
|
|
@@ -908,7 +908,7 @@ var _t = function(n) {
|
|
|
908
908
|
i.target = i.rootEl = r, i.preventDefault = void 0, i.stopPropagation = void 0, r[It]._onDragOver(i);
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
|
-
},
|
|
911
|
+
}, Zo = function(n) {
|
|
912
912
|
A && A.parentNode[It]._isOutsideThisEl(n.target);
|
|
913
913
|
};
|
|
914
914
|
function B(o, n) {
|
|
@@ -966,7 +966,7 @@ function B(o, n) {
|
|
|
966
966
|
er(n);
|
|
967
967
|
for (var e in this)
|
|
968
968
|
e.charAt(0) === "_" && typeof this[e] == "function" && (this[e] = this[e].bind(this));
|
|
969
|
-
this.nativeDraggable = n.forceFallback ? !1 :
|
|
969
|
+
this.nativeDraggable = n.forceFallback ? !1 : zo, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? k(o, "pointerdown", this._onTapStart) : (k(o, "mousedown", this._onTapStart), k(o, "touchstart", this._onTapStart)), this.nativeDraggable && (k(o, "dragover", this), k(o, "dragenter", this)), Ze.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), wt(this, Ho());
|
|
970
970
|
}
|
|
971
971
|
B.prototype = /** @lends Sortable.prototype */
|
|
972
972
|
{
|
|
@@ -980,7 +980,7 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
980
980
|
_onTapStart: function(n) {
|
|
981
981
|
if (n.cancelable) {
|
|
982
982
|
var r = this, i = this.el, e = this.options, l = e.preventOnFilter, t = n.type, a = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, s = (a || n).target, f = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || s, u = e.filter;
|
|
983
|
-
if (
|
|
983
|
+
if (oa(i), !A && !(/mousedown|pointerdown/.test(t) && n.button !== 0 || e.disabled) && !f.isContentEditable && !(!this.nativeDraggable && Te && s && s.tagName.toUpperCase() === "SELECT") && (s = Gt(s, e.draggable, i, !1), !(s && s.animated) && He !== s)) {
|
|
984
984
|
if (le = pt(s), Pe = pt(s, e.draggable), typeof u == "function") {
|
|
985
985
|
if (u.call(this, n, s, this)) {
|
|
986
986
|
Ct({
|
|
@@ -1073,7 +1073,7 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
1073
1073
|
if (se = !1, ft && A) {
|
|
1074
1074
|
At("dragStarted", this, {
|
|
1075
1075
|
evt: r
|
|
1076
|
-
}), this.nativeDraggable && k(document, "dragover",
|
|
1076
|
+
}), this.nativeDraggable && k(document, "dragover", Zo);
|
|
1077
1077
|
var i = this.options;
|
|
1078
1078
|
!n && ct(A, i.dragClass, !1), ct(A, i.ghostClass, !0), B.active = this, n && this._appendGhost(), Ct({
|
|
1079
1079
|
sortable: this,
|
|
@@ -1207,12 +1207,12 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
1207
1207
|
if (t)
|
|
1208
1208
|
return ht = ft, m(), this._hideClone(), p("revert"), B.eventCanceled || (te ? ft.insertBefore(A, te) : ft.appendChild(A)), S(!0);
|
|
1209
1209
|
var x = En(r, a.draggable);
|
|
1210
|
-
if (!x ||
|
|
1210
|
+
if (!x || ta(n, v, this) && !x.animated) {
|
|
1211
1211
|
if (x === A)
|
|
1212
1212
|
return S(!1);
|
|
1213
1213
|
if (x && r === n.target && (i = x), i && (l = ut(i)), $e(ft, r, A, e, i, l, n, !!i) !== !1)
|
|
1214
1214
|
return m(), r.appendChild(A), ht = r, I(), S(!0);
|
|
1215
|
-
} else if (x &&
|
|
1215
|
+
} else if (x && _o(n, v, this)) {
|
|
1216
1216
|
var P = fe(r, 0, a, !0);
|
|
1217
1217
|
if (P === A)
|
|
1218
1218
|
return S(!1);
|
|
@@ -1220,8 +1220,8 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
1220
1220
|
return m(), r.insertBefore(A, P), ht = r, I(), S(!0);
|
|
1221
1221
|
} else if (i.parentNode === r) {
|
|
1222
1222
|
l = ut(i);
|
|
1223
|
-
var O = 0, w, L = A.parentNode !== r, T = !
|
|
1224
|
-
ae !== i && (w = l[N], De = !1, Le = !T && a.invertSwap || L), O =
|
|
1223
|
+
var O = 0, w, L = A.parentNode !== r, T = !Jo(A.animated && A.toRect || e, i.animated && i.toRect || l, v), N = v ? "top" : "left", j = wn(i, "top", "top") || wn(A, "top", "top"), V = j ? j.scrollTop : void 0;
|
|
1224
|
+
ae !== i && (w = l[N], De = !1, Le = !T && a.invertSwap || L), O = ea(n, i, l, v, T ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, Le, ae === i);
|
|
1225
1225
|
var D;
|
|
1226
1226
|
if (O !== 0) {
|
|
1227
1227
|
var R = pt(A);
|
|
@@ -1236,7 +1236,7 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
1236
1236
|
M = O === 1;
|
|
1237
1237
|
var G = $e(ft, r, A, e, i, l, n, M);
|
|
1238
1238
|
if (G !== !1)
|
|
1239
|
-
return (G === 1 || G === -1) && (M = G === 1), mn = !0, setTimeout(
|
|
1239
|
+
return (G === 1 || G === -1) && (M = G === 1), mn = !0, setTimeout(qo, 30), m(), M && !W ? r.appendChild(A) : i.parentNode.insertBefore(A, M ? W : i), j && qn(j, 0, V - j.scrollTop), ht = A.parentNode, w !== void 0 && !Le && (Ve = Math.abs(w - ut(i)[N])), I(), S(!0);
|
|
1240
1240
|
}
|
|
1241
1241
|
if (r.contains(A))
|
|
1242
1242
|
return S(!1);
|
|
@@ -1318,7 +1318,7 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
1318
1318
|
break;
|
|
1319
1319
|
case "dragenter":
|
|
1320
1320
|
case "dragover":
|
|
1321
|
-
A && (this._onDragOver(n),
|
|
1321
|
+
A && (this._onDragOver(n), ko(n));
|
|
1322
1322
|
break;
|
|
1323
1323
|
case "selectstart":
|
|
1324
1324
|
n.preventDefault();
|
|
@@ -1331,7 +1331,7 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
1331
1331
|
*/
|
|
1332
1332
|
toArray: function() {
|
|
1333
1333
|
for (var n = [], r, i = this.el.children, e = 0, l = i.length, t = this.options; e < l; e++)
|
|
1334
|
-
r = i[e], Gt(r, t.draggable, this.el, !1) && n.push(r.getAttribute(t.dataIdAttr) ||
|
|
1334
|
+
r = i[e], Gt(r, t.draggable, this.el, !1) && n.push(r.getAttribute(t.dataIdAttr) || ra(r));
|
|
1335
1335
|
return n;
|
|
1336
1336
|
},
|
|
1337
1337
|
/**
|
|
@@ -1405,7 +1405,7 @@ B.prototype = /** @lends Sortable.prototype */
|
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
1407
|
};
|
|
1408
|
-
function
|
|
1408
|
+
function ko(o) {
|
|
1409
1409
|
o.dataTransfer && (o.dataTransfer.dropEffect = "move"), o.cancelable && o.preventDefault();
|
|
1410
1410
|
}
|
|
1411
1411
|
function $e(o, n, r, i, e, l, t, a) {
|
|
@@ -1418,18 +1418,18 @@ function $e(o, n, r, i, e, l, t, a) {
|
|
|
1418
1418
|
function un(o) {
|
|
1419
1419
|
o.draggable = !1;
|
|
1420
1420
|
}
|
|
1421
|
-
function
|
|
1421
|
+
function qo() {
|
|
1422
1422
|
mn = !1;
|
|
1423
1423
|
}
|
|
1424
|
-
function
|
|
1424
|
+
function _o(o, n, r) {
|
|
1425
1425
|
var i = ut(fe(r.el, 0, r.options, !0)), e = 10;
|
|
1426
1426
|
return n ? o.clientX < i.left - e || o.clientY < i.top && o.clientX < i.right : o.clientY < i.top - e || o.clientY < i.bottom && o.clientX < i.left;
|
|
1427
1427
|
}
|
|
1428
|
-
function
|
|
1428
|
+
function ta(o, n, r) {
|
|
1429
1429
|
var i = ut(En(r.el, r.options.draggable)), e = 10;
|
|
1430
1430
|
return n ? o.clientX > i.right + e || o.clientX <= i.right && o.clientY > i.bottom && o.clientX >= i.left : o.clientX > i.right && o.clientY > i.top || o.clientX <= i.right && o.clientY > i.bottom + e;
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1432
|
+
function ea(o, n, r, i, e, l, t, a) {
|
|
1433
1433
|
var s = i ? o.clientY : o.clientX, f = i ? r.height : r.width, u = i ? r.top : r.left, c = i ? r.bottom : r.right, d = !1;
|
|
1434
1434
|
if (!t) {
|
|
1435
1435
|
if (a && Ve < f * e) {
|
|
@@ -1438,19 +1438,19 @@ function _o(o, n, r, i, e, l, t, a) {
|
|
|
1438
1438
|
else if (Ce === 1 ? s < u + Ve : s > c - Ve)
|
|
1439
1439
|
return -Ce;
|
|
1440
1440
|
} else if (s > u + f * (1 - e) / 2 && s < c - f * (1 - e) / 2)
|
|
1441
|
-
return
|
|
1441
|
+
return na(n);
|
|
1442
1442
|
}
|
|
1443
1443
|
return d = d || t, d && (s < u + f * l / 2 || s > c - f * l / 2) ? s > u + f / 2 ? 1 : -1 : 0;
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1445
|
+
function na(o) {
|
|
1446
1446
|
return pt(A) < pt(o) ? 1 : -1;
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1448
|
+
function ra(o) {
|
|
1449
1449
|
for (var n = o.tagName + o.className + o.src + o.href + o.textContent, r = n.length, i = 0; r--; )
|
|
1450
1450
|
i += n.charCodeAt(r);
|
|
1451
1451
|
return i.toString(36);
|
|
1452
1452
|
}
|
|
1453
|
-
function
|
|
1453
|
+
function oa(o) {
|
|
1454
1454
|
ke.length = 0;
|
|
1455
1455
|
for (var n = o.getElementsByTagName("input"), r = n.length; r--; ) {
|
|
1456
1456
|
var i = n[r];
|
|
@@ -1474,7 +1474,7 @@ B.utils = {
|
|
|
1474
1474
|
is: function(n, r) {
|
|
1475
1475
|
return !!Gt(n, r, n, !1);
|
|
1476
1476
|
},
|
|
1477
|
-
extend:
|
|
1477
|
+
extend: Bo,
|
|
1478
1478
|
throttle: kn,
|
|
1479
1479
|
closest: Gt,
|
|
1480
1480
|
toggleClass: ct,
|
|
@@ -1500,9 +1500,9 @@ B.mount = function() {
|
|
|
1500
1500
|
B.create = function(o, n) {
|
|
1501
1501
|
return new B(o, n);
|
|
1502
1502
|
};
|
|
1503
|
-
B.version =
|
|
1503
|
+
B.version = Uo;
|
|
1504
1504
|
var St = [], Ee, Sn, bn = !1, cn, dn, qe, xe;
|
|
1505
|
-
function
|
|
1505
|
+
function aa() {
|
|
1506
1506
|
function o() {
|
|
1507
1507
|
this.defaults = {
|
|
1508
1508
|
scroll: !0,
|
|
@@ -1524,7 +1524,7 @@ function ra() {
|
|
|
1524
1524
|
!this.options.dragOverBubble && !i.rootEl && this._handleAutoScroll(i);
|
|
1525
1525
|
},
|
|
1526
1526
|
drop: function() {
|
|
1527
|
-
this.sortable.nativeDraggable ? Z(document, "dragover", this._handleAutoScroll) : (Z(document, "pointermove", this._handleFallbackAutoScroll), Z(document, "touchmove", this._handleFallbackAutoScroll), Z(document, "mousemove", this._handleFallbackAutoScroll)), Kn(), Ye(),
|
|
1527
|
+
this.sortable.nativeDraggable ? Z(document, "dragover", this._handleAutoScroll) : (Z(document, "pointermove", this._handleFallbackAutoScroll), Z(document, "touchmove", this._handleFallbackAutoScroll), Z(document, "mousemove", this._handleFallbackAutoScroll)), Kn(), Ye(), Wo();
|
|
1528
1528
|
},
|
|
1529
1529
|
nulling: function() {
|
|
1530
1530
|
qe = Sn = Ee = bn = xe = cn = dn = null, St.length = 0;
|
|
@@ -1628,7 +1628,7 @@ wt(Tn, {
|
|
|
1628
1628
|
pluginName: "removeOnSpill"
|
|
1629
1629
|
});
|
|
1630
1630
|
var jt;
|
|
1631
|
-
function
|
|
1631
|
+
function ia() {
|
|
1632
1632
|
function o() {
|
|
1633
1633
|
this.defaults = {
|
|
1634
1634
|
swapClass: "sortable-swap-highlight"
|
|
@@ -1652,7 +1652,7 @@ function oa() {
|
|
|
1652
1652
|
},
|
|
1653
1653
|
drop: function(r) {
|
|
1654
1654
|
var i = r.activeSortable, e = r.putSortable, l = r.dragEl, t = e || this.sortable, a = this.options;
|
|
1655
|
-
jt && ct(jt, a.swapClass, !1), jt && (a.swap || e && e.options.swap) && l !== jt && (t.captureAnimationState(), t !== i && i.captureAnimationState(),
|
|
1655
|
+
jt && ct(jt, a.swapClass, !1), jt && (a.swap || e && e.options.swap) && l !== jt && (t.captureAnimationState(), t !== i && i.captureAnimationState(), sa(l, jt), t.animateAll(), t !== i && i.animateAll());
|
|
1656
1656
|
},
|
|
1657
1657
|
nulling: function() {
|
|
1658
1658
|
jt = null;
|
|
@@ -1666,12 +1666,12 @@ function oa() {
|
|
|
1666
1666
|
}
|
|
1667
1667
|
});
|
|
1668
1668
|
}
|
|
1669
|
-
function
|
|
1669
|
+
function sa(o, n) {
|
|
1670
1670
|
var r = o.parentNode, i = n.parentNode, e, l;
|
|
1671
1671
|
!r || !i || r.isEqualNode(n) || i.isEqualNode(o) || (e = pt(o), l = pt(n), r.isEqualNode(i) && e < l && l++, r.insertBefore(n, r.children[e]), i.insertBefore(o, i.children[l]));
|
|
1672
1672
|
}
|
|
1673
1673
|
var z = [], Mt = [], pe, $t, me = !1, Rt = !1, ie = !1, ot, ye, Ge;
|
|
1674
|
-
function
|
|
1674
|
+
function la() {
|
|
1675
1675
|
function o(n) {
|
|
1676
1676
|
for (var r in this)
|
|
1677
1677
|
r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
|
|
@@ -1759,7 +1759,7 @@ function ia() {
|
|
|
1759
1759
|
target: a,
|
|
1760
1760
|
rect: Rt ? ut(a) : t
|
|
1761
1761
|
}), on(a), a.fromRect = t, i.removeAnimationState(a);
|
|
1762
|
-
}), Rt = !1,
|
|
1762
|
+
}), Rt = !1, fa(!this.options.removeCloneOnHide, e));
|
|
1763
1763
|
},
|
|
1764
1764
|
dragOverCompleted: function(r) {
|
|
1765
1765
|
var i = r.sortable, e = r.isOwner, l = r.insertion, t = r.activeSortable, a = r.parentEl, s = r.putSortable, f = this.options;
|
|
@@ -1925,7 +1925,7 @@ function ia() {
|
|
|
1925
1925
|
index: t
|
|
1926
1926
|
});
|
|
1927
1927
|
}), {
|
|
1928
|
-
items:
|
|
1928
|
+
items: No(z),
|
|
1929
1929
|
clones: [].concat(Mt),
|
|
1930
1930
|
oldIndicies: i,
|
|
1931
1931
|
newIndicies: e
|
|
@@ -1938,7 +1938,7 @@ function ia() {
|
|
|
1938
1938
|
}
|
|
1939
1939
|
});
|
|
1940
1940
|
}
|
|
1941
|
-
function
|
|
1941
|
+
function fa(o, n) {
|
|
1942
1942
|
z.forEach(function(r, i) {
|
|
1943
1943
|
var e = n.children[r.sortableIndex + (o ? Number(i) : 0)];
|
|
1944
1944
|
e ? n.insertBefore(r, e) : n.appendChild(r);
|
|
@@ -1955,19 +1955,19 @@ function Ke() {
|
|
|
1955
1955
|
o !== ot && o.parentNode && o.parentNode.removeChild(o);
|
|
1956
1956
|
});
|
|
1957
1957
|
}
|
|
1958
|
-
B.mount(new
|
|
1958
|
+
B.mount(new aa());
|
|
1959
1959
|
B.mount(Tn, On);
|
|
1960
|
-
const
|
|
1960
|
+
const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1961
1961
|
__proto__: null,
|
|
1962
|
-
MultiDrag:
|
|
1962
|
+
MultiDrag: la,
|
|
1963
1963
|
Sortable: B,
|
|
1964
|
-
Swap:
|
|
1964
|
+
Swap: ia,
|
|
1965
1965
|
default: B
|
|
1966
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1966
|
+
}, Symbol.toStringTag, { value: "Module" })), ca = /* @__PURE__ */ oo(ua);
|
|
1967
1967
|
(function(o, n) {
|
|
1968
1968
|
(function(i, e) {
|
|
1969
|
-
o.exports = e(Sr,
|
|
1970
|
-
})(typeof self < "u" ? self :
|
|
1969
|
+
o.exports = e(Sr, ca);
|
|
1970
|
+
})(typeof self < "u" ? self : ao, function(r, i) {
|
|
1971
1971
|
return function(e) {
|
|
1972
1972
|
var l = {};
|
|
1973
1973
|
function t(a) {
|
|
@@ -4426,12 +4426,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4426
4426
|
/******/
|
|
4427
4427
|
}).default;
|
|
4428
4428
|
});
|
|
4429
|
-
})(
|
|
4430
|
-
const
|
|
4431
|
-
function
|
|
4429
|
+
})(Do);
|
|
4430
|
+
const da = /* @__PURE__ */ io(gn);
|
|
4431
|
+
function ka(o) {
|
|
4432
4432
|
return {
|
|
4433
4433
|
getSFCCode: () => new Promise((i, e) => {
|
|
4434
|
-
import("./sfc-
|
|
4434
|
+
import("./sfc-784ee675.js").then((l) => {
|
|
4435
4435
|
const { genSFC: t } = l, a = t(o == null ? void 0 : o.pageConfig, o == null ? void 0 : o.widgetList, !1);
|
|
4436
4436
|
i == null || i(a);
|
|
4437
4437
|
});
|
|
@@ -4442,17 +4442,17 @@ function Qa(o) {
|
|
|
4442
4442
|
}
|
|
4443
4443
|
};
|
|
4444
4444
|
}
|
|
4445
|
-
const
|
|
4446
|
-
o.use(
|
|
4445
|
+
const va = (o) => {
|
|
4446
|
+
o.use(uo), o.use(lo);
|
|
4447
4447
|
};
|
|
4448
|
-
zn.install =
|
|
4449
|
-
const
|
|
4448
|
+
zn.install = va;
|
|
4449
|
+
const qa = {
|
|
4450
4450
|
install(o) {
|
|
4451
|
-
o.use(
|
|
4451
|
+
o.use(ho), o.component("draggable", da), o.component("VFormRender", zn);
|
|
4452
4452
|
}
|
|
4453
4453
|
};
|
|
4454
4454
|
export {
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4455
|
+
qa as default,
|
|
4456
|
+
ei as loadSfc,
|
|
4457
|
+
ka as useGenerator
|
|
4458
4458
|
};
|