@coorpacademy/components 11.33.13 → 11.33.14

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 (177) hide show
  1. package/es/atom/button-link-icon/index.js +4 -4
  2. package/es/atom/button-link-icon/index.js.map +1 -1
  3. package/es/atom/button-menu/index.d.ts +1 -0
  4. package/es/atom/button-menu/index.d.ts.map +1 -1
  5. package/es/atom/button-menu/index.js +37 -22
  6. package/es/atom/button-menu/index.js.map +1 -1
  7. package/es/atom/button-menu/style.css +0 -10
  8. package/es/atom/button-menu/types.d.ts +7 -7
  9. package/es/atom/button-menu/types.d.ts.map +1 -1
  10. package/es/atom/button-menu/types.js +4 -1
  11. package/es/atom/button-menu/types.js.map +1 -1
  12. package/es/atom/button-menu/utils.d.ts +23 -0
  13. package/es/atom/button-menu/utils.d.ts.map +1 -0
  14. package/es/atom/button-menu/utils.js +24 -0
  15. package/es/atom/button-menu/utils.js.map +1 -0
  16. package/es/atom/icon/index.d.ts +16 -0
  17. package/es/atom/icon/index.d.ts.map +1 -1
  18. package/es/atom/icon/index.js +3 -2
  19. package/es/atom/icon/index.js.map +1 -1
  20. package/es/molecule/bullet-point-menu-button/index.d.ts +2 -0
  21. package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  22. package/es/molecule/bullet-point-menu-button/index.js +5 -3
  23. package/es/molecule/bullet-point-menu-button/index.js.map +1 -1
  24. package/es/molecule/bullet-point-menu-button/types.d.ts +3 -0
  25. package/es/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
  26. package/es/molecule/bullet-point-menu-button/types.js +1 -0
  27. package/es/molecule/bullet-point-menu-button/types.js.map +1 -1
  28. package/es/molecule/button-menu-action/index.d.ts +1 -0
  29. package/es/molecule/button-menu-action/index.d.ts.map +1 -1
  30. package/es/molecule/button-menu-action/types.d.ts +1 -0
  31. package/es/molecule/button-menu-action/types.d.ts.map +1 -1
  32. package/es/molecule/cm-popin/index.d.ts.map +1 -1
  33. package/es/molecule/cm-popin/index.js +94 -76
  34. package/es/molecule/cm-popin/index.js.map +1 -1
  35. package/es/molecule/cm-popin/style.css +18 -23
  36. package/es/molecule/cm-popin/types.d.ts +24 -2
  37. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  38. package/es/molecule/cm-popin/types.js +6 -5
  39. package/es/molecule/cm-popin/types.js.map +1 -1
  40. package/es/molecule/draggable-list/index.d.ts +1 -0
  41. package/es/molecule/expandible-actionable-table/index.d.ts +4 -0
  42. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  43. package/es/molecule/expandible-actionable-table/types.d.ts +4 -0
  44. package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  45. package/es/organism/brand-learning-priorities/index.d.ts +1 -0
  46. package/es/organism/header-with-actions/index.d.ts +2 -0
  47. package/es/organism/header-with-actions/index.d.ts.map +1 -1
  48. package/es/organism/header-with-actions/types.d.ts +2 -0
  49. package/es/organism/header-with-actions/types.d.ts.map +1 -1
  50. package/es/organism/list-item/index.d.ts +3 -1
  51. package/es/organism/list-item/index.d.ts.map +1 -1
  52. package/es/organism/list-item/index.js +11 -3
  53. package/es/organism/list-item/index.js.map +1 -1
  54. package/es/organism/list-items/index.d.ts +7 -0
  55. package/es/organism/list-items/index.d.ts.map +1 -1
  56. package/es/organism/list-items/index.js +2 -1
  57. package/es/organism/list-items/index.js.map +1 -1
  58. package/es/organism/wizard-contents/index.d.ts +4 -0
  59. package/es/template/app-player/loading/index.d.ts +22 -1
  60. package/es/template/app-player/player/index.d.ts +44 -2
  61. package/es/template/app-player/player/slides/index.d.ts +22 -1
  62. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  63. package/es/template/app-player/popin-correction/index.d.ts +22 -1
  64. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  65. package/es/template/app-player/popin-end/index.d.ts +22 -1
  66. package/es/template/app-review/index.d.ts +22 -1
  67. package/es/template/app-review/index.d.ts.map +1 -1
  68. package/es/template/app-review/player/prop-types.d.ts +22 -1
  69. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  70. package/es/template/app-review/prop-types.d.ts +22 -1
  71. package/es/template/app-review/prop-types.d.ts.map +1 -1
  72. package/es/template/back-office/brand-update/index.d.ts +35 -1
  73. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  74. package/es/template/back-office/brand-update/index.js +22 -3
  75. package/es/template/back-office/brand-update/index.js.map +1 -1
  76. package/es/template/back-office/brand-update/style.css +1 -0
  77. package/es/template/back-office/brand-update/utils.d.ts +79 -0
  78. package/es/template/back-office/brand-update/utils.d.ts.map +1 -0
  79. package/es/template/back-office/brand-update/utils.js +60 -0
  80. package/es/template/back-office/brand-update/utils.js.map +1 -0
  81. package/es/template/common/dashboard/index.d.ts +44 -2
  82. package/es/template/common/search-page/index.d.ts +22 -1
  83. package/es/template/external-course/index.d.ts +22 -1
  84. package/es/variables/colors.css +5 -0
  85. package/es/variables/colors.d.ts +4 -0
  86. package/es/variables/colors.d.ts.map +1 -1
  87. package/es/variables/colors.js +5 -1
  88. package/es/variables/colors.js.map +1 -1
  89. package/lib/atom/button-link-icon/index.js +4 -4
  90. package/lib/atom/button-link-icon/index.js.map +1 -1
  91. package/lib/atom/button-menu/index.d.ts +1 -0
  92. package/lib/atom/button-menu/index.d.ts.map +1 -1
  93. package/lib/atom/button-menu/index.js +38 -23
  94. package/lib/atom/button-menu/index.js.map +1 -1
  95. package/lib/atom/button-menu/style.css +0 -10
  96. package/lib/atom/button-menu/types.d.ts +7 -7
  97. package/lib/atom/button-menu/types.d.ts.map +1 -1
  98. package/lib/atom/button-menu/types.js +4 -1
  99. package/lib/atom/button-menu/types.js.map +1 -1
  100. package/lib/atom/button-menu/utils.d.ts +23 -0
  101. package/lib/atom/button-menu/utils.d.ts.map +1 -0
  102. package/lib/atom/button-menu/utils.js +28 -0
  103. package/lib/atom/button-menu/utils.js.map +1 -0
  104. package/lib/atom/icon/index.d.ts +16 -0
  105. package/lib/atom/icon/index.d.ts.map +1 -1
  106. package/lib/atom/icon/index.js +4 -3
  107. package/lib/atom/icon/index.js.map +1 -1
  108. package/lib/molecule/bullet-point-menu-button/index.d.ts +2 -0
  109. package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  110. package/lib/molecule/bullet-point-menu-button/index.js +5 -3
  111. package/lib/molecule/bullet-point-menu-button/index.js.map +1 -1
  112. package/lib/molecule/bullet-point-menu-button/types.d.ts +3 -0
  113. package/lib/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
  114. package/lib/molecule/bullet-point-menu-button/types.js +1 -0
  115. package/lib/molecule/bullet-point-menu-button/types.js.map +1 -1
  116. package/lib/molecule/button-menu-action/index.d.ts +1 -0
  117. package/lib/molecule/button-menu-action/index.d.ts.map +1 -1
  118. package/lib/molecule/button-menu-action/types.d.ts +1 -0
  119. package/lib/molecule/button-menu-action/types.d.ts.map +1 -1
  120. package/lib/molecule/cm-popin/index.d.ts.map +1 -1
  121. package/lib/molecule/cm-popin/index.js +92 -75
  122. package/lib/molecule/cm-popin/index.js.map +1 -1
  123. package/lib/molecule/cm-popin/style.css +18 -23
  124. package/lib/molecule/cm-popin/types.d.ts +24 -2
  125. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  126. package/lib/molecule/cm-popin/types.js +2 -1
  127. package/lib/molecule/cm-popin/types.js.map +1 -1
  128. package/lib/molecule/draggable-list/index.d.ts +1 -0
  129. package/lib/molecule/expandible-actionable-table/index.d.ts +4 -0
  130. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  131. package/lib/molecule/expandible-actionable-table/types.d.ts +4 -0
  132. package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  133. package/lib/organism/brand-learning-priorities/index.d.ts +1 -0
  134. package/lib/organism/header-with-actions/index.d.ts +2 -0
  135. package/lib/organism/header-with-actions/index.d.ts.map +1 -1
  136. package/lib/organism/header-with-actions/types.d.ts +2 -0
  137. package/lib/organism/header-with-actions/types.d.ts.map +1 -1
  138. package/lib/organism/list-item/index.d.ts +3 -1
  139. package/lib/organism/list-item/index.d.ts.map +1 -1
  140. package/lib/organism/list-item/index.js +11 -3
  141. package/lib/organism/list-item/index.js.map +1 -1
  142. package/lib/organism/list-items/index.d.ts +7 -0
  143. package/lib/organism/list-items/index.d.ts.map +1 -1
  144. package/lib/organism/list-items/index.js +2 -1
  145. package/lib/organism/list-items/index.js.map +1 -1
  146. package/lib/organism/wizard-contents/index.d.ts +4 -0
  147. package/lib/template/app-player/loading/index.d.ts +22 -1
  148. package/lib/template/app-player/player/index.d.ts +44 -2
  149. package/lib/template/app-player/player/slides/index.d.ts +22 -1
  150. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  151. package/lib/template/app-player/popin-correction/index.d.ts +22 -1
  152. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  153. package/lib/template/app-player/popin-end/index.d.ts +22 -1
  154. package/lib/template/app-review/index.d.ts +22 -1
  155. package/lib/template/app-review/index.d.ts.map +1 -1
  156. package/lib/template/app-review/player/prop-types.d.ts +22 -1
  157. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  158. package/lib/template/app-review/prop-types.d.ts +22 -1
  159. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  160. package/lib/template/back-office/brand-update/index.d.ts +35 -1
  161. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  162. package/lib/template/back-office/brand-update/index.js +22 -3
  163. package/lib/template/back-office/brand-update/index.js.map +1 -1
  164. package/lib/template/back-office/brand-update/style.css +1 -0
  165. package/lib/template/back-office/brand-update/utils.d.ts +79 -0
  166. package/lib/template/back-office/brand-update/utils.d.ts.map +1 -0
  167. package/lib/template/back-office/brand-update/utils.js +64 -0
  168. package/lib/template/back-office/brand-update/utils.js.map +1 -0
  169. package/lib/template/common/dashboard/index.d.ts +44 -2
  170. package/lib/template/common/search-page/index.d.ts +22 -1
  171. package/lib/template/external-course/index.d.ts +22 -1
  172. package/lib/variables/colors.css +5 -0
  173. package/lib/variables/colors.d.ts +4 -0
  174. package/lib/variables/colors.d.ts.map +1 -1
  175. package/lib/variables/colors.js +5 -1
  176. package/lib/variables/colors.js.map +1 -1
  177. package/package.json +2 -2
