@farris/ui-vue 1.3.4 → 1.3.6
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/accordion/index.esm.js +16 -16
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +65 -65
- package/components/avatar/index.umd.cjs +1 -1
- package/components/button-edit/index.esm.js +13 -13
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/calendar/index.esm.js +504 -490
- package/components/calendar/index.umd.cjs +1 -1
- package/components/capsule/index.esm.js +247 -233
- package/components/capsule/index.umd.cjs +1 -1
- package/components/checkbox/index.esm.js +356 -344
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/color-picker/index.esm.js +159 -145
- package/components/color-picker/index.umd.cjs +2 -2
- package/components/combo-list/index.esm.js +127 -128
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/combo-tree/index.esm.js +15 -15
- package/components/combo-tree/index.umd.cjs +1 -1
- package/components/component/index.esm.js +101 -87
- package/components/component/index.umd.cjs +1 -1
- package/components/condition/index.esm.js +9 -7
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.esm.js +181 -167
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-grid/index.esm.js +746 -730
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.esm.js +9 -7
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.esm.js +789 -777
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/designer-canvas/index.esm.js +3096 -3069
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/dropdown/index.esm.js +257 -243
- package/components/dropdown/index.umd.cjs +2 -2
- package/components/dynamic-form/index.esm.js +322 -306
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +177 -163
- package/components/dynamic-resolver/index.umd.cjs +1 -1
- package/components/event-parameter/index.esm.js +78 -82
- package/components/event-parameter/index.umd.cjs +1 -1
- package/components/events-editor/index.esm.js +501 -487
- package/components/events-editor/index.umd.cjs +1 -1
- package/components/expression-editor/index.esm.js +37 -37
- package/components/expression-editor/index.umd.cjs +1 -1
- package/components/external-container/index.esm.js +487 -472
- package/components/external-container/index.umd.cjs +1 -1
- package/components/field-selector/index.esm.js +440 -433
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/filter-bar/index.esm.js +594 -587
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/flow-canvas/index.esm.js +2766 -2739
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/image-cropper/index.esm.js +402 -388
- package/components/image-cropper/index.umd.cjs +1 -1
- package/components/input-group/index.esm.js +201 -202
- package/components/input-group/index.umd.cjs +1 -1
- package/components/layout/index.esm.js +264 -245
- package/components/layout/index.umd.cjs +1 -1
- package/components/list-nav/index.esm.js +157 -143
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/list-view/index.esm.js +314 -298
- package/components/list-view/index.umd.cjs +1 -1
- package/components/lookup/index.esm.js +862 -843
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.esm.js +1031 -1015
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/nav/index.esm.js +169 -155
- package/components/nav/index.umd.cjs +2 -2
- package/components/number-range/index.esm.js +150 -137
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +207 -194
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/order/index.esm.js +427 -414
- package/components/order/index.umd.cjs +1 -1
- package/components/page-footer/index.esm.js +22 -22
- package/components/page-footer/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +510 -492
- package/components/page-header/index.umd.cjs +1 -1
- package/components/pagination/index.esm.js +192 -178
- package/components/pagination/index.umd.cjs +1 -1
- package/components/progress/index.esm.js +234 -220
- package/components/progress/index.umd.cjs +3 -3
- package/components/property-editor/index.esm.js +288 -277
- package/components/property-editor/index.umd.cjs +2 -2
- package/components/property-panel/index.esm.js +62 -61
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/query-solution/index.esm.js +776 -770
- package/components/query-solution/index.umd.cjs +6 -6
- package/components/radio-button/index.esm.js +64 -64
- package/components/radio-button/index.umd.cjs +1 -1
- package/components/radio-group/index.esm.js +296 -283
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/rate/index.esm.js +222 -208
- package/components/rate/index.umd.cjs +1 -1
- package/components/response-layout/index.esm.js +187 -173
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.esm.js +554 -542
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +483 -469
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +634 -619
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/search-box/index.esm.js +228 -214
- package/components/search-box/index.umd.cjs +1 -1
- package/components/section/index.esm.js +419 -406
- package/components/section/index.umd.cjs +1 -1
- package/components/smoke-detector/index.esm.js +162 -148
- package/components/smoke-detector/index.umd.cjs +1 -1
- package/components/splitter/index.esm.js +308 -284
- package/components/splitter/index.umd.cjs +1 -1
- package/components/step/index.esm.js +279 -265
- package/components/step/index.umd.cjs +1 -1
- package/components/switch/index.esm.js +183 -170
- package/components/switch/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +307 -294
- package/components/tabs/index.umd.cjs +1 -1
- package/components/tags/index.esm.js +320 -306
- package/components/tags/index.umd.cjs +1 -1
- package/components/text/index.esm.js +245 -231
- package/components/text/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +260 -247
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.esm.js +409 -396
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/transfer/index.esm.js +424 -410
- package/components/transfer/index.umd.cjs +1 -1
- package/components/tree-grid/index.esm.js +383 -376
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.esm.js +595 -575
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/uploader/index.esm.js +325 -311
- package/components/uploader/index.umd.cjs +2 -2
- package/components/verify-detail/index.esm.js +304 -290
- package/components/verify-detail/index.umd.cjs +1 -1
- package/components/video/index.esm.js +99 -85
- package/components/video/index.umd.cjs +1 -1
- package/components/weather/index.esm.js +947 -933
- package/components/weather/index.umd.cjs +4 -4
- package/farris.all.esm.js +5492 -5470
- package/farris.all.umd.cjs +13 -13
- package/index.css +1 -1
- package/package.json +1 -1
- package/types/condition/src/composition/condition-value/input-group-value.d.ts +1 -1
- package/types/entity-binding-selector/composition/use-entity-tree.d.ts +3 -0
- package/types/entity-binding-selector/composition/use-field-tree.d.ts +1 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _ = Object.defineProperty;
|
|
2
2
|
var Y = (e, t, n) => t in e ? _(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var v = (e, t, n) => Y(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { defineComponent as
|
|
4
|
+
import { defineComponent as O, ref as C, computed as k, watch as E, createVNode as I, Teleport as Z, createApp as K, onUnmounted as ee, inject as T, nextTick as D, onMounted as U, mergeProps as te } from "vue";
|
|
5
5
|
import { isPlainObject as N, cloneDeep as R } from "lodash-es";
|
|
6
6
|
import ne from "../list-view/index.esm.js";
|
|
7
7
|
import oe from "../button-edit/index.esm.js";
|
|
@@ -10,7 +10,7 @@ import { useDesignerComponent as q, DgControl as G } from "../designer-canvas/in
|
|
|
10
10
|
import { withInstall as le } from "../common/index.esm.js";
|
|
11
11
|
const ae = {}, re = {};
|
|
12
12
|
function W(e) {
|
|
13
|
-
const { properties: t, title: n, ignore: i } = e, l = i && Array.isArray(i), a = Object.keys(t).reduce((s,
|
|
13
|
+
const { properties: t, title: n, ignore: i } = e, l = i && Array.isArray(i), a = Object.keys(t).reduce((s, y) => ((!l || !i.find((m) => m === y)) && (s[y] = t[y].type === "object" && t[y].properties ? W(t[y]) : R(t[y].default)), s), {});
|
|
14
14
|
if (n && (!l || !i.find((s) => s === "id"))) {
|
|
15
15
|
const s = n.toLowerCase().replace(/-/g, "_");
|
|
16
16
|
a.id = `${s}_${Math.random().toString().slice(2, 6)}`;
|
|
@@ -19,7 +19,7 @@ function W(e) {
|
|
|
19
19
|
}
|
|
20
20
|
function se(e, t) {
|
|
21
21
|
const n = W(t);
|
|
22
|
-
return Object.keys(n).reduce((i, l) => (i[l] && N(i[l]) && N(e[l] || !e[l]) ? Object.assign(i[l], e[l] || {}) : i[l] = e[l], i), n), n;
|
|
22
|
+
return Object.keys(n).reduce((i, l) => (Object.prototype.hasOwnProperty.call(e, l) && (i[l] && N(i[l]) && N(e[l] || !e[l]) ? Object.assign(i[l], e[l] || {}) : i[l] = e[l]), i), n), n;
|
|
23
23
|
}
|
|
24
24
|
function ue(e, t) {
|
|
25
25
|
return Object.keys(e).filter((i) => e[i] != null).reduce((i, l) => {
|
|
@@ -85,14 +85,14 @@ function de(e = {}) {
|
|
|
85
85
|
}
|
|
86
86
|
return !1;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function y(u, c) {
|
|
89
89
|
return a(u).reduce((d, p) => d && s(p, c), !0);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
const o = Object.keys(u), r = o.includes("allOf"), d = o.includes("anyOf"), p = r || d,
|
|
93
|
-
return r ? !
|
|
91
|
+
function m(u, c) {
|
|
92
|
+
const o = Object.keys(u), r = o.includes("allOf"), d = o.includes("anyOf"), p = r || d, h = (p ? u[p ? r ? "allOf" : "anyOf" : "allOf"] : [u]).map((w) => y(w, c));
|
|
93
|
+
return r ? !h.includes(!1) : h.includes(!0);
|
|
94
94
|
}
|
|
95
|
-
return { parseValueSchema:
|
|
95
|
+
return { parseValueSchema: m };
|
|
96
96
|
}
|
|
97
97
|
const g = {
|
|
98
98
|
button: { type: "button", name: "按钮", icon: "Button" },
|
|
@@ -136,18 +136,18 @@ const g = {
|
|
|
136
136
|
"query-solution": { type: "query-solution", name: "筛选方案", icon: "QueryScheme" }
|
|
137
137
|
}, pe = {}, fe = {};
|
|
138
138
|
de();
|
|
139
|
-
function H(e, t, n = /* @__PURE__ */ new Map(), i = (s,
|
|
139
|
+
function H(e, t, n = /* @__PURE__ */ new Map(), i = (s, y, m, u) => y, l = {}, a = (s) => s) {
|
|
140
140
|
return ae[t.title] = t, re[t.title] = i, pe[t.title] = l, fe[t.title] = a, (s = {}) => {
|
|
141
|
-
const
|
|
142
|
-
return Object.assign(
|
|
141
|
+
const y = ce(s, t, n), m = Object.keys(e).reduce((u, c) => (u[c] = e[c].default, u), {});
|
|
142
|
+
return Object.assign(m, y);
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function ye(e, t) {
|
|
146
146
|
return { customClass: t.class, customStyle: t.style };
|
|
147
147
|
}
|
|
148
|
-
const
|
|
149
|
-
["appearance",
|
|
150
|
-
]), ge = "https://json-schema.org/draft/2020-12/schema",
|
|
148
|
+
const me = /* @__PURE__ */ new Map([
|
|
149
|
+
["appearance", ye]
|
|
150
|
+
]), ge = "https://json-schema.org/draft/2020-12/schema", be = "https://farris-design.gitee.io/combo-list.schema.json", he = "combo-list", ve = "A Farris Input Component", Ce = "object", Se = {
|
|
151
151
|
id: {
|
|
152
152
|
description: "The unique identifier for a combo list",
|
|
153
153
|
type: "string"
|
|
@@ -274,7 +274,6 @@ const ye = /* @__PURE__ */ new Map([
|
|
|
274
274
|
default: ""
|
|
275
275
|
}
|
|
276
276
|
}, Fe = [
|
|
277
|
-
"id",
|
|
278
277
|
"type"
|
|
279
278
|
], Ie = [
|
|
280
279
|
"id",
|
|
@@ -283,8 +282,8 @@ const ye = /* @__PURE__ */ new Map([
|
|
|
283
282
|
"visible"
|
|
284
283
|
], ke = {
|
|
285
284
|
$schema: ge,
|
|
286
|
-
$id:
|
|
287
|
-
title:
|
|
285
|
+
$id: be,
|
|
286
|
+
title: he,
|
|
288
287
|
description: ve,
|
|
289
288
|
type: Ce,
|
|
290
289
|
properties: Se,
|
|
@@ -461,7 +460,7 @@ const $ = {
|
|
|
461
460
|
},
|
|
462
461
|
// 搜索启用高亮
|
|
463
462
|
enableHighlightSearch: { type: Boolean, default: !0 }
|
|
464
|
-
}, z = H($, ke,
|
|
463
|
+
}, z = H($, ke, me, we), xe = {
|
|
465
464
|
dataSource: { type: Array, default: [] },
|
|
466
465
|
enableSearch: { type: Boolean, default: !1 },
|
|
467
466
|
idField: { type: String, default: "id" },
|
|
@@ -482,12 +481,12 @@ const $ = {
|
|
|
482
481
|
},
|
|
483
482
|
// 搜索启用高亮
|
|
484
483
|
enableHighlightSearch: { type: Boolean, default: !0 }
|
|
485
|
-
}, Ee = /* @__PURE__ */
|
|
484
|
+
}, Ee = /* @__PURE__ */ O({
|
|
486
485
|
name: "FComboListContainer",
|
|
487
486
|
props: xe,
|
|
488
487
|
emits: ["selectionChange"],
|
|
489
488
|
setup(e, t) {
|
|
490
|
-
const n = C(), i = C(e.dataSource), l = C([]), a = C(e.separator), s = C(e.width),
|
|
489
|
+
const n = C(), i = C(e.dataSource), l = C([]), a = C(e.separator), s = C(e.width), y = C(e.maxHeight), m = C(String(e.selectedValues).split(a.value)), u = k(() => e.multiSelect), c = k(() => ({
|
|
491
490
|
enableSelectRow: !0,
|
|
492
491
|
multiSelect: e.multiSelect,
|
|
493
492
|
multiSelectMode: "OnCheckAndClick",
|
|
@@ -500,22 +499,22 @@ const $ = {
|
|
|
500
499
|
});
|
|
501
500
|
const o = k(() => e.enableSearch ? "SearchBar" : "ContentHeader"), r = k(() => {
|
|
502
501
|
const f = {};
|
|
503
|
-
return s.value !== void 0 && (f.width = `${s.value}px`),
|
|
502
|
+
return s.value !== void 0 && (f.width = `${s.value}px`), y.value !== void 0 && y.value > 0 && (f.maxHeight = `${y.value}px`), f;
|
|
504
503
|
});
|
|
505
504
|
function d(f) {
|
|
506
|
-
l.value = f.map((
|
|
505
|
+
l.value = f.map((b) => Object.assign({}, b)), m.value = f.map((b) => b[e.idField]), t.emit("selectionChange", l.value);
|
|
507
506
|
}
|
|
508
507
|
function p(f) {
|
|
509
508
|
if (e.enableHighlightSearch)
|
|
510
509
|
return;
|
|
511
|
-
let
|
|
510
|
+
let b = [];
|
|
512
511
|
const {
|
|
513
|
-
searchOption:
|
|
512
|
+
searchOption: h
|
|
514
513
|
} = e;
|
|
515
|
-
typeof
|
|
514
|
+
typeof h == "function" ? b = i.value.filter((S) => h(f, S)) : b = i.value.filter((S) => S[e.valueField].indexOf(f) > -1 || S[e.textField].indexOf(f) > -1), n.value.updateDataSource(b);
|
|
516
515
|
}
|
|
517
516
|
return E([() => e.selectedValues], ([f]) => {
|
|
518
|
-
|
|
517
|
+
m.value = f.split(a.value);
|
|
519
518
|
}), () => I("div", {
|
|
520
519
|
class: "f-combo-list-container pl-1",
|
|
521
520
|
style: r.value
|
|
@@ -532,18 +531,18 @@ const $ = {
|
|
|
532
531
|
multiSelect: e.multiSelect,
|
|
533
532
|
selection: c.value,
|
|
534
533
|
enableHighlightSearch: e.enableHighlightSearch,
|
|
535
|
-
selectionValues:
|
|
534
|
+
selectionValues: m.value,
|
|
536
535
|
onSelectionChange: d,
|
|
537
536
|
onAfterSearch: p
|
|
538
537
|
}, null)]);
|
|
539
538
|
}
|
|
540
539
|
});
|
|
541
|
-
function
|
|
540
|
+
function Oe(e) {
|
|
542
541
|
const t = C(""), n = C(e.modelValue), i = C(e.data || []), l = C(e.editable);
|
|
543
542
|
function a(o) {
|
|
544
|
-
const r = String(o).split(e.separator), d = r.map((
|
|
545
|
-
return i.value.filter((
|
|
546
|
-
const S = r.indexOf(
|
|
543
|
+
const r = String(o).split(e.separator), d = r.map((b) => [b, !0]), p = new Map(d);
|
|
544
|
+
return i.value.filter((b) => p.has(String(b[e.valueField]))).sort((b, h) => {
|
|
545
|
+
const S = r.indexOf(b[e.valueField]), w = r.indexOf(h[e.valueField]);
|
|
547
546
|
return S - w;
|
|
548
547
|
});
|
|
549
548
|
}
|
|
@@ -551,31 +550,31 @@ function Te(e) {
|
|
|
551
550
|
const r = a(o).map((d) => d[e.textField]).join(e.separator);
|
|
552
551
|
t.value = l.value ? r || o : r;
|
|
553
552
|
}
|
|
554
|
-
function
|
|
553
|
+
function y(o) {
|
|
555
554
|
const r = o.split(e.separator).map((p) => [p, !0]), d = new Map(r);
|
|
556
555
|
return i.value.filter((p) => d.has(p[e.textField]));
|
|
557
556
|
}
|
|
558
|
-
function
|
|
557
|
+
function m(o) {
|
|
559
558
|
const r = {};
|
|
560
559
|
return r[e.idField] = o, r[e.textField] = o, [r];
|
|
561
560
|
}
|
|
562
561
|
function u(o) {
|
|
563
|
-
let r =
|
|
562
|
+
let r = y(o);
|
|
564
563
|
const d = r && r.length > 0;
|
|
565
|
-
return l.value && !d && (r =
|
|
564
|
+
return l.value && !d && (r = m(o)), r;
|
|
566
565
|
}
|
|
567
566
|
function c() {
|
|
568
567
|
const { url: o, method: r = "GET", headers: d = {}, body: p = null } = e.remote, f = r.toLowerCase() === "get" ? { method: r, headers: d } : { method: r, headers: d, body: p };
|
|
569
|
-
let
|
|
570
|
-
fetch(o, f).then((
|
|
568
|
+
let b = !1;
|
|
569
|
+
fetch(o, f).then((h) => {
|
|
571
570
|
var w, B;
|
|
572
|
-
if (
|
|
573
|
-
return
|
|
574
|
-
throw new Error(
|
|
575
|
-
}).then((
|
|
576
|
-
i.value =
|
|
577
|
-
}).catch((
|
|
578
|
-
console.error(
|
|
571
|
+
if (h.status === 200)
|
|
572
|
+
return b = !!((B = (w = h.headers) == null ? void 0 : w.get("content-type")) != null && B.includes("application/json")), b ? h.text() : h.json();
|
|
573
|
+
throw new Error(h.statusText);
|
|
574
|
+
}).then((h) => {
|
|
575
|
+
i.value = b ? JSON.parse(h) : h;
|
|
576
|
+
}).catch((h) => {
|
|
577
|
+
console.error(h);
|
|
579
578
|
});
|
|
580
579
|
}
|
|
581
580
|
return e.remote && c(), E(() => e.data, () => {
|
|
@@ -587,30 +586,30 @@ function Te(e) {
|
|
|
587
586
|
}
|
|
588
587
|
}), E(() => e.modelValue, (o) => {
|
|
589
588
|
n.value = o, s(o);
|
|
590
|
-
}), s(e.modelValue), { dataSource: i, displayText: t, editable: l, modelValue: n, getItemsByDisplayText:
|
|
589
|
+
}), s(e.modelValue), { dataSource: i, displayText: t, editable: l, modelValue: n, getItemsByDisplayText: y, getItemsByValue: a, getSelectedItemsByDisplayText: u };
|
|
591
590
|
}
|
|
592
|
-
const P = /* @__PURE__ */
|
|
591
|
+
const P = /* @__PURE__ */ O({
|
|
593
592
|
name: "FComboList",
|
|
594
593
|
props: $,
|
|
595
594
|
emits: ["clear", "update:modelValue", "change", "input"],
|
|
596
595
|
setup(e, t) {
|
|
597
596
|
const n = C(), i = C(e.disabled), l = C(e.enableClear), a = C(e.enableSearch), s = C(e.readonly), {
|
|
598
|
-
dataSource:
|
|
599
|
-
displayText:
|
|
597
|
+
dataSource: y,
|
|
598
|
+
displayText: m,
|
|
600
599
|
editable: u,
|
|
601
600
|
modelValue: c,
|
|
602
601
|
getSelectedItemsByDisplayText: o
|
|
603
|
-
} =
|
|
602
|
+
} = Oe(e), r = k(() => e.multiSelect), d = k(() => n.value ? n.value.elementRef.getBoundingClientRect().width : 0);
|
|
604
603
|
function p() {
|
|
605
604
|
!r.value && n.value && n.value.hidePopup();
|
|
606
605
|
}
|
|
607
606
|
function f(F) {
|
|
608
|
-
|
|
607
|
+
m.value = F.map((M) => M[e.textField]).join(e.separator), F.length === 1 ? c.value = F[0][e.valueField] : c.value = F.map((M) => M[e.valueField]).join(e.separator), t.emit("update:modelValue", c.value), t.emit("change", F, c.value), p();
|
|
609
608
|
}
|
|
610
|
-
function
|
|
609
|
+
function b() {
|
|
611
610
|
s.value || n.value.togglePopup();
|
|
612
611
|
}
|
|
613
|
-
function
|
|
612
|
+
function h(F) {
|
|
614
613
|
c.value = "", t.emit("update:modelValue", ""), t.emit("clear");
|
|
615
614
|
}
|
|
616
615
|
function S(F) {
|
|
@@ -618,7 +617,7 @@ const P = /* @__PURE__ */ T({
|
|
|
618
617
|
f(M);
|
|
619
618
|
}
|
|
620
619
|
function w() {
|
|
621
|
-
return
|
|
620
|
+
return m.value;
|
|
622
621
|
}
|
|
623
622
|
function B(F) {
|
|
624
623
|
t.emit("input", F);
|
|
@@ -642,12 +641,12 @@ const P = /* @__PURE__ */ T({
|
|
|
642
641
|
enableTitle: e.enableTitle,
|
|
643
642
|
multiSelect: e.multiSelect,
|
|
644
643
|
inputType: e.multiSelect ? e.viewType : "text",
|
|
645
|
-
modelValue:
|
|
646
|
-
"onUpdate:modelValue": (F) =>
|
|
644
|
+
modelValue: m.value,
|
|
645
|
+
"onUpdate:modelValue": (F) => m.value = F,
|
|
647
646
|
focusOnCreated: e.focusOnCreated,
|
|
648
647
|
selectOnCreated: e.selectOnCreated,
|
|
649
|
-
onClear:
|
|
650
|
-
onClick:
|
|
648
|
+
onClear: h,
|
|
649
|
+
onClick: b,
|
|
651
650
|
onChange: S,
|
|
652
651
|
onInput: B,
|
|
653
652
|
beforeOpen: e.beforeOpen
|
|
@@ -657,7 +656,7 @@ const P = /* @__PURE__ */ T({
|
|
|
657
656
|
valueField: e.valueField,
|
|
658
657
|
textField: e.textField,
|
|
659
658
|
titleField: e.titleField,
|
|
660
|
-
dataSource:
|
|
659
|
+
dataSource: y.value,
|
|
661
660
|
selectedValues: c.value,
|
|
662
661
|
multiSelect: e.multiSelect,
|
|
663
662
|
enableSearch: a.value,
|
|
@@ -668,7 +667,7 @@ const P = /* @__PURE__ */ T({
|
|
|
668
667
|
}, null)]
|
|
669
668
|
});
|
|
670
669
|
}
|
|
671
|
-
}),
|
|
670
|
+
}), Te = /* @__PURE__ */ new Map([
|
|
672
671
|
["appearance", ie]
|
|
673
672
|
]);
|
|
674
673
|
function Pe(e, t, n) {
|
|
@@ -1065,12 +1064,12 @@ const Le = "https://json-schema.org/draft/2020-12/schema", Ve = "https://farris-
|
|
|
1065
1064
|
/** 更新方式 blur | change */
|
|
1066
1065
|
updateOn: { type: String, default: "change" }
|
|
1067
1066
|
};
|
|
1068
|
-
H(X, Ge,
|
|
1067
|
+
H(X, Ge, Te, Pe, He);
|
|
1069
1068
|
const ze = {
|
|
1070
1069
|
popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
|
|
1071
1070
|
host: { type: Object },
|
|
1072
1071
|
backgroundColor: { type: String, default: "" }
|
|
1073
|
-
}, Xe = /* @__PURE__ */
|
|
1072
|
+
}, Xe = /* @__PURE__ */ O({
|
|
1074
1073
|
name: "FOverlay",
|
|
1075
1074
|
props: ze,
|
|
1076
1075
|
emits: ["click"],
|
|
@@ -1079,17 +1078,17 @@ const ze = {
|
|
|
1079
1078
|
backgroundColor: e.backgroundColor || "",
|
|
1080
1079
|
pointerEvents: "auto"
|
|
1081
1080
|
}));
|
|
1082
|
-
function a(
|
|
1083
|
-
t.emit("click"),
|
|
1081
|
+
function a(y) {
|
|
1082
|
+
t.emit("click"), y.preventDefault(), y.stopPropagation();
|
|
1084
1083
|
}
|
|
1085
1084
|
k(() => {
|
|
1086
|
-
const
|
|
1087
|
-
if (
|
|
1088
|
-
const
|
|
1085
|
+
const y = i.value;
|
|
1086
|
+
if (y) {
|
|
1087
|
+
const m = y.getBoundingClientRect(), {
|
|
1089
1088
|
left: u,
|
|
1090
1089
|
top: c,
|
|
1091
1090
|
height: o
|
|
1092
|
-
} =
|
|
1091
|
+
} = m;
|
|
1093
1092
|
return {
|
|
1094
1093
|
left: u,
|
|
1095
1094
|
top: c + o
|
|
@@ -1106,14 +1105,14 @@ const ze = {
|
|
|
1106
1105
|
to: "body"
|
|
1107
1106
|
}, {
|
|
1108
1107
|
default: () => {
|
|
1109
|
-
var
|
|
1108
|
+
var y, m;
|
|
1110
1109
|
return [I("div", {
|
|
1111
1110
|
class: "overlay-container",
|
|
1112
1111
|
onClick: (u) => a(u),
|
|
1113
1112
|
style: l.value
|
|
1114
1113
|
}, [I("div", {
|
|
1115
1114
|
style: s.value
|
|
1116
|
-
}, [(
|
|
1115
|
+
}, [(m = (y = t.slots).default) == null ? void 0 : m.call(y)])])];
|
|
1117
1116
|
}
|
|
1118
1117
|
});
|
|
1119
1118
|
}
|
|
@@ -1170,16 +1169,16 @@ function J(e, t) {
|
|
|
1170
1169
|
return { judgeCanOpen: n };
|
|
1171
1170
|
}
|
|
1172
1171
|
function Ze(e, t, n, i, l) {
|
|
1173
|
-
const a = C(e.buttonBehavior), s = C(e.popupOnInput),
|
|
1172
|
+
const a = C(e.buttonBehavior), s = C(e.popupOnInput), y = k(() => ({
|
|
1174
1173
|
"input-group-append": !0,
|
|
1175
1174
|
"append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
|
|
1176
|
-
})), { judgeCanOpen:
|
|
1175
|
+
})), { judgeCanOpen: m } = J(e, l), u = k(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), c = T(Ye, null), o = C();
|
|
1177
1176
|
async function r(f) {
|
|
1178
|
-
if (await
|
|
1179
|
-
const
|
|
1177
|
+
if (await m() && u.value) {
|
|
1178
|
+
const b = !!t.slots.default;
|
|
1180
1179
|
if (a.value === "Modal") {
|
|
1181
|
-
const
|
|
1182
|
-
...
|
|
1180
|
+
const h = e.modalOptions, S = c == null ? void 0 : c.open({
|
|
1181
|
+
...h,
|
|
1183
1182
|
render: () => t.slots.default && t.slots.default()
|
|
1184
1183
|
});
|
|
1185
1184
|
o.value = S == null ? void 0 : S.modalRef;
|
|
@@ -1189,7 +1188,7 @@ function Ze(e, t, n, i, l) {
|
|
|
1189
1188
|
host: document.body,
|
|
1190
1189
|
backgroundColor: "rgba(0,0,0,.15)",
|
|
1191
1190
|
render: () => t.slots.default && t.slots.default()
|
|
1192
|
-
}),
|
|
1191
|
+
}), b && a.value === "Popup" && i.togglePopup(!0), b && s.value && i.hidePopup(), t.emit("clickButton", { origin: f, value: e.modelValue });
|
|
1193
1192
|
}
|
|
1194
1193
|
}
|
|
1195
1194
|
function d(f) {
|
|
@@ -1199,7 +1198,7 @@ function Ze(e, t, n, i, l) {
|
|
|
1199
1198
|
t.emit("mouseLeaveIcon", f);
|
|
1200
1199
|
}
|
|
1201
1200
|
return {
|
|
1202
|
-
buttonGroupClass:
|
|
1201
|
+
buttonGroupClass: y,
|
|
1203
1202
|
onClickButton: r,
|
|
1204
1203
|
onMouseEnterButton: d,
|
|
1205
1204
|
onMouseLeaveButton: p,
|
|
@@ -1208,28 +1207,28 @@ function Ze(e, t, n, i, l) {
|
|
|
1208
1207
|
}
|
|
1209
1208
|
function Ke(e, t, n, i) {
|
|
1210
1209
|
const l = C(), a = C(!1), { judgeCanOpen: s } = J(e, i);
|
|
1211
|
-
function
|
|
1210
|
+
function y() {
|
|
1212
1211
|
const o = l.value;
|
|
1213
1212
|
o && o.show(n.value);
|
|
1214
1213
|
}
|
|
1215
|
-
async function
|
|
1214
|
+
async function m(o = !1) {
|
|
1216
1215
|
if (!!t.slots.default) {
|
|
1217
1216
|
if (!o && !a.value && !await s())
|
|
1218
1217
|
return;
|
|
1219
|
-
a.value = !a.value, await D(),
|
|
1218
|
+
a.value = !a.value, await D(), y();
|
|
1220
1219
|
}
|
|
1221
1220
|
}
|
|
1222
1221
|
async function u(o = !1) {
|
|
1223
1222
|
if (!!t.slots.default) {
|
|
1224
1223
|
if (!o && !await s())
|
|
1225
1224
|
return;
|
|
1226
|
-
a.value = !0, await D(),
|
|
1225
|
+
a.value = !0, await D(), y();
|
|
1227
1226
|
}
|
|
1228
1227
|
}
|
|
1229
1228
|
function c() {
|
|
1230
1229
|
a.value = !1;
|
|
1231
1230
|
}
|
|
1232
|
-
return { hidePopup: c, popup: u, shouldPopupContent: a, togglePopup:
|
|
1231
|
+
return { hidePopup: c, popup: u, shouldPopupContent: a, togglePopup: m, popoverRef: l };
|
|
1233
1232
|
}
|
|
1234
1233
|
function et(e, t, n) {
|
|
1235
1234
|
const {
|
|
@@ -1249,12 +1248,12 @@ function et(e, t, n) {
|
|
|
1249
1248
|
buttonHandleElement: l
|
|
1250
1249
|
};
|
|
1251
1250
|
}
|
|
1252
|
-
const tt = /* @__PURE__ */
|
|
1251
|
+
const tt = /* @__PURE__ */ O({
|
|
1253
1252
|
name: "FButtonEdit",
|
|
1254
1253
|
props: X,
|
|
1255
1254
|
emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
|
|
1256
1255
|
setup(e, t) {
|
|
1257
|
-
const n = C(), i =
|
|
1256
|
+
const n = C(), i = T("design-item-context"), l = q(n, i), a = C(e.customClass), s = C(e.modelValue), y = Ke(e, t, n, s), m = Ze(e, t, n, y, s), u = C(), c = k(() => ({
|
|
1258
1257
|
"f-cmp-inputgroup": !0,
|
|
1259
1258
|
"input-group": !0,
|
|
1260
1259
|
"f-state-disable": !0,
|
|
@@ -1273,7 +1272,7 @@ const tt = /* @__PURE__ */ T({
|
|
|
1273
1272
|
return a.value && a.value.split(" ").reduce((p, f) => (p[f] = !0, p), d), d;
|
|
1274
1273
|
}), {
|
|
1275
1274
|
renderButtonGroup: r
|
|
1276
|
-
} = et(e, t,
|
|
1275
|
+
} = et(e, t, m);
|
|
1277
1276
|
return () => I("div", te(t.attrs, {
|
|
1278
1277
|
ref: n,
|
|
1279
1278
|
class: o.value,
|
|
@@ -1496,8 +1495,8 @@ function lt(e) {
|
|
|
1496
1495
|
o.isSupportedClass = !1;
|
|
1497
1496
|
return;
|
|
1498
1497
|
}
|
|
1499
|
-
let p = d.find((S) => /^col-([1-9]|10|11|12)$/.test(S)), f = d.find((S) => /^col-md-([1-9]|10|11|12)$/.test(S)),
|
|
1500
|
-
p = p || "col-12", o.columnInSM = parseInt(p.replace("col-", ""), 10), o.displayWidthInSM = o.columnInSM / 12, o.displayWidthInSM !== 1 && (o.isSupportedClass = !1), f = f || "col-md-" + o.columnInSM, o.columnInMD = parseInt(f.replace("col-md-", ""), 10), o.displayWidthInMD = o.columnInMD / 6, [1, 2].includes(o.displayWidthInMD) || (o.isSupportedClass = !1),
|
|
1498
|
+
let p = d.find((S) => /^col-([1-9]|10|11|12)$/.test(S)), f = d.find((S) => /^col-md-([1-9]|10|11|12)$/.test(S)), b = d.find((S) => /^col-xl-([1-9]|10|11|12)$/.test(S)), h = d.find((S) => /^col-el-([1-9]|10|11|12)$/.test(S));
|
|
1499
|
+
p = p || "col-12", o.columnInSM = parseInt(p.replace("col-", ""), 10), o.displayWidthInSM = o.columnInSM / 12, o.displayWidthInSM !== 1 && (o.isSupportedClass = !1), f = f || "col-md-" + o.columnInSM, o.columnInMD = parseInt(f.replace("col-md-", ""), 10), o.displayWidthInMD = o.columnInMD / 6, [1, 2].includes(o.displayWidthInMD) || (o.isSupportedClass = !1), b = b || "col-xl-" + o.columnInMD, o.columnInLG = parseInt(b.replace("col-xl-", ""), 10), o.displayWidthInLG = o.columnInLG / 3, [1, 2, 3, 4].includes(o.displayWidthInLG) || (o.isSupportedClass = !1), h = h || "col-el-" + o.columnInLG, o.columnInEL = parseInt(h.replace("col-el-", ""), 10), o.displayWidthInEL = o.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(o.displayWidthInEL) || (o.isSupportedClass = !1);
|
|
1501
1500
|
}
|
|
1502
1501
|
function s(c, o, r, d = !1) {
|
|
1503
1502
|
let p = !1;
|
|
@@ -1507,57 +1506,57 @@ function lt(e) {
|
|
|
1507
1506
|
return;
|
|
1508
1507
|
}
|
|
1509
1508
|
p && (r += 1, p = !1);
|
|
1510
|
-
const
|
|
1511
|
-
|
|
1509
|
+
const b = f.appearance && f.appearance.class, h = new it();
|
|
1510
|
+
b ? a(b, h) : h.isSupportedClass = !1, h.label = f.label || f.id, h.id = f.id, h.group = r, d && (h.fieldSetId = c.id), n === f.id && (t = r), i.set(f.id, f), o.push(h);
|
|
1512
1511
|
});
|
|
1513
1512
|
}
|
|
1514
|
-
function
|
|
1513
|
+
function y(c) {
|
|
1515
1514
|
const o = e.getComponentById(c);
|
|
1516
1515
|
if (!o || !o.componentType || !o.componentType.startsWith("form"))
|
|
1517
1516
|
return { result: !1, message: "只可以在响应式表单组件中调整响应式布局配置" };
|
|
1518
1517
|
const r = e.selectNode(o, (d) => d.type === G["response-form"].type);
|
|
1519
1518
|
return !r || !r.contents || r.contents.length === 0 ? { result: !1, message: "Form区域内没有控件,请先添加控件" } : { result: !0, message: "", formNode: r };
|
|
1520
1519
|
}
|
|
1521
|
-
function
|
|
1520
|
+
function m(c, o) {
|
|
1522
1521
|
o = o || c.id;
|
|
1523
|
-
const { result: r, message: d, formNode: p } =
|
|
1522
|
+
const { result: r, message: d, formNode: p } = y(o);
|
|
1524
1523
|
if (!r)
|
|
1525
1524
|
return { result: r, message: d };
|
|
1526
1525
|
n = c.id, l = [], i.clear();
|
|
1527
1526
|
const f = p.contents[0].type === G.fieldset.type ? 0 : 1;
|
|
1528
1527
|
s(p, l, f);
|
|
1529
|
-
const
|
|
1528
|
+
const b = l.find((S) => !S.isSupportedClass);
|
|
1530
1529
|
return {
|
|
1531
1530
|
defaultState: {
|
|
1532
1531
|
defaultGroupNumber: t || 1,
|
|
1533
|
-
model:
|
|
1532
|
+
model: b ? "customize" : "standard"
|
|
1534
1533
|
},
|
|
1535
1534
|
importData: l
|
|
1536
1535
|
};
|
|
1537
1536
|
}
|
|
1538
1537
|
function u(c, o) {
|
|
1539
1538
|
o = o;
|
|
1540
|
-
const { result: r, formNode: d } =
|
|
1539
|
+
const { result: r, formNode: d } = y(o);
|
|
1541
1540
|
if (!r)
|
|
1542
1541
|
return "";
|
|
1543
1542
|
const p = [];
|
|
1544
1543
|
return c.forEach((f) => {
|
|
1545
1544
|
var S;
|
|
1546
|
-
const
|
|
1547
|
-
if (
|
|
1548
|
-
const B =
|
|
1549
|
-
|
|
1545
|
+
const b = i.get(f.id), h = b.appearance && b.appearance.class;
|
|
1546
|
+
if (h) {
|
|
1547
|
+
const B = h.split(" ").filter((Q) => !Q.startsWith("col-")), F = "col-" + f.columnInSM, M = "col-md-" + f.columnInMD, V = "col-xl-" + f.columnInLG, A = "col-el-" + f.columnInEL, j = [F, M, V, A].concat(B);
|
|
1548
|
+
b.appearance.class = j.join(" ");
|
|
1550
1549
|
}
|
|
1551
1550
|
if (f.fieldSetId) {
|
|
1552
1551
|
const w = d.contents.find((F) => F.id === f.fieldSetId), B = p.find((F) => F.id === f.fieldSetId);
|
|
1553
|
-
B ? (S = B.contents) == null || S.push(
|
|
1552
|
+
B ? (S = B.contents) == null || S.push(b) : (p.push(w), w.contents = [b]);
|
|
1554
1553
|
} else
|
|
1555
|
-
p.push(
|
|
1554
|
+
p.push(b);
|
|
1556
1555
|
}), d.contents = p, d.id;
|
|
1557
1556
|
}
|
|
1558
1557
|
return {
|
|
1559
|
-
checkCanFindFormNode:
|
|
1560
|
-
checkCanOpenLayoutEditor:
|
|
1558
|
+
checkCanFindFormNode: y,
|
|
1559
|
+
checkCanOpenLayoutEditor: m,
|
|
1561
1560
|
changeFormControlsByResponseLayoutConfig: u,
|
|
1562
1561
|
getResonseFormLayoutConfig: s
|
|
1563
1562
|
};
|
|
@@ -1574,7 +1573,7 @@ class at extends nt {
|
|
|
1574
1573
|
getBasicProperties(n, i) {
|
|
1575
1574
|
var a;
|
|
1576
1575
|
const l = this;
|
|
1577
|
-
return this.setDesignViewModelField(n),
|
|
1576
|
+
return this.setDesignViewModelField(n), {
|
|
1578
1577
|
description: "Basic Information",
|
|
1579
1578
|
title: "基本信息",
|
|
1580
1579
|
properties: {
|
|
@@ -1620,7 +1619,7 @@ class at extends nt {
|
|
|
1620
1619
|
}
|
|
1621
1620
|
}
|
|
1622
1621
|
},
|
|
1623
|
-
setPropertyRelates(s,
|
|
1622
|
+
setPropertyRelates(s, y) {
|
|
1624
1623
|
if (s)
|
|
1625
1624
|
switch (s && s.propertyID) {
|
|
1626
1625
|
case "type": {
|
|
@@ -1692,7 +1691,7 @@ class at extends nt {
|
|
|
1692
1691
|
const a = i.propertyValue, s = l && l.parent && l.parent.schema;
|
|
1693
1692
|
if (!s)
|
|
1694
1693
|
return;
|
|
1695
|
-
const
|
|
1694
|
+
const y = s.contents.findIndex((p) => p.id === n.id), m = s.contents[y];
|
|
1696
1695
|
let u;
|
|
1697
1696
|
this.designViewModelField && (this.designViewModelUtils.getDgViewModel(this.viewModelId).changeField(this.designViewModelField.id, {
|
|
1698
1697
|
editor: {
|
|
@@ -1702,19 +1701,19 @@ class at extends nt {
|
|
|
1702
1701
|
require: this.designViewModelField.require,
|
|
1703
1702
|
readonly: this.designViewModelField.readonly
|
|
1704
1703
|
}, !1), u = this.controlCreatorUtils.setFormFieldProperty(this.designViewModelField, a)), u || (u = this.controlCreatorUtils.createFormGroupWithoutField(a)), Object.assign(u, {
|
|
1705
|
-
id:
|
|
1706
|
-
appearance:
|
|
1707
|
-
size:
|
|
1708
|
-
label:
|
|
1709
|
-
binding:
|
|
1710
|
-
visible:
|
|
1704
|
+
id: m.id,
|
|
1705
|
+
appearance: m.appearance,
|
|
1706
|
+
size: m.size,
|
|
1707
|
+
label: m.label,
|
|
1708
|
+
binding: m.binding,
|
|
1709
|
+
visible: m.visible
|
|
1711
1710
|
}), Object.assign(u.editor, {
|
|
1712
|
-
isTextArea: u.isTextArea &&
|
|
1713
|
-
placeholder: (c =
|
|
1714
|
-
holdPlace: (o =
|
|
1715
|
-
readonly: (r =
|
|
1716
|
-
require: (d =
|
|
1717
|
-
}), s.contents.splice(
|
|
1711
|
+
isTextArea: u.isTextArea && m.isTextArea,
|
|
1712
|
+
placeholder: (c = m.editor) == null ? void 0 : c.placeholder,
|
|
1713
|
+
holdPlace: (o = m.editor) == null ? void 0 : o.holdPlace,
|
|
1714
|
+
readonly: (r = m.editor) == null ? void 0 : r.readonly,
|
|
1715
|
+
require: (d = m.editor) == null ? void 0 : d.require
|
|
1716
|
+
}), s.contents.splice(y, 1), s.contents.splice(y, 0, u), l.schema = Object.assign(m, u), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach(
|
|
1718
1717
|
(p) => p.classList.remove("dgComponentSelected")
|
|
1719
1718
|
), ot.value++;
|
|
1720
1719
|
}
|
|
@@ -1756,13 +1755,13 @@ class at extends nt {
|
|
|
1756
1755
|
*/
|
|
1757
1756
|
updateUnifiedLayoutAfterControlChanged(n, i, l) {
|
|
1758
1757
|
const a = n.split(" ");
|
|
1759
|
-
let s = a.find((o) => /^col-([1-9]|10|11|12)$/.test(o)),
|
|
1760
|
-
s = s || "col-12",
|
|
1758
|
+
let s = a.find((o) => /^col-([1-9]|10|11|12)$/.test(o)), y = a.find((o) => /^col-md-([1-9]|10|11|12)$/.test(o)), m = a.find((o) => /^col-xl-([1-9]|10|11|12)$/.test(o)), u = a.find((o) => /^col-el-([1-9]|10|11|12)$/.test(o));
|
|
1759
|
+
s = s || "col-12", y = y || "col-md-" + s.replace("col-", ""), m = m || "col-xl-" + y.replace("col-md-", ""), u = u || "col-el-" + m.replace("col-xl-", "");
|
|
1761
1760
|
const c = {
|
|
1762
1761
|
id: i,
|
|
1763
1762
|
columnInSM: parseInt(s.replace("col-", ""), 10),
|
|
1764
|
-
columnInMD: parseInt(
|
|
1765
|
-
columnInLG: parseInt(
|
|
1763
|
+
columnInMD: parseInt(y.replace("col-md-", ""), 10),
|
|
1764
|
+
columnInLG: parseInt(m.replace("col-xl-", ""), 10),
|
|
1766
1765
|
columnInEL: parseInt(u.replace("col-el-", ""), 10)
|
|
1767
1766
|
};
|
|
1768
1767
|
this.updateUnifiedLayoutAfterResponseLayoutChanged(l, c);
|
|
@@ -1781,7 +1780,7 @@ class at extends nt {
|
|
|
1781
1780
|
const p = a.find((f) => f.id === i.id);
|
|
1782
1781
|
Object.assign(p || {}, i);
|
|
1783
1782
|
}
|
|
1784
|
-
const s = a.map((p) => p.columnInSM),
|
|
1783
|
+
const s = a.map((p) => p.columnInSM), y = a.map((p) => p.columnInMD), m = a.map((p) => p.columnInLG), u = a.map((p) => p.columnInEL), c = this.checkIsUniqueColumn(s) ? s[0] : null, o = this.checkIsUniqueColumn(y) ? y[0] : null, r = this.checkIsUniqueColumn(m) ? m[0] : null, d = this.checkIsUniqueColumn(u) ? u[0] : null;
|
|
1785
1784
|
Object.assign(l.unifiedLayout, {
|
|
1786
1785
|
uniqueColClassInSM: c,
|
|
1787
1786
|
uniqueColClassInMD: o,
|
|
@@ -1871,12 +1870,12 @@ function st(e, t) {
|
|
|
1871
1870
|
getPropsConfig: i
|
|
1872
1871
|
};
|
|
1873
1872
|
}
|
|
1874
|
-
const ut = /* @__PURE__ */
|
|
1873
|
+
const ut = /* @__PURE__ */ O({
|
|
1875
1874
|
name: "FComboListDesign",
|
|
1876
1875
|
props: $,
|
|
1877
1876
|
emits: ["clear", "update:modelValue", "change"],
|
|
1878
1877
|
setup(e, t) {
|
|
1879
|
-
const n = C(), i =
|
|
1878
|
+
const n = C(), i = T("designer-host-service"), l = T("design-item-context"), a = st(l, i), s = q(n, l, a);
|
|
1880
1879
|
return U(() => {
|
|
1881
1880
|
n.value.componentInstance = s;
|
|
1882
1881
|
}), t.expose(s.value), () => I(tt, {
|
|
@@ -1896,12 +1895,12 @@ P.register = (e, t, n, i) => {
|
|
|
1896
1895
|
P.registerDesigner = (e, t, n) => {
|
|
1897
1896
|
e["combo-list"] = ut, t["combo-list"] = z;
|
|
1898
1897
|
};
|
|
1899
|
-
const
|
|
1898
|
+
const ht = le(P);
|
|
1900
1899
|
export {
|
|
1901
1900
|
P as FComboList,
|
|
1902
1901
|
Me as Placement,
|
|
1903
1902
|
Be as ViewType,
|
|
1904
1903
|
$ as comboListProps,
|
|
1905
|
-
|
|
1904
|
+
ht as default,
|
|
1906
1905
|
z as propsResolver
|
|
1907
1906
|
};
|