@extscreen/es-core 1.0.7 → 1.0.10

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 +22 -12
  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) {
@@ -1833,22 +1843,22 @@ function ESSeekBarViewComponent() {
1833
1843
 
1834
1844
  methods: {
1835
1845
  setMaxProgress(progress) {
1836
- Vue.Native.callUIFunction(this.$refs.TVSeekBar,
1846
+ Vue.Native.callUIFunction(this.$refs.seekBar,
1837
1847
  'setMaxProgress', [progress], (res) => {
1838
1848
  });
1839
1849
  },
1840
1850
  setProgress(progress) {
1841
- Vue.Native.callUIFunction(this.$refs.TVSeekBar,
1851
+ Vue.Native.callUIFunction(this.$refs.seekBar,
1842
1852
  'setProgress', [progress], (res) => {
1843
1853
  });
1844
1854
  },
1845
1855
  setSecondProgress(progress) {
1846
- Vue.Native.callUIFunction(this.$refs.TVSeekBar,
1856
+ Vue.Native.callUIFunction(this.$refs.seekBar,
1847
1857
  'setSecondProgress', [progress], (res) => {
1848
1858
  });
1849
1859
  },
1850
1860
  show(value) {
1851
- Vue.Native.callUIFunction(this.$refs.TVSeekBar,
1861
+ Vue.Native.callUIFunction(this.$refs.seekBar,
1852
1862
  'show', [value], (res) => {
1853
1863
  });
1854
1864
  },
@@ -1869,7 +1879,7 @@ function ESSeekBarViewComponent() {
1869
1879
  return h('TVSeekBarViewComponent',
1870
1880
  {
1871
1881
  on,
1872
- ref: 'ESSeekBarView',
1882
+ ref: 'seekBar',
1873
1883
  }, this.$slots.default);
1874
1884
  },
1875
1885
  });
@@ -1885,22 +1895,22 @@ function ESProgressBarViewComponent() {
1885
1895
  Vue.component('es-progress-bar-view-component', {
1886
1896
  methods: {
1887
1897
  setMaxProgress(progress) {
1888
- Vue.Native.callUIFunction(this.$refs.TVProgressBar,
1898
+ Vue.Native.callUIFunction(this.$refs.progressBar,
1889
1899
  'setMaxProgress', [progress], (res) => {
1890
1900
  });
1891
1901
  },
1892
1902
  setProgress(progress) {
1893
- Vue.Native.callUIFunction(this.$refs.TVProgressBar,
1903
+ Vue.Native.callUIFunction(this.$refs.progressBar,
1894
1904
  'setProgress', [progress], (res) => {
1895
1905
  });
1896
1906
  },
1897
1907
  setSecondProgress(progress) {
1898
- Vue.Native.callUIFunction(this.$refs.TVProgressBar,
1908
+ Vue.Native.callUIFunction(this.$refs.progressBar,
1899
1909
  'setSecondProgress', [progress], (res) => {
1900
1910
  });
1901
1911
  },
1902
1912
  show(value) {
1903
- Vue.Native.callUIFunction(this.$refs.TVSeekBar,
1913
+ Vue.Native.callUIFunction(this.$refs.progressBar,
1904
1914
  'show', [value], (res) => {
1905
1915
  });
1906
1916
  },
@@ -1908,7 +1918,7 @@ function ESProgressBarViewComponent() {
1908
1918
  render(h) {
1909
1919
  return h('TVProgressBarViewComponent',
1910
1920
  {
1911
- ref: 'ESProgressBarView'
1921
+ ref: 'progressBar'
1912
1922
  }, this.$slots.default
1913
1923
  );
1914
1924
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "1.0.7",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {