index.d.ts 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. import type { ClActionSheetItem, ClActionSheetOptions, PassThroughProps, Type, ClButtonType, Size, ClListViewItem, ClFilterItemType, ClSelectOption, ClFormLabelPosition, ClFormRule, ClFormValidateError, ClInputType, ClListItem, Justify, ClListViewGroup, ClListViewVirtualItem, ClListViewRefresherStatus, ClConfirmAction, ClConfirmOptions, ClToastOptions, ClPopupDirection, ClQrcodeMode, ClSelectDateShortcut, ClTabsItem, ClTextType, ClUploadItem } from "./types";
  2. import { type UiInstance } from "./hooks";
  3. import { type QrcodeOptions } from "./draw";
  4. import type { ClActionSheetProps, ClActionSheetPassThrough } from "./components/cl-action-sheet/props";
  5. import type { ClAvatarProps, ClAvatarPassThrough } from "./components/cl-avatar/props";
  6. import type { ClBackTopProps } from "./components/cl-back-top/props";
  7. import type { ClBadgeProps, ClBadgePassThrough } from "./components/cl-badge/props";
  8. import type { ClBannerProps, ClBannerPassThrough } from "./components/cl-banner/props";
  9. import type { ClButtonProps, ClButtonPassThrough } from "./components/cl-button/props";
  10. import type { ClCascaderProps, ClCascaderPassThrough } from "./components/cl-cascader/props";
  11. import type { ClCheckboxProps, ClCheckboxPassThrough } from "./components/cl-checkbox/props";
  12. import type { ClColProps, ClColPassThrough } from "./components/cl-col/props";
  13. import type { ClCollapseProps, ClCollapsePassThrough } from "./components/cl-collapse/props";
  14. import type { ClCountdownProps, ClCountdownPassThrough } from "./components/cl-countdown/props";
  15. import type { ClCropperProps, ClCropperPassThrough } from "./components/cl-cropper/props";
  16. import type { ClDraggableProps, ClDraggablePassThrough } from "./components/cl-draggable/props";
  17. import type { ClFilterBarProps } from "./components/cl-filter-bar/props";
  18. import type { ClFilterItemProps, ClFilterItemPassThrough } from "./components/cl-filter-item/props";
  19. import type { ClFloatViewProps } from "./components/cl-float-view/props";
  20. import type { ClFooterProps, ClFooterPassThrough } from "./components/cl-footer/props";
  21. import type { ClFormProps, ClFormPassThrough } from "./components/cl-form/props";
  22. import type { ClFormItemProps, ClFormItemPassThrough } from "./components/cl-form-item/props";
  23. import type { ClIconProps, ClIconPassThrough } from "./components/cl-icon/props";
  24. import type { ClImageProps, ClImagePassThrough } from "./components/cl-image/props";
  25. import type { ClIndexBarProps, ClIndexBarPassThrough } from "./components/cl-index-bar/props";
  26. import type { ClInputProps, ClInputPassThrough } from "./components/cl-input/props";
  27. import type { ClInputNumberProps, ClInputNumberPassThrough, ClInputNumberValuePassThrough, ClInputNumberOpPassThrough } from "./components/cl-input-number/props";
  28. import type { ClInputOtpProps, ClInputOtpPassThrough } from "./components/cl-input-otp/props";
  29. import type { ClKeyboardCarProps, ClKeyboardCarPassThrough } from "./components/cl-keyboard-car/props";
  30. import type { ClKeyboardNumberProps, ClKeyboardNumberPassThrough } from "./components/cl-keyboard-number/props";
  31. import type { ClKeyboardPasswordProps, ClKeyboardPasswordPassThrough } from "./components/cl-keyboard-password/props";
  32. import type { ClListProps, ClListPassThrough } from "./components/cl-list/props";
  33. import type { ClListItemProps, ClListItemPassThrough } from "./components/cl-list-item/props";
  34. import type { ClListViewProps, ClListViewPassThrough } from "./components/cl-list-view/props";
  35. import type { ClLoadingProps, ClLoadingPassThrough } from "./components/cl-loading/props";
  36. import type { ClLoadmoreProps, ClLoadmorePassThrough } from "./components/cl-loadmore/props";
  37. import type { ClNoticebarProps, ClNoticebarPassThrough } from "./components/cl-noticebar/props";
  38. import type { ClPageProps } from "./components/cl-page/props";
  39. import type { ClPageThemeProps } from "./components/cl-page-theme/props";
  40. import type { ClPageUiProps } from "./components/cl-page-ui/props";
  41. import type { ClPaginationProps, ClPaginationPassThrough } from "./components/cl-pagination/props";
  42. import type { ClSelectPickerViewProps } from "./components/cl-select-picker-view/props";
  43. import type { ClPopupProps, ClPopupPassThrough, ClPopupHeaderPassThrough } from "./components/cl-popup/props";
  44. import type { ClProgressProps, ClProgressPassThrough } from "./components/cl-progress/props";
  45. import type { ClProgressCircleProps, ClProgressCirclePassThrough } from "./components/cl-progress-circle/props";
  46. import type { ClQrcodeProps } from "./components/cl-qrcode/props";
  47. import type { ClRadioProps, ClRadioPassThrough } from "./components/cl-radio/props";
  48. import type { ClRateProps, ClRatePassThrough } from "./components/cl-rate/props";
  49. import type { ClRowProps, ClRowPassThrough } from "./components/cl-row/props";
  50. import type { ClSafeAreaProps, ClSafeAreaPassThrough } from "./components/cl-safe-area/props";
  51. import type { ClSelectProps, ClSelectPassThrough } from "./components/cl-select/props";
  52. import type { ClSelectDateProps, ClSelectDatePassThrough } from "./components/cl-select-date/props";
  53. import type { ClSelectTimeProps, ClSelectTimePassThrough } from "./components/cl-select-time/props";
  54. import type { ClSelectTriggerProps, ClSelectTriggerPassThrough } from "./components/cl-select-trigger/props";
  55. import type { ClSignProps, ClSignPassThrough } from "./components/cl-sign/props";
  56. import type { ClSkeletonProps, ClSkeletonPassThrough } from "./components/cl-skeleton/props";
  57. import type { ClSliderProps, ClSliderPassThrough } from "./components/cl-slider/props";
  58. import type { ClStickyProps } from "./components/cl-sticky/props";
  59. import type { ClSwitchProps, ClSwitchPassThrough } from "./components/cl-switch/props";
  60. import type { ClTabsProps, ClTabsPassThrough } from "./components/cl-tabs/props";
  61. import type { ClTagProps, ClTagPassThrough } from "./components/cl-tag/props";
  62. import type { ClTextProps, ClTextPassThrough } from "./components/cl-text/props";
  63. import type { ClTextareaProps, ClTextareaPassThrough } from "./components/cl-textarea/props";
  64. import type { ClTimelineProps, ClTimelinePassThrough } from "./components/cl-timeline/props";
  65. import type { ClTimelineItemProps, ClTimelineItemPassThrough } from "./components/cl-timeline-item/props";
  66. import type { ClToastProps } from "./components/cl-toast/props";
  67. import type { ClTopbarProps, ClTopbarPassThrough } from "./components/cl-topbar/props";
  68. import type { ClUploadProps, ClUploadPassThrough } from "./components/cl-upload/props";
  69. import type { ClWaterfallProps, ClWaterfallPassThrough } from "./components/cl-waterfall/props";
  70. export {};
  71. // 自动生成的组件全局类型声明
  72. declare module "vue" {
  73. export interface GlobalComponents {
  74. "cl-action-sheet": (typeof import('./components/cl-action-sheet/cl-action-sheet.uvue')['default']) & import('vue').DefineComponent<ClActionSheetProps>;
  75. "cl-avatar": (typeof import('./components/cl-avatar/cl-avatar.uvue')['default']) & import('vue').DefineComponent<ClAvatarProps>;
  76. "cl-back-top": (typeof import('./components/cl-back-top/cl-back-top.uvue')['default']) & import('vue').DefineComponent<ClBackTopProps>;
  77. "cl-badge": (typeof import('./components/cl-badge/cl-badge.uvue')['default']) & import('vue').DefineComponent<ClBadgeProps>;
  78. "cl-banner": (typeof import('./components/cl-banner/cl-banner.uvue')['default']) & import('vue').DefineComponent<ClBannerProps>;
  79. "cl-button": (typeof import('./components/cl-button/cl-button.uvue')['default']) & import('vue').DefineComponent<ClButtonProps>;
  80. "cl-cascader": (typeof import('./components/cl-cascader/cl-cascader.uvue')['default']) & import('vue').DefineComponent<ClCascaderProps>;
  81. "cl-checkbox": (typeof import('./components/cl-checkbox/cl-checkbox.uvue')['default']) & import('vue').DefineComponent<ClCheckboxProps>;
  82. "cl-col": (typeof import('./components/cl-col/cl-col.uvue')['default']) & import('vue').DefineComponent<ClColProps>;
  83. "cl-collapse": (typeof import('./components/cl-collapse/cl-collapse.uvue')['default']) & import('vue').DefineComponent<ClCollapseProps>;
  84. "cl-countdown": (typeof import('./components/cl-countdown/cl-countdown.uvue')['default']) & import('vue').DefineComponent<ClCountdownProps>;
  85. "cl-cropper": (typeof import('./components/cl-cropper/cl-cropper.uvue')['default']) & import('vue').DefineComponent<ClCropperProps>;
  86. "cl-draggable": (typeof import('./components/cl-draggable/cl-draggable.uvue')['default']) & import('vue').DefineComponent<ClDraggableProps>;
  87. "cl-filter-bar": (typeof import('./components/cl-filter-bar/cl-filter-bar.uvue')['default']) & import('vue').DefineComponent<ClFilterBarProps>;
  88. "cl-filter-item": (typeof import('./components/cl-filter-item/cl-filter-item.uvue')['default']) & import('vue').DefineComponent<ClFilterItemProps>;
  89. "cl-float-view": (typeof import('./components/cl-float-view/cl-float-view.uvue')['default']) & import('vue').DefineComponent<ClFloatViewProps>;
  90. "cl-footer": (typeof import('./components/cl-footer/cl-footer.uvue')['default']) & import('vue').DefineComponent<ClFooterProps>;
  91. "cl-form": (typeof import('./components/cl-form/cl-form.uvue')['default']) & import('vue').DefineComponent<ClFormProps>;
  92. "cl-form-item": (typeof import('./components/cl-form-item/cl-form-item.uvue')['default']) & import('vue').DefineComponent<ClFormItemProps>;
  93. "cl-icon": (typeof import('./components/cl-icon/cl-icon.uvue')['default']) & import('vue').DefineComponent<ClIconProps>;
  94. "cl-image": (typeof import('./components/cl-image/cl-image.uvue')['default']) & import('vue').DefineComponent<ClImageProps>;
  95. "cl-index-bar": (typeof import('./components/cl-index-bar/cl-index-bar.uvue')['default']) & import('vue').DefineComponent<ClIndexBarProps>;
  96. "cl-input": (typeof import('./components/cl-input/cl-input.uvue')['default']) & import('vue').DefineComponent<ClInputProps>;
  97. "cl-input-number": (typeof import('./components/cl-input-number/cl-input-number.uvue')['default']) & import('vue').DefineComponent<ClInputNumberProps>;
  98. "cl-input-otp": (typeof import('./components/cl-input-otp/cl-input-otp.uvue')['default']) & import('vue').DefineComponent<ClInputOtpProps>;
  99. "cl-keyboard-car": (typeof import('./components/cl-keyboard-car/cl-keyboard-car.uvue')['default']) & import('vue').DefineComponent<ClKeyboardCarProps>;
  100. "cl-keyboard-number": (typeof import('./components/cl-keyboard-number/cl-keyboard-number.uvue')['default']) & import('vue').DefineComponent<ClKeyboardNumberProps>;
  101. "cl-keyboard-password": (typeof import('./components/cl-keyboard-password/cl-keyboard-password.uvue')['default']) & import('vue').DefineComponent<ClKeyboardPasswordProps>;
  102. "cl-list": (typeof import('./components/cl-list/cl-list.uvue')['default']) & import('vue').DefineComponent<ClListProps>;
  103. "cl-list-item": (typeof import('./components/cl-list-item/cl-list-item.uvue')['default']) & import('vue').DefineComponent<ClListItemProps>;
  104. "cl-list-view": (typeof import('./components/cl-list-view/cl-list-view.uvue')['default']) & import('vue').DefineComponent<ClListViewProps>;
  105. "cl-loading": (typeof import('./components/cl-loading/cl-loading.uvue')['default']) & import('vue').DefineComponent<ClLoadingProps>;
  106. "cl-loadmore": (typeof import('./components/cl-loadmore/cl-loadmore.uvue')['default']) & import('vue').DefineComponent<ClLoadmoreProps>;
  107. "cl-noticebar": (typeof import('./components/cl-noticebar/cl-noticebar.uvue')['default']) & import('vue').DefineComponent<ClNoticebarProps>;
  108. "cl-page": (typeof import('./components/cl-page/cl-page.uvue')['default']) & import('vue').DefineComponent<ClPageProps>;
  109. "cl-page-theme": (typeof import('./components/cl-page-theme/cl-page-theme.uvue')['default']) & import('vue').DefineComponent<ClPageThemeProps>;
  110. "cl-page-ui": (typeof import('./components/cl-page-ui/cl-page-ui.uvue')['default']) & import('vue').DefineComponent<ClPageUiProps>;
  111. "cl-pagination": (typeof import('./components/cl-pagination/cl-pagination.uvue')['default']) & import('vue').DefineComponent<ClPaginationProps>;
  112. "cl-select-picker-view": (typeof import('./components/cl-select-picker-view/cl-select-picker-view.uvue')['default']) & import('vue').DefineComponent<ClSelectPickerViewProps>;
  113. "cl-popup": (typeof import('./components/cl-popup/cl-popup.uvue')['default']) & import('vue').DefineComponent<ClPopupProps>;
  114. "cl-progress": (typeof import('./components/cl-progress/cl-progress.uvue')['default']) & import('vue').DefineComponent<ClProgressProps>;
  115. "cl-progress-circle": (typeof import('./components/cl-progress-circle/cl-progress-circle.uvue')['default']) & import('vue').DefineComponent<ClProgressCircleProps>;
  116. "cl-qrcode": (typeof import('./components/cl-qrcode/cl-qrcode.uvue')['default']) & import('vue').DefineComponent<ClQrcodeProps>;
  117. "cl-radio": (typeof import('./components/cl-radio/cl-radio.uvue')['default']) & import('vue').DefineComponent<ClRadioProps>;
  118. "cl-rate": (typeof import('./components/cl-rate/cl-rate.uvue')['default']) & import('vue').DefineComponent<ClRateProps>;
  119. "cl-row": (typeof import('./components/cl-row/cl-row.uvue')['default']) & import('vue').DefineComponent<ClRowProps>;
  120. "cl-safe-area": (typeof import('./components/cl-safe-area/cl-safe-area.uvue')['default']) & import('vue').DefineComponent<ClSafeAreaProps>;
  121. "cl-select": (typeof import('./components/cl-select/cl-select.uvue')['default']) & import('vue').DefineComponent<ClSelectProps>;
  122. "cl-select-date": (typeof import('./components/cl-select-date/cl-select-date.uvue')['default']) & import('vue').DefineComponent<ClSelectDateProps>;
  123. "cl-select-time": (typeof import('./components/cl-select-time/cl-select-time.uvue')['default']) & import('vue').DefineComponent<ClSelectTimeProps>;
  124. "cl-select-trigger": (typeof import('./components/cl-select-trigger/cl-select-trigger.uvue')['default']) & import('vue').DefineComponent<ClSelectTriggerProps>;
  125. "cl-sign": (typeof import('./components/cl-sign/cl-sign.uvue')['default']) & import('vue').DefineComponent<ClSignProps>;
  126. "cl-skeleton": (typeof import('./components/cl-skeleton/cl-skeleton.uvue')['default']) & import('vue').DefineComponent<ClSkeletonProps>;
  127. "cl-slider": (typeof import('./components/cl-slider/cl-slider.uvue')['default']) & import('vue').DefineComponent<ClSliderProps>;
  128. "cl-sticky": (typeof import('./components/cl-sticky/cl-sticky.uvue')['default']) & import('vue').DefineComponent<ClStickyProps>;
  129. "cl-switch": (typeof import('./components/cl-switch/cl-switch.uvue')['default']) & import('vue').DefineComponent<ClSwitchProps>;
  130. "cl-tabs": (typeof import('./components/cl-tabs/cl-tabs.uvue')['default']) & import('vue').DefineComponent<ClTabsProps>;
  131. "cl-tag": (typeof import('./components/cl-tag/cl-tag.uvue')['default']) & import('vue').DefineComponent<ClTagProps>;
  132. "cl-text": (typeof import('./components/cl-text/cl-text.uvue')['default']) & import('vue').DefineComponent<ClTextProps>;
  133. "cl-textarea": (typeof import('./components/cl-textarea/cl-textarea.uvue')['default']) & import('vue').DefineComponent<ClTextareaProps>;
  134. "cl-timeline": (typeof import('./components/cl-timeline/cl-timeline.uvue')['default']) & import('vue').DefineComponent<ClTimelineProps>;
  135. "cl-timeline-item": (typeof import('./components/cl-timeline-item/cl-timeline-item.uvue')['default']) & import('vue').DefineComponent<ClTimelineItemProps>;
  136. "cl-toast": (typeof import('./components/cl-toast/cl-toast.uvue')['default']) & import('vue').DefineComponent<ClToastProps>;
  137. "cl-topbar": (typeof import('./components/cl-topbar/cl-topbar.uvue')['default']) & import('vue').DefineComponent<ClTopbarProps>;
  138. "cl-upload": (typeof import('./components/cl-upload/cl-upload.uvue')['default']) & import('vue').DefineComponent<ClUploadProps>;
  139. "cl-waterfall": (typeof import('./components/cl-waterfall/cl-waterfall.uvue')['default']) & import('vue').DefineComponent<ClWaterfallProps>;
  140. }
  141. }