@extscreen/es-core 10000.0.5 → 10000.0.6

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 +68 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2318,7 +2318,7 @@ function ESAnimationViewComponent() {
2318
2318
  ['on-animation-cancel', 'animationCancel'],
2319
2319
  ['on-animation-start', 'animationStart'],
2320
2320
  ['on-animation-repeat', 'animationRepeat'],
2321
- ['on-animation-pause', 'aAnimationPause'],
2321
+ ['on-animation-pause', 'animationPause'],
2322
2322
  ['on-animation-resume', 'animationResume'],
2323
2323
  ['on-animation-update', 'animationUpdate'],
2324
2324
  ]);
@@ -2526,6 +2526,72 @@ function ESTextViewComponent() {
2526
2526
  });
2527
2527
  }
2528
2528
 
2529
+ function ESPageRootViewComponent() {
2530
+ Vue.registerElement('ESPageRootView', {
2531
+ component: {
2532
+ name: 'ESPageRootView',
2533
+ processEventData(event, nativeEventName, nativeEventParams) {
2534
+ switch (nativeEventName) {
2535
+ case 'onLifecycleChanged':
2536
+ event.lifecycle = nativeEventParams;
2537
+ break;
2538
+ case 'onDispatchKeyEvent':
2539
+ event.keyEvent = nativeEventParams;
2540
+ break;
2541
+ case 'onNewIntent':
2542
+ event.intent = nativeEventParams;
2543
+ break;
2544
+ }
2545
+ return event;
2546
+ },
2547
+ },
2548
+ });
2549
+ Vue.component('page', {
2550
+ methods: {
2551
+ onLifecycleChanged(evt) {
2552
+ this.$emit("onLifecycleChanged", evt);
2553
+ },
2554
+ onDispatchKeyEvent(evt) {
2555
+ this.$emit("onDispatchKeyEvent", evt);
2556
+ },
2557
+ onNewIntent(evt) {
2558
+ this.$emit("onNewIntent", evt);
2559
+ }
2560
+ },
2561
+ render(h) {
2562
+ const on = getEventRedirector.call(this, [
2563
+ ['onLifecycleChanged', 'lifecycleChanged'],
2564
+ ['onDispatchKeyEvent', 'dispatchKeyEvent'],
2565
+ ['onNewIntent', 'newIntent'],
2566
+ ]);
2567
+ return h('ESPageRootView',
2568
+ {
2569
+ on,
2570
+ ref: 'pageRootView',
2571
+ }, this.$slots.default
2572
+ );
2573
+ },
2574
+ });
2575
+ }
2576
+
2577
+ function ESPageRouterViewComponent() {
2578
+ Vue.registerElement('ESPageRouterView', {
2579
+ component: {
2580
+ name: 'ESPageRouterView',
2581
+ },
2582
+ });
2583
+ Vue.component('page-router', {
2584
+ render(h) {
2585
+ return h('ESPageRouterView',
2586
+ {
2587
+ ref: 'ESPageRouterView',
2588
+ }, this.$slots.default
2589
+ );
2590
+ },
2591
+ methods: {}
2592
+ });
2593
+ }
2594
+
2529
2595
  //
2530
2596
  const ES_NETWORK_INFO_STATE_CONNECTING = 0;
2531
2597
  const ES_NETWORK_INFO_STATE_CONNECTED = 1;
@@ -2793,4 +2859,4 @@ const ES_FAST_OUT_LINEAR_IN_INTERPOLATOR = 10;
2793
2859
  const ES_FAST_OUT_SLOW_IN_INTERPOLATOR = 11;
2794
2860
  const ES_PATH_INTERPOLATOR = 12;
2795
2861
 
2796
- 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 };
2862
+ 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, ESPageRootViewComponent, ESPageRouterViewComponent, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "10000.0.5",
3
+ "version": "10000.0.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {