@coorpacademy/components 11.36.5-alpha.3 → 11.36.6

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 (250) hide show
  1. package/es/atom/button-link/index.d.ts +2 -0
  2. package/es/atom/button-link/index.d.ts.map +1 -1
  3. package/es/atom/button-link/index.js +6 -5
  4. package/es/atom/button-link/index.js.map +1 -1
  5. package/es/atom/button-link/types.d.ts +3 -0
  6. package/es/atom/button-link/types.d.ts.map +1 -1
  7. package/es/atom/button-link/types.js +3 -1
  8. package/es/atom/button-link/types.js.map +1 -1
  9. package/es/atom/button-menu/index.d.ts +2 -0
  10. package/es/atom/button-menu/index.d.ts.map +1 -1
  11. package/es/atom/button-menu/index.js +9 -3
  12. package/es/atom/button-menu/index.js.map +1 -1
  13. package/es/atom/button-menu/style.css +22 -0
  14. package/es/atom/button-menu/types.d.ts +5 -0
  15. package/es/atom/button-menu/types.d.ts.map +1 -1
  16. package/es/atom/button-menu/types.js +4 -2
  17. package/es/atom/button-menu/types.js.map +1 -1
  18. package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
  19. package/es/atom/checkbox-with-title/index.js +2 -2
  20. package/es/atom/checkbox-with-title/index.js.map +1 -1
  21. package/es/atom/radio-with-title/index.d.ts +2 -0
  22. package/es/atom/radio-with-title/index.d.ts.map +1 -1
  23. package/es/atom/radio-with-title/types.d.ts +2 -0
  24. package/es/atom/radio-with-title/types.d.ts.map +1 -1
  25. package/es/atom/tag/index.d.ts +1 -1
  26. package/es/atom/tag/index.d.ts.map +1 -1
  27. package/es/atom/tag/index.js +3 -14
  28. package/es/atom/tag/index.js.map +1 -1
  29. package/es/atom/title/index.d.ts +2 -0
  30. package/es/molecule/bullet-point-menu-button/index.d.ts +1 -0
  31. package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  32. package/es/molecule/bullet-point-menu-button/types.d.ts +1 -0
  33. package/es/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
  34. package/es/molecule/button-menu-action/index.d.ts +5 -0
  35. package/es/molecule/button-menu-action/index.d.ts.map +1 -1
  36. package/es/molecule/button-menu-action/index.js +5 -2
  37. package/es/molecule/button-menu-action/index.js.map +1 -1
  38. package/es/molecule/button-menu-action/types.d.ts +9 -3
  39. package/es/molecule/button-menu-action/types.d.ts.map +1 -1
  40. package/es/molecule/button-menu-action/types.js +2 -1
  41. package/es/molecule/button-menu-action/types.js.map +1 -1
  42. package/es/molecule/cm-popin/types.d.ts +24 -0
  43. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  44. package/es/molecule/discipline-scope/index.d.ts.map +1 -1
  45. package/es/molecule/discipline-scope/index.js +3 -2
  46. package/es/molecule/discipline-scope/index.js.map +1 -1
  47. package/es/molecule/expandible-actionable-table/index.d.ts +4 -0
  48. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  49. package/es/molecule/expandible-actionable-table/types.d.ts +4 -0
  50. package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  51. package/es/molecule/multi-filter-panel/index.d.ts +17 -7
  52. package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
  53. package/es/molecule/multi-filter-panel/index.js +2 -2
  54. package/es/molecule/multi-filter-panel/index.js.map +1 -1
  55. package/es/molecule/multi-filter-panel/prop-types.d.ts +17 -7
  56. package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  57. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
  58. package/es/molecule/title-radio-wrapper/index.d.ts +2 -0
  59. package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  60. package/es/molecule/title-radio-wrapper/types.d.ts +2 -0
  61. package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  62. package/es/organism/content-skill-modal/index.d.ts +39 -7
  63. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  64. package/es/organism/content-skill-modal/types.d.ts +39 -7
  65. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  66. package/es/organism/filter-checkbox-and-search/index.d.ts +19 -9
  67. package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  68. package/es/organism/filter-checkbox-and-search/index.js +7 -7
  69. package/es/organism/filter-checkbox-and-search/index.js.map +1 -1
  70. package/es/organism/filter-checkbox-and-search/props-types.d.ts +20 -18
  71. package/es/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  72. package/es/organism/filter-checkbox-and-search/props-types.js +2 -2
  73. package/es/organism/filter-checkbox-and-search/props-types.js.map +1 -1
  74. package/es/organism/header-with-actions/index.d.ts +3 -0
  75. package/es/organism/header-with-actions/index.d.ts.map +1 -1
  76. package/es/organism/header-with-actions/types.d.ts +3 -0
  77. package/es/organism/header-with-actions/types.d.ts.map +1 -1
  78. package/es/organism/icon-editor/index.d.ts +2 -0
  79. package/es/organism/icon-editor/index.d.ts.map +1 -1
  80. package/es/organism/icon-editor/types.d.ts +2 -0
  81. package/es/organism/icon-editor/types.d.ts.map +1 -1
  82. package/es/organism/list-items/index.d.ts +22 -0
  83. package/es/organism/mooc-header/index.d.ts +1 -0
  84. package/es/organism/mooc-header/index.d.ts.map +1 -1
  85. package/es/organism/mooc-header/index.js +7 -3
  86. package/es/organism/mooc-header/index.js.map +1 -1
  87. package/es/organism/mooc-header/style.css +7 -0
  88. package/es/organism/rewards-form/index.d.ts +2 -0
  89. package/es/organism/select-opponents/index.d.ts +2 -0
  90. package/es/organism/select-opponents/index.d.ts.map +1 -1
  91. package/es/organism/select-opponents/types.d.ts +2 -0
  92. package/es/organism/select-opponents/types.d.ts.map +1 -1
  93. package/es/organism/setup-header/index.d.ts +8 -0
  94. package/es/organism/title-and-input/index.d.ts +6 -0
  95. package/es/organism/title-and-input/index.d.ts.map +1 -1
  96. package/es/organism/title-and-input/types.d.ts +6 -0
  97. package/es/organism/title-and-input/types.d.ts.map +1 -1
  98. package/es/organism/wizard-contents/index.d.ts +10 -0
  99. package/es/template/app-player/loading/index.d.ts +24 -0
  100. package/es/template/app-player/player/index.d.ts +48 -0
  101. package/es/template/app-player/player/slides/index.d.ts +24 -0
  102. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  103. package/es/template/app-player/popin-correction/index.d.ts +24 -0
  104. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  105. package/es/template/app-player/popin-end/index.d.ts +24 -0
  106. package/es/template/app-review/index.d.ts +24 -0
  107. package/es/template/app-review/index.d.ts.map +1 -1
  108. package/es/template/app-review/player/prop-types.d.ts +24 -0
  109. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  110. package/es/template/app-review/prop-types.d.ts +24 -0
  111. package/es/template/app-review/prop-types.d.ts.map +1 -1
  112. package/es/template/back-office/brand-create/index.d.ts +8 -0
  113. package/es/template/back-office/brand-create/index.d.ts.map +1 -1
  114. package/es/template/back-office/brand-list/index.d.ts +8 -0
  115. package/es/template/back-office/brand-list/index.d.ts.map +1 -1
  116. package/es/template/back-office/brand-update/index.d.ts +106 -7
  117. package/es/template/back-office/dashboard-preview/index.d.ts +8 -0
  118. package/es/template/back-office/layout/index.d.ts +8 -0
  119. package/es/template/back-office/layout/index.d.ts.map +1 -1
  120. package/es/template/common/dashboard/index.d.ts +48 -0
  121. package/es/template/common/discipline/index.d.ts.map +1 -1
  122. package/es/template/common/discipline/index.js +3 -3
  123. package/es/template/common/discipline/index.js.map +1 -1
  124. package/es/template/common/search-page/index.d.ts +24 -0
  125. package/es/template/external-course/index.d.ts +24 -0
  126. package/lib/atom/button-link/index.d.ts +2 -0
  127. package/lib/atom/button-link/index.d.ts.map +1 -1
  128. package/lib/atom/button-link/index.js +6 -5
  129. package/lib/atom/button-link/index.js.map +1 -1
  130. package/lib/atom/button-link/types.d.ts +3 -0
  131. package/lib/atom/button-link/types.d.ts.map +1 -1
  132. package/lib/atom/button-link/types.js +3 -1
  133. package/lib/atom/button-link/types.js.map +1 -1
  134. package/lib/atom/button-menu/index.d.ts +2 -0
  135. package/lib/atom/button-menu/index.d.ts.map +1 -1
  136. package/lib/atom/button-menu/index.js +9 -3
  137. package/lib/atom/button-menu/index.js.map +1 -1
  138. package/lib/atom/button-menu/style.css +22 -0
  139. package/lib/atom/button-menu/types.d.ts +5 -0
  140. package/lib/atom/button-menu/types.d.ts.map +1 -1
  141. package/lib/atom/button-menu/types.js +4 -2
  142. package/lib/atom/button-menu/types.js.map +1 -1
  143. package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
  144. package/lib/atom/checkbox-with-title/index.js +2 -2
  145. package/lib/atom/checkbox-with-title/index.js.map +1 -1
  146. package/lib/atom/radio-with-title/index.d.ts +2 -0
  147. package/lib/atom/radio-with-title/index.d.ts.map +1 -1
  148. package/lib/atom/radio-with-title/types.d.ts +2 -0
  149. package/lib/atom/radio-with-title/types.d.ts.map +1 -1
  150. package/lib/atom/tag/index.d.ts +1 -1
  151. package/lib/atom/tag/index.d.ts.map +1 -1
  152. package/lib/atom/tag/index.js +3 -14
  153. package/lib/atom/tag/index.js.map +1 -1
  154. package/lib/atom/title/index.d.ts +2 -0
  155. package/lib/molecule/bullet-point-menu-button/index.d.ts +1 -0
  156. package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  157. package/lib/molecule/bullet-point-menu-button/types.d.ts +1 -0
  158. package/lib/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
  159. package/lib/molecule/button-menu-action/index.d.ts +5 -0
  160. package/lib/molecule/button-menu-action/index.d.ts.map +1 -1
  161. package/lib/molecule/button-menu-action/index.js +5 -2
  162. package/lib/molecule/button-menu-action/index.js.map +1 -1
  163. package/lib/molecule/button-menu-action/types.d.ts +9 -3
  164. package/lib/molecule/button-menu-action/types.d.ts.map +1 -1
  165. package/lib/molecule/button-menu-action/types.js +2 -1
  166. package/lib/molecule/button-menu-action/types.js.map +1 -1
  167. package/lib/molecule/cm-popin/types.d.ts +24 -0
  168. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  169. package/lib/molecule/discipline-scope/index.d.ts.map +1 -1
  170. package/lib/molecule/discipline-scope/index.js +3 -2
  171. package/lib/molecule/discipline-scope/index.js.map +1 -1
  172. package/lib/molecule/expandible-actionable-table/index.d.ts +4 -0
  173. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  174. package/lib/molecule/expandible-actionable-table/types.d.ts +4 -0
  175. package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  176. package/lib/molecule/multi-filter-panel/index.d.ts +17 -7
  177. package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
  178. package/lib/molecule/multi-filter-panel/index.js.map +1 -1
  179. package/lib/molecule/multi-filter-panel/prop-types.d.ts +17 -7
  180. package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  181. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
  182. package/lib/molecule/title-radio-wrapper/index.d.ts +2 -0
  183. package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  184. package/lib/molecule/title-radio-wrapper/types.d.ts +2 -0
  185. package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  186. package/lib/organism/content-skill-modal/index.d.ts +39 -7
  187. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  188. package/lib/organism/content-skill-modal/types.d.ts +39 -7
  189. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  190. package/lib/organism/filter-checkbox-and-search/index.d.ts +19 -9
  191. package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  192. package/lib/organism/filter-checkbox-and-search/index.js +7 -7
  193. package/lib/organism/filter-checkbox-and-search/index.js.map +1 -1
  194. package/lib/organism/filter-checkbox-and-search/props-types.d.ts +20 -18
  195. package/lib/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  196. package/lib/organism/filter-checkbox-and-search/props-types.js +2 -2
  197. package/lib/organism/filter-checkbox-and-search/props-types.js.map +1 -1
  198. package/lib/organism/header-with-actions/index.d.ts +3 -0
  199. package/lib/organism/header-with-actions/index.d.ts.map +1 -1
  200. package/lib/organism/header-with-actions/types.d.ts +3 -0
  201. package/lib/organism/header-with-actions/types.d.ts.map +1 -1
  202. package/lib/organism/icon-editor/index.d.ts +2 -0
  203. package/lib/organism/icon-editor/index.d.ts.map +1 -1
  204. package/lib/organism/icon-editor/types.d.ts +2 -0
  205. package/lib/organism/icon-editor/types.d.ts.map +1 -1
  206. package/lib/organism/list-items/index.d.ts +22 -0
  207. package/lib/organism/mooc-header/index.d.ts +1 -0
  208. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  209. package/lib/organism/mooc-header/index.js +7 -3
  210. package/lib/organism/mooc-header/index.js.map +1 -1
  211. package/lib/organism/mooc-header/style.css +7 -0
  212. package/lib/organism/rewards-form/index.d.ts +2 -0
  213. package/lib/organism/select-opponents/index.d.ts +2 -0
  214. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  215. package/lib/organism/select-opponents/types.d.ts +2 -0
  216. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  217. package/lib/organism/setup-header/index.d.ts +8 -0
  218. package/lib/organism/title-and-input/index.d.ts +6 -0
  219. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  220. package/lib/organism/title-and-input/types.d.ts +6 -0
  221. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  222. package/lib/organism/wizard-contents/index.d.ts +10 -0
  223. package/lib/template/app-player/loading/index.d.ts +24 -0
  224. package/lib/template/app-player/player/index.d.ts +48 -0
  225. package/lib/template/app-player/player/slides/index.d.ts +24 -0
  226. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  227. package/lib/template/app-player/popin-correction/index.d.ts +24 -0
  228. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  229. package/lib/template/app-player/popin-end/index.d.ts +24 -0
  230. package/lib/template/app-review/index.d.ts +24 -0
  231. package/lib/template/app-review/index.d.ts.map +1 -1
  232. package/lib/template/app-review/player/prop-types.d.ts +24 -0
  233. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  234. package/lib/template/app-review/prop-types.d.ts +24 -0
  235. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  236. package/lib/template/back-office/brand-create/index.d.ts +8 -0
  237. package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
  238. package/lib/template/back-office/brand-list/index.d.ts +8 -0
  239. package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
  240. package/lib/template/back-office/brand-update/index.d.ts +106 -7
  241. package/lib/template/back-office/dashboard-preview/index.d.ts +8 -0
  242. package/lib/template/back-office/layout/index.d.ts +8 -0
  243. package/lib/template/back-office/layout/index.d.ts.map +1 -1
  244. package/lib/template/common/dashboard/index.d.ts +48 -0
  245. package/lib/template/common/discipline/index.d.ts.map +1 -1
  246. package/lib/template/common/discipline/index.js +3 -3
  247. package/lib/template/common/discipline/index.js.map +1 -1
  248. package/lib/template/common/search-page/index.d.ts +24 -0
  249. package/lib/template/external-course/index.d.ts +24 -0
  250. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAEzD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,0BAA0B,GAAG;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,iCAAiC,GAAG;IAAC,KAAK,EAAE,0BAA0B,CAAA;CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/bullet-point-menu-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAEzD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,0BAA0B,GAAG;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,iCAAiC,GAAG;IAAC,KAAK,EAAE,0BAA0B,CAAA;CAAC,CAAC"}
@@ -39,6 +39,8 @@ declare const ButtonMenuAction: {
39
39
  customStyle: import("prop-types").Requireable<{
40
40
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
41
41
  }>;
42
+ useTitle: import("prop-types").Requireable<boolean>;
43
+ customLabelClassName: import("prop-types").Requireable<string>;
42
44
  }>>>;
43
45
  menu: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
44
46
  buttons: import("prop-types").Validator<(import("prop-types").InferProps<{
@@ -65,9 +67,11 @@ declare const ButtonMenuAction: {
65
67
  customStyle: import("prop-types").Requireable<{
66
68
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
67
69
  }>;
70
+ customLabelClassName: import("prop-types").Requireable<string>;
68
71
  }> | null | undefined)[]>;
69
72
  'data-name': import("prop-types").Requireable<string>;
70
73
  'aria-label': import("prop-types").Requireable<string>;
74
+ enableScroll: import("prop-types").Requireable<boolean>;
71
75
  }>>>;
72
76
  menuWrapper: import("prop-types").Requireable<import("prop-types").InferProps<{
73
77
  ariaLabel: import("prop-types").Requireable<string>;
@@ -78,6 +82,7 @@ declare const ButtonMenuAction: {
78
82
  type: import("prop-types").Requireable<string>;
79
83
  primaryColor: import("prop-types").Requireable<string>;
80
84
  closeOnClick: import("prop-types").Requireable<boolean>;
85
+ enableScroll: import("prop-types").Requireable<boolean>;
81
86
  };
82
87
  };
83
88
  export default ButtonMenuAction;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/button-menu-action/index.tsx"],"names":[],"mappings":";AAOA,OAAkB,EAAC,qBAAqB,EAAC,MAAM,SAAS,CAAC;AAGzD,QAAA,MAAM,gBAAgB;YAAW,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFrD,CAAC;AAIF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/button-menu-action/index.tsx"],"names":[],"mappings":";AAOA,OAAkB,EAAC,qBAAqB,EAAC,MAAM,SAAS,CAAC;AAGzD,QAAA,MAAM,gBAAgB;YAAW,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsFrD,CAAC;AAIF,eAAe,gBAAgB,CAAC"}
@@ -16,7 +16,8 @@ const ButtonMenuAction = props => {
16
16
  type = 'button',
17
17
  primaryColor,
18
18
  containerCustom,
19
- closeOnClick = false
19
+ closeOnClick = false,
20
+ enableScroll = false
20
21
  } = props;
