@dative-gpi/foundation-core-components 1.0.186-tile-list-7 → 1.0.186-tile-list-9

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.
@@ -7,7 +7,7 @@
7
7
 
8
8
  <script lang="ts">
9
9
  import { computed, defineAsyncComponent, defineComponent, type PropType, type Component } from "vue";
10
- import { EntityType } from "../../../../shared/foundation-shared-domain/enums";
10
+ import { EntityType } from "@dative-gpi/foundation-shared-domain/enums";
11
11
 
12
12
 
13
13
  export default defineComponent({
@@ -9,7 +9,7 @@
9
9
  v-bind="$attrs"
10
10
  >
11
11
  <template
12
- #item.tile="{ item, toggleSelect }"
12
+ #item.tile="{ item, toggleSelect, direction }"
13
13
  >
14
14
  <FSDashboardOrganisationTileUI
15
15
  v-if="item.dashboardType === DashboardType.Organisation"
@@ -20,6 +20,7 @@
20
20
  :selectable="$props.selectable"
21
21
  :bottomColor="item.colors"
22
22
  :modelValue="($props.modelValue ?? []).includes(item.id)"
23
+ :width="direction === 'column' ? 'fill' : undefined"
23
24
  @update:modelValue="toggleSelect(item)"
24
25
  />
25
26
  <FSDashboardOrganisationTypeTileUI
@@ -31,6 +32,7 @@
31
32
  :selectable="$props.selectable"
32
33
  :bottomColor="item.colors"
33
34
  :modelValue="($props.modelValue ?? []).includes(item.id)"
35
+ :width="direction === 'column' ? 'fill' : undefined"
34
36
  @update:modelValue="toggleSelect(item)"
35
37
  />
36
38
  <FSDashboardShallowTileUI
@@ -42,6 +44,7 @@
42
44
  :selectable="$props.selectable"
43
45
  :bottomColor="item.colors"
44
46
  :modelValue="($props.modelValue ?? []).includes(item.id)"
47
+ :width="direction === 'column' ? 'fill' : undefined"
45
48
  @update:modelValue="toggleSelect(item)"
46
49
  />
47
50
  </template>
@@ -9,7 +9,7 @@
9
9
  v-bind="$attrs"
10
10
  >
11
11
  <template
12
- #item.tile="{ item, toggleSelect }"
12
+ #item.tile="{ item, toggleSelect, direction }"
13
13
  >
14
14
  <FSDeviceOrganisationTileUI
15
15
  :imageId="item.imageId"
@@ -22,6 +22,7 @@
22
22
  :deviceStatuses="item.status?.statuses"
23
23
  :selectable="$props.selectable"
24
24
  :alertTo="$props.alertTo"
25
+ :width="direction === 'column' ? 'fill' : undefined"
25
26
  :modelValue="($props.modelValue ?? []).includes(item.id)"
26
27
  @update:modelValue="toggleSelect(item)"
27
28
  />
@@ -9,7 +9,7 @@
9
9
  v-bind="$attrs"
10
10
  >
11
11
  <template
12
- #item.tile="{ item, toggleSelect }"
12
+ #item.tile="{ item, toggleSelect, direction }"
13
13
  >
14
14
  <FSFolderTileUI
15
15
  :code="item.code"
@@ -20,6 +20,7 @@
20
20
  :recursiveFoldersIds="item.recursiveFoldersIds"
21
21
  :recursiveDashboardsIds="item.recursiveDashboardsIds"
22
22
  :selectable="$props.selectable"
23
+ :width="direction === 'column' ? 'fill' : undefined"
23
24
  :modelValue="($props.modelValue ?? []).includes(item.id)"
24
25
  @update:modelValue="toggleSelect(item)"
25
26
  />
@@ -9,7 +9,7 @@
9
9
  v-bind="$attrs"
10
10
  >
11
11
  <template
12
- #item.tile="{ item, toggleSelect }"
12
+ #item.tile="{ item, toggleSelect, direction }"
13
13
  >
14
14
  <FSGroupTileUI
15
15
  :imageId="item.imageId"
@@ -18,6 +18,7 @@
18
18
  :recursiveGroupsIds="item.recursiveGroupsIds"
19
19
  :recursiveDeviceOrganisationsIds="item.recursiveDeviceOrganisationsIds"
20
20
  :selectable="$props.selectable"
21
+ :width="direction === 'column' ? 'fill' : undefined"
21
22
  :modelValue="($props.modelValue ?? []).includes(item.id)"
22
23
  @update:modelValue="toggleSelect(item)"
23
24
  />
@@ -9,7 +9,7 @@
9
9
  v-bind="$attrs"
10
10
  >
11
11
  <template
12
- #item.tile="{ item, toggleSelect }"
12
+ #item.tile="{ item, toggleSelect, direction }"
13
13
  >
14
14
  <FSLocationTileUI
15
15
  :icon="item.icon"
@@ -19,6 +19,7 @@
19
19
  :address="item.address?.placeLabel"
20
20
  :deviceCount="item.deviceOrganisationsCount"
21
21
  :selectable="$props.selectable"
22
+ :width="direction === 'column' ? 'fill' : undefined"
22
23
  :modelValue="($props.modelValue ?? []).includes(item.id)"
23
24
  @update:modelValue="toggleSelect(item)"
24
25
  />
@@ -9,13 +9,14 @@
9
9
  v-bind="$attrs"
10
10
  >
11
11
  <template
12
- #item.tile="{ item, toggleSelect }"
12
+ #item.tile="{ item, toggleSelect, direction }"
13
13
  >
14
14
  <FSModelTileUI
15
15
  :imageId="item.imageId"
16
16
  :label="item.label"
17
17
  :code="item.code"
18
18
  :selectable="$props.selectable"
19
+ :width="direction === 'column' ? 'fill' : undefined"
19
20
  :modelValue="($props.modelValue ?? []).includes(item.id)"
20
21
  @update:modelValue="toggleSelect(item)"
21
22
  />
@@ -9,7 +9,7 @@
9
9
  v-bind="$attrs"
10
10
  >
11
11
  <template
12
- #item.tile="{ item, toggleSelect }"
12
+ #item.tile="{ item, toggleSelect, direction }"
13
13
  >
14
14
  <FSUserOrganisationTileUI
15
15
  :imageId="item.imageId"
@@ -18,6 +18,7 @@
18
18
  :roleIcon="item.roleIcon"
19
19
  :admin="item.admin"
20
20
  :selectable="$props.selectable"
21
+ :width="direction === 'column' ? 'fill' : undefined"
21
22
  :modelValue="($props.modelValue ?? []).includes(item.id)"
22
23
  @update:modelValue="toggleSelect(item)"
23
24
  />
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "url": "https://github.com/Dative-GPI/foundation-shared-ui.git"
5
5
  },
6
6
  "sideEffects": false,
7
- "version": "1.0.186-tile-list-7",
7
+ "version": "1.0.186-tile-list-9",
8
8
  "description": "",
9
9
  "publishConfig": {
10
10
  "access": "public"
@@ -13,11 +13,11 @@
13
13
  "author": "",
14
14
  "license": "ISC",
15
15
  "dependencies": {
16
- "@dative-gpi/foundation-core-domain": "1.0.186-tile-list-7",
17
- "@dative-gpi/foundation-core-services": "1.0.186-tile-list-7",
18
- "@dative-gpi/foundation-shared-components": "1.0.186-tile-list-7",
19
- "@dative-gpi/foundation-shared-domain": "1.0.186-tile-list-7",
20
- "@dative-gpi/foundation-shared-services": "1.0.186-tile-list-7"
16
+ "@dative-gpi/foundation-core-domain": "1.0.186-tile-list-9",
17
+ "@dative-gpi/foundation-core-services": "1.0.186-tile-list-9",
18
+ "@dative-gpi/foundation-shared-components": "1.0.186-tile-list-9",
19
+ "@dative-gpi/foundation-shared-domain": "1.0.186-tile-list-9",
20
+ "@dative-gpi/foundation-shared-services": "1.0.186-tile-list-9"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "@dative-gpi/bones-ui": "^1.0.0",
@@ -29,5 +29,5 @@
29
29
  "sass": "1.71.1",
30
30
  "sass-loader": "13.3.2"
31
31
  },
32
- "gitHead": "c5f172ab2bf8f73dc0a7d5981a087c9aa78bf102"
32
+ "gitHead": "885ec609bbc21f7f8e432e9c654cb84bfe7c57fa"
33
33
  }