@embeddable.com/remarkable-pro 0.0.18 → 0.0.19

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.
Files changed (138) hide show
  1. package/dist/BarChartDefaultHorizontalPro.js +4 -4
  2. package/dist/BarChartDefaultHorizontalPro.js.map +1 -1
  3. package/dist/BarChartDefaultPro.js +4 -4
  4. package/dist/BarChartDefaultPro.js.map +1 -1
  5. package/dist/BarChartGroupedHorizontalPro.js +7 -7
  6. package/dist/BarChartGroupedHorizontalPro.js.map +1 -1
  7. package/dist/BarChartGroupedPro.js +7 -7
  8. package/dist/BarChartGroupedPro.js.map +1 -1
  9. package/dist/BarChartStackedHorizontalPro.js +5 -5
  10. package/dist/BarChartStackedHorizontalPro.js.map +1 -1
  11. package/dist/BarChartStackedPro.js +5 -5
  12. package/dist/BarChartStackedPro.js.map +1 -1
  13. package/dist/{ChartCard-DWm_d8Zt.js → ChartCard-DsPc_21K.js} +12 -12
  14. package/dist/ChartCard-DsPc_21K.js.map +1 -0
  15. package/dist/{Color.type.emb-BKd2NgB4.js → Color.type.emb-B6HPqRjW.js} +22 -22
  16. package/dist/Color.type.emb-B6HPqRjW.js.map +1 -0
  17. package/dist/ColorEditor.js +4 -4
  18. package/dist/ColorEditor.js.map +1 -1
  19. package/dist/ComparisonPeriodSelectFieldPro.js +7 -7
  20. package/dist/ComparisonPeriodSelectFieldPro.js.map +1 -1
  21. package/dist/DateRangePickerCustomPro.js +18 -18
  22. package/dist/DateRangePickerCustomPro.js.map +1 -1
  23. package/dist/DateRangeSelectFieldPro.js +6 -6
  24. package/dist/DateRangeSelectFieldPro.js.map +1 -1
  25. package/dist/DonutChartPro.js +4 -4
  26. package/dist/DonutChartPro.js.map +1 -1
  27. package/dist/DonutLabelChartPro.js +6 -6
  28. package/dist/DonutLabelChartPro.js.map +1 -1
  29. package/dist/{EditorCard-DjnvkPrk.js → EditorCard-aOGeW4jt.js} +3 -3
  30. package/dist/{EditorCard-DjnvkPrk.js.map → EditorCard-aOGeW4jt.js.map} +1 -1
  31. package/dist/GranularitySelectFieldPro.js +169 -0
  32. package/dist/GranularitySelectFieldPro.js.map +1 -0
  33. package/dist/HeatMapPro.js +5 -5
  34. package/dist/HeatMapPro.js.map +1 -1
  35. package/dist/KpiChartNumberComparisonPro.js +9 -10
  36. package/dist/KpiChartNumberComparisonPro.js.map +1 -1
  37. package/dist/KpiChartNumberPro.js +3 -3
  38. package/dist/LineChartComparisonDefaultPro.js +5 -5
  39. package/dist/LineChartComparisonDefaultPro.js.map +1 -1
  40. package/dist/LineChartDefaultPro.js +4 -4
  41. package/dist/LineChartDefaultPro.js.map +1 -1
  42. package/dist/LineChartGroupedPro.js +5 -5
  43. package/dist/LineChartGroupedPro.js.map +1 -1
  44. package/dist/MultiSelectFieldPro.js +8 -8
  45. package/dist/MultiSelectFieldPro.js.map +1 -1
  46. package/dist/PieChartPro.js +4 -4
  47. package/dist/PieChartPro.js.map +1 -1
  48. package/dist/PivotTablePro.js +13 -13
  49. package/dist/PivotTablePro.js.map +1 -1
  50. package/dist/SingleSelectFieldPro.js +6 -6
  51. package/dist/SingleSelectFieldPro.js.map +1 -1
  52. package/dist/TableChartPaginated.js +8 -8
  53. package/dist/TableChartPaginated.js.map +1 -1
  54. package/dist/TableScrollable.js +36 -36
  55. package/dist/TableScrollable.js.map +1 -1
  56. package/dist/{bars.utils-UMmKPcFA.js → bars.utils-DtHJ7gBc.js} +4 -4
  57. package/dist/{bars.utils-UMmKPcFA.js.map → bars.utils-DtHJ7gBc.js.map} +1 -1
  58. package/dist/charts.fillGaps.hooks-C7KsWcZb.js +67 -0
  59. package/dist/charts.fillGaps.hooks-C7KsWcZb.js.map +1 -0
  60. package/dist/{charts.utils-CczkrS7C.js → charts.utils-DM6cHNrK.js} +338 -318
  61. package/dist/charts.utils-DM6cHNrK.js.map +1 -0
  62. package/dist/{component.inputs.constants-DvrG0Pd4.js → component.inputs.constants-jJBFejC-.js} +273 -254
  63. package/dist/component.inputs.constants-jJBFejC-.js.map +1 -0
  64. package/dist/components/charts/charts.fillGaps.hooks.d.ts.map +1 -1
  65. package/dist/components/component.inputs.constants.d.ts +33 -22
  66. package/dist/components/component.inputs.constants.d.ts.map +1 -1
  67. package/dist/components/component.subinputs.constants.d.ts +2 -2
  68. package/dist/components/editors/GranularitySelectFieldPro/GranularitySelectFieldPro.utils.d.ts +14 -0
  69. package/dist/components/editors/GranularitySelectFieldPro/GranularitySelectFieldPro.utils.d.ts.map +1 -0
  70. package/dist/components/editors/GranularitySelectFieldPro/index.d.ts +14 -0
  71. package/dist/components/editors/GranularitySelectFieldPro/index.d.ts.map +1 -0
  72. package/dist/embeddable-components.json +15 -13
  73. package/dist/embeddable-theme-0137e.js +226 -198
  74. package/dist/embeddable-types-fa6d0.js +1 -1
  75. package/dist/embeddable-types.js.map +1 -1
  76. package/dist/{formatter.utils-DhYAAdix.js → formatter.utils-BUUUf91Q.js} +2 -2
  77. package/dist/{formatter.utils-DhYAAdix.js.map → formatter.utils-BUUUf91Q.js.map} +1 -1
  78. package/dist/{index-BVukmtai.js → index-8A8KFAVc.js} +5 -5
  79. package/dist/{index-BVukmtai.js.map → index-8A8KFAVc.js.map} +1 -1
  80. package/dist/{index-CKp5i6mg.js → index-B-Tq5-JV.js} +6 -6
  81. package/dist/{index-CKp5i6mg.js.map → index-B-Tq5-JV.js.map} +1 -1
  82. package/dist/{index-BtDrBn-k.js → index-BcDgD_JS.js} +6 -6
  83. package/dist/{index-BtDrBn-k.js.map → index-BcDgD_JS.js.map} +1 -1
  84. package/dist/{index-Ch8RmqGo.js → index-Bif__GxM.js} +6 -6
  85. package/dist/{index-Ch8RmqGo.js.map → index-Bif__GxM.js.map} +1 -1
  86. package/dist/{index-DTQefWw3.js → index-CKT9qwYq.js} +6 -6
  87. package/dist/{index-DTQefWw3.js.map → index-CKT9qwYq.js.map} +1 -1
  88. package/dist/{index-Bp0gl65w.js → index-CQlKWTOb.js} +6 -6
  89. package/dist/{index-Bp0gl65w.js.map → index-CQlKWTOb.js.map} +1 -1
  90. package/dist/{index-B50xzMzX.js → index-CZ9Sw8H3.js} +6 -6
  91. package/dist/{index-B50xzMzX.js.map → index-CZ9Sw8H3.js.map} +1 -1
  92. package/dist/{index-Ym6OQLII.js → index-Ct3Qtgor.js} +5 -5
  93. package/dist/{index-Ym6OQLII.js.map → index-Ct3Qtgor.js.map} +1 -1
  94. package/dist/{index-B67vIicG.js → index-CxgncSEN.js} +5 -5
  95. package/dist/{index-B67vIicG.js.map → index-CxgncSEN.js.map} +1 -1
  96. package/dist/{index-CrwZXvMM.js → index-D0Y3IwQg.js} +6 -6
  97. package/dist/{index-CrwZXvMM.js.map → index-D0Y3IwQg.js.map} +1 -1
  98. package/dist/{index-ClD6BYE7.js → index-DF_tK19U.js} +6 -6
  99. package/dist/{index-ClD6BYE7.js.map → index-DF_tK19U.js.map} +1 -1
  100. package/dist/{index-CChmPG5w.js → index-DVE9YBTf.js} +5 -5
  101. package/dist/{index-CChmPG5w.js.map → index-DVE9YBTf.js.map} +1 -1
  102. package/dist/{index-BIwjj2og.js → index-DVPIPYNB.js} +6 -6
  103. package/dist/{index-BIwjj2og.js.map → index-DVPIPYNB.js.map} +1 -1
  104. package/dist/{index-0v8ZD5Px.js → index-DZIiW5Nz.js} +6 -6
  105. package/dist/index-DZIiW5Nz.js.map +1 -0
  106. package/dist/{index-CNfKPgoS.js → index-DZ_H2OEY.js} +5 -5
  107. package/dist/{index-CNfKPgoS.js.map → index-DZ_H2OEY.js.map} +1 -1
  108. package/dist/{index-BWXo1H8L.js → index-F6XINVuQ.js} +6 -6
  109. package/dist/{index-BWXo1H8L.js.map → index-F6XINVuQ.js.map} +1 -1
  110. package/dist/{index-DER6yAdV.js → index-LhNKcA1s.js} +5 -5
  111. package/dist/{index-DER6yAdV.js.map → index-LhNKcA1s.js.map} +1 -1
  112. package/dist/{index-B8nyN_rk.js → index-Z5AHoasI.js} +5 -5
  113. package/dist/{index-B8nyN_rk.js.map → index-Z5AHoasI.js.map} +1 -1
  114. package/dist/{index-BkRLZw0F.js → index-cLri0mtu.js} +6 -6
  115. package/dist/{index-BkRLZw0F.js.map → index-cLri0mtu.js.map} +1 -1
  116. package/dist/{index-CAgVPB3g.js → index-dov3IPMj.js} +7 -7
  117. package/dist/{index-CAgVPB3g.js.map → index-dov3IPMj.js.map} +1 -1
  118. package/dist/{index-BAmKVmpn.js → index-grfYNj7h.js} +6 -6
  119. package/dist/{index-BAmKVmpn.js.map → index-grfYNj7h.js.map} +1 -1
  120. package/dist/index.js +29 -29
  121. package/dist/{pies.utils-CBGxudxq.js → pies.utils-CIDqAzCT.js} +5 -5
  122. package/dist/{pies.utils-CBGxudxq.js.map → pies.utils-CIDqAzCT.js.map} +1 -1
  123. package/dist/{tables.utils-CQdtEdns.js → tables.utils-BVdgLNxV.js} +4 -4
  124. package/dist/{tables.utils-CQdtEdns.js.map → tables.utils-BVdgLNxV.js.map} +1 -1
  125. package/dist/theme/defaults/defaults.GranularityOptions.constants.d.ts +15 -0
  126. package/dist/theme/defaults/defaults.GranularityOptions.constants.d.ts.map +1 -0
  127. package/dist/theme/i18n/translations/de.d.ts.map +1 -1
  128. package/dist/theme/i18n/translations/en.d.ts.map +1 -1
  129. package/dist/{timeRange.utils-BaqbWNuX.js → timeRange.utils-xV5aEhJD.js} +2 -2
  130. package/dist/{timeRange.utils-BaqbWNuX.js.map → timeRange.utils-xV5aEhJD.js.map} +1 -1
  131. package/package.json +1 -1
  132. package/dist/ChartCard-DWm_d8Zt.js.map +0 -1
  133. package/dist/Color.type.emb-BKd2NgB4.js.map +0 -1
  134. package/dist/charts.fillGaps.hooks-DPso1ZUh.js +0 -66
  135. package/dist/charts.fillGaps.hooks-DPso1ZUh.js.map +0 -1
  136. package/dist/charts.utils-CczkrS7C.js.map +0 -1
  137. package/dist/component.inputs.constants-DvrG0Pd4.js.map +0 -1
  138. package/dist/index-0v8ZD5Px.js.map +0 -1
@@ -1,27 +1,27 @@
1
- import { r as He, U as X, W as C, q as De } from "./Color.type.emb-BKd2NgB4.js";
1
+ import { r as He, U as X, W as C, q as De } from "./Color.type.emb-B6HPqRjW.js";
2
2
  const p = (r) => typeof r == "string", U = () => {
3
3
  let r, e;
4
4
  const t = new Promise((i, s) => {
5
5
  r = i, e = s;
6
6
  });
7
7
  return t.resolve = r, t.reject = e, t;
8
- }, ye = (r) => r == null ? "" : "" + r, Be = (r, e, t) => {
8
+ }, xe = (r) => r == null ? "" : "" + r, Be = (r, e, t) => {
9
9
  r.forEach((i) => {
10
10
  e[i] && (t[i] = e[i]);
11
11
  });
12
- }, ze = /###/g, xe = (r) => r && r.indexOf("###") > -1 ? r.replace(ze, ".") : r, be = (r) => !r || p(r), H = (r, e, t) => {
12
+ }, ze = /###/g, be = (r) => r && r.indexOf("###") > -1 ? r.replace(ze, ".") : r, Se = (r) => !r || p(r), H = (r, e, t) => {
13
13
  const i = p(e) ? e.split(".") : e;
14
14
  let s = 0;
15
15
  for (; s < i.length - 1; ) {
16
- if (be(r)) return {};
17
- const n = xe(i[s]);
16
+ if (Se(r)) return {};
17
+ const n = be(i[s]);
18
18
  !r[n] && t && (r[n] = new t()), Object.prototype.hasOwnProperty.call(r, n) ? r = r[n] : r = {}, ++s;
19
19
  }
