hlrender 0.0.1 → 0.0.3
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-2a428176.js +37 -0
- package/alert-widget-6430c136.js +37 -0
- package/{anchor-widget-403fe70f.js → anchor-widget-2cc76d2f.js} +15 -14
- package/{auto-complete-widget-597d8400.js → auto-complete-widget-2d861165.js} +23 -22
- package/avatar-widget-6e963b38.js +37 -0
- package/backtop-widget-ddefd322.js +37 -0
- package/{badge-widget-f6a08422.js → badge-widget-8754dd54.js} +18 -16
- package/{baseImp-70f1a9c5.js → baseImp-75d44fdc.js} +1499 -1470
- package/{breadcrumb-widget-3791fbcf.js → breadcrumb-widget-d106ff2c.js} +26 -25
- package/{button-widget-b539a793.js → button-widget-86bc6ce1.js} +21 -19
- package/{cache-widget-89624589.js → cache-widget-91ccc78e.js} +17 -16
- package/{card-widget-2890042f.js → card-widget-94ead248.js} +26 -25
- package/{carousel-widget-730618e4.js → carousel-widget-594b9826.js} +19 -18
- package/{cascader-widget-a364f226.js → cascader-widget-48a13fa7.js} +17 -16
- package/{chart-widget-d0b5993c.js → chart-widget-849c2efa.js} +15 -14
- package/{checkbox-widget-5f87a8e5.js → checkbox-widget-a90c268c.js} +17 -16
- package/{collapse-widget-a654ac45.js → collapse-widget-64a373e5.js} +19 -18
- package/{color-picker-widget-b5b274dd.js → color-picker-widget-107dcfd6.js} +17 -16
- package/{cont-cell-widget-475412c6.js → cont-cell-widget-8b8c86bb.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9aac0112.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-2555e38d.js} +5 -5
- package/{cont-widget-defa7dd6.js → cont-widget-712b983c.js} +4 -4
- package/content-wrapper-03fcad64.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-56dfcc0b.js → content-wrapper.vue_vue_type_script_setup_true_lang-64b272e8.js} +10 -9
- package/{date-picker-range-widget-e528dab6.js → date-picker-range-widget-71c01fa8.js} +17 -16
- package/{date-picker-widget-a5d3e5ff.js → date-picker-widget-cf382ad7.js} +17 -16
- package/default-slot-widget-45214a89.js +24 -0
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-88a89e04.js +76 -0
- package/{descriptions-widget-9711a62b.js → descriptions-widget-b0508f02.js} +24 -23
- package/{dialog-333d3421.js → dialog-9097cd3a.js} +2 -2
- package/{dialog-widget-94d8ab5a.js → dialog-widget-1d2aeb22.js} +17 -16
- package/{divider-widget-b835bbc3.js → divider-widget-8b4ff227.js} +18 -16
- package/drag-wrapper-d545a429.js +258 -0
- package/{drawer-widget-3906d028.js → drawer-widget-e5cae59b.js} +17 -16
- package/{dropdown-widget-74696f3c.js → dropdown-widget-90eba236.js} +16 -15
- package/empty-widget-700c46d3.js +37 -0
- package/{enum-type-92806e9d.js → enum-type-a02d0ddc.js} +48 -45
- package/{enum-type-be3a0b8b.js → enum-type-ad1f81ba.js} +90 -79
- package/{template-9ade074e.js → expression-402fef4a.js} +7875 -5691
- package/feedback-widget-1fab6992.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f8da09d0.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8de0d422.js} +5 -5
- package/fieldobj-d49dbdc5.js +13 -0
- package/{file-upload-widget-dcc0425c.js → file-upload-widget-50e793e6.js} +21 -20
- package/form-item-wrapper-3770b8d2.js +97 -0
- package/form-widget-b30bdd88.js +183 -0
- package/{grid-col-widget-e6b1455d.js → grid-col-widget-44300d04.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ed554759.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-8a45aa77.js} +5 -5
- package/{grid-widget-d7974890.js → grid-widget-26142b27.js} +5 -5
- package/{html-text-widget-e13171fa.js → html-text-widget-4637806e.js} +16 -15
- package/{iframe-widget-dee326a7.js → iframe-widget-0c47dceb.js} +26 -25
- package/{image-widget-d417c681.js → image-widget-2b31b9ff.js} +19 -18
- package/{index-28e4bcfb.js → index-30f0db15.js} +4 -4
- package/{index-fa19f5d9.js → index-ce2e6477.js} +1088 -1022
- package/{index-f54403db.js → index-ed941348.js} +1 -1
- package/{input-number-widget-548743d9.js → input-number-widget-5863f4e9.js} +17 -16
- package/{input-widget-81153a08.js → input-widget-b5c42dc7.js} +18 -17
- package/{label-wrapper-13267254.js → label-wrapper-c2286145.js} +5 -4
- package/label-wrapper.vue_vue_type_style_index_0_lang-099c2073.js +63 -0
- package/{link-widget-e2aeac9f.js → link-widget-6d01d401.js} +22 -20
- package/{ltable-col-widget-ecfe9f02.js → ltable-col-widget-309b4007.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6c231f2e.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7d1646d6.js} +10 -10
- package/{ltable-widget-d5d81ac2.js → ltable-widget-00ae75e1.js} +5 -5
- package/{menu-widget-101389ec.js → menu-widget-d9ddb076.js} +16 -15
- package/{model-widget-84277d11.js → model-widget-73460f2d.js} +15 -14
- package/multirow-980395e2.js +228 -0
- package/{multirow-widget-a73fd2b8.js → multirow-widget-cbb353d8.js} +147 -146
- package/package.json +1 -1
- package/{pagination-widget-12edf5f4.js → pagination-widget-a4301a5f.js} +15 -14
- package/{picture-upload-widget-bcef9cc8.js → picture-upload-widget-6bfbb9c3.js} +18 -17
- package/progress-widget-092798ba.js +97 -0
- package/{propresult-e424ed73.js → propresult-8a0911d7.js} +1 -1
- package/{radio-widget-78f9cab9.js → radio-widget-c14c112b.js} +17 -16
- package/{range-widget-904ed0d6.js → range-widget-13be6e98.js} +18 -17
- package/{rate-widget-efdab26c.js → rate-widget-a568f58b.js} +17 -16
- package/render.es.js +556 -552
- package/render.style.css +1 -1
- package/render.umd.js +544 -544
- package/{result-widget-b1688641.js → result-widget-8cbdcffb.js} +16 -15
- package/{rich-editor-widget-f1bb90c7.js → rich-editor-widget-5347c0fb.js} +17 -16
- package/{router-widget-920b11e4.js → router-widget-f34afbc1.js} +15 -14
- package/{select-widget-f3a43687.js → select-widget-e0f4756d.js} +17 -16
- package/{sfc-b5fb0bca.js → sfc-3a8e0889.js} +84 -84
- package/{share-field-9834aef6.js → share-field-cbdc0f7d.js} +110 -109
- package/{share-file-329736c4.js → share-file-241e0fcc.js} +15 -15
- package/{slider-widget-5146c0c3.js → slider-widget-c131ecf9.js} +23 -22
- package/slot-252ff364.js +131 -0
- package/{static-text-widget-307cd047.js → static-text-widget-1e6c817e.js} +16 -15
- package/{steps-widget-70c08c51.js → steps-widget-93f66f08.js} +15 -14
- package/subMenu-widget-ad35946d.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-1896e25e.js → subMenu-widget.vue_vue_type_script_setup_true_lang-80e2bb5f.js} +12 -12
- package/{switch-widget-a103faaa.js → switch-widget-dbb606e6.js} +17 -16
- package/{tab-pane-widget-e7c83114.js → tab-pane-widget-49c37d5c.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-12fa9f12.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-1dcb50c4.js} +5 -5
- package/table-col-widget-1ed14423.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5a1b4f92.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-e75630ba.js} +17 -17
- package/{table-widget-500902fd.js → table-widget-a839d5d5.js} +24 -23
- package/{tabs-widget-5e612fc0.js → tabs-widget-3dc76d5d.js} +9 -9
- package/tag-widget-b2eb79a2.js +37 -0
- package/{text-widget-0d93ae9a.js → text-widget-2b72d397.js} +18 -16
- package/{textarea-widget-d2464e70.js → textarea-widget-3a3db0f2.js} +17 -16
- package/{time-picker-range-widget-7d92f5f0.js → time-picker-range-widget-c0cfe97e.js} +17 -16
- package/{time-picker-widget-3e0cc2c5.js → time-picker-widget-c72def72.js} +17 -16
- package/{time-select-widget-b0b17501.js → time-select-widget-0ffcb167.js} +20 -19
- package/{tmpl-widget-b2402ddc.js → tmpl-widget-dd53b8b0.js} +29 -28
- package/{tree-select-widget-13f054e9.js → tree-select-widget-0d5b08bb.js} +17 -16
- package/{tree-widget-8bee698c.js → tree-widget-55f540c3.js} +26 -25
- package/{uuid-b302db3f.js → uuid-aedab58e.js} +1 -1
- package/vertical-progress-widget-fa6b14ff.js +52 -0
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js +273 -0
- package/{wrapper-widget-4d87e124.js → wrapper-widget-5a1496c5.js} +6 -6
- package/affix-widget-b6cdaf6f.js +0 -35
- package/avatar-widget-c56add2d.js +0 -35
- package/backtop-widget-65d711e3.js +0 -35
- package/content-wrapper-7ba06bbc.js +0 -14
- package/default-slot-widget-09d11567.js +0 -22
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-af9e9fc7.js +0 -59
- package/drag-wrapper-227f198f.js +0 -258
- package/empty-widget-ba5e0039.js +0 -61
- package/expression-63a787db.js +0 -2181
- package/feedback-widget-3140f73d.js +0 -23
- package/form-item-wrapper-849d8a21.js +0 -111
- package/form-widget-1dcffd59.js +0 -183
- package/label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js +0 -80
- package/multirow-3ade8c6e.js +0 -341
- package/multirow-widget copy-efbb1e00.js +0 -855
- package/progress-widget-f515a118.js +0 -49
- package/slot-c6523e8c.js +0 -17
- package/subMenu-widget-c1a614ad.js +0 -16
- package/table-col-widget-f177b82e.js +0 -20
- package/tag-widget-8b945443.js +0 -35
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js +0 -277
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8de0d422.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./widget-base-4c2d6265.js";
|
|
4
|
+
import "./drag-wrapper-d545a429.js";
|
|
5
|
+
import "./baseImp-75d44fdc.js";
|
|
6
|
+
import "./enum-type-ad1f81ba.js";
|
|
7
|
+
import "./uuid-aedab58e.js";
|
|
8
|
+
import "./enum-type-a02d0ddc.js";
|
|
9
|
+
import "./icon-e9532b43.js";
|
|
10
|
+
import "./expression-402fef4a.js";
|
|
11
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
+
import "./dialog-9097cd3a.js";
|
|
13
|
+
import "element-plus";
|
|
14
|
+
import "./index-ce2e6477.js";
|
|
15
|
+
import "./slot-252ff364.js";
|
|
16
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
18
|
+
import "./index-ed941348.js";
|
|
19
|
+
import "./fieldobj-d49dbdc5.js";
|
|
20
|
+
import "./share-field-cbdc0f7d.js";
|
|
21
|
+
import "./multirow-980395e2.js";
|
|
22
|
+
export {
|
|
23
|
+
o as default
|
|
24
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as b, ref as F, inject as I, openBlock as a, createBlock as n, mergeProps as p, unref as r, withCtx as C, createElementBlock as i, Fragment as m, renderList as V, resolveDynamicComponent as u, createCommentVNode as g, createVNode as f, isRef as P, toHandlers as R, createSlots as E, createTextVNode as H, toDisplayString as K } from "vue";
|
|
2
2
|
import { I as M } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as o } from "./drag-wrapper-
|
|
4
|
-
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { d as U, w as q } from "./
|
|
6
|
-
import { b as A } from "./share-field-
|
|
7
|
-
import { g as v } from "./slot-
|
|
3
|
+
import { D as o } from "./drag-wrapper-d545a429.js";
|
|
4
|
+
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
5
|
+
import { d as U, w as q } from "./expression-402fef4a.js";
|
|
6
|
+
import { b as A } from "./share-field-cbdc0f7d.js";
|
|
7
|
+
import { g as v } from "./slot-252ff364.js";
|
|
8
8
|
const G = b({ componentName: q.ContainerWidget }), ee = /* @__PURE__ */ b({
|
|
9
9
|
...G,
|
|
10
10
|
__name: "feedback-widget",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { b as O } from "./enum-type-ad1f81ba.js";
|
|
2
|
+
function j(t) {
|
|
3
|
+
return {
|
|
4
|
+
getAttrProp: (e) => {
|
|
5
|
+
var i, r, a, d, f, l;
|
|
6
|
+
var n = (a = (r = (i = t == null ? void 0 : t.propOptions) == null ? void 0 : i.fieldObj) == null ? void 0 : r.attrs) == null ? void 0 : a[e], u = (l = (f = (d = t == null ? void 0 : t.propOptions) == null ? void 0 : d.fieldObj) == null ? void 0 : f.extendAttrs) == null ? void 0 : l[e];
|
|
7
|
+
return O(n) ? u : n;
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
j as u
|
|
13
|
+
};
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { defineComponent as h, ref as U, resolveComponent as W, openBlock as r, createBlock as
|
|
2
|
-
import { a } from "./enum-type-
|
|
1
|
+
import { defineComponent as h, ref as U, resolveComponent as W, openBlock as r, createBlock as m, mergeProps as c, unref as e, withCtx as l, toHandlers as D, createElementBlock as _, toDisplayString as u, createCommentVNode as f, createVNode as s, createElementVNode as i, pushScopeId as P, popScopeId as $ } from "vue";
|
|
2
|
+
import { a } from "./enum-type-ad1f81ba.js";
|
|
3
3
|
import { I as j } from "./field-base-5547436d.js";
|
|
4
|
-
import { u as H } from "./share-file-
|
|
5
|
-
import { w as M } from "./
|
|
6
|
-
import { S as d } from "./index-
|
|
7
|
-
import A from "./form-item-wrapper-
|
|
4
|
+
import { u as H } from "./share-file-241e0fcc.js";
|
|
5
|
+
import { w as M } from "./expression-402fef4a.js";
|
|
6
|
+
import { S as d } from "./index-ed941348.js";
|
|
7
|
+
import A from "./form-item-wrapper-3770b8d2.js";
|
|
8
8
|
import { _ as K } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
10
|
import "./icon-e9532b43.js";
|
|
11
|
-
import "./share-field-
|
|
12
|
-
import "./multirow-
|
|
13
|
-
import "./baseImp-
|
|
14
|
-
import "./uuid-
|
|
15
|
-
import "./enum-type-
|
|
16
|
-
import "./dialog-
|
|
11
|
+
import "./share-field-cbdc0f7d.js";
|
|
12
|
+
import "./multirow-980395e2.js";
|
|
13
|
+
import "./baseImp-75d44fdc.js";
|
|
14
|
+
import "./uuid-aedab58e.js";
|
|
15
|
+
import "./enum-type-a02d0ddc.js";
|
|
16
|
+
import "./dialog-9097cd3a.js";
|
|
17
17
|
import "element-plus";
|
|
18
18
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
22
|
-
import "./
|
|
19
|
+
import "./index-ce2e6477.js";
|
|
20
|
+
import "./slot-252ff364.js";
|
|
21
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
22
|
+
import "./fieldobj-d49dbdc5.js";
|
|
23
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-099c2073.js";
|
|
23
24
|
const T = (t) => (P("data-v-8911b66d"), t = t(), $(), t), q = {
|
|
24
25
|
key: 0,
|
|
25
26
|
class: "el-upload__tip"
|
|
@@ -33,11 +34,11 @@ const T = (t) => (P("data-v-8911b66d"), t = t(), $(), t), q = {
|
|
|
33
34
|
});
|
|
34
35
|
return v({ ...F }), (N, Z) => {
|
|
35
36
|
const O = W("el-upload");
|
|
36
|
-
return r(),
|
|
37
|
+
return r(), m(A, c(N.$props, {
|
|
37
38
|
propOptions: { fieldObj: e(V), rules: e(I), isError: e(E), errorMsg: e(S) }
|
|
38
39
|
}), {
|
|
39
40
|
default: l(() => [
|
|
40
|
-
(r(),
|
|
41
|
+
(r(), m(O, c({
|
|
41
42
|
ref_key: "fieldEditor",
|
|
42
43
|
ref: y,
|
|
43
44
|
key: e(k)
|
|
@@ -89,7 +90,7 @@ const T = (t) => (P("data-v-8911b66d"), t = t(), $(), t), q = {
|
|
|
89
90
|
};
|
|
90
91
|
}
|
|
91
92
|
});
|
|
92
|
-
const
|
|
93
|
+
const Ie = /* @__PURE__ */ K(Y, [["__scopeId", "data-v-8911b66d"]]);
|
|
93
94
|
export {
|
|
94
|
-
|
|
95
|
+
Ie as default
|
|
95
96
|
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { defineComponent as N, computed as i, resolveComponent as q, openBlock as s, createBlock as u, normalizeProps as E, guardReactiveProps as F, withCtx as p, unref as e, normalizeClass as b, createSlots as H, renderSlot as v, createElementBlock as c, toDisplayString as $, createCommentVNode as h, createVNode as y, mergeProps as k, createElementVNode as g, normalizeStyle as O } from "vue";
|
|
2
|
+
import { I as W } from "./field-base-5547436d.js";
|
|
3
|
+
import { _ as x } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
4
|
+
import { _ as z } from "./label-wrapper.vue_vue_type_style_index_0_lang-099c2073.js";
|
|
5
|
+
import { u as B } from "./fieldobj-d49dbdc5.js";
|
|
6
|
+
import { _ as V } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
|
+
import "./widget-base-4c2d6265.js";
|
|
8
|
+
import "./uuid-aedab58e.js";
|
|
9
|
+
import "./enum-type-ad1f81ba.js";
|
|
10
|
+
import "./index-ce2e6477.js";
|
|
11
|
+
import "./enum-type-a02d0ddc.js";
|
|
12
|
+
import "./baseImp-75d44fdc.js";
|
|
13
|
+
import "./icon-e9532b43.js";
|
|
14
|
+
import "./expression-402fef4a.js";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./dialog-9097cd3a.js";
|
|
17
|
+
import "element-plus";
|
|
18
|
+
import "./index-ed941348.js";
|
|
19
|
+
const M = {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "el-form-item__error"
|
|
22
|
+
}, T = { class: "el-form-item__content" }, j = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "el-form-item__error"
|
|
25
|
+
}, D = /* @__PURE__ */ N({
|
|
26
|
+
__name: "form-item-wrapper",
|
|
27
|
+
props: {
|
|
28
|
+
...W
|
|
29
|
+
},
|
|
30
|
+
setup(I) {
|
|
31
|
+
const m = I, { getAttrProp: l } = B(m), S = i(() => l == null ? void 0 : l("fieldName")), n = i(() => l == null ? void 0 : l("label")), a = i(() => l == null ? void 0 : l("labelHidden")), w = i(() => l == null ? void 0 : l("labelTooltip")), _ = i(() => l == null ? void 0 : l("required")), t = i(() => {
|
|
32
|
+
var o;
|
|
33
|
+
return (o = m.propOptions) == null ? void 0 : o.isError;
|
|
34
|
+
}), d = i(() => {
|
|
35
|
+
var o;
|
|
36
|
+
return (o = m.propOptions) == null ? void 0 : o.errorMsg;
|
|
37
|
+
});
|
|
38
|
+
return (o, R) => {
|
|
39
|
+
const C = q("el-form-item");
|
|
40
|
+
return s(), u(x, E(F(o.$props)), {
|
|
41
|
+
default: p(({ data: r }) => {
|
|
42
|
+
var f;
|
|
43
|
+
return [
|
|
44
|
+
r.formItemFlag ? (s(), u(C, {
|
|
45
|
+
key: 0,
|
|
46
|
+
label: `${e(n) || ""}${r.labelSuffix || ""}`,
|
|
47
|
+
"label-width": r.labelWidth,
|
|
48
|
+
title: e(w),
|
|
49
|
+
rules: (f = m.propOptions) == null ? void 0 : f.rules,
|
|
50
|
+
prop: e(S),
|
|
51
|
+
size: r.size,
|
|
52
|
+
class: b(["inmessage", [e(_) ? "required" : "", e(t) ? "is-error" : "", e(a) ? "labelHidden" : ""]])
|
|
53
|
+
}, H({
|
|
54
|
+
default: p(() => [
|
|
55
|
+
v(o.$slots, "default", { data: r }, void 0, !0),
|
|
56
|
+
e(t) ? (s(), c("div", M, $(e(d)), 1)) : h("", !0)
|
|
57
|
+
]),
|
|
58
|
+
_: 2
|
|
59
|
+
}, [
|
|
60
|
+
e(n) ? {
|
|
61
|
+
name: "label",
|
|
62
|
+
fn: p(() => [
|
|
63
|
+
y(z, k(o.$props, {
|
|
64
|
+
label: `${e(n) || ""}${r.labelSuffix || ""}`,
|
|
65
|
+
labelAlign: r.labelAlign
|
|
66
|
+
}), null, 16, ["label", "labelAlign"])
|
|
67
|
+
]),
|
|
68
|
+
key: "0"
|
|
69
|
+
} : void 0
|
|
70
|
+
]), 1032, ["label", "label-width", "title", "rules", "prop", "size", "class"])) : (s(), c("div", {
|
|
71
|
+
key: 1,
|
|
72
|
+
class: b(["el-form-item asterisk-left inmessage", [e(_) ? "required" : "", e(t) ? "is-error" : "", e(a) ? "labelHidden" : ""]])
|
|
73
|
+
}, [
|
|
74
|
+
g("label", {
|
|
75
|
+
class: "el-form-item__label",
|
|
76
|
+
style: O({ width: e(a) ? "0px" : r.labelWidth })
|
|
77
|
+
}, [
|
|
78
|
+
y(z, k(o.$props, {
|
|
79
|
+
labelAlign: r.labelAlign
|
|
80
|
+
}), null, 16, ["labelAlign"])
|
|
81
|
+
], 4),
|
|
82
|
+
g("div", T, [
|
|
83
|
+
v(o.$slots, "default", { data: r }, void 0, !0),
|
|
84
|
+
e(t) ? (s(), c("div", j, $(e(d)), 1)) : h("", !0)
|
|
85
|
+
])
|
|
86
|
+
], 2))
|
|
87
|
+
];
|
|
88
|
+
}),
|
|
89
|
+
_: 3
|
|
90
|
+
}, 16);
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
const te = /* @__PURE__ */ V(D, [["__scopeId", "data-v-547c5347"]]);
|
|
95
|
+
export {
|
|
96
|
+
te as default
|
|
97
|
+
};
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { ref as K, onMounted as ae, nextTick as De, defineComponent as le, resolveComponent as we, resolveDirective as Ve, openBlock as Z, createBlock as ee, mergeProps as q, unref as m, withCtx as te, withDirectives as We, toHandlers as Le, createVNode as Oe } from "vue";
|
|
2
|
+
import { I as Me } from "./widget-base-4c2d6265.js";
|
|
3
|
+
import { D as Ne } from "./drag-wrapper-d545a429.js";
|
|
4
|
+
import { _ as je } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
5
|
+
import { c as Ee, w as U, e as z, b as S, f as F } from "./expression-402fef4a.js";
|
|
6
|
+
import { u as Pe } from "./icon-e9532b43.js";
|
|
7
|
+
import { u as xe, a as Se } from "./multirow-980395e2.js";
|
|
8
|
+
import { i as $e } from "./enum-type-ad1f81ba.js";
|
|
9
|
+
import { b as Ae, $ as Re, P as oe, B as ke } from "./baseImp-75d44fdc.js";
|
|
10
|
+
import { f as ye } from "./index-ce2e6477.js";
|
|
11
|
+
import { b as Ie, a as Be, u as He } from "./share-field-cbdc0f7d.js";
|
|
12
|
+
import { W as Te } from "./enum-type-a02d0ddc.js";
|
|
13
|
+
import { F as qe } from "./slot-252ff364.js";
|
|
14
|
+
import { _ as ze } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
+
function Ke(n) {
|
|
16
|
+
const C = n.designer, s = C == null ? void 0 : C.pageConfig, b = n == null ? void 0 : n.widgetList, $ = K({}), O = {}, { syncUpdateFormModel: A, fieldModel: M, fieldName: N, fieldEditor: f, attrs: j, events: p, getFieldOptions: D, exposed: R, fieldObj: k, watchOption: u, propResultOpt: v, extendAttrs: d } = Ie(n), { off$: _, on$: w, emit$: y, broadcast: V } = Se();
|
|
17
|
+
var { instance: W, proxy: I } = Pe();
|
|
18
|
+
const { setAllRefList: ie } = Be($.value), G = { designState: n == null ? void 0 : n.designState, pageConfig: s, globalConfig: v == null ? void 0 : v.globalConfig }, { formModel: B, setData: ne, getData: J, clearData: de } = xe(b, { ...G, formData: M.value }), { handleFunc: H } = He({ options: s }, G), E = K({}), se = () => {
|
|
19
|
+
_(F.fieldChange), w(F.fieldChange, (e) => {
|
|
20
|
+
A(e == null ? void 0 : e.newValue), fe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), I == null || I.$emit(z.formChange, N, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue, B);
|
|
21
|
+
});
|
|
22
|
+
}, re = () => {
|
|
23
|
+
_(F.fieldValidation), w(F.fieldValidation, (e) => {
|
|
24
|
+
var t;
|
|
25
|
+
(t = f.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
26
|
+
});
|
|
27
|
+
}, ce = () => {
|
|
28
|
+
_(F.fieldRuleChange), w(F.fieldRuleChange, (e) => {
|
|
29
|
+
var t;
|
|
30
|
+
E.value = Object.assign(E.value, { [e == null ? void 0 : e.fieldName]: (t = e == null ? void 0 : e.rules) == null ? void 0 : t.map((o) => ({ required: o.required, message: o.message, trigger: o.trigger, validator: o.validator })) }), j.value.rules = E.value;
|
|
31
|
+
});
|
|
32
|
+
}, fe = (e, t, o) => {
|
|
33
|
+
H(p.value.formDataChange, { fieldName: e, newValue: t, oldValue: o, formModel: B });
|
|
34
|
+
}, ue = () => {
|
|
35
|
+
H(p.value.formCreated);
|
|
36
|
+
}, me = () => {
|
|
37
|
+
H(p.value.formMounted);
|
|
38
|
+
}, pe = () => {
|
|
39
|
+
ce(), se(), re(), ue();
|
|
40
|
+
}, ve = (e) => {
|
|
41
|
+
var t;
|
|
42
|
+
(t = f.value) == null || t.clearValidate(e);
|
|
43
|
+
}, _e = () => {
|
|
44
|
+
ie(Te.resetField), De(() => {
|
|
45
|
+
ve();
|
|
46
|
+
});
|
|
47
|
+
}, ge = (e = !0, t = !1) => {
|
|
48
|
+
var x, g, L;
|
|
49
|
+
let o = J();
|
|
50
|
+
if (!e)
|
|
51
|
+
return o;
|
|
52
|
+
let c = function() {
|
|
53
|
+
}, P = new Promise(function(l, r) {
|
|
54
|
+
c = function(a, i) {
|
|
55
|
+
i ? r(i) : l(a);
|
|
56
|
+
};
|
|
57
|
+
});
|
|
58
|
+
return (x = f.value) != null && x.validate ? (L = (g = f.value) == null ? void 0 : g.validate) == null || L.call(g, (l, r) => {
|
|
59
|
+
if (l)
|
|
60
|
+
c(o);
|
|
61
|
+
else {
|
|
62
|
+
let h = [];
|
|
63
|
+
for (let he in r) {
|
|
64
|
+
var a = r[he];
|
|
65
|
+
a == null || a.forEach((T) => {
|
|
66
|
+
const Fe = ye(b.value, (be) => ke.getName(be) === T.field), { getFieldOptions: Ce } = Ae(Fe[0], n), Y = Ce("label");
|
|
67
|
+
T.message && h.push(Ee(Y ? "【" + Y + "】" : "", T.message, ":"));
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
var i = h.join(";");
|
|
71
|
+
t ? Re.multiple(h, () => {
|
|
72
|
+
c(o);
|
|
73
|
+
}) : c(o, i);
|
|
74
|
+
}
|
|
75
|
+
}) : c(o), P;
|
|
76
|
+
}, Q = (e) => {
|
|
77
|
+
ne(e), V(U.ContainerWidget, z.setFormData, e, W), V(U.FieldWidget, z.setFormData, e, W);
|
|
78
|
+
}, X = (e) => new Promise((t, o) => {
|
|
79
|
+
const c = (l) => {
|
|
80
|
+
var a, i, h;
|
|
81
|
+
const r = (a = d.value) != null && a.formDataLoaded ? (h = (i = d.value) == null ? void 0 : i.formDataLoaded) == null ? void 0 : h.call(i, J(), l) : l;
|
|
82
|
+
r ? (Q(r), t(r)) : o();
|
|
83
|
+
}, P = () => {
|
|
84
|
+
u(e, S.newDataSource, void 0, (l) => {
|
|
85
|
+
c(l);
|
|
86
|
+
});
|
|
87
|
+
}, x = () => {
|
|
88
|
+
u(e, S.editDataSource, void 0, (l) => {
|
|
89
|
+
var a, i;
|
|
90
|
+
((i = (a = d.value) == null ? void 0 : a.needFormAdd) == null ? void 0 : i.call(a, l)) ? L && P() : c(l);
|
|
91
|
+
});
|
|
92
|
+
}, g = oe.getValue(D(S.editDataSource, !0)) !== null, L = oe.getValue(D(S.newDataSource, !0)) !== null;
|
|
93
|
+
g ? x() : L && P();
|
|
94
|
+
});
|
|
95
|
+
return pe(), ae(() => {
|
|
96
|
+
$e(), me();
|
|
97
|
+
}), {
|
|
98
|
+
widgetRefList: $,
|
|
99
|
+
allWidgetRefList: O,
|
|
100
|
+
fieldEditor: f,
|
|
101
|
+
formModel: B,
|
|
102
|
+
pageConfig: s,
|
|
103
|
+
widgetList: b,
|
|
104
|
+
fieldModel: M,
|
|
105
|
+
fieldName: N,
|
|
106
|
+
attrs: j,
|
|
107
|
+
extendAttrs: d,
|
|
108
|
+
events: p,
|
|
109
|
+
rules: E,
|
|
110
|
+
loadData: X,
|
|
111
|
+
exposed: {
|
|
112
|
+
...R,
|
|
113
|
+
setValue: Q,
|
|
114
|
+
getValue: ge,
|
|
115
|
+
clearData: de,
|
|
116
|
+
resetField: _e,
|
|
117
|
+
loadData: X,
|
|
118
|
+
emit$: y
|
|
119
|
+
},
|
|
120
|
+
fieldObj: k
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
const Ue = le({ componentName: U.ContainerWidget }), Ge = /* @__PURE__ */ le({
|
|
124
|
+
...Ue,
|
|
125
|
+
__name: "form-widget",
|
|
126
|
+
props: { ...Me },
|
|
127
|
+
setup(n, { expose: C }) {
|
|
128
|
+
var v;
|
|
129
|
+
const s = n, { exposed: b, fieldModel: $, formModel: O, fieldEditor: A, attrs: M, events: N, widgetRefList: f, extendAttrs: j, fieldName: p, fieldObj: D, loadData: R } = Ke({ ...s, widgetList: (v = s == null ? void 0 : s.widget) == null ? void 0 : v.widgetList }), k = p.value;
|
|
130
|
+
qe.globalProvide({
|
|
131
|
+
globalFormName: k
|
|
132
|
+
});
|
|
133
|
+
const u = K(!1);
|
|
134
|
+
return ae(() => {
|
|
135
|
+
var d;
|
|
136
|
+
(d = j.value) != null && d.loadDataWhenInit && !s.designState && (u.value = !0, R(!0).then((_) => {
|
|
137
|
+
u.value = !1;
|
|
138
|
+
}).catch((_) => {
|
|
139
|
+
u.value = !1;
|
|
140
|
+
}));
|
|
141
|
+
}), C({ ...b }), (d, _) => {
|
|
142
|
+
const w = we("el-form"), y = Ve("loading");
|
|
143
|
+
return Z(), ee(je, q(d.$props, {
|
|
144
|
+
"prop-options": { fieldObj: m(D) }
|
|
145
|
+
}), {
|
|
146
|
+
default: te(({ data: V }) => {
|
|
147
|
+
var W;
|
|
148
|
+
return [
|
|
149
|
+
We((Z(), ee(w, q({
|
|
150
|
+
ref_key: "fieldEditor",
|
|
151
|
+
ref: A,
|
|
152
|
+
model: m(O)
|
|
153
|
+
}, m(M), Le(m(N)), {
|
|
154
|
+
class: V.injectClass,
|
|
155
|
+
key: (W = m(D)) == null ? void 0 : W.fieldKey
|
|
156
|
+
}), {
|
|
157
|
+
default: te(() => [
|
|
158
|
+
Oe(Ne, q(d.$props, {
|
|
159
|
+
dragClass: "formDrag",
|
|
160
|
+
model: m(O),
|
|
161
|
+
provideModel: !0,
|
|
162
|
+
"component-class": V.componentWrapperClass,
|
|
163
|
+
refList: m(f)
|
|
164
|
+
}), null, 16, ["model", "component-class", "refList"])
|
|
165
|
+
]),
|
|
166
|
+
_: 2
|
|
167
|
+
}, 1040, ["model", "class"])), [
|
|
168
|
+
[y, u.value]
|
|
169
|
+
])
|
|
170
|
+
];
|
|
171
|
+
}),
|
|
172
|
+
_: 1
|
|
173
|
+
}, 16, ["prop-options"]);
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
const Je = /* @__PURE__ */ ze(Ge, [["__scopeId", "data-v-d22a0b71"]]), ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
178
|
+
__proto__: null,
|
|
179
|
+
default: Je
|
|
180
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
181
|
+
export {
|
|
182
|
+
ct as _
|
|
183
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-8a45aa77.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as m, computed as l, reactive as w, openBlock as y, createBlock as C, mergeProps as c, unref as t, withCtx as O, createVNode as W } from "vue";
|
|
2
|
-
import { w as b } from "./
|
|
2
|
+
import { w as b } from "./expression-402fef4a.js";
|
|
3
3
|
import { I as k } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as x } from "./drag-wrapper-
|
|
5
|
-
import { _ as A } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { b as j } from "./share-field-
|
|
7
|
-
import { c as H } from "./
|
|
4
|
+
import { D as x } from "./drag-wrapper-d545a429.js";
|
|
5
|
+
import { _ as A } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
6
|
+
import { b as j } from "./share-field-cbdc0f7d.js";
|
|
7
|
+
import { c as H } from "./slot-252ff364.js";
|
|
8
8
|
const $ = m({ componentName: b.ContainerWidget }), S = /* @__PURE__ */ m({
|
|
9
9
|
...$,
|
|
10
10
|
__name: "grid-col-widget",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as o, createBlock as s, mergeProps as u, unref as t, withCtx as w, createElementBlock as b, Fragment as h, renderList as C } from "vue";
|
|
2
|
-
import { w as k, b as y } from "./
|
|
2
|
+
import { w as k, b as y } from "./expression-402fef4a.js";
|
|
3
3
|
import { I as O } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { _ as S } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
5
|
-
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { b as P } from "./share-field-
|
|
7
|
-
import { c as W } from "./
|
|
4
|
+
import { _ as S } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-8a45aa77.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
6
|
+
import { b as P } from "./share-field-cbdc0f7d.js";
|
|
7
|
+
import { c as W } from "./slot-252ff364.js";
|
|
8
8
|
const v = p({ componentName: k.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
9
|
...v,
|
|
10
10
|
__name: "grid-widget",
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { defineComponent as i, openBlock as _, createBlock as u, mergeProps as x, unref as o, withCtx as g, createVNode as w } from "vue";
|
|
2
2
|
import { I as C } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as P } from "./share-field-
|
|
4
|
-
import { w as b } from "./
|
|
5
|
-
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { G as F } from "./enum-type-
|
|
3
|
+
import { b as P } from "./share-field-cbdc0f7d.js";
|
|
4
|
+
import { w as b } from "./expression-402fef4a.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
6
|
+
import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-64b272e8.js";
|
|
7
|
+
import { G as F } from "./enum-type-ad1f81ba.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
11
|
-
import "./uuid-
|
|
12
|
-
import "./enum-type-
|
|
9
|
+
import "./multirow-980395e2.js";
|
|
10
|
+
import "./baseImp-75d44fdc.js";
|
|
11
|
+
import "./uuid-aedab58e.js";
|
|
12
|
+
import "./enum-type-a02d0ddc.js";
|
|
13
13
|
import "./icon-e9532b43.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-9097cd3a.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
19
|
-
import "./index-
|
|
17
|
+
import "./index-ce2e6477.js";
|
|
18
|
+
import "./slot-252ff364.js";
|
|
19
|
+
import "./index-ed941348.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
|
|
21
|
+
import "./fieldobj-d49dbdc5.js";
|
|
22
|
+
const $ = i({ componentName: b.FieldWidget }), S = /* @__PURE__ */ i({
|
|
22
23
|
...$,
|
|
23
24
|
__name: "html-text-widget",
|
|
24
25
|
props: { ...C },
|
|
@@ -43,5 +44,5 @@ const $ = i({ componentName: b.FieldWidget }), R = /* @__PURE__ */ i({
|
|
|
43
44
|
}
|
|
44
45
|
});
|
|
45
46
|
export {
|
|
46
|
-
|
|
47
|
+
S as default
|
|
47
48
|
};
|
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
import { defineComponent as h, computed as E, ref as L, onMounted as Q, resolveDirective as B, openBlock as
|
|
2
|
-
import { w as
|
|
3
|
-
import { b as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { I as
|
|
6
|
-
import {
|
|
1
|
+
import { defineComponent as h, computed as E, ref as L, onMounted as Q, resolveDirective as B, openBlock as d, createBlock as F, mergeProps as u, unref as r, withCtx as I, withDirectives as c, createElementBlock as f, createCommentVNode as N, toHandlers as P, vShow as D } from "vue";
|
|
2
|
+
import { w as K } from "./expression-402fef4a.js";
|
|
3
|
+
import { b as O } from "./share-field-cbdc0f7d.js";
|
|
4
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
5
|
+
import { I as U } from "./field-base-5547436d.js";
|
|
6
|
+
import { K as _ } from "./baseImp-75d44fdc.js";
|
|
7
|
+
import "./enum-type-ad1f81ba.js";
|
|
8
|
+
import "./uuid-aedab58e.js";
|
|
7
9
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./enum-type-92806e9d.js";
|
|
13
|
-
import "./slot-c6523e8c.js";
|
|
10
|
+
import "./multirow-980395e2.js";
|
|
11
|
+
import "./index-ce2e6477.js";
|
|
12
|
+
import "./enum-type-a02d0ddc.js";
|
|
13
|
+
import "./slot-252ff364.js";
|
|
14
14
|
import "./icon-e9532b43.js";
|
|
15
15
|
import "./widget-base-4c2d6265.js";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-ed941348.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./
|
|
18
|
+
import "./fieldobj-d49dbdc5.js";
|
|
19
|
+
import "./dialog-9097cd3a.js";
|
|
19
20
|
import "element-plus";
|
|
20
|
-
const
|
|
21
|
+
const V = {
|
|
21
22
|
key: 0,
|
|
22
23
|
class: "full-width full-height nopadding nomargin"
|
|
23
|
-
},
|
|
24
|
-
...
|
|
24
|
+
}, $ = ["src", "id"], q = h({ componentName: K.FieldWidget }), ae = /* @__PURE__ */ h({
|
|
25
|
+
...q,
|
|
25
26
|
__name: "iframe-widget",
|
|
26
|
-
props: { ...
|
|
27
|
+
props: { ...U },
|
|
27
28
|
setup(g, { expose: v }) {
|
|
28
|
-
const w = g, { exposed: y, fieldEditor: p, events: n, attrs: a, extendAttrs:
|
|
29
|
+
const w = g, { exposed: y, fieldEditor: p, events: n, attrs: a, extendAttrs: m, fieldObj: k, fieldKey: b, fieldName: j } = O(w), C = E(() => {
|
|
29
30
|
var t, l;
|
|
30
|
-
const e = ((t =
|
|
31
|
+
const e = ((t = m == null ? void 0 : m.value) == null ? void 0 : t.withQuery) ? _.getLocationQueryParams() : {};
|
|
31
32
|
return _.buildUrl((l = a == null ? void 0 : a.value) == null ? void 0 : l.src, e);
|
|
32
33
|
}), s = L(!0);
|
|
33
34
|
return Q(() => {
|
|
@@ -41,15 +42,15 @@ const $ = {
|
|
|
41
42
|
}), (o, e) => {
|
|
42
43
|
var t;
|
|
43
44
|
const i = B("loading");
|
|
44
|
-
return
|
|
45
|
+
return d(), F(S, u(o.$props, {
|
|
45
46
|
"prop-options": { fieldObj: r(k) },
|
|
46
47
|
key: (t = o.widget) == null ? void 0 : t.id
|
|
47
48
|
}), {
|
|
48
49
|
default: I(({ data: l }) => [
|
|
49
|
-
s.value ? c((
|
|
50
|
+
s.value ? c((d(), f("div", V, null, 512)), [
|
|
50
51
|
[i, s.value]
|
|
51
52
|
]) : N("", !0),
|
|
52
|
-
c((
|
|
53
|
+
c((d(), f("iframe", u({
|
|
53
54
|
ref_key: "fieldEditor",
|
|
54
55
|
ref: p,
|
|
55
56
|
key: r(b)
|
|
@@ -60,7 +61,7 @@ const $ = {
|
|
|
60
61
|
style: l.injectStyle,
|
|
61
62
|
id: r(j)
|
|
62
63
|
}), `\r
|
|
63
|
-
`, 16,
|
|
64
|
+
`, 16, $)), [
|
|
64
65
|
[D, !s.value]
|
|
65
66
|
])
|
|
66
67
|
]),
|
|
@@ -70,5 +71,5 @@ const $ = {
|
|
|
70
71
|
}
|
|
71
72
|
});
|
|
72
73
|
export {
|
|
73
|
-
|
|
74
|
+
ae as default
|
|
74
75
|
};
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { defineComponent as c, computed as j, resolveComponent as k, openBlock as
|
|
2
|
-
import { w as E } from "./
|
|
1
|
+
import { defineComponent as c, computed as j, resolveComponent as k, openBlock as m, createBlock as s, mergeProps as l, unref as e, withCtx as d, toHandlers as b, createSlots as F, renderList as O, resolveDynamicComponent as B } from "vue";
|
|
2
|
+
import { w as E } from "./expression-402fef4a.js";
|
|
3
3
|
import { I as L } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as P } from "./share-field-
|
|
6
|
-
import { g as $ } from "./slot-
|
|
4
|
+
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
5
|
+
import { b as P } from "./share-field-cbdc0f7d.js";
|
|
6
|
+
import { g as $ } from "./slot-252ff364.js";
|
|
7
|
+
import "./enum-type-ad1f81ba.js";
|
|
8
|
+
import "./uuid-aedab58e.js";
|
|
7
9
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
8
|
-
import "./enum-type-be3a0b8b.js";
|
|
9
|
-
import "./uuid-b302db3f.js";
|
|
10
10
|
import "./widget-base-4c2d6265.js";
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./baseImp-
|
|
11
|
+
import "./index-ce2e6477.js";
|
|
12
|
+
import "./enum-type-a02d0ddc.js";
|
|
13
|
+
import "./baseImp-75d44fdc.js";
|
|
14
14
|
import "./icon-e9532b43.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-9097cd3a.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
17
|
+
import "./index-ed941348.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./
|
|
20
|
-
|
|
19
|
+
import "./fieldobj-d49dbdc5.js";
|
|
20
|
+
import "./multirow-980395e2.js";
|
|
21
|
+
const A = c({ componentName: E.FieldWidget }), ie = /* @__PURE__ */ c({
|
|
21
22
|
...A,
|
|
22
23
|
__name: "image-widget",
|
|
23
24
|
props: { ...L },
|
|
@@ -29,11 +30,11 @@ const A = c({ componentName: E.FieldWidget }), re = /* @__PURE__ */ c({
|
|
|
29
30
|
});
|
|
30
31
|
return u({ ..._ }), (t, o) => {
|
|
31
32
|
const p = k("el-image");
|
|
32
|
-
return
|
|
33
|
+
return m(), s(N, l(t.$props, {
|
|
33
34
|
"prop-options": { fieldObj: e(I) }
|
|
34
35
|
}), {
|
|
35
36
|
default: d(({ data: a }) => [
|
|
36
|
-
(
|
|
37
|
+
(m(), s(p, l({
|
|
37
38
|
ref_key: "fieldEditor",
|
|
38
39
|
ref: v,
|
|
39
40
|
key: e(w)
|
|
@@ -46,7 +47,7 @@ const A = c({ componentName: E.FieldWidget }), re = /* @__PURE__ */ c({
|
|
|
46
47
|
O(e($)(e(x), t.designState), (r) => ({
|
|
47
48
|
name: r == null ? void 0 : r.slotName,
|
|
48
49
|
fn: d(() => [
|
|
49
|
-
(
|
|
50
|
+
(m(), s(B(r.default)))
|
|
50
51
|
])
|
|
51
52
|
}))
|
|
52
53
|
]), 1040, ["class", "style", "preview-src-list", "initialIndex"]))
|
|
@@ -57,5 +58,5 @@ const A = c({ componentName: E.FieldWidget }), re = /* @__PURE__ */ c({
|
|
|
57
58
|
}
|
|
58
59
|
});
|
|
59
60
|
export {
|
|
60
|
-
|
|
61
|
+
ie as default
|
|
61
62
|
};
|