@topconsultnpm/sdkui-react 6.20.0-dev1.15 → 6.20.0-dev1.16

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 (714) hide show
  1. package/lib/assets/IconsS4t/add.svg +12 -0
  2. package/lib/assets/IconsS4t/aggiorna.svg +18 -0
  3. package/lib/assets/IconsS4t/bookmark.svg +42 -0
  4. package/lib/assets/IconsS4t/cancella.svg +15 -0
  5. package/lib/assets/IconsS4t/check-box.svg +19 -0
  6. package/lib/assets/IconsS4t/down-arrow-signBook.svg +40 -0
  7. package/lib/assets/IconsS4t/down.svg +28 -0
  8. package/lib/assets/IconsS4t/edit-file.svg +19 -0
  9. package/lib/assets/IconsS4t/edita.svg +32 -0
  10. package/lib/assets/IconsS4t/firma.svg +19 -0
  11. package/lib/assets/IconsS4t/icona_download.svg +16 -0
  12. package/lib/assets/IconsS4t/info.svg +51 -0
  13. package/lib/assets/IconsS4t/left.svg +20 -0
  14. package/lib/assets/IconsS4t/line.svg +40 -0
  15. package/lib/assets/IconsS4t/more.svg +19 -0
  16. package/lib/assets/IconsS4t/new-signature.svg +1 -0
  17. package/lib/assets/IconsS4t/plus.svg +23 -0
  18. package/lib/assets/IconsS4t/printer.svg +49 -0
  19. package/lib/assets/IconsS4t/radio-on-button.svg +25 -0
  20. package/lib/assets/IconsS4t/rectangle.svg +41 -0
  21. package/lib/assets/IconsS4t/redo.svg +19 -0
  22. package/lib/assets/IconsS4t/right-arrow-signBook-finish.svg +40 -0
  23. package/lib/assets/IconsS4t/right-arrow-signBook.svg +40 -0
  24. package/lib/assets/IconsS4t/right.svg +22 -0
  25. package/lib/assets/IconsS4t/searchbar.svg +21 -0
  26. package/lib/assets/IconsS4t/text-box.svg +36 -0
  27. package/lib/assets/IconsS4t/tick.svg +8 -0
  28. package/lib/assets/IconsS4t/trash-white.svg +11 -0
  29. package/lib/assets/IconsS4t/trash.svg +1 -0
  30. package/lib/assets/IconsS4t/undo.svg +19 -0
  31. package/lib/assets/IconsS4t/up.svg +32 -0
  32. package/lib/assets/IconsS4t/video-streaming.svg +2 -0
  33. package/lib/assets/IconsS4t/zoom-in.svg +58 -0
  34. package/lib/assets/IconsS4t/zoom-out.svg +56 -0
  35. package/lib/assets/ImageLibrary/arrow_001.png +0 -0
  36. package/lib/assets/ImageLibrary/arrow_002.png +0 -0
  37. package/lib/assets/ImageLibrary/arrow_003.png +0 -0
  38. package/lib/assets/ImageLibrary/arrow_004.png +0 -0
  39. package/lib/assets/ImageLibrary/arrow_005.png +0 -0
  40. package/lib/assets/ImageLibrary/arrow_006.png +0 -0
  41. package/lib/assets/ImageLibrary/arrow_007.png +0 -0
  42. package/lib/assets/ImageLibrary/arrow_008.png +0 -0
  43. package/lib/assets/ImageLibrary/arrow_009.png +0 -0
  44. package/lib/assets/ImageLibrary/arrow_010.png +0 -0
  45. package/lib/assets/ImageLibrary/arrow_011.png +0 -0
  46. package/lib/assets/ImageLibrary/arrow_012.png +0 -0
  47. package/lib/assets/ImageLibrary/book_001.png +0 -0
  48. package/lib/assets/ImageLibrary/book_002.png +0 -0
  49. package/lib/assets/ImageLibrary/book_003.png +0 -0
  50. package/lib/assets/ImageLibrary/book_004.png +0 -0
  51. package/lib/assets/ImageLibrary/book_005.png +0 -0
  52. package/lib/assets/ImageLibrary/book_006.png +0 -0
  53. package/lib/assets/ImageLibrary/book_007.png +0 -0
  54. package/lib/assets/ImageLibrary/clock_001.png +0 -0
  55. package/lib/assets/ImageLibrary/clock_002.png +0 -0
  56. package/lib/assets/ImageLibrary/clock_003.png +0 -0
  57. package/lib/assets/ImageLibrary/cube_001.png +0 -0
  58. package/lib/assets/ImageLibrary/cube_002.png +0 -0
  59. package/lib/assets/ImageLibrary/cube_003.png +0 -0
  60. package/lib/assets/ImageLibrary/dcmt_001.png +0 -0
  61. package/lib/assets/ImageLibrary/dcmt_002.png +0 -0
  62. package/lib/assets/ImageLibrary/dcmt_003.png +0 -0
  63. package/lib/assets/ImageLibrary/dcmt_004.png +0 -0
  64. package/lib/assets/ImageLibrary/dcmt_005.png +0 -0
  65. package/lib/assets/ImageLibrary/dcmt_006.png +0 -0
  66. package/lib/assets/ImageLibrary/dcmt_007.png +0 -0
  67. package/lib/assets/ImageLibrary/dcmt_008.png +0 -0
  68. package/lib/assets/ImageLibrary/emoticon_001.png +0 -0
  69. package/lib/assets/ImageLibrary/emoticon_002.png +0 -0
  70. package/lib/assets/ImageLibrary/emoticon_003.png +0 -0
  71. package/lib/assets/ImageLibrary/emoticon_004.png +0 -0
  72. package/lib/assets/ImageLibrary/fld_001.png +0 -0
  73. package/lib/assets/ImageLibrary/fld_002.png +0 -0
  74. package/lib/assets/ImageLibrary/fld_003.png +0 -0
  75. package/lib/assets/ImageLibrary/fld_004.png +0 -0
  76. package/lib/assets/ImageLibrary/fld_005.png +0 -0
  77. package/lib/assets/ImageLibrary/fld_006.png +0 -0
  78. package/lib/assets/ImageLibrary/fld_007.png +0 -0
  79. package/lib/assets/ImageLibrary/fld_008.png +0 -0
  80. package/lib/assets/ImageLibrary/fld_009.png +0 -0
  81. package/lib/assets/ImageLibrary/fld_010.png +0 -0
  82. package/lib/assets/ImageLibrary/fld_011.png +0 -0
  83. package/lib/assets/ImageLibrary/fld_012.png +0 -0
  84. package/lib/assets/ImageLibrary/fld_013.png +0 -0
  85. package/lib/assets/ImageLibrary/fld_014.png +0 -0
  86. package/lib/assets/ImageLibrary/fld_015.png +0 -0
  87. package/lib/assets/ImageLibrary/fld_016.png +0 -0
  88. package/lib/assets/ImageLibrary/fld_017.png +0 -0
  89. package/lib/assets/ImageLibrary/fld_018.png +0 -0
  90. package/lib/assets/ImageLibrary/fld_019.png +0 -0
  91. package/lib/assets/ImageLibrary/fld_020.png +0 -0
  92. package/lib/assets/ImageLibrary/fld_021.png +0 -0
  93. package/lib/assets/ImageLibrary/fld_022.png +0 -0
  94. package/lib/assets/ImageLibrary/fld_023.png +0 -0
  95. package/lib/assets/ImageLibrary/fld_024.png +0 -0
  96. package/lib/assets/ImageLibrary/fld_025.png +0 -0
  97. package/lib/assets/ImageLibrary/fld_026.png +0 -0
  98. package/lib/assets/ImageLibrary/fld_027.png +0 -0
  99. package/lib/assets/ImageLibrary/fld_028.png +0 -0
  100. package/lib/assets/ImageLibrary/fld_029.png +0 -0
  101. package/lib/assets/ImageLibrary/fld_030.png +0 -0
  102. package/lib/assets/ImageLibrary/fld_031.png +0 -0
  103. package/lib/assets/ImageLibrary/fld_032.png +0 -0
  104. package/lib/assets/ImageLibrary/fld_033.png +0 -0
  105. package/lib/assets/ImageLibrary/gen_001.png +0 -0
  106. package/lib/assets/ImageLibrary/gen_002.png +0 -0
  107. package/lib/assets/ImageLibrary/gen_003.png +0 -0
  108. package/lib/assets/ImageLibrary/gen_004.png +0 -0
  109. package/lib/assets/ImageLibrary/gen_005.png +0 -0
  110. package/lib/assets/ImageLibrary/gen_006.png +0 -0
  111. package/lib/assets/ImageLibrary/gen_007.png +0 -0
  112. package/lib/assets/ImageLibrary/gen_008.png +0 -0
  113. package/lib/assets/ImageLibrary/gen_009.png +0 -0
  114. package/lib/assets/ImageLibrary/gen_010.png +0 -0
  115. package/lib/assets/ImageLibrary/gen_011.png +0 -0
  116. package/lib/assets/ImageLibrary/gen_012.png +0 -0
  117. package/lib/assets/ImageLibrary/gen_013.png +0 -0
  118. package/lib/assets/ImageLibrary/gen_014.png +0 -0
  119. package/lib/assets/ImageLibrary/gen_015.png +0 -0
  120. package/lib/assets/ImageLibrary/gen_016.png +0 -0
  121. package/lib/assets/ImageLibrary/gen_017.png +0 -0
  122. package/lib/assets/ImageLibrary/gen_018.png +0 -0
  123. package/lib/assets/ImageLibrary/gen_019.png +0 -0
  124. package/lib/assets/ImageLibrary/gen_020.png +0 -0
  125. package/lib/assets/ImageLibrary/gen_021.png +0 -0
  126. package/lib/assets/ImageLibrary/gen_022.png +0 -0
  127. package/lib/assets/ImageLibrary/gen_023.png +0 -0
  128. package/lib/assets/ImageLibrary/gen_024.png +0 -0
  129. package/lib/assets/ImageLibrary/gen_025.png +0 -0
  130. package/lib/assets/ImageLibrary/gen_026.png +0 -0
  131. package/lib/assets/ImageLibrary/gen_027.png +0 -0
  132. package/lib/assets/ImageLibrary/gen_028.png +0 -0
  133. package/lib/assets/ImageLibrary/gen_029.png +0 -0
  134. package/lib/assets/ImageLibrary/gen_030.png +0 -0
  135. package/lib/assets/ImageLibrary/gen_031.png +0 -0
  136. package/lib/assets/ImageLibrary/gen_032.png +0 -0
  137. package/lib/assets/ImageLibrary/gen_033.png +0 -0
  138. package/lib/assets/ImageLibrary/gen_034.png +0 -0
  139. package/lib/assets/ImageLibrary/gen_035.png +0 -0
  140. package/lib/assets/ImageLibrary/gen_036.png +0 -0
  141. package/lib/assets/ImageLibrary/gen_037.png +0 -0
  142. package/lib/assets/ImageLibrary/gen_038.png +0 -0
  143. package/lib/assets/ImageLibrary/gen_039.png +0 -0
  144. package/lib/assets/ImageLibrary/gen_040.png +0 -0
  145. package/lib/assets/ImageLibrary/gen_041.png +0 -0
  146. package/lib/assets/ImageLibrary/gen_042.png +0 -0
  147. package/lib/assets/ImageLibrary/gen_043.png +0 -0
  148. package/lib/assets/ImageLibrary/gen_044.png +0 -0
  149. package/lib/assets/ImageLibrary/gen_045.png +0 -0
  150. package/lib/assets/ImageLibrary/gen_046.png +0 -0
  151. package/lib/assets/ImageLibrary/gen_047.png +0 -0
  152. package/lib/assets/ImageLibrary/gen_048.png +0 -0
  153. package/lib/assets/ImageLibrary/gen_049.png +0 -0
  154. package/lib/assets/ImageLibrary/gen_050.png +0 -0
  155. package/lib/assets/ImageLibrary/gen_051.png +0 -0
  156. package/lib/assets/ImageLibrary/gen_052.png +0 -0
  157. package/lib/assets/ImageLibrary/hand_001.png +0 -0
  158. package/lib/assets/ImageLibrary/hand_002.png +0 -0
  159. package/lib/assets/ImageLibrary/hand_003.png +0 -0
  160. package/lib/assets/ImageLibrary/hand_004.png +0 -0
  161. package/lib/assets/ImageLibrary/hand_005.png +0 -0
  162. package/lib/assets/ImageLibrary/hand_006.png +0 -0
  163. package/lib/assets/ImageLibrary/law_001.png +0 -0
  164. package/lib/assets/ImageLibrary/law_002.png +0 -0
  165. package/lib/assets/ImageLibrary/law_003.png +0 -0
  166. package/lib/assets/ImageLibrary/lock_001.png +0 -0
  167. package/lib/assets/ImageLibrary/lock_002.png +0 -0
  168. package/lib/assets/ImageLibrary/lock_003.png +0 -0
  169. package/lib/assets/ImageLibrary/mail_001.png +0 -0
  170. package/lib/assets/ImageLibrary/mail_002.png +0 -0
  171. package/lib/assets/ImageLibrary/mail_003.png +0 -0
  172. package/lib/assets/ImageLibrary/mail_004.png +0 -0
  173. package/lib/assets/ImageLibrary/mail_005.png +0 -0
  174. package/lib/assets/ImageLibrary/mail_006.png +0 -0
  175. package/lib/assets/ImageLibrary/mail_007.png +0 -0
  176. package/lib/assets/ImageLibrary/mail_008.png +0 -0
  177. package/lib/assets/ImageLibrary/mail_009.png +0 -0
  178. package/lib/assets/ImageLibrary/mail_010.png +0 -0
  179. package/lib/assets/ImageLibrary/mail_011.png +0 -0
  180. package/lib/assets/ImageLibrary/mail_012.png +0 -0
  181. package/lib/assets/ImageLibrary/mail_013.png +0 -0
  182. package/lib/assets/ImageLibrary/mail_014.png +0 -0
  183. package/lib/assets/ImageLibrary/mail_015.png +0 -0
  184. package/lib/assets/ImageLibrary/net_001.png +0 -0
  185. package/lib/assets/ImageLibrary/net_002.png +0 -0
  186. package/lib/assets/ImageLibrary/net_003.png +0 -0
  187. package/lib/assets/ImageLibrary/net_004.png +0 -0
  188. package/lib/assets/ImageLibrary/nmbr_001.png +0 -0
  189. package/lib/assets/ImageLibrary/nmbr_002.png +0 -0
  190. package/lib/assets/ImageLibrary/nmbr_003.png +0 -0
  191. package/lib/assets/ImageLibrary/nmbr_004.png +0 -0
  192. package/lib/assets/ImageLibrary/nmbr_005.png +0 -0
  193. package/lib/assets/ImageLibrary/nmbr_006.png +0 -0
  194. package/lib/assets/ImageLibrary/nmbr_007.png +0 -0
  195. package/lib/assets/ImageLibrary/nmbr_008.png +0 -0
  196. package/lib/assets/ImageLibrary/nmbr_009.png +0 -0
  197. package/lib/assets/ImageLibrary/note_001.png +0 -0
  198. package/lib/assets/ImageLibrary/note_002.png +0 -0
  199. package/lib/assets/ImageLibrary/note_003.png +0 -0
  200. package/lib/assets/ImageLibrary/note_004.png +0 -0
  201. package/lib/assets/ImageLibrary/note_005.png +0 -0
  202. package/lib/assets/ImageLibrary/note_006.png +0 -0
  203. package/lib/assets/ImageLibrary/note_007.png +0 -0
  204. package/lib/assets/ImageLibrary/note_008.png +0 -0
  205. package/lib/assets/ImageLibrary/note_009.png +0 -0
  206. package/lib/assets/ImageLibrary/note_010.png +0 -0
  207. package/lib/assets/ImageLibrary/note_011.png +0 -0
  208. package/lib/assets/ImageLibrary/note_012.png +0 -0
  209. package/lib/assets/ImageLibrary/note_013.png +0 -0
  210. package/lib/assets/ImageLibrary/note_014.png +0 -0
  211. package/lib/assets/ImageLibrary/note_015.png +0 -0
  212. package/lib/assets/ImageLibrary/note_016.png +0 -0
  213. package/lib/assets/ImageLibrary/run_001.png +0 -0
  214. package/lib/assets/ImageLibrary/run_002.png +0 -0
  215. package/lib/assets/ImageLibrary/run_003.png +0 -0
  216. package/lib/assets/ImageLibrary/sem_001.png +0 -0
  217. package/lib/assets/ImageLibrary/sem_002.png +0 -0
  218. package/lib/assets/ImageLibrary/sem_003.png +0 -0
  219. package/lib/assets/ImageLibrary/sem_004.png +0 -0
  220. package/lib/assets/ImageLibrary/sem_005.png +0 -0
  221. package/lib/assets/ImageLibrary/star_001.png +0 -0
  222. package/lib/assets/ImageLibrary/star_002.png +0 -0
  223. package/lib/assets/ImageLibrary/star_003.png +0 -0
  224. package/lib/assets/ImageLibrary/star_004.png +0 -0
  225. package/lib/assets/ImageLibrary/star_005.png +0 -0
  226. package/lib/assets/ImageLibrary/star_006.png +0 -0
  227. package/lib/assets/ImageLibrary/state_001.png +0 -0
  228. package/lib/assets/ImageLibrary/state_002.png +0 -0
  229. package/lib/assets/ImageLibrary/state_003.png +0 -0
  230. package/lib/assets/ImageLibrary/state_004.png +0 -0
  231. package/lib/assets/ImageLibrary/state_005.png +0 -0
  232. package/lib/assets/ImageLibrary/study_001.png +0 -0
  233. package/lib/assets/ImageLibrary/study_002.png +0 -0
  234. package/lib/assets/ImageLibrary/user_001.png +0 -0
  235. package/lib/assets/ImageLibrary/user_002.png +0 -0
  236. package/lib/assets/ImageLibrary/user_003.png +0 -0
  237. package/lib/assets/ImageLibrary/user_004.png +0 -0
  238. package/lib/assets/ImageLibrary/user_005.png +0 -0
  239. package/lib/assets/ImageLibrary/user_006.png +0 -0
  240. package/lib/assets/ImageLibrary/user_007.png +0 -0
  241. package/lib/assets/ImageLibrary/user_008.png +0 -0
  242. package/lib/assets/ImageLibrary/user_009.png +0 -0
  243. package/lib/assets/ImageLibrary/user_010.png +0 -0
  244. package/lib/assets/ImageLibrary/user_011.png +0 -0
  245. package/lib/assets/ImageLibrary/user_012.png +0 -0
  246. package/lib/assets/ImageLibrary/user_013.png +0 -0
  247. package/lib/assets/ImageLibrary/user_014.png +0 -0
  248. package/lib/assets/ImageLibrary/user_015.png +0 -0
  249. package/lib/assets/ImageLibrary/user_016.png +0 -0
  250. package/lib/assets/ImageLibrary/user_017.png +0 -0
  251. package/lib/assets/ImageLibrary/user_018.png +0 -0
  252. package/lib/assets/ImageLibrary/user_019.png +0 -0
  253. package/lib/assets/ImageLibrary/user_020.png +0 -0
  254. package/lib/assets/ImageLibrary/user_021.png +0 -0
  255. package/lib/assets/ImageLibrary/user_022.png +0 -0
  256. package/lib/assets/ImageLibrary/user_023.png +0 -0
  257. package/lib/assets/ImageLibrary/vehicle_001.png +0 -0
  258. package/lib/assets/ImageLibrary/vehicle_002.png +0 -0
  259. package/lib/assets/ImageLibrary/vehicle_003.png +0 -0
  260. package/lib/assets/ImageLibrary/vehicle_004.png +0 -0
  261. package/lib/assets/ImageLibrary/vehicle_005.png +0 -0
  262. package/lib/assets/ImageLibrary/vehicle_006.png +0 -0
  263. package/lib/assets/ImageLibrary/vehicle_007.png +0 -0
  264. package/lib/assets/ImageLibrary/vehicle_008.png +0 -0
  265. package/lib/assets/Toppy-generico.png +0 -0
  266. package/lib/assets/france.svg +1 -0
  267. package/lib/assets/german.svg +1 -0
  268. package/lib/assets/icomoon.eot +0 -0
  269. package/lib/assets/icomoon.svg +97 -0
  270. package/lib/assets/icomoon.ttf +0 -0
  271. package/lib/assets/icomoon.woff +0 -0
  272. package/lib/assets/italy.svg +16 -0
  273. package/lib/assets/loading.png +0 -0
  274. package/lib/assets/login-bg.png +0 -0
  275. package/lib/assets/multipleSelectionManager.jpg +0 -0
  276. package/lib/assets/portugal.svg +1 -0
  277. package/lib/assets/six.png +0 -0
  278. package/lib/assets/six.svg +4 -0
  279. package/lib/assets/spain.svg +1 -0
  280. package/lib/assets/thumbnails/dicom.png +0 -0
  281. package/lib/assets/thumbnails/doc.png +0 -0
  282. package/lib/assets/thumbnails/docx.png +0 -0
  283. package/lib/assets/thumbnails/dwg.png +0 -0
  284. package/lib/assets/thumbnails/email.png +0 -0
  285. package/lib/assets/thumbnails/exe.png +0 -0
  286. package/lib/assets/thumbnails/folder.png +0 -0
  287. package/lib/assets/thumbnails/html.png +0 -0
  288. package/lib/assets/thumbnails/image.png +0 -0
  289. package/lib/assets/thumbnails/index.d.ts +19 -0
  290. package/lib/assets/thumbnails/index.js +19 -0
  291. package/lib/assets/thumbnails/index.ts +39 -0
  292. package/lib/assets/thumbnails/mp4.png +0 -0
  293. package/lib/assets/thumbnails/other.png +0 -0
  294. package/lib/assets/thumbnails/p7m.png +0 -0
  295. package/lib/assets/thumbnails/pdf.png +0 -0
  296. package/lib/assets/thumbnails/ppt.png +0 -0
  297. package/lib/assets/thumbnails/slddrw.png +0 -0
  298. package/lib/assets/thumbnails/txt.png +0 -0
  299. package/lib/assets/thumbnails/xls.png +0 -0
  300. package/lib/assets/thumbnails/xml.png +0 -0
  301. package/lib/assets/thumbnails/zip.png +0 -0
  302. package/lib/assets/topmedia-six.svg +66 -0
  303. package/lib/assets/topmeida-six-bianco.svg +66 -0
  304. package/lib/assets/united-kingdom.svg +1 -0
  305. package/lib/components/base/Styled.d.ts +63 -0
  306. package/lib/components/base/Styled.js +337 -0
  307. package/lib/components/base/TMAccordion.d.ts +12 -0
  308. package/lib/components/base/TMAccordion.js +62 -0
  309. package/lib/components/base/TMAccordionNew.d.ts +28 -0
  310. package/lib/components/base/TMAccordionNew.js +326 -0
  311. package/lib/components/base/TMAlert.d.ts +73 -0
  312. package/lib/components/base/TMAlert.js +77 -0
  313. package/lib/components/base/TMAreaManager.d.ts +25 -0
  314. package/lib/components/base/TMAreaManager.js +733 -0
  315. package/lib/components/base/TMButton.d.ts +22 -0
  316. package/lib/components/base/TMButton.js +174 -0
  317. package/lib/components/base/TMClosableList.d.ts +10 -0
  318. package/lib/components/base/TMClosableList.js +70 -0
  319. package/lib/components/base/TMConfirm.d.ts +13 -0
  320. package/lib/components/base/TMConfirm.js +119 -0
  321. package/lib/components/base/TMContextMenu.d.ts +25 -0
  322. package/lib/components/base/TMContextMenu.js +109 -0
  323. package/lib/components/base/TMContextMenuOLD.d.ts +26 -0
  324. package/lib/components/base/TMContextMenuOLD.js +56 -0
  325. package/lib/components/base/TMCounterBar.d.ts +10 -0
  326. package/lib/components/base/TMCounterBar.js +43 -0
  327. package/lib/components/base/TMCounterContainer.d.ts +23 -0
  328. package/lib/components/base/TMCounterContainer.js +58 -0
  329. package/lib/components/base/TMCustomButton.d.ts +11 -0
  330. package/lib/components/base/TMCustomButton.js +117 -0
  331. package/lib/components/base/TMDataGrid.d.ts +56 -0
  332. package/lib/components/base/TMDataGrid.js +248 -0
  333. package/lib/components/base/TMDataGridExportForm.d.ts +15 -0
  334. package/lib/components/base/TMDataGridExportForm.js +215 -0
  335. package/lib/components/base/TMDeviceProvider.d.ts +15 -0
  336. package/lib/components/base/TMDeviceProvider.js +41 -0
  337. package/lib/components/base/TMDropDownMenu.d.ts +23 -0
  338. package/lib/components/base/TMDropDownMenu.js +45 -0
  339. package/lib/components/base/TMEditorBase.d.ts +39 -0
  340. package/lib/components/base/TMEditorBase.js +1 -0
  341. package/lib/components/base/TMFileManager.d.ts +45 -0
  342. package/lib/components/base/TMFileManager.js +233 -0
  343. package/lib/components/base/TMFileManagerDataGridView.d.ts +16 -0
  344. package/lib/components/base/TMFileManagerDataGridView.js +101 -0
  345. package/lib/components/base/TMFileManagerThumbnailItems.d.ts +18 -0
  346. package/lib/components/base/TMFileManagerThumbnailItems.js +148 -0
  347. package/lib/components/base/TMFileManagerThumbnailsView.d.ts +19 -0
  348. package/lib/components/base/TMFileManagerThumbnailsView.js +46 -0
  349. package/lib/components/base/TMFileManagerUtils.d.ts +78 -0
  350. package/lib/components/base/TMFileManagerUtils.js +207 -0
  351. package/lib/components/base/TMFloatingToolbar.d.ts +9 -0
  352. package/lib/components/base/TMFloatingToolbar.js +101 -0
  353. package/lib/components/base/TMLayout.d.ts +55 -0
  354. package/lib/components/base/TMLayout.js +201 -0
  355. package/lib/components/base/TMList.d.ts +9 -0
  356. package/lib/components/base/TMList.js +54 -0
  357. package/lib/components/base/TMListView.d.ts +42 -0
  358. package/lib/components/base/TMListView.js +387 -0
  359. package/lib/components/base/TMModal.d.ts +18 -0
  360. package/lib/components/base/TMModal.js +115 -0
  361. package/lib/components/base/TMPanel.d.ts +32 -0
  362. package/lib/components/base/TMPanel.js +181 -0
  363. package/lib/components/base/TMPopUp.d.ts +33 -0
  364. package/lib/components/base/TMPopUp.js +336 -0
  365. package/lib/components/base/TMProgressBar.d.ts +11 -0
  366. package/lib/components/base/TMProgressBar.js +32 -0
  367. package/lib/components/base/TMResizableMenu.d.ts +20 -0
  368. package/lib/components/base/TMResizableMenu.js +98 -0
  369. package/lib/components/base/TMRightSidebar.d.ts +19 -0
  370. package/lib/components/base/TMRightSidebar.js +80 -0
  371. package/lib/components/base/TMShowAllOrMaxItemsButton.d.ts +8 -0
  372. package/lib/components/base/TMShowAllOrMaxItemsButton.js +20 -0
  373. package/lib/components/base/TMSpinner.d.ts +14 -0
  374. package/lib/components/base/TMSpinner.js +160 -0
  375. package/lib/components/base/TMTab.d.ts +20 -0
  376. package/lib/components/base/TMTab.js +42 -0
  377. package/lib/components/base/TMToggleButton.d.ts +10 -0
  378. package/lib/components/base/TMToggleButton.js +58 -0
  379. package/lib/components/base/TMToolbarCard.d.ts +19 -0
  380. package/lib/components/base/TMToolbarCard.js +51 -0
  381. package/lib/components/base/TMTooltip.d.ts +14 -0
  382. package/lib/components/base/TMTooltip.js +20 -0
  383. package/lib/components/base/TMTreeView.d.ts +32 -0
  384. package/lib/components/base/TMTreeView.js +356 -0
  385. package/lib/components/base/TMUserAvatar.d.ts +8 -0
  386. package/lib/components/base/TMUserAvatar.js +34 -0
  387. package/lib/components/base/TMVilViewer.d.ts +5 -0
  388. package/lib/components/base/TMVilViewer.js +22 -0
  389. package/lib/components/base/TMWaitPanel.d.ts +32 -0
  390. package/lib/components/base/TMWaitPanel.js +50 -0
  391. package/lib/components/choosers/TMCultureIDPicker.d.ts +9 -0
  392. package/lib/components/choosers/TMCultureIDPicker.js +72 -0
  393. package/lib/components/choosers/TMDataListItemChooser.d.ts +17 -0
  394. package/lib/components/choosers/TMDataListItemChooser.js +49 -0
  395. package/lib/components/choosers/TMDataListItemPicker.d.ts +9 -0
  396. package/lib/components/choosers/TMDataListItemPicker.js +96 -0
  397. package/lib/components/choosers/TMDcmtTypeChooser.d.ts +25 -0
  398. package/lib/components/choosers/TMDcmtTypeChooser.js +61 -0
  399. package/lib/components/choosers/TMDiskChooser.d.ts +10 -0
  400. package/lib/components/choosers/TMDiskChooser.js +41 -0
  401. package/lib/components/choosers/TMDistinctValues.d.ts +21 -0
  402. package/lib/components/choosers/TMDistinctValues.js +140 -0
  403. package/lib/components/choosers/TMDynDataListItemChooser.d.ts +40 -0
  404. package/lib/components/choosers/TMDynDataListItemChooser.js +160 -0
  405. package/lib/components/choosers/TMGroupChooser.d.ts +7 -0
  406. package/lib/components/choosers/TMGroupChooser.js +37 -0
  407. package/lib/components/choosers/TMInvoiceRetrieveFormats.d.ts +4 -0
  408. package/lib/components/choosers/TMInvoiceRetrieveFormats.js +22 -0
  409. package/lib/components/choosers/TMMetadataChooser.d.ts +54 -0
  410. package/lib/components/choosers/TMMetadataChooser.js +157 -0
  411. package/lib/components/choosers/TMOrderRetrieveFormats.d.ts +4 -0
  412. package/lib/components/choosers/TMOrderRetrieveFormats.js +22 -0
  413. package/lib/components/choosers/TMPathChooser.d.ts +12 -0
  414. package/lib/components/choosers/TMPathChooser.js +147 -0
  415. package/lib/components/choosers/TMRelationChooser.d.ts +31 -0
  416. package/lib/components/choosers/TMRelationChooser.js +94 -0
  417. package/lib/components/choosers/TMUserChooser.d.ts +44 -0
  418. package/lib/components/choosers/TMUserChooser.js +157 -0
  419. package/lib/components/editors/TMCheckBox.d.ts +9 -0
  420. package/lib/components/editors/TMCheckBox.js +90 -0
  421. package/lib/components/editors/TMDateBox.d.ts +17 -0
  422. package/lib/components/editors/TMDateBox.js +75 -0
  423. package/lib/components/editors/TMDropDown.d.ts +10 -0
  424. package/lib/components/editors/TMDropDown.js +62 -0
  425. package/lib/components/editors/TMEditorStyled.d.ts +41 -0
  426. package/lib/components/editors/TMEditorStyled.js +90 -0
  427. package/lib/components/editors/TMFormulaEditor.d.ts +49 -0
  428. package/lib/components/editors/TMFormulaEditor.js +727 -0
  429. package/lib/components/editors/TMHtmlContentDisplay.d.ts +7 -0
  430. package/lib/components/editors/TMHtmlContentDisplay.js +78 -0
  431. package/lib/components/editors/TMHtmlEditor.d.ts +38 -0
  432. package/lib/components/editors/TMHtmlEditor.js +203 -0
  433. package/lib/components/editors/TMLocalizedTextBox.d.ts +19 -0
  434. package/lib/components/editors/TMLocalizedTextBox.js +125 -0
  435. package/lib/components/editors/TMMetadataEditor.d.ts +29 -0
  436. package/lib/components/editors/TMMetadataEditor.js +140 -0
  437. package/lib/components/editors/TMMetadataValues.d.ts +46 -0
  438. package/lib/components/editors/TMMetadataValues.js +593 -0
  439. package/lib/components/editors/TMRadioButton.d.ts +10 -0
  440. package/lib/components/editors/TMRadioButton.js +57 -0
  441. package/lib/components/editors/TMSummary.d.ts +20 -0
  442. package/lib/components/editors/TMSummary.js +92 -0
  443. package/lib/components/editors/TMTextArea.d.ts +18 -0
  444. package/lib/components/editors/TMTextArea.js +189 -0
  445. package/lib/components/editors/TMTextBox.d.ts +20 -0
  446. package/lib/components/editors/TMTextBox.js +279 -0
  447. package/lib/components/editors/TMTextExpression.d.ts +25 -0
  448. package/lib/components/editors/TMTextExpression.js +182 -0
  449. package/lib/components/editors/TMTreeDropDown.d.ts +18 -0
  450. package/lib/components/editors/TMTreeDropDown.js +66 -0
  451. package/lib/components/features/archive/TMArchive.d.ts +29 -0
  452. package/lib/components/features/archive/TMArchive.js +193 -0
  453. package/lib/components/features/assistant/ToppyDraggableHelpCenter.d.ts +30 -0
  454. package/lib/components/features/assistant/ToppyDraggableHelpCenter.js +482 -0
  455. package/lib/components/features/assistant/ToppySpeechBubble.d.ts +9 -0
  456. package/lib/components/features/assistant/ToppySpeechBubble.js +117 -0
  457. package/lib/components/features/blog/TMBlogCommentForm.d.ts +19 -0
  458. package/lib/components/features/blog/TMBlogCommentForm.js +345 -0
  459. package/lib/components/features/documents/TMBatchUpdateForm.d.ts +17 -0
  460. package/lib/components/features/documents/TMBatchUpdateForm.js +159 -0
  461. package/lib/components/features/documents/TMDcmtBlog.d.ts +17 -0
  462. package/lib/components/features/documents/TMDcmtBlog.js +92 -0
  463. package/lib/components/features/documents/TMDcmtForm.d.ts +65 -0
  464. package/lib/components/features/documents/TMDcmtForm.js +1574 -0
  465. package/lib/components/features/documents/TMDcmtIcon.d.ts +18 -0
  466. package/lib/components/features/documents/TMDcmtIcon.js +98 -0
  467. package/lib/components/features/documents/TMDcmtPreview.d.ts +31 -0
  468. package/lib/components/features/documents/TMDcmtPreview.js +491 -0
  469. package/lib/components/features/documents/TMDcmtTasks.d.ts +13 -0
  470. package/lib/components/features/documents/TMDcmtTasks.js +24 -0
  471. package/lib/components/features/documents/TMDragDropOverlay.d.ts +6 -0
  472. package/lib/components/features/documents/TMDragDropOverlay.js +97 -0
  473. package/lib/components/features/documents/TMFileUploader.d.ts +14 -0
  474. package/lib/components/features/documents/TMFileUploader.js +115 -0
  475. package/lib/components/features/documents/TMMasterDetailDcmts.d.ts +26 -0
  476. package/lib/components/features/documents/TMMasterDetailDcmts.js +288 -0
  477. package/lib/components/features/documents/TMRelationViewer.d.ts +121 -0
  478. package/lib/components/features/documents/TMRelationViewer.js +753 -0
  479. package/lib/components/features/search/TMDcmtCheckoutInfoForm.d.ts +8 -0
  480. package/lib/components/features/search/TMDcmtCheckoutInfoForm.js +129 -0
  481. package/lib/components/features/search/TMSavedQueryForm.d.ts +9 -0
  482. package/lib/components/features/search/TMSavedQueryForm.js +41 -0
  483. package/lib/components/features/search/TMSavedQuerySelector.d.ts +16 -0
  484. package/lib/components/features/search/TMSavedQuerySelector.js +226 -0
  485. package/lib/components/features/search/TMSearch.d.ts +40 -0
  486. package/lib/components/features/search/TMSearch.js +253 -0
  487. package/lib/components/features/search/TMSearchQueryEditor.d.ts +15 -0
  488. package/lib/components/features/search/TMSearchQueryEditor.js +367 -0
  489. package/lib/components/features/search/TMSearchQueryPanel.d.ts +29 -0
  490. package/lib/components/features/search/TMSearchQueryPanel.js +437 -0
  491. package/lib/components/features/search/TMSearchResult.d.ts +53 -0
  492. package/lib/components/features/search/TMSearchResult.js +1153 -0
  493. package/lib/components/features/search/TMSearchResultFloatingActionButton.d.ts +16 -0
  494. package/lib/components/features/search/TMSearchResultFloatingActionButton.js +50 -0
  495. package/lib/components/features/search/TMSearchResultsMenuItems.d.ts +11 -0
  496. package/lib/components/features/search/TMSearchResultsMenuItems.js +714 -0
  497. package/lib/components/features/search/TMSignSettingsForm.d.ts +9 -0
  498. package/lib/components/features/search/TMSignSettingsForm.js +621 -0
  499. package/lib/components/features/search/TMTreeSelector.d.ts +12 -0
  500. package/lib/components/features/search/TMTreeSelector.js +270 -0
  501. package/lib/components/features/search/TMViewHistoryDcmt.d.ts +18 -0
  502. package/lib/components/features/search/TMViewHistoryDcmt.js +285 -0
  503. package/lib/components/features/tasks/TMTaskForm.d.ts +38 -0
  504. package/lib/components/features/tasks/TMTaskForm.js +392 -0
  505. package/lib/components/features/tasks/TMTasksAgenda.d.ts +17 -0
  506. package/lib/components/features/tasks/TMTasksAgenda.js +107 -0
  507. package/lib/components/features/tasks/TMTasksCalendar.d.ts +21 -0
  508. package/lib/components/features/tasks/TMTasksCalendar.js +240 -0
  509. package/lib/components/features/tasks/TMTasksHeader.d.ts +14 -0
  510. package/lib/components/features/tasks/TMTasksHeader.js +37 -0
  511. package/lib/components/features/tasks/TMTasksPanelContent.d.ts +20 -0
  512. package/lib/components/features/tasks/TMTasksPanelContent.js +65 -0
  513. package/lib/components/features/tasks/TMTasksUtils.d.ts +133 -0
  514. package/lib/components/features/tasks/TMTasksUtils.js +649 -0
  515. package/lib/components/features/tasks/TMTasksUtilsView.d.ts +39 -0
  516. package/lib/components/features/tasks/TMTasksUtilsView.js +140 -0
  517. package/lib/components/features/tasks/TMTasksView.d.ts +40 -0
  518. package/lib/components/features/tasks/TMTasksView.js +566 -0
  519. package/lib/components/features/wg/TMWGsCopyMoveForm.d.ts +39 -0
  520. package/lib/components/features/wg/TMWGsCopyMoveForm.js +439 -0
  521. package/lib/components/features/workflow/TMWorkflowPopup.d.ts +42 -0
  522. package/lib/components/features/workflow/TMWorkflowPopup.js +286 -0
  523. package/lib/components/features/workflow/diagram/ConnectionComponent.d.ts +14 -0
  524. package/lib/components/features/workflow/diagram/ConnectionComponent.js +90 -0
  525. package/lib/components/features/workflow/diagram/ConnectionForm.d.ts +9 -0
  526. package/lib/components/features/workflow/diagram/ConnectionForm.js +73 -0
  527. package/lib/components/features/workflow/diagram/DiagramItemComponent.d.ts +18 -0
  528. package/lib/components/features/workflow/diagram/DiagramItemComponent.js +264 -0
  529. package/lib/components/features/workflow/diagram/DiagramItemForm.d.ts +10 -0
  530. package/lib/components/features/workflow/diagram/DiagramItemForm.js +686 -0
  531. package/lib/components/features/workflow/diagram/DiagramItemSvgContent.d.ts +12 -0
  532. package/lib/components/features/workflow/diagram/DiagramItemSvgContent.js +97 -0
  533. package/lib/components/features/workflow/diagram/RecipientList.d.ts +27 -0
  534. package/lib/components/features/workflow/diagram/RecipientList.js +204 -0
  535. package/lib/components/features/workflow/diagram/WFDiagram.d.ts +9 -0
  536. package/lib/components/features/workflow/diagram/WFDiagram.js +1698 -0
  537. package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.d.ts +18 -0
  538. package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.js +97 -0
  539. package/lib/components/features/workflow/diagram/interfaces.d.ts +126 -0
  540. package/lib/components/features/workflow/diagram/interfaces.js +26 -0
  541. package/lib/components/features/workflow/diagram/metadataParser.d.ts +14 -0
  542. package/lib/components/features/workflow/diagram/metadataParser.js +54 -0
  543. package/lib/components/features/workflow/diagram/queryDescriptorParser.d.ts +3 -0
  544. package/lib/components/features/workflow/diagram/queryDescriptorParser.js +188 -0
  545. package/lib/components/features/workflow/diagram/workflowHelpers.d.ts +122 -0
  546. package/lib/components/features/workflow/diagram/workflowHelpers.js +488 -0
  547. package/lib/components/features/workflow/diagram/xmlParser.d.ts +10 -0
  548. package/lib/components/features/workflow/diagram/xmlParser.js +490 -0
  549. package/lib/components/filesystem/ProgressBar.d.ts +7 -0
  550. package/lib/components/filesystem/ProgressBar.js +25 -0
  551. package/lib/components/forms/Login/ChangePassword.d.ts +9 -0
  552. package/lib/components/forms/Login/ChangePassword.js +22 -0
  553. package/lib/components/forms/Login/ChangePasswordInputs.d.ts +14 -0
  554. package/lib/components/forms/Login/ChangePasswordInputs.js +80 -0
  555. package/lib/components/forms/Login/Chooser.d.ts +28 -0
  556. package/lib/components/forms/Login/Chooser.js +145 -0
  557. package/lib/components/forms/Login/LOGINLocalizator.d.ts +29 -0
  558. package/lib/components/forms/Login/LOGINLocalizator.js +247 -0
  559. package/lib/components/forms/Login/LoginValidatorService.d.ts +50 -0
  560. package/lib/components/forms/Login/LoginValidatorService.js +162 -0
  561. package/lib/components/forms/Login/Menu.d.ts +10 -0
  562. package/lib/components/forms/Login/Menu.js +48 -0
  563. package/lib/components/forms/Login/OTPReader.d.ts +14 -0
  564. package/lib/components/forms/Login/OTPReader.js +90 -0
  565. package/lib/components/forms/Login/PasswordStrengthChecker.d.ts +7 -0
  566. package/lib/components/forms/Login/PasswordStrengthChecker.js +45 -0
  567. package/lib/components/forms/Login/RapidAccessLogin.d.ts +25 -0
  568. package/lib/components/forms/Login/RapidAccessLogin.js +310 -0
  569. package/lib/components/forms/Login/RecoverPasswordFlow.d.ts +11 -0
  570. package/lib/components/forms/Login/RecoverPasswordFlow.js +111 -0
  571. package/lib/components/forms/Login/SelectBox.d.ts +23 -0
  572. package/lib/components/forms/Login/SelectBox.js +96 -0
  573. package/lib/components/forms/Login/StepIndicator.d.ts +7 -0
  574. package/lib/components/forms/Login/StepIndicator.js +19 -0
  575. package/lib/components/forms/Login/TMLoginForm.d.ts +44 -0
  576. package/lib/components/forms/Login/TMLoginForm.js +739 -0
  577. package/lib/components/forms/Login/TextBox.d.ts +27 -0
  578. package/lib/components/forms/Login/TextBox.js +111 -0
  579. package/lib/components/forms/TMApplyForm.d.ts +4 -0
  580. package/lib/components/forms/TMApplyForm.js +105 -0
  581. package/lib/components/forms/TMChooserForm.d.ts +3 -0
  582. package/lib/components/forms/TMChooserForm.js +94 -0
  583. package/lib/components/forms/TMResultDialog.d.ts +20 -0
  584. package/lib/components/forms/TMResultDialog.js +44 -0
  585. package/lib/components/forms/TMSaveForm.d.ts +31 -0
  586. package/lib/components/forms/TMSaveForm.js +168 -0
  587. package/lib/components/grids/TMBlogAttachments.d.ts +28 -0
  588. package/lib/components/grids/TMBlogAttachments.js +48 -0
  589. package/lib/components/grids/TMBlogHeader.d.ts +31 -0
  590. package/lib/components/grids/TMBlogHeader.js +41 -0
  591. package/lib/components/grids/TMBlogsPost.d.ts +91 -0
  592. package/lib/components/grids/TMBlogsPost.js +689 -0
  593. package/lib/components/grids/TMBlogsPostUtils.d.ts +114 -0
  594. package/lib/components/grids/TMBlogsPostUtils.js +269 -0
  595. package/lib/components/grids/TMRecentsManager.d.ts +13 -0
  596. package/lib/components/grids/TMRecentsManager.js +155 -0
  597. package/lib/components/grids/TMValidationItemsList.d.ts +6 -0
  598. package/lib/components/grids/TMValidationItemsList.js +82 -0
  599. package/lib/components/index.d.ts +116 -0
  600. package/lib/components/index.js +138 -0
  601. package/lib/components/layout/panelManager/TMPanelManagerContainer.d.ts +10 -0
  602. package/lib/components/layout/panelManager/TMPanelManagerContainer.js +215 -0
  603. package/lib/components/layout/panelManager/TMPanelManagerContext.d.ts +39 -0
  604. package/lib/components/layout/panelManager/TMPanelManagerContext.js +257 -0
  605. package/lib/components/layout/panelManager/TMPanelManagerToolbar.d.ts +11 -0
  606. package/lib/components/layout/panelManager/TMPanelManagerToolbar.js +83 -0
  607. package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.d.ts +21 -0
  608. package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.js +64 -0
  609. package/lib/components/layout/panelManager/TMPanelWrapper.d.ts +8 -0
  610. package/lib/components/layout/panelManager/TMPanelWrapper.js +59 -0
  611. package/lib/components/layout/panelManager/types.d.ts +42 -0
  612. package/lib/components/layout/panelManager/types.js +1 -0
  613. package/lib/components/layout/panelManager/utils.d.ts +21 -0
  614. package/lib/components/layout/panelManager/utils.js +208 -0
  615. package/lib/components/pages/TMPage.d.ts +38 -0
  616. package/lib/components/pages/TMPage.js +220 -0
  617. package/lib/components/query/TMQueryEditor.d.ts +58 -0
  618. package/lib/components/query/TMQueryEditor.js +1001 -0
  619. package/lib/components/query/TMQuerySummary.d.ts +16 -0
  620. package/lib/components/query/TMQuerySummary.js +35 -0
  621. package/lib/components/settings/SettingsAppearance.d.ts +14 -0
  622. package/lib/components/settings/SettingsAppearance.js +73 -0
  623. package/lib/components/sidebar/TMAboutApp.d.ts +8 -0
  624. package/lib/components/sidebar/TMAboutApp.js +14 -0
  625. package/lib/components/sidebar/TMCommandsPanel.d.ts +16 -0
  626. package/lib/components/sidebar/TMCommandsPanel.js +27 -0
  627. package/lib/components/sidebar/TMHeader.d.ts +43 -0
  628. package/lib/components/sidebar/TMHeader.js +616 -0
  629. package/lib/components/sidebar/TMSidebar.d.ts +21 -0
  630. package/lib/components/sidebar/TMSidebar.js +61 -0
  631. package/lib/components/sidebar/TMSidebarItem.d.ts +15 -0
  632. package/lib/components/sidebar/TMSidebarItem.js +39 -0
  633. package/lib/components/viewers/TMDataListItemViewer.d.ts +10 -0
  634. package/lib/components/viewers/TMDataListItemViewer.js +80 -0
  635. package/lib/components/viewers/TMMidViewer.d.ts +36 -0
  636. package/lib/components/viewers/TMMidViewer.js +128 -0
  637. package/lib/components/viewers/TMTidViewer.d.ts +256 -0
  638. package/lib/components/viewers/TMTidViewer.js +343 -0
  639. package/lib/components/wizard/TMStepIndicator.d.ts +11 -0
  640. package/lib/components/wizard/TMStepIndicator.js +165 -0
  641. package/lib/components/wizard/TMWizard.d.ts +18 -0
  642. package/lib/components/wizard/TMWizard.js +93 -0
  643. package/lib/css/tm-sdkui.css +1 -0
  644. package/lib/helper/DeepCompareHelper.d.ts +7 -0
  645. package/lib/helper/DeepCompareHelper.js +106 -0
  646. package/lib/helper/Enum_Localizator.d.ts +18 -0
  647. package/lib/helper/Enum_Localizator.js +247 -0
  648. package/lib/helper/GlobalStyles.d.ts +2 -0
  649. package/lib/helper/GlobalStyles.js +10 -0
  650. package/lib/helper/Globalization.d.ts +15 -0
  651. package/lib/helper/Globalization.js +110 -0
  652. package/lib/helper/SDKUI_Globals.d.ts +92 -0
  653. package/lib/helper/SDKUI_Globals.js +175 -0
  654. package/lib/helper/SDKUI_Localizator.d.ts +770 -0
  655. package/lib/helper/SDKUI_Localizator.js +7651 -0
  656. package/lib/helper/TMCommandsContextMenu.d.ts +14 -0
  657. package/lib/helper/TMCommandsContextMenu.js +6 -0
  658. package/lib/helper/TMConditionalWrapper.d.ts +8 -0
  659. package/lib/helper/TMConditionalWrapper.js +4 -0
  660. package/lib/helper/TMCustomSearchBar.d.ts +8 -0
  661. package/lib/helper/TMCustomSearchBar.js +54 -0
  662. package/lib/helper/TMIcons.d.ts +278 -0
  663. package/lib/helper/TMIcons.js +690 -0
  664. package/lib/helper/TMImageLibrary.d.ts +4 -0
  665. package/lib/helper/TMImageLibrary.js +466 -0
  666. package/lib/helper/TMToppyMessage.d.ts +8 -0
  667. package/lib/helper/TMToppyMessage.js +43 -0
  668. package/lib/helper/TMUtils.d.ts +69 -0
  669. package/lib/helper/TMUtils.js +435 -0
  670. package/lib/helper/checkinCheckoutManager.d.ts +84 -0
  671. package/lib/helper/checkinCheckoutManager.js +346 -0
  672. package/lib/helper/dcmtsHelper.d.ts +8 -0
  673. package/lib/helper/dcmtsHelper.js +82 -0
  674. package/lib/helper/devextremeCustomMessages.d.ts +30 -0
  675. package/lib/helper/devextremeCustomMessages.js +30 -0
  676. package/lib/helper/helpers.d.ts +91 -0
  677. package/lib/helper/helpers.js +858 -0
  678. package/lib/helper/index.d.ts +14 -0
  679. package/lib/helper/index.js +14 -0
  680. package/lib/helper/queryHelper.d.ts +19 -0
  681. package/lib/helper/queryHelper.js +365 -0
  682. package/lib/hooks/useCheckInOutOperations.d.ts +28 -0
  683. package/lib/hooks/useCheckInOutOperations.js +223 -0
  684. package/lib/hooks/useDcmtOperations.d.ts +24 -0
  685. package/lib/hooks/useDcmtOperations.js +486 -0
  686. package/lib/hooks/useForm.d.ts +24 -0
  687. package/lib/hooks/useForm.js +157 -0
  688. package/lib/hooks/useInputDialog.d.ts +9 -0
  689. package/lib/hooks/useInputDialog.js +105 -0
  690. package/lib/hooks/useOutsideClick.d.ts +2 -0
  691. package/lib/hooks/useOutsideClick.js +38 -0
  692. package/lib/hooks/usePreventFileDrop.d.ts +3 -0
  693. package/lib/hooks/usePreventFileDrop.js +37 -0
  694. package/lib/hooks/useQueryParametersDialog.d.ts +2 -0
  695. package/lib/hooks/useQueryParametersDialog.js +71 -0
  696. package/lib/hooks/useRelatedDocuments.d.ts +72 -0
  697. package/lib/hooks/useRelatedDocuments.js +664 -0
  698. package/lib/hooks/useResizeObserver.d.ts +4 -0
  699. package/lib/hooks/useResizeObserver.js +22 -0
  700. package/lib/hooks/useWorkflowApprove.d.ts +11 -0
  701. package/lib/hooks/useWorkflowApprove.js +57 -0
  702. package/lib/index.d.ts +12 -0
  703. package/lib/index.js +15 -0
  704. package/lib/services/index.d.ts +1 -0
  705. package/lib/services/index.js +1 -0
  706. package/lib/services/platform_services.d.ts +18 -0
  707. package/lib/services/platform_services.js +492 -0
  708. package/lib/ts/index.d.ts +1 -0
  709. package/lib/ts/index.js +1 -0
  710. package/lib/ts/types.d.ts +312 -0
  711. package/lib/ts/types.js +100 -0
  712. package/lib/utils/theme.d.ts +69 -0
  713. package/lib/utils/theme.js +81 -0
  714. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ import { DcmtTypeDescriptor, SearchResultDescriptor } from "@topconsultnpm/sdk-ts";
2
+ interface TMSignSettingsFormProps {
3
+ fromDTD: DcmtTypeDescriptor;
4
+ inputDcmts: any[];
5
+ onCloseSignSettingsForm: () => void;
6
+ onSavedAsyncCallback: ((tid: number | undefined, did: number | undefined, metadataResult?: SearchResultDescriptor | null) => Promise<void>);
7
+ }
8
+ declare const TMSignSettingsForm: (props: TMSignSettingsFormProps) => import("react/jsx-runtime").JSX.Element | null;
9
+ export default TMSignSettingsForm;
@@ -0,0 +1,621 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useCallback, useEffect, useMemo, useState } from "react";
3
+ import TMDropDown from "../../editors/TMDropDown";
4
+ import { calcResponsiveSizes, IconUndo, parseSignatureConfiguration, SDKUI_Localizator } from "../../../helper";
5
+ import TMTooltip from "../../base/TMTooltip";
6
+ import { SDK_Globals, UpdateEngineByID } from "@topconsultnpm/sdk-ts";
7
+ import { ButtonNames, TMExceptionBoxManager, TMMessageBoxManager } from "../../base/TMPopUp";
8
+ import TMSpinner from "../../base/TMSpinner";
9
+ import ShowAlert from "../../base/TMAlert";
10
+ import { TagBox } from "devextreme-react/tag-box";
11
+ import TMSaveForm, { TMSaveFormButtonSave, TMSaveFormButtonUndo } from "../../forms/TMSaveForm";
12
+ import TMCheckBox from "../../editors/TMCheckBox";
13
+ import TMTextBox from "../../editors/TMTextBox";
14
+ import { DeviceType, useDeviceType } from "../../base/TMDeviceProvider";
15
+ import { FormModes } from "../../../ts";
16
+ import TMToppyMessage from "../../../helper/TMToppyMessage";
17
+ const TMSignSettingsForm = (props) => {
18
+ const { fromDTD, inputDcmts, onCloseSignSettingsForm, onSavedAsyncCallback } = props;
19
+ const MODIFIED_COLOR = '#E29000';
20
+ const METADATA_FIELDS = {
21
+ SIGN_TYPE: 's4t_signtype',
22
+ EDITOR_CONFIG: 's4t_editorconfig',
23
+ INFORMATION_SIGN: 's4t_informationsign',
24
+ NAME: 's4t_name',
25
+ SURNAME: 's4t_surname',
26
+ SHARED_SIGN: 's4t_sharedsign',
27
+ MULTI_SIGNERS: 's4t_checksharedsign',
28
+ };
29
+ const defaultConfigValue = {
30
+ signType: null,
31
+ editorConfig: [],
32
+ allowDate: true,
33
+ allowSignerBy: false,
34
+ signerByValue: '',
35
+ allowLocation: false,
36
+ locationValue: SDKUI_Localizator.Torino,
37
+ allowCopyright: false,
38
+ copyrightValue: 'Sign4Top',
39
+ enableSharedSign: false,
40
+ multiSigners: [],
41
+ };
42
+ // Get the current device type (e.g., mobile, tablet, desktop) using a custom hook.
43
+ const deviceType = useDeviceType();
44
+ // This avoids unnecessary re-renders by only recalculating when deviceType changes.
45
+ let isMobile = useMemo(() => { return deviceType === DeviceType.MOBILE; }, [deviceType]);
46
+ const signTypeDataSource = [
47
+ { value: '', display: '- Non selezionato -' },
48
+ { value: 'FEQ', display: 'Firma Elettronica Qualificata' },
49
+ { value: 'FES', display: 'Firma Elettronica Semplice' },
50
+ { value: 'FES_T', display: 'Firma Elettronica Semplice Testuale' },
51
+ { value: 'FES_M', display: 'Firma Elettronica Semplice Manuale' },
52
+ { value: 'FES_C', display: 'Firma Elettronica Semplice con Immagine' },
53
+ ];
54
+ const editorConfigDataSource = [
55
+ { value: 'signature', display: SDKUI_Localizator.SignatureField },
56
+ { value: 'text', display: SDKUI_Localizator.TextField },
57
+ { value: 'line', display: SDKUI_Localizator.Line },
58
+ { value: 'mark', display: SDKUI_Localizator.Mark },
59
+ { value: 'checkmark', display: SDKUI_Localizator.Checkmark },
60
+ ];
61
+ const [currentDcmt, setCurrentDcmt] = useState(null);
62
+ const [metadataByKey, setMetadataByKey] = useState({});
63
+ const [hasFields, setHasFields] = useState({
64
+ signType: false,
65
+ editorConfig: false,
66
+ informationSign: false,
67
+ sharedSign: false,
68
+ multiSigners: false
69
+ });
70
+ const [missingFields, setMissingFields] = useState([]);
71
+ const [hasAvailableFields, setHasAvailableFields] = useState(true);
72
+ const [isLoading, setIsLoading] = useState(true);
73
+ const [modalHeight, setModalHeight] = useState(calcResponsiveSizes(deviceType, '600px', '600px', '95%'));
74
+ const [modalWidth, setModalWidth] = useState(calcResponsiveSizes(deviceType, '600px', '600px', '95%'));
75
+ // form fields
76
+ const [isModified, setIsModified] = useState(false);
77
+ const [formDataOrigin, setFormDataOrigin] = useState({
78
+ signType: defaultConfigValue.signType,
79
+ editorConfig: defaultConfigValue.editorConfig,
80
+ allowDate: defaultConfigValue.allowDate,
81
+ allowSignerBy: defaultConfigValue.allowSignerBy,
82
+ signerByValue: defaultConfigValue.signerByValue,
83
+ allowLocation: defaultConfigValue.allowLocation,
84
+ locationValue: defaultConfigValue.locationValue,
85
+ allowCopyright: defaultConfigValue.allowCopyright,
86
+ copyrightValue: defaultConfigValue.copyrightValue,
87
+ enableSharedSign: defaultConfigValue.enableSharedSign,
88
+ multiSigners: defaultConfigValue.multiSigners,
89
+ });
90
+ const [signTypeSelected, setSignTypeSelected] = useState(defaultConfigValue.signType);
91
+ const [editorConfigSelected, setEditorConfigSelected] = useState(defaultConfigValue.editorConfig);
92
+ const [enableDate, setEnableDate] = useState(defaultConfigValue.allowDate);
93
+ const [enableSignerBy, setEnableSignerBy] = useState(defaultConfigValue.allowSignerBy);
94
+ const [signerBy, setSignerBy] = useState(defaultConfigValue.signerByValue);
95
+ const [enableLocation, setEnableLocation] = useState(defaultConfigValue.allowLocation);
96
+ const [location, setLocation] = useState(defaultConfigValue.locationValue);
97
+ const [enableCopyright, setEnableCopyright] = useState(defaultConfigValue.allowCopyright);
98
+ const [copyright, setCopyright] = useState(defaultConfigValue.copyrightValue);
99
+ const [enableSharedSign, setEnableSharedSign] = useState(false);
100
+ const [multiSigners, setMultiSigners] = useState(defaultConfigValue.multiSigners);
101
+ // Inizializza i campi del form dai metadati
102
+ const initializeFormFields = async (dcmt, metadata) => {
103
+ // Simula asincronicità con breve timeout
104
+ await new Promise(resolve => setTimeout(resolve, 50));
105
+ if (!dcmt || !dcmt.DID || !metadata) {
106
+ throw new Error("Dati del documento o metadati non validi per l'inizializzazione del form");
107
+ }
108
+ ;
109
+ // Inizializza signType
110
+ const signTypeMetadata = metadata[METADATA_FIELDS.SIGN_TYPE];
111
+ const signTypeValue = signTypeMetadata?.value || defaultConfigValue.signType;
112
+ // Inizializza editorConfig
113
+ const editorConfig = metadata[METADATA_FIELDS.EDITOR_CONFIG];
114
+ const editorConfigValue = editorConfig?.value || '';
115
+ // Converti la stringa in array
116
+ let configArray = [];
117
+ if (editorConfigValue) {
118
+ const lowerValue = editorConfigValue.toLowerCase().trim();
119
+ // Gestisce i casi speciali "all", "none" e stringa vuota
120
+ if (lowerValue === 'all') {
121
+ // Seleziona tutti i valori disponibili
122
+ configArray = editorConfigDataSource.map(item => item.value);
123
+ }
124
+ else if (lowerValue === 'none' || lowerValue === '') {
125
+ // Deseleziona tutti
126
+ configArray = [];
127
+ }
128
+ else {
129
+ // Comportamento normale: split della stringa
130
+ configArray = editorConfigValue.split(',').map((item) => item.trim().toLowerCase()).filter((item) => item !== '');
131
+ }
132
+ }
133
+ // Inizializza il valore di default per signerBy
134
+ const firstName = metadata[METADATA_FIELDS.NAME] ? metadata[METADATA_FIELDS.NAME].value : null;
135
+ const lastName = metadata[METADATA_FIELDS.SURNAME] ? metadata[METADATA_FIELDS.SURNAME].value : null;
136
+ if (firstName || lastName) {
137
+ const defaultSignerBy = `${firstName ?? ""} ${lastName ?? ""}`.trim();
138
+ setSignerBy(defaultSignerBy);
139
+ }
140
+ // Inizializza information sign
141
+ const informationSign = metadata[METADATA_FIELDS.INFORMATION_SIGN];
142
+ const did = Number(dcmt.DID);
143
+ const { allowDate, allowSignerBy, signerByValue, allowLocation, locationValue, allowCopyright, copyrightValue } = parseSignatureConfiguration(did, informationSign?.value, firstName, lastName, dcmt.title);
144
+ // Inizializza shared-sign e multi-signers
145
+ const sharedSignMetadata = metadata[METADATA_FIELDS.SHARED_SIGN];
146
+ const allowSharedSign = sharedSignMetadata?.value === 'S' ? true : sharedSignMetadata?.value === 'N' ? false : defaultConfigValue.enableSharedSign;
147
+ setEnableSharedSign(allowSharedSign);
148
+ const multiSignersMetadata = metadata[METADATA_FIELDS.MULTI_SIGNERS];
149
+ const multiSignersValue = (() => {
150
+ if (!multiSignersMetadata?.value)
151
+ return defaultConfigValue.multiSigners;
152
+ if (typeof multiSignersMetadata.value === 'string') {
153
+ return multiSignersMetadata.value.split(',').map((item) => item.trim()).filter((item) => item !== '');
154
+ }
155
+ return defaultConfigValue.multiSigners;
156
+ })();
157
+ setMultiSigners(multiSignersValue);
158
+ setFormDataOrigin({
159
+ signType: signTypeValue,
160
+ editorConfig: configArray.length > 0 ? configArray : defaultConfigValue.editorConfig,
161
+ allowDate: allowDate,
162
+ allowSignerBy: allowSignerBy,
163
+ signerByValue: signerByValue,
164
+ allowLocation: allowLocation,
165
+ locationValue: locationValue,
166
+ allowCopyright: allowCopyright,
167
+ copyrightValue: copyrightValue,
168
+ enableSharedSign: allowSharedSign,
169
+ multiSigners: multiSignersValue
170
+ });
171
+ setSignTypeSelected(signTypeValue);
172
+ setEditorConfigSelected(configArray);
173
+ setEnableDate(allowDate);
174
+ setEnableSignerBy(allowSignerBy);
175
+ setSignerBy(signerByValue);
176
+ setEnableLocation(allowLocation);
177
+ setLocation(locationValue);
178
+ setEnableCopyright(allowCopyright);
179
+ setCopyright(copyrightValue);
180
+ };
181
+ useEffect(() => {
182
+ const initialize = async () => {
183
+ if (inputDcmts && inputDcmts.length > 0) {
184
+ const dcmt = inputDcmts[0];
185
+ setCurrentDcmt(dcmt);
186
+ // Verifica quali campi esistono nel DTD
187
+ const metadataNames = fromDTD?.metadata?.map(m => m.name?.toLowerCase()).filter(Boolean) || [];
188
+ const hasSignTypeField = metadataNames.includes(METADATA_FIELDS.SIGN_TYPE);
189
+ const hasEditorConfigField = metadataNames.includes(METADATA_FIELDS.EDITOR_CONFIG);
190
+ const hasInformationSignField = metadataNames.includes(METADATA_FIELDS.INFORMATION_SIGN);
191
+ const hasSharedSignField = metadataNames.includes(METADATA_FIELDS.SHARED_SIGN);
192
+ const hasMultiSignersField = metadataNames.includes(METADATA_FIELDS.MULTI_SIGNERS);
193
+ setHasFields({
194
+ signType: hasSignTypeField,
195
+ editorConfig: hasEditorConfigField,
196
+ informationSign: hasInformationSignField,
197
+ sharedSign: hasSharedSignField,
198
+ multiSigners: hasMultiSignersField
199
+ });
200
+ // Calcola i campi mancanti
201
+ const missing = [];
202
+ if (!hasSignTypeField)
203
+ missing.push(METADATA_FIELDS.SIGN_TYPE);
204
+ if (!hasEditorConfigField)
205
+ missing.push(METADATA_FIELDS.EDITOR_CONFIG);
206
+ if (!hasInformationSignField)
207
+ missing.push(METADATA_FIELDS.INFORMATION_SIGN);
208
+ if (!hasSharedSignField)
209
+ missing.push(METADATA_FIELDS.SHARED_SIGN);
210
+ if (!hasMultiSignersField)
211
+ missing.push(METADATA_FIELDS.MULTI_SIGNERS);
212
+ setMissingFields(missing);
213
+ const atLeastOneFieldExists = hasSignTypeField || hasEditorConfigField || hasInformationSignField || hasSharedSignField || hasMultiSignersField;
214
+ if (!atLeastOneFieldExists) {
215
+ setHasAvailableFields(false);
216
+ setModalHeight('auto');
217
+ setModalWidth('auto');
218
+ setIsLoading(false);
219
+ return;
220
+ }
221
+ // Carica i metadati dal documento
222
+ const metadata = {};
223
+ if (fromDTD?.metadata && dcmt) {
224
+ fromDTD.metadata.forEach((meta) => {
225
+ if (meta.id && meta.name) {
226
+ const value = dcmt[dcmt.TID + "_" + meta.id];
227
+ if (value === undefined)
228
+ return;
229
+ metadata[meta.name.toLowerCase()] = { value, mid: meta.id };
230
+ }
231
+ });
232
+ }
233
+ setMetadataByKey(metadata);
234
+ // Inizializza tutti i campi del form
235
+ if (Object.keys(metadata).length > 0) {
236
+ try {
237
+ TMSpinner.show({ description: SDKUI_Localizator.Loading });
238
+ await initializeFormFields(dcmt, metadata);
239
+ }
240
+ catch (e) {
241
+ setHasAvailableFields(false);
242
+ setModalHeight('auto');
243
+ setModalWidth('auto');
244
+ setTimeout(() => TMExceptionBoxManager.show({ exception: e }), 200);
245
+ }
246
+ finally {
247
+ TMSpinner.hide();
248
+ setIsLoading(false);
249
+ }
250
+ }
251
+ }
252
+ };
253
+ initialize();
254
+ }, [inputDcmts, fromDTD]);
255
+ const onSignTypeValueChange = (e) => {
256
+ const value = e?.target?.value;
257
+ // Se il valore è stringa vuota, imposta null, altrimenti usa il valore
258
+ setSignTypeSelected(value === '' ? null : value);
259
+ // Se il tipo di firma è FEQ, imposta sempre enableDate a true
260
+ if (value === 'FEQ') {
261
+ setEnableDate(true);
262
+ }
263
+ };
264
+ const onEditorConfigValueChange = (e) => {
265
+ const newValues = e.value || [];
266
+ setEditorConfigSelected(newValues);
267
+ };
268
+ const onMultiSignersValueChange = useCallback((e) => {
269
+ const newValues = e.value || [];
270
+ setMultiSigners(newValues);
271
+ }, []);
272
+ // Controlla se editorConfig è stato modificato
273
+ const isEditorConfigModified = () => {
274
+ if (editorConfigSelected.length !== formDataOrigin.editorConfig.length)
275
+ return true;
276
+ const sorted1 = [...editorConfigSelected].sort();
277
+ const sorted2 = [...formDataOrigin.editorConfig].sort();
278
+ return !sorted1.every((val, index) => val === sorted2[index]);
279
+ };
280
+ const isSignatureInformationModified = () => {
281
+ const dateModified = enableDate !== formDataOrigin.allowDate;
282
+ const signerByModified = enableSignerBy !== formDataOrigin.allowSignerBy || (enableSignerBy && signerBy !== formDataOrigin.signerByValue);
283
+ const locationModified = enableLocation !== formDataOrigin.allowLocation || (enableLocation && location !== formDataOrigin.locationValue);
284
+ const copyrightModified = enableCopyright !== formDataOrigin.allowCopyright || (enableCopyright && copyright !== formDataOrigin.copyrightValue);
285
+ return dateModified || signerByModified || locationModified || copyrightModified;
286
+ };
287
+ const isMultiSignersModified = () => {
288
+ if (multiSigners.length !== formDataOrigin.multiSigners.length)
289
+ return true;
290
+ const sorted1 = [...multiSigners].sort();
291
+ const sorted2 = [...formDataOrigin.multiSigners].sort();
292
+ return !sorted1.every((val, index) => val === sorted2[index]);
293
+ };
294
+ useEffect(() => {
295
+ if (signTypeSelected === undefined || isLoading)
296
+ return;
297
+ const signTypeChanged = signTypeSelected !== formDataOrigin.signType;
298
+ const sharedSignChanged = enableSharedSign !== formDataOrigin.enableSharedSign || (enableSharedSign && isMultiSignersModified());
299
+ setIsModified(signTypeChanged || isEditorConfigModified() || isSignatureInformationModified() || sharedSignChanged);
300
+ }, [signTypeSelected, isLoading, formDataOrigin, isEditorConfigModified, isSignatureInformationModified, enableSharedSign, isMultiSignersModified]);
301
+ const renderTag = (tagData) => {
302
+ const handleRemoveTag = () => {
303
+ const newValues = editorConfigSelected.filter(val => val !== tagData.value);
304
+ setEditorConfigSelected(newValues);
305
+ };
306
+ const isModified = isEditorConfigModified();
307
+ return (_jsxs("div", { style: {
308
+ background: '#f5f5f5',
309
+ border: `1px solid ${isModified ? MODIFIED_COLOR : '#d0d0d0'}`,
310
+ borderRadius: '16px',
311
+ padding: '2px 5px',
312
+ fontSize: '12px',
313
+ fontWeight: '500',
314
+ color: isModified ? MODIFIED_COLOR : '#555',
315
+ margin: '3px',
316
+ boxShadow: '0 1px 3px rgba(0, 0, 0, 0.08)',
317
+ display: 'inline-flex',
318
+ alignItems: 'center',
319
+ gap: '6px',
320
+ cursor: 'default'
321
+ }, onMouseEnter: (e) => {
322
+ e.currentTarget.style.background = '#ebebeb';
323
+ e.currentTarget.style.borderColor = isModified ? MODIFIED_COLOR : '#b8b8b8';
324
+ e.currentTarget.style.boxShadow = '0 2px 5px rgba(0, 0, 0, 0.12)';
325
+ }, onMouseLeave: (e) => {
326
+ e.currentTarget.style.background = '#f5f5f5';
327
+ e.currentTarget.style.borderColor = isModified ? MODIFIED_COLOR : '#d0d0d0';
328
+ e.currentTarget.style.boxShadow = '0 1px 3px rgba(0, 0, 0, 0.08)';
329
+ }, children: [_jsx("span", { style: { letterSpacing: '0.2px' }, children: tagData.display }), _jsx("span", { onClick: handleRemoveTag, style: {
330
+ cursor: 'pointer',
331
+ opacity: 0.5,
332
+ fontSize: '16px',
333
+ fontWeight: 'bold',
334
+ color: isModified ? MODIFIED_COLOR : '#777',
335
+ transition: 'opacity 0.2s ease'
336
+ }, onMouseEnter: (e) => { e.currentTarget.style.opacity = '0.9'; }, onMouseLeave: (e) => { e.currentTarget.style.opacity = '0.5'; }, children: "\u00D7" })] }));
337
+ };
338
+ const renderMultiSignerTag = (tagData) => {
339
+ const handleRemoveTag = () => {
340
+ const newValues = multiSigners.filter(val => val !== tagData);
341
+ setMultiSigners(newValues);
342
+ };
343
+ const isModified = isMultiSignersModified();
344
+ return (_jsxs("div", { style: {
345
+ background: '#f5f5f5',
346
+ border: `1px solid ${isModified ? MODIFIED_COLOR : '#d0d0d0'}`,
347
+ borderRadius: '16px',
348
+ padding: '2px 5px',
349
+ fontSize: '12px',
350
+ fontWeight: '500',
351
+ color: isModified ? MODIFIED_COLOR : '#555',
352
+ margin: '3px',
353
+ boxShadow: '0 1px 3px rgba(0, 0, 0, 0.08)',
354
+ display: 'inline-flex',
355
+ alignItems: 'center',
356
+ gap: '6px',
357
+ cursor: 'default'
358
+ }, onMouseEnter: (e) => {
359
+ e.currentTarget.style.background = '#ebebeb';
360
+ e.currentTarget.style.borderColor = isModified ? MODIFIED_COLOR : '#b8b8b8';
361
+ e.currentTarget.style.boxShadow = '0 2px 5px rgba(0, 0, 0, 0.12)';
362
+ }, onMouseLeave: (e) => {
363
+ e.currentTarget.style.background = '#f5f5f5';
364
+ e.currentTarget.style.borderColor = isModified ? MODIFIED_COLOR : '#d0d0d0';
365
+ e.currentTarget.style.boxShadow = '0 1px 3px rgba(0, 0, 0, 0.08)';
366
+ }, children: [_jsx("span", { style: { letterSpacing: '0.2px' }, children: tagData }), _jsx("span", { onClick: handleRemoveTag, style: {
367
+ cursor: 'pointer',
368
+ opacity: 0.5,
369
+ fontSize: '16px',
370
+ fontWeight: 'bold',
371
+ color: isModified ? MODIFIED_COLOR : '#777',
372
+ transition: 'opacity 0.2s ease'
373
+ }, onMouseEnter: (e) => { e.currentTarget.style.opacity = '0.9'; }, onMouseLeave: (e) => { e.currentTarget.style.opacity = '0.5'; }, children: _jsx("i", { className: "dx-icon-close" }) })] }));
374
+ };
375
+ const onResetSettings = () => {
376
+ setSignTypeSelected(formDataOrigin.signType);
377
+ setEditorConfigSelected(formDataOrigin.editorConfig);
378
+ setEnableDate(formDataOrigin.allowDate);
379
+ setEnableSignerBy(formDataOrigin.allowSignerBy);
380
+ setSignerBy(formDataOrigin.signerByValue);
381
+ setEnableLocation(formDataOrigin.allowLocation);
382
+ setLocation(formDataOrigin.locationValue);
383
+ setEnableCopyright(formDataOrigin.allowCopyright);
384
+ setCopyright(formDataOrigin.copyrightValue);
385
+ setEnableSharedSign(formDataOrigin.enableSharedSign);
386
+ setMultiSigners(formDataOrigin.multiSigners);
387
+ };
388
+ const onSaveSignSettings = async () => {
389
+ if (!isModified) {
390
+ return;
391
+ }
392
+ try {
393
+ TMSpinner.show({ description: 'Aggiornamento in corso...' });
394
+ if (currentDcmt && currentDcmt.TID && currentDcmt.DID) {
395
+ const ue = new UpdateEngineByID(SDK_Globals.tmSession);
396
+ ue.DID = currentDcmt.DID;
397
+ ue.TID = currentDcmt.TID;
398
+ ue.Metadata_ClearAll();
399
+ // Aggiorna signType solo se modificato
400
+ if (signTypeSelected !== formDataOrigin.signType) {
401
+ const signTypeMetadata = metadataByKey[METADATA_FIELDS.SIGN_TYPE];
402
+ const signTypeMid = signTypeMetadata?.mid;
403
+ ue.Metadata_AddString(signTypeMid, signTypeSelected ?? '');
404
+ }
405
+ // Aggiorna editorConfig solo se modificato
406
+ const editorConfigMetadata = metadataByKey[METADATA_FIELDS.EDITOR_CONFIG];
407
+ const editorConfigMid = editorConfigMetadata?.mid;
408
+ if (editorConfigMid && isEditorConfigModified()) {
409
+ const editorConfigValue = editorConfigSelected.join(',');
410
+ ue.Metadata_AddString(editorConfigMid, editorConfigValue);
411
+ }
412
+ // Aggiorna informationSign solo se modificato
413
+ if (isSignatureInformationModified()) {
414
+ const informationSignMetadata = metadataByKey[METADATA_FIELDS.INFORMATION_SIGN];
415
+ const informationSignMid = informationSignMetadata?.mid;
416
+ // Per FEQ, la Data è sempre true; per gli altri tipi, usa enableDate
417
+ const dateEnabled = signTypeSelected === 'FEQ' ? true : enableDate;
418
+ const informationSignValue = `${dateEnabled ? 'date=yes,' : 'date=no,'}${enableSignerBy ? `signerby=${signerBy},` : ''}${enableLocation ? `location=${location},` : ''}${enableCopyright ? `copyright=${copyright},` : ''}`.replace(/,$/, '');
419
+ ue.Metadata_AddString(informationSignMid, informationSignValue);
420
+ }
421
+ // Aggiorna multi-signer solo se modificato
422
+ if (enableSharedSign !== formDataOrigin.enableSharedSign || isMultiSignersModified()) {
423
+ const sharedSignMetadata = metadataByKey[METADATA_FIELDS.SHARED_SIGN];
424
+ const sharedSignMid = sharedSignMetadata?.mid;
425
+ const sharedSignValue = enableSharedSign ? 'S' : 'N';
426
+ ue.Metadata_AddString(sharedSignMid, sharedSignValue);
427
+ const multiSignersMetadata = metadataByKey[METADATA_FIELDS.MULTI_SIGNERS];
428
+ const multiSignersMid = multiSignersMetadata?.mid;
429
+ const multiSignersValue = sharedSignValue === 'N' ? '' : multiSigners.join(',');
430
+ ue.Metadata_AddString(multiSignersMid, multiSignersValue);
431
+ }
432
+ await ue.UpdateAsync();
433
+ // Tenta di ottenere i metadati aggiornati
434
+ let metadataResult = undefined;
435
+ let hasGetMetadataError = false;
436
+ try {
437
+ metadataResult = await SDK_Globals.tmSession?.NewSearchEngine().GetMetadataAsync(currentDcmt.TID, currentDcmt.DID, true);
438
+ }
439
+ catch (metadataError) {
440
+ hasGetMetadataError = true;
441
+ // Estrai ErrorCode dal campo detail se disponibile
442
+ let errorCode = undefined;
443
+ if (metadataError?.isApiException && metadataError?.response?.detail) {
444
+ try {
445
+ const detailObj = JSON.parse(metadataError.response.detail);
446
+ errorCode = detailObj?.ErrorCode;
447
+ }
448
+ catch (parseError) {
449
+ console.log("Impossibile parsare il detail dell'eccezione:", parseError);
450
+ }
451
+ }
452
+ // Se ErrorCode è -5, mostra messaggio personalizzato, altrimenti mostra l'eccezione originale
453
+ if (errorCode === -5) {
454
+ TMMessageBoxManager.show({
455
+ message: SDKUI_Localizator.DcmtOutOfView,
456
+ buttons: [ButtonNames.OK],
457
+ });
458
+ }
459
+ else {
460
+ TMExceptionBoxManager.show({ exception: metadataError });
461
+ }
462
+ // Usa null per indicare al callback che c'è stato un errore e non deve ritentare
463
+ metadataResult = null;
464
+ }
465
+ await onSavedAsyncCallback?.(currentDcmt.TID, currentDcmt.DID, metadataResult);
466
+ ShowAlert({ mode: 'success', title: SDKUI_Localizator.SignatureSettings, message: 'Le modifiche sono state salvate con successo', duration: 3000 });
467
+ onCloseSignSettingsForm();
468
+ }
469
+ }
470
+ catch (e) {
471
+ TMExceptionBoxManager.show({ exception: e });
472
+ }
473
+ finally {
474
+ TMSpinner.hide();
475
+ }
476
+ };
477
+ if (isLoading) {
478
+ return null;
479
+ }
480
+ return _jsx(TMSaveForm, { isModal: true, title: SDKUI_Localizator.SignatureSettings, width: modalWidth, height: modalHeight, isModified: isModified, showTitleFormMode: false, onClose: onCloseSignSettingsForm, onSaveAsync: onSaveSignSettings, showToolbar: false, children: !hasAvailableFields ? (_jsx(TMToppyMessage, { message: _jsxs("div", { style: {
481
+ display: 'flex',
482
+ flexDirection: 'column',
483
+ justifyContent: 'center',
484
+ alignItems: 'center',
485
+ gap: '10px',
486
+ }, children: [_jsx("div", { style: {
487
+ fontSize: '18px',
488
+ fontWeight: '600',
489
+ color: '#555',
490
+ textAlign: 'center'
491
+ }, children: "Configurazione non possibile" }), _jsx("div", { style: {
492
+ fontSize: '14px',
493
+ color: '#888',
494
+ textAlign: 'center',
495
+ lineHeight: '1.5'
496
+ }, children: "Questo tipo di documento non supporta i campi necessari per la configurazione della firma." }), _jsxs("div", { style: {
497
+ fontSize: '13px',
498
+ color: '#999',
499
+ textAlign: 'center',
500
+ }, children: [_jsx("div", { style: { marginBottom: '10px', fontWeight: '500', color: '#666' }, children: "Campi richiesti:" }), _jsx("div", { style: { display: 'flex', gap: '8px', justifyContent: 'center', flexWrap: 'wrap' }, children: missingFields.map(field => (_jsx("span", { style: {
501
+ background: '#fff3e0',
502
+ border: '1px solid #ffcc80',
503
+ borderRadius: '16px',
504
+ padding: '4px 12px',
505
+ fontSize: '11px',
506
+ fontWeight: '500',
507
+ color: '#e65100',
508
+ boxShadow: '0 1px 2px rgba(0, 0, 0, 0.08)',
509
+ letterSpacing: '0.2px'
510
+ }, children: field }, field))) })] })] }), maxWidth: "80%" })) : (_jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: '16px', padding: '6px 12px', height: '100%', width: '100%', overflow: 'auto' }, children: [missingFields.length > 0 && (_jsxs("div", { style: {
511
+ backgroundColor: '#fff5e6',
512
+ border: `1px solid ${MODIFIED_COLOR}`,
513
+ borderRadius: '4px',
514
+ padding: '8px 12px',
515
+ display: 'flex',
516
+ alignItems: 'center',
517
+ gap: '8px',
518
+ flexWrap: 'wrap'
519
+ }, children: [_jsx("i", { className: "dx-icon-warning", style: { fontSize: '18px', color: MODIFIED_COLOR } }), _jsx("span", { style: { fontSize: '13px', color: MODIFIED_COLOR, fontWeight: '500', whiteSpace: 'nowrap' }, children: "Campi mancanti:" }), missingFields.map(field => (_jsx("span", { style: {
520
+ background: '#fff',
521
+ border: `1px solid ${MODIFIED_COLOR}`,
522
+ borderRadius: '12px',
523
+ padding: '2px 8px',
524
+ fontSize: '11px',
525
+ fontWeight: '500',
526
+ color: MODIFIED_COLOR,
527
+ boxShadow: '0 1px 2px rgba(0, 0, 0, 0.05)'
528
+ }, children: field }, field)))] })), _jsx("style", { children: `
529
+ #editorConfigTagBox.dx-editor-outlined .dx-label,
530
+ #multiSignersTagBox.dx-editor-outlined .dx-label {
531
+ border-bottom-color: #e0e0e0 !important;
532
+ }
533
+ #editorConfigTagBox.dx-editor-outlined .dx-label span,
534
+ #multiSignersTagBox.dx-editor-outlined .dx-label span {
535
+ font-size: 0.9rem !important;
536
+ color: rgb(80, 80, 80) !important;
537
+ padding: 0 3px !important;
538
+ }
539
+ #editorConfigTagBox.dx-editor-outlined:hover .dx-label,
540
+ #editorConfigTagBox.dx-editor-outlined.dx-state-hover .dx-label,
541
+ #multiSignersTagBox.dx-editor-outlined:hover .dx-label,
542
+ #multiSignersTagBox.dx-editor-outlined.dx-state-hover .dx-label {
543
+ border-bottom-color: rgba(0, 0, 0, 0.87) !important;
544
+ }
545
+ #multiSignersTagBox .dx-texteditor-input-container {
546
+ align-items: center !important;
547
+ }
548
+ ` }), hasFields.signType && (_jsx(TMDropDown, { label: SDKUI_Localizator.SignatureType, value: signTypeSelected ?? '', dataSource: signTypeDataSource, onValueChanged: onSignTypeValueChange, isModifiedWhen: signTypeSelected !== formDataOrigin.signType })), hasFields.editorConfig && (_jsx(TagBox, { id: "editorConfigTagBox", name: "editorConfig", inputAttr: { id: 'editorConfigInput', name: 'editorConfigInput' }, dataSource: editorConfigDataSource, displayExpr: "display", label: SDKUI_Localizator.EditorConfiguration, labelMode: "static", valueExpr: "value", value: editorConfigSelected, onValueChanged: onEditorConfigValueChange, placeholder: "Seleziona", showSelectionControls: true, applyValueMode: "useButtons", searchEnabled: false, stylingMode: "outlined", tagRender: renderTag, acceptCustomValue: false, style: isEditorConfigModified() ? {
549
+ border: '2px solid',
550
+ borderBottom: '3px solid',
551
+ borderColor: MODIFIED_COLOR,
552
+ color: MODIFIED_COLOR
553
+ } : {
554
+ borderColor: undefined,
555
+ color: undefined
556
+ } })), hasFields.informationSign && (_jsxs("div", { style: {
557
+ position: 'relative',
558
+ border: '1px solid #d0d0d0',
559
+ borderRadius: '4px',
560
+ padding: '16px 12px 5px',
561
+ marginTop: '10px'
562
+ }, children: [_jsx("div", { style: {
563
+ position: 'absolute',
564
+ fontSize: '0.9rem',
565
+ top: '-10px',
566
+ left: '10px',
567
+ height: 'max-content',
568
+ lineHeight: 'normal',
569
+ backgroundColor: 'white',
570
+ padding: '0 3px',
571
+ color: 'rgb(80, 80, 80)',
572
+ }, children: SDKUI_Localizator.SignatureInformation }), _jsxs("div", { style: { display: 'flex', alignItems: 'flex-start', gap: '5px', minHeight: '35px' }, children: [_jsx(TMCheckBox, { label: "Abilita Data", value: signTypeSelected === 'FEQ' ? true : enableDate, disabled: signTypeSelected === 'FEQ', isModifiedWhen: signTypeSelected === 'FEQ' ? false : enableDate !== formDataOrigin.allowDate, onValueChanged: () => setEnableDate(prev => !prev) }), signTypeSelected === 'FEQ' && (_jsx(TMTooltip, { content: "La data \u00E8 obbligatoria per la Firma Elettronica Qualificata", children: _jsx("i", { className: "dx-icon-info", style: { fontSize: '18px', color: '#2196F3' } }) }))] }), signTypeSelected !== 'FEQ' && (_jsxs("div", { style: { display: 'flex', flexDirection: isMobile ? 'column' : 'row', alignItems: isMobile ? 'stretch' : 'flex-start', gap: '12px', minHeight: '35px' }, children: [_jsx("div", { style: { minWidth: isMobile ? 'auto' : '130px' }, children: _jsx(TMCheckBox, { label: "Abilita Luogo", value: enableLocation, isModifiedWhen: enableLocation !== formDataOrigin.allowLocation, onValueChanged: () => setEnableLocation(prev => !prev) }) }), enableLocation && (_jsx("div", { style: { flex: 1 }, children: _jsx(TMTextBox, { value: location, onValueChanged: (e) => setLocation(e.target.value), isModifiedWhen: location !== formDataOrigin.locationValue, buttons: [
573
+ {
574
+ icon: _jsx("div", { style: { display: 'flex', alignItems: 'center', justifyContent: 'center', width: '22px', height: '22px', borderRadius: '50%', backgroundColor: '#f0f0f0', transition: 'all 0.2s ease' }, onMouseEnter: (e) => { e.currentTarget.style.backgroundColor = '#e0e0e0'; }, onMouseLeave: (e) => { e.currentTarget.style.backgroundColor = '#f0f0f0'; }, children: _jsx(IconUndo, { fontSize: 14 }) }),
575
+ text: SDKUI_Localizator.Undo,
576
+ onClick: () => setLocation(formDataOrigin.locationValue)
577
+ },
578
+ ] }) }))] })), _jsxs("div", { style: { display: 'flex', flexDirection: isMobile ? 'column' : 'row', alignItems: isMobile ? 'stretch' : 'flex-start', gap: '12px', minHeight: '35px' }, children: [_jsx("div", { style: { minWidth: isMobile ? 'auto' : '130px' }, children: _jsx(TMCheckBox, { label: "Abilita Copyright", value: enableCopyright, isModifiedWhen: enableCopyright !== formDataOrigin.allowCopyright, onValueChanged: () => setEnableCopyright(prev => !prev) }) }), enableCopyright && (_jsx("div", { style: { flex: 1 }, children: _jsx(TMTextBox, { value: copyright, onValueChanged: (e) => setCopyright(e.target.value), isModifiedWhen: copyright !== formDataOrigin.copyrightValue, buttons: [
579
+ {
580
+ icon: _jsx("div", { style: { display: 'flex', alignItems: 'center', justifyContent: 'center', width: '22px', height: '22px', borderRadius: '50%', backgroundColor: '#f0f0f0', transition: 'all 0.2s ease' }, onMouseEnter: (e) => { e.currentTarget.style.backgroundColor = '#e0e0e0'; }, onMouseLeave: (e) => { e.currentTarget.style.backgroundColor = '#f0f0f0'; }, children: _jsx(IconUndo, { fontSize: 14 }) }),
581
+ text: SDKUI_Localizator.Undo,
582
+ onClick: () => setCopyright(formDataOrigin.copyrightValue)
583
+ },
584
+ ] }) }))] }), signTypeSelected !== 'FEQ' && (_jsxs("div", { style: { display: 'flex', flexDirection: isMobile ? 'column' : 'row', alignItems: isMobile ? 'stretch' : 'flex-start', gap: '12px', minHeight: '35px' }, children: [_jsx("div", { style: { minWidth: isMobile ? 'auto' : '130px' }, children: _jsx(TMCheckBox, { label: "Abilita 'Firmato da'", value: enableSignerBy, isModifiedWhen: enableSignerBy !== formDataOrigin.allowSignerBy, onValueChanged: () => setEnableSignerBy(prev => !prev) }) }), enableSignerBy && (_jsx("div", { style: { flex: 1 }, children: _jsx(TMTextBox, { value: signerBy, onValueChanged: (e) => setSignerBy(e.target.value), isModifiedWhen: signerBy !== formDataOrigin.signerByValue, buttons: [
585
+ {
586
+ icon: _jsx("div", { style: { display: 'flex', alignItems: 'center', justifyContent: 'center', width: '22px', height: '22px', borderRadius: '50%', backgroundColor: '#f0f0f0', transition: 'all 0.2s ease' }, onMouseEnter: (e) => { e.currentTarget.style.backgroundColor = '#e0e0e0'; }, onMouseLeave: (e) => { e.currentTarget.style.backgroundColor = '#f0f0f0'; }, children: _jsx(IconUndo, { fontSize: 14 }) }),
587
+ text: SDKUI_Localizator.Undo,
588
+ onClick: () => setSignerBy(formDataOrigin.signerByValue)
589
+ },
590
+ ] }) }))] }))] })), (hasFields.sharedSign && hasFields.multiSigners) && _jsxs("div", { style: {
591
+ position: 'relative',
592
+ border: '1px solid #d0d0d0',
593
+ borderRadius: '4px',
594
+ padding: '16px 12px 5px',
595
+ marginTop: '10px'
596
+ }, children: [_jsx("div", { style: {
597
+ position: 'absolute',
598
+ fontSize: '0.9rem',
599
+ top: '-10px',
600
+ left: '10px',
601
+ height: 'max-content',
602
+ lineHeight: 'normal',
603
+ backgroundColor: 'white',
604
+ padding: '0 3px',
605
+ color: 'rgb(80, 80, 80)',
606
+ }, children: "Configurazione Firmatari Multipli" }), _jsxs("div", { style: { display: 'flex', flexDirection: isMobile ? 'column' : 'row', alignItems: isMobile ? 'stretch' : 'flex-start', gap: '12px', minHeight: '35px' }, children: [_jsx("div", { style: { minWidth: isMobile ? 'auto' : '130px' }, children: _jsx(TMCheckBox, { label: "Abilita Firmatari Multipli", value: enableSharedSign, isModifiedWhen: enableSharedSign !== formDataOrigin.enableSharedSign, onValueChanged: () => setEnableSharedSign(prev => !prev) }) }), enableSharedSign && (_jsx("div", { style: { flex: 1 }, children: _jsx(TagBox, { id: "multiSignersTagBox", name: "multiSigners", inputAttr: { id: 'multiSignersInput', name: 'multiSignersInput' }, dataSource: multiSigners, labelMode: "static", value: multiSigners, onValueChanged: onMultiSignersValueChange, placeholder: "Inserisci firmatari", showSelectionControls: false, searchEnabled: false, stylingMode: "outlined", acceptCustomValue: true, showDropDownButton: false, openOnFieldClick: false, tagRender: renderMultiSignerTag, style: isMultiSignersModified() ? {
607
+ border: '2px solid',
608
+ borderBottom: '3px solid',
609
+ borderColor: MODIFIED_COLOR,
610
+ color: MODIFIED_COLOR
611
+ } : {
612
+ borderColor: undefined,
613
+ color: undefined
614
+ } }) }))] })] }), _jsxs("div", { style: {
615
+ display: 'flex',
616
+ justifyContent: 'center',
617
+ gap: '10px',
618
+ marginTop: '5px'
619
+ }, children: [_jsx(TMSaveFormButtonSave, { showTooltip: false, btnStyle: 'advanced', advancedColor: '#f09c0a', isModified: isModified, formMode: FormModes.Update, errorsCount: 0, onSaveAsync: onSaveSignSettings }), _jsx(TMSaveFormButtonUndo, { btnStyle: 'toolbar', showTooltip: true, color: 'primary', isModified: isModified, formMode: FormModes.Update, onUndo: onResetSettings })] })] })) });
620
+ };
621
+ export default TMSignSettingsForm;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { LayoutModes } from '@topconsultnpm/sdk-ts';
3
+ interface ITMTreeSelectorProps {
4
+ layoutMode?: LayoutModes;
5
+ isVisible?: boolean;
6
+ onSelectedTIDChanged?: (tid: number | undefined, treeId?: number | undefined) => void;
7
+ onClosePanel?: () => void;
8
+ allowMaximize?: boolean;
9
+ onMaximizePanel?: () => void;
10
+ }
11
+ declare const TMTreeSelector: React.FC<ITMTreeSelectorProps>;
12
+ export default TMTreeSelector;