20
- return be(r) ? {} : {
20
+ return Se(r) ? {} : {
21
21
  obj: r,
22
- k: xe(i[s])
22
+ k: be(i[s])
23
23
  };
24
- }, Se = (r, e, t) => {
24
+ }, Oe = (r, e, t) => {
25
25
  const {
26
26
  obj: i,
27
27
  k: s
@@ -47,15 +47,15 @@ const p = (r) => typeof r == "string", U = () => {
47
47
  } = H(r, e);
48
48
  if (t && Object.prototype.hasOwnProperty.call(t, i))
49
49
  return t[i];
50
- }, Ye = (r, e, t) => {
50
+ }, We = (r, e, t) => {
51
51
  const i = q(r, t);
52
52
  return i !== void 0 ? i : q(e, t);
53
- }, Te = (r, e, t) => {
53
+ }, Ae = (r, e, t) => {
54
54
  for (const i in e)
55
- i !== "__proto__" && i !== "constructor" && (i in r ? p(r[i]) || r[i] instanceof String || p(e[i]) || e[i] instanceof String ? t && (r[i] = e[i]) : Te(r[i], e[i], t) : r[i] = e[i]);
55
+ i !== "__proto__" && i !== "constructor" && (i in r ? p(r[i]) || r[i] instanceof String || p(e[i]) || e[i] instanceof String ? t && (r[i] = e[i]) : Ae(r[i], e[i], t) : r[i] = e[i]);
56
56
  return r;
57
57
  }, j = (r) => r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
58
- var We = {
58
+ var Ye = {
59
59
  "&": "&amp;",
60
60
  "<": "&lt;",
61
61
  ">": "&gt;",
@@ -63,8 +63,8 @@ var We = {
63
63
  "'": "&#39;",
64
64
  "/": "&#x2F;"
65
65
  };
66
- const qe = (r) => p(r) ? r.replace(/[&<>"'\/]/g, (e) => We[e]) : r;
67
- class _e {
66
+ const qe = (r) => p(r) ? r.replace(/[&<>"'\/]/g, (e) => Ye[e]) : r;
67
+ class Ge {
68
68
  constructor(e) {
69
69
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
70
70
  }
@@ -76,9 +76,9 @@ class _e {
76
76
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, i), this.regExpQueue.push(e), i;
77
77
  }
78
78
  }
79
- const Ge = [" ", ",", "?", "!", ";"], Xe = new _e(20), Qe = (r, e, t) => {
79
+ const _e = [" ", ",", "?", "!", ";"], Xe = new Ge(20), Qe = (r, e, t) => {
80
80
  e = e || "", t = t || "";
81
- const i = Ge.filter((a) => e.indexOf(a) < 0 && t.indexOf(a) < 0);
81
+ const i = _e.filter((a) => e.indexOf(a) < 0 && t.indexOf(a) < 0);
82
82
  if (i.length === 0) return !0;
83
83
  const s = Xe.getRegExp(`(${i.map((a) => a === "?" ? "\\?" : a).join("|")})`);
84
84
  let n = !s.test(r);
@@ -87,7 +87,7 @@ const Ge = [" ", ",", "?", "!", ";"], Xe = new _e(20), Qe = (r, e, t) => {
87
87
  a > 0 && !s.test(r.substring(0, a)) && (n = !0);
88
88
  }
89
89
  return n;
90
- }, ie = (r, e, t = ".") => {
90
+ }, ne = (r, e, t = ".") => {
91
91
  if (!r) return;
92
92
  if (r[e])
93
93
  return Object.prototype.hasOwnProperty.call(r, e) ? r[e] : void 0;
@@ -123,7 +123,7 @@ const Ge = [" ", ",", "?", "!", ";"], Xe = new _e(20), Qe = (r, e, t) => {
123
123
  (i = (t = console == null ? void 0 : console[r]) == null ? void 0 : t.apply) == null || i.call(t, console, e);
124
124
  }
125
125
  };
126
- class _ {
126
+ class G {
127
127
  constructor(e, t = {}) {
128
128
  this.init(e, t);
129
129
  }
@@ -146,16 +146,16 @@ class _ {
146
146
  return s && !this.debug ? null : (p(e[0]) && (e[0] = `${i}${this.prefix} ${e[0]}`), this.logger[t](e));
147
147
  }
148
148
  create(e) {
149
- return new _(this.logger, {
149
+ return new G(this.logger, {
150
150
  prefix: `${this.prefix}:${e}:`,
151
151
  ...this.options
152
152
  });
153
153
  }
154
154
  clone(e) {
155
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new _(this.logger, e);
155
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new G(this.logger, e);
156
156
  }
157
157
  }
158
- var N = new _();
158
+ var N = new G();
159
159
  class Q {
160
160
  constructor() {
161
161
  this.observers = {};
@@ -206,14 +206,14 @@ class Le extends Q {
206
206
  let o;
207
207
  e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], i && (Array.isArray(i) ? o.push(...i) : p(i) && n ? o.push(...i.split(n)) : o.push(i)));
208
208
  const u = q(this.data, o);
209
- return !u && !t && !i && e.indexOf(".") > -1 && (e = o[0], t = o[1], i = o.slice(2).join(".")), u || !a || !p(i) ? u : ie((f = (l = this.data) == null ? void 0 : l[e]) == null ? void 0 : f[t], i, n);
209
+ return !u && !t && !i && e.indexOf(".") > -1 && (e = o[0], t = o[1], i = o.slice(2).join(".")), u || !a || !p(i) ? u : ne((f = (l = this.data) == null ? void 0 : l[e]) == null ? void 0 : f[t], i, n);
210
210
  }
211
211
  addResource(e, t, i, s, n = {
212
212
  silent: !1
213
213
  }) {
214
214
  const a = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
215
215
  let o = [e, t];
216
- i && (o = o.concat(a ? i.split(a) : i)), e.indexOf(".") > -1 && (o = e.split("."), s = t, t = o[1]), this.addNamespaces(t), Se(this.data, o, s), n.silent || this.emit("added", e, t, i, s);
216
+ i && (o = o.concat(a ? i.split(a) : i)), e.indexOf(".") > -1 && (o = e.split("."), s = t, t = o[1]), this.addNamespaces(t), Oe(this.data, o, s), n.silent || this.emit("added", e, t, i, s);
217
217
  }
218
218
  addResources(e, t, i, s = {
219
219
  silent: !1
@@ -231,10 +231,10 @@ class Le extends Q {
231
231
  let o = [e, t];
232
232
  e.indexOf(".") > -1 && (o = e.split("."), s = i, i = t, t = o[1]), this.addNamespaces(t);
233
233
  let u = q(this.data, o) || {};
234
- a.skipCopy || (i = JSON.parse(JSON.stringify(i))), s ? Te(u, i, n) : u = {
234
+ a.skipCopy || (i = JSON.parse(JSON.stringify(i))), s ? Ae(u, i, n) : u = {
235
235
  ...u,
236
236
  ...i
237
- }, Se(this.data, o, u), a.silent || this.emit("added", e, t, i);
237
+ }, Oe(this.data, o, u), a.silent || this.emit("added", e, t, i);
238
238
  }
239
239
  removeResourceBundle(e, t) {
240
240
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -256,7 +256,7 @@ class Le extends Q {
256
256
  return this.data;
257
257
  }
258
258
  }
259
- var Ae = {
259
+ var Fe = {
260
260
  processors: {},
261
261
  addPostProcessor(r) {
262
262
  this.processors[r.name] = r;
@@ -268,23 +268,23 @@ var Ae = {
268
268
  }), e;
269
269
  }
270
270
  };
271
- const Fe = Symbol("i18next/PATH_KEY");
271
+ const Te = Symbol("i18next/PATH_KEY");
272
272
  function et() {
273
273
  const r = [], e = /* @__PURE__ */ Object.create(null);
274
274
  let t;
275
275
  return e.get = (i, s) => {
276
276
  var n;
277
- return (n = t == null ? void 0 : t.revoke) == null || n.call(t), s === Fe ? r : (r.push(s), t = Proxy.revocable(i, e), t.proxy);
277
+ return (n = t == null ? void 0 : t.revoke) == null || n.call(t), s === Te ? r : (r.push(s), t = Proxy.revocable(i, e), t.proxy);
278
278
  }, Proxy.revocable(/* @__PURE__ */ Object.create(null), e).proxy;
279
279
  }
280
- function ne(r, e) {
280
+ function ae(r, e) {
281
281
  const {
282
- [Fe]: t
282
+ [Te]: t
283
283
  } = r(et());
284
284
  return t.join((e == null ? void 0 : e.keySeparator) ?? ".");
285
285
  }
286
- const Oe = {}, te = (r) => !p(r) && typeof r != "boolean" && typeof r != "number";
287
- class G extends Q {
286
+ const Ce = {}, te = (r) => !p(r) && typeof r != "boolean" && typeof r != "number";
287
+ class _ extends Q {
288
288
  constructor(e, t = {}) {
289
289
  super(), Be(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = N.create("translator");
290
290
  }
@@ -331,7 +331,7 @@ class G extends Q {
331
331
  if (typeof s != "object" && this.options.overloadTranslationOptionHandler && (s = this.options.overloadTranslationOptionHandler(arguments)), typeof s == "object" && (s = {
332
332
  ...s
333
333
  }), s || (s = {}), e == null) return "";
334
- typeof e == "function" && (e = ne(e, {
334
+ typeof e == "function" && (e = ae(e, {
335
335
  ...this.options,
336
336
  ...s
337
337
  })), Array.isArray(e) || (e = [String(e)]);
@@ -360,13 +360,13 @@ class G extends Q {
360
360
  } : o;
361
361
  const h = this.resolve(e, s);
362
362
  let d = h == null ? void 0 : h.res;
363
- const m = (h == null ? void 0 : h.usedKey) || o, x = (h == null ? void 0 : h.exactUsedKey) || o, w = ["[object Number]", "[object Function]", "[object RegExp]"], R = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, A = !this.i18nFormat || this.i18nFormat.handleAsObject, S = s.count !== void 0 && !p(s.count), k = G.hasDefaultValue(s), J = S ? this.pluralResolver.getSuffix(c, s.count, s) : "", D = s.ordinal && S ? this.pluralResolver.getSuffix(c, s.count, {
363
+ const m = (h == null ? void 0 : h.usedKey) || o, x = (h == null ? void 0 : h.exactUsedKey) || o, v = ["[object Number]", "[object Function]", "[object RegExp]"], w = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, F = !this.i18nFormat || this.i18nFormat.handleAsObject, S = s.count !== void 0 && !p(s.count), k = _.hasDefaultValue(s), J = S ? this.pluralResolver.getSuffix(c, s.count, s) : "", D = s.ordinal && S ? this.pluralResolver.getSuffix(c, s.count, {
364
364
  ordinal: !1
365
- }) : "", M = S && !s.ordinal && s.count === 0, L = M && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${J}`] || s[`defaultValue${D}`] || s.defaultValue;
365
+ }) : "", V = S && !s.ordinal && s.count === 0, O = V && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${J}`] || s[`defaultValue${D}`] || s.defaultValue;
366
366
  let b = d;
367
- A && !d && k && (b = L);
367
+ F && !d && k && (b = O);
368
368
  const Ke = te(b), Ue = Object.prototype.toString.apply(b);
369
- if (A && b && Ke && w.indexOf(Ue) < 0 && !(p(R) && Array.isArray(b))) {
369
+ if (F && b && Ke && v.indexOf(Ue) < 0 && !(p(w) && Array.isArray(b))) {
370
370
  if (!s.returnObjects && !this.options.returnObjects) {
371
371
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
372
372
  const P = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m, b, {
@@ -376,56 +376,56 @@ class G extends Q {
376
376
  return n ? (h.res = P, h.usedParams = this.getUsedParamsDetails(s), h) : P;
377
377
  }
378
378
  if (a) {
379
- const P = Array.isArray(b), v = P ? [] : {}, he = P ? x : m;
379
+ const P = Array.isArray(b), R = P ? [] : {}, pe = P ? x : m;
380
380
  for (const $ in b)
381
381
  if (Object.prototype.hasOwnProperty.call(b, $)) {
382
- const T = `${he}${a}${$}`;
383
- k && !d ? v[$] = this.translate(T, {
382
+ const A = `${pe}${a}${$}`;
383
+ k && !d ? R[$] = this.translate(A, {
384
384
  ...s,
385
- defaultValue: te(L) ? L[$] : void 0,
385
+ defaultValue: te(O) ? O[$] : void 0,
386
386
  joinArrays: !1,
387
387
  ns: u
388
- }) : v[$] = this.translate(T, {
388
+ }) : R[$] = this.translate(A, {
389
389
  ...s,
390
390
  joinArrays: !1,
391
391
  ns: u
392
- }), v[$] === T && (v[$] = b[$]);
392
+ }), R[$] === A && (R[$] = b[$]);
393
393
  }
394
- d = v;
394
+ d = R;
395
395
  }
396
- } else if (A && p(R) && Array.isArray(d))
397
- d = d.join(R), d && (d = this.extendTranslation(d, e, s, i));
396
+ } else if (F && p(w) && Array.isArray(d))
397
+ d = d.join(w), d && (d = this.extendTranslation(d, e, s, i));
398
398
  else {
399
- let P = !1, v = !1;
400
- !this.isValidLookup(d) && k && (P = !0, d = L), this.isValidLookup(d) || (v = !0, d = o);
401
- const $ = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && v ? void 0 : d, T = k && L !== d && this.options.updateMissing;
402
- if (v || P || T) {
403
- if (this.logger.log(T ? "updateKey" : "missingKey", c, l, o, T ? L : d), a) {
404
- const O = this.resolve(o, {
399
+ let P = !1, R = !1;
400
+ !this.isValidLookup(d) && k && (P = !0, d = O), this.isValidLookup(d) || (R = !0, d = o);
401
+ const $ = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && R ? void 0 : d, A = k && O !== d && this.options.updateMissing;
402
+ if (R || P || A) {
403
+ if (this.logger.log(A ? "updateKey" : "missingKey", c, l, o, A ? O : d), a) {
404
+ const L = this.resolve(o, {
405
405
  ...s,
406
406
  keySeparator: !1
407
407
  });
408
- O && O.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
408
+ L && L.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
409
409
  }
410
- let V = [];
411
- const Y = this.languageUtils.getFallbackCodes(this.options.fallbackLng, s.lng || this.language);
412
- if (this.options.saveMissingTo === "fallback" && Y && Y[0])
413
- for (let O = 0; O < Y.length; O++)
414
- V.push(Y[O]);
415
- else this.options.saveMissingTo === "all" ? V = this.languageUtils.toResolveHierarchy(s.lng || this.language) : V.push(s.lng || this.language);
416
- const pe = (O, F, K) => {
417
- var me;
418
- const ge = k && K !== d ? K : $;
419
- this.options.missingKeyHandler ? this.options.missingKeyHandler(O, l, F, ge, T, s) : (me = this.backendConnector) != null && me.saveMissing && this.backendConnector.saveMissing(O, l, F, ge, T, s), this.emit("missingKey", O, l, F, d);
410
+ let M = [];
411
+ const W = this.languageUtils.getFallbackCodes(this.options.fallbackLng, s.lng || this.language);
412
+ if (this.options.saveMissingTo === "fallback" && W && W[0])
413
+ for (let L = 0; L < W.length; L++)
414
+ M.push(W[L]);
415
+ else this.options.saveMissingTo === "all" ? M = this.languageUtils.toResolveHierarchy(s.lng || this.language) : M.push(s.lng || this.language);
416
+ const ge = (L, T, K) => {
417
+ var ye;
418
+ const me = k && K !== d ? K : $;
419
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(L, l, T, me, A, s) : (ye = this.backendConnector) != null && ye.saveMissing && this.backendConnector.saveMissing(L, l, T, me, A, s), this.emit("missingKey", L, l, T, d);
420
420
  };
421
- this.options.saveMissing && (this.options.saveMissingPlurals && S ? V.forEach((O) => {
422
- const F = this.pluralResolver.getSuffixes(O, s);
423
- M && s[`defaultValue${this.options.pluralSeparator}zero`] && F.indexOf(`${this.options.pluralSeparator}zero`) < 0 && F.push(`${this.options.pluralSeparator}zero`), F.forEach((K) => {
424
- pe([O], o + K, s[`defaultValue${K}`] || L);
421
+ this.options.saveMissing && (this.options.saveMissingPlurals && S ? M.forEach((L) => {
422
+ const T = this.pluralResolver.getSuffixes(L, s);
423
+ V && s[`defaultValue${this.options.pluralSeparator}zero`] && T.indexOf(`${this.options.pluralSeparator}zero`) < 0 && T.push(`${this.options.pluralSeparator}zero`), T.forEach((K) => {
424
+ ge([L], o + K, s[`defaultValue${K}`] || O);
425
425
  });
426
- }) : pe(V, o, L));
426
+ }) : ge(M, o, O));
427
427
  }
428
- d = this.extendTranslation(d, e, s, h, i), v && d === o && this.options.appendNamespaceToMissingKey && (d = `${l}${f}${o}`), (v || P) && this.options.parseMissingKeyHandler && (d = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${f}${o}` : o, P ? d : void 0, s));
428
+ d = this.extendTranslation(d, e, s, h, i), R && d === o && this.options.appendNamespaceToMissingKey && (d = `${l}${f}${o}`), (R || P) && this.options.parseMissingKeyHandler && (d = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${f}${o}` : o, P ? d : void 0, s));
429
429
  }
430
430
  return n ? (h.res = d, h.usedParams = this.getUsedParamsDetails(s), h) : d;
431
431
  }
@@ -463,7 +463,7 @@ class G extends Q {
463
463
  !i.lng && s && s.res && (i.lng = this.language || s.usedLng), i.nest !== !1 && (e = this.interpolator.nest(e, (...h) => (n == null ? void 0 : n[0]) === h[0] && !i.context ? (this.logger.warn(`It seems you are nesting recursively key: ${h[0]} in key: ${t[0]}`), null) : this.translate(...h, t), i)), i.interpolation && this.interpolator.reset();
464
464
  }
465
465
  const a = i.postProcess || this.options.postProcess, o = p(a) ? [a] : a;
466
- return e != null && (o != null && o.length) && i.applyPostProcessor !== !1 && (e = Ae.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
466
+ return e != null && (o != null && o.length) && i.applyPostProcessor !== !1 && (e = Fe.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
467
467
  i18nResolved: {
468
468
  ...s,
469
469
  usedParams: this.getUsedParamsDetails(i)
@@ -481,26 +481,26 @@ class G extends Q {
481
481
  this.options.fallbackNS && (c = c.concat(this.options.fallbackNS));
482
482
  const g = t.count !== void 0 && !p(t.count), h = g && !t.ordinal && t.count === 0, d = t.context !== void 0 && (p(t.context) || typeof t.context == "number") && t.context !== "", m = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
483
483
  c.forEach((x) => {
484
- var w, R;
485
- this.isValidLookup(i) || (o = x, !Oe[`${m[0]}-${x}`] && ((w = this.utils) != null && w.hasLoadedNamespace) && !((R = this.utils) != null && R.hasLoadedNamespace(o)) && (Oe[`${m[0]}-${x}`] = !0, this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((A) => {
484
+ var v, w;
485
+ this.isValidLookup(i) || (o = x, !Ce[`${m[0]}-${x}`] && ((v = this.utils) != null && v.hasLoadedNamespace) && !((w = this.utils) != null && w.hasLoadedNamespace(o)) && (Ce[`${m[0]}-${x}`] = !0, this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((F) => {
486
486
  var J;
487
487
  if (this.isValidLookup(i)) return;
488
- a = A;
488
+ a = F;
489
489
  const S = [f];
490
490
  if ((J = this.i18nFormat) != null && J.addLookupKeys)
491
- this.i18nFormat.addLookupKeys(S, f, A, x, t);
491
+ this.i18nFormat.addLookupKeys(S, f, F, x, t);
492
492
  else {
493
493
  let D;
494
- g && (D = this.pluralResolver.getSuffix(A, t.count, t));
495
- const M = `${this.options.pluralSeparator}zero`, L = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
496
- if (g && (t.ordinal && D.indexOf(L) === 0 && S.push(f + D.replace(L, this.options.pluralSeparator)), S.push(f + D), h && S.push(f + M)), d) {
494
+ g && (D = this.pluralResolver.getSuffix(F, t.count, t));
495
+ const V = `${this.options.pluralSeparator}zero`, O = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
496
+ if (g && (t.ordinal && D.indexOf(O) === 0 && S.push(f + D.replace(O, this.options.pluralSeparator)), S.push(f + D), h && S.push(f + V)), d) {
497
497
  const b = `${f}${this.options.contextSeparator || "_"}${t.context}`;
498
- S.push(b), g && (t.ordinal && D.indexOf(L) === 0 && S.push(b + D.replace(L, this.options.pluralSeparator)), S.push(b + D), h && S.push(b + M));
498
+ S.push(b), g && (t.ordinal && D.indexOf(O) === 0 && S.push(b + D.replace(O, this.options.pluralSeparator)), S.push(b + D), h && S.push(b + V));
499
499
  }
500
500
  }
501
501
  let k;
502
502
  for (; k = S.pop(); )
503
- this.isValidLookup(i) || (n = k, i = this.getResource(A, x, k, t));
503
+ this.isValidLookup(i) || (n = k, i = this.getResource(F, x, k, t));
504
504
  }));
505
505
  });
506
506
  }), {
@@ -541,7 +541,7 @@ class G extends Q {
541
541
  return !1;
542
542
  }
543
543
  }
544
- class Ce {
544
+ class we {
545
545
  constructor(e) {
546
546
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = N.create("languageUtils");
547
547
  }
@@ -605,14 +605,14 @@ class Ce {
605
605
  }), s;
606
606
  }
607
607
  }
608
- const Re = {
608
+ const ve = {
609
609
  zero: 0,
610
610
  one: 1,
611
611
  two: 2,
612
612
  few: 3,
613
613
  many: 4,
614
614
  other: 5
615
- }, we = {
615
+ }, Re = {
616
616
  select: (r) => r === 1 ? "one" : "other",
617
617
  resolvedOptions: () => ({
618
618
  pluralCategories: ["one", "other"]
@@ -622,9 +622,6 @@ class tt {
622
622
  constructor(e, t = {}) {
623
623
  this.languageUtils = e, this.options = t, this.logger = N.create("pluralResolver"), this.pluralRulesCache = {};
624
624
  }
625
- addRule(e, t) {
626
- this.rules[e] = t;
627
- }
628
625
  clearCache() {
629
626
  this.pluralRulesCache = {};
630
627
  }
@@ -642,8 +639,8 @@ class tt {
642
639
  });
643
640
  } catch {
644
641
  if (!Intl)
645
- return this.logger.error("No Intl support, please use an Intl polyfill!"), we;
646
- if (!e.match(/-|_/)) return we;
642
+ return this.logger.error("No Intl support, please use an Intl polyfill!"), Re;
643
+ if (!e.match(/-|_/)) return Re;
647
644
  const u = this.languageUtils.getLanguagePartFromCode(e);
648
645
  a = this.getRule(u, t);
649
646
  }
@@ -658,18 +655,18 @@ class tt {
658
655
  }
659
656
  getSuffixes(e, t = {}) {
660
657
  let i = this.getRule(e, t);
661
- return i || (i = this.getRule("dev", t)), i ? i.resolvedOptions().pluralCategories.sort((s, n) => Re[s] - Re[n]).map((s) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : [];
658
+ return i || (i = this.getRule("dev", t)), i ? i.resolvedOptions().pluralCategories.sort((s, n) => ve[s] - ve[n]).map((s) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : [];
662
659
  }
663
660
  getSuffix(e, t, i = {}) {
664
661
  const s = this.getRule(e, i);
665
662
  return s ? `${this.options.prepend}${i.ordinal ? `ordinal${this.options.prepend}` : ""}${s.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, i));
666
663
  }
667
664
  }
668
- const ve = (r, e, t, i = ".", s = !0) => {
669
- let n = Ye(r, e, t);
670
- return !n && s && p(t) && (n = ie(r, t, i), n === void 0 && (n = ie(e, t, i))), n;
665
+ const Pe = (r, e, t, i = ".", s = !0) => {
666
+ let n = We(r, e, t);
667
+ return !n && s && p(t) && (n = ne(r, t, i), n === void 0 && (n = ne(e, t, i))), n;
671
668
  }, se = (r) => r.replace(/\$/g, "$$$$");
672
- class Pe {
669
+ class $e {
673
670
  constructor(e = {}) {
674
671
  var t;
675
672
  this.logger = N.create("interpolator"), this.options = e, this.format = ((t = e == null ? void 0 : e.interpolation) == null ? void 0 : t.format) || ((i) => i), this.init(e);
@@ -694,10 +691,10 @@ class Pe {
694
691
  nestingSuffix: d,
695
692
  nestingSuffixEscaped: m,
696
693
  nestingOptionsSeparator: x,
697
- maxReplaces: w,
698
- alwaysFormat: R
694
+ maxReplaces: v,
695
+ alwaysFormat: w
699
696
  } = e.interpolation;
700
- this.escape = t !== void 0 ? t : qe, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = n ? j(n) : a || "{{", this.suffix = o ? j(o) : u || "}}", this.formatSeparator = l || ",", this.unescapePrefix = f ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = g ? j(g) : h || j("$t("), this.nestingSuffix = d ? j(d) : m || j(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = w || 1e3, this.alwaysFormat = R !== void 0 ? R : !1, this.resetRegExp();
697
+ this.escape = t !== void 0 ? t : qe, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = n ? j(n) : a || "{{", this.suffix = o ? j(o) : u || "}}", this.formatSeparator = l || ",", this.unescapePrefix = f ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = g ? j(g) : h || j("$t("), this.nestingSuffix = d ? j(d) : m || j(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = v || 1e3, this.alwaysFormat = w !== void 0 ? w : !1, this.resetRegExp();
701
698
  }
702
699
  reset() {
703
700
  this.options && this.init(this.options);
@@ -711,15 +708,15 @@ class Pe {
711
708
  let n, a, o;
712
709
  const u = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, l = (d) => {
713
710
  if (d.indexOf(this.formatSeparator) < 0) {
714
- const R = ve(t, u, d, this.options.keySeparator, this.options.ignoreJSONStructure);
715
- return this.alwaysFormat ? this.format(R, void 0, i, {
711
+ const w = Pe(t, u, d, this.options.keySeparator, this.options.ignoreJSONStructure);
712
+ return this.alwaysFormat ? this.format(w, void 0, i, {
716
713
  ...s,
717
714
  ...t,
718
715
  interpolationkey: d
719
- }) : R;
716
+ }) : w;
720
717
  }
721
- const m = d.split(this.formatSeparator), x = m.shift().trim(), w = m.join(this.formatSeparator).trim();
722
- return this.format(ve(t, u, x, this.options.keySeparator, this.options.ignoreJSONStructure), w, i, {
718
+ const m = d.split(this.formatSeparator), x = m.shift().trim(), v = m.join(this.formatSeparator).trim();
719
+ return this.format(Pe(t, u, x, this.options.keySeparator, this.options.ignoreJSONStructure), v, i, {
723
720
  ...s,
724
721
  ...t,
725
722
  interpolationkey: x
@@ -738,8 +735,8 @@ class Pe {
738
735
  const m = n[1].trim();
739
736
  if (a = l(m), a === void 0)
740
737
  if (typeof f == "function") {
741
- const w = f(e, n, s);
742
- a = p(w) ? w : "";
738
+ const v = f(e, n, s);
739
+ a = p(v) ? v : "";
743
740
  } else if (s && Object.prototype.hasOwnProperty.call(s, m))
744
741
  a = "";
745
742
  else if (c) {
@@ -747,7 +744,7 @@ class Pe {
747
744
  continue;
748
745
  } else
749
746
  this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), a = "";
750
- else !p(a) && !this.useRawValueToEscape && (a = ye(a));
747
+ else !p(a) && !this.useRawValueToEscape && (a = xe(a));
751
748
  const x = d.safeValue(a);
752
749
  if (e = e.replace(n[0], x), c ? (d.regex.lastIndex += a.length, d.regex.lastIndex -= n[0].length) : d.regex.lastIndex = 0, o++, o >= this.maxReplaces)
753
750
  break;
@@ -781,7 +778,7 @@ class Pe {
781
778
  }, a = a.replace && !p(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
782
779
  const l = /{.*}/.test(s[1]) ? s[1].lastIndexOf("}") + 1 : s[1].indexOf(this.formatSeparator);
783
780
  if (l !== -1 && (u = s[1].slice(l).split(this.formatSeparator).map((f) => f.trim()).filter(Boolean), s[1] = s[1].slice(0, l)), n = t(o.call(this, s[1].trim(), a), a), n && s[0] === e && !p(n)) return n;
784
- p(n) || (n = ye(n)), n || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), n = ""), u.length && (n = u.reduce((f, c) => this.format(f, c, i.lng, {
781
+ p(n) || (n = xe(n)), n || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), n = ""), u.length && (n = u.reduce((f, c) => this.format(f, c, i.lng, {
785
782
  ...i,
786
783
  interpolationkey: s[1].trim()
787
784
  }), n.trim())), e = e.replace(s[0], n), this.regexp.lastIndex = 0;
@@ -807,7 +804,7 @@ const st = (r) => {
807
804
  formatName: e,
808
805
  formatOptions: t
809
806
  };
810
- }, $e = (r) => {
807
+ }, Ne = (r) => {
811
808
  const e = {};
812
809
  return (t, i, s) => {
813
810
  let n = s;
@@ -828,7 +825,7 @@ class nt {
828
825
  interpolation: {}
829
826
  }) {
830
827
  this.formatSeparator = t.interpolation.formatSeparator || ",";
831
- const i = t.cacheInBuiltFormats ? $e : it;
828
+ const i = t.cacheInBuiltFormats ? Ne : it;
832
829
  this.formats = {
833
830
  number: i((s, n) => {
834
831
  const a = new Intl.NumberFormat(s, {
@@ -867,7 +864,7 @@ class nt {
867
864
  this.formats[e.toLowerCase().trim()] = t;
868
865
  }
869
866
  addCached(e, t) {
870
- this.formats[e.toLowerCase().trim()] = $e(t);
867
+ this.formats[e.toLowerCase().trim()] = Ne(t);
871
868
  }
872
869
  format(e, t, i, s = {}) {
873
870
  const n = t.split(this.formatSeparator);
@@ -1035,7 +1032,7 @@ class rt extends Q {
1035
1032
  }
1036
1033
  }
1037
1034
  }
1038
- const Ne = () => ({
1035
+ const ie = () => ({
1039
1036
  debug: !1,
1040
1037
  initAsync: !0,
1041
1038
  ns: ["translation"],
@@ -1095,7 +1092,7 @@ const Ne = () => ({
1095
1092
  }), ke = (r) => {
1096
1093
  var e, t;
1097
1094
  return p(r.ns) && (r.ns = [r.ns]), p(r.fallbackLng) && (r.fallbackLng = [r.fallbackLng]), p(r.fallbackNS) && (r.fallbackNS = [r.fallbackNS]), ((t = (e = r.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (r.supportedLngs = r.supportedLngs.concat(["cimode"])), typeof r.initImmediate == "boolean" && (r.initAsync = r.initImmediate), r;
1098
- }, W = () => {
1095
+ }, Y = () => {
1099
1096
  }, ot = (r) => {
1100
1097
  Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((t) => {
1101
1098
  typeof r[t] == "function" && (r[t] = r[t].bind(r));
@@ -1115,7 +1112,7 @@ class B extends Q {
1115
1112
  }
1116
1113
  init(e = {}, t) {
1117
1114
  this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (p(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
1118
- const i = Ne();
1115
+ const i = ie();
1119
1116
  this.options = {
1120
1117
  ...i,
1121
1118
  ...this.options,
@@ -1129,23 +1126,23 @@ class B extends Q {
1129
1126
  this.modules.logger ? N.init(s(this.modules.logger), this.options) : N.init(null, this.options);
1130
1127
  let l;
1131
1128
  this.modules.formatter ? l = this.modules.formatter : l = nt;
1132
- const f = new Ce(this.options);
1129
+ const f = new we(this.options);
1133
1130
  this.store = new Le(this.options.resources, this.options);
1134
1131
  const c = this.services;
1135
1132
  c.logger = N, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new tt(f, {
1136
1133
  prepend: this.options.pluralSeparator,
1137
1134
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
1138
- }), this.options.interpolation.format && this.options.interpolation.format !== i.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), l && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (c.formatter = s(l), c.formatter.init && c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new Pe(this.options), c.utils = {
1135
+ }), this.options.interpolation.format && this.options.interpolation.format !== i.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), l && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (c.formatter = s(l), c.formatter.init && c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new $e(this.options), c.utils = {
1139
1136
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
1140
1137
  }, c.backendConnector = new rt(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", (h, ...d) => {
1141
1138
  this.emit(h, ...d);
1142
- }), this.modules.languageDetector && (c.languageDetector = s(this.modules.languageDetector), c.languageDetector.init && c.languageDetector.init(c, this.options.detection, this.options)), this.modules.i18nFormat && (c.i18nFormat = s(this.modules.i18nFormat), c.i18nFormat.init && c.i18nFormat.init(this)), this.translator = new G(this.services, this.options), this.translator.on("*", (h, ...d) => {
1139
+ }), this.modules.languageDetector && (c.languageDetector = s(this.modules.languageDetector), c.languageDetector.init && c.languageDetector.init(c, this.options.detection, this.options)), this.modules.i18nFormat && (c.i18nFormat = s(this.modules.i18nFormat), c.i18nFormat.init && c.i18nFormat.init(this)), this.translator = new _(this.services, this.options), this.translator.on("*", (h, ...d) => {
1143
1140
  this.emit(h, ...d);
1144
1141
  }), this.modules.external.forEach((h) => {
1145
1142
  h.init && h.init(this);
1146
1143
  });
1147
1144
  }
1148
- if (this.format = this.options.interpolation.format, t || (t = W), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
1145
+ if (this.format = this.options.interpolation.format, t || (t = Y), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
1149
1146
  const l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
1150
1147
  l.length > 0 && l[0] !== "dev" && (this.options.lng = l[0]);
1151
1148
  }
@@ -1163,7 +1160,7 @@ class B extends Q {
1163
1160
  };
1164
1161
  return this.options.resources || !this.options.initAsync ? u() : setTimeout(u, 0), o;
1165
1162
  }
1166
- loadResources(e, t = W) {
1163
+ loadResources(e, t = Y) {
1167
1164
  var n, a;
1168
1165
  let i = t;
1169
1166
  const s = p(e) ? e : this.language;
@@ -1183,14 +1180,14 @@ class B extends Q {
1183
1180
  }
1184
1181
  reloadResources(e, t, i) {
1185
1182
  const s = U();
1186
- return typeof e == "function" && (i = e, e = void 0), typeof t == "function" && (i = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), i || (i = W), this.services.backendConnector.reload(e, t, (n) => {
1183
+ return typeof e == "function" && (i = e, e = void 0), typeof t == "function" && (i = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), i || (i = Y), this.services.backendConnector.reload(e, t, (n) => {
1187
1184
  s.resolve(), i(n);
1188
1185
  }), s;
1189
1186
  }
1190
1187
  use(e) {
1191
1188
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
1192
1189
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
1193
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Ae.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
1190
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Fe.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
1194
1191
  }
1195
1192
  setResolvedLanguage(e) {
1196
1193
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
@@ -1230,10 +1227,10 @@ class B extends Q {
1230
1227
  }, u.lng = u.lng || s.lng, u.lngs = u.lngs || s.lngs, u.ns = u.ns || s.ns, u.keyPrefix !== "" && (u.keyPrefix = u.keyPrefix || i || s.keyPrefix);
1231
1228
  const l = this.options.keySeparator || ".";
1232
1229
  let f;
1233
- return u.keyPrefix && Array.isArray(n) ? f = n.map((c) => (typeof c == "function" && (c = ne(c, {
1230
+ return u.keyPrefix && Array.isArray(n) ? f = n.map((c) => (typeof c == "function" && (c = ae(c, {
1234
1231
  ...this.options,
1235
1232
  ...a
1236
- })), `${u.keyPrefix}${l}${c}`)) : (typeof n == "function" && (n = ne(n, {
1233
+ })), `${u.keyPrefix}${l}${c}`)) : (typeof n == "function" && (n = ae(n, {
1237
1234
  ...this.options,
1238
1235
  ...a
1239
1236
  })), f = u.keyPrefix ? `${u.keyPrefix}${l}${n}` : n), this.t(f, u);
@@ -1295,14 +1292,14 @@ class B extends Q {
1295
1292
  }
1296
1293
  } catch {
1297
1294
  }
1298
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = ((n = this.services) == null ? void 0 : n.languageUtils) || new Ce(Ne());
1295
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = ((n = this.services) == null ? void 0 : n.languageUtils) || new we(ie());
1299
1296
  return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
1300
1297
  }
1301
1298
  static createInstance(e = {}, t) {
1302
1299
  const i = new B(e, t);
1303
1300
  return i.createInstance = B.createInstance, i;
1304
1301
  }
1305
- cloneInstance(e = {}, t = W) {
1302
+ cloneInstance(e = {}, t = Y) {
1306
1303
  const i = e.forkResourceStore;
1307
1304
  i && delete e.forkResourceStore;
1308
1305
  const s = {
@@ -1324,7 +1321,18 @@ class B extends Q {
1324
1321
  }, f), u[l]), u), {});
1325
1322
  n.store = new Le(o, s), n.services.resourceStore = n.store;
1326
1323
  }
1327
- return e.interpolation && (n.services.interpolator = new Pe(s)), n.translator = new G(n.services, s), n.translator.on("*", (o, ...u) => {
1324
+ if (e.interpolation) {
1325
+ const u = {
1326
+ ...ie().interpolation,
1327
+ ...this.options.interpolation,
1328
+ ...e.interpolation
1329
+ }, l = {
1330
+ ...s,
1331
+ interpolation: u
1332
+ };
1333
+ n.services.interpolator = new $e(l);
1334
+ }
1335
+ return n.translator = new _(n.services, s), n.translator.on("*", (o, ...u) => {
1328
1336
  n.emit(o, ...u);
1329
1337
  }), n.init(s, t), n.translator.options = s, n.translator.backendConnector.services.utils = {
1330
1338
  hasLoadedNamespace: n.hasLoadedNamespace.bind(n)
@@ -1355,7 +1363,7 @@ y.setDefaultNamespace;
1355
1363
  y.hasLoadedNamespace;
1356
1364
  y.loadNamespaces;
1357
1365
  y.loadLanguages;
1358
- const rs = (r) => {
1366
+ const ls = (r) => {
1359
1367
  var e, t;
1360
1368
  !((e = r == null ? void 0 : r.i18n) != null && e.language) || !((t = r == null ? void 0 : r.i18n) != null && t.translations) || y.language === r.i18n.language && y.isInitialized || y.init({
1361
1369
  lng: r.i18n.language,
@@ -1367,19 +1375,19 @@ const rs = (r) => {
1367
1375
  });
1368
1376
  };
1369
1377
  /**
1370
- * @license @tabler/icons-react v3.36.0 - MIT
1378
+ * @license @tabler/icons-react v3.36.1 - MIT
1371
1379
  *
1372
1380
  * This source code is licensed under the MIT license.
1373
1381
  * See the LICENSE file in the root directory of this source tree.
1374
1382
  */
1375
- const lt = [["path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0", key: "svg-0" }], ["path", { d: "M12 8v4", key: "svg-1" }], ["path", { d: "M12 16h.01", key: "svg-2" }]], os = He("outline", "alert-circle", "AlertCircle", lt), ut = (r, e) => {
1383
+ const lt = [["path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0", key: "svg-0" }], ["path", { d: "M12 8v4", key: "svg-1" }], ["path", { d: "M12 16h.01", key: "svg-2" }]], us = He("outline", "alert-circle", "AlertCircle", lt), ut = (r, e) => {
1376
1384
  if (!r || !r.includes("|")) return y.t(r, e);
1377
1385
  const [t, i] = r.split("|", 2).map((s) => s.trim());
1378
1386
  return y.t(
1379
1387
  [t, i].filter((s) => !!s),
1380
1388
  e
1381
1389
  );
1382
- }, ls = (r) => {
1390
+ }, cs = (r) => {
1383
1391
  const e = {};
1384
1392
  return Object.keys(r).forEach((t) => {
1385
1393
  const i = r[t];
@@ -1388,12 +1396,12 @@ const lt = [["path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0", key: "svg-0" }
1388
1396
  }, je = {
1389
1397
  MARKDOWN: "Markdown",
1390
1398
  JSON: "Json"
1391
- }, ae = X("DisplayFormat", {
1399
+ }, re = X("DisplayFormat", {
1392
1400
  label: "Display format",
1393
1401
  optionLabel: (r) => r
1394
1402
  });
1395
- C(ae, je.MARKDOWN);
1396
- C(ae, je.JSON);
1403
+ C(re, je.MARKDOWN);
1404
+ C(re, je.JSON);
1397
1405
  const Z = X("align", {
1398
1406
  label: "Alignment",
1399
1407
  optionLabel: (r) => r
@@ -1423,34 +1431,34 @@ const ct = {
1423
1431
  }, ht = {
1424
1432
  name: "timeRange",
1425
1433
  type: "timeRange",
1426
- label: "Time Range"
1434
+ label: "Time range"
1427
1435
  }, pt = {
1428
1436
  name: "width",
1429
1437
  type: "number",
1430
1438
  label: "Width",
1431
1439
  description: "You can input a number in pixels e.g. 400"
1432
- }, gt = { name: "align", type: Z, label: "Align" }, re = { name: "prefix", type: "string", label: "Prefix" }, oe = { name: "suffix", type: "string", label: "Suffix" }, le = {
1440
+ }, gt = { name: "align", type: Z, label: "Align" }, oe = { name: "prefix", type: "string", label: "Prefix" }, le = { name: "suffix", type: "string", label: "Suffix" }, ue = {
1433
1441
  name: "displayName",
1434
1442
  type: "string",
1435
1443
  label: "Display name"
1436
- }, ue = {
1444
+ }, ce = {
1437
1445
  name: "maxCharacters",
1438
1446
  type: "number",
1439
1447
  label: "Maximum characters",
1440
1448
  description: void 0,
1441
1449
  supportedTypes: ["string"]
1442
- }, ce = {
1450
+ }, fe = {
1443
1451
  name: "decimalPlaces",
1444
1452
  type: "number",
1445
1453
  label: "Decimal places",
1446
1454
  supportedTypes: ["number"]
1447
- }, fe = {
1455
+ }, de = {
1448
1456
  name: "currency",
1449
1457
  type: "string",
1450
1458
  label: "Currency",
1451
1459
  description: "e.g. EUR",
1452
1460
  supportedTypes: ["number"]
1453
- }, de = {
1461
+ }, he = {
1454
1462
  name: "abbreviateLargeNumber",
1455
1463
  type: "boolean",
1456
1464
  label: "Abbreviate large number",
@@ -1458,7 +1466,7 @@ const ct = {
1458
1466
  }, Ie = {
1459
1467
  name: "dateBounds",
1460
1468
  type: "timeRange",
1461
- label: "Date Bounds",
1469
+ label: "Date bounds",
1462
1470
  description: "Set the date range for the axis",
1463
1471
  supportedTypes: ["time"]
1464
1472
  }, Ee = {
@@ -1471,7 +1479,7 @@ const ct = {
1471
1479
  name: "color",
1472
1480
  label: "Color"
1473
1481
  }, yt = {
1474
- type: ae,
1482
+ type: re,
1475
1483
  name: "displayFormat",
1476
1484
  label: "Display format"
1477
1485
  }, xt = {
@@ -1479,44 +1487,44 @@ const ct = {
1479
1487
  name: "tableCellStyle",
1480
1488
  label: "Table cell style"
1481
1489
  }, I = [
1482
- re,
1483
1490
  oe,
1484
1491
  le,
1485
1492
  ue,
1486
1493
  ce,
1487
1494
  fe,
1488
- de
1495
+ de,
1496
+ he
1489
1497
  ], bt = [
1490
- re,
1491
1498
  oe,
1492
1499
  le,
1493
1500
  ue,
1494
1501
  ce,
1495
1502
  fe,
1496
1503
  de,
1504
+ he,
1497
1505
  Ee,
1498
1506
  Ie
1499
- ], us = {
1507
+ ], fs = {
1500
1508
  boolean: dt,
1501
1509
  timeRange: ht,
1502
1510
  number: ct,
1503
1511
  string: ft,
1504
1512
  width: pt,
1505
1513
  align: gt,
1506
- prefix: re,
1507
- suffix: oe,
1508
- displayName: le,
1509
- maxCharacters: ue,
1510
- decimalPlaces: ce,
1511
- currency: fe,
1512
- abbreviateLargeNumber: de,
1514
+ prefix: oe,
1515
+ suffix: le,
1516
+ displayName: ue,
1517
+ maxCharacters: ce,
1518
+ decimalPlaces: fe,
1519
+ currency: de,
1520
+ abbreviateLargeNumber: he,
1513
1521
  dateBounds: Ie,
1514
1522
  granularity: Ee,
1515
1523
  color: mt,
1516
1524
  displayFormat: yt,
1517
1525
  tableCellStyle: xt
1518
1526
  }, E = X("comparisonPeriod", {
1519
- label: "Comparison Period",
1527
+ label: "Comparison period",
1520
1528
  optionLabel: (r) => r
1521
1529
  });
1522
1530
  C(E, "Previous period");
@@ -1528,15 +1536,15 @@ const St = {
1528
1536
  name: "boolean",
1529
1537
  type: "boolean",
1530
1538
  label: "Boolean"
1531
- }, Lt = {
1539
+ }, Ot = {
1532
1540
  name: "timeRange",
1533
1541
  type: "timeRange",
1534
- label: "Time Range"
1535
- }, Ot = {
1542
+ label: "Time range"
1543
+ }, Lt = {
1536
1544
  name: "number",
1537
1545
  type: "number",
1538
1546
  label: "Number"
1539
- }, Me = {
1547
+ }, Ve = {
1540
1548
  name: "string",
1541
1549
  type: "string",
1542
1550
  label: "String"
@@ -1545,24 +1553,24 @@ const St = {
1545
1553
  type: "string",
1546
1554
  label: "Title",
1547
1555
  category: "Component Header"
1548
- }, Rt = {
1556
+ }, wt = {
1549
1557
  name: "description",
1550
1558
  type: "string",
1551
1559
  label: "Description",
1552
1560
  category: "Component Header"
1553
- }, wt = {
1561
+ }, vt = {
1554
1562
  name: "dataset",
1555
1563
  type: "dataset",
1556
1564
  label: "Dataset",
1557
1565
  required: !0,
1558
1566
  category: "Component Data"
1559
- }, vt = {
1567
+ }, Rt = {
1560
1568
  name: "maxLegendItems",
1561
1569
  type: "number",
1562
- label: "Max Legend Items",
1570
+ label: "Max legend items",
1563
1571
  defaultValue: 10,
1564
1572
  category: "Component Data"
1565
- }, Ve = {
1573
+ }, Me = {
1566
1574
  name: "dimension",
1567
1575
  type: "dimension",
1568
1576
  label: "Dimension",
@@ -1573,10 +1581,19 @@ const St = {
1573
1581
  category: "Component Data",
1574
1582
  inputs: I
1575
1583
  }, Pt = {
1576
- ...Ve,
1584
+ ...Me,
1577
1585
  name: "groupBy",
1578
- label: "Group By"
1586
+ label: "Group by"
1579
1587
  }, $t = {
1588
+ name: "granularity",
1589
+ type: "granularity",
1590
+ label: "Granularity"
1591
+ }, Nt = {
1592
+ name: "granularities",
1593
+ type: "granularity",
1594
+ label: "Granularities",
1595
+ array: !0
1596
+ }, kt = {
1580
1597
  name: "dimensionSimple",
1581
1598
  type: "dimension",
1582
1599
  label: "Dimension",
@@ -1586,10 +1603,10 @@ const St = {
1586
1603
  },
1587
1604
  required: !0,
1588
1605
  category: "Component Data"
1589
- }, Nt = {
1606
+ }, Dt = {
1590
1607
  name: "dimensionTime",
1591
1608
  type: "dimension",
1592
- label: "Dimension Time",
1609
+ label: "Dimension time",
1593
1610
  config: {
1594
1611
  dataset: "dataset",
1595
1612
  supportedTypes: ["time"],
@@ -1597,7 +1614,7 @@ const St = {
1597
1614
  },
1598
1615
  required: !0,
1599
1616
  category: "Component Data"
1600
- }, kt = {
1617
+ }, At = {
1601
1618
  name: "dimension",
1602
1619
  type: "dimension",
1603
1620
  label: "Dimension",
@@ -1607,7 +1624,7 @@ const St = {
1607
1624
  required: !0,
1608
1625
  category: "Component Data",
1609
1626
  inputs: bt
1610
- }, Dt = {
1627
+ }, Ft = {
1611
1628
  name: "dimensions",
1612
1629
  type: "dimension",
1613
1630
  label: "Dimensions",
@@ -1620,16 +1637,16 @@ const St = {
1620
1637
  }, Tt = {
1621
1638
  name: "dimensionOrMeasure",
1622
1639
  type: "dimensionOrMeasure",
1623
- label: "Dimension or Measure",
1640
+ label: "Dimension or measure",
1624
1641
  config: {
1625
1642
  dataset: "dataset"
1626
1643
  },
1627
1644
  category: "Component Data",
1628
1645
  inputs: I
1629
- }, At = {
1646
+ }, jt = {
1630
1647
  name: "dimensionsAndMeasures",
1631
1648
  type: "dimensionOrMeasure",
1632
- label: "Dimensions and Measures",
1649
+ label: "Dimensions and measures",
1633
1650
  array: !0,
1634
1651
  required: !0,
1635
1652
  config: {
@@ -1637,7 +1654,7 @@ const St = {
1637
1654
  },
1638
1655
  category: "Component Data",
1639
1656
  inputs: I
1640
- }, Ft = {
1657
+ }, It = {
1641
1658
  name: "measure",
1642
1659
  type: "measure",
1643
1660
  label: "Measure",
@@ -1647,7 +1664,7 @@ const St = {
1647
1664
  required: !0,
1648
1665
  category: "Component Data",
1649
1666
  inputs: I
1650
- }, jt = {
1667
+ }, Et = {
1651
1668
  name: "measures",
1652
1669
  type: "measure",
1653
1670
  label: "Measures",
@@ -1658,185 +1675,187 @@ const St = {
1658
1675
  required: !0,
1659
1676
  category: "Component Data",
1660
1677
  inputs: I
1661
- }, It = {
1678
+ }, Vt = {
1662
1679
  name: "comparisonPeriod",
1663
1680
  type: E,
1664
- label: "Comparison Period",
1681
+ label: "Comparison period",
1665
1682
  category: "Component data"
1666
- }, Et = {
1683
+ }, Mt = {
1667
1684
  name: "maxResults",
1668
1685
  type: "number",
1669
1686
  label: "Max results",
1670
1687
  category: "Component Settings",
1671
1688
  defaultValue: 1e3
1672
- }, Mt = {
1689
+ }, Kt = {
1673
1690
  name: "placeholder",
1674
1691
  type: "string",
1675
1692
  label: "Placeholder",
1676
1693
  category: "Component Settings"
1677
- }, Vt = {
1694
+ }, Ut = {
1678
1695
  name: "showLegend",
1679
1696
  type: "boolean",
1680
- label: "Show Legend",
1697
+ label: "Show legend",
1681
1698
  defaultValue: !0,
1682
1699
  category: "Component Settings"
1683
- }, Kt = {
1700
+ }, Ht = {
1684
1701
  name: "showTooltips",
1685
1702
  type: "boolean",
1686
- label: "Show Tooltips",
1703
+ label: "Show tooltips",
1687
1704
  defaultValue: !0,
1688
1705
  category: "Component Settings"
1689
- }, Ut = {
1706
+ }, Bt = {
1690
1707
  name: "showValueLabels",
1691
1708
  type: "boolean",
1692
- label: "Show Value Labels",
1709
+ label: "Show value labels",
1693
1710
  defaultValue: !0,
1694
1711
  category: "Component Settings"
1695
- }, Ht = {
1712
+ }, zt = {
1696
1713
  name: "showTotalLabels",
1697
1714
  type: "boolean",
1698
- label: "Show Total Labels",
1715
+ label: "Show total labels",
1699
1716
  defaultValue: !1,
1700
1717
  category: "Component Settings"
1701
- }, Bt = {
1718
+ }, Jt = {
1702
1719
  name: "showLogarithmicScale",
1703
1720
  type: "boolean",
1704
- label: "Show Logarithmic Scale",
1721
+ label: "Show logarithmic scale",
1705
1722
  defaultValue: !1,
1706
1723
  category: "Component Settings"
1707
- }, zt = {
1724
+ }, Wt = {
1708
1725
  name: "displayPercentages",
1709
1726
  type: "boolean",
1710
- label: "Display Percentages",
1727
+ label: "Display percentages",
1711
1728
  defaultValue: !1,
1712
1729
  category: "Component Settings"
1713
- }, Jt = {
1730
+ }, Yt = {
1714
1731
  type: De,
1715
1732
  name: "color",
1716
1733
  label: "Color",
1717
1734
  category: "Component Settings"
1718
- }, Yt = {
1735
+ }, qt = {
1719
1736
  type: "number",
1720
1737
  name: "fontSize",
1721
- label: "Font Size",
1738
+ label: "Font size",
1722
1739
  category: "Component Settings"
1723
- }, Wt = {
1740
+ }, Gt = {
1724
1741
  type: "boolean",
1725
1742
  name: "clearable",
1726
1743
  label: "Can be cleared",
1727
1744
  defaultValue: !0,
1728
1745
  category: "Component Settings"
1729
- }, qt = {
1730
- ...Me,
1746
+ }, _t = {
1747
+ ...Ve,
1731
1748
  name: "displayNullAs",
1732
1749
  label: "Display null as",
1733
1750
  category: "Component Settings"
1734
- }, _t = {
1751
+ }, Xt = {
1735
1752
  name: "xAxisLabel",
1736
1753
  type: "string",
1737
1754
  label: "X-axis Label",
1738
1755
  category: "Axes Settings"
1739
- }, Gt = {
1756
+ }, Qt = {
1740
1757
  name: "yAxisLabel",
1741
1758
  type: "string",
1742
- label: "Y-axis Label",
1759
+ label: "Y-axis label",
1743
1760
  category: "Axes Settings"
1744
- }, Xt = {
1761
+ }, Zt = {
1745
1762
  name: "reverseXAxis",
1746
1763
  type: "boolean",
1747
- label: "Reverse X-axis",
1764
+ label: "Reverse x-axis",
1748
1765
  defaultValue: !1,
1749
1766
  category: "Axes Settings"
1750
- }, Qt = {
1767
+ }, es = {
1751
1768
  name: "reverseYAxis",
1752
1769
  type: "boolean",
1753
- label: "Reverse Y-axis",
1770
+ label: "Reverse y-axis",
1754
1771
  defaultValue: !1,
1755
1772
  category: "Axes Settings"
1756
- }, Zt = {
1773
+ }, ts = {
1757
1774
  name: "yAxisRangeMin",
1758
1775
  type: "number",
1759
- label: "Y-axis Range Min",
1776
+ label: "Y-axis range min",
1760
1777
  category: "Axes Settings"
1761
- }, es = {
1778
+ }, ss = {
1762
1779
  name: "yAxisRangeMax",
1763
1780
  type: "number",
1764
- label: "Y-axis Range Max",
1781
+ label: "Y-axis range max",
1765
1782
  category: "Axes Settings"
1766
- }, ts = {
1783
+ }, is = {
1767
1784
  name: "xAxisRangeMin",
1768
1785
  type: "number",
1769
- label: "X-axis Range Min",
1786
+ label: "X-axis range min",
1770
1787
  category: "Axes Settings"
1771
- }, ss = {
1788
+ }, ns = {
1772
1789
  name: "xAxisRangeMax",
1773
1790
  type: "number",
1774
- label: "X-axis Range Max",
1791
+ label: "X-axis range max",
1775
1792
  category: "Axes Settings"
1776
- }, is = {
1793
+ }, as = {
1777
1794
  name: "xAxisMaxItems",
1778
1795
  type: "number",
1779
- label: "Max X-axis Items",
1796
+ label: "Max x-axis items",
1780
1797
  category: "Axes Settings"
1781
- }, ns = {
1798
+ }, rs = {
1782
1799
  name: "yAxisMaxItems",
1783
1800
  type: "number",
1784
- label: "Max Y-axis Items",
1801
+ label: "Max y-axis items",
1785
1802
  category: "Axes Settings"
1786
- }, cs = {
1803
+ }, ds = {
1787
1804
  boolean: St,
1788
- timeRange: Lt,
1789
- number: Ot,
1790
- string: Me,
1805
+ timeRange: Ot,
1806
+ number: Lt,
1807
+ string: Ve,
1791
1808
  title: Ct,
1792
- description: Rt,
1793
- dataset: wt,
1794
- maxLegendItems: vt,
1795
- dimension: Ve,
1809
+ description: wt,
1810
+ dataset: vt,
1811
+ maxLegendItems: Rt,
1812
+ dimension: Me,
1796
1813
  groupBy: Pt,
1797
- dimensionSimple: $t,
1798
- dimensionTime: Nt,
1799
- dimensionWithDateBounds: kt,
1800
- dimensions: Dt,
1814
+ dimensionSimple: kt,
1815
+ dimensionTime: Dt,
1816
+ dimensionWithDateBounds: At,
1817
+ dimensions: Ft,
1801
1818
  dimensionOrMeasure: Tt,
1802
- dimensionsAndMeasures: At,
1803
- measure: Ft,
1804
- measures: jt,
1805
- comparisonPeriod: It,
1806
- maxResults: Et,
1807
- placeholder: Mt,
1808
- showLegend: Vt,
1809
- showTooltips: Kt,
1810
- showValueLabels: Ut,
1811
- showTotalLabels: Ht,
1812
- showLogarithmicScale: Bt,
1813
- displayPercentages: zt,
1814
- color: Jt,
1815
- fontSize: Yt,
1816
- clearable: Wt,
1817
- displayNullAs: qt,
1818
- xAxisLabel: _t,
1819
- yAxisLabel: Gt,
1820
- reverseXAxis: Xt,
1821
- reverseYAxis: Qt,
1822
- yAxisRangeMin: Zt,
1823
- yAxisRangeMax: es,
1824
- xAxisRangeMin: ts,
1825
- xAxisRangeMax: ss,
1826
- xAxisMaxItems: is,
1827
- yAxisMaxItems: ns
1819
+ dimensionsAndMeasures: jt,
1820
+ measure: It,
1821
+ measures: Et,
1822
+ comparisonPeriod: Vt,
1823
+ maxResults: Mt,
1824
+ placeholder: Kt,
1825
+ showLegend: Ut,
1826
+ showTooltips: Ht,
1827
+ showValueLabels: Bt,
1828
+ showTotalLabels: zt,
1829
+ showLogarithmicScale: Jt,
1830
+ displayPercentages: Wt,
1831
+ color: Yt,
1832
+ fontSize: qt,
1833
+ clearable: Gt,
1834
+ displayNullAs: _t,
1835
+ xAxisLabel: Xt,
1836
+ yAxisLabel: Qt,
1837
+ reverseXAxis: Zt,
1838
+ reverseYAxis: es,
1839
+ yAxisRangeMin: ts,
1840
+ yAxisRangeMax: ss,
1841
+ xAxisRangeMin: is,
1842
+ xAxisRangeMax: ns,
1843
+ xAxisMaxItems: as,
1844
+ yAxisMaxItems: rs,
1845
+ granularity: $t,
1846
+ granularities: Nt
1828
1847
  };
1829
1848
  export {
1830
1849
  E as C,
1831
1850
  je as D,
1832
- os as I,
1833
- rs as a,
1834
- cs as b,
1851
+ us as I,
1852
+ ls as a,
1853
+ ds as b,
1835
1854
  ut as c,
1836
1855
  I as d,
1837
1856
  y as i,
1838
- ls as r,
1839
- us as s,
1857
+ cs as r,
1858
+ fs as s,
1840
1859
  bt as t
1841
1860
  };
1842
- //# sourceMappingURL=component.inputs.constants-DvrG0Pd4.js.map
1861
+ //# sourceMappingURL=component.inputs.constants-jJBFejC-.js.map