@extscreen/es-core 2.2.62 → 2.2.63

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 +90 -94
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1123,6 +1123,7 @@ class ESModule {
1123
1123
  pageTag: params.pageTag,
1124
1124
  pageLimit: params.pageLimit,
1125
1125
  backgroundColor: params.backgroundColor,
1126
+ splash: params.splash,
1126
1127
  });
1127
1128
  }
1128
1129
 
@@ -2052,11 +2053,6 @@ var ESUsbDevice = {
2052
2053
  */
2053
2054
  class ESMMapModule {
2054
2055
 
2055
- initESPackageName(packageName) {
2056
- return Vue.Native.callNativeWithPromise('AndroidMMapModule', 'initESPackageName',
2057
- packageName);
2058
- }
2059
-
2060
2056
  //
2061
2057
  getBoolean(packageName, key, defValue) {
2062
2058
  return Vue.Native.callNativeWithPromise('AndroidMMapModule', 'getBoolean',
@@ -2126,6 +2122,92 @@ class ESMMapModule {
2126
2122
 
2127
2123
  var ESMMapModule$1 = new ESMMapModule();
2128
2124
 
2125
+ /**
2126
+ *
2127
+ */
2128
+
2129
+ class ESManager {
2130
+
2131
+ _esSdkVersionCode = null;
2132
+ _esSdkVersionName = null;
2133
+ _esSdkPackageName = null;
2134
+ _esMiniProgramPath = null;
2135
+ _esKitVersionCode = -1;
2136
+ _esSdkSchemes = [];
2137
+ _runtimePath = null;
2138
+
2139
+ _esSdkInfo = null;
2140
+
2141
+
2142
+ init() {
2143
+ return Promise.resolve()
2144
+ .then(() => this.initESInfoPromise())
2145
+ }
2146
+
2147
+ initESInfoPromise() {
2148
+ return ESModule$1.getESSDKInfo()
2149
+ .then((result) => {
2150
+ this._esSdkInfo = result;
2151
+ if (result) {
2152
+ this._esSdkVersionCode = result.versionCode;
2153
+ this._esSdkVersionName = result.versionName;
2154
+ this._esSdkPackageName = result.packageName;
2155
+ this._esMiniProgramPath = result.miniProgramPath;
2156
+ this._esSdkSchemes = result.schemes;
2157
+ if (result.eskit_ver_code) {
2158
+ this._esKitVersionCode = result.eskit_ver_code;
2159
+ }
2160
+ //
2161
+ this._runtimePath = result.runtimePath;
2162
+ }
2163
+ return Promise.resolve();
2164
+ }
2165
+ );
2166
+ }
2167
+
2168
+ getESSDKInfo() {
2169
+ return this._esSdkInfo;
2170
+ }
2171
+
2172
+ getESSDKVersionCode() {
2173
+ return this._esKitVersionCode;
2174
+ }
2175
+
2176
+ getESSDKVersionName() {
2177
+ return this._esSdkVersionName;
2178
+ }
2179
+
2180
+ getESPackageName() {
2181
+ return this._esSdkPackageName;
2182
+ }
2183
+
2184
+ getESVersionCode() {
2185
+ return this._esSdkVersionCode;
2186
+ }
2187
+
2188
+ getESVersionName() {
2189
+ return this._esSdkVersionName;
2190
+ }
2191
+
2192
+ getESMiniProgramPath() {
2193
+ return this._esMiniProgramPath;
2194
+ }
2195
+
2196
+ getESAppPath() {
2197
+ return this._esMiniProgramPath;
2198
+ }
2199
+
2200
+ getESAppRuntimePath() {
2201
+ return this._runtimePath;
2202
+ }
2203
+
2204
+ getESSDKSupportSchemes() {
2205
+ return this._esSdkSchemes;
2206
+ }
2207
+ }
2208
+
2209
+ var ESManager$1 = new ESManager();
2210
+
2129
2211
  /**
2130
2212
  *
2131
2213
  */
@@ -2135,6 +2217,7 @@ class ESMMapManager {
2135
2217
  _packageName = "";
2136
2218
 
2137
2219
  init() {
2220
+ this._packageName = ESManager$1.getESPackageName();
2138
2221
  return Promise.resolve();
2139
2222
  }
2140
2223
 
@@ -2142,12 +2225,7 @@ class ESMMapManager {
2142
2225
  return this._packageName;
2143
2226
  }
2144
2227
 
2145
- initESPackageName(packageName) {
2146
- this._packageName = packageName;
2147
- return ESMMapModule$1.initESPackageName(packageName);
2148
- }
2149
-
2150
- //-----------------------------------------------------------
2228
+ //---------------------------操作自己的共享内存--------------------------------
2151
2229
  //
2152
2230
  getBoolean(key, defValue) {
2153
2231
  return ESMMapModule$1.getBoolean(this.getPackageName(), key, defValue);
@@ -2202,7 +2280,7 @@ class ESMMapManager {
2202
2280
  return ESMMapModule$1.putMap(this.getPackageName(), key, value, mode);
2203
2281
  }
2204
2282
 
2205
- //---------------------------------------------------------------
2283
+ //----------------------------操作其他APP的共享内存-----------------------------------
2206
2284
  //
2207
2285
  getSharedBoolean(packageName, key, defValue) {
2208
2286
  return ESMMapModule$1.getBoolean(packageName, key, defValue);
@@ -2301,88 +2379,6 @@ class ESDisplayManager {
2301
2379
 
2302
2380
  var ESDisplayManager$1 = new ESDisplayManager();
2303
2381
 
2304
- /**
2305
- *
2306
- */
2307
-
2308
- class ESManager {
2309
-
2310
- _esSdkVersionCode = null;
2311
- _esSdkVersionName = null;
2312
- _esSdkPackageName = null;
2313
- _esMiniProgramPath = null;
2314
- _esKitVersionCode = -1;
2315
- _esSdkSchemes = [];
2316
- _runtimePath = null;
2317
-
2318
- _esSdkInfo = null;
2319
-
2320
-
2321
- init() {
2322
- return Promise.resolve()
2323
- .then(() => this.initESInfoPromise())
2324
- }
2325
-
2326
- initESInfoPromise() {
2327
- return ESModule$1.getESSDKInfo()
2328
- .then((result) => {
2329
- this._esSdkInfo = result;
2330
- if (result) {
2331
- this._esSdkVersionCode = result.versionCode;
2332
- this._esSdkVersionName = result.versionName;
2333
- this._esSdkPackageName = result.packageName;
2334
- this._esMiniProgramPath = result.miniProgramPath;
2335
- this._esSdkSchemes = result.schemes;
2336
- if (result.eskit_ver_code) {
2337
- this._esKitVersionCode = result.eskit_ver_code;
2338
- }
2339
- //
2340
- this._runtimePath = result.runtimePath;
2341
- }
2342
- return Promise.resolve();
2343
- }
2344
- );
2345
- }
2346
-
2347
- getESSDKInfo() {
2348
- return this._esSdkInfo;
2349
- }
2350
-
2351
- getESSDKVersionCode() {
2352
- return this._esKitVersionCode;
2353
- }
2354
-
2355
- getESSDKVersionName() {
2356
- return this._esSdkVersionName;
2357
- }
2358
-
2359
- getESPackageName() {
2360
- return this._esSdkPackageName;
2361
- }
2362
-
2363
- getESVersionCode() {
2364
- return this._esSdkVersionCode;
2365
- }
2366
-
2367
- getESVersionName() {
2368
- return this._esSdkVersionName;
2369
- }
2370
-
2371
- getESMiniProgramPath() {
2372
- return this._esMiniProgramPath;
2373
- }
2374
-
2375
- getESAppRuntimePath() {
2376
- return this._runtimePath;
2377
- }
2378
-
2379
- getESSDKSupportSchemes() {
2380
- return this._esSdkSchemes;
2381
- }
2382
- }
2383
-
2384
- var ESManager$1 = new ESManager();
2385
-
2386
2382
  const ES_SDK_VERSION_20 = -1;
2387
2383
  const ES_SDK_VERSION_21 = 2.1;
2388
2384
  const ES_SDK_VERSION_22 = 2.2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "2.2.62",
3
+ "version": "2.2.63",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {