@dative-gpi/foundation-shared-components 1.0.186-tile-list-9 → 1.0.186-tile-list-10
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.
|
@@ -86,7 +86,6 @@
|
|
|
86
86
|
:imageId="item.imageId"
|
|
87
87
|
:selectable="$props.selectable"
|
|
88
88
|
v-bind="$props.tileProps ? $props.tileProps(item) : undefined"
|
|
89
|
-
width="348px"
|
|
90
89
|
:modelValue="isSelected(item.id)"
|
|
91
90
|
@update:modelValue="toggleSelect(item)"
|
|
92
91
|
/>
|
|
@@ -100,6 +99,7 @@
|
|
|
100
99
|
<script lang="ts">
|
|
101
100
|
import { computed } from "vue";
|
|
102
101
|
import { defineComponent, type PropType, ref, watch } from "vue";
|
|
102
|
+
import { ListDirections } from "@dative-gpi/foundation-shared-domain/enums";
|
|
103
103
|
|
|
104
104
|
import { filterItems } from "../../utils";
|
|
105
105
|
|
|
@@ -139,7 +139,7 @@ export default defineComponent({
|
|
|
139
139
|
required: false,
|
|
140
140
|
default: ""
|
|
141
141
|
},
|
|
142
|
-
|
|
142
|
+
disableFilter: {
|
|
143
143
|
type: Boolean,
|
|
144
144
|
required: false,
|
|
145
145
|
default: false
|
|
@@ -150,9 +150,9 @@ export default defineComponent({
|
|
|
150
150
|
default: undefined
|
|
151
151
|
},
|
|
152
152
|
direction: {
|
|
153
|
-
type: String as PropType<
|
|
153
|
+
type: String as PropType<ListDirections | undefined>,
|
|
154
154
|
required: false,
|
|
155
|
-
default:
|
|
155
|
+
default: ListDirections.Column
|
|
156
156
|
},
|
|
157
157
|
loading: {
|
|
158
158
|
type: Boolean,
|
|
@@ -191,7 +191,7 @@ export default defineComponent({
|
|
|
191
191
|
});
|
|
192
192
|
|
|
193
193
|
const onSearch = (value: string) => {
|
|
194
|
-
if(props.
|
|
194
|
+
if(props.disableFilter) {
|
|
195
195
|
emit("update:search", value);
|
|
196
196
|
} else {
|
|
197
197
|
actualSearch.value = value;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
:bottomColor="$props.bottomColor"
|
|
5
5
|
:width="$props.width"
|
|
6
6
|
:modelValue="$props.modelValue"
|
|
7
|
-
:selectable="$props.selectable"
|
|
8
7
|
@update:modelValue="$emit('update:modelValue', $event)"
|
|
9
8
|
v-bind="$attrs"
|
|
10
9
|
>
|
|
@@ -143,11 +142,6 @@ export default defineComponent({
|
|
|
143
142
|
type: Boolean,
|
|
144
143
|
required: false,
|
|
145
144
|
default: false
|
|
146
|
-
},
|
|
147
|
-
selectable: {
|
|
148
|
-
type: Boolean,
|
|
149
|
-
required: false,
|
|
150
|
-
default: false
|
|
151
145
|
}
|
|
152
146
|
},
|
|
153
147
|
emits: ['update:modelValue'],
|
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
|
+
"version": "1.0.186-tile-list-10",
|
|
8
8
|
"description": "",
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"author": "",
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@dative-gpi/foundation-shared-domain": "1.0.186-tile-list-
|
|
17
|
-
"@dative-gpi/foundation-shared-services": "1.0.186-tile-list-
|
|
16
|
+
"@dative-gpi/foundation-shared-domain": "1.0.186-tile-list-10",
|
|
17
|
+
"@dative-gpi/foundation-shared-services": "1.0.186-tile-list-10"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@dative-gpi/bones-ui": "^1.0.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"sass": "1.71.1",
|
|
39
39
|
"sass-loader": "13.3.2"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "f7ac6a36ca4fe74449ac4b30d46ef231bbb0a5c6"
|
|
42
42
|
}
|