feat: 添加 Tabs 和 TabPane 组件,支持动态标签页管理
This commit is contained in:
58
components.d.ts
vendored
58
components.d.ts
vendored
@@ -12,46 +12,40 @@ export {}
|
||||
/* prettier-ignore */
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Avatar: typeof import('./src/components/ui/avatar/index.vue')['default']
|
||||
Collapse: typeof import('./src/components/ui/collapse/index.vue')['default']
|
||||
Datetime: typeof import('./src/components/ui/datetime/index.vue')['default']
|
||||
Default: typeof import('./src/components/layout/default.vue')['default']
|
||||
Divider: typeof import('./src/components/ui/divider/index.vue')['default']
|
||||
IIcBaselineDataSaverOff: typeof import('~icons/ic/baseline-data-saver-off')['default']
|
||||
IIcBaselineDownloading: typeof import('~icons/ic/baseline-downloading')['default']
|
||||
IIcRoundArrowForwardIos: typeof import('~icons/ic/round-arrow-forward-ios')['default']
|
||||
Input: typeof import('./src/components/ui/input/index.vue')['default']
|
||||
InputLabel: typeof import('./src/components/ui/input-label/index.vue')['default']
|
||||
IonApp: typeof import('@ionic/vue')['IonApp']
|
||||
IonAvatar: typeof import('@ionic/vue')['IonAvatar']
|
||||
IonBackButton: typeof import('@ionic/vue')['IonBackButton']
|
||||
IonBreadcrumb: typeof import('@ionic/vue')['IonBreadcrumb']
|
||||
IonBreadcrumbs: typeof import('@ionic/vue')['IonBreadcrumbs']
|
||||
IonButton: typeof import('@ionic/vue')['IonButton']
|
||||
IonButtons: typeof import('@ionic/vue')['IonButtons']
|
||||
IonContent: typeof import('@ionic/vue')['IonContent']
|
||||
IonDatetime: typeof import('@ionic/vue')['IonDatetime']
|
||||
IonDatetimeButton: typeof import('@ionic/vue')['IonDatetimeButton']
|
||||
IonHeader: typeof import('@ionic/vue')['IonHeader']
|
||||
IonIcon: typeof import('@ionic/vue')['IonIcon']
|
||||
IonInputOtp: typeof import('@ionic/vue')['IonInputOtp']
|
||||
IonItem: typeof import('@ionic/vue')['IonItem']
|
||||
IonLabel: typeof import('@ionic/vue')['IonLabel']
|
||||
IonList: typeof import('@ionic/vue')['IonList']
|
||||
IonModal: typeof import('@ionic/vue')['IonModal']
|
||||
IonNote: typeof import('@ionic/vue')['IonNote']
|
||||
IonPage: typeof import('@ionic/vue')['IonPage']
|
||||
IonRadio: typeof import('@ionic/vue')['IonRadio']
|
||||
IonRadioGroup: typeof import('@ionic/vue')['IonRadioGroup']
|
||||
IonRippleEffect: typeof import('@ionic/vue')['IonRippleEffect']
|
||||
IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet']
|
||||
IonSearchbar: typeof import('@ionic/vue')['IonSearchbar']
|
||||
IonSegment: typeof import('@ionic/vue')['IonSegment']
|
||||
IonSegmentButton: typeof import('@ionic/vue')['IonSegmentButton']
|
||||
IonSelect: typeof import('@ionic/vue')['IonSelect']
|
||||
IonSelectOption: typeof import('@ionic/vue')['IonSelectOption']
|
||||
IonTabBar: typeof import('@ionic/vue')['IonTabBar']
|
||||
IonTabButton: typeof import('@ionic/vue')['IonTabButton']
|
||||
IonTabs: typeof import('@ionic/vue')['IonTabs']
|
||||
IonText: typeof import('@ionic/vue')['IonText']
|
||||
IonTitle: typeof import('@ionic/vue')['IonTitle']
|
||||
IonToolbar: typeof import('@ionic/vue')['IonToolbar']
|
||||
LayoutDefault: typeof import('./src/components/layout/default.vue')['default']
|
||||
Result: typeof import('./src/components/ui/result/index.vue')['default']
|
||||
RouterLink: typeof import('vue-router')['RouterLink']
|
||||
RouterView: typeof import('vue-router')['RouterView']
|
||||
TabPane: typeof import('./src/components/ui/tabs/tab-pane.vue')['default']
|
||||
Tabs: typeof import('./src/components/ui/tabs/index.vue')['default']
|
||||
UiAvatar: typeof import('./src/components/ui/avatar/index.vue')['default']
|
||||
UiCollapse: typeof import('./src/components/ui/collapse/index.vue')['default']
|
||||
UiDatetime: typeof import('./src/components/ui/datetime/index.vue')['default']
|
||||
@@ -59,51 +53,48 @@ declare module 'vue' {
|
||||
UiInput: typeof import('./src/components/ui/input/index.vue')['default']
|
||||
UiInputLabel: typeof import('./src/components/ui/input-label/index.vue')['default']
|
||||
UiResult: typeof import('./src/components/ui/result/index.vue')['default']
|
||||
UiTabPane: typeof import('./src/components/ui/tab-pane/index.vue')['default']
|
||||
UiTabs: typeof import('./src/components/ui/tabs/index.vue')['default']
|
||||
UiTabsTabPane: typeof import('./src/components/ui/tabs/tab-pane.vue')['default']
|
||||
}
|
||||
}
|
||||
|
||||
// For TSX support
|
||||
declare global {
|
||||
const Avatar: typeof import('./src/components/ui/avatar/index.vue')['default']
|
||||
const Collapse: typeof import('./src/components/ui/collapse/index.vue')['default']
|
||||
const Datetime: typeof import('./src/components/ui/datetime/index.vue')['default']
|
||||
const Default: typeof import('./src/components/layout/default.vue')['default']
|
||||
const Divider: typeof import('./src/components/ui/divider/index.vue')['default']
|
||||
const IIcBaselineDataSaverOff: typeof import('~icons/ic/baseline-data-saver-off')['default']
|
||||
const IIcBaselineDownloading: typeof import('~icons/ic/baseline-downloading')['default']
|
||||
const IIcRoundArrowForwardIos: typeof import('~icons/ic/round-arrow-forward-ios')['default']
|
||||
const Input: typeof import('./src/components/ui/input/index.vue')['default']
|
||||
const InputLabel: typeof import('./src/components/ui/input-label/index.vue')['default']
|
||||
const IonApp: typeof import('@ionic/vue')['IonApp']
|
||||
const IonAvatar: typeof import('@ionic/vue')['IonAvatar']
|
||||
const IonBackButton: typeof import('@ionic/vue')['IonBackButton']
|
||||
const IonBreadcrumb: typeof import('@ionic/vue')['IonBreadcrumb']
|
||||
const IonBreadcrumbs: typeof import('@ionic/vue')['IonBreadcrumbs']
|
||||
const IonButton: typeof import('@ionic/vue')['IonButton']
|
||||
const IonButtons: typeof import('@ionic/vue')['IonButtons']
|
||||
const IonContent: typeof import('@ionic/vue')['IonContent']
|
||||
const IonDatetime: typeof import('@ionic/vue')['IonDatetime']
|
||||
const IonDatetimeButton: typeof import('@ionic/vue')['IonDatetimeButton']
|
||||
const IonHeader: typeof import('@ionic/vue')['IonHeader']
|
||||
const IonIcon: typeof import('@ionic/vue')['IonIcon']
|
||||
const IonInputOtp: typeof import('@ionic/vue')['IonInputOtp']
|
||||
const IonItem: typeof import('@ionic/vue')['IonItem']
|
||||
const IonLabel: typeof import('@ionic/vue')['IonLabel']
|
||||
const IonList: typeof import('@ionic/vue')['IonList']
|
||||
const IonModal: typeof import('@ionic/vue')['IonModal']
|
||||
const IonNote: typeof import('@ionic/vue')['IonNote']
|
||||
const IonPage: typeof import('@ionic/vue')['IonPage']
|
||||
const IonRadio: typeof import('@ionic/vue')['IonRadio']
|
||||
const IonRadioGroup: typeof import('@ionic/vue')['IonRadioGroup']
|
||||
const IonRippleEffect: typeof import('@ionic/vue')['IonRippleEffect']
|
||||
const IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet']
|
||||
const IonSearchbar: typeof import('@ionic/vue')['IonSearchbar']
|
||||
const IonSegment: typeof import('@ionic/vue')['IonSegment']
|
||||
const IonSegmentButton: typeof import('@ionic/vue')['IonSegmentButton']
|
||||
const IonSelect: typeof import('@ionic/vue')['IonSelect']
|
||||
const IonSelectOption: typeof import('@ionic/vue')['IonSelectOption']
|
||||
const IonTabBar: typeof import('@ionic/vue')['IonTabBar']
|
||||
const IonTabButton: typeof import('@ionic/vue')['IonTabButton']
|
||||
const IonTabs: typeof import('@ionic/vue')['IonTabs']
|
||||
const IonText: typeof import('@ionic/vue')['IonText']
|
||||
const IonTitle: typeof import('@ionic/vue')['IonTitle']
|
||||
const IonToolbar: typeof import('@ionic/vue')['IonToolbar']
|
||||
const LayoutDefault: typeof import('./src/components/layout/default.vue')['default']
|
||||
const Result: typeof import('./src/components/ui/result/index.vue')['default']
|
||||
const RouterLink: typeof import('vue-router')['RouterLink']
|
||||
const RouterView: typeof import('vue-router')['RouterView']
|
||||
const TabPane: typeof import('./src/components/ui/tabs/tab-pane.vue')['default']
|
||||
const Tabs: typeof import('./src/components/ui/tabs/index.vue')['default']
|
||||
const UiAvatar: typeof import('./src/components/ui/avatar/index.vue')['default']
|
||||
const UiCollapse: typeof import('./src/components/ui/collapse/index.vue')['default']
|
||||
const UiDatetime: typeof import('./src/components/ui/datetime/index.vue')['default']
|
||||
@@ -111,4 +102,7 @@ declare global {
|
||||
const UiInput: typeof import('./src/components/ui/input/index.vue')['default']
|
||||
const UiInputLabel: typeof import('./src/components/ui/input-label/index.vue')['default']
|
||||
const UiResult: typeof import('./src/components/ui/result/index.vue')['default']
|
||||
const UiTabPane: typeof import('./src/components/ui/tab-pane/index.vue')['default']
|
||||
const UiTabs: typeof import('./src/components/ui/tabs/index.vue')['default']
|
||||
const UiTabsTabPane: typeof import('./src/components/ui/tabs/tab-pane.vue')['default']
|
||||
}
|
||||
Reference in New Issue
Block a user