21
22
  const {
22
23
  onClick = _noop
@@ -50,7 +51,9 @@ const ButtonMenuAction = props => {
50
51
  "data-name": "menu-wrapper",
51
52
  "aria-label": menuWrapper?.ariaLabel,
52
53
  style: menuWrapper?.customStyle
53
- }, /*#__PURE__*/React.createElement(ButtonMenu, menuWithClose));
54
+ }, /*#__PURE__*/React.createElement(ButtonMenu, _extends({}, menuWithClose, {
55
+ enableScroll: enableScroll
56
+ })));
54
57
  return /*#__PURE__*/React.createElement("div", {
55
58
  className: style.container,
56
59
  "data-name": "button-menu-action-wrapper",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","useCallback","useEffect","useState","useRef","classnames","map","FontAwesomeIcon","ButtonLink","ButtonMenu","propTypes","style","ButtonMenuAction","props","button","menu","menuWrapper","type","primaryColor","containerCustom","closeOnClick","onClick","_noop","visible","setVisible","containerRef","toggleVisibility","prevState","handleMouseDown","event","current","contains","target","document","addEventListener","removeEventListener","menuWithClose","buttons","btn","_menu","createElement","className","ariaLabel","customStyle","container","ref","currentOption","color","undefined","label","icon","caret","_extends","process","env","NODE_ENV"],"sources":["../../../src/molecule/button-menu-action/index.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useState, useRef} from 'react';\nimport classnames from 'classnames';\nimport {noop} from 'lodash/fp';\nimport map from 'lodash/fp/map';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonMenu from '../../atom/button-menu';\nimport propTypes, {ButtonMenuActionProps} from './types';\nimport style from './style.css';\n\nconst ButtonMenuAction = (props: ButtonMenuActionProps) => {\n const {\n button,\n menu,\n menuWrapper,\n type = 'button',\n primaryColor,\n containerCustom,\n closeOnClick = false\n } = props;\n const {onClick = noop} = button;\n const [visible, setVisible] = useState(false);\n const containerRef = useRef<HTMLDivElement>(null);\n\n const toggleVisibility = useCallback(() => {\n onClick();\n setVisible(prevState => !prevState);\n }, [onClick]);\n\n useEffect(() => {\n const handleMouseDown = (event: MouseEvent) => {\n if (visible && containerRef.current && !containerRef.current.contains(event.target as Node)) {\n setVisible(false);\n }\n };\n\n document.addEventListener('mousedown', handleMouseDown);\n return () => {\n document.removeEventListener('mousedown', handleMouseDown);\n };\n }, [visible, containerRef]);\n\n const menuWithClose = closeOnClick\n ? {\n ...menu,\n buttons: map(\n btn => ({\n ...btn,\n onClick: () => setVisible(false)\n }),\n menu.buttons\n )\n }\n : menu;\n\n const _menu = (\n <div\n className={classnames(style.menuWrapper, visible && style.visible)}\n data-name=\"menu-wrapper\"\n aria-label={menuWrapper?.ariaLabel}\n style={menuWrapper?.customStyle}\n >\n <ButtonMenu {...menuWithClose} />\n </div>\n );\n\n return (\n <div\n className={style.container}\n data-name=\"button-menu-action-wrapper\"\n style={containerCustom}\n ref={containerRef}\n >\n {type === 'link' ? (\n <div\n className={style.currentOption}\n data-name={button['data-name']}\n onClick={toggleVisibility}\n aria-expanded={visible}\n aria-haspopup=\"true\"\n >\n <span style={{color: visible ? primaryColor : undefined}}>{button.label}</span>\n <FontAwesomeIcon\n icon={visible ? 'chevron-up' : 'chevron-down'}\n className={style.caret}\n style={{color: visible ? primaryColor : undefined}}\n aria-label={button['aria-label']}\n />\n </div>\n ) : (\n <ButtonLink {...button} onClick={toggleVisibility} />\n )}\n {_menu}\n </div>\n );\n};\n\nButtonMenuAction.propTypes = propTypes;\n\nexport default ButtonMenuAction;\n"],"mappings":";;AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,MAAM,QAAO,OAAO;AACrE,OAAOC,UAAU,MAAM,YAAY;AAEnC,OAAOC,GAAG,MAAM,eAAe;AAC/B,SAAQC,eAAe,QAAO,gCAAgC;AAC9D,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,SAAS,MAA+B,SAAS;AACxD,OAAOC,KAAK,MAAM,aAAa;AAE/B,MAAMC,gBAAgB,GAAIC,KAA4B,IAAK;EACzD,MAAM;IACJC,MAAM;IACNC,IAAI;IACJC,WAAW;IACXC,IAAI,GAAG,QAAQ;IACfC,YAAY;IACZC,eAAe;IACfC,YAAY,GAAG;EAC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","classnames","map","FontAwesomeIcon","ButtonLink","ButtonMenu","propTypes","style","ButtonMenuAction","props","button","menu","menuWrapper","type","primaryColor","containerCustom","closeOnClick","enableScroll","onClick","_noop","visible","setVisible","containerRef","toggleVisibility","prevState","handleMouseDown","event","current","contains","target","document","addEventListener","removeEventListener","menuWithClose","buttons","btn","_menu","createElement","className","ariaLabel","customStyle","_extends","container","ref","currentOption","color","undefined","label","icon","caret","process","env","NODE_ENV"],"sources":["../../../src/molecule/button-menu-action/index.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useState, useRef} from 'react';\nimport classnames from 'classnames';\nimport {noop} from 'lodash/fp';\nimport map from 'lodash/fp/map';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonMenu from '../../atom/button-menu';\nimport propTypes, {ButtonMenuActionProps} from './types';\nimport style from './style.css';\n\nconst ButtonMenuAction = (props: ButtonMenuActionProps) => {\n const {\n button,\n menu,\n menuWrapper,\n type = 'button',\n primaryColor,\n containerCustom,\n closeOnClick = false,\n enableScroll = false\n } = props;\n const {onClick = noop} = button;\n const [visible, setVisible] = useState(false);\n const containerRef = useRef<HTMLDivElement>(null);\n\n const toggleVisibility = useCallback(() => {\n onClick();\n setVisible(prevState => !prevState);\n }, [onClick]);\n\n useEffect(() => {\n const handleMouseDown = (event: MouseEvent) => {\n if (visible && containerRef.current && !containerRef.current.contains(event.target as Node)) {\n setVisible(false);\n }\n };\n\n document.addEventListener('mousedown', handleMouseDown);\n return () => {\n document.removeEventListener('mousedown', handleMouseDown);\n };\n }, [visible, containerRef]);\n\n const menuWithClose = closeOnClick\n ? {\n ...menu,\n buttons: map(\n btn => ({\n ...btn,\n onClick: () => setVisible(false)\n }),\n menu.buttons\n )\n }\n : menu;\n\n const _menu = (\n <div\n className={classnames(style.menuWrapper, visible && style.visible)}\n data-name=\"menu-wrapper\"\n aria-label={menuWrapper?.ariaLabel}\n style={menuWrapper?.customStyle}\n >\n <ButtonMenu {...menuWithClose} enableScroll={enableScroll} />\n </div>\n );\n\n return (\n <div\n className={style.container}\n data-name=\"button-menu-action-wrapper\"\n style={containerCustom}\n ref={containerRef}\n >\n {type === 'link' ? (\n <div\n className={style.currentOption}\n data-name={button['data-name']}\n onClick={toggleVisibility}\n aria-expanded={visible}\n aria-haspopup=\"true\"\n >\n <span style={{color: visible ? primaryColor : undefined}}>{button.label}</span>\n <FontAwesomeIcon\n icon={visible ? 'chevron-up' : 'chevron-down'}\n className={style.caret}\n style={{color: visible ? primaryColor : undefined}}\n aria-label={button['aria-label']}\n />\n </div>\n ) : (\n <ButtonLink {...button} onClick={toggleVisibility} />\n )}\n {_menu}\n </div>\n );\n};\n\nButtonMenuAction.propTypes = propTypes;\n\nexport default ButtonMenuAction;\n"],"mappings":";;AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,MAAM,QAAO,OAAO;AACrE,OAAOC,UAAU,MAAM,YAAY;AAEnC,OAAOC,GAAG,MAAM,eAAe;AAC/B,SAAQC,eAAe,QAAO,gCAAgC;AAC9D,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,SAAS,MAA+B,SAAS;AACxD,OAAOC,KAAK,MAAM,aAAa;AAE/B,MAAMC,gBAAgB,GAAIC,KAA4B,IAAK;EACzD,MAAM;IACJC,MAAM;IACNC,IAAI;IACJC,WAAW;IACXC,IAAI,GAAG,QAAQ;IACfC,YAAY;IACZC,eAAe;IACfC,YAAY,GAAG,KAAK;IACpBC,YAAY,GAAG;EACjB,CAAC,GAAGR,KAAK;EACT,MAAM;IAACS,OAAO,GAAAC;EAAO,CAAC,GAAGT,MAAM;EAC/B,MAAM,CAACU,OAAO,EAAEC,UAAU,CAAC,GAAGtB,QAAQ,CAAC,KAAK,CAAC;EAC7C,MAAMuB,YAAY,GAAGtB,MAAM,CAAiB,IAAI,CAAC;EAEjD,MAAMuB,gB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,EAAE/B,KAAK,CAACmC,SAAU;IAC3B,aAAU,4BAA4B;IACtCnC,KAAK,EAAEQ,eAAgB;IACvB4B,GAAG,EAAErB;EAAa,GAEjBT,IAAI,KAAK,MAAM,gBACdjB,KAAA,CAAAyC,aAAA;IACEC,SAAS,EAAE/B,KAAK,CAACqC,aAAc;IAC/B,aAAWlC,MAAM,CAAC,WAAW,CAAE;IAC/BQ,OAAO,EAAEK,gBAAiB;IAC1B,iBAAeH,OAAQ;IACvB,iBAAc;EAAM,gBAEpBxB,KAAA,CAAAyC,aAAA;IAAM9B,KAAK,EAAE;MAACsC,KAAK,EAAEzB,OAAO,GAAGN,YAAY,GAAGgC;IAAS;EAAE,GAAEpC,MAAM,CAACqC,KAAY,CAAC,eAC/EnD,KAAA,CAAAyC,aAAA,CAAClC,eAAe;IACd6C,IAAI,EAAE5B,OAAO,GAAG,YAAY,GAAG,cAAe;IAC9CkB,SAAS,EAAE/B,KAAK,CAAC0C,KAAM;IACvB1C,KAAK,EAAE;MAACsC,KAAK,EAAEzB,OAAO,GAAGN,YAAY,GAAGgC;IAAS,CAAE;IACnD,cAAYpC,MAAM,CAAC,YAAY;EAAE,CAClC,CACE,CAAC,gBAENd,KAAA,CAAAyC,aAAA,CAACjC,UAAU,EAAAqC,QAAA,KAAK/B,MAAM;IAAEQ,OAAO,EAAEK;EAAiB,EAAE,CACrD,EACAa,KACE,CAAC;AAEV,CAAC;AAED5B,gBAAgB,CAACF,SAAS,GAAA4C,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG9C,SAAS;AAEtC,eAAeE,gBAAgB","ignoreList":[]}
