iobroker.vis-2-widgets-inventwo 0.4.0 → 0.4.2

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/README.md CHANGED
@@ -14,25 +14,39 @@ Adds switches, buttons, sliders and more as widgets for ioBroker VIS 2.0.
14
14
  ## Content
15
15
  Various widgets for switching, navigating and more.
16
16
 
17
- ![Vorschau Universal- & Multi-Widget](img/preview_universal_widget.png)
17
+ ### Widget - Universal
18
+ ![Preview Universal- & Multi-Widget](img/preview_universal_widget.png)
18
19
 
19
- Various content types
20
+ #### Various content types
20
21
 
21
- ![Vorschau Colorpicker](img/preview_content_types.png)
22
+ ![Preview Colorpicker](img/preview_content_types.png)
22
23
 
23
24
  Color picker
24
25
 
25
- ![Vorschau Colorpicker](img/preview_colorpicker.png)
26
+ ![Preview Colorpicker](img/preview_colorpicker.png)
26
27
 
27
- Slider
28
+ ### Widget - Slider
28
29
 
29
- ![Vorschau Colorpicker](img/preview_sliders.png)
30
+ ![Preview Slider](img/preview_sliders.png)
30
31
 
31
- Switches
32
+ ### Widget - Switches
32
33
 
33
- ![Vorschau Colorpicker](img/preview_switches.png)
34
+ ![Preview Switches](img/preview_switches.png)
34
35
 
35
- #### More will follow...
36
+ ### Widget - Checkbox
37
+
38
+ ![Preview Checkbox](img/preview_checkbox.png)
39
+
40
+ ### Widget—Table
41
+
42
+ ![Preview Table](img/preview_table.png)
43
+
44
+ ### Design
45
+ All widgets come with extensive design options to customize the look and feel to your needs.
46
+
47
+ ![Preview Customization](img/preview_css_customization.png)
48
+
49
+ ### More will follow...
36
50
 
37
51
 
38
52
  ## Changelog
@@ -40,6 +54,15 @@ Switches
40
54
  Placeholder for the next version (at the beginning of the line):
41
55
  ### **WORK IN PROGRESS**
42
56
  -->
