hlrender 0.0.5 → 0.0.7
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-21229208.js → affix-widget-e6411005.js} +16 -16
- package/{alert-widget-1cb6bb3e.js → alert-widget-fac74816.js} +16 -16
- package/{anchor-widget-467e8ee4.js → anchor-widget-e1efedc7.js} +13 -13
- package/auto-complete-widget-50d7b90a.js +72 -0
- package/{avatar-widget-dfd9713b.js → avatar-widget-9d1dad74.js} +16 -16
- package/{backtop-widget-697513d6.js → backtop-widget-593a5d52.js} +16 -16
- package/{badge-widget-64250b41.js → badge-widget-b8eae1cb.js} +16 -16
- package/{baseImp-a5afc9d4.js → baseImp-0b23cff3.js} +3152 -3004
- package/{breadcrumb-widget-1fda3fd7.js → breadcrumb-widget-31c6c86c.js} +13 -13
- package/{button-widget-a4a41575.js → button-widget-fa8740d4.js} +16 -16
- package/{cache-widget-95b15a75.js → cache-widget-91d4e590.js} +15 -15
- package/{card-widget-42898045.js → card-widget-2a70c661.js} +24 -24
- package/{carousel-widget-7d5a3260.js → carousel-widget-c1e75285.js} +17 -17
- package/cascader-widget-ed199446.js +95 -0
- package/{chart-widget-c068d9b8.js → chart-widget-967b2a44.js} +13 -13
- package/checkbox-widget-26d66a8c.js +77 -0
- package/{collapse-widget-5a1ae269.js → collapse-widget-d4335fae.js} +17 -17
- package/color-picker-widget-8f9952e5.js +54 -0
- package/{cont-cell-widget-8c8647b3.js → cont-cell-widget-a6fa19c4.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-ecff677b.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-01188dc6.js} +5 -5
- package/{cont-widget-beff1973.js → cont-widget-530e9875.js} +4 -4
- package/content-wrapper-712d6457.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-a330c325.js → content-wrapper.vue_vue_type_script_setup_true_lang-197c5f16.js} +8 -8
- package/date-picker-range-widget-e2c7d58f.js +70 -0
- package/date-picker-widget-08a87c05.js +76 -0
- package/default-slot-widget-1d91a853.js +24 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e3542f4e.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-38161200.js} +7 -7
- package/{descriptions-widget-5d24783a.js → descriptions-widget-0d8bdbfc.js} +14 -14
- package/{dialog-50ad7970.js → dialog-6a3f6732.js} +2 -2
- package/{dialog-widget-186e74c4.js → dialog-widget-9408347a.js} +15 -15
- package/{divider-widget-4c4c4086.js → divider-widget-5e68b3a1.js} +16 -16
- package/{drag-wrapper-f721ce98.js → drag-wrapper-c6eaec37.js} +16 -16
- package/{drawer-widget-8cbaa9bd.js → drawer-widget-47aa92e8.js} +15 -15
- package/{dropdown-widget-bf769c6d.js → dropdown-widget-8e9ed75b.js} +14 -14
- package/{empty-widget-19b5b9a5.js → empty-widget-a0730724.js} +16 -16
- package/{enum-type-7d30197c.js → enum-type-535dad7d.js} +38 -38
- package/{enum-type-4f7f8848.js → enum-type-58fa8fed.js} +95 -78
- package/{expression-75bf8097.js → expression-121c11fa.js} +964 -957
- package/feedback-widget-9e00e603.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-78836184.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e39bb04c.js} +5 -5
- package/{fieldobj-b3bb7e94.js → fieldobj-c5438b43.js} +1 -1
- package/file-upload-widget-7378c627.js +96 -0
- package/form-item-wrapper-d1b5e440.js +86 -0
- package/form-widget-b33a2566.js +213 -0
- package/{grid-col-widget-02d86dc9.js → grid-col-widget-d3357c9d.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-2d6457c7.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-8560fb8f.js} +5 -5
- package/{grid-widget-383ec17e.js → grid-widget-48b72160.js} +5 -5
- package/{html-text-widget-2e4c3a53.js → html-text-widget-237d1b33.js} +17 -17
- package/{iframe-widget-3ac8dc6b.js → iframe-widget-273318e5.js} +22 -22
- package/{image-widget-0c93b01d.js → image-widget-d424d825.js} +13 -13
- package/{index-d63b7e5f.js → index-1388e53c.js} +196 -198
- package/{index-72739fed.js → index-87cd501e.js} +4 -4
- package/{index-93c9bbb8.js → index-ff1f52fe.js} +1 -1
- package/input-number-widget-e0645e80.js +64 -0
- package/input-widget-c6dadb63.js +69 -0
- package/{label-wrapper-11b0324f.js → label-wrapper-33d56c8e.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js → label-wrapper.vue_vue_type_style_index_0_lang-63f6d717.js} +3 -3
- package/{link-widget-ac2edb75.js → link-widget-4b2c0d3f.js} +16 -16
- package/{ltable-col-widget-2755e978.js → ltable-col-widget-50dbd3ab.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-94b30f47.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-416d4b79.js} +10 -10
- package/{ltable-widget-f373cddd.js → ltable-widget-64a03c7f.js} +5 -5
- package/{menu-widget-24261d4f.js → menu-widget-8a0f5b99.js} +14 -14
- package/{model-widget-f41811fc.js → model-widget-202ab068.js} +13 -13
- package/multirow-8598e0c9.js +224 -0
- package/{multirow-widget-d9cfe4de.js → multirow-widget-5a66f169.js} +34 -34
- package/package.json +1 -1
- package/{pagination-widget-e6187e94.js → pagination-widget-2eccbda8.js} +13 -13
- package/picture-upload-widget-b82bcba4.js +100 -0
- package/{progress-widget-1d22f227.js → progress-widget-3ca73ff9.js} +14 -14
- package/{propresult-5bc45f96.js → propresult-8fe88cb3.js} +1 -1
- package/radio-widget-3151002b.js +77 -0
- package/{range-widget-4dba2d13.js → range-widget-bc7a5fce.js} +16 -16
- package/rate-widget-9f6f290b.js +54 -0
- package/render.es.js +30 -30
- package/render.style.css +1 -1
- package/render.umd.js +413 -413
- package/{result-widget-412cbb44.js → result-widget-a4145b6b.js} +14 -14
- package/rich-editor-widget-fc1b0f9a.js +75 -0
- package/{router-widget-b0061479.js → router-widget-7ea252d3.js} +13 -13
- package/{select-widget-de2520cb.js → select-widget-2dd170d7.js} +97 -97
- package/{sfc-0aebdf49.js → sfc-626b1745.js} +84 -84
- package/share-field-8904a74c.js +693 -0
- package/{share-file-fdedeed7.js → share-file-0bf967c8.js} +42 -42
- package/slider-widget-fc3cbebc.js +60 -0
- package/{slot-53d3c887.js → slot-fd9f6a46.js} +6 -6
- package/{static-text-widget-834af7a4.js → static-text-widget-dc9aa365.js} +14 -14
- package/{steps-widget-546c6031.js → steps-widget-9c1ff1b9.js} +13 -13
- package/subMenu-widget-80732eca.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-36500905.js → subMenu-widget.vue_vue_type_script_setup_true_lang-05178a62.js} +7 -7
- package/switch-widget-40efd02c.js +54 -0
- package/{tab-pane-widget-336a1b55.js → tab-pane-widget-3d8d27db.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-172a1039.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-da3a38b4.js} +5 -5
- package/table-col-widget-99ed9a77.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a7e01679.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-de44bddf.js} +17 -17
- package/{table-widget-92661b99.js → table-widget-4e31179a.js} +22 -22
- package/{tabs-widget-9d0e6fb1.js → tabs-widget-904c57ad.js} +9 -9
- package/{tag-widget-2a6300c5.js → tag-widget-d8be4427.js} +16 -16
- package/{text-widget-3c68b327.js → text-widget-18ec3593.js} +16 -16
- package/textarea-widget-9614fa8c.js +54 -0
- package/time-picker-range-widget-04cf7efd.js +56 -0
- package/time-picker-widget-2f8627a4.js +55 -0
- package/time-select-widget-be7a9f31.js +55 -0
- package/{tmpl-widget-085a4b38.js → tmpl-widget-dd8d49e3.js} +14 -14
- package/tree-select-widget-7e6debdc.js +139 -0
- package/{tree-widget-c9f3d308.js → tree-widget-5b5d1bb9.js} +13 -13
- package/{uuid-13f918d6.js → uuid-35d50fb6.js} +12 -12
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5c072980.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3378a160.js} +25 -25
- package/{wrapper-widget-004436b3.js → wrapper-widget-adf9d472.js} +6 -6
- package/auto-complete-widget-a34a7978.js +0 -72
- package/cascader-widget-9d5a5c5d.js +0 -95
- package/checkbox-widget-fea3777f.js +0 -77
- package/color-picker-widget-5a128992.js +0 -54
- package/content-wrapper-d16e1925.js +0 -14
- package/date-picker-range-widget-aa390ac5.js +0 -70
- package/date-picker-widget-7b5e849e.js +0 -76
- package/default-slot-widget-a71ea3ec.js +0 -24
- package/feedback-widget-14e6fe79.js +0 -24
- package/file-upload-widget-0ef9af80.js +0 -96
- package/form-item-wrapper-2794e39b.js +0 -97
- package/form-widget-9fd60fcd.js +0 -191
- package/input-number-widget-0db4f563.js +0 -64
- package/input-widget-0b2d6bc5.js +0 -69
- package/multirow-157d0dca.js +0 -230
- package/picture-upload-widget-1ae3d40c.js +0 -100
- package/radio-widget-d23f912d.js +0 -77
- package/rate-widget-27336bb7.js +0 -54
- package/rich-editor-widget-438a2b82.js +0 -75
- package/share-field-7ba5ba17.js +0 -693
- package/slider-widget-d598ba55.js +0 -60
- package/subMenu-widget-19378708.js +0 -16
- package/switch-widget-dd9c74a9.js +0 -54
- package/table-col-widget-51085971.js +0 -20
- package/textarea-widget-732756de.js +0 -54
- package/time-picker-range-widget-d56922c1.js +0 -56
- package/time-picker-widget-4f4f130a.js +0 -55
- package/time-select-widget-9f72137e.js +0 -55
- package/tree-select-widget-fbfbcf97.js +0 -92
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e39bb04c.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./widget-base-4c2d6265.js";
|
|
4
|
+
import "./drag-wrapper-c6eaec37.js";
|
|
5
|
+
import "./baseImp-0b23cff3.js";
|
|
6
|
+
import "./enum-type-58fa8fed.js";
|
|
7
|
+
import "./uuid-35d50fb6.js";
|
|
8
|
+
import "./enum-type-535dad7d.js";
|
|
9
|
+
import "./icon-e9532b43.js";
|
|
10
|
+
import "./expression-121c11fa.js";
|
|
11
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
+
import "./dialog-6a3f6732.js";
|
|
13
|
+
import "element-plus";
|
|
14
|
+
import "./index-1388e53c.js";
|
|
15
|
+
import "./slot-fd9f6a46.js";
|
|
16
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3378a160.js";
|
|
18
|
+
import "./index-ff1f52fe.js";
|
|
19
|
+
import "./fieldobj-c5438b43.js";
|
|
20
|
+
import "./share-field-8904a74c.js";
|
|
21
|
+
import "./multirow-8598e0c9.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 "./expression-
|
|
6
|
-
import { b as A } from "./share-field-
|
|
7
|
-
import { g as v } from "./slot-
|
|
3
|
+
import { D as o } from "./drag-wrapper-c6eaec37.js";
|
|
4
|
+
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3378a160.js";
|
|
5
|
+
import { d as U, w as q } from "./expression-121c11fa.js";
|
|
6
|
+
import { b as A } from "./share-field-8904a74c.js";
|
|
7
|
+
import { g as v } from "./slot-fd9f6a46.js";
|
|
8
8
|
const G = b({ componentName: q.ContainerWidget }), ee = /* @__PURE__ */ b({
|
|
9
9
|
...G,
|
|
10
10
|
__name: "feedback-widget",
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { defineComponent as h, ref as N, resolveComponent as O, openBlock as l, createBlock as m, mergeProps as c, unref as e, withCtx as a, toHandlers as U, createElementBlock as _, toDisplayString as u, createCommentVNode as f, createVNode as r, createElementVNode as i, pushScopeId as W, popScopeId as D } from "vue";
|
|
2
|
+
import { a as s } from "./enum-type-58fa8fed.js";
|
|
3
|
+
import { I as P } from "./field-base-5547436d.js";
|
|
4
|
+
import { u as $ } from "./share-file-0bf967c8.js";
|
|
5
|
+
import { w as j } from "./expression-121c11fa.js";
|
|
6
|
+
import { S as d } from "./index-ff1f52fe.js";
|
|
7
|
+
import H from "./form-item-wrapper-d1b5e440.js";
|
|
8
|
+
import { _ as A } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
+
import "./widget-base-4c2d6265.js";
|
|
10
|
+
import "./icon-e9532b43.js";
|
|
11
|
+
import "./share-field-8904a74c.js";
|
|
12
|
+
import "./multirow-8598e0c9.js";
|
|
13
|
+
import "./baseImp-0b23cff3.js";
|
|
14
|
+
import "./uuid-35d50fb6.js";
|
|
15
|
+
import "./enum-type-535dad7d.js";
|
|
16
|
+
import "./dialog-6a3f6732.js";
|
|
17
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
+
import "element-plus";
|
|
19
|
+
import "./index-1388e53c.js";
|
|
20
|
+
import "./slot-fd9f6a46.js";
|
|
21
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3378a160.js";
|
|
22
|
+
import "./fieldobj-c5438b43.js";
|
|
23
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-63f6d717.js";
|
|
24
|
+
const K = (o) => (W("data-v-3583ad57"), o = o(), D(), o), T = {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: "el-upload__tip"
|
|
27
|
+
}, q = /* @__PURE__ */ K(() => /* @__PURE__ */ i("i", { class: "el-icon-plus" }, null, -1)), z = { class: "upload-file-list" }, G = ["title"], J = ["href"], L = ["title"], M = ["title", "onClick"], Q = h({ componentName: j.FieldWidget }), R = /* @__PURE__ */ h({
|
|
28
|
+
...Q,
|
|
29
|
+
__name: "file-upload-widget",
|
|
30
|
+
props: { ...P },
|
|
31
|
+
setup(o, { expose: v }) {
|
|
32
|
+
const y = o, { fieldEditor: g, fieldKey: k, uploadData: w, uploadBtnHidden: F, uploadTip: p, exposed: I, rules: C, attrs: n, events: S, removeUploadFile: b, fieldObj: x } = $(y), V = N({
|
|
33
|
+
"--select-file-action": `'${s.i18nt("render.hint.selectFile")}'`
|
|
34
|
+
});
|
|
35
|
+
return v({ ...I }), (B, X) => {
|
|
36
|
+
const E = O("el-upload");
|
|
37
|
+
return l(), m(H, c(B.$props, {
|
|
38
|
+
propOptions: { fieldObj: e(x), rules: e(C) }
|
|
39
|
+
}), {
|
|
40
|
+
default: a(() => [
|
|
41
|
+
(l(), m(E, c({
|
|
42
|
+
ref_key: "fieldEditor",
|
|
43
|
+
ref: g,
|
|
44
|
+
key: e(k)
|
|
45
|
+
}, e(n), U(e(S)), {
|
|
46
|
+
data: e(w),
|
|
47
|
+
style: V.value,
|
|
48
|
+
class: [{ hideUploadDiv: e(F) }, "dynamicPseudoAfter"]
|
|
49
|
+
}), {
|
|
50
|
+
tip: a(() => [
|
|
51
|
+
e(p) ? (l(), _("div", T, u(e(p)), 1)) : f("", !0)
|
|
52
|
+
]),
|
|
53
|
+
default: a(() => [
|
|
54
|
+
r(d, { name: "@el-plus" }),
|
|
55
|
+
q
|
|
56
|
+
]),
|
|
57
|
+
file: a(({ file: t }) => [
|
|
58
|
+
i("div", z, [
|
|
59
|
+
i("span", {
|
|
60
|
+
class: "upload-file-name",
|
|
61
|
+
title: t.name
|
|
62
|
+
}, u(t.name), 9, G),
|
|
63
|
+
i("a", {
|
|
64
|
+
href: t.url,
|
|
65
|
+
download: "",
|
|
66
|
+
target: "_blank"
|
|
67
|
+
}, [
|
|
68
|
+
i("span", {
|
|
69
|
+
class: "el-icon-download file-action",
|
|
70
|
+
title: e(s).i18nt("render.hint.downloadFile")
|
|
71
|
+
}, [
|
|
72
|
+
r(d, { name: "@el-download" })
|
|
73
|
+
], 8, L)
|
|
74
|
+
], 8, J),
|
|
75
|
+
e(n).disabled ? f("", !0) : (l(), _("span", {
|
|
76
|
+
key: 0,
|
|
77
|
+
class: "file-action",
|
|
78
|
+
title: e(s).i18nt("render.hint.removeFile"),
|
|
79
|
+
onClick: (Y) => e(b)(t.name, t.url, t.uid)
|
|
80
|
+
}, [
|
|
81
|
+
r(d, { name: "@el-delete" })
|
|
82
|
+
], 8, M))
|
|
83
|
+
])
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
}, 16, ["data", "style", "class"]))
|
|
87
|
+
]),
|
|
88
|
+
_: 1
|
|
89
|
+
}, 16, ["propOptions"]);
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
const Fe = /* @__PURE__ */ A(R, [["__scopeId", "data-v-3583ad57"]]);
|
|
94
|
+
export {
|
|
95
|
+
Fe as default
|
|
96
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { defineComponent as g, computed as r, resolveComponent as w, openBlock as n, createBlock as c, normalizeProps as S, guardReactiveProps as q, withCtx as p, unref as o, normalizeClass as _, createSlots as C, renderSlot as b, createVNode as u, mergeProps as $, createElementBlock as F, createElementVNode as v, normalizeStyle as H } from "vue";
|
|
2
|
+
import { I as N } from "./field-base-5547436d.js";
|
|
3
|
+
import { _ as O } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3378a160.js";
|
|
4
|
+
import { _ as h } from "./label-wrapper.vue_vue_type_style_index_0_lang-63f6d717.js";
|
|
5
|
+
import { u as W } from "./fieldobj-c5438b43.js";
|
|
6
|
+
import { _ as x } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
|
+
import "./widget-base-4c2d6265.js";
|
|
8
|
+
import "./uuid-35d50fb6.js";
|
|
9
|
+
import "./enum-type-58fa8fed.js";
|
|
10
|
+
import "./index-1388e53c.js";
|
|
11
|
+
import "./enum-type-535dad7d.js";
|
|
12
|
+
import "./baseImp-0b23cff3.js";
|
|
13
|
+
import "./icon-e9532b43.js";
|
|
14
|
+
import "./expression-121c11fa.js";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./dialog-6a3f6732.js";
|
|
17
|
+
import "element-plus";
|
|
18
|
+
import "./index-ff1f52fe.js";
|
|
19
|
+
const B = { class: "el-form-item__content" }, j = /* @__PURE__ */ g({
|
|
20
|
+
__name: "form-item-wrapper",
|
|
21
|
+
props: {
|
|
22
|
+
...N
|
|
23
|
+
},
|
|
24
|
+
setup(k) {
|
|
25
|
+
const s = k, { getAttrProp: e } = W(s), y = r(() => {
|
|
26
|
+
var i, a;
|
|
27
|
+
return (a = (i = s.propOptions) == null ? void 0 : i.fieldObj) == null ? void 0 : a.fieldName;
|
|
28
|
+
}), m = r(() => e == null ? void 0 : e("label")), t = r(() => e == null ? void 0 : e("labelHidden")), z = r(() => e == null ? void 0 : e("labelTooltip")), d = r(() => e == null ? void 0 : e("required"));
|
|
29
|
+
return (i, a) => {
|
|
30
|
+
const I = w("el-form-item");
|
|
31
|
+
return n(), c(O, S(q(i.$props)), {
|
|
32
|
+
default: p(({ data: l }) => {
|
|
33
|
+
var f;
|
|
34
|
+
return [
|
|
35
|
+
l.formItemFlag ? (n(), c(I, {
|
|
36
|
+
key: 0,
|
|
37
|
+
label: `${o(m) || ""}${l.labelSuffix || ""}`,
|
|
38
|
+
"label-width": l.labelWidth,
|
|
39
|
+
title: o(z),
|
|
40
|
+
rules: (f = s.propOptions) == null ? void 0 : f.rules,
|
|
41
|
+
prop: o(y),
|
|
42
|
+
size: l.size,
|
|
43
|
+
class: _(["inmessage", [o(d) ? "required" : "", o(t) ? "labelHidden" : ""]])
|
|
44
|
+
}, C({
|
|
45
|
+
default: p(() => [
|
|
46
|
+
b(i.$slots, "default", { data: l }, void 0, !0)
|
|
47
|
+
]),
|
|
48
|
+
_: 2
|
|
49
|
+
}, [
|
|
50
|
+
o(m) ? {
|
|
51
|
+
name: "label",
|
|
52
|
+
fn: p(() => [
|
|
53
|
+
u(h, $(i.$props, {
|
|
54
|
+
label: `${o(m) || ""}${l.labelSuffix || ""}`,
|
|
55
|
+
labelAlign: l.labelAlign
|
|
56
|
+
}), null, 16, ["label", "labelAlign"])
|
|
57
|
+
]),
|
|
58
|
+
key: "0"
|
|
59
|
+
} : void 0
|
|
60
|
+
]), 1032, ["label", "label-width", "title", "rules", "prop", "size", "class"])) : (n(), F("div", {
|
|
61
|
+
key: 1,
|
|
62
|
+
class: _(["el-form-item asterisk-left inmessage", [o(d) ? "required" : "", o(t) ? "labelHidden" : ""]])
|
|
63
|
+
}, [
|
|
64
|
+
v("label", {
|
|
65
|
+
class: "el-form-item__label",
|
|
66
|
+
style: H({ width: o(t) ? "0px" : l.labelWidth })
|
|
67
|
+
}, [
|
|
68
|
+
u(h, $(i.$props, {
|
|
69
|
+
labelAlign: l.labelAlign
|
|
70
|
+
}), null, 16, ["labelAlign"])
|
|
71
|
+
], 4),
|
|
72
|
+
v("div", B, [
|
|
73
|
+
b(i.$slots, "default", { data: l }, void 0, !0)
|
|
74
|
+
])
|
|
75
|
+
], 2))
|
|
76
|
+
];
|
|
77
|
+
}),
|
|
78
|
+
_: 3
|
|
79
|
+
}, 16);
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
const le = /* @__PURE__ */ x(j, [["__scopeId", "data-v-e8ede47a"]]);
|
|
84
|
+
export {
|
|
85
|
+
le as default
|
|
86
|
+
};
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { ref as z, reactive as Y, onMounted as ne, nextTick as Fe, defineComponent as le, resolveComponent as be, resolveDirective as De, openBlock as Z, createBlock as ee, mergeProps as B, unref as h, withCtx as te, withDirectives as we, toHandlers as Ve, createVNode as Le } from "vue";
|
|
2
|
+
import { I as We } from "./widget-base-4c2d6265.js";
|
|
3
|
+
import { D as Oe } from "./drag-wrapper-c6eaec37.js";
|
|
4
|
+
import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3378a160.js";
|
|
5
|
+
import { w as K, b as oe, c as S, f as w, e as je } from "./expression-121c11fa.js";
|
|
6
|
+
import { u as Ee } from "./icon-e9532b43.js";
|
|
7
|
+
import { u as Ne, a as Se } from "./multirow-8598e0c9.js";
|
|
8
|
+
import { i as ye, c as xe, a as Ae, d as Re, b as $e } from "./enum-type-58fa8fed.js";
|
|
9
|
+
import { b as ke, a as Ie, u as Me } from "./share-field-8904a74c.js";
|
|
10
|
+
import { W as He } from "./enum-type-535dad7d.js";
|
|
11
|
+
import { $ as qe, P as ae } from "./baseImp-0b23cff3.js";
|
|
12
|
+
import { F as Te } from "./slot-fd9f6a46.js";
|
|
13
|
+
import { _ as Be } from "./_plugin-vue_export-helper-dad06003.js";
|
|
14
|
+
function ze(c) {
|
|
15
|
+
const V = c.designer, u = V == null ? void 0 : V.pageConfig, L = c == null ? void 0 : c.widgetList, g = z({}), y = {}, { fieldModel: x, fieldName: A, fieldEditor: v, attrs: N, events: C, getFieldOptions: W, exposed: F, fieldObj: R, watchOption: _, propResultOpt: b, extendAttrs: f } = ke(c), { off$: D, on$: O, emit$: $, broadcast: P } = Se();
|
|
16
|
+
var { instance: j } = Ee();
|
|
17
|
+
const { setAllRefList: ie } = Ie(g.value), U = { designState: c == null ? void 0 : c.designState, pageConfig: u, globalConfig: b == null ? void 0 : b.globalConfig }, { formModel: k, setData: de, getData: I, clearData: G } = Ne(L, { ...U }), { handleFunc: M } = Me({ options: u }, U), H = Y({}), re = () => {
|
|
18
|
+
D(w.fieldChange), O(w.fieldChange, (e) => {
|
|
19
|
+
me(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), F == null || F.setValue(k), fe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
20
|
+
});
|
|
21
|
+
}, se = () => {
|
|
22
|
+
D(w.fieldValidation), O(w.fieldValidation, (e) => {
|
|
23
|
+
var t;
|
|
24
|
+
(t = v.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
25
|
+
});
|
|
26
|
+
}, ce = () => {
|
|
27
|
+
D(w.fieldRuleChange), O(w.fieldRuleChange, (e) => {
|
|
28
|
+
var o;
|
|
29
|
+
var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((n) => ({
|
|
30
|
+
required: n.required,
|
|
31
|
+
message: n.message,
|
|
32
|
+
trigger: n.trigger,
|
|
33
|
+
validator: n.validator
|
|
34
|
+
}));
|
|
35
|
+
Object.assign(H, { [e == null ? void 0 : e.fieldName]: t }), N.value.rules = H;
|
|
36
|
+
});
|
|
37
|
+
}, q = z(!1), T = Y({}), fe = (e, t, o) => {
|
|
38
|
+
q.value = !0, e && Re(T, { [e]: { oldValue: o, newValue: t } });
|
|
39
|
+
}, ue = () => {
|
|
40
|
+
q.value = !1, xe(T);
|
|
41
|
+
}, me = (e, t, o) => {
|
|
42
|
+
M(C.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: k });
|
|
43
|
+
}, pe = () => {
|
|
44
|
+
M(C.value.formCreated);
|
|
45
|
+
}, ve = () => {
|
|
46
|
+
M(C.value.formMounted);
|
|
47
|
+
}, _e = () => {
|
|
48
|
+
ce(), re(), se(), pe();
|
|
49
|
+
}, he = (e) => {
|
|
50
|
+
var t;
|
|
51
|
+
(t = v.value) == null || t.clearValidate(e);
|
|
52
|
+
}, ge = () => {
|
|
53
|
+
ie(He.resetField), Fe(() => {
|
|
54
|
+
he();
|
|
55
|
+
});
|
|
56
|
+
}, J = (e, t) => {
|
|
57
|
+
let o = [];
|
|
58
|
+
for (let p in e) {
|
|
59
|
+
var n = e[p], m = n == null ? void 0 : n.filter((l) => (l == null ? void 0 : l.force) === t);
|
|
60
|
+
m == null || m.forEach((l) => {
|
|
61
|
+
var a;
|
|
62
|
+
const i = (a = l == null ? void 0 : l.rule) == null ? void 0 : a.label;
|
|
63
|
+
l.message && o.push(je(i ? "【" + i + "】" : "", l.message, ":"));
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
return $e(o);
|
|
67
|
+
}, Ce = (e = !0) => {
|
|
68
|
+
var m, p, l;
|
|
69
|
+
let t = I();
|
|
70
|
+
if (!e)
|
|
71
|
+
return new Promise((i, a) => {
|
|
72
|
+
i(t);
|
|
73
|
+
});
|
|
74
|
+
let o = function() {
|
|
75
|
+
}, n = new Promise(function(i, a) {
|
|
76
|
+
o = function(r, d) {
|
|
77
|
+
(d ? a : i)({ data: r, isSuccess: !d, message: d });
|
|
78
|
+
};
|
|
79
|
+
});
|
|
80
|
+
return (m = v.value) != null && m.validate ? ((l = (p = v.value) == null ? void 0 : p.validate) == null || l.call(p, (i, a) => {
|
|
81
|
+
if (i)
|
|
82
|
+
o(t);
|
|
83
|
+
else {
|
|
84
|
+
var r = J(a, !0);
|
|
85
|
+
if (r && r.length > 0) {
|
|
86
|
+
o(t, r);
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
var d = J(a, !1);
|
|
90
|
+
if (d && d.length > 0) {
|
|
91
|
+
d.push(Ae.i18nt("designer.hint.continue")), qe.multiple(d).then((s) => {
|
|
92
|
+
o(t);
|
|
93
|
+
});
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}), n) : (o(t), n);
|
|
98
|
+
}, Q = (e) => {
|
|
99
|
+
de(e), P(K.ContainerWidget, oe.setFormData, e, j), P(K.FieldWidget, oe.setFormData, e, j);
|
|
100
|
+
}, X = (e) => new Promise((t, o) => {
|
|
101
|
+
const n = (a) => {
|
|
102
|
+
var d, s, E;
|
|
103
|
+
const r = (d = f.value) != null && d.formDataLoaded ? (E = (s = f.value) == null ? void 0 : s.formDataLoaded) == null ? void 0 : E.call(s, I(), a) : a;
|
|
104
|
+
r ? (Q(r), t(r)) : o();
|
|
105
|
+
}, m = () => {
|
|
106
|
+
_(e, S.newDataSource, void 0, (a, r) => {
|
|
107
|
+
n(a);
|
|
108
|
+
});
|
|
109
|
+
}, p = () => {
|
|
110
|
+
_(e, S.editDataSource, void 0, (a, r) => {
|
|
111
|
+
var s, E;
|
|
112
|
+
((E = (s = f.value) == null ? void 0 : s.needFormAdd) == null ? void 0 : E.call(s, a)) ? i && m() : n(a);
|
|
113
|
+
});
|
|
114
|
+
}, l = ae.getValue(W(S.editDataSource, !0)) !== null, i = ae.getValue(W(S.newDataSource, !0)) !== null;
|
|
115
|
+
l ? p() : i && m();
|
|
116
|
+
});
|
|
117
|
+
return _e(), ne(() => {
|
|
118
|
+
ye(), ve();
|
|
119
|
+
}), {
|
|
120
|
+
widgetRefList: g,
|
|
121
|
+
allWidgetRefList: y,
|
|
122
|
+
fieldEditor: v,
|
|
123
|
+
formModel: k,
|
|
124
|
+
pageConfig: u,
|
|
125
|
+
widgetList: L,
|
|
126
|
+
fieldModel: x,
|
|
127
|
+
fieldName: A,
|
|
128
|
+
attrs: N,
|
|
129
|
+
extendAttrs: f,
|
|
130
|
+
events: C,
|
|
131
|
+
rules: H,
|
|
132
|
+
loadData: X,
|
|
133
|
+
clearData: G,
|
|
134
|
+
exposed: {
|
|
135
|
+
...F,
|
|
136
|
+
setValue: Q,
|
|
137
|
+
getValue: Ce,
|
|
138
|
+
resetField: ge,
|
|
139
|
+
clearData: G,
|
|
140
|
+
loadData: X,
|
|
141
|
+
getData: I,
|
|
142
|
+
clearChangeRecord: ue,
|
|
143
|
+
formChangeCache: T,
|
|
144
|
+
formChangeFlag: q,
|
|
145
|
+
emit$: $
|
|
146
|
+
},
|
|
147
|
+
fieldObj: R
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
const Ke = le({ componentName: K.ContainerWidget }), Ue = /* @__PURE__ */ le({
|
|
151
|
+
...Ke,
|
|
152
|
+
__name: "form-widget",
|
|
153
|
+
props: { ...We },
|
|
154
|
+
setup(c, { expose: V }) {
|
|
155
|
+
var b;
|
|
156
|
+
const u = c, { exposed: L, formModel: g, fieldEditor: y, attrs: x, events: A, widgetRefList: v, extendAttrs: N, fieldName: C, fieldObj: W, loadData: F } = ze({ ...u, widgetList: (b = u == null ? void 0 : u.widget) == null ? void 0 : b.widgetList }), R = C.value;
|
|
157
|
+
Te.globalProvide({
|
|
158
|
+
globalFormName: R,
|
|
159
|
+
globalDataModel: g
|
|
160
|
+
});
|
|
161
|
+
const _ = z(!1);
|
|
162
|
+
return ne(() => {
|
|
163
|
+
var f;
|
|
164
|
+
(f = N.value) != null && f.loadDataWhenInit && !u.designState && (_.value = !0, F(!0).then((D) => {
|
|
165
|
+
_.value = !1;
|
|
166
|
+
}).catch((D) => {
|
|
167
|
+
_.value = !1;
|
|
168
|
+
}).finally(() => {
|
|
169
|
+
L.clearChangeRecord();
|
|
170
|
+
}));
|
|
171
|
+
}), V({ ...L }), (f, D) => {
|
|
172
|
+
const O = be("el-form"), $ = De("loading");
|
|
173
|
+
return Z(), ee(Pe, B(f.$props, {
|
|
174
|
+
"prop-options": { fieldObj: h(W) }
|
|
175
|
+
}), {
|
|
176
|
+
default: te(({ data: P }) => {
|
|
177
|
+
var j;
|
|
178
|
+
return [
|
|
179
|
+
we((Z(), ee(O, B({
|
|
180
|
+
ref_key: "fieldEditor",
|
|
181
|
+
ref: y,
|
|
182
|
+
model: h(g)
|
|
183
|
+
}, h(x), Ve(h(A)), {
|
|
184
|
+
class: P.injectClass,
|
|
185
|
+
key: (j = h(W)) == null ? void 0 : j.fieldKey
|
|
186
|
+
}), {
|
|
187
|
+
default: te(() => [
|
|
188
|
+
Le(Oe, B(f.$props, {
|
|
189
|
+
dragClass: "formDrag",
|
|
190
|
+
model: h(g),
|
|
191
|
+
provideModel: !0,
|
|
192
|
+
"component-class": P.componentWrapperClass,
|
|
193
|
+
refList: h(v)
|
|
194
|
+
}), null, 16, ["model", "component-class", "refList"])
|
|
195
|
+
]),
|
|
196
|
+
_: 2
|
|
197
|
+
}, 1040, ["model", "class"])), [
|
|
198
|
+
[$, _.value]
|
|
199
|
+
])
|
|
200
|
+
];
|
|
201
|
+
}),
|
|
202
|
+
_: 1
|
|
203
|
+
}, 16, ["prop-options"]);
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
const Ge = /* @__PURE__ */ Be(Ue, [["__scopeId", "data-v-f243f9e1"]]), rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
208
|
+
__proto__: null,
|
|
209
|
+
default: Ge
|
|
210
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
211
|
+
export {
|
|
212
|
+
rt as _
|
|
213
|
+
};
|
|
@@ -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-8560fb8f.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 "./expression-
|
|
2
|
+
import { w as b } from "./expression-121c11fa.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 "./slot-
|
|
4
|
+
import { D as x } from "./drag-wrapper-c6eaec37.js";
|
|
5
|
+
import { _ as A } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3378a160.js";
|
|
6
|
+
import { b as j } from "./share-field-8904a74c.js";
|
|
7
|
+
import { c as H } from "./slot-fd9f6a46.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, c as y } from "./expression-
|
|
2
|
+
import { w as k, c as y } from "./expression-121c11fa.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 "./slot-
|
|
4
|
+
import { _ as S } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-8560fb8f.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3378a160.js";
|
|
6
|
+
import { b as P } from "./share-field-8904a74c.js";
|
|
7
|
+
import { c as W } from "./slot-fd9f6a46.js";
|
|
8
8
|
const v = p({ componentName: k.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
9
|
...v,
|
|
10
10
|
__name: "grid-widget",
|
|
@@ -1,31 +1,31 @@
|
|
|
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 "./expression-
|
|
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 {
|
|
3
|
+
import { b as P } from "./share-field-8904a74c.js";
|
|
4
|
+
import { w as b } from "./expression-121c11fa.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3378a160.js";
|
|
6
|
+
import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-197c5f16.js";
|
|
7
|
+
import { I as F } from "./enum-type-58fa8fed.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
11
|
-
import "./uuid-
|
|
12
|
-
import "./enum-type-
|
|
9
|
+
import "./multirow-8598e0c9.js";
|
|
10
|
+
import "./baseImp-0b23cff3.js";
|
|
11
|
+
import "./uuid-35d50fb6.js";
|
|
12
|
+
import "./enum-type-535dad7d.js";
|
|
13
13
|
import "./icon-e9532b43.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-6a3f6732.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
19
|
-
import "./index-
|
|
17
|
+
import "./index-1388e53c.js";
|
|
18
|
+
import "./slot-fd9f6a46.js";
|
|
19
|
+
import "./index-ff1f52fe.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
const
|
|
23
|
-
|
|
21
|
+
import "./fieldobj-c5438b43.js";
|
|
22
|
+
const I = i({ componentName: b.FieldWidget }), S = /* @__PURE__ */ i({
|
|
23
|
+
...I,
|
|
24
24
|
__name: "html-text-widget",
|
|
25
25
|
props: { ...C },
|
|
26
26
|
setup(m, { expose: s }) {
|
|
27
27
|
const n = m, { exposed: a, fieldEditor: f, extendAttrs: t, attrs: l, fieldObj: c } = P(n);
|
|
28
|
-
return s({ ...a }), (d,
|
|
28
|
+
return s({ ...a }), (d, $) => (_(), u(h, x(d.$props, {
|
|
29
29
|
"prop-options": { fieldObj: o(c) }
|
|
30
30
|
}), {
|
|
31
31
|
default: g(() => {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
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
|
|
3
|
-
import { b as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { I as
|
|
6
|
-
import {
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./uuid-
|
|
2
|
+
import { w as H } from "./expression-121c11fa.js";
|
|
3
|
+
import { b as O } from "./share-field-8904a74c.js";
|
|
4
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3378a160.js";
|
|
5
|
+
import { I as U } from "./field-base-5547436d.js";
|
|
6
|
+
import { H as _ } from "./baseImp-0b23cff3.js";
|
|
7
|
+
import "./enum-type-58fa8fed.js";
|
|
8
|
+
import "./uuid-35d50fb6.js";
|
|
9
9
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./slot-
|
|
10
|
+
import "./multirow-8598e0c9.js";
|
|
11
|
+
import "./index-1388e53c.js";
|
|
12
|
+
import "./enum-type-535dad7d.js";
|
|
13
|
+
import "./slot-fd9f6a46.js";
|
|
14
14
|
import "./icon-e9532b43.js";
|
|
15
15
|
import "./widget-base-4c2d6265.js";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-ff1f52fe.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./fieldobj-
|
|
19
|
-
import "./dialog-
|
|
18
|
+
import "./fieldobj-c5438b43.js";
|
|
19
|
+
import "./dialog-6a3f6732.js";
|
|
20
20
|
import "element-plus";
|
|
21
|
-
const
|
|
21
|
+
const V = {
|
|
22
22
|
key: 0,
|
|
23
23
|
class: "full-width full-height nopadding nomargin"
|
|
24
|
-
},
|
|
25
|
-
...
|
|
24
|
+
}, $ = ["src", "id"], q = h({ componentName: H.FieldWidget }), ae = /* @__PURE__ */ h({
|
|
25
|
+
...q,
|
|
26
26
|
__name: "iframe-widget",
|
|
27
|
-
props: { ...
|
|
27
|
+
props: { ...U },
|
|
28
28
|
setup(g, { expose: v }) {
|
|
29
|
-
const w = g, { exposed: y, fieldEditor: p, events: n, attrs: a, extendAttrs: m, fieldObj: k, fieldKey: b, fieldName: j } =
|
|
29
|
+
const w = g, { exposed: y, fieldEditor: p, events: n, attrs: a, extendAttrs: m, fieldObj: k, fieldKey: b, fieldName: j } = O(w), C = E(() => {
|
|
30
30
|
var t, l;
|
|
31
31
|
const e = ((t = m == null ? void 0 : m.value) == null ? void 0 : t.withQuery) ? _.getLocationQueryParams() : {};
|
|
32
32
|
return _.buildUrl((l = a == null ? void 0 : a.value) == null ? void 0 : l.src, e);
|
|
@@ -42,12 +42,12 @@ const $ = {
|
|
|
42
42
|
}), (o, e) => {
|
|
43
43
|
var t;
|
|
44
44
|
const i = B("loading");
|
|
45
|
-
return d(), F(
|
|
45
|
+
return d(), F(S, u(o.$props, {
|
|
46
46
|
"prop-options": { fieldObj: r(k) },
|
|
47
47
|
key: (t = o.widget) == null ? void 0 : t.id
|
|
48
48
|
}), {
|
|
49
49
|
default: I(({ data: l }) => [
|
|
50
|
-
s.value ? c((d(), f("div",
|
|
50
|
+
s.value ? c((d(), f("div", V, null, 512)), [
|
|
51
51
|
[i, s.value]
|
|
52
52
|
]) : N("", !0),
|
|
53
53
|
c((d(), f("iframe", u({
|
|
@@ -61,7 +61,7 @@ const $ = {
|
|
|
61
61
|
style: l.injectStyle,
|
|
62
62
|
id: r(j)
|
|
63
63
|
}), `\r
|
|
64
|
-
`, 16,
|
|
64
|
+
`, 16, $)), [
|
|
65
65
|
[D, !s.value]
|
|
66
66
|
])
|
|
67
67
|
]),
|
|
@@ -1,23 +1,23 @@
|
|
|
1
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-
|
|
2
|
+
import { w as E } from "./expression-121c11fa.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-
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./uuid-
|
|
4
|
+
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3378a160.js";
|
|
5
|
+
import { b as P } from "./share-field-8904a74c.js";
|
|
6
|
+
import { g as $ } from "./slot-fd9f6a46.js";
|
|
7
|
+
import "./enum-type-58fa8fed.js";
|
|
8
|
+
import "./uuid-35d50fb6.js";
|
|
9
9
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
10
10
|
import "./widget-base-4c2d6265.js";
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./baseImp-
|
|
11
|
+
import "./index-1388e53c.js";
|
|
12
|
+
import "./enum-type-535dad7d.js";
|
|
13
|
+
import "./baseImp-0b23cff3.js";
|
|
14
14
|
import "./icon-e9532b43.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-6a3f6732.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
17
|
+
import "./index-ff1f52fe.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./fieldobj-
|
|
20
|
-
import "./multirow-
|
|
19
|
+
import "./fieldobj-c5438b43.js";
|
|
20
|
+
import "./multirow-8598e0c9.js";
|
|
21
21
|
const A = c({ componentName: E.FieldWidget }), ie = /* @__PURE__ */ c({
|
|
22
22
|
...A,
|
|
23
23
|
__name: "image-widget",
|