@elice/material-exercise 1.240401.0 → 1.240508.0-globalization.0

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 (251) hide show
  1. package/cjs/components/locales/en.json.js +7 -0
  2. package/cjs/components/locales/index.d.ts +3 -0
  3. package/cjs/components/locales/ko.json.js +7 -0
  4. package/cjs/components/locales/th.json.js +7 -0
  5. package/cjs/components/material-exercise/MaterialExercise.d.ts +3 -1
  6. package/cjs/components/material-exercise/MaterialExercise.js +14 -13
  7. package/cjs/components/material-exercise/context/ExerciseProviderNoImage.d.ts +2 -1
  8. package/cjs/components/material-exercise/context/ExerciseProviderNoImage.js +7 -15
  9. package/cjs/components/material-exercise/context/locales/noImage.en.json.js +2 -2
  10. package/cjs/components/material-exercise/context/locales/noImage.ko.json.js +2 -2
  11. package/cjs/components/material-exercise/context/locales/noImage.th.json.js +7 -0
  12. package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.d.ts +2 -1
  13. package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.js +9 -12
  14. package/cjs/components/material-exercise/exercise-code-history/locales/en.json.js +2 -2
  15. package/cjs/components/material-exercise/exercise-code-history/locales/index.d.ts +3 -0
  16. package/cjs/components/material-exercise/exercise-code-history/locales/ko.json.js +2 -2
  17. package/cjs/components/material-exercise/exercise-code-history/locales/th.json.js +7 -0
  18. package/cjs/components/material-exercise/exercise-file-editor/ExerciseFileReadOnlyBanner.d.ts +3 -5
  19. package/cjs/components/material-exercise/exercise-file-editor/ExerciseFileReadOnlyBanner.js +14 -5
  20. package/cjs/components/material-exercise/exercise-file-editor/locales/en.json.js +7 -0
  21. package/cjs/components/material-exercise/exercise-file-editor/locales/index.d.ts +3 -0
  22. package/cjs/components/material-exercise/exercise-file-editor/locales/ko.json.js +7 -0
  23. package/cjs/components/material-exercise/exercise-file-editor/locales/th.json.js +7 -0
  24. package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabs.d.ts +3 -2
  25. package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabs.js +21 -4
  26. package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabsFileTreeButton.d.ts +2 -2
  27. package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabsFileTreeButton.js +7 -15
  28. package/cjs/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.en.json.js +2 -2
  29. package/cjs/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.ko.json.js +2 -2
  30. package/cjs/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.th.json.js +7 -0
  31. package/cjs/components/material-exercise/exercise-file-tabs/locales/index.d.ts +3 -0
  32. package/cjs/components/material-exercise/exercise-file-tree/ExerciseFileTree.d.ts +2 -3
  33. package/cjs/components/material-exercise/exercise-file-tree/ExerciseFileTree.js +8 -10
  34. package/cjs/components/material-exercise/exercise-file-tree/locales/en.json.js +2 -2
  35. package/cjs/components/material-exercise/exercise-file-tree/locales/index.d.ts +3 -0
  36. package/cjs/components/material-exercise/exercise-file-tree/locales/ko.json.js +2 -2
  37. package/cjs/components/material-exercise/exercise-file-tree/locales/th.json.js +7 -0
  38. package/cjs/components/material-exercise/exercise-menu/ExerciseMenu.d.ts +2 -1
  39. package/cjs/components/material-exercise/exercise-menu/ExerciseMenu.js +13 -9
  40. package/cjs/components/material-exercise/exercise-menu/ExerciseMenuArduinoAgentModalButton.js +6 -3
  41. package/cjs/components/material-exercise/exercise-menu/ExerciseMenuArduinoSettings.js +15 -13
  42. package/cjs/components/material-exercise/exercise-menu/ExerciseMenuDropdown.js +10 -8
  43. package/cjs/components/material-exercise/exercise-menu/ExerciseMenuReset.js +12 -10
  44. package/cjs/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.js +9 -7
  45. package/cjs/components/material-exercise/exercise-menu/locales/en.json.js +2 -2
  46. package/cjs/components/material-exercise/exercise-menu/locales/index.d.ts +3 -0
  47. package/cjs/components/material-exercise/exercise-menu/locales/ko.json.js +2 -2
  48. package/cjs/components/material-exercise/exercise-menu/locales/th.json.js +7 -0
  49. package/cjs/components/material-exercise/exercise-preview/ExercisePreview.d.ts +2 -1
  50. package/cjs/components/material-exercise/exercise-preview/ExercisePreview.js +12 -8
  51. package/cjs/components/material-exercise/exercise-preview/ExercisePreviewDisplayModeButton.js +6 -4
  52. package/cjs/components/material-exercise/exercise-preview/locales/en.json.js +2 -2
  53. package/cjs/components/material-exercise/exercise-preview/locales/index.d.ts +3 -0
  54. package/cjs/components/material-exercise/exercise-preview/locales/ko.json.js +2 -2
  55. package/cjs/components/material-exercise/exercise-preview/locales/th.json.js +7 -0
  56. package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpane.d.ts +2 -3
  57. package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpane.js +18 -15
  58. package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpaneEnvironment.js +20 -18
  59. package/cjs/components/material-exercise/exercise-rightpane/locales/en.json.js +2 -2
  60. package/cjs/components/material-exercise/exercise-rightpane/locales/index.d.ts +3 -0
  61. package/cjs/components/material-exercise/exercise-rightpane/locales/ko.json.js +2 -2
  62. package/cjs/components/material-exercise/exercise-rightpane/locales/th.json.js +7 -0
  63. package/cjs/components/material-exercise/exercise-room/ExerciseRoom.d.ts +2 -1
  64. package/cjs/components/material-exercise/exercise-room/ExerciseRoom.js +13 -9
  65. package/cjs/components/material-exercise/exercise-room/ExerciseRoomDetail.js +30 -28
  66. package/cjs/components/material-exercise/exercise-room/ExerciseRoomList.js +17 -15
  67. package/cjs/components/material-exercise/exercise-room/locales/en.json.js +2 -2
  68. package/cjs/components/material-exercise/exercise-room/locales/index.d.ts +3 -0
  69. package/cjs/components/material-exercise/exercise-room/locales/ko.json.js +2 -2
  70. package/cjs/components/material-exercise/exercise-room/locales/th.json.js +7 -0
  71. package/cjs/components/material-exercise/exercise-runner/ExerciseRunner.d.ts +2 -1
  72. package/cjs/components/material-exercise/exercise-runner/ExerciseRunner.js +30 -29
  73. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoAgentModal.js +22 -18
  74. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoStatusMessage.js +12 -10
  75. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerButtonGroup.js +15 -13
  76. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerCodeHelpRequestButton.js +8 -5
  77. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerRunningInfo.js +29 -30
  78. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusMessage.js +10 -7
  79. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerTimer.js +8 -6
  80. package/cjs/components/material-exercise/exercise-runner/locales/en.json.js +2 -2
  81. package/cjs/components/material-exercise/exercise-runner/locales/index.d.ts +3 -0
  82. package/cjs/components/material-exercise/exercise-runner/locales/ko.json.js +2 -2
  83. package/cjs/components/material-exercise/exercise-runner/locales/th.json.js +7 -0
  84. package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.d.ts +2 -1
  85. package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.js +17 -16
  86. package/cjs/components/material-exercise/exercise-submit-history/locales/en.json.js +2 -2
  87. package/cjs/components/material-exercise/exercise-submit-history/locales/index.d.ts +3 -0
  88. package/cjs/components/material-exercise/exercise-submit-history/locales/ko.json.js +2 -2
  89. package/cjs/components/material-exercise/exercise-submit-history/locales/th.json.js +7 -0
  90. package/cjs/components/shared/file-tree/FileTree.d.ts +1 -5
  91. package/cjs/components/shared/file-tree/FileTree.js +11 -12
  92. package/cjs/components/shared/file-tree/FileTreeConfig.js +1 -2
  93. package/cjs/components/shared/file-tree/FileTreeList.js +1 -2
  94. package/cjs/components/shared/file-tree/FileTreeListItemContentInput.js +10 -8
  95. package/cjs/components/shared/file-tree/FileTreeListItemContentMenu.js +26 -24
  96. package/cjs/components/shared/file-tree/FileTreeToolbar.js +8 -7
  97. package/cjs/components/shared/file-tree/locales/en.json.js +2 -2
  98. package/cjs/components/shared/file-tree/locales/index.d.ts +3 -0
  99. package/cjs/components/shared/file-tree/locales/ko.json.js +2 -2
  100. package/cjs/components/shared/file-tree/locales/th.json.js +7 -0
  101. package/cjs/components/shared/file-viewer/FileViewer.d.ts +2 -1
  102. package/cjs/components/shared/file-viewer/FileViewer.js +8 -16
  103. package/cjs/components/shared/file-viewer/FileViewerCsv.js +10 -7
  104. package/cjs/components/shared/file-viewer/FileViewerNonViewable.d.ts +2 -1
  105. package/cjs/components/shared/file-viewer/FileViewerNonViewable.js +11 -18
  106. package/cjs/components/shared/file-viewer/locales/index.d.ts +6 -0
  107. package/cjs/components/shared/file-viewer/locales/nonViewable.en.json.js +2 -2
  108. package/cjs/components/shared/file-viewer/locales/nonViewable.ko.json.js +2 -2
  109. package/cjs/components/shared/file-viewer/locales/nonViewable.th.json.js +7 -0
  110. package/cjs/components/shared/monaco-editor/MonacoEditorPerferenceForm.d.ts +2 -1
  111. package/cjs/components/shared/monaco-editor/MonacoEditorPerferenceForm.js +29 -37
  112. package/cjs/components/shared/monaco-editor/locales/en.json.js +2 -2
  113. package/cjs/components/shared/monaco-editor/locales/index.d.ts +3 -0
  114. package/cjs/components/shared/monaco-editor/locales/ko.json.js +2 -2
  115. package/cjs/components/shared/monaco-editor/locales/th.json.js +7 -0
  116. package/cjs/components/shared/xterm/Xterm.d.ts +3 -1
  117. package/cjs/components/shared/xterm/Xterm.js +8 -18
  118. package/cjs/components/shared/xterm/locales/en.json.js +2 -2
  119. package/cjs/components/shared/xterm/locales/index.d.ts +3 -0
  120. package/cjs/components/shared/xterm/locales/ko.json.js +2 -2
  121. package/cjs/components/shared/xterm/locales/th.json.js +7 -0
  122. package/es/components/locales/en.json.js +3 -0
  123. package/es/components/locales/index.d.ts +3 -0
  124. package/es/components/locales/ko.json.js +3 -0
  125. package/es/components/locales/th.json.js +3 -0
  126. package/es/components/material-exercise/MaterialExercise.d.ts +3 -1
  127. package/es/components/material-exercise/MaterialExercise.js +14 -14
  128. package/es/components/material-exercise/context/ExerciseProviderNoImage.d.ts +2 -1
  129. package/es/components/material-exercise/context/ExerciseProviderNoImage.js +9 -17
  130. package/es/components/material-exercise/context/locales/noImage.en.json.js +2 -2
  131. package/es/components/material-exercise/context/locales/noImage.ko.json.js +2 -2
  132. package/es/components/material-exercise/context/locales/noImage.th.json.js +3 -0
  133. package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.d.ts +2 -1
  134. package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.js +11 -14
  135. package/es/components/material-exercise/exercise-code-history/locales/en.json.js +2 -2
  136. package/es/components/material-exercise/exercise-code-history/locales/index.d.ts +3 -0
  137. package/es/components/material-exercise/exercise-code-history/locales/ko.json.js +2 -2
  138. package/es/components/material-exercise/exercise-code-history/locales/th.json.js +3 -0
  139. package/es/components/material-exercise/exercise-file-editor/ExerciseFileReadOnlyBanner.d.ts +3 -5
  140. package/es/components/material-exercise/exercise-file-editor/ExerciseFileReadOnlyBanner.js +14 -5
  141. package/es/components/material-exercise/exercise-file-editor/locales/en.json.js +3 -0
  142. package/es/components/material-exercise/exercise-file-editor/locales/index.d.ts +3 -0
  143. package/es/components/material-exercise/exercise-file-editor/locales/ko.json.js +3 -0
  144. package/es/components/material-exercise/exercise-file-editor/locales/th.json.js +3 -0
  145. package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabs.d.ts +3 -2
  146. package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabs.js +21 -4
  147. package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabsFileTreeButton.d.ts +2 -2
  148. package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabsFileTreeButton.js +5 -13
  149. package/es/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.en.json.js +2 -2
  150. package/es/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.ko.json.js +2 -2
  151. package/es/components/material-exercise/exercise-file-tabs/locales/fileTreeButton.th.json.js +3 -0
  152. package/es/components/material-exercise/exercise-file-tabs/locales/index.d.ts +3 -0
  153. package/es/components/material-exercise/exercise-file-tree/ExerciseFileTree.d.ts +2 -3
  154. package/es/components/material-exercise/exercise-file-tree/ExerciseFileTree.js +10 -12
  155. package/es/components/material-exercise/exercise-file-tree/locales/en.json.js +2 -2
  156. package/es/components/material-exercise/exercise-file-tree/locales/index.d.ts +3 -0
  157. package/es/components/material-exercise/exercise-file-tree/locales/ko.json.js +2 -2
  158. package/es/components/material-exercise/exercise-file-tree/locales/th.json.js +3 -0
  159. package/es/components/material-exercise/exercise-menu/ExerciseMenu.d.ts +2 -1
  160. package/es/components/material-exercise/exercise-menu/ExerciseMenu.js +13 -9
  161. package/es/components/material-exercise/exercise-menu/ExerciseMenuArduinoAgentModalButton.js +6 -3
  162. package/es/components/material-exercise/exercise-menu/ExerciseMenuArduinoSettings.js +14 -12
  163. package/es/components/material-exercise/exercise-menu/ExerciseMenuDropdown.js +4 -2
  164. package/es/components/material-exercise/exercise-menu/ExerciseMenuReset.js +8 -6
  165. package/es/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.js +8 -6
  166. package/es/components/material-exercise/exercise-menu/locales/en.json.js +2 -2
  167. package/es/components/material-exercise/exercise-menu/locales/index.d.ts +3 -0
  168. package/es/components/material-exercise/exercise-menu/locales/ko.json.js +2 -2
  169. package/es/components/material-exercise/exercise-menu/locales/th.json.js +3 -0
  170. package/es/components/material-exercise/exercise-preview/ExercisePreview.d.ts +2 -1
  171. package/es/components/material-exercise/exercise-preview/ExercisePreview.js +13 -9
  172. package/es/components/material-exercise/exercise-preview/ExercisePreviewDisplayModeButton.js +4 -2
  173. package/es/components/material-exercise/exercise-preview/locales/en.json.js +2 -2
  174. package/es/components/material-exercise/exercise-preview/locales/index.d.ts +3 -0
  175. package/es/components/material-exercise/exercise-preview/locales/ko.json.js +2 -2
  176. package/es/components/material-exercise/exercise-preview/locales/th.json.js +3 -0
  177. package/es/components/material-exercise/exercise-rightpane/ExerciseRightpane.d.ts +2 -3
  178. package/es/components/material-exercise/exercise-rightpane/ExerciseRightpane.js +18 -15
  179. package/es/components/material-exercise/exercise-rightpane/ExerciseRightpaneEnvironment.js +4 -2
  180. package/es/components/material-exercise/exercise-rightpane/locales/en.json.js +2 -2
  181. package/es/components/material-exercise/exercise-rightpane/locales/index.d.ts +3 -0
  182. package/es/components/material-exercise/exercise-rightpane/locales/ko.json.js +2 -2
  183. package/es/components/material-exercise/exercise-rightpane/locales/th.json.js +3 -0
  184. package/es/components/material-exercise/exercise-room/ExerciseRoom.d.ts +2 -1
  185. package/es/components/material-exercise/exercise-room/ExerciseRoom.js +13 -9
  186. package/es/components/material-exercise/exercise-room/ExerciseRoomDetail.js +6 -4
  187. package/es/components/material-exercise/exercise-room/ExerciseRoomList.js +4 -2
  188. package/es/components/material-exercise/exercise-room/locales/en.json.js +2 -2
  189. package/es/components/material-exercise/exercise-room/locales/index.d.ts +3 -0
  190. package/es/components/material-exercise/exercise-room/locales/ko.json.js +2 -2
  191. package/es/components/material-exercise/exercise-room/locales/th.json.js +3 -0
  192. package/es/components/material-exercise/exercise-runner/ExerciseRunner.d.ts +2 -1
  193. package/es/components/material-exercise/exercise-runner/ExerciseRunner.js +30 -29
  194. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoAgentModal.js +20 -16
  195. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoStatusMessage.js +4 -2
  196. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerButtonGroup.js +14 -12
  197. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerCodeHelpRequestButton.js +8 -5
  198. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerRunningInfo.js +28 -29
  199. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusMessage.js +10 -7
  200. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerTimer.js +8 -6
  201. package/es/components/material-exercise/exercise-runner/locales/en.json.js +2 -2
  202. package/es/components/material-exercise/exercise-runner/locales/index.d.ts +3 -0
  203. package/es/components/material-exercise/exercise-runner/locales/ko.json.js +2 -2
  204. package/es/components/material-exercise/exercise-runner/locales/th.json.js +3 -0
  205. package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.d.ts +2 -1
  206. package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.js +18 -17
  207. package/es/components/material-exercise/exercise-submit-history/locales/en.json.js +2 -2
  208. package/es/components/material-exercise/exercise-submit-history/locales/index.d.ts +3 -0
  209. package/es/components/material-exercise/exercise-submit-history/locales/ko.json.js +2 -2
  210. package/es/components/material-exercise/exercise-submit-history/locales/th.json.js +3 -0
  211. package/es/components/shared/file-tree/FileTree.d.ts +1 -5
  212. package/es/components/shared/file-tree/FileTree.js +11 -12
  213. package/es/components/shared/file-tree/FileTreeConfig.js +1 -2
  214. package/es/components/shared/file-tree/FileTreeList.js +1 -2
  215. package/es/components/shared/file-tree/FileTreeListItemContentInput.js +4 -2
  216. package/es/components/shared/file-tree/FileTreeListItemContentMenu.js +24 -22
  217. package/es/components/shared/file-tree/FileTreeToolbar.js +5 -4
  218. package/es/components/shared/file-tree/locales/en.json.js +2 -2
  219. package/es/components/shared/file-tree/locales/index.d.ts +3 -0
  220. package/es/components/shared/file-tree/locales/ko.json.js +2 -2
  221. package/es/components/shared/file-tree/locales/th.json.js +3 -0
  222. package/es/components/shared/file-viewer/FileViewer.d.ts +2 -1
  223. package/es/components/shared/file-viewer/FileViewer.js +8 -16
  224. package/es/components/shared/file-viewer/FileViewerCsv.js +10 -7
  225. package/es/components/shared/file-viewer/FileViewerNonViewable.d.ts +2 -1
  226. package/es/components/shared/file-viewer/FileViewerNonViewable.js +13 -20
  227. package/es/components/shared/file-viewer/locales/index.d.ts +6 -0
  228. package/es/components/shared/file-viewer/locales/nonViewable.en.json.js +2 -2
  229. package/es/components/shared/file-viewer/locales/nonViewable.ko.json.js +2 -2
  230. package/es/components/shared/file-viewer/locales/nonViewable.th.json.js +3 -0
  231. package/es/components/shared/monaco-editor/MonacoEditorPerferenceForm.d.ts +2 -1
  232. package/es/components/shared/monaco-editor/MonacoEditorPerferenceForm.js +30 -38
  233. package/es/components/shared/monaco-editor/locales/en.json.js +2 -2
  234. package/es/components/shared/monaco-editor/locales/index.d.ts +3 -0
  235. package/es/components/shared/monaco-editor/locales/ko.json.js +2 -2
  236. package/es/components/shared/monaco-editor/locales/th.json.js +3 -0
  237. package/es/components/shared/xterm/Xterm.d.ts +3 -1
  238. package/es/components/shared/xterm/Xterm.js +10 -20
  239. package/es/components/shared/xterm/locales/en.json.js +2 -2
  240. package/es/components/shared/xterm/locales/index.d.ts +3 -0
  241. package/es/components/shared/xterm/locales/ko.json.js +2 -2
  242. package/es/components/shared/xterm/locales/th.json.js +3 -0
  243. package/package.json +6 -6
  244. package/cjs/components/material-exercise/MaterialExercise.i18n.d.ts +0 -5
  245. package/cjs/components/material-exercise/MaterialExercise.i18n.js +0 -13
  246. package/cjs/components/material-exercise/context/ExerciseIntlProvider.d.ts +0 -12
  247. package/cjs/components/material-exercise/context/ExerciseIntlProvider.js +0 -44
  248. package/es/components/material-exercise/MaterialExercise.i18n.d.ts +0 -5
  249. package/es/components/material-exercise/MaterialExercise.i18n.js +0 -10
  250. package/es/components/material-exercise/context/ExerciseIntlProvider.d.ts +0 -12
  251. package/es/components/material-exercise/context/ExerciseIntlProvider.js +0 -41
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-exercise",
3
- "version": "1.240401.0",
3
+ "version": "1.240508.0-globalization.0",
4
4
  "description": "User view and editing components of Elice material exercise",
5
5
  "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
6
  "license": "UNLICENSED",
@@ -29,6 +29,7 @@
29
29
  "@elice/blocks": "^1",
30
30
  "@elice/design-tokens": "^1",
31
31
  "@elice/icons": "^1",
32
+ "@elice/intl": "*",
32
33
  "@elice/markdown": "^1",
33
34
  "@elice/material-shared-types": "*",
34
35
  "@elice/material-shared-utils": "*",
@@ -46,7 +47,6 @@
46
47
  "humps": "^2.0.1",
47
48
  "lodash": "^4.17.21",
48
49
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
49
- "react-intl": "^5.0.0",
50
50
  "react-use": "^17.0.0",
51
51
  "recoil": "^0.6.1",
52
52
  "styled-components": "^5.2.0"
@@ -83,9 +83,10 @@
83
83
  "@elice/blocks": "^1.230816.0",
84
84
  "@elice/design-tokens": "^1.220803.0",
85
85
  "@elice/icons": "^1.230814.0",
86
+ "@elice/intl": "0.240425.0-alpha.7",
86
87
  "@elice/markdown": "^1.220815.0",
87
- "@elice/material-shared-types": "1.240401.0",
88
- "@elice/material-shared-utils": "1.240401.0",
88
+ "@elice/material-shared-types": "1.240508.0-globalization.0",
89
+ "@elice/material-shared-utils": "1.240508.0-globalization.0",
89
90
  "@elice/mui-elements": "^5.230825.0",