@@ -38,6 +38,8 @@ declare const ButtonMenuActionPropTypes: {
38
38
  customStyle: PropTypes.Requireable<{
39
39
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
40
40
  }>;
41
+ useTitle: PropTypes.Requireable<boolean>;
42
+ customLabelClassName: PropTypes.Requireable<string>;
41
43
  }>>>;
42
44
  menu: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
43
45
  buttons: PropTypes.Validator<(PropTypes.InferProps<{
@@ -64,9 +66,11 @@ declare const ButtonMenuActionPropTypes: {
64
66
  customStyle: PropTypes.Requireable<{
65
67
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
66
68
  }>;
69
+ customLabelClassName: PropTypes.Requireable<string>;
67
70
  }> | null | undefined)[]>;
68
71
  'data-name': PropTypes.Requireable<string>;
69
72
  'aria-label': PropTypes.Requireable<string>;
73
+ enableScroll: PropTypes.Requireable<boolean>;
70
74
  }>>>;
71
75
  menuWrapper: PropTypes.Requireable<PropTypes.InferProps<{
72
76
  ariaLabel: PropTypes.Requireable<string>;
@@ -77,19 +81,21 @@ declare const ButtonMenuActionPropTypes: {
77
81
  type: PropTypes.Requireable<string>;
78
82
  primaryColor: PropTypes.Requireable<string>;
79
83
  closeOnClick: PropTypes.Requireable<boolean>;
84
+ enableScroll: PropTypes.Requireable<boolean>;
80
85
  };
81
86
  export default ButtonMenuActionPropTypes;
82
87
  export declare type ButtonMenuActionProps = {
83
88
  button: ButtonLinkProps;
84
89
  menu: ButtonMenuProps;
85
- type?: 'button' | 'link';
86
90
  menuWrapper?: {
87
91
  ariaLabel?: string;
88
- customStyle?: Record<string, unknown>;
92
+ customStyle?: Record<string, string | number>;
89
93
  };
90
- containerCustom?: Record<string, unknown>;
94
+ type?: 'button' | 'link';
91
95
  primaryColor?: string;
96
+ containerCustom?: Record<string, string | number>;
92
97
  closeOnClick?: boolean;
98
+ enableScroll?: boolean;
93
99
  };
94
100
  export declare type ButtonMenuActionPropsFixture = {
95
101
  props: ButtonMenuActionProps;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/button-menu-action/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAA4B,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAClF,OAA4B,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAA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EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;KAC/C,CAAC;IACF,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IAClD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IAAC,KAAK,EAAE,qBAAqB,CAAA;CAAC,CAAC"}
@@ -10,7 +10,8 @@ const ButtonMenuActionPropTypes = {
10
10
  }),
11
11
  type: PropTypes.oneOf(['button', 'link']),
12
12
  primaryColor: PropTypes.string,
13
- closeOnClick: PropTypes.bool
13
+ closeOnClick: PropTypes.bool,
14
+ enableScroll: PropTypes.bool
14
15
  };
15
16
  export default ButtonMenuActionPropTypes;
16
17
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["PropTypes","ButtonLinkPropTypes","ButtonMenuPropTypes","ButtonMenuActionPropTypes","button","shape","isRequired","menu","menuWrapper","ariaLabel","string","customStyle","objectOf","oneOfType","number","object","type","oneOf","primaryColor","closeOnClick","bool"],"sources":["../../../src/molecule/button-menu-action/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ButtonLinkPropTypes, {ButtonLinkProps} from '../../atom/button-link/types';\nimport ButtonMenuPropTypes, {ButtonMenuProps} from '../../atom/button-menu/types';\n\nconst ButtonMenuActionPropTypes = {\n button: PropTypes.shape(ButtonLinkPropTypes).isRequired,\n menu: PropTypes.shape(ButtonMenuPropTypes).isRequired,\n menuWrapper: PropTypes.shape({\n ariaLabel: PropTypes.string,\n customStyle: PropTypes.objectOf(\n PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object])\n )\n }),\n type: PropTypes.oneOf(['button', 'link']),\n primaryColor: PropTypes.string,\n closeOnClick: PropTypes.bool\n};\nexport default ButtonMenuActionPropTypes;\n\nexport type ButtonMenuActionProps = {\n button: ButtonLinkProps;\n menu: ButtonMenuProps;\n type?: 'button' | 'link';\n menuWrapper?: {\n ariaLabel?: string;\n customStyle?: Record<string, unknown>;\n };\n containerCustom?: Record<string, unknown>;\n primaryColor?: string;\n closeOnClick?: boolean;\n};\n\nexport type ButtonMenuActionPropsFixture = {props: ButtonMenuActionProps};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,mBAAmB,MAAyB,8BAA8B;AACjF,OAAOC,mBAAmB,MAAyB,8BAA8B;AAEjF,MAAMC,yBAAyB,GAAG;EAChCC,MAAM,EAAEJ,SAAS,CAACK,KAAK,CAACJ,mBAAmB,CAAC,CAACK,UAAU;EACvDC,IAAI,EAAEP,SAAS,CAACK,KAAK,CAACH,mBAAmB,CAAC,CAACI,UAAU;EACrDE,WAAW,EAAER,SAAS,CAACK,KAAK,CAAC;IAC3BI,SAAS,EAAET,SAAS,CAACU,MAAM;IAC3BC,WAAW,EAAEX,SAAS,CAACY,QAAQ,CAC7BZ,SAAS,CAACa,SAAS,CAAC,CAACb,SAAS,CAACU,MAAM,EAAEV,SAAS,CAACc,MAAM,EAAEd,SAAS,CAACe,MAAM,CAAC,CAC5E;EACF,CAAC,CAAC;EACFC,IAAI,EAAEhB,SAAS,CAACiB,KAAK,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;EACzCC,YAAY,EAAElB,SAAS,CAACU,MAAM;EAC9BS,YAAY,EAAEnB,SAAS,CAACoB;AAC1B,CAAC;AACD,eAAejB,yBAAyB","ignoreList":[]}
1
+ {"version":3,"file":"types.js","names":["PropTypes","ButtonLinkPropTypes","ButtonMenuPropTypes","ButtonMenuActionPropTypes","button","shape","isRequired","menu","menuWrapper","ariaLabel","string","customStyle","objectOf","oneOfType","number","object","type","oneOf","primaryColor","closeOnClick","bool","enableScroll"],"sources":["../../../src/molecule/button-menu-action/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ButtonLinkPropTypes, {ButtonLinkProps} from '../../atom/button-link/types';\nimport ButtonMenuPropTypes, {ButtonMenuProps} from '../../atom/button-menu/types';\n\nconst ButtonMenuActionPropTypes = {\n button: PropTypes.shape(ButtonLinkPropTypes).isRequired,\n menu: PropTypes.shape(ButtonMenuPropTypes).isRequired,\n menuWrapper: PropTypes.shape({\n ariaLabel: PropTypes.string,\n customStyle: PropTypes.objectOf(\n PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object])\n )\n }),\n type: PropTypes.oneOf(['button', 'link']),\n primaryColor: PropTypes.string,\n closeOnClick: PropTypes.bool,\n enableScroll: PropTypes.bool\n};\nexport default ButtonMenuActionPropTypes;\n\nexport type ButtonMenuActionProps = {\n button: ButtonLinkProps;\n menu: ButtonMenuProps;\n menuWrapper?: {\n ariaLabel?: string;\n customStyle?: Record<string, string | number>;\n };\n type?: 'button' | 'link';\n primaryColor?: string;\n containerCustom?: Record<string, string | number>;\n closeOnClick?: boolean;\n enableScroll?: boolean;\n};\n\nexport type ButtonMenuActionPropsFixture = {props: ButtonMenuActionProps};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,mBAAmB,MAAyB,8BAA8B;AACjF,OAAOC,mBAAmB,MAAyB,8BAA8B;AAEjF,MAAMC,yBAAyB,GAAG;EAChCC,MAAM,EAAEJ,SAAS,CAACK,KAAK,CAACJ,mBAAmB,CAAC,CAACK,UAAU;EACvDC,IAAI,EAAEP,SAAS,CAACK,KAAK,CAACH,mBAAmB,CAAC,CAACI,UAAU;EACrDE,WAAW,EAAER,SAAS,CAACK,KAAK,CAAC;IAC3BI,SAAS,EAAET,SAAS,CAACU,MAAM;IAC3BC,WAAW,EAAEX,SAAS,CAACY,QAAQ,CAC7BZ,SAAS,CAACa,SAAS,CAAC,CAACb,SAAS,CAACU,MAAM,EAAEV,SAAS,CAACc,MAAM,EAAEd,SAAS,CAACe,MAAM,CAAC,CAC5E;EACF,CAAC,CAAC;EACFC,IAAI,EAAEhB,SAAS,CAACiB,KAAK,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;EACzCC,YAAY,EAAElB,SAAS,CAACU,MAAM;EAC9BS,YAAY,EAAEnB,SAAS,CAACoB,IAAI;EAC5BC,YAAY,EAAErB,SAAS,CAACoB;AAC1B,CAAC;AACD,eAAejB,yBAAyB","ignoreList":[]}
@@ -72,6 +72,8 @@ declare const propTypes: {
72
72
  customStyle: PropTypes.Requireable<{
73
73
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
74
74
  }>;
75
+ useTitle: PropTypes.Requireable<boolean>;
76
+ customLabelClassName: PropTypes.Requireable<string>;
75
77
  }>>;
76
78
  required: PropTypes.Requireable<boolean>;
77
79
  }>>;
