@dative-gpi/foundation-core-components 1.0.129 → 1.0.131

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.
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <FSDataTable
3
+ defaultMode="iterator"
3
4
  :items="items"
4
5
  :item-to="$props.itemTo"
5
6
  :loading="fetchingFolders || fetchingDashboardOrganisations || fetchingDashboardShallows"
@@ -63,6 +64,15 @@
63
64
  :value="item.locked"
64
65
  />
65
66
  </template>
67
+ <template
68
+ #item.tags="{ item }"
69
+ >
70
+ <FSTagGroup
71
+ variant="slide"
72
+ :editable="false"
73
+ :tags="item.tags"
74
+ />
75
+ </template>
66
76
  <template
67
77
  #item.tile="{ item, toggleSelect }"
68
78
  >
@@ -108,6 +118,7 @@ import type { FolderFilters, DashboardOrganisationFilters, DashboardShallowFilte
108
118
 
109
119
  import FSIcon from "@dative-gpi/foundation-shared-components/components/FSIcon.vue";
110
120
  import FSImage from "@dative-gpi/foundation-shared-components/components/FSImage.vue";
121
+ import FSTagGroup from "@dative-gpi/foundation-shared-components/components/FSTagGroup.vue";
111
122
  import FSIconCheck from "@dative-gpi/foundation-shared-components/components/FSIconCheck.vue";
112
123
  import FSFolderTileUI from "@dative-gpi/foundation-shared-components/components/tiles/FSFolderTileUI.vue";
113
124
  import FSDashboardShallowTileUI from "@dative-gpi/foundation-shared-components/components/tiles/FSDashboardShallowTileUI.vue";
@@ -118,13 +129,14 @@ import FSDataTable from "../lists/FSDataTable.vue";
118
129
  export default defineComponent({
119
130
  name: "FSBaseFoldersExplorer",
120
131
  components: {
121
- FSDataTable,
122
- FSIcon,
123
- FSFolderTileUI,
124
132
  FSDashboardOrganisationTileUI,
125
133
  FSDashboardShallowTileUI,
134
+ FSFolderTileUI,
135
+ FSDataTable,
126
136
  FSIconCheck,
127
- FSImage
137
+ FSTagGroup,
138
+ FSImage,
139
+ FSIcon
128
140
  },
129
141
  props: {
130
142
  foldersFilters: {
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <FSDataTable
3
+ defaultMode="iterator"
3
4
  :items="chartOrganisationTypes"
4
5
  :itemTo="$props.itemTo"
5
6
  :loading="fetchingChartOrganisationTypes"
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <FSDataTable
3
+ defaultMode="iterator"
3
4
  :items="chartOrganisations"
4
5
  :itemTo="$props.itemTo"
5
6
  :loading="fetchingChartOrganisations"
@@ -54,6 +54,15 @@
54
54
  :label="$tr('ui.common.all', 'All')"
55
55
  />
56
56
  </template>
57
+ <template
58
+ #item.tags="{ item }"
59
+ >
60
+ <FSTagGroup
61
+ variant="slide"
62
+ :editable="false"
63
+ :tags="item.tags"
64
+ />
65
+ </template>
57
66
  <template
58
67
  #item.tile="{ item, toggleSelect }"
59
68
  >
@@ -69,26 +78,28 @@
69
78
  </template>
70
79
 
71
80
  <script lang="ts">
72
- import type { PropType} from "vue";
81
+ import { computed, defineComponent, onMounted, type PropType, watch } from "vue";
73
82
  import type { RouteLocation } from "vue-router";
74
- import { computed, defineComponent, onMounted, watch } from "vue";
75
83
  import _ from "lodash";
76
84
 
77
85
  import { useAppOrganisationId, useCurrentUserOrganisation, useDashboardOrganisationTypes } from "@dative-gpi/foundation-core-services/composables";
78
86
  import type { DashboardOrganisationTypeFilters, DashboardOrganisationTypeInfos } from "@dative-gpi/foundation-core-domain/models";
79
87
  import { useOrganisation } from "@dative-gpi/foundation-shared-services/composables";
80
88
 
81
- import FSDataTable from "../FSDataTable.vue";
89
+ import FSTagGroup from "@dative-gpi/foundation-shared-components/components/FSTagGroup.vue";
82
90
  import FSIcon from "@dative-gpi/foundation-shared-components/components/FSIcon.vue";
83
91
  import FSRow from "@dative-gpi/foundation-shared-components/components/FSRow.vue";
84
92
  import FSText from "@dative-gpi/foundation-shared-components/components/FSText.vue";
85
93
  import FSChip from "@dative-gpi/foundation-shared-components/components/FSChip.vue";
86
94
  import FSDashboardOrganisationTypeTileUI from "@dative-gpi/foundation-shared-components/components/tiles/FSDashboardOrganisationTypeTileUI.vue";
87
95
 
96
+ import FSDataTable from "../FSDataTable.vue";
97
+
88
98
  export default defineComponent({
89
99
  name: "FSBaseDashboardOrganisationTypesList",
90
100
  components: {
91
101
  FSDataTable,
102
+ FSTagGroup,
92
103
  FSIcon,
93
104
  FSRow,
94
105
  FSText,
@@ -18,7 +18,6 @@
18
18
  v-bind="slotData"
19
19
  />
20
20
  </template>
21
-
22
21
  <template
23
22
  #item.icon="{ item }"
24
23
  >
@@ -26,7 +25,6 @@
26
25
  {{ item.icon }}
27
26
  </FSIcon>
28
27
  </template>
29
-
30
28
  <template
31
29
  #item.main="{ item }"
32
30
  >
@@ -41,7 +39,15 @@
41
39
  mdi-home
42
40
  </FSIcon>
43
41
  </template>
44
-
42
+ <template
43
+ #item.tags="{ item }"
44
+ >
45
+ <FSTagGroup
46
+ variant="slide"
47
+ :editable="false"
48
+ :tags="item.tags"
49
+ />
50
+ </template>
45
51
  <template
46
52
  #item.tile="{ item, toggleSelect }"
47
53
  >
@@ -75,9 +81,8 @@
75
81
 
76
82
  <script lang="ts">
77
83
  import _ from "lodash";
78
- import type { PropType} from "vue";
79
84
  import type { RouteLocation } from "vue-router";
80
- import { computed, defineComponent, onMounted, ref, watch } from "vue";
85
+ import { computed, defineComponent, onMounted, type PropType, ref, watch } from "vue";
81
86
 
82
87
  import { useAppOrganisationId, useCurrentUserOrganisation, useDashboardOrganisations, useDashboardOrganisationTypes, useDashboardShallows } from "@dative-gpi/foundation-core-services/composables";
83
88
  import type { DashboardOrganisationTypeFilters, DashboardOrganisationFilters, DashboardShallowFilters, DashboardInfos } from "@dative-gpi/foundation-core-domain/models";
@@ -86,16 +91,19 @@ import { useOrganisation } from "@dative-gpi/foundation-shared-services/composab
86
91
  import type { DashboardsListItem } from "@/core/foundation-core-components/utils";
87
92
  import { DashboardType } from "@dative-gpi/foundation-shared-domain/enums";
88
93
 
89
- import FSDataTable from "../FSDataTable.vue";
94
+ import FSTagGroup from "@dative-gpi/foundation-shared-components/components/FSTagGroup.vue";
90
95
  import FSIcon from "@dative-gpi/foundation-shared-components/components/FSIcon.vue";
91
96
  import FSDashboardShallowTileUI from "@dative-gpi/foundation-shared-components/components/tiles/FSDashboardShallowTileUI.vue";
92
97
  import FSDashboardOrganisationTileUI from "@dative-gpi/foundation-shared-components/components/tiles/FSDashboardOrganisationTileUI.vue";
93
98
  import FSDashboardOrganisationTypeTileUI from "@dative-gpi/foundation-shared-components/components/tiles/FSDashboardOrganisationTypeTileUI.vue";
94
99
 
100
+ import FSDataTable from "../FSDataTable.vue";
101
+
95
102
  export default defineComponent({
96
103
  name: "FSBaseDashboardsList",
97
104
  components: {
98
105
  FSDataTable,
106
+ FSTagGroup,
99
107
  FSIcon,
100
108
  FSDashboardOrganisationTileUI,
101
109
  FSDashboardOrganisationTypeTileUI,
@@ -19,6 +19,7 @@
19
19
  maskHeight="0px"
20
20
  >
21
21
  <FSDataTable
22
+ defaultMode="iterator"
22
23
  :loading="fetchingDataCategories"
23
24
  :items="dataCategories"
24
25
  :modelValue="$props.modelValue"
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <FSDataTable
3
+ defaultMode="iterator"
3
4
  :loading="fetchingDataDefinitions"
4
5
  :items="dataDefinitions"
5
6
  :tableCode="$props.tableCode"
@@ -1,6 +1,5 @@
1
1
  <template>
2
2
  <FSDataTable
3
- defaultMode="iterator"
4
3
  :items="serviceAccountOrganisations"
5
4
  :itemTo="$props.itemTo"
6
5
  :loading="fetchingServiceAccountOrganisations"
@@ -1,6 +1,5 @@
1
1
  <template>
2
2
  <FSDataTable
3
- defaultMode="iterator"
4
3
  :items="userOrganisations"
5
4
  :itemTo="$props.itemTo"
6
5
  :loading="fetchingUserOrganisations"
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.129",
4
+ "version": "1.0.131",
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.129",
14
- "@dative-gpi/foundation-core-services": "1.0.129",
15
- "@dative-gpi/foundation-shared-components": "1.0.129",
16
- "@dative-gpi/foundation-shared-domain": "1.0.129",
17
- "@dative-gpi/foundation-shared-services": "1.0.129"
13
+ "@dative-gpi/foundation-core-domain": "1.0.131",
14
+ "@dative-gpi/foundation-core-services": "1.0.131",
15
+ "@dative-gpi/foundation-shared-components": "1.0.131",
16
+ "@dative-gpi/foundation-shared-domain": "1.0.131",
17
+ "@dative-gpi/foundation-shared-services": "1.0.131"
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": "73ebbdb8cfd158e2748933ec57315bc1b5fc4835"
29
+ "gitHead": "4949c203e17fb9bd4f74122efb56552cf550f5b6"
30
30
  }