@ray-js/adapter 1.4.0-alpha.6 → 1.4.0-alpha.7
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/cjs/hostComponents/Button/index.d.ts +16 -0
- package/cjs/hostComponents/Button/index.js +15 -0
- package/cjs/hostComponents/Button/node.d.ts +35 -0
- package/cjs/hostComponents/Button/node.js +6 -0
- package/cjs/hostComponents/Camera/index.d.ts +21 -0
- package/cjs/hostComponents/Camera/index.js +16 -0
- package/cjs/hostComponents/Camera/node.d.ts +44 -0
- package/cjs/hostComponents/Camera/node.js +6 -0
- package/cjs/hostComponents/Canvas/index.d.ts +19 -0
- package/cjs/hostComponents/Canvas/index.js +5 -0
- package/cjs/hostComponents/Canvas/node.d.ts +30 -0
- package/cjs/hostComponents/Canvas/node.js +6 -0
- package/cjs/hostComponents/Checkbox/index.d.ts +13 -0
- package/cjs/hostComponents/Checkbox/index.js +9 -0
- package/cjs/hostComponents/Checkbox/node.d.ts +31 -0
- package/cjs/hostComponents/Checkbox/node.js +6 -0
- package/cjs/hostComponents/CheckboxGroup/index.d.ts +10 -0
- package/cjs/hostComponents/CheckboxGroup/index.js +5 -0
- package/cjs/hostComponents/CheckboxGroup/node.d.ts +29 -0
- package/cjs/hostComponents/CheckboxGroup/node.js +6 -0
- package/cjs/hostComponents/CoverView/index.d.ts +6 -0
- package/cjs/hostComponents/CoverView/index.js +6 -0
- package/cjs/hostComponents/CoverView/node.d.ts +27 -0
- package/cjs/hostComponents/CoverView/node.js +6 -0
- package/cjs/hostComponents/Form/index.d.ts +13 -0
- package/cjs/hostComponents/Form/index.js +9 -0
- package/cjs/hostComponents/Form/node.d.ts +31 -0
- package/cjs/hostComponents/Form/node.js +6 -0
- package/cjs/hostComponents/Iframe/index.d.ts +21 -0
- package/cjs/hostComponents/Iframe/index.js +6 -0
- package/cjs/hostComponents/Iframe/node.d.ts +31 -0
- package/cjs/hostComponents/Iframe/node.js +6 -0
- package/cjs/hostComponents/Image/index.d.ts +43 -0
- package/cjs/hostComponents/Image/index.js +8 -0
- package/cjs/hostComponents/Image/node.d.ts +32 -0
- package/cjs/hostComponents/Image/node.js +6 -0
- package/cjs/hostComponents/Input/index.d.ts +25 -0
- package/cjs/hostComponents/Input/index.js +10 -0
- package/cjs/hostComponents/Input/node.d.ts +41 -0
- package/cjs/hostComponents/Input/node.js +6 -0
- package/cjs/hostComponents/IpcPlayer/index.d.ts +41 -0
- package/cjs/hostComponents/IpcPlayer/index.js +24 -0
- package/cjs/hostComponents/IpcPlayer/node.d.ts +53 -0
- package/cjs/hostComponents/IpcPlayer/node.js +6 -0
- package/cjs/hostComponents/Label/index.d.ts +7 -0
- package/cjs/hostComponents/Label/index.js +5 -0
- package/cjs/hostComponents/Label/node.d.ts +28 -0
- package/cjs/hostComponents/Label/node.js +6 -0
- package/cjs/hostComponents/Map/index.d.ts +66 -0
- package/cjs/hostComponents/Map/index.js +15 -0
- package/cjs/hostComponents/Map/node.d.ts +50 -0
- package/cjs/hostComponents/Map/node.js +6 -0
- package/cjs/hostComponents/MovableArea/index.d.ts +7 -0
- package/cjs/hostComponents/MovableArea/index.js +8 -0
- package/cjs/hostComponents/MovableArea/node.d.ts +28 -0
- package/cjs/hostComponents/MovableArea/node.js +6 -0
- package/cjs/hostComponents/MovableView/index.d.ts +25 -0
- package/cjs/hostComponents/MovableView/index.js +21 -0
- package/cjs/hostComponents/MovableView/node.d.ts +43 -0
- package/cjs/hostComponents/MovableView/node.js +6 -0
- package/cjs/hostComponents/NativeVideo/index.d.ts +38 -0
- package/cjs/hostComponents/NativeVideo/index.js +21 -0
- package/cjs/hostComponents/NativeVideo/node.d.ts +61 -0
- package/cjs/hostComponents/NativeVideo/node.js +6 -0
- package/cjs/hostComponents/Navigator/index.d.ts +38 -0
- package/cjs/hostComponents/Navigator/index.js +17 -0
- package/cjs/hostComponents/Navigator/node.d.ts +23 -0
- package/cjs/hostComponents/Navigator/node.js +26 -0
- package/cjs/hostComponents/PageContainer/index.d.ts +20 -0
- package/cjs/hostComponents/PageContainer/index.js +14 -0
- package/cjs/hostComponents/PageContainer/node.d.ts +43 -0
- package/cjs/hostComponents/PageContainer/node.js +6 -0
- package/cjs/hostComponents/Picker/index.d.ts +64 -0
- package/cjs/hostComponents/Picker/index.js +13 -0
- package/cjs/hostComponents/Picker/node.d.ts +40 -0
- package/cjs/hostComponents/Picker/node.js +6 -0
- package/cjs/hostComponents/PickerView/index.d.ts +17 -0
- package/cjs/hostComponents/PickerView/index.js +5 -0
- package/cjs/hostComponents/PickerView/node.d.ts +33 -0
- package/cjs/hostComponents/PickerView/node.js +6 -0
- package/cjs/hostComponents/PickerViewColumn/index.d.ts +4 -0
- package/cjs/hostComponents/PickerViewColumn/index.js +5 -0
- package/cjs/hostComponents/PickerViewColumn/node.d.ts +27 -0
- package/cjs/hostComponents/PickerViewColumn/node.js +6 -0
- package/cjs/hostComponents/Progress/index.d.ts +14 -0
- package/cjs/hostComponents/Progress/index.js +13 -0
- package/cjs/hostComponents/Progress/node.d.ts +36 -0
- package/cjs/hostComponents/Progress/node.js +6 -0
- package/cjs/hostComponents/Radio/index.d.ts +13 -0
- package/cjs/hostComponents/Radio/index.js +9 -0
- package/cjs/hostComponents/Radio/node.d.ts +31 -0
- package/cjs/hostComponents/Radio/node.js +6 -0
- package/cjs/hostComponents/RadioGroup/index.d.ts +11 -0
- package/cjs/hostComponents/RadioGroup/index.js +5 -0
- package/cjs/hostComponents/RadioGroup/node.d.ts +29 -0
- package/cjs/hostComponents/RadioGroup/node.js +6 -0
- package/cjs/hostComponents/RichText/index.d.ts +13 -0
- package/cjs/hostComponents/RichText/index.js +6 -0
- package/cjs/hostComponents/RichText/node.d.ts +28 -0
- package/cjs/hostComponents/RichText/node.js +6 -0
- package/cjs/hostComponents/ScrollView/index.d.ts +31 -0
- package/cjs/hostComponents/ScrollView/index.js +17 -0
- package/cjs/hostComponents/ScrollView/node.d.ts +53 -0
- package/cjs/hostComponents/ScrollView/node.js +8 -0
- package/cjs/hostComponents/Slider/index.d.ts +27 -0
- package/cjs/hostComponents/Slider/index.js +15 -0
- package/cjs/hostComponents/Slider/node.d.ts +41 -0
- package/cjs/hostComponents/Slider/node.js +6 -0
- package/cjs/hostComponents/Swiper/index.d.ts +21 -0
- package/cjs/hostComponents/Swiper/index.js +15 -0
- package/cjs/hostComponents/Swiper/node.d.ts +43 -0
- package/cjs/hostComponents/Swiper/node.js +6 -0
- package/cjs/hostComponents/SwiperItem/index.d.ts +7 -0
- package/cjs/hostComponents/SwiperItem/index.js +5 -0
- package/cjs/hostComponents/SwiperItem/node.d.ts +29 -0
- package/cjs/hostComponents/SwiperItem/node.js +6 -0
- package/cjs/hostComponents/Switch/index.d.ts +19 -0
- package/cjs/hostComponents/Switch/index.js +14 -0
- package/cjs/hostComponents/Switch/node.d.ts +33 -0
- package/cjs/hostComponents/Switch/node.js +6 -0
- package/cjs/hostComponents/Text/index.d.ts +8 -0
- package/cjs/hostComponents/Text/index.js +9 -0
- package/cjs/hostComponents/Text/node.d.ts +31 -0
- package/cjs/hostComponents/Text/node.js +6 -0
- package/cjs/hostComponents/Textarea/index.d.ts +16 -0
- package/cjs/hostComponents/Textarea/index.js +15 -0
- package/cjs/hostComponents/Textarea/node.d.ts +39 -0
- package/cjs/hostComponents/Textarea/node.js +6 -0
- package/cjs/hostComponents/Video/index.d.ts +37 -0
- package/cjs/hostComponents/Video/index.js +5 -0
- package/cjs/hostComponents/Video/node.d.ts +57 -0
- package/cjs/hostComponents/Video/node.js +7 -0
- package/cjs/hostComponents/View/index.d.ts +24 -0
- package/cjs/hostComponents/View/index.js +11 -0
- package/cjs/hostComponents/View/node.d.ts +28 -0
- package/cjs/hostComponents/View/node.js +6 -0
- package/cjs/hostComponents/WebView/index.d.ts +21 -0
- package/cjs/hostComponents/WebView/index.js +6 -0
- package/cjs/hostComponents/WebView/node.d.ts +32 -0
- package/cjs/hostComponents/WebView/node.js +6 -0
- package/cjs/hostComponents/index.d.ts +35 -0
- package/cjs/hostComponents/index.js +51 -0
- package/cjs/hostComponents/node.d.ts +2 -0
- package/cjs/hostComponents/node.js +97 -0
- package/cjs/hostComponents/universal.d.ts +26 -0
- package/cjs/hostComponents/universal.js +29 -0
- package/cjs/index.d.ts +2 -0
- package/cjs/index.js +18 -0
- package/cjs/node/index.d.ts +3 -0
- package/cjs/node/index.js +48 -0
- package/cjs/types/component.d.ts +84 -0
- package/cjs/types/component.js +2 -0
- package/cjs/types/config.d.ts +185 -0
- package/cjs/types/config.js +2 -0
- package/cjs/types/index.d.ts +2 -0
- package/cjs/types/index.js +17 -0
- package/esm/hostComponents/Button/index.d.ts +16 -0
- package/esm/hostComponents/Button/index.js +12 -0
- package/esm/hostComponents/Button/node.d.ts +35 -0
- package/esm/hostComponents/Button/node.js +3 -0
- package/esm/hostComponents/Camera/index.d.ts +21 -0
- package/esm/hostComponents/Camera/index.js +13 -0
- package/esm/hostComponents/Camera/node.d.ts +44 -0
- package/esm/hostComponents/Camera/node.js +3 -0
- package/esm/hostComponents/Canvas/index.d.ts +19 -0
- package/esm/hostComponents/Canvas/index.js +2 -0
- package/esm/hostComponents/Canvas/node.d.ts +30 -0
- package/esm/hostComponents/Canvas/node.js +3 -0
- package/esm/hostComponents/Checkbox/index.d.ts +13 -0
- package/esm/hostComponents/Checkbox/index.js +6 -0
- package/esm/hostComponents/Checkbox/node.d.ts +31 -0
- package/esm/hostComponents/Checkbox/node.js +3 -0
- package/esm/hostComponents/CheckboxGroup/index.d.ts +10 -0
- package/esm/hostComponents/CheckboxGroup/index.js +2 -0
- package/esm/hostComponents/CheckboxGroup/node.d.ts +29 -0
- package/esm/hostComponents/CheckboxGroup/node.js +3 -0
- package/esm/hostComponents/CoverView/index.d.ts +6 -0
- package/esm/hostComponents/CoverView/index.js +3 -0
- package/esm/hostComponents/CoverView/node.d.ts +27 -0
- package/esm/hostComponents/CoverView/node.js +3 -0
- package/esm/hostComponents/Form/index.d.ts +13 -0
- package/esm/hostComponents/Form/index.js +6 -0
- package/esm/hostComponents/Form/node.d.ts +31 -0
- package/esm/hostComponents/Form/node.js +3 -0
- package/esm/hostComponents/Iframe/index.d.ts +21 -0
- package/esm/hostComponents/Iframe/index.js +3 -0
- package/esm/hostComponents/Iframe/node.d.ts +31 -0
- package/esm/hostComponents/Iframe/node.js +3 -0
- package/esm/hostComponents/Image/index.d.ts +43 -0
- package/esm/hostComponents/Image/index.js +5 -0
- package/esm/hostComponents/Image/node.d.ts +32 -0
- package/esm/hostComponents/Image/node.js +3 -0
- package/esm/hostComponents/Input/index.d.ts +25 -0
- package/esm/hostComponents/Input/index.js +7 -0
- package/esm/hostComponents/Input/node.d.ts +41 -0
- package/esm/hostComponents/Input/node.js +3 -0
- package/esm/hostComponents/IpcPlayer/index.d.ts +41 -0
- package/esm/hostComponents/IpcPlayer/index.js +21 -0
- package/esm/hostComponents/IpcPlayer/node.d.ts +53 -0
- package/esm/hostComponents/IpcPlayer/node.js +3 -0
- package/esm/hostComponents/Label/index.d.ts +7 -0
- package/esm/hostComponents/Label/index.js +2 -0
- package/esm/hostComponents/Label/node.d.ts +28 -0
- package/esm/hostComponents/Label/node.js +3 -0
- package/esm/hostComponents/Map/index.d.ts +66 -0
- package/esm/hostComponents/Map/index.js +12 -0
- package/esm/hostComponents/Map/node.d.ts +50 -0
- package/esm/hostComponents/Map/node.js +3 -0
- package/esm/hostComponents/MovableArea/index.d.ts +7 -0
- package/esm/hostComponents/MovableArea/index.js +5 -0
- package/esm/hostComponents/MovableArea/node.d.ts +28 -0
- package/esm/hostComponents/MovableArea/node.js +3 -0
- package/esm/hostComponents/MovableView/index.d.ts +25 -0
- package/esm/hostComponents/MovableView/index.js +18 -0
- package/esm/hostComponents/MovableView/node.d.ts +43 -0
- package/esm/hostComponents/MovableView/node.js +3 -0
- package/esm/hostComponents/NativeVideo/index.d.ts +38 -0
- package/esm/hostComponents/NativeVideo/index.js +18 -0
- package/esm/hostComponents/NativeVideo/node.d.ts +61 -0
- package/esm/hostComponents/NativeVideo/node.js +3 -0
- package/esm/hostComponents/Navigator/index.d.ts +38 -0
- package/esm/hostComponents/Navigator/index.js +14 -0
- package/esm/hostComponents/Navigator/node.d.ts +23 -0
- package/esm/hostComponents/Navigator/node.js +23 -0
- package/esm/hostComponents/PageContainer/index.d.ts +20 -0
- package/esm/hostComponents/PageContainer/index.js +11 -0
- package/esm/hostComponents/PageContainer/node.d.ts +43 -0
- package/esm/hostComponents/PageContainer/node.js +3 -0
- package/esm/hostComponents/Picker/index.d.ts +64 -0
- package/esm/hostComponents/Picker/index.js +10 -0
- package/esm/hostComponents/Picker/node.d.ts +40 -0
- package/esm/hostComponents/Picker/node.js +3 -0
- package/esm/hostComponents/PickerView/index.d.ts +17 -0
- package/esm/hostComponents/PickerView/index.js +2 -0
- package/esm/hostComponents/PickerView/node.d.ts +33 -0
- package/esm/hostComponents/PickerView/node.js +3 -0
- package/esm/hostComponents/PickerViewColumn/index.d.ts +4 -0
- package/esm/hostComponents/PickerViewColumn/index.js +2 -0
- package/esm/hostComponents/PickerViewColumn/node.d.ts +27 -0
- package/esm/hostComponents/PickerViewColumn/node.js +3 -0
- package/esm/hostComponents/Progress/index.d.ts +14 -0
- package/esm/hostComponents/Progress/index.js +10 -0
- package/esm/hostComponents/Progress/node.d.ts +36 -0
- package/esm/hostComponents/Progress/node.js +3 -0
- package/esm/hostComponents/Radio/index.d.ts +13 -0
- package/esm/hostComponents/Radio/index.js +6 -0
- package/esm/hostComponents/Radio/node.d.ts +31 -0
- package/esm/hostComponents/Radio/node.js +3 -0
- package/esm/hostComponents/RadioGroup/index.d.ts +11 -0
- package/esm/hostComponents/RadioGroup/index.js +2 -0
- package/esm/hostComponents/RadioGroup/node.d.ts +29 -0
- package/esm/hostComponents/RadioGroup/node.js +3 -0
- package/esm/hostComponents/RichText/index.d.ts +13 -0
- package/esm/hostComponents/RichText/index.js +3 -0
- package/esm/hostComponents/RichText/node.d.ts +28 -0
- package/esm/hostComponents/RichText/node.js +3 -0
- package/esm/hostComponents/ScrollView/index.d.ts +31 -0
- package/esm/hostComponents/ScrollView/index.js +14 -0
- package/esm/hostComponents/ScrollView/node.d.ts +53 -0
- package/esm/hostComponents/ScrollView/node.js +5 -0
- package/esm/hostComponents/Slider/index.d.ts +27 -0
- package/esm/hostComponents/Slider/index.js +12 -0
- package/esm/hostComponents/Slider/node.d.ts +41 -0
- package/esm/hostComponents/Slider/node.js +3 -0
- package/esm/hostComponents/Swiper/index.d.ts +21 -0
- package/esm/hostComponents/Swiper/index.js +12 -0
- package/esm/hostComponents/Swiper/node.d.ts +43 -0
- package/esm/hostComponents/Swiper/node.js +3 -0
- package/esm/hostComponents/SwiperItem/index.d.ts +7 -0
- package/esm/hostComponents/SwiperItem/index.js +2 -0
- package/esm/hostComponents/SwiperItem/node.d.ts +29 -0
- package/esm/hostComponents/SwiperItem/node.js +3 -0
- package/esm/hostComponents/Switch/index.d.ts +19 -0
- package/esm/hostComponents/Switch/index.js +11 -0
- package/esm/hostComponents/Switch/node.d.ts +33 -0
- package/esm/hostComponents/Switch/node.js +3 -0
- package/esm/hostComponents/Text/index.d.ts +8 -0
- package/esm/hostComponents/Text/index.js +6 -0
- package/esm/hostComponents/Text/node.d.ts +31 -0
- package/esm/hostComponents/Text/node.js +3 -0
- package/esm/hostComponents/Textarea/index.d.ts +16 -0
- package/esm/hostComponents/Textarea/index.js +12 -0
- package/esm/hostComponents/Textarea/node.d.ts +39 -0
- package/esm/hostComponents/Textarea/node.js +3 -0
- package/esm/hostComponents/Video/index.d.ts +37 -0
- package/esm/hostComponents/Video/index.js +2 -0
- package/esm/hostComponents/Video/node.d.ts +57 -0
- package/esm/hostComponents/Video/node.js +4 -0
- package/esm/hostComponents/View/index.d.ts +24 -0
- package/esm/hostComponents/View/index.js +8 -0
- package/esm/hostComponents/View/node.d.ts +28 -0
- package/esm/hostComponents/View/node.js +3 -0
- package/esm/hostComponents/WebView/index.d.ts +21 -0
- package/esm/hostComponents/WebView/index.js +3 -0
- package/esm/hostComponents/WebView/node.d.ts +32 -0
- package/esm/hostComponents/WebView/node.js +3 -0
- package/esm/hostComponents/index.d.ts +35 -0
- package/esm/hostComponents/index.js +35 -0
- package/esm/hostComponents/node.d.ts +2 -0
- package/esm/hostComponents/node.js +72 -0
- package/esm/hostComponents/universal.d.ts +26 -0
- package/esm/hostComponents/universal.js +26 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/node/index.d.ts +3 -0
- package/esm/node/index.js +20 -0
- package/esm/types/component.d.ts +84 -0
- package/esm/types/component.js +1 -0
- package/esm/types/config.d.ts +185 -0
- package/esm/types/config.js +1 -0
- package/esm/types/index.d.ts +2 -0
- package/esm/types/index.js +1 -0
- package/package.json +24 -19
- package/CHANGELOG.md +0 -283
- package/node.js +0 -1
- package/tsconfig.build.json +0 -8
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
className: string;
|
|
3
|
+
animation: string;
|
|
4
|
+
style: string;
|
|
5
|
+
id: string;
|
|
6
|
+
updateLayout: string;
|
|
7
|
+
src: string;
|
|
8
|
+
duration: string;
|
|
9
|
+
controls: string;
|
|
10
|
+
autoplay: string;
|
|
11
|
+
loop: string;
|
|
12
|
+
muted: string;
|
|
13
|
+
initialTime: string;
|
|
14
|
+
showFullscreenBtn: string;
|
|
15
|
+
showPlayBtn: string;
|
|
16
|
+
showCenterPlayBtn: string;
|
|
17
|
+
objectFit: string;
|
|
18
|
+
poster: string;
|
|
19
|
+
showMuteBtn: string;
|
|
20
|
+
borderWidth: string;
|
|
21
|
+
borderStyle: string;
|
|
22
|
+
borderColor: string;
|
|
23
|
+
borderRadius: string;
|
|
24
|
+
borderRadiusTopLeft: string;
|
|
25
|
+
borderRadiusTopRight: string;
|
|
26
|
+
borderRadiusBottomLeft: string;
|
|
27
|
+
borderRadiusBottomRight: string;
|
|
28
|
+
backgroundColor: string;
|
|
29
|
+
onPlay: string;
|
|
30
|
+
onPause: string;
|
|
31
|
+
onEnded: string;
|
|
32
|
+
onTimeupdate: string;
|
|
33
|
+
onFullscreenchange: string;
|
|
34
|
+
onWaiting: string;
|
|
35
|
+
onError: string;
|
|
36
|
+
onProgress: string;
|
|
37
|
+
onLoadedmetadata: string;
|
|
38
|
+
onControlstoggle: string;
|
|
39
|
+
onSeekcomplete: string;
|
|
40
|
+
disableScroll: string;
|
|
41
|
+
hoverClass: string;
|
|
42
|
+
hoverClassName: string;
|
|
43
|
+
hoverStartTime: string;
|
|
44
|
+
hoverStayTime: string;
|
|
45
|
+
hidden: string;
|
|
46
|
+
hoverStopPropagation: string;
|
|
47
|
+
onTap: string;
|
|
48
|
+
onClick: string;
|
|
49
|
+
onTouchStart: string;
|
|
50
|
+
onTouchMove: string;
|
|
51
|
+
onTouchEnd: string;
|
|
52
|
+
onTouchCancel: string;
|
|
53
|
+
onLongTap: string;
|
|
54
|
+
onLongClick: string;
|
|
55
|
+
onLongPress: string;
|
|
56
|
+
onTransitionEnd: string;
|
|
57
|
+
onAnimationIteration: string;
|
|
58
|
+
onAnimationStart: string;
|
|
59
|
+
onAnimationEnd: string;
|
|
60
|
+
};
|
|
61
|
+
export declare const props: string[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const universal_1 = require("../universal");
|
|
5
|
+
exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id', updateLayout: 'update-layout', src: 'src', duration: 'duration', controls: 'controls', 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', borderWidth: 'border-width', borderStyle: 'border-style', borderColor: 'border-color', borderRadius: 'border-radius', borderRadiusTopLeft: 'border-radius-top-left', borderRadiusTopRight: 'border-radius-top-right', borderRadiusBottomLeft: 'border-radius-bottom-left', borderRadiusBottomRight: 'border-radius-bottom-right', backgroundColor: 'background-color', onPlay: 'bind:play', onPause: 'bind:pause', onEnded: 'bind:ended', onTimeupdate: 'bind:timeupdate', onFullscreenchange: 'bind:fullscreenchange', onWaiting: 'bind:waiting', onError: 'bind:error', onProgress: 'bind:progress', onLoadedmetadata: 'bind:loadedmetadata', onControlstoggle: 'bind:controlstoggle', onSeekcomplete: 'bind:seekcomplete' });
|
|
6
|
+
exports.props = Object.values(exports.alias);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseProps, GenericEvent } from '../../types/component';
|
|
3
|
+
export interface NavigatorProps extends BaseProps {
|
|
4
|
+
/** (default: self) 在哪个目标上发生跳转,默认当前小程序 2.0.7 */
|
|
5
|
+
target?: 'self' | 'miniProgram';
|
|
6
|
+
/** 当前小程序内的跳转链接 1.0.0 */
|
|
7
|
+
url?: string;
|
|
8
|
+
/** (default: navigate) 跳转方式 1.0.0 */
|
|
9
|
+
openType?: 'navigate' | 'redirect' | 'switchTab' | 'reLaunch' | 'navigateBack' | 'exit';
|
|
10
|
+
/** (default: 1) 当 open-type 为 'navigateBack' 时有效,表示回退的层数 1.0.0 */
|
|
11
|
+
delta?: number;
|
|
12
|
+
/** 当target="miniProgram"时有效,要打开的小程序 appId 2.0.7 */
|
|
13
|
+
appId?: string;
|
|
14
|
+
/** 当target="miniProgram"时有效,打开的页面路径,如果为空则打开首页 2.0.7 */
|
|
15
|
+
path?: string;
|
|
16
|
+
/** 当target="miniProgram"时有效,需要传递给目标小程序的数据,目标小程序可在 App.onLaunch(),App.onShow() 中获取到这份数据。详情 2.0.7 */
|
|
17
|
+
extraData?: any;
|
|
18
|
+
/** (default: release) 当target="miniProgram"时有效,要打开的小程序版本 2.0.7 */
|
|
19
|
+
version?: 'develop' | 'trial' | 'release';
|
|
20
|
+
/** (default: navigator-hover) 指定点击时的样式类,当hover-class="none"时,没有点击态效果 1.0.0 */
|
|
21
|
+
hoverClassName?: string;
|
|
22
|
+
/** (default: false) 指定是否阻止本节点的祖先节点出现点击态 1.5.0 */
|
|
23
|
+
hoverStopPropagation?: boolean;
|
|
24
|
+
/** (default: 50) 按住后多久出现点击态,单位毫秒 1.0.0 */
|
|
25
|
+
hoverStartTime?: number;
|
|
26
|
+
/** (default: 600) 手指松开后点击态保留时间,单位毫秒 1.0.0 */
|
|
27
|
+
hoverStayTime?: number;
|
|
28
|
+
/** 当target="miniProgram"时有效,跳转小程序成功 2.0.7 */
|
|
29
|
+
onSuccess?: (event: GenericEvent) => any;
|
|
30
|
+
/** 当target="miniProgram"时有效,跳转小程序失败 2.0.7 */
|
|
31
|
+
onFail?: (event: GenericEvent) => any;
|
|
32
|
+
/** 当target="miniProgram"时有效,跳转小程序完成 2.0.7 */
|
|
33
|
+
onComplete?: (event: GenericEvent) => any;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html
|
|
37
|
+
*/
|
|
38
|
+
export declare const Navigator: React.ComponentType<NavigatorProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Navigator = void 0;
|
|
4
|
+
const runtime_1 = require("@ray-core/runtime");
|
|
5
|
+
/**
|
|
6
|
+
* https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html
|
|
7
|
+
*/
|
|
8
|
+
exports.Navigator = (0, runtime_1.createHostComponent)('navigator');
|
|
9
|
+
exports.Navigator.defaultProps = {
|
|
10
|
+
target: 'self',
|
|
11
|
+
openType: 'navigate',
|
|
12
|
+
delta: 1,
|
|
13
|
+
hoverClassName: 'navigator-hover',
|
|
14
|
+
hoverStopPropagation: false,
|
|
15
|
+
hoverStartTime: 50,
|
|
16
|
+
hoverStayTime: 600,
|
|
17
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
id: string;
|
|
3
|
+
className: string;
|
|
4
|
+
style: string;
|
|
5
|
+
animation: string;
|
|
6
|
+
openType: string;
|
|
7
|
+
hoverClass: string;
|
|
8
|
+
hoverClassName: string;
|
|
9
|
+
hoverStartTime: string;
|
|
10
|
+
hoverStayTime: string;
|
|
11
|
+
url: string;
|
|
12
|
+
target: string;
|
|
13
|
+
delta: string;
|
|
14
|
+
appId: string;
|
|
15
|
+
path: string;
|
|
16
|
+
extraData: string;
|
|
17
|
+
version: string;
|
|
18
|
+
hoverStopPropagation: string;
|
|
19
|
+
onSuccess: string;
|
|
20
|
+
onFail: string;
|
|
21
|
+
onComplete: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const props: string[];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
exports.alias = {
|
|
5
|
+
id: 'id',
|
|
6
|
+
className: 'class',
|
|
7
|
+
style: 'style',
|
|
8
|
+
animation: 'animation',
|
|
9
|
+
openType: 'open-type',
|
|
10
|
+
hoverClass: 'hover-class',
|
|
11
|
+
hoverClassName: 'hover-class',
|
|
12
|
+
hoverStartTime: 'hover-start-time',
|
|
13
|
+
hoverStayTime: 'hover-stay-time',
|
|
14
|
+
url: 'url',
|
|
15
|
+
target: 'target',
|
|
16
|
+
delta: 'delta',
|
|
17
|
+
appId: 'app-id',
|
|
18
|
+
path: 'path',
|
|
19
|
+
extraData: 'extra-data',
|
|
20
|
+
version: 'version',
|
|
21
|
+
hoverStopPropagation: 'hover-stop-propagation',
|
|
22
|
+
onSuccess: 'bindsuccess',
|
|
23
|
+
onFail: 'bindfail',
|
|
24
|
+
onComplete: 'bindcomplete',
|
|
25
|
+
};
|
|
26
|
+
exports.props = Object.values(exports.alias);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseProps, GenericEvent } from '../../types/component';
|
|
3
|
+
export interface PageContainerProps extends BaseProps {
|
|
4
|
+
show?: boolean;
|
|
5
|
+
duration?: number;
|
|
6
|
+
zIndex?: number;
|
|
7
|
+
overlay?: boolean;
|
|
8
|
+
position?: 'top' | 'bottom' | 'right' | 'center';
|
|
9
|
+
round?: boolean;
|
|
10
|
+
overlayStyle?: string;
|
|
11
|
+
customStyle?: string;
|
|
12
|
+
onBeforeEnter?: (event: GenericEvent) => any;
|
|
13
|
+
onEnter?: (event: GenericEvent) => any;
|
|
14
|
+
onAfterEnter?: (event: GenericEvent) => any;
|
|
15
|
+
onBeforeLeave?: (event: GenericEvent) => any;
|
|
16
|
+
onLeave?: (event: GenericEvent) => any;
|
|
17
|
+
onAfterLeave?: (event: GenericEvent) => any;
|
|
18
|
+
onClickOverlay?: (event: GenericEvent) => any;
|
|
19
|
+
}
|
|
20
|
+
export declare const PageContainer: React.ComponentType<PageContainerProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageContainer = void 0;
|
|
4
|
+
const runtime_1 = require("@ray-core/runtime");
|
|
5
|
+
exports.PageContainer = (0, runtime_1.createHostComponent)('page-container');
|
|
6
|
+
exports.PageContainer.defaultProps = {
|
|
7
|
+
// show: false,
|
|
8
|
+
duration: 300,
|
|
9
|
+
zIndex: 100,
|
|
10
|
+
overlay: true,
|
|
11
|
+
position: 'bottom',
|
|
12
|
+
// round: false,
|
|
13
|
+
// closeOnSlideDown: false,
|
|
14
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
className: string;
|
|
3
|
+
animation: string;
|
|
4
|
+
style: string;
|
|
5
|
+
id: string;
|
|
6
|
+
show: string;
|
|
7
|
+
duration: string;
|
|
8
|
+
zIndex: string;
|
|
9
|
+
overlay: string;
|
|
10
|
+
position: string;
|
|
11
|
+
round: string;
|
|
12
|
+
closeOnSlideDown: string;
|
|
13
|
+
overlayStyle: string;
|
|
14
|
+
customStyle: string;
|
|
15
|
+
onBeforeEnter: string;
|
|
16
|
+
onEnter: string;
|
|
17
|
+
onAfterEnter: string;
|
|
18
|
+
onBeforeLeave: string;
|
|
19
|
+
onLeave: string;
|
|
20
|
+
onAfterLeave: string;
|
|
21
|
+
onClickOverlay: string;
|
|
22
|
+
disableScroll: string;
|
|
23
|
+
hoverClass: string;
|
|
24
|
+
hoverClassName: string;
|
|
25
|
+
hoverStartTime: string;
|
|
26
|
+
hoverStayTime: string;
|
|
27
|
+
hidden: string;
|
|
28
|
+
hoverStopPropagation: string;
|
|
29
|
+
onTap: string;
|
|
30
|
+
onClick: string;
|
|
31
|
+
onTouchStart: string;
|
|
32
|
+
onTouchMove: string;
|
|
33
|
+
onTouchEnd: string;
|
|
34
|
+
onTouchCancel: string;
|
|
35
|
+
onLongTap: string;
|
|
36
|
+
onLongClick: string;
|
|
37
|
+
onLongPress: string;
|
|
38
|
+
onTransitionEnd: string;
|
|
39
|
+
onAnimationIteration: string;
|
|
40
|
+
onAnimationStart: string;
|
|
41
|
+
onAnimationEnd: string;
|
|
42
|
+
};
|
|
43
|
+
export declare const props: string[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const universal_1 = require("../universal");
|
|
5
|
+
exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { className: 'class', animation: 'animation', style: 'style', id: 'id', show: 'show', duration: 'duration', zIndex: 'z-index', overlay: 'overlay', position: 'position', round: 'round', closeOnSlideDown: 'close-on-slideDown', overlayStyle: 'overlay-style', customStyle: 'custom-style', onBeforeEnter: 'bindbeforeenter', onEnter: 'bindenter', onAfterEnter: 'bindafterenter', onBeforeLeave: 'bindbeforeleave', onLeave: 'bindleave', onAfterLeave: 'bindafterleave', onClickOverlay: 'bindclickoverlay' });
|
|
6
|
+
exports.props = Object.values(exports.alias);
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseProps, GenericEvent } from '../../types/component';
|
|
3
|
+
export interface PickerProps extends BaseProps {
|
|
4
|
+
name?: string;
|
|
5
|
+
/**
|
|
6
|
+
* 选择器类型
|
|
7
|
+
*
|
|
8
|
+
* selector 普通选择器
|
|
9
|
+
* multiSelector 多列选择器
|
|
10
|
+
* time 时间选择器
|
|
11
|
+
* date 日期选择器
|
|
12
|
+
* region 省市区选择器
|
|
13
|
+
*/
|
|
14
|
+
mode?: 'selector' | 'multiSelector' | 'time' | 'date' | 'region';
|
|
15
|
+
/**
|
|
16
|
+
* 是否禁用
|
|
17
|
+
*/
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* 1.9.90
|
|
21
|
+
* 取消选择时触发
|
|
22
|
+
*/
|
|
23
|
+
onCancel?: (event: GenericEvent) => any;
|
|
24
|
+
onChange?: (event: GenericEvent) => void;
|
|
25
|
+
/**
|
|
26
|
+
* 列改变时触发
|
|
27
|
+
*/
|
|
28
|
+
onColumnChange?: (event: any) => void;
|
|
29
|
+
/**
|
|
30
|
+
* mode 为 selector 或 multiSelector 时,range 有效
|
|
31
|
+
*/
|
|
32
|
+
range?: any[];
|
|
33
|
+
/**
|
|
34
|
+
* 当 range 是一个 Object Array 时,通过 range-key 来指定 Object 中 key 的值作为选择器显示内容
|
|
35
|
+
*/
|
|
36
|
+
rangeKey?: string;
|
|
37
|
+
value?: any;
|
|
38
|
+
/**
|
|
39
|
+
* mode = time
|
|
40
|
+
* 表示有效时间范围的开始,字符串格式为"hh:mm"
|
|
41
|
+
*
|
|
42
|
+
* mode = date
|
|
43
|
+
* 表示有效日期范围的开始,字符串格式为"YYYY-MM-DD"
|
|
44
|
+
*/
|
|
45
|
+
start?: string;
|
|
46
|
+
/**
|
|
47
|
+
* mode = time
|
|
48
|
+
* 表示有效时间范围的结束,字符串格式为"hh:mm"
|
|
49
|
+
*
|
|
50
|
+
* mode = date
|
|
51
|
+
* 表示有效日期范围的结束,字符串格式为"YYYY-MM-DD"
|
|
52
|
+
*/
|
|
53
|
+
end?: string;
|
|
54
|
+
/**
|
|
55
|
+
* 有效值 year,month,day,表示选择器的粒度
|
|
56
|
+
*/
|
|
57
|
+
fields?: 'year' | 'month' | 'day';
|
|
58
|
+
/**
|
|
59
|
+
* mode = region
|
|
60
|
+
* 可为每一列的顶部添加一个自定义的项
|
|
61
|
+
*/
|
|
62
|
+
customItem?: string;
|
|
63
|
+
}
|
|
64
|
+
export declare const Picker: React.ComponentType<PickerProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Picker = void 0;
|
|
4
|
+
const runtime_1 = require("@ray-core/runtime");
|
|
5
|
+
exports.Picker = (0, runtime_1.createHostComponent)('picker');
|
|
6
|
+
exports.Picker.defaultProps = {
|
|
7
|
+
mode: 'selector',
|
|
8
|
+
// disabled: false,
|
|
9
|
+
// FIXME: value 的值与 mode 类型变化
|
|
10
|
+
// value: 0,
|
|
11
|
+
range: [],
|
|
12
|
+
fields: 'day',
|
|
13
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
className: string;
|
|
5
|
+
animation: string;
|
|
6
|
+
style: string;
|
|
7
|
+
mode: string;
|
|
8
|
+
range: string;
|
|
9
|
+
rangeKey: string;
|
|
10
|
+
value: string;
|
|
11
|
+
onChange: string;
|
|
12
|
+
onCancel: string;
|
|
13
|
+
onColumnChange: string;
|
|
14
|
+
start: string;
|
|
15
|
+
end: string;
|
|
16
|
+
fields: string;
|
|
17
|
+
customItem: string;
|
|
18
|
+
disabled: string;
|
|
19
|
+
onClick: string;
|
|
20
|
+
onTap: string;
|
|
21
|
+
disableScroll: string;
|
|
22
|
+
hoverClass: string;
|
|
23
|
+
hoverClassName: string;
|
|
24
|
+
hoverStartTime: string;
|
|
25
|
+
hoverStayTime: string;
|
|
26
|
+
hidden: string;
|
|
27
|
+
hoverStopPropagation: string;
|
|
28
|
+
onTouchStart: string;
|
|
29
|
+
onTouchMove: string;
|
|
30
|
+
onTouchEnd: string;
|
|
31
|
+
onTouchCancel: string;
|
|
32
|
+
onLongTap: string;
|
|
33
|
+
onLongClick: string;
|
|
34
|
+
onLongPress: string;
|
|
35
|
+
onTransitionEnd: string;
|
|
36
|
+
onAnimationIteration: string;
|
|
37
|
+
onAnimationStart: string;
|
|
38
|
+
onAnimationEnd: string;
|
|
39
|
+
};
|
|
40
|
+
export declare const props: string[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const universal_1 = require("../universal");
|
|
5
|
+
exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', name: 'name', className: 'class', animation: 'animation', style: 'style', mode: 'mode', range: 'range', rangeKey: 'range-key', value: 'value', onChange: 'bindchange', onCancel: 'bindcancel', onColumnChange: 'bindcolumnchange', start: 'start', end: 'end', fields: 'fields', customItem: 'custom-item', disabled: 'disabled', onClick: 'bindtap', onTap: 'bindtap' });
|
|
6
|
+
exports.props = Object.values(exports.alias);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseProps, GenericEvent } from '../../types/component';
|
|
3
|
+
export interface PickerViewProps extends BaseProps {
|
|
4
|
+
/** 数组中的数字依次表示 picker-view 内的 picker-view-column 选择的第几项(下标从 0 开始),数字大于 picker-view-column 可选项长度时,选择最后一项。 */
|
|
5
|
+
value?: number[];
|
|
6
|
+
/** 设置选择器中间选中框的样式 */
|
|
7
|
+
indicatorStyle?: React.CSSProperties;
|
|
8
|
+
/** 设置蒙层的样式 */
|
|
9
|
+
maskStyle?: React.CSSProperties;
|
|
10
|
+
/** 滚动选择时触发 change 事件,event.detail = {value};value 为数组,表示 picker-view 内的 picker-view-column 当前选择的是第几项(下标从 0 开始) */
|
|
11
|
+
onChange?: (event: GenericEvent) => any;
|
|
12
|
+
/** 当滚动选择开始时候触发事件 */
|
|
13
|
+
onPickstart?: (event: GenericEvent) => any;
|
|
14
|
+
/** 当滚动选择结束时候触发事件 */
|
|
15
|
+
onPickend?: (event: GenericEvent) => any;
|
|
16
|
+
}
|
|
17
|
+
export declare const PickerView: React.ComponentType<PickerViewProps>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
value: string;
|
|
3
|
+
indicatorStyle: string;
|
|
4
|
+
maskStyle: string;
|
|
5
|
+
onChange: string;
|
|
6
|
+
onPickstart: string;
|
|
7
|
+
onPickend: string;
|
|
8
|
+
id: string;
|
|
9
|
+
disableScroll: string;
|
|
10
|
+
hoverClass: string;
|
|
11
|
+
hoverClassName: string;
|
|
12
|
+
hoverStartTime: string;
|
|
13
|
+
hoverStayTime: string;
|
|
14
|
+
hidden: string;
|
|
15
|
+
className: string;
|
|
16
|
+
animation: string;
|
|
17
|
+
style: 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[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const universal_1 = require("../universal");
|
|
5
|
+
exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { value: 'value', indicatorStyle: 'indicator-style', maskStyle: 'mask-style', onChange: 'bindchange', onPickstart: 'bindpickstart', onPickend: 'bindpickend' });
|
|
6
|
+
exports.props = Object.values(exports.alias);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
id: string;
|
|
3
|
+
className: string;
|
|
4
|
+
animation: string;
|
|
5
|
+
style: 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[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const universal_1 = require("../universal");
|
|
5
|
+
exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style' });
|
|
6
|
+
exports.props = Object.values(exports.alias);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseProps } from '../../types/component';
|
|
3
|
+
export interface ProgressProps extends BaseProps {
|
|
4
|
+
percent?: number;
|
|
5
|
+
showInfo?: boolean;
|
|
6
|
+
borderRadius?: number | string;
|
|
7
|
+
fontSize?: number | string;
|
|
8
|
+
strokeWidth?: number | string;
|
|
9
|
+
activeColor?: string;
|
|
10
|
+
backgroundColor?: string;
|
|
11
|
+
active?: boolean;
|
|
12
|
+
activeMode?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const Progress: React.ComponentType<ProgressProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Progress = void 0;
|
|
4
|
+
const runtime_1 = require("@ray-core/runtime");
|
|
5
|
+
exports.Progress = (0, runtime_1.createHostComponent)('progress');
|
|
6
|
+
exports.Progress.defaultProps = {
|
|
7
|
+
borderRadius: 0,
|
|
8
|
+
fontSize: 16,
|
|
9
|
+
strokeWidth: 6,
|
|
10
|
+
activeColor: '#007aff',
|
|
11
|
+
backgroundColor: 'rgba(0,0,0,.04)',
|
|
12
|
+
activeMode: 'backwards',
|
|
13
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
className: string;
|
|
3
|
+
animation: string;
|
|
4
|
+
id: string;
|
|
5
|
+
style: string;
|
|
6
|
+
percent: string;
|
|
7
|
+
showInfo: string;
|
|
8
|
+
borderRadius: string;
|
|
9
|
+
fontSize: string;
|
|
10
|
+
strokeWidth: string;
|
|
11
|
+
activeColor: string;
|
|
12
|
+
backgroundColor: string;
|
|
13
|
+
active: string;
|
|
14
|
+
activeMode: string;
|
|
15
|
+
disableScroll: string;
|
|
16
|
+
hoverClass: string;
|
|
17
|
+
hoverClassName: string;
|
|
18
|
+
hoverStartTime: string;
|
|
19
|
+
hoverStayTime: string;
|
|
20
|
+
hidden: string;
|
|
21
|
+
hoverStopPropagation: string;
|
|
22
|
+
onTap: string;
|
|
23
|
+
onClick: string;
|
|
24
|
+
onTouchStart: string;
|
|
25
|
+
onTouchMove: string;
|
|
26
|
+
onTouchEnd: string;
|
|
27
|
+
onTouchCancel: string;
|
|
28
|
+
onLongTap: string;
|
|
29
|
+
onLongClick: string;
|
|
30
|
+
onLongPress: string;
|
|
31
|
+
onTransitionEnd: string;
|
|
32
|
+
onAnimationIteration: string;
|
|
33
|
+
onAnimationStart: string;
|
|
34
|
+
onAnimationEnd: string;
|
|
35
|
+
};
|
|
36
|
+
export declare const props: string[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const universal_1 = require("../universal");
|
|
5
|
+
exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { className: 'class', animation: 'animation', id: 'id', style: 'style', percent: 'percent', showInfo: 'show-info', borderRadius: 'border-radius', fontSize: 'font-size', strokeWidth: 'stroke-width', activeColor: 'active-Color', backgroundColor: 'background-color', active: 'active', activeMode: 'active-mode' });
|
|
6
|
+
exports.props = Object.values(exports.alias);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseProps } from '../../types/component';
|
|
3
|
+
export interface RadioProps extends BaseProps {
|
|
4
|
+
/** radio 标识。当该radio 选中时,radio-group 的 change 事件会携带radio的value */
|
|
5
|
+
value?: string;
|
|
6
|
+
/** (default: false) 当前是否选中 */
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
/** (default: false) 是否禁用 */
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** (default: #09BB07) radio的颜色,同css的color */
|
|
11
|
+
color?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const Radio: React.ComponentType<RadioProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Radio = void 0;
|
|
4
|
+
const runtime_1 = require("@ray-core/runtime");
|
|
5
|
+
exports.Radio = (0, runtime_1.createHostComponent)('radio');
|
|
6
|
+
exports.Radio.defaultProps = {
|
|
7
|
+
// checked: false,
|
|
8
|
+
// disabled: false,
|
|
9
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const alias: {
|
|
2
|
+
id: string;
|
|
3
|
+
className: string;
|
|
4
|
+
animation: string;
|
|
5
|
+
style: string;
|
|
6
|
+
value: string;
|
|
7
|
+
checked: string;
|
|
8
|
+
disabled: string;
|
|
9
|
+
color: 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[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.props = exports.alias = void 0;
|
|
4
|
+
const universal_1 = require("../universal");
|
|
5
|
+
exports.alias = Object.assign(Object.assign({}, universal_1.universalAlias), { id: 'id', className: 'class', animation: 'animation', style: 'style', value: 'value', checked: 'checked', disabled: 'disabled', color: 'color' });
|
|
6
|
+
exports.props = Object.values(exports.alias);
|