@web-utils/component 3.3.8 → 3.3.10
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/chat/index.mjs +1 -1
- package/chunks/{FormTemp.DBXY12r6.mjs → FormTemp.BO_zCjBT.mjs} +2 -2
- package/chunks/{dataformat.D_Opg_Hq.mjs → dataformat.J6EgqBfr.mjs} +1 -1
- package/chunks/{dic.BPoY9VwV.mjs → dic.6ODiMBAw.mjs} +1 -1
- package/chunks/{event.X575VReS.mjs → event.ChkcZtyR.mjs} +2 -2
- package/chunks/{init.CwDxjHXI.mjs → init.BbPaCwke.mjs} +2 -2
- package/chunks/{util.CGBb6mdq.mjs → util.ThVOTZAO.mjs} +2 -24
- package/code-mirror-editor/index.mjs +7 -12
- package/dialog-form/index.mjs +1 -1
- package/easy-popup/index.mjs +1 -4
- package/editable-tree/index.mjs +1 -5
- package/egd-collapse/index.mjs +1 -3
- package/element-dialog/index.mjs +1 -5
- package/flex-scroller/index.mjs +1 -5
- package/flow/index.mjs +1 -1
- package/flow-designer/index.mjs +27 -115
- package/flow-node/index.mjs +1 -1
- package/flow-viewer/index.mjs +1 -7
- package/form-checkbox-group/index.mjs +1 -3
- package/form-input/index.mjs +1 -3
- package/form-input-email/index.mjs +1 -3
- package/form-input-id-card/index.mjs +1 -3
- package/form-input-number/index.mjs +1 -3
- package/form-input-phone-number/index.mjs +1 -3
- package/form-input-time/index.mjs +1 -3
- package/form-radio-group/index.mjs +2 -8
- package/form-select/index.mjs +1 -3
- package/form-switch/index.mjs +1 -3
- package/form-view/index.mjs +1 -3
- package/fy-array/index.mjs +2 -2
- package/fy-cascader/index.mjs +1 -1
- package/fy-checkbox/index.mjs +1 -1
- package/fy-code/index.mjs +1 -1
- package/fy-curd/index.mjs +10 -20
- package/fy-date/index.mjs +1 -1
- package/fy-draggable/index.mjs +1 -1
- package/fy-dynamic/index.mjs +2 -2
- package/fy-empty/index.mjs +1 -1
- package/fy-form/index.mjs +6 -10
- package/fy-form-design/index.mjs +11 -68
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +1 -1
- package/fy-input-color/index.mjs +1 -1
- package/fy-input-icon/index.mjs +37 -37
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +1 -1
- package/fy-input-number/index.mjs +1 -1
- package/fy-input-table/index.mjs +1 -1
- package/fy-input-tree/index.mjs +1 -1
- package/fy-radio/index.mjs +1 -1
- package/fy-rate/index.mjs +1 -1
- package/fy-select/index.mjs +3 -3
- package/fy-slider/index.mjs +2 -2
- package/fy-switch/index.mjs +1 -1
- package/fy-tabs/index.mjs +16 -27
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +1 -1
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +2 -2
- package/icon-temp/index.mjs +7 -6
- package/image-cropper/index.mjs +1 -1
- package/image-preview/index.mjs +1 -1
- package/license/index.mjs +1 -1
- package/login/index.mjs +1 -1
- package/package.json +4 -4
- package/page-skeleton/index.mjs +1 -5
- package/photo-swipe/index.mjs +1 -3
- package/present-view/index.mjs +1 -3
- package/record-video/index.mjs +1 -1
- package/search/index.mjs +2 -2
- package/search-popover/index.mjs +2 -2
- package/sign/index.mjs +1 -1
- package/sign-panel/index.mjs +1 -1
- package/table-view/index.mjs +14 -18
- package/text-ellipsis/index.mjs +1 -1
- package/verify/index.mjs +1 -1
- package/vue-tree-select/index.mjs +4 -18
- package/vue-video-player/index.mjs +1 -11
- package/web-types.json +9 -1
package/form-select/index.mjs
CHANGED
|
@@ -14,9 +14,7 @@ import { f } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
|
14
14
|
import o from "element-ui/lib/select";
|
|
15
15
|
import { d as h, n as m } from "../chunks/index.DwCBGcYk.mjs";
|
|
16
16
|
import { n as y } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
17
|
-
const d = Object.keys(o.props || o.default.props).filter(
|
|
18
|
-
(l) => !["value", "placeholder", "disabled"].includes(l)
|
|
19
|
-
), _ = {
|
|
17
|
+
const d = Object.keys(o.props || o.default.props).filter((l) => !["value", "placeholder", "disabled"].includes(l)), _ = {
|
|
20
18
|
name: "FormSelect",
|
|
21
19
|
mixins: [c, f],
|
|
22
20
|
props: {
|
package/form-switch/index.mjs
CHANGED
|
@@ -13,9 +13,7 @@ import { f as c } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
|
13
13
|
import s from "element-ui/lib/switch";
|
|
14
14
|
import { d as m, n as d } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
15
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
16
|
-
const _ = Object.keys(s.props || s.default.props).filter(
|
|
17
|
-
(r) => !["value", "placeholder", "disabled"].includes(r)
|
|
18
|
-
), y = {
|
|
16
|
+
const _ = Object.keys(s.props || s.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), y = {
|
|
19
17
|
name: "FormSwitch",
|
|
20
18
|
mixins: [c],
|
|
21
19
|
props: {
|
package/form-view/index.mjs
CHANGED
|
@@ -123,9 +123,7 @@ const y = [
|
|
|
123
123
|
return this.toolbarProps.buttons.filter((o) => !v.includes(o) && o.indexOf(":down") < 0).map((o) => o.replace(":up", ""));
|
|
124
124
|
},
|
|
125
125
|
footerBarButtons() {
|
|
126
|
-
let o = this.toolbarProps.buttons.filter(
|
|
127
|
-
(t) => !T.includes(t) && (v.includes(t) || t.indexOf(":down") > -1)
|
|
128
|
-
).map((t) => t.replace(":down", ""));
|
|
126
|
+
let o = this.toolbarProps.buttons.filter((t) => !T.includes(t) && (v.includes(t) || t.indexOf(":down") > -1)).map((t) => t.replace(":down", ""));
|
|
129
127
|
return o = o || [], this.$parent.isEnabled && !o.includes("cancel") && o.push("cancel"), o;
|
|
130
128
|
}
|
|
131
129
|
},
|
package/fy-array/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as l, e as a } from "../chunks/event.
|
|
2
|
-
import { i as o } from "../chunks/util.
|
|
1
|
+
import { p as l, e as a } from "../chunks/event.ChkcZtyR.mjs";
|
|
2
|
+
import { i as o } from "../chunks/util.ThVOTZAO.mjs";
|
|
3
3
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
4
4
|
const p = {
|
|
5
5
|
name: "FyArray",
|
package/fy-cascader/index.mjs
CHANGED
package/fy-checkbox/index.mjs
CHANGED
package/fy-code/index.mjs
CHANGED
package/fy-curd/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { p as $ } from "../chunks/packages.CWPkeLu9.mjs";
|
|
2
2
|
import { p as x } from "../chunks/permission.CO31YIkD.mjs";
|
|
3
|
-
import { i as O } from "../chunks/init.
|
|
4
|
-
import { g as F, c as k, t as I, f as E } from "../chunks/dataformat.
|
|
5
|
-
import { o as h, j as C, d as a, u as B, i as P, a as b, k as D, l as T, s as z } from "../chunks/util.
|
|
3
|
+
import { i as O } from "../chunks/init.BbPaCwke.mjs";
|
|
4
|
+
import { g as F, c as k, t as I, f as E } from "../chunks/dataformat.J6EgqBfr.mjs";
|
|
5
|
+
import { o as h, j as C, d as a, u as B, i as P, a as b, k as D, l as T, s as z } from "../chunks/util.ThVOTZAO.mjs";
|
|
6
6
|
import { isBlank as c } from "@web-utils/core";
|
|
7
7
|
import { s as M } from "../chunks/slot.DXIbhGat.mjs";
|
|
8
8
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
9
|
-
import { F as L, d as w } from "../chunks/FormTemp.
|
|
10
|
-
import { s as V } from "../chunks/dic.
|
|
9
|
+
import { F as L, d as w } from "../chunks/FormTemp.BO_zCjBT.mjs";
|
|
10
|
+
import { s as V } from "../chunks/dic.6ODiMBAw.mjs";
|
|
11
11
|
import R from "../icon-temp/index.mjs";
|
|
12
12
|
import "../icon-temp/style.css";
|
|
13
13
|
const p = {
|
|
@@ -535,14 +535,10 @@ const re = ne.exports, se = {
|
|
|
535
535
|
computed: {
|
|
536
536
|
list() {
|
|
537
537
|
let t = [...this.columnOption];
|
|
538
|
-
return t = T(
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
var n, r;
|
|
543
|
-
return ((n = this.crud.objectOption[e.prop]) == null ? void 0 : n.index) - ((r = this.crud.objectOption[i.prop]) == null ? void 0 : r.index);
|
|
544
|
-
}
|
|
545
|
-
), t;
|
|
538
|
+
return t = T(t, "index", (e, i) => {
|
|
539
|
+
var n, r;
|
|
540
|
+
return ((n = this.crud.objectOption[e.prop]) == null ? void 0 : n.index) - ((r = this.crud.objectOption[i.prop]) == null ? void 0 : r.index);
|
|
541
|
+
}), t;
|
|
546
542
|
}
|
|
547
543
|
},
|
|
548
544
|
methods: {
|
|
@@ -926,13 +922,7 @@ const we = Be.exports, Se = {
|
|
|
926
922
|
},
|
|
927
923
|
// 更新
|
|
928
924
|
rowUpdate(t) {
|
|
929
|
-
this.crud.$emit(
|
|
930
|
-
"row-update",
|
|
931
|
-
C(this.crud.tableForm, ["$"]),
|
|
932
|
-
this.crud.tableIndex,
|
|
933
|
-
this.closeDialog,
|
|
934
|
-
t
|
|
935
|
-
);
|
|
925
|
+
this.crud.$emit("row-update", C(this.crud.tableForm, ["$"]), this.crud.tableIndex, this.closeDialog, t);
|
|
936
926
|
},
|
|
937
927
|
closeDialog(t) {
|
|
938
928
|
t = a(t), t && (() => {
|
package/fy-date/index.mjs
CHANGED
package/fy-draggable/index.mjs
CHANGED
package/fy-dynamic/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as d, e as u } from "../chunks/event.
|
|
2
|
-
import { o, d as l } from "../chunks/util.
|
|
1
|
+
import { p as d, e as u } from "../chunks/event.ChkcZtyR.mjs";
|
|
2
|
+
import { o, d as l } from "../chunks/util.ThVOTZAO.mjs";
|
|
3
3
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
4
4
|
const h = {
|
|
5
5
|
name: "FyDynamic",
|
package/fy-empty/index.mjs
CHANGED
package/fy-form/index.mjs
CHANGED
|
@@ -14,11 +14,11 @@ var D = (i, e, r) => new Promise((s, p) => {
|
|
|
14
14
|
}, a = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(t, l);
|
|
15
15
|
a((r = r.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { F as P, d as z } from "../chunks/FormTemp.
|
|
18
|
-
import { i as B } from "../chunks/init.
|
|
19
|
-
import { s as v, d as x, u as j, x as I, p as L, j as S, a as V, o as M, y as A } from "../chunks/util.
|
|
20
|
-
import { d as W, c as R, a as G, b as H, f as U } from "../chunks/dataformat.
|
|
21
|
-
import { s as q } from "../chunks/dic.
|
|
17
|
+
import { F as P, d as z } from "../chunks/FormTemp.BO_zCjBT.mjs";
|
|
18
|
+
import { i as B } from "../chunks/init.BbPaCwke.mjs";
|
|
19
|
+
import { s as v, d as x, u as j, x as I, p as L, j as S, a as V, o as M, y as A } from "../chunks/util.ThVOTZAO.mjs";
|
|
20
|
+
import { d as W, c as R, a as G, b as H, f as U } from "../chunks/dataformat.J6EgqBfr.mjs";
|
|
21
|
+
import { s as q } from "../chunks/dic.6ODiMBAw.mjs";
|
|
22
22
|
import { p as K } from "../chunks/packages.CWPkeLu9.mjs";
|
|
23
23
|
import { isBlank as u } from "@web-utils/core";
|
|
24
24
|
import { n as $ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
@@ -615,11 +615,7 @@ var ne = function() {
|
|
|
615
615
|
}, proxy: !0 }, e.getSlotName(s, "H", e.$scopedSlots) ? { key: "header", fn: function() {
|
|
616
616
|
return [e._t(e.getSlotName(s, "H"), null, { column: s })];
|
|
617
617
|
}, proxy: !0 } : null], null, !0) }, [r("div", { directives: [{ name: "show", rawName: "v-show", value: e.isGroupShow(s, p), expression: "isGroupShow(item, index)" }], class: ["avue-form__group", { "avue-form__group--flex": s.flex === !1 }] }, [e._l(s.column, function(t, l) {
|
|
618
|
-
return [e.vaildDisplay(t) ? r("ElCol", { key: l, class: [
|
|
619
|
-
"avue-form__row",
|
|
620
|
-
{ "avue--detail avue--detail__column": e.vaildDetail(t) },
|
|
621
|
-
t.className
|
|
622
|
-
], style: { paddingLeft: e.gutter, paddingRight: e.gutter }, attrs: { span: e.getSpan(t), md: e.getSpan(t), sm: t.smSpan || s.smSpan || 12, xs: t.xsSpan || s.xmSpan || 24, offset: t.offset || s.offset, push: t.push || s.push, pull: t.pull || s.pull } }, [r("ElFormItem", { class: `avue-form__item--${t.labelPosition || s.labelPosition || ""}`, attrs: { prop: t.prop, label: t.label, rules: t.rules, "label-position": t.labelPosition || s.labelPosition || e.parentOption.labelPosition, "label-width": e.getLabelWidth(t, s) }, scopedSlots: e._u([e.getSlotName(t, "L", e.$scopedSlots) ? { key: "label", fn: function() {
|
|
618
|
+
return [e.vaildDisplay(t) ? r("ElCol", { key: l, class: ["avue-form__row", { "avue--detail avue--detail__column": e.vaildDetail(t) }, t.className], style: { paddingLeft: e.gutter, paddingRight: e.gutter }, attrs: { span: e.getSpan(t), md: e.getSpan(t), sm: t.smSpan || s.smSpan || 12, xs: t.xsSpan || s.xmSpan || 24, offset: t.offset || s.offset, push: t.push || s.push, pull: t.pull || s.pull } }, [r("ElFormItem", { class: `avue-form__item--${t.labelPosition || s.labelPosition || ""}`, attrs: { prop: t.prop, label: t.label, rules: t.rules, "label-position": t.labelPosition || s.labelPosition || e.parentOption.labelPosition, "label-width": e.getLabelWidth(t, s) }, scopedSlots: e._u([e.getSlotName(t, "L", e.$scopedSlots) ? { key: "label", fn: function() {
|
|
623
619
|
return [e._t(e.getSlotName(t, "L"), null, { column: t, value: e.form[t.prop], readonly: t.readonly || e.readonly, disabled: e.getDisabled(t), size: t.size || e.controlSize, dic: e.DIC[t.prop] })];
|
|
624
620
|
}, proxy: !0 } : t.labelTip ? { key: "label", fn: function() {
|
|
625
621
|
return [r("ElTooltip", { staticClass: "item", attrs: { effect: "dark", placement: t.labelTipPlacement || "top-start" }, scopedSlots: e._u([{ key: "content", fn: function() {
|
package/fy-form-design/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ import { isBlank as C } from "@web-utils/core";
|
|
|
29
29
|
import b from "../monaco-editor/index.mjs";
|
|
30
30
|
import g from "vuedraggable";
|
|
31
31
|
import { c as _ } from "../chunks/json-beautifier.CvdU9XNm.mjs";
|
|
32
|
-
import { d as m, z as h } from "../chunks/util.
|
|
32
|
+
import { d as m, z as h } from "../chunks/util.ThVOTZAO.mjs";
|
|
33
33
|
import { cloneDeep as v } from "@web-utils/integrations/lodash";
|
|
34
34
|
import "../fy-u-editor/style.css";
|
|
35
35
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
@@ -438,25 +438,11 @@ const E = [
|
|
|
438
438
|
iconList: [
|
|
439
439
|
{
|
|
440
440
|
label: "基本图标",
|
|
441
|
-
list: [
|
|
442
|
-
"el-icon-info",
|
|
443
|
-
"el-icon-error",
|
|
444
|
-
"el-icon-error",
|
|
445
|
-
"el-icon-success",
|
|
446
|
-
"el-icon-warning",
|
|
447
|
-
"el-icon-question"
|
|
448
|
-
]
|
|
441
|
+
list: ["el-icon-info", "el-icon-error", "el-icon-error", "el-icon-success", "el-icon-warning", "el-icon-question"]
|
|
449
442
|
},
|
|
450
443
|
{
|
|
451
444
|
label: "方向图标",
|
|
452
|
-
list: [
|
|
453
|
-
"el-icon-info",
|
|
454
|
-
"el-icon-back",
|
|
455
|
-
"el-icon-arrow-left",
|
|
456
|
-
"el-icon-arrow-down",
|
|
457
|
-
"el-icon-arrow-right",
|
|
458
|
-
"el-icon-arrow-up"
|
|
459
|
-
]
|
|
445
|
+
list: ["el-icon-info", "el-icon-back", "el-icon-arrow-left", "el-icon-arrow-down", "el-icon-arrow-right", "el-icon-arrow-up"]
|
|
460
446
|
},
|
|
461
447
|
{
|
|
462
448
|
label: "符号图标",
|
|
@@ -897,10 +883,7 @@ var H = function() {
|
|
|
897
883
|
e.selectWidget = s;
|
|
898
884
|
}, change: function(s) {
|
|
899
885
|
return e.$emit("change");
|
|
900
|
-
} } })], 1) : t("ElCol", { key: i, attrs: { md: a.span || 12, xs: 24, offset: a.offset || 0 } }, [t("ElFormItem", { staticClass: "widget-form-item", class: [
|
|
901
|
-
{ active: e.selectWidget.prop === a.prop, required: a.required },
|
|
902
|
-
`avue-form__item--${a.labelPosition}` || ""
|
|
903
|
-
], attrs: { label: a.label, "label-width": a.labelWidth && `${a.labelWidth}px`, prop: a.prop }, nativeOn: { click: function(s) {
|
|
886
|
+
} } })], 1) : t("ElCol", { key: i, attrs: { md: a.span || 12, xs: 24, offset: a.offset || 0 } }, [t("ElFormItem", { staticClass: "widget-form-item", class: [{ active: e.selectWidget.prop === a.prop, required: a.required }, `avue-form__item--${a.labelPosition}` || ""], attrs: { label: a.label, "label-width": a.labelWidth && `${a.labelWidth}px`, prop: a.prop }, nativeOn: { click: function(s) {
|
|
904
887
|
return e.handleSelectWidget(i);
|
|
905
888
|
} } }, [t("WidgetFormItem", { attrs: { item: a, params: a.params } }), e.selectWidget.prop === a.prop ? t("ElButton", { staticClass: "widget-action-delete", attrs: { title: "删除", circle: "", plain: "", size: "small", type: "danger" }, on: { click: function(s) {
|
|
906
889
|
return s.stopPropagation(), e.handleWidgetDelete(i);
|
|
@@ -1251,7 +1234,7 @@ var Te = function() {
|
|
|
1251
1234
|
ze,
|
|
1252
1235
|
!1,
|
|
1253
1236
|
null,
|
|
1254
|
-
"
|
|
1237
|
+
"befe1506",
|
|
1255
1238
|
null,
|
|
1256
1239
|
null
|
|
1257
1240
|
);
|
|
@@ -1613,7 +1596,7 @@ var et = function() {
|
|
|
1613
1596
|
tt,
|
|
1614
1597
|
!1,
|
|
1615
1598
|
null,
|
|
1616
|
-
"
|
|
1599
|
+
"e3a1f4c8",
|
|
1617
1600
|
null,
|
|
1618
1601
|
null
|
|
1619
1602
|
);
|
|
@@ -1894,25 +1877,7 @@ const Wt = Bt.exports, Tt = {
|
|
|
1894
1877
|
},
|
|
1895
1878
|
data() {
|
|
1896
1879
|
return {
|
|
1897
|
-
options: [
|
|
1898
|
-
"100",
|
|
1899
|
-
"200",
|
|
1900
|
-
"300",
|
|
1901
|
-
"400",
|
|
1902
|
-
"500",
|
|
1903
|
-
"600",
|
|
1904
|
-
"700",
|
|
1905
|
-
"800",
|
|
1906
|
-
"900",
|
|
1907
|
-
"blod",
|
|
1908
|
-
"bloder",
|
|
1909
|
-
"inherit",
|
|
1910
|
-
"initial",
|
|
1911
|
-
"lighter",
|
|
1912
|
-
"normal",
|
|
1913
|
-
"revert",
|
|
1914
|
-
"unset"
|
|
1915
|
-
]
|
|
1880
|
+
options: ["100", "200", "300", "400", "500", "600", "700", "800", "900", "blod", "bloder", "inherit", "initial", "lighter", "normal", "revert", "unset"]
|
|
1916
1881
|
};
|
|
1917
1882
|
}
|
|
1918
1883
|
};
|
|
@@ -2328,18 +2293,7 @@ var Yt = function() {
|
|
|
2328
2293
|
null,
|
|
2329
2294
|
null
|
|
2330
2295
|
);
|
|
2331
|
-
const ea = Zt.exports, ta = [
|
|
2332
|
-
"year",
|
|
2333
|
-
"month",
|
|
2334
|
-
"week",
|
|
2335
|
-
"date",
|
|
2336
|
-
"datetime",
|
|
2337
|
-
"time",
|
|
2338
|
-
"daterange",
|
|
2339
|
-
"timerange",
|
|
2340
|
-
"datetimerange",
|
|
2341
|
-
"dates"
|
|
2342
|
-
], aa = {
|
|
2296
|
+
const ea = Zt.exports, ta = ["year", "month", "week", "date", "datetime", "time", "daterange", "timerange", "datetimerange", "dates"], aa = {
|
|
2343
2297
|
name: "WidgetConfig",
|
|
2344
2298
|
components: {
|
|
2345
2299
|
ConfigCustom: oe,
|
|
@@ -2438,20 +2392,9 @@ var la = function() {
|
|
|
2438
2392
|
e.$set(e.data, "width", a);
|
|
2439
2393
|
}, expression: "data.width" } })], 1) : e._e(), !e.data.subfield && !["group"].includes(e.data.type) ? t("ElFormItem", { attrs: { label: "表单栅格" } }, [t("ElInputNumber", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", placeholder: "表单栅格", min: 2, max: 24 }, model: { value: e.data.span, callback: function(a) {
|
|
2440
2394
|
e.$set(e.data, "span", a);
|
|
2441
|
-
}, expression: "data.span" } })], 1) : e._e(), [
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
"radio",
|
|
2445
|
-
"select",
|
|
2446
|
-
"tree",
|
|
2447
|
-
"upload",
|
|
2448
|
-
"img",
|
|
2449
|
-
"array",
|
|
2450
|
-
"slider",
|
|
2451
|
-
"timerange",
|
|
2452
|
-
"daterange",
|
|
2453
|
-
"datetimerange"
|
|
2454
|
-
].includes(e.data.type) ? t("ElFormItem", { attrs: { label: "数据类型" }, scopedSlots: e._u([{ key: "label", fn: function() {
|
|
2395
|
+
}, expression: "data.span" } })], 1) : e._e(), ["cascader", "checkbox", "radio", "select", "tree", "upload", "img", "array", "slider", "timerange", "daterange", "datetimerange"].includes(
|
|
2396
|
+
e.data.type
|
|
2397
|
+
) ? t("ElFormItem", { attrs: { label: "数据类型" }, scopedSlots: e._u([{ key: "label", fn: function() {
|
|
2455
2398
|
return [t("ElLink", { attrs: { underline: !1, href: "https://avuejs.com/docs/datatype.html", target: "_blank" } }, [e._v(" 数据类型 "), t("i", { staticClass: "el-icon-question" })])];
|
|
2456
2399
|
}, proxy: !0 }], null, !1, 3051713203) }, [t("ElSelect", { attrs: { placeholder: "数据类型", clearable: "" }, model: { value: e.data.dataType, callback: function(a) {
|
|
2457
2400
|
e.$set(e.data, "dataType", a);
|
package/fy-form-design/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.dic[data-v-31aa4f25]{margin-bottom:5px;display:flex}.el-tag[data-v-a7db64bd]{vertical-align:top}.el-tag+.el-tag[data-v-a7db64bd]{margin-left:5px}.input-new-tag[data-v-a7db64bd]{vertical-align:bottom;width:90px;margin-left:5px}.color-picker[data-v-a7db64bd]{vertical-align:top;left:10px}.custom-tree-node[data-v-d0068d2b]{flex:1;justify-content:space-between;align-items:center;padding-right:8px;font-size:14px;display:flex}.form-designer{background:#fff;outline:1px solid #e4e7ed;height:100%}.form-designer ::-webkit-scrollbar{width:0!important;height:0!important}.form-designer ::-webkit-scrollbar-track{background-color:transparent!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer .fields-list{width:100%;height:100%;padding:10px 0}.form-designer .fields-list .field-title{padding:8px 12px;font-size:13px}.form-designer .fields-list ul{margin:0;padding:0 10px 10px;position:relative;overflow:hidden}.form-designer .fields-list .field-label{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:47%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}.form-designer .fields-list .field-label>a{color:#333;cursor:move;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label>a span{vertical-align:middle;display:inline-block}.form-designer .fields-list .field-label-disabled{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:48%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label-disabled:hover{color:gray;border:1px dashed gray}.form-designer .fields-list .field-label-disabled>a{cursor:not-allowed;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label-disabled>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label-disabled>a span{vertical-align:middle;display:inline-block}.form-designer .widget-container{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;flex:1}.form-designer .widget-container .widget-container-header{border-bottom:2px solid #e4e7ed;justify-content:space-between;align-items:center;display:flex;height:45px!important}.form-designer .widget-container .el-main{padding:0;position:relative}.form-designer .widget-form-container{height:100%;position:relative;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .el-form,.form-designer .widget-form-container .el-form .el-row{height:100%}.form-designer .widget-form-container .widget-form-list{height:100%;min-height:calc(100% - 45px);padding-bottom:50px;overflow-x:hidden;overflow-y:scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{border-left:5px solid transparent;min-height:30px;margin:0;padding:5px 10px 18px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-item:after{z-index:1001;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-item:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-item.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{z-index:1002;position:absolute;bottom:-32px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{z-index:1002;position:absolute;bottom:-32px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__content{outline-offset:-1px;outline:1px dashed #ccc;width:100%;height:100%;min-height:103px;padding:10px 5px;display:flex;overflow-y:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar{width:6px!important;height:6px!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar-thumb{background-color:#e5e7eb!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:90px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__item{width:33.3%;min-width:33.3%;height:100%;padding:1px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.required .el-table__header .cell:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-delete{z-index:1002;position:absolute;bottom:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone{z-index:1002;position:absolute;bottom:0;right:30px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone i{font-size:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .el-button--small.is-circle{padding:5px}.form-designer .widget-form-container .widget-form-list .widget-form-table.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .widget-form-group{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__head{margin:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body{outline-offset:-1px;outline:1px dashed #ccc;height:100%;min-height:150px;padding-bottom:15px;overflow:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-group__body .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:57px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-group__item{background:#fff;border-left:5px solid transparent;margin:3px;padding:10px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--delete{z-index:1002;position:absolute;bottom:-24px;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--clone{z-index:1002;position:absolute;bottom:-24px;right:34px}.form-designer .widget-form-container .widget-form-list .widget-form-group.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .iconfont{font-size:13px}.form-designer .widget-form-container .widget-form-list .el-button--small.is-circle{padding:7px}.form-designer .widget-form-container .ghost{box-sizing:border-box;content:"";background:#fff;border-top:5px solid #409eff;outline:0;width:100%;margin:2px 0;font-size:0;position:relative;overflow:hidden;height:0!important;padding:0!important}.form-designer .widget-config-container{height:100%;padding-top:5px}.form-designer .widget-config-container .el-tabs{height:100%}.form-designer .widget-config-container .el-tabs__header{z-index:1000;background:#fff;height:45px;margin:0}.form-designer .widget-config-container .el-tabs__content{height:calc(100% - 45px);overflow-y:scroll}.form-designer .widget-config-container .widget-config .el-tabs__header{margin:0;display:block;position:relative;top:0}.form-designer .widget-config-container .widget-config .el-tabs__content{margin-top:0}.form-designer .widget-config-container .widget-config .ghost{background:#fff;border:1px dashed #409eff}.form-designer .widget-config-container .widget-config ul{margin:0;padding:0}.form-designer .widget-config-container .widget-config ul li{align-items:center;width:100%;display:flex}.form-designer .widget-config-container .widget-config ul li .ghost{height:35px;font-size:0;list-style:none}.form-designer .widget-config-container .avue-group__item{padding:0}.form-designer .el-container{height:100%}.form-designer .el-container .el-main{height:calc(100% - 45px)}.form-designer .el-container .el-aside{background:#fff}.form-designer .danger{color:#f56c6c}.form-designer .warning{color:#e6a23c}.form-designer .el-input-number.is-controls-right .el-input-number__decrease{border-left:none}.form-designer .el-input-number.is-controls-right .el-input-number__increase{border-bottom:none;border-left:none}.form-designer .el-date-editor,.form-designer .el-cascader,.form-designer .el-select,.form-designer .el-input-number{width:100%}.form-designer .editor-fullscreen{z-index:1003;box-sizing:border-box;background:#fff;width:100%;padding:20px;top:0;bottom:0;left:0;right:0;height:100%!important;position:fixed!important}.form-designer .editor-fullscreen i{top:20px!important;left:25px!important}.afd-drawer-foot{padding:20px;display:flex;position:absolute;bottom:0;left:0;right:0}.afd-drawer-foot button{width:50%}.afd-drawer-foot>span{width:50%;display:inline-block}.afd-drawer-foot>span button{width:100%}.afd-preview-form{height:83vh;overflow-y:auto}
|
|
1
|
+
.dic[data-v-31aa4f25]{margin-bottom:5px;display:flex}.el-tag[data-v-befe1506]{vertical-align:top}.el-tag+.el-tag[data-v-befe1506]{margin-left:5px}.input-new-tag[data-v-befe1506]{vertical-align:bottom;width:90px;margin-left:5px}.color-picker[data-v-befe1506]{vertical-align:top;left:10px}.custom-tree-node[data-v-e3a1f4c8]{flex:1;justify-content:space-between;align-items:center;padding-right:8px;font-size:14px;display:flex}.form-designer{background:#fff;outline:1px solid #e4e7ed;height:100%}.form-designer ::-webkit-scrollbar{width:0!important;height:0!important}.form-designer ::-webkit-scrollbar-track{background-color:transparent!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer .fields-list{width:100%;height:100%;padding:10px 0}.form-designer .fields-list .field-title{padding:8px 12px;font-size:13px}.form-designer .fields-list ul{margin:0;padding:0 10px 10px;position:relative;overflow:hidden}.form-designer .fields-list .field-label{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:47%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}.form-designer .fields-list .field-label>a{color:#333;cursor:move;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label>a span{vertical-align:middle;display:inline-block}.form-designer .fields-list .field-label-disabled{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:48%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label-disabled:hover{color:gray;border:1px dashed gray}.form-designer .fields-list .field-label-disabled>a{cursor:not-allowed;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label-disabled>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label-disabled>a span{vertical-align:middle;display:inline-block}.form-designer .widget-container{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;flex:1}.form-designer .widget-container .widget-container-header{border-bottom:2px solid #e4e7ed;justify-content:space-between;align-items:center;display:flex;height:45px!important}.form-designer .widget-container .el-main{padding:0;position:relative}.form-designer .widget-form-container{height:100%;position:relative;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .el-form,.form-designer .widget-form-container .el-form .el-row{height:100%}.form-designer .widget-form-container .widget-form-list{height:100%;min-height:calc(100% - 45px);padding-bottom:50px;overflow-x:hidden;overflow-y:scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{border-left:5px solid transparent;min-height:30px;margin:0;padding:5px 10px 18px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-item:after{z-index:1001;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-item:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-item.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{z-index:1002;position:absolute;bottom:-32px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{z-index:1002;position:absolute;bottom:-32px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__content{outline-offset:-1px;outline:1px dashed #ccc;width:100%;height:100%;min-height:103px;padding:10px 5px;display:flex;overflow-y:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar{width:6px!important;height:6px!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar-thumb{background-color:#e5e7eb!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:90px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__item{width:33.3%;min-width:33.3%;height:100%;padding:1px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.required .el-table__header .cell:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-delete{z-index:1002;position:absolute;bottom:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone{z-index:1002;position:absolute;bottom:0;right:30px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone i{font-size:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .el-button--small.is-circle{padding:5px}.form-designer .widget-form-container .widget-form-list .widget-form-table.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .widget-form-group{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__head{margin:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body{outline-offset:-1px;outline:1px dashed #ccc;height:100%;min-height:150px;padding-bottom:15px;overflow:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-group__body .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:57px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-group__item{background:#fff;border-left:5px solid transparent;margin:3px;padding:10px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--delete{z-index:1002;position:absolute;bottom:-24px;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--clone{z-index:1002;position:absolute;bottom:-24px;right:34px}.form-designer .widget-form-container .widget-form-list .widget-form-group.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .iconfont{font-size:13px}.form-designer .widget-form-container .widget-form-list .el-button--small.is-circle{padding:7px}.form-designer .widget-form-container .ghost{box-sizing:border-box;content:"";background:#fff;border-top:5px solid #409eff;outline:0;width:100%;margin:2px 0;font-size:0;position:relative;overflow:hidden;height:0!important;padding:0!important}.form-designer .widget-config-container{height:100%;padding-top:5px}.form-designer .widget-config-container .el-tabs{height:100%}.form-designer .widget-config-container .el-tabs__header{z-index:1000;background:#fff;height:45px;margin:0}.form-designer .widget-config-container .el-tabs__content{height:calc(100% - 45px);overflow-y:scroll}.form-designer .widget-config-container .widget-config .el-tabs__header{margin:0;display:block;position:relative;top:0}.form-designer .widget-config-container .widget-config .el-tabs__content{margin-top:0}.form-designer .widget-config-container .widget-config .ghost{background:#fff;border:1px dashed #409eff}.form-designer .widget-config-container .widget-config ul{margin:0;padding:0}.form-designer .widget-config-container .widget-config ul li{align-items:center;width:100%;display:flex}.form-designer .widget-config-container .widget-config ul li .ghost{height:35px;font-size:0;list-style:none}.form-designer .widget-config-container .avue-group__item{padding:0}.form-designer .el-container{height:100%}.form-designer .el-container .el-main{height:calc(100% - 45px)}.form-designer .el-container .el-aside{background:#fff}.form-designer .danger{color:#f56c6c}.form-designer .warning{color:#e6a23c}.form-designer .el-input-number.is-controls-right .el-input-number__decrease{border-left:none}.form-designer .el-input-number.is-controls-right .el-input-number__increase{border-bottom:none;border-left:none}.form-designer .el-date-editor,.form-designer .el-cascader,.form-designer .el-select,.form-designer .el-input-number{width:100%}.form-designer .editor-fullscreen{z-index:1003;box-sizing:border-box;background:#fff;width:100%;padding:20px;top:0;bottom:0;left:0;right:0;height:100%!important;position:fixed!important}.form-designer .editor-fullscreen i{top:20px!important;left:25px!important}.afd-drawer-foot{padding:20px;display:flex;position:absolute;bottom:0;left:0;right:0}.afd-drawer-foot button{width:50%}.afd-drawer-foot>span{width:50%;display:inline-block}.afd-drawer-foot>span button{width:100%}.afd-preview-form{height:83vh;overflow-y:auto}
|
package/fy-input/index.mjs
CHANGED
package/fy-input-color/index.mjs
CHANGED
package/fy-input-icon/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import
|
|
1
|
+
import { p as l, e as s } from "../chunks/event.ChkcZtyR.mjs";
|
|
2
|
+
import a from "../icon-temp/index.mjs";
|
|
3
3
|
import "../icon-temp/style.css";
|
|
4
4
|
import { n as r } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
5
|
-
const
|
|
5
|
+
const o = {
|
|
6
6
|
name: "FyInputIcon",
|
|
7
|
-
components: { IconTemp:
|
|
8
|
-
mixins: [
|
|
7
|
+
components: { IconTemp: a },
|
|
8
|
+
mixins: [l, s],
|
|
9
9
|
props: {
|
|
10
10
|
dialogWidth: {
|
|
11
11
|
type: String,
|
|
@@ -19,66 +19,66 @@ const c = {
|
|
|
19
19
|
data() {
|
|
20
20
|
return {
|
|
21
21
|
filterText: "",
|
|
22
|
-
|
|
22
|
+
visible: !1,
|
|
23
23
|
tabs: {}
|
|
24
24
|
};
|
|
25
25
|
},
|
|
26
26
|
computed: {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
value: t
|
|
30
|
-
} : t);
|
|
31
|
-
return this.filterText && (n = n.filter((t) => t.label.indexOf(this.filterText) !== -1)), n;
|
|
27
|
+
icons() {
|
|
28
|
+
return (this.tabs.list || []).map((e) => !e.value && !e.label ? { value: e, label: e } : e);
|
|
32
29
|
},
|
|
33
|
-
|
|
34
|
-
return
|
|
35
|
-
column: this.iconList
|
|
36
|
-
};
|
|
30
|
+
filteredIcons() {
|
|
31
|
+
return this.filterText ? this.icons.filter((e) => e.label.indexOf(this.filterText) !== -1) : this.icons;
|
|
37
32
|
}
|
|
38
33
|
},
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
watch: {
|
|
35
|
+
iconList: {
|
|
36
|
+
immediate: !0,
|
|
37
|
+
handler(e) {
|
|
38
|
+
this.tabs = (e == null ? void 0 : e[0]) || {};
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
41
|
},
|
|
42
42
|
methods: {
|
|
43
|
-
handleTabs(
|
|
44
|
-
this.tabs =
|
|
43
|
+
handleTabs(e) {
|
|
44
|
+
this.tabs = e;
|
|
45
45
|
},
|
|
46
|
-
handleSubmit(
|
|
47
|
-
this.
|
|
46
|
+
handleSubmit(e) {
|
|
47
|
+
this.visible = !1, this.text = e, this.handleChange(e);
|
|
48
48
|
},
|
|
49
49
|
handleShow() {
|
|
50
|
-
this.$refs.main.blur(), !(this.disabled || this.readonly) && (this.
|
|
50
|
+
this.$refs.main.blur(), !(this.disabled || this.readonly) && (this.visible = !0);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
|
-
var
|
|
55
|
-
var t = this,
|
|
56
|
-
return
|
|
54
|
+
var c = function() {
|
|
55
|
+
var t = this, n = t._self._c;
|
|
56
|
+
return n("div", { staticClass: "avue-input-icon" }, [n("ElInput", { ref: "main", attrs: { placeholder: t.placeholder, size: t.size, clearable: t.clearableVal, disabled: t.disabled }, on: { focus: t.handleShow }, nativeOn: { click: function(i) {
|
|
57
57
|
return t.handleClick.apply(null, arguments);
|
|
58
58
|
} }, scopedSlots: t._u([{ key: "append", fn: function() {
|
|
59
|
-
return [
|
|
59
|
+
return [n("IconTemp", { attrs: { text: t.text, small: t.size === "mini" }, on: { click: t.handleShow } })];
|
|
60
60
|
}, proxy: !0 }]), model: { value: t.text, callback: function(i) {
|
|
61
61
|
t.text = i;
|
|
62
|
-
}, expression: "text" } }), t.
|
|
63
|
-
t.
|
|
64
|
-
} } }, [
|
|
62
|
+
}, expression: "text" } }), t.visible ? n("ElementDialog", { attrs: { title: t.placeholder, visible: t.visible, width: t.dialogWidth }, on: { "update:visible": function(i) {
|
|
63
|
+
t.visible = i;
|
|
64
|
+
} } }, [n("div", { staticClass: "avue-input-icon__filter" }, [n("ElInput", { attrs: { placeholder: "请输入", size: t.size }, model: { value: t.filterText, callback: function(i) {
|
|
65
65
|
t.filterText = i;
|
|
66
|
-
}, expression: "filterText" } })], 1),
|
|
67
|
-
return
|
|
66
|
+
}, expression: "filterText" } })], 1), n("FyTabs", { attrs: { option: { tabs: t.iconList } }, on: { change: t.handleTabs } }), n("div", { staticClass: "avue-input-icon__list" }, t._l(t.filteredIcons, function(i) {
|
|
67
|
+
return n("div", { key: i.value, class: ["avue-input-icon__item", { active: t.text === i }], attrs: { title: i.label || i.value }, on: { click: function(p) {
|
|
68
68
|
return t.handleSubmit(i.value);
|
|
69
|
-
} } }, [
|
|
70
|
-
}), 0)], 1)
|
|
71
|
-
},
|
|
69
|
+
} } }, [n("IconTemp", { attrs: { text: i.value, size: t.tabs.iconSize, small: t.size === "mini" } }), n("p", { staticClass: "avue-input-icon__label" }, [t._v(t._s(i.label || i.value))])], 1);
|
|
70
|
+
}), 0)], 1) : t._e()], 1);
|
|
71
|
+
}, u = [], d = /* @__PURE__ */ r(
|
|
72
|
+
o,
|
|
72
73
|
c,
|
|
73
74
|
u,
|
|
74
|
-
d,
|
|
75
75
|
!1,
|
|
76
76
|
null,
|
|
77
77
|
null,
|
|
78
78
|
null,
|
|
79
79
|
null
|
|
80
80
|
);
|
|
81
|
-
const
|
|
81
|
+
const m = d.exports;
|
|
82
82
|
export {
|
|
83
|
-
|
|
83
|
+
m as default
|
|
84
84
|
};
|
package/fy-input-icon/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-input-icon{flex-wrap:wrap;justify-content:space-around;display:flex}.avue-input-icon__item{box-sizing:content-box;text-align:center;width:60px;padding:10px
|
|
1
|
+
.avue-input-icon{flex-wrap:wrap;justify-content:space-around;display:flex}.avue-input-icon__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.avue-input-icon__item{box-sizing:content-box;text-align:center;cursor:pointer;width:60px;padding:10px 14px;transition:all .2s}.avue-input-icon__item p{margin-top:5px;font-size:12px}.avue-input-icon__item .avue-icon{display:inline}.avue-input-icon__item:hover{color:var(--color-primary,#409eff)}.avue-input-icon__item:hover .avue-icon i{transform:scale(1.4)}.avue-input-icon__list{flex-wrap:wrap;display:flex}.avue-input-icon__filter{text-align:right}.avue-input-icon__filter .el-input{width:250px}
|
package/fy-input-map/index.mjs
CHANGED
package/fy-input-table/index.mjs
CHANGED
package/fy-input-tree/index.mjs
CHANGED
package/fy-radio/index.mjs
CHANGED
package/fy-rate/index.mjs
CHANGED
package/fy-select/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as i, e as r } from "../chunks/event.
|
|
2
|
-
import { s as c } from "../chunks/dic.
|
|
3
|
-
import { b as d } from "../chunks/util.
|
|
1
|
+
import { p as i, e as r } from "../chunks/event.ChkcZtyR.mjs";
|
|
2
|
+
import { s as c } from "../chunks/dic.6ODiMBAw.mjs";
|
|
3
|
+
import { b as d } from "../chunks/util.ThVOTZAO.mjs";
|
|
4
4
|
import { isBlank as p } from "@web-utils/core";
|
|
5
5
|
import { p as u } from "../chunks/packages.CWPkeLu9.mjs";
|
|
6
6
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
package/fy-slider/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as s, e as n } from "../chunks/event.
|
|
2
|
-
import { s as l } from "../chunks/util.
|
|
1
|
+
import { p as s, e as n } from "../chunks/event.ChkcZtyR.mjs";
|
|
2
|
+
import { s as l } from "../chunks/util.ThVOTZAO.mjs";
|
|
3
3
|
import { n as r } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
4
4
|
const a = {
|
|
5
5
|
name: "FySlider",
|
package/fy-switch/index.mjs
CHANGED