@necrolab/dashboard 0.4.32 → 0.4.33
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/package.json
CHANGED
|
@@ -288,11 +288,23 @@ props.filterBuilder.onUpdate(() => {
|
|
|
288
288
|
|
|
289
289
|
<style scoped>
|
|
290
290
|
.filter-card {
|
|
291
|
-
@apply bg-dark-500 border
|
|
291
|
+
@apply bg-dark-500 border-dark-550 relative;
|
|
292
|
+
border: 1px solid rgba(74, 74, 97, 0.3);
|
|
293
|
+
margin-bottom: 8px;
|
|
294
|
+
transition: all 0.15s ease-out;
|
|
292
295
|
}
|
|
293
296
|
|
|
294
|
-
.filter-card:not(
|
|
295
|
-
border-
|
|
297
|
+
.filter-card:hover:not(.expanded-filter) {
|
|
298
|
+
border-color: rgba(74, 74, 97, 0.6);
|
|
299
|
+
background-color: rgba(45, 47, 74, 0.8);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.expanded-filter:hover {
|
|
303
|
+
border-color: rgba(74, 74, 97, 0.8);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.filter-card + .filter-card {
|
|
307
|
+
border-top: 1px solid rgba(74, 74, 97, 0.2);
|
|
296
308
|
}
|
|
297
309
|
|
|
298
310
|
.filter-type-badge {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
</template>
|
|
31
31
|
|
|
32
32
|
<script setup>
|
|
33
|
-
import { ref, computed } from "vue";
|
|
33
|
+
import { ref, computed, watch } from "vue";
|
|
34
34
|
import { DownIcon, CheckmarkIcon } from "@/components/icons";
|
|
35
35
|
import { useUIStore } from "@/stores/ui";
|
|
36
36
|
const ui = useUIStore();
|
|
@@ -47,6 +47,11 @@ const props = defineProps({
|
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
const currentValue = ref(props.value);
|
|
50
|
+
|
|
51
|
+
// Watch for changes to the value prop and update currentValue
|
|
52
|
+
watch(() => props.value, (newValue) => {
|
|
53
|
+
currentValue.value = newValue;
|
|
54
|
+
});
|
|
50
55
|
const id = Math.random();
|
|
51
56
|
const opened = computed(() => ui.currentDropdown === id);
|
|
52
57
|
|
|
@@ -356,7 +356,10 @@ const hasWildcardFilter = computed(() => {
|
|
|
356
356
|
|
|
357
357
|
const addWildcardFilter = () => {
|
|
358
358
|
if (!hasWildcardFilter.value) {
|
|
359
|
+
// Close any expanded filter first
|
|
360
|
+
filterBuilder.value.setExpandedFilter(null);
|
|
359
361
|
filterBuilder.value.addFilter({ buyAny: true, eventId: filterBuilder.value.currentEventId });
|
|
362
|
+
filterBuilder.value.updateCss();
|
|
360
363
|
}
|
|
361
364
|
};
|
|
362
365
|
|
|
@@ -636,7 +639,8 @@ watch(renderSeats, async () => {
|
|
|
636
639
|
|
|
637
640
|
/* Enhanced table and filter styling */
|
|
638
641
|
.filters-container {
|
|
639
|
-
@apply space-y-
|
|
642
|
+
@apply space-y-0;
|
|
643
|
+
padding: 4px;
|
|
640
644
|
}
|
|
641
645
|
|
|
642
646
|
/* Dragging states for better UX */
|