@topconsultnpm/sdkui-react 6.20.0-dev1.14 → 6.20.0-dev1.15
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.
- package/package.json +1 -1
- package/lib/assets/IconsS4t/add.svg +0 -12
- package/lib/assets/IconsS4t/aggiorna.svg +0 -18
- package/lib/assets/IconsS4t/bookmark.svg +0 -42
- package/lib/assets/IconsS4t/cancella.svg +0 -15
- package/lib/assets/IconsS4t/check-box.svg +0 -19
- package/lib/assets/IconsS4t/down-arrow-signBook.svg +0 -40
- package/lib/assets/IconsS4t/down.svg +0 -28
- package/lib/assets/IconsS4t/edit-file.svg +0 -19
- package/lib/assets/IconsS4t/edita.svg +0 -32
- package/lib/assets/IconsS4t/firma.svg +0 -19
- package/lib/assets/IconsS4t/icona_download.svg +0 -16
- package/lib/assets/IconsS4t/info.svg +0 -51
- package/lib/assets/IconsS4t/left.svg +0 -20
- package/lib/assets/IconsS4t/line.svg +0 -40
- package/lib/assets/IconsS4t/more.svg +0 -19
- package/lib/assets/IconsS4t/new-signature.svg +0 -1
- package/lib/assets/IconsS4t/plus.svg +0 -23
- package/lib/assets/IconsS4t/printer.svg +0 -49
- package/lib/assets/IconsS4t/radio-on-button.svg +0 -25
- package/lib/assets/IconsS4t/rectangle.svg +0 -41
- package/lib/assets/IconsS4t/redo.svg +0 -19
- package/lib/assets/IconsS4t/right-arrow-signBook-finish.svg +0 -40
- package/lib/assets/IconsS4t/right-arrow-signBook.svg +0 -40
- package/lib/assets/IconsS4t/right.svg +0 -22
- package/lib/assets/IconsS4t/searchbar.svg +0 -21
- package/lib/assets/IconsS4t/text-box.svg +0 -36
- package/lib/assets/IconsS4t/tick.svg +0 -8
- package/lib/assets/IconsS4t/trash-white.svg +0 -11
- package/lib/assets/IconsS4t/trash.svg +0 -1
- package/lib/assets/IconsS4t/undo.svg +0 -19
- package/lib/assets/IconsS4t/up.svg +0 -32
- package/lib/assets/IconsS4t/video-streaming.svg +0 -2
- package/lib/assets/IconsS4t/zoom-in.svg +0 -58
- package/lib/assets/IconsS4t/zoom-out.svg +0 -56
- package/lib/assets/ImageLibrary/arrow_001.png +0 -0
- package/lib/assets/ImageLibrary/arrow_002.png +0 -0
- package/lib/assets/ImageLibrary/arrow_003.png +0 -0
- package/lib/assets/ImageLibrary/arrow_004.png +0 -0
- package/lib/assets/ImageLibrary/arrow_005.png +0 -0
- package/lib/assets/ImageLibrary/arrow_006.png +0 -0
- package/lib/assets/ImageLibrary/arrow_007.png +0 -0
- package/lib/assets/ImageLibrary/arrow_008.png +0 -0
- package/lib/assets/ImageLibrary/arrow_009.png +0 -0
- package/lib/assets/ImageLibrary/arrow_010.png +0 -0
- package/lib/assets/ImageLibrary/arrow_011.png +0 -0
- package/lib/assets/ImageLibrary/arrow_012.png +0 -0
- package/lib/assets/ImageLibrary/book_001.png +0 -0
- package/lib/assets/ImageLibrary/book_002.png +0 -0
- package/lib/assets/ImageLibrary/book_003.png +0 -0
- package/lib/assets/ImageLibrary/book_004.png +0 -0
- package/lib/assets/ImageLibrary/book_005.png +0 -0
- package/lib/assets/ImageLibrary/book_006.png +0 -0
- package/lib/assets/ImageLibrary/book_007.png +0 -0
- package/lib/assets/ImageLibrary/clock_001.png +0 -0
- package/lib/assets/ImageLibrary/clock_002.png +0 -0
- package/lib/assets/ImageLibrary/clock_003.png +0 -0
- package/lib/assets/ImageLibrary/cube_001.png +0 -0
- package/lib/assets/ImageLibrary/cube_002.png +0 -0
- package/lib/assets/ImageLibrary/cube_003.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_001.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_002.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_003.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_004.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_005.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_006.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_007.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_008.png +0 -0
- package/lib/assets/ImageLibrary/emoticon_001.png +0 -0
- package/lib/assets/ImageLibrary/emoticon_002.png +0 -0
- package/lib/assets/ImageLibrary/emoticon_003.png +0 -0
- package/lib/assets/ImageLibrary/emoticon_004.png +0 -0
- package/lib/assets/ImageLibrary/fld_001.png +0 -0
- package/lib/assets/ImageLibrary/fld_002.png +0 -0
- package/lib/assets/ImageLibrary/fld_003.png +0 -0
- package/lib/assets/ImageLibrary/fld_004.png +0 -0
- package/lib/assets/ImageLibrary/fld_005.png +0 -0
- package/lib/assets/ImageLibrary/fld_006.png +0 -0
- package/lib/assets/ImageLibrary/fld_007.png +0 -0
- package/lib/assets/ImageLibrary/fld_008.png +0 -0
- package/lib/assets/ImageLibrary/fld_009.png +0 -0
- package/lib/assets/ImageLibrary/fld_010.png +0 -0
- package/lib/assets/ImageLibrary/fld_011.png +0 -0
- package/lib/assets/ImageLibrary/fld_012.png +0 -0
- package/lib/assets/ImageLibrary/fld_013.png +0 -0
- package/lib/assets/ImageLibrary/fld_014.png +0 -0
- package/lib/assets/ImageLibrary/fld_015.png +0 -0
- package/lib/assets/ImageLibrary/fld_016.png +0 -0
- package/lib/assets/ImageLibrary/fld_017.png +0 -0
- package/lib/assets/ImageLibrary/fld_018.png +0 -0
- package/lib/assets/ImageLibrary/fld_019.png +0 -0
- package/lib/assets/ImageLibrary/fld_020.png +0 -0
- package/lib/assets/ImageLibrary/fld_021.png +0 -0
- package/lib/assets/ImageLibrary/fld_022.png +0 -0
- package/lib/assets/ImageLibrary/fld_023.png +0 -0
- package/lib/assets/ImageLibrary/fld_024.png +0 -0
- package/lib/assets/ImageLibrary/fld_025.png +0 -0
- package/lib/assets/ImageLibrary/fld_026.png +0 -0
- package/lib/assets/ImageLibrary/fld_027.png +0 -0
- package/lib/assets/ImageLibrary/fld_028.png +0 -0
- package/lib/assets/ImageLibrary/fld_029.png +0 -0
- package/lib/assets/ImageLibrary/fld_030.png +0 -0
- package/lib/assets/ImageLibrary/fld_031.png +0 -0
- package/lib/assets/ImageLibrary/fld_032.png +0 -0
- package/lib/assets/ImageLibrary/fld_033.png +0 -0
- package/lib/assets/ImageLibrary/gen_001.png +0 -0
- package/lib/assets/ImageLibrary/gen_002.png +0 -0
- package/lib/assets/ImageLibrary/gen_003.png +0 -0
- package/lib/assets/ImageLibrary/gen_004.png +0 -0
- package/lib/assets/ImageLibrary/gen_005.png +0 -0
- package/lib/assets/ImageLibrary/gen_006.png +0 -0
- package/lib/assets/ImageLibrary/gen_007.png +0 -0
- package/lib/assets/ImageLibrary/gen_008.png +0 -0
- package/lib/assets/ImageLibrary/gen_009.png +0 -0
- package/lib/assets/ImageLibrary/gen_010.png +0 -0
- package/lib/assets/ImageLibrary/gen_011.png +0 -0
- package/lib/assets/ImageLibrary/gen_012.png +0 -0
- package/lib/assets/ImageLibrary/gen_013.png +0 -0
- package/lib/assets/ImageLibrary/gen_014.png +0 -0
- package/lib/assets/ImageLibrary/gen_015.png +0 -0
- package/lib/assets/ImageLibrary/gen_016.png +0 -0
- package/lib/assets/ImageLibrary/gen_017.png +0 -0
- package/lib/assets/ImageLibrary/gen_018.png +0 -0
- package/lib/assets/ImageLibrary/gen_019.png +0 -0
- package/lib/assets/ImageLibrary/gen_020.png +0 -0
- package/lib/assets/ImageLibrary/gen_021.png +0 -0
- package/lib/assets/ImageLibrary/gen_022.png +0 -0
- package/lib/assets/ImageLibrary/gen_023.png +0 -0
- package/lib/assets/ImageLibrary/gen_024.png +0 -0
- package/lib/assets/ImageLibrary/gen_025.png +0 -0
- package/lib/assets/ImageLibrary/gen_026.png +0 -0
- package/lib/assets/ImageLibrary/gen_027.png +0 -0
- package/lib/assets/ImageLibrary/gen_028.png +0 -0
- package/lib/assets/ImageLibrary/gen_029.png +0 -0
- package/lib/assets/ImageLibrary/gen_030.png +0 -0
- package/lib/assets/ImageLibrary/gen_031.png +0 -0
- package/lib/assets/ImageLibrary/gen_032.png +0 -0
- package/lib/assets/ImageLibrary/gen_033.png +0 -0
- package/lib/assets/ImageLibrary/gen_034.png +0 -0
- package/lib/assets/ImageLibrary/gen_035.png +0 -0
- package/lib/assets/ImageLibrary/gen_036.png +0 -0
- package/lib/assets/ImageLibrary/gen_037.png +0 -0
- package/lib/assets/ImageLibrary/gen_038.png +0 -0
- package/lib/assets/ImageLibrary/gen_039.png +0 -0
- package/lib/assets/ImageLibrary/gen_040.png +0 -0
- package/lib/assets/ImageLibrary/gen_041.png +0 -0
- package/lib/assets/ImageLibrary/gen_042.png +0 -0
- package/lib/assets/ImageLibrary/gen_043.png +0 -0
- package/lib/assets/ImageLibrary/gen_044.png +0 -0
- package/lib/assets/ImageLibrary/gen_045.png +0 -0
- package/lib/assets/ImageLibrary/gen_046.png +0 -0
- package/lib/assets/ImageLibrary/gen_047.png +0 -0
- package/lib/assets/ImageLibrary/gen_048.png +0 -0
- package/lib/assets/ImageLibrary/gen_049.png +0 -0
- package/lib/assets/ImageLibrary/gen_050.png +0 -0
- package/lib/assets/ImageLibrary/gen_051.png +0 -0
- package/lib/assets/ImageLibrary/gen_052.png +0 -0
- package/lib/assets/ImageLibrary/hand_001.png +0 -0
- package/lib/assets/ImageLibrary/hand_002.png +0 -0
- package/lib/assets/ImageLibrary/hand_003.png +0 -0
- package/lib/assets/ImageLibrary/hand_004.png +0 -0
- package/lib/assets/ImageLibrary/hand_005.png +0 -0
- package/lib/assets/ImageLibrary/hand_006.png +0 -0
- package/lib/assets/ImageLibrary/law_001.png +0 -0
- package/lib/assets/ImageLibrary/law_002.png +0 -0
- package/lib/assets/ImageLibrary/law_003.png +0 -0
- package/lib/assets/ImageLibrary/lock_001.png +0 -0
- package/lib/assets/ImageLibrary/lock_002.png +0 -0
- package/lib/assets/ImageLibrary/lock_003.png +0 -0
- package/lib/assets/ImageLibrary/mail_001.png +0 -0
- package/lib/assets/ImageLibrary/mail_002.png +0 -0
- package/lib/assets/ImageLibrary/mail_003.png +0 -0
- package/lib/assets/ImageLibrary/mail_004.png +0 -0
- package/lib/assets/ImageLibrary/mail_005.png +0 -0
- package/lib/assets/ImageLibrary/mail_006.png +0 -0
- package/lib/assets/ImageLibrary/mail_007.png +0 -0
- package/lib/assets/ImageLibrary/mail_008.png +0 -0
- package/lib/assets/ImageLibrary/mail_009.png +0 -0
- package/lib/assets/ImageLibrary/mail_010.png +0 -0
- package/lib/assets/ImageLibrary/mail_011.png +0 -0
- package/lib/assets/ImageLibrary/mail_012.png +0 -0
- package/lib/assets/ImageLibrary/mail_013.png +0 -0
- package/lib/assets/ImageLibrary/mail_014.png +0 -0
- package/lib/assets/ImageLibrary/mail_015.png +0 -0
- package/lib/assets/ImageLibrary/net_001.png +0 -0
- package/lib/assets/ImageLibrary/net_002.png +0 -0
- package/lib/assets/ImageLibrary/net_003.png +0 -0
- package/lib/assets/ImageLibrary/net_004.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_001.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_002.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_003.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_004.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_005.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_006.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_007.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_008.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_009.png +0 -0
- package/lib/assets/ImageLibrary/note_001.png +0 -0
- package/lib/assets/ImageLibrary/note_002.png +0 -0
- package/lib/assets/ImageLibrary/note_003.png +0 -0
- package/lib/assets/ImageLibrary/note_004.png +0 -0
- package/lib/assets/ImageLibrary/note_005.png +0 -0
- package/lib/assets/ImageLibrary/note_006.png +0 -0
- package/lib/assets/ImageLibrary/note_007.png +0 -0
- package/lib/assets/ImageLibrary/note_008.png +0 -0
- package/lib/assets/ImageLibrary/note_009.png +0 -0
- package/lib/assets/ImageLibrary/note_010.png +0 -0
- package/lib/assets/ImageLibrary/note_011.png +0 -0
- package/lib/assets/ImageLibrary/note_012.png +0 -0
- package/lib/assets/ImageLibrary/note_013.png +0 -0
- package/lib/assets/ImageLibrary/note_014.png +0 -0
- package/lib/assets/ImageLibrary/note_015.png +0 -0
- package/lib/assets/ImageLibrary/note_016.png +0 -0
- package/lib/assets/ImageLibrary/run_001.png +0 -0
- package/lib/assets/ImageLibrary/run_002.png +0 -0
- package/lib/assets/ImageLibrary/run_003.png +0 -0
- package/lib/assets/ImageLibrary/sem_001.png +0 -0
- package/lib/assets/ImageLibrary/sem_002.png +0 -0
- package/lib/assets/ImageLibrary/sem_003.png +0 -0
- package/lib/assets/ImageLibrary/sem_004.png +0 -0
- package/lib/assets/ImageLibrary/sem_005.png +0 -0
- package/lib/assets/ImageLibrary/star_001.png +0 -0
- package/lib/assets/ImageLibrary/star_002.png +0 -0
- package/lib/assets/ImageLibrary/star_003.png +0 -0
- package/lib/assets/ImageLibrary/star_004.png +0 -0
- package/lib/assets/ImageLibrary/star_005.png +0 -0
- package/lib/assets/ImageLibrary/star_006.png +0 -0
- package/lib/assets/ImageLibrary/state_001.png +0 -0
- package/lib/assets/ImageLibrary/state_002.png +0 -0
- package/lib/assets/ImageLibrary/state_003.png +0 -0
- package/lib/assets/ImageLibrary/state_004.png +0 -0
- package/lib/assets/ImageLibrary/state_005.png +0 -0
- package/lib/assets/ImageLibrary/study_001.png +0 -0
- package/lib/assets/ImageLibrary/study_002.png +0 -0
- package/lib/assets/ImageLibrary/user_001.png +0 -0
- package/lib/assets/ImageLibrary/user_002.png +0 -0
- package/lib/assets/ImageLibrary/user_003.png +0 -0
- package/lib/assets/ImageLibrary/user_004.png +0 -0
- package/lib/assets/ImageLibrary/user_005.png +0 -0
- package/lib/assets/ImageLibrary/user_006.png +0 -0
- package/lib/assets/ImageLibrary/user_007.png +0 -0
- package/lib/assets/ImageLibrary/user_008.png +0 -0
- package/lib/assets/ImageLibrary/user_009.png +0 -0
- package/lib/assets/ImageLibrary/user_010.png +0 -0
- package/lib/assets/ImageLibrary/user_011.png +0 -0
- package/lib/assets/ImageLibrary/user_012.png +0 -0
- package/lib/assets/ImageLibrary/user_013.png +0 -0
- package/lib/assets/ImageLibrary/user_014.png +0 -0
- package/lib/assets/ImageLibrary/user_015.png +0 -0
- package/lib/assets/ImageLibrary/user_016.png +0 -0
- package/lib/assets/ImageLibrary/user_017.png +0 -0
- package/lib/assets/ImageLibrary/user_018.png +0 -0
- package/lib/assets/ImageLibrary/user_019.png +0 -0
- package/lib/assets/ImageLibrary/user_020.png +0 -0
- package/lib/assets/ImageLibrary/user_021.png +0 -0
- package/lib/assets/ImageLibrary/user_022.png +0 -0
- package/lib/assets/ImageLibrary/user_023.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_001.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_002.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_003.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_004.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_005.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_006.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_007.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_008.png +0 -0
- package/lib/assets/Toppy-generico.png +0 -0
- package/lib/assets/france.svg +0 -1
- package/lib/assets/german.svg +0 -1
- package/lib/assets/icomoon.eot +0 -0
- package/lib/assets/icomoon.svg +0 -97
- package/lib/assets/icomoon.ttf +0 -0
- package/lib/assets/icomoon.woff +0 -0
- package/lib/assets/italy.svg +0 -16
- package/lib/assets/loading.png +0 -0
- package/lib/assets/login-bg.png +0 -0
- package/lib/assets/multipleSelectionManager.jpg +0 -0
- package/lib/assets/portugal.svg +0 -1
- package/lib/assets/six.png +0 -0
- package/lib/assets/six.svg +0 -4
- package/lib/assets/spain.svg +0 -1
- package/lib/assets/thumbnails/dicom.png +0 -0
- package/lib/assets/thumbnails/doc.png +0 -0
- package/lib/assets/thumbnails/docx.png +0 -0
- package/lib/assets/thumbnails/dwg.png +0 -0
- package/lib/assets/thumbnails/email.png +0 -0
- package/lib/assets/thumbnails/exe.png +0 -0
- package/lib/assets/thumbnails/folder.png +0 -0
- package/lib/assets/thumbnails/html.png +0 -0
- package/lib/assets/thumbnails/image.png +0 -0
- package/lib/assets/thumbnails/index.d.ts +0 -19
- package/lib/assets/thumbnails/index.js +0 -19
- package/lib/assets/thumbnails/index.ts +0 -39
- package/lib/assets/thumbnails/mp4.png +0 -0
- package/lib/assets/thumbnails/other.png +0 -0
- package/lib/assets/thumbnails/p7m.png +0 -0
- package/lib/assets/thumbnails/pdf.png +0 -0
- package/lib/assets/thumbnails/ppt.png +0 -0
- package/lib/assets/thumbnails/slddrw.png +0 -0
- package/lib/assets/thumbnails/txt.png +0 -0
- package/lib/assets/thumbnails/xls.png +0 -0
- package/lib/assets/thumbnails/xml.png +0 -0
- package/lib/assets/thumbnails/zip.png +0 -0
- package/lib/assets/topmedia-six.svg +0 -66
- package/lib/assets/topmeida-six-bianco.svg +0 -66
- package/lib/assets/united-kingdom.svg +0 -1
- package/lib/components/NewComponents/ContextMenu/TMContextMenu.d.ts +0 -4
- package/lib/components/NewComponents/ContextMenu/TMContextMenu.js +0 -187
- package/lib/components/NewComponents/ContextMenu/hooks.d.ts +0 -11
- package/lib/components/NewComponents/ContextMenu/hooks.js +0 -48
- package/lib/components/NewComponents/ContextMenu/index.d.ts +0 -2
- package/lib/components/NewComponents/ContextMenu/index.js +0 -1
- package/lib/components/NewComponents/ContextMenu/styles.d.ts +0 -27
- package/lib/components/NewComponents/ContextMenu/styles.js +0 -308
- package/lib/components/NewComponents/ContextMenu/types.d.ts +0 -26
- package/lib/components/NewComponents/ContextMenu/types.js +0 -1
- package/lib/components/NewComponents/FloatingMenuBar/TMFloatingMenuBar.d.ts +0 -4
- package/lib/components/NewComponents/FloatingMenuBar/TMFloatingMenuBar.js +0 -370
- package/lib/components/NewComponents/FloatingMenuBar/index.d.ts +0 -2
- package/lib/components/NewComponents/FloatingMenuBar/index.js +0 -2
- package/lib/components/NewComponents/FloatingMenuBar/styles.d.ts +0 -38
- package/lib/components/NewComponents/FloatingMenuBar/styles.js +0 -267
- package/lib/components/NewComponents/FloatingMenuBar/types.d.ts +0 -30
- package/lib/components/NewComponents/FloatingMenuBar/types.js +0 -1
- package/lib/components/NewComponents/Notification/Notification.d.ts +0 -4
- package/lib/components/NewComponents/Notification/Notification.js +0 -60
- package/lib/components/NewComponents/Notification/NotificationContainer.d.ts +0 -8
- package/lib/components/NewComponents/Notification/NotificationContainer.js +0 -33
- package/lib/components/NewComponents/Notification/index.d.ts +0 -2
- package/lib/components/NewComponents/Notification/index.js +0 -2
- package/lib/components/NewComponents/Notification/styles.d.ts +0 -21
- package/lib/components/NewComponents/Notification/styles.js +0 -180
- package/lib/components/NewComponents/Notification/types.d.ts +0 -18
- package/lib/components/NewComponents/Notification/types.js +0 -1
- package/lib/components/base/Styled.d.ts +0 -63
- package/lib/components/base/Styled.js +0 -337
- package/lib/components/base/TMAccordion.d.ts +0 -12
- package/lib/components/base/TMAccordion.js +0 -62
- package/lib/components/base/TMAccordionNew.d.ts +0 -28
- package/lib/components/base/TMAccordionNew.js +0 -326
- package/lib/components/base/TMAlert.d.ts +0 -73
- package/lib/components/base/TMAlert.js +0 -77
- package/lib/components/base/TMAreaManager.d.ts +0 -25
- package/lib/components/base/TMAreaManager.js +0 -733
- package/lib/components/base/TMButton.d.ts +0 -22
- package/lib/components/base/TMButton.js +0 -174
- package/lib/components/base/TMClosableList.d.ts +0 -10
- package/lib/components/base/TMClosableList.js +0 -70
- package/lib/components/base/TMConfirm.d.ts +0 -13
- package/lib/components/base/TMConfirm.js +0 -119
- package/lib/components/base/TMContextMenu.d.ts +0 -25
- package/lib/components/base/TMContextMenu.js +0 -109
- package/lib/components/base/TMContextMenuOLD.d.ts +0 -26
- package/lib/components/base/TMContextMenuOLD.js +0 -56
- package/lib/components/base/TMCounterBar.d.ts +0 -10
- package/lib/components/base/TMCounterBar.js +0 -43
- package/lib/components/base/TMCounterContainer.d.ts +0 -23
- package/lib/components/base/TMCounterContainer.js +0 -58
- package/lib/components/base/TMCustomButton.d.ts +0 -11
- package/lib/components/base/TMCustomButton.js +0 -118
- package/lib/components/base/TMDataGrid.d.ts +0 -56
- package/lib/components/base/TMDataGrid.js +0 -237
- package/lib/components/base/TMDataGridExportForm.d.ts +0 -15
- package/lib/components/base/TMDataGridExportForm.js +0 -215
- package/lib/components/base/TMDeviceProvider.d.ts +0 -15
- package/lib/components/base/TMDeviceProvider.js +0 -41
- package/lib/components/base/TMDropDownMenu.d.ts +0 -23
- package/lib/components/base/TMDropDownMenu.js +0 -45
- package/lib/components/base/TMEditorBase.d.ts +0 -39
- package/lib/components/base/TMEditorBase.js +0 -1
- package/lib/components/base/TMFileManager.d.ts +0 -45
- package/lib/components/base/TMFileManager.js +0 -233
- package/lib/components/base/TMFileManagerDataGridView.d.ts +0 -16
- package/lib/components/base/TMFileManagerDataGridView.js +0 -101
- package/lib/components/base/TMFileManagerThumbnailItems.d.ts +0 -18
- package/lib/components/base/TMFileManagerThumbnailItems.js +0 -148
- package/lib/components/base/TMFileManagerThumbnailsView.d.ts +0 -19
- package/lib/components/base/TMFileManagerThumbnailsView.js +0 -46
- package/lib/components/base/TMFileManagerUtils.d.ts +0 -78
- package/lib/components/base/TMFileManagerUtils.js +0 -207
- package/lib/components/base/TMFloatingToolbar.d.ts +0 -9
- package/lib/components/base/TMFloatingToolbar.js +0 -101
- package/lib/components/base/TMLayout.d.ts +0 -55
- package/lib/components/base/TMLayout.js +0 -201
- package/lib/components/base/TMList.d.ts +0 -9
- package/lib/components/base/TMList.js +0 -54
- package/lib/components/base/TMListView.d.ts +0 -42
- package/lib/components/base/TMListView.js +0 -387
- package/lib/components/base/TMModal.d.ts +0 -18
- package/lib/components/base/TMModal.js +0 -115
- package/lib/components/base/TMPanel.d.ts +0 -32
- package/lib/components/base/TMPanel.js +0 -181
- package/lib/components/base/TMPopUp.d.ts +0 -33
- package/lib/components/base/TMPopUp.js +0 -336
- package/lib/components/base/TMProgressBar.d.ts +0 -11
- package/lib/components/base/TMProgressBar.js +0 -32
- package/lib/components/base/TMResizableMenu.d.ts +0 -20
- package/lib/components/base/TMResizableMenu.js +0 -98
- package/lib/components/base/TMRightSidebar.d.ts +0 -19
- package/lib/components/base/TMRightSidebar.js +0 -80
- package/lib/components/base/TMShowAllOrMaxItemsButton.d.ts +0 -8
- package/lib/components/base/TMShowAllOrMaxItemsButton.js +0 -20
- package/lib/components/base/TMSpinner.d.ts +0 -14
- package/lib/components/base/TMSpinner.js +0 -160
- package/lib/components/base/TMTab.d.ts +0 -20
- package/lib/components/base/TMTab.js +0 -42
- package/lib/components/base/TMToggleButton.d.ts +0 -10
- package/lib/components/base/TMToggleButton.js +0 -58
- package/lib/components/base/TMToolbarCard.d.ts +0 -19
- package/lib/components/base/TMToolbarCard.js +0 -51
- package/lib/components/base/TMTooltip.d.ts +0 -14
- package/lib/components/base/TMTooltip.js +0 -20
- package/lib/components/base/TMTreeView.d.ts +0 -32
- package/lib/components/base/TMTreeView.js +0 -356
- package/lib/components/base/TMUserAvatar.d.ts +0 -8
- package/lib/components/base/TMUserAvatar.js +0 -34
- package/lib/components/base/TMVilViewer.d.ts +0 -5
- package/lib/components/base/TMVilViewer.js +0 -22
- package/lib/components/base/TMWaitPanel.d.ts +0 -32
- package/lib/components/base/TMWaitPanel.js +0 -50
- package/lib/components/choosers/TMCultureIDPicker.d.ts +0 -9
- package/lib/components/choosers/TMCultureIDPicker.js +0 -72
- package/lib/components/choosers/TMDataListItemChooser.d.ts +0 -17
- package/lib/components/choosers/TMDataListItemChooser.js +0 -49
- package/lib/components/choosers/TMDataListItemPicker.d.ts +0 -9
- package/lib/components/choosers/TMDataListItemPicker.js +0 -96
- package/lib/components/choosers/TMDcmtTypeChooser.d.ts +0 -25
- package/lib/components/choosers/TMDcmtTypeChooser.js +0 -61
- package/lib/components/choosers/TMDiskChooser.d.ts +0 -10
- package/lib/components/choosers/TMDiskChooser.js +0 -41
- package/lib/components/choosers/TMDistinctValues.d.ts +0 -21
- package/lib/components/choosers/TMDistinctValues.js +0 -140
- package/lib/components/choosers/TMDynDataListItemChooser.d.ts +0 -40
- package/lib/components/choosers/TMDynDataListItemChooser.js +0 -160
- package/lib/components/choosers/TMGroupChooser.d.ts +0 -7
- package/lib/components/choosers/TMGroupChooser.js +0 -37
- package/lib/components/choosers/TMInvoiceRetrieveFormats.d.ts +0 -4
- package/lib/components/choosers/TMInvoiceRetrieveFormats.js +0 -22
- package/lib/components/choosers/TMMetadataChooser.d.ts +0 -54
- package/lib/components/choosers/TMMetadataChooser.js +0 -157
- package/lib/components/choosers/TMOrderRetrieveFormats.d.ts +0 -4
- package/lib/components/choosers/TMOrderRetrieveFormats.js +0 -22
- package/lib/components/choosers/TMPathChooser.d.ts +0 -12
- package/lib/components/choosers/TMPathChooser.js +0 -147
- package/lib/components/choosers/TMRelationChooser.d.ts +0 -31
- package/lib/components/choosers/TMRelationChooser.js +0 -94
- package/lib/components/choosers/TMUserChooser.d.ts +0 -44
- package/lib/components/choosers/TMUserChooser.js +0 -157
- package/lib/components/editors/TMCheckBox.d.ts +0 -9
- package/lib/components/editors/TMCheckBox.js +0 -90
- package/lib/components/editors/TMDateBox.d.ts +0 -17
- package/lib/components/editors/TMDateBox.js +0 -75
- package/lib/components/editors/TMDropDown.d.ts +0 -10
- package/lib/components/editors/TMDropDown.js +0 -62
- package/lib/components/editors/TMEditorStyled.d.ts +0 -41
- package/lib/components/editors/TMEditorStyled.js +0 -90
- package/lib/components/editors/TMFormulaEditor.d.ts +0 -49
- package/lib/components/editors/TMFormulaEditor.js +0 -727
- package/lib/components/editors/TMHtmlContentDisplay.d.ts +0 -7
- package/lib/components/editors/TMHtmlContentDisplay.js +0 -78
- package/lib/components/editors/TMHtmlEditor.d.ts +0 -38
- package/lib/components/editors/TMHtmlEditor.js +0 -203
- package/lib/components/editors/TMLocalizedTextBox.d.ts +0 -19
- package/lib/components/editors/TMLocalizedTextBox.js +0 -125
- package/lib/components/editors/TMMetadataEditor.d.ts +0 -29
- package/lib/components/editors/TMMetadataEditor.js +0 -140
- package/lib/components/editors/TMMetadataValues.d.ts +0 -46
- package/lib/components/editors/TMMetadataValues.js +0 -593
- package/lib/components/editors/TMRadioButton.d.ts +0 -10
- package/lib/components/editors/TMRadioButton.js +0 -57
- package/lib/components/editors/TMSummary.d.ts +0 -20
- package/lib/components/editors/TMSummary.js +0 -92
- package/lib/components/editors/TMTextArea.d.ts +0 -18
- package/lib/components/editors/TMTextArea.js +0 -189
- package/lib/components/editors/TMTextBox.d.ts +0 -20
- package/lib/components/editors/TMTextBox.js +0 -279
- package/lib/components/editors/TMTextExpression.d.ts +0 -25
- package/lib/components/editors/TMTextExpression.js +0 -182
- package/lib/components/editors/TMTreeDropDown.d.ts +0 -18
- package/lib/components/editors/TMTreeDropDown.js +0 -66
- package/lib/components/features/archive/TMArchive.d.ts +0 -29
- package/lib/components/features/archive/TMArchive.js +0 -193
- package/lib/components/features/assistant/ToppyDraggableHelpCenter.d.ts +0 -30
- package/lib/components/features/assistant/ToppyDraggableHelpCenter.js +0 -482
- package/lib/components/features/assistant/ToppySpeechBubble.d.ts +0 -9
- package/lib/components/features/assistant/ToppySpeechBubble.js +0 -117
- package/lib/components/features/blog/TMBlogCommentForm.d.ts +0 -19
- package/lib/components/features/blog/TMBlogCommentForm.js +0 -345
- package/lib/components/features/documents/TMBatchUpdateForm.d.ts +0 -17
- package/lib/components/features/documents/TMBatchUpdateForm.js +0 -159
- package/lib/components/features/documents/TMDcmtBlog.d.ts +0 -17
- package/lib/components/features/documents/TMDcmtBlog.js +0 -92
- package/lib/components/features/documents/TMDcmtForm.d.ts +0 -65
- package/lib/components/features/documents/TMDcmtForm.js +0 -1491
- package/lib/components/features/documents/TMDcmtIcon.d.ts +0 -18
- package/lib/components/features/documents/TMDcmtIcon.js +0 -98
- package/lib/components/features/documents/TMDcmtPreview.d.ts +0 -31
- package/lib/components/features/documents/TMDcmtPreview.js +0 -491
- package/lib/components/features/documents/TMDcmtTasks.d.ts +0 -13
- package/lib/components/features/documents/TMDcmtTasks.js +0 -24
- package/lib/components/features/documents/TMDragDropOverlay.d.ts +0 -6
- package/lib/components/features/documents/TMDragDropOverlay.js +0 -97
- package/lib/components/features/documents/TMFileUploader.d.ts +0 -14
- package/lib/components/features/documents/TMFileUploader.js +0 -115
- package/lib/components/features/documents/TMMasterDetailDcmts.d.ts +0 -26
- package/lib/components/features/documents/TMMasterDetailDcmts.js +0 -288
- package/lib/components/features/documents/TMRelationViewer.d.ts +0 -121
- package/lib/components/features/documents/TMRelationViewer.js +0 -753
- package/lib/components/features/search/TMSavedQueryForm.d.ts +0 -9
- package/lib/components/features/search/TMSavedQueryForm.js +0 -41
- package/lib/components/features/search/TMSavedQuerySelector.d.ts +0 -16
- package/lib/components/features/search/TMSavedQuerySelector.js +0 -226
- package/lib/components/features/search/TMSearch.d.ts +0 -40
- package/lib/components/features/search/TMSearch.js +0 -253
- package/lib/components/features/search/TMSearchQueryEditor.d.ts +0 -15
- package/lib/components/features/search/TMSearchQueryEditor.js +0 -367
- package/lib/components/features/search/TMSearchQueryPanel.d.ts +0 -29
- package/lib/components/features/search/TMSearchQueryPanel.js +0 -437
- package/lib/components/features/search/TMSearchResult.d.ts +0 -53
- package/lib/components/features/search/TMSearchResult.js +0 -1327
- package/lib/components/features/search/TMSearchResultCheckoutInfoForm.d.ts +0 -8
- package/lib/components/features/search/TMSearchResultCheckoutInfoForm.js +0 -129
- package/lib/components/features/search/TMSearchResultFloatingActionButton.d.ts +0 -16
- package/lib/components/features/search/TMSearchResultFloatingActionButton.js +0 -50
- package/lib/components/features/search/TMSearchResultsMenuItems.d.ts +0 -11
- package/lib/components/features/search/TMSearchResultsMenuItems.js +0 -714
- package/lib/components/features/search/TMSignSettingsForm.d.ts +0 -9
- package/lib/components/features/search/TMSignSettingsForm.js +0 -621
- package/lib/components/features/search/TMTreeSelector.d.ts +0 -12
- package/lib/components/features/search/TMTreeSelector.js +0 -270
- package/lib/components/features/search/TMViewHistoryDcmt.d.ts +0 -18
- package/lib/components/features/search/TMViewHistoryDcmt.js +0 -285
- package/lib/components/features/tasks/TMTaskForm.d.ts +0 -38
- package/lib/components/features/tasks/TMTaskForm.js +0 -392
- package/lib/components/features/tasks/TMTasksAgenda.d.ts +0 -17
- package/lib/components/features/tasks/TMTasksAgenda.js +0 -107
- package/lib/components/features/tasks/TMTasksCalendar.d.ts +0 -21
- package/lib/components/features/tasks/TMTasksCalendar.js +0 -240
- package/lib/components/features/tasks/TMTasksHeader.d.ts +0 -14
- package/lib/components/features/tasks/TMTasksHeader.js +0 -37
- package/lib/components/features/tasks/TMTasksPanelContent.d.ts +0 -20
- package/lib/components/features/tasks/TMTasksPanelContent.js +0 -65
- package/lib/components/features/tasks/TMTasksUtils.d.ts +0 -133
- package/lib/components/features/tasks/TMTasksUtils.js +0 -649
- package/lib/components/features/tasks/TMTasksUtilsView.d.ts +0 -39
- package/lib/components/features/tasks/TMTasksUtilsView.js +0 -140
- package/lib/components/features/tasks/TMTasksView.d.ts +0 -40
- package/lib/components/features/tasks/TMTasksView.js +0 -566
- package/lib/components/features/wg/TMWGsCopyMoveForm.d.ts +0 -39
- package/lib/components/features/wg/TMWGsCopyMoveForm.js +0 -439
- package/lib/components/features/workflow/TMWorkflowPopup.d.ts +0 -42
- package/lib/components/features/workflow/TMWorkflowPopup.js +0 -286
- package/lib/components/features/workflow/diagram/ConnectionComponent.d.ts +0 -14
- package/lib/components/features/workflow/diagram/ConnectionComponent.js +0 -90
- package/lib/components/features/workflow/diagram/ConnectionForm.d.ts +0 -9
- package/lib/components/features/workflow/diagram/ConnectionForm.js +0 -73
- package/lib/components/features/workflow/diagram/DiagramItemComponent.d.ts +0 -18
- package/lib/components/features/workflow/diagram/DiagramItemComponent.js +0 -264
- package/lib/components/features/workflow/diagram/DiagramItemForm.d.ts +0 -10
- package/lib/components/features/workflow/diagram/DiagramItemForm.js +0 -686
- package/lib/components/features/workflow/diagram/DiagramItemSvgContent.d.ts +0 -12
- package/lib/components/features/workflow/diagram/DiagramItemSvgContent.js +0 -97
- package/lib/components/features/workflow/diagram/RecipientList.d.ts +0 -27
- package/lib/components/features/workflow/diagram/RecipientList.js +0 -204
- package/lib/components/features/workflow/diagram/WFDiagram.d.ts +0 -9
- package/lib/components/features/workflow/diagram/WFDiagram.js +0 -1698
- package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.d.ts +0 -18
- package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.js +0 -97
- package/lib/components/features/workflow/diagram/interfaces.d.ts +0 -126
- package/lib/components/features/workflow/diagram/interfaces.js +0 -26
- package/lib/components/features/workflow/diagram/metadataParser.d.ts +0 -14
- package/lib/components/features/workflow/diagram/metadataParser.js +0 -54
- package/lib/components/features/workflow/diagram/queryDescriptorParser.d.ts +0 -3
- package/lib/components/features/workflow/diagram/queryDescriptorParser.js +0 -188
- package/lib/components/features/workflow/diagram/workflowHelpers.d.ts +0 -122
- package/lib/components/features/workflow/diagram/workflowHelpers.js +0 -488
- package/lib/components/features/workflow/diagram/xmlParser.d.ts +0 -10
- package/lib/components/features/workflow/diagram/xmlParser.js +0 -490
- package/lib/components/filesystem/ProgressBar.d.ts +0 -7
- package/lib/components/filesystem/ProgressBar.js +0 -25
- package/lib/components/forms/Login/ChangePassword.d.ts +0 -9
- package/lib/components/forms/Login/ChangePassword.js +0 -22
- package/lib/components/forms/Login/ChangePasswordInputs.d.ts +0 -14
- package/lib/components/forms/Login/ChangePasswordInputs.js +0 -80
- package/lib/components/forms/Login/Chooser.d.ts +0 -28
- package/lib/components/forms/Login/Chooser.js +0 -145
- package/lib/components/forms/Login/LOGINLocalizator.d.ts +0 -29
- package/lib/components/forms/Login/LOGINLocalizator.js +0 -247
- package/lib/components/forms/Login/LoginValidatorService.d.ts +0 -50
- package/lib/components/forms/Login/LoginValidatorService.js +0 -162
- package/lib/components/forms/Login/Menu.d.ts +0 -10
- package/lib/components/forms/Login/Menu.js +0 -48
- package/lib/components/forms/Login/OTPReader.d.ts +0 -14
- package/lib/components/forms/Login/OTPReader.js +0 -90
- package/lib/components/forms/Login/PasswordStrengthChecker.d.ts +0 -7
- package/lib/components/forms/Login/PasswordStrengthChecker.js +0 -45
- package/lib/components/forms/Login/RapidAccessLogin.d.ts +0 -25
- package/lib/components/forms/Login/RapidAccessLogin.js +0 -310
- package/lib/components/forms/Login/RecoverPasswordFlow.d.ts +0 -11
- package/lib/components/forms/Login/RecoverPasswordFlow.js +0 -111
- package/lib/components/forms/Login/SelectBox.d.ts +0 -23
- package/lib/components/forms/Login/SelectBox.js +0 -96
- package/lib/components/forms/Login/StepIndicator.d.ts +0 -7
- package/lib/components/forms/Login/StepIndicator.js +0 -19
- package/lib/components/forms/Login/TMLoginForm.d.ts +0 -44
- package/lib/components/forms/Login/TMLoginForm.js +0 -737
- package/lib/components/forms/Login/TextBox.d.ts +0 -27
- package/lib/components/forms/Login/TextBox.js +0 -111
- package/lib/components/forms/TMApplyForm.d.ts +0 -4
- package/lib/components/forms/TMApplyForm.js +0 -105
- package/lib/components/forms/TMChooserForm.d.ts +0 -3
- package/lib/components/forms/TMChooserForm.js +0 -94
- package/lib/components/forms/TMResultDialog.d.ts +0 -20
- package/lib/components/forms/TMResultDialog.js +0 -44
- package/lib/components/forms/TMSaveForm.d.ts +0 -31
- package/lib/components/forms/TMSaveForm.js +0 -168
- package/lib/components/grids/TMBlogAttachments.d.ts +0 -28
- package/lib/components/grids/TMBlogAttachments.js +0 -48
- package/lib/components/grids/TMBlogHeader.d.ts +0 -31
- package/lib/components/grids/TMBlogHeader.js +0 -41
- package/lib/components/grids/TMBlogsPost.d.ts +0 -91
- package/lib/components/grids/TMBlogsPost.js +0 -689
- package/lib/components/grids/TMBlogsPostUtils.d.ts +0 -114
- package/lib/components/grids/TMBlogsPostUtils.js +0 -269
- package/lib/components/grids/TMRecentsManager.d.ts +0 -13
- package/lib/components/grids/TMRecentsManager.js +0 -155
- package/lib/components/grids/TMValidationItemsList.d.ts +0 -6
- package/lib/components/grids/TMValidationItemsList.js +0 -82
- package/lib/components/index.d.ts +0 -116
- package/lib/components/index.js +0 -138
- package/lib/components/layout/panelManager/TMPanelManagerContainer.d.ts +0 -10
- package/lib/components/layout/panelManager/TMPanelManagerContainer.js +0 -215
- package/lib/components/layout/panelManager/TMPanelManagerContext.d.ts +0 -39
- package/lib/components/layout/panelManager/TMPanelManagerContext.js +0 -257
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.d.ts +0 -11
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.js +0 -83
- package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.d.ts +0 -21
- package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.js +0 -64
- package/lib/components/layout/panelManager/TMPanelWrapper.d.ts +0 -8
- package/lib/components/layout/panelManager/TMPanelWrapper.js +0 -59
- package/lib/components/layout/panelManager/types.d.ts +0 -42
- package/lib/components/layout/panelManager/types.js +0 -1
- package/lib/components/layout/panelManager/utils.d.ts +0 -21
- package/lib/components/layout/panelManager/utils.js +0 -208
- package/lib/components/pages/TMPage.d.ts +0 -38
- package/lib/components/pages/TMPage.js +0 -220
- package/lib/components/query/TMQueryEditor.d.ts +0 -58
- package/lib/components/query/TMQueryEditor.js +0 -1001
- package/lib/components/query/TMQuerySummary.d.ts +0 -16
- package/lib/components/query/TMQuerySummary.js +0 -35
- package/lib/components/settings/SettingsAppearance.d.ts +0 -14
- package/lib/components/settings/SettingsAppearance.js +0 -73
- package/lib/components/sidebar/TMAboutApp.d.ts +0 -8
- package/lib/components/sidebar/TMAboutApp.js +0 -14
- package/lib/components/sidebar/TMCommandsPanel.d.ts +0 -16
- package/lib/components/sidebar/TMCommandsPanel.js +0 -27
- package/lib/components/sidebar/TMHeader.d.ts +0 -43
- package/lib/components/sidebar/TMHeader.js +0 -616
- package/lib/components/sidebar/TMSidebar.d.ts +0 -21
- package/lib/components/sidebar/TMSidebar.js +0 -61
- package/lib/components/sidebar/TMSidebarItem.d.ts +0 -15
- package/lib/components/sidebar/TMSidebarItem.js +0 -39
- package/lib/components/viewers/TMDataListItemViewer.d.ts +0 -10
- package/lib/components/viewers/TMDataListItemViewer.js +0 -80
- package/lib/components/viewers/TMMidViewer.d.ts +0 -36
- package/lib/components/viewers/TMMidViewer.js +0 -128
- package/lib/components/viewers/TMTidViewer.d.ts +0 -256
- package/lib/components/viewers/TMTidViewer.js +0 -343
- package/lib/components/wizard/TMStepIndicator.d.ts +0 -11
- package/lib/components/wizard/TMStepIndicator.js +0 -165
- package/lib/components/wizard/TMWizard.d.ts +0 -18
- package/lib/components/wizard/TMWizard.js +0 -93
- package/lib/css/tm-sdkui.css +0 -1
- package/lib/helper/DeepCompareHelper.d.ts +0 -7
- package/lib/helper/DeepCompareHelper.js +0 -106
- package/lib/helper/Enum_Localizator.d.ts +0 -18
- package/lib/helper/Enum_Localizator.js +0 -247
- package/lib/helper/GlobalStyles.d.ts +0 -2
- package/lib/helper/GlobalStyles.js +0 -10
- package/lib/helper/Globalization.d.ts +0 -15
- package/lib/helper/Globalization.js +0 -110
- package/lib/helper/SDKUI_Globals.d.ts +0 -92
- package/lib/helper/SDKUI_Globals.js +0 -175
- package/lib/helper/SDKUI_Localizator.d.ts +0 -769
- package/lib/helper/SDKUI_Localizator.js +0 -7641
- package/lib/helper/TMCommandsContextMenu.d.ts +0 -14
- package/lib/helper/TMCommandsContextMenu.js +0 -6
- package/lib/helper/TMConditionalWrapper.d.ts +0 -8
- package/lib/helper/TMConditionalWrapper.js +0 -4
- package/lib/helper/TMCustomSearchBar.d.ts +0 -8
- package/lib/helper/TMCustomSearchBar.js +0 -54
- package/lib/helper/TMIcons.d.ts +0 -278
- package/lib/helper/TMIcons.js +0 -690
- package/lib/helper/TMImageLibrary.d.ts +0 -4
- package/lib/helper/TMImageLibrary.js +0 -466
- package/lib/helper/TMToppyMessage.d.ts +0 -8
- package/lib/helper/TMToppyMessage.js +0 -43
- package/lib/helper/TMUtils.d.ts +0 -69
- package/lib/helper/TMUtils.js +0 -435
- package/lib/helper/checkinCheckoutManager.d.ts +0 -55
- package/lib/helper/checkinCheckoutManager.js +0 -266
- package/lib/helper/dcmtsHelper.d.ts +0 -8
- package/lib/helper/dcmtsHelper.js +0 -82
- package/lib/helper/helpers.d.ts +0 -91
- package/lib/helper/helpers.js +0 -852
- package/lib/helper/index.d.ts +0 -14
- package/lib/helper/index.js +0 -14
- package/lib/helper/queryHelper.d.ts +0 -19
- package/lib/helper/queryHelper.js +0 -348
- package/lib/hooks/useDcmtOperations.d.ts +0 -24
- package/lib/hooks/useDcmtOperations.js +0 -486
- package/lib/hooks/useForm.d.ts +0 -24
- package/lib/hooks/useForm.js +0 -157
- package/lib/hooks/useInputDialog.d.ts +0 -9
- package/lib/hooks/useInputDialog.js +0 -105
- package/lib/hooks/useOutsideClick.d.ts +0 -2
- package/lib/hooks/useOutsideClick.js +0 -38
- package/lib/hooks/usePreventFileDrop.d.ts +0 -3
- package/lib/hooks/usePreventFileDrop.js +0 -37
- package/lib/hooks/useQueryParametersDialog.d.ts +0 -2
- package/lib/hooks/useQueryParametersDialog.js +0 -71
- package/lib/hooks/useRelatedDocuments.d.ts +0 -72
- package/lib/hooks/useRelatedDocuments.js +0 -664
- package/lib/hooks/useResizeObserver.d.ts +0 -4
- package/lib/hooks/useResizeObserver.js +0 -22
- package/lib/hooks/useWorkflowApprove.d.ts +0 -11
- package/lib/hooks/useWorkflowApprove.js +0 -57
- package/lib/index.d.ts +0 -12
- package/lib/index.js +0 -15
- package/lib/services/index.d.ts +0 -1
- package/lib/services/index.js +0 -1
- package/lib/services/platform_services.d.ts +0 -18
- package/lib/services/platform_services.js +0 -492
- package/lib/ts/index.d.ts +0 -1
- package/lib/ts/index.js +0 -1
- package/lib/ts/types.d.ts +0 -312
- package/lib/ts/types.js +0 -100
- package/lib/utils/theme.d.ts +0 -69
- package/lib/utils/theme.js +0 -81
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useEffect, useRef } from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { StyledEditor, StyledEditorContainer, StyledEditorIcon, StyledEditorLabel, editorColorManager } from './TMEditorStyled';
|
|
5
|
-
import { FontSize, TMColors } from '../../utils/theme';
|
|
6
|
-
import { genUniqueId, IconClearButton, IconDataList, IconHide, IconShow, SDKUI_Localizator } from '../../helper';
|
|
7
|
-
import ShowAlert from '../base/TMAlert';
|
|
8
|
-
import { TMExceptionBoxManager } from '../base/TMPopUp';
|
|
9
|
-
import TMLayoutContainer, { TMLayoutItem } from '../base/TMLayout';
|
|
10
|
-
import TMVilViewer from '../base/TMVilViewer';
|
|
11
|
-
import TMTooltip from '../base/TMTooltip';
|
|
12
|
-
import { ContextMenu } from 'devextreme-react';
|
|
13
|
-
import { DeviceType, useDeviceType } from '../base/TMDeviceProvider';
|
|
14
|
-
import TMChooserForm from '../forms/TMChooserForm';
|
|
15
|
-
import { FormulaItemHelper } from './TMTextExpression';
|
|
16
|
-
const StyledShowPasswordIcon = styled.div `
|
|
17
|
-
color: ${props => !props.$disabled ? (props.$vil.length === 0) ? !props.$isModified ? TMColors.text_normal : TMColors.isModified : editorColorManager(props.$vil) : TMColors.disabled};
|
|
18
|
-
position: absolute;
|
|
19
|
-
right: 10px;
|
|
20
|
-
font-size: 18px;
|
|
21
|
-
transform: translateY(-25px);
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
`;
|
|
24
|
-
const StyledTextBoxEditorButton = styled.div `
|
|
25
|
-
color: ${TMColors.button_icon};
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
position: relative;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
&:focus{
|
|
31
|
-
outline: none;
|
|
32
|
-
background-image: linear-gradient(white, #E4E9F7);
|
|
33
|
-
border-bottom: 2px solid;
|
|
34
|
-
border-bottom-color: ${TMColors.primary};
|
|
35
|
-
}
|
|
36
|
-
`;
|
|
37
|
-
const TMTextBox = ({ autoFocus, maxLength, labelColor, precision, fromModal = false, scale, showClearButton, validationItems = [], label = '', readOnly = false, formulaItems = [], buttons = [], isModifiedWhen, placeHolder, elementStyle, width = '100%', maxValue, minValue, fontSize = FontSize.defaultFontSize, icon, labelPosition = 'left', value, disabled = false, type = 'text', onValueChanged, onBlur, borderRadius, allowedPattern }) => {
|
|
38
|
-
const [initialType, setInitialType] = useState(type);
|
|
39
|
-
const [currentType, setCurrentType] = useState(type);
|
|
40
|
-
const [currentValue, setCurrentValue] = useState(value);
|
|
41
|
-
const [formulaMenuItems, setFormulaMenuItems] = useState([]);
|
|
42
|
-
const [showFormulaItemsChooser, setShowFormulaItemsChooser] = useState(false);
|
|
43
|
-
const [isFocused, setIsFocused] = useState(false);
|
|
44
|
-
const inputRef = useRef(null);
|
|
45
|
-
const deviceType = useDeviceType();
|
|
46
|
-
const [id, setID] = useState('');
|
|
47
|
-
useEffect(() => { setID(genUniqueId()); }, []);
|
|
48
|
-
useEffect(() => { setCurrentType(type); setInitialType(type); }, [type]);
|
|
49
|
-
useEffect(() => { setCurrentValue(value); }, [value]);
|
|
50
|
-
useEffect(() => {
|
|
51
|
-
if (initialType === 'password' && !value) {
|
|
52
|
-
setCurrentType('password');
|
|
53
|
-
}
|
|
54
|
-
}, [value]);
|
|
55
|
-
useEffect(() => {
|
|
56
|
-
if (currentType === 'number') {
|
|
57
|
-
if (currentValue) {
|
|
58
|
-
const numericValue = parseFloat(currentValue);
|
|
59
|
-
// Check maxValue
|
|
60
|
-
if (maxValue !== undefined && numericValue > maxValue) {
|
|
61
|
-
setCurrentValue(maxValue.toString());
|
|
62
|
-
ShowAlert({
|
|
63
|
-
mode: 'warning',
|
|
64
|
-
message: SDKUI_Localizator.Max_Value.replaceParams(maxValue.toString()),
|
|
65
|
-
duration: 3000,
|
|
66
|
-
title: SDKUI_Localizator.Warning,
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
// Check minValue
|
|
70
|
-
if (minValue !== undefined && numericValue < minValue) {
|
|
71
|
-
setCurrentValue(minValue.toString());
|
|
72
|
-
ShowAlert({
|
|
73
|
-
mode: 'warning',
|
|
74
|
-
message: SDKUI_Localizator.Min_Value.replaceParams(minValue.toString()),
|
|
75
|
-
duration: 3000,
|
|
76
|
-
title: SDKUI_Localizator.Warning,
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}, [maxValue, minValue, currentValue, currentType]);
|
|
82
|
-
// Handle autofocus behavior on mount
|
|
83
|
-
useEffect(() => {
|
|
84
|
-
if (autoFocus && inputRef.current) {
|
|
85
|
-
if (fromModal) // utilizzato per i textBox derivanti da una Modal che non riescono a utilizzare l'autofocus
|
|
86
|
-
setTimeout(() => {
|
|
87
|
-
inputRef.current && inputRef.current.focus(); // Focus the input field
|
|
88
|
-
}, 100);
|
|
89
|
-
else
|
|
90
|
-
inputRef.current.focus(); // Focus the input field
|
|
91
|
-
}
|
|
92
|
-
}, [autoFocus]); // This effect runs when the autoFocus prop changes
|
|
93
|
-
useEffect(() => {
|
|
94
|
-
if (formulaItems && formulaItems.length > 0) {
|
|
95
|
-
let menuItems = [];
|
|
96
|
-
for (const formula of formulaItems) {
|
|
97
|
-
menuItems.push({ text: formula });
|
|
98
|
-
}
|
|
99
|
-
setFormulaMenuItems(menuItems);
|
|
100
|
-
}
|
|
101
|
-
}, [formulaItems]);
|
|
102
|
-
const showPasswordIcon = () => {
|
|
103
|
-
if (initialType === 'secureText' && currentType === 'secureText')
|
|
104
|
-
return _jsx(IconShow, {});
|
|
105
|
-
if (initialType === 'secureText' && currentType === 'text')
|
|
106
|
-
return _jsx(IconHide, {});
|
|
107
|
-
if (initialType === 'password' && currentType === 'password') {
|
|
108
|
-
return _jsx(IconShow, {});
|
|
109
|
-
}
|
|
110
|
-
else if (initialType === 'password' && currentType === 'text') {
|
|
111
|
-
return _jsx(IconHide, {});
|
|
112
|
-
}
|
|
113
|
-
else {
|
|
114
|
-
return _jsx(_Fragment, {});
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
const toggleShowPassword = () => {
|
|
118
|
-
if (initialType === 'secureText') {
|
|
119
|
-
setCurrentType(currentType === 'secureText' ? 'text' : 'secureText');
|
|
120
|
-
}
|
|
121
|
-
else if (initialType === 'password') {
|
|
122
|
-
setCurrentType(currentType === 'password' ? 'text' : 'password');
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
const insertText = (textToInsert) => {
|
|
126
|
-
if (inputRef?.current == null)
|
|
127
|
-
return;
|
|
128
|
-
try {
|
|
129
|
-
let cursorposition = inputRef.current?.selectionStart;
|
|
130
|
-
let textbeforecursorposition = inputRef.current?.value.substring(0, cursorposition);
|
|
131
|
-
let textaftercursorposition = inputRef.current?.value.substring(cursorposition, inputRef.current?.value.length);
|
|
132
|
-
let newValue = textbeforecursorposition + textToInsert + textaftercursorposition;
|
|
133
|
-
inputRef.current.value = newValue;
|
|
134
|
-
onValueChanged?.({ target: { value: newValue } });
|
|
135
|
-
onBlur?.(newValue);
|
|
136
|
-
inputRef.current.focus();
|
|
137
|
-
inputRef.current.selectionStart = inputRef.current.selectionEnd = cursorposition + textToInsert.length;
|
|
138
|
-
}
|
|
139
|
-
catch (e) {
|
|
140
|
-
TMExceptionBoxManager.show({ exception: e });
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
const getMaxValue = (curValue) => {
|
|
144
|
-
if (maxValue)
|
|
145
|
-
return maxValue;
|
|
146
|
-
if (precision || scale)
|
|
147
|
-
return Number("9".repeat((precision ?? 0) - (scale ?? 0)) + '.' + "9".repeat(scale ?? 0));
|
|
148
|
-
return Number(curValue);
|
|
149
|
-
};
|
|
150
|
-
const handleInputChange = (e) => {
|
|
151
|
-
let inputValue = e.target.value;
|
|
152
|
-
// Validazione generica con RegEx
|
|
153
|
-
if (allowedPattern) {
|
|
154
|
-
// Soluzione 1: Confronto diretto (preferibile per un singolo carattere)
|
|
155
|
-
// const allowedChar = allowedPattern.source.replace(/\\(.)/g, '$1'); // Estrae il carattere dalla RegEx (es. '\(' -> '(')
|
|
156
|
-
// inputValue = inputValue.split('').filter(char => char === allowedChar).join('');
|
|
157
|
-
// Soluzione 2: Creare una nuova istanza di RegExp ad ogni iterazione (meno efficiente ma funziona per pattern più complessi)
|
|
158
|
-
inputValue = inputValue.split('').filter(char => new RegExp(allowedPattern).test(char)).join('');
|
|
159
|
-
}
|
|
160
|
-
// se è mascherato (secureText) → l’utente non può digitare "•"
|
|
161
|
-
if (currentType === 'secureText') {
|
|
162
|
-
// Mantieni currentValue reale senza bullet
|
|
163
|
-
if (inputRef.current) {
|
|
164
|
-
const realValueLength = currentValue.length;
|
|
165
|
-
const newLength = inputValue.length;
|
|
166
|
-
if (newLength < realValueLength) {
|
|
167
|
-
// Delete o backspace
|
|
168
|
-
inputValue = currentValue.slice(0, newLength);
|
|
169
|
-
}
|
|
170
|
-
else {
|
|
171
|
-
// Nuovi caratteri
|
|
172
|
-
const addedText = inputValue.slice(realValueLength);
|
|
173
|
-
inputValue = currentValue + addedText;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
if (currentType === 'number') {
|
|
178
|
-
let number = Number(inputValue);
|
|
179
|
-
let max = getMaxValue(inputValue);
|
|
180
|
-
// Check maxValue
|
|
181
|
-
if (number > max) {
|
|
182
|
-
ShowAlert({
|
|
183
|
-
mode: 'warning',
|
|
184
|
-
message: `Max value is ${max}`,
|
|
185
|
-
duration: 3000,
|
|
186
|
-
title: SDKUI_Localizator.Warning,
|
|
187
|
-
});
|
|
188
|
-
// Non aggiornare lo stato con il valore non valido
|
|
189
|
-
return;
|
|
190
|
-
}
|
|
191
|
-
// Check minValue
|
|
192
|
-
if (minValue && number < minValue) {
|
|
193
|
-
ShowAlert({
|
|
194
|
-
mode: 'warning',
|
|
195
|
-
message: `Min value is ${minValue}`,
|
|
196
|
-
duration: 3000,
|
|
197
|
-
title: SDKUI_Localizator.Warning,
|
|
198
|
-
});
|
|
199
|
-
// Non aggiornare lo stato con il valore non valido
|
|
200
|
-
return;
|
|
201
|
-
}
|
|
202
|
-
let decimalSeparatorIndex = number
|
|
203
|
-
.toString()
|
|
204
|
-
.indexOf('.');
|
|
205
|
-
if (!scale && decimalSeparatorIndex >= 0) {
|
|
206
|
-
// Se non ci sono decimali consentiti e l'utente ne inserisce uno, non aggiornare
|
|
207
|
-
return;
|
|
208
|
-
}
|
|
209
|
-
// Controllo lunghezza decimali
|
|
210
|
-
if (scale) {
|
|
211
|
-
if (decimalSeparatorIndex >= 0) {
|
|
212
|
-
let result = Number(number
|
|
213
|
-
.toString()
|
|
214
|
-
.substring(decimalSeparatorIndex + 1));
|
|
215
|
-
if (result > Number('9'.repeat(scale ?? 0))) {
|
|
216
|
-
// Se i decimali superano la scala consentita, non aggiornare
|
|
217
|
-
return;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
setCurrentValue(inputValue);
|
|
223
|
-
onValueChanged?.({ target: { value: inputValue } }); // Passa il valore filtrato
|
|
224
|
-
};
|
|
225
|
-
function getFormulaDataSorce() {
|
|
226
|
-
let fiarray = [];
|
|
227
|
-
if (!formulaItems)
|
|
228
|
-
return [];
|
|
229
|
-
let i = 0;
|
|
230
|
-
for (const f of formulaItems) {
|
|
231
|
-
let fi = new FormulaItemHelper();
|
|
232
|
-
fi.id = i;
|
|
233
|
-
fi.paramName = f;
|
|
234
|
-
fiarray.push(fi);
|
|
235
|
-
i++;
|
|
236
|
-
}
|
|
237
|
-
return fiarray;
|
|
238
|
-
}
|
|
239
|
-
const openFormulaItemsChooser = () => {
|
|
240
|
-
return (showFormulaItemsChooser ?
|
|
241
|
-
_jsx(TMChooserForm, { title: SDKUI_Localizator.Parameters, height: '350', width: '300', hasShowId: false, showDefaultColumns: false, allowMultipleSelection: true, columns: [
|
|
242
|
-
{ dataField: 'paramName', caption: SDKUI_Localizator.Name, dataType: 'string', sortOrder: 'asc', alignment: 'left' }
|
|
243
|
-
], dataSource: getFormulaDataSorce(), onClose: () => { setShowFormulaItemsChooser(false); }, onChoose: (IDs) => {
|
|
244
|
-
let expr = value?.toString() ?? '';
|
|
245
|
-
IDs.map(i => expr += formulaItems[i]);
|
|
246
|
-
onValueChanged?.({ target: { value: expr } });
|
|
247
|
-
} }) : _jsx(_Fragment, {}));
|
|
248
|
-
};
|
|
249
|
-
const renderInputField = () => {
|
|
250
|
-
const bulletEntity = '\u2022'; // •
|
|
251
|
-
const displayedValue = initialType === 'secureText'
|
|
252
|
-
? (currentType === 'secureText'
|
|
253
|
-
? bulletEntity.repeat(currentValue?.length ?? 0)
|
|
254
|
-
: currentValue ?? '')
|
|
255
|
-
: currentValue ?? '';
|
|
256
|
-
return (_jsxs("div", { style: { width: '100%', height: 'fit-content' }, id: `text-${id}`, children: [_jsx(StyledEditor, { ref: inputRef, id: `text-${label}-${id}`, name: label, autoFocus: autoFocus, readOnly: readOnly, type: currentType, disabled: disabled, value: displayedValue, width: width || '100%', placeholder: placeHolder, maxLength: maxLength, autoComplete: 'off', spellCheck: false, onFocus: () => setIsFocused(true), onBlur: (e) => { setIsFocused(false); if (currentValue != value)
|
|
257
|
-
onBlur?.(currentValue); }, onChange: handleInputChange, onKeyDown: (e) => {
|
|
258
|
-
if (currentType === 'number') {
|
|
259
|
-
if (!scale && (e.key == "." || e.key == ","))
|
|
260
|
-
e.preventDefault();
|
|
261
|
-
}
|
|
262
|
-
}, "$isMobile": deviceType === DeviceType.MOBILE, "$disabled": disabled, "$vil": validationItems, "$isModified": isModifiedWhen, "$fontSize": fontSize, "$maxValue": maxValue, "$width": width, "$type": currentType, "$borderRadius": borderRadius }), (initialType === 'password' || initialType === 'secureText') && _jsx(StyledShowPasswordIcon, { onClick: toggleShowPassword, "$disabled": disabled, "$vil": validationItems, "$isModified": isModifiedWhen, children: showPasswordIcon() }), initialType !== 'password' &&
|
|
263
|
-
_jsxs("div", { style: { display: 'flex', flexDirection: 'row', justifyContent: 'flex-start', alignItems: 'center', position: 'absolute', right: type === 'number' ? '25px' : '6px', top: label.length > 0 ? '20px' : '3px', pointerEvents: disabled ? 'none' : 'auto', opacity: disabled ? 0.4 : 1 }, children: [formulaItems.length > 0 &&
|
|
264
|
-
_jsx(StyledTextBoxEditorButton, { onClick: () => {
|
|
265
|
-
setShowFormulaItemsChooser(true);
|
|
266
|
-
}, children: _jsx(IconDataList, {}) }), showClearButton && currentValue &&
|
|
267
|
-
_jsx(StyledTextBoxEditorButton, { onClick: () => {
|
|
268
|
-
onValueChanged?.({ target: { value: undefined } });
|
|
269
|
-
onBlur?.(undefined);
|
|
270
|
-
}, children: _jsx(IconClearButton, {}) }), buttons.map((buttonItem, index) => {
|
|
271
|
-
return (_jsx(StyledTextBoxEditorButton, { onClick: buttonItem.onClick, children: _jsx(TMTooltip, { content: buttonItem.text, children: buttonItem.icon }) }, buttonItem.text));
|
|
272
|
-
})] }), openFormulaItemsChooser(), formulaItems.length > 0 && (_jsx(ContextMenu, { dataSource: formulaMenuItems, target: `#text-${id}`, onItemClick: (e) => { insertText(e.itemData?.text ?? ''); } })), _jsx(TMVilViewer, { vil: validationItems })] }));
|
|
273
|
-
};
|
|
274
|
-
const renderedLeftLabelTextBox = () => {
|
|
275
|
-
return (_jsxs(TMLayoutContainer, { direction: 'horizontal', children: [icon && _jsx(TMLayoutItem, { width: '20px', children: _jsx(StyledEditorIcon, { "$disabled": disabled, "$vil": validationItems, "$isModified": isModifiedWhen, children: icon }) }), _jsx(TMLayoutItem, { children: _jsxs(StyledEditorContainer, { "$width": width, children: [label && _jsx(StyledEditorLabel, { "$color": labelColor, "$isFocused": isFocused, "$labelPosition": labelPosition, "$disabled": disabled, children: label }), renderInputField()] }) })] }));
|
|
276
|
-
};
|
|
277
|
-
return (_jsx("div", { style: elementStyle, children: renderedLeftLabelTextBox() }));
|
|
278
|
-
};
|
|
279
|
-
export default TMTextBox;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { QueryDescriptor, ValidationItem } from '@topconsultnpm/sdk-ts';
|
|
3
|
-
import { ITMEditorBase } from '../base/TMEditorBase';
|
|
4
|
-
interface ITMTextExpression extends ITMEditorBase {
|
|
5
|
-
value: string | undefined;
|
|
6
|
-
valueOrig: string | undefined;
|
|
7
|
-
qd?: QueryDescriptor;
|
|
8
|
-
tid?: number;
|
|
9
|
-
formulaItems?: string[];
|
|
10
|
-
label?: string;
|
|
11
|
-
titleChooser?: string;
|
|
12
|
-
captionColumnChooser?: string;
|
|
13
|
-
higthChooser?: string;
|
|
14
|
-
widthChooser?: string;
|
|
15
|
-
disableMultipleSelection?: boolean;
|
|
16
|
-
validationItems?: ValidationItem[];
|
|
17
|
-
rows?: number;
|
|
18
|
-
onValueChanged?: (newText: string | undefined) => void;
|
|
19
|
-
}
|
|
20
|
-
declare const TMTextExpression: React.FunctionComponent<ITMTextExpression>;
|
|
21
|
-
export declare class FormulaItemHelper {
|
|
22
|
-
id: number;
|
|
23
|
-
paramName: string;
|
|
24
|
-
}
|
|
25
|
-
export default TMTextExpression;
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect, useMemo, useState } from 'react';
|
|
3
|
-
import { DcmtTypeListCacheService } from '@topconsultnpm/sdk-ts';
|
|
4
|
-
import { IconClear, IconColumns, SDKUI_Localizator, stringIsNullOrEmpty } from '../../helper';
|
|
5
|
-
import { TMExceptionBoxManager } from '../base/TMPopUp';
|
|
6
|
-
import { TMMetadataChooserForm } from '../choosers/TMMetadataChooser';
|
|
7
|
-
import TMTextBox from './TMTextBox';
|
|
8
|
-
import TMTextArea from './TMTextArea';
|
|
9
|
-
const TMTextExpression = (props) => {
|
|
10
|
-
const [metadatas_Info_Source, setMetadatas_Info_Source] = useState([]);
|
|
11
|
-
const [showMetadataChooser, setShowMetadataChooser] = useState(false);
|
|
12
|
-
const [showFormulaChooser, setShowFormulaChooser] = useState(false);
|
|
13
|
-
useEffect(() => { MetadataInfos_Source_Get_Async(); }, [props.qd]);
|
|
14
|
-
useEffect(() => { MetadataInfos_Source_GetByTID_Async(); }, [props.tid]);
|
|
15
|
-
async function MetadataInfos_Source_Get_Async() {
|
|
16
|
-
if (!props.qd?.select)
|
|
17
|
-
return;
|
|
18
|
-
let mhs_source = [];
|
|
19
|
-
try {
|
|
20
|
-
let dtd_source;
|
|
21
|
-
let md_source;
|
|
22
|
-
let tid_source = -1;
|
|
23
|
-
let si;
|
|
24
|
-
let sis = props.qd?.select?.slice();
|
|
25
|
-
sis = sis.slice().sort((a, b) => a.tid - b.tid);
|
|
26
|
-
for (si of sis) {
|
|
27
|
-
if (si.tid == undefined || si.mid == undefined)
|
|
28
|
-
continue;
|
|
29
|
-
if (tid_source != si.tid) {
|
|
30
|
-
dtd_source = await DcmtTypeListCacheService.GetAsync(si.tid, true);
|
|
31
|
-
if (dtd_source == undefined)
|
|
32
|
-
continue;
|
|
33
|
-
tid_source = si.tid;
|
|
34
|
-
}
|
|
35
|
-
if (dtd_source?.metadata == undefined)
|
|
36
|
-
continue;
|
|
37
|
-
md_source = dtd_source.metadata.find(o => o.id == si.mid);
|
|
38
|
-
if (md_source?.name == undefined)
|
|
39
|
-
continue;
|
|
40
|
-
if (tid_source == undefined)
|
|
41
|
-
continue;
|
|
42
|
-
mhs_source.push(new MetatadaHelper(si.mid, md_source.name));
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
catch (e) {
|
|
46
|
-
TMExceptionBoxManager.show({ exception: e, title: 'MetadataInfos_Source_Get_Async' });
|
|
47
|
-
}
|
|
48
|
-
setMetadatas_Info_Source(mhs_source);
|
|
49
|
-
}
|
|
50
|
-
async function MetadataInfos_Source_GetByTID_Async() {
|
|
51
|
-
if (!props.tid)
|
|
52
|
-
return;
|
|
53
|
-
let mhs_source = [];
|
|
54
|
-
try {
|
|
55
|
-
let dtd_source = await DcmtTypeListCacheService.GetAsync(props.tid, true);
|
|
56
|
-
if (dtd_source == undefined)
|
|
57
|
-
return;
|
|
58
|
-
if (dtd_source?.metadata == undefined)
|
|
59
|
-
return;
|
|
60
|
-
for (let md_source of dtd_source?.metadata) {
|
|
61
|
-
if (md_source?.name == undefined)
|
|
62
|
-
continue;
|
|
63
|
-
if (md_source?.id == undefined)
|
|
64
|
-
continue;
|
|
65
|
-
mhs_source.push(new MetatadaHelper(md_source.id, md_source.name));
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
catch (e) {
|
|
69
|
-
TMExceptionBoxManager.show({ exception: e, title: 'MetadataInfos_Source_GetByTID_Async' });
|
|
70
|
-
}
|
|
71
|
-
setMetadatas_Info_Source(mhs_source);
|
|
72
|
-
}
|
|
73
|
-
function Expression_IDs2Names(expression) {
|
|
74
|
-
if (expression == undefined)
|
|
75
|
-
return expression;
|
|
76
|
-
let temp = expression.slice();
|
|
77
|
-
let mh;
|
|
78
|
-
for (mh of metadatas_Info_Source) {
|
|
79
|
-
temp = temp.replaceAll(`{@${mh.Mid}}`, `{@${mh.MetadataName}}`);
|
|
80
|
-
}
|
|
81
|
-
temp = temp.replaceAll("{@1}", "{@DID}");
|
|
82
|
-
return temp;
|
|
83
|
-
}
|
|
84
|
-
function Expression_Names2IDs(expression) {
|
|
85
|
-
if (expression == undefined)
|
|
86
|
-
return expression;
|
|
87
|
-
let temp = expression.slice();
|
|
88
|
-
let mh;
|
|
89
|
-
for (mh of metadatas_Info_Source)
|
|
90
|
-
temp = temp.replaceAll(`{@${mh.MetadataName}}`, `{@${mh.Mid}}`);
|
|
91
|
-
temp = temp.replaceAll("{@DID}", "{@1}");
|
|
92
|
-
return temp;
|
|
93
|
-
}
|
|
94
|
-
const renderButtons = () => {
|
|
95
|
-
let buttons = [];
|
|
96
|
-
if (props.qd || props.tid)
|
|
97
|
-
buttons.push({ icon: _jsx(IconColumns, {}), text: SDKUI_Localizator.MetadataReferenceInsert, onClick: () => { setShowMetadataChooser(true); } });
|
|
98
|
-
// if (props.formulaItems && props.formulaItems.length > 0) buttons.push({ icon: <IconDataList />, text: SDKUI_Localizator.Parameters, onClick: () => setShowFormulaChooser(true) })
|
|
99
|
-
buttons.push({ icon: _jsx(IconClear, {}), text: SDKUI_Localizator.Clear, onClick: () => props.onValueChanged?.('') });
|
|
100
|
-
return buttons;
|
|
101
|
-
};
|
|
102
|
-
function mdList(tids_mids) {
|
|
103
|
-
let output = props.value ?? '';
|
|
104
|
-
if (tids_mids == undefined)
|
|
105
|
-
return output;
|
|
106
|
-
let isAll = (tids_mids.length == props.qd?.select?.length);
|
|
107
|
-
if (isAll)
|
|
108
|
-
output = '';
|
|
109
|
-
for (let si of tids_mids) {
|
|
110
|
-
if (si.tid == undefined)
|
|
111
|
-
continue;
|
|
112
|
-
if (si.mid == undefined)
|
|
113
|
-
continue;
|
|
114
|
-
if (stringIsNullOrEmpty(output))
|
|
115
|
-
output = `{@${si.mid}}`;
|
|
116
|
-
else
|
|
117
|
-
output += (isAll ? '_' : '') + `{@${si.mid}}`;
|
|
118
|
-
}
|
|
119
|
-
return output;
|
|
120
|
-
}
|
|
121
|
-
// function getFormulaDataSorce() {
|
|
122
|
-
// let fiarray: FormulaItemHelper[] = []
|
|
123
|
-
// if (!props.formulaItems) return []
|
|
124
|
-
// let i: number = 0;
|
|
125
|
-
// for (const f of props.formulaItems!) {
|
|
126
|
-
// let fi = new FormulaItemHelper();
|
|
127
|
-
// fi.id = i; fi.paramName = f;
|
|
128
|
-
// fiarray.push(fi);
|
|
129
|
-
// i++;
|
|
130
|
-
// }
|
|
131
|
-
// return fiarray;
|
|
132
|
-
// }
|
|
133
|
-
const openMetadataChooseForm = () => {
|
|
134
|
-
return (showMetadataChooser ?
|
|
135
|
-
_jsx(TMMetadataChooserForm, { allowMultipleSelection: true, qd: props.qd, tids: props.tid ? [props.tid] : undefined, qdShowOnlySelectItems: true, allowSysMetadata: true, onClose: () => setShowMetadataChooser(false), onChoose: (tid_mid) => {
|
|
136
|
-
let list = mdList(tid_mid);
|
|
137
|
-
props.onValueChanged?.(list);
|
|
138
|
-
} }) : _jsx(_Fragment, {}));
|
|
139
|
-
};
|
|
140
|
-
const dataColumns = useMemo(() => {
|
|
141
|
-
return [
|
|
142
|
-
{ dataField: 'paramName', caption: props.captionColumnChooser ?? SDKUI_Localizator.Name, dataType: 'string', sortOrder: 'asc', alignment: 'left' }
|
|
143
|
-
];
|
|
144
|
-
}, []);
|
|
145
|
-
// const openFormulaChooseForm = () => {
|
|
146
|
-
// return (showFormulaChooser ?
|
|
147
|
-
// <TMChooserForm
|
|
148
|
-
// title={props.titleChooser ?? SDKUI_Localizator.Parameters}
|
|
149
|
-
// height={props.higthChooser ?? '350'}
|
|
150
|
-
// width={props.widthChooser ?? '300'}
|
|
151
|
-
// hasShowId={false}
|
|
152
|
-
// showDefaultColumns={false}
|
|
153
|
-
// allowMultipleSelection={props.disableMultipleSelection !== true}
|
|
154
|
-
// columns={dataColumns}
|
|
155
|
-
// dataSource={getFormulaDataSorce()}
|
|
156
|
-
// onClose={() => { setShowFormulaChooser(false); }}
|
|
157
|
-
// onChoose={(IDs: number[]) => {
|
|
158
|
-
// let expr: string = props.value ?? '';
|
|
159
|
-
// IDs.map(i => expr += props.formulaItems![i]);
|
|
160
|
-
// props.onValueChanged?.(expr)
|
|
161
|
-
// }}
|
|
162
|
-
// /> : <></>
|
|
163
|
-
// )
|
|
164
|
-
// }
|
|
165
|
-
return (_jsxs(_Fragment, { children: [props.rows === undefined ?
|
|
166
|
-
_jsx(TMTextBox, { buttons: renderButtons(), formulaItems: props.formulaItems, isModifiedWhen: props.value != props.valueOrig, label: props.label, value: Expression_IDs2Names(props.value) ?? '', validationItems: props.validationItems, onValueChanged: (e) => { props.onValueChanged?.(Expression_Names2IDs(e.target.value)); } })
|
|
167
|
-
:
|
|
168
|
-
_jsx(TMTextArea, { buttons: renderButtons(), formulaItems: props.formulaItems, isModifiedWhen: props.value != props.valueOrig, label: props.label, rows: props.rows, resize: false, placeHolder: props.placeHolder, value: Expression_IDs2Names(props.value) ?? '', validationItems: props.validationItems, onValueChanged: (e) => { props.onValueChanged?.(Expression_Names2IDs(e.target.value)); } }), openMetadataChooseForm(), " "] }));
|
|
169
|
-
};
|
|
170
|
-
class MetatadaHelper {
|
|
171
|
-
constructor(mid, metadataName) {
|
|
172
|
-
this.Mid = mid;
|
|
173
|
-
this.MetadataName = metadataName;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
export class FormulaItemHelper {
|
|
177
|
-
constructor() {
|
|
178
|
-
this.id = 0;
|
|
179
|
-
this.paramName = '';
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
export default TMTextExpression;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
interface TMTreeDropDownProps {
|
|
3
|
-
dataSource: Array<{
|
|
4
|
-
id: number;
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
categoryId?: number;
|
|
8
|
-
expanded?: boolean;
|
|
9
|
-
tooltipContent?: ReactNode;
|
|
10
|
-
}>;
|
|
11
|
-
values: Array<number>;
|
|
12
|
-
setValues: React.Dispatch<React.SetStateAction<Array<number>>>;
|
|
13
|
-
displayExpr: boolean;
|
|
14
|
-
isValidKey?: (key: number) => boolean;
|
|
15
|
-
elementStyle?: React.CSSProperties;
|
|
16
|
-
}
|
|
17
|
-
declare const TMTreeDropDown: (props: TMTreeDropDownProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export default TMTreeDropDown;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback, useRef } from 'react';
|
|
3
|
-
import DropDownBox from 'devextreme-react/drop-down-box';
|
|
4
|
-
import TreeView from 'devextreme-react/tree-view';
|
|
5
|
-
import { SDKUI_Localizator } from '../../helper';
|
|
6
|
-
import TMTooltip from '../base/TMTooltip';
|
|
7
|
-
import { SDK_Localizator } from '@topconsultnpm/sdk-ts';
|
|
8
|
-
// The TMTreeDropDown functional component
|
|
9
|
-
const TMTreeDropDown = (props) => {
|
|
10
|
-
// Destructure props for easy access
|
|
11
|
-
const { dataSource, values, setValues, displayExpr, isValidKey, elementStyle } = props;
|
|
12
|
-
// Reference to the TreeView component for programmatic control
|
|
13
|
-
const treeViewRef = useRef(null);
|
|
14
|
-
// Helper function to get a comma-separated string of labels for the selected IDs
|
|
15
|
-
const getLabelsByIds = (ids, outputFormat) => {
|
|
16
|
-
if (ids.length === 0)
|
|
17
|
-
return _jsx("p", { children: SDKUI_Localizator.SelectDesiredFilters });
|
|
18
|
-
const filteredLabels = dataSource.filter(item => ids.includes(item.id));
|
|
19
|
-
if (outputFormat === 'text') {
|
|
20
|
-
const labels = filteredLabels.map(item => item.label).join(', ');
|
|
21
|
-
return _jsx("p", { children: labels });
|
|
22
|
-
}
|
|
23
|
-
return (_jsx("div", { style: { textAlign: 'left' }, children: filteredLabels.map(item => (_jsx("p", { children: item.label }, item.id))) }));
|
|
24
|
-
};
|
|
25
|
-
// Synchronizes the selection in the TreeView when the dropdown value changes
|
|
26
|
-
const syncTreeViewSelection = useCallback((e) => {
|
|
27
|
-
setTimeout(() => {
|
|
28
|
-
const treeView = (e.component.selectItem && e.component) || (treeViewRef.current && treeViewRef.current.instance());
|
|
29
|
-
if (treeView) {
|
|
30
|
-
// If the value is null, unselect all items in the tree view
|
|
31
|
-
if (e.value === null) {
|
|
32
|
-
treeView.unselectAll();
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
// Otherwise, select the items corresponding to the selected values
|
|
36
|
-
const treeValues = e.value || values;
|
|
37
|
-
treeValues && treeValues.forEach((value) => { treeView.selectItem(value); });
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
// Update the selected values in the state if the event contains a value
|
|
41
|
-
if (e.value !== undefined) {
|
|
42
|
-
setValues(e.value);
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
}, [values]); // Dependency on 'values' state to update selection
|
|
46
|
-
// Event handler for when item selection changes in the TreeView
|
|
47
|
-
const treeViewItemSelectionChanged = useCallback((e) => {
|
|
48
|
-
// Get the selected node keys (IDs) from the TreeView
|
|
49
|
-
const selectedKeys = e.component.getSelectedNodeKeys();
|
|
50
|
-
let filteredKeys = selectedKeys;
|
|
51
|
-
if (isValidKey)
|
|
52
|
-
filteredKeys = selectedKeys.filter(isValidKey); // If a validation function is provided, filter the selected keys
|
|
53
|
-
setValues(filteredKeys);
|
|
54
|
-
}, []);
|
|
55
|
-
const displayValueFormatter = useCallback((value) => {
|
|
56
|
-
if (displayExpr)
|
|
57
|
-
return value.toString();
|
|
58
|
-
return SDK_Localizator.Filters + " (" + value.length + " " + SDKUI_Localizator.Applied + ")";
|
|
59
|
-
}, []);
|
|
60
|
-
const renderTreeViewItem = (item) => {
|
|
61
|
-
// Customize how tree view items are rendered with a tooltip
|
|
62
|
-
return (item.tooltipContent ? _jsx(TMTooltip, { content: item.tooltipContent, children: item.label }) : item.label);
|
|
63
|
-
};
|
|
64
|
-
return _jsx(TMTooltip, { content: getLabelsByIds(values, 'formatted'), children: _jsx(DropDownBox, { style: { minWidth: "230px", ...(elementStyle || {}), ...(elementStyle?.minWidth ? {} : { width: "230px" }) }, valueExpr: "id", displayExpr: "label", displayValueFormatter: displayValueFormatter, value: values, dataSource: dataSource, placeholder: SDKUI_Localizator.SelectDesiredFilters, onContentReady: syncTreeViewSelection, focusStateEnabled: true, contentRender: () => _jsx(TreeView, { ref: treeViewRef, keyExpr: "id", dataSource: dataSource, selectByClick: true, selectNodesRecursive: true, selectionMode: "multiple", displayExpr: "label", parentIdExpr: "categoryId", dataStructure: "plain", showCheckBoxesMode: "normal", onContentReady: syncTreeViewSelection, onItemSelectionChanged: (e) => treeViewItemSelectionChanged(e), itemRender: renderTreeViewItem }) }) });
|
|
65
|
-
};
|
|
66
|
-
export default TMTreeDropDown;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { HomeBlogPost, TaskDescriptor } from '@topconsultnpm/sdk-ts';
|
|
3
|
-
interface ITMArchiveProps {
|
|
4
|
-
inputFile?: File | null;
|
|
5
|
-
inputMids?: Array<{
|
|
6
|
-
mid: number;
|
|
7
|
-
value: string;
|
|
8
|
-
}>;
|
|
9
|
-
inputTID?: number;
|
|
10
|
-
inputDID?: number;
|
|
11
|
-
onDcmtTypeSelect?: (tid: number | undefined) => void;
|
|
12
|
-
connectorFileSave?: () => Promise<File>;
|
|
13
|
-
onSavedAsyncCallback?: (tid: number | undefined, did: number | undefined) => Promise<void>;
|
|
14
|
-
enableDragDropOverlay?: boolean;
|
|
15
|
-
passToSearch?: (tid: number | undefined, outputMids: Array<{
|
|
16
|
-
mid: number;
|
|
17
|
-
value: string;
|
|
18
|
-
}>) => void;
|
|
19
|
-
isSharedArchive?: boolean;
|
|
20
|
-
allTasks?: Array<TaskDescriptor>;
|
|
21
|
-
getAllTasks?: () => Promise<void>;
|
|
22
|
-
deleteTaskByIdsCallback?: (deletedTaskIds: Array<number>) => Promise<void>;
|
|
23
|
-
addTaskCallback?: (task: TaskDescriptor) => Promise<void>;
|
|
24
|
-
editTaskCallback?: (task: TaskDescriptor) => Promise<void>;
|
|
25
|
-
handleNavigateToWGs?: (value: HomeBlogPost | number) => Promise<void>;
|
|
26
|
-
handleNavigateToDossiers?: (value: HomeBlogPost | number) => Promise<void>;
|
|
27
|
-
}
|
|
28
|
-
declare const TMArchive: React.FunctionComponent<ITMArchiveProps>;
|
|
29
|
-
export default TMArchive;
|