@ioca/react 1.3.3 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/lib/components/button/button.js +1 -1
  2. package/lib/components/button/button.js.map +1 -1
  3. package/lib/components/checkbox/checkbox.js +1 -1
  4. package/lib/components/checkbox/checkbox.js.map +1 -1
  5. package/lib/components/datagrid/datagrid.js +1 -1
  6. package/lib/components/datagrid/datagrid.js.map +1 -1
  7. package/lib/components/datagrid/resize.js +1 -1
  8. package/lib/components/datagrid/resize.js.map +1 -1
  9. package/lib/components/drawer/drawer.js +1 -1
  10. package/lib/components/drawer/drawer.js.map +1 -1
  11. package/lib/components/image/image.js +1 -1
  12. package/lib/components/image/image.js.map +1 -1
  13. package/lib/components/image/list.js +1 -1
  14. package/lib/components/image/list.js.map +1 -1
  15. package/lib/components/input/number.js +1 -1
  16. package/lib/components/input/number.js.map +1 -1
  17. package/lib/components/input/range.js +1 -1
  18. package/lib/components/input/range.js.map +1 -1
  19. package/lib/components/modal/hookModal.js.map +1 -1
  20. package/lib/components/modal/modal.js +1 -1
  21. package/lib/components/modal/modal.js.map +1 -1
  22. package/lib/components/modal/useModal.js +1 -1
  23. package/lib/components/modal/useModal.js.map +1 -1
  24. package/lib/components/picker/colors/index.js +1 -1
  25. package/lib/components/picker/colors/index.js.map +1 -1
  26. package/lib/components/popup/popup.js +1 -1
  27. package/lib/components/popup/popup.js.map +1 -1
  28. package/lib/components/progress/progress.js +1 -1
  29. package/lib/components/progress/progress.js.map +1 -1
  30. package/lib/components/radio/radio.js +1 -1
  31. package/lib/components/radio/radio.js.map +1 -1
  32. package/lib/components/resizable/resizable.js +1 -1
  33. package/lib/components/resizable/resizable.js.map +1 -1
  34. package/lib/components/swiper/swiper.js +1 -1
  35. package/lib/components/swiper/swiper.js.map +1 -1
  36. package/lib/components/tabs/tabs.js +1 -1
  37. package/lib/components/tabs/tabs.js.map +1 -1
  38. package/lib/components/text/number.js +1 -1
  39. package/lib/components/text/number.js.map +1 -1
  40. package/lib/components/text/time.js +1 -1
  41. package/lib/components/text/time.js.map +1 -1
  42. package/lib/components/upload/renderFile.js +1 -1
  43. package/lib/components/upload/renderFile.js.map +1 -1
  44. package/lib/components/upload/upload.js +1 -1
  45. package/lib/components/upload/upload.js.map +1 -1
  46. package/lib/components/video/video.js +1 -1
  47. package/lib/components/video/video.js.map +1 -1
  48. package/lib/css/index.css +1 -1
  49. package/lib/css/index.css.map +1 -1
  50. package/lib/js/usePreview/index.js +1 -1
  51. package/lib/js/usePreview/index.js.map +1 -1
  52. package/lib/js/usePreview/type.js.map +1 -1
  53. package/lib/js/utils.js +1 -1
  54. package/lib/js/utils.js.map +1 -1
  55. package/lib/types/components/affix/affix.d.ts +2 -0
  56. package/lib/types/components/affix/index.d.ts +2 -0
  57. package/lib/types/components/affix/totop.d.ts +2 -0
  58. package/lib/types/components/affix/type.d.ts +2 -0
  59. package/lib/types/components/badge/badge.d.ts +2 -0
  60. package/lib/types/components/badge/index.d.ts +2 -0
  61. package/lib/types/components/badge/type.d.ts +2 -0
  62. package/lib/types/components/button/button.d.ts +2 -0
  63. package/lib/types/components/button/group.d.ts +2 -0
  64. package/lib/types/components/button/index.d.ts +2 -0
  65. package/lib/types/components/button/toggle.d.ts +2 -0
  66. package/lib/types/components/button/type.d.ts +2 -0
  67. package/lib/types/components/card/card.d.ts +2 -0
  68. package/lib/types/components/card/index.d.ts +2 -0
  69. package/lib/types/components/card/type.d.ts +2 -0
  70. package/lib/types/components/checkbox/checkbox.d.ts +2 -0
  71. package/lib/types/components/checkbox/index.d.ts +2 -0
  72. package/lib/types/components/checkbox/item.d.ts +2 -0
  73. package/lib/types/components/checkbox/type.d.ts +2 -0
  74. package/lib/types/components/collapse/collapse.d.ts +2 -0
  75. package/lib/types/components/collapse/index.d.ts +2 -0
  76. package/lib/types/components/collapse/item.d.ts +2 -0
  77. package/lib/types/components/collapse/type.d.ts +2 -0
  78. package/lib/types/components/datagrid/datagrid.d.ts +2 -0
  79. package/lib/types/components/datagrid/index.d.ts +2 -0
  80. package/lib/types/components/datagrid/type.d.ts +2 -0
  81. package/lib/types/components/description/description.d.ts +2 -0
  82. package/lib/types/components/description/index.d.ts +2 -0
  83. package/lib/types/components/description/type.d.ts +2 -0
  84. package/lib/types/components/drawer/drawer.d.ts +2 -0
  85. package/lib/types/components/drawer/index.d.ts +2 -0
  86. package/lib/types/components/drawer/type.d.ts +2 -0
  87. package/lib/types/components/dropdown/dropdown.d.ts +2 -0
  88. package/lib/types/components/dropdown/index.d.ts +2 -0
  89. package/lib/types/components/dropdown/type.d.ts +2 -0
  90. package/lib/types/components/editor/editor.d.ts +2 -0
  91. package/lib/types/components/editor/index.d.ts +2 -0
  92. package/lib/types/components/editor/type.d.ts +2 -0
  93. package/lib/types/components/flex/flex.d.ts +2 -0
  94. package/lib/types/components/flex/index.d.ts +2 -0
  95. package/lib/types/components/flex/type.d.ts +2 -0
  96. package/lib/types/components/form/field.d.ts +2 -0
  97. package/lib/types/components/form/form.d.ts +2 -0
  98. package/lib/types/components/form/index.d.ts +2 -0
  99. package/lib/types/components/form/type.d.ts +2 -0
  100. package/lib/types/components/form/useForm.d.ts +2 -0
  101. package/lib/types/components/icon/icon.d.ts +2 -0
  102. package/lib/types/components/icon/index.d.ts +2 -0
  103. package/lib/types/components/icon/type.d.ts +2 -0
  104. package/lib/types/components/image/image.d.ts +2 -0
  105. package/lib/types/components/image/index.d.ts +2 -0
  106. package/lib/types/components/image/list.d.ts +2 -0
  107. package/lib/types/components/image/type.d.ts +2 -0
  108. package/lib/types/components/input/index.d.ts +2 -0
  109. package/lib/types/components/input/input.d.ts +2 -0
  110. package/lib/types/components/input/number.d.ts +2 -0
  111. package/lib/types/components/input/range.d.ts +2 -0
  112. package/lib/types/components/input/textarea.d.ts +2 -0
  113. package/lib/types/components/input/type.d.ts +2 -0
  114. package/lib/types/components/list/index.d.ts +2 -0
  115. package/lib/types/components/list/list.d.ts +2 -0
  116. package/lib/types/components/list/type.d.ts +2 -0
  117. package/lib/types/components/loading/index.d.ts +2 -0
  118. package/lib/types/components/loading/loading.d.ts +2 -0
  119. package/lib/types/components/loading/type.d.ts +2 -0
  120. package/lib/types/components/message/index.d.ts +2 -0
  121. package/lib/types/components/message/message.d.ts +2 -0
  122. package/lib/types/components/message/type.d.ts +2 -0
  123. package/lib/types/components/modal/index.d.ts +2 -0
  124. package/lib/types/components/modal/modal.d.ts +2 -0
  125. package/lib/types/components/modal/type.d.ts +2 -0
  126. package/lib/types/components/modal/useModal.d.ts +2 -0
  127. package/lib/types/components/pagination/index.d.ts +2 -0
  128. package/lib/types/components/pagination/pagination.d.ts +2 -0
  129. package/lib/types/components/pagination/type.d.ts +2 -0
  130. package/lib/types/components/picker/colors/index.d.ts +2 -0
  131. package/lib/types/components/picker/dates/index.d.ts +2 -0
  132. package/lib/types/components/picker/time/index.d.ts +2 -0
  133. package/lib/types/components/picker/type.d.ts +2 -0
  134. package/lib/types/components/popconfirm/index.d.ts +2 -0
  135. package/lib/types/components/popconfirm/popconfirm.d.ts +2 -0
  136. package/lib/types/components/popconfirm/type.d.ts +2 -0
  137. package/lib/types/components/popup/index.d.ts +2 -0
  138. package/lib/types/components/popup/popup.d.ts +2 -0
  139. package/lib/types/components/popup/type.d.ts +2 -0
  140. package/lib/types/components/progress/index.d.ts +2 -0
  141. package/lib/types/components/progress/progress.d.ts +2 -0
  142. package/lib/types/components/progress/type.d.ts +2 -0
  143. package/lib/types/components/radio/index.d.ts +2 -0
  144. package/lib/types/components/radio/item.d.ts +2 -0
  145. package/lib/types/components/radio/radio.d.ts +2 -0
  146. package/lib/types/components/radio/type.d.ts +2 -0
  147. package/lib/types/components/resizable/index.d.ts +2 -0
  148. package/lib/types/components/resizable/resizable.d.ts +2 -0
  149. package/lib/types/components/resizable/type.d.ts +2 -0
  150. package/lib/types/components/select/index.d.ts +2 -0
  151. package/lib/types/components/select/select.d.ts +2 -0
  152. package/lib/types/components/select/type.d.ts +2 -0
  153. package/lib/types/components/step/index.d.ts +2 -0
  154. package/lib/types/components/step/item.d.ts +2 -0
  155. package/lib/types/components/step/step.d.ts +2 -0
  156. package/lib/types/components/step/type.d.ts +2 -0
  157. package/lib/types/components/swiper/index.d.ts +2 -0
  158. package/lib/types/components/swiper/item.d.ts +2 -0
  159. package/lib/types/components/swiper/swiper.d.ts +2 -0
  160. package/lib/types/components/swiper/type.d.ts +2 -0
  161. package/lib/types/components/tabs/index.d.ts +2 -0
  162. package/lib/types/components/tabs/item.d.ts +2 -0
  163. package/lib/types/components/tabs/tabs.d.ts +2 -0
  164. package/lib/types/components/tabs/type.d.ts +2 -0
  165. package/lib/types/components/tag/index.d.ts +2 -0
  166. package/lib/types/components/tag/tag.d.ts +2 -0
  167. package/lib/types/components/tag/type.d.ts +2 -0
  168. package/lib/types/components/text/highlight.d.ts +2 -0
  169. package/lib/types/components/text/index.d.ts +2 -0
  170. package/lib/types/components/text/number.d.ts +2 -0
  171. package/lib/types/components/text/text.d.ts +2 -0
  172. package/lib/types/components/text/time.d.ts +2 -0
  173. package/lib/types/components/text/type.d.ts +2 -0
  174. package/lib/types/components/tree/index.d.ts +2 -0
  175. package/lib/types/components/tree/tree.d.ts +2 -0
  176. package/lib/types/components/tree/type.d.ts +2 -0
  177. package/lib/types/components/upload/index.d.ts +2 -0
  178. package/lib/types/components/upload/type.d.ts +2 -0
  179. package/lib/types/components/upload/upload.d.ts +2 -0
  180. package/lib/types/components/video/index.d.ts +2 -0
  181. package/lib/types/components/video/type.d.ts +2 -0
  182. package/lib/types/components/video/video.d.ts +2 -0
  183. package/lib/types/index.d.ts +2 -0
  184. package/lib/types/js/usePreview/index.d.ts +2 -0
  185. package/lib/types/js/usePreview/type.d.ts +4 -11
  186. package/lib/types/type/index.d.ts +2 -0
  187. package/package.json +1 -1
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { HTMLAttributes, ReactNode, RefObject, CSSProperties } from 'react';
2
4
 