@@ -610,7 +610,21 @@ declare const propTypes: {
610
610
  }>;
611
611
  }>>;
612
612
  onClose: PropTypes.Requireable<(...args: any[]) => any>;
613
- icon: PropTypes.Requireable<string>;
613
+ icon: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
614
+ iconName: PropTypes.Validator<string>;
615
+ iconColor: PropTypes.Requireable<string>;
616
+ backgroundColor: PropTypes.Requireable<string>;
617
+ gradientBackground: PropTypes.Requireable<boolean>;
618
+ borderRadius: PropTypes.Requireable<string>;
619
+ preset: PropTypes.Requireable<string>;
620
+ size: PropTypes.Requireable<PropTypes.InferProps<{
621
+ faSize: PropTypes.Requireable<number>;
622
+ wrapperSize: PropTypes.Requireable<number>;
623
+ }>>;
624
+ customStyle: PropTypes.Requireable<{
625
+ [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
626
+ }>;
627
+ }> | null | undefined>>;
614
628
  backgroundImageUrl: PropTypes.Requireable<string>;
615
629
  descriptionText: PropTypes.Requireable<string>;
616
630
  cookieTitle: PropTypes.Requireable<string>;
@@ -702,6 +716,7 @@ declare const propTypes: {
702
716
  items: PropTypes.Requireable<(PropTypes.InferProps<{
703
717
  title: PropTypes.Validator<string>;
704
718
  subtitle: PropTypes.Requireable<string>;
719
+ 'data-name': PropTypes.Requireable<string>;
705
720
  provider: PropTypes.Requireable<PropTypes.InferProps<{
706
721
  label: PropTypes.Requireable<string>;
707
722
  type: PropTypes.Requireable<string>;
@@ -877,6 +892,7 @@ declare const propTypes: {
877
892
  type: PropTypes.Requireable<string>;
878
893
  buttonLinkType: PropTypes.Requireable<string>;
879
894
  icon: PropTypes.Requireable<PropTypes.InferProps<{
895
+ theme: PropTypes.Requireable<string>;
880
896
  position: PropTypes.Requireable<string>;
881
897
  type: PropTypes.Requireable<string>;
882
898
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -920,6 +936,7 @@ declare const propTypes: {
920
936
  isRowExpandible: PropTypes.Requireable<boolean>;
921
937
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
922
938
  type: PropTypes.Requireable<string>;
939
+ 'data-name': PropTypes.Requireable<string>;
923
940
  disabled: PropTypes.Requireable<boolean>;
924
941
  buttonAriaLabel: PropTypes.Requireable<string>;
925
942
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -931,6 +948,7 @@ declare const propTypes: {
931
948
  type: PropTypes.Requireable<string>;
932
949
  buttonLinkType: PropTypes.Requireable<string>;
933
950
  icon: PropTypes.Requireable<PropTypes.InferProps<{
951
+ theme: PropTypes.Requireable<string>;
934
952
  position: PropTypes.Requireable<string>;
935
953
  type: PropTypes.Requireable<string>;
936
954
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -995,6 +1013,7 @@ declare const propTypes: {
995
1013
  }>;
996
1014
  }> | PropTypes.InferProps<{
997
1015
  componentType: PropTypes.Requireable<string>;
1016
+ 'data-name': PropTypes.Requireable<string>;
998
1017
  disabled: PropTypes.Requireable<boolean>;
999
1018
  buttonAriaLabel: PropTypes.Requireable<string>;
1000
1019
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -1006,6 +1025,7 @@ declare const propTypes: {
1006
1025
  type: PropTypes.Requireable<string>;
1007
1026
  buttonLinkType: PropTypes.Requireable<string>;
1008
1027
  icon: PropTypes.Requireable<PropTypes.InferProps<{
1028
+ theme: PropTypes.Requireable<string>;
1009
1029
  position: PropTypes.Requireable<string>;
1010
1030
  type: PropTypes.Requireable<string>;
1011
1031
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1197,6 +1217,7 @@ declare const propTypes: {
1197
1217
  type: PropTypes.Requireable<string>;
1198
1218
  buttonLinkType: PropTypes.Requireable<string>;
1199
1219
  icon: PropTypes.Requireable<PropTypes.InferProps<{
1220
+ theme: PropTypes.Requireable<string>;
1200
1221
  position: PropTypes.Requireable<string>;
1201
1222
  type: PropTypes.Requireable<string>;
1202
1223
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -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,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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"}
@@ -614,7 +614,21 @@ declare const propTypes: {
614
614
  }>;
615
615
  }>>;
616
616
  onClose: PropTypes.Requireable<(...args: any[]) => any>;
617
- icon: PropTypes.Requireable<string>;
617
+ icon: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
618
+ iconName: PropTypes.Validator<string>;
619
+ iconColor: PropTypes.Requireable<string>;
620
+ backgroundColor: PropTypes.Requireable<string>;
621
+ gradientBackground: PropTypes.Requireable<boolean>;
622
+ borderRadius: PropTypes.Requireable<string>;
623
+ preset: PropTypes.Requireable<string>;
624
+ size: PropTypes.Requireable<PropTypes.InferProps<{
625
+ faSize: PropTypes.Requireable<number>;
626
+ wrapperSize: PropTypes.Requireable<number>;
627
+ }>>;
628
+ customStyle: PropTypes.Requireable<{
629
+ [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
630
+ }>;
631
+ }> | null | undefined>>;
618
632
  backgroundImageUrl: PropTypes.Requireable<string>;
619
633
  descriptionText: PropTypes.Requireable<string>;
620
634
  cookieTitle: PropTypes.Requireable<string>;
@@ -706,6 +720,7 @@ declare const propTypes: {
706
720
  items: PropTypes.Requireable<(PropTypes.InferProps<{
707
721
  title: PropTypes.Validator<string>;
708
722
  subtitle: PropTypes.Requireable<string>;
723
+ 'data-name': PropTypes.Requireable<string>;
709
724
  provider: PropTypes.Requireable<PropTypes.InferProps<{
710
725
  label: PropTypes.Requireable<string>;
711
726
  type: PropTypes.Requireable<string>;
@@ -881,6 +896,7 @@ declare const propTypes: {
881
896
  type: PropTypes.Requireable<string>;
882
897
  buttonLinkType: PropTypes.Requireable<string>;
883
898
  icon: PropTypes.Requireable<PropTypes.InferProps<{
899
+ theme: PropTypes.Requireable<string>;
884
900
  position: PropTypes.Requireable<string>;
885
901
  type: PropTypes.Requireable<string>;
886
902
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -924,6 +940,7 @@ declare const propTypes: {
924
940
  isRowExpandible: PropTypes.Requireable<boolean>;
925
941
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
926
942
  type: PropTypes.Requireable<string>;
943
+ 'data-name': PropTypes.Requireable<string>;
927
944
  disabled: PropTypes.Requireable<boolean>;
928
945
  buttonAriaLabel: PropTypes.Requireable<string>;
929
946
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -935,6 +952,7 @@ declare const propTypes: {
935
952
  type: PropTypes.Requireable<string>;
936
953
  buttonLinkType: PropTypes.Requireable<string>;
937
954
  icon: PropTypes.Requireable<PropTypes.InferProps<{
955
+ theme: PropTypes.Requireable<string>;
938
956
  position: PropTypes.Requireable<string>;
939
957
  type: PropTypes.Requireable<string>;
940
958
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -999,6 +1017,7 @@ declare const propTypes: {
999
1017
  }>;
1000
1018
  }> | PropTypes.InferProps<{
1001
1019
  componentType: PropTypes.Requireable<string>;
1020
+ 'data-name': PropTypes.Requireable<string>;
1002
1021
  disabled: PropTypes.Requireable<boolean>;
1003
1022
  buttonAriaLabel: PropTypes.Requireable<string>;
1004
1023
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -1010,6 +1029,7 @@ declare const propTypes: {
1010
1029
  type: PropTypes.Requireable<string>;
1011
1030
  buttonLinkType: PropTypes.Requireable<string>;
1012
1031
  icon: PropTypes.Requireable<PropTypes.InferProps<{
1032
+ theme: PropTypes.Requireable<string>;
1013
1033
  position: PropTypes.Requireable<string>;
1014
1034
  type: PropTypes.Requireable<string>;
1015
1035
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1201,6 +1221,7 @@ declare const propTypes: {
1201
1221
  type: PropTypes.Requireable<string>;
1202
1222
  buttonLinkType: PropTypes.Requireable<string>;
1203
1223
  icon: PropTypes.Requireable<PropTypes.InferProps<{
1224
+ theme: PropTypes.Requireable<string>;
1204
1225
  position: PropTypes.Requireable<string>;
1205
1226
  type: PropTypes.Requireable<string>;
1206
1227
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -436,6 +436,7 @@ declare namespace BrandUpdate {
436
436
  items: PropTypes.Requireable<(PropTypes.InferProps<{
437
437
  title: PropTypes.Validator<string>;
438
438
  subtitle: PropTypes.Requireable<string>;
439
+ 'data-name': PropTypes.Requireable<string>;
439
440
  provider: PropTypes.Requireable<PropTypes.InferProps<{
440
441
  label: PropTypes.Requireable<string>;
441
442
  type: PropTypes.Requireable<string>;
@@ -611,6 +612,7 @@ declare namespace BrandUpdate {
611
612
  type: PropTypes.Requireable<string>;
612
613
  buttonLinkType: PropTypes.Requireable<string>;
613
614
  icon: PropTypes.Requireable<PropTypes.InferProps<{
615
+ theme: PropTypes.Requireable<string>;
614
616
  position: PropTypes.Requireable<string>;
615
617
  type: PropTypes.Requireable<string>;
616
618
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -654,6 +656,7 @@ declare namespace BrandUpdate {
654
656
  isRowExpandible: PropTypes.Requireable<boolean>;
655
657
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
656
658
  type: PropTypes.Requireable<string>;
659
+ 'data-name': PropTypes.Requireable<string>;
657
660
  disabled: PropTypes.Requireable<boolean>;
658
661
  buttonAriaLabel: PropTypes.Requireable<string>;
659
662
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -665,6 +668,7 @@ declare namespace BrandUpdate {
665
668
  type: PropTypes.Requireable<string>;
666
669
  buttonLinkType: PropTypes.Requireable<string>;
667
670
  icon: PropTypes.Requireable<PropTypes.InferProps<{
671
+ theme: PropTypes.Requireable<string>;
668
672
  position: PropTypes.Requireable<string>;
669
673
  type: PropTypes.Requireable<string>;
670
674
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -729,6 +733,7 @@ declare namespace BrandUpdate {
729
733
  }>;
730
734
  }> | PropTypes.InferProps<{
731
735
  componentType: PropTypes.Requireable<string>;
736
+ 'data-name': PropTypes.Requireable<string>;
732
737
  disabled: PropTypes.Requireable<boolean>;
733
738
  buttonAriaLabel: PropTypes.Requireable<string>;
734
739
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -740,6 +745,7 @@ declare namespace BrandUpdate {
740
745
  type: PropTypes.Requireable<string>;
741
746
  buttonLinkType: PropTypes.Requireable<string>;
742
747
  icon: PropTypes.Requireable<PropTypes.InferProps<{
748
+ theme: PropTypes.Requireable<string>;
743
749
  position: PropTypes.Requireable<string>;
744
750
  type: PropTypes.Requireable<string>;
745
751
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -931,6 +937,7 @@ declare namespace BrandUpdate {
931
937
  type: PropTypes.Requireable<string>;
932
938
  buttonLinkType: PropTypes.Requireable<string>;
933
939
  icon: PropTypes.Requireable<PropTypes.InferProps<{
940
+ theme: PropTypes.Requireable<string>;
934
941
  position: PropTypes.Requireable<string>;
935
942
  type: PropTypes.Requireable<string>;
936
943
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1003,6 +1010,7 @@ declare namespace BrandUpdate {
1003
1010
  isRowExpandible: PropTypes.Requireable<boolean>;
1004
1011
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
1005
1012
  type: PropTypes.Requireable<string>;
1013
+ 'data-name': PropTypes.Requireable<string>;
1006
1014
  disabled: PropTypes.Requireable<boolean>;
1007
1015
  buttonAriaLabel: PropTypes.Requireable<string>;
1008
1016
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -1014,6 +1022,7 @@ declare namespace BrandUpdate {
1014
1022
  type: PropTypes.Requireable<string>;
1015
1023
  buttonLinkType: PropTypes.Requireable<string>;
1016
1024
  icon: PropTypes.Requireable<PropTypes.InferProps<{
1025
+ theme: PropTypes.Requireable<string>;
1017
1026
  position: PropTypes.Requireable<string>;
1018
1027
  type: PropTypes.Requireable<string>;
1019
1028
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1078,6 +1087,7 @@ declare namespace BrandUpdate {
1078
1087
  }>;
1079
1088
  }> | PropTypes.InferProps<{
1080
1089
  componentType: PropTypes.Requireable<string>;
1090
+ 'data-name': PropTypes.Requireable<string>;
1081
1091
  disabled: PropTypes.Requireable<boolean>;
1082
1092
  buttonAriaLabel: PropTypes.Requireable<string>;
1083
1093
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -1089,6 +1099,7 @@ declare namespace BrandUpdate {
1089
1099
  type: PropTypes.Requireable<string>;
1090
1100
  buttonLinkType: PropTypes.Requireable<string>;
1091
1101
  icon: PropTypes.Requireable<PropTypes.InferProps<{
1102
+ theme: PropTypes.Requireable<string>;
1092
1103
  position: PropTypes.Requireable<string>;
1093
1104
  type: PropTypes.Requireable<string>;
1094
1105
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1327,6 +1338,7 @@ declare namespace BrandUpdate {
1327
1338
  }> | PropTypes.InferProps<{
1328
1339
  title: PropTypes.Validator<string>;
1329
1340
  subtitle: PropTypes.Requireable<string>;
1341
+ 'data-name': PropTypes.Requireable<string>;
1330
1342
  provider: PropTypes.Requireable<PropTypes.InferProps<{
1331
1343
  label: PropTypes.Requireable<string>;
1332
1344
  type: PropTypes.Requireable<string>;
@@ -1444,6 +1456,7 @@ declare namespace BrandUpdate {
1444
1456
  onClose: PropTypes.Requireable<(...args: any[]) => any>;
1445
1457
  }>>;
1446
1458
  export const popin: PropTypes.Requireable<PropTypes.InferProps<{
1459
+ theme: PropTypes.Requireable<string>;
1447
1460
  content: PropTypes.Requireable<string>;
1448
1461
  mode: PropTypes.Requireable<string>;
1449
1462
  header: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1541,7 +1554,21 @@ declare namespace BrandUpdate {
1541
1554
  }>;
1542
1555
  }>>;
1543
1556
  onClose: PropTypes.Requireable<(...args: any[]) => any>;
1544
- icon: PropTypes.Requireable<string>;
1557
+ icon: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
1558
+ iconName: PropTypes.Validator<string>;
1559
+ iconColor: PropTypes.Requireable<string>;
1560
+ backgroundColor: PropTypes.Requireable<string>;
1561
+ gradientBackground: PropTypes.Requireable<boolean>;
1562
+ borderRadius: PropTypes.Requireable<string>;
1563
+ preset: PropTypes.Requireable<string>;
1564
+ size: PropTypes.Requireable<PropTypes.InferProps<{
1565
+ faSize: PropTypes.Requireable<number>;
1566
+ wrapperSize: PropTypes.Requireable<number>;
1567
+ }>>;
1568
+ customStyle: PropTypes.Requireable<{
1569
+ [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
1570
+ }>;
1571
+ }> | null | undefined>>;
1545
1572
  backgroundImageUrl: PropTypes.Requireable<string>;
1546
1573
  descriptionText: PropTypes.Requireable<string>;
1547
1574
  cookieTitle: PropTypes.Requireable<string>;
@@ -1633,6 +1660,7 @@ declare namespace BrandUpdate {
1633
1660
  items: PropTypes.Requireable<(PropTypes.InferProps<{
1634
1661
  title: PropTypes.Validator<string>;
1635
1662
  subtitle: PropTypes.Requireable<string>;
1663
+ 'data-name': PropTypes.Requireable<string>;
1636
1664
  provider: PropTypes.Requireable<PropTypes.InferProps<{
1637
1665
  label: PropTypes.Requireable<string>;
1638
1666
  type: PropTypes.Requireable<string>;
@@ -1808,6 +1836,7 @@ declare namespace BrandUpdate {
1808
1836
  type: PropTypes.Requireable<string>;
1809
1837
  buttonLinkType: PropTypes.Requireable<string>;
1810
1838
  icon: PropTypes.Requireable<PropTypes.InferProps<{
1839
+ theme: PropTypes.Requireable<string>;
1811
1840
  position: PropTypes.Requireable<string>;
1812
1841
  type: PropTypes.Requireable<string>;
1813
1842
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1851,6 +1880,7 @@ declare namespace BrandUpdate {
1851
1880
  isRowExpandible: PropTypes.Requireable<boolean>;
1852
1881
  lastField: PropTypes.Requireable<NonNullable<string | PropTypes.InferProps<{
1853
1882
  type: PropTypes.Requireable<string>;
1883
+ 'data-name': PropTypes.Requireable<string>;
1854
1884
  disabled: PropTypes.Requireable<boolean>;
1855
1885
  buttonAriaLabel: PropTypes.Requireable<string>;
1856
1886
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -1862,6 +1892,7 @@ declare namespace BrandUpdate {
1862
1892
  type: PropTypes.Requireable<string>;
1863
1893
  buttonLinkType: PropTypes.Requireable<string>;
1864
1894
  icon: PropTypes.Requireable<PropTypes.InferProps<{
1895
+ theme: PropTypes.Requireable<string>;
1865
1896
  position: PropTypes.Requireable<string>;
1866
1897
  type: PropTypes.Requireable<string>;
1867
1898
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1926,6 +1957,7 @@ declare namespace BrandUpdate {
1926
1957
  }>;
1927
1958
  }> | PropTypes.InferProps<{
1928
1959
  componentType: PropTypes.Requireable<string>;
1960
+ 'data-name': PropTypes.Requireable<string>;
1929
1961
  disabled: PropTypes.Requireable<boolean>;
1930
1962
  buttonAriaLabel: PropTypes.Requireable<string>;
1931
1963
  menuAriaLabel: PropTypes.Requireable<string>;
@@ -1937,6 +1969,7 @@ declare namespace BrandUpdate {
1937
1969
  type: PropTypes.Requireable<string>;
1938
1970
  buttonLinkType: PropTypes.Requireable<string>;
1939
1971
  icon: PropTypes.Requireable<PropTypes.InferProps<{
1972
+ theme: PropTypes.Requireable<string>;
1940
1973
  position: PropTypes.Requireable<string>;
1941
1974
  type: PropTypes.Requireable<string>;
1942
1975
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -2128,6 +2161,7 @@ declare namespace BrandUpdate {
2128
2161
  type: PropTypes.Requireable<string>;
2129
2162
  buttonLinkType: PropTypes.Requireable<string>;
2130
2163
  icon: PropTypes.Requireable<PropTypes.InferProps<{
2164
+ theme: PropTypes.Requireable<string>;
2131
2165
  position: PropTypes.Requireable<string>;
2132
2166
  type: PropTypes.Requireable<string>;
2133
2167
  faIcon: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/index.js"],"names":[],"mappings":";AAiNA,sDAgDC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/index.js"],"names":[],"mappings":";AA6NA,sDAgDC"}
@@ -27,6 +27,7 @@ import ExpandibleActionableTable from '../../../molecule/expandible-actionable-t
27
27
  import BulkInfos from '../../../molecule/bulk-infos';
28
28
  import Title from '../../../atom/title';
29
29
  import style from './style.css';
30
+ import { POPIN_THEMES } from './utils';
30
31
  const getStyle = isSelected => isSelected ? style.selectedElement : style.unselectedElement;
31
32
  const subTabsView = (_subTabs = []) => map.convert({
32
33
  cap: false
@@ -98,10 +99,27 @@ const buildHeader = header => {
98
99
  className: style.header
99
100
  }, /*#__PURE__*/React.createElement(Header, header));
100
101
  };
102
+ const buildPopinCustomPropsByTheme = theme => POPIN_THEMES[theme] ?? {};
101
103
  const buildPopin = popin => {
102
- return popin ? /*#__PURE__*/React.createElement("div", {
104
+ if (!popin) return;
105
+ const {
106
+ theme,
107
+ icon: popinIcon,
108
+ secondButton: popinSecondButton
109
+ } = popin;
110
+ const {
111
+ icon: themeIcon,
112
+ actionButton: themeActionButton
113
+ } = buildPopinCustomPropsByTheme(theme);
114
+ return /*#__PURE__*/React.createElement("div", {
103
115
  className: style.popin
104
- }, /*#__PURE__*/React.createElement(CmPopin, popin)) : null;
116
+ }, /*#__PURE__*/React.createElement(CmPopin, _extends({}, popin, {
117
+ icon: popinIcon || themeIcon,
118
+ secondButton: {
119
+ ...popinSecondButton,
120
+ ...themeActionButton
121
+ }
122
+ })));
105
123
  };
106
124
  const buildDocumentation = documentation => {
107
125
  if (!documentation) return null;
@@ -306,7 +324,8 @@ BrandUpdate.propTypes = process.env.NODE_ENV !== "production" ? {
306
324
  onClose: PropTypes.func
307
325
  }),
308
326
  popin: PropTypes.shape({
309
- ...CmPopin.propTypes
327
+ ...CmPopin.propTypes,
328
+ theme: PropTypes.oneOf(['published', 'archived', 'deleted'])
310
329
  }),
311
330
  details: PropTypes.shape({
312
331
  ...BrandTable.propTypes,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","map","pipe","get","isEmpty","find","classNames","BrandTabs","IconLinkItem","LinkItem","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BrandLearningPriorities","Banner","Header","Loader","Accordion","CmPopin","ButtonLinkIcon","ExpandibleActionableTable","BulkInfos","Title","style","getStyle","isSelected","selectedElement","unselectedElement","subTabsView","_subTabs","convert","cap","subTab","_index","createElement","key","title","type","_extends","styles","selected","uppercase","target","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","notificationsList","notification","temporary","permanentNotification","permanentNotifications","buildHeader","header","buildPopin","popin","buildDocumentation","documentation","show","onClose","content","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","icon","buildTabs","selectedTab","e","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","arrayOf","shape","string","isRequired","bool","oneOfType","oneOf","func"],"sources":["../../../../src/template/back-office/brand-update/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport pipe from 'lodash/fp/pipe';\nimport get from 'lodash/fp/get';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\nimport classNames from 'classnames';\nimport BrandTabs from '../../../molecule/brand-tabs';\nimport {IconLinkItem, LinkItem} from '../../../organism/sidebar';\nimport BrandForm from '../../../organism/brand-form';\nimport BrandTable from '../../../organism/brand-table';\nimport BrandUpload from '../../../organism/brand-upload';\nimport BrandAnalytics from '../../../organism/brand-analytics';\nimport BrandDashboard from '../../../organism/brand-dashboard';\nimport WizardContents from '../../../organism/wizard-contents';\nimport ListItems from '../../../organism/list-items';\nimport BrandLearningPriorities from '../../../organism/brand-learning-priorities';\nimport Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIcon from '../../../atom/button-link-icon';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\nimport Title from '../../../atom/title';\nimport style from './style.css';\n\nconst getStyle = isSelected => (isSelected ? style.selectedElement : style.unselectedElement);\n\nconst subTabsView = (_subTabs = []) =>\n map.convert({cap: false})((subTab, _index) => (\n <div key={subTab.title}>\n {subTab.type === 'iconLink' ? (\n <IconLinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n target={'_blank'}\n />\n ) : (\n <LinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n setChildrenAsHtml={false}\n />\n )}\n </div>\n ))(_subTabs);\n\n// TODO: this fonction should be replaced by a molecule to avoid this file to be unreadable\nconst buildLeftNavigation = (logo, items, onItemClick) => {\n const formattedTabs = items.map(({key, title, href, selected, type = 'simpleTab'}, index) => ({\n title,\n selected,\n type,\n href,\n index,\n children: [],\n iconType: key || 'arrow'\n }));\n\n const formattedTabsViews = map(tab => (\n <div key={tab.title} className={style.subTabsView}>\n {subTabsView(tab.tabs)}\n </div>\n ))(items);\n\n return (\n <div className={style.navigation}>\n <div className={style.logo}>\n <a href=\"/\">\n <img src={logo} />\n </a>\n </div>\n <Accordion tabProps={formattedTabs} theme={'setup'} onClick={onItemClick}>\n {formattedTabsViews}\n </Accordion>\n </div>\n );\n};\n\nconst buildNotifications = notifications => {\n if (isEmpty(notifications)) {\n return null;\n }\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div className={!notification.temporary ? style.permanentNotification : null} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return (\n <div className={!find({temporary: true}, notifications) ? style.permanentNotifications : null}>\n {notificationsList}\n </div>\n );\n};\n\nconst buildHeader = header => {\n return (\n <div className={style.header}>\n <Header {...header} />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n return popin ? (\n <div className={style.popin}>\n <CmPopin {...popin} />\n </div>\n ) : null;\n};\n\nconst buildDocumentation = documentation => {\n if (!documentation) return null;\n const {show = false, onClose, content = ''} = documentation;\n return (\n <div className={classNames(style.documentation, show && style.open)}>\n <div\n className={style.documentationContent}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {onClose ? (\n <ButtonLinkIcon\n className={style.closeButton}\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\n </div>\n );\n};\n\nconst buildTabs = items => {\n const selectedTab = pipe(\n find(e => e.selected),\n get('tabs'),\n find(e => e.selected)\n )(items);\n\n const showTabs = selectedTab ? find(e => e.selected, selectedTab.subTabs) : undefined;\n if (!showTabs) return null;\n return (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n );\n};\n\nconst buildContentView = content => {\n if (!content) {\n return (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n );\n }\n\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'list':\n return <BrandTable {...content} />;\n case 'upload':\n return <BrandUpload {...content} />;\n case 'analytics-dashboards':\n return <BrandAnalytics {...content} />;\n case 'list-content':\n case 'expandible-actionable-table':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n case 'expandible-table':\n return <WizardContents {...content} />;\n case 'bulk-empty-dashboard':\n return <BulkInfos {...content} />;\n case 'table-pending':\n return <ExpandibleActionableTable {...content} />;\n case 'learning-priorities':\n return <BrandLearningPriorities {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst buildTitle = title => {\n if (isEmpty(title)) return;\n return (\n <div className={style.title}>\n <Title {...title} />\n </div>\n );\n};\n\nconst BrandUpdate = props => {\n const {\n notifications,\n header,\n items,\n content,\n details,\n popin,\n onItemClick,\n documentation,\n contentFixHeight,\n title\n } = props;\n const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';\n\n const leftNavigation = buildLeftNavigation(logo, items, onItemClick);\n const notificationsView = buildNotifications(notifications);\n const documentationView = buildDocumentation(documentation);\n const headerView = buildHeader(header, notifications);\n const tabsView = buildTabs(items);\n const contentView = buildContentView(content);\n const detailsView = buildDetailsView(details);\n const popinView = buildPopin(popin);\n const titleView = buildTitle(title);\n\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight\n ]);\n\n return (\n <div className={style.container}>\n <div className={style.left}>{leftNavigation}</div>\n <div className={style.contentWrapper}>\n <div className={style.headerSticky}>{headerView}</div>\n <div className={contentStyle}>\n {notificationsView}\n {titleView}\n {tabsView}\n {contentView}\n {detailsView}\n {documentationView}\n </div>\n </div>\n {popinView}\n </div>\n );\n};\n\nBrandUpdate.defaultProps = {\n notifications: []\n};\n\nBrandUpdate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n ...Banner.propTypes\n })\n ),\n header: PropTypes.shape({...Header.propTypes}),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string,\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n subTabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string\n })\n )\n })\n )\n })\n ).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n PropTypes.shape({\n ...BrandUpload.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['upload'])\n }),\n PropTypes.shape({\n ...BrandAnalytics.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['analytics-dashboards'])\n }),\n PropTypes.shape({\n ...BrandDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['home'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['wizard'])\n }),\n PropTypes.shape({\n ...ListItems.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list-content', 'expandible-actionable-table'])\n }),\n PropTypes.shape({\n ...BulkInfos.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['bulk-empty-dashboard'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['table-pending'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n content: PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n ...WizardContents.propTypes.content.propTypes\n }),\n key: PropTypes.string,\n type: PropTypes.oneOf(['expandible-table'])\n }),\n PropTypes.shape({\n ...BrandLearningPriorities.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['learning-priorities'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.shape({...CmPopin.propTypes}),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func,\n contentFixHeight: PropTypes.bool,\n title: PropTypes.shape(Title.propTypes)\n};\n\nexport default BrandUpdate;\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,OAAO,MAAM,mBAAmB;AACvC,OAAOC,I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IACrBrF,IAAI,EAAEzC,SAAS,CAACkI,KAAK,CAAC,CAAC,MAAM,CAAC;EAChC,CAAC,CAAC;EACF/E,WAAW,EAAEnD,SAAS,CAACmI,IAAI;EAC3B5B,gBAAgB,EAAEvG,SAAS,CAACgI,IAAI;EAChCxF,KAAK,EAAExC,SAAS,CAAC6H,KAAK,CAACnG,KAAK,CAAC8F,SAAS;AACxC,CAAC;AAED,eAAenB,WAAW","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["React","PropTypes","map","pipe","get","isEmpty","find","classNames","BrandTabs","IconLinkItem","LinkItem","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BrandLearningPriorities","Banner","Header","Loader","Accordion","CmPopin","ButtonLinkIcon","ExpandibleActionableTable","BulkInfos","Title","style","POPIN_THEMES","getStyle","isSelected","selectedElement","unselectedElement","subTabsView","_subTabs","convert","cap","subTab","_index","createElement","key","title","type","_extends","styles","selected","uppercase","target","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","notificationsList","notification","temporary","permanentNotification","permanentNotifications","buildHeader","header","buildPopinCustomPropsByTheme","buildPopin","popin","icon","popinIcon","secondButton","popinSecondButton","themeIcon","actionButton","themeActionButton","buildDocumentation","documentation","show","onClose","content","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","buildTabs","selectedTab","e","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","arrayOf","shape","string","isRequired","bool","oneOfType","oneOf","func"],"sources":["../../../../src/template/back-office/brand-update/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport pipe from 'lodash/fp/pipe';\nimport get from 'lodash/fp/get';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\nimport classNames from 'classnames';\nimport BrandTabs from '../../../molecule/brand-tabs';\nimport {IconLinkItem, LinkItem} from '../../../organism/sidebar';\nimport BrandForm from '../../../organism/brand-form';\nimport BrandTable from '../../../organism/brand-table';\nimport BrandUpload from '../../../organism/brand-upload';\nimport BrandAnalytics from '../../../organism/brand-analytics';\nimport BrandDashboard from '../../../organism/brand-dashboard';\nimport WizardContents from '../../../organism/wizard-contents';\nimport ListItems from '../../../organism/list-items';\nimport BrandLearningPriorities from '../../../organism/brand-learning-priorities';\nimport Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIcon from '../../../atom/button-link-icon';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\nimport Title from '../../../atom/title';\nimport style from './style.css';\nimport {POPIN_THEMES} from './utils';\n\nconst getStyle = isSelected => (isSelected ? style.selectedElement : style.unselectedElement);\n\nconst subTabsView = (_subTabs = []) =>\n map.convert({cap: false})((subTab, _index) => (\n <div key={subTab.title}>\n {subTab.type === 'iconLink' ? (\n <IconLinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n target={'_blank'}\n />\n ) : (\n <LinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n setChildrenAsHtml={false}\n />\n )}\n </div>\n ))(_subTabs);\n\n// TODO: this fonction should be replaced by a molecule to avoid this file to be unreadable\nconst buildLeftNavigation = (logo, items, onItemClick) => {\n const formattedTabs = items.map(({key, title, href, selected, type = 'simpleTab'}, index) => ({\n title,\n selected,\n type,\n href,\n index,\n children: [],\n iconType: key || 'arrow'\n }));\n\n const formattedTabsViews = map(tab => (\n <div key={tab.title} className={style.subTabsView}>\n {subTabsView(tab.tabs)}\n </div>\n ))(items);\n\n return (\n <div className={style.navigation}>\n <div className={style.logo}>\n <a href=\"/\">\n <img src={logo} />\n </a>\n </div>\n <Accordion tabProps={formattedTabs} theme={'setup'} onClick={onItemClick}>\n {formattedTabsViews}\n </Accordion>\n </div>\n );\n};\n\nconst buildNotifications = notifications => {\n if (isEmpty(notifications)) {\n return null;\n }\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div className={!notification.temporary ? style.permanentNotification : null} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return (\n <div className={!find({temporary: true}, notifications) ? style.permanentNotifications : null}>\n {notificationsList}\n </div>\n );\n};\n\nconst buildHeader = header => {\n return (\n <div className={style.header}>\n <Header {...header} />\n </div>\n );\n};\n\nconst buildPopinCustomPropsByTheme = theme => POPIN_THEMES[theme] ?? {};\n\nconst buildPopin = popin => {\n if (!popin) return;\n\n const {theme, icon: popinIcon, secondButton: popinSecondButton} = popin;\n const {icon: themeIcon, actionButton: themeActionButton} = buildPopinCustomPropsByTheme(theme);\n\n return (\n <div className={style.popin}>\n <CmPopin\n {...popin}\n icon={popinIcon || themeIcon}\n secondButton={{...popinSecondButton, ...themeActionButton}}\n />\n </div>\n );\n};\n\nconst buildDocumentation = documentation => {\n if (!documentation) return null;\n const {show = false, onClose, content = ''} = documentation;\n return (\n <div className={classNames(style.documentation, show && style.open)}>\n <div\n className={style.documentationContent}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {onClose ? (\n <ButtonLinkIcon\n className={style.closeButton}\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\n </div>\n );\n};\n\nconst buildTabs = items => {\n const selectedTab = pipe(\n find(e => e.selected),\n get('tabs'),\n find(e => e.selected)\n )(items);\n\n const showTabs = selectedTab ? find(e => e.selected, selectedTab.subTabs) : undefined;\n if (!showTabs) return null;\n return (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n );\n};\n\nconst buildContentView = content => {\n if (!content) {\n return (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n );\n }\n\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'list':\n return <BrandTable {...content} />;\n case 'upload':\n return <BrandUpload {...content} />;\n case 'analytics-dashboards':\n return <BrandAnalytics {...content} />;\n case 'list-content':\n case 'expandible-actionable-table':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n case 'expandible-table':\n return <WizardContents {...content} />;\n case 'bulk-empty-dashboard':\n return <BulkInfos {...content} />;\n case 'table-pending':\n return <ExpandibleActionableTable {...content} />;\n case 'learning-priorities':\n return <BrandLearningPriorities {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst buildTitle = title => {\n if (isEmpty(title)) return;\n return (\n <div className={style.title}>\n <Title {...title} />\n </div>\n );\n};\n\nconst BrandUpdate = props => {\n const {\n notifications,\n header,\n items,\n content,\n details,\n popin,\n onItemClick,\n documentation,\n contentFixHeight,\n title\n } = props;\n const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';\n\n const leftNavigation = buildLeftNavigation(logo, items, onItemClick);\n const notificationsView = buildNotifications(notifications);\n const documentationView = buildDocumentation(documentation);\n const headerView = buildHeader(header, notifications);\n const tabsView = buildTabs(items);\n const contentView = buildContentView(content);\n const detailsView = buildDetailsView(details);\n const popinView = buildPopin(popin);\n const titleView = buildTitle(title);\n\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight\n ]);\n\n return (\n <div className={style.container}>\n <div className={style.left}>{leftNavigation}</div>\n <div className={style.contentWrapper}>\n <div className={style.headerSticky}>{headerView}</div>\n <div className={contentStyle}>\n {notificationsView}\n {titleView}\n {tabsView}\n {contentView}\n {detailsView}\n {documentationView}\n </div>\n </div>\n {popinView}\n </div>\n );\n};\n\nBrandUpdate.defaultProps = {\n notifications: []\n};\n\nBrandUpdate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n ...Banner.propTypes\n })\n ),\n header: PropTypes.shape({...Header.propTypes}),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string,\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n subTabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string\n })\n )\n })\n )\n })\n ).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n PropTypes.shape({\n ...BrandUpload.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['upload'])\n }),\n PropTypes.shape({\n ...BrandAnalytics.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['analytics-dashboards'])\n }),\n PropTypes.shape({\n ...BrandDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['home'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['wizard'])\n }),\n PropTypes.shape({\n ...ListItems.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list-content', 'expandible-actionable-table'])\n }),\n PropTypes.shape({\n ...BulkInfos.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['bulk-empty-dashboard'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['table-pending'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n content: PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n ...WizardContents.propTypes.content.propTypes\n }),\n key: PropTypes.string,\n type: PropTypes.oneOf(['expandible-table'])\n }),\n PropTypes.shape({\n ...BrandLearningPriorities.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['learning-priorities'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.shape({\n ...CmPopin.propTypes,\n theme: PropTypes.oneOf(['published', 'archived', 'deleted'])\n }),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func,\n contentFixHeight: PropTypes.bool,\n title: PropTypes.shape(Title.propTypes)\n};\n\nexport default BrandUpdate;\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,OAAO,MAAM,mBAAmB;AACvC,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,SAAS,MAAM,8BAA8B;AACpD,SAAQC,YAAY,EAAEC,QAAQ,QAAO,2BAA2B;AAChE,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,UAAU,MAAM,+BAA+B;AACtD,OAAOC,WAAW,MAAM,gCAAgC;AACxD,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,cAAc,MA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,WAAW,EAAE,UAAU,EAAE,SAAS,CAAC;EAC7D,CAAC,CAAC;EACF/B,OAAO,EAAE3G,SAAS,CAACqI,KAAK,CAAC;IACvB,GAAG1H,UAAU,CAACqH,SAAS;IACvBxF,GAAG,EAAExC,SAAS,CAACsI,MAAM;IACrB5F,IAAI,EAAE1C,SAAS,CAAC0I,KAAK,CAAC,CAAC,MAAM,CAAC;EAChC,CAAC,CAAC;EACFtF,WAAW,EAAEpD,SAAS,CAAC2I,IAAI;EAC3B5B,gBAAgB,EAAE/G,SAAS,CAACwI,IAAI;EAChC/F,KAAK,EAAEzC,SAAS,CAACqI,KAAK,CAAC3G,KAAK,CAACsG,SAAS;AACxC,CAAC;AAED,eAAenB,WAAW","ignoreList":[]}
@@ -92,6 +92,7 @@
92
92
 
93
93
  .content {
94
94
  width: 100%;
95
+ height: 100%;
95
96
  display: flex;
96
97
  flex-direction: column;
97
98
  overflow: auto;
@@ -0,0 +1,79 @@
1
+ export namespace POPIN_THEMES {
2
+ namespace published {
3
+ import icon = ICON_PROPS.published;
4
+ export { icon };
5
+ export { COMMUN_ACTION_BUTTON_PROPS as actionButton };
6
+ }
7
+ namespace archived {
8
+ import icon_1 = ICON_PROPS.archived;
9
+ export { icon_1 as icon };
10
+ export { COMMUN_ACTION_BUTTON_PROPS as actionButton };
11
+ }
12
+ namespace deleted {
13
+ import icon_2 = ICON_PROPS.deleted;
14
+ export { icon_2 as icon };
15
+ export namespace actionButton {
16
+ export namespace icon_3 {
17
+ const position: string;
18
+ namespace faIcon {
19
+ const name: string;
20
+ const color: "#ffffff";
21
+ const size: number;
22
+ namespace customStyle {
23
+ const padding: number;
24
+ const alignItems: string;
25
+ }
26
+ }
27
+ }
28
+ export { icon_3 as icon };
29
+ export const type: string;
30
+ }
31
+ }
32
+ }
33
+ declare namespace ICON_PROPS {
34
+ export namespace published_1 {
35
+ const iconName: string;
36
+ const iconColor: "#515161";
37
+ const backgroundColor: "#EAEAEB";
38
+ const preset: string;
39
+ }
40
+ export { published_1 as published };
41
+ export namespace archived_1 {
42
+ const iconName_1: string;
43
+ export { iconName_1 as iconName };
44
+ const iconColor_1: "#A38300";
45
+ export { iconColor_1 as iconColor };
46
+ const backgroundColor_1: "#FFF9D1";
47
+ export { backgroundColor_1 as backgroundColor };
48
+ const preset_1: string;
49
+ export { preset_1 as preset };
50
+ }
51
+ export { archived_1 as archived };
52
+ export namespace deleted_1 {
53
+ const iconName_2: string;
54
+ export { iconName_2 as iconName };
55
+ const iconColor_2: "#A30000";
56
+ export { iconColor_2 as iconColor };
57
+ const backgroundColor_2: "#FFD1D1";
58
+ export { backgroundColor_2 as backgroundColor };
59
+ const preset_2: string;
60
+ export { preset_2 as preset };
61
+ }
62
+ export { deleted_1 as deleted };
63
+ }
64
+ declare namespace COMMUN_ACTION_BUTTON_PROPS {
65
+ export namespace icon_4 {
66
+ const position_1: string;
67
+ export { position_1 as position };
68
+ export namespace faIcon_1 {
69
+ const name_1: string;
70
+ export { name_1 as name };
71
+ }
72
+ export { faIcon_1 as faIcon };
73
+ }
74
+ export { icon_4 as icon };
75
+ const type_1: string;
76
+ export { type_1 as type };
77
+ }
78
+ export {};
79
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/utils.js"],"names":[],"mappings":""}