@farris/ui-vue 1.7.1 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/component/index.esm.js +2 -2
- package/components/component/index.umd.cjs +1 -1
- package/components/designer-canvas/index.esm.js +2 -2
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/dynamic-form/index.esm.js +199 -199
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-view/index.esm.js +464 -422
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/query-solution/index.esm.js +1 -0
- package/components/query-solution/index.umd.cjs +5 -5
- package/designer/component/index.esm.js +2 -2
- package/designer/component/index.umd.cjs +1 -1
- package/designer/condition/index.esm.js +2 -2
- package/designer/condition/index.umd.cjs +1 -1
- package/designer/dynamic-form/index.esm.js +2 -2
- package/designer/dynamic-form/index.umd.cjs +1 -1
- package/designer/farris-designer.all.esm.js +784 -783
- package/designer/farris-designer.all.umd.cjs +5 -5
- package/designer/tabs/index.esm.js +2 -2
- package/designer/tabs/index.umd.cjs +1 -1
- package/farris.all.esm.js +49832 -49294
- package/farris.all.umd.cjs +29 -29
- package/index.css +1 -1
- package/package.json +1 -1
- package/types/components.d.ts +2 -0
- package/types/layout/designer.d.ts +32 -0
- package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +2 -0
- package/types/layout/src/designer/layout-pane.design.component.d.ts +8 -0
- package/types/layout/src/designer/layout-use-designer-rules.d.ts +2 -0
- package/types/layout/src/designer/layout.design.component.d.ts +8 -0
- package/types/layout/src/schema/schema-mapper.d.ts +2 -0
- package/types/layout/src/schema/schema-resolver.d.ts +2 -0
- package/types/list-nav/designer.d.ts +6 -0
- package/types/list-nav/src/designer/list-nav.design.component.d.ts +8 -0
- package/types/list-nav/src/designer/use-designer-rules.d.ts +2 -0
- package/types/list-nav/src/property-config/list-nav.property-config.d.ts +8 -0
- package/types/list-nav/src/schema/schema-mapper.d.ts +2 -0
- package/types/list-nav/src/schema/schema-resolver.d.ts +2 -0
- package/types/query-solution/index.d.ts +2 -1
|
@@ -1,110 +1,110 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var le = (e, t, n) =>
|
|
4
|
-
import { defineComponent as H, ref as V, computed as Z, withDirectives as
|
|
5
|
-
import { LocaleService as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
import
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import
|
|
76
|
-
import
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import
|
|
83
|
-
import { schemaResolverMap as
|
|
84
|
-
import { useThirdComponent as
|
|
85
|
-
import
|
|
86
|
-
import
|
|
87
|
-
import
|
|
88
|
-
import ue, { comboListProps as
|
|
89
|
-
import
|
|
90
|
-
import
|
|
91
|
-
import
|
|
92
|
-
import
|
|
93
|
-
import
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
import
|
|
98
|
-
import
|
|
99
|
-
import { DgControl as l, refreshCanvas as
|
|
100
|
-
import { BaseControlProperty as
|
|
1
|
+
var We = Object.defineProperty;
|
|
2
|
+
var Je = (e, t, n) => t in e ? We(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var le = (e, t, n) => Je(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
+
import { defineComponent as H, ref as V, computed as Z, withDirectives as Be, createVNode as F, resolveDirective as xe, watch as oe, createTextVNode as ee, mergeProps as ce, inject as te, onMounted as me } from "vue";
|
|
5
|
+
import { LocaleService as ze } from "../locale/index.esm.js";
|
|
6
|
+
import Xe from "../../designer/accordion/index.esm.js";
|
|
7
|
+
import Ke from "../../designer/avatar/index.esm.js";
|
|
8
|
+
import Qe from "../../designer/button-edit/index.esm.js";
|
|
9
|
+
import _e from "../../designer/button-group/index.esm.js";
|
|
10
|
+
import Ee, { calendarProps as Ye } from "../calendar/index.esm.js";
|
|
11
|
+
import He from "../../designer/capsule/index.esm.js";
|
|
12
|
+
import Ce from "../../designer/checkbox/index.esm.js";
|
|
13
|
+
import Fe from "../../designer/checkbox-group/index.esm.js";
|
|
14
|
+
import et from "../../designer/combo-list/index.esm.js";
|
|
15
|
+
import tt from "../../designer/combo-tree/index.esm.js";
|
|
16
|
+
import ot from "../../designer/component/index.esm.js";
|
|
17
|
+
import nt from "../../designer/color-picker/index.esm.js";
|
|
18
|
+
import rt from "../content-container/index.esm.js";
|
|
19
|
+
import at from "../../designer/date-picker/index.esm.js";
|
|
20
|
+
import it from "../../designer/data-grid/index.esm.js";
|
|
21
|
+
import st from "../../designer/dropdown/index.esm.js";
|
|
22
|
+
import lt, { dynamicFormGroupProps as ut, FDynamicFormLabel as ct } from "../dynamic-form/index.esm.js";
|
|
23
|
+
import dt from "../events-editor/index.esm.js";
|
|
24
|
+
import pt from "../filter-bar/index.esm.js";
|
|
25
|
+
import mt from "../field-selector/index.esm.js";
|
|
26
|
+
import ft from "../../designer/binding-selector/index.esm.js";
|
|
27
|
+
import gt from "../../designer/image-cropper/index.esm.js";
|
|
28
|
+
import yt from "../../designer/input-group/index.esm.js";
|
|
29
|
+
import ht from "../../designer/layout/index.esm.js";
|
|
30
|
+
import vt from "../../designer/list-nav/index.esm.js";
|
|
31
|
+
import Ct from "../../designer/list-view/index.esm.js";
|
|
32
|
+
import Pe, { lookupProps as Ft } from "../lookup/index.esm.js";
|
|
33
|
+
import bt from "../mapping-editor/index.esm.js";
|
|
34
|
+
import wt from "../../designer/nav/index.esm.js";
|
|
35
|
+
import Vt from "../../designer/number-range/index.esm.js";
|
|
36
|
+
import kt from "../../designer/number-spinner/index.esm.js";
|
|
37
|
+
import Tt from "../../designer/order/index.esm.js";
|
|
38
|
+
import It from "../page-header/index.esm.js";
|
|
39
|
+
import Bt from "../../designer/page-footer/index.esm.js";
|
|
40
|
+
import xt from "../../designer/pagination/index.esm.js";
|
|
41
|
+
import Et from "../../designer/progress/index.esm.js";
|
|
42
|
+
import Pt from "../query-solution/index.esm.js";
|
|
43
|
+
import Lt from "../../designer/radio-group/index.esm.js";
|
|
44
|
+
import Nt from "../../designer/rate/index.esm.js";
|
|
45
|
+
import Mt from "../../designer/response-toolbar/index.esm.js";
|
|
46
|
+
import $t from "../response-layout/index.esm.js";
|
|
47
|
+
import Dt, { useResponseLayoutEditorSetting as Ut } from "../../designer/response-layout-editor/index.esm.js";
|
|
48
|
+
import Rt from "../../designer/search-box/index.esm.js";
|
|
49
|
+
import At from "../../designer/section/index.esm.js";
|
|
50
|
+
import qt from "../../designer/smoke-detector/index.esm.js";
|
|
51
|
+
import St from "../../designer/splitter/index.esm.js";
|
|
52
|
+
import Gt from "../../designer/step/index.esm.js";
|
|
53
|
+
import Ot from "../../designer/switch/index.esm.js";
|
|
54
|
+
import jt from "../../designer/tabs/index.esm.js";
|
|
55
|
+
import Zt from "../../designer/tags/index.esm.js";
|
|
56
|
+
import Wt from "../../designer/text/index.esm.js";
|
|
57
|
+
import Jt from "../../designer/time-picker/index.esm.js";
|
|
58
|
+
import zt from "../../designer/transfer/index.esm.js";
|
|
59
|
+
import Xt from "../../designer/tree-view/index.esm.js";
|
|
60
|
+
import Kt from "../../designer/uploader/index.esm.js";
|
|
61
|
+
import Qt from "../../designer/verify-detail/index.esm.js";
|
|
62
|
+
import _t from "../../designer/video/index.esm.js";
|
|
63
|
+
import Yt from "../../designer/textarea/index.esm.js";
|
|
64
|
+
import Ht from "../schema-selector/index.esm.js";
|
|
65
|
+
import eo from "../../designer/tree-grid/index.esm.js";
|
|
66
|
+
import to from "../event-parameter/index.esm.js";
|
|
67
|
+
import oo from "../../designer/filter-condition-editor/index.esm.js";
|
|
68
|
+
import no from "../fieldset/index.esm.js";
|
|
69
|
+
import ro from "../../designer/sort-condition-editor/index.esm.js";
|
|
70
|
+
import ao from "../../designer/menu-lookup/index.esm.js";
|
|
71
|
+
import io from "../../designer/drawer/index.esm.js";
|
|
72
|
+
import so from "../../designer/json-editor/index.esm.js";
|
|
73
|
+
import lo from "../property-editor/index.esm.js";
|
|
74
|
+
import uo from "../../designer/expression-editor/index.esm.js";
|
|
75
|
+
import co from "../../designer/code-editor/index.esm.js";
|
|
76
|
+
import po from "../../designer/html-template/index.esm.js";
|
|
77
|
+
import mo from "../collection-property-editor/index.esm.js";
|
|
78
|
+
import fo from "../../designer/modal/index.esm.js";
|
|
79
|
+
import go from "../external-container/index.esm.js";
|
|
80
|
+
import Le, { languageTextBoxProps as yo } from "../language-textbox/index.esm.js";
|
|
81
|
+
import ho from "../image/index.esm.js";
|
|
82
|
+
import vo from "../comment/index.esm.js";
|
|
83
|
+
import { schemaResolverMap as Co, propertyEffectMap as Fo, propertyConfigSchemaMap as bo, schemaMap as Ne, createPropsResolver as de, propertyConfigSchemaMapForDesigner as wo, resolveAppearance as Vo, createFormGroupEditorResolver as ko } from "../dynamic-resolver/index.esm.js";
|
|
84
|
+
import { useThirdComponent as Me, isMobilePhone as To, useGuid as be, areaResponseDirective as Io, useTextBoxDesign as Bo, FormSchemaEntityField$Type as we, FormSchemaEntityFieldTypeName as Ve } from "../common/index.esm.js";
|
|
85
|
+
import xo, { buttonEditProps as Eo } from "../button-edit/index.esm.js";
|
|
86
|
+
import Po, { checkboxProps as Lo } from "../checkbox/index.esm.js";
|
|
87
|
+
import No, { checkboxGroupProps as Mo } from "../checkbox-group/index.esm.js";
|
|
88
|
+
import ue, { comboListProps as $o } from "../combo-list/index.esm.js";
|
|
89
|
+
import Do, { datePickerProps as Uo } from "../date-picker/index.esm.js";
|
|
90
|
+
import Ro, { inputGroupProps as Ao } from "../input-group/index.esm.js";
|
|
91
|
+
import qo, { numberRangeProps as So } from "../number-range/index.esm.js";
|
|
92
|
+
import Go, { numberSpinnerProps as Oo } from "../number-spinner/index.esm.js";
|
|
93
|
+
import jo, { progressProps as Zo } from "../progress/index.esm.js";
|
|
94
|
+
import Wo, { radioGroupProps as Jo } from "../radio-group/index.esm.js";
|
|
95
|
+
import zo, { rateProps as Xo } from "../rate/index.esm.js";
|
|
96
|
+
import Ko, { switchProps as Qo } from "../switch/index.esm.js";
|
|
97
|
+
import _o, { timePickerProps as Yo } from "../time-picker/index.esm.js";
|
|
98
|
+
import Ho, { textAreaProps as en } from "../textarea/index.esm.js";
|
|
99
|
+
import { DgControl as l, refreshCanvas as tn, UseTemplateDragAndDropRules as on, useDragulaCommonRule as nn, useDesignerComponent as he } from "../designer-canvas/index.esm.js";
|
|
100
|
+
import { BaseControlProperty as rn, FormBindingType as ae, InputBaseProperty as an } from "../property-panel/index.esm.js";
|
|
101
101
|
import "../../designer/dynamic-form/index.esm.js";
|
|
102
102
|
import "../nav/index.esm.js";
|
|
103
103
|
import "../step/index.esm.js";
|
|
104
104
|
import "../html-template/index.esm.js";
|
|
105
|
-
import { cloneDeep as
|
|
106
|
-
import { FMessageBoxService as
|
|
107
|
-
const
|
|
105
|
+
import { cloneDeep as sn } from "lodash-es";
|
|
106
|
+
import { FMessageBoxService as ln } from "../message-box/index.esm.js";
|
|
107
|
+
const $e = {
|
|
108
108
|
customClass: { type: String, default: "" },
|
|
109
109
|
customStyle: { type: String, defaut: "" },
|
|
110
110
|
/** 控制是否可见 */
|
|
@@ -113,22 +113,22 @@ const Me = {
|
|
|
113
113
|
adaptForLanguage: { type: Boolean, default: !0 }
|
|
114
114
|
}, se = /* @__PURE__ */ H({
|
|
115
115
|
name: "FResponseForm",
|
|
116
|
-
props:
|
|
116
|
+
props: $e,
|
|
117
117
|
emits: [],
|
|
118
118
|
setup(e, t) {
|
|
119
119
|
const n = V(), a = Z(() => {
|
|
120
|
-
const o =
|
|
120
|
+
const o = ze.getLocale(), s = e.customClass.split(" "), i = {
|
|
121
121
|
"drag-container": !0
|
|
122
122
|
};
|
|
123
123
|
return s.reduce((h, d) => (h[d] = !0, h), i), e.adaptForLanguage && o && (i["farris-form-controls-inline"] = o !== "en"), i;
|
|
124
124
|
});
|
|
125
|
-
return () => e.visible &&
|
|
125
|
+
return () => e.visible && Be(F("div", {
|
|
126
126
|
ref: n,
|
|
127
127
|
class: a.value,
|
|
128
128
|
style: e.customStyle
|
|
129
|
-
}, [t.slots.default && t.slots.default()]), [[
|
|
129
|
+
}, [t.slots.default && t.slots.default()]), [[xe("area-response")]]);
|
|
130
130
|
}
|
|
131
|
-
}),
|
|
131
|
+
}), un = {
|
|
132
132
|
id: { type: String },
|
|
133
133
|
required: { type: Boolean, default: !1 },
|
|
134
134
|
text: { type: String, default: "" },
|
|
@@ -139,9 +139,9 @@ const Me = {
|
|
|
139
139
|
* 实际支持 'visible'可见 | 'reserve-space' 占位不显示
|
|
140
140
|
*/
|
|
141
141
|
showType: { type: String, default: "visible" }
|
|
142
|
-
},
|
|
142
|
+
}, De = /* @__PURE__ */ H({
|
|
143
143
|
name: "FDynamicFormLabel",
|
|
144
|
-
props:
|
|
144
|
+
props: un,
|
|
145
145
|
emits: [],
|
|
146
146
|
setup(e, t) {
|
|
147
147
|
V(e.title || e.text);
|
|
@@ -172,24 +172,24 @@ const Me = {
|
|
|
172
172
|
class: "farris-label-info text-danger"
|
|
173
173
|
}, [ee("*")]), e.showType === "visible" && a.value])]);
|
|
174
174
|
}
|
|
175
|
-
}), { globalStorageKey:
|
|
176
|
-
async function
|
|
175
|
+
}), { globalStorageKey: cn } = Me(), p = {}, m = {}, f = {}, y = {};
|
|
176
|
+
async function dn() {
|
|
177
177
|
{
|
|
178
178
|
const e = {
|
|
179
|
-
schemaMap:
|
|
180
|
-
propertyConfigSchemaMap:
|
|
181
|
-
propertyEffectMap:
|
|
182
|
-
schemaResolverMap:
|
|
179
|
+
schemaMap: Ne,
|
|
180
|
+
propertyConfigSchemaMap: bo,
|
|
181
|
+
propertyEffectMap: Fo,
|
|
182
|
+
schemaResolverMap: Co
|
|
183
183
|
};
|
|
184
|
-
|
|
185
|
-
const t = window[
|
|
184
|
+
Ke.register(p, m, f, y), Xe.register(p, m, f, y), Qe.register(p, m, f, y), _e.register(p, m, f, y), Ee.register(p, m, f, y, e), He.register(p, m, f, y), Ce.register(p, m, f, y, e), Fe.register(p, m, f, y, e), Ce.register(p, m, f, y, e), Fe.register(p, m, f, y, e), et.register(p, m, f, y, e), tt.register(p, m, f, y), ot.register(p, m, f, y), rt.register(p, m, f, y, e), nt.register(p, m, f, y), at.register(p, m, f, y, e), it.register(p, m, f, y, e), st.register(p, m, f, y), lt.register(p, m, f, y, e), dt.register(p, m, f, y), uo.register(p, m, f, y), pt.register(p, m, f, y), mt.register(p, m, f, y), oo.register(p, m, f, y), gt.register(p, m, f, y), yt.register(p, m, f, y, e), ht.register(p, m, f, y, e), Ct.register(p, m, f, y, e), vt.register(p, m, f, y), Pe.register(p, m, f, y, e), bt.register(p, m, f, y), wt.register(p, m, f, y), Vt.register(p, m, f, y), kt.register(p, m, f, y, e), Tt.register(p, m, f, y), It.register(p, m, f, y, e), Bt.register(p, m, f, y), xt.register(p, m, f, y), Et.register(p, m, f, y), Pt.register(p, m, f, y, e), Lt.register(p, m, f, y, e), Nt.register(p, m, f, y), $t.register(p, m, f, y, e), Dt.register(p, m, f, y), Mt.register(p, m, f, y), Ht.register(p, m, f), Rt.register(p, m, f, y), At.register(p, m, f, y, e), qt.register(p, m, f, y), St.register(p, m, f, y), Gt.register(p, m, f, y), Ot.register(p, m, f, y, e), ro.register(p, m, f, y), jt.register(p, m, f, y, e), Zt.register(p, m, f, y), Wt.register(p, m, f, y), Jt.register(p, m, f, y, e), zt.register(p, m, f, y), Xt.register(p, m, f, y), Qt.register(p, m, f, y), Kt.register(p, m, f, y), _t.register(p, m, f, y), Yt.register(p, m, f, y, e), eo.register(p, m, f, y), ft.register(p, m, f, y), to.register(p, m, f, y), no.register(p, m, f, y, e), ao.register(p, m, f, y), io.register(p, m, f, y), so.register(p, m, f, y), lo.register(p, m, f, y), co.register(p, m, f, y), po.register(p, m, f, y, e), mo.register(p, m, f, y), fo.register(p, m, f, y), go.register(p, m, f, y), Le.register(p, m, f, y, e), ho.register(p, m, f, y, e), vo.register(p, m, f, y);
|
|
185
|
+
const t = window[cn];
|
|
186
186
|
if (t)
|
|
187
187
|
for (const n in t)
|
|
188
188
|
t[n].createPropsResolver = de, t[n].register(p, m, f);
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
|
|
191
|
+
function Ue() {
|
|
192
|
+
dn();
|
|
193
193
|
function e(i) {
|
|
194
194
|
const h = p[i];
|
|
195
195
|
if (!h)
|
|
@@ -299,7 +299,7 @@ function De() {
|
|
|
299
299
|
}
|
|
300
300
|
return { resolveEditorProps: t, resolveEditorType: e, getChangeFunctionName: n, getClearFunctionName: a, getMousedownFunctionName: o, getMouseupFunctionName: s };
|
|
301
301
|
}
|
|
302
|
-
const
|
|
302
|
+
const Re = {
|
|
303
303
|
id: { type: String, default: "" },
|
|
304
304
|
/** 筛选组件配置器,具体配置项可查看各组件文档 */
|
|
305
305
|
editor: { type: Object, default: {} },
|
|
@@ -315,7 +315,7 @@ const Ue = {
|
|
|
315
315
|
selectOnCreated: { type: Boolean, default: !1 }
|
|
316
316
|
}, fe = /* @__PURE__ */ H({
|
|
317
317
|
name: "FDynamicFormInput",
|
|
318
|
-
props:
|
|
318
|
+
props: Re,
|
|
319
319
|
emits: ["change", "update:modelValue", "mousedown", "mouseup"],
|
|
320
320
|
setup(e, t) {
|
|
321
321
|
const n = V(e.id), a = V(e.editor), o = V(e.modelValue), {
|
|
@@ -325,7 +325,7 @@ const Ue = {
|
|
|
325
325
|
getMousedownFunctionName: d,
|
|
326
326
|
getMouseupFunctionName: g,
|
|
327
327
|
getClearFunctionName: C
|
|
328
|
-
} =
|
|
328
|
+
} = Ue();
|
|
329
329
|
function u(b, B, M) {
|
|
330
330
|
o.value = B !== void 0 ? B : b, t.emit("update:modelValue", o.value), t.emit("change", o.value, {
|
|
331
331
|
newValue: b,
|
|
@@ -369,7 +369,7 @@ const Ue = {
|
|
|
369
369
|
n.value = b, a.value = B, o.value = M;
|
|
370
370
|
}), () => L.value();
|
|
371
371
|
}
|
|
372
|
-
}),
|
|
372
|
+
}), pn = {
|
|
373
373
|
/**
|
|
374
374
|
* 显示的错误信息
|
|
375
375
|
*/
|
|
@@ -377,9 +377,9 @@ const Ue = {
|
|
|
377
377
|
type: Object,
|
|
378
378
|
default: null
|
|
379
379
|
}
|
|
380
|
-
},
|
|
380
|
+
}, Ae = /* @__PURE__ */ H({
|
|
381
381
|
name: "FValidationMessage",
|
|
382
|
-
props:
|
|
382
|
+
props: pn,
|
|
383
383
|
emits: [],
|
|
384
384
|
setup(e, t) {
|
|
385
385
|
const n = V(e.errors);
|
|
@@ -406,12 +406,12 @@ const Ue = {
|
|
|
406
406
|
}, [o.value])]);
|
|
407
407
|
}
|
|
408
408
|
});
|
|
409
|
-
function
|
|
410
|
-
e["button-edit"] =
|
|
409
|
+
function mn(e, t) {
|
|
410
|
+
e["button-edit"] = xo, e.calendar = Ee, e["check-box"] = Po, e["check-group"] = No, e["combo-list"] = ue, e["date-picker"] = Do, e["input-group"] = Ro, e.lookup = Pe, e["number-range"] = qo, e["number-spinner"] = Go, e.progress = jo, e["radio-group"] = Wo, e.rate = zo, e.switch = Ko, e["time-picker"] = _o, e.textarea = Ho, e["language-textbox"] = Le, t["button-edit"] = Eo, t.calendar = Ye, t["check-box"] = Lo, t["check-group"] = Mo, t["combo-list"] = $o, t["date-picker"] = Uo, t["input-group"] = Ao, t.lookup = Ft, t["number-range"] = So, t["number-spinner"] = Oo, t.progress = Zo, t["radio-group"] = Jo, t.rate = Xo, t.switch = Qo, t["time-picker"] = Yo, t.textarea = en, t["language-textbox"] = yo;
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function fn() {
|
|
413
413
|
const e = {}, t = {};
|
|
414
|
-
|
|
414
|
+
mn(e, t);
|
|
415
415
|
function n(d) {
|
|
416
416
|
return e[d || "input-group"];
|
|
417
417
|
}
|
|
@@ -505,7 +505,7 @@ const pe = {
|
|
|
505
505
|
componentId: { type: String, default: "" },
|
|
506
506
|
errors: { type: Object, default: null },
|
|
507
507
|
fill: { type: Boolean, default: !1 }
|
|
508
|
-
},
|
|
508
|
+
}, ke = /* @__PURE__ */ H({
|
|
509
509
|
name: "FFormControl",
|
|
510
510
|
props: pe,
|
|
511
511
|
emits: ["change", "update:modelValue"],
|
|
@@ -518,7 +518,7 @@ const pe = {
|
|
|
518
518
|
resolveEditorType: U,
|
|
519
519
|
getChangeFunctionName: A,
|
|
520
520
|
getClearFunctionName: L
|
|
521
|
-
} =
|
|
521
|
+
} = fn(), b = Z(() => ({
|
|
522
522
|
"form-group": !0,
|
|
523
523
|
"farris-form-group": !0,
|
|
524
524
|
"common-group": !0,
|
|
@@ -544,7 +544,7 @@ const pe = {
|
|
|
544
544
|
}), t.slots);
|
|
545
545
|
});
|
|
546
546
|
function S() {
|
|
547
|
-
return F(
|
|
547
|
+
return F(Ae, {
|
|
548
548
|
id: `${n.value}-validation-message`,
|
|
549
549
|
errors: w.value
|
|
550
550
|
}, null);
|
|
@@ -562,7 +562,7 @@ const pe = {
|
|
|
562
562
|
class: "farris-group-wrap"
|
|
563
563
|
}, [F("div", {
|
|
564
564
|
class: b.value
|
|
565
|
-
}, [F(
|
|
565
|
+
}, [F(De, {
|
|
566
566
|
id: `${n.value}-lable`,
|
|
567
567
|
showType: x.value,
|
|
568
568
|
required: d.value,
|
|
@@ -572,7 +572,7 @@ const pe = {
|
|
|
572
572
|
class: "farris-input-wrap"
|
|
573
573
|
}, [O.value(), S()])])])]);
|
|
574
574
|
}
|
|
575
|
-
}),
|
|
575
|
+
}), ge = /* @__PURE__ */ H({
|
|
576
576
|
name: "FDynamicFormGroup",
|
|
577
577
|
props: pe,
|
|
578
578
|
emits: ["change", "update:modelValue"],
|
|
@@ -580,12 +580,12 @@ const pe = {
|
|
|
580
580
|
var _;
|
|
581
581
|
const n = V(e.id), a = V(e.customClass), o = V(e.editor), s = V(e.label), i = V(e.modelValue), h = V(e.readonly), d = V(((_ = e.editor) == null ? void 0 : _.required) || e.required), g = V(e.showLabel), C = V(e.visible);
|
|
582
582
|
V(e.type);
|
|
583
|
-
const u = V(), w = V(e.errors), x =
|
|
583
|
+
const u = V(), w = V(e.errors), x = To(), $ = V(e.editor.type || "input-group"), U = Z(() => g.value ? e.showLabelType : "none"), {
|
|
584
584
|
resolveEditorProps: A,
|
|
585
585
|
resolveEditorType: L,
|
|
586
586
|
getChangeFunctionName: b,
|
|
587
587
|
getClearFunctionName: B
|
|
588
|
-
} =
|
|
588
|
+
} = Ue(), M = Z(() => {
|
|
589
589
|
const D = {
|
|
590
590
|
"form-group": !0,
|
|
591
591
|
"farris-form-group": !0,
|
|
@@ -630,7 +630,7 @@ const pe = {
|
|
|
630
630
|
}), t.slots);
|
|
631
631
|
});
|
|
632
632
|
function Q() {
|
|
633
|
-
return F(
|
|
633
|
+
return F(Ae, {
|
|
634
634
|
id: `${n.value}-validation-message`,
|
|
635
635
|
errors: w.value
|
|
636
636
|
}, null);
|
|
@@ -649,7 +649,7 @@ const pe = {
|
|
|
649
649
|
style: O.value
|
|
650
650
|
}, [F("div", {
|
|
651
651
|
class: M.value
|
|
652
|
-
}, [F(
|
|
652
|
+
}, [F(De, {
|
|
653
653
|
id: `${n.value}-lable`,
|
|
654
654
|
showType: U.value,
|
|
655
655
|
required: d.value,
|
|
@@ -676,7 +676,7 @@ function gn(e, t) {
|
|
|
676
676
|
return Array.from(g).length === 1;
|
|
677
677
|
}
|
|
678
678
|
function s(d) {
|
|
679
|
-
const g = n(d.id), C =
|
|
679
|
+
const g = n(d.id), C = Ut(e), u = [];
|
|
680
680
|
C.getResonseFormLayoutConfig(g, u, 1);
|
|
681
681
|
const w = u.map((M) => M.columnInSM), x = u.map((M) => M.columnInMD), $ = u.map((M) => M.columnInLG), U = u.map((M) => M.columnInEL), A = o(w) ? w[0] : 0, L = o(x) ? x[0] : 0, b = o($) ? $[0] : 0, B = o(U) ? U[0] : 0;
|
|
682
682
|
return {
|
|
@@ -708,7 +708,7 @@ function gn(e, t) {
|
|
|
708
708
|
}
|
|
709
709
|
return { checkIsInFormComponent: a, assembleUnifiedLayoutContext: s, changeFormControlsByUnifiedLayoutConfig: h };
|
|
710
710
|
}
|
|
711
|
-
class yn extends
|
|
711
|
+
class yn extends rn {
|
|
712
712
|
constructor(t, n) {
|
|
713
713
|
super(t, n);
|
|
714
714
|
}
|
|
@@ -743,7 +743,7 @@ class yn extends nn {
|
|
|
743
743
|
break;
|
|
744
744
|
}
|
|
745
745
|
case "labelAutoOverflow": {
|
|
746
|
-
a.setLabelAutoOverflow(t, g.propertyValue),
|
|
746
|
+
a.setLabelAutoOverflow(t, g.propertyValue), tn();
|
|
747
747
|
break;
|
|
748
748
|
}
|
|
749
749
|
}
|
|
@@ -766,7 +766,7 @@ class yn extends nn {
|
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
768
|
function hn(e, t) {
|
|
769
|
-
const n = e.schema, a = new
|
|
769
|
+
const n = e.schema, a = new on(), { canMove: o, canAccept: s, canDelete: i } = a.getTemplateRule(e, t);
|
|
770
770
|
function h(r, c) {
|
|
771
771
|
const { sourceElement: v } = r, { componentInstance: T } = v, E = t == null ? void 0 : t.formSchemaUtils;
|
|
772
772
|
if (!E)
|
|
@@ -797,7 +797,7 @@ function hn(e, t) {
|
|
|
797
797
|
return !0;
|
|
798
798
|
}
|
|
799
799
|
function C(r) {
|
|
800
|
-
return !(!
|
|
800
|
+
return !(!nn().basalDragulaRuleForContainer(r, t) || !s || !g(r));
|
|
801
801
|
}
|
|
802
802
|
function u(r) {
|
|
803
803
|
var k;
|
|
@@ -860,7 +860,7 @@ function hn(e, t) {
|
|
|
860
860
|
if (G)
|
|
861
861
|
k.field = G.id;
|
|
862
862
|
else {
|
|
863
|
-
const ne = Object.assign({}, { newId:
|
|
863
|
+
const ne = Object.assign({}, { newId: be().guid() }, q);
|
|
864
864
|
v.states.push(ne), k.field = ne.newId;
|
|
865
865
|
}
|
|
866
866
|
}
|
|
@@ -890,7 +890,7 @@ function hn(e, t) {
|
|
|
890
890
|
});
|
|
891
891
|
}
|
|
892
892
|
function L(r) {
|
|
893
|
-
const c =
|
|
893
|
+
const c = be().guid(), v = Object.assign({}, r, {
|
|
894
894
|
id: c,
|
|
895
895
|
code: r.code + c.slice(0, 4),
|
|
896
896
|
name: r.name + c.slice(0, 4)
|
|
@@ -902,7 +902,7 @@ function hn(e, t) {
|
|
|
902
902
|
}
|
|
903
903
|
function b(r, c, v) {
|
|
904
904
|
var q, G, ne;
|
|
905
|
-
const T = {}, E = r.type === "form-group" && r.editor ? r.editor.type : r.type, P = (q =
|
|
905
|
+
const T = {}, E = r.type === "form-group" && r.editor ? r.editor.type : r.type, P = (q = Ne[E]) == null ? void 0 : q.events;
|
|
906
906
|
if (!P)
|
|
907
907
|
return;
|
|
908
908
|
Object.keys(r).forEach((re) => {
|
|
@@ -1046,12 +1046,12 @@ function hn(e, t) {
|
|
|
1046
1046
|
const vn = /* @__PURE__ */ H({
|
|
1047
1047
|
name: "FResponseFormDesign",
|
|
1048
1048
|
directives: {
|
|
1049
|
-
"area-response":
|
|
1049
|
+
"area-response": Io
|
|
1050
1050
|
},
|
|
1051
1051
|
props: pe,
|
|
1052
1052
|
emits: [],
|
|
1053
1053
|
setup(e, t) {
|
|
1054
|
-
const n = V(), a = te("design-item-context"), o = te("designer-host-service"), s = hn(a, o), i =
|
|
1054
|
+
const n = V(), a = te("design-item-context"), o = te("designer-host-service"), s = hn(a, o), i = he(n, a, s);
|
|
1055
1055
|
me(() => {
|
|
1056
1056
|
n.value.componentInstance = i;
|
|
1057
1057
|
}), t.expose(i.value);
|
|
@@ -1061,15 +1061,15 @@ const vn = /* @__PURE__ */ H({
|
|
|
1061
1061
|
};
|
|
1062
1062
|
return d.reduce((C, u) => (C[u] = !0, C), g), g;
|
|
1063
1063
|
});
|
|
1064
|
-
return () =>
|
|
1064
|
+
return () => Be(F("div", {
|
|
1065
1065
|
ref: n,
|
|
1066
1066
|
class: h.value,
|
|
1067
1067
|
style: e.customClass,
|
|
1068
1068
|
"data-dragref": `${a.schema.id}-container`,
|
|
1069
1069
|
"data-associate": `${a.schema.id}-component`
|
|
1070
|
-
}, [t.slots.default && t.slots.default()]), [[
|
|
1070
|
+
}, [t.slots.default && t.slots.default()]), [[xe("area-response")]]);
|
|
1071
1071
|
}
|
|
1072
|
-
}), Cn = {}, Fn = {}, { globalStorageKey: si } =
|
|
1072
|
+
}), Cn = {}, Fn = {}, { globalStorageKey: si } = Me(), bn = {
|
|
1073
1073
|
id: { Type: String, default: "" },
|
|
1074
1074
|
/** 是否自动完成 */
|
|
1075
1075
|
autocomplete: { Type: String, default: "off" },
|
|
@@ -1152,7 +1152,7 @@ const vn = /* @__PURE__ */ H({
|
|
|
1152
1152
|
* 是否启用快捷键
|
|
1153
1153
|
*/
|
|
1154
1154
|
keyboard: { type: Boolean, default: !0 }
|
|
1155
|
-
},
|
|
1155
|
+
}, qe = [
|
|
1156
1156
|
{ key: "none", value: "无" },
|
|
1157
1157
|
{ key: "cellNumber", value: "手机号" },
|
|
1158
1158
|
{ key: "tel", value: "座机号/传真号" },
|
|
@@ -1193,20 +1193,20 @@ function wn(e) {
|
|
|
1193
1193
|
}
|
|
1194
1194
|
function Vn(e) {
|
|
1195
1195
|
var t;
|
|
1196
|
-
return "请输入正确的" + ((t =
|
|
1196
|
+
return "请输入正确的" + ((t = qe.find((n) => n.key === e)) == null ? void 0 : t.value);
|
|
1197
1197
|
}
|
|
1198
1198
|
const kn = {
|
|
1199
1199
|
convertTo: (e, t, n, a) => {
|
|
1200
1200
|
e.editor.formatValidation || (e.editor.formatValidation = { type: "none" }), e.editor.formatValidation.type = n, e.editor.formatValidation.expression = wn(n), e.editor.formatValidation.message = Vn(n);
|
|
1201
1201
|
},
|
|
1202
1202
|
convertFrom: (e, t, n) => e.editor.formatValidation ? t === "type" ? e.editor.formatValidation[t] || "none" : e.editor.formatValidation[t] : "none"
|
|
1203
|
-
},
|
|
1203
|
+
}, Te = {
|
|
1204
1204
|
convertTo: (e, t, n, a) => {
|
|
1205
1205
|
e.editor.formatValidation || (e.editor.formatValidation = { type: "none" }), e.editor.formatValidation[t] = n;
|
|
1206
1206
|
},
|
|
1207
1207
|
convertFrom: (e, t, n) => e.editor.formatValidation ? e.editor.formatValidation[t] : e.editor[t]
|
|
1208
1208
|
};
|
|
1209
|
-
class Tn extends
|
|
1209
|
+
class Tn extends an {
|
|
1210
1210
|
constructor(t, n) {
|
|
1211
1211
|
super(t, n);
|
|
1212
1212
|
}
|
|
@@ -1314,7 +1314,7 @@ class Tn extends rn {
|
|
|
1314
1314
|
valueField: "key",
|
|
1315
1315
|
idField: "key",
|
|
1316
1316
|
editable: !1,
|
|
1317
|
-
data:
|
|
1317
|
+
data: qe
|
|
1318
1318
|
},
|
|
1319
1319
|
refreshPanelAfterChanged: !0,
|
|
1320
1320
|
$converter: kn,
|
|
@@ -1326,13 +1326,13 @@ class Tn extends rn {
|
|
|
1326
1326
|
title: "输入错误提示",
|
|
1327
1327
|
type: "string",
|
|
1328
1328
|
description: "输入错误提示",
|
|
1329
|
-
$converter:
|
|
1329
|
+
$converter: Te,
|
|
1330
1330
|
parentPropertyID: "formatValidation"
|
|
1331
1331
|
}), ((i = t.editor.formatValidation) == null ? void 0 : i.type) === "custom" && (n.properties.expression = {
|
|
1332
1332
|
title: "匹配正则",
|
|
1333
1333
|
type: "string",
|
|
1334
1334
|
description: "匹配正则",
|
|
1335
|
-
$converter:
|
|
1335
|
+
$converter: Te,
|
|
1336
1336
|
parentPropertyID: "formatValidation"
|
|
1337
1337
|
}), n;
|
|
1338
1338
|
}
|
|
@@ -1349,11 +1349,11 @@ const Bn = /* @__PURE__ */ H({
|
|
|
1349
1349
|
props: bn,
|
|
1350
1350
|
emits: ["updateExtendInfo", "clear", "valueChange", "clickHandle", "blurHandle", "focusHandle", "enterHandle", "iconMouseEnter", "iconMouseLeave", "keyupHandle", "keydownHandle", "inputClick"],
|
|
1351
1351
|
setup(e, t) {
|
|
1352
|
-
const n = V(e.modelValue), a = V(e.modelValue), o =
|
|
1352
|
+
const n = V(e.modelValue), a = V(e.modelValue), o = Bo(e, t, n, a), {
|
|
1353
1353
|
inputGroupClass: s,
|
|
1354
1354
|
inputType: i,
|
|
1355
1355
|
inputGroupStyle: h
|
|
1356
|
-
} = o, d = V(), g = te("designer-host-service"), C = te("design-item-context"), u = In(C, g), w =
|
|
1356
|
+
} = o, d = V(), g = te("designer-host-service"), C = te("design-item-context"), u = In(C, g), w = he(d, C, u), x = Z(() => e.showType === "password" ? "password" : "");
|
|
1357
1357
|
return me(() => {
|
|
1358
1358
|
d.value.componentInstance = w;
|
|
1359
1359
|
}), t.expose(w.value), () => F("div", {
|
|
@@ -1485,8 +1485,8 @@ le(ie, "fieldControlTypeMapping", {
|
|
|
1485
1485
|
{ key: l["radio-group"].type, value: l["radio-group"].name }
|
|
1486
1486
|
]
|
|
1487
1487
|
});
|
|
1488
|
-
let
|
|
1489
|
-
var
|
|
1488
|
+
let Ie = ie;
|
|
1489
|
+
var ye = /* @__PURE__ */ ((e) => (e.Form = "Form", e.Variable = "Variable", e))(ye || {}), Se = /* @__PURE__ */ ((e) => (e.SimpleField = "SimpleField", e.ComplexField = "ComplexField", e))(Se || {});
|
|
1490
1490
|
function En(e, t, n) {
|
|
1491
1491
|
function a() {
|
|
1492
1492
|
const i = n.componentId;
|
|
@@ -1496,7 +1496,7 @@ function En(e, t, n) {
|
|
|
1496
1496
|
if (!h)
|
|
1497
1497
|
return !1;
|
|
1498
1498
|
const { schema: d } = t, { designViewModelUtils: g } = e, C = g.getDgViewModel(h), u = C == null ? void 0 : C.fields.find((w) => w.id === d.binding.field);
|
|
1499
|
-
return !(!u || u.$type !==
|
|
1499
|
+
return !(!u || u.$type !== Se.SimpleField);
|
|
1500
1500
|
}
|
|
1501
1501
|
function o() {
|
|
1502
1502
|
const { schema: i } = t;
|
|
@@ -1509,11 +1509,11 @@ function En(e, t, n) {
|
|
|
1509
1509
|
if (!e || !((d = i.binding) != null && d.field))
|
|
1510
1510
|
return h;
|
|
1511
1511
|
switch (i.binding.type) {
|
|
1512
|
-
case
|
|
1512
|
+
case ye.Form: {
|
|
1513
1513
|
h = a();
|
|
1514
1514
|
break;
|
|
1515
1515
|
}
|
|
1516
|
-
case
|
|
1516
|
+
case ye.Variable:
|
|
1517
1517
|
h = o();
|
|
1518
1518
|
}
|
|
1519
1519
|
return h;
|
|
@@ -1522,7 +1522,7 @@ function En(e, t, n) {
|
|
|
1522
1522
|
}
|
|
1523
1523
|
const Pn = /* @__PURE__ */ H({
|
|
1524
1524
|
name: "FDynamicFormGroupDesign",
|
|
1525
|
-
props:
|
|
1525
|
+
props: ut,
|
|
1526
1526
|
emits: ["change", "update:modelValue"],
|
|
1527
1527
|
setup(e, t) {
|
|
1528
1528
|
var K;
|
|
@@ -1559,7 +1559,7 @@ const Pn = /* @__PURE__ */ H({
|
|
|
1559
1559
|
} = En(u, w, e);
|
|
1560
1560
|
function O() {
|
|
1561
1561
|
const R = B ? M() : !0;
|
|
1562
|
-
return F(
|
|
1562
|
+
return F(ct, {
|
|
1563
1563
|
id: `${n.value}-lable`,
|
|
1564
1564
|
showType: x.value,
|
|
1565
1565
|
required: d.value,
|
|
@@ -1670,19 +1670,19 @@ const Nn = /* @__PURE__ */ H({
|
|
|
1670
1670
|
props: pe,
|
|
1671
1671
|
emits: [],
|
|
1672
1672
|
setup(e, t) {
|
|
1673
|
-
const n = V(), a = te("design-item-context"), o = te("designer-host-service"), s = Ln(a, o), i =
|
|
1673
|
+
const n = V(), a = te("design-item-context"), o = te("designer-host-service"), s = Ln(a, o), i = he(n, a, s);
|
|
1674
1674
|
return me(() => {
|
|
1675
1675
|
n.value.componentInstance = i, i.value.getPropConfig = (...h) => {
|
|
1676
1676
|
var g, C, u;
|
|
1677
|
-
let d =
|
|
1677
|
+
let d = wo[e.editor.type];
|
|
1678
1678
|
return d && Object.keys(d).length === 0 && ((g = n.value) != null && g.editorRef) && ((u = (C = n.value) == null ? void 0 : C.editorRef) != null && u.getPropConfig) && (d = n.value.editorRef.getPropConfig(...h, i.value)), d;
|
|
1679
1679
|
};
|
|
1680
1680
|
}), t.expose(i.value), () => F(Pn, ce(e, {
|
|
1681
1681
|
ref: n
|
|
1682
1682
|
}), null);
|
|
1683
1683
|
}
|
|
1684
|
-
}),
|
|
1685
|
-
["appearance",
|
|
1684
|
+
}), ve = /* @__PURE__ */ new Map([
|
|
1685
|
+
["appearance", Vo]
|
|
1686
1686
|
]), Mn = /* @__PURE__ */ new Map([]), $n = "root-viewmodel";
|
|
1687
1687
|
class Dn {
|
|
1688
1688
|
constructor(t, n) {
|
|
@@ -1749,8 +1749,8 @@ class Dn {
|
|
|
1749
1749
|
}), n.contents = [a];
|
|
1750
1750
|
const { selectedFields: s } = t;
|
|
1751
1751
|
s == null || s.forEach((g) => {
|
|
1752
|
-
if (g.$type ===
|
|
1753
|
-
const C =
|
|
1752
|
+
if (g.$type === we.SimpleField) {
|
|
1753
|
+
const C = sn(g), u = this.resolveControlClassByFormColumns(t), w = this.controlCreatorUtils.setFormFieldProperty(C, "", u);
|
|
1754
1754
|
w && o.push(w);
|
|
1755
1755
|
}
|
|
1756
1756
|
});
|
|
@@ -1805,10 +1805,10 @@ class Dn {
|
|
|
1805
1805
|
assembleViewModelFields(t) {
|
|
1806
1806
|
const n = [], { selectedFields: a } = t;
|
|
1807
1807
|
return a == null || a.forEach((o) => {
|
|
1808
|
-
if (o.$type ===
|
|
1808
|
+
if (o.$type === we.SimpleField) {
|
|
1809
1809
|
let s = "blur";
|
|
1810
1810
|
const i = o.type.name;
|
|
1811
|
-
(i ===
|
|
1811
|
+
(i === Ve.Enum || i === Ve.Boolean) && (s = "change"), n.push({
|
|
1812
1812
|
type: "Form",
|
|
1813
1813
|
id: o.id,
|
|
1814
1814
|
fieldName: o.bindingField,
|
|
@@ -1867,7 +1867,7 @@ const An = "https://json-schema.org/draft/2020-12/schema", qn = "https://farris-
|
|
|
1867
1867
|
type: On,
|
|
1868
1868
|
properties: jn,
|
|
1869
1869
|
required: Zn
|
|
1870
|
-
},
|
|
1870
|
+
}, Ge = {
|
|
1871
1871
|
initialState: {
|
|
1872
1872
|
type: Object,
|
|
1873
1873
|
default: {
|
|
@@ -1877,9 +1877,9 @@ const An = "https://json-schema.org/draft/2020-12/schema", qn = "https://farris-
|
|
|
1877
1877
|
uniqueColClassInEL: 2
|
|
1878
1878
|
}
|
|
1879
1879
|
}
|
|
1880
|
-
}, Jn = de(
|
|
1880
|
+
}, Jn = de(Ge, Wn, Mn, Rn), zn = /* @__PURE__ */ H({
|
|
1881
1881
|
name: "FResponseFormLayoutSetting",
|
|
1882
|
-
props:
|
|
1882
|
+
props: Ge,
|
|
1883
1883
|
emits: ["change"],
|
|
1884
1884
|
setup(e, t) {
|
|
1885
1885
|
const n = [1], a = [1, 2], o = [1, 2, 3, 4], s = [1, 2, 3, 4, 6];
|
|
@@ -1931,7 +1931,7 @@ const An = "https://json-schema.org/draft/2020-12/schema", qn = "https://farris-
|
|
|
1931
1931
|
});
|
|
1932
1932
|
}
|
|
1933
1933
|
function L() {
|
|
1934
|
-
|
|
1934
|
+
ln.question("应用统一布局,将重置区域内部所有控件的宽度样式,确定应用?", "", () => {
|
|
1935
1935
|
C.value.uniqueColClassInSM = u.value === 0 ? null : 12 / u.value, C.value.uniqueColClassInMD = w.value === 0 ? null : 12 / w.value, C.value.uniqueColClassInLG = x.value === 0 ? null : 12 / x.value, C.value.uniqueColClassInEL = $.value === 0 ? null : 12 / $.value, t.emit("change", C.value);
|
|
1936
1936
|
}, () => {
|
|
1937
1937
|
});
|
|
@@ -2146,7 +2146,7 @@ const An = "https://json-schema.org/draft/2020-12/schema", qn = "https://farris-
|
|
|
2146
2146
|
"id",
|
|
2147
2147
|
"type",
|
|
2148
2148
|
"editor"
|
|
2149
|
-
],
|
|
2149
|
+
], Oe = {
|
|
2150
2150
|
$schema: or,
|
|
2151
2151
|
$id: nr,
|
|
2152
2152
|
title: rr,
|
|
@@ -2154,40 +2154,40 @@ const An = "https://json-schema.org/draft/2020-12/schema", qn = "https://farris-
|
|
|
2154
2154
|
type: ir,
|
|
2155
2155
|
properties: sr,
|
|
2156
2156
|
required: lr
|
|
2157
|
-
},
|
|
2157
|
+
}, je = de($e, tr, ve, Un), Ze = de(
|
|
2158
2158
|
pe,
|
|
2159
|
-
|
|
2160
|
-
|
|
2159
|
+
Oe,
|
|
2160
|
+
ve,
|
|
2161
2161
|
void 0
|
|
2162
|
-
), ur =
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2162
|
+
), ur = ko(), cr = de(
|
|
2163
|
+
Re,
|
|
2164
|
+
Oe,
|
|
2165
|
+
ve,
|
|
2166
2166
|
void 0
|
|
2167
2167
|
);
|
|
2168
2168
|
se.register = (e, t, n, a) => {
|
|
2169
|
-
e["form-group"] =
|
|
2169
|
+
e["form-group"] = ge, t["form-group"] = Ze, e["response-form"] = se, t["response-form"] = je, e["form-input"] = fe, t["form-input"] = cr, a["form-group"] = { editorResolver: ur }, e["response-form-layout-setting"] = zn, t["response-form-layout-setting"] = Jn;
|
|
2170
2170
|
};
|
|
2171
2171
|
se.registerDesigner = (e, t, n) => {
|
|
2172
|
-
e["form-group"] = Nn, t["form-group"] =
|
|
2172
|
+
e["form-group"] = Nn, t["form-group"] = Ze, e["response-form"] = vn, t["response-form"] = je;
|
|
2173
2173
|
};
|
|
2174
2174
|
se.install = (e) => {
|
|
2175
|
-
e.component(se.name, se).component(fe.name, fe).component(
|
|
2175
|
+
e.component(se.name, se).component(fe.name, fe).component(ke.name, ke).component(ge.name, ge);
|
|
2176
2176
|
};
|
|
2177
2177
|
export {
|
|
2178
|
-
|
|
2178
|
+
ge as FDynamicFormGroup,
|
|
2179
2179
|
fe as FDynamicFormInput,
|
|
2180
|
-
|
|
2181
|
-
|
|
2180
|
+
De as FDynamicFormLabel,
|
|
2181
|
+
ke as FFormControl,
|
|
2182
2182
|
se as FResponseForm,
|
|
2183
2183
|
se as default,
|
|
2184
2184
|
pe as dynamicFormGroupProps,
|
|
2185
|
-
|
|
2185
|
+
Re as dynamicFormInputProps,
|
|
2186
2186
|
ur as editorResolver,
|
|
2187
|
-
|
|
2187
|
+
Ze as formGroupPropsResolver,
|
|
2188
2188
|
cr as formInputPropsResolver,
|
|
2189
|
-
|
|
2190
|
-
|
|
2189
|
+
je as formPropsResolver,
|
|
2190
|
+
$e as responseFormProps,
|
|
2191
2191
|
hn as useDesignerRules,
|
|
2192
|
-
|
|
2192
|
+
Ue as useTypeResolver
|
|
2193
2193
|
};
|