@coorpacademy/components 11.38.3-alpha.19 → 11.38.3-alpha.21

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 (152) hide show
  1. package/es/atom/input-search/index.d.ts +2 -0
  2. package/es/atom/input-search/index.d.ts.map +1 -1
  3. package/es/atom/input-search/index.js +46 -13
  4. package/es/atom/input-search/index.js.map +1 -1
  5. package/es/atom/input-search/style.css +97 -0
  6. package/es/molecule/card/customer.css +3 -0
  7. package/es/molecule/card/favorite.d.ts.map +1 -1
  8. package/es/molecule/card/favorite.js +0 -5
  9. package/es/molecule/card/favorite.js.map +1 -1
  10. package/es/molecule/card/index.d.ts.map +1 -1
  11. package/es/molecule/card/index.js +11 -29
  12. package/es/molecule/card/index.js.map +1 -1
  13. package/es/molecule/card/notification.css +16 -39
  14. package/es/molecule/card/notification.d.ts.map +1 -1
  15. package/es/molecule/card/notification.js +4 -26
  16. package/es/molecule/card/notification.js.map +1 -1
  17. package/es/molecule/card/style.css +14 -16
  18. package/es/molecule/card-content/index.d.ts.map +1 -1
  19. package/es/molecule/card-content/index.js +36 -79
  20. package/es/molecule/card-content/index.js.map +1 -1
  21. package/es/molecule/card-content/style.css +24 -32
  22. package/es/molecule/cm-popin/types.d.ts +2 -0
  23. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  24. package/es/molecule/external-content-button/style.css +0 -1
  25. package/es/molecule/multi-filter-panel/index.d.ts +2 -0
  26. package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
  27. package/es/molecule/multi-filter-panel/prop-types.d.ts +2 -0
  28. package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  29. package/es/molecule/search-form/index.d.ts +5 -0
  30. package/es/molecule/search-form/index.d.ts.map +1 -1
  31. package/es/molecule/search-form/index.js +26 -16
  32. package/es/molecule/search-form/index.js.map +1 -1
  33. package/es/molecule/search-form/style.css +21 -6
  34. package/es/organism/brand-table/index.d.ts +2 -0
  35. package/es/organism/content-skill-modal/index.d.ts +4 -0
  36. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  37. package/es/organism/content-skill-modal/types.d.ts +4 -0
  38. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  39. package/es/organism/filter-checkbox-and-search/index.d.ts +2 -0
  40. package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  41. package/es/organism/filter-checkbox-and-search/props-types.d.ts +2 -0
  42. package/es/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  43. package/es/organism/list-items/index.d.ts +2 -0
  44. package/es/organism/mooc-header/index.d.ts +14 -0
  45. package/es/organism/mooc-header/index.d.ts.map +1 -1
  46. package/es/organism/mooc-header/index.js +132 -13
  47. package/es/organism/mooc-header/index.js.map +1 -1
  48. package/es/organism/mooc-header/style.css +184 -8
  49. package/es/template/app-player/loading/index.d.ts +2 -0
  50. package/es/template/app-player/player/index.d.ts +4 -0
  51. package/es/template/app-player/player/slides/index.d.ts +2 -0
  52. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  53. package/es/template/app-player/popin-correction/index.d.ts +2 -0
  54. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  55. package/es/template/app-player/popin-end/index.d.ts +2 -0
  56. package/es/template/app-review/index.d.ts +2 -0
  57. package/es/template/app-review/index.d.ts.map +1 -1
  58. package/es/template/app-review/player/prop-types.d.ts +2 -0
  59. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  60. package/es/template/app-review/prop-types.d.ts +2 -0
  61. package/es/template/app-review/prop-types.d.ts.map +1 -1
  62. package/es/template/back-office/brand-update/index.d.ts +12 -0
  63. package/es/template/common/dashboard/index.d.ts +4 -0
  64. package/es/template/common/search-page/index.d.ts +2 -0
  65. package/es/template/external-course/index.d.ts +2 -0
  66. package/es/util/check-is-mobile.js +3 -2
  67. package/es/util/check-is-mobile.js.map +1 -1
  68. package/es/util/external-content.d.ts +4 -38
  69. package/es/util/external-content.d.ts.map +1 -1
  70. package/es/util/external-content.js +4 -33
  71. package/es/util/external-content.js.map +1 -1
  72. package/es/variables/colors.d.ts +0 -5
  73. package/es/variables/colors.d.ts.map +1 -1
  74. package/es/variables/colors.js +1 -6
  75. package/es/variables/colors.js.map +1 -1
  76. package/lib/atom/input-search/index.d.ts +2 -0
  77. package/lib/atom/input-search/index.d.ts.map +1 -1
  78. package/lib/atom/input-search/index.js +46 -13
  79. package/lib/atom/input-search/index.js.map +1 -1
  80. package/lib/atom/input-search/style.css +97 -0
  81. package/lib/molecule/card/customer.css +3 -0
  82. package/lib/molecule/card/favorite.d.ts.map +1 -1
  83. package/lib/molecule/card/favorite.js +0 -5
  84. package/lib/molecule/card/favorite.js.map +1 -1
  85. package/lib/molecule/card/index.d.ts.map +1 -1
  86. package/lib/molecule/card/index.js +10 -28
  87. package/lib/molecule/card/index.js.map +1 -1
  88. package/lib/molecule/card/notification.css +16 -39
  89. package/lib/molecule/card/notification.d.ts.map +1 -1
  90. package/lib/molecule/card/notification.js +3 -25
  91. package/lib/molecule/card/notification.js.map +1 -1
  92. package/lib/molecule/card/style.css +14 -16
  93. package/lib/molecule/card-content/index.d.ts.map +1 -1
  94. package/lib/molecule/card-content/index.js +34 -77
  95. package/lib/molecule/card-content/index.js.map +1 -1
  96. package/lib/molecule/card-content/style.css +24 -32
  97. package/lib/molecule/cm-popin/types.d.ts +2 -0
  98. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  99. package/lib/molecule/external-content-button/style.css +0 -1
  100. package/lib/molecule/multi-filter-panel/index.d.ts +2 -0
  101. package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
  102. package/lib/molecule/multi-filter-panel/prop-types.d.ts +2 -0
  103. package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  104. package/lib/molecule/search-form/index.d.ts +5 -0
  105. package/lib/molecule/search-form/index.d.ts.map +1 -1
  106. package/lib/molecule/search-form/index.js +27 -17
  107. package/lib/molecule/search-form/index.js.map +1 -1
  108. package/lib/molecule/search-form/style.css +21 -6
  109. package/lib/organism/brand-table/index.d.ts +2 -0
  110. package/lib/organism/content-skill-modal/index.d.ts +4 -0
  111. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  112. package/lib/organism/content-skill-modal/types.d.ts +4 -0
  113. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  114. package/lib/organism/filter-checkbox-and-search/index.d.ts +2 -0
  115. package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  116. package/lib/organism/filter-checkbox-and-search/props-types.d.ts +2 -0
  117. package/lib/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  118. package/lib/organism/list-items/index.d.ts +2 -0
  119. package/lib/organism/mooc-header/index.d.ts +14 -0
  120. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  121. package/lib/organism/mooc-header/index.js +132 -13
  122. package/lib/organism/mooc-header/index.js.map +1 -1
  123. package/lib/organism/mooc-header/style.css +184 -8
  124. package/lib/template/app-player/loading/index.d.ts +2 -0
  125. package/lib/template/app-player/player/index.d.ts +4 -0
  126. package/lib/template/app-player/player/slides/index.d.ts +2 -0
  127. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  128. package/lib/template/app-player/popin-correction/index.d.ts +2 -0
  129. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  130. package/lib/template/app-player/popin-end/index.d.ts +2 -0
  131. package/lib/template/app-review/index.d.ts +2 -0
  132. package/lib/template/app-review/index.d.ts.map +1 -1
  133. package/lib/template/app-review/player/prop-types.d.ts +2 -0
  134. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  135. package/lib/template/app-review/prop-types.d.ts +2 -0
  136. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  137. package/lib/template/back-office/brand-update/index.d.ts +12 -0
  138. package/lib/template/common/dashboard/index.d.ts +4 -0
  139. package/lib/template/common/search-page/index.d.ts +2 -0
  140. package/lib/template/external-course/index.d.ts +2 -0
  141. package/lib/util/check-is-mobile.js +3 -2
  142. package/lib/util/check-is-mobile.js.map +1 -1
  143. package/lib/util/external-content.d.ts +4 -38
  144. package/lib/util/external-content.d.ts.map +1 -1
  145. package/lib/util/external-content.js +5 -34
  146. package/lib/util/external-content.js.map +1 -1
  147. package/lib/variables/colors.d.ts +0 -5
  148. package/lib/variables/colors.d.ts.map +1 -1
  149. package/lib/variables/colors.js +1 -6
  150. package/lib/variables/colors.js.map +1 -1
  151. package/locales/en/global.json +4 -4
  152. package/package.json +2 -2
@@ -27,18 +27,21 @@
27
27
 
28
28
  .wrapper {
29
29
  min-height: 60px;
30
+ display: flex;
31
+ justify-content: center;
30
32
  }
31
33
 
32
34
  .header {
33
35
  position: fixed;
34
36
  width: 100%;
35
37
  height: 60px;
38
+ left: 0;
36
39
  box-sizing: border-box;
37
40
  border-bottom: 1px solid light;
38
41
  display: flex;
39
42
  flex-direction: row;
40
- justify-content: space-between;
41
- align-items: stretch;
43
+ justify-content: center;
44
+ align-items: center;
42
45
  background-color: white;
43
46
  }
44
47
 
@@ -47,8 +50,6 @@
47
50
  justify-content: flex-start;
48
51
  flex: 1 0 0%;
49
52
  height: 100%;
50
- border-right: solid 1px light;
51
- border-left: solid 1px light;
52
53
  background-color: white;
53
54
  }
54
55
 
@@ -656,15 +657,140 @@
656
657
  }
657
658
  }
658
659
 
659
- @media tablet {
660
+ .rightZoneFocus {
661
+ position: relative;
662
+ display: flex;
663
+ align-items: center;
664
+ justify-content: flex-end;
665
+ width: 100%;
666
+ margin-right: 20px;
667
+ }
668
+
669
+ .rightZone{
670
+ display: flex;
671
+ align-items: center;
672
+ justify-content: space-between;
673
+ width: 100%;
674
+ margin-right: 20px;
675
+ }
676
+
677
+ .searchBarActive .floatingSearchBar {
678
+ display: flex;
679
+ position: absolute;
680
+ left: 0;
681
+ top: 0;
682
+ height: 100%;
683
+ z-index: 2000;
684
+ pointer-events: none;
685
+ align-items: center;
686
+ background-color: transparent;
687
+ }
688
+
689
+ .searchBarActive .floatingSearchBar > * {
690
+ pointer-events: auto;
691
+ width: 100%;
692
+ max-width: 936px;
693
+ background-color: transparent;
694
+ }
695
+
696
+ .floatingSearchBar {
697
+ width: 100%;
698
+ max-width: 400px;
699
+ transition: max-width 0.5s ease;
700
+ }
701
+
702
+ .floatingSearchBar--expanded {
703
+ max-width: 936px;
704
+ }
705
+
706
+ .floatingSearchBar--closing {
707
+ max-width: 603px;
708
+ }
709
+
710
+ .searchOverlay {
711
+ position: fixed;
712
+ top: 0;
713
+ left: 0;
714
+ width: 100vw;
715
+ height: 100vh;
716
+ background: rgba(29, 29, 43, 0.20);
717
+ backdrop-filter: blur(2px);
718
+ z-index: 1500;
719
+ pointer-events: auto;
720
+ }
721
+
722
+ @media tablet, mobile {
660
723
  .header {
661
724
  flex-direction: row;
662
- padding: 0;
663
725
  background-color: white;
664
- justify-content: flex-start;
726
+ justify-content: center;
665
727
  height: auto;
666
728
  align-items: center;
667
729
  min-height: 60px;
730
+ padding: 0 10px;
731
+ }
732
+
733
+ /* Classes simples pour mobile avec animations */
734
+ .mobileSearchContainer {
735
+ flex: 1;
736
+ margin: 0 10px;
737
+ display: flex;
738
+ align-items: center;
739
+ max-width: calc(100% - 20px);
740
+ transition: max-width 0.3s ease;
741
+ }
742
+
743
+ .mobileSearchContainerFocus {
744
+ position: fixed;
745
+ left: 0;
746
+ right: 0;
747
+ max-width: 100%;
748
+ width: 100%;
749
+ z-index: 15;
750
+ background-color: transparent;
751
+ border-radius: 12%;
752
+ display: flex;
753
+ align-items: center;
754
+ justify-content: center;
755
+ padding: 0 10px;
756
+ box-sizing: border-box;
757
+ transition: max-width 0.3s ease;
758
+ }
759
+
760
+ .searchBar {
761
+ background-color: transparent;
762
+
763
+ }
764
+
765
+ .logoWrapperMobileHidden {
766
+ opacity: 0;
767
+ transform: translateX(-20px);
768
+ transition: opacity 0.3s ease, transform 0.3s ease;
769
+ }
770
+
771
+ .logoWrapperMobileHidden .navMobile {
772
+ opacity: 0;
773
+ transform: scale(0.8);
774
+ }
775
+
776
+ .mobileSearchOverlay {
777
+ position: fixed;
778
+ top: 0;
779
+ left: 0;
780
+ right: 0;
781
+ bottom: 0;
782
+ background: rgba(0, 0, 0, 0.3);
783
+ z-index: 10;
784
+ animation: overlayFadeIn 0.3s ease;
785
+ }
786
+
787
+ @keyframes overlayFadeIn {
788
+ from {
789
+ opacity: 0;
790
+ }
791
+ to {
792
+ opacity: 1;
793
+ }
668
794
  }
669
795
 
670
796
  .open {
@@ -677,6 +803,9 @@
677
803
  background-color: white;
678
804
  z-index: 2;
679
805
  margin: 0 8px 0 0;
806
+ transition: opacity 0.3s ease, transform 0.3s ease;
807
+ opacity: 1;
808
+ transform: translateX(0);
680
809
  }
681
810
 
682
811
  .logo {
@@ -685,6 +814,7 @@
685
814
 
686
815
  .navMobile {
687
816
  display: flex;
817
+ transition: opacity 0.3s ease, transform 0.3s ease;
688
818
  align-items: center;
689
819
  cursor: pointer;
690
820
  flex: 0 1 auto;
@@ -874,4 +1004,50 @@
874
1004
  .userAvatarWrapper {
875
1005
  display: none;
876
1006
  }
877
- }
1007
+
1008
+
1009
+
1010
+ .searchBarActive .floatingSearchBar > * {
1011
+ height: auto;
1012
+ width: 100%;
1013
+ }
1014
+
1015
+ .rightZoneFocus {
1016
+ height: auto;
1017
+ width: 100%;
1018
+ display: flex;
1019
+ justify-content: center;
1020
+ align-items: center;
1021
+ padding: 0 10px;
1022
+ box-sizing: border-box;
1023
+ z-index: 1500;
1024
+ position: absolute;
1025
+ }
1026
+
1027
+ .rightZone{
1028
+ display: flex;
1029
+ align-items: center;
1030
+ justify-content: flex-end;
1031
+ flex: 1;
1032
+ margin-right: 0px;
1033
+ padding: 0 10px;
1034
+ }
1035
+
1036
+ .floatingSearchBar {
1037
+ width: 100%;
1038
+ transition: all 0.4s ease;
1039
+ z-index: 1600;
1040
+ position: relative;
1041
+ }
1042
+
1043
+ .floatingSearchBar--expanded {
1044
+ width: calc(100vw - 20px);
1045
+ position: fixed;
1046
+ left: 50vw;
1047
+ transform: translateX(-50%);
1048
+ top: 0;
1049
+ z-index: 1600;
1050
+ }
1051
+
1052
+
1053
+ }
@@ -647,6 +647,8 @@ declare namespace PlayerLoading {
647
647
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
648
648
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
649
649
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
650
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
651
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
650
652
  theme: PropTypes.Requireable<string>;
651
653
  dataTestId: PropTypes.Requireable<string>;
652
654
  }>>;
@@ -698,6 +698,8 @@ declare namespace SlidePlayer {
698
698
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
699
699
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
700
700
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
701
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
702
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
701
703
  theme: PropTypes.Requireable<string>;
702
704
  dataTestId: PropTypes.Requireable<string>;
703
705
  }>>;
@@ -1503,6 +1505,8 @@ declare namespace SlidePlayer {
1503
1505
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
1504
1506
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
1505
1507
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
1508
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
1509
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
1506
1510
  theme: PropTypes.Requireable<string>;
1507
1511
  dataTestId: PropTypes.Requireable<string>;
1508
1512
  }>>;
@@ -704,6 +704,8 @@ declare namespace SlidesPlayer {
704
704
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
705
705
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
706
706
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
707
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
708
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
707
709
  theme: PropTypes.Requireable<string>;
708
710
  dataTestId: PropTypes.Requireable<string>;
709
711
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AArPD;;;gBAaC;;;;;;;;;;;;;;AAyDD;;;;gBAEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlHD,oEAQC;;;;;;;;;AAgND;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
@@ -734,6 +734,8 @@ declare class PopinCorrection extends React.Component<any, any, any> {
734
734
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
735
735
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
736
736
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
737
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
738
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
737
739
  theme: PropTypes.Requireable<string>;
738
740
  dataTestId: PropTypes.Requireable<string>;
739
741
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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es.Requireable<(...args: any[]) => any>;
837
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
838
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
837
839
  theme: PropTypes.Requireable<string>;
838
840
  dataTestId: PropTypes.Requireable<string>;
839
841
  }>>;
@@ -1155,6 +1155,8 @@ declare const AppReview: {
1155
1155
  onClear: import("prop-types").Requireable<(...args: any[]) => any>;
1156
1156
  onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
1157
1157
  onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
1158
+ onKeyDown: import("prop-types").Requireable<(...args: any[]) => any>;
1159
+ inputRef: import("prop-types").Requireable<(...args: any[]) => any>;
1158
1160
  theme: import("prop-types").Requireable<string>;
1159
1161
  dataTestId: import("prop-types").Requireable<string>;
1160
1162
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
@@ -1156,6 +1156,8 @@ declare const propTypes: {
1156
1156
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
1157
1157
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
1158
1158
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
1159
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
1160
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
1159
1161
  theme: PropTypes.Requireable<string>;
1160
1162
  dataTestId: PropTypes.Requireable<string>;
1161
1163
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
@@ -1160,6 +1160,8 @@ declare const propTypes: {
1160
1160
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
1161
1161
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
1162
1162
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
1163
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
1164
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
1163
1165
  theme: PropTypes.Requireable<string>;
1164
1166
  dataTestId: PropTypes.Requireable<string>;
1165
1167
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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: any[]) => any>;
284
284
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
285
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
286
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
285
287
  theme: PropTypes.Requireable<string>;
286
288
  dataTestId: PropTypes.Requireable<string>;
287
289
  }>>;
@@ -905,6 +907,8 @@ declare namespace BrandUpdate {
905
907
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
906
908
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
907
909
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
910
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
911
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
908
912
  theme: PropTypes.Requireable<string>;
909
913
  dataTestId: PropTypes.Requireable<string>;
910
914
  }>>;
@@ -2346,6 +2350,8 @@ declare namespace BrandUpdate {
2346
2350
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
2347
2351
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
2348
2352
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
2353
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
2354
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
2349
2355
  theme: PropTypes.Requireable<string>;
2350
2356
  dataTestId: PropTypes.Requireable<string>;
2351
2357
  }>>;
@@ -3001,6 +3007,8 @@ declare namespace BrandUpdate {
3001
3007
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
3002
3008
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
3003
3009
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
3010
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
3011
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
3004
3012
  theme: PropTypes.Requireable<string>;
3005
3013
  dataTestId: PropTypes.Requireable<string>;
3006
3014
  }>>;
@@ -3178,6 +3186,8 @@ declare namespace BrandUpdate {
3178
3186
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
3179
3187
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
3180
3188
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
3189
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
3190
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
3181
3191
  theme: PropTypes.Requireable<string>;
3182
3192
  dataTestId: PropTypes.Requireable<string>;
3183
3193
  }>>;
@@ -3201,6 +3211,8 @@ declare namespace BrandUpdate {
3201
3211
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
3202
3212
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
3203
3213
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
3214
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
3215
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
3204
3216
  theme: PropTypes.Requireable<string>;
3205
3217
  dataTestId: PropTypes.Requireable<string>;
3206
3218
  }>>;
@@ -651,6 +651,8 @@ declare namespace Dashboard {
651
651
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
652
652
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
653
653
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
654
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
655
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
654
656
  theme: PropTypes.Requireable<string>;
655
657
  dataTestId: PropTypes.Requireable<string>;
656
658
  }>>;
@@ -1459,6 +1461,8 @@ declare namespace Dashboard {
1459
1461
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
1460
1462
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
1461
1463
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
1464
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
1465
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
1462
1466
  theme: PropTypes.Requireable<string>;
1463
1467
  dataTestId: PropTypes.Requireable<string>;
1464
1468
  }>>;
@@ -832,6 +832,8 @@ declare namespace SearchPage {
832
832
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
833
833
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
834
834
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
835
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
836
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
835
837
  theme: PropTypes.Requireable<string>;
836
838
  dataTestId: PropTypes.Requireable<string>;
837
839
  }>>;
@@ -669,6 +669,8 @@ declare namespace ExternalCourse {
669
669
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
670
670
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
671
671
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
672
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
673
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
672
674
  theme: PropTypes.Requireable<string>;
673
675
  dataTestId: PropTypes.Requireable<string>;
674
676
  }>>;
@@ -4,9 +4,10 @@ exports.__esModule = true;
4
4
  exports.isMobile = void 0;
5
5
  const isMobile = userAgent => {
6
6
  const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
7
- const isSmallScreen = window.innerWidth <= 768;
7
+ const isMobileOrTabletScreen = window.innerWidth <= 1024; // Inclut tablette
8
+
8
9
  const isMobileUserAgent = /Android|iPhone|iPad|iPod|Mobile|BlackBerry|IEMobile|Opera Mini/i.test(userAgent);
9
- return isSmallScreen || isTouch && isMobileUserAgent;
10
+ return isMobileOrTabletScreen || isTouch && isMobileUserAgent;
10
11
  };
11
12
  exports.isMobile = isMobile;
12
13
  //# sourceMappingURL=check-is-mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-is-mobile.js","names":["isMobile","userAgent","isTouch","window","navigator","maxTouchPoints","msMaxTouchPoints","isSmallScreen","innerWidth","isMobileUserAgent","test","exports"],"sources":["../../src/util/check-is-mobile.js"],"sourcesContent":["export const isMobile = userAgent => {\n const isTouch =\n 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;\n\n const isSmallScreen = window.innerWidth <= 768;\n\n const isMobileUserAgent = /Android|iPhone|iPad|iPod|Mobile|BlackBerry|IEMobile|Opera Mini/i.test(\n userAgent\n );\n\n return isSmallScreen || (isTouch && isMobileUserAgent);\n};\n"],"mappings":";;;;AAAO,MAAMA,QAAQ,GAAGC,SAAS,IAAI;EACnC,MAAMC,OAAO,GACX,cAAc,IAAIC,MAAM,IAAIC,SAAS,CAACC,cAAc,GAAG,CAAC,IAAID,SAAS,CAACE,gBAAgB,GAAG,CAAC;EAE5F,MAAMC,aAAa,GAAGJ,MAAM,CAACK,UAAU,IAAI,GAAG;EAE9C,MAAMC,iBAAiB,GAAG,iEAAiE,CAACC,IAAI,CAC9FT,SACF,CAAC;EAED,OAAOM,aAAa,IAAKL,OAAO,IAAIO,iBAAkB;AACxD,CAAC;AAACE,OAAA,CAAAX,QAAA,GAAAA,QAAA","ignoreList":[]}
1
+ {"version":3,"file":"check-is-mobile.js","names":["isMobile","userAgent","isTouch","window","navigator","maxTouchPoints","msMaxTouchPoints","isMobileOrTabletScreen","innerWidth","isMobileUserAgent","test","exports"],"sources":["../../src/util/check-is-mobile.js"],"sourcesContent":["export const isMobile = userAgent => {\n const isTouch =\n 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;\n\n const isMobileOrTabletScreen = window.innerWidth <= 1024; // Inclut tablette\n\n const isMobileUserAgent = /Android|iPhone|iPad|iPod|Mobile|BlackBerry|IEMobile|Opera Mini/i.test(\n userAgent\n );\n\n return isMobileOrTabletScreen || (isTouch && isMobileUserAgent);\n};\n"],"mappings":";;;;AAAO,MAAMA,QAAQ,GAAGC,SAAS,IAAI;EACnC,MAAMC,OAAO,GACX,cAAc,IAAIC,MAAM,IAAIC,SAAS,CAACC,cAAc,GAAG,CAAC,IAAID,SAAS,CAACE,gBAAgB,GAAG,CAAC;EAE5F,MAAMC,sBAAsB,GAAGJ,MAAM,CAACK,UAAU,IAAI,IAAI,CAAC,CAAC;;EAE1D,MAAMC,iBAAiB,GAAG,iEAAiE,CAACC,IAAI,CAC9FT,SACF,CAAC;EAED,OAAOM,sBAAsB,IAAKL,OAAO,IAAIO,iBAAkB;AACjE,CAAC;AAACE,OAAA,CAAAX,QAAA,GAAAA,QAAA","ignoreList":[]}
@@ -4,58 +4,24 @@ export const EXTERNAL_COURSE_TYPES: string[];
4
4
  export namespace EXTERNAL_CONTENT_ICONS {
5
5
  namespace scorm {
6
6
  export { ScormIcon as icon };
7
- export const color: "#FFB800";
7
+ export const color: string;
8
8
  }
9
9
  namespace article {
10
10
  export { ArticleIcon as icon };
11
- const color_1: "#365FCD";
11
+ const color_1: string;
12
12
  export { color_1 as color };
13
13
  }
14
14
  namespace video {
15
15
  export { VideoIcon as icon };
16
- const color_2: "#E8335E";
16
+ const color_2: string;
17
17
  export { color_2 as color };
18
18
  }
19
19
  namespace podcast {
20
20
  export { PodcastIcon as icon };
21
- const color_3: "#432ba7";
21
+ const color_3: string;
22
22
  export { color_3 as color };
23
23
  }
24
24
  }
25
- export namespace ICONS_TYPES {
26
- export namespace scorm_1 {
27
- const iconName: string;
28
- const iconColor: "#FFB800";
29
- }
30
- export { scorm_1 as scorm };
31
- export namespace article_1 {
32
- const iconName_1: string;
33
- export { iconName_1 as iconName };
34
- const iconColor_1: "#365FCD";
35
- export { iconColor_1 as iconColor };
36
- }
37
- export { article_1 as article };
38
- export namespace video_1 {
39
- const iconName_2: string;
40
- export { iconName_2 as iconName };
41
- const iconColor_2: "#E8335E";
42
- export { iconColor_2 as iconColor };
43
- }
44
- export { video_1 as video };
45
- export namespace podcast_1 {
46
- const iconName_3: string;
47
- export { iconName_3 as iconName };
48
- const iconColor_3: "#432ba7";
49
- export { iconColor_3 as iconColor };
50
- }
51
- export { podcast_1 as podcast };
52
- export namespace chapter {
53
- const iconName_4: string;
54
- export { iconName_4 as iconName };
55
- const iconColor_4: "#515161";
56
- export { iconColor_4 as iconColor };
57
- }
58
- }
59
25
  import { NovaCompositionCoorpacademyScorm as ScormIcon } from "@coorpacademy/nova-icons";
60
26
  import { NovaCompositionCoorpacademyArticle as ArticleIcon } from "@coorpacademy/nova-icons";
61
27
  import { NovaCompositionCoorpacademyVideo as VideoIcon } from "@coorpacademy/nova-icons";
@@ -1 +1 @@
1
- {"version":3,"file":"external-content.d.ts","sourceRoot":"","sources":["../../src/util/external-content.js"],"names":[],"mappings":";AASO,sDAA0F;AAEjG,6CAAqF"}
1
+ {"version":3,"file":"external-content.d.ts","sourceRoot":"","sources":["../../src/util/external-content.js"],"names":[],"mappings":";AAQO,sDAA0F;AAEjG,6CAAqF"}
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- exports.isExternalContent = exports.ICONS_TYPES = exports.EXTERNAL_COURSE_TYPES = exports.EXTERNAL_CONTENT_ICONS = void 0;
4
+ exports.isExternalContent = exports.EXTERNAL_COURSE_TYPES = exports.EXTERNAL_CONTENT_ICONS = void 0;
5
5
  var _includes = _interopRequireDefault(require("lodash/fp/includes"));
6
6
  var _novaIcons = require("@coorpacademy/nova-icons");
7
- var _colors = require("../variables/colors");
8
7
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
8
  const isExternalContent = type => (0, _includes.default)(type, ['scorm', 'video', 'article', 'podcast']);
10
9
  exports.isExternalContent = isExternalContent;
@@ -12,47 +11,19 @@ const EXTERNAL_COURSE_TYPES = exports.EXTERNAL_COURSE_TYPES = ['podcast', 'video
12
11
  const EXTERNAL_CONTENT_ICONS = exports.EXTERNAL_CONTENT_ICONS = {
13
12
  scorm: {
14
13
  icon: _novaIcons.NovaCompositionCoorpacademyScorm,
15
- color: _colors.COLORS.cm_yellow_scorm
14
+ color: '#FFB800'
16
15
  },
17
16
  article: {
18
17
  icon: _novaIcons.NovaCompositionCoorpacademyArticle,
19
- color: _colors.COLORS.cm_bleu_article
18
+ color: '#365FCD'
20
19
  },
21
20
  video: {
22
21
  icon: _novaIcons.NovaCompositionCoorpacademyVideo,
23
- color: _colors.COLORS.cm_red_video
22
+ color: '#E8335E'
24
23
  },
25
24
  podcast: {
26
25
  icon: _novaIcons.NovaCompositionCoorpacademyMicrophone,
27
- color: _colors.COLORS.cm_violet_podcast
26
+ color: '#432ba7'
28
27
  }
29
28
  };
30
-
31
- // should replace nova-icons with the new icons below
32
- const ICONS_TYPES = exports.ICONS_TYPES = {
33
- scorm: {
34
- iconName: 'rectangle-history',
35
- iconColor: _colors.COLORS.cm_yellow_scorm
36
- },
37
- // ok
38
- article: {
39
- iconName: 'file-lines',
40
- iconColor: _colors.COLORS.cm_bleu_article
41
- },
42
- // ok animated resource
43
- video: {
44
- iconName: 'circle-play',
45
- iconColor: _colors.COLORS.cm_red_video
46
- },
47
- // ok video
48
- podcast: {
49
- iconName: 'microphone-lines',
50
- iconColor: _colors.COLORS.cm_violet_podcast
51
- },
52
- // ok
53
- chapter: {
54
- iconName: 'stopwatch',
55
- iconColor: _colors.COLORS.neutral_500
56
- } // ok
57
- };
58
29
  //# sourceMappingURL=external-content.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"external-content.js","names":["_includes","_interopRequireDefault","require","_novaIcons","_colors","e","__esModule","default","isExternalContent","type","includes","exports","EXTERNAL_COURSE_TYPES","EXTERNAL_CONTENT_ICONS","scorm","icon","ScormIcon","color","COLORS","cm_yellow_scorm","article","ArticleIcon","cm_bleu_article","video","VideoIcon","cm_red_video","podcast","PodcastIcon","cm_violet_podcast","ICONS_TYPES","iconName","iconColor","chapter","neutral_500"],"sources":["../../src/util/external-content.js"],"sourcesContent":["import includes from 'lodash/fp/includes';\nimport {\n NovaCompositionCoorpacademyScorm as ScormIcon,\n NovaCompositionCoorpacademyArticle as ArticleIcon,\n NovaCompositionCoorpacademyVideo as VideoIcon,\n NovaCompositionCoorpacademyMicrophone as PodcastIcon\n} from '@coorpacademy/nova-icons';\nimport {COLORS} from '../variables/colors';\n\nexport const isExternalContent = type => includes(type, ['scorm', 'video', 'article', 'podcast']);\n\nexport const EXTERNAL_COURSE_TYPES = ['podcast', 'video', 'interactive', 'document'];\n\nexport const EXTERNAL_CONTENT_ICONS = {\n scorm: {icon: ScormIcon, color: COLORS.cm_yellow_scorm},\n article: {icon: ArticleIcon, color: COLORS.cm_bleu_article},\n video: {icon: VideoIcon, color: COLORS.cm_red_video},\n podcast: {icon: PodcastIcon, color: COLORS.cm_violet_podcast}\n};\n\n// should replace nova-icons with the new icons below\nexport const ICONS_TYPES = {\n scorm: {iconName: 'rectangle-history', iconColor: COLORS.cm_yellow_scorm}, // ok\n article: {iconName: 'file-lines', iconColor: COLORS.cm_bleu_article}, // ok animated resource\n video: {iconName: 'circle-play', iconColor: COLORS.cm_red_video}, // ok video\n podcast: {iconName: 'microphone-lines', iconColor: COLORS.cm_violet_podcast}, // ok\n chapter: {iconName: 'stopwatch', iconColor: COLORS.neutral_500} // ok\n};\n"],"mappings":";;;;AAAA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAMA,IAAAE,OAAA,GAAAF,OAAA;AAA2C,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEpC,MAAMG,iBAAiB,GAAGC,IAAI,IAAI,IAAAC,iBAAQ,EAACD,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAACE,OAAA,CAAAH,iBAAA,GAAAA,iBAAA;AAE3F,MAAMI,qBAAqB,GAAAD,OAAA,CAAAC,qBAAA,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,CAAC;AAE7E,MAAMC,sBAAsB,GAAAF,OAAA,CAAAE,sBAAA,GAAG;EACpCC,KAAK,EAAE;IAACC,IAAI,EAAEC,2CAAS;IAAEC,KAAK,EAAEC,cAAM,CAACC;EAAe,CAAC;EACvDC,OAAO,EAAE;IAACL,IAAI,EAAEM,6CAAW;IAAEJ,KAAK,EAAEC,cAAM,CAACI;EAAe,CAAC;EAC3DC,KAAK,EAAE;IAACR,IAAI,EAAES,2CAAS;IAAEP,KAAK,EAAEC,cAAM,CAACO;EAAY,CAAC;EACpDC,OAAO,EAAE;IAACX,IAAI,EAAEY,gDAAW;IAAEV,KAAK,EAAEC,cAAM,CAACU;EAAiB;AAC9D,CAAC;;AAED;AACO,MAAMC,WAAW,GAAAlB,OAAA,CAAAkB,WAAA,GAAG;EACzBf,KAAK,EAAE;IAACgB,QAAQ,EAAE,mBAAmB;IAAEC,SAAS,EAAEb,cAAM,CAACC;EAAe,CAAC;EAAE;EAC3EC,OAAO,EAAE;IAACU,QAAQ,EAAE,YAAY;IAAEC,SAAS,EAAEb,cAAM,CAACI;EAAe,CAAC;EAAE;EACtEC,KAAK,EAAE;IAACO,QAAQ,EAAE,aAAa;IAAEC,SAAS,EAAEb,cAAM,CAACO;EAAY,CAAC;EAAE;EAClEC,OAAO,EAAE;IAACI,QAAQ,EAAE,kBAAkB;IAAEC,SAAS,EAAEb,cAAM,CAACU;EAAiB,CAAC;EAAE;EAC9EI,OAAO,EAAE;IAACF,QAAQ,EAAE,WAAW;IAAEC,SAAS,EAAEb,cAAM,CAACe;EAAW,CAAC,CAAC;AAClE,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"external-content.js","names":["_includes","_interopRequireDefault","require","_novaIcons","e","__esModule","default","isExternalContent","type","includes","exports","EXTERNAL_COURSE_TYPES","EXTERNAL_CONTENT_ICONS","scorm","icon","ScormIcon","color","article","ArticleIcon","video","VideoIcon","podcast","PodcastIcon"],"sources":["../../src/util/external-content.js"],"sourcesContent":["import includes from 'lodash/fp/includes';\nimport {\n NovaCompositionCoorpacademyScorm as ScormIcon,\n NovaCompositionCoorpacademyArticle as ArticleIcon,\n NovaCompositionCoorpacademyVideo as VideoIcon,\n NovaCompositionCoorpacademyMicrophone as PodcastIcon\n} from '@coorpacademy/nova-icons';\n\nexport const isExternalContent = type => includes(type, ['scorm', 'video', 'article', 'podcast']);\n\nexport const EXTERNAL_COURSE_TYPES = ['podcast', 'video', 'interactive', 'document'];\n\nexport const EXTERNAL_CONTENT_ICONS = {\n scorm: {icon: ScormIcon, color: '#FFB800'},\n article: {icon: ArticleIcon, color: '#365FCD'},\n video: {icon: VideoIcon, color: '#E8335E'},\n podcast: {icon: PodcastIcon, color: '#432ba7'}\n};\n"],"mappings":";;;;AAAA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAKkC,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE3B,MAAMG,iBAAiB,GAAGC,IAAI,IAAI,IAAAC,iBAAQ,EAACD,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAACE,OAAA,CAAAH,iBAAA,GAAAA,iBAAA;AAE3F,MAAMI,qBAAqB,GAAAD,OAAA,CAAAC,qBAAA,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,CAAC;AAE7E,MAAMC,sBAAsB,GAAAF,OAAA,CAAAE,sBAAA,GAAG;EACpCC,KAAK,EAAE;IAACC,IAAI,EAAEC,2CAAS;IAAEC,KAAK,EAAE;EAAS,CAAC;EAC1CC,OAAO,EAAE;IAACH,IAAI,EAAEI,6CAAW;IAAEF,KAAK,EAAE;EAAS,CAAC;EAC9CG,KAAK,EAAE;IAACL,IAAI,EAAEM,2CAAS;IAAEJ,KAAK,EAAE;EAAS,CAAC;EAC1CK,OAAO,EAAE;IAACP,IAAI,EAAEQ,gDAAW;IAAEN,KAAK,EAAE;EAAS;AAC/C,CAAC","ignoreList":[]}