@coorpacademy/components 11.42.4 → 11.42.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 (215) hide show
  1. package/es/atom/checkbox-with-title/index.d.ts +1 -0
  2. package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
  3. package/es/atom/checkbox-with-title/index.js +6 -1
  4. package/es/atom/checkbox-with-title/index.js.map +1 -1
  5. package/es/atom/input-search/index.d.ts +1 -0
  6. package/es/atom/input-search/index.d.ts.map +1 -1
  7. package/es/atom/input-search/index.js +7 -2
  8. package/es/atom/input-search/index.js.map +1 -1
  9. package/es/atom/input-text/index.d.ts +1 -0
  10. package/es/atom/input-text/index.d.ts.map +1 -1
  11. package/es/atom/input-text/index.js +3 -0
  12. package/es/atom/input-text/index.js.map +1 -1
  13. package/es/atom/input-text-with-title/index.d.ts +1 -0
  14. package/es/molecule/brand-form-group/index.d.ts +1 -0
  15. package/es/molecule/brand-form-group/index.d.ts.map +1 -1
  16. package/es/molecule/brand-form-group/index.js +10 -1
  17. package/es/molecule/brand-form-group/index.js.map +1 -1
  18. package/es/molecule/cm-popin/types.d.ts +3 -0
  19. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  20. package/es/molecule/course-sections/index.d.ts +1 -0
  21. package/es/molecule/drag-and-drop/index.d.ts +1 -0
  22. package/es/molecule/drag-and-drop/upload-report.d.ts +1 -0
  23. package/es/molecule/draggable-list/index.d.ts +1 -0
  24. package/es/molecule/multi-filter-panel/index.d.ts +1 -0
  25. package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
  26. package/es/molecule/multi-filter-panel/prop-types.d.ts +1 -0
  27. package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  28. package/es/molecule/search-form/index.d.ts +1 -0
  29. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
  30. package/es/molecule/translation-modal/index.d.ts +2 -0
  31. package/es/organism/assignment-edition/index.d.ts +259 -0
  32. package/es/organism/assignment-edition/index.d.ts.map +1 -0
  33. package/es/organism/assignment-edition/index.js +116 -0
  34. package/es/organism/assignment-edition/index.js.map +1 -0
  35. package/es/organism/assignment-edition/style.css +27 -0
  36. package/es/organism/assignment-edition/types.d.ts +310 -0
  37. package/es/organism/assignment-edition/types.d.ts.map +1 -0
  38. package/es/organism/assignment-edition/types.js +53 -0
  39. package/es/organism/assignment-edition/types.js.map +1 -0
  40. package/es/organism/brand-form/index.d.ts +1 -0
  41. package/es/organism/brand-learning-priorities/index.d.ts +1 -0
  42. package/es/organism/brand-table/index.d.ts +1 -0
  43. package/es/organism/content-selection-list/index.d.ts +8 -1
  44. package/es/organism/content-selection-list/index.d.ts.map +1 -1
  45. package/es/organism/content-selection-list/index.js +15 -6
  46. package/es/organism/content-selection-list/index.js.map +1 -1
  47. package/es/organism/content-selection-list/types.d.ts +13 -0
  48. package/es/organism/content-selection-list/types.d.ts.map +1 -1
  49. package/es/organism/content-selection-list/types.js +7 -0
  50. package/es/organism/content-selection-list/types.js.map +1 -1
  51. package/es/organism/content-skill-modal/index.d.ts +15 -0
  52. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  53. package/es/organism/content-skill-modal/index.js +27 -8
  54. package/es/organism/content-skill-modal/index.js.map +1 -1
  55. package/es/organism/content-skill-modal/types.d.ts +28 -1
  56. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  57. package/es/organism/content-skill-modal/types.js +14 -1
  58. package/es/organism/content-skill-modal/types.js.map +1 -1
  59. package/es/organism/content-translation/index.d.ts +1 -0
  60. package/es/organism/filter-checkbox-and-search/index.d.ts +1 -0
  61. package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  62. package/es/organism/filter-checkbox-and-search/props-types.d.ts +1 -0
  63. package/es/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  64. package/es/organism/icon-editor/index.d.ts +1 -0
  65. package/es/organism/icon-editor/index.d.ts.map +1 -1
  66. package/es/organism/icon-editor/types.d.ts +1 -0
  67. package/es/organism/icon-editor/types.d.ts.map +1 -1
  68. package/es/organism/list-item/index.d.ts +1 -0
  69. package/es/organism/list-items/index.d.ts +3 -0
  70. package/es/organism/mooc-header/index.d.ts +1 -0
  71. package/es/organism/mooc-header/index.d.ts.map +1 -1
  72. package/es/organism/rewards-form/index.d.ts +2 -0
  73. package/es/organism/select-opponents/index.d.ts +2 -0
  74. package/es/organism/select-opponents/index.d.ts.map +1 -1
  75. package/es/organism/select-opponents/types.d.ts +2 -0
  76. package/es/organism/select-opponents/types.d.ts.map +1 -1
  77. package/es/organism/skill-edition/index.d.ts +9 -0
  78. package/es/organism/skill-edition/index.d.ts.map +1 -1
  79. package/es/organism/skill-edition/types.d.ts +9 -0
  80. package/es/organism/skill-edition/types.d.ts.map +1 -1
  81. package/es/organism/title-and-input/index.d.ts +4 -0
  82. package/es/organism/title-and-input/index.d.ts.map +1 -1
  83. package/es/organism/title-and-input/types.d.ts +4 -0
  84. package/es/organism/title-and-input/types.d.ts.map +1 -1
  85. package/es/organism/wizard-contents/index.d.ts +5 -0
  86. package/es/template/app-player/loading/index.d.ts +3 -0
  87. package/es/template/app-player/player/index.d.ts +6 -0
  88. package/es/template/app-player/player/slides/index.d.ts +3 -0
  89. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  90. package/es/template/app-player/popin-correction/index.d.ts +3 -0
  91. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  92. package/es/template/app-player/popin-end/index.d.ts +3 -0
  93. package/es/template/app-review/index.d.ts +3 -0
  94. package/es/template/app-review/index.d.ts.map +1 -1
  95. package/es/template/app-review/player/prop-types.d.ts +3 -0
  96. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  97. package/es/template/app-review/prop-types.d.ts +3 -0
  98. package/es/template/app-review/prop-types.d.ts.map +1 -1
  99. package/es/template/back-office/brand-update/index.d.ts +288 -0
  100. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  101. package/es/template/back-office/brand-update/index.js +7 -0
  102. package/es/template/back-office/brand-update/index.js.map +1 -1
  103. package/es/template/certification-detail/index.d.ts +3 -0
  104. package/es/template/common/dashboard/index.d.ts +6 -0
  105. package/es/template/common/search-page/index.d.ts +3 -0
  106. package/es/template/external-course/index.d.ts +3 -0
  107. package/es/template/playlist-detail/index.d.ts +3 -0
  108. package/lib/atom/checkbox-with-title/index.d.ts +1 -0
  109. package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
  110. package/lib/atom/checkbox-with-title/index.js +6 -1
  111. package/lib/atom/checkbox-with-title/index.js.map +1 -1
  112. package/lib/atom/input-search/index.d.ts +1 -0
  113. package/lib/atom/input-search/index.d.ts.map +1 -1
  114. package/lib/atom/input-search/index.js +7 -2
  115. package/lib/atom/input-search/index.js.map +1 -1
  116. package/lib/atom/input-text/index.d.ts +1 -0
  117. package/lib/atom/input-text/index.d.ts.map +1 -1
  118. package/lib/atom/input-text/index.js +3 -0
  119. package/lib/atom/input-text/index.js.map +1 -1
  120. package/lib/atom/input-text-with-title/index.d.ts +1 -0
  121. package/lib/molecule/brand-form-group/index.d.ts +1 -0
  122. package/lib/molecule/brand-form-group/index.d.ts.map +1 -1
  123. package/lib/molecule/brand-form-group/index.js +10 -1
  124. package/lib/molecule/brand-form-group/index.js.map +1 -1
  125. package/lib/molecule/cm-popin/types.d.ts +3 -0
  126. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  127. package/lib/molecule/course-sections/index.d.ts +1 -0
  128. package/lib/molecule/drag-and-drop/index.d.ts +1 -0
  129. package/lib/molecule/drag-and-drop/upload-report.d.ts +1 -0
  130. package/lib/molecule/draggable-list/index.d.ts +1 -0
  131. package/lib/molecule/multi-filter-panel/index.d.ts +1 -0
  132. package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
  133. package/lib/molecule/multi-filter-panel/prop-types.d.ts +1 -0
  134. package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  135. package/lib/molecule/search-form/index.d.ts +1 -0
  136. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
  137. package/lib/molecule/translation-modal/index.d.ts +2 -0
  138. package/lib/organism/assignment-edition/index.d.ts +259 -0
  139. package/lib/organism/assignment-edition/index.d.ts.map +1 -0
  140. package/lib/organism/assignment-edition/index.js +123 -0
  141. package/lib/organism/assignment-edition/index.js.map +1 -0
  142. package/lib/organism/assignment-edition/style.css +27 -0
  143. package/lib/organism/assignment-edition/types.d.ts +310 -0
  144. package/lib/organism/assignment-edition/types.d.ts.map +1 -0
  145. package/lib/organism/assignment-edition/types.js +58 -0
  146. package/lib/organism/assignment-edition/types.js.map +1 -0
  147. package/lib/organism/brand-form/index.d.ts +1 -0
  148. package/lib/organism/brand-learning-priorities/index.d.ts +1 -0
  149. package/lib/organism/brand-table/index.d.ts +1 -0
  150. package/lib/organism/content-selection-list/index.d.ts +8 -1
  151. package/lib/organism/content-selection-list/index.d.ts.map +1 -1
  152. package/lib/organism/content-selection-list/index.js +15 -6
  153. package/lib/organism/content-selection-list/index.js.map +1 -1
  154. package/lib/organism/content-selection-list/types.d.ts +13 -0
  155. package/lib/organism/content-selection-list/types.d.ts.map +1 -1
  156. package/lib/organism/content-selection-list/types.js +7 -0
  157. package/lib/organism/content-selection-list/types.js.map +1 -1
  158. package/lib/organism/content-skill-modal/index.d.ts +15 -0
  159. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  160. package/lib/organism/content-skill-modal/index.js +27 -8
  161. package/lib/organism/content-skill-modal/index.js.map +1 -1
  162. package/lib/organism/content-skill-modal/types.d.ts +28 -1
  163. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  164. package/lib/organism/content-skill-modal/types.js +14 -1
  165. package/lib/organism/content-skill-modal/types.js.map +1 -1
  166. package/lib/organism/content-translation/index.d.ts +1 -0
  167. package/lib/organism/filter-checkbox-and-search/index.d.ts +1 -0
  168. package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  169. package/lib/organism/filter-checkbox-and-search/props-types.d.ts +1 -0
  170. package/lib/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  171. package/lib/organism/icon-editor/index.d.ts +1 -0
  172. package/lib/organism/icon-editor/index.d.ts.map +1 -1
  173. package/lib/organism/icon-editor/types.d.ts +1 -0
  174. package/lib/organism/icon-editor/types.d.ts.map +1 -1
  175. package/lib/organism/list-item/index.d.ts +1 -0
  176. package/lib/organism/list-items/index.d.ts +3 -0
  177. package/lib/organism/mooc-header/index.d.ts +1 -0
  178. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  179. package/lib/organism/rewards-form/index.d.ts +2 -0
  180. package/lib/organism/select-opponents/index.d.ts +2 -0
  181. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  182. package/lib/organism/select-opponents/types.d.ts +2 -0
  183. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  184. package/lib/organism/skill-edition/index.d.ts +9 -0
  185. package/lib/organism/skill-edition/index.d.ts.map +1 -1
  186. package/lib/organism/skill-edition/types.d.ts +9 -0
  187. package/lib/organism/skill-edition/types.d.ts.map +1 -1
  188. package/lib/organism/title-and-input/index.d.ts +4 -0
  189. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  190. package/lib/organism/title-and-input/types.d.ts +4 -0
  191. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  192. package/lib/organism/wizard-contents/index.d.ts +5 -0
  193. package/lib/template/app-player/loading/index.d.ts +3 -0
  194. package/lib/template/app-player/player/index.d.ts +6 -0
  195. package/lib/template/app-player/player/slides/index.d.ts +3 -0
  196. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  197. package/lib/template/app-player/popin-correction/index.d.ts +3 -0
  198. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  199. package/lib/template/app-player/popin-end/index.d.ts +3 -0
  200. package/lib/template/app-review/index.d.ts +3 -0
  201. package/lib/template/app-review/index.d.ts.map +1 -1
  202. package/lib/template/app-review/player/prop-types.d.ts +3 -0
  203. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  204. package/lib/template/app-review/prop-types.d.ts +3 -0
  205. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  206. package/lib/template/back-office/brand-update/index.d.ts +288 -0
  207. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  208. package/lib/template/back-office/brand-update/index.js +7 -0
  209. package/lib/template/back-office/brand-update/index.js.map +1 -1
  210. package/lib/template/certification-detail/index.d.ts +3 -0
  211. package/lib/template/common/dashboard/index.d.ts +6 -0
  212. package/lib/template/common/search-page/index.d.ts +3 -0
  213. package/lib/template/external-course/index.d.ts +3 -0
  214. package/lib/template/playlist-detail/index.d.ts +3 -0
  215. package/package.json +2 -2