@@ -197,6 +199,8 @@ declare const propTypes: {
197
199
  customStyle: PropTypes.Requireable<{
198
200
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
199
201
  }>;
202
+ useTitle: PropTypes.Requireable<boolean>;
203
+ customLabelClassName: PropTypes.Requireable<string>;
200
204
  }>>;
201
205
  selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
202
206
  title: PropTypes.Requireable<string>;
@@ -349,6 +353,8 @@ declare const propTypes: {
349
353
  customStyle: PropTypes.Requireable<{
350
354
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
351
355
  }>;
356
+ useTitle: PropTypes.Requireable<boolean>;
357
+ customLabelClassName: PropTypes.Requireable<string>;
352
358
  }> | PropTypes.InferProps<{
353
359
  button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
354
360
  type: PropTypes.Requireable<string>;
@@ -386,6 +392,8 @@ declare const propTypes: {
386
392
  customStyle: PropTypes.Requireable<{
387
393
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
388
394
  }>;
395
+ useTitle: PropTypes.Requireable<boolean>;
396
+ customLabelClassName: PropTypes.Requireable<string>;
389
397
  }>>>;
390
398
  menu: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
391
399
  buttons: PropTypes.Validator<(PropTypes.InferProps<{
@@ -412,9 +420,11 @@ declare const propTypes: {
412
420
  customStyle: PropTypes.Requireable<{
413
421
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
414
422
  }>;
423
+ customLabelClassName: PropTypes.Requireable<string>;
415
424
  }> | null | undefined)[]>;
416
425
  'data-name': PropTypes.Requireable<string>;
417
426
  'aria-label': PropTypes.Requireable<string>;
427
+ enableScroll: PropTypes.Requireable<boolean>;
418
428
  }>>>;
419
429
  menuWrapper: PropTypes.Requireable<PropTypes.InferProps<{
420
430
  ariaLabel: PropTypes.Requireable<string>;
@@ -425,6 +435,7 @@ declare const propTypes: {
425
435
  type: PropTypes.Requireable<string>;
426
436
  primaryColor: PropTypes.Requireable<string>;
427
437
  closeOnClick: PropTypes.Requireable<boolean>;
438
+ enableScroll: PropTypes.Requireable<boolean>;
428
439
  }> | null | undefined>>;
429
440
  }>>;
430
441
  }> | PropTypes.InferProps<{
@@ -471,6 +482,7 @@ declare const propTypes: {
471
482
  customStyle: PropTypes.Requireable<{
472
483
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
473
484
  }>;
485
+ customLabelClassName: PropTypes.Requireable<string>;
474
486
  }> | null | undefined)[]>;
475
487
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
476
488
  menuButtonClassName: PropTypes.Requireable<string>;
@@ -518,6 +530,8 @@ declare const propTypes: {
518
530
  customStyle: PropTypes.Requireable<{
519
531
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
520
532
  }>;
533
+ useTitle: PropTypes.Requireable<boolean>;
534
+ customLabelClassName: PropTypes.Requireable<string>;
521
535
  }> | PropTypes.InferProps<{
522
536
  componentType: PropTypes.Requireable<string>;
523
537
  'data-name': PropTypes.Requireable<string>;
@@ -548,6 +562,7 @@ declare const propTypes: {
548
562
  customStyle: PropTypes.Requireable<{
549
563
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
550
564
  }>;
565
+ customLabelClassName: PropTypes.Requireable<string>;
551
566
  }> | null | undefined)[]>;
552
567
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
553
568
  menuButtonClassName: PropTypes.Requireable<string>;
@@ -620,6 +635,8 @@ declare const propTypes: {
620
635
  customStyle: PropTypes.Requireable<{
621
636
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
622
637
  }>;
638
+ useTitle: PropTypes.Requireable<boolean>;
639
+ customLabelClassName: PropTypes.Requireable<string>;
623
640
  }>>;
624
641
  required: PropTypes.Requireable<boolean>;
625
642
  }> | null | undefined>>;
@@ -686,6 +703,8 @@ declare const propTypes: {
686
703
  customStyle: PropTypes.Requireable<{
687
704
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
688
705
  }>;
706
+ useTitle: PropTypes.Requireable<boolean>;
707
+ customLabelClassName: PropTypes.Requireable<string>;
689
708
  }> | null | undefined)[]>;
