chore: add combolist component to the test application
This commit is contained in:
parent
87189e4eeb
commit
e781133016
|
@ -1,6 +1,7 @@
|
||||||
import type { App } from 'vue';
|
import type { App } from 'vue';
|
||||||
import FComboList from './src/combo-list.component';
|
import FComboList from './src/combo-list.component';
|
||||||
|
|
||||||
|
export * from './src/types';
|
||||||
export * from './src/combo-list.props';
|
export * from './src/combo-list.props';
|
||||||
|
|
||||||
export { FComboList };
|
export { FComboList };
|
||||||
|
|
|
@ -1,7 +1,14 @@
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent, SetupContext } from 'vue';
|
||||||
import { comboListProps } from './combo-list.props';
|
import { comboListProps, ComboListProps } from './combo-list.props';
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'FComboList',
|
name: 'FComboList',
|
||||||
props: comboListProps,
|
props: comboListProps,
|
||||||
emits: [],
|
emits: [],
|
||||||
|
setup(props: ComboListProps, context: SetupContext) {
|
||||||
|
return () => {
|
||||||
|
return (
|
||||||
|
<div id={props.id}>combo-list</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
}
|
||||||
});
|
});
|
|
@ -12,6 +12,7 @@ import RadioGroup from './components/radio-group.vue';
|
||||||
import Section from './components/section.vue';
|
import Section from './components/section.vue';
|
||||||
import Notify from './components/notify.vue';
|
import Notify from './components/notify.vue';
|
||||||
import Accordion from './components/accordion.vue';
|
import Accordion from './components/accordion.vue';
|
||||||
|
import ComboList from './components/combo-list.vue';
|
||||||
|
|
||||||
const canEdit = ref(true);
|
const canEdit = ref(true);
|
||||||
const disable = ref(false);
|
const disable = ref(false);
|
||||||
|
@ -44,6 +45,7 @@ const canAutoComplete = ref(false);
|
||||||
<Notify></Notify>
|
<Notify></Notify>
|
||||||
<Accordion></Accordion>
|
<Accordion></Accordion>
|
||||||
<Tabs />
|
<Tabs />
|
||||||
|
<ComboList />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import ComboList from '../../components/combo-list/src/combo-list.component';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<ComboList/>
|
||||||
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue