@extscreen/es-core 10000.0.0 → 10000.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +67 -31
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1693,36 +1693,6 @@ 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
1696
|
/**
|
1727
1697
|
*
|
1728
1698
|
*/
|
@@ -1783,6 +1753,72 @@ class ESManager {
|
|
1783
1753
|
|
1784
1754
|
var ESManager$1 = new ESManager();
|
1785
1755
|
|
1756
|
+
/**
|
1757
|
+
*
|
1758
|
+
*/
|
1759
|
+
|
1760
|
+
class ESLaunchManager {
|
1761
|
+
|
1762
|
+
_ESRouter = null;
|
1763
|
+
_ESRouterEnabled = true;
|
1764
|
+
|
1765
|
+
init() {
|
1766
|
+
this._ESRouterEnabled = this.isESRouterSupported();
|
1767
|
+
return Promise.resolve();
|
1768
|
+
}
|
1769
|
+
|
1770
|
+
setESRouter(ESRouter) {
|
1771
|
+
this._ESRouter = ESRouter;
|
1772
|
+
}
|
1773
|
+
|
1774
|
+
setESRouterEnabled(enabled) {
|
1775
|
+
this._ESRouterEnabled = enabled && this.isESRouterSupported();
|
1776
|
+
}
|
1777
|
+
|
1778
|
+
isESRouterEnabled() {
|
1779
|
+
return this._ESRouterEnabled;
|
1780
|
+
}
|
1781
|
+
|
1782
|
+
isESRouterSupported() {
|
1783
|
+
return ESManager$1.getESSDKVersionCode() > 800;
|
1784
|
+
}
|
1785
|
+
|
1786
|
+
launchNativePage(paramsArray) {
|
1787
|
+
ESModule$1.launchNativeApp(paramsArray);
|
1788
|
+
}
|
1789
|
+
|
1790
|
+
launchESPage(intent) {
|
1791
|
+
//
|
1792
|
+
if (this.isESRouterEnabled() && this._ESRouter) {
|
1793
|
+
this._ESRouter.push({
|
1794
|
+
name: intent.url,
|
1795
|
+
params: intent.params,
|
1796
|
+
});
|
1797
|
+
}
|
1798
|
+
//
|
1799
|
+
else {
|
1800
|
+
ESModule$1.launchESPage({
|
1801
|
+
args: intent
|
1802
|
+
});
|
1803
|
+
}
|
1804
|
+
}
|
1805
|
+
|
1806
|
+
finishAllESPage() {
|
1807
|
+
ESModule$1.finishAll();
|
1808
|
+
}
|
1809
|
+
|
1810
|
+
finishESPage() {
|
1811
|
+
if (this.isESRouterEnabled() && this._ESRouter
|
1812
|
+
&& this._ESRouter.back()) ;
|
1813
|
+
//
|
1814
|
+
else {
|
1815
|
+
ESModule$1.finish();
|
1816
|
+
}
|
1817
|
+
}
|
1818
|
+
}
|
1819
|
+
|
1820
|
+
var ESLaunchManager$1 = new ESLaunchManager();
|
1821
|
+
|
1786
1822
|
/**
|
1787
1823
|
*
|
1788
1824
|
*/
|
@@ -2743,4 +2779,4 @@ const ES_FAST_OUT_LINEAR_IN_INTERPOLATOR = 10;
|
|
2743
2779
|
const ES_FAST_OUT_SLOW_IN_INTERPOLATOR = 11;
|
2744
2780
|
const ES_PATH_INTERPOLATOR = 12;
|
2745
2781
|
|
2746
|
-
export { AUDIO_CONTENT_TYPE_MOVIE, AUDIO_CONTENT_TYPE_MUSIC, AUDIO_CONTENT_TYPE_SONIFICATION, AUDIO_CONTENT_TYPE_SPEECH, AUDIO_CONTENT_TYPE_UNKNOWN, AUDIO_STREAM_ACCESSIBILITY, AUDIO_STREAM_ALARM, AUDIO_STREAM_ASSISTANT, AUDIO_STREAM_BLUETOOTH_SCO, AUDIO_STREAM_DEFAULT, AUDIO_STREAM_DTMF, AUDIO_STREAM_MUSIC, AUDIO_STREAM_NOTIFICATION, AUDIO_STREAM_RING, AUDIO_STREAM_SYSTEM, AUDIO_STREAM_SYSTEM_ENFORCED, AUDIO_STREAM_TTS, AUDIO_STREAM_VOICE_CALL, AUDIO_USAGE_ALARM, AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY, AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, AUDIO_USAGE_ASSISTANCE_SONIFICATION, AUDIO_USAGE_ASSISTANT, AUDIO_USAGE_GAME, AUDIO_USAGE_INVALID, AUDIO_USAGE_MEDIA, AUDIO_USAGE_NOTIFICATION, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_DELAYED, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_INSTANT, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_REQUEST, AUDIO_USAGE_NOTIFICATION_EVENT, AUDIO_USAGE_NOTIFICATION_RINGTONE, AUDIO_USAGE_UNKNOWN, AUDIO_USAGE_VIRTUAL_SOURCE, AUDIO_USAGE_VOICE_COMMUNICATION, AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING, ES$1 as ES, ESAnimationViewComponent, ESApp, ESAppModule$1 as ESAppModule, ESAudioModule$1 as ESAudioModule, ESBackPressMixin, ESDevelopManager$1 as ESDevelopManager, ESDevelopModule$1 as ESDevelopModule, ESDeviceManager$1 as ESDeviceManager, ESDeviceModule$1 as ESDeviceModule, ESDisplayManager$1 as ESDisplayManager, ESFile, ESFileModule$1 as ESFileModule, ESKeyEventMixin, ESLifecycleMixin, ESLoadingViewComponent, ESMMapManager$1 as ESMMapManager, ESMMapModule$1 as ESMMapModule, ESModule$1 as ESModule, ESNetworkManager$1 as ESNetworkManager, ESNetworkMixin, ESNetworkModule$1 as ESNetworkModule, ESPermissionModule$1 as ESPermissionModule, ESPowerModule$1 as ESPowerModule, ESProgressBarViewComponent, ESQRCodeViewComponent, ESSeekBarViewComponent, ESSharedPreferencesModule$1 as ESSharedPreferencesModule, ESStorageModule$1 as ESStorageModule, ESTextViewComponent, ESToast$1 as ESToast, ToastModule as ESToastModule, ESTransitionImageViewComponent, ESUsbDeviceMixin, ESUsbDeviceModule$1 as ESUsbDeviceModule, ES_ACCELERATE_DECELERATE_INTERPOLATOR, ES_ACCELERATE_INTERPOLATOR, ES_ANIMATION_PROPERTY_NAME_ALPHA, ES_ANIMATION_PROPERTY_NAME_ROTATION, ES_ANIMATION_PROPERTY_NAME_SCALE_X, ES_ANIMATION_PROPERTY_NAME_SCALE_Y, ES_ANIMATION_PROPERTY_NAME_TRANSLATION_X, ES_ANIMATION_PROPERTY_NAME_TRANSLATION_Y, ES_ANIMATION_REPEAT_MODE_INFINITE, ES_ANIMATION_REPEAT_MODE_RESTART, ES_ANIMATION_REPEAT_MODE_REVERSE, ES_ANIMATION_TYPE_AFTER, ES_ANIMATION_TYPE_AFTER_DELAY, ES_ANIMATION_TYPE_BEFORE, ES_ANIMATION_TYPE_NONE, ES_ANIMATION_TYPE_PLAY, ES_ANIMATION_TYPE_PLAY_SEQUENTIALLY, ES_ANIMATION_TYPE_PLAY_TOGETHER, ES_ANIMATION_TYPE_WITH, ES_ANIMATION_VALUE_TYPE_FLOAT, ES_ANIMATION_VALUE_TYPE_INT, ES_ANTICIPATE_INTERPOLATOR, ES_ANTICIPATE_OVERSHOOT_INTERPOLATOR, ES_BOUNCE_INTERPOLATOR, ES_CYCLE_INTERPOLATOR, ES_DECELERATE_INTERPOLATOR, ES_FAST_OUT_LINEAR_IN_INTERPOLATOR, ES_FAST_OUT_SLOW_IN_INTERPOLATOR, ES_LINEAR_INTERPOLATOR, ES_MMP_MODE_PRIVATE, ES_MMP_MODE_WORLD_READABLE, ES_MMP_MODE_WORLD_WRITEABLE, ES_NETWORK_INFO_STATE_CONNECTED, ES_NETWORK_INFO_STATE_CONNECTING, ES_NETWORK_INFO_STATE_DISCONNECTED, ES_NETWORK_INFO_STATE_DISCONNECTING, ES_NETWORK_INFO_STATE_SUSPENDED, ES_NETWORK_INFO_STATE_UNKNOWN, ES_NETWORK_INFO_TYPE_ETHERNET, ES_NETWORK_INFO_TYPE_MOBILE, ES_NETWORK_INFO_TYPE_NONE, ES_NETWORK_INFO_TYPE_WIFI, ES_OVERSHOOT_INTERPOLATOR, ES_PATH_INTERPOLATOR, KEYCODE_BACK, KEYCODE_DPAD_CENTER, KEYCODE_DPAD_DOWN, KEYCODE_DPAD_LEFT, KEYCODE_DPAD_RIGHT, KEYCODE_DPAD_UP, KEYCODE_ENTER, KEYCODE_ESCAPE, KEYCODE_MENU, KEYCODE_SEARCH, KEY_ACTION_DOWN, KEY_ACTION_UP, getESApp, setESApp };
|
2782
|
+
export { AUDIO_CONTENT_TYPE_MOVIE, AUDIO_CONTENT_TYPE_MUSIC, AUDIO_CONTENT_TYPE_SONIFICATION, AUDIO_CONTENT_TYPE_SPEECH, AUDIO_CONTENT_TYPE_UNKNOWN, AUDIO_STREAM_ACCESSIBILITY, AUDIO_STREAM_ALARM, AUDIO_STREAM_ASSISTANT, AUDIO_STREAM_BLUETOOTH_SCO, AUDIO_STREAM_DEFAULT, AUDIO_STREAM_DTMF, AUDIO_STREAM_MUSIC, AUDIO_STREAM_NOTIFICATION, AUDIO_STREAM_RING, AUDIO_STREAM_SYSTEM, AUDIO_STREAM_SYSTEM_ENFORCED, AUDIO_STREAM_TTS, AUDIO_STREAM_VOICE_CALL, AUDIO_USAGE_ALARM, AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY, AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, AUDIO_USAGE_ASSISTANCE_SONIFICATION, AUDIO_USAGE_ASSISTANT, AUDIO_USAGE_GAME, AUDIO_USAGE_INVALID, AUDIO_USAGE_MEDIA, AUDIO_USAGE_NOTIFICATION, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_DELAYED, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_INSTANT, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_REQUEST, AUDIO_USAGE_NOTIFICATION_EVENT, AUDIO_USAGE_NOTIFICATION_RINGTONE, AUDIO_USAGE_UNKNOWN, AUDIO_USAGE_VIRTUAL_SOURCE, AUDIO_USAGE_VOICE_COMMUNICATION, AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING, ES$1 as ES, ESAnimationViewComponent, ESApp, ESAppModule$1 as ESAppModule, ESAudioModule$1 as ESAudioModule, ESBackPressMixin, ESDevelopManager$1 as ESDevelopManager, ESDevelopModule$1 as ESDevelopModule, ESDeviceManager$1 as ESDeviceManager, ESDeviceModule$1 as ESDeviceModule, ESDisplayManager$1 as ESDisplayManager, ESFile, ESFileModule$1 as ESFileModule, ESKeyEventMixin, ESLaunchManager$1 as ESLaunchManager, ESLifecycleMixin, ESLoadingViewComponent, ESMMapManager$1 as ESMMapManager, ESMMapModule$1 as ESMMapModule, ESManager$1 as ESManager, ESModule$1 as ESModule, ESNetworkManager$1 as ESNetworkManager, ESNetworkMixin, ESNetworkModule$1 as ESNetworkModule, ESPermissionModule$1 as ESPermissionModule, ESPowerModule$1 as ESPowerModule, ESProgressBarViewComponent, ESQRCodeViewComponent, ESSeekBarViewComponent, ESSharedPreferencesModule$1 as ESSharedPreferencesModule, ESStorageModule$1 as ESStorageModule, ESTextViewComponent, ESToast$1 as ESToast, ToastModule as ESToastModule, ESTransitionImageViewComponent, ESUsbDeviceMixin, ESUsbDeviceModule$1 as ESUsbDeviceModule, ES_ACCELERATE_DECELERATE_INTERPOLATOR, ES_ACCELERATE_INTERPOLATOR, ES_ANIMATION_PROPERTY_NAME_ALPHA, ES_ANIMATION_PROPERTY_NAME_ROTATION, ES_ANIMATION_PROPERTY_NAME_SCALE_X, ES_ANIMATION_PROPERTY_NAME_SCALE_Y, ES_ANIMATION_PROPERTY_NAME_TRANSLATION_X, ES_ANIMATION_PROPERTY_NAME_TRANSLATION_Y, ES_ANIMATION_REPEAT_MODE_INFINITE, ES_ANIMATION_REPEAT_MODE_RESTART, ES_ANIMATION_REPEAT_MODE_REVERSE, ES_ANIMATION_TYPE_AFTER, ES_ANIMATION_TYPE_AFTER_DELAY, ES_ANIMATION_TYPE_BEFORE, ES_ANIMATION_TYPE_NONE, ES_ANIMATION_TYPE_PLAY, ES_ANIMATION_TYPE_PLAY_SEQUENTIALLY, ES_ANIMATION_TYPE_PLAY_TOGETHER, ES_ANIMATION_TYPE_WITH, ES_ANIMATION_VALUE_TYPE_FLOAT, ES_ANIMATION_VALUE_TYPE_INT, ES_ANTICIPATE_INTERPOLATOR, ES_ANTICIPATE_OVERSHOOT_INTERPOLATOR, ES_BOUNCE_INTERPOLATOR, ES_CYCLE_INTERPOLATOR, ES_DECELERATE_INTERPOLATOR, ES_FAST_OUT_LINEAR_IN_INTERPOLATOR, ES_FAST_OUT_SLOW_IN_INTERPOLATOR, ES_LINEAR_INTERPOLATOR, ES_MMP_MODE_PRIVATE, ES_MMP_MODE_WORLD_READABLE, ES_MMP_MODE_WORLD_WRITEABLE, ES_NETWORK_INFO_STATE_CONNECTED, ES_NETWORK_INFO_STATE_CONNECTING, ES_NETWORK_INFO_STATE_DISCONNECTED, ES_NETWORK_INFO_STATE_DISCONNECTING, ES_NETWORK_INFO_STATE_SUSPENDED, ES_NETWORK_INFO_STATE_UNKNOWN, ES_NETWORK_INFO_TYPE_ETHERNET, ES_NETWORK_INFO_TYPE_MOBILE, ES_NETWORK_INFO_TYPE_NONE, ES_NETWORK_INFO_TYPE_WIFI, ES_OVERSHOOT_INTERPOLATOR, ES_PATH_INTERPOLATOR, KEYCODE_BACK, KEYCODE_DPAD_CENTER, KEYCODE_DPAD_DOWN, KEYCODE_DPAD_LEFT, KEYCODE_DPAD_RIGHT, KEYCODE_DPAD_UP, KEYCODE_ENTER, KEYCODE_ESCAPE, KEYCODE_MENU, KEYCODE_SEARCH, KEY_ACTION_DOWN, KEY_ACTION_UP, getESApp, setESApp };
|