@web-utils/component 2.7.3 → 2.7.5
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/dist/chunks/AfdColumn.vue_vue_type_template_lang.768f2ed2.js +302 -0
- package/dist/chunks/ConfigArray.vue_vue_type_template_lang.66483daa.js +51 -0
- package/dist/chunks/ConfigColor.vue_vue_type_template_lang.cd880091.js +24 -0
- package/dist/chunks/ConfigCustom.vue_vue_type_template_lang.6e03d7fd.js +52 -0
- package/dist/chunks/ConfigDate.vue_vue_type_template_lang.420fa897.js +104 -0
- package/dist/chunks/ConfigDynamic.vue_vue_type_template_lang.82d24ab0.js +133 -0
- package/dist/chunks/ConfigEvent.vue_vue_type_template_lang.5e8ed6cc.js +96 -0
- package/dist/chunks/ConfigGroup.vue_vue_type_template_lang.44117322.js +48 -0
- package/dist/chunks/ConfigInput.vue_vue_type_template_lang.cc1eb052.js +96 -0
- package/dist/chunks/ConfigMap.vue_vue_type_template_lang.daee4d38.js +31 -0
- package/dist/chunks/ConfigNumber.vue_vue_type_template_lang.d60231d7.js +130 -0
- package/dist/chunks/ConfigRate.vue_vue_type_style_index_0_scoped_true_lang.cf5d437d.js +125 -0
- package/dist/chunks/ConfigSelect.vue_vue_type_template_lang.7db7e57f.js +483 -0
- package/dist/chunks/ConfigSlider.vue_vue_type_template_lang.27b8cc7b.js +99 -0
- package/dist/chunks/ConfigSwitch.vue_vue_type_style_index_0_scoped_true_lang.4caf1bd0.js +54 -0
- package/dist/chunks/ConfigTable.vue_vue_type_template_lang.3e8136d9.js +341 -0
- package/dist/chunks/ConfigTextarea.vue_vue_type_template_lang.5cddf41c.js +88 -0
- package/dist/chunks/ConfigTitle.vue_vue_type_template_lang.57d9deb5.js +87 -0
- package/dist/chunks/ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.3770c37e.js +464 -0
- package/dist/chunks/ConfigUEditor.vue_vue_type_template_lang.9726b4f5.js +240 -0
- package/dist/chunks/ConfigUpload.vue_vue_type_template_lang.531a9b2a.js +471 -0
- package/dist/chunks/FormConfig.vue_vue_type_template_lang.85b4ee87.js +232 -0
- package/dist/chunks/WidgetConfig.vue_vue_type_template_lang.fbbbff76.js +1765 -0
- package/dist/chunks/WidgetForm.vue_vue_type_template_lang.82248338.js +242 -0
- package/dist/chunks/WidgetFormGroup.vue_vue_type_template_lang.c636aabd.js +266 -0
- package/dist/chunks/WidgetFormItem.vue_vue_type_template_lang.48d55a5c.js +24 -0
- package/dist/chunks/WidgetFormTable.vue_vue_type_template_lang.30625146.js +228 -0
- package/dist/chunks/{dataformat.3cfcf62c.js → dataformat.d3fd2d1b.js} +25 -24
- package/dist/chunks/{detail.a3249549.js → detail.ac4d421a.js} +7 -7
- package/dist/chunks/{dic.5f7e3523.js → dic.79d9f595.js} +28 -27
- package/dist/chunks/{event.b76c568a.js → event.43b42228.js} +7 -6
- package/dist/chunks/{init.352281f5.js → init.3b47bb80.js} +8 -7
- package/dist/chunks/monaco.1dbdc960.js +283 -0
- package/dist/chunks/{packages.5d7a86c4.js → packages.6f252850.js} +5 -61
- package/dist/chunks/{util.5053d54e.js → util.80e28481.js} +37 -51
- package/dist/components/afd-column/index.js +54 -0
- package/dist/components/chat/index.js +1 -1
- package/dist/components/code/index.js +1 -1
- package/dist/components/column/index.js +8 -7
- package/dist/components/column-default/index.js +1 -1
- package/dist/components/column-dynamic/index.js +1 -1
- package/dist/components/column-menu/index.js +1 -1
- package/dist/components/column-slot/index.js +27 -26
- package/dist/components/config-array/index.js +26 -0
- package/dist/components/config-color/index.js +26 -0
- package/dist/components/config-custom/index.js +60 -0
- package/dist/components/config-date/index.js +26 -0
- package/dist/components/config-dynamic/index.js +26 -0
- package/dist/components/config-event/index.js +72 -0
- package/dist/components/config-group/index.js +34 -0
- package/dist/components/config-input/index.js +26 -0
- package/dist/components/config-map/index.js +26 -0
- package/dist/components/config-number/index.js +26 -0
- package/dist/components/config-rate/index.js +69 -0
- package/dist/components/config-rate/style.css +1 -0
- package/dist/components/config-select/index.js +88 -0
- package/dist/components/config-slider/index.js +26 -0
- package/dist/components/config-switch/index.js +31 -0
- package/dist/components/config-switch/style.css +1 -0
- package/dist/components/config-table/index.js +120 -0
- package/dist/components/config-textarea/index.js +26 -0
- package/dist/components/config-title/index.js +31 -0
- package/dist/components/config-tree/index.js +120 -0
- package/dist/components/config-tree/style.css +1 -0
- package/dist/components/config-u-editor/index.js +32 -0
- package/dist/components/config-upload/index.js +56 -0
- package/dist/components/custom-scrollbar/index.js +6 -1
- package/dist/components/dialog-excel/index.js +2 -2
- package/dist/components/dialog-filter/index.js +1 -1
- package/dist/components/dialog-form/index.js +8 -7
- package/dist/components/flex-item/index.js +4 -1
- package/dist/components/flow/index.js +1 -1
- package/dist/components/flow-node/index.js +1 -1
- package/dist/components/form-config/index.js +26 -0
- package/dist/components/form-group/index.js +1 -1
- package/dist/components/form-temp/index.js +2 -2
- package/dist/components/{array → fy-array}/index.js +5 -5
- package/dist/components/{array → fy-array}/style.css +0 -0
- package/dist/components/fy-cascader/index.js +1 -1
- package/dist/components/fy-checkbox/index.js +1 -1
- package/dist/components/fy-curd/index.js +7 -6
- package/dist/components/fy-date/index.js +1 -1
- package/dist/components/fy-dialog-form/index.js +9 -8
- package/dist/components/{draggable → fy-draggable}/index.js +2 -2
- package/dist/components/{draggable → fy-draggable}/style.css +0 -0
- package/dist/components/fy-dynamic/index.js +2 -2
- package/dist/components/{empty → fy-empty}/index.js +6 -6
- package/dist/components/{empty → fy-empty}/style.css +0 -0
- package/dist/components/fy-form/index.js +9 -8
- package/dist/components/fy-form-design/index.js +1255 -0
- package/dist/components/fy-form-design/style.css +1 -0
- package/dist/components/fy-input/index.js +1 -1
- package/dist/components/fy-input-color/index.js +1 -1
- package/dist/components/fy-input-icon/index.js +1 -1
- package/dist/components/fy-input-map/index.js +4 -4
- package/dist/components/fy-input-number/index.js +1 -1
- package/dist/components/fy-input-table/index.js +4 -4
- package/dist/components/fy-input-tree/index.js +2 -2
- package/dist/components/fy-radio/index.js +1 -1
- package/dist/components/fy-rate/index.js +1 -1
- package/dist/components/fy-select/index.js +18 -17
- package/dist/components/fy-slider/index.js +2 -2
- package/dist/components/fy-switch/index.js +1 -1
- package/dist/components/fy-time/index.js +2 -2
- package/dist/components/fy-title/index.js +1 -1
- package/dist/components/fy-tree/index.js +7 -6
- package/dist/components/fy-upload/index.js +11 -10
- package/dist/components/header-menu/index.js +1 -1
- package/dist/components/header-search/index.js +2 -2
- package/dist/components/license/index.js +5 -5
- package/dist/components/login/index.js +9 -8
- package/dist/components/record-video/index.js +1 -1
- package/dist/components/search/index.js +10 -9
- package/dist/components/sign/index.js +1 -1
- package/dist/components/table-column/index.js +4 -1
- package/dist/components/table-page/index.js +1 -1
- package/dist/components/text-ellipsis/index.js +1 -1
- package/dist/components/verify/index.js +1 -1
- package/dist/components/watermark/index.js +5 -1
- package/dist/components/widget-config/index.js +107 -0
- package/dist/components/widget-form/index.js +68 -0
- package/dist/components/widget-form-group/index.js +91 -0
- package/dist/components/widget-form-item/index.js +70 -0
- package/dist/components/widget-form-table/index.js +90 -0
- package/dist/index.css +761 -201
- package/dist/index.es.js +24100 -16510
- package/package.json +5 -3
- package/web-types.json +1880 -1781
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { s as n, r as o } from "../../chunks/ConfigSwitch.vue_vue_type_style_index_0_scoped_true_lang.4caf1bd0.js";
|
|
2
|
+
import { n as a } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const s = {
|
|
4
|
+
name: "ConfigSwitch",
|
|
5
|
+
props: ["data"],
|
|
6
|
+
methods: {
|
|
7
|
+
handleDicClear() {
|
|
8
|
+
this.data.dicData = [{ label: "", value: "0" }, { label: "", value: "1" }];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}, e = {};
|
|
12
|
+
var l = /* @__PURE__ */ a(
|
|
13
|
+
s,
|
|
14
|
+
o,
|
|
15
|
+
n,
|
|
16
|
+
!1,
|
|
17
|
+
r,
|
|
18
|
+
"24459f96",
|
|
19
|
+
null,
|
|
20
|
+
null
|
|
21
|
+
);
|
|
22
|
+
function r(i) {
|
|
23
|
+
for (let t in e)
|
|
24
|
+
this[t] = e[t];
|
|
25
|
+
}
|
|
26
|
+
const u = /* @__PURE__ */ function() {
|
|
27
|
+
return l.exports;
|
|
28
|
+
}();
|
|
29
|
+
export {
|
|
30
|
+
u as default
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.dic[data-v-24459f96]{display:flex;margin-bottom:5px}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { M as MonacoEditor } from "../../chunks/monaco.1dbdc960.js";
|
|
2
|
+
import { s as staticRenderFns, r as render, A as AfdColumn } from "../../chunks/ConfigTable.vue_vue_type_template_lang.3e8136d9.js";
|
|
3
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
|
+
const __vue2_script = {
|
|
5
|
+
name: "ConfigTable",
|
|
6
|
+
components: { MonacoEditor, AfdColumn },
|
|
7
|
+
props: ["data"],
|
|
8
|
+
data() {
|
|
9
|
+
return {
|
|
10
|
+
options: {
|
|
11
|
+
fullScreen: !0,
|
|
12
|
+
minimap: {
|
|
13
|
+
enabled: !1
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
onLoad: "",
|
|
17
|
+
formatter: ""
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
watch: {
|
|
21
|
+
"data.prop": {
|
|
22
|
+
handler() {
|
|
23
|
+
const { onLoad: e, formatter: t } = this.data;
|
|
24
|
+
this.onLoad = e ? e + "" : "", this.formatter = t ? t + "" : "";
|
|
25
|
+
},
|
|
26
|
+
immediate: !0
|
|
27
|
+
},
|
|
28
|
+
"data.children.props": {
|
|
29
|
+
handler(e) {
|
|
30
|
+
this.handleOnLoad(e);
|
|
31
|
+
},
|
|
32
|
+
deep: !0
|
|
33
|
+
},
|
|
34
|
+
onLoad: {
|
|
35
|
+
handler(val) {
|
|
36
|
+
try {
|
|
37
|
+
this.data.onLoad = eval(val);
|
|
38
|
+
} catch (e) {
|
|
39
|
+
console.error(e);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
methods: {
|
|
45
|
+
handleColumn(e) {
|
|
46
|
+
this.data.children.column = e;
|
|
47
|
+
},
|
|
48
|
+
handleOnLoad(e) {
|
|
49
|
+
const { url: t, method: r, needPage: o, currentPageKey: n, pageSizeKey: l, totalKey: i, recordsKey: d, resKey: c, auto: u } = e;
|
|
50
|
+
if (!u)
|
|
51
|
+
return;
|
|
52
|
+
if (!t) {
|
|
53
|
+
this.onLoad = "(res, cb) => { }";
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
let { props: a } = this.data;
|
|
57
|
+
a || (a = { label: "label", value: "value" });
|
|
58
|
+
const { value: s } = a, p = `(res, cb) => {
|
|
59
|
+
let { page, value, data } = res
|
|
60
|
+
if (!page) page = { currentPage: 1, pageSize: 10 }
|
|
61
|
+
const { currentPage, pageSize } = page
|
|
62
|
+
let params = { ...data, ${n || "current"}: currentPage, ${l || "page"}: pageSize }
|
|
63
|
+
|
|
64
|
+
if (value) params['${s}'] = value
|
|
65
|
+
|
|
66
|
+
if ('${r || "get"}' == 'get') params = { params: { ...params } }
|
|
67
|
+
|
|
68
|
+
this.$axios['${r}']('${t}', params).then(res => {
|
|
69
|
+
const response = this.getAsVal(res, '${c || "data.data"}')
|
|
70
|
+
if (!response) this.$message.error('未查询到数据或者返回层级配置错误')
|
|
71
|
+
|
|
72
|
+
let result = {}
|
|
73
|
+
if (${o}) {
|
|
74
|
+
const total = this.getAsVal(response, '${i || "total"}')
|
|
75
|
+
if (total || total == 0) {
|
|
76
|
+
result.total = total
|
|
77
|
+
} else {
|
|
78
|
+
this.$message.error('总条数配置错误')
|
|
79
|
+
return
|
|
80
|
+
}
|
|
81
|
+
const records = this.getAsVal(response, '${d || "records"}')
|
|
82
|
+
if (records) {
|
|
83
|
+
result.data = records
|
|
84
|
+
} else {
|
|
85
|
+
this.$message.error('列表配置错误')
|
|
86
|
+
return
|
|
87
|
+
}
|
|
88
|
+
} else result = { total: response.length, data: response }
|
|
89
|
+
|
|
90
|
+
if (value) {
|
|
91
|
+
const records = result.data
|
|
92
|
+
if (records && records.length > 0) cb(records[0])
|
|
93
|
+
else this.$message.error('根据${s}: ' + value + ' 查询不到结果')
|
|
94
|
+
} else cb(result)
|
|
95
|
+
})
|
|
96
|
+
}`;
|
|
97
|
+
this.onLoad = p;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}, __cssModules = {};
|
|
101
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
102
|
+
__vue2_script,
|
|
103
|
+
render,
|
|
104
|
+
staticRenderFns,
|
|
105
|
+
!1,
|
|
106
|
+
__vue2_injectStyles,
|
|
107
|
+
null,
|
|
108
|
+
null,
|
|
109
|
+
null
|
|
110
|
+
);
|
|
111
|
+
function __vue2_injectStyles(e) {
|
|
112
|
+
for (let t in __cssModules)
|
|
113
|
+
this[t] = __cssModules[t];
|
|
114
|
+
}
|
|
115
|
+
const ConfigTable = /* @__PURE__ */ function() {
|
|
116
|
+
return __component__.exports;
|
|
117
|
+
}();
|
|
118
|
+
export {
|
|
119
|
+
ConfigTable as default
|
|
120
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { s as e, r as o } from "../../chunks/ConfigTextarea.vue_vue_type_template_lang.5cddf41c.js";
|
|
2
|
+
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const s = {
|
|
4
|
+
name: "ConfigTextarea",
|
|
5
|
+
props: ["data"]
|
|
6
|
+
}, t = {};
|
|
7
|
+
var a = /* @__PURE__ */ r(
|
|
8
|
+
s,
|
|
9
|
+
o,
|
|
10
|
+
e,
|
|
11
|
+
!1,
|
|
12
|
+
i,
|
|
13
|
+
null,
|
|
14
|
+
null,
|
|
15
|
+
null
|
|
16
|
+
);
|
|
17
|
+
function i(l) {
|
|
18
|
+
for (let n in t)
|
|
19
|
+
this[n] = t[n];
|
|
20
|
+
}
|
|
21
|
+
const u = /* @__PURE__ */ function() {
|
|
22
|
+
return a.exports;
|
|
23
|
+
}();
|
|
24
|
+
export {
|
|
25
|
+
u as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { s as e, r as o } from "../../chunks/ConfigTitle.vue_vue_type_template_lang.57d9deb5.js";
|
|
2
|
+
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const i = {
|
|
4
|
+
name: "ConfigTitle",
|
|
5
|
+
props: ["data"],
|
|
6
|
+
data() {
|
|
7
|
+
return {
|
|
8
|
+
options: ["100", "200", "300", "400", "500", "600", "700", "800", "900", "blod", "bloder", "inherit", "initial", "lighter", "normal", "revert", "unset"]
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
}, n = {};
|
|
12
|
+
var s = /* @__PURE__ */ r(
|
|
13
|
+
i,
|
|
14
|
+
o,
|
|
15
|
+
e,
|
|
16
|
+
!1,
|
|
17
|
+
l,
|
|
18
|
+
null,
|
|
19
|
+
null,
|
|
20
|
+
null
|
|
21
|
+
);
|
|
22
|
+
function l(a) {
|
|
23
|
+
for (let t in n)
|
|
24
|
+
this[t] = n[t];
|
|
25
|
+
}
|
|
26
|
+
const c = /* @__PURE__ */ function() {
|
|
27
|
+
return s.exports;
|
|
28
|
+
}();
|
|
29
|
+
export {
|
|
30
|
+
c as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { M as MonacoEditor } from "../../chunks/monaco.1dbdc960.js";
|
|
2
|
+
import Draggable from "vuedraggable";
|
|
3
|
+
import { s as staticRenderFns, r as render } from "../../chunks/ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.3770c37e.js";
|
|
4
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
5
|
+
const __vue2_script = {
|
|
6
|
+
name: "ConfigTree",
|
|
7
|
+
components: { MonacoEditor, Draggable },
|
|
8
|
+
props: ["data"],
|
|
9
|
+
data() {
|
|
10
|
+
return {
|
|
11
|
+
dialogForm: {},
|
|
12
|
+
dialogVisible: !1,
|
|
13
|
+
dialogRules: {
|
|
14
|
+
label: { required: !0, message: "请输入label" },
|
|
15
|
+
value: { required: !0, message: "请输入value" }
|
|
16
|
+
},
|
|
17
|
+
dialogStatus: "add",
|
|
18
|
+
selectData: void 0,
|
|
19
|
+
dialogInputType: "text",
|
|
20
|
+
option: {
|
|
21
|
+
column: [{
|
|
22
|
+
type: "input",
|
|
23
|
+
prop: "key",
|
|
24
|
+
label: "key"
|
|
25
|
+
}, {
|
|
26
|
+
type: "input",
|
|
27
|
+
prop: "value",
|
|
28
|
+
label: "value"
|
|
29
|
+
}]
|
|
30
|
+
},
|
|
31
|
+
options: {
|
|
32
|
+
fullScreen: !0,
|
|
33
|
+
minimap: {
|
|
34
|
+
enabled: !1
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
dicFormatter: ""
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
watch: {
|
|
41
|
+
"data.prop": {
|
|
42
|
+
handler() {
|
|
43
|
+
this.$set(this.data, "cascader", this.data.cascaderItem), this.$delete(this.data, "cascaderItem");
|
|
44
|
+
const { dicFormatter: e } = this.data;
|
|
45
|
+
this.dicFormatter = e ? e + "" : `(res) => {\r
|
|
46
|
+
return res.data\r
|
|
47
|
+
}`;
|
|
48
|
+
},
|
|
49
|
+
immediate: !0
|
|
50
|
+
},
|
|
51
|
+
dicFormatter: {
|
|
52
|
+
handler(val) {
|
|
53
|
+
try {
|
|
54
|
+
this.data.dicFormatter = eval(val);
|
|
55
|
+
} catch (e) {
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
methods: {
|
|
61
|
+
handleRemoveCascaderItemFields(e) {
|
|
62
|
+
this.data.cascader.splice(e, 1);
|
|
63
|
+
},
|
|
64
|
+
handleAddCascaderItemFields() {
|
|
65
|
+
this.data.cascader || (this.$set(this.data, "cascader", []), delete this.data.cascaderItem), this.data.cascader.push("");
|
|
66
|
+
},
|
|
67
|
+
handleTabClick({ name: e }) {
|
|
68
|
+
e == "remote" && !this.data.dicQueryConfig && (this.data.dicQueryConfig = []);
|
|
69
|
+
},
|
|
70
|
+
handleParentNodeAdd() {
|
|
71
|
+
this.selectData = void 0, this.dialogStatus = "add", this.dialogVisible = !0;
|
|
72
|
+
},
|
|
73
|
+
handleNodeAdd(e) {
|
|
74
|
+
this.selectData = e, this.dialogStatus = "add", this.dialogVisible = !0;
|
|
75
|
+
},
|
|
76
|
+
handleNodeRemove(e, t) {
|
|
77
|
+
const a = e.parent, d = a.data.children || a.data, s = d.findIndex((i) => i.id === t.id);
|
|
78
|
+
d.splice(s, 1);
|
|
79
|
+
},
|
|
80
|
+
handleDialogAdd() {
|
|
81
|
+
this.$refs.dialogForm.validate((e) => {
|
|
82
|
+
if (e) {
|
|
83
|
+
const { label: t, value: a } = this.dialogForm;
|
|
84
|
+
if (this.$refs.tree.getNode(a))
|
|
85
|
+
this.$message.error("value重复");
|
|
86
|
+
else {
|
|
87
|
+
const s = this.selectData, i = {
|
|
88
|
+
label: t,
|
|
89
|
+
value: this.dialogInputType == "number" ? new Number(a) : a
|
|
90
|
+
};
|
|
91
|
+
s ? (s.children || this.$set(s, "children", []), s.children.push(i)) : this.$set(this.data.dicData, this.data.dicData.length, i), this.beforeClose();
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
},
|
|
96
|
+
beforeClose() {
|
|
97
|
+
this.$refs.dialogForm.clearValidate(), this.dialogForm = {}, this.dialogVisible = !1;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}, __cssModules = {};
|
|
101
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
102
|
+
__vue2_script,
|
|
103
|
+
render,
|
|
104
|
+
staticRenderFns,
|
|
105
|
+
!1,
|
|
106
|
+
__vue2_injectStyles,
|
|
107
|
+
"8a482952",
|
|
108
|
+
null,
|
|
109
|
+
null
|
|
110
|
+
);
|
|
111
|
+
function __vue2_injectStyles(e) {
|
|
112
|
+
for (let t in __cssModules)
|
|
113
|
+
this[t] = __cssModules[t];
|
|
114
|
+
}
|
|
115
|
+
const ConfigTree = /* @__PURE__ */ function() {
|
|
116
|
+
return __component__.exports;
|
|
117
|
+
}();
|
|
118
|
+
export {
|
|
119
|
+
ConfigTree as default
|
|
120
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.custom-tree-node[data-v-8a482952]{flex:1;display:flex;align-items:center;justify-content:space-between;font-size:14px;padding-right:8px}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { s as i, r as s } from "../../chunks/ConfigUEditor.vue_vue_type_template_lang.9726b4f5.js";
|
|
2
|
+
import { n as e } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const a = {
|
|
4
|
+
name: "ConfigUEditor",
|
|
5
|
+
props: ["data"],
|
|
6
|
+
watch: {
|
|
7
|
+
"data.options.oss": function(t) {
|
|
8
|
+
debugger;
|
|
9
|
+
t == "ali" ? this.data.options.qiniu = {} : t == "qiniu" && (this.data.options.ali = {});
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}, o = {};
|
|
13
|
+
var r = /* @__PURE__ */ e(
|
|
14
|
+
a,
|
|
15
|
+
s,
|
|
16
|
+
i,
|
|
17
|
+
!1,
|
|
18
|
+
l,
|
|
19
|
+
null,
|
|
20
|
+
null,
|
|
21
|
+
null
|
|
22
|
+
);
|
|
23
|
+
function l(t) {
|
|
24
|
+
for (let n in o)
|
|
25
|
+
this[n] = o[n];
|
|
26
|
+
}
|
|
27
|
+
const f = /* @__PURE__ */ function() {
|
|
28
|
+
return r.exports;
|
|
29
|
+
}();
|
|
30
|
+
export {
|
|
31
|
+
f as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { s as n, r as o } from "../../chunks/ConfigUpload.vue_vue_type_template_lang.531a9b2a.js";
|
|
2
|
+
import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const i = {
|
|
4
|
+
name: "ConfigUpload",
|
|
5
|
+
props: ["data"],
|
|
6
|
+
data() {
|
|
7
|
+
return {
|
|
8
|
+
option: {
|
|
9
|
+
column: [{
|
|
10
|
+
type: "input",
|
|
11
|
+
prop: "key",
|
|
12
|
+
label: "key"
|
|
13
|
+
}, {
|
|
14
|
+
type: "input",
|
|
15
|
+
prop: "value",
|
|
16
|
+
label: "value"
|
|
17
|
+
}]
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
},
|
|
21
|
+
watch: {
|
|
22
|
+
"data.prop": {
|
|
23
|
+
handler() {
|
|
24
|
+
},
|
|
25
|
+
immediate: !0
|
|
26
|
+
},
|
|
27
|
+
"data.drag": function(t) {
|
|
28
|
+
},
|
|
29
|
+
"data.dragFile": function(t) {
|
|
30
|
+
t && this.$delete(this.data, "listType");
|
|
31
|
+
},
|
|
32
|
+
"data.showCanvas"(t) {
|
|
33
|
+
t ? (this.$set(this.data, "canvasOption", {}), this.$set(this.data, "accept", "image/*")) : this.$delete(this.data, "canvasOption");
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}, e = {};
|
|
37
|
+
var l = /* @__PURE__ */ s(
|
|
38
|
+
i,
|
|
39
|
+
o,
|
|
40
|
+
n,
|
|
41
|
+
!1,
|
|
42
|
+
p,
|
|
43
|
+
null,
|
|
44
|
+
null,
|
|
45
|
+
null
|
|
46
|
+
);
|
|
47
|
+
function p(t) {
|
|
48
|
+
for (let a in e)
|
|
49
|
+
this[a] = e[a];
|
|
50
|
+
}
|
|
51
|
+
const c = /* @__PURE__ */ function() {
|
|
52
|
+
return l.exports;
|
|
53
|
+
}();
|
|
54
|
+
export {
|
|
55
|
+
c as default
|
|
56
|
+
};
|
|
@@ -70,7 +70,12 @@ const n = {
|
|
|
70
70
|
},
|
|
71
71
|
computed: {
|
|
72
72
|
innerOptions() {
|
|
73
|
-
return {
|
|
73
|
+
return {
|
|
74
|
+
...this.options || {},
|
|
75
|
+
className: this.theme || "os-theme-dark",
|
|
76
|
+
scrollbars: { autoHide: "l", autoHideDelay: 100 },
|
|
77
|
+
callbacks: { onScroll: this.internalScroll }
|
|
78
|
+
};
|
|
74
79
|
}
|
|
75
80
|
},
|
|
76
81
|
watch: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as p } from "../../chunks/detail.
|
|
2
|
-
import {
|
|
1
|
+
import { d as p } from "../../chunks/detail.ac4d421a.js";
|
|
2
|
+
import { d as a } from "../../chunks/util.80e28481.js";
|
|
3
3
|
import { n as c } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
4
|
var d = function() {
|
|
5
5
|
var t = this, s = t.$createElement, e = t._self._c || s;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { c
|
|
2
|
-
import {
|
|
1
|
+
import { c } from "../../chunks/config.46422d7f.js";
|
|
2
|
+
import { d as l, o as r, u, j as a } from "../../chunks/util.80e28481.js";
|
|
3
|
+
import { isBlank as o } from "@web-utils/core";
|
|
3
4
|
import { n as h } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
5
|
var p = function() {
|
|
5
6
|
var t = this, e = t.$createElement, i = t._self._c || e;
|
|
@@ -50,8 +51,8 @@ var p = function() {
|
|
|
50
51
|
scopedSlots: t._u([t._l(t.crud.formSlot, function(s) {
|
|
51
52
|
return {
|
|
52
53
|
key: t.getSlotName(s),
|
|
53
|
-
fn: function(
|
|
54
|
-
return [t._t(s, null, null, Object.assign(
|
|
54
|
+
fn: function(d) {
|
|
55
|
+
return [t._t(s, null, null, Object.assign(d, {
|
|
55
56
|
type: t.boxType
|
|
56
57
|
}))];
|
|
57
58
|
}
|
|
@@ -130,7 +131,7 @@ const m = {
|
|
|
130
131
|
return this.crud.tableOption.dialogDirection;
|
|
131
132
|
},
|
|
132
133
|
width() {
|
|
133
|
-
return r(`${this.crud.tableOption.dialogWidth}`, this.crud.isMobile ? "100%" : `${
|
|
134
|
+
return r(`${this.crud.tableOption.dialogWidth}`, this.crud.isMobile ? "100%" : `${c.dialogWidth}`);
|
|
134
135
|
},
|
|
135
136
|
dialogType() {
|
|
136
137
|
return this.isDrawer ? "ElDrawer" : "ElementDialog";
|
|
@@ -267,9 +268,9 @@ function g(t) {
|
|
|
267
268
|
for (let e in n)
|
|
268
269
|
this[e] = n[e];
|
|
269
270
|
}
|
|
270
|
-
const
|
|
271
|
+
const F = /* @__PURE__ */ function() {
|
|
271
272
|
return f.exports;
|
|
272
273
|
}();
|
|
273
274
|
export {
|
|
274
|
-
|
|
275
|
+
F as default
|
|
275
276
|
};
|
|
@@ -39,7 +39,10 @@ const r = {
|
|
|
39
39
|
},
|
|
40
40
|
render(n, { children: l, data: o, props: e }) {
|
|
41
41
|
const t = f(o.class, e.relative ? "flex-item-relative" : "flex-item");
|
|
42
|
-
return e.absolute && !e.relative && t.push("flex-item-relative"), e.center || e.horizonCenter && e.verticalCenter ? (t.push("horizon-center"), t.push("vertical-center")) : (e.horizonCenter && t.push("horizon-center"), e.verticalCenter && t.push("vertical-center")), e.textCenter && t.push("text-center"), e.flexColumn && t.push("flex-column"), e.flexRow && t.push("flex-row"), e.absolute ? n("div", { ...o, class: t }, [n("div", {
|
|
42
|
+
return e.absolute && !e.relative && t.push("flex-item-relative"), e.center || e.horizonCenter && e.verticalCenter ? (t.push("horizon-center"), t.push("vertical-center")) : (e.horizonCenter && t.push("horizon-center"), e.verticalCenter && t.push("vertical-center")), e.textCenter && t.push("text-center"), e.flexColumn && t.push("flex-column"), e.flexRow && t.push("flex-row"), e.absolute ? n("div", { ...o, class: t }, [n("div", {
|
|
43
|
+
class: "absolute",
|
|
44
|
+
style: "overflow:auto"
|
|
45
|
+
}, l)]) : n("div", { ...o, class: t }, l);
|
|
43
46
|
}
|
|
44
47
|
};
|
|
45
48
|
let i, u;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as l, r as u } from "../../chunks/util.
|
|
1
|
+
import { s as l, r as u } from "../../chunks/util.80e28481.js";
|
|
2
2
|
import { n as c } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var h = function() {
|
|
4
4
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { s as t, r as e } from "../../chunks/FormConfig.vue_vue_type_template_lang.85b4ee87.js";
|
|
2
|
+
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const s = {
|
|
4
|
+
name: "FormConfig",
|
|
5
|
+
props: ["data"]
|
|
6
|
+
}, o = {};
|
|
7
|
+
var a = /* @__PURE__ */ r(
|
|
8
|
+
s,
|
|
9
|
+
e,
|
|
10
|
+
t,
|
|
11
|
+
!1,
|
|
12
|
+
i,
|
|
13
|
+
null,
|
|
14
|
+
null,
|
|
15
|
+
null
|
|
16
|
+
);
|
|
17
|
+
function i(l) {
|
|
18
|
+
for (let n in o)
|
|
19
|
+
this[n] = o[n];
|
|
20
|
+
}
|
|
21
|
+
const m = /* @__PURE__ */ function() {
|
|
22
|
+
return a.exports;
|
|
23
|
+
}();
|
|
24
|
+
export {
|
|
25
|
+
m as default
|
|
26
|
+
};
|
|
@@ -41,7 +41,7 @@ var s = function() {
|
|
|
41
41
|
class: [e.icon, "avue-group__icon"]
|
|
42
42
|
}) : e._e(), e.label ? t("h1", {
|
|
43
43
|
staticClass: "avue-group__title"
|
|
44
|
-
}, [e._v(e._s(e.label))]) : e._e()]) : e._e(), e._t("default")], 2)], 1)], 2) : e._e();
|
|
44
|
+
}, [e._v(" " + e._s(e.label) + " ")]) : e._e()]) : e._e(), e._t("default")], 2)], 1)], 2) : e._e();
|
|
45
45
|
}, n = [];
|
|
46
46
|
const i = {
|
|
47
47
|
name: "FormGroup",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as a, a as u } from "../../chunks/dataformat.
|
|
1
|
+
import { g as a, a as u } from "../../chunks/dataformat.d3fd2d1b.js";
|
|
2
2
|
import { s as p } from "../../chunks/slot.1b8d2b1b.js";
|
|
3
|
-
import { u as s } from "../../chunks/util.
|
|
3
|
+
import { u as s } from "../../chunks/util.80e28481.js";
|
|
4
4
|
import { n as c } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
5
5
|
var i = function() {
|
|
6
6
|
var e = this, n = e.$createElement, o = e._self._c || n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as a, e as o } from "../../chunks/event.
|
|
2
|
-
import {
|
|
1
|
+
import { p as a, e as o } from "../../chunks/event.43b42228.js";
|
|
2
|
+
import { x as c } from "../../chunks/util.80e28481.js";
|
|
3
3
|
import { n as p } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
4
|
var u = function() {
|
|
5
5
|
var t = this, i = t.$createElement, e = t._self._c || i;
|
|
@@ -97,7 +97,7 @@ var u = function() {
|
|
|
97
97
|
})], 2);
|
|
98
98
|
}, d = [];
|
|
99
99
|
const m = {
|
|
100
|
-
name: "
|
|
100
|
+
name: "FyArray",
|
|
101
101
|
mixins: [a, o],
|
|
102
102
|
props: {
|
|
103
103
|
fileType: String,
|
|
@@ -148,9 +148,9 @@ function y(t) {
|
|
|
148
148
|
for (let i in l)
|
|
149
149
|
this[i] = l[i];
|
|
150
150
|
}
|
|
151
|
-
const
|
|
151
|
+
const x = /* @__PURE__ */ function() {
|
|
152
152
|
return _.exports;
|
|
153
153
|
}();
|
|
154
154
|
export {
|
|
155
|
-
|
|
155
|
+
x as default
|
|
156
156
|
};
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as d, e as u } from "../../chunks/event.
|
|
1
|
+
import { p as d, e as u } from "../../chunks/event.43b42228.js";
|
|
2
2
|
import { n as p } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var h = function() {
|
|
4
4
|
var e = this, t = e.$createElement, s = e._self._c || t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as i, e as c } from "../../chunks/event.
|
|
1
|
+
import { p as i, e as c } from "../../chunks/event.43b42228.js";
|
|
2
2
|
import { n as o } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var r = function() {
|
|
4
4
|
var e = this, t = e.$createElement, l = e._self._c || t;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { p as F } from "../../chunks/packages.
|
|
1
|
+
import { p as F } from "../../chunks/packages.6f252850.js";
|
|
2
2
|
import { p as S } from "../../chunks/permission.ce5d2121.js";
|
|
3
|
-
import { i as _ } from "../../chunks/init.
|
|
3
|
+
import { i as _ } from "../../chunks/init.3b47bb80.js";
|
|
4
4
|
import { c as d } from "../../chunks/config.46422d7f.js";
|
|
5
|
-
import { b as v, t as O, f as L } from "../../chunks/dataformat.
|
|
6
|
-
import {
|
|
5
|
+
import { b as v, t as O, f as L } from "../../chunks/dataformat.d3fd2d1b.js";
|
|
6
|
+
import { k as f, s as k, o as y, d as n } from "../../chunks/util.80e28481.js";
|
|
7
|
+
import { isBlank as b } from "@web-utils/core";
|
|
7
8
|
import { n as E } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
8
9
|
var x = function() {
|
|
9
10
|
var e = this, t = e.$createElement, l = e._self._c || t;
|
|
@@ -743,9 +744,9 @@ function M(e) {
|
|
|
743
744
|
for (let t in w)
|
|
744
745
|
this[t] = w[t];
|
|
745
746
|
}
|
|
746
|
-
const
|
|
747
|
+
const j = /* @__PURE__ */ function() {
|
|
747
748
|
return H.exports;
|
|
748
749
|
}();
|
|
749
750
|
export {
|
|
750
|
-
|
|
751
|
+
j as default
|
|
751
752
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as n, e as o } from "../../chunks/event.
|
|
1
|
+
import { p as n, e as o } from "../../chunks/event.43b42228.js";
|
|
2
2
|
import { n as i } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var s = function() {
|
|
4
4
|
var e = this, a = e.$createElement, t = e._self._c || a;
|