90
91
  "@elice/mui-system": "^5.230825.0",
91
92
  "@elice/types": "^1.240208.0",
@@ -111,10 +112,9 @@
111
112
  "humps": "^2.0.1",
112
113
  "lodash": "^4.17.21",
113
114
  "react": "^17.0.2",
114
- "react-intl": "^5.0.0",
115
115
  "react-use": "^17.0.0",
116
116
  "recoil": "^0.6.1",
117
117
  "styled-components": "^5.2.0"
118
118
  },
119
- "gitHead": "c3c7c033d7524e3d16328399010562ca6c2c3286"
119
+ "gitHead": "e64474c7cab0b6cb852ba08a2076c88e732eec03"
120
120
  }
@@ -1,5 +0,0 @@
1
- export declare const en: {
2
- 'materialExercise.button.referenceDocs': string;
3
- 'materialExercise.text.readOnlyBanner': string;
4
- };
5
- export declare const ko: typeof en;
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- const en = {
4
- 'materialExercise.button.referenceDocs': 'Reference Docs',
5
- 'materialExercise.text.readOnlyBanner': '[Read-Only] This file is read-only.'
6
- };
7
- const ko = {
8
- 'materialExercise.button.referenceDocs': '언어 레퍼런스',
9
- 'materialExercise.text.readOnlyBanner': '[읽기전용] 이 파일은 읽기전용 입니다.'
10
- };
11
-
12
- exports.en = en;
13
- exports.ko = ko;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import type { MaterialIntlProviderPhrases } from '@elice/material-shared-utils';
3
- type AnyObject = Record<string, any>;
4
- /**
5
- *
6
- */
7
- export declare const withExerciseIntlProvider: <P extends AnyObject>(Component: React.VFC<P>, phrases: MaterialIntlProviderPhrases) => React.VFC<P>;
8
- /**
9
- *
10
- */
11
- export declare const withForwardRefExerciseIntlProvider: <T, P extends AnyObject>(Component: React.ForwardRefExoticComponent<P & React.RefAttributes<T>>, phrases: MaterialIntlProviderPhrases) => React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>>;
12
- export {};
@@ -1,44 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var materialSharedUtils = require('@elice/material-shared-utils');
5
- var context = require('./context.js');
6
-
7
- //
8
- //
9
- //
10
- /**
11
- *
12
- */
13
- const withExerciseIntlProvider = (Component, phrases) => {
14
- return props => {
15
- const {
16
- locale
17
- } = React.useContext(context.ExerciseContext);
18
- return React.createElement(materialSharedUtils.MaterialIntlProvider, {
19
- children: React.createElement(Component, Object.assign({}, props)),
20
- locale: locale,
21
- phrases: phrases
22
- });
23
- };
24
- };
25
- /**
26
- *
27
- */
28
- const withForwardRefExerciseIntlProvider = (Component, phrases) => {
29
- return React.forwardRef((props, ref) => {
30
- const {
31
- locale
32
- } = React.useContext(context.ExerciseContext);
33
- return React.createElement(materialSharedUtils.MaterialIntlProvider, {
34
- children: React.createElement(Component, Object.assign({}, props, {
35
- ref: ref
36
- })),
37
- locale: locale,
38
- phrases: phrases
39
- });
40
- });
41
- };
42
-
43
- exports.withExerciseIntlProvider = withExerciseIntlProvider;
44
- exports.withForwardRefExerciseIntlProvider = withForwardRefExerciseIntlProvider;
@@ -1,5 +0,0 @@
1
- export declare const en: {
2
- 'materialExercise.button.referenceDocs': string;
3
- 'materialExercise.text.readOnlyBanner': string;
4
- };
5
- export declare const ko: typeof en;
@@ -1,10 +0,0 @@
1
- const en = {
2
- 'materialExercise.button.referenceDocs': 'Reference Docs',
3
- 'materialExercise.text.readOnlyBanner': '[Read-Only] This file is read-only.'
4
- };
5
- const ko = {
6
- 'materialExercise.button.referenceDocs': '언어 레퍼런스',
7
- 'materialExercise.text.readOnlyBanner': '[읽기전용] 이 파일은 읽기전용 입니다.'
8
- };
9
-
10
- export { en, ko };
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import type { MaterialIntlProviderPhrases } from '@elice/material-shared-utils';
3
- type AnyObject = Record<string, any>;
4
- /**
5
- *
6
- */
7
- export declare const withExerciseIntlProvider: <P extends AnyObject>(Component: React.VFC<P>, phrases: MaterialIntlProviderPhrases) => React.VFC<P>;
8
- /**
9
- *
10
- */
11
- export declare const withForwardRefExerciseIntlProvider: <T, P extends AnyObject>(Component: React.ForwardRefExoticComponent<P & React.RefAttributes<T>>, phrases: MaterialIntlProviderPhrases) => React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>>;
12
- export {};
@@ -1,41 +0,0 @@
1
- import React, { forwardRef, useContext } from 'react';
2
- import { MaterialIntlProvider } from '@elice/material-shared-utils';
3
- import { ExerciseContext } from './context.js';
4
-
5
- //
6
- //
7
- //
8
- /**
9
- *
10
- */
11
- const withExerciseIntlProvider = (Component, phrases) => {
12
- return props => {
13
- const {
14
- locale
15
- } = useContext(ExerciseContext);
16
- return React.createElement(MaterialIntlProvider, {
17
- children: React.createElement(Component, Object.assign({}, props)),
18
- locale: locale,
19
- phrases: phrases
20
- });
21
- };
22
- };
23
- /**
24
- *
25
- */
26
- const withForwardRefExerciseIntlProvider = (Component, phrases) => {
27
- return forwardRef((props, ref) => {
28
- const {
29
- locale
30
- } = useContext(ExerciseContext);
31
- return React.createElement(MaterialIntlProvider, {
32
- children: React.createElement(Component, Object.assign({}, props, {
33
- ref: ref
34
- })),
35
- locale: locale,
36
- phrases: phrases
37
- });
38
- });
39
- };
40
-
41
- export { withExerciseIntlProvider, withForwardRefExerciseIntlProvider };