@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,326 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useEffect, useCallback } from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { ContextMenu, LoadIndicator } from 'devextreme-react';
|
|
5
|
-
import { LocalStorageService } from '@topconsultnpm/sdk-ts';
|
|
6
|
-
import TMTooltip from './TMTooltip';
|
|
7
|
-
const Container = styled.div `
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: 100%;
|
|
10
|
-
overflow-y: auto;
|
|
11
|
-
overflow-x: hidden;
|
|
12
|
-
padding: 5px;
|
|
13
|
-
|
|
14
|
-
&::-webkit-scrollbar {
|
|
15
|
-
width: 8px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&::-webkit-scrollbar-track {
|
|
19
|
-
background: #f1f3f5;
|
|
20
|
-
border-radius: 4px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&::-webkit-scrollbar-thumb {
|
|
24
|
-
background: #adb5bd;
|
|
25
|
-
border-radius: 4px;
|
|
26
|
-
|
|
27
|
-
&:hover {
|
|
28
|
-
background: #868e96;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&::before {
|
|
33
|
-
content: '';
|
|
34
|
-
position: absolute;
|
|
35
|
-
top: 0;
|
|
36
|
-
left: 0;
|
|
37
|
-
right: 0;
|
|
38
|
-
bottom: 0;
|
|
39
|
-
z-index: -1;
|
|
40
|
-
}
|
|
41
|
-
`;
|
|
42
|
-
const AccordionItem = styled.div `
|
|
43
|
-
margin-bottom: 16px;
|
|
44
|
-
border-radius: 5px;
|
|
45
|
-
background: white;
|
|
46
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
47
|
-
overflow: hidden;
|
|
48
|
-
transition: box-shadow 0.3s ease;
|
|
49
|
-
|
|
50
|
-
&:hover {
|
|
51
|
-
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
|
|
52
|
-
}
|
|
53
|
-
`;
|
|
54
|
-
const AccordionHeader = styled.div `
|
|
55
|
-
display: flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: space-between;
|
|
58
|
-
padding: 6px 12px;
|
|
59
|
-
background: ${props => `linear-gradient(135deg, ${props.$color}15 0%, ${props.$color}08 100%)`};
|
|
60
|
-
border-left: 4px solid ${props => props.$color};
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
transition: all 0.3s ease;
|
|
63
|
-
|
|
64
|
-
&:hover {
|
|
65
|
-
background: ${props => `linear-gradient(135deg, ${props.$color}25 0%, ${props.$color}15 100%)`};
|
|
66
|
-
}
|
|
67
|
-
`;
|
|
68
|
-
const AccordionTitle = styled.div `
|
|
69
|
-
display: flex;
|
|
70
|
-
align-items: center;
|
|
71
|
-
gap: 8px;
|
|
72
|
-
flex: 1;
|
|
73
|
-
`;
|
|
74
|
-
const TitleText = styled.h3 `
|
|
75
|
-
margin: 0;
|
|
76
|
-
font-size: 14px;
|
|
77
|
-
font-weight: 600;
|
|
78
|
-
color: #212529;
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: center;
|
|
81
|
-
gap: 6px;
|
|
82
|
-
`;
|
|
83
|
-
const BadgeContainer = styled.div `
|
|
84
|
-
display: flex;
|
|
85
|
-
align-items: center;
|
|
86
|
-
gap: 6px;
|
|
87
|
-
`;
|
|
88
|
-
const Badge = styled.div `
|
|
89
|
-
min-width: 22px;
|
|
90
|
-
height: 22px;
|
|
91
|
-
padding: 0 8px;
|
|
92
|
-
display: flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
justify-content: center;
|
|
95
|
-
background: ${props => props.$color};
|
|
96
|
-
color: white;
|
|
97
|
-
border-radius: 11px;
|
|
98
|
-
font-size: 11px;
|
|
99
|
-
font-weight: 700;
|
|
100
|
-
box-shadow: 0 2px 6px ${props => props.$color}40;
|
|
101
|
-
`;
|
|
102
|
-
const CustomComponentContainer = styled.div `
|
|
103
|
-
padding: 8px;
|
|
104
|
-
`;
|
|
105
|
-
const ErrorMessage = styled.div `
|
|
106
|
-
padding: 20px;
|
|
107
|
-
text-align: center;
|
|
108
|
-
color: #fa5252;
|
|
109
|
-
font-size: 14px;
|
|
110
|
-
font-weight: 500;
|
|
111
|
-
`;
|
|
112
|
-
const ToggleIcon = styled.div `
|
|
113
|
-
width: 24px;
|
|
114
|
-
height: 24px;
|
|
115
|
-
display: flex;
|
|
116
|
-
align-items: center;
|
|
117
|
-
justify-content: center;
|
|
118
|
-
background: white;
|
|
119
|
-
border-radius: 6px;
|
|
120
|
-
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
121
|
-
transform: ${props => props.$isOpen ? 'rotate(180deg)' : 'rotate(0deg)'};
|
|
122
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
123
|
-
`;
|
|
124
|
-
const AccordionContent = styled.div `
|
|
125
|
-
max-height: ${props => props.$isOpen ? `${props.$maxHeight}px` : '0'};
|
|
126
|
-
overflow: hidden;
|
|
127
|
-
transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
128
|
-
`;
|
|
129
|
-
const ItemsList = styled.div `
|
|
130
|
-
padding: 4px;
|
|
131
|
-
`;
|
|
132
|
-
const ListItem = styled.div `
|
|
133
|
-
padding: 2px;
|
|
134
|
-
margin: 2px 0;
|
|
135
|
-
border-radius: 6px;
|
|
136
|
-
background: ${props => props.$isSelected ? `${props.$color}30` : 'transparent'};
|
|
137
|
-
border: none;
|
|
138
|
-
transition: background 0.2s ease;
|
|
139
|
-
cursor: pointer;
|
|
140
|
-
|
|
141
|
-
&:hover {
|
|
142
|
-
background: ${props => props.$isSelected ? `${props.$color}40` : `${props.$color}08`};
|
|
143
|
-
}
|
|
144
|
-
`;
|
|
145
|
-
const LoadingContainer = styled.div `
|
|
146
|
-
width: 100%;
|
|
147
|
-
height: 100%;
|
|
148
|
-
display: flex;
|
|
149
|
-
align-items: center;
|
|
150
|
-
justify-content: center;
|
|
151
|
-
min-height: 200px;
|
|
152
|
-
`;
|
|
153
|
-
const DEFAULT_COLORS = ['#339af0', '#fa5252', '#40c057', '#f59f00', '#e64980', '#7950f2'];
|
|
154
|
-
const TMAccordion = ({ groups, localStorageKey, selectedItem, onSelectedItemChange }) => {
|
|
155
|
-
const [openAccordions, setOpenAccordions] = useState({});
|
|
156
|
-
const [isInitialized, setIsInitialized] = useState(false);
|
|
157
|
-
const [anchorEl, setAnchorEl] = useState(null);
|
|
158
|
-
const [contextMenuItems, setContextMenuItems] = useState([]);
|
|
159
|
-
const [focusedItem, setFocusedItem] = useState(undefined);
|
|
160
|
-
const [headerContextGroupId, setHeaderContextGroupId] = useState(null);
|
|
161
|
-
const [headerContextVisible, setHeaderContextVisible] = useState(false);
|
|
162
|
-
const [headerContextPosition, setHeaderContextPosition] = useState(null);
|
|
163
|
-
useEffect(() => {
|
|
164
|
-
const initialState = {};
|
|
165
|
-
if (!groups || groups.length === 0) {
|
|
166
|
-
setIsInitialized(true);
|
|
167
|
-
return;
|
|
168
|
-
}
|
|
169
|
-
if (localStorageKey) {
|
|
170
|
-
const savedState = LocalStorageService.getItem(localStorageKey);
|
|
171
|
-
if (savedState && savedState.length === groups.length) {
|
|
172
|
-
groups.forEach((group, index) => {
|
|
173
|
-
initialState[group.id] = savedState[index] === '1';
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
groups.forEach(group => {
|
|
178
|
-
initialState[group.id] = group.isExpanded !== false;
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
else {
|
|
183
|
-
groups.forEach(group => {
|
|
184
|
-
initialState[group.id] = group.isExpanded !== false;
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
setOpenAccordions(initialState);
|
|
188
|
-
setIsInitialized(true);
|
|
189
|
-
}, []);
|
|
190
|
-
useEffect(() => {
|
|
191
|
-
if (!isInitialized || !groups)
|
|
192
|
-
return;
|
|
193
|
-
setOpenAccordions(prev => {
|
|
194
|
-
const newState = { ...prev };
|
|
195
|
-
groups.forEach(group => {
|
|
196
|
-
if (!(group.id in newState)) {
|
|
197
|
-
newState[group.id] = group.isExpanded !== false;
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
Object.keys(newState).forEach(groupId => {
|
|
201
|
-
if (!groups.some(g => g.id === groupId)) { //nosonar
|
|
202
|
-
delete newState[groupId];
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
return newState;
|
|
206
|
-
});
|
|
207
|
-
}, [groups, isInitialized]);
|
|
208
|
-
useEffect(() => {
|
|
209
|
-
if (!isInitialized || !groups)
|
|
210
|
-
return;
|
|
211
|
-
if (localStorageKey && Object.keys(openAccordions).length === groups.length) {
|
|
212
|
-
const stateString = groups.map(group => openAccordions[group.id] ? '1' : '0').join('');
|
|
213
|
-
LocalStorageService.setItem(localStorageKey, stateString);
|
|
214
|
-
}
|
|
215
|
-
}, [openAccordions, groups, localStorageKey, isInitialized]);
|
|
216
|
-
const toggleAccordion = (groupId) => {
|
|
217
|
-
setOpenAccordions(prev => ({ ...prev, [groupId]: !prev[groupId] }));
|
|
218
|
-
};
|
|
219
|
-
const handleItemClick = (item, group) => {
|
|
220
|
-
if (onSelectedItemChange) {
|
|
221
|
-
onSelectedItemChange(item);
|
|
222
|
-
}
|
|
223
|
-
if (group.onItemClick) {
|
|
224
|
-
group.onItemClick(item);
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
const handleItemDoubleClick = (item, group) => {
|
|
228
|
-
if (group.onItemDoubleClick) {
|
|
229
|
-
group.onItemDoubleClick(item);
|
|
230
|
-
}
|
|
231
|
-
};
|
|
232
|
-
const handleContextMenu = (event, item, group) => {
|
|
233
|
-
event.preventDefault();
|
|
234
|
-
if (!group.contextMenuItems) {
|
|
235
|
-
return;
|
|
236
|
-
}
|
|
237
|
-
const menuItems = typeof group.contextMenuItems === 'function'
|
|
238
|
-
? group.contextMenuItems(item)
|
|
239
|
-
: group.contextMenuItems;
|
|
240
|
-
if (menuItems.length === 0) {
|
|
241
|
-
return;
|
|
242
|
-
}
|
|
243
|
-
setAnchorEl(event.currentTarget);
|
|
244
|
-
setContextMenuItems(menuItems);
|
|
245
|
-
};
|
|
246
|
-
const closeContextMenu = useCallback(() => {
|
|
247
|
-
setAnchorEl(null);
|
|
248
|
-
}, []);
|
|
249
|
-
const handleHeaderContextMenu = (event, groupId) => {
|
|
250
|
-
event.preventDefault();
|
|
251
|
-
event.stopPropagation();
|
|
252
|
-
setHeaderContextPosition({ x: event.clientX, y: event.clientY });
|
|
253
|
-
setHeaderContextGroupId(groupId);
|
|
254
|
-
setHeaderContextVisible(true);
|
|
255
|
-
};
|
|
256
|
-
const handleHeaderClick = (event, groupId) => {
|
|
257
|
-
if (event.button !== 0)
|
|
258
|
-
return;
|
|
259
|
-
toggleAccordion(groupId);
|
|
260
|
-
};
|
|
261
|
-
const closeHeaderContextMenu = useCallback(() => {
|
|
262
|
-
setHeaderContextVisible(false);
|
|
263
|
-
setHeaderContextPosition(null);
|
|
264
|
-
setHeaderContextGroupId(null);
|
|
265
|
-
}, []);
|
|
266
|
-
const headerContextMenuItems = headerContextGroupId ? [
|
|
267
|
-
{
|
|
268
|
-
text: openAccordions[headerContextGroupId] ? 'Collassa' : 'Espandi',
|
|
269
|
-
onClick: () => {
|
|
270
|
-
toggleAccordion(headerContextGroupId);
|
|
271
|
-
closeHeaderContextMenu();
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
] : [];
|
|
275
|
-
const getGroupColor = (group, index) => {
|
|
276
|
-
return group.color || DEFAULT_COLORS[index % DEFAULT_COLORS.length];
|
|
277
|
-
};
|
|
278
|
-
const renderBadges = (group, color) => {
|
|
279
|
-
if (group.badges && group.badges.length > 0) {
|
|
280
|
-
return (_jsx(BadgeContainer, { children: group.badges.map((badgeData, idx) => {
|
|
281
|
-
const badgeKey = `${group.id}-badge-${badgeData.badge}-${idx}`;
|
|
282
|
-
const badge = _jsx(Badge, { "$color": color, children: badgeData.badge });
|
|
283
|
-
if (badgeData.tooltip) {
|
|
284
|
-
return (_jsx(TMTooltip, { content: badgeData.tooltip, children: badge }, badgeKey));
|
|
285
|
-
}
|
|
286
|
-
return _jsx("span", { children: badge }, badgeKey);
|
|
287
|
-
}) }));
|
|
288
|
-
}
|
|
289
|
-
if (group.dataSource && group.dataSource.length > 0) {
|
|
290
|
-
return _jsx(Badge, { "$color": color, children: group.dataSource.length });
|
|
291
|
-
}
|
|
292
|
-
return null;
|
|
293
|
-
};
|
|
294
|
-
const renderAccordion = (group, index) => {
|
|
295
|
-
const color = getGroupColor(group, index);
|
|
296
|
-
const isOpen = openAccordions[group.id] ?? true;
|
|
297
|
-
if (group.customComponent) {
|
|
298
|
-
return (_jsxs(AccordionItem, { children: [_jsxs(AccordionHeader, { "$color": color, "$isOpen": isOpen, onClick: (e) => handleHeaderClick(e, group.id), onContextMenu: (e) => handleHeaderContextMenu(e, group.id), children: [_jsxs(AccordionTitle, { children: [group.icon, _jsx(TitleText, { children: group.title })] }), _jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: '10px' }, children: [renderBadges(group, color), _jsx(ToggleIcon, { "$isOpen": isOpen, children: _jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: _jsx("path", { d: "M4 6L8 10L12 6", stroke: "#495057", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }) })] })] }), isOpen && (_jsx(CustomComponentContainer, { children: group.customComponent }))] }, group.id));
|
|
299
|
-
}
|
|
300
|
-
if (!group.dataSource || group.dataSource.length === 0)
|
|
301
|
-
return null;
|
|
302
|
-
if (!group.renderItem) {
|
|
303
|
-
return (_jsxs(AccordionItem, { children: [_jsxs(AccordionHeader, { "$color": color, "$isOpen": isOpen, onClick: (e) => handleHeaderClick(e, group.id), onContextMenu: (e) => handleHeaderContextMenu(e, group.id), children: [_jsxs(AccordionTitle, { children: [group.icon, _jsx(TitleText, { children: group.title })] }), _jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: '10px' }, children: [renderBadges(group, color), _jsx(ToggleIcon, { "$isOpen": isOpen, children: _jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: _jsx("path", { d: "M4 6L8 10L12 6", stroke: "#495057", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }) })] })] }), _jsx(AccordionContent, { "$isOpen": isOpen, "$maxHeight": 100, children: _jsxs(ErrorMessage, { children: ["\u26A0\uFE0F renderItem function is required for \"", group.title, "\" group"] }) })] }, group.id));
|
|
304
|
-
}
|
|
305
|
-
const itemHeight = group.itemHeight || 80;
|
|
306
|
-
const maxHeight = group.dataSource.length * itemHeight + 20;
|
|
307
|
-
return (_jsxs(AccordionItem, { children: [_jsxs(AccordionHeader, { "$color": color, "$isOpen": isOpen, onClick: (e) => handleHeaderClick(e, group.id), onContextMenu: (e) => handleHeaderContextMenu(e, group.id), children: [_jsxs(AccordionTitle, { children: [group.icon, _jsx(TitleText, { children: group.title })] }), _jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: '10px' }, children: [renderBadges(group, color), _jsx(ToggleIcon, { "$isOpen": isOpen, children: _jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: _jsx("path", { d: "M4 6L8 10L12 6", stroke: "#495057", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }) })] })] }), _jsx(AccordionContent, { "$isOpen": isOpen, "$maxHeight": maxHeight, children: _jsx(ItemsList, { children: group.dataSource.map((item, itemIndex) => {
|
|
308
|
-
const isSelected = selectedItem === item;
|
|
309
|
-
const isFocused = focusedItem === item;
|
|
310
|
-
return (_jsx(ListItem, { "$isSelected": isSelected, "$color": color, onClick: () => handleItemClick(item, group), onDoubleClick: () => handleItemDoubleClick(item, group), onMouseEnter: () => setFocusedItem(item), onMouseLeave: () => setFocusedItem(undefined), onContextMenu: (e) => handleContextMenu(e, item, group), children: group.renderItem(item, isSelected, isFocused, color) }, itemIndex * 2));
|
|
311
|
-
}) }) })] }, group.id));
|
|
312
|
-
};
|
|
313
|
-
if (!isInitialized) {
|
|
314
|
-
return (_jsx(LoadingContainer, { children: _jsx(LoadIndicator, { height: 40, width: 40 }) }));
|
|
315
|
-
}
|
|
316
|
-
if (!groups || groups.length === 0) {
|
|
317
|
-
return (_jsx(Container, { children: _jsx(ErrorMessage, { children: "\u26A0\uFE0F No accordion groups defined" }) }));
|
|
318
|
-
}
|
|
319
|
-
const handleContainerContextMenu = (event) => {
|
|
320
|
-
if (event.target === event.currentTarget) {
|
|
321
|
-
event.preventDefault();
|
|
322
|
-
}
|
|
323
|
-
};
|
|
324
|
-
return (_jsxs(_Fragment, { children: [_jsx(Container, { onContextMenu: handleContainerContextMenu, children: groups.map((group, index) => renderAccordion(group, index)) }), anchorEl && contextMenuItems.length > 0 && (_jsx(ContextMenu, { dataSource: contextMenuItems, target: anchorEl, onHiding: closeContextMenu })), headerContextPosition && headerContextMenuItems.length > 0 && (_jsx(ContextMenu, { dataSource: headerContextMenuItems, visible: headerContextVisible, position: { my: 'left top', at: 'left top', offset: `${headerContextPosition.x} ${headerContextPosition.y}` }, onHiding: closeHeaderContextMenu }))] }));
|
|
325
|
-
};
|
|
326
|
-
export default TMAccordion;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
interface AlertVariant {
|
|
2
|
-
variant: string;
|
|
3
|
-
color: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
icon: JSX.Element;
|
|
6
|
-
textColor: string;
|
|
7
|
-
}
|
|
8
|
-
interface AlertModes {
|
|
9
|
-
warning: AlertVariant;
|
|
10
|
-
error: AlertVariant;
|
|
11
|
-
success: AlertVariant;
|
|
12
|
-
info: AlertVariant;
|
|
13
|
-
}
|
|
14
|
-
declare const TMAlertPosition: {
|
|
15
|
-
readonly TOP_RIGHT: {
|
|
16
|
-
readonly top: "10px";
|
|
17
|
-
readonly right: "10px";
|
|
18
|
-
readonly position: "absolute";
|
|
19
|
-
};
|
|
20
|
-
readonly TOP_CENTER: {
|
|
21
|
-
readonly top: "10px";
|
|
22
|
-
readonly left: "50%";
|
|
23
|
-
readonly transform: "translateX(-50%)";
|
|
24
|
-
readonly position: "absolute";
|
|
25
|
-
};
|
|
26
|
-
readonly TOP_LEFT: {
|
|
27
|
-
readonly top: "10px";
|
|
28
|
-
readonly left: "10px";
|
|
29
|
-
readonly position: "absolute";
|
|
30
|
-
};
|
|
31
|
-
readonly BOTTOM_RIGHT: {
|
|
32
|
-
readonly bottom: "10px";
|
|
33
|
-
readonly right: "10px";
|
|
34
|
-
readonly position: "absolute";
|
|
35
|
-
};
|
|
36
|
-
readonly BOTTOM_LEFT: {
|
|
37
|
-
readonly bottom: "10px";
|
|
38
|
-
readonly left: "10px";
|
|
39
|
-
readonly position: "absolute";
|
|
40
|
-
};
|
|
41
|
-
readonly BOTTOM_CENTER: {
|
|
42
|
-
readonly bottom: "10px";
|
|
43
|
-
readonly left: "50%";
|
|
44
|
-
readonly transform: "translateX(-50%)";
|
|
45
|
-
readonly position: "absolute";
|
|
46
|
-
};
|
|
47
|
-
readonly CENTER_RIGHT: {
|
|
48
|
-
readonly top: "50%";
|
|
49
|
-
readonly right: "10px";
|
|
50
|
-
readonly transform: "translateY(-50%)";
|
|
51
|
-
readonly position: "absolute";
|
|
52
|
-
};
|
|
53
|
-
readonly CENTER_LEFT: {
|
|
54
|
-
readonly top: "50%";
|
|
55
|
-
readonly left: "10px";
|
|
56
|
-
readonly transform: "translateY(-50%)";
|
|
57
|
-
readonly position: "absolute";
|
|
58
|
-
};
|
|
59
|
-
readonly CENTER_CENTER: {
|
|
60
|
-
readonly top: "50%";
|
|
61
|
-
readonly left: "50%";
|
|
62
|
-
readonly transform: "translate(-50%, -50%)";
|
|
63
|
-
readonly position: "absolute";
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
declare const ShowAlert: ({ mode, message, duration, title, position }: {
|
|
67
|
-
mode: keyof AlertModes;
|
|
68
|
-
message: string;
|
|
69
|
-
duration?: number;
|
|
70
|
-
title?: string;
|
|
71
|
-
position?: keyof typeof TMAlertPosition;
|
|
72
|
-
}) => void;
|
|
73
|
-
export default ShowAlert;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import React, { useState, useEffect } from 'react';
|
|
3
|
-
import ReactDOM from 'react-dom/client';
|
|
4
|
-
import { IconCloseCircle, IconInfo, IconSuccess, IconWarning } from '../../helper';
|
|
5
|
-
const TMAlertPosition = {
|
|
6
|
-
TOP_RIGHT: { top: '10px', right: '10px', position: 'absolute' },
|
|
7
|
-
TOP_CENTER: { top: '10px', left: '50%', transform: 'translateX(-50%)', position: 'absolute' },
|
|
8
|
-
TOP_LEFT: { top: '10px', left: '10px', position: 'absolute' },
|
|
9
|
-
BOTTOM_RIGHT: { bottom: '10px', right: '10px', position: 'absolute' },
|
|
10
|
-
BOTTOM_LEFT: { bottom: '10px', left: '10px', position: 'absolute' },
|
|
11
|
-
BOTTOM_CENTER: { bottom: '10px', left: '50%', transform: 'translateX(-50%)', position: 'absolute' },
|
|
12
|
-
CENTER_RIGHT: { top: '50%', right: '10px', transform: 'translateY(-50%)', position: 'absolute' },
|
|
13
|
-
CENTER_LEFT: { top: '50%', left: '10px', transform: 'translateY(-50%)', position: 'absolute' },
|
|
14
|
-
CENTER_CENTER: { top: '50%', left: '50%', transform: 'translate(-50%, -50%)', position: 'absolute' },
|
|
15
|
-
};
|
|
16
|
-
const Mode = {
|
|
17
|
-
warning: {
|
|
18
|
-
variant: 'warning',
|
|
19
|
-
color: 'transparent linear-gradient(272deg, #FFFFFF 0%, #EAD305 100%) 0% 0% no-repeat padding-box',
|
|
20
|
-
borderColor: '#ba873d',
|
|
21
|
-
textColor: '#6e5024',
|
|
22
|
-
icon: _jsx(IconWarning, { fontSize: 16, color: '#F0AD4E' }),
|
|
23
|
-
},
|
|
24
|
-
error: {
|
|
25
|
-
variant: 'error',
|
|
26
|
-
color: 'transparent linear-gradient(272deg, #FFFFFF 0%, #E87A8E 100%) 0% 0% no-repeat padding-box',
|
|
27
|
-
borderColor: '#a8413e',
|
|
28
|
-
textColor: '#4a1b1b',
|
|
29
|
-
icon: _jsx(IconCloseCircle, { fontSize: 16, color: '#D9534F' }),
|
|
30
|
-
},
|
|
31
|
-
success: {
|
|
32
|
-
variant: 'success',
|
|
33
|
-
color: 'transparent linear-gradient(272deg, #FFFFFF 0%, #6DB735 100%) 0% 0% no-repeat padding-box',
|
|
34
|
-
borderColor: '#4d994d',
|
|
35
|
-
textColor: '#203d20',
|
|
36
|
-
icon: _jsx(IconSuccess, { fontSize: 16, color: '#5CB85C' }),
|
|
37
|
-
},
|
|
38
|
-
info: {
|
|
39
|
-
variant: 'info',
|
|
40
|
-
color: 'transparent linear-gradient(272deg, #FFFFFF 0%, #679CE8 100%) 0% 0% no-repeat padding-box',
|
|
41
|
-
borderColor: '#285f8f',
|
|
42
|
-
textColor: '#16354f',
|
|
43
|
-
icon: _jsx(IconInfo, { fontSize: 16, color: '#337AB7' }),
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
// const TMAlert = ({ mode, duration = 5000, message, position = 'BOTTOM_CENTER' }: { mode: keyof AlertModes, duration?: number, message: string, position?: keyof typeof TMAlertPosition }) => {
|
|
47
|
-
const TMAlert = ({ mode, duration = 1000, title, message, position = 'BOTTOM_RIGHT' }) => {
|
|
48
|
-
const [currentWidth, setCurrentWidth] = useState(window.innerWidth);
|
|
49
|
-
const [container] = useState(document.getElementsByClassName('tm-alert-temporary-container'));
|
|
50
|
-
useEffect(() => {
|
|
51
|
-
window.addEventListener('resize', () => {
|
|
52
|
-
setCurrentWidth(window.innerWidth);
|
|
53
|
-
});
|
|
54
|
-
}, [currentWidth]);
|
|
55
|
-
useEffect(() => {
|
|
56
|
-
const tiemout = setTimeout(() => {
|
|
57
|
-
let container = document.getElementsByClassName('tm-alert-temporary-container');
|
|
58
|
-
container[0]?.remove();
|
|
59
|
-
}, duration + 50);
|
|
60
|
-
return () => {
|
|
61
|
-
clearTimeout(tiemout);
|
|
62
|
-
};
|
|
63
|
-
}, [container]);
|
|
64
|
-
// Determine the style for the alert container based on the position prop
|
|
65
|
-
const alertContainerStyle = TMAlertPosition[position];
|
|
66
|
-
return (_jsx("div", { style: { width: '100%', paddingTop: '3px', ...alertContainerStyle }, children: _jsx("div", { className: 'tm-alert-animation-style', style: { animationDuration: `${duration}ms`, position: 'relative', float: 'right', zIndex: '20000999', width: '356px', height: '86px', borderRadius: '8px', overflow: 'hidden', border: '2px white solid', boxShadow: '0px 3px 6px #00000029' }, children: _jsx("div", { className: 'tm-alert-animation-style', style: { animationDuration: `${duration}ms` }, children: _jsxs("div", { className: 'tm-alert-container', style: { background: Mode[mode].color, animationDuration: `${duration}ms` }, children: [_jsxs("div", { className: "tm-alert-context", style: { position: 'relative' }, children: [_jsx("div", { className: 'tm-alert-icon', style: { position: 'absolute', top: '12px', left: '12px', paddingTop: '1px' }, children: Mode[mode].icon }), _jsx("div", { style: { color: Mode[mode].textColor, position: 'absolute', top: '15px', left: '45px', textAlign: 'left', fontSize: '1.1rem', fontWeight: 'bold', maxWidth: '280px' }, children: title }), _jsx("div", { style: { color: Mode[mode].textColor, position: 'absolute', top: '35px', left: '45px', textAlign: 'left', fontSize: '1rem', maxWidth: '280px' }, children: message })] }), _jsx("div", { className: 'tm-alert-loading', style: { backgroundImage: `linear-gradient(to right, ${Mode[mode].borderColor}, ${Mode[mode].textColor})`, animationDuration: `${duration}ms` } })] }) }) }) }));
|
|
67
|
-
};
|
|
68
|
-
const ShowAlert = ({ mode, message, duration, title, position = 'BOTTOM_RIGHT' }) => {
|
|
69
|
-
let container = document.createElement('div');
|
|
70
|
-
container.setAttribute("class", 'tm-alert-temporary-container');
|
|
71
|
-
document.body.appendChild(container);
|
|
72
|
-
// container.style.position = 'relative'
|
|
73
|
-
container.style.display = 'flex';
|
|
74
|
-
const root = ReactDOM.createRoot(container);
|
|
75
|
-
root.render(_jsx(React.StrictMode, { children: _jsx(TMAlert, { message: message, mode: mode, duration: duration, title: title, position: position }) }));
|
|
76
|
-
};
|
|
77
|
-
export default ShowAlert;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ITopMediaSession } from '@topconsultnpm/sdk-ts';
|
|
3
|
-
export declare class TMFileSystemItem {
|
|
4
|
-
dataItem: any;
|
|
5
|
-
name: string;
|
|
6
|
-
thumbnail: string;
|
|
7
|
-
isDirectory: boolean;
|
|
8
|
-
size: number | undefined;
|
|
9
|
-
dateModified: Date | undefined;
|
|
10
|
-
}
|
|
11
|
-
interface ITMAreaManager {
|
|
12
|
-
width?: string;
|
|
13
|
-
height?: string;
|
|
14
|
-
areaChoose?: any;
|
|
15
|
-
initialPath?: string;
|
|
16
|
-
areaStatus?: boolean;
|
|
17
|
-
isPathChooser?: boolean;
|
|
18
|
-
showOnlyFolders?: boolean;
|
|
19
|
-
tmSession?: ITopMediaSession;
|
|
20
|
-
selectionMode?: 'single' | 'multiple';
|
|
21
|
-
onFileChanged?: (event: string) => void;
|
|
22
|
-
onFolderChanged?: (event: string) => void;
|
|
23
|
-
}
|
|
24
|
-
declare const TMAreaManager: React.FC<ITMAreaManager>;
|
|
25
|
-
export default TMAreaManager;
|