@dative-gpi/foundation-core-components 1.0.140 → 1.0.142
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/components/customProperties/helpers.ts +3 -113
- package/components/explorers/FSBaseDevicesExplorer.vue +3 -1
- package/components/explorers/FSBaseFoldersExplorer.vue +9 -0
- package/components/lists/alerts/FSBaseAlertsList.vue +16 -2
- package/components/lists/authTokens/FSBaseAuthTokensList.vue +1 -1
- package/components/lists/chartOrganisationTypes/FSBaseChartOrganisationTypesList.vue +1 -1
- package/components/lists/chartOrganisations/FSBaseChartOrganisationsList.vue +1 -1
- package/components/lists/charts/FSBaseChartsList.vue +1 -1
- package/components/lists/dashboardOrganisationTypes/FSBaseDashboardOrganisationTypesList.vue +1 -1
- package/components/lists/dashboards/FSBaseDashboardsList.vue +1 -1
- package/components/lists/dashboards/FSSimpleDashboardsList.vue +31 -4
- package/components/lists/deviceOrganisations/FSBaseDeviceOrganisationsList.vue +1 -1
- package/components/lists/groups/FSBaseGroupsList.vue +1 -1
- package/components/lists/locations/FSBaseLocationsList.vue +1 -1
- package/components/lists/models/FSBaseModelsList.vue +2 -1
- package/components/lists/roleOrganisationTypes/FSBaseRoleOrganisationTypesList.vue +1 -1
- package/components/lists/roleOrganisations/FSBaseRoleOrganisationsList.vue +1 -1
- package/components/lists/scenarioOrganisationTypes/FSBaseScenarioOrganisationTypesList.vue +1 -1
- package/components/lists/scenarioOrganisations/FSBaseScenarioOrganisationsList.vue +1 -1
- package/components/lists/serviceAccountOrganisations/FSBaseServiceAccountOrganisationsList.vue +1 -1
- package/components/lists/serviceAccountRoleOrganisations/FSBaseServiceAccountRoleOrganisationsList.vue +1 -1
- package/components/lists/userOrganisations/FSBaseUserOrganisationsList.vue +1 -1
- package/package.json +7 -7
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useDateExpression } from "@dative-gpi/foundation-shared-services/composables";
|
|
2
2
|
import { FilterType, PropertyDataType } from "@dative-gpi/foundation-shared-domain/enums";
|
|
3
3
|
|
|
4
4
|
import { type CustomPropertyInfos, } from "../../../foundation-core-domain/models";
|
|
5
5
|
|
|
6
|
-
const {
|
|
6
|
+
const { convert: convertExpressionToEpoch } = useDateExpression();
|
|
7
7
|
|
|
8
8
|
export const getColor = (property: CustomPropertyInfos, value: string): string | undefined => {
|
|
9
9
|
if (property.colorful) {
|
|
10
10
|
for (const color of [...property.colorMap].sort((a, b) => b.priority - a.priority)) {
|
|
11
11
|
let filterValues = [...color.filterValues];
|
|
12
12
|
if ([PropertyDataType.DateTime].includes(property.dataType)) {
|
|
13
|
-
filterValues = filterValues.map(fv =>
|
|
13
|
+
filterValues = filterValues.map(fv => convertExpressionToEpoch(fv).toString());
|
|
14
14
|
}
|
|
15
15
|
switch (color.filterType) {
|
|
16
16
|
case FilterType.None: return color.color;
|
|
@@ -80,113 +80,3 @@ export const getColor = (property: CustomPropertyInfos, value: string): string |
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
|
|
84
|
-
const getEpoch = (expression: string): string => {
|
|
85
|
-
if (!isNaN(parseInt(expression))) {
|
|
86
|
-
return expression;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
const date = new Date();
|
|
90
|
-
if (expression.startsWith("now")) {
|
|
91
|
-
expression = expression.substring(3).replace(/\s/g, "");
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
return (date.getTime()).toString();
|
|
95
|
-
}
|
|
96
|
-
let match = /^(?:(?:([-+])(\d*))?(\w+))?(?:\/(\w))?/g.exec(expression);
|
|
97
|
-
while (match != null && (match[0] != null && match[0].length > 0)) {
|
|
98
|
-
if (match[1] != null && match[3] != null) {
|
|
99
|
-
if (!["-", "+"].includes(match[1]) || isNaN(parseInt(match[2])) || !["s", "m", "h", "d", "w", "M", "y"].includes(match[3])) {
|
|
100
|
-
return (date.getTime()).toString();
|
|
101
|
-
}
|
|
102
|
-
const offset = match[1] == "-" ? -1 * parseInt(match[2]): 1* parseInt(match[2]);
|
|
103
|
-
switch (match[3]) {
|
|
104
|
-
case "s": {
|
|
105
|
-
date.setSeconds(date.getSeconds() + offset);
|
|
106
|
-
break;
|
|
107
|
-
}
|
|
108
|
-
case "m": {
|
|
109
|
-
date.setMinutes(date.getMinutes() + offset);
|
|
110
|
-
break;
|
|
111
|
-
}
|
|
112
|
-
case "h": {
|
|
113
|
-
date.setHours(date.getHours() + offset);
|
|
114
|
-
break;
|
|
115
|
-
}
|
|
116
|
-
case "d": {
|
|
117
|
-
date.setDate(date.getDate() + offset);
|
|
118
|
-
break;
|
|
119
|
-
}
|
|
120
|
-
case "w": {
|
|
121
|
-
date.setDate(date.getDate() + offset * 7);
|
|
122
|
-
break;
|
|
123
|
-
}
|
|
124
|
-
case "M": {
|
|
125
|
-
date.setMonth(date.getMonth() + offset);
|
|
126
|
-
break;
|
|
127
|
-
}
|
|
128
|
-
case "y": {
|
|
129
|
-
date.setFullYear(date.getFullYear() + offset);
|
|
130
|
-
break;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
if (match[4] != null) {
|
|
135
|
-
if (!["s", "m", "h", "d", "w", "M", "y"].includes(match[4])) {
|
|
136
|
-
return (date.getTime()).toString();
|
|
137
|
-
}
|
|
138
|
-
switch (match[4]) {
|
|
139
|
-
case "s": {
|
|
140
|
-
date.setMilliseconds(0);
|
|
141
|
-
break;
|
|
142
|
-
}
|
|
143
|
-
case "m": {
|
|
144
|
-
date.setMilliseconds(0);
|
|
145
|
-
date.setSeconds(0);
|
|
146
|
-
break;
|
|
147
|
-
}
|
|
148
|
-
case "h": {
|
|
149
|
-
date.setMilliseconds(0);
|
|
150
|
-
date.setSeconds(0);
|
|
151
|
-
date.setMinutes(0);
|
|
152
|
-
break;
|
|
153
|
-
}
|
|
154
|
-
case "d": {
|
|
155
|
-
date.setMilliseconds(0);
|
|
156
|
-
date.setSeconds(0);
|
|
157
|
-
date.setMinutes(0);
|
|
158
|
-
date.setHours(0);
|
|
159
|
-
break;
|
|
160
|
-
}
|
|
161
|
-
case "w": {
|
|
162
|
-
date.setMilliseconds(0);
|
|
163
|
-
date.setSeconds(0);
|
|
164
|
-
date.setMinutes(0);
|
|
165
|
-
date.setHours(0);
|
|
166
|
-
date.setDate(date.getDate() - date.getDay() + (date.getDay() === 0 ? -6 : 1));
|
|
167
|
-
break;
|
|
168
|
-
}
|
|
169
|
-
case "M": {
|
|
170
|
-
date.setMilliseconds(0);
|
|
171
|
-
date.setSeconds(0);
|
|
172
|
-
date.setMinutes(0);
|
|
173
|
-
date.setHours(0);
|
|
174
|
-
date.setDate(1);
|
|
175
|
-
break;
|
|
176
|
-
}
|
|
177
|
-
case "y": {
|
|
178
|
-
date.setMilliseconds(0);
|
|
179
|
-
date.setSeconds(0);
|
|
180
|
-
date.setMinutes(0);
|
|
181
|
-
date.setHours(0);
|
|
182
|
-
date.setDate(1);
|
|
183
|
-
date.setMonth(0);
|
|
184
|
-
break;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
expression = expression.substring(match[0].length);
|
|
189
|
-
match = /(?:(?:([-+])(\d*))?(\w+))?(?:\/(\w))?/g.exec(expression);
|
|
190
|
-
}
|
|
191
|
-
return (date.getTime() + getOffsetDifference()).toString();
|
|
192
|
-
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
:loading="fetchingDeviceExplorerElements"
|
|
5
5
|
:singleSelect="$props.singleSelect"
|
|
6
6
|
:items="deviceExplorerElements"
|
|
7
|
-
:
|
|
7
|
+
:selectable="$props.selectable"
|
|
8
8
|
:tableCode="$props.tableCode"
|
|
9
9
|
:itemTo="$props.itemTo"
|
|
10
10
|
:noSearch="$props.recursiveSearch"
|
|
@@ -135,6 +135,7 @@
|
|
|
135
135
|
v-if="item.type === DeviceExplorerElementType.Group"
|
|
136
136
|
:to="$props.itemTo && $props.itemTo(item)"
|
|
137
137
|
:modelValue="isSelected(item.id)"
|
|
138
|
+
:selectable="$props.selectable"
|
|
138
139
|
@update:modelValue="toggleSelect(item)"
|
|
139
140
|
v-bind="item"
|
|
140
141
|
/>
|
|
@@ -147,6 +148,7 @@
|
|
|
147
148
|
:deviceAlerts="item.alerts"
|
|
148
149
|
:alertTo="$props.alertTo"
|
|
149
150
|
:modelValue="isSelected(item.id)"
|
|
151
|
+
:selectable="$props.selectable"
|
|
150
152
|
@update:modelValue="toggleSelect(item)"
|
|
151
153
|
v-bind="item"
|
|
152
154
|
/>
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
:loading="fetchingFolders || fetchingDashboardOrganisations || fetchingDashboardShallows"
|
|
7
7
|
:tableCode="$props.tableCode"
|
|
8
8
|
:modelValue="selecteds"
|
|
9
|
+
:selectable="$props.selectable"
|
|
9
10
|
@update:modelValue="onSelect"
|
|
10
11
|
v-bind="$attrs"
|
|
11
12
|
>
|
|
@@ -80,6 +81,7 @@
|
|
|
80
81
|
v-if="item.type == FoldersListType.Folder"
|
|
81
82
|
:bottomColor="item.colors"
|
|
82
83
|
v-bind="item"
|
|
84
|
+
:selectable="$props.selectable"
|
|
83
85
|
:modelValue="isSelected(item.id)"
|
|
84
86
|
@update:modelValue="toggleSelect(item)"
|
|
85
87
|
:to="$props.itemTo && $props.itemTo(item)"
|
|
@@ -87,6 +89,7 @@
|
|
|
87
89
|
<FSDashboardOrganisationTileUI
|
|
88
90
|
v-if="item.type == FoldersListType.Dashboard && item.dashboardType == DashboardType.Organisation"
|
|
89
91
|
:bottomColor="item.colors"
|
|
92
|
+
:selectable="$props.selectable"
|
|
90
93
|
:modelValue="isSelected(item.id)"
|
|
91
94
|
@update:modelValue="toggleSelect(item)"
|
|
92
95
|
:to="$props.itemTo && $props.itemTo(item)"
|
|
@@ -95,6 +98,7 @@
|
|
|
95
98
|
<FSDashboardShallowTileUI
|
|
96
99
|
v-if="item.type == FoldersListType.Dashboard && item.dashboardType == DashboardType.Shallow"
|
|
97
100
|
:bottomColor="item.colors"
|
|
101
|
+
:selectable="$props.selectable"
|
|
98
102
|
:modelValue="isSelected(item.id)"
|
|
99
103
|
@update:modelValue="toggleSelect(item)"
|
|
100
104
|
:to="$props.itemTo && $props.itemTo(item)"
|
|
@@ -166,6 +170,11 @@ export default defineComponent({
|
|
|
166
170
|
tableCode: {
|
|
167
171
|
type: String,
|
|
168
172
|
required: true
|
|
173
|
+
},
|
|
174
|
+
selectable: {
|
|
175
|
+
type: Boolean,
|
|
176
|
+
required: false,
|
|
177
|
+
default: true
|
|
169
178
|
}
|
|
170
179
|
},
|
|
171
180
|
emits: ["update", "update:modelValue", "update:type", "update:dashboard-type"],
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
:loading="fetchingAlerts"
|
|
8
8
|
:tableCode="$props.tableCode"
|
|
9
9
|
:modelValue="$props.modelValue"
|
|
10
|
+
:selectable="$props.selectable"
|
|
10
11
|
@update:modelValue="$emit('update:modelValue', $event)"
|
|
11
12
|
v-bind="$attrs"
|
|
12
13
|
>
|
|
@@ -196,16 +197,19 @@
|
|
|
196
197
|
</FSSpan>
|
|
197
198
|
</template>
|
|
198
199
|
<template
|
|
199
|
-
#item.tile="{ item }"
|
|
200
|
+
#item.tile="{ item, toggleSelect }"
|
|
200
201
|
>
|
|
201
202
|
<FSAlertTileUI
|
|
202
203
|
variant="standard"
|
|
203
204
|
:label="item.label"
|
|
204
205
|
:deviceOrganisationLabel="item.deviceOrganisationLabel"
|
|
205
206
|
:icon="item.icon"
|
|
207
|
+
:selectable="$props.selectable"
|
|
206
208
|
:triggerProcessedTimestamp="item.triggerProcessedTimestamp"
|
|
207
209
|
:to="$props.itemTo && $props.itemTo(item)"
|
|
210
|
+
:modelValue="isSelected(item.id)"
|
|
208
211
|
:color="alertColorByCriticity(item.criticity)"
|
|
212
|
+
@update:modelValue="toggleSelect(item)"
|
|
209
213
|
/>
|
|
210
214
|
</template>
|
|
211
215
|
</FSDataTable>
|
|
@@ -280,6 +284,11 @@ export default defineComponent({
|
|
|
280
284
|
type: Function as PropType<(item: AlertInfos) => Partial<RouteLocation>>,
|
|
281
285
|
required: false
|
|
282
286
|
},
|
|
287
|
+
selectable: {
|
|
288
|
+
type: Boolean,
|
|
289
|
+
required: false,
|
|
290
|
+
default: true
|
|
291
|
+
}
|
|
283
292
|
},
|
|
284
293
|
emits: ["update:modelValue"],
|
|
285
294
|
setup(props) {
|
|
@@ -295,6 +304,10 @@ export default defineComponent({
|
|
|
295
304
|
return AlertTools.criticityColor(criticity);
|
|
296
305
|
};
|
|
297
306
|
|
|
307
|
+
const isSelected = (id: string): boolean => {
|
|
308
|
+
return props.modelValue.includes(id);
|
|
309
|
+
};
|
|
310
|
+
|
|
298
311
|
const alertsOrdered = computed(() => {
|
|
299
312
|
const als = [...alerts.value]
|
|
300
313
|
return als.sort((a: AlertInfos, b: AlertInfos) => {
|
|
@@ -331,7 +344,8 @@ export default defineComponent({
|
|
|
331
344
|
ColorEnum,
|
|
332
345
|
epochToShortTimeFormat,
|
|
333
346
|
alertColorByCriticity,
|
|
334
|
-
criticityColor
|
|
347
|
+
criticityColor,
|
|
348
|
+
isSelected
|
|
335
349
|
};
|
|
336
350
|
}
|
|
337
351
|
});
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
:headersOptions="headersOptions"
|
|
8
8
|
:tableCode="$props.tableCode"
|
|
9
9
|
:modelValue="$props.modelValue"
|
|
10
|
-
:
|
|
10
|
+
:selectable="$props.selectable"
|
|
11
11
|
:singleSelect="$props.singleSelect"
|
|
12
12
|
@update:modelValue="$emit('update:modelValue', $event)"
|
|
13
13
|
v-bind="$attrs"
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
:loading="fetchingChartOrganisationTypes || fetchingChartOrganisations"
|
|
5
5
|
:headersOptions="headersOptions"
|
|
6
6
|
:items="charts"
|
|
7
|
-
:
|
|
7
|
+
:selectable="$props.selectable"
|
|
8
8
|
:singleSelect="$props.singleSelect"
|
|
9
9
|
:tableCode="$props.tableCode"
|
|
10
10
|
:modelValue="$props.modelValue"
|
package/components/lists/dashboardOrganisationTypes/FSBaseDashboardOrganisationTypesList.vue
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
:itemTo="$props.itemTo"
|
|
7
7
|
:tableCode="$props.tableCode"
|
|
8
8
|
:modelValue="$props.modelValue"
|
|
9
|
-
:
|
|
9
|
+
:selectable="$props.selectable"
|
|
10
10
|
:singleSelect="$props.singleSelect"
|
|
11
11
|
@update:modelValue="$emit('update:modelValue', $event)"
|
|
12
12
|
v-bind="$attrs"
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
:itemTo="$props.itemTo"
|
|
6
6
|
:loading="fetchingDashboardOrganisationTypes || fetchingDashboardOrganisations || fetchingDashboardShallows"
|
|
7
7
|
:tableCode="$props.tableCode"
|
|
8
|
-
:
|
|
8
|
+
:selectable="$props.selectable"
|
|
9
9
|
:singleSelect="$props.singleSelect"
|
|
10
10
|
:modelValue="selecteds"
|
|
11
11
|
@update:modelValue="onSelect"
|
|
@@ -8,9 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
<script lang="ts">
|
|
10
10
|
import { defineComponent, type PropType, watch, computed } from "vue";
|
|
11
|
+
import _ from "lodash";
|
|
11
12
|
|
|
12
13
|
import type { DashboardOrganisationFilters, DashboardOrganisationTypeFilters } from "@dative-gpi/foundation-core-domain/models";
|
|
13
|
-
import { useDashboardOrganisations, useDashboardOrganisationTypes } from "@dative-gpi/foundation-core-services/composables";
|
|
14
|
+
import { useDashboardOrganisations, useDashboardOrganisationTypes, useDashboardShallows } from "@dative-gpi/foundation-core-services/composables";
|
|
15
|
+
|
|
16
|
+
import { DashboardType } from '@dative-gpi/foundation-shared-domain/enums';
|
|
17
|
+
import type { DashboardsListItem } from '@dative-gpi/foundation-core-components/utils';
|
|
14
18
|
|
|
15
19
|
import FSSimpleList from "@dative-gpi/foundation-shared-components/components/lists/FSSimpleList.vue";
|
|
16
20
|
|
|
@@ -29,6 +33,11 @@ export default defineComponent({
|
|
|
29
33
|
type: Object as PropType<DashboardOrganisationTypeFilters>,
|
|
30
34
|
required: false,
|
|
31
35
|
default: () => ({})
|
|
36
|
+
},
|
|
37
|
+
dashboardShallowFilters: {
|
|
38
|
+
type: Object as PropType<DashboardOrganisationTypeFilters>,
|
|
39
|
+
required: false,
|
|
40
|
+
default: () => ({})
|
|
32
41
|
}
|
|
33
42
|
},
|
|
34
43
|
setup(props){
|
|
@@ -38,17 +47,35 @@ export default defineComponent({
|
|
|
38
47
|
const { entities: dashboardOrganisationTypes,
|
|
39
48
|
getMany: getManyDashboardOrganisationTypes,
|
|
40
49
|
fetching: fetchingDashboardOrganisationTypes } = useDashboardOrganisationTypes();
|
|
50
|
+
const { entities: dashboardShallows,
|
|
51
|
+
getMany: getManyDashboardShallows,
|
|
52
|
+
fetching: fetchingDashboardShallows } = useDashboardShallows();
|
|
41
53
|
|
|
42
54
|
const fetching = computed(() => fetchingDashboardOrganisations.value
|
|
43
|
-
|| fetchingDashboardOrganisationTypes.value
|
|
55
|
+
|| fetchingDashboardOrganisationTypes.value
|
|
56
|
+
|| fetchingDashboardShallows.value);
|
|
44
57
|
|
|
45
|
-
const dashboards = computed(() => {
|
|
46
|
-
return [
|
|
58
|
+
const dashboards = computed((): DashboardsListItem[] => {
|
|
59
|
+
return _.sortBy([
|
|
60
|
+
...dashboardOrganisationTypes.value.map(g => ({
|
|
61
|
+
...g,
|
|
62
|
+
dashboardType: DashboardType.OrganisationType
|
|
63
|
+
})) satisfies DashboardsListItem[],
|
|
64
|
+
...dashboardOrganisations.value.map(d => ({
|
|
65
|
+
...d,
|
|
66
|
+
dashboardType: DashboardType.Organisation
|
|
67
|
+
})) as DashboardsListItem[],
|
|
68
|
+
...dashboardShallows.value.map(d => ({
|
|
69
|
+
...d,
|
|
70
|
+
dashboardType: DashboardType.Shallow
|
|
71
|
+
})) as DashboardsListItem[]
|
|
72
|
+
], d => d.label);
|
|
47
73
|
});
|
|
48
74
|
|
|
49
75
|
const fetch = () => {
|
|
50
76
|
getManyDashboardOrganisations(props.dashboardOrganisationFilters);
|
|
51
77
|
getManyDashboardOrganisationTypes(props.dashboardOrganisationTypeFilters);
|
|
78
|
+
getManyDashboardShallows(props.dashboardShallowFilters);
|
|
52
79
|
}
|
|
53
80
|
|
|
54
81
|
watch(() => [props.dashboardOrganisationFilters, props.dashboardOrganisationTypeFilters], fetch, { immediate: true });
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
:loading="fetchingDeviceOrganisations"
|
|
5
5
|
:singleSelect="$props.singleSelect"
|
|
6
6
|
:headersOptions="headersOptions"
|
|
7
|
-
:
|
|
7
|
+
:selectable="$props.selectable"
|
|
8
8
|
:tableCode="$props.tableCode"
|
|
9
9
|
:items="deviceOrganisations"
|
|
10
10
|
:itemTo="$props.itemTo"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<FSDataTable
|
|
3
3
|
defaultMode="iterator"
|
|
4
4
|
:singleSelect="$props.singleSelect"
|
|
5
|
-
:
|
|
5
|
+
:selectable="$props.selectable"
|
|
6
6
|
:tableCode="$props.tableCode"
|
|
7
7
|
:loading="fetchingModels"
|
|
8
8
|
:items="models"
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
>
|
|
64
64
|
<FSModelTileUI
|
|
65
65
|
:to="$props.itemTo && $props.itemTo(item)"
|
|
66
|
+
:selectable="$props.selectable"
|
|
66
67
|
:singleSelect="$props.singleSelect"
|
|
67
68
|
:imageId="item.imageId"
|
|
68
69
|
:label="item.label"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:items="roleOrganisationTypes"
|
|
4
4
|
:itemTo="$props.itemTo"
|
|
5
5
|
:loading="fetchingRoleOrganisations"
|
|
6
|
-
:
|
|
6
|
+
:selectable="$props.selectable"
|
|
7
7
|
:tableCode="$props.tableCode"
|
|
8
8
|
:modelValue="$props.modelValue"
|
|
9
9
|
@update:modelValue="$emit('update:modelValue', $event)"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:items="scenarioOrganisationTypes"
|
|
4
4
|
:itemTo="$props.itemTo"
|
|
5
5
|
:loading="fetchingScenarioOrganisationTypes"
|
|
6
|
-
:
|
|
6
|
+
:selectable="$props.selectable"
|
|
7
7
|
:tableCode="$props.tableCode"
|
|
8
8
|
:modelValue="$props.modelValue"
|
|
9
9
|
@update:modelValue="$emit('update:modelValue', $event)"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:items="scenarioOrganisations"
|
|
4
4
|
:itemTo="$props.itemTo"
|
|
5
5
|
:loading="fetchingScenarioOrganisations"
|
|
6
|
-
:
|
|
6
|
+
:selectable="$props.selectable"
|
|
7
7
|
:tableCode="$props.tableCode"
|
|
8
8
|
:modelValue="$props.modelValue"
|
|
9
9
|
:headersOptions="headersOptions"
|
package/components/lists/serviceAccountOrganisations/FSBaseServiceAccountOrganisationsList.vue
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:items="serviceAccountOrganisations"
|
|
4
4
|
:itemTo="$props.itemTo"
|
|
5
5
|
:loading="fetchingServiceAccountOrganisations"
|
|
6
|
-
:
|
|
6
|
+
:selectable="$props.selectable"
|
|
7
7
|
:tableCode="$props.tableCode"
|
|
8
8
|
:modelValue="$props.modelValue"
|
|
9
9
|
@update:modelValue="$emit('update:modelValue', $event)"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<FSDataTable
|
|
3
3
|
:loading="fetchingServiceAccountRoleOrganisations"
|
|
4
4
|
:items="serviceAccountRoleOrganisations"
|
|
5
|
-
:
|
|
5
|
+
:selectable="$props.selectable"
|
|
6
6
|
:tableCode="$props.tableCode"
|
|
7
7
|
:itemTo="$props.itemTo"
|
|
8
8
|
:modelValue="$props.modelValue"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:items="userOrganisations"
|
|
4
4
|
:itemTo="$props.itemTo"
|
|
5
5
|
:loading="fetchingUserOrganisations"
|
|
6
|
-
:
|
|
6
|
+
:selectable="$props.selectable"
|
|
7
7
|
:tableCode="$props.tableCode"
|
|
8
8
|
:modelValue="$props.modelValue"
|
|
9
9
|
@update:modelValue="$emit('update:modelValue', $event)"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-core-components",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.142",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dative-gpi/foundation-core-domain": "1.0.
|
|
14
|
-
"@dative-gpi/foundation-core-services": "1.0.
|
|
15
|
-
"@dative-gpi/foundation-shared-components": "1.0.
|
|
16
|
-
"@dative-gpi/foundation-shared-domain": "1.0.
|
|
17
|
-
"@dative-gpi/foundation-shared-services": "1.0.
|
|
13
|
+
"@dative-gpi/foundation-core-domain": "1.0.142",
|
|
14
|
+
"@dative-gpi/foundation-core-services": "1.0.142",
|
|
15
|
+
"@dative-gpi/foundation-shared-components": "1.0.142",
|
|
16
|
+
"@dative-gpi/foundation-shared-domain": "1.0.142",
|
|
17
|
+
"@dative-gpi/foundation-shared-services": "1.0.142"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@dative-gpi/bones-ui": "^1.0.0",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"sass": "1.71.1",
|
|
27
27
|
"sass-loader": "13.3.2"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "36eca468f78075f88bb6638dbfdee9bdecf270ce"
|
|
30
30
|
}
|