@web-utils/component 2.8.1 → 2.8.2
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/base.css +1 -1
- package/card/index.mjs +33 -37
- package/chat/index.mjs +132 -123
- package/chunks/{dataformat.25e22176.mjs → dataformat.ab62230f.mjs} +1 -1
- package/chunks/{detail.6e53ede8.mjs → detail.6e46de33.mjs} +1 -1
- package/chunks/dic.7f13b573.mjs +130 -0
- package/chunks/{event.a018cb06.mjs → event.1ac32f1d.mjs} +2 -2
- package/chunks/{init.f04c7036.mjs → init.47ce5ed9.mjs} +2 -2
- package/chunks/util.505913d9.mjs +266 -0
- package/column/index.mjs +2 -2
- package/column-default/index.mjs +1 -1
- package/column-dynamic/index.mjs +1 -1
- package/column-menu/index.mjs +81 -79
- package/column-slot/index.mjs +8 -7
- package/comment/index.mjs +6 -10
- package/data-pay/index.mjs +16 -13
- package/data-table-picker/index.mjs +22 -22
- package/dialog-excel/index.mjs +8 -8
- package/dialog-filter/index.mjs +4 -2
- package/dialog-form/index.mjs +6 -6
- package/editable-tree/index.mjs +5 -5
- package/flow/index.mjs +11 -11
- package/flow/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/form-button/index.mjs +16 -38
- package/form-group/index.mjs +28 -33
- package/form-temp/index.mjs +15 -27
- package/fy-array/index.mjs +44 -42
- package/fy-cascader/index.mjs +1 -1
- package/fy-checkbox/index.mjs +2 -1
- package/fy-code/index.mjs +1 -1
- package/fy-curd/index.mjs +29 -31
- package/fy-date/index.mjs +1 -1
- package/fy-dialog-form/index.mjs +5 -11
- package/fy-draggable/index.mjs +3 -3
- package/fy-dynamic/index.mjs +3 -3
- package/fy-empty/index.mjs +1 -1
- package/fy-form/index.mjs +133 -122
- package/fy-form-design/index.mjs +2595 -2610
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +10 -15
- package/fy-input-color/index.mjs +1 -1
- package/fy-input-icon/index.mjs +21 -16
- package/fy-input-map/index.mjs +22 -19
- package/fy-input-number/index.mjs +1 -1
- package/fy-input-table/index.mjs +1 -1
- package/fy-input-tree/index.mjs +5 -6
- package/fy-radio/index.mjs +3 -1
- package/fy-rate/index.mjs +2 -1
- package/fy-select/index.mjs +29 -28
- package/fy-slider/index.mjs +2 -2
- package/fy-switch/index.mjs +2 -1
- package/fy-tabs/index.mjs +19 -17
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +8 -6
- package/fy-u-editor/index.mjs +10 -14
- package/fy-upload/index.mjs +85 -84
- package/header-menu/index.mjs +1 -1
- package/header-search/index.mjs +7 -5
- package/image-cropper/index.mjs +1 -1
- package/image-preview/index.mjs +1 -1
- package/index.cjs +39 -39
- package/index.css +1 -1
- package/index.mjs +16577 -16591
- package/license/index.mjs +1 -1
- package/login/index.mjs +1 -1
- package/monaco-editor/index.mjs +3 -3
- package/package.json +1 -1
- package/process-designer/index.mjs +10 -2
- package/queue/index.mjs +3 -8
- package/queue/style.css +1 -0
- package/record-video/index.mjs +1 -1
- package/search/index.mjs +2 -2
- package/search-popover/index.mjs +25 -24
- package/sign/index.mjs +17 -18
- package/sign/style.css +1 -1
- package/table-page/index.mjs +21 -23
- package/text-ellipsis/index.mjs +1 -1
- package/verify/index.mjs +1 -1
- package/web-types.json +52 -166
- package/chunks/dic.e8280157.mjs +0 -130
- package/chunks/util.17330567.mjs +0 -266
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
var a = function() {
|
|
1
|
+
import { f as n } from "../chunks/index.57f871af.mjs";
|
|
2
|
+
import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
|
+
var r = function() {
|
|
5
4
|
var e = this, t = e.$createElement, l = e._self._c || t;
|
|
6
5
|
return l("ElementDialog", {
|
|
6
|
+
ref: "dialog",
|
|
7
7
|
attrs: {
|
|
8
|
-
visible: e.
|
|
8
|
+
visible: e.visible,
|
|
9
9
|
title: e.title,
|
|
10
10
|
width: e.width,
|
|
11
11
|
height: e.height,
|
|
12
|
+
embed: "",
|
|
12
13
|
"flex-column": ""
|
|
13
14
|
},
|
|
14
15
|
on: {
|
|
15
|
-
|
|
16
|
-
e.show = n;
|
|
17
|
-
},
|
|
18
|
-
close: e.close,
|
|
19
|
-
closed: e.closed
|
|
16
|
+
close: e.close
|
|
20
17
|
},
|
|
21
18
|
scopedSlots: e._u([{
|
|
22
19
|
key: "default",
|
|
@@ -66,11 +63,11 @@ var a = function() {
|
|
|
66
63
|
proxy: !0
|
|
67
64
|
}], null, !0)
|
|
68
65
|
});
|
|
69
|
-
},
|
|
70
|
-
const
|
|
66
|
+
}, s = [];
|
|
67
|
+
const a = {
|
|
71
68
|
name: "DataTablePicker",
|
|
72
|
-
mixins: [o],
|
|
73
69
|
props: {
|
|
70
|
+
visible: Boolean,
|
|
74
71
|
api: Function,
|
|
75
72
|
columns: Array,
|
|
76
73
|
title: String,
|
|
@@ -99,7 +96,7 @@ const u = {
|
|
|
99
96
|
};
|
|
100
97
|
},
|
|
101
98
|
methods: {
|
|
102
|
-
filterTableColumnProperties:
|
|
99
|
+
filterTableColumnProperties: n,
|
|
103
100
|
selectionChange(e) {
|
|
104
101
|
this.selectedRows = e;
|
|
105
102
|
},
|
|
@@ -109,29 +106,32 @@ const u = {
|
|
|
109
106
|
toggleRowSelection(e) {
|
|
110
107
|
this.$refs.pageableTable.$refs.table.toggleRowSelection(e);
|
|
111
108
|
},
|
|
109
|
+
close() {
|
|
110
|
+
this.$refs.dialog.hide();
|
|
111
|
+
},
|
|
112
112
|
confirm() {
|
|
113
113
|
var e;
|
|
114
114
|
this.multiple ? (e = this.selectedRows) != null && e.length ? (this.$emit("confirm", this.selectedRows), this.close()) : this.$message.warning("请选择") : this.currentRow ? (this.$emit("confirm", this.currentRow), this.close()) : this.$message.warning("请选择");
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
}, i = {};
|
|
118
|
-
var
|
|
119
|
-
u,
|
|
118
|
+
var c = /* @__PURE__ */ o(
|
|
120
119
|
a,
|
|
121
|
-
|
|
120
|
+
r,
|
|
121
|
+
s,
|
|
122
122
|
!1,
|
|
123
|
-
|
|
123
|
+
u,
|
|
124
124
|
null,
|
|
125
125
|
null,
|
|
126
126
|
null
|
|
127
127
|
);
|
|
128
|
-
function
|
|
128
|
+
function u(e) {
|
|
129
129
|
for (let t in i)
|
|
130
130
|
this[t] = i[t];
|
|
131
131
|
}
|
|
132
|
-
const
|
|
133
|
-
return
|
|
132
|
+
const f = /* @__PURE__ */ function() {
|
|
133
|
+
return c.exports;
|
|
134
134
|
}();
|
|
135
135
|
export {
|
|
136
|
-
|
|
136
|
+
f as default
|
|
137
137
|
};
|
package/dialog-excel/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { d as a } from "../chunks/util.
|
|
3
|
-
import { n as
|
|
1
|
+
import { d as p } from "../chunks/detail.6e46de33.mjs";
|
|
2
|
+
import { d as a } from "../chunks/util.505913d9.mjs";
|
|
3
|
+
import { n as u } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
4
4
|
var d = function() {
|
|
5
5
|
var t = this, r = t.$createElement, e = t._self._c || r;
|
|
6
6
|
return t.box ? e("div", [e("ElementDialog", {
|
|
@@ -85,8 +85,8 @@ const m = {
|
|
|
85
85
|
return this.form.params.includes("data") && e.forEach((o) => {
|
|
86
86
|
const i = a(o);
|
|
87
87
|
r.forEach((n) => {
|
|
88
|
-
const c = n.parentProp ? (this.crud.cascaderDIC[
|
|
89
|
-
i[n.prop] =
|
|
88
|
+
const c = n.parentProp ? (this.crud.cascaderDIC[n.$index] || {})[n.prop] : this.crud.DIC[n.prop];
|
|
89
|
+
i[n.prop] = p(i, n, t, c);
|
|
90
90
|
}), s.push(i);
|
|
91
91
|
}), this.form.params.includes("sum") && t.showSummary && s.push(this.crud.sumsList), s;
|
|
92
92
|
},
|
|
@@ -110,7 +110,7 @@ const m = {
|
|
|
110
110
|
value: !0
|
|
111
111
|
}, {
|
|
112
112
|
label: "选中的数据(当前页选中的数据)",
|
|
113
|
-
disabled: this.crud.tableOption.selection
|
|
113
|
+
disabled: this.crud.tableOption.selection !== !0,
|
|
114
114
|
value: !1
|
|
115
115
|
}]
|
|
116
116
|
},
|
|
@@ -156,7 +156,7 @@ const m = {
|
|
|
156
156
|
})())
|
|
157
157
|
}
|
|
158
158
|
]
|
|
159
|
-
}, this.form.type = this.crud.selectLen
|
|
159
|
+
}, this.form.type = this.crud.selectLen === 0;
|
|
160
160
|
},
|
|
161
161
|
getColumnOption() {
|
|
162
162
|
const t = a(this.crud.columnOption), r = [], e = (s = []) => {
|
|
@@ -189,7 +189,7 @@ const m = {
|
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
}, l = {};
|
|
192
|
-
var f = /* @__PURE__ */
|
|
192
|
+
var f = /* @__PURE__ */ u(
|
|
193
193
|
m,
|
|
194
194
|
d,
|
|
195
195
|
h,
|
package/dialog-filter/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as u } from "../chunks/util.
|
|
1
|
+
import { d as u } from "../chunks/util.505913d9.mjs";
|
|
2
2
|
import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
3
|
var r = function() {
|
|
4
4
|
var e = this, l = e.$createElement, t = e._self._c || l;
|
|
@@ -203,7 +203,9 @@ const d = {
|
|
|
203
203
|
this.list = [];
|
|
204
204
|
},
|
|
205
205
|
handleValueClear() {
|
|
206
|
-
this.list.forEach((e) =>
|
|
206
|
+
this.list.forEach((e) => {
|
|
207
|
+
e.value = "";
|
|
208
|
+
});
|
|
207
209
|
},
|
|
208
210
|
handleSubmit() {
|
|
209
211
|
const e = [];
|
package/dialog-form/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isEmpty as
|
|
2
|
-
import { d as l } from "../chunks/util.
|
|
1
|
+
import { isEmpty as a } from "@web-utils/core";
|
|
2
|
+
import { d as l } from "../chunks/util.505913d9.mjs";
|
|
3
3
|
import r from "vue";
|
|
4
4
|
import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
5
5
|
var d = function() {
|
|
@@ -94,7 +94,7 @@ const i = {
|
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
methods: {
|
|
97
|
-
isEmpty:
|
|
97
|
+
isEmpty: a,
|
|
98
98
|
deepClone: l,
|
|
99
99
|
submit() {
|
|
100
100
|
this.$refs.form.submit();
|
|
@@ -125,7 +125,7 @@ i.showForm = (e) => {
|
|
|
125
125
|
const t = r.extend(i), o = new t().$mount();
|
|
126
126
|
return document.body.appendChild(o.$el), o.show(e), o;
|
|
127
127
|
};
|
|
128
|
-
const u = i,
|
|
128
|
+
const u = i, n = {};
|
|
129
129
|
var p = /* @__PURE__ */ c(
|
|
130
130
|
u,
|
|
131
131
|
d,
|
|
@@ -137,8 +137,8 @@ var p = /* @__PURE__ */ c(
|
|
|
137
137
|
null
|
|
138
138
|
);
|
|
139
139
|
function b(e) {
|
|
140
|
-
for (let t in
|
|
141
|
-
this[t] =
|
|
140
|
+
for (let t in n)
|
|
141
|
+
this[t] = n[t];
|
|
142
142
|
}
|
|
143
143
|
const v = /* @__PURE__ */ function() {
|
|
144
144
|
return p.exports;
|
package/editable-tree/index.mjs
CHANGED
|
@@ -30,8 +30,8 @@ import { hasOwn as m, isVerticalScrollbarVisible as M, scrollbarWidth as K, comp
|
|
|
30
30
|
import { addResizeListener as C, removeResizeListener as v } from "@web-utils/integrations/resize";
|
|
31
31
|
import { cloneDeep as g } from "@web-utils/integrations/lodash";
|
|
32
32
|
import { a as z, b as S, c as y } from "../chunks/index.57f871af.mjs";
|
|
33
|
-
import { n as
|
|
34
|
-
var
|
|
33
|
+
import { n as V } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
34
|
+
var A = function() {
|
|
35
35
|
var e = this, i = e.$createElement, t = e._self._c || i;
|
|
36
36
|
return t("div", {
|
|
37
37
|
staticClass: "editable-tree"
|
|
@@ -378,7 +378,7 @@ var V = function() {
|
|
|
378
378
|
curNode: e.curNode,
|
|
379
379
|
curData: e.curData
|
|
380
380
|
})], 2)]) : e._e()], 1)], 1);
|
|
381
|
-
},
|
|
381
|
+
}, I = [];
|
|
382
382
|
const O = {
|
|
383
383
|
name: "EditableTree",
|
|
384
384
|
props: {
|
|
@@ -822,10 +822,10 @@ const O = {
|
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
824
|
}, $ = {};
|
|
825
|
-
var F = /* @__PURE__ */
|
|
825
|
+
var F = /* @__PURE__ */ V(
|
|
826
826
|
O,
|
|
827
|
-
V,
|
|
828
827
|
A,
|
|
828
|
+
I,
|
|
829
829
|
!1,
|
|
830
830
|
j,
|
|
831
831
|
null,
|
package/flow/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as l, r as c } from "../chunks/util.
|
|
1
|
+
import { s as l, r as c } from "../chunks/util.505913d9.mjs";
|
|
2
2
|
import { n as u } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
3
|
var h = function() {
|
|
4
4
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
@@ -43,7 +43,7 @@ var h = function() {
|
|
|
43
43
|
})], 2)];
|
|
44
44
|
})], 2)]);
|
|
45
45
|
}, d = [];
|
|
46
|
-
const
|
|
46
|
+
const f = {
|
|
47
47
|
name: "Flow",
|
|
48
48
|
props: {
|
|
49
49
|
value: {
|
|
@@ -138,7 +138,7 @@ const m = {
|
|
|
138
138
|
},
|
|
139
139
|
methods: {
|
|
140
140
|
init() {
|
|
141
|
-
this.jsPlumb = jsPlumb.getInstance(), this.$nextTick(() => {
|
|
141
|
+
this.jsPlumb = window.jsPlumb.getInstance(), this.$nextTick(() => {
|
|
142
142
|
this.jsPlumbInit();
|
|
143
143
|
});
|
|
144
144
|
},
|
|
@@ -204,15 +204,15 @@ const m = {
|
|
|
204
204
|
});
|
|
205
205
|
},
|
|
206
206
|
loadEasyFlow() {
|
|
207
|
-
for (
|
|
207
|
+
for (let t = 0; t < this.option.nodeList.length; t++) {
|
|
208
208
|
const e = this.option.nodeList[t];
|
|
209
209
|
this.jsPlumb.makeSource(e.id, this.jsplumbSourceOptions), this.jsPlumb.makeTarget(e.id, this.jsplumbTargetOptions), this.jsPlumb.draggable(e.id);
|
|
210
210
|
}
|
|
211
|
-
for (
|
|
212
|
-
const
|
|
211
|
+
for (let t = 0; t < this.option.lineList.length; t++) {
|
|
212
|
+
const e = this.option.lineList[t];
|
|
213
213
|
this.jsPlumb.connect({
|
|
214
|
-
source:
|
|
215
|
-
target:
|
|
214
|
+
source: e.from,
|
|
215
|
+
target: e.to
|
|
216
216
|
}, this.jsplumbConnectOptions);
|
|
217
217
|
}
|
|
218
218
|
this.$nextTick(function() {
|
|
@@ -255,8 +255,8 @@ const m = {
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
}, r = {};
|
|
258
|
-
var
|
|
259
|
-
|
|
258
|
+
var m = /* @__PURE__ */ u(
|
|
259
|
+
f,
|
|
260
260
|
h,
|
|
261
261
|
d,
|
|
262
262
|
!1,
|
|
@@ -270,7 +270,7 @@ function p(t) {
|
|
|
270
270
|
this[e] = r[e];
|
|
271
271
|
}
|
|
272
272
|
const j = /* @__PURE__ */ function() {
|
|
273
|
-
return
|
|
273
|
+
return m.exports;
|
|
274
274
|
}();
|
|
275
275
|
export {
|
|
276
276
|
j as default
|
package/flow/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-flow{position:relative}.avue-flow .avue-draggable{padding:0}.avue-flow__node{position:relative;display:flex;flex-direction:column;box-sizing:border-box;width:200px;height:80px;overflow:hidden;border:1px solid #eee;border-radius:5px;box-shadow
|
|
1
|
+
.avue-flow{position:relative}.avue-flow .avue-draggable{padding:0}.avue-flow__node{position:relative;display:flex;flex-direction:column;box-sizing:border-box;width:200px;height:80px;overflow:hidden;border:1px solid #eee;border-radius:5px;box-shadow:#66a6e0 0 0 12px}.avue-flow__node--active{border-color:#f56c6c;border-width:2px}.avue-flow__node-drag{display:inline-block;margin:0 5px}.avue-flow__node-header{flex:1;background-color:#66a6e0}.avue-flow__node-body{display:flex;flex:1.5;align-items:center;justify-content:center;text-align:center;background:#fff}
|
package/flow-node/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as n } from "../chunks/util.
|
|
1
|
+
import { s as n } from "../chunks/util.505913d9.mjs";
|
|
2
2
|
import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
3
|
var l = function() {
|
|
4
4
|
var e = this, o = e.$createElement, t = e._self._c || o;
|
|
@@ -72,7 +72,7 @@ const i = {
|
|
|
72
72
|
},
|
|
73
73
|
// 鼠标移动后抬起
|
|
74
74
|
changeNodeSite() {
|
|
75
|
-
this.node.left
|
|
75
|
+
this.node.left === this.$refs.node.style.left && this.node.top === this.$refs.node.style.top || this.$emit("changeNodeSite", {
|
|
76
76
|
index: this.index,
|
|
77
77
|
left: Number(this.$refs.node.style.left.replace("px", "")),
|
|
78
78
|
top: Number(this.$refs.node.style.top.replace("px", ""))
|
package/form-button/index.mjs
CHANGED
|
@@ -1,28 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Confirmable as n } from "@web-utils/component";
|
|
2
2
|
import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
|
-
const
|
|
4
|
-
name: "Confirmable",
|
|
5
|
-
mixins: [r]
|
|
6
|
-
};
|
|
7
|
-
let s, _;
|
|
8
|
-
const t = {};
|
|
9
|
-
var a = /* @__PURE__ */ o(
|
|
10
|
-
i,
|
|
11
|
-
s,
|
|
12
|
-
_,
|
|
13
|
-
!1,
|
|
14
|
-
u,
|
|
15
|
-
null,
|
|
16
|
-
null,
|
|
17
|
-
null
|
|
18
|
-
);
|
|
19
|
-
function u(l) {
|
|
20
|
-
for (let n in t)
|
|
21
|
-
this[n] = t[n];
|
|
22
|
-
}
|
|
23
|
-
const c = /* @__PURE__ */ function() {
|
|
24
|
-
return a.exports;
|
|
25
|
-
}(), p = {
|
|
3
|
+
const l = {
|
|
26
4
|
props: {
|
|
27
5
|
type: {
|
|
28
6
|
type: String,
|
|
@@ -52,29 +30,29 @@ const c = /* @__PURE__ */ function() {
|
|
|
52
30
|
default: "AwesomeButton"
|
|
53
31
|
}
|
|
54
32
|
}
|
|
55
|
-
},
|
|
33
|
+
}, r = {
|
|
56
34
|
name: "FormButton",
|
|
57
|
-
mixins: [
|
|
35
|
+
mixins: [n, l]
|
|
58
36
|
};
|
|
59
|
-
let
|
|
37
|
+
let a, i;
|
|
60
38
|
const e = {};
|
|
61
|
-
var
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
39
|
+
var u = /* @__PURE__ */ o(
|
|
40
|
+
r,
|
|
41
|
+
a,
|
|
42
|
+
i,
|
|
65
43
|
!1,
|
|
66
|
-
|
|
44
|
+
s,
|
|
67
45
|
null,
|
|
68
46
|
null,
|
|
69
47
|
null
|
|
70
48
|
);
|
|
71
|
-
function
|
|
72
|
-
for (let
|
|
73
|
-
this[
|
|
49
|
+
function s(p) {
|
|
50
|
+
for (let t in e)
|
|
51
|
+
this[t] = e[t];
|
|
74
52
|
}
|
|
75
|
-
const
|
|
76
|
-
return
|
|
53
|
+
const f = /* @__PURE__ */ function() {
|
|
54
|
+
return u.exports;
|
|
77
55
|
}();
|
|
78
56
|
export {
|
|
79
|
-
|
|
57
|
+
f as default
|
|
80
58
|
};
|
package/form-group/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n
|
|
2
|
-
var
|
|
1
|
+
import { n } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
|
+
var l = function() {
|
|
3
3
|
var e = this, a = e.$createElement, t = e._self._c || a;
|
|
4
4
|
return e.display ? t("div", {
|
|
5
5
|
class: ["avue-group", {
|
|
@@ -15,8 +15,8 @@ var s = function() {
|
|
|
15
15
|
},
|
|
16
16
|
model: {
|
|
17
17
|
value: e.activeName,
|
|
18
|
-
callback: function(
|
|
19
|
-
e.activeName =
|
|
18
|
+
callback: function(o) {
|
|
19
|
+
e.activeName = o;
|
|
20
20
|
},
|
|
21
21
|
expression: "activeName"
|
|
22
22
|
}
|
|
@@ -24,26 +24,25 @@ var s = function() {
|
|
|
24
24
|
attrs: {
|
|
25
25
|
name: 1,
|
|
26
26
|
disabled: !e.arrow
|
|
27
|
-
}
|
|
28
|
-
}, [e.$slots.header && e.header ? t("div", {
|
|
29
|
-
staticClass: "avue-group__header",
|
|
30
|
-
attrs: {
|
|
31
|
-
slot: "title"
|
|
32
|
-
},
|
|
33
|
-
slot: "title"
|
|
34
|
-
}, [e._t("header")], 2) : (e.label || e.icon) && e.header ? t("div", {
|
|
35
|
-
staticClass: "avue-group__header",
|
|
36
|
-
attrs: {
|
|
37
|
-
slot: "title"
|
|
38
27
|
},
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
28
|
+
scopedSlots: e._u([{
|
|
29
|
+
key: "title",
|
|
30
|
+
fn: function() {
|
|
31
|
+
return [t("div", {
|
|
32
|
+
staticClass: "avue-group__header"
|
|
33
|
+
}, [e._t("header", function() {
|
|
34
|
+
return [e.icon ? t("i", {
|
|
35
|
+
class: [e.icon, "avue-group__icon"]
|
|
36
|
+
}) : e._e(), e.label ? t("h1", {
|
|
37
|
+
staticClass: "avue-group__title"
|
|
38
|
+
}, [e._v(" " + e._s(e.label) + " ")]) : e._e()];
|
|
39
|
+
})], 2)];
|
|
40
|
+
},
|
|
41
|
+
proxy: !0
|
|
42
|
+
}], null, !0)
|
|
43
|
+
}, [e._t("default")], 2)], 1)], 2) : e._e();
|
|
44
|
+
}, s = [];
|
|
45
|
+
const u = {
|
|
47
46
|
name: "FormGroup",
|
|
48
47
|
props: {
|
|
49
48
|
arrow: {
|
|
@@ -65,10 +64,6 @@ const i = {
|
|
|
65
64
|
type: Boolean,
|
|
66
65
|
default: !0
|
|
67
66
|
},
|
|
68
|
-
card: {
|
|
69
|
-
type: Boolean,
|
|
70
|
-
default: !1
|
|
71
|
-
},
|
|
72
67
|
label: {
|
|
73
68
|
type: String
|
|
74
69
|
}
|
|
@@ -100,10 +95,10 @@ const i = {
|
|
|
100
95
|
}
|
|
101
96
|
}
|
|
102
97
|
}, r = {};
|
|
103
|
-
var
|
|
104
|
-
|
|
98
|
+
var i = /* @__PURE__ */ n(
|
|
99
|
+
u,
|
|
100
|
+
l,
|
|
105
101
|
s,
|
|
106
|
-
n,
|
|
107
102
|
!1,
|
|
108
103
|
c,
|
|
109
104
|
null,
|
|
@@ -114,9 +109,9 @@ function c(e) {
|
|
|
114
109
|
for (let a in r)
|
|
115
110
|
this[a] = r[a];
|
|
116
111
|
}
|
|
117
|
-
const
|
|
118
|
-
return
|
|
112
|
+
const p = /* @__PURE__ */ function() {
|
|
113
|
+
return i.exports;
|
|
119
114
|
}();
|
|
120
115
|
export {
|
|
121
|
-
|
|
116
|
+
p as default
|
|
122
117
|
};
|
package/form-temp/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as a, a as u } from "../chunks/dataformat.
|
|
2
|
-
import { s
|
|
3
|
-
import { u as
|
|
4
|
-
import { n as
|
|
5
|
-
var
|
|
1
|
+
import { g as a, a as u } from "../chunks/dataformat.ab62230f.mjs";
|
|
2
|
+
import { s } from "../chunks/slot.4b391395.mjs";
|
|
3
|
+
import { u as p } from "../chunks/util.505913d9.mjs";
|
|
4
|
+
import { n as m } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
5
|
+
var c = function() {
|
|
6
6
|
var e = this, n = e.$createElement, o = e._self._c || n;
|
|
7
7
|
return o(e.getComponent(e.column.type, e.column.component), e._g(e._b({
|
|
8
8
|
ref: "temp",
|
|
@@ -28,8 +28,8 @@ var i = function() {
|
|
|
28
28
|
scopedSlots: e._u([e._l(e.columnSlot, function(t) {
|
|
29
29
|
return {
|
|
30
30
|
key: t,
|
|
31
|
-
fn: function(
|
|
32
|
-
return [e._t(t, null, null,
|
|
31
|
+
fn: function(l) {
|
|
32
|
+
return [e._t(t, null, null, l)];
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
})], null, !0),
|
|
@@ -45,18 +45,12 @@ var i = function() {
|
|
|
45
45
|
innerHTML: e._s(e.params.html)
|
|
46
46
|
}
|
|
47
47
|
}) : e._e()]);
|
|
48
|
-
},
|
|
48
|
+
}, i = [];
|
|
49
49
|
const d = {
|
|
50
50
|
name: "FormTemp",
|
|
51
|
-
mixins: [
|
|
51
|
+
mixins: [s],
|
|
52
52
|
props: {
|
|
53
53
|
value: [String, Object, Number, Boolean, Array],
|
|
54
|
-
uploadBefore: Function,
|
|
55
|
-
uploadDelete: Function,
|
|
56
|
-
uploadAfter: Function,
|
|
57
|
-
uploadPreview: Function,
|
|
58
|
-
uploadError: Function,
|
|
59
|
-
uploadExceed: Function,
|
|
60
54
|
columnSlot: {
|
|
61
55
|
type: Array,
|
|
62
56
|
default: () => []
|
|
@@ -65,9 +59,6 @@ const d = {
|
|
|
65
59
|
type: Object,
|
|
66
60
|
default: () => ({})
|
|
67
61
|
},
|
|
68
|
-
clearable: {
|
|
69
|
-
type: Boolean
|
|
70
|
-
},
|
|
71
62
|
enter: {
|
|
72
63
|
type: Boolean,
|
|
73
64
|
default: !1
|
|
@@ -85,9 +76,6 @@ const d = {
|
|
|
85
76
|
dic: {
|
|
86
77
|
type: Array
|
|
87
78
|
},
|
|
88
|
-
placeholder: {
|
|
89
|
-
type: String
|
|
90
|
-
},
|
|
91
79
|
size: {
|
|
92
80
|
type: String
|
|
93
81
|
},
|
|
@@ -119,18 +107,18 @@ const d = {
|
|
|
119
107
|
}
|
|
120
108
|
},
|
|
121
109
|
methods: {
|
|
122
|
-
uploadFun:
|
|
110
|
+
uploadFun: p,
|
|
123
111
|
getComponent: a,
|
|
124
112
|
getPlaceholder: u,
|
|
125
113
|
enterChange() {
|
|
126
114
|
typeof this.column.enter == "function" ? this.column.enter({ value: this.text, column: this.column }) : this.enter && this.$emit("enter");
|
|
127
115
|
}
|
|
128
116
|
}
|
|
129
|
-
},
|
|
130
|
-
var y = /* @__PURE__ */
|
|
117
|
+
}, r = {};
|
|
118
|
+
var y = /* @__PURE__ */ m(
|
|
131
119
|
d,
|
|
120
|
+
c,
|
|
132
121
|
i,
|
|
133
|
-
m,
|
|
134
122
|
!1,
|
|
135
123
|
f,
|
|
136
124
|
null,
|
|
@@ -138,8 +126,8 @@ var y = /* @__PURE__ */ c(
|
|
|
138
126
|
null
|
|
139
127
|
);
|
|
140
128
|
function f(e) {
|
|
141
|
-
for (let n in
|
|
142
|
-
this[n] =
|
|
129
|
+
for (let n in r)
|
|
130
|
+
this[n] = r[n];
|
|
143
131
|
}
|
|
144
132
|
const v = /* @__PURE__ */ function() {
|
|
145
133
|
return y.exports;
|