@ray-js/adapter 1.4.0-alpha.3 → 1.4.0-alpha.5
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.
- package/CHANGELOG.md +26 -0
- package/package.json +7 -7
- package/LICENSE.md +0 -9
- package/cjs/hostComponents/Button/index.d.ts +0 -16
- package/cjs/hostComponents/Button/index.js +0 -15
- package/cjs/hostComponents/Button/node.d.ts +0 -35
- package/cjs/hostComponents/Button/node.js +0 -6
- package/cjs/hostComponents/Camera/index.d.ts +0 -21
- package/cjs/hostComponents/Camera/index.js +0 -16
- package/cjs/hostComponents/Camera/node.d.ts +0 -44
- package/cjs/hostComponents/Camera/node.js +0 -6
- package/cjs/hostComponents/Canvas/index.d.ts +0 -19
- package/cjs/hostComponents/Canvas/index.js +0 -5
- package/cjs/hostComponents/Canvas/node.d.ts +0 -30
- package/cjs/hostComponents/Canvas/node.js +0 -6
- package/cjs/hostComponents/Checkbox/index.d.ts +0 -13
- package/cjs/hostComponents/Checkbox/index.js +0 -9
- package/cjs/hostComponents/Checkbox/node.d.ts +0 -31
- package/cjs/hostComponents/Checkbox/node.js +0 -6
- package/cjs/hostComponents/CheckboxGroup/index.d.ts +0 -10
- package/cjs/hostComponents/CheckboxGroup/index.js +0 -5
- package/cjs/hostComponents/CheckboxGroup/node.d.ts +0 -29
- package/cjs/hostComponents/CheckboxGroup/node.js +0 -6
- package/cjs/hostComponents/CoverView/index.d.ts +0 -6
- package/cjs/hostComponents/CoverView/index.js +0 -6
- package/cjs/hostComponents/CoverView/node.d.ts +0 -27
- package/cjs/hostComponents/CoverView/node.js +0 -6
- package/cjs/hostComponents/Form/index.d.ts +0 -13
- package/cjs/hostComponents/Form/index.js +0 -9
- package/cjs/hostComponents/Form/node.d.ts +0 -31
- package/cjs/hostComponents/Form/node.js +0 -6
- package/cjs/hostComponents/Iframe/index.d.ts +0 -21
- package/cjs/hostComponents/Iframe/index.js +0 -6
- package/cjs/hostComponents/Iframe/node.d.ts +0 -31
- package/cjs/hostComponents/Iframe/node.js +0 -6
- package/cjs/hostComponents/Image/index.d.ts +0 -43
- package/cjs/hostComponents/Image/index.js +0 -8
- package/cjs/hostComponents/Image/node.d.ts +0 -32
- package/cjs/hostComponents/Image/node.js +0 -6
- package/cjs/hostComponents/Input/index.d.ts +0 -25
- package/cjs/hostComponents/Input/index.js +0 -18
- package/cjs/hostComponents/Input/node.d.ts +0 -47
- package/cjs/hostComponents/Input/node.js +0 -6
- package/cjs/hostComponents/IpcPlayer/index.d.ts +0 -41
- package/cjs/hostComponents/IpcPlayer/index.js +0 -24
- package/cjs/hostComponents/IpcPlayer/node.d.ts +0 -53
- package/cjs/hostComponents/IpcPlayer/node.js +0 -6
- package/cjs/hostComponents/Label/index.d.ts +0 -7
- package/cjs/hostComponents/Label/index.js +0 -5
- package/cjs/hostComponents/Label/node.d.ts +0 -28
- package/cjs/hostComponents/Label/node.js +0 -6
- package/cjs/hostComponents/Map/index.d.ts +0 -66
- package/cjs/hostComponents/Map/index.js +0 -15
- package/cjs/hostComponents/Map/node.d.ts +0 -50
- package/cjs/hostComponents/Map/node.js +0 -6
- package/cjs/hostComponents/MovableArea/index.d.ts +0 -7
- package/cjs/hostComponents/MovableArea/index.js +0 -8
- package/cjs/hostComponents/MovableArea/node.d.ts +0 -28
- package/cjs/hostComponents/MovableArea/node.js +0 -6
- package/cjs/hostComponents/MovableView/index.d.ts +0 -25
- package/cjs/hostComponents/MovableView/index.js +0 -21
- package/cjs/hostComponents/MovableView/node.d.ts +0 -43
- package/cjs/hostComponents/MovableView/node.js +0 -6
- package/cjs/hostComponents/NativeVideo/index.d.ts +0 -38
- package/cjs/hostComponents/NativeVideo/index.js +0 -21
- package/cjs/hostComponents/NativeVideo/node.d.ts +0 -61
- package/cjs/hostComponents/NativeVideo/node.js +0 -6
- package/cjs/hostComponents/Navigator/index.d.ts +0 -38
- package/cjs/hostComponents/Navigator/index.js +0 -17
- package/cjs/hostComponents/Navigator/node.d.ts +0 -23
- package/cjs/hostComponents/Navigator/node.js +0 -26
- package/cjs/hostComponents/PageContainer/index.d.ts +0 -20
- package/cjs/hostComponents/PageContainer/index.js +0 -14
- package/cjs/hostComponents/PageContainer/node.d.ts +0 -43
- package/cjs/hostComponents/PageContainer/node.js +0 -6
- package/cjs/hostComponents/Picker/index.d.ts +0 -64
- package/cjs/hostComponents/Picker/index.js +0 -13
- package/cjs/hostComponents/Picker/node.d.ts +0 -40
- package/cjs/hostComponents/Picker/node.js +0 -6
- package/cjs/hostComponents/PickerView/index.d.ts +0 -17
- package/cjs/hostComponents/PickerView/index.js +0 -5
- package/cjs/hostComponents/PickerView/node.d.ts +0 -33
- package/cjs/hostComponents/PickerView/node.js +0 -6
- package/cjs/hostComponents/PickerViewColumn/index.d.ts +0 -4
- package/cjs/hostComponents/PickerViewColumn/index.js +0 -5
- package/cjs/hostComponents/PickerViewColumn/node.d.ts +0 -27
- package/cjs/hostComponents/PickerViewColumn/node.js +0 -6
- package/cjs/hostComponents/Progress/index.d.ts +0 -14
- package/cjs/hostComponents/Progress/index.js +0 -13
- package/cjs/hostComponents/Progress/node.d.ts +0 -36
- package/cjs/hostComponents/Progress/node.js +0 -6
- package/cjs/hostComponents/Radio/index.d.ts +0 -13
- package/cjs/hostComponents/Radio/index.js +0 -9
- package/cjs/hostComponents/Radio/node.d.ts +0 -31
- package/cjs/hostComponents/Radio/node.js +0 -6
- package/cjs/hostComponents/RadioGroup/index.d.ts +0 -11
- package/cjs/hostComponents/RadioGroup/index.js +0 -5
- package/cjs/hostComponents/RadioGroup/node.d.ts +0 -29
- package/cjs/hostComponents/RadioGroup/node.js +0 -6
- package/cjs/hostComponents/RichText/index.d.ts +0 -13
- package/cjs/hostComponents/RichText/index.js +0 -6
- package/cjs/hostComponents/RichText/node.d.ts +0 -28
- package/cjs/hostComponents/RichText/node.js +0 -6
- package/cjs/hostComponents/ScrollView/index.d.ts +0 -31
- package/cjs/hostComponents/ScrollView/index.js +0 -17
- package/cjs/hostComponents/ScrollView/node.d.ts +0 -53
- package/cjs/hostComponents/ScrollView/node.js +0 -8
- package/cjs/hostComponents/Slider/index.d.ts +0 -27
- package/cjs/hostComponents/Slider/index.js +0 -15
- package/cjs/hostComponents/Slider/node.d.ts +0 -41
- package/cjs/hostComponents/Slider/node.js +0 -6
- package/cjs/hostComponents/Swiper/index.d.ts +0 -21
- package/cjs/hostComponents/Swiper/index.js +0 -15
- package/cjs/hostComponents/Swiper/node.d.ts +0 -43
- package/cjs/hostComponents/Swiper/node.js +0 -6
- package/cjs/hostComponents/SwiperItem/index.d.ts +0 -7
- package/cjs/hostComponents/SwiperItem/index.js +0 -5
- package/cjs/hostComponents/SwiperItem/node.d.ts +0 -29
- package/cjs/hostComponents/SwiperItem/node.js +0 -6
- package/cjs/hostComponents/Switch/index.d.ts +0 -19
- package/cjs/hostComponents/Switch/index.js +0 -14
- package/cjs/hostComponents/Switch/node.d.ts +0 -33
- package/cjs/hostComponents/Switch/node.js +0 -6
- package/cjs/hostComponents/Text/index.d.ts +0 -8
- package/cjs/hostComponents/Text/index.js +0 -9
- package/cjs/hostComponents/Text/node.d.ts +0 -31
- package/cjs/hostComponents/Text/node.js +0 -6
- package/cjs/hostComponents/Textarea/index.d.ts +0 -24
- package/cjs/hostComponents/Textarea/index.js +0 -23
- package/cjs/hostComponents/Textarea/node.d.ts +0 -47
- package/cjs/hostComponents/Textarea/node.js +0 -6
- package/cjs/hostComponents/Video/index.d.ts +0 -37
- package/cjs/hostComponents/Video/index.js +0 -5
- package/cjs/hostComponents/Video/node.d.ts +0 -57
- package/cjs/hostComponents/Video/node.js +0 -7
- package/cjs/hostComponents/View/index.d.ts +0 -24
- package/cjs/hostComponents/View/index.js +0 -11
- package/cjs/hostComponents/View/node.d.ts +0 -28
- package/cjs/hostComponents/View/node.js +0 -6
- package/cjs/hostComponents/WebView/index.d.ts +0 -21
- package/cjs/hostComponents/WebView/index.js +0 -6
- package/cjs/hostComponents/WebView/node.d.ts +0 -32
- package/cjs/hostComponents/WebView/node.js +0 -6
- package/cjs/hostComponents/index.d.ts +0 -35
- package/cjs/hostComponents/index.js +0 -51
- package/cjs/hostComponents/node.d.ts +0 -2
- package/cjs/hostComponents/node.js +0 -97
- package/cjs/hostComponents/universal.d.ts +0 -26
- package/cjs/hostComponents/universal.js +0 -29
- package/cjs/index.d.ts +0 -2
- package/cjs/index.js +0 -18
- package/cjs/node/index.d.ts +0 -3
- package/cjs/node/index.js +0 -48
- package/cjs/types/component.d.ts +0 -84
- package/cjs/types/component.js +0 -2
- package/cjs/types/config.d.ts +0 -185
- package/cjs/types/config.js +0 -2
- package/cjs/types/index.d.ts +0 -2
- package/cjs/types/index.js +0 -17
- package/esm/hostComponents/Button/index.d.ts +0 -16
- package/esm/hostComponents/Button/index.js +0 -12
- package/esm/hostComponents/Button/node.d.ts +0 -35
- package/esm/hostComponents/Button/node.js +0 -3
- package/esm/hostComponents/Camera/index.d.ts +0 -21
- package/esm/hostComponents/Camera/index.js +0 -13
- package/esm/hostComponents/Camera/node.d.ts +0 -44
- package/esm/hostComponents/Camera/node.js +0 -3
- package/esm/hostComponents/Canvas/index.d.ts +0 -19
- package/esm/hostComponents/Canvas/index.js +0 -2
- package/esm/hostComponents/Canvas/node.d.ts +0 -30
- package/esm/hostComponents/Canvas/node.js +0 -3
- package/esm/hostComponents/Checkbox/index.d.ts +0 -13
- package/esm/hostComponents/Checkbox/index.js +0 -6
- package/esm/hostComponents/Checkbox/node.d.ts +0 -31
- package/esm/hostComponents/Checkbox/node.js +0 -3
- package/esm/hostComponents/CheckboxGroup/index.d.ts +0 -10
- package/esm/hostComponents/CheckboxGroup/index.js +0 -2
- package/esm/hostComponents/CheckboxGroup/node.d.ts +0 -29
- package/esm/hostComponents/CheckboxGroup/node.js +0 -3
- package/esm/hostComponents/CoverView/index.d.ts +0 -6
- package/esm/hostComponents/CoverView/index.js +0 -3
- package/esm/hostComponents/CoverView/node.d.ts +0 -27
- package/esm/hostComponents/CoverView/node.js +0 -3
- package/esm/hostComponents/Form/index.d.ts +0 -13
- package/esm/hostComponents/Form/index.js +0 -6
- package/esm/hostComponents/Form/node.d.ts +0 -31
- package/esm/hostComponents/Form/node.js +0 -3
- package/esm/hostComponents/Iframe/index.d.ts +0 -21
- package/esm/hostComponents/Iframe/index.js +0 -3
- package/esm/hostComponents/Iframe/node.d.ts +0 -31
- package/esm/hostComponents/Iframe/node.js +0 -3
- package/esm/hostComponents/Image/index.d.ts +0 -43
- package/esm/hostComponents/Image/index.js +0 -5
- package/esm/hostComponents/Image/node.d.ts +0 -32
- package/esm/hostComponents/Image/node.js +0 -3
- package/esm/hostComponents/Input/index.d.ts +0 -25
- package/esm/hostComponents/Input/index.js +0 -15
- package/esm/hostComponents/Input/node.d.ts +0 -47
- package/esm/hostComponents/Input/node.js +0 -3
- package/esm/hostComponents/IpcPlayer/index.d.ts +0 -41
- package/esm/hostComponents/IpcPlayer/index.js +0 -21
- package/esm/hostComponents/IpcPlayer/node.d.ts +0 -53
- package/esm/hostComponents/IpcPlayer/node.js +0 -3
- package/esm/hostComponents/Label/index.d.ts +0 -7
- package/esm/hostComponents/Label/index.js +0 -2
- package/esm/hostComponents/Label/node.d.ts +0 -28
- package/esm/hostComponents/Label/node.js +0 -3
- package/esm/hostComponents/Map/index.d.ts +0 -66
- package/esm/hostComponents/Map/index.js +0 -12
- package/esm/hostComponents/Map/node.d.ts +0 -50
- package/esm/hostComponents/Map/node.js +0 -3
- package/esm/hostComponents/MovableArea/index.d.ts +0 -7
- package/esm/hostComponents/MovableArea/index.js +0 -5
- package/esm/hostComponents/MovableArea/node.d.ts +0 -28
- package/esm/hostComponents/MovableArea/node.js +0 -3
- package/esm/hostComponents/MovableView/index.d.ts +0 -25
- package/esm/hostComponents/MovableView/index.js +0 -18
- package/esm/hostComponents/MovableView/node.d.ts +0 -43
- package/esm/hostComponents/MovableView/node.js +0 -3
- package/esm/hostComponents/NativeVideo/index.d.ts +0 -38
- package/esm/hostComponents/NativeVideo/index.js +0 -18
- package/esm/hostComponents/NativeVideo/node.d.ts +0 -61
- package/esm/hostComponents/NativeVideo/node.js +0 -3
- package/esm/hostComponents/Navigator/index.d.ts +0 -38
- package/esm/hostComponents/Navigator/index.js +0 -14
- package/esm/hostComponents/Navigator/node.d.ts +0 -23
- package/esm/hostComponents/Navigator/node.js +0 -23
- package/esm/hostComponents/PageContainer/index.d.ts +0 -20
- package/esm/hostComponents/PageContainer/index.js +0 -11
- package/esm/hostComponents/PageContainer/node.d.ts +0 -43
- package/esm/hostComponents/PageContainer/node.js +0 -3
- package/esm/hostComponents/Picker/index.d.ts +0 -64
- package/esm/hostComponents/Picker/index.js +0 -10
- package/esm/hostComponents/Picker/node.d.ts +0 -40
- package/esm/hostComponents/Picker/node.js +0 -3
- package/esm/hostComponents/PickerView/index.d.ts +0 -17
- package/esm/hostComponents/PickerView/index.js +0 -2
- package/esm/hostComponents/PickerView/node.d.ts +0 -33
- package/esm/hostComponents/PickerView/node.js +0 -3
- package/esm/hostComponents/PickerViewColumn/index.d.ts +0 -4
- package/esm/hostComponents/PickerViewColumn/index.js +0 -2
- package/esm/hostComponents/PickerViewColumn/node.d.ts +0 -27
- package/esm/hostComponents/PickerViewColumn/node.js +0 -3
- package/esm/hostComponents/Progress/index.d.ts +0 -14
- package/esm/hostComponents/Progress/index.js +0 -10
- package/esm/hostComponents/Progress/node.d.ts +0 -36
- package/esm/hostComponents/Progress/node.js +0 -3
- package/esm/hostComponents/Radio/index.d.ts +0 -13
- package/esm/hostComponents/Radio/index.js +0 -6
- package/esm/hostComponents/Radio/node.d.ts +0 -31
- package/esm/hostComponents/Radio/node.js +0 -3
- package/esm/hostComponents/RadioGroup/index.d.ts +0 -11
- package/esm/hostComponents/RadioGroup/index.js +0 -2
- package/esm/hostComponents/RadioGroup/node.d.ts +0 -29
- package/esm/hostComponents/RadioGroup/node.js +0 -3
- package/esm/hostComponents/RichText/index.d.ts +0 -13
- package/esm/hostComponents/RichText/index.js +0 -3
- package/esm/hostComponents/RichText/node.d.ts +0 -28
- package/esm/hostComponents/RichText/node.js +0 -3
- package/esm/hostComponents/ScrollView/index.d.ts +0 -31
- package/esm/hostComponents/ScrollView/index.js +0 -14
- package/esm/hostComponents/ScrollView/node.d.ts +0 -53
- package/esm/hostComponents/ScrollView/node.js +0 -5
- package/esm/hostComponents/Slider/index.d.ts +0 -27
- package/esm/hostComponents/Slider/index.js +0 -12
- package/esm/hostComponents/Slider/node.d.ts +0 -41
- package/esm/hostComponents/Slider/node.js +0 -3
- package/esm/hostComponents/Swiper/index.d.ts +0 -21
- package/esm/hostComponents/Swiper/index.js +0 -12
- package/esm/hostComponents/Swiper/node.d.ts +0 -43
- package/esm/hostComponents/Swiper/node.js +0 -3
- package/esm/hostComponents/SwiperItem/index.d.ts +0 -7
- package/esm/hostComponents/SwiperItem/index.js +0 -2
- package/esm/hostComponents/SwiperItem/node.d.ts +0 -29
- package/esm/hostComponents/SwiperItem/node.js +0 -3
- package/esm/hostComponents/Switch/index.d.ts +0 -19
- package/esm/hostComponents/Switch/index.js +0 -11
- package/esm/hostComponents/Switch/node.d.ts +0 -33
- package/esm/hostComponents/Switch/node.js +0 -3
- package/esm/hostComponents/Text/index.d.ts +0 -8
- package/esm/hostComponents/Text/index.js +0 -6
- package/esm/hostComponents/Text/node.d.ts +0 -31
- package/esm/hostComponents/Text/node.js +0 -3
- package/esm/hostComponents/Textarea/index.d.ts +0 -24
- package/esm/hostComponents/Textarea/index.js +0 -20
- package/esm/hostComponents/Textarea/node.d.ts +0 -47
- package/esm/hostComponents/Textarea/node.js +0 -3
- package/esm/hostComponents/Video/index.d.ts +0 -37
- package/esm/hostComponents/Video/index.js +0 -2
- package/esm/hostComponents/Video/node.d.ts +0 -57
- package/esm/hostComponents/Video/node.js +0 -4
- package/esm/hostComponents/View/index.d.ts +0 -24
- package/esm/hostComponents/View/index.js +0 -8
- package/esm/hostComponents/View/node.d.ts +0 -28
- package/esm/hostComponents/View/node.js +0 -3
- package/esm/hostComponents/WebView/index.d.ts +0 -21
- package/esm/hostComponents/WebView/index.js +0 -3
- package/esm/hostComponents/WebView/node.d.ts +0 -32
- package/esm/hostComponents/WebView/node.js +0 -3
- package/esm/hostComponents/index.d.ts +0 -35
- package/esm/hostComponents/index.js +0 -35
- package/esm/hostComponents/node.d.ts +0 -2
- package/esm/hostComponents/node.js +0 -72
- package/esm/hostComponents/universal.d.ts +0 -26
- package/esm/hostComponents/universal.js +0 -26
- package/esm/index.d.ts +0 -2
- package/esm/index.js +0 -2
- package/esm/node/index.d.ts +0 -3
- package/esm/node/index.js +0 -20
- package/esm/types/component.d.ts +0 -84
- package/esm/types/component.js +0 -1
- package/esm/types/config.d.ts +0 -185
- package/esm/types/config.js +0 -1
- package/esm/types/index.d.ts +0 -2
- package/esm/types/index.js +0 -1
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps, GenericEvent } from '../../types/component';
|
|
3
|
-
export interface SwitchProps extends BaseProps {
|
|
4
|
-
name?: string;
|
|
5
|
-
/** (default: false) 是否选中 */
|
|
6
|
-
checked?: boolean;
|
|
7
|
-
/** (default: false) 是否禁用 */
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
/** switch 样式,有效值:switch, checkbox */
|
|
10
|
-
type?: 'switch' | 'checkbox';
|
|
11
|
-
/** #ffffff switch 的颜色,同 css 的 color */
|
|
12
|
-
color?: string;
|
|
13
|
-
/** checked 改变时触发 change 事件,event.detail={ value} */
|
|
14
|
-
onChange?: (event: GenericEvent) => any;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* https://developers.weixin.qq.com/miniprogram/dev/component/switch.html
|
|
18
|
-
*/
|
|
19
|
-
export declare const Switch: React.ComponentType<SwitchProps>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { createHostComponent } from '@ray-core/runtime';
|
|
2
|
-
/**
|
|
3
|
-
* https://developers.weixin.qq.com/miniprogram/dev/component/switch.html
|
|
4
|
-
*/
|
|
5
|
-
export const Switch = createHostComponent('switch');
|
|
6
|
-
Switch.defaultProps = {
|
|
7
|
-
// checked: false,
|
|
8
|
-
// disabled: false,
|
|
9
|
-
type: 'switch',
|
|
10
|
-
color: '#ffffff',
|
|
11
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
id: string;
|
|
3
|
-
className: string;
|
|
4
|
-
animation: string;
|
|
5
|
-
style: string;
|
|
6
|
-
name: string;
|
|
7
|
-
checked: string;
|
|
8
|
-
disabled: string;
|
|
9
|
-
color: string;
|
|
10
|
-
onChange: string;
|
|
11
|
-
type: string;
|
|
12
|
-
disableScroll: string;
|
|
13
|
-
hoverClass: string;
|
|
14
|
-
hoverClassName: string;
|
|
15
|
-
hoverStartTime: string;
|
|
16
|
-
hoverStayTime: string;
|
|
17
|
-
hidden: string;
|
|
18
|
-
hoverStopPropagation: string;
|
|
19
|
-
onTap: string;
|
|
20
|
-
onClick: string;
|
|
21
|
-
onTouchStart: string;
|
|
22
|
-
onTouchMove: string;
|
|
23
|
-
onTouchEnd: string;
|
|
24
|
-
onTouchCancel: string;
|
|
25
|
-
onLongTap: string;
|
|
26
|
-
onLongClick: string;
|
|
27
|
-
onLongPress: string;
|
|
28
|
-
onTransitionEnd: string;
|
|
29
|
-
onAnimationIteration: string;
|
|
30
|
-
onAnimationStart: string;
|
|
31
|
-
onAnimationEnd: string;
|
|
32
|
-
};
|
|
33
|
-
export declare const props: string[];
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
2
|
-
export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', checked: 'checked', disabled: 'disabled', color: 'color', onChange: 'bindchange', type: 'type' });
|
|
3
|
-
export const props = Object.values(alias);
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps } from '../../types/component';
|
|
3
|
-
export interface TextProps extends BaseProps {
|
|
4
|
-
userSelect?: boolean;
|
|
5
|
-
space?: 'ensp' | 'emsp' | 'nbsp';
|
|
6
|
-
decode?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const Text: React.ComponentType<TextProps>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
id: string;
|
|
3
|
-
className: string;
|
|
4
|
-
animation: string;
|
|
5
|
-
style: string;
|
|
6
|
-
selectable: string;
|
|
7
|
-
userSelect: string;
|
|
8
|
-
space: string;
|
|
9
|
-
decode: string;
|
|
10
|
-
onTap: string;
|
|
11
|
-
onClick: string;
|
|
12
|
-
disableScroll: string;
|
|
13
|
-
hoverClass: string;
|
|
14
|
-
hoverClassName: string;
|
|
15
|
-
hoverStartTime: string;
|
|
16
|
-
hoverStayTime: string;
|
|
17
|
-
hidden: string;
|
|
18
|
-
hoverStopPropagation: string;
|
|
19
|
-
onTouchStart: string;
|
|
20
|
-
onTouchMove: string;
|
|
21
|
-
onTouchEnd: string;
|
|
22
|
-
onTouchCancel: string;
|
|
23
|
-
onLongTap: string;
|
|
24
|
-
onLongClick: string;
|
|
25
|
-
onLongPress: string;
|
|
26
|
-
onTransitionEnd: string;
|
|
27
|
-
onAnimationIteration: string;
|
|
28
|
-
onAnimationStart: string;
|
|
29
|
-
onAnimationEnd: string;
|
|
30
|
-
};
|
|
31
|
-
export declare const props: string[];
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
2
|
-
export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', selectable: 'selectable', userSelect: 'user-select', space: 'space', decode: 'decode', onTap: 'bindtap', onClick: 'bindtap' });
|
|
3
|
-
export const props = Object.values(alias);
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps, GenericEvent } from '../../types/component';
|
|
3
|
-
export interface TextareaProps extends BaseProps {
|
|
4
|
-
name?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
placeholderStyle?: string;
|
|
8
|
-
disabled?: Boolean;
|
|
9
|
-
maxlength?: Number;
|
|
10
|
-
focus?: Boolean;
|
|
11
|
-
autoHeight?: Boolean;
|
|
12
|
-
cursorSpacing?: Number;
|
|
13
|
-
cursor?: Number;
|
|
14
|
-
selectionStart?: Number;
|
|
15
|
-
selectionEnd?: Number;
|
|
16
|
-
adjustPosition?: Boolean;
|
|
17
|
-
onInput?: (event: GenericEvent) => void;
|
|
18
|
-
onFocus?: (event: GenericEvent) => void;
|
|
19
|
-
onBlur?: (event: GenericEvent) => void;
|
|
20
|
-
onConfirm?: (event: GenericEvent) => void;
|
|
21
|
-
onLineChange?: (event: GenericEvent) => void;
|
|
22
|
-
onKeyboardHeightChange?: (event: GenericEvent) => void;
|
|
23
|
-
}
|
|
24
|
-
export declare const Textarea: React.ComponentType<TextareaProps>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { createHostComponent } from '@ray-core/runtime';
|
|
2
|
-
export const Textarea = createHostComponent('textarea');
|
|
3
|
-
Textarea.defaultProps = {
|
|
4
|
-
// disabled: false,
|
|
5
|
-
// focus: false,
|
|
6
|
-
// autoHeight: false,
|
|
7
|
-
// cursor: -1,
|
|
8
|
-
// selectionStart: -1,
|
|
9
|
-
// selectionEnd: -1,
|
|
10
|
-
/**
|
|
11
|
-
* 修复 <Textarea maxLength={1000} />
|
|
12
|
-
* 在编译时会将 maxLength 转为 maxlength,但实际 defaultProps 中 仍然使用 maxLength
|
|
13
|
-
* 最终导致传给组件的props { maxlength: 1000, maxlength: 140 }
|
|
14
|
-
* 最后经过 html2mini-plugin 转换后 maxLength 再次转为 maxlength, 且值变为 140。
|
|
15
|
-
* 最终导致值错误
|
|
16
|
-
*/
|
|
17
|
-
maxlength: 140,
|
|
18
|
-
cursorSpacing: 0,
|
|
19
|
-
adjustPosition: true,
|
|
20
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
id: string;
|
|
3
|
-
className: string;
|
|
4
|
-
animation: string;
|
|
5
|
-
style: string;
|
|
6
|
-
name: string;
|
|
7
|
-
value: string;
|
|
8
|
-
placeholder: string;
|
|
9
|
-
placeholderStyle: string;
|
|
10
|
-
disabled: string;
|
|
11
|
-
maxLength: string;
|
|
12
|
-
maxlength: string;
|
|
13
|
-
focus: string;
|
|
14
|
-
autoHeight: string;
|
|
15
|
-
cursorSpacing: string;
|
|
16
|
-
cursor: string;
|
|
17
|
-
selectionStart: string;
|
|
18
|
-
selectionEnd: string;
|
|
19
|
-
adjustPosition: string;
|
|
20
|
-
onInput: string;
|
|
21
|
-
onFocus: string;
|
|
22
|
-
onBlur: string;
|
|
23
|
-
onConfirm: string;
|
|
24
|
-
onLineChange: string;
|
|
25
|
-
onKeyboardHeightChange: string;
|
|
26
|
-
disableScroll: string;
|
|
27
|
-
hoverClass: string;
|
|
28
|
-
hoverClassName: string;
|
|
29
|
-
hoverStartTime: string;
|
|
30
|
-
hoverStayTime: string;
|
|
31
|
-
hidden: string;
|
|
32
|
-
hoverStopPropagation: string;
|
|
33
|
-
onTap: string;
|
|
34
|
-
onClick: string;
|
|
35
|
-
onTouchStart: string;
|
|
36
|
-
onTouchMove: string;
|
|
37
|
-
onTouchEnd: string;
|
|
38
|
-
onTouchCancel: string;
|
|
39
|
-
onLongTap: string;
|
|
40
|
-
onLongClick: string;
|
|
41
|
-
onLongPress: string;
|
|
42
|
-
onTransitionEnd: string;
|
|
43
|
-
onAnimationIteration: string;
|
|
44
|
-
onAnimationStart: string;
|
|
45
|
-
onAnimationEnd: string;
|
|
46
|
-
};
|
|
47
|
-
export declare const props: string[];
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
2
|
-
export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', name: 'name', value: 'value', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', maxlength: 'maxlength', focus: 'focus', autoHeight: 'auto-height', cursorSpacing: 'cursor-spacing', cursor: 'cursor', selectionStart: 'selection-start', selectionEnd: 'selection-end', adjustPosition: 'adjust-position', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm', onLineChange: 'bindline-change', onKeyboardHeightChange: 'bindkeyboardheightchange' });
|
|
3
|
-
export const props = Object.values(alias);
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface VideoProps {
|
|
3
|
-
id?: string;
|
|
4
|
-
className?: string;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
src?: string;
|
|
7
|
-
duration?: number;
|
|
8
|
-
controls?: boolean;
|
|
9
|
-
danmuList?: string;
|
|
10
|
-
danmuBtn?: boolean;
|
|
11
|
-
enableDanmu?: boolean;
|
|
12
|
-
autoplay?: boolean;
|
|
13
|
-
loop?: boolean;
|
|
14
|
-
muted?: boolean;
|
|
15
|
-
initialTime?: number;
|
|
16
|
-
showFullscreenBtn?: boolean;
|
|
17
|
-
showPlayBtn?: boolean;
|
|
18
|
-
showCenterPlayBtn?: boolean;
|
|
19
|
-
objectFit?: string;
|
|
20
|
-
poster?: string;
|
|
21
|
-
showMuteBtn?: boolean;
|
|
22
|
-
onPlay?: (event: any) => void;
|
|
23
|
-
onPause?: (event: any) => void;
|
|
24
|
-
onEnded?: (event: any) => void;
|
|
25
|
-
onTimeUpdate?: (event: any) => void;
|
|
26
|
-
onWaiting?: (event: any) => void;
|
|
27
|
-
onError?: (event: any) => void;
|
|
28
|
-
onProgress?: (event: any) => void;
|
|
29
|
-
onLoadedMetadata?: (event: any) => void;
|
|
30
|
-
onCanplay?: (event: any) => void;
|
|
31
|
-
onCanplayThrough?: (event: any) => void;
|
|
32
|
-
onPlaying?: (event: any) => void;
|
|
33
|
-
onRateChange?: (event: any) => void;
|
|
34
|
-
onVolumeChange?: (event: any) => void;
|
|
35
|
-
onSeekComplete?: (event: any) => void;
|
|
36
|
-
}
|
|
37
|
-
export declare const Video: React.ComponentType<VideoProps>;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
id: string;
|
|
3
|
-
className: string;
|
|
4
|
-
style: string;
|
|
5
|
-
src: string;
|
|
6
|
-
duration: string;
|
|
7
|
-
controls: string;
|
|
8
|
-
danmuList: string;
|
|
9
|
-
danmuBtn: string;
|
|
10
|
-
enableDanmu: string;
|
|
11
|
-
autoplay: string;
|
|
12
|
-
loop: string;
|
|
13
|
-
muted: string;
|
|
14
|
-
initialTime: string;
|
|
15
|
-
showFullscreenBtn: string;
|
|
16
|
-
showPlayBtn: string;
|
|
17
|
-
showCenterPlayBtn: string;
|
|
18
|
-
objectFit: string;
|
|
19
|
-
poster: string;
|
|
20
|
-
showMuteBtn: string;
|
|
21
|
-
onPlay: string;
|
|
22
|
-
onPause: string;
|
|
23
|
-
onEnded: string;
|
|
24
|
-
onTimeUpdate: string;
|
|
25
|
-
onWaiting: string;
|
|
26
|
-
onError: string;
|
|
27
|
-
onProgress: string;
|
|
28
|
-
onLoadedMetadata: string;
|
|
29
|
-
onCanplay: string;
|
|
30
|
-
onCanplayThrough: string;
|
|
31
|
-
onPlaying: string;
|
|
32
|
-
onRateChange: string;
|
|
33
|
-
onVolumeChange: string;
|
|
34
|
-
onSeekComplete: string;
|
|
35
|
-
disableScroll: string;
|
|
36
|
-
hoverClass: string;
|
|
37
|
-
hoverClassName: string;
|
|
38
|
-
hoverStartTime: string;
|
|
39
|
-
hoverStayTime: string;
|
|
40
|
-
hidden: string;
|
|
41
|
-
animation: string;
|
|
42
|
-
hoverStopPropagation: string;
|
|
43
|
-
onTap: string;
|
|
44
|
-
onClick: string;
|
|
45
|
-
onTouchStart: string;
|
|
46
|
-
onTouchMove: string;
|
|
47
|
-
onTouchEnd: string;
|
|
48
|
-
onTouchCancel: string;
|
|
49
|
-
onLongTap: string;
|
|
50
|
-
onLongClick: string;
|
|
51
|
-
onLongPress: string;
|
|
52
|
-
onTransitionEnd: string;
|
|
53
|
-
onAnimationIteration: string;
|
|
54
|
-
onAnimationStart: string;
|
|
55
|
-
onAnimationEnd: string;
|
|
56
|
-
};
|
|
57
|
-
export declare const props: string[];
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { unique } from '@ray-core/shared';
|
|
2
|
-
import { universalAlias } from '../universal';
|
|
3
|
-
export const alias = Object.assign(Object.assign({}, universalAlias), { id: 'id', className: 'class', style: 'style', src: 'src', duration: 'duration', controls: 'controls', danmuList: 'danmu-list', danmuBtn: 'danmu-btn', enableDanmu: 'enable-danmu', autoplay: 'autoplay', loop: 'loop', muted: 'muted', initialTime: 'initial-time', showFullscreenBtn: 'show-fullscreen-btn', showPlayBtn: 'show-play-btn', showCenterPlayBtn: 'show-center-play-btn', objectFit: 'object-fit', poster: 'poster', showMuteBtn: 'show-mute-btn', onPlay: 'bindplay', onPause: 'bindpause', onEnded: 'bindended', onTimeUpdate: 'bindtimeupdate', onWaiting: 'bindwaiting', onError: 'binderror', onProgress: 'bindprogress', onLoadedMetadata: 'bindloadedmetadata', onCanplay: 'bindcanplay', onCanplayThrough: 'bindcanplaythrough', onPlaying: 'bindplaying', onRateChange: 'bindratechange', onVolumeChange: 'bindvolumechange', onSeekComplete: 'bindseekcomplete' });
|
|
4
|
-
export const props = unique(Object.values(alias));
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps, TouchEvent } from '../../types/component';
|
|
3
|
-
export interface ViewProps extends BaseProps {
|
|
4
|
-
slot?: string;
|
|
5
|
-
/** 指定按下去的样式类。当为 "none" 时,没有点击态效果 1.0.0 */
|
|
6
|
-
hoverClassName?: string;
|
|
7
|
-
/** 指定是否阻止本节点的祖先节点出现点击态 1.5.0 */
|
|
8
|
-
hoverStopPropagation?: boolean;
|
|
9
|
-
/** (default: 50) 按住后多久出现点击态,单位毫秒 1.0.0 */
|
|
10
|
-
hoverStartTime?: number;
|
|
11
|
-
/** (default: 400) 手指松开后点击态保留时间,单位毫秒 1.0.0 */
|
|
12
|
-
hoverStayTime?: number;
|
|
13
|
-
disableScroll?: boolean;
|
|
14
|
-
onTouchStart?: (event: TouchEvent) => any;
|
|
15
|
-
onTouchMove?: (event: TouchEvent) => any;
|
|
16
|
-
onTouchEnd?: (event: TouchEvent) => any;
|
|
17
|
-
onTouchCancel?: (event: TouchEvent) => any;
|
|
18
|
-
onLongClick?: (event: TouchEvent) => any;
|
|
19
|
-
onTransitionEnd?: (event: any) => any;
|
|
20
|
-
onAnimationIteration?: (event: any) => any;
|
|
21
|
-
onAnimationStart?: (event: any) => any;
|
|
22
|
-
onAnimationEnd?: (event: any) => any;
|
|
23
|
-
}
|
|
24
|
-
export declare const View: React.ComponentType<ViewProps>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
catchTouchMove: string;
|
|
3
|
-
id: string;
|
|
4
|
-
disableScroll: string;
|
|
5
|
-
hoverClass: string;
|
|
6
|
-
hoverClassName: string;
|
|
7
|
-
hoverStartTime: string;
|
|
8
|
-
hoverStayTime: string;
|
|
9
|
-
hidden: string;
|
|
10
|
-
className: string;
|
|
11
|
-
animation: string;
|
|
12
|
-
style: string;
|
|
13
|
-
hoverStopPropagation: string;
|
|
14
|
-
onTap: string;
|
|
15
|
-
onClick: string;
|
|
16
|
-
onTouchStart: string;
|
|
17
|
-
onTouchMove: string;
|
|
18
|
-
onTouchEnd: string;
|
|
19
|
-
onTouchCancel: string;
|
|
20
|
-
onLongTap: string;
|
|
21
|
-
onLongClick: string;
|
|
22
|
-
onLongPress: string;
|
|
23
|
-
onTransitionEnd: string;
|
|
24
|
-
onAnimationIteration: string;
|
|
25
|
-
onAnimationStart: string;
|
|
26
|
-
onAnimationEnd: string;
|
|
27
|
-
};
|
|
28
|
-
export declare const props: string[];
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps, DiffLayer, GenericEvent } from '../../types/component';
|
|
3
|
-
export interface WebViewProps extends BaseProps, DiffLayer {
|
|
4
|
-
/**
|
|
5
|
-
* webview 指向网页的链接,网页需登录小程序管理后台配置业务域名。
|
|
6
|
-
*/
|
|
7
|
-
src?: string;
|
|
8
|
-
/**
|
|
9
|
-
* 网页加载失败的时候触发此事件。e.detail = { url, fullUrl },其中 fullUrl 为加载失败时的完整 url
|
|
10
|
-
*/
|
|
11
|
-
onError?: (event: GenericEvent) => any;
|
|
12
|
-
/**
|
|
13
|
-
* 网页加载成功时候触发此事件。e.detail = { src }
|
|
14
|
-
*/
|
|
15
|
-
onLoad?: (event: GenericEvent) => any;
|
|
16
|
-
/**
|
|
17
|
-
* 网页向小程序 postMessage 时,会在特定时机(小程序后退、组件销毁、分享)触发并收到消息。e.detail = { data },data是多次 postMessage 的参数组成的数组
|
|
18
|
-
*/
|
|
19
|
-
onMessage?: (event: GenericEvent) => any;
|
|
20
|
-
}
|
|
21
|
-
export declare const WebView: React.ComponentType<WebViewProps>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
src: string;
|
|
3
|
-
onError: string;
|
|
4
|
-
onLoad: string;
|
|
5
|
-
onMessage: string;
|
|
6
|
-
updateLayout: string;
|
|
7
|
-
id: string;
|
|
8
|
-
disableScroll: string;
|
|
9
|
-
hoverClass: string;
|
|
10
|
-
hoverClassName: string;
|
|
11
|
-
hoverStartTime: string;
|
|
12
|
-
hoverStayTime: string;
|
|
13
|
-
hidden: string;
|
|
14
|
-
className: string;
|
|
15
|
-
animation: string;
|
|
16
|
-
style: string;
|
|
17
|
-
hoverStopPropagation: string;
|
|
18
|
-
onTap: string;
|
|
19
|
-
onClick: string;
|
|
20
|
-
onTouchStart: string;
|
|
21
|
-
onTouchMove: string;
|
|
22
|
-
onTouchEnd: string;
|
|
23
|
-
onTouchCancel: string;
|
|
24
|
-
onLongTap: string;
|
|
25
|
-
onLongClick: string;
|
|
26
|
-
onLongPress: string;
|
|
27
|
-
onTransitionEnd: string;
|
|
28
|
-
onAnimationIteration: string;
|
|
29
|
-
onAnimationStart: string;
|
|
30
|
-
onAnimationEnd: string;
|
|
31
|
-
};
|
|
32
|
-
export declare const props: string[];
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
2
|
-
export const alias = Object.assign(Object.assign({}, universalAlias), { src: 'src', onError: 'binderror', onLoad: 'bindload', onMessage: 'bindmessage', updateLayout: 'update-layout' });
|
|
3
|
-
export const props = Object.values(alias);
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export * from './Button';
|
|
2
|
-
export * from './Canvas';
|
|
3
|
-
export * from './Checkbox';
|
|
4
|
-
export * from './CheckboxGroup';
|
|
5
|
-
export * from './Form';
|
|
6
|
-
export * from './Image';
|
|
7
|
-
export * from './Input';
|
|
8
|
-
export * from './Label';
|
|
9
|
-
export * from './MovableArea';
|
|
10
|
-
export * from './MovableView';
|
|
11
|
-
export * from './Picker';
|
|
12
|
-
export * from './PickerView';
|
|
13
|
-
export * from './PickerViewColumn';
|
|
14
|
-
export * from './Radio';
|
|
15
|
-
export * from './RadioGroup';
|
|
16
|
-
export * from './ScrollView';
|
|
17
|
-
export * from './Swiper';
|
|
18
|
-
export * from './SwiperItem';
|
|
19
|
-
export * from './Switch';
|
|
20
|
-
export * from './Slider';
|
|
21
|
-
export * from './Text';
|
|
22
|
-
export * from './Textarea';
|
|
23
|
-
export * from './Video';
|
|
24
|
-
export * from './View';
|
|
25
|
-
export * from './PageContainer';
|
|
26
|
-
export * from './IpcPlayer';
|
|
27
|
-
export * from './CoverView';
|
|
28
|
-
export * from './NativeVideo';
|
|
29
|
-
export * from './WebView';
|
|
30
|
-
export * from './Iframe';
|
|
31
|
-
export * from './Map';
|
|
32
|
-
export * from './Camera';
|
|
33
|
-
export * from './Progress';
|
|
34
|
-
export * from './RichText';
|
|
35
|
-
export * from './Navigator';
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export * from './Button';
|
|
2
|
-
export * from './Canvas';
|
|
3
|
-
export * from './Checkbox';
|
|
4
|
-
export * from './CheckboxGroup';
|
|
5
|
-
export * from './Form';
|
|
6
|
-
export * from './Image';
|
|
7
|
-
export * from './Input';
|
|
8
|
-
export * from './Label';
|
|
9
|
-
export * from './MovableArea';
|
|
10
|
-
export * from './MovableView';
|
|
11
|
-
export * from './Picker';
|
|
12
|
-
export * from './PickerView';
|
|
13
|
-
export * from './PickerViewColumn';
|
|
14
|
-
export * from './Radio';
|
|
15
|
-
export * from './RadioGroup';
|
|
16
|
-
export * from './ScrollView';
|
|
17
|
-
export * from './Swiper';
|
|
18
|
-
export * from './SwiperItem';
|
|
19
|
-
export * from './Switch';
|
|
20
|
-
export * from './Slider';
|
|
21
|
-
export * from './Text';
|
|
22
|
-
export * from './Textarea';
|
|
23
|
-
export * from './Video';
|
|
24
|
-
export * from './View';
|
|
25
|
-
export * from './PageContainer';
|
|
26
|
-
export * from './IpcPlayer';
|
|
27
|
-
export * from './CoverView';
|
|
28
|
-
export * from './NativeVideo';
|
|
29
|
-
export * from './WebView';
|
|
30
|
-
export * from './Iframe';
|
|
31
|
-
export * from './Map';
|
|
32
|
-
export * from './Camera';
|
|
33
|
-
export * from './Progress';
|
|
34
|
-
export * from './RichText';
|
|
35
|
-
export * from './Navigator';
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import * as Button from './Button/node';
|
|
2
|
-
import * as Canvas from './Canvas/node';
|
|
3
|
-
import * as Checkbox from './Checkbox/node';
|
|
4
|
-
import * as CheckboxGroup from './CheckboxGroup/node';
|
|
5
|
-
import * as Form from './Form/node';
|
|
6
|
-
import * as Image from './Image/node';
|
|
7
|
-
import * as Input from './Input/node';
|
|
8
|
-
import * as Label from './Label/node';
|
|
9
|
-
import * as MovableArea from './MovableArea/node';
|
|
10
|
-
import * as MovableView from './MovableView/node';
|
|
11
|
-
import * as Picker from './Picker/node';
|
|
12
|
-
import * as PickerView from './PickerView/node';
|
|
13
|
-
import * as PickerViewColumn from './PickerViewColumn/node';
|
|
14
|
-
import * as Radio from './Radio/node';
|
|
15
|
-
import * as RadioGroup from './RadioGroup/node';
|
|
16
|
-
import * as ScrollView from './ScrollView/node';
|
|
17
|
-
import * as Swiper from './Swiper/node';
|
|
18
|
-
import * as SwiperItem from './SwiperItem/node';
|
|
19
|
-
import * as Switch from './Switch/node';
|
|
20
|
-
import * as Slider from './Slider/node';
|
|
21
|
-
import * as Text from './Text/node';
|
|
22
|
-
import * as Textarea from './Textarea/node';
|
|
23
|
-
import * as Video from './Video/node';
|
|
24
|
-
import * as View from './View/node';
|
|
25
|
-
import * as PageContainer from './PageContainer/node';
|
|
26
|
-
import * as Progress from './Progress/node';
|
|
27
|
-
import * as IpcPlayer from './IpcPlayer/node';
|
|
28
|
-
import * as CoverView from './CoverView/node';
|
|
29
|
-
import * as NativeVideo from './NativeVideo/node';
|
|
30
|
-
import * as WebView from './WebView/node';
|
|
31
|
-
import * as MapView from './Map/node';
|
|
32
|
-
import * as Camera from './Camera/node';
|
|
33
|
-
import * as RichText from './RichText/node';
|
|
34
|
-
import * as Iframe from './Iframe/node';
|
|
35
|
-
import * as Navigator from './Navigator/node';
|
|
36
|
-
const hostComponents = new Map();
|
|
37
|
-
hostComponents.set('button', Button);
|
|
38
|
-
hostComponents.set('canvas', Canvas);
|
|
39
|
-
hostComponents.set('checkbox', Checkbox);
|
|
40
|
-
hostComponents.set('checkbox-group', CheckboxGroup);
|
|
41
|
-
hostComponents.set('form', Form);
|
|
42
|
-
hostComponents.set('image', Image);
|
|
43
|
-
hostComponents.set('input', Input);
|
|
44
|
-
hostComponents.set('label', Label);
|
|
45
|
-
hostComponents.set('movable-area', MovableArea);
|
|
46
|
-
hostComponents.set('movable-view', MovableView);
|
|
47
|
-
hostComponents.set('picker', Picker);
|
|
48
|
-
hostComponents.set('picker-view', PickerView);
|
|
49
|
-
hostComponents.set('picker-view-column', PickerViewColumn);
|
|
50
|
-
hostComponents.set('radio', Radio);
|
|
51
|
-
hostComponents.set('radio-group', RadioGroup);
|
|
52
|
-
hostComponents.set('scroll-view', ScrollView);
|
|
53
|
-
hostComponents.set('swiper', Swiper);
|
|
54
|
-
hostComponents.set('swiper-item', SwiperItem);
|
|
55
|
-
hostComponents.set('switch', Switch);
|
|
56
|
-
hostComponents.set('slider', Slider);
|
|
57
|
-
hostComponents.set('text', Text);
|
|
58
|
-
hostComponents.set('textarea', Textarea);
|
|
59
|
-
hostComponents.set('video', Video);
|
|
60
|
-
hostComponents.set('view', View);
|
|
61
|
-
hostComponents.set('page-container', PageContainer);
|
|
62
|
-
hostComponents.set('ipc-player', IpcPlayer);
|
|
63
|
-
hostComponents.set('cover-view', CoverView);
|
|
64
|
-
hostComponents.set('native-video', NativeVideo);
|
|
65
|
-
hostComponents.set('web-view', WebView);
|
|
66
|
-
hostComponents.set('map', MapView);
|
|
67
|
-
hostComponents.set('camera', Camera);
|
|
68
|
-
hostComponents.set('progress', Progress);
|
|
69
|
-
hostComponents.set('rich-text', RichText);
|
|
70
|
-
hostComponents.set('iframe', Iframe);
|
|
71
|
-
hostComponents.set('navigator', Navigator);
|
|
72
|
-
export default hostComponents;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const universalAlias: {
|
|
2
|
-
id: string;
|
|
3
|
-
disableScroll: string;
|
|
4
|
-
hoverClass: string;
|
|
5
|
-
hoverClassName: string;
|
|
6
|
-
hoverStartTime: string;
|
|
7
|
-
hoverStayTime: string;
|
|
8
|
-
hidden: string;
|
|
9
|
-
className: string;
|
|
10
|
-
animation: string;
|
|
11
|
-
style: string;
|
|
12
|
-
hoverStopPropagation: string;
|
|
13
|
-
onTap: string;
|
|
14
|
-
onClick: string;
|
|
15
|
-
onTouchStart: string;
|
|
16
|
-
onTouchMove: string;
|
|
17
|
-
onTouchEnd: string;
|
|
18
|
-
onTouchCancel: string;
|
|
19
|
-
onLongTap: string;
|
|
20
|
-
onLongClick: string;
|
|
21
|
-
onLongPress: string;
|
|
22
|
-
onTransitionEnd: string;
|
|
23
|
-
onAnimationIteration: string;
|
|
24
|
-
onAnimationStart: string;
|
|
25
|
-
onAnimationEnd: string;
|
|
26
|
-
};
|