hlrender 0.0.2 → 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-19fdee40.js → anchor-widget-2cc76d2f.js} +15 -14
- package/{auto-complete-widget-6b33917d.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-f14aa4e0.js → badge-widget-8754dd54.js} +18 -16
- package/{baseImp-2f7dc5e5.js → baseImp-75d44fdc.js} +1499 -1470
- package/{breadcrumb-widget-54d0a3e7.js → breadcrumb-widget-d106ff2c.js} +26 -25
- package/{button-widget-a97e7cc1.js → button-widget-86bc6ce1.js} +21 -19
- package/{cache-widget-e6abe0d7.js → cache-widget-91ccc78e.js} +17 -16
- package/{card-widget-7af5ea12.js → card-widget-94ead248.js} +26 -25
- package/{carousel-widget-f3d68e50.js → carousel-widget-594b9826.js} +19 -18
- package/{cascader-widget-2b7d38a6.js → cascader-widget-48a13fa7.js} +17 -16
- package/{chart-widget-480c7775.js → chart-widget-849c2efa.js} +15 -14
- package/{checkbox-widget-57451194.js → checkbox-widget-a90c268c.js} +17 -16
- package/{collapse-widget-bba73e41.js → collapse-widget-64a373e5.js} +19 -18
- package/{color-picker-widget-0e4455c0.js → color-picker-widget-107dcfd6.js} +17 -16
- package/{cont-cell-widget-ad2a1d75.js → cont-cell-widget-8b8c86bb.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-3f294d82.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-2555e38d.js} +5 -5
- package/{cont-widget-1c56baa4.js → cont-widget-712b983c.js} +4 -4
- package/content-wrapper-03fcad64.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-4d0c670c.js → content-wrapper.vue_vue_type_script_setup_true_lang-64b272e8.js} +10 -9
- package/{date-picker-range-widget-40d28967.js → date-picker-range-widget-71c01fa8.js} +17 -16
- package/{date-picker-widget-fb90664a.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-a24a881d.js → descriptions-widget-b0508f02.js} +24 -23
- package/{dialog-bb8cdc96.js → dialog-9097cd3a.js} +2 -2
- package/{dialog-widget-8b257456.js → dialog-widget-1d2aeb22.js} +17 -16
- package/{divider-widget-4e4eb2f3.js → divider-widget-8b4ff227.js} +18 -16
- package/drag-wrapper-d545a429.js +258 -0
- package/{drawer-widget-c494426f.js → drawer-widget-e5cae59b.js} +17 -16
- package/{dropdown-widget-aa024f19.js → dropdown-widget-90eba236.js} +16 -15
- package/empty-widget-700c46d3.js +37 -0
- package/{enum-type-38d1c0a4.js → enum-type-a02d0ddc.js} +48 -45
- package/{enum-type-6294b15b.js → enum-type-ad1f81ba.js} +33 -23
- package/{template-5d46761c.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-2cf9c089.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-76f0e10a.js → file-upload-widget-50e793e6.js} +21 -20
- package/form-item-wrapper-3770b8d2.js +97 -0
- package/{form-widget-5cb0527c.js → form-widget-b30bdd88.js} +31 -30
- package/{grid-col-widget-48573e2c.js → grid-col-widget-44300d04.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-f9546cb7.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-8a45aa77.js} +5 -5
- package/{grid-widget-6d9ef0fb.js → grid-widget-26142b27.js} +5 -5
- package/{html-text-widget-ecc420ac.js → html-text-widget-4637806e.js} +16 -15
- package/{iframe-widget-c417a6db.js → iframe-widget-0c47dceb.js} +26 -25
- package/{image-widget-55687657.js → image-widget-2b31b9ff.js} +19 -18
- package/{index-e4aa7784.js → index-30f0db15.js} +4 -4
- package/{index-27e99247.js → index-ce2e6477.js} +1088 -1022
- package/{index-4e636f1b.js → index-ed941348.js} +1 -1
- package/{input-number-widget-f97b1fb1.js → input-number-widget-5863f4e9.js} +17 -16
- package/{input-widget-d4a46dbd.js → input-widget-b5c42dc7.js} +18 -17
- package/{label-wrapper-69f9a63d.js → label-wrapper-c2286145.js} +5 -4
- package/label-wrapper.vue_vue_type_style_index_0_lang-099c2073.js +63 -0
- package/{link-widget-627c6a9c.js → link-widget-6d01d401.js} +22 -20
- package/{ltable-col-widget-481028b7.js → ltable-col-widget-309b4007.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-a01c0458.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7d1646d6.js} +10 -10
- package/{ltable-widget-ce9402c7.js → ltable-widget-00ae75e1.js} +5 -5
- package/{menu-widget-f79d07d0.js → menu-widget-d9ddb076.js} +16 -15
- package/{model-widget-437fe932.js → model-widget-73460f2d.js} +15 -14
- package/multirow-980395e2.js +228 -0
- package/{multirow-widget-a7c1cffe.js → multirow-widget-cbb353d8.js} +147 -146
- package/package.json +1 -1
- package/{pagination-widget-1923eda7.js → pagination-widget-a4301a5f.js} +15 -14
- package/{picture-upload-widget-ad37149d.js → picture-upload-widget-6bfbb9c3.js} +18 -17
- package/progress-widget-092798ba.js +97 -0
- package/{propresult-d557cd2e.js → propresult-8a0911d7.js} +1 -1
- package/{radio-widget-bb5a0442.js → radio-widget-c14c112b.js} +17 -16
- package/{range-widget-c481b596.js → range-widget-13be6e98.js} +18 -17
- package/{rate-widget-f1a7d56c.js → rate-widget-a568f58b.js} +17 -16
- package/render.es.js +183 -182
- package/render.style.css +1 -1
- package/render.umd.js +540 -540
- package/{result-widget-2c9d509e.js → result-widget-8cbdcffb.js} +16 -15
- package/{rich-editor-widget-1c14f188.js → rich-editor-widget-5347c0fb.js} +17 -16
- package/{router-widget-74ee524a.js → router-widget-f34afbc1.js} +15 -14
- package/{select-widget-9fe9d183.js → select-widget-e0f4756d.js} +17 -16
- package/{sfc-3b3527b3.js → sfc-3a8e0889.js} +84 -84
- package/{share-field-ab86b13d.js → share-field-cbdc0f7d.js} +110 -109
- package/{share-file-ec089cec.js → share-file-241e0fcc.js} +15 -15
- package/{slider-widget-983452f0.js → slider-widget-c131ecf9.js} +23 -22
- package/slot-252ff364.js +131 -0
- package/{static-text-widget-f7c89416.js → static-text-widget-1e6c817e.js} +16 -15
- package/{steps-widget-39ca7b01.js → steps-widget-93f66f08.js} +15 -14
- package/subMenu-widget-ad35946d.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-84c082d8.js → subMenu-widget.vue_vue_type_script_setup_true_lang-80e2bb5f.js} +12 -12
- package/{switch-widget-8f97e23d.js → switch-widget-dbb606e6.js} +17 -16
- package/{tab-pane-widget-8b8fa522.js → tab-pane-widget-49c37d5c.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-5580e8d0.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-72ff215a.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-e75630ba.js} +17 -17
- package/{table-widget-318f51d5.js → table-widget-a839d5d5.js} +24 -23
- package/{tabs-widget-d5e8a2f3.js → tabs-widget-3dc76d5d.js} +9 -9
- package/tag-widget-b2eb79a2.js +37 -0
- package/{text-widget-618c66c0.js → text-widget-2b72d397.js} +18 -16
- package/{textarea-widget-8a724865.js → textarea-widget-3a3db0f2.js} +17 -16
- package/{time-picker-range-widget-a57e1058.js → time-picker-range-widget-c0cfe97e.js} +17 -16
- package/{time-picker-widget-792c9e71.js → time-picker-widget-c72def72.js} +17 -16
- package/{time-select-widget-35d7fb88.js → time-select-widget-0ffcb167.js} +20 -19
- package/{tmpl-widget-b3947cb6.js → tmpl-widget-dd53b8b0.js} +29 -28
- package/{tree-select-widget-d8c47b7f.js → tree-select-widget-0d5b08bb.js} +17 -16
- package/{tree-widget-d6a860ed.js → tree-widget-55f540c3.js} +26 -25
- package/{uuid-78f330ef.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-ac97fa8a.js → wrapper-widget-5a1496c5.js} +6 -6
- package/affix-widget-e0e6d00b.js +0 -35
- package/avatar-widget-458b99df.js +0 -35
- package/backtop-widget-a56e768d.js +0 -35
- package/content-wrapper-fb5e79f4.js +0 -14
- package/default-slot-widget-454cd4fa.js +0 -22
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6bf225ad.js +0 -59
- package/drag-wrapper-defb5ecb.js +0 -258
- package/empty-widget-be695b01.js +0 -61
- package/expression-b4a2f43c.js +0 -2181
- package/feedback-widget-b67b8a24.js +0 -23
- package/form-item-wrapper-0c9fcf81.js +0 -111
- package/label-wrapper.vue_vue_type_style_index_0_lang-3b90d1bd.js +0 -80
- package/multirow-ff736df7.js +0 -340
- package/multirow-widget copy-75e6aa65.js +0 -855
- package/progress-widget-23d3197a.js +0 -49
- package/slot-84375736.js +0 -17
- package/subMenu-widget-00fcdf73.js +0 -16
- package/table-col-widget-e6e1ad81.js +0 -20
- package/tag-widget-9940f201.js +0 -35
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3609acb8.js +0 -277
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { defineComponent as d, computed as C, resolveComponent as E, openBlock as l, createBlock as m, mergeProps as n, unref as e, withCtx as F, isRef as b, toHandlers as z, createTextVNode as I, toDisplayString as M } from "vue";
|
|
2
|
-
import { b as B } from "./share-field-
|
|
2
|
+
import { b as B } from "./share-field-cbdc0f7d.js";
|
|
3
3
|
import { I as N } from "./field-base-5547436d.js";
|
|
4
|
-
import P from "./form-item-wrapper-
|
|
5
|
-
import { w as S } from "./
|
|
6
|
-
import { k as a } from "./uuid-
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
4
|
+
import P from "./form-item-wrapper-3770b8d2.js";
|
|
5
|
+
import { w as S } from "./expression-402fef4a.js";
|
|
6
|
+
import { k as a } from "./uuid-aedab58e.js";
|
|
7
|
+
import "./enum-type-ad1f81ba.js";
|
|
8
|
+
import "./multirow-980395e2.js";
|
|
9
|
+
import "./baseImp-75d44fdc.js";
|
|
10
|
+
import "./enum-type-a02d0ddc.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-9097cd3a.js";
|
|
13
13
|
import "element-plus";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-ce2e6477.js";
|
|
16
|
+
import "./slot-252ff364.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
19
|
+
import "./index-ed941348.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./
|
|
22
|
-
|
|
21
|
+
import "./fieldobj-d49dbdc5.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-099c2073.js";
|
|
23
|
+
const W = d({ componentName: S.FieldWidget }), pe = /* @__PURE__ */ d({
|
|
23
24
|
...W,
|
|
24
25
|
__name: "slider-widget",
|
|
25
26
|
props: { ...N },
|
|
@@ -30,22 +31,22 @@ const W = d({ componentName: S.FieldWidget }), ie = /* @__PURE__ */ d({
|
|
|
30
31
|
r.value = a(i, o.value.range);
|
|
31
32
|
}
|
|
32
33
|
});
|
|
33
|
-
return f({ ...O }), (i,
|
|
34
|
+
return f({ ...O }), (i, s) => {
|
|
34
35
|
const w = E("el-slider");
|
|
35
36
|
return l(), m(P, n(i.$props, {
|
|
36
37
|
propOptions: { fieldObj: e(k), rules: e(v), isError: e(V), errorMsg: e(j) }
|
|
37
38
|
}), {
|
|
38
|
-
default: F(({ data:
|
|
39
|
+
default: F(({ data: p }) => [
|
|
39
40
|
(l(), m(w, n({
|
|
40
41
|
ref_key: "fieldEditor",
|
|
41
42
|
ref: _,
|
|
42
43
|
modelValue: e(t),
|
|
43
|
-
"onUpdate:modelValue":
|
|
44
|
+
"onUpdate:modelValue": s[0] || (s[0] = (x) => b(t) ? t.value = x : null),
|
|
44
45
|
key: e(g)
|
|
45
46
|
}, e(o), z(e(y)), {
|
|
46
|
-
size:
|
|
47
|
-
class:
|
|
48
|
-
style:
|
|
47
|
+
size: p.size,
|
|
48
|
+
class: p.injectClass,
|
|
49
|
+
style: p.injectStyle
|
|
49
50
|
}), null, 16, ["modelValue", "size", "class", "style"])),
|
|
50
51
|
I(" " + M(e(r)), 1)
|
|
51
52
|
]),
|
|
@@ -55,5 +56,5 @@ const W = d({ componentName: S.FieldWidget }), ie = /* @__PURE__ */ d({
|
|
|
55
56
|
}
|
|
56
57
|
});
|
|
57
58
|
export {
|
|
58
|
-
|
|
59
|
+
pe as default
|
|
59
60
|
};
|
package/slot-252ff364.js
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
var H = Object.defineProperty;
|
|
2
|
+
var O = (g, l, o) => l in g ? H(g, l, { enumerable: !0, configurable: !0, writable: !0, value: o }) : g[l] = o;
|
|
3
|
+
var i = (g, l, o) => (O(g, typeof l != "symbol" ? l + "" : l, o), o);
|
|
4
|
+
import { inject as L, provide as C, computed as f } from "vue";
|
|
5
|
+
import { d as s, b as t, l as q } from "./expression-402fef4a.js";
|
|
6
|
+
import { B as T } from "./baseImp-75d44fdc.js";
|
|
7
|
+
import { c as F } from "./uuid-aedab58e.js";
|
|
8
|
+
import { n as V, d as B } from "./enum-type-ad1f81ba.js";
|
|
9
|
+
class W {
|
|
10
|
+
constructor() {
|
|
11
|
+
/**
|
|
12
|
+
* 当前表单引用库
|
|
13
|
+
* 假设表单组件位于表单form中,则该引用注册入库
|
|
14
|
+
*/
|
|
15
|
+
i(this, "formRefList", {});
|
|
16
|
+
/**
|
|
17
|
+
* 全局引用库
|
|
18
|
+
*/
|
|
19
|
+
i(this, "globalRefList", {});
|
|
20
|
+
/**
|
|
21
|
+
* 全局数据对象
|
|
22
|
+
*/
|
|
23
|
+
i(this, "globalDataModel", {});
|
|
24
|
+
/**
|
|
25
|
+
* 当前表单名称
|
|
26
|
+
*/
|
|
27
|
+
i(this, "globalFormName", "");
|
|
28
|
+
/**
|
|
29
|
+
* 全局页面名称
|
|
30
|
+
*/
|
|
31
|
+
i(this, "globalPageName", "");
|
|
32
|
+
/**
|
|
33
|
+
* 用于类似template组件的数据绑定传递
|
|
34
|
+
*/
|
|
35
|
+
i(this, "rowScope", {});
|
|
36
|
+
/**
|
|
37
|
+
* 渲染器调用者传入的配置参数,如接口地址、密钥等
|
|
38
|
+
*/
|
|
39
|
+
i(this, "globalConfig", {});
|
|
40
|
+
}
|
|
41
|
+
static globalInject() {
|
|
42
|
+
const l = new W();
|
|
43
|
+
return l.formRefList = L(s.refList, {}), l.globalRefList = L(s.allRefList, {}), l.globalDataModel = L(s.globalModel, {}), l.rowScope = L(s.rowScope, {}), l.globalFormName = L(s.globalForm, ""), l.globalPageName = L(s.globalPage, ""), l.globalConfig = L(s.globalConfig, {}), l;
|
|
44
|
+
}
|
|
45
|
+
static globalProvide(l) {
|
|
46
|
+
if ((l == null ? void 0 : l.globalDataModel) !== void 0) {
|
|
47
|
+
const o = (l == null ? void 0 : l.globalDataModel) || {};
|
|
48
|
+
C(s.globalModel, o);
|
|
49
|
+
}
|
|
50
|
+
if ((l == null ? void 0 : l.rowScope) !== void 0) {
|
|
51
|
+
const o = (l == null ? void 0 : l.rowScope) || {};
|
|
52
|
+
C(s.rowScope, o);
|
|
53
|
+
}
|
|
54
|
+
if ((l == null ? void 0 : l.globalRefList) !== void 0) {
|
|
55
|
+
const o = (l == null ? void 0 : l.globalRefList) || {};
|
|
56
|
+
C(s.allRefList, o);
|
|
57
|
+
}
|
|
58
|
+
if ((l == null ? void 0 : l.formRefList) !== void 0) {
|
|
59
|
+
const o = (l == null ? void 0 : l.formRefList) || {};
|
|
60
|
+
C(s.refList, o);
|
|
61
|
+
}
|
|
62
|
+
if ((l == null ? void 0 : l.globalFormName) !== void 0) {
|
|
63
|
+
const o = (l == null ? void 0 : l.globalFormName) || "";
|
|
64
|
+
C(s.globalForm, o);
|
|
65
|
+
}
|
|
66
|
+
if ((l == null ? void 0 : l.globalPageName) !== void 0) {
|
|
67
|
+
const o = (l == null ? void 0 : l.globalPageName) || "";
|
|
68
|
+
C(s.globalPage, o);
|
|
69
|
+
}
|
|
70
|
+
if ((l == null ? void 0 : l.globalConfig) !== void 0) {
|
|
71
|
+
const o = (l == null ? void 0 : l.globalConfig) || "";
|
|
72
|
+
C(s.globalConfig, o);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
function U(g) {
|
|
77
|
+
const l = (b, w = !1) => T.getOptions(g == null ? void 0 : g.widget, b, w, !(g != null && g.designState)), o = f(() => l(t.ctrlWidth) || "auto"), n = f(() => l(t.ctrlHeight) || "auto"), u = f(() => {
|
|
78
|
+
var b = l(t.customClass);
|
|
79
|
+
return Array.isArray(b) ? b == null ? void 0 : b.join(" ") : "";
|
|
80
|
+
}), a = f(() => {
|
|
81
|
+
var b = l(t.componentWrapperClass);
|
|
82
|
+
return Array.isArray(b) ? b == null ? void 0 : b.join(" ") : "";
|
|
83
|
+
}), M = f(() => {
|
|
84
|
+
var b, w;
|
|
85
|
+
return (w = F((b = l(t.required, !0)) == null ? void 0 : b.options)) == null ? void 0 : w.enable;
|
|
86
|
+
}), D = f(() => l(t.displayLayout)), R = f(() => l(t.labelTooltip)), e = f(() => l(t.labelIconClass)), h = f(() => l(t.labelIconPosition)), N = f(() => l(t.labelHidden)), S = f(() => l(t.label)), y = f(() => l(t.labelWidth)), A = f(() => l(t.labelAlign));
|
|
87
|
+
return {
|
|
88
|
+
//size,
|
|
89
|
+
attrs: f(() => ({
|
|
90
|
+
required: M.value,
|
|
91
|
+
label: S.value,
|
|
92
|
+
labelHidden: N.value,
|
|
93
|
+
labelAlign: A.value,
|
|
94
|
+
labelIconClass: e.value,
|
|
95
|
+
labelIconPosition: h.value,
|
|
96
|
+
labelTooltip: R.value,
|
|
97
|
+
labelWidth: y.value,
|
|
98
|
+
ctrlWidth: o.value
|
|
99
|
+
})),
|
|
100
|
+
labelAlign: A,
|
|
101
|
+
labelHidden: N,
|
|
102
|
+
labelIconClass: e,
|
|
103
|
+
labelIconPosition: h,
|
|
104
|
+
labelTooltip: R,
|
|
105
|
+
labelWidth: y,
|
|
106
|
+
label: S,
|
|
107
|
+
displayLayout: D,
|
|
108
|
+
// hidden,
|
|
109
|
+
// required,
|
|
110
|
+
ctrlWidth: o,
|
|
111
|
+
ctrlHeight: n,
|
|
112
|
+
customClass: u,
|
|
113
|
+
componentWrapperClass: a
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
const X = (g, l = !0, o) => {
|
|
117
|
+
if (o != null && o === !1)
|
|
118
|
+
return [];
|
|
119
|
+
const n = x(g);
|
|
120
|
+
return l || (g == null ? void 0 : g.length) <= 0 ? n : n == null ? void 0 : n.filter((u) => {
|
|
121
|
+
var a;
|
|
122
|
+
return !!(u != null && u.widgetList) && ((a = u == null ? void 0 : u.widgetList) == null ? void 0 : a.length) > 0 || !!u.default || (u == null ? void 0 : u.slotName) === q.default;
|
|
123
|
+
});
|
|
124
|
+
}, Y = (g, l) => g == null ? void 0 : g.find((o) => (o == null ? void 0 : o.slotName) === l), x = (g) => V(g) ? Array.isArray(g) ? g == null ? void 0 : g.map((l) => (B(l, { widgetList: [] }), F(l))) : (console.log("error slots", g), []) : [];
|
|
125
|
+
export {
|
|
126
|
+
W as F,
|
|
127
|
+
Y as a,
|
|
128
|
+
U as c,
|
|
129
|
+
X as g,
|
|
130
|
+
x as i
|
|
131
|
+
};
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as c, createBlock as d, mergeProps as _, unref as o, withCtx as u, createVNode as x } from "vue";
|
|
2
2
|
import { I as g } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as w } from "./share-field-
|
|
4
|
-
import { w as C } from "./
|
|
5
|
-
import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { G as h } from "./enum-type-
|
|
3
|
+
import { b as w } from "./share-field-cbdc0f7d.js";
|
|
4
|
+
import { w as C } from "./expression-402fef4a.js";
|
|
5
|
+
import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
6
|
+
import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-64b272e8.js";
|
|
7
|
+
import { G as h } 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 k = e({ componentName: C.FieldWidget }), Q = /* @__PURE__ */ e({
|
|
22
23
|
...k,
|
|
23
24
|
__name: "static-text-widget",
|
|
24
25
|
props: { ...g },
|
|
@@ -44,5 +45,5 @@ const k = e({ componentName: C.FieldWidget }), M = /* @__PURE__ */ e({
|
|
|
44
45
|
}
|
|
45
46
|
});
|
|
46
47
|
export {
|
|
47
|
-
|
|
48
|
+
Q as default
|
|
48
49
|
};
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { defineComponent as f, computed as E, ref as F, resolveComponent as u, openBlock as r, createBlock as s, mergeProps as i, unref as e, withCtx as o, toHandlers as M, createElementBlock as S, Fragment as T, renderList as B, createSlots as N, createElementVNode as _, createVNode as O } from "vue";
|
|
2
2
|
import { I as P } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
-
import { b as K } from "./share-field-
|
|
5
|
-
import { S as W } from "./index-
|
|
6
|
-
import { w as q } from "./
|
|
7
|
-
import { c as p } from "./uuid-
|
|
3
|
+
import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
4
|
+
import { b as K } from "./share-field-cbdc0f7d.js";
|
|
5
|
+
import { S as W } from "./index-ed941348.js";
|
|
6
|
+
import { w as q } from "./expression-402fef4a.js";
|
|
7
|
+
import { c as p } from "./uuid-aedab58e.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./enum-type-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./enum-type-
|
|
12
|
-
import "./baseImp-
|
|
9
|
+
import "./enum-type-ad1f81ba.js";
|
|
10
|
+
import "./index-ce2e6477.js";
|
|
11
|
+
import "./enum-type-a02d0ddc.js";
|
|
12
|
+
import "./baseImp-75d44fdc.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 "./
|
|
18
|
-
import "./
|
|
17
|
+
import "./fieldobj-d49dbdc5.js";
|
|
18
|
+
import "./multirow-980395e2.js";
|
|
19
|
+
import "./slot-252ff364.js";
|
|
19
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
const z = ["innerHTML"], A = ["innerHTML"], D = f({ componentName: q.FieldWidget }),
|
|
21
|
+
const z = ["innerHTML"], A = ["innerHTML"], D = f({ componentName: q.FieldWidget }), fe = /* @__PURE__ */ f({
|
|
21
22
|
...D,
|
|
22
23
|
__name: "steps-widget",
|
|
23
24
|
props: { ...P },
|
|
@@ -84,5 +85,5 @@ const z = ["innerHTML"], A = ["innerHTML"], D = f({ componentName: q.FieldWidget
|
|
|
84
85
|
}
|
|
85
86
|
});
|
|
86
87
|
export {
|
|
87
|
-
|
|
88
|
+
fe as default
|
|
88
89
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-80e2bb5f.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./index-ed941348.js";
|
|
4
|
+
import "./enum-type-ad1f81ba.js";
|
|
5
|
+
import "./icon-e9532b43.js";
|
|
6
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
7
|
+
import "./enum-type-a02d0ddc.js";
|
|
8
|
+
import "./baseImp-75d44fdc.js";
|
|
9
|
+
import "./uuid-aedab58e.js";
|
|
10
|
+
import "./expression-402fef4a.js";
|
|
11
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
+
import "./dialog-9097cd3a.js";
|
|
13
|
+
import "element-plus";
|
|
14
|
+
export {
|
|
15
|
+
o as default
|
|
16
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as g, openBlock as u, createElementBlock as t, Fragment as y, renderList as b, createBlock as
|
|
2
|
-
import { S as h } from "./index-
|
|
3
|
-
import {
|
|
4
|
-
import { h as M, P as v } from "./baseImp-
|
|
1
|
+
import { defineComponent as g, openBlock as u, createElementBlock as t, Fragment as y, renderList as b, createBlock as a, resolveDynamicComponent as C, unref as p, withCtx as d, createCommentVNode as I, createElementVNode as _, toDisplayString as x } from "vue";
|
|
2
|
+
import { S as h } from "./index-ed941348.js";
|
|
3
|
+
import { aa as o } from "./enum-type-a02d0ddc.js";
|
|
4
|
+
import { h as M, P as v } from "./baseImp-75d44fdc.js";
|
|
5
5
|
const N = /* @__PURE__ */ g({
|
|
6
6
|
__name: "subMenu-widget",
|
|
7
7
|
props: {
|
|
@@ -11,17 +11,17 @@ const N = /* @__PURE__ */ g({
|
|
|
11
11
|
setup(c) {
|
|
12
12
|
const k = (n) => {
|
|
13
13
|
var e;
|
|
14
|
-
if (n.menuItemType ===
|
|
14
|
+
if (n.menuItemType === o.None || !n.menuItemType)
|
|
15
15
|
return ((e = n == null ? void 0 : n.children) == null ? void 0 : e.length) > 0 ? "el-sub-menu" : "el-menu-item";
|
|
16
16
|
let l = "";
|
|
17
17
|
switch (n.menuItemType) {
|
|
18
|
-
case
|
|
18
|
+
case o.MenuItem:
|
|
19
19
|
l = "el-menu-item";
|
|
20
20
|
break;
|
|
21
|
-
case
|
|
21
|
+
case o.MenuItemGroup:
|
|
22
22
|
l = "el-menu-item-group";
|
|
23
23
|
break;
|
|
24
|
-
case
|
|
24
|
+
case o.SubMenu:
|
|
25
25
|
l = "el-sub-menu";
|
|
26
26
|
break;
|
|
27
27
|
default:
|
|
@@ -30,7 +30,7 @@ const N = /* @__PURE__ */ g({
|
|
|
30
30
|
}
|
|
31
31
|
return l;
|
|
32
32
|
};
|
|
33
|
-
return (n, l) => (u(!0), t(y, null, b(c.items, (e, f) => (u(),
|
|
33
|
+
return (n, l) => (u(!0), t(y, null, b(c.items, (e, f) => (u(), a(C(k(e)), {
|
|
34
34
|
key: f,
|
|
35
35
|
index: c.useRouter ? e == null ? void 0 : e.route : (e == null ? void 0 : e.value) + "",
|
|
36
36
|
onClick: (r) => {
|
|
@@ -41,7 +41,7 @@ const N = /* @__PURE__ */ g({
|
|
|
41
41
|
title: d(() => {
|
|
42
42
|
var r;
|
|
43
43
|
return [
|
|
44
|
-
((r = e == null ? void 0 : e.children) == null ? void 0 : r.length) > 0 ? (u(),
|
|
44
|
+
((r = e == null ? void 0 : e.children) == null ? void 0 : r.length) > 0 ? (u(), a(h, {
|
|
45
45
|
key: 0,
|
|
46
46
|
name: e == null ? void 0 : e.icon
|
|
47
47
|
}, null, 8, ["name"])) : I("", !0),
|
|
@@ -51,10 +51,10 @@ const N = /* @__PURE__ */ g({
|
|
|
51
51
|
default: d(() => {
|
|
52
52
|
var r;
|
|
53
53
|
return [
|
|
54
|
-
((r = e == null ? void 0 : e.children) == null ? void 0 : r.length) <= 0 ? (u(),
|
|
54
|
+
((r = e == null ? void 0 : e.children) == null ? void 0 : r.length) <= 0 ? (u(), a(h, {
|
|
55
55
|
key: 0,
|
|
56
56
|
name: e == null ? void 0 : e.icon
|
|
57
|
-
}, null, 8, ["name"])) : (u(),
|
|
57
|
+
}, null, 8, ["name"])) : (u(), a(N, {
|
|
58
58
|
key: 1,
|
|
59
59
|
items: e == null ? void 0 : e.children
|
|
60
60
|
}, null, 8, ["items"]))
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { defineComponent as m, resolveComponent as F, openBlock as i, createBlock as p, mergeProps as s, unref as e, withCtx as O, isRef as V, toHandlers as b } from "vue";
|
|
2
|
-
import { w as h } from "./
|
|
3
|
-
import { b as v } from "./share-field-
|
|
2
|
+
import { w as h } from "./expression-402fef4a.js";
|
|
3
|
+
import { b as v } from "./share-field-cbdc0f7d.js";
|
|
4
4
|
import { I as x } from "./field-base-5547436d.js";
|
|
5
|
-
import z from "./form-item-wrapper-
|
|
5
|
+
import z from "./form-item-wrapper-3770b8d2.js";
|
|
6
|
+
import "./enum-type-ad1f81ba.js";
|
|
7
|
+
import "./uuid-aedab58e.js";
|
|
6
8
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./baseImp-2f7dc5e5.js";
|
|
11
|
-
import "./enum-type-38d1c0a4.js";
|
|
9
|
+
import "./multirow-980395e2.js";
|
|
10
|
+
import "./baseImp-75d44fdc.js";
|
|
11
|
+
import "./enum-type-a02d0ddc.js";
|
|
12
12
|
import "./icon-e9532b43.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-9097cd3a.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-ce2e6477.js";
|
|
16
|
+
import "./slot-252ff364.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
19
|
+
import "./index-ed941348.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./
|
|
22
|
-
|
|
21
|
+
import "./fieldobj-d49dbdc5.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-099c2073.js";
|
|
23
|
+
const I = m({ componentName: h.FieldWidget }), ee = /* @__PURE__ */ m({
|
|
23
24
|
...I,
|
|
24
25
|
__name: "switch-widget",
|
|
25
26
|
props: { ...x },
|
|
@@ -49,5 +50,5 @@ const I = m({ componentName: h.FieldWidget }), Z = /* @__PURE__ */ m({
|
|
|
49
50
|
}
|
|
50
51
|
});
|
|
51
52
|
export {
|
|
52
|
-
|
|
53
|
+
ee as default
|
|
53
54
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
1
|
+
import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-1dcb50c4.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 s, openBlock as l, createBlock as f, mergeProps as p, unref as e, withCtx as g, createVNode as _ } from "vue";
|
|
2
|
-
import { w as u } from "./
|
|
2
|
+
import { w as u } from "./expression-402fef4a.js";
|
|
3
3
|
import { I as w } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as C } from "./drag-wrapper-
|
|
5
|
-
import { _ as W } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { c as b } from "./
|
|
7
|
-
import { b as h } from "./share-field-
|
|
4
|
+
import { D as C } from "./drag-wrapper-d545a429.js";
|
|
5
|
+
import { _ as W } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
6
|
+
import { c as b } from "./slot-252ff364.js";
|
|
7
|
+
import { b as h } from "./share-field-cbdc0f7d.js";
|
|
8
8
|
const k = s({ componentName: u.ContainerWidget }), j = /* @__PURE__ */ s({
|
|
9
9
|
...k,
|
|
10
10
|
__name: "tab-pane-widget",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-e75630ba.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./enum-type-ad1f81ba.js";
|
|
4
|
+
import "./icon-e9532b43.js";
|
|
5
|
+
import "./uuid-aedab58e.js";
|
|
6
|
+
import "./baseImp-75d44fdc.js";
|
|
7
|
+
import "./enum-type-a02d0ddc.js";
|
|
8
|
+
import "./expression-402fef4a.js";
|
|
9
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
10
|
+
import "./dialog-9097cd3a.js";
|
|
11
|
+
import "element-plus";
|
|
12
|
+
import "./drag-wrapper-d545a429.js";
|
|
13
|
+
import "./widget-base-4c2d6265.js";
|
|
14
|
+
import "./index-ce2e6477.js";
|
|
15
|
+
import "./slot-252ff364.js";
|
|
16
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
+
import "./multirow-980395e2.js";
|
|
18
|
+
export {
|
|
19
|
+
o as default
|
|
20
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as
|
|
3
|
-
import { u as
|
|
4
|
-
import { c as R } from "./uuid-
|
|
5
|
-
import { b as
|
|
6
|
-
import { D as W } from "./drag-wrapper-
|
|
7
|
-
import { a as u } from "./slot-
|
|
8
|
-
import { b as K } from "./multirow-
|
|
9
|
-
const M = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as E, resolveComponent as G, openBlock as i, createBlock as a, normalizeProps as H, guardReactiveProps as I, unref as e, withCtx as v, resolveDynamicComponent as A, createCommentVNode as l, createElementBlock as F, Fragment as L, renderList as N } from "vue";
|
|
2
|
+
import { a as V } from "./enum-type-ad1f81ba.js";
|
|
3
|
+
import { u as j } from "./icon-e9532b43.js";
|
|
4
|
+
import { c as R } from "./uuid-aedab58e.js";
|
|
5
|
+
import { b as q, H as J } from "./baseImp-75d44fdc.js";
|
|
6
|
+
import { D as W } from "./drag-wrapper-d545a429.js";
|
|
7
|
+
import { a as u } from "./slot-252ff364.js";
|
|
8
|
+
import { b as K } from "./multirow-980395e2.js";
|
|
9
|
+
const M = /* @__PURE__ */ E({
|
|
10
10
|
__name: "table-col-widget",
|
|
11
11
|
props: {
|
|
12
12
|
options: null,
|
|
@@ -15,7 +15,7 @@ const M = /* @__PURE__ */ z({
|
|
|
15
15
|
propResultOpt: null
|
|
16
16
|
},
|
|
17
17
|
setup(t) {
|
|
18
|
-
const r = t, { attrs:
|
|
18
|
+
const r = t, { attrs: O, extendAttrs: P, slots: s } = q(
|
|
19
19
|
{ options: r.options },
|
|
20
20
|
r.propResultOpt,
|
|
21
21
|
{
|
|
@@ -24,10 +24,10 @@ const M = /* @__PURE__ */ z({
|
|
|
24
24
|
s_attr: !0,
|
|
25
25
|
fn_attr: (c) => !["children"].includes(c)
|
|
26
26
|
}
|
|
27
|
-
), { newSlot:
|
|
27
|
+
), { newSlot: T } = K(), { instance: $ } = j(), g = J({ instance: $ });
|
|
28
28
|
return (c, Q) => {
|
|
29
|
-
const
|
|
30
|
-
return i(), a(
|
|
29
|
+
const z = G("el-table-column");
|
|
30
|
+
return i(), a(z, H(I(e(O))), {
|
|
31
31
|
header: v((n) => {
|
|
32
32
|
var o, d;
|
|
33
33
|
return [
|
|
@@ -41,25 +41,25 @@ const M = /* @__PURE__ */ z({
|
|
|
41
41
|
default: v((n) => {
|
|
42
42
|
var o, d, m, f, S, p, w, h, x, k, y, b, C, B;
|
|
43
43
|
return [
|
|
44
|
-
(((d = (o = t.options) == null ? void 0 : o.children) == null ? void 0 : d.length) || 0) > 0 ? (i(!0), F(L, { key: 0 },
|
|
44
|
+
(((d = (o = t.options) == null ? void 0 : o.children) == null ? void 0 : d.length) || 0) > 0 ? (i(!0), F(L, { key: 0 }, N((m = t.options) == null ? void 0 : m.children, (D, U) => (i(), a(M, {
|
|
45
45
|
designState: t.designState,
|
|
46
46
|
designer: t.designer,
|
|
47
47
|
key: D.uuid,
|
|
48
48
|
options: D
|
|
49
49
|
}, null, 8, ["designState", "designer", "options"]))), 128)) : l("", !0),
|
|
50
|
-
(f = e(
|
|
50
|
+
(f = e(P)) != null && f.slotable && (t.designState && ((p = (S = r.options) == null ? void 0 : S.default) != null && p.widgetList) || !t.designState || ((x = (h = (w = r.options) == null ? void 0 : w.default) == null ? void 0 : h.widgetList) == null ? void 0 : x.length) > 0) ? (i(), F(L, { key: 1 }, [
|
|
51
51
|
t.designState ? (i(), a(W, {
|
|
52
52
|
key: 0,
|
|
53
53
|
designState: t.designState,
|
|
54
54
|
designer: t.designer,
|
|
55
55
|
widget: e(R)((k = r.options) == null ? void 0 : k.default),
|
|
56
|
-
dragTip: e(
|
|
56
|
+
dragTip: e(V).i18nt("designer.hint.draggableArea1"),
|
|
57
57
|
"row-scope": n
|
|
58
58
|
}, null, 8, ["designState", "designer", "widget", "dragTip", "row-scope"])) : (i(), a(W, {
|
|
59
59
|
key: 1,
|
|
60
60
|
designState: t.designState,
|
|
61
61
|
designer: t.designer,
|
|
62
|
-
widget: e(R)((b = e(
|
|
62
|
+
widget: e(R)((b = e(T)([(y = r.options) == null ? void 0 : y.default], n, (n == null ? void 0 : n.$index) < 0 ? "header" : n == null ? void 0 : n.$index)) == null ? void 0 : b.widget[0]),
|
|
63
63
|
"row-scope": n
|
|
64
64
|
}, null, 8, ["designState", "designer", "widget", "row-scope"]))
|
|
65
65
|
], 64)) : l("", !0),
|