ionic.ts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. import {
  2. IonPage,
  3. IonHeader,
  4. IonToolbar,
  5. IonTitle,
  6. IonContent,
  7. IonInput,
  8. IonButton,
  9. IonButtons
  10. ,
  11. IonTabs
  12. ,
  13. IonLabel
  14. ,
  15. IonTabBar
  16. ,
  17. IonTabButton
  18. ,
  19. IonRouterOutlet
  20. ,
  21. IonSegment
  22. ,
  23. IonSegmentButton,
  24. IonFab,
  25. IonFabButton
  26. ,
  27. IonSelect,
  28. IonItemSliding,
  29. IonItemDivider,
  30. IonFooter,
  31. IonLoading,
  32. IonListHeader
  33. ,
  34. IonSelectOption,
  35. IonItem,
  36. IonList,
  37. IonIcon,
  38. IonImg,
  39. IonRadio,
  40. IonGrid,
  41. IonRow,
  42. IonCol,
  43. IonCheckbox,
  44. IonBackButton,
  45. IonDatetime,
  46. IonDatetimeButton,
  47. IonItemOptions,
  48. IonItemOption,
  49. IonText,
  50. IonTextarea,
  51. IonInfiniteScroll,
  52. IonInfiniteScrollContent,
  53. IonModal
  54. } from '@ionic/vue';
  55. import type {App} from 'vue';
  56. import BFileList from "@/components/fileList.vue"
  57. import BApproveList from "@/components/ApproveList.vue";
  58. import Approve from "@/components/Approve.vue"
  59. export function setupIonic(app: App<Element>) {
  60. app.component("IonButton", IonButton)
  61. .component("IonButtons", IonButtons)
  62. .component("IonPage", IonPage)
  63. .component("IonHeader", IonHeader)
  64. .component("IonToolbar", IonToolbar)
  65. .component("IonTitle", IonTitle)
  66. .component("IonContent", IonContent)
  67. .component("IonInput", IonInput)
  68. .component("IonTabs", IonTabs)
  69. .component("IonLabel", IonLabel)
  70. .component("IonTabBar", IonTabBar)
  71. .component("IonTabButton", IonTabButton)
  72. .component("IonRouterOutlet", IonRouterOutlet)
  73. .component("IonSegment", IonSegment)
  74. .component("IonSegmentButton", IonSegmentButton)
  75. .component("IonSelect", IonSelect)
  76. .component("IonSelectOption", IonSelectOption)
  77. .component("IonItem", IonItem)
  78. .component("IonList", IonList)
  79. .component("IonIcon", IonIcon)
  80. .component("IonImg", IonImg)
  81. .component("IonRadio", IonRadio)
  82. .component("IonGrid", IonGrid)
  83. .component("IonRow", IonRow)
  84. .component("IonCol", IonCol)
  85. .component("IonCheckbox", IonCheckbox)
  86. .component("IonBackButton", IonBackButton)
  87. .component("IonDatetime", IonDatetime)
  88. .component("IonDatetimeButton", IonDatetimeButton)
  89. .component("IonInfiniteScroll", IonInfiniteScroll)
  90. .component("IonInfiniteScrollContent", IonInfiniteScrollContent)
  91. .component("IonModal", IonModal)
  92. .component("IonText", IonText)
  93. .component("IonTextarea", IonTextarea)
  94. .component("IonItemSliding", IonItemSliding)
  95. .component("IonItemDivider", IonItemDivider)
  96. .component("IonFooter", IonFooter)
  97. .component("IonLoading", IonLoading)
  98. .component("IonListHeader", IonListHeader)
  99. .component("IonFab", IonFab)
  100. .component("IonFabButton", IonFabButton)
  101. .component("IonItemOptions", IonItemOptions)
  102. .component("IonItemOption", IonItemOption)
  103. .component(IonText.name, IonText)
  104. .component(IonTextarea.name, IonTextarea)
  105. .component('BFileList', BFileList)
  106. .component('BApproveList', BApproveList)
  107. .component('Approve', Approve);
  108. }