import { IonPage, IonHeader, IonToolbar, IonTitle, IonContent, IonInput, IonButton, IonButtons , IonTabs , IonLabel , IonTabBar , IonTabButton , IonRouterOutlet , IonSegment , IonSegmentButton, IonFab, IonFabButton , IonSelect, IonItemSliding, IonItemDivider, IonFooter, IonLoading, IonListHeader , IonSelectOption, IonItem, IonList, IonIcon, IonImg, IonRadio, IonGrid, IonRow, IonCol, IonCheckbox, IonBackButton, IonDatetime, IonDatetimeButton, IonItemOptions, IonItemOption, IonText, IonTextarea, IonInfiniteScroll, IonInfiniteScrollContent, IonModal } from '@ionic/vue'; import type {App} from 'vue'; import BFileList from "@/components/fileList.vue" import BApproveList from "@/components/ApproveList.vue"; import Approve from "@/components/Approve.vue" export function setupIonic(app: App) { app.component("IonButton", IonButton) .component("IonButtons", IonButtons) .component("IonPage", IonPage) .component("IonHeader", IonHeader) .component("IonToolbar", IonToolbar) .component("IonTitle", IonTitle) .component("IonContent", IonContent) .component("IonInput", IonInput) .component("IonTabs", IonTabs) .component("IonLabel", IonLabel) .component("IonTabBar", IonTabBar) .component("IonTabButton", IonTabButton) .component("IonRouterOutlet", IonRouterOutlet) .component("IonSegment", IonSegment) .component("IonSegmentButton", IonSegmentButton) .component("IonSelect", IonSelect) .component("IonSelectOption", IonSelectOption) .component("IonItem", IonItem) .component("IonList", IonList) .component("IonIcon", IonIcon) .component("IonImg", IonImg) .component("IonRadio", IonRadio) .component("IonGrid", IonGrid) .component("IonRow", IonRow) .component("IonCol", IonCol) .component("IonCheckbox", IonCheckbox) .component("IonBackButton", IonBackButton) .component("IonDatetime", IonDatetime) .component("IonDatetimeButton", IonDatetimeButton) .component("IonInfiniteScroll", IonInfiniteScroll) .component("IonInfiniteScrollContent", IonInfiniteScrollContent) .component("IonModal", IonModal) .component("IonText", IonText) .component("IonTextarea", IonTextarea) .component("IonItemSliding", IonItemSliding) .component("IonItemDivider", IonItemDivider) .component("IonFooter", IonFooter) .component("IonLoading", IonLoading) .component("IonListHeader", IonListHeader) .component("IonFab", IonFab) .component("IonFabButton", IonFabButton) .component("IonItemOptions", IonItemOptions) .component("IonItemOption", IonItemOption) .component(IonText.name, IonText) .component(IonTextarea.name, IonTextarea) .component('BFileList', BFileList) .component('BApproveList', BApproveList) .component('Approve', Approve); }