@applicaster/zapp-react-native-utils 14.0.0-alpha.1473000722 → 14.0.0-alpha.1539862321

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 (50) hide show
  1. package/actionsExecutor/ActionExecutorContext.tsx +1 -1
  2. package/analyticsUtils/AnalyticsEvents/helper.ts +81 -0
  3. package/analyticsUtils/AnalyticsEvents/sendOnClickEvent.ts +14 -4
  4. package/analyticsUtils/__tests__/analyticsUtils.test.js +14 -0
  5. package/analyticsUtils/events.ts +8 -0
  6. package/appUtils/accessibilityManager/index.ts +3 -3
  7. package/appUtils/playerManager/OverlayObserver/OverlaysObserver.ts +0 -15
  8. package/appUtils/playerManager/useChapterMarker.tsx +0 -1
  9. package/appUtils/playerManager/usePlayerControllerSetup.tsx +16 -0
  10. package/arrayUtils/__tests__/isEmptyArray.test.ts +63 -0
  11. package/arrayUtils/__tests__/isFilledArray.test.ts +1 -1
  12. package/arrayUtils/index.ts +7 -2
  13. package/audioPlayerUtils/__tests__/getImageFromEntry.test.ts +54 -0
  14. package/audioPlayerUtils/index.ts +135 -22
  15. package/conf/player/__tests__/selectors.test.ts +34 -0
  16. package/conf/player/selectors.ts +10 -0
  17. package/configurationUtils/__tests__/configurationUtils.test.js +0 -31
  18. package/configurationUtils/__tests__/getMediaItems.test.ts +65 -0
  19. package/configurationUtils/__tests__/imageSrcFromMediaItem.test.ts +34 -0
  20. package/configurationUtils/index.ts +63 -34
  21. package/focusManager/FocusManager.ts +26 -16
  22. package/focusManager/Tree.ts +25 -21
  23. package/focusManager/__tests__/FocusManager.test.ts +50 -8
  24. package/manifestUtils/_internals/getDefaultConfiguration.js +28 -0
  25. package/manifestUtils/{_internals.js → _internals/index.js} +2 -25
  26. package/manifestUtils/createConfig.js +4 -1
  27. package/manifestUtils/defaultManifestConfigurations/player.js +1239 -200
  28. package/manifestUtils/progressBar/__tests__/mobileProgressBar.test.js +0 -30
  29. package/package.json +2 -2
  30. package/playerUtils/__tests__/configurationUtils.test.ts +1 -65
  31. package/playerUtils/__tests__/getPlayerActionButtons.test.ts +54 -0
  32. package/playerUtils/_internals/__tests__/utils.test.ts +71 -0
  33. package/playerUtils/_internals/index.ts +1 -0
  34. package/playerUtils/_internals/utils.ts +31 -0
  35. package/playerUtils/configurationUtils.ts +0 -44
  36. package/playerUtils/getPlayerActionButtons.ts +17 -0
  37. package/playerUtils/index.ts +2 -0
  38. package/playerUtils/useValidatePlayerConfig.tsx +22 -19
  39. package/reactHooks/feed/useBatchLoading.ts +3 -3
  40. package/reactHooks/feed/usePipesCacheReset.ts +1 -1
  41. package/reactHooks/layout/isTablet/index.ts +5 -2
  42. package/reactHooks/navigation/useIsScreenActive.ts +9 -5
  43. package/reactHooks/screen/useScreenContext.ts +1 -1
  44. package/reactHooks/state/__tests__/ZStoreProvider.test.tsx +2 -1
  45. package/riverComponetsMeasurementProvider/index.tsx +1 -1
  46. package/services/js2native.ts +1 -0
  47. package/time/BackgroundTimer.ts +5 -3
  48. package/utils/index.ts +8 -2
  49. package/playerUtils/configurationGenerator.ts +0 -2572
  50. package/utils/isPresent.ts +0 -4
@@ -1,4 +0,0 @@
1
- import { isNil, isEmpty } from "lodash";
2
-
3
- export const isPresent = (value: unknown): boolean =>
4
- !isNil(value) && !isEmpty(value);