690
709
  buttonMenuAction: PropTypes.Requireable<PropTypes.InferProps<{
691
710
  button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
@@ -724,6 +743,8 @@ declare const propTypes: {
724
743
  customStyle: PropTypes.Requireable<{
725
744
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
726
745
  }>;
746
+ useTitle: PropTypes.Requireable<boolean>;
747
+ customLabelClassName: PropTypes.Requireable<string>;
727
748
  }>>>;
728
749
  menu: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
729
750
  buttons: PropTypes.Validator<(PropTypes.InferProps<{
@@ -750,9 +771,11 @@ declare const propTypes: {
750
771
  customStyle: PropTypes.Requireable<{
751
772
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
752
773
  }>;
774
+ customLabelClassName: PropTypes.Requireable<string>;
753
775
  }> | null | undefined)[]>;
754
776
  'data-name': PropTypes.Requireable<string>;
755
777
  'aria-label': PropTypes.Requireable<string>;
778
+ enableScroll: PropTypes.Requireable<boolean>;
756
779
  }>>>;
757
780
  menuWrapper: PropTypes.Requireable<PropTypes.InferProps<{
758
781
  ariaLabel: PropTypes.Requireable<string>;
@@ -763,6 +786,7 @@ declare const propTypes: {
763
786
  type: PropTypes.Requireable<string>;
764
787
  primaryColor: PropTypes.Requireable<string>;
765
788
  closeOnClick: PropTypes.Requireable<boolean>;
789
+ enableScroll: PropTypes.Requireable<boolean>;
766
790
  }>>;
767
791
  }> | null | undefined>>;
768
792
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAElD,OAAO,EAAC,SAAS,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAE3D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAI,EAAE,SAAS,GAAG,MAAM,CAAC;QACzB,IAAI,EACA,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,GAChD,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;KACtD,CAAC;IACF,IAAI,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;CACpD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/discipline-scope/index.js"],"names":[],"mappings":";AAKA,0DASC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/discipline-scope/index.js"],"names":[],"mappings":";AAMA,0DAWC"}
@@ -1,3 +1,4 @@
1
+ import _isEmpty from "lodash/fp/isEmpty";
1
2
  import React from 'react';
2
3
  import ScopeTabs from '../scope-tabs';
3
4
  import ScopeContent from '../scope-content';
@@ -11,11 +12,11 @@ const DisciplineScope = props => {
11
12
  } = props;
12
13
  return /*#__PURE__*/React.createElement("div", {
13
14
  className: style.scope
14
- }, /*#__PURE__*/React.createElement(ScopeTabs, {
15
+ }, !_isEmpty(levels) ? /*#__PURE__*/React.createElement(ScopeTabs, {
15
16
  onClick: onClick,
16
17
  selected: selected,
17
18
  levels: levels
18
- }), /*#__PURE__*/React.createElement(ScopeContent, {
19
+ }) : null, /*#__PURE__*/React.createElement(ScopeContent, {
19
20
  content: content
20
21
  }));
21
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","ScopeTabs","ScopeContent","style","DisciplineScope","props","onClick","selected","content","levels","createElement","className","scope","propTypes","process","env","NODE_ENV"],"sources":["../../../src/molecule/discipline-scope/index.js"],"sourcesContent":["import React from 'react';\nimport ScopeTabs from '../scope-tabs';\nimport ScopeContent from '../scope-content';\nimport style from './style.css';\n\nconst DisciplineScope = props => {\n const {onClick, selected = 0, content = {}, levels = []} = props;\n\n return (\n <div className={style.scope}>\n <ScopeTabs onClick={onClick} selected={selected} levels={levels} />\n <ScopeContent content={content} />\n </div>\n );\n};\n\nDisciplineScope.propTypes = {\n levels: ScopeTabs.propTypes.levels,\n selected: ScopeTabs.propTypes.selected,\n onClick: ScopeTabs.propTypes.onClick,\n content: ScopeContent.propTypes.content\n};\n\nexport default DisciplineScope;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,eAAe;AACrC,OAAOC,YAAY,MAAM,kBAAkB;AAC3C,OAAOC,KAAK,MAAM,aAAa;AAE/B,MAAMC,eAAe,GAAGC,KAAK,IAAI;EAC/B,MAAM;IAACC,OAAO;IAAEC,QAAQ,GAAG,CAAC;IAAEC,OAAO,GAAG,CAAC,CAAC;IAAEC,MAAM,GAAG;EAAE,CAAC,GAAGJ,KAAK;EAEhE,oBACEL,KAAA,CAAAU,aAAA;IAAKC,SAAS,EAAER,KAAK,CAACS;EAAM,gBAC1BZ,KAAA,CAAAU,aAAA,CAACT,SAAS;IAACK,OAAO,EAAEA,OAAQ;IAACC,QAAQ,EAAEA,QAAS;IAACE,MAAM,EAAEA;EAAO,CAAE,CAAC,eACnET,KAAA,CAAAU,aAAA,CAACR,YAAY;IAACM,OAAO,EAAEA;EAAQ,CAAE,CAC9B,CAAC;AAEV,CAAC;AAEDJ,eAAe,CAACS,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG;EAC1BP,MAAM,EAAER,SAAS,CAACY,SAAS,CAACJ,MAAM;EAClCF,QAAQ,EAAEN,SAAS,CAACY,SAAS,CAACN,QAAQ;EACtCD,OAAO,EAAEL,SAAS,CAACY,SAAS,CAACP,OAAO;EACpCE,OAAO,EAAEN,YAAY,CAACW,SAAS,CAACL;AAClC,CAAC;AAED,eAAeJ,eAAe","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["React","ScopeTabs","ScopeContent","style","DisciplineScope","props","onClick","selected","content","levels","createElement","className","scope","_isEmpty","propTypes","process","env","NODE_ENV"],"sources":["../../../src/molecule/discipline-scope/index.js"],"sourcesContent":["import React from 'react';\nimport {isEmpty} from 'lodash/fp';\nimport ScopeTabs from '../scope-tabs';\nimport ScopeContent from '../scope-content';\nimport style from './style.css';\n\nconst DisciplineScope = props => {\n const {onClick, selected = 0, content = {}, levels = []} = props;\n\n return (\n <div className={style.scope}>\n {!isEmpty(levels) ? (\n <ScopeTabs onClick={onClick} selected={selected} levels={levels} />\n ) : null}\n <ScopeContent content={content} />\n </div>\n );\n};\n\nDisciplineScope.propTypes = {\n levels: ScopeTabs.propTypes.levels,\n selected: ScopeTabs.propTypes.selected,\n onClick: ScopeTabs.propTypes.onClick,\n content: ScopeContent.propTypes.content\n};\n\nexport default DisciplineScope;\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,SAAS,MAAM,eAAe;AACrC,OAAOC,YAAY,MAAM,kBAAkB;AAC3C,OAAOC,KAAK,MAAM,aAAa;AAE/B,MAAMC,eAAe,GAAGC,KAAK,IAAI;EAC/B,MAAM;IAACC,OAAO;IAAEC,QAAQ,GAAG,CAAC;IAAEC,OAAO,GAAG,CAAC,CAAC;IAAEC,MAAM,GAAG;EAAE,CAAC,GAAGJ,KAAK;EAEhE,oBACEL,KAAA,CAAAU,aAAA;IAAKC,SAAS,EAAER,KAAK,CAACS;EAAM,GACzB,CAACC,QAAA,CAAQJ,MAAM,CAAC,gBACfT,KAAA,CAAAU,aAAA,CAACT,SAAS;IAACK,OAAO,EAAEA,OAAQ;IAACC,QAAQ,EAAEA,QAAS;IAACE,MAAM,EAAEA;EAAO,CAAE,CAAC,GACjE,IAAI,eACRT,KAAA,CAAAU,aAAA,CAACR,YAAY;IAACM,OAAO,EAAEA;EAAQ,CAAE,CAC9B,CAAC;AAEV,CAAC;AAEDJ,eAAe,CAACU,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG;EAC1BR,MAAM,EAAER,SAAS,CAACa,SAAS,CAACL,MAAM;EAClCF,QAAQ,EAAEN,SAAS,CAACa,SAAS,CAACP,QAAQ;EACtCD,OAAO,EAAEL,SAAS,CAACa,SAAS,CAACR,OAAO;EACpCE,OAAO,EAAEN,YAAY,CAACY,SAAS,CAACN;AAClC,CAAC;AAED,eAAeJ,eAAe","ignoreList":[]}
@@ -70,6 +70,7 @@ declare const ActionableExpandableTable: {
70
70
  customStyle: import("prop-types").Requireable<{
71
71
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
72
72
  }>;
73
+ customLabelClassName: import("prop-types").Requireable<string>;
73
74
  }> | null | undefined)[]>;
74
75
  onClick: import("prop-types").Requireable<(...args: any[]) => any>;
75
76
  menuButtonClassName: import("prop-types").Requireable<string>;
@@ -117,6 +118,8 @@ declare const ActionableExpandableTable: {
117
118
  customStyle: import("prop-types").Requireable<{
118
119
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
119
120
  }>;
121
+ useTitle: import("prop-types").Requireable<boolean>;
122
+ customLabelClassName: import("prop-types").Requireable<string>;
120
123
  }> | import("prop-types").InferProps<{
121
124
  componentType: import("prop-types").Requireable<string>;
122
125
  'data-name': import("prop-types").Requireable<string>;
@@ -147,6 +150,7 @@ declare const ActionableExpandableTable: {
147
150
  customStyle: import("prop-types").Requireable<{
148
151
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
149
152
  }>;
153
+ customLabelClassName: import("prop-types").Requireable<string>;
150
154
  }> | null | undefined)[]>;
151
155
  onClick: import("prop-types").Requireable<(...args: any[]) => any>;
152
156
  menuButtonClassName: import("prop-types").Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandible-actionable-table/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAOjE,OAAO,EAA2C,KAAK,EAAY,MAAM,SAAS,CAAC;AAqCnF,QAAA,MAAM,yBAAyB;YAAW,KAAK,iBAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoL/E,CAAC;AASF,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandible-actionable-table/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAOjE,OAAO,EAA2C,KAAK,EAAY,MAAM,SAAS,CAAC;AAqCnF,QAAA,MAAM,yBAAyB;YAAW,KAAK,iBAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoL/E,CAAC;AASF,eAAe,yBAAyB,CAAC"}
@@ -47,6 +47,7 @@ export declare const propTypes: {
47
47
  customStyle: PropTypes.Requireable<{
48
48
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
49
49
  }>;
50
+ customLabelClassName: PropTypes.Requireable<string>;
50
51
  }> | null | undefined)[]>;
51
52
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
52
53
  menuButtonClassName: PropTypes.Requireable<string>;
@@ -94,6 +95,8 @@ export declare const propTypes: {
94
95
  customStyle: PropTypes.Requireable<{
95
96
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
96
97
  }>;
98
+ useTitle: PropTypes.Requireable<boolean>;
99
+ customLabelClassName: PropTypes.Requireable<string>;
97
100
  }> | PropTypes.InferProps<{
98
101
  componentType: PropTypes.Requireable<string>;
99
102
  'data-name': PropTypes.Requireable<string>;
@@ -124,6 +127,7 @@ export declare const propTypes: {
124
127
  customStyle: PropTypes.Requireable<{
125
128
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
126
129
  }>;
130
+ customLabelClassName: PropTypes.Requireable<string>;
127
131
  }> | null | undefined)[]>;
128
132
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
129
133
  menuButtonClassName: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandible-actionable-table/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,KAAK,IAAI,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAC,KAAK,IAAI,oBAAoB,EAAC,MAAM,4BAA4B,CAAC;AA0BzE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBrB,CAAC;AAEF,oBAAY,KAAK,GACb,MAAM,GACN,CAAC,eAAe,GAAG;IACjB,aAAa,EAAE,QAAQ,CAAC;CACzB,CAAC,GACF,CAAC,oBAAoB,GAAG;IACtB,aAAa,EAAE,cAAc,CAAC;CAC/B,CAAC,CAAC;AAEP,oBAAY,SAAS,GACjB,CAAC,eAAe,GAAG;IACjB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC,GACF,CAAC,0BAA0B,GAAG;IAC5B,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEP,oBAAY,SA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AAI,CAAC;IACZ,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,GAAG,MAAM,GAAG,IAAI,GAAG,GAAG,EAAE,CAAC;IACvC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,oBAAY,WAAW,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAC,CAAC"}
