feat: establish shared color channel and text input protocols

This commit is contained in:
maoyingjie
2026-10-25 14:20:12 +08:00
parent 6b8501456d
commit a042f5c44c
19 changed files with 1389 additions and 3 deletions
+6 -1
View File
@@ -1,5 +1,9 @@
<script setup lang="ts">
import { ref } from "vue";
import ColorInputFoundationLab from "./ColorInputFoundationLab.vue";
const colorInputFoundation =
typeof window !== "undefined" &&
new URLSearchParams(window.location.search).has("color-input-foundation");
import ColorFoundationLab from "./ColorFoundationLab.vue";
const colorFoundation =
typeof window !== "undefined" &&
@@ -39,7 +43,8 @@ function save() {
}
</script>
<template>
<ColorFoundationLab v-if="colorFoundation" />
<ColorInputFoundationLab v-if="colorInputFoundation" />
<ColorFoundationLab v-else-if="colorFoundation" />
<RangeCalendarFoundationLab v-else-if="rangeFoundation" />
<SelectLifecycle v-else-if="selectLifecycle" />
<ScrollTabsLab v-else-if="scrollTabsLab" />