feat: establish shared calendar range selection foundation
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
import RangeCalendarFoundationLab from "./RangeCalendarFoundationLab.vue";
|
||||
const rangeFoundation =
|
||||
typeof window !== "undefined" &&
|
||||
new URLSearchParams(window.location.search).has("range-calendar-foundation");
|
||||
import SelectLifecycle from "../../../packages/vue/tests/fixtures/SelectLifecycle.vue";
|
||||
const selectLifecycle =
|
||||
typeof window !== "undefined" &&
|
||||
@@ -31,7 +35,8 @@ function save() {
|
||||
}
|
||||
</script>
|
||||
<template>
|
||||
<SelectLifecycle v-if="selectLifecycle" />
|
||||
<RangeCalendarFoundationLab v-if="rangeFoundation" />
|
||||
<SelectLifecycle v-else-if="selectLifecycle" />
|
||||
<ScrollTabsLab v-else-if="scrollTabsLab" />
|
||||
<OverlayAnimationLab v-else-if="animationLab" />
|
||||
<OverlayComponentsLab v-else-if="componentsLab" />
|
||||
|
||||
Reference in New Issue
Block a user