@dative-gpi/foundation-shared-components 1.0.159 → 1.0.160
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.
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<slot />
|
|
16
16
|
</FSWrapGroup>
|
|
17
17
|
<FSSlideGroup
|
|
18
|
-
v-if="$props.variant === 'slide'"
|
|
18
|
+
v-else-if="$props.variant === 'slide'"
|
|
19
19
|
v-bind="$attrs"
|
|
20
20
|
>
|
|
21
21
|
<FSTag
|
|
@@ -36,12 +36,14 @@ import { defineComponent, type PropType } from "vue";
|
|
|
36
36
|
|
|
37
37
|
import { type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
38
38
|
|
|
39
|
+
import FSSlideGroup from '@dative-gpi/foundation-shared-components/components/FSSlideGroup.vue';
|
|
39
40
|
import FSWrapGroup from "./FSWrapGroup.vue";
|
|
40
41
|
import FSTag from "./FSTag.vue";
|
|
41
42
|
|
|
42
43
|
export default defineComponent({
|
|
43
44
|
name: "FSTagGroup",
|
|
44
45
|
components: {
|
|
46
|
+
FSSlideGroup,
|
|
45
47
|
FSWrapGroup,
|
|
46
48
|
FSTag
|
|
47
49
|
},
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
</FSRow>
|
|
30
30
|
<FSCol
|
|
31
31
|
v-if="$props.breadcrumbs && $props.breadcrumbs.length > 0"
|
|
32
|
-
:padding="`0px ${isTouchScreenEnabled ? '20px' : '12px'}
|
|
32
|
+
:padding="`0px ${isTouchScreenEnabled ? '20px' : '12px'} 12px 12px`"
|
|
33
33
|
gap="16px"
|
|
34
34
|
>
|
|
35
35
|
<FSCol>
|
|
@@ -108,7 +108,7 @@ export default defineComponent({
|
|
|
108
108
|
toolbarTopOffset: {
|
|
109
109
|
type: String,
|
|
110
110
|
required: false,
|
|
111
|
-
default: "
|
|
111
|
+
default: "52px"
|
|
112
112
|
},
|
|
113
113
|
stickyTitleTopOffset: {
|
|
114
114
|
type: String,
|
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.160",
|
|
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.160",
|
|
14
|
+
"@dative-gpi/foundation-shared-services": "1.0.160"
|
|
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": "c427a9c163483d60edaadb93a11c58283cab96c2"
|
|
39
39
|
}
|
package/tools/chartsTools.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AxisType, ColorSets, SerieType, ChartType, TimeUnit, ChartOrigin, AggregationType, DisplayAs, FilterType, HeatmapRule, OperationOn, PlanningType, PlotPer } from "@dative-gpi/foundation-shared-domain/enums";
|
|
1
|
+
import { AxisType, ColorSets, SerieType, ChartType, TimeUnit, ChartOrigin, AggregationType, DisplayAs, FilterType, HeatmapRule, OperationOn, PlanningType, PlotPer, ApplicationScope } from "@dative-gpi/foundation-shared-domain/enums";
|
|
2
2
|
|
|
3
3
|
import { getEnumEntries } from "@dative-gpi/foundation-shared-domain/tools";
|
|
4
4
|
import { useTranslations as useTranslationsProvider } from "@dative-gpi/bones-ui/composables";
|
|
@@ -14,6 +14,18 @@ export const chartOriginLabel = (type: ChartOrigin): string => {
|
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
+
export const applicationScopeLabel = (type: ApplicationScope): string => {
|
|
18
|
+
switch (type) {
|
|
19
|
+
case ApplicationScope.None:
|
|
20
|
+
return $tr("ui.common.none", "None");
|
|
21
|
+
case ApplicationScope.Organisation:
|
|
22
|
+
return $tr("ui.common.custom", "Custom");
|
|
23
|
+
case ApplicationScope.OrganisationType:
|
|
24
|
+
return $tr("ui.common.shared", "Shared");
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
|
|
17
29
|
export const chartOriginColor = (type: ChartOrigin): ColorBase => {
|
|
18
30
|
switch (type) {
|
|
19
31
|
case ChartOrigin.None: return ColorEnum.Error;
|