@dative-gpi/foundation-shared-components 1.0.123 → 1.0.124
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.
|
@@ -40,7 +40,7 @@ export default defineComponent({
|
|
|
40
40
|
|
|
41
41
|
const items = [
|
|
42
42
|
{ id: ListModes.Table, label: $tr("ui.common.table", "Table"), icon: "mdi-format-list-bulleted" },
|
|
43
|
-
{ id: ListModes.Iterator, label: $tr("ui.common.iterator", "
|
|
43
|
+
{ id: ListModes.Iterator, label: $tr("ui.common.iterator", "Tile"), icon: "mdi-view-grid-outline" },
|
|
44
44
|
];
|
|
45
45
|
|
|
46
46
|
return {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-shared-components",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.124",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dative-gpi/foundation-shared-domain": "1.0.
|
|
14
|
-
"@dative-gpi/foundation-shared-services": "1.0.
|
|
13
|
+
"@dative-gpi/foundation-shared-domain": "1.0.124",
|
|
14
|
+
"@dative-gpi/foundation-shared-services": "1.0.124"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@dative-gpi/bones-ui": "^1.0.0",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"sass": "1.71.1",
|
|
36
36
|
"sass-loader": "13.3.2"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "dbe55d5165ef715e8debfa3e459c0d76da412f2d"
|
|
39
39
|
}
|
package/tools/chartsTools.ts
CHANGED
|
@@ -9,8 +9,8 @@ const { $tr } = useTranslationsProvider();
|
|
|
9
9
|
export const chartOriginLabel = (type: ChartOrigin): string => {
|
|
10
10
|
switch (type) {
|
|
11
11
|
case ChartOrigin.None: return $tr("ui.common.none", "None");
|
|
12
|
-
case ChartOrigin.Organisation: return $tr("ui.
|
|
13
|
-
case ChartOrigin.OrganisationType: return $tr("ui.
|
|
12
|
+
case ChartOrigin.Organisation: return $tr("ui.common.custom", "Custom");
|
|
13
|
+
case ChartOrigin.OrganisationType: return $tr("ui.common.shared", "Shared");
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -43,7 +43,7 @@ export const colorSetLabel = (value: ColorSets | number): string => {
|
|
|
43
43
|
case ColorSets.Hash: return $tr("ui.color-sets.hash", "Hash");
|
|
44
44
|
case ColorSets.Kelly: return $tr("ui.color-sets.material", "Kelly");
|
|
45
45
|
case ColorSets.ZeileisHornikMurrell: return $tr("ui.color-sets.material", "ZeileisHornikMurrell");
|
|
46
|
-
default: return $tr("ui.
|
|
46
|
+
default: return $tr("ui.common.none", "None");
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -95,7 +95,7 @@ export const aggregationTypeLabel = (aggregationType: AggregationType): string =
|
|
|
95
95
|
case AggregationType.Minimum: return $tr("ui.common.minimum", "Minimum");
|
|
96
96
|
case AggregationType.Maximum: return $tr("ui.common.maximum", "Maximum");
|
|
97
97
|
case AggregationType.Range: return $tr("ui.aggregation-type.range", "Range");
|
|
98
|
-
default: return $tr("ui.
|
|
98
|
+
default: return $tr("ui.common.none", "None");
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
101
|
|
|
@@ -110,16 +110,16 @@ export const axisTypeLabel = (axisType: AxisType | number): string => {
|
|
|
110
110
|
|
|
111
111
|
export const displayAsLabel = (display: DisplayAs | number): string => {
|
|
112
112
|
switch (display) {
|
|
113
|
-
case DisplayAs.Bars: return $tr("ui.
|
|
114
|
-
case DisplayAs.Lines: return $tr("ui.
|
|
115
|
-
case DisplayAs.Points: return $tr("ui.
|
|
116
|
-
default: return $tr("ui.
|
|
113
|
+
case DisplayAs.Bars: return $tr("ui.common.bars", "Bars");
|
|
114
|
+
case DisplayAs.Lines: return $tr("ui.common.lines", "Lines");
|
|
115
|
+
case DisplayAs.Points: return $tr("ui.common.point", "Points");
|
|
116
|
+
default: return $tr("ui.common.none", "None");
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
120
|
export const filterTypeLabel = (filterType: FilterType | number): string => {
|
|
121
121
|
switch (filterType) {
|
|
122
|
-
case FilterType.Contains: return $tr("ui.
|
|
122
|
+
case FilterType.Contains: return $tr("ui.common.contains", "contains");
|
|
123
123
|
case FilterType.Different: return "≠";
|
|
124
124
|
case FilterType.EndsWith: return $tr("ui.filter-type.ends-with", "ends with");
|
|
125
125
|
case FilterType.Equal: return "=";
|
|
@@ -128,7 +128,7 @@ export const filterTypeLabel = (filterType: FilterType | number): string => {
|
|
|
128
128
|
case FilterType.More: return ">";
|
|
129
129
|
case FilterType.MoreOrEqual: return "≥";
|
|
130
130
|
case FilterType.StartsWith: return $tr("ui.filter-type.starts-with", "start with");
|
|
131
|
-
default: return $tr("ui.
|
|
131
|
+
default: return $tr("ui.common.none", "None");
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
|