@gisce/ooui 2.26.0 → 2.27.0

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/ooui.es.js CHANGED
@@ -653,7 +653,7 @@ const P = class P extends w {
653
653
  };
654
654
  n(P, "_defaultColspan", 3);
655
655
  let M = P;
656
- class B extends w {
656
+ class L extends w {
657
657
  constructor(e) {
658
658
  super(e);
659
659
  n(this, "_loading", !1);
@@ -666,7 +666,7 @@ class B extends w {
666
666
  this._loading = e;
667
667
  }
668
668
  }
669
- class Oe extends B {
669
+ class Oe extends L {
670
670
  constructor(e) {
671
671
  super(e);
672
672
  n(this, "_icon", null);
@@ -679,7 +679,7 @@ class Oe extends B {
679
679
  this._icon = e;
680
680
  }
681
681
  }
682
- class Pe extends B {
682
+ class Pe extends L {
683
683
  constructor(e) {
684
684
  super(e);
685
685
  n(this, "_icon", null);
@@ -807,7 +807,7 @@ class Te extends w {
807
807
  return this._container.rows.flat().filter((e) => !e.invisible);
808
808
  }
809
809
  }
810
- class q extends f {
810
+ class N extends f {
811
811
  constructor(e) {
812
812
  super(e);
813
813
  /**
@@ -850,7 +850,7 @@ class q extends f {
850
850
  this._translatable = e;
851
851
  }
852
852
  }
853
- class L extends f {
853
+ class G extends f {
854
854
  constructor(e) {
855
855
  super(e);
856
856
  /**
@@ -956,7 +956,7 @@ class We extends f {
956
956
  this._relation = e;
957
957
  }
958
958
  }
959
- class Ee extends L {
959
+ class Ee extends G {
960
960
  }
961
961
  class ee extends f {
962
962
  constructor(t) {
@@ -968,7 +968,7 @@ class Ie extends f {
968
968
  super(t);
969
969
  }
970
970
  }
971
- class G extends f {
971
+ class R extends f {
972
972
  constructor(e) {
973
973
  super(e);
974
974
  /**
@@ -1001,11 +1001,11 @@ class G extends f {
1001
1001
  this._decimalDigits = e;
1002
1002
  }
1003
1003
  }
1004
- class Se extends G {
1004
+ class Se extends R {
1005
1005
  }
1006
1006
  class ze extends f {
1007
1007
  }
1008
- class Ve extends G {
1008
+ class Ve extends R {
1009
1009
  }
1010
1010
  class Ye extends f {
1011
1011
  constructor(t) {
@@ -1356,7 +1356,7 @@ class He extends f {
1356
1356
  this._lastStep = e;
1357
1357
  }
1358
1358
  }
1359
- class se extends L {
1359
+ class se extends G {
1360
1360
  constructor(e) {
1361
1361
  super(e);
1362
1362
  n(this, "_lang", null);
@@ -1475,7 +1475,12 @@ class Ze extends w {
1475
1475
  return this._container.rows.flat().filter((e) => !e.invisible);
1476
1476
  }
1477
1477
  }
1478
- class R {
1478
+ class et extends N {
1479
+ get showText() {
1480
+ return this.parsedWidgetProps.show_text ?? !0;
1481
+ }
1482
+ }
1483
+ class $ {
1479
1484
  constructor() {
1480
1485
  /**
1481
1486
  * Widget class
@@ -1497,10 +1502,10 @@ class R {
1497
1502
  this._widgetClass = K;
1498
1503
  break;
1499
1504
  case "char":
1500
- this._widgetClass = q;
1505
+ this._widgetClass = N;
1501
1506
  break;
1502
1507
  case "text":
1503
- this._widgetClass = L;
1508
+ this._widgetClass = G;
1504
1509
  break;
1505
1510
  case "button":
1506
1511
  this._widgetClass = Z;
@@ -1521,7 +1526,7 @@ class R {
1521
1526
  this._widgetClass = Ie;
1522
1527
  break;
1523
1528
  case "float":
1524
- this._widgetClass = G;
1529
+ this._widgetClass = R;
1525
1530
  break;
1526
1531
  case "float_time":
1527
1532
  this._widgetClass = Se;
@@ -1550,7 +1555,7 @@ class R {
1550
1555
  this._widgetClass = je;
1551
1556
  break;
1552
1557
  case "url":
1553
- this._widgetClass = q;
1558
+ this._widgetClass = N;
1554
1559
  break;
1555
1560
  case "email":
1556
1561
  this._widgetClass = Ke;
@@ -1616,11 +1621,14 @@ class R {
1616
1621
  this._widgetClass = J;
1617
1622
  break;
1618
1623
  case "spinner":
1619
- this._widgetClass = B;
1624
+ this._widgetClass = L;
1620
1625
  break;
1621
1626
  case "carousel":
1622
1627
  this._widgetClass = Ze;
1623
1628
  break;
1629
+ case "colorPicker":
1630
+ this._widgetClass = et;
1631
+ break;
1624
1632
  }
1625
1633
  }
1626
1634
  createWidget(t, e) {
@@ -1642,7 +1650,7 @@ class R {
1642
1650
  }
1643
1651
  }
1644
1652
  }
1645
- const et = ({
1653
+ const tt = ({
1646
1654
  fieldName: i,
1647
1655
  values: t,
1648
1656
  fields: e
@@ -1667,7 +1675,7 @@ const et = ({
1667
1675
  r[o] = u.some((_) => _);
1668
1676
  }
1669
1677
  return r;
1670
- }, tt = ({
1678
+ }, it = ({
1671
1679
  states: i,
1672
1680
  values: t
1673
1681
  }) => {
@@ -1676,7 +1684,7 @@ const et = ({
1676
1684
  const e = i.split(",");
1677
1685
  return e.length === 0 ? {} : e.includes(t.state) ? {} : { invisible: !0 };
1678
1686
  };
1679
- function it({
1687
+ function st({
1680
1688
  values: i = {},
1681
1689
  fieldName: t,
1682
1690
  fields: e = {}
@@ -1704,7 +1712,7 @@ const ne = ({
1704
1712
  return d.forEach((c) => {
1705
1713
  const m = c[1];
1706
1714
  if (!c[1].includes("'") && c[1] !== "true" && c[1] !== "false") {
1707
- const p = it({
1715
+ const p = st({
1708
1716
  values: t,
1709
1717
  fields: e,
1710
1718
  fieldName: m === "active_id" ? "id" : m
@@ -1719,7 +1727,7 @@ const ne = ({
1719
1727
  } catch {
1720
1728
  return;
1721
1729
  }
1722
- }, Pt = (i) => {
1730
+ }, Tt = (i) => {
1723
1731
  const t = [];
1724
1732
  try {
1725
1733
  return !i || ae(i) || typeof i != "string" ? t : re(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) => {
@@ -1739,14 +1747,14 @@ function re(i) {
1739
1747
  function ae(i) {
1740
1748
  return typeof i == "object" && i !== null && typeof i != "string";
1741
1749
  }
1742
- const st = (i) => {
1750
+ const nt = (i) => {
1743
1751
  const t = i.trim().replace(")", "").split("("), e = t[0], r = t[1].split(",").map((a) => a.trim());
1744
1752
  return {
1745
1753
  method: e,
1746
1754
  args: r
1747
1755
  };
1748
1756
  };
1749
- function nt(i) {
1757
+ function rt(i) {
1750
1758
  const t = [];
1751
1759
  function e(s) {
1752
1760
  const r = [];
@@ -1758,7 +1766,7 @@ function nt(i) {
1758
1766
  e(s);
1759
1767
  return t.flat();
1760
1768
  }
1761
- class Tt {
1769
+ class Wt {
1762
1770
  constructor(t, e = 4) {
1763
1771
  /**
1764
1772
  * Object containing fields specification of the form.
@@ -1874,7 +1882,7 @@ class Tt {
1874
1882
  container: this._container,
1875
1883
  values: s
1876
1884
  });
1877
- const l = nt(this._container._rows);
1885
+ const l = rt(this._container._rows);
1878
1886
  l.forEach((u) => {
1879
1887
  const _ = u;
1880
1888
  _._id && _._context && (this._contextForFields[_._id] = u._context);
@@ -1885,7 +1893,7 @@ class Tt {
1885
1893
  container: e,
1886
1894
  values: s
1887
1895
  }) {
1888
- const r = new R();
1896
+ const r = new $();
1889
1897
  t.filter((a) => typeof a == "object").forEach((a) => {
1890
1898
  var v, F;
1891
1899
  const { tagName: l, attributes: o, children: u } = a;
@@ -1917,10 +1925,10 @@ class Tt {
1917
1925
  widgetType: l
1918
1926
  });
1919
1927
  let g;
1920
- l === "button" && h.states ? g = tt({
1928
+ l === "button" && h.states ? g = it({
1921
1929
  states: h.states,
1922
1930
  values: s
1923
- }) : g = et({
1931
+ }) : g = tt({
1924
1932
  fieldName: h.name,
1925
1933
  values: s,
1926
1934
  fields: this._fields
@@ -1930,7 +1938,7 @@ class Tt {
1930
1938
  values: s,
1931
1939
  fields: this._fields
1932
1940
  });
1933
- h.on_change && (this._onChangeFields[h.name] = st(
1941
+ h.on_change && (this._onChangeFields[h.name] = nt(
1934
1942
  h.on_change
1935
1943
  ));
1936
1944
  let m;
@@ -1962,7 +1970,7 @@ class Tt {
1962
1970
  function H(i) {
1963
1971
  return i ? Array.isArray(i) && i.length > 0 ? !0 : typeof i == "string" && i !== "" && i !== "[]" : !1;
1964
1972
  }
1965
- class Wt {
1973
+ class Et {
1966
1974
  constructor(t) {
1967
1975
  /**
1968
1976
  * Object containing fields specification of the form.
@@ -2036,7 +2044,7 @@ class Wt {
2036
2044
  parse(t) {
2037
2045
  const e = D.parse(t).filter((r) => r.tagName === "tree")[0];
2038
2046
  this._string = e.attributes.string || null, this._string && (this._string = b(this._string)), this._colors = e.attributes.colors || null, this._colors && (this._colors = b(this._colors)), this._status = e.attributes.status || null, this._status && (this._status = b(this._status)), this._editable = e.attributes.editable || null, this._infinite = e.attributes.infinite || !1;
2039
- const s = new R();
2047
+ const s = new $();
2040
2048
  e.children.forEach((r) => {
2041
2049
  const { tagName: a, attributes: l } = r;
2042
2050
  let o = null;
@@ -2076,7 +2084,7 @@ class Wt {
2076
2084
  return this._columns.find((e) => e.findById ? e.findById(t) : !1);
2077
2085
  }
2078
2086
  }
2079
- const rt = {
2087
+ const at = {
2080
2088
  text: "text",
2081
2089
  many2one: "many2one",
2082
2090
  char: "char",
@@ -2089,7 +2097,7 @@ const rt = {
2089
2097
  date: "date",
2090
2098
  datetime: "datetime"
2091
2099
  };
2092
- class Et {
2100
+ class It {
2093
2101
  constructor(t, e, s = 8) {
2094
2102
  /**
2095
2103
  * Object containing the specific fields for primary and secondary search fields
@@ -2116,7 +2124,7 @@ class Et {
2116
2124
  return this._advancedSearchContainer;
2117
2125
  }
2118
2126
  parse() {
2119
- const t = new R();
2127
+ const t = new $();
2120
2128
  this.parseFields(
2121
2129
  this.searchFields.primary,
2122
2130
  t
@@ -2137,7 +2145,7 @@ class Et {
2137
2145
  colspan: 2
2138
2146
  }, { type: a, widget: l } = r;
2139
2147
  let o = l ?? a;
2140
- return rt[o] === void 0 && (o = a), e.createWidget(o, r);
2148
+ return at[o] === void 0 && (o = a), e.createWidget(o, r);
2141
2149
  });
2142
2150
  }
2143
2151
  /**
@@ -2148,7 +2156,7 @@ class Et {
2148
2156
  return this.advancedSearchContainer.findById(t);
2149
2157
  }
2150
2158
  }
2151
- const It = ({
2159
+ const St = ({
2152
2160
  domain: i,
2153
2161
  widgetFieldName: t
2154
2162
  }) => {
@@ -2163,8 +2171,8 @@ const It = ({
2163
2171
  r.length - 1
2164
2172
  )) : (o = r, u = "id"), o === t && e.push([u, a, l]);
2165
2173
  }), e;
2166
- }, St = (i) => typeof i != "string" ? [] : i.replace(/[()[\]]/g, "").split(",").map((t) => t.trim()).filter((t) => !t.includes("'"));
2167
- class at {
2174
+ }, zt = (i) => typeof i != "string" ? [] : i.replace(/[()[\]]/g, "").split(",").map((t) => t.trim()).filter((t) => !t.includes("'"));
2175
+ class lt {
2168
2176
  constructor(t) {
2169
2177
  n(this, "_action_id", null);
2170
2178
  n(this, "_position", null);
@@ -2177,7 +2185,7 @@ class at {
2177
2185
  return this._position;
2178
2186
  }
2179
2187
  }
2180
- class zt {
2188
+ class Vt {
2181
2189
  constructor(t) {
2182
2190
  n(this, "_string", null);
2183
2191
  n(this, "_items", []);
@@ -2185,7 +2193,7 @@ class zt {
2185
2193
  this._string = e.attributes.string || null;
2186
2194
  const { children: s } = e;
2187
2195
  s.forEach((r) => {
2188
- r.tagName === "dashboard_item" && this._items.push(new at(r.attributes));
2196
+ r.tagName === "dashboard_item" && this._items.push(new lt(r.attributes));
2189
2197
  });
2190
2198
  }
2191
2199
  get string() {
@@ -2249,7 +2257,7 @@ class oe extends le {
2249
2257
  return this._suffix;
2250
2258
  }
2251
2259
  }
2252
- class lt extends oe {
2260
+ class ot extends oe {
2253
2261
  constructor(e, s) {
2254
2262
  super(e, s);
2255
2263
  n(this, "_field");
@@ -2269,7 +2277,7 @@ class lt extends oe {
2269
2277
  return this._operator;
2270
2278
  }
2271
2279
  }
2272
- const ot = (i) => {
2280
+ const ct = (i) => {
2273
2281
  const t = [];
2274
2282
  let e;
2275
2283
  if (i.forEach((s) => {
@@ -2279,10 +2287,10 @@ const ot = (i) => {
2279
2287
  throw new Error(`Field ${l} doesn't have an axis`);
2280
2288
  if (!l)
2281
2289
  throw new Error("Missing name attribute for field");
2282
- r === "x" ? e = new dt({
2290
+ r === "x" ? e = new ht({
2283
2291
  name: l
2284
2292
  }) : r === "y" && t.push(
2285
- new ut({
2293
+ new dt({
2286
2294
  name: l,
2287
2295
  operator: a,
2288
2296
  label: o,
@@ -2305,7 +2313,7 @@ class j extends le {
2305
2313
  n(this, "_x");
2306
2314
  n(this, "_y");
2307
2315
  this._type = e;
2308
- const r = ot(s.children);
2316
+ const r = ct(s.children);
2309
2317
  this._x = r.x, this._y = r.y;
2310
2318
  }
2311
2319
  get x() {
@@ -2315,17 +2323,17 @@ class j extends le {
2315
2323
  return this._y;
2316
2324
  }
2317
2325
  }
2318
- const ct = {
2326
+ const ut = {
2319
2327
  indicator: oe,
2320
- indicatorField: lt,
2328
+ indicatorField: ot,
2321
2329
  line: j,
2322
2330
  bar: j,
2323
2331
  pie: j
2324
- }, Vt = (i) => {
2332
+ }, Yt = (i) => {
2325
2333
  const t = D.parse(i).filter((r) => r.tagName === "graph")[0], e = t.attributes.type;
2326
2334
  if (!e)
2327
2335
  throw new Error(`${e} is not a valid graph`);
2328
- const s = ct[e];
2336
+ const s = ut[e];
2329
2337
  if (!s)
2330
2338
  throw new Error(`${e} not found as a GraphModel`);
2331
2339
  return new s(e, t);
@@ -2343,7 +2351,7 @@ class ce {
2343
2351
  return this._axis;
2344
2352
  }
2345
2353
  }
2346
- class ut extends ce {
2354
+ class dt extends ce {
2347
2355
  constructor({
2348
2356
  name: e,
2349
2357
  operator: s,
@@ -2366,18 +2374,18 @@ class ut extends ce {
2366
2374
  return this._stacked;
2367
2375
  }
2368
2376
  }
2369
- class dt extends ce {
2377
+ class ht extends ce {
2370
2378
  constructor({ name: t }) {
2371
2379
  super({ name: t, axis: "x" });
2372
2380
  }
2373
2381
  }
2374
- const ht = ({ ooui: i }) => {
2382
+ const _t = ({ ooui: i }) => {
2375
2383
  const e = [i.x.name];
2376
2384
  return i.y ? (i.y.forEach((s) => {
2377
2385
  s.operator !== "count" && !e.includes(s.name) && e.push(s.name), s.label && !e.includes(s.label) && e.push(s.label);
2378
2386
  }), e) : [];
2379
2387
  };
2380
- function $({
2388
+ function q({
2381
2389
  fields: i,
2382
2390
  values: t,
2383
2391
  fieldName: e
@@ -2393,27 +2401,27 @@ function $({
2393
2401
  }
2394
2402
  return { value: r, label: r };
2395
2403
  }
2396
- const Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2404
+ const Dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2397
2405
  __proto__: null,
2398
- getFieldsToRetrieve: ht,
2399
- getValueAndLabelForField: $
2406
+ getFieldsToRetrieve: _t,
2407
+ getValueAndLabelForField: q
2400
2408
  }, Symbol.toStringTag, { value: "Module" }));
2401
- function _t({
2409
+ function ft({
2402
2410
  values: i,
2403
2411
  timerange: t,
2404
2412
  interval: e = 1
2405
2413
  }) {
2406
- const s = mt({
2414
+ const s = bt({
2407
2415
  values: i,
2408
2416
  timerange: t
2409
2417
  });
2410
- return ft({
2418
+ return gt({
2411
2419
  values: s,
2412
2420
  timerange: t,
2413
2421
  interval: e
2414
2422
  });
2415
2423
  }
2416
- function ft({
2424
+ function gt({
2417
2425
  values: i,
2418
2426
  timerange: t,
2419
2427
  interval: e = 1
@@ -2431,7 +2439,7 @@ function ft({
2431
2439
  return;
2432
2440
  const d = h.x, g = u[_ + 1].x;
2433
2441
  if (!ue([d, g], a)) {
2434
- const c = gt({
2442
+ const c = mt({
2435
2443
  dates: [d, g],
2436
2444
  timerange: t,
2437
2445
  interval: e
@@ -2448,7 +2456,7 @@ function ft({
2448
2456
  }
2449
2457
  }), s.sort((o, u) => o.x < u.x ? -1 : o.x > u.x ? 1 : 0);
2450
2458
  }
2451
- function gt({
2459
+ function mt({
2452
2460
  dates: i,
2453
2461
  timerange: t,
2454
2462
  interval: e = 1
@@ -2470,11 +2478,11 @@ function gt({
2470
2478
  }
2471
2479
  return s;
2472
2480
  }
2473
- function mt({
2481
+ function bt({
2474
2482
  values: i,
2475
2483
  timerange: t
2476
2484
  }) {
2477
- const e = bt({
2485
+ const e = yt({
2478
2486
  values: i,
2479
2487
  timerange: t
2480
2488
  }), s = [], r = de({
@@ -2492,23 +2500,23 @@ function mt({
2492
2500
  });
2493
2501
  }), s;
2494
2502
  }
2495
- function bt({
2503
+ function yt({
2496
2504
  values: i,
2497
2505
  timerange: t
2498
2506
  }) {
2499
2507
  return i.map((e) => ({
2500
2508
  ...e,
2501
- x: yt({
2509
+ x: pt({
2502
2510
  date: e.x,
2503
2511
  timerange: t
2504
2512
  })
2505
2513
  }));
2506
2514
  }
2507
- function yt({
2515
+ function pt({
2508
2516
  date: i,
2509
2517
  timerange: t
2510
2518
  }) {
2511
- let e = pt(i);
2519
+ let e = xt(i);
2512
2520
  const s = T(i, e);
2513
2521
  switch (t) {
2514
2522
  case "hour": {
@@ -2534,7 +2542,7 @@ function yt({
2534
2542
  }
2535
2543
  return s.format(e);
2536
2544
  }
2537
- function pt(i) {
2545
+ function xt(i) {
2538
2546
  return i.indexOf(":") ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
2539
2547
  }
2540
2548
  function ue(i, t) {
@@ -2575,7 +2583,7 @@ function z(i) {
2575
2583
  return "YYYY-MM-DD HH:mm";
2576
2584
  }
2577
2585
  }
2578
- const xt = {
2586
+ const wt = {
2579
2587
  count: "count",
2580
2588
  "+": "sum",
2581
2589
  "-": "subtract",
@@ -2583,13 +2591,13 @@ const xt = {
2583
2591
  avg: "average",
2584
2592
  min: "min",
2585
2593
  max: "max"
2586
- }, wt = ({
2594
+ }, vt = ({
2587
2595
  ooui: i,
2588
2596
  values: t,
2589
2597
  fields: e,
2590
2598
  options: s
2591
2599
  }) => {
2592
- const r = A({
2600
+ const r = B({
2593
2601
  fieldName: i.x.name,
2594
2602
  values: t,
2595
2603
  fields: e
@@ -2598,13 +2606,13 @@ const xt = {
2598
2606
  Object.keys(r).forEach((m) => {
2599
2607
  const p = r[m].label, y = r[m].entries;
2600
2608
  if (c.label) {
2601
- const v = A({
2609
+ const v = B({
2602
2610
  fieldName: c.label,
2603
2611
  values: y,
2604
2612
  fields: e
2605
2613
  });
2606
2614
  Object.keys(v).forEach((F) => {
2607
- const x = v[F].entries, I = v[F].label, fe = N({
2615
+ const x = v[F].entries, I = v[F].label, fe = A({
2608
2616
  entries: x,
2609
2617
  fields: e,
2610
2618
  fieldName: c.name
@@ -2621,7 +2629,7 @@ const xt = {
2621
2629
  });
2622
2630
  });
2623
2631
  } else {
2624
- const v = N({
2632
+ const v = A({
2625
2633
  entries: y,
2626
2634
  fields: e,
2627
2635
  fieldName: c.name
@@ -2650,7 +2658,7 @@ const xt = {
2650
2658
  (c) => c.x !== !1
2651
2659
  ));
2652
2660
  let d = h;
2653
- i.timerange ? d = _t({
2661
+ i.timerange ? d = ft({
2654
2662
  values: d,
2655
2663
  timerange: i.timerange,
2656
2664
  interval: i.interval
@@ -2668,12 +2676,12 @@ const xt = {
2668
2676
  }
2669
2677
  return g;
2670
2678
  };
2671
- function N({
2679
+ function A({
2672
2680
  entries: i,
2673
2681
  fieldName: t,
2674
2682
  fields: e
2675
2683
  }) {
2676
- return i.map((s) => $({
2684
+ return i.map((s) => q({
2677
2685
  fieldName: t,
2678
2686
  values: s,
2679
2687
  fields: e
@@ -2717,14 +2725,14 @@ function Y({
2717
2725
  function S(i) {
2718
2726
  return Math.round((i + Number.EPSILON) * 100) / 100;
2719
2727
  }
2720
- function A({
2728
+ function B({
2721
2729
  fieldName: i,
2722
2730
  fields: t,
2723
2731
  values: e
2724
2732
  }) {
2725
2733
  const s = {};
2726
2734
  return e.forEach((r) => {
2727
- const { value: a, label: l } = $({
2735
+ const { value: a, label: l } = q({
2728
2736
  fields: t,
2729
2737
  values: r,
2730
2738
  fieldName: i
@@ -2732,7 +2740,7 @@ function A({
2732
2740
  s[a] || (s[a] = { label: l, entries: [] }), s[a].entries.push(r);
2733
2741
  }), s;
2734
2742
  }
2735
- function vt(i) {
2743
+ function Ft(i) {
2736
2744
  let t = [];
2737
2745
  return Object.keys(i).forEach((e) => {
2738
2746
  const s = i[e];
@@ -2755,16 +2763,16 @@ function _e(i, t = 0.1) {
2755
2763
  max: r + a
2756
2764
  };
2757
2765
  }
2758
- const Dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2766
+ const jt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2759
2767
  __proto__: null,
2760
- getAllObjectsInGroupedValues: vt,
2768
+ getAllObjectsInGroupedValues: Ft,
2761
2769
  getMinMax: _e,
2762
2770
  getValueForOperator: Y,
2763
- getValuesForYField: N,
2764
- getValuesGroupedByField: A,
2771
+ getValuesForYField: A,
2772
+ getValuesGroupedByField: B,
2765
2773
  getYAxisFieldname: he,
2766
- labelsForOperator: xt,
2767
- processGraphData: wt
2774
+ labelsForOperator: wt,
2775
+ processGraphData: vt
2768
2776
  }, Symbol.toStringTag, { value: "Module" }));
2769
2777
  export {
2770
2778
  Xe as Alert,
@@ -2774,27 +2782,28 @@ export {
2774
2782
  Z as Button,
2775
2783
  Te as ButtonGroup,
2776
2784
  Ze as Carousel,
2777
- q as Char,
2785
+ N as Char,
2778
2786
  se as CodeEditor,
2787
+ et as ColorPicker,
2779
2788
  Ue as Comments,
2780
2789
  V as Container,
2781
2790
  w as ContainerWidget,
2782
- zt as Dashboard,
2783
- at as DashboardItem,
2791
+ Vt as Dashboard,
2792
+ lt as DashboardItem,
2784
2793
  Ye as Date,
2785
2794
  De as DateTime,
2786
2795
  Ke as Email,
2787
2796
  f as Field,
2788
- G as Float,
2797
+ R as Float,
2789
2798
  Se as FloatTime,
2790
- Tt as Form,
2799
+ Wt as Form,
2791
2800
  le as Graph,
2792
2801
  ce as GraphAxis,
2793
2802
  j as GraphChart,
2794
2803
  oe as GraphIndicator,
2795
- lt as GraphIndicatorField,
2796
- dt as GraphXAxis,
2797
- ut as GraphYAxis,
2804
+ ot as GraphIndicatorField,
2805
+ ht as GraphXAxis,
2806
+ dt as GraphYAxis,
2798
2807
  Pe as Group,
2799
2808
  ze as HTMLPreview,
2800
2809
  Ae as Image,
@@ -2812,26 +2821,26 @@ export {
2812
2821
  Ve as ProgressBar,
2813
2822
  qe as Radio,
2814
2823
  Me as Reference,
2815
- rt as SearchFieldTypes,
2816
- Et as SearchFilter,
2824
+ at as SearchFieldTypes,
2825
+ It as SearchFilter,
2817
2826
  E as Selection,
2818
2827
  je as Separator,
2819
- B as Spinner,
2828
+ L as Spinner,
2820
2829
  He as Steps,
2821
2830
  Je as Switch,
2822
2831
  $e as Tag,
2823
2832
  Re as Tags,
2824
- L as Text,
2833
+ G as Text,
2825
2834
  Qe as Time,
2826
2835
  Le as Timeline,
2827
- Wt as Tree,
2836
+ Et as Tree,
2828
2837
  C as Widget,
2829
- Yt as graphFieldUtils,
2830
- Dt as graphProcessor,
2838
+ Dt as graphFieldUtils,
2839
+ jt as graphProcessor,
2831
2840
  ne as parseContext,
2832
- Pt as parseContextFields,
2833
- St as parseDomainFields,
2834
- Vt as parseGraph,
2835
- It as transformDomainForChildWidget
2841
+ Tt as parseContextFields,
2842
+ zt as parseDomainFields,
2843
+ Yt as parseGraph,
2844
+ St as transformDomainForChildWidget
2836
2845
  };
2837
2846
  //# sourceMappingURL=ooui.es.js.map