3
5
  interface IIcon extends HTMLAttributes<HTMLElement> {
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { CompositionImage } from './type.js';
2
4
 
3
5
  declare const _default: CompositionImage;
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import _default from './image.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IImageList } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { FC, HTMLAttributes, ReactNode } from 'react';
2
4
  import List from './list.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Input from './input.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { CompositionInput } from './type.js';
2
4
 
3
5
  declare const Input: CompositionInput;
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IInputNumber } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IInputRange } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { ITextarea } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { ForwardRefExoticComponent, InputHTMLAttributes, ReactNode, TextareaHTMLAttributes, RefObject, ChangeEvent, MouseEvent } from 'react';
2
4
  import { BaseInput } from '../../type/index.js';
3
5
  import Number from './number.js';
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import List from './list.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { IList, IListItem } from './type.js';
2
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { HTMLAttributes, ReactNode, RefObject } from 'react';
2
4
 
3
5
  interface IList extends HTMLAttributes<HTMLUListElement> {
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Loading from './loading.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { ILoading } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { HTMLAttributes, ReactNode } from 'react';
2
4
 
3
5
  interface ILoading extends HTMLAttributes<HTMLDivElement> {
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import message from './message.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { ReactNode } from 'react';
2
4
  import { IMessage } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { ReactNode } from 'react';
2
4
 
3
5
  interface IMessage {
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import _default from './modal.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { CompositionModal } from './type.js';
2
4
 
3
5
  declare const _default: CompositionModal;
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { FC, HTMLAttributes, ReactNode } from 'react';
2
4
  import { IButton } from '../button/type.js';
3
5
  import useModal from './useModal.js';
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { IModal } from './type.js';
2
4
 
3
5
  declare function useModal(): {
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Pagination from './pagination.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IPagination } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { HTMLAttributes, ReactNode } from 'react';
2
4
 
3
5
  interface IPagination extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IColorPicker } from '../type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IDatePicker } from '../type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { ITimePicker } from '../type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { ColorPickerProps } from '/Users/iann/codes/ioca-react/node_modules/@rc-component/color-picker/lib/index.d.ts';
2
4
  import { Dayjs } from '/Users/iann/codes/ioca-react/node_modules/dayjs/index.d.ts';
3
5
  import { ReactNode } from 'react';
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Popconfirm from './popconfirm.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IPopconfirm } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { ReactNode } from 'react';
2
4
  import { IButton } from '../button/type.js';
3
5
  import { IPopup } from '../popup/type.js';
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Popup from './popup.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IPopup } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { ReactNode, CSSProperties } from 'react';
2
4
  import { TPosition } from '../../type/index.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Progress from './progress.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IProgress } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { CSSProperties, ReactNode } from 'react';
2
4
  import { BaseInput } from '../../type/index.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Radio from './radio.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IRadioItem } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import RadioItem from './item.js';
3
5
  import { IRadio } from './type.js';
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { ReactNode, InputHTMLAttributes, ChangeEvent } from 'react';
2
4
  import { TOption, TStatus } from '../../type/index.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Resizable from './resizable.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IResizable } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { ReactNode, CSSProperties } from 'react';
