@gisce/react-ooui 2.112.0-alpha.4 → 2.112.0-alpha.5
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
|
@@ -8,7 +8,7 @@ import { Label as nr, Field as Ko, Tree as Aa, Tags as ii, Reference as ai, Sele
|
|
|
8
8
|
import Od, { QuestionCircleOutlined as Da, ExclamationCircleOutlined as ro, LoadingOutlined as Ut, DownOutlined as Tr, CloseOutlined as Nn, CheckOutlined as rr, TranslationOutlined as ka, FolderOpenOutlined as gs, DownloadOutlined as ys, ClearOutlined as or, FormOutlined as hr, TableOutlined as vs, AreaChartOutlined as Dd, CalendarOutlined as kd, BorderOuterOutlined as Na, FileAddOutlined as oo, CloseCircleFilled as Nd, FilterOutlined as Gn, EditOutlined as bs, CopyOutlined as Fr, DeleteOutlined as ws, InfoCircleOutlined as so, ReloadOutlined as io, ThunderboltOutlined as ao, PrinterOutlined as lo, ExportOutlined as Ma, EnterOutlined as co, SearchOutlined as Ar, SaveOutlined as Xo, PlusOutlined as Ur, UpOutlined as Md, PlusSquareOutlined as $a, MinusSquareOutlined as Pa, StarFilled as $d, StarOutlined as Pd, LeftOutlined as La, RightOutlined as Va, ApiOutlined as Ld, AlignLeftOutlined as Vd, EyeOutlined as Hd, LinkOutlined as li, SettingOutlined as Bd } from "@ant-design/icons";
|
|
9
9
|
import { Interweave as dn } from "interweave";
|
|
10
10
|
import ft from "dayjs";
|
|
11
|
-
import { default as
|
|
11
|
+
import { default as rx } from "dayjs";
|
|
12
12
|
import jd from "dayjs/plugin/advancedFormat";
|
|
13
13
|
import Ud from "dayjs/plugin/customParseFormat";
|
|
14
14
|
import Wd from "dayjs/plugin/isoWeek";
|
|
@@ -17,9 +17,9 @@ import Gd from "dayjs/plugin/duration";
|
|
|
17
17
|
import Yd from "dayjs/plugin/relativeTime";
|
|
18
18
|
import zd from "dayjs/plugin/weekday";
|
|
19
19
|
import Kd from "dayjs/plugin/localeData";
|
|
20
|
-
import { useLocale as xe, Icon as Wr, iconMapper as
|
|
20
|
+
import { useLocale as xe, Icon as Wr, iconMapper as xt, useNotificationContext as Jd, FormigaConfigProvider as Xd, mergeStrings as Qd, Dropdown as Ha, ToggleDropdownButton as Zd, getTablerIcon as Ba, DropdownButton as fn, Many2OneSuffix as eu, Many2OneSuffixModal as ci, DateValue as tu, DateTimeValue as nu, useDatePickerLocale as ru, SkeletonPill as ou, PaginationHeader as su, FieldSet as ja, ExportModal as iu, DateInput as au, HTMLPreview as lu, FavouriteButton as cu } from "@gisce/react-formiga-components";
|
|
21
21
|
import du from "antd/lib/input/TextArea";
|
|
22
|
-
import
|
|
22
|
+
import vt from "styled-components";
|
|
23
23
|
import xs from "react-measure";
|
|
24
24
|
import uu from "lodash/debounce";
|
|
25
25
|
import { nanoid as Cs } from "nanoid";
|
|
@@ -460,7 +460,7 @@ const { confirm: Xu } = _t, on = ({
|
|
|
460
460
|
if (h)
|
|
461
461
|
return /* @__PURE__ */ s(Ut, {});
|
|
462
462
|
if (d) {
|
|
463
|
-
const w =
|
|
463
|
+
const w = xt(d);
|
|
464
464
|
return w && /* @__PURE__ */ s(w, {});
|
|
465
465
|
}
|
|
466
466
|
}
|
|
@@ -537,7 +537,7 @@ const { confirm: Xu } = _t, on = ({
|
|
|
537
537
|
if (m)
|
|
538
538
|
return /* @__PURE__ */ s(Ut, {});
|
|
539
539
|
if (d) {
|
|
540
|
-
const b =
|
|
540
|
+
const b = xt(d);
|
|
541
541
|
return b && /* @__PURE__ */ s(b, {});
|
|
542
542
|
}
|
|
543
543
|
}
|
|
@@ -1012,22 +1012,22 @@ const ol = tt(
|
|
|
1012
1012
|
}
|
|
1013
1013
|
);
|
|
1014
1014
|
ol.displayName = "TranslatableCharComp";
|
|
1015
|
-
const af =
|
|
1015
|
+
const af = vt(ht)`
|
|
1016
1016
|
&.ant-input {
|
|
1017
1017
|
cursor: ${(t) => t.disabled ? "pointer" : "text"};
|
|
1018
1018
|
pointer-events: ${(t) => t.disabled ? "none" : "auto"};
|
|
1019
1019
|
}
|
|
1020
|
-
`, lf =
|
|
1020
|
+
`, lf = vt(ht)`
|
|
1021
1021
|
&.ant-input {
|
|
1022
1022
|
background-color: ${Fs.colorPrimaryBg};
|
|
1023
1023
|
cursor: pointer;
|
|
1024
1024
|
pointer-events: none;
|
|
1025
1025
|
}
|
|
1026
|
-
`, sl =
|
|
1026
|
+
`, sl = vt(ht)`
|
|
1027
1027
|
&.ant-input {
|
|
1028
1028
|
background-color: ${Fs.colorPrimaryBg};
|
|
1029
1029
|
}
|
|
1030
|
-
`, cf =
|
|
1030
|
+
`, cf = vt(ht.Password)`
|
|
1031
1031
|
&.ant-input-affix-wrapper {
|
|
1032
1032
|
background-color: ${Fs.colorPrimaryBg};
|
|
1033
1033
|
}
|
|
@@ -1052,7 +1052,7 @@ const af = xt(ht)`
|
|
|
1052
1052
|
children: l
|
|
1053
1053
|
}
|
|
1054
1054
|
);
|
|
1055
|
-
}, pf =
|
|
1055
|
+
}, pf = vt(Dn)`
|
|
1056
1056
|
&.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
1057
1057
|
background-color: ${ff.colorPrimaryBg};
|
|
1058
1058
|
}
|
|
@@ -1062,7 +1062,7 @@ const af = xt(ht)`
|
|
|
1062
1062
|
}, vf = (t) => {
|
|
1063
1063
|
const { required: e, readOnly: n, ...r } = t;
|
|
1064
1064
|
return /* @__PURE__ */ s("div", { className: "flex flex-row", children: /* @__PURE__ */ s(e && !n ? bf : pr, { disabled: n, ...r }) });
|
|
1065
|
-
}, bf =
|
|
1065
|
+
}, bf = vt(pr)`
|
|
1066
1066
|
.ant-checkbox-inner {
|
|
1067
1067
|
background-color: ${fi.colorPrimaryBg};
|
|
1068
1068
|
}
|
|
@@ -1105,22 +1105,22 @@ function dl(t, e) {
|
|
|
1105
1105
|
const As = (t) => {
|
|
1106
1106
|
const { name: e, size: n, color: r } = t, o = {};
|
|
1107
1107
|
n && (o.fontSize = n), r && (o.color = r);
|
|
1108
|
-
const i =
|
|
1108
|
+
const i = xt(
|
|
1109
1109
|
e,
|
|
1110
1110
|
Object.keys(o).length > 0 ? { style: o } : void 0
|
|
1111
1111
|
);
|
|
1112
1112
|
return i ? /* @__PURE__ */ s(i, {}) : null;
|
|
1113
1113
|
}, xf = (t) => {
|
|
1114
1114
|
const { ooui: e } = t, { required: n, name: r, size: o, color: i } = e;
|
|
1115
|
-
return
|
|
1115
|
+
return xt(r) ? /* @__PURE__ */ s(As, { name: r, size: o, color: i }) : /* @__PURE__ */ s(qe, { required: n, ...t, children: /* @__PURE__ */ s(Cf, { ooui: e }) });
|
|
1116
1116
|
}, Cf = (t) => {
|
|
1117
1117
|
const { ooui: e, value: n } = t, { size: r, color: o } = e;
|
|
1118
|
-
return n &&
|
|
1118
|
+
return n && xt(n) ? /* @__PURE__ */ s(As, { name: n, size: r, color: o }) : (n && console.warn(`Icon not found: ${n}`), null);
|
|
1119
1119
|
}, Is = (t) => {
|
|
1120
1120
|
const { value: e, style: n = {}, width: r, height: o } = t;
|
|
1121
1121
|
if (e) {
|
|
1122
1122
|
const i = o || r;
|
|
1123
|
-
if (
|
|
1123
|
+
if (xt(e))
|
|
1124
1124
|
return /* @__PURE__ */ s(As, { name: e, size: i });
|
|
1125
1125
|
{
|
|
1126
1126
|
const a = { ...n };
|
|
@@ -1129,7 +1129,7 @@ const As = (t) => {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
}, Sf = (t) => {
|
|
1131
1131
|
const { ooui: e } = t, { required: n, id: r, width: o, height: i } = e;
|
|
1132
|
-
return
|
|
1132
|
+
return xt(r) ? /* @__PURE__ */ s(Is, { value: r, width: o, height: i }) : /* @__PURE__ */ s(qe, { required: n, ...t, children: /* @__PURE__ */ s(Tf, { ooui: e }) });
|
|
1133
1133
|
}, Tf = (t) => {
|
|
1134
1134
|
const { ooui: e, value: n, onChange: r } = t, { readOnly: o, width: i, height: a } = e, c = J(null), { t: l } = xe(), d = (m) => {
|
|
1135
1135
|
r == null || r(m);
|
|
@@ -1850,7 +1850,7 @@ const Mn = ({
|
|
|
1850
1850
|
if (a)
|
|
1851
1851
|
return /* @__PURE__ */ s(st, {});
|
|
1852
1852
|
const E = (O) => {
|
|
1853
|
-
const F =
|
|
1853
|
+
const F = xt(O);
|
|
1854
1854
|
return F && /* @__PURE__ */ s(F, {});
|
|
1855
1855
|
}, k = w.map((O) => {
|
|
1856
1856
|
var N, R, V, M;
|
|
@@ -2660,7 +2660,7 @@ function Qf({
|
|
|
2660
2660
|
`bold ${Math.floor(l * 1.03)}px sans-serif`
|
|
2661
2661
|
);
|
|
2662
2662
|
a && (p = p * 2), p >= e * 0.85 && (l = e * 0.85 / p * l);
|
|
2663
|
-
const m = a &&
|
|
2663
|
+
const m = a && xt(a, { style: { fontSize: l * 0.7 } });
|
|
2664
2664
|
return /* @__PURE__ */ s(
|
|
2665
2665
|
"div",
|
|
2666
2666
|
{
|
|
@@ -2708,7 +2708,7 @@ function Zf({
|
|
|
2708
2708
|
`bold ${Math.floor(f * 1.03)}px sans-serif`
|
|
2709
2709
|
);
|
|
2710
2710
|
c && (g = g * 1.5), (g >= n * 0.85 || f * 2 < d) && (f = n * 0.85 / g * f);
|
|
2711
|
-
const h = c &&
|
|
2711
|
+
const h = c && xt(c, { style: { fontSize: f } });
|
|
2712
2712
|
return /* @__PURE__ */ s(
|
|
2713
2713
|
"div",
|
|
2714
2714
|
{
|
|
@@ -3747,7 +3747,7 @@ function Am(t) {
|
|
|
3747
3747
|
);
|
|
3748
3748
|
}
|
|
3749
3749
|
var It = /* @__PURE__ */ ((t) => (t.FEATURE_VIEW_JSON_ATTRS = "view_json_attrs", t.FEATURE_ADVANCED_EXPORT = "export_data2", t.FEATURE_OMNISEARCH = "omnisearch", t.FEATURE_READFORVIEW = "read_for_view", t.FEATURE_USERVIEWPREFS = "user_view_prefs", t.FEATURE_GET_TOOLBAR = "get_toolbar", t.FEATURE_MANY2ONE_SORT = "many2one_sort", t.FEATURE_LOGGABLE_ACTIONS = "user_action_logs", t.FEATURE_USER_FLAGS = "user_feature_flags", t.FEATURE_CHECK_PERMS = "check_perms", t.FEATURE_SAVED_SEARCHES = "saved_searches", t.FEATURE_USER_NOTIFICATIONS = "user_notifications", t.FEATURE_SSE_SESSION_NOTIFICATIONS = "sse_session_notifications", t))(It || {});
|
|
3750
|
-
const
|
|
3750
|
+
const K0 = Object.values(It), Wt = Qt.createContext(null), Im = (t) => {
|
|
3751
3751
|
const {
|
|
3752
3752
|
children: e,
|
|
3753
3753
|
openAction: n,
|
|
@@ -4438,8 +4438,8 @@ const Dm = Bt(Em), $l = ({
|
|
|
4438
4438
|
actionButtonProps: b,
|
|
4439
4439
|
printButtonProps: x
|
|
4440
4440
|
};
|
|
4441
|
-
},
|
|
4442
|
-
|
|
4441
|
+
}, wt = tt(() => /* @__PURE__ */ s("div", { className: "inline-block w-2" }));
|
|
4442
|
+
wt.displayName = "ActionBarSeparator";
|
|
4443
4443
|
const km = "action", Nm = ["active_id", "active_ids", "id"], Mm = ["target", "context", "domain", "fields"], Ll = (t) => {
|
|
4444
4444
|
const e = new URL(window.location.origin);
|
|
4445
4445
|
e.pathname = km;
|
|
@@ -4740,8 +4740,8 @@ function Hm({
|
|
|
4740
4740
|
return /* @__PURE__ */ B(ot, { wrap: !0, children: [
|
|
4741
4741
|
S && /* @__PURE__ */ B(ve, { children: [
|
|
4742
4742
|
/* @__PURE__ */ s(st, {}),
|
|
4743
|
-
/* @__PURE__ */ s(
|
|
4744
|
-
/* @__PURE__ */ s(
|
|
4743
|
+
/* @__PURE__ */ s(wt, {}),
|
|
4744
|
+
/* @__PURE__ */ s(wt, {})
|
|
4745
4745
|
] }),
|
|
4746
4746
|
!e && /* @__PURE__ */ B(ve, { children: [
|
|
4747
4747
|
/* @__PURE__ */ s(
|
|
@@ -4780,7 +4780,7 @@ function Hm({
|
|
|
4780
4780
|
badgeNumber: b == null ? void 0 : b.length
|
|
4781
4781
|
}
|
|
4782
4782
|
),
|
|
4783
|
-
/* @__PURE__ */ s(
|
|
4783
|
+
/* @__PURE__ */ s(wt, {}),
|
|
4784
4784
|
/* @__PURE__ */ s(Nl, { disabled: S || !(M != null && M.create) }),
|
|
4785
4785
|
/* @__PURE__ */ s(
|
|
4786
4786
|
Nt,
|
|
@@ -4802,7 +4802,7 @@ function Hm({
|
|
|
4802
4802
|
onClick: ce
|
|
4803
4803
|
}
|
|
4804
4804
|
),
|
|
4805
|
-
/* @__PURE__ */ s(
|
|
4805
|
+
/* @__PURE__ */ s(wt, {})
|
|
4806
4806
|
] }),
|
|
4807
4807
|
/* @__PURE__ */ s(
|
|
4808
4808
|
Nt,
|
|
@@ -4823,7 +4823,7 @@ function Hm({
|
|
|
4823
4823
|
}
|
|
4824
4824
|
),
|
|
4825
4825
|
!e && /* @__PURE__ */ B(ve, { children: [
|
|
4826
|
-
/* @__PURE__ */ s(
|
|
4826
|
+
/* @__PURE__ */ s(wt, {}),
|
|
4827
4827
|
/* @__PURE__ */ s(
|
|
4828
4828
|
Es,
|
|
4829
4829
|
{
|
|
@@ -4835,11 +4835,11 @@ function Hm({
|
|
|
4835
4835
|
}
|
|
4836
4836
|
)
|
|
4837
4837
|
] }),
|
|
4838
|
-
/* @__PURE__ */ s(
|
|
4838
|
+
/* @__PURE__ */ s(wt, {}),
|
|
4839
4839
|
/* @__PURE__ */ s(fn, { icon: /* @__PURE__ */ s(ao, {}), ...G }),
|
|
4840
4840
|
/* @__PURE__ */ s(fn, { icon: /* @__PURE__ */ s(lo, {}), ...oe }),
|
|
4841
4841
|
L && /* @__PURE__ */ B(ve, { children: [
|
|
4842
|
-
/* @__PURE__ */ s(
|
|
4842
|
+
/* @__PURE__ */ s(wt, {}),
|
|
4843
4843
|
/* @__PURE__ */ s(
|
|
4844
4844
|
fn,
|
|
4845
4845
|
{
|
|
@@ -4879,7 +4879,7 @@ function Hm({
|
|
|
4879
4879
|
}
|
|
4880
4880
|
)
|
|
4881
4881
|
] }),
|
|
4882
|
-
/* @__PURE__ */ s(
|
|
4882
|
+
/* @__PURE__ */ s(wt, {}),
|
|
4883
4883
|
/* @__PURE__ */ s(go, { searchParams: b })
|
|
4884
4884
|
] });
|
|
4885
4885
|
}
|
|
@@ -5238,12 +5238,12 @@ const Ym = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(ql,
|
|
|
5238
5238
|
/* @__PURE__ */ s(Km, { percent: n }),
|
|
5239
5239
|
/* @__PURE__ */ s(Jm, { children: r })
|
|
5240
5240
|
] });
|
|
5241
|
-
}, zm =
|
|
5241
|
+
}, zm = vt.div`
|
|
5242
5242
|
display: flex;
|
|
5243
5243
|
align-items: center;
|
|
5244
5244
|
width: 100%;
|
|
5245
5245
|
min-width: 0;
|
|
5246
|
-
`, Km =
|
|
5246
|
+
`, Km = vt(wa)`
|
|
5247
5247
|
flex: 1;
|
|
5248
5248
|
min-width: 0;
|
|
5249
5249
|
.ant-progress-outer {
|
|
@@ -5253,7 +5253,7 @@ const Ym = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(ql,
|
|
|
5253
5253
|
.ant-progress-text {
|
|
5254
5254
|
display: none;
|
|
5255
5255
|
}
|
|
5256
|
-
`, Jm =
|
|
5256
|
+
`, Jm = vt.div`
|
|
5257
5257
|
padding-left: 10px;
|
|
5258
5258
|
white-space: nowrap;
|
|
5259
5259
|
`, Xm = ({
|
|
@@ -5467,7 +5467,7 @@ const Ym = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(ql,
|
|
|
5467
5467
|
return [...new Set(r.filter((o) => o in t))];
|
|
5468
5468
|
};
|
|
5469
5469
|
var mn = /* @__PURE__ */ ((t) => (t.FEATURE_MANY2ONE_DISABLE_ARROW_MENU = "widget.many2one.disable.arrow_menu", t.FEATURE_MANY2ONE_DISABLE_FOLDER = "widget.many2one.disable.folder", t.FEATURE_ONE2MANY_ENABLE_NEW_TABLE = "widget.one2many.enable_new_table", t.FEATURE_TEST_FEATURE = "test.feature", t))(mn || {});
|
|
5470
|
-
const
|
|
5470
|
+
const J0 = Object.values(mn), Zm = (t) => {
|
|
5471
5471
|
const { m2oField: e, ooui: n } = t, r = Rn(
|
|
5472
5472
|
mn.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
|
|
5473
5473
|
), o = Q(() => {
|
|
@@ -6354,7 +6354,7 @@ const br = ({
|
|
|
6354
6354
|
) });
|
|
6355
6355
|
});
|
|
6356
6356
|
Ls.displayName = "Float";
|
|
6357
|
-
const kp =
|
|
6357
|
+
const kp = vt(no)`
|
|
6358
6358
|
&.ant-input-number {
|
|
6359
6359
|
background-color: ${Dp.colorPrimaryBg};
|
|
6360
6360
|
}
|
|
@@ -6387,7 +6387,7 @@ const kp = xt(no)`
|
|
|
6387
6387
|
) });
|
|
6388
6388
|
});
|
|
6389
6389
|
wr.displayName = "Integer";
|
|
6390
|
-
const Lp =
|
|
6390
|
+
const Lp = vt(no)`
|
|
6391
6391
|
&.ant-input-number {
|
|
6392
6392
|
background-color: ${Pp.colorPrimaryBg};
|
|
6393
6393
|
}
|
|
@@ -6466,7 +6466,7 @@ const { defaultAlgorithm: Hp, defaultSeed: Bp } = nt, jp = Hp(Bp), { Option: Up
|
|
|
6466
6466
|
children: l
|
|
6467
6467
|
}
|
|
6468
6468
|
);
|
|
6469
|
-
}, Gp =
|
|
6469
|
+
}, Gp = vt(Dn)`
|
|
6470
6470
|
&.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
6471
6471
|
background-color: ${jp.colorPrimaryBg};
|
|
6472
6472
|
}
|
|
@@ -9231,7 +9231,7 @@ function Iy(t, e) {
|
|
|
9231
9231
|
R,
|
|
9232
9232
|
te,
|
|
9233
9233
|
w
|
|
9234
|
-
]),
|
|
9234
|
+
]), bt = lt(
|
|
9235
9235
|
async ({
|
|
9236
9236
|
startRow: Ue,
|
|
9237
9237
|
endRow: it,
|
|
@@ -9351,7 +9351,7 @@ function Iy(t, e) {
|
|
|
9351
9351
|
}) => {
|
|
9352
9352
|
try {
|
|
9353
9353
|
W == null || W(!0), Ue === 0 && !he && mt();
|
|
9354
|
-
const ut = await
|
|
9354
|
+
const ut = await bt({
|
|
9355
9355
|
startRow: Ue,
|
|
9356
9356
|
endRow: it,
|
|
9357
9357
|
state: St
|
|
@@ -9362,7 +9362,7 @@ function Iy(t, e) {
|
|
|
9362
9362
|
}
|
|
9363
9363
|
},
|
|
9364
9364
|
[
|
|
9365
|
-
|
|
9365
|
+
bt,
|
|
9366
9366
|
te,
|
|
9367
9367
|
W,
|
|
9368
9368
|
w,
|
|
@@ -9602,7 +9602,7 @@ const Ks = Bt(Iy), ia = (t, e = "14px -apple-system") => {
|
|
|
9602
9602
|
source: e,
|
|
9603
9603
|
tableWidth: o
|
|
9604
9604
|
};
|
|
9605
|
-
}, _y =
|
|
9605
|
+
}, _y = vt.div`
|
|
9606
9606
|
display: flex;
|
|
9607
9607
|
align-items: center;
|
|
9608
9608
|
justify-content: center;
|
|
@@ -10570,7 +10570,7 @@ const kc = Bt(Oy), Dy = Ot, ky = (t) => {
|
|
|
10570
10570
|
te,
|
|
10571
10571
|
Yt,
|
|
10572
10572
|
Ze
|
|
10573
|
-
]),
|
|
10573
|
+
]), bt = I(
|
|
10574
10574
|
({ params: Fe, values: Ye, closeSidebar: et = !0 }) => {
|
|
10575
10575
|
var at;
|
|
10576
10576
|
T([]), (at = c.current) == null || at.unselectAll(), M == null || M(void 0), O == null || O(Fe), R == null || R(Ye), w == null || w(!et), et || mt(), (!Fe || Fe.length === 0) && (Y == null || Y(null));
|
|
@@ -10727,7 +10727,7 @@ const kc = Bt(Oy), Dy = Ot, ky = (t) => {
|
|
|
10727
10727
|
onSearchFilterClear: ln,
|
|
10728
10728
|
onSearchFilterSubmit: tn,
|
|
10729
10729
|
onSideSearchFilterClose: Gt,
|
|
10730
|
-
onSideSearchFilterSubmit:
|
|
10730
|
+
onSideSearchFilterSubmit: bt,
|
|
10731
10731
|
totalRowsLoading: Z,
|
|
10732
10732
|
totalRows: ie,
|
|
10733
10733
|
onRowStyle: yt,
|
|
@@ -12308,7 +12308,7 @@ const Pc = tt(Ky), { useToken: Jy } = nt, Xy = 3 * 1e3, Qy = (t) => {
|
|
|
12308
12308
|
style: { color: e.colorPrimaryBg }
|
|
12309
12309
|
}
|
|
12310
12310
|
) })
|
|
12311
|
-
] }), C =
|
|
12311
|
+
] }), C = xt(a);
|
|
12312
12312
|
let w = r;
|
|
12313
12313
|
if (n.fieldType === "reference")
|
|
12314
12314
|
p ? w = /* @__PURE__ */ s(st, { size: "small" }) : f ? w = /* @__PURE__ */ B(ot, { children: [
|
|
@@ -12474,7 +12474,7 @@ const Pc = tt(Ky), { useToken: Jy } = nt, Xy = 3 * 1e3, Qy = (t) => {
|
|
|
12474
12474
|
error: new Error("Unsupported view type: " + r.type)
|
|
12475
12475
|
}
|
|
12476
12476
|
);
|
|
12477
|
-
}, nv =
|
|
12477
|
+
}, nv = vt(Ta)`
|
|
12478
12478
|
&.ant-empty.ant-empty-normal {
|
|
12479
12479
|
margin: 0;
|
|
12480
12480
|
margin-top: 5px;
|
|
@@ -12593,7 +12593,7 @@ const Pc = tt(Ky), { useToken: Jy } = nt, Xy = 3 * 1e3, Qy = (t) => {
|
|
|
12593
12593
|
}, [e]), a = Q(
|
|
12594
12594
|
() => {
|
|
12595
12595
|
var g;
|
|
12596
|
-
return
|
|
12596
|
+
return xt(((g = n.raw_props) == null ? void 0 : g.icon) || "");
|
|
12597
12597
|
},
|
|
12598
12598
|
[(u = n.raw_props) == null ? void 0 : u.icon]
|
|
12599
12599
|
), c = Q(
|
|
@@ -12739,7 +12739,7 @@ const Pc = tt(Ky), { useToken: Jy } = nt, Xy = 3 * 1e3, Qy = (t) => {
|
|
|
12739
12739
|
) });
|
|
12740
12740
|
};
|
|
12741
12741
|
function uv(t) {
|
|
12742
|
-
const { ooui: e, responsiveBehaviour: n } = t, r =
|
|
12742
|
+
const { ooui: e, responsiveBehaviour: n } = t, r = xt(e.icon || ""), { t: o } = xe(), i = e.title ? /* @__PURE__ */ B("span", { children: [
|
|
12743
12743
|
r && /* @__PURE__ */ s("span", { style: { marginRight: "8px" }, children: Qt.createElement(r) }),
|
|
12744
12744
|
e.title
|
|
12745
12745
|
] }) : void 0;
|
|
@@ -12830,32 +12830,32 @@ const fv = (t) => {
|
|
|
12830
12830
|
case "tag":
|
|
12831
12831
|
return rp;
|
|
12832
12832
|
case "multicheckbox":
|
|
12833
|
-
return
|
|
12833
|
+
return hw;
|
|
12834
12834
|
case "markdown":
|
|
12835
|
-
return gw;
|
|
12836
|
-
case "radio":
|
|
12837
12835
|
return yw;
|
|
12836
|
+
case "radio":
|
|
12837
|
+
return vw;
|
|
12838
12838
|
case "switch":
|
|
12839
|
-
return
|
|
12839
|
+
return ww;
|
|
12840
12840
|
case "steps":
|
|
12841
|
-
return
|
|
12841
|
+
return Cw;
|
|
12842
12842
|
case "arrow_steps":
|
|
12843
|
-
return
|
|
12843
|
+
return Fw;
|
|
12844
12844
|
case "codeeditor":
|
|
12845
12845
|
case "json":
|
|
12846
|
-
return
|
|
12846
|
+
return Aw;
|
|
12847
12847
|
case "comments_timeline":
|
|
12848
|
-
return kw;
|
|
12849
|
-
case "html_preview":
|
|
12850
12848
|
return Nw;
|
|
12851
|
-
case "
|
|
12849
|
+
case "html_preview":
|
|
12852
12850
|
return Mw;
|
|
12851
|
+
case "alert":
|
|
12852
|
+
return $w;
|
|
12853
12853
|
case "spinner":
|
|
12854
12854
|
return Zr;
|
|
12855
12855
|
case "carousel":
|
|
12856
|
-
return
|
|
12856
|
+
return Vw;
|
|
12857
12857
|
case "colorPicker":
|
|
12858
|
-
return
|
|
12858
|
+
return Bw;
|
|
12859
12859
|
case "action_buttons":
|
|
12860
12860
|
return sv;
|
|
12861
12861
|
case "qrcode":
|
|
@@ -13115,7 +13115,7 @@ function Av(t, e) {
|
|
|
13115
13115
|
jt(e, () => ({
|
|
13116
13116
|
submitForm: dt,
|
|
13117
13117
|
getFields: Rt,
|
|
13118
|
-
getValues:
|
|
13118
|
+
getValues: bt,
|
|
13119
13119
|
getPlainValues: Ke,
|
|
13120
13120
|
getContext: qt,
|
|
13121
13121
|
fetchValues: zt,
|
|
@@ -13156,7 +13156,7 @@ function Av(t, e) {
|
|
|
13156
13156
|
return $;
|
|
13157
13157
|
}
|
|
13158
13158
|
function Ke() {
|
|
13159
|
-
const se =
|
|
13159
|
+
const se = bt(), re = Rt(), we = {};
|
|
13160
13160
|
return Object.keys(se).forEach((Ee) => {
|
|
13161
13161
|
const Pe = se[Ee];
|
|
13162
13162
|
re[Ee] && re[Ee].type === "many2one" && Pe && Array.isArray(Pe) && Pe.length === 2 ? we[Ee] = Pe[0] : re[Ee] && (re[Ee].type === "one2many" || re[Ee].type === "many2many") && Pe && Pe.items ? we[Ee] = Pe.items.filter((gt) => gt.operation !== "pendingRemove").map((gt) => gt.id) : we[Ee] = Pe;
|
|
@@ -13213,7 +13213,7 @@ function Av(t, e) {
|
|
|
13213
13213
|
return Un(re, se);
|
|
13214
13214
|
},
|
|
13215
13215
|
[M]
|
|
13216
|
-
),
|
|
13216
|
+
), bt = I(() => {
|
|
13217
13217
|
const se = {
|
|
13218
13218
|
...mt($),
|
|
13219
13219
|
...tn()
|
|
@@ -13222,10 +13222,10 @@ function Av(t, e) {
|
|
|
13222
13222
|
se[re] === void 0 && delete se[re];
|
|
13223
13223
|
return se;
|
|
13224
13224
|
}, [mt, tn, $]), Dt = I(() => {
|
|
13225
|
-
te.current && (D == null || D()), Se == null || Se(!1), i == null || i({ id: Ce(), values:
|
|
13225
|
+
te.current && (D == null || D()), Se == null || Se(!1), i == null || i({ id: Ce(), values: bt() });
|
|
13226
13226
|
}, [
|
|
13227
13227
|
Ce,
|
|
13228
|
-
|
|
13228
|
+
bt,
|
|
13229
13229
|
D,
|
|
13230
13230
|
i,
|
|
13231
13231
|
Se
|
|
@@ -13371,17 +13371,17 @@ function Av(t, e) {
|
|
|
13371
13371
|
});
|
|
13372
13372
|
ue.current = Ee, Y.current = we;
|
|
13373
13373
|
}
|
|
13374
|
-
y && await y([Ce()]), !v && re && (be == null || be(Ce(),
|
|
13374
|
+
y && await y([Ce()]), !v && re && (be == null || be(Ce(), bt(), yt()));
|
|
13375
13375
|
}, at = async (se) => {
|
|
13376
13376
|
const { callOnSubmitSucceed: re = !0 } = se || {};
|
|
13377
|
-
!v && re && (be == null || be(Ce(),
|
|
13377
|
+
!v && re && (be == null || be(Ce(), bt(), yt()));
|
|
13378
13378
|
}, dt = async (se) => {
|
|
13379
13379
|
let re = !1;
|
|
13380
13380
|
const { callOnSubmitSucceed: we = !0 } = se || {};
|
|
13381
13381
|
if (ee.current = !0, N(void 0), _e(), ie.current && !Yt() && Ce() && we) {
|
|
13382
13382
|
ee.current = !1, Re == null || Re(!1), be == null || be(
|
|
13383
13383
|
Ce(),
|
|
13384
|
-
|
|
13384
|
+
bt(),
|
|
13385
13385
|
yt(),
|
|
13386
13386
|
ie.current
|
|
13387
13387
|
), ie.current = !1;
|
|
@@ -13574,9 +13574,9 @@ function Av(t, e) {
|
|
|
13574
13574
|
}
|
|
13575
13575
|
});
|
|
13576
13576
|
if (typeof we == "object" && we !== null && Object.keys(we).length === 0 && v)
|
|
13577
|
-
be == null || be(Ce(),
|
|
13577
|
+
be == null || be(Ce(), bt(), yt());
|
|
13578
13578
|
else if (we.type && we.type === Yf)
|
|
13579
|
-
be == null || be(Ce(),
|
|
13579
|
+
be == null || be(Ce(), bt(), yt());
|
|
13580
13580
|
else if (we.type && we.type === Jf)
|
|
13581
13581
|
ze == null || ze(we);
|
|
13582
13582
|
else if (we.type) {
|
|
@@ -13584,7 +13584,7 @@ function Av(t, e) {
|
|
|
13584
13584
|
we.context && (Ee = vn({
|
|
13585
13585
|
context: we.context,
|
|
13586
13586
|
fields: $,
|
|
13587
|
-
values:
|
|
13587
|
+
values: bt()
|
|
13588
13588
|
})), await it({
|
|
13589
13589
|
actionData: we,
|
|
13590
13590
|
context: { ...re, ...Ee }
|
|
@@ -13598,7 +13598,7 @@ function Av(t, e) {
|
|
|
13598
13598
|
action: se,
|
|
13599
13599
|
payload: Ce()
|
|
13600
13600
|
});
|
|
13601
|
-
re.type && re.type === "ir.actions.act_window_close" ? be == null || be(Ce(),
|
|
13601
|
+
re.type && re.type === "ir.actions.act_window_close" ? be == null || be(Ce(), bt(), yt()) : await zt({ forceRefresh: !0 });
|
|
13602
13602
|
}
|
|
13603
13603
|
async function Ue({
|
|
13604
13604
|
action: se,
|
|
@@ -13618,7 +13618,7 @@ function Av(t, e) {
|
|
|
13618
13618
|
const { closeParent: we } = await (Ze == null ? void 0 : Ze({
|
|
13619
13619
|
actionData: se,
|
|
13620
13620
|
fields: $,
|
|
13621
|
-
values:
|
|
13621
|
+
values: bt(),
|
|
13622
13622
|
context: {
|
|
13623
13623
|
...b,
|
|
13624
13624
|
...R == null ? void 0 : R.context,
|
|
@@ -13628,7 +13628,7 @@ function Av(t, e) {
|
|
|
13628
13628
|
te.current = !0, await zt({ forceRefresh: !0 });
|
|
13629
13629
|
}
|
|
13630
13630
|
})) || {};
|
|
13631
|
-
!w && we && (be == null || be(Ce(),
|
|
13631
|
+
!w && we && (be == null || be(Ce(), bt(), yt()));
|
|
13632
13632
|
}
|
|
13633
13633
|
function St() {
|
|
13634
13634
|
pn({ elementHasLostFocus: !0 });
|
|
@@ -13695,7 +13695,7 @@ function Av(t, e) {
|
|
|
13695
13695
|
const gn = () => !R && !F ? /* @__PURE__ */ s(st, {}) : !n && !h || !C ? null : /* @__PURE__ */ s(ve, { children: /* @__PURE__ */ s(
|
|
13696
13696
|
Bu,
|
|
13697
13697
|
{
|
|
13698
|
-
getValues:
|
|
13698
|
+
getValues: bt,
|
|
13699
13699
|
getPlainValues: Ke,
|
|
13700
13700
|
getAllHierarchyValues: ct,
|
|
13701
13701
|
getFields: Rt,
|
|
@@ -14394,7 +14394,7 @@ const lr = Bt(Av), Vc = (t) => {
|
|
|
14394
14394
|
}
|
|
14395
14395
|
)
|
|
14396
14396
|
] });
|
|
14397
|
-
}, Dv =
|
|
14397
|
+
}, Dv = vt(ht)`
|
|
14398
14398
|
.ant-input {
|
|
14399
14399
|
background-color: ${Hc.colorPrimaryBg};
|
|
14400
14400
|
}
|
|
@@ -16868,7 +16868,7 @@ const ed = ({
|
|
|
16868
16868
|
);
|
|
16869
16869
|
};
|
|
16870
16870
|
function rd(t) {
|
|
16871
|
-
const { ooui: e, showLabel: n = !0, responsiveBehaviour: r } = t, o =
|
|
16871
|
+
const { ooui: e, showLabel: n = !0, responsiveBehaviour: r } = t, o = xt(e.icon || ""), { t: i } = xe(), a = e.backgroundColor, c = a ? xu(a).darken(30).toString() : void 0, l = (e.label || o) && n;
|
|
16872
16872
|
return /* @__PURE__ */ s(
|
|
16873
16873
|
"div",
|
|
16874
16874
|
{
|
|
@@ -16905,7 +16905,7 @@ function rd(t) {
|
|
|
16905
16905
|
}
|
|
16906
16906
|
);
|
|
16907
16907
|
}
|
|
16908
|
-
const { TabPane: nb } = Fa, rb =
|
|
16908
|
+
const { TabPane: nb } = Fa, rb = vt(Fa)`
|
|
16909
16909
|
.ant-tabs-content-holder {
|
|
16910
16910
|
border-left: 1px solid rgba(228, 228, 231, var(--tw-border-opacity));
|
|
16911
16911
|
border-right: 1px solid rgba(228, 228, 231, var(--tw-border-opacity));
|
|
@@ -16929,7 +16929,7 @@ function ob(t) {
|
|
|
16929
16929
|
const { ooui: e, responsiveBehaviour: n } = t, r = e.pages, { token: o } = nt.useToken();
|
|
16930
16930
|
function i(a) {
|
|
16931
16931
|
if (a) {
|
|
16932
|
-
const c =
|
|
16932
|
+
const c = xt(a);
|
|
16933
16933
|
return c && /* @__PURE__ */ s(c, {});
|
|
16934
16934
|
}
|
|
16935
16935
|
}
|
|
@@ -17075,7 +17075,7 @@ const { useToken: sb } = nt, { TextArea: cs } = ht, ib = (t) => {
|
|
|
17075
17075
|
) })
|
|
17076
17076
|
] });
|
|
17077
17077
|
}, lb = (t) => {
|
|
17078
|
-
const { ooui: e } = t, { label: n, icon: r } = e, o =
|
|
17078
|
+
const { ooui: e } = t, { label: n, icon: r } = e, o = xt(r || "");
|
|
17079
17079
|
return /* @__PURE__ */ s(to, { orientation: "left", className: "text-sm", children: (o || n) && /* @__PURE__ */ B(ot, { children: [
|
|
17080
17080
|
o ? /* @__PURE__ */ s(o, {}) : null,
|
|
17081
17081
|
n
|
|
@@ -17956,8 +17956,8 @@ function Ob({ toolbar: t }) {
|
|
|
17956
17956
|
), l ? /* @__PURE__ */ B(ot, { wrap: !0, children: [
|
|
17957
17957
|
_ && /* @__PURE__ */ B(ve, { children: [
|
|
17958
17958
|
/* @__PURE__ */ s(st, {}),
|
|
17959
|
-
/* @__PURE__ */ s(
|
|
17960
|
-
/* @__PURE__ */ s(
|
|
17959
|
+
/* @__PURE__ */ s(wt, {}),
|
|
17960
|
+
/* @__PURE__ */ s(wt, {})
|
|
17961
17961
|
] }),
|
|
17962
17962
|
/* @__PURE__ */ s(Nl, { disabled: L || !(V != null && V.create) }),
|
|
17963
17963
|
/* @__PURE__ */ s(
|
|
@@ -17998,7 +17998,7 @@ function Ob({ toolbar: t }) {
|
|
|
17998
17998
|
})
|
|
17999
17999
|
}
|
|
18000
18000
|
),
|
|
18001
|
-
/* @__PURE__ */ s(
|
|
18001
|
+
/* @__PURE__ */ s(wt, {}),
|
|
18002
18002
|
/* @__PURE__ */ s(
|
|
18003
18003
|
Nt,
|
|
18004
18004
|
{
|
|
@@ -18017,7 +18017,7 @@ function Ob({ toolbar: t }) {
|
|
|
18017
18017
|
onClick: $
|
|
18018
18018
|
}
|
|
18019
18019
|
),
|
|
18020
|
-
/* @__PURE__ */ s(
|
|
18020
|
+
/* @__PURE__ */ s(wt, {}),
|
|
18021
18021
|
/* @__PURE__ */ s(
|
|
18022
18022
|
Es,
|
|
18023
18023
|
{
|
|
@@ -18029,7 +18029,7 @@ function Ob({ toolbar: t }) {
|
|
|
18029
18029
|
formHasChanges: u
|
|
18030
18030
|
}
|
|
18031
18031
|
),
|
|
18032
|
-
/* @__PURE__ */ s(
|
|
18032
|
+
/* @__PURE__ */ s(wt, {}),
|
|
18033
18033
|
/* @__PURE__ */ s(
|
|
18034
18034
|
id,
|
|
18035
18035
|
{
|
|
@@ -18039,7 +18039,7 @@ function Ob({ toolbar: t }) {
|
|
|
18039
18039
|
tryAction: z
|
|
18040
18040
|
}
|
|
18041
18041
|
),
|
|
18042
|
-
/* @__PURE__ */ s(
|
|
18042
|
+
/* @__PURE__ */ s(wt, {}),
|
|
18043
18043
|
/* @__PURE__ */ s(fn, { icon: /* @__PURE__ */ s(ao, {}), ...P }),
|
|
18044
18044
|
/* @__PURE__ */ s(fn, { icon: /* @__PURE__ */ s(lo, {}), ...H }),
|
|
18045
18045
|
/* @__PURE__ */ s(fn, { icon: /* @__PURE__ */ s(co, {}), ...q }),
|
|
@@ -18053,7 +18053,7 @@ function Ob({ toolbar: t }) {
|
|
|
18053
18053
|
onViewAttachmentDetails: ue
|
|
18054
18054
|
}
|
|
18055
18055
|
),
|
|
18056
|
-
/* @__PURE__ */ s(
|
|
18056
|
+
/* @__PURE__ */ s(wt, {}),
|
|
18057
18057
|
/* @__PURE__ */ s(go, { res_id: m })
|
|
18058
18058
|
] }) : null;
|
|
18059
18059
|
}
|
|
@@ -18309,7 +18309,7 @@ function Pb({ refreshGraph: t }) {
|
|
|
18309
18309
|
previousView: d
|
|
18310
18310
|
}
|
|
18311
18311
|
),
|
|
18312
|
-
/* @__PURE__ */ s(
|
|
18312
|
+
/* @__PURE__ */ s(wt, {}),
|
|
18313
18313
|
/* @__PURE__ */ s(go, { searchParams: i })
|
|
18314
18314
|
] });
|
|
18315
18315
|
}
|
|
@@ -18555,7 +18555,7 @@ function Bb() {
|
|
|
18555
18555
|
}
|
|
18556
18556
|
}
|
|
18557
18557
|
),
|
|
18558
|
-
/* @__PURE__ */ s(
|
|
18558
|
+
/* @__PURE__ */ s(wt, {}),
|
|
18559
18559
|
(o == null ? void 0 : o.write) && /* @__PURE__ */ s(
|
|
18560
18560
|
Nt,
|
|
18561
18561
|
{
|
|
@@ -18580,7 +18580,7 @@ function Bb() {
|
|
|
18580
18580
|
}
|
|
18581
18581
|
}
|
|
18582
18582
|
),
|
|
18583
|
-
/* @__PURE__ */ s(
|
|
18583
|
+
/* @__PURE__ */ s(wt, {}),
|
|
18584
18584
|
/* @__PURE__ */ s(go, {})
|
|
18585
18585
|
] });
|
|
18586
18586
|
}
|
|
@@ -18598,7 +18598,7 @@ const jb = (t) => {
|
|
|
18598
18598
|
children: [
|
|
18599
18599
|
/* @__PURE__ */ s(Or, { children: /* @__PURE__ */ s(Bb, {}) }),
|
|
18600
18600
|
/* @__PURE__ */ s(
|
|
18601
|
-
|
|
18601
|
+
pw,
|
|
18602
18602
|
{
|
|
18603
18603
|
ref: r,
|
|
18604
18604
|
model: e.model,
|
|
@@ -18617,18 +18617,23 @@ const jb = (t) => {
|
|
|
18617
18617
|
...yo,
|
|
18618
18618
|
integer: pa,
|
|
18619
18619
|
float: pa
|
|
18620
|
-
}, { Text: Yo } = Zt, { useToken: Ub } = nt, Wb =
|
|
18621
|
-
position: relative;
|
|
18620
|
+
}, { Text: Yo } = Zt, { useToken: Ub } = nt, Wb = vt.div`
|
|
18622
18621
|
margin-bottom: 8px;
|
|
18622
|
+
|
|
18623
|
+
&:last-child {
|
|
18624
|
+
margin-bottom: 0;
|
|
18625
|
+
}
|
|
18626
|
+
`, qb = vt(Sr)`
|
|
18627
|
+
position: relative;
|
|
18623
18628
|
background-color: ${(t) => t.$bgColor};
|
|
18624
18629
|
border: 1px solid ${(t) => t.$borderColor};
|
|
18625
18630
|
outline: none;
|
|
18626
18631
|
outline-offset: -1px;
|
|
18627
18632
|
|
|
18628
18633
|
&:hover {
|
|
18629
|
-
outline: 3px solid ${(t) => t.$primaryColor};
|
|
18634
|
+
outline: 3px solid ${(t) => t.$color || t.$primaryColor};
|
|
18630
18635
|
}
|
|
18631
|
-
`,
|
|
18636
|
+
`, Gb = vt.div`
|
|
18632
18637
|
position: absolute;
|
|
18633
18638
|
left: 0;
|
|
18634
18639
|
top: 0;
|
|
@@ -18636,7 +18641,7 @@ const jb = (t) => {
|
|
|
18636
18641
|
width: 5px;
|
|
18637
18642
|
background-color: ${(t) => t.$color};
|
|
18638
18643
|
border-radius: 7px 0 0 7px;
|
|
18639
|
-
`,
|
|
18644
|
+
`, Yb = (t) => {
|
|
18640
18645
|
const {
|
|
18641
18646
|
record: e,
|
|
18642
18647
|
kanbanDef: n,
|
|
@@ -18731,14 +18736,15 @@ const jb = (t) => {
|
|
|
18731
18736
|
},
|
|
18732
18737
|
[d, e, c]
|
|
18733
18738
|
);
|
|
18734
|
-
return /* @__PURE__ */ s("div", { ref: m, style: v, ...u, ...p, children: /* @__PURE__ */ B(
|
|
18735
|
-
|
|
18739
|
+
return /* @__PURE__ */ s(Wb, { children: /* @__PURE__ */ s("div", { ref: m, style: v, ...u, ...p, children: /* @__PURE__ */ B(
|
|
18740
|
+
qb,
|
|
18736
18741
|
{
|
|
18737
18742
|
size: "small",
|
|
18738
18743
|
onClick: a,
|
|
18739
18744
|
$bgColor: l.colorBgContainer,
|
|
18740
18745
|
$borderColor: l.colorBorder,
|
|
18741
18746
|
$primaryColor: l.colorPrimary,
|
|
18747
|
+
$color: o,
|
|
18742
18748
|
styles: {
|
|
18743
18749
|
body: {
|
|
18744
18750
|
padding: "12px",
|
|
@@ -18746,7 +18752,7 @@ const jb = (t) => {
|
|
|
18746
18752
|
}
|
|
18747
18753
|
},
|
|
18748
18754
|
children: [
|
|
18749
|
-
o && /* @__PURE__ */ s(
|
|
18755
|
+
o && /* @__PURE__ */ s(Gb, { $color: o }),
|
|
18750
18756
|
/* @__PURE__ */ s("div", { style: { marginBottom: "8px" }, children: n.card_fields.map((w) => b(w)) }),
|
|
18751
18757
|
x.length > 0 && /* @__PURE__ */ s(ot, { size: "small", wrap: !0, children: x.map((w) => /* @__PURE__ */ s(
|
|
18752
18758
|
We,
|
|
@@ -18762,8 +18768,8 @@ const jb = (t) => {
|
|
|
18762
18768
|
)) })
|
|
18763
18769
|
]
|
|
18764
18770
|
}
|
|
18765
|
-
) });
|
|
18766
|
-
}, ld = tt(
|
|
18771
|
+
) }) });
|
|
18772
|
+
}, ld = tt(Yb), { Text: Vr } = Zt, { useToken: zb } = nt, Kb = (t) => {
|
|
18767
18773
|
const {
|
|
18768
18774
|
column: e,
|
|
18769
18775
|
kanbanDef: n,
|
|
@@ -18776,7 +18782,7 @@ const jb = (t) => {
|
|
|
18776
18782
|
isLoadingAggregates: d = !1,
|
|
18777
18783
|
onCardClick: f,
|
|
18778
18784
|
onButtonClick: u
|
|
18779
|
-
} = t, { t: p } = xe(), { token: m } =
|
|
18785
|
+
} = t, { t: p } = xe(), { token: m } = zb(), { setNodeRef: g, isOver: h } = Eu({
|
|
18780
18786
|
id: e.id
|
|
18781
18787
|
}), y = e.records.map((x) => x.id), v = a !== void 0 && e.count > a, b = l && Object.keys(l).length > 0 ? Object.values(l).map((x) => `${x.label}: ${x.amount}`).join(", ") : null;
|
|
18782
18788
|
return /* @__PURE__ */ B(
|
|
@@ -18919,7 +18925,7 @@ const jb = (t) => {
|
|
|
18919
18925
|
]
|
|
18920
18926
|
}
|
|
18921
18927
|
);
|
|
18922
|
-
},
|
|
18928
|
+
}, Jb = tt(Kb), Xb = (t) => {
|
|
18923
18929
|
const {
|
|
18924
18930
|
colorsForRecords: e,
|
|
18925
18931
|
columns: n,
|
|
@@ -19000,7 +19006,7 @@ const jb = (t) => {
|
|
|
19000
19006
|
height: "100%"
|
|
19001
19007
|
},
|
|
19002
19008
|
children: n.map((T) => /* @__PURE__ */ s(
|
|
19003
|
-
|
|
19009
|
+
Jb,
|
|
19004
19010
|
{
|
|
19005
19011
|
column: T,
|
|
19006
19012
|
kanbanDef: r,
|
|
@@ -19039,7 +19045,7 @@ const jb = (t) => {
|
|
|
19039
19045
|
]
|
|
19040
19046
|
}
|
|
19041
19047
|
);
|
|
19042
|
-
},
|
|
19048
|
+
}, Qb = tt(Xb), Zb = (t) => {
|
|
19043
19049
|
const {
|
|
19044
19050
|
model: e,
|
|
19045
19051
|
domain: n,
|
|
@@ -19185,7 +19191,7 @@ const jb = (t) => {
|
|
|
19185
19191
|
moveRecord: V,
|
|
19186
19192
|
totalRows: M
|
|
19187
19193
|
};
|
|
19188
|
-
},
|
|
19194
|
+
}, ew = ({
|
|
19189
19195
|
kanbanDef: t,
|
|
19190
19196
|
model: e,
|
|
19191
19197
|
domain: n,
|
|
@@ -19263,7 +19269,7 @@ const jb = (t) => {
|
|
|
19263
19269
|
isLoading: d,
|
|
19264
19270
|
hasAggregates: h
|
|
19265
19271
|
};
|
|
19266
|
-
},
|
|
19272
|
+
}, tw = (t, e) => {
|
|
19267
19273
|
const {
|
|
19268
19274
|
kanbanView: n,
|
|
19269
19275
|
model: r,
|
|
@@ -19298,7 +19304,7 @@ const jb = (t) => {
|
|
|
19298
19304
|
fetchRecords: w,
|
|
19299
19305
|
colorsForRecords: T,
|
|
19300
19306
|
totalRows: S
|
|
19301
|
-
} =
|
|
19307
|
+
} = Zb({
|
|
19302
19308
|
model: r,
|
|
19303
19309
|
domain: o,
|
|
19304
19310
|
context: i,
|
|
@@ -19322,7 +19328,7 @@ const jb = (t) => {
|
|
|
19322
19328
|
aggregatesByColumn: E,
|
|
19323
19329
|
isLoading: k,
|
|
19324
19330
|
hasAggregates: O
|
|
19325
|
-
} =
|
|
19331
|
+
} = ew({
|
|
19326
19332
|
kanbanDef: u || void 0,
|
|
19327
19333
|
model: r,
|
|
19328
19334
|
domain: D,
|
|
@@ -19359,7 +19365,7 @@ const jb = (t) => {
|
|
|
19359
19365
|
showIcon: !0
|
|
19360
19366
|
}
|
|
19361
19367
|
) : u ? /* @__PURE__ */ s(
|
|
19362
|
-
|
|
19368
|
+
Qb,
|
|
19363
19369
|
{
|
|
19364
19370
|
columns: v,
|
|
19365
19371
|
kanbanDef: u,
|
|
@@ -19390,9 +19396,9 @@ const jb = (t) => {
|
|
|
19390
19396
|
f
|
|
19391
19397
|
]);
|
|
19392
19398
|
return /* @__PURE__ */ s(ve, { children: N });
|
|
19393
|
-
},
|
|
19394
|
-
Bt(
|
|
19395
|
-
),
|
|
19399
|
+
}, nw = tt(
|
|
19400
|
+
Bt(tw)
|
|
19401
|
+
), rw = 10, ow = (t) => {
|
|
19396
19402
|
const {
|
|
19397
19403
|
visible: e,
|
|
19398
19404
|
kanbanView: n,
|
|
@@ -19414,7 +19420,7 @@ const jb = (t) => {
|
|
|
19414
19420
|
setSearchTreeNameSearch: b
|
|
19415
19421
|
} = Gs({ useLocalState: !1 }), [x, C] = A(!1), [w, T] = A(!1), [S, _] = A(), [D, E] = A(null), k = c, O = J(null), F = ks({
|
|
19416
19422
|
elementRef: O,
|
|
19417
|
-
offset:
|
|
19423
|
+
offset: rw
|
|
19418
19424
|
}), N = Q(
|
|
19419
19425
|
() => ({
|
|
19420
19426
|
overflow: "hidden",
|
|
@@ -19518,7 +19524,7 @@ const jb = (t) => {
|
|
|
19518
19524
|
}
|
|
19519
19525
|
),
|
|
19520
19526
|
/* @__PURE__ */ s("div", { ref: O, style: N, children: /* @__PURE__ */ s(
|
|
19521
|
-
|
|
19527
|
+
nw,
|
|
19522
19528
|
{
|
|
19523
19529
|
ref: k,
|
|
19524
19530
|
kanbanView: n,
|
|
@@ -19544,8 +19550,8 @@ const jb = (t) => {
|
|
|
19544
19550
|
}
|
|
19545
19551
|
)
|
|
19546
19552
|
] }) : null;
|
|
19547
|
-
},
|
|
19548
|
-
async function
|
|
19553
|
+
}, sw = tt(ow);
|
|
19554
|
+
async function iw(t) {
|
|
19549
19555
|
const e = await Promise.all(
|
|
19550
19556
|
t.map(async (r) => {
|
|
19551
19557
|
try {
|
|
@@ -19560,7 +19566,7 @@ async function sw(t) {
|
|
|
19560
19566
|
info: e[o]
|
|
19561
19567
|
})).filter((r) => r.info !== null);
|
|
19562
19568
|
}
|
|
19563
|
-
function
|
|
19569
|
+
function aw({
|
|
19564
19570
|
currentTab: t
|
|
19565
19571
|
}) {
|
|
19566
19572
|
const { currentView: e, searchParams: n, currentId: r, limit: o, currentPage: i, order: a } = $t(), { currentTab: c } = Er(), l = t || c;
|
|
@@ -19581,8 +19587,8 @@ function iw({
|
|
|
19581
19587
|
let g = !!f;
|
|
19582
19588
|
return m === "form" && (g = !!f && !!r), { shareUrl: p, canShare: g };
|
|
19583
19589
|
}
|
|
19584
|
-
const
|
|
19585
|
-
const { currentTab: t } = Er(), { title: e } = en(), { shareUrl: n } =
|
|
19590
|
+
const lw = () => {
|
|
19591
|
+
const { currentTab: t } = Er(), { title: e } = en(), { shareUrl: n } = aw({ currentTab: t });
|
|
19586
19592
|
ae(() => {
|
|
19587
19593
|
if (n) {
|
|
19588
19594
|
const r = new URL(n, window.location.origin);
|
|
@@ -19592,7 +19598,7 @@ const aw = () => {
|
|
|
19592
19598
|
document.title = e, t != null && t.title && t.title.length > 0 && (document.title = (t == null ? void 0 : t.title) + " - " + e);
|
|
19593
19599
|
}, [t, e]);
|
|
19594
19600
|
};
|
|
19595
|
-
function
|
|
19601
|
+
function cw(t, e) {
|
|
19596
19602
|
const {
|
|
19597
19603
|
domain: n,
|
|
19598
19604
|
model: r,
|
|
@@ -19669,7 +19675,7 @@ function lw(t, e) {
|
|
|
19669
19675
|
viewTuple: je
|
|
19670
19676
|
});
|
|
19671
19677
|
}
|
|
19672
|
-
const Le = await
|
|
19678
|
+
const Le = await iw(Ze);
|
|
19673
19679
|
for (const je of Le) {
|
|
19674
19680
|
if (!je)
|
|
19675
19681
|
continue;
|
|
@@ -19889,7 +19895,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
19889
19895
|
permissionsError: ee,
|
|
19890
19896
|
children: [
|
|
19891
19897
|
/* @__PURE__ */ s(
|
|
19892
|
-
|
|
19898
|
+
dw,
|
|
19893
19899
|
{
|
|
19894
19900
|
availableViews: T,
|
|
19895
19901
|
formRef: ie,
|
|
@@ -19925,7 +19931,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
19925
19931
|
}
|
|
19926
19932
|
) : null;
|
|
19927
19933
|
}
|
|
19928
|
-
const
|
|
19934
|
+
const dw = ({
|
|
19929
19935
|
availableViews: t,
|
|
19930
19936
|
formRef: e,
|
|
19931
19937
|
currentId: n,
|
|
@@ -19943,7 +19949,7 @@ const cw = ({
|
|
|
19943
19949
|
searchNameSearch: g,
|
|
19944
19950
|
setCurrentView: h,
|
|
19945
19951
|
setCurrentId: y
|
|
19946
|
-
}) => (
|
|
19952
|
+
}) => (lw(), t.map((v) => {
|
|
19947
19953
|
switch (v.type) {
|
|
19948
19954
|
case "form":
|
|
19949
19955
|
return /* @__PURE__ */ s(
|
|
@@ -20013,7 +20019,7 @@ const cw = ({
|
|
|
20013
20019
|
);
|
|
20014
20020
|
case "kanban":
|
|
20015
20021
|
return /* @__PURE__ */ s(
|
|
20016
|
-
|
|
20022
|
+
sw,
|
|
20017
20023
|
{
|
|
20018
20024
|
visible: r.type === v.type && r.view_id === v.view_id,
|
|
20019
20025
|
kanbanView: v,
|
|
@@ -20026,8 +20032,8 @@ const cw = ({
|
|
|
20026
20032
|
`${v.type}-${v.view_id}`
|
|
20027
20033
|
);
|
|
20028
20034
|
}
|
|
20029
|
-
})), cd = Bt(
|
|
20030
|
-
const
|
|
20035
|
+
})), cd = Bt(cw);
|
|
20036
|
+
const uw = Ru(_u), fw = (t) => {
|
|
20031
20037
|
const { children: e = [], onPositionItemsChanged: n } = t, r = Qt.Children.map(
|
|
20032
20038
|
e,
|
|
20033
20039
|
(o) => {
|
|
@@ -20036,7 +20042,7 @@ const dw = Ru(_u), uw = (t) => {
|
|
|
20036
20042
|
}
|
|
20037
20043
|
);
|
|
20038
20044
|
return /* @__PURE__ */ s(
|
|
20039
|
-
|
|
20045
|
+
uw,
|
|
20040
20046
|
{
|
|
20041
20047
|
className: "layout",
|
|
20042
20048
|
cols: { lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 },
|
|
@@ -20057,7 +20063,7 @@ const dw = Ru(_u), uw = (t) => {
|
|
|
20057
20063
|
}
|
|
20058
20064
|
);
|
|
20059
20065
|
}, zo = "line_ids";
|
|
20060
|
-
function
|
|
20066
|
+
function mw(t, e) {
|
|
20061
20067
|
const { model: n, context: r = {}, id: o, configAction: i } = t, [a, c] = A([]), [l, d] = A(!1), [f, u] = A(), {
|
|
20062
20068
|
setIsLoading: p,
|
|
20063
20069
|
openAction: m,
|
|
@@ -20189,7 +20195,7 @@ function fw(t, e) {
|
|
|
20189
20195
|
async function k() {
|
|
20190
20196
|
m(i);
|
|
20191
20197
|
}
|
|
20192
|
-
return l ? /* @__PURE__ */ s(Ut, {}) : f ? (console.error(f), /* @__PURE__ */ s(At, { className: "mt-10 mb-20", message: f, type: "error", banner: !0 })) : /* @__PURE__ */ s(
|
|
20198
|
+
return l ? /* @__PURE__ */ s(Ut, {}) : f ? (console.error(f), /* @__PURE__ */ s(At, { className: "mt-10 mb-20", message: f, type: "error", banner: !0 })) : /* @__PURE__ */ s(fw, { onPositionItemsChanged: E, children: a.map((O, F) => {
|
|
20193
20199
|
const { actionData: N, values: R } = O, { position: V, id: M } = R, {
|
|
20194
20200
|
actionId: L,
|
|
20195
20201
|
actionType: z,
|
|
@@ -20332,10 +20338,10 @@ function fw(t, e) {
|
|
|
20332
20338
|
);
|
|
20333
20339
|
}) });
|
|
20334
20340
|
}
|
|
20335
|
-
const
|
|
20341
|
+
const pw = Bt(mw), hw = (t) => {
|
|
20336
20342
|
const { ooui: e } = t;
|
|
20337
|
-
return /* @__PURE__ */ s(qe, { type: "array", ...t, children: /* @__PURE__ */ s(
|
|
20338
|
-
},
|
|
20343
|
+
return /* @__PURE__ */ s(qe, { type: "array", ...t, children: /* @__PURE__ */ s(gw, { ooui: e }) });
|
|
20344
|
+
}, gw = (t) => {
|
|
20339
20345
|
const { value: e, ooui: n, onChange: r } = t, { items: o = [] } = e || {}, i = o.filter((_) => _.operation !== "pendingRemove").map((_) => _.id), [a, c] = A([]), [l, d] = A(), [f, u] = A(!1), { relation: p, context: m, readOnly: g, field: h, columns: y } = n, v = pe(rt), { getContext: b } = v || {};
|
|
20340
20346
|
He(() => {
|
|
20341
20347
|
C();
|
|
@@ -20416,7 +20422,7 @@ const mw = Bt(fw), pw = (t) => {
|
|
|
20416
20422
|
/* @__PURE__ */ s(We, { onClick: T, disabled: i.length === 0, children: "Uncheck all" })
|
|
20417
20423
|
] })
|
|
20418
20424
|
] }) });
|
|
20419
|
-
},
|
|
20425
|
+
}, yw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(dd, {}) }), dd = Bt(
|
|
20420
20426
|
(t, e) => {
|
|
20421
20427
|
const { value: n = "", onChange: r, ...o } = t, { ooui: i } = o, [a, c] = A(n), l = J(!1);
|
|
20422
20428
|
ae(() => {
|
|
@@ -20506,25 +20512,25 @@ const mw = Bt(fw), pw = (t) => {
|
|
|
20506
20512
|
}
|
|
20507
20513
|
);
|
|
20508
20514
|
dd.displayName = "MarkdownInput";
|
|
20509
|
-
const
|
|
20515
|
+
const vw = (t) => {
|
|
20510
20516
|
const { ooui: e } = t, { required: n } = e;
|
|
20511
|
-
return /* @__PURE__ */ s(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(
|
|
20512
|
-
},
|
|
20517
|
+
return /* @__PURE__ */ s(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(bw, { ...t }) });
|
|
20518
|
+
}, bw = (t) => {
|
|
20513
20519
|
const { ooui: e, onChange: n, value: r } = t, { selectionValues: o, readOnly: i, direction: a } = e, c = Array.from(o.entries()), l = c && c.length && c.map((d) => {
|
|
20514
20520
|
const [f, u] = d;
|
|
20515
20521
|
return /* @__PURE__ */ s(oi, { value: f, children: u }, f);
|
|
20516
20522
|
});
|
|
20517
20523
|
return /* @__PURE__ */ s(oi.Group, { disabled: i, onChange: n, value: r, children: /* @__PURE__ */ s(ot, { direction: a, children: l }) });
|
|
20518
|
-
}, bw = (t) => {
|
|
20519
|
-
const { ooui: e } = t, { id: n, readOnly: r, required: o } = e;
|
|
20520
|
-
return /* @__PURE__ */ s(qe, { ...t, valuePropName: "checked", children: /* @__PURE__ */ s(ww, { id: n, readOnly: r, required: o }) });
|
|
20521
20524
|
}, ww = (t) => {
|
|
20525
|
+
const { ooui: e } = t, { id: n, readOnly: r, required: o } = e;
|
|
20526
|
+
return /* @__PURE__ */ s(qe, { ...t, valuePropName: "checked", children: /* @__PURE__ */ s(xw, { id: n, readOnly: r, required: o }) });
|
|
20527
|
+
}, xw = (t) => {
|
|
20522
20528
|
const { required: e, readOnly: n, ...r } = t;
|
|
20523
20529
|
return /* @__PURE__ */ s("div", { className: "flex flex-row", children: /* @__PURE__ */ s(Cd, { disabled: n, ...r }) });
|
|
20524
|
-
}, xw = (t) => {
|
|
20525
|
-
const { ooui: e } = t, { required: n } = e;
|
|
20526
|
-
return /* @__PURE__ */ s(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(Cw, { ...t }) });
|
|
20527
20530
|
}, Cw = (t) => {
|
|
20531
|
+
const { ooui: e } = t, { required: n } = e;
|
|
20532
|
+
return /* @__PURE__ */ s(qe, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(Sw, { ...t }) });
|
|
20533
|
+
}, Sw = (t) => {
|
|
20528
20534
|
const { ooui: e, value: n } = t, { selectionValues: r, errorField: o, lastStep: i } = e, a = pe(rt);
|
|
20529
20535
|
let c = [], l;
|
|
20530
20536
|
e.fieldType === "json" && n ? (c = n.map((u) => [u.title, u.title]), l = n.findIndex((u) => u.active)) : (c = Array.from(r.entries()), l = c.map((u) => u[0]).indexOf(n));
|
|
@@ -20537,7 +20543,7 @@ const yw = (t) => {
|
|
|
20537
20543
|
},
|
|
20538
20544
|
u[1]
|
|
20539
20545
|
)) });
|
|
20540
|
-
},
|
|
20546
|
+
}, Tw = (t) => {
|
|
20541
20547
|
const {
|
|
20542
20548
|
token: {
|
|
20543
20549
|
colorPrimaryBg: e,
|
|
@@ -20588,7 +20594,7 @@ const yw = (t) => {
|
|
|
20588
20594
|
borderTop: "16px solid transparent",
|
|
20589
20595
|
borderBottom: "16px solid transparent"
|
|
20590
20596
|
}), p = (m) => {
|
|
20591
|
-
const g =
|
|
20597
|
+
const g = xt(m);
|
|
20592
20598
|
return g && /* @__PURE__ */ s(g, {});
|
|
20593
20599
|
};
|
|
20594
20600
|
return /* @__PURE__ */ s("ul", { style: l, children: (t.value || []).map((m, g) => /* @__PURE__ */ B("li", { style: d(m.active), children: [
|
|
@@ -20600,7 +20606,7 @@ const yw = (t) => {
|
|
|
20600
20606
|
/* @__PURE__ */ s("div", { style: f }),
|
|
20601
20607
|
/* @__PURE__ */ s("div", { style: u(m.active) })
|
|
20602
20608
|
] }, g)) });
|
|
20603
|
-
},
|
|
20609
|
+
}, Fw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Tw, {}) }), Aw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(Iw, { ...t }) }), Iw = (t) => {
|
|
20604
20610
|
const { ooui: e, value: n, onChange: r } = t, { lang: o, height: i, readOnly: a } = e, c = pe(rt), { elementHasLostFocus: l } = c || {}, d = I(
|
|
20605
20611
|
(u) => {
|
|
20606
20612
|
l && u.onDidBlurEditorWidget(() => l());
|
|
@@ -20628,13 +20634,13 @@ const yw = (t) => {
|
|
|
20628
20634
|
onChange: r
|
|
20629
20635
|
}
|
|
20630
20636
|
);
|
|
20631
|
-
}, { Meta:
|
|
20637
|
+
}, { Meta: Rw } = Sr, { Text: _w } = Zt, Ew = ({ email: t, size: e = 40, theme: n = "" }) => {
|
|
20632
20638
|
const r = `https://www.gravatar.com/avatar/${Iu(
|
|
20633
20639
|
t
|
|
20634
20640
|
)}?s=${e}&d=${n}`;
|
|
20635
20641
|
return /* @__PURE__ */ s(xa, { src: r, size: e });
|
|
20636
20642
|
};
|
|
20637
|
-
function
|
|
20643
|
+
function Ow({ text: t }) {
|
|
20638
20644
|
const e = t.split(`
|
|
20639
20645
|
`);
|
|
20640
20646
|
return /* @__PURE__ */ s("div", { children: e.map((n, r) => /* @__PURE__ */ B(On, { children: [
|
|
@@ -20642,13 +20648,13 @@ function Ew({ text: t }) {
|
|
|
20642
20648
|
r !== e.length - 1 && /* @__PURE__ */ s("br", {})
|
|
20643
20649
|
] }, r)) });
|
|
20644
20650
|
}
|
|
20645
|
-
const
|
|
20651
|
+
const Dw = (t) => {
|
|
20646
20652
|
const { data: e, style: n } = t, { t: r } = xe();
|
|
20647
20653
|
return /* @__PURE__ */ B(Sr, { style: { ...n, textAlign: "start" }, children: [
|
|
20648
20654
|
/* @__PURE__ */ s(
|
|
20649
|
-
|
|
20655
|
+
Rw,
|
|
20650
20656
|
{
|
|
20651
|
-
avatar: /* @__PURE__ */ s(
|
|
20657
|
+
avatar: /* @__PURE__ */ s(Ew, { email: e.email, theme: "mp" }),
|
|
20652
20658
|
title: e.author,
|
|
20653
20659
|
description: /* @__PURE__ */ B(ot, { direction: "horizontal", children: [
|
|
20654
20660
|
/* @__PURE__ */ s("span", { title: e.date, children: ft(e.date).fromNow() }),
|
|
@@ -20657,12 +20663,12 @@ const Ow = (t) => {
|
|
|
20657
20663
|
style: { marginBottom: "5px" }
|
|
20658
20664
|
}
|
|
20659
20665
|
),
|
|
20660
|
-
/* @__PURE__ */ s(
|
|
20666
|
+
/* @__PURE__ */ s(_w, { children: /* @__PURE__ */ s(Ow, { text: e.text }) })
|
|
20661
20667
|
] }, e.id);
|
|
20662
20668
|
}, ha = (t) => {
|
|
20663
|
-
const e =
|
|
20669
|
+
const e = xt(t);
|
|
20664
20670
|
return e && /* @__PURE__ */ s(e, {});
|
|
20665
|
-
},
|
|
20671
|
+
}, kw = (t) => {
|
|
20666
20672
|
const { value: e, ooui: n } = t, r = (e || []).map((o) => {
|
|
20667
20673
|
if (o.type === "action")
|
|
20668
20674
|
return {
|
|
@@ -20674,7 +20680,7 @@ const Ow = (t) => {
|
|
|
20674
20680
|
color: "gray",
|
|
20675
20681
|
position: o.event.isSender ? "left" : "right",
|
|
20676
20682
|
label: o.event.date,
|
|
20677
|
-
children: /* @__PURE__ */ s(
|
|
20683
|
+
children: /* @__PURE__ */ s(Dw, { data: o.event }),
|
|
20678
20684
|
dot: o.icon ? ha(o.icon) : void 0
|
|
20679
20685
|
};
|
|
20680
20686
|
});
|
|
@@ -20692,7 +20698,7 @@ const Ow = (t) => {
|
|
|
20692
20698
|
}
|
|
20693
20699
|
}
|
|
20694
20700
|
);
|
|
20695
|
-
},
|
|
20701
|
+
}, Nw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(kw, { ooui: t.ooui }) }), Mw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(lu, {}) }), $w = (t) => {
|
|
20696
20702
|
const { ooui: e } = t, n = pe(rt);
|
|
20697
20703
|
let { title: r, text: o, alertType: i, icon: a, buttons: c } = e;
|
|
20698
20704
|
if (e.fieldType && e.id) {
|
|
@@ -20709,7 +20715,7 @@ const Ow = (t) => {
|
|
|
20709
20715
|
}
|
|
20710
20716
|
function l(f) {
|
|
20711
20717
|
if (f) {
|
|
20712
|
-
const u =
|
|
20718
|
+
const u = xt(f);
|
|
20713
20719
|
return u && /* @__PURE__ */ s(u, {});
|
|
20714
20720
|
}
|
|
20715
20721
|
}
|
|
@@ -20725,9 +20731,9 @@ const Ow = (t) => {
|
|
|
20725
20731
|
icon: l(a)
|
|
20726
20732
|
}
|
|
20727
20733
|
);
|
|
20728
|
-
}, { defaultAlgorithm:
|
|
20734
|
+
}, { defaultAlgorithm: Pw, defaultSeed: Lw } = nt, ga = Pw(Lw), Vw = (t) => {
|
|
20729
20735
|
const { ooui: e, responsiveBehaviour: n = !1 } = t;
|
|
20730
|
-
return /* @__PURE__ */ s(
|
|
20736
|
+
return /* @__PURE__ */ s(Hw, { autoplay: e.autoPlay, dots: !0, autoplaySpeed: 5e3, children: e.items.map((r, o) => /* @__PURE__ */ s(
|
|
20731
20737
|
Qs,
|
|
20732
20738
|
{
|
|
20733
20739
|
container: r.container,
|
|
@@ -20735,7 +20741,7 @@ const Ow = (t) => {
|
|
|
20735
20741
|
},
|
|
20736
20742
|
o
|
|
20737
20743
|
)) });
|
|
20738
|
-
},
|
|
20744
|
+
}, Hw = vt(Sd)`
|
|
20739
20745
|
.slick-dots li button {
|
|
20740
20746
|
background-color: ${ga.colorPrimary};
|
|
20741
20747
|
}
|
|
@@ -20745,7 +20751,7 @@ const Ow = (t) => {
|
|
|
20745
20751
|
.slick-dots-bottom {
|
|
20746
20752
|
bottom: -15px;
|
|
20747
20753
|
}
|
|
20748
|
-
`,
|
|
20754
|
+
`, Bw = (t) => /* @__PURE__ */ s(qe, { ...t, children: /* @__PURE__ */ s(jw, { ...t }) }), jw = (t) => {
|
|
20749
20755
|
const { ooui: e, value: n, onChange: r } = t;
|
|
20750
20756
|
return /* @__PURE__ */ s(
|
|
20751
20757
|
Ca,
|
|
@@ -20759,12 +20765,12 @@ const Ow = (t) => {
|
|
|
20759
20765
|
value: n
|
|
20760
20766
|
}
|
|
20761
20767
|
);
|
|
20762
|
-
}, { Content:
|
|
20763
|
-
function
|
|
20768
|
+
}, { Content: Uw } = Sa, { Title: Ww } = Zt;
|
|
20769
|
+
function qw() {
|
|
20764
20770
|
const { t } = xe();
|
|
20765
|
-
return /* @__PURE__ */ s(
|
|
20771
|
+
return /* @__PURE__ */ s(Uw, { className: "m-5 select-none", children: /* @__PURE__ */ s(Ww, { level: 5, children: t("welcome") }) });
|
|
20766
20772
|
}
|
|
20767
|
-
function
|
|
20773
|
+
function Gw(t, e) {
|
|
20768
20774
|
const { children: n } = t, [r, o] = A("welcome"), { t: i } = xe(), { showErrorNotification: a } = Ct(), { globalValues: c, rootContext: l } = en(), d = ho(
|
|
20769
20775
|
It.FEATURE_LOGGABLE_ACTIONS
|
|
20770
20776
|
), [f, u] = Ae(
|
|
@@ -20778,7 +20784,7 @@ function qw(t, e) {
|
|
|
20778
20784
|
title: i("welcome"),
|
|
20779
20785
|
key: "welcome",
|
|
20780
20786
|
closable: !0,
|
|
20781
|
-
content: /* @__PURE__ */ s(
|
|
20787
|
+
content: /* @__PURE__ */ s(qw, {}),
|
|
20782
20788
|
action: null
|
|
20783
20789
|
}
|
|
20784
20790
|
]), g = J(/* @__PURE__ */ new Map()), h = J();
|
|
@@ -21282,9 +21288,9 @@ function qw(t, e) {
|
|
|
21282
21288
|
}
|
|
21283
21289
|
);
|
|
21284
21290
|
}
|
|
21285
|
-
const
|
|
21286
|
-
function
|
|
21287
|
-
const { label: e, onClose: n, tabKey: r, isActive: o, onSelected: i, onTitleChange: a } = t, { token: c } =
|
|
21291
|
+
const X0 = Bt(Gw), { useToken: Yw } = nt;
|
|
21292
|
+
function zw(t) {
|
|
21293
|
+
const { label: e, onClose: n, tabKey: r, isActive: o, onSelected: i, onTitleChange: a } = t, { token: c } = Yw(), l = o ? c.colorBgContainer : c.colorPrimaryBg, [d, f] = A(!1), [u, p] = A(e), m = J(null), g = c.colorPrimaryActive, {
|
|
21288
21294
|
attributes: h,
|
|
21289
21295
|
listeners: y,
|
|
21290
21296
|
setNodeRef: v,
|
|
@@ -21445,7 +21451,7 @@ function Yw(t) {
|
|
|
21445
21451
|
}
|
|
21446
21452
|
);
|
|
21447
21453
|
}
|
|
21448
|
-
function
|
|
21454
|
+
function Q0() {
|
|
21449
21455
|
const t = pe(
|
|
21450
21456
|
Wt
|
|
21451
21457
|
), {
|
|
@@ -21535,7 +21541,7 @@ function X0() {
|
|
|
21535
21541
|
items: g,
|
|
21536
21542
|
strategy: Pu,
|
|
21537
21543
|
children: n.map((v) => /* @__PURE__ */ s(
|
|
21538
|
-
|
|
21544
|
+
zw,
|
|
21539
21545
|
{
|
|
21540
21546
|
tabKey: v.key,
|
|
21541
21547
|
label: v.title,
|
|
@@ -21551,7 +21557,7 @@ function X0() {
|
|
|
21551
21557
|
}
|
|
21552
21558
|
) }) });
|
|
21553
21559
|
}
|
|
21554
|
-
function
|
|
21560
|
+
function Kw(t) {
|
|
21555
21561
|
const { tab: e } = t, n = pe(
|
|
21556
21562
|
Wt
|
|
21557
21563
|
), { activeKey: r } = n || {}, o = {
|
|
@@ -21559,21 +21565,21 @@ function zw(t) {
|
|
|
21559
21565
|
};
|
|
21560
21566
|
return /* @__PURE__ */ s("div", { style: e.key !== r ? o : void 0, children: e.content });
|
|
21561
21567
|
}
|
|
21562
|
-
const
|
|
21563
|
-
function
|
|
21568
|
+
const Jw = Qt.memo(Kw, () => !0);
|
|
21569
|
+
function Z0() {
|
|
21564
21570
|
const t = pe(
|
|
21565
21571
|
Wt
|
|
21566
|
-
), { tabs: e } = t || {}, n = (e == null ? void 0 : e.map((r) => /* @__PURE__ */ s(
|
|
21572
|
+
), { tabs: e } = t || {}, n = (e == null ? void 0 : e.map((r) => /* @__PURE__ */ s(Jw, { tab: r }, r.key))) || null;
|
|
21567
21573
|
return /* @__PURE__ */ s(ve, { children: n });
|
|
21568
21574
|
}
|
|
21569
|
-
const { useToken:
|
|
21575
|
+
const { useToken: Xw } = nt, ex = (t) => {
|
|
21570
21576
|
const {
|
|
21571
21577
|
onRetrieveShortcuts: e,
|
|
21572
21578
|
onCheckIsFavourite: n,
|
|
21573
21579
|
onAddFavourite: r,
|
|
21574
21580
|
onRemoveFavourite: o,
|
|
21575
21581
|
onDropdownClosed: i
|
|
21576
|
-
} = t, [a, c] = A(!1), [l, d] = A(), [f, u] = A(!1), [p, m] = A(""), { t: g } = xe(), { token: h } =
|
|
21582
|
+
} = t, [a, c] = A(!1), [l, d] = A(), [f, u] = A(!1), [p, m] = A(""), { t: g } = xe(), { token: h } = Xw(), y = J(null), v = pe(
|
|
21577
21583
|
Wt
|
|
21578
21584
|
), {
|
|
21579
21585
|
openShortcut: b,
|
|
@@ -21757,33 +21763,33 @@ export {
|
|
|
21757
21763
|
Db as ActionBar,
|
|
21758
21764
|
cd as ActionView,
|
|
21759
21765
|
jy as ActionViewProvider,
|
|
21760
|
-
|
|
21761
|
-
|
|
21766
|
+
$w as Alert,
|
|
21767
|
+
Fw as ArrowStepsField,
|
|
21762
21768
|
Ab as Binary,
|
|
21763
21769
|
yf as Boolean,
|
|
21764
21770
|
Ts as Button,
|
|
21765
21771
|
Qu as ButtonGroup,
|
|
21766
21772
|
uv as Card,
|
|
21767
|
-
|
|
21773
|
+
Vw as Carousel,
|
|
21768
21774
|
nl as Char,
|
|
21769
|
-
|
|
21770
|
-
|
|
21771
|
-
|
|
21775
|
+
Aw as CodeEditor,
|
|
21776
|
+
Bw as ColorPicker,
|
|
21777
|
+
Nw as CommentsTimelineField,
|
|
21772
21778
|
Sl as ConfigContext,
|
|
21773
21779
|
Gf as ConfigContextProvider,
|
|
21774
21780
|
U as ConnectionProvider,
|
|
21775
21781
|
Dm as ContentRootProvider,
|
|
21776
|
-
|
|
21782
|
+
Z0 as CurrentTabContent,
|
|
21777
21783
|
Ot as DEFAULT_SEARCH_LIMIT,
|
|
21778
|
-
|
|
21779
|
-
|
|
21784
|
+
pw as Dashboard,
|
|
21785
|
+
fw as DashboardGrid,
|
|
21780
21786
|
bb as Date,
|
|
21781
21787
|
wb as DateTime,
|
|
21782
21788
|
Mb as Email,
|
|
21783
|
-
|
|
21789
|
+
K0 as ErpAllFeatureKeys,
|
|
21784
21790
|
It as ErpFeatureKeys,
|
|
21785
21791
|
yb as ExportModal,
|
|
21786
|
-
|
|
21792
|
+
ex as FavouriteButton,
|
|
21787
21793
|
Ls as Float,
|
|
21788
21794
|
eb as FloatTime,
|
|
21789
21795
|
lr as Form,
|
|
@@ -21792,33 +21798,33 @@ export {
|
|
|
21792
21798
|
Mc as GraphCard,
|
|
21793
21799
|
em as GraphIndicator,
|
|
21794
21800
|
rd as Group,
|
|
21795
|
-
|
|
21801
|
+
Mw as HTMLPreview,
|
|
21796
21802
|
xf as Icon,
|
|
21797
21803
|
Sf as Image,
|
|
21798
21804
|
wr as Integer,
|
|
21799
21805
|
fo as Label,
|
|
21800
21806
|
Kf as MODEL_ACTIONS,
|
|
21801
21807
|
Ov as Many2one,
|
|
21802
|
-
|
|
21803
|
-
|
|
21808
|
+
yw as Markdown,
|
|
21809
|
+
hw as MultiCheckbox,
|
|
21804
21810
|
ob as Notebook,
|
|
21805
21811
|
Xv as One2many,
|
|
21806
21812
|
Ym as ProgressBar,
|
|
21807
21813
|
cv as QRCode,
|
|
21808
21814
|
dv as QRCodeInput,
|
|
21809
|
-
|
|
21815
|
+
vw as Radio,
|
|
21810
21816
|
Sb as Reference,
|
|
21811
|
-
|
|
21817
|
+
X0 as RootView,
|
|
21812
21818
|
wo as SearchFilter,
|
|
21813
21819
|
Co as SearchModal,
|
|
21814
21820
|
kc as SearchTree,
|
|
21815
21821
|
il as Selection,
|
|
21816
21822
|
lb as Separator,
|
|
21817
21823
|
Zr as Spinner,
|
|
21818
|
-
|
|
21819
|
-
|
|
21820
|
-
|
|
21821
|
-
|
|
21824
|
+
Cw as Steps,
|
|
21825
|
+
ww as Switch,
|
|
21826
|
+
zw as Tab,
|
|
21827
|
+
Q0 as TabSelector,
|
|
21822
21828
|
rp as Tag,
|
|
21823
21829
|
rv as Tags,
|
|
21824
21830
|
ib as Text,
|
|
@@ -21826,9 +21832,9 @@ export {
|
|
|
21826
21832
|
$r as Tree,
|
|
21827
21833
|
By as TreeActionView,
|
|
21828
21834
|
Nb as Url,
|
|
21829
|
-
|
|
21835
|
+
J0 as UserAllFeatureKeys,
|
|
21830
21836
|
mn as UserFeatureKeys,
|
|
21831
|
-
|
|
21837
|
+
rx as dayjs,
|
|
21832
21838
|
on as showConfirmDialog,
|
|
21833
21839
|
ar as useBrowserVisibility
|
|
21834
21840
|
};
|