@ray-js/components 1.7.22 → 1.7.24

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 (209) hide show
  1. package/lib/Button/Button.d.ts +2 -2
  2. package/lib/Button/Button.js +2 -1
  3. package/lib/Button/Button.thing.d.ts +2 -2
  4. package/lib/Button/Button.thing.js +2 -1
  5. package/lib/Button/Button.wechat.d.ts +2 -2
  6. package/lib/Button/Button.wechat.js +2 -1
  7. package/lib/Button/props.d.ts +2 -2
  8. package/lib/Camera/Camera.d.ts +2 -2
  9. package/lib/Camera/Camera.js +1 -0
  10. package/lib/Camera/Camera.thing.d.ts +2 -2
  11. package/lib/Camera/Camera.thing.js +1 -0
  12. package/lib/Camera/Camera.wechat.js +1 -1
  13. package/lib/Checkbox/Checkbox.d.ts +2 -2
  14. package/lib/Checkbox/Checkbox.js +1 -0
  15. package/lib/Checkbox/Checkbox.thing.d.ts +2 -2
  16. package/lib/Checkbox/Checkbox.thing.js +2 -1
  17. package/lib/Checkbox/Checkbox.wechat.d.ts +2 -2
  18. package/lib/Checkbox/Checkbox.wechat.js +2 -1
  19. package/lib/Checkbox/props.d.ts +1 -1
  20. package/lib/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  21. package/lib/CheckboxGroup/CheckboxGroup.js +3 -3
  22. package/lib/CheckboxGroup/CheckboxGroup.thing.d.ts +2 -2
  23. package/lib/CheckboxGroup/CheckboxGroup.thing.js +1 -0
  24. package/lib/CheckboxGroup/CheckboxGroup.wechat.d.ts +2 -2
  25. package/lib/CheckboxGroup/CheckboxGroup.wechat.js +1 -0
  26. package/lib/CheckboxGroup/props.d.ts +3 -3
  27. package/lib/CoverView/CoverView.d.ts +2 -2
  28. package/lib/CoverView/CoverView.thing.d.ts +2 -2
  29. package/lib/CoverView/CoverView.thing.js +1 -0
  30. package/lib/CoverView/CoverView.wechat.d.ts +1 -1
  31. package/lib/CoverView/CoverView.wechat.js +1 -1
  32. package/lib/CoverView/props.d.ts +1 -1
  33. package/lib/Form/Form.d.ts +1 -1
  34. package/lib/Form/Form.js +1 -1
  35. package/lib/Form/Form.thing.d.ts +2 -2
  36. package/lib/Form/Form.thing.js +1 -0
  37. package/lib/Form/Form.wechat.d.ts +2 -2
  38. package/lib/Form/Form.wechat.js +1 -0
  39. package/lib/Form/props.d.ts +1 -1
  40. package/lib/Iframe/Iframe.thing.d.ts +2 -2
  41. package/lib/Iframe/Iframe.thing.js +1 -0
  42. package/lib/Image/Image.d.ts +1 -1
  43. package/lib/Image/Image.js +1 -1
  44. package/lib/Image/Image.thing.d.ts +2 -2
  45. package/lib/Image/Image.thing.js +2 -1
  46. package/lib/Image/Image.wechat.d.ts +2 -2
  47. package/lib/Image/Image.wechat.js +2 -1
  48. package/lib/Input/Input.d.ts +1 -1
  49. package/lib/Input/Input.js +5 -5
  50. package/lib/Input/Input.thing.d.ts +1 -1
  51. package/lib/Input/Input.thing.js +1 -1
  52. package/lib/Input/Input.wechat.d.ts +1 -1
  53. package/lib/Input/Input.wechat.js +2 -2
  54. package/lib/Input/props.d.ts +4 -3
  55. package/lib/IpcPlayer/IpcPlayer.d.ts +2 -2
  56. package/lib/IpcPlayer/IpcPlayer.js +1 -0
  57. package/lib/IpcPlayer/IpcPlayer.thing.d.ts +2 -2
  58. package/lib/IpcPlayer/IpcPlayer.thing.js +1 -0
  59. package/lib/IpcPlayer/IpcPlayer.wechat.js +1 -1
  60. package/lib/Label/Label.d.ts +2 -2
  61. package/lib/Label/Label.js +1 -0
  62. package/lib/Label/Label.thing.d.ts +2 -2
  63. package/lib/Label/Label.thing.js +2 -1
  64. package/lib/Label/Label.wechat.d.ts +2 -2
  65. package/lib/Label/Label.wechat.js +2 -1
  66. package/lib/Label/props.d.ts +1 -1
  67. package/lib/Map/Map.d.ts +2 -2
  68. package/lib/Map/Map.js +1 -0
  69. package/lib/Map/Map.thing.d.ts +2 -2
  70. package/lib/Map/Map.thing.js +1 -0
  71. package/lib/Map/Map.wechat.d.ts +2 -2
  72. package/lib/Map/Map.wechat.js +1 -0
  73. package/lib/Modal/index.d.ts +1 -1
  74. package/lib/Modal/index.js +1 -1
  75. package/lib/MovableArea/MovableArea.d.ts +2 -2
  76. package/lib/MovableArea/MovableArea.js +2 -1
  77. package/lib/MovableArea/MovableArea.thing.d.ts +2 -2
  78. package/lib/MovableArea/MovableArea.thing.js +1 -0
  79. package/lib/MovableArea/MovableArea.wechat.d.ts +2 -2
  80. package/lib/MovableArea/MovableArea.wechat.js +1 -0
  81. package/lib/MovableView/MovableView.d.ts +1 -1
  82. package/lib/MovableView/MovableView.js +2 -2
  83. package/lib/MovableView/MovableView.thing.d.ts +2 -2
  84. package/lib/MovableView/MovableView.thing.js +1 -0
  85. package/lib/MovableView/MovableView.wechat.d.ts +2 -2
  86. package/lib/MovableView/MovableView.wechat.js +1 -0
  87. package/lib/NativeVideo/NativeVideo.d.ts +2 -2
  88. package/lib/NativeVideo/NativeVideo.js +1 -0
  89. package/lib/NativeVideo/NativeVideo.thing.d.ts +2 -2
  90. package/lib/NativeVideo/NativeVideo.thing.js +1 -0
  91. package/lib/NativeVideo/NativeVideo.wechat.js +1 -1
  92. package/lib/PageContainer/PageContainer.d.ts +2 -2
  93. package/lib/PageContainer/PageContainer.js +2 -2
  94. package/lib/PageContainer/PageContainer.thing.d.ts +1 -1
  95. package/lib/PageContainer/PageContainer.wechat.d.ts +1 -1
  96. package/lib/PageContainer/props.d.ts +3 -3
  97. package/lib/Picker/Picker.d.ts +1 -1
  98. package/lib/Picker/Picker.js +1 -1
  99. package/lib/Picker/Picker.thing.d.ts +2 -2
  100. package/lib/Picker/Picker.thing.js +2 -1
  101. package/lib/Picker/Picker.wechat.d.ts +2 -2
  102. package/lib/Picker/Picker.wechat.js +2 -1
  103. package/lib/PickerView/PickerView.d.ts +1 -1
  104. package/lib/PickerView/PickerView.js +2 -2
  105. package/lib/PickerView/PickerView.thing.d.ts +2 -2
  106. package/lib/PickerView/PickerView.thing.js +3 -2
  107. package/lib/PickerView/PickerView.wechat.d.ts +2 -2
  108. package/lib/PickerView/PickerView.wechat.js +3 -2
  109. package/lib/PickerViewColumn/PickerViewColumn.d.ts +2 -2
  110. package/lib/PickerViewColumn/PickerViewColumn.js +1 -0
  111. package/lib/PickerViewColumn/PickerViewColumn.thing.d.ts +1 -1
  112. package/lib/PickerViewColumn/PickerViewColumn.thing.js +2 -1
  113. package/lib/PickerViewColumn/PickerViewColumn.wechat.d.ts +1 -1
  114. package/lib/PickerViewColumn/PickerViewColumn.wechat.js +2 -1
  115. package/lib/Progress/Progress.d.ts +2 -2
  116. package/lib/Progress/Progress.js +1 -0
  117. package/lib/Progress/Progress.thing.d.ts +2 -2
  118. package/lib/Progress/Progress.thing.js +2 -1
  119. package/lib/Progress/Progress.wechat.d.ts +2 -2
  120. package/lib/Progress/Progress.wechat.js +2 -1
  121. package/lib/Radio/Radio.d.ts +2 -2
  122. package/lib/Radio/Radio.js +1 -0
  123. package/lib/Radio/Radio.thing.d.ts +2 -2
  124. package/lib/Radio/Radio.thing.js +2 -1
  125. package/lib/Radio/Radio.wechat.d.ts +2 -2
  126. package/lib/Radio/Radio.wechat.js +2 -1
  127. package/lib/Radio/props.d.ts +1 -1
  128. package/lib/RadioGroup/RadioGroup.d.ts +1 -1
  129. package/lib/RadioGroup/RadioGroup.js +1 -1
  130. package/lib/RadioGroup/RadioGroup.thing.d.ts +2 -2
  131. package/lib/RadioGroup/RadioGroup.thing.js +3 -2
  132. package/lib/RadioGroup/RadioGroup.wechat.d.ts +2 -2
  133. package/lib/RadioGroup/RadioGroup.wechat.js +2 -1
  134. package/lib/RadioGroup/props.d.ts +3 -3
  135. package/lib/RichText/RichText.d.ts +2 -2
  136. package/lib/RichText/RichText.js +1 -0
  137. package/lib/RichText/RichText.thing.d.ts +2 -2
  138. package/lib/RichText/RichText.thing.js +1 -0
  139. package/lib/RichText/RichText.wechat.d.ts +2 -2
  140. package/lib/RichText/RichText.wechat.js +1 -0
  141. package/lib/ScrollView/ScrollView.d.ts +1 -1
  142. package/lib/ScrollView/ScrollView.js +2 -2
  143. package/lib/ScrollView/ScrollView.thing.d.ts +1 -1
  144. package/lib/ScrollView/ScrollView.thing.js +2 -1
  145. package/lib/ScrollView/ScrollView.wechat.d.ts +2 -2
  146. package/lib/ScrollView/ScrollView.wechat.js +2 -1
  147. package/lib/Slider/Slider.d.ts +1 -1
  148. package/lib/Slider/Slider.js +1 -1
  149. package/lib/Slider/Slider.thing.d.ts +2 -2
  150. package/lib/Slider/Slider.thing.js +2 -1
  151. package/lib/Slider/Slider.wechat.d.ts +2 -2
  152. package/lib/Slider/Slider.wechat.js +2 -1
  153. package/lib/Slider/props.d.ts +2 -2
  154. package/lib/Swiper/Swiper.d.ts +1 -1
  155. package/lib/Swiper/Swiper.js +1 -1
  156. package/lib/Swiper/Swiper.thing.d.ts +1 -1
  157. package/lib/Swiper/Swiper.thing.js +1 -1
  158. package/lib/Swiper/Swiper.wechat.d.ts +1 -1
  159. package/lib/Swiper/Swiper.wechat.js +1 -1
  160. package/lib/Swiper/props.d.ts +2 -2
  161. package/lib/SwiperItem/SwiperItem.d.ts +2 -2
  162. package/lib/SwiperItem/SwiperItem.js +1 -0
  163. package/lib/SwiperItem/SwiperItem.thing.d.ts +2 -2
  164. package/lib/SwiperItem/SwiperItem.thing.js +2 -1
  165. package/lib/SwiperItem/SwiperItem.wechat.d.ts +2 -2
  166. package/lib/SwiperItem/SwiperItem.wechat.js +2 -1
  167. package/lib/SwiperItem/props.d.ts +1 -1
  168. package/lib/Switch/Switch.d.ts +1 -1
  169. package/lib/Switch/Switch.js +1 -1
  170. package/lib/Switch/Switch.thing.d.ts +2 -2
  171. package/lib/Switch/Switch.thing.js +2 -1
  172. package/lib/Switch/Switch.wechat.d.ts +2 -2
  173. package/lib/Switch/Switch.wechat.js +2 -1
  174. package/lib/Switch/props.d.ts +2 -2
  175. package/lib/Text/Text.d.ts +2 -2
  176. package/lib/Text/Text.js +1 -0
  177. package/lib/Text/Text.thing.d.ts +2 -2
  178. package/lib/Text/Text.thing.js +1 -0
  179. package/lib/Text/Text.wechat.d.ts +2 -2
  180. package/lib/Text/Text.wechat.js +1 -0
  181. package/lib/Text/props.d.ts +1 -1
  182. package/lib/Textarea/Textarea.d.ts +1 -1
  183. package/lib/Textarea/Textarea.js +3 -3
  184. package/lib/Textarea/Textarea.thing.d.ts +1 -1
  185. package/lib/Textarea/Textarea.thing.js +2 -2
  186. package/lib/Textarea/Textarea.wechat.d.ts +1 -1
  187. package/lib/Textarea/Textarea.wechat.js +2 -2
  188. package/lib/Textarea/props.d.ts +3 -3
  189. package/lib/Video/Video.d.ts +2 -2
  190. package/lib/Video/Video.js +1 -0
  191. package/lib/Video/Video.thing.d.ts +2 -2
  192. package/lib/Video/Video.thing.js +1 -0
  193. package/lib/Video/Video.wechat.d.ts +2 -2
  194. package/lib/Video/Video.wechat.js +1 -0
  195. package/lib/View/View.d.ts +1 -1
  196. package/lib/View/View.js +2 -2
  197. package/lib/View/View.thing.d.ts +1 -1
  198. package/lib/View/View.thing.js +3 -3
  199. package/lib/View/View.wechat.d.ts +1 -1
  200. package/lib/View/View.wechat.js +2 -2
  201. package/lib/View/props.d.ts +1 -1
  202. package/lib/WebView/WebView.d.ts +2 -2
  203. package/lib/WebView/WebView.js +1 -0
  204. package/lib/WebView/WebView.thing.d.ts +2 -2
  205. package/lib/WebView/WebView.thing.js +1 -0
  206. package/lib/WebView/WebView.wechat.d.ts +2 -2
  207. package/lib/WebView/WebView.wechat.js +1 -0
  208. package/lib/types/index.d.ts +1 -1
  209. package/package.json +6 -6