@@ -33,13 +33,23 @@ declare const MultiFilterPanel: {
33
33
  onClick: import("prop-types").Requireable<(...args: any[]) => any>;
34
34
  }> | null | undefined)[]>;
35
35
  searchOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
36
- value: import("prop-types").Requireable<string>;
37
- placeholder: import("prop-types").Validator<string>;
38
- onChange: import("prop-types").Requireable<(...args: any[]) => any>;
39
- onClear: import("prop-types").Requireable<(...args: any[]) => any>;
40
- onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
41
- onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
42
- theme: import("prop-types").Requireable<string>;
36
+ action: import("prop-types").Requireable<string>;
37
+ method: import("prop-types").Requireable<string>;
38
+ onSubmit: import("prop-types").Requireable<(...args: any[]) => any>;
39
+ onReset: import("prop-types").Requireable<(...args: any[]) => any>;
40
+ onSearchFocus: import("prop-types").Requireable<(...args: any[]) => any>;
41
+ onSearchBlur: import("prop-types").Requireable<(...args: any[]) => any>;
42
+ search: import("prop-types").Requireable<import("prop-types").InferProps<{
43
+ value: import("prop-types").Requireable<string>;
44
+ placeholder: import("prop-types").Validator<string>;
45
+ onChange: import("prop-types").Requireable<(...args: any[]) => any>;
46
+ onClear: import("prop-types").Requireable<(...args: any[]) => any>;
47
+ onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
48
+ onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
49
+ theme: import("prop-types").Requireable<string>;
50
+ dataTestId: import("prop-types").Requireable<string>;
51
+ }>>;
52
+ 'search-reset-aria-label': import("prop-types").Requireable<string>;
43
53
  dataTestId: import("prop-types").Requireable<string>;
44
54
  }>>;
45
55
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAEjE,OAAkB,EAAC,qBAAqB,EAAqB,MAAM,cAAc,CAAC;AAqBlF,QAAA,MAAM,gBAAgB;YAAW,qBAAqB,WAAW,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDhF,CAAC;AAQF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAEjE,OAAkB,EAAC,qBAAqB,EAAqB,MAAM,cAAc,CAAC;AAqBlF,QAAA,MAAM,gBAAgB;YAAW,qBAAqB,WAAW,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDhF,CAAC;AAQF,eAAe,gBAAgB,CAAC"}
@@ -6,7 +6,7 @@ import _size from "lodash/fp/size";
6
6
  import _map from "lodash/fp/map";
7
7
  import React from 'react';
8
8
  import FilterChip from '../../organism/filter-chip';
9
- import FilterCheckboxAndSearch from '../../organism/filter-checkbox-and-search';
9
+ import FilterCkeckboxAndSearch from '../../organism/filter-checkbox-and-search';
10
10
  import Title from '../../atom/title';
11
11
  import Tag from '../../atom/tag';
12
12
  import ButtonLink from '../../atom/button-link';
@@ -34,7 +34,7 @@ const buildFilters = filterOptions => {
34
34
  case 'chip':
35
35
  return /*#__PURE__*/React.createElement(FilterChip, options);
36
36
  case 'checkbox':
37
- return /*#__PURE__*/React.createElement(FilterCheckboxAndSearch, options);
37
+ return /*#__PURE__*/React.createElement(FilterCkeckboxAndSearch, options);
38
38
  default:
39
39
  return null;
40
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","FilterChip","FilterCheckboxAndSearch","Title","Tag","ButtonLink","Provider","GetTranslateFromContext","propTypes","style","uncappedMap","_map","convert","cap","CLEAR_ALL_BUTTON_STYLE","fontWeight","padding","FilterSeparator","createElement","className","filterSeparator","buildFilters","filterOptions","type","options","MultiFilterPanel","props","context","title","onClearAll","translate","allSelectedFilters","_pipe","_flatMap","_filter","selected","_size","hasSelectedFilters","filters","i","isLastItem","key","Fragment","header","titleContainer","titleSize","label","_toString","size","buttonContainer","customStyle","onClick","process","env","NODE_ENV","contextTypes","childContextTypes"],"sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"sourcesContent":["import React from 'react';\nimport {map, size, pipe, filter, flatMap, toString} from 'lodash/fp';\nimport FilterChip from '../../organism/filter-chip';\nimport FilterCheckboxAndSearch from '../../organism/filter-checkbox-and-search';\nimport Title from '../../atom/title';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport Provider, {GetTranslateFromContext} from '../../atom/provider';\nimport propTypes, {MultiFilterPanelProps, FilterOptionsProps} from './prop-types';\nimport style from './style.css';\n\n// @ts-expect-error convert is not recognized by the types\nconst uncappedMap = map.convert({cap: false});\n\nconst CLEAR_ALL_BUTTON_STYLE = {fontWeight: 'normal', padding: 0};\nconst FilterSeparator = <div className={style.filterSeparator} />;\n\nconst buildFilters = (filterOptions: FilterOptionsProps) => {\n const {type, options} = filterOptions;\n switch (type) {\n case 'chip':\n return <FilterChip {...options} />;\n case 'checkbox':\n return <FilterCheckboxAndSearch {...options} />;\n default:\n return null;\n }\n};\n\nconst MultiFilterPanel = (props: MultiFilterPanelProps, context: WebContextValues) => {\n const {title, onClearAll, options} = props;\n const translate = GetTranslateFromContext(context);\n const allSelectedFilters = pipe(\n map('options'),\n flatMap('options'),\n filter({selected: true}),\n size\n )(options);\n const hasSelectedFilters = allSelectedFilters > 0;\n\n const filters = uncappedMap((filterOptions: FilterOptionsProps, i: number) => {\n const isLastItem = i + 1 === size(options);\n\n return (\n <div key={i}>\n {buildFilters(filterOptions)}\n {isLastItem ? null : FilterSeparator}\n </div>\n );\n }, options);\n\n return (\n <>\n <div className={style.header}>\n <div className={style.titleContainer}>\n <Title title={title} type=\"form-group\" titleSize=\"standard-light-weight\" />\n {hasSelectedFilters ? (\n <Tag label={toString(allSelectedFilters)} type=\"info\" size=\"S\" />\n ) : null}\n </div>\n {hasSelectedFilters ? (\n <div className={style.buttonContainer}>\n <ButtonLink\n customStyle={CLEAR_ALL_BUTTON_STYLE}\n label={translate('clear_all')}\n type=\"text\"\n data-name=\"filters-all-clear-button\"\n aria-label=\"filters all clear button\"\n onClick={onClearAll}\n />\n </div>\n ) : null}\n </div>\n\n {filters}\n </>\n );\n};\n\nMultiFilterPanel.propTypes = propTypes;\n\nMultiFilterPanel.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default MultiFilterPanel;\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,UAAU,MAAM,4BAA4B;AACnD,OAAOC,uBAAuB,MAAM,2CAA2C;AAC/E,OAAOC,KAAK,MAAM,kBAAkB;AACpC,OAAOC,GAAG,MAAM,gBAAgB;AAChC,OAAOC,UAAU,MAAM,wBAAwB;AAE/C,OAAOC,QAAQ,IAAGC,uBAAuB,QAAO,qBAAqB;AACrE,OAAOC,SAAS,MAAmD,cAAc;AACjF,OAAOC,KAAK,MAAM,aAAa;;AAE/B;AACA,MAAMC,WAAW,GAAGC,IAAA,CAAIC,OAAO,CAAC;EA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Search","Title","Tag","ButtonLink","Provider","GetTranslateFromContext","propTypes","style","uncappedMap","_map","convert","cap","CLEAR_ALL_BUTTON_STYLE","fontWeight","padding","FilterSeparator","createElement","className","filterSeparator","buildFilters","filterOptions","type","options","MultiFilterPanel","props","context","title","onClearAll","translate","allSelectedFilters","_pipe","_flatMap","_filter","selected","_size","hasSelectedFilters","filters","i","isLastItem","key","Fragment","header","titleContainer","titleSize","label","_toString","size","buttonContainer","customStyle","onClick","process","env","NODE_ENV","contextTypes","childContextTypes"],"sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"sourcesContent":["import React from 'react';\nimport {map, size, pipe, filter, flatMap, toString} from 'lodash/fp';\nimport FilterChip from '../../organism/filter-chip';\nimport FilterCkeckboxAndSearch from '../../organism/filter-checkbox-and-search';\nimport Title from '../../atom/title';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport Provider, {GetTranslateFromContext} from '../../atom/provider';\nimport propTypes, {MultiFilterPanelProps, FilterOptionsProps} from './prop-types';\nimport style from './style.css';\n\n// @ts-expect-error convert is not recognized by the types\nconst uncappedMap = map.convert({cap: false});\n\nconst CLEAR_ALL_BUTTON_STYLE = {fontWeight: 'normal', padding: 0};\nconst FilterSeparator = <div className={style.filterSeparator} />;\n\nconst buildFilters = (filterOptions: FilterOptionsProps) => {\n const {type, options} = filterOptions;\n switch (type) {\n case 'chip':\n return <FilterChip {...options} />;\n case 'checkbox':\n return <FilterCkeckboxAndSearch {...options} />;\n default:\n return null;\n }\n};\n\nconst MultiFilterPanel = (props: MultiFilterPanelProps, context: WebContextValues) => {\n const {title, onClearAll, options} = props;\n const translate = GetTranslateFromContext(context);\n const allSelectedFilters = pipe(\n map('options'),\n flatMap('options'),\n filter({selected: true}),\n size\n )(options);\n const hasSelectedFilters = allSelectedFilters > 0;\n\n const filters = uncappedMap((filterOptions: FilterOptionsProps, i: number) => {\n const isLastItem = i + 1 === size(options);\n\n return (\n <div key={i}>\n {buildFilters(filterOptions)}\n {isLastItem ? null : FilterSeparator}\n </div>\n );\n }, options);\n\n return (\n <>\n <div className={style.header}>\n <div className={style.titleContainer}>\n <Title title={title} type=\"form-group\" titleSize=\"standard-light-weight\" />\n {hasSelectedFilters ? (\n <Tag label={toString(allSelectedFilters)} type=\"info\" size=\"S\" />\n ) : null}\n </div>\n {hasSelectedFilters ? (\n <div className={style.buttonContainer}>\n <ButtonLink\n customStyle={CLEAR_ALL_BUTTON_STYLE}\n label={translate('clear_all')}\n type=\"text\"\n data-name=\"filters-all-clear-button\"\n aria-label=\"filters all clear button\"\n onClick={onClearAll}\n />\n </div>\n ) : null}\n </div>\n\n {filters}\n </>\n );\n};\n\nMultiFilterPanel.propTypes = propTypes;\n\nMultiFilterPanel.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default MultiFilterPanel;\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,UAAU,MAAM,4BAA4B;AACnD,OAAOC,uBAAuB,MAAM,2CAA2C;AAC/E,OAAOC,KAAK,MAAM,kBAAkB;AACpC,OAAOC,GAAG,MAAM,gBAAgB;AAChC,OAAOC,UAAU,MAAM,wBAAwB;AAE/C,OAAOC,QAAQ,IAAGC,uBAAuB,QAAO,qBAAqB;AACrE,OAAOC,SAAS,MAAmD,cAAc;AACjF,OAAOC,KAAK,MAAM,aAAa;;AAE/B;AACA,MAAMC,WAAW,GAAGC,IAAA,CAAIC,OAAO,CAAC;EAACC,GAAG,EAAE;AAAK,CAAC,CAAC;AAE7C,MAAMC,sBAAsB,GAAG;EAACC,UAAU,EAAE,QAAQ;EAAEC,OAAO,EAAE;AAAC,CAAC;AACjE,MAAMC,eAAe,gBAAGjB,KAAA,CAAAkB,aAAA;EAAKC,SAAS,EAAEV,KAAK,CAACW;AAAgB,CAAE,CAAC;AAEjE,MAAMC,YAAY,GAAIC,aAAiC,IAAK;EAC1D,MAAM;IAACC,IAAI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C5C,KAAA,CAAAkB,aAAA,CAACf,KAAK;IAACyB,KAAK,EAAEA,KAAM;IAACL,IAAI,EAAC,YAAY;IAACsB,SAAS,EAAC;EAAuB,CAAE,CAAC,EAC1ER,kBAAkB,gBACjBrC,KAAA,CAAAkB,aAAA,CAACd,GAAG;IAAC0C,KAAK,EAAEC,SAAA,CAAShB,kBAAkB,CAAE;IAACR,IAAI,EAAC,MAAM;IAACyB,IAAI,EAAC;EAAG,CAAE,CAAC,GAC/D,IACD,CAAC,EACLX,kBAAkB,gBACjBrC,KAAA,CAAAkB,aAAA;IAAKC,SAAS,EAAEV,KAAK,CAACwC;EAAgB,gBACpCjD,KAAA,CAAAkB,aAAA,CAACb,UAAU;IACT6C,WAAW,EAAEpC,sBAAuB;IACpCgC,KAAK,EAAEhB,SAAS,CAAC,WAAW,CAAE;IAC9BP,IAAI,EAAC,MAAM;IACX,aAAU,0BAA0B;IACpC,cAAW,0BAA0B;IACrC4B,OAAO,EAAEtB;EAAW,CACrB,CACE,CAAC,GACJ,IACD,CAAC,EAELS,OACD,CAAC;AAEP,CAAC;AAEDb,gBAAgB,CAACjB,SAAS,GAAA4C,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG9C,SAAS;AAEtCiB,gBAAgB,CAAC8B,YAAY,GAAG;EAC9BzB,SAAS,EAAExB,QAAQ,CAACkD,iBAAiB,CAAC1B;AACxC,CAAC;AAED,eAAeL,gBAAgB","ignoreList":[]}
@@ -31,13 +31,23 @@ declare const propTypes: {
31
31
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
32
32
  }> | null | undefined)[]>;
