@extscreen/es-core 3.0.0-alpha.1 → 3.0.0-alpha.2
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/dist/index.js +18 -24
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -632,6 +632,11 @@ class ESManager {
|
|
|
632
632
|
);
|
|
633
633
|
}
|
|
634
634
|
|
|
635
|
+
getApplicationMetaData() {
|
|
636
|
+
return this.__getModule().getApplicationMetaData()
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
|
|
635
640
|
getESSDKInfo() {
|
|
636
641
|
return this._esSdkInfo;
|
|
637
642
|
}
|
|
@@ -8498,6 +8503,11 @@ var ESToastModule_android$1 = /*#__PURE__*/Object.freeze({
|
|
|
8498
8503
|
*/
|
|
8499
8504
|
class ESModule$1 {
|
|
8500
8505
|
//---------------------------------ESModule--------------------------
|
|
8506
|
+
getApplicationMetaData() {
|
|
8507
|
+
// return Vue.Native.callNativeWithPromise("ESModule", "getApplicationMetaData");
|
|
8508
|
+
return Promise.resolve({})
|
|
8509
|
+
}
|
|
8510
|
+
|
|
8501
8511
|
getESDeviceInfo() {
|
|
8502
8512
|
return Vue.Native.callNativeWithPromise("ESModule", "getESDeviceInfo");
|
|
8503
8513
|
}
|
|
@@ -8640,6 +8650,10 @@ var ESModule_harmony$1 = /*#__PURE__*/Object.freeze({
|
|
|
8640
8650
|
*/
|
|
8641
8651
|
class ESModule {
|
|
8642
8652
|
//---------------------------------ESModule--------------------------
|
|
8653
|
+
getApplicationMetaData() {
|
|
8654
|
+
return Vue.Native.callNativeWithPromise("ESModule", "getApplicationMetaData");
|
|
8655
|
+
}
|
|
8656
|
+
|
|
8643
8657
|
getESDeviceInfo() {
|
|
8644
8658
|
return Vue.Native.callNativeWithPromise("EsNativeModule", "getDeviceInfo");
|
|
8645
8659
|
}
|
|
@@ -8665,39 +8679,19 @@ class ESModule {
|
|
|
8665
8679
|
}
|
|
8666
8680
|
|
|
8667
8681
|
sendESNativeMapEventTop(eventName, mapParams) {
|
|
8668
|
-
return Vue.Native.callNativeWithPromise(
|
|
8669
|
-
"ESModule",
|
|
8670
|
-
"sendESNativeMapEventTop",
|
|
8671
|
-
eventName,
|
|
8672
|
-
mapParams,
|
|
8673
|
-
);
|
|
8682
|
+
return Vue.Native.callNativeWithPromise("ESModule", "sendESNativeMapEventTop", eventName, mapParams,);
|
|
8674
8683
|
}
|
|
8675
8684
|
|
|
8676
8685
|
sendESNativeArrayEventTop(eventName, arrayParams) {
|
|
8677
|
-
return Vue.Native.callNativeWithPromise(
|
|
8678
|
-
"ESModule",
|
|
8679
|
-
"sendESNativeArrayEventTop",
|
|
8680
|
-
eventName,
|
|
8681
|
-
arrayParams,
|
|
8682
|
-
);
|
|
8686
|
+
return Vue.Native.callNativeWithPromise("ESModule", "sendESNativeArrayEventTop", eventName, arrayParams,);
|
|
8683
8687
|
}
|
|
8684
8688
|
|
|
8685
8689
|
sendESNativeMapEventAll(eventName, mapParams) {
|
|
8686
|
-
return Vue.Native.callNativeWithPromise(
|
|
8687
|
-
"ESModule",
|
|
8688
|
-
"sendESNativeMapEventAll",
|
|
8689
|
-
eventName,
|
|
8690
|
-
mapParams,
|
|
8691
|
-
);
|
|
8690
|
+
return Vue.Native.callNativeWithPromise("ESModule", "sendESNativeMapEventAll", eventName, mapParams,);
|
|
8692
8691
|
}
|
|
8693
8692
|
|
|
8694
8693
|
sendESNativeArrayEventAll(eventName, arrayParams) {
|
|
8695
|
-
return Vue.Native.callNativeWithPromise(
|
|
8696
|
-
"ESModule",
|
|
8697
|
-
"sendESNativeArrayEventAll",
|
|
8698
|
-
eventName,
|
|
8699
|
-
arrayParams,
|
|
8700
|
-
);
|
|
8694
|
+
return Vue.Native.callNativeWithPromise("ESModule", "sendESNativeArrayEventAll", eventName, arrayParams,);
|
|
8701
8695
|
}
|
|
8702
8696
|
|
|
8703
8697
|
//---------------------------------EsNativeModule-------------------------
|