@gisce/react-ooui 1.5.6 → 1.5.7

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.
@@ -1,5 +1,5 @@
1
1
  import Qe, { useContext as W, useState as _, useEffect as ge, useRef as ue, useCallback as ke, forwardRef as bt, useImperativeHandle as xt } from "react";
2
- import { Tooltip as pt, theme as Pe, Typography as Ut, Form as lt, Row as Ce, Col as de, Modal as Je, Button as Ie, Dropdown as Gt, Menu as je, Spin as Re, Divider as dn, Space as We, Input as it, Select as Ct, Checkbox as jt, Alert as tt, Timeline as An, Statistic as li, Card as Nn, Tag as Er, message as Sn, DatePicker as Pn, TimePicker as $r, InputNumber as Lr, Progress as ci, Avatar as Nr, Badge as di, Pagination as ui, Tabs as Pr, Popover as fi, Radio as ar, Switch as mi, Steps as lr, Layout as hi } from "antd";
2
+ import { Tooltip as pt, theme as Pe, Typography as Ut, Form as lt, Row as Ce, Col as de, Modal as Je, Button as Ie, Dropdown as Gt, Menu as je, Spin as Re, Divider as dn, Space as We, Input as ot, Select as Ct, Checkbox as jt, Alert as tt, Timeline as An, Statistic as li, Card as Nn, Tag as Er, message as Sn, DatePicker as Pn, TimePicker as $r, InputNumber as Lr, Progress as ci, Avatar as Nr, Badge as di, Pagination as ui, Tabs as Pr, Popover as fi, Radio as ar, Switch as mi, Steps as lr, Layout as hi } from "antd";
3
3
  import { Label as Vt, Field as Rn, Tree as Hr, Reference as pi, Selection as Hn, Many2one as Br, Boolean as gi, Container as yi, parseContext as wt, Form as jr, Integer as Vn, SearchFieldTypes as ht, SearchFilter as vi, parseContextFields as Tn, parseDomainFields as cr, transformDomainForChildWidget as Kr, graphProcessor as Yr, parseGraph as Bn, graphFieldUtils as wi } from "@gisce/ooui";
4
4
  import * as dr from "@ant-design/icons";
5
5
  import Wr, { QuestionCircleOutlined as Ur, ExclamationCircleOutlined as gt, LoadingOutlined as st, DownOutlined as kt, WarningOutlined as Gr, CloseOutlined as qt, CheckOutlined as Mt, TranslationOutlined as qr, FolderOpenOutlined as jn, DownloadOutlined as Kn, ClearOutlined as Yn, StarFilled as zr, StarOutlined as Jr, UpOutlined as bi, SearchOutlined as Wn, RightCircleOutlined as xi, ThunderboltOutlined as Un, PrinterOutlined as Gn, EnterOutlined as Zr, PlusSquareOutlined as Ci, MinusSquareOutlined as Si, FileAddOutlined as un, AlignLeftOutlined as Ti, ApiOutlined as Fi, DeleteOutlined as qn, LeftOutlined as Xr, RightOutlined as Qr, EyeOutlined as Oi, FormOutlined as Kt, TableOutlined as zn, AreaChartOutlined as Ii, CalendarOutlined as _i, LinkOutlined as eo, SaveOutlined as Di, CopyOutlined as Jn, InfoCircleOutlined as to, ReloadOutlined as fn, EditOutlined as no, FilterOutlined as ro, CloseCircleFilled as Ai, BorderOuterOutlined as Ri, SettingOutlined as Vi, ExportOutlined as ki } from "@ant-design/icons";
@@ -1038,14 +1038,14 @@ const {
1038
1038
  } : void 0, d = W(Le), {
1039
1039
  elementHasLostFocus: u
1040
1040
  } = d || {};
