@gisce/react-ooui 2.0.0-alpha.17 → 2.0.0-alpha.19
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 +302 -304
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/widgets/base/Float.d.ts.map +1 -1
- package/dist/widgets/base/Integer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/widgets/base/Float.tsx +0 -1
- package/src/widgets/base/Integer.tsx +0 -1
- package/src/widgets/base/one2many/One2manyInput.tsx +1 -1
package/dist/react-ooui.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var Go = Object.defineProperty;
|
|
2
2
|
var Uo = (t, e, r) => e in t ? Go(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var sr = (t, e, r) => (Uo(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
|
-
import { jsxs as
|
|
4
|
+
import { jsxs as V, jsx as n, Fragment as Q } from "react/jsx-runtime";
|
|
5
5
|
import Qe, { useContext as H, useState as b, useEffect as me, useRef as de, useCallback as De, forwardRef as vt, useImperativeHandle as bt } from "react";
|
|
6
|
-
import { Tooltip as ht, theme as Pe, Typography as Yt, Form as lt, Row as ve, Col as ae, Modal as Je, Button as Oe, Dropdown as Gt, Menu as $e, Spin as Ae, Divider as cn, Space as We, Input as it, Select as Ct, Checkbox as Ht, Alert as et, Timeline as _n, Statistic as qo, Card as Nn, Tag as
|
|
7
|
-
import { Label as Dt, Field as
|
|
6
|
+
import { Tooltip as ht, theme as Pe, Typography as Yt, Form as lt, Row as ve, Col as ae, Modal as Je, Button as Oe, Dropdown as Gt, Menu as $e, Spin as Ae, Divider as cn, Space as We, Input as it, Select as Ct, Checkbox as Ht, Alert as et, Timeline as _n, Statistic as qo, Card as Nn, Tag as Rr, message as xn, DatePicker as Pn, TimePicker as Vr, InputNumber as Ln, Progress as zo, Avatar as Ar, Badge as Jo, Pagination as Zo, Tabs as Dr, Popover as Xo, Radio as ar, Switch as Qo, Steps as lr, Layout as ei } from "antd";
|
|
7
|
+
import { Label as Dt, Field as Rn, Tree as kr, Reference as ti, Selection as Bn, Many2one as Er, Boolean as ni, Container as ri, parseContext as wt, Form as Mr, Integer as Vn, SearchFieldTypes as mt, SearchFilter as oi, parseContextFields as Sn, parseDomainFields as cr, transformDomainForChildWidget as Nr, graphProcessor as Pr, parseGraph as $n, graphFieldUtils as ii } from "@gisce/ooui";
|
|
8
8
|
import * as dr from "@ant-design/icons";
|
|
9
9
|
import Lr, { QuestionCircleOutlined as Br, ExclamationCircleOutlined as pt, LoadingOutlined as st, DownOutlined as kt, WarningOutlined as $r, CloseOutlined as Ut, CheckOutlined as Et, TranslationOutlined as Hr, FolderOpenOutlined as Hn, DownloadOutlined as Kn, ClearOutlined as Wn, StarFilled as Kr, StarOutlined as Wr, UpOutlined as si, SearchOutlined as jn, RightCircleOutlined as ai, ThunderboltOutlined as Yn, PrinterOutlined as Gn, EnterOutlined as jr, PlusSquareOutlined as li, MinusSquareOutlined as ci, FileAddOutlined as dn, AlignLeftOutlined as di, ApiOutlined as ui, DeleteOutlined as Un, LeftOutlined as Yr, RightOutlined as Gr, EyeOutlined as fi, FormOutlined as Kt, TableOutlined as qn, AreaChartOutlined as mi, CalendarOutlined as hi, LinkOutlined as Ur, SaveOutlined as pi, CopyOutlined as zn, InfoCircleOutlined as qr, ReloadOutlined as un, EditOutlined as zr, FilterOutlined as Jr, CloseCircleFilled as gi, BorderOuterOutlined as yi, SettingOutlined as wi, ExportOutlined as vi } from "@ant-design/icons";
|
|
10
10
|
import { Interweave as Jn } from "interweave";
|
|
@@ -20,8 +20,8 @@ import xt from "use-deep-compare-effect";
|
|
|
20
20
|
import { Table as Fi } from "@gisce/react-formiga-table";
|
|
21
21
|
import { fileTypeFromBuffer as Ii } from "file-type-buffer-browser";
|
|
22
22
|
import { isPresetStatusColor as Oi, isPresetColor as _i } from "antd/lib/_util/colors";
|
|
23
|
-
import
|
|
24
|
-
import
|
|
23
|
+
import Ri from "dayjs/plugin/weekday";
|
|
24
|
+
import Vi from "dayjs/plugin/localeData";
|
|
25
25
|
import Ai from "antd/es/typography/Link";
|
|
26
26
|
import { GridUi as Di } from "@gisce/fiber-diagram";
|
|
27
27
|
import { FieldSet as ki, ExportModal as Ei } from "@gisce/react-formiga-components";
|
|
@@ -42,7 +42,7 @@ const { Text: Yi, Title: Gi } = Yt, { useToken: Ui } = Pe, qi = {
|
|
|
42
42
|
right: "justify-end"
|
|
43
43
|
}, fn = (t) => {
|
|
44
44
|
const { ooui: e, align: r, responsiveBehaviour: i } = t, { label: o, tooltip: s, fieldForLabel: a, labelSize: l, labelType: d } = e, c = a !== null && o.length > 1 ? o + " :" : o, m = r || (a ? i ? "left" : "right" : "left"), { token: g } = Ui(), h = l === void 0 ? Yi : Gi;
|
|
45
|
-
return /* @__PURE__ */
|
|
45
|
+
return /* @__PURE__ */ V(
|
|
46
46
|
"div",
|
|
47
47
|
{
|
|
48
48
|
className: `flex flex-row items-center pb-1 pt-1 ${qi[m]}`,
|
|
@@ -397,10 +397,10 @@ function ge({
|
|
|
397
397
|
align: s
|
|
398
398
|
}
|
|
399
399
|
);
|
|
400
|
-
return r === "horizontal" ? (() => /* @__PURE__ */
|
|
400
|
+
return r === "horizontal" ? (() => /* @__PURE__ */ V(ve, { align: "middle", className: "pb-1 pt-1", children: [
|
|
401
401
|
/* @__PURE__ */ n(ae, { className: "ml-2", flex: "7rem", children: /* @__PURE__ */ n("div", { className: "flex flex-col items-end", children: p }) }),
|
|
402
402
|
/* @__PURE__ */ n(ae, { flex: "auto", children: h() })
|
|
403
|
-
] }))() : (() => /* @__PURE__ */
|
|
403
|
+
] }))() : (() => /* @__PURE__ */ V(Q, { children: [
|
|
404
404
|
p,
|
|
405
405
|
h()
|
|
406
406
|
] }))();
|
|
@@ -671,7 +671,7 @@ const Xr = (t) => {
|
|
|
671
671
|
if (e.buttons.length === 0)
|
|
672
672
|
return null;
|
|
673
673
|
if (e.buttons.length > 1)
|
|
674
|
-
return /* @__PURE__ */ n(ge, { ooui: new
|
|
674
|
+
return /* @__PURE__ */ n(ge, { ooui: new Rn({ ooui: e }), children: /* @__PURE__ */ V(
|
|
675
675
|
Gt.Button,
|
|
676
676
|
{
|
|
677
677
|
disabled: !a || g,
|
|
@@ -848,7 +848,7 @@ const Qr = (t) => {
|
|
|
848
848
|
w.current = S, y(S);
|
|
849
849
|
}
|
|
850
850
|
function O() {
|
|
851
|
-
return u.map((x, S) => /* @__PURE__ */
|
|
851
|
+
return u.map((x, S) => /* @__PURE__ */ V(ve, { style: { paddingBottom: 20 }, children: [
|
|
852
852
|
/* @__PURE__ */ n(ae, { flex: "8rem", style: { paddingRight: 10 }, children: x.name }),
|
|
853
853
|
/* @__PURE__ */ n(ae, { flex: "auto", children: /* @__PURE__ */ n(
|
|
854
854
|
bi,
|
|
@@ -885,10 +885,10 @@ const Qr = (t) => {
|
|
|
885
885
|
h(!1), a();
|
|
886
886
|
}
|
|
887
887
|
function A() {
|
|
888
|
-
return f ? /* @__PURE__ */ n(Ae, {}) : /* @__PURE__ */
|
|
888
|
+
return f ? /* @__PURE__ */ n(Ae, {}) : /* @__PURE__ */ V(Q, { children: [
|
|
889
889
|
O(),
|
|
890
890
|
/* @__PURE__ */ n(cn, {}),
|
|
891
|
-
/* @__PURE__ */ n(ve, { justify: "end", children: /* @__PURE__ */
|
|
891
|
+
/* @__PURE__ */ n(ve, { justify: "end", children: /* @__PURE__ */ V(We, { children: [
|
|
892
892
|
/* @__PURE__ */ n(
|
|
893
893
|
Oe,
|
|
894
894
|
{
|
|
@@ -971,7 +971,7 @@ const { info: ls } = Je, ft = (t) => {
|
|
|
971
971
|
formHasChanges: d,
|
|
972
972
|
elementHasLostFocus: u
|
|
973
973
|
} = o || {}, [c, f] = b(!1), { t: m } = H(he);
|
|
974
|
-
return s ? /* @__PURE__ */
|
|
974
|
+
return s ? /* @__PURE__ */ V(Q, { children: [
|
|
975
975
|
/* @__PURE__ */ n(
|
|
976
976
|
"div",
|
|
977
977
|
{
|
|
@@ -1012,7 +1012,7 @@ const { info: ls } = Je, ft = (t) => {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
1014
|
)
|
|
1015
|
-
] }) : /* @__PURE__ */ n(Q, { children: /* @__PURE__ */
|
|
1015
|
+
] }) : /* @__PURE__ */ n(Q, { children: /* @__PURE__ */ V(ve, { gutter: 8, wrap: !1, children: [
|
|
1016
1016
|
/* @__PURE__ */ n(ae, { flex: "auto", children: /* @__PURE__ */ n(
|
|
1017
1017
|
it,
|
|
1018
1018
|
{
|
|
@@ -1119,8 +1119,8 @@ const xs = (t) => {
|
|
|
1119
1119
|
function c() {
|
|
1120
1120
|
l(void 0);
|
|
1121
1121
|
}
|
|
1122
|
-
return /* @__PURE__ */
|
|
1123
|
-
/* @__PURE__ */
|
|
1122
|
+
return /* @__PURE__ */ V(Q, { children: [
|
|
1123
|
+
/* @__PURE__ */ V(ve, { gutter: 8, wrap: !1, justify: "center", children: [
|
|
1124
1124
|
r && /* @__PURE__ */ n(
|
|
1125
1125
|
"img",
|
|
1126
1126
|
{
|
|
@@ -1140,7 +1140,7 @@ const xs = (t) => {
|
|
|
1140
1140
|
}
|
|
1141
1141
|
)
|
|
1142
1142
|
] }),
|
|
1143
|
-
/* @__PURE__ */ n(ve, { gutter: 8, wrap: !1, justify: "center", className: "pt-5", children: /* @__PURE__ */
|
|
1143
|
+
/* @__PURE__ */ n(ve, { gutter: 8, wrap: !1, justify: "center", className: "pt-5", children: /* @__PURE__ */ V(We, { children: [
|
|
1144
1144
|
/* @__PURE__ */ n(
|
|
1145
1145
|
Xe,
|
|
1146
1146
|
{
|
|
@@ -1239,7 +1239,7 @@ function so(t, e) {
|
|
|
1239
1239
|
r[i.id] = i[e];
|
|
1240
1240
|
}), r;
|
|
1241
1241
|
}
|
|
1242
|
-
function
|
|
1242
|
+
function Rt({
|
|
1243
1243
|
resultsToSort: t,
|
|
1244
1244
|
sorter: e,
|
|
1245
1245
|
fields: r
|
|
@@ -1314,7 +1314,7 @@ const Xn = async (t) => {
|
|
|
1314
1314
|
}, _s = (t) => {
|
|
1315
1315
|
const e = t.filter((r) => r.id && r.id < 0).map((r) => r.id);
|
|
1316
1316
|
return e.length === 0 ? -1 : Math.min(...e) - 1;
|
|
1317
|
-
},
|
|
1317
|
+
}, Rs = (t, e) => {
|
|
1318
1318
|
const r = {};
|
|
1319
1319
|
return Object.keys(t).forEach((i) => {
|
|
1320
1320
|
var o;
|
|
@@ -1322,7 +1322,7 @@ const Xn = async (t) => {
|
|
|
1322
1322
|
(s) => s.operation !== "pendingRemove"
|
|
1323
1323
|
) : r[i] = t[i];
|
|
1324
1324
|
}), r;
|
|
1325
|
-
},
|
|
1325
|
+
}, Vs = (t) => {
|
|
1326
1326
|
const { ooui: e } = t, { relation: r, context: i, views: o } = e, [s, a] = b(!0), [l, d] = b(), [u, c] = b(/* @__PURE__ */ new Map()), f = H(Ne), { getContext: m } = f || {};
|
|
1327
1327
|
xt(() => {
|
|
1328
1328
|
h();
|
|
@@ -1376,10 +1376,10 @@ const Xn = async (t) => {
|
|
|
1376
1376
|
l(!1);
|
|
1377
1377
|
}
|
|
1378
1378
|
}
|
|
1379
|
-
return d ? /* @__PURE__ */ n(et, { className: "mt-10", message: d, type: "error", banner: !0 }) : a ? /* @__PURE__ */ n(Ae, {}) : /* @__PURE__ */
|
|
1379
|
+
return d ? /* @__PURE__ */ n(et, { className: "mt-10", message: d, type: "error", banner: !0 }) : a ? /* @__PURE__ */ n(Ae, {}) : /* @__PURE__ */ V(Q, { children: [
|
|
1380
1380
|
/* @__PURE__ */ n(_n, { style: { padding: "1rem" }, children: I.map((x, S) => {
|
|
1381
1381
|
var F, v;
|
|
1382
|
-
return /* @__PURE__ */ n("div", { children: /* @__PURE__ */
|
|
1382
|
+
return /* @__PURE__ */ n("div", { children: /* @__PURE__ */ V(_n.Item, { children: [
|
|
1383
1383
|
/* @__PURE__ */ n(
|
|
1384
1384
|
"div",
|
|
1385
1385
|
{
|
|
@@ -1436,8 +1436,8 @@ const Xn = async (t) => {
|
|
|
1436
1436
|
const { ooui: e } = t;
|
|
1437
1437
|
return /* @__PURE__ */ n(ge, { ooui: e, children: /* @__PURE__ */ n(Es, { ooui: e }) });
|
|
1438
1438
|
}, Es = (t) => {
|
|
1439
|
-
const { token: e } = Ds(), { ooui: r, value: i } = t, o = /* @__PURE__ */
|
|
1440
|
-
/* @__PURE__ */
|
|
1439
|
+
const { token: e } = Ds(), { ooui: r, value: i } = t, o = /* @__PURE__ */ V(Q, { children: [
|
|
1440
|
+
/* @__PURE__ */ V("span", { children: [
|
|
1441
1441
|
r.label,
|
|
1442
1442
|
" "
|
|
1443
1443
|
] }),
|
|
@@ -1607,7 +1607,7 @@ const Nt = ({
|
|
|
1607
1607
|
borderColor: e,
|
|
1608
1608
|
borderStyle: "solid",
|
|
1609
1609
|
borderWidth: "1px"
|
|
1610
|
-
}, e = `${e}20`), /* @__PURE__ */ n(
|
|
1610
|
+
}, e = `${e}20`), /* @__PURE__ */ n(Rr, { ...t, style: r, color: e, children: t.children });
|
|
1611
1611
|
}, Ks = (t) => {
|
|
1612
1612
|
const { ooui: e } = t;
|
|
1613
1613
|
return /* @__PURE__ */ n(ge, { type: "array", ...t, children: /* @__PURE__ */ n(Ws, { ooui: e }) });
|
|
@@ -1750,7 +1750,7 @@ const Nt = ({
|
|
|
1750
1750
|
case "fiber_grid":
|
|
1751
1751
|
return Ts;
|
|
1752
1752
|
case "timeline":
|
|
1753
|
-
return
|
|
1753
|
+
return Vs;
|
|
1754
1754
|
case "indicator":
|
|
1755
1755
|
return ks;
|
|
1756
1756
|
case "tags":
|
|
@@ -1997,7 +1997,7 @@ const Nt = ({
|
|
|
1997
1997
|
setLimit: O,
|
|
1998
1998
|
searchParams: _ = [],
|
|
1999
1999
|
setSearchValues: A
|
|
2000
|
-
} = t, [x, S] = b(!1), [F, v] = b(!1), [E, P] = b(), [M, j] = b(1), [N, B] = b(0), [K,
|
|
2000
|
+
} = t, [x, S] = b(!1), [F, v] = b(!1), [E, P] = b(), [M, j] = b(1), [N, B] = b(0), [K, R] = b(), [U, ne] = b([]), [X, Y] = b(void 0), [G, k] = b(void 0), L = de(C || jt), ee = de([]), le = De((oe) => {
|
|
2001
2001
|
y == null || y([...oe]), ne([...oe]);
|
|
2002
2002
|
}, []), Fe = De(() => w || U, [w, U]), J = De(async () => {
|
|
2003
2003
|
const oe = await D.getHandler().nameSearch({
|
|
@@ -2007,7 +2007,7 @@ const Nt = ({
|
|
|
2007
2007
|
attrs: T,
|
|
2008
2008
|
context: u
|
|
2009
2009
|
});
|
|
2010
|
-
if (
|
|
2010
|
+
if (R(oe.length), c == null || c(oe.length), oe.length > 0) {
|
|
2011
2011
|
const Ee = oe.map((ie) => ie == null ? void 0 : ie[0]), { colors: ye, status: Me } = _t(f), He = {};
|
|
2012
2012
|
ye && (He.colors = ye), Me && (He.status = Me);
|
|
2013
2013
|
const Z = await D.getHandler().readEvalUiObjects({
|
|
@@ -2019,12 +2019,12 @@ const Nt = ({
|
|
|
2019
2019
|
attrs: He
|
|
2020
2020
|
}), xe = Z[0];
|
|
2021
2021
|
ee.current = [...xe], Y(tn(Z[1])), k(gr(Z[1]));
|
|
2022
|
-
const
|
|
2022
|
+
const Ve = xe.map((ie) => ie.id), Be = g !== void 0 ? Rt({
|
|
2023
2023
|
resultsToSort: xe,
|
|
2024
2024
|
sorter: g,
|
|
2025
2025
|
fields: { ...f.fields, ...m.fields }
|
|
2026
2026
|
}) : [...ee.current];
|
|
2027
|
-
le(Be),
|
|
2027
|
+
le(Be), Ve.length > 0 ? p == null || p(0) : p == null || p(void 0);
|
|
2028
2028
|
} else
|
|
2029
2029
|
le([]), p == null || p(void 0);
|
|
2030
2030
|
S(!1), d.current = !0;
|
|
@@ -2044,7 +2044,7 @@ const Nt = ({
|
|
|
2044
2044
|
async (oe) => {
|
|
2045
2045
|
const { params: Ee, newOffset: ye } = oe || {}, Me = Wt(Ee || _, T), { colors: He, status: Z } = _t(f), xe = {};
|
|
2046
2046
|
He && (xe.colors = He), Z && (xe.status = Z);
|
|
2047
|
-
const { totalItems:
|
|
2047
|
+
const { totalItems: Ve, results: Be, attrsEvaluated: ie } = await D.getHandler().searchForTree({
|
|
2048
2048
|
params: Me,
|
|
2049
2049
|
limit: L.current,
|
|
2050
2050
|
offset: ye || N,
|
|
@@ -2054,7 +2054,7 @@ const Nt = ({
|
|
|
2054
2054
|
attrs: xe
|
|
2055
2055
|
});
|
|
2056
2056
|
Y(tn(ie)), k(gr(ie)), ee.current = [...Be];
|
|
2057
|
-
const ue = g !== void 0 ?
|
|
2057
|
+
const ue = g !== void 0 ? Rt({
|
|
2058
2058
|
resultsToSort: Be,
|
|
2059
2059
|
sorter: g,
|
|
2060
2060
|
fields: { ...f.fields, ...m.fields }
|
|
@@ -2067,8 +2067,8 @@ const Nt = ({
|
|
|
2067
2067
|
} else
|
|
2068
2068
|
p == null || p(void 0);
|
|
2069
2069
|
S(!1);
|
|
2070
|
-
const Ue = await
|
|
2071
|
-
|
|
2070
|
+
const Ue = await Ve;
|
|
2071
|
+
R(Ue), c == null || c(Ue);
|
|
2072
2072
|
},
|
|
2073
2073
|
[
|
|
2074
2074
|
p,
|
|
@@ -2122,7 +2122,7 @@ const Nt = ({
|
|
|
2122
2122
|
if (JSON.stringify(oe) === JSON.stringify(g))
|
|
2123
2123
|
return;
|
|
2124
2124
|
h == null || h(oe);
|
|
2125
|
-
const Ee = oe !== void 0 ?
|
|
2125
|
+
const Ee = oe !== void 0 ? Rt({
|
|
2126
2126
|
resultsToSort: Fe(),
|
|
2127
2127
|
sorter: oe,
|
|
2128
2128
|
fields: { ...f.fields, ...m.fields }
|
|
@@ -2230,7 +2230,7 @@ const Nt = ({
|
|
|
2230
2230
|
setSearchTreeNameSearch: A,
|
|
2231
2231
|
goToResourceId: x,
|
|
2232
2232
|
limit: S
|
|
2233
|
-
} = t, [F, v] = b(!1), [E, P] = b(!1), [M, j] = b(!1), [N, B] = b(!0), [K,
|
|
2233
|
+
} = t, [F, v] = b(!1), [E, P] = b(!1), [M, j] = b(!1), [N, B] = b(!0), [K, R] = b(!0), [U, ne] = b([]), [X, Y] = b(!1), [G, k] = b([]), [L, ee] = b(!1), [le, Fe] = b(!0), [J, q] = b(), [be, we] = b({}), [je, ke] = b(
|
|
2234
2234
|
S !== void 0 ? S : jt
|
|
2235
2235
|
), [Le, Ge] = b(i);
|
|
2236
2236
|
me(() => {
|
|
@@ -2278,7 +2278,7 @@ const Nt = ({
|
|
|
2278
2278
|
formIsLoading: N,
|
|
2279
2279
|
setFormIsLoading: B,
|
|
2280
2280
|
treeIsLoading: K,
|
|
2281
|
-
setTreeIsLoading:
|
|
2281
|
+
setTreeIsLoading: R,
|
|
2282
2282
|
attachments: U,
|
|
2283
2283
|
setAttachments: ne,
|
|
2284
2284
|
selectedRowItems: O,
|
|
@@ -2369,7 +2369,7 @@ const Nt = ({
|
|
|
2369
2369
|
ze(`${N} action not supported`);
|
|
2370
2370
|
return;
|
|
2371
2371
|
}
|
|
2372
|
-
const { ids: B } = M || {}, K = B || [],
|
|
2372
|
+
const { ids: B } = M || {}, K = B || [], R = typeof E == "string" ? wt({
|
|
2373
2373
|
context: E,
|
|
2374
2374
|
fields: S,
|
|
2375
2375
|
values: F
|
|
@@ -2380,7 +2380,7 @@ const Nt = ({
|
|
|
2380
2380
|
name: j,
|
|
2381
2381
|
datas: M,
|
|
2382
2382
|
ids: K,
|
|
2383
|
-
context: { ...v, ...
|
|
2383
|
+
context: { ...v, ...R }
|
|
2384
2384
|
});
|
|
2385
2385
|
l(!0), s.current = !0, o.current = setInterval(() => {
|
|
2386
2386
|
w(U);
|
|
@@ -2531,7 +2531,7 @@ const Nt = ({
|
|
|
2531
2531
|
processAction: T,
|
|
2532
2532
|
globalValues: i
|
|
2533
2533
|
},
|
|
2534
|
-
children: /* @__PURE__ */
|
|
2534
|
+
children: /* @__PURE__ */ V(Q, { children: [
|
|
2535
2535
|
r,
|
|
2536
2536
|
/* @__PURE__ */ n(
|
|
2537
2537
|
Je,
|
|
@@ -2668,7 +2668,7 @@ function wa(t, e) {
|
|
|
2668
2668
|
defaultValues: O,
|
|
2669
2669
|
forcedValues: _ = {},
|
|
2670
2670
|
parentWidth: A
|
|
2671
|
-
} = t, { t: x, lang: S } = H(he), [F, v] = b(!1), [E, P] = b(), [M, j] = b(), [N] = lt.useForm(), [B, K] = b(), [
|
|
2671
|
+
} = t, { t: x, lang: S } = H(he), [F, v] = b(!1), [E, P] = b(), [M, j] = b(), [N] = lt.useForm(), [B, K] = b(), [R, U] = b(), ne = H(uo), [X, Y] = b(), [G, k] = b(!1), L = de(), ee = de({}), le = de({}), Fe = de(!1), J = de(!1), q = de(!1), we = (A !== void 0 ? A : X) < ya, je = H(Ne), { activeId: ke, getPlainValues: Le } = je || {}, Ge = H(
|
|
2672
2672
|
rt
|
|
2673
2673
|
), {
|
|
2674
2674
|
setFormIsSaving: Ce = void 0,
|
|
@@ -2680,7 +2680,7 @@ function wa(t, e) {
|
|
|
2680
2680
|
setTitle: Z = void 0
|
|
2681
2681
|
} = (C ? Ge : {}) || {}, xe = H(
|
|
2682
2682
|
Pt
|
|
2683
|
-
), { processAction:
|
|
2683
|
+
), { processAction: Ve, globalValues: Be } = xe || {};
|
|
2684
2684
|
bt(e, () => ({
|
|
2685
2685
|
submitForm: Xt,
|
|
2686
2686
|
getFields: ot,
|
|
@@ -2698,7 +2698,7 @@ function wa(t, e) {
|
|
|
2698
2698
|
L.current = void 0, j(void 0);
|
|
2699
2699
|
return;
|
|
2700
2700
|
}
|
|
2701
|
-
(i === void 0 &&
|
|
2701
|
+
(i === void 0 && R || i !== void 0 && R && i < 0) && (L.current = void 0, j(void 0)), nr();
|
|
2702
2702
|
}
|
|
2703
2703
|
}, [i, r, g, h, I]), me(() => {
|
|
2704
2704
|
G && (wn({
|
|
@@ -2716,11 +2716,11 @@ function wa(t, e) {
|
|
|
2716
2716
|
return i || L.current;
|
|
2717
2717
|
}
|
|
2718
2718
|
function ot() {
|
|
2719
|
-
return
|
|
2719
|
+
return R;
|
|
2720
2720
|
}
|
|
2721
2721
|
function Ke() {
|
|
2722
2722
|
const $ = {
|
|
2723
|
-
...qe(
|
|
2723
|
+
...qe(R),
|
|
2724
2724
|
...Te()
|
|
2725
2725
|
};
|
|
2726
2726
|
for (const W in $)
|
|
@@ -2736,7 +2736,7 @@ function wa(t, e) {
|
|
|
2736
2736
|
}
|
|
2737
2737
|
function se() {
|
|
2738
2738
|
const $ = {
|
|
2739
|
-
...qe(
|
|
2739
|
+
...qe(R)
|
|
2740
2740
|
};
|
|
2741
2741
|
for (const W in $)
|
|
2742
2742
|
$[W] === void 0 && delete $[W];
|
|
@@ -2768,19 +2768,19 @@ function wa(t, e) {
|
|
|
2768
2768
|
}, tt = () => Object.keys(
|
|
2769
2769
|
Tn({
|
|
2770
2770
|
source: ee.current,
|
|
2771
|
-
target: qe(
|
|
2772
|
-
fields:
|
|
2771
|
+
target: qe(R),
|
|
2772
|
+
fields: R
|
|
2773
2773
|
})
|
|
2774
2774
|
).length !== 0, qe = ($) => {
|
|
2775
2775
|
const W = N.getFieldsValue(!0);
|
|
2776
2776
|
return It(W, $);
|
|
2777
|
-
},
|
|
2777
|
+
}, Re = ($, W) => {
|
|
2778
2778
|
Lt({
|
|
2779
2779
|
values: {
|
|
2780
|
-
...It(N.getFieldsValue(!0),
|
|
2780
|
+
...It(N.getFieldsValue(!0), R),
|
|
2781
2781
|
[$]: W
|
|
2782
2782
|
},
|
|
2783
|
-
fields:
|
|
2783
|
+
fields: R,
|
|
2784
2784
|
reset: !1
|
|
2785
2785
|
});
|
|
2786
2786
|
}, Ye = ($) => N.getFieldsValue(!0)[$];
|
|
@@ -2806,7 +2806,7 @@ function wa(t, e) {
|
|
|
2806
2806
|
}
|
|
2807
2807
|
}, gt = async ($) => {
|
|
2808
2808
|
let W, te, re, fe;
|
|
2809
|
-
ye == null || ye(!0), P(void 0), $ != null && $.fields ? (te = $.fields, re = $.arch) : (te =
|
|
2809
|
+
ye == null || ye(!0), P(void 0), $ != null && $.fields ? (te = $.fields, re = $.arch) : (te = R, re = B), g && ($ == null ? void 0 : $.forceRefresh) !== !0 ? W = g : { values: W, defaultGetCalled: fe } = await Do({
|
|
2810
2810
|
fields: te,
|
|
2811
2811
|
arch: re
|
|
2812
2812
|
}), T && (W = { ...Ls(T), ...W }), ee.current = It(W, te), Lt({
|
|
@@ -2883,24 +2883,24 @@ function wa(t, e) {
|
|
|
2883
2883
|
if (ce()) {
|
|
2884
2884
|
const te = Tn({
|
|
2885
2885
|
source: ee.current,
|
|
2886
|
-
target: qe(
|
|
2887
|
-
fields:
|
|
2886
|
+
target: qe(R),
|
|
2887
|
+
fields: R
|
|
2888
2888
|
});
|
|
2889
2889
|
await D.getHandler().update({
|
|
2890
2890
|
model: r,
|
|
2891
2891
|
id: ce(),
|
|
2892
2892
|
values: { ...te, ..._ },
|
|
2893
|
-
fields:
|
|
2893
|
+
fields: R,
|
|
2894
2894
|
context: {
|
|
2895
2895
|
...w,
|
|
2896
2896
|
...M == null ? void 0 : M.context
|
|
2897
2897
|
}
|
|
2898
|
-
}), ee.current = qe(
|
|
2898
|
+
}), ee.current = qe(R);
|
|
2899
2899
|
} else {
|
|
2900
|
-
const te = qe(
|
|
2900
|
+
const te = qe(R), re = await D.getHandler().create({
|
|
2901
2901
|
model: r,
|
|
2902
2902
|
values: { ...te, ..._ },
|
|
2903
|
-
fields:
|
|
2903
|
+
fields: R,
|
|
2904
2904
|
context: {
|
|
2905
2905
|
...w,
|
|
2906
2906
|
...M == null ? void 0 : M.context
|
|
@@ -2923,7 +2923,7 @@ function wa(t, e) {
|
|
|
2923
2923
|
q.current
|
|
2924
2924
|
), q.current = !1;
|
|
2925
2925
|
const re = ce();
|
|
2926
|
-
return f && (L.current = void 0, Lt({ values: {}, fields:
|
|
2926
|
+
return f && (L.current = void 0, Lt({ values: {}, fields: R, reset: !0 })), { succeed: !0, id: re };
|
|
2927
2927
|
}
|
|
2928
2928
|
if (!tt() && ce() && te)
|
|
2929
2929
|
return J.current = !1, oe == null || oe(!1), ue == null || ue(), { succeed: !0, id: ce() };
|
|
@@ -2931,7 +2931,7 @@ function wa(t, e) {
|
|
|
2931
2931
|
return J.current = !1, wr(S), { succeed: !1, id: ce() };
|
|
2932
2932
|
v(!0), Ce == null || Ce(!0);
|
|
2933
2933
|
try {
|
|
2934
|
-
m === "api" ? await or($) : await ko($), f && (L.current = void 0, Lt({ values: {}, fields:
|
|
2934
|
+
m === "api" ? await or($) : await ko($), f && (L.current = void 0, Lt({ values: {}, fields: R, reset: !0 })), await gt({ forceRefresh: !0 }), W = !0, xn.success(x("savedRegisters"));
|
|
2935
2935
|
} catch (re) {
|
|
2936
2936
|
J.current = !1, v(!1), Ce == null || Ce(!1), Ue == null || Ue(re), xn.error(x("errorWhileSavingForm")), P(re != null && re.message ? re.message : re);
|
|
2937
2937
|
} finally {
|
|
@@ -2948,7 +2948,7 @@ function wa(t, e) {
|
|
|
2948
2948
|
const fe = new Mr($);
|
|
2949
2949
|
fe.parse(W, {
|
|
2950
2950
|
readOnly: c || re,
|
|
2951
|
-
values:
|
|
2951
|
+
values: Rs(
|
|
2952
2952
|
{
|
|
2953
2953
|
...te,
|
|
2954
2954
|
...Te()
|
|
@@ -2963,8 +2963,8 @@ function wa(t, e) {
|
|
|
2963
2963
|
return;
|
|
2964
2964
|
const W = Tn({
|
|
2965
2965
|
source: le.current,
|
|
2966
|
-
target: qe(
|
|
2967
|
-
fields:
|
|
2966
|
+
target: qe(R),
|
|
2967
|
+
fields: R
|
|
2968
2968
|
}), te = Object.keys(W);
|
|
2969
2969
|
if (te.length !== 0 && !(Ns({
|
|
2970
2970
|
changedFields: te,
|
|
@@ -2981,7 +2981,7 @@ function wa(t, e) {
|
|
|
2981
2981
|
"many2one"
|
|
2982
2982
|
]
|
|
2983
2983
|
}) && $ !== !0)) {
|
|
2984
|
-
const re = It(N.getFieldsValue(!0),
|
|
2984
|
+
const re = It(N.getFieldsValue(!0), R);
|
|
2985
2985
|
le.current = re, d == null || d(re), oe == null || oe(!0), Mo(te);
|
|
2986
2986
|
}
|
|
2987
2987
|
}, Eo = Ci(wn, 100), Mo = async ($) => {
|
|
@@ -2997,15 +2997,15 @@ function wa(t, e) {
|
|
|
2997
2997
|
const W = M == null ? void 0 : M.onChangeFields[$];
|
|
2998
2998
|
if (!W) {
|
|
2999
2999
|
Bt({
|
|
3000
|
-
fields:
|
|
3000
|
+
fields: R,
|
|
3001
3001
|
arch: B,
|
|
3002
|
-
values: qe(
|
|
3002
|
+
values: qe(R)
|
|
3003
3003
|
});
|
|
3004
3004
|
return;
|
|
3005
3005
|
}
|
|
3006
3006
|
const te = Bs({
|
|
3007
3007
|
values: {
|
|
3008
|
-
...qe(
|
|
3008
|
+
...qe(R),
|
|
3009
3009
|
context: {
|
|
3010
3010
|
...w,
|
|
3011
3011
|
...M == null ? void 0 : M.context
|
|
@@ -3018,16 +3018,16 @@ function wa(t, e) {
|
|
|
3018
3018
|
action: W.method,
|
|
3019
3019
|
ids: ce() ? [ce()] : [],
|
|
3020
3020
|
payload: te,
|
|
3021
|
-
fields:
|
|
3021
|
+
fields: R
|
|
3022
3022
|
});
|
|
3023
3023
|
if (re.value) {
|
|
3024
3024
|
const fe = {
|
|
3025
|
-
...qe(
|
|
3025
|
+
...qe(R),
|
|
3026
3026
|
...re.value
|
|
3027
3027
|
};
|
|
3028
|
-
Bt({ fields:
|
|
3028
|
+
Bt({ fields: R, arch: B, values: fe }), Lt({
|
|
3029
3029
|
values: fe,
|
|
3030
|
-
fields:
|
|
3030
|
+
fields: R,
|
|
3031
3031
|
reset: !1
|
|
3032
3032
|
});
|
|
3033
3033
|
}
|
|
@@ -3040,7 +3040,7 @@ function wa(t, e) {
|
|
|
3040
3040
|
if (re.domain && Object.keys(re.domain).length > 0) {
|
|
3041
3041
|
const fe = Ps({
|
|
3042
3042
|
fieldsDomain: re.domain,
|
|
3043
|
-
fields:
|
|
3043
|
+
fields: R
|
|
3044
3044
|
});
|
|
3045
3045
|
Bt({
|
|
3046
3046
|
fields: fe,
|
|
@@ -3071,7 +3071,7 @@ function wa(t, e) {
|
|
|
3071
3071
|
let re = {};
|
|
3072
3072
|
te.context && (re = wt({
|
|
3073
3073
|
context: te.context,
|
|
3074
|
-
fields:
|
|
3074
|
+
fields: R,
|
|
3075
3075
|
values: Ke()
|
|
3076
3076
|
})), await ir({
|
|
3077
3077
|
actionData: te,
|
|
@@ -3103,9 +3103,9 @@ function wa(t, e) {
|
|
|
3103
3103
|
actionData: $,
|
|
3104
3104
|
context: W
|
|
3105
3105
|
}) {
|
|
3106
|
-
const { closeParent: te } = await (
|
|
3106
|
+
const { closeParent: te } = await (Ve == null ? void 0 : Ve({
|
|
3107
3107
|
actionData: $,
|
|
3108
|
-
fields:
|
|
3108
|
+
fields: R,
|
|
3109
3109
|
values: Ke(),
|
|
3110
3110
|
context: {
|
|
3111
3111
|
...w,
|
|
@@ -3123,9 +3123,9 @@ function wa(t, e) {
|
|
|
3123
3123
|
}
|
|
3124
3124
|
function vn($) {
|
|
3125
3125
|
Bt({
|
|
3126
|
-
fields:
|
|
3126
|
+
fields: R,
|
|
3127
3127
|
arch: B,
|
|
3128
|
-
values: qe(
|
|
3128
|
+
values: qe(R),
|
|
3129
3129
|
operationInProgress: $
|
|
3130
3130
|
});
|
|
3131
3131
|
}
|
|
@@ -3160,7 +3160,7 @@ function wa(t, e) {
|
|
|
3160
3160
|
domain: T,
|
|
3161
3161
|
activeId: i,
|
|
3162
3162
|
activeModel: r,
|
|
3163
|
-
setFieldValue:
|
|
3163
|
+
setFieldValue: Re,
|
|
3164
3164
|
getFieldValue: Ye,
|
|
3165
3165
|
executeButtonAction: Ho,
|
|
3166
3166
|
getContext: Se,
|
|
@@ -3186,9 +3186,9 @@ function wa(t, e) {
|
|
|
3186
3186
|
}
|
|
3187
3187
|
)
|
|
3188
3188
|
}
|
|
3189
|
-
) }), Wo = () => /* @__PURE__ */
|
|
3189
|
+
) }), Wo = () => /* @__PURE__ */ V(Q, { children: [
|
|
3190
3190
|
/* @__PURE__ */ n(cn, {}),
|
|
3191
|
-
/* @__PURE__ */ n(ve, { justify: "end", children: /* @__PURE__ */
|
|
3191
|
+
/* @__PURE__ */ n(ve, { justify: "end", children: /* @__PURE__ */ V(We, { children: [
|
|
3192
3192
|
/* @__PURE__ */ n(
|
|
3193
3193
|
Oe,
|
|
3194
3194
|
{
|
|
@@ -3223,7 +3223,7 @@ function wa(t, e) {
|
|
|
3223
3223
|
var W;
|
|
3224
3224
|
Y((W = $.bounds) == null ? void 0 : W.width);
|
|
3225
3225
|
},
|
|
3226
|
-
children: ({ measureRef: $ }) => /* @__PURE__ */
|
|
3226
|
+
children: ({ measureRef: $ }) => /* @__PURE__ */ V("div", { className: "pb-2", ref: $, children: [
|
|
3227
3227
|
E && /* @__PURE__ */ n(ga, { className: "mt-5 mb-10", error: E }),
|
|
3228
3228
|
Ko(),
|
|
3229
3229
|
a && Wo()
|
|
@@ -3271,7 +3271,7 @@ const Jt = vt(wa), Zt = (t) => {
|
|
|
3271
3271
|
g(!m);
|
|
3272
3272
|
}
|
|
3273
3273
|
function T() {
|
|
3274
|
-
return /* @__PURE__ */
|
|
3274
|
+
return /* @__PURE__ */ V(ve, { align: "middle", children: [
|
|
3275
3275
|
/* @__PURE__ */ n(ae, { children: /* @__PURE__ */ n(
|
|
3276
3276
|
Oe,
|
|
3277
3277
|
{
|
|
@@ -3317,16 +3317,16 @@ const Jt = vt(wa), Zt = (t) => {
|
|
|
3317
3317
|
}
|
|
3318
3318
|
) }), ba = (t) => {
|
|
3319
3319
|
const { ooui: e, showLabel: r = !1 } = t, { label: i, id: o } = e, s = [
|
|
3320
|
-
new
|
|
3320
|
+
new Rn({
|
|
3321
3321
|
name: o + "#date",
|
|
3322
3322
|
label: ""
|
|
3323
3323
|
}),
|
|
3324
|
-
new
|
|
3324
|
+
new Rn({
|
|
3325
3325
|
name: o + "#time",
|
|
3326
3326
|
label: ""
|
|
3327
3327
|
})
|
|
3328
3328
|
];
|
|
3329
|
-
return /* @__PURE__ */
|
|
3329
|
+
return /* @__PURE__ */ V(Q, { children: [
|
|
3330
3330
|
r && /* @__PURE__ */ n(
|
|
3331
3331
|
fn,
|
|
3332
3332
|
{
|
|
@@ -3339,7 +3339,7 @@ const Jt = vt(wa), Zt = (t) => {
|
|
|
3339
3339
|
align: "left"
|
|
3340
3340
|
}
|
|
3341
3341
|
),
|
|
3342
|
-
/* @__PURE__ */
|
|
3342
|
+
/* @__PURE__ */ V(ve, { align: "bottom", className: "p-0", children: [
|
|
3343
3343
|
/* @__PURE__ */ n(ae, { className: "mr-2", children: /* @__PURE__ */ n(ge, { ...t, ooui: s[0], showLabel: !1, children: /* @__PURE__ */ n(
|
|
3344
3344
|
Pn.RangePicker,
|
|
3345
3345
|
{
|
|
@@ -3349,7 +3349,7 @@ const Jt = vt(wa), Zt = (t) => {
|
|
|
3349
3349
|
}
|
|
3350
3350
|
) }) }),
|
|
3351
3351
|
/* @__PURE__ */ n(ae, { children: /* @__PURE__ */ n(ge, { ...t, ooui: s[1], showLabel: !1, children: /* @__PURE__ */ n(
|
|
3352
|
-
|
|
3352
|
+
Vr.RangePicker,
|
|
3353
3353
|
{
|
|
3354
3354
|
className: "w-60",
|
|
3355
3355
|
allowEmpty: [!0, !0],
|
|
@@ -3369,7 +3369,6 @@ const Jt = vt(wa), Zt = (t) => {
|
|
|
3369
3369
|
id: r,
|
|
3370
3370
|
precision: i,
|
|
3371
3371
|
formatter: (c) => `${c}`.replace(/[^0-9\.\-]+/g, ""),
|
|
3372
|
-
defaultValue: 0,
|
|
3373
3372
|
decimalSeparator: ".",
|
|
3374
3373
|
onBlur: u
|
|
3375
3374
|
}
|
|
@@ -3387,7 +3386,6 @@ const Jt = vt(wa), Zt = (t) => {
|
|
|
3387
3386
|
const f = c;
|
|
3388
3387
|
r == null || r(f);
|
|
3389
3388
|
},
|
|
3390
|
-
defaultValue: 0,
|
|
3391
3389
|
onBlur: u,
|
|
3392
3390
|
precision: 0,
|
|
3393
3391
|
style: l
|
|
@@ -3395,7 +3393,7 @@ const Jt = vt(wa), Zt = (t) => {
|
|
|
3395
3393
|
) });
|
|
3396
3394
|
};
|
|
3397
3395
|
function Sa(t) {
|
|
3398
|
-
const { ooui: e, showLabel: r } = t, { id: i, label: o, tooltip: s } = e, a = e instanceof
|
|
3396
|
+
const { ooui: e, showLabel: r } = t, { id: i, label: o, tooltip: s } = e, a = e instanceof Vn ? rn : mo, l = (d) => /* @__PURE__ */ n(
|
|
3399
3397
|
a,
|
|
3400
3398
|
{
|
|
3401
3399
|
ooui: {
|
|
@@ -3407,7 +3405,7 @@ function Sa(t) {
|
|
|
3407
3405
|
layout: "vertical"
|
|
3408
3406
|
}
|
|
3409
3407
|
);
|
|
3410
|
-
return /* @__PURE__ */
|
|
3408
|
+
return /* @__PURE__ */ V(Q, { children: [
|
|
3411
3409
|
r && /* @__PURE__ */ n(
|
|
3412
3410
|
fn,
|
|
3413
3411
|
{
|
|
@@ -3420,7 +3418,7 @@ function Sa(t) {
|
|
|
3420
3418
|
align: "left"
|
|
3421
3419
|
}
|
|
3422
3420
|
),
|
|
3423
|
-
/* @__PURE__ */
|
|
3421
|
+
/* @__PURE__ */ V(ve, { align: "bottom", className: "mt-0", wrap: !1, children: [
|
|
3424
3422
|
/* @__PURE__ */ n(ae, { children: l("#from") }),
|
|
3425
3423
|
/* @__PURE__ */ n(ae, { className: "pb-1", children: /* @__PURE__ */ n("span", { className: "pl-2 pr-2 h-full", children: " - " }) }),
|
|
3426
3424
|
/* @__PURE__ */ n(ae, { children: l("#to") })
|
|
@@ -3429,15 +3427,15 @@ function Sa(t) {
|
|
|
3429
3427
|
}
|
|
3430
3428
|
const { defaultAlgorithm: Ta, defaultSeed: Fa } = Pe, Ia = Ta(Fa), { Option: Oa } = Ct, _a = (t) => {
|
|
3431
3429
|
const { ooui: e } = t, { required: r } = e;
|
|
3432
|
-
return /* @__PURE__ */ n(ge, { required: r, type: "any", ...t, children: /* @__PURE__ */ n(
|
|
3433
|
-
},
|
|
3430
|
+
return /* @__PURE__ */ n(ge, { required: r, type: "any", ...t, children: /* @__PURE__ */ n(Ra, { ...t }) });
|
|
3431
|
+
}, Ra = (t) => {
|
|
3434
3432
|
const { ooui: e, onChange: r, value: i } = t, { selectionValues: o, readOnly: s, required: a } = e, l = Array.from(o.entries()), d = l && l.length && l.filter((f) => {
|
|
3435
3433
|
const [m] = f;
|
|
3436
3434
|
return i ? !i.includes(m) : !0;
|
|
3437
3435
|
}).map((f) => {
|
|
3438
3436
|
const [m, g] = f;
|
|
3439
3437
|
return /* @__PURE__ */ n(Oa, { value: g, children: g }, m);
|
|
3440
|
-
}), u = a && !s ?
|
|
3438
|
+
}), u = a && !s ? Va : Ct;
|
|
3441
3439
|
function c(f) {
|
|
3442
3440
|
const m = f.map((g) => {
|
|
3443
3441
|
const h = l.find(([p, y]) => g === y);
|
|
@@ -3460,7 +3458,7 @@ const { defaultAlgorithm: Ta, defaultSeed: Fa } = Pe, Ia = Ta(Fa), { Option: Oa
|
|
|
3460
3458
|
children: d
|
|
3461
3459
|
}
|
|
3462
3460
|
);
|
|
3463
|
-
},
|
|
3461
|
+
}, Va = Mt(Ct)`
|
|
3464
3462
|
&.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
3465
3463
|
background-color: ${Ia.colorPrimaryBg};
|
|
3466
3464
|
}
|
|
@@ -3503,12 +3501,12 @@ function Da(t) {
|
|
|
3503
3501
|
onClear: i,
|
|
3504
3502
|
isSearching: o
|
|
3505
3503
|
} = t, { t: s } = H(he);
|
|
3506
|
-
return /* @__PURE__ */
|
|
3507
|
-
/* @__PURE__ */ n(ae, { span: 12, className: "text-left pt-4 pb-2 pl-2", children: /* @__PURE__ */
|
|
3504
|
+
return /* @__PURE__ */ V(ve, { children: [
|
|
3505
|
+
/* @__PURE__ */ n(ae, { span: 12, className: "text-left pt-4 pb-2 pl-2", children: /* @__PURE__ */ V("a", { className: "text-xs", onClick: e, children: [
|
|
3508
3506
|
r ? /* @__PURE__ */ n(si, { className: "pr-1" }) : /* @__PURE__ */ n(kt, { className: "pr-1" }),
|
|
3509
3507
|
s(r ? "simple_search" : "advanced_search")
|
|
3510
3508
|
] }) }),
|
|
3511
|
-
/* @__PURE__ */
|
|
3509
|
+
/* @__PURE__ */ V(ae, { span: 12, className: "text-right pb-2", children: [
|
|
3512
3510
|
/* @__PURE__ */ n(Oe, { className: "mr-5", icon: /* @__PURE__ */ n(Wn, {}), onClick: i, children: s("clear") }),
|
|
3513
3511
|
/* @__PURE__ */ n(
|
|
3514
3512
|
Oe,
|
|
@@ -3525,10 +3523,10 @@ function Da(t) {
|
|
|
3525
3523
|
] });
|
|
3526
3524
|
}
|
|
3527
3525
|
function ka(t) {
|
|
3528
|
-
const { onLimitChange: e } = t, { t: r } = H(he), i = new
|
|
3529
|
-
return /* @__PURE__ */
|
|
3526
|
+
const { onLimitChange: e } = t, { t: r } = H(he), i = new Vn({ name: "limit" }), o = new Vn({ name: "offset" });
|
|
3527
|
+
return /* @__PURE__ */ V("div", { className: "pl-2 pt-2", children: [
|
|
3530
3528
|
/* @__PURE__ */ n(ve, { children: r("parameters") }, "count_params"),
|
|
3531
|
-
/* @__PURE__ */
|
|
3529
|
+
/* @__PURE__ */ V(We, { align: "center", children: [
|
|
3532
3530
|
r("limit") + " :",
|
|
3533
3531
|
/* @__PURE__ */ n(rn, { ooui: i, onChange: (s) => {
|
|
3534
3532
|
e == null || e(s);
|
|
@@ -3585,8 +3583,8 @@ function ho(t) {
|
|
|
3585
3583
|
var v;
|
|
3586
3584
|
c == null || c((v = F.bounds) == null ? void 0 : v.height);
|
|
3587
3585
|
},
|
|
3588
|
-
children: ({ measureRef: F }) => /* @__PURE__ */ n("div", { ref: F, children: /* @__PURE__ */
|
|
3589
|
-
/* @__PURE__ */
|
|
3586
|
+
children: ({ measureRef: F }) => /* @__PURE__ */ n("div", { ref: F, children: /* @__PURE__ */ V("div", { style: { display: u ? "block" : "none" }, children: [
|
|
3587
|
+
/* @__PURE__ */ V(
|
|
3590
3588
|
lt,
|
|
3591
3589
|
{
|
|
3592
3590
|
className: "p-3 shadow-md",
|
|
@@ -3690,7 +3688,7 @@ const Pa = (t) => /* @__PURE__ */ n(ge, { ...t, children: /* @__PURE__ */ n(go,
|
|
|
3690
3688
|
maximumFractionDigits: 4,
|
|
3691
3689
|
useGrouping: !1
|
|
3692
3690
|
})}%`;
|
|
3693
|
-
return /* @__PURE__ */
|
|
3691
|
+
return /* @__PURE__ */ V("div", { style: { flex: 1, display: "flex", alignItems: "center" }, children: [
|
|
3694
3692
|
/* @__PURE__ */ n(La, { percent: t }),
|
|
3695
3693
|
/* @__PURE__ */ n("div", { style: { flexGrow: 1, paddingLeft: 10 }, children: e })
|
|
3696
3694
|
] });
|
|
@@ -3747,8 +3745,8 @@ const Pa = (t) => /* @__PURE__ */ n(ge, { ...t, children: /* @__PURE__ */ n(go,
|
|
|
3747
3745
|
f(j);
|
|
3748
3746
|
let N = [];
|
|
3749
3747
|
const { toolbar: B } = j;
|
|
3750
|
-
(F = B.action) == null || F.filter((
|
|
3751
|
-
(
|
|
3748
|
+
(F = B.action) == null || F.filter((R) => R.hasOwnProperty("context")).map((R) => N.push(...Sn(R.context))), (v = B.action) == null || v.filter((R) => R.hasOwnProperty("domain")).map((R) => N.push(...cr(R.domain))), (E = B.relate) == null || E.filter((R) => R.hasOwnProperty("context")).map((R) => N.push(...Sn(R.context))), (P = B.relate) == null || P.filter((R) => R.hasOwnProperty("domain")).map((R) => N.push(...cr(R.domain))), (M = B.print) == null || M.filter((R) => R.hasOwnProperty("context")).map((R) => N.push(...Sn(R.context))), N = N.filter(
|
|
3749
|
+
(R) => Object.keys(j.fields).indexOf(R) > -1
|
|
3752
3750
|
);
|
|
3753
3751
|
let K = {};
|
|
3754
3752
|
N.length > 0 && (K = (await D.getHandler().readObjects({
|
|
@@ -3791,10 +3789,10 @@ const Pa = (t) => /* @__PURE__ */ n(ge, { ...t, children: /* @__PURE__ */ n(go,
|
|
|
3791
3789
|
/* @__PURE__ */ n(
|
|
3792
3790
|
$e.ItemGroup,
|
|
3793
3791
|
{
|
|
3794
|
-
title: /* @__PURE__ */
|
|
3792
|
+
title: /* @__PURE__ */ V(Q, { children: [
|
|
3795
3793
|
/* @__PURE__ */ n(jr, {}),
|
|
3796
3794
|
" ",
|
|
3797
|
-
/* @__PURE__ */
|
|
3795
|
+
/* @__PURE__ */ V("span", { children: [
|
|
3798
3796
|
" ",
|
|
3799
3797
|
h("related")
|
|
3800
3798
|
] })
|
|
@@ -3840,7 +3838,7 @@ const Pa = (t) => /* @__PURE__ */ n(ge, { ...t, children: /* @__PURE__ */ n(go,
|
|
|
3840
3838
|
fields: c.fields
|
|
3841
3839
|
});
|
|
3842
3840
|
}
|
|
3843
|
-
return /* @__PURE__ */
|
|
3841
|
+
return /* @__PURE__ */ V(Q, { children: [
|
|
3844
3842
|
/* @__PURE__ */ n(Gt, { overlay: C(), trigger: ["click"], children: /* @__PURE__ */ n(
|
|
3845
3843
|
ai,
|
|
3846
3844
|
{
|
|
@@ -3871,7 +3869,7 @@ const Pa = (t) => /* @__PURE__ */ n(ge, { ...t, children: /* @__PURE__ */ n(go,
|
|
|
3871
3869
|
] });
|
|
3872
3870
|
}, Ba = (t) => {
|
|
3873
3871
|
const { m2oField: e } = t;
|
|
3874
|
-
return e ? /* @__PURE__ */
|
|
3872
|
+
return e ? /* @__PURE__ */ V(We, { children: [
|
|
3875
3873
|
/* @__PURE__ */ n(Q, { children: e.value }),
|
|
3876
3874
|
/* @__PURE__ */ n(Qn, { id: e.id, model: e.model })
|
|
3877
3875
|
] }) : /* @__PURE__ */ n(Q, {});
|
|
@@ -3895,7 +3893,7 @@ const Pa = (t) => /* @__PURE__ */ n(ge, { ...t, children: /* @__PURE__ */ n(go,
|
|
|
3895
3893
|
if (a)
|
|
3896
3894
|
return /* @__PURE__ */ n(st, {});
|
|
3897
3895
|
const m = i.get(d);
|
|
3898
|
-
return /* @__PURE__ */
|
|
3896
|
+
return /* @__PURE__ */ V(We, { children: [
|
|
3899
3897
|
/* @__PURE__ */ n(Q, { children: `${m}:` }),
|
|
3900
3898
|
/* @__PURE__ */ n(Q, { children: o }),
|
|
3901
3899
|
/* @__PURE__ */ n(Qn, { id: c, model: d })
|
|
@@ -3909,8 +3907,8 @@ const Pa = (t) => /* @__PURE__ */ n(ge, { ...t, children: /* @__PURE__ */ n(go,
|
|
|
3909
3907
|
const o = i.toString().split(" ").filter((a) => a.length > 1).slice(0, 3).map((a) => a[0].toUpperCase()).join(""), s = nn(i);
|
|
3910
3908
|
return /* @__PURE__ */ n(ht, { title: i, children: /* @__PURE__ */ n(Ar, { alt: i, style: { backgroundColor: s }, children: o }) });
|
|
3911
3909
|
}, { useToken: Ka } = Pe;
|
|
3912
|
-
at.extend(Vi);
|
|
3913
3910
|
at.extend(Ri);
|
|
3911
|
+
at.extend(Vi);
|
|
3914
3912
|
const ut = {
|
|
3915
3913
|
date: {
|
|
3916
3914
|
placeholder: "__/__/____",
|
|
@@ -3969,7 +3967,7 @@ const ut = {
|
|
|
3969
3967
|
return null;
|
|
3970
3968
|
const u = async (m) => {
|
|
3971
3969
|
m.preventDefault(), m.stopPropagation(), a(!0), await i(), a(!1);
|
|
3972
|
-
}, c = /* @__PURE__ */
|
|
3970
|
+
}, c = /* @__PURE__ */ V("span", { children: [
|
|
3973
3971
|
d.recordsSelected.replace(
|
|
3974
3972
|
"{numberOfSelectedRows}",
|
|
3975
3973
|
t.toString()
|
|
@@ -4088,14 +4086,14 @@ function pn(t) {
|
|
|
4088
4086
|
const k = io(v.current, s);
|
|
4089
4087
|
A(k), P.current = r;
|
|
4090
4088
|
}, [s]);
|
|
4091
|
-
const B = (e - 1) * P.current + 1, K = B - 1 + _.length,
|
|
4089
|
+
const B = (e - 1) * P.current + 1, K = B - 1 + _.length, R = i === void 0 ? null : i === 0 ? E("no_results") : E("summary").replace("{from}", B == null ? void 0 : B.toString()).replace("{to}", K == null ? void 0 : K.toString()).replace("{total}", i == null ? void 0 : i.toString()), U = () => {
|
|
4092
4090
|
var L;
|
|
4093
4091
|
if (!u || o.isExpandable)
|
|
4094
4092
|
return null;
|
|
4095
4093
|
const k = _ == null ? void 0 : _.filter(
|
|
4096
4094
|
(ee) => (c == null ? void 0 : c.selectedRowKeys) && (c == null ? void 0 : c.selectedRowKeys.includes(ee.id))
|
|
4097
4095
|
).length;
|
|
4098
|
-
return l ? null : i === void 0 ? /* @__PURE__ */ n(Ae, { className: "pb-4" }) : /* @__PURE__ */
|
|
4096
|
+
return l ? null : i === void 0 ? /* @__PURE__ */ n(Ae, { className: "pb-4" }) : /* @__PURE__ */ V(ve, { align: "bottom", className: "pb-4", children: [
|
|
4099
4097
|
/* @__PURE__ */ n(ae, { span: O ? 8 : 12, children: /* @__PURE__ */ n(
|
|
4100
4098
|
Zo,
|
|
4101
4099
|
{
|
|
@@ -4116,7 +4114,7 @@ function pn(t) {
|
|
|
4116
4114
|
onSelectAllRecords: O
|
|
4117
4115
|
}
|
|
4118
4116
|
) }),
|
|
4119
|
-
/* @__PURE__ */ n(ae, { span: O ? 8 : 12, className: "text-right", children:
|
|
4117
|
+
/* @__PURE__ */ n(ae, { span: O ? 8 : 12, className: "text-right", children: R })
|
|
4120
4118
|
] });
|
|
4121
4119
|
};
|
|
4122
4120
|
function ne() {
|
|
@@ -4136,7 +4134,7 @@ function pn(t) {
|
|
|
4136
4134
|
const L = v.current;
|
|
4137
4135
|
f && L.columns.some((ee) => ee.sum !== void 0) && (Y = f - 30);
|
|
4138
4136
|
}
|
|
4139
|
-
return v.current === null || !X || ((G = X.columns) == null ? void 0 : G.length) === 0 ? /* @__PURE__ */ n(Ae, { style: { padding: "2rem" } }) : /* @__PURE__ */
|
|
4137
|
+
return v.current === null || !X || ((G = X.columns) == null ? void 0 : G.length) === 0 ? /* @__PURE__ */ n(Ae, { style: { padding: "2rem" } }) : /* @__PURE__ */ V("div", { children: [
|
|
4140
4138
|
U(),
|
|
4141
4139
|
/* @__PURE__ */ n(
|
|
4142
4140
|
Fi,
|
|
@@ -4192,7 +4190,7 @@ function ol(t, e) {
|
|
|
4192
4190
|
), {
|
|
4193
4191
|
setResults: B = void 0,
|
|
4194
4192
|
setCurrentItemIndex: K = void 0,
|
|
4195
|
-
currentId:
|
|
4193
|
+
currentId: R = void 0,
|
|
4196
4194
|
results: U = void 0,
|
|
4197
4195
|
selectedRowItems: ne = void 0,
|
|
4198
4196
|
setSelectedRowItems: X = void 0,
|
|
@@ -4220,7 +4218,7 @@ function ol(t, e) {
|
|
|
4220
4218
|
offset: He,
|
|
4221
4219
|
getResults: Z,
|
|
4222
4220
|
requestPageChange: xe,
|
|
4223
|
-
changeSort:
|
|
4221
|
+
changeSort: Ve,
|
|
4224
4222
|
fetchChildrenForRecord: Be,
|
|
4225
4223
|
colorsForResults: ie,
|
|
4226
4224
|
statusForResults: ue,
|
|
@@ -4246,7 +4244,7 @@ function ol(t, e) {
|
|
|
4246
4244
|
setResultsActionView: B,
|
|
4247
4245
|
resultsActionView: U,
|
|
4248
4246
|
domain: d,
|
|
4249
|
-
currentId:
|
|
4247
|
+
currentId: R,
|
|
4250
4248
|
setActionViewTotalItems: Fe,
|
|
4251
4249
|
limit: je,
|
|
4252
4250
|
setLimit: ke
|
|
@@ -4264,15 +4262,15 @@ function ol(t, e) {
|
|
|
4264
4262
|
y(!1), h(!0), S(void 0), q == null || q(!0);
|
|
4265
4263
|
try {
|
|
4266
4264
|
await Ke(), y(!0);
|
|
4267
|
-
} catch (
|
|
4268
|
-
S(
|
|
4265
|
+
} catch (Re) {
|
|
4266
|
+
S(Re), q == null || q(!1);
|
|
4269
4267
|
} finally {
|
|
4270
4268
|
h(!1);
|
|
4271
4269
|
}
|
|
4272
4270
|
}, Ke = async () => {
|
|
4273
4271
|
I(r);
|
|
4274
|
-
let
|
|
4275
|
-
i || (
|
|
4272
|
+
let Re = i;
|
|
4273
|
+
i || (Re = await D.getHandler().getView({
|
|
4276
4274
|
model: r,
|
|
4277
4275
|
type: "form",
|
|
4278
4276
|
context: f
|
|
@@ -4282,15 +4280,15 @@ function ol(t, e) {
|
|
|
4282
4280
|
model: r,
|
|
4283
4281
|
type: "tree",
|
|
4284
4282
|
context: f
|
|
4285
|
-
})), A(
|
|
4283
|
+
})), A(Re), O(Ye);
|
|
4286
4284
|
};
|
|
4287
4285
|
me(() => {
|
|
4288
4286
|
ot();
|
|
4289
4287
|
}, [r]);
|
|
4290
|
-
const z = (
|
|
4291
|
-
ke == null || ke(
|
|
4292
|
-
}, se = async (
|
|
4293
|
-
const { id: Ye } =
|
|
4288
|
+
const z = (Re) => {
|
|
4289
|
+
ke == null || ke(Re);
|
|
4290
|
+
}, se = async (Re) => {
|
|
4291
|
+
const { id: Ye } = Re;
|
|
4294
4292
|
E.current || (E.current = await D.getHandler().treeButOpen({
|
|
4295
4293
|
id: C.view_id,
|
|
4296
4294
|
model: T,
|
|
@@ -4302,15 +4300,15 @@ function ol(t, e) {
|
|
|
4302
4300
|
fields: C.fields,
|
|
4303
4301
|
values: {
|
|
4304
4302
|
active_id: Ye,
|
|
4305
|
-
...
|
|
4303
|
+
...Re
|
|
4306
4304
|
},
|
|
4307
4305
|
context: f
|
|
4308
4306
|
}));
|
|
4309
|
-
}, Se = async (
|
|
4310
|
-
const { id: Ye } =
|
|
4307
|
+
}, Se = async (Re) => {
|
|
4308
|
+
const { id: Ye } = Re;
|
|
4311
4309
|
if (C != null && C.isExpandable) {
|
|
4312
4310
|
try {
|
|
4313
|
-
await se(
|
|
4311
|
+
await se(Re);
|
|
4314
4312
|
} catch (St) {
|
|
4315
4313
|
ze(St);
|
|
4316
4314
|
}
|
|
@@ -4323,17 +4321,17 @@ function ol(t, e) {
|
|
|
4323
4321
|
treeView: C
|
|
4324
4322
|
});
|
|
4325
4323
|
};
|
|
4326
|
-
function pe(
|
|
4327
|
-
X == null || X(
|
|
4324
|
+
function pe(Re) {
|
|
4325
|
+
X == null || X(Re.map((Ye) => ({ id: Ye }))), m == null || m(Re);
|
|
4328
4326
|
}
|
|
4329
4327
|
async function Te() {
|
|
4330
|
-
const
|
|
4331
|
-
X == null || X(
|
|
4328
|
+
const Re = await ce();
|
|
4329
|
+
X == null || X(Re.map((Ye) => ({ id: Ye }))), m == null || m(Re);
|
|
4332
4330
|
}
|
|
4333
4331
|
function _e() {
|
|
4334
4332
|
return C != null && C.isExpandable ? P - 160 : P - (F + 210);
|
|
4335
4333
|
}
|
|
4336
|
-
const tt = () => !C || !_ ? null : /* @__PURE__ */
|
|
4334
|
+
const tt = () => !C || !_ ? null : /* @__PURE__ */ V(Q, { children: [
|
|
4337
4335
|
/* @__PURE__ */ n(
|
|
4338
4336
|
ho,
|
|
4339
4337
|
{
|
|
@@ -4370,11 +4368,11 @@ function ol(t, e) {
|
|
|
4370
4368
|
colorsForResults: ie,
|
|
4371
4369
|
statusForResults: ue,
|
|
4372
4370
|
rowSelection: {
|
|
4373
|
-
selectedRowKeys: ne == null ? void 0 : ne.map((
|
|
4371
|
+
selectedRowKeys: ne == null ? void 0 : ne.map((Re) => Re.id),
|
|
4374
4372
|
onChange: pe
|
|
4375
4373
|
},
|
|
4376
4374
|
sorter: ee,
|
|
4377
|
-
onChangeSort:
|
|
4375
|
+
onChangeSort: Ve,
|
|
4378
4376
|
onFetchChildrenForRecord: C.isExpandable ? Be : void 0,
|
|
4379
4377
|
childField: C.field_parent,
|
|
4380
4378
|
rootTree: c,
|
|
@@ -4406,7 +4404,7 @@ const wo = vt(ol), vo = (t) => {
|
|
|
4406
4404
|
}
|
|
4407
4405
|
i(g);
|
|
4408
4406
|
}
|
|
4409
|
-
const T = () => /* @__PURE__ */
|
|
4407
|
+
const T = () => /* @__PURE__ */ V(Q, { children: [
|
|
4410
4408
|
/* @__PURE__ */ n(
|
|
4411
4409
|
wo,
|
|
4412
4410
|
{
|
|
@@ -4422,7 +4420,7 @@ const wo = vt(ol), vo = (t) => {
|
|
|
4422
4420
|
}
|
|
4423
4421
|
),
|
|
4424
4422
|
/* @__PURE__ */ n(cn, {}),
|
|
4425
|
-
/* @__PURE__ */ n(ve, { justify: "end", children: /* @__PURE__ */
|
|
4423
|
+
/* @__PURE__ */ n(ve, { justify: "end", children: /* @__PURE__ */ V(We, { children: [
|
|
4426
4424
|
/* @__PURE__ */ n(
|
|
4427
4425
|
Oe,
|
|
4428
4426
|
{
|
|
@@ -4447,7 +4445,7 @@ const wo = vt(ol), vo = (t) => {
|
|
|
4447
4445
|
/* @__PURE__ */ n(Oe, { icon: /* @__PURE__ */ n(Ut, {}), onClick: p, children: m("cancel") })
|
|
4448
4446
|
] }) })
|
|
4449
4447
|
] });
|
|
4450
|
-
return /* @__PURE__ */
|
|
4448
|
+
return /* @__PURE__ */ V(Q, { children: [
|
|
4451
4449
|
/* @__PURE__ */ n(
|
|
4452
4450
|
Je,
|
|
4453
4451
|
{
|
|
@@ -4511,7 +4509,7 @@ const wo = vt(ol), vo = (t) => {
|
|
|
4511
4509
|
}, [e]);
|
|
4512
4510
|
const K = (L) => {
|
|
4513
4511
|
r == null || r(L), E == null || E();
|
|
4514
|
-
},
|
|
4512
|
+
}, R = (L) => {
|
|
4515
4513
|
_.current = L.target.value, K([void 0, ""]);
|
|
4516
4514
|
}, U = async () => {
|
|
4517
4515
|
if (!p && C !== B) {
|
|
@@ -4584,14 +4582,14 @@ const wo = vt(ol), vo = (t) => {
|
|
|
4584
4582
|
async function G(L) {
|
|
4585
4583
|
L.keyCode === 13 ? (L.preventDefault(), L.stopPropagation(), await U()) : L.code === "Backspace" && N !== void 0 && (L.preventDefault(), L.stopPropagation(), K([void 0, ""]));
|
|
4586
4584
|
}
|
|
4587
|
-
return /* @__PURE__ */
|
|
4585
|
+
return /* @__PURE__ */ V(ve, { gutter: 8, wrap: !1, children: [
|
|
4588
4586
|
/* @__PURE__ */ n(ae, { flex: "auto", children: /* @__PURE__ */ n(
|
|
4589
4587
|
o && !a ? cl : it,
|
|
4590
4588
|
{
|
|
4591
4589
|
type: "text",
|
|
4592
4590
|
value: C,
|
|
4593
4591
|
disabled: a,
|
|
4594
|
-
onChange:
|
|
4592
|
+
onChange: R,
|
|
4595
4593
|
style: c,
|
|
4596
4594
|
onBlur: U,
|
|
4597
4595
|
onKeyDown: G,
|
|
@@ -4714,13 +4712,13 @@ const wo = vt(ol), vo = (t) => {
|
|
|
4714
4712
|
if (K)
|
|
4715
4713
|
return await j({ domain: B });
|
|
4716
4714
|
if (u && c) {
|
|
4717
|
-
const
|
|
4715
|
+
const R = f || await D.getHandler().searchAllIds({
|
|
4718
4716
|
params: B,
|
|
4719
4717
|
model: e,
|
|
4720
4718
|
context: i
|
|
4721
4719
|
}), U = await D.getHandler().readObjects({
|
|
4722
4720
|
model: e,
|
|
4723
|
-
ids:
|
|
4721
|
+
ids: R,
|
|
4724
4722
|
fieldsToRetrieve: [u],
|
|
4725
4723
|
context: i
|
|
4726
4724
|
});
|
|
@@ -4741,14 +4739,14 @@ const wo = vt(ol), vo = (t) => {
|
|
|
4741
4739
|
params: B,
|
|
4742
4740
|
model: e,
|
|
4743
4741
|
context: i
|
|
4744
|
-
}),
|
|
4742
|
+
}), R = await D.getHandler().readObjects({
|
|
4745
4743
|
model: e,
|
|
4746
4744
|
ids: K,
|
|
4747
4745
|
fieldsToRetrieve: [u],
|
|
4748
4746
|
context: i
|
|
4749
4747
|
});
|
|
4750
4748
|
return Fr({
|
|
4751
|
-
values:
|
|
4749
|
+
values: R.map((U) => U[u]),
|
|
4752
4750
|
operator: c
|
|
4753
4751
|
});
|
|
4754
4752
|
} else
|
|
@@ -4762,8 +4760,8 @@ const wo = vt(ol), vo = (t) => {
|
|
|
4762
4760
|
g(!0);
|
|
4763
4761
|
let B, K;
|
|
4764
4762
|
try {
|
|
4765
|
-
const
|
|
4766
|
-
if (p(
|
|
4763
|
+
const R = await M({ domain: r, isTotal: !1 });
|
|
4764
|
+
if (p(R), s) {
|
|
4767
4765
|
const U = await D.getHandler().evalDomain({
|
|
4768
4766
|
domain: s,
|
|
4769
4767
|
values: {},
|
|
@@ -4774,10 +4772,10 @@ const wo = vt(ol), vo = (t) => {
|
|
|
4774
4772
|
isTotal: !0
|
|
4775
4773
|
}), I(B);
|
|
4776
4774
|
}
|
|
4777
|
-
if (B ? (K = Math.round(
|
|
4775
|
+
if (B ? (K = Math.round(R / B * 100 * 100) / 100, w(K)) : w(0), o) {
|
|
4778
4776
|
const U = await D.getHandler().parseCondition({
|
|
4779
4777
|
condition: o,
|
|
4780
|
-
values: { value:
|
|
4778
|
+
values: { value: R, percent: K },
|
|
4781
4779
|
context: i
|
|
4782
4780
|
});
|
|
4783
4781
|
S(U);
|
|
@@ -4787,15 +4785,15 @@ const wo = vt(ol), vo = (t) => {
|
|
|
4787
4785
|
const U = await D.getHandler().parseCondition(
|
|
4788
4786
|
{
|
|
4789
4787
|
condition: l,
|
|
4790
|
-
values: { value:
|
|
4788
|
+
values: { value: R, percent: K },
|
|
4791
4789
|
context: i
|
|
4792
4790
|
}
|
|
4793
4791
|
);
|
|
4794
4792
|
v(U);
|
|
4795
4793
|
} else
|
|
4796
4794
|
v(l);
|
|
4797
|
-
} catch (
|
|
4798
|
-
P(JSON.stringify(
|
|
4795
|
+
} catch (R) {
|
|
4796
|
+
P(JSON.stringify(R));
|
|
4799
4797
|
}
|
|
4800
4798
|
g(!1);
|
|
4801
4799
|
}
|
|
@@ -4804,8 +4802,8 @@ const wo = vt(ol), vo = (t) => {
|
|
|
4804
4802
|
{
|
|
4805
4803
|
bounds: !0,
|
|
4806
4804
|
onResize: (B) => {
|
|
4807
|
-
var K,
|
|
4808
|
-
O((K = B.bounds) == null ? void 0 : K.height), A((
|
|
4805
|
+
var K, R;
|
|
4806
|
+
O((K = B.bounds) == null ? void 0 : K.height), A((R = B.bounds) == null ? void 0 : R.width);
|
|
4809
4807
|
},
|
|
4810
4808
|
children: ({ measureRef: B }) => a ? /* @__PURE__ */ n(
|
|
4811
4809
|
ml,
|
|
@@ -4874,7 +4872,7 @@ function fl({
|
|
|
4874
4872
|
justifyContent: "center",
|
|
4875
4873
|
overflow: "hidden"
|
|
4876
4874
|
},
|
|
4877
|
-
children: /* @__PURE__ */
|
|
4875
|
+
children: /* @__PURE__ */ V(An, { style: { fontSize: d, margin: 0, color: s }, children: [
|
|
4878
4876
|
m && /* @__PURE__ */ n(m, { style: { fontSize: d * 0.7 } }),
|
|
4879
4877
|
m ? ` ${c}` : c
|
|
4880
4878
|
] })
|
|
@@ -4924,9 +4922,9 @@ function ml({
|
|
|
4924
4922
|
flexDirection: "column",
|
|
4925
4923
|
padding: "0.2rem"
|
|
4926
4924
|
},
|
|
4927
|
-
children: /* @__PURE__ */
|
|
4925
|
+
children: /* @__PURE__ */ V(ve, { align: "middle", children: [
|
|
4928
4926
|
p && /* @__PURE__ */ n(ae, { style: { fontSize: c * 1, color: a, paddingRight: "10px" }, children: /* @__PURE__ */ n(p, {}) }),
|
|
4929
|
-
/* @__PURE__ */
|
|
4927
|
+
/* @__PURE__ */ V(ae, { children: [
|
|
4930
4928
|
/* @__PURE__ */ n(An, { style: { fontSize: c * 0.8, margin: 0, color: a }, children: p ? ` ${i}%` : `${i}%` }),
|
|
4931
4929
|
/* @__PURE__ */ n(
|
|
4932
4930
|
An,
|
|
@@ -5204,7 +5202,7 @@ const Sl = {
|
|
|
5204
5202
|
if (!c)
|
|
5205
5203
|
return /* @__PURE__ */ n(et, { message: "No data to display", type: "info" });
|
|
5206
5204
|
const { data: g, isGroup: h, isStack: p } = c, y = Sl[f];
|
|
5207
|
-
return y ? /* @__PURE__ */
|
|
5205
|
+
return y ? /* @__PURE__ */ V("div", { style: { padding: "1rem" }, children: [
|
|
5208
5206
|
/* @__PURE__ */ n("p", { style: { textAlign: "right" }, children: `${l("totalRegisters")} ${(w = m == null ? void 0 : m.length) == null ? void 0 : w.toLocaleString(
|
|
5209
5207
|
"es-ES",
|
|
5210
5208
|
{
|
|
@@ -5324,8 +5322,8 @@ const Il = (t, e) => {
|
|
|
5324
5322
|
onOk: t,
|
|
5325
5323
|
cancelText: Ie("cancel", e)
|
|
5326
5324
|
});
|
|
5327
|
-
}, { confirm:
|
|
5328
|
-
|
|
5325
|
+
}, { confirm: Rl } = Je, Vl = ({ onOk: t, lang: e }) => {
|
|
5326
|
+
Rl({
|
|
5329
5327
|
title: Ie("unlinkItems", e),
|
|
5330
5328
|
icon: /* @__PURE__ */ n(pt, {}),
|
|
5331
5329
|
centered: !0,
|
|
@@ -5381,7 +5379,7 @@ const Il = (t, e) => {
|
|
|
5381
5379
|
}
|
|
5382
5380
|
function C() {
|
|
5383
5381
|
let _ = "_";
|
|
5384
|
-
return l === 0 ? _ = "_" : _ = (d + 1).toString(), /* @__PURE__ */
|
|
5382
|
+
return l === 0 ? _ = "_" : _ = (d + 1).toString(), /* @__PURE__ */ V("span", { className: "pl-1 pr-1", children: [
|
|
5385
5383
|
"(",
|
|
5386
5384
|
_,
|
|
5387
5385
|
"/",
|
|
@@ -5390,7 +5388,7 @@ const Il = (t, e) => {
|
|
|
5390
5388
|
] });
|
|
5391
5389
|
}
|
|
5392
5390
|
function O() {
|
|
5393
|
-
return /* @__PURE__ */
|
|
5391
|
+
return /* @__PURE__ */ V(Q, { children: [
|
|
5394
5392
|
w(),
|
|
5395
5393
|
/* @__PURE__ */ n(
|
|
5396
5394
|
Xe,
|
|
@@ -5411,9 +5409,9 @@ const Il = (t, e) => {
|
|
|
5411
5409
|
)
|
|
5412
5410
|
] });
|
|
5413
5411
|
}
|
|
5414
|
-
return /* @__PURE__ */
|
|
5412
|
+
return /* @__PURE__ */ V("div", { className: "flex mb-2", children: [
|
|
5415
5413
|
T(),
|
|
5416
|
-
/* @__PURE__ */
|
|
5414
|
+
/* @__PURE__ */ V("div", { className: "flex-none h-8 pl-2", children: [
|
|
5417
5415
|
s !== "graph" && h && /* @__PURE__ */ n(
|
|
5418
5416
|
Xe,
|
|
5419
5417
|
{
|
|
@@ -5462,7 +5460,7 @@ const Ml = (t) => {
|
|
|
5462
5460
|
var Ke;
|
|
5463
5461
|
const { value: e, onChange: r, ooui: i, views: o } = t, { items: s = [] } = e || {}, { currentView: a, setCurrentView: l, itemIndex: d, setItemIndex: u } = H(
|
|
5464
5462
|
xo
|
|
5465
|
-
), c = H(Ne), { activeId: f, getFields: m, getValues: g, getContext: h, domain: p } = c || {}, { lang: y, t: w } = H(he), [T, I] = b(!1), [C, O] = b(!1), [_, A] = b(), [x, S] = b(!1), [F, v] = b(!1), [E, P] = b(), [M, j] = b([]), [N, B] = b(!1), K = de([]), [
|
|
5463
|
+
), c = H(Ne), { activeId: f, getFields: m, getValues: g, getContext: h, domain: p } = c || {}, { lang: y, t: w } = H(he), [T, I] = b(!1), [C, O] = b(!1), [_, A] = b(), [x, S] = b(!1), [F, v] = b(!1), [E, P] = b(), [M, j] = b([]), [N, B] = b(!1), K = de([]), [R, U] = b(), ne = de(), [X, Y] = b(void 0), {
|
|
5466
5464
|
readOnly: G,
|
|
5467
5465
|
relation: k,
|
|
5468
5466
|
context: L,
|
|
@@ -5572,10 +5570,10 @@ const Ml = (t) => {
|
|
|
5572
5570
|
}) : z();
|
|
5573
5571
|
}, Me = () => {
|
|
5574
5572
|
if (le) {
|
|
5575
|
-
|
|
5573
|
+
Vl({
|
|
5576
5574
|
lang: y,
|
|
5577
5575
|
onOk: () => {
|
|
5578
|
-
a === "form" ? xe() :
|
|
5576
|
+
a === "form" ? xe() : Ve();
|
|
5579
5577
|
}
|
|
5580
5578
|
});
|
|
5581
5579
|
return;
|
|
@@ -5583,7 +5581,7 @@ const Ml = (t) => {
|
|
|
5583
5581
|
_l({
|
|
5584
5582
|
lang: y,
|
|
5585
5583
|
onOk: () => {
|
|
5586
|
-
a === "form" ? xe() :
|
|
5584
|
+
a === "form" ? xe() : Ve();
|
|
5587
5585
|
}
|
|
5588
5586
|
});
|
|
5589
5587
|
}, He = async () => {
|
|
@@ -5613,7 +5611,7 @@ const Ml = (t) => {
|
|
|
5613
5611
|
A(z);
|
|
5614
5612
|
}
|
|
5615
5613
|
u(0), O(!1);
|
|
5616
|
-
},
|
|
5614
|
+
}, Ve = async () => {
|
|
5617
5615
|
const z = J.filter((se) => M.includes(se.id));
|
|
5618
5616
|
O(!0), I(!1), A(void 0);
|
|
5619
5617
|
try {
|
|
@@ -5709,8 +5707,8 @@ const Ml = (t) => {
|
|
|
5709
5707
|
id: (Se = J[d]) == null ? void 0 : Se.id,
|
|
5710
5708
|
submitMode: "values",
|
|
5711
5709
|
onFieldsChange: (_e) => {
|
|
5712
|
-
var
|
|
5713
|
-
const tt = (
|
|
5710
|
+
var Re;
|
|
5711
|
+
const tt = (Re = J[d]) == null ? void 0 : Re.id, qe = s.map((Ye) => Ye.id === tt ? {
|
|
5714
5712
|
...Ye,
|
|
5715
5713
|
operation: Ye.operation === "original" ? "pendingUpdate" : Ye.operation,
|
|
5716
5714
|
values: { ..._e, id: tt },
|
|
@@ -5722,9 +5720,9 @@ const Ml = (t) => {
|
|
|
5722
5720
|
}
|
|
5723
5721
|
);
|
|
5724
5722
|
let z = [];
|
|
5725
|
-
if (J.some((_e) => _e.treeValues) && (z =
|
|
5723
|
+
if (J.some((_e) => _e.treeValues) && (z = R ? Rt({
|
|
5726
5724
|
resultsToSort: J.map((_e) => _e.treeValues),
|
|
5727
|
-
sorter:
|
|
5725
|
+
sorter: R,
|
|
5728
5726
|
fields: {
|
|
5729
5727
|
...o.get("tree").fields,
|
|
5730
5728
|
...((pe = o.get("form")) == null ? void 0 : pe.fields) || {}
|
|
@@ -5744,7 +5742,7 @@ const Ml = (t) => {
|
|
|
5744
5742
|
selectedRowKeys: M,
|
|
5745
5743
|
onChange: j
|
|
5746
5744
|
},
|
|
5747
|
-
sorter:
|
|
5745
|
+
sorter: R,
|
|
5748
5746
|
onChangeSort: U,
|
|
5749
5747
|
context: { ...h == null ? void 0 : h(), ...L },
|
|
5750
5748
|
colorsForResults: X,
|
|
@@ -5768,13 +5766,13 @@ const Ml = (t) => {
|
|
|
5768
5766
|
if (_)
|
|
5769
5767
|
return /* @__PURE__ */ n(et, { className: "mt-10", message: _, type: "error", banner: !0 });
|
|
5770
5768
|
const ot = N;
|
|
5771
|
-
return C ? /* @__PURE__ */ n(Ae, {}) : /* @__PURE__ */
|
|
5769
|
+
return C ? /* @__PURE__ */ n(Ae, {}) : /* @__PURE__ */ V(Q, { children: [
|
|
5772
5770
|
/* @__PURE__ */ n(
|
|
5773
5771
|
Dl,
|
|
5774
5772
|
{
|
|
5775
5773
|
mode: a,
|
|
5776
5774
|
title: Ue(),
|
|
5777
|
-
readOnly: G,
|
|
5775
|
+
readOnly: G || !1,
|
|
5778
5776
|
isMany2Many: le,
|
|
5779
5777
|
formHasChanges: T,
|
|
5780
5778
|
totalItems: J.length,
|
|
@@ -5934,7 +5932,7 @@ function Hl(t) {
|
|
|
5934
5932
|
return /* @__PURE__ */ n(Dr, { defaultActiveKey: "1", tabPosition: e.tabPosition, children: i.filter((s) => !s.invisible).map((s) => /* @__PURE__ */ n(
|
|
5935
5933
|
$l,
|
|
5936
5934
|
{
|
|
5937
|
-
tab: /* @__PURE__ */
|
|
5935
|
+
tab: /* @__PURE__ */ V(Q, { children: [
|
|
5938
5936
|
o(s.icon),
|
|
5939
5937
|
" ",
|
|
5940
5938
|
s.label
|
|
@@ -5986,7 +5984,7 @@ const { useToken: Kl } = Pe, { TextArea: kn } = it, Wl = (t) => {
|
|
|
5986
5984
|
formHasChanges: u,
|
|
5987
5985
|
elementHasLostFocus: c
|
|
5988
5986
|
} = s || {}, [f, m] = b(!1), { t: g } = H(he);
|
|
5989
|
-
return a ? /* @__PURE__ */
|
|
5987
|
+
return a ? /* @__PURE__ */ V(Q, { children: [
|
|
5990
5988
|
/* @__PURE__ */ n(
|
|
5991
5989
|
"div",
|
|
5992
5990
|
{
|
|
@@ -6033,7 +6031,7 @@ const { useToken: Kl } = Pe, { TextArea: kn } = it, Wl = (t) => {
|
|
|
6033
6031
|
}
|
|
6034
6032
|
}
|
|
6035
6033
|
)
|
|
6036
|
-
] }) : /* @__PURE__ */
|
|
6034
|
+
] }) : /* @__PURE__ */ V(Q, { children: [
|
|
6037
6035
|
/* @__PURE__ */ n(ve, { gutter: 8, wrap: !1, children: /* @__PURE__ */ n(
|
|
6038
6036
|
kn,
|
|
6039
6037
|
{
|
|
@@ -6064,7 +6062,7 @@ const { useToken: Kl } = Pe, { TextArea: kn } = it, Wl = (t) => {
|
|
|
6064
6062
|
] });
|
|
6065
6063
|
}, Yl = (t) => {
|
|
6066
6064
|
const { ooui: e } = t, { label: r, icon: i } = e, o = ct(i || "");
|
|
6067
|
-
return /* @__PURE__ */ n(cn, { orientation: "left", className: "text-sm", children: (o || r) && /* @__PURE__ */
|
|
6065
|
+
return /* @__PURE__ */ n(cn, { orientation: "left", className: "text-sm", children: (o || r) && /* @__PURE__ */ V(We, { children: [
|
|
6068
6066
|
o ? /* @__PURE__ */ n(o, {}) : null,
|
|
6069
6067
|
r
|
|
6070
6068
|
] }) });
|
|
@@ -6358,7 +6356,7 @@ const rc = (t) => {
|
|
|
6358
6356
|
const { ooui: e } = t;
|
|
6359
6357
|
return /* @__PURE__ */ n(ge, { ...t, children: /* @__PURE__ */ n(oc, { ooui: e }) });
|
|
6360
6358
|
}, oc = (t) => /* @__PURE__ */ n(
|
|
6361
|
-
|
|
6359
|
+
Vr,
|
|
6362
6360
|
{
|
|
6363
6361
|
onChange: (r, i) => {
|
|
6364
6362
|
t.onChange && t.onChange(i);
|
|
@@ -6377,7 +6375,7 @@ const rc = (t) => {
|
|
|
6377
6375
|
}
|
|
6378
6376
|
const m = e && l && l[0], g = e && l && l[1] && parseInt(l[1]);
|
|
6379
6377
|
u([g, void 0]), f(m);
|
|
6380
|
-
}, [e]), /* @__PURE__ */
|
|
6378
|
+
}, [e]), /* @__PURE__ */ V(ve, { gutter: 8, wrap: !1, children: [
|
|
6381
6379
|
/* @__PURE__ */ n(ae, { flex: "1", children: /* @__PURE__ */ n(
|
|
6382
6380
|
ro,
|
|
6383
6381
|
{
|
|
@@ -6438,8 +6436,8 @@ const rc = (t) => {
|
|
|
6438
6436
|
function T() {
|
|
6439
6437
|
c(a, void 0), h(void 0);
|
|
6440
6438
|
}
|
|
6441
|
-
return /* @__PURE__ */
|
|
6442
|
-
/* @__PURE__ */
|
|
6439
|
+
return /* @__PURE__ */ V(ve, { gutter: 8, children: [
|
|
6440
|
+
/* @__PURE__ */ V(ae, { style: { paddingBottom: 5 }, children: [
|
|
6443
6441
|
/* @__PURE__ */ n(
|
|
6444
6442
|
"input",
|
|
6445
6443
|
{
|
|
@@ -6460,7 +6458,7 @@ const rc = (t) => {
|
|
|
6460
6458
|
}
|
|
6461
6459
|
)
|
|
6462
6460
|
] }),
|
|
6463
|
-
/* @__PURE__ */ n(ae, { children: /* @__PURE__ */
|
|
6461
|
+
/* @__PURE__ */ n(ae, { children: /* @__PURE__ */ V(We, { children: [
|
|
6464
6462
|
/* @__PURE__ */ n(
|
|
6465
6463
|
Oe,
|
|
6466
6464
|
{
|
|
@@ -6512,7 +6510,7 @@ function er(t) {
|
|
|
6512
6510
|
previousView: a
|
|
6513
6511
|
} = t, { t: l, lang: d } = H(he);
|
|
6514
6512
|
function u() {
|
|
6515
|
-
const m = r.map((g, h) => /* @__PURE__ */ n($e.Item, { children: /* @__PURE__ */
|
|
6513
|
+
const m = r.map((g, h) => /* @__PURE__ */ n($e.Item, { children: /* @__PURE__ */ V(ve, { wrap: !1, children: [
|
|
6516
6514
|
/* @__PURE__ */ n(ae, { flex: "none", style: { paddingRight: 20 }, children: _r(g) }),
|
|
6517
6515
|
/* @__PURE__ */ n(ae, { flex: "auto", style: { paddingRight: 20 }, children: g.type.charAt(0).toUpperCase() + g.type.slice(1) }),
|
|
6518
6516
|
/* @__PURE__ */ n(ae, { flex: "none", children: /* @__PURE__ */ n(
|
|
@@ -6546,7 +6544,7 @@ function er(t) {
|
|
|
6546
6544
|
i(g);
|
|
6547
6545
|
});
|
|
6548
6546
|
}
|
|
6549
|
-
return /* @__PURE__ */
|
|
6547
|
+
return /* @__PURE__ */ V("div", { style: { display: "flex" }, children: [
|
|
6550
6548
|
/* @__PURE__ */ n(
|
|
6551
6549
|
Xe,
|
|
6552
6550
|
{
|
|
@@ -6584,7 +6582,7 @@ function er(t) {
|
|
|
6584
6582
|
)
|
|
6585
6583
|
] });
|
|
6586
6584
|
}
|
|
6587
|
-
function
|
|
6585
|
+
function Vt(t) {
|
|
6588
6586
|
const {
|
|
6589
6587
|
icon: e,
|
|
6590
6588
|
tooltip: r,
|
|
@@ -6606,7 +6604,7 @@ function Rt(t) {
|
|
|
6606
6604
|
{
|
|
6607
6605
|
overlay: l(),
|
|
6608
6606
|
disabled: a || !i || i.length === 0,
|
|
6609
|
-
children: /* @__PURE__ */
|
|
6607
|
+
children: /* @__PURE__ */ V(Oe, { children: [
|
|
6610
6608
|
e,
|
|
6611
6609
|
" ",
|
|
6612
6610
|
s,
|
|
@@ -6626,7 +6624,7 @@ function Ze(t) {
|
|
|
6626
6624
|
label: a,
|
|
6627
6625
|
type: l = "default"
|
|
6628
6626
|
} = t;
|
|
6629
|
-
return /* @__PURE__ */
|
|
6627
|
+
return /* @__PURE__ */ V(
|
|
6630
6628
|
Xe,
|
|
6631
6629
|
{
|
|
6632
6630
|
type: l,
|
|
@@ -6687,7 +6685,7 @@ async function Oo(t, e, r) {
|
|
|
6687
6685
|
ids: [e]
|
|
6688
6686
|
}))[0], { create_date: o, create_uid: s, id: a, write_date: l, write_uid: d } = i;
|
|
6689
6687
|
ft(
|
|
6690
|
-
/* @__PURE__ */
|
|
6688
|
+
/* @__PURE__ */ V("div", { children: [
|
|
6691
6689
|
"ID: " + a,
|
|
6692
6690
|
" ",
|
|
6693
6691
|
/* @__PURE__ */ n("br", {}),
|
|
@@ -6705,7 +6703,7 @@ async function Oo(t, e, r) {
|
|
|
6705
6703
|
);
|
|
6706
6704
|
}
|
|
6707
6705
|
const fc = (t) => {
|
|
6708
|
-
const { numberOfAttachments: e, disabled: r } = t, { t: i, lang: o } = H(he), [s, a] = b(!1), l = /* @__PURE__ */
|
|
6706
|
+
const { numberOfAttachments: e, disabled: r } = t, { t: i, lang: o } = H(he), [s, a] = b(!1), l = /* @__PURE__ */ V(Oe, { disabled: r, children: [
|
|
6709
6707
|
/* @__PURE__ */ n(Ur, {}),
|
|
6710
6708
|
`(${e})`,
|
|
6711
6709
|
/* @__PURE__ */ n(kt, { style: { fontSize: 12 } })
|
|
@@ -6731,8 +6729,8 @@ const fc = (t) => {
|
|
|
6731
6729
|
onOpenAttachmentDetail: l,
|
|
6732
6730
|
onListAllAttachments: d
|
|
6733
6731
|
} = t;
|
|
6734
|
-
return o ? /* @__PURE__ */ n(Ae, { style: { padding: 20 } }) : /* @__PURE__ */
|
|
6735
|
-
/* @__PURE__ */
|
|
6732
|
+
return o ? /* @__PURE__ */ n(Ae, { style: { padding: 20 } }) : /* @__PURE__ */ V(Q, { children: [
|
|
6733
|
+
/* @__PURE__ */ V(
|
|
6736
6734
|
"a",
|
|
6737
6735
|
{
|
|
6738
6736
|
style: { display: "block", paddingBottom: 5 },
|
|
@@ -6747,7 +6745,7 @@ const fc = (t) => {
|
|
|
6747
6745
|
]
|
|
6748
6746
|
}
|
|
6749
6747
|
),
|
|
6750
|
-
/* @__PURE__ */
|
|
6748
|
+
/* @__PURE__ */ V(
|
|
6751
6749
|
"a",
|
|
6752
6750
|
{
|
|
6753
6751
|
style: { display: "block" },
|
|
@@ -6762,11 +6760,11 @@ const fc = (t) => {
|
|
|
6762
6760
|
]
|
|
6763
6761
|
}
|
|
6764
6762
|
),
|
|
6765
|
-
i.length > 0 && /* @__PURE__ */
|
|
6763
|
+
i.length > 0 && /* @__PURE__ */ V(Q, { children: [
|
|
6766
6764
|
/* @__PURE__ */ n("li", { className: "ant-dropdown-menu-item-divider" }),
|
|
6767
6765
|
i.map((u) => {
|
|
6768
6766
|
const c = u.link ? Ur : Kn;
|
|
6769
|
-
return /* @__PURE__ */
|
|
6767
|
+
return /* @__PURE__ */ V(
|
|
6770
6768
|
ve,
|
|
6771
6769
|
{
|
|
6772
6770
|
style: { paddingTop: 4, paddingBottom: 4 },
|
|
@@ -6861,7 +6859,7 @@ function hc(t) {
|
|
|
6861
6859
|
}, []);
|
|
6862
6860
|
return me(() => {
|
|
6863
6861
|
h();
|
|
6864
|
-
}, [h]), /* @__PURE__ */
|
|
6862
|
+
}, [h]), /* @__PURE__ */ V(Q, { children: [
|
|
6865
6863
|
/* @__PURE__ */ n(
|
|
6866
6864
|
fc,
|
|
6867
6865
|
{
|
|
@@ -6947,7 +6945,7 @@ function pc({ toolbar: t }) {
|
|
|
6947
6945
|
function K() {
|
|
6948
6946
|
d && d.length > c + 1 ? (u == null || u(c + 1), f == null || f(d[c + 1].id)) : d && c + 1 === d.length && (u == null || u(0), f == null || f(d[0].id));
|
|
6949
6947
|
}
|
|
6950
|
-
function
|
|
6948
|
+
function R() {
|
|
6951
6949
|
d && c > 0 ? (u == null || u(c - 1), f == null || f(d[c - 1].id)) : d && c === 0 && (u == null || u(d.length - 1), f == null || f(d[d.length - 1].id));
|
|
6952
6950
|
}
|
|
6953
6951
|
function U() {
|
|
@@ -7002,8 +7000,8 @@ function pc({ toolbar: t }) {
|
|
|
7002
7000
|
}
|
|
7003
7001
|
});
|
|
7004
7002
|
}
|
|
7005
|
-
return r ? /* @__PURE__ */
|
|
7006
|
-
T && /* @__PURE__ */
|
|
7003
|
+
return r ? /* @__PURE__ */ V(We, { wrap: !0, children: [
|
|
7004
|
+
T && /* @__PURE__ */ V(Q, { children: [
|
|
7007
7005
|
/* @__PURE__ */ n(Ae, {}),
|
|
7008
7006
|
Tt(),
|
|
7009
7007
|
Tt()
|
|
@@ -7086,7 +7084,7 @@ function pc({ toolbar: t }) {
|
|
|
7086
7084
|
}
|
|
7087
7085
|
),
|
|
7088
7086
|
Tt(),
|
|
7089
|
-
/* @__PURE__ */
|
|
7087
|
+
/* @__PURE__ */ V(We, { children: [
|
|
7090
7088
|
/* @__PURE__ */ n(
|
|
7091
7089
|
Ze,
|
|
7092
7090
|
{
|
|
@@ -7095,7 +7093,7 @@ function pc({ toolbar: t }) {
|
|
|
7095
7093
|
disabled: Y,
|
|
7096
7094
|
loading: !1,
|
|
7097
7095
|
onClick: () => {
|
|
7098
|
-
B(
|
|
7096
|
+
B(R);
|
|
7099
7097
|
}
|
|
7100
7098
|
}
|
|
7101
7099
|
),
|
|
@@ -7114,7 +7112,7 @@ function pc({ toolbar: t }) {
|
|
|
7114
7112
|
] }),
|
|
7115
7113
|
Tt(),
|
|
7116
7114
|
/* @__PURE__ */ n(
|
|
7117
|
-
|
|
7115
|
+
Vt,
|
|
7118
7116
|
{
|
|
7119
7117
|
icon: /* @__PURE__ */ n(Yn, {}),
|
|
7120
7118
|
disabled: Y,
|
|
@@ -7128,7 +7126,7 @@ function pc({ toolbar: t }) {
|
|
|
7128
7126
|
}
|
|
7129
7127
|
),
|
|
7130
7128
|
/* @__PURE__ */ n(
|
|
7131
|
-
|
|
7129
|
+
Vt,
|
|
7132
7130
|
{
|
|
7133
7131
|
icon: /* @__PURE__ */ n(Gn, {}),
|
|
7134
7132
|
disabled: Y,
|
|
@@ -7151,7 +7149,7 @@ function pc({ toolbar: t }) {
|
|
|
7151
7149
|
}
|
|
7152
7150
|
),
|
|
7153
7151
|
/* @__PURE__ */ n(
|
|
7154
|
-
|
|
7152
|
+
Vt,
|
|
7155
7153
|
{
|
|
7156
7154
|
icon: /* @__PURE__ */ n(jr, {}),
|
|
7157
7155
|
disabled: Y,
|
|
@@ -7240,7 +7238,7 @@ const { useToken: gc } = Pe, _o = (t) => {
|
|
|
7240
7238
|
const w = (T) => {
|
|
7241
7239
|
i == null || i(T.target.value);
|
|
7242
7240
|
};
|
|
7243
|
-
return /* @__PURE__ */
|
|
7241
|
+
return /* @__PURE__ */ V(ve, { gutter: 8, wrap: !1, align: "middle", children: [
|
|
7244
7242
|
l ? null : /* @__PURE__ */ n(ae, { flex: "32px", children: g ? /* @__PURE__ */ n(
|
|
7245
7243
|
Oe,
|
|
7246
7244
|
{
|
|
@@ -7326,7 +7324,7 @@ const { useToken: gc } = Pe, _o = (t) => {
|
|
|
7326
7324
|
var u;
|
|
7327
7325
|
return d && ((u = a.current) == null ? void 0 : u.focus());
|
|
7328
7326
|
},
|
|
7329
|
-
children: /* @__PURE__ */
|
|
7327
|
+
children: /* @__PURE__ */ V(lt, { layout: "vertical", onFinish: l, autoComplete: "off", children: [
|
|
7330
7328
|
/* @__PURE__ */ n(
|
|
7331
7329
|
lt.Item,
|
|
7332
7330
|
{
|
|
@@ -7341,7 +7339,7 @@ const { useToken: gc } = Pe, _o = (t) => {
|
|
|
7341
7339
|
children: /* @__PURE__ */ n(Ln, { style: { width: "100%" }, autoFocus: !0, ref: a })
|
|
7342
7340
|
}
|
|
7343
7341
|
),
|
|
7344
|
-
/* @__PURE__ */ n(ve, { align: "middle", justify: "end", children: /* @__PURE__ */ n(ae, { children: /* @__PURE__ */
|
|
7342
|
+
/* @__PURE__ */ n(ve, { align: "middle", justify: "end", children: /* @__PURE__ */ n(ae, { children: /* @__PURE__ */ V(We, { children: [
|
|
7345
7343
|
/* @__PURE__ */ n(
|
|
7346
7344
|
Oe,
|
|
7347
7345
|
{
|
|
@@ -7369,9 +7367,9 @@ const { useToken: gc } = Pe, _o = (t) => {
|
|
|
7369
7367
|
}
|
|
7370
7368
|
);
|
|
7371
7369
|
}, { useToken: bc } = Pe;
|
|
7372
|
-
function
|
|
7370
|
+
function Ro(t) {
|
|
7373
7371
|
const { badgeNumber: e = 0, ...r } = t, { token: i } = bc();
|
|
7374
|
-
return /* @__PURE__ */
|
|
7372
|
+
return /* @__PURE__ */ V("div", { style: { position: "relative" }, children: [
|
|
7375
7373
|
e > 0 && /* @__PURE__ */ n("div", { style: { position: "absolute", left: -10, top: -10, zIndex: 2 }, children: /* @__PURE__ */ n(
|
|
7376
7374
|
"span",
|
|
7377
7375
|
{
|
|
@@ -7409,9 +7407,9 @@ function Cc({ refreshGraph: t }) {
|
|
|
7409
7407
|
previousView: u,
|
|
7410
7408
|
setPreviousView: c
|
|
7411
7409
|
} = H(rt);
|
|
7412
|
-
return /* @__PURE__ */
|
|
7410
|
+
return /* @__PURE__ */ V(We, { wrap: !0, children: [
|
|
7413
7411
|
/* @__PURE__ */ n(
|
|
7414
|
-
|
|
7412
|
+
Ro,
|
|
7415
7413
|
{
|
|
7416
7414
|
icon: /* @__PURE__ */ n(
|
|
7417
7415
|
Jr,
|
|
@@ -7467,7 +7465,7 @@ function yn(t) {
|
|
|
7467
7465
|
} = H(rt), { t: c } = H(he), { token: f } = xc();
|
|
7468
7466
|
function m() {
|
|
7469
7467
|
if ((o == null ? void 0 : o.type) === "form")
|
|
7470
|
-
return s ? d === 0 ? /* @__PURE__ */
|
|
7468
|
+
return s ? d === 0 ? /* @__PURE__ */ V(Q, { children: [
|
|
7471
7469
|
c("editingDocument"),
|
|
7472
7470
|
" (id:",
|
|
7473
7471
|
" ",
|
|
@@ -7479,7 +7477,7 @@ function yn(t) {
|
|
|
7479
7477
|
}
|
|
7480
7478
|
),
|
|
7481
7479
|
")"
|
|
7482
|
-
] }) : /* @__PURE__ */
|
|
7480
|
+
] }) : /* @__PURE__ */ V(Q, { children: [
|
|
7483
7481
|
c("register"),
|
|
7484
7482
|
" ",
|
|
7485
7483
|
a === void 0 ? 1 : a + 1,
|
|
@@ -7499,7 +7497,7 @@ function yn(t) {
|
|
|
7499
7497
|
] }) : "";
|
|
7500
7498
|
if ((o == null ? void 0 : o.type) === "tree" && u) {
|
|
7501
7499
|
if (u.length === 1)
|
|
7502
|
-
return /* @__PURE__ */
|
|
7500
|
+
return /* @__PURE__ */ V(Q, { children: [
|
|
7503
7501
|
"1 ",
|
|
7504
7502
|
c("selectedRegisters"),
|
|
7505
7503
|
" - (id:",
|
|
@@ -7508,7 +7506,7 @@ function yn(t) {
|
|
|
7508
7506
|
")"
|
|
7509
7507
|
] });
|
|
7510
7508
|
if (u.length > 1)
|
|
7511
|
-
return /* @__PURE__ */
|
|
7509
|
+
return /* @__PURE__ */ V(Q, { children: [
|
|
7512
7510
|
u.length,
|
|
7513
7511
|
" ",
|
|
7514
7512
|
c("selectedRegisters"),
|
|
@@ -7524,8 +7522,8 @@ function yn(t) {
|
|
|
7524
7522
|
}
|
|
7525
7523
|
return null;
|
|
7526
7524
|
}
|
|
7527
|
-
return /* @__PURE__ */
|
|
7528
|
-
/* @__PURE__ */
|
|
7525
|
+
return /* @__PURE__ */ V("div", { style: { position: "sticky", top: 80, zIndex: 3 }, children: [
|
|
7526
|
+
/* @__PURE__ */ V(
|
|
7529
7527
|
ve,
|
|
7530
7528
|
{
|
|
7531
7529
|
className: "shadow-md",
|
|
@@ -7536,7 +7534,7 @@ function yn(t) {
|
|
|
7536
7534
|
},
|
|
7537
7535
|
align: "middle",
|
|
7538
7536
|
children: [
|
|
7539
|
-
/* @__PURE__ */
|
|
7537
|
+
/* @__PURE__ */ V(ae, { flex: 2, children: [
|
|
7540
7538
|
/* @__PURE__ */ n(Sc, { level: 3, style: { marginBottom: 0 }, children: e || i }),
|
|
7541
7539
|
m()
|
|
7542
7540
|
] }),
|
|
@@ -7577,7 +7575,7 @@ const Tc = (t) => {
|
|
|
7577
7575
|
}, [S]), me(() => {
|
|
7578
7576
|
e.view_id !== E.view_id && M(!0);
|
|
7579
7577
|
}, [E]);
|
|
7580
|
-
const { clear: j, searchFilterLoading: N, searchError: B, offset: K, tableRefreshing:
|
|
7578
|
+
const { clear: j, searchFilterLoading: N, searchError: B, offset: K, tableRefreshing: R } = fo({
|
|
7581
7579
|
model: i,
|
|
7582
7580
|
setSearchTreeNameSearch: O,
|
|
7583
7581
|
setSelectedRowItems: h,
|
|
@@ -7600,7 +7598,7 @@ const Tc = (t) => {
|
|
|
7600
7598
|
limit: A,
|
|
7601
7599
|
setLimit: x
|
|
7602
7600
|
});
|
|
7603
|
-
return !r || !e ? null : /* @__PURE__ */
|
|
7601
|
+
return !r || !e ? null : /* @__PURE__ */ V(Q, { children: [
|
|
7604
7602
|
/* @__PURE__ */ n(yn, { title: e.name, children: /* @__PURE__ */ n(
|
|
7605
7603
|
Cc,
|
|
7606
7604
|
{
|
|
@@ -7630,7 +7628,7 @@ const Tc = (t) => {
|
|
|
7630
7628
|
showLimitOptions: !1
|
|
7631
7629
|
}
|
|
7632
7630
|
),
|
|
7633
|
-
|
|
7631
|
+
R ? /* @__PURE__ */ n(Ae, {}) : /* @__PURE__ */ n(
|
|
7634
7632
|
gn,
|
|
7635
7633
|
{
|
|
7636
7634
|
ref: d,
|
|
@@ -7658,7 +7656,7 @@ const Tc = (t) => {
|
|
|
7658
7656
|
setResults: f,
|
|
7659
7657
|
setCurrentItemIndex: m
|
|
7660
7658
|
} = t;
|
|
7661
|
-
return e ? /* @__PURE__ */
|
|
7659
|
+
return e ? /* @__PURE__ */ V(Q, { children: [
|
|
7662
7660
|
/* @__PURE__ */ n(yn, { children: /* @__PURE__ */ n(pc, { toolbar: a == null ? void 0 : a.toolbar }) }),
|
|
7663
7661
|
/* @__PURE__ */ n(
|
|
7664
7662
|
Jt,
|
|
@@ -7690,7 +7688,7 @@ function Ic(t) {
|
|
|
7690
7688
|
function u() {
|
|
7691
7689
|
l(!1), s.setFieldsValue({ search: void 0 }), e(void 0);
|
|
7692
7690
|
}
|
|
7693
|
-
return /* @__PURE__ */ n(lt, { form: s, onFinish: d, autoComplete: "off", children: /* @__PURE__ */
|
|
7691
|
+
return /* @__PURE__ */ n(lt, { form: s, onFinish: d, autoComplete: "off", children: /* @__PURE__ */ V(ve, { align: "middle", justify: "end", children: [
|
|
7694
7692
|
/* @__PURE__ */ n(ae, { children: /* @__PURE__ */ n(lt.Item, { name: "search", noStyle: !0, children: /* @__PURE__ */ n(
|
|
7695
7693
|
it,
|
|
7696
7694
|
{
|
|
@@ -7759,11 +7757,11 @@ function _c(t) {
|
|
|
7759
7757
|
confirmMessage: v("confirmRemove"),
|
|
7760
7758
|
lang: E,
|
|
7761
7759
|
onOk: () => {
|
|
7762
|
-
|
|
7760
|
+
R();
|
|
7763
7761
|
}
|
|
7764
7762
|
});
|
|
7765
7763
|
}
|
|
7766
|
-
async function
|
|
7764
|
+
async function R() {
|
|
7767
7765
|
var Y;
|
|
7768
7766
|
try {
|
|
7769
7767
|
s == null || s(!0), await D.getHandler().deleteObjects({
|
|
@@ -7811,13 +7809,13 @@ function _c(t) {
|
|
|
7811
7809
|
}
|
|
7812
7810
|
});
|
|
7813
7811
|
}
|
|
7814
|
-
return /* @__PURE__ */
|
|
7815
|
-
T && /* @__PURE__ */
|
|
7812
|
+
return /* @__PURE__ */ V(We, { wrap: !0, children: [
|
|
7813
|
+
T && /* @__PURE__ */ V(Q, { children: [
|
|
7816
7814
|
/* @__PURE__ */ n(Ae, {}),
|
|
7817
7815
|
yt(),
|
|
7818
7816
|
yt()
|
|
7819
7817
|
] }),
|
|
7820
|
-
S ? null : /* @__PURE__ */
|
|
7818
|
+
S ? null : /* @__PURE__ */ V(Q, { children: [
|
|
7821
7819
|
/* @__PURE__ */ n(
|
|
7822
7820
|
Ic,
|
|
7823
7821
|
{
|
|
@@ -7829,7 +7827,7 @@ function _c(t) {
|
|
|
7829
7827
|
}
|
|
7830
7828
|
),
|
|
7831
7829
|
!S && /* @__PURE__ */ n(
|
|
7832
|
-
|
|
7830
|
+
Ro,
|
|
7833
7831
|
{
|
|
7834
7832
|
icon: /* @__PURE__ */ n(
|
|
7835
7833
|
Jr,
|
|
@@ -7895,7 +7893,7 @@ function _c(t) {
|
|
|
7895
7893
|
}
|
|
7896
7894
|
}
|
|
7897
7895
|
),
|
|
7898
|
-
!S && /* @__PURE__ */
|
|
7896
|
+
!S && /* @__PURE__ */ V(Q, { children: [
|
|
7899
7897
|
yt(),
|
|
7900
7898
|
/* @__PURE__ */ n(
|
|
7901
7899
|
er,
|
|
@@ -7912,7 +7910,7 @@ function _c(t) {
|
|
|
7912
7910
|
] }),
|
|
7913
7911
|
yt(),
|
|
7914
7912
|
/* @__PURE__ */ n(
|
|
7915
|
-
|
|
7913
|
+
Vt,
|
|
7916
7914
|
{
|
|
7917
7915
|
icon: /* @__PURE__ */ n(Yn, {}),
|
|
7918
7916
|
disabled: !(o && (o == null ? void 0 : o.length) > 0) || T,
|
|
@@ -7924,7 +7922,7 @@ function _c(t) {
|
|
|
7924
7922
|
}
|
|
7925
7923
|
),
|
|
7926
7924
|
/* @__PURE__ */ n(
|
|
7927
|
-
|
|
7925
|
+
Vt,
|
|
7928
7926
|
{
|
|
7929
7927
|
icon: /* @__PURE__ */ n(Gn, {}),
|
|
7930
7928
|
disabled: !(o && (o == null ? void 0 : o.length) > 0) || T,
|
|
@@ -7943,12 +7941,12 @@ function _c(t) {
|
|
|
7943
7941
|
),
|
|
7944
7942
|
yt(),
|
|
7945
7943
|
/* @__PURE__ */ n(
|
|
7946
|
-
|
|
7944
|
+
Vt,
|
|
7947
7945
|
{
|
|
7948
7946
|
icon: /* @__PURE__ */ n(
|
|
7949
7947
|
Lr,
|
|
7950
7948
|
{
|
|
7951
|
-
component: () => /* @__PURE__ */
|
|
7949
|
+
component: () => /* @__PURE__ */ V(
|
|
7952
7950
|
"svg",
|
|
7953
7951
|
{
|
|
7954
7952
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8025,7 +8023,7 @@ function _c(t) {
|
|
|
8025
8023
|
function yt() {
|
|
8026
8024
|
return /* @__PURE__ */ n("div", { className: "inline-block w-2" });
|
|
8027
8025
|
}
|
|
8028
|
-
const
|
|
8026
|
+
const Rc = (t) => {
|
|
8029
8027
|
const {
|
|
8030
8028
|
visible: e,
|
|
8031
8029
|
searchTreeRef: r,
|
|
@@ -8043,7 +8041,7 @@ const Vc = (t) => {
|
|
|
8043
8041
|
} = t, { currentView: h, setPreviousView: p } = H(
|
|
8044
8042
|
rt
|
|
8045
8043
|
);
|
|
8046
|
-
return e ? /* @__PURE__ */
|
|
8044
|
+
return e ? /* @__PURE__ */ V(Q, { children: [
|
|
8047
8045
|
/* @__PURE__ */ n(yn, { children: /* @__PURE__ */ n(
|
|
8048
8046
|
_c,
|
|
8049
8047
|
{
|
|
@@ -8078,7 +8076,7 @@ const Vc = (t) => {
|
|
|
8078
8076
|
] }) : null;
|
|
8079
8077
|
}, tr = Qe.createContext(
|
|
8080
8078
|
null
|
|
8081
|
-
),
|
|
8079
|
+
), Vc = (t) => {
|
|
8082
8080
|
const [e, r] = b(!1), [i, o] = b(!1), { children: s, dashboardRef: a, openAction: l } = t;
|
|
8083
8081
|
return /* @__PURE__ */ n(
|
|
8084
8082
|
tr.Provider,
|
|
@@ -8102,7 +8100,7 @@ function Ac() {
|
|
|
8102
8100
|
moveItemsEnabled: r,
|
|
8103
8101
|
setMoveItemsEnabled: i
|
|
8104
8102
|
} = H(tr), { t: o } = H(he);
|
|
8105
|
-
return /* @__PURE__ */
|
|
8103
|
+
return /* @__PURE__ */ V(We, { wrap: !0, children: [
|
|
8106
8104
|
/* @__PURE__ */ n(
|
|
8107
8105
|
Ze,
|
|
8108
8106
|
{
|
|
@@ -8155,8 +8153,8 @@ const kc = (t) => {
|
|
|
8155
8153
|
const { dashboardData: e } = t, r = de(), i = H(
|
|
8156
8154
|
dt
|
|
8157
8155
|
), { openShortcut: o } = i || {};
|
|
8158
|
-
return e ? /* @__PURE__ */
|
|
8159
|
-
|
|
8156
|
+
return e ? /* @__PURE__ */ V(
|
|
8157
|
+
Vc,
|
|
8160
8158
|
{
|
|
8161
8159
|
dashboardRef: r,
|
|
8162
8160
|
openAction: (s) => {
|
|
@@ -8212,7 +8210,7 @@ function Mc(t, e) {
|
|
|
8212
8210
|
limit: y
|
|
8213
8211
|
} = t, [w, T] = b(), [I, C] = b([]), [O, _] = b(!0), A = m || void 0, [x, S] = b(
|
|
8214
8212
|
A
|
|
8215
|
-
), [F, v] = b([]), [E, P] = b(), [M, j] = b([]), [N, B] = b(), [K,
|
|
8213
|
+
), [F, v] = b([]), [E, P] = b(), [M, j] = b([]), [N, B] = b(), [K, R] = b(0), [U, ne] = b(!1), [X, Y] = b(!1), [G, k] = b(), { t: L } = H(he) || {}, ee = de(), le = de(), Fe = H(
|
|
8216
8214
|
dt
|
|
8217
8215
|
), {
|
|
8218
8216
|
setCurrentView: J,
|
|
@@ -8255,8 +8253,8 @@ function Mc(t, e) {
|
|
|
8255
8253
|
viewTuple: ie
|
|
8256
8254
|
});
|
|
8257
8255
|
}
|
|
8258
|
-
const
|
|
8259
|
-
for (const ie of
|
|
8256
|
+
const Ve = await Ec(xe);
|
|
8257
|
+
for (const ie of Ve) {
|
|
8260
8258
|
if (!ie)
|
|
8261
8259
|
continue;
|
|
8262
8260
|
const [, ue] = ie.viewTuple, Ue = ie.info;
|
|
@@ -8319,7 +8317,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
8319
8317
|
), ke == null || ke(d)), Ge(Be), C(Z), _(!1);
|
|
8320
8318
|
};
|
|
8321
8319
|
l({ tabKey: d, canWeClose: oe }), me(() => {
|
|
8322
|
-
const Z = I.find((
|
|
8320
|
+
const Z = I.find((Ve) => Ve.type === "tree"), xe = I.find((Ve) => u.id ? Ve.type === u.type && Ve.view_id === u.id : Ve.type === u.type);
|
|
8323
8321
|
Ge(xe || Z), m ? q == null || q(A) : (Le(void 0), P(void 0)), Ce();
|
|
8324
8322
|
}, [i, s, m]), me(() => {
|
|
8325
8323
|
we === d && (q == null || q(x), J == null || J(w));
|
|
@@ -8334,22 +8332,22 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
8334
8332
|
var ie;
|
|
8335
8333
|
Y(!0);
|
|
8336
8334
|
const xe = M.findIndex((ue) => ue.id === Z);
|
|
8337
|
-
let
|
|
8335
|
+
let Ve;
|
|
8338
8336
|
if (xe === -1) {
|
|
8339
8337
|
try {
|
|
8340
|
-
|
|
8338
|
+
Ve = (ie = await D.getHandler().readObjects({
|
|
8341
8339
|
model: i,
|
|
8342
8340
|
ids: [Z],
|
|
8343
8341
|
context: o
|
|
8344
8342
|
})) == null ? void 0 : ie[0];
|
|
8345
8343
|
} catch {
|
|
8346
8344
|
}
|
|
8347
|
-
if (!
|
|
8345
|
+
if (!Ve) {
|
|
8348
8346
|
Y(!1), ne(!1), ft(L("idNotFound"));
|
|
8349
8347
|
return;
|
|
8350
8348
|
}
|
|
8351
8349
|
} else
|
|
8352
|
-
|
|
8350
|
+
Ve = M[xe];
|
|
8353
8351
|
Y(!1), ne(!1);
|
|
8354
8352
|
const Be = s.find((ue) => ue[1] === "form");
|
|
8355
8353
|
je({
|
|
@@ -8389,7 +8387,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
8389
8387
|
);
|
|
8390
8388
|
case "tree":
|
|
8391
8389
|
return /* @__PURE__ */ n(
|
|
8392
|
-
|
|
8390
|
+
Rc,
|
|
8393
8391
|
{
|
|
8394
8392
|
visible: w.type === Z.type && w.view_id === Z.view_id,
|
|
8395
8393
|
limit: y,
|
|
@@ -8444,7 +8442,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
8444
8442
|
Ge(Z);
|
|
8445
8443
|
}
|
|
8446
8444
|
}
|
|
8447
|
-
return O ? /* @__PURE__ */ n(Ae, {}) : w ? /* @__PURE__ */
|
|
8445
|
+
return O ? /* @__PURE__ */ n(Ae, {}) : w ? /* @__PURE__ */ V(
|
|
8448
8446
|
ua,
|
|
8449
8447
|
{
|
|
8450
8448
|
title: a,
|
|
@@ -8464,7 +8462,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
8464
8462
|
sorter: N,
|
|
8465
8463
|
setSorter: B,
|
|
8466
8464
|
totalItems: K,
|
|
8467
|
-
setTotalItems:
|
|
8465
|
+
setTotalItems: R,
|
|
8468
8466
|
selectedRowItems: F,
|
|
8469
8467
|
setSelectedRowItems: v,
|
|
8470
8468
|
setSearchTreeNameSearch: k,
|
|
@@ -8488,7 +8486,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
8488
8486
|
}
|
|
8489
8487
|
) : null;
|
|
8490
8488
|
}
|
|
8491
|
-
const
|
|
8489
|
+
const Vo = vt(Mc);
|
|
8492
8490
|
async function Nc({
|
|
8493
8491
|
actionId: t,
|
|
8494
8492
|
rootContext: e = {},
|
|
@@ -8572,7 +8570,7 @@ const Pc = Wi(ji), Lc = (t) => {
|
|
|
8572
8570
|
);
|
|
8573
8571
|
}, { useToken: Bc } = Pe, { Text: $c } = Yt, Hc = (t) => {
|
|
8574
8572
|
const { title: e, children: r, action: i, openAction: o } = t, { token: s } = Bc();
|
|
8575
|
-
return /* @__PURE__ */
|
|
8573
|
+
return /* @__PURE__ */ V(
|
|
8576
8574
|
"div",
|
|
8577
8575
|
{
|
|
8578
8576
|
className: "shadow-md",
|
|
@@ -8586,7 +8584,7 @@ const Pc = Wi(ji), Lc = (t) => {
|
|
|
8586
8584
|
borderRadius: s.borderRadius
|
|
8587
8585
|
},
|
|
8588
8586
|
children: [
|
|
8589
|
-
/* @__PURE__ */
|
|
8587
|
+
/* @__PURE__ */ V(
|
|
8590
8588
|
ve,
|
|
8591
8589
|
{
|
|
8592
8590
|
align: "middle",
|
|
@@ -8636,7 +8634,7 @@ function Wc(t) {
|
|
|
8636
8634
|
domain: s = [],
|
|
8637
8635
|
visible: a = !0,
|
|
8638
8636
|
parentContext: l = {}
|
|
8639
|
-
} = t, [d, u] = b(!1), [c, f] = b(!1), [m, g] = b(), [h, p] = b(), [y, w] = b(), [T, I] = b(1), [C, O] = b(0), _ = de(Kc), A = de([]), [x, S] = b(0), [F, v] = b([]), [E, P] = b(void 0), [M, j] = b(), [N, B] = b(), [K,
|
|
8637
|
+
} = t, [d, u] = b(!1), [c, f] = b(!1), [m, g] = b(), [h, p] = b(), [y, w] = b(), [T, I] = b(1), [C, O] = b(0), _ = de(Kc), A = de([]), [x, S] = b(0), [F, v] = b([]), [E, P] = b(void 0), [M, j] = b(), [N, B] = b(), [K, R] = b(), [U, ne] = b(!1), X = de([]), Y = (q) => {
|
|
8640
8638
|
ne(!0), I(q), O((q - 1) * _.current);
|
|
8641
8639
|
}, G = async () => {
|
|
8642
8640
|
const q = X.current.length > 0 ? X.current : s, be = Wt(A.current, q), { colors: we } = _t(h), { totalItems: je, results: ke, attrsEvaluated: Le } = await D.getHandler().searchForTree({
|
|
@@ -8649,7 +8647,7 @@ function Wc(t) {
|
|
|
8649
8647
|
attrs: we && { colors: we }
|
|
8650
8648
|
});
|
|
8651
8649
|
P(tn(Le));
|
|
8652
|
-
const Ge =
|
|
8650
|
+
const Ge = Rt({
|
|
8653
8651
|
resultsToSort: ke,
|
|
8654
8652
|
sorter: M,
|
|
8655
8653
|
fields: { ...h.fields, ...y.fields }
|
|
@@ -8668,11 +8666,11 @@ function Wc(t) {
|
|
|
8668
8666
|
c && a && k();
|
|
8669
8667
|
}, [T, C, c, a]);
|
|
8670
8668
|
const L = async (q) => {
|
|
8671
|
-
f(!1), u(!0),
|
|
8669
|
+
f(!1), u(!0), R(void 0);
|
|
8672
8670
|
try {
|
|
8673
8671
|
q === "action" ? await ee() : await le(), f(!0);
|
|
8674
8672
|
} catch (be) {
|
|
8675
|
-
|
|
8673
|
+
R(be);
|
|
8676
8674
|
} finally {
|
|
8677
8675
|
u(!1);
|
|
8678
8676
|
}
|
|
@@ -8708,7 +8706,7 @@ function Wc(t) {
|
|
|
8708
8706
|
model: m,
|
|
8709
8707
|
treeView: h
|
|
8710
8708
|
});
|
|
8711
|
-
}, J = () => !h || !y ? null : /* @__PURE__ */
|
|
8709
|
+
}, J = () => !h || !y ? null : /* @__PURE__ */ V("div", { style: { overflowY: "scroll" }, children: [
|
|
8712
8710
|
N && /* @__PURE__ */ n(et, { className: "mt-10", message: N, type: "error", banner: !0 }),
|
|
8713
8711
|
/* @__PURE__ */ n(
|
|
8714
8712
|
pn,
|
|
@@ -8726,7 +8724,7 @@ function Wc(t) {
|
|
|
8726
8724
|
sorter: M,
|
|
8727
8725
|
onChangeSort: (q) => {
|
|
8728
8726
|
j == null || j(q);
|
|
8729
|
-
const be =
|
|
8727
|
+
const be = Rt({
|
|
8730
8728
|
resultsToSort: F,
|
|
8731
8729
|
sorter: q,
|
|
8732
8730
|
fields: { ...h.fields, ...y.fields }
|
|
@@ -8889,7 +8887,7 @@ function Yc(t, e) {
|
|
|
8889
8887
|
key: N,
|
|
8890
8888
|
title: B,
|
|
8891
8889
|
views: K,
|
|
8892
|
-
model:
|
|
8890
|
+
model: R,
|
|
8893
8891
|
context: U,
|
|
8894
8892
|
domain: ne,
|
|
8895
8893
|
initialView: X,
|
|
@@ -8909,19 +8907,19 @@ function Yc(t, e) {
|
|
|
8909
8907
|
view_id: K.filter(
|
|
8910
8908
|
(le) => le[1] === "graph"
|
|
8911
8909
|
)[0][0],
|
|
8912
|
-
model:
|
|
8910
|
+
model: R,
|
|
8913
8911
|
context: U,
|
|
8914
8912
|
domain: ne,
|
|
8915
8913
|
limit: Y
|
|
8916
8914
|
}
|
|
8917
8915
|
);
|
|
8918
8916
|
else if ((X == null ? void 0 : X.type) === "form")
|
|
8919
|
-
k = /* @__PURE__ */ n(jc, { model:
|
|
8917
|
+
k = /* @__PURE__ */ n(jc, { model: R, actionDomain: ne });
|
|
8920
8918
|
else if ((X == null ? void 0 : X.type) === "tree")
|
|
8921
8919
|
k = /* @__PURE__ */ n(
|
|
8922
8920
|
Wc,
|
|
8923
8921
|
{
|
|
8924
|
-
model:
|
|
8922
|
+
model: R,
|
|
8925
8923
|
domain: ne,
|
|
8926
8924
|
view_id: K.filter(
|
|
8927
8925
|
(le) => le[1] === "tree"
|
|
@@ -8954,14 +8952,14 @@ function Yc(t, e) {
|
|
|
8954
8952
|
else if (X !== void 0) {
|
|
8955
8953
|
const le = X && Array.isArray(X.id) ? { ...X, id: X.id[0] } : X;
|
|
8956
8954
|
k = /* @__PURE__ */ n(
|
|
8957
|
-
|
|
8955
|
+
Vo,
|
|
8958
8956
|
{
|
|
8959
8957
|
action_id: M,
|
|
8960
8958
|
action_type: j,
|
|
8961
8959
|
tabKey: N,
|
|
8962
8960
|
title: B,
|
|
8963
8961
|
views: K,
|
|
8964
|
-
model:
|
|
8962
|
+
model: R,
|
|
8965
8963
|
context: U,
|
|
8966
8964
|
domain: ne,
|
|
8967
8965
|
setCanWeClose: () => {
|
|
@@ -9068,7 +9066,7 @@ const Gc = vt(Yc), Uc = (t) => {
|
|
|
9068
9066
|
S.push({ id: v, operation: "pendingLink" });
|
|
9069
9067
|
}), I(S);
|
|
9070
9068
|
};
|
|
9071
|
-
return c && a.length === 0 ? /* @__PURE__ */ n(Ae, {}) : /* @__PURE__ */ n(Q, { children: /* @__PURE__ */
|
|
9069
|
+
return c && a.length === 0 ? /* @__PURE__ */ n(Ae, {}) : /* @__PURE__ */ n(Q, { children: /* @__PURE__ */ V("div", { className: "flex flex-row", children: [
|
|
9072
9070
|
/* @__PURE__ */ n(
|
|
9073
9071
|
Ht.Group,
|
|
9074
9072
|
{
|
|
@@ -9079,7 +9077,7 @@ const Gc = vt(Yc), Uc = (t) => {
|
|
|
9079
9077
|
children: /* @__PURE__ */ n(ve, { children: a.map((x) => /* @__PURE__ */ n(ae, { span: Math.floor(24 / y), children: /* @__PURE__ */ n(Ht, { value: x.value, children: x.label }) })) })
|
|
9080
9078
|
}
|
|
9081
9079
|
),
|
|
9082
|
-
!h && /* @__PURE__ */
|
|
9080
|
+
!h && /* @__PURE__ */ V(We, { children: [
|
|
9083
9081
|
/* @__PURE__ */ n(
|
|
9084
9082
|
Oe,
|
|
9085
9083
|
{
|
|
@@ -9146,22 +9144,22 @@ const sd = ({ email: t, size: e = 40, theme: r = "" }) => {
|
|
|
9146
9144
|
function ad({ text: t }) {
|
|
9147
9145
|
const e = t.split(`
|
|
9148
9146
|
`);
|
|
9149
|
-
return /* @__PURE__ */ n("div", { children: e.map((r, i) => /* @__PURE__ */
|
|
9147
|
+
return /* @__PURE__ */ n("div", { children: e.map((r, i) => /* @__PURE__ */ V(Qe.Fragment, { children: [
|
|
9150
9148
|
r,
|
|
9151
9149
|
i !== e.length - 1 && /* @__PURE__ */ n("br", {})
|
|
9152
9150
|
] }, i)) });
|
|
9153
9151
|
}
|
|
9154
9152
|
const ld = (t) => {
|
|
9155
9153
|
const { data: e, style: r } = t, { t: i } = H(he);
|
|
9156
|
-
return /* @__PURE__ */
|
|
9154
|
+
return /* @__PURE__ */ V(Nn, { style: { ...r, textAlign: "start" }, children: [
|
|
9157
9155
|
/* @__PURE__ */ n(
|
|
9158
9156
|
od,
|
|
9159
9157
|
{
|
|
9160
9158
|
avatar: /* @__PURE__ */ n(sd, { email: e.email, theme: "mp" }),
|
|
9161
9159
|
title: e.author,
|
|
9162
|
-
description: /* @__PURE__ */
|
|
9160
|
+
description: /* @__PURE__ */ V(We, { direction: "horizontal", children: [
|
|
9163
9161
|
/* @__PURE__ */ n("span", { title: e.date, children: at(e.date).fromNow() }),
|
|
9164
|
-
e.isAuthor && /* @__PURE__ */ n(
|
|
9162
|
+
e.isAuthor && /* @__PURE__ */ n(Rr, { color: "blue", children: i("author") })
|
|
9165
9163
|
] }),
|
|
9166
9164
|
style: { marginBottom: "5px" }
|
|
9167
9165
|
}
|
|
@@ -9242,7 +9240,7 @@ function hd(t, e) {
|
|
|
9242
9240
|
res_model: N,
|
|
9243
9241
|
views: B,
|
|
9244
9242
|
name: K,
|
|
9245
|
-
target:
|
|
9243
|
+
target: R,
|
|
9246
9244
|
view_type: U,
|
|
9247
9245
|
limit: ne
|
|
9248
9246
|
} = F, X = U === "tree", Y = [];
|
|
@@ -9278,7 +9276,7 @@ function hd(t, e) {
|
|
|
9278
9276
|
model: N,
|
|
9279
9277
|
views: Y,
|
|
9280
9278
|
title: K,
|
|
9281
|
-
target:
|
|
9279
|
+
target: R,
|
|
9282
9280
|
initialView: G,
|
|
9283
9281
|
action_type: v,
|
|
9284
9282
|
action_id: P,
|
|
@@ -9322,7 +9320,7 @@ function hd(t, e) {
|
|
|
9322
9320
|
target: P,
|
|
9323
9321
|
string: M,
|
|
9324
9322
|
limit: j
|
|
9325
|
-
} = C, [N, B] = E[0], K = { id: N, type: B },
|
|
9323
|
+
} = C, [N, B] = E[0], K = { id: N, type: B }, R = wt({
|
|
9326
9324
|
context: F,
|
|
9327
9325
|
values: { ..._, ...i },
|
|
9328
9326
|
fields: O
|
|
@@ -9333,13 +9331,13 @@ function hd(t, e) {
|
|
|
9333
9331
|
values: { ..._, ...i }
|
|
9334
9332
|
}),
|
|
9335
9333
|
fields: O,
|
|
9336
|
-
context: { ...o, ...
|
|
9334
|
+
context: { ...o, ...R }
|
|
9337
9335
|
}) : [];
|
|
9338
9336
|
I({
|
|
9339
9337
|
model: S,
|
|
9340
9338
|
target: P,
|
|
9341
9339
|
views: E,
|
|
9342
|
-
context: { ...o, ...
|
|
9340
|
+
context: { ...o, ...R },
|
|
9343
9341
|
domain: U,
|
|
9344
9342
|
title: M,
|
|
9345
9343
|
initialView: K,
|
|
@@ -9367,7 +9365,7 @@ function hd(t, e) {
|
|
|
9367
9365
|
target: N,
|
|
9368
9366
|
view_type: B,
|
|
9369
9367
|
limit: K
|
|
9370
|
-
} = F,
|
|
9368
|
+
} = F, R = B === "tree", U = [];
|
|
9371
9369
|
for (const G of M) {
|
|
9372
9370
|
const [k, L] = G;
|
|
9373
9371
|
if (k)
|
|
@@ -9402,7 +9400,7 @@ function hd(t, e) {
|
|
|
9402
9400
|
action_id: O,
|
|
9403
9401
|
action_type: _,
|
|
9404
9402
|
res_id: A,
|
|
9405
|
-
treeExpandable:
|
|
9403
|
+
treeExpandable: R,
|
|
9406
9404
|
limit: K
|
|
9407
9405
|
});
|
|
9408
9406
|
}
|
|
@@ -9442,7 +9440,7 @@ function hd(t, e) {
|
|
|
9442
9440
|
}) {
|
|
9443
9441
|
const K = Zr();
|
|
9444
9442
|
if (S !== "current") {
|
|
9445
|
-
const
|
|
9443
|
+
const R = await D.getHandler().getView({
|
|
9446
9444
|
model: _,
|
|
9447
9445
|
type: "form",
|
|
9448
9446
|
id: F.type === "form" ? F.id : void 0,
|
|
@@ -9451,17 +9449,17 @@ function hd(t, e) {
|
|
|
9451
9449
|
f.current.openActionModal({
|
|
9452
9450
|
domain: C,
|
|
9453
9451
|
model: _,
|
|
9454
|
-
formView:
|
|
9452
|
+
formView: R,
|
|
9455
9453
|
context: { ...o, ...O },
|
|
9456
9454
|
actionData: {
|
|
9457
9455
|
action_id: v,
|
|
9458
9456
|
action_type: E,
|
|
9459
9457
|
res_id: P,
|
|
9460
|
-
view_id:
|
|
9458
|
+
view_id: R.view_id
|
|
9461
9459
|
}
|
|
9462
9460
|
});
|
|
9463
9461
|
} else {
|
|
9464
|
-
const
|
|
9462
|
+
const R = F && Array.isArray(F.id) ? { ...F, id: F.id[0] } : F;
|
|
9465
9463
|
p({
|
|
9466
9464
|
title: x,
|
|
9467
9465
|
action: {
|
|
@@ -9469,7 +9467,7 @@ function hd(t, e) {
|
|
|
9469
9467
|
type: E
|
|
9470
9468
|
},
|
|
9471
9469
|
content: /* @__PURE__ */ n(
|
|
9472
|
-
|
|
9470
|
+
Vo,
|
|
9473
9471
|
{
|
|
9474
9472
|
action_id: v,
|
|
9475
9473
|
action_type: E,
|
|
@@ -9480,7 +9478,7 @@ function hd(t, e) {
|
|
|
9480
9478
|
context: { ...o, ...O },
|
|
9481
9479
|
domain: C,
|
|
9482
9480
|
setCanWeClose: g,
|
|
9483
|
-
initialView:
|
|
9481
|
+
initialView: R,
|
|
9484
9482
|
res_id: P,
|
|
9485
9483
|
formDefaultValues: M,
|
|
9486
9484
|
formForcedValues: j,
|
|
@@ -9524,7 +9522,7 @@ function hd(t, e) {
|
|
|
9524
9522
|
const eu = vt(hd), { useToken: pd } = Pe;
|
|
9525
9523
|
function gd(t) {
|
|
9526
9524
|
const { label: e, onClose: r, tabKey: i, isActive: o, onSelected: s } = t, { token: a } = pd(), l = o ? a.colorBgContainer : a.colorPrimaryBg;
|
|
9527
|
-
return /* @__PURE__ */
|
|
9525
|
+
return /* @__PURE__ */ V(
|
|
9528
9526
|
"div",
|
|
9529
9527
|
{
|
|
9530
9528
|
onClick: () => {
|
|
@@ -9657,7 +9655,7 @@ const { useToken: vd } = Pe, ru = (t) => {
|
|
|
9657
9655
|
}
|
|
9658
9656
|
}
|
|
9659
9657
|
function S(N) {
|
|
9660
|
-
const { key: B } = N, K = u.find((
|
|
9658
|
+
const { key: B } = N, K = u.find((R) => R.id === Number(B));
|
|
9661
9659
|
(K == null ? void 0 : K.action_type) !== "ir.actions.wizard" && (K && T(K), d(!1));
|
|
9662
9660
|
}
|
|
9663
9661
|
function F(N) {
|
|
@@ -9671,13 +9669,13 @@ const { useToken: vd } = Pe, ru = (t) => {
|
|
|
9671
9669
|
a(!1);
|
|
9672
9670
|
return;
|
|
9673
9671
|
}
|
|
9674
|
-
const
|
|
9672
|
+
const R = O.view_id;
|
|
9675
9673
|
let U = !1;
|
|
9676
9674
|
O.type === "form" && (U = _ || !1);
|
|
9677
9675
|
const ne = await r({
|
|
9678
9676
|
action_id: B,
|
|
9679
9677
|
action_type: K,
|
|
9680
|
-
view_id:
|
|
9678
|
+
view_id: R,
|
|
9681
9679
|
res_id: U
|
|
9682
9680
|
});
|
|
9683
9681
|
ne !== !1 && h(ne), a(ne !== !1);
|
|
@@ -9685,8 +9683,8 @@ const { useToken: vd } = Pe, ru = (t) => {
|
|
|
9685
9683
|
async function E() {
|
|
9686
9684
|
d(!1), A == null || A({ model: "ir.ui.view_sc" });
|
|
9687
9685
|
}
|
|
9688
|
-
const P = /* @__PURE__ */
|
|
9689
|
-
/* @__PURE__ */
|
|
9686
|
+
const P = /* @__PURE__ */ V($e, { onClick: S, children: [
|
|
9687
|
+
/* @__PURE__ */ V("div", { style: { width: 300, padding: 5, display: "flex" }, children: [
|
|
9690
9688
|
/* @__PURE__ */ n("div", { style: { paddingLeft: 15, color: "#ccc" }, children: p == null ? void 0 : p("favorites").toUpperCase() }),
|
|
9691
9689
|
/* @__PURE__ */ n("div", { style: { flexGrow: 1, paddingLeft: 10 }, children: /* @__PURE__ */ n(ht, { title: p == null ? void 0 : p("edit_favorites"), children: /* @__PURE__ */ n(
|
|
9692
9690
|
zr,
|
|
@@ -9706,7 +9704,7 @@ const { useToken: vd } = Pe, ru = (t) => {
|
|
|
9706
9704
|
) }, N.id)) }) : /* @__PURE__ */ n("div", { style: { width: 300, padding: 5, paddingLeft: 15 }, children: p == null ? void 0 : p("no_favorites") })
|
|
9707
9705
|
] });
|
|
9708
9706
|
function M({ title: N, type: B }) {
|
|
9709
|
-
return /* @__PURE__ */
|
|
9707
|
+
return /* @__PURE__ */ V(ve, { wrap: !1, children: [
|
|
9710
9708
|
/* @__PURE__ */ n(ae, { flex: "none", style: { paddingRight: 20 }, children: B === "tree" ? /* @__PURE__ */ n(qn, {}) : /* @__PURE__ */ n(Kt, {}) }),
|
|
9711
9709
|
/* @__PURE__ */ n(ae, { flex: "auto", children: N })
|
|
9712
9710
|
] });
|
|
@@ -9717,7 +9715,7 @@ const { useToken: vd } = Pe, ru = (t) => {
|
|
|
9717
9715
|
else {
|
|
9718
9716
|
if (!O)
|
|
9719
9717
|
return;
|
|
9720
|
-
const N = I.find((ne) => ne.key === C), { id: B, type: K } = (N == null ? void 0 : N.action) || {},
|
|
9718
|
+
const N = I.find((ne) => ne.key === C), { id: B, type: K } = (N == null ? void 0 : N.action) || {}, R = O.view_id;
|
|
9721
9719
|
let U = !1;
|
|
9722
9720
|
if (!B || !K) {
|
|
9723
9721
|
a(!1);
|
|
@@ -9726,13 +9724,13 @@ const { useToken: vd } = Pe, ru = (t) => {
|
|
|
9726
9724
|
O.type === "form" && (U = _ || !1), await i({
|
|
9727
9725
|
action_id: B,
|
|
9728
9726
|
action_type: K,
|
|
9729
|
-
view_id:
|
|
9727
|
+
view_id: R,
|
|
9730
9728
|
res_id: U
|
|
9731
9729
|
});
|
|
9732
9730
|
}
|
|
9733
9731
|
await x(), a(!s);
|
|
9734
9732
|
}
|
|
9735
|
-
return /* @__PURE__ */
|
|
9733
|
+
return /* @__PURE__ */ V(Q, { children: [
|
|
9736
9734
|
/* @__PURE__ */ n(
|
|
9737
9735
|
Oe,
|
|
9738
9736
|
{
|
|
@@ -9770,7 +9768,7 @@ const { useToken: vd } = Pe, ru = (t) => {
|
|
|
9770
9768
|
};
|
|
9771
9769
|
export {
|
|
9772
9770
|
pc as ActionBar,
|
|
9773
|
-
|
|
9771
|
+
Vo as ActionView,
|
|
9774
9772
|
lc as Binary,
|
|
9775
9773
|
ws as Boolean,
|
|
9776
9774
|
Xr as Button,
|