@ray-js/adapter 1.4.0-alpha.4 → 1.4.0-alpha.6
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 -17
- package/cjs/hostComponents/Input/index.js +0 -10
- package/cjs/hostComponents/Input/node.d.ts +0 -39
- 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 -16
- package/cjs/hostComponents/Textarea/index.js +0 -15
- package/cjs/hostComponents/Textarea/node.d.ts +0 -39
- 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 -17
- package/esm/hostComponents/Input/index.js +0 -7
- package/esm/hostComponents/Input/node.d.ts +0 -39
- 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 -16
- package/esm/hostComponents/Textarea/index.js +0 -12
- package/esm/hostComponents/Textarea/node.d.ts +0 -39
- 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,29 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
id: string;
|
|
3
|
-
className: string;
|
|
4
|
-
animation: string;
|
|
5
|
-
style: string;
|
|
6
|
-
name: string;
|
|
7
|
-
onChange: string;
|
|
8
|
-
disableScroll: string;
|
|
9
|
-
hoverClass: string;
|
|
10
|
-
hoverClassName: string;
|
|
11
|
-
hoverStartTime: string;
|
|
12
|
-
hoverStayTime: string;
|
|
13
|
-
hidden: string;
|
|
14
|
-
hoverStopPropagation: string;
|
|
15
|
-
onTap: string;
|
|
16
|
-
onClick: string;
|
|
17
|
-
onTouchStart: string;
|
|
18
|
-
onTouchMove: string;
|
|
19
|
-
onTouchEnd: string;
|
|
20
|
-
onTouchCancel: string;
|
|
21
|
-
onLongTap: string;
|
|
22
|
-
onLongClick: string;
|
|
23
|
-
onLongPress: string;
|
|
24
|
-
onTransitionEnd: string;
|
|
25
|
-
onAnimationIteration: string;
|
|
26
|
-
onAnimationStart: string;
|
|
27
|
-
onAnimationEnd: string;
|
|
28
|
-
};
|
|
29
|
-
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', onChange: 'bindchange' });
|
|
3
|
-
export const props = Object.values(alias);
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
className: string;
|
|
3
|
-
animation: string;
|
|
4
|
-
style: string;
|
|
5
|
-
id: string;
|
|
6
|
-
disableScroll: string;
|
|
7
|
-
hoverClass: string;
|
|
8
|
-
hoverClassName: string;
|
|
9
|
-
hoverStartTime: string;
|
|
10
|
-
hoverStayTime: string;
|
|
11
|
-
hidden: 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
|
-
};
|
|
27
|
-
export declare const props: string[];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps, GenericEvent } from '../../types/component';
|
|
3
|
-
export interface FormProps extends BaseProps {
|
|
4
|
-
/** 是否返回 formId 用于发送模板消息 */
|
|
5
|
-
reportSubmit?: boolean;
|
|
6
|
-
/** 等待一段时间(毫秒数)以确认 formId 是否生效。如果未指定这个参数,formId 有很小的概率是无效的(如遇到网络失败的情况)。指定这个参数将可以检测 formId 是否有效,以这个参数的时间作为这项检测的超时时间。如果失败,将返回 requestFormId:fail 开头的 formId */
|
|
7
|
-
reportSubmitTimeout?: number;
|
|
8
|
-
/** 携带 form 中的数据触发 submit 事件,event.detail = {value : {'name': 'value'} , formId: '', ...} */
|
|
9
|
-
onSubmit?: (event: GenericEvent) => any;
|
|
10
|
-
/** 表单重置时会触发 reset 事件 */
|
|
11
|
-
onReset?: (event: GenericEvent) => any;
|
|
12
|
-
}
|
|
13
|
-
export declare const Form: React.ComponentType<FormProps>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
id: string;
|
|
3
|
-
className: string;
|
|
4
|
-
style: string;
|
|
5
|
-
animation: string;
|
|
6
|
-
reportSubmit: string;
|
|
7
|
-
onSubmit: string;
|
|
8
|
-
onReset: string;
|
|
9
|
-
reportSubmitTimeout: string;
|
|
10
|
-
disableScroll: string;
|
|
11
|
-
hoverClass: string;
|
|
12
|
-
hoverClassName: string;
|
|
13
|
-
hoverStartTime: string;
|
|
14
|
-
hoverStayTime: string;
|
|
15
|
-
hidden: string;
|
|
16
|
-
hoverStopPropagation: string;
|
|
17
|
-
onTap: string;
|
|
18
|
-
onClick: 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', style: 'style', animation: 'animation', reportSubmit: 'report-submit', onSubmit: 'bindsubmit', onReset: 'bindreset', reportSubmitTimeout: 'report-submit-timeout' });
|
|
3
|
-
export const props = Object.values(alias);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps, DiffLayer, GenericEvent } from '../../types/component';
|
|
3
|
-
export interface IframeProps 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 Iframe: React.ComponentType<IframeProps>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
src: string;
|
|
3
|
-
onError: string;
|
|
4
|
-
onLoad: string;
|
|
5
|
-
onMessage: string;
|
|
6
|
-
id: string;
|
|
7
|
-
disableScroll: string;
|
|
8
|
-
hoverClass: string;
|
|
9
|
-
hoverClassName: string;
|
|
10
|
-
hoverStartTime: string;
|
|
11
|
-
hoverStayTime: string;
|
|
12
|
-
hidden: string;
|
|
13
|
-
className: string;
|
|
14
|
-
animation: string;
|
|
15
|
-
style: string;
|
|
16
|
-
hoverStopPropagation: string;
|
|
17
|
-
onTap: string;
|
|
18
|
-
onClick: 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,43 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps, GenericEvent } from '../../types/component';
|
|
3
|
-
export interface ImageProps extends BaseProps {
|
|
4
|
-
/**
|
|
5
|
-
* 图片资源地址
|
|
6
|
-
*/
|
|
7
|
-
src?: string;
|
|
8
|
-
/**
|
|
9
|
-
* 图片裁剪、缩放的模式
|
|
10
|
-
* scaleToFill 缩放模式,不保持纵横比缩放图片,使图片的宽高完全拉伸至填满 image 元素
|
|
11
|
-
* aspectFit 缩放模式,保持纵横比缩放图片,使图片的长边能完全显示出来。也就是说,可以完整地将图片显示出来。
|
|
12
|
-
* aspectFill 缩放模式,保持纵横比缩放图片,只保证图片的短边能完全显示出来。也就是说,图片通常只在水平或垂直方向是完整的,另一个方向将会发生截取。
|
|
13
|
-
* widthFix 缩放模式,宽度不变,高度自动变化,保持原图宽高比不变
|
|
14
|
-
* heightFix 缩放模式,高度不变,宽度自动变化,保持原图宽高比不变
|
|
15
|
-
* top 裁剪模式,不缩放图片,只显示图片的顶部区域
|
|
16
|
-
* bottom 裁剪模式,不缩放图片,只显示图片的底部区域
|
|
17
|
-
* center 裁剪模式,不缩放图片,只显示图片的中间区域
|
|
18
|
-
* left 裁剪模式,不缩放图片,只显示图片的左边区域
|
|
19
|
-
* right 裁剪模式,不缩放图片,只显示图片的右边区域
|
|
20
|
-
* top left 裁剪模式,不缩放图片,只显示图片的左上边区域
|
|
21
|
-
* top right 裁剪模式,不缩放图片,只显示图片的右上边区域
|
|
22
|
-
* bottom left 裁剪模式,不缩放图片,只显示图片的左下边区域
|
|
23
|
-
* bottom right 裁剪模式,不缩放图片,只显示图片的右下边区域
|
|
24
|
-
*/
|
|
25
|
-
mode?: 'scaleToFill' | 'aspectFit' | 'aspectFill' | 'widthFix' | 'heightFix' | 'top' | 'bottom' | 'center' | 'left' | 'right' | 'top left' | 'top right' | 'bottom left' | 'bottom right';
|
|
26
|
-
/**
|
|
27
|
-
* 默认不解析 webP 格式,只支持网络资源
|
|
28
|
-
*/
|
|
29
|
-
webp?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* 图片懒加载,在即将进入一定范围(上下三屏)时才开始加载
|
|
32
|
-
*/
|
|
33
|
-
lazyLoad?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* 当错误发生时触发,,event.detail = {errMsg}
|
|
36
|
-
*/
|
|
37
|
-
onError?: (event: GenericEvent) => any;
|
|
38
|
-
/**
|
|
39
|
-
* 当图片载入完毕时触发,event.detail = {height, width}
|
|
40
|
-
*/
|
|
41
|
-
onLoad?: (event: GenericEvent) => any;
|
|
42
|
-
}
|
|
43
|
-
export declare const Image: React.ComponentType<ImageProps>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
id: string;
|
|
3
|
-
src: string;
|
|
4
|
-
mode: string;
|
|
5
|
-
className: string;
|
|
6
|
-
animation: string;
|
|
7
|
-
style: string;
|
|
8
|
-
lazyLoad: string;
|
|
9
|
-
onLoad: string;
|
|
10
|
-
onError: string;
|
|
11
|
-
onTap: string;
|
|
12
|
-
onClick: string;
|
|
13
|
-
onTouchStart: string;
|
|
14
|
-
onTouchMove: string;
|
|
15
|
-
onTouchEnd: string;
|
|
16
|
-
onTouchCancel: string;
|
|
17
|
-
disableScroll: string;
|
|
18
|
-
hoverClass: string;
|
|
19
|
-
hoverClassName: string;
|
|
20
|
-
hoverStartTime: string;
|
|
21
|
-
hoverStayTime: string;
|
|
22
|
-
hidden: string;
|
|
23
|
-
hoverStopPropagation: 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), { id: 'id', src: 'src', mode: 'mode', className: 'class', animation: 'animation', style: 'style', lazyLoad: 'lazy-load', onLoad: 'bindload', onError: 'binderror', onTap: 'bindtap', onClick: 'bindtap', onTouchStart: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel' });
|
|
3
|
-
export const props = Object.values(alias);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps, GenericEvent } from '../../types/component';
|
|
3
|
-
export interface InputProps extends BaseProps {
|
|
4
|
-
value?: string;
|
|
5
|
-
type?: 'text' | 'number';
|
|
6
|
-
password?: boolean;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
placeholderStyle?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
maxLength?: number;
|
|
11
|
-
confirmType?: 'send' | 'search' | 'next' | 'go' | 'done';
|
|
12
|
-
onInput?: (event: GenericEvent) => void;
|
|
13
|
-
onFocus?: (event: GenericEvent) => void;
|
|
14
|
-
onBlur?: (event: GenericEvent) => void;
|
|
15
|
-
onConfirm?: (event: GenericEvent) => void;
|
|
16
|
-
}
|
|
17
|
-
export declare const Input: React.ComponentType<InputProps>;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
id: string;
|
|
3
|
-
className: string;
|
|
4
|
-
animation: string;
|
|
5
|
-
style: string;
|
|
6
|
-
value: string;
|
|
7
|
-
type: string;
|
|
8
|
-
password: string;
|
|
9
|
-
placeholder: string;
|
|
10
|
-
placeholderStyle: string;
|
|
11
|
-
disabled: string;
|
|
12
|
-
maxLength: string;
|
|
13
|
-
confirmType: string;
|
|
14
|
-
onInput: string;
|
|
15
|
-
onFocus: string;
|
|
16
|
-
onBlur: string;
|
|
17
|
-
onConfirm: string;
|
|
18
|
-
disableScroll: string;
|
|
19
|
-
hoverClass: string;
|
|
20
|
-
hoverClassName: string;
|
|
21
|
-
hoverStartTime: string;
|
|
22
|
-
hoverStayTime: string;
|
|
23
|
-
hidden: string;
|
|
24
|
-
hoverStopPropagation: string;
|
|
25
|
-
onTap: string;
|
|
26
|
-
onClick: string;
|
|
27
|
-
onTouchStart: string;
|
|
28
|
-
onTouchMove: string;
|
|
29
|
-
onTouchEnd: string;
|
|
30
|
-
onTouchCancel: string;
|
|
31
|
-
onLongTap: string;
|
|
32
|
-
onLongClick: string;
|
|
33
|
-
onLongPress: string;
|
|
34
|
-
onTransitionEnd: string;
|
|
35
|
-
onAnimationIteration: string;
|
|
36
|
-
onAnimationStart: string;
|
|
37
|
-
onAnimationEnd: string;
|
|
38
|
-
};
|
|
39
|
-
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', value: 'value', type: 'type', password: 'password', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', confirmType: 'confirm-type', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onConfirm: 'bindconfirm' });
|
|
3
|
-
export const props = Object.values(alias);
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps, DiffLayer } from '../../types/component';
|
|
3
|
-
export interface IpcPlayerProps extends BaseProps, DiffLayer {
|
|
4
|
-
deviceId: string;
|
|
5
|
-
autoplay?: boolean;
|
|
6
|
-
muted?: boolean;
|
|
7
|
-
clarity?: 'normal' | 'hd';
|
|
8
|
-
soundMode?: 'speaker' | 'ear';
|
|
9
|
-
orientation?: 'vertical' | 'horizontal';
|
|
10
|
-
objectFit?: 'contain' | 'fillCrop';
|
|
11
|
-
autoPauseIfNavigate?: boolean;
|
|
12
|
-
autoPauseIfOpenNative?: boolean;
|
|
13
|
-
rotateZ?: number;
|
|
14
|
-
scalable?: boolean;
|
|
15
|
-
scaleMultiple?: number;
|
|
16
|
-
ptzControllable?: boolean;
|
|
17
|
-
borderWidth?: number | string;
|
|
18
|
-
borderStyle?: 'solid' | 'dashed';
|
|
19
|
-
borderColor?: string;
|
|
20
|
-
borderRadius?: number | string;
|
|
21
|
-
backgroundColor?: string;
|
|
22
|
-
onConnectchange?: (event: {
|
|
23
|
-
state: number;
|
|
24
|
-
}) => void;
|
|
25
|
-
onPreviewchange?: (event: {
|
|
26
|
-
state: number;
|
|
27
|
-
}) => void;
|
|
28
|
-
onOnlinechange?: (event: {
|
|
29
|
-
online: boolean;
|
|
30
|
-
}) => void;
|
|
31
|
-
onInitdone?: () => void;
|
|
32
|
-
onZoomchange?: (event: {
|
|
33
|
-
zoomLevel: number;
|
|
34
|
-
}) => void;
|
|
35
|
-
onVideotap?: () => void;
|
|
36
|
-
onError?: (event: {
|
|
37
|
-
errCode: number | string;
|
|
38
|
-
errMsg: string;
|
|
39
|
-
}) => void;
|
|
40
|
-
}
|
|
41
|
-
export declare const IpcPlayer: React.ComponentType<IpcPlayerProps>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { createHostComponent } from '@ray-core/runtime';
|
|
2
|
-
export const IpcPlayer = createHostComponent('ipc-player');
|
|
3
|
-
IpcPlayer.defaultProps = {
|
|
4
|
-
deviceId: '',
|
|
5
|
-
autoplay: false,
|
|
6
|
-
clarity: 'normal',
|
|
7
|
-
soundMode: 'speaker',
|
|
8
|
-
orientation: 'vertical',
|
|
9
|
-
objectFit: 'contain',
|
|
10
|
-
autoPauseIfNavigate: true,
|
|
11
|
-
autoPauseIfOpenNative: true,
|
|
12
|
-
rotateZ: 0,
|
|
13
|
-
scalable: true,
|
|
14
|
-
scaleMultiple: 0,
|
|
15
|
-
ptzControllable: true,
|
|
16
|
-
borderWidth: 0,
|
|
17
|
-
borderStyle: 'solid',
|
|
18
|
-
borderColor: '#ffffff',
|
|
19
|
-
borderRadius: 0,
|
|
20
|
-
backgroundColor: '#ffffff',
|
|
21
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
className: string;
|
|
3
|
-
animation: string;
|
|
4
|
-
style: string;
|
|
5
|
-
id: string;
|
|
6
|
-
deviceId: string;
|
|
7
|
-
autoplay: string;
|
|
8
|
-
muted: string;
|
|
9
|
-
clarity: string;
|
|
10
|
-
soundMode: string;
|
|
11
|
-
orientation: string;
|
|
12
|
-
objectFit: string;
|
|
13
|
-
autoPauseIfNavigate: string;
|
|
14
|
-
autoPauseIfOpenNative: string;
|
|
15
|
-
rotateZ: string;
|
|
16
|
-
scalable: string;
|
|
17
|
-
scaleMultiple: string;
|
|
18
|
-
ptzControllable: string;
|
|
19
|
-
borderWidth: string;
|
|
20
|
-
borderStyle: string;
|
|
21
|
-
borderColor: string;
|
|
22
|
-
borderRadius: string;
|
|
23
|
-
backgroundColor: string;
|
|
24
|
-
onConnectchange: string;
|
|
25
|
-
onPreviewchange: string;
|
|
26
|
-
onInitdone: string;
|
|
27
|
-
onOnlinechange: string;
|
|
28
|
-
onZoomchange: string;
|
|
29
|
-
onVideotap: string;
|
|
30
|
-
onError: string;
|
|
31
|
-
updateLayout: string;
|
|
32
|
-
disableScroll: string;
|
|
33
|
-
hoverClass: string;
|
|
34
|
-
hoverClassName: string;
|
|
35
|
-
hoverStartTime: string;
|
|
36
|
-
hoverStayTime: string;
|
|
37
|
-
hidden: string;
|
|
38
|
-
hoverStopPropagation: string;
|
|
39
|
-
onTap: string;
|
|
40
|
-
onClick: string;
|
|
41
|
-
onTouchStart: string;
|
|
42
|
-
onTouchMove: string;
|
|
43
|
-
onTouchEnd: string;
|
|
44
|
-
onTouchCancel: string;
|
|
45
|
-
onLongTap: string;
|
|
46
|
-
onLongClick: string;
|
|
47
|
-
onLongPress: string;
|
|
48
|
-
onTransitionEnd: string;
|
|
49
|
-
onAnimationIteration: string;
|
|
50
|
-
onAnimationStart: string;
|
|
51
|
-
onAnimationEnd: string;
|
|
52
|
-
};
|
|
53
|
-
export declare const props: string[];
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { universalAlias } from '../universal';
|
|
2
|
-
export const alias = Object.assign(Object.assign({}, universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id', deviceId: 'device-id', autoplay: 'autoplay', muted: 'muted', clarity: 'clarity', soundMode: 'sound-mode', orientation: 'orientation', objectFit: 'object-fit', autoPauseIfNavigate: 'auto-pause-if-navigate', autoPauseIfOpenNative: 'auto-pause-if-open-native', rotateZ: 'rotate-z', scalable: 'scalable', scaleMultiple: 'scale-multiple', ptzControllable: 'ptz-controllable', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', backgroundColor: 'background-color', onConnectchange: 'bind:connectchange', onPreviewchange: 'bind:previewchange', onInitdone: 'bind:initdone', onOnlinechange: 'bind:onlinechange', onZoomchange: 'bind:zoomchange', onVideotap: 'bind:videotap', onError: 'bind:error', updateLayout: 'update-layout' });
|
|
3
|
-
export const props = Object.values(alias);
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
id: string;
|
|
3
|
-
className: string;
|
|
4
|
-
animation: string;
|
|
5
|
-
style: string;
|
|
6
|
-
for: string;
|
|
7
|
-
onClick: string;
|
|
8
|
-
onTap: string;
|
|
9
|
-
disableScroll: string;
|
|
10
|
-
hoverClass: string;
|
|
11
|
-
hoverClassName: string;
|
|
12
|
-
hoverStartTime: string;
|
|
13
|
-
hoverStayTime: string;
|
|
14
|
-
hidden: string;
|
|
15
|
-
hoverStopPropagation: 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,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', for: 'for', onClick: 'bindtap', onTap: 'bindtap' });
|
|
3
|
-
export const props = Object.values(alias);
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps, DiffLayer, GenericEvent } from '../../types/component';
|
|
3
|
-
export interface MapProps extends BaseProps, DiffLayer {
|
|
4
|
-
longitude: number;
|
|
5
|
-
latitude: number;
|
|
6
|
-
scale?: number;
|
|
7
|
-
minScale?: number;
|
|
8
|
-
maxScale?: number;
|
|
9
|
-
markers?: Array<Marker>;
|
|
10
|
-
polyline?: Array<Polyline>;
|
|
11
|
-
circles?: Array<Circle>;
|
|
12
|
-
polygons?: Array<Polygon>;
|
|
13
|
-
borderWidth?: number;
|
|
14
|
-
borderStyle?: string;
|
|
15
|
-
borderColor?: string;
|
|
16
|
-
borderRadius?: number;
|
|
17
|
-
borderRadiusTopLeft?: number;
|
|
18
|
-
borderRadiusTopRight?: number;
|
|
19
|
-
borderRadiusBottomLeft?: number;
|
|
20
|
-
borderRadiusBottomRight?: number;
|
|
21
|
-
backgroundColor?: string;
|
|
22
|
-
onMarkertap?: (e: GenericEvent) => void;
|
|
23
|
-
onCallouttap?: (e: GenericEvent) => void;
|
|
24
|
-
onRegionchange?: (e: GenericEvent) => void;
|
|
25
|
-
onInitdone?: (e: GenericEvent) => void;
|
|
26
|
-
}
|
|
27
|
-
export declare type Marker = {
|
|
28
|
-
content?: string;
|
|
29
|
-
color?: string;
|
|
30
|
-
fontSize?: number;
|
|
31
|
-
borderRadius?: number;
|
|
32
|
-
borderWidth?: number;
|
|
33
|
-
borderColor?: string;
|
|
34
|
-
bgColor?: string;
|
|
35
|
-
padding?: number;
|
|
36
|
-
textAlign?: string;
|
|
37
|
-
anchorX?: number;
|
|
38
|
-
anchorY?: number;
|
|
39
|
-
};
|
|
40
|
-
export declare type Polyline = {
|
|
41
|
-
points: Array<{
|
|
42
|
-
latitude: number;
|
|
43
|
-
longitude: number;
|
|
44
|
-
}>;
|
|
45
|
-
color?: string;
|
|
46
|
-
width?: number;
|
|
47
|
-
dottedLine?: boolean;
|
|
48
|
-
};
|
|
49
|
-
export declare type Circle = {
|
|
50
|
-
latitude: number;
|
|
51
|
-
longitude: number;
|
|
52
|
-
color?: string;
|
|
53
|
-
fillColor?: string;
|
|
54
|
-
radius: number;
|
|
55
|
-
strokeWidth?: number;
|
|
56
|
-
};
|
|
57
|
-
export declare type Polygon = {
|
|
58
|
-
points: Array<{
|
|
59
|
-
latitude: number;
|
|
60
|
-
longitude: number;
|
|
61
|
-
}>;
|
|
62
|
-
strokeWidth?: number;
|
|
63
|
-
strokeColor?: number;
|
|
64
|
-
fillColor?: number;
|
|
65
|
-
};
|
|
66
|
-
export declare const Map: React.ComponentType<MapProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { createHostComponent } from '@ray-core/runtime';
|
|
2
|
-
export const Map = createHostComponent('map');
|
|
3
|
-
Map.defaultProps = {
|
|
4
|
-
scale: 16,
|
|
5
|
-
minScale: 4,
|
|
6
|
-
maxScale: 19,
|
|
7
|
-
borderWidth: 0,
|
|
8
|
-
borderStyle: 'solid',
|
|
9
|
-
borderColor: '#ffffff',
|
|
10
|
-
borderRadius: 0,
|
|
11
|
-
backgroundColor: '#ffffff',
|
|
12
|
-
};
|