@gisce/react-ooui 2.122.1 → 2.122.2
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/{TabContent-48447eed.mjs → TabContent-10e4a437.mjs} +681 -654
- package/dist/TabContent-10e4a437.mjs.map +1 -0
- package/dist/docs.es.js +1 -1
- package/dist/helpers/searchHelper.d.ts.map +1 -1
- package/dist/react-ooui.es.js +2 -2
- package/dist/widgets/views/searchFilter/DateRangePicker.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/TabContent-48447eed.mjs.map +0 -1
|
@@ -2052,7 +2052,7 @@ function jl(t, e) {
|
|
|
2052
2052
|
window.open(a);
|
|
2053
2053
|
}
|
|
2054
2054
|
var kt = /* @__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.FEATURE_COMMENTS_SYSTEM = "comments_system", t))(kt || {});
|
|
2055
|
-
const
|
|
2055
|
+
const wS = Object.values(kt), Yt = 80, Dn = "ir.actions.act_window", Im = "ir.actions.act_window_close", Em = "ir.actions.wizard", Cs = "ir.actions.report.xml", Rm = "ir.actions.act_url", Fm = "ir.actions.actions", Om = "ir.act.update_token", hn = (t) => {
|
|
2056
2056
|
const e = t.arch, n = t.fields, r = new Ja(n);
|
|
2057
2057
|
return r.parse(e), r;
|
|
2058
2058
|
};
|
|
@@ -2879,7 +2879,7 @@ const Pm = Wt(km), Lm = ({
|
|
|
2879
2879
|
return [...new Set(r.filter((o) => o in t))];
|
|
2880
2880
|
};
|
|
2881
2881
|
var wt = /* @__PURE__ */ ((t) => (t.FEATURE_MANY2ONE_DISABLE_ARROW_MENU = "widget.many2one.disable.arrow_menu", t.FEATURE_MANY2ONE_DISABLE_FOLDER = "widget.many2one.disable.folder", t.FEATURE_MANY2ONE_SELECTION_TO_LAZY = "widget.many2one.selection_to_many2onelazy", t.FEATURE_ONE2MANY_ENABLE_NEW_TABLE = "widget.one2many.enable_new_table", t.FEATURE_DATE_USE_MASKED_INPUT = "widget.date.use_masked_input", t.FEATURE_TEST_FEATURE = "test.feature", t))(wt || {});
|
|
2882
|
-
const
|
|
2882
|
+
const CS = Object.values(wt), { defaultAlgorithm: Bm, defaultSeed: Hm } = ot, Tn = Bm(Hm), jm = (t) => {
|
|
2883
2883
|
const { ooui: e } = t, { required: n } = e;
|
|
2884
2884
|
return /* @__PURE__ */ s(tt, { required: n, type: "array", validator: async (o, i) => {
|
|
2885
2885
|
if (!i)
|
|
@@ -4783,21 +4783,27 @@ const Dp = ({
|
|
|
4783
4783
|
fixedHeight: a
|
|
4784
4784
|
}
|
|
4785
4785
|
);
|
|
4786
|
-
}, Pi = (t) => typeof t == "string" && t === "true" || t === "false" ? t === "true" : t, Mp = (t) => {
|
|
4787
|
-
const
|
|
4788
|
-
t.forEach((
|
|
4789
|
-
if (Array.isArray(
|
|
4790
|
-
const [
|
|
4791
|
-
(
|
|
4786
|
+
}, Pi = (t) => typeof t == "string" && t === "true" || t === "false" ? t === "true" : t, Mp = (t, e) => {
|
|
4787
|
+
const n = {};
|
|
4788
|
+
t.forEach((a, d) => {
|
|
4789
|
+
if (Array.isArray(a) && a.length === 3) {
|
|
4790
|
+
const [c, l, f] = a;
|
|
4791
|
+
(l === ">=" || l === "<=") && (n[c] || (n[c] = { index: {} }), l === ">=" ? (n[c].gte = f, n[c].index.gte = d) : (n[c].lte = f, n[c].index.lte = d));
|
|
4792
4792
|
}
|
|
4793
4793
|
});
|
|
4794
|
-
const
|
|
4795
|
-
return Object.entries(
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4794
|
+
const r = [], o = [];
|
|
4795
|
+
return Object.entries(n).forEach(([a, { gte: d, lte: c, index: l }]) => {
|
|
4796
|
+
var f;
|
|
4797
|
+
if (d !== void 0 && c !== void 0 && d === c) {
|
|
4798
|
+
const u = (f = e == null ? void 0 : e.findById(a)) == null ? void 0 : f.type;
|
|
4799
|
+
if (u === "date" || u === "datetime")
|
|
4800
|
+
return;
|
|
4801
|
+
o.push({ index: l.gte, param: [a, "=", d] }), r.push(l.lte);
|
|
4802
|
+
}
|
|
4803
|
+
}), t.map((a, d) => {
|
|
4804
|
+
const c = o.find((l) => l.index === d);
|
|
4805
|
+
return c ? c.param : a;
|
|
4806
|
+
}).filter((a, d) => !r.includes(d));
|
|
4801
4807
|
}, Rr = (t, e, n) => {
|
|
4802
4808
|
const r = Vp(t), o = Pp(r), i = Lp(
|
|
4803
4809
|
o,
|
|
@@ -4810,7 +4816,7 @@ const Dp = ({
|
|
|
4810
4816
|
n
|
|
4811
4817
|
))
|
|
4812
4818
|
].reduce((c, l) => Array.isArray(l[0]) ? c.concat(l) : [...c, l], []);
|
|
4813
|
-
return Mp(d);
|
|
4819
|
+
return Mp(d, e);
|
|
4814
4820
|
}, Np = (t, e, n, r) => {
|
|
4815
4821
|
var f;
|
|
4816
4822
|
const o = t.split("#")[0], i = n.findById(o), a = i == null ? void 0 : i.type, d = (f = i == null ? void 0 : i.raw_props) == null ? void 0 : f.widget, c = i == null ? void 0 : i.fieldType;
|
|
@@ -5889,7 +5895,7 @@ function Xp({
|
|
|
5889
5895
|
}
|
|
5890
5896
|
),
|
|
5891
5897
|
/* @__PURE__ */ s(
|
|
5892
|
-
|
|
5898
|
+
Vw,
|
|
5893
5899
|
{
|
|
5894
5900
|
visible: B,
|
|
5895
5901
|
onClose: () => N(!1),
|
|
@@ -7159,16 +7165,37 @@ const Hi = ["sum", "count", "max", "min"], Zs = ({
|
|
|
7159
7165
|
}, Ic = (t) => {
|
|
7160
7166
|
const { className: e = "w-full", layout: n = "vertical" } = t, r = Hu();
|
|
7161
7167
|
return /* @__PURE__ */ s(tt, { ...t, layout: n, children: /* @__PURE__ */ s(
|
|
7168
|
+
Lh,
|
|
7169
|
+
{
|
|
7170
|
+
className: e,
|
|
7171
|
+
datePickerLocale: r
|
|
7172
|
+
}
|
|
7173
|
+
) });
|
|
7174
|
+
}, Lh = ({
|
|
7175
|
+
value: t,
|
|
7176
|
+
onChange: e,
|
|
7177
|
+
className: n,
|
|
7178
|
+
datePickerLocale: r
|
|
7179
|
+
}) => {
|
|
7180
|
+
const o = S(
|
|
7181
|
+
(i) => {
|
|
7182
|
+
e == null || e(i);
|
|
7183
|
+
},
|
|
7184
|
+
[e]
|
|
7185
|
+
);
|
|
7186
|
+
return /* @__PURE__ */ s(
|
|
7162
7187
|
Xd.RangePicker,
|
|
7163
7188
|
{
|
|
7164
7189
|
allowEmpty: [!0, !0],
|
|
7165
7190
|
format: "DD/MM/YYYY",
|
|
7166
7191
|
locale: r,
|
|
7167
7192
|
style: { width: "100%" },
|
|
7168
|
-
className:
|
|
7193
|
+
className: n,
|
|
7194
|
+
value: t,
|
|
7195
|
+
onCalendarChange: o
|
|
7169
7196
|
}
|
|
7170
|
-
)
|
|
7171
|
-
},
|
|
7197
|
+
);
|
|
7198
|
+
}, Vh = {
|
|
7172
7199
|
format: "HH:mm:ss",
|
|
7173
7200
|
displayFormat: "HH:mm:ss",
|
|
7174
7201
|
placeholder: "__:__:__"
|
|
@@ -7178,7 +7205,7 @@ const Hi = ["sum", "count", "max", "min"], Zs = ({
|
|
|
7178
7205
|
hours: Xo("HH"),
|
|
7179
7206
|
hoursMinutes: Xo("HH:mm"),
|
|
7180
7207
|
hoursMinutesSeconds: Xo("HH:mm:ss")
|
|
7181
|
-
},
|
|
7208
|
+
}, Bh = (t) => !t || t.trim() === "" ? !0 : Fr.hours.test(t) || Fr.hoursMinutes.test(t), Hh = (t, e, n = !1) => {
|
|
7182
7209
|
if (!t || t.trim() === "") {
|
|
7183
7210
|
const r = e.format("HH"), o = e.format("mm"), i = e.format("ss");
|
|
7184
7211
|
return `${r}:${o}:${i}`;
|
|
@@ -7192,7 +7219,7 @@ const Hi = ["sum", "count", "max", "min"], Zs = ({
|
|
|
7192
7219
|
return `${t}:${r}`;
|
|
7193
7220
|
}
|
|
7194
7221
|
return Fr.hoursMinutesSeconds.test(t) ? t : null;
|
|
7195
|
-
},
|
|
7222
|
+
}, jh = ({
|
|
7196
7223
|
value: t,
|
|
7197
7224
|
onChange: e,
|
|
7198
7225
|
autocompleteWithZeros: n = !1
|
|
@@ -7201,10 +7228,10 @@ const Hi = ["sum", "count", "max", "min"], Zs = ({
|
|
|
7201
7228
|
(i) => {
|
|
7202
7229
|
if (i.key === "Enter") {
|
|
7203
7230
|
const d = i.target.value;
|
|
7204
|
-
if (!
|
|
7231
|
+
if (!Bh(d))
|
|
7205
7232
|
return;
|
|
7206
7233
|
i.preventDefault();
|
|
7207
|
-
const c =
|
|
7234
|
+
const c = Hh(
|
|
7208
7235
|
d,
|
|
7209
7236
|
it(),
|
|
7210
7237
|
n
|
|
@@ -7253,7 +7280,7 @@ const Hi = ["sum", "count", "max", "min"], Zs = ({
|
|
|
7253
7280
|
e == null || e(u, m);
|
|
7254
7281
|
},
|
|
7255
7282
|
[e]
|
|
7256
|
-
), { handleKeyDown: l, handleBlur: f } =
|
|
7283
|
+
), { handleKeyDown: l, handleBlur: f } = jh({
|
|
7257
7284
|
value: t,
|
|
7258
7285
|
onChange: e,
|
|
7259
7286
|
autocompleteWithZeros: r !== void 0
|
|
@@ -7271,10 +7298,10 @@ const Hi = ["sum", "count", "max", "min"], Zs = ({
|
|
|
7271
7298
|
onSelect: d,
|
|
7272
7299
|
onBlur: (u) => f(u),
|
|
7273
7300
|
onKeyDown: (u) => l(u),
|
|
7274
|
-
format:
|
|
7301
|
+
format: Vh.displayFormat
|
|
7275
7302
|
}
|
|
7276
7303
|
);
|
|
7277
|
-
},
|
|
7304
|
+
}, Uh = (t) => {
|
|
7278
7305
|
const { ooui: e, showLabel: n = !1 } = t, { label: r, id: o } = e, i = [
|
|
7279
7306
|
new gs({
|
|
7280
7307
|
name: o + "#date",
|
|
@@ -7300,10 +7327,10 @@ const Hi = ["sum", "count", "max", "min"], Zs = ({
|
|
|
7300
7327
|
),
|
|
7301
7328
|
/* @__PURE__ */ H("div", { className: "flex flex-col gap-2 w-full", children: [
|
|
7302
7329
|
/* @__PURE__ */ s(dt, { className: "w-full", children: /* @__PURE__ */ s(et, { span: 24, children: /* @__PURE__ */ s(Ic, { ...t, ooui: i[0], showLabel: !1 }) }) }),
|
|
7303
|
-
/* @__PURE__ */ s(dt, { className: "w-full", children: /* @__PURE__ */ s(et, { span: 24, children: /* @__PURE__ */ s(tt, { ...t, ooui: i[1], showLabel: !1, children: /* @__PURE__ */ s(
|
|
7330
|
+
/* @__PURE__ */ s(dt, { className: "w-full", children: /* @__PURE__ */ s(et, { span: 24, children: /* @__PURE__ */ s(tt, { ...t, ooui: i[1], showLabel: !1, children: /* @__PURE__ */ s(Wh, {}) }) }) })
|
|
7304
7331
|
] })
|
|
7305
7332
|
] });
|
|
7306
|
-
},
|
|
7333
|
+
}, Wh = ({
|
|
7307
7334
|
value: t,
|
|
7308
7335
|
onChange: e
|
|
7309
7336
|
}) => {
|
|
@@ -7340,7 +7367,7 @@ const Hi = ["sum", "count", "max", "min"], Zs = ({
|
|
|
7340
7367
|
) })
|
|
7341
7368
|
] });
|
|
7342
7369
|
};
|
|
7343
|
-
function
|
|
7370
|
+
function zh(t) {
|
|
7344
7371
|
const e = t.replace(/\s/g, ""), n = e.includes("."), r = e.includes(",");
|
|
7345
7372
|
if (!n && !r)
|
|
7346
7373
|
return { decimal: null, thousands: null };
|
|
@@ -7358,7 +7385,7 @@ function Wh(t) {
|
|
|
7358
7385
|
const o = n ? "." : ",", i = e.split(o);
|
|
7359
7386
|
return i.length > 2 ? i.slice(1).every((d) => /^\d{3}$/.test(d)) ? { decimal: null, thousands: o } : { decimal: o, thousands: null } : { decimal: o, thousands: null };
|
|
7360
7387
|
}
|
|
7361
|
-
function
|
|
7388
|
+
function Yh(t) {
|
|
7362
7389
|
const e = t.replace("_", "-"), n = new Intl.NumberFormat(e, {
|
|
7363
7390
|
minimumFractionDigits: 1,
|
|
7364
7391
|
maximumFractionDigits: 1,
|
|
@@ -7375,7 +7402,7 @@ function Ec(t = {}) {
|
|
|
7375
7402
|
}, []), c = S(() => {
|
|
7376
7403
|
i.current = !1, a((m) => !m);
|
|
7377
7404
|
}, []), l = K(
|
|
7378
|
-
() => r ?
|
|
7405
|
+
() => r ? Yh(o) : { decimal: ".", thousands: "" },
|
|
7379
7406
|
[o, r]
|
|
7380
7407
|
), f = S(
|
|
7381
7408
|
(m) => {
|
|
@@ -7399,7 +7426,7 @@ function Ec(t = {}) {
|
|
|
7399
7426
|
const p = m.startsWith("-");
|
|
7400
7427
|
let g = p ? m.slice(1) : m;
|
|
7401
7428
|
if (r) {
|
|
7402
|
-
const y =
|
|
7429
|
+
const y = zh(g);
|
|
7403
7430
|
y.thousands && (g = g.split(y.thousands).join("")), y.decimal && y.decimal !== "." && (g = g.split(y.decimal).join("."));
|
|
7404
7431
|
} else
|
|
7405
7432
|
l.thousands && (g = g.split(l.thousands).join("")), g = g.split(l.decimal).join(".");
|
|
@@ -7418,13 +7445,13 @@ function Ec(t = {}) {
|
|
|
7418
7445
|
onBlur: c
|
|
7419
7446
|
};
|
|
7420
7447
|
}
|
|
7421
|
-
const { defaultAlgorithm:
|
|
7448
|
+
const { defaultAlgorithm: qh, defaultSeed: Gh } = ot, Kh = qh(Gh);
|
|
7422
7449
|
function ji(t) {
|
|
7423
7450
|
return t ? /* @__PURE__ */ s(Lo, { content: t }) : null;
|
|
7424
7451
|
}
|
|
7425
7452
|
const ei = nt((t) => {
|
|
7426
7453
|
var C;
|
|
7427
|
-
const { ooui: e } = t, { id: n, decimalDigits: r, readOnly: o, required: i, prefix: a, suffix: d } = e, c = ((C = e.parsedWidgetProps) == null ? void 0 : C.localized) ?? !1, l = ke(ft), { elementHasLostFocus: f } = l || {}, u = i && !o, m = u ?
|
|
7454
|
+
const { ooui: e } = t, { id: n, decimalDigits: r, readOnly: o, required: i, prefix: a, suffix: d } = e, c = ((C = e.parsedWidgetProps) == null ? void 0 : C.localized) ?? !1, l = ke(ft), { elementHasLostFocus: f } = l || {}, u = i && !o, m = u ? Jh : zr, { formatter: p, parser: g, decimalSeparator: h, onFocus: y, onBlur: v } = Ec({
|
|
7428
7455
|
decimalDigits: r,
|
|
7429
7456
|
localized: c
|
|
7430
7457
|
}), b = S(() => {
|
|
@@ -7449,17 +7476,17 @@ const ei = nt((t) => {
|
|
|
7449
7476
|
) });
|
|
7450
7477
|
});
|
|
7451
7478
|
ei.displayName = "Float";
|
|
7452
|
-
const
|
|
7479
|
+
const Jh = ut(zr)`
|
|
7453
7480
|
&.ant-input-number {
|
|
7454
|
-
background-color: ${
|
|
7481
|
+
background-color: ${Kh.colorPrimaryBg};
|
|
7455
7482
|
}
|
|
7456
|
-
`, { defaultAlgorithm:
|
|
7483
|
+
`, { defaultAlgorithm: Qh, defaultSeed: Xh } = ot, Zh = Qh(Xh);
|
|
7457
7484
|
function Ui(t) {
|
|
7458
7485
|
return t ? /* @__PURE__ */ s(Lo, { content: t }) : null;
|
|
7459
7486
|
}
|
|
7460
7487
|
const Hr = nt((t) => {
|
|
7461
7488
|
var C;
|
|
7462
|
-
const { ooui: e, onChange: n } = t, { id: r, readOnly: o, required: i, prefix: a, suffix: d } = e, c = ((C = e.parsedWidgetProps) == null ? void 0 : C.localized) ?? !1, l = ke(ft), { elementHasLostFocus: f } = l || {}, u = i && !o, m = u ?
|
|
7489
|
+
const { ooui: e, onChange: n } = t, { id: r, readOnly: o, required: i, prefix: a, suffix: d } = e, c = ((C = e.parsedWidgetProps) == null ? void 0 : C.localized) ?? !1, l = ke(ft), { elementHasLostFocus: f } = l || {}, u = i && !o, m = u ? eg : zr, { formatter: p, parser: g, onFocus: h, onBlur: y } = Ec({
|
|
7463
7490
|
isInteger: !0,
|
|
7464
7491
|
localized: c
|
|
7465
7492
|
}), v = S(
|
|
@@ -7487,12 +7514,12 @@ const Hr = nt((t) => {
|
|
|
7487
7514
|
) });
|
|
7488
7515
|
});
|
|
7489
7516
|
Hr.displayName = "Integer";
|
|
7490
|
-
const
|
|
7517
|
+
const eg = ut(zr)`
|
|
7491
7518
|
&.ant-input-number {
|
|
7492
|
-
background-color: ${
|
|
7519
|
+
background-color: ${Zh.colorPrimaryBg};
|
|
7493
7520
|
}
|
|
7494
7521
|
`;
|
|
7495
|
-
function
|
|
7522
|
+
function tg(t) {
|
|
7496
7523
|
const { ooui: e, showLabel: n } = t, { id: r, label: o, tooltip: i } = e, a = e instanceof ys ? Hr : ei, d = (c) => /* @__PURE__ */ s(
|
|
7497
7524
|
a,
|
|
7498
7525
|
{
|
|
@@ -7534,17 +7561,17 @@ function eg(t) {
|
|
|
7534
7561
|
)
|
|
7535
7562
|
] });
|
|
7536
7563
|
}
|
|
7537
|
-
const { defaultAlgorithm:
|
|
7564
|
+
const { defaultAlgorithm: ng, defaultSeed: rg } = ot, og = ng(rg), { Option: sg } = pn, ig = (t) => {
|
|
7538
7565
|
const { ooui: e } = t, { required: n } = e;
|
|
7539
|
-
return /* @__PURE__ */ s(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(
|
|
7540
|
-
},
|
|
7566
|
+
return /* @__PURE__ */ s(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(ag, { ...t }) });
|
|
7567
|
+
}, ag = (t) => {
|
|
7541
7568
|
const { ooui: e, onChange: n, value: r } = t, { selectionValues: o, readOnly: i, required: a } = e, d = Array.from(o.entries()), c = d && d.length && d.filter((u) => {
|
|
7542
7569
|
const [m] = u;
|
|
7543
7570
|
return r ? !r.includes(m) : !0;
|
|
7544
7571
|
}).map((u) => {
|
|
7545
7572
|
const [m, p] = u;
|
|
7546
|
-
return /* @__PURE__ */ s(
|
|
7547
|
-
}), l = a && !i ?
|
|
7573
|
+
return /* @__PURE__ */ s(sg, { value: p, children: p }, m);
|
|
7574
|
+
}), l = a && !i ? lg : pn;
|
|
7548
7575
|
function f(u) {
|
|
7549
7576
|
const m = u.map((p) => {
|
|
7550
7577
|
const g = d.find(([, h]) => p === h);
|
|
@@ -7566,14 +7593,14 @@ const { defaultAlgorithm: tg, defaultSeed: ng } = ot, rg = tg(ng), { Option: og
|
|
|
7566
7593
|
children: c
|
|
7567
7594
|
}
|
|
7568
7595
|
);
|
|
7569
|
-
},
|
|
7596
|
+
}, lg = ut(pn)`
|
|
7570
7597
|
&.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
7571
|
-
background-color: ${
|
|
7598
|
+
background-color: ${og.colorPrimaryBg};
|
|
7572
7599
|
}
|
|
7573
|
-
`,
|
|
7600
|
+
`, cg = /* @__PURE__ */ new Set(["True", "False", "None"]), dg = (t) => {
|
|
7574
7601
|
try {
|
|
7575
7602
|
return !t || typeof t != "string" ? t : Qa(t).some(
|
|
7576
|
-
(r) => r && !
|
|
7603
|
+
(r) => r && !cg.has(r) && !/^-?\d+(\.\d+)?$/.test(r)
|
|
7577
7604
|
) ? [] : t;
|
|
7578
7605
|
} catch {
|
|
7579
7606
|
return [];
|
|
@@ -7592,7 +7619,7 @@ function Rc(t) {
|
|
|
7592
7619
|
string: e.label,
|
|
7593
7620
|
relation: c,
|
|
7594
7621
|
context: e.context,
|
|
7595
|
-
domain:
|
|
7622
|
+
domain: dg(e.domain)
|
|
7596
7623
|
});
|
|
7597
7624
|
return m.parsedWidgetProps = {
|
|
7598
7625
|
showCreate: !1,
|
|
@@ -7615,13 +7642,13 @@ function Rc(t) {
|
|
|
7615
7642
|
case Fn.progressbar:
|
|
7616
7643
|
case Fn.float_time:
|
|
7617
7644
|
case Fn.integer:
|
|
7618
|
-
return /* @__PURE__ */ s(
|
|
7645
|
+
return /* @__PURE__ */ s(tg, { ooui: e, showLabel: !0 });
|
|
7619
7646
|
case Fn.date:
|
|
7620
7647
|
return /* @__PURE__ */ s(Ic, { ooui: e, layout: "vertical", showLabel: !0 });
|
|
7621
7648
|
case Fn.datetime:
|
|
7622
|
-
return /* @__PURE__ */ s(
|
|
7649
|
+
return /* @__PURE__ */ s(Uh, { ooui: e, layout: "vertical", showLabel: !0 });
|
|
7623
7650
|
case Fn.selection:
|
|
7624
|
-
return /* @__PURE__ */ s(
|
|
7651
|
+
return /* @__PURE__ */ s(ig, { layout: "vertical", ooui: e, showLabel: !0 });
|
|
7625
7652
|
default:
|
|
7626
7653
|
return /* @__PURE__ */ s(
|
|
7627
7654
|
Fl,
|
|
@@ -7634,7 +7661,7 @@ function Rc(t) {
|
|
|
7634
7661
|
);
|
|
7635
7662
|
}
|
|
7636
7663
|
}
|
|
7637
|
-
const { useToken:
|
|
7664
|
+
const { useToken: ug } = ot, { Title: fg } = Kt, { Header: mg, Content: pg, Footer: hg } = qa, gg = ({
|
|
7638
7665
|
isOpen: t,
|
|
7639
7666
|
onClose: e,
|
|
7640
7667
|
children: n,
|
|
@@ -7643,7 +7670,7 @@ const { useToken: dg } = ot, { Title: ug } = Kt, { Header: fg, Content: mg, Foot
|
|
|
7643
7670
|
headerButtons: i,
|
|
7644
7671
|
width: a = "500px"
|
|
7645
7672
|
}) => {
|
|
7646
|
-
const [d, c] = E(t), [l, f] = E(!1), u = Q(null), { token: m } =
|
|
7673
|
+
const [d, c] = E(t), [l, f] = E(!1), u = Q(null), { token: m } = ug(), p = S(
|
|
7647
7674
|
(v) => {
|
|
7648
7675
|
v.preventDefault(), v.stopPropagation(), e();
|
|
7649
7676
|
},
|
|
@@ -7738,8 +7765,8 @@ const { useToken: dg } = ot, { Title: ug } = Kt, { Header: fg, Content: mg, Foot
|
|
|
7738
7765
|
flexDirection: "column"
|
|
7739
7766
|
},
|
|
7740
7767
|
children: [
|
|
7741
|
-
/* @__PURE__ */ H(
|
|
7742
|
-
/* @__PURE__ */ s(
|
|
7768
|
+
/* @__PURE__ */ H(mg, { style: y, children: [
|
|
7769
|
+
/* @__PURE__ */ s(fg, { level: 3, style: { margin: 0, flex: 1 }, children: r }),
|
|
7743
7770
|
i && /* @__PURE__ */ s(
|
|
7744
7771
|
"div",
|
|
7745
7772
|
{
|
|
@@ -7762,7 +7789,7 @@ const { useToken: dg } = ot, { Title: ug } = Kt, { Header: fg, Content: mg, Foot
|
|
|
7762
7789
|
)
|
|
7763
7790
|
] }),
|
|
7764
7791
|
/* @__PURE__ */ s(
|
|
7765
|
-
|
|
7792
|
+
pg,
|
|
7766
7793
|
{
|
|
7767
7794
|
style: {
|
|
7768
7795
|
flex: 1,
|
|
@@ -7772,7 +7799,7 @@ const { useToken: dg } = ot, { Title: ug } = Kt, { Header: fg, Content: mg, Foot
|
|
|
7772
7799
|
}
|
|
7773
7800
|
),
|
|
7774
7801
|
o && /* @__PURE__ */ s(
|
|
7775
|
-
|
|
7802
|
+
hg,
|
|
7776
7803
|
{
|
|
7777
7804
|
style: {
|
|
7778
7805
|
...y,
|
|
@@ -7794,7 +7821,7 @@ var Wi = Object.prototype.toString, Fc = function(e) {
|
|
|
7794
7821
|
var n = Wi.call(e), r = n === "[object Arguments]";
|
|
7795
7822
|
return r || (r = n !== "[object Array]" && e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && Wi.call(e.callee) === "[object Function]"), r;
|
|
7796
7823
|
}, Zo, zi;
|
|
7797
|
-
function
|
|
7824
|
+
function yg() {
|
|
7798
7825
|
if (zi)
|
|
7799
7826
|
return Zo;
|
|
7800
7827
|
zi = 1;
|
|
@@ -7882,9 +7909,9 @@ function gg() {
|
|
|
7882
7909
|
}
|
|
7883
7910
|
return Zo = t, Zo;
|
|
7884
7911
|
}
|
|
7885
|
-
var
|
|
7912
|
+
var vg = Array.prototype.slice, bg = Fc, Yi = Object.keys, uo = Yi ? function(e) {
|
|
7886
7913
|
return Yi(e);
|
|
7887
|
-
} :
|
|
7914
|
+
} : yg(), qi = Object.keys;
|
|
7888
7915
|
uo.shim = function() {
|
|
7889
7916
|
if (Object.keys) {
|
|
7890
7917
|
var e = function() {
|
|
@@ -7892,7 +7919,7 @@ uo.shim = function() {
|
|
|
7892
7919
|
return n && n.length === arguments.length;
|
|
7893
7920
|
}(1, 2);
|
|
7894
7921
|
e || (Object.keys = function(r) {
|
|
7895
|
-
return
|
|
7922
|
+
return bg(r) ? qi(vg.call(r)) : qi(r);
|
|
7896
7923
|
});
|
|
7897
7924
|
} else
|
|
7898
7925
|
Object.keys = uo;
|
|
@@ -7924,13 +7951,13 @@ var Oc = uo, Dc = function() {
|
|
|
7924
7951
|
return !1;
|
|
7925
7952
|
}
|
|
7926
7953
|
return !0;
|
|
7927
|
-
},
|
|
7928
|
-
return
|
|
7929
|
-
}, Mc = Object,
|
|
7954
|
+
}, wg = Dc, ti = function() {
|
|
7955
|
+
return wg() && !!Symbol.toStringTag;
|
|
7956
|
+
}, Mc = Object, Cg = Error, xg = EvalError, Sg = RangeError, Tg = ReferenceError, _g = SyntaxError, Nc = TypeError, Ag = URIError, Ig = Math.abs, Eg = Math.floor, Rg = Math.max, Fg = Math.min, Og = Math.pow, Dg = Math.round, Mg = Number.isNaN || function(e) {
|
|
7930
7957
|
return e !== e;
|
|
7931
|
-
},
|
|
7932
|
-
return
|
|
7933
|
-
},
|
|
7958
|
+
}, Ng = Mg, kg = function(e) {
|
|
7959
|
+
return Ng(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
|
7960
|
+
}, $g = Object.getOwnPropertyDescriptor, fo = $g;
|
|
7934
7961
|
if (fo)
|
|
7935
7962
|
try {
|
|
7936
7963
|
fo([], "length");
|
|
@@ -7944,8 +7971,8 @@ if (mo)
|
|
|
7944
7971
|
} catch {
|
|
7945
7972
|
mo = !1;
|
|
7946
7973
|
}
|
|
7947
|
-
var
|
|
7948
|
-
function
|
|
7974
|
+
var Pg = mo, es, Gi;
|
|
7975
|
+
function Lg() {
|
|
7949
7976
|
if (Gi)
|
|
7950
7977
|
return es;
|
|
7951
7978
|
Gi = 1;
|
|
@@ -7966,25 +7993,25 @@ function $c() {
|
|
|
7966
7993
|
var t = Mc;
|
|
7967
7994
|
return ns = t.getPrototypeOf || null, ns;
|
|
7968
7995
|
}
|
|
7969
|
-
var
|
|
7996
|
+
var Vg = "Function.prototype.bind called on incompatible ", Bg = Object.prototype.toString, Hg = Math.max, jg = "[object Function]", Qi = function(e, n) {
|
|
7970
7997
|
for (var r = [], o = 0; o < e.length; o += 1)
|
|
7971
7998
|
r[o] = e[o];
|
|
7972
7999
|
for (var i = 0; i < n.length; i += 1)
|
|
7973
8000
|
r[i + e.length] = n[i];
|
|
7974
8001
|
return r;
|
|
7975
|
-
},
|
|
8002
|
+
}, Ug = function(e, n) {
|
|
7976
8003
|
for (var r = [], o = n || 0, i = 0; o < e.length; o += 1, i += 1)
|
|
7977
8004
|
r[i] = e[o];
|
|
7978
8005
|
return r;
|
|
7979
|
-
},
|
|
8006
|
+
}, Wg = function(t, e) {
|
|
7980
8007
|
for (var n = "", r = 0; r < t.length; r += 1)
|
|
7981
8008
|
n += t[r], r + 1 < t.length && (n += e);
|
|
7982
8009
|
return n;
|
|
7983
|
-
},
|
|
8010
|
+
}, zg = function(e) {
|
|
7984
8011
|
var n = this;
|
|
7985
|
-
if (typeof n != "function" ||
|
|
7986
|
-
throw new TypeError(
|
|
7987
|
-
for (var r =
|
|
8012
|
+
if (typeof n != "function" || Bg.apply(n) !== jg)
|
|
8013
|
+
throw new TypeError(Vg + n);
|
|
8014
|
+
for (var r = Ug(arguments, 1), o, i = function() {
|
|
7988
8015
|
if (this instanceof o) {
|
|
7989
8016
|
var f = n.apply(
|
|
7990
8017
|
this,
|
|
@@ -7996,15 +8023,15 @@ var Lg = "Function.prototype.bind called on incompatible ", Vg = Object.prototyp
|
|
|
7996
8023
|
e,
|
|
7997
8024
|
Qi(r, arguments)
|
|
7998
8025
|
);
|
|
7999
|
-
}, a =
|
|
8026
|
+
}, a = Hg(0, n.length - r.length), d = [], c = 0; c < a; c++)
|
|
8000
8027
|
d[c] = "$" + c;
|
|
8001
|
-
if (o = Function("binder", "return function (" +
|
|
8028
|
+
if (o = Function("binder", "return function (" + Wg(d, ",") + "){ return binder.apply(this,arguments); }")(i), n.prototype) {
|
|
8002
8029
|
var l = function() {
|
|
8003
8030
|
};
|
|
8004
8031
|
l.prototype = n.prototype, o.prototype = new l(), l.prototype = null;
|
|
8005
8032
|
}
|
|
8006
8033
|
return o;
|
|
8007
|
-
},
|
|
8034
|
+
}, Yg = zg, Xr = Function.prototype.bind || Yg, rs, Xi;
|
|
8008
8035
|
function ri() {
|
|
8009
8036
|
return Xi || (Xi = 1, rs = Function.prototype.call), rs;
|
|
8010
8037
|
}
|
|
@@ -8013,23 +8040,23 @@ function Pc() {
|
|
|
8013
8040
|
return Zi || (Zi = 1, os = Function.prototype.apply), os;
|
|
8014
8041
|
}
|
|
8015
8042
|
var ss, ea;
|
|
8016
|
-
function
|
|
8043
|
+
function qg() {
|
|
8017
8044
|
return ea || (ea = 1, ss = typeof Reflect < "u" && Reflect && Reflect.apply), ss;
|
|
8018
8045
|
}
|
|
8019
8046
|
var is, ta;
|
|
8020
|
-
function
|
|
8047
|
+
function Gg() {
|
|
8021
8048
|
if (ta)
|
|
8022
8049
|
return is;
|
|
8023
8050
|
ta = 1;
|
|
8024
|
-
var t = Xr, e = Pc(), n = ri(), r =
|
|
8051
|
+
var t = Xr, e = Pc(), n = ri(), r = qg();
|
|
8025
8052
|
return is = r || t.call(n, e), is;
|
|
8026
8053
|
}
|
|
8027
8054
|
var as, na;
|
|
8028
|
-
function
|
|
8055
|
+
function Kg() {
|
|
8029
8056
|
if (na)
|
|
8030
8057
|
return as;
|
|
8031
8058
|
na = 1;
|
|
8032
|
-
var t = Xr, e = Nc, n = ri(), r =
|
|
8059
|
+
var t = Xr, e = Nc, n = ri(), r = Gg();
|
|
8033
8060
|
return as = function(i) {
|
|
8034
8061
|
if (i.length < 1 || typeof i[0] != "function")
|
|
8035
8062
|
throw new e("a function is required");
|
|
@@ -8037,11 +8064,11 @@ function Gg() {
|
|
|
8037
8064
|
}, as;
|
|
8038
8065
|
}
|
|
8039
8066
|
var ls, ra;
|
|
8040
|
-
function
|
|
8067
|
+
function Jg() {
|
|
8041
8068
|
if (ra)
|
|
8042
8069
|
return ls;
|
|
8043
8070
|
ra = 1;
|
|
8044
|
-
var t =
|
|
8071
|
+
var t = Kg(), e = ni, n;
|
|
8045
8072
|
try {
|
|
8046
8073
|
n = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
8047
8074
|
[].__proto__ === Array.prototype;
|
|
@@ -8062,11 +8089,11 @@ function Kg() {
|
|
|
8062
8089
|
) : !1, ls;
|
|
8063
8090
|
}
|
|
8064
8091
|
var cs, oa;
|
|
8065
|
-
function
|
|
8092
|
+
function Qg() {
|
|
8066
8093
|
if (oa)
|
|
8067
8094
|
return cs;
|
|
8068
8095
|
oa = 1;
|
|
8069
|
-
var t = kc(), e = $c(), n =
|
|
8096
|
+
var t = kc(), e = $c(), n = Jg();
|
|
8070
8097
|
return cs = t ? function(o) {
|
|
8071
8098
|
return t(o);
|
|
8072
8099
|
} : e ? function(o) {
|
|
@@ -8078,21 +8105,21 @@ function Jg() {
|
|
|
8078
8105
|
} : null, cs;
|
|
8079
8106
|
}
|
|
8080
8107
|
var ds, sa;
|
|
8081
|
-
function
|
|
8108
|
+
function Xg() {
|
|
8082
8109
|
if (sa)
|
|
8083
8110
|
return ds;
|
|
8084
8111
|
sa = 1;
|
|
8085
8112
|
var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = Xr;
|
|
8086
8113
|
return ds = n.call(t, e), ds;
|
|
8087
8114
|
}
|
|
8088
|
-
var st,
|
|
8115
|
+
var st, Zg = Mc, ey = Cg, ty = xg, ny = Sg, ry = Tg, yr = _g, cr = Nc, oy = Ag, sy = Ig, iy = Eg, ay = Rg, ly = Fg, cy = Og, dy = Dg, uy = kg, Lc = Function, us = function(t) {
|
|
8089
8116
|
try {
|
|
8090
8117
|
return Lc('"use strict"; return (' + t + ").constructor;")();
|
|
8091
8118
|
} catch {
|
|
8092
8119
|
}
|
|
8093
|
-
}, jr = ni,
|
|
8120
|
+
}, jr = ni, fy = Pg, fs = function() {
|
|
8094
8121
|
throw new cr();
|
|
8095
|
-
},
|
|
8122
|
+
}, my = jr ? function() {
|
|
8096
8123
|
try {
|
|
8097
8124
|
return arguments.callee, fs;
|
|
8098
8125
|
} catch {
|
|
@@ -8102,7 +8129,7 @@ var st, Xg = Mc, Zg = wg, ey = Cg, ty = xg, ny = Sg, yr = Tg, cr = Nc, ry = _g,
|
|
|
8102
8129
|
return fs;
|
|
8103
8130
|
}
|
|
8104
8131
|
}
|
|
8105
|
-
}() : fs, tr =
|
|
8132
|
+
}() : fs, tr = Lg()(), Ht = Qg(), py = $c(), hy = kc(), Vc = Pc(), Zr = ri(), rr = {}, gy = typeof Uint8Array > "u" || !Ht ? st : Ht(Uint8Array), Un = {
|
|
8106
8133
|
__proto__: null,
|
|
8107
8134
|
"%AggregateError%": typeof AggregateError > "u" ? st : AggregateError,
|
|
8108
8135
|
"%Array%": Array,
|
|
@@ -8124,10 +8151,10 @@ var st, Xg = Mc, Zg = wg, ey = Cg, ty = xg, ny = Sg, yr = Tg, cr = Nc, ry = _g,
|
|
|
8124
8151
|
"%decodeURIComponent%": decodeURIComponent,
|
|
8125
8152
|
"%encodeURI%": encodeURI,
|
|
8126
8153
|
"%encodeURIComponent%": encodeURIComponent,
|
|
8127
|
-
"%Error%":
|
|
8154
|
+
"%Error%": ey,
|
|
8128
8155
|
"%eval%": eval,
|
|
8129
8156
|
// eslint-disable-line no-eval
|
|
8130
|
-
"%EvalError%":
|
|
8157
|
+
"%EvalError%": ty,
|
|
8131
8158
|
"%Float16Array%": typeof Float16Array > "u" ? st : Float16Array,
|
|
8132
8159
|
"%Float32Array%": typeof Float32Array > "u" ? st : Float32Array,
|
|
8133
8160
|
"%Float64Array%": typeof Float64Array > "u" ? st : Float64Array,
|
|
@@ -8145,14 +8172,14 @@ var st, Xg = Mc, Zg = wg, ey = Cg, ty = xg, ny = Sg, yr = Tg, cr = Nc, ry = _g,
|
|
|
8145
8172
|
"%MapIteratorPrototype%": typeof Map > "u" || !tr || !Ht ? st : Ht((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
8146
8173
|
"%Math%": Math,
|
|
8147
8174
|
"%Number%": Number,
|
|
8148
|
-
"%Object%":
|
|
8175
|
+
"%Object%": Zg,
|
|
8149
8176
|
"%Object.getOwnPropertyDescriptor%": jr,
|
|
8150
8177
|
"%parseFloat%": parseFloat,
|
|
8151
8178
|
"%parseInt%": parseInt,
|
|
8152
8179
|
"%Promise%": typeof Promise > "u" ? st : Promise,
|
|
8153
8180
|
"%Proxy%": typeof Proxy > "u" ? st : Proxy,
|
|
8154
|
-
"%RangeError%":
|
|
8155
|
-
"%ReferenceError%":
|
|
8181
|
+
"%RangeError%": ny,
|
|
8182
|
+
"%ReferenceError%": ry,
|
|
8156
8183
|
"%Reflect%": typeof Reflect > "u" ? st : Reflect,
|
|
8157
8184
|
"%RegExp%": RegExp,
|
|
8158
8185
|
"%Set%": typeof Set > "u" ? st : Set,
|
|
@@ -8162,38 +8189,38 @@ var st, Xg = Mc, Zg = wg, ey = Cg, ty = xg, ny = Sg, yr = Tg, cr = Nc, ry = _g,
|
|
|
8162
8189
|
"%StringIteratorPrototype%": tr && Ht ? Ht(""[Symbol.iterator]()) : st,
|
|
8163
8190
|
"%Symbol%": tr ? Symbol : st,
|
|
8164
8191
|
"%SyntaxError%": yr,
|
|
8165
|
-
"%ThrowTypeError%":
|
|
8166
|
-
"%TypedArray%":
|
|
8192
|
+
"%ThrowTypeError%": my,
|
|
8193
|
+
"%TypedArray%": gy,
|
|
8167
8194
|
"%TypeError%": cr,
|
|
8168
8195
|
"%Uint8Array%": typeof Uint8Array > "u" ? st : Uint8Array,
|
|
8169
8196
|
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? st : Uint8ClampedArray,
|
|
8170
8197
|
"%Uint16Array%": typeof Uint16Array > "u" ? st : Uint16Array,
|
|
8171
8198
|
"%Uint32Array%": typeof Uint32Array > "u" ? st : Uint32Array,
|
|
8172
|
-
"%URIError%":
|
|
8199
|
+
"%URIError%": oy,
|
|
8173
8200
|
"%WeakMap%": typeof WeakMap > "u" ? st : WeakMap,
|
|
8174
8201
|
"%WeakRef%": typeof WeakRef > "u" ? st : WeakRef,
|
|
8175
8202
|
"%WeakSet%": typeof WeakSet > "u" ? st : WeakSet,
|
|
8176
8203
|
"%Function.prototype.call%": Zr,
|
|
8177
8204
|
"%Function.prototype.apply%": Vc,
|
|
8178
|
-
"%Object.defineProperty%":
|
|
8179
|
-
"%Object.getPrototypeOf%":
|
|
8180
|
-
"%Math.abs%":
|
|
8181
|
-
"%Math.floor%":
|
|
8182
|
-
"%Math.max%":
|
|
8183
|
-
"%Math.min%":
|
|
8184
|
-
"%Math.pow%":
|
|
8185
|
-
"%Math.round%":
|
|
8186
|
-
"%Math.sign%":
|
|
8187
|
-
"%Reflect.getPrototypeOf%":
|
|
8205
|
+
"%Object.defineProperty%": fy,
|
|
8206
|
+
"%Object.getPrototypeOf%": py,
|
|
8207
|
+
"%Math.abs%": sy,
|
|
8208
|
+
"%Math.floor%": iy,
|
|
8209
|
+
"%Math.max%": ay,
|
|
8210
|
+
"%Math.min%": ly,
|
|
8211
|
+
"%Math.pow%": cy,
|
|
8212
|
+
"%Math.round%": dy,
|
|
8213
|
+
"%Math.sign%": uy,
|
|
8214
|
+
"%Reflect.getPrototypeOf%": hy
|
|
8188
8215
|
};
|
|
8189
8216
|
if (Ht)
|
|
8190
8217
|
try {
|
|
8191
8218
|
null.error;
|
|
8192
8219
|
} catch (t) {
|
|
8193
|
-
var
|
|
8194
|
-
Un["%Error.prototype%"] =
|
|
8220
|
+
var yy = Ht(Ht(t));
|
|
8221
|
+
Un["%Error.prototype%"] = yy;
|
|
8195
8222
|
}
|
|
8196
|
-
var
|
|
8223
|
+
var vy = function t(e) {
|
|
8197
8224
|
var n;
|
|
8198
8225
|
if (e === "%AsyncFunction%")
|
|
8199
8226
|
n = us("async function () {}");
|
|
@@ -8262,21 +8289,21 @@ var yy = function t(e) {
|
|
|
8262
8289
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
8263
8290
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
8264
8291
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
8265
|
-
}, eo = Xr, Co =
|
|
8292
|
+
}, eo = Xr, Co = Xg(), by = eo.call(Zr, Array.prototype.concat), wy = eo.call(Vc, Array.prototype.splice), aa = eo.call(Zr, String.prototype.replace), xo = eo.call(Zr, String.prototype.slice), Cy = eo.call(Zr, RegExp.prototype.exec), xy = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Sy = /\\(\\)?/g, Ty = function(e) {
|
|
8266
8293
|
var n = xo(e, 0, 1), r = xo(e, -1);
|
|
8267
8294
|
if (n === "%" && r !== "%")
|
|
8268
8295
|
throw new yr("invalid intrinsic syntax, expected closing `%`");
|
|
8269
8296
|
if (r === "%" && n !== "%")
|
|
8270
8297
|
throw new yr("invalid intrinsic syntax, expected opening `%`");
|
|
8271
8298
|
var o = [];
|
|
8272
|
-
return aa(e,
|
|
8273
|
-
o[o.length] = d ? aa(c,
|
|
8299
|
+
return aa(e, xy, function(i, a, d, c) {
|
|
8300
|
+
o[o.length] = d ? aa(c, Sy, "$1") : a || i;
|
|
8274
8301
|
}), o;
|
|
8275
|
-
},
|
|
8302
|
+
}, _y = function(e, n) {
|
|
8276
8303
|
var r = e, o;
|
|
8277
8304
|
if (Co(ia, r) && (o = ia[r], r = "%" + o[0] + "%"), Co(Un, r)) {
|
|
8278
8305
|
var i = Un[r];
|
|
8279
|
-
if (i === rr && (i =
|
|
8306
|
+
if (i === rr && (i = vy(r)), typeof i > "u" && !n)
|
|
8280
8307
|
throw new cr("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
8281
8308
|
return {
|
|
8282
8309
|
alias: o,
|
|
@@ -8290,10 +8317,10 @@ var yy = function t(e) {
|
|
|
8290
8317
|
throw new cr("intrinsic name must be a non-empty string");
|
|
8291
8318
|
if (arguments.length > 1 && typeof n != "boolean")
|
|
8292
8319
|
throw new cr('"allowMissing" argument must be a boolean');
|
|
8293
|
-
if (
|
|
8320
|
+
if (Cy(/^%?[^%]*%?$/, e) === null)
|
|
8294
8321
|
throw new yr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
8295
|
-
var r =
|
|
8296
|
-
l && (o = l[0],
|
|
8322
|
+
var r = Ty(e), o = r.length > 0 ? r[0] : "", i = _y("%" + o + "%", n), a = i.name, d = i.value, c = !1, l = i.alias;
|
|
8323
|
+
l && (o = l[0], wy(r, by([0, 1], l)));
|
|
8297
8324
|
for (var f = 1, u = !0; f < r.length; f += 1) {
|
|
8298
8325
|
var m = r[f], p = xo(m, 0, 1), g = xo(m, -1);
|
|
8299
8326
|
if ((p === '"' || p === "'" || p === "`" || g === '"' || g === "'" || g === "`") && p !== g)
|
|
@@ -8341,18 +8368,18 @@ var yy = function t(e) {
|
|
|
8341
8368
|
};
|
|
8342
8369
|
d ? d(t.exports, "apply", { value: l }) : t.exports.apply = l;
|
|
8343
8370
|
})(Bc);
|
|
8344
|
-
var oi = Bc.exports, Hc = Uo, jc = oi,
|
|
8371
|
+
var oi = Bc.exports, Hc = Uo, jc = oi, Ay = jc(Hc("String.prototype.indexOf")), Uc = function(e, n) {
|
|
8345
8372
|
var r = Hc(e, !!n);
|
|
8346
|
-
return typeof r == "function" &&
|
|
8347
|
-
},
|
|
8348
|
-
return
|
|
8373
|
+
return typeof r == "function" && Ay(e, ".prototype.") > -1 ? jc(r) : r;
|
|
8374
|
+
}, Iy = ti(), Ey = Uc, Ts = Ey("Object.prototype.toString"), Wo = function(e) {
|
|
8375
|
+
return Iy && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Ts(e) === "[object Arguments]";
|
|
8349
8376
|
}, Wc = function(e) {
|
|
8350
8377
|
return Wo(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && Ts(e) !== "[object Array]" && Ts(e.callee) === "[object Function]";
|
|
8351
|
-
},
|
|
8378
|
+
}, Ry = function() {
|
|
8352
8379
|
return Wo(arguments);
|
|
8353
8380
|
}();
|
|
8354
8381
|
Wo.isLegacyArguments = Wc;
|
|
8355
|
-
var
|
|
8382
|
+
var Fy = Ry ? Wo : Wc, Oy = Uo, _s = Oy("%Object.defineProperty%", !0), As = function() {
|
|
8356
8383
|
if (_s)
|
|
8357
8384
|
try {
|
|
8358
8385
|
return _s({}, "a", { value: 1 }), !0;
|
|
@@ -8370,7 +8397,7 @@ As.hasArrayLengthDefineBug = function() {
|
|
|
8370
8397
|
return !0;
|
|
8371
8398
|
}
|
|
8372
8399
|
};
|
|
8373
|
-
var si = As,
|
|
8400
|
+
var si = As, Dy = si(), ii = Uo, la = Dy && ii("%Object.defineProperty%", !0), My = ii("%SyntaxError%"), nr = ii("%TypeError%"), ca = ni, zc = function(e, n, r) {
|
|
8374
8401
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
8375
8402
|
throw new nr("`obj` must be an object or a function`");
|
|
8376
8403
|
if (typeof n != "string" && typeof n != "symbol")
|
|
@@ -8394,45 +8421,45 @@ var si = As, Oy = si(), ii = Uo, la = Oy && ii("%Object.defineProperty%", !0), D
|
|
|
8394
8421
|
else if (d || !o && !i && !a)
|
|
8395
8422
|
e[n] = r;
|
|
8396
8423
|
else
|
|
8397
|
-
throw new
|
|
8398
|
-
},
|
|
8399
|
-
return typeof t == "function" &&
|
|
8400
|
-
}, Yc = si(),
|
|
8424
|
+
throw new My("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
8425
|
+
}, Ny = Oc, ky = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", $y = Object.prototype.toString, Py = Array.prototype.concat, da = zc, Ly = function(t) {
|
|
8426
|
+
return typeof t == "function" && $y.call(t) === "[object Function]";
|
|
8427
|
+
}, Yc = si(), Vy = function(t, e, n, r) {
|
|
8401
8428
|
if (e in t) {
|
|
8402
8429
|
if (r === !0) {
|
|
8403
8430
|
if (t[e] === n)
|
|
8404
8431
|
return;
|
|
8405
|
-
} else if (!
|
|
8432
|
+
} else if (!Ly(r) || !r())
|
|
8406
8433
|
return;
|
|
8407
8434
|
}
|
|
8408
8435
|
Yc ? da(t, e, n, !0) : da(t, e, n);
|
|
8409
8436
|
}, qc = function(t, e) {
|
|
8410
|
-
var n = arguments.length > 2 ? arguments[2] : {}, r =
|
|
8411
|
-
|
|
8437
|
+
var n = arguments.length > 2 ? arguments[2] : {}, r = Ny(e);
|
|
8438
|
+
ky && (r = Py.call(r, Object.getOwnPropertySymbols(e)));
|
|
8412
8439
|
for (var o = 0; o < r.length; o += 1)
|
|
8413
|
-
|
|
8440
|
+
Vy(t, r[o], e[r[o]], n[r[o]]);
|
|
8414
8441
|
};
|
|
8415
8442
|
qc.supportsDescriptors = !!Yc;
|
|
8416
8443
|
var to = qc, ua = function(t) {
|
|
8417
8444
|
return t !== t;
|
|
8418
8445
|
}, Gc = function(e, n) {
|
|
8419
8446
|
return e === 0 && n === 0 ? 1 / e === 1 / n : !!(e === n || ua(e) && ua(n));
|
|
8420
|
-
},
|
|
8421
|
-
return typeof Object.is == "function" ? Object.is :
|
|
8422
|
-
},
|
|
8423
|
-
var e =
|
|
8424
|
-
return
|
|
8447
|
+
}, By = Gc, Kc = function() {
|
|
8448
|
+
return typeof Object.is == "function" ? Object.is : By;
|
|
8449
|
+
}, Hy = Kc, jy = to, Uy = function() {
|
|
8450
|
+
var e = Hy();
|
|
8451
|
+
return jy(Object, { is: e }, {
|
|
8425
8452
|
is: function() {
|
|
8426
8453
|
return Object.is !== e;
|
|
8427
8454
|
}
|
|
8428
8455
|
}), e;
|
|
8429
|
-
},
|
|
8430
|
-
|
|
8456
|
+
}, Wy = to, zy = oi, Yy = Gc, Jc = Kc, qy = Uy, Qc = zy(Jc(), Object);
|
|
8457
|
+
Wy(Qc, {
|
|
8431
8458
|
getPolyfill: Jc,
|
|
8432
|
-
implementation:
|
|
8433
|
-
shim:
|
|
8459
|
+
implementation: Yy,
|
|
8460
|
+
shim: qy
|
|
8434
8461
|
});
|
|
8435
|
-
var
|
|
8462
|
+
var Gy = Qc, Is = Uc, Xc = ti(), Zc, ed, Es, Rs;
|
|
8436
8463
|
if (Xc) {
|
|
8437
8464
|
Zc = Is("Object.prototype.hasOwnProperty"), ed = Is("RegExp.prototype.exec"), Es = {};
|
|
8438
8465
|
var ms = function() {
|
|
@@ -8443,10 +8470,10 @@ if (Xc) {
|
|
|
8443
8470
|
valueOf: ms
|
|
8444
8471
|
}, typeof Symbol.toPrimitive == "symbol" && (Rs[Symbol.toPrimitive] = ms);
|
|
8445
8472
|
}
|
|
8446
|
-
var
|
|
8473
|
+
var Ky = Is("Object.prototype.toString"), Jy = Object.getOwnPropertyDescriptor, Qy = "[object RegExp]", Xy = Xc ? function(e) {
|
|
8447
8474
|
if (!e || typeof e != "object")
|
|
8448
8475
|
return !1;
|
|
8449
|
-
var n =
|
|
8476
|
+
var n = Jy(e, "lastIndex"), r = n && Zc(n, "value");
|
|
8450
8477
|
if (!r)
|
|
8451
8478
|
return !1;
|
|
8452
8479
|
try {
|
|
@@ -8455,7 +8482,7 @@ var Gy = Is("Object.prototype.toString"), Ky = Object.getOwnPropertyDescriptor,
|
|
|
8455
8482
|
return o === Es;
|
|
8456
8483
|
}
|
|
8457
8484
|
} : function(e) {
|
|
8458
|
-
return !e || typeof e != "object" && typeof e != "function" ? !1 :
|
|
8485
|
+
return !e || typeof e != "object" && typeof e != "function" ? !1 : Ky(e) === Qy;
|
|
8459
8486
|
}, Ur = function() {
|
|
8460
8487
|
return typeof (function() {
|
|
8461
8488
|
}).name == "string";
|
|
@@ -8473,24 +8500,24 @@ Ur.functionsHaveConfigurableNames = function() {
|
|
|
8473
8500
|
}, "name");
|
|
8474
8501
|
return !!e && !!e.configurable;
|
|
8475
8502
|
};
|
|
8476
|
-
var
|
|
8503
|
+
var Zy = Function.prototype.bind;
|
|
8477
8504
|
Ur.boundFunctionsHaveNames = function() {
|
|
8478
|
-
return Ur() && typeof
|
|
8505
|
+
return Ur() && typeof Zy == "function" && (function() {
|
|
8479
8506
|
}).bind().name !== "";
|
|
8480
8507
|
};
|
|
8481
|
-
var
|
|
8508
|
+
var ev = Ur, fa = zc, tv = si(), nv = ev.functionsHaveConfigurableNames(), rv = TypeError, ov = function(e, n) {
|
|
8482
8509
|
if (typeof e != "function")
|
|
8483
|
-
throw new
|
|
8510
|
+
throw new rv("`fn` is not a function");
|
|
8484
8511
|
var r = arguments.length > 2 && !!arguments[2];
|
|
8485
|
-
return (!r ||
|
|
8486
|
-
},
|
|
8487
|
-
if (this != null && this !==
|
|
8488
|
-
throw new
|
|
8512
|
+
return (!r || nv) && (tv ? fa(e, "name", n, !0, !0) : fa(e, "name", n)), e;
|
|
8513
|
+
}, sv = ov, iv = Object, av = TypeError, td = sv(function() {
|
|
8514
|
+
if (this != null && this !== iv(this))
|
|
8515
|
+
throw new av("RegExp.prototype.flags getter called on non-object");
|
|
8489
8516
|
var e = "";
|
|
8490
8517
|
return this.hasIndices && (e += "d"), this.global && (e += "g"), this.ignoreCase && (e += "i"), this.multiline && (e += "m"), this.dotAll && (e += "s"), this.unicode && (e += "u"), this.unicodeSets && (e += "v"), this.sticky && (e += "y"), e;
|
|
8491
|
-
}, "get flags", !0),
|
|
8492
|
-
if (
|
|
8493
|
-
var e =
|
|
8518
|
+
}, "get flags", !0), lv = td, cv = to.supportsDescriptors, dv = Object.getOwnPropertyDescriptor, nd = function() {
|
|
8519
|
+
if (cv && /a/mig.flags === "gim") {
|
|
8520
|
+
var e = dv(RegExp.prototype, "flags");
|
|
8494
8521
|
if (e && typeof e.get == "function" && typeof RegExp.prototype.dotAll == "boolean" && typeof RegExp.prototype.hasIndices == "boolean") {
|
|
8495
8522
|
var n = "", r = {};
|
|
8496
8523
|
if (Object.defineProperty(r, "hasIndices", {
|
|
@@ -8505,34 +8532,34 @@ var Zy = Ur, fa = zc, ev = si(), tv = Zy.functionsHaveConfigurableNames(), nv =
|
|
|
8505
8532
|
return e.get;
|
|
8506
8533
|
}
|
|
8507
8534
|
}
|
|
8508
|
-
return
|
|
8509
|
-
},
|
|
8510
|
-
if (!
|
|
8511
|
-
throw new
|
|
8512
|
-
var e =
|
|
8513
|
-
return (!r || r.get !== e) &&
|
|
8535
|
+
return lv;
|
|
8536
|
+
}, uv = to.supportsDescriptors, fv = nd, mv = Object.getOwnPropertyDescriptor, pv = Object.defineProperty, hv = TypeError, ma = Object.getPrototypeOf, gv = /a/, yv = function() {
|
|
8537
|
+
if (!uv || !ma)
|
|
8538
|
+
throw new hv("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
|
|
8539
|
+
var e = fv(), n = ma(gv), r = mv(n, "flags");
|
|
8540
|
+
return (!r || r.get !== e) && pv(n, "flags", {
|
|
8514
8541
|
configurable: !0,
|
|
8515
8542
|
enumerable: !1,
|
|
8516
8543
|
get: e
|
|
8517
8544
|
}), e;
|
|
8518
|
-
},
|
|
8519
|
-
|
|
8545
|
+
}, vv = to, bv = oi, wv = td, rd = nd, Cv = yv, od = bv(rd());
|
|
8546
|
+
vv(od, {
|
|
8520
8547
|
getPolyfill: rd,
|
|
8521
|
-
implementation:
|
|
8522
|
-
shim:
|
|
8548
|
+
implementation: wv,
|
|
8549
|
+
shim: Cv
|
|
8523
8550
|
});
|
|
8524
|
-
var
|
|
8551
|
+
var xv = od, Sv = Date.prototype.getDay, Tv = function(e) {
|
|
8525
8552
|
try {
|
|
8526
|
-
return
|
|
8553
|
+
return Sv.call(e), !0;
|
|
8527
8554
|
} catch {
|
|
8528
8555
|
return !1;
|
|
8529
8556
|
}
|
|
8530
|
-
},
|
|
8531
|
-
return typeof e != "object" || e === null ? !1 :
|
|
8532
|
-
}, pa = Oc, ha =
|
|
8557
|
+
}, _v = Object.prototype.toString, Av = "[object Date]", Iv = ti(), Ev = function(e) {
|
|
8558
|
+
return typeof e != "object" || e === null ? !1 : Iv ? Tv(e) : _v.call(e) === Av;
|
|
8559
|
+
}, pa = Oc, ha = Fy, ga = Gy, ya = Xy, va = xv, ba = Ev, wa = Date.prototype.getTime;
|
|
8533
8560
|
function sd(t, e, n) {
|
|
8534
8561
|
var r = n || {};
|
|
8535
|
-
return (r.strict ? ga(t, e) : t === e) ? !0 : !t || !e || typeof t != "object" && typeof e != "object" ? r.strict ? ga(t, e) : t == e :
|
|
8562
|
+
return (r.strict ? ga(t, e) : t === e) ? !0 : !t || !e || typeof t != "object" && typeof e != "object" ? r.strict ? ga(t, e) : t == e : Rv(t, e, r);
|
|
8536
8563
|
}
|
|
8537
8564
|
function Ca(t) {
|
|
8538
8565
|
return t == null;
|
|
@@ -8540,7 +8567,7 @@ function Ca(t) {
|
|
|
8540
8567
|
function xa(t) {
|
|
8541
8568
|
return !(!t || typeof t != "object" || typeof t.length != "number" || typeof t.copy != "function" || typeof t.slice != "function" || t.length > 0 && typeof t[0] != "number");
|
|
8542
8569
|
}
|
|
8543
|
-
function
|
|
8570
|
+
function Rv(t, e, n) {
|
|
8544
8571
|
var r, o;
|
|
8545
8572
|
if (typeof t != typeof e || Ca(t) || Ca(e) || t.prototype !== e.prototype || ha(t) !== ha(e))
|
|
8546
8573
|
return !1;
|
|
@@ -8579,8 +8606,8 @@ function Ev(t, e, n) {
|
|
|
8579
8606
|
return !1;
|
|
8580
8607
|
return !0;
|
|
8581
8608
|
}
|
|
8582
|
-
var
|
|
8583
|
-
const _r = /* @__PURE__ */ Cr(
|
|
8609
|
+
var Fv = sd;
|
|
8610
|
+
const _r = /* @__PURE__ */ Cr(Fv), { Text: Ov } = Kt, Dv = ({
|
|
8584
8611
|
currentModel: t,
|
|
8585
8612
|
context: e,
|
|
8586
8613
|
searchParams: n,
|
|
@@ -8843,7 +8870,7 @@ const _r = /* @__PURE__ */ Cr(Rv), { Text: Fv } = Kt, Ov = ({
|
|
|
8843
8870
|
autoFocus: !0
|
|
8844
8871
|
}
|
|
8845
8872
|
) : /* @__PURE__ */ s(
|
|
8846
|
-
|
|
8873
|
+
Ov,
|
|
8847
8874
|
{
|
|
8848
8875
|
style: {
|
|
8849
8876
|
fontSize: "14px",
|
|
@@ -9210,7 +9237,7 @@ const ai = (t) => {
|
|
|
9210
9237
|
shouldShowSingleSaveButton: L,
|
|
9211
9238
|
shouldShowSaveButtonGroup: U,
|
|
9212
9239
|
shouldShowSaveAsNew: z
|
|
9213
|
-
} =
|
|
9240
|
+
} = Dv({
|
|
9214
9241
|
currentModel: c,
|
|
9215
9242
|
context: l,
|
|
9216
9243
|
searchParams: v,
|
|
@@ -9365,14 +9392,14 @@ const ai = (t) => {
|
|
|
9365
9392
|
]);
|
|
9366
9393
|
return /* @__PURE__ */ H(Oe, { children: [
|
|
9367
9394
|
/* @__PURE__ */ s(
|
|
9368
|
-
|
|
9395
|
+
gg,
|
|
9369
9396
|
{
|
|
9370
9397
|
title: B(_),
|
|
9371
9398
|
isOpen: n,
|
|
9372
9399
|
onClose: r,
|
|
9373
9400
|
headerButtons: se,
|
|
9374
9401
|
footer: /* @__PURE__ */ s(
|
|
9375
|
-
|
|
9402
|
+
Mv,
|
|
9376
9403
|
{
|
|
9377
9404
|
onClear: fe,
|
|
9378
9405
|
onSubmit: Z,
|
|
@@ -9447,7 +9474,7 @@ const ai = (t) => {
|
|
|
9447
9474
|
}
|
|
9448
9475
|
)
|
|
9449
9476
|
] });
|
|
9450
|
-
},
|
|
9477
|
+
}, Mv = ({
|
|
9451
9478
|
onClear: t,
|
|
9452
9479
|
onSubmit: e,
|
|
9453
9480
|
searchParams: n
|
|
@@ -9497,7 +9524,7 @@ const ai = (t) => {
|
|
|
9497
9524
|
const n = or(e.label), r = or(t);
|
|
9498
9525
|
return n.includes(r);
|
|
9499
9526
|
};
|
|
9500
|
-
function
|
|
9527
|
+
function Nv(t) {
|
|
9501
9528
|
const {
|
|
9502
9529
|
onAdvancedFilterToggle: e,
|
|
9503
9530
|
advancedFilter: n,
|
|
@@ -9526,7 +9553,7 @@ function Mv(t) {
|
|
|
9526
9553
|
] })
|
|
9527
9554
|
] });
|
|
9528
9555
|
}
|
|
9529
|
-
function
|
|
9556
|
+
function kv(t) {
|
|
9530
9557
|
const { onLimitChange: e } = t, { t: n } = Me(), r = new ys({ name: "limit" }), o = new ys({ name: "offset" });
|
|
9531
9558
|
return /* @__PURE__ */ H("div", { className: "pl-2 pt-2", children: [
|
|
9532
9559
|
/* @__PURE__ */ s(dt, { children: n("parameters") }, "count_params"),
|
|
@@ -9546,7 +9573,7 @@ function Nv(t) {
|
|
|
9546
9573
|
] })
|
|
9547
9574
|
] });
|
|
9548
9575
|
}
|
|
9549
|
-
const { useToken:
|
|
9576
|
+
const { useToken: $v } = ot;
|
|
9550
9577
|
function zo(t) {
|
|
9551
9578
|
const {
|
|
9552
9579
|
fields: e,
|
|
@@ -9562,7 +9589,7 @@ function zo(t) {
|
|
|
9562
9589
|
searchError: u,
|
|
9563
9590
|
searchValues: m,
|
|
9564
9591
|
showLimitOptions: p = !0
|
|
9565
|
-
} = t, [g, h] = E(), [y, v] = E(), [b, C] = E(!1), x = Q(), { token: w } =
|
|
9592
|
+
} = t, [g, h] = E(), [y, v] = E(), [b, C] = E(!1), x = Q(), { token: w } = $v(), _ = St(
|
|
9566
9593
|
wt.FEATURE_MANY2ONE_SELECTION_TO_LAZY
|
|
9567
9594
|
), [T] = Dt.useForm();
|
|
9568
9595
|
ye(() => {
|
|
@@ -9620,9 +9647,9 @@ function zo(t) {
|
|
|
9620
9647
|
initialValues: { offset: a, limit: d },
|
|
9621
9648
|
children: [
|
|
9622
9649
|
O,
|
|
9623
|
-
b && p && /* @__PURE__ */ s(
|
|
9650
|
+
b && p && /* @__PURE__ */ s(kv, { onLimitChange: c }),
|
|
9624
9651
|
/* @__PURE__ */ s(
|
|
9625
|
-
|
|
9652
|
+
Nv,
|
|
9626
9653
|
{
|
|
9627
9654
|
hideAdvancedFilter: (P() || (y == null ? void 0 : y._rows.length) === 0) && !p,
|
|
9628
9655
|
advancedFilter: b,
|
|
@@ -9655,7 +9682,7 @@ function zo(t) {
|
|
|
9655
9682
|
function li({
|
|
9656
9683
|
useLocalState: t = !1
|
|
9657
9684
|
}) {
|
|
9658
|
-
const e =
|
|
9685
|
+
const e = cb() && !t, n = zt(), [r, o] = E(!1), [i, a] = E(!1), [d, c] = E([]), [l, f] = E(0), [u, m] = E(void 0), [p, g] = E([]), [h, y] = E({}), [v, b] = E(), [C, x] = E([]), [w, _] = E(), [T, A] = E(0), [O, D] = E(), [P, M] = E(1), [F, R] = E(zn), [I, k] = E(Yt);
|
|
9659
9686
|
return e ? {
|
|
9660
9687
|
treeIsLoading: n.viewIsLoading ?? !1,
|
|
9661
9688
|
setTreeIsLoading: n.setViewIsLoading ?? (() => {
|
|
@@ -9749,7 +9776,7 @@ const Ar = () => {
|
|
|
9749
9776
|
document.removeEventListener("visibilitychange", n);
|
|
9750
9777
|
};
|
|
9751
9778
|
}, []), t;
|
|
9752
|
-
},
|
|
9779
|
+
}, Pv = 0.5 * 1e3, Lv = ({
|
|
9753
9780
|
model: t,
|
|
9754
9781
|
treeView: e,
|
|
9755
9782
|
tableRef: n,
|
|
@@ -9902,7 +9929,7 @@ const Ar = () => {
|
|
|
9902
9929
|
);
|
|
9903
9930
|
Je(() => (m && _ && ($(), w.current = setInterval(
|
|
9904
9931
|
$,
|
|
9905
|
-
|
|
9932
|
+
Pv
|
|
9906
9933
|
)), () => {
|
|
9907
9934
|
w.current && (clearInterval(w.current), w.current = null);
|
|
9908
9935
|
}), [m, _, $, c]);
|
|
@@ -9943,7 +9970,7 @@ const Ar = () => {
|
|
|
9943
9970
|
onHasFunctionFieldsToParseConditions: F,
|
|
9944
9971
|
syncExternalRecordUpdates: B
|
|
9945
9972
|
};
|
|
9946
|
-
},
|
|
9973
|
+
}, Vv = 3 * 1e3, Bv = (t) => {
|
|
9947
9974
|
const {
|
|
9948
9975
|
tableRef: e,
|
|
9949
9976
|
model: n,
|
|
@@ -10040,7 +10067,7 @@ const Ar = () => {
|
|
|
10040
10067
|
]);
|
|
10041
10068
|
ye(() => () => {
|
|
10042
10069
|
b(), x();
|
|
10043
|
-
}, []), Je(() => ((o == null ? void 0 : o.length) && h && (O(), g.current = setInterval(O,
|
|
10070
|
+
}, []), Je(() => ((o == null ? void 0 : o.length) && h && (O(), g.current = setInterval(O, Vv)), () => {
|
|
10044
10071
|
g.current && (clearInterval(g.current), g.current = null);
|
|
10045
10072
|
}), [
|
|
10046
10073
|
o,
|
|
@@ -10080,7 +10107,7 @@ const Ar = () => {
|
|
|
10080
10107
|
addRecordsToCheckFunctionFields: p,
|
|
10081
10108
|
onHasFunctionFieldsToParseConditions: g,
|
|
10082
10109
|
syncExternalRecordUpdates: h
|
|
10083
|
-
} =
|
|
10110
|
+
} = Lv({
|
|
10084
10111
|
model: t,
|
|
10085
10112
|
treeView: e,
|
|
10086
10113
|
tableRef: n,
|
|
@@ -10091,7 +10118,7 @@ const Ar = () => {
|
|
|
10091
10118
|
updateAttributes: a,
|
|
10092
10119
|
results: d,
|
|
10093
10120
|
skipFunctionFieldsHandling: !!l
|
|
10094
|
-
}), { clear: y } =
|
|
10121
|
+
}), { clear: y } = Bv({
|
|
10095
10122
|
model: t,
|
|
10096
10123
|
tableRef: n,
|
|
10097
10124
|
autorefreshableFields: l || i == null ? void 0 : i.autorefreshableFields,
|
|
@@ -10154,7 +10181,7 @@ const Ar = () => {
|
|
|
10154
10181
|
),
|
|
10155
10182
|
i[1]
|
|
10156
10183
|
] }) : /* @__PURE__ */ s("span", { style: { fontSize: "12px", color: "#666" }, children: r });
|
|
10157
|
-
}, { Text: Ta, Link:
|
|
10184
|
+
}, { Text: Ta, Link: Hv } = Kt, ad = ({
|
|
10158
10185
|
totalRows: t,
|
|
10159
10186
|
selectedRowKeys: e,
|
|
10160
10187
|
customMiddleComponent: n,
|
|
@@ -10169,7 +10196,7 @@ const Ar = () => {
|
|
|
10169
10196
|
style: { height: 40, maxHeight: 40, overflow: "hidden" },
|
|
10170
10197
|
children: [
|
|
10171
10198
|
/* @__PURE__ */ s(et, { span: i, children: /* @__PURE__ */ s(
|
|
10172
|
-
|
|
10199
|
+
jv,
|
|
10173
10200
|
{
|
|
10174
10201
|
selectedRowKeys: e,
|
|
10175
10202
|
onClearSelection: r
|
|
@@ -10191,14 +10218,14 @@ const Ar = () => {
|
|
|
10191
10218
|
]
|
|
10192
10219
|
}
|
|
10193
10220
|
);
|
|
10194
|
-
},
|
|
10221
|
+
}, jv = ({
|
|
10195
10222
|
selectedRowKeys: t,
|
|
10196
10223
|
onClearSelection: e
|
|
10197
10224
|
}) => {
|
|
10198
10225
|
const { t: n } = Me(), r = e ? /* @__PURE__ */ H(Oe, { children: [
|
|
10199
10226
|
" ",
|
|
10200
10227
|
"- ",
|
|
10201
|
-
/* @__PURE__ */ s(
|
|
10228
|
+
/* @__PURE__ */ s(Hv, { onClick: e, children: n("clearSelection") })
|
|
10202
10229
|
] }) : null;
|
|
10203
10230
|
if (t.length === 1)
|
|
10204
10231
|
return /* @__PURE__ */ H(Oe, { children: [
|
|
@@ -10243,8 +10270,8 @@ const ld = ({
|
|
|
10243
10270
|
var o, i, a, d;
|
|
10244
10271
|
!e || !t.current || (n === !1 || !r ? (i = (o = t.current).pauseAutoRefresh) == null || i.call(o) : (n === void 0 || n === !0) && r && ((d = (a = t.current).resumeAutoRefresh) == null || d.call(a)));
|
|
10245
10272
|
}, [n, e, r]);
|
|
10246
|
-
},
|
|
10247
|
-
function
|
|
10273
|
+
}, Uv = 10, Wv = 200;
|
|
10274
|
+
function zv(t, e) {
|
|
10248
10275
|
const {
|
|
10249
10276
|
model: n,
|
|
10250
10277
|
formView: r,
|
|
@@ -10268,7 +10295,7 @@ function Wv(t, e) {
|
|
|
10268
10295
|
);
|
|
10269
10296
|
const C = Q([]), x = Q(!1), { showErrorNotification: w } = Et(), { setCurrentSavedSearch: _ } = zt(), [T, A] = E(), [O, D] = E(!1), P = Q(), M = Q(null), F = Js({
|
|
10270
10297
|
elementRef: M,
|
|
10271
|
-
offset:
|
|
10298
|
+
offset: Uv
|
|
10272
10299
|
}), R = y !== void 0 ? y : F, [I, k] = $e(
|
|
10273
10300
|
G.getHandler().searchCount
|
|
10274
10301
|
), [$, j] = $e(
|
|
@@ -10518,7 +10545,7 @@ function Wv(t, e) {
|
|
|
10518
10545
|
setSelectedRowItems: te,
|
|
10519
10546
|
onChangeSelectedRowKeys: f,
|
|
10520
10547
|
totalRows: T,
|
|
10521
|
-
maxRowsToSelect:
|
|
10548
|
+
maxRowsToSelect: Wv,
|
|
10522
10549
|
onSelectAll: En
|
|
10523
10550
|
}), vt = S(
|
|
10524
10551
|
async ({
|
|
@@ -10753,12 +10780,12 @@ function Wv(t, e) {
|
|
|
10753
10780
|
/* @__PURE__ */ s("div", { ref: M, style: xt, children: L || ee ? /* @__PURE__ */ s(ct, {}) : Ye })
|
|
10754
10781
|
] });
|
|
10755
10782
|
}
|
|
10756
|
-
const ui = Wt(
|
|
10783
|
+
const ui = Wt(zv), _a = (t, e = "14px -apple-system") => {
|
|
10757
10784
|
const r = document.createElement("canvas").getContext("2d");
|
|
10758
10785
|
r.font = e;
|
|
10759
10786
|
const o = r.measureText(t);
|
|
10760
10787
|
return Math.round((o.width + 80) * 1.5);
|
|
10761
|
-
},
|
|
10788
|
+
}, Yv = (t, e, n = 500) => {
|
|
10762
10789
|
if (t.length === 0)
|
|
10763
10790
|
return { columns: t };
|
|
10764
10791
|
const r = t.map(
|
|
@@ -10779,11 +10806,11 @@ const ui = Wt(Wv), _a = (t, e = "14px -apple-system") => {
|
|
|
10779
10806
|
source: e,
|
|
10780
10807
|
tableWidth: o
|
|
10781
10808
|
};
|
|
10782
|
-
},
|
|
10809
|
+
}, qv = ut.div`
|
|
10783
10810
|
display: flex;
|
|
10784
10811
|
align-items: center;
|
|
10785
10812
|
justify-content: center;
|
|
10786
|
-
`,
|
|
10813
|
+
`, Gv = ({
|
|
10787
10814
|
numberOfVisibleSelectedRows: t,
|
|
10788
10815
|
totalRecords: e,
|
|
10789
10816
|
numberOfTotalRows: n,
|
|
@@ -10812,7 +10839,7 @@ const ui = Wt(Wv), _a = (t, e = "14px -apple-system") => {
|
|
|
10812
10839
|
"{totalRecords}",
|
|
10813
10840
|
o.toString()
|
|
10814
10841
|
) + " " });
|
|
10815
|
-
return /* @__PURE__ */ s(
|
|
10842
|
+
return /* @__PURE__ */ s(qv, { children: o > n ? u : f });
|
|
10816
10843
|
};
|
|
10817
10844
|
var Aa = Object.prototype.hasOwnProperty;
|
|
10818
10845
|
function Ia(t, e, n) {
|
|
@@ -10875,11 +10902,11 @@ function Dr(t, e) {
|
|
|
10875
10902
|
}
|
|
10876
10903
|
return t !== t && e !== e;
|
|
10877
10904
|
}
|
|
10878
|
-
function
|
|
10905
|
+
function Kv(t) {
|
|
10879
10906
|
return t.type === "integer" ? 0 : t.decimalDigits ?? 2;
|
|
10880
10907
|
}
|
|
10881
10908
|
const cd = nt(({ summary: t }) => {
|
|
10882
|
-
const e =
|
|
10909
|
+
const e = Kv(t), r = Tr({
|
|
10883
10910
|
decimalDigits: e,
|
|
10884
10911
|
currency: t.currency,
|
|
10885
10912
|
format: t.format ?? "decimal",
|
|
@@ -10980,7 +11007,7 @@ const ud = Wt(
|
|
|
10980
11007
|
}
|
|
10981
11008
|
) }),
|
|
10982
11009
|
T && /* @__PURE__ */ s(et, { span: 8, className: "text-center", children: /* @__PURE__ */ s(
|
|
10983
|
-
|
|
11010
|
+
Gv,
|
|
10984
11011
|
{
|
|
10985
11012
|
numberOfVisibleSelectedRows: se,
|
|
10986
11013
|
numberOfRealSelectedRows: (u == null ? void 0 : u.length) || 0,
|
|
@@ -11029,7 +11056,7 @@ const ud = Wt(
|
|
|
11029
11056
|
}), /* @__PURE__ */ s(dd, { summaries: le });
|
|
11030
11057
|
}, [O, u, F]), Z = K(() => {
|
|
11031
11058
|
if (F !== null && N && N.length > 0)
|
|
11032
|
-
return
|
|
11059
|
+
return Yv(N, O, 600);
|
|
11033
11060
|
}, [N, O, F]), be = K(() => p && (F != null && F.columns.some((se) => se.sum !== void 0)) ? p - 30 : p, [p, F == null ? void 0 : F.columns]);
|
|
11034
11061
|
return F === null || !Z || ((fe = Z == null ? void 0 : Z.columns) == null ? void 0 : fe.length) === 0 ? /* @__PURE__ */ s(ct, { style: { padding: "2rem" } }) : /* @__PURE__ */ H(It, { children: [
|
|
11035
11062
|
Y,
|
|
@@ -11302,7 +11329,7 @@ const fd = (t) => {
|
|
|
11302
11329
|
getAllIds: Ie
|
|
11303
11330
|
};
|
|
11304
11331
|
};
|
|
11305
|
-
function
|
|
11332
|
+
function Jv(t, e) {
|
|
11306
11333
|
var Ae;
|
|
11307
11334
|
const {
|
|
11308
11335
|
model: n,
|
|
@@ -11564,7 +11591,7 @@ function Kv(t, e) {
|
|
|
11564
11591
|
]), Fe = O || ve;
|
|
11565
11592
|
return Fe ? (console.error(Fe), /* @__PURE__ */ s(Ut, { className: "mt-10", message: Fe, type: "error", banner: !0 })) : /* @__PURE__ */ s("div", { style: l ? {} : { display: "none" }, children: p ? /* @__PURE__ */ s(ct, {}) : Se() });
|
|
11566
11593
|
}
|
|
11567
|
-
const md = Wt(
|
|
11594
|
+
const md = Wt(Jv), Qv = Yt, Xv = (t) => {
|
|
11568
11595
|
const {
|
|
11569
11596
|
treeViewFetching: e,
|
|
11570
11597
|
treeOoui: n,
|
|
@@ -11986,7 +12013,7 @@ const md = Wt(Kv), Jv = Yt, Qv = (t) => {
|
|
|
11986
12013
|
nameSearch: he,
|
|
11987
12014
|
fetchChildrenForRecord: bn
|
|
11988
12015
|
};
|
|
11989
|
-
},
|
|
12016
|
+
}, Zv = ({
|
|
11990
12017
|
filterType: t,
|
|
11991
12018
|
formView: e,
|
|
11992
12019
|
treeView: n,
|
|
@@ -12128,7 +12155,7 @@ const md = Wt(Kv), Jv = Yt, Qv = (t) => {
|
|
|
12128
12155
|
)
|
|
12129
12156
|
);
|
|
12130
12157
|
fi.displayName = "PaginatedTableComponent";
|
|
12131
|
-
const
|
|
12158
|
+
const eb = nt(fi), cn = (t) => {
|
|
12132
12159
|
const e = Q(t);
|
|
12133
12160
|
return ye(() => {
|
|
12134
12161
|
e.current = t;
|
|
@@ -12136,7 +12163,7 @@ const Zv = nt(fi), cn = (t) => {
|
|
|
12136
12163
|
var r;
|
|
12137
12164
|
return (r = e.current) == null ? void 0 : r.call(e, ...n);
|
|
12138
12165
|
}).current;
|
|
12139
|
-
},
|
|
12166
|
+
}, tb = ({
|
|
12140
12167
|
treeView: t,
|
|
12141
12168
|
currentModel: e,
|
|
12142
12169
|
parentContext: n
|
|
@@ -12183,8 +12210,8 @@ const Zv = nt(fi), cn = (t) => {
|
|
|
12183
12210
|
t
|
|
12184
12211
|
]
|
|
12185
12212
|
) };
|
|
12186
|
-
},
|
|
12187
|
-
function
|
|
12213
|
+
}, nb = 10, rb = -30;
|
|
12214
|
+
function ob(t, e) {
|
|
12188
12215
|
const {
|
|
12189
12216
|
model: n,
|
|
12190
12217
|
formView: r,
|
|
@@ -12208,7 +12235,7 @@ function rb(t, e) {
|
|
|
12208
12235
|
context: l
|
|
12209
12236
|
}), A = Js({
|
|
12210
12237
|
elementRef: b,
|
|
12211
|
-
offset: w != null && w.isExpandable ?
|
|
12238
|
+
offset: w != null && w.isExpandable ? rb : nb
|
|
12212
12239
|
}), O = h !== void 0 ? h : A, D = K(() => {
|
|
12213
12240
|
if (w)
|
|
12214
12241
|
return hn(w);
|
|
@@ -12263,7 +12290,7 @@ function rb(t, e) {
|
|
|
12263
12290
|
nameSearchFetchCompleted: ze,
|
|
12264
12291
|
nameSearch: Ee,
|
|
12265
12292
|
fetchChildrenForRecord: Ue
|
|
12266
|
-
} =
|
|
12293
|
+
} = Xv({
|
|
12267
12294
|
treeViewFetching: T,
|
|
12268
12295
|
treeOoui: D,
|
|
12269
12296
|
treeView: w,
|
|
@@ -12296,7 +12323,7 @@ function rb(t, e) {
|
|
|
12296
12323
|
}
|
|
12297
12324
|
)
|
|
12298
12325
|
}));
|
|
12299
|
-
}, [Re, V, Ee]), { handleExpandableRowDoubleClick: ge } =
|
|
12326
|
+
}, [Re, V, Ee]), { handleExpandableRowDoubleClick: ge } = tb({
|
|
12300
12327
|
treeView: w,
|
|
12301
12328
|
currentModel: n,
|
|
12302
12329
|
parentContext: l
|
|
@@ -12325,10 +12352,10 @@ function rb(t, e) {
|
|
|
12325
12352
|
...d ? {} : { display: "none" }
|
|
12326
12353
|
}),
|
|
12327
12354
|
[O, d]
|
|
12328
|
-
), Se = Ee !== void 0 && ze, Fe = Se && W !== void 0 && W !== null && W === Yt, Ae = K(() => typeof W != "number" || isNaN(W) || W < 0 ? (ie == null ? void 0 : ie.length) || 0 : W || 0, [W, ie]), Pe = K(() => (ie == null ? void 0 : ie.length) > 0 && (typeof W != "number" || isNaN(W) || W < 0) ? ie == null ? void 0 : ie.length : f ? Yt : ve ||
|
|
12355
|
+
), Se = Ee !== void 0 && ze, Fe = Se && W !== void 0 && W !== null && W === Yt, Ae = K(() => typeof W != "number" || isNaN(W) || W < 0 ? (ie == null ? void 0 : ie.length) || 0 : W || 0, [W, ie]), Pe = K(() => (ie == null ? void 0 : ie.length) > 0 && (typeof W != "number" || isNaN(W) || W < 0) ? ie == null ? void 0 : ie.length : f ? Yt : ve || Qv, [ie == null ? void 0 : ie.length, W, f, ve]);
|
|
12329
12356
|
return /* @__PURE__ */ H(Yn, { children: [
|
|
12330
12357
|
!B && !p && /* @__PURE__ */ s(
|
|
12331
|
-
|
|
12358
|
+
Zv,
|
|
12332
12359
|
{
|
|
12333
12360
|
filterType: u,
|
|
12334
12361
|
formView: _,
|
|
@@ -12401,7 +12428,7 @@ function rb(t, e) {
|
|
|
12401
12428
|
) })
|
|
12402
12429
|
] });
|
|
12403
12430
|
}
|
|
12404
|
-
const pd = Wt(
|
|
12431
|
+
const pd = Wt(ob), { useToken: sb } = ot, hd = ({
|
|
12405
12432
|
model: t,
|
|
12406
12433
|
context: e,
|
|
12407
12434
|
viewRef: n,
|
|
@@ -12409,7 +12436,7 @@ const pd = Wt(rb), { useToken: ob } = ot, hd = ({
|
|
|
12409
12436
|
setSearchValues: o,
|
|
12410
12437
|
setSearchVisible: i
|
|
12411
12438
|
}) => {
|
|
12412
|
-
const { t: a } = Me(), { token: d } =
|
|
12439
|
+
const { t: a } = Me(), { token: d } = sb(), { globalValues: c } = rn(), l = nn(
|
|
12413
12440
|
kt.FEATURE_SAVED_SEARCHES
|
|
12414
12441
|
), {
|
|
12415
12442
|
currentSavedSearch: f,
|
|
@@ -12574,10 +12601,10 @@ const pd = Wt(rb), { useToken: ob } = ot, hd = ({
|
|
|
12574
12601
|
subtitle: _,
|
|
12575
12602
|
savedSearchesEnabled: l
|
|
12576
12603
|
};
|
|
12577
|
-
},
|
|
12604
|
+
}, ib = {
|
|
12578
12605
|
height: "calc(100vh - 80px - 102px)",
|
|
12579
12606
|
overflow: "auto"
|
|
12580
|
-
}, zn = "legacy",
|
|
12607
|
+
}, zn = "legacy", ab = (t) => {
|
|
12581
12608
|
const {
|
|
12582
12609
|
visible: e,
|
|
12583
12610
|
viewRef: n,
|
|
@@ -12663,7 +12690,7 @@ const pd = Wt(rb), { useToken: ob } = ot, hd = ({
|
|
|
12663
12690
|
onClearSavedSearch: M
|
|
12664
12691
|
}
|
|
12665
12692
|
) }),
|
|
12666
|
-
/* @__PURE__ */ H("div", { style:
|
|
12693
|
+
/* @__PURE__ */ H("div", { style: ib, children: [
|
|
12667
12694
|
y === "infinite" && /* @__PURE__ */ s(
|
|
12668
12695
|
ui,
|
|
12669
12696
|
{
|
|
@@ -12711,7 +12738,7 @@ const pd = Wt(rb), { useToken: ob } = ot, hd = ({
|
|
|
12711
12738
|
] }) : null;
|
|
12712
12739
|
}, Jt = Jd(
|
|
12713
12740
|
null
|
|
12714
|
-
),
|
|
12741
|
+
), lb = (t) => {
|
|
12715
12742
|
const {
|
|
12716
12743
|
children: e,
|
|
12717
12744
|
currentView: n,
|
|
@@ -12872,7 +12899,7 @@ const pd = Wt(rb), { useToken: ob } = ot, hd = ({
|
|
|
12872
12899
|
children: e
|
|
12873
12900
|
}
|
|
12874
12901
|
);
|
|
12875
|
-
},
|
|
12902
|
+
}, cb = () => !!ke(Jt), zt = () => {
|
|
12876
12903
|
const t = ke(Jt);
|
|
12877
12904
|
return t || {
|
|
12878
12905
|
title: "",
|
|
@@ -12988,7 +13015,7 @@ const pd = Wt(rb), { useToken: ob } = ot, hd = ({
|
|
|
12988
13015
|
permissionsLoading: !1,
|
|
12989
13016
|
permissionsError: null
|
|
12990
13017
|
};
|
|
12991
|
-
},
|
|
13018
|
+
}, db = (t, e) => {
|
|
12992
13019
|
const {
|
|
12993
13020
|
view_id: n,
|
|
12994
13021
|
model: r,
|
|
@@ -13068,7 +13095,7 @@ const pd = Wt(rb), { useToken: ob } = ot, hd = ({
|
|
|
13068
13095
|
default:
|
|
13069
13096
|
return /* @__PURE__ */ s(Oe, { children: `Graph ${m.type} not implemented` });
|
|
13070
13097
|
}
|
|
13071
|
-
}, Jn = Wt(
|
|
13098
|
+
}, Jn = Wt(db), ub = (t) => {
|
|
13072
13099
|
const { model: e, domain: n = [], context: r = {}, view_id: o, manualIds: i } = t, [a, d] = E(!1), [c, l] = E(), [f, u] = E(), [m] = $e(
|
|
13073
13100
|
G.getHandler().readForView
|
|
13074
13101
|
), p = S(async () => {
|
|
@@ -13092,10 +13119,10 @@ const pd = Wt(rb), { useToken: ob } = ot, hd = ({
|
|
|
13092
13119
|
fetchData: p,
|
|
13093
13120
|
graphData: f
|
|
13094
13121
|
};
|
|
13095
|
-
},
|
|
13122
|
+
}, fb = (t, e) => {
|
|
13096
13123
|
const { view_id: n, model: r, context: o, domain: i, manualIds: a, fixedHeight: d } = t, c = ke(
|
|
13097
13124
|
Jt
|
|
13098
|
-
), { setGraphIsLoading: l = void 0 } = c || {}, { error: f, loading: u, graphData: m, fetchData: p } =
|
|
13125
|
+
), { setGraphIsLoading: l = void 0 } = c || {}, { error: f, loading: u, graphData: m, fetchData: p } = ub({
|
|
13099
13126
|
view_id: n,
|
|
13100
13127
|
model: r,
|
|
13101
13128
|
domain: i,
|
|
@@ -13163,7 +13190,7 @@ const pd = Wt(rb), { useToken: ob } = ot, hd = ({
|
|
|
13163
13190
|
default:
|
|
13164
13191
|
return /* @__PURE__ */ s(Oe, { children: `Graph ${m.type} not implemented` });
|
|
13165
13192
|
}
|
|
13166
|
-
}, mi = Wt(
|
|
13193
|
+
}, mi = Wt(fb), { useToken: mb } = ot, { Text: Ea } = Kt, gd = (t) => {
|
|
13167
13194
|
const {
|
|
13168
13195
|
title: e,
|
|
13169
13196
|
children: n,
|
|
@@ -13172,7 +13199,7 @@ const pd = Wt(rb), { useToken: ob } = ot, hd = ({
|
|
|
13172
13199
|
parms: i,
|
|
13173
13200
|
tooltip: a,
|
|
13174
13201
|
card: d = !1
|
|
13175
|
-
} = t, { token: c } =
|
|
13202
|
+
} = t, { token: c } = mb(), l = Object.keys(i).length > 0;
|
|
13176
13203
|
return /* @__PURE__ */ H(
|
|
13177
13204
|
"div",
|
|
13178
13205
|
{
|
|
@@ -13241,7 +13268,7 @@ const pd = Wt(rb), { useToken: ob } = ot, hd = ({
|
|
|
13241
13268
|
]
|
|
13242
13269
|
}
|
|
13243
13270
|
);
|
|
13244
|
-
},
|
|
13271
|
+
}, pb = (t) => {
|
|
13245
13272
|
const [e, n] = $e(
|
|
13246
13273
|
G.getHandler().execute
|
|
13247
13274
|
), [r, o] = $e(
|
|
@@ -13375,7 +13402,7 @@ const pd = Wt(rb), { useToken: ob } = ot, hd = ({
|
|
|
13375
13402
|
}
|
|
13376
13403
|
);
|
|
13377
13404
|
};
|
|
13378
|
-
function
|
|
13405
|
+
function hb(t) {
|
|
13379
13406
|
const {
|
|
13380
13407
|
action: e,
|
|
13381
13408
|
model: n,
|
|
@@ -13537,14 +13564,14 @@ function pb(t) {
|
|
|
13537
13564
|
] }));
|
|
13538
13565
|
return B ? (console.error(B), /* @__PURE__ */ s(Ut, { className: "mt-10", message: B, type: "error", banner: !0 })) : u ? /* @__PURE__ */ s(ct, { style: { padding: "2rem" } }) : ie();
|
|
13539
13566
|
}
|
|
13540
|
-
const vd = nt(
|
|
13567
|
+
const vd = nt(hb), { useToken: gb } = ot, yb = 3 * 1e3, vb = (t) => {
|
|
13541
13568
|
const { ooui: e } = t, { refreshCounter: n } = Kr(), r = e.actionId !== void 0, o = e.actionField !== void 0;
|
|
13542
|
-
return /* @__PURE__ */ s(tt, { ooui: e, children: r || o ? /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(
|
|
13543
|
-
},
|
|
13569
|
+
return /* @__PURE__ */ s(tt, { ooui: e, children: r || o ? /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(wb, { ooui: e }, n) }) : /* @__PURE__ */ s(bb, { ooui: e }, n) });
|
|
13570
|
+
}, bb = (t) => {
|
|
13544
13571
|
var T;
|
|
13545
|
-
const { token: e } =
|
|
13572
|
+
const { token: e } = gb(), { ooui: n, value: r } = t, { locale: o } = Me(), { getContext: i } = Kr(), [a, d] = E(n.icon), [c, l] = E(n.color), [f, u] = E(null), [m, p] = E(!1), [g, h] = $e(
|
|
13546
13573
|
G.getHandler().parseCondition
|
|
13547
|
-
), { fetchReferenceValues: y } =
|
|
13574
|
+
), { fetchReferenceValues: y } = pb({
|
|
13548
13575
|
context: i == null ? void 0 : i()
|
|
13549
13576
|
}), v = St(
|
|
13550
13577
|
wt.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
|
|
@@ -13654,7 +13681,7 @@ const vd = nt(pb), { useToken: hb } = ot, gb = 3 * 1e3, yb = (t) => {
|
|
|
13654
13681
|
}
|
|
13655
13682
|
);
|
|
13656
13683
|
return n.card ? /* @__PURE__ */ s(Yr, { children: _ }) : _;
|
|
13657
|
-
},
|
|
13684
|
+
}, wb = (t) => {
|
|
13658
13685
|
const { ooui: e } = t, { actionId: n, height: r } = e, { getFieldValue: o, activeId: i } = Kr(), a = e.actionField && parseInt(o(e.actionField) || "0", 10) || n, { actionData: d, treeShortcut: c, loading: l, error: f, fetchData: u } = fp(a), { openShortcut: m } = Kn();
|
|
13659
13686
|
if (Je(() => {
|
|
13660
13687
|
!e || !a || u();
|
|
@@ -13674,14 +13701,14 @@ const vd = nt(pb), { useToken: hb } = ot, gb = 3 * 1e3, yb = (t) => {
|
|
|
13674
13701
|
children: [
|
|
13675
13702
|
l && /* @__PURE__ */ s(Jr, {}),
|
|
13676
13703
|
!l && /* @__PURE__ */ s(Oe, { children: i ? (g == null ? void 0 : g.id) && /* @__PURE__ */ s(
|
|
13677
|
-
|
|
13704
|
+
Cb,
|
|
13678
13705
|
{
|
|
13679
13706
|
fixedHeight: r,
|
|
13680
13707
|
actionData: d,
|
|
13681
|
-
autoRefresh: e.autoRefresh ?
|
|
13708
|
+
autoRefresh: e.autoRefresh ? yb : void 0
|
|
13682
13709
|
}
|
|
13683
13710
|
) : /* @__PURE__ */ s(
|
|
13684
|
-
|
|
13711
|
+
xb,
|
|
13685
13712
|
{
|
|
13686
13713
|
image: ur.PRESENTED_IMAGE_SIMPLE,
|
|
13687
13714
|
imageStyle: { height: 15 }
|
|
@@ -13690,7 +13717,7 @@ const vd = nt(pb), { useToken: hb } = ot, gb = 3 * 1e3, yb = (t) => {
|
|
|
13690
13717
|
]
|
|
13691
13718
|
}
|
|
13692
13719
|
);
|
|
13693
|
-
},
|
|
13720
|
+
}, Cb = ({
|
|
13694
13721
|
actionData: t,
|
|
13695
13722
|
fixedHeight: e,
|
|
13696
13723
|
autoRefresh: n
|
|
@@ -13766,15 +13793,15 @@ const vd = nt(pb), { useToken: hb } = ot, gb = 3 * 1e3, yb = (t) => {
|
|
|
13766
13793
|
error: new Error("Unsupported view type: " + r.type)
|
|
13767
13794
|
}
|
|
13768
13795
|
);
|
|
13769
|
-
},
|
|
13796
|
+
}, xb = ut(ur)`
|
|
13770
13797
|
&.ant-empty.ant-empty-normal {
|
|
13771
13798
|
margin: 0;
|
|
13772
13799
|
margin-top: 5px;
|
|
13773
13800
|
}
|
|
13774
|
-
`,
|
|
13801
|
+
`, Sb = (t) => {
|
|
13775
13802
|
const { ooui: e } = t;
|
|
13776
|
-
return /* @__PURE__ */ s(tt, { type: "array", ...t, children: /* @__PURE__ */ s(
|
|
13777
|
-
},
|
|
13803
|
+
return /* @__PURE__ */ s(tt, { type: "array", ...t, children: /* @__PURE__ */ s(Tb, { ooui: e }) });
|
|
13804
|
+
}, Tb = (t) => {
|
|
13778
13805
|
const { value: e, ooui: n, onChange: r } = t, { items: o = [] } = e || {}, i = o.filter((D) => D.operation !== "pendingRemove").map((D) => D.id), [a, d] = E([]), [c, l] = E(), [f, u] = E(!1), { relation: m, context: p, readOnly: g, field: h } = n, y = ke(ft), { getContext: v } = y || {}, [b, C] = $e(
|
|
13779
13806
|
G.getHandler().evalDomain
|
|
13780
13807
|
), [x, w] = $e(
|
|
@@ -13861,10 +13888,10 @@ const vd = nt(pb), { useToken: hb } = ot, gb = 3 * 1e3, yb = (t) => {
|
|
|
13861
13888
|
filterOption: (D, P) => P.label.toLowerCase().includes(D.toString().toLowerCase())
|
|
13862
13889
|
}
|
|
13863
13890
|
) }) });
|
|
13864
|
-
}, Tb = (t) => {
|
|
13865
|
-
const { ooui: e } = t;
|
|
13866
|
-
return /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(_b, { ...t, ooui: e }) }) });
|
|
13867
13891
|
}, _b = (t) => {
|
|
13892
|
+
const { ooui: e } = t;
|
|
13893
|
+
return /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Ab, { ...t, ooui: e }) }) });
|
|
13894
|
+
}, Ab = (t) => {
|
|
13868
13895
|
var u, m, p;
|
|
13869
13896
|
const { value: e, ooui: n } = t, r = ke(
|
|
13870
13897
|
An
|
|
@@ -13910,7 +13937,7 @@ const vd = nt(pb), { useToken: hb } = ot, gb = 3 * 1e3, yb = (t) => {
|
|
|
13910
13937
|
width: "100%"
|
|
13911
13938
|
},
|
|
13912
13939
|
children: i.map((g, h) => /* @__PURE__ */ s(
|
|
13913
|
-
|
|
13940
|
+
Ib,
|
|
13914
13941
|
{
|
|
13915
13942
|
button: g,
|
|
13916
13943
|
processAction: r.processAction,
|
|
@@ -13932,7 +13959,7 @@ const vd = nt(pb), { useToken: hb } = ot, gb = 3 * 1e3, yb = (t) => {
|
|
|
13932
13959
|
children: d ? /* @__PURE__ */ s(hl, { label: n.label, icon: a, children: f }) : f
|
|
13933
13960
|
}
|
|
13934
13961
|
);
|
|
13935
|
-
},
|
|
13962
|
+
}, Ib = ({
|
|
13936
13963
|
button: t,
|
|
13937
13964
|
processAction: e,
|
|
13938
13965
|
formContext: n,
|
|
@@ -14007,13 +14034,13 @@ const vd = nt(pb), { useToken: hb } = ot, gb = 3 * 1e3, yb = (t) => {
|
|
|
14007
14034
|
children: t.name
|
|
14008
14035
|
}
|
|
14009
14036
|
);
|
|
14010
|
-
},
|
|
14037
|
+
}, Eb = 200, Rb = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Fb, { ooui: t.ooui, value: t.value }) }), Fb = (t) => {
|
|
14011
14038
|
const { value: e, ooui: n } = t;
|
|
14012
14039
|
if (!e)
|
|
14013
14040
|
return null;
|
|
14014
14041
|
const r = Array.isArray(e) ? String(e[0]) : String(e), o = Array.isArray(e) ? e[1] : e, i = {
|
|
14015
14042
|
value: r,
|
|
14016
|
-
size: n.width ||
|
|
14043
|
+
size: n.width || Eb,
|
|
14017
14044
|
bordered: n.border !== !1
|
|
14018
14045
|
};
|
|
14019
14046
|
return /* @__PURE__ */ H(ht, { direction: "vertical", align: "center", children: [
|
|
@@ -14030,7 +14057,7 @@ const vd = nt(pb), { useToken: hb } = ot, gb = 3 * 1e3, yb = (t) => {
|
|
|
14030
14057
|
}
|
|
14031
14058
|
) });
|
|
14032
14059
|
};
|
|
14033
|
-
function
|
|
14060
|
+
function Ob(t) {
|
|
14034
14061
|
const { ooui: e, responsiveBehaviour: n } = t, r = Lt(e.icon || ""), { t: o } = Me(), i = e.title ? /* @__PURE__ */ H("span", { children: [
|
|
14035
14062
|
r && /* @__PURE__ */ s("span", { style: { marginRight: "8px" }, children: dn.createElement(r) }),
|
|
14036
14063
|
e.title
|
|
@@ -14053,14 +14080,14 @@ function Fb(t) {
|
|
|
14053
14080
|
}
|
|
14054
14081
|
);
|
|
14055
14082
|
}
|
|
14056
|
-
const
|
|
14083
|
+
const Db = (t) => {
|
|
14057
14084
|
switch (t) {
|
|
14058
14085
|
case "form":
|
|
14059
14086
|
return Ir;
|
|
14060
14087
|
case "tree":
|
|
14061
14088
|
return no;
|
|
14062
14089
|
case "notebook":
|
|
14063
|
-
return
|
|
14090
|
+
return Aw;
|
|
14064
14091
|
case "group":
|
|
14065
14092
|
return Pd;
|
|
14066
14093
|
case "label":
|
|
@@ -14068,7 +14095,7 @@ const Ob = (t) => {
|
|
|
14068
14095
|
case "char":
|
|
14069
14096
|
return Fl;
|
|
14070
14097
|
case "text":
|
|
14071
|
-
return
|
|
14098
|
+
return Ew;
|
|
14072
14099
|
case "button":
|
|
14073
14100
|
return Hs;
|
|
14074
14101
|
case "buttonGroup":
|
|
@@ -14076,7 +14103,7 @@ const Ob = (t) => {
|
|
|
14076
14103
|
case "selection":
|
|
14077
14104
|
return Nl;
|
|
14078
14105
|
case "many2one":
|
|
14079
|
-
return
|
|
14106
|
+
return Qb;
|
|
14080
14107
|
case "many2one_lazy":
|
|
14081
14108
|
return jm;
|
|
14082
14109
|
case "boolean":
|
|
@@ -14088,80 +14115,80 @@ const Ob = (t) => {
|
|
|
14088
14115
|
case "progressbar":
|
|
14089
14116
|
return sh;
|
|
14090
14117
|
case "date":
|
|
14091
|
-
return Bw;
|
|
14092
|
-
case "datetime":
|
|
14093
14118
|
return Hw;
|
|
14094
|
-
case "
|
|
14119
|
+
case "datetime":
|
|
14095
14120
|
return jw;
|
|
14121
|
+
case "time":
|
|
14122
|
+
return Uw;
|
|
14096
14123
|
case "one2many":
|
|
14097
14124
|
case "one2many_list":
|
|
14098
14125
|
case "many2many":
|
|
14099
|
-
return
|
|
14126
|
+
return bw;
|
|
14100
14127
|
case "separator":
|
|
14101
|
-
return
|
|
14128
|
+
return Fw;
|
|
14102
14129
|
case "reference":
|
|
14103
|
-
return
|
|
14130
|
+
return zw;
|
|
14104
14131
|
case "binary":
|
|
14105
|
-
return
|
|
14132
|
+
return Gw;
|
|
14106
14133
|
case "image":
|
|
14107
14134
|
return np;
|
|
14108
14135
|
case "icon":
|
|
14109
14136
|
return ep;
|
|
14110
14137
|
case "url":
|
|
14111
|
-
return r0;
|
|
14112
|
-
case "email":
|
|
14113
14138
|
return o0;
|
|
14139
|
+
case "email":
|
|
14140
|
+
return s0;
|
|
14114
14141
|
case "float_time":
|
|
14115
|
-
return
|
|
14142
|
+
return xw;
|
|
14116
14143
|
case "fiber_grid":
|
|
14117
14144
|
return op;
|
|
14118
14145
|
case "timeline":
|
|
14119
14146
|
return dp;
|
|
14120
14147
|
case "indicator":
|
|
14121
|
-
return
|
|
14148
|
+
return vb;
|
|
14122
14149
|
case "tags":
|
|
14123
|
-
return
|
|
14150
|
+
return Sb;
|
|
14124
14151
|
case "tag":
|
|
14125
14152
|
return mh;
|
|
14126
14153
|
case "multicheckbox":
|
|
14127
|
-
return
|
|
14154
|
+
return UC;
|
|
14128
14155
|
case "markdown":
|
|
14129
|
-
return
|
|
14156
|
+
return T0;
|
|
14130
14157
|
case "radio":
|
|
14131
|
-
return
|
|
14158
|
+
return zC;
|
|
14132
14159
|
case "switch":
|
|
14133
|
-
return
|
|
14160
|
+
return GC;
|
|
14134
14161
|
case "steps":
|
|
14135
|
-
return
|
|
14162
|
+
return QC;
|
|
14136
14163
|
case "arrow_steps":
|
|
14137
|
-
return
|
|
14164
|
+
return ex;
|
|
14138
14165
|
case "codeeditor":
|
|
14139
14166
|
case "json":
|
|
14140
|
-
return
|
|
14167
|
+
return tx;
|
|
14141
14168
|
case "comments_timeline":
|
|
14142
|
-
return lx;
|
|
14143
|
-
case "html_preview":
|
|
14144
14169
|
return cx;
|
|
14145
|
-
case "
|
|
14170
|
+
case "html_preview":
|
|
14146
14171
|
return dx;
|
|
14172
|
+
case "alert":
|
|
14173
|
+
return ux;
|
|
14147
14174
|
case "spinner":
|
|
14148
14175
|
return So;
|
|
14149
14176
|
case "carousel":
|
|
14150
|
-
return
|
|
14177
|
+
return px;
|
|
14151
14178
|
case "colorPicker":
|
|
14152
|
-
return
|
|
14179
|
+
return gx;
|
|
14153
14180
|
case "action_buttons":
|
|
14154
|
-
return
|
|
14181
|
+
return _b;
|
|
14155
14182
|
case "qrcode":
|
|
14156
|
-
return
|
|
14183
|
+
return Rb;
|
|
14157
14184
|
case "card":
|
|
14158
|
-
return
|
|
14185
|
+
return Ob;
|
|
14159
14186
|
case "avatar":
|
|
14160
14187
|
return uh;
|
|
14161
14188
|
default:
|
|
14162
14189
|
return;
|
|
14163
14190
|
}
|
|
14164
|
-
},
|
|
14191
|
+
}, Mb = (t) => {
|
|
14165
14192
|
var d;
|
|
14166
14193
|
const { ooui: e, selectionToLazy: n } = t, { type: r } = e;
|
|
14167
14194
|
let o = r, i = e;
|
|
@@ -14174,14 +14201,14 @@ const Ob = (t) => {
|
|
|
14174
14201
|
readOnly: e.readOnly,
|
|
14175
14202
|
required: e.required
|
|
14176
14203
|
}), i.parsedWidgetProps = e.parsedWidgetProps);
|
|
14177
|
-
const a =
|
|
14204
|
+
const a = Db(o);
|
|
14178
14205
|
return a ? ja(a, { ...t, ooui: i }) : null;
|
|
14179
|
-
},
|
|
14206
|
+
}, Nb = ({
|
|
14180
14207
|
item: t,
|
|
14181
14208
|
responsiveBehaviour: e
|
|
14182
14209
|
}) => ({
|
|
14183
14210
|
gridColumnStart: "span " + (e ? 1 : t.colspan)
|
|
14184
|
-
}),
|
|
14211
|
+
}), kb = ({
|
|
14185
14212
|
row: t,
|
|
14186
14213
|
mustFillWithEmpties: e,
|
|
14187
14214
|
numberOfColumns: n
|
|
@@ -14200,10 +14227,10 @@ const Ob = (t) => {
|
|
|
14200
14227
|
r.push(new vr({ string: "" }));
|
|
14201
14228
|
}
|
|
14202
14229
|
}), r;
|
|
14203
|
-
},
|
|
14230
|
+
}, $b = ({
|
|
14204
14231
|
row: t,
|
|
14205
14232
|
numberOfColumns: e
|
|
14206
|
-
}) => t.map((n) => (n._mustExpand && (n.colspan = e), n)),
|
|
14233
|
+
}) => t.map((n) => (n._mustExpand && (n.colspan = e), n)), Pb = (t, e) => {
|
|
14207
14234
|
const n = t.map((r) => r instanceof vr && r.fieldForLabel || r instanceof lu ? "auto" : "1fr");
|
|
14208
14235
|
if (n.length < e) {
|
|
14209
14236
|
const r = e - n.length;
|
|
@@ -14211,27 +14238,27 @@ const Ob = (t) => {
|
|
|
14211
14238
|
n.push("1fr");
|
|
14212
14239
|
}
|
|
14213
14240
|
return n.join(" ");
|
|
14214
|
-
},
|
|
14241
|
+
}, Lb = (t, e) => {
|
|
14215
14242
|
const n = e ? "1fr" : "auto", r = "auto";
|
|
14216
14243
|
let o = "";
|
|
14217
14244
|
for (let i = 0; i < t; i++)
|
|
14218
14245
|
o += i % 2 ? n : r, i + 1 < t && (o += " ");
|
|
14219
14246
|
return o;
|
|
14220
|
-
},
|
|
14247
|
+
}, Vb = (t) => t.map((n) => n.reduce((r, o) => r + o.colspan, 0)).reduce((n, r) => Math.max(n, r)), pi = (t) => {
|
|
14221
14248
|
const { container: e, responsiveBehaviour: n } = t, { rows: r } = e;
|
|
14222
14249
|
let { columns: o } = e;
|
|
14223
14250
|
const i = St(
|
|
14224
14251
|
wt.FEATURE_MANY2ONE_SELECTION_TO_LAZY
|
|
14225
|
-
), a =
|
|
14252
|
+
), a = Vb(r);
|
|
14226
14253
|
a < o && (o = a);
|
|
14227
14254
|
let d = !1, c = [];
|
|
14228
14255
|
const l = r.map((m, p) => {
|
|
14229
|
-
const g = m.filter((v) => !v.invisible), h =
|
|
14256
|
+
const g = m.filter((v) => !v.invisible), h = $b({
|
|
14230
14257
|
row: g,
|
|
14231
14258
|
numberOfColumns: o
|
|
14232
14259
|
});
|
|
14233
14260
|
let y = h;
|
|
14234
|
-
return (p === 0 || !(m.length === 1 && m.some((v) => v.type === "group"))) && (y =
|
|
14261
|
+
return (p === 0 || !(m.length === 1 && m.some((v) => v.type === "group"))) && (y = kb({
|
|
14235
14262
|
row: h,
|
|
14236
14263
|
numberOfColumns: o,
|
|
14237
14264
|
mustFillWithEmpties: n
|
|
@@ -14242,10 +14269,10 @@ const Ob = (t) => {
|
|
|
14242
14269
|
"div",
|
|
14243
14270
|
{
|
|
14244
14271
|
style: {
|
|
14245
|
-
...
|
|
14272
|
+
...Nb({ item: v, responsiveBehaviour: n }),
|
|
14246
14273
|
minWidth: b
|
|
14247
14274
|
},
|
|
14248
|
-
children:
|
|
14275
|
+
children: Mb({
|
|
14249
14276
|
ooui: v,
|
|
14250
14277
|
responsiveBehaviour: n,
|
|
14251
14278
|
selectionToLazy: i
|
|
@@ -14254,7 +14281,7 @@ const Ob = (t) => {
|
|
|
14254
14281
|
v.key
|
|
14255
14282
|
);
|
|
14256
14283
|
});
|
|
14257
|
-
}), f = r.length === 1 ?
|
|
14284
|
+
}), f = r.length === 1 ? Pb(c, o) : Lb(o, d);
|
|
14258
14285
|
return /* @__PURE__ */ s("div", { style: {
|
|
14259
14286
|
display: "grid",
|
|
14260
14287
|
gridTemplateColumns: n ? "auto" : f,
|
|
@@ -14262,7 +14289,7 @@ const Ob = (t) => {
|
|
|
14262
14289
|
minHeight: 0,
|
|
14263
14290
|
minWidth: 0
|
|
14264
14291
|
}, children: l });
|
|
14265
|
-
}, bd = dn.createContext(null),
|
|
14292
|
+
}, bd = dn.createContext(null), Bb = (t) => {
|
|
14266
14293
|
const { children: e, setTitle: n } = t;
|
|
14267
14294
|
return /* @__PURE__ */ s(
|
|
14268
14295
|
bd.Provider,
|
|
@@ -14273,12 +14300,12 @@ const Ob = (t) => {
|
|
|
14273
14300
|
children: e
|
|
14274
14301
|
}
|
|
14275
14302
|
);
|
|
14276
|
-
},
|
|
14303
|
+
}, Hb = (t, e) => {
|
|
14277
14304
|
const n = {};
|
|
14278
14305
|
return Object.keys(t).forEach((r) => {
|
|
14279
14306
|
n[r] = t[r], e != null && e[r] && (n[r].context = e[r]);
|
|
14280
14307
|
}), n;
|
|
14281
|
-
},
|
|
14308
|
+
}, jb = 3 * 1e3, Ub = (t) => {
|
|
14282
14309
|
const {
|
|
14283
14310
|
model: e,
|
|
14284
14311
|
id: n,
|
|
@@ -14317,7 +14344,7 @@ const Ob = (t) => {
|
|
|
14317
14344
|
r,
|
|
14318
14345
|
a
|
|
14319
14346
|
]);
|
|
14320
|
-
Je(() => (n && n > 0 && (o == null ? void 0 : o.length) && l && (g(), c.current = setInterval(g,
|
|
14347
|
+
Je(() => (n && n > 0 && (o == null ? void 0 : o.length) && l && (g(), c.current = setInterval(g, jb)), () => {
|
|
14321
14348
|
m(), c.current && (clearInterval(c.current), c.current = null);
|
|
14322
14349
|
}), [
|
|
14323
14350
|
o,
|
|
@@ -14334,7 +14361,7 @@ const Ob = (t) => {
|
|
|
14334
14361
|
f(!0);
|
|
14335
14362
|
}, []);
|
|
14336
14363
|
return { pause: h, resume: y };
|
|
14337
|
-
},
|
|
14364
|
+
}, Wb = () => {
|
|
14338
14365
|
const [t, e] = E({}), n = S(
|
|
14339
14366
|
(c, l, f = "error") => {
|
|
14340
14367
|
e((u) => ({ ...u, [c]: { message: l, type: f } }));
|
|
@@ -14374,8 +14401,8 @@ const Ob = (t) => {
|
|
|
14374
14401
|
clearAllFieldMessages: a,
|
|
14375
14402
|
setFieldMessagesArray: d
|
|
14376
14403
|
};
|
|
14377
|
-
},
|
|
14378
|
-
function
|
|
14404
|
+
}, zb = 800;
|
|
14405
|
+
function Yb(t, e) {
|
|
14379
14406
|
const {
|
|
14380
14407
|
model: n,
|
|
14381
14408
|
id: r,
|
|
@@ -14401,7 +14428,7 @@ function zb(t, e) {
|
|
|
14401
14428
|
forcedValues: T = {},
|
|
14402
14429
|
parentWidth: A,
|
|
14403
14430
|
onMustRefreshParent: O
|
|
14404
|
-
} = t, { t: D } = Me(), [P, M] = E(!1), [F, R] = E(), [I, k] = E(), [$] = Dt.useForm(), [j, X] = E(), [V, B] = E(), N = ke(bd), [L, U] = E(), [z, Y] = E(!1), [te, Z] = E(0), be = Q(), fe = Q({}), se = Q(null), le = Q({}), oe = Q({}), ne = Q(!1), W = Q(!1), me = Q(!1), pe = (A !== void 0 ? A : L) <
|
|
14431
|
+
} = t, { t: D } = Me(), [P, M] = E(!1), [F, R] = E(), [I, k] = E(), [$] = Dt.useForm(), [j, X] = E(), [V, B] = E(), N = ke(bd), [L, U] = E(), [z, Y] = E(!1), [te, Z] = E(0), be = Q(), fe = Q({}), se = Q(null), le = Q({}), oe = Q({}), ne = Q(!1), W = Q(!1), me = Q(!1), pe = (A !== void 0 ? A : L) < zb, de = ke(ft), { activeId: Ie, getPlainValues: he } = de || {}, Ne = Q(!1), je = ke(
|
|
14405
14432
|
Jt
|
|
14406
14433
|
), {
|
|
14407
14434
|
setFormIsSaving: ve = void 0,
|
|
@@ -14428,7 +14455,7 @@ function zb(t, e) {
|
|
|
14428
14455
|
clearFieldMessage: ce,
|
|
14429
14456
|
clearAllFieldMessages: Se,
|
|
14430
14457
|
setFieldMessagesArray: Fe
|
|
14431
|
-
} =
|
|
14458
|
+
} = Wb();
|
|
14432
14459
|
Zt(e, () => ({
|
|
14433
14460
|
submitForm: Qt,
|
|
14434
14461
|
getFields: Tt,
|
|
@@ -14669,7 +14696,7 @@ function zb(t, e) {
|
|
|
14669
14696
|
if (Le = (await G.getHandler().readObjects({
|
|
14670
14697
|
model: n,
|
|
14671
14698
|
ids: [De()],
|
|
14672
|
-
fields:
|
|
14699
|
+
fields: Hb(we, Ze == null ? void 0 : Ze.contextForFields),
|
|
14673
14700
|
context: b
|
|
14674
14701
|
}))[0], v)
|
|
14675
14702
|
return { values: Le, defaultGetCalled: We };
|
|
@@ -15019,7 +15046,7 @@ function zb(t, e) {
|
|
|
15019
15046
|
},
|
|
15020
15047
|
[j, xt, V, Qe, tn]
|
|
15021
15048
|
);
|
|
15022
|
-
|
|
15049
|
+
Ub({
|
|
15023
15050
|
model: n,
|
|
15024
15051
|
id: qe,
|
|
15025
15052
|
context: b,
|
|
@@ -15156,7 +15183,7 @@ function zb(t, e) {
|
|
|
15156
15183
|
}
|
|
15157
15184
|
) : null;
|
|
15158
15185
|
}
|
|
15159
|
-
const Ir = Wt(
|
|
15186
|
+
const Ir = Wt(Yb), qb = (t) => {
|
|
15160
15187
|
const { visible: e, initialName: n, onSave: r, onCancel: o } = t, { t: i } = Me(), [a, d] = E(n), [c, l] = E(!1);
|
|
15161
15188
|
ye(() => {
|
|
15162
15189
|
d(n);
|
|
@@ -15209,7 +15236,7 @@ const Ir = Wt(zb), Yb = (t) => {
|
|
|
15209
15236
|
) }) })
|
|
15210
15237
|
}
|
|
15211
15238
|
);
|
|
15212
|
-
},
|
|
15239
|
+
}, Gb = (t) => {
|
|
15213
15240
|
const {
|
|
15214
15241
|
isFavourite: e,
|
|
15215
15242
|
currentShortcutId: n,
|
|
@@ -15302,7 +15329,7 @@ const Ir = Wt(zb), Yb = (t) => {
|
|
|
15302
15329
|
handleSaveFavourite: A,
|
|
15303
15330
|
handleCancelNameModal: O,
|
|
15304
15331
|
initialName: D
|
|
15305
|
-
} =
|
|
15332
|
+
} = Gb({
|
|
15306
15333
|
isFavourite: p,
|
|
15307
15334
|
currentShortcutId: h,
|
|
15308
15335
|
defaultName: u,
|
|
@@ -15351,7 +15378,7 @@ const Ir = Wt(zb), Yb = (t) => {
|
|
|
15351
15378
|
] });
|
|
15352
15379
|
}
|
|
15353
15380
|
const R = f * 0.95;
|
|
15354
|
-
return /* @__PURE__ */ H(
|
|
15381
|
+
return /* @__PURE__ */ H(Bb, { setTitle: m, children: [
|
|
15355
15382
|
/* @__PURE__ */ s(
|
|
15356
15383
|
jt,
|
|
15357
15384
|
{
|
|
@@ -15378,7 +15405,7 @@ const Ir = Wt(zb), Yb = (t) => {
|
|
|
15378
15405
|
}
|
|
15379
15406
|
),
|
|
15380
15407
|
/* @__PURE__ */ s(
|
|
15381
|
-
|
|
15408
|
+
qb,
|
|
15382
15409
|
{
|
|
15383
15410
|
visible: _,
|
|
15384
15411
|
initialName: D,
|
|
@@ -15511,7 +15538,7 @@ const Ir = Wt(zb), Yb = (t) => {
|
|
|
15511
15538
|
}
|
|
15512
15539
|
)
|
|
15513
15540
|
] });
|
|
15514
|
-
}, { defaultAlgorithm:
|
|
15541
|
+
}, { defaultAlgorithm: Kb, defaultSeed: Jb } = ot, wd = Kb(Jb), Qb = (t) => {
|
|
15515
15542
|
const { ooui: e } = t, { required: n } = e;
|
|
15516
15543
|
return /* @__PURE__ */ s(tt, { required: n, type: "array", validator: async (o, i) => {
|
|
15517
15544
|
if (!i)
|
|
@@ -15620,7 +15647,7 @@ const Ir = Wt(zb), Yb = (t) => {
|
|
|
15620
15647
|
async function be(W) {
|
|
15621
15648
|
W.keyCode === 13 ? (W.preventDefault(), W.stopPropagation(), await z()) : W.code === "Backspace" && B !== void 0 && (W.preventDefault(), W.stopPropagation(), L([void 0, ""]));
|
|
15622
15649
|
}
|
|
15623
|
-
const fe = o && !a ?
|
|
15650
|
+
const fe = o && !a ? Xb : Mt, se = St(
|
|
15624
15651
|
wt.FEATURE_MANY2ONE_DISABLE_FOLDER
|
|
15625
15652
|
), le = St(
|
|
15626
15653
|
wt.FEATURE_MANY2ONE_DISABLE_ARROW_MENU
|
|
@@ -15714,11 +15741,11 @@ const Ir = Wt(zb), Yb = (t) => {
|
|
|
15714
15741
|
}
|
|
15715
15742
|
)
|
|
15716
15743
|
] });
|
|
15717
|
-
},
|
|
15744
|
+
}, Xb = ut(Mt)`
|
|
15718
15745
|
.ant-input {
|
|
15719
15746
|
background-color: ${wd.colorPrimaryBg};
|
|
15720
15747
|
}
|
|
15721
|
-
`,
|
|
15748
|
+
`, Zb = ({
|
|
15722
15749
|
title: t,
|
|
15723
15750
|
content: e,
|
|
15724
15751
|
onOk: n,
|
|
@@ -15765,7 +15792,7 @@ const Ir = Wt(zb), Yb = (t) => {
|
|
|
15765
15792
|
const n = vl(e);
|
|
15766
15793
|
return n.render(
|
|
15767
15794
|
/* @__PURE__ */ s(
|
|
15768
|
-
|
|
15795
|
+
Zb,
|
|
15769
15796
|
{
|
|
15770
15797
|
...t,
|
|
15771
15798
|
onOk: async () => {
|
|
@@ -15934,7 +15961,7 @@ const Ir = Wt(zb), Yb = (t) => {
|
|
|
15934
15961
|
}) => {
|
|
15935
15962
|
const e = await (t == null ? void 0 : t());
|
|
15936
15963
|
return e != null && e.succeed ? { succeed: !0, currentId: e.id } : { succeed: !1, currentId: void 0 };
|
|
15937
|
-
},
|
|
15964
|
+
}, ew = ({
|
|
15938
15965
|
currentId: t,
|
|
15939
15966
|
currentModel: e,
|
|
15940
15967
|
onItemDuplicated: n,
|
|
@@ -15967,8 +15994,8 @@ const Ir = Wt(zb), Yb = (t) => {
|
|
|
15967
15994
|
duplicatingItem: o,
|
|
15968
15995
|
duplicate: d
|
|
15969
15996
|
};
|
|
15970
|
-
}, { useToken:
|
|
15971
|
-
function
|
|
15997
|
+
}, { useToken: tw } = ot;
|
|
15998
|
+
function nw(t) {
|
|
15972
15999
|
var be, fe, se, le;
|
|
15973
16000
|
const {
|
|
15974
16001
|
title: e,
|
|
@@ -15995,7 +16022,7 @@ function tw(t) {
|
|
|
15995
16022
|
currentId: _,
|
|
15996
16023
|
onOpenInListView: T,
|
|
15997
16024
|
canOpenInListView: A
|
|
15998
|
-
} = t, { token: O } =
|
|
16025
|
+
} = t, { token: O } = tw(), { t: D } = Me(), { activeModel: P } = Kr(), { permissions: M } = Lr({
|
|
15999
16026
|
model: o,
|
|
16000
16027
|
permissions: ["create", "write", "unlink"],
|
|
16001
16028
|
enabled: !0
|
|
@@ -16003,7 +16030,7 @@ function tw(t) {
|
|
|
16003
16030
|
model: P,
|
|
16004
16031
|
permissions: ["write"],
|
|
16005
16032
|
enabled: !!P
|
|
16006
|
-
}), R = (M == null ? void 0 : M.create) ?? !1, I = (M == null ? void 0 : M.write) ?? !1, k = (M == null ? void 0 : M.unlink) ?? !1, $ = (F == null ? void 0 : F.write) ?? !1, { duplicatingItem: j, duplicate: X } =
|
|
16033
|
+
}), R = (M == null ? void 0 : M.create) ?? !1, I = (M == null ? void 0 : M.write) ?? !1, k = (M == null ? void 0 : M.unlink) ?? !1, $ = (F == null ? void 0 : F.write) ?? !1, { duplicatingItem: j, duplicate: X } = ew({
|
|
16007
16034
|
currentId: a === "form" ? _ : parseInt(g[0]),
|
|
16008
16035
|
currentModel: o,
|
|
16009
16036
|
onItemDuplicated: () => {
|
|
@@ -16254,19 +16281,19 @@ const Rd = nt(
|
|
|
16254
16281
|
}
|
|
16255
16282
|
);
|
|
16256
16283
|
Rd.displayName = "DeleteButton";
|
|
16257
|
-
const hi = nt(
|
|
16284
|
+
const hi = nt(nw), rw = {
|
|
16258
16285
|
form: tl,
|
|
16259
16286
|
tree: Ja,
|
|
16260
16287
|
graph: Jn
|
|
16261
16288
|
};
|
|
16262
|
-
function
|
|
16289
|
+
function ow(t) {
|
|
16263
16290
|
const e = t.map((r) => r.id);
|
|
16264
16291
|
return t.filter((r, o) => {
|
|
16265
16292
|
const { id: i } = r;
|
|
16266
16293
|
return !e.includes(i, o + 1);
|
|
16267
16294
|
});
|
|
16268
16295
|
}
|
|
16269
|
-
const
|
|
16296
|
+
const sw = (t) => {
|
|
16270
16297
|
var ge, ue, ae;
|
|
16271
16298
|
const { value: e, onChange: n, ooui: r, views: o } = t, { items: i = [] } = e || {}, { currentView: a, setCurrentView: d, itemIndex: c, setItemIndex: l } = ke(
|
|
16272
16299
|
Pn
|
|
@@ -16302,7 +16329,7 @@ const ow = (t) => {
|
|
|
16302
16329
|
var Te, re;
|
|
16303
16330
|
n == null || n({
|
|
16304
16331
|
fields: ((Te = o.get("form")) == null ? void 0 : Te.fields) || ((re = o.get("tree")) == null ? void 0 : re.fields),
|
|
16305
|
-
items:
|
|
16332
|
+
items: ow(J)
|
|
16306
16333
|
});
|
|
16307
16334
|
}, me = async () => {
|
|
16308
16335
|
await ie(), c > le.length - 1 && c !== 0 && l(0);
|
|
@@ -16513,7 +16540,7 @@ const ow = (t) => {
|
|
|
16513
16540
|
}
|
|
16514
16541
|
};
|
|
16515
16542
|
function Ee() {
|
|
16516
|
-
const J =
|
|
16543
|
+
const J = rw[a];
|
|
16517
16544
|
if (a === "graph")
|
|
16518
16545
|
return el(o.get("graph").arch).string;
|
|
16519
16546
|
{
|
|
@@ -16714,7 +16741,7 @@ const ow = (t) => {
|
|
|
16714
16741
|
t
|
|
16715
16742
|
]);
|
|
16716
16743
|
return n;
|
|
16717
|
-
},
|
|
16744
|
+
}, iw = ({
|
|
16718
16745
|
treeView: t,
|
|
16719
16746
|
relation: e,
|
|
16720
16747
|
context: n,
|
|
@@ -16904,7 +16931,7 @@ const Md = ({
|
|
|
16904
16931
|
const { t: d } = Me(), { currentView: c, itemIndex: l, setItemIndex: f } = ke(
|
|
16905
16932
|
Pn
|
|
16906
16933
|
), { showErrorNotification: u } = Et(), m = S(async () => {
|
|
16907
|
-
const y =
|
|
16934
|
+
const y = aw({
|
|
16908
16935
|
selectedRowKeys: o,
|
|
16909
16936
|
items: n
|
|
16910
16937
|
});
|
|
@@ -16971,7 +16998,7 @@ const Md = ({
|
|
|
16971
16998
|
});
|
|
16972
16999
|
}, [t, g, d]) };
|
|
16973
17000
|
};
|
|
16974
|
-
function
|
|
17001
|
+
function aw({
|
|
16975
17002
|
selectedRowKeys: t,
|
|
16976
17003
|
items: e
|
|
16977
17004
|
}) {
|
|
@@ -17126,10 +17153,10 @@ const Nd = ({
|
|
|
17126
17153
|
onCloseSearchModal: u,
|
|
17127
17154
|
onSelectSearchValues: p
|
|
17128
17155
|
};
|
|
17129
|
-
}, $d = (t) => `columnState-${t.parentViewId}-${t.treeViewId}-${t.one2ManyFieldName}-${t.model}`, Ra = 400,
|
|
17156
|
+
}, $d = (t) => `columnState-${t.parentViewId}-${t.treeViewId}-${t.one2ManyFieldName}-${t.model}`, Ra = 400, lw = (t, e) => t.filter((n) => {
|
|
17130
17157
|
const r = e.find((o) => o.id === n.id);
|
|
17131
17158
|
return r ? JSON.stringify(n.treeValues) !== JSON.stringify(r.treeValues) : !0;
|
|
17132
|
-
}),
|
|
17159
|
+
}), cw = ({
|
|
17133
17160
|
items: t,
|
|
17134
17161
|
height: e,
|
|
17135
17162
|
onRowDoubleClick: n,
|
|
@@ -17277,7 +17304,7 @@ const Nd = ({
|
|
|
17277
17304
|
_.current = t;
|
|
17278
17305
|
return;
|
|
17279
17306
|
}
|
|
17280
|
-
const ae =
|
|
17307
|
+
const ae = lw(t, _.current);
|
|
17281
17308
|
_.current = t, se(), ae.length > 0 && (async () => {
|
|
17282
17309
|
var ee;
|
|
17283
17310
|
const re = ae.filter((ce) => ce.treeValues).map((ce) => ce.treeValues);
|
|
@@ -17345,7 +17372,7 @@ const Nd = ({
|
|
|
17345
17372
|
[n]
|
|
17346
17373
|
);
|
|
17347
17374
|
return be ? /* @__PURE__ */ s(ct, {}) : v === "paginated" ? /* @__PURE__ */ s(
|
|
17348
|
-
|
|
17375
|
+
eb,
|
|
17349
17376
|
{
|
|
17350
17377
|
tableRef: x,
|
|
17351
17378
|
onRowStyle: Ge,
|
|
@@ -17403,7 +17430,7 @@ const Nd = ({
|
|
|
17403
17430
|
onChangeTableType: b
|
|
17404
17431
|
}
|
|
17405
17432
|
);
|
|
17406
|
-
},
|
|
17433
|
+
}, dw = ["form", "tree", "graph"], uw = (t) => {
|
|
17407
17434
|
var ze, Ee, Ue;
|
|
17408
17435
|
const e = Q(null), { value: n, onChange: r, ooui: o, views: i, treeType: a, onUserSelectTreeType: d } = t, { items: c = [] } = n || {}, l = Dd({ one2manyItems: c }), { currentView: f, setCurrentView: u, itemIndex: m, setItemIndex: p, setTreeType: g } = ke(Pn), {
|
|
17409
17436
|
readOnly: h,
|
|
@@ -17426,7 +17453,7 @@ const Nd = ({
|
|
|
17426
17453
|
onChangeFirstVisibleRowIndex: $,
|
|
17427
17454
|
onGetFirstVisibileRowIndex: j,
|
|
17428
17455
|
onSelectionCheckboxClicked: X
|
|
17429
|
-
} =
|
|
17456
|
+
} = iw({
|
|
17430
17457
|
treeView: i.get("tree"),
|
|
17431
17458
|
relation: y,
|
|
17432
17459
|
context: P,
|
|
@@ -17601,7 +17628,7 @@ const Nd = ({
|
|
|
17601
17628
|
}
|
|
17602
17629
|
),
|
|
17603
17630
|
f === "tree" && i.get("tree") && /* @__PURE__ */ s(
|
|
17604
|
-
|
|
17631
|
+
cw,
|
|
17605
17632
|
{
|
|
17606
17633
|
gridRef: e,
|
|
17607
17634
|
height: o.height,
|
|
@@ -17683,12 +17710,12 @@ const Nd = ({
|
|
|
17683
17710
|
limit: 0
|
|
17684
17711
|
}
|
|
17685
17712
|
),
|
|
17686
|
-
!
|
|
17713
|
+
!dw.includes(f) && /* @__PURE__ */ H("span", { children: [
|
|
17687
17714
|
"Unsupported view ",
|
|
17688
17715
|
f
|
|
17689
17716
|
] })
|
|
17690
17717
|
] });
|
|
17691
|
-
},
|
|
17718
|
+
}, fw = ({
|
|
17692
17719
|
treeView: t,
|
|
17693
17720
|
relation: e,
|
|
17694
17721
|
context: n,
|
|
@@ -17751,10 +17778,10 @@ const Nd = ({
|
|
|
17751
17778
|
onGetFirstVisibileRowIndex: f,
|
|
17752
17779
|
onSelectionCheckboxClicked: c
|
|
17753
17780
|
};
|
|
17754
|
-
},
|
|
17781
|
+
}, mw = 400, pw = (t, e) => t.filter((n) => {
|
|
17755
17782
|
const r = e.find((o) => o.id === n.id);
|
|
17756
17783
|
return r ? JSON.stringify(n.treeValues) !== JSON.stringify(r.treeValues) : !0;
|
|
17757
|
-
}),
|
|
17784
|
+
}), hw = ({
|
|
17758
17785
|
items: t,
|
|
17759
17786
|
height: e,
|
|
17760
17787
|
onRowDoubleClick: n,
|
|
@@ -17784,7 +17811,7 @@ const Nd = ({
|
|
|
17784
17811
|
w.current = t;
|
|
17785
17812
|
return;
|
|
17786
17813
|
}
|
|
17787
|
-
const $ =
|
|
17814
|
+
const $ = pw(t, w.current);
|
|
17788
17815
|
w.current = t, C.current = {}, x.current && (x.current = {}), $.length > 0 && (async () => {
|
|
17789
17816
|
var N;
|
|
17790
17817
|
const V = $.filter((L) => L.treeValues).map((L) => L.treeValues);
|
|
@@ -17836,7 +17863,7 @@ const Nd = ({
|
|
|
17836
17863
|
Bs,
|
|
17837
17864
|
{
|
|
17838
17865
|
ref: b,
|
|
17839
|
-
height: e ||
|
|
17866
|
+
height: e || mw,
|
|
17840
17867
|
columns: P,
|
|
17841
17868
|
onRequestData: M,
|
|
17842
17869
|
onRowDoubleClick: n,
|
|
@@ -17863,7 +17890,7 @@ const Nd = ({
|
|
|
17863
17890
|
}
|
|
17864
17891
|
}
|
|
17865
17892
|
);
|
|
17866
|
-
},
|
|
17893
|
+
}, gw = ({
|
|
17867
17894
|
ooui: t,
|
|
17868
17895
|
items: e,
|
|
17869
17896
|
selectedRowKeys: n,
|
|
@@ -17876,7 +17903,7 @@ const Nd = ({
|
|
|
17876
17903
|
model: r,
|
|
17877
17904
|
domain: i
|
|
17878
17905
|
});
|
|
17879
|
-
},
|
|
17906
|
+
}, yw = ["form", "tree", "graph"], vw = (t) => {
|
|
17880
17907
|
var Ne, je, ve;
|
|
17881
17908
|
const e = Q(null), { value: n, onChange: r, ooui: o, views: i } = t, { items: a = [] } = n || {}, d = Dd({ one2manyItems: a }), { currentView: c, setCurrentView: l, itemIndex: f, setItemIndex: u } = ke(
|
|
17882
17909
|
Pn
|
|
@@ -17901,13 +17928,13 @@ const Nd = ({
|
|
|
17901
17928
|
onChangeFirstVisibleRowIndex: R,
|
|
17902
17929
|
onGetFirstVisibileRowIndex: I,
|
|
17903
17930
|
onSelectionCheckboxClicked: k
|
|
17904
|
-
} =
|
|
17931
|
+
} = fw({
|
|
17905
17932
|
treeView: i.get("tree"),
|
|
17906
17933
|
relation: p,
|
|
17907
17934
|
context: A,
|
|
17908
17935
|
allRowsIds: d.filter((Ce) => Ce.id !== void 0).map((Ce) => Ce.id),
|
|
17909
17936
|
gridRef: e
|
|
17910
|
-
}), [, $] =
|
|
17937
|
+
}), [, $] = gw({
|
|
17911
17938
|
ooui: D,
|
|
17912
17939
|
model: p,
|
|
17913
17940
|
items: d,
|
|
@@ -18040,7 +18067,7 @@ const Nd = ({
|
|
|
18040
18067
|
}
|
|
18041
18068
|
),
|
|
18042
18069
|
c === "tree" && i.get("tree") && /* @__PURE__ */ s(
|
|
18043
|
-
|
|
18070
|
+
hw,
|
|
18044
18071
|
{
|
|
18045
18072
|
gridRef: e,
|
|
18046
18073
|
height: o.height,
|
|
@@ -18120,12 +18147,12 @@ const Nd = ({
|
|
|
18120
18147
|
limit: 0
|
|
18121
18148
|
}
|
|
18122
18149
|
),
|
|
18123
|
-
!
|
|
18150
|
+
!yw.includes(c) && /* @__PURE__ */ H("span", { children: [
|
|
18124
18151
|
"Unsupported view ",
|
|
18125
18152
|
c
|
|
18126
18153
|
] })
|
|
18127
18154
|
] });
|
|
18128
|
-
}, Fa = 30,
|
|
18155
|
+
}, Fa = 30, bw = (t) => {
|
|
18129
18156
|
var F;
|
|
18130
18157
|
const { ooui: e } = t, { mode: n, relation: r, views: o, required: i, context: a } = e;
|
|
18131
18158
|
let d;
|
|
@@ -18214,7 +18241,7 @@ const Nd = ({
|
|
|
18214
18241
|
},
|
|
18215
18242
|
...t,
|
|
18216
18243
|
children: /* @__PURE__ */ s(
|
|
18217
|
-
|
|
18244
|
+
ww,
|
|
18218
18245
|
{
|
|
18219
18246
|
ooui: e,
|
|
18220
18247
|
views: m,
|
|
@@ -18227,7 +18254,7 @@ const Nd = ({
|
|
|
18227
18254
|
)
|
|
18228
18255
|
}
|
|
18229
18256
|
) });
|
|
18230
|
-
},
|
|
18257
|
+
}, ww = (t) => {
|
|
18231
18258
|
const { ooui: e, value: n, userTreeTypePreferenceRef: r, onUserSelectTreeType: o } = t, { treeType: i, setTreeType: a } = Tc(), d = St(
|
|
18232
18259
|
wt.FEATURE_ONE2MANY_ENABLE_NEW_TABLE
|
|
18233
18260
|
);
|
|
@@ -18250,7 +18277,7 @@ const Nd = ({
|
|
|
18250
18277
|
return /* @__PURE__ */ s(ct, {});
|
|
18251
18278
|
if (d)
|
|
18252
18279
|
return /* @__PURE__ */ s(
|
|
18253
|
-
|
|
18280
|
+
uw,
|
|
18254
18281
|
{
|
|
18255
18282
|
...t,
|
|
18256
18283
|
treeType: i,
|
|
@@ -18258,14 +18285,14 @@ const Nd = ({
|
|
|
18258
18285
|
}
|
|
18259
18286
|
);
|
|
18260
18287
|
if (i === "infinite")
|
|
18261
|
-
return /* @__PURE__ */ s(
|
|
18288
|
+
return /* @__PURE__ */ s(vw, { ...t });
|
|
18262
18289
|
if (i === "legacy")
|
|
18263
|
-
return /* @__PURE__ */ s(
|
|
18264
|
-
}, { useToken:
|
|
18290
|
+
return /* @__PURE__ */ s(sw, { ...t });
|
|
18291
|
+
}, { useToken: Cw } = ot, xw = (t) => {
|
|
18265
18292
|
const { ooui: e } = t, { required: n } = e;
|
|
18266
|
-
return /* @__PURE__ */ s(tt, { required: n, type: "number", ...t, children: /* @__PURE__ */ s(
|
|
18267
|
-
},
|
|
18268
|
-
const { ooui: e, value: n, onChange: r } = t, { id: o, readOnly: i, required: a } = e, { token: d } =
|
|
18293
|
+
return /* @__PURE__ */ s(tt, { required: n, type: "number", ...t, children: /* @__PURE__ */ s(Sw, { ooui: e }) });
|
|
18294
|
+
}, Sw = (t) => {
|
|
18295
|
+
const { ooui: e, value: n, onChange: r } = t, { id: o, readOnly: i, required: a } = e, { token: d } = Cw(), c = a && !i ? { backgroundColor: d.colorPrimaryBg } : void 0, l = Q(), [f, u] = E(), m = ke(ft), { elementHasLostFocus: p } = m || {};
|
|
18269
18296
|
ye(() => {
|
|
18270
18297
|
u(bc(n));
|
|
18271
18298
|
}, [n]);
|
|
@@ -18330,7 +18357,7 @@ function Pd(t) {
|
|
|
18330
18357
|
}
|
|
18331
18358
|
);
|
|
18332
18359
|
}
|
|
18333
|
-
const { TabPane:
|
|
18360
|
+
const { TabPane: Tw } = Ga, _w = ut(Ga)`
|
|
18334
18361
|
.ant-tabs-content-holder {
|
|
18335
18362
|
border-left: 1px solid rgba(228, 228, 231, var(--tw-border-opacity));
|
|
18336
18363
|
border-right: 1px solid rgba(228, 228, 231, var(--tw-border-opacity));
|
|
@@ -18350,7 +18377,7 @@ const { TabPane: Sw } = Ga, Tw = ut(Ga)`
|
|
|
18350
18377
|
margin-bottom: 0 !important;
|
|
18351
18378
|
}
|
|
18352
18379
|
`;
|
|
18353
|
-
function
|
|
18380
|
+
function Aw(t) {
|
|
18354
18381
|
const { ooui: e, responsiveBehaviour: n } = t, r = e.pages, { token: o } = ot.useToken();
|
|
18355
18382
|
function i(a) {
|
|
18356
18383
|
if (a) {
|
|
@@ -18359,13 +18386,13 @@ function _w(t) {
|
|
|
18359
18386
|
}
|
|
18360
18387
|
}
|
|
18361
18388
|
return /* @__PURE__ */ s(
|
|
18362
|
-
|
|
18389
|
+
_w,
|
|
18363
18390
|
{
|
|
18364
18391
|
defaultActiveKey: "1",
|
|
18365
18392
|
tabPosition: e.tabPosition,
|
|
18366
18393
|
$borderRadius: `${o.borderRadius}px`,
|
|
18367
18394
|
children: r.filter((a) => !a.invisible).map((a) => /* @__PURE__ */ s(
|
|
18368
|
-
|
|
18395
|
+
Tw,
|
|
18369
18396
|
{
|
|
18370
18397
|
tab: /* @__PURE__ */ H(Oe, { children: [
|
|
18371
18398
|
i(a.icon),
|
|
@@ -18386,10 +18413,10 @@ function _w(t) {
|
|
|
18386
18413
|
}
|
|
18387
18414
|
);
|
|
18388
18415
|
}
|
|
18389
|
-
const { useToken:
|
|
18390
|
-
const { ooui: e } = t, { id: n, readOnly: r, required: o, height: i, translatable: a } = e, { token: d } =
|
|
18416
|
+
const { useToken: Iw } = ot, { TextArea: Fs } = Mt, Ew = (t) => {
|
|
18417
|
+
const { ooui: e } = t, { id: n, readOnly: r, required: o, height: i, translatable: a } = e, { token: d } = Iw(), c = o && !r ? { backgroundColor: d.colorPrimaryBg } : void 0, l = ke(ft), { elementHasLostFocus: f } = l || {};
|
|
18391
18418
|
return /* @__PURE__ */ s(tt, { required: o, ...t, children: a ? /* @__PURE__ */ s(
|
|
18392
|
-
|
|
18419
|
+
Rw,
|
|
18393
18420
|
{
|
|
18394
18421
|
field: n,
|
|
18395
18422
|
height: i,
|
|
@@ -18409,7 +18436,7 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18409
18436
|
onBlur: f
|
|
18410
18437
|
}
|
|
18411
18438
|
) });
|
|
18412
|
-
},
|
|
18439
|
+
}, Rw = ({
|
|
18413
18440
|
value: t,
|
|
18414
18441
|
field: e,
|
|
18415
18442
|
requiredStyle: n,
|
|
@@ -18499,13 +18526,13 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18499
18526
|
}
|
|
18500
18527
|
) })
|
|
18501
18528
|
] });
|
|
18502
|
-
},
|
|
18529
|
+
}, Fw = (t) => {
|
|
18503
18530
|
const { ooui: e } = t, { label: n, icon: r } = e, o = Lt(r || "");
|
|
18504
18531
|
return /* @__PURE__ */ s(Wr, { orientation: "left", className: "text-sm", children: (o || n) && /* @__PURE__ */ H(ht, { children: [
|
|
18505
18532
|
o ? /* @__PURE__ */ s(o, {}) : null,
|
|
18506
18533
|
n
|
|
18507
18534
|
] }) });
|
|
18508
|
-
},
|
|
18535
|
+
}, Ow = ({
|
|
18509
18536
|
model: t,
|
|
18510
18537
|
context: e,
|
|
18511
18538
|
selectedRegistersToExport: n,
|
|
@@ -18525,7 +18552,7 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18525
18552
|
]);
|
|
18526
18553
|
const { datas: b } = await G.getHandler().exportData({
|
|
18527
18554
|
model: t,
|
|
18528
|
-
fields:
|
|
18555
|
+
fields: Pw({
|
|
18529
18556
|
keys: y.selectedKeys,
|
|
18530
18557
|
fields: a.current
|
|
18531
18558
|
}),
|
|
@@ -18554,7 +18581,7 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18554
18581
|
fields: []
|
|
18555
18582
|
});
|
|
18556
18583
|
for (const [w, _] of Object.entries(x))
|
|
18557
|
-
x[w].string =
|
|
18584
|
+
x[w].string = Mw({
|
|
18558
18585
|
parentTitle: b.string,
|
|
18559
18586
|
title: _.string
|
|
18560
18587
|
});
|
|
@@ -18565,7 +18592,7 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18565
18592
|
},
|
|
18566
18593
|
[e]
|
|
18567
18594
|
), m = S(async () => {
|
|
18568
|
-
const y = await
|
|
18595
|
+
const y = await Nw({ model: t, context: e }), v = await $w({
|
|
18569
18596
|
predefinedExports: y,
|
|
18570
18597
|
fields: a.current,
|
|
18571
18598
|
onGetFieldChilds: u
|
|
@@ -18652,7 +18679,7 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18652
18679
|
for (const r of Object.keys(t)) {
|
|
18653
18680
|
const o = t[r], i = Ld(o), a = o.is_function === !0, d = i && !a;
|
|
18654
18681
|
n.push({
|
|
18655
|
-
key:
|
|
18682
|
+
key: Dw({ key: r, parentKey: e }),
|
|
18656
18683
|
title: o.string,
|
|
18657
18684
|
tooltip: o.help,
|
|
18658
18685
|
required: o.required,
|
|
@@ -18660,7 +18687,7 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18660
18687
|
});
|
|
18661
18688
|
}
|
|
18662
18689
|
return n;
|
|
18663
|
-
}, Ld = (t) => t.type === "many2one" || t.type === "one2many" || t.type === "many2many",
|
|
18690
|
+
}, Ld = (t) => t.type === "many2one" || t.type === "one2many" || t.type === "many2many", Dw = ({
|
|
18664
18691
|
parentKey: t,
|
|
18665
18692
|
key: e
|
|
18666
18693
|
}) => `${t ? t + "/" : ""}${e}`, Os = (t) => t.indexOf("/") === -1 ? t : t.split("/").slice(0, -1).join("/"), Ds = (t) => {
|
|
@@ -18668,10 +18695,10 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18668
18695
|
return t;
|
|
18669
18696
|
const e = t.split("/");
|
|
18670
18697
|
return e[e.length - 1];
|
|
18671
|
-
}, Ms = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[Os(t)],
|
|
18698
|
+
}, Ms = (t, e) => t.indexOf("/") === -1 ? e["/"] : e == null ? void 0 : e[Os(t)], Mw = ({
|
|
18672
18699
|
title: t,
|
|
18673
18700
|
parentTitle: e
|
|
18674
|
-
}) => `${e ? e + " → " : ""}${t}`,
|
|
18701
|
+
}) => `${e ? e + " → " : ""}${t}`, Nw = async ({
|
|
18675
18702
|
model: t,
|
|
18676
18703
|
context: e
|
|
18677
18704
|
}) => {
|
|
@@ -18691,24 +18718,24 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18691
18718
|
key: o.find((c) => c.id === a).name
|
|
18692
18719
|
}))
|
|
18693
18720
|
}));
|
|
18694
|
-
},
|
|
18721
|
+
}, kw = ({
|
|
18695
18722
|
fields: t,
|
|
18696
18723
|
keys: e
|
|
18697
|
-
}) =>
|
|
18724
|
+
}) => Lw([
|
|
18698
18725
|
...new Set(
|
|
18699
18726
|
e.filter((n) => {
|
|
18700
18727
|
var r, o;
|
|
18701
18728
|
return n.indexOf("/") === -1 ? !((r = t["/"]) != null && r[n]) : !((o = t == null ? void 0 : t[Os(n)]) != null && o[n]);
|
|
18702
18729
|
}).map((n) => Os(n))
|
|
18703
18730
|
)
|
|
18704
|
-
]),
|
|
18731
|
+
]), $w = async ({
|
|
18705
18732
|
predefinedExports: t,
|
|
18706
18733
|
fields: e,
|
|
18707
18734
|
onGetFieldChilds: n
|
|
18708
18735
|
}) => {
|
|
18709
18736
|
const r = t.flatMap(
|
|
18710
18737
|
(a) => a.fields.map((d) => d.key)
|
|
18711
|
-
), o =
|
|
18738
|
+
), o = kw({
|
|
18712
18739
|
fields: e,
|
|
18713
18740
|
keys: r
|
|
18714
18741
|
}), i = [];
|
|
@@ -18722,13 +18749,13 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18722
18749
|
);
|
|
18723
18750
|
}
|
|
18724
18751
|
return i;
|
|
18725
|
-
},
|
|
18752
|
+
}, Pw = ({
|
|
18726
18753
|
keys: t,
|
|
18727
18754
|
fields: e
|
|
18728
18755
|
}) => t.map((n) => {
|
|
18729
18756
|
const r = Ds(n), i = Ms(n, e)[r], a = Ld(i), d = i.is_function === !0;
|
|
18730
18757
|
return a && !d ? `${n}/id` : n;
|
|
18731
|
-
}),
|
|
18758
|
+
}), Lw = (t) => {
|
|
18732
18759
|
const e = /* @__PURE__ */ new Map(), n = [];
|
|
18733
18760
|
for (const r of t) {
|
|
18734
18761
|
const o = r.split("/");
|
|
@@ -18742,7 +18769,7 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18742
18769
|
const i = r.split("/").length, a = o.split("/").length;
|
|
18743
18770
|
return i - a;
|
|
18744
18771
|
}), n;
|
|
18745
|
-
},
|
|
18772
|
+
}, Vw = (t) => {
|
|
18746
18773
|
const {
|
|
18747
18774
|
visible: e,
|
|
18748
18775
|
onClose: n,
|
|
@@ -18760,7 +18787,7 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18760
18787
|
onGetPredefinedExports: p,
|
|
18761
18788
|
onSavePredefinedExport: g,
|
|
18762
18789
|
onRemovePredefinedExport: h
|
|
18763
|
-
} =
|
|
18790
|
+
} = Ow({
|
|
18764
18791
|
model: r,
|
|
18765
18792
|
context: o,
|
|
18766
18793
|
domain: d,
|
|
@@ -18784,7 +18811,7 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18784
18811
|
onRemovePredefinedExport: h
|
|
18785
18812
|
}
|
|
18786
18813
|
);
|
|
18787
|
-
},
|
|
18814
|
+
}, Bw = (t) => {
|
|
18788
18815
|
const { ooui: e, showTime: n = !1 } = t, { required: r, readOnly: o = !1, timezone: i } = e;
|
|
18789
18816
|
return St(
|
|
18790
18817
|
wt.FEATURE_DATE_USE_MASKED_INPUT
|
|
@@ -18807,16 +18834,16 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18807
18834
|
timezone: i
|
|
18808
18835
|
}
|
|
18809
18836
|
) });
|
|
18810
|
-
}, Vd = nt(
|
|
18837
|
+
}, Vd = nt(Bw), Hw = (t) => {
|
|
18811
18838
|
const { ooui: e } = t;
|
|
18812
18839
|
return /* @__PURE__ */ s(Vd, { ooui: e });
|
|
18813
|
-
}, Hw = (t) => {
|
|
18814
|
-
const { ooui: e } = t;
|
|
18815
|
-
return /* @__PURE__ */ s(Vd, { ooui: e, showTime: !0 });
|
|
18816
18840
|
}, jw = (t) => {
|
|
18817
18841
|
const { ooui: e } = t;
|
|
18818
|
-
return /* @__PURE__ */ s(
|
|
18842
|
+
return /* @__PURE__ */ s(Vd, { ooui: e, showTime: !0 });
|
|
18819
18843
|
}, Uw = (t) => {
|
|
18844
|
+
const { ooui: e } = t;
|
|
18845
|
+
return /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Ww, { ooui: e }) });
|
|
18846
|
+
}, Ww = (t) => {
|
|
18820
18847
|
const { readOnly: e, required: n } = t.ooui, r = St(
|
|
18821
18848
|
wt.FEATURE_DATE_USE_MASKED_INPUT
|
|
18822
18849
|
), o = (a) => {
|
|
@@ -18842,10 +18869,10 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18842
18869
|
disabled: e
|
|
18843
18870
|
}
|
|
18844
18871
|
);
|
|
18845
|
-
}, Ww = (t) => {
|
|
18846
|
-
const { ooui: e } = t, { required: n } = e;
|
|
18847
|
-
return /* @__PURE__ */ s(tt, { required: n, ...t, children: /* @__PURE__ */ s(zw, { ooui: e }) });
|
|
18848
18872
|
}, zw = (t) => {
|
|
18873
|
+
const { ooui: e } = t, { required: n } = e;
|
|
18874
|
+
return /* @__PURE__ */ s(tt, { required: n, ...t, children: /* @__PURE__ */ s(Yw, { ooui: e }) });
|
|
18875
|
+
}, Yw = (t) => {
|
|
18849
18876
|
const { value: e, onChange: n, ooui: r } = t, { required: o, selectionValues: i, readOnly: a, domain: d } = r, c = e == null ? void 0 : e.split(","), [l, f] = E([]), [u, m] = E();
|
|
18850
18877
|
return ye(() => {
|
|
18851
18878
|
if (!e) {
|
|
@@ -18893,11 +18920,11 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18893
18920
|
}
|
|
18894
18921
|
) })
|
|
18895
18922
|
] });
|
|
18896
|
-
}, { useToken:
|
|
18923
|
+
}, { useToken: qw } = ot, Gw = (t) => {
|
|
18897
18924
|
const { ooui: e } = t, { required: n } = e;
|
|
18898
|
-
return /* @__PURE__ */ s(tt, { required: n, ...t, children: /* @__PURE__ */ s(
|
|
18899
|
-
},
|
|
18900
|
-
const { ooui: e, value: n, onChange: r } = t, { readOnly: o, required: i, filenameField: a } = e, { token: d } =
|
|
18925
|
+
return /* @__PURE__ */ s(tt, { required: n, ...t, children: /* @__PURE__ */ s(Kw, { ooui: e }) });
|
|
18926
|
+
}, Kw = (t) => {
|
|
18927
|
+
const { ooui: e, value: n, onChange: r } = t, { readOnly: o, required: i, filenameField: a } = e, { token: d } = qw(), c = i && !o ? { backgroundColor: d.colorPrimaryBg } : void 0, l = Q(null), { setFieldValue: f, getFieldValue: u } = ke(ft) || {}, { t: m } = Me(), p = n ? Am(n) : "", g = (C) => {
|
|
18901
18928
|
r == null || r(C);
|
|
18902
18929
|
};
|
|
18903
18930
|
async function h() {
|
|
@@ -18971,7 +18998,7 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
18971
18998
|
)
|
|
18972
18999
|
] }) })
|
|
18973
19000
|
] });
|
|
18974
|
-
},
|
|
19001
|
+
}, Jw = (t) => {
|
|
18975
19002
|
const {
|
|
18976
19003
|
numberOfAttachments: e,
|
|
18977
19004
|
attachments: n = [],
|
|
@@ -19069,7 +19096,7 @@ const { useToken: Aw } = ot, { TextArea: Fs } = Mt, Iw = (t) => {
|
|
|
19069
19096
|
}
|
|
19070
19097
|
);
|
|
19071
19098
|
};
|
|
19072
|
-
function
|
|
19099
|
+
function Qw(t) {
|
|
19073
19100
|
const {
|
|
19074
19101
|
attachments: e,
|
|
19075
19102
|
disabled: n = !1,
|
|
@@ -19131,7 +19158,7 @@ function Jw(t) {
|
|
|
19131
19158
|
p();
|
|
19132
19159
|
}, []), /* @__PURE__ */ H(Oe, { children: [
|
|
19133
19160
|
/* @__PURE__ */ s(
|
|
19134
|
-
|
|
19161
|
+
Jw,
|
|
19135
19162
|
{
|
|
19136
19163
|
numberOfAttachments: e.length,
|
|
19137
19164
|
attachments: d,
|
|
@@ -19156,7 +19183,7 @@ function Jw(t) {
|
|
|
19156
19183
|
)
|
|
19157
19184
|
] });
|
|
19158
19185
|
}
|
|
19159
|
-
const
|
|
19186
|
+
const Xw = (t) => {
|
|
19160
19187
|
const { disabled: e, commentCount: n, onClick: r } = t, { t: o } = Me();
|
|
19161
19188
|
return /* @__PURE__ */ H(
|
|
19162
19189
|
Nt,
|
|
@@ -19176,7 +19203,7 @@ const Qw = (t) => {
|
|
|
19176
19203
|
]
|
|
19177
19204
|
}
|
|
19178
19205
|
);
|
|
19179
|
-
},
|
|
19206
|
+
}, Zw = nt(Xw), e0 = () => {
|
|
19180
19207
|
const {
|
|
19181
19208
|
treeType: t,
|
|
19182
19209
|
totalItems: e = 0,
|
|
@@ -19260,12 +19287,12 @@ const Qw = (t) => {
|
|
|
19260
19287
|
shouldDisableNavigation: y()
|
|
19261
19288
|
};
|
|
19262
19289
|
};
|
|
19263
|
-
function
|
|
19290
|
+
function t0({ toolbar: t }) {
|
|
19264
19291
|
const e = ke(
|
|
19265
19292
|
vn
|
|
19266
19293
|
), { t: n } = Me(), r = nn(
|
|
19267
19294
|
kt.FEATURE_COMMENTS_SYSTEM
|
|
19268
|
-
), { onNextClick: o, onPreviousClick: i, shouldDisableNavigation: a } =
|
|
19295
|
+
), { onNextClick: o, onPreviousClick: i, shouldDisableNavigation: a } = e0(), { showErrorNotification: d } = Et(), {
|
|
19269
19296
|
availableViews: c,
|
|
19270
19297
|
currentView: l,
|
|
19271
19298
|
setCurrentView: f,
|
|
@@ -19521,7 +19548,7 @@ function e0({ toolbar: t }) {
|
|
|
19521
19548
|
/* @__PURE__ */ s(Sn, { icon: /* @__PURE__ */ s(Fo, {}), ...te }),
|
|
19522
19549
|
/* @__PURE__ */ s(Sn, { icon: /* @__PURE__ */ s(Oo, {}), ...Z }),
|
|
19523
19550
|
/* @__PURE__ */ s(
|
|
19524
|
-
|
|
19551
|
+
Qw,
|
|
19525
19552
|
{
|
|
19526
19553
|
disabled: L,
|
|
19527
19554
|
attachments: D,
|
|
@@ -19531,7 +19558,7 @@ function e0({ toolbar: t }) {
|
|
|
19531
19558
|
}
|
|
19532
19559
|
),
|
|
19533
19560
|
r && /* @__PURE__ */ s(
|
|
19534
|
-
|
|
19561
|
+
Zw,
|
|
19535
19562
|
{
|
|
19536
19563
|
disabled: L || g === void 0,
|
|
19537
19564
|
commentCount: V ?? 0,
|
|
@@ -19542,7 +19569,7 @@ function e0({ toolbar: t }) {
|
|
|
19542
19569
|
/* @__PURE__ */ s(Bo, { res_id: g })
|
|
19543
19570
|
] }) : null;
|
|
19544
19571
|
}
|
|
19545
|
-
const
|
|
19572
|
+
const n0 = nt(t0), Bd = nt(
|
|
19546
19573
|
({
|
|
19547
19574
|
disabled: t,
|
|
19548
19575
|
onPreviousClick: e,
|
|
@@ -19581,8 +19608,8 @@ const Da = (t, e) => ({
|
|
|
19581
19608
|
],
|
|
19582
19609
|
values: { selection_associated_object: `${t},${e}` },
|
|
19583
19610
|
forced_values: { res_model: t, res_id: e }
|
|
19584
|
-
}), { useToken:
|
|
19585
|
-
const { ooui: e, value: n, onChange: r, valueValidator: o, linkPrefix: i = "" } = t, { id: a, readOnly: d, required: c } = e, { token: l } =
|
|
19611
|
+
}), { useToken: r0 } = ot, Hd = (t) => {
|
|
19612
|
+
const { ooui: e, value: n, onChange: r, valueValidator: o, linkPrefix: i = "" } = t, { id: a, readOnly: d, required: c } = e, { token: l } = r0(), f = c && !d ? { backgroundColor: l.colorPrimaryBg } : void 0, u = ke(ft), { elementHasLostFocus: m } = u || {}, [p, g] = E(!1), [h, y] = E(!1);
|
|
19586
19613
|
ye(() => {
|
|
19587
19614
|
d && !p && y(!1), !n && !d && (g(!0), y(!0));
|
|
19588
19615
|
}, [p, d]);
|
|
@@ -19637,7 +19664,7 @@ const Da = (t, e) => ({
|
|
|
19637
19664
|
}
|
|
19638
19665
|
) })
|
|
19639
19666
|
] });
|
|
19640
|
-
},
|
|
19667
|
+
}, o0 = (t) => {
|
|
19641
19668
|
const { ooui: e } = t, { required: n } = e;
|
|
19642
19669
|
return /* @__PURE__ */ s(tt, { required: n, ...t, children: /* @__PURE__ */ s(
|
|
19643
19670
|
Hd,
|
|
@@ -19646,7 +19673,7 @@ const Da = (t, e) => ({
|
|
|
19646
19673
|
valueValidator: (r) => r ? of(r) : !1
|
|
19647
19674
|
}
|
|
19648
19675
|
) });
|
|
19649
|
-
},
|
|
19676
|
+
}, s0 = (t) => {
|
|
19650
19677
|
const { ooui: e } = t, { required: n } = e;
|
|
19651
19678
|
return /* @__PURE__ */ s(tt, { required: n, ...t, children: e.multi ? /* @__PURE__ */ s(ph, { readonly: e.readOnly, maxLength: e.size }) : /* @__PURE__ */ s(
|
|
19652
19679
|
Hd,
|
|
@@ -19656,7 +19683,7 @@ const Da = (t, e) => ({
|
|
|
19656
19683
|
valueValidator: (r) => r ? sf(r, { allow_display_name: !0 }) : !1
|
|
19657
19684
|
}
|
|
19658
19685
|
) });
|
|
19659
|
-
},
|
|
19686
|
+
}, i0 = (t) => {
|
|
19660
19687
|
const { visible: e, onIdSubmitted: n, onCancel: r, isSearching: o } = t, { t: i } = Me(), a = Q(null), d = Q(!1);
|
|
19661
19688
|
function c(l) {
|
|
19662
19689
|
const f = l.id.split(",").map((u) => parseInt(u.trim()));
|
|
@@ -19739,7 +19766,7 @@ const Da = (t, e) => ({
|
|
|
19739
19766
|
}
|
|
19740
19767
|
);
|
|
19741
19768
|
};
|
|
19742
|
-
function
|
|
19769
|
+
function a0({ refreshGraph: t }) {
|
|
19743
19770
|
const { t: e } = Me(), {
|
|
19744
19771
|
availableViews: n,
|
|
19745
19772
|
currentView: r,
|
|
@@ -19798,10 +19825,10 @@ function i0({ refreshGraph: t }) {
|
|
|
19798
19825
|
/* @__PURE__ */ s(Bo, { searchParams: i })
|
|
19799
19826
|
] });
|
|
19800
19827
|
}
|
|
19801
|
-
const
|
|
19828
|
+
const l0 = {
|
|
19802
19829
|
height: "calc(100vh - 80px - 102px)",
|
|
19803
19830
|
overflow: "auto"
|
|
19804
|
-
},
|
|
19831
|
+
}, c0 = (t) => {
|
|
19805
19832
|
const {
|
|
19806
19833
|
viewData: e,
|
|
19807
19834
|
visible: n,
|
|
@@ -19926,14 +19953,14 @@ const a0 = {
|
|
|
19926
19953
|
const oe = f ? mi : Jn;
|
|
19927
19954
|
return /* @__PURE__ */ H(Oe, { children: [
|
|
19928
19955
|
/* @__PURE__ */ s(Qr, { title: e.title || e.name, children: /* @__PURE__ */ s(
|
|
19929
|
-
|
|
19956
|
+
a0,
|
|
19930
19957
|
{
|
|
19931
19958
|
refreshGraph: () => {
|
|
19932
19959
|
z();
|
|
19933
19960
|
}
|
|
19934
19961
|
}
|
|
19935
19962
|
) }),
|
|
19936
|
-
/* @__PURE__ */ H("div", { style:
|
|
19963
|
+
/* @__PURE__ */ H("div", { style: l0, children: [
|
|
19937
19964
|
/* @__PURE__ */ s(
|
|
19938
19965
|
zo,
|
|
19939
19966
|
{
|
|
@@ -19972,8 +19999,8 @@ const a0 = {
|
|
|
19972
19999
|
)
|
|
19973
20000
|
] })
|
|
19974
20001
|
] });
|
|
19975
|
-
},
|
|
19976
|
-
const { userName: e, style: n, ...r } = t, o = K(() =>
|
|
20002
|
+
}, d0 = (t) => t ? t.split(" ").filter((e) => e.length > 1).slice(0, 2).map((e) => e[0].toUpperCase()).join("") : "?", u0 = (t) => {
|
|
20003
|
+
const { userName: e, style: n, ...r } = t, o = K(() => d0(e), [e]), i = K(
|
|
19977
20004
|
() => xr(e || ""),
|
|
19978
20005
|
[e]
|
|
19979
20006
|
), a = K(
|
|
@@ -19984,24 +20011,24 @@ const a0 = {
|
|
|
19984
20011
|
[i, n]
|
|
19985
20012
|
);
|
|
19986
20013
|
return /* @__PURE__ */ s(_o, { ...r, style: a, "aria-label": e, children: o });
|
|
19987
|
-
}, To = nt(
|
|
20014
|
+
}, To = nt(u0), { Text: Ma } = Kt, { useToken: f0 } = ot, m0 = {
|
|
19988
20015
|
display: "flex",
|
|
19989
20016
|
alignItems: "flex-start",
|
|
19990
20017
|
justifyContent: "space-between",
|
|
19991
20018
|
gap: 12
|
|
19992
|
-
},
|
|
20019
|
+
}, p0 = {
|
|
19993
20020
|
flex: 1,
|
|
19994
20021
|
minWidth: 0
|
|
19995
|
-
},
|
|
20022
|
+
}, h0 = {
|
|
19996
20023
|
display: "flex",
|
|
19997
20024
|
alignItems: "center",
|
|
19998
20025
|
gap: 8,
|
|
19999
20026
|
marginTop: 12
|
|
20000
|
-
},
|
|
20027
|
+
}, g0 = {
|
|
20001
20028
|
fontSize: 12,
|
|
20002
20029
|
fontWeight: 600,
|
|
20003
20030
|
flexShrink: 0
|
|
20004
|
-
},
|
|
20031
|
+
}, y0 = ({
|
|
20005
20032
|
participants: t,
|
|
20006
20033
|
isParticipant: e,
|
|
20007
20034
|
isMuted: n,
|
|
@@ -20009,7 +20036,7 @@ const a0 = {
|
|
|
20009
20036
|
updating: o,
|
|
20010
20037
|
onToggleMute: i
|
|
20011
20038
|
}) => {
|
|
20012
|
-
const { token: a } =
|
|
20039
|
+
const { token: a } = f0(), { t: d } = Me(), c = K(
|
|
20013
20040
|
() => ({
|
|
20014
20041
|
padding: "12px 16px",
|
|
20015
20042
|
borderBottom: `1px solid ${a.colorBorder}`,
|
|
@@ -20039,8 +20066,8 @@ const a0 = {
|
|
|
20039
20066
|
children: /* @__PURE__ */ s(ct, { size: "small" })
|
|
20040
20067
|
}
|
|
20041
20068
|
) : /* @__PURE__ */ s(It, { children: /* @__PURE__ */ H("div", { style: c, children: [
|
|
20042
|
-
/* @__PURE__ */ H("div", { style:
|
|
20043
|
-
/* @__PURE__ */ s("div", { style:
|
|
20069
|
+
/* @__PURE__ */ H("div", { style: m0, children: [
|
|
20070
|
+
/* @__PURE__ */ s("div", { style: p0, children: /* @__PURE__ */ s(Ma, { style: l, children: u }) }),
|
|
20044
20071
|
/* @__PURE__ */ s(
|
|
20045
20072
|
Pt,
|
|
20046
20073
|
{
|
|
@@ -20058,8 +20085,8 @@ const a0 = {
|
|
|
20058
20085
|
}
|
|
20059
20086
|
)
|
|
20060
20087
|
] }),
|
|
20061
|
-
t.length > 0 && /* @__PURE__ */ H("div", { style:
|
|
20062
|
-
/* @__PURE__ */ s(Ma, { style:
|
|
20088
|
+
t.length > 0 && /* @__PURE__ */ H("div", { style: h0, children: [
|
|
20089
|
+
/* @__PURE__ */ s(Ma, { style: g0, children: d("participants") + ":" }),
|
|
20063
20090
|
/* @__PURE__ */ s(
|
|
20064
20091
|
_o.Group,
|
|
20065
20092
|
{
|
|
@@ -20070,22 +20097,22 @@ const a0 = {
|
|
|
20070
20097
|
)
|
|
20071
20098
|
] })
|
|
20072
20099
|
] }) });
|
|
20073
|
-
},
|
|
20100
|
+
}, v0 = nt(y0), { useToken: b0 } = ot, w0 = {
|
|
20074
20101
|
display: "flex",
|
|
20075
20102
|
flexDirection: "column",
|
|
20076
20103
|
alignItems: "flex-end",
|
|
20077
20104
|
marginBottom: 8
|
|
20078
|
-
},
|
|
20105
|
+
}, C0 = {
|
|
20079
20106
|
display: "flex",
|
|
20080
20107
|
alignItems: "center",
|
|
20081
20108
|
gap: 8,
|
|
20082
20109
|
justifyContent: "flex-end",
|
|
20083
20110
|
marginRight: 28
|
|
20084
|
-
}, Na = { fontSize: 12 },
|
|
20111
|
+
}, Na = { fontSize: 12 }, x0 = ({
|
|
20085
20112
|
pending: t,
|
|
20086
20113
|
onRetry: e
|
|
20087
20114
|
}) => {
|
|
20088
|
-
const { token: n } =
|
|
20115
|
+
const { token: n } = b0(), { t: r } = Me(), o = t.status === "sending", i = t.status === "failed", a = K(
|
|
20089
20116
|
() => ({
|
|
20090
20117
|
backgroundColor: i ? `${n.colorError}15` : n.colorPrimaryBg,
|
|
20091
20118
|
padding: "8px 12px",
|
|
@@ -20125,7 +20152,7 @@ const a0 = {
|
|
|
20125
20152
|
), f = S(() => {
|
|
20126
20153
|
e(t.tempId);
|
|
20127
20154
|
}, [e, t.tempId]);
|
|
20128
|
-
return /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s("div", { style:
|
|
20155
|
+
return /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s("div", { style: w0, children: /* @__PURE__ */ H("div", { style: C0, children: [
|
|
20129
20156
|
/* @__PURE__ */ H("div", { style: d, children: [
|
|
20130
20157
|
o && /* @__PURE__ */ H(Oe, { children: [
|
|
20131
20158
|
/* @__PURE__ */ s(Xt, { spin: !0, style: Na }),
|
|
@@ -20148,7 +20175,7 @@ const a0 = {
|
|
|
20148
20175
|
] }),
|
|
20149
20176
|
/* @__PURE__ */ s("div", { style: a, children: /* @__PURE__ */ s("div", { style: l, children: t.body }) })
|
|
20150
20177
|
] }) }) });
|
|
20151
|
-
},
|
|
20178
|
+
}, S0 = nt(x0), T0 = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(yi, {}) }), _0 = (t) => t.replace(/@(\p{L}[\p{L}\p{N}_]*)/gu, "**@$1**"), yi = Wt(
|
|
20152
20179
|
(t, e) => {
|
|
20153
20180
|
const {
|
|
20154
20181
|
value: n = "",
|
|
@@ -20238,17 +20265,17 @@ const a0 = {
|
|
|
20238
20265
|
remarkPlugins: [lf],
|
|
20239
20266
|
className: d,
|
|
20240
20267
|
components: g,
|
|
20241
|
-
children:
|
|
20268
|
+
children: _0(c || "")
|
|
20242
20269
|
}
|
|
20243
20270
|
) }) });
|
|
20244
20271
|
}
|
|
20245
20272
|
);
|
|
20246
20273
|
yi.displayName = "MarkdownInput";
|
|
20247
|
-
const
|
|
20274
|
+
const A0 = {
|
|
20248
20275
|
margin: 0
|
|
20249
|
-
},
|
|
20250
|
-
p: ({ children: t }) => /* @__PURE__ */ s("p", { style:
|
|
20251
|
-
},
|
|
20276
|
+
}, I0 = {
|
|
20277
|
+
p: ({ children: t }) => /* @__PURE__ */ s("p", { style: A0, children: t })
|
|
20278
|
+
}, E0 = ({
|
|
20252
20279
|
comment: t,
|
|
20253
20280
|
model: e,
|
|
20254
20281
|
resourceId: n
|
|
@@ -20262,19 +20289,19 @@ const _0 = {
|
|
|
20262
20289
|
yi,
|
|
20263
20290
|
{
|
|
20264
20291
|
value: t.body,
|
|
20265
|
-
components:
|
|
20292
|
+
components: I0,
|
|
20266
20293
|
className: ""
|
|
20267
20294
|
}
|
|
20268
20295
|
)
|
|
20269
20296
|
}
|
|
20270
|
-
) }) }), { Text: lo } = Kt, { useToken:
|
|
20297
|
+
) }) }), { Text: lo } = Kt, { useToken: R0 } = ot, F0 = {
|
|
20271
20298
|
display: "flex",
|
|
20272
20299
|
alignItems: "center",
|
|
20273
20300
|
gap: 12,
|
|
20274
20301
|
marginTop: 16,
|
|
20275
20302
|
marginBottom: 12,
|
|
20276
20303
|
width: "100%"
|
|
20277
|
-
},
|
|
20304
|
+
}, O0 = {
|
|
20278
20305
|
display: "flex",
|
|
20279
20306
|
alignItems: "center",
|
|
20280
20307
|
gap: 8
|
|
@@ -20293,7 +20320,7 @@ const _0 = {
|
|
|
20293
20320
|
skipSeparator: d = !1,
|
|
20294
20321
|
onDeleteComment: c
|
|
20295
20322
|
}) => {
|
|
20296
|
-
const { token: l } =
|
|
20323
|
+
const { token: l } = R0(), { t: f } = Me(), [u, m] = E(!1), [p, g] = E(!1), h = t["create_uid.name"], y = it(t.create_date).format(
|
|
20297
20324
|
"HH:mm · DD/MM/YYYY"
|
|
20298
20325
|
), v = it(t.create_date).format("HH:mm"), b = K(
|
|
20299
20326
|
() => ({
|
|
@@ -20406,7 +20433,7 @@ const _0 = {
|
|
|
20406
20433
|
c == null || c(t.id);
|
|
20407
20434
|
}
|
|
20408
20435
|
});
|
|
20409
|
-
}, [f, c, t.id]), $ = /* @__PURE__ */ s("div", { style:
|
|
20436
|
+
}, [f, c, t.id]), $ = /* @__PURE__ */ s("div", { style: O0, children: e ? /* @__PURE__ */ H(Oe, { children: [
|
|
20410
20437
|
/* @__PURE__ */ s(lo, { style: ka, children: h }),
|
|
20411
20438
|
/* @__PURE__ */ s(
|
|
20412
20439
|
To,
|
|
@@ -20428,7 +20455,7 @@ const _0 = {
|
|
|
20428
20455
|
/* @__PURE__ */ s(lo, { style: ka, children: h })
|
|
20429
20456
|
] }) }), j = /* @__PURE__ */ s(Pt, { title: y, children: /* @__PURE__ */ s(lo, { style: O, children: v }) });
|
|
20430
20457
|
return /* @__PURE__ */ s(It, { children: /* @__PURE__ */ H(Oe, { children: [
|
|
20431
|
-
r && o && /* @__PURE__ */ H("div", { style:
|
|
20458
|
+
r && o && /* @__PURE__ */ H("div", { style: F0, children: [
|
|
20432
20459
|
/* @__PURE__ */ s("div", { style: x }),
|
|
20433
20460
|
/* @__PURE__ */ s(lo, { style: w, children: o }),
|
|
20434
20461
|
/* @__PURE__ */ s("div", { style: x })
|
|
@@ -20458,7 +20485,7 @@ const _0 = {
|
|
|
20458
20485
|
/* @__PURE__ */ H("div", { style: A, children: [
|
|
20459
20486
|
e && j,
|
|
20460
20487
|
/* @__PURE__ */ s("div", { style: T, children: /* @__PURE__ */ s(
|
|
20461
|
-
|
|
20488
|
+
E0,
|
|
20462
20489
|
{
|
|
20463
20490
|
comment: t,
|
|
20464
20491
|
model: i,
|
|
@@ -20475,7 +20502,7 @@ const _0 = {
|
|
|
20475
20502
|
}
|
|
20476
20503
|
);
|
|
20477
20504
|
jd.displayName = "MessageBubble";
|
|
20478
|
-
const { useToken:
|
|
20505
|
+
const { useToken: D0 } = ot, M0 = {
|
|
20479
20506
|
display: "flex",
|
|
20480
20507
|
alignItems: "center",
|
|
20481
20508
|
gap: 12,
|
|
@@ -20484,7 +20511,7 @@ const { useToken: O0 } = ot, D0 = {
|
|
|
20484
20511
|
width: "100%"
|
|
20485
20512
|
}, Ud = Wt(
|
|
20486
20513
|
(t, e) => {
|
|
20487
|
-
const { label: n } = t, { token: r } =
|
|
20514
|
+
const { label: n } = t, { token: r } = D0(), o = K(
|
|
20488
20515
|
() => ({
|
|
20489
20516
|
flex: 1,
|
|
20490
20517
|
height: 2,
|
|
@@ -20505,7 +20532,7 @@ const { useToken: O0 } = ot, D0 = {
|
|
|
20505
20532
|
"div",
|
|
20506
20533
|
{
|
|
20507
20534
|
ref: e,
|
|
20508
|
-
style:
|
|
20535
|
+
style: M0,
|
|
20509
20536
|
role: "separator",
|
|
20510
20537
|
"aria-label": n,
|
|
20511
20538
|
children: [
|
|
@@ -20518,19 +20545,19 @@ const { useToken: O0 } = ot, D0 = {
|
|
|
20518
20545
|
}
|
|
20519
20546
|
);
|
|
20520
20547
|
Ud.displayName = "UnreadDivider";
|
|
20521
|
-
const
|
|
20548
|
+
const N0 = nt(Ud), { Title: k0, Text: $0 } = Kt, { useToken: P0 } = ot, L0 = (t) => t.charAt(0).toUpperCase() + t.slice(1), V0 = (t) => L0(it(t).calendar()), Ns = 450, $a = 8, B0 = { minRows: 1, maxRows: 4 }, Pa = {
|
|
20522
20549
|
display: "flex",
|
|
20523
20550
|
justifyContent: "center",
|
|
20524
20551
|
alignItems: "center",
|
|
20525
20552
|
flex: 1
|
|
20526
|
-
},
|
|
20553
|
+
}, H0 = {
|
|
20527
20554
|
display: "flex",
|
|
20528
20555
|
flexDirection: "column"
|
|
20529
|
-
},
|
|
20556
|
+
}, j0 = { margin: 0 }, U0 = {
|
|
20530
20557
|
display: "flex",
|
|
20531
20558
|
alignItems: "center",
|
|
20532
20559
|
gap: 4
|
|
20533
|
-
},
|
|
20560
|
+
}, W0 = (t) => {
|
|
20534
20561
|
const {
|
|
20535
20562
|
visible: e,
|
|
20536
20563
|
comments: n,
|
|
@@ -20552,7 +20579,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
20552
20579
|
onToggleMute: b,
|
|
20553
20580
|
lastMessageRead: C,
|
|
20554
20581
|
onMarkAsRead: x
|
|
20555
|
-
} = t, { token: w } =
|
|
20582
|
+
} = t, { token: w } = P0(), { t: _ } = Me(), [T, A] = E(""), [O, D] = E([]), [P, M] = E(e), [F, R] = E([]), [I, k] = E(!1), [$, j] = E(!1), [X, V] = E(!1), [B, N] = E(!1), [L, U] = E(!1), [z, Y] = E(!1), te = Q(null), Z = Q(null), be = Q(null), fe = Q(/* @__PURE__ */ new Map()), se = Q(null), le = Q(r), oe = Q(null), ne = n.length > 0 ? n[0].id : null, W = C !== void 0, me = K(
|
|
20556
20583
|
() => O.some((ge) => ge.status === "sending"),
|
|
20557
20584
|
[O]
|
|
20558
20585
|
), ie = K(() => {
|
|
@@ -20615,7 +20642,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
20615
20642
|
label: /* @__PURE__ */ H("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
20616
20643
|
/* @__PURE__ */ s(To, { userName: ge.name, size: 24 }),
|
|
20617
20644
|
/* @__PURE__ */ s("span", { children: ge.name }),
|
|
20618
|
-
/* @__PURE__ */ H(
|
|
20645
|
+
/* @__PURE__ */ H($0, { type: "secondary", style: { fontSize: 12 }, children: [
|
|
20619
20646
|
"@",
|
|
20620
20647
|
ge.login
|
|
20621
20648
|
] })
|
|
@@ -20739,8 +20766,8 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
20739
20766
|
style: de,
|
|
20740
20767
|
children: [
|
|
20741
20768
|
/* @__PURE__ */ s(It, { children: /* @__PURE__ */ H("div", { style: Ie, children: [
|
|
20742
|
-
/* @__PURE__ */ H("div", { style:
|
|
20743
|
-
/* @__PURE__ */ s(
|
|
20769
|
+
/* @__PURE__ */ H("div", { style: U0, children: [
|
|
20770
|
+
/* @__PURE__ */ s(k0, { level: 5, style: j0, children: _("comments") }),
|
|
20744
20771
|
/* @__PURE__ */ s(Pt, { title: _("refresh"), children: /* @__PURE__ */ s(
|
|
20745
20772
|
Ke,
|
|
20746
20773
|
{
|
|
@@ -20764,7 +20791,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
20764
20791
|
)
|
|
20765
20792
|
] }) }),
|
|
20766
20793
|
b && /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(
|
|
20767
|
-
|
|
20794
|
+
v0,
|
|
20768
20795
|
{
|
|
20769
20796
|
participants: p,
|
|
20770
20797
|
isParticipant: h,
|
|
@@ -20780,7 +20807,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
20780
20807
|
description: _("noComments"),
|
|
20781
20808
|
image: ur.PRESENTED_IMAGE_SIMPLE
|
|
20782
20809
|
}
|
|
20783
|
-
) }) : /* @__PURE__ */ H("div", { style:
|
|
20810
|
+
) }) : /* @__PURE__ */ H("div", { style: H0, children: [
|
|
20784
20811
|
[...n].reverse().map((ge, ue, ae) => {
|
|
20785
20812
|
const J = ue > 0 ? ae[ue - 1] : null, Te = !J || J.create_uid !== ge.create_uid, re = !J || !it(J.create_date).isSame(
|
|
20786
20813
|
it(ge.create_date),
|
|
@@ -20795,7 +20822,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
20795
20822
|
},
|
|
20796
20823
|
children: [
|
|
20797
20824
|
q && /* @__PURE__ */ s(
|
|
20798
|
-
|
|
20825
|
+
N0,
|
|
20799
20826
|
{
|
|
20800
20827
|
ref: Ce,
|
|
20801
20828
|
label: _("newMessages")
|
|
@@ -20808,7 +20835,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
20808
20835
|
isOwnMessage: ge.create_uid === u,
|
|
20809
20836
|
isFirstInGroup: Te || re,
|
|
20810
20837
|
isFirstOfDay: re,
|
|
20811
|
-
dayLabel: re ?
|
|
20838
|
+
dayLabel: re ? V0(ge.create_date) : void 0,
|
|
20812
20839
|
model: o,
|
|
20813
20840
|
resourceId: i,
|
|
20814
20841
|
skipSeparator: q,
|
|
@@ -20821,7 +20848,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
20821
20848
|
);
|
|
20822
20849
|
}),
|
|
20823
20850
|
O.map((ge) => /* @__PURE__ */ s(
|
|
20824
|
-
|
|
20851
|
+
S0,
|
|
20825
20852
|
{
|
|
20826
20853
|
pending: ge,
|
|
20827
20854
|
onRetry: Re
|
|
@@ -20850,7 +20877,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
20850
20877
|
filterOption: !1,
|
|
20851
20878
|
notFoundContent: I ? /* @__PURE__ */ s(ct, { size: "small" }) : _("noMatches"),
|
|
20852
20879
|
placeholder: _("writeComment"),
|
|
20853
|
-
autoSize:
|
|
20880
|
+
autoSize: B0,
|
|
20854
20881
|
style: { flex: 1 }
|
|
20855
20882
|
}
|
|
20856
20883
|
),
|
|
@@ -20870,7 +20897,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
20870
20897
|
]
|
|
20871
20898
|
}
|
|
20872
20899
|
) }) : null;
|
|
20873
|
-
},
|
|
20900
|
+
}, z0 = nt(W0), Y0 = (t) => {
|
|
20874
20901
|
const { model: e, resourceId: n, context: r } = t, [o, i] = E([]), [a, d] = E([]), [c, l] = E(null), [f, u] = E(!1), [m, p] = $e(
|
|
20875
20902
|
G.getHandler().rawExecute
|
|
20876
20903
|
), g = Q(n), h = S(() => {
|
|
@@ -20971,7 +20998,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
20971
20998
|
cancelRequest: p,
|
|
20972
20999
|
commentCount: o.length
|
|
20973
21000
|
};
|
|
20974
|
-
},
|
|
21001
|
+
}, q0 = (t) => {
|
|
20975
21002
|
const { model: e, resourceId: n, userStatus: r, context: o } = t, [i, a] = E(!1), [d, c] = E(null), [l, f] = $e(
|
|
20976
21003
|
G.getHandler().rawExecute
|
|
20977
21004
|
), u = (r == null ? void 0 : r.is_participant) ?? !1, m = (r == null ? void 0 : r.is_muted) ?? !1, p = (d == null ? void 0 : d.isParticipant) ?? u, g = (d == null ? void 0 : d.isMuted) ?? m;
|
|
@@ -21014,7 +21041,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
21014
21041
|
toggleMute: h,
|
|
21015
21042
|
cancelRequest: f
|
|
21016
21043
|
};
|
|
21017
|
-
}, { useToken:
|
|
21044
|
+
}, { useToken: G0 } = ot, K0 = (t) => {
|
|
21018
21045
|
const {
|
|
21019
21046
|
visible: e,
|
|
21020
21047
|
formRef: n,
|
|
@@ -21035,7 +21062,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
21035
21062
|
setCommentCount: y,
|
|
21036
21063
|
setRefreshComments: v,
|
|
21037
21064
|
permissions: b
|
|
21038
|
-
} = zt(), { globalValues: C } = rn(), { token: x } =
|
|
21065
|
+
} = zt(), { globalValues: C } = rn(), { token: x } = G0(), w = nn(
|
|
21039
21066
|
kt.FEATURE_COMMENTS_SYSTEM
|
|
21040
21067
|
), {
|
|
21041
21068
|
comments: _,
|
|
@@ -21047,7 +21074,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
21047
21074
|
deleteComment: M,
|
|
21048
21075
|
fetchMentionUsers: F,
|
|
21049
21076
|
markAsRead: R
|
|
21050
|
-
} =
|
|
21077
|
+
} = Y0({
|
|
21051
21078
|
model: r,
|
|
21052
21079
|
resourceId: o,
|
|
21053
21080
|
context: d
|
|
@@ -21056,7 +21083,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
21056
21083
|
isMuted: k,
|
|
21057
21084
|
updating: $,
|
|
21058
21085
|
toggleMute: j
|
|
21059
|
-
} =
|
|
21086
|
+
} = q0({
|
|
21060
21087
|
model: r,
|
|
21061
21088
|
resourceId: o,
|
|
21062
21089
|
userStatus: A,
|
|
@@ -21125,7 +21152,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
21125
21152
|
]
|
|
21126
21153
|
);
|
|
21127
21154
|
return e ? /* @__PURE__ */ H("div", { style: N, children: [
|
|
21128
|
-
/* @__PURE__ */ s(Qr, { children: /* @__PURE__ */ s(
|
|
21155
|
+
/* @__PURE__ */ s(Qr, { children: /* @__PURE__ */ s(n0, { toolbar: a == null ? void 0 : a.toolbar }) }),
|
|
21129
21156
|
/* @__PURE__ */ H("div", { style: L, children: [
|
|
21130
21157
|
/* @__PURE__ */ s("div", { style: U, children: /* @__PURE__ */ s(
|
|
21131
21158
|
Ir,
|
|
@@ -21144,7 +21171,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
21144
21171
|
}
|
|
21145
21172
|
) }),
|
|
21146
21173
|
w && o !== void 0 && /* @__PURE__ */ s(
|
|
21147
|
-
|
|
21174
|
+
z0,
|
|
21148
21175
|
{
|
|
21149
21176
|
visible: g ?? !1,
|
|
21150
21177
|
comments: _,
|
|
@@ -21170,7 +21197,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
21170
21197
|
)
|
|
21171
21198
|
] })
|
|
21172
21199
|
] }) : null;
|
|
21173
|
-
}, vi = dn.createContext(null),
|
|
21200
|
+
}, vi = dn.createContext(null), J0 = (t) => {
|
|
21174
21201
|
const [e, n] = E(!1), [r, o] = E(!1), { children: i, dashboardRef: a, openAction: d } = t;
|
|
21175
21202
|
return /* @__PURE__ */ s(
|
|
21176
21203
|
vi.Provider,
|
|
@@ -21187,7 +21214,7 @@ const M0 = nt(Ud), { Title: N0, Text: k0 } = Kt, { useToken: $0 } = ot, P0 = (t)
|
|
|
21187
21214
|
}
|
|
21188
21215
|
);
|
|
21189
21216
|
};
|
|
21190
|
-
function
|
|
21217
|
+
function Q0() {
|
|
21191
21218
|
const { isLoading: t, dashboardRef: e, moveItemsEnabled: n, setMoveItemsEnabled: r } = ke(vi), { permissions: o } = zt(), { t: i } = Me();
|
|
21192
21219
|
return /* @__PURE__ */ H(ht, { wrap: !0, children: [
|
|
21193
21220
|
(o == null ? void 0 : o.write) && /* @__PURE__ */ s(
|
|
@@ -21237,24 +21264,24 @@ function J0() {
|
|
|
21237
21264
|
/* @__PURE__ */ s(Bo, {})
|
|
21238
21265
|
] });
|
|
21239
21266
|
}
|
|
21240
|
-
const
|
|
21267
|
+
const X0 = {
|
|
21241
21268
|
height: "calc(100vh - 80px - 102px)",
|
|
21242
21269
|
overflow: "auto"
|
|
21243
|
-
},
|
|
21270
|
+
}, Z0 = (t) => {
|
|
21244
21271
|
const { dashboardData: e, visible: n } = t, r = Q(), o = ke(
|
|
21245
21272
|
vn
|
|
21246
21273
|
), { openShortcut: i } = o || {};
|
|
21247
21274
|
return !e || !n ? null : /* @__PURE__ */ H(
|
|
21248
|
-
|
|
21275
|
+
J0,
|
|
21249
21276
|
{
|
|
21250
21277
|
dashboardRef: r,
|
|
21251
21278
|
openAction: (a) => {
|
|
21252
21279
|
i(a);
|
|
21253
21280
|
},
|
|
21254
21281
|
children: [
|
|
21255
|
-
/* @__PURE__ */ s(Qr, { children: /* @__PURE__ */ s(
|
|
21256
|
-
/* @__PURE__ */ s("div", { style:
|
|
21257
|
-
|
|
21282
|
+
/* @__PURE__ */ s(Qr, { children: /* @__PURE__ */ s(Q0, {}) }),
|
|
21283
|
+
/* @__PURE__ */ s("div", { style: X0, children: /* @__PURE__ */ s(
|
|
21284
|
+
jC,
|
|
21258
21285
|
{
|
|
21259
21286
|
ref: r,
|
|
21260
21287
|
model: e.model,
|
|
@@ -21297,7 +21324,7 @@ function Wd({
|
|
|
21297
21324
|
[a, t, e, n, r, o]
|
|
21298
21325
|
) };
|
|
21299
21326
|
}
|
|
21300
|
-
const
|
|
21327
|
+
const eC = ({
|
|
21301
21328
|
value: t,
|
|
21302
21329
|
decimalDigits: e
|
|
21303
21330
|
}) => {
|
|
@@ -21307,7 +21334,7 @@ const Z0 = ({
|
|
|
21307
21334
|
decimalDigits: e
|
|
21308
21335
|
});
|
|
21309
21336
|
return /* @__PURE__ */ s(Oe, { children: n(t) });
|
|
21310
|
-
},
|
|
21337
|
+
}, tC = ({
|
|
21311
21338
|
value: t
|
|
21312
21339
|
}) => {
|
|
21313
21340
|
const e = Tr({
|
|
@@ -21316,31 +21343,31 @@ const Z0 = ({
|
|
|
21316
21343
|
localized: !0
|
|
21317
21344
|
});
|
|
21318
21345
|
return /* @__PURE__ */ s(Oe, { children: e(t) });
|
|
21319
|
-
},
|
|
21346
|
+
}, nC = ({
|
|
21320
21347
|
value: t,
|
|
21321
21348
|
ooui: e
|
|
21322
21349
|
}) => {
|
|
21323
21350
|
var r;
|
|
21324
21351
|
const n = ((r = e == null ? void 0 : e.parsedWidgetProps) == null ? void 0 : r.localized) ?? !1;
|
|
21325
21352
|
return K(
|
|
21326
|
-
() => /* @__PURE__ */ s("div", { style: { display: "inline-block" }, children: n ? /* @__PURE__ */ s(
|
|
21353
|
+
() => /* @__PURE__ */ s("div", { style: { display: "inline-block" }, children: n ? /* @__PURE__ */ s(eC, { value: t, decimalDigits: e == null ? void 0 : e.decimalDigits }) : t }),
|
|
21327
21354
|
[n, t, e == null ? void 0 : e.decimalDigits]
|
|
21328
21355
|
);
|
|
21329
|
-
},
|
|
21356
|
+
}, rC = ({
|
|
21330
21357
|
value: t,
|
|
21331
21358
|
ooui: e
|
|
21332
21359
|
}) => {
|
|
21333
21360
|
var r;
|
|
21334
21361
|
const n = ((r = e == null ? void 0 : e.parsedWidgetProps) == null ? void 0 : r.localized) ?? !1;
|
|
21335
21362
|
return K(
|
|
21336
|
-
() => /* @__PURE__ */ s("div", { style: { display: "inline-block" }, children: n ? /* @__PURE__ */ s(
|
|
21363
|
+
() => /* @__PURE__ */ s("div", { style: { display: "inline-block" }, children: n ? /* @__PURE__ */ s(tC, { value: t }) : t }),
|
|
21337
21364
|
[n, t]
|
|
21338
21365
|
);
|
|
21339
21366
|
}, ps = {
|
|
21340
21367
|
...Ho,
|
|
21341
|
-
integer:
|
|
21342
|
-
float:
|
|
21343
|
-
},
|
|
21368
|
+
integer: rC,
|
|
21369
|
+
float: nC
|
|
21370
|
+
}, oC = ut(Yr)`
|
|
21344
21371
|
position: relative;
|
|
21345
21372
|
background-color: ${(t) => t.$isSelected && t.$selectedBgColor ? t.$selectedBgColor : t.$bgColor};
|
|
21346
21373
|
border: 1px solid ${(t) => t.$borderColor};
|
|
@@ -21367,7 +21394,7 @@ const Z0 = ({
|
|
|
21367
21394
|
&:hover {
|
|
21368
21395
|
outline: ${(t) => t.$isDraggingActive ? "none" : `3px solid ${t.$color || t.$primaryColor}`};
|
|
21369
21396
|
}
|
|
21370
|
-
`,
|
|
21397
|
+
`, sC = ut.div`
|
|
21371
21398
|
position: absolute;
|
|
21372
21399
|
left: 0;
|
|
21373
21400
|
top: 0;
|
|
@@ -21375,7 +21402,7 @@ const Z0 = ({
|
|
|
21375
21402
|
width: 5px;
|
|
21376
21403
|
background-color: ${(t) => t.$color};
|
|
21377
21404
|
border-radius: 7px 0 0 7px;
|
|
21378
|
-
`,
|
|
21405
|
+
`, iC = ut.div`
|
|
21379
21406
|
position: absolute;
|
|
21380
21407
|
right: 8px;
|
|
21381
21408
|
top: 8px;
|
|
@@ -21383,7 +21410,7 @@ const Z0 = ({
|
|
|
21383
21410
|
height: 10px;
|
|
21384
21411
|
border-radius: 50%;
|
|
21385
21412
|
background-color: ${(t) => t.$color};
|
|
21386
|
-
`,
|
|
21413
|
+
`, aC = ut.div`
|
|
21387
21414
|
position: absolute;
|
|
21388
21415
|
left: 0;
|
|
21389
21416
|
right: 0;
|
|
@@ -21394,7 +21421,7 @@ const Z0 = ({
|
|
|
21394
21421
|
transition: opacity 0.15s ease;
|
|
21395
21422
|
z-index: 10;
|
|
21396
21423
|
${(t) => t.$position === "above" ? "top: -5.5px;" : "bottom: -5.5px;"}
|
|
21397
|
-
`, { Text: La, Link: Va } = Kt, { useToken:
|
|
21424
|
+
`, { Text: La, Link: Va } = Kt, { useToken: lC } = ot, cC = (t) => {
|
|
21398
21425
|
const {
|
|
21399
21426
|
record: e,
|
|
21400
21427
|
kanbanDef: n,
|
|
@@ -21412,7 +21439,7 @@ const Z0 = ({
|
|
|
21412
21439
|
isSelected: g = !1,
|
|
21413
21440
|
activeId: h = null,
|
|
21414
21441
|
dropPosition: y = null
|
|
21415
|
-
} = t, { token: v } =
|
|
21442
|
+
} = t, { token: v } = lC(), [b, C] = E(null), { showErrorNotification: x } = Et(), [w, _] = $e(
|
|
21416
21443
|
G.getHandler().execute
|
|
21417
21444
|
);
|
|
21418
21445
|
ye(() => () => {
|
|
@@ -21552,9 +21579,9 @@ const Z0 = ({
|
|
|
21552
21579
|
...O,
|
|
21553
21580
|
...D,
|
|
21554
21581
|
children: [
|
|
21555
|
-
B && /* @__PURE__ */ s(
|
|
21582
|
+
B && /* @__PURE__ */ s(aC, { $color: v.colorPrimary, $position: y }),
|
|
21556
21583
|
/* @__PURE__ */ H(
|
|
21557
|
-
|
|
21584
|
+
oC,
|
|
21558
21585
|
{
|
|
21559
21586
|
size: "small",
|
|
21560
21587
|
onClick: V,
|
|
@@ -21574,8 +21601,8 @@ const Z0 = ({
|
|
|
21574
21601
|
}
|
|
21575
21602
|
},
|
|
21576
21603
|
children: [
|
|
21577
|
-
i && /* @__PURE__ */ s(
|
|
21578
|
-
a && /* @__PURE__ */ s(
|
|
21604
|
+
i && /* @__PURE__ */ s(sC, { $color: i }),
|
|
21605
|
+
a && /* @__PURE__ */ s(iC, { $color: a }),
|
|
21579
21606
|
/* @__PURE__ */ H(It, { children: [
|
|
21580
21607
|
/* @__PURE__ */ s("div", { style: { marginBottom: "8px" }, children: k.map(
|
|
21581
21608
|
(N, L) => $(N, L === 0)
|
|
@@ -21600,7 +21627,7 @@ const Z0 = ({
|
|
|
21600
21627
|
]
|
|
21601
21628
|
}
|
|
21602
21629
|
);
|
|
21603
|
-
}, zd = nt(
|
|
21630
|
+
}, zd = nt(cC), dC = (t) => {
|
|
21604
21631
|
const {
|
|
21605
21632
|
model: e,
|
|
21606
21633
|
domain: n,
|
|
@@ -21770,7 +21797,7 @@ const Z0 = ({
|
|
|
21770
21797
|
refresh: Y,
|
|
21771
21798
|
fetchNextPage: te
|
|
21772
21799
|
};
|
|
21773
|
-
}, { Text:
|
|
21800
|
+
}, { Text: uC } = Kt, fC = (t) => {
|
|
21774
21801
|
const { visible: e, initialLimit: n, onSave: r, onCancel: o } = t, { t: i } = Me(), [a, d] = E(n);
|
|
21775
21802
|
ye(() => {
|
|
21776
21803
|
d(n);
|
|
@@ -21824,13 +21851,13 @@ const Z0 = ({
|
|
|
21824
21851
|
autoFocus: !0
|
|
21825
21852
|
}
|
|
21826
21853
|
),
|
|
21827
|
-
/* @__PURE__ */ s(
|
|
21854
|
+
/* @__PURE__ */ s(uC, { type: "secondary", style: { marginTop: 8, display: "block" }, children: i("column_limit_description") })
|
|
21828
21855
|
] }) })
|
|
21829
21856
|
}
|
|
21830
21857
|
);
|
|
21831
|
-
}, { Text: co } = Kt, { useToken:
|
|
21858
|
+
}, { Text: co } = Kt, { useToken: mC } = ot, pC = _n("IconListNumbers"), hC = _n("IconExternalLink"), gC = _n("IconArrowLeft"), yC = _n("IconArrowRight"), vC = _n("IconArrowBarToLeft"), bC = _n(
|
|
21832
21859
|
"IconArrowBarToRight"
|
|
21833
|
-
),
|
|
21860
|
+
), wC = _n("IconChecks"), CC = (t, e) => {
|
|
21834
21861
|
const {
|
|
21835
21862
|
column: n,
|
|
21836
21863
|
model: r,
|
|
@@ -21866,7 +21893,7 @@ const Z0 = ({
|
|
|
21866
21893
|
id: k,
|
|
21867
21894
|
label: $,
|
|
21868
21895
|
originalValue: j
|
|
21869
|
-
} = n, { t: X } = Me(), { token: V } =
|
|
21896
|
+
} = n, { t: X } = Me(), { token: V } = mC(), [B, N] = E(!1), {
|
|
21870
21897
|
records: L,
|
|
21871
21898
|
count: U,
|
|
21872
21899
|
aggregates: z,
|
|
@@ -21879,7 +21906,7 @@ const Z0 = ({
|
|
|
21879
21906
|
hasMore: le,
|
|
21880
21907
|
refresh: oe,
|
|
21881
21908
|
fetchNextPage: ne
|
|
21882
|
-
} =
|
|
21909
|
+
} = dC({
|
|
21883
21910
|
model: r,
|
|
21884
21911
|
domain: o,
|
|
21885
21912
|
context: i,
|
|
@@ -21919,18 +21946,18 @@ const Z0 = ({
|
|
|
21919
21946
|
{
|
|
21920
21947
|
key: "openInNewTab",
|
|
21921
21948
|
label: X("open_column_in_new_tab"),
|
|
21922
|
-
icon: /* @__PURE__ */ s(
|
|
21949
|
+
icon: /* @__PURE__ */ s(hC, { size: 16 })
|
|
21923
21950
|
},
|
|
21924
21951
|
{
|
|
21925
21952
|
key: "setLimit",
|
|
21926
21953
|
label: X("set_limit"),
|
|
21927
|
-
icon: /* @__PURE__ */ s(
|
|
21954
|
+
icon: /* @__PURE__ */ s(pC, { size: 16 }),
|
|
21928
21955
|
disabled: !f
|
|
21929
21956
|
},
|
|
21930
21957
|
{
|
|
21931
21958
|
key: "selectAllCards",
|
|
21932
21959
|
label: X("select_all_cards"),
|
|
21933
|
-
icon: /* @__PURE__ */ s(
|
|
21960
|
+
icon: /* @__PURE__ */ s(wC, { size: 16 }),
|
|
21934
21961
|
disabled: L.length === 0
|
|
21935
21962
|
}
|
|
21936
21963
|
]
|
|
@@ -21942,19 +21969,19 @@ const Z0 = ({
|
|
|
21942
21969
|
{
|
|
21943
21970
|
key: "moveLeft",
|
|
21944
21971
|
label: X("move_left"),
|
|
21945
|
-
icon: /* @__PURE__ */ s(
|
|
21972
|
+
icon: /* @__PURE__ */ s(gC, { size: 16 }),
|
|
21946
21973
|
disabled: D
|
|
21947
21974
|
},
|
|
21948
21975
|
{
|
|
21949
21976
|
key: "moveRight",
|
|
21950
21977
|
label: X("move_right"),
|
|
21951
|
-
icon: /* @__PURE__ */ s(
|
|
21978
|
+
icon: /* @__PURE__ */ s(yC, { size: 16 }),
|
|
21952
21979
|
disabled: P
|
|
21953
21980
|
},
|
|
21954
21981
|
{
|
|
21955
21982
|
key: "moveBefore",
|
|
21956
21983
|
label: X("move_before"),
|
|
21957
|
-
icon: /* @__PURE__ */ s(
|
|
21984
|
+
icon: /* @__PURE__ */ s(vC, { size: 16 }),
|
|
21958
21985
|
disabled: ve.length === 0,
|
|
21959
21986
|
children: ve.map((ue) => ({
|
|
21960
21987
|
key: `moveBefore_${ue.id}`,
|
|
@@ -21964,7 +21991,7 @@ const Z0 = ({
|
|
|
21964
21991
|
{
|
|
21965
21992
|
key: "moveAfter",
|
|
21966
21993
|
label: X("move_after"),
|
|
21967
|
-
icon: /* @__PURE__ */ s(
|
|
21994
|
+
icon: /* @__PURE__ */ s(bC, { size: 16 }),
|
|
21968
21995
|
disabled: ve.length === 0,
|
|
21969
21996
|
children: ve.map((ue) => ({
|
|
21970
21997
|
key: `moveAfter_${ue.id}`,
|
|
@@ -22289,7 +22316,7 @@ const Z0 = ({
|
|
|
22289
22316
|
}
|
|
22290
22317
|
),
|
|
22291
22318
|
/* @__PURE__ */ s(
|
|
22292
|
-
|
|
22319
|
+
fC,
|
|
22293
22320
|
{
|
|
22294
22321
|
visible: B,
|
|
22295
22322
|
initialLimit: u,
|
|
@@ -22300,8 +22327,8 @@ const Z0 = ({
|
|
|
22300
22327
|
]
|
|
22301
22328
|
}
|
|
22302
22329
|
);
|
|
22303
|
-
},
|
|
22304
|
-
Wt(
|
|
22330
|
+
}, xC = nt(
|
|
22331
|
+
Wt(CC)
|
|
22305
22332
|
), Hn = (t, e, n) => {
|
|
22306
22333
|
if (t == null && (e == null ? void 0 : e.type) !== "boolean")
|
|
22307
22334
|
return null;
|
|
@@ -22363,7 +22390,7 @@ const Z0 = ({
|
|
|
22363
22390
|
};
|
|
22364
22391
|
}
|
|
22365
22392
|
}
|
|
22366
|
-
},
|
|
22393
|
+
}, SC = (t, e) => {
|
|
22367
22394
|
const [n, r] = $e(
|
|
22368
22395
|
G.getHandler().rawExecute
|
|
22369
22396
|
), [o, i] = $e(
|
|
@@ -22387,7 +22414,7 @@ const Z0 = ({
|
|
|
22387
22414
|
[a, o]
|
|
22388
22415
|
);
|
|
22389
22416
|
return { getColumnPrefs: d, saveColumnPrefs: c };
|
|
22390
|
-
},
|
|
22417
|
+
}, TC = (t) => {
|
|
22391
22418
|
const e = bf(t);
|
|
22392
22419
|
if (e.length > 0)
|
|
22393
22420
|
return e;
|
|
@@ -22396,7 +22423,7 @@ const Z0 = ({
|
|
|
22396
22423
|
id: o.id,
|
|
22397
22424
|
data: o.data
|
|
22398
22425
|
}));
|
|
22399
|
-
},
|
|
22426
|
+
}, _C = (t, e) => {
|
|
22400
22427
|
var Te, re;
|
|
22401
22428
|
const {
|
|
22402
22429
|
columns: n,
|
|
@@ -22422,7 +22449,7 @@ const Z0 = ({
|
|
|
22422
22449
|
onSelectAllInColumn: _
|
|
22423
22450
|
} = t, { t: T } = Me(), { showErrorNotification: A } = Et(), [O, D] = E(null), [P, M] = E(null), [F, R] = E({}), [I, k] = E(null), [$, j] = E(
|
|
22424
22451
|
null
|
|
22425
|
-
), X = Q({}), V = Q({}), B = Q({}), N = Q({}), L = Q({}), U = Q({}), [z, Y] = E([]), te = Q(!1), { getColumnPrefs: Z, saveColumnPrefs: be } =
|
|
22452
|
+
), X = Q({}), V = Q({}), B = Q({}), N = Q({}), L = Q({}), U = Q({}), [z, Y] = E([]), te = Q(!1), { getColumnPrefs: Z, saveColumnPrefs: be } = SC(
|
|
22426
22453
|
o,
|
|
22427
22454
|
r
|
|
22428
22455
|
);
|
|
@@ -22823,7 +22850,7 @@ const Z0 = ({
|
|
|
22823
22850
|
yf,
|
|
22824
22851
|
{
|
|
22825
22852
|
sensors: me,
|
|
22826
|
-
collisionDetection:
|
|
22853
|
+
collisionDetection: TC,
|
|
22827
22854
|
onDragStart: ie,
|
|
22828
22855
|
onDragOver: de,
|
|
22829
22856
|
onDragEnd: Ve,
|
|
@@ -22840,7 +22867,7 @@ const Z0 = ({
|
|
|
22840
22867
|
height: "100%"
|
|
22841
22868
|
},
|
|
22842
22869
|
children: fe.map((q, ee) => /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(
|
|
22843
|
-
|
|
22870
|
+
xC,
|
|
22844
22871
|
{
|
|
22845
22872
|
ref: Ee[q.id],
|
|
22846
22873
|
kanbanDef: f,
|
|
@@ -22902,9 +22929,9 @@ const Z0 = ({
|
|
|
22902
22929
|
]
|
|
22903
22930
|
}
|
|
22904
22931
|
);
|
|
22905
|
-
},
|
|
22906
|
-
Wt(
|
|
22907
|
-
),
|
|
22932
|
+
}, AC = nt(
|
|
22933
|
+
Wt(_C)
|
|
22934
|
+
), IC = (t) => {
|
|
22908
22935
|
const {
|
|
22909
22936
|
model: e,
|
|
22910
22937
|
domain: n,
|
|
@@ -23045,7 +23072,7 @@ const Z0 = ({
|
|
|
23045
23072
|
error: g,
|
|
23046
23073
|
refresh: A
|
|
23047
23074
|
};
|
|
23048
|
-
},
|
|
23075
|
+
}, EC = (t, e) => {
|
|
23049
23076
|
const {
|
|
23050
23077
|
kanbanView: n,
|
|
23051
23078
|
model: r,
|
|
@@ -23084,7 +23111,7 @@ const Z0 = ({
|
|
|
23084
23111
|
columns: D,
|
|
23085
23112
|
isLoading: P,
|
|
23086
23113
|
error: M
|
|
23087
|
-
} =
|
|
23114
|
+
} = IC({
|
|
23088
23115
|
model: r,
|
|
23089
23116
|
domain: o,
|
|
23090
23117
|
context: i,
|
|
@@ -23162,7 +23189,7 @@ const Z0 = ({
|
|
|
23162
23189
|
showIcon: !0
|
|
23163
23190
|
}
|
|
23164
23191
|
) : !x || P && D.length === 0 ? /* @__PURE__ */ s(ct, { size: "large" }) : /* @__PURE__ */ s(It, { children: /* @__PURE__ */ s(
|
|
23165
|
-
|
|
23192
|
+
AC,
|
|
23166
23193
|
{
|
|
23167
23194
|
ref: R,
|
|
23168
23195
|
kanbanDef: x,
|
|
@@ -23215,9 +23242,9 @@ const Z0 = ({
|
|
|
23215
23242
|
C
|
|
23216
23243
|
]);
|
|
23217
23244
|
return /* @__PURE__ */ s(Oe, { children: V });
|
|
23218
|
-
},
|
|
23219
|
-
Wt(
|
|
23220
|
-
),
|
|
23245
|
+
}, RC = nt(
|
|
23246
|
+
Wt(EC)
|
|
23247
|
+
), FC = ({
|
|
23221
23248
|
selectedItems: t,
|
|
23222
23249
|
setSelectedItems: e,
|
|
23223
23250
|
getOrderedIds: n
|
|
@@ -23240,7 +23267,7 @@ const Z0 = ({
|
|
|
23240
23267
|
e([]), r.current = null;
|
|
23241
23268
|
}, [e]);
|
|
23242
23269
|
return { handleSelect: o, clearSelection: i };
|
|
23243
|
-
},
|
|
23270
|
+
}, OC = 10, DC = (t) => {
|
|
23244
23271
|
const {
|
|
23245
23272
|
visible: e,
|
|
23246
23273
|
kanbanView: n,
|
|
@@ -23262,7 +23289,7 @@ const Z0 = ({
|
|
|
23262
23289
|
setSearchTreeNameSearch: w
|
|
23263
23290
|
} = li({ useLocalState: !1 }), [_, T] = E(!1), [A, O] = E(), [D, P] = E(null), [M, F] = E(null), R = d, I = Q(null), k = Q(null), $ = Q(null), j = Q({}), X = Js({
|
|
23264
23291
|
elementRef: I,
|
|
23265
|
-
offset:
|
|
23292
|
+
offset: OC,
|
|
23266
23293
|
dependencies: [$.current],
|
|
23267
23294
|
observedRefs: [k, $]
|
|
23268
23295
|
}), V = K(
|
|
@@ -23306,7 +23333,7 @@ const Z0 = ({
|
|
|
23306
23333
|
if (Ve.includes(Re))
|
|
23307
23334
|
return Ve;
|
|
23308
23335
|
return null;
|
|
23309
|
-
}, []), { handleSelect: Y, clearSelection: te } =
|
|
23336
|
+
}, []), { handleSelect: Y, clearSelection: te } = FC({
|
|
23310
23337
|
selectedItems: g || [],
|
|
23311
23338
|
setSelectedItems: h || (() => {
|
|
23312
23339
|
}),
|
|
@@ -23506,7 +23533,7 @@ const Z0 = ({
|
|
|
23506
23533
|
style: V,
|
|
23507
23534
|
onClick: be,
|
|
23508
23535
|
children: /* @__PURE__ */ s(
|
|
23509
|
-
|
|
23536
|
+
RC,
|
|
23510
23537
|
{
|
|
23511
23538
|
ref: R,
|
|
23512
23539
|
kanbanView: n,
|
|
@@ -23543,8 +23570,8 @@ const Z0 = ({
|
|
|
23543
23570
|
}
|
|
23544
23571
|
)
|
|
23545
23572
|
] }) : null;
|
|
23546
|
-
},
|
|
23547
|
-
async function
|
|
23573
|
+
}, MC = nt(DC);
|
|
23574
|
+
async function NC(t) {
|
|
23548
23575
|
const e = await Promise.all(
|
|
23549
23576
|
t.map(async (r) => {
|
|
23550
23577
|
try {
|
|
@@ -23559,7 +23586,7 @@ async function MC(t) {
|
|
|
23559
23586
|
info: e[o]
|
|
23560
23587
|
})).filter((r) => r.info !== null);
|
|
23561
23588
|
}
|
|
23562
|
-
function
|
|
23589
|
+
function kC({
|
|
23563
23590
|
currentTab: t
|
|
23564
23591
|
}) {
|
|
23565
23592
|
const { currentView: e, searchParams: n, currentId: r, limit: o, currentPage: i, order: a } = zt(), { currentTab: d } = Kn(), c = t || d;
|
|
@@ -23580,8 +23607,8 @@ function NC({
|
|
|
23580
23607
|
let g = !!f;
|
|
23581
23608
|
return p === "form" && (g = !!f && !!r), { shareUrl: m, canShare: g };
|
|
23582
23609
|
}
|
|
23583
|
-
const
|
|
23584
|
-
const { currentTab: t } = Kn(), { title: e } = rn(), { shareUrl: n } =
|
|
23610
|
+
const $C = () => {
|
|
23611
|
+
const { currentTab: t } = Kn(), { title: e } = rn(), { shareUrl: n } = kC({ currentTab: t });
|
|
23585
23612
|
ye(() => {
|
|
23586
23613
|
if (n) {
|
|
23587
23614
|
const r = new URL(n, window.location.origin);
|
|
@@ -23591,7 +23618,7 @@ const kC = () => {
|
|
|
23591
23618
|
document.title = e, t != null && t.title && t.title.length > 0 && (document.title = (t == null ? void 0 : t.title) + " - " + e);
|
|
23592
23619
|
}, [t, e]);
|
|
23593
23620
|
};
|
|
23594
|
-
function
|
|
23621
|
+
function PC(t, e) {
|
|
23595
23622
|
const {
|
|
23596
23623
|
domain: n,
|
|
23597
23624
|
model: r,
|
|
@@ -23670,7 +23697,7 @@ function $C(t, e) {
|
|
|
23670
23697
|
viewTuple: ue
|
|
23671
23698
|
});
|
|
23672
23699
|
}
|
|
23673
|
-
const xe = await
|
|
23700
|
+
const xe = await NC(Ue);
|
|
23674
23701
|
for (const ue of xe) {
|
|
23675
23702
|
if (!ue)
|
|
23676
23703
|
continue;
|
|
@@ -23855,7 +23882,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
23855
23882
|
}
|
|
23856
23883
|
}
|
|
23857
23884
|
return D || ne ? /* @__PURE__ */ s(ct, {}) : _ ? /* @__PURE__ */ H(
|
|
23858
|
-
|
|
23885
|
+
lb,
|
|
23859
23886
|
{
|
|
23860
23887
|
title: a,
|
|
23861
23888
|
currentView: _,
|
|
@@ -23891,7 +23918,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
23891
23918
|
initialOpenComments: w,
|
|
23892
23919
|
children: [
|
|
23893
23920
|
/* @__PURE__ */ s(
|
|
23894
|
-
|
|
23921
|
+
LC,
|
|
23895
23922
|
{
|
|
23896
23923
|
availableViews: A,
|
|
23897
23924
|
formRef: me,
|
|
@@ -23914,7 +23941,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
23914
23941
|
}
|
|
23915
23942
|
),
|
|
23916
23943
|
/* @__PURE__ */ s(
|
|
23917
|
-
|
|
23944
|
+
i0,
|
|
23918
23945
|
{
|
|
23919
23946
|
visible: z,
|
|
23920
23947
|
onIdSubmitted: Ve,
|
|
@@ -23928,7 +23955,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
23928
23955
|
}
|
|
23929
23956
|
) : null;
|
|
23930
23957
|
}
|
|
23931
|
-
const
|
|
23958
|
+
const LC = ({
|
|
23932
23959
|
availableViews: t,
|
|
23933
23960
|
formRef: e,
|
|
23934
23961
|
currentId: n,
|
|
@@ -23947,11 +23974,11 @@ const PC = ({
|
|
|
23947
23974
|
searchNameSearch: h,
|
|
23948
23975
|
setCurrentView: y,
|
|
23949
23976
|
setCurrentId: v
|
|
23950
|
-
}) => (
|
|
23977
|
+
}) => ($C(), t.map((b) => {
|
|
23951
23978
|
switch (b.type) {
|
|
23952
23979
|
case "form":
|
|
23953
23980
|
return /* @__PURE__ */ s(
|
|
23954
|
-
|
|
23981
|
+
K0,
|
|
23955
23982
|
{
|
|
23956
23983
|
formRef: e,
|
|
23957
23984
|
currentId: n,
|
|
@@ -23971,7 +23998,7 @@ const PC = ({
|
|
|
23971
23998
|
);
|
|
23972
23999
|
case "tree":
|
|
23973
24000
|
return /* @__PURE__ */ s(
|
|
23974
|
-
|
|
24001
|
+
ab,
|
|
23975
24002
|
{
|
|
23976
24003
|
visible: r.type === b.type && r.view_id === b.view_id,
|
|
23977
24004
|
limit: p,
|
|
@@ -23992,7 +24019,7 @@ const PC = ({
|
|
|
23992
24019
|
);
|
|
23993
24020
|
case "graph":
|
|
23994
24021
|
return /* @__PURE__ */ s(
|
|
23995
|
-
|
|
24022
|
+
c0,
|
|
23996
24023
|
{
|
|
23997
24024
|
visible: r.type === b.type && r.view_id === b.view_id,
|
|
23998
24025
|
viewData: b,
|
|
@@ -24009,7 +24036,7 @@ const PC = ({
|
|
|
24009
24036
|
);
|
|
24010
24037
|
case "dashboard":
|
|
24011
24038
|
return /* @__PURE__ */ s(
|
|
24012
|
-
|
|
24039
|
+
Z0,
|
|
24013
24040
|
{
|
|
24014
24041
|
dashboardData: b,
|
|
24015
24042
|
visible: r.type === b.type && r.view_id === b.view_id
|
|
@@ -24018,7 +24045,7 @@ const PC = ({
|
|
|
24018
24045
|
);
|
|
24019
24046
|
case "kanban":
|
|
24020
24047
|
return /* @__PURE__ */ s(
|
|
24021
|
-
|
|
24048
|
+
MC,
|
|
24022
24049
|
{
|
|
24023
24050
|
visible: r.type === b.type && r.view_id === b.view_id,
|
|
24024
24051
|
kanbanView: b,
|
|
@@ -24031,8 +24058,8 @@ const PC = ({
|
|
|
24031
24058
|
`${b.type}-${b.view_id}`
|
|
24032
24059
|
);
|
|
24033
24060
|
}
|
|
24034
|
-
})), Yd = Wt(
|
|
24035
|
-
const
|
|
24061
|
+
})), Yd = Wt(PC);
|
|
24062
|
+
const VC = uf(ff), BC = (t) => {
|
|
24036
24063
|
const { children: e = [], onPositionItemsChanged: n } = t, r = dn.Children.map(
|
|
24037
24064
|
e,
|
|
24038
24065
|
(o) => {
|
|
@@ -24041,7 +24068,7 @@ const LC = uf(ff), VC = (t) => {
|
|
|
24041
24068
|
}
|
|
24042
24069
|
);
|
|
24043
24070
|
return /* @__PURE__ */ s(
|
|
24044
|
-
|
|
24071
|
+
VC,
|
|
24045
24072
|
{
|
|
24046
24073
|
className: "layout",
|
|
24047
24074
|
cols: { lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 },
|
|
@@ -24062,7 +24089,7 @@ const LC = uf(ff), VC = (t) => {
|
|
|
24062
24089
|
}
|
|
24063
24090
|
);
|
|
24064
24091
|
}, hs = "line_ids";
|
|
24065
|
-
function
|
|
24092
|
+
function HC(t, e) {
|
|
24066
24093
|
const { model: n, context: r = {}, id: o, configAction: i } = t, [a, d] = E([]), [c, l] = E(!1), [f, u] = E(), {
|
|
24067
24094
|
setIsLoading: m,
|
|
24068
24095
|
openAction: p,
|
|
@@ -24194,7 +24221,7 @@ function BC(t, e) {
|
|
|
24194
24221
|
async function P() {
|
|
24195
24222
|
p(i);
|
|
24196
24223
|
}
|
|
24197
|
-
return c ? /* @__PURE__ */ s(Xt, {}) : f ? (console.error(f), /* @__PURE__ */ s(Ut, { className: "mt-10 mb-20", message: f, type: "error", banner: !0 })) : /* @__PURE__ */ s(
|
|
24224
|
+
return c ? /* @__PURE__ */ s(Xt, {}) : f ? (console.error(f), /* @__PURE__ */ s(Ut, { className: "mt-10 mb-20", message: f, type: "error", banner: !0 })) : /* @__PURE__ */ s(BC, { onPositionItemsChanged: D, children: a.map((M, F) => {
|
|
24198
24225
|
const { actionData: R, values: I } = M, { position: k, id: $ } = I, {
|
|
24199
24226
|
actionId: j,
|
|
24200
24227
|
actionType: X,
|
|
@@ -24337,10 +24364,10 @@ function BC(t, e) {
|
|
|
24337
24364
|
);
|
|
24338
24365
|
}) });
|
|
24339
24366
|
}
|
|
24340
|
-
const
|
|
24367
|
+
const jC = Wt(HC), UC = (t) => {
|
|
24341
24368
|
const { ooui: e } = t;
|
|
24342
|
-
return /* @__PURE__ */ s(tt, { type: "array", ...t, children: /* @__PURE__ */ s(
|
|
24343
|
-
},
|
|
24369
|
+
return /* @__PURE__ */ s(tt, { type: "array", ...t, children: /* @__PURE__ */ s(WC, { ooui: e }) });
|
|
24370
|
+
}, WC = (t) => {
|
|
24344
24371
|
const { value: e, ooui: n, onChange: r } = t, { items: o = [] } = e || {}, i = o.filter((A) => A.operation !== "pendingRemove").map((A) => A.id), [a, d] = E([]), [c, l] = E(), [f, u] = E(!1), { relation: m, context: p, readOnly: g, field: h, columns: y } = n, v = ke(ft), { getContext: b } = v || {};
|
|
24345
24372
|
Je(() => {
|
|
24346
24373
|
x();
|
|
@@ -24421,36 +24448,36 @@ const HC = Wt(BC), jC = (t) => {
|
|
|
24421
24448
|
/* @__PURE__ */ s(Ke, { onClick: _, disabled: i.length === 0, children: "Uncheck all" })
|
|
24422
24449
|
] })
|
|
24423
24450
|
] }) });
|
|
24424
|
-
}, WC = (t) => {
|
|
24425
|
-
const { ooui: e } = t, { required: n } = e;
|
|
24426
|
-
return /* @__PURE__ */ s(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(zC, { ...t }) });
|
|
24427
24451
|
}, zC = (t) => {
|
|
24452
|
+
const { ooui: e } = t, { required: n } = e;
|
|
24453
|
+
return /* @__PURE__ */ s(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(YC, { ...t }) });
|
|
24454
|
+
}, YC = (t) => {
|
|
24428
24455
|
const { ooui: e, onChange: n, value: r } = t, { selectionValues: o, readOnly: i, direction: a } = e, d = Array.from(o.entries()), c = d && d.length && d.map((l) => {
|
|
24429
24456
|
const [f, u] = l;
|
|
24430
24457
|
return /* @__PURE__ */ s(wi, { value: f, children: u }, f);
|
|
24431
24458
|
});
|
|
24432
24459
|
return /* @__PURE__ */ s(wi.Group, { disabled: i, onChange: n, value: r, children: /* @__PURE__ */ s(ht, { direction: a, children: c }) });
|
|
24433
|
-
}, { useToken:
|
|
24460
|
+
}, { useToken: qC } = ot, GC = (t) => {
|
|
24434
24461
|
const { ooui: e } = t, { id: n, readOnly: r, required: o } = e;
|
|
24435
|
-
return /* @__PURE__ */ s(tt, { ...t, valuePropName: "checked", children: /* @__PURE__ */ s(
|
|
24436
|
-
},
|
|
24437
|
-
const { required: e, readOnly: n, ...r } = t, { token: o } =
|
|
24462
|
+
return /* @__PURE__ */ s(tt, { ...t, valuePropName: "checked", children: /* @__PURE__ */ s(KC, { id: n, readOnly: r, required: o }) });
|
|
24463
|
+
}, KC = (t) => {
|
|
24464
|
+
const { required: e, readOnly: n, ...r } = t, { token: o } = qC();
|
|
24438
24465
|
return e && !n ? /* @__PURE__ */ s(
|
|
24439
|
-
|
|
24466
|
+
JC,
|
|
24440
24467
|
{
|
|
24441
24468
|
disabled: n,
|
|
24442
24469
|
$requiredColor: o.colorPrimaryBg,
|
|
24443
24470
|
...r
|
|
24444
24471
|
}
|
|
24445
24472
|
) : /* @__PURE__ */ s(Ka, { disabled: n, ...r });
|
|
24446
|
-
},
|
|
24473
|
+
}, JC = ut(Ka)`
|
|
24447
24474
|
.ant-switch-handle::before {
|
|
24448
24475
|
background-color: ${(t) => t.$requiredColor};
|
|
24449
24476
|
}
|
|
24450
|
-
`,
|
|
24477
|
+
`, QC = (t) => {
|
|
24451
24478
|
const { ooui: e } = t, { required: n } = e;
|
|
24452
|
-
return /* @__PURE__ */ s(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(
|
|
24453
|
-
},
|
|
24479
|
+
return /* @__PURE__ */ s(tt, { required: n, type: "any", ...t, children: /* @__PURE__ */ s(XC, { ...t }) });
|
|
24480
|
+
}, XC = (t) => {
|
|
24454
24481
|
const { ooui: e, value: n } = t, { selectionValues: r, errorField: o, lastStep: i } = e, a = ke(ft);
|
|
24455
24482
|
let d = [], c;
|
|
24456
24483
|
e.fieldType === "json" && n ? (d = n.map((u) => [u.title, u.title]), c = n.findIndex((u) => u.active)) : (d = Array.from(r.entries()), c = d.map((u) => u[0]).indexOf(n));
|
|
@@ -24463,7 +24490,7 @@ const HC = Wt(BC), jC = (t) => {
|
|
|
24463
24490
|
},
|
|
24464
24491
|
u[1]
|
|
24465
24492
|
)) });
|
|
24466
|
-
},
|
|
24493
|
+
}, ZC = (t) => {
|
|
24467
24494
|
const {
|
|
24468
24495
|
token: {
|
|
24469
24496
|
colorPrimaryBg: e,
|
|
@@ -24526,7 +24553,7 @@ const HC = Wt(BC), jC = (t) => {
|
|
|
24526
24553
|
/* @__PURE__ */ s("div", { style: f }),
|
|
24527
24554
|
/* @__PURE__ */ s("div", { style: u(p.active) })
|
|
24528
24555
|
] }, g)) });
|
|
24529
|
-
},
|
|
24556
|
+
}, ex = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(ZC, {}) }), tx = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(nx, { ...t }) }), nx = (t) => {
|
|
24530
24557
|
const { ooui: e, value: n, onChange: r } = t, { lang: o, height: i, readOnly: a } = e, d = ke(ft), { elementHasLostFocus: c } = d || {}, l = S(
|
|
24531
24558
|
(u) => {
|
|
24532
24559
|
c && u.onDidBlurEditorWidget(() => c());
|
|
@@ -24554,13 +24581,13 @@ const HC = Wt(BC), jC = (t) => {
|
|
|
24554
24581
|
onChange: r
|
|
24555
24582
|
}
|
|
24556
24583
|
);
|
|
24557
|
-
}, { Meta:
|
|
24584
|
+
}, { Meta: rx } = Yr, { Text: ox } = Kt, sx = ({ email: t, size: e = 40, theme: n = "" }) => {
|
|
24558
24585
|
const r = `https://www.gravatar.com/avatar/${df(
|
|
24559
24586
|
t
|
|
24560
24587
|
)}?s=${e}&d=${n}`;
|
|
24561
24588
|
return /* @__PURE__ */ s(_o, { src: r, size: e });
|
|
24562
24589
|
};
|
|
24563
|
-
function
|
|
24590
|
+
function ix({ text: t }) {
|
|
24564
24591
|
const e = t.split(`
|
|
24565
24592
|
`);
|
|
24566
24593
|
return /* @__PURE__ */ s("div", { children: e.map((n, r) => /* @__PURE__ */ H(Yn, { children: [
|
|
@@ -24568,13 +24595,13 @@ function sx({ text: t }) {
|
|
|
24568
24595
|
r !== e.length - 1 && /* @__PURE__ */ s("br", {})
|
|
24569
24596
|
] }, r)) });
|
|
24570
24597
|
}
|
|
24571
|
-
const
|
|
24598
|
+
const ax = (t) => {
|
|
24572
24599
|
const { data: e, style: n } = t, { t: r } = Me();
|
|
24573
24600
|
return /* @__PURE__ */ H(Yr, { style: { ...n, textAlign: "start" }, children: [
|
|
24574
24601
|
/* @__PURE__ */ s(
|
|
24575
|
-
|
|
24602
|
+
rx,
|
|
24576
24603
|
{
|
|
24577
|
-
avatar: /* @__PURE__ */ s(
|
|
24604
|
+
avatar: /* @__PURE__ */ s(sx, { email: e.email, theme: "mp" }),
|
|
24578
24605
|
title: e.author,
|
|
24579
24606
|
description: /* @__PURE__ */ H(ht, { direction: "horizontal", children: [
|
|
24580
24607
|
/* @__PURE__ */ s("span", { title: e.date, children: it(e.date).fromNow() }),
|
|
@@ -24583,12 +24610,12 @@ const ix = (t) => {
|
|
|
24583
24610
|
style: { marginBottom: "5px" }
|
|
24584
24611
|
}
|
|
24585
24612
|
),
|
|
24586
|
-
/* @__PURE__ */ s(
|
|
24613
|
+
/* @__PURE__ */ s(ox, { children: /* @__PURE__ */ s(ix, { text: e.text }) })
|
|
24587
24614
|
] }, e.id);
|
|
24588
24615
|
}, Ba = (t) => {
|
|
24589
24616
|
const e = Lt(t);
|
|
24590
24617
|
return e && /* @__PURE__ */ s(e, {});
|
|
24591
|
-
},
|
|
24618
|
+
}, lx = (t) => {
|
|
24592
24619
|
const { value: e, ooui: n } = t, r = (e || []).map((o) => {
|
|
24593
24620
|
if (o.type === "action")
|
|
24594
24621
|
return {
|
|
@@ -24600,7 +24627,7 @@ const ix = (t) => {
|
|
|
24600
24627
|
color: "gray",
|
|
24601
24628
|
position: o.event.isSender ? "left" : "right",
|
|
24602
24629
|
label: o.event.date,
|
|
24603
|
-
children: /* @__PURE__ */ s(
|
|
24630
|
+
children: /* @__PURE__ */ s(ax, { data: o.event }),
|
|
24604
24631
|
dot: o.icon ? Ba(o.icon) : void 0
|
|
24605
24632
|
};
|
|
24606
24633
|
});
|
|
@@ -24618,7 +24645,7 @@ const ix = (t) => {
|
|
|
24618
24645
|
}
|
|
24619
24646
|
}
|
|
24620
24647
|
);
|
|
24621
|
-
},
|
|
24648
|
+
}, cx = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(lx, { ooui: t.ooui }) }), dx = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(Yu, {}) }), ux = (t) => {
|
|
24622
24649
|
const { ooui: e } = t, n = ke(ft);
|
|
24623
24650
|
let { title: r, text: o, alertType: i, icon: a, buttons: d } = e;
|
|
24624
24651
|
if (e.fieldType && e.id) {
|
|
@@ -24651,9 +24678,9 @@ const ix = (t) => {
|
|
|
24651
24678
|
icon: c(a)
|
|
24652
24679
|
}
|
|
24653
24680
|
);
|
|
24654
|
-
}, { defaultAlgorithm:
|
|
24681
|
+
}, { defaultAlgorithm: fx, defaultSeed: mx } = ot, Ha = fx(mx), px = (t) => {
|
|
24655
24682
|
const { ooui: e, responsiveBehaviour: n = !1 } = t;
|
|
24656
|
-
return /* @__PURE__ */ s(
|
|
24683
|
+
return /* @__PURE__ */ s(hx, { autoplay: e.autoPlay, dots: !0, autoplaySpeed: 5e3, children: e.items.map((r, o) => /* @__PURE__ */ s(
|
|
24657
24684
|
pi,
|
|
24658
24685
|
{
|
|
24659
24686
|
container: r.container,
|
|
@@ -24661,7 +24688,7 @@ const ix = (t) => {
|
|
|
24661
24688
|
},
|
|
24662
24689
|
o
|
|
24663
24690
|
)) });
|
|
24664
|
-
},
|
|
24691
|
+
}, hx = ut(ou)`
|
|
24665
24692
|
.slick-dots li button {
|
|
24666
24693
|
background-color: ${Ha.colorPrimary};
|
|
24667
24694
|
}
|
|
@@ -24671,7 +24698,7 @@ const ix = (t) => {
|
|
|
24671
24698
|
.slick-dots-bottom {
|
|
24672
24699
|
bottom: -15px;
|
|
24673
24700
|
}
|
|
24674
|
-
`,
|
|
24701
|
+
`, gx = (t) => /* @__PURE__ */ s(tt, { ...t, children: /* @__PURE__ */ s(yx, { ...t }) }), yx = (t) => {
|
|
24675
24702
|
const { ooui: e, value: n, onChange: r } = t;
|
|
24676
24703
|
return /* @__PURE__ */ s(
|
|
24677
24704
|
Ya,
|
|
@@ -24685,12 +24712,12 @@ const ix = (t) => {
|
|
|
24685
24712
|
value: n
|
|
24686
24713
|
}
|
|
24687
24714
|
);
|
|
24688
|
-
}, { Content:
|
|
24689
|
-
function
|
|
24715
|
+
}, { Content: vx } = qa, { Title: bx } = Kt;
|
|
24716
|
+
function wx() {
|
|
24690
24717
|
const { t } = Me();
|
|
24691
|
-
return /* @__PURE__ */ s(
|
|
24718
|
+
return /* @__PURE__ */ s(vx, { className: "m-5 select-none", children: /* @__PURE__ */ s(bx, { level: 5, children: t("welcome") }) });
|
|
24692
24719
|
}
|
|
24693
|
-
function
|
|
24720
|
+
function Cx(t, e) {
|
|
24694
24721
|
const { children: n } = t, [r, o] = E("welcome"), { t: i } = Me(), { showErrorNotification: a } = Et(), { globalValues: d, rootContext: c } = rn(), l = Vo(
|
|
24695
24722
|
kt.FEATURE_LOGGABLE_ACTIONS
|
|
24696
24723
|
), [f, u] = $e(
|
|
@@ -24704,7 +24731,7 @@ function wx(t, e) {
|
|
|
24704
24731
|
title: i("welcome"),
|
|
24705
24732
|
key: "welcome",
|
|
24706
24733
|
closable: !0,
|
|
24707
|
-
content: /* @__PURE__ */ s(
|
|
24734
|
+
content: /* @__PURE__ */ s(wx, {}),
|
|
24708
24735
|
action: null
|
|
24709
24736
|
}
|
|
24710
24737
|
]), g = Q(/* @__PURE__ */ new Map()), h = Q();
|
|
@@ -25214,8 +25241,8 @@ function wx(t, e) {
|
|
|
25214
25241
|
}
|
|
25215
25242
|
);
|
|
25216
25243
|
}
|
|
25217
|
-
const
|
|
25218
|
-
function
|
|
25244
|
+
const xS = Wt(Cx);
|
|
25245
|
+
function xx(t) {
|
|
25219
25246
|
const { tab: e } = t, n = ke(
|
|
25220
25247
|
vn
|
|
25221
25248
|
), { activeKey: r } = n || {}, o = {
|
|
@@ -25223,57 +25250,57 @@ function Cx(t) {
|
|
|
25223
25250
|
};
|
|
25224
25251
|
return /* @__PURE__ */ s("div", { style: e.key !== r ? o : void 0, children: e.content });
|
|
25225
25252
|
}
|
|
25226
|
-
const
|
|
25253
|
+
const SS = dn.memo(xx, () => !0);
|
|
25227
25254
|
export {
|
|
25228
|
-
|
|
25255
|
+
ex as $,
|
|
25229
25256
|
Em as A,
|
|
25230
25257
|
Hs as B,
|
|
25231
25258
|
G as C,
|
|
25232
|
-
|
|
25233
|
-
|
|
25234
|
-
|
|
25259
|
+
Hw as D,
|
|
25260
|
+
s0 as E,
|
|
25261
|
+
qb as F,
|
|
25235
25262
|
Pd as G,
|
|
25236
25263
|
hp as H,
|
|
25237
25264
|
Hr as I,
|
|
25238
25265
|
gd as J,
|
|
25239
|
-
|
|
25266
|
+
BC as K,
|
|
25240
25267
|
$o as L,
|
|
25241
|
-
|
|
25242
|
-
|
|
25243
|
-
|
|
25268
|
+
Qb as M,
|
|
25269
|
+
Aw as N,
|
|
25270
|
+
bw as O,
|
|
25244
25271
|
sh as P,
|
|
25245
|
-
|
|
25246
|
-
|
|
25272
|
+
Sb as Q,
|
|
25273
|
+
zw as R,
|
|
25247
25274
|
Nl as S,
|
|
25248
25275
|
vn as T,
|
|
25249
|
-
|
|
25276
|
+
o0 as U,
|
|
25250
25277
|
mh as V,
|
|
25251
|
-
|
|
25252
|
-
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
|
|
25256
|
-
|
|
25257
|
-
|
|
25258
|
-
|
|
25259
|
-
|
|
25278
|
+
UC as W,
|
|
25279
|
+
T0 as X,
|
|
25280
|
+
zC as Y,
|
|
25281
|
+
GC as Z,
|
|
25282
|
+
QC as _,
|
|
25283
|
+
SS as a,
|
|
25284
|
+
tx as a0,
|
|
25285
|
+
cx as a1,
|
|
25286
|
+
Vw as a2,
|
|
25260
25287
|
Vl as a3,
|
|
25261
25288
|
Yd as a4,
|
|
25262
|
-
|
|
25289
|
+
wS as a5,
|
|
25263
25290
|
kt as a6,
|
|
25264
25291
|
Tm as a7,
|
|
25265
|
-
|
|
25266
|
-
|
|
25292
|
+
dx as a8,
|
|
25293
|
+
ux as a9,
|
|
25267
25294
|
So as aa,
|
|
25268
|
-
|
|
25269
|
-
|
|
25270
|
-
|
|
25271
|
-
|
|
25272
|
-
|
|
25295
|
+
px as ab,
|
|
25296
|
+
gx as ac,
|
|
25297
|
+
Rb as ad,
|
|
25298
|
+
Fb as ae,
|
|
25299
|
+
CS as af,
|
|
25273
25300
|
wt as ag,
|
|
25274
|
-
|
|
25275
|
-
|
|
25276
|
-
|
|
25301
|
+
ab as ah,
|
|
25302
|
+
K0 as ai,
|
|
25303
|
+
lb as aj,
|
|
25277
25304
|
Yt as ak,
|
|
25278
25305
|
Dn as al,
|
|
25279
25306
|
Im as am,
|
|
@@ -25285,7 +25312,7 @@ export {
|
|
|
25285
25312
|
Tr as as,
|
|
25286
25313
|
Ec as at,
|
|
25287
25314
|
To as au,
|
|
25288
|
-
|
|
25315
|
+
_0 as av,
|
|
25289
25316
|
yi as aw,
|
|
25290
25317
|
An as ax,
|
|
25291
25318
|
zf as b,
|
|
@@ -25293,25 +25320,25 @@ export {
|
|
|
25293
25320
|
cm as d,
|
|
25294
25321
|
jm as e,
|
|
25295
25322
|
no as f,
|
|
25296
|
-
|
|
25323
|
+
Ob as g,
|
|
25297
25324
|
zo as h,
|
|
25298
25325
|
Ir as i,
|
|
25299
25326
|
ei as j,
|
|
25300
|
-
|
|
25301
|
-
|
|
25302
|
-
|
|
25327
|
+
xw as k,
|
|
25328
|
+
Ew as l,
|
|
25329
|
+
Fw as m,
|
|
25303
25330
|
md as n,
|
|
25304
25331
|
In as o,
|
|
25305
25332
|
ro as p,
|
|
25306
|
-
|
|
25307
|
-
|
|
25333
|
+
jw as q,
|
|
25334
|
+
Uw as r,
|
|
25308
25335
|
gn as s,
|
|
25309
|
-
|
|
25310
|
-
|
|
25311
|
-
|
|
25336
|
+
Gw as t,
|
|
25337
|
+
n0 as u,
|
|
25338
|
+
xS as v,
|
|
25312
25339
|
np as w,
|
|
25313
25340
|
ep as x,
|
|
25314
25341
|
Pm as y,
|
|
25315
|
-
|
|
25342
|
+
jC as z
|
|
25316
25343
|
};
|
|
25317
|
-
//# sourceMappingURL=TabContent-
|
|
25344
|
+
//# sourceMappingURL=TabContent-10e4a437.mjs.map
|