hlrender 0.0.11 → 0.0.13
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-09d896ce.js → affix-widget-b700fb76.js} +16 -16
- package/{alert-widget-07d1f81e.js → alert-widget-4d7bc87c.js} +16 -16
- package/{anchor-widget-34ee6615.js → anchor-widget-c84e6713.js} +13 -13
- package/{auto-complete-widget-06e8ab97.js → auto-complete-widget-f28eded5.js} +16 -16
- package/{avatar-widget-88abc990.js → avatar-widget-f607c757.js} +16 -16
- package/{backtop-widget-136d8760.js → backtop-widget-9ccaf268.js} +16 -16
- package/{badge-widget-00c67aea.js → badge-widget-5c840400.js} +19 -19
- package/{baseImp-6de567f5.js → baseImp-1b476c77.js} +1824 -1781
- package/{breadcrumb-widget-88e8760d.js → breadcrumb-widget-1b089dce.js} +13 -13
- package/{button-widget-da254e24.js → button-widget-6043fac6.js} +16 -16
- package/{cache-widget-c3704d8b.js → cache-widget-93006b8b.js} +15 -15
- package/{card-widget-340dc200.js → card-widget-2749c50c.js} +14 -14
- package/{carousel-widget-3efe1e3f.js → carousel-widget-bd15db2e.js} +18 -18
- package/{cascader-widget-a8b2b9f3.js → cascader-widget-00c77296.js} +20 -20
- package/{chart-widget-3fa591bd.js → chart-widget-5c28c10a.js} +13 -13
- package/{checkbox-widget-1763fe87.js → checkbox-widget-9a8087d7.js} +15 -15
- package/{collapse-widget-17ea1e3a.js → collapse-widget-f082c49a.js} +18 -18
- package/{color-picker-widget-8ffc757d.js → color-picker-widget-def103e4.js} +15 -15
- package/{cont-cell-widget-627285b3.js → cont-cell-widget-be7e5f0d.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-5fd92418.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-2649dc04.js} +5 -5
- package/{cont-widget-271709f5.js → cont-widget-6d2fd7b0.js} +8 -8
- package/content-wrapper-4c86f902.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-7c2b51ee.js → content-wrapper.vue_vue_type_script_setup_true_lang-ddde821e.js} +3 -3
- package/{date-picker-range-widget-1ed067ba.js → date-picker-range-widget-a87d3859.js} +15 -15
- package/{date-picker-widget-13242a45.js → date-picker-widget-57e340ef.js} +15 -15
- package/default-slot-widget-54dfb5af.js +24 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b6422690.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b125ec50.js} +7 -7
- package/{descriptions-widget-07aae80f.js → descriptions-widget-67dcc22a.js} +14 -14
- package/{dialog-701b8c0a.js → dialog-7d33aaed.js} +2 -2
- package/{dialog-widget-4133a39f.js → dialog-widget-959d3ec1.js} +15 -15
- package/{divider-widget-2e6ab845.js → divider-widget-6aeebc0f.js} +16 -16
- package/drag-wrapper-1c3560ef.js +258 -0
- package/{drawer-widget-dc73d1ca.js → drawer-widget-f02ff61b.js} +15 -15
- package/{dropdown-widget-4bec3b6b.js → dropdown-widget-4cd4dc31.js} +34 -32
- package/{empty-widget-b09cb9bc.js → empty-widget-2ab9ac82.js} +16 -16
- package/{enum-type-965ecb4e.js → enum-type-6c2444c7.js} +23 -23
- package/{enum-type-0083e5e5.js → enum-type-f19f3faf.js} +1 -1
- package/{expression-78a5f136.js → expression-d0d5b99e.js} +7 -7
- package/feedback-widget-52713336.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ec6a8b0b.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e25e9f1b.js} +5 -5
- package/{fieldobj-079cc6a1.js → fieldobj-3d0327a8.js} +3 -3
- package/{file-upload-widget-ad790e94.js → file-upload-widget-3d0b9fa7.js} +16 -16
- package/{form-item-wrapper-f428a5b3.js → form-item-wrapper-e32762ff.js} +11 -11
- package/{form-widget-aa88b04c.js → form-widget-8c8406c0.js} +42 -42
- package/{grid-col-widget-3d4def04.js → grid-col-widget-e1f99b88.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-6c8a6a99.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-335bd615.js} +5 -5
- package/{grid-widget-0d8adfb3.js → grid-widget-f9e7adf5.js} +8 -8
- package/{html-text-widget-261eaf3d.js → html-text-widget-88359d76.js} +14 -14
- package/{iframe-widget-b8434abd.js → iframe-widget-39a800c0.js} +13 -13
- package/{image-widget-931a54a9.js → image-widget-7a89343f.js} +13 -13
- package/{index-22bda53a.js → index-6f9269bf.js} +1 -1
- package/{index-94d0325b.js → index-84cb8278.js} +4 -4
- package/{index-2b7ed19f.js → index-ed6948ad.js} +725 -717
- package/{input-number-widget-627ba574.js → input-number-widget-e080415b.js} +15 -15
- package/{input-widget-1af63077.js → input-widget-dcfc8735.js} +16 -16
- package/{label-wrapper-bb67454d.js → label-wrapper-bc320280.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-406a5b48.js → label-wrapper.vue_vue_type_style_index_0_lang-a0cb6bb5.js} +3 -3
- package/{link-widget-b763c145.js → link-widget-791dda30.js} +16 -16
- package/{ltable-col-widget-ac72367a.js → ltable-col-widget-f11f5652.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-fd2759be.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7d13d8d1.js} +10 -10
- package/{ltable-widget-fbfde49d.js → ltable-widget-84b04c8a.js} +5 -5
- package/{menu-widget-839b5597.js → menu-widget-32698736.js} +14 -14
- package/{model-widget-f95af04f.js → model-widget-1499bfc5.js} +13 -13
- package/{multirow-be69baf2.js → multirow-b14caba5.js} +15 -15
- package/{multirow-widget-2a8e565b.js → multirow-widget-f8a697ba.js} +15 -15
- package/package.json +1 -1
- package/{pagination-widget-26a33d29.js → pagination-widget-0bb40786.js} +13 -13
- package/{picture-upload-widget-8e531089.js → picture-upload-widget-1568f7ce.js} +16 -16
- package/{progress-widget-cc49f312.js → progress-widget-8bd4247a.js} +14 -14
- package/{propresult-92830dff.js → propresult-e19b76cc.js} +1 -1
- package/{radio-widget-5ef72242.js → radio-widget-771f190a.js} +15 -15
- package/{range-widget-75dd7393.js → range-widget-5d794405.js} +16 -16
- package/{rate-widget-4d727592.js → rate-widget-2be83ab2.js} +15 -15
- package/render.es.js +829 -825
- package/render.style.css +1 -1
- package/render.umd.js +306 -287
- package/{result-widget-520d5f63.js → result-widget-dd74533a.js} +14 -14
- package/{rich-editor-widget-7d97a0ac.js → rich-editor-widget-b4ac8fcc.js} +21 -21
- package/{router-widget-0a17cd89.js → router-widget-1df3f0d6.js} +13 -13
- package/{select-widget-4601c748.js → select-widget-dcf37e3a.js} +15 -15
- package/{sfc-bedcee5e.js → sfc-bd924d00.js} +708 -682
- package/{share-field-46cfb27c.js → share-field-dfc6f214.js} +194 -192
- package/{share-file-caae654c.js → share-file-39699a73.js} +14 -14
- package/{slider-widget-4258703e.js → slider-widget-a2b12daa.js} +20 -20
- package/{slot-87815022.js → slot-1235c941.js} +25 -25
- package/{static-text-widget-f7c9f75e.js → static-text-widget-0d2477d8.js} +14 -14
- package/{steps-widget-7ed4714f.js → steps-widget-9844205e.js} +13 -13
- package/subMenu-widget-0a646352.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-e00474cd.js → subMenu-widget.vue_vue_type_script_setup_true_lang-0ab417be.js} +3 -3
- package/{switch-widget-a7ca9805.js → switch-widget-d969a535.js} +15 -15
- package/{tab-pane-widget-aac721c1.js → tab-pane-widget-ea3324db.js} +1 -1
- package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-5a83d03f.js +35 -0
- package/table-col-widget-274e159e.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-23943a07.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-f638bdfc.js} +15 -15
- package/{table-widget-04ae323f.js → table-widget-73d01cea.js} +47 -47
- package/tabs-widget-d573925c.js +76 -0
- package/{tag-widget-b2ad8430.js → tag-widget-b700c984.js} +16 -16
- package/{text-widget-f11b31ef.js → text-widget-a23e3e8c.js} +16 -16
- package/{textarea-widget-0b1aa924.js → textarea-widget-df1cbac5.js} +15 -15
- package/{time-picker-range-widget-cee1d0db.js → time-picker-range-widget-fcc8bdcd.js} +15 -15
- package/{time-picker-widget-3327346e.js → time-picker-widget-0c4c7fb8.js} +15 -15
- package/{time-select-widget-b8ef282f.js → time-select-widget-208a2c17.js} +15 -15
- package/{tmpl-widget-41fe8438.js → tmpl-widget-e97eaa43.js} +23 -23
- package/{tree-select-widget-955b88bf.js → tree-select-widget-3de564cb.js} +15 -15
- package/{tree-widget-b928fb54.js → tree-widget-58540f01.js} +26 -26
- package/{uuid-8f83f4bc.js → uuid-85303a38.js} +10 -10
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3f856074.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2d5b7847.js} +86 -84
- package/{wrapper-widget-0492ec02.js → wrapper-widget-aa2ee8f4.js} +6 -6
- package/content-wrapper-45ed31e2.js +0 -14
- package/default-slot-widget-8da28e30.js +0 -24
- package/drag-wrapper-9194080d.js +0 -258
- package/feedback-widget-339b6b9f.js +0 -24
- package/subMenu-widget-b71b263f.js +0 -16
- package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-507add54.js +0 -35
- package/table-col-widget-41f6fc8b.js +0 -20
- package/tabs-widget-a80add4e.js +0 -68
|
@@ -1,53 +1,55 @@
|
|
|
1
|
-
import { defineComponent as w, resolveComponent as
|
|
2
|
-
import { a as $ } from "./enum-type-
|
|
1
|
+
import { defineComponent as w, computed as B, resolveComponent as m, openBlock as r, createBlock as i, mergeProps as p, unref as e, withCtx as n, toHandlers as D, createSlots as H, createVNode as L, createElementBlock as _, Fragment as u, renderList as f, createElementVNode as g, createTextVNode as T, toDisplayString as W } from "vue";
|
|
2
|
+
import { a as $ } from "./enum-type-6c2444c7.js";
|
|
3
3
|
import { I as A } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as P } from "./share-field-
|
|
6
|
-
import { w as I } from "./expression-
|
|
7
|
-
import { b as K } from "./baseImp-
|
|
8
|
-
import { g as q } from "./slot-
|
|
9
|
-
import { D as G } from "./drag-wrapper-
|
|
4
|
+
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2d5b7847.js";
|
|
5
|
+
import { b as P } from "./share-field-dfc6f214.js";
|
|
6
|
+
import { w as I } from "./expression-d0d5b99e.js";
|
|
7
|
+
import { b as K } from "./baseImp-1b476c77.js";
|
|
8
|
+
import { g as q } from "./slot-1235c941.js";
|
|
9
|
+
import { D as G } from "./drag-wrapper-1c3560ef.js";
|
|
10
10
|
import "./widget-base-4c2d6265.js";
|
|
11
|
-
import "./uuid-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./enum-type-
|
|
11
|
+
import "./uuid-85303a38.js";
|
|
12
|
+
import "./index-ed6948ad.js";
|
|
13
|
+
import "./enum-type-f19f3faf.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./index-
|
|
15
|
+
import "./index-6f9269bf.js";
|
|
16
16
|
import "./icon-e9532b43.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./fieldobj-
|
|
19
|
-
import "./multirow-
|
|
20
|
-
import "./dialog-
|
|
18
|
+
import "./fieldobj-3d0327a8.js";
|
|
19
|
+
import "./multirow-b14caba5.js";
|
|
20
|
+
import "./dialog-7d33aaed.js";
|
|
21
21
|
import "element-plus";
|
|
22
22
|
const J = ["innerHTML"], Q = w({ componentName: I.FieldWidget }), ge = /* @__PURE__ */ w({
|
|
23
23
|
...Q,
|
|
24
24
|
__name: "dropdown-widget",
|
|
25
25
|
props: { ...A },
|
|
26
26
|
setup(y, { expose: k }) {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
const b = y, { exposed: v, fieldEditor: S, fieldKey: F, attrs: N, events: O, extendAttrs: h, optionItems: d, slots: j, getFieldOptions: z, fieldObj: C } = P(b), E = B(() => {
|
|
28
|
+
var o;
|
|
29
|
+
return (o = d == null ? void 0 : d.value) == null ? void 0 : o.map((c) => {
|
|
30
|
+
const { attrs: l } = K({ options: c }, void 0, { s_attr: !0 });
|
|
31
|
+
return l.value;
|
|
32
|
+
});
|
|
31
33
|
});
|
|
32
|
-
return k({ ...v }), (
|
|
33
|
-
const
|
|
34
|
-
return
|
|
34
|
+
return k({ ...v }), (o, c) => {
|
|
35
|
+
const l = m("el-dropdown-item"), V = m("el-dropdown-menu"), x = m("el-dropdown");
|
|
36
|
+
return r(), i(M, p(o.$props, {
|
|
35
37
|
propOptions: { fieldObj: e(C) }
|
|
36
38
|
}), {
|
|
37
|
-
default: n(({ data:
|
|
38
|
-
(
|
|
39
|
+
default: n(({ data: a }) => [
|
|
40
|
+
(r(), i(x, p({
|
|
39
41
|
ref_key: "fieldEditor",
|
|
40
42
|
ref: S,
|
|
41
43
|
key: e(F)
|
|
42
44
|
}, e(N), D(e(O)), {
|
|
43
|
-
size:
|
|
44
|
-
class:
|
|
45
|
-
style:
|
|
45
|
+
size: a.size,
|
|
46
|
+
class: a.injectClass,
|
|
47
|
+
style: a.injectStyle
|
|
46
48
|
}), H({
|
|
47
49
|
dropdown: n(() => [
|
|
48
|
-
L(
|
|
50
|
+
L(V, null, {
|
|
49
51
|
default: n(() => [
|
|
50
|
-
(
|
|
52
|
+
(r(!0), _(u, null, f(e(E), (t, s) => (r(), i(l, p({ key: s }, t), {
|
|
51
53
|
default: n(() => [
|
|
52
54
|
g("div", {
|
|
53
55
|
innerHTML: t == null ? void 0 : t.label
|
|
@@ -61,17 +63,17 @@ const J = ["innerHTML"], Q = w({ componentName: I.FieldWidget }), ge = /* @__PUR
|
|
|
61
63
|
]),
|
|
62
64
|
_: 2
|
|
63
65
|
}, [
|
|
64
|
-
|
|
66
|
+
f(e(q)(e(j), o.designState), (t) => ({
|
|
65
67
|
name: t.slotName,
|
|
66
68
|
fn: n(() => {
|
|
67
69
|
var s;
|
|
68
70
|
return [
|
|
69
71
|
g("div", null, [
|
|
70
|
-
(s = e(h)) != null && s.slotable ? (
|
|
72
|
+
(s = e(h)) != null && s.slotable ? (r(), i(G, p({ key: 0 }, o.$props, {
|
|
71
73
|
widget: t,
|
|
72
74
|
"drag-class": "dragSize1",
|
|
73
75
|
"drag-tip": e($).i18nt("designer.hint.draggableArea1")
|
|
74
|
-
}), null, 16, ["widget", "drag-tip"])) : (
|
|
76
|
+
}), null, 16, ["widget", "drag-tip"])) : (r(), _(u, { key: 1 }, [
|
|
75
77
|
T(W(e(z)("content")), 1)
|
|
76
78
|
], 64))
|
|
77
79
|
])
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
4
|
-
import { w as d } from "./expression-
|
|
5
|
-
import { b as _ } from "./share-field-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b125ec50.js";
|
|
4
|
+
import { w as d } from "./expression-d0d5b99e.js";
|
|
5
|
+
import { b as _ } from "./share-field-dfc6f214.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
9
|
-
import "./uuid-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./enum-type-
|
|
12
|
-
import "./baseImp-
|
|
7
|
+
import "./enum-type-6c2444c7.js";
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2d5b7847.js";
|
|
9
|
+
import "./uuid-85303a38.js";
|
|
10
|
+
import "./index-ed6948ad.js";
|
|
11
|
+
import "./enum-type-f19f3faf.js";
|
|
12
|
+
import "./baseImp-1b476c77.js";
|
|
13
13
|
import "./icon-e9532b43.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-7d33aaed.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
17
|
+
import "./index-6f9269bf.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./fieldobj-
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import "./drag-wrapper-
|
|
23
|
-
import "./multirow-
|
|
19
|
+
import "./fieldobj-3d0327a8.js";
|
|
20
|
+
import "./slot-1235c941.js";
|
|
21
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-ddde821e.js";
|
|
22
|
+
import "./drag-wrapper-1c3560ef.js";
|
|
23
|
+
import "./multirow-b14caba5.js";
|
|
24
24
|
const u = o({ componentName: d.FieldWidget }), G = /* @__PURE__ */ o({
|
|
25
25
|
...u,
|
|
26
26
|
__name: "empty-widget",
|
|
@@ -2032,12 +2032,12 @@ const se = function(e) {
|
|
|
2032
2032
|
};
|
|
2033
2033
|
var x = /* @__PURE__ */ ((e) => (e.string = "string", e.number = "number", e.bigint = "bigint", e.boolean = "boolean", e.symbol = "symbol", e.undefined = "undefined", e.object = "object", e.function = "function", e.array = "array", e.any = "any", e.date = "date", e))(x || {}), L = /* @__PURE__ */ ((e) => (e.typescript = "typescript", e.javascript = "javascript", e.css = "css", e.html = "html", e.json = "json", e.sql = "sql", e.text = "text", e))(L || {}), M = /* @__PURE__ */ ((e) => (e.sysVar = "sysVar", e.sysFunc = "sysFunc", e.sysData = "sysData", e.schema = "schema", e))(M || {});
|
|
2034
2034
|
export {
|
|
2035
|
-
|
|
2035
|
+
le as A,
|
|
2036
2036
|
x as B,
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2037
|
+
z as C,
|
|
2038
|
+
U as D,
|
|
2039
|
+
j as E,
|
|
2040
|
+
H as F,
|
|
2041
2041
|
m as G,
|
|
2042
2042
|
ie as H,
|
|
2043
2043
|
Z as I,
|
|
@@ -2050,29 +2050,29 @@ export {
|
|
|
2050
2050
|
Q as P,
|
|
2051
2051
|
$ as Q,
|
|
2052
2052
|
ce as a,
|
|
2053
|
-
|
|
2054
|
-
|
|
2053
|
+
k as b,
|
|
2054
|
+
W as c,
|
|
2055
2055
|
g as d,
|
|
2056
|
-
|
|
2056
|
+
s as e,
|
|
2057
2057
|
ae as f,
|
|
2058
2058
|
ee as g,
|
|
2059
|
-
|
|
2059
|
+
V as h,
|
|
2060
2060
|
ue as i,
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2061
|
+
f as j,
|
|
2062
|
+
C as k,
|
|
2063
|
+
d as l,
|
|
2064
|
+
M as m,
|
|
2065
|
+
ne as n,
|
|
2066
2066
|
h as o,
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2067
|
+
T as p,
|
|
2068
|
+
re as q,
|
|
2069
|
+
te as r,
|
|
2070
2070
|
J as s,
|
|
2071
2071
|
w as t,
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2072
|
+
oe as u,
|
|
2073
|
+
B as v,
|
|
2074
|
+
G as w,
|
|
2075
|
+
E as x,
|
|
2076
|
+
D as y,
|
|
2077
|
+
y as z
|
|
2078
2078
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var d = Object.defineProperty;
|
|
2
2
|
var m = (n, t, i) => t in n ? d(n, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : n[t] = i;
|
|
3
3
|
var a = (n, t, i) => (m(n, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
|
-
import { a as e, B as s } from "./enum-type-
|
|
4
|
+
import { a as e, B as s } from "./enum-type-6c2444c7.js";
|
|
5
5
|
class r {
|
|
6
6
|
constructor(t, i, u = !1) {
|
|
7
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var M4 = Object.defineProperty;
|
|
2
2
|
var O4 = (x, i, h) => i in x ? M4(x, i, { enumerable: !0, configurable: !0, writable: !0, value: h }) : x[i] = h;
|
|
3
3
|
var V0 = (x, i, h) => (O4(x, typeof i != "symbol" ? i + "" : i, h), h);
|
|
4
|
-
import {
|
|
5
|
-
import { d as t4,
|
|
4
|
+
import { E as L4, a as k, j as g4, B as S, g as ln, F as R4, l as U4, e as t1, h as nx, t as G4, f as u4, x as e4, w as X4 } from "./enum-type-6c2444c7.js";
|
|
5
|
+
import { d as t4, a as Ln, b as s4, e as Rn, f as fx, h as H4, i as En, j as J4, c as c4, k as W4, t as kx } from "./uuid-85303a38.js";
|
|
6
6
|
import { c as z1 } from "./_commonjsHelpers-e7ea1525.js";
|
|
7
7
|
var K4 = /* @__PURE__ */ ((x) => (x.VFormRender = "VFormRender", x.VFormDesigner = "VFormDesigner", x.FieldWidget = "FieldWidget", x.ContainerWidget = "ContainerWidget", x.SettingPanel = "SettingPanel", x.PropertyEditor = "PropertyEditor", x))(K4 || {}), Y4 = /* @__PURE__ */ ((x) => (x.page = "page", x.cssCode = "cssCode", x.functions = "functions", x.pageCssUpdated = "page-css-updated", x.pageJsonImported = "page-json-imported", x[x.pageJsonVersion = 20240724] = "pageJsonVersion", x))(Y4 || {}), V4 = /* @__PURE__ */ ((x) => (x.editHandler = "editHandler", x.tooltipHandler = "tooltipHandler", x.popOverHandler = "popOverHandler", x.drawerHandler = "drawerHandler", x.designFormHandler = "designFormHandler", x.setFormData = "setFormData", x.reloadOptionItems = "reloadOptionItems", x.formChange = "formChange", x.v_form_ref = "v_form_ref", x))(V4 || {}), Q4 = /* @__PURE__ */ ((x) => (x.fieldSelected = "field-selected", x.fieldValueChanged = "field-value-changed", x.fieldChange = "fieldChange", x.fieldRuleChange = "fieldRuleChange", x.fieldValidation = "fieldValidation", x.defaultValue = "defaultValue", x.multiple = "multiple", x.externalArgs = "ctx", x.valueKey = "valueKey", x.labelKey = "labelKey", x.onChange = "change", x.onClick = "click", x.onInput = "input", x.buttonClick = "buttonClick", x.onValidate = "validate", x.validFunc = "func", x.onBeforeUpload = "onBeforeUpload", x.onUploadSuccess = "onUploadSuccess", x.onUploadError = "onUploadError", x.onFileRemove = "onFileRemove", x.popperOptions = "popperOptions", x.shortcuts = "shortcuts", x.fitFetch = "fitFetch", x.errorFetch = "errorFetch", x.didFetch = "didFetch", x.willFetch = "willFetch", x.chartOption = "chartOption", x.lazyLoad = "lazyLoad", x.data = "data", x.formDataLoaded = "formDataLoaded", x.setQueryFn = "setQueryFn", x.afterFetch = "afterFetch", x.beforeFetch = "beforeFetch", x))(Q4 || {}), Z4 = /* @__PURE__ */ ((x) => (x.pageConfig = "pageConfig", x.widgetList = "widgetList", x.allRefList = "allRefList", x.refList = "refList", x.sfRefList = "sfRefList", x.globalModel = "globalModel", x.getPageConfig = "getPageConfig", x.staticDataModel = "staticDataModel", x.getDesignerConfig = "getDesignerConfig", x.getBannedWidgets = "getBannedWidgets", x.getPageTemplates = "getPageTemplates", x.serverFieldList = "serverFieldList", x.urlParams = "urlParams", x.compParams = "compParams", x.globalForm = "globalForm", x.globalPage = "globalPage", x.rowScope = "rowScope", x.globalConfig = "globalConfig", x))(Z4 || {}), $4 = /* @__PURE__ */ ((x) => (x.optionItems = "optionItems", x.options = "options", x.schema = "schema", x.tabs = "tabs", x.cols = "cols", x.params = "params", x.headers = "headers", x.id = "id", x.name = "name", x.content = "content", x.ctrlWidth = "ctrlWidth", x.ctrlHeight = "ctrlHeight", x.value = "value", x.children = "children", x.option = "option", x.isdefault = "isdefault", x.state = "state", x.slotable = "slotable", x.readonly = "readonly", x.disabled = "disabled", x.isLeaf = "isLeaf", x.class = "class", x.label = "label", x.labelWidth = "labelWidth", x.labelHidden = "labelHidden", x.labelAlign = "labelAlign", x.labelTooltip = "labelTooltip", x.labelIconClass = "labelIconClass", x.labelIconPosition = "labelIconPosition", x.labelSuffix = "labelSuffix", x.requireAsteriskPosition = "requireAsteriskPosition", x.required = "required", x.displayLayout = "displayLayout", x.size = "size", x.customClass = "customClass", x.componentWrapperClass = "componentWrapperClass", x.hidden = "hidden", x.widgetList = "widgetList", x.handlerLayout = "handlerLayout", x.relate = "relate", x.newDataSource = "newDataSource", x.editDataSource = "editDataSource", x.data = "data", x))($4 || {}), n8 = /* @__PURE__ */ ((x) => (x.default = "default", x.tip = "tip", x.header = "header", x))(n8 || {}), xx = /* @__PURE__ */ ((x) => (x.copyItem = "___copyItem", x.checkedOptions = "___checkedOptions", x.optionText = "_text", x.optionCode = "_code", x.optionLabelName = "_name", x))(xx || {}), x8 = /* @__PURE__ */ ((x) => (x.formItemTarget = "formItemTarget", x))(x8 || {}), i8 = /* @__PURE__ */ ((x) => (x.color1 = "#1976D2", x))(i8 || {});
|
|
8
8
|
const V3 = (x, i, h = ":") => i ? x ? [x, i].join(h) : i : "", Q3 = (x, i = "") => {
|
|
@@ -253903,14 +253903,14 @@ export {
|
|
|
253903
253903
|
an as I,
|
|
253904
253904
|
i9 as a,
|
|
253905
253905
|
V4 as b,
|
|
253906
|
-
|
|
253906
|
+
Z3 as c,
|
|
253907
253907
|
Z4 as d,
|
|
253908
|
-
|
|
253908
|
+
g9 as e,
|
|
253909
253909
|
Q4 as f,
|
|
253910
|
-
|
|
253911
|
-
|
|
253910
|
+
$4 as g,
|
|
253911
|
+
s8 as h,
|
|
253912
253912
|
x9 as i,
|
|
253913
|
-
|
|
253913
|
+
V3 as j,
|
|
253914
253914
|
n8 as k,
|
|
253915
253915
|
xx as l,
|
|
253916
253916
|
n9 as m,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e25e9f1b.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./widget-base-4c2d6265.js";
|
|
4
|
+
import "./drag-wrapper-1c3560ef.js";
|
|
5
|
+
import "./baseImp-1b476c77.js";
|
|
6
|
+
import "./enum-type-6c2444c7.js";
|
|
7
|
+
import "./uuid-85303a38.js";
|
|
8
|
+
import "./enum-type-f19f3faf.js";
|
|
9
|
+
import "./icon-e9532b43.js";
|
|
10
|
+
import "./expression-d0d5b99e.js";
|
|
11
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
+
import "./dialog-7d33aaed.js";
|
|
13
|
+
import "element-plus";
|
|
14
|
+
import "./index-ed6948ad.js";
|
|
15
|
+
import "./slot-1235c941.js";
|
|
16
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2d5b7847.js";
|
|
18
|
+
import "./index-6f9269bf.js";
|
|
19
|
+
import "./fieldobj-3d0327a8.js";
|
|
20
|
+
import "./share-field-dfc6f214.js";
|
|
21
|
+
import "./multirow-b14caba5.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-1c3560ef.js";
|
|
4
|
+
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2d5b7847.js";
|
|
5
|
+
import { d as U, w as q } from "./expression-d0d5b99e.js";
|
|
6
|
+
import { b as A } from "./share-field-dfc6f214.js";
|
|
7
|
+
import { g as v } from "./slot-1235c941.js";
|
|
8
8
|
const G = b({ componentName: q.ContainerWidget }), ee = /* @__PURE__ */ b({
|
|
9
9
|
...G,
|
|
10
10
|
__name: "feedback-widget",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { j as O } from "./enum-type-6c2444c7.js";
|
|
2
|
+
function b(t) {
|
|
3
3
|
return {
|
|
4
4
|
getAttrProp: (e) => {
|
|
5
5
|
var i, r, a, d, f, l;
|
|
@@ -9,5 +9,5 @@ function j(t) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
b as u
|
|
13
13
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
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-
|
|
2
|
+
import { a as s } from "./enum-type-6c2444c7.js";
|
|
3
3
|
import { I as P } from "./field-base-5547436d.js";
|
|
4
|
-
import { u as $ } from "./share-file-
|
|
5
|
-
import { w as j } from "./expression-
|
|
6
|
-
import { S as d } from "./index-
|
|
7
|
-
import H from "./form-item-wrapper-
|
|
4
|
+
import { u as $ } from "./share-file-39699a73.js";
|
|
5
|
+
import { w as j } from "./expression-d0d5b99e.js";
|
|
6
|
+
import { S as d } from "./index-6f9269bf.js";
|
|
7
|
+
import H from "./form-item-wrapper-e32762ff.js";
|
|
8
8
|
import { _ as A } 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-dfc6f214.js";
|
|
12
|
+
import "./multirow-b14caba5.js";
|
|
13
|
+
import "./baseImp-1b476c77.js";
|
|
14
|
+
import "./uuid-85303a38.js";
|
|
15
|
+
import "./enum-type-f19f3faf.js";
|
|
16
|
+
import "./dialog-7d33aaed.js";
|
|
17
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
22
|
-
import "./fieldobj-
|
|
23
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
19
|
+
import "./index-ed6948ad.js";
|
|
20
|
+
import "./slot-1235c941.js";
|
|
21
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2d5b7847.js";
|
|
22
|
+
import "./fieldobj-3d0327a8.js";
|
|
23
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-a0cb6bb5.js";
|
|
24
24
|
const K = (o) => (W("data-v-3583ad57"), o = o(), D(), o), T = {
|
|
25
25
|
key: 0,
|
|
26
26
|
class: "el-upload__tip"
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as g, computed as r, resolveComponent as w, openBlock as n, createBlock as f, normalizeProps as S, guardReactiveProps as q, withCtx as p, unref as o, normalizeClass as b, createSlots as C, renderSlot as _, createVNode as u, mergeProps as $, createElementBlock as F, createElementVNode as v, normalizeStyle as H } from "vue";
|
|
2
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-
|
|
4
|
-
import { _ as h } from "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { u as W } from "./fieldobj-
|
|
3
|
+
import { _ as O } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2d5b7847.js";
|
|
4
|
+
import { _ as h } from "./label-wrapper.vue_vue_type_style_index_0_lang-a0cb6bb5.js";
|
|
5
|
+
import { u as W } from "./fieldobj-3d0327a8.js";
|
|
6
6
|
import { _ as x } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./uuid-
|
|
9
|
-
import "./enum-type-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./enum-type-
|
|
12
|
-
import "./baseImp-
|
|
8
|
+
import "./uuid-85303a38.js";
|
|
9
|
+
import "./enum-type-6c2444c7.js";
|
|
10
|
+
import "./index-ed6948ad.js";
|
|
11
|
+
import "./enum-type-f19f3faf.js";
|
|
12
|
+
import "./baseImp-1b476c77.js";
|
|
13
13
|
import "./icon-e9532b43.js";
|
|
14
|
-
import "./expression-
|
|
14
|
+
import "./expression-d0d5b99e.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-7d33aaed.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-6f9269bf.js";
|
|
19
19
|
const B = { class: "el-form-item__content" }, j = /* @__PURE__ */ g({
|
|
20
20
|
__name: "form-item-wrapper",
|
|
21
21
|
props: {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { ref as z, reactive as Z, onMounted as le, nextTick as we, defineComponent as ie, resolveComponent as De, resolveDirective as Ve, openBlock as ee, createBlock as te, mergeProps as T, unref as h, withCtx as oe, withDirectives as We, toHandlers as Le, createVNode as je } from "vue";
|
|
2
|
-
import { I as
|
|
3
|
-
import { D as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { w as K, b as ae,
|
|
2
|
+
import { I as Ee } from "./widget-base-4c2d6265.js";
|
|
3
|
+
import { D as Ne } from "./drag-wrapper-1c3560ef.js";
|
|
4
|
+
import { _ as Oe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2d5b7847.js";
|
|
5
|
+
import { w as K, b as ae, g as x, f as D, j as Pe } from "./expression-d0d5b99e.js";
|
|
6
6
|
import { u as Se } from "./icon-e9532b43.js";
|
|
7
|
-
import { u as ye, a as xe } from "./multirow-
|
|
8
|
-
import { i as Ae,
|
|
9
|
-
import { $ as Be, P as ne, B as He } from "./baseImp-
|
|
10
|
-
import { f as qe } from "./index-
|
|
11
|
-
import { b as Te, a as ze, u as Ke } from "./share-field-
|
|
12
|
-
import { W as Ue } from "./enum-type-
|
|
13
|
-
import { F as Ge } from "./slot-
|
|
7
|
+
import { u as ye, a as xe } from "./multirow-b14caba5.js";
|
|
8
|
+
import { i as Ae, D as Me, a as Re, d as $e, E as ke, w as Ie } from "./enum-type-6c2444c7.js";
|
|
9
|
+
import { $ as Be, P as ne, B as He } from "./baseImp-1b476c77.js";
|
|
10
|
+
import { f as qe } from "./index-ed6948ad.js";
|
|
11
|
+
import { b as Te, a as ze, u as Ke } from "./share-field-dfc6f214.js";
|
|
12
|
+
import { W as Ue } from "./enum-type-f19f3faf.js";
|
|
13
|
+
import { F as Ge } from "./slot-1235c941.js";
|
|
14
14
|
import { _ as Je } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
15
|
function Qe(s) {
|
|
16
|
-
const
|
|
16
|
+
const N = s.widget, m = s.designer, C = m == null ? void 0 : m.pageConfig, b = s == null ? void 0 : s.widgetList, O = z({}), A = {}, { fieldModel: M, fieldName: R, fieldEditor: p, attrs: P, events: g, getFieldOptions: S, exposed: F, fieldObj: w, watchOption: V, propResultOpt: v, extendAttrs: _ } = Te(s), { off$: W, on$: L, emit$: y, broadcast: j } = xe();
|
|
17
17
|
var { instance: U } = Se();
|
|
18
|
-
const { setAllRefList: de } = ze(
|
|
18
|
+
const { setAllRefList: de } = ze(O.value), G = { designState: s == null ? void 0 : s.designState, pageConfig: C, globalConfig: v == null ? void 0 : v.globalConfig }, { formModel: $, setData: re, getData: k, clearData: J } = ye(b, { ...G }), { handleFunc: I } = Ke({ options: C }, G), B = Z({}), se = () => {
|
|
19
19
|
W(D.fieldChange), L(D.fieldChange, (e) => {
|
|
20
20
|
ve(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), F == null || F.setValue($), ue(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
21
|
});
|
|
@@ -33,19 +33,19 @@ function Qe(s) {
|
|
|
33
33
|
trigger: a.trigger,
|
|
34
34
|
validator: a.validator
|
|
35
35
|
}));
|
|
36
|
-
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }),
|
|
36
|
+
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }), P.value.rules = B;
|
|
37
37
|
});
|
|
38
38
|
}, H = z(!1), q = Z({}), ue = (e, t, o) => {
|
|
39
39
|
H.value = !0, e && $e(q, { [e]: { oldValue: o, newValue: t } });
|
|
40
40
|
}, me = () => {
|
|
41
41
|
H.value = !1, Me(q);
|
|
42
42
|
}, ve = (e, t, o) => {
|
|
43
|
-
I(
|
|
43
|
+
I(g.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: $ });
|
|
44
44
|
}, pe = () => {
|
|
45
|
-
I(
|
|
46
|
-
}, _e = () => {
|
|
47
|
-
I(_.value.formMounted);
|
|
45
|
+
I(g.value.formCreated);
|
|
48
46
|
}, ge = () => {
|
|
47
|
+
I(g.value.formMounted);
|
|
48
|
+
}, _e = () => {
|
|
49
49
|
fe(), se(), ce(), pe();
|
|
50
50
|
}, he = (e) => {
|
|
51
51
|
var t;
|
|
@@ -61,7 +61,7 @@ function Qe(s) {
|
|
|
61
61
|
i == null || i.forEach((l) => {
|
|
62
62
|
var n;
|
|
63
63
|
const d = (n = l == null ? void 0 : l.rule) == null ? void 0 : n.label;
|
|
64
|
-
l.message && o.push(
|
|
64
|
+
l.message && o.push(Pe(d ? "【" + d + "】" : "", l.message, ":"));
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
return ke(o);
|
|
@@ -103,14 +103,14 @@ function Qe(s) {
|
|
|
103
103
|
}
|
|
104
104
|
}), a) : (o(t), a);
|
|
105
105
|
}, X = (e) => {
|
|
106
|
-
if (
|
|
107
|
-
var t = be(e, [
|
|
106
|
+
if (N) {
|
|
107
|
+
var t = be(e, [N]);
|
|
108
108
|
re(t), j(K.ContainerWidget, ae.setFormData, e, U), j(K.FieldWidget, ae.setFormData, e, U);
|
|
109
109
|
}
|
|
110
110
|
}, Y = (e) => new Promise((t, o) => {
|
|
111
111
|
const a = (n) => {
|
|
112
|
-
var r, u,
|
|
113
|
-
const f = (r =
|
|
112
|
+
var r, u, E;
|
|
113
|
+
const f = (r = _.value) != null && r.formDataLoaded ? (E = (u = _.value) == null ? void 0 : u.formDataLoaded) == null ? void 0 : E.call(u, k(), n) : n;
|
|
114
114
|
f && (X(f), t(f));
|
|
115
115
|
}, i = () => {
|
|
116
116
|
V(e, x.newDataSource, void 0, (n, f) => {
|
|
@@ -118,16 +118,16 @@ function Qe(s) {
|
|
|
118
118
|
});
|
|
119
119
|
}, c = () => {
|
|
120
120
|
V(e, x.editDataSource, void 0, (n, f) => {
|
|
121
|
-
var u,
|
|
122
|
-
((
|
|
121
|
+
var u, E;
|
|
122
|
+
((E = (u = _.value) == null ? void 0 : u.needFormAdd) == null ? void 0 : E.call(u, n)) ? d && i() : a(n);
|
|
123
123
|
});
|
|
124
124
|
}, l = ne.getValue(S(x.editDataSource, !0)) !== null, d = ne.getValue(S(x.newDataSource, !0)) !== null;
|
|
125
125
|
l ? c() : d && i();
|
|
126
126
|
});
|
|
127
|
-
return
|
|
128
|
-
Ae(),
|
|
127
|
+
return _e(), le(() => {
|
|
128
|
+
Ae(), ge();
|
|
129
129
|
}), {
|
|
130
|
-
widgetRefList:
|
|
130
|
+
widgetRefList: O,
|
|
131
131
|
allWidgetRefList: A,
|
|
132
132
|
fieldEditor: p,
|
|
133
133
|
formModel: $,
|
|
@@ -135,9 +135,9 @@ function Qe(s) {
|
|
|
135
135
|
widgetList: b,
|
|
136
136
|
fieldModel: M,
|
|
137
137
|
fieldName: R,
|
|
138
|
-
attrs:
|
|
139
|
-
extendAttrs:
|
|
140
|
-
events:
|
|
138
|
+
attrs: P,
|
|
139
|
+
extendAttrs: _,
|
|
140
|
+
events: g,
|
|
141
141
|
rules: B,
|
|
142
142
|
loadData: Y,
|
|
143
143
|
clearData: J,
|
|
@@ -160,10 +160,10 @@ function Qe(s) {
|
|
|
160
160
|
const Xe = ie({ componentName: K.ContainerWidget }), Ye = /* @__PURE__ */ ie({
|
|
161
161
|
...Xe,
|
|
162
162
|
__name: "form-widget",
|
|
163
|
-
props: { ...
|
|
164
|
-
setup(s, { expose:
|
|
163
|
+
props: { ...Ee },
|
|
164
|
+
setup(s, { expose: N }) {
|
|
165
165
|
var V;
|
|
166
|
-
const m = s, { exposed: C, formModel: b, fieldEditor:
|
|
166
|
+
const m = s, { exposed: C, formModel: b, fieldEditor: O, attrs: A, events: M, widgetRefList: R, extendAttrs: p, fieldName: P, fieldObj: g, loadData: S } = Qe({ ...m, widgetList: (V = m == null ? void 0 : m.widget) == null ? void 0 : V.widgetList }), F = P.value;
|
|
167
167
|
Ge.globalProvide({
|
|
168
168
|
globalFormName: F,
|
|
169
169
|
globalDataModel: b
|
|
@@ -171,31 +171,31 @@ const Xe = ie({ componentName: K.ContainerWidget }), Ye = /* @__PURE__ */ ie({
|
|
|
171
171
|
const w = z(!1);
|
|
172
172
|
return le(() => {
|
|
173
173
|
var v;
|
|
174
|
-
(v = p.value) != null && v.loadDataWhenInit && !m.designState && (w.value = !0, S(!0).then((
|
|
174
|
+
(v = p.value) != null && v.loadDataWhenInit && !m.designState && (w.value = !0, S(!0).then((_) => {
|
|
175
175
|
w.value = !1;
|
|
176
|
-
}).catch((
|
|
176
|
+
}).catch((_) => {
|
|
177
177
|
w.value = !1;
|
|
178
178
|
}).finally(() => {
|
|
179
179
|
C.clearChangeRecord();
|
|
180
180
|
}));
|
|
181
|
-
}),
|
|
181
|
+
}), N({ ...C }), (v, _) => {
|
|
182
182
|
const W = De("el-form"), L = Ve("loading");
|
|
183
|
-
return ee(), te(
|
|
184
|
-
"prop-options": { fieldObj: h(
|
|
183
|
+
return ee(), te(Oe, T(v.$props, {
|
|
184
|
+
"prop-options": { fieldObj: h(g) }
|
|
185
185
|
}), {
|
|
186
186
|
default: oe(({ data: y }) => {
|
|
187
187
|
var j;
|
|
188
188
|
return [
|
|
189
189
|
We((ee(), te(W, T({
|
|
190
190
|
ref_key: "fieldEditor",
|
|
191
|
-
ref:
|
|
191
|
+
ref: O,
|
|
192
192
|
model: h(b)
|
|
193
193
|
}, h(A), Le(h(M)), {
|
|
194
194
|
class: y.injectClass,
|
|
195
|
-
key: (j = h(
|
|
195
|
+
key: (j = h(g)) == null ? void 0 : j.fieldKey
|
|
196
196
|
}), {
|
|
197
197
|
default: oe(() => [
|
|
198
|
-
je(
|
|
198
|
+
je(Ne, T(v.$props, {
|
|
199
199
|
dragClass: "formDrag",
|
|
200
200
|
model: h(b),
|
|
201
201
|
provideModel: !0,
|
|
@@ -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-335bd615.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-d0d5b99e.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-1c3560ef.js";
|
|
5
|
+
import { _ as A } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2d5b7847.js";
|
|
6
|
+
import { b as j } from "./share-field-dfc6f214.js";
|
|
7
|
+
import { c as H } from "./slot-1235c941.js";
|
|
8
8
|
const $ = m({ componentName: b.ContainerWidget }), S = /* @__PURE__ */ m({
|
|
9
9
|
...$,
|
|
10
10
|
__name: "grid-col-widget",
|