@gisce/ooui 2.33.0 → 2.35.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.
@@ -48,9 +48,9 @@ declare class One2many extends Field {
48
48
  /**
49
49
  * Infinite mode
50
50
  */
51
- _infinite: boolean;
52
- get infinite(): boolean;
53
- set infinite(value: boolean);
51
+ _infinite: string | boolean | undefined;
52
+ get infinite(): string | boolean | undefined;
53
+ set infinite(value: string | undefined);
54
54
  constructor(props: any);
55
55
  }
56
56
  export default One2many;
@@ -1 +1 @@
1
- {"version":3,"file":"One2many.d.ts","sourceRoot":"","sources":["../src/One2many.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;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,IAAI,SAAS,IAAI,MAAM,GAAG,SAAS,CAElC;IAED,IAAI,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAEtC;IAED;;OAEG;IACH,MAAM,EAAE,GAAG,CAAQ;IACnB,IAAI,KAAK,IAAI,GAAG,CAEf;IAED,IAAI,KAAK,CAAC,KAAK,EAAE,GAAG,EAEnB;IAED;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAM;IACrB,IAAI,IAAI,IAAI,MAAM,EAAE,CAEnB;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,EAEvB;IAED;;OAEG;IACH,WAAW,EAAE,OAAO,CAAS;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,EAAE,MAAM,EAAE,EAEvB;IAED;;OAEG;IACH,WAAW,EAAE,OAAO,CAAS;IAC7B,IAAI,UAAU,IAAI,OAAO,CAExB;IAED,IAAI,UAAU,CAAC,KAAK,EAAE,OAAO,EAE5B;IAED;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,MAAM,IAAI,MAAM,GAAG,SAAS,CAE/B;IAED,IAAI,MAAM,CAAC,KAAK,EAAE,MAAM,EAEvB;IAED;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAa;IACpD,IAAI,QAAQ,IAAI,MAAM,GAAG,OAAO,GAAG,SAAS,CAE3C;IAED,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAErC;gBAEW,KAAK,EAAE,GAAG;CA2CvB;AAED,eAAe,QAAQ,CAAC"}
package/dist/Widget.d.ts CHANGED
@@ -53,6 +53,8 @@ declare abstract class Widget {
53
53
  _isFunction: boolean | undefined;
54
54
  get isFunction(): boolean | undefined;
55
55
  set isFunction(value: boolean | undefined);
56
+ _isSortable: boolean;
57
+ get isSortable(): boolean;
56
58
  /**
57
59
  * Base type of the field
58
60
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Widget.d.ts","sourceRoot":"","sources":["../src/Widget.ts"],"names":[],"mappings":"AAGA,uBAAe,MAAM;IACnB;;OAEG;IACH,MAAM,CAAC,eAAe,EAAE,MAAM,CAAK;IACnC,MAAM,KAAK,cAAc,WAExB;IAED,MAAM,KAAK,cAAc,CAAC,KAAK,QAAA,EAE9B;IAED;;OAEG;IACH,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,IAAI,QAAQ,IAAI,OAAO,GAAG,SAAS,CAElC;IAED,IAAI,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,EAEtC;IAED;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,I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,iBAAiB,IAAI,GAAG,CAE3B;IAED,IAAI,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAE/B;IAED,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,IAAI,UAAU,IAAI,OAAO,GAAG,SAAS,CAEpC;IAED,IAAI,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,EAExC;IAED,WAAW,EAAE,OAAO,CAAS;IAC7B,IAAI,UAAU,IAAI,OAAO,CAExB;IAED;;OAEG;IACH,UAAU,EAAE,MAAM,CAAM;IACxB,IAAI,SAAS,IAAI,MAAM,CAEtB;gBAEW,KAAK,CAAC,EAAE,GAAG;IAmDvB,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;CAC7C;AAED,eAAe,MAAM,CAAC"}
package/dist/ooui.es.js CHANGED
@@ -189,11 +189,12 @@ const we = (i = !1) => (i = JSON.parse(i.toString().toLowerCase()), +i > 0), Fe
189
189
  r(this, "_key");
190
190
  r(this, "_parsedWidgetProps", {});
191
191
  r(this, "_isFunction");
192
+ r(this, "_isSortable", !1);
192
193
  /**
193
194
  * Base type of the field
194
195
  */
195
196
  r(this, "_fieldType", "");
196
- this._colspan = k._defaultColspan, this._invisible = !1, t && (t.colspan && (this._colspan = +t.colspan), t.readonly !== void 0 && (this._readOnly = W(t.readonly)), t.invisible && (t.invisible === 1 || t.invisible === "1" || t.invisible === !0) && (this._invisible = !0), t.type && (this._type = t.type), t.context && (this._context = t.context), t.domain && (typeof t.domain != "string" ? this._domain = m(JSON.stringify(t.domain)) : this._domain = m(t.domain)), t.type && (this._fieldType = t.fieldsWidgetType), t.widget_props && (this._parsedWidgetProps = U(t.widget_props)), t.key && (this._key = t.key), t.is_function && (this._isFunction = t.is_function));
197
+ this._colspan = k._defaultColspan, this._invisible = !1, t && (t.colspan && (this._colspan = +t.colspan), t.readonly !== void 0 && (this._readOnly = W(t.readonly)), t.invisible && (t.invisible === 1 || t.invisible === "1" || t.invisible === !0) && (this._invisible = !0), t.type && (this._type = t.type), t.context && (this._context = t.context), t.domain && (typeof t.domain != "string" ? this._domain = m(JSON.stringify(t.domain)) : this._domain = m(t.domain)), t.type && (this._fieldType = t.fieldsWidgetType), t.widget_props && (this._parsedWidgetProps = U(t.widget_props)), t.key && (this._key = t.key), t.is_function && (this._isFunction = t.is_function), t.is_sortable && (this._isSortable = t.is_sortable));
197
198
  }
198
199
  static get defaultColspan() {
199
200
  return k._defaultColspan;
@@ -255,6 +256,9 @@ const we = (i = !1) => (i = JSON.parse(i.toString().toLowerCase()), +i > 0), Fe
255
256
  set isFunction(t) {
256
257
  this._isFunction = t;
257
258
  }
259
+ get isSortable() {
260
+ return this._isSortable;
261
+ }
258
262
  get fieldType() {
259
263
  return this._fieldType;
260
264
  }
@@ -567,7 +571,7 @@ class V {
567
571
  }), e;
568
572
  }
569
573
  }
570
- const P = class P extends C {
574
+ const O = class O extends C {
571
575
  constructor(e) {
572
576
  super(e);
573
577
  /**
@@ -590,7 +594,7 @@ const P = class P extends C {
590
594
  r(this, "_label", "");
591
595
  this._container = new V(
592
596
  e == null ? void 0 : e.col,
593
- P._defaultColspan,
597
+ O._defaultColspan,
594
598
  this.readOnly,
595
599
  e == null ? void 0 : e.key
596
600
  ), 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 +606,10 @@ const P = class P extends C {
602
606
  this._id = e;
603
607
  }
604
608
  static get defaultColspan() {
605
- return P._defaultColspan;
609
+ return O._defaultColspan;
606
610
  }
607
611
  static set defaultColspan(e) {
608
- P._defaultColspan = e;
612
+ O._defaultColspan = e;
609
613
  }
610
614
  get container() {
611
615
  return this._container;
@@ -639,20 +643,20 @@ const P = class P extends C {
639
643
  return e === this.id ? this : this.container.findById(e);
640
644
  }
641
645
  };
642
- r(P, "_defaultColspan", 6);
643
- let w = P;
644
- const O = class O extends w {
646
+ r(O, "_defaultColspan", 6);
647
+ let w = O;
648
+ const P = class P extends w {
645
649
  constructor(e) {
646
650
  super(e);
647
651
  r(this, "_tabPosition", "top");
648
652
  r(this, "_pages", []);
649
- this.colspan = O._defaultColspan, e && (e.colspan && (this.colspan = e.colspan), e.tabpos && (this._tabPosition = e.tabpos));
653
+ this.colspan = P._defaultColspan, e && (e.colspan && (this.colspan = e.colspan), e.tabpos && (this._tabPosition = e.tabpos));
650
654
  }
651
655
  static get defaultColspan() {
652
- return O._defaultColspan;
656
+ return P._defaultColspan;
653
657
  }
654
658
  static set defaultColspan(e) {
655
- O._defaultColspan = e;
659
+ P._defaultColspan = e;
656
660
  }
657
661
  get tabPosition() {
658
662
  return this._tabPosition;
@@ -664,8 +668,8 @@ const O = class O extends w {
664
668
  return [].concat.apply([], this._container.rows);
665
669
  }
666
670
  };
667
- r(O, "_defaultColspan", 3);
668
- let M = O;
671
+ r(P, "_defaultColspan", 3);
672
+ let M = P;
669
673
  class L extends w {
670
674
  constructor(e) {
671
675
  super(e);
@@ -679,7 +683,7 @@ class L extends w {
679
683
  this._loading = e;
680
684
  }
681
685
  }
682
- class Pe extends L {
686
+ class Oe extends L {
683
687
  constructor(e) {
684
688
  super(e);
685
689
  r(this, "_icon", null);
@@ -692,7 +696,7 @@ class Pe extends L {
692
696
  this._icon = e;
693
697
  }
694
698
  }
695
- class Oe extends L {
699
+ class Pe extends L {
696
700
  constructor(e) {
697
701
  var s;
698
702
  super(e);
@@ -994,7 +998,7 @@ class te extends f {
994
998
  super(t);
995
999
  }
996
1000
  }
997
- class Ie extends f {
1001
+ class Se extends f {
998
1002
  constructor(t) {
999
1003
  super(t);
1000
1004
  }
@@ -1032,9 +1036,9 @@ class R extends f {
1032
1036
  this._decimalDigits = e;
1033
1037
  }
1034
1038
  }
1035
- class Ee extends R {
1039
+ class Ie extends R {
1036
1040
  }
1037
- class Se extends f {
1041
+ class Ee extends f {
1038
1042
  }
1039
1043
  class Ve extends R {
1040
1044
  }
@@ -1090,7 +1094,7 @@ class ie extends f {
1090
1094
  /**
1091
1095
  * Infinite mode
1092
1096
  */
1093
- r(this, "_infinite", !1);
1097
+ r(this, "_infinite");
1094
1098
  if (e) {
1095
1099
  if (e.size && (this._size = e.size), e.relation && (this._relation = e.relation), e.mode && (this._mode = e.mode.split(",")), e.views && (this._views = e.views), e.colspan ? this.colspan = e.colspan : this._mustExpand = !0, e.inv_field && (this._inv_field = e.inv_field), e.height)
1096
1100
  try {
@@ -1098,7 +1102,7 @@ class ie extends f {
1098
1102
  } catch {
1099
1103
  this._height = void 0;
1100
1104
  }
1101
- e.widget_props && (this.parsedWidgetProps.infinite === "1" || this.parsedWidgetProps.infinite === 1 || this.parsedWidgetProps.infinite === !0) && (this._infinite = !0);
1105
+ e.widget_props && (this._infinite = e.widget_props.infinite);
1102
1106
  }
1103
1107
  }
1104
1108
  get size() {
@@ -1550,10 +1554,10 @@ class $ {
1550
1554
  this._widgetClass = M;
1551
1555
  break;
1552
1556
  case "page":
1553
- this._widgetClass = Pe;
1557
+ this._widgetClass = Oe;
1554
1558
  break;
1555
1559
  case "group":
1556
- this._widgetClass = Oe;
1560
+ this._widgetClass = Pe;
1557
1561
  break;
1558
1562
  case "label":
1559
1563
  this._widgetClass = Z;
@@ -1580,13 +1584,13 @@ class $ {
1580
1584
  this._widgetClass = te;
1581
1585
  break;
1582
1586
  case "integer":
1583
- this._widgetClass = Ie;
1587
+ this._widgetClass = Se;
1584
1588
  break;
1585
1589
  case "float":
1586
1590
  this._widgetClass = R;
1587
1591
  break;
1588
1592
  case "float_time":
1589
- this._widgetClass = Ee;
1593
+ this._widgetClass = Ie;
1590
1594
  break;
1591
1595
  case "date":
1592
1596
  this._widgetClass = Ye;
@@ -1663,7 +1667,7 @@ class $ {
1663
1667
  this._widgetClass = Qe;
1664
1668
  break;
1665
1669
  case "html_preview":
1666
- this._widgetClass = Se;
1670
+ this._widgetClass = Ee;
1667
1671
  break;
1668
1672
  case "alert":
1669
1673
  this._widgetClass = Xe;
@@ -1956,9 +1960,9 @@ class Tt {
1956
1960
  const { tagName: l, attributes: o, children: d } = a;
1957
1961
  let _ = l, h = o;
1958
1962
  if (l === "field") {
1959
- const { name: x, widget: I } = o;
1960
- if (I)
1961
- _ = I;
1963
+ const { name: x, widget: S } = o;
1964
+ if (S)
1965
+ _ = S;
1962
1966
  else if (x) {
1963
1967
  if (!this._fields[x])
1964
1968
  throw new Error(
@@ -2154,7 +2158,7 @@ const at = {
2154
2158
  date: "date",
2155
2159
  datetime: "datetime"
2156
2160
  };
2157
- class It {
2161
+ class St {
2158
2162
  constructor(t, e, s = 8) {
2159
2163
  /**
2160
2164
  * Object containing the specific fields for primary and secondary search fields
@@ -2213,7 +2217,7 @@ class It {
2213
2217
  return this.advancedSearchContainer.findById(t);
2214
2218
  }
2215
2219
  }
2216
- const Et = ({
2220
+ const It = ({
2217
2221
  domain: i,
2218
2222
  widgetFieldName: t
2219
2223
  }) => {
@@ -2228,7 +2232,7 @@ const Et = ({
2228
2232
  n.length - 1
2229
2233
  )) : (o = n, d = "id"), o === t && e.push([d, a, l]);
2230
2234
  }), e;
2231
- }, St = (i) => typeof i != "string" ? [] : i.replace(/[()[\]]/g, "").split(",").map((t) => t.trim()).filter((t) => !t.includes("'"));
2235
+ }, Et = (i) => typeof i != "string" ? [] : i.replace(/[()[\]]/g, "").split(",").map((t) => t.trim()).filter((t) => !t.includes("'"));
2232
2236
  class lt {
2233
2237
  constructor(t) {
2234
2238
  r(this, "_action_id", null);
@@ -2525,12 +2529,12 @@ function mt({
2525
2529
  for (let l = 0; l < a.length - 1; l++) {
2526
2530
  const o = a[l], d = a[l + 1];
2527
2531
  if (!ue([o, d], n)) {
2528
- const _ = T(o, S(n)).add(
2532
+ const _ = T(o, E(n)).add(
2529
2533
  e,
2530
2534
  n
2531
- ), h = T(d, S(n));
2535
+ ), h = T(d, E(n));
2532
2536
  for (; _.isBefore(h); )
2533
- s.push(_.format(S(n))), _.add(e, n);
2537
+ s.push(_.format(E(n))), _.add(e, n);
2534
2538
  }
2535
2539
  }
2536
2540
  return s;
@@ -2604,7 +2608,7 @@ function xt(i) {
2604
2608
  }
2605
2609
  function ue(i, t) {
2606
2610
  let e = !1;
2607
- const s = S(t);
2611
+ const s = E(t);
2608
2612
  if (i.length === 0)
2609
2613
  return !1;
2610
2614
  if (i.length === 1)
@@ -2625,7 +2629,7 @@ function he({
2625
2629
  e[o] || (e[o] = []), e[o].push(s);
2626
2630
  }), e;
2627
2631
  }
2628
- function S(i) {
2632
+ function E(i) {
2629
2633
  switch (i) {
2630
2634
  case "days":
2631
2635
  return "YYYY-MM-DD";
@@ -2669,7 +2673,7 @@ const wt = {
2669
2673
  fields: e
2670
2674
  });
2671
2675
  Object.keys(F).forEach((v) => {
2672
- const x = F[v].entries, I = F[v].label, ge = N({
2676
+ const x = F[v].entries, S = F[v].label, ge = N({
2673
2677
  entries: x,
2674
2678
  fields: e,
2675
2679
  fieldName: c.name
@@ -2680,7 +2684,7 @@ const wt = {
2680
2684
  a.push({
2681
2685
  x: p || !1,
2682
2686
  value: me,
2683
- type: I,
2687
+ type: S,
2684
2688
  operator: c.operator,
2685
2689
  stacked: c.stacked
2686
2690
  });
@@ -2752,26 +2756,26 @@ function Y({
2752
2756
  case "count":
2753
2757
  return t.length;
2754
2758
  case "+":
2755
- return E(
2759
+ return I(
2756
2760
  t.reduce(function(e, s) {
2757
2761
  return e + s;
2758
2762
  })
2759
2763
  );
2760
2764
  case "-":
2761
- return E(
2765
+ return I(
2762
2766
  t.reduce(function(e, s) {
2763
2767
  return e - s;
2764
2768
  })
2765
2769
  );
2766
2770
  case "*":
2767
- return E(
2771
+ return I(
2768
2772
  t.reduce(function(e, s) {
2769
2773
  return e * s;
2770
2774
  })
2771
2775
  );
2772
2776
  case "avg": {
2773
2777
  const s = t.reduce((n, a) => n + a, 0) / t.length || 0;
2774
- return E(s);
2778
+ return I(s);
2775
2779
  }
2776
2780
  case "min":
2777
2781
  return Math.min(...t);
@@ -2779,7 +2783,7 @@ function Y({
2779
2783
  return Math.max(...t);
2780
2784
  }
2781
2785
  }
2782
- function E(i) {
2786
+ function I(i) {
2783
2787
  return Math.round((i + Number.EPSILON) * 100) / 100;
2784
2788
  }
2785
2789
  function B({
@@ -2852,7 +2856,7 @@ export {
2852
2856
  Ke as Email,
2853
2857
  f as Field,
2854
2858
  R as Float,
2855
- Ee as FloatTime,
2859
+ Ie as FloatTime,
2856
2860
  Tt as Form,
2857
2861
  oe as Graph,
2858
2862
  de as GraphAxis,
@@ -2861,11 +2865,11 @@ export {
2861
2865
  ot as GraphIndicatorField,
2862
2866
  ht as GraphXAxis,
2863
2867
  ut as GraphYAxis,
2864
- Oe as Group,
2865
- Se as HTMLPreview,
2868
+ Pe as Group,
2869
+ Ee as HTMLPreview,
2866
2870
  Ne as Image,
2867
2871
  Ge as Indicator,
2868
- Ie as Integer,
2872
+ Se as Integer,
2869
2873
  H as JSONField,
2870
2874
  Z as Label,
2871
2875
  Te as Many2one,
@@ -2874,12 +2878,12 @@ export {
2874
2878
  K as NewLine,
2875
2879
  M as Notebook,
2876
2880
  ie as One2many,
2877
- Pe as Page,
2881
+ Oe as Page,
2878
2882
  Ve as ProgressBar,
2879
2883
  qe as Radio,
2880
2884
  Me as Reference,
2881
2885
  at as SearchFieldTypes,
2882
- It as SearchFilter,
2886
+ St as SearchFilter,
2883
2887
  z as Selection,
2884
2888
  je as Separator,
2885
2889
  L as Spinner,
@@ -2896,8 +2900,8 @@ export {
2896
2900
  jt as graphProcessor,
2897
2901
  ne as parseContext,
2898
2902
  Wt as parseContextFields,
2899
- St as parseDomainFields,
2903
+ Et as parseDomainFields,
2900
2904
  Yt as parseGraph,
2901
- Et as transformDomainForChildWidget
2905
+ It as transformDomainForChildWidget
2902
2906
  };
2903
2907
  //# sourceMappingURL=ooui.es.js.map