2
4
 
3
5
  interface IResizable {
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Select from './select.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { ISelect } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { InputHTMLAttributes, ReactNode } from 'react';
2
4
  import { BaseInput, TOptions, TOption } from '../../type/index.js';
3
5
  import { IPopup } from '../popup/type.js';
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Step from './step.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IStepItem } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import Item from './item.js';
3
5
  import { IStep } from './type.js';
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { CSSProperties, ReactNode } from 'react';
2
4
 
3
5
  interface IStep {
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Swiper from './swiper.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { ISwiperItem } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { CompositionSwiper } from './type.js';
2
4
 
3
5
  declare const Swiper: CompositionSwiper;
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { ForwardRefExoticComponent, RefObject, ReactNode, CSSProperties, MouseEvent } from 'react';
2
4
  import Item from './item.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Tabs from './tabs.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { ITabItem } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { CompositionTabs } from './type.js';
2
4
 
3
5
  declare const Tabs: CompositionTabs;
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { ForwardRefExoticComponent, ReactNode, RefObject, CSSProperties, Ref } from 'react';
2
4
  import Item from './item.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Tag from './tag.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { ITag } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { HTMLAttributes, MouseEvent } from 'react';
2
4
 
3
5
  interface ITag extends HTMLAttributes<HTMLSpanElement> {
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { ITextHighLight } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import _default from './text.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { ITextNumber } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { CompositionText } from './type.js';
2
4
 
3
5
  declare const _default: CompositionText;
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { ITextTime } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { FC, JSX, CSSProperties, ReactNode } from 'react';
2
4
  import HighLight from './highlight.js';
3
5
  import Number from './number.js';
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Tree from './tree.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { ITree } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { RefObject, CSSProperties, ReactNode, MouseEvent, ForwardRefExoticComponent, RefAttributes } from 'react';
2
4
  import { LinkProps } from '/Users/iann/codes/ioca-react/node_modules/react-router/dist/development/index.d.ts';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Upload from './upload.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { InputHTMLAttributes, RefObject, ReactNode, ChangeEvent } from 'react';
2
4
  import { BaseInput } from '../../type/index.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IUpload } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import Video from './video.js';
2
4
 
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { HTMLAttributes, RefObject } from 'react';
2
4
  import { IProgress } from '../progress/type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
4
  import { IVideo } from './type.js';
3
5
 
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  export { default as Affix } from './components/affix/affix.js';
2
4
  export { default as Badge } from './components/badge/badge.js';
3
5
  export { default as Button } from './components/button/button.js';
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { IPreview } from './type.js';
2
4
 
3
5
  declare function usePreview(): (config: IPreview) => void;
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { CSSProperties, ReactNode } from 'react';
2
4
  import { IModal } from '../../components/modal/type.js';
3
5
 
@@ -8,18 +10,9 @@ type TPreviewItem = {
8
10
  rotate?: number;
9
11
  zoom?: number;
10
12
  style?: CSSProperties;
11
- type?: TFileType;
13
+ type?: string;
12
14
  suffix?: string;
13
15
  };
14
- declare enum TFileType {
15
- IMAGE = "IMAGE",
16
- VIDEO = "VIDEO",
17
- AUDIO = "AUDIO",
18
- PDF = "PDF",
19
- EXCEL = "EXCEL",
20
- TXT = "TXT",
21
- UNKNOWN = "UNKNOWN"
22
- }
23
16
  interface IPreview {
24
17
  items: (TPreviewItem | string)[];
25
18
  initial?: number;
@@ -36,4 +29,4 @@ interface IPreview {
36
29
  onRotate?: (deg: number) => void;
37
30
  }
38
31
 
39
- export { type IPreview, TFileType, type TPreviewItem };
32
+ export type { IPreview, TPreviewItem };