|
| 1 | +/** |
| 2 | + * Typescript support for @@chakra-ui/vue-next1.0.0-alpha.5 auto-imported |
| 3 | + * components using `vite-plugin-components` |
| 4 | + * |
| 5 | + * @see: https://github.com/antfu/vite-plugin-components#typescript |
| 6 | + * |
| 7 | + * This is a generated file. Do not edit it's contents. |
| 8 | + * |
| 9 | + * This file was generated on 2021-07-06T07:42:41.009Z |
| 10 | + */ |
| 11 | + |
| 12 | +import { ChakraProps } from '@chakra-ui/vue-system' |
| 13 | +import { VNodeChild, HTMLAttributes } from 'vue' |
| 14 | + |
| 15 | +export type JsxNode = VNodeChild | JSX.Element |
| 16 | + |
| 17 | +export interface SlotDirective { |
| 18 | + [name: string]: () => JsxNode |
| 19 | +} |
| 20 | + |
| 21 | +type JsxComponentCustomProps = { |
| 22 | + vModel?: unknown |
| 23 | + vModels?: unknown[] |
| 24 | + vCustom?: unknown[] |
| 25 | + vShow?: boolean |
| 26 | + vHtml?: JsxNode |
| 27 | + vSlots?: SlotDirective |
| 28 | + 'v-model'?: unknown |
| 29 | + 'v-models'?: unknown[] |
| 30 | + 'v-custom'?: unknown[] |
| 31 | + 'v-show'?: boolean |
| 32 | + 'v-html'?: JsxNode |
| 33 | + 'v-slots'?: SlotDirective |
| 34 | +} & Omit<HTMLAttributes, 'innerHTML'> & { |
| 35 | + innerHTML?: JsxNode |
| 36 | + } |
| 37 | + |
| 38 | +declare module 'vue' { |
| 39 | + /* Global component types for Volar auto-complete */ |
| 40 | + export interface GlobalComponents { |
| 41 | + CAlert: typeof import('@chakra-ui/vue-next')['CAlert'] |
| 42 | + CAlertTitle: typeof import('@chakra-ui/vue-next')['CAlertTitle'] |
| 43 | + CAlertDescription: typeof import('@chakra-ui/vue-next')['CAlertDescription'] |
| 44 | + CAlertIcon: typeof import('@chakra-ui/vue-next')['CAlertIcon'] |
| 45 | + CButton: typeof import('@chakra-ui/vue-next')['CButton'] |
| 46 | + CButtonGroup: typeof import('@chakra-ui/vue-next')['CButtonGroup'] |
| 47 | + CIconButton: typeof import('@chakra-ui/vue-next')['CIconButton'] |
| 48 | + CFocusLock: typeof import('@chakra-ui/vue-next')['CFocusLock'] |
| 49 | + CAspectRatio: typeof import('@chakra-ui/vue-next')['CAspectRatio'] |
| 50 | + CBadge: typeof import('@chakra-ui/vue-next')['CBadge'] |
| 51 | + CBox: typeof import('@chakra-ui/vue-next')['CBox'] |
| 52 | + CSquare: typeof import('@chakra-ui/vue-next')['CSquare'] |
| 53 | + CCircle: typeof import('@chakra-ui/vue-next')['CCircle'] |
| 54 | + CCenter: typeof import('@chakra-ui/vue-next')['CCenter'] |
| 55 | + CContainer: typeof import('@chakra-ui/vue-next')['CContainer'] |
| 56 | + CDivider: typeof import('@chakra-ui/vue-next')['CDivider'] |
| 57 | + CGrid: typeof import('@chakra-ui/vue-next')['CGrid'] |
| 58 | + CGridItem: typeof import('@chakra-ui/vue-next')['CGridItem'] |
| 59 | + CHeading: typeof import('@chakra-ui/vue-next')['CHeading'] |
| 60 | + CLink: typeof import('@chakra-ui/vue-next')['CLink'] |
| 61 | + CLinkOverlay: typeof import('@chakra-ui/vue-next')['CLinkOverlay'] |
| 62 | + CLinkBox: typeof import('@chakra-ui/vue-next')['CLinkBox'] |
| 63 | + CList: typeof import('@chakra-ui/vue-next')['CList'] |
| 64 | + COrderedList: typeof import('@chakra-ui/vue-next')['COrderedList'] |
| 65 | + CUnorderedList: typeof import('@chakra-ui/vue-next')['CUnorderedList'] |
| 66 | + CListItem: typeof import('@chakra-ui/vue-next')['CListItem'] |
| 67 | + CListIcon: typeof import('@chakra-ui/vue-next')['CListIcon'] |
| 68 | + CKbd: typeof import('@chakra-ui/vue-next')['CKbd'] |
| 69 | + CSimpleGrid: typeof import('@chakra-ui/vue-next')['CSimpleGrid'] |
| 70 | + CSpacer: typeof import('@chakra-ui/vue-next')['CSpacer'] |
| 71 | + CStackDivider: typeof import('@chakra-ui/vue-next')['CStackDivider'] |
| 72 | + CStackItem: typeof import('@chakra-ui/vue-next')['CStackItem'] |
| 73 | + CStack: typeof import('@chakra-ui/vue-next')['CStack'] |
| 74 | + CHStack: typeof import('@chakra-ui/vue-next')['CHStack'] |
| 75 | + CVStack: typeof import('@chakra-ui/vue-next')['CVStack'] |
| 76 | + CText: typeof import('@chakra-ui/vue-next')['CText'] |
| 77 | + CModal: typeof import('@chakra-ui/vue-next')['CModal'] |
| 78 | + CModalContent: typeof import('@chakra-ui/vue-next')['CModalContent'] |
| 79 | + CModalOverlay: typeof import('@chakra-ui/vue-next')['CModalOverlay'] |
| 80 | + CModalHeader: typeof import('@chakra-ui/vue-next')['CModalHeader'] |
| 81 | + CModalBody: typeof import('@chakra-ui/vue-next')['CModalBody'] |
| 82 | + CModalFooter: typeof import('@chakra-ui/vue-next')['CModalFooter'] |
| 83 | + CModalCloseButton: typeof import('@chakra-ui/vue-next')['CModalCloseButton'] |
| 84 | + CDrawer: typeof import('@chakra-ui/vue-next')['CDrawer'] |
| 85 | + CDrawerContent: typeof import('@chakra-ui/vue-next')['CDrawerContent'] |
| 86 | + CDrawerBody: typeof import('@chakra-ui/vue-next')['CDrawerBody'] |
| 87 | + CDrawerCloseButton: typeof import('@chakra-ui/vue-next')['CDrawerCloseButton'] |
| 88 | + CDrawerFooter: typeof import('@chakra-ui/vue-next')['CDrawerFooter'] |
| 89 | + CDrawerHeader: typeof import('@chakra-ui/vue-next')['CDrawerHeader'] |
| 90 | + CDrawerOverlay: typeof import('@chakra-ui/vue-next')['CDrawerOverlay'] |
| 91 | + CAlertDialog: typeof import('@chakra-ui/vue-next')['CAlertDialog'] |
| 92 | + CAlertDialogContent: typeof import('@chakra-ui/vue-next')['CAlertDialogContent'] |
| 93 | + CAlertDialogBody: typeof import('@chakra-ui/vue-next')['CAlertDialogBody'] |
| 94 | + CAlertDialogCloseButton: typeof import('@chakra-ui/vue-next')['CAlertDialogCloseButton'] |
| 95 | + CAlertDialogFooter: typeof import('@chakra-ui/vue-next')['CAlertDialogFooter'] |
| 96 | + CAlertDialogHeader: typeof import('@chakra-ui/vue-next')['CAlertDialogHeader'] |
| 97 | + CAlertDialogOverlay: typeof import('@chakra-ui/vue-next')['CAlertDialogOverlay'] |
| 98 | + CMotion: typeof import('@chakra-ui/vue-next')['CMotion'] |
| 99 | + CAnimatePresence: typeof import('@chakra-ui/vue-next')['CAnimatePresence'] |
| 100 | + CPortal: typeof import('@chakra-ui/vue-next')['CPortal'] |
| 101 | + CScrollLock: typeof import('@chakra-ui/vue-next')['CScrollLock'] |
| 102 | + CVisuallyHidden: typeof import('@chakra-ui/vue-next')['CVisuallyHidden'] |
| 103 | + CVisuallyHiddenInput: typeof import('@chakra-ui/vue-next')['CVisuallyHiddenInput'] |
| 104 | + 'chakra.a': typeof import('@chakra-ui/vue-next')['CBox'] |
| 105 | + 'chakra.b': typeof import('@chakra-ui/vue-next')['CBox'] |
| 106 | + 'chakra.article': typeof import('@chakra-ui/vue-next')['CBox'] |
| 107 | + 'chakra.aside': typeof import('@chakra-ui/vue-next')['CBox'] |
| 108 | + 'chakra.blockquote': typeof import('@chakra-ui/vue-next')['CBox'] |
| 109 | + 'chakra.button': typeof import('@chakra-ui/vue-next')['CBox'] |
| 110 | + 'chakra.caption': typeof import('@chakra-ui/vue-next')['CBox'] |
| 111 | + 'chakra.cite': typeof import('@chakra-ui/vue-next')['CBox'] |
| 112 | + 'chakra.circle': typeof import('@chakra-ui/vue-next')['CBox'] |
| 113 | + 'chakra.code': typeof import('@chakra-ui/vue-next')['CBox'] |
| 114 | + 'chakra.dd': typeof import('@chakra-ui/vue-next')['CBox'] |
| 115 | + 'chakra.div': typeof import('@chakra-ui/vue-next')['CBox'] |
| 116 | + 'chakra.dl': typeof import('@chakra-ui/vue-next')['CBox'] |
| 117 | + 'chakra.dt': typeof import('@chakra-ui/vue-next')['CBox'] |
| 118 | + 'chakra.fieldset': typeof import('@chakra-ui/vue-next')['CBox'] |
| 119 | + 'chakra.figcaption': typeof import('@chakra-ui/vue-next')['CBox'] |
| 120 | + 'chakra.figure': typeof import('@chakra-ui/vue-next')['CBox'] |
| 121 | + 'chakra.footer': typeof import('@chakra-ui/vue-next')['CBox'] |
| 122 | + 'chakra.form': typeof import('@chakra-ui/vue-next')['CBox'] |
| 123 | + 'chakra.h1': typeof import('@chakra-ui/vue-next')['CBox'] |
| 124 | + 'chakra.h2': typeof import('@chakra-ui/vue-next')['CBox'] |
| 125 | + 'chakra.h3': typeof import('@chakra-ui/vue-next')['CBox'] |
| 126 | + 'chakra.h4': typeof import('@chakra-ui/vue-next')['CBox'] |
| 127 | + 'chakra.h5': typeof import('@chakra-ui/vue-next')['CBox'] |
| 128 | + 'chakra.h6': typeof import('@chakra-ui/vue-next')['CBox'] |
| 129 | + 'chakra.header': typeof import('@chakra-ui/vue-next')['CBox'] |
| 130 | + 'chakra.hr': typeof import('@chakra-ui/vue-next')['CBox'] |
| 131 | + 'chakra.iframe': typeof import('@chakra-ui/vue-next')['CBox'] |
| 132 | + 'chakra.img': typeof import('@chakra-ui/vue-next')['CBox'] |
| 133 | + 'chakra.input': typeof import('@chakra-ui/vue-next')['CBox'] |
| 134 | + 'chakra.kbd': typeof import('@chakra-ui/vue-next')['CBox'] |
| 135 | + 'chakra.label': typeof import('@chakra-ui/vue-next')['CBox'] |
| 136 | + 'chakra.li': typeof import('@chakra-ui/vue-next')['CBox'] |
| 137 | + 'chakra.mark': typeof import('@chakra-ui/vue-next')['CBox'] |
| 138 | + 'chakra.main': typeof import('@chakra-ui/vue-next')['CBox'] |
| 139 | + 'chakra.nav': typeof import('@chakra-ui/vue-next')['CBox'] |
| 140 | + 'chakra.ol': typeof import('@chakra-ui/vue-next')['CBox'] |
| 141 | + 'chakra.p': typeof import('@chakra-ui/vue-next')['CBox'] |
| 142 | + 'chakra.path': typeof import('@chakra-ui/vue-next')['CBox'] |
| 143 | + 'chakra.pre': typeof import('@chakra-ui/vue-next')['CBox'] |
| 144 | + 'chakra.q': typeof import('@chakra-ui/vue-next')['CBox'] |
| 145 | + 'chakra.rect': typeof import('@chakra-ui/vue-next')['CBox'] |
| 146 | + 'chakra.s': typeof import('@chakra-ui/vue-next')['CBox'] |
| 147 | + 'chakra.svg': typeof import('@chakra-ui/vue-next')['CBox'] |
| 148 | + 'chakra.section': typeof import('@chakra-ui/vue-next')['CBox'] |
| 149 | + 'chakra.select': typeof import('@chakra-ui/vue-next')['CBox'] |
| 150 | + 'chakra.strong': typeof import('@chakra-ui/vue-next')['CBox'] |
| 151 | + 'chakra.small': typeof import('@chakra-ui/vue-next')['CBox'] |
| 152 | + 'chakra.span': typeof import('@chakra-ui/vue-next')['CBox'] |
| 153 | + 'chakra.sub': typeof import('@chakra-ui/vue-next')['CBox'] |
| 154 | + 'chakra.sup': typeof import('@chakra-ui/vue-next')['CBox'] |
| 155 | + 'chakra.table': typeof import('@chakra-ui/vue-next')['CBox'] |
| 156 | + 'chakra.tbody': typeof import('@chakra-ui/vue-next')['CBox'] |
| 157 | + 'chakra.td': typeof import('@chakra-ui/vue-next')['CBox'] |
| 158 | + 'chakra.textarea': typeof import('@chakra-ui/vue-next')['CBox'] |
| 159 | + 'chakra.tfoot': typeof import('@chakra-ui/vue-next')['CBox'] |
| 160 | + 'chakra.th': typeof import('@chakra-ui/vue-next')['CBox'] |
| 161 | + 'chakra.thead': typeof import('@chakra-ui/vue-next')['CBox'] |
| 162 | + 'chakra.tr': typeof import('@chakra-ui/vue-next')['CBox'] |
| 163 | + 'chakra.ul': typeof import('@chakra-ui/vue-next')['CBox'] |
| 164 | + } |
| 165 | + |
| 166 | + /* Component custom props types for JSX and TSX auto complete */ |
| 167 | + export interface ComponentCustomProps |
| 168 | + extends JsxComponentCustomProps, |
| 169 | + ChakraProps { |
| 170 | + onClick?: () => any |
| 171 | + vSlots?: { |
| 172 | + [eleName: string]: JSX.Element |
| 173 | + } |
| 174 | + } |
| 175 | +} |
0 commit comments