@@ -1,10 +1,12 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import { ButtonLinkProps } from '../../atom/button-link/types';
3
3
  export declare const ContentSelectionListPropTypes: {
4
+ disabled: PropTypes.Requireable<boolean>;
4
5
  title: PropTypes.Validator<string>;
5
6
  subtitle: PropTypes.Requireable<string>;
6
7
  button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
7
8
  label: PropTypes.Validator<string>;
9
+ disabled: PropTypes.Requireable<boolean>;
8
10
  onClick: PropTypes.Validator<(...args: any[]) => any>;
9
11
  }>>>;
10
12
  list: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
@@ -22,17 +24,20 @@ export declare const ContentSelectionListPropTypes: {
22
24
  }>>>;
23
25
  checkbox: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
24
26
  checked: PropTypes.Validator<boolean>;
27
+ disabled: PropTypes.Requireable<boolean>;
25
28
  onChange: PropTypes.Validator<(...args: any[]) => any>;
26
29
  }>>>;
27
30
  deleteButton: PropTypes.Requireable<PropTypes.InferProps<{
28
31
  label: PropTypes.Requireable<string>;
29
32
  'aria-label': PropTypes.Requireable<string>;
33
+ disabled: PropTypes.Requireable<boolean>;
30
34
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
31
35
  }>>;
32
36
  }>>[]>;
33
37
  search: PropTypes.Requireable<PropTypes.InferProps<{
34
38
  value: PropTypes.Validator<string>;
35
39
  placeholder: PropTypes.Validator<string>;
40
+ disabled: PropTypes.Requireable<boolean>;
36
41
  onChange: PropTypes.Validator<(...args: any[]) => any>;
37
42
  }>>;