33
33
  searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
34
- value: PropTypes.Requireable<string>;
35
- placeholder: PropTypes.Validator<string>;
36
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
37
- onClear: PropTypes.Requireable<(...args: any[]) => any>;
38
- onFocus: PropTypes.Requireable<(...args: any[]) => any>;
39
- onBlur: PropTypes.Requireable<(...args: any[]) => any>;
40
- theme: PropTypes.Requireable<string>;
34
+ action: PropTypes.Requireable<string>;
35
+ method: PropTypes.Requireable<string>;
36
+ onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
37
+ onReset: PropTypes.Requireable<(...args: any[]) => any>;
38
+ onSearchFocus: PropTypes.Requireable<(...args: any[]) => any>;
39
+ onSearchBlur: PropTypes.Requireable<(...args: any[]) => any>;
40
+ search: PropTypes.Requireable<PropTypes.InferProps<{
41
+ value: PropTypes.Requireable<string>;
42
+ placeholder: PropTypes.Validator<string>;
43
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
44
+ onClear: PropTypes.Requireable<(...args: any[]) => any>;
45
+ onFocus: PropTypes.Requireable<(...args: any[]) => any>;
46
+ onBlur: PropTypes.Requireable<(...args: any[]) => any>;
47
+ theme: PropTypes.Requireable<string>;
48
+ dataTestId: PropTypes.Requireable<string>;
49
+ }>>;
50
+ 'search-reset-aria-label': PropTypes.Requireable<string>;
41
51
  dataTestId: PropTypes.Requireable<string>;
42
52
  }>>;
43
53
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAA4B,EAAC,eAAe,EAAC,MAAM,uCAAuC,CAAC;AAC3F,OAAyC,EACvC,4BAA4B,EAC7B,MAAM,uDAAuD,CAAC;AAE/D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAed,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,4BAA4B,CAAC;CACvC,CAAC;AAEF,oBAAY,kBAAkB,GAAG,gBAAgB,GAAG,oBAAoB,CAAC;AAEzE,oBAAY,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAA4B,EAAC,eAAe,EAAC,MAAM,uCAAuC,CAAC;AAC3F,OAAyC,EACvC,4BAA4B,EAC7B,MAAM,uDAAuD,CAAC;AAE/D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAed,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,4BAA4B,CAAC;CACvC,CAAC;AAEF,oBAAY,kBAAkB,GAAG,gBAAgB,GAAG,oBAAoB,CAAC;AAEzE,oBAAY,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -82,6 +82,8 @@ declare namespace TitleAndCheckBoxWrapper {
82
82
  customStyle: PropTypes.Requireable<{
83
83
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
84
84
  }>;
85
+ useTitle: PropTypes.Requireable<boolean>;
86
+ customLabelClassName: PropTypes.Requireable<string>;
85
87
  }>>;
86
88
  required: PropTypes.Requireable<boolean>;
87
89
  }>>;
@@ -67,6 +67,8 @@ declare const TitleRadioWrapper: {
67
67
  customStyle: import("prop-types").Requireable<{
68
68
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
69
69
  }>;
70
+ useTitle: import("prop-types").Requireable<boolean>;
71
+ customLabelClassName: import("prop-types").Requireable<string>;
70
72
  }>>;
71
73
  required: import("prop-types").Requireable<boolean>;
72
74
  }>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-radio-wrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAqB1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQvD,CAAC;AAIF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-radio-wrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAqB1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQvD,CAAC;AAIF,eAAe,iBAAiB,CAAC"}
@@ -68,6 +68,8 @@ declare const propTypes: {
68
68
  customStyle: PropTypes.Requireable<{
69
69
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
70
70
  }>;
71
+ useTitle: PropTypes.Requireable<boolean>;
72
+ customLabelClassName: PropTypes.Requireable<string>;
71
73
  }>>;
72
74
  required: PropTypes.Requireable<boolean>;
73
75
  }>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-radio-wrapper/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,kBAAkB,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EAAC,mBAAmB,EAAC,MAAM,mCAAmC,CAAC;AACtE,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAEhD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOd,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,cAAc,EAAE,mBAAmB,CAAC;IACpC,KAAK,EAAE,OAAO,cAAc,CAAC,SAAS,GAAG,OAAO,kBAAkB,CAAC,SAAS,CAAC;IAC7E,SAAS,EAAE,iBAAiB,GAAG,gBAAgB,CAAC;CACjD,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-radio-wrapper/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,kBAAkB,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EAAC,mBAAmB,EAAC,MAAM,mCAAmC,CAAC;AACtE,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAEhD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOd,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,cAAc,EAAE,mBAAmB,CAAC;IACpC,KAAK,EAAE,OAAO,cAAc,CAAC,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