@ray-js/ray-ipc-player 0.0.14 → 2.0.0-beta-1
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/lib/constant.d.ts +1 -1
- package/lib/constant.js +1 -1
- package/lib/i18n/strings.d.ts +138 -138
- package/lib/i18n/strings.js +138 -138
- package/lib/i18n/strings.json +138 -138
- package/lib/index.module.less +3 -4
- package/package.json +9 -15
- package/lib/utils.android.js +0 -1
- package/lib/utils.ios.js +0 -1
- package/lib/utils.tuya.js +0 -19
- package/lib/utils.web.js +0 -19
- package/lib/utils.wechat.js +0 -19
package/lib/index.module.less
CHANGED
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.msg {
|
|
95
|
-
|
|
95
|
+
width: 100%;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.msg, .retry, .device_sleep, .re_wake_camera {
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.retry {
|
|
109
|
-
|
|
109
|
+
display: block;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.device_sleep, .re_wake_camera {
|
|
@@ -125,7 +125,6 @@
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.err_msg {
|
|
128
|
-
|
|
129
|
-
justify-content: center;
|
|
128
|
+
text-align: center;
|
|
130
129
|
width: 100%;
|
|
131
130
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/ray-ipc-player",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "2.0.0-beta-1",
|
|
4
4
|
"description": "ray小程序播放器",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tuya-panel",
|
|
@@ -25,16 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@ray-js/
|
|
29
|
-
"@ray-js/
|
|
30
|
-
"@ray-js/
|
|
31
|
-
"@ray-js/
|
|
32
|
-
"@ray-js/framework-shared": "0.4.10",
|
|
33
|
-
"@ray-js/location-native": "0.4.10",
|
|
34
|
-
"@ray-js/panel-components": "0.4.10",
|
|
35
|
-
"@ray-js/panel-sdk": "^1.0.0",
|
|
36
|
-
"@ray-js/ray-panel-wrapper": "0.4.10",
|
|
37
|
-
"@ray-js/remax-tuya": "0.4.10",
|
|
28
|
+
"@ray-js/ray": "latest",
|
|
29
|
+
"@ray-js/panel-components": "latest",
|
|
30
|
+
"@ray-js/panel-sdk": "latest",
|
|
31
|
+
"@ray-js/remax-tuya": "latest",
|
|
38
32
|
"immer": "^9.0.15",
|
|
39
33
|
"react-native": "0.59.10",
|
|
40
34
|
"react-redux": "^7.2.1",
|
|
@@ -51,10 +45,10 @@
|
|
|
51
45
|
"devDependencies": {
|
|
52
46
|
"@commitlint/cli": "^7.2.1",
|
|
53
47
|
"@commitlint/config-conventional": "^9.0.1",
|
|
54
|
-
"@ray-js/babel-preset-standard": "
|
|
55
|
-
"@ray-js/cli": "
|
|
56
|
-
"@ray-js/rn-transformer-helper": "
|
|
57
|
-
"@ray-js/types": "
|
|
48
|
+
"@ray-js/babel-preset-standard": "latest",
|
|
49
|
+
"@ray-js/cli": "latest",
|
|
50
|
+
"@ray-js/rn-transformer-helper": "latest",
|
|
51
|
+
"@ray-js/types": "latest",
|
|
58
52
|
"@types/node": "^17.0.43",
|
|
59
53
|
"core-js": "^3.19.1",
|
|
60
54
|
"eslint-config-tuya-panel": "^0.4.1",
|
package/lib/utils.android.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:true});exports.putDpData=void 0;var putDpData=function(dpIds,deviceId){return new Promise(function(resolve,reject){ty.device.publishDps({deviceId:deviceId,mode:2,pipelines:[],options:{},dps:dpIds,success:function success(res){return resolve(res);},fail:function fail(e){return reject(e);}});});};exports.putDpData=putDpData;
|
package/lib/utils.ios.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:true});exports.putDpData=void 0;var putDpData=function(dpIds,deviceId){return new Promise(function(resolve,reject){ty.device.publishDps({deviceId:deviceId,mode:2,pipelines:[],options:{},dps:dpIds,success:function success(res){return resolve(res);},fail:function fail(e){return reject(e);}});});};exports.putDpData=putDpData;
|
package/lib/utils.tuya.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import "core-js/modules/es.object.to-string.js";
|
|
2
|
-
import "core-js/modules/es.promise.js";
|
|
3
|
-
export var putDpData = function (dpIds, deviceId) {
|
|
4
|
-
return new Promise(function (resolve, reject) {
|
|
5
|
-
ty.device.publishDps({
|
|
6
|
-
deviceId: deviceId,
|
|
7
|
-
mode: 2,
|
|
8
|
-
pipelines: [],
|
|
9
|
-
options: {},
|
|
10
|
-
dps: dpIds,
|
|
11
|
-
success: function success(res) {
|
|
12
|
-
return resolve(res);
|
|
13
|
-
},
|
|
14
|
-
fail: function fail(e) {
|
|
15
|
-
return reject(e);
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
};
|
package/lib/utils.web.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import "core-js/modules/es.object.to-string.js";
|
|
2
|
-
import "core-js/modules/es.promise.js";
|
|
3
|
-
export var putDpData = function (dpIds, deviceId) {
|
|
4
|
-
return new Promise(function (resolve, reject) {
|
|
5
|
-
ty.device.publishDps({
|
|
6
|
-
deviceId: deviceId,
|
|
7
|
-
mode: 2,
|
|
8
|
-
pipelines: [],
|
|
9
|
-
options: {},
|
|
10
|
-
dps: dpIds,
|
|
11
|
-
success: function success(res) {
|
|
12
|
-
return resolve(res);
|
|
13
|
-
},
|
|
14
|
-
fail: function fail(e) {
|
|
15
|
-
return reject(e);
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
};
|
package/lib/utils.wechat.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import "core-js/modules/es.object.to-string.js";
|
|
2
|
-
import "core-js/modules/es.promise.js";
|
|
3
|
-
export var putDpData = function (dpIds, deviceId) {
|
|
4
|
-
return new Promise(function (resolve, reject) {
|
|
5
|
-
ty.device.publishDps({
|
|
6
|
-
deviceId: deviceId,
|
|
7
|
-
mode: 2,
|
|
8
|
-
pipelines: [],
|
|
9
|
-
options: {},
|
|
10
|
-
dps: dpIds,
|
|
11
|
-
success: function success(res) {
|
|
12
|
-
return resolve(res);
|
|
13
|
-
},
|
|
14
|
-
fail: function fail(e) {
|
|
15
|
-
return reject(e);
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
};
|