38
43
  emptyResult: PropTypes.Requireable<PropTypes.InferProps<{
@@ -42,6 +47,7 @@ export declare const ContentSelectionListPropTypes: {
42
47
  checkbox: PropTypes.Requireable<PropTypes.InferProps<{
43
48
  title: PropTypes.Validator<string>;
44
49
  checked: PropTypes.Validator<boolean>;
50
+ disabled: PropTypes.Requireable<boolean>;
45
51
  onChange: PropTypes.Validator<(...args: any[]) => any>;
46
52
  }>>;
47
53
  }>>>;
@@ -52,6 +58,7 @@ export declare const ContentSelectionListPropTypes: {
52
58
  checkboxWithTitle: PropTypes.Requireable<PropTypes.InferProps<{
53
59
  title: PropTypes.Requireable<string>;
54
60
  checked: PropTypes.Requireable<boolean>;
61
+ disabled: PropTypes.Requireable<boolean>;
55
62
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
56
63
  }>>;
57
64
  readOnly: PropTypes.Requireable<boolean>;
@@ -69,6 +76,7 @@ export declare type ContentListItemType = {
69
76
  };
70
77
  checkbox: {
71
78
  checked: boolean;
79
+ disabled?: boolean;
72
80
  onChange: (value: boolean) => void;
73
81
  };
74
82
  deleteButton?: ButtonLinkProps;
@@ -76,15 +84,18 @@ export declare type ContentListItemType = {
76
84
  export declare type CheckboxWithTitleProps = {
77
85
  title?: string;
78
86
  checked?: boolean;
87
+ disabled?: boolean;
79
88
  onChange?: (value: boolean) => void;
80
89
  };
81
90
  export declare type ContentPropsType = {
91
+ disabled?: boolean;
82
92
  error?: string;
83
93
  hiddenLabel?: string;
84
94
  title: string;
85
95
  subtitle?: string;
86
96
  button: {
87
97
  label: string;
98
+ disabled?: boolean;
88
99
  onClick: () => void;
89
100
  };
90
101
  list: {
@@ -93,6 +104,7 @@ export declare type ContentPropsType = {
93
104
  search?: {
94
105
  value: string;
95
106
  placeholder: string;
107
+ disabled?: boolean;
96
108
  onChange: (value: string) => void;
97
109
  };
98
110
  emptyResult?: {
@@ -102,6 +114,7 @@ export declare type ContentPropsType = {
102
114
  checkbox?: {
103
115
  title: string;
104
116
  checked: boolean;
117
+ disabled?: boolean;
105
118
  onChange: (value: boolean) => void;
106
119
  };
107
120
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-selection-list/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAE7D,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDzC,CAAC;AAEF,oBAAY,mBAAmB,GAAG;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,QAAQ,EAAE;QACR,OAAO,EAAE,OAAO,CAAC;QACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;KACpC,CAAC;IACF,YAAY,CAAC,EAAE,eAAe,CAAC;CAChC,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACrC,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,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,IAAI,CAAC;SACnC,CAAC;QACF,WAAW,CAAC,EAAE;YACZ,KAAK,EAAE,MAAM,CAAC;YACd,WAAW,EAAE,MAAM,CAAC;SACrB,CAAC;QACF,QAAQ,CAAC,EAAE;YACT,KAAK,EAAE,MAAM,CAAC;YACd,OAAO,EAAE,OAAO,CAAC;YACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;YACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;SACpC,CAAC;KACH,CAAC;IACF,aAAa,CAAC,EAAE,eAAe,EAAE,CAAC;IAClC,iBAAiB,CAAC,EAAE,sBAAsB,CAAC;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import PropTypes from 'prop-types';
2
2
  export const ContentSelectionListPropTypes = {
3
+ disabled: PropTypes.bool,
3
4
  title: PropTypes.string.isRequired,
4
5
  subtitle: PropTypes.string,
5
6
  button: PropTypes.shape({
6
7
  label: PropTypes.string.isRequired,
8
+ disabled: PropTypes.bool,
7
9
  onClick: PropTypes.func.isRequired
8
10
  }).isRequired,
9
11
  list: PropTypes.shape({
@@ -21,17 +23,20 @@ export const ContentSelectionListPropTypes = {
21
23
  }).isRequired,
22
24
  checkbox: PropTypes.shape({
23
25
  checked: PropTypes.bool.isRequired,
26
+ disabled: PropTypes.bool,
24
27
  onChange: PropTypes.func.isRequired
25
28
  }).isRequired,
26
29
  deleteButton: PropTypes.shape({
27
30
  label: PropTypes.string,
28
31
  'aria-label': PropTypes.string,
32
+ disabled: PropTypes.bool,
29
33
  onClick: PropTypes.func
30
34
  })
31
35
  }).isRequired),
32
36
  search: PropTypes.shape({
33
37
  value: PropTypes.string.isRequired,
34
38
  placeholder: PropTypes.string.isRequired,
39
+ disabled: PropTypes.bool,
35
40
  onChange: PropTypes.func.isRequired
36
41
  }),
37
42
  emptyResult: PropTypes.shape({
@@ -41,6 +46,7 @@ export const ContentSelectionListPropTypes = {
41
46
  checkbox: PropTypes.shape({
42
47
  title: PropTypes.string.isRequired,
43
48
  checked: PropTypes.bool.isRequired,
49
+ disabled: PropTypes.bool,
44
50
  onChange: PropTypes.func.isRequired
45
51
  })
46
52
  }).isRequired,
@@ -51,6 +57,7 @@ export const ContentSelectionListPropTypes = {
51
57
  checkboxWithTitle: PropTypes.shape({
52
58
  title: PropTypes.string,
53
59
  checked: PropTypes.bool,
60
+ disabled: PropTypes.bool,
54
61
  onChange: PropTypes.func
55
62
  }),
56
63
  readOnly: PropTypes.bool
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["PropTypes","ContentSelectionListPropTypes","title","string","isRequired","subtitle","button","shape","label","onClick","func","list","items","arrayOf","hidden","bool","hint","ref","image","tags","iconName","checkbox","checked","onChange","deleteButton","search","value","placeholder","emptyResult","description","error","hiddenLabel","isFetching","actionButtons","object","checkboxWithTitle","readOnly"],"sources":["../../../src/organism/content-selection-list/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {ButtonLinkProps} from '../../atom/button-link/types';\n\nexport const ContentSelectionListPropTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n button: PropTypes.shape({\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired\n }).isRequired,\n list: PropTypes.shape({\n title: PropTypes.string,\n items: PropTypes.arrayOf(\n PropTypes.shape({\n hidden: PropTypes.bool,\n hint: PropTypes.string,\n ref: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string.isRequired,\n image: PropTypes.string.isRequired,\n tags: PropTypes.shape({\n label: PropTypes.string.isRequired,\n iconName: PropTypes.string.isRequired\n }).isRequired,\n checkbox: PropTypes.shape({\n checked: PropTypes.bool.isRequired,\n onChange: PropTypes.func.isRequired\n }).isRequired,\n deleteButton: PropTypes.shape({\n label: PropTypes.string,\n 'aria-label': PropTypes.string,\n onClick: PropTypes.func\n })\n }).isRequired\n ),\n search: PropTypes.shape({\n value: PropTypes.string.isRequired,\n placeholder: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired\n }),\n emptyResult: PropTypes.shape({\n title: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired\n }),\n checkbox: PropTypes.shape({\n title: PropTypes.string.isRequired,\n checked: PropTypes.bool.isRequired,\n onChange: PropTypes.func.isRequired\n })\n }).isRequired,\n error: PropTypes.string,\n hiddenLabel: PropTypes.string,\n isFetching: PropTypes.bool,\n actionButtons: PropTypes.arrayOf(PropTypes.object),\n checkboxWithTitle: PropTypes.shape({\n title: PropTypes.string,\n checked: PropTypes.bool,\n onChange: PropTypes.func\n }),\n readOnly: PropTypes.bool\n};\n\nexport type ContentListItemType = {\n hidden?: boolean;\n hint?: string;\n ref: string;\n title: string;\n subtitle: string;\n image: string;\n tags: {\n label: string;\n iconName: string;\n };\n checkbox: {\n checked: boolean;\n onChange: (value: boolean) => void;\n };\n deleteButton?: ButtonLinkProps;\n};\n\nexport type CheckboxWithTitleProps = {\n title?: string;\n checked?: boolean;\n onChange?: (value: boolean) => void;\n};\n\nexport type ContentPropsType = {\n error?: string;\n hiddenLabel?: string;\n title: string;\n subtitle?: string;\n button: {\n label: string;\n onClick: () => void;\n };\n list: {\n title?: string;\n items?: ContentListItemType[];\n search?: {\n value: string;\n placeholder: string;\n onChange: (value: string) => void;\n };\n emptyResult?: {\n title: string;\n description: string;\n };\n checkbox?: {\n title: string;\n checked: boolean;\n onChange: (value: boolean) => void;\n };\n };\n actionButtons?: ButtonLinkProps[];\n checkboxWithTitle?: CheckboxWithTitleProps;\n isFetching?: boolean;\n readOnly?: boolean;\n};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAGlC,OAAO,MAAMC,6BAA6B,GAAG;EAC3CC,KAAK,EAAEF,SAAS,CAACG,MAAM,CAACC,UAAU;EAClCC,QAAQ,EAAEL,SAAS,CAACG,MAAM;EAC1BG,MAAM,EAAEN,SAAS,CAACO,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EAAE3B,SAAS,CAACG,MAAM,CAACC,UAAU;MACxCmB,QAAQ,EAAEvB,SAAS,CAACU,IAAI,CAACN;IAC3B,CAAC,CAAC;IACFwB,WAAW,EAAE5B,SAAS,CAACO,KAAK,CAAC;MAC3BL,KAAK,EAAEF,SAAS,CAACG,MAAM,CAACC,UAAU;MAClCyB,WAAW,EAAE7B,SAAS,CAACG,MAAM,CAACC;IAChC,CAAC,CAAC;IACFiB,QAAQ,EAAErB,SAAS,CAACO,KAAK,CAAC;MACxBL,KAAK,EAAEF,SAAS,CAACG,MAAM,CAACC,UAAU;MAClCkB,OAAO,EAAEtB,SAAS,CAACe,IAAI,CAACX,UAAU;MAClCmB,QAAQ,EAAEvB,SAAS,CAACU,IAAI,CAACN;IAC3B,CAAC;EACH,CAAC,CAAC,CAACA,UAAU;EACb0B,KAAK,EAAE9B,SAAS,CAACG,MAAM;EACvB4B,WAAW,EAAE/B,SAAS,CAACG,MAAM;EAC7B6B,UAAU,EAAEhC,SAAS,CAACe,IAAI;EAC1BkB,aAAa,EAAEjC,SAAS,CAACa,OAAO,CAACb,SAAS,CAACkC,MAAM,CAAC;EAClDC,iBAAiB,EAAEnC,SAAS,CAACO,KAAK,CAAC;IACjCL,KAAK,EAAEF,SAAS,CAACG,MAAM;IACvBmB,OAAO,EAAEtB,SAAS,CAACe,IAAI;IACvBQ,QAAQ,EAAEvB,SAAS,CAACU;EACtB,CAAC,CAAC;EACF0B,QAAQ,EAAEpC,SAAS,CAACe;AACtB,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"types.js","names":["PropTypes","ContentSelectionListPropTypes","disabled","bool","title","string","isRequired","subtitle","button","shape","label","onClick","func","list","items","arrayOf","hidden","hint","ref","image","tags","iconName","checkbox","checked","onChange","deleteButton","search","value","placeholder","emptyResult","description","error","hiddenLabel","isFetching","actionButtons","object","checkboxWithTitle","readOnly"],"sources":["../../../src/organism/content-selection-list/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {ButtonLinkProps} from '../../atom/button-link/types';\n\nexport const ContentSelectionListPropTypes = {\n disabled: PropTypes.bool,\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n button: PropTypes.shape({\n label: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n onClick: PropTypes.func.isRequired\n }).isRequired,\n list: PropTypes.shape({\n title: PropTypes.string,\n items: PropTypes.arrayOf(\n PropTypes.shape({\n hidden: PropTypes.bool,\n hint: PropTypes.string,\n ref: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string.isRequired,\n image: PropTypes.string.isRequired,\n tags: PropTypes.shape({\n label: PropTypes.string.isRequired,\n iconName: PropTypes.string.isRequired\n }).isRequired,\n checkbox: PropTypes.shape({\n checked: PropTypes.bool.isRequired,\n disabled: PropTypes.bool,\n onChange: PropTypes.func.isRequired\n }).isRequired,\n deleteButton: PropTypes.shape({\n label: PropTypes.string,\n 'aria-label': PropTypes.string,\n disabled: PropTypes.bool,\n onClick: PropTypes.func\n })\n }).isRequired\n ),\n search: PropTypes.shape({\n value: PropTypes.string.isRequired,\n placeholder: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n onChange: PropTypes.func.isRequired\n }),\n emptyResult: PropTypes.shape({\n title: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired\n }),\n checkbox: PropTypes.shape({\n title: PropTypes.string.isRequired,\n checked: PropTypes.bool.isRequired,\n disabled: PropTypes.bool,\n onChange: PropTypes.func.isRequired\n })\n }).isRequired,\n error: PropTypes.string,\n hiddenLabel: PropTypes.string,\n isFetching: PropTypes.bool,\n actionButtons: PropTypes.arrayOf(PropTypes.object),\n checkboxWithTitle: PropTypes.shape({\n title: PropTypes.string,\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n onChange: PropTypes.func\n }),\n readOnly: PropTypes.bool\n};\n\nexport type ContentListItemType = {\n hidden?: boolean;\n hint?: string;\n ref: string;\n title: string;\n subtitle: string;\n image: string;\n tags: {\n label: string;\n iconName: string;\n };\n checkbox: {\n checked: boolean;\n disabled?: boolean;\n onChange: (value: boolean) => void;\n };\n deleteButton?: ButtonLinkProps;\n};\n\nexport type CheckboxWithTitleProps = {\n title?: string;\n checked?: boolean;\n disabled?: boolean;\n onChange?: (value: boolean) => void;\n};\n\nexport type ContentPropsType = {\n disabled?: boolean;\n error?: string;\n hiddenLabel?: string;\n title: string;\n subtitle?: string;\n button: {\n label: string;\n disabled?: boolean;\n onClick: () => void;\n };\n list: {\n title?: string;\n items?: ContentListItemType[];\n search?: {\n value: string;\n placeholder: string;\n disabled?: boolean;\n onChange: (value: string) => void;\n };\n emptyResult?: {\n title: string;\n description: string;\n };\n checkbox?: {\n title: string;\n checked: boolean;\n disabled?: boolean;\n onChange: (value: boolean) => void;\n };\n };\n actionButtons?: ButtonLinkProps[];\n checkboxWithTitle?: CheckboxWithTitleProps;\n isFetching?: boolean;\n readOnly?: boolean;\n};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAGlC,OAAO,MAAMC,6BAA6B,GAAG;EAC3CC,QAAQ,EAAEF,SAAS,CAACG,IAAI;EACxBC,KAAK,EAAEJ,SAAS,CAACK,MAAM,CAACC,UAAU;EAClCC,QAAQ,EAAEP,SAAS,CAACK,MAAM;EAC1BG,MAAM,EAAER,SAAS,CAACS,KAAK,CAAC;IACtBC,KAAK,EAAEV,SAAS,CAACK,MAAM,CAACC,UAAU;IAClCJ,QAAQ,EAAEF,SAAS,CAACG,IAAI;IACxBQ,OAAO,EAAEX,SAAS,CAACY,IAAI,CAACN;EAC1B,CAAC,CAAC,CAACA,UAAU;EACbO,IAAI,EAAEb,SAAS,CAACS,KAAK,CAAC;IACpBL,KAAK,EAAEJ,SAAS,CAACK,MAAM;IACvBS,KAAK,EAAEd,SAAS,CAACe,OAAO,CACtBf,SAAS,CAACS,KAAK,CAAC;MACdO,MAAM,EAAEhB,SAAS,CAACG,IAAI;MACtBc,IAAI,EAAEjB,SAAS,CAACK,MAAM;MACtBa,GAAG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IAChC,CAAC,CAAC;IACFgB,QAAQ,EAAEtB,SAAS,CAACS,KAAK,CAAC;MACxBL,KAAK,EAAEJ,SAAS,CAACK,MAAM,CAACC,UAAU;MAClCiB,OAAO,EAAEvB,SAAS,CAACG,IAAI,CAACG,UAAU;MAClCJ,QAAQ,EAAEF,SAAS,CAACG,IAAI;MACxBqB,QAAQ,EAAExB,SAAS,CAACY,IAAI,CAACN;IAC3B,CAAC;EACH,CAAC,CAAC,CAACA,UAAU;EACbyB,KAAK,EAAE/B,SAAS,CAACK,MAAM;EACvB2B,WAAW,EAAEhC,SAAS,CAACK,MAAM;EAC7B4B,UAAU,EAAEjC,SAAS,CAACG,IAAI;EAC1B+B,aAAa,EAAElC,SAAS,CAACe,OAAO,CAACf,SAAS,CAACmC,MAAM,CAAC;EAClDC,iBAAiB,EAAEpC,SAAS,CAACS,KAAK,CAAC;IACjCL,KAAK,EAAEJ,SAAS,CAACK,MAAM;IACvBkB,OAAO,EAAEvB,SAAS,CAACG,IAAI;IACvBD,QAAQ,EAAEF,SAAS,CAACG,IAAI;IACxBqB,QAAQ,EAAExB,SAAS,CAACY;EACtB,CAAC,CAAC;EACFyB,QAAQ,EAAErC,SAAS,CAACG;AACtB,CAAC","ignoreList":[]}
@@ -7,6 +7,11 @@ declare const ContentSkillModal: {
7
7
  };
8
8
  propTypes: {
9
9
  contentList: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
10
+ selectAll: import("prop-types").Requireable<import("prop-types").InferProps<{
11
+ label: import("prop-types").Validator<string>;
12
+ disabled: import("prop-types").Requireable<boolean>;
13
+ onClick: import("prop-types").Validator<(...args: any[]) => any>;
14
+ }>>;
10
15
  'aria-label': import("prop-types").Requireable<string>;
11
16
  buttonLink: import("prop-types").Requireable<import("prop-types").InferProps<{
12
17
  type: import("prop-types").Requireable<string>;
@@ -164,6 +169,7 @@ declare const ContentSkillModal: {
164
169
  title: import("prop-types").Requireable<string>;
165
170
  name: import("prop-types").Requireable<string>;
166
171
  checked: import("prop-types").Requireable<boolean>;
172
+ disabled: import("prop-types").Requireable<boolean>;
167
173
  onChange: import("prop-types").Requireable<(...args: any[]) => any>;
168
174
  'aria-label': import("prop-types").Requireable<string>;
169
175
  'data-name': import("prop-types").Requireable<string>;
@@ -543,6 +549,7 @@ declare const ContentSkillModal: {
543
549
  isFetching: import("prop-types").Requireable<boolean>;
544
550
  search: import("prop-types").Requireable<import("prop-types").InferProps<{
545
551
  value: import("prop-types").Requireable<string>;
552
+ disabled: import("prop-types").Requireable<boolean>;
546
553
  placeholder: import("prop-types").Validator<string>;
547
554
  onChange: import("prop-types").Requireable<(...args: any[]) => any>;
548
555
  onClear: import("prop-types").Requireable<(...args: any[]) => any>;
@@ -559,6 +566,7 @@ declare const ContentSkillModal: {
559
566
  title: import("prop-types").Requireable<string>;
560
567
  name: import("prop-types").Requireable<string>;
561
568
  checked: import("prop-types").Requireable<boolean>;
569
+ disabled: import("prop-types").Requireable<boolean>;
562
570
  onChange: import("prop-types").Requireable<(...args: any[]) => any>;
563
571
  'aria-label': import("prop-types").Requireable<string>;
564
572
  'data-name': import("prop-types").Requireable<string>;
@@ -748,6 +756,7 @@ declare const ContentSkillModal: {
748
756
  emptySearchResult: import("prop-types").Requireable<string>;
749
757
  searchOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
750
758
  value: import("prop-types").Requireable<string>;
759
+ disabled: import("prop-types").Requireable<boolean>;
751
760
  placeholder: import("prop-types").Validator<string>;
752
761
  onChange: import("prop-types").Requireable<(...args: any[]) => any>;
753
762
  onClear: import("prop-types").Requireable<(...args: any[]) => any>;
@@ -797,6 +806,12 @@ declare const ContentSkillModal: {
797
806
  }> | null | undefined> | null | undefined)[]>;
798
807
  }>>>;
799
808
  modal: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
809
+ title: import("prop-types").Requireable<string>;
810
+ description: import("prop-types").Requireable<string>;
811
+ cancelLabel: import("prop-types").Requireable<string>;
812
+ confirmLabel: import("prop-types").Requireable<string>;
813
+ disabled: import("prop-types").Requireable<boolean>;
814
+ error: import("prop-types").Requireable<string>;
800
815
  isOpen: import("prop-types").Requireable<boolean>;
801
816
  onCancel: import("prop-types").Requireable<(...args: any[]) => any>;
802
817
  onConfirm: import("prop-types").Requireable<(...args: any[]) => any>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4EvD,CAAC;AAQF,eAAe,iBAAiB,CAAC"}
@@ -1,3 +1,4 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
1
2
  import React, { useCallback, useMemo } from 'react';
2
3
  import BaseModal from '../../molecule/base-modal';
3
4
  import ListItems from '../list-items';
@@ -12,11 +13,25 @@ const ContentSkillModal = props => {
12
13
  filters,
13
14
  modal
14
15
  } = props;
16
+ const {
17
+ selectAll,
18
+ ...listProps
19
+ } = contentList;
20
+ const buttonLink = selectAll ? {
21
+ ...selectAll,
22
+ type: 'secondary'
23
+ } : listProps.buttonLink;
15
24
  const {
16
25
  isOpen,
17
26
  onCancel,
18
27
  onConfirm,
19
- onClose
28
+ onClose,
29
+ title = 'Add content',
30
+ description = 'Add courses, video, interactive and more to this skill',
31
+ cancelLabel = 'Cancel',
32
+ confirmLabel = 'Add',
33
+ error,
34
+ disabled = false
20
35
  } = modal;
21
36
  const handleCancel = useCallback(() => {
22
37
  onCancel();
@@ -30,21 +45,23 @@ const ContentSkillModal = props => {
30
45
  backgroundColor: COLORS.primary_100
31
46
  };
32
47
  const footer = useMemo(() => ({
48
+ text: error,
49
+ isError: Boolean(error),
33
50
  cancelButton: {
34
51
  onCancel: handleCancel,
35
- label: 'Cancel'
52
+ label: cancelLabel
36
53
  },
37
54
  confirmButton: {
38
55
  onConfirm,
39
- label: 'Add',
56
+ label: confirmLabel,
40
57
  iconName: 'plus',
41
- disabled: false,
58
+ disabled,
42
59
  color: COLORS.cm_primary_blue
43
60
  }
44
- }), [handleCancel, onConfirm]);
61
+ }), [handleCancel, onConfirm, cancelLabel, confirmLabel, error, disabled]);
45
62
  const baseModalProps = {
46
- title: 'Add content',
47
- description: 'Add courses, video, interactive and more to this skill',
63
+ title,
64
+ description,
48
65
  headerIcon,
49
66
  footer,
50
67
  isOpen,
@@ -60,7 +77,9 @@ const ContentSkillModal = props => {
60
77
  className: style.container
61
78
  }, /*#__PURE__*/React.createElement("div", {
62
79
  className: style.containerList
63
- }, /*#__PURE__*/React.createElement(ListItems, contentList)), /*#__PURE__*/React.createElement("div", {
80
+ }, /*#__PURE__*/React.createElement(ListItems, _extends({}, listProps, {
81
+ buttonLink: buttonLink
82
+ }))), /*#__PURE__*/React.createElement("div", {
64
83
  className: style.filtersContainer
65
84
  }, /*#__PURE__*/React.createElement(MultiFilterPanel, filters))));
66
85
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","useCallback","useMemo","BaseModal","ListItems","MultiFilterPanel","Provider","COLORS","style","propTypes","ContentSkillModal","props","contentList","filters","modal","isOpen","onCancel","onConfirm","onClose","handleCancel","handleClose","headerIcon","name","color","primary_600","backgroundColor","primary_100","footer","cancelButton","label","confirmButton","iconName","disabled","cm_primary_blue","baseModalProps","title","description","customStyle","height","width","createElement","className","container","containerList","filtersContainer","contextTypes","translate","childContextTypes","process","env","NODE_ENV"],"sources":["../../../src/organism/content-skill-modal/index.tsx"],"sourcesContent":["import React, {useCallback, useMemo} from 'react';\nimport BaseModal from '../../molecule/base-modal';\nimport ListItems from '../list-items';\nimport MultiFilterPanel from '../../molecule/multi-filter-panel';\nimport Provider from '../../atom/provider';\nimport {COLORS} from '../../variables/colors';\nimport style from './style.css';\nimport propTypes, {ContentSkillModalProps} from './types';\n\nconst ContentSkillModal = (props: ContentSkillModalProps) => {\n const {contentList, filters, modal} = props;\n const {isOpen, onCancel, onConfirm, onClose} = modal;\n\n const handleCancel = useCallback(() => {\n onCancel();\n }, [onCancel]);\n const handleClose = useCallback(() => {\n onClose();\n }, [onClose]);\n\n const headerIcon = {\n name: 'circle-plus',\n color: COLORS.primary_600,\n backgroundColor: COLORS.primary_100\n };\n const footer = useMemo(\n () => ({\n cancelButton: {\n onCancel: handleCancel,\n label: 'Cancel'\n },\n confirmButton: {\n onConfirm,\n label: 'Add',\n iconName: 'plus',\n disabled: false,\n color: COLORS.cm_primary_blue\n }\n }),\n [handleCancel, onConfirm]\n );\n\n const baseModalProps = {\n title: 'Add content',\n description: 'Add courses, video, interactive and more to this skill',\n headerIcon,\n footer,\n isOpen,\n onClose: handleClose,\n // fullscreen modal\n customStyle: {\n height: '80vh',\n width: '80vw'\n }\n };\n\n if (!isOpen) return null;\n\n return (\n <BaseModal {...baseModalProps}>\n <div className={style.container}>\n <div className={style.containerList}>\n <ListItems {...contentList} />\n </div>\n <div className={style.filtersContainer}>\n <MultiFilterPanel {...filters} />\n </div>\n </div>\n </BaseModal>\n );\n};\n\nContentSkillModal.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nContentSkillModal.propTypes = propTypes;\n\nexport default ContentSkillModal;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,OAAO,QAAO,OAAO;AACjD,OAAOC,SAAS,MAAM,2BAA2B;AACjD,OAAOC,SAAS,MAAM,eAAe;AACrC,OAAOC,gBAAgB,MAAM,mCAAmC;AAChE,OAAOC,QAAQ,MAAM,qBAAqB;AAC1C,SAAQC,MAAM,QAAO,wBAAwB;AAC7C,OAAOC,KAAK,MAAM,aAAa;AAC/B,OAAOC,SAAS,MAAgC,SAAS;AAEzD,MAAMC,iBAAiB,GAAIC,KAA6B,IAAK;EAC3D,MAAM;IAACC,WAAW;IAAEC,OAAO;IAAEC;EAAK,CAAC,GAAGH,KAAK;EAC3C,MAAM;IAACI,MAAM;IAAEC,QAAQ;IAAEC,SAAS;IAAEC;EAAO,CAAC,GAAGJ,KAAK;EAEpD,MAAMK,YAAY,GAAGlB,WAAW,CAAC,MAAM;IACrCe,QAAQ,CAAC,CAAC;EACZ,CAAC,EAAE,CAACA,QAAQ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A,CAACnC,gBAAgB,EAAKQ,OAAU,CAC7B,CACF,CACI,CAAC;AAEhB,CAAC;AAEDH,iBAAiB,CAACmC,YAAY,GAAG;EAC/BC,SAAS,EAAExC,QAAQ,CAACyC,iBAAiB,CAACD;AACxC,CAAC;AAEDpC,iBAAiB,CAACD,SAAS,GAAAuC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGzC,SAAS;AAEvC,eAAeC,iBAAiB","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["React","useCallback","useMemo","BaseModal","ListItems","MultiFilterPanel","Provider","COLORS","style","propTypes","ContentSkillModal","props","contentList","filters","modal","selectAll","listProps","buttonLink","type","isOpen","onCancel","onConfirm","onClose","title","description","cancelLabel","confirmLabel","error","disabled","handleCancel","handleClose","headerIcon","name","color","primary_600","backgroundColor","primary_100","footer","text","isError","Boolean","cancelButton","label","confirmButton","iconName","cm_primary_blue","baseModalProps","customStyle","height","width","createElement","className","container","containerList","_extends","filtersContainer","contextTypes","translate","childContextTypes","process","env","NODE_ENV"],"sources":["../../../src/organism/content-skill-modal/index.tsx"],"sourcesContent":["import React, {useCallback, useMemo} from 'react';\nimport BaseModal from '../../molecule/base-modal';\nimport ListItems from '../list-items';\nimport MultiFilterPanel from '../../molecule/multi-filter-panel';\nimport Provider from '../../atom/provider';\nimport {COLORS} from '../../variables/colors';\nimport style from './style.css';\nimport propTypes, {ContentSkillModalProps} from './types';\n\nconst ContentSkillModal = (props: ContentSkillModalProps) => {\n const {contentList, filters, modal} = props;\n const {selectAll, ...listProps} = contentList;\n const buttonLink = selectAll ? {...selectAll, type: 'secondary'} : listProps.buttonLink;\n const {\n isOpen,\n onCancel,\n onConfirm,\n onClose,\n title = 'Add content',\n description = 'Add courses, video, interactive and more to this skill',\n cancelLabel = 'Cancel',\n confirmLabel = 'Add',\n error,\n disabled = false\n } = modal;\n\n const handleCancel = useCallback(() => {\n onCancel();\n }, [onCancel]);\n const handleClose = useCallback(() => {\n onClose();\n }, [onClose]);\n\n const headerIcon = {\n name: 'circle-plus',\n color: COLORS.primary_600,\n backgroundColor: COLORS.primary_100\n };\n const footer = useMemo(\n () => ({\n text: error,\n isError: Boolean(error),\n cancelButton: {\n onCancel: handleCancel,\n label: cancelLabel\n },\n confirmButton: {\n onConfirm,\n label: confirmLabel,\n iconName: 'plus',\n disabled,\n color: COLORS.cm_primary_blue\n }\n }),\n [handleCancel, onConfirm, cancelLabel, confirmLabel, error, disabled]\n );\n\n const baseModalProps = {\n title,\n description,\n headerIcon,\n footer,\n isOpen,\n onClose: handleClose,\n // fullscreen modal\n customStyle: {\n height: '80vh',\n width: '80vw'\n }\n };\n\n if (!isOpen) return null;\n\n return (\n <BaseModal {...baseModalProps}>\n <div className={style.container}>\n <div className={style.containerList}>\n <ListItems {...listProps} buttonLink={buttonLink} />\n </div>\n <div className={style.filtersContainer}>\n <MultiFilterPanel {...filters} />\n </div>\n </div>\n </BaseModal>\n );\n};\n\nContentSkillModal.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nContentSkillModal.propTypes = propTypes;\n\nexport default ContentSkillModal;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,OAAO,QAAO,OAAO;AACjD,OAAOC,SAAS,MAAM,2BAA2B;AACjD,OAAOC,SAAS,MAAM,eAAe;AACrC,OAAOC,gBAAgB,MAAM,mCAAmC;AAChE,OAAOC,QAAQ,MAAM,qBAAqB;AAC1C,SAAQC,MAAM,QAAO,wBAAwB;AAC7C,OAAOC,KAAK,MAAM,aAAa;AAC/B,OAAOC,SAAS,MAAgC,SAAS;AAEzD,MAAMC,iBAAiB,GAAIC,KAA6B,IAAK;EAC3D,MAAM;IAACC,WAAW;IAAEC,OAAO;IAAEC;EAAK,CAAC,GAAGH,KAAK;EAC3C,MAAM;IAACI,SAAS;IAAE,GAAGC;EAAS,CAAC,GAAGJ,WAAW;EAC7C,MAAMK,UAAU,GAAGF,SAAS,GAAG;IAAC,GAAGA,SAAS;IAAEG,IAAI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AAM,EAAE,MAAM;MACdC,KAAK,EAAE;IACT;EACF,CAAC;EAED,IAAI,CAAC9B,MAAM,EAAE,OAAO,IAAI;EAExB,oBACEnB,KAAA,CAAAkD,aAAA,CAAC/C,SAAS,EAAK2C,cAAc,eAC3B9C,KAAA,CAAAkD,aAAA;IAAKC,SAAS,EAAE3C,KAAK,CAAC4C;EAAU,gBAC9BpD,KAAA,CAAAkD,aAAA;IAAKC,SAAS,EAAE3C,KAAK,CAAC6C;EAAc,gBAClCrD,KAAA,CAAAkD,aAAA,CAAC9C,SAAS,EAAAkD,QAAA,KAAKtC,SAAS;IAAEC,UAAU,EAAEA;EAAW,EAAE,CAChD,CAAC,eACNjB,KAAA,CAAAkD,aAAA;IAAKC,SAAS,EAAE3C,KAAK,CAAC+C;EAAiB,gBACrCvD,KAAA,CAAAkD,aAAA,CAAC7C,gBAAgB,EAAKQ,OAAU,CAC7B,CACF,CACI,CAAC;AAEhB,CAAC;AAEDH,iBAAiB,CAAC8C,YAAY,GAAG;EAC/BC,SAAS,EAAEnD,QAAQ,CAACoD,iBAAiB,CAACD;AACxC,CAAC;AAED/C,iBAAiB,CAACD,SAAS,GAAAkD,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGpD,SAAS;AAEvC,eAAeC,iBAAiB","ignoreList":[]}
@@ -4,6 +4,11 @@ import ListItems from '../list-items';
4
4
  import { MultiFilterPanelProps } from '../../molecule/multi-filter-panel/prop-types';
5
5
  declare const ContentSkillModalPropTypes: {
6
6
  contentList: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
7
+ selectAll: PropTypes.Requireable<PropTypes.InferProps<{
8
+ label: PropTypes.Validator<string>;
9
+ disabled: PropTypes.Requireable<boolean>;
10
+ onClick: PropTypes.Validator<(...args: any[]) => any>;
11
+ }>>;
7
12
  'aria-label': PropTypes.Requireable<string>;
8
13
  buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
9
14
  type: PropTypes.Requireable<string>;
@@ -161,6 +166,7 @@ declare const ContentSkillModalPropTypes: {
161
166
  title: PropTypes.Requireable<string>;
162
167
  name: PropTypes.Requireable<string>;
163
168
  checked: PropTypes.Requireable<boolean>;
169
+ disabled: PropTypes.Requireable<boolean>;
164
170
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
165
171
  'aria-label': PropTypes.Requireable<string>;
166
172
  'data-name': PropTypes.Requireable<string>;
@@ -540,6 +546,7 @@ declare const ContentSkillModalPropTypes: {
540
546
  isFetching: PropTypes.Requireable<boolean>;
541
547
  search: PropTypes.Requireable<PropTypes.InferProps<{
542
548
  value: PropTypes.Requireable<string>;
549
+ disabled: PropTypes.Requireable<boolean>;
543
550
  placeholder: PropTypes.Validator<string>;
544
551
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
545
552
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
@@ -556,6 +563,7 @@ declare const ContentSkillModalPropTypes: {
556
563
  title: PropTypes.Requireable<string>;
557
564
  name: PropTypes.Requireable<string>;
558
565
  checked: PropTypes.Requireable<boolean>;
566
+ disabled: PropTypes.Requireable<boolean>;
559
567
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
560
568
  'aria-label': PropTypes.Requireable<string>;
561
569
  'data-name': PropTypes.Requireable<string>;
@@ -745,6 +753,7 @@ declare const ContentSkillModalPropTypes: {
745
753
  emptySearchResult: PropTypes.Requireable<string>;
746
754
  searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
747
755
  value: PropTypes.Requireable<string>;
756
+ disabled: PropTypes.Requireable<boolean>;
748
757
  placeholder: PropTypes.Validator<string>;
749
758
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
750
759
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
@@ -794,6 +803,12 @@ declare const ContentSkillModalPropTypes: {
794
803
  }> | null | undefined> | null | undefined)[]>;
795
804
  }>>>;
796
805
  modal: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
806
+ title: PropTypes.Requireable<string>;
807
+ description: PropTypes.Requireable<string>;
808
+ cancelLabel: PropTypes.Requireable<string>;
809
+ confirmLabel: PropTypes.Requireable<string>;
810
+ disabled: PropTypes.Requireable<boolean>;
811
+ error: PropTypes.Requireable<string>;
797
812
  isOpen: PropTypes.Requireable<boolean>;
798
813
  onCancel: PropTypes.Requireable<(...args: any[]) => any>;
799
814
  onConfirm: PropTypes.Requireable<(...args: any[]) => any>;
@@ -802,13 +817,25 @@ declare const ContentSkillModalPropTypes: {
802
817
  };
803
818
  export default ContentSkillModalPropTypes;
804
819
  declare type ModalProps = {
820
+ title?: string;
821
+ description?: string;
822
+ cancelLabel?: string;
823
+ confirmLabel?: string;
824
+ disabled?: boolean;
825
+ error?: string;
805
826
  isOpen: boolean;
806
827
  onCancel: () => void;
807
828
  onConfirm: () => void;
808
829
  onClose: () => void;
809
830
  };
810
831
  export declare type ContentSkillModalProps = {
811
- contentList: React.ComponentProps<typeof ListItems>;
832
+ contentList: React.ComponentProps<typeof ListItems> & {
833
+ selectAll?: {
834
+ label: string;
835
+ disabled?: boolean;
836
+ onClick: () => void;
837
+ };
838
+ };
812
839
  filters: MultiFilterPanelProps;
813
840
  modal: ModalProps;
814
841
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAkC,EAChC,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;AAStD,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;QACpD,SAAS,CAAC,EAAE;YACV,KAAK,EAAE,MAAM,CAAC;YACd,QAAQ,CAAC,EAAE,OAAO,CAAC;YACnB,OAAO,EAAE,MAAM,IAAI,CAAC;SACrB,CAAC;KACH,CAAC;IACF,OAAO,EAAE,qBAAqB,CAAC;IAC/B,KAAK,EAAE,UAAU,CAAC;CACnB,CAAC"}
@@ -2,13 +2,26 @@ import PropTypes from 'prop-types';
2
2
  import ListItems from '../list-items';
3
3
  import MultiFilterPanelPropTypes from '../../molecule/multi-filter-panel/prop-types';
4
4
  const ModalPropTypes = {
5
+ title: PropTypes.string,
6
+ description: PropTypes.string,
7
+ cancelLabel: PropTypes.string,
8
+ confirmLabel: PropTypes.string,
9
+ disabled: PropTypes.bool,
10
+ error: PropTypes.string,
5
11
  isOpen: PropTypes.bool,
6
12
  onCancel: PropTypes.func,
7
13
  onConfirm: PropTypes.func,
8
14
  onClose: PropTypes.func
9
15
  };
10
16
  const ContentSkillModalPropTypes = {
11
- contentList: PropTypes.shape(ListItems.propTypes).isRequired,
17
+ contentList: PropTypes.shape({
18
+ ...ListItems.propTypes,
19
+ selectAll: PropTypes.shape({
20
+ label: PropTypes.string.isRequired,
21
+ disabled: PropTypes.bool,
22
+ onClick: PropTypes.func.isRequired
23
+ })
24
+ }).isRequired,
12
25
  filters: PropTypes.shape(MultiFilterPanelPropTypes).isRequired,
13
26
  modal: PropTypes.shape(ModalPropTypes).isRequired
14
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["PropTypes","ListItems","MultiFilterPanelPropTypes","ModalPropTypes","isOpen","bool","onCancel","func","onConfirm","onClose","ContentSkillModalPropTypes","contentList","shape","propTypes","isRequired","filters","modal"],"sources":["../../../src/organism/content-skill-modal/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ListItems from '../list-items';\nimport MultiFilterPanelPropTypes, {\n MultiFilterPanelProps\n} from '../../molecule/multi-filter-panel/prop-types';\n\nconst ModalPropTypes = {\n isOpen: PropTypes.bool,\n onCancel: PropTypes.func,\n onConfirm: PropTypes.func,\n onClose: PropTypes.func\n};\n\nconst ContentSkillModalPropTypes = {\n contentList: PropTypes.shape(ListItems.propTypes).isRequired,\n filters: PropTypes.shape(MultiFilterPanelPropTypes).isRequired,\n modal: PropTypes.shape(ModalPropTypes).isRequired\n};\n\nexport default ContentSkillModalPropTypes;\n\ntype ModalProps = {\n isOpen: boolean;\n onCancel: () => void;\n onConfirm: () => void;\n onClose: () => void;\n};\n\nexport type ContentSkillModalProps = {\n contentList: React.ComponentProps<typeof ListItems>;\n filters: MultiFilterPanelProps;\n modal: ModalProps;\n};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,SAAS,MAAM,eAAe;AACrC,OAAOC,yBAAyB,MAEzB,8CAA8C;AAErD,MAAMC,cAAc,GAAG;EACrBC,MAAM,EAAEJ,SAAS,CAACK,IAAI;EACtBC,QAAQ,EAAEN,SAAS,CAACO,IAAI;EACxBC,SAAS,EAAER,SAAS,CAACO,IAAI;EACzBE,OAAO,EAAET,SAAS,CAACO;AACrB,CAAC;AAED,MAAMG,0BAA0B,GAAG;EACjCC,WAAW,EAAEX,SAAS,CAACY,KAAK,CAACX,SAAS,CAACY,SAAS,CAAC,CAACC,UAAU;EAC5DC,OAAO,EAAEf,SAAS,CAACY,KAAK,CAACV,yBAAyB,CAAC,CAACY,UAAU;EAC9DE,KAAK,EAAEhB,SAAS,CAACY,KAAK,CAACT,cAAc,CAAC,CAACW;AACzC,CAAC;AAED,eAAeJ,0BAA0B","ignoreList":[]}
1
+ {"version":3,"file":"types.js","names":["PropTypes","ListItems","MultiFilterPanelPropTypes","ModalPropTypes","title","string","description","cancelLabel","confirmLabel","disabled","bool","error","isOpen","onCancel","func","onConfirm","onClose","ContentSkillModalPropTypes","contentList","shape","propTypes","selectAll","label","isRequired","onClick","filters","modal"],"sources":["../../../src/organism/content-skill-modal/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ListItems from '../list-items';\nimport MultiFilterPanelPropTypes, {\n MultiFilterPanelProps\n} from '../../molecule/multi-filter-panel/prop-types';\n\nconst ModalPropTypes = {\n title: PropTypes.string,\n description: PropTypes.string,\n cancelLabel: PropTypes.string,\n confirmLabel: PropTypes.string,\n disabled: PropTypes.bool,\n error: PropTypes.string,\n isOpen: PropTypes.bool,\n onCancel: PropTypes.func,\n onConfirm: PropTypes.func,\n onClose: PropTypes.func\n};\n\nconst ContentSkillModalPropTypes = {\n contentList: PropTypes.shape({\n ...ListItems.propTypes,\n selectAll: PropTypes.shape({\n label: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n onClick: PropTypes.func.isRequired\n })\n }).isRequired,\n filters: PropTypes.shape(MultiFilterPanelPropTypes).isRequired,\n modal: PropTypes.shape(ModalPropTypes).isRequired\n};\n\nexport default ContentSkillModalPropTypes;\n\ntype ModalProps = {\n title?: string;\n description?: string;\n cancelLabel?: string;\n confirmLabel?: string;\n disabled?: boolean;\n error?: string;\n isOpen: boolean;\n onCancel: () => void;\n onConfirm: () => void;\n onClose: () => void;\n};\n\nexport type ContentSkillModalProps = {\n contentList: React.ComponentProps<typeof ListItems> & {\n selectAll?: {\n label: string;\n disabled?: boolean;\n onClick: () => void;\n };\n };\n filters: MultiFilterPanelProps;\n modal: ModalProps;\n};\n"],"mappings":"AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,SAAS,MAAM,eAAe;AACrC,OAAOC,yBAAyB,MAEzB,8CAA8C;AAErD,MAAMC,cAAc,GAAG;EACrBC,KAAK,EAAEJ,SAAS,CAACK,MAAM;EACvBC,WAAW,EAAEN,SAAS,CAACK,MAAM;EAC7BE,WAAW,EAAEP,SAAS,CAACK,MAAM;EAC7BG,YAAY,EAAER,SAAS,CAACK,MAAM;EAC9BI,QAAQ,EAAET,SAAS,CAACU,IAAI;EACxBC,KAAK,EAAEX,SAAS,CAACK,MAAM;EACvBO,MAAM,EAAEZ,SAAS,CAACU,IAAI;EACtBG,QAAQ,EAAEb,SAAS,CAACc,IAAI;EACxBC,SAAS,EAAEf,SAAS,CAACc,IAAI;EACzBE,OAAO,EAAEhB,SAAS,CAACc;AACrB,CAAC;AAED,MAAMG,0BAA0B,GAAG;EACjCC,WAAW,EAAElB,SAAS,CAACmB,KAAK,CAAC;IAC3B,GAAGlB,SAAS,CAACmB,SAAS;IACtBC,SAAS,EAAErB,SAAS,CAACmB,KAAK,CAAC;MACzBG,KAAK,EAAEtB,SAAS,CAACK,MAAM,CAACkB,UAAU;MAClCd,QAAQ,EAAET,SAAS,CAACU,IAAI;MACxBc,OAAO,EAAExB,SAAS,CAACc,IAAI,CAACS;IAC1B,CAAC;EACH,CAAC,CAAC,CAACA,UAAU;EACbE,OAAO,EAAEzB,SAAS,CAACmB,KAAK,CAACjB,yBAAyB,CAAC,CAACqB,UAAU;EAC9DG,KAAK,EAAE1B,SAAS,CAACmB,KAAK,CAAChB,cAAc,CAAC,CAACoB;AACzC,CAAC;AAED,eAAeN,0BAA0B","ignoreList":[]}
@@ -15,6 +15,7 @@ declare namespace PlayListTranslation {
15
15
  title: PropTypes.Requireable<string>;
16
16
  placeholder: PropTypes.Requireable<string>;
17
17
  defaultValue: PropTypes.Requireable<string>;
18
+ maxLength: PropTypes.Requireable<number>;
18
19
  disabled: PropTypes.Requireable<boolean>;
19
20
  readOnly: PropTypes.Requireable<boolean>;
20
21
  value: PropTypes.Requireable<string>;
@@ -18,6 +18,7 @@ declare const FilterCheckboxAndSearch: {
18
18
  emptySearchResult: import("prop-types").Requireable<string>;
19
19
  searchOptions: import("prop-types").Requireable<import("prop-types").InferProps<{
20
20
  value: import("prop-types").Requireable<string>;
21
+ disabled: import("prop-types").Requireable<boolean>;
21
22
  placeholder: import("prop-types").Validator<string>;
22
23
  onChange: import("prop-types").Requireable<(...args: any[]) => any>;
23
24
  onClear: import("prop-types").Requireable<(...args: any[]) => any>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAKjE,OAAkB,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAiBtE,QAAA,MAAM,uBAAuB;YACpB,4BAA4B,WAC1B,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkH1B,CAAC;AASF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAKjE,OAAkB,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAiBtE,QAAA,MAAM,uBAAuB;YACpB,4BAA4B,WAC1B,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkH1B,CAAC;AASF,eAAe,uBAAuB,CAAC"}
@@ -14,6 +14,7 @@ declare const propTypes: {
14
14
  emptySearchResult: PropTypes.Requireable<string>;
15
15
  searchOptions: PropTypes.Requireable<PropTypes.InferProps<{
16
16
  value: PropTypes.Requireable<string>;
17
+ disabled: PropTypes.Requireable<boolean>;
17
18
  placeholder: PropTypes.Validator<string>;
18
19
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
19
20
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
@@ -1 +1 @@
1
- {"version":3,"file":"props-types.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/props-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBd,CAAC;AAEF,oBAAY,8BAA8B,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,aAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,GAAG,cAAc,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,UAAU,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,8BAA8B,EAAE,CAAC;CAC3C,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"props-types.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/props-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBd,CAAC;AAEF,oBAAY,8BAA8B,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,aAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,GAAG,cAAc,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,UAAU,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,8BAA8B,EAAE,CAAC;CAC3C,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -20,6 +20,7 @@ declare const IconEditor: {
20
20
  placeholder: import("prop-types").Requireable<string>;
21
21
  defaultValue: import("prop-types").Requireable<string>;
22
22
  theme: import("prop-types").Requireable<string>;
23
+ maxLength: import("prop-types").Requireable<number>;
23
24
  disabled: import("prop-types").Requireable<boolean>;
24
25
  readOnly: import("prop-types").Requireable<boolean>;
25
26
  value: import("prop-types").Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/icon-editor/index.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAGtE,OAAkB,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAEnD,QAAA,MAAM,UAAU;YAAW,eAAe,iBAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB1E,CAAC;AAQF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/icon-editor/index.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAGtE,OAAkB,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAEnD,QAAA,MAAM,UAAU;YAAW,eAAe,iBAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB1E,CAAC;AAQF,eAAe,UAAU,CAAC"}
@@ -17,6 +17,7 @@ declare const IconEditorPropTypes: {
17
17
  placeholder: PropTypes.Requireable<string>;
18
18
  defaultValue: PropTypes.Requireable<string>;
19
19
  theme: PropTypes.Requireable<string>;
20
+ maxLength: PropTypes.Requireable<number>;
20
21
  disabled: PropTypes.Requireable<boolean>;
21
22
  readOnly: PropTypes.Requireable<boolean>;
22
23
  value: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/icon-editor/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AAEnE,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAE7D,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAC;AAEF,eAAe,mBAAmB,CAAC;AAEnC,oBAAY,eAAe,GAAG;IAC5B,WAAW,EAAE,gBAAgB,CAAC;IAC9B,SAAS,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;IAClD,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/icon-editor/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AAEnE,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAE7D,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAC;AAEF,eAAe,mBAAmB,CAAC;AAEnC,oBAAY,eAAe,GAAG;IAC5B,WAAW,EAAE,gBAAgB,CAAC;IAC9B,SAAS,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;IAClD,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B,CAAC"}
@@ -142,6 +142,7 @@ declare namespace ListItem {
142
142
  title: PropTypes.Requireable<string>;
143
143
  name: PropTypes.Requireable<string>;
144
144
  checked: PropTypes.Requireable<boolean>;
145
+ disabled: PropTypes.Requireable<boolean>;
145
146
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
146
147
  'aria-label': PropTypes.Requireable<string>;
147
148
  'data-name': PropTypes.Requireable<string>;
@@ -170,6 +170,7 @@ declare namespace ListItems {
170
170
  title: PropTypes.Requireable<string>;
171
171
  name: PropTypes.Requireable<string>;
172
172
  checked: PropTypes.Requireable<boolean>;
173
+ disabled: PropTypes.Requireable<boolean>;
173
174
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
174
175
  'aria-label': PropTypes.Requireable<string>;
175
176
  'data-name': PropTypes.Requireable<string>;
@@ -549,6 +550,7 @@ declare namespace ListItems {
549
550
  isFetching: PropTypes.Requireable<boolean>;
550
551
  search: PropTypes.Requireable<PropTypes.InferProps<{
551
552
  value: PropTypes.Requireable<string>;
553
+ disabled: PropTypes.Requireable<boolean>;
552
554
  placeholder: PropTypes.Validator<string>;
553
555
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
554
556
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
@@ -565,6 +567,7 @@ declare namespace ListItems {
565
567
  title: PropTypes.Requireable<string>;
566
568
  name: PropTypes.Requireable<string>;
567
569
  checked: PropTypes.Requireable<boolean>;
570
+ disabled: PropTypes.Requireable<boolean>;
568
571
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
569
572
  'aria-label': PropTypes.Requireable<string>;
570
573
  'data-name': PropTypes.Requireable<string>;
@@ -12,6 +12,7 @@ declare class MoocHeader extends React.Component<any, any, any> {
12
12
  }>>;
13
13
  search: PropTypes.Requireable<PropTypes.InferProps<{
14
14
  value: PropTypes.Requireable<string>;
15
+ disabled: PropTypes.Requireable<boolean>;
15
16
  placeholder: PropTypes.Validator<string>;
16
17
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
17
18
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/mooc-header/index.js"],"names":[],"mappings":";AAuBA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgHE;IAEF;;;;;;;;;;;;;;;;;;;;;;;MAGE;IAEF,wBAiCC;IA/BC,kBAAuD;IACvD;;;;;;;MAOC;IA8FH,6BAIC;IAED,yBAGC;IAxBD,qCAQC;IAED,wBAGC;IAjBD,+BAEC;IA4BD,2BAgBC;IAED,0BAKC;IAED,sBAIC;IAED,qBAoBC;IAaD,yBAQC;IAED,0BAQC;IAED,0BAIC;IAED,2BAIC;IAED,iCAUC;IAED,sCAKC;IAzMC,kBAAwB;IACxB,oBAA0B;IA0B5B,gCAEC;IAED,kCAEC;IAED,qCAqBC;IAqFD,sCASC;IA9ID,0BAEC;IAED,2EASC;IAED,6BAEC;IAkCC,kBAAsB;IAgJxB,0DAcE;IAEF,6BA2kBC;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/mooc-header/index.js"],"names":[],"mappings":";AAuBA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgHE;IAEF;;;;;;;;;;;;;;;;;;;;;;;MAGE;IAEF,wBAiCC;IA/BC,kBAAuD;IACvD;;;;;;;MAOC;IA8FH,6BAIC;IAED,yBAGC;IAxBD,qCAQC;IAED,wBAGC;IAjBD,+BAEC;IA4BD,2BAgBC;IAED,0BAKC;IAED,sBAIC;IAED,qBAoBC;IAaD,yBAQC;IAED,0BAQC;IAED,0BAIC;IAED,2BAIC;IAED,iCAUC;IAED,sCAKC;IAzMC,kBAAwB;IACxB,oBAA0B;IA0B5B,gCAEC;IAED,kCAEC;IAED,qCAqBC;IAqFD,sCASC;IA9ID,0BAEC;IAED,2EASC;IAED,6BAEC;IAkCC,kBAAsB;IAgJxB,0DAcE;IAEF,6BA2kBC;CACF"}