@gisce/ooui 2.31.0-alpha.3 → 2.31.0-alpha.4

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.
@@ -16,6 +16,8 @@ declare class Many2one extends Field {
16
16
  get relation(): string;
17
17
  set relation(value: string);
18
18
  get showFolder(): boolean;
19
+ get showSearch(): boolean;
20
+ get showMenu(): boolean;
19
21
  constructor(props: any);
20
22
  }
21
23
  export default Many2one;
@@ -1 +1 @@
1
- {"version":3,"file":"Many2one.d.ts","sourceRoot":"","sources":["../src/Many2one.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B;;GAEG;AACH,cAAM,QAAS,SAAQ,KAAK;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAO;IACpB,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,EAErB;IAED;;OAEG;IACH,SAAS,EAAE,MAAM,CAAM;IACvB,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED,IAAI,UAAU,IAAI,OAAO,CAExB;gBAEW,KAAK,EAAE,GAAG;CAavB;AAED,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Many2one.d.ts","sourceRoot":"","sources":["../src/Many2one.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B;;GAEG;AACH,cAAM,QAAS,SAAQ,KAAK;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAO;IACpB,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,EAErB;IAED;;OAEG;IACH,SAAS,EAAE,MAAM,CAAM;IACvB,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED,IAAI,UAAU,IAAI,OAAO,CAExB;IAED,IAAI,UAAU,IAAI,OAAO,CAExB;IAED,IAAI,QAAQ,IAAI,OAAO,CAEtB;gBAEW,KAAK,EAAE,GAAG;CAavB;AAED,eAAe,QAAQ,CAAC"}
package/dist/ooui.es.js CHANGED
@@ -67,12 +67,12 @@ const we = (i = !1) => (i = JSON.parse(i.toString().toLowerCase()), +i > 0), ve
67
67
  fields: e,
68
68
  widgetType: s
69
69
  }) => {
70
- const d = i.replace(/\(/g, "[").replace(/\)/g, "]").replace(/'/g, '"').replace(/True/g, "true").replace(/False/g, "false"), _ = m(d), h = JSON.parse(_), u = {};
70
+ const u = i.replace(/\(/g, "[").replace(/\)/g, "]").replace(/'/g, '"').replace(/True/g, "true").replace(/False/g, "false"), _ = m(u), h = JSON.parse(_), d = {};
71
71
  for (const g of Object.keys(h)) {
72
72
  const p = h[g].map((y) => ve({ entry: y, values: t, fields: e })).every((y) => y);
73
- p ? u[g] = !0 : g === "readonly" && !p && s === "button" && (u[g] = !1);
73
+ p ? d[g] = !0 : g === "readonly" && !p && s === "button" && (d[g] = !1);
74
74
  }
75
- return u;
75
+ return d;
76
76
  }, U = (i) => {
77
77
  if (i === void 0)
78
78
  return {};
@@ -95,21 +95,21 @@ const we = (i = !1) => (i = JSON.parse(i.toString().toLowerCase()), +i > 0), ve
95
95
  n.replace(/'/g, '"')
96
96
  ), l = {};
97
97
  for (const o of Object.keys(a)) {
98
- const d = xe({
98
+ const u = xe({
99
99
  object: t,
100
100
  condition: a[o],
101
101
  evaluateFieldComparison: ({
102
102
  fieldName: _,
103
103
  valueInObject: h,
104
- expectedValue: u
104
+ expectedValue: d
105
105
  }) => X({
106
106
  fieldName: _,
107
107
  valueInObject: h,
108
- expectedValue: u,
108
+ expectedValue: d,
109
109
  fields: e
110
110
  })
111
111
  });
112
- d ? l[o] = !0 : o === "readonly" && !d && s === "button" && (l[o] = !1);
112
+ u ? l[o] = !0 : o === "readonly" && !u && s === "button" && (l[o] = !1);
113
113
  }
114
114
  return l;
115
115
  } catch (n) {
@@ -567,7 +567,7 @@ class V {
567
567
  }), e;
568
568
  }
569
569
  }
570
- const O = class O extends C {
570
+ const P = class P extends C {
571
571
  constructor(e) {
572
572
  super(e);
573
573
  /**
@@ -590,7 +590,7 @@ const O = class O extends C {
590
590
  r(this, "_label", "");
591
591
  this._container = new V(
592
592
  e == null ? void 0 : e.col,
593
- O._defaultColspan,
593
+ P._defaultColspan,
594
594
  this.readOnly,
595
595
  e == null ? void 0 : e.key
596
596
  ), e && (e.name && (this._id = e.name), e.colspan ? this._container.colspan = +e.colspan : this._mustExpand = !0, e.string && (this._label = m(e.string)));
@@ -602,10 +602,10 @@ const O = class O extends C {
602
602
  this._id = e;
603
603
  }
604
604
  static get defaultColspan() {
605
- return O._defaultColspan;
605
+ return P._defaultColspan;
606
606
  }
607
607
  static set defaultColspan(e) {
608
- O._defaultColspan = e;
608
+ P._defaultColspan = e;
609
609
  }
610
610
  get container() {
611
611
  return this._container;
@@ -639,20 +639,20 @@ const O = class O extends C {
639
639
  return e === this.id ? this : this.container.findById(e);
640
640
  }
641
641
  };
642
- r(O, "_defaultColspan", 6);
643
- let w = O;
644
- const P = class P extends w {
642
+ r(P, "_defaultColspan", 6);
643
+ let w = P;
644
+ const O = class O extends w {
645
645
  constructor(e) {
646
646
  super(e);
647
647
  r(this, "_tabPosition", "top");
648
648
  r(this, "_pages", []);
649
- this.colspan = P._defaultColspan, e && (e.colspan && (this.colspan = e.colspan), e.tabpos && (this._tabPosition = e.tabpos));
649
+ this.colspan = O._defaultColspan, e && (e.colspan && (this.colspan = e.colspan), e.tabpos && (this._tabPosition = e.tabpos));
650
650
  }
651
651
  static get defaultColspan() {
652
- return P._defaultColspan;
652
+ return O._defaultColspan;
653
653
  }
654
654
  static set defaultColspan(e) {
655
- P._defaultColspan = e;
655
+ O._defaultColspan = e;
656
656
  }
657
657
  get tabPosition() {
658
658
  return this._tabPosition;
@@ -664,8 +664,8 @@ const P = class P extends w {
664
664
  return [].concat.apply([], this._container.rows);
665
665
  }
666
666
  };
667
- r(P, "_defaultColspan", 3);
668
- let M = P;
667
+ r(O, "_defaultColspan", 3);
668
+ let M = O;
669
669
  class L extends w {
670
670
  constructor(e) {
671
671
  super(e);
@@ -679,7 +679,7 @@ class L extends w {
679
679
  this._loading = e;
680
680
  }
681
681
  }
682
- class Oe extends L {
682
+ class Pe extends L {
683
683
  constructor(e) {
684
684
  super(e);
685
685
  r(this, "_icon", null);
@@ -692,7 +692,7 @@ class Oe extends L {
692
692
  this._icon = e;
693
693
  }
694
694
  }
695
- class Pe extends L {
695
+ class Oe extends L {
696
696
  constructor(e) {
697
697
  var s;
698
698
  super(e);
@@ -980,6 +980,12 @@ class Te extends f {
980
980
  get showFolder() {
981
981
  return this.parsedWidgetProps.showFolder ?? !0;
982
982
  }
983
+ get showSearch() {
984
+ return this.parsedWidgetProps.showSearch ?? !0;
985
+ }
986
+ get showMenu() {
987
+ return this.parsedWidgetProps.showMenu ?? !0;
988
+ }
983
989
  }
984
990
  class Ie extends G {
985
991
  }
@@ -1526,10 +1532,10 @@ class $ {
1526
1532
  this._widgetClass = M;
1527
1533
  break;
1528
1534
  case "page":
1529
- this._widgetClass = Oe;
1535
+ this._widgetClass = Pe;
1530
1536
  break;
1531
1537
  case "group":
1532
- this._widgetClass = Pe;
1538
+ this._widgetClass = Oe;
1533
1539
  break;
1534
1540
  case "label":
1535
1541
  this._widgetClass = Z;
@@ -1697,15 +1703,15 @@ const tt = ({
1697
1703
  const n = {}, a = {};
1698
1704
  for (const o of Object.keys(s))
1699
1705
  if (t.state === o) {
1700
- const d = s[o];
1701
- for (const _ of d) {
1702
- const [h, u] = _;
1703
- a[h] || (a[h] = []), a[h].push(u);
1706
+ const u = s[o];
1707
+ for (const _ of u) {
1708
+ const [h, d] = _;
1709
+ a[h] || (a[h] = []), a[h].push(d);
1704
1710
  }
1705
1711
  }
1706
1712
  for (const o of Object.keys(a)) {
1707
- const d = a[o];
1708
- n[o] = d.some((_) => _);
1713
+ const u = a[o];
1714
+ n[o] = u.some((_) => _);
1709
1715
  }
1710
1716
  return n;
1711
1717
  }, it = ({
@@ -1741,8 +1747,8 @@ const ne = ({
1741
1747
  return s;
1742
1748
  if (i.trim().length === 0)
1743
1749
  return;
1744
- const u = i.replace(/"/g, "'").replace(/\s/g, "").replace(/True/g, "true").replace(/False/g, "false").replace(/\{/g, "").replace(/\}/g, "").split(",").map((c) => c.split(":")), g = {};
1745
- return u.forEach((c) => {
1750
+ const d = i.replace(/"/g, "'").replace(/\s/g, "").replace(/True/g, "true").replace(/False/g, "false").replace(/\{/g, "").replace(/\}/g, "").split(",").map((c) => c.split(":")), g = {};
1751
+ return d.forEach((c) => {
1746
1752
  const b = c[1];
1747
1753
  if (!c[1].includes("'") && c[1] !== "true" && c[1] !== "false") {
1748
1754
  const p = st({
@@ -1763,8 +1769,8 @@ const ne = ({
1763
1769
  }, Wt = (i) => {
1764
1770
  const t = [];
1765
1771
  try {
1766
- return !i || le(i) || typeof i != "string" ? t : ae(i) !== null ? [] : (i.trim().length === 0 || i.replace(/"/g, "'").replace(/\s/g, "").replace(/True/g, "true").replace(/False/g, "false").replace(/\{/g, "").replace(/\}/g, "").split(",").map((u) => u.split(":")).forEach((u) => {
1767
- !u[1].includes("'") && u[1] !== "true" && u[1] !== "false" && t.push(u[1].replace(/'/g, ""));
1772
+ return !i || le(i) || typeof i != "string" ? t : ae(i) !== null ? [] : (i.trim().length === 0 || i.replace(/"/g, "'").replace(/\s/g, "").replace(/True/g, "true").replace(/False/g, "false").replace(/\{/g, "").replace(/\}/g, "").split(",").map((d) => d.split(":")).forEach((d) => {
1773
+ !d[1].includes("'") && d[1] !== "true" && d[1] !== "false" && t.push(d[1].replace(/'/g, ""));
1768
1774
  }), t);
1769
1775
  } catch {
1770
1776
  }
@@ -1909,17 +1915,17 @@ class Tt {
1909
1915
  }
1910
1916
  parse(t, e) {
1911
1917
  var o;
1912
- const { values: s = {}, readOnly: n = !1 } = e || {}, a = D.parse(t).filter((d) => d.tagName === "form")[0];
1918
+ const { values: s = {}, readOnly: n = !1 } = e || {}, a = D.parse(t).filter((u) => u.tagName === "form")[0];
1913
1919
  this._string = ((o = a.attributes) == null ? void 0 : o.string) || null, this._string && (this._string = m(this._string)), this._readOnly = n, this._context = s.id ? { active_id: s.id, active_ids: [s.id] } : {}, this._invisibleFields = [], this.parseNode({
1914
1920
  fields: a.children,
1915
1921
  container: this._container,
1916
1922
  values: s
1917
1923
  });
1918
1924
  const l = nt(this._container._rows);
1919
- l.forEach((d) => {
1920
- const _ = d;
1921
- _._id && _._context && (this._contextForFields[_._id] = d._context);
1922
- }), this._autorefreshableFields = l.filter((d) => d instanceof f && d.autoRefresh).map((d) => d._id);
1925
+ l.forEach((u) => {
1926
+ const _ = u;
1927
+ _._id && _._context && (this._contextForFields[_._id] = u._context);
1928
+ }), this._autorefreshableFields = l.filter((u) => u instanceof f && u.autoRefresh).map((u) => u._id);
1923
1929
  }
1924
1930
  parseNode({
1925
1931
  fields: t,
@@ -1929,7 +1935,7 @@ class Tt {
1929
1935
  const n = new $();
1930
1936
  t.filter((a) => typeof a == "object").forEach((a) => {
1931
1937
  var v, F;
1932
- const { tagName: l, attributes: o, children: d } = a;
1938
+ const { tagName: l, attributes: o, children: u } = a;
1933
1939
  let _ = l, h = o;
1934
1940
  if (l === "field") {
1935
1941
  const { name: x, widget: E } = o;
@@ -1951,7 +1957,7 @@ class Tt {
1951
1957
  fieldsWidgetType: this._fields[x].type
1952
1958
  };
1953
1959
  }
1954
- const u = Ce({
1960
+ const d = Ce({
1955
1961
  tagAttributes: h,
1956
1962
  values: s,
1957
1963
  fields: this._fields,
@@ -1977,7 +1983,7 @@ class Tt {
1977
1983
  let b;
1978
1984
  Q(h.domain) ? b = h.domain : Q((F = this._fields[h.name]) == null ? void 0 : F.domain) && (b = this._fields[h.name].domain), this._keyIdx = this._keyIdx + 1;
1979
1985
  const p = {
1980
- ...u,
1986
+ ...d,
1981
1987
  ...g,
1982
1988
  context: c,
1983
1989
  domain: b,
@@ -1986,7 +1992,7 @@ class Tt {
1986
1992
  e.readOnly && (p.readonly = !0);
1987
1993
  const y = n.createWidget(_, p);
1988
1994
  y.invisible && y instanceof f && this._invisibleFields.push(p.name), y instanceof w && this.parseNode({
1989
- fields: d,
1995
+ fields: u,
1990
1996
  container: y.container,
1991
1997
  values: s
1992
1998
  }), y instanceof ee && y.readOnly !== void 0 || (y.readOnly = y.readOnly || this.readOnly), e.addWidget(y);
@@ -2082,30 +2088,30 @@ class It {
2082
2088
  const { tagName: a, attributes: l } = n;
2083
2089
  let o = null;
2084
2090
  if (a === "field") {
2085
- const { name: d, widget: _ } = l;
2091
+ const { name: u, widget: _ } = l;
2086
2092
  let h = l;
2087
- if (d) {
2088
- if (!this._fields[d])
2089
- throw new Error(`Field ${d} doesn't exist in fields defintion`);
2090
- const u = this._fields[d];
2091
- o = u.type, (Array.isArray(u == null ? void 0 : u.domain) && (u == null ? void 0 : u.domain.length) === 0 || (u == null ? void 0 : u.domain) === !1) && l.domain && l.domain.length > 0 && delete u.domain;
2093
+ if (u) {
2094
+ if (!this._fields[u])
2095
+ throw new Error(`Field ${u} doesn't exist in fields defintion`);
2096
+ const d = this._fields[u];
2097
+ o = d.type, (Array.isArray(d == null ? void 0 : d.domain) && (d == null ? void 0 : d.domain.length) === 0 || (d == null ? void 0 : d.domain) === !1) && l.domain && l.domain.length > 0 && delete d.domain;
2092
2098
  const g = ne({
2093
- context: l.context || u.context,
2099
+ context: l.context || d.context,
2094
2100
  values: {},
2095
2101
  fields: this._fields
2096
2102
  });
2097
2103
  h = {
2098
- ...u,
2104
+ ...d,
2099
2105
  ...l,
2100
- fieldsWidgetType: u == null ? void 0 : u.type,
2106
+ fieldsWidgetType: d == null ? void 0 : d.type,
2101
2107
  context: g
2102
- }, this._contextForFields[d] = g;
2108
+ }, this._contextForFields[u] = g;
2103
2109
  }
2104
2110
  if (_ && (o = _), !h.invisible) {
2105
- const u = s.createWidget(o, h);
2106
- this._columns.push(u);
2111
+ const d = s.createWidget(o, h);
2112
+ this._columns.push(d);
2107
2113
  }
2108
- W(h.autorefresh) && this._autorefreshableFields.push(d);
2114
+ W(h.autorefresh) && this._autorefreshableFields.push(u);
2109
2115
  }
2110
2116
  });
2111
2117
  }
@@ -2198,11 +2204,11 @@ const St = ({
2198
2204
  if (!Array.isArray(s))
2199
2205
  return;
2200
2206
  const [n, a, l] = s;
2201
- let o, d;
2202
- n.indexOf(".") !== -1 ? (o = n.substr(0, n.indexOf(".")), d = n.substr(
2207
+ let o, u;
2208
+ n.indexOf(".") !== -1 ? (o = n.substr(0, n.indexOf(".")), u = n.substr(
2203
2209
  n.indexOf(".") + 1,
2204
2210
  n.length - 1
2205
- )) : (o = n, d = "id"), o === t && e.push([d, a, l]);
2211
+ )) : (o = n, u = "id"), o === t && e.push([u, a, l]);
2206
2212
  }), e;
2207
2213
  }, zt = (i) => typeof i != "string" ? [] : i.replace(/[()[\]]/g, "").split(",").map((t) => t.trim()).filter((t) => !t.includes("'"));
2208
2214
  class lt {
@@ -2315,7 +2321,7 @@ const ct = (i) => {
2315
2321
  let e;
2316
2322
  if (i.forEach((s) => {
2317
2323
  if (s.tagName === "field") {
2318
- const n = s.attributes.axis, a = s.attributes.operator, l = s.attributes.name, o = s.attributes.label || void 0, d = s.attributes.stacked || void 0;
2324
+ const n = s.attributes.axis, a = s.attributes.operator, l = s.attributes.name, o = s.attributes.label || void 0, u = s.attributes.stacked || void 0;
2319
2325
  if (!n)
2320
2326
  throw new Error(`Field ${l} doesn't have an axis`);
2321
2327
  if (!l)
@@ -2323,11 +2329,11 @@ const ct = (i) => {
2323
2329
  n === "x" ? e = new ht({
2324
2330
  name: l
2325
2331
  }) : n === "y" && t.push(
2326
- new ut({
2332
+ new dt({
2327
2333
  name: l,
2328
2334
  operator: a,
2329
2335
  label: o,
2330
- stacked: d
2336
+ stacked: u
2331
2337
  })
2332
2338
  );
2333
2339
  }
@@ -2356,7 +2362,7 @@ class j extends oe {
2356
2362
  return this._y;
2357
2363
  }
2358
2364
  }
2359
- const dt = {
2365
+ const ut = {
2360
2366
  indicator: ce,
2361
2367
  indicatorField: ot,
2362
2368
  line: j,
@@ -2366,12 +2372,12 @@ const dt = {
2366
2372
  const t = D.parse(i).filter((n) => n.tagName === "graph")[0], e = t.attributes.type;
2367
2373
  if (!e)
2368
2374
  throw new Error(`${e} is not a valid graph`);
2369
- const s = dt[e];
2375
+ const s = ut[e];
2370
2376
  if (!s)
2371
2377
  throw new Error(`${e} not found as a GraphModel`);
2372
2378
  return new s(e, t);
2373
2379
  };
2374
- class de {
2380
+ class ue {
2375
2381
  constructor({ name: t, axis: e }) {
2376
2382
  r(this, "_name");
2377
2383
  r(this, "_axis");
@@ -2384,7 +2390,7 @@ class de {
2384
2390
  return this._axis;
2385
2391
  }
2386
2392
  }
2387
- class ut extends de {
2393
+ class dt extends ue {
2388
2394
  constructor({
2389
2395
  name: e,
2390
2396
  operator: s,
@@ -2407,7 +2413,7 @@ class ut extends de {
2407
2413
  return this._stacked;
2408
2414
  }
2409
2415
  }
2410
- class ht extends de {
2416
+ class ht extends ue {
2411
2417
  constructor({ name: t }) {
2412
2418
  super({ name: t, axis: "x" });
2413
2419
  }
@@ -2465,15 +2471,15 @@ function gt({
2465
2471
  groupBy: "type-stacked"
2466
2472
  }), a = `${t}s`;
2467
2473
  return Object.keys(n).forEach((o) => {
2468
- const d = n[o];
2469
- for (let _ = 0; _ < d.length; _++) {
2470
- const h = d[_];
2471
- if (s.push(h), _ === d.length - 1)
2474
+ const u = n[o];
2475
+ for (let _ = 0; _ < u.length; _++) {
2476
+ const h = u[_];
2477
+ if (s.push(h), _ === u.length - 1)
2472
2478
  return;
2473
- const u = h.x, g = d[_ + 1].x;
2474
- if (!ue([u, g], a)) {
2479
+ const d = h.x, g = u[_ + 1].x;
2480
+ if (!de([d, g], a)) {
2475
2481
  const c = mt({
2476
- dates: [u, g],
2482
+ dates: [d, g],
2477
2483
  timerange: t,
2478
2484
  interval: e
2479
2485
  });
@@ -2487,7 +2493,7 @@ function gt({
2487
2493
  );
2488
2494
  }
2489
2495
  }
2490
- }), s.sort((o, d) => o.x < d.x ? -1 : o.x > d.x ? 1 : 0);
2496
+ }), s.sort((o, u) => o.x < u.x ? -1 : o.x > u.x ? 1 : 0);
2491
2497
  }
2492
2498
  function mt({
2493
2499
  dates: i,
@@ -2499,12 +2505,12 @@ function mt({
2499
2505
  return i;
2500
2506
  const a = i.sort((l, o) => l < o ? -1 : l > o ? 1 : 0);
2501
2507
  for (let l = 0; l < a.length - 1; l++) {
2502
- const o = a[l], d = a[l + 1];
2503
- if (!ue([o, d], n)) {
2508
+ const o = a[l], u = a[l + 1];
2509
+ if (!de([o, u], n)) {
2504
2510
  const _ = T(o, z(n)).add(
2505
2511
  e,
2506
2512
  n
2507
- ), h = T(d, z(n));
2513
+ ), h = T(u, z(n));
2508
2514
  for (; _.isBefore(h); )
2509
2515
  s.push(_.format(z(n))), _.add(e, n);
2510
2516
  }
@@ -2523,13 +2529,13 @@ function bt({
2523
2529
  groupBy: "all"
2524
2530
  });
2525
2531
  return Object.keys(n).forEach((a) => {
2526
- const l = n[a], o = l[0].operator === "count" ? "+" : l[0].operator, d = Y({
2532
+ const l = n[a], o = l[0].operator === "count" ? "+" : l[0].operator, u = Y({
2527
2533
  values: l.map((_) => _.value),
2528
2534
  operator: o
2529
2535
  });
2530
2536
  s.push({
2531
2537
  ...l[0],
2532
- value: d
2538
+ value: u
2533
2539
  });
2534
2540
  }), s;
2535
2541
  }
@@ -2578,7 +2584,7 @@ function pt({
2578
2584
  function xt(i) {
2579
2585
  return i.indexOf(":") ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
2580
2586
  }
2581
- function ue(i, t) {
2587
+ function de(i, t) {
2582
2588
  let e = !1;
2583
2589
  const s = z(t);
2584
2590
  if (i.length === 0)
@@ -2690,21 +2696,21 @@ const wt = {
2690
2696
  i.type === "pie" && h.some((c) => c.x === !1) ? h = h.map((c) => c.x === !1 ? { ...c, x: (s == null ? void 0 : s.uninformedString) || "Not informed" } : c) : _.some((c) => c.x === !1) && (h = h.filter(
2691
2697
  (c) => c.x !== !1
2692
2698
  ));
2693
- let u = h;
2694
- i.timerange ? u = ft({
2695
- values: u,
2699
+ let d = h;
2700
+ i.timerange ? d = ft({
2701
+ values: d,
2696
2702
  timerange: i.timerange,
2697
2703
  interval: i.interval
2698
- }) : i.type == "pie" && (u = h.sort((c, b) => b.value - c.value));
2704
+ }) : i.type == "pie" && (d = h.sort((c, b) => b.value - c.value));
2699
2705
  const g = {
2700
- data: u,
2706
+ data: d,
2701
2707
  isGroup: o || l,
2702
2708
  isStack: o
2703
2709
  };
2704
2710
  if (i.type === "line" && i.y_range && (g.yAxisOpts = {
2705
2711
  mode: i.y_range
2706
2712
  }, i.y_range === "auto")) {
2707
- const { min: c, max: b } = fe(u);
2713
+ const { min: c, max: b } = fe(d);
2708
2714
  g.yAxisOpts.valueOpts = { min: c, max: b };
2709
2715
  }
2710
2716
  return g;
@@ -2831,13 +2837,13 @@ export {
2831
2837
  Se as FloatTime,
2832
2838
  Tt as Form,
2833
2839
  oe as Graph,
2834
- de as GraphAxis,
2840
+ ue as GraphAxis,
2835
2841
  j as GraphChart,
2836
2842
  ce as GraphIndicator,
2837
2843
  ot as GraphIndicatorField,
2838
2844
  ht as GraphXAxis,
2839
- ut as GraphYAxis,
2840
- Pe as Group,
2845
+ dt as GraphYAxis,
2846
+ Oe as Group,
2841
2847
  ze as HTMLPreview,
2842
2848
  Ne as Image,
2843
2849
  Ge as Indicator,
@@ -2850,7 +2856,7 @@ export {
2850
2856
  K as NewLine,
2851
2857
  M as Notebook,
2852
2858
  ie as One2many,
2853
- Oe as Page,
2859
+ Pe as Page,
2854
2860
  Ve as ProgressBar,
2855
2861
  qe as Radio,
2856
2862
  Me as Reference,