@extscreen/es-core 1.0.24 → 10000.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +92 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1693,6 +1693,96 @@ class ESDisplayManager {
1693
1693
 
1694
1694
  var ESDisplayManager$1 = new ESDisplayManager();
1695
1695
 
1696
+ /**
1697
+ *
1698
+ */
1699
+
1700
+ class ESLaunchManager {
1701
+
1702
+ _ESRouter = null;
1703
+
1704
+ init() {
1705
+ return Promise.resolve();
1706
+ }
1707
+
1708
+ setESRouter(ESRouter) {
1709
+ this._ESRouter = ESRouter;
1710
+ }
1711
+
1712
+ launchNativeIntent(paramsArray) {
1713
+ ESModule$1.launchNativeApp(paramsArray);
1714
+ }
1715
+
1716
+ launchESPageIntent(intent) {
1717
+ //
1718
+ ESModule$1.launchESPage({
1719
+ args: intent
1720
+ });
1721
+ }
1722
+ }
1723
+
1724
+ var ESLaunchManager$1 = new ESLaunchManager();
1725
+
1726
+ /**
1727
+ *
1728
+ */
1729
+
1730
+ class ESManager {
1731
+
1732
+ _esSdkVersionCode = null;
1733
+ _esSdkPackageName = null;
1734
+ _esMiniProgramPath = null;
1735
+
1736
+ init() {
1737
+ return Promise.resolve()
1738
+ .then(() => this.initESSdkVersionCodePromise())
1739
+ .then(() => this.initESPackageNamePromise())
1740
+ .then(() => this.initESMiniProgramPathPromise())
1741
+ }
1742
+
1743
+
1744
+ initESSdkVersionCodePromise() {
1745
+ return ESModule$1.getESSDKVersionCode()
1746
+ .then((result) => {
1747
+ this._esSdkVersionCode = result;
1748
+ return Promise.resolve();
1749
+ }
1750
+ );
1751
+ }
1752
+
1753
+ initESPackageNamePromise() {
1754
+ return ESModule$1.getESPackageName()
1755
+ .then((result) => {
1756
+ this._esSdkPackageName = result;
1757
+ return Promise.resolve();
1758
+ }
1759
+ );
1760
+ }
1761
+
1762
+ initESMiniProgramPathPromise() {
1763
+ return ESModule$1.getESMiniProgramPath()
1764
+ .then((result) => {
1765
+ this._esMiniProgramPath = result;
1766
+ return Promise.resolve();
1767
+ }
1768
+ );
1769
+ }
1770
+
1771
+ getESSDKVersionCode() {
1772
+ return this._esSdkVersionCode;
1773
+ }
1774
+
1775
+ getESPackageName() {
1776
+ return this._esSdkPackageName;
1777
+ }
1778
+
1779
+ getESMiniProgramPath() {
1780
+ return this._esMiniProgramPath;
1781
+ }
1782
+ }
1783
+
1784
+ var ESManager$1 = new ESManager();
1785
+
1696
1786
  /**
1697
1787
  *
1698
1788
  */
@@ -1704,6 +1794,8 @@ class ES {
1704
1794
  .then(() => ESDeviceManager$1.init())
1705
1795
  .then(() => ESDevelopManager$1.init())
1706
1796
  .then(() => ESDisplayManager$1.init())
1797
+ .then(() => ESManager$1.init())
1798
+ .then(() => ESLaunchManager$1.init())
1707
1799
  }
1708
1800
  }
1709
1801
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "1.0.24",
3
+ "version": "10000.0.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {