@applicaster/zapp-react-native-utils 14.0.0-alpha.4011674803 → 14.0.0-alpha.4055325032

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 (52) 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 +2431 -1244
  28. package/manifestUtils/keys.js +12 -0
  29. package/manifestUtils/progressBar/__tests__/mobileProgressBar.test.js +0 -30
  30. package/manifestUtils/sharedConfiguration/screenPicker/stylesFields.js +6 -0
  31. package/package.json +2 -2
  32. package/playerUtils/__tests__/configurationUtils.test.ts +1 -65
  33. package/playerUtils/__tests__/getPlayerActionButtons.test.ts +54 -0
  34. package/playerUtils/_internals/__tests__/utils.test.ts +71 -0
  35. package/playerUtils/_internals/index.ts +1 -0
  36. package/playerUtils/_internals/utils.ts +31 -0
  37. package/playerUtils/configurationUtils.ts +0 -44
  38. package/playerUtils/getPlayerActionButtons.ts +17 -0
  39. package/playerUtils/index.ts +53 -0
  40. package/playerUtils/useValidatePlayerConfig.tsx +22 -19
  41. package/reactHooks/feed/useBatchLoading.ts +3 -3
  42. package/reactHooks/feed/usePipesCacheReset.ts +1 -1
  43. package/reactHooks/layout/isTablet/index.ts +12 -5
  44. package/reactHooks/navigation/useIsScreenActive.ts +9 -5
  45. package/reactHooks/screen/useScreenContext.ts +1 -1
  46. package/reactHooks/state/__tests__/ZStoreProvider.test.tsx +2 -1
  47. package/riverComponetsMeasurementProvider/index.tsx +1 -1
  48. package/services/js2native.ts +1 -0
  49. package/time/BackgroundTimer.ts +5 -3
  50. package/utils/index.ts +8 -2
  51. package/playerUtils/configurationGenerator.ts +0 -2572
  52. package/utils/isPresent.ts +0 -4
package/utils/index.ts CHANGED
@@ -2,8 +2,6 @@ export { chunk } from "./chunk";
2
2
 
3
3
  export { times } from "./times";
4
4
 
5
- export { isPresent } from "./isPresent";
6
-
7
5
  export {
8
6
  cloneDeep as clone,
9
7
  flatten,
@@ -11,4 +9,12 @@ export {
11
9
  size,
12
10
  isNil,
13
11
  isEmpty,
12
+ get,
13
+ has,
14
+ flatMap,
15
+ difference,
16
+ take,
17
+ map,
18
+ trim,
19
+ toString,
14
20
  } from "lodash";