@gisce/react-ooui 1.2.8 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react-ooui.es.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import qe, { useContext as Y, useState as T, useEffect as ge, useRef as me, useCallback as Re, forwardRef as vt, useImperativeHandle as wt } from "react";
|
|
2
|
-
import { Tooltip as ht, theme as $e, Typography as sn, Form as it, Row as Se, Col as ce, Modal as We, Button as Ie, Dropdown as Ht, Menu as Le, Spin as Me, Divider as an, Space as je, Input as Qe, Select as bt, Checkbox as Lt, Alert as ze, Timeline as Qn, Statistic as
|
|
3
|
-
import { Label as Dt, Field as On, Tree as Dr, Reference as
|
|
2
|
+
import { Tooltip as ht, theme as $e, Typography as sn, Form as it, Row as Se, Col as ce, Modal as We, Button as Ie, Dropdown as Ht, Menu as Le, Spin as Me, Divider as an, Space as je, Input as Qe, Select as bt, Checkbox as Lt, Alert as ze, Timeline as Qn, Statistic as Jo, Card as Zo, Tag as Or, message as bn, DatePicker as Rn, TimePicker as _r, InputNumber as Mn, Progress as Xo, Avatar as Qo, Pagination as ei, Tabs as Ir, Popover as ti, Radio as er, Switch as ni, Steps as tr, Layout as ri } from "antd";
|
|
3
|
+
import { Label as Dt, Field as On, Tree as Dr, Reference as oi, Selection as En, Many2one as Vr, Boolean as ii, Container as si, parseContext as yt, Form as Ar, Integer as _n, SearchFieldTypes as ft, SearchFilter as ai, transformDomainForChildWidget as kr, graphProcessor as Rr, parseGraph as $n, graphFieldUtils as li } from "@gisce/ooui";
|
|
4
4
|
import * as nr from "@ant-design/icons";
|
|
5
|
-
import Mr, { QuestionCircleOutlined as Er, ExclamationCircleOutlined as pt, LoadingOutlined as et, DownOutlined as Vt, WarningOutlined as $r, CloseOutlined as Bt, CheckOutlined as At, TranslationOutlined as Lr, FolderOpenOutlined as Ln, DownloadOutlined as Nn, ClearOutlined as Pn, StarFilled as Nr, StarOutlined as Pr, UpOutlined as
|
|
5
|
+
import Mr, { QuestionCircleOutlined as Er, ExclamationCircleOutlined as pt, LoadingOutlined as et, DownOutlined as Vt, WarningOutlined as $r, CloseOutlined as Bt, CheckOutlined as At, TranslationOutlined as Lr, FolderOpenOutlined as Ln, DownloadOutlined as Nn, ClearOutlined as Pn, StarFilled as Nr, StarOutlined as Pr, UpOutlined as ci, SearchOutlined as Hn, RightCircleOutlined as di, ThunderboltOutlined as Bn, PrinterOutlined as jn, EnterOutlined as Hr, PlusSquareOutlined as ui, MinusSquareOutlined as fi, FileAddOutlined as ln, AlignLeftOutlined as mi, ApiOutlined as hi, DeleteOutlined as Kn, LeftOutlined as Br, RightOutlined as jr, EyeOutlined as pi, FormOutlined as Nt, TableOutlined as Yn, AreaChartOutlined as gi, CalendarOutlined as yi, LinkOutlined as Kr, SaveOutlined as vi, CopyOutlined as Wn, InfoCircleOutlined as Yr, ReloadOutlined as cn, EditOutlined as Wr, FilterOutlined as Ur, CloseCircleFilled as wi, BorderOuterOutlined as bi, SettingOutlined as xi, ExportOutlined as Ci } from "@ant-design/icons";
|
|
6
6
|
import { Interweave as Un } from "interweave";
|
|
7
7
|
import { jsxs as H, jsx as n, Fragment as X } from "react/jsx-runtime";
|
|
8
8
|
import * as rr from "@tabler/icons-react";
|
|
9
|
-
import
|
|
9
|
+
import Si from "antd/lib/input/TextArea";
|
|
10
10
|
import jt from "styled-components";
|
|
11
11
|
import Gn from "react-measure";
|
|
12
12
|
import In from "antd/lib/typography/Title";
|
|
13
|
-
import { Line as
|
|
13
|
+
import { Line as Ti, Column as Fi, Pie as Oi } from "@ant-design/plots";
|
|
14
14
|
import xt from "use-deep-compare-effect";
|
|
15
|
-
import { Table as
|
|
16
|
-
import { fileTypeFromBuffer as
|
|
17
|
-
import { isPresetStatusColor as
|
|
18
|
-
import { GridUi as
|
|
19
|
-
import { FieldSet as
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import { useHotkeys as
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import { WidthProvider as
|
|
15
|
+
import { Table as _i } from "@gisce/react-formiga-table";
|
|
16
|
+
import { fileTypeFromBuffer as Ii } from "file-type-buffer-browser";
|
|
17
|
+
import { isPresetStatusColor as Di } from "antd/lib/_util/colors";
|
|
18
|
+
import { GridUi as Vi } from "@gisce/fiber-diagram";
|
|
19
|
+
import { FieldSet as Ai, ExportModal as ki } from "@gisce/react-formiga-components";
|
|
20
|
+
import Ri from "validator/lib/isURL";
|
|
21
|
+
import Mi from "validator/lib/isEmail";
|
|
22
|
+
import { useHotkeys as Ei } from "react-hotkeys-hook";
|
|
23
|
+
import $i from "react-markdown";
|
|
24
|
+
import Li from "@monaco-editor/react";
|
|
25
|
+
import { WidthProvider as Ni, Responsive as Pi } from "react-grid-layout";
|
|
26
26
|
import "react-grid-layout/css/styles.css";
|
|
27
27
|
import { v4 as Gr } from "uuid";
|
|
28
28
|
const {
|
|
29
|
-
Text:
|
|
30
|
-
Title:
|
|
29
|
+
Text: Hi,
|
|
30
|
+
Title: Bi
|
|
31
31
|
} = sn, {
|
|
32
|
-
useToken:
|
|
33
|
-
} = $e,
|
|
32
|
+
useToken: ji
|
|
33
|
+
} = $e, Ki = {
|
|
34
34
|
left: "justify-start",
|
|
35
35
|
center: "justify-center",
|
|
36
36
|
right: "justify-end"
|
|
@@ -47,9 +47,9 @@ const {
|
|
|
47
47
|
labelType: u
|
|
48
48
|
} = t, f = a !== null && o.length > 1 ? o + " :" : o, m = r || (a ? i ? "left" : "right" : "left"), {
|
|
49
49
|
token: v
|
|
50
|
-
} =
|
|
50
|
+
} = ji(), p = l === void 0 ? Hi : Bi;
|
|
51
51
|
return /* @__PURE__ */ H("div", {
|
|
52
|
-
className: `flex flex-row items-center pb-1 pt-1 ${
|
|
52
|
+
className: `flex flex-row items-center pb-1 pt-1 ${Ki[m]}`,
|
|
53
53
|
children: [s && /* @__PURE__ */ n(ht, {
|
|
54
54
|
title: s,
|
|
55
55
|
children: /* @__PURE__ */ n(Er, {
|
|
@@ -69,7 +69,7 @@ const {
|
|
|
69
69
|
})
|
|
70
70
|
})]
|
|
71
71
|
});
|
|
72
|
-
},
|
|
72
|
+
}, Yi = {
|
|
73
73
|
true: "S\xED",
|
|
74
74
|
false: "No",
|
|
75
75
|
simple_search: "B\xFAsqueda simple",
|
|
@@ -155,7 +155,7 @@ const {
|
|
|
155
155
|
advancedExport: "Exportaci\xF3 avan\xE7ada",
|
|
156
156
|
savedRegisters: "Registre guardat correctament",
|
|
157
157
|
errorWhileSavingForm: "Error en guardar el formulari"
|
|
158
|
-
},
|
|
158
|
+
}, Wi = {
|
|
159
159
|
true: "Yes",
|
|
160
160
|
false: "No",
|
|
161
161
|
simple_search: "Simple search",
|
|
@@ -241,7 +241,7 @@ const {
|
|
|
241
241
|
advancedExport: "Advanced export",
|
|
242
242
|
savedRegisters: "Record successfully saved",
|
|
243
243
|
errorWhileSavingForm: "Error while saving form"
|
|
244
|
-
},
|
|
244
|
+
}, Ui = {
|
|
245
245
|
true: "S\xED",
|
|
246
246
|
false: "No",
|
|
247
247
|
simple_search: "B\xFAsqueda simple",
|
|
@@ -327,11 +327,11 @@ const {
|
|
|
327
327
|
advancedExport: "Exportaci\xF3n avanzada",
|
|
328
328
|
savedRegisters: "Registro guardado correctamente",
|
|
329
329
|
errorWhileSavingForm: "Error al guardar el formulario"
|
|
330
|
-
},
|
|
331
|
-
ca_ES:
|
|
332
|
-
en_US:
|
|
333
|
-
es_ES:
|
|
334
|
-
}, we = qe.createContext(null),
|
|
330
|
+
}, Gi = {
|
|
331
|
+
ca_ES: Yi,
|
|
332
|
+
en_US: Wi,
|
|
333
|
+
es_ES: Ui
|
|
334
|
+
}, we = qe.createContext(null), qi = (e) => {
|
|
335
335
|
const {
|
|
336
336
|
children: t,
|
|
337
337
|
lang: r
|
|
@@ -348,7 +348,7 @@ const {
|
|
|
348
348
|
});
|
|
349
349
|
}, _e = (e, t) => {
|
|
350
350
|
var i;
|
|
351
|
-
return ((i =
|
|
351
|
+
return ((i = Gi[t]) == null ? void 0 : i[e]) || e;
|
|
352
352
|
};
|
|
353
353
|
function ve({
|
|
354
354
|
ooui: e,
|
|
@@ -409,13 +409,13 @@ function ve({
|
|
|
409
409
|
}))();
|
|
410
410
|
}
|
|
411
411
|
const {
|
|
412
|
-
confirm:
|
|
412
|
+
confirm: zi
|
|
413
413
|
} = We, Kt = ({
|
|
414
414
|
onOk: e,
|
|
415
415
|
confirmMessage: t,
|
|
416
416
|
lang: r
|
|
417
417
|
}) => {
|
|
418
|
-
|
|
418
|
+
zi({
|
|
419
419
|
title: _e("confirmation", r),
|
|
420
420
|
icon: /* @__PURE__ */ n(pt, {}),
|
|
421
421
|
centered: !0,
|
|
@@ -424,7 +424,7 @@ const {
|
|
|
424
424
|
cancelText: _e("cancel", r),
|
|
425
425
|
onOk: e
|
|
426
426
|
});
|
|
427
|
-
}, Ee = qe.createContext(null),
|
|
427
|
+
}, Ee = qe.createContext(null), Ji = (e) => {
|
|
428
428
|
const {
|
|
429
429
|
children: t,
|
|
430
430
|
activeId: r,
|
|
@@ -554,7 +554,7 @@ const {
|
|
|
554
554
|
STOCK_UNINDENT: "AlignLeft",
|
|
555
555
|
STOCK_PREFERENCES: "Setting"
|
|
556
556
|
}, st = (e, t) => (e.indexOf("gtk-") !== -1 && (e = `STOCK_${e.replace("gtk-", "").replace(/\-/g, "_").toUpperCase()}`), or.hasOwnProperty(e) ? ir(or[e], t) : ir(e, t));
|
|
557
|
-
function
|
|
557
|
+
function Zi(e) {
|
|
558
558
|
return `${e.split("-").map(
|
|
559
559
|
(t) => t.replace(
|
|
560
560
|
/\w\S*/g,
|
|
@@ -564,7 +564,7 @@ function Ji(e) {
|
|
|
564
564
|
}
|
|
565
565
|
function ir(e, t) {
|
|
566
566
|
let r = e.charAt(0).toUpperCase() + e.slice(1);
|
|
567
|
-
r.indexOf("-") !== -1 && (r =
|
|
567
|
+
r.indexOf("-") !== -1 && (r = Zi(r));
|
|
568
568
|
const i = `${r}Outlined`;
|
|
569
569
|
if (nr[i])
|
|
570
570
|
return () => qe.createElement(nr[i], {
|
|
@@ -644,7 +644,7 @@ const qr = (e) => {
|
|
|
644
644
|
children: i
|
|
645
645
|
})
|
|
646
646
|
});
|
|
647
|
-
},
|
|
647
|
+
}, Xi = (e) => {
|
|
648
648
|
const {
|
|
649
649
|
ooui: t
|
|
650
650
|
} = e, {
|
|
@@ -706,7 +706,7 @@ const qr = (e) => {
|
|
|
706
706
|
onClick: A,
|
|
707
707
|
icon: /* @__PURE__ */ n(Vt, {}),
|
|
708
708
|
type: f ? "primary" : void 0,
|
|
709
|
-
overlay: /* @__PURE__ */ n(
|
|
709
|
+
overlay: /* @__PURE__ */ n(Qi, {
|
|
710
710
|
ooui: i,
|
|
711
711
|
executeButtonAction: h,
|
|
712
712
|
lang: O
|
|
@@ -718,7 +718,7 @@ const qr = (e) => {
|
|
|
718
718
|
return /* @__PURE__ */ n(qr, {
|
|
719
719
|
ooui: r
|
|
720
720
|
});
|
|
721
|
-
},
|
|
721
|
+
}, Qi = (e) => {
|
|
722
722
|
const {
|
|
723
723
|
ooui: t,
|
|
724
724
|
executeButtonAction: r,
|
|
@@ -777,7 +777,7 @@ const qr = (e) => {
|
|
|
777
777
|
return /* @__PURE__ */ n(Le, {
|
|
778
778
|
children: o
|
|
779
779
|
});
|
|
780
|
-
},
|
|
780
|
+
}, es = 0.7;
|
|
781
781
|
function sr() {
|
|
782
782
|
const { innerWidth: e, innerHeight: t } = window;
|
|
783
783
|
return {
|
|
@@ -795,7 +795,7 @@ function un() {
|
|
|
795
795
|
}
|
|
796
796
|
return window.addEventListener("resize", r), () => window.removeEventListener("resize", r);
|
|
797
797
|
}, []), {
|
|
798
|
-
modalWidth: e.width *
|
|
798
|
+
modalWidth: e.width * es,
|
|
799
799
|
modalHeight: e.height,
|
|
800
800
|
width: e.width,
|
|
801
801
|
height: e.height
|
|
@@ -830,15 +830,15 @@ const zr = (e) => {
|
|
|
830
830
|
title: i
|
|
831
831
|
};
|
|
832
832
|
}, {
|
|
833
|
-
error:
|
|
834
|
-
warning:
|
|
833
|
+
error: ts,
|
|
834
|
+
warning: ns
|
|
835
835
|
} = We, Ye = (e) => {
|
|
836
836
|
const {
|
|
837
837
|
message: t,
|
|
838
838
|
type: r,
|
|
839
839
|
title: i
|
|
840
840
|
} = zr(e);
|
|
841
|
-
(r === "error" ?
|
|
841
|
+
(r === "error" ? ts : ns)({
|
|
842
842
|
title: i,
|
|
843
843
|
icon: r === "error" ? /* @__PURE__ */ n(pt, {}) : /* @__PURE__ */ n($r, {}),
|
|
844
844
|
centered: !0,
|
|
@@ -909,7 +909,7 @@ const zr = (e) => {
|
|
|
909
909
|
children: w.name
|
|
910
910
|
}), /* @__PURE__ */ n(ce, {
|
|
911
911
|
flex: "auto",
|
|
912
|
-
children: /* @__PURE__ */ n(
|
|
912
|
+
children: /* @__PURE__ */ n(Si, {
|
|
913
913
|
rows: 4,
|
|
914
914
|
value: h[w.code] || "",
|
|
915
915
|
onChange: (F) => {
|
|
@@ -993,15 +993,15 @@ function Ge(e) {
|
|
|
993
993
|
});
|
|
994
994
|
}
|
|
995
995
|
const {
|
|
996
|
-
info:
|
|
996
|
+
info: rs
|
|
997
997
|
} = We, ct = (e) => {
|
|
998
|
-
|
|
998
|
+
rs({
|
|
999
999
|
title: "",
|
|
1000
1000
|
centered: !0,
|
|
1001
1001
|
content: e
|
|
1002
1002
|
});
|
|
1003
1003
|
}, {
|
|
1004
|
-
useToken:
|
|
1004
|
+
useToken: os
|
|
1005
1005
|
} = $e, Zr = (e) => {
|
|
1006
1006
|
const {
|
|
1007
1007
|
ooui: t,
|
|
@@ -1014,7 +1014,7 @@ const {
|
|
|
1014
1014
|
translatable: l
|
|
1015
1015
|
} = t, {
|
|
1016
1016
|
token: u
|
|
1017
|
-
} =
|
|
1017
|
+
} = os(), c = a && !o ? {
|
|
1018
1018
|
backgroundColor: u.colorPrimaryBg
|
|
1019
1019
|
} : void 0, f = Y(Ee), {
|
|
1020
1020
|
elementHasLostFocus: d
|
|
@@ -1030,7 +1030,7 @@ const {
|
|
|
1030
1030
|
disabled: o,
|
|
1031
1031
|
id: i,
|
|
1032
1032
|
onBlur: d
|
|
1033
|
-
})), l && !o && !r && (m = /* @__PURE__ */ n(
|
|
1033
|
+
})), l && !o && !r && (m = /* @__PURE__ */ n(is, {
|
|
1034
1034
|
field: i,
|
|
1035
1035
|
requiredStyle: c
|
|
1036
1036
|
})), /* @__PURE__ */ n(ve, {
|
|
@@ -1038,7 +1038,7 @@ const {
|
|
|
1038
1038
|
...e,
|
|
1039
1039
|
children: m
|
|
1040
1040
|
});
|
|
1041
|
-
},
|
|
1041
|
+
}, is = ({
|
|
1042
1042
|
value: e,
|
|
1043
1043
|
field: t,
|
|
1044
1044
|
requiredStyle: r,
|
|
@@ -1116,10 +1116,10 @@ const {
|
|
|
1116
1116
|
})
|
|
1117
1117
|
});
|
|
1118
1118
|
}, {
|
|
1119
|
-
defaultAlgorithm:
|
|
1120
|
-
defaultSeed:
|
|
1121
|
-
} = $e,
|
|
1122
|
-
Option:
|
|
1119
|
+
defaultAlgorithm: ss,
|
|
1120
|
+
defaultSeed: as
|
|
1121
|
+
} = $e, ls = ss(as), {
|
|
1122
|
+
Option: cs
|
|
1123
1123
|
} = bt, Xr = (e) => {
|
|
1124
1124
|
const {
|
|
1125
1125
|
ooui: t
|
|
@@ -1145,12 +1145,12 @@ const {
|
|
|
1145
1145
|
required: a
|
|
1146
1146
|
} = t, l = Array.from(o.entries()), u = l && l.length && l.map((f) => {
|
|
1147
1147
|
const [d, m] = f;
|
|
1148
|
-
return /* @__PURE__ */ n(
|
|
1148
|
+
return /* @__PURE__ */ n(cs, {
|
|
1149
1149
|
value: d,
|
|
1150
1150
|
children: m
|
|
1151
1151
|
}, d);
|
|
1152
1152
|
});
|
|
1153
|
-
return /* @__PURE__ */ n(a && !s ?
|
|
1153
|
+
return /* @__PURE__ */ n(a && !s ? ds : bt, {
|
|
1154
1154
|
disabled: s,
|
|
1155
1155
|
onChange: r,
|
|
1156
1156
|
value: i,
|
|
@@ -1159,14 +1159,14 @@ const {
|
|
|
1159
1159
|
showSearch: !0,
|
|
1160
1160
|
children: u
|
|
1161
1161
|
});
|
|
1162
|
-
},
|
|
1162
|
+
}, ds = jt(bt)`
|
|
1163
1163
|
&.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
1164
|
-
background-color: ${
|
|
1164
|
+
background-color: ${ls.colorPrimaryBg};
|
|
1165
1165
|
}
|
|
1166
1166
|
`, {
|
|
1167
|
-
defaultAlgorithm:
|
|
1168
|
-
defaultSeed:
|
|
1169
|
-
} = $e, ar =
|
|
1167
|
+
defaultAlgorithm: us,
|
|
1168
|
+
defaultSeed: fs
|
|
1169
|
+
} = $e, ar = us(fs), ms = (e) => {
|
|
1170
1170
|
const {
|
|
1171
1171
|
ooui: t
|
|
1172
1172
|
} = e, {
|
|
@@ -1177,13 +1177,13 @@ const {
|
|
|
1177
1177
|
return /* @__PURE__ */ n(ve, {
|
|
1178
1178
|
...e,
|
|
1179
1179
|
valuePropName: "checked",
|
|
1180
|
-
children: /* @__PURE__ */ n(
|
|
1180
|
+
children: /* @__PURE__ */ n(hs, {
|
|
1181
1181
|
id: r,
|
|
1182
1182
|
readOnly: i,
|
|
1183
1183
|
required: o
|
|
1184
1184
|
})
|
|
1185
1185
|
});
|
|
1186
|
-
},
|
|
1186
|
+
}, hs = (e) => {
|
|
1187
1187
|
const {
|
|
1188
1188
|
required: t,
|
|
1189
1189
|
readOnly: r,
|
|
@@ -1191,12 +1191,12 @@ const {
|
|
|
1191
1191
|
} = e;
|
|
1192
1192
|
return /* @__PURE__ */ n("div", {
|
|
1193
1193
|
className: "flex flex-row",
|
|
1194
|
-
children: /* @__PURE__ */ n(t && !r ?
|
|
1194
|
+
children: /* @__PURE__ */ n(t && !r ? ps : Lt, {
|
|
1195
1195
|
disabled: r,
|
|
1196
1196
|
...i
|
|
1197
1197
|
})
|
|
1198
1198
|
});
|
|
1199
|
-
},
|
|
1199
|
+
}, ps = jt(Lt)`
|
|
1200
1200
|
.ant-checkbox-inner {
|
|
1201
1201
|
background-color: ${ar.colorPrimaryBg};
|
|
1202
1202
|
}
|
|
@@ -1206,54 +1206,54 @@ const {
|
|
|
1206
1206
|
}
|
|
1207
1207
|
`;
|
|
1208
1208
|
var mt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1209
|
-
function
|
|
1209
|
+
function gs(e) {
|
|
1210
1210
|
var t = typeof e;
|
|
1211
1211
|
return e != null && (t == "object" || t == "function");
|
|
1212
1212
|
}
|
|
1213
|
-
var eo =
|
|
1214
|
-
return
|
|
1215
|
-
},
|
|
1216
|
-
function
|
|
1217
|
-
for (var t = e.length; t-- &&
|
|
1213
|
+
var eo = gs, ys = typeof mt == "object" && mt && mt.Object === Object && mt, vs = ys, ws = vs, bs = typeof self == "object" && self && self.Object === Object && self, xs = ws || bs || Function("return this")(), to = xs, Cs = to, Ss = function() {
|
|
1214
|
+
return Cs.Date.now();
|
|
1215
|
+
}, Ts = Ss, Fs = /\s/;
|
|
1216
|
+
function Os(e) {
|
|
1217
|
+
for (var t = e.length; t-- && Fs.test(e.charAt(t)); )
|
|
1218
1218
|
;
|
|
1219
1219
|
return t;
|
|
1220
1220
|
}
|
|
1221
|
-
var
|
|
1222
|
-
function
|
|
1223
|
-
return e && e.slice(0,
|
|
1221
|
+
var _s = Os, Is = _s, Ds = /^\s+/;
|
|
1222
|
+
function Vs(e) {
|
|
1223
|
+
return e && e.slice(0, Is(e) + 1).replace(Ds, "");
|
|
1224
1224
|
}
|
|
1225
|
-
var
|
|
1226
|
-
function
|
|
1227
|
-
var t =
|
|
1225
|
+
var As = Vs, ks = to, Rs = ks.Symbol, no = Rs, lr = no, ro = Object.prototype, Ms = ro.hasOwnProperty, Es = ro.toString, Mt = lr ? lr.toStringTag : void 0;
|
|
1226
|
+
function $s(e) {
|
|
1227
|
+
var t = Ms.call(e, Mt), r = e[Mt];
|
|
1228
1228
|
try {
|
|
1229
1229
|
e[Mt] = void 0;
|
|
1230
1230
|
var i = !0;
|
|
1231
1231
|
} catch {
|
|
1232
1232
|
}
|
|
1233
|
-
var o =
|
|
1233
|
+
var o = Es.call(e);
|
|
1234
1234
|
return i && (t ? e[Mt] = r : delete e[Mt]), o;
|
|
1235
1235
|
}
|
|
1236
|
-
var
|
|
1237
|
-
function
|
|
1238
|
-
return
|
|
1236
|
+
var Ls = $s, Ns = Object.prototype, Ps = Ns.toString;
|
|
1237
|
+
function Hs(e) {
|
|
1238
|
+
return Ps.call(e);
|
|
1239
1239
|
}
|
|
1240
|
-
var
|
|
1241
|
-
function
|
|
1242
|
-
return e == null ? e === void 0 ?
|
|
1240
|
+
var Bs = Hs, cr = no, js = Ls, Ks = Bs, Ys = "[object Null]", Ws = "[object Undefined]", dr = cr ? cr.toStringTag : void 0;
|
|
1241
|
+
function Us(e) {
|
|
1242
|
+
return e == null ? e === void 0 ? Ws : Ys : dr && dr in Object(e) ? js(e) : Ks(e);
|
|
1243
1243
|
}
|
|
1244
|
-
var
|
|
1245
|
-
function
|
|
1244
|
+
var Gs = Us;
|
|
1245
|
+
function qs(e) {
|
|
1246
1246
|
return e != null && typeof e == "object";
|
|
1247
1247
|
}
|
|
1248
|
-
var
|
|
1249
|
-
function
|
|
1250
|
-
return typeof e == "symbol" ||
|
|
1248
|
+
var zs = qs, Js = Gs, Zs = zs, Xs = "[object Symbol]";
|
|
1249
|
+
function Qs(e) {
|
|
1250
|
+
return typeof e == "symbol" || Zs(e) && Js(e) == Xs;
|
|
1251
1251
|
}
|
|
1252
|
-
var
|
|
1253
|
-
function
|
|
1252
|
+
var ea = Qs, ta = As, ur = eo, na = ea, fr = 0 / 0, ra = /^[-+]0x[0-9a-f]+$/i, oa = /^0b[01]+$/i, ia = /^0o[0-7]+$/i, sa = parseInt;
|
|
1253
|
+
function aa(e) {
|
|
1254
1254
|
if (typeof e == "number")
|
|
1255
1255
|
return e;
|
|
1256
|
-
if (
|
|
1256
|
+
if (na(e))
|
|
1257
1257
|
return fr;
|
|
1258
1258
|
if (ur(e)) {
|
|
1259
1259
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -1261,16 +1261,16 @@ function sa(e) {
|
|
|
1261
1261
|
}
|
|
1262
1262
|
if (typeof e != "string")
|
|
1263
1263
|
return e === 0 ? e : +e;
|
|
1264
|
-
e =
|
|
1265
|
-
var r =
|
|
1266
|
-
return r ||
|
|
1264
|
+
e = ta(e);
|
|
1265
|
+
var r = oa.test(e);
|
|
1266
|
+
return r || ia.test(e) ? sa(e.slice(2), r ? 2 : 8) : ra.test(e) ? fr : +e;
|
|
1267
1267
|
}
|
|
1268
|
-
var
|
|
1269
|
-
function
|
|
1268
|
+
var la = aa, ca = eo, xn = Ts, mr = la, da = "Expected a function", ua = Math.max, fa = Math.min;
|
|
1269
|
+
function ma(e, t, r) {
|
|
1270
1270
|
var i, o, s, a, l, u, c = 0, f = !1, d = !1, m = !0;
|
|
1271
1271
|
if (typeof e != "function")
|
|
1272
|
-
throw new TypeError(
|
|
1273
|
-
t = mr(t) || 0,
|
|
1272
|
+
throw new TypeError(da);
|
|
1273
|
+
t = mr(t) || 0, ca(r) && (f = !!r.leading, d = "maxWait" in r, s = d ? ua(mr(r.maxWait) || 0, t) : s, m = "trailing" in r ? !!r.trailing : m);
|
|
1274
1274
|
function v(I) {
|
|
1275
1275
|
var M = i, w = o;
|
|
1276
1276
|
return i = o = void 0, c = I, a = e.apply(w, M), a;
|
|
@@ -1280,7 +1280,7 @@ function fa(e, t, r) {
|
|
|
1280
1280
|
}
|
|
1281
1281
|
function h(I) {
|
|
1282
1282
|
var M = I - u, w = I - c, x = t - M;
|
|
1283
|
-
return d ?
|
|
1283
|
+
return d ? fa(x, s - w) : x;
|
|
1284
1284
|
}
|
|
1285
1285
|
function g(I) {
|
|
1286
1286
|
var M = I - u, w = I - c;
|
|
@@ -1313,13 +1313,13 @@ function fa(e, t, r) {
|
|
|
1313
1313
|
}
|
|
1314
1314
|
return A.cancel = _, A.flush = b, A;
|
|
1315
1315
|
}
|
|
1316
|
-
var
|
|
1317
|
-
function
|
|
1316
|
+
var ha = ma;
|
|
1317
|
+
function pa(e) {
|
|
1318
1318
|
const r = Buffer.from(e, "base64").length / 1e3;
|
|
1319
1319
|
return `${Math.round((r + Number.EPSILON) * 100) / 100} KB`;
|
|
1320
1320
|
}
|
|
1321
1321
|
async function It(e) {
|
|
1322
|
-
const t = await
|
|
1322
|
+
const t = await Ii(
|
|
1323
1323
|
Buffer.from(e, "base64")
|
|
1324
1324
|
);
|
|
1325
1325
|
return t || {
|
|
@@ -1337,7 +1337,7 @@ function fn(e, t) {
|
|
|
1337
1337
|
var s = new Uint8Array(i), a = new Blob([s], { type: t + ";base64" }), l = URL.createObjectURL(a);
|
|
1338
1338
|
window.open(l);
|
|
1339
1339
|
}
|
|
1340
|
-
const
|
|
1340
|
+
const ga = (e) => {
|
|
1341
1341
|
const {
|
|
1342
1342
|
ooui: t
|
|
1343
1343
|
} = e, {
|
|
@@ -1347,11 +1347,11 @@ const pa = (e) => {
|
|
|
1347
1347
|
return o ? /* @__PURE__ */ n(o, {}) : /* @__PURE__ */ n(ve, {
|
|
1348
1348
|
required: r,
|
|
1349
1349
|
...e,
|
|
1350
|
-
children: /* @__PURE__ */ n(
|
|
1350
|
+
children: /* @__PURE__ */ n(ya, {
|
|
1351
1351
|
ooui: t
|
|
1352
1352
|
})
|
|
1353
1353
|
});
|
|
1354
|
-
},
|
|
1354
|
+
}, ya = (e) => {
|
|
1355
1355
|
const {
|
|
1356
1356
|
ooui: t,
|
|
1357
1357
|
value: r,
|
|
@@ -1422,7 +1422,7 @@ const pa = (e) => {
|
|
|
1422
1422
|
})
|
|
1423
1423
|
})]
|
|
1424
1424
|
});
|
|
1425
|
-
},
|
|
1425
|
+
}, va = (e) => {
|
|
1426
1426
|
const {
|
|
1427
1427
|
ooui: t
|
|
1428
1428
|
} = e, {
|
|
@@ -1431,9 +1431,9 @@ const pa = (e) => {
|
|
|
1431
1431
|
return /* @__PURE__ */ n(ve, {
|
|
1432
1432
|
required: r,
|
|
1433
1433
|
...e,
|
|
1434
|
-
children: /* @__PURE__ */ n(
|
|
1434
|
+
children: /* @__PURE__ */ n(wa, {})
|
|
1435
1435
|
});
|
|
1436
|
-
},
|
|
1436
|
+
}, wa = (e) => {
|
|
1437
1437
|
const {
|
|
1438
1438
|
value: t,
|
|
1439
1439
|
onChange: r
|
|
@@ -1445,7 +1445,7 @@ const pa = (e) => {
|
|
|
1445
1445
|
} catch (i) {
|
|
1446
1446
|
return console.log(i), null;
|
|
1447
1447
|
}
|
|
1448
|
-
return /* @__PURE__ */ n(
|
|
1448
|
+
return /* @__PURE__ */ n(Vi, {
|
|
1449
1449
|
inputJson: t,
|
|
1450
1450
|
onChange: (i) => {
|
|
1451
1451
|
r && r(i);
|
|
@@ -1454,7 +1454,7 @@ const pa = (e) => {
|
|
|
1454
1454
|
}, Ft = (e) => {
|
|
1455
1455
|
const t = e.arch, r = e.fields, i = new Dr(r);
|
|
1456
1456
|
return i.parse(t), i;
|
|
1457
|
-
},
|
|
1457
|
+
}, ba = (e, t, r) => e.columns.map((o) => {
|
|
1458
1458
|
const s = o.type, a = o.id, l = t == null ? void 0 : t[s];
|
|
1459
1459
|
let u;
|
|
1460
1460
|
return l && (u = (c) => l(c, a, o, r)), {
|
|
@@ -1475,11 +1475,11 @@ const pa = (e) => {
|
|
|
1475
1475
|
o[s] = i[s];
|
|
1476
1476
|
else {
|
|
1477
1477
|
const a = e.findById(s);
|
|
1478
|
-
a instanceof
|
|
1478
|
+
a instanceof oi || a instanceof En ? o[s] = i[s] : a instanceof Vr ? o[s] = i[s] && Array.isArray(i[s]) && i[s].length === 2 && {
|
|
1479
1479
|
model: a.relation,
|
|
1480
1480
|
id: i[s][0],
|
|
1481
1481
|
value: i[s][1]
|
|
1482
|
-
} : a instanceof
|
|
1482
|
+
} : a instanceof ii ? o[s] = i[s] : a ? o[s] = i[s] === !1 ? "" : i[s] : o[s] = i[s];
|
|
1483
1483
|
}
|
|
1484
1484
|
}), o;
|
|
1485
1485
|
});
|
|
@@ -1557,10 +1557,10 @@ const qn = async (e) => {
|
|
|
1557
1557
|
}).concat(l),
|
|
1558
1558
|
d
|
|
1559
1559
|
];
|
|
1560
|
-
},
|
|
1560
|
+
}, xa = (e) => {
|
|
1561
1561
|
const t = e.filter((r) => r.id && r.id < 0).map((r) => r.id);
|
|
1562
1562
|
return t.length === 0 ? -1 : Math.min(...t) - 1;
|
|
1563
|
-
},
|
|
1563
|
+
}, Ca = (e, t) => {
|
|
1564
1564
|
const r = {};
|
|
1565
1565
|
return Object.keys(e).forEach((i) => {
|
|
1566
1566
|
var o;
|
|
@@ -1568,7 +1568,7 @@ const qn = async (e) => {
|
|
|
1568
1568
|
(s) => s.operation !== "pendingRemove"
|
|
1569
1569
|
) : r[i] = e[i];
|
|
1570
1570
|
}), r;
|
|
1571
|
-
},
|
|
1571
|
+
}, Sa = (e) => {
|
|
1572
1572
|
const {
|
|
1573
1573
|
ooui: t
|
|
1574
1574
|
} = e, {
|
|
@@ -1607,12 +1607,12 @@ const qn = async (e) => {
|
|
|
1607
1607
|
}) : /* @__PURE__ */ n(ve, {
|
|
1608
1608
|
type: "array",
|
|
1609
1609
|
...e,
|
|
1610
|
-
children: /* @__PURE__ */ n(
|
|
1610
|
+
children: /* @__PURE__ */ n(Ta, {
|
|
1611
1611
|
ooui: t,
|
|
1612
1612
|
views: c
|
|
1613
1613
|
})
|
|
1614
1614
|
});
|
|
1615
|
-
},
|
|
1615
|
+
}, Ta = (e) => {
|
|
1616
1616
|
const {
|
|
1617
1617
|
value: t,
|
|
1618
1618
|
views: r,
|
|
@@ -1723,21 +1723,21 @@ const qn = async (e) => {
|
|
|
1723
1723
|
})]
|
|
1724
1724
|
});
|
|
1725
1725
|
}, {
|
|
1726
|
-
useToken:
|
|
1727
|
-
} = $e,
|
|
1726
|
+
useToken: Fa
|
|
1727
|
+
} = $e, Oa = (e) => {
|
|
1728
1728
|
const {
|
|
1729
1729
|
ooui: t
|
|
1730
1730
|
} = e;
|
|
1731
1731
|
return /* @__PURE__ */ n(ve, {
|
|
1732
1732
|
ooui: t,
|
|
1733
|
-
children: /* @__PURE__ */ n(
|
|
1733
|
+
children: /* @__PURE__ */ n(_a, {
|
|
1734
1734
|
ooui: t
|
|
1735
1735
|
})
|
|
1736
1736
|
});
|
|
1737
|
-
},
|
|
1737
|
+
}, _a = (e) => {
|
|
1738
1738
|
const {
|
|
1739
1739
|
token: t
|
|
1740
|
-
} =
|
|
1740
|
+
} = Fa(), {
|
|
1741
1741
|
ooui: r,
|
|
1742
1742
|
value: i
|
|
1743
1743
|
} = e, o = /* @__PURE__ */ H(X, {
|
|
@@ -1755,16 +1755,16 @@ const qn = async (e) => {
|
|
|
1755
1755
|
}), s = st(r.icon);
|
|
1756
1756
|
let a = i;
|
|
1757
1757
|
r.selectionValues.size ? a = r.selectionValues.get(i) : Array.isArray(i) && (a = i[1]);
|
|
1758
|
-
const l = /* @__PURE__ */ n(
|
|
1758
|
+
const l = /* @__PURE__ */ n(Jo, {
|
|
1759
1759
|
title: o,
|
|
1760
1760
|
prefix: s && /* @__PURE__ */ n(s, {}),
|
|
1761
1761
|
suffix: r.suffix,
|
|
1762
1762
|
value: a
|
|
1763
1763
|
});
|
|
1764
|
-
return r.card ? /* @__PURE__ */ n(
|
|
1764
|
+
return r.card ? /* @__PURE__ */ n(Zo, {
|
|
1765
1765
|
children: l
|
|
1766
1766
|
}) : l;
|
|
1767
|
-
},
|
|
1767
|
+
}, Ia = (e, t) => {
|
|
1768
1768
|
if (!t)
|
|
1769
1769
|
return e;
|
|
1770
1770
|
const r = {};
|
|
@@ -1778,7 +1778,7 @@ const qn = async (e) => {
|
|
|
1778
1778
|
} else
|
|
1779
1779
|
r[i] = e[i];
|
|
1780
1780
|
}), r;
|
|
1781
|
-
}, Tt = (e, t) =>
|
|
1781
|
+
}, Tt = (e, t) => Ia(e, t), Cn = ({
|
|
1782
1782
|
source: e,
|
|
1783
1783
|
target: t,
|
|
1784
1784
|
fields: r
|
|
@@ -1811,7 +1811,7 @@ const qn = async (e) => {
|
|
|
1811
1811
|
else
|
|
1812
1812
|
e[o] !== t[o] && (t[o] === void 0 ? i[o] = null : i[o] = t[o]);
|
|
1813
1813
|
}), i;
|
|
1814
|
-
},
|
|
1814
|
+
}, Da = ({
|
|
1815
1815
|
changedFields: e,
|
|
1816
1816
|
formOoui: t,
|
|
1817
1817
|
types: r
|
|
@@ -1819,7 +1819,7 @@ const qn = async (e) => {
|
|
|
1819
1819
|
var a;
|
|
1820
1820
|
const s = (a = t == null ? void 0 : t.findById(o)) == null ? void 0 : a.type;
|
|
1821
1821
|
return r.includes(s);
|
|
1822
|
-
}).some((o) => o === !0),
|
|
1822
|
+
}).some((o) => o === !0), Va = ({
|
|
1823
1823
|
fieldsDomain: e,
|
|
1824
1824
|
fields: t
|
|
1825
1825
|
}) => {
|
|
@@ -1827,12 +1827,12 @@ const qn = async (e) => {
|
|
|
1827
1827
|
return Object.keys(t).forEach((i) => {
|
|
1828
1828
|
r[i] = t[i], e[i] && (r[i].domain = e[i]);
|
|
1829
1829
|
}), r;
|
|
1830
|
-
},
|
|
1830
|
+
}, Aa = (e) => {
|
|
1831
1831
|
const t = {};
|
|
1832
1832
|
return !e || !Array.isArray(e) || (e == null ? void 0 : e.length) === 0 ? {} : (e.forEach((r) => {
|
|
1833
1833
|
(r == null ? void 0 : r[1]) === "=" && (t[r[0]] = r[2]);
|
|
1834
1834
|
}), t);
|
|
1835
|
-
},
|
|
1835
|
+
}, ka = ({
|
|
1836
1836
|
onChangeFieldActionArgs: e,
|
|
1837
1837
|
values: t,
|
|
1838
1838
|
parentValues: r = {}
|
|
@@ -1893,7 +1893,7 @@ const kt = ({
|
|
|
1893
1893
|
r += ("00" + i.toString(16)).slice(-2);
|
|
1894
1894
|
}
|
|
1895
1895
|
return r;
|
|
1896
|
-
},
|
|
1896
|
+
}, ao = (e) => {
|
|
1897
1897
|
function t(a) {
|
|
1898
1898
|
return parseInt(a, 16) || parseInt(a);
|
|
1899
1899
|
}
|
|
@@ -1913,17 +1913,23 @@ const kt = ({
|
|
|
1913
1913
|
}
|
|
1914
1914
|
return s(e);
|
|
1915
1915
|
}, Ra = (e) => {
|
|
1916
|
+
const t = Qt(e);
|
|
1917
|
+
return {
|
|
1918
|
+
backgroundColor: t,
|
|
1919
|
+
textColor: ao(t)
|
|
1920
|
+
};
|
|
1921
|
+
}, Ma = (e) => {
|
|
1916
1922
|
const {
|
|
1917
1923
|
ooui: t
|
|
1918
1924
|
} = e;
|
|
1919
1925
|
return /* @__PURE__ */ n(ve, {
|
|
1920
1926
|
type: "array",
|
|
1921
1927
|
...e,
|
|
1922
|
-
children: /* @__PURE__ */ n(
|
|
1928
|
+
children: /* @__PURE__ */ n(Ea, {
|
|
1923
1929
|
ooui: t
|
|
1924
1930
|
})
|
|
1925
1931
|
});
|
|
1926
|
-
},
|
|
1932
|
+
}, Ea = (e) => {
|
|
1927
1933
|
const {
|
|
1928
1934
|
value: t,
|
|
1929
1935
|
ooui: r,
|
|
@@ -2004,14 +2010,15 @@ const kt = ({
|
|
|
2004
2010
|
label: M,
|
|
2005
2011
|
closable: w,
|
|
2006
2012
|
onClose: x
|
|
2007
|
-
} = I, F = (
|
|
2008
|
-
|
|
2009
|
-
};
|
|
2013
|
+
} = I, F = (L) => {
|
|
2014
|
+
L.preventDefault(), L.stopPropagation();
|
|
2015
|
+
}, C = Ra(M);
|
|
2010
2016
|
return /* @__PURE__ */ n(Or, {
|
|
2011
|
-
color:
|
|
2017
|
+
color: C.backgroundColor,
|
|
2012
2018
|
onMouseDown: F,
|
|
2013
2019
|
style: {
|
|
2014
|
-
margin: "5px"
|
|
2020
|
+
margin: "5px",
|
|
2021
|
+
color: C.textColor
|
|
2015
2022
|
},
|
|
2016
2023
|
closable: w,
|
|
2017
2024
|
onClose: x,
|
|
@@ -2038,100 +2045,100 @@ const kt = ({
|
|
|
2038
2045
|
})
|
|
2039
2046
|
})
|
|
2040
2047
|
});
|
|
2041
|
-
},
|
|
2048
|
+
}, $a = (e) => {
|
|
2042
2049
|
switch (e) {
|
|
2043
2050
|
case "form":
|
|
2044
2051
|
return Wt;
|
|
2045
2052
|
case "tree":
|
|
2046
2053
|
return hn;
|
|
2047
2054
|
case "notebook":
|
|
2048
|
-
return
|
|
2055
|
+
return Mc;
|
|
2049
2056
|
case "group":
|
|
2050
|
-
return
|
|
2057
|
+
return Oo;
|
|
2051
2058
|
case "label":
|
|
2052
2059
|
return dn;
|
|
2053
2060
|
case "char":
|
|
2054
2061
|
return Zr;
|
|
2055
2062
|
case "text":
|
|
2056
|
-
return
|
|
2063
|
+
return $c;
|
|
2057
2064
|
case "button":
|
|
2058
2065
|
return qr;
|
|
2059
2066
|
case "buttonGroup":
|
|
2060
|
-
return
|
|
2067
|
+
return Xi;
|
|
2061
2068
|
case "selection":
|
|
2062
2069
|
return Xr;
|
|
2063
2070
|
case "many2one":
|
|
2064
|
-
return
|
|
2071
|
+
return tc;
|
|
2065
2072
|
case "boolean":
|
|
2066
|
-
return
|
|
2073
|
+
return ms;
|
|
2067
2074
|
case "integer":
|
|
2068
2075
|
return en;
|
|
2069
2076
|
case "float":
|
|
2070
|
-
return
|
|
2077
|
+
return uo;
|
|
2071
2078
|
case "progressbar":
|
|
2072
|
-
return
|
|
2079
|
+
return Dl;
|
|
2073
2080
|
case "date":
|
|
2074
|
-
return Gc;
|
|
2075
|
-
case "datetime":
|
|
2076
2081
|
return qc;
|
|
2082
|
+
case "datetime":
|
|
2083
|
+
return zc;
|
|
2077
2084
|
case "time":
|
|
2078
|
-
return
|
|
2085
|
+
return Zc;
|
|
2079
2086
|
case "one2many":
|
|
2080
2087
|
case "one2many_list":
|
|
2081
2088
|
case "many2many":
|
|
2082
|
-
return
|
|
2089
|
+
return Dc;
|
|
2083
2090
|
case "separator":
|
|
2084
|
-
return
|
|
2091
|
+
return Nc;
|
|
2085
2092
|
case "reference":
|
|
2086
|
-
return
|
|
2093
|
+
return Qc;
|
|
2087
2094
|
case "binary":
|
|
2088
|
-
return
|
|
2095
|
+
return nd;
|
|
2089
2096
|
case "image":
|
|
2090
|
-
return
|
|
2097
|
+
return ga;
|
|
2091
2098
|
case "url":
|
|
2092
|
-
return dd;
|
|
2093
|
-
case "email":
|
|
2094
2099
|
return ud;
|
|
2100
|
+
case "email":
|
|
2101
|
+
return fd;
|
|
2095
2102
|
case "float_time":
|
|
2096
|
-
return
|
|
2103
|
+
return Ac;
|
|
2097
2104
|
case "fiber_grid":
|
|
2098
|
-
return
|
|
2105
|
+
return va;
|
|
2099
2106
|
case "timeline":
|
|
2100
|
-
return
|
|
2107
|
+
return Sa;
|
|
2101
2108
|
case "indicator":
|
|
2102
|
-
return
|
|
2109
|
+
return Oa;
|
|
2103
2110
|
case "tags":
|
|
2104
|
-
return
|
|
2111
|
+
return Ma;
|
|
2105
2112
|
case "tag":
|
|
2106
|
-
return
|
|
2113
|
+
return Ml;
|
|
2107
2114
|
case "multicheckbox":
|
|
2108
|
-
return
|
|
2115
|
+
return Bd;
|
|
2109
2116
|
case "markdown":
|
|
2110
|
-
return
|
|
2117
|
+
return Kd;
|
|
2111
2118
|
case "radio":
|
|
2112
|
-
return
|
|
2119
|
+
return Wd;
|
|
2113
2120
|
case "switch":
|
|
2114
|
-
return
|
|
2121
|
+
return Gd;
|
|
2115
2122
|
case "steps":
|
|
2116
|
-
return
|
|
2123
|
+
return zd;
|
|
2117
2124
|
case "codeeditor":
|
|
2118
|
-
return
|
|
2125
|
+
return Zd;
|
|
2119
2126
|
default:
|
|
2120
2127
|
return;
|
|
2121
2128
|
}
|
|
2122
|
-
},
|
|
2129
|
+
}, La = (e) => {
|
|
2123
2130
|
const {
|
|
2124
2131
|
ooui: t
|
|
2125
2132
|
} = e, {
|
|
2126
2133
|
type: r
|
|
2127
|
-
} = t, i =
|
|
2134
|
+
} = t, i = $a(r);
|
|
2128
2135
|
return i ? qe.createElement(i, e) : null;
|
|
2129
|
-
},
|
|
2136
|
+
}, Na = ({
|
|
2130
2137
|
item: e,
|
|
2131
2138
|
responsiveBehaviour: t
|
|
2132
2139
|
}) => ({
|
|
2133
2140
|
gridColumnStart: "span " + (t ? 1 : e.colspan)
|
|
2134
|
-
}),
|
|
2141
|
+
}), Pa = ({
|
|
2135
2142
|
row: e,
|
|
2136
2143
|
mustFillWithEmpties: t,
|
|
2137
2144
|
numberOfColumns: r
|
|
@@ -2150,24 +2157,24 @@ const kt = ({
|
|
|
2150
2157
|
i.push(new Dt({ string: "" }));
|
|
2151
2158
|
}
|
|
2152
2159
|
}), i;
|
|
2153
|
-
},
|
|
2160
|
+
}, Ha = ({
|
|
2154
2161
|
row: e,
|
|
2155
2162
|
numberOfColumns: t
|
|
2156
|
-
}) => e.map((r) => (r._mustExpand && (r.colspan = t), r)),
|
|
2157
|
-
const r = e.map((i) => i instanceof Dt && i.fieldForLabel || i instanceof
|
|
2163
|
+
}) => e.map((r) => (r._mustExpand && (r.colspan = t), r)), Ba = (e, t) => {
|
|
2164
|
+
const r = e.map((i) => i instanceof Dt && i.fieldForLabel || i instanceof si ? "auto" : "1fr");
|
|
2158
2165
|
if (r.length < t) {
|
|
2159
2166
|
const i = t - r.length;
|
|
2160
2167
|
for (let o = 0; o < i; o++)
|
|
2161
2168
|
r.push("1fr");
|
|
2162
2169
|
}
|
|
2163
2170
|
return r.join(" ");
|
|
2164
|
-
},
|
|
2171
|
+
}, ja = (e, t) => {
|
|
2165
2172
|
const r = t ? "1fr" : "auto", i = "auto";
|
|
2166
2173
|
let o = "";
|
|
2167
2174
|
for (let s = 0; s < e; s++)
|
|
2168
2175
|
o += s % 2 ? r : i, s + 1 < e && (o += " ");
|
|
2169
2176
|
return o;
|
|
2170
|
-
},
|
|
2177
|
+
}, Ka = (e) => e.map((r) => r.reduce((i, o) => i + o.colspan, 0)).reduce((r, i) => Math.max(r, i)), Dn = (e) => {
|
|
2171
2178
|
const {
|
|
2172
2179
|
container: t,
|
|
2173
2180
|
responsiveBehaviour: r
|
|
@@ -2177,33 +2184,33 @@ const kt = ({
|
|
|
2177
2184
|
let {
|
|
2178
2185
|
columns: o
|
|
2179
2186
|
} = t;
|
|
2180
|
-
const s =
|
|
2187
|
+
const s = Ka(i);
|
|
2181
2188
|
s < o && (o = s);
|
|
2182
2189
|
let a = !1, l = [];
|
|
2183
2190
|
const u = i.map((d, m) => {
|
|
2184
|
-
const v = d.filter((g) => !g.invisible), p =
|
|
2191
|
+
const v = d.filter((g) => !g.invisible), p = Ha({
|
|
2185
2192
|
row: v,
|
|
2186
2193
|
numberOfColumns: o
|
|
2187
2194
|
});
|
|
2188
2195
|
let h = p;
|
|
2189
|
-
return (m === 0 || !(d.length === 1 && d.some((g) => g.type === "group"))) && (h =
|
|
2196
|
+
return (m === 0 || !(d.length === 1 && d.some((g) => g.type === "group"))) && (h = Pa({
|
|
2190
2197
|
row: p,
|
|
2191
2198
|
numberOfColumns: o,
|
|
2192
2199
|
mustFillWithEmpties: r
|
|
2193
2200
|
}), l = l.concat(h)), h.map((g) => (g instanceof Dt && g.fieldForLabel && (a = !0), /* @__PURE__ */ n("div", {
|
|
2194
2201
|
style: {
|
|
2195
|
-
...
|
|
2202
|
+
...Na({
|
|
2196
2203
|
item: g,
|
|
2197
2204
|
responsiveBehaviour: r
|
|
2198
2205
|
}),
|
|
2199
2206
|
minWidth: 0
|
|
2200
2207
|
},
|
|
2201
|
-
children:
|
|
2208
|
+
children: La({
|
|
2202
2209
|
ooui: g,
|
|
2203
2210
|
responsiveBehaviour: r
|
|
2204
2211
|
})
|
|
2205
2212
|
}, g.key)));
|
|
2206
|
-
}), c = i.length === 1 ?
|
|
2213
|
+
}), c = i.length === 1 ? Ba(l, o) : ja(o, a);
|
|
2207
2214
|
return /* @__PURE__ */ n("div", {
|
|
2208
2215
|
style: {
|
|
2209
2216
|
display: "grid",
|
|
@@ -2215,13 +2222,13 @@ const kt = ({
|
|
|
2215
2222
|
children: u
|
|
2216
2223
|
});
|
|
2217
2224
|
}, {
|
|
2218
|
-
confirm:
|
|
2225
|
+
confirm: Ya
|
|
2219
2226
|
} = We, Yt = ({
|
|
2220
2227
|
onOk: e,
|
|
2221
2228
|
onCancel: t,
|
|
2222
2229
|
lang: r
|
|
2223
2230
|
}) => {
|
|
2224
|
-
|
|
2231
|
+
Ya({
|
|
2225
2232
|
title: _e("unsavedChanges", r),
|
|
2226
2233
|
icon: /* @__PURE__ */ n(pt, {}),
|
|
2227
2234
|
centered: !0,
|
|
@@ -2232,41 +2239,41 @@ const kt = ({
|
|
|
2232
2239
|
cancelText: _e("cancel", r)
|
|
2233
2240
|
});
|
|
2234
2241
|
}, {
|
|
2235
|
-
error:
|
|
2242
|
+
error: Wa
|
|
2236
2243
|
} = We, pr = (e) => {
|
|
2237
|
-
|
|
2244
|
+
Wa({
|
|
2238
2245
|
title: _e("formHasErrors", e),
|
|
2239
2246
|
icon: /* @__PURE__ */ n(pt, {}),
|
|
2240
2247
|
centered: !0,
|
|
2241
2248
|
content: _e("fillRequiredFields", e)
|
|
2242
2249
|
});
|
|
2243
2250
|
}, {
|
|
2244
|
-
warning:
|
|
2245
|
-
} = We,
|
|
2246
|
-
|
|
2251
|
+
warning: Ua
|
|
2252
|
+
} = We, Ga = (e, t, r) => {
|
|
2253
|
+
Ua({
|
|
2247
2254
|
title: e,
|
|
2248
2255
|
icon: /* @__PURE__ */ n($r, {}),
|
|
2249
2256
|
centered: !0,
|
|
2250
2257
|
content: t,
|
|
2251
2258
|
onOk: r
|
|
2252
2259
|
});
|
|
2253
|
-
},
|
|
2260
|
+
}, lo = qe.createContext(null), qa = (e) => {
|
|
2254
2261
|
const {
|
|
2255
2262
|
children: t,
|
|
2256
2263
|
setTitle: r
|
|
2257
2264
|
} = e;
|
|
2258
|
-
return /* @__PURE__ */ n(
|
|
2265
|
+
return /* @__PURE__ */ n(lo.Provider, {
|
|
2259
2266
|
value: {
|
|
2260
2267
|
setTitle: r
|
|
2261
2268
|
},
|
|
2262
2269
|
children: t
|
|
2263
2270
|
});
|
|
2264
|
-
}, gr = (e) => typeof e == "string" && e === "true" || e === "false" ? e === "true" : e,
|
|
2265
|
-
const r =
|
|
2271
|
+
}, gr = (e) => typeof e == "string" && e === "true" || e === "false" ? e === "true" : e, za = (e, t) => {
|
|
2272
|
+
const r = tl(e), i = Qa(r), o = el(i, t);
|
|
2266
2273
|
return [
|
|
2267
|
-
...Object.keys(o).map((l) =>
|
|
2274
|
+
...Object.keys(o).map((l) => Ja(l, o[l], t))
|
|
2268
2275
|
].reduce((l, u) => Array.isArray(u[0]) ? l.concat(u) : [...l, u], []);
|
|
2269
|
-
},
|
|
2276
|
+
}, Ja = (e, t, r) => {
|
|
2270
2277
|
var s;
|
|
2271
2278
|
const i = e.split("#")[0], o = (s = r.findById(i)) == null ? void 0 : s.type;
|
|
2272
2279
|
if (o === "char" || o === "text" || o === "many2one" || o === "many2many" || o === "one2many")
|
|
@@ -2288,14 +2295,14 @@ const kt = ({
|
|
|
2288
2295
|
(a) => gr(a)
|
|
2289
2296
|
)
|
|
2290
2297
|
] : [e, "=", gr(t)];
|
|
2291
|
-
},
|
|
2298
|
+
}, Za = (e) => Object.keys(e).filter((t) => t.indexOf("#date") !== -1), Xa = (e) => {
|
|
2292
2299
|
const t = { ...e };
|
|
2293
2300
|
return Object.keys(t).forEach(
|
|
2294
2301
|
(r) => (r.indexOf("#time") !== -1 || r.indexOf("#date") !== -1) && delete t[r]
|
|
2295
2302
|
), t;
|
|
2296
|
-
},
|
|
2297
|
-
const t = { ...
|
|
2298
|
-
return
|
|
2303
|
+
}, Qa = (e) => {
|
|
2304
|
+
const t = { ...Xa(e) };
|
|
2305
|
+
return Za(e).forEach((i) => {
|
|
2299
2306
|
const o = e[i], s = i.split("#")[0], a = s + "#time", l = e[a];
|
|
2300
2307
|
let u, c;
|
|
2301
2308
|
if (o[0] !== null && (u = o[0].format("YYYY-MM-DD"), l && l[0] !== null)) {
|
|
@@ -2308,7 +2315,7 @@ const kt = ({
|
|
|
2308
2315
|
}
|
|
2309
2316
|
t[s + "#datetime"] = [u, c];
|
|
2310
2317
|
}), t;
|
|
2311
|
-
},
|
|
2318
|
+
}, el = (e, t) => {
|
|
2312
2319
|
const r = Object.keys(e).filter((o) => {
|
|
2313
2320
|
const s = t.findById(o);
|
|
2314
2321
|
return s && s.type === "date";
|
|
@@ -2317,22 +2324,22 @@ const kt = ({
|
|
|
2317
2324
|
return r.forEach((o) => {
|
|
2318
2325
|
delete i[o], e[o][0] !== null && (i[o + "#from"] = e[o][0]), e[o][1] !== null && (i[o + "#to"] = e[o][1]);
|
|
2319
2326
|
}), i;
|
|
2320
|
-
},
|
|
2327
|
+
}, tl = (e) => {
|
|
2321
2328
|
const t = { ...e };
|
|
2322
2329
|
return Object.keys(t).forEach(
|
|
2323
2330
|
(r) => (t[r] === void 0 || t[r] === null || t[r] === "") && delete t[r]
|
|
2324
2331
|
), t;
|
|
2325
|
-
},
|
|
2332
|
+
}, nl = (e) => {
|
|
2326
2333
|
const t = {};
|
|
2327
2334
|
return e.forEach((r) => {
|
|
2328
2335
|
Array.isArray(r) && r[0] ? t[r[0]] = !0 : t[r] = !0;
|
|
2329
2336
|
}), Object.keys(t);
|
|
2330
2337
|
}, mn = (e, t) => {
|
|
2331
|
-
const r = [...e], i =
|
|
2338
|
+
const r = [...e], i = nl(e);
|
|
2332
2339
|
return t.forEach((o) => {
|
|
2333
2340
|
Array.isArray(o) && o[0] ? i.includes(o[0]) || r.push(o) : i.includes(o) || r.push(o);
|
|
2334
2341
|
}), r;
|
|
2335
|
-
}, Pt = 80,
|
|
2342
|
+
}, Pt = 80, co = (e) => {
|
|
2336
2343
|
const {
|
|
2337
2344
|
model: t,
|
|
2338
2345
|
setSearchTreeNameSearch: r,
|
|
@@ -2552,7 +2559,7 @@ const kt = ({
|
|
|
2552
2559
|
colorsForResults: K,
|
|
2553
2560
|
totalItems: k
|
|
2554
2561
|
};
|
|
2555
|
-
}, Xe = qe.createContext(null),
|
|
2562
|
+
}, Xe = qe.createContext(null), rl = (e) => {
|
|
2556
2563
|
const {
|
|
2557
2564
|
children: t,
|
|
2558
2565
|
currentView: r,
|
|
@@ -2649,7 +2656,7 @@ const kt = ({
|
|
|
2649
2656
|
},
|
|
2650
2657
|
children: t
|
|
2651
2658
|
});
|
|
2652
|
-
}, at = qe.createContext(null),
|
|
2659
|
+
}, at = qe.createContext(null), ol = (e) => {
|
|
2653
2660
|
const {
|
|
2654
2661
|
children: t,
|
|
2655
2662
|
openAction: r,
|
|
@@ -2682,7 +2689,7 @@ const kt = ({
|
|
|
2682
2689
|
var t;
|
|
2683
2690
|
for (let r = 0; r < e.length; r++)
|
|
2684
2691
|
await ((t = e == null ? void 0 : e[r]) == null ? void 0 : t.call(e));
|
|
2685
|
-
},
|
|
2692
|
+
}, il = (e, t) => {
|
|
2686
2693
|
const {
|
|
2687
2694
|
children: r,
|
|
2688
2695
|
globalValues: i = {}
|
|
@@ -2830,7 +2837,7 @@ const kt = ({
|
|
|
2830
2837
|
const {
|
|
2831
2838
|
initialView: E,
|
|
2832
2839
|
views: D
|
|
2833
|
-
} = await
|
|
2840
|
+
} = await sl({
|
|
2834
2841
|
model: C.res_model,
|
|
2835
2842
|
context: S,
|
|
2836
2843
|
view_mode: C.view_mode,
|
|
@@ -2942,7 +2949,7 @@ const kt = ({
|
|
|
2942
2949
|
})
|
|
2943
2950
|
});
|
|
2944
2951
|
};
|
|
2945
|
-
async function
|
|
2952
|
+
async function sl({
|
|
2946
2953
|
views: e,
|
|
2947
2954
|
view_mode: t,
|
|
2948
2955
|
model: r,
|
|
@@ -2995,7 +3002,7 @@ async function il({
|
|
|
2995
3002
|
initialView: a
|
|
2996
3003
|
};
|
|
2997
3004
|
}
|
|
2998
|
-
const
|
|
3005
|
+
const al = vt(il), ll = ({
|
|
2999
3006
|
error: e,
|
|
3000
3007
|
className: t
|
|
3001
3008
|
}) => {
|
|
@@ -3019,8 +3026,8 @@ const sl = vt(ol), al = ({
|
|
|
3019
3026
|
type: i,
|
|
3020
3027
|
banner: !0
|
|
3021
3028
|
});
|
|
3022
|
-
},
|
|
3023
|
-
function
|
|
3029
|
+
}, cl = 800;
|
|
3030
|
+
function dl(e, t) {
|
|
3024
3031
|
const {
|
|
3025
3032
|
model: r,
|
|
3026
3033
|
id: i,
|
|
@@ -3046,7 +3053,7 @@ function cl(e, t) {
|
|
|
3046
3053
|
} = e, {
|
|
3047
3054
|
t: M,
|
|
3048
3055
|
lang: w
|
|
3049
|
-
} = Y(we), [x, F] = T(!1), [C, L] = T(), [S, R] = T(), [V] = it.useForm(), [E, D] = T(), [k, N] = T(), j = Y(
|
|
3056
|
+
} = Y(we), [x, F] = T(!1), [C, L] = T(), [S, R] = T(), [V] = it.useForm(), [E, D] = T(), [k, N] = T(), j = Y(lo), [W, K] = T(), [z, q] = T(!1), $ = me(), P = me({}), Q = me({}), ie = me(!1), se = me(!1), ee = W < cl, J = Y(Ee), {
|
|
3050
3057
|
activeId: pe,
|
|
3051
3058
|
getPlainValues: ye
|
|
3052
3059
|
} = J || {}, Ae = Y(Xe), {
|
|
@@ -3180,7 +3187,7 @@ function cl(e, t) {
|
|
|
3180
3187
|
p ? G = {
|
|
3181
3188
|
arch: p.arch,
|
|
3182
3189
|
fields: p.fields
|
|
3183
|
-
} : G = await
|
|
3190
|
+
} : G = await Mo();
|
|
3184
3191
|
const {
|
|
3185
3192
|
fields: U,
|
|
3186
3193
|
arch: ne
|
|
@@ -3197,11 +3204,11 @@ function cl(e, t) {
|
|
|
3197
3204
|
be == null || be(!0), L(void 0), G ? (ne = G.fields, re = G.arch) : (ne = k, re = E), v ? U = v : {
|
|
3198
3205
|
values: U,
|
|
3199
3206
|
defaultGetCalled: Ve
|
|
3200
|
-
} = await
|
|
3207
|
+
} = await Eo({
|
|
3201
3208
|
fields: ne,
|
|
3202
3209
|
arch: re
|
|
3203
3210
|
}), O && (U = {
|
|
3204
|
-
...
|
|
3211
|
+
...Aa(O),
|
|
3205
3212
|
...U
|
|
3206
3213
|
}), P.current = Tt(U, ne), Gt({
|
|
3207
3214
|
values: U,
|
|
@@ -3223,7 +3230,7 @@ function cl(e, t) {
|
|
|
3223
3230
|
G(!1);
|
|
3224
3231
|
}
|
|
3225
3232
|
}) : (xe == null || xe(), G(!0));
|
|
3226
|
-
}),
|
|
3233
|
+
}), Mo = async () => {
|
|
3227
3234
|
if (l) {
|
|
3228
3235
|
const G = await B.getHandler().getActionStringForModel(r);
|
|
3229
3236
|
return (await B.getHandler().getViewsForAction({
|
|
@@ -3245,16 +3252,16 @@ function cl(e, t) {
|
|
|
3245
3252
|
const gt = {
|
|
3246
3253
|
...ne ? {} : V.getFieldsValue(!0),
|
|
3247
3254
|
...G
|
|
3248
|
-
}, vn = Tt(gt, U),
|
|
3249
|
-
const
|
|
3255
|
+
}, vn = Tt(gt, U), qo = Object.keys(U).map((wn) => {
|
|
3256
|
+
const zo = vn[wn] !== void 0 ? vn[wn] : void 0;
|
|
3250
3257
|
return {
|
|
3251
3258
|
name: wn,
|
|
3252
3259
|
touched: !1,
|
|
3253
|
-
value:
|
|
3260
|
+
value: zo
|
|
3254
3261
|
};
|
|
3255
3262
|
});
|
|
3256
|
-
re || (Q.current = vn), V.setFields(
|
|
3257
|
-
},
|
|
3263
|
+
re || (Q.current = vn), V.setFields(qo);
|
|
3264
|
+
}, Eo = async ({
|
|
3258
3265
|
fields: G,
|
|
3259
3266
|
arch: U
|
|
3260
3267
|
}) => {
|
|
@@ -3279,7 +3286,7 @@ function cl(e, t) {
|
|
|
3279
3286
|
values: ne,
|
|
3280
3287
|
defaultGetCalled: re
|
|
3281
3288
|
};
|
|
3282
|
-
},
|
|
3289
|
+
}, $o = async (G) => {
|
|
3283
3290
|
const {
|
|
3284
3291
|
callOnSubmitSucceed: U = !0
|
|
3285
3292
|
} = G || {};
|
|
@@ -3318,7 +3325,7 @@ function cl(e, t) {
|
|
|
3318
3325
|
$.current = re, P.current = ne;
|
|
3319
3326
|
}
|
|
3320
3327
|
h && await h([le()]), !g && U && (ue == null || ue(le(), ke(), Ze()));
|
|
3321
|
-
},
|
|
3328
|
+
}, Lo = async (G) => {
|
|
3322
3329
|
const {
|
|
3323
3330
|
callOnSubmitSucceed: U = !0
|
|
3324
3331
|
} = G || {};
|
|
@@ -3340,7 +3347,7 @@ function cl(e, t) {
|
|
|
3340
3347
|
};
|
|
3341
3348
|
F(!0), de == null || de(!0);
|
|
3342
3349
|
try {
|
|
3343
|
-
m === "api" ? await
|
|
3350
|
+
m === "api" ? await $o(G) : await Lo(G), d && ($.current = void 0, Gt({
|
|
3344
3351
|
values: {},
|
|
3345
3352
|
fields: k,
|
|
3346
3353
|
reset: !0
|
|
@@ -3363,7 +3370,7 @@ function cl(e, t) {
|
|
|
3363
3370
|
const re = new Ar(G);
|
|
3364
3371
|
re.parse(U, {
|
|
3365
3372
|
readOnly: f,
|
|
3366
|
-
values:
|
|
3373
|
+
values: Ca({
|
|
3367
3374
|
...ne,
|
|
3368
3375
|
...Z()
|
|
3369
3376
|
}, G)
|
|
@@ -3379,7 +3386,7 @@ function cl(e, t) {
|
|
|
3379
3386
|
fields: k
|
|
3380
3387
|
}), ne = Object.keys(U);
|
|
3381
3388
|
if (ne.length !== 0) {
|
|
3382
|
-
if (
|
|
3389
|
+
if (Da({
|
|
3383
3390
|
changedFields: ne,
|
|
3384
3391
|
formOoui: S,
|
|
3385
3392
|
types: ["text", "codeeditor", "email", "url", "char", "float", "float_time", "integer", "many2one"]
|
|
@@ -3387,19 +3394,19 @@ function cl(e, t) {
|
|
|
3387
3394
|
return;
|
|
3388
3395
|
{
|
|
3389
3396
|
const re = Tt(V.getFieldsValue(!0), k);
|
|
3390
|
-
Q.current = re, u == null || u(re), oe == null || oe(!0),
|
|
3397
|
+
Q.current = re, u == null || u(re), oe == null || oe(!0), Po(ne);
|
|
3391
3398
|
}
|
|
3392
3399
|
}
|
|
3393
|
-
},
|
|
3400
|
+
}, No = ha(yn, 100), Po = async (G) => {
|
|
3394
3401
|
try {
|
|
3395
3402
|
for (let U = 0; U < G.length; U += 1) {
|
|
3396
3403
|
const ne = G[U];
|
|
3397
|
-
await
|
|
3404
|
+
await Ho(ne);
|
|
3398
3405
|
}
|
|
3399
3406
|
} catch (U) {
|
|
3400
3407
|
Ye(U);
|
|
3401
3408
|
}
|
|
3402
|
-
},
|
|
3409
|
+
}, Ho = async (G) => {
|
|
3403
3410
|
const U = S == null ? void 0 : S.onChangeFields[G];
|
|
3404
3411
|
if (!U) {
|
|
3405
3412
|
zt({
|
|
@@ -3409,7 +3416,7 @@ function cl(e, t) {
|
|
|
3409
3416
|
});
|
|
3410
3417
|
return;
|
|
3411
3418
|
}
|
|
3412
|
-
const ne =
|
|
3419
|
+
const ne = ka({
|
|
3413
3420
|
values: {
|
|
3414
3421
|
...ae(k),
|
|
3415
3422
|
context: {
|
|
@@ -3446,12 +3453,12 @@ function cl(e, t) {
|
|
|
3446
3453
|
title: Ve,
|
|
3447
3454
|
message: gt
|
|
3448
3455
|
} = re.warning;
|
|
3449
|
-
ie.current = !0,
|
|
3456
|
+
ie.current = !0, Ga(Ve, gt, () => {
|
|
3450
3457
|
ie.current = !1;
|
|
3451
3458
|
});
|
|
3452
3459
|
}
|
|
3453
3460
|
if (re.domain && Object.keys(re.domain).length > 0) {
|
|
3454
|
-
const Ve =
|
|
3461
|
+
const Ve = Va({
|
|
3455
3462
|
fieldsDomain: re.domain,
|
|
3456
3463
|
fields: k
|
|
3457
3464
|
});
|
|
@@ -3462,7 +3469,7 @@ function cl(e, t) {
|
|
|
3462
3469
|
}), N(Ve);
|
|
3463
3470
|
}
|
|
3464
3471
|
};
|
|
3465
|
-
async function
|
|
3472
|
+
async function Bo({
|
|
3466
3473
|
action: G,
|
|
3467
3474
|
context: U
|
|
3468
3475
|
}) {
|
|
@@ -3496,7 +3503,7 @@ function cl(e, t) {
|
|
|
3496
3503
|
} else
|
|
3497
3504
|
await ot();
|
|
3498
3505
|
}
|
|
3499
|
-
async function
|
|
3506
|
+
async function jo({
|
|
3500
3507
|
action: G
|
|
3501
3508
|
}) {
|
|
3502
3509
|
const U = await B.getHandler().executeWorkflow({
|
|
@@ -3506,7 +3513,7 @@ function cl(e, t) {
|
|
|
3506
3513
|
});
|
|
3507
3514
|
U.type && U.type === "ir.actions.act_window_close" ? ue == null || ue(le(), ke(), Ze()) : await ot();
|
|
3508
3515
|
}
|
|
3509
|
-
async function
|
|
3516
|
+
async function Ko({
|
|
3510
3517
|
action: G,
|
|
3511
3518
|
context: U
|
|
3512
3519
|
}) {
|
|
@@ -3541,12 +3548,12 @@ function cl(e, t) {
|
|
|
3541
3548
|
})) || {};
|
|
3542
3549
|
!b && ne && (ue == null || ue(le(), ke(), Ze()));
|
|
3543
3550
|
}
|
|
3544
|
-
function
|
|
3551
|
+
function Yo() {
|
|
3545
3552
|
yn({
|
|
3546
3553
|
elementHasLostFocus: !0
|
|
3547
3554
|
});
|
|
3548
3555
|
}
|
|
3549
|
-
async function
|
|
3556
|
+
async function Wo({
|
|
3550
3557
|
type: G,
|
|
3551
3558
|
action: U,
|
|
3552
3559
|
context: ne
|
|
@@ -3562,12 +3569,12 @@ function cl(e, t) {
|
|
|
3562
3569
|
try {
|
|
3563
3570
|
(Oe() || le() === void 0) && await qt({
|
|
3564
3571
|
callOnSubmitSucceed: !1
|
|
3565
|
-
}), G === "object" ? await
|
|
3572
|
+
}), G === "object" ? await Bo({
|
|
3566
3573
|
action: U,
|
|
3567
3574
|
context: ne
|
|
3568
|
-
}) : G === "workflow" ? await
|
|
3575
|
+
}) : G === "workflow" ? await jo({
|
|
3569
3576
|
action: U
|
|
3570
|
-
}) : G === "action" && await
|
|
3577
|
+
}) : G === "action" && await Ko({
|
|
3571
3578
|
action: U,
|
|
3572
3579
|
context: ne
|
|
3573
3580
|
});
|
|
@@ -3575,8 +3582,8 @@ function cl(e, t) {
|
|
|
3575
3582
|
Ye(re);
|
|
3576
3583
|
}
|
|
3577
3584
|
}
|
|
3578
|
-
const
|
|
3579
|
-
children: /* @__PURE__ */ n(
|
|
3585
|
+
const Uo = () => !S && !C ? /* @__PURE__ */ n(Me, {}) : !r && !p || !_ ? null : /* @__PURE__ */ n(X, {
|
|
3586
|
+
children: /* @__PURE__ */ n(Ji, {
|
|
3580
3587
|
getValues: ke,
|
|
3581
3588
|
getPlainValues: tt,
|
|
3582
3589
|
getFields: De,
|
|
@@ -3585,16 +3592,16 @@ function cl(e, t) {
|
|
|
3585
3592
|
activeModel: r,
|
|
3586
3593
|
setFieldValue: Ce,
|
|
3587
3594
|
getFieldValue: he,
|
|
3588
|
-
executeButtonAction:
|
|
3595
|
+
executeButtonAction: Wo,
|
|
3589
3596
|
getContext: nt,
|
|
3590
3597
|
submitForm: qt,
|
|
3591
3598
|
fetchValues: ot,
|
|
3592
3599
|
formHasChanges: Oe,
|
|
3593
|
-
elementHasLostFocus:
|
|
3600
|
+
elementHasLostFocus: Yo,
|
|
3594
3601
|
children: /* @__PURE__ */ n(it, {
|
|
3595
3602
|
form: V,
|
|
3596
3603
|
onFieldsChange: () => {
|
|
3597
|
-
|
|
3604
|
+
No({
|
|
3598
3605
|
elementHasLostFocus: !1
|
|
3599
3606
|
});
|
|
3600
3607
|
},
|
|
@@ -3605,7 +3612,7 @@ function cl(e, t) {
|
|
|
3605
3612
|
})
|
|
3606
3613
|
})
|
|
3607
3614
|
})
|
|
3608
|
-
}),
|
|
3615
|
+
}), Go = () => /* @__PURE__ */ H(X, {
|
|
3609
3616
|
children: [/* @__PURE__ */ n(an, {}), /* @__PURE__ */ n(Se, {
|
|
3610
3617
|
justify: "end",
|
|
3611
3618
|
children: /* @__PURE__ */ H(je, {
|
|
@@ -3640,14 +3647,14 @@ function cl(e, t) {
|
|
|
3640
3647
|
}) => /* @__PURE__ */ H("div", {
|
|
3641
3648
|
className: "pb-2",
|
|
3642
3649
|
ref: G,
|
|
3643
|
-
children: [C && /* @__PURE__ */ n(
|
|
3650
|
+
children: [C && /* @__PURE__ */ n(ll, {
|
|
3644
3651
|
className: "mt-5 mb-10",
|
|
3645
3652
|
error: C
|
|
3646
|
-
}),
|
|
3653
|
+
}), Uo(), a && Go()]
|
|
3647
3654
|
})
|
|
3648
3655
|
}) : null;
|
|
3649
3656
|
}
|
|
3650
|
-
const Wt = vt(
|
|
3657
|
+
const Wt = vt(dl), Ut = (e) => {
|
|
3651
3658
|
const {
|
|
3652
3659
|
visible: t,
|
|
3653
3660
|
id: r,
|
|
@@ -3722,7 +3729,7 @@ const Wt = vt(cl), Ut = (e) => {
|
|
|
3722
3729
|
})]
|
|
3723
3730
|
});
|
|
3724
3731
|
}
|
|
3725
|
-
return /* @__PURE__ */ n(
|
|
3732
|
+
return /* @__PURE__ */ n(qa, {
|
|
3726
3733
|
setTitle: d,
|
|
3727
3734
|
children: /* @__PURE__ */ n(We, {
|
|
3728
3735
|
title: a ? O() : f,
|
|
@@ -3742,14 +3749,14 @@ const Wt = vt(cl), Ut = (e) => {
|
|
|
3742
3749
|
})
|
|
3743
3750
|
})
|
|
3744
3751
|
});
|
|
3745
|
-
},
|
|
3752
|
+
}, ul = (e) => /* @__PURE__ */ n(ve, {
|
|
3746
3753
|
...e,
|
|
3747
3754
|
layout: "vertical",
|
|
3748
3755
|
children: /* @__PURE__ */ n(Rn.RangePicker, {
|
|
3749
3756
|
allowEmpty: [!0, !0],
|
|
3750
3757
|
format: "DD/MM/YYYY"
|
|
3751
3758
|
})
|
|
3752
|
-
}),
|
|
3759
|
+
}), fl = (e) => {
|
|
3753
3760
|
const {
|
|
3754
3761
|
ooui: t,
|
|
3755
3762
|
showLabel: r = !1
|
|
@@ -3802,8 +3809,8 @@ const Wt = vt(cl), Ut = (e) => {
|
|
|
3802
3809
|
})]
|
|
3803
3810
|
});
|
|
3804
3811
|
}, {
|
|
3805
|
-
useToken:
|
|
3806
|
-
} = $e,
|
|
3812
|
+
useToken: ml
|
|
3813
|
+
} = $e, uo = (e) => {
|
|
3807
3814
|
const {
|
|
3808
3815
|
ooui: t
|
|
3809
3816
|
} = e, {
|
|
@@ -3813,7 +3820,7 @@ const Wt = vt(cl), Ut = (e) => {
|
|
|
3813
3820
|
required: s
|
|
3814
3821
|
} = t, {
|
|
3815
3822
|
token: a
|
|
3816
|
-
} =
|
|
3823
|
+
} = ml(), l = s && !o ? {
|
|
3817
3824
|
backgroundColor: a.colorPrimaryBg
|
|
3818
3825
|
} : void 0, u = Y(Ee), {
|
|
3819
3826
|
elementHasLostFocus: c
|
|
@@ -3835,7 +3842,7 @@ const Wt = vt(cl), Ut = (e) => {
|
|
|
3835
3842
|
})
|
|
3836
3843
|
});
|
|
3837
3844
|
}, {
|
|
3838
|
-
useToken:
|
|
3845
|
+
useToken: hl
|
|
3839
3846
|
} = $e, en = (e) => {
|
|
3840
3847
|
const {
|
|
3841
3848
|
ooui: t,
|
|
@@ -3846,7 +3853,7 @@ const Wt = vt(cl), Ut = (e) => {
|
|
|
3846
3853
|
required: s
|
|
3847
3854
|
} = t, {
|
|
3848
3855
|
token: a
|
|
3849
|
-
} =
|
|
3856
|
+
} = hl(), l = s && !o ? {
|
|
3850
3857
|
backgroundColor: a.colorPrimaryBg
|
|
3851
3858
|
} : void 0, u = Y(Ee), {
|
|
3852
3859
|
elementHasLostFocus: c
|
|
@@ -3871,7 +3878,7 @@ const Wt = vt(cl), Ut = (e) => {
|
|
|
3871
3878
|
})
|
|
3872
3879
|
});
|
|
3873
3880
|
};
|
|
3874
|
-
function
|
|
3881
|
+
function pl(e) {
|
|
3875
3882
|
const {
|
|
3876
3883
|
ooui: t,
|
|
3877
3884
|
showLabel: r
|
|
@@ -3879,7 +3886,7 @@ function hl(e) {
|
|
|
3879
3886
|
id: i,
|
|
3880
3887
|
label: o,
|
|
3881
3888
|
tooltip: s
|
|
3882
|
-
} = t, a = t instanceof _n ? en :
|
|
3889
|
+
} = t, a = t instanceof _n ? en : uo, l = (u) => /* @__PURE__ */ n(a, {
|
|
3883
3890
|
ooui: {
|
|
3884
3891
|
...t,
|
|
3885
3892
|
id: i + u,
|
|
@@ -3916,11 +3923,11 @@ function hl(e) {
|
|
|
3916
3923
|
});
|
|
3917
3924
|
}
|
|
3918
3925
|
const {
|
|
3919
|
-
defaultAlgorithm:
|
|
3920
|
-
defaultSeed:
|
|
3921
|
-
} = $e,
|
|
3922
|
-
Option:
|
|
3923
|
-
} = bt,
|
|
3926
|
+
defaultAlgorithm: gl,
|
|
3927
|
+
defaultSeed: yl
|
|
3928
|
+
} = $e, vl = gl(yl), {
|
|
3929
|
+
Option: wl
|
|
3930
|
+
} = bt, bl = (e) => {
|
|
3924
3931
|
const {
|
|
3925
3932
|
ooui: t
|
|
3926
3933
|
} = e, {
|
|
@@ -3930,11 +3937,11 @@ const {
|
|
|
3930
3937
|
required: r,
|
|
3931
3938
|
type: "any",
|
|
3932
3939
|
...e,
|
|
3933
|
-
children: /* @__PURE__ */ n(
|
|
3940
|
+
children: /* @__PURE__ */ n(xl, {
|
|
3934
3941
|
...e
|
|
3935
3942
|
})
|
|
3936
3943
|
});
|
|
3937
|
-
},
|
|
3944
|
+
}, xl = (e) => {
|
|
3938
3945
|
const {
|
|
3939
3946
|
ooui: t,
|
|
3940
3947
|
onChange: r,
|
|
@@ -3948,11 +3955,11 @@ const {
|
|
|
3948
3955
|
return i ? !i.includes(m) : !0;
|
|
3949
3956
|
}).map((d) => {
|
|
3950
3957
|
const [m, v] = d;
|
|
3951
|
-
return /* @__PURE__ */ n(
|
|
3958
|
+
return /* @__PURE__ */ n(wl, {
|
|
3952
3959
|
value: v,
|
|
3953
3960
|
children: v
|
|
3954
3961
|
}, m);
|
|
3955
|
-
}), c = a && !s ?
|
|
3962
|
+
}), c = a && !s ? Cl : bt;
|
|
3956
3963
|
function f(d) {
|
|
3957
3964
|
const m = d.map((v) => {
|
|
3958
3965
|
const p = l.find(([h, g]) => v === g);
|
|
@@ -3972,12 +3979,12 @@ const {
|
|
|
3972
3979
|
showArrow: !0,
|
|
3973
3980
|
children: u
|
|
3974
3981
|
});
|
|
3975
|
-
},
|
|
3982
|
+
}, Cl = jt(bt)`
|
|
3976
3983
|
&.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
3977
|
-
background-color: ${
|
|
3984
|
+
background-color: ${vl.colorPrimaryBg};
|
|
3978
3985
|
}
|
|
3979
3986
|
`;
|
|
3980
|
-
function
|
|
3987
|
+
function Sl(e) {
|
|
3981
3988
|
const {
|
|
3982
3989
|
field: t
|
|
3983
3990
|
} = e;
|
|
@@ -4002,24 +4009,24 @@ function Cl(e) {
|
|
|
4002
4009
|
case ft.progressbar:
|
|
4003
4010
|
case ft.float_time:
|
|
4004
4011
|
case ft.integer:
|
|
4005
|
-
return /* @__PURE__ */ n(
|
|
4012
|
+
return /* @__PURE__ */ n(pl, {
|
|
4006
4013
|
ooui: t,
|
|
4007
4014
|
showLabel: !0
|
|
4008
4015
|
});
|
|
4009
4016
|
case ft.date:
|
|
4010
|
-
return /* @__PURE__ */ n(
|
|
4017
|
+
return /* @__PURE__ */ n(ul, {
|
|
4011
4018
|
ooui: t,
|
|
4012
4019
|
layout: "vertical",
|
|
4013
4020
|
showLabel: !0
|
|
4014
4021
|
});
|
|
4015
4022
|
case ft.datetime:
|
|
4016
|
-
return /* @__PURE__ */ n(
|
|
4023
|
+
return /* @__PURE__ */ n(fl, {
|
|
4017
4024
|
ooui: t,
|
|
4018
4025
|
layout: "vertical",
|
|
4019
4026
|
showLabel: !0
|
|
4020
4027
|
});
|
|
4021
4028
|
case ft.selection:
|
|
4022
|
-
return /* @__PURE__ */ n(
|
|
4029
|
+
return /* @__PURE__ */ n(bl, {
|
|
4023
4030
|
layout: "vertical",
|
|
4024
4031
|
ooui: t,
|
|
4025
4032
|
showLabel: !0
|
|
@@ -4033,7 +4040,7 @@ function Cl(e) {
|
|
|
4033
4040
|
});
|
|
4034
4041
|
}
|
|
4035
4042
|
}
|
|
4036
|
-
function
|
|
4043
|
+
function Tl(e) {
|
|
4037
4044
|
const {
|
|
4038
4045
|
onAdvancedFilterToggle: t,
|
|
4039
4046
|
advancedFilter: r,
|
|
@@ -4049,7 +4056,7 @@ function Sl(e) {
|
|
|
4049
4056
|
children: /* @__PURE__ */ H("a", {
|
|
4050
4057
|
className: "text-xs",
|
|
4051
4058
|
onClick: t,
|
|
4052
|
-
children: [r ? /* @__PURE__ */ n(
|
|
4059
|
+
children: [r ? /* @__PURE__ */ n(ci, {
|
|
4053
4060
|
className: "pr-1"
|
|
4054
4061
|
}) : /* @__PURE__ */ n(Vt, {
|
|
4055
4062
|
className: "pr-1"
|
|
@@ -4074,7 +4081,7 @@ function Sl(e) {
|
|
|
4074
4081
|
})]
|
|
4075
4082
|
});
|
|
4076
4083
|
}
|
|
4077
|
-
function
|
|
4084
|
+
function Fl(e) {
|
|
4078
4085
|
const {
|
|
4079
4086
|
onLimitChange: t
|
|
4080
4087
|
} = e, {
|
|
@@ -4102,9 +4109,9 @@ function Tl(e) {
|
|
|
4102
4109
|
});
|
|
4103
4110
|
}
|
|
4104
4111
|
const {
|
|
4105
|
-
useToken:
|
|
4112
|
+
useToken: Ol
|
|
4106
4113
|
} = $e;
|
|
4107
|
-
function
|
|
4114
|
+
function fo(e) {
|
|
4108
4115
|
const {
|
|
4109
4116
|
fields: t,
|
|
4110
4117
|
searchFields: r = {
|
|
@@ -4125,7 +4132,7 @@ function uo(e) {
|
|
|
4125
4132
|
formXml: p
|
|
4126
4133
|
} = e, [h, g] = T(), [y, O] = T(), [_, b] = T(!1), A = me(), {
|
|
4127
4134
|
token: I
|
|
4128
|
-
} =
|
|
4135
|
+
} = Ol(), [M] = it.useForm();
|
|
4129
4136
|
ge(() => {
|
|
4130
4137
|
M.setFieldsValue(m);
|
|
4131
4138
|
}, [m]);
|
|
@@ -4138,14 +4145,14 @@ function uo(e) {
|
|
|
4138
4145
|
xs: 24,
|
|
4139
4146
|
className: "p-2",
|
|
4140
4147
|
xl: 6,
|
|
4141
|
-
children: /* @__PURE__ */ n(
|
|
4148
|
+
children: /* @__PURE__ */ n(Sl, {
|
|
4142
4149
|
field: V
|
|
4143
4150
|
})
|
|
4144
4151
|
}, E))
|
|
4145
4152
|
}, R));
|
|
4146
4153
|
};
|
|
4147
4154
|
xt(() => {
|
|
4148
|
-
b(!1), A.current = new
|
|
4155
|
+
b(!1), A.current = new ai(r, t, p), A.current.parse(), g(A.current._simpleSearchContainer), O(A.current._advancedSearchContainer);
|
|
4149
4156
|
}, [t, r]);
|
|
4150
4157
|
const x = w(), F = (C) => {
|
|
4151
4158
|
var V;
|
|
@@ -4154,7 +4161,7 @@ function uo(e) {
|
|
|
4154
4161
|
offset: S
|
|
4155
4162
|
} = C;
|
|
4156
4163
|
delete C.offset, delete C.limit;
|
|
4157
|
-
const R =
|
|
4164
|
+
const R = za(C, (V = A.current) == null ? void 0 : V._advancedSearchContainer);
|
|
4158
4165
|
o({
|
|
4159
4166
|
params: R,
|
|
4160
4167
|
offset: S,
|
|
@@ -4187,9 +4194,9 @@ function uo(e) {
|
|
|
4187
4194
|
offset: a,
|
|
4188
4195
|
limit: l
|
|
4189
4196
|
},
|
|
4190
|
-
children: [x, _ && v && /* @__PURE__ */ n(
|
|
4197
|
+
children: [x, _ && v && /* @__PURE__ */ n(Fl, {
|
|
4191
4198
|
onLimitChange: u
|
|
4192
|
-
}), /* @__PURE__ */ n(
|
|
4199
|
+
}), /* @__PURE__ */ n(Tl, {
|
|
4193
4200
|
advancedFilter: _,
|
|
4194
4201
|
onAdvancedFilterToggle: () => {
|
|
4195
4202
|
b(!_);
|
|
@@ -4216,7 +4223,7 @@ const vr = (e, t = "14px -apple-system") => {
|
|
|
4216
4223
|
i.font = t;
|
|
4217
4224
|
const o = i.measureText(e);
|
|
4218
4225
|
return Math.round((o.width + 80) * 1.5);
|
|
4219
|
-
},
|
|
4226
|
+
}, _l = (e, t, r = 500) => {
|
|
4220
4227
|
if (e.length === 0)
|
|
4221
4228
|
return e;
|
|
4222
4229
|
const i = e.map(
|
|
@@ -4238,7 +4245,7 @@ const vr = (e, t = "14px -apple-system") => {
|
|
|
4238
4245
|
tableWidth: o
|
|
4239
4246
|
};
|
|
4240
4247
|
};
|
|
4241
|
-
function
|
|
4248
|
+
function Il(e) {
|
|
4242
4249
|
if (!!e)
|
|
4243
4250
|
try {
|
|
4244
4251
|
if (e.includes(":")) {
|
|
@@ -4252,7 +4259,7 @@ function _l(e) {
|
|
|
4252
4259
|
return 0;
|
|
4253
4260
|
}
|
|
4254
4261
|
}
|
|
4255
|
-
function
|
|
4262
|
+
function mo(e) {
|
|
4256
4263
|
if (e === void 0)
|
|
4257
4264
|
return;
|
|
4258
4265
|
let t, r = Math.floor(Math.abs(e)), i = Math.round(Math.abs(e) % 1 * 100) / 100;
|
|
@@ -4268,10 +4275,10 @@ function fo(e) {
|
|
|
4268
4275
|
});
|
|
4269
4276
|
return t = `${o}:${s}`, e < 0 && (t = "-" + t), t;
|
|
4270
4277
|
}
|
|
4271
|
-
const
|
|
4278
|
+
const Dl = (e) => /* @__PURE__ */ n(ve, {
|
|
4272
4279
|
...e,
|
|
4273
|
-
children: /* @__PURE__ */ n(
|
|
4274
|
-
}),
|
|
4280
|
+
children: /* @__PURE__ */ n(ho, {})
|
|
4281
|
+
}), ho = ({
|
|
4275
4282
|
value: e
|
|
4276
4283
|
}) => {
|
|
4277
4284
|
const t = `${(e || 0).toLocaleString("en-US", {
|
|
@@ -4285,7 +4292,7 @@ const Il = (e) => /* @__PURE__ */ n(ve, {
|
|
|
4285
4292
|
display: "flex",
|
|
4286
4293
|
alignItems: "center"
|
|
4287
4294
|
},
|
|
4288
|
-
children: [/* @__PURE__ */ n(
|
|
4295
|
+
children: [/* @__PURE__ */ n(Vl, {
|
|
4289
4296
|
percent: e
|
|
4290
4297
|
}), /* @__PURE__ */ n("div", {
|
|
4291
4298
|
style: {
|
|
@@ -4295,7 +4302,7 @@ const Il = (e) => /* @__PURE__ */ n(ve, {
|
|
|
4295
4302
|
children: t
|
|
4296
4303
|
})]
|
|
4297
4304
|
});
|
|
4298
|
-
},
|
|
4305
|
+
}, Vl = jt(Xo)`
|
|
4299
4306
|
.ant-progress-outer {
|
|
4300
4307
|
margin-right: 0px;
|
|
4301
4308
|
padding-right: 0px;
|
|
@@ -4456,7 +4463,7 @@ const Il = (e) => /* @__PURE__ */ n(ve, {
|
|
|
4456
4463
|
children: [/* @__PURE__ */ n(Ht, {
|
|
4457
4464
|
overlay: b(),
|
|
4458
4465
|
trigger: ["click"],
|
|
4459
|
-
children: /* @__PURE__ */ n(
|
|
4466
|
+
children: /* @__PURE__ */ n(di, {
|
|
4460
4467
|
style: {
|
|
4461
4468
|
color: "rgba(0,0,0,.45)"
|
|
4462
4469
|
},
|
|
@@ -4476,7 +4483,7 @@ const Il = (e) => /* @__PURE__ */ n(ve, {
|
|
|
4476
4483
|
onCancel: () => l(!1)
|
|
4477
4484
|
})]
|
|
4478
4485
|
});
|
|
4479
|
-
},
|
|
4486
|
+
}, Al = (e) => {
|
|
4480
4487
|
const {
|
|
4481
4488
|
m2oField: t
|
|
4482
4489
|
} = e;
|
|
@@ -4488,7 +4495,7 @@ const Il = (e) => /* @__PURE__ */ n(ve, {
|
|
|
4488
4495
|
model: t.model
|
|
4489
4496
|
})]
|
|
4490
4497
|
}) : /* @__PURE__ */ n(X, {});
|
|
4491
|
-
},
|
|
4498
|
+
}, kl = (e) => {
|
|
4492
4499
|
const {
|
|
4493
4500
|
value: t,
|
|
4494
4501
|
context: r,
|
|
@@ -4523,7 +4530,7 @@ const Il = (e) => /* @__PURE__ */ n(ve, {
|
|
|
4523
4530
|
})]
|
|
4524
4531
|
});
|
|
4525
4532
|
};
|
|
4526
|
-
var
|
|
4533
|
+
var po = { exports: {} };
|
|
4527
4534
|
(function(e, t) {
|
|
4528
4535
|
(function(r, i) {
|
|
4529
4536
|
e.exports = i();
|
|
@@ -4730,8 +4737,8 @@ var ho = { exports: {} };
|
|
|
4730
4737
|
return x(1e3 * S);
|
|
4731
4738
|
}, x.en = I[A], x.Ls = I, x.p = {}, x;
|
|
4732
4739
|
});
|
|
4733
|
-
})(
|
|
4734
|
-
const dt =
|
|
4740
|
+
})(po);
|
|
4741
|
+
const dt = po.exports, Rl = (e) => {
|
|
4735
4742
|
console.log("Avatar Props", e);
|
|
4736
4743
|
const {
|
|
4737
4744
|
ooui: t,
|
|
@@ -4744,7 +4751,7 @@ const dt = ho.exports, kl = (e) => {
|
|
|
4744
4751
|
const o = i.toString().split(" ").filter((a) => a.length > 1).slice(0, 3).map((a) => a[0].toUpperCase()).join(""), s = Qt(i);
|
|
4745
4752
|
return /* @__PURE__ */ n(ht, {
|
|
4746
4753
|
title: i,
|
|
4747
|
-
children: /* @__PURE__ */ n(
|
|
4754
|
+
children: /* @__PURE__ */ n(Qo, {
|
|
4748
4755
|
alt: i,
|
|
4749
4756
|
style: {
|
|
4750
4757
|
backgroundColor: s
|
|
@@ -4752,12 +4759,12 @@ const dt = ho.exports, kl = (e) => {
|
|
|
4752
4759
|
children: o
|
|
4753
4760
|
})
|
|
4754
4761
|
});
|
|
4755
|
-
},
|
|
4762
|
+
}, Ml = (e) => /* @__PURE__ */ n(ve, {
|
|
4756
4763
|
...e,
|
|
4757
|
-
children: /* @__PURE__ */ n(
|
|
4764
|
+
children: /* @__PURE__ */ n(go, {
|
|
4758
4765
|
...e
|
|
4759
4766
|
})
|
|
4760
|
-
}),
|
|
4767
|
+
}), go = (e) => {
|
|
4761
4768
|
const {
|
|
4762
4769
|
ooui: t,
|
|
4763
4770
|
value: r
|
|
@@ -4768,13 +4775,13 @@ const dt = ho.exports, kl = (e) => {
|
|
|
4768
4775
|
const s = t.colors === "auto" ? Qt(o) : t.colors[o] || Qt(o);
|
|
4769
4776
|
return /* @__PURE__ */ n(Or, {
|
|
4770
4777
|
color: s,
|
|
4771
|
-
style:
|
|
4772
|
-
color:
|
|
4778
|
+
style: Di(s) ? {} : {
|
|
4779
|
+
color: ao(s)
|
|
4773
4780
|
},
|
|
4774
4781
|
children: i
|
|
4775
4782
|
});
|
|
4776
4783
|
};
|
|
4777
|
-
var
|
|
4784
|
+
var yo = { exports: {} };
|
|
4778
4785
|
(function(e, t) {
|
|
4779
4786
|
(function(r, i) {
|
|
4780
4787
|
e.exports = i();
|
|
@@ -4786,9 +4793,9 @@ var go = { exports: {} };
|
|
|
4786
4793
|
};
|
|
4787
4794
|
};
|
|
4788
4795
|
});
|
|
4789
|
-
})(
|
|
4790
|
-
const
|
|
4791
|
-
var
|
|
4796
|
+
})(yo);
|
|
4797
|
+
const El = yo.exports;
|
|
4798
|
+
var vo = { exports: {} };
|
|
4792
4799
|
(function(e, t) {
|
|
4793
4800
|
(function(r, i) {
|
|
4794
4801
|
e.exports = i();
|
|
@@ -4864,12 +4871,12 @@ var yo = { exports: {} };
|
|
|
4864
4871
|
};
|
|
4865
4872
|
};
|
|
4866
4873
|
});
|
|
4867
|
-
})(
|
|
4868
|
-
const
|
|
4869
|
-
useToken:
|
|
4874
|
+
})(vo);
|
|
4875
|
+
const $l = vo.exports, {
|
|
4876
|
+
useToken: Ll
|
|
4870
4877
|
} = $e;
|
|
4871
|
-
dt.extend(Ml);
|
|
4872
4878
|
dt.extend(El);
|
|
4879
|
+
dt.extend($l);
|
|
4873
4880
|
const lt = {
|
|
4874
4881
|
date: {
|
|
4875
4882
|
placeholder: "__/__/____",
|
|
@@ -4881,7 +4888,7 @@ const lt = {
|
|
|
4881
4888
|
dateDisplayFormat: "DD/MM/YYYY HH:mm:ss",
|
|
4882
4889
|
dateInternalFormat: "YYYY-MM-DD HH:mm:ss"
|
|
4883
4890
|
}
|
|
4884
|
-
},
|
|
4891
|
+
}, wo = (e) => {
|
|
4885
4892
|
const {
|
|
4886
4893
|
ooui: t,
|
|
4887
4894
|
showTime: r = !1
|
|
@@ -4891,12 +4898,12 @@ const lt = {
|
|
|
4891
4898
|
return /* @__PURE__ */ n(ve, {
|
|
4892
4899
|
required: i,
|
|
4893
4900
|
...e,
|
|
4894
|
-
children: /* @__PURE__ */ n(
|
|
4901
|
+
children: /* @__PURE__ */ n(Nl, {
|
|
4895
4902
|
ooui: t,
|
|
4896
4903
|
showTime: r
|
|
4897
4904
|
})
|
|
4898
4905
|
});
|
|
4899
|
-
},
|
|
4906
|
+
}, Nl = (e) => {
|
|
4900
4907
|
const {
|
|
4901
4908
|
value: t,
|
|
4902
4909
|
onChange: r,
|
|
@@ -4908,7 +4915,7 @@ const lt = {
|
|
|
4908
4915
|
required: l
|
|
4909
4916
|
} = i, {
|
|
4910
4917
|
token: u
|
|
4911
|
-
} =
|
|
4918
|
+
} = Ll(), c = l && !a ? {
|
|
4912
4919
|
backgroundColor: u.colorPrimaryBg
|
|
4913
4920
|
} : void 0, f = o ? "time" : "date", d = (p) => {
|
|
4914
4921
|
r == null || r(p);
|
|
@@ -4933,7 +4940,7 @@ const lt = {
|
|
|
4933
4940
|
value: v,
|
|
4934
4941
|
onChange: m
|
|
4935
4942
|
});
|
|
4936
|
-
},
|
|
4943
|
+
}, Pl = (e) => /* @__PURE__ */ n("div", {
|
|
4937
4944
|
style: {
|
|
4938
4945
|
display: "flex",
|
|
4939
4946
|
justifyContent: "center",
|
|
@@ -4943,18 +4950,18 @@ const lt = {
|
|
|
4943
4950
|
checked: e,
|
|
4944
4951
|
disabled: !0
|
|
4945
4952
|
})
|
|
4946
|
-
}),
|
|
4953
|
+
}), Hl = (e) => /* @__PURE__ */ n(Al, {
|
|
4947
4954
|
m2oField: e
|
|
4948
|
-
}),
|
|
4955
|
+
}), Bl = (e) => /* @__PURE__ */ n(Un, {
|
|
4949
4956
|
content: e == null ? void 0 : e.replace(/(?:\r\n|\r|\n)/g, "<br>")
|
|
4950
|
-
}),
|
|
4957
|
+
}), jl = (e) => {
|
|
4951
4958
|
if (!e || e && e.length === 0)
|
|
4952
4959
|
return /* @__PURE__ */ n(X, {});
|
|
4953
4960
|
const t = dt(e, lt.date.dateInternalFormat).format(lt.date.dateDisplayFormat);
|
|
4954
4961
|
return /* @__PURE__ */ n(X, {
|
|
4955
4962
|
children: t
|
|
4956
4963
|
});
|
|
4957
|
-
},
|
|
4964
|
+
}, Kl = (e) => {
|
|
4958
4965
|
if (!e || e && e.length === 0)
|
|
4959
4966
|
return /* @__PURE__ */ n(X, {});
|
|
4960
4967
|
const t = dt(e, lt.time.dateInternalFormat).format(lt.time.dateDisplayFormat);
|
|
@@ -4966,33 +4973,33 @@ const lt = {
|
|
|
4966
4973
|
return /* @__PURE__ */ n(X, {
|
|
4967
4974
|
children: `( ${t} )`
|
|
4968
4975
|
});
|
|
4969
|
-
},
|
|
4976
|
+
}, Yl = (e) => /* @__PURE__ */ n(ho, {
|
|
4970
4977
|
value: e
|
|
4971
|
-
}),
|
|
4972
|
-
children:
|
|
4978
|
+
}), Wl = (e) => /* @__PURE__ */ n(X, {
|
|
4979
|
+
children: mo(e)
|
|
4973
4980
|
}), xr = (e) => /* @__PURE__ */ n("div", {
|
|
4974
4981
|
style: {
|
|
4975
4982
|
textAlign: "right"
|
|
4976
4983
|
},
|
|
4977
4984
|
children: e
|
|
4978
|
-
}),
|
|
4985
|
+
}), Ul = (e) => /* @__PURE__ */ n("img", {
|
|
4979
4986
|
src: `data:image/*;base64,${e}`,
|
|
4980
4987
|
style: {
|
|
4981
4988
|
maxWidth: "50px",
|
|
4982
4989
|
padding: "5px"
|
|
4983
4990
|
}
|
|
4984
|
-
}),
|
|
4991
|
+
}), Gl = (e, t, r, i) => /* @__PURE__ */ n(go, {
|
|
4985
4992
|
ooui: r,
|
|
4986
4993
|
value: e
|
|
4987
|
-
}), Gl = (e, t, r, i) => /* @__PURE__ */ n(X, {
|
|
4988
|
-
children: r.selectionValues.get(e)
|
|
4989
4994
|
}), ql = (e, t, r, i) => /* @__PURE__ */ n(X, {
|
|
4990
|
-
children:
|
|
4995
|
+
children: r.selectionValues.get(e)
|
|
4996
|
+
}), zl = (e, t, r, i) => /* @__PURE__ */ n(X, {
|
|
4997
|
+
children: /* @__PURE__ */ n(kl, {
|
|
4991
4998
|
value: e,
|
|
4992
4999
|
selectionValues: r.selectionValues,
|
|
4993
5000
|
context: i
|
|
4994
5001
|
})
|
|
4995
|
-
}),
|
|
5002
|
+
}), Jl = (e, t, r, i) => /* @__PURE__ */ n(Rl, {
|
|
4996
5003
|
ooui: r,
|
|
4997
5004
|
value: e
|
|
4998
5005
|
});
|
|
@@ -5024,23 +5031,23 @@ function hn(e) {
|
|
|
5024
5031
|
} = (y ? C : {}) || {};
|
|
5025
5032
|
ge(() => {
|
|
5026
5033
|
w.current = Ft(o);
|
|
5027
|
-
const W =
|
|
5028
|
-
boolean:
|
|
5029
|
-
many2one:
|
|
5030
|
-
text:
|
|
5034
|
+
const W = ba(w.current, {
|
|
5035
|
+
boolean: Pl,
|
|
5036
|
+
many2one: Hl,
|
|
5037
|
+
text: Bl,
|
|
5031
5038
|
one2many: br,
|
|
5032
5039
|
many2many: br,
|
|
5033
|
-
progressbar:
|
|
5034
|
-
float_time:
|
|
5035
|
-
image:
|
|
5040
|
+
progressbar: Yl,
|
|
5041
|
+
float_time: Wl,
|
|
5042
|
+
image: Ul,
|
|
5036
5043
|
integer: xr,
|
|
5037
5044
|
float: xr,
|
|
5038
|
-
reference:
|
|
5039
|
-
tag:
|
|
5040
|
-
selection:
|
|
5041
|
-
date:
|
|
5042
|
-
datetime:
|
|
5043
|
-
avatar:
|
|
5045
|
+
reference: zl,
|
|
5046
|
+
tag: Gl,
|
|
5047
|
+
selection: ql,
|
|
5048
|
+
date: jl,
|
|
5049
|
+
datetime: Kl,
|
|
5050
|
+
avatar: Jl
|
|
5044
5051
|
}, O);
|
|
5045
5052
|
I(W), w.current.string && L !== w.current.string && (S == null || S(w.current.string));
|
|
5046
5053
|
}, [o]), ge(() => {
|
|
@@ -5055,7 +5062,7 @@ function hn(e) {
|
|
|
5055
5062
|
className: "pb-4",
|
|
5056
5063
|
children: [/* @__PURE__ */ n(ce, {
|
|
5057
5064
|
span: 12,
|
|
5058
|
-
children: /* @__PURE__ */ n(
|
|
5065
|
+
children: /* @__PURE__ */ n(ei, {
|
|
5059
5066
|
total: i,
|
|
5060
5067
|
pageSize: F.current === 0 ? i : F.current,
|
|
5061
5068
|
current: t,
|
|
@@ -5087,7 +5094,7 @@ function hn(e) {
|
|
|
5087
5094
|
}
|
|
5088
5095
|
let N, j = d;
|
|
5089
5096
|
if (w.current !== null) {
|
|
5090
|
-
N =
|
|
5097
|
+
N = _l(A, _, 600);
|
|
5091
5098
|
const K = w.current;
|
|
5092
5099
|
d && K.columns.some((z) => z.sum !== void 0) && (j = d - 30);
|
|
5093
5100
|
}
|
|
@@ -5096,7 +5103,7 @@ function hn(e) {
|
|
|
5096
5103
|
padding: "2rem"
|
|
5097
5104
|
}
|
|
5098
5105
|
}) : /* @__PURE__ */ H("div", {
|
|
5099
|
-
children: [D(), /* @__PURE__ */ n(
|
|
5106
|
+
children: [D(), /* @__PURE__ */ n(_i, {
|
|
5100
5107
|
height: j,
|
|
5101
5108
|
columns: N.columns,
|
|
5102
5109
|
dataSource: _,
|
|
@@ -5113,8 +5120,8 @@ function hn(e) {
|
|
|
5113
5120
|
onChangeSort: v,
|
|
5114
5121
|
sorter: p,
|
|
5115
5122
|
expandableOpts: h ? {
|
|
5116
|
-
expandIcon:
|
|
5117
|
-
collapseIcon:
|
|
5123
|
+
expandIcon: ui,
|
|
5124
|
+
collapseIcon: fi,
|
|
5118
5125
|
loadingIcon: et,
|
|
5119
5126
|
onFetchChildrenForRecord: h,
|
|
5120
5127
|
childField: g
|
|
@@ -5122,7 +5129,7 @@ function hn(e) {
|
|
|
5122
5129
|
}), k()]
|
|
5123
5130
|
});
|
|
5124
5131
|
}
|
|
5125
|
-
function
|
|
5132
|
+
function Zl(e, t) {
|
|
5126
5133
|
const {
|
|
5127
5134
|
model: r,
|
|
5128
5135
|
formView: i,
|
|
@@ -5174,7 +5181,7 @@ function Jl(e, t) {
|
|
|
5174
5181
|
fetchChildrenForRecord: Pe,
|
|
5175
5182
|
colorsForResults: le,
|
|
5176
5183
|
totalItems: De
|
|
5177
|
-
} =
|
|
5184
|
+
} = co({
|
|
5178
5185
|
model: O,
|
|
5179
5186
|
setSearchTreeNameSearch: ee,
|
|
5180
5187
|
setSelectedRowItems: K,
|
|
@@ -5283,7 +5290,7 @@ function Jl(e, t) {
|
|
|
5283
5290
|
return b != null && b.isExpandable ? S - 160 : S - (F + 210);
|
|
5284
5291
|
}
|
|
5285
5292
|
const ae = () => !b || !I ? null : /* @__PURE__ */ H(X, {
|
|
5286
|
-
children: [/* @__PURE__ */ n(
|
|
5293
|
+
children: [/* @__PURE__ */ n(fo, {
|
|
5287
5294
|
fields: {
|
|
5288
5295
|
...b.fields,
|
|
5289
5296
|
...I.fields
|
|
@@ -5335,7 +5342,7 @@ function Jl(e, t) {
|
|
|
5335
5342
|
children: v ? /* @__PURE__ */ n(Me, {}) : ae()
|
|
5336
5343
|
});
|
|
5337
5344
|
}
|
|
5338
|
-
const
|
|
5345
|
+
const bo = vt(Zl), xo = (e) => {
|
|
5339
5346
|
const {
|
|
5340
5347
|
visible: t,
|
|
5341
5348
|
onCloseModal: r,
|
|
@@ -5365,7 +5372,7 @@ const wo = vt(Jl), bo = (e) => {
|
|
|
5365
5372
|
i(v);
|
|
5366
5373
|
}
|
|
5367
5374
|
const O = () => /* @__PURE__ */ H(X, {
|
|
5368
|
-
children: [/* @__PURE__ */ n(
|
|
5375
|
+
children: [/* @__PURE__ */ n(bo, {
|
|
5369
5376
|
model: o,
|
|
5370
5377
|
nameSearch: s,
|
|
5371
5378
|
onRowClicked: g,
|
|
@@ -5424,18 +5431,18 @@ const wo = vt(Jl), bo = (e) => {
|
|
|
5424
5431
|
})]
|
|
5425
5432
|
});
|
|
5426
5433
|
}, {
|
|
5427
|
-
error:
|
|
5434
|
+
error: Xl
|
|
5428
5435
|
} = We, tn = (e) => {
|
|
5429
|
-
|
|
5436
|
+
Xl({
|
|
5430
5437
|
title: "Error",
|
|
5431
5438
|
icon: /* @__PURE__ */ n(pt, {}),
|
|
5432
5439
|
centered: !0,
|
|
5433
5440
|
content: e
|
|
5434
5441
|
});
|
|
5435
5442
|
}, {
|
|
5436
|
-
defaultAlgorithm:
|
|
5437
|
-
defaultSeed:
|
|
5438
|
-
} = $e,
|
|
5443
|
+
defaultAlgorithm: Ql,
|
|
5444
|
+
defaultSeed: ec
|
|
5445
|
+
} = $e, Co = Ql(ec), tc = (e) => {
|
|
5439
5446
|
const {
|
|
5440
5447
|
ooui: t
|
|
5441
5448
|
} = e, {
|
|
@@ -5453,11 +5460,11 @@ const wo = vt(Jl), bo = (e) => {
|
|
|
5453
5460
|
throw new Error();
|
|
5454
5461
|
},
|
|
5455
5462
|
...e,
|
|
5456
|
-
children: /* @__PURE__ */ n(
|
|
5463
|
+
children: /* @__PURE__ */ n(So, {
|
|
5457
5464
|
ooui: t
|
|
5458
5465
|
})
|
|
5459
5466
|
});
|
|
5460
|
-
},
|
|
5467
|
+
}, So = (e) => {
|
|
5461
5468
|
const {
|
|
5462
5469
|
value: t,
|
|
5463
5470
|
onChange: r,
|
|
@@ -5470,7 +5477,7 @@ const wo = vt(Jl), bo = (e) => {
|
|
|
5470
5477
|
id: u,
|
|
5471
5478
|
domain: c
|
|
5472
5479
|
} = i, f = o && !a ? {
|
|
5473
|
-
backgroundColor:
|
|
5480
|
+
backgroundColor: Co.colorPrimaryBg
|
|
5474
5481
|
} : void 0, [d, m] = T(!1), [v, p] = T(!1), [h, g] = T(!1), [y, O] = T(), _ = me(!1), [b, A] = T(""), I = me(), M = Y(Ee), {
|
|
5475
5482
|
domain: w,
|
|
5476
5483
|
getValues: x,
|
|
@@ -5570,7 +5577,7 @@ const wo = vt(Jl), bo = (e) => {
|
|
|
5570
5577
|
wrap: !1,
|
|
5571
5578
|
children: [/* @__PURE__ */ n(ce, {
|
|
5572
5579
|
flex: "auto",
|
|
5573
|
-
children: /* @__PURE__ */ n(o && !a ?
|
|
5580
|
+
children: /* @__PURE__ */ n(o && !a ? nc : Qe, {
|
|
5574
5581
|
type: "text",
|
|
5575
5582
|
value: b,
|
|
5576
5583
|
disabled: a,
|
|
@@ -5621,7 +5628,7 @@ const wo = vt(Jl), bo = (e) => {
|
|
|
5621
5628
|
},
|
|
5622
5629
|
tabIndex: -1
|
|
5623
5630
|
})
|
|
5624
|
-
}), /* @__PURE__ */ n(
|
|
5631
|
+
}), /* @__PURE__ */ n(xo, {
|
|
5625
5632
|
model: s,
|
|
5626
5633
|
domain: R,
|
|
5627
5634
|
context: {
|
|
@@ -5654,16 +5661,16 @@ const wo = vt(Jl), bo = (e) => {
|
|
|
5654
5661
|
readOnly: a
|
|
5655
5662
|
})]
|
|
5656
5663
|
});
|
|
5657
|
-
},
|
|
5664
|
+
}, nc = jt(Qe)`
|
|
5658
5665
|
.ant-input {
|
|
5659
|
-
background-color: ${
|
|
5666
|
+
background-color: ${Co.colorPrimaryBg};
|
|
5660
5667
|
}
|
|
5661
|
-
`,
|
|
5668
|
+
`, To = qe.createContext(null), rc = ({
|
|
5662
5669
|
children: e,
|
|
5663
5670
|
initialView: t
|
|
5664
5671
|
}) => {
|
|
5665
5672
|
const [r, i] = T(t), [o, s] = T(0), [a, l] = T(!1);
|
|
5666
|
-
return /* @__PURE__ */ n(
|
|
5673
|
+
return /* @__PURE__ */ n(To.Provider, {
|
|
5667
5674
|
value: {
|
|
5668
5675
|
currentView: r,
|
|
5669
5676
|
setCurrentView: i,
|
|
@@ -5676,7 +5683,7 @@ const wo = vt(Jl), bo = (e) => {
|
|
|
5676
5683
|
});
|
|
5677
5684
|
}, {
|
|
5678
5685
|
getValueForOperator: Cr
|
|
5679
|
-
} = Rr, nn = 0.7, rn = 30,
|
|
5686
|
+
} = Rr, nn = 0.7, rn = 30, oc = (e) => {
|
|
5680
5687
|
const {
|
|
5681
5688
|
model: t,
|
|
5682
5689
|
domain: r,
|
|
@@ -5818,7 +5825,7 @@ const wo = vt(Jl), bo = (e) => {
|
|
|
5818
5825
|
},
|
|
5819
5826
|
children: ({
|
|
5820
5827
|
measureRef: D
|
|
5821
|
-
}) => a ? /* @__PURE__ */ n(
|
|
5828
|
+
}) => a ? /* @__PURE__ */ n(sc, {
|
|
5822
5829
|
value: p,
|
|
5823
5830
|
total: O,
|
|
5824
5831
|
percent: g,
|
|
@@ -5828,7 +5835,7 @@ const wo = vt(Jl), bo = (e) => {
|
|
|
5828
5835
|
color: w,
|
|
5829
5836
|
icon: F,
|
|
5830
5837
|
suffix: u
|
|
5831
|
-
}) : /* @__PURE__ */ n(
|
|
5838
|
+
}) : /* @__PURE__ */ n(ic, {
|
|
5832
5839
|
value: p,
|
|
5833
5840
|
total: O,
|
|
5834
5841
|
measureRef: D,
|
|
@@ -5840,11 +5847,11 @@ const wo = vt(Jl), bo = (e) => {
|
|
|
5840
5847
|
})
|
|
5841
5848
|
});
|
|
5842
5849
|
};
|
|
5843
|
-
function
|
|
5850
|
+
function Fo(e, t) {
|
|
5844
5851
|
const i = document.createElement("canvas").getContext("2d");
|
|
5845
5852
|
return i.font = t || getComputedStyle(document.body).font, i.measureText(e).width;
|
|
5846
5853
|
}
|
|
5847
|
-
function
|
|
5854
|
+
function ic({
|
|
5848
5855
|
measureRef: e,
|
|
5849
5856
|
width: t,
|
|
5850
5857
|
height: r,
|
|
@@ -5860,7 +5867,7 @@ function oc({
|
|
|
5860
5867
|
});
|
|
5861
5868
|
let f = i ? `${c}/${i}` : `${c}`;
|
|
5862
5869
|
l && (f += " " + l);
|
|
5863
|
-
let d =
|
|
5870
|
+
let d = Fo(f, `bold ${Math.floor(u * 1.03)}px sans-serif`);
|
|
5864
5871
|
a && (d = d * 2), d >= t * 0.85 && (u = t * 0.85 / d * u);
|
|
5865
5872
|
const m = a && st(a);
|
|
5866
5873
|
return /* @__PURE__ */ n("div", {
|
|
@@ -5887,7 +5894,7 @@ function oc({
|
|
|
5887
5894
|
})
|
|
5888
5895
|
});
|
|
5889
5896
|
}
|
|
5890
|
-
function
|
|
5897
|
+
function sc({
|
|
5891
5898
|
measureRef: e,
|
|
5892
5899
|
height: t,
|
|
5893
5900
|
width: r,
|
|
@@ -5910,7 +5917,7 @@ function ic({
|
|
|
5910
5917
|
const v = `${i == null ? void 0 : i.toLocaleString("es-ES", {
|
|
5911
5918
|
useGrouping: !0
|
|
5912
5919
|
})}%`;
|
|
5913
|
-
let p =
|
|
5920
|
+
let p = Fo(v, `bold ${Math.floor(f * 1.03)}px sans-serif`);
|
|
5914
5921
|
l && (p = p * 1.5);
|
|
5915
5922
|
const h = l && st(l);
|
|
5916
5923
|
return (p >= r * 0.85 || f * 2 < c) && (f = r * 0.85 / p * f), /* @__PURE__ */ n("div", {
|
|
@@ -5961,22 +5968,22 @@ const Sn = (e) => (t) => {
|
|
|
5961
5968
|
});
|
|
5962
5969
|
return { name: e === "pie" ? t.x : t.type, value: r };
|
|
5963
5970
|
}, Jt = (e) => {
|
|
5964
|
-
if (typeof e == "string" &&
|
|
5971
|
+
if (typeof e == "string" && ac(e))
|
|
5965
5972
|
return parseFloat(e).toLocaleString("es-ES", {
|
|
5966
5973
|
useGrouping: !0
|
|
5967
5974
|
});
|
|
5968
|
-
if (
|
|
5975
|
+
if (lc(e))
|
|
5969
5976
|
return e.toLocaleString("es-ES", {
|
|
5970
5977
|
useGrouping: !0
|
|
5971
5978
|
});
|
|
5972
|
-
if (
|
|
5973
|
-
const t =
|
|
5979
|
+
if (cc(e)) {
|
|
5980
|
+
const t = dc(e);
|
|
5974
5981
|
return t === null ? e : dt(e, on.input[t]).format(
|
|
5975
5982
|
on.output[t]
|
|
5976
5983
|
);
|
|
5977
5984
|
} else
|
|
5978
5985
|
return e;
|
|
5979
|
-
},
|
|
5986
|
+
}, ac = (e) => /^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/.test(e), lc = (e) => typeof e == "number" && !isNaN(e), Sr = {
|
|
5980
5987
|
default: {
|
|
5981
5988
|
padding: "auto",
|
|
5982
5989
|
xAxis: {
|
|
@@ -6058,7 +6065,7 @@ const Sn = (e) => (t) => {
|
|
|
6058
6065
|
}
|
|
6059
6066
|
}
|
|
6060
6067
|
};
|
|
6061
|
-
function
|
|
6068
|
+
function cc(e) {
|
|
6062
6069
|
return typeof e != "string" || e === void 0 ? !1 : new Date(e).toString() !== "Invalid Date";
|
|
6063
6070
|
}
|
|
6064
6071
|
const on = {
|
|
@@ -6077,7 +6084,7 @@ const on = {
|
|
|
6077
6084
|
years: "YYYY"
|
|
6078
6085
|
}
|
|
6079
6086
|
};
|
|
6080
|
-
function
|
|
6087
|
+
function dc(e) {
|
|
6081
6088
|
for (const t in on.input)
|
|
6082
6089
|
if (dt(
|
|
6083
6090
|
e,
|
|
@@ -6088,10 +6095,10 @@ function cc(e) {
|
|
|
6088
6095
|
return null;
|
|
6089
6096
|
}
|
|
6090
6097
|
const {
|
|
6091
|
-
processGraphData:
|
|
6098
|
+
processGraphData: uc
|
|
6092
6099
|
} = Rr, {
|
|
6093
|
-
getFieldsToRetrieve:
|
|
6094
|
-
} =
|
|
6100
|
+
getFieldsToRetrieve: fc
|
|
6101
|
+
} = li, mc = (e) => {
|
|
6095
6102
|
const {
|
|
6096
6103
|
model: t,
|
|
6097
6104
|
domain: r = [],
|
|
@@ -6106,7 +6113,7 @@ const {
|
|
|
6106
6113
|
c(!0), d(void 0);
|
|
6107
6114
|
const O = $n(o);
|
|
6108
6115
|
y(O.type || "line");
|
|
6109
|
-
const _ =
|
|
6116
|
+
const _ = fc({
|
|
6110
6117
|
ooui: O
|
|
6111
6118
|
});
|
|
6112
6119
|
let b, A;
|
|
@@ -6114,7 +6121,7 @@ const {
|
|
|
6114
6121
|
({
|
|
6115
6122
|
values: b,
|
|
6116
6123
|
fields: A
|
|
6117
|
-
} = await
|
|
6124
|
+
} = await pc({
|
|
6118
6125
|
model: t,
|
|
6119
6126
|
domain: r,
|
|
6120
6127
|
context: i,
|
|
@@ -6133,7 +6140,7 @@ const {
|
|
|
6133
6140
|
return;
|
|
6134
6141
|
}
|
|
6135
6142
|
h(b);
|
|
6136
|
-
const I =
|
|
6143
|
+
const I = uc({
|
|
6137
6144
|
ooui: O,
|
|
6138
6145
|
values: b,
|
|
6139
6146
|
fields: A,
|
|
@@ -6156,7 +6163,7 @@ const {
|
|
|
6156
6163
|
evaluatedEntries: p
|
|
6157
6164
|
};
|
|
6158
6165
|
};
|
|
6159
|
-
async function
|
|
6166
|
+
async function hc({
|
|
6160
6167
|
model: e,
|
|
6161
6168
|
context: t,
|
|
6162
6169
|
fields: r
|
|
@@ -6167,7 +6174,7 @@ async function mc({
|
|
|
6167
6174
|
fields: r
|
|
6168
6175
|
});
|
|
6169
6176
|
}
|
|
6170
|
-
async function
|
|
6177
|
+
async function pc({
|
|
6171
6178
|
fields: e,
|
|
6172
6179
|
model: t,
|
|
6173
6180
|
domain: r,
|
|
@@ -6176,7 +6183,7 @@ async function hc({
|
|
|
6176
6183
|
limit: s,
|
|
6177
6184
|
manualIds: a
|
|
6178
6185
|
}) {
|
|
6179
|
-
const l = await
|
|
6186
|
+
const l = await hc({
|
|
6180
6187
|
model: t,
|
|
6181
6188
|
context: i,
|
|
6182
6189
|
fields: e
|
|
@@ -6205,11 +6212,11 @@ async function hc({
|
|
|
6205
6212
|
fields: l
|
|
6206
6213
|
};
|
|
6207
6214
|
}
|
|
6208
|
-
const
|
|
6209
|
-
line:
|
|
6210
|
-
bar:
|
|
6211
|
-
pie:
|
|
6212
|
-
},
|
|
6215
|
+
const gc = {
|
|
6216
|
+
line: Ti,
|
|
6217
|
+
bar: Fi,
|
|
6218
|
+
pie: Oi
|
|
6219
|
+
}, yc = (e) => {
|
|
6213
6220
|
var y;
|
|
6214
6221
|
const {
|
|
6215
6222
|
model: t,
|
|
@@ -6226,7 +6233,7 @@ const pc = {
|
|
|
6226
6233
|
values: f,
|
|
6227
6234
|
type: d,
|
|
6228
6235
|
evaluatedEntries: m
|
|
6229
|
-
} =
|
|
6236
|
+
} = mc({
|
|
6230
6237
|
model: t,
|
|
6231
6238
|
xml: o,
|
|
6232
6239
|
limit: s,
|
|
@@ -6252,7 +6259,7 @@ const pc = {
|
|
|
6252
6259
|
data: v,
|
|
6253
6260
|
isGroup: p,
|
|
6254
6261
|
isStack: h
|
|
6255
|
-
} = f, g =
|
|
6262
|
+
} = f, g = gc[d];
|
|
6256
6263
|
return g ? /* @__PURE__ */ H("div", {
|
|
6257
6264
|
style: {
|
|
6258
6265
|
padding: "1rem"
|
|
@@ -6265,7 +6272,7 @@ const pc = {
|
|
|
6265
6272
|
useGrouping: !0
|
|
6266
6273
|
})}`
|
|
6267
6274
|
}), /* @__PURE__ */ n(g, {
|
|
6268
|
-
...
|
|
6275
|
+
...vc({
|
|
6269
6276
|
type: d,
|
|
6270
6277
|
data: v,
|
|
6271
6278
|
isGroup: p,
|
|
@@ -6276,7 +6283,7 @@ const pc = {
|
|
|
6276
6283
|
children: `Unknown graph type: ${d}`
|
|
6277
6284
|
});
|
|
6278
6285
|
};
|
|
6279
|
-
function
|
|
6286
|
+
function vc(e) {
|
|
6280
6287
|
const {
|
|
6281
6288
|
type: t,
|
|
6282
6289
|
data: r,
|
|
@@ -6286,7 +6293,7 @@ function yc(e) {
|
|
|
6286
6293
|
let s = Sr[t];
|
|
6287
6294
|
return s || (s = Sr.default), s.data = r, t === "pie" ? (s.colorField = "x", s.angleField = "value") : (s.xField = "x", s.yField = "value", s.seriesField = "type", s.isGroup = i, o && (s.isStack = !0, s.groupField = "stacked")), s;
|
|
6288
6295
|
}
|
|
6289
|
-
const
|
|
6296
|
+
const wc = (e, t) => {
|
|
6290
6297
|
const {
|
|
6291
6298
|
view_id: r,
|
|
6292
6299
|
model: i,
|
|
@@ -6348,7 +6355,7 @@ const vc = (e, t) => {
|
|
|
6348
6355
|
field: y.field,
|
|
6349
6356
|
operator: y.operator
|
|
6350
6357
|
} : {};
|
|
6351
|
-
return /* @__PURE__ */ n(
|
|
6358
|
+
return /* @__PURE__ */ n(oc, {
|
|
6352
6359
|
showPercent: y.showPercent,
|
|
6353
6360
|
totalDomain: y.totalDomain,
|
|
6354
6361
|
colorCondition: y.color,
|
|
@@ -6364,7 +6371,7 @@ const vc = (e, t) => {
|
|
|
6364
6371
|
case "line":
|
|
6365
6372
|
case "bar":
|
|
6366
6373
|
case "pie":
|
|
6367
|
-
return /* @__PURE__ */ n(
|
|
6374
|
+
return /* @__PURE__ */ n(yc, {
|
|
6368
6375
|
model: i,
|
|
6369
6376
|
context: o,
|
|
6370
6377
|
domain: s,
|
|
@@ -6377,13 +6384,13 @@ const vc = (e, t) => {
|
|
|
6377
6384
|
children: `Graph ${f.type} not implemented`
|
|
6378
6385
|
});
|
|
6379
6386
|
}
|
|
6380
|
-
}, pn = vt(
|
|
6381
|
-
confirm:
|
|
6382
|
-
} = We,
|
|
6387
|
+
}, pn = vt(wc), {
|
|
6388
|
+
confirm: bc
|
|
6389
|
+
} = We, xc = ({
|
|
6383
6390
|
onOk: e,
|
|
6384
6391
|
lang: t
|
|
6385
6392
|
}) => {
|
|
6386
|
-
|
|
6393
|
+
bc({
|
|
6387
6394
|
title: _e("removeItems", t),
|
|
6388
6395
|
icon: /* @__PURE__ */ n(pt, {}),
|
|
6389
6396
|
centered: !0,
|
|
@@ -6393,12 +6400,12 @@ const vc = (e, t) => {
|
|
|
6393
6400
|
cancelText: _e("cancel", t)
|
|
6394
6401
|
});
|
|
6395
6402
|
}, {
|
|
6396
|
-
confirm:
|
|
6397
|
-
} = We,
|
|
6403
|
+
confirm: Cc
|
|
6404
|
+
} = We, Sc = ({
|
|
6398
6405
|
onOk: e,
|
|
6399
6406
|
lang: t
|
|
6400
6407
|
}) => {
|
|
6401
|
-
|
|
6408
|
+
Cc({
|
|
6402
6409
|
title: _e("unlinkItems", t),
|
|
6403
6410
|
icon: /* @__PURE__ */ n(pt, {}),
|
|
6404
6411
|
centered: !0,
|
|
@@ -6408,8 +6415,8 @@ const vc = (e, t) => {
|
|
|
6408
6415
|
cancelText: _e("cancel", t)
|
|
6409
6416
|
});
|
|
6410
6417
|
}, {
|
|
6411
|
-
useToken:
|
|
6412
|
-
} = $e,
|
|
6418
|
+
useToken: Tc
|
|
6419
|
+
} = $e, Fc = (e) => {
|
|
6413
6420
|
const {
|
|
6414
6421
|
title: t,
|
|
6415
6422
|
readOnly: r,
|
|
@@ -6428,7 +6435,7 @@ const vc = (e, t) => {
|
|
|
6428
6435
|
showToggleButton: h
|
|
6429
6436
|
} = e, {
|
|
6430
6437
|
token: g
|
|
6431
|
-
} =
|
|
6438
|
+
} = Tc();
|
|
6432
6439
|
function y() {
|
|
6433
6440
|
return /* @__PURE__ */ n("div", {
|
|
6434
6441
|
className: "inline-block w-3"
|
|
@@ -6453,7 +6460,7 @@ const vc = (e, t) => {
|
|
|
6453
6460
|
function _() {
|
|
6454
6461
|
return /* @__PURE__ */ n(Ge, {
|
|
6455
6462
|
tooltip: d ? "Unlink" : "Delete",
|
|
6456
|
-
icon: d ? /* @__PURE__ */ n(
|
|
6463
|
+
icon: d ? /* @__PURE__ */ n(hi, {}) : /* @__PURE__ */ n(Kn, {}),
|
|
6457
6464
|
onClick: a,
|
|
6458
6465
|
disabled: l === 0 || r || s !== "form" && v.length === 0
|
|
6459
6466
|
});
|
|
@@ -6494,17 +6501,17 @@ const vc = (e, t) => {
|
|
|
6494
6501
|
onClick: m
|
|
6495
6502
|
}), s !== "graph" && y(), s !== "graph" && _(), s === "form" && A(), y(), h && /* @__PURE__ */ n(Ge, {
|
|
6496
6503
|
tooltip: "Toggle view mode",
|
|
6497
|
-
icon: /* @__PURE__ */ n(
|
|
6504
|
+
icon: /* @__PURE__ */ n(mi, {}),
|
|
6498
6505
|
onClick: o
|
|
6499
6506
|
})]
|
|
6500
6507
|
})]
|
|
6501
6508
|
});
|
|
6502
|
-
},
|
|
6509
|
+
}, Oc = {
|
|
6503
6510
|
form: Ar,
|
|
6504
6511
|
tree: Dr,
|
|
6505
6512
|
graph: pn
|
|
6506
6513
|
};
|
|
6507
|
-
function
|
|
6514
|
+
function _c(e) {
|
|
6508
6515
|
const t = e.map((i) => i.id);
|
|
6509
6516
|
return e.filter((i, o) => {
|
|
6510
6517
|
const {
|
|
@@ -6513,7 +6520,7 @@ function Oc(e) {
|
|
|
6513
6520
|
return !t.includes(s, o + 1);
|
|
6514
6521
|
});
|
|
6515
6522
|
}
|
|
6516
|
-
const
|
|
6523
|
+
const Ic = (e) => {
|
|
6517
6524
|
var nt;
|
|
6518
6525
|
const {
|
|
6519
6526
|
value: t,
|
|
@@ -6527,7 +6534,7 @@ const _c = (e) => {
|
|
|
6527
6534
|
setCurrentView: l,
|
|
6528
6535
|
itemIndex: u,
|
|
6529
6536
|
setItemIndex: c
|
|
6530
|
-
} = Y(
|
|
6537
|
+
} = Y(To), f = Y(Ee), {
|
|
6531
6538
|
activeId: d,
|
|
6532
6539
|
getFields: m,
|
|
6533
6540
|
getValues: v,
|
|
@@ -6561,7 +6568,7 @@ const _c = (e) => {
|
|
|
6561
6568
|
var fe, Oe;
|
|
6562
6569
|
r == null || r({
|
|
6563
6570
|
fields: ((fe = o.get("form")) == null ? void 0 : fe.fields) || ((Oe = o.get("tree")) == null ? void 0 : Oe.fields),
|
|
6564
|
-
items:
|
|
6571
|
+
items: _c(Z)
|
|
6565
6572
|
});
|
|
6566
6573
|
}, Ae = async () => {
|
|
6567
6574
|
await de(), u > ee.length - 1 && u !== 0 && c(0);
|
|
@@ -6653,7 +6660,7 @@ const _c = (e) => {
|
|
|
6653
6660
|
}) : Z();
|
|
6654
6661
|
}, Je = () => {
|
|
6655
6662
|
if (ie) {
|
|
6656
|
-
|
|
6663
|
+
Sc({
|
|
6657
6664
|
lang: g,
|
|
6658
6665
|
onOk: () => {
|
|
6659
6666
|
a === "form" ? ue() : xe();
|
|
@@ -6661,7 +6668,7 @@ const _c = (e) => {
|
|
|
6661
6668
|
});
|
|
6662
6669
|
return;
|
|
6663
6670
|
}
|
|
6664
|
-
|
|
6671
|
+
xc({
|
|
6665
6672
|
lang: g,
|
|
6666
6673
|
onOk: () => {
|
|
6667
6674
|
a === "form" ? ue() : xe();
|
|
@@ -6729,7 +6736,7 @@ const _c = (e) => {
|
|
|
6729
6736
|
}
|
|
6730
6737
|
} : Ce);
|
|
6731
6738
|
else {
|
|
6732
|
-
const Ce =
|
|
6739
|
+
const Ce = xa(s);
|
|
6733
6740
|
ae = s.concat({
|
|
6734
6741
|
id: Ce,
|
|
6735
6742
|
operation: "pendingCreate",
|
|
@@ -6789,7 +6796,7 @@ const _c = (e) => {
|
|
|
6789
6796
|
}
|
|
6790
6797
|
};
|
|
6791
6798
|
function ke() {
|
|
6792
|
-
const Z =
|
|
6799
|
+
const Z = Oc[a];
|
|
6793
6800
|
if (a === "graph")
|
|
6794
6801
|
return $n(o.get("graph").arch).string;
|
|
6795
6802
|
{
|
|
@@ -6880,7 +6887,7 @@ const _c = (e) => {
|
|
|
6880
6887
|
});
|
|
6881
6888
|
const Ze = E;
|
|
6882
6889
|
return b ? /* @__PURE__ */ n(Me, {}) : /* @__PURE__ */ H(X, {
|
|
6883
|
-
children: [/* @__PURE__ */ n(
|
|
6890
|
+
children: [/* @__PURE__ */ n(Fc, {
|
|
6884
6891
|
mode: a,
|
|
6885
6892
|
title: ke(),
|
|
6886
6893
|
readOnly: q,
|
|
@@ -6915,7 +6922,7 @@ const _c = (e) => {
|
|
|
6915
6922
|
},
|
|
6916
6923
|
readOnly: q,
|
|
6917
6924
|
mustClearAfterSave: Ze
|
|
6918
|
-
}), /* @__PURE__ */ n(
|
|
6925
|
+
}), /* @__PURE__ */ n(xo, {
|
|
6919
6926
|
domain: k.current,
|
|
6920
6927
|
model: $,
|
|
6921
6928
|
context: {
|
|
@@ -6931,7 +6938,7 @@ const _c = (e) => {
|
|
|
6931
6938
|
}
|
|
6932
6939
|
})]
|
|
6933
6940
|
});
|
|
6934
|
-
},
|
|
6941
|
+
}, Dc = (e) => {
|
|
6935
6942
|
const {
|
|
6936
6943
|
ooui: t
|
|
6937
6944
|
} = e, {
|
|
@@ -6979,7 +6986,7 @@ const _c = (e) => {
|
|
|
6979
6986
|
message: f,
|
|
6980
6987
|
type: "error",
|
|
6981
6988
|
banner: !0
|
|
6982
|
-
}) : /* @__PURE__ */ n(
|
|
6989
|
+
}) : /* @__PURE__ */ n(rc, {
|
|
6983
6990
|
initialView: l,
|
|
6984
6991
|
children: /* @__PURE__ */ n(ve, {
|
|
6985
6992
|
required: s,
|
|
@@ -6995,15 +7002,15 @@ const _c = (e) => {
|
|
|
6995
7002
|
throw new Error();
|
|
6996
7003
|
},
|
|
6997
7004
|
...e,
|
|
6998
|
-
children: /* @__PURE__ */ n(
|
|
7005
|
+
children: /* @__PURE__ */ n(Ic, {
|
|
6999
7006
|
ooui: t,
|
|
7000
7007
|
views: m
|
|
7001
7008
|
})
|
|
7002
7009
|
})
|
|
7003
7010
|
});
|
|
7004
7011
|
}, {
|
|
7005
|
-
useToken:
|
|
7006
|
-
} = $e,
|
|
7012
|
+
useToken: Vc
|
|
7013
|
+
} = $e, Ac = (e) => {
|
|
7007
7014
|
const {
|
|
7008
7015
|
ooui: t
|
|
7009
7016
|
} = e, {
|
|
@@ -7013,11 +7020,11 @@ const _c = (e) => {
|
|
|
7013
7020
|
required: r,
|
|
7014
7021
|
type: "number",
|
|
7015
7022
|
...e,
|
|
7016
|
-
children: /* @__PURE__ */ n(
|
|
7023
|
+
children: /* @__PURE__ */ n(kc, {
|
|
7017
7024
|
ooui: t
|
|
7018
7025
|
})
|
|
7019
7026
|
});
|
|
7020
|
-
},
|
|
7027
|
+
}, kc = (e) => {
|
|
7021
7028
|
const {
|
|
7022
7029
|
ooui: t,
|
|
7023
7030
|
value: r,
|
|
@@ -7028,13 +7035,13 @@ const _c = (e) => {
|
|
|
7028
7035
|
required: a
|
|
7029
7036
|
} = t, {
|
|
7030
7037
|
token: l
|
|
7031
|
-
} =
|
|
7038
|
+
} = Vc(), u = a && !s ? {
|
|
7032
7039
|
backgroundColor: l.colorPrimaryBg
|
|
7033
7040
|
} : void 0, c = me(), [f, d] = T(), m = Y(Ee), {
|
|
7034
7041
|
elementHasLostFocus: v
|
|
7035
7042
|
} = m || {};
|
|
7036
7043
|
ge(() => {
|
|
7037
|
-
d(
|
|
7044
|
+
d(mo(r));
|
|
7038
7045
|
}, [r]);
|
|
7039
7046
|
const p = (y) => {
|
|
7040
7047
|
i == null || i(y);
|
|
@@ -7043,7 +7050,7 @@ const _c = (e) => {
|
|
|
7043
7050
|
c.current = y.target.value, d(y.target.value);
|
|
7044
7051
|
}
|
|
7045
7052
|
async function g() {
|
|
7046
|
-
p(
|
|
7053
|
+
p(Il(f)), await new Promise((y) => setTimeout(y, 300)), v == null || v();
|
|
7047
7054
|
}
|
|
7048
7055
|
return /* @__PURE__ */ n(Qe, {
|
|
7049
7056
|
value: f,
|
|
@@ -7056,14 +7063,14 @@ const _c = (e) => {
|
|
|
7056
7063
|
onBlur: g
|
|
7057
7064
|
});
|
|
7058
7065
|
};
|
|
7059
|
-
function
|
|
7066
|
+
function Oo(e) {
|
|
7060
7067
|
const {
|
|
7061
7068
|
ooui: t,
|
|
7062
7069
|
showLabel: r = !0,
|
|
7063
7070
|
responsiveBehaviour: i
|
|
7064
7071
|
} = e, o = st(t.icon || "");
|
|
7065
7072
|
return /* @__PURE__ */ n(X, {
|
|
7066
|
-
children: (t.label || o) && r ? /* @__PURE__ */ n(
|
|
7073
|
+
children: (t.label || o) && r ? /* @__PURE__ */ n(Ai, {
|
|
7067
7074
|
label: t.label,
|
|
7068
7075
|
icon: o,
|
|
7069
7076
|
children: /* @__PURE__ */ n(Dn, {
|
|
@@ -7077,9 +7084,9 @@ function Fo(e) {
|
|
|
7077
7084
|
});
|
|
7078
7085
|
}
|
|
7079
7086
|
const {
|
|
7080
|
-
TabPane:
|
|
7087
|
+
TabPane: Rc
|
|
7081
7088
|
} = Ir;
|
|
7082
|
-
function
|
|
7089
|
+
function Mc(e) {
|
|
7083
7090
|
const {
|
|
7084
7091
|
ooui: t,
|
|
7085
7092
|
responsiveBehaviour: r
|
|
@@ -7093,11 +7100,11 @@ function Rc(e) {
|
|
|
7093
7100
|
return /* @__PURE__ */ n(Ir, {
|
|
7094
7101
|
defaultActiveKey: "1",
|
|
7095
7102
|
tabPosition: t.tabPosition,
|
|
7096
|
-
children: i.filter((s) => !s.invisible).map((s) => /* @__PURE__ */ n(
|
|
7103
|
+
children: i.filter((s) => !s.invisible).map((s) => /* @__PURE__ */ n(Rc, {
|
|
7097
7104
|
tab: /* @__PURE__ */ H(X, {
|
|
7098
7105
|
children: [o(s.icon), " ", s.label]
|
|
7099
7106
|
}),
|
|
7100
|
-
children: /* @__PURE__ */ n(
|
|
7107
|
+
children: /* @__PURE__ */ n(Oo, {
|
|
7101
7108
|
ooui: s,
|
|
7102
7109
|
showLabel: !1,
|
|
7103
7110
|
responsiveBehaviour: r
|
|
@@ -7106,10 +7113,10 @@ function Rc(e) {
|
|
|
7106
7113
|
});
|
|
7107
7114
|
}
|
|
7108
7115
|
const {
|
|
7109
|
-
useToken:
|
|
7116
|
+
useToken: Ec
|
|
7110
7117
|
} = $e, {
|
|
7111
7118
|
TextArea: Vn
|
|
7112
|
-
} = Qe,
|
|
7119
|
+
} = Qe, $c = (e) => {
|
|
7113
7120
|
const {
|
|
7114
7121
|
ooui: t
|
|
7115
7122
|
} = e, {
|
|
@@ -7120,7 +7127,7 @@ const {
|
|
|
7120
7127
|
translatable: a
|
|
7121
7128
|
} = t, {
|
|
7122
7129
|
token: l
|
|
7123
|
-
} =
|
|
7130
|
+
} = Ec(), u = o && !i ? {
|
|
7124
7131
|
backgroundColor: l.colorPrimaryBg
|
|
7125
7132
|
} : void 0, c = Y(Ee), {
|
|
7126
7133
|
elementHasLostFocus: f
|
|
@@ -7128,7 +7135,7 @@ const {
|
|
|
7128
7135
|
return /* @__PURE__ */ n(ve, {
|
|
7129
7136
|
required: o,
|
|
7130
7137
|
...e,
|
|
7131
|
-
children: a ? /* @__PURE__ */ n(
|
|
7138
|
+
children: a ? /* @__PURE__ */ n(Lc, {
|
|
7132
7139
|
field: r,
|
|
7133
7140
|
height: s,
|
|
7134
7141
|
requiredStyle: u
|
|
@@ -7142,7 +7149,7 @@ const {
|
|
|
7142
7149
|
onBlur: f
|
|
7143
7150
|
})
|
|
7144
7151
|
});
|
|
7145
|
-
},
|
|
7152
|
+
}, Lc = ({
|
|
7146
7153
|
value: e,
|
|
7147
7154
|
field: t,
|
|
7148
7155
|
requiredStyle: r,
|
|
@@ -7226,7 +7233,7 @@ const {
|
|
|
7226
7233
|
})
|
|
7227
7234
|
})]
|
|
7228
7235
|
});
|
|
7229
|
-
},
|
|
7236
|
+
}, Nc = (e) => {
|
|
7230
7237
|
const {
|
|
7231
7238
|
ooui: t
|
|
7232
7239
|
} = e, {
|
|
@@ -7240,7 +7247,7 @@ const {
|
|
|
7240
7247
|
children: [o ? /* @__PURE__ */ n(o, {}) : null, r]
|
|
7241
7248
|
})
|
|
7242
7249
|
});
|
|
7243
|
-
},
|
|
7250
|
+
}, Pc = ({
|
|
7244
7251
|
model: e,
|
|
7245
7252
|
context: t,
|
|
7246
7253
|
locale: r,
|
|
@@ -7261,7 +7268,7 @@ const {
|
|
|
7261
7268
|
]);
|
|
7262
7269
|
const { datas: O } = await B.getHandler().exportData({
|
|
7263
7270
|
model: e,
|
|
7264
|
-
fields:
|
|
7271
|
+
fields: Wc({
|
|
7265
7272
|
keys: g.selectedKeys,
|
|
7266
7273
|
fields: l.current
|
|
7267
7274
|
}),
|
|
@@ -7290,7 +7297,7 @@ const {
|
|
|
7290
7297
|
fields: []
|
|
7291
7298
|
});
|
|
7292
7299
|
for (const [A, I] of Object.entries(b))
|
|
7293
|
-
b[A].string =
|
|
7300
|
+
b[A].string = Bc({
|
|
7294
7301
|
parentTitle: O.string,
|
|
7295
7302
|
title: I.string
|
|
7296
7303
|
});
|
|
@@ -7301,7 +7308,7 @@ const {
|
|
|
7301
7308
|
},
|
|
7302
7309
|
[l.current, e, t]
|
|
7303
7310
|
), m = Re(async () => {
|
|
7304
|
-
const g = await
|
|
7311
|
+
const g = await jc({ model: e, context: t }), y = await Yc({
|
|
7305
7312
|
predefinedExports: g,
|
|
7306
7313
|
fields: l.current,
|
|
7307
7314
|
onGetFieldChilds: d
|
|
@@ -7381,9 +7388,9 @@ const {
|
|
|
7381
7388
|
const o = e[i];
|
|
7382
7389
|
if (o.relation && o.is_function === !0)
|
|
7383
7390
|
continue;
|
|
7384
|
-
const s =
|
|
7391
|
+
const s = _o(o);
|
|
7385
7392
|
r.push({
|
|
7386
|
-
key:
|
|
7393
|
+
key: Hc({ key: i, parentKey: t }),
|
|
7387
7394
|
title: o.string,
|
|
7388
7395
|
tooltip: o.help,
|
|
7389
7396
|
required: o.required,
|
|
@@ -7391,7 +7398,7 @@ const {
|
|
|
7391
7398
|
});
|
|
7392
7399
|
}
|
|
7393
7400
|
return r;
|
|
7394
|
-
},
|
|
7401
|
+
}, _o = (e) => e.type === "many2one" || e.type === "one2many" || e.type === "many2many", Hc = ({
|
|
7395
7402
|
parentKey: e,
|
|
7396
7403
|
key: t
|
|
7397
7404
|
}) => `${e ? e + "/" : ""}${t}`, $t = (e) => e.indexOf("/") === -1 ? e : e.split("/").slice(0, -1).join("/"), An = (e) => {
|
|
@@ -7399,10 +7406,10 @@ const {
|
|
|
7399
7406
|
return e;
|
|
7400
7407
|
const t = e.split("/");
|
|
7401
7408
|
return t[t.length - 1];
|
|
7402
|
-
}, kn = (e, t) => e.indexOf("/") === -1 ? t["/"] : t[$t(e)],
|
|
7409
|
+
}, kn = (e, t) => e.indexOf("/") === -1 ? t["/"] : t[$t(e)], Bc = ({
|
|
7403
7410
|
title: e,
|
|
7404
7411
|
parentTitle: t
|
|
7405
|
-
}) => `${t ? t + " \u2192 " : ""}${e}`,
|
|
7412
|
+
}) => `${t ? t + " \u2192 " : ""}${e}`, jc = async ({
|
|
7406
7413
|
model: e,
|
|
7407
7414
|
context: t
|
|
7408
7415
|
}) => {
|
|
@@ -7422,10 +7429,10 @@ const {
|
|
|
7422
7429
|
key: o.find((u) => u.id === a).name
|
|
7423
7430
|
}))
|
|
7424
7431
|
}));
|
|
7425
|
-
},
|
|
7432
|
+
}, Kc = ({
|
|
7426
7433
|
fields: e,
|
|
7427
7434
|
keys: t
|
|
7428
|
-
}) =>
|
|
7435
|
+
}) => Uc([
|
|
7429
7436
|
...new Set(
|
|
7430
7437
|
t.filter((r) => {
|
|
7431
7438
|
var i, o, s;
|
|
@@ -7439,27 +7446,27 @@ const {
|
|
|
7439
7446
|
}
|
|
7440
7447
|
}).map((r) => $t(r))
|
|
7441
7448
|
)
|
|
7442
|
-
]),
|
|
7449
|
+
]), Yc = async ({
|
|
7443
7450
|
predefinedExports: e,
|
|
7444
7451
|
fields: t,
|
|
7445
7452
|
onGetFieldChilds: r
|
|
7446
7453
|
}) => {
|
|
7447
7454
|
const i = e.flatMap(
|
|
7448
7455
|
(a) => a.fields.map((l) => l.key)
|
|
7449
|
-
), o =
|
|
7456
|
+
), o = Kc({
|
|
7450
7457
|
fields: t,
|
|
7451
7458
|
keys: i
|
|
7452
7459
|
}), s = [];
|
|
7453
7460
|
for (const a of o)
|
|
7454
7461
|
s.push({ key: a, childs: await r(a) });
|
|
7455
7462
|
return s;
|
|
7456
|
-
},
|
|
7463
|
+
}, Wc = ({
|
|
7457
7464
|
keys: e,
|
|
7458
7465
|
fields: t
|
|
7459
7466
|
}) => e.map((r) => {
|
|
7460
7467
|
const i = An(r), s = kn(r, t)[i];
|
|
7461
|
-
return
|
|
7462
|
-
}),
|
|
7468
|
+
return _o(s) ? `${r}/id` : r;
|
|
7469
|
+
}), Uc = (e) => {
|
|
7463
7470
|
const t = /* @__PURE__ */ new Map(), r = [];
|
|
7464
7471
|
for (const i of e) {
|
|
7465
7472
|
const o = i.split("/");
|
|
@@ -7473,7 +7480,7 @@ const {
|
|
|
7473
7480
|
const s = i.split("/").length, a = o.split("/").length;
|
|
7474
7481
|
return s - a;
|
|
7475
7482
|
}), r;
|
|
7476
|
-
},
|
|
7483
|
+
}, Gc = (e) => {
|
|
7477
7484
|
const {
|
|
7478
7485
|
visible: t,
|
|
7479
7486
|
locale: r,
|
|
@@ -7492,7 +7499,7 @@ const {
|
|
|
7492
7499
|
onGetPredefinedExports: p,
|
|
7493
7500
|
onSavePredefinedExport: h,
|
|
7494
7501
|
onRemovePredefinedExport: g
|
|
7495
|
-
} =
|
|
7502
|
+
} = Pc({
|
|
7496
7503
|
model: o,
|
|
7497
7504
|
context: s,
|
|
7498
7505
|
domain: u,
|
|
@@ -7501,7 +7508,7 @@ const {
|
|
|
7501
7508
|
onClose: i,
|
|
7502
7509
|
locale: r
|
|
7503
7510
|
});
|
|
7504
|
-
return /* @__PURE__ */ n(
|
|
7511
|
+
return /* @__PURE__ */ n(ki, {
|
|
7505
7512
|
visible: t,
|
|
7506
7513
|
locale: r,
|
|
7507
7514
|
onSucceed: d,
|
|
@@ -7515,23 +7522,23 @@ const {
|
|
|
7515
7522
|
onSavePredefinedExport: h,
|
|
7516
7523
|
onRemovePredefinedExport: g
|
|
7517
7524
|
});
|
|
7518
|
-
},
|
|
7525
|
+
}, qc = (e) => {
|
|
7519
7526
|
const {
|
|
7520
7527
|
ooui: t
|
|
7521
7528
|
} = e;
|
|
7522
|
-
return /* @__PURE__ */ n(
|
|
7529
|
+
return /* @__PURE__ */ n(wo, {
|
|
7523
7530
|
ooui: t
|
|
7524
7531
|
});
|
|
7525
|
-
},
|
|
7532
|
+
}, zc = (e) => {
|
|
7526
7533
|
const {
|
|
7527
7534
|
ooui: t
|
|
7528
7535
|
} = e;
|
|
7529
|
-
return /* @__PURE__ */ n(
|
|
7536
|
+
return /* @__PURE__ */ n(wo, {
|
|
7530
7537
|
ooui: t,
|
|
7531
7538
|
showTime: !0
|
|
7532
7539
|
});
|
|
7533
7540
|
};
|
|
7534
|
-
var
|
|
7541
|
+
var Io = { exports: {} };
|
|
7535
7542
|
(function(e, t) {
|
|
7536
7543
|
(function(r, i) {
|
|
7537
7544
|
e.exports = i();
|
|
@@ -7660,25 +7667,25 @@ var _o = { exports: {} };
|
|
|
7660
7667
|
};
|
|
7661
7668
|
};
|
|
7662
7669
|
});
|
|
7663
|
-
})(
|
|
7664
|
-
const
|
|
7665
|
-
dt.extend(
|
|
7666
|
-
const
|
|
7670
|
+
})(Io);
|
|
7671
|
+
const Jc = Io.exports;
|
|
7672
|
+
dt.extend(Jc);
|
|
7673
|
+
const Zc = (e) => {
|
|
7667
7674
|
const {
|
|
7668
7675
|
ooui: t
|
|
7669
7676
|
} = e;
|
|
7670
7677
|
return /* @__PURE__ */ n(ve, {
|
|
7671
7678
|
...e,
|
|
7672
|
-
children: /* @__PURE__ */ n(
|
|
7679
|
+
children: /* @__PURE__ */ n(Xc, {
|
|
7673
7680
|
ooui: t
|
|
7674
7681
|
})
|
|
7675
7682
|
});
|
|
7676
|
-
},
|
|
7683
|
+
}, Xc = (e) => /* @__PURE__ */ n(_r, {
|
|
7677
7684
|
onChange: (r, i) => {
|
|
7678
7685
|
e.onChange && e.onChange(i);
|
|
7679
7686
|
},
|
|
7680
7687
|
value: e.value ? dt(e.value, "HH:mm:ss") : void 0
|
|
7681
|
-
}),
|
|
7688
|
+
}), Qc = (e) => {
|
|
7682
7689
|
const {
|
|
7683
7690
|
ooui: t
|
|
7684
7691
|
} = e, {
|
|
@@ -7687,11 +7694,11 @@ const Jc = (e) => {
|
|
|
7687
7694
|
return /* @__PURE__ */ n(ve, {
|
|
7688
7695
|
required: r,
|
|
7689
7696
|
...e,
|
|
7690
|
-
children: /* @__PURE__ */ n(
|
|
7697
|
+
children: /* @__PURE__ */ n(ed, {
|
|
7691
7698
|
ooui: t
|
|
7692
7699
|
})
|
|
7693
7700
|
});
|
|
7694
|
-
},
|
|
7701
|
+
}, ed = (e) => {
|
|
7695
7702
|
const {
|
|
7696
7703
|
value: t,
|
|
7697
7704
|
onChange: r,
|
|
@@ -7731,7 +7738,7 @@ const Jc = (e) => {
|
|
|
7731
7738
|
})
|
|
7732
7739
|
}), /* @__PURE__ */ n(ce, {
|
|
7733
7740
|
flex: "3",
|
|
7734
|
-
children: /* @__PURE__ */ n(
|
|
7741
|
+
children: /* @__PURE__ */ n(So, {
|
|
7735
7742
|
ooui: new Vr({
|
|
7736
7743
|
name: "object_value",
|
|
7737
7744
|
relation: f,
|
|
@@ -7748,8 +7755,8 @@ const Jc = (e) => {
|
|
|
7748
7755
|
})]
|
|
7749
7756
|
});
|
|
7750
7757
|
}, {
|
|
7751
|
-
useToken:
|
|
7752
|
-
} = $e,
|
|
7758
|
+
useToken: td
|
|
7759
|
+
} = $e, nd = (e) => {
|
|
7753
7760
|
const {
|
|
7754
7761
|
ooui: t
|
|
7755
7762
|
} = e, {
|
|
@@ -7758,11 +7765,11 @@ const Jc = (e) => {
|
|
|
7758
7765
|
return /* @__PURE__ */ n(ve, {
|
|
7759
7766
|
required: r,
|
|
7760
7767
|
...e,
|
|
7761
|
-
children: /* @__PURE__ */ n(
|
|
7768
|
+
children: /* @__PURE__ */ n(rd, {
|
|
7762
7769
|
ooui: t
|
|
7763
7770
|
})
|
|
7764
7771
|
});
|
|
7765
|
-
},
|
|
7772
|
+
}, rd = (e) => {
|
|
7766
7773
|
const {
|
|
7767
7774
|
ooui: t,
|
|
7768
7775
|
value: r,
|
|
@@ -7773,14 +7780,14 @@ const Jc = (e) => {
|
|
|
7773
7780
|
filenameField: a
|
|
7774
7781
|
} = t, {
|
|
7775
7782
|
token: l
|
|
7776
|
-
} =
|
|
7783
|
+
} = td(), u = s && !o ? {
|
|
7777
7784
|
backgroundColor: l.colorPrimaryBg
|
|
7778
7785
|
} : void 0, c = me(null), {
|
|
7779
7786
|
setFieldValue: f,
|
|
7780
7787
|
getFieldValue: d
|
|
7781
7788
|
} = Y(Ee) || {}, {
|
|
7782
7789
|
t: m
|
|
7783
|
-
} = Y(we), v = r ?
|
|
7790
|
+
} = Y(we), v = r ? pa(r) : "", p = (_) => {
|
|
7784
7791
|
i == null || i(_);
|
|
7785
7792
|
};
|
|
7786
7793
|
async function h() {
|
|
@@ -7829,7 +7836,7 @@ const Jc = (e) => {
|
|
|
7829
7836
|
},
|
|
7830
7837
|
children: "Select"
|
|
7831
7838
|
}), /* @__PURE__ */ n(Ie, {
|
|
7832
|
-
icon: /* @__PURE__ */ n(
|
|
7839
|
+
icon: /* @__PURE__ */ n(pi, {}),
|
|
7833
7840
|
disabled: !r,
|
|
7834
7841
|
onClick: g,
|
|
7835
7842
|
children: m("open")
|
|
@@ -7850,8 +7857,8 @@ const Jc = (e) => {
|
|
|
7850
7857
|
}, Tn = {
|
|
7851
7858
|
tree: /* @__PURE__ */ n(Yn, {}),
|
|
7852
7859
|
form: /* @__PURE__ */ n(Nt, {}),
|
|
7853
|
-
graph: /* @__PURE__ */ n(
|
|
7854
|
-
calendar: /* @__PURE__ */ n(
|
|
7860
|
+
graph: /* @__PURE__ */ n(gi, {}),
|
|
7861
|
+
calendar: /* @__PURE__ */ n(yi, {})
|
|
7855
7862
|
};
|
|
7856
7863
|
function Fr(e) {
|
|
7857
7864
|
return e ? (Tn == null ? void 0 : Tn[e.type]) || /* @__PURE__ */ n(Nt, {}) : /* @__PURE__ */ n(Nt, {});
|
|
@@ -8008,7 +8015,7 @@ function Ue(e) {
|
|
|
8008
8015
|
children: [i ? /* @__PURE__ */ n(et, {}) : s, a]
|
|
8009
8016
|
});
|
|
8010
8017
|
}
|
|
8011
|
-
function
|
|
8018
|
+
function Do(e) {
|
|
8012
8019
|
const {
|
|
8013
8020
|
disabled: t = !1
|
|
8014
8021
|
} = e, {
|
|
@@ -8037,13 +8044,13 @@ function Io(e) {
|
|
|
8037
8044
|
});
|
|
8038
8045
|
}
|
|
8039
8046
|
const {
|
|
8040
|
-
confirm:
|
|
8041
|
-
} = We,
|
|
8047
|
+
confirm: od
|
|
8048
|
+
} = We, id = ({
|
|
8042
8049
|
onOk: e,
|
|
8043
8050
|
onCancel: t,
|
|
8044
8051
|
lang: r
|
|
8045
8052
|
}) => {
|
|
8046
|
-
|
|
8053
|
+
od({
|
|
8047
8054
|
title: _e("unsavedChanges", r),
|
|
8048
8055
|
icon: /* @__PURE__ */ n(pt, {}),
|
|
8049
8056
|
centered: !0,
|
|
@@ -8054,7 +8061,7 @@ const {
|
|
|
8054
8061
|
onCancel: t
|
|
8055
8062
|
});
|
|
8056
8063
|
};
|
|
8057
|
-
async function
|
|
8064
|
+
async function Vo(e, t, r) {
|
|
8058
8065
|
const i = (await B.getHandler().getLogInfo({
|
|
8059
8066
|
model: e,
|
|
8060
8067
|
ids: [t]
|
|
@@ -8069,7 +8076,7 @@ async function Do(e, t, r) {
|
|
|
8069
8076
|
children: ["ID: " + a, " ", /* @__PURE__ */ n("br", {}), r("createdBy") + ": " + s[1], " ", /* @__PURE__ */ n("br", {}), r("creationDate") + ": " + o, " ", /* @__PURE__ */ n("br", {}), r("lastUpdatedBy") + ": " + u[1], " ", /* @__PURE__ */ n("br", {}), r("lastUpdatedDate") + ": " + l]
|
|
8070
8077
|
}));
|
|
8071
8078
|
}
|
|
8072
|
-
const
|
|
8079
|
+
const sd = (e) => {
|
|
8073
8080
|
const {
|
|
8074
8081
|
numberOfAttachments: t,
|
|
8075
8082
|
disabled: r
|
|
@@ -8084,16 +8091,16 @@ const id = (e) => {
|
|
|
8084
8091
|
}
|
|
8085
8092
|
})]
|
|
8086
8093
|
});
|
|
8087
|
-
return r ? l : /* @__PURE__ */ n(
|
|
8094
|
+
return r ? l : /* @__PURE__ */ n(ti, {
|
|
8088
8095
|
onVisibleChange: (u) => a(u),
|
|
8089
8096
|
visible: s,
|
|
8090
8097
|
placement: "bottom",
|
|
8091
|
-
content:
|
|
8098
|
+
content: ad(e, a, o),
|
|
8092
8099
|
title: i("attachments"),
|
|
8093
8100
|
arrowContent: null,
|
|
8094
8101
|
children: l
|
|
8095
8102
|
});
|
|
8096
|
-
},
|
|
8103
|
+
}, ad = (e, t, r) => {
|
|
8097
8104
|
const {
|
|
8098
8105
|
attachments: i = [],
|
|
8099
8106
|
loading: o,
|
|
@@ -8179,7 +8186,7 @@ const id = (e) => {
|
|
|
8179
8186
|
})]
|
|
8180
8187
|
});
|
|
8181
8188
|
};
|
|
8182
|
-
function
|
|
8189
|
+
function ld(e) {
|
|
8183
8190
|
const {
|
|
8184
8191
|
attachments: t,
|
|
8185
8192
|
disabled: r = !1,
|
|
@@ -8237,7 +8244,7 @@ function ad(e) {
|
|
|
8237
8244
|
return ge(() => {
|
|
8238
8245
|
p();
|
|
8239
8246
|
}, [p]), /* @__PURE__ */ H(X, {
|
|
8240
|
-
children: [/* @__PURE__ */ n(
|
|
8247
|
+
children: [/* @__PURE__ */ n(sd, {
|
|
8241
8248
|
numberOfAttachments: t.length,
|
|
8242
8249
|
attachments: c,
|
|
8243
8250
|
disabled: r,
|
|
@@ -8257,7 +8264,7 @@ function ad(e) {
|
|
|
8257
8264
|
})]
|
|
8258
8265
|
});
|
|
8259
8266
|
}
|
|
8260
|
-
function
|
|
8267
|
+
function cd({
|
|
8261
8268
|
toolbar: e
|
|
8262
8269
|
}) {
|
|
8263
8270
|
const {
|
|
@@ -8296,7 +8303,7 @@ function ld({
|
|
|
8296
8303
|
} = S || {};
|
|
8297
8304
|
function E($) {
|
|
8298
8305
|
if (s) {
|
|
8299
|
-
|
|
8306
|
+
id({
|
|
8300
8307
|
lang: F,
|
|
8301
8308
|
onOk: () => {
|
|
8302
8309
|
$();
|
|
@@ -8380,10 +8387,10 @@ function ld({
|
|
|
8380
8387
|
wrap: !0,
|
|
8381
8388
|
children: [O && /* @__PURE__ */ H(X, {
|
|
8382
8389
|
children: [/* @__PURE__ */ n(Me, {}), Ct(), Ct()]
|
|
8383
|
-
}), /* @__PURE__ */ n(
|
|
8390
|
+
}), /* @__PURE__ */ n(Do, {
|
|
8384
8391
|
disabled: a || O || p || h
|
|
8385
8392
|
}), /* @__PURE__ */ n(Ue, {
|
|
8386
|
-
icon: /* @__PURE__ */ n(
|
|
8393
|
+
icon: /* @__PURE__ */ n(vi, {}),
|
|
8387
8394
|
tooltip: x("save"),
|
|
8388
8395
|
disabled: !s || z,
|
|
8389
8396
|
loading: a,
|
|
@@ -8406,7 +8413,7 @@ function ld({
|
|
|
8406
8413
|
disabled: a || l === void 0 || p || h || O,
|
|
8407
8414
|
loading: !1,
|
|
8408
8415
|
onClick: () => {
|
|
8409
|
-
|
|
8416
|
+
Vo(m, l, x);
|
|
8410
8417
|
}
|
|
8411
8418
|
}), /* @__PURE__ */ n(Ue, {
|
|
8412
8419
|
icon: /* @__PURE__ */ n(cn, {}),
|
|
@@ -8490,7 +8497,7 @@ function ld({
|
|
|
8490
8497
|
action_type: $.type
|
|
8491
8498
|
});
|
|
8492
8499
|
}
|
|
8493
|
-
}), /* @__PURE__ */ n(
|
|
8500
|
+
}), /* @__PURE__ */ n(ld, {
|
|
8494
8501
|
disabled: z,
|
|
8495
8502
|
attachments: _,
|
|
8496
8503
|
onAddNewAttachment: async () => {
|
|
@@ -8555,8 +8562,8 @@ async function St({
|
|
|
8555
8562
|
};
|
|
8556
8563
|
}
|
|
8557
8564
|
const {
|
|
8558
|
-
useToken:
|
|
8559
|
-
} = $e,
|
|
8565
|
+
useToken: dd
|
|
8566
|
+
} = $e, Ao = (e) => {
|
|
8560
8567
|
const {
|
|
8561
8568
|
ooui: t,
|
|
8562
8569
|
value: r,
|
|
@@ -8569,7 +8576,7 @@ const {
|
|
|
8569
8576
|
required: u
|
|
8570
8577
|
} = t, {
|
|
8571
8578
|
token: c
|
|
8572
|
-
} =
|
|
8579
|
+
} = dd(), f = u && !l ? {
|
|
8573
8580
|
backgroundColor: c.colorPrimaryBg
|
|
8574
8581
|
} : void 0, d = Y(Ee), {
|
|
8575
8582
|
elementHasLostFocus: m
|
|
@@ -8632,7 +8639,7 @@ const {
|
|
|
8632
8639
|
})
|
|
8633
8640
|
})]
|
|
8634
8641
|
});
|
|
8635
|
-
},
|
|
8642
|
+
}, ud = (e) => {
|
|
8636
8643
|
const {
|
|
8637
8644
|
ooui: t
|
|
8638
8645
|
} = e, {
|
|
@@ -8641,12 +8648,12 @@ const {
|
|
|
8641
8648
|
return /* @__PURE__ */ n(ve, {
|
|
8642
8649
|
required: r,
|
|
8643
8650
|
...e,
|
|
8644
|
-
children: /* @__PURE__ */ n(
|
|
8651
|
+
children: /* @__PURE__ */ n(Ao, {
|
|
8645
8652
|
ooui: t,
|
|
8646
|
-
valueValidator: (i) => i ?
|
|
8653
|
+
valueValidator: (i) => i ? Ri(i) : !1
|
|
8647
8654
|
})
|
|
8648
8655
|
});
|
|
8649
|
-
},
|
|
8656
|
+
}, fd = (e) => {
|
|
8650
8657
|
const {
|
|
8651
8658
|
ooui: t
|
|
8652
8659
|
} = e, {
|
|
@@ -8655,13 +8662,13 @@ const {
|
|
|
8655
8662
|
return /* @__PURE__ */ n(ve, {
|
|
8656
8663
|
required: r,
|
|
8657
8664
|
...e,
|
|
8658
|
-
children: /* @__PURE__ */ n(
|
|
8665
|
+
children: /* @__PURE__ */ n(Ao, {
|
|
8659
8666
|
ooui: t,
|
|
8660
8667
|
linkPrefix: "mailto:",
|
|
8661
|
-
valueValidator: (i) => i ?
|
|
8668
|
+
valueValidator: (i) => i ? Mi(i) : !1
|
|
8662
8669
|
})
|
|
8663
8670
|
});
|
|
8664
|
-
},
|
|
8671
|
+
}, md = (e) => {
|
|
8665
8672
|
const {
|
|
8666
8673
|
visible: t,
|
|
8667
8674
|
onIdSubmitted: r,
|
|
@@ -8726,15 +8733,15 @@ const {
|
|
|
8726
8733
|
})
|
|
8727
8734
|
});
|
|
8728
8735
|
}, {
|
|
8729
|
-
useToken:
|
|
8736
|
+
useToken: hd
|
|
8730
8737
|
} = $e;
|
|
8731
|
-
function
|
|
8738
|
+
function ko(e) {
|
|
8732
8739
|
const {
|
|
8733
8740
|
badgeNumber: t = 0,
|
|
8734
8741
|
...r
|
|
8735
8742
|
} = e, {
|
|
8736
8743
|
token: i
|
|
8737
|
-
} =
|
|
8744
|
+
} = hd();
|
|
8738
8745
|
return /* @__PURE__ */ H("div", {
|
|
8739
8746
|
style: {
|
|
8740
8747
|
position: "relative"
|
|
@@ -8768,7 +8775,7 @@ function Ao(e) {
|
|
|
8768
8775
|
})]
|
|
8769
8776
|
});
|
|
8770
8777
|
}
|
|
8771
|
-
function
|
|
8778
|
+
function pd({
|
|
8772
8779
|
refreshGraph: e
|
|
8773
8780
|
}) {
|
|
8774
8781
|
const {
|
|
@@ -8786,7 +8793,7 @@ function hd({
|
|
|
8786
8793
|
} = Y(Xe);
|
|
8787
8794
|
return /* @__PURE__ */ H(je, {
|
|
8788
8795
|
wrap: !0,
|
|
8789
|
-
children: [/* @__PURE__ */ n(
|
|
8796
|
+
children: [/* @__PURE__ */ n(ko, {
|
|
8790
8797
|
icon: /* @__PURE__ */ n(Ur, {
|
|
8791
8798
|
style: {
|
|
8792
8799
|
color: a ? "white" : void 0
|
|
@@ -8819,9 +8826,9 @@ function hd({
|
|
|
8819
8826
|
});
|
|
8820
8827
|
}
|
|
8821
8828
|
const {
|
|
8822
|
-
useToken:
|
|
8829
|
+
useToken: gd
|
|
8823
8830
|
} = $e, {
|
|
8824
|
-
Title:
|
|
8831
|
+
Title: yd,
|
|
8825
8832
|
Text: Zt
|
|
8826
8833
|
} = sn;
|
|
8827
8834
|
function gn(e) {
|
|
@@ -8840,7 +8847,7 @@ function gn(e) {
|
|
|
8840
8847
|
t: f
|
|
8841
8848
|
} = Y(we), {
|
|
8842
8849
|
token: d
|
|
8843
|
-
} =
|
|
8850
|
+
} = gd();
|
|
8844
8851
|
function m() {
|
|
8845
8852
|
if ((o == null ? void 0 : o.type) === "form")
|
|
8846
8853
|
return s ? u === 0 ? /* @__PURE__ */ H(X, {
|
|
@@ -8895,7 +8902,7 @@ function gn(e) {
|
|
|
8895
8902
|
align: "middle",
|
|
8896
8903
|
children: [/* @__PURE__ */ H(ce, {
|
|
8897
8904
|
flex: 2,
|
|
8898
|
-
children: [/* @__PURE__ */ n(
|
|
8905
|
+
children: [/* @__PURE__ */ n(yd, {
|
|
8899
8906
|
level: 3,
|
|
8900
8907
|
style: {
|
|
8901
8908
|
marginBottom: 0
|
|
@@ -8914,7 +8921,7 @@ function gn(e) {
|
|
|
8914
8921
|
})]
|
|
8915
8922
|
});
|
|
8916
8923
|
}
|
|
8917
|
-
const
|
|
8924
|
+
const vd = (e) => {
|
|
8918
8925
|
const {
|
|
8919
8926
|
viewData: t,
|
|
8920
8927
|
visible: r,
|
|
@@ -8956,7 +8963,7 @@ const yd = (e) => {
|
|
|
8956
8963
|
searchError: D,
|
|
8957
8964
|
offset: k,
|
|
8958
8965
|
tableRefreshing: N
|
|
8959
|
-
} =
|
|
8966
|
+
} = co({
|
|
8960
8967
|
model: i,
|
|
8961
8968
|
setSearchTreeNameSearch: A,
|
|
8962
8969
|
setSelectedRowItems: p,
|
|
@@ -8982,12 +8989,12 @@ const yd = (e) => {
|
|
|
8982
8989
|
return !r || !t ? null : /* @__PURE__ */ H(X, {
|
|
8983
8990
|
children: [/* @__PURE__ */ n(gn, {
|
|
8984
8991
|
title: t.name,
|
|
8985
|
-
children: /* @__PURE__ */ n(
|
|
8992
|
+
children: /* @__PURE__ */ n(pd, {
|
|
8986
8993
|
refreshGraph: () => {
|
|
8987
8994
|
u.current.refresh();
|
|
8988
8995
|
}
|
|
8989
8996
|
})
|
|
8990
|
-
}), /* @__PURE__ */ n(
|
|
8997
|
+
}), /* @__PURE__ */ n(fo, {
|
|
8991
8998
|
fields: {
|
|
8992
8999
|
...l.fields,
|
|
8993
9000
|
...a.fields
|
|
@@ -9015,7 +9022,7 @@ const yd = (e) => {
|
|
|
9015
9022
|
manualIds: S ? v == null ? void 0 : v.map((j) => j.id) : void 0
|
|
9016
9023
|
})]
|
|
9017
9024
|
});
|
|
9018
|
-
},
|
|
9025
|
+
}, wd = (e) => {
|
|
9019
9026
|
const {
|
|
9020
9027
|
visible: t,
|
|
9021
9028
|
formRef: r,
|
|
@@ -9032,7 +9039,7 @@ const yd = (e) => {
|
|
|
9032
9039
|
} = e;
|
|
9033
9040
|
return t ? /* @__PURE__ */ H(X, {
|
|
9034
9041
|
children: [/* @__PURE__ */ n(gn, {
|
|
9035
|
-
children: /* @__PURE__ */ n(
|
|
9042
|
+
children: /* @__PURE__ */ n(cd, {
|
|
9036
9043
|
toolbar: a == null ? void 0 : a.toolbar
|
|
9037
9044
|
})
|
|
9038
9045
|
}), /* @__PURE__ */ n(Wt, {
|
|
@@ -9051,7 +9058,7 @@ const yd = (e) => {
|
|
|
9051
9058
|
})]
|
|
9052
9059
|
}) : null;
|
|
9053
9060
|
};
|
|
9054
|
-
function
|
|
9061
|
+
function bd(e) {
|
|
9055
9062
|
const {
|
|
9056
9063
|
onSearch: t,
|
|
9057
9064
|
disabled: r = !1,
|
|
@@ -9095,7 +9102,7 @@ function wd(e) {
|
|
|
9095
9102
|
},
|
|
9096
9103
|
suffix: (a || i && i.length > 0) && /* @__PURE__ */ n(ht, {
|
|
9097
9104
|
title: o("clear"),
|
|
9098
|
-
children: /* @__PURE__ */ n(
|
|
9105
|
+
children: /* @__PURE__ */ n(wi, {
|
|
9099
9106
|
style: {
|
|
9100
9107
|
color: "rgba(0,0,0,.45)"
|
|
9101
9108
|
},
|
|
@@ -9118,10 +9125,10 @@ function wd(e) {
|
|
|
9118
9125
|
})
|
|
9119
9126
|
});
|
|
9120
9127
|
}
|
|
9121
|
-
const
|
|
9128
|
+
const xd = qe.createContext({
|
|
9122
9129
|
previewFeatures: !1
|
|
9123
9130
|
});
|
|
9124
|
-
function
|
|
9131
|
+
function Cd(e) {
|
|
9125
9132
|
var z;
|
|
9126
9133
|
const {
|
|
9127
9134
|
availableViews: t,
|
|
@@ -9153,7 +9160,7 @@ function xd(e) {
|
|
|
9153
9160
|
toolbar: F
|
|
9154
9161
|
} = e, {
|
|
9155
9162
|
previewFeatures: C
|
|
9156
|
-
} = Y(
|
|
9163
|
+
} = Y(xd), {
|
|
9157
9164
|
t: L,
|
|
9158
9165
|
lang: S
|
|
9159
9166
|
} = Y(we), R = Y(Rt), {
|
|
@@ -9221,13 +9228,13 @@ function xd(e) {
|
|
|
9221
9228
|
return /* @__PURE__ */ H(je, {
|
|
9222
9229
|
wrap: !0,
|
|
9223
9230
|
children: [x ? null : /* @__PURE__ */ H(X, {
|
|
9224
|
-
children: [/* @__PURE__ */ n(
|
|
9231
|
+
children: [/* @__PURE__ */ n(bd, {
|
|
9225
9232
|
disabled: l || a || O,
|
|
9226
9233
|
searchText: y,
|
|
9227
9234
|
onSearch: (q) => {
|
|
9228
9235
|
q && q.trim().length > 0 ? g == null || g(q) : g == null || g(void 0);
|
|
9229
9236
|
}
|
|
9230
|
-
}), !x && /* @__PURE__ */ n(
|
|
9237
|
+
}), !x && /* @__PURE__ */ n(ko, {
|
|
9231
9238
|
icon: /* @__PURE__ */ n(Ur, {
|
|
9232
9239
|
style: {
|
|
9233
9240
|
color: p ? "white" : void 0
|
|
@@ -9240,7 +9247,7 @@ function xd(e) {
|
|
|
9240
9247
|
},
|
|
9241
9248
|
disabled: l || a || O,
|
|
9242
9249
|
badgeNumber: v == null ? void 0 : v.length
|
|
9243
|
-
}), Et(), /* @__PURE__ */ n(
|
|
9250
|
+
}), Et(), /* @__PURE__ */ n(Do, {
|
|
9244
9251
|
disabled: O
|
|
9245
9252
|
}), /* @__PURE__ */ n(Ue, {
|
|
9246
9253
|
icon: /* @__PURE__ */ n(Wn, {}),
|
|
@@ -9261,7 +9268,7 @@ function xd(e) {
|
|
|
9261
9268
|
disabled: !(o && (o == null ? void 0 : o.length) > 0) || O,
|
|
9262
9269
|
loading: !1,
|
|
9263
9270
|
onClick: () => {
|
|
9264
|
-
|
|
9271
|
+
Vo(c, o[0].id, L);
|
|
9265
9272
|
}
|
|
9266
9273
|
}), /* @__PURE__ */ n(Ue, {
|
|
9267
9274
|
icon: /* @__PURE__ */ n(cn, {}),
|
|
@@ -9360,7 +9367,7 @@ function xd(e) {
|
|
|
9360
9367
|
D(!0);
|
|
9361
9368
|
},
|
|
9362
9369
|
disabled: l || a || O || k
|
|
9363
|
-
}), /* @__PURE__ */ n(
|
|
9370
|
+
}), /* @__PURE__ */ n(Gc, {
|
|
9364
9371
|
visible: E,
|
|
9365
9372
|
locale: S,
|
|
9366
9373
|
onClose: () => D(!1),
|
|
@@ -9380,7 +9387,7 @@ function Et() {
|
|
|
9380
9387
|
className: "inline-block w-2"
|
|
9381
9388
|
});
|
|
9382
9389
|
}
|
|
9383
|
-
const
|
|
9390
|
+
const Sd = (e) => {
|
|
9384
9391
|
const {
|
|
9385
9392
|
visible: t,
|
|
9386
9393
|
searchTreeRef: r,
|
|
@@ -9401,12 +9408,12 @@ const Cd = (e) => {
|
|
|
9401
9408
|
} = Y(Xe);
|
|
9402
9409
|
return t ? /* @__PURE__ */ H(X, {
|
|
9403
9410
|
children: [/* @__PURE__ */ n(gn, {
|
|
9404
|
-
children: /* @__PURE__ */ n(
|
|
9411
|
+
children: /* @__PURE__ */ n(Cd, {
|
|
9405
9412
|
toolbar: a == null ? void 0 : a.toolbar,
|
|
9406
9413
|
parentContext: o,
|
|
9407
9414
|
treeExpandable: (a == null ? void 0 : a.isExpandable) || !1
|
|
9408
9415
|
})
|
|
9409
|
-
}), /* @__PURE__ */ n(
|
|
9416
|
+
}), /* @__PURE__ */ n(bo, {
|
|
9410
9417
|
ref: r,
|
|
9411
9418
|
rootTree: !0,
|
|
9412
9419
|
model: i,
|
|
@@ -9427,7 +9434,7 @@ const Cd = (e) => {
|
|
|
9427
9434
|
}
|
|
9428
9435
|
})]
|
|
9429
9436
|
}) : null;
|
|
9430
|
-
}, Zn = qe.createContext(null),
|
|
9437
|
+
}, Zn = qe.createContext(null), Td = (e) => {
|
|
9431
9438
|
const [t, r] = T(!1), [i, o] = T(!1), {
|
|
9432
9439
|
children: s,
|
|
9433
9440
|
dashboardRef: a,
|
|
@@ -9445,7 +9452,7 @@ const Cd = (e) => {
|
|
|
9445
9452
|
children: s
|
|
9446
9453
|
});
|
|
9447
9454
|
};
|
|
9448
|
-
function
|
|
9455
|
+
function Fd() {
|
|
9449
9456
|
const {
|
|
9450
9457
|
isLoading: e,
|
|
9451
9458
|
dashboardRef: t,
|
|
@@ -9457,7 +9464,7 @@ function Td() {
|
|
|
9457
9464
|
return /* @__PURE__ */ H(je, {
|
|
9458
9465
|
wrap: !0,
|
|
9459
9466
|
children: [/* @__PURE__ */ n(Ue, {
|
|
9460
|
-
icon: /* @__PURE__ */ n(
|
|
9467
|
+
icon: /* @__PURE__ */ n(bi, {
|
|
9461
9468
|
style: {
|
|
9462
9469
|
color: r ? "white" : void 0
|
|
9463
9470
|
}
|
|
@@ -9469,8 +9476,8 @@ function Td() {
|
|
|
9469
9476
|
onClick: () => {
|
|
9470
9477
|
i(!r);
|
|
9471
9478
|
}
|
|
9472
|
-
}),
|
|
9473
|
-
icon: /* @__PURE__ */ n(
|
|
9479
|
+
}), Od(), /* @__PURE__ */ n(Ue, {
|
|
9480
|
+
icon: /* @__PURE__ */ n(xi, {}),
|
|
9474
9481
|
tooltip: o("configDashboard"),
|
|
9475
9482
|
disabled: e,
|
|
9476
9483
|
loading: !1,
|
|
@@ -9488,25 +9495,25 @@ function Td() {
|
|
|
9488
9495
|
})]
|
|
9489
9496
|
});
|
|
9490
9497
|
}
|
|
9491
|
-
function
|
|
9498
|
+
function Od() {
|
|
9492
9499
|
return /* @__PURE__ */ n("div", {
|
|
9493
9500
|
className: "inline-block w-2"
|
|
9494
9501
|
});
|
|
9495
9502
|
}
|
|
9496
|
-
const
|
|
9503
|
+
const _d = (e) => {
|
|
9497
9504
|
const {
|
|
9498
9505
|
dashboardData: t
|
|
9499
9506
|
} = e, r = me(), i = Y(at), {
|
|
9500
9507
|
openShortcut: o
|
|
9501
9508
|
} = i || {};
|
|
9502
|
-
return t ? /* @__PURE__ */ H(
|
|
9509
|
+
return t ? /* @__PURE__ */ H(Td, {
|
|
9503
9510
|
dashboardRef: r,
|
|
9504
9511
|
openAction: (s) => {
|
|
9505
9512
|
o(s);
|
|
9506
9513
|
},
|
|
9507
9514
|
children: [/* @__PURE__ */ n(gn, {
|
|
9508
|
-
children: /* @__PURE__ */ n(
|
|
9509
|
-
}), /* @__PURE__ */ n(
|
|
9515
|
+
children: /* @__PURE__ */ n(Fd, {})
|
|
9516
|
+
}), /* @__PURE__ */ n(Hd, {
|
|
9510
9517
|
ref: r,
|
|
9511
9518
|
model: t.model,
|
|
9512
9519
|
id: t.id,
|
|
@@ -9515,7 +9522,7 @@ const Od = (e) => {
|
|
|
9515
9522
|
})]
|
|
9516
9523
|
}) : null;
|
|
9517
9524
|
};
|
|
9518
|
-
async function
|
|
9525
|
+
async function Id(e) {
|
|
9519
9526
|
const t = await Promise.all(
|
|
9520
9527
|
e.map(async (i) => {
|
|
9521
9528
|
try {
|
|
@@ -9530,7 +9537,7 @@ async function _d(e) {
|
|
|
9530
9537
|
info: t[o]
|
|
9531
9538
|
})).filter((i) => i.info !== null);
|
|
9532
9539
|
}
|
|
9533
|
-
function
|
|
9540
|
+
function Dd(e, t) {
|
|
9534
9541
|
const {
|
|
9535
9542
|
domain: r,
|
|
9536
9543
|
model: i,
|
|
@@ -9557,7 +9564,7 @@ function Id(e, t) {
|
|
|
9557
9564
|
openAction: Ae,
|
|
9558
9565
|
onRemoveTab: de
|
|
9559
9566
|
} = se || {};
|
|
9560
|
-
|
|
9567
|
+
Ei("ctrl+g,command+g", (te) => {
|
|
9561
9568
|
te.preventDefault(), He();
|
|
9562
9569
|
}, [ye, pe, y, L, R]);
|
|
9563
9570
|
function oe(te) {
|
|
@@ -9586,7 +9593,7 @@ function Id(e, t) {
|
|
|
9586
9593
|
viewTuple: le
|
|
9587
9594
|
});
|
|
9588
9595
|
}
|
|
9589
|
-
const xe = await
|
|
9596
|
+
const xe = await Id(ue);
|
|
9590
9597
|
for (const le of xe) {
|
|
9591
9598
|
if (!le)
|
|
9592
9599
|
continue;
|
|
@@ -9701,7 +9708,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
9701
9708
|
return _.map((te) => {
|
|
9702
9709
|
switch (te.type) {
|
|
9703
9710
|
case "form":
|
|
9704
|
-
return /* @__PURE__ */ n(
|
|
9711
|
+
return /* @__PURE__ */ n(wd, {
|
|
9705
9712
|
formRef: Q,
|
|
9706
9713
|
currentId: w,
|
|
9707
9714
|
visible: y.type === te.type && y.view_id === te.view_id,
|
|
@@ -9716,7 +9723,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
9716
9723
|
setCurrentItemIndex: S
|
|
9717
9724
|
}, `${te.type}-${te.view_id}`);
|
|
9718
9725
|
case "tree":
|
|
9719
|
-
return /* @__PURE__ */ n(
|
|
9726
|
+
return /* @__PURE__ */ n(Sd, {
|
|
9720
9727
|
visible: y.type === te.type && y.view_id === te.view_id,
|
|
9721
9728
|
limit: g,
|
|
9722
9729
|
model: i,
|
|
@@ -9733,7 +9740,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
9733
9740
|
setCurrentView: Te
|
|
9734
9741
|
}, `${te.type}-${te.view_id}`);
|
|
9735
9742
|
case "graph":
|
|
9736
|
-
return /* @__PURE__ */ n(
|
|
9743
|
+
return /* @__PURE__ */ n(vd, {
|
|
9737
9744
|
visible: y.type === te.type && y.view_id === te.view_id,
|
|
9738
9745
|
viewData: te,
|
|
9739
9746
|
model: i,
|
|
@@ -9743,7 +9750,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
9743
9750
|
formView: _.find((ue) => ue.type === "form")
|
|
9744
9751
|
}, `${te.type}-${te.view_id}`);
|
|
9745
9752
|
case "dashboard":
|
|
9746
|
-
return /* @__PURE__ */ n(
|
|
9753
|
+
return /* @__PURE__ */ n(_d, {
|
|
9747
9754
|
dashboardData: te
|
|
9748
9755
|
}, `${te.type}-${te.view_id}`);
|
|
9749
9756
|
}
|
|
@@ -9758,7 +9765,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
9758
9765
|
Te(te);
|
|
9759
9766
|
}
|
|
9760
9767
|
}
|
|
9761
|
-
return A ? /* @__PURE__ */ n(Me, {}) : y ? /* @__PURE__ */ H(
|
|
9768
|
+
return A ? /* @__PURE__ */ n(Me, {}) : y ? /* @__PURE__ */ H(rl, {
|
|
9762
9769
|
title: a,
|
|
9763
9770
|
currentView: y,
|
|
9764
9771
|
setCurrentView: Te,
|
|
@@ -9783,7 +9790,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
9783
9790
|
searchTreeNameSearch: q,
|
|
9784
9791
|
goToResourceId: Ne,
|
|
9785
9792
|
limit: g,
|
|
9786
|
-
children: [Je(), /* @__PURE__ */ n(
|
|
9793
|
+
children: [Je(), /* @__PURE__ */ n(md, {
|
|
9787
9794
|
visible: j,
|
|
9788
9795
|
onIdSubmitted: Ne,
|
|
9789
9796
|
isSearching: K,
|
|
@@ -9793,8 +9800,8 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
9793
9800
|
})]
|
|
9794
9801
|
}) : null;
|
|
9795
9802
|
}
|
|
9796
|
-
const
|
|
9797
|
-
async function
|
|
9803
|
+
const Ro = vt(Dd);
|
|
9804
|
+
async function Vd({
|
|
9798
9805
|
actionId: e,
|
|
9799
9806
|
rootContext: t = {},
|
|
9800
9807
|
globalValues: r = {}
|
|
@@ -9846,7 +9853,7 @@ async function Dd({
|
|
|
9846
9853
|
treeExpandable: v
|
|
9847
9854
|
};
|
|
9848
9855
|
}
|
|
9849
|
-
const
|
|
9856
|
+
const Ad = Ni(Pi), kd = (e) => {
|
|
9850
9857
|
const {
|
|
9851
9858
|
children: t = [],
|
|
9852
9859
|
onPositionItemsChanged: r
|
|
@@ -9860,7 +9867,7 @@ const Vd = Li(Ni), Ad = (e) => {
|
|
|
9860
9867
|
children: o
|
|
9861
9868
|
}, a);
|
|
9862
9869
|
});
|
|
9863
|
-
return /* @__PURE__ */ n(
|
|
9870
|
+
return /* @__PURE__ */ n(Ad, {
|
|
9864
9871
|
className: "layout",
|
|
9865
9872
|
cols: {
|
|
9866
9873
|
lg: 12,
|
|
@@ -9883,10 +9890,10 @@ const Vd = Li(Ni), Ad = (e) => {
|
|
|
9883
9890
|
children: i
|
|
9884
9891
|
});
|
|
9885
9892
|
}, {
|
|
9886
|
-
useToken:
|
|
9893
|
+
useToken: Rd
|
|
9887
9894
|
} = $e, {
|
|
9888
|
-
Text:
|
|
9889
|
-
} = sn,
|
|
9895
|
+
Text: Md
|
|
9896
|
+
} = sn, Ed = (e) => {
|
|
9890
9897
|
const {
|
|
9891
9898
|
title: t,
|
|
9892
9899
|
children: r,
|
|
@@ -9894,7 +9901,7 @@ const Vd = Li(Ni), Ad = (e) => {
|
|
|
9894
9901
|
openAction: o
|
|
9895
9902
|
} = e, {
|
|
9896
9903
|
token: s
|
|
9897
|
-
} =
|
|
9904
|
+
} = Rd();
|
|
9898
9905
|
return /* @__PURE__ */ H("div", {
|
|
9899
9906
|
className: "shadow-md",
|
|
9900
9907
|
style: {
|
|
@@ -9922,7 +9929,7 @@ const Vd = Li(Ni), Ad = (e) => {
|
|
|
9922
9929
|
cursor: "grab",
|
|
9923
9930
|
overflow: "hidden"
|
|
9924
9931
|
},
|
|
9925
|
-
children: /* @__PURE__ */ n(
|
|
9932
|
+
children: /* @__PURE__ */ n(Md, {
|
|
9926
9933
|
ellipsis: !0,
|
|
9927
9934
|
children: t
|
|
9928
9935
|
})
|
|
@@ -9934,7 +9941,7 @@ const Vd = Li(Ni), Ad = (e) => {
|
|
|
9934
9941
|
children: /* @__PURE__ */ n(Se, {
|
|
9935
9942
|
justify: "end",
|
|
9936
9943
|
align: "middle",
|
|
9937
|
-
children: /* @__PURE__ */ n(
|
|
9944
|
+
children: /* @__PURE__ */ n(Ci, {
|
|
9938
9945
|
style: {
|
|
9939
9946
|
cursor: "pointer"
|
|
9940
9947
|
},
|
|
@@ -9946,8 +9953,8 @@ const Vd = Li(Ni), Ad = (e) => {
|
|
|
9946
9953
|
})]
|
|
9947
9954
|
}), r]
|
|
9948
9955
|
});
|
|
9949
|
-
},
|
|
9950
|
-
function
|
|
9956
|
+
}, $d = 80;
|
|
9957
|
+
function Ld(e) {
|
|
9951
9958
|
const {
|
|
9952
9959
|
action: t,
|
|
9953
9960
|
model: r,
|
|
@@ -9956,7 +9963,7 @@ function $d(e) {
|
|
|
9956
9963
|
domain: s = [],
|
|
9957
9964
|
visible: a = !0,
|
|
9958
9965
|
parentContext: l = {}
|
|
9959
|
-
} = e, [u, c] = T(!1), [f, d] = T(!1), [m, v] = T(), [p, h] = T(), [g, y] = T(), [O, _] = T(1), [b, A] = T(0), I = me(
|
|
9966
|
+
} = e, [u, c] = T(!1), [f, d] = T(!1), [m, v] = T(), [p, h] = T(), [g, y] = T(), [O, _] = T(1), [b, A] = T(0), I = me($d), M = me([]), [w, x] = T(0), [F, C] = T([]), [L, S] = T(void 0), [R, V] = T(), [E, D] = T(), [k, N] = T(), [j, W] = T(!1), K = me([]), z = (J) => {
|
|
9960
9967
|
W(!0), _(J), A((J - 1) * I.current);
|
|
9961
9968
|
}, q = async () => {
|
|
9962
9969
|
const J = K.current.length > 0 ? K.current : s, pe = mn(M.current, J), {
|
|
@@ -10088,7 +10095,7 @@ function $d(e) {
|
|
|
10088
10095
|
}
|
|
10089
10096
|
}) : ee();
|
|
10090
10097
|
}
|
|
10091
|
-
const
|
|
10098
|
+
const Nd = (e) => {
|
|
10092
10099
|
const {
|
|
10093
10100
|
model: t
|
|
10094
10101
|
} = e, [r, i] = T();
|
|
@@ -10116,7 +10123,7 @@ const Ld = (e) => {
|
|
|
10116
10123
|
})
|
|
10117
10124
|
});
|
|
10118
10125
|
}, Fn = "line_ids";
|
|
10119
|
-
function
|
|
10126
|
+
function Pd(e, t) {
|
|
10120
10127
|
const {
|
|
10121
10128
|
model: r,
|
|
10122
10129
|
context: i = {},
|
|
@@ -10196,7 +10203,7 @@ function Nd(e, t) {
|
|
|
10196
10203
|
values: C
|
|
10197
10204
|
} = F;
|
|
10198
10205
|
if (C.action_id && C.action_id.length > 0) {
|
|
10199
|
-
const L = parseInt(C.action_id[0], 10), S = await
|
|
10206
|
+
const L = parseInt(C.action_id[0], 10), S = await Vd({
|
|
10200
10207
|
actionId: L,
|
|
10201
10208
|
rootContext: i
|
|
10202
10209
|
});
|
|
@@ -10261,7 +10268,7 @@ function Nd(e, t) {
|
|
|
10261
10268
|
message: f,
|
|
10262
10269
|
type: "error",
|
|
10263
10270
|
banner: !0
|
|
10264
|
-
})) : u ? /* @__PURE__ */ n(et, {}) : /* @__PURE__ */ n(
|
|
10271
|
+
})) : u ? /* @__PURE__ */ n(et, {}) : /* @__PURE__ */ n(kd, {
|
|
10265
10272
|
onPositionItemsChanged: I,
|
|
10266
10273
|
children: a.map((w, x) => {
|
|
10267
10274
|
const {
|
|
@@ -10303,12 +10310,12 @@ function Nd(e, t) {
|
|
|
10303
10310
|
limit: z
|
|
10304
10311
|
});
|
|
10305
10312
|
else if ((K == null ? void 0 : K.type) === "form")
|
|
10306
|
-
$ = /* @__PURE__ */ n(
|
|
10313
|
+
$ = /* @__PURE__ */ n(Nd, {
|
|
10307
10314
|
model: N,
|
|
10308
10315
|
actionDomain: W
|
|
10309
10316
|
});
|
|
10310
10317
|
else if ((K == null ? void 0 : K.type) === "tree")
|
|
10311
|
-
$ = /* @__PURE__ */ n(
|
|
10318
|
+
$ = /* @__PURE__ */ n(Ld, {
|
|
10312
10319
|
model: N,
|
|
10313
10320
|
domain: W,
|
|
10314
10321
|
view_id: k.filter((ie) => ie[1] === "tree")[0][0],
|
|
@@ -10341,7 +10348,7 @@ function Nd(e, t) {
|
|
|
10341
10348
|
...K,
|
|
10342
10349
|
id: K.id[0]
|
|
10343
10350
|
} : K;
|
|
10344
|
-
$ = /* @__PURE__ */ n(
|
|
10351
|
+
$ = /* @__PURE__ */ n(Ro, {
|
|
10345
10352
|
action_id: R,
|
|
10346
10353
|
action_type: V,
|
|
10347
10354
|
tabKey: E,
|
|
@@ -10378,7 +10385,7 @@ function Nd(e, t) {
|
|
|
10378
10385
|
view_type: se
|
|
10379
10386
|
};
|
|
10380
10387
|
}
|
|
10381
|
-
return /* @__PURE__ */ n(
|
|
10388
|
+
return /* @__PURE__ */ n(Ed, {
|
|
10382
10389
|
id: S,
|
|
10383
10390
|
title: D,
|
|
10384
10391
|
parms: q,
|
|
@@ -10389,18 +10396,18 @@ function Nd(e, t) {
|
|
|
10389
10396
|
})
|
|
10390
10397
|
});
|
|
10391
10398
|
}
|
|
10392
|
-
const
|
|
10399
|
+
const Hd = vt(Pd), Bd = (e) => {
|
|
10393
10400
|
const {
|
|
10394
10401
|
ooui: t
|
|
10395
10402
|
} = e;
|
|
10396
10403
|
return /* @__PURE__ */ n(ve, {
|
|
10397
10404
|
type: "array",
|
|
10398
10405
|
...e,
|
|
10399
|
-
children: /* @__PURE__ */ n(
|
|
10406
|
+
children: /* @__PURE__ */ n(jd, {
|
|
10400
10407
|
ooui: t
|
|
10401
10408
|
})
|
|
10402
10409
|
});
|
|
10403
|
-
},
|
|
10410
|
+
}, jd = (e) => {
|
|
10404
10411
|
const {
|
|
10405
10412
|
value: t,
|
|
10406
10413
|
ooui: r,
|
|
@@ -10521,12 +10528,12 @@ const Pd = vt(Nd), Hd = (e) => {
|
|
|
10521
10528
|
})]
|
|
10522
10529
|
})
|
|
10523
10530
|
});
|
|
10524
|
-
},
|
|
10531
|
+
}, Kd = (e) => /* @__PURE__ */ n(ve, {
|
|
10525
10532
|
...e,
|
|
10526
|
-
children: /* @__PURE__ */ n(
|
|
10533
|
+
children: /* @__PURE__ */ n(Yd, {
|
|
10527
10534
|
...e
|
|
10528
10535
|
})
|
|
10529
|
-
}),
|
|
10536
|
+
}), Yd = (e) => {
|
|
10530
10537
|
const {
|
|
10531
10538
|
value: t,
|
|
10532
10539
|
ooui: r
|
|
@@ -10536,12 +10543,12 @@ const Pd = vt(Nd), Hd = (e) => {
|
|
|
10536
10543
|
height: r.height ? r.height + "px" : "100%",
|
|
10537
10544
|
overflow: "auto"
|
|
10538
10545
|
},
|
|
10539
|
-
children: /* @__PURE__ */ n(
|
|
10546
|
+
children: /* @__PURE__ */ n($i, {
|
|
10540
10547
|
children: t,
|
|
10541
10548
|
className: "ant-typography"
|
|
10542
10549
|
})
|
|
10543
10550
|
});
|
|
10544
|
-
},
|
|
10551
|
+
}, Wd = (e) => {
|
|
10545
10552
|
const {
|
|
10546
10553
|
ooui: t
|
|
10547
10554
|
} = e, {
|
|
@@ -10551,11 +10558,11 @@ const Pd = vt(Nd), Hd = (e) => {
|
|
|
10551
10558
|
required: r,
|
|
10552
10559
|
type: "any",
|
|
10553
10560
|
...e,
|
|
10554
|
-
children: /* @__PURE__ */ n(
|
|
10561
|
+
children: /* @__PURE__ */ n(Ud, {
|
|
10555
10562
|
...e
|
|
10556
10563
|
})
|
|
10557
10564
|
});
|
|
10558
|
-
},
|
|
10565
|
+
}, Ud = (e) => {
|
|
10559
10566
|
const {
|
|
10560
10567
|
ooui: t,
|
|
10561
10568
|
onChange: r,
|
|
@@ -10580,7 +10587,7 @@ const Pd = vt(Nd), Hd = (e) => {
|
|
|
10580
10587
|
children: u
|
|
10581
10588
|
})
|
|
10582
10589
|
});
|
|
10583
|
-
},
|
|
10590
|
+
}, Gd = (e) => {
|
|
10584
10591
|
const {
|
|
10585
10592
|
ooui: t
|
|
10586
10593
|
} = e, {
|
|
@@ -10591,13 +10598,13 @@ const Pd = vt(Nd), Hd = (e) => {
|
|
|
10591
10598
|
return /* @__PURE__ */ n(ve, {
|
|
10592
10599
|
...e,
|
|
10593
10600
|
valuePropName: "checked",
|
|
10594
|
-
children: /* @__PURE__ */ n(
|
|
10601
|
+
children: /* @__PURE__ */ n(qd, {
|
|
10595
10602
|
id: r,
|
|
10596
10603
|
readOnly: i,
|
|
10597
10604
|
required: o
|
|
10598
10605
|
})
|
|
10599
10606
|
});
|
|
10600
|
-
},
|
|
10607
|
+
}, qd = (e) => {
|
|
10601
10608
|
const {
|
|
10602
10609
|
required: t,
|
|
10603
10610
|
readOnly: r,
|
|
@@ -10605,12 +10612,12 @@ const Pd = vt(Nd), Hd = (e) => {
|
|
|
10605
10612
|
} = e;
|
|
10606
10613
|
return /* @__PURE__ */ n("div", {
|
|
10607
10614
|
className: "flex flex-row",
|
|
10608
|
-
children: /* @__PURE__ */ n(
|
|
10615
|
+
children: /* @__PURE__ */ n(ni, {
|
|
10609
10616
|
disabled: r,
|
|
10610
10617
|
...i
|
|
10611
10618
|
})
|
|
10612
10619
|
});
|
|
10613
|
-
},
|
|
10620
|
+
}, zd = (e) => {
|
|
10614
10621
|
const {
|
|
10615
10622
|
ooui: t
|
|
10616
10623
|
} = e, {
|
|
@@ -10620,11 +10627,11 @@ const Pd = vt(Nd), Hd = (e) => {
|
|
|
10620
10627
|
required: r,
|
|
10621
10628
|
type: "any",
|
|
10622
10629
|
...e,
|
|
10623
|
-
children: /* @__PURE__ */ n(
|
|
10630
|
+
children: /* @__PURE__ */ n(Jd, {
|
|
10624
10631
|
...e
|
|
10625
10632
|
})
|
|
10626
10633
|
});
|
|
10627
|
-
},
|
|
10634
|
+
}, Jd = (e) => {
|
|
10628
10635
|
const {
|
|
10629
10636
|
ooui: t,
|
|
10630
10637
|
value: r
|
|
@@ -10641,7 +10648,7 @@ const Pd = vt(Nd), Hd = (e) => {
|
|
|
10641
10648
|
description: d === l && u === "error" ? c : null
|
|
10642
10649
|
}))
|
|
10643
10650
|
});
|
|
10644
|
-
},
|
|
10651
|
+
}, Zd = (e) => {
|
|
10645
10652
|
const {
|
|
10646
10653
|
ooui: t
|
|
10647
10654
|
} = e, {
|
|
@@ -10652,7 +10659,7 @@ const Pd = vt(Nd), Hd = (e) => {
|
|
|
10652
10659
|
} = o || {};
|
|
10653
10660
|
return /* @__PURE__ */ n(ve, {
|
|
10654
10661
|
...e,
|
|
10655
|
-
children: /* @__PURE__ */ n(
|
|
10662
|
+
children: /* @__PURE__ */ n(Li, {
|
|
10656
10663
|
defaultLanguage: r || "",
|
|
10657
10664
|
height: i || 300,
|
|
10658
10665
|
onMount: (l) => {
|
|
@@ -10661,23 +10668,23 @@ const Pd = vt(Nd), Hd = (e) => {
|
|
|
10661
10668
|
})
|
|
10662
10669
|
});
|
|
10663
10670
|
}, {
|
|
10664
|
-
Content:
|
|
10665
|
-
} =
|
|
10666
|
-
Title:
|
|
10671
|
+
Content: Xd
|
|
10672
|
+
} = ri, {
|
|
10673
|
+
Title: Qd
|
|
10667
10674
|
} = sn;
|
|
10668
|
-
function
|
|
10675
|
+
function eu() {
|
|
10669
10676
|
const {
|
|
10670
10677
|
t: e
|
|
10671
10678
|
} = Y(we);
|
|
10672
|
-
return /* @__PURE__ */ n(
|
|
10679
|
+
return /* @__PURE__ */ n(Xd, {
|
|
10673
10680
|
className: "m-5 select-none",
|
|
10674
|
-
children: /* @__PURE__ */ n(
|
|
10681
|
+
children: /* @__PURE__ */ n(Qd, {
|
|
10675
10682
|
level: 5,
|
|
10676
10683
|
children: e("welcome")
|
|
10677
10684
|
})
|
|
10678
10685
|
});
|
|
10679
10686
|
}
|
|
10680
|
-
function
|
|
10687
|
+
function tu(e, t) {
|
|
10681
10688
|
const {
|
|
10682
10689
|
children: r,
|
|
10683
10690
|
globalValues: i = {},
|
|
@@ -10687,7 +10694,7 @@ function eu(e, t) {
|
|
|
10687
10694
|
title: _e("welcome", s),
|
|
10688
10695
|
key: "welcome",
|
|
10689
10696
|
closable: !0,
|
|
10690
|
-
content: /* @__PURE__ */ n(
|
|
10697
|
+
content: /* @__PURE__ */ n(eu, {})
|
|
10691
10698
|
}]), f = me(/* @__PURE__ */ new Map()), d = me();
|
|
10692
10699
|
wt(t, () => ({
|
|
10693
10700
|
retrieveAndOpenAction: p,
|
|
@@ -11015,7 +11022,7 @@ function eu(e, t) {
|
|
|
11015
11022
|
id: C,
|
|
11016
11023
|
type: L
|
|
11017
11024
|
},
|
|
11018
|
-
content: /* @__PURE__ */ n(
|
|
11025
|
+
content: /* @__PURE__ */ n(Ro, {
|
|
11019
11026
|
action_id: C,
|
|
11020
11027
|
action_type: L,
|
|
11021
11028
|
tabKey: k,
|
|
@@ -11039,9 +11046,9 @@ function eu(e, t) {
|
|
|
11039
11046
|
});
|
|
11040
11047
|
}
|
|
11041
11048
|
}
|
|
11042
|
-
return /* @__PURE__ */ n(
|
|
11049
|
+
return /* @__PURE__ */ n(qi, {
|
|
11043
11050
|
lang: s,
|
|
11044
|
-
children: /* @__PURE__ */ n(
|
|
11051
|
+
children: /* @__PURE__ */ n(ol, {
|
|
11045
11052
|
openShortcut: y,
|
|
11046
11053
|
openAction: _,
|
|
11047
11054
|
openRelate: g,
|
|
@@ -11055,7 +11062,7 @@ function eu(e, t) {
|
|
|
11055
11062
|
onChangeTab: (b) => {
|
|
11056
11063
|
l(b);
|
|
11057
11064
|
},
|
|
11058
|
-
children: /* @__PURE__ */ n(
|
|
11065
|
+
children: /* @__PURE__ */ n(al, {
|
|
11059
11066
|
ref: d,
|
|
11060
11067
|
globalValues: i,
|
|
11061
11068
|
children: r
|
|
@@ -11063,10 +11070,10 @@ function eu(e, t) {
|
|
|
11063
11070
|
})
|
|
11064
11071
|
});
|
|
11065
11072
|
}
|
|
11066
|
-
const
|
|
11067
|
-
useToken:
|
|
11073
|
+
const ku = vt(tu), {
|
|
11074
|
+
useToken: nu
|
|
11068
11075
|
} = $e;
|
|
11069
|
-
function
|
|
11076
|
+
function ru(e) {
|
|
11070
11077
|
const {
|
|
11071
11078
|
label: t,
|
|
11072
11079
|
onClose: r,
|
|
@@ -11075,7 +11082,7 @@ function nu(e) {
|
|
|
11075
11082
|
onSelected: s
|
|
11076
11083
|
} = e, {
|
|
11077
11084
|
token: a
|
|
11078
|
-
} =
|
|
11085
|
+
} = nu(), l = o ? a.colorBgContainer : a.colorPrimaryBg;
|
|
11079
11086
|
return /* @__PURE__ */ H("div", {
|
|
11080
11087
|
onClick: () => {
|
|
11081
11088
|
!o && s(i);
|
|
@@ -11130,7 +11137,7 @@ function nu(e) {
|
|
|
11130
11137
|
})]
|
|
11131
11138
|
});
|
|
11132
11139
|
}
|
|
11133
|
-
function
|
|
11140
|
+
function Ru() {
|
|
11134
11141
|
const e = Y(at), {
|
|
11135
11142
|
activeKey: t,
|
|
11136
11143
|
tabs: r,
|
|
@@ -11138,7 +11145,7 @@ function ku() {
|
|
|
11138
11145
|
onChangeTab: o
|
|
11139
11146
|
} = e || {};
|
|
11140
11147
|
return /* @__PURE__ */ n(X, {
|
|
11141
|
-
children: r.map((s) => /* @__PURE__ */ n(
|
|
11148
|
+
children: r.map((s) => /* @__PURE__ */ n(ru, {
|
|
11142
11149
|
tabKey: s.key,
|
|
11143
11150
|
label: s.title,
|
|
11144
11151
|
onClose: i,
|
|
@@ -11147,7 +11154,7 @@ function ku() {
|
|
|
11147
11154
|
}, s.key))
|
|
11148
11155
|
});
|
|
11149
11156
|
}
|
|
11150
|
-
function
|
|
11157
|
+
function ou(e) {
|
|
11151
11158
|
const {
|
|
11152
11159
|
tab: t
|
|
11153
11160
|
} = e, r = Y(at), {
|
|
@@ -11160,11 +11167,11 @@ function ru(e) {
|
|
|
11160
11167
|
children: t.content
|
|
11161
11168
|
});
|
|
11162
11169
|
}
|
|
11163
|
-
const
|
|
11164
|
-
function
|
|
11170
|
+
const iu = qe.memo(ou, () => !0);
|
|
11171
|
+
function Mu() {
|
|
11165
11172
|
const e = Y(at), {
|
|
11166
11173
|
tabs: t
|
|
11167
|
-
} = e || {}, r = (t == null ? void 0 : t.map((i) => /* @__PURE__ */ n(
|
|
11174
|
+
} = e || {}, r = (t == null ? void 0 : t.map((i) => /* @__PURE__ */ n(iu, {
|
|
11168
11175
|
tab: i
|
|
11169
11176
|
}, i.key))) || null;
|
|
11170
11177
|
return /* @__PURE__ */ n(X, {
|
|
@@ -11172,8 +11179,8 @@ function Ru() {
|
|
|
11172
11179
|
});
|
|
11173
11180
|
}
|
|
11174
11181
|
const {
|
|
11175
|
-
useToken:
|
|
11176
|
-
} = $e,
|
|
11182
|
+
useToken: su
|
|
11183
|
+
} = $e, Eu = (e) => {
|
|
11177
11184
|
const {
|
|
11178
11185
|
onRetrieveShortcuts: t,
|
|
11179
11186
|
onCheckIsFavourite: r,
|
|
@@ -11183,7 +11190,7 @@ const {
|
|
|
11183
11190
|
t: h
|
|
11184
11191
|
} = Y(we) || {}, {
|
|
11185
11192
|
token: g
|
|
11186
|
-
} =
|
|
11193
|
+
} = su(), y = Y(at), {
|
|
11187
11194
|
openShortcut: O,
|
|
11188
11195
|
tabs: _,
|
|
11189
11196
|
activeKey: b,
|
|
@@ -11370,57 +11377,57 @@ const {
|
|
|
11370
11377
|
});
|
|
11371
11378
|
};
|
|
11372
11379
|
export {
|
|
11373
|
-
|
|
11374
|
-
|
|
11375
|
-
|
|
11380
|
+
cd as ActionBar,
|
|
11381
|
+
nd as Binary,
|
|
11382
|
+
ms as Boolean,
|
|
11376
11383
|
qr as Button,
|
|
11377
|
-
|
|
11384
|
+
Xi as ButtonGroup,
|
|
11378
11385
|
Zr as Char,
|
|
11379
|
-
|
|
11380
|
-
|
|
11386
|
+
Zd as CodeEditor,
|
|
11387
|
+
xd as ConfigContext,
|
|
11381
11388
|
B as ConnectionProvider,
|
|
11382
|
-
|
|
11383
|
-
|
|
11384
|
-
|
|
11385
|
-
|
|
11386
|
-
|
|
11387
|
-
|
|
11388
|
-
|
|
11389
|
-
|
|
11390
|
-
|
|
11391
|
-
|
|
11392
|
-
|
|
11393
|
-
|
|
11389
|
+
al as ContentRootProvider,
|
|
11390
|
+
Mu as CurrentTabContent,
|
|
11391
|
+
Hd as Dashboard,
|
|
11392
|
+
kd as DashboardGrid,
|
|
11393
|
+
Ed as DashboardGridItem,
|
|
11394
|
+
qc as Date,
|
|
11395
|
+
zc as DateTime,
|
|
11396
|
+
fd as Email,
|
|
11397
|
+
Gc as ExportModal,
|
|
11398
|
+
Eu as FavouriteButton,
|
|
11399
|
+
uo as Float,
|
|
11400
|
+
Ac as FloatTime,
|
|
11394
11401
|
Wt as Form,
|
|
11395
11402
|
Ut as FormModal,
|
|
11396
|
-
|
|
11397
|
-
|
|
11398
|
-
|
|
11403
|
+
oc as GraphIndicator,
|
|
11404
|
+
Oo as Group,
|
|
11405
|
+
ga as Image,
|
|
11399
11406
|
en as Integer,
|
|
11400
11407
|
dn as Label,
|
|
11401
|
-
|
|
11402
|
-
|
|
11403
|
-
|
|
11404
|
-
|
|
11405
|
-
|
|
11406
|
-
|
|
11407
|
-
|
|
11408
|
-
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11408
|
+
tc as Many2one,
|
|
11409
|
+
Kd as Markdown,
|
|
11410
|
+
Bd as MultiCheckbox,
|
|
11411
|
+
Mc as Notebook,
|
|
11412
|
+
Dc as One2many,
|
|
11413
|
+
Dl as ProgressBar,
|
|
11414
|
+
Wd as Radio,
|
|
11415
|
+
Qc as Reference,
|
|
11416
|
+
ku as RootView,
|
|
11417
|
+
fo as SearchFilter,
|
|
11418
|
+
xo as SearchModal,
|
|
11419
|
+
bo as SearchTree,
|
|
11413
11420
|
Xr as Selection,
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
|
|
11421
|
+
Nc as Separator,
|
|
11422
|
+
zd as Steps,
|
|
11423
|
+
Gd as Switch,
|
|
11424
|
+
Ru as TabSelector,
|
|
11425
|
+
Ml as Tag,
|
|
11426
|
+
Ma as Tags,
|
|
11427
|
+
$c as Text,
|
|
11428
|
+
Zc as Time,
|
|
11422
11429
|
hn as Tree,
|
|
11423
|
-
|
|
11430
|
+
ud as Url,
|
|
11424
11431
|
st as iconMapper,
|
|
11425
11432
|
Kt as showConfirmDialog
|
|
11426
11433
|
};
|