@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
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.3.13-beta-2](./compare/v1.3.13...v1.3.13-beta-2) (2023-08-17)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- 添加 input 左右侧内容缩进属性 ([d6f963a](./commit/d6f963a34d300e79f17da00bb9e654662d108249))
|
|
10
|
+
|
|
11
|
+
### [1.3.13-beta-1](./compare/v1.3.12...v1.3.13-beta-1) (2023-08-17)
|
|
12
|
+
|
|
13
|
+
**Note:** Version bump only for package @ray-js/adapter
|
|
14
|
+
|
|
15
|
+
### [1.3.12](./compare/v1.3.11...v1.3.12) (2023-08-17)
|
|
16
|
+
|
|
17
|
+
**Note:** Version bump only for package @ray-js/adapter
|
|
18
|
+
|
|
19
|
+
### [1.3.11](./compare/v1.3.10...v1.3.11) (2023-08-17)
|
|
20
|
+
|
|
21
|
+
**Note:** Version bump only for package @ray-js/adapter
|
|
22
|
+
|
|
23
|
+
### [1.3.10](./compare/v1.3.9...v1.3.10) (2023-08-17)
|
|
24
|
+
|
|
25
|
+
**Note:** Version bump only for package @ray-js/adapter
|
|
26
|
+
|
|
27
|
+
### [1.3.9](./compare/v1.3.4...v1.3.9) (2023-08-17)
|
|
28
|
+
|
|
29
|
+
**Note:** Version bump only for package @ray-js/adapter
|
|
30
|
+
|
|
5
31
|
### [1.2.16-beta-1](./compare/v1.2.16-alpha.2...v1.2.16-beta-1) (2023-05-22)
|
|
6
32
|
|
|
7
33
|
**Note:** Version bump only for package @ray-js/adapter
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/adapter",
|
|
3
|
-
"version": "1.4.0-alpha.
|
|
3
|
+
"version": "1.4.0-alpha.5",
|
|
4
4
|
"description": "Ray adapter for tuya",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ray"
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"watch": "concurrently 'yarn build:cjs --watch' 'yarn build:esm --watch'"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@ray-js/types": "^1.4.0-alpha.
|
|
25
|
-
"concurrently": "^6.
|
|
24
|
+
"@ray-js/types": "^1.4.0-alpha.5",
|
|
25
|
+
"concurrently": "^6.5.1"
|
|
26
26
|
},
|
|
27
27
|
"maintainers": [
|
|
28
28
|
{
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
}
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@ray-core/runtime": "^0.3.
|
|
35
|
-
"@ray-core/shared": "^0.3.
|
|
36
|
-
"@ray-core/types": "^0.3.
|
|
34
|
+
"@ray-core/runtime": "^0.3.6",
|
|
35
|
+
"@ray-core/shared": "^0.3.6",
|
|
36
|
+
"@ray-core/types": "^0.3.6"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "14cb935df10f020e714b44bb41d4899646db751c",
|
|
39
39
|
"repository": {}
|
|
40
40
|
}
|
package/LICENSE.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Copyright © 2014-2022 Tuya.inc
|
|
2
|
-
|
|
3
|
-
MIT License
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps } from '../../types/component';
|
|
3
|
-
export interface ButtonProps extends BaseProps {
|
|
4
|
-
size?: 'mini' | 'default';
|
|
5
|
-
type?: 'primary' | 'default' | 'warn';
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
loading?: boolean;
|
|
8
|
-
formType?: 'submit' | 'reset';
|
|
9
|
-
plain?: boolean;
|
|
10
|
-
hoverClassName?: string;
|
|
11
|
-
hoverStartTime?: number;
|
|
12
|
-
hoverStayTime?: number;
|
|
13
|
-
hoverStopPropagation?: boolean;
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export declare const Button: React.ComponentType<ButtonProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Button = void 0;
|
|
4
|
-
const runtime_1 = require("@ray-core/runtime");
|
|
5
|
-
exports.Button = (0, runtime_1.createHostComponent)('button');
|
|
6
|
-
exports.Button.defaultProps = {
|
|
7
|
-
size: 'default',
|
|
8
|
-
type: 'default',
|
|
9
|
-
hoverClassName: 'button-hover',
|
|
10
|
-
hoverStartTime: 20,
|
|
11
|
-
hoverStayTime: 70,
|
|
12
|
-
// disabled: false,
|
|
13
|
-
// loading: false,
|
|
14
|
-
// hoverStopPropagation: false,
|
|
15
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
className: string;
|
|
3
|
-
animation: string;
|
|
4
|
-
id: string;
|
|
5
|
-
style: string;
|
|
6
|
-
size: string;
|
|
7
|
-
type: string;
|
|
8
|
-
plain: string;
|
|
9
|
-
disabled: string;
|
|
10
|
-
loading: string;
|
|
11
|
-
formType: string;
|
|
12
|
-
openType: string;
|
|
13
|
-
hoverClassName: string;
|
|
14
|
-
hoverStartTime: string;
|
|
15
|
-
hoverStayTime: string;
|
|
16
|
-
hoverStopPropagation: string;
|
|
17
|
-
onGetPhoneNumber: 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
|
-
disableScroll: string;
|
|
28
|
-
hoverClass: string;
|
|
29
|
-
hidden: string;
|
|
30
|
-
onTransitionEnd: string;
|
|
31
|
-
onAnimationIteration: string;
|
|
32
|
-
onAnimationStart: string;
|
|
33
|
-
onAnimationEnd: string;
|
|
34
|
-
};
|
|
35
|
-
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), { className: 'class', animation: 'animation', id: 'id', style: 'style', size: 'size', type: 'type', plain: 'plain', disabled: 'disabled', loading: 'loading', formType: 'form-type', openType: 'open-type', hoverClassName: 'hover-class', hoverStartTime: 'hover-start-time', hoverStayTime: 'hover-stay-time', hoverStopPropagation: 'hover-stop-propagation', onGetPhoneNumber: 'bindgetphonenumber', onTap: 'bindtap', onClick: 'bindtap', onTouchStart: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel', onLongTap: 'bindlongtap', onLongClick: 'bindlongtap', onLongPress: 'bindlongpress' });
|
|
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 CameraProps extends BaseProps, DiffLayer {
|
|
4
|
-
mode?: string;
|
|
5
|
-
resolution?: string;
|
|
6
|
-
devicePosition?: string;
|
|
7
|
-
flash?: string;
|
|
8
|
-
borderWidth?: number;
|
|
9
|
-
borderStyle?: string;
|
|
10
|
-
borderColor?: string;
|
|
11
|
-
borderRadius?: number;
|
|
12
|
-
borderRadiusTopLeft?: number;
|
|
13
|
-
borderRadiusTopRight?: number;
|
|
14
|
-
borderRadiusBottomLeft?: number;
|
|
15
|
-
borderRadiusBottomRight?: number;
|
|
16
|
-
backgroundColor?: string;
|
|
17
|
-
onBindstop?: (event: GenericEvent) => any;
|
|
18
|
-
onError?: (event: GenericEvent) => any;
|
|
19
|
-
onInitdone?: (event: GenericEvent) => any;
|
|
20
|
-
}
|
|
21
|
-
export declare const Camera: React.ComponentType<CameraProps>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Camera = void 0;
|
|
4
|
-
const runtime_1 = require("@ray-core/runtime");
|
|
5
|
-
exports.Camera = (0, runtime_1.createHostComponent)('camera');
|
|
6
|
-
exports.Camera.defaultProps = {
|
|
7
|
-
mode: 'normal',
|
|
8
|
-
resolution: 'medium',
|
|
9
|
-
devicePosition: 'back',
|
|
10
|
-
flash: 'auto',
|
|
11
|
-
borderWidth: 0,
|
|
12
|
-
borderStyle: 'solid',
|
|
13
|
-
borderColor: '#ffffff',
|
|
14
|
-
borderRadius: 0,
|
|
15
|
-
backgroundColor: '#ffffff',
|
|
16
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
id: string;
|
|
3
|
-
className: string;
|
|
4
|
-
style: string;
|
|
5
|
-
updateLayout: string;
|
|
6
|
-
mode: string;
|
|
7
|
-
resolution: string;
|
|
8
|
-
devicePosition: string;
|
|
9
|
-
flash: string;
|
|
10
|
-
borderWidth: string;
|
|
11
|
-
borderStyle: string;
|
|
12
|
-
borderColor: string;
|
|
13
|
-
borderRadius: string;
|
|
14
|
-
borderRadiusTopLeft: string;
|
|
15
|
-
borderRadiusTopRight: string;
|
|
16
|
-
borderRadiusBottomLeft: string;
|
|
17
|
-
borderRadiusBottomRight: string;
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
onBindstop: string;
|
|
20
|
-
onError: string;
|
|
21
|
-
onInitdone: string;
|
|
22
|
-
disableScroll: string;
|
|
23
|
-
hoverClass: string;
|
|
24
|
-
hoverClassName: string;
|
|
25
|
-
hoverStartTime: string;
|
|
26
|
-
hoverStayTime: string;
|
|
27
|
-
hidden: string;
|
|
28
|
-
animation: string;
|
|
29
|
-
hoverStopPropagation: string;
|
|
30
|
-
onTap: string;
|
|
31
|
-
onClick: string;
|
|
32
|
-
onTouchStart: string;
|
|
33
|
-
onTouchMove: string;
|
|
34
|
-
onTouchEnd: string;
|
|
35
|
-
onTouchCancel: string;
|
|
36
|
-
onLongTap: string;
|
|
37
|
-
onLongClick: string;
|
|
38
|
-
onLongPress: string;
|
|
39
|
-
onTransitionEnd: string;
|
|
40
|
-
onAnimationIteration: string;
|
|
41
|
-
onAnimationStart: string;
|
|
42
|
-
onAnimationEnd: string;
|
|
43
|
-
};
|
|
44
|
-
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', style: 'style', updateLayout: 'update-layout', mode: 'mode', resolution: 'resolution', devicePosition: 'device-position', flash: 'flash', 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', onBindstop: 'bind:bindstop', onError: 'bind:error', onInitdone: 'bind:initdone' });
|
|
6
|
-
exports.props = Object.values(exports.alias);
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { GenericEvent } from '../../types';
|
|
3
|
-
export interface CanvasProps {
|
|
4
|
-
readonly dataset?: DOMStringMap;
|
|
5
|
-
id?: string;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
className?: string;
|
|
8
|
-
onTap?: (e: any) => void;
|
|
9
|
-
type?: string;
|
|
10
|
-
canvasId?: string;
|
|
11
|
-
disableScroll?: string;
|
|
12
|
-
onTouchStart?: (event: GenericEvent) => void;
|
|
13
|
-
onTouchMove?: (event: GenericEvent) => void;
|
|
14
|
-
onTouchEnd?: (event: GenericEvent) => void;
|
|
15
|
-
onTouchCancel?: (event: GenericEvent) => void;
|
|
16
|
-
onLongTap?: (event: GenericEvent) => void;
|
|
17
|
-
onError?: (event: GenericEvent) => void;
|
|
18
|
-
}
|
|
19
|
-
export declare const Canvas: React.ComponentType<CanvasProps>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export declare const alias: {
|
|
2
|
-
id: string;
|
|
3
|
-
style: string;
|
|
4
|
-
className: string;
|
|
5
|
-
animation: string;
|
|
6
|
-
disableScroll: string;
|
|
7
|
-
type: string;
|
|
8
|
-
canvasId: string;
|
|
9
|
-
onTouchStart: string;
|
|
10
|
-
onTouchMove: string;
|
|
11
|
-
onTouchEnd: string;
|
|
12
|
-
onTouchCancel: string;
|
|
13
|
-
onError: string;
|
|
14
|
-
onLongTap: string;
|
|
15
|
-
onLongClick: string;
|
|
16
|
-
onTap: string;
|
|
17
|
-
onClick: string;
|
|
18
|
-
hoverClass: string;
|
|
19
|
-
hoverClassName: string;
|
|
20
|
-
hoverStartTime: string;
|
|
21
|
-
hoverStayTime: string;
|
|
22
|
-
hidden: string;
|
|
23
|
-
hoverStopPropagation: string;
|
|
24
|
-
onLongPress: string;
|
|
25
|
-
onTransitionEnd: string;
|
|
26
|
-
onAnimationIteration: string;
|
|
27
|
-
onAnimationStart: string;
|
|
28
|
-
onAnimationEnd: string;
|
|
29
|
-
};
|
|
30
|
-
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', style: 'style', className: 'class', animation: 'animation', disableScroll: 'disable-scroll', type: 'type', canvasId: 'canvas-id', onTouchStart: 'bindtouchstart', onTouchMove: 'bindtouchmove', onTouchEnd: 'bindtouchend', onTouchCancel: 'bindtouchcancel', onError: 'binderror', onLongTap: 'bindlongtap', onLongClick: 'bindlongtap', onTap: 'bindtap', onClick: 'bindtap' });
|
|
6
|
-
exports.props = Object.values(exports.alias);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps } from '../../types/component';
|
|
3
|
-
export interface CheckboxProps extends BaseProps {
|
|
4
|
-
/** checkbox 标识,选中时触发 checkbox-group 的 change 事件,并携带 checkbox 的 value */
|
|
5
|
-
value?: string;
|
|
6
|
-
/** 是否禁用 */
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
/** 当前是否选中,可用来设置默认选中 */
|
|
9
|
-
checked?: boolean;
|
|
10
|
-
/** (default: #09BB07) checkbox的颜色,同css的color */
|
|
11
|
-
color?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const Checkbox: React.ComponentType<CheckboxProps>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Checkbox = void 0;
|
|
4
|
-
const runtime_1 = require("@ray-core/runtime");
|
|
5
|
-
exports.Checkbox = (0, runtime_1.createHostComponent)('checkbox');
|
|
6
|
-
exports.Checkbox.defaultProps = {
|
|
7
|
-
// disabled: false,
|
|
8
|
-
// checked: false,
|
|
9
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
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[];
|
|
@@ -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', value: 'value', checked: 'checked', disabled: 'disabled', color: 'color' });
|
|
6
|
-
exports.props = Object.values(exports.alias);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BaseProps, GenericEvent } from '../../types/component';
|
|
3
|
-
export interface CheckboxGroupProps extends BaseProps {
|
|
4
|
-
name?: string;
|
|
5
|
-
/**
|
|
6
|
-
* checkbox-group 中选中项发生改变时触发 change 事件,detail = {value:[选中的 checkbox 的 value 的数组]}
|
|
7
|
-
*/
|
|
8
|
-
onChange?: (event: GenericEvent) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const CheckboxGroup: React.ComponentType<CheckboxGroupProps>;
|
|
@@ -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,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', onChange: 'bindchange' });
|
|
6
|
-
exports.props = Object.values(exports.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,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), { className: 'class', animation: 'animation', style: 'style', id: 'id' });
|
|
6
|
-
exports.props = Object.values(exports.alias);
|
|
@@ -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,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Form = void 0;
|
|
4
|
-
const runtime_1 = require("@ray-core/runtime");
|
|
5
|
-
exports.Form = (0, runtime_1.createHostComponent)('form');
|
|
6
|
-
exports.Form.defaultProps = {
|
|
7
|
-
// reportSubmit: false,
|
|
8
|
-
reportSubmitTimeout: 0,
|
|
9
|
-
};
|
|
@@ -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,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', style: 'style', animation: 'animation', reportSubmit: 'report-submit', onSubmit: 'bindsubmit', onReset: 'bindreset', reportSubmitTimeout: 'report-submit-timeout' });
|
|
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 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,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' });
|
|
6
|
-
exports.props = Object.values(exports.alias);
|