@farris/ui-vue 1.4.0 → 1.4.1
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/avatar/index.esm.js +2 -1
- package/components/avatar/index.umd.cjs +1 -1
- package/components/checkbox/index.esm.js +2 -1
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/combo-list/index.esm.js +2 -1
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/condition/index.css +1 -1
- package/components/condition/index.esm.js +715 -704
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.css +1 -1
- package/components/content-container/index.esm.js +1180 -1169
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-grid/index.css +1 -1
- package/components/data-grid/index.esm.js +2949 -2901
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.css +1 -1
- package/components/data-view/index.esm.js +609 -598
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.esm.js +3 -2
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/designer-canvas/index.css +1 -1
- package/components/designer-canvas/index.esm.js +2081 -2062
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/designer-outline/index.css +1 -1
- package/components/drawer/index.esm.js +23 -21
- package/components/drawer/index.umd.cjs +1 -1
- package/components/dynamic-form/index.css +1 -1
- package/components/dynamic-form/index.esm.js +2745 -2691
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/external-container/index.css +1 -1
- package/components/external-container/index.esm.js +1322 -1311
- package/components/external-container/index.umd.cjs +1 -1
- package/components/field-selector/index.css +1 -1
- package/components/field-selector/index.esm.js +85 -74
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/filter-bar/index.esm.js +4618 -4320
- package/components/filter-bar/index.umd.cjs +3 -3
- package/components/flow-canvas/index.css +1 -1
- package/components/flow-canvas/index.esm.js +1982 -1963
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/input-group/index.esm.js +2 -1
- package/components/input-group/index.umd.cjs +1 -1
- package/components/list-view/index.css +1 -1
- package/components/list-view/index.esm.js +822 -811
- package/components/list-view/index.umd.cjs +1 -1
- package/components/lookup/index.css +1 -1
- package/components/lookup/index.esm.js +3268 -3219
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.css +1 -1
- package/components/mapping-editor/index.esm.js +1985 -1937
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +136 -135
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +2 -1
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/order/index.esm.js +2 -1
- package/components/order/index.umd.cjs +1 -1
- package/components/property-editor/index.esm.js +2 -1
- package/components/property-editor/index.umd.cjs +1 -1
- package/components/property-panel/index.esm.js +295 -283
- package/components/property-panel/index.umd.cjs +2 -2
- package/components/query-solution/index.css +1 -1
- package/components/query-solution/index.esm.js +5430 -5374
- package/components/query-solution/index.umd.cjs +7 -7
- package/components/radio-group/index.esm.js +2 -1
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/schema-selector/index.css +1 -1
- package/components/schema-selector/index.esm.js +1259 -1248
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/section/index.css +1 -1
- package/components/section/index.esm.js +1272 -1261
- package/components/section/index.umd.cjs +1 -1
- package/components/switch/index.esm.js +2 -1
- package/components/switch/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +14 -13
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.esm.js +2 -1
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/tree-grid/index.css +1 -1
- package/components/tree-grid/index.esm.js +715 -704
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.css +1 -1
- package/components/tree-view/index.esm.js +107 -96
- package/components/tree-view/index.umd.cjs +1 -1
- package/farris.all.esm.js +14687 -14334
- package/farris.all.umd.cjs +11 -11
- 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/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +6 -0
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +8 -0
- package/types/dynamic-form/src/composition/form-binding-resolver-design.d.ts +6 -0
- package/types/filter-bar/src/components/drawer.component.d.ts +4 -0
- package/types/filter-bar/src/components/filter-item/filter-item.component.d.ts +10 -0
- package/types/filter-bar/src/components/filter-item/filter-item.props.d.ts +3 -0
- package/types/filter-bar/src/components/filter-item-condition/filter-item-condition.component.d.ts +11 -0
- package/types/filter-bar/src/components/filter-item-condition/filter-item-condition.props.d.ts +3 -0
- package/types/filter-bar/src/composition/types.d.ts +2 -0
- package/types/filter-bar/src/composition/use-condition.d.ts +19 -0
- package/types/filter-bar/src/filter-bar.component.d.ts +2 -1
- package/types/filter-bar/src/types.d.ts +4 -6
- package/types/filter-bar/src/components/filter-item.component.d.ts +0 -5
- /package/types/filter-bar/src/components/{toolbar-component.d.ts → toolbar.component.d.ts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var ro = Object.defineProperty;
|
|
2
2
|
var io = (e, t, n) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Q = (e, t, n) => io(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { ref as k, watch as
|
|
5
|
-
import { isPlainObject as mn, cloneDeep as
|
|
4
|
+
import { ref as k, watch as ge, createVNode as B, resolveComponent as ao, createTextVNode as pt, computed as P, defineComponent as je, Fragment as _t, reactive as it, createApp as bn, onUnmounted as Mt, onMounted as vt, Transition as Cn, mergeProps as mt, onBeforeUnmount as wn, withDirectives as lo, resolveDirective as so, nextTick as Vt, inject as yt, provide as uo, isVNode as co, Teleport as fo, shallowRef as po, render as Rt, h as mo, cloneVNode as vo } from "vue";
|
|
5
|
+
import { isPlainObject as mn, cloneDeep as ct, throttle as ho, isUndefined as go } from "lodash-es";
|
|
6
6
|
import "../modal/index.esm.js";
|
|
7
7
|
import yo from "../transfer/index.esm.js";
|
|
8
8
|
import bo from "../tabs/index.esm.js";
|
|
@@ -74,7 +74,7 @@ import ii from "../event-parameter/index.esm.js";
|
|
|
74
74
|
import { createPropsResolver as ai } from "../dynamic-resolver/index.esm.js";
|
|
75
75
|
const Sn = {}, xn = {};
|
|
76
76
|
function Ut(e) {
|
|
77
|
-
const { properties: t, title: n, ignore: o } = e, r = o && Array.isArray(o), i = Object.keys(t).reduce((a, u) => ((!r || !o.find((s) => s === u)) && (a[u] = t[u].type === "object" && t[u].properties ? Ut(t[u]) :
|
|
77
|
+
const { properties: t, title: n, ignore: o } = e, r = o && Array.isArray(o), i = Object.keys(t).reduce((a, u) => ((!r || !o.find((s) => s === u)) && (a[u] = t[u].type === "object" && t[u].properties ? Ut(t[u]) : ct(t[u].default)), a), {});
|
|
78
78
|
if (n && (!r || !o.find((a) => a === "id"))) {
|
|
79
79
|
const a = n.toLowerCase().replace(/-/g, "_");
|
|
80
80
|
i.id = `${a}_${Math.random().toString().slice(2, 6)}`;
|
|
@@ -84,7 +84,7 @@ function Ut(e) {
|
|
|
84
84
|
function li(e) {
|
|
85
85
|
const { properties: t, title: n, required: o } = e;
|
|
86
86
|
if (o && Array.isArray(o)) {
|
|
87
|
-
const r = o.reduce((i, a) => (i[a] = t[a].type === "object" && t[a].properties ? Ut(t[a]) :
|
|
87
|
+
const r = o.reduce((i, a) => (i[a] = t[a].type === "object" && t[a].properties ? Ut(t[a]) : ct(t[a].default), i), {});
|
|
88
88
|
if (n && o.find((i) => i === "id")) {
|
|
89
89
|
const i = n.toLowerCase().replace(/-/g, "_");
|
|
90
90
|
r.id = `${i}_${Math.random().toString().slice(2, 6)}`;
|
|
@@ -517,7 +517,7 @@ function Xt(e, t) {
|
|
|
517
517
|
height: `${N}`
|
|
518
518
|
};
|
|
519
519
|
}
|
|
520
|
-
return
|
|
520
|
+
return ge(t, () => {
|
|
521
521
|
r.value = t.value.primaryColumnsWidth;
|
|
522
522
|
}), {
|
|
523
523
|
calculateCellPositionInRow: i,
|
|
@@ -811,7 +811,7 @@ function Ri() {
|
|
|
811
811
|
}
|
|
812
812
|
function Kt(e) {
|
|
813
813
|
const t = k(e.minHeight), n = k(e.minWidth), o = k(e.height), r = k(e.width), i = P(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), a = P(() => r.value <= 0 ? 0 : Math.max(r.value, n.value));
|
|
814
|
-
return
|
|
814
|
+
return ge([
|
|
815
815
|
() => e.height,
|
|
816
816
|
() => e.width,
|
|
817
817
|
() => e.minHeight,
|
|
@@ -1340,7 +1340,7 @@ const Li = {
|
|
|
1340
1340
|
function N(g) {
|
|
1341
1341
|
return `f-preten-link ${g.customClass ? g.customClass : ""}`;
|
|
1342
1342
|
}
|
|
1343
|
-
|
|
1343
|
+
ge(n, () => {
|
|
1344
1344
|
n.value;
|
|
1345
1345
|
});
|
|
1346
1346
|
const M = () => {
|
|
@@ -1582,7 +1582,7 @@ function Jt(e, t, n, o, r) {
|
|
|
1582
1582
|
m.value = M.value, J.value && ($.value = m.value.length), N.value && (m.value = x(I.value, M.value, t)), V = D.value.reduce((Ce, we) => (Ce.set(we, 0), Ce), V);
|
|
1583
1583
|
const R = 0, G = z(), X = (Y.value - 1) * G, he = X > m.value.length - 1 ? R : X, ke = Math.min(he + G, m.value.length);
|
|
1584
1584
|
let _e = 0;
|
|
1585
|
-
const
|
|
1585
|
+
const ye = [];
|
|
1586
1586
|
if (m.value.length) {
|
|
1587
1587
|
w(m.value);
|
|
1588
1588
|
const Ce = b.value !== e.idField;
|
|
@@ -1591,31 +1591,31 @@ function Jt(e, t, n, o, r) {
|
|
|
1591
1591
|
Se.__fv_data_grid_group_row__ ? (_e = 0, Se.__fv_data_index__ = "") : Se.__fv_data_grid_group_summary__ ? Se.__fv_data_index__ = "" : (_e++, Se.__fv_data_index__ = _e + (Y.value - 1) * G), Se.__fv_index__ = we, Se.__fv_visible_index__ = we, e.rowOption && e.rowOption.disabledField && (Se.__fv_disabled__ = Se[(Te = e.rowOption) == null ? void 0 : Te.disabledField]), Ce && (Se[b.value] = we), D.value.forEach((We) => {
|
|
1592
1592
|
const ht = V.get(We) || 0;
|
|
1593
1593
|
V.set(We, ht + Se[We]);
|
|
1594
|
-
}),
|
|
1594
|
+
}), ye.push(Se);
|
|
1595
1595
|
}
|
|
1596
1596
|
}
|
|
1597
|
-
return F.value && C(
|
|
1597
|
+
return F.value && C(ye), h.value = [...ye], ye;
|
|
1598
1598
|
}
|
|
1599
1599
|
const j = k(le()), Z = P(() => j.value.filter((R) => R.__fv_visible__ !== !1));
|
|
1600
1600
|
function ue() {
|
|
1601
1601
|
Z.value.forEach((R, G) => (R.__fv_visible_index__ = G, R));
|
|
1602
1602
|
}
|
|
1603
1603
|
function ee(R, G, X = !1) {
|
|
1604
|
-
const he = (X ? le() : [...h.value]).filter((
|
|
1604
|
+
const he = (X ? le() : [...h.value]).filter((ye) => n.apply(ye)), ke = R && R.length ? he.filter((ye) => R.reduce((Te, Ce) => Te && Ce.filter(ye), !0)) : he, _e = G && G.length ? ke.sort((ye, Te) => {
|
|
1605
1605
|
const Ce = [...G], we = Ce.shift();
|
|
1606
|
-
let Se = we.compare(
|
|
1606
|
+
let Se = we.compare(ye[we.field], Te[we.field]);
|
|
1607
1607
|
for (; Se === 0 && Ce.length !== 0; ) {
|
|
1608
1608
|
const We = Ce.shift();
|
|
1609
|
-
We && (Se = We.compare(
|
|
1609
|
+
We && (Se = We.compare(ye[We.field], Te[We.field]));
|
|
1610
1610
|
}
|
|
1611
1611
|
return Se;
|
|
1612
1612
|
}) : ke;
|
|
1613
|
-
return j.value = _e.map((
|
|
1614
|
-
if (
|
|
1615
|
-
const Ce = `group_of_${
|
|
1616
|
-
|
|
1613
|
+
return j.value = _e.map((ye, Te) => {
|
|
1614
|
+
if (ye.__fv_data_grid_group_row__) {
|
|
1615
|
+
const Ce = `group_of_${ye.__fv_data_grid_group_field__}_${ye.__fv_data_grid_group_value__}`;
|
|
1616
|
+
ye.__fv_data_grid_group_collapse__ = !!i.get(Ce);
|
|
1617
1617
|
}
|
|
1618
|
-
return
|
|
1618
|
+
return ye.__fv_index__ = Te, ye.__fv_visible_index__ = Te, ye;
|
|
1619
1619
|
}), j.value;
|
|
1620
1620
|
}
|
|
1621
1621
|
function W(R) {
|
|
@@ -1678,14 +1678,14 @@ function Jt(e, t, n, o, r) {
|
|
|
1678
1678
|
M.value = X, ce();
|
|
1679
1679
|
}
|
|
1680
1680
|
function de(R, G, X) {
|
|
1681
|
-
return (R && R.length ? j.value.filter((he, ke) => R.reduce((_e,
|
|
1681
|
+
return (R && R.length ? j.value.filter((he, ke) => R.reduce((_e, ye) => _e && ye.filter(he), !0)) : j.value).slice(G, X);
|
|
1682
1682
|
}
|
|
1683
1683
|
function Be(R) {
|
|
1684
1684
|
const G = z(), X = R * G;
|
|
1685
1685
|
0 < X && X <= $.value && (Y.value = R, ce());
|
|
1686
1686
|
}
|
|
1687
1687
|
function He(R) {
|
|
1688
|
-
M.value.push(
|
|
1688
|
+
M.value.push(ct(R)), j.value = le();
|
|
1689
1689
|
}
|
|
1690
1690
|
function Ke(R = 0) {
|
|
1691
1691
|
if (!(R > -1))
|
|
@@ -1825,11 +1825,11 @@ class Vn {
|
|
|
1825
1825
|
return t[n[0]];
|
|
1826
1826
|
}
|
|
1827
1827
|
getTextValue(t) {
|
|
1828
|
-
const n = t.split("."), o = this.value.split(",").map((r) => this.getPropValue(r,
|
|
1828
|
+
const n = t.split("."), o = this.value.split(",").map((r) => this.getPropValue(r, ct(n)));
|
|
1829
1829
|
return o && o.length ? o.join(",") : "";
|
|
1830
1830
|
}
|
|
1831
1831
|
getValue() {
|
|
1832
|
-
const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o,
|
|
1832
|
+
const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, ct(t)));
|
|
1833
1833
|
return n && n.length ? n.join(",") : "";
|
|
1834
1834
|
}
|
|
1835
1835
|
getDisplayText() {
|
|
@@ -1922,13 +1922,13 @@ class Nn {
|
|
|
1922
1922
|
this.value = t.value;
|
|
1923
1923
|
}
|
|
1924
1924
|
clear() {
|
|
1925
|
-
this.value =
|
|
1925
|
+
this.value = "";
|
|
1926
1926
|
}
|
|
1927
1927
|
getValue() {
|
|
1928
1928
|
return this.value;
|
|
1929
1929
|
}
|
|
1930
1930
|
getDisplayText() {
|
|
1931
|
-
return this.value
|
|
1931
|
+
return this.value;
|
|
1932
1932
|
}
|
|
1933
1933
|
// setValue(data: { value: string; displayText: string }) {
|
|
1934
1934
|
// // this.displayText = data.dispalyText;
|
|
@@ -1944,7 +1944,7 @@ class Nn {
|
|
|
1944
1944
|
}
|
|
1945
1945
|
}
|
|
1946
1946
|
class Gi {
|
|
1947
|
-
constructor(t = { value:
|
|
1947
|
+
constructor(t = { value: "", displayText: "", displayField: "", isInputText: !1 }) {
|
|
1948
1948
|
Q(this, "editorType", "input-group");
|
|
1949
1949
|
// 通过弹窗返回的若干个值对象构成的数组
|
|
1950
1950
|
Q(this, "value");
|
|
@@ -1958,7 +1958,7 @@ class Gi {
|
|
|
1958
1958
|
this.value = t.value, this.displayText = t.displayText, this.valueField = t.displayField, this.isInputText = t.isInputText;
|
|
1959
1959
|
}
|
|
1960
1960
|
clear() {
|
|
1961
|
-
this.value =
|
|
1961
|
+
this.value = "", this.displayText = "", this.valueField = "";
|
|
1962
1962
|
}
|
|
1963
1963
|
getPropValue(t, n) {
|
|
1964
1964
|
if (n.length > 1) {
|
|
@@ -1968,12 +1968,11 @@ class Gi {
|
|
|
1968
1968
|
return t[n[0]];
|
|
1969
1969
|
}
|
|
1970
1970
|
getTextValue(t) {
|
|
1971
|
-
const n = t.split("."), o = this.value.map((r) => this.getPropValue(r,
|
|
1971
|
+
const n = t.split("."), o = this.value.map((r) => this.getPropValue(r, ct(n)));
|
|
1972
1972
|
return o && o.length ? o.join(",") : "";
|
|
1973
1973
|
}
|
|
1974
1974
|
getValue() {
|
|
1975
|
-
|
|
1976
|
-
return n && n.length ? n.join(",") : "";
|
|
1975
|
+
return this.value;
|
|
1977
1976
|
}
|
|
1978
1977
|
getDisplayText() {
|
|
1979
1978
|
return this.getValue();
|
|
@@ -2249,7 +2248,7 @@ function qi(e, t, n) {
|
|
|
2249
2248
|
return d > 250 * 6 ? v = "col-2" : d > 250 * 4 ? v = "col-3" : d > 250 * 3 ? v = "col-4" : d > 250 * 2 && (v = "col-6"), v;
|
|
2250
2249
|
}
|
|
2251
2250
|
const f = P(() => s(i.value));
|
|
2252
|
-
return
|
|
2251
|
+
return ge([n], ([d]) => {
|
|
2253
2252
|
r.value = d, u();
|
|
2254
2253
|
}), {
|
|
2255
2254
|
conditionClass: f,
|
|
@@ -2274,7 +2273,7 @@ const vn = /* @__PURE__ */ je({
|
|
|
2274
2273
|
s(!0), a(r.value), wn(() => {
|
|
2275
2274
|
var M;
|
|
2276
2275
|
(M = c.value) == null || M.unobserve(n.value);
|
|
2277
|
-
}),
|
|
2276
|
+
}), ge(() => e.conditions, () => {
|
|
2278
2277
|
r.value = e.conditions, a(r.value);
|
|
2279
2278
|
});
|
|
2280
2279
|
const v = P(() => ({
|
|
@@ -2380,7 +2379,7 @@ class Xi {
|
|
|
2380
2379
|
}), n.contents = [o];
|
|
2381
2380
|
const { selectedFields: i } = t;
|
|
2382
2381
|
i == null || i.forEach((u) => {
|
|
2383
|
-
const s =
|
|
2382
|
+
const s = ct(u), f = this.resolveControlClassByFormColumns(t), d = this.controlCreatorUtils.setFormFieldProperty(s, "", f);
|
|
2384
2383
|
d && r.push(d);
|
|
2385
2384
|
});
|
|
2386
2385
|
const { templateId: a } = this.formSchemaUtils.getFormSchema().module;
|
|
@@ -2581,7 +2580,8 @@ const la = "https://json-schema.org/draft/2020-12/schema", sa = "https://farris-
|
|
|
2581
2580
|
visible: { type: Boolean, default: !0 },
|
|
2582
2581
|
required: { type: Boolean, default: !1 },
|
|
2583
2582
|
showLabel: { type: Boolean, default: !0 },
|
|
2584
|
-
type: { type: String, default: "input-group" }
|
|
2583
|
+
type: { type: String, default: "input-group" },
|
|
2584
|
+
componentId: { type: String, default: "" }
|
|
2585
2585
|
};
|
|
2586
2586
|
dt(
|
|
2587
2587
|
Gn,
|
|
@@ -2781,7 +2781,7 @@ class ma {
|
|
|
2781
2781
|
const o = n && n.parent && n.parent.schema;
|
|
2782
2782
|
if (!o)
|
|
2783
2783
|
return;
|
|
2784
|
-
const r = o.contents.findIndex((a) => a.id === t), i =
|
|
2784
|
+
const r = o.contents.findIndex((a) => a.id === t), i = ct(o.contents[r]);
|
|
2785
2785
|
o.contents.splice(r, 1), o.contents.splice(r, 0, i);
|
|
2786
2786
|
}
|
|
2787
2787
|
}
|
|
@@ -2841,7 +2841,7 @@ function ya(e) {
|
|
|
2841
2841
|
let t;
|
|
2842
2842
|
e.className.includes("dgComponentSelected") ? t = e : t = e.querySelector(".dgComponentSelected"), t && Un(t);
|
|
2843
2843
|
}
|
|
2844
|
-
var
|
|
2844
|
+
var st = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2845
2845
|
function xt(e) {
|
|
2846
2846
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
2847
2847
|
}
|
|
@@ -3044,26 +3044,26 @@ var ba = { exports: {} };
|
|
|
3044
3044
|
var A = S("clientX", H) || 0, K = S("clientY", H) || 0;
|
|
3045
3045
|
T.style.left = A - 2 + "px", T.style.top = K - 2 + "px";
|
|
3046
3046
|
var se = Y || D, ve = M(T, A, K), be = tt(ve, A, K), rt = be !== null && be !== te;
|
|
3047
|
-
(rt || be === null) && (Ye(), te = be,
|
|
3047
|
+
(rt || be === null) && (Ye(), te = be, lt()), Se(ve, K);
|
|
3048
3048
|
var Ge = y(se);
|
|
3049
3049
|
if (be === _ && Y && !W.copySortSource) {
|
|
3050
3050
|
Ge && Ge.removeChild(se);
|
|
3051
3051
|
return;
|
|
3052
3052
|
}
|
|
3053
|
-
var Ze,
|
|
3054
|
-
if (Z =
|
|
3055
|
-
Ze = We(be,
|
|
3053
|
+
var Ze, at = _e(be, ve);
|
|
3054
|
+
if (Z = ye(at, be), at !== null)
|
|
3055
|
+
Ze = We(be, at, A, K);
|
|
3056
3056
|
else if (W.revertOnSpill === !0 && !Y)
|
|
3057
3057
|
Ze = L, be = _;
|
|
3058
3058
|
else {
|
|
3059
3059
|
Y && Ge && Ge.removeChild(se), Y && j && (j.style.display = "none");
|
|
3060
3060
|
return;
|
|
3061
3061
|
}
|
|
3062
|
-
j.style.display = "block", ot(Ze, se, rt), Ze ? Ce(
|
|
3062
|
+
j.style.display = "block", ot(Ze, se, rt), Ze ? Ce(at, Ze) : we(be);
|
|
3063
3063
|
function De(Pe) {
|
|
3064
3064
|
U.emit(Pe, se, te, _);
|
|
3065
3065
|
}
|
|
3066
|
-
function
|
|
3066
|
+
function lt() {
|
|
3067
3067
|
rt && De("over");
|
|
3068
3068
|
}
|
|
3069
3069
|
function Ye() {
|
|
@@ -3100,7 +3100,7 @@ var ba = { exports: {} };
|
|
|
3100
3100
|
K = y(K);
|
|
3101
3101
|
return K === d ? null : K;
|
|
3102
3102
|
}
|
|
3103
|
-
function
|
|
3103
|
+
function ye(H, A) {
|
|
3104
3104
|
if (!A)
|
|
3105
3105
|
return Z;
|
|
3106
3106
|
var K = H || A && A.lastElementChild;
|
|
@@ -3175,21 +3175,21 @@ var ba = { exports: {} };
|
|
|
3175
3175
|
var ve = W.direction === "horizontal", be = W.direction === "mixed", rt = A !== H ? Ze() : Ge();
|
|
3176
3176
|
return rt;
|
|
3177
3177
|
function Ge() {
|
|
3178
|
-
var De = H.children.length,
|
|
3179
|
-
for (
|
|
3180
|
-
if (Ye = H.children[
|
|
3178
|
+
var De = H.children.length, lt, Ye, Pe;
|
|
3179
|
+
for (lt = 0; lt < De; lt++)
|
|
3180
|
+
if (Ye = H.children[lt], Pe = Ye.getBoundingClientRect(), ve && Pe.left + Pe.width / 2 > K || !be && !ve && Pe.top + Pe.height / 2 > se || be && Pe.left + Pe.width > K && Pe.top + Pe.height > se)
|
|
3181
3181
|
return Ye;
|
|
3182
3182
|
return null;
|
|
3183
3183
|
}
|
|
3184
3184
|
function Ze() {
|
|
3185
3185
|
var De = A.getBoundingClientRect();
|
|
3186
3186
|
if (be) {
|
|
3187
|
-
var
|
|
3188
|
-
return Z ? Nt = Bt < Ye : Nt = Pe === Dt || Bt === Dt || Ye === Dt,
|
|
3187
|
+
var lt = se - De.top, Ye = K - De.left, Pe = De.bottom - se, Bt = De.right - K, Dt = Math.min(Ye, Bt, lt, Pe), Nt;
|
|
3188
|
+
return Z ? Nt = Bt < Ye : Nt = Pe === Dt || Bt === Dt || Ye === Dt, at(Nt);
|
|
3189
3189
|
}
|
|
3190
|
-
return
|
|
3190
|
+
return at(ve ? K > De.left + O(De) / 2 : se > De.top + p(De) / 2);
|
|
3191
3191
|
}
|
|
3192
|
-
function
|
|
3192
|
+
function at(De) {
|
|
3193
3193
|
return De ? b(A) : A;
|
|
3194
3194
|
}
|
|
3195
3195
|
}
|
|
@@ -3292,7 +3292,7 @@ var ba = { exports: {} };
|
|
|
3292
3292
|
return m in T && !(m in E) && T[m] in E && (m = T[m]), E[m];
|
|
3293
3293
|
}
|
|
3294
3294
|
o.exports = c;
|
|
3295
|
-
}).call(this, typeof
|
|
3295
|
+
}).call(this, typeof st < "u" ? st : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
3296
3296
|
}, { "./classes": 1, "contra/emitter": 5, crossvent: 6 }],
|
|
3297
3297
|
3: [function(n, o, r) {
|
|
3298
3298
|
o.exports = function(a, u) {
|
|
@@ -3409,7 +3409,7 @@ var ba = { exports: {} };
|
|
|
3409
3409
|
if (w = c[b], w.element === y && w.type === F && w.fn === l)
|
|
3410
3410
|
return b;
|
|
3411
3411
|
}
|
|
3412
|
-
}).call(this, typeof
|
|
3412
|
+
}).call(this, typeof st < "u" ? st : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
3413
3413
|
}, { "./eventmap": 7, "custom-event": 8 }],
|
|
3414
3414
|
7: [function(n, o, r) {
|
|
3415
3415
|
(function(i) {
|
|
@@ -3417,7 +3417,7 @@ var ba = { exports: {} };
|
|
|
3417
3417
|
for (u in i)
|
|
3418
3418
|
s.test(u) && a.push(u.slice(2));
|
|
3419
3419
|
o.exports = a;
|
|
3420
|
-
}).call(this, typeof
|
|
3420
|
+
}).call(this, typeof st < "u" ? st : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
3421
3421
|
}, {}],
|
|
3422
3422
|
8: [function(n, o, r) {
|
|
3423
3423
|
(function(i) {
|
|
@@ -3443,7 +3443,7 @@ var ba = { exports: {} };
|
|
|
3443
3443
|
}
|
|
3444
3444
|
)
|
|
3445
3445
|
);
|
|
3446
|
-
}).call(this, typeof
|
|
3446
|
+
}).call(this, typeof st < "u" ? st : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
3447
3447
|
}, {}],
|
|
3448
3448
|
9: [function(n, o, r) {
|
|
3449
3449
|
var i = o.exports = {}, a, u;
|
|
@@ -4653,7 +4653,7 @@ const Ot = /* @__PURE__ */ je({
|
|
|
4653
4653
|
s.value && (U.value = s.value.clientWidth), f.value && (pe.value = f.value.clientWidth, me.value = f.value.clientHeight);
|
|
4654
4654
|
})), C.value && O();
|
|
4655
4655
|
}), Mt(() => {
|
|
4656
|
-
}),
|
|
4656
|
+
}), ge(pe, () => {
|
|
4657
4657
|
s.value && xe();
|
|
4658
4658
|
});
|
|
4659
4659
|
function Ue() {
|
|
@@ -4694,7 +4694,7 @@ const Ot = /* @__PURE__ */ je({
|
|
|
4694
4694
|
const K = v.value.find((se) => se.raw[a.idField.value] === A);
|
|
4695
4695
|
K && $.clickRowItem(K);
|
|
4696
4696
|
}
|
|
4697
|
-
function
|
|
4697
|
+
function ye(A) {
|
|
4698
4698
|
y.selectItemByIds(A);
|
|
4699
4699
|
}
|
|
4700
4700
|
function Te() {
|
|
@@ -4719,7 +4719,7 @@ const Ot = /* @__PURE__ */ je({
|
|
|
4719
4719
|
updateColumns: fe,
|
|
4720
4720
|
updateDataSource: he,
|
|
4721
4721
|
selectItemById: ke,
|
|
4722
|
-
selectItemByIds:
|
|
4722
|
+
selectItemByIds: ye,
|
|
4723
4723
|
getSelectedItems: Te,
|
|
4724
4724
|
clearSelection: Ce,
|
|
4725
4725
|
getSelectionRow: We,
|
|
@@ -4924,7 +4924,7 @@ const Gt = /* @__PURE__ */ je({
|
|
|
4924
4924
|
}, null);
|
|
4925
4925
|
}
|
|
4926
4926
|
}
|
|
4927
|
-
|
|
4927
|
+
ge(() => e.modelValue, (_) => {
|
|
4928
4928
|
a.value = _, n.value = `${_.id}-component`;
|
|
4929
4929
|
});
|
|
4930
4930
|
function m(_) {
|
|
@@ -5400,12 +5400,12 @@ function Ga(e, t, n, o, r) {
|
|
|
5400
5400
|
O(t), t.value = Object.assign({}, t.value);
|
|
5401
5401
|
}
|
|
5402
5402
|
}
|
|
5403
|
-
return
|
|
5403
|
+
return ge(() => {
|
|
5404
5404
|
var l;
|
|
5405
5405
|
return (l = e.columnOption) == null ? void 0 : l.fitColumns;
|
|
5406
5406
|
}, (l, b) => {
|
|
5407
5407
|
l !== b && l && F();
|
|
5408
|
-
}),
|
|
5408
|
+
}), ge(v, (l, b) => {
|
|
5409
5409
|
l !== b && c.value && F();
|
|
5410
5410
|
}), { calculateColumnHeaders: O, calculateColumnsSize: F, calculateColumnsWidth: p };
|
|
5411
5411
|
}
|
|
@@ -5468,9 +5468,9 @@ const qa = /* @__PURE__ */ je({
|
|
|
5468
5468
|
function $e(ce) {
|
|
5469
5469
|
ce && (a.value = ce, b(a), h(a.value), S(O, E), me());
|
|
5470
5470
|
}
|
|
5471
|
-
return
|
|
5471
|
+
return ge(() => e.columns, (ce) => {
|
|
5472
5472
|
$e(ce);
|
|
5473
|
-
}),
|
|
5473
|
+
}), ge(ee, () => {
|
|
5474
5474
|
s.value && me();
|
|
5475
5475
|
}), t.expose(M.value), () => B("div", {
|
|
5476
5476
|
ref: n,
|
|
@@ -5969,7 +5969,7 @@ function cl(e, t) {
|
|
|
5969
5969
|
}
|
|
5970
5970
|
function dl(e, t, n) {
|
|
5971
5971
|
const o = k(), r = k(e.draggable), i = k(e.lockAxis), a = k(), u = k(), s = k(!1), f = k(new Fe(0, 0)), d = k(new Fe(0, 0)), c = k(new Fe(0, 0)), v = k(new Fe(0, 0));
|
|
5972
|
-
|
|
5972
|
+
ge(() => n.value, (l) => {
|
|
5973
5973
|
a.value.style.cursor = l ? "move" : "default";
|
|
5974
5974
|
});
|
|
5975
5975
|
function x(l, b) {
|
|
@@ -6113,15 +6113,15 @@ const Ct = /* @__PURE__ */ je({
|
|
|
6113
6113
|
const q = document.querySelectorAll(".farris-modal").length;
|
|
6114
6114
|
(!q || q - 1 <= 0) && document.body.classList.remove("modal-open"), p.value && p.value.classList.remove("show");
|
|
6115
6115
|
}
|
|
6116
|
-
|
|
6116
|
+
ge(() => e.title, (q, de) => {
|
|
6117
6117
|
q !== de && (g.value = q);
|
|
6118
|
-
}),
|
|
6118
|
+
}), ge(() => e.modelValue, (q, de) => {
|
|
6119
6119
|
q !== de && (r.value = q, q || Y());
|
|
6120
|
-
}),
|
|
6120
|
+
}), ge(() => e.showHeader, (q, de) => {
|
|
6121
6121
|
q !== de && (s.value = q);
|
|
6122
|
-
}),
|
|
6122
|
+
}), ge(() => e.showButtons, (q, de) => {
|
|
6123
6123
|
q !== de && (M.value = q);
|
|
6124
|
-
}),
|
|
6124
|
+
}), ge(() => V.value, (q, de) => {
|
|
6125
6125
|
const Be = q || {}, He = de || {};
|
|
6126
6126
|
JSON.stringify(Be) !== JSON.stringify(He) && t.emit("resize", {
|
|
6127
6127
|
newSize: q,
|
|
@@ -6444,21 +6444,32 @@ const hl = {
|
|
|
6444
6444
|
id: { type: String },
|
|
6445
6445
|
required: { type: Boolean, default: !1 },
|
|
6446
6446
|
text: { type: String, default: "" },
|
|
6447
|
-
title: { type: String }
|
|
6447
|
+
title: { type: String },
|
|
6448
|
+
valid: { type: Boolean, default: !0 },
|
|
6449
|
+
inValidTip: { type: String, default: "" }
|
|
6448
6450
|
}, gl = /* @__PURE__ */ je({
|
|
6449
6451
|
name: "FDynamicFormLabel",
|
|
6450
6452
|
props: hl,
|
|
6451
6453
|
emits: [],
|
|
6452
6454
|
setup(e, t) {
|
|
6453
|
-
const n = k(e.title || e.text), o = k(e.required), r = k(e.text);
|
|
6454
|
-
|
|
6455
|
+
const n = k(e.title || e.text), o = k(e.required), r = k(e.text), i = k(e.valid), a = k(e.inValidTip);
|
|
6456
|
+
ge(() => e.text, () => {
|
|
6455
6457
|
r.value = e.text;
|
|
6456
|
-
}),
|
|
6457
|
-
|
|
6458
|
-
}), () =>
|
|
6458
|
+
}), ge(() => e.required, (f, d) => {
|
|
6459
|
+
f !== d && (o.value = f);
|
|
6460
|
+
}), ge([() => e.valid, () => e.inValidTip], ([f, d]) => {
|
|
6461
|
+
i.value = f, a.value = d;
|
|
6462
|
+
});
|
|
6463
|
+
const u = P(() => i.value ? n.value : a.value), s = P(() => i.value ? "" : "color:red");
|
|
6464
|
+
return () => r.value && B("label", {
|
|
6459
6465
|
class: "col-form-label",
|
|
6460
|
-
title:
|
|
6461
|
-
|
|
6466
|
+
title: u.value,
|
|
6467
|
+
style: s.value
|
|
6468
|
+
}, [!i.value && B("span", {
|
|
6469
|
+
class: "f-icon f-icon-warning mr-1",
|
|
6470
|
+
style: "color: red; min-width: 16px;",
|
|
6471
|
+
title: a.value
|
|
6472
|
+
}, null), o.value && B("span", {
|
|
6462
6473
|
class: "farris-label-info text-danger"
|
|
6463
6474
|
}, [pt("*")]), B("span", {
|
|
6464
6475
|
class: "farris-label-text"
|
|
@@ -6590,7 +6601,7 @@ const Cl = /* @__PURE__ */ je({
|
|
|
6590
6601
|
"onUpdate:modelValue": (S) => a.value = S
|
|
6591
6602
|
}), t.slots);
|
|
6592
6603
|
});
|
|
6593
|
-
return
|
|
6604
|
+
return ge([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([y, F, l, b, w, S, m, h, E]) => {
|
|
6594
6605
|
var T;
|
|
6595
6606
|
n.value = y, o.value = F, r.value = l, i.value = b, a.value = w, u.value = S, s.value = ((T = r.value) == null ? void 0 : T.required) || m, f.value = h, d.value = E;
|
|
6596
6607
|
}), t.expose({
|
|
@@ -7321,7 +7332,7 @@ const Ft = /* @__PURE__ */ je({
|
|
|
7321
7332
|
}, [I()]), N(), v()]);
|
|
7322
7333
|
}
|
|
7323
7334
|
});
|
|
7324
|
-
class
|
|
7335
|
+
class ut {
|
|
7325
7336
|
static show(t) {
|
|
7326
7337
|
const n = it({
|
|
7327
7338
|
...t
|
|
@@ -7356,7 +7367,7 @@ class ct {
|
|
|
7356
7367
|
okButtonText: "知道了",
|
|
7357
7368
|
cancelButtonText: ""
|
|
7358
7369
|
});
|
|
7359
|
-
|
|
7370
|
+
ut.show(o);
|
|
7360
7371
|
}
|
|
7361
7372
|
static warning(t, n) {
|
|
7362
7373
|
const o = it({
|
|
@@ -7366,7 +7377,7 @@ class ct {
|
|
|
7366
7377
|
okButtonText: "知道了",
|
|
7367
7378
|
cancelButtonText: ""
|
|
7368
7379
|
});
|
|
7369
|
-
|
|
7380
|
+
ut.show(o);
|
|
7370
7381
|
}
|
|
7371
7382
|
static success(t, n) {
|
|
7372
7383
|
const o = it({
|
|
@@ -7376,7 +7387,7 @@ class ct {
|
|
|
7376
7387
|
okButtonText: "关闭",
|
|
7377
7388
|
cancelButtonText: ""
|
|
7378
7389
|
});
|
|
7379
|
-
|
|
7390
|
+
ut.show(o);
|
|
7380
7391
|
}
|
|
7381
7392
|
static error(t, n, o) {
|
|
7382
7393
|
const r = it({
|
|
@@ -7390,7 +7401,7 @@ class ct {
|
|
|
7390
7401
|
detail: n
|
|
7391
7402
|
}
|
|
7392
7403
|
});
|
|
7393
|
-
|
|
7404
|
+
ut.show(r);
|
|
7394
7405
|
}
|
|
7395
7406
|
static prompt(t, n) {
|
|
7396
7407
|
const o = it({
|
|
@@ -7400,7 +7411,7 @@ class ct {
|
|
|
7400
7411
|
okButtonText: "确定",
|
|
7401
7412
|
cancelButtonText: "取消"
|
|
7402
7413
|
});
|
|
7403
|
-
|
|
7414
|
+
ut.show(o);
|
|
7404
7415
|
}
|
|
7405
7416
|
static question(t, n, o, r) {
|
|
7406
7417
|
const i = it({
|
|
@@ -7412,11 +7423,11 @@ class ct {
|
|
|
7412
7423
|
acceptCallback: o,
|
|
7413
7424
|
rejectCallback: r
|
|
7414
7425
|
});
|
|
7415
|
-
|
|
7426
|
+
ut.show(i);
|
|
7416
7427
|
}
|
|
7417
7428
|
}
|
|
7418
7429
|
Ft.install = (e) => {
|
|
7419
|
-
e.component(Ft.name, Ft), e.provide("FMessageBoxService",
|
|
7430
|
+
e.component(Ft.name, Ft), e.provide("FMessageBoxService", ut);
|
|
7420
7431
|
};
|
|
7421
7432
|
var wt = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(wt || {}), Xe = /* @__PURE__ */ ((e) => (e.Equal = "0", e.NotEqual = "1", e.Greater = "2", e.GreaterOrEqual = "3", e.Less = "4", e.LessOrEqual = "5", e.Like = "6", e.LikeStartWith = "7", e.LikeEndWith = "8", e.In = "9", e.NotIn = "10", e))(Xe || {});
|
|
7422
7433
|
const os = [
|
|
@@ -8117,7 +8128,7 @@ function on(e) {
|
|
|
8117
8128
|
function ms(e, t, n, o) {
|
|
8118
8129
|
var N, M, g, C, O, p;
|
|
8119
8130
|
const { idField: r } = n, i = k(((M = (N = e.hierarchy) == null ? void 0 : N.cascadeOption) == null ? void 0 : M.autoCheckChildren) || !1), a = k(((C = (g = e.hierarchy) == null ? void 0 : g.cascadeOption) == null ? void 0 : C.autoCheckParent) || !1), u = k(((p = (O = e.hierarchy) == null ? void 0 : O.cascadeOption) == null ? void 0 : p.selectionRange) || "All");
|
|
8120
|
-
|
|
8131
|
+
ge(() => {
|
|
8121
8132
|
var y;
|
|
8122
8133
|
return (y = e.hierarchy) == null ? void 0 : y.cascadeOption;
|
|
8123
8134
|
}, (y) => {
|
|
@@ -8236,8 +8247,8 @@ function rn(e, t, n, o, r, i, a, u) {
|
|
|
8236
8247
|
let fe = R, he = G;
|
|
8237
8248
|
const ke = G - R + 1;
|
|
8238
8249
|
if (ke < a + i.value + a) {
|
|
8239
|
-
const _e = a + i.value + a - ke,
|
|
8240
|
-
if (
|
|
8250
|
+
const _e = a + i.value + a - ke, ye = G + _e <= X, Te = 0 + _e <= R;
|
|
8251
|
+
if (ye)
|
|
8241
8252
|
he += _e, p = he;
|
|
8242
8253
|
else if (Te)
|
|
8243
8254
|
fe -= _e, O = fe;
|
|
@@ -8255,7 +8266,7 @@ function rn(e, t, n, o, r, i, a, u) {
|
|
|
8255
8266
|
n.value = [];
|
|
8256
8267
|
return;
|
|
8257
8268
|
}
|
|
8258
|
-
const X = (Ce = e.pagination) != null && Ce.enable ? 0 : Math.max(O - a, 0), fe = G[G.length - 1].__fv_visible_index__, he = (we = e.pagination) != null && we.enable ? G.length - 1 : Math.min(p + a, fe), { actualStart: ke, actualEnd: _e } = L(X, he, fe),
|
|
8269
|
+
const X = (Ce = e.pagination) != null && Ce.enable ? 0 : Math.max(O - a, 0), fe = G[G.length - 1].__fv_visible_index__, he = (we = e.pagination) != null && we.enable ? G.length - 1 : Math.min(p + a, fe), { actualStart: ke, actualEnd: _e } = L(X, he, fe), ye = G[ke - 1], Te = d(ke, _e, ye, R);
|
|
8259
8270
|
Te.length && (n.value = [...Te]);
|
|
8260
8271
|
}
|
|
8261
8272
|
const Y = P(() => h() > F.value), J = P(() => Math.floor(x.value) > l.value);
|
|
@@ -8291,7 +8302,7 @@ function rn(e, t, n, o, r, i, a, u) {
|
|
|
8291
8302
|
const R = h();
|
|
8292
8303
|
te(g.value, R);
|
|
8293
8304
|
}
|
|
8294
|
-
|
|
8305
|
+
ge([l, x], () => {
|
|
8295
8306
|
Z(0);
|
|
8296
8307
|
});
|
|
8297
8308
|
function U(R) {
|
|
@@ -8697,9 +8708,9 @@ function cn(e, t, n, o) {
|
|
|
8697
8708
|
} = n, i = k(e.editable), a = k(e.editOption), u = k(((m = e.rowOption) == null ? void 0 : m.wrapContent) || !1), {
|
|
8698
8709
|
onClickRow: s
|
|
8699
8710
|
} = o;
|
|
8700
|
-
|
|
8711
|
+
ge(() => e.editable, () => {
|
|
8701
8712
|
i.value = e.editable;
|
|
8702
|
-
}),
|
|
8713
|
+
}), ge(() => {
|
|
8703
8714
|
var h;
|
|
8704
8715
|
return (h = e.editOption) == null ? void 0 : h.editMode;
|
|
8705
8716
|
}, (h) => {
|
|
@@ -8888,7 +8899,7 @@ function fn(e, t, n, o) {
|
|
|
8888
8899
|
}
|
|
8889
8900
|
function pn(e, t, n, o, r) {
|
|
8890
8901
|
const { idField: i } = n, a = k(""), u = P(() => e.selection.enableSelectRow), s = k(e.selection.multiSelect ?? !1), f = k(e.selection.multiSelectMode), d = k(e.selection.showCheckbox), c = k(e.selection.showSelectAll), v = k(e.selectionValues);
|
|
8891
|
-
|
|
8902
|
+
ge(() => e.selection.showSelectAll, (j, Z) => {
|
|
8892
8903
|
j !== Z && (c.value = j);
|
|
8893
8904
|
});
|
|
8894
8905
|
function x() {
|
|
@@ -8917,11 +8928,11 @@ function pn(e, t, n, o, r) {
|
|
|
8917
8928
|
Z.checked = !0, Z.raw.__fv_checked__ = !0;
|
|
8918
8929
|
});
|
|
8919
8930
|
}
|
|
8920
|
-
|
|
8931
|
+
ge(() => o.value, () => {
|
|
8921
8932
|
F();
|
|
8922
|
-
}),
|
|
8933
|
+
}), ge(() => e.selectionValues, (j) => {
|
|
8923
8934
|
v.value = j, F();
|
|
8924
|
-
}, { immediate: !0 }),
|
|
8935
|
+
}, { immediate: !0 }), ge(() => e.selection, (j) => {
|
|
8925
8936
|
s.value = !!j.multiSelect, f.value = j.multiSelectMode || "DependOnCheck", d.value = !!j.showCheckbox;
|
|
8926
8937
|
});
|
|
8927
8938
|
const l = P(() => !s.value);
|
|
@@ -9031,7 +9042,7 @@ function Cs(e, t) {
|
|
|
9031
9042
|
var C;
|
|
9032
9043
|
return a.value ? ((C = e.rowNumber) == null ? void 0 : C.heading) ?? "序号" : "";
|
|
9033
9044
|
}), c = P(() => (u.value && !e.hierarchy ? Number(f.value) : 0) + (a.value ? Number(s.value) : 0));
|
|
9034
|
-
|
|
9045
|
+
ge(() => e.rowNumber, (C) => {
|
|
9035
9046
|
C && C.enable !== void 0 && (a.value = C.enable), C && C.width !== void 0 && (s.value = C.width);
|
|
9036
9047
|
});
|
|
9037
9048
|
function v(C) {
|