@extscreen/es-core 1.0.6 → 1.0.9

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.
Files changed (2) hide show
  1. package/dist/index.js +17 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -666,6 +666,16 @@ var ESAudioModule$1 = new ESAudioModule();
666
666
  class ESModule {
667
667
 
668
668
  //---------------------------------ESModule--------------------------
669
+ getESDeviceInfo() {
670
+ return Vue.Native.callNativeWithPromise('EsNativeModule',
671
+ 'getDeviceInfo',);
672
+ }
673
+
674
+ getESSDKInfo() {
675
+ return Vue.Native.callNativeWithPromise('ESModule',
676
+ 'getESSDKInfo',);
677
+ }
678
+
669
679
  getESSDKVersionCode() {
670
680
  return Vue.Native.callNativeWithPromise('ESModule',
671
681
  'getESSDKVersionCode',);
@@ -681,9 +691,9 @@ class ESModule {
681
691
  'getESPackageName',);
682
692
  }
683
693
 
684
- getESDirPath() {
694
+ getESMiniProgramPath() {
685
695
  return Vue.Native.callNativeWithPromise('ESModule',
686
- 'getESDirPath',);
696
+ 'getESMiniProgramPath',);
687
697
  }
688
698
 
689
699
  sendESNativeMapEventTop(eventName, mapParams) {
@@ -1511,6 +1521,11 @@ function ESAnimationViewComponent() {
1511
1521
  'after', [animatorSetId, animatorId], (res) => {
1512
1522
  });
1513
1523
  },
1524
+ afterDelay(animatorSetId, delay) {
1525
+ Vue.Native.callUIFunction(this.$refs.animationView,
1526
+ 'afterDelay', [animatorSetId, delay], (res) => {
1527
+ });
1528
+ },
1514
1529
  //-----------------------------------------------------------------
1515
1530
  playSequentially1(animatorSetId, animatorId1) {
1516
1531
  Vue.Native.callUIFunction(this.$refs.animationView,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "1.0.6",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {