@topconsultnpm/sdkui-react-beta 6.5.51

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 (389) hide show
  1. package/lib/assets/6.png +0 -0
  2. package/lib/assets/ImageLibrary/arrow_001.png +0 -0
  3. package/lib/assets/ImageLibrary/arrow_002.png +0 -0
  4. package/lib/assets/ImageLibrary/arrow_003.png +0 -0
  5. package/lib/assets/ImageLibrary/arrow_004.png +0 -0
  6. package/lib/assets/ImageLibrary/arrow_005.png +0 -0
  7. package/lib/assets/ImageLibrary/arrow_006.png +0 -0
  8. package/lib/assets/ImageLibrary/arrow_007.png +0 -0
  9. package/lib/assets/ImageLibrary/arrow_008.png +0 -0
  10. package/lib/assets/ImageLibrary/arrow_009.png +0 -0
  11. package/lib/assets/ImageLibrary/arrow_010.png +0 -0
  12. package/lib/assets/ImageLibrary/arrow_011.png +0 -0
  13. package/lib/assets/ImageLibrary/arrow_012.png +0 -0
  14. package/lib/assets/ImageLibrary/book_001.png +0 -0
  15. package/lib/assets/ImageLibrary/book_002.png +0 -0
  16. package/lib/assets/ImageLibrary/book_003.png +0 -0
  17. package/lib/assets/ImageLibrary/book_004.png +0 -0
  18. package/lib/assets/ImageLibrary/book_005.png +0 -0
  19. package/lib/assets/ImageLibrary/book_006.png +0 -0
  20. package/lib/assets/ImageLibrary/book_007.png +0 -0
  21. package/lib/assets/ImageLibrary/clock_001.png +0 -0
  22. package/lib/assets/ImageLibrary/clock_002.png +0 -0
  23. package/lib/assets/ImageLibrary/clock_003.png +0 -0
  24. package/lib/assets/ImageLibrary/cube_001.png +0 -0
  25. package/lib/assets/ImageLibrary/cube_002.png +0 -0
  26. package/lib/assets/ImageLibrary/cube_003.png +0 -0
  27. package/lib/assets/ImageLibrary/dcmt_001.png +0 -0
  28. package/lib/assets/ImageLibrary/dcmt_002.png +0 -0
  29. package/lib/assets/ImageLibrary/dcmt_003.png +0 -0
  30. package/lib/assets/ImageLibrary/dcmt_004.png +0 -0
  31. package/lib/assets/ImageLibrary/dcmt_005.png +0 -0
  32. package/lib/assets/ImageLibrary/dcmt_006.png +0 -0
  33. package/lib/assets/ImageLibrary/dcmt_007.png +0 -0
  34. package/lib/assets/ImageLibrary/dcmt_008.png +0 -0
  35. package/lib/assets/ImageLibrary/emoticon_001.png +0 -0
  36. package/lib/assets/ImageLibrary/emoticon_002.png +0 -0
  37. package/lib/assets/ImageLibrary/emoticon_003.png +0 -0
  38. package/lib/assets/ImageLibrary/emoticon_004.png +0 -0
  39. package/lib/assets/ImageLibrary/fld_001.png +0 -0
  40. package/lib/assets/ImageLibrary/fld_002.png +0 -0
  41. package/lib/assets/ImageLibrary/fld_003.png +0 -0
  42. package/lib/assets/ImageLibrary/fld_004.png +0 -0
  43. package/lib/assets/ImageLibrary/fld_005.png +0 -0
  44. package/lib/assets/ImageLibrary/fld_006.png +0 -0
  45. package/lib/assets/ImageLibrary/fld_007.png +0 -0
  46. package/lib/assets/ImageLibrary/fld_008.png +0 -0
  47. package/lib/assets/ImageLibrary/fld_009.png +0 -0
  48. package/lib/assets/ImageLibrary/fld_010.png +0 -0
  49. package/lib/assets/ImageLibrary/fld_011.png +0 -0
  50. package/lib/assets/ImageLibrary/fld_012.png +0 -0
  51. package/lib/assets/ImageLibrary/fld_013.png +0 -0
  52. package/lib/assets/ImageLibrary/fld_014.png +0 -0
  53. package/lib/assets/ImageLibrary/fld_015.png +0 -0
  54. package/lib/assets/ImageLibrary/fld_016.png +0 -0
  55. package/lib/assets/ImageLibrary/fld_017.png +0 -0
  56. package/lib/assets/ImageLibrary/fld_018.png +0 -0
  57. package/lib/assets/ImageLibrary/fld_019.png +0 -0
  58. package/lib/assets/ImageLibrary/fld_020.png +0 -0
  59. package/lib/assets/ImageLibrary/fld_021.png +0 -0
  60. package/lib/assets/ImageLibrary/fld_022.png +0 -0
  61. package/lib/assets/ImageLibrary/fld_023.png +0 -0
  62. package/lib/assets/ImageLibrary/fld_024.png +0 -0
  63. package/lib/assets/ImageLibrary/fld_025.png +0 -0
  64. package/lib/assets/ImageLibrary/fld_026.png +0 -0
  65. package/lib/assets/ImageLibrary/fld_027.png +0 -0
  66. package/lib/assets/ImageLibrary/fld_028.png +0 -0
  67. package/lib/assets/ImageLibrary/fld_029.png +0 -0
  68. package/lib/assets/ImageLibrary/fld_030.png +0 -0
  69. package/lib/assets/ImageLibrary/fld_031.png +0 -0
  70. package/lib/assets/ImageLibrary/fld_032.png +0 -0
  71. package/lib/assets/ImageLibrary/fld_033.png +0 -0
  72. package/lib/assets/ImageLibrary/gen_001.png +0 -0
  73. package/lib/assets/ImageLibrary/gen_002.png +0 -0
  74. package/lib/assets/ImageLibrary/gen_003.png +0 -0
  75. package/lib/assets/ImageLibrary/gen_004.png +0 -0
  76. package/lib/assets/ImageLibrary/gen_005.png +0 -0
  77. package/lib/assets/ImageLibrary/gen_006.png +0 -0
  78. package/lib/assets/ImageLibrary/gen_007.png +0 -0
  79. package/lib/assets/ImageLibrary/gen_008.png +0 -0
  80. package/lib/assets/ImageLibrary/gen_009.png +0 -0
  81. package/lib/assets/ImageLibrary/gen_010.png +0 -0
  82. package/lib/assets/ImageLibrary/gen_011.png +0 -0
  83. package/lib/assets/ImageLibrary/gen_012.png +0 -0
  84. package/lib/assets/ImageLibrary/gen_013.png +0 -0
  85. package/lib/assets/ImageLibrary/gen_014.png +0 -0
  86. package/lib/assets/ImageLibrary/gen_015.png +0 -0
  87. package/lib/assets/ImageLibrary/gen_016.png +0 -0
  88. package/lib/assets/ImageLibrary/gen_017.png +0 -0
  89. package/lib/assets/ImageLibrary/gen_018.png +0 -0
  90. package/lib/assets/ImageLibrary/gen_019.png +0 -0
  91. package/lib/assets/ImageLibrary/gen_020.png +0 -0
  92. package/lib/assets/ImageLibrary/gen_021.png +0 -0
  93. package/lib/assets/ImageLibrary/gen_022.png +0 -0
  94. package/lib/assets/ImageLibrary/gen_023.png +0 -0
  95. package/lib/assets/ImageLibrary/gen_024.png +0 -0
  96. package/lib/assets/ImageLibrary/gen_025.png +0 -0
  97. package/lib/assets/ImageLibrary/gen_026.png +0 -0
  98. package/lib/assets/ImageLibrary/gen_027.png +0 -0
  99. package/lib/assets/ImageLibrary/gen_028.png +0 -0
  100. package/lib/assets/ImageLibrary/gen_029.png +0 -0
  101. package/lib/assets/ImageLibrary/gen_030.png +0 -0
  102. package/lib/assets/ImageLibrary/gen_031.png +0 -0
  103. package/lib/assets/ImageLibrary/gen_032.png +0 -0
  104. package/lib/assets/ImageLibrary/gen_033.png +0 -0
  105. package/lib/assets/ImageLibrary/gen_034.png +0 -0
  106. package/lib/assets/ImageLibrary/gen_035.png +0 -0
  107. package/lib/assets/ImageLibrary/gen_036.png +0 -0
  108. package/lib/assets/ImageLibrary/gen_037.png +0 -0
  109. package/lib/assets/ImageLibrary/gen_038.png +0 -0
  110. package/lib/assets/ImageLibrary/gen_039.png +0 -0
  111. package/lib/assets/ImageLibrary/gen_040.png +0 -0
  112. package/lib/assets/ImageLibrary/gen_041.png +0 -0
  113. package/lib/assets/ImageLibrary/gen_042.png +0 -0
  114. package/lib/assets/ImageLibrary/gen_043.png +0 -0
  115. package/lib/assets/ImageLibrary/gen_044.png +0 -0
  116. package/lib/assets/ImageLibrary/gen_045.png +0 -0
  117. package/lib/assets/ImageLibrary/gen_046.png +0 -0
  118. package/lib/assets/ImageLibrary/gen_047.png +0 -0
  119. package/lib/assets/ImageLibrary/gen_048.png +0 -0
  120. package/lib/assets/ImageLibrary/gen_049.png +0 -0
  121. package/lib/assets/ImageLibrary/gen_050.png +0 -0
  122. package/lib/assets/ImageLibrary/gen_051.png +0 -0
  123. package/lib/assets/ImageLibrary/gen_052.png +0 -0
  124. package/lib/assets/ImageLibrary/hand_001.png +0 -0
  125. package/lib/assets/ImageLibrary/hand_002.png +0 -0
  126. package/lib/assets/ImageLibrary/hand_003.png +0 -0
  127. package/lib/assets/ImageLibrary/hand_004.png +0 -0
  128. package/lib/assets/ImageLibrary/hand_005.png +0 -0
  129. package/lib/assets/ImageLibrary/hand_006.png +0 -0
  130. package/lib/assets/ImageLibrary/law_001.png +0 -0
  131. package/lib/assets/ImageLibrary/law_002.png +0 -0
  132. package/lib/assets/ImageLibrary/law_003.png +0 -0
  133. package/lib/assets/ImageLibrary/lock_001.png +0 -0
  134. package/lib/assets/ImageLibrary/lock_002.png +0 -0
  135. package/lib/assets/ImageLibrary/lock_003.png +0 -0
  136. package/lib/assets/ImageLibrary/mail_001.png +0 -0
  137. package/lib/assets/ImageLibrary/mail_002.png +0 -0
  138. package/lib/assets/ImageLibrary/mail_003.png +0 -0
  139. package/lib/assets/ImageLibrary/mail_004.png +0 -0
  140. package/lib/assets/ImageLibrary/mail_005.png +0 -0
  141. package/lib/assets/ImageLibrary/mail_006.png +0 -0
  142. package/lib/assets/ImageLibrary/mail_007.png +0 -0
  143. package/lib/assets/ImageLibrary/mail_008.png +0 -0
  144. package/lib/assets/ImageLibrary/mail_009.png +0 -0
  145. package/lib/assets/ImageLibrary/mail_010.png +0 -0
  146. package/lib/assets/ImageLibrary/mail_011.png +0 -0
  147. package/lib/assets/ImageLibrary/mail_012.png +0 -0
  148. package/lib/assets/ImageLibrary/mail_013.png +0 -0
  149. package/lib/assets/ImageLibrary/mail_014.png +0 -0
  150. package/lib/assets/ImageLibrary/mail_015.png +0 -0
  151. package/lib/assets/ImageLibrary/net_001.png +0 -0
  152. package/lib/assets/ImageLibrary/net_002.png +0 -0
  153. package/lib/assets/ImageLibrary/net_003.png +0 -0
  154. package/lib/assets/ImageLibrary/net_004.png +0 -0
  155. package/lib/assets/ImageLibrary/nmbr_001.png +0 -0
  156. package/lib/assets/ImageLibrary/nmbr_002.png +0 -0
  157. package/lib/assets/ImageLibrary/nmbr_003.png +0 -0
  158. package/lib/assets/ImageLibrary/nmbr_004.png +0 -0
  159. package/lib/assets/ImageLibrary/nmbr_005.png +0 -0
  160. package/lib/assets/ImageLibrary/nmbr_006.png +0 -0
  161. package/lib/assets/ImageLibrary/nmbr_007.png +0 -0
  162. package/lib/assets/ImageLibrary/nmbr_008.png +0 -0
  163. package/lib/assets/ImageLibrary/nmbr_009.png +0 -0
  164. package/lib/assets/ImageLibrary/note_001.png +0 -0
  165. package/lib/assets/ImageLibrary/note_002.png +0 -0
  166. package/lib/assets/ImageLibrary/note_003.png +0 -0
  167. package/lib/assets/ImageLibrary/note_004.png +0 -0
  168. package/lib/assets/ImageLibrary/note_005.png +0 -0
  169. package/lib/assets/ImageLibrary/note_006.png +0 -0
  170. package/lib/assets/ImageLibrary/note_007.png +0 -0
  171. package/lib/assets/ImageLibrary/note_008.png +0 -0
  172. package/lib/assets/ImageLibrary/note_009.png +0 -0
  173. package/lib/assets/ImageLibrary/note_010.png +0 -0
  174. package/lib/assets/ImageLibrary/note_011.png +0 -0
  175. package/lib/assets/ImageLibrary/note_012.png +0 -0
  176. package/lib/assets/ImageLibrary/note_013.png +0 -0
  177. package/lib/assets/ImageLibrary/note_014.png +0 -0
  178. package/lib/assets/ImageLibrary/note_015.png +0 -0
  179. package/lib/assets/ImageLibrary/note_016.png +0 -0
  180. package/lib/assets/ImageLibrary/run_001.png +0 -0
  181. package/lib/assets/ImageLibrary/run_002.png +0 -0
  182. package/lib/assets/ImageLibrary/run_003.png +0 -0
  183. package/lib/assets/ImageLibrary/sem_001.png +0 -0
  184. package/lib/assets/ImageLibrary/sem_002.png +0 -0
  185. package/lib/assets/ImageLibrary/sem_003.png +0 -0
  186. package/lib/assets/ImageLibrary/sem_004.png +0 -0
  187. package/lib/assets/ImageLibrary/sem_005.png +0 -0
  188. package/lib/assets/ImageLibrary/star_001.png +0 -0
  189. package/lib/assets/ImageLibrary/star_002.png +0 -0
  190. package/lib/assets/ImageLibrary/star_003.png +0 -0
  191. package/lib/assets/ImageLibrary/star_004.png +0 -0
  192. package/lib/assets/ImageLibrary/star_005.png +0 -0
  193. package/lib/assets/ImageLibrary/star_006.png +0 -0
  194. package/lib/assets/ImageLibrary/state_001.png +0 -0
  195. package/lib/assets/ImageLibrary/state_002.png +0 -0
  196. package/lib/assets/ImageLibrary/state_003.png +0 -0
  197. package/lib/assets/ImageLibrary/state_004.png +0 -0
  198. package/lib/assets/ImageLibrary/state_005.png +0 -0
  199. package/lib/assets/ImageLibrary/study_001.png +0 -0
  200. package/lib/assets/ImageLibrary/study_002.png +0 -0
  201. package/lib/assets/ImageLibrary/user_001.png +0 -0
  202. package/lib/assets/ImageLibrary/user_002.png +0 -0
  203. package/lib/assets/ImageLibrary/user_003.png +0 -0
  204. package/lib/assets/ImageLibrary/user_004.png +0 -0
  205. package/lib/assets/ImageLibrary/user_005.png +0 -0
  206. package/lib/assets/ImageLibrary/user_006.png +0 -0
  207. package/lib/assets/ImageLibrary/user_007.png +0 -0
  208. package/lib/assets/ImageLibrary/user_008.png +0 -0
  209. package/lib/assets/ImageLibrary/user_009.png +0 -0
  210. package/lib/assets/ImageLibrary/user_010.png +0 -0
  211. package/lib/assets/ImageLibrary/user_011.png +0 -0
  212. package/lib/assets/ImageLibrary/user_012.png +0 -0
  213. package/lib/assets/ImageLibrary/user_013.png +0 -0
  214. package/lib/assets/ImageLibrary/user_014.png +0 -0
  215. package/lib/assets/ImageLibrary/user_015.png +0 -0
  216. package/lib/assets/ImageLibrary/user_016.png +0 -0
  217. package/lib/assets/ImageLibrary/user_017.png +0 -0
  218. package/lib/assets/ImageLibrary/user_018.png +0 -0
  219. package/lib/assets/ImageLibrary/user_019.png +0 -0
  220. package/lib/assets/ImageLibrary/user_020.png +0 -0
  221. package/lib/assets/ImageLibrary/user_021.png +0 -0
  222. package/lib/assets/ImageLibrary/user_022.png +0 -0
  223. package/lib/assets/ImageLibrary/user_023.png +0 -0
  224. package/lib/assets/ImageLibrary/vehicle_001.png +0 -0
  225. package/lib/assets/ImageLibrary/vehicle_002.png +0 -0
  226. package/lib/assets/ImageLibrary/vehicle_003.png +0 -0
  227. package/lib/assets/ImageLibrary/vehicle_004.png +0 -0
  228. package/lib/assets/ImageLibrary/vehicle_005.png +0 -0
  229. package/lib/assets/ImageLibrary/vehicle_006.png +0 -0
  230. package/lib/assets/ImageLibrary/vehicle_007.png +0 -0
  231. package/lib/assets/ImageLibrary/vehicle_008.png +0 -0
  232. package/lib/assets/Metadata/DataList_32.png +0 -0
  233. package/lib/assets/Metadata/DynamicDataList_32.png +0 -0
  234. package/lib/assets/Metadata/MetadataComputed_32.png +0 -0
  235. package/lib/assets/Metadata/MetadataDateTime_16.png +0 -0
  236. package/lib/assets/Metadata/MetadataNumeric_16.png +0 -0
  237. package/lib/assets/Metadata/MetadataSpecial_32.png +0 -0
  238. package/lib/assets/Metadata/MetadataText_16.png +0 -0
  239. package/lib/assets/Metadata/Metadata_32.png +0 -0
  240. package/lib/assets/Metadata/Numerator_32.png +0 -0
  241. package/lib/assets/Metadata/UserLevel_Member_32.png +0 -0
  242. package/lib/assets/Orchestrator6.png +0 -0
  243. package/lib/assets/TopMediaOrchestrator6.svg +93 -0
  244. package/lib/assets/Toppy-generico.png +0 -0
  245. package/lib/assets/background-login.png +0 -0
  246. package/lib/assets/d.png +0 -0
  247. package/lib/assets/doc.jpg +0 -0
  248. package/lib/assets/icomoon.eot +0 -0
  249. package/lib/assets/icomoon.svg +97 -0
  250. package/lib/assets/icomoon.ttf +0 -0
  251. package/lib/assets/icomoon.woff +0 -0
  252. package/lib/assets/loading.png +0 -0
  253. package/lib/assets/login-bg.png +0 -0
  254. package/lib/assets/logo-TopConsult-footer.png +0 -0
  255. package/lib/assets/logo.svg +79 -0
  256. package/lib/assets/multipleSelectionManager.jpg +0 -0
  257. package/lib/assets/s.png +0 -0
  258. package/lib/components/base/Styled.d.ts +28 -0
  259. package/lib/components/base/Styled.js +117 -0
  260. package/lib/components/base/TMAlert.d.ts +20 -0
  261. package/lib/components/base/TMAlert.js +75 -0
  262. package/lib/components/base/TMButton.d.ts +17 -0
  263. package/lib/components/base/TMButton.js +163 -0
  264. package/lib/components/base/TMClosableList.d.ts +10 -0
  265. package/lib/components/base/TMClosableList.js +69 -0
  266. package/lib/components/base/TMContextMenu.d.ts +26 -0
  267. package/lib/components/base/TMContextMenu.js +56 -0
  268. package/lib/components/base/TMDropDown.d.ts +11 -0
  269. package/lib/components/base/TMDropDown.js +64 -0
  270. package/lib/components/base/TMDropDownMenu.d.ts +17 -0
  271. package/lib/components/base/TMDropDownMenu.js +39 -0
  272. package/lib/components/base/TMEditorBase.d.ts +31 -0
  273. package/lib/components/base/TMEditorBase.js +1 -0
  274. package/lib/components/base/TMLayout.d.ts +51 -0
  275. package/lib/components/base/TMLayout.js +152 -0
  276. package/lib/components/base/TMList.d.ts +9 -0
  277. package/lib/components/base/TMList.js +46 -0
  278. package/lib/components/base/TMListView.d.ts +24 -0
  279. package/lib/components/base/TMListView.js +321 -0
  280. package/lib/components/base/TMModal.d.ts +14 -0
  281. package/lib/components/base/TMModal.js +48 -0
  282. package/lib/components/base/TMPopUp.d.ts +26 -0
  283. package/lib/components/base/TMPopUp.js +136 -0
  284. package/lib/components/base/TMProgressBar.d.ts +11 -0
  285. package/lib/components/base/TMProgressBar.js +32 -0
  286. package/lib/components/base/TMSpinner.d.ts +13 -0
  287. package/lib/components/base/TMSpinner.js +23 -0
  288. package/lib/components/base/TMTab.d.ts +20 -0
  289. package/lib/components/base/TMTab.js +42 -0
  290. package/lib/components/base/TMToggleButton.d.ts +10 -0
  291. package/lib/components/base/TMToggleButton.js +58 -0
  292. package/lib/components/base/TMTooltip.d.ts +9 -0
  293. package/lib/components/base/TMTooltip.js +19 -0
  294. package/lib/components/base/TMVilViewer.d.ts +5 -0
  295. package/lib/components/base/TMVilViewer.js +22 -0
  296. package/lib/components/choosers/TMDataListItemChooser.d.ts +19 -0
  297. package/lib/components/choosers/TMDataListItemChooser.js +37 -0
  298. package/lib/components/choosers/TMDcmtTypeChooser.d.ts +25 -0
  299. package/lib/components/choosers/TMDcmtTypeChooser.js +46 -0
  300. package/lib/components/choosers/TMMetadataChooser.d.ts +41 -0
  301. package/lib/components/choosers/TMMetadataChooser.js +118 -0
  302. package/lib/components/choosers/TMUserChooser.d.ts +26 -0
  303. package/lib/components/choosers/TMUserChooser.js +82 -0
  304. package/lib/components/editors/TMCheckBox.d.ts +9 -0
  305. package/lib/components/editors/TMCheckBox.js +90 -0
  306. package/lib/components/editors/TMDateBox.d.ts +12 -0
  307. package/lib/components/editors/TMDateBox.js +78 -0
  308. package/lib/components/editors/TMDropDown.d.ts +10 -0
  309. package/lib/components/editors/TMDropDown.js +38 -0
  310. package/lib/components/editors/TMEditorStyled.d.ts +30 -0
  311. package/lib/components/editors/TMEditorStyled.js +75 -0
  312. package/lib/components/editors/TMRadioButton.d.ts +10 -0
  313. package/lib/components/editors/TMRadioButton.js +57 -0
  314. package/lib/components/editors/TMSummary.d.ts +18 -0
  315. package/lib/components/editors/TMSummary.js +62 -0
  316. package/lib/components/editors/TMTextBox.d.ts +20 -0
  317. package/lib/components/editors/TMTextBox.js +116 -0
  318. package/lib/components/filesystem/ProgressBar.d.ts +7 -0
  319. package/lib/components/filesystem/ProgressBar.js +25 -0
  320. package/lib/components/forms/TMApplyForm.d.ts +4 -0
  321. package/lib/components/forms/TMApplyForm.js +102 -0
  322. package/lib/components/forms/TMChooserForm.d.ts +3 -0
  323. package/lib/components/forms/TMChooserForm.js +56 -0
  324. package/lib/components/forms/TMLoginForm.d.ts +32 -0
  325. package/lib/components/forms/TMLoginForm.js +986 -0
  326. package/lib/components/forms/TMSaveForm.d.ts +4 -0
  327. package/lib/components/forms/TMSaveForm.js +107 -0
  328. package/lib/components/grids/TMValidationItemsList.d.ts +6 -0
  329. package/lib/components/grids/TMValidationItemsList.js +82 -0
  330. package/lib/components/index.d.ts +44 -0
  331. package/lib/components/index.js +59 -0
  332. package/lib/components/pages/TMPage.d.ts +39 -0
  333. package/lib/components/pages/TMPage.js +194 -0
  334. package/lib/components/query/TMQueryEditor.d.ts +27 -0
  335. package/lib/components/query/TMQueryEditor.js +1044 -0
  336. package/lib/components/query/TMQueryResult.d.ts +8 -0
  337. package/lib/components/query/TMQueryResult.js +47 -0
  338. package/lib/components/settings/SettingsAppearance.d.ts +2 -0
  339. package/lib/components/settings/SettingsAppearance.js +44 -0
  340. package/lib/components/sidebar/TMHeader.d.ts +31 -0
  341. package/lib/components/sidebar/TMHeader.js +228 -0
  342. package/lib/components/sidebar/TMSidebar.d.ts +17 -0
  343. package/lib/components/sidebar/TMSidebar.js +24 -0
  344. package/lib/components/sidebar/TMSidebarItem.d.ts +12 -0
  345. package/lib/components/sidebar/TMSidebarItem.js +27 -0
  346. package/lib/components/splitter/TMSplitterLayout.d.ts +17 -0
  347. package/lib/components/splitter/TMSplitterLayout.js +215 -0
  348. package/lib/components/viewers/TMDataListItemViewer.d.ts +9 -0
  349. package/lib/components/viewers/TMDataListItemViewer.js +27 -0
  350. package/lib/components/viewers/TMMidViewer.d.ts +26 -0
  351. package/lib/components/viewers/TMMidViewer.js +110 -0
  352. package/lib/components/viewers/TMTidViewer.d.ts +21 -0
  353. package/lib/components/viewers/TMTidViewer.js +398 -0
  354. package/lib/css/tm-sdkui.css +1 -0
  355. package/lib/helper/Enum_Localizator.d.ts +8 -0
  356. package/lib/helper/Enum_Localizator.js +125 -0
  357. package/lib/helper/Globalization.d.ts +14 -0
  358. package/lib/helper/Globalization.js +80 -0
  359. package/lib/helper/SDKUI_Globals.d.ts +11 -0
  360. package/lib/helper/SDKUI_Globals.js +8 -0
  361. package/lib/helper/SDKUI_Localizator.d.ts +222 -0
  362. package/lib/helper/SDKUI_Localizator.js +2143 -0
  363. package/lib/helper/TMIcons.d.ts +171 -0
  364. package/lib/helper/TMIcons.js +507 -0
  365. package/lib/helper/TMImageLibrary.d.ts +3 -0
  366. package/lib/helper/TMImageLibrary.js +466 -0
  367. package/lib/helper/helpers.d.ts +25 -0
  368. package/lib/helper/helpers.js +250 -0
  369. package/lib/helper/index.d.ts +8 -0
  370. package/lib/helper/index.js +8 -0
  371. package/lib/helper/queryHelper.d.ts +8 -0
  372. package/lib/helper/queryHelper.js +32 -0
  373. package/lib/hooks/useForm.d.ts +18 -0
  374. package/lib/hooks/useForm.js +111 -0
  375. package/lib/hooks/useOutsideClick.d.ts +2 -0
  376. package/lib/hooks/useOutsideClick.js +38 -0
  377. package/lib/index.d.ts +7 -0
  378. package/lib/index.js +7 -0
  379. package/lib/services/index.d.ts +1 -0
  380. package/lib/services/index.js +1 -0
  381. package/lib/services/platform_services.d.ts +17 -0
  382. package/lib/services/platform_services.js +334 -0
  383. package/lib/ts/index.d.ts +1 -0
  384. package/lib/ts/index.js +1 -0
  385. package/lib/ts/types.d.ts +152 -0
  386. package/lib/ts/types.js +17 -0
  387. package/lib/utils/theme.d.ts +58 -0
  388. package/lib/utils/theme.js +57 -0
  389. package/package.json +38 -0
