@coorpacademy/components 11.42.3 → 11.42.5

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 (209) 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/atom/radio-group/style.css +3 -1
  15. package/es/molecule/brand-form-group/index.d.ts +1 -0
  16. package/es/molecule/brand-form-group/index.d.ts.map +1 -1
  17. package/es/molecule/brand-form-group/index.js +10 -1
  18. package/es/molecule/brand-form-group/index.js.map +1 -1
  19. package/es/molecule/cm-popin/types.d.ts +3 -0
  20. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  21. package/es/molecule/course-sections/index.d.ts +1 -0
  22. package/es/molecule/drag-and-drop/index.d.ts +1 -0
  23. package/es/molecule/drag-and-drop/upload-report.d.ts +1 -0
  24. package/es/molecule/draggable-list/index.d.ts +1 -0
  25. package/es/molecule/multi-filter-panel/index.d.ts +1 -0
  26. package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
  27. package/es/molecule/multi-filter-panel/prop-types.d.ts +1 -0
  28. package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  29. package/es/molecule/search-form/index.d.ts +1 -0
  30. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
  31. package/es/molecule/translation-modal/index.d.ts +2 -0
  32. package/es/organism/assignment-edition/index.d.ts +259 -0
  33. package/es/organism/assignment-edition/index.d.ts.map +1 -0
  34. package/es/organism/assignment-edition/index.js +116 -0
  35. package/es/organism/assignment-edition/index.js.map +1 -0
  36. package/es/organism/assignment-edition/style.css +27 -0
  37. package/es/organism/assignment-edition/types.d.ts +310 -0
  38. package/es/organism/assignment-edition/types.d.ts.map +1 -0
  39. package/es/organism/assignment-edition/types.js +53 -0
  40. package/es/organism/assignment-edition/types.js.map +1 -0
  41. package/es/organism/brand-form/index.d.ts +1 -0
  42. package/es/organism/brand-learning-priorities/index.d.ts +1 -0
  43. package/es/organism/brand-table/index.d.ts +1 -0
  44. package/es/organism/content-selection-list/index.d.ts +8 -1
  45. package/es/organism/content-selection-list/index.d.ts.map +1 -1
  46. package/es/organism/content-selection-list/index.js +15 -6
  47. package/es/organism/content-selection-list/index.js.map +1 -1
  48. package/es/organism/content-selection-list/types.d.ts +13 -0
  49. package/es/organism/content-selection-list/types.d.ts.map +1 -1
  50. package/es/organism/content-selection-list/types.js +7 -0
  51. package/es/organism/content-selection-list/types.js.map +1 -1
  52. package/es/organism/content-skill-modal/index.d.ts +4 -0
  53. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  54. package/es/organism/content-skill-modal/types.d.ts +4 -0
  55. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  56. package/es/organism/content-translation/index.d.ts +1 -0
  57. package/es/organism/filter-checkbox-and-search/index.d.ts +1 -0
  58. package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  59. package/es/organism/filter-checkbox-and-search/props-types.d.ts +1 -0
  60. package/es/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  61. package/es/organism/icon-editor/index.d.ts +1 -0
  62. package/es/organism/icon-editor/index.d.ts.map +1 -1
  63. package/es/organism/icon-editor/types.d.ts +1 -0
  64. package/es/organism/icon-editor/types.d.ts.map +1 -1
  65. package/es/organism/list-item/index.d.ts +1 -0
  66. package/es/organism/list-items/index.d.ts +3 -0
  67. package/es/organism/mooc-header/index.d.ts +1 -0
  68. package/es/organism/mooc-header/index.d.ts.map +1 -1
  69. package/es/organism/rewards-form/index.d.ts +2 -0
  70. package/es/organism/select-opponents/index.d.ts +2 -0
  71. package/es/organism/select-opponents/index.d.ts.map +1 -1
  72. package/es/organism/select-opponents/types.d.ts +2 -0
  73. package/es/organism/select-opponents/types.d.ts.map +1 -1
  74. package/es/organism/skill-edition/index.d.ts +9 -0
  75. package/es/organism/skill-edition/index.d.ts.map +1 -1
  76. package/es/organism/skill-edition/types.d.ts +9 -0
  77. package/es/organism/skill-edition/types.d.ts.map +1 -1
  78. package/es/organism/title-and-input/index.d.ts +4 -0
  79. package/es/organism/title-and-input/index.d.ts.map +1 -1
  80. package/es/organism/title-and-input/types.d.ts +4 -0
  81. package/es/organism/title-and-input/types.d.ts.map +1 -1
  82. package/es/organism/wizard-contents/index.d.ts +5 -0
  83. package/es/template/app-player/loading/index.d.ts +3 -0
  84. package/es/template/app-player/player/index.d.ts +6 -0
  85. package/es/template/app-player/player/slides/index.d.ts +3 -0
  86. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  87. package/es/template/app-player/popin-correction/index.d.ts +3 -0
  88. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  89. package/es/template/app-player/popin-end/index.d.ts +3 -0
  90. package/es/template/app-review/index.d.ts +3 -0
  91. package/es/template/app-review/index.d.ts.map +1 -1
  92. package/es/template/app-review/player/prop-types.d.ts +3 -0
  93. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  94. package/es/template/app-review/prop-types.d.ts +3 -0
  95. package/es/template/app-review/prop-types.d.ts.map +1 -1
  96. package/es/template/back-office/brand-update/index.d.ts +277 -0
  97. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  98. package/es/template/back-office/brand-update/index.js +7 -0
  99. package/es/template/back-office/brand-update/index.js.map +1 -1
  100. package/es/template/certification-detail/index.d.ts +3 -0
  101. package/es/template/common/dashboard/index.d.ts +6 -0
  102. package/es/template/common/search-page/index.d.ts +3 -0
  103. package/es/template/external-course/index.d.ts +3 -0
  104. package/es/template/playlist-detail/index.d.ts +3 -0
  105. package/lib/atom/checkbox-with-title/index.d.ts +1 -0
  106. package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
  107. package/lib/atom/checkbox-with-title/index.js +6 -1
  108. package/lib/atom/checkbox-with-title/index.js.map +1 -1
  109. package/lib/atom/input-search/index.d.ts +1 -0
  110. package/lib/atom/input-search/index.d.ts.map +1 -1
  111. package/lib/atom/input-search/index.js +7 -2
  112. package/lib/atom/input-search/index.js.map +1 -1
  113. package/lib/atom/input-text/index.d.ts +1 -0
  114. package/lib/atom/input-text/index.d.ts.map +1 -1
  115. package/lib/atom/input-text/index.js +3 -0
  116. package/lib/atom/input-text/index.js.map +1 -1
  117. package/lib/atom/input-text-with-title/index.d.ts +1 -0
  118. package/lib/atom/radio-group/style.css +3 -1
  119. package/lib/molecule/brand-form-group/index.d.ts +1 -0
  120. package/lib/molecule/brand-form-group/index.d.ts.map +1 -1
  121. package/lib/molecule/brand-form-group/index.js +10 -1
  122. package/lib/molecule/brand-form-group/index.js.map +1 -1
  123. package/lib/molecule/cm-popin/types.d.ts +3 -0
  124. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  125. package/lib/molecule/course-sections/index.d.ts +1 -0
  126. package/lib/molecule/drag-and-drop/index.d.ts +1 -0
  127. package/lib/molecule/drag-and-drop/upload-report.d.ts +1 -0
  128. package/lib/molecule/draggable-list/index.d.ts +1 -0
  129. package/lib/molecule/multi-filter-panel/index.d.ts +1 -0
  130. package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
  131. package/lib/molecule/multi-filter-panel/prop-types.d.ts +1 -0
  132. package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  133. package/lib/molecule/search-form/index.d.ts +1 -0
  134. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
  135. package/lib/molecule/translation-modal/index.d.ts +2 -0
  136. package/lib/organism/assignment-edition/index.d.ts +259 -0
  137. package/lib/organism/assignment-edition/index.d.ts.map +1 -0
  138. package/lib/organism/assignment-edition/index.js +123 -0
  139. package/lib/organism/assignment-edition/index.js.map +1 -0
  140. package/lib/organism/assignment-edition/style.css +27 -0
  141. package/lib/organism/assignment-edition/types.d.ts +310 -0
  142. package/lib/organism/assignment-edition/types.d.ts.map +1 -0
  143. package/lib/organism/assignment-edition/types.js +58 -0
  144. package/lib/organism/assignment-edition/types.js.map +1 -0
  145. package/lib/organism/brand-form/index.d.ts +1 -0
  146. package/lib/organism/brand-learning-priorities/index.d.ts +1 -0
  147. package/lib/organism/brand-table/index.d.ts +1 -0
  148. package/lib/organism/content-selection-list/index.d.ts +8 -1
  149. package/lib/organism/content-selection-list/index.d.ts.map +1 -1
  150. package/lib/organism/content-selection-list/index.js +15 -6
  151. package/lib/organism/content-selection-list/index.js.map +1 -1
  152. package/lib/organism/content-selection-list/types.d.ts +13 -0
  153. package/lib/organism/content-selection-list/types.d.ts.map +1 -1
  154. package/lib/organism/content-selection-list/types.js +7 -0
  155. package/lib/organism/content-selection-list/types.js.map +1 -1
  156. package/lib/organism/content-skill-modal/index.d.ts +4 -0
  157. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  158. package/lib/organism/content-skill-modal/types.d.ts +4 -0
  159. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  160. package/lib/organism/content-translation/index.d.ts +1 -0
  161. package/lib/organism/filter-checkbox-and-search/index.d.ts +1 -0
  162. package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  163. package/lib/organism/filter-checkbox-and-search/props-types.d.ts +1 -0
  164. package/lib/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  165. package/lib/organism/icon-editor/index.d.ts +1 -0
  166. package/lib/organism/icon-editor/index.d.ts.map +1 -1
  167. package/lib/organism/icon-editor/types.d.ts +1 -0
  168. package/lib/organism/icon-editor/types.d.ts.map +1 -1
  169. package/lib/organism/list-item/index.d.ts +1 -0
  170. package/lib/organism/list-items/index.d.ts +3 -0
  171. package/lib/organism/mooc-header/index.d.ts +1 -0
  172. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  173. package/lib/organism/rewards-form/index.d.ts +2 -0
  174. package/lib/organism/select-opponents/index.d.ts +2 -0
  175. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  176. package/lib/organism/select-opponents/types.d.ts +2 -0
  177. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  178. package/lib/organism/skill-edition/index.d.ts +9 -0
  179. package/lib/organism/skill-edition/index.d.ts.map +1 -1
  180. package/lib/organism/skill-edition/types.d.ts +9 -0
  181. package/lib/organism/skill-edition/types.d.ts.map +1 -1
  182. package/lib/organism/title-and-input/index.d.ts +4 -0
  183. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  184. package/lib/organism/title-and-input/types.d.ts +4 -0
  185. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  186. package/lib/organism/wizard-contents/index.d.ts +5 -0
  187. package/lib/template/app-player/loading/index.d.ts +3 -0
  188. package/lib/template/app-player/player/index.d.ts +6 -0
  189. package/lib/template/app-player/player/slides/index.d.ts +3 -0
  190. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  191. package/lib/template/app-player/popin-correction/index.d.ts +3 -0
  192. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  193. package/lib/template/app-player/popin-end/index.d.ts +3 -0
  194. package/lib/template/app-review/index.d.ts +3 -0
  195. package/lib/template/app-review/index.d.ts.map +1 -1
  196. package/lib/template/app-review/player/prop-types.d.ts +3 -0
  197. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  198. package/lib/template/app-review/prop-types.d.ts +3 -0
  199. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  200. package/lib/template/back-office/brand-update/index.d.ts +277 -0
  201. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  202. package/lib/template/back-office/brand-update/index.js +7 -0
  203. package/lib/template/back-office/brand-update/index.js.map +1 -1
  204. package/lib/template/certification-detail/index.d.ts +3 -0
  205. package/lib/template/common/dashboard/index.d.ts +6 -0
  206. package/lib/template/common/search-page/index.d.ts +3 -0
  207. package/lib/template/external-course/index.d.ts +3 -0
  208. package/lib/template/playlist-detail/index.d.ts +3 -0
  209. package/package.json +2 -2
@@ -0,0 +1,259 @@
1
+ /// <reference types="react" />
2
+ import { AssignmentEditionProps } from './types';
3
+ export type { AssignmentEditionProps, AssignmentEditionPropsFixture } from './types';
4
+ declare const AssignmentEdition: {
5
+ ({ information, audience, contents, dates, busy, isFetching, focusSection }: AssignmentEditionProps): JSX.Element;
6
+ propTypes: {
7
+ information: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
8
+ title: import("prop-types").Validator<string>;
9
+ subtitle: import("prop-types").Requireable<string>;
10
+ error: import("prop-types").Requireable<string>;
11
+ field: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
12
+ type: import("prop-types").Requireable<string>;
13
+ onChange: import("prop-types").Validator<(...args: any[]) => any>;
14
+ autoFocus: import("prop-types").Requireable<boolean>;
15
+ title: import("prop-types").Requireable<string>;
16
+ placeholder: import("prop-types").Requireable<string>;
17
+ defaultValue: import("prop-types").Requireable<string>;
18
+ theme: import("prop-types").Requireable<string>;
19
+ maxLength: import("prop-types").Requireable<number>;
20
+ disabled: import("prop-types").Requireable<boolean>;
21
+ readOnly: import("prop-types").Requireable<boolean>;
22
+ value: import("prop-types").Requireable<string>;
23
+ hint: import("prop-types").Requireable<string>;
24
+ error: import("prop-types").Requireable<string>;
25
+ description: import("prop-types").Requireable<string>;
26
+ modified: import("prop-types").Requireable<boolean>;
27
+ valid: import("prop-types").Requireable<boolean>;
28
+ 'aria-label': import("prop-types").Requireable<string>;
29
+ 'data-name': import("prop-types").Requireable<string>;
30
+ inputColor: import("prop-types").Requireable<boolean>;
31
+ }>>>;
32
+ }>>>;
33
+ audience: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
34
+ title: import("prop-types").Validator<string>;
35
+ subtitle: import("prop-types").Requireable<string>;
36
+ disabledExplanation: import("prop-types").Requireable<string>;
37
+ team: import("prop-types").Requireable<import("prop-types").InferProps<{
38
+ label: import("prop-types").Validator<string>;
39
+ name: import("prop-types").Validator<string>;
40
+ }>>;
41
+ invalidTargets: import("prop-types").Requireable<(import("prop-types").InferProps<{
42
+ ref: import("prop-types").Validator<string>;
43
+ label: import("prop-types").Validator<string>;
44
+ onRemove: import("prop-types").Validator<(...args: any[]) => any>;
45
+ }> | null | undefined)[]>;
46
+ invalidLabel: import("prop-types").Requireable<string>;
47
+ error: import("prop-types").Requireable<string>;
48
+ disabled: import("prop-types").Requireable<boolean>;
49
+ everyone: import("prop-types").Requireable<import("prop-types").InferProps<{
50
+ title: import("prop-types").Requireable<string>;
51
+ label: import("prop-types").Validator<string>;
52
+ value: import("prop-types").Validator<boolean>;
53
+ onChange: import("prop-types").Validator<(...args: any[]) => any>;
54
+ }>>;
55
+ populations: import("prop-types").Requireable<import("prop-types").InferProps<{
56
+ title: import("prop-types").Requireable<string>;
57
+ subtitle: import("prop-types").Requireable<string>;
58
+ label: import("prop-types").Requireable<string>;
59
+ options: import("prop-types").Validator<(import("prop-types").InferProps<{
60
+ name: import("prop-types").Validator<string>;
61
+ value: import("prop-types").Validator<string>;
62
+ selected: import("prop-types").Validator<boolean>;
63
+ count: import("prop-types").Requireable<NonNullable<string | number | null | undefined>>;
64
+ }> | null | undefined)[]>;
65
+ removeLabel: import("prop-types").Requireable<string>;
66
+ onChange: import("prop-types").Validator<(...args: any[]) => any>;
67
+ }>>;
68
+ upload: import("prop-types").Requireable<import("prop-types").InferProps<{
69
+ title: import("prop-types").Requireable<string>;
70
+ subtitle: import("prop-types").Requireable<string>;
71
+ templateLink: import("prop-types").Requireable<import("prop-types").InferProps<{
72
+ label: import("prop-types").Requireable<string>;
73
+ href: import("prop-types").Requireable<string>;
74
+ }>>;
75
+ templatePreview: import("prop-types").Requireable<import("prop-types").InferProps<{
76
+ header: import("prop-types").Validator<string>;
77
+ rows: import("prop-types").Requireable<(string | null | undefined)[]>;
78
+ }>>;
79
+ dropzone: import("prop-types").Requireable<import("prop-types").InferProps<{
80
+ description: import("prop-types").Requireable<string>;
81
+ browse: import("prop-types").Requireable<string>;
82
+ dropLabel: import("prop-types").Requireable<string>;
83
+ loadingLabel: import("prop-types").Requireable<string>;
84
+ }>>;
85
+ status: import("prop-types").Validator<string>;
86
+ error: import("prop-types").Requireable<string>;
87
+ onUpload: import("prop-types").Validator<(...args: any[]) => any>;
88
+ file: import("prop-types").Requireable<import("prop-types").InferProps<{
89
+ name: import("prop-types").Requireable<string>;
90
+ detail: import("prop-types").Requireable<string>;
91
+ }>>;
92
+ summary: import("prop-types").Requireable<import("prop-types").InferProps<{
93
+ valid: import("prop-types").Requireable<string>;
94
+ unknown: import("prop-types").Requireable<string>;
95
+ ambiguous: import("prop-types").Requireable<string>;
96
+ inactive: import("prop-types").Requireable<string>;
97
+ }>>;
98
+ keptLabel: import("prop-types").Requireable<string>;
99
+ report: import("prop-types").Requireable<import("prop-types").InferProps<{
100
+ label: import("prop-types").Validator<string>;
101
+ onDownload: import("prop-types").Validator<(...args: any[]) => any>;
102
+ }>>;
103
+ removeLabel: import("prop-types").Requireable<string>;
104
+ onRemove: import("prop-types").Requireable<(...args: any[]) => any>;
105
+ }>>;
106
+ individuals: import("prop-types").Requireable<import("prop-types").InferProps<{
107
+ title: import("prop-types").Requireable<string>;
108
+ placeholder: import("prop-types").Requireable<string>;
109
+ value: import("prop-types").Requireable<string>;
110
+ suggestions: import("prop-types").Requireable<(import("prop-types").InferProps<{
111
+ id: import("prop-types").Validator<string>;
112
+ label: import("prop-types").Validator<string>;
113
+ login: import("prop-types").Validator<string>;
114
+ }> | null | undefined)[]>;
115
+ selected: import("prop-types").Requireable<(import("prop-types").InferProps<{
116
+ id: import("prop-types").Validator<string>;
117
+ label: import("prop-types").Validator<string>;
118
+ login: import("prop-types").Validator<string>;
119
+ }> | null | undefined)[]>;
120
+ removeLabel: import("prop-types").Requireable<string>;
121
+ onSearch: import("prop-types").Validator<(...args: any[]) => any>;
122
+ onAdd: import("prop-types").Validator<(...args: any[]) => any>;
123
+ onRemove: import("prop-types").Validator<(...args: any[]) => any>;
124
+ }>>;
125
+ total: import("prop-types").Requireable<import("prop-types").InferProps<{
126
+ label: import("prop-types").Validator<string>;
127
+ detail: import("prop-types").Requireable<string>;
128
+ }>>;
129
+ }>>>;
130
+ contents: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
131
+ disabled: import("prop-types").Requireable<boolean>;
132
+ title: import("prop-types").Validator<string>;
133
+ subtitle: import("prop-types").Requireable<string>;
134
+ button: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
135
+ label: import("prop-types").Validator<string>;
136
+ disabled: import("prop-types").Requireable<boolean>;
137
+ onClick: import("prop-types").Validator<(...args: any[]) => any>;
138
+ }>>>;
139
+ list: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
140
+ title: import("prop-types").Requireable<string>;
141
+ items: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
142
+ hidden: import("prop-types").Requireable<boolean>;
143
+ hint: import("prop-types").Requireable<string>;
144
+ ref: import("prop-types").Validator<string>;
145
+ title: import("prop-types").Validator<string>;
146
+ subtitle: import("prop-types").Validator<string>;
147
+ image: import("prop-types").Validator<string>;
148
+ tags: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
149
+ label: import("prop-types").Validator<string>;
150
+ iconName: import("prop-types").Validator<string>;
151
+ }>>>;
152
+ checkbox: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
153
+ checked: import("prop-types").Validator<boolean>;
154
+ disabled: import("prop-types").Requireable<boolean>;
155
+ onChange: import("prop-types").Validator<(...args: any[]) => any>;
156
+ }>>>;
157
+ deleteButton: import("prop-types").Requireable<import("prop-types").InferProps<{
158
+ label: import("prop-types").Requireable<string>;
159
+ 'aria-label': import("prop-types").Requireable<string>;
160
+ disabled: import("prop-types").Requireable<boolean>;
161
+ onClick: import("prop-types").Requireable<(...args: any[]) => any>;
162
+ }>>;
163
+ }>>[]>;
164
+ search: import("prop-types").Requireable<import("prop-types").InferProps<{
165
+ value: import("prop-types").Validator<string>;
166
+ placeholder: import("prop-types").Validator<string>;
167
+ disabled: import("prop-types").Requireable<boolean>;
168
+ onChange: import("prop-types").Validator<(...args: any[]) => any>;
169
+ }>>;
170
+ emptyResult: import("prop-types").Requireable<import("prop-types").InferProps<{
171
+ title: import("prop-types").Validator<string>;
172
+ description: import("prop-types").Validator<string>;
173
+ }>>;
174
+ checkbox: import("prop-types").Requireable<import("prop-types").InferProps<{
175
+ title: import("prop-types").Validator<string>;
176
+ checked: import("prop-types").Validator<boolean>;
177
+ disabled: import("prop-types").Requireable<boolean>;
178
+ onChange: import("prop-types").Validator<(...args: any[]) => any>;
179
+ }>>;
180
+ }>>>;
181
+ error: import("prop-types").Requireable<string>;
182
+ hiddenLabel: import("prop-types").Requireable<string>;
183
+ isFetching: import("prop-types").Requireable<boolean>;
184
+ actionButtons: import("prop-types").Requireable<(object | null | undefined)[]>;
185
+ checkboxWithTitle: import("prop-types").Requireable<import("prop-types").InferProps<{
186
+ title: import("prop-types").Requireable<string>;
187
+ checked: import("prop-types").Requireable<boolean>;
188
+ disabled: import("prop-types").Requireable<boolean>;
189
+ onChange: import("prop-types").Requireable<(...args: any[]) => any>;
190
+ }>>;
191
+ readOnly: import("prop-types").Requireable<boolean>;
192
+ }>>>;
193
+ dates: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
194
+ title: import("prop-types").Validator<string>;
195
+ error: import("prop-types").Requireable<string>;
196
+ fields: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
197
+ type: import("prop-types").Requireable<string>;
198
+ onChange: import("prop-types").Validator<(...args: any[]) => any>;
199
+ title: import("prop-types").Requireable<string>;
200
+ name: import("prop-types").Requireable<string>;
201
+ value: import("prop-types").Requireable<string>;
202
+ min: import("prop-types").Requireable<string>;
203
+ max: import("prop-types").Requireable<string>;
204
+ error: import("prop-types").Requireable<string>;
205
+ hint: import("prop-types").Requireable<string>;
206
+ disabled: import("prop-types").Requireable<boolean>;
207
+ required: import("prop-types").Requireable<boolean>;
208
+ modified: import("prop-types").Requireable<boolean>;
209
+ suffix: import("prop-types").Requireable<string>;
210
+ theme: import("prop-types").Requireable<string>;
211
+ }>>[]>;
212
+ rule: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
213
+ title: import("prop-types").Validator<string>;
214
+ hint: import("prop-types").Requireable<string>;
215
+ disabled: import("prop-types").Requireable<boolean>;
216
+ options: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
217
+ title: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
218
+ title: import("prop-types").Validator<string>;
219
+ subtitle: import("prop-types").Requireable<string>;
220
+ }>>>;
221
+ name: import("prop-types").Requireable<string>;
222
+ checked: import("prop-types").Requireable<boolean>;
223
+ disabled: import("prop-types").Requireable<boolean>;
224
+ example: import("prop-types").Requireable<string>;
225
+ hint: import("prop-types").Requireable<string>;
226
+ onChange: import("prop-types").Validator<(...args: any[]) => any>;
227
+ 'aria-label': import("prop-types").Requireable<string>;
228
+ 'data-name': import("prop-types").Requireable<string>;
229
+ }>>[]>;
230
+ }>>>;
231
+ reminders: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
232
+ hint: import("prop-types").Validator<string>;
233
+ switches: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
234
+ onChange: import("prop-types").Validator<(...args: any[]) => any>;
235
+ title: import("prop-types").Requireable<string>;
236
+ name: import("prop-types").Requireable<string>;
237
+ id: import("prop-types").Requireable<string>;
238
+ value: import("prop-types").Requireable<boolean>;
239
+ disabled: import("prop-types").Requireable<boolean>;
240
+ description: import("prop-types").Requireable<string>;
241
+ 'aria-labelledby': import("prop-types").Requireable<string>;
242
+ 'aria-label': import("prop-types").Requireable<string>;
243
+ modified: import("prop-types").Requireable<boolean>;
244
+ titlePosition: import("prop-types").Requireable<string>;
245
+ theme: import("prop-types").Requireable<string>;
246
+ details: import("prop-types").Requireable<string>;
247
+ 'data-name': import("prop-types").Requireable<string>;
248
+ requiredSelection: import("prop-types").Requireable<boolean>;
249
+ icon: import("prop-types").Requireable<string>;
250
+ }>>[]>;
251
+ }>>>;
252
+ }>>>;
253
+ busy: import("prop-types").Requireable<boolean>;
254
+ isFetching: import("prop-types").Requireable<boolean>;
255
+ focusSection: import("prop-types").Requireable<string>;
256
+ };
257
+ };
258
+ export default AssignmentEdition;
259
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/assignment-edition/index.tsx"],"names":[],"mappings":";AASA,OAAO,EAAC,sBAAsB,EAAY,MAAM,SAAS,CAAC;AAG1D,YAAY,EAAC,sBAAsB,EAAE,6BAA6B,EAAC,MAAM,SAAS,CAAC;AAEnF,QAAA,MAAM,iBAAiB;iFAQpB,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqGxB,CAAC;AAGF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _react = _interopRequireWildcard(require("react"));
6
+ var _uniqueId = _interopRequireDefault(require("lodash/fp/uniqueId"));
7
+ var _brandFormGroup = _interopRequireDefault(require("../../molecule/brand-form-group"));
8
+ var _assignmentAudience = _interopRequireDefault(require("../assignment-audience"));
9
+ var _contentSelectionList = _interopRequireDefault(require("../content-selection-list"));
10
+ var _title = _interopRequireDefault(require("../../atom/title"));
11
+ var _radioWithTitle = _interopRequireDefault(require("../../atom/radio-with-title"));
12
+ var _inputSwitch = _interopRequireDefault(require("../../atom/input-switch"));
13
+ var _loader = _interopRequireDefault(require("../../atom/loader"));
14
+ var _types = require("./types");
15
+ var _style = _interopRequireDefault(require("./style.css"));
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
+ 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); }
20
+ const AssignmentEdition = ({
21
+ information,
22
+ audience,
23
+ contents,
24
+ dates,
25
+ busy = false,
26
+ isFetching = false,
27
+ focusSection
28
+ }) => {
29
+ const root = (0, _react.useRef)(null);
30
+ const radioName = (0, _react.useMemo)(() => (0, _uniqueId.default)('assignment-rule-'), []);
31
+ (0, _react.useEffect)(() => {
32
+ if (!focusSection || isFetching) return;
33
+ const section = root.current?.querySelector(`#assignment-${focusSection}`);
34
+ if (!section) return;
35
+ const findHeader = ancestor => {
36
+ if (!ancestor) return null;
37
+ return ancestor.querySelector('[data-name="header-with-actions-wrapper"]') || findHeader(ancestor.parentElement);
38
+ };
39
+ const header = findHeader(root.current?.parentElement || null);
40
+ const bottom = header?.parentElement?.getBoundingClientRect().bottom || 0;
41
+ section.style.scrollMarginTop = `${bottom + 16}px`;
42
+ section.scrollIntoView?.({
43
+ block: 'start'
44
+ });
45
+ }, [focusSection, isFetching]);
46
+ if (isFetching) {
47
+ return /*#__PURE__*/_react.default.createElement("div", {
48
+ className: _style.default.loaderContainer
49
+ }, /*#__PURE__*/_react.default.createElement(_loader.default, {
50
+ className: _style.default.loader,
51
+ theme: "coorpmanager"
52
+ }));
53
+ }
54
+ return /*#__PURE__*/_react.default.createElement("div", {
55
+ ref: root,
56
+ className: _style.default.container
57
+ }, /*#__PURE__*/_react.default.createElement("section", {
58
+ id: "assignment-information",
59
+ "data-name": "assignment-information",
60
+ className: _style.default.card
61
+ }, /*#__PURE__*/_react.default.createElement(_brandFormGroup.default, {
62
+ title: information.title,
63
+ subtitle: information.subtitle,
64
+ error: information.error,
65
+ fields: [{
66
+ ...information.field,
67
+ type: 'text',
68
+ maxLength: 100,
69
+ theme: 'coorpmanager',
70
+ disabled: busy || information.field.disabled
71
+ }]
72
+ })), /*#__PURE__*/_react.default.createElement("section", {
73
+ id: "assignment-audience",
74
+ "data-name": "assignment-audience",
75
+ className: _style.default.card
76
+ }, /*#__PURE__*/_react.default.createElement(_assignmentAudience.default, _extends({}, audience, {
77
+ disabled: busy || audience.disabled
78
+ }))), /*#__PURE__*/_react.default.createElement("section", {
79
+ id: "assignment-contents",
80
+ "data-name": "assignment-contents",
81
+ className: _style.default.card
82
+ }, /*#__PURE__*/_react.default.createElement(_contentSelectionList.default, _extends({}, contents, {
83
+ disabled: busy || contents.disabled
84
+ }))), /*#__PURE__*/_react.default.createElement("section", {
85
+ id: "assignment-dates",
86
+ "data-name": "assignment-dates",
87
+ className: _style.default.card
88
+ }, /*#__PURE__*/_react.default.createElement("div", {
89
+ className: _style.default.content
90
+ }, /*#__PURE__*/_react.default.createElement(_brandFormGroup.default, {
91
+ title: dates.title,
92
+ error: dates.error,
93
+ fields: dates.fields.map(field => ({
94
+ ...field,
95
+ type: 'date',
96
+ theme: 'coorpmanager',
97
+ disabled: busy || field.disabled
98
+ }))
99
+ }), /*#__PURE__*/_react.default.createElement(_title.default, {
100
+ type: "form-group",
101
+ title: dates.rule.title
102
+ }), dates.rule.hint ? /*#__PURE__*/_react.default.createElement("div", null, dates.rule.hint) : null, dates.rule.options.map((option, index) => /*#__PURE__*/_react.default.createElement(_radioWithTitle.default, _extends({}, option, {
103
+ key: option['data-name'] || option.title.title,
104
+ title: {
105
+ ...option.title,
106
+ subtitle: option.title.subtitle || '',
107
+ type: 'form-group',
108
+ subtitleSize: 'extra-small',
109
+ 'data-name': `assignment-rule-title-${index}`
110
+ },
111
+ name: option.name || radioName,
112
+ checked: Boolean(option.checked),
113
+ disabled: busy || dates.rule.disabled || option.disabled,
114
+ "aria-label": option['aria-label'] || option.title.title
115
+ }))), /*#__PURE__*/_react.default.createElement("div", null, dates.reminders.hint), dates.reminders.switches.map((reminder, index) => /*#__PURE__*/_react.default.createElement(_inputSwitch.default, _extends({}, reminder, {
116
+ key: reminder.name || reminder['data-name'] || reminder.title || index,
117
+ theme: "coorpmanager",
118
+ disabled: busy || reminder.disabled
119
+ }))))));
120
+ };
121
+ AssignmentEdition.propTypes = process.env.NODE_ENV !== "production" ? _types.propTypes : {};
122
+ var _default = exports.default = AssignmentEdition;
123
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_uniqueId","_interopRequireDefault","_brandFormGroup","_assignmentAudience","_contentSelectionList","_title","_radioWithTitle","_inputSwitch","_loader","_types","_style","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","AssignmentEdition","information","audience","contents","dates","busy","isFetching","focusSection","root","useRef","radioName","useMemo","uniqueId","useEffect","section","current","querySelector","findHeader","ancestor","parentElement","header","bottom","getBoundingClientRect","style","scrollMarginTop","scrollIntoView","block","createElement","className","loaderContainer","loader","theme","ref","container","id","card","title","subtitle","error","fields","field","type","maxLength","disabled","content","map","rule","hint","options","option","index","key","subtitleSize","name","checked","Boolean","reminders","switches","reminder","propTypes","process","env","NODE_ENV","_default","exports"],"sources":["../../../src/organism/assignment-edition/index.tsx"],"sourcesContent":["import React, {useEffect, useMemo, useRef} from 'react';\nimport uniqueId from 'lodash/fp/uniqueId';\nimport BrandFormGroup from '../../molecule/brand-form-group';\nimport AssignmentAudience from '../assignment-audience';\nimport ContentSelectionList from '../content-selection-list';\nimport Title from '../../atom/title';\nimport RadioWithTitle from '../../atom/radio-with-title';\nimport InputSwitch from '../../atom/input-switch';\nimport Loader from '../../atom/loader';\nimport {AssignmentEditionProps, propTypes} from './types';\nimport style from './style.css';\n\nexport type {AssignmentEditionProps, AssignmentEditionPropsFixture} from './types';\n\nconst AssignmentEdition = ({\n information,\n audience,\n contents,\n dates,\n busy = false,\n isFetching = false,\n focusSection\n}: AssignmentEditionProps) => {\n const root = useRef<HTMLDivElement>(null);\n const radioName = useMemo(() => uniqueId('assignment-rule-'), []);\n\n useEffect(() => {\n if (!focusSection || isFetching) return;\n const section = root.current?.querySelector<HTMLElement>(`#assignment-${focusSection}`);\n if (!section) return;\n const findHeader = (ancestor: HTMLElement | null): HTMLElement | null => {\n if (!ancestor) return null;\n return (\n ancestor.querySelector<HTMLElement>('[data-name=\"header-with-actions-wrapper\"]') ||\n findHeader(ancestor.parentElement)\n );\n };\n const header = findHeader(root.current?.parentElement || null);\n const bottom = header?.parentElement?.getBoundingClientRect().bottom || 0;\n section.style.scrollMarginTop = `${bottom + 16}px`;\n section.scrollIntoView?.({block: 'start'});\n }, [focusSection, isFetching]);\n\n if (isFetching) {\n return (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n );\n }\n\n return (\n <div ref={root} className={style.container}>\n <section\n id=\"assignment-information\"\n data-name=\"assignment-information\"\n className={style.card}\n >\n <BrandFormGroup\n title={information.title}\n subtitle={information.subtitle}\n error={information.error}\n fields={[\n {\n ...information.field,\n type: 'text',\n maxLength: 100,\n theme: 'coorpmanager',\n disabled: busy || information.field.disabled\n }\n ]}\n />\n </section>\n <section id=\"assignment-audience\" data-name=\"assignment-audience\" className={style.card}>\n <AssignmentAudience {...audience} disabled={busy || audience.disabled} />\n </section>\n <section id=\"assignment-contents\" data-name=\"assignment-contents\" className={style.card}>\n <ContentSelectionList {...contents} disabled={busy || contents.disabled} />\n </section>\n <section id=\"assignment-dates\" data-name=\"assignment-dates\" className={style.card}>\n <div className={style.content}>\n <BrandFormGroup\n title={dates.title}\n error={dates.error}\n fields={dates.fields.map(field => ({\n ...field,\n type: 'date',\n theme: 'coorpmanager',\n disabled: busy || field.disabled\n }))}\n />\n <Title type=\"form-group\" title={dates.rule.title} />\n {dates.rule.hint ? <div>{dates.rule.hint}</div> : null}\n {dates.rule.options.map((option, index) => (\n <RadioWithTitle\n {...option}\n key={option['data-name'] || option.title.title}\n title={{\n ...option.title,\n subtitle: option.title.subtitle || '',\n type: 'form-group',\n subtitleSize: 'extra-small',\n 'data-name': `assignment-rule-title-${index}`\n }}\n name={option.name || radioName}\n checked={Boolean(option.checked)}\n disabled={busy || dates.rule.disabled || option.disabled}\n aria-label={option['aria-label'] || option.title.title}\n />\n ))}\n <div>{dates.reminders.hint}</div>\n {dates.reminders.switches.map((reminder, index) => (\n <InputSwitch\n {...reminder}\n key={reminder.name || reminder['data-name'] || reminder.title || index}\n theme=\"coorpmanager\"\n disabled={busy || reminder.disabled}\n />\n ))}\n </div>\n </section>\n </div>\n );\n};\n\nAssignmentEdition.propTypes = propTypes;\nexport default AssignmentEdition;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,I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C,IAAI,CAACH,QAAQ,IAAIM,MAAM,CAACN,QAAS;IACzD,cAAYM,MAAM,CAAC,YAAY,CAAC,IAAIA,MAAM,CAACb,KAAK,CAACA;EAAM,EACxD,CACF,CAAC,eACF5E,MAAA,CAAAgB,OAAA,CAAAmD,aAAA,cAAMvB,KAAK,CAACoD,SAAS,CAACT,IAAU,CAAC,EAChC3C,KAAK,CAACoD,SAAS,CAACC,QAAQ,CAACZ,GAAG,CAAC,CAACa,QAAQ,EAAER,KAAK,kBAC5C1F,MAAA,CAAAgB,OAAA,CAAAmD,aAAA,CAACzD,YAAA,CAAAM,OAAW,EAAAkB,QAAA,KACNgE,QAAQ;IACZP,GAAG,EAAEO,QAAQ,CAACL,IAAI,IAAIK,QAAQ,CAAC,WAAW,CAAC,IAAIA,QAAQ,CAACtB,KAAK,IAAIc,KAAM;IACvEnB,KAAK,EAAC,cAAc;IACpBY,QAAQ,EAAEtC,IAAI,IAAIqD,QAAQ,CAACf;EAAS,EACrC,CACF,CACE,CACE,CACN,CAAC;AAEV,CAAC;AAED3C,iBAAiB,CAAC2D,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGH,gBAAS;AAAC,IAAAI,QAAA,GAAAC,OAAA,CAAAxF,OAAA,GACzBwB,iBAAiB","ignoreList":[]}
@@ -0,0 +1,27 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value white, cm_grey_100 from colors;
3
+
4
+ .container {
5
+ composes: container from '../skill-edition/style.css';
6
+ gap: 24px;
7
+ }
8
+
9
+ .content {
10
+ composes: contentContainer from '../skill-edition/style.css';
11
+ }
12
+
13
+ .loaderContainer {
14
+ composes: loaderContainer from '../skill-edition/style.css';
15
+ }
16
+
17
+ .loader {
18
+ composes: loader from '../skill-edition/style.css';
19
+ }
20
+
21
+ .card {
22
+ padding: 32px;
23
+ border: 1px solid cm_grey_100;
24
+ border-radius: 12px;
25
+ background: white;
26
+ scroll-margin-top: 16px;
27
+ }