@gisce/react-ooui 2.115.0-alpha.8 → 2.115.0-alpha.9
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/dist/react-ooui.es.js
CHANGED
|
@@ -2,10 +2,10 @@ var Od = Object.defineProperty;
|
|
|
2
2
|
var kd = (t, e, n) => e in t ? Od(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var ys = (t, e, n) => (kd(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
4
|
import { jsx as i, jsxs as j, Fragment as Fe } from "react/jsx-runtime";
|
|
5
|
-
import an, { useContext as Ae, useState as I, useEffect as ce, useRef as K, memo as it, useCallback as T, useMemo as z, forwardRef as Ht, useImperativeHandle as Yt, Fragment as
|
|
6
|
-
import { Tooltip as Wt, theme as at, Typography as Kt, Form as At, Row as st, Col as Ke, Modal as Pt, Button as Je, Dropdown as Ti, Menu as Ma, Space as ht, Spin as ct, Divider as po, Input as St, Select as
|
|
5
|
+
import an, { useContext as Ae, useState as I, useEffect as ce, useRef as K, memo as it, useCallback as T, useMemo as z, forwardRef as Ht, useImperativeHandle as Yt, Fragment as Un, createContext as Dd, createElement as Md } from "react";
|
|
6
|
+
import { Tooltip as Wt, theme as at, Typography as Kt, Form as At, Row as st, Col as Ke, Modal as Pt, Button as Je, Dropdown as Ti, Menu as Ma, Space as ht, Spin as ct, Divider as po, Input as St, Select as Wn, Checkbox as Sr, Alert as Lt, Timeline as Na, Progress as $a, Badge as Rn, message as vs, Popover as Nd, Avatar as _i, Tag as Ii, ColorPicker as Pa, DatePicker as $d, TimePicker as Pd, InputNumber as Dr, Layout as La, Pagination as Ld, Empty as to, Statistic as Vd, Card as Mr, QRCode as Bd, Tabs as Va, Mentions as Hd, Radio as bs, Switch as jd, Steps as ws, Carousel as Ud } from "antd";
|
|
7
7
|
import { Label as cr, Field as ri, Tree as Ba, Tags as Cs, Reference as xs, Selection as Ai, Many2one as Ha, Boolean as Wd, parseContext as In, graphProcessor as ja, graphFieldUtils as qd, parseContextFields as Yd, parseDomainFields as Gd, Integer as oi, SearchFieldTypes as _n, SearchFilter as Ua, parseGraph as Wa, Container as zd, Form as qa, transformDomainForChildWidget as Fi, KanbanCard as Kd, Button as Ya, Kanban as Ga } from "@gisce/ooui";
|
|
8
|
-
import Jd, { QuestionCircleOutlined as za, ExclamationCircleOutlined as ho, LoadingOutlined as Gt, DownOutlined as Nr, CloseOutlined as
|
|
8
|
+
import Jd, { QuestionCircleOutlined as za, ExclamationCircleOutlined as ho, LoadingOutlined as Gt, DownOutlined as Nr, CloseOutlined as En, CheckOutlined as dr, TranslationOutlined as Ka, FolderOpenOutlined as Ri, DownloadOutlined as Ei, ClearOutlined as ur, FormOutlined as Tr, TableOutlined as Oi, AreaChartOutlined as Xd, CalendarOutlined as Qd, BorderOuterOutlined as Ja, FileAddOutlined as go, CloseCircleFilled as Zd, FilterOutlined as er, EditOutlined as ki, CopyOutlined as $r, DeleteOutlined as Di, InfoCircleOutlined as yo, ReloadOutlined as vo, ThunderboltOutlined as bo, PrinterOutlined as wo, ExportOutlined as Mi, EnterOutlined as Co, SearchOutlined as Pr, SaveOutlined as ii, PlusOutlined as no, UpOutlined as eu, PlusSquareOutlined as Xa, MinusSquareOutlined as Qa, StarFilled as tu, StarOutlined as nu, LeftOutlined as Za, RightOutlined as el, ApiOutlined as ru, AlignLeftOutlined as ou, EyeOutlined as iu, LinkOutlined as Ss, MessageOutlined as su, SendOutlined as au, SettingOutlined as lu, EllipsisOutlined as cu } from "@ant-design/icons";
|
|
9
9
|
import { Interweave as hn } from "interweave";
|
|
10
10
|
import vt from "dayjs";
|
|
11
11
|
import { default as ax } from "dayjs";
|
|
@@ -17,7 +17,7 @@ import pu from "dayjs/plugin/duration";
|
|
|
17
17
|
import hu from "dayjs/plugin/relativeTime";
|
|
18
18
|
import gu from "dayjs/plugin/weekday";
|
|
19
19
|
import yu from "dayjs/plugin/localeData";
|
|
20
|
-
import { useLocale as Ee, Icon as _r, iconMapper as Mt, useNotificationContext as vu, FormigaConfigProvider as bu, mergeStrings as wu, Dropdown as tl, ToggleDropdownButton as Cu, getTablerIcon as
|
|
20
|
+
import { useLocale as Ee, Icon as _r, iconMapper as Mt, useNotificationContext as vu, FormigaConfigProvider as bu, mergeStrings as wu, Dropdown as tl, ToggleDropdownButton as Cu, getTablerIcon as On, DropdownButton as bn, Many2OneSuffix as xu, Many2OneSuffixModal as Ts, DateValue as Su, DateTimeValue as Tu, useDatePickerLocale as _u, SkeletonPill as Iu, PaginationHeader as Au, FieldSet as nl, ExportModal as Fu, DateInput as Ru, HTMLPreview as Eu, FavouriteButton as Ou } from "@gisce/react-formiga-components";
|
|
21
21
|
import ku from "antd/lib/input/TextArea";
|
|
22
22
|
import Ft from "styled-components";
|
|
23
23
|
import Ni from "react-measure";
|
|
@@ -37,7 +37,7 @@ import An from "antd/es/alert/ErrorBoundary";
|
|
|
37
37
|
import "@gisce/react-formiga-table/style.css";
|
|
38
38
|
import { GridUi as ju } from "@gisce/fiber-diagram";
|
|
39
39
|
import Uu from "tinycolor2";
|
|
40
|
-
import { useHotkeys as
|
|
40
|
+
import { useHotkeys as $n } from "react-hotkeys-hook";
|
|
41
41
|
import Wu from "validator/lib/isURL";
|
|
42
42
|
import qu from "validator/lib/isEmail";
|
|
43
43
|
import Yu from "react-markdown";
|
|
@@ -798,7 +798,7 @@ const gl = (t) => {
|
|
|
798
798
|
/* @__PURE__ */ i(
|
|
799
799
|
Je,
|
|
800
800
|
{
|
|
801
|
-
icon: /* @__PURE__ */ i(
|
|
801
|
+
icon: /* @__PURE__ */ i(En, {}),
|
|
802
802
|
onClick: n,
|
|
803
803
|
disabled: p,
|
|
804
804
|
children: l("cancel")
|
|
@@ -838,7 +838,7 @@ function Dt(t) {
|
|
|
838
838
|
const { tooltip: e, ...n } = t;
|
|
839
839
|
return /* @__PURE__ */ i(Wt, { title: e, children: /* @__PURE__ */ i(Je, { ...n }) });
|
|
840
840
|
}
|
|
841
|
-
const { info: Tf } = Pt,
|
|
841
|
+
const { info: Tf } = Pt, Ln = (t) => {
|
|
842
842
|
Tf({
|
|
843
843
|
title: "",
|
|
844
844
|
centered: !0,
|
|
@@ -952,7 +952,7 @@ const wl = it(
|
|
|
952
952
|
[r]
|
|
953
953
|
), b = T(() => {
|
|
954
954
|
if (l != null && l()) {
|
|
955
|
-
|
|
955
|
+
Ln(m("saveBeforeTranslate"));
|
|
956
956
|
return;
|
|
957
957
|
}
|
|
958
958
|
u(!0);
|
|
@@ -1031,7 +1031,7 @@ const Ff = Ft(St)`
|
|
|
1031
1031
|
&.ant-input-affix-wrapper {
|
|
1032
1032
|
background-color: ${Vi.colorPrimaryBg};
|
|
1033
1033
|
}
|
|
1034
|
-
`, { defaultAlgorithm: Of, defaultSeed: kf } = at, Df = Of(kf), { Option: Mf } =
|
|
1034
|
+
`, { defaultAlgorithm: Of, defaultSeed: kf } = at, Df = Of(kf), { Option: Mf } = Wn, xl = (t) => {
|
|
1035
1035
|
const { ooui: e } = t, { required: n } = e;
|
|
1036
1036
|
return /* @__PURE__ */ i(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ i(Sl, { ...t }) });
|
|
1037
1037
|
}, Sl = (t) => {
|
|
@@ -1040,7 +1040,7 @@ const Ff = Ft(St)`
|
|
|
1040
1040
|
return /* @__PURE__ */ i(Mf, { value: u, children: m }, u);
|
|
1041
1041
|
});
|
|
1042
1042
|
return /* @__PURE__ */ i(
|
|
1043
|
-
a && !s ? Nf :
|
|
1043
|
+
a && !s ? Nf : Wn,
|
|
1044
1044
|
{
|
|
1045
1045
|
disabled: s,
|
|
1046
1046
|
onChange: n,
|
|
@@ -1052,7 +1052,7 @@ const Ff = Ft(St)`
|
|
|
1052
1052
|
children: l
|
|
1053
1053
|
}
|
|
1054
1054
|
);
|
|
1055
|
-
}, Nf = Ft(
|
|
1055
|
+
}, Nf = Ft(Wn)`
|
|
1056
1056
|
&.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
1057
1057
|
background-color: ${Df.colorPrimaryBg};
|
|
1058
1058
|
}
|
|
@@ -1648,7 +1648,7 @@ const Ol = ({
|
|
|
1648
1648
|
} else
|
|
1649
1649
|
n[r] = t[r];
|
|
1650
1650
|
}), n;
|
|
1651
|
-
},
|
|
1651
|
+
}, Nn = (t, e) => em(t, e), Gr = ({
|
|
1652
1652
|
source: t,
|
|
1653
1653
|
target: e,
|
|
1654
1654
|
fields: n
|
|
@@ -1726,7 +1726,7 @@ const Ol = ({
|
|
|
1726
1726
|
} else
|
|
1727
1727
|
r[o] = !1;
|
|
1728
1728
|
}), r;
|
|
1729
|
-
},
|
|
1729
|
+
}, Bn = (t) => {
|
|
1730
1730
|
const e = {
|
|
1731
1731
|
primary: [],
|
|
1732
1732
|
secondary: []
|
|
@@ -1876,7 +1876,7 @@ const qn = ({
|
|
|
1876
1876
|
return /* @__PURE__ */ j(Fe, { children: [
|
|
1877
1877
|
/* @__PURE__ */ i(Na, { style: { padding: "1rem" }, items: O }),
|
|
1878
1878
|
/* @__PURE__ */ i(
|
|
1879
|
-
|
|
1879
|
+
Dn,
|
|
1880
1880
|
{
|
|
1881
1881
|
formView: n.get("form"),
|
|
1882
1882
|
model: g,
|
|
@@ -2381,7 +2381,7 @@ const qn = ({
|
|
|
2381
2381
|
"useConfigContext must be used within a ConfigContextProvider"
|
|
2382
2382
|
);
|
|
2383
2383
|
return t;
|
|
2384
|
-
},
|
|
2384
|
+
}, Hn = (t) => {
|
|
2385
2385
|
const { userFeatures: e } = Jt();
|
|
2386
2386
|
return !!e.features[t];
|
|
2387
2387
|
}, zt = (t) => {
|
|
@@ -3737,7 +3737,7 @@ async function qi(t, e, n) {
|
|
|
3737
3737
|
model: t,
|
|
3738
3738
|
ids: [e]
|
|
3739
3739
|
}))[0], { create_date: o, create_uid: s, id: a, write_date: d, write_uid: l } = r;
|
|
3740
|
-
|
|
3740
|
+
Ln(
|
|
3741
3741
|
/* @__PURE__ */ j("div", { children: [
|
|
3742
3742
|
"ID: " + a,
|
|
3743
3743
|
" ",
|
|
@@ -3959,7 +3959,7 @@ const { useToken: Xm } = at, Qm = (t) => {
|
|
|
3959
3959
|
(V = u == null ? void 0 : u.current) == null || V.close(), l == null || l();
|
|
3960
3960
|
}, [l]);
|
|
3961
3961
|
return /* @__PURE__ */ i(
|
|
3962
|
-
|
|
3962
|
+
Rn,
|
|
3963
3963
|
{
|
|
3964
3964
|
count: (r == null ? void 0 : r.length) || 0,
|
|
3965
3965
|
color: f.colorPrimary,
|
|
@@ -4302,7 +4302,7 @@ const { useToken: Xm } = at, Qm = (t) => {
|
|
|
4302
4302
|
}
|
|
4303
4303
|
),
|
|
4304
4304
|
/* @__PURE__ */ i(
|
|
4305
|
-
|
|
4305
|
+
Dn,
|
|
4306
4306
|
{
|
|
4307
4307
|
buttonModal: !0,
|
|
4308
4308
|
parentContext: v.context,
|
|
@@ -4523,7 +4523,7 @@ const np = "action", rp = ["active_id", "active_ids", "id"], op = ["target", "co
|
|
|
4523
4523
|
return Object.keys(o).length > 0 ? o : void 0;
|
|
4524
4524
|
}, tc = (t) => !t || typeof t != "object" ? {} : Object.fromEntries(
|
|
4525
4525
|
Object.entries(t).filter(([e]) => rp.includes(e))
|
|
4526
|
-
), ap =
|
|
4526
|
+
), ap = On("IconExternalLink"), lp = On("IconShare2");
|
|
4527
4527
|
function Ao({ res_id: t, searchParams: e }) {
|
|
4528
4528
|
const n = K(null), { currentView: r, limit: o, currentPage: s, order: a } = Vt(), d = {
|
|
4529
4529
|
id: r.view_id,
|
|
@@ -4773,14 +4773,14 @@ function cp({
|
|
|
4773
4773
|
(ae = h == null ? void 0 : h.current) == null || ae.refreshResults();
|
|
4774
4774
|
}, 0);
|
|
4775
4775
|
}
|
|
4776
|
-
}, [E, R, h]),
|
|
4776
|
+
}, [E, R, h]), $n(
|
|
4777
4777
|
"ctrl+l,command+l",
|
|
4778
4778
|
() => {
|
|
4779
4779
|
F && k && (A == null || A(d), l == null || l(k));
|
|
4780
4780
|
},
|
|
4781
4781
|
{ enableOnFormTags: !0, preventDefault: !0 },
|
|
4782
4782
|
[k, d, F, A, l]
|
|
4783
|
-
),
|
|
4783
|
+
), $n(
|
|
4784
4784
|
"ctrl+f,command+f",
|
|
4785
4785
|
() => {
|
|
4786
4786
|
F && (S == null || S(!C));
|
|
@@ -5377,7 +5377,7 @@ const gp = (t) => /* @__PURE__ */ i(tt, { ...t, children: /* @__PURE__ */ i(ac,
|
|
|
5377
5377
|
}
|
|
5378
5378
|
];
|
|
5379
5379
|
}, [d, t]);
|
|
5380
|
-
return /* @__PURE__ */ j(
|
|
5380
|
+
return /* @__PURE__ */ j(Un, { children: [
|
|
5381
5381
|
/* @__PURE__ */ i(
|
|
5382
5382
|
xu,
|
|
5383
5383
|
{
|
|
@@ -5461,7 +5461,7 @@ const gp = (t) => /* @__PURE__ */ i(tt, { ...t, children: /* @__PURE__ */ i(ac,
|
|
|
5461
5461
|
ids: [e],
|
|
5462
5462
|
fieldsToRetrieve: N,
|
|
5463
5463
|
context: r
|
|
5464
|
-
})) == null ? void 0 : k[0] }), O = { ...
|
|
5464
|
+
})) == null ? void 0 : k[0] }), O = { ...Nn(O, x), active_id: e }, d(O), A ? {
|
|
5465
5465
|
actionItems: A.action,
|
|
5466
5466
|
relateItems: A.relate,
|
|
5467
5467
|
printItems: A.print
|
|
@@ -5544,7 +5544,7 @@ const gp = (t) => /* @__PURE__ */ i(tt, { ...t, children: /* @__PURE__ */ i(ac,
|
|
|
5544
5544
|
};
|
|
5545
5545
|
var wn = /* @__PURE__ */ ((t) => (t.FEATURE_MANY2ONE_DISABLE_ARROW_MENU = "widget.many2one.disable.arrow_menu", t.FEATURE_MANY2ONE_DISABLE_FOLDER = "widget.many2one.disable.folder", t.FEATURE_ONE2MANY_ENABLE_NEW_TABLE = "widget.one2many.enable_new_table", t.FEATURE_TEST_FEATURE = "test.feature", t))(wn || {});
|
|
5546
5546
|
const ex = Object.values(wn), xp = (t) => {
|
|
5547
|
-
const { m2oField: e, ooui: n } = t, r =
|
|
5547
|
+
const { m2oField: e, ooui: n } = t, r = Hn(
|
|
5548
5548
|
wn.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
|
|
5549
5549
|
), o = z(() => {
|
|
5550
5550
|
let s = !0;
|
|
@@ -5555,7 +5555,7 @@ const ex = Object.values(wn), xp = (t) => {
|
|
|
5555
5555
|
o && /* @__PURE__ */ i(Fr, { id: e.id, model: e.model })
|
|
5556
5556
|
] }) : /* @__PURE__ */ i(Fe, {});
|
|
5557
5557
|
}, Sp = (t) => {
|
|
5558
|
-
const { value: e, selectionValues: n } = t, r =
|
|
5558
|
+
const { value: e, selectionValues: n } = t, r = Hn(
|
|
5559
5559
|
wn.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
|
|
5560
5560
|
);
|
|
5561
5561
|
if (!e || !e.model || !e.name)
|
|
@@ -5739,7 +5739,7 @@ const Ip = (t) => /* @__PURE__ */ i(tt, { ...t, children: /* @__PURE__ */ i(lc,
|
|
|
5739
5739
|
]
|
|
5740
5740
|
}
|
|
5741
5741
|
);
|
|
5742
|
-
},
|
|
5742
|
+
}, kn = an.createContext(
|
|
5743
5743
|
null
|
|
5744
5744
|
), Fp = ({
|
|
5745
5745
|
children: t,
|
|
@@ -5747,7 +5747,7 @@ const Ip = (t) => /* @__PURE__ */ i(tt, { ...t, children: /* @__PURE__ */ i(lc,
|
|
|
5747
5747
|
}) => {
|
|
5748
5748
|
const [n, r] = I(e), [o, s] = I(0), [a, d] = I(!1), [l, c] = I(void 0);
|
|
5749
5749
|
return /* @__PURE__ */ i(
|
|
5750
|
-
|
|
5750
|
+
kn.Provider,
|
|
5751
5751
|
{
|
|
5752
5752
|
value: {
|
|
5753
5753
|
currentView: n,
|
|
@@ -5762,7 +5762,7 @@ const Ip = (t) => /* @__PURE__ */ i(tt, { ...t, children: /* @__PURE__ */ i(lc,
|
|
|
5762
5762
|
children: t
|
|
5763
5763
|
}
|
|
5764
5764
|
);
|
|
5765
|
-
}, dc = () => Ae(
|
|
5765
|
+
}, dc = () => Ae(kn), Rp = ({
|
|
5766
5766
|
value: t
|
|
5767
5767
|
}) => z(
|
|
5768
5768
|
() => /* @__PURE__ */ i(
|
|
@@ -6014,7 +6014,7 @@ const Rr = ({
|
|
|
6014
6014
|
},
|
|
6015
6015
|
[a]
|
|
6016
6016
|
), b = T(
|
|
6017
|
-
(S) => an.createElement(
|
|
6017
|
+
(S) => an.createElement(Rn, { color: S, style: { marginLeft: 7 } }),
|
|
6018
6018
|
[]
|
|
6019
6019
|
), v = T(
|
|
6020
6020
|
(S) => {
|
|
@@ -6510,7 +6510,7 @@ function lh(t) {
|
|
|
6510
6510
|
)
|
|
6511
6511
|
] });
|
|
6512
6512
|
}
|
|
6513
|
-
const { defaultAlgorithm: ch, defaultSeed: dh } = at, uh = ch(dh), { Option: fh } =
|
|
6513
|
+
const { defaultAlgorithm: ch, defaultSeed: dh } = at, uh = ch(dh), { Option: fh } = Wn, mh = (t) => {
|
|
6514
6514
|
const { ooui: e } = t, { required: n } = e;
|
|
6515
6515
|
return /* @__PURE__ */ i(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ i(ph, { ...t }) });
|
|
6516
6516
|
}, ph = (t) => {
|
|
@@ -6520,7 +6520,7 @@ const { defaultAlgorithm: ch, defaultSeed: dh } = at, uh = ch(dh), { Option: fh
|
|
|
6520
6520
|
}).map((u) => {
|
|
6521
6521
|
const [m, p] = u;
|
|
6522
6522
|
return /* @__PURE__ */ i(fh, { value: p, children: p }, m);
|
|
6523
|
-
}), c = a && !s ? hh :
|
|
6523
|
+
}), c = a && !s ? hh : Wn;
|
|
6524
6524
|
function f(u) {
|
|
6525
6525
|
const m = u.map((p) => {
|
|
6526
6526
|
const g = d.find(([, h]) => p === h);
|
|
@@ -6542,7 +6542,7 @@ const { defaultAlgorithm: ch, defaultSeed: dh } = at, uh = ch(dh), { Option: fh
|
|
|
6542
6542
|
children: l
|
|
6543
6543
|
}
|
|
6544
6544
|
);
|
|
6545
|
-
}, hh = Ft(
|
|
6545
|
+
}, hh = Ft(Wn)`
|
|
6546
6546
|
&.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
6547
6547
|
background-color: ${uh.colorPrimaryBg};
|
|
6548
6548
|
}
|
|
@@ -6707,7 +6707,7 @@ const { useToken: gh } = at, { Title: yh } = Kt, { Header: vh, Content: bh, Foot
|
|
|
6707
6707
|
Je,
|
|
6708
6708
|
{
|
|
6709
6709
|
type: "text",
|
|
6710
|
-
icon: /* @__PURE__ */ i(
|
|
6710
|
+
icon: /* @__PURE__ */ i(En, {}),
|
|
6711
6711
|
onClick: e,
|
|
6712
6712
|
"aria-label": "Close"
|
|
6713
6713
|
}
|
|
@@ -7054,7 +7054,7 @@ var rt, og = yc, ig = Ih, sg = Ah, ag = Fh, lg = Rh, lr = Eh, rr = vc, cg = Oh,
|
|
|
7054
7054
|
return Zo;
|
|
7055
7055
|
}
|
|
7056
7056
|
}
|
|
7057
|
-
}() : Zo, Jn = Uh()(), $t = ng(), bg = wc(), wg = bc(), Sc = Cc(), jr = ts(), Qn = {}, Cg = typeof Uint8Array > "u" || !$t ? rt : $t(Uint8Array),
|
|
7057
|
+
}() : Zo, Jn = Uh()(), $t = ng(), bg = wc(), wg = bc(), Sc = Cc(), jr = ts(), Qn = {}, Cg = typeof Uint8Array > "u" || !$t ? rt : $t(Uint8Array), Vn = {
|
|
7058
7058
|
__proto__: null,
|
|
7059
7059
|
"%AggregateError%": typeof AggregateError > "u" ? rt : AggregateError,
|
|
7060
7060
|
"%Array%": Array,
|
|
@@ -7143,7 +7143,7 @@ if ($t)
|
|
|
7143
7143
|
null.error;
|
|
7144
7144
|
} catch (t) {
|
|
7145
7145
|
var xg = $t($t(t));
|
|
7146
|
-
|
|
7146
|
+
Vn["%Error.prototype%"] = xg;
|
|
7147
7147
|
}
|
|
7148
7148
|
var Sg = function t(e) {
|
|
7149
7149
|
var n;
|
|
@@ -7160,7 +7160,7 @@ var Sg = function t(e) {
|
|
|
7160
7160
|
var o = t("%AsyncGenerator%");
|
|
7161
7161
|
o && $t && (n = $t(o.prototype));
|
|
7162
7162
|
}
|
|
7163
|
-
return
|
|
7163
|
+
return Vn[e] = n, n;
|
|
7164
7164
|
}, na = {
|
|
7165
7165
|
__proto__: null,
|
|
7166
7166
|
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
@@ -7226,8 +7226,8 @@ var Sg = function t(e) {
|
|
|
7226
7226
|
}), o;
|
|
7227
7227
|
}, Eg = function(e, n) {
|
|
7228
7228
|
var r = e, o;
|
|
7229
|
-
if (lo(na, r) && (o = na[r], r = "%" + o[0] + "%"), lo(
|
|
7230
|
-
var s =
|
|
7229
|
+
if (lo(na, r) && (o = na[r], r = "%" + o[0] + "%"), lo(Vn, r)) {
|
|
7230
|
+
var s = Vn[r];
|
|
7231
7231
|
if (s === Qn && (s = Sg(r)), typeof s > "u" && !n)
|
|
7232
7232
|
throw new rr("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
7233
7233
|
return {
|
|
@@ -7250,8 +7250,8 @@ var Sg = function t(e) {
|
|
|
7250
7250
|
var m = r[f], p = co(m, 0, 1), g = co(m, -1);
|
|
7251
7251
|
if ((p === '"' || p === "'" || p === "`" || g === '"' || g === "'" || g === "`") && p !== g)
|
|
7252
7252
|
throw new lr("property names with quotes must have matching quotes");
|
|
7253
|
-
if ((m === "constructor" || !u) && (l = !0), o += "." + m, a = "%" + o + "%", lo(
|
|
7254
|
-
d =
|
|
7253
|
+
if ((m === "constructor" || !u) && (l = !0), o += "." + m, a = "%" + o + "%", lo(Vn, a))
|
|
7254
|
+
d = Vn[a];
|
|
7255
7255
|
else if (d != null) {
|
|
7256
7256
|
if (!(m in d)) {
|
|
7257
7257
|
if (!n)
|
|
@@ -7263,7 +7263,7 @@ var Sg = function t(e) {
|
|
|
7263
7263
|
u = !!h, u && "get" in h && !("originalValue" in h.get) ? d = h.get : d = d[m];
|
|
7264
7264
|
} else
|
|
7265
7265
|
u = lo(d, m), d = d[m];
|
|
7266
|
-
u && !l && (
|
|
7266
|
+
u && !l && (Vn[a] = d);
|
|
7267
7267
|
}
|
|
7268
7268
|
}
|
|
7269
7269
|
return d;
|
|
@@ -7983,7 +7983,7 @@ const hr = /* @__PURE__ */ pl(Ny), { Text: $y } = Kt, Py = ({
|
|
|
7983
7983
|
},
|
|
7984
7984
|
[d]
|
|
7985
7985
|
);
|
|
7986
|
-
return /* @__PURE__ */ i(
|
|
7986
|
+
return /* @__PURE__ */ i(Un, { children: /* @__PURE__ */ i(
|
|
7987
7987
|
At,
|
|
7988
7988
|
{
|
|
7989
7989
|
form: d,
|
|
@@ -8579,7 +8579,7 @@ function Oo(t) {
|
|
|
8579
8579
|
function ss({
|
|
8580
8580
|
useLocalState: t = !1
|
|
8581
8581
|
}) {
|
|
8582
|
-
const e = mv() && !t, n = Vt(), [r, o] = I(!1), [s, a] = I(!1), [d, l] = I([]), [c, f] = I(0), [u, m] = I(void 0), [p, g] = I([]), [h, y] = I({}), [b, v] = I(), [C, S] = I([]), [w, R] = I(), [x, A] = I(0), [k, N] = I(), [O, D] = I(1), [F, E] = I(
|
|
8582
|
+
const e = mv() && !t, n = Vt(), [r, o] = I(!1), [s, a] = I(!1), [d, l] = I([]), [c, f] = I(0), [u, m] = I(void 0), [p, g] = I([]), [h, y] = I({}), [b, v] = I(), [C, S] = I([]), [w, R] = I(), [x, A] = I(0), [k, N] = I(), [O, D] = I(1), [F, E] = I(jn), [_, V] = I(Bt);
|
|
8583
8583
|
return e ? {
|
|
8584
8584
|
treeIsLoading: n.viewIsLoading ?? !1,
|
|
8585
8585
|
setTreeIsLoading: n.setViewIsLoading ?? (() => {
|
|
@@ -8621,7 +8621,7 @@ function ss({
|
|
|
8621
8621
|
currentPage: n.currentPage ?? 1,
|
|
8622
8622
|
setCurrentPage: n.setCurrentPage ?? (() => {
|
|
8623
8623
|
}),
|
|
8624
|
-
treeType: n.treeType ??
|
|
8624
|
+
treeType: n.treeType ?? jn,
|
|
8625
8625
|
setTreeType: n.setTreeType ?? (() => {
|
|
8626
8626
|
}),
|
|
8627
8627
|
limit: n.limit ?? Bt,
|
|
@@ -9541,7 +9541,7 @@ function Jy(t, e) {
|
|
|
9541
9541
|
), yn = z(
|
|
9542
9542
|
() => ({
|
|
9543
9543
|
fields: { ...M == null ? void 0 : M.fields, ...$ == null ? void 0 : $.fields },
|
|
9544
|
-
searchFields:
|
|
9544
|
+
searchFields: Bn([
|
|
9545
9545
|
M == null ? void 0 : M.search_fields,
|
|
9546
9546
|
$ == null ? void 0 : $.search_fields
|
|
9547
9547
|
]),
|
|
@@ -9559,7 +9559,7 @@ function Jy(t, e) {
|
|
|
9559
9559
|
$ == null ? void 0 : $.search_fields,
|
|
9560
9560
|
Z
|
|
9561
9561
|
]
|
|
9562
|
-
),
|
|
9562
|
+
), Mn = T(() => {
|
|
9563
9563
|
var et;
|
|
9564
9564
|
Qe([]), (et = v.current) == null || et.unselectAll(), fe == null || fe(void 0), pe == null || pe([]), se == null || se(void 0);
|
|
9565
9565
|
}, [
|
|
@@ -9582,7 +9582,7 @@ function Jy(t, e) {
|
|
|
9582
9582
|
() => ({
|
|
9583
9583
|
isOpen: U,
|
|
9584
9584
|
fields: { ...M == null ? void 0 : M.fields, ...$ == null ? void 0 : $.fields },
|
|
9585
|
-
searchFields:
|
|
9585
|
+
searchFields: Bn([
|
|
9586
9586
|
M == null ? void 0 : M.search_fields,
|
|
9587
9587
|
$ == null ? void 0 : $.search_fields
|
|
9588
9588
|
]),
|
|
@@ -9620,12 +9620,12 @@ function Jy(t, e) {
|
|
|
9620
9620
|
Tt
|
|
9621
9621
|
]
|
|
9622
9622
|
), vr = ve && k && x !== void 0 && x !== null && x === Bt;
|
|
9623
|
-
return /* @__PURE__ */ j(
|
|
9623
|
+
return /* @__PURE__ */ j(Un, { children: [
|
|
9624
9624
|
m === "top" && /* @__PURE__ */ i(
|
|
9625
9625
|
Oo,
|
|
9626
9626
|
{
|
|
9627
9627
|
...yn,
|
|
9628
|
-
onClear:
|
|
9628
|
+
onClear: Mn,
|
|
9629
9629
|
onSubmit: on
|
|
9630
9630
|
}
|
|
9631
9631
|
),
|
|
@@ -9906,7 +9906,7 @@ const Gc = Ht(
|
|
|
9906
9906
|
},
|
|
9907
9907
|
onRowStatus: Kf(h) ? (re) => {
|
|
9908
9908
|
if (h[re.id])
|
|
9909
|
-
return /* @__PURE__ */ i(
|
|
9909
|
+
return /* @__PURE__ */ i(Rn, { color: h[re.id] });
|
|
9910
9910
|
} : void 0,
|
|
9911
9911
|
onRowDoubleClick: c,
|
|
9912
9912
|
onRowSelectionChange: m,
|
|
@@ -10340,7 +10340,7 @@ function ev(t, e) {
|
|
|
10340
10340
|
Oo,
|
|
10341
10341
|
{
|
|
10342
10342
|
fields: { ...x.fields, ...w.fields },
|
|
10343
|
-
searchFields:
|
|
10343
|
+
searchFields: Bn([
|
|
10344
10344
|
x.search_fields,
|
|
10345
10345
|
w.search_fields
|
|
10346
10346
|
]),
|
|
@@ -10751,7 +10751,7 @@ const Kc = Ht(ev), tv = Bt, nv = (t) => {
|
|
|
10751
10751
|
});
|
|
10752
10752
|
const gn = T(
|
|
10753
10753
|
async (je) => {
|
|
10754
|
-
var
|
|
10754
|
+
var Mn;
|
|
10755
10755
|
const Ze = je[(r == null ? void 0 : r.field_parent) || "child_id"];
|
|
10756
10756
|
let nt = r.field_parent ? { ...r.fields, [r.field_parent]: {} } : r.fields;
|
|
10757
10757
|
Ge && (nt = Object.entries(nt).reduce(
|
|
@@ -10772,7 +10772,7 @@ const Kc = Ht(ev), tv = Bt, nv = (t) => {
|
|
|
10772
10772
|
values: Ot,
|
|
10773
10773
|
context: c
|
|
10774
10774
|
});
|
|
10775
|
-
m == null || m(on, n), (
|
|
10775
|
+
m == null || m(on, n), (Mn = d == null ? void 0 : d.current) == null || Mn.refreshRowStyles();
|
|
10776
10776
|
} catch (on) {
|
|
10777
10777
|
console.error(on);
|
|
10778
10778
|
}
|
|
@@ -10843,7 +10843,7 @@ const Kc = Ht(ev), tv = Bt, nv = (t) => {
|
|
|
10843
10843
|
const u = z(
|
|
10844
10844
|
() => ({
|
|
10845
10845
|
fields: { ...e == null ? void 0 : e.fields, ...n == null ? void 0 : n.fields },
|
|
10846
|
-
searchFields:
|
|
10846
|
+
searchFields: Bn([
|
|
10847
10847
|
e == null ? void 0 : e.search_fields,
|
|
10848
10848
|
n == null ? void 0 : n.search_fields
|
|
10849
10849
|
]),
|
|
@@ -10865,7 +10865,7 @@ const Kc = Ht(ev), tv = Bt, nv = (t) => {
|
|
|
10865
10865
|
() => ({
|
|
10866
10866
|
isOpen: r,
|
|
10867
10867
|
fields: { ...e == null ? void 0 : e.fields, ...n == null ? void 0 : n.fields },
|
|
10868
|
-
searchFields:
|
|
10868
|
+
searchFields: Bn([
|
|
10869
10869
|
e == null ? void 0 : e.search_fields,
|
|
10870
10870
|
n == null ? void 0 : n.search_fields
|
|
10871
10871
|
]),
|
|
@@ -11157,7 +11157,7 @@ function lv(t, e) {
|
|
|
11157
11157
|
getFields: () => w == null ? void 0 : w.fields
|
|
11158
11158
|
}));
|
|
11159
11159
|
const ne = z(() => Q ? /* @__PURE__ */ i(Ji, { aggregates: _e, isLoading: oe }) : null, [_e, oe, Q]), ge = T(
|
|
11160
|
-
(we) => /* @__PURE__ */ i(
|
|
11160
|
+
(we) => /* @__PURE__ */ i(Rn, { color: we, style: { marginLeft: 7 } }),
|
|
11161
11161
|
[]
|
|
11162
11162
|
), he = z(
|
|
11163
11163
|
() => ({
|
|
@@ -11167,7 +11167,7 @@ function lv(t, e) {
|
|
|
11167
11167
|
}),
|
|
11168
11168
|
[k, d]
|
|
11169
11169
|
), Re = Ue !== void 0 && ke, Ne = Re && q !== void 0 && q !== null && q === Bt, Pe = z(() => typeof q != "number" || isNaN(q) || q < 0 ? (le == null ? void 0 : le.length) || 0 : q || 0, [q, le]), Be = z(() => (le == null ? void 0 : le.length) > 0 && (typeof q != "number" || isNaN(q) || q < 0) ? le == null ? void 0 : le.length : f ? Bt : ve || tv, [le == null ? void 0 : le.length, q, f, ve]);
|
|
11170
|
-
return /* @__PURE__ */ j(
|
|
11170
|
+
return /* @__PURE__ */ j(Un, { children: [
|
|
11171
11171
|
!$ && !p && /* @__PURE__ */ i(
|
|
11172
11172
|
rv,
|
|
11173
11173
|
{
|
|
@@ -11387,7 +11387,7 @@ const Jc = Ht(lv), { useToken: cv } = at, Xc = ({
|
|
|
11387
11387
|
}
|
|
11388
11388
|
),
|
|
11389
11389
|
/* @__PURE__ */ i(Wt, { title: a("clear_search"), children: /* @__PURE__ */ i(
|
|
11390
|
-
|
|
11390
|
+
En,
|
|
11391
11391
|
{
|
|
11392
11392
|
style: {
|
|
11393
11393
|
marginLeft: "4px",
|
|
@@ -11422,7 +11422,7 @@ const Jc = Ht(lv), { useToken: cv } = at, Xc = ({
|
|
|
11422
11422
|
}, dv = {
|
|
11423
11423
|
height: "calc(100vh - 80px - 102px)",
|
|
11424
11424
|
overflow: "auto"
|
|
11425
|
-
},
|
|
11425
|
+
}, jn = "legacy", uv = (t) => {
|
|
11426
11426
|
const {
|
|
11427
11427
|
visible: e,
|
|
11428
11428
|
viewRef: n,
|
|
@@ -11438,7 +11438,7 @@ const Jc = Ht(lv), { useToken: cv } = at, Xc = ({
|
|
|
11438
11438
|
availableViews: m,
|
|
11439
11439
|
searchNameSearch: p,
|
|
11440
11440
|
limit: g
|
|
11441
|
-
} = t, h = K(e), [y, b] = I(
|
|
11441
|
+
} = t, h = K(e), [y, b] = I(jn), { treeMaxLimit: v } = Jt(), { setLimit: C } = Vt();
|
|
11442
11442
|
Xe(() => {
|
|
11443
11443
|
const V = Rl({
|
|
11444
11444
|
treeView: a,
|
|
@@ -11496,7 +11496,7 @@ const Jc = Ht(lv), { useToken: cv } = at, Xc = ({
|
|
|
11496
11496
|
},
|
|
11497
11497
|
[g, C]
|
|
11498
11498
|
);
|
|
11499
|
-
return e ? /* @__PURE__ */ j(
|
|
11499
|
+
return e ? /* @__PURE__ */ j(Un, { children: [
|
|
11500
11500
|
/* @__PURE__ */ i(Br, { showSummary: y !== "infinite", subtitle: F, children: /* @__PURE__ */ i(
|
|
11501
11501
|
nc,
|
|
11502
11502
|
{
|
|
@@ -11596,7 +11596,7 @@ const Jc = Ht(lv), { useToken: cv } = at, Xc = ({
|
|
|
11596
11596
|
me(n), l();
|
|
11597
11597
|
}, [n, l, me]), ie = z(() => !s || s.length === 0 ? (n == null ? void 0 : n.fields) || {} : s.reduce((lt, en) => ({ ...lt, ...en.fields || {} }), {}), [s, n]), [Ie, Me] = I(
|
|
11598
11598
|
zl(O || [], ie)
|
|
11599
|
-
), [$e, ve] = I(0), [ye, Ye] = I(void 0), [Ce, Le] = I(), [Se, qe] = I(
|
|
11599
|
+
), [$e, ve] = I(0), [ye, Ye] = I(void 0), [Ce, Le] = I(), [Se, qe] = I(jn), [ke, Ue] = I(
|
|
11600
11600
|
F
|
|
11601
11601
|
), [xe, Ve] = I(
|
|
11602
11602
|
k !== void 0 ? k : Bt
|
|
@@ -11802,7 +11802,7 @@ const Jc = Ht(lv), { useToken: cv } = at, Xc = ({
|
|
|
11802
11802
|
searchQuery: void 0,
|
|
11803
11803
|
setSearchQuery: () => {
|
|
11804
11804
|
},
|
|
11805
|
-
treeType:
|
|
11805
|
+
treeType: jn,
|
|
11806
11806
|
setTreeType: () => {
|
|
11807
11807
|
},
|
|
11808
11808
|
order: void 0,
|
|
@@ -12229,7 +12229,7 @@ function bv(t) {
|
|
|
12229
12229
|
treeExpandable: l,
|
|
12230
12230
|
fixedHeight: c,
|
|
12231
12231
|
autoRefresh: f
|
|
12232
|
-
} = t, [u, m] = I(!1), [p, g] = I(!1), [h, y] = I(), [b, v] = I(), [C, S] = I(), [w, R] = I(1), [x, A] = I(0), k = K(Bt), N = K([]), [O, D] = I(0), [F, E] = I([]), [_, V] = I(void 0), [P, H] = I(), [G, L] = I(), [$, M] = I(), [W, B] = I(!1), [U, J] = I(
|
|
12232
|
+
} = t, [u, m] = I(!1), [p, g] = I(!1), [h, y] = I(), [b, v] = I(), [C, S] = I(), [w, R] = I(1), [x, A] = I(0), k = K(Bt), N = K([]), [O, D] = I(0), [F, E] = I([]), [_, V] = I(void 0), [P, H] = I(), [G, L] = I(), [$, M] = I(), [W, B] = I(!1), [U, J] = I(jn), ee = K([]), { treeMaxLimit: X } = Jt(), de = (me) => {
|
|
12233
12233
|
B(!0), R(me), A((me - 1) * k.current);
|
|
12234
12234
|
}, re = async () => {
|
|
12235
12235
|
const me = ee.current.length > 0 ? ee.current : s, ae = un(N.current, me), { colors: ie } = cn(b), { totalItems: Ie, results: Me, attrsEvaluated: $e } = await Y.getHandler().searchForTree({
|
|
@@ -12388,7 +12388,7 @@ const ed = it(bv), { useToken: wv } = at, Cv = 3 * 1e3, xv = (t) => {
|
|
|
12388
12388
|
Y.getHandler().parseCondition
|
|
12389
12389
|
), { fetchReferenceValues: y } = vv({
|
|
12390
12390
|
context: s == null ? void 0 : s()
|
|
12391
|
-
}), b =
|
|
12391
|
+
}), b = Hn(
|
|
12392
12392
|
wn.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
|
|
12393
12393
|
);
|
|
12394
12394
|
ce(() => {
|
|
@@ -12690,7 +12690,7 @@ const ed = it(bv), { useToken: wv } = at, Cv = 3 * 1e3, xv = (t) => {
|
|
|
12690
12690
|
);
|
|
12691
12691
|
};
|
|
12692
12692
|
return l ? (console.error(l), /* @__PURE__ */ i(Lt, { className: "mt-10", message: l, type: "error", banner: !0 })) : /* @__PURE__ */ i(Fe, { children: /* @__PURE__ */ i("div", { className: "flex flex-row", children: /* @__PURE__ */ i(
|
|
12693
|
-
|
|
12693
|
+
Wn,
|
|
12694
12694
|
{
|
|
12695
12695
|
mode: "multiple",
|
|
12696
12696
|
value: a.length ? s : [],
|
|
@@ -13346,7 +13346,7 @@ function Jv(t, e) {
|
|
|
13346
13346
|
).length !== 0, ot = T(
|
|
13347
13347
|
(ue) => {
|
|
13348
13348
|
const be = P.getFieldsValue(!0);
|
|
13349
|
-
return
|
|
13349
|
+
return Nn(be, ue);
|
|
13350
13350
|
},
|
|
13351
13351
|
[P]
|
|
13352
13352
|
), wt = T(() => {
|
|
@@ -13396,7 +13396,7 @@ function Jv(t, e) {
|
|
|
13396
13396
|
]), rn = (ue, be) => {
|
|
13397
13397
|
Ot({
|
|
13398
13398
|
values: {
|
|
13399
|
-
...
|
|
13399
|
+
...Nn(P.getFieldsValue(!0), L),
|
|
13400
13400
|
[ue]: be
|
|
13401
13401
|
},
|
|
13402
13402
|
fields: L,
|
|
@@ -13429,7 +13429,7 @@ function Jv(t, e) {
|
|
|
13429
13429
|
Ce == null || Ce(!0), E(void 0), Re(), ue != null && ue.fields ? (De = ue.fields, He = ue.arch) : (De = L, He = H), g && (ue == null ? void 0 : ue.forceRefresh) !== !0 ? be = g : { values: be, defaultGetCalled: ze } = await yn({
|
|
13430
13430
|
fields: De,
|
|
13431
13431
|
arch: He
|
|
13432
|
-
}), C && (be = { ...$l(C), ...be }), re.current =
|
|
13432
|
+
}), C && (be = { ...$l(C), ...be }), re.current = Nn(be, De), pe.current === null && (pe.current = Nn(be, De)), Ot({
|
|
13433
13433
|
values: be,
|
|
13434
13434
|
fields: De,
|
|
13435
13435
|
reset: !0,
|
|
@@ -13466,7 +13466,7 @@ function Jv(t, e) {
|
|
|
13466
13466
|
reset: De,
|
|
13467
13467
|
isDefaultGet: He = !1
|
|
13468
13468
|
}) => {
|
|
13469
|
-
const It = { ...De ? {} : P.getFieldsValue(!0), ...ue }, No =
|
|
13469
|
+
const It = { ...De ? {} : P.getFieldsValue(!0), ...ue }, No = Nn(It, be), Ed = Object.keys(be).map(($o) => ({
|
|
13470
13470
|
name: $o,
|
|
13471
13471
|
touched: !1,
|
|
13472
13472
|
value: No[$o] !== void 0 ? No[$o] : void 0
|
|
@@ -13508,7 +13508,7 @@ function Jv(t, e) {
|
|
|
13508
13508
|
te.current = ze, De = ze, De.id && (de.current = De.id), He = !0;
|
|
13509
13509
|
}
|
|
13510
13510
|
return { values: De, defaultGetCalled: He };
|
|
13511
|
-
},
|
|
13511
|
+
}, Mn = async (ue) => {
|
|
13512
13512
|
const { callOnSubmitSucceed: be = !0 } = ue || {};
|
|
13513
13513
|
if (we()) {
|
|
13514
13514
|
const De = Gr({
|
|
@@ -13575,7 +13575,7 @@ function Jv(t, e) {
|
|
|
13575
13575
|
}), { succeed: !1, id: we() };
|
|
13576
13576
|
D(!0), ve == null || ve(!0);
|
|
13577
13577
|
try {
|
|
13578
|
-
p === "api" ? await
|
|
13578
|
+
p === "api" ? await Mn(ue) : await on(ue), m && (de.current = void 0, Ot({
|
|
13579
13579
|
values: te.current,
|
|
13580
13580
|
fields: L,
|
|
13581
13581
|
reset: !0
|
|
@@ -13652,7 +13652,7 @@ function Jv(t, e) {
|
|
|
13652
13652
|
"many2one"
|
|
13653
13653
|
]
|
|
13654
13654
|
}) && ue !== !0)) {
|
|
13655
|
-
const He =
|
|
13655
|
+
const He = Nn(P.getFieldsValue(!0), L);
|
|
13656
13656
|
Z.current = He, c == null || c(He), ye == null || ye(!0), Object.keys(He).forEach((ze) => {
|
|
13657
13657
|
he(ze);
|
|
13658
13658
|
}), gt(De);
|
|
@@ -13866,7 +13866,7 @@ function Jv(t, e) {
|
|
|
13866
13866
|
}
|
|
13867
13867
|
let He = !1;
|
|
13868
13868
|
try {
|
|
13869
|
-
!u && (Qe() || we() === void 0) && (He = !0, Kn(!0), p === "2many" ? (await
|
|
13869
|
+
!u && (Qe() || we() === void 0) && (He = !0, Kn(!0), p === "2many" ? (await Mn({ callOnSubmitSucceed: !1 }), fe.current = !0) : await Sn({ callOnSubmitSucceed: !1 }));
|
|
13870
13870
|
const ze = fe.current ? tn() : {}, It = { ...De, ...ze };
|
|
13871
13871
|
ue === "object" ? await xt({ action: be, context: It }) : ue === "workflow" ? await ln({ action: be }) : ue === "action" && await Gn({ action: be, context: It }), He && Kn(!1);
|
|
13872
13872
|
} catch (ze) {
|
|
@@ -13935,7 +13935,7 @@ function Jv(t, e) {
|
|
|
13935
13935
|
/* @__PURE__ */ i(
|
|
13936
13936
|
Je,
|
|
13937
13937
|
{
|
|
13938
|
-
icon: /* @__PURE__ */ i(
|
|
13938
|
+
icon: /* @__PURE__ */ i(En, {}),
|
|
13939
13939
|
disabled: O,
|
|
13940
13940
|
onClick: async () => {
|
|
13941
13941
|
await pt();
|
|
@@ -14105,7 +14105,7 @@ const yr = Ht(Jv), nd = (t) => {
|
|
|
14105
14105
|
handleCancelNameModal: h,
|
|
14106
14106
|
initialName: r
|
|
14107
14107
|
};
|
|
14108
|
-
},
|
|
14108
|
+
}, Dn = (t) => {
|
|
14109
14109
|
const {
|
|
14110
14110
|
visible: e,
|
|
14111
14111
|
id: n,
|
|
@@ -14314,13 +14314,13 @@ const yr = Ht(Jv), nd = (t) => {
|
|
|
14314
14314
|
children: y("ok")
|
|
14315
14315
|
}
|
|
14316
14316
|
),
|
|
14317
|
-
/* @__PURE__ */ i(Je, { icon: /* @__PURE__ */ i(
|
|
14317
|
+
/* @__PURE__ */ i(Je, { icon: /* @__PURE__ */ i(En, {}), onClick: x, children: y("cancel") })
|
|
14318
14318
|
] }) })
|
|
14319
14319
|
]
|
|
14320
14320
|
}
|
|
14321
14321
|
),
|
|
14322
14322
|
/* @__PURE__ */ i(
|
|
14323
|
-
|
|
14323
|
+
Dn,
|
|
14324
14324
|
{
|
|
14325
14325
|
model: r,
|
|
14326
14326
|
visible: l,
|
|
@@ -14495,9 +14495,9 @@ const yr = Ht(Jv), nd = (t) => {
|
|
|
14495
14495
|
async function de(q) {
|
|
14496
14496
|
q.keyCode === 13 ? (q.preventDefault(), q.stopPropagation(), await U()) : q.code === "Backspace" && $ !== void 0 && (q.preventDefault(), q.stopPropagation(), W([void 0, ""]));
|
|
14497
14497
|
}
|
|
14498
|
-
const re = o && !a ? nb : St, pe =
|
|
14498
|
+
const re = o && !a ? nb : St, pe = Hn(
|
|
14499
14499
|
wn.FEATURE_MANY2ONE_DISABLE_FOLDER
|
|
14500
|
-
), Z =
|
|
14500
|
+
), Z = Hn(
|
|
14501
14501
|
wn.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
|
|
14502
14502
|
), te = z(() => {
|
|
14503
14503
|
let q = !0;
|
|
@@ -14572,7 +14572,7 @@ const yr = Ht(Jv), nd = (t) => {
|
|
|
14572
14572
|
}
|
|
14573
14573
|
),
|
|
14574
14574
|
/* @__PURE__ */ i(
|
|
14575
|
-
|
|
14575
|
+
Dn,
|
|
14576
14576
|
{
|
|
14577
14577
|
model: s,
|
|
14578
14578
|
parentContext: { ...N == null ? void 0 : N(), ...d },
|
|
@@ -15101,7 +15101,7 @@ const fd = it(
|
|
|
15101
15101
|
disabled: r
|
|
15102
15102
|
}) => {
|
|
15103
15103
|
const { t: o } = Ee();
|
|
15104
|
-
return /* @__PURE__ */ i(
|
|
15104
|
+
return /* @__PURE__ */ i(Rn, { count: e.length, children: /* @__PURE__ */ i(
|
|
15105
15105
|
Dt,
|
|
15106
15106
|
{
|
|
15107
15107
|
tooltip: o(t ? "unlink" : "delete"),
|
|
@@ -15130,7 +15130,7 @@ function lb(t) {
|
|
|
15130
15130
|
const cb = (t) => {
|
|
15131
15131
|
var Ge, Te, We;
|
|
15132
15132
|
const { value: e, onChange: n, ooui: r, views: o } = t, { items: s = [] } = e || {}, { currentView: a, setCurrentView: d, itemIndex: l, setItemIndex: c } = Ae(
|
|
15133
|
-
|
|
15133
|
+
kn
|
|
15134
15134
|
), f = Ae(dt), {
|
|
15135
15135
|
activeId: u,
|
|
15136
15136
|
getFields: m,
|
|
@@ -15488,7 +15488,7 @@ const cb = (t) => {
|
|
|
15488
15488
|
),
|
|
15489
15489
|
xe(),
|
|
15490
15490
|
/* @__PURE__ */ i(
|
|
15491
|
-
|
|
15491
|
+
Dn,
|
|
15492
15492
|
{
|
|
15493
15493
|
formView: o.get("form"),
|
|
15494
15494
|
model: ee,
|
|
@@ -15649,7 +15649,7 @@ const cb = (t) => {
|
|
|
15649
15649
|
formView: o,
|
|
15650
15650
|
triggerChange: s
|
|
15651
15651
|
}) => {
|
|
15652
|
-
const [a, d] = I(!1), { itemIndex: l } = Ae(
|
|
15652
|
+
const [a, d] = I(!1), { itemIndex: l } = Ae(kn), { t: c } = Ee();
|
|
15653
15653
|
ce(() => {
|
|
15654
15654
|
const g = t[l];
|
|
15655
15655
|
(!g || (g == null ? void 0 : g.operation) === "original") && d(!1);
|
|
@@ -15726,7 +15726,7 @@ const cb = (t) => {
|
|
|
15726
15726
|
onChange: s
|
|
15727
15727
|
}, a) => {
|
|
15728
15728
|
var c, f;
|
|
15729
|
-
const { itemIndex: d } = Ae(
|
|
15729
|
+
const { itemIndex: d } = Ae(kn), { t: l } = Ee();
|
|
15730
15730
|
return e.length === 0 ? l("noCurrentEntries") : /* @__PURE__ */ i(
|
|
15731
15731
|
yr,
|
|
15732
15732
|
{
|
|
@@ -15762,7 +15762,7 @@ const gd = ({
|
|
|
15762
15762
|
setSelectedRowKeys: s
|
|
15763
15763
|
}) => {
|
|
15764
15764
|
const { t: a } = Ee(), { currentView: d, itemIndex: l, setItemIndex: c } = Ae(
|
|
15765
|
-
|
|
15765
|
+
kn
|
|
15766
15766
|
), { showErrorNotification: f } = Rt(), u = T(async () => {
|
|
15767
15767
|
const h = ub({
|
|
15768
15768
|
selectedRowKeys: o,
|
|
@@ -16253,7 +16253,7 @@ const yd = ({
|
|
|
16253
16253
|
);
|
|
16254
16254
|
}, pb = ["form", "tree", "graph"], hb = (t) => {
|
|
16255
16255
|
var Ye, Ce, Le;
|
|
16256
|
-
const e = K(null), { value: n, onChange: r, ooui: o, views: s, treeType: a, onUserSelectTreeType: d } = t, { items: l = [] } = n || {}, c = hd({ one2manyItems: l }), { currentView: f, setCurrentView: u, itemIndex: m, setItemIndex: p, setTreeType: g } = Ae(
|
|
16256
|
+
const e = K(null), { value: n, onChange: r, ooui: o, views: s, treeType: a, onUserSelectTreeType: d } = t, { items: l = [] } = n || {}, c = hd({ one2manyItems: l }), { currentView: f, setCurrentView: u, itemIndex: m, setItemIndex: p, setTreeType: g } = Ae(kn), {
|
|
16257
16257
|
readOnly: h,
|
|
16258
16258
|
relation: y,
|
|
16259
16259
|
context: b,
|
|
@@ -16379,7 +16379,7 @@ const yd = ({
|
|
|
16379
16379
|
Se !== "legacy" && a !== "legacy" && (d == null || d(Se), g(Se));
|
|
16380
16380
|
},
|
|
16381
16381
|
[a, g, d]
|
|
16382
|
-
), ye =
|
|
16382
|
+
), ye = Hn(
|
|
16383
16383
|
wn.FEATURE_ONE2MANY_ENABLE_NEW_TABLE
|
|
16384
16384
|
);
|
|
16385
16385
|
return /* @__PURE__ */ j(Fe, { children: [
|
|
@@ -16455,7 +16455,7 @@ const yd = ({
|
|
|
16455
16455
|
}
|
|
16456
16456
|
),
|
|
16457
16457
|
/* @__PURE__ */ i(
|
|
16458
|
-
|
|
16458
|
+
Dn,
|
|
16459
16459
|
{
|
|
16460
16460
|
formView: s.get("form"),
|
|
16461
16461
|
model: y,
|
|
@@ -16665,7 +16665,7 @@ const yd = ({
|
|
|
16665
16665
|
totalRows: k,
|
|
16666
16666
|
footer: g && /* @__PURE__ */ i(Ji, { aggregates: g, isLoading: !1 }),
|
|
16667
16667
|
hasStatusColumn: o.status !== null,
|
|
16668
|
-
statusComponent: (V) => /* @__PURE__ */ i(
|
|
16668
|
+
statusComponent: (V) => /* @__PURE__ */ i(Rn, { color: V, style: { marginLeft: 7 } }),
|
|
16669
16669
|
onRowStatus: (V) => {
|
|
16670
16670
|
var P;
|
|
16671
16671
|
return (P = S.current) == null ? void 0 : P[V.id];
|
|
@@ -16691,7 +16691,7 @@ const yd = ({
|
|
|
16691
16691
|
}, Cb = ["form", "tree", "graph"], xb = (t) => {
|
|
16692
16692
|
var Me, $e, ve;
|
|
16693
16693
|
const e = K(null), { value: n, onChange: r, ooui: o, views: s } = t, { items: a = [] } = n || {}, d = hd({ one2manyItems: a }), { currentView: l, setCurrentView: c, itemIndex: f, setItemIndex: u } = Ae(
|
|
16694
|
-
|
|
16694
|
+
kn
|
|
16695
16695
|
), {
|
|
16696
16696
|
readOnly: m,
|
|
16697
16697
|
relation: p,
|
|
@@ -16890,7 +16890,7 @@ const yd = ({
|
|
|
16890
16890
|
}
|
|
16891
16891
|
),
|
|
16892
16892
|
/* @__PURE__ */ i(
|
|
16893
|
-
|
|
16893
|
+
Dn,
|
|
16894
16894
|
{
|
|
16895
16895
|
formView: s.get("form"),
|
|
16896
16896
|
model: p,
|
|
@@ -17040,7 +17040,7 @@ const yd = ({
|
|
|
17040
17040
|
}
|
|
17041
17041
|
) });
|
|
17042
17042
|
}, Tb = (t) => {
|
|
17043
|
-
const { ooui: e, value: n, userTreeTypePreferenceRef: r, onUserSelectTreeType: o } = t, { treeType: s, setTreeType: a } = dc(), d =
|
|
17043
|
+
const { ooui: e, value: n, userTreeTypePreferenceRef: r, onUserSelectTreeType: o } = t, { treeType: s, setTreeType: a } = dc(), d = Hn(
|
|
17044
17044
|
wn.FEATURE_ONE2MANY_ENABLE_NEW_TABLE
|
|
17045
17045
|
);
|
|
17046
17046
|
if (Xe(() => {
|
|
@@ -17057,7 +17057,7 @@ const yd = ({
|
|
|
17057
17057
|
a("infinite");
|
|
17058
17058
|
return;
|
|
17059
17059
|
}
|
|
17060
|
-
a(
|
|
17060
|
+
a(jn);
|
|
17061
17061
|
}, [e.infinite, n, d]), s === void 0)
|
|
17062
17062
|
return /* @__PURE__ */ i(ct, {});
|
|
17063
17063
|
if (d)
|
|
@@ -17241,7 +17241,7 @@ const { useToken: Ob } = at, { TextArea: vi } = St, kb = (t) => {
|
|
|
17241
17241
|
{
|
|
17242
17242
|
onClick: () => {
|
|
17243
17243
|
if (c != null && c()) {
|
|
17244
|
-
|
|
17244
|
+
Ln(p("saveBeforeTranslate"));
|
|
17245
17245
|
return;
|
|
17246
17246
|
}
|
|
17247
17247
|
u || m(!0);
|
|
@@ -17305,7 +17305,7 @@ const { useToken: Ob } = at, { TextArea: vi } = St, kb = (t) => {
|
|
|
17305
17305
|
tooltip: p("translate"),
|
|
17306
17306
|
icon: /* @__PURE__ */ i(Ka, {}),
|
|
17307
17307
|
onClick: async () => {
|
|
17308
|
-
c != null && c() ?
|
|
17308
|
+
c != null && c() ? Ln(p("saveBeforeTranslate")) : Ln(p("enterTextBeforeTranslate"));
|
|
17309
17309
|
},
|
|
17310
17310
|
children: p("translate")
|
|
17311
17311
|
}
|
|
@@ -17328,7 +17328,7 @@ const { useToken: Ob } = at, { TextArea: vi } = St, kb = (t) => {
|
|
|
17328
17328
|
const a = K({}), d = K(/* @__PURE__ */ new Map()), { t: l } = Ee(), c = T(
|
|
17329
17329
|
async (y) => {
|
|
17330
17330
|
if (y.selectedKeys === void 0 || y.selectedKeys.length === 0) {
|
|
17331
|
-
|
|
17331
|
+
Ln(l("selectAtLeastOneField"));
|
|
17332
17332
|
return;
|
|
17333
17333
|
}
|
|
17334
17334
|
let b = r;
|
|
@@ -17954,7 +17954,15 @@ const nw = (t) => {
|
|
|
17954
17954
|
onClick: r,
|
|
17955
17955
|
children: [
|
|
17956
17956
|
/* @__PURE__ */ i(su, {}),
|
|
17957
|
-
|
|
17957
|
+
n > 0 && /* @__PURE__ */ i(
|
|
17958
|
+
Rn,
|
|
17959
|
+
{
|
|
17960
|
+
count: n,
|
|
17961
|
+
size: "small",
|
|
17962
|
+
color: "gray",
|
|
17963
|
+
style: { fontSize: 8 }
|
|
17964
|
+
}
|
|
17965
|
+
)
|
|
17958
17966
|
]
|
|
17959
17967
|
}
|
|
17960
17968
|
);
|
|
@@ -18179,26 +18187,26 @@ function iw({ toolbar: t }) {
|
|
|
18179
18187
|
},
|
|
18180
18188
|
[u, M]
|
|
18181
18189
|
);
|
|
18182
|
-
return
|
|
18190
|
+
return $n(
|
|
18183
18191
|
"pagedown",
|
|
18184
18192
|
async () => {
|
|
18185
18193
|
!V || !await O.current.cancelUnsavedChanges() || o();
|
|
18186
18194
|
},
|
|
18187
18195
|
{ enableOnFormTags: !0, preventDefault: !0 },
|
|
18188
18196
|
[V, o, O]
|
|
18189
|
-
),
|
|
18197
|
+
), $n(
|
|
18190
18198
|
"pageup",
|
|
18191
18199
|
async () => {
|
|
18192
18200
|
!V || !await O.current.cancelUnsavedChanges() || s();
|
|
18193
18201
|
},
|
|
18194
18202
|
{ enableOnFormTags: !0, preventDefault: !0 },
|
|
18195
18203
|
[V, s, O]
|
|
18196
|
-
),
|
|
18204
|
+
), $n(
|
|
18197
18205
|
"ctrl+s,command+s",
|
|
18198
18206
|
() => V && (u == null ? void 0 : u()),
|
|
18199
18207
|
{ enableOnFormTags: !0, preventDefault: !0 },
|
|
18200
18208
|
[V, u]
|
|
18201
|
-
),
|
|
18209
|
+
), $n(
|
|
18202
18210
|
"ctrl+l,command+l",
|
|
18203
18211
|
async () => {
|
|
18204
18212
|
!V || !F || !await O.current.cancelUnsavedChanges() || (E == null || E(c), f == null || f(F));
|
|
@@ -18478,7 +18486,7 @@ const Aa = (t, e) => ({
|
|
|
18478
18486
|
/* @__PURE__ */ i(
|
|
18479
18487
|
Je,
|
|
18480
18488
|
{
|
|
18481
|
-
icon: /* @__PURE__ */ i(
|
|
18489
|
+
icon: /* @__PURE__ */ i(En, {}),
|
|
18482
18490
|
htmlType: "button",
|
|
18483
18491
|
onClick: r,
|
|
18484
18492
|
disabled: o,
|
|
@@ -18692,7 +18700,7 @@ const fw = {
|
|
|
18692
18700
|
limit: k,
|
|
18693
18701
|
setLimit: N
|
|
18694
18702
|
}), Z = z(
|
|
18695
|
-
() =>
|
|
18703
|
+
() => Bn([
|
|
18696
18704
|
a == null ? void 0 : a.search_fields,
|
|
18697
18705
|
d == null ? void 0 : d.search_fields,
|
|
18698
18706
|
l == null ? void 0 : l.search_fields
|
|
@@ -19135,7 +19143,7 @@ const Aw = (t) => {
|
|
|
19135
19143
|
Je,
|
|
19136
19144
|
{
|
|
19137
19145
|
type: "text",
|
|
19138
|
-
icon: /* @__PURE__ */ i(
|
|
19146
|
+
icon: /* @__PURE__ */ i(En, {}),
|
|
19139
19147
|
onClick: a,
|
|
19140
19148
|
size: "small"
|
|
19141
19149
|
}
|
|
@@ -19984,7 +19992,7 @@ const Ra = ({ value: t }) => z(
|
|
|
19984
19992
|
] }) })
|
|
19985
19993
|
}
|
|
19986
19994
|
);
|
|
19987
|
-
}, { Text: Jr } = Kt, { useToken: qw } = at, Yw =
|
|
19995
|
+
}, { Text: Jr } = Kt, { useToken: qw } = at, Yw = On("IconListNumbers"), Gw = On("IconExternalLink"), zw = On("IconArrowLeft"), Kw = On("IconArrowRight"), Jw = On("IconArrowBarToLeft"), Xw = On(
|
|
19988
19996
|
"IconArrowBarToRight"
|
|
19989
19997
|
), Qw = (t, e) => {
|
|
19990
19998
|
const {
|
|
@@ -20256,7 +20264,7 @@ const Ra = ({ value: t }) => z(
|
|
|
20256
20264
|
}
|
|
20257
20265
|
),
|
|
20258
20266
|
/* @__PURE__ */ i(
|
|
20259
|
-
|
|
20267
|
+
Rn,
|
|
20260
20268
|
{
|
|
20261
20269
|
count: Le,
|
|
20262
20270
|
overflowCount: 999999,
|
|
@@ -20437,7 +20445,7 @@ const Ra = ({ value: t }) => z(
|
|
|
20437
20445
|
);
|
|
20438
20446
|
}, Zw = it(
|
|
20439
20447
|
Ht(Qw)
|
|
20440
|
-
),
|
|
20448
|
+
), Pn = (t, e, n) => {
|
|
20441
20449
|
if (t == null && (e == null ? void 0 : e.type) !== "boolean")
|
|
20442
20450
|
return null;
|
|
20443
20451
|
switch (e == null ? void 0 : e.type) {
|
|
@@ -20615,7 +20623,7 @@ const Ra = ({ value: t }) => z(
|
|
|
20615
20623
|
const ne = (he = f.fields) == null ? void 0 : he[f.column_field];
|
|
20616
20624
|
if (!ne)
|
|
20617
20625
|
return;
|
|
20618
|
-
const ge =
|
|
20626
|
+
const ge = Pn(Q, ne, R);
|
|
20619
20627
|
if (ge)
|
|
20620
20628
|
return n.find((Re) => Re.id === ge.id);
|
|
20621
20629
|
},
|
|
@@ -20780,7 +20788,7 @@ const Ra = ({ value: t }) => z(
|
|
|
20780
20788
|
Ne();
|
|
20781
20789
|
return;
|
|
20782
20790
|
}
|
|
20783
|
-
const ft = Be[f.column_field], Ct = (Qt = f.fields) == null ? void 0 : Qt[f.column_field], lt = Ct ?
|
|
20791
|
+
const ft = Be[f.column_field], Ct = (Qt = f.fields) == null ? void 0 : Qt[f.column_field], lt = Ct ? Pn(ft, Ct, R) : null;
|
|
20784
20792
|
if (!lt) {
|
|
20785
20793
|
Ne();
|
|
20786
20794
|
return;
|
|
@@ -20817,11 +20825,11 @@ const Ra = ({ value: t }) => z(
|
|
|
20817
20825
|
nn && nn.refresh();
|
|
20818
20826
|
return;
|
|
20819
20827
|
}
|
|
20820
|
-
const Qe =
|
|
20828
|
+
const Qe = Pn(
|
|
20821
20829
|
ft,
|
|
20822
20830
|
Ct,
|
|
20823
20831
|
R
|
|
20824
|
-
), ot =
|
|
20832
|
+
), ot = Pn(
|
|
20825
20833
|
we.originalValue,
|
|
20826
20834
|
Ct,
|
|
20827
20835
|
R
|
|
@@ -21129,7 +21137,7 @@ const Ra = ({ value: t }) => z(
|
|
|
21129
21137
|
limit: 1e3
|
|
21130
21138
|
}), D = /* @__PURE__ */ new Map();
|
|
21131
21139
|
O.forEach((E) => {
|
|
21132
|
-
const _ = E[o], V =
|
|
21140
|
+
const _ = E[o], V = Pn(
|
|
21133
21141
|
_,
|
|
21134
21142
|
s,
|
|
21135
21143
|
c
|
|
@@ -21160,7 +21168,7 @@ const Ra = ({ value: t }) => z(
|
|
|
21160
21168
|
a,
|
|
21161
21169
|
r,
|
|
21162
21170
|
R,
|
|
21163
|
-
|
|
21171
|
+
Pn,
|
|
21164
21172
|
s,
|
|
21165
21173
|
y,
|
|
21166
21174
|
v,
|
|
@@ -21421,7 +21429,7 @@ const Ra = ({ value: t }) => z(
|
|
|
21421
21429
|
const Se = (ke = n.fields) == null ? void 0 : ke[Le];
|
|
21422
21430
|
if (!Se)
|
|
21423
21431
|
return null;
|
|
21424
|
-
const qe =
|
|
21432
|
+
const qe = Pn(Ce, Se, u);
|
|
21425
21433
|
return (qe == null ? void 0 : qe.id) ?? null;
|
|
21426
21434
|
},
|
|
21427
21435
|
[n.fields, u]
|
|
@@ -21562,7 +21570,7 @@ const Ra = ({ value: t }) => z(
|
|
|
21562
21570
|
...$e == null ? void 0 : $e.fields,
|
|
21563
21571
|
...n == null ? void 0 : n.fields
|
|
21564
21572
|
},
|
|
21565
|
-
searchFields:
|
|
21573
|
+
searchFields: Bn([
|
|
21566
21574
|
Me == null ? void 0 : Me.search_fields,
|
|
21567
21575
|
$e == null ? void 0 : $e.search_fields,
|
|
21568
21576
|
n == null ? void 0 : n.search_fields
|
|
@@ -21581,7 +21589,7 @@ const Ra = ({ value: t }) => z(
|
|
|
21581
21589
|
o
|
|
21582
21590
|
]
|
|
21583
21591
|
), ye = z(() => (g == null ? void 0 : g.map((Ce) => Ce.id)) || [], [g]), Ye = S && D !== void 0 && D !== null;
|
|
21584
|
-
return e ? /* @__PURE__ */ j(
|
|
21592
|
+
return e ? /* @__PURE__ */ j(Un, { children: [
|
|
21585
21593
|
/* @__PURE__ */ i(
|
|
21586
21594
|
is,
|
|
21587
21595
|
{
|
|
@@ -21645,7 +21653,7 @@ const Ra = ({ value: t }) => z(
|
|
|
21645
21653
|
}
|
|
21646
21654
|
),
|
|
21647
21655
|
Me && /* @__PURE__ */ i(
|
|
21648
|
-
|
|
21656
|
+
Dn,
|
|
21649
21657
|
{
|
|
21650
21658
|
formView: Me,
|
|
21651
21659
|
model: r,
|
|
@@ -21747,7 +21755,7 @@ function p0(t, e) {
|
|
|
21747
21755
|
openAction: Me,
|
|
21748
21756
|
onRemoveTab: $e
|
|
21749
21757
|
} = le || {};
|
|
21750
|
-
|
|
21758
|
+
$n(
|
|
21751
21759
|
"ctrl+g,command+g",
|
|
21752
21760
|
() => {
|
|
21753
21761
|
Le();
|
|
@@ -21928,7 +21936,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
21928
21936
|
} catch {
|
|
21929
21937
|
}
|
|
21930
21938
|
if (!oe) {
|
|
21931
|
-
ee(!1), U(!1),
|
|
21939
|
+
ee(!1), U(!1), Ln(re("idNotFound"));
|
|
21932
21940
|
return;
|
|
21933
21941
|
}
|
|
21934
21942
|
} else
|
|
@@ -22665,7 +22673,7 @@ const b0 = Ht(v0), w0 = (t) => {
|
|
|
22665
22673
|
function N0({ text: t }) {
|
|
22666
22674
|
const e = t.split(`
|
|
22667
22675
|
`);
|
|
22668
|
-
return /* @__PURE__ */ i("div", { children: e.map((n, r) => /* @__PURE__ */ j(
|
|
22676
|
+
return /* @__PURE__ */ i("div", { children: e.map((n, r) => /* @__PURE__ */ j(Un, { children: [
|
|
22669
22677
|
n,
|
|
22670
22678
|
r !== e.length - 1 && /* @__PURE__ */ i("br", {})
|
|
22671
22679
|
] }, r)) });
|
|
@@ -23456,7 +23464,7 @@ function Q0(t) {
|
|
|
23456
23464
|
alignItems: "center"
|
|
23457
23465
|
},
|
|
23458
23466
|
children: /* @__PURE__ */ i(
|
|
23459
|
-
|
|
23467
|
+
En,
|
|
23460
23468
|
{
|
|
23461
23469
|
style: {
|
|
23462
23470
|
color: d.colorPrimaryActive
|
|
@@ -23818,7 +23826,7 @@ export {
|
|
|
23818
23826
|
Ib as FloatTime,
|
|
23819
23827
|
yr as Form,
|
|
23820
23828
|
Ow as FormActionView,
|
|
23821
|
-
|
|
23829
|
+
Dn as FormModal,
|
|
23822
23830
|
Qc as GraphCard,
|
|
23823
23831
|
xm as GraphIndicator,
|
|
23824
23832
|
wd as Group,
|