1041
- let m = /* @__PURE__ */ n(it, {
1041
+ let m = /* @__PURE__ */ n(ot, {
1042
1042
  disabled: o || l && !r,
1043
1043
  id: i,
1044
1044
  style: c,
1045
1045
  maxLength: t.size,
1046
1046
  onBlur: u
1047
1047
  });
1048
- return s && (m = /* @__PURE__ */ n(it.Password, {
1048
+ return s && (m = /* @__PURE__ */ n(ot.Password, {
1049
1049
  disabled: o,
1050
1050
  id: i,
1051
1051
  onBlur: u
@@ -1081,7 +1081,7 @@ const {
1081
1081
  }
1082
1082
  d || u(!0);
1083
1083
  },
1084
- children: /* @__PURE__ */ n(it, {
1084
+ children: /* @__PURE__ */ n(ot, {
1085
1085
  value: e,
1086
1086
  disabled: !0,
1087
1087
  id: t,
@@ -1113,7 +1113,7 @@ const {
1113
1113
  wrap: !1,
1114
1114
  children: [/* @__PURE__ */ n(de, {
1115
1115
  flex: "auto",
1116
- children: /* @__PURE__ */ n(it, {
1116
+ children: /* @__PURE__ */ n(ot, {
1117
1117
  value: e,
1118
1118
  id: t,
1119
1119
  style: r,
@@ -2138,9 +2138,9 @@ const $t = ({
2138
2138
  case "image":
2139
2139
  return Aa;
2140
2140
  case "url":
2141
- return _d;
2142
- case "email":
2143
2141
  return Dd;
2142
+ case "email":
2143
+ return Ad;
2144
2144
  case "float_time":
2145
2145
  return qc;
2146
2146
  case "fiber_grid":
@@ -2154,19 +2154,19 @@ const $t = ({
2154
2154
  case "tag":
2155
2155
  return za;
2156
2156
  case "multicheckbox":
2157
- return ou;
2157
+ return iu;
2158
2158
  case "markdown":
2159
- return su;
2159
+ return au;
2160
2160
  case "radio":
2161
- return lu;
2161
+ return cu;
2162
2162
  case "switch":
2163
- return du;
2163
+ return uu;
2164
2164
  case "steps":
2165
- return fu;
2165
+ return mu;
2166
2166
  case "codeeditor":
2167
- return hu;
2167
+ return pu;
2168
2168
  case "comments_timeline":
2169
- return Cu;
2169
+ return Su;
2170
2170
  default:
2171
2171
  return;
2172
2172
  }
@@ -2614,7 +2614,7 @@ const $t = ({
2614
2614
  totalItems: $,
2615
2615
  getAllIds: Se
2616
2616
  };
2617
- }, ot = Qe.createContext(null), wl = (e) => {
2617
+ }, it = Qe.createContext(null), wl = (e) => {
2618
2618
  const {
2619
2619
  children: t,
2620
2620
  currentView: r,
@@ -2655,7 +2655,7 @@ const $t = ({
2655
2655
  var ie;
2656
2656
  return await ((ie = a.current) == null ? void 0 : ie.submitForm());
2657
2657
  };
2658
- return /* @__PURE__ */ n(ot.Provider, {
2658
+ return /* @__PURE__ */ n(it.Provider, {
2659
2659
  value: {
2660
2660
  title: Ne,
2661
2661
  currentView: r,
@@ -3122,7 +3122,7 @@ function Ol(e, t) {
3122
3122
  } = W(ye), [F, w] = _(!1), [L, V] = _(), [O, M] = _(), [k] = lt.useForm(), [D, $] = _(), [I, j] = _(), G = W(Co), [U, Y] = _(), [z, N] = _(!1), B = ue(), X = ue({}), ne = ue({}), le = ue(!1), J = ue(!1), Z = ue(!1), he = (E !== void 0 ? E : U) < Fl, Me = W(Le), {
3123
3123
  activeId: De,
3124
3124
  getPlainValues: Ne
3125
- } = Me || {}, Ge = W(ot), {
3125
+ } = Me || {}, Ge = W(it), {
3126
3126
  setFormIsSaving: Se = void 0,
3127
3127
  setFormHasChanges: ie = void 0,
3128
3128
  setCurrentId: Ee = void 0,
@@ -5157,7 +5157,7 @@ function gn(e) {
5157
5157
  onSelectAllRecords: A
5158
5158
  } = e, [S, E] = _([]), [x, T] = _([]), F = ue(!1), w = ue(null), {
5159
5159
  t: L
5160
- } = W(ye), V = ue(r), O = W(ot), {
5160
+ } = W(ye), V = ue(r), O = W(it), {
5161
5161
  title: M = void 0,
5162
5162
  setTitle: k = void 0
5163
5163
  } = (C ? O : {}) || {};
@@ -5304,7 +5304,7 @@ function hc(e, t) {
5304
5304
  height: V
5305
5305
  } = hn(), O = W(Lt), {
5306
5306
  processAction: M
5307
- } = O || {}, k = W(ot), {
5307
+ } = O || {}, k = W(it), {
5308
5308
  setResults: D = void 0,
5309
5309
  setCurrentItemIndex: $ = void 0,
5310
5310
  currentId: I = void 0,
@@ -5745,7 +5745,7 @@ const Vo = bt(hc), ko = (e) => {
5745
5745
  wrap: !1,
5746
5746
  children: [/* @__PURE__ */ n(de, {
5747
5747
  flex: "auto",
5748
- children: /* @__PURE__ */ n(o && !a ? wc : it, {
5748
+ children: /* @__PURE__ */ n(o && !a ? wc : ot, {
5749
5749
  type: "text",
5750
5750
  value: b,
5751
5751
  disabled: a,
@@ -5829,7 +5829,7 @@ const Vo = bt(hc), ko = (e) => {
5829
5829
  readOnly: a
5830
5830
  })]
5831
5831
  });
5832
- }, wc = Et(it)`
5832
+ }, wc = Et(ot)`
5833
5833
  .ant-input {
5834
5834
  background-color: ${Mo.colorPrimaryBg};
5835
5835
  }
@@ -6477,7 +6477,7 @@ const $c = (e, t) => {
6477
6477
  domain: s,
6478
6478
  limit: a,
6479
6479
  manualIds: l
6480
- } = e, [f, c] = _(!1), [d, u] = _(), [m, y] = _(), p = W(ot), {
6480
+ } = e, [f, c] = _(!1), [d, u] = _(), [m, y] = _(), p = W(it), {
6481
6481
  setGraphIsLoading: h = void 0
6482
6482
  } = p || {};
6483
6483
  xt(t, () => ({
@@ -7242,7 +7242,7 @@ const Wc = (e) => {
7242
7242
  async function g() {
7243
7243
  p(Yl(d)), await new Promise((v) => setTimeout(v, 300)), y == null || y();
7244
7244
  }
7245
- return /* @__PURE__ */ n(it, {
7245
+ return /* @__PURE__ */ n(ot, {
7246
7246
  value: d,
7247
7247
  disabled: s,
7248
7248
  className: "w-full",
@@ -7306,7 +7306,7 @@ const {
7306
7306
  useToken: Xc
7307
7307
  } = Pe, {
7308
7308
  TextArea: En
7309
- } = it, Qc = (e) => {
7309
+ } = ot, Qc = (e) => {
7310
7310
  const {
7311
7311
  ooui: t
7312
7312
  } = e, {
@@ -8011,7 +8011,7 @@ const hd = (e) => {
8011
8011
  display: "none"
8012
8012
  },
8013
8013
  onChange: v
8014
- }), /* @__PURE__ */ n(it, {
8014
+ }), /* @__PURE__ */ n(ot, {
8015
8015
  type: "text",
8016
8016
  disabled: !0,
8017
8017
  style: f,
@@ -8155,6 +8155,9 @@ function tr(e) {
8155
8155
  })]
8156
8156
  });
8157
8157
  }
8158
+ const {
8159
+ Search: xd
8160
+ } = ot;
8158
8161
  function At(e) {
8159
8162
  const {
8160
8163
  icon: t,
@@ -8162,26 +8165,47 @@ function At(e) {
8162
8165
  items: i = [],
8163
8166
  onItemClick: o,
8164
8167
  label: s,
8165
- disabled: a = !1
8166
- } = e;
8167
- function l() {
8168
- const c = i == null ? void 0 : i.map((d, u) => d.name === "divider" ? /* @__PURE__ */ n(je.Divider, {}, "divider" + u) : /* @__PURE__ */ n(je.Item, {
8169
- children: d.name
8170
- }, d.id));
8171
- return /* @__PURE__ */ n(je, {
8172
- onClick: f,
8173
- children: /* @__PURE__ */ n(je.ItemGroup, {
8168
+ disabled: a = !1,
8169
+ searchable: l = "auto"
8170
+ } = e, [f, c] = _(), d = (y) => {
8171
+ if (!y) {
8172
+ c(void 0);
8173
+ return;
8174
+ }
8175
+ const p = y.trim();
8176
+ if (p.length === 0) {
8177
+ c(void 0);
8178
+ return;
8179
+ }
8180
+ c(p);
8181
+ };
8182
+ function u() {
8183
+ let y = [];
8184
+ f ? y = i.filter((g) => g.name.toLowerCase().includes(f.toLowerCase())) : y = i;
8185
+ const p = y.map((g, v) => g.name === "divider" ? /* @__PURE__ */ n(je.Divider, {}, "divider" + v) : /* @__PURE__ */ n(je.Item, {
8186
+ children: g.name
8187
+ }, g.id)), h = l === !0 || l === "auto" && i.length > 3;
8188
+ return /* @__PURE__ */ P(je, {
8189
+ onClick: m,
8190
+ children: [h && /* @__PURE__ */ n(xd, {
8191
+ onChange: (g) => d(g.target.value),
8192
+ onSearch: d,
8193
+ allowClear: !0,
8194
+ style: {
8195
+ padding: 5
8196
+ }
8197
+ }), /* @__PURE__ */ n(je.ItemGroup, {
8174
8198
  title: r,
8175
- children: c
8176
- })
8199
+ children: p
8200
+ })]
8177
8201
  });
8178
8202
  }
8179
- function f(c) {
8180
- const d = i.find((u) => isNaN(c.key) ? u.id === c.key : u.id === parseInt(c.key));
8181
- o(d);
8203
+ function m(y) {
8204
+ const p = i.find((h) => isNaN(y.key) ? h.id === y.key : h.id === parseInt(y.key));
8205
+ o(p);
8182
8206
  }
8183
8207
  return /* @__PURE__ */ n(Gt, {
8184
- overlay: l(),
8208
+ overlay: u(),
8185
8209
  disabled: a || !i || i.length === 0,
8186
8210
  children: /* @__PURE__ */ P(Ie, {
8187
8211
  children: [t, " ", s, " ", /* @__PURE__ */ n(kt, {})]
@@ -8212,7 +8236,7 @@ function Bo(e) {
8212
8236
  } = e, {
8213
8237
  formHasChanges: r,
8214
8238
  onNewClicked: i
8215
- } = W(ot), {
8239
+ } = W(it), {
8216
8240
  t: o,
8217
8241
  lang: s
8218
8242
  } = W(ye), a = () => {
@@ -8235,13 +8259,13 @@ function Bo(e) {
8235
8259
  });
8236
8260
  }
8237
8261
  const {
8238
- confirm: xd
8239
- } = Je, Cd = ({
8262
+ confirm: Cd
8263
+ } = Je, Sd = ({
8240
8264
  onOk: e,
8241
8265
  onCancel: t,
8242
8266
  lang: r
8243
8267
  }) => {
8244
- xd({
8268
+ Cd({
8245
8269
  title: Oe("unsavedChanges", r),
8246
8270
  icon: /* @__PURE__ */ n(gt, {}),
8247
8271
  centered: !0,
@@ -8267,7 +8291,7 @@ async function jo(e, t, r) {
8267
8291
  children: ["ID: " + a, " ", /* @__PURE__ */ n("br", {}), r("createdBy") + ": " + s[1], " ", /* @__PURE__ */ n("br", {}), r("creationDate") + ": " + o, " ", /* @__PURE__ */ n("br", {}), r("lastUpdatedBy") + ": " + f[1], " ", /* @__PURE__ */ n("br", {}), r("lastUpdatedDate") + ": " + l]
8268
8292
  }));
8269
8293
  }
8270
- const Sd = (e) => {
8294
+ const Td = (e) => {
8271
8295
  const {
8272
8296
  numberOfAttachments: t,
8273
8297
  disabled: r
@@ -8286,12 +8310,12 @@ const Sd = (e) => {
8286
8310
  onVisibleChange: (f) => a(f),
8287
8311
  visible: s,
8288
8312
  placement: "bottom",
8289
- content: Td(e, a, o),
8313
+ content: Fd(e, a, o),
8290
8314
  title: i("attachments"),
8291
8315
  arrowContent: null,
8292
8316
  children: l
8293
8317
  });
8294
- }, Td = (e, t, r) => {
8318
+ }, Fd = (e, t, r) => {
8295
8319
  const {
8296
8320
  attachments: i = [],
8297
8321
  loading: o,
@@ -8377,7 +8401,7 @@ const Sd = (e) => {
8377
8401
  })]
8378
8402
  });
8379
8403
  };
8380
- function Fd(e) {
8404
+ function Od(e) {
8381
8405
  const {
8382
8406
  attachments: t,
8383
8407
  disabled: r = !1,
@@ -8386,7 +8410,7 @@ function Fd(e) {
8386
8410
  onViewAttachmentDetails: s
8387
8411
  } = e, {
8388
8412
  formRef: a
8389
- } = W(ot), [l, f] = _(!1), [c, d] = _([]), [u, m] = _(!1), {
8413
+ } = W(it), [l, f] = _(!1), [c, d] = _([]), [u, m] = _(!1), {
8390
8414
  t: y
8391
8415
  } = W(ye), p = ke(async () => {
8392
8416
  f(!0);
@@ -8435,7 +8459,7 @@ function Fd(e) {
8435
8459
  return ge(() => {
8436
8460
  p();
8437
8461
  }, [p]), /* @__PURE__ */ P(te, {
8438
- children: [/* @__PURE__ */ n(Sd, {
8462
+ children: [/* @__PURE__ */ n(Td, {
8439
8463
  numberOfAttachments: t.length,
8440
8464
  attachments: c,
8441
8465
  disabled: r,
@@ -8455,7 +8479,7 @@ function Fd(e) {
8455
8479
  })]
8456
8480
  });
8457
8481
  }
8458
- function Od({
8482
+ function Id({
8459
8483
  toolbar: e
8460
8484
  }) {
8461
8485
  const {
@@ -8483,7 +8507,7 @@ function Od({
8483
8507
  previousView: S,
8484
8508
  setPreviousView: E,
8485
8509
  goToResourceId: x
8486
- } = W(ot), {
8510
+ } = W(it), {
8487
8511
  t: T,
8488
8512
  lang: F
8489
8513
  } = W(ye), w = W(Lt), {
@@ -8494,7 +8518,7 @@ function Od({
8494
8518
  } = V || {};
8495
8519
  function k(N) {
8496
8520
  if (s) {
8497
- Cd({
8521
+ Sd({
8498
8522
  lang: F,
8499
8523
  onOk: () => {
8500
8524
  N();
@@ -8688,7 +8712,7 @@ function Od({
8688
8712
  action_type: N.type
8689
8713
  });
8690
8714
  }
8691
- }), /* @__PURE__ */ n(Fd, {
8715
+ }), /* @__PURE__ */ n(Od, {
8692
8716
  disabled: Y,
8693
8717
  attachments: R,
8694
8718
  onAddNewAttachment: async () => {
@@ -8753,7 +8777,7 @@ async function Ot({
8753
8777
  };
8754
8778
  }
8755
8779
  const {
8756
- useToken: Id
8780
+ useToken: _d
8757
8781
  } = Pe, Ko = (e) => {
8758
8782
  const {
8759
8783
  ooui: t,
@@ -8767,7 +8791,7 @@ const {
8767
8791
  required: f
8768
8792
  } = t, {
8769
8793
  token: c
8770
- } = Id(), d = f && !l ? {
8794
+ } = _d(), d = f && !l ? {
8771
8795
  backgroundColor: c.colorPrimaryBg
8772
8796
  } : void 0, u = W(Le), {
8773
8797
  elementHasLostFocus: m
@@ -8807,7 +8831,7 @@ const {
8807
8831
  })
8808
8832
  }), /* @__PURE__ */ n(de, {
8809
8833
  flex: "auto",
8810
- children: h ? /* @__PURE__ */ n(it, {
8834
+ children: h ? /* @__PURE__ */ n(ot, {
8811
8835
  style: {
8812
8836
  borderTopLeftRadius: 0,
8813
8837
  borderBottomLeftRadius: 0,
@@ -8830,7 +8854,7 @@ const {
8830
8854
  })
8831
8855
  })]
8832
8856
  });
8833
- }, _d = (e) => {
8857
+ }, Dd = (e) => {
8834
8858
  const {
8835
8859
  ooui: t
8836
8860
  } = e, {
@@ -8844,7 +8868,7 @@ const {
8844
8868
  valueValidator: (i) => i ? Ui(i) : !1
8845
8869
  })
8846
8870
  });
8847
- }, Dd = (e) => {
8871
+ }, Ad = (e) => {
8848
8872
  const {
8849
8873
  ooui: t
8850
8874
  } = e, {
@@ -8859,7 +8883,7 @@ const {
8859
8883
  valueValidator: (i) => i ? Gi(i) : !1
8860
8884
  })
8861
8885
  });
8862
- }, Ad = (e) => {
8886
+ }, Rd = (e) => {
8863
8887
  const {
8864
8888
  visible: t,
8865
8889
  onIdSubmitted: r,
@@ -8895,7 +8919,7 @@ const {
8895
8919
  required: !0
8896
8920
  }],
8897
8921
  help: s("searchIdHelp"),
8898
- children: /* @__PURE__ */ n(it, {
8922
+ children: /* @__PURE__ */ n(ot, {
8899
8923
  style: {
8900
8924
  width: "100%"
8901
8925
  },
@@ -8930,7 +8954,7 @@ const {
8930
8954
  })
8931
8955
  });
8932
8956
  }, {
8933
- useToken: Rd
8957
+ useToken: Vd
8934
8958
  } = Pe;
8935
8959
  function Yo(e) {
8936
8960
  const {
@@ -8938,7 +8962,7 @@ function Yo(e) {
8938
8962
  ...r
8939
8963
  } = e, {
8940
8964
  token: i
8941
- } = Rd();
8965
+ } = Vd();
8942
8966
  return /* @__PURE__ */ P("div", {
8943
8967
  style: {
8944
8968
  position: "relative"
@@ -8972,7 +8996,7 @@ function Yo(e) {
8972
8996
  })]
8973
8997
  });
8974
8998
  }
8975
- function Vd({
8999
+ function kd({
8976
9000
  refreshGraph: e
8977
9001
  }) {
8978
9002
  const {
@@ -8987,7 +9011,7 @@ function Vd({
8987
9011
  graphIsLoading: f,
8988
9012
  previousView: c,
8989
9013
  setPreviousView: d
8990
- } = W(ot);
9014
+ } = W(it);
8991
9015
  return /* @__PURE__ */ P(We, {
8992
9016
  wrap: !0,
8993
9017
  children: [/* @__PURE__ */ n(Yo, {
@@ -9023,9 +9047,9 @@ function Vd({
9023
9047
  });
9024
9048
  }
9025
9049
  const {
9026
- useToken: kd
9050
+ useToken: Md
9027
9051
  } = Pe, {
9028
- Title: Md,
9052
+ Title: Ed,
9029
9053
  Text: tn
9030
9054
  } = Ut;
9031
9055
  function vn(e) {
@@ -9040,11 +9064,11 @@ function vn(e) {
9040
9064
  results: l,
9041
9065
  totalItems: f,
9042
9066
  selectedRowItems: c
9043
- } = W(ot), {
9067
+ } = W(it), {
9044
9068
  t: d
9045
9069
  } = W(ye), {
9046
9070
  token: u
9047
- } = kd();
9071
+ } = Md();
9048
9072
  function m() {
9049
9073
  if ((o == null ? void 0 : o.type) === "form")
9050
9074
  return s ? f === 0 ? /* @__PURE__ */ P(te, {
@@ -9099,7 +9123,7 @@ function vn(e) {
9099
9123
  align: "middle",
9100
9124
  children: [/* @__PURE__ */ P(de, {
9101
9125
  flex: 2,
9102
- children: [/* @__PURE__ */ n(Md, {
9126
+ children: [/* @__PURE__ */ n(Ed, {
9103
9127
  level: 3,
9104
9128
  style: {
9105
9129
  marginBottom: 0
@@ -9118,7 +9142,7 @@ function vn(e) {
9118
9142
  })]
9119
9143
  });
9120
9144
  }
9121
- const Ed = (e) => {
9145
+ const $d = (e) => {
9122
9146
  const {
9123
9147
  viewData: t,
9124
9148
  visible: r,
@@ -9127,7 +9151,7 @@ const Ed = (e) => {
9127
9151
  domain: s,
9128
9152
  formView: a,
9129
9153
  treeView: l
9130
- } = e, f = ue(), c = W(ot), {
9154
+ } = e, f = ue(), c = W(it), {
9131
9155
  setResults: d = void 0,
9132
9156
  setCurrentItemIndex: u = void 0,
9133
9157
  currentId: m = void 0,
@@ -9186,7 +9210,7 @@ const Ed = (e) => {
9186
9210
  return !r || !t ? null : /* @__PURE__ */ P(te, {
9187
9211
  children: [/* @__PURE__ */ n(vn, {
9188
9212
  title: t.name,
9189
- children: /* @__PURE__ */ n(Vd, {
9213
+ children: /* @__PURE__ */ n(kd, {
9190
9214
  refreshGraph: () => {
9191
9215
  f.current.refresh();
9192
9216
  }
@@ -9218,7 +9242,7 @@ const Ed = (e) => {
9218
9242
  manualIds: V ? y == null ? void 0 : y.map((j) => j.id) : void 0
9219
9243
  })]
9220
9244
  });
9221
- }, $d = (e) => {
9245
+ }, Ld = (e) => {
9222
9246
  const {
9223
9247
  visible: t,
9224
9248
  formRef: r,
@@ -9235,7 +9259,7 @@ const Ed = (e) => {
9235
9259
  } = e;
9236
9260
  return t ? /* @__PURE__ */ P(te, {
9237
9261
  children: [/* @__PURE__ */ n(vn, {
9238
- children: /* @__PURE__ */ n(Od, {
9262
+ children: /* @__PURE__ */ n(Id, {
9239
9263
  toolbar: a == null ? void 0 : a.toolbar
9240
9264
  })
9241
9265
  }), /* @__PURE__ */ n(Zt, {
@@ -9254,7 +9278,7 @@ const Ed = (e) => {
9254
9278
  })]
9255
9279
  }) : null;
9256
9280
  };
9257
- function Ld(e) {
9281
+ function Nd(e) {
9258
9282
  const {
9259
9283
  onSearch: t,
9260
9284
  disabled: r = !1,
@@ -9286,7 +9310,7 @@ function Ld(e) {
9286
9310
  children: /* @__PURE__ */ n(lt.Item, {
9287
9311
  name: "search",
9288
9312
  noStyle: !0,
9289
- children: /* @__PURE__ */ n(it, {
9313
+ children: /* @__PURE__ */ n(ot, {
9290
9314
  autoFocus: !0,
9291
9315
  disabled: r,
9292
9316
  onChange: (d) => {
@@ -9321,10 +9345,10 @@ function Ld(e) {
9321
9345
  })
9322
9346
  });
9323
9347
  }
9324
- const Nd = Qe.createContext({
9348
+ const Pd = Qe.createContext({
9325
9349
  previewFeatures: !1
9326
9350
  });
9327
- function Pd(e) {
9351
+ function Hd(e) {
9328
9352
  var U;
9329
9353
  const {
9330
9354
  availableViews: t,
@@ -9350,12 +9374,12 @@ function Pd(e) {
9350
9374
  results: A,
9351
9375
  limit: S,
9352
9376
  totalItems: E
9353
- } = W(ot), {
9377
+ } = W(it), {
9354
9378
  parentContext: x = {},
9355
9379
  treeExpandable: T,
9356
9380
  toolbar: F
9357
9381
  } = e;
9358
- W(Nd);
9382
+ W(Pd);
9359
9383
  const {
9360
9384
  t: w,
9361
9385
  lang: L
@@ -9426,7 +9450,7 @@ function Pd(e) {
9426
9450
  children: [C && /* @__PURE__ */ P(te, {
9427
9451
  children: [/* @__PURE__ */ n(Re, {}), vt(), vt()]
9428
9452
  }), T ? null : /* @__PURE__ */ P(te, {
9429
- children: [/* @__PURE__ */ n(Ld, {
9453
+ children: [/* @__PURE__ */ n(Nd, {
9430
9454
  disabled: l || a || C,
9431
9455
  searchText: v,
9432
9456
  onSearch: (Y) => {
@@ -9583,7 +9607,7 @@ function vt() {
9583
9607
  className: "inline-block w-2"
9584
9608
  });
9585
9609
  }
9586
- const Hd = (e) => {
9610
+ const Bd = (e) => {
9587
9611
  const {
9588
9612
  visible: t,
9589
9613
  searchTreeRef: r,
@@ -9601,10 +9625,10 @@ const Hd = (e) => {
9601
9625
  } = e, {
9602
9626
  currentView: p,
9603
9627
  setPreviousView: h
9604
- } = W(ot);
9628
+ } = W(it);
9605
9629
  return t ? /* @__PURE__ */ P(te, {
9606
9630
  children: [/* @__PURE__ */ n(vn, {
9607
- children: /* @__PURE__ */ n(Pd, {
9631
+ children: /* @__PURE__ */ n(Hd, {
9608
9632
  toolbar: a == null ? void 0 : a.toolbar,
9609
9633
  parentContext: o,
9610
9634
  treeExpandable: (a == null ? void 0 : a.isExpandable) || !1
@@ -9630,7 +9654,7 @@ const Hd = (e) => {
9630
9654
  }
9631
9655
  })]
9632
9656
  }) : null;
9633
- }, nr = Qe.createContext(null), Bd = (e) => {
9657
+ }, nr = Qe.createContext(null), jd = (e) => {
9634
9658
  const [t, r] = _(!1), [i, o] = _(!1), {
9635
9659
  children: s,
9636
9660
  dashboardRef: a,
@@ -9648,7 +9672,7 @@ const Hd = (e) => {
9648
9672
  children: s
9649
9673
  });
9650
9674
  };
9651
- function jd() {
9675
+ function Kd() {
9652
9676
  const {
9653
9677
  isLoading: e,
9654
9678
  dashboardRef: t,
@@ -9672,7 +9696,7 @@ function jd() {
9672
9696
  onClick: () => {
9673
9697
  i(!r);
9674
9698
  }
9675
- }), Kd(), /* @__PURE__ */ n(Ze, {
9699
+ }), Yd(), /* @__PURE__ */ n(Ze, {
9676
9700
  icon: /* @__PURE__ */ n(Vi, {}),
9677
9701
  tooltip: o("configDashboard"),
9678
9702
  disabled: e,
@@ -9691,25 +9715,25 @@ function jd() {
9691
9715
  })]
9692
9716
  });
9693
9717
  }
9694
- function Kd() {
9718
+ function Yd() {
9695
9719
  return /* @__PURE__ */ n("div", {
9696
9720
  className: "inline-block w-2"
9697
9721
  });
9698
9722
  }
9699
- const Yd = (e) => {
9723
+ const Wd = (e) => {
9700
9724
  const {
9701
9725
  dashboardData: t
9702
9726
  } = e, r = ue(), i = W(dt), {
9703
9727
  openShortcut: o
9704
9728
  } = i || {};
9705
- return t ? /* @__PURE__ */ P(Bd, {
9729
+ return t ? /* @__PURE__ */ P(jd, {
9706
9730
  dashboardRef: r,
9707
9731
  openAction: (s) => {
9708
9732
  o(s);
9709
9733
  },
9710
9734
  children: [/* @__PURE__ */ n(vn, {
9711
- children: /* @__PURE__ */ n(jd, {})
9712
- }), /* @__PURE__ */ n(ru, {
9735
+ children: /* @__PURE__ */ n(Kd, {})
9736
+ }), /* @__PURE__ */ n(ou, {
9713
9737
  ref: r,
9714
9738
  model: t.model,
9715
9739
  id: t.id,
@@ -9718,7 +9742,7 @@ const Yd = (e) => {
9718
9742
  })]
9719
9743
  }) : null;
9720
9744
  };
9721
- async function Wd(e) {
9745
+ async function Ud(e) {
9722
9746
  const t = await Promise.all(
9723
9747
  e.map(async (i) => {
9724
9748
  try {
@@ -9733,7 +9757,7 @@ async function Wd(e) {
9733
9757
  info: t[o]
9734
9758
  })).filter((i) => i.info !== null);
9735
9759
  }
9736
- function Ud(e, t) {
9760
+ function Gd(e, t) {
9737
9761
  const {
9738
9762
  domain: r,
9739
9763
  model: i,
@@ -9789,7 +9813,7 @@ function Ud(e, t) {
9789
9813
  viewTuple: se
9790
9814
  });
9791
9815
  }
9792
- const Ve = await Wd(xe);
9816
+ const Ve = await Ud(xe);
9793
9817
  for (const se of Ve) {
9794
9818
  if (!se)
9795
9819
  continue;
@@ -9909,7 +9933,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
9909
9933
  return R.map((ee) => {
9910
9934
  switch (ee.type) {
9911
9935
  case "form":
9912
- return /* @__PURE__ */ n($d, {
9936
+ return /* @__PURE__ */ n(Ld, {
9913
9937
  formRef: X,
9914
9938
  currentId: x,
9915
9939
  visible: v.type === ee.type && v.view_id === ee.view_id,
@@ -9924,7 +9948,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
9924
9948
  setCurrentItemIndex: V
9925
9949
  }, `${ee.type}-${ee.view_id}`);
9926
9950
  case "tree":
9927
- return /* @__PURE__ */ n(Hd, {
9951
+ return /* @__PURE__ */ n(Bd, {
9928
9952
  visible: v.type === ee.type && v.view_id === ee.view_id,
9929
9953
  limit: g,
9930
9954
  model: i,
@@ -9941,7 +9965,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
9941
9965
  setCurrentView: Ge
9942
9966
  }, `${ee.type}-${ee.view_id}`);
9943
9967
  case "graph":
9944
- return /* @__PURE__ */ n(Ed, {
9968
+ return /* @__PURE__ */ n($d, {
9945
9969
  visible: v.type === ee.type && v.view_id === ee.view_id,
9946
9970
  viewData: ee,
9947
9971
  model: i,
@@ -9951,7 +9975,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
9951
9975
  formView: R.find((xe) => xe.type === "form")
9952
9976
  }, `${ee.type}-${ee.view_id}`);
9953
9977
  case "dashboard":
9954
- return /* @__PURE__ */ n(Yd, {
9978
+ return /* @__PURE__ */ n(Wd, {
9955
9979
  dashboardData: ee
9956
9980
  }, `${ee.type}-${ee.view_id}`);
9957
9981
  }
@@ -9991,7 +10015,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
9991
10015
  searchTreeNameSearch: z,
9992
10016
  goToResourceId: be,
9993
10017
  limit: g,
9994
- children: [$e(), /* @__PURE__ */ n(Ad, {
10018
+ children: [$e(), /* @__PURE__ */ n(Rd, {
9995
10019
  visible: j,
9996
10020
  onIdSubmitted: be,
9997
10021
  isSearching: U,
@@ -10001,8 +10025,8 @@ Please, make sure the view ids on the fields_view_get responses are the same as
10001
10025
  })]
10002
10026
  }) : null;
10003
10027
  }
10004
- const Wo = bt(Ud);
10005
- async function Gd({
10028
+ const Wo = bt(Gd);
10029
+ async function qd({
10006
10030
  actionId: e,
10007
10031
  rootContext: t = {},
10008
10032
  globalValues: r = {}
@@ -10054,7 +10078,7 @@ async function Gd({
10054
10078
  treeExpandable: y
10055
10079
  };
10056
10080
  }
10057
- const qd = Xi(Qi), zd = (e) => {
10081
+ const zd = Xi(Qi), Jd = (e) => {
10058
10082
  const {
10059
10083
  children: t = [],
10060
10084
  onPositionItemsChanged: r
@@ -10068,7 +10092,7 @@ const qd = Xi(Qi), zd = (e) => {
10068
10092
  children: o
10069
10093
  }, a);
10070
10094
  });
10071
- return /* @__PURE__ */ n(qd, {
10095
+ return /* @__PURE__ */ n(zd, {
10072
10096
  className: "layout",
10073
10097
  cols: {
10074
10098
  lg: 12,
@@ -10091,10 +10115,10 @@ const qd = Xi(Qi), zd = (e) => {
10091
10115
  children: i
10092
10116
  });
10093
10117
  }, {
10094
- useToken: Jd
10118
+ useToken: Zd
10095
10119
  } = Pe, {
10096
- Text: Zd
10097
- } = Ut, Xd = (e) => {
10120
+ Text: Xd
10121
+ } = Ut, Qd = (e) => {
10098
10122
  const {
10099
10123
  title: t,
10100
10124
  children: r,
@@ -10102,7 +10126,7 @@ const qd = Xi(Qi), zd = (e) => {
10102
10126
  openAction: o
10103
10127
  } = e, {
10104
10128
  token: s
10105
- } = Jd();
10129
+ } = Zd();
10106
10130
  return /* @__PURE__ */ P("div", {
10107
10131
  className: "shadow-md",
10108
10132
  style: {
@@ -10130,7 +10154,7 @@ const qd = Xi(Qi), zd = (e) => {
10130
10154
  cursor: "grab",
10131
10155
  overflow: "hidden"
10132
10156
  },
10133
- children: /* @__PURE__ */ n(Zd, {
10157
+ children: /* @__PURE__ */ n(Xd, {
10134
10158
  ellipsis: !0,
10135
10159
  children: t
10136
10160
  })
@@ -10154,8 +10178,8 @@ const qd = Xi(Qi), zd = (e) => {
10154
10178
  })]
10155
10179
  }), r]
10156
10180
  });
10157
- }, Qd = 80;
10158
- function eu(e) {
10181
+ }, eu = 80;
10182
+ function tu(e) {
10159
10183
  const {
10160
10184
  action: t,
10161
10185
  model: r,
@@ -10164,7 +10188,7 @@ function eu(e) {
10164
10188
  domain: s = [],
10165
10189
  visible: a = !0,
10166
10190
  parentContext: l = {}
10167
- } = e, [f, c] = _(!1), [d, u] = _(!1), [m, y] = _(), [p, h] = _(), [g, v] = _(), [C, R] = _(1), [b, A] = _(0), S = ue(Qd), E = ue([]), [x, T] = _(0), [F, w] = _([]), [L, V] = _(void 0), [O, M] = _(), [k, D] = _(), [$, I] = _(), [j, G] = _(!1), U = ue([]), Y = (Z) => {
10191
+ } = e, [f, c] = _(!1), [d, u] = _(!1), [m, y] = _(), [p, h] = _(), [g, v] = _(), [C, R] = _(1), [b, A] = _(0), S = ue(eu), E = ue([]), [x, T] = _(0), [F, w] = _([]), [L, V] = _(void 0), [O, M] = _(), [k, D] = _(), [$, I] = _(), [j, G] = _(!1), U = ue([]), Y = (Z) => {
10168
10192
  G(!0), R(Z), A((Z - 1) * S.current);
10169
10193
  }, z = async () => {
10170
10194
  const Z = U.current.length > 0 ? U.current : s, fe = Yt(E.current, Z), {
@@ -10296,7 +10320,7 @@ function eu(e) {
10296
10320
  }
10297
10321
  }) : J();
10298
10322
  }
10299
- const tu = (e) => {
10323
+ const nu = (e) => {
10300
10324
  const {
10301
10325
  model: t
10302
10326
  } = e, [r, i] = _();
@@ -10324,7 +10348,7 @@ const tu = (e) => {
10324
10348
  })
10325
10349
  });
10326
10350
  }, Dn = "line_ids";
10327
- function nu(e, t) {
10351
+ function ru(e, t) {
10328
10352
  const {
10329
10353
  model: r,
10330
10354
  context: i = {},
@@ -10404,7 +10428,7 @@ function nu(e, t) {
10404
10428
  values: w
10405
10429
  } = F;
10406
10430
  if (w.action_id && w.action_id.length > 0) {
10407
- const L = parseInt(w.action_id[0], 10), V = await Gd({
10431
+ const L = parseInt(w.action_id[0], 10), V = await qd({
10408
10432
  actionId: L,
10409
10433
  rootContext: i
10410
10434
  });
@@ -10469,7 +10493,7 @@ function nu(e, t) {
10469
10493
  message: d,
10470
10494
  type: "error",
10471
10495
  banner: !0
10472
- })) : f ? /* @__PURE__ */ n(st, {}) : /* @__PURE__ */ n(zd, {
10496
+ })) : f ? /* @__PURE__ */ n(st, {}) : /* @__PURE__ */ n(Jd, {
10473
10497
  onPositionItemsChanged: S,
10474
10498
  children: a.map((x, T) => {
10475
10499
  const {
@@ -10511,12 +10535,12 @@ function nu(e, t) {
10511
10535
  limit: Y
10512
10536
  });
10513
10537
  else if ((U == null ? void 0 : U.type) === "form")
10514
- N = /* @__PURE__ */ n(tu, {
10538
+ N = /* @__PURE__ */ n(nu, {
10515
10539
  model: I,
10516
10540
  actionDomain: G
10517
10541
  });
10518
10542
  else if ((U == null ? void 0 : U.type) === "tree")
10519
- N = /* @__PURE__ */ n(eu, {
10543
+ N = /* @__PURE__ */ n(tu, {
10520
10544
  model: I,
10521
10545
  domain: G,
10522
10546
  view_id: $.filter((ne) => ne[1] === "tree")[0][0],
@@ -10586,7 +10610,7 @@ function nu(e, t) {
10586
10610
  view_type: le
10587
10611
  };
10588
10612
  }
10589
- return /* @__PURE__ */ n(Xd, {
10613
+ return /* @__PURE__ */ n(Qd, {
10590
10614
  id: V,
10591
10615
  title: D,
10592
10616
  parms: z,
@@ -10597,18 +10621,18 @@ function nu(e, t) {
10597
10621
  })
10598
10622
  });
10599
10623
  }
10600
- const ru = bt(nu), ou = (e) => {
10624
+ const ou = bt(ru), iu = (e) => {
10601
10625
  const {
10602
10626
  ooui: t
10603
10627
  } = e;
10604
10628
  return /* @__PURE__ */ n(we, {
10605
10629
  type: "array",
10606
10630
  ...e,
10607
- children: /* @__PURE__ */ n(iu, {
10631
+ children: /* @__PURE__ */ n(su, {
10608
10632
  ooui: t
10609
10633
  })
10610
10634
  });
10611
- }, iu = (e) => {
10635
+ }, su = (e) => {
10612
10636
  const {
10613
10637
  value: t,
10614
10638
  ooui: r,
@@ -10729,12 +10753,12 @@ const ru = bt(nu), ou = (e) => {
10729
10753
  })]
10730
10754
  })
10731
10755
  });
10732
- }, su = (e) => /* @__PURE__ */ n(we, {
10756
+ }, au = (e) => /* @__PURE__ */ n(we, {
10733
10757
  ...e,
10734
- children: /* @__PURE__ */ n(au, {
10758
+ children: /* @__PURE__ */ n(lu, {
10735
10759
  ...e
10736
10760
  })
10737
- }), au = (e) => {
10761
+ }), lu = (e) => {
10738
10762
  const {
10739
10763
  value: t,
10740
10764
  ooui: r
@@ -10749,7 +10773,7 @@ const ru = bt(nu), ou = (e) => {
10749
10773
  children: t
10750
10774
  })
10751
10775
  });
10752
- }, lu = (e) => {
10776
+ }, cu = (e) => {
10753
10777
  const {
10754
10778
  ooui: t
10755
10779
  } = e, {
@@ -10759,11 +10783,11 @@ const ru = bt(nu), ou = (e) => {
10759
10783
  required: r,
10760
10784
  type: "any",
10761
10785
  ...e,
10762
- children: /* @__PURE__ */ n(cu, {
10786
+ children: /* @__PURE__ */ n(du, {
10763
10787
  ...e
10764
10788
  })
10765
10789
  });
10766
- }, cu = (e) => {
10790
+ }, du = (e) => {
10767
10791
  const {
10768
10792
  ooui: t,
10769
10793
  onChange: r,
@@ -10788,7 +10812,7 @@ const ru = bt(nu), ou = (e) => {
10788
10812
  children: f
10789
10813
  })
10790
10814
  });
10791
- }, du = (e) => {
10815
+ }, uu = (e) => {
10792
10816
  const {
10793
10817
  ooui: t
10794
10818
  } = e, {
@@ -10799,13 +10823,13 @@ const ru = bt(nu), ou = (e) => {
10799
10823
  return /* @__PURE__ */ n(we, {
10800
10824
  ...e,
10801
10825
  valuePropName: "checked",
10802
- children: /* @__PURE__ */ n(uu, {
10826
+ children: /* @__PURE__ */ n(fu, {
10803
10827
  id: r,
10804
10828
  readOnly: i,
10805
10829
  required: o
10806
10830
  })
10807
10831
  });
10808
- }, uu = (e) => {
10832
+ }, fu = (e) => {
10809
10833
  const {
10810
10834
  required: t,
10811
10835
  readOnly: r,
@@ -10818,7 +10842,7 @@ const ru = bt(nu), ou = (e) => {
10818
10842
  ...i
10819
10843
  })
10820
10844
  });
10821
- }, fu = (e) => {
10845
+ }, mu = (e) => {
10822
10846
  const {
10823
10847
  ooui: t
10824
10848
  } = e, {
@@ -10828,11 +10852,11 @@ const ru = bt(nu), ou = (e) => {
10828
10852
  required: r,
10829
10853
  type: "any",
10830
10854
  ...e,
10831
- children: /* @__PURE__ */ n(mu, {
10855
+ children: /* @__PURE__ */ n(hu, {
10832
10856
  ...e
10833
10857
  })
10834
10858
  });
10835
- }, mu = (e) => {
10859
+ }, hu = (e) => {
10836
10860
  const {
10837
10861
  ooui: t,
10838
10862
  value: r
@@ -10849,7 +10873,7 @@ const ru = bt(nu), ou = (e) => {
10849
10873
  description: u === l && f === "error" ? c : null
10850
10874
  }))
10851
10875
  });
10852
- }, hu = (e) => {
10876
+ }, pu = (e) => {
10853
10877
  const {
10854
10878
  ooui: t
10855
10879
  } = e, {
@@ -10912,13 +10936,13 @@ var Uo = { exports: {} };
10912
10936
  };
10913
10937
  });
10914
10938
  })(Uo);
10915
- const pu = Uo.exports, {
10916
- Meta: gu
10939
+ const gu = Uo.exports, {
10940
+ Meta: yu
10917
10941
  } = Nn, {
10918
- Text: yu
10942
+ Text: vu
10919
10943
  } = Ut;
10920
- at.extend(pu);
10921
- const vu = ({
10944
+ at.extend(gu);
10945
+ const wu = ({
10922
10946
  email: e,
10923
10947
  size: t = 40,
10924
10948
  theme: r = ""
@@ -10929,7 +10953,7 @@ const vu = ({
10929
10953
  size: t
10930
10954
  });
10931
10955
  };
10932
- function wu({
10956
+ function bu({
10933
10957
  text: e
10934
10958
  }) {
10935
10959
  const t = e.split(`
@@ -10940,7 +10964,7 @@ function wu({
10940
10964
  }, i))
10941
10965
  });
10942
10966
  }
10943
- const bu = (e) => {
10967
+ const xu = (e) => {
10944
10968
  const {
10945
10969
  data: t,
10946
10970
  style: r
@@ -10952,8 +10976,8 @@ const bu = (e) => {
10952
10976
  ...r,
10953
10977
  textAlign: "start"
10954
10978
  },
10955
- children: [/* @__PURE__ */ n(gu, {
10956
- avatar: /* @__PURE__ */ n(vu, {
10979
+ children: [/* @__PURE__ */ n(yu, {
10980
+ avatar: /* @__PURE__ */ n(wu, {
10957
10981
  email: t.email,
10958
10982
  theme: "mp"
10959
10983
  }),
@@ -10971,13 +10995,13 @@ const bu = (e) => {
10971
10995
  style: {
10972
10996
  marginBottom: "5px"
10973
10997
  }
10974
- }), /* @__PURE__ */ n(yu, {
10975
- children: /* @__PURE__ */ n(wu, {
10998
+ }), /* @__PURE__ */ n(vu, {
10999
+ children: /* @__PURE__ */ n(bu, {
10976
11000
  text: t.text
10977
11001
  })
10978
11002
  })]
10979
11003
  }, t.id);
10980
- }, xu = (e) => {
11004
+ }, Cu = (e) => {
10981
11005
  const {
10982
11006
  value: t
10983
11007
  } = e, r = (t || []).map((i) => {
@@ -10990,7 +11014,7 @@ const bu = (e) => {
10990
11014
  color: "gray",
10991
11015
  position: i.event.isSender ? "left" : "right",
10992
11016
  label: i.event.date,
10993
- children: /* @__PURE__ */ n(bu, {
11017
+ children: /* @__PURE__ */ n(xu, {
10994
11018
  data: i.event
10995
11019
  })
10996
11020
  };
@@ -10999,27 +11023,27 @@ const bu = (e) => {
10999
11023
  mode: "alternate",
11000
11024
  items: r
11001
11025
  });
11002
- }, Cu = (e) => /* @__PURE__ */ n(we, {
11026
+ }, Su = (e) => /* @__PURE__ */ n(we, {
11003
11027
  ...e,
11004
- children: /* @__PURE__ */ n(xu, {})
11028
+ children: /* @__PURE__ */ n(Cu, {})
11005
11029
  }), {
11006
- Content: Su
11030
+ Content: Tu
11007
11031
  } = hi, {
11008
- Title: Tu
11032
+ Title: Fu
11009
11033
  } = Ut;
11010
- function Fu() {
11034
+ function Ou() {
11011
11035
  const {
11012
11036
  t: e
11013
11037
  } = W(ye);
11014
- return /* @__PURE__ */ n(Su, {
11038
+ return /* @__PURE__ */ n(Tu, {
11015
11039
  className: "m-5 select-none",
11016
- children: /* @__PURE__ */ n(Tu, {
11040
+ children: /* @__PURE__ */ n(Fu, {
11017
11041
  level: 5,
11018
11042
  children: e("welcome")
11019
11043
  })
11020
11044
  });
11021
11045
  }
11022
- function Ou(e, t) {
11046
+ function Iu(e, t) {
11023
11047
  const {
11024
11048
  children: r,
11025
11049
  globalValues: i = {},
@@ -11029,7 +11053,7 @@ function Ou(e, t) {
11029
11053
  title: Oe("welcome", s),
11030
11054
  key: "welcome",
11031
11055
  closable: !0,
11032
- content: /* @__PURE__ */ n(Fu, {})
11056
+ content: /* @__PURE__ */ n(Ou, {})
11033
11057
  }]), d = ue(/* @__PURE__ */ new Map()), u = ue();
11034
11058
  xt(t, () => ({
11035
11059
  retrieveAndOpenAction: p,
@@ -11405,10 +11429,10 @@ function Ou(e, t) {
11405
11429
  })
11406
11430
  });
11407
11431
  }
11408
- const sf = bt(Ou), {
11409
- useToken: Iu
11432
+ const af = bt(Iu), {
11433
+ useToken: _u
11410
11434
  } = Pe;
11411
- function _u(e) {
11435
+ function Du(e) {
11412
11436
  const {
11413
11437
  label: t,
11414
11438
  onClose: r,
@@ -11417,7 +11441,7 @@ function _u(e) {
11417
11441
  onSelected: s
11418
11442
  } = e, {
11419
11443
  token: a
11420
- } = Iu(), l = o ? a.colorBgContainer : a.colorPrimaryBg;
11444
+ } = _u(), l = o ? a.colorBgContainer : a.colorPrimaryBg;
11421
11445
  return /* @__PURE__ */ P("div", {
11422
11446
  onClick: () => {
11423
11447
  !o && s(i);
@@ -11472,7 +11496,7 @@ function _u(e) {
11472
11496
  })]
11473
11497
  });
11474
11498
  }
11475
- function af() {
11499
+ function lf() {
11476
11500
  const e = W(dt), {
11477
11501
  activeKey: t,
11478
11502
  tabs: r,
@@ -11480,7 +11504,7 @@ function af() {
11480
11504
  onChangeTab: o
11481
11505
  } = e || {};
11482
11506
  return /* @__PURE__ */ n(te, {
11483
- children: r.map((s) => /* @__PURE__ */ n(_u, {
11507
+ children: r.map((s) => /* @__PURE__ */ n(Du, {
11484
11508
  tabKey: s.key,
11485
11509
  label: s.title,
11486
11510
  onClose: i,
@@ -11489,7 +11513,7 @@ function af() {
11489
11513
  }, s.key))
11490
11514
  });
11491
11515
  }
11492
- function Du(e) {
11516
+ function Au(e) {
11493
11517
  const {
11494
11518
  tab: t
11495
11519
  } = e, r = W(dt), {
@@ -11502,11 +11526,11 @@ function Du(e) {
11502
11526
  children: t.content
11503
11527
  });
11504
11528
  }
11505
- const Au = Qe.memo(Du, () => !0);
11506
- function lf() {
11529
+ const Ru = Qe.memo(Au, () => !0);
11530
+ function cf() {
11507
11531
  const e = W(dt), {
11508
11532
  tabs: t
11509
- } = e || {}, r = (t == null ? void 0 : t.map((i) => /* @__PURE__ */ n(Au, {
11533
+ } = e || {}, r = (t == null ? void 0 : t.map((i) => /* @__PURE__ */ n(Ru, {
11510
11534
  tab: i
11511
11535
  }, i.key))) || null;
11512
11536
  return /* @__PURE__ */ n(te, {
@@ -11514,8 +11538,8 @@ function lf() {
11514
11538
  });
11515
11539
  }
11516
11540
  const {
11517
- useToken: Ru
11518
- } = Pe, cf = (e) => {
11541
+ useToken: Vu
11542
+ } = Pe, df = (e) => {
11519
11543
  const {
11520
11544
  onRetrieveShortcuts: t,
11521
11545
  onCheckIsFavourite: r,
@@ -11525,7 +11549,7 @@ const {
11525
11549
  t: h
11526
11550
  } = W(ye) || {}, {
11527
11551
  token: g
11528
- } = Ru(), v = W(dt), {
11552
+ } = Vu(), v = W(dt), {
11529
11553
  openShortcut: C,
11530
11554
  tabs: R,
11531
11555
  activeKey: b,
@@ -11712,26 +11736,26 @@ const {
11712
11736
  });
11713
11737
  };
11714
11738
  export {
11715
- Od as ActionBar,
11739
+ Id as ActionBar,
11716
11740
  wd as Binary,
11717
11741
  Is as Boolean,
11718
11742
  io as Button,
11719
11743
  fs as ButtonGroup,
11720
11744
  lo as Char,
11721
- hu as CodeEditor,
11722
- Cu as CommentsTimelineField,
11723
- Nd as ConfigContext,
11745
+ pu as CodeEditor,
11746
+ Su as CommentsTimelineField,
11747
+ Pd as ConfigContext,
11724
11748
  H as ConnectionProvider,
11725
11749
  Sl as ContentRootProvider,
11726
- lf as CurrentTabContent,
11727
- ru as Dashboard,
11728
- zd as DashboardGrid,
11729
- Xd as DashboardGridItem,
11750
+ cf as CurrentTabContent,
11751
+ ou as Dashboard,
11752
+ Jd as DashboardGrid,
11753
+ Qd as DashboardGridItem,
11730
11754
  ud as Date,
11731
11755
  fd as DateTime,
11732
- Dd as Email,
11756
+ Ad as Email,
11733
11757
  dd as ExportModal,
11734
- cf as FavouriteButton,
11758
+ df as FavouriteButton,
11735
11759
  To as Float,
11736
11760
  qc as FloatTime,
11737
11761
  Zt as Form,
@@ -11742,28 +11766,28 @@ export {
11742
11766
  on as Integer,
11743
11767
  mn as Label,
11744
11768
  vc as Many2one,
11745
- su as Markdown,
11746
- ou as MultiCheckbox,
11769
+ au as Markdown,
11770
+ iu as MultiCheckbox,
11747
11771
  Zc as Notebook,
11748
11772
  Uc as One2many,
11749
11773
  Wl as ProgressBar,
11750
- lu as Radio,
11774
+ cu as Radio,
11751
11775
  gd as Reference,
11752
- sf as RootView,
11776
+ af as RootView,
11753
11777
  Fo as SearchFilter,
11754
11778
  ko as SearchModal,
11755
11779
  Vo as SearchTree,
11756
11780
  co as Selection,
11757
11781
  td as Separator,
11758
- fu as Steps,
11759
- du as Switch,
11760
- af as TabSelector,
11782
+ mu as Steps,
11783
+ uu as Switch,
11784
+ lf as TabSelector,
11761
11785
  za as Tag,
11762
11786
  Ja as Tags,
11763
11787
  Qc as Text,
11764
11788
  hd as Time,
11765
11789
  gn as Tree,
11766
- _d as Url,
11790
+ Dd as Url,
11767
11791
  ct as iconMapper,
11768
11792
  zt as showConfirmDialog
11769
11793
  };