@@ -0,0 +1,39 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { useEffect, useState } from 'react';
3
+ import styled from 'styled-components';
4
+ import ContextMenu from 'devextreme-react/context-menu';
5
+ import { FontSize, TMColors } from '../../utils/theme';
6
+ import { genUniqueId } from '../../helper';
7
+ const StyledContent = styled.div `
8
+ cursor: pointer;
9
+ border-radius: ${props => props.$borderRadius};
10
+ color: ${props => props.$color};
11
+ /* background-color: ${props => props.$backgroundColor}; */
12
+ background-color: transparent;
13
+ opacity: ${props => props.$disabled ? 0.4 : 1};
14
+ pointer-events: ${props => props.$disabled ? 'none' : ''};
15
+ user-select: none;
16
+ display: flex;
17
+ align-items: center;
18
+
19
+ &:focus {
20
+ outline: none;
21
+ border-bottom: ${props => props.$disabled ? '' : '2px solid'};
22
+ border-bottom-color: ${TMColors.primary};
23
+ }
24
+ `;
25
+ const StyledMenuItem = styled.div `
26
+ display: flex;
27
+ align-items: center;
28
+ justify-content: space-between;
29
+ gap: 6px;
30
+ width: 100%;
31
+ font-size: ${FontSize.defaultFontSize};
32
+ `;
33
+ const TMDropDownMenu = ({ content, items, disabled = false, color = TMColors.text_normal, backgroundColor = TMColors.default_background, borderRadius }) => {
34
+ const [id, setID] = useState('');
35
+ useEffect(() => { setID(genUniqueId()); }, [content]);
36
+ const renderItemTemplate = (itemData) => (_jsxs(StyledMenuItem, { children: [itemData.icon && _jsx("div", { style: { display: 'flex', alignItems: 'center' }, children: itemData.icon }), _jsx("span", { style: { flexGrow: 1 }, children: itemData.text }), itemData.items && _jsx("span", { className: "dx-icon-spinright dx-icon", style: { marginLeft: '10px' } })] }));
37
+ return (_jsxs(_Fragment, { children: [_jsx(StyledContent, { id: `idContainer${id}`, tabIndex: disabled ? -1 : 0, "$disabled": disabled, "$color": color, "$backgroundColor": backgroundColor, "$borderRadius": borderRadius, children: content }), _jsx(ContextMenu, { target: `#idContainer${id}`, dataSource: items, showEvent: 'click', itemRender: renderItemTemplate, onItemClick: (e) => e.itemData?.onClick?.() })] }));
38
+ };
39
+ export default TMDropDownMenu;
@@ -0,0 +1,31 @@
1
+ import { ValidationItem } from "@topconsultnpm/sdk-ts-beta";
2
+ export type Colors = 'error' | 'warning' | 'success' | 'info' | 'primary' | 'secondary' | 'tertiary' | 'standard';
3
+ type IconModes = 'outside' | 'inside' | 'none';
4
+ type LabelModes = 'left' | 'top' | 'none';
5
+ export type Sizes = 'small' | 'medium' | 'large';
6
+ export interface ITMEditorBase {
7
+ backgroundColor?: string;
8
+ customActionIcon?: any;
9
+ disabled?: boolean;
10
+ elementStyle?: React.CSSProperties;
11
+ flexBase?: number;
12
+ fontSize?: string;
13
+ height?: string;
14
+ horizontalFlexBase?: number;
15
+ icon?: any;
16
+ iconMode?: IconModes;
17
+ iconSize?: Sizes;
18
+ isModifiedWhen?: boolean;
19
+ label?: string;
20
+ labelMode?: LabelModes;
21
+ labelPosition?: 'top' | 'left' | 'right';
22
+ labelAlign?: boolean;
23
+ placeHolder?: string;
24
+ readOnly?: boolean;
25
+ showId?: boolean;
26
+ value?: any;
27
+ validationItems?: ValidationItem[];
28
+ width?: string;
29
+ onCustomActionClick?: VoidFunction;
30
+ }
31
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,51 @@
1
+ import React from 'react';
2
+ declare const TMCard: ({ borderRadius, onClick, scrollX, scrollY, width, height, children, title, fontSize, fontWeight, showBorder, padding, scroll, backgroundColor, color }: {
3
+ borderRadius?: boolean;
4
+ onClick?: () => void;
5
+ scrollX?: boolean;
6
+ scrollY?: boolean;
7
+ width?: string;
8
+ height?: string;
9
+ minWidth?: string;
10
+ minHeight?: string;
11
+ children?: React.ReactNode;
12
+ title?: string;
13
+ fontSize?: string;
14
+ fontWeight?: string;
15
+ showBorder?: boolean;
16
+ padding?: boolean;
17
+ scroll?: boolean;
18
+ backgroundColor?: string;
19
+ color?: string;
20
+ }) => import("react/jsx-runtime").JSX.Element;
21
+ declare const TMSplitterLayout: ({ animation, showSeparator, separatorColor, separatorSize, direction, children, start, min }: {
22
+ animation?: boolean;
23
+ separatorColor?: string;
24
+ showSeparator?: boolean;
25
+ separatorSize?: number;
26
+ direction?: "horizontal" | "vertical";
27
+ children?: React.ReactNode;
28
+ start?: string[];
29
+ min?: string[];
30
+ }) => import("react/jsx-runtime").JSX.Element;
31
+ declare const TMLayoutItem: ({ onClick, children, width, minWidth, maxWidth, maxHeight, height, minHeight }: {
32
+ onClick?: () => void;
33
+ children: React.ReactNode;
34
+ minWidth?: string;
35
+ width?: string;
36
+ maxWidth?: string;
37
+ maxHeight?: string;
38
+ fixed?: boolean;
39
+ height?: string;
40
+ minHeight?: string;
41
+ }) => import("react/jsx-runtime").JSX.Element;
42
+ declare const TMLayoutContainer: ({ gap, onClick, justifyContent, alignItems, children, direction }: {
43
+ gap?: number;
44
+ justifyContent?: string;
45
+ alignItems?: string;
46
+ onClick?: () => void;
47
+ children: React.ReactNode;
48
+ direction?: "vertical" | "horizontal";
49
+ }) => import("react/jsx-runtime").JSX.Element;
50
+ export { TMCard, TMLayoutItem, TMSplitterLayout };
51
+ export default TMLayoutContainer;
@@ -0,0 +1,152 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import React, { useEffect, useRef, useState } from 'react';
3
+ import styled from 'styled-components';
4
+ import { FontSize, TMColors } from '../../utils/theme';
5
+ const StyledLayoutContainer = styled.div `
6
+ width: 100%;
7
+ position: relative;
8
+ height: 100%;
9
+ /* min-height: max-content; */
10
+ /* min-width: max-content; */
11
+ display: flex;
12
+ flex-direction: ${props => props.$direction === 'horizontal' ? 'row' : 'column'};
13
+ justify-content: ${props => props.$justifyContent};
14
+ align-items: ${props => props.$alignItems};
15
+ /* overflow: ${props => props.$direction === 'horizontal' ? 'auto' : 'hidden'}; */
16
+ /* gap: 3px; */
17
+ `;
18
+ const StyledLayoutItem = styled.div `
19
+ width: ${props => props.$width};
20
+ min-width: ${props => props.$minWidth};
21
+ max-width: ${props => props.$maxWidth};
22
+ max-height: ${props => props.$maxHeight};
23
+ min-height: ${props => props.$minHeight};
24
+ height: ${props => props.$height};
25
+ position: relative;
26
+ `;
27
+ const StyledCardHeader = styled.div `
28
+ width:100% ;
29
+ display: flex;
30
+ flex-direction: row;
31
+ align-items: center;
32
+ justify-content: flex-start;
33
+ padding: 4px 5px;
34
+ background-color: ${props => props.$backgroundColor ?? TMColors.backgroundColorHeader};
35
+ color: ${props => props.$color ?? TMColors.colorHeader};
36
+ border-top-right-radius: ${props => props.$borderRadius && '3px'};
37
+ border-top-left-radius: ${props => props.$borderRadius && '3px'};
38
+ overflow: hidden;
39
+ position: sticky;
40
+ top: 0;
41
+ font-weight: ${props => props.$fontWeight ?? 'normal'};
42
+ `;
43
+ const StyledCardContext = styled.div `
44
+ width: 100%;
45
+ height: ${props => props.$showHeader ? 'calc(100% - 25px);' : '100%'} ;
46
+ overflow: ${props => props.$scroll && 'auto'};
47
+ overflow-y: ${props => props.$scrollY && 'auto'};
48
+ overflow-x: ${props => props.$scrollX && 'auto'};
49
+ background-color: white;
50
+ top: 0;
51
+ padding: ${props => props.$padding ? '5px' : '0'};
52
+ `;
53
+ const TMCard = ({ borderRadius = true, onClick, scrollX = false, scrollY = false, width = '100%', height = '100%', children, title = '', fontSize = FontSize.defaultFontSize, fontWeight, showBorder = true, padding = true, scroll = false, backgroundColor, color }) => {
54
+ return (_jsxs("div", { onClick: onClick, style: { width: width, height: height, fontSize: fontSize, overflow: 'hidden' }, children: [title.length > 0 && _jsx(StyledCardHeader, { "$borderRadius": borderRadius, "$fontWeight": fontWeight, "$backgroundColor": backgroundColor, "$color": color, children: title }), _jsxs(StyledCardContext, { "$scrollX": scrollX, "$scrollY": scrollY, "$scroll": scroll, "$padding": padding, "$showHeader": title.length > 0, style: { border: showBorder ? '2px solid #CAD9EB' : 'none', borderBottomLeftRadius: showBorder ? '3px' : '0', borderBottomRightRadius: showBorder ? '3px' : '0' }, children: [" ", children, " "] })] }));
55
+ };
56
+ const TMSplitterLayout = ({ animation = false, showSeparator = true, separatorColor = '#e4e4e4', separatorSize = 4, direction = 'horizontal', children, start = ['50%', '50%'], min = ['150px', '150px'] }) => {
57
+ function isReactFragment(variableToInspect) {
58
+ if (variableToInspect.type) {
59
+ return variableToInspect.type === React.Fragment;
60
+ }
61
+ return variableToInspect === React.Fragment;
62
+ }
63
+ const sepRef = useRef(null);
64
+ const firstDivRef = useRef(null);
65
+ const secondDivRef = useRef(null);
66
+ const [isFrag, setIsFrag] = useState(isReactFragment(React.Children.toArray(children)[1]));
67
+ useEffect(() => { setIsFrag(isReactFragment(React.Children.toArray(children)[1])); }, [isReactFragment(React.Children.toArray(children)[1])]);
68
+ useEffect(() => {
69
+ const firstDiv = firstDivRef.current;
70
+ const secondDiv = secondDivRef.current;
71
+ const sepDiv = sepRef.current;
72
+ let xCord = 0;
73
+ let yCord = 0;
74
+ const onMouseMoveSep = (e) => {
75
+ if (sepDiv) {
76
+ if (direction === 'horizontal') {
77
+ let tempX = e.clientX - xCord;
78
+ xCord = e.clientX;
79
+ firstDiv.style.width = `calc(${firstDiv?.style.width} + ${tempX}px)`;
80
+ secondDiv.style.width = `calc(${secondDiv?.style.width} - ${tempX}px)`;
81
+ }
82
+ else {
83
+ let tempY = e.clientY - yCord;
84
+ yCord = e.clientY;
85
+ firstDiv.style.height = `calc(${firstDiv?.style.height} + ${tempY}px)`;
86
+ secondDiv.style.height = `calc(${secondDiv?.style.height} - ${tempY}px)`;
87
+ }
88
+ }
89
+ };
90
+ const onTouchMoveSep = (e) => {
91
+ if (sepDiv) {
92
+ if (direction === 'horizontal') {
93
+ let tempX = e.touches[0].clientX - xCord;
94
+ xCord = e.touches[0].clientX;
95
+ firstDiv.style.width = `calc(${firstDiv?.style.width} + ${tempX}px)`;
96
+ secondDiv.style.width = `calc(${secondDiv?.style.width} - ${tempX}px)`;
97
+ }
98
+ else {
99
+ let tempY = e.touches[0].clientY - yCord;
100
+ yCord = e.touches[0].clientY;
101
+ firstDiv.style.height = `calc(${firstDiv?.style.height} + ${tempY}px)`;
102
+ secondDiv.style.height = `calc(${secondDiv?.style.height} - ${tempY}px)`;
103
+ }
104
+ }
105
+ };
106
+ const onMouseUpSep = () => {
107
+ sepDiv.style.userSelect = 'auto';
108
+ firstDiv.style.userSelect = 'auto';
109
+ secondDiv.style.userSelect = 'auto';
110
+ sepDiv.style.backgroundColor = separatorColor;
111
+ if (animation)
112
+ firstDiv.style.transition = 'ease 300ms';
113
+ if (animation)
114
+ secondDiv.style.transition = 'ease 300ms';
115
+ document.removeEventListener('mousemove', onMouseMoveSep);
116
+ document.removeEventListener('touchmove', onTouchMoveSep);
117
+ };
118
+ const onMouseDownSep = (e) => {
119
+ sepDiv.style.userSelect = 'none';
120
+ firstDiv.style.userSelect = 'none';
121
+ secondDiv.style.userSelect = 'none';
122
+ if (animation)
123
+ firstDiv.style.transition = 'none';
124
+ if (animation)
125
+ secondDiv.style.transition = 'none';
126
+ if (direction === 'horizontal') {
127
+ xCord = e.clientX;
128
+ }
129
+ else {
130
+ yCord = e.clientY;
131
+ }
132
+ sepDiv.style.backgroundColor = TMColors.tertiary;
133
+ document.addEventListener('mousemove', onMouseMoveSep);
134
+ document.addEventListener('mouseup', onMouseUpSep);
135
+ document.addEventListener('touchmove', onTouchMoveSep);
136
+ document.addEventListener('touchend', onMouseUpSep);
137
+ };
138
+ sepDiv?.addEventListener('mousedown', onMouseDownSep);
139
+ sepDiv?.addEventListener('touchstart', onMouseDownSep);
140
+ return () => { sepDiv?.removeEventListener('mousedown', onMouseDownSep); sepDiv?.removeEventListener('touchstart', onMouseDownSep); };
141
+ }, [firstDivRef, secondDivRef, sepRef, isFrag]);
142
+ return (_jsxs("div", { style: { display: 'flex', width: '100%', height: '100%', flexDirection: direction === 'vertical' ? 'column' : 'row', alignItems: 'flex-start', justifyContent: 'flex-start', position: 'relative' }, children: [_jsx("div", { style: { transition: animation ? 'ease 300ms' : 'none', overflow: 'hidden', height: direction === 'vertical' ? start[0] : '100%', minHeight: direction === 'vertical' ? min[0] : '100%', minWidth: direction === 'vertical' ? '100%' : min[0], width: direction === 'vertical' ? '100%' : start[0] }, ref: firstDivRef, children: React.Children.toArray(children)[0] }), !isFrag && _jsx("div", { ref: sepRef, style: { display: showSeparator ? 'block' : 'none', minWidth: direction === 'vertical' ? '100%' : `${separatorSize}px`, minHeight: direction === 'vertical' ? `${separatorSize}px` : '100%', backgroundColor: separatorColor, cursor: direction === 'vertical' ? 's-resize' : 'e-resize' } }), _jsx("div", { style: { transition: animation ? 'ease 300ms' : 'none', overflow: 'hidden', height: direction === 'vertical' ? start[1] : '100%', minHeight: direction === 'vertical' ? min[1] : '100%', minWidth: direction === 'vertical' ? '100%' : min[1], width: direction === 'vertical' ? '100%' : start[1] }, ref: secondDivRef, children: React.Children.toArray(children)[1] })] }));
143
+ };
144
+ const TMLayoutItem = ({ onClick, children, width = '100%', minWidth, maxWidth, maxHeight, height = '100%', minHeight }) => {
145
+ return (_jsx(StyledLayoutItem, { onClick: onClick, "$height": height, "$maxHeight": maxHeight, "$minHeight": minHeight, "$width": width, "$minWidth": minWidth, "$maxWidth": maxWidth, children: children }));
146
+ };
147
+ const TMLayoutContainer = ({ gap = 3, onClick, justifyContent = 'flex-start', alignItems = 'flex-start', children, direction = 'vertical' }) => {
148
+ const renderedEls = () => { return (React.Children.map(children, child => (child))); };
149
+ return (_jsxs(StyledLayoutContainer, { "$alignItems": alignItems, "$justifyContent": justifyContent, onClick: onClick, "$direction": direction, style: { gap: gap }, children: [" ", renderedEls(), " "] }));
150
+ };
151
+ export { TMCard, TMLayoutItem, TMSplitterLayout };
152
+ export default TMLayoutContainer;
@@ -0,0 +1,9 @@
1
+ interface ITMListItem {
2
+ icon: any;
3
+ text?: string;
4
+ onClick?: () => void;
5
+ }
6
+ declare const TMList: ({ items }: {
7
+ items: ITMListItem[];
8
+ }) => import("react/jsx-runtime").JSX.Element;
9
+ export default TMList;
@@ -0,0 +1,46 @@
1
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
+ import styled from 'styled-components';
3
+ import { TMColors } from '../../utils/theme';
4
+ const StyledListItem = styled.li `
5
+ display: flex;
6
+ flex-direction: row;
7
+ align-items: center;
8
+ justify-content: flex-start;
9
+ position: relative;
10
+ color: ${TMColors.text_normal};
11
+ padding: 4px 5px;
12
+ height: 40px;
13
+ width: 100%;
14
+ font-size: 1rem;
15
+ letter-spacing: 0px;
16
+
17
+ &:hover {
18
+ background-color: ${TMColors.border_normal};
19
+ /* color: ${TMColors.secondary}; */
20
+ /* border-left: 7px solid ${TMColors.primary}; */
21
+ cursor: pointer;
22
+ }
23
+ `;
24
+ const StyledListContainer = styled.div `
25
+ height: 100%;
26
+ width: 100%;
27
+ background-color: ${TMColors.default_background};
28
+ padding: 3px;
29
+ border-radius: 2px;
30
+ box-shadow: 1px 1px 7px rgba(0,0,0,0.15);
31
+ `;
32
+ const StyledListContent = styled.div `
33
+ height: 100%;
34
+ width: 100%;
35
+ background-color: ${TMColors.default_background};
36
+ padding: 10px;
37
+ border-radius: 2px;
38
+ box-shadow: 1px 1px 7px rgba(0,0,0,0.15);
39
+ `;
40
+ ;
41
+ const TMList = ({ items }) => {
42
+ return (_jsx(StyledListContainer, { children: items?.map((item, index) => {
43
+ return (_jsxs(StyledListItem, { style: { gap: 10 }, onClick: item.onClick, children: [item.icon, item.text] }, index));
44
+ }) }));
45
+ };
46
+ export default TMList;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { ITMEditorBase, Colors as C } from '../base/TMEditorBase';
3
+ type SelectedValueType = {
4
+ fieldName: string;
5
+ fieldValues: any[];
6
+ };
7
+ interface ITMListView extends ITMEditorBase {
8
+ dataSource?: any[];
9
+ multipleSelect?: boolean;
10
+ searchable?: boolean;
11
+ header?: boolean;
12
+ footer?: boolean;
13
+ selectedListItems?: (e: any[]) => void;
14
+ displayField?: string;
15
+ customListViewItem?: JSX.Element;
16
+ customItemDetails?: JSX.Element;
17
+ hasItemDetails?: boolean;
18
+ detailsFields?: string[];
19
+ color?: C;
20
+ selectedValues?: any[] | SelectedValueType;
21
+ maxHeight?: string;
22
+ }
23
+ declare const TMListView: React.FC<ITMListView>;
24
+ export default TMListView;