package/lib/Map/Map.js CHANGED
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  const Map = () => {
2
3
  return /*#__PURE__*/React.createElement("div", null, "The web side is not implemented yet.");
3
4
  };
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import { type MapProps } from '@ray-js/adapter';
1
+ import * as React from 'react';
2
+ import { MapProps } from '@ray-js/adapter';
3
3
  declare const Map: React.FC<MapProps>;
4
4
  export default Map;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { Map as RemaxMap } from '@ray-js/adapter';
2
3
  const Map = props => {
3
4
  return /*#__PURE__*/React.createElement(RemaxMap, props);
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import { type MapProps } from '@ray-js/adapter';
1
+ import * as React from 'react';
2
+ import { MapProps } from '@ray-js/adapter';
3
3
  declare const Map: React.FC<MapProps>;
4
4
  export default Map;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { Map as RemaxMap } from '@ray-js/adapter';
2
3
  const Map = props => {
3
4
  return /*#__PURE__*/React.createElement(RemaxMap, props);
@@ -1,2 +1,2 @@
1
- import type * as React from 'react';
1
+ import * as React from 'react';
2
2
  export default function Modal({ children }: React.PropsWithChildren<Record<string, any>>): any;
@@ -1,4 +1,4 @@
1
- import { createPortal, usePageInstance } from '@ray-js/runtime';
1
+ import { usePageInstance, createPortal } from '@ray-js/runtime';
2
2
  export default function Modal(_ref) {
3
3
  let {
4
4
  children
@@ -1,4 +1,4 @@
1
- import { type MovableAreaProps } from '@ray-js/adapter';
2
- import type React from 'react';
1
+ import React from 'react';
2
+ import { MovableAreaProps } from '@ray-js/adapter';
3
3
  export declare const MovableArea: React.FC<MovableAreaProps>;
4
4
  export default MovableArea;
@@ -1,7 +1,8 @@
1
1
  import _objectDestructuringEmpty from "@babel/runtime/helpers/esm/objectDestructuringEmpty";
2
2
  import _extends from "@babel/runtime/helpers/esm/extends";
3
- import { MovableArea as RemaxMovableArea } from '@ray-js/adapter';
3
+ import React from 'react';
4
4
  import handleProps from '../utils/handleProps';
5
+ import { MovableArea as RemaxMovableArea } from '@ray-js/adapter';
5
6
  export const MovableArea = props => {
6
7
  const restProps = _extends({}, (_objectDestructuringEmpty(props), props));
7
8
  // @ts-ignore
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import { type MovableAreaProps } from '@ray-js/adapter';
1
+ import * as React from 'react';
2
+ import { MovableAreaProps } from '@ray-js/adapter';
3
3
  declare const MovableArea: React.FC<MovableAreaProps>;
4
4
  export default MovableArea;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { MovableArea as RemaxMovableArea } from '@ray-js/adapter';
2
3
  const MovableArea = props => {
3
4
  return /*#__PURE__*/React.createElement(RemaxMovableArea, props);
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import { type MovableAreaProps } from '@ray-js/adapter';
1
+ import * as React from 'react';
2
+ import { MovableAreaProps } from '@ray-js/adapter';
3
3
  declare const MovableArea: React.FC<MovableAreaProps>;
4
4
  export default MovableArea;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { MovableArea as RemaxMovableArea } from '@ray-js/adapter';
2
3
  const MovableArea = props => {
3
4
  return /*#__PURE__*/React.createElement(RemaxMovableArea, props);
@@ -1,4 +1,4 @@
1
- import { type MovableViewProps } from '@ray-js/adapter';
2
1
  import React from 'react';
2
+ import { MovableViewProps } from '@ray-js/adapter';
3
3
  export declare const MovableView: React.FC<MovableViewProps>;
4
4
  export default MovableView;
@@ -2,10 +2,10 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
4
  const _excluded = ["onChange", "onScale"];
5
- import { MovableView as RemaxMovableView } from '@ray-js/adapter';
6
- import { useEventListener } from 'ahooks';
7
5
  import React from 'react';
6
+ import { useEventListener } from 'ahooks';
8
7
  import handleProps from '../utils/handleProps';
8
+ import { MovableView as RemaxMovableView } from '@ray-js/adapter';
9
9
  export const MovableView = props => {
10
10
  const {
11
11
  onChange,
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import { type MovableViewProps } from '@ray-js/adapter';
1
+ import * as React from 'react';
2
+ import { MovableViewProps } from '@ray-js/adapter';
3
3
  declare const MovableView: React.FC<MovableViewProps>;
4
4
  export default MovableView;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { MovableView as RemaxMovableView } from '@ray-js/adapter';
2
3
  const MovableView = props => {
3
4
  return /*#__PURE__*/React.createElement(RemaxMovableView, props);
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import { type MovableViewProps } from '@ray-js/adapter';
1
+ import * as React from 'react';
2
+ import { MovableViewProps } from '@ray-js/adapter';
3
3
  declare const MovableView: React.FC<MovableViewProps>;
4
4
  export default MovableView;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { MovableView as RemaxMovableView } from '@ray-js/adapter';
2
3
  const MovableView = props => {
3
4
  return /*#__PURE__*/React.createElement(RemaxMovableView, props);
@@ -1,4 +1,4 @@
1
- import type { NativeVideoProps } from '@ray-js/adapter';
2
- import type React from 'react';
1
+ import React from 'react';
2
+ import { NativeVideoProps } from '@ray-js/adapter';
3
3
  declare const NativeVideo: React.FC<NativeVideoProps>;
4
4
  export default NativeVideo;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  const NativeVideo = () => {
2
3
  return /*#__PURE__*/React.createElement("div", null, "The web side is not implemented yet.");
3
4
  };
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import { type NativeVideoProps } from '@ray-js/adapter';
1
+ import * as React from 'react';
2
+ import { NativeVideoProps } from '@ray-js/adapter';
3
3
  declare const NativeVideo: React.FC<NativeVideoProps>;
4
4
  export default NativeVideo;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { NativeVideo as RemaxNativeVideo } from '@ray-js/adapter';
2
3
  const NativeVideo = props => {
3
4
  return /*#__PURE__*/React.createElement(RemaxNativeVideo, props);
@@ -1,5 +1,5 @@
1
- import { View } from '@ray-js/components';
2
1
  import * as React from 'react';
2
+ import { View } from '@ray-js/components';
3
3
 
4
4
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
5
5
  function NativeVideo() {
@@ -1,4 +1,4 @@
1
- import { type FC } from 'react';
2
- import { type PageContainerProps } from './props';
1
+ import { FC } from 'react';
2
+ import { PageContainerProps } from './props';
3
3
  declare const PageContainer: FC<PageContainerProps>;
4
4
  export default PageContainer;
@@ -1,9 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
- import { useEventListener } from 'ahooks';
4
3
  import React, { useRef } from 'react';
5
- import handleProps from '../utils/handleProps';
4
+ import { useEventListener } from 'ahooks';
6
5
  import { defaultPageContainerProps } from './props';
6
+ import handleProps from '../utils/handleProps';
7
7
  const PageContainer = props => {
8
8
  const {
9
9
  children
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
- import type { PageContainerProps } from './props';
2
+ import { PageContainerProps } from './props';
3
3
  declare function PageContainer(props: PageContainerProps): React.JSX.Element;
4
4
  export default PageContainer;
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
- import type { PageContainerProps } from './props';
2
+ import { PageContainerProps } from './props';
3
3
  declare function PageContainer(props: PageContainerProps): React.JSX.Element;
4
4
  export default PageContainer;
@@ -1,6 +1,6 @@
1
- import type { GenericEvent } from '@ray-js/adapter';
2
- import type * as React from 'react';
3
- import type { BaseProps } from '../types';
1
+ import { BaseProps } from '../types';
2
+ import * as React from 'react';
3
+ import { GenericEvent } from '@ray-js/adapter';
4
4
  export type PageContainerEventType = GenericEvent<{
5
5
  value: any;
6
6
  }>;
@@ -1,4 +1,4 @@
1
- import type { PickerProps } from '@ray-js/adapter';
2
1
  import * as React from 'react';
2
+ import { PickerProps } from '@ray-js/adapter';
3
3
  declare const Picker: React.FC<PickerProps>;
4
4
  export default Picker;
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
+ import * as React from 'react';
3
4
  import { useTouch } from '@ray-js/framework-shared';
4
5
  import { useEventListener } from 'ahooks';
5
- import * as React from 'react';
6
6
  import handleProps from '../utils/handleProps';
7
7
  let countArr = 1;
8
8
  const Picker = props => {
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import type { PickerProps } from '@ray-js/adapter';
1
+ import * as React from 'react';
2
+ import { PickerProps } from '@ray-js/adapter';
3
3
  declare const Picker: React.FC<PickerProps>;
4
4
  export default Picker;
@@ -3,8 +3,9 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
4
  const _excluded = ["className", "style", "id", "onChange", "onTouchStart", "onTouchMove", "onTouchEnd", "onTouchCancel", "onClick", "onCancel"];
5
5
  import clsx from 'clsx';
6
- import { Picker as RemaxPicker } from '@ray-js/adapter';
6
+ import * as React from 'react';
7
7
  import { inlineStyle, useTouch } from '@ray-js/framework-shared';
8
+ import { Picker as RemaxPicker } from '@ray-js/adapter';
8
9
  const Picker = props => {
9
10
  const {
10
11
  className,
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import type { PickerProps } from '@ray-js/adapter';
1
+ import * as React from 'react';
2
+ import { PickerProps } from '@ray-js/adapter';
3
3
  declare const Picker: React.FC<PickerProps>;
4
4
  export default Picker;
@@ -3,8 +3,9 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
4
  const _excluded = ["className", "style", "id", "onChange", "onTouchStart", "onTouchMove", "onTouchEnd", "onTouchCancel", "onClick", "onCancel"];
5
5
  import clsx from 'clsx';
6
- import { Picker as RemaxPicker } from '@ray-js/adapter';
6
+ import * as React from 'react';
7
7
  import { inlineStyle, useTouch } from '@ray-js/framework-shared';
8
+ import { Picker as RemaxPicker } from '@ray-js/adapter';
8
9
  const Picker = props => {
9
10
  const {
10
11
  className,
@@ -1,5 +1,5 @@
1
- import type { PickerViewProps } from '@ray-js/adapter';
2
1
  import * as React from 'react';
2
+ import { PickerViewProps } from '@ray-js/adapter';
3
3
  type PickerViewWebProps = PickerViewProps & {
4
4
  range?: string[] | string[][];
5
5
  };
@@ -2,9 +2,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
3
  import "core-js/modules/esnext.iterator.constructor.js";
4
4
  import "core-js/modules/esnext.iterator.map.js";
5
- import { useEventListener } from 'ahooks';
6
- import clsx from 'clsx';
7
5
  import * as React from 'react';
6
+ import clsx from 'clsx';
7
+ import { useEventListener } from 'ahooks';
8
8
  import PickerViewColumn from '../PickerViewColumn';
9
9
  import handleProps from '../utils/handleProps';
10
10
  import styles from './index.module.less';
@@ -1,4 +1,4 @@
1
- import { type PickerViewProps } from '@ray-js/adapter';
2
- import type * as React from 'react';
1
+ import * as React from 'react';
2
+ import { PickerViewProps } from '@ray-js/adapter';
3
3
  declare const Picker: React.FC<PickerViewProps>;
4
4
  export default Picker;
@@ -2,9 +2,10 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
4
  const _excluded = ["className", "style", "id", "onChange", "onPickstart", "onPickend", "children"];
5
- import { PickerView as RemaxPickerView } from '@ray-js/adapter';
6
- import { inlineStyle } from '@ray-js/framework-shared';
7
5
  import clsx from 'clsx';
6
+ import * as React from 'react';
7
+ import { inlineStyle } from '@ray-js/framework-shared';
8
+ import { PickerView as RemaxPickerView } from '@ray-js/adapter';
8
9
  import styles from './index.module.less';
9
10
  const Picker = props => {
10
11
  const {
@@ -1,4 +1,4 @@
1
- import { type PickerViewProps } from '@ray-js/adapter';
2
- import type * as React from 'react';
1
+ import * as React from 'react';
2
+ import { PickerViewProps } from '@ray-js/adapter';
3
3
  declare const Picker: React.FC<PickerViewProps>;
4
4
  export default Picker;
@@ -2,9 +2,10 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
4
  const _excluded = ["className", "style", "id", "onChange", "onPickstart", "onPickend", "children"];
5
- import { PickerView as RemaxPickerView } from '@ray-js/adapter';
6
- import { inlineStyle } from '@ray-js/framework-shared';
7
5
  import clsx from 'clsx';
6
+ import * as React from 'react';
7
+ import { inlineStyle } from '@ray-js/framework-shared';
8
+ import { PickerView as RemaxPickerView } from '@ray-js/adapter';
8
9
  import styles from './index.module.less';
9
10
  const Picker = props => {
10
11
  const {
@@ -1,4 +1,4 @@
1
- import type { PickerViewColumnProps } from '@ray-js/adapter';
2
- import type * as React from 'react';
1
+ import * as React from 'react';
2
+ import { PickerViewColumnProps } from '@ray-js/adapter';
3
3
  declare const PickerViewColumn: React.FC<PickerViewColumnProps>;
4
4
  export default PickerViewColumn;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import handleProps from '../utils/handleProps';
2
3
  const PickerViewColumn = props => {
3
4
  const {
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
1
+ import * as React from 'react';
2
2
  import type { PickerViewColumnProps } from '@ray-js/adapter';
3
3
  declare const PickerViewColumn: React.FC<PickerViewColumnProps>;
4
4
  export default PickerViewColumn;
@@ -1,8 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  const _excluded = ["style"];
4
- import { PickerViewColumn as RemaxViewColumnPicker } from '@ray-js/adapter';
4
+ import * as React from 'react';
5
5
  import { inlineStyle } from '@ray-js/framework-shared';
6
+ import { PickerViewColumn as RemaxViewColumnPicker } from '@ray-js/adapter';
6
7
  const PickerViewColumn = props => {
7
8
  const {
8
9
  style
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
1
+ import * as React from 'react';
2
2
  import type { PickerViewColumnProps } from '@ray-js/adapter';
3
3
  declare const PickerViewColumn: React.FC<PickerViewColumnProps>;
4
4
  export default PickerViewColumn;
@@ -1,8 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  const _excluded = ["style"];
4
- import { PickerViewColumn as RemaxViewColumnPicker } from '@ray-js/adapter';
4
+ import * as React from 'react';
5
5
  import { inlineStyle } from '@ray-js/framework-shared';
6
+ import { PickerViewColumn as RemaxViewColumnPicker } from '@ray-js/adapter';
6
7
  const PickerViewColumn = props => {
7
8
  const {
8
9
  style
@@ -1,4 +1,4 @@
1
- import type { ProgressProps } from '@ray-js/adapter';
2
- import type * as React from 'react';
1
+ import * as React from 'react';
2
+ import { ProgressProps } from '@ray-js/adapter';
3
3
  declare const Progress: React.FC<ProgressProps>;
4
4
  export default Progress;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import handleProps from '../utils/handleProps';
2
3
  const Progress = props => {
3
4
  return (
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import { type ProgressProps } from '@ray-js/adapter';
1
+ import * as React from 'react';
2
+ import { ProgressProps } from '@ray-js/adapter';
3
3
  declare const Progress: React.FC<ProgressProps>;
4
4
  export default Progress;
@@ -1,8 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  const _excluded = ["style"];
4
- import { Progress as RemaxProgress } from '@ray-js/adapter';
4
+ import * as React from 'react';
5
5
  import { inlineStyle } from '@ray-js/framework-shared';
6
+ import { Progress as RemaxProgress } from '@ray-js/adapter';
6
7
  const Progress = props => {
7
8
  const {
8
9
  style
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import { type ProgressProps } from '@ray-js/adapter';
1
+ import * as React from 'react';
2
+ import { ProgressProps } from '@ray-js/adapter';
3
3
  declare const Progress: React.FC<ProgressProps>;
4
4
  export default Progress;
@@ -1,8 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  const _excluded = ["style"];
4
- import { Progress as RemaxProgress } from '@ray-js/adapter';
4
+ import * as React from 'react';
5
5
  import { inlineStyle } from '@ray-js/framework-shared';
6
+ import { Progress as RemaxProgress } from '@ray-js/adapter';
6
7
  const Progress = props => {
7
8
  const {
8
9
  style
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import type { RadioProps } from './props';
1
+ import * as React from 'react';
2
+ import { RadioProps } from './props';
3
3
  declare const Radio: React.FC<RadioProps>;
4
4
  export default Radio;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import handleProps from '../utils/handleProps';
2
3
  const Radio = props => {
3
4
  // @ts-ignore
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import type { RadioProps } from './props';
1
+ import * as React from 'react';
2
+ import { RadioProps } from './props';
3
3
  declare const Radio: React.FC<RadioProps>;
4
4
  export default Radio;
@@ -2,8 +2,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  const _excluded = ["className", "style", "id"];
4
4
  import clsx from 'clsx';
5
- import { Radio as RemaxRadio } from '@ray-js/adapter';
5
+ import * as React from 'react';
6
6
  import { inlineStyle } from '@ray-js/framework-shared';
7
+ import { Radio as RemaxRadio } from '@ray-js/adapter';
7
8
  const Radio = props => {
8
9
  const {
9
10
  className,
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import type { RadioProps } from './props';
1
+ import * as React from 'react';
2
+ import { RadioProps } from './props';
3
3
  declare const Radio: React.FC<RadioProps>;
4
4
  export default Radio;
@@ -2,8 +2,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  const _excluded = ["className", "style", "id", "color"];
4
4
  import clsx from 'clsx';
5
- import { Radio as RemaxRadio } from '@ray-core/wechat';
5
+ import * as React from 'react';
6
6
  import { inlineStyle } from '@ray-js/framework-shared';
7
+ import { Radio as RemaxRadio } from '@ray-core/wechat';
7
8
  const Radio = props => {
8
9
  const {
9
10
  className,
@@ -1,4 +1,4 @@
1
- import type { BaseProps } from '../types';
1
+ import { BaseProps } from '../types';
2
2
  export interface RadioProps extends BaseProps {
3
3
  /**
4
4
  * @description.en Radio id. When the radio is selected, the radio.group change event carries the value of the radio
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
- import type { RadioGroupProps } from './props';
2
+ import { RadioGroupProps } from './props';
3
3
  declare const RadioGroup: React.FC<RadioGroupProps>;
4
4
  export default RadioGroup;
@@ -2,8 +2,8 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
3
  import "core-js/modules/esnext.iterator.constructor.js";
4
4
  import "core-js/modules/esnext.iterator.map.js";
5
- import { useEventListener } from 'ahooks';
6
5
  import * as React from 'react';
6
+ import { useEventListener } from 'ahooks';
7
7
  import handleProps from '../utils/handleProps';
8
8
  const RadioGroup = props => {
9
9
  const {
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import type { RadioGroupProps } from './props';
1
+ import * as React from 'react';
2
+ import { RadioGroupProps } from './props';
3
3
  declare const RadioGroup: React.FC<RadioGroupProps>;
4
4
  export default RadioGroup;
@@ -3,10 +3,11 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
3
3
  const _excluded = ["options", "name", "disabled", "onChange", "children", "style"];
4
4
  import "core-js/modules/esnext.iterator.constructor.js";
5
5
  import "core-js/modules/esnext.iterator.map.js";
6
+ import * as React from 'react';
6
7
  import { RadioGroup as RemaxRadioGroup } from '@ray-js/adapter';
7
- import { inlineStyle } from '@ray-js/framework-shared';
8
- import Label from '../Label';
9
8
  import Radio from '../Radio';
9
+ import Label from '../Label';
10
+ import { inlineStyle } from '@ray-js/framework-shared';
10
11
  const RadioGroup = props => {
11
12
  const {
12
13
  options,
@@ -1,4 +1,4 @@
1
- import type * as React from 'react';
2
- import type { RadioGroupProps } from './props';
1
+ import * as React from 'react';
2
+ import { RadioGroupProps } from './props';
3
3
  declare const RadioGroup: React.FC<RadioGroupProps>;
4
4
  export default RadioGroup;
@@ -1,8 +1,9 @@
1
1
  import "core-js/modules/esnext.iterator.constructor.js";
2
2
  import "core-js/modules/esnext.iterator.map.js";
3
+ import * as React from 'react';
3
4
  import { RadioGroup as RemaxRadioGroup } from '@ray-core/wechat';
4
- import Label from '../Label';
5
5
  import Radio from '../Radio';
6
+ import Label from '../Label';
6
7
  const RadioGroup = props => {
7
8
  const {
8
9
  options,
@@ -1,6 +1,6 @@
1
- import type { GenericEvent } from '@ray-js/adapter';
2
- import type { RadioProps } from '../Radio/props';
3
- import type { BaseProps } from '../types';
1
+ import { BaseProps } from '../types';
2
+ import { RadioProps } from '../Radio/props';
3
+ import { GenericEvent } from '@ray-js/adapter';
4
4
  export type RadioGroupOption = RadioProps & {
5
5
  label: string;
6
6
  };
@@ -1,4 +1,4 @@
1
- import type { RichTextProps } from '@ray-js/adapter';
2
- import type React from 'react';
1
+ import React from 'react';
2
+ import { RichTextProps } from '@ray-js/adapter';
3
3
  export declare const RichText: React.FC<RichTextProps>;
4
4
  export default RichText;