overview-components 1.1.63 → 1.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/generated/locales/de.d.ts +135 -34
- package/dist/assets/generated/locales/de.d.ts.map +1 -1
- package/dist/assets/generated/locales/de.js +199 -94
- package/dist/assets/generated/locales/de.js.map +1 -1
- package/dist/assets/generated/locales/en.d.ts +129 -28
- package/dist/assets/generated/locales/en.d.ts.map +1 -1
- package/dist/assets/generated/locales/en.js +199 -94
- package/dist/assets/generated/locales/en.js.map +1 -1
- package/dist/assets/generated/locales/fr.d.ts +135 -34
- package/dist/assets/generated/locales/fr.d.ts.map +1 -1
- package/dist/assets/generated/locales/fr.js +199 -94
- package/dist/assets/generated/locales/fr.js.map +1 -1
- package/dist/assets/generated/locales/hr.d.ts +135 -34
- package/dist/assets/generated/locales/hr.d.ts.map +1 -1
- package/dist/assets/generated/locales/hr.js +195 -94
- package/dist/assets/generated/locales/hr.js.map +1 -1
- package/dist/assets/generated/locales/it.d.ts +135 -34
- package/dist/assets/generated/locales/it.d.ts.map +1 -1
- package/dist/assets/generated/locales/it.js +199 -94
- package/dist/assets/generated/locales/it.js.map +1 -1
- package/dist/assets/generated/locales/pl.d.ts +135 -34
- package/dist/assets/generated/locales/pl.d.ts.map +1 -1
- package/dist/assets/generated/locales/pl.js +195 -94
- package/dist/assets/generated/locales/pl.js.map +1 -1
- package/dist/assets/generated/locales/ro.d.ts +135 -34
- package/dist/assets/generated/locales/ro.d.ts.map +1 -1
- package/dist/assets/generated/locales/ro.js +195 -94
- package/dist/assets/generated/locales/ro.js.map +1 -1
- package/dist/assets/generated/locales/sk.d.ts +135 -34
- package/dist/assets/generated/locales/sk.d.ts.map +1 -1
- package/dist/assets/generated/locales/sk.js +195 -94
- package/dist/assets/generated/locales/sk.js.map +1 -1
- package/dist/assets/generated/locales/sr.d.ts +135 -34
- package/dist/assets/generated/locales/sr.d.ts.map +1 -1
- package/dist/assets/generated/locales/sr.js +195 -94
- package/dist/assets/generated/locales/sr.js.map +1 -1
- package/dist/components/components-settings/data-grid-settings.d.ts.map +1 -1
- package/dist/components/components-settings/data-grid-settings.js +4 -10
- package/dist/components/components-settings/data-grid-settings.js.map +1 -1
- package/dist/components/components-settings/section-tab-settings.js +3 -3
- package/dist/components/components-settings/section-tab-settings.js.map +1 -1
- package/dist/components/lit-ai-filter-assistant.d.ts.map +1 -1
- package/dist/components/lit-ai-filter-assistant.js +3 -3
- package/dist/components/lit-ai-filter-assistant.js.map +1 -1
- package/dist/components/lit-attachments-tab.js +4 -4
- package/dist/components/lit-attachments-tab.js.map +1 -1
- package/dist/components/lit-case-variables-tab.js +139 -139
- package/dist/components/lit-case-variables-tab.js.map +1 -1
- package/dist/components/lit-chart.d.ts.map +1 -1
- package/dist/components/lit-chart.js +2 -1
- package/dist/components/lit-chart.js.map +1 -1
- package/dist/components/lit-data-grid-tanstack.d.ts +2 -0
- package/dist/components/lit-data-grid-tanstack.d.ts.map +1 -1
- package/dist/components/lit-data-grid-tanstack.js +5 -1
- package/dist/components/lit-data-grid-tanstack.js.map +1 -1
- package/dist/components/lit-tabs-overview.d.ts.map +1 -1
- package/dist/components/lit-tabs-overview.js +1 -1
- package/dist/components/lit-tabs-overview.js.map +1 -1
- package/dist/shared/lit-data-grid-operators-popover.js +1 -2
- package/dist/shared/lit-data-grid-operators-popover.js.map +1 -1
- package/dist/shared/lit-date-picker.js +1 -1
- package/dist/shared/lit-date-picker.js.map +1 -1
- package/dist/utils/localization.js.map +1 -1
- package/package.json +1 -1
|
@@ -460,7 +460,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
460
460
|
// Add new operator binding with updated options
|
|
461
461
|
const operatorInput = folder.addBinding(config, 'conditionOperator', {
|
|
462
462
|
view: 'list',
|
|
463
|
-
label: '
|
|
463
|
+
label: msg('Operátor'),
|
|
464
464
|
options: newOperatorOptions,
|
|
465
465
|
index: insertIndex >= 0 ? insertIndex : undefined, // Insert at same position if possible
|
|
466
466
|
});
|
|
@@ -496,7 +496,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
496
496
|
// Add new operator binding with updated options
|
|
497
497
|
const hideOperatorInput = folder.addBinding(config, 'hideConditionOperator', {
|
|
498
498
|
view: 'list',
|
|
499
|
-
label: '
|
|
499
|
+
label: msg('Operátor'),
|
|
500
500
|
options: newOperatorOptions,
|
|
501
501
|
index: insertIndex >= 0 ? insertIndex : undefined, // Insert at same position if possible
|
|
502
502
|
});
|
|
@@ -876,12 +876,12 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
876
876
|
// Desktop size input
|
|
877
877
|
const desktopSizeInput = pane.addBinding(config, 'size', {
|
|
878
878
|
view: 'list',
|
|
879
|
-
label: '
|
|
879
|
+
label: msg('Velikost desktop'),
|
|
880
880
|
options: [
|
|
881
|
-
{ text: '1
|
|
882
|
-
{ text: '2
|
|
883
|
-
{ text: '3
|
|
884
|
-
{ text: '4
|
|
881
|
+
{ text: msg('1 sloupec'), value: 1 },
|
|
882
|
+
{ text: msg('2 sloupce'), value: 2 },
|
|
883
|
+
{ text: msg('3 sloupce'), value: 3 },
|
|
884
|
+
{ text: msg('4 sloupce'), value: 4 },
|
|
885
885
|
],
|
|
886
886
|
});
|
|
887
887
|
desktopSizeInput.on('change', (ev) => {
|
|
@@ -890,12 +890,12 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
890
890
|
// Mobile size input
|
|
891
891
|
const mobileSizeInput = pane.addBinding(config, 'mobileSize', {
|
|
892
892
|
view: 'list',
|
|
893
|
-
label: '
|
|
893
|
+
label: msg('Velikost mobil'),
|
|
894
894
|
options: [
|
|
895
|
-
{ text: '1
|
|
896
|
-
{ text: '2
|
|
897
|
-
{ text: '3
|
|
898
|
-
{ text: '4
|
|
895
|
+
{ text: msg('1 sloupec'), value: 1 },
|
|
896
|
+
{ text: msg('2 sloupce'), value: 2 },
|
|
897
|
+
{ text: msg('3 sloupce'), value: 3 },
|
|
898
|
+
{ text: msg('4 sloupce'), value: 4 },
|
|
899
899
|
],
|
|
900
900
|
});
|
|
901
901
|
mobileSizeInput.on('change', (ev) => {
|
|
@@ -905,15 +905,15 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
905
905
|
// Add cell type control - at the top
|
|
906
906
|
const cellTypeInput = pane.addBinding(config, 'cellType', {
|
|
907
907
|
view: 'list',
|
|
908
|
-
label: '
|
|
908
|
+
label: msg('Typ buňky'),
|
|
909
909
|
options: [
|
|
910
|
-
{ text: '
|
|
911
|
-
{ text: '
|
|
912
|
-
{ text: '
|
|
913
|
-
{ text: '
|
|
914
|
-
{ text: '
|
|
915
|
-
{ text: 'Progress', value: 'progress' },
|
|
916
|
-
{ text: '
|
|
910
|
+
{ text: msg('Text'), value: 'string' },
|
|
911
|
+
{ text: msg('Tlačítko'), value: 'button' },
|
|
912
|
+
{ text: msg('Odkaz'), value: 'link' },
|
|
913
|
+
{ text: msg('Datum'), value: 'date' },
|
|
914
|
+
{ text: msg('Měna'), value: 'currency' },
|
|
915
|
+
{ text: msg('Progress'), value: 'progress' },
|
|
916
|
+
{ text: msg('Číslo'), value: 'number' },
|
|
917
917
|
],
|
|
918
918
|
});
|
|
919
919
|
cellTypeInput.on('change', (ev) => {
|
|
@@ -923,14 +923,14 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
923
923
|
const isCustomCell = cell.field.startsWith('custom_cell_');
|
|
924
924
|
if (isCustomCell) {
|
|
925
925
|
const headerNameInput = pane.addBinding(config, 'headerName', {
|
|
926
|
-
label: '
|
|
926
|
+
label: msg('Záhlaví buňky'),
|
|
927
927
|
});
|
|
928
928
|
headerNameInput.on('change', (ev) => {
|
|
929
929
|
this.setCellHeaderName(cell, ev.value);
|
|
930
930
|
});
|
|
931
931
|
// Add cell value control for custom cells
|
|
932
932
|
const cellValueInput = pane.addBinding(config, 'cellValue', {
|
|
933
|
-
label: '
|
|
933
|
+
label: msg('Hodnota buňky'),
|
|
934
934
|
multiline: cell.type === 'string',
|
|
935
935
|
});
|
|
936
936
|
cellValueInput.on('change', (ev) => {
|
|
@@ -939,22 +939,22 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
939
939
|
}
|
|
940
940
|
// Add cell variant control - common for all types
|
|
941
941
|
const cellVariantOptions = [
|
|
942
|
-
{ text: '
|
|
943
|
-
{ text: '
|
|
944
|
-
{ text: '
|
|
945
|
-
{ text: '
|
|
946
|
-
{ text: '
|
|
947
|
-
{ text: '
|
|
948
|
-
{ text: '
|
|
942
|
+
{ text: msg('Výchozí'), value: 'default' },
|
|
943
|
+
{ text: msg('Primární'), value: 'primary' },
|
|
944
|
+
{ text: msg('Úspěch'), value: 'success' },
|
|
945
|
+
{ text: msg('Varování'), value: 'warning' },
|
|
946
|
+
{ text: msg('Chyba'), value: 'error' },
|
|
947
|
+
{ text: msg('Informace'), value: 'info' },
|
|
948
|
+
{ text: msg('Vlastní'), value: 'custom' },
|
|
949
949
|
];
|
|
950
950
|
const cellVariantInput = pane.addBinding(config, 'cellVariant', {
|
|
951
951
|
view: 'list',
|
|
952
|
-
label: '
|
|
952
|
+
label: msg('Styl buňky'),
|
|
953
953
|
options: cellVariantOptions,
|
|
954
954
|
});
|
|
955
955
|
// Add CSS input for custom styles (always present but controlled by visibility)
|
|
956
956
|
const cssInput = pane.addBinding(config, 'customCSS', {
|
|
957
|
-
label: '
|
|
957
|
+
label: msg('CSS buňky'),
|
|
958
958
|
multiline: true,
|
|
959
959
|
rows: 4,
|
|
960
960
|
});
|
|
@@ -998,12 +998,12 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
998
998
|
this.addCellTypeSpecificControls(pane, config, cell);
|
|
999
999
|
// Add conditional formatting section
|
|
1000
1000
|
const conditionFolder = pane.addFolder({
|
|
1001
|
-
title: '
|
|
1001
|
+
title: msg('Podmíněné formátování buněk'),
|
|
1002
1002
|
expanded: false,
|
|
1003
1003
|
});
|
|
1004
1004
|
// Enable/disable conditional formatting
|
|
1005
1005
|
const conditionEnabledInput = conditionFolder.addBinding(config, 'conditionEnabled', {
|
|
1006
|
-
label: '
|
|
1006
|
+
label: msg('Povolit podmínky'),
|
|
1007
1007
|
});
|
|
1008
1008
|
conditionEnabledInput.on('change', (ev) => {
|
|
1009
1009
|
this.setConditionalFormatting(cell, 'enabled', ev.value);
|
|
@@ -1018,7 +1018,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
const conditionVariableInput = conditionFolder.addBinding(config, 'conditionVariable', {
|
|
1020
1020
|
view: 'list',
|
|
1021
|
-
label: '
|
|
1021
|
+
label: msg('Proměnná'),
|
|
1022
1022
|
options: variableOptions,
|
|
1023
1023
|
});
|
|
1024
1024
|
conditionVariableInput.on('change', (ev) => {
|
|
@@ -1031,7 +1031,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1031
1031
|
const operatorOptions = this.getOperatorOptionsForCell(cell);
|
|
1032
1032
|
const operatorInput = conditionFolder.addBinding(config, 'conditionOperator', {
|
|
1033
1033
|
view: 'list',
|
|
1034
|
-
label: '
|
|
1034
|
+
label: msg('Operátor'),
|
|
1035
1035
|
options: operatorOptions,
|
|
1036
1036
|
});
|
|
1037
1037
|
operatorInput.on('change', (ev) => {
|
|
@@ -1042,23 +1042,23 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1042
1042
|
this.operatorInputs.set(operatorKey, operatorInput);
|
|
1043
1043
|
// Condition value - text input for comparison value
|
|
1044
1044
|
const conditionValueInput = conditionFolder.addBinding(config, 'conditionValue', {
|
|
1045
|
-
label: '
|
|
1045
|
+
label: msg('Hodnota'),
|
|
1046
1046
|
});
|
|
1047
1047
|
conditionValueInput.on('change', (ev) => {
|
|
1048
1048
|
this.setConditionalFormatting(cell, 'value', ev.value);
|
|
1049
1049
|
});
|
|
1050
1050
|
// Conditional Cell Variant
|
|
1051
1051
|
const conditionCellVariantOptions = [
|
|
1052
|
-
{ text: '
|
|
1053
|
-
{ text: '
|
|
1054
|
-
{ text: '
|
|
1055
|
-
{ text: '
|
|
1056
|
-
{ text: '
|
|
1057
|
-
{ text: '
|
|
1052
|
+
{ text: msg('Výchozí'), value: 'default' },
|
|
1053
|
+
{ text: msg('Primární'), value: 'primary' },
|
|
1054
|
+
{ text: msg('Úspěch'), value: 'success' },
|
|
1055
|
+
{ text: msg('Varování'), value: 'warning' },
|
|
1056
|
+
{ text: msg('Chyba'), value: 'error' },
|
|
1057
|
+
{ text: msg('Informace'), value: 'info' },
|
|
1058
1058
|
];
|
|
1059
1059
|
const conditionCellVariantInput = conditionFolder.addBinding(config, 'conditionCellVariant', {
|
|
1060
1060
|
view: 'list',
|
|
1061
|
-
label: '
|
|
1061
|
+
label: msg('Styl buňky'),
|
|
1062
1062
|
options: conditionCellVariantOptions,
|
|
1063
1063
|
});
|
|
1064
1064
|
conditionCellVariantInput.on('change', (ev) => {
|
|
@@ -1066,16 +1066,16 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1066
1066
|
});
|
|
1067
1067
|
// Conditional Value Variant
|
|
1068
1068
|
const conditionValueVariantOptions = [
|
|
1069
|
-
{ text: '
|
|
1070
|
-
{ text: '
|
|
1071
|
-
{ text: '
|
|
1072
|
-
{ text: '
|
|
1073
|
-
{ text: '
|
|
1074
|
-
{ text: '
|
|
1069
|
+
{ text: msg('Výchozí'), value: 'default' },
|
|
1070
|
+
{ text: msg('Primární'), value: 'primary' },
|
|
1071
|
+
{ text: msg('Úspěch'), value: 'success' },
|
|
1072
|
+
{ text: msg('Varování'), value: 'warning' },
|
|
1073
|
+
{ text: msg('Chyba'), value: 'error' },
|
|
1074
|
+
{ text: msg('Informace'), value: 'info' },
|
|
1075
1075
|
];
|
|
1076
1076
|
const conditionValueVariantInput = conditionFolder.addBinding(config, 'conditionValueVariant', {
|
|
1077
1077
|
view: 'list',
|
|
1078
|
-
label: '
|
|
1078
|
+
label: msg('Barva hodnoty'),
|
|
1079
1079
|
options: conditionValueVariantOptions,
|
|
1080
1080
|
});
|
|
1081
1081
|
conditionValueVariantInput.on('change', (ev) => {
|
|
@@ -1084,15 +1084,15 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1084
1084
|
// Conditional Progress Color (only for progress type)
|
|
1085
1085
|
if (cell.type === 'progress') {
|
|
1086
1086
|
const conditionProgressColorOptions = [
|
|
1087
|
-
{ text: '
|
|
1088
|
-
{ text: '
|
|
1089
|
-
{ text: '
|
|
1090
|
-
{ text: '
|
|
1091
|
-
{ text: '
|
|
1087
|
+
{ text: msg('Primární'), value: 'primary' },
|
|
1088
|
+
{ text: msg('Úspěch'), value: 'success' },
|
|
1089
|
+
{ text: msg('Varování'), value: 'warning' },
|
|
1090
|
+
{ text: msg('Chyba'), value: 'error' },
|
|
1091
|
+
{ text: msg('Informace'), value: 'info' },
|
|
1092
1092
|
];
|
|
1093
1093
|
const conditionProgressColorInput = conditionFolder.addBinding(config, 'conditionProgressColor', {
|
|
1094
1094
|
view: 'list',
|
|
1095
|
-
label: '
|
|
1095
|
+
label: msg('Barva Progressu'),
|
|
1096
1096
|
options: conditionProgressColorOptions,
|
|
1097
1097
|
});
|
|
1098
1098
|
conditionProgressColorInput.on('change', (ev) => {
|
|
@@ -1101,12 +1101,12 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
// Add conditional hide section
|
|
1103
1103
|
const hideFolder = pane.addFolder({
|
|
1104
|
-
title: '
|
|
1104
|
+
title: msg('Podmíněné skrytí buněk'),
|
|
1105
1105
|
expanded: false,
|
|
1106
1106
|
});
|
|
1107
1107
|
// Enable/disable conditional hide
|
|
1108
1108
|
const hideConditionEnabledInput = hideFolder.addBinding(config, 'hideConditionEnabled', {
|
|
1109
|
-
label: '
|
|
1109
|
+
label: msg('Povolit podmínky skrytí'),
|
|
1110
1110
|
});
|
|
1111
1111
|
hideConditionEnabledInput.on('change', (ev) => {
|
|
1112
1112
|
this.setHideCondition(cell, 'enabled', ev.value);
|
|
@@ -1121,7 +1121,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
const hideConditionVariableInput = hideFolder.addBinding(config, 'hideConditionVariable', {
|
|
1123
1123
|
view: 'list',
|
|
1124
|
-
label: '
|
|
1124
|
+
label: msg('Proměnná'),
|
|
1125
1125
|
options: hideVariableOptions,
|
|
1126
1126
|
});
|
|
1127
1127
|
hideConditionVariableInput.on('change', (ev) => {
|
|
@@ -1134,7 +1134,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1134
1134
|
const hideOperatorOptions = this.getOperatorOptionsForCell(cell);
|
|
1135
1135
|
const hideOperatorInput = hideFolder.addBinding(config, 'hideConditionOperator', {
|
|
1136
1136
|
view: 'list',
|
|
1137
|
-
label: '
|
|
1137
|
+
label: msg('Operátor'),
|
|
1138
1138
|
options: hideOperatorOptions,
|
|
1139
1139
|
});
|
|
1140
1140
|
hideOperatorInput.on('change', (ev) => {
|
|
@@ -1145,13 +1145,13 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1145
1145
|
this.hideOperatorInputs.set(hideOperatorKey, hideOperatorInput);
|
|
1146
1146
|
// Hide condition value - text input for comparison value
|
|
1147
1147
|
const hideConditionValueInput = hideFolder.addBinding(config, 'hideConditionValue', {
|
|
1148
|
-
label: '
|
|
1148
|
+
label: msg('Hodnota'),
|
|
1149
1149
|
});
|
|
1150
1150
|
hideConditionValueInput.on('change', (ev) => {
|
|
1151
1151
|
this.setHideCondition(cell, 'value', ev.value);
|
|
1152
1152
|
});
|
|
1153
1153
|
// Add delete button
|
|
1154
|
-
const deleteBtn = pane.addButton({ title: '
|
|
1154
|
+
const deleteBtn = pane.addButton({ title: msg('Smazat buňku') });
|
|
1155
1155
|
deleteBtn.on('click', () => {
|
|
1156
1156
|
this.removeCellFromRows(cell.field);
|
|
1157
1157
|
this.closeSettingsPopper();
|
|
@@ -1196,33 +1196,33 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
getCellTypeTabTitle(cellType) {
|
|
1198
1198
|
const typeTitles = {
|
|
1199
|
-
string: '
|
|
1200
|
-
link: '
|
|
1201
|
-
number: '
|
|
1202
|
-
button: '
|
|
1203
|
-
currency: '
|
|
1204
|
-
date: '
|
|
1205
|
-
progress: '
|
|
1199
|
+
string: msg('Nastavení textu'),
|
|
1200
|
+
link: msg('Nastavení odkazu'),
|
|
1201
|
+
number: msg('Nastavení čísla'),
|
|
1202
|
+
button: msg('Nastavení tlačítka'),
|
|
1203
|
+
currency: msg('Nastavení měny'),
|
|
1204
|
+
date: msg('Nastavení data'),
|
|
1205
|
+
progress: msg('Nastavení postupu'),
|
|
1206
1206
|
};
|
|
1207
|
-
return typeTitles[cellType] || '
|
|
1207
|
+
return typeTitles[cellType] || msg('Nastavení buňky');
|
|
1208
1208
|
}
|
|
1209
1209
|
addStringControls(pane, config, cell) {
|
|
1210
1210
|
// Value Bold
|
|
1211
1211
|
const fontInput = pane.addBinding(config, 'fontWeight', {
|
|
1212
|
-
label: '
|
|
1212
|
+
label: msg('Tučná hodnota'),
|
|
1213
1213
|
});
|
|
1214
1214
|
fontInput.on('change', () => {
|
|
1215
1215
|
this.setFontWeight(cell);
|
|
1216
1216
|
});
|
|
1217
1217
|
// Value Variant
|
|
1218
1218
|
const valueVariantOptions = [
|
|
1219
|
-
{ text: '
|
|
1220
|
-
{ text: '
|
|
1221
|
-
{ text: '
|
|
1222
|
-
{ text: '
|
|
1223
|
-
{ text: '
|
|
1224
|
-
{ text: '
|
|
1225
|
-
{ text: '
|
|
1219
|
+
{ text: msg('Výchozí'), value: 'default' },
|
|
1220
|
+
{ text: msg('Primární'), value: 'primary' },
|
|
1221
|
+
{ text: msg('Úspěch'), value: 'success' },
|
|
1222
|
+
{ text: msg('Varování'), value: 'warning' },
|
|
1223
|
+
{ text: msg('Chyba'), value: 'error' },
|
|
1224
|
+
{ text: msg('Informace'), value: 'info' },
|
|
1225
|
+
{ text: msg('Vlastní'), value: 'custom' },
|
|
1226
1226
|
];
|
|
1227
1227
|
const valueVariantInput = pane.addBinding(config, 'valueVariant', {
|
|
1228
1228
|
view: 'list',
|
|
@@ -1242,10 +1242,10 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1242
1242
|
// Link Type selector
|
|
1243
1243
|
const linkTypeInput = pane.addBinding(config, 'linkType', {
|
|
1244
1244
|
view: 'list',
|
|
1245
|
-
label: '
|
|
1245
|
+
label: msg('Typ odkazu'),
|
|
1246
1246
|
options: [
|
|
1247
|
-
{ text: '
|
|
1248
|
-
{ text: '
|
|
1247
|
+
{ text: msg('Vlastní URL'), value: 'custom' },
|
|
1248
|
+
{ text: msg('Proměnná případu'), value: 'case' },
|
|
1249
1249
|
],
|
|
1250
1250
|
});
|
|
1251
1251
|
linkTypeInput.on('change', (ev) => {
|
|
@@ -1253,7 +1253,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1253
1253
|
});
|
|
1254
1254
|
// Custom URL input (shown when linkType is 'custom')
|
|
1255
1255
|
const hrefInput = pane.addBinding(config, 'href', {
|
|
1256
|
-
label: '
|
|
1256
|
+
label: msg('Vlastní URL'),
|
|
1257
1257
|
});
|
|
1258
1258
|
hrefInput.on('change', (ev) => {
|
|
1259
1259
|
this.setHref(cell, ev.value);
|
|
@@ -1264,7 +1264,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1264
1264
|
if (variableOptions.length > 0) {
|
|
1265
1265
|
linkVariableInput = pane.addBinding(config, 'linkVariable', {
|
|
1266
1266
|
view: 'list',
|
|
1267
|
-
label: '
|
|
1267
|
+
label: msg('Proměnná'),
|
|
1268
1268
|
options: variableOptions,
|
|
1269
1269
|
});
|
|
1270
1270
|
linkVariableInput.on('change', (ev) => {
|
|
@@ -1291,20 +1291,20 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1291
1291
|
addNumberControls(pane, config, cell) {
|
|
1292
1292
|
// Value Bold
|
|
1293
1293
|
const fontInput = pane.addBinding(config, 'fontWeight', {
|
|
1294
|
-
label: '
|
|
1294
|
+
label: msg('Hodnota tučně'),
|
|
1295
1295
|
});
|
|
1296
1296
|
fontInput.on('change', () => {
|
|
1297
1297
|
this.setFontWeight(cell);
|
|
1298
1298
|
});
|
|
1299
1299
|
// Value Variant
|
|
1300
1300
|
const valueVariantOptions = [
|
|
1301
|
-
{ text: '
|
|
1302
|
-
{ text: '
|
|
1303
|
-
{ text: '
|
|
1304
|
-
{ text: '
|
|
1305
|
-
{ text: '
|
|
1306
|
-
{ text: '
|
|
1307
|
-
{ text: '
|
|
1301
|
+
{ text: msg('Výchozí'), value: 'default' },
|
|
1302
|
+
{ text: msg('Primární'), value: 'primary' },
|
|
1303
|
+
{ text: msg('Úspěch'), value: 'success' },
|
|
1304
|
+
{ text: msg('Varování'), value: 'warning' },
|
|
1305
|
+
{ text: msg('Chyba'), value: 'error' },
|
|
1306
|
+
{ text: msg('Informace'), value: 'info' },
|
|
1307
|
+
{ text: msg('Vlastní'), value: 'custom' },
|
|
1308
1308
|
];
|
|
1309
1309
|
const valueVariantInput = pane.addBinding(config, 'valueVariant', {
|
|
1310
1310
|
view: 'list',
|
|
@@ -1324,12 +1324,12 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1324
1324
|
// Button Variant
|
|
1325
1325
|
const variantInput = pane.addBinding(config, 'buttonVariant', {
|
|
1326
1326
|
view: 'list',
|
|
1327
|
-
label: '
|
|
1327
|
+
label: msg('Varianta tlačítka'),
|
|
1328
1328
|
options: [
|
|
1329
|
-
{ text: '
|
|
1330
|
-
{ text: '
|
|
1331
|
-
{ text: '
|
|
1332
|
-
{ text: '
|
|
1329
|
+
{ text: msg('Vyplněné'), value: 'contained' },
|
|
1330
|
+
{ text: msg('Ohraničené'), value: 'outlined' },
|
|
1331
|
+
{ text: msg('Textové'), value: 'text' },
|
|
1332
|
+
{ text: msg('Čárkované'), value: 'dashed' },
|
|
1333
1333
|
],
|
|
1334
1334
|
});
|
|
1335
1335
|
variantInput.on('change', (ev) => {
|
|
@@ -1338,13 +1338,13 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1338
1338
|
// Button Color
|
|
1339
1339
|
const colorInput = pane.addBinding(config, 'buttonColor', {
|
|
1340
1340
|
view: 'list',
|
|
1341
|
-
label: '
|
|
1341
|
+
label: msg('Barva tlačítka'),
|
|
1342
1342
|
options: [
|
|
1343
|
-
{ text: '
|
|
1344
|
-
{ text: '
|
|
1345
|
-
{ text: '
|
|
1346
|
-
{ text: '
|
|
1347
|
-
{ text: 'AI', value: 'ai' },
|
|
1343
|
+
{ text: msg('Primární'), value: 'primary' },
|
|
1344
|
+
{ text: msg('Druhé'), value: 'secondary' },
|
|
1345
|
+
{ text: msg('Chyba'), value: 'error' },
|
|
1346
|
+
{ text: msg('Varování'), value: 'warning' },
|
|
1347
|
+
{ text: msg('AI'), value: 'ai' },
|
|
1348
1348
|
],
|
|
1349
1349
|
});
|
|
1350
1350
|
colorInput.on('change', (ev) => {
|
|
@@ -1352,7 +1352,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1352
1352
|
});
|
|
1353
1353
|
// Button Full Width
|
|
1354
1354
|
const fullWidthInput = pane.addBinding(config, 'buttonFullWidth', {
|
|
1355
|
-
label: '
|
|
1355
|
+
label: msg('Tlačítko na celou šířku'),
|
|
1356
1356
|
});
|
|
1357
1357
|
fullWidthInput.on('change', (ev) => {
|
|
1358
1358
|
this.setButtonFullWidth(cell, ev.value);
|
|
@@ -1361,10 +1361,10 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1361
1361
|
// Link Type selector
|
|
1362
1362
|
const linkTypeInput = pane.addBinding(config, 'linkType', {
|
|
1363
1363
|
view: 'list',
|
|
1364
|
-
label: '
|
|
1364
|
+
label: msg('Typ odkazu'),
|
|
1365
1365
|
options: [
|
|
1366
|
-
{ text: '
|
|
1367
|
-
{ text: '
|
|
1366
|
+
{ text: msg('Vlastní URL'), value: 'custom' },
|
|
1367
|
+
{ text: msg('Proměnná případu'), value: 'case' },
|
|
1368
1368
|
],
|
|
1369
1369
|
});
|
|
1370
1370
|
linkTypeInput.on('change', (ev) => {
|
|
@@ -1372,7 +1372,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1372
1372
|
});
|
|
1373
1373
|
// Custom URL input (shown when linkType is 'custom')
|
|
1374
1374
|
const hrefInput = pane.addBinding(config, 'href', {
|
|
1375
|
-
label: '
|
|
1375
|
+
label: msg('Vlastní URL'),
|
|
1376
1376
|
});
|
|
1377
1377
|
hrefInput.on('change', (ev) => {
|
|
1378
1378
|
this.setHref(cell, ev.value);
|
|
@@ -1383,7 +1383,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1383
1383
|
if (variableOptions.length > 0) {
|
|
1384
1384
|
linkVariableInput = pane.addBinding(config, 'linkVariable', {
|
|
1385
1385
|
view: 'list',
|
|
1386
|
-
label: '
|
|
1386
|
+
label: msg('Proměnná'),
|
|
1387
1387
|
options: variableOptions,
|
|
1388
1388
|
});
|
|
1389
1389
|
linkVariableInput.on('change', (ev) => {
|
|
@@ -1410,20 +1410,20 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1410
1410
|
addCurrencyControls(pane, config, cell) {
|
|
1411
1411
|
// Value Bold
|
|
1412
1412
|
const fontInput = pane.addBinding(config, 'fontWeight', {
|
|
1413
|
-
label: '
|
|
1413
|
+
label: msg('Tučná hodnota'),
|
|
1414
1414
|
});
|
|
1415
1415
|
fontInput.on('change', () => {
|
|
1416
1416
|
this.setFontWeight(cell);
|
|
1417
1417
|
});
|
|
1418
1418
|
// Value Variant
|
|
1419
1419
|
const valueVariantOptions = [
|
|
1420
|
-
{ text: '
|
|
1421
|
-
{ text: '
|
|
1422
|
-
{ text: '
|
|
1423
|
-
{ text: '
|
|
1424
|
-
{ text: '
|
|
1425
|
-
{ text: '
|
|
1426
|
-
{ text: '
|
|
1420
|
+
{ text: msg('Výchozí'), value: 'default' },
|
|
1421
|
+
{ text: msg('Primární'), value: 'primary' },
|
|
1422
|
+
{ text: msg('Úspěch'), value: 'success' },
|
|
1423
|
+
{ text: msg('Varování'), value: 'warning' },
|
|
1424
|
+
{ text: msg('Chyba'), value: 'error' },
|
|
1425
|
+
{ text: msg('Informace'), value: 'info' },
|
|
1426
|
+
{ text: msg('Vlastní'), value: 'custom' },
|
|
1427
1427
|
];
|
|
1428
1428
|
const valueVariantInput = pane.addBinding(config, 'valueVariant', {
|
|
1429
1429
|
view: 'list',
|
|
@@ -1440,7 +1440,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1440
1440
|
});
|
|
1441
1441
|
// Number of Decimals
|
|
1442
1442
|
const decimalInput = pane.addBinding(config, 'numberOfDecimal', {
|
|
1443
|
-
label: '
|
|
1443
|
+
label: msg('Počet desetinných míst'),
|
|
1444
1444
|
min: 0,
|
|
1445
1445
|
max: 10,
|
|
1446
1446
|
step: 1,
|
|
@@ -1451,7 +1451,7 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1451
1451
|
// Currency Type
|
|
1452
1452
|
const currencyInput = pane.addBinding(config, 'currencyType', {
|
|
1453
1453
|
view: 'list',
|
|
1454
|
-
label: '
|
|
1454
|
+
label: msg('Typ měny'),
|
|
1455
1455
|
options: [
|
|
1456
1456
|
{ text: 'CZK', value: 'CZK' },
|
|
1457
1457
|
{ text: 'EUR', value: 'EUR' },
|
|
@@ -1477,20 +1477,20 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1477
1477
|
addDateControls(pane, config, cell) {
|
|
1478
1478
|
// Value Bold
|
|
1479
1479
|
const fontInput = pane.addBinding(config, 'fontWeight', {
|
|
1480
|
-
label: '
|
|
1480
|
+
label: msg('Tučná hodnota'),
|
|
1481
1481
|
});
|
|
1482
1482
|
fontInput.on('change', () => {
|
|
1483
1483
|
this.setFontWeight(cell);
|
|
1484
1484
|
});
|
|
1485
1485
|
// Value Variant
|
|
1486
1486
|
const valueVariantOptions = [
|
|
1487
|
-
{ text: '
|
|
1488
|
-
{ text: '
|
|
1489
|
-
{ text: '
|
|
1490
|
-
{ text: '
|
|
1491
|
-
{ text: '
|
|
1492
|
-
{ text: '
|
|
1493
|
-
{ text: '
|
|
1487
|
+
{ text: msg('Výchozí'), value: 'default' },
|
|
1488
|
+
{ text: msg('Primární'), value: 'primary' },
|
|
1489
|
+
{ text: msg('Úspěch'), value: 'success' },
|
|
1490
|
+
{ text: msg('Varování'), value: 'warning' },
|
|
1491
|
+
{ text: msg('Chyba'), value: 'error' },
|
|
1492
|
+
{ text: msg('Informace'), value: 'info' },
|
|
1493
|
+
{ text: msg('Vlastní'), value: 'custom' },
|
|
1494
1494
|
];
|
|
1495
1495
|
const valueVariantInput = pane.addBinding(config, 'valueVariant', {
|
|
1496
1496
|
view: 'list',
|
|
@@ -1510,13 +1510,13 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1510
1510
|
// Progress Color
|
|
1511
1511
|
const progressColorInput = pane.addBinding(config, 'progressColor', {
|
|
1512
1512
|
view: 'list',
|
|
1513
|
-
label: '
|
|
1513
|
+
label: msg('Barva postupu'),
|
|
1514
1514
|
options: [
|
|
1515
|
-
{ text: '
|
|
1516
|
-
{ text: '
|
|
1517
|
-
{ text: '
|
|
1518
|
-
{ text: '
|
|
1519
|
-
{ text: '
|
|
1515
|
+
{ text: msg('Primární'), value: 'primary' },
|
|
1516
|
+
{ text: msg('Úspěch'), value: 'success' },
|
|
1517
|
+
{ text: msg('Varování'), value: 'warning' },
|
|
1518
|
+
{ text: msg('Chyba'), value: 'error' },
|
|
1519
|
+
{ text: msg('Informace'), value: 'info' },
|
|
1520
1520
|
],
|
|
1521
1521
|
});
|
|
1522
1522
|
progressColorInput.on('change', (ev) => {
|
|
@@ -1524,13 +1524,13 @@ let LitCaseVariablesTab = class LitCaseVariablesTab extends LitElement {
|
|
|
1524
1524
|
});
|
|
1525
1525
|
// Value Variant (for progress text color if needed)
|
|
1526
1526
|
const valueVariantOptions = [
|
|
1527
|
-
{ text: '
|
|
1528
|
-
{ text: '
|
|
1529
|
-
{ text: '
|
|
1530
|
-
{ text: '
|
|
1531
|
-
{ text: '
|
|
1532
|
-
{ text: '
|
|
1533
|
-
{ text: '
|
|
1527
|
+
{ text: msg('Výchozí'), value: 'default' },
|
|
1528
|
+
{ text: msg('Primární'), value: 'primary' },
|
|
1529
|
+
{ text: msg('Úspěch'), value: 'success' },
|
|
1530
|
+
{ text: msg('Varování'), value: 'warning' },
|
|
1531
|
+
{ text: msg('Chyba'), value: 'error' },
|
|
1532
|
+
{ text: msg('Informace'), value: 'info' },
|
|
1533
|
+
{ text: msg('Vlastní'), value: 'custom' },
|
|
1534
1534
|
];
|
|
1535
1535
|
const valueVariantInput = pane.addBinding(config, 'valueVariant', {
|
|
1536
1536
|
view: 'list',
|