@ray-js/adapter 1.4.0-alpha.4 → 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 -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,6 +0,0 @@
|
|
|
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', selectable: 'selectable', userSelect: 'user-select', space: 'space', decode: 'decode', onTap: 'bindtap', onClick: 'bindtap' });
|
|
6
|
-
exports.props = Object.values(exports.alias);
|
|
@@ -1,16 +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
|
-
autoHeight?: boolean;
|
|
11
|
-
onInput?: (event: GenericEvent) => void;
|
|
12
|
-
onFocus?: (event: GenericEvent) => void;
|
|
13
|
-
onBlur?: (event: GenericEvent) => void;
|
|
14
|
-
onLineChange?: (event: GenericEvent) => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const Textarea: React.ComponentType<TextareaProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Textarea = void 0;
|
|
4
|
-
const runtime_1 = require("@ray-core/runtime");
|
|
5
|
-
exports.Textarea = (0, runtime_1.createHostComponent)('textarea');
|
|
6
|
-
exports.Textarea.defaultProps = {
|
|
7
|
-
/**
|
|
8
|
-
* 修复 <Textarea maxLength={1000} />
|
|
9
|
-
* 在编译时会将 maxLength 转为 maxlength,但实际 defaultProps 中 仍然使用 maxLength
|
|
10
|
-
* 最终导致传给组件的props { maxlength: 1000, maxlength: 140 }
|
|
11
|
-
* 最后经过 html2mini-plugin 转换后 maxLength 再次转为 maxlength, 且值变为 140。
|
|
12
|
-
* 最终导致值错误
|
|
13
|
-
*/
|
|
14
|
-
maxlength: 140,
|
|
15
|
-
};
|
|
@@ -1,39 +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
|
-
autoHeight: string;
|
|
14
|
-
onInput: string;
|
|
15
|
-
onFocus: string;
|
|
16
|
-
onBlur: string;
|
|
17
|
-
onLineChange: 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,6 +0,0 @@
|
|
|
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', name: 'name', value: 'value', placeholder: 'placeholder', placeholderStyle: 'placeholder-style', disabled: 'disabled', maxLength: 'maxlength', maxlength: 'maxlength', autoHeight: 'auto-height', onInput: 'bindinput', onFocus: 'bindfocus', onBlur: 'bindblur', onLineChange: 'bindlinechange' });
|
|
6
|
-
exports.props = Object.values(exports.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,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.props = exports.alias = void 0;
|
|
4
|
-
const shared_1 = require("@ray-core/shared");
|
|
5
|
-
const universal_1 = require("../universal");
|
|
6
|
-
exports.alias = Object.assign(Object.assign({}, universal_1.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' });
|
|
7
|
-
exports.props = (0, shared_1.unique)(Object.values(exports.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,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.View = void 0;
|
|
4
|
-
const runtime_1 = require("@ray-core/runtime");
|
|
5
|
-
exports.View = (0, runtime_1.createHostComponent)('view');
|
|
6
|
-
exports.View.defaultProps = {
|
|
7
|
-
// hoverClassName: 'none',
|
|
8
|
-
// hoverStopPropagation: false,
|
|
9
|
-
// hoverStartTime: 50,
|
|
10
|
-
// hoverStayTime: 400,
|
|
11
|
-
};
|
|
@@ -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,6 +0,0 @@
|
|
|
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), { catchTouchMove: 'catchtouchmove' });
|
|
6
|
-
exports.props = Object.values(exports.alias);
|
|
@@ -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,6 +0,0 @@
|
|
|
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), { src: 'src', onError: 'binderror', onLoad: 'bindload', onMessage: 'bindmessage', updateLayout: 'update-layout' });
|
|
6
|
-
exports.props = Object.values(exports.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,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./Button"), exports);
|
|
18
|
-
__exportStar(require("./Canvas"), exports);
|
|
19
|
-
__exportStar(require("./Checkbox"), exports);
|
|
20
|
-
__exportStar(require("./CheckboxGroup"), exports);
|
|
21
|
-
__exportStar(require("./Form"), exports);
|
|
22
|
-
__exportStar(require("./Image"), exports);
|
|
23
|
-
__exportStar(require("./Input"), exports);
|
|
24
|
-
__exportStar(require("./Label"), exports);
|
|
25
|
-
__exportStar(require("./MovableArea"), exports);
|
|
26
|
-
__exportStar(require("./MovableView"), exports);
|
|
27
|
-
__exportStar(require("./Picker"), exports);
|
|
28
|
-
__exportStar(require("./PickerView"), exports);
|
|
29
|
-
__exportStar(require("./PickerViewColumn"), exports);
|
|
30
|
-
__exportStar(require("./Radio"), exports);
|
|
31
|
-
__exportStar(require("./RadioGroup"), exports);
|
|
32
|
-
__exportStar(require("./ScrollView"), exports);
|
|
33
|
-
__exportStar(require("./Swiper"), exports);
|
|
34
|
-
__exportStar(require("./SwiperItem"), exports);
|
|
35
|
-
__exportStar(require("./Switch"), exports);
|
|
36
|
-
__exportStar(require("./Slider"), exports);
|
|
37
|
-
__exportStar(require("./Text"), exports);
|
|
38
|
-
__exportStar(require("./Textarea"), exports);
|
|
39
|
-
__exportStar(require("./Video"), exports);
|
|
40
|
-
__exportStar(require("./View"), exports);
|
|
41
|
-
__exportStar(require("./PageContainer"), exports);
|
|
42
|
-
__exportStar(require("./IpcPlayer"), exports);
|
|
43
|
-
__exportStar(require("./CoverView"), exports);
|
|
44
|
-
__exportStar(require("./NativeVideo"), exports);
|
|
45
|
-
__exportStar(require("./WebView"), exports);
|
|
46
|
-
__exportStar(require("./Iframe"), exports);
|
|
47
|
-
__exportStar(require("./Map"), exports);
|
|
48
|
-
__exportStar(require("./Camera"), exports);
|
|
49
|
-
__exportStar(require("./Progress"), exports);
|
|
50
|
-
__exportStar(require("./RichText"), exports);
|
|
51
|
-
__exportStar(require("./Navigator"), exports);
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
const Button = __importStar(require("./Button/node"));
|
|
27
|
-
const Canvas = __importStar(require("./Canvas/node"));
|
|
28
|
-
const Checkbox = __importStar(require("./Checkbox/node"));
|
|
29
|
-
const CheckboxGroup = __importStar(require("./CheckboxGroup/node"));
|
|
30
|
-
const Form = __importStar(require("./Form/node"));
|
|
31
|
-
const Image = __importStar(require("./Image/node"));
|
|
32
|
-
const Input = __importStar(require("./Input/node"));
|
|
33
|
-
const Label = __importStar(require("./Label/node"));
|
|
34
|
-
const MovableArea = __importStar(require("./MovableArea/node"));
|
|
35
|
-
const MovableView = __importStar(require("./MovableView/node"));
|
|
36
|
-
const Picker = __importStar(require("./Picker/node"));
|
|
37
|
-
const PickerView = __importStar(require("./PickerView/node"));
|
|
38
|
-
const PickerViewColumn = __importStar(require("./PickerViewColumn/node"));
|
|
39
|
-
const Radio = __importStar(require("./Radio/node"));
|
|
40
|
-
const RadioGroup = __importStar(require("./RadioGroup/node"));
|
|
41
|
-
const ScrollView = __importStar(require("./ScrollView/node"));
|
|
42
|
-
const Swiper = __importStar(require("./Swiper/node"));
|
|
43
|
-
const SwiperItem = __importStar(require("./SwiperItem/node"));
|
|
44
|
-
const Switch = __importStar(require("./Switch/node"));
|
|
45
|
-
const Slider = __importStar(require("./Slider/node"));
|
|
46
|
-
const Text = __importStar(require("./Text/node"));
|
|
47
|
-
const Textarea = __importStar(require("./Textarea/node"));
|
|
48
|
-
const Video = __importStar(require("./Video/node"));
|
|
49
|
-
const View = __importStar(require("./View/node"));
|
|
50
|
-
const PageContainer = __importStar(require("./PageContainer/node"));
|
|
51
|
-
const Progress = __importStar(require("./Progress/node"));
|
|
52
|
-
const IpcPlayer = __importStar(require("./IpcPlayer/node"));
|
|
53
|
-
const CoverView = __importStar(require("./CoverView/node"));
|
|
54
|
-
const NativeVideo = __importStar(require("./NativeVideo/node"));
|
|
55
|
-
const WebView = __importStar(require("./WebView/node"));
|
|
56
|
-
const MapView = __importStar(require("./Map/node"));
|
|
57
|
-
const Camera = __importStar(require("./Camera/node"));
|
|
58
|
-
const RichText = __importStar(require("./RichText/node"));
|
|
59
|
-
const Iframe = __importStar(require("./Iframe/node"));
|
|
60
|
-
const Navigator = __importStar(require("./Navigator/node"));
|
|
61
|
-
const hostComponents = new Map();
|
|
62
|
-
hostComponents.set('button', Button);
|
|
63
|
-
hostComponents.set('canvas', Canvas);
|
|
64
|
-
hostComponents.set('checkbox', Checkbox);
|
|
65
|
-
hostComponents.set('checkbox-group', CheckboxGroup);
|
|
66
|
-
hostComponents.set('form', Form);
|
|
67
|
-
hostComponents.set('image', Image);
|
|
68
|
-
hostComponents.set('input', Input);
|
|
69
|
-
hostComponents.set('label', Label);
|
|
70
|
-
hostComponents.set('movable-area', MovableArea);
|
|
71
|
-
hostComponents.set('movable-view', MovableView);
|
|
72
|
-
hostComponents.set('picker', Picker);
|
|
73
|
-
hostComponents.set('picker-view', PickerView);
|
|
74
|
-
hostComponents.set('picker-view-column', PickerViewColumn);
|
|
75
|
-
hostComponents.set('radio', Radio);
|
|
76
|
-
hostComponents.set('radio-group', RadioGroup);
|
|
77
|
-
hostComponents.set('scroll-view', ScrollView);
|
|
78
|
-
hostComponents.set('swiper', Swiper);
|
|
79
|
-
hostComponents.set('swiper-item', SwiperItem);
|
|
80
|
-
hostComponents.set('switch', Switch);
|
|
81
|
-
hostComponents.set('slider', Slider);
|
|
82
|
-
hostComponents.set('text', Text);
|
|
83
|
-
hostComponents.set('textarea', Textarea);
|
|
84
|
-
hostComponents.set('video', Video);
|
|
85
|
-
hostComponents.set('view', View);
|
|
86
|
-
hostComponents.set('page-container', PageContainer);
|
|
87
|
-
hostComponents.set('ipc-player', IpcPlayer);
|
|
88
|
-
hostComponents.set('cover-view', CoverView);
|
|
89
|
-
hostComponents.set('native-video', NativeVideo);
|
|
90
|
-
hostComponents.set('web-view', WebView);
|
|
91
|
-
hostComponents.set('map', MapView);
|
|
92
|
-
hostComponents.set('camera', Camera);
|
|
93
|
-
hostComponents.set('progress', Progress);
|
|
94
|
-
hostComponents.set('rich-text', RichText);
|
|
95
|
-
hostComponents.set('iframe', Iframe);
|
|
96
|
-
hostComponents.set('navigator', Navigator);
|
|
97
|
-
exports.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
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.universalAlias = void 0;
|
|
4
|
-
exports.universalAlias = {
|
|
5
|
-
id: 'id',
|
|
6
|
-
disableScroll: 'disable-scroll',
|
|
7
|
-
hoverClass: 'hover-class',
|
|
8
|
-
hoverClassName: 'hover-class',
|
|
9
|
-
hoverStartTime: 'hover-start-time',
|
|
10
|
-
hoverStayTime: 'hover-stay-time',
|
|
11
|
-
hidden: 'hidden',
|
|
12
|
-
className: 'class',
|
|
13
|
-
animation: 'animation',
|
|
14
|
-
style: 'style',
|
|
15
|
-
hoverStopPropagation: 'hover-stop-propagation',
|
|
16
|
-
onTap: 'bindtap',
|
|
17
|
-
onClick: 'bindtap',
|
|
18
|
-
onTouchStart: 'bindtouchstart',
|
|
19
|
-
onTouchMove: 'bindtouchmove',
|
|
20
|
-
onTouchEnd: 'bindtouchend',
|
|
21
|
-
onTouchCancel: 'bindtouchcancel',
|
|
22
|
-
onLongTap: 'bindlongtap',
|
|
23
|
-
onLongClick: 'bindlongtap',
|
|
24
|
-
onLongPress: 'bindlongpress',
|
|
25
|
-
onTransitionEnd: 'bindtransitionend',
|
|
26
|
-
onAnimationIteration: 'bindanimationiteration',
|
|
27
|
-
onAnimationStart: 'bindanimationstart',
|
|
28
|
-
onAnimationEnd: 'bindanimationend',
|
|
29
|
-
};
|
package/cjs/index.d.ts
DELETED
package/cjs/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./hostComponents"), exports);
|
|
18
|
-
__exportStar(require("./types"), exports);
|
package/cjs/node/index.d.ts
DELETED