@farris/ui-vue 1.8.3 → 1.8.4
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/batch-editor/index.esm.js +7332 -7299
- package/components/batch-editor/index.umd.cjs +22 -22
- package/components/button/index.esm.js +7334 -7301
- package/components/button/index.umd.cjs +22 -22
- package/components/component/index.esm.js +880 -874
- package/components/component/index.umd.cjs +2 -2
- package/components/data-grid/index.esm.js +841 -835
- package/components/data-grid/index.umd.cjs +2 -2
- package/components/data-view/index.esm.js +14551 -14472
- package/components/data-view/index.umd.cjs +27 -27
- package/components/designer-canvas/index.esm.js +820 -814
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/mapping-editor/index.esm.js +848 -842
- package/components/mapping-editor/index.umd.cjs +2 -2
- package/components/popover/index.esm.js +264 -243
- package/components/popover/index.umd.cjs +1 -1
- package/components/tree-grid/index.esm.js +315 -309
- package/components/tree-grid/index.umd.cjs +1 -1
- package/designer/data-grid/index.esm.js +8304 -8257
- package/designer/data-grid/index.umd.cjs +26 -26
- package/designer/farris-designer.all.esm.js +3235 -3223
- package/designer/farris-designer.all.umd.cjs +14 -14
- package/designer/radio-group/index.esm.js +80 -62
- package/designer/radio-group/index.umd.cjs +2 -2
- package/designer/tabs/index.esm.js +830 -824
- package/designer/tabs/index.umd.cjs +2 -2
- package/designer/tree-grid/index.esm.js +348 -342
- package/designer/tree-grid/index.umd.cjs +1 -1
- package/farris.all.esm.js +18917 -18820
- package/farris.all.umd.cjs +39 -39
- package/package.json +1 -1
- package/types/data-view/components/column-header/column-header.component.d.ts +2 -2
- package/types/data-view/composition/column/persist-column-widths.d.ts +15 -0
- package/types/data-view/composition/column/use-resize.d.ts +3 -2
- package/types/data-view/index.d.ts +1 -0
- package/types/popover/src/composition/measure-host.d.ts +10 -5
- package/types/popover/src/composition/types.d.ts +2 -2
- package/types/popover/src/composition/use-host.d.ts +1 -2
- package/types/radio-group/src/property-config/radio-group.property-config.d.ts +21 -0
- package/package.zip +0 -0
|
@@ -16,10 +16,10 @@ import Wt from "../../components/tags/index.esm.js";
|
|
|
16
16
|
import { useInputExpand as qt } from "../../components/common/index.esm.js/text-box/use-input-expand";
|
|
17
17
|
import jt from "../../components/popover/index.esm.js";
|
|
18
18
|
import Gt from "../../components/drawer/index.esm.js";
|
|
19
|
-
import
|
|
20
|
-
import { FNotifyService as
|
|
19
|
+
import Kt from "../../components/data-grid/index.esm.js";
|
|
20
|
+
import { FNotifyService as Xt } from "../../components/notify/index.esm.js";
|
|
21
21
|
import "bignumber.js";
|
|
22
|
-
const
|
|
22
|
+
const _t = {
|
|
23
23
|
...kt,
|
|
24
24
|
/**
|
|
25
25
|
* 组件标识
|
|
@@ -70,7 +70,7 @@ const Xt = {
|
|
|
70
70
|
*/
|
|
71
71
|
valueField: { type: String, default: "value" }
|
|
72
72
|
};
|
|
73
|
-
function
|
|
73
|
+
function Dt(n, t, e) {
|
|
74
74
|
const o = T(() => !n.disabled), i = T(() => n.data || n.enumData || n.options || []);
|
|
75
75
|
function l(s) {
|
|
76
76
|
return s[n.valueField];
|
|
@@ -1522,6 +1522,20 @@ class nn extends tn {
|
|
|
1522
1522
|
constructor(t, e) {
|
|
1523
1523
|
super(t, e);
|
|
1524
1524
|
}
|
|
1525
|
+
/**
|
|
1526
|
+
* 交互面板增加 changeValue(设计器字段名为 onChangeValue,对应运行时 emit('changeValue'))
|
|
1527
|
+
*/
|
|
1528
|
+
getEventPropertyConfig(t, e = "card", o, i) {
|
|
1529
|
+
const l = this.formRule ? [] : [{ label: "onChangeValue", name: "值变化事件" }];
|
|
1530
|
+
return super.getEventPropertyConfig(
|
|
1531
|
+
t,
|
|
1532
|
+
e,
|
|
1533
|
+
[...l, ...o || []],
|
|
1534
|
+
(a, r, s) => {
|
|
1535
|
+
t.editor && (t.editor.onChangeValue = t.onChangeValue), i == null || i(a, r, s);
|
|
1536
|
+
}
|
|
1537
|
+
);
|
|
1538
|
+
}
|
|
1525
1539
|
getEditorProperties(t) {
|
|
1526
1540
|
const e = this;
|
|
1527
1541
|
return e.getComponentConfig(t, { type: "radio-group" }, {
|
|
@@ -1616,14 +1630,14 @@ function on(n, t) {
|
|
|
1616
1630
|
}
|
|
1617
1631
|
const pe = /* @__PURE__ */ Q({
|
|
1618
1632
|
name: "FRadioGroupDesign",
|
|
1619
|
-
props:
|
|
1633
|
+
props: _t,
|
|
1620
1634
|
emits: ["changeValue", "update:modelValue"],
|
|
1621
1635
|
setup(n, t) {
|
|
1622
1636
|
const e = v(n.modelValue), {
|
|
1623
1637
|
enumData: o,
|
|
1624
1638
|
getValue: i,
|
|
1625
1639
|
getText: l
|
|
1626
|
-
} =
|
|
1640
|
+
} = Dt(n, t, e), a = T(() => ({
|
|
1627
1641
|
"farris-checkradio-hor": n.direction === "horizontal",
|
|
1628
1642
|
"farris-checkradio-ver": n.direction === "vertical"
|
|
1629
1643
|
})), r = v(), s = fe("designer-host-service"), d = fe("design-item-context"), c = on(d, s), u = Ut(r, d, c);
|
|
@@ -2286,7 +2300,7 @@ function mn(n, t) {
|
|
|
2286
2300
|
}
|
|
2287
2301
|
}, f.value = !1, M.value = !0);
|
|
2288
2302
|
}
|
|
2289
|
-
function
|
|
2303
|
+
function K() {
|
|
2290
2304
|
var x, I;
|
|
2291
2305
|
if (document.body.click(), m.value) {
|
|
2292
2306
|
const O = {
|
|
@@ -2304,7 +2318,7 @@ function mn(n, t) {
|
|
|
2304
2318
|
}, f.value = n.draggable, M.value = !1;
|
|
2305
2319
|
}
|
|
2306
2320
|
}
|
|
2307
|
-
function
|
|
2321
|
+
function D() {
|
|
2308
2322
|
if (e.value) {
|
|
2309
2323
|
const x = ne.getCurrent(e.value);
|
|
2310
2324
|
if (x) {
|
|
@@ -2316,25 +2330,25 @@ function mn(n, t) {
|
|
|
2316
2330
|
}
|
|
2317
2331
|
}
|
|
2318
2332
|
}
|
|
2319
|
-
function
|
|
2333
|
+
function X() {
|
|
2320
2334
|
const x = () => {
|
|
2321
|
-
M.value ? A(!1) :
|
|
2335
|
+
M.value ? A(!1) : D(), document.body.click();
|
|
2322
2336
|
};
|
|
2323
2337
|
return window.addEventListener("resize", x), () => {
|
|
2324
2338
|
window.removeEventListener("resize", x);
|
|
2325
2339
|
};
|
|
2326
2340
|
}
|
|
2327
|
-
const
|
|
2341
|
+
const _ = X();
|
|
2328
2342
|
return {
|
|
2329
2343
|
renderResizeBar: R,
|
|
2330
2344
|
boundingElement: o,
|
|
2331
2345
|
resizedEventParam: y,
|
|
2332
2346
|
maximize: A,
|
|
2333
|
-
restore:
|
|
2347
|
+
restore: K,
|
|
2334
2348
|
allowDrag: f,
|
|
2335
2349
|
isMaximized: M,
|
|
2336
|
-
unWindowResizeHandle:
|
|
2337
|
-
moveToCenter:
|
|
2350
|
+
unWindowResizeHandle: _,
|
|
2351
|
+
moveToCenter: D
|
|
2338
2352
|
};
|
|
2339
2353
|
}
|
|
2340
2354
|
function pn(n, t, e) {
|
|
@@ -2489,10 +2503,10 @@ const se = /* @__PURE__ */ Q({
|
|
|
2489
2503
|
$(g, !0);
|
|
2490
2504
|
}
|
|
2491
2505
|
}], w = v(n.buttons && n.buttons.length ? n.buttons : b), B = T(() => !!d.value), L = T(() => !!M.value && !!w.value), k = v(), R = v(), A = v(n.maximized || !1), {
|
|
2492
|
-
renderResizeBar:
|
|
2493
|
-
maximize:
|
|
2494
|
-
restore:
|
|
2495
|
-
boundingElement:
|
|
2506
|
+
renderResizeBar: K,
|
|
2507
|
+
maximize: D,
|
|
2508
|
+
restore: X,
|
|
2509
|
+
boundingElement: _,
|
|
2496
2510
|
resizedEventParam: x,
|
|
2497
2511
|
allowDrag: I,
|
|
2498
2512
|
unWindowResizeHandle: O,
|
|
@@ -2507,7 +2521,7 @@ const se = /* @__PURE__ */ Q({
|
|
|
2507
2521
|
g !== P && (F.value = g);
|
|
2508
2522
|
}), G(() => n.modelValue, (g, P) => {
|
|
2509
2523
|
g !== P && (i.value = g, i.value && n.draggable && ie(() => {
|
|
2510
|
-
R.value && !E.value && (E.value = R.value.parentElement,
|
|
2524
|
+
R.value && !E.value && (E.value = R.value.parentElement, _.value = E.value, j(k.value, R.value, _.value), z());
|
|
2511
2525
|
}), g || (E.value && (E.value = null), H())), i.value ? N.value = Fe() : (A.value = !1, I.value = n.draggable);
|
|
2512
2526
|
}), G(() => n.showHeader, (g, P) => {
|
|
2513
2527
|
g !== P && (s.value = g);
|
|
@@ -2598,10 +2612,10 @@ const se = /* @__PURE__ */ Q({
|
|
|
2598
2612
|
});
|
|
2599
2613
|
function ge(g) {
|
|
2600
2614
|
if (g == null || g.stopPropagation(), A.value) {
|
|
2601
|
-
A.value = !1,
|
|
2615
|
+
A.value = !1, X();
|
|
2602
2616
|
return;
|
|
2603
2617
|
}
|
|
2604
|
-
|
|
2618
|
+
D(), A.value = !0;
|
|
2605
2619
|
}
|
|
2606
2620
|
async function mt(g, P) {
|
|
2607
2621
|
g.handle ? await g.handle(P, g) && t.emit("closed", P) : t.emit("buttonClick", {
|
|
@@ -2616,7 +2630,7 @@ const se = /* @__PURE__ */ Q({
|
|
|
2616
2630
|
Pt(() => {
|
|
2617
2631
|
N.value = Fe();
|
|
2618
2632
|
}), J(() => {
|
|
2619
|
-
R.value && !E.value && (E.value = R.value.parentElement,
|
|
2633
|
+
R.value && !E.value && (E.value = R.value.parentElement, _.value = E.value, j(k.value, R.value, _.value)), ue.value && document.body.classList.add("modal-open"), ve = hn(n, t), ye = gn(n, t);
|
|
2620
2634
|
}), he(() => {
|
|
2621
2635
|
O && O(), ve && ve.remove(), ye && ye.remove();
|
|
2622
2636
|
}), t.expose({
|
|
@@ -2740,7 +2754,7 @@ const se = /* @__PURE__ */ Q({
|
|
|
2740
2754
|
width: "100%",
|
|
2741
2755
|
frameborder: "0",
|
|
2742
2756
|
src: m.value
|
|
2743
|
-
}, null)]), Ct()]), !r.value && R.value && !A.value &&
|
|
2757
|
+
}, null)]), Ct()]), !r.value && R.value && !A.value && K(R.value)]);
|
|
2744
2758
|
}
|
|
2745
2759
|
function Et(g) {
|
|
2746
2760
|
return g || "body";
|
|
@@ -2949,7 +2963,7 @@ se.install = (n) => {
|
|
|
2949
2963
|
const t = new yn(n);
|
|
2950
2964
|
n.provide(Ge, t), n.provide("FModalService", t);
|
|
2951
2965
|
};
|
|
2952
|
-
function
|
|
2966
|
+
function Ke(n, t) {
|
|
2953
2967
|
function e() {
|
|
2954
2968
|
const o = n.beforeOpen || n.beforeClickButton || null;
|
|
2955
2969
|
let i = Promise.resolve(!0);
|
|
@@ -2967,7 +2981,7 @@ function bn(n, t, e, o, i) {
|
|
|
2967
2981
|
const l = v(n.buttonBehavior), a = v(n.popupOnInput), r = T(() => ({
|
|
2968
2982
|
"input-group-append": !0,
|
|
2969
2983
|
"append-force-show": n.showButtonWhenDisabled && (n.readonly || n.disable)
|
|
2970
|
-
})), { judgeCanOpen: s } =
|
|
2984
|
+
})), { judgeCanOpen: s } = Ke(n, i), d = T(() => n.showButtonWhenDisabled || (!n.editable || !n.readonly) && !n.disable), c = fe(Ge, null), u = v();
|
|
2971
2985
|
async function y(f) {
|
|
2972
2986
|
if (await s() && d.value) {
|
|
2973
2987
|
const M = !!t.slots.default;
|
|
@@ -3109,7 +3123,7 @@ function wn(n, t, e, o, i) {
|
|
|
3109
3123
|
}
|
|
3110
3124
|
const te = "FarrisVue_PopoverInstancesKey";
|
|
3111
3125
|
function xn(n, t, e, o) {
|
|
3112
|
-
const i = v(), l = v(!1), { judgeCanOpen: a } =
|
|
3126
|
+
const i = v(), l = v(!1), { judgeCanOpen: a } = Ke(n, o);
|
|
3113
3127
|
G(() => i.value, (h, m) => {
|
|
3114
3128
|
window[te] = window[te] || /* @__PURE__ */ new WeakMap(), h ? window[te].set(e.value, h) : window[te].delete(e.value);
|
|
3115
3129
|
});
|
|
@@ -3398,8 +3412,8 @@ const kn = /* @__PURE__ */ Q({
|
|
|
3398
3412
|
});
|
|
3399
3413
|
const {
|
|
3400
3414
|
renderButtonGroup: A,
|
|
3401
|
-
buttonHandleElement:
|
|
3402
|
-
} = In(n, t, c, F),
|
|
3415
|
+
buttonHandleElement: K
|
|
3416
|
+
} = In(n, t, c, F), D = Fn(n, t, l), X = v(a.value), _ = {
|
|
3403
3417
|
displayText: u,
|
|
3404
3418
|
commitValue: m,
|
|
3405
3419
|
elementRef: e,
|
|
@@ -3409,7 +3423,7 @@ const kn = /* @__PURE__ */ Q({
|
|
|
3409
3423
|
shouldPopupContent: a,
|
|
3410
3424
|
togglePopup: d,
|
|
3411
3425
|
openDialog: () => {
|
|
3412
|
-
|
|
3426
|
+
K.value && n.buttonBehavior === "Modal" && K.value.click(), t.slots.content && We(() => {
|
|
3413
3427
|
c.onClickButton(null);
|
|
3414
3428
|
}, n.buttonBehavior === "Modal" ? 0 : 200)();
|
|
3415
3429
|
},
|
|
@@ -3422,7 +3436,7 @@ const kn = /* @__PURE__ */ Q({
|
|
|
3422
3436
|
return (x = e.value) == null ? void 0 : x.querySelector("input");
|
|
3423
3437
|
},
|
|
3424
3438
|
forceClosePopup: () => {
|
|
3425
|
-
|
|
3439
|
+
X.value = !1, N.value = !0, a.value = !1;
|
|
3426
3440
|
},
|
|
3427
3441
|
clear: () => {
|
|
3428
3442
|
M(""), u.value = "";
|
|
@@ -3432,27 +3446,27 @@ const kn = /* @__PURE__ */ Q({
|
|
|
3432
3446
|
}
|
|
3433
3447
|
};
|
|
3434
3448
|
return J(() => {
|
|
3435
|
-
e.value.componentInstance =
|
|
3449
|
+
e.value.componentInstance = _, window.onresize = () => {
|
|
3436
3450
|
document.body.click();
|
|
3437
3451
|
};
|
|
3438
3452
|
}), zt(() => {
|
|
3439
3453
|
var x;
|
|
3440
3454
|
window.onresize = null, (x = window[te]) == null || x.delete(e.value);
|
|
3441
|
-
}), t.expose(
|
|
3455
|
+
}), t.expose(_), G(() => a.value, async (x, I) => {
|
|
3442
3456
|
if (N.value) {
|
|
3443
|
-
|
|
3457
|
+
X.value = x, N.value = !1;
|
|
3444
3458
|
return;
|
|
3445
3459
|
}
|
|
3446
3460
|
if (!x && n.beforeClosePopup && typeof n.beforeClosePopup == "function") {
|
|
3447
3461
|
try {
|
|
3448
3462
|
const O = await n.beforeClosePopup();
|
|
3449
|
-
|
|
3463
|
+
X.value = !O, (!O || n.readonly) && (a.value = !0);
|
|
3450
3464
|
} catch (O) {
|
|
3451
|
-
console.error("Error in beforeClosePopup:", O),
|
|
3465
|
+
console.error("Error in beforeClosePopup:", O), X.value = I, a.value = I;
|
|
3452
3466
|
}
|
|
3453
3467
|
return;
|
|
3454
3468
|
}
|
|
3455
|
-
|
|
3469
|
+
X.value = x;
|
|
3456
3470
|
}), () => {
|
|
3457
3471
|
var x, I;
|
|
3458
3472
|
return p(Z, null, [p("div", Me(t.attrs, {
|
|
@@ -3466,17 +3480,17 @@ const kn = /* @__PURE__ */ Q({
|
|
|
3466
3480
|
style: b.value,
|
|
3467
3481
|
onMouseenter: E,
|
|
3468
3482
|
onMouseleave: V
|
|
3469
|
-
}, [(I = (x = t.slots).precontent) == null ? void 0 : I.call(x), t.slots.content ? t.slots.content() : R(), t.slots.content ? null : w.value && A()])]),
|
|
3483
|
+
}, [(I = (x = t.slots).precontent) == null ? void 0 : I.call(x), t.slots.content ? t.slots.content() : R(), t.slots.content ? null : w.value && A()])]), X.value && D()]);
|
|
3470
3484
|
};
|
|
3471
3485
|
}
|
|
3472
3486
|
});
|
|
3473
|
-
function
|
|
3487
|
+
function Xe(n, t, e) {
|
|
3474
3488
|
return t;
|
|
3475
3489
|
}
|
|
3476
|
-
function
|
|
3490
|
+
function _e(n, t, e) {
|
|
3477
3491
|
return t;
|
|
3478
3492
|
}
|
|
3479
|
-
const
|
|
3493
|
+
const De = /* @__PURE__ */ new Map([
|
|
3480
3494
|
["appearance", Tt]
|
|
3481
3495
|
]), Ye = /* @__PURE__ */ new Map([]), Bn = "https://json-schema.org/draft/2020-12/schema", Tn = "https://farris-design.gitee.io/radio-group.schema.json", Sn = "item-collection-editor", Pn = "A Farris Input Component", Vn = "object", Rn = {
|
|
3482
3496
|
id: {
|
|
@@ -3631,12 +3645,12 @@ const _e = /* @__PURE__ */ new Map([
|
|
|
3631
3645
|
*/
|
|
3632
3646
|
modalHeight: { type: Number, default: 600 }
|
|
3633
3647
|
};
|
|
3634
|
-
Ne(Ie, Je, Ye,
|
|
3648
|
+
Ne(Ie, Je, Ye, _e);
|
|
3635
3649
|
const Nn = Ae(
|
|
3636
3650
|
Ie,
|
|
3637
3651
|
Je,
|
|
3638
3652
|
Ye,
|
|
3639
|
-
|
|
3653
|
+
_e
|
|
3640
3654
|
), An = {
|
|
3641
3655
|
/**
|
|
3642
3656
|
* 必填的列
|
|
@@ -3680,7 +3694,7 @@ const Nn = Ae(
|
|
|
3680
3694
|
let e = "";
|
|
3681
3695
|
const {
|
|
3682
3696
|
guid: o
|
|
3683
|
-
} = xe(), i = new
|
|
3697
|
+
} = xe(), i = new Xt(), l = v(n.valueField), a = v(n.nameField), r = {
|
|
3684
3698
|
editMode: "cell"
|
|
3685
3699
|
}, s = {
|
|
3686
3700
|
fitColumns: !0
|
|
@@ -3717,27 +3731,27 @@ const Nn = Ae(
|
|
|
3717
3731
|
const B = n.requiredFields || [], L = "不允许为空。";
|
|
3718
3732
|
for (const R of b)
|
|
3719
3733
|
for (const A of Object.keys(R)) {
|
|
3720
|
-
const
|
|
3721
|
-
if (
|
|
3734
|
+
const K = c.find((D) => D.field === A);
|
|
3735
|
+
if (K && K.editor && (K.editor.type === "checkbox" || K.editor.type === "switch")) {
|
|
3722
3736
|
if (B.includes(A) && (R[A] === null || R[A] === void 0))
|
|
3723
3737
|
return i.warning({
|
|
3724
3738
|
position: "top-center",
|
|
3725
|
-
message:
|
|
3739
|
+
message: K.title + L
|
|
3726
3740
|
}), !1;
|
|
3727
3741
|
} else if (B.includes(A) && (R[A] === void 0 || R[A] === "" || R[A] === null))
|
|
3728
3742
|
return i.warning({
|
|
3729
3743
|
position: "top-center",
|
|
3730
|
-
message:
|
|
3744
|
+
message: K.title + L
|
|
3731
3745
|
}), !1;
|
|
3732
3746
|
}
|
|
3733
3747
|
const k = n.uniqueFields || [];
|
|
3734
3748
|
for (const R of k) {
|
|
3735
|
-
const A = b.map((
|
|
3736
|
-
if (A.length !==
|
|
3737
|
-
const
|
|
3749
|
+
const A = b.map((X) => X[R]), K = new Set(A), D = Array.from(K);
|
|
3750
|
+
if (A.length !== D.length) {
|
|
3751
|
+
const X = c.find((_) => _.field === R);
|
|
3738
3752
|
return i.warning({
|
|
3739
3753
|
position: "top-center",
|
|
3740
|
-
message:
|
|
3754
|
+
message: X.title + w
|
|
3741
3755
|
}), !1;
|
|
3742
3756
|
}
|
|
3743
3757
|
}
|
|
@@ -3828,7 +3842,7 @@ const Nn = Ae(
|
|
|
3828
3842
|
}, [Y("删除")])]), p("div", {
|
|
3829
3843
|
class: "f-utils-fill border",
|
|
3830
3844
|
style: "margin:0 8px;border-radius:12px;"
|
|
3831
|
-
}, [p(
|
|
3845
|
+
}, [p(Kt, {
|
|
3832
3846
|
ref: d,
|
|
3833
3847
|
showBorder: !0,
|
|
3834
3848
|
idField: "hId",
|
|
@@ -4178,7 +4192,7 @@ ce.install = (n) => {
|
|
|
4178
4192
|
const t = new Gn();
|
|
4179
4193
|
n.provide(Qe, t), n.provide("FNotifyService", t);
|
|
4180
4194
|
};
|
|
4181
|
-
const
|
|
4195
|
+
const Kn = /* @__PURE__ */ Q({
|
|
4182
4196
|
name: "FItemCollectionEditor",
|
|
4183
4197
|
props: Ie,
|
|
4184
4198
|
components: {},
|
|
@@ -4314,7 +4328,7 @@ const Dn = /* @__PURE__ */ Q({
|
|
|
4314
4328
|
}, null)])]
|
|
4315
4329
|
});
|
|
4316
4330
|
}
|
|
4317
|
-
}),
|
|
4331
|
+
}), Xn = "https://json-schema.org/draft/2020-12/schema", _n = "https://farris-design.gitee.io/radio-group.schema.json", Dn = "radio-group", Yn = "A Farris Input Component", Jn = "object", Zn = {
|
|
4318
4332
|
id: {
|
|
4319
4333
|
description: "The unique identifier for a radio-group",
|
|
4320
4334
|
type: "string"
|
|
@@ -4396,7 +4410,11 @@ const Dn = /* @__PURE__ */ Q({
|
|
|
4396
4410
|
default: "horizontal"
|
|
4397
4411
|
},
|
|
4398
4412
|
onChange: {
|
|
4399
|
-
description: "
|
|
4413
|
+
description: "值变化事件(兼容旧配置,对应 emit change)",
|
|
4414
|
+
type: "string"
|
|
4415
|
+
},
|
|
4416
|
+
onChangeValue: {
|
|
4417
|
+
description: "值变化事件(对应 emit changeValue)",
|
|
4400
4418
|
type: "string"
|
|
4401
4419
|
}
|
|
4402
4420
|
}, Qn = [
|
|
@@ -4407,22 +4425,22 @@ const Dn = /* @__PURE__ */ Q({
|
|
|
4407
4425
|
"binding",
|
|
4408
4426
|
"visible"
|
|
4409
4427
|
], et = {
|
|
4410
|
-
$schema:
|
|
4411
|
-
$id:
|
|
4412
|
-
title:
|
|
4428
|
+
$schema: Xn,
|
|
4429
|
+
$id: _n,
|
|
4430
|
+
title: Dn,
|
|
4413
4431
|
description: Yn,
|
|
4414
4432
|
type: Jn,
|
|
4415
4433
|
properties: Zn,
|
|
4416
4434
|
required: Qn,
|
|
4417
4435
|
ignore: ei
|
|
4418
|
-
}, Ci = Ne(ze, et,
|
|
4436
|
+
}, Ci = Ne(ze, et, De, Xe), tt = Ae(
|
|
4419
4437
|
ze,
|
|
4420
4438
|
et,
|
|
4421
|
-
|
|
4422
|
-
|
|
4439
|
+
De,
|
|
4440
|
+
Xe
|
|
4423
4441
|
);
|
|
4424
4442
|
pe.register = (n, t, e, o, i) => {
|
|
4425
|
-
n["radio-group"] = St, t["radio-group"] = tt(i), n["item-collection-editor"] =
|
|
4443
|
+
n["radio-group"] = St, t["radio-group"] = tt(i), n["item-collection-editor"] = Kn, t["item-collection-editor"] = Nn(i);
|
|
4426
4444
|
};
|
|
4427
4445
|
pe.registerDesigner = (n, t, e, o) => {
|
|
4428
4446
|
n["radio-group"] = pe, t["radio-group"] = tt(o);
|