@farris/ui-vue 1.8.5-beta.19 → 1.8.5-beta.20
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.css +1 -1
- package/components/batch-editor/index.esm.js +80 -77
- package/components/batch-editor/index.umd.cjs +7 -7
- package/components/button/index.css +1 -1
- package/components/button/index.esm.js +80 -77
- package/components/button/index.umd.cjs +7 -7
- package/components/data-grid/index.esm.js +89 -86
- package/components/data-grid/index.umd.cjs +2 -2
- package/components/data-view/index.css +1 -1
- package/components/data-view/index.esm.js +174 -171
- package/components/data-view/index.umd.cjs +4 -4
- package/components/mapping-editor/index.esm.js +95 -92
- package/components/mapping-editor/index.umd.cjs +2 -2
- package/designer/data-grid/index.css +1 -1
- package/designer/data-grid/index.esm.js +5 -2
- package/designer/data-grid/index.umd.cjs +1 -1
- package/designer/farris-designer.all.esm.js +75 -72
- package/designer/farris-designer.all.umd.cjs +4 -4
- package/farris.all.esm.js +175 -172
- package/farris.all.umd.cjs +7 -7
- package/index.css +1 -1
- package/package.json +1 -1
- package/themes/default/farris-variables.css +1 -1
- package/themes/mano/farris-variables.css +1 -1
|
@@ -7,7 +7,7 @@ import { debounce as Fn, isUndefined as ln, cloneDeep as St, mergeWith as fa, me
|
|
|
7
7
|
import { LocaleService as ot } from "../components/locale/index.esm.js";
|
|
8
8
|
import { resolveField as Ht, useLocatorProps as on, getCustomClass as Yt, locatorChild as Re, locatorAttrs as Gt, withInstall as Hn, EVENT_PROPERTY_TAB_IDS as Tn, FormSchemaEntityField$Type as pa, FormSchemaEntityFieldTypeName as ar, useThirdComponent as Kr, isMobilePhone as At, getMaxZIndex as lr, extractDataAttrs as ti, attributeSelector as ff, queryById as pf, queryAllById as mf, FormSchemaEntityFieldType$Type as ho, encrypt as vf, useNumberFormat as gf, useDateFormat as hf, useResizeObserver as yf, useTouchMomentum as bf, useTouch as Cf, useCommonUtils as Un, useBem as qt, useFarrisConfig as Sf, useInputExpand as Qr, useTextBox as wf, useClear as xf, formatDate as Tf, getCustomStyle as Ll, useGuid as Ff } from "../components/common/index.esm.js";
|
|
9
9
|
import { useResizeObserver as Zr } from "@vueuse/core";
|
|
10
|
-
import { getHierarchyRow as Pf, useIdentify as ni, useGroupData as oi, useFilter as ai, useHierarchy as li, useLoading as es, useDataView as ii, useSelection as ri, useSelectHierarchyItem as Ef, usePagination as si, useDataViewContainerStyle as ts, useCommandColumn as ns, useSettingColumn as os, useColumn as ui, useSort as as, useGroupColumn as ls, useRow as ci, useEdit as di, useVisualDataBound as fi, useVisualDataCell as pi, useVisualDataRow as mi, useVisualData as vi, useCellPosition as is, useSidebar as gi, useVirtualScroll as hi, useRowDrag as If, useFitColumn as rs, useFilterHistory as ss, useColumnFilter as us, useDragColumn as cs, resolvePreviewFixedColumns as ds, getColumnHeader as fs, getSidebar as ps, getDisableMask as ms, getHorizontalScrollbar as vs, getVerticalScrollbar as gs, getEmpty as hs, getPagination as ys, getSummary as bs, ColumnSettingSolution as Cs, refreshScrollAfterDataSourceLoad as Ss, COMMAND_COLUMN_DATA_TYPE as
|
|
10
|
+
import { getHierarchyRow as Pf, useIdentify as ni, useGroupData as oi, useFilter as ai, useHierarchy as li, useLoading as es, useDataView as ii, useSelection as ri, useSelectHierarchyItem as Ef, usePagination as si, useDataViewContainerStyle as ts, useCommandColumn as ns, useSettingColumn as os, useColumn as ui, useSort as as, useGroupColumn as ls, useRow as ci, useEdit as di, useVisualDataBound as fi, useVisualDataCell as pi, useVisualDataRow as mi, useVisualData as vi, useCellPosition as is, useSidebar as gi, useVirtualScroll as hi, useRowDrag as If, useFitColumn as rs, useFilterHistory as ss, useColumnFilter as us, useDragColumn as cs, resolvePreviewFixedColumns as ds, getColumnHeader as fs, getSidebar as ps, getDisableMask as ms, getHorizontalScrollbar as vs, getVerticalScrollbar as gs, getEmpty as hs, getPagination as ys, getSummary as bs, ColumnSettingSolution as Cs, refreshScrollAfterDataSourceLoad as Ss, COMMAND_COLUMN_DATA_TYPE as mn, SETTING_COLUMN_DATA_TYPE as vn, useVisualGroupRow as ws, useVisualSummaryRow as xs, useScreen as Ts, locatorGridGroup as Fs, locatorGridRowId as Ps, locatorGridRow as Es, locatorGridCell as Is, locatorChild as ks, SETTING_COLUMN_FIELD as kf, COMMAND_COLUMN_FIELD as Bf, resolveEnumDisplayText as Bs, CellMode as Os, useCellContentStyle as Of, getFilterPanel as Lf, getGroupPanel as Mf, useAdapt as Df, useNavigation as Vf, applyReassignRowData as Nf } from "../components/data-view/index.esm.js";
|
|
11
11
|
import Af from "../components/input-group/index.esm.js";
|
|
12
12
|
import Wn, { ButtonProperty as Rf, FButton as ir } from "../components/button/index.esm.js";
|
|
13
13
|
import { resolveAppearance as Pn, createPropsResolver as Kt, schemaResolverMap as _f, propertyEffectMap as jf, propertyConfigSchemaMap as $f, schemaMap as Hf, schemaResolverMapForDesigner as Ls, propertyEffectMapForDesigner as yi, propertyConfigSchemaMapForDesigner as bi, schemaMapForDesigner as Ms, getSchemaByTypeForDesigner as Ds, getPropsResolverGenerator as Ci, createEventsResolver as Vs, createFormBindingResolver as Uf } from "../components/dynamic-resolver/index.esm.js";
|
|
@@ -635,8 +635,8 @@ var Gu = { exports: {} };
|
|
|
635
635
|
function Ot() {
|
|
636
636
|
var Lt = ye.getBoundingClientRect();
|
|
637
637
|
if (pt) {
|
|
638
|
-
var Vt = Qe - Lt.top, Et = Fe - Lt.left, Tt = Lt.bottom - Qe,
|
|
639
|
-
return A ?
|
|
638
|
+
var Vt = Qe - Lt.top, Et = Fe - Lt.left, Tt = Lt.bottom - Qe, sn = Lt.right - Fe, En = Math.min(Et, sn, Vt, Tt), dn;
|
|
639
|
+
return A ? dn = sn < Et : dn = Tt === En || sn === En || Et === En, Qt(dn);
|
|
640
640
|
}
|
|
641
641
|
return Qt(rt ? Fe > Lt.left + C(Lt) / 2 : Qe > Lt.top + S(Lt) / 2);
|
|
642
642
|
}
|
|
@@ -1734,22 +1734,22 @@ const Al = /* @__PURE__ */ Me({
|
|
|
1734
1734
|
}), Mt(() => {
|
|
1735
1735
|
Vt !== null && cancelAnimationFrame(Vt);
|
|
1736
1736
|
});
|
|
1737
|
-
function
|
|
1737
|
+
function sn(X) {
|
|
1738
1738
|
R.collapseTo(X), R.reOrderVisibleIndex(), bt();
|
|
1739
1739
|
}
|
|
1740
1740
|
function En(X) {
|
|
1741
1741
|
R.expandTo(X), R.reOrderVisibleIndex(), bt();
|
|
1742
1742
|
}
|
|
1743
|
-
function
|
|
1743
|
+
function dn() {
|
|
1744
1744
|
const X = N.getSelectionRow();
|
|
1745
1745
|
return X ? X.dataIndex - 1 : -1;
|
|
1746
1746
|
}
|
|
1747
1747
|
function _a(X) {
|
|
1748
|
-
const ue = X !== void 0 ? X :
|
|
1748
|
+
const ue = X !== void 0 ? X : dn(), Ee = R.insertNewDataItem(ue === -1 ? 0 : ue);
|
|
1749
1749
|
return S.value = he(0, G.value + r - 1), Ee;
|
|
1750
1750
|
}
|
|
1751
1751
|
function ja() {
|
|
1752
|
-
const X =
|
|
1752
|
+
const X = dn();
|
|
1753
1753
|
R.insertNewChildDataItem(X), S.value = he(0, G.value + r - 1);
|
|
1754
1754
|
}
|
|
1755
1755
|
function $a(X, ue) {
|
|
@@ -1757,7 +1757,7 @@ const Al = /* @__PURE__ */ Me({
|
|
|
1757
1757
|
R.insertNewChildDataItems(X, _e);
|
|
1758
1758
|
}
|
|
1759
1759
|
function Ha() {
|
|
1760
|
-
const X =
|
|
1760
|
+
const X = dn(), ue = V.getNextSelectableHierarchyItemId(X);
|
|
1761
1761
|
R.removeHierarchyDataItem(X), S.value = he(0, G.value + r - 1), ue && V.selectItemById(ue);
|
|
1762
1762
|
}
|
|
1763
1763
|
function Ua(X) {
|
|
@@ -1976,31 +1976,31 @@ const Al = /* @__PURE__ */ Me({
|
|
|
1976
1976
|
const X = O.value.length;
|
|
1977
1977
|
z.value = (z.value - 1 + X) % X, In();
|
|
1978
1978
|
}
|
|
1979
|
-
const
|
|
1979
|
+
const fn = Fn(fl, 300);
|
|
1980
1980
|
function fo() {
|
|
1981
|
-
|
|
1981
|
+
fn.cancel(), $.value = "", O.value = [], z.value = 0;
|
|
1982
1982
|
}
|
|
1983
1983
|
se($, (X) => {
|
|
1984
|
-
X.trim() || (
|
|
1984
|
+
X.trim() || (fn.cancel(), O.value = [], z.value = 0);
|
|
1985
1985
|
}), Mt(() => {
|
|
1986
|
-
|
|
1986
|
+
fn.cancel();
|
|
1987
1987
|
});
|
|
1988
1988
|
function ml(X) {
|
|
1989
1989
|
if (X.key === "Enter") {
|
|
1990
1990
|
if (!$.value.trim())
|
|
1991
1991
|
return;
|
|
1992
|
-
|
|
1992
|
+
fn();
|
|
1993
1993
|
}
|
|
1994
1994
|
}
|
|
1995
1995
|
function vl() {
|
|
1996
|
-
$.value.trim() &&
|
|
1996
|
+
$.value.trim() && fn();
|
|
1997
1997
|
}
|
|
1998
1998
|
n.expose({
|
|
1999
1999
|
activeRowById: ro,
|
|
2000
2000
|
addNewDataItem: _a,
|
|
2001
2001
|
addNewChildDataItem: ja,
|
|
2002
2002
|
addChildrenToNode: $a,
|
|
2003
|
-
collapseTo:
|
|
2003
|
+
collapseTo: sn,
|
|
2004
2004
|
expandTo: En,
|
|
2005
2005
|
removeDataItem: Ha,
|
|
2006
2006
|
editDataItem: Ua,
|
|
@@ -2048,11 +2048,11 @@ const Al = /* @__PURE__ */ Me({
|
|
|
2048
2048
|
}));
|
|
2049
2049
|
function bl(X) {
|
|
2050
2050
|
const ue = X.map((Ye) => Ye.id), Ee = [...v.value, ...c, ...d];
|
|
2051
|
-
Ee.filter((Ye) => Ye.dataType !==
|
|
2051
|
+
Ee.filter((Ye) => Ye.dataType !== mn && Ye.dataType !== vn).forEach((Ye) => {
|
|
2052
2052
|
const He = X.find((yt) => yt.id === Ye.id);
|
|
2053
2053
|
He && (Ye.width = He.actualWidth || Ye.width || 120, He.actualWidth !== void 0 && (Ye.actualWidth = He.actualWidth), Ye.title = He.title, Ye.halign = He.halign, Ye.align = He.align, Ye.fixed = He.fixed);
|
|
2054
|
-
}), d = Ee.filter((Ye) => Ye.dataType ===
|
|
2055
|
-
const _e = Ee.filter((Ye) => Ye.dataType !==
|
|
2054
|
+
}), d = Ee.filter((Ye) => Ye.dataType === mn || Ye.dataType === vn);
|
|
2055
|
+
const _e = Ee.filter((Ye) => Ye.dataType !== mn && Ye.dataType !== vn), Ge = _e.filter((Ye) => ue.includes(Ye.id));
|
|
2056
2056
|
c = _e.filter((Ye) => !ue.includes(Ye.id)), Ge.sort((Ye, He) => {
|
|
2057
2057
|
const yt = X.findIndex((kt) => kt.id === Ye.id), ct = X.findIndex((kt) => kt.id === He.id);
|
|
2058
2058
|
return yt - ct;
|
|
@@ -7845,7 +7845,7 @@ const Ev = {
|
|
|
7845
7845
|
/** 控件信息 */
|
|
7846
7846
|
dgControl: { type: Object, default: {} }
|
|
7847
7847
|
};
|
|
7848
|
-
var
|
|
7848
|
+
var pn = /* @__PURE__ */ ((e) => (e.Frame = "frame", e.dataGrid = "data-grid", e.listView = "list-view", e.form = "form", e.uploader = "uploader", e.calendar = "calendar", e.page = "page", e.table = "table", e))(pn || {});
|
|
7849
7849
|
function Iv(e, n) {
|
|
7850
7850
|
const t = Ie("designerContext"), o = t && t.dgControl ? t.dgControl : Te, a = w(""), l = w("");
|
|
7851
7851
|
function i(p) {
|
|
@@ -7881,21 +7881,21 @@ function Iv(e, n) {
|
|
|
7881
7881
|
function c(p) {
|
|
7882
7882
|
const { componentType: m } = p;
|
|
7883
7883
|
switch (m) {
|
|
7884
|
-
case
|
|
7884
|
+
case pn.Frame:
|
|
7885
7885
|
return "根组件";
|
|
7886
|
-
case
|
|
7886
|
+
case pn.dataGrid:
|
|
7887
7887
|
return (e == null ? void 0 : e.formSchemaUtils.selectNode(p, (g) => g.type === (o["tree-grid"] && o["tree-grid"].type))) ? "树表格组件" : "表格组件";
|
|
7888
|
-
case
|
|
7888
|
+
case pn.uploader:
|
|
7889
7889
|
return "附件组件";
|
|
7890
|
-
case
|
|
7890
|
+
case pn.listView:
|
|
7891
7891
|
return "列表视图组件";
|
|
7892
|
-
case
|
|
7892
|
+
case pn.form:
|
|
7893
7893
|
return "卡片组件";
|
|
7894
|
-
case
|
|
7894
|
+
case pn.calendar:
|
|
7895
7895
|
return "日历组件";
|
|
7896
|
-
case
|
|
7896
|
+
case pn.table:
|
|
7897
7897
|
return "表格布局组件";
|
|
7898
|
-
case
|
|
7898
|
+
case pn.page:
|
|
7899
7899
|
return p.name || "页面";
|
|
7900
7900
|
default:
|
|
7901
7901
|
return "组件";
|
|
@@ -15358,7 +15358,7 @@ const Zc = {
|
|
|
15358
15358
|
convertTo: (e, n, t) => {
|
|
15359
15359
|
e.editor.displayType = t;
|
|
15360
15360
|
}
|
|
15361
|
-
},
|
|
15361
|
+
}, un = {
|
|
15362
15362
|
convertFrom: (e, n) => {
|
|
15363
15363
|
var l;
|
|
15364
15364
|
let t = e.editor ? e.editor.dialog : e.dialog;
|
|
@@ -15665,7 +15665,7 @@ function Fb(e) {
|
|
|
15665
15665
|
title: "标题",
|
|
15666
15666
|
type: "string",
|
|
15667
15667
|
visible: e.openType !== "Popup",
|
|
15668
|
-
$converter:
|
|
15668
|
+
$converter: un
|
|
15669
15669
|
},
|
|
15670
15670
|
width: {
|
|
15671
15671
|
description: "窗口宽度,单位:px,最小值:300px",
|
|
@@ -15676,7 +15676,7 @@ function Fb(e) {
|
|
|
15676
15676
|
min: a() ? 520 : 300,
|
|
15677
15677
|
needValid: !0
|
|
15678
15678
|
},
|
|
15679
|
-
$converter:
|
|
15679
|
+
$converter: un
|
|
15680
15680
|
},
|
|
15681
15681
|
height: {
|
|
15682
15682
|
description: "窗口高度,单位:px,最小值:200px",
|
|
@@ -15687,42 +15687,42 @@ function Fb(e) {
|
|
|
15687
15687
|
min: 200,
|
|
15688
15688
|
needValid: !0
|
|
15689
15689
|
},
|
|
15690
|
-
$converter:
|
|
15690
|
+
$converter: un
|
|
15691
15691
|
},
|
|
15692
15692
|
resizeable: {
|
|
15693
15693
|
description: "允许鼠标拖拽窗口边缘调整尺寸",
|
|
15694
15694
|
title: "允许调整窗口尺寸",
|
|
15695
15695
|
type: "boolean",
|
|
15696
15696
|
visible: e.openType !== "Popup",
|
|
15697
|
-
$converter:
|
|
15697
|
+
$converter: un
|
|
15698
15698
|
},
|
|
15699
15699
|
rememberSize: {
|
|
15700
15700
|
description: "记录窗口尺寸",
|
|
15701
15701
|
title: "记录窗口尺寸",
|
|
15702
15702
|
type: "boolean",
|
|
15703
15703
|
visible: !!e.enableUserData && (((l = e == null ? void 0 : e.dialog) == null ? void 0 : l.resizeable) ?? !0) && e.openType !== "Popup",
|
|
15704
|
-
$converter:
|
|
15704
|
+
$converter: un
|
|
15705
15705
|
},
|
|
15706
15706
|
enableEsc: {
|
|
15707
15707
|
description: "允许ESC关闭",
|
|
15708
15708
|
title: "允许ESC关闭",
|
|
15709
15709
|
type: "boolean",
|
|
15710
15710
|
visible: e.openType !== "Popup",
|
|
15711
|
-
$converter:
|
|
15711
|
+
$converter: un
|
|
15712
15712
|
},
|
|
15713
15713
|
showMaxButton: {
|
|
15714
15714
|
description: "显示最大化按钮",
|
|
15715
15715
|
title: "显示最大化按钮",
|
|
15716
15716
|
type: "boolean",
|
|
15717
15717
|
visible: e.openType !== "Popup",
|
|
15718
|
-
$converter:
|
|
15718
|
+
$converter: un
|
|
15719
15719
|
},
|
|
15720
15720
|
showCloseButton: {
|
|
15721
15721
|
description: "显示关闭按钮",
|
|
15722
15722
|
title: "显示关闭按钮",
|
|
15723
15723
|
type: "boolean",
|
|
15724
15724
|
visible: e.openType !== "Popup",
|
|
15725
|
-
$converter:
|
|
15725
|
+
$converter: un
|
|
15726
15726
|
}
|
|
15727
15727
|
};
|
|
15728
15728
|
}
|
|
@@ -15977,7 +15977,7 @@ class ed extends Hu {
|
|
|
15977
15977
|
max: (((a = o == null ? void 0 : o.dialog) == null ? void 0 : a.width) ?? 960) - 200,
|
|
15978
15978
|
needValid: !0
|
|
15979
15979
|
},
|
|
15980
|
-
$converter:
|
|
15980
|
+
$converter: un
|
|
15981
15981
|
},
|
|
15982
15982
|
selectFirstNavItem: {
|
|
15983
15983
|
$converter: mt,
|
|
@@ -16292,7 +16292,7 @@ class ed extends Hu {
|
|
|
16292
16292
|
description: "帮助窗口尺寸配置",
|
|
16293
16293
|
title: "帮助窗口",
|
|
16294
16294
|
parentPropertyID: "dialog",
|
|
16295
|
-
$converter:
|
|
16295
|
+
$converter: un,
|
|
16296
16296
|
properties: o
|
|
16297
16297
|
};
|
|
16298
16298
|
}
|
|
@@ -16647,7 +16647,7 @@ function kb(e) {
|
|
|
16647
16647
|
compatInstance: d
|
|
16648
16648
|
};
|
|
16649
16649
|
}
|
|
16650
|
-
const Po = w(),
|
|
16650
|
+
const Po = w(), cn = "F_LOOKUP_HTTP_COMPOSITION_TOKEN";
|
|
16651
16651
|
function Bb(e, n) {
|
|
16652
16652
|
const t = Ie("FLoadingService"), o = Ie(Ea), a = Ie(Jc), l = kb(e), { pageInfoState: i, lookupState: r, navigationState: s, lookupOptions: c, searchValueChanged: d } = l, { searchFieldItems: u, navSearchFieldItems: v } = td(e, r, s), p = w(e.idValue), m = w(!1), h = _(() => !!(c.loader || a && a.getData || c.uri)), g = () => {
|
|
16653
16653
|
var ee;
|
|
@@ -17203,7 +17203,7 @@ function zi(e) {
|
|
|
17203
17203
|
return { sortChanged: t, sortInfo: n };
|
|
17204
17204
|
}
|
|
17205
17205
|
function id(e, n, t) {
|
|
17206
|
-
const o = Ie(No, w(It.dataList)), a = Ie(
|
|
17206
|
+
const o = Ie(No, w(It.dataList)), a = Ie(cn), l = Ie(lo), {
|
|
17207
17207
|
lookupStates: i,
|
|
17208
17208
|
loadData: r,
|
|
17209
17209
|
includeChilds: s,
|
|
@@ -17563,7 +17563,7 @@ function ud(e, n) {
|
|
|
17563
17563
|
};
|
|
17564
17564
|
}
|
|
17565
17565
|
function cd(e, n) {
|
|
17566
|
-
const t = Ie(No, w(It.dataList)), o = Ie(
|
|
17566
|
+
const t = Ie(No, w(It.dataList)), o = Ie(cn), {
|
|
17567
17567
|
lookupStates: a
|
|
17568
17568
|
} = o, {
|
|
17569
17569
|
lookupState: l,
|
|
@@ -17745,7 +17745,7 @@ const Mb = {
|
|
|
17745
17745
|
props: Mb,
|
|
17746
17746
|
emits: ["search"],
|
|
17747
17747
|
setup(e, n) {
|
|
17748
|
-
const t = '<i class="f-icon f-icon-search"></i>', o = Ie(
|
|
17748
|
+
const t = '<i class="f-icon f-icon-search"></i>', o = Ie(cn), {
|
|
17749
17749
|
queryState: a,
|
|
17750
17750
|
lookupOptions: l
|
|
17751
17751
|
} = o.lookupStates, i = w(e.fields || []), r = w(""), s = w(a.value), c = w(e.isNavigation), d = w(), u = w(!1), v = _(() => ({
|
|
@@ -22273,7 +22273,7 @@ const iS = /* @__PURE__ */ Me({
|
|
|
22273
22273
|
},
|
|
22274
22274
|
emits: ["search"],
|
|
22275
22275
|
setup(e, n) {
|
|
22276
|
-
const t = Ie(
|
|
22276
|
+
const t = Ie(cn), {
|
|
22277
22277
|
queryState: o,
|
|
22278
22278
|
lookupOptions: a
|
|
22279
22279
|
} = t.lookupStates, l = w(e.defaultValue);
|
|
@@ -22377,7 +22377,7 @@ function Wi(e, n, t, o) {
|
|
|
22377
22377
|
}
|
|
22378
22378
|
function rS(e, n) {
|
|
22379
22379
|
var Ce;
|
|
22380
|
-
const t = Ie(_o), o = Ie(
|
|
22380
|
+
const t = Ie(_o), o = Ie(cn), a = Ie(ao), {
|
|
22381
22381
|
loadData: l,
|
|
22382
22382
|
lookupStates: i,
|
|
22383
22383
|
expandAllNodes: r,
|
|
@@ -22625,7 +22625,7 @@ const cS = /* @__PURE__ */ Me({
|
|
|
22625
22625
|
emits: ["update:modelValue", "search", "navSelectionsChanged", "pageIndexChanged", "pageSizeChanged", "changeDialogOptions", "clearSearch", "dblClickRow"],
|
|
22626
22626
|
setup(e, n) {
|
|
22627
22627
|
Ie(No, w(It.dataList));
|
|
22628
|
-
const t = Ie(
|
|
22628
|
+
const t = Ie(cn), o = Ie(ao), {
|
|
22629
22629
|
lookupStates: a,
|
|
22630
22630
|
getIdQueryParams: l
|
|
22631
22631
|
} = t, {
|
|
@@ -22731,7 +22731,7 @@ const cS = /* @__PURE__ */ Me({
|
|
|
22731
22731
|
const t = Ie(_o), {
|
|
22732
22732
|
userDataState: o,
|
|
22733
22733
|
getFavoriteData: a
|
|
22734
|
-
} = Ie(Va), l = Ie(No, w(It.dataList)), i = Ie(lo), r = Ie(
|
|
22734
|
+
} = Ie(Va), l = Ie(No, w(It.dataList)), i = Ie(lo), r = Ie(cn), {
|
|
22735
22735
|
lookupStates: s,
|
|
22736
22736
|
expandAllNodes: c
|
|
22737
22737
|
} = r, d = Ro(s.lookupOptions), u = _(() => s.lookupOptions.idField || "id"), v = w(e.selectedIds), {
|
|
@@ -22868,7 +22868,7 @@ const cS = /* @__PURE__ */ Me({
|
|
|
22868
22868
|
}, vS = /* @__PURE__ */ Me({
|
|
22869
22869
|
props: mS,
|
|
22870
22870
|
setup(e, n) {
|
|
22871
|
-
const t = Ie("FMessageBoxService"), o = Ie(lo), a = Ie(
|
|
22871
|
+
const t = Ie("FMessageBoxService"), o = Ie(lo), a = Ie(cn), {
|
|
22872
22872
|
lookupState: l,
|
|
22873
22873
|
selectionState: i,
|
|
22874
22874
|
lookupOptions: r
|
|
@@ -23084,7 +23084,7 @@ const cS = /* @__PURE__ */ Me({
|
|
|
23084
23084
|
emits: ["closeModal", "maximize"],
|
|
23085
23085
|
setup(e, n) {
|
|
23086
23086
|
const t = w(It.dataList);
|
|
23087
|
-
wt(No, t), wt(
|
|
23087
|
+
wt(No, t), wt(cn, e.useHttpComposition), wt(Va, e.userDataService), wt(lo, e.selectionsManager), wt(ao, e.locales);
|
|
23088
23088
|
const {
|
|
23089
23089
|
tabs: o,
|
|
23090
23090
|
buttons: a,
|
|
@@ -23608,7 +23608,7 @@ function TS(e, n, t, {
|
|
|
23608
23608
|
runDictPickedAsync: d,
|
|
23609
23609
|
popupState: u
|
|
23610
23610
|
}) {
|
|
23611
|
-
wt(Va, l), wt(
|
|
23611
|
+
wt(Va, l), wt(cn, o), wt(lo, a);
|
|
23612
23612
|
const {
|
|
23613
23613
|
selectionState: v,
|
|
23614
23614
|
queryState: p,
|
|
@@ -25689,7 +25689,7 @@ function dw(e) {
|
|
|
25689
25689
|
function fw(e) {
|
|
25690
25690
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Jt(e);
|
|
25691
25691
|
}
|
|
25692
|
-
const
|
|
25692
|
+
const gn = /* @__PURE__ */ Me({
|
|
25693
25693
|
name: "FEventParameter",
|
|
25694
25694
|
props: tw,
|
|
25695
25695
|
emits: ["valueChange", "onBlur", "applicationSelectionChange", "componentSelectionChange", "parameterChanged", "update:modelValue", "update:parameterValue", "confirm"],
|
|
@@ -25951,14 +25951,14 @@ const vn = /* @__PURE__ */ Me({
|
|
|
25951
25951
|
};
|
|
25952
25952
|
}
|
|
25953
25953
|
});
|
|
25954
|
-
|
|
25955
|
-
e.component(
|
|
25954
|
+
gn.install = (e) => {
|
|
25955
|
+
e.component(gn.name, gn);
|
|
25956
25956
|
};
|
|
25957
|
-
|
|
25958
|
-
e["event-parameter"] =
|
|
25957
|
+
gn.register = (e, n, t, o) => {
|
|
25958
|
+
e["event-parameter"] = gn, n["event-parameter"] = gn;
|
|
25959
25959
|
};
|
|
25960
|
-
|
|
25961
|
-
e["event-parameter"] =
|
|
25960
|
+
gn.registerDesigner = (e, n, t) => {
|
|
25961
|
+
e["event-parameter"] = gn, n["event-parameter"] = gn;
|
|
25962
25962
|
};
|
|
25963
25963
|
const pw = {
|
|
25964
25964
|
injectSymbolToken: { type: Symbol },
|
|
@@ -32761,7 +32761,7 @@ function bT(e, n, t, o, a, l, i, r, s, c, d, u, v, p, m, h, g) {
|
|
|
32761
32761
|
var pe;
|
|
32762
32762
|
const Ke = ((pe = e.fieldsResolver) == null ? void 0 : pe.call(e, $e.raw)) ?? null;
|
|
32763
32763
|
let nt = Ke || [];
|
|
32764
|
-
const vt = g.value.filter((ye) => ye.visible && ye.dataType !==
|
|
32764
|
+
const vt = g.value.filter((ye) => ye.visible && ye.dataType !== vn && ye.dataType !== mn);
|
|
32765
32765
|
return Ke || vt.length > 0 && (nt = vt.map((ye) => y(ye))), (!ke || Object.keys(ke).length === 0) && (ke = T(nt)), Se[$e.type]($e, ke, st, nt, Ke, vt);
|
|
32766
32766
|
});
|
|
32767
32767
|
}
|
|
@@ -32945,27 +32945,30 @@ const Kd = /* @__PURE__ */ Me({
|
|
|
32945
32945
|
renderGroupPanel: Vt
|
|
32946
32946
|
} = Mf(l, E, xe, P, ge);
|
|
32947
32947
|
let Et = null, Tt = null;
|
|
32948
|
-
function
|
|
32948
|
+
function sn() {
|
|
32949
32949
|
x.value && (Tt !== null && cancelAnimationFrame(Tt), Tt = requestAnimationFrame(() => {
|
|
32950
32950
|
Tt = null;
|
|
32951
32951
|
const X = S.value;
|
|
32952
|
-
X.length &&
|
|
32952
|
+
X.length && De.recalculateRowHeights(X) && (S.value = [...X]);
|
|
32953
32953
|
}));
|
|
32954
32954
|
}
|
|
32955
|
+
se(() => S.value.length, () => {
|
|
32956
|
+
sn();
|
|
32957
|
+
});
|
|
32955
32958
|
function En() {
|
|
32956
32959
|
var ue;
|
|
32957
32960
|
if (!g.value)
|
|
32958
32961
|
return;
|
|
32959
32962
|
const X = Math.ceil(g.value.clientHeight / d.value);
|
|
32960
|
-
X > v.value && (v.value = X, Ze()), Pe.value = ((ue = y.value) == null ? void 0 : ue.clientHeight) || 0, le.value = g.value.clientWidth || 0, y.value && (Xe.value = y.value.clientWidth), bt(),
|
|
32963
|
+
X > v.value && (v.value = X, Ze()), Pe.value = ((ue = y.value) == null ? void 0 : ue.clientHeight) || 0, le.value = g.value.clientWidth || 0, y.value && (Xe.value = y.value.clientWidth), bt(), sn();
|
|
32961
32964
|
}
|
|
32962
|
-
function
|
|
32965
|
+
function dn() {
|
|
32963
32966
|
Et !== null && cancelAnimationFrame(Et), Et = requestAnimationFrame(() => {
|
|
32964
32967
|
Et = null, En();
|
|
32965
32968
|
});
|
|
32966
32969
|
}
|
|
32967
32970
|
at(() => {
|
|
32968
|
-
g.value && (v.value = Math.max(Math.ceil(g.value.clientHeight / d.value), v.value), S.value = be(0, ee.value + c - 1), Zr(g.value,
|
|
32971
|
+
g.value && (v.value = Math.max(Math.ceil(g.value.clientHeight / d.value), v.value), S.value = be(0, ee.value + c - 1), Zr(g.value, dn), bt(), sn(), dt(() => {
|
|
32969
32972
|
g.value && (le.value = g.value.clientWidth), y.value && (Xe.value = y.value.clientWidth, Pe.value = y.value.clientHeight);
|
|
32970
32973
|
})), k.value && D();
|
|
32971
32974
|
}), Mt(() => {
|
|
@@ -33033,7 +33036,7 @@ const Kd = /* @__PURE__ */ Me({
|
|
|
33033
33036
|
savedOffsetY: _e,
|
|
33034
33037
|
resetScroll: Se,
|
|
33035
33038
|
scrollTo: ge.scrollTo
|
|
33036
|
-
}), S.value.length || (G.value = []), he.value && V.value && q();
|
|
33039
|
+
}), sn(), S.value.length || (G.value = []), he.value && V.value && q();
|
|
33037
33040
|
}
|
|
33038
33041
|
}
|
|
33039
33042
|
se(E.shouldGroupingData, (X, ue) => {
|
|
@@ -33188,7 +33191,7 @@ const Kd = /* @__PURE__ */ Me({
|
|
|
33188
33191
|
renderDataArea: fl
|
|
33189
33192
|
} = hT(t, a, y, b, C, Ve, et, K, ve, P, co, re, me, ge, S, E), {
|
|
33190
33193
|
renderDataArea: pl
|
|
33191
|
-
} = bT(t, a, y, b, C, Ve, et, K, ve, P, co, re, me, ge, S, E, p),
|
|
33194
|
+
} = bT(t, a, y, b, C, Ve, et, K, ve, P, co, re, me, ge, S, E, p), fn = _(() => !S.value || !S.value.length), {
|
|
33192
33195
|
renderEmpty: fo
|
|
33193
33196
|
} = hs(l, a), ml = _(() => ({
|
|
33194
33197
|
"d-flex": !0,
|
|
@@ -33217,7 +33220,7 @@ const Kd = /* @__PURE__ */ Me({
|
|
|
33217
33220
|
class: "f-form-layout farris-form farris-form-controls-inline col-12 col-md-6 col-xl-3 col-el-2"
|
|
33218
33221
|
}, CT(ue = Object.keys(X.data).filter((Ee) => {
|
|
33219
33222
|
var _e, Ge;
|
|
33220
|
-
return ((_e = X.data[Ee].column) == null ? void 0 : _e.dataType) !==
|
|
33223
|
+
return ((_e = X.data[Ee].column) == null ? void 0 : _e.dataType) !== mn && ((Ge = X.data[Ee].column) == null ? void 0 : Ge.dataType) !== vn;
|
|
33221
33224
|
}).map((Ee) => {
|
|
33222
33225
|
var Ge, Ye;
|
|
33223
33226
|
const _e = X.data[Ee];
|
|
@@ -33239,7 +33242,7 @@ const Kd = /* @__PURE__ */ Me({
|
|
|
33239
33242
|
const Ee = {}, _e = {}, Ge = [], Ye = [], He = {};
|
|
33240
33243
|
Object.keys(ue.data).filter((yt) => {
|
|
33241
33244
|
var ct, kt;
|
|
33242
|
-
return ((ct = ue.data[yt].column) == null ? void 0 : ct.dataType) !==
|
|
33245
|
+
return ((ct = ue.data[yt].column) == null ? void 0 : ct.dataType) !== mn && ((kt = ue.data[yt].column) == null ? void 0 : kt.dataType) !== vn;
|
|
33243
33246
|
}).forEach((yt) => {
|
|
33244
33247
|
var kt, Zt, tr;
|
|
33245
33248
|
const ct = ue.data[yt];
|
|
@@ -33296,7 +33299,7 @@ const Kd = /* @__PURE__ */ Me({
|
|
|
33296
33299
|
} : {
|
|
33297
33300
|
width: "max-content",
|
|
33298
33301
|
minWidth: "100%"
|
|
33299
|
-
}, ue = Fe.value && p.value.length > 0 ? pe() : null, Ee = Go(), _e =
|
|
33302
|
+
}, ue = Fe.value && p.value.length > 0 ? pe() : null, Ee = Go(), _e = fn.value ? fo() : null, Ge = O.value || A.value, Ye = (((He = S.value) == null ? void 0 : He.length) ?? 0) > 0 ? "auto" : "visible";
|
|
33300
33303
|
return Ge ? f("div", {
|
|
33301
33304
|
style: {
|
|
33302
33305
|
...X,
|
|
@@ -33320,11 +33323,11 @@ const Kd = /* @__PURE__ */ Me({
|
|
|
33320
33323
|
}
|
|
33321
33324
|
function Cl(X, ue) {
|
|
33322
33325
|
const Ee = X.map((He) => He.id), _e = [...p.value, ...i, ...r];
|
|
33323
|
-
_e.filter((He) => He.dataType !==
|
|
33326
|
+
_e.filter((He) => He.dataType !== mn && He.dataType !== vn).forEach((He) => {
|
|
33324
33327
|
const yt = X.find((ct) => ct.id === He.id);
|
|
33325
33328
|
yt && (He.width = yt.actualWidth || He.width || 120, yt.actualWidth !== void 0 && (He.actualWidth = yt.actualWidth), He.title = yt.title, He.halign = yt.halign, He.align = yt.align);
|
|
33326
|
-
}), r = _e.filter((He) => He.dataType ===
|
|
33327
|
-
const Ge = _e.filter((He) => He.dataType !==
|
|
33329
|
+
}), r = _e.filter((He) => He.dataType === mn || He.dataType === vn);
|
|
33330
|
+
const Ge = _e.filter((He) => He.dataType !== mn && He.dataType !== vn), Ye = Ge.filter((He) => Ee.includes(He.id));
|
|
33328
33331
|
i = Ge.filter((He) => !Ee.includes(He.id)), Ye.sort((He, yt) => {
|
|
33329
33332
|
const ct = X.findIndex((Zt) => Zt.id === He.id), kt = X.findIndex((Zt) => Zt.id === yt.id);
|
|
33330
33333
|
return ct - kt;
|
|
@@ -33348,7 +33351,7 @@ const Kd = /* @__PURE__ */ Me({
|
|
|
33348
33351
|
onMouseleave: (Ee) => {
|
|
33349
33352
|
Ee.stopPropagation(), F.value !== "always" && T.value && !u.value && (T.value = !1);
|
|
33350
33353
|
}
|
|
33351
|
-
}, [g.value && u.value ? bl() : [g.value && !u.value && rt(S), g.value && Go(), g.value &&
|
|
33354
|
+
}, [g.value && u.value ? bl() : [g.value && !u.value && rt(S), g.value && Go(), g.value && fn.value && !u.value && fo()], g.value && Ot(), g.value && !fn.value && Qt()]), g.value && (Ft.value === "bottom" || Ft.value === "both") && !u.value && Dt(), (M.value || U.value) && !u.value && f("div", {
|
|
33352
33355
|
class: ml.value,
|
|
33353
33356
|
style: vl.value
|
|
33354
33357
|
}, [U.value && f("div", {
|
|
@@ -34225,7 +34228,7 @@ export {
|
|
|
34225
34228
|
Rl as FDesignerItem,
|
|
34226
34229
|
pP as FDesignerOutline,
|
|
34227
34230
|
mP as FDesignerToolbox,
|
|
34228
|
-
|
|
34231
|
+
gn as FEventParameter,
|
|
34229
34232
|
VP as FFlowCanvas,
|
|
34230
34233
|
ug as FPropertyPanel,
|
|
34231
34234
|
Ur as FSchemaSelector,
|