2022-10-30 01:27:46 +00:00
|
|
|
<template>
|
2023-09-22 19:02:51 +00:00
|
|
|
<SVGRect
|
2023-11-05 23:51:16 +00:00
|
|
|
variant="primary"
|
|
|
|
|
:visible="store.is_touch_device || force_visible"
|
2023-09-22 19:02:51 +00:00
|
|
|
:rectangle="door.position"
|
|
|
|
|
>
|
2023-11-24 11:34:18 +00:00
|
|
|
<div
|
|
|
|
|
class="has-text-danger"
|
|
|
|
|
style="text-shadow: 0 0 10px white, 0 0 20px white"
|
|
|
|
|
>
|
|
|
|
|
{{ door.day }}
|
|
|
|
|
</div>
|
2023-09-22 19:02:51 +00:00
|
|
|
</SVGRect>
|
2022-10-30 01:27:46 +00:00
|
|
|
</template>
|
|
|
|
|
|
2025-11-30 20:14:21 +00:00
|
|
|
<script setup lang="ts">
|
2025-12-07 03:28:00 +00:00
|
|
|
import { VueDoor } from "@/lib/rects/door";
|
2024-08-23 16:38:04 +00:00
|
|
|
import { advent22Store } from "@/lib/store";
|
2023-09-07 00:41:38 +00:00
|
|
|
|
2023-09-07 02:08:56 +00:00
|
|
|
import SVGRect from "./SVGRect.vue";
|
2022-10-30 01:27:46 +00:00
|
|
|
|
2025-11-30 20:14:21 +00:00
|
|
|
const store = advent22Store();
|
2023-11-04 01:31:49 +00:00
|
|
|
|
2025-11-30 20:14:21 +00:00
|
|
|
withDefaults(
|
|
|
|
|
defineProps<{
|
2025-12-07 03:28:00 +00:00
|
|
|
door: VueDoor;
|
|
|
|
|
force_visible?: boolean;
|
2025-11-30 20:14:21 +00:00
|
|
|
}>(),
|
|
|
|
|
{
|
|
|
|
|
force_visible: false,
|
|
|
|
|
},
|
|
|
|
|
);
|
2022-10-30 01:27:46 +00:00
|
|
|
</script>
|