57
+ ### 0.4.2 (2025-12-22)
58
+ - Vite downgrade
59
+
60
+ ### 0.4.1 (2025-12-18)
61
+ - Added image type to column for table widget (#97)
62
+ - Added custom datetime format support for table widget (#97)
63
+ - Fix issue in slider widget when steps is active but value is empty
64
+ - Changed module federation version to match vis 2.0 stable
65
+
43
66
  ### 0.4.0 (2025-12-13)
44
67
  - Switched to TypeScript
45
68
 
package/io-package.json CHANGED
@@ -1,8 +1,34 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "vis-2-widgets-inventwo",
4
- "version": "0.4.0",
4
+ "version": "0.4.2",
5
5
  "news": {
6
+ "0.4.2": {
7
+ "en": "Vite downgrade",
8
+ "de": "Vit Downgrade",
9
+ "ru": "Понижение рейтинга",
10
+ "pt": "Vite downgrade",
11
+ "nl": "Vite downgrade",
12
+ "fr": "Diminution de la teneur en vitamines",
13
+ "it": "Vite downgrade",
14
+ "es": "Actualización vita",
15
+ "pl": "Vite downgrade",
16
+ "uk": "Вайт град",
17
+ "zh-cn": "降级"
18
+ },
19
+ "0.4.1": {
20
+ "en": "Added image type to column for table widget (#97)\nAdded custom datetime format support for table widget (#97)\nFix issue in slider widget when steps is active but value is empty\nChanged module federation version to match vis 2.0 stable",
21
+ "de": "Bildtyp zur Spalte für Tabelle Widget (#97) hinzugefügt\nHinzugefügt benutzerdefinierte Datetime-Format-Unterstützung für Tabelle Widget (#97)\nProblem im Slider Widget beheben, wenn die Schritte aktiv sind, aber der Wert leer ist\nGeänderte Modul-Feederationsversion passend zu vis 2.0 stabil",
22
+ "ru": "Добавлен тип изображения в колонку для виджета таблицы (#97)\nДобавлена поддержка пользовательского формата даты для виджета таблицы (#97)\nИсправление проблемы в виджете слайдера, когда шаги активны, но ценность пуста\nИзмененная версия федерации модулей соответствует стабильной версии 2.0",
23
+ "pt": "Tipo de imagem adicionado à coluna para o elemento da tabela (# 97)\nAdicionado suporte personalizado ao formato datetime para widget de tabela (# 97)\nCorrigir o problema no elemento da barra deslizante quando os passos estiverem activos, mas o valor estiver vazio\nVersão alterada da federação do módulo para coincidir com a versão 2.0 estável",
24
+ "nl": "Afbeeldingstype toegevoegd aan kolom voor tabelwidget (#97)\nAangepaste datum-indelingsondersteuning voor tabelwidget (#97) toegevoegd\nFix probleem in dia widget wanneer stappen actief zijn, maar waarde is leeg\nVeranderde module federatie versie om te passen vis 2.0 stabiel",
25
+ "fr": "Ajout du type d'image à la colonne pour le widget de table (#97)\nAjout du support personnalisé de format datetime pour widget de table (#97)\nCorrection de problème dans le widget slider lorsque les étapes sont actives mais la valeur est vide\nVersion modifiée de la fédération module pour correspondre vis 2.0 stable",
26
+ "it": "Tipo di immagine aggiunto alla colonna per widget di tabella (#97)\nAggiunto supporto di formato datatime personalizzato per widget di tabella (#97)\nRisolvi il problema nel widget del cursore quando i passaggi sono attivi ma il valore è vuoto\nModificata versione federativa del modulo per abbinare vis 2.0 stable",
27
+ "es": "Tipo de imagen añadido a la columna para el widget de mesa (#97)\nAñadido soporte de formato de fecha personalizada para el widget de mesa (#97)\nCorregir el problema en el widget deslizante cuando los pasos están activos pero el valor está vacío\nVersión de federación del módulo cambiado para comparar con 2.0 estable",
28
+ "pl": "Dodano typ obrazka do kolumny dla widżetu tabeli (# 97)\nDodano niestandardowe wsparcie formatu datetime dla interfejsu tabeli (# 97)\nNaprawianie problemu w widżecie suwaka, gdy kroki są aktywne, ale wartość jest pusta\nZmieniona wersja federacyjna modułu do dopasowania do wersji 2.0 stabilnej",
29
+ "uk": "Додано тип зображення до колонки для настільного віджету (#97)\nДодано користувальницький дата-центр підтримки для настільного віджету (#97)\nВиправлено проблему у віджеті слайдера, коли дії активні, але значення є порожнім\nЗмінений варіант федерації модуля, щоб відповідати в'язам 2.0 стабільний",
30
+ "zh-cn": "将图像类型添加到表格部件的列(# 97)\n为表格部件添加自定义日期时间格式支持(# 97)\n当步骤活动但值为空时, 在滑动部件中修正发行\n更改模块 Federation 版本, 与 2.0 稳定匹配"
31
+ },
6
32
  "0.4.0": {
7
33
  "en": "Switched to TypeScript",
8
34
  "de": "Zu TypeScript geschaltet",
@@ -67,32 +93,6 @@
67
93
  "pl": "Naprawiono kolor granicy etykiety w stanie uniwersalnego widżetu (#120)",
68
94
  "uk": "Виправлено колір межі мітки в універсальному віджеті станів (#120)",
69
95
  "zh-cn": "修复了通用小部件状态中边框颜色标签的问题 (#120)"
70
- },
71
- "0.3.8": {
72
- "en": "Fix issue with table border radius and added option to set border radius (#99)\nFix issue with universal widget and comparison other than \"equal\" (#109)\nAdded option to inherit state colors from other widgets (#120",
73
- "de": "Problem mit der Tischrundung behoben und Option hinzugefügt, um die Tischrundung einzustellen (#99)\nBeheben Sie das Problem mit dem universellen Widget und dem Vergleich \"ungleich\" (#109)\nHinzufügen der Option, um Statusfarben von anderen Widgets zu übernehmen (#120)",
74
- "ru": "Исправлена проблема с радиусом границы таблицы и добавлена опция для установки радиуса границы (#99)\nИсправлена проблема с универсальным виджетом и сравнением, отличным от \"равно\" (#109)\nДобавлена опция наследования цветов состояний из других виджетов (#120)",
75
- "pt": "Corrigido problema com o raio da borda da tabela e adicionada a opção para definir o raio da borda (#99)\nCorrigir problema com o widget universal e a comparação que não seja \"igual\" (#109)\nAdicionada a opção de herdar as cores do estado de outros widgets (#120)",
76
- "nl": "Probleem met tafelrandstraal opgelost en optie toegevoegd om de randstraal in te stellen (#99)\nHerstel probleem met universele widget en vergelijking andere dan \"gelijk\" (#109)\nToegevoegde optie om statuskleuren over te nemen van andere widgets (#120)",
77
- "fr": "Corriger le problème avec le rayon de bordure du tableau et ajouter une option pour définir le rayon de bordure (#99)\nRésoudre le problème avec le widget universel et la comparaison autre que \"égal\" (#109)\nAjout de l'option permettant d'hériter des couleurs d'état d'autres widgets (#120)",
78
- "it": "Risolto il problema con il raggio del bordo del tavolo e aggiunta l'opzione per impostare il raggio del bordo (#99)\nRisoluzione problema con il widget universale e il confronto diverso da \"uguale\" (#109)\nAggiunta opzione per ereditare i colori dello stato da altri widget (#120).",
79
- "es": "Corregido problema con el radio de borde de la tabla y se añadió la opción de establecer el radio de borde (#99)\nCorregir problema con el widget universal y la comparación que no sea \"igual\" (#109)\nAñadida opción para heredar los colores de estado de otros widgets (#120)",
80
- "pl": "Naprawiono problem z promieniem okręgu tabeli i dodano opcję ustawienia promienia okręgu (#99)\nNaprawiono problem z uniwersalnym widżetem i porównaniem innym niż \"równy\" (#109)\nDodano opcję dziedziczenia kolorów stanu z innych widżetów (#120)",
81
- "uk": "Виправлено проблему з округленням кутів таблиці та додана опція для задання радіусу кутів (#99)\nВиправлено проблему з універсальним віджетом та порівнянням, відмінним від \"рівне\" (#109)\nДодана ​​опція успадкування кольорів стану від інших віджетів (#120)",
82
- "zh-cn": "修复了表格边框半径的问题,并添加了设置边框半径的选项 (#99)\n修复通用小部件与\"等于\"之外的比较问题 (#109)\n添加了从其他小部件继承状态颜色的选项(#120)"
83
- },
84
- "0.3.7": {
85
- "en": "Removed code to print console logs to a widget for debugging purposes",
86
- "de": "Entfernter Code zum Drucken von Konsolenprotokollen in ein Widget zu Debugging-Zwecken",
87
- "ru": "Удален код для вывода журнальных логов на виджет для отладочных целей",
88
- "pt": "Removido o código para imprimir logs do console em um widget para fins de depuração",
89
- "nl": "Verwijderde code om console logs af te drukken naar een widget voor debugdoeleinden",
90
- "fr": "Suppression du code permettant d'imprimer les journaux de la console dans un widget à des fins de débogage",
91
- "it": "Rimosso il codice per stampare i log della console su un widget a fini di debug",
92
- "es": "Se eliminó el código que imprimía mensajes de consola en un widget con fines de depuración.",
93
- "pl": "Usunięto kod odpowiedzialny za wyświetlanie logów konsoli w widżecie do celów debugowania.",
94
- "uk": "Видалено код для виведення журналів консолі в віджет для налагодження коду.",
95
- "zh-cn": "为了调试目的,已移除将控制台日志打印到小部件的代码。"
96
96
  }
97
97
  },
98
98
  "titleLang": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.vis-2-widgets-inventwo",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "ioBroker vis2 inventwo widgets",
5
5
  "author": "jkvarel <jk@inventwo.com>",
6
6
  "contributors": [
@@ -405,7 +405,7 @@ let __tla = Promise.all([
405
405
  label: d
406
406
  })), this.state.rxData.showSteps) if (this.state.rxData.stepMode === "auto") {
407
407
  const i = this.state.rxData.stepDisplay;
408
- if (i > 0) for (let l = t + i; l < d; l += i) o.push({
408
+ if (i > 0 && t && d && i) for (let l = t + i; l < d; l += i) o.push({
409
409
  value: parseFloat(l.toFixed(2).replace(/[.,]00$/, "")),
410
410
  label: l.toFixed(2).replace(/[.,]00$/, "")
411
411
  });
@@ -1,13 +1,13 @@
1
1
  import { j as l, __tla as __tla_0 } from "./jsx-runtime-1KR4UBAX.js";
2
- import { v as r, __tla as __tla_1 } from "./vis2Inventwo__loadShare___mf_0_mui_mf_1_material__loadShare__-DJz8HY0m.js";
2
+ import { v as i, __tla as __tla_1 } from "./vis2Inventwo__loadShare___mf_0_mui_mf_1_material__loadShare__-DJz8HY0m.js";
3
3
  import { I as k } from "./InventwoGeneric-DmPldO6z.js";
4
4
  import { s as g, __tla as __tla_2 } from "./styled-Cn9_UETB.js";
5
- import { t as D, a as x, __tla as __tla_3 } from "./tableRowClasses-Bpq28eci.js";
5
+ import { t as D, a as y, __tla as __tla_3 } from "./tableRowClasses-Bpq28eci.js";
6
6
  import { __tla as __tla_4 } from "./vis2Inventwo__loadShare__react__loadShare__-Bg9SqOOr.js";
7
7
  import "./_commonjsHelpers-Cpj98o6Y.js";
8
8
  import "./vis2Inventwo__mf_v__runtimeInit__mf_v__-CSj4pa4_.js";
9
9
  import { __tla as __tla_5 } from "./defaultTheme-CemCGl9G.js";
10
- let R;
10
+ let F;
11
11
  let __tla = Promise.all([
12
12
  (() => {
13
13
  try {
@@ -46,7 +46,7 @@ let __tla = Promise.all([
46
46
  }
47
47
  })()
48
48
  ]).then(async () => {
49
- R = class extends k {
49
+ F = class extends k {
50
50
  static getWidgetInfo() {
51
51
  return {
52
52
  id: "tplInventwoWidgetTable",
@@ -180,6 +180,10 @@ let __tla = Promise.all([
180
180
  {
181
181
  value: "datetime",
182
182
  label: "datetime"
183
+ },
184
+ {
185
+ value: "image",
186
+ label: "image"
183
187
  }
184
188
  ],
185
189
  default: "text",
@@ -207,11 +211,22 @@ let __tla = Promise.all([
207
211
  {
208
212
  value: "time",
209
213
  label: "Time"
214
+ },
215
+ {
216
+ value: "custom",
217
+ label: "Custom"
210
218
  }
211
219
  ],
212
220
  default: "datetime",
213
221
  label: "datetime_format",
214
222
  hidden: 'data["columnValueFormat" + index] != "datetime"'
223
+ },
224
+ {
225
+ name: "columnDatetimeFormatCustom",
226
+ type: "text",
227
+ label: "datetime_format_custom",
228
+ tooltip: "tooltip_datetime_custom_format",
229
+ hidden: 'data["columnValueFormat" + index] != "datetime" || data["columnDatetimeFormat" + index] != "custom"'
215
230
  }
216
231
  ]
217
232
  },
@@ -523,31 +538,31 @@ let __tla = Promise.all([
523
538
  return "vis_2_widgets_inventwo_";
524
539
  }
525
540
  getWidgetInfo() {
526
- return R.getWidgetInfo();
541
+ return F.getWidgetInfo();
527
542
  }
528
543
  renderWidgetBody($) {
529
544
  super.renderWidgetBody($);
530
- const F = this.state.rxData.oid, h = this.getValue(F);
531
- let o = null;
532
- if (h == null || h === "") return l.jsx("div", {
545
+ const R = this.state.rxData.oid, b = this.getValue(R);
546
+ let r = null;
547
+ if (b == null || b === "") return l.jsx("div", {
533
548
  children: "Keine Daten"
534
549
  });
535
550
  try {
536
- o = JSON.parse(h);
551
+ r = JSON.parse(b);
537
552
  } catch {
538
553
  return l.jsx("div", {
539
554
  children: "Invalides JSON"
540
555
  });
541
556
  }
542
- const p = [], y = [], d = this.getStyle("outerShadowStyleFromWidget", this.groupAttrs.attr_group_css_outer_shadow), s = this.getStyle("borderStyleFromWidget", this.groupAttrs.attr_group_css_border), T = g(r.TableRow)(() => ({
557
+ const p = [], _ = [], s = this.getStyle("outerShadowStyleFromWidget", this.groupAttrs.attr_group_css_outer_shadow), n = this.getStyle("borderStyleFromWidget", this.groupAttrs.attr_group_css_border), C = g(i.TableRow)(() => ({
543
558
  [`&.${D.root}`]: {
544
559
  height: this.valWithUnit(this.state.rxData.headerHeight)
545
560
  }
546
- })), S = g(r.TableCell)(() => ({
547
- [`&.${x.head}`]: {
561
+ })), S = g(i.TableCell)(() => ({
562
+ [`&.${y.head}`]: {
548
563
  backgroundColor: this.state.rxData.backgroundHeader
549
564
  },
550
- [`&.${x.root}`]: {
565
+ [`&.${y.root}`]: {
551
566
  paddingTop: 0,
552
567
  paddingBottom: 0,
553
568
  fontSize: this.state.rxStyle["font-size"],
@@ -563,8 +578,8 @@ let __tla = Promise.all([
563
578
  borderBottomWidth: this.state.rxData.headerBorderWidth,
564
579
  borderColor: this.state.rxData.headerBorderColor
565
580
  }
566
- })), _ = g(r.TableCell)(() => ({
567
- [`&.${x.root}`]: {
581
+ })), w = g(i.TableCell)(() => ({
582
+ [`&.${y.root}`]: {
568
583
  paddingTop: 0,
569
584
  paddingBottom: 0,
570
585
  fontSize: this.state.rxStyle["font-size"],
@@ -580,7 +595,7 @@ let __tla = Promise.all([
580
595
  borderBottomWidth: this.state.rxData.rowBorderWidth,
581
596
  borderColor: this.state.rxData.rowBorderColor
582
597
  }
583
- })), C = g(r.TableRow)(() => ({
598
+ })), T = g(i.TableRow)(() => ({
584
599
  "&:nth-of-type(odd)": {
585
600
  backgroundColor: this.state.rxData.backgroundOddRow
586
601
  },
@@ -591,100 +606,111 @@ let __tla = Promise.all([
591
606
  height: this.valWithUnit(this.state.rxData.columnHeight)
592
607
  }
593
608
  }));
594
- if (o && o.length > 0) {
609
+ if (r && r.length > 0) {
595
610
  const f = this.state.rxData.countColumns;
596
- if (f === 0) Object.keys(o[0]).forEach((t, i) => {
611
+ if (f === 0) Object.keys(r[0]).forEach((a, d) => {
597
612
  p.push(l.jsx(S, {
598
- children: t
599
- }, i));
613
+ children: a
614
+ }, d));
600
615
  });
601
- else for (let t = 1; t <= this.state.rxData.countColumns; t++) {
602
- let i = this.state.rxData[`columnTitle${t}`];
603
- i === null && (i = Object.keys(o[0])[t - 1]);
604
- const n = {
605
- textAlign: this.state.rxData[`columnTitleAlign${t}`]
616
+ else for (let a = 1; a <= this.state.rxData.countColumns; a++) {
617
+ let d = this.state.rxData[`columnTitle${a}`];
618
+ d === null && (d = Object.keys(r[0])[a - 1]);
619
+ const m = {
620
+ textAlign: this.state.rxData[`columnTitleAlign${a}`]
606
621
  };
607
- this.state.rxData[`columnWidth${t}`] && (n.width = this.valWithUnit(this.state.rxData[`columnWidth${t}`])), p.push(l.jsx(S, {
608
- style: n,
609
- children: i
610
- }, t));
622
+ this.state.rxData[`columnWidth${a}`] && (m.width = this.valWithUnit(this.state.rxData[`columnWidth${a}`])), p.push(l.jsx(S, {
623
+ style: m,
624
+ children: d
625
+ }, a));
611
626
  }
612
- let m = this.state.rxData.maxRows;
613
- m <= 0 ? m = o.length : m = Math.min(m, o.length);
614
- for (let t = 0; t < m; t++) {
615
- const i = o[t], n = [];
616
- if (f === 0) Object.values(i).forEach((e, u) => {
617
- typeof e == "object" && e !== null && (e = JSON.stringify(e)), n.push(l.jsx(_, {
618
- children: e
619
- }, `${t}_${u}`));
627
+ let u = this.state.rxData.maxRows;
628
+ u <= 0 ? u = r.length : u = Math.min(u, r.length);
629
+ for (let a = 0; a < u; a++) {
630
+ const d = r[a], m = [];
631
+ if (f === 0) Object.values(d).forEach((t, h) => {
632
+ typeof t == "object" && t !== null && (t = JSON.stringify(t)), m.push(l.jsx(w, {
633
+ children: t
634
+ }, `${a}_${h}`));
620
635
  });
621
- else for (let e = 1; e <= this.state.rxData.countColumns; e++) {
622
- let u = this.state.rxData[`columnKey${e}`];
623
- const B = this.state.rxData[`columnPrefix${e}`], j = this.state.rxData[`columnSuffix${e}`], v = this.state.rxData[`columnPlaceholder${e}`], W = this.state.rxData[`columnValueFormat${e}`];
624
- u || (u = Object.keys(o[0])[e - 1]);
625
- let a = i[u];
626
- if ((a === null || a === "") && v) a = v;
627
- else if (W === "number") a = new Intl.NumberFormat(navigator.language, {
628
- minimumFractionDigits: this.state.rxData[`columnNumberDecimals${e}`] ?? 0,
629
- maximumFractionDigits: this.state.rxData[`columnNumberDecimals${e}`] ?? 0
630
- }).format(a);
631
- else if (W === "datetime" && a) {
632
- const c = this.state.rxData[`columnDatetimeFormat${e}`];
633
- c === "datetime" ? a = new Date(a).toLocaleString() : c === "date" ? a = new Date(a).toLocaleDateString() : c === "time" && (a = new Date(a).toLocaleTimeString());
634
- }
635
- typeof a == "object" && a !== null && (a = JSON.stringify(a)), n.push(l.jsxs(_, {
636
+ else for (let t = 1; t <= this.state.rxData.countColumns; t++) {
637
+ let h = this.state.rxData[`columnKey${t}`];
638
+ const B = this.state.rxData[`columnPrefix${t}`], j = this.state.rxData[`columnSuffix${t}`], W = this.state.rxData[`columnPlaceholder${t}`], x = this.state.rxData[`columnValueFormat${t}`];
639
+ h || (h = Object.keys(r[0])[t - 1]);
640
+ let e = d[h];
641
+ if ((e === null || e === "") && W) e = W;
642
+ else if (x === "number") e = new Intl.NumberFormat(navigator.language, {
643
+ minimumFractionDigits: this.state.rxData[`columnNumberDecimals${t}`] ?? 0,
644
+ maximumFractionDigits: this.state.rxData[`columnNumberDecimals${t}`] ?? 0
645
+ }).format(e);
646
+ else if (x === "datetime") {
647
+ if (e) {
648
+ const o = this.state.rxData[`columnDatetimeFormat${t}`];
649
+ o === "datetime" ? e = new Date(e).toLocaleString() : o === "date" ? e = new Date(e).toLocaleDateString() : o === "time" ? e = new Date(e).toLocaleTimeString() : o === "custom" && (e = this.formatDate(e, this.state.rxData[`columnDatetimeFormatCustom${t}`] ?? ""));
650
+ }
651
+ } else if (x == "image") {
652
+ let o = this.state.rxData[`columnWidth${t}`];
653
+ !o || o === 0 ? o = "100%" : o = this.valWithUnit(o), e = l.jsx("img", {
654
+ src: e,
655
+ style: {
656
+ width: o
657
+ },
658
+ alt: e
659
+ });
660
+ } else typeof e == "object" && e !== null && (e = JSON.stringify(e));
661
+ m.push(l.jsxs(w, {
636
662
  style: {
637
- textAlign: this.state.rxData[`columnContentAlign${e}`]
663
+ textAlign: this.state.rxData[`columnContentAlign${t}`]
638
664
  },
639
665
  children: [
640
666
  B,
641
- a,
667
+ e,
642
668
  j
643
669
  ]
644
- }, `${t}_${e}`));
670
+ }, `${a}_${t}`));
645
671
  }
646
- y.push(l.jsx(C, {
672
+ _.push(l.jsx(T, {
647
673
  sx: {
648
674
  "&:last-child td, &:last-child th": {
649
675
  border: 0
650
676
  }
651
677
  },
652
- children: n
653
- }, t));
678
+ children: m
679
+ }, a));
654
680
  }
655
681
  }
656
- let w = "";
657
- d.outerShadowColor && (w += `${d.outerShadowX}px ${d.outerShadowY}px ${d.outerShadowBlur}px ${d.outerShadowSize}px ${d.outerShadowColor}`);
658
- const b = this.getStyle("borderRadiusStyleFromWidget", this.groupAttrs.attr_group_css_border_radius);
682
+ let v = "";
683
+ s.outerShadowColor && (v += `${s.outerShadowX}px ${s.outerShadowY}px ${s.outerShadowBlur}px ${s.outerShadowSize}px ${s.outerShadowColor}`);
684
+ const c = this.getStyle("borderRadiusStyleFromWidget", this.groupAttrs.attr_group_css_border_radius);
659
685
  return l.jsx("div", {
660
686
  style: {
661
- boxShadow: `${w}`,
687
+ boxShadow: `${v}`,
662
688
  overflow: "hidden",
663
689
  height: "100%",
664
- borderColor: s.borderColor,
665
- borderTopWidth: `${s.borderSizeTop}px`,
666
- borderBottomWidth: `${s.borderSizeBottom}px`,
667
- borderLeftWidth: `${s.borderSizeLeft}px`,
668
- borderRightWidth: `${s.borderSizeRight}px`,
669
- borderStyle: s.borderStyle,
670
- borderRadius: `${b.borderRadiusTopLeft}px ${b.borderRadiusTopRight}px ${b.borderRadiusBottomRight}px ${b.borderRadiusBottomLeft}px`
690
+ borderColor: n.borderColor,
691
+ borderTopWidth: `${n.borderSizeTop}px`,
692
+ borderBottomWidth: `${n.borderSizeBottom}px`,
693
+ borderLeftWidth: `${n.borderSizeLeft}px`,
694
+ borderRightWidth: `${n.borderSizeRight}px`,
695
+ borderStyle: n.borderStyle,
696
+ borderRadius: `${c.borderRadiusTopLeft}px ${c.borderRadiusTopRight}px ${c.borderRadiusBottomRight}px ${c.borderRadiusBottomLeft}px`
671
697
  },
672
- children: l.jsx(r.TableContainer, {
673
- component: r.Paper,
698
+ children: l.jsx(i.TableContainer, {
699
+ component: i.Paper,
674
700
  style: {
675
701
  height: "100%",
676
702
  background: "transparent",
677
703
  borderRadius: 0
678
704
  },
679
- children: l.jsxs(r.Table, {
705
+ children: l.jsxs(i.Table, {
680
706
  children: [
681
- this.state.rxData.showHead && l.jsx(r.TableHead, {
682
- children: l.jsx(T, {
707
+ this.state.rxData.showHead && l.jsx(i.TableHead, {
708
+ children: l.jsx(C, {
683
709
  children: p
684
710
  })
685
711
  }),
686
- l.jsx(r.TableBody, {
687
- children: y
712
+ l.jsx(i.TableBody, {
713
+ children: _
688
714
  })
689
715
  ]
690
716
  })
@@ -695,5 +721,5 @@ let __tla = Promise.all([
695
721
  });
696
722
  export {
697
723
  __tla,
698
- R as default
724
+ F as default
699
725
  };