@topconsultnpm/sdkui-react 6.19.0-dev1.10
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/lib/assets/IconsS4t/add.svg +12 -0
- package/lib/assets/IconsS4t/aggiorna.svg +18 -0
- package/lib/assets/IconsS4t/bookmark.svg +42 -0
- package/lib/assets/IconsS4t/cancella.svg +15 -0
- package/lib/assets/IconsS4t/check-box.svg +19 -0
- package/lib/assets/IconsS4t/down-arrow-signBook.svg +40 -0
- package/lib/assets/IconsS4t/down.svg +28 -0
- package/lib/assets/IconsS4t/edit-file.svg +19 -0
- package/lib/assets/IconsS4t/edita.svg +32 -0
- package/lib/assets/IconsS4t/firma.svg +19 -0
- package/lib/assets/IconsS4t/icona_download.svg +16 -0
- package/lib/assets/IconsS4t/info.svg +51 -0
- package/lib/assets/IconsS4t/left.svg +20 -0
- package/lib/assets/IconsS4t/line.svg +40 -0
- package/lib/assets/IconsS4t/more.svg +19 -0
- package/lib/assets/IconsS4t/new-signature.svg +1 -0
- package/lib/assets/IconsS4t/plus.svg +23 -0
- package/lib/assets/IconsS4t/printer.svg +49 -0
- package/lib/assets/IconsS4t/radio-on-button.svg +25 -0
- package/lib/assets/IconsS4t/rectangle.svg +41 -0
- package/lib/assets/IconsS4t/redo.svg +19 -0
- package/lib/assets/IconsS4t/right-arrow-signBook-finish.svg +40 -0
- package/lib/assets/IconsS4t/right-arrow-signBook.svg +40 -0
- package/lib/assets/IconsS4t/right.svg +22 -0
- package/lib/assets/IconsS4t/searchbar.svg +21 -0
- package/lib/assets/IconsS4t/text-box.svg +36 -0
- package/lib/assets/IconsS4t/tick.svg +8 -0
- package/lib/assets/IconsS4t/trash-white.svg +11 -0
- package/lib/assets/IconsS4t/trash.svg +1 -0
- package/lib/assets/IconsS4t/undo.svg +19 -0
- package/lib/assets/IconsS4t/up.svg +32 -0
- package/lib/assets/IconsS4t/video-streaming.svg +2 -0
- package/lib/assets/IconsS4t/zoom-in.svg +58 -0
- package/lib/assets/IconsS4t/zoom-out.svg +56 -0
- 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 +1 -0
- package/lib/assets/german.svg +1 -0
- package/lib/assets/icomoon.eot +0 -0
- package/lib/assets/icomoon.svg +97 -0
- package/lib/assets/icomoon.ttf +0 -0
- package/lib/assets/icomoon.woff +0 -0
- package/lib/assets/italy.svg +16 -0
- 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 +1 -0
- package/lib/assets/six.png +0 -0
- package/lib/assets/six.svg +4 -0
- package/lib/assets/spain.svg +1 -0
- 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 +19 -0
- package/lib/assets/thumbnails/index.js +19 -0
- package/lib/assets/thumbnails/index.ts +39 -0
- 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 +66 -0
- package/lib/assets/topmeida-six-bianco.svg +66 -0
- package/lib/assets/united-kingdom.svg +1 -0
- package/lib/components/base/Styled.d.ts +62 -0
- package/lib/components/base/Styled.js +297 -0
- package/lib/components/base/TMAccordion.d.ts +12 -0
- package/lib/components/base/TMAccordion.js +62 -0
- package/lib/components/base/TMAlert.d.ts +73 -0
- package/lib/components/base/TMAlert.js +77 -0
- package/lib/components/base/TMAreaManager.d.ts +25 -0
- package/lib/components/base/TMAreaManager.js +733 -0
- package/lib/components/base/TMButton.d.ts +21 -0
- package/lib/components/base/TMButton.js +174 -0
- package/lib/components/base/TMClosableList.d.ts +10 -0
- package/lib/components/base/TMClosableList.js +70 -0
- package/lib/components/base/TMConfirm.d.ts +13 -0
- package/lib/components/base/TMConfirm.js +119 -0
- package/lib/components/base/TMContextMenu.d.ts +25 -0
- package/lib/components/base/TMContextMenu.js +109 -0
- package/lib/components/base/TMContextMenuOLD.d.ts +26 -0
- package/lib/components/base/TMContextMenuOLD.js +56 -0
- package/lib/components/base/TMCounterBar.d.ts +10 -0
- package/lib/components/base/TMCounterBar.js +43 -0
- package/lib/components/base/TMCounterContainer.d.ts +23 -0
- package/lib/components/base/TMCounterContainer.js +58 -0
- package/lib/components/base/TMDataGrid.d.ts +56 -0
- package/lib/components/base/TMDataGrid.js +237 -0
- package/lib/components/base/TMDataGridExportForm.d.ts +15 -0
- package/lib/components/base/TMDataGridExportForm.js +209 -0
- package/lib/components/base/TMDeviceProvider.d.ts +15 -0
- package/lib/components/base/TMDeviceProvider.js +41 -0
- package/lib/components/base/TMDropDownMenu.d.ts +23 -0
- package/lib/components/base/TMDropDownMenu.js +45 -0
- package/lib/components/base/TMEditorBase.d.ts +39 -0
- package/lib/components/base/TMEditorBase.js +1 -0
- package/lib/components/base/TMFileManager.d.ts +45 -0
- package/lib/components/base/TMFileManager.js +224 -0
- package/lib/components/base/TMFileManagerDataGridView.d.ts +14 -0
- package/lib/components/base/TMFileManagerDataGridView.js +89 -0
- package/lib/components/base/TMFileManagerThumbnailItems.d.ts +16 -0
- package/lib/components/base/TMFileManagerThumbnailItems.js +138 -0
- package/lib/components/base/TMFileManagerThumbnailsView.d.ts +17 -0
- package/lib/components/base/TMFileManagerThumbnailsView.js +46 -0
- package/lib/components/base/TMFileManagerUtils.d.ts +78 -0
- package/lib/components/base/TMFileManagerUtils.js +207 -0
- package/lib/components/base/TMFloatingToolbar.d.ts +9 -0
- package/lib/components/base/TMFloatingToolbar.js +101 -0
- package/lib/components/base/TMLayout.d.ts +54 -0
- package/lib/components/base/TMLayout.js +201 -0
- package/lib/components/base/TMList.d.ts +9 -0
- package/lib/components/base/TMList.js +54 -0
- package/lib/components/base/TMListView.d.ts +42 -0
- package/lib/components/base/TMListView.js +387 -0
- package/lib/components/base/TMModal.d.ts +16 -0
- package/lib/components/base/TMModal.js +70 -0
- package/lib/components/base/TMPanel.d.ts +32 -0
- package/lib/components/base/TMPanel.js +181 -0
- package/lib/components/base/TMPopUp.d.ts +33 -0
- package/lib/components/base/TMPopUp.js +280 -0
- package/lib/components/base/TMProgressBar.d.ts +11 -0
- package/lib/components/base/TMProgressBar.js +32 -0
- package/lib/components/base/TMResizableMenu.d.ts +20 -0
- package/lib/components/base/TMResizableMenu.js +98 -0
- package/lib/components/base/TMRightSidebar.d.ts +19 -0
- package/lib/components/base/TMRightSidebar.js +80 -0
- package/lib/components/base/TMShowAllOrMaxItemsButton.d.ts +8 -0
- package/lib/components/base/TMShowAllOrMaxItemsButton.js +20 -0
- package/lib/components/base/TMSpinner.d.ts +14 -0
- package/lib/components/base/TMSpinner.js +160 -0
- package/lib/components/base/TMTab.d.ts +20 -0
- package/lib/components/base/TMTab.js +42 -0
- package/lib/components/base/TMToggleButton.d.ts +10 -0
- package/lib/components/base/TMToggleButton.js +58 -0
- package/lib/components/base/TMToolbarCard.d.ts +19 -0
- package/lib/components/base/TMToolbarCard.js +51 -0
- package/lib/components/base/TMTooltip.d.ts +14 -0
- package/lib/components/base/TMTooltip.js +20 -0
- package/lib/components/base/TMTreeView.d.ts +32 -0
- package/lib/components/base/TMTreeView.js +355 -0
- package/lib/components/base/TMUserAvatar.d.ts +8 -0
- package/lib/components/base/TMUserAvatar.js +34 -0
- package/lib/components/base/TMVilViewer.d.ts +5 -0
- package/lib/components/base/TMVilViewer.js +22 -0
- package/lib/components/base/TMWaitPanel.d.ts +32 -0
- package/lib/components/base/TMWaitPanel.js +44 -0
- package/lib/components/choosers/TMCultureIDPicker.d.ts +9 -0
- package/lib/components/choosers/TMCultureIDPicker.js +72 -0
- package/lib/components/choosers/TMDataListItemChooser.d.ts +17 -0
- package/lib/components/choosers/TMDataListItemChooser.js +49 -0
- package/lib/components/choosers/TMDataListItemPicker.d.ts +9 -0
- package/lib/components/choosers/TMDataListItemPicker.js +96 -0
- package/lib/components/choosers/TMDcmtTypeChooser.d.ts +25 -0
- package/lib/components/choosers/TMDcmtTypeChooser.js +61 -0
- package/lib/components/choosers/TMDiskChooser.d.ts +10 -0
- package/lib/components/choosers/TMDiskChooser.js +41 -0
- package/lib/components/choosers/TMDistinctValues.d.ts +21 -0
- package/lib/components/choosers/TMDistinctValues.js +140 -0
- package/lib/components/choosers/TMDynDataListItemChooser.d.ts +40 -0
- package/lib/components/choosers/TMDynDataListItemChooser.js +159 -0
- package/lib/components/choosers/TMGroupChooser.d.ts +7 -0
- package/lib/components/choosers/TMGroupChooser.js +37 -0
- package/lib/components/choosers/TMInvoiceRetrieveFormats.d.ts +4 -0
- package/lib/components/choosers/TMInvoiceRetrieveFormats.js +22 -0
- package/lib/components/choosers/TMMetadataChooser.d.ts +51 -0
- package/lib/components/choosers/TMMetadataChooser.js +134 -0
- package/lib/components/choosers/TMOrderRetrieveFormats.d.ts +4 -0
- package/lib/components/choosers/TMOrderRetrieveFormats.js +22 -0
- package/lib/components/choosers/TMPathChooser.d.ts +12 -0
- package/lib/components/choosers/TMPathChooser.js +147 -0
- package/lib/components/choosers/TMRelationChooser.d.ts +31 -0
- package/lib/components/choosers/TMRelationChooser.js +94 -0
- package/lib/components/choosers/TMUserChooser.d.ts +40 -0
- package/lib/components/choosers/TMUserChooser.js +141 -0
- package/lib/components/editors/TMCheckBox.d.ts +9 -0
- package/lib/components/editors/TMCheckBox.js +90 -0
- package/lib/components/editors/TMDateBox.d.ts +17 -0
- package/lib/components/editors/TMDateBox.js +75 -0
- package/lib/components/editors/TMDropDown.d.ts +10 -0
- package/lib/components/editors/TMDropDown.js +62 -0
- package/lib/components/editors/TMEditorStyled.d.ts +41 -0
- package/lib/components/editors/TMEditorStyled.js +90 -0
- package/lib/components/editors/TMFormulaEditor.d.ts +49 -0
- package/lib/components/editors/TMFormulaEditor.js +727 -0
- package/lib/components/editors/TMHtmlContentDisplay.d.ts +7 -0
- package/lib/components/editors/TMHtmlContentDisplay.js +78 -0
- package/lib/components/editors/TMHtmlEditor.d.ts +33 -0
- package/lib/components/editors/TMHtmlEditor.js +143 -0
- package/lib/components/editors/TMLocalizedTextBox.d.ts +19 -0
- package/lib/components/editors/TMLocalizedTextBox.js +125 -0
- package/lib/components/editors/TMMetadataEditor.d.ts +29 -0
- package/lib/components/editors/TMMetadataEditor.js +140 -0
- package/lib/components/editors/TMMetadataValues.d.ts +46 -0
- package/lib/components/editors/TMMetadataValues.js +480 -0
- package/lib/components/editors/TMRadioButton.d.ts +10 -0
- package/lib/components/editors/TMRadioButton.js +57 -0
- package/lib/components/editors/TMSummary.d.ts +20 -0
- package/lib/components/editors/TMSummary.js +92 -0
- package/lib/components/editors/TMTextArea.d.ts +17 -0
- package/lib/components/editors/TMTextArea.js +155 -0
- package/lib/components/editors/TMTextBox.d.ts +20 -0
- package/lib/components/editors/TMTextBox.js +249 -0
- package/lib/components/editors/TMTextExpression.d.ts +25 -0
- package/lib/components/editors/TMTextExpression.js +174 -0
- package/lib/components/editors/TMTreeDropDown.d.ts +18 -0
- package/lib/components/editors/TMTreeDropDown.js +66 -0
- package/lib/components/features/archive/TMArchive.d.ts +19 -0
- package/lib/components/features/archive/TMArchive.js +162 -0
- package/lib/components/features/assistant/ToppyHelpCenter.d.ts +12 -0
- package/lib/components/features/assistant/ToppyHelpCenter.js +173 -0
- package/lib/components/features/blog/TMBlogCommentForm.d.ts +17 -0
- package/lib/components/features/blog/TMBlogCommentForm.js +308 -0
- package/lib/components/features/documents/TMBatchUpdateForm.d.ts +17 -0
- package/lib/components/features/documents/TMBatchUpdateForm.js +159 -0
- package/lib/components/features/documents/TMDcmtBlog.d.ts +8 -0
- package/lib/components/features/documents/TMDcmtBlog.js +77 -0
- package/lib/components/features/documents/TMDcmtForm.d.ts +50 -0
- package/lib/components/features/documents/TMDcmtForm.js +1083 -0
- package/lib/components/features/documents/TMDcmtIcon.d.ts +18 -0
- package/lib/components/features/documents/TMDcmtIcon.js +93 -0
- package/lib/components/features/documents/TMDcmtPreview.d.ts +31 -0
- package/lib/components/features/documents/TMDcmtPreview.js +446 -0
- package/lib/components/features/documents/TMDragDropOverlay.d.ts +6 -0
- package/lib/components/features/documents/TMDragDropOverlay.js +96 -0
- package/lib/components/features/documents/TMFileUploader.d.ts +14 -0
- package/lib/components/features/documents/TMFileUploader.js +115 -0
- package/lib/components/features/documents/TMMasterDetailDcmts.d.ts +19 -0
- package/lib/components/features/documents/TMMasterDetailDcmts.js +288 -0
- package/lib/components/features/documents/TMRelationViewer.d.ts +71 -0
- package/lib/components/features/documents/TMRelationViewer.js +573 -0
- package/lib/components/features/search/TMSavedQueryForm.d.ts +9 -0
- package/lib/components/features/search/TMSavedQueryForm.js +41 -0
- package/lib/components/features/search/TMSavedQuerySelector.d.ts +16 -0
- package/lib/components/features/search/TMSavedQuerySelector.js +226 -0
- package/lib/components/features/search/TMSearch.d.ts +31 -0
- package/lib/components/features/search/TMSearch.js +244 -0
- package/lib/components/features/search/TMSearchQueryEditor.d.ts +15 -0
- package/lib/components/features/search/TMSearchQueryEditor.js +367 -0
- package/lib/components/features/search/TMSearchQueryPanel.d.ts +29 -0
- package/lib/components/features/search/TMSearchQueryPanel.js +426 -0
- package/lib/components/features/search/TMSearchResult.d.ts +44 -0
- package/lib/components/features/search/TMSearchResult.js +1293 -0
- package/lib/components/features/search/TMSearchResultFloatingActionButton.d.ts +16 -0
- package/lib/components/features/search/TMSearchResultFloatingActionButton.js +50 -0
- package/lib/components/features/search/TMSearchResultsMenuItems.d.ts +10 -0
- package/lib/components/features/search/TMSearchResultsMenuItems.js +654 -0
- package/lib/components/features/search/TMTreeSelector.d.ts +12 -0
- package/lib/components/features/search/TMTreeSelector.js +270 -0
- package/lib/components/features/wg/TMWGsCopyMoveForm.d.ts +39 -0
- package/lib/components/features/wg/TMWGsCopyMoveForm.js +439 -0
- package/lib/components/features/workflow/TMWorkflowPopup.d.ts +40 -0
- package/lib/components/features/workflow/TMWorkflowPopup.js +273 -0
- package/lib/components/features/workflow/diagram/ConnectionComponent.d.ts +14 -0
- package/lib/components/features/workflow/diagram/ConnectionComponent.js +90 -0
- package/lib/components/features/workflow/diagram/ConnectionForm.d.ts +9 -0
- package/lib/components/features/workflow/diagram/ConnectionForm.js +73 -0
- package/lib/components/features/workflow/diagram/DiagramItemComponent.d.ts +18 -0
- package/lib/components/features/workflow/diagram/DiagramItemComponent.js +264 -0
- package/lib/components/features/workflow/diagram/DiagramItemForm.d.ts +10 -0
- package/lib/components/features/workflow/diagram/DiagramItemForm.js +681 -0
- package/lib/components/features/workflow/diagram/DiagramItemSvgContent.d.ts +12 -0
- package/lib/components/features/workflow/diagram/DiagramItemSvgContent.js +97 -0
- package/lib/components/features/workflow/diagram/RecipientList.d.ts +27 -0
- package/lib/components/features/workflow/diagram/RecipientList.js +203 -0
- package/lib/components/features/workflow/diagram/WFDiagram.d.ts +9 -0
- package/lib/components/features/workflow/diagram/WFDiagram.js +1666 -0
- package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.d.ts +18 -0
- package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.js +97 -0
- package/lib/components/features/workflow/diagram/interfaces.d.ts +126 -0
- package/lib/components/features/workflow/diagram/interfaces.js +26 -0
- package/lib/components/features/workflow/diagram/metadataParser.d.ts +14 -0
- package/lib/components/features/workflow/diagram/metadataParser.js +54 -0
- package/lib/components/features/workflow/diagram/queryDescriptorParser.d.ts +3 -0
- package/lib/components/features/workflow/diagram/queryDescriptorParser.js +188 -0
- package/lib/components/features/workflow/diagram/workflowHelpers.d.ts +122 -0
- package/lib/components/features/workflow/diagram/workflowHelpers.js +488 -0
- package/lib/components/features/workflow/diagram/xmlParser.d.ts +10 -0
- package/lib/components/features/workflow/diagram/xmlParser.js +490 -0
- package/lib/components/filesystem/ProgressBar.d.ts +7 -0
- package/lib/components/filesystem/ProgressBar.js +25 -0
- package/lib/components/forms/Login/ChangePassword.d.ts +9 -0
- package/lib/components/forms/Login/ChangePassword.js +22 -0
- package/lib/components/forms/Login/ChangePasswordInputs.d.ts +14 -0
- package/lib/components/forms/Login/ChangePasswordInputs.js +80 -0
- package/lib/components/forms/Login/Chooser.d.ts +28 -0
- package/lib/components/forms/Login/Chooser.js +145 -0
- package/lib/components/forms/Login/LOGINLocalizator.d.ts +29 -0
- package/lib/components/forms/Login/LOGINLocalizator.js +247 -0
- package/lib/components/forms/Login/LoginValidatorService.d.ts +50 -0
- package/lib/components/forms/Login/LoginValidatorService.js +162 -0
- package/lib/components/forms/Login/Menu.d.ts +10 -0
- package/lib/components/forms/Login/Menu.js +48 -0
- package/lib/components/forms/Login/OTPReader.d.ts +14 -0
- package/lib/components/forms/Login/OTPReader.js +90 -0
- package/lib/components/forms/Login/PasswordStrengthChecker.d.ts +7 -0
- package/lib/components/forms/Login/PasswordStrengthChecker.js +45 -0
- package/lib/components/forms/Login/RapidAccessLogin.d.ts +25 -0
- package/lib/components/forms/Login/RapidAccessLogin.js +310 -0
- package/lib/components/forms/Login/RecoverPasswordFlow.d.ts +11 -0
- package/lib/components/forms/Login/RecoverPasswordFlow.js +111 -0
- package/lib/components/forms/Login/SelectBox.d.ts +23 -0
- package/lib/components/forms/Login/SelectBox.js +96 -0
- package/lib/components/forms/Login/StepIndicator.d.ts +7 -0
- package/lib/components/forms/Login/StepIndicator.js +19 -0
- package/lib/components/forms/Login/TMLoginForm.d.ts +44 -0
- package/lib/components/forms/Login/TMLoginForm.js +737 -0
- package/lib/components/forms/Login/TextBox.d.ts +27 -0
- package/lib/components/forms/Login/TextBox.js +111 -0
- package/lib/components/forms/TMApplyForm.d.ts +4 -0
- package/lib/components/forms/TMApplyForm.js +105 -0
- package/lib/components/forms/TMChooserForm.d.ts +3 -0
- package/lib/components/forms/TMChooserForm.js +94 -0
- package/lib/components/forms/TMResultDialog.d.ts +20 -0
- package/lib/components/forms/TMResultDialog.js +38 -0
- package/lib/components/forms/TMSaveForm.d.ts +31 -0
- package/lib/components/forms/TMSaveForm.js +176 -0
- package/lib/components/grids/TMBlogs.d.ts +102 -0
- package/lib/components/grids/TMBlogs.js +721 -0
- package/lib/components/grids/TMBlogsUtils.d.ts +99 -0
- package/lib/components/grids/TMBlogsUtils.js +226 -0
- package/lib/components/grids/TMRecentsManager.d.ts +13 -0
- package/lib/components/grids/TMRecentsManager.js +155 -0
- package/lib/components/grids/TMValidationItemsList.d.ts +6 -0
- package/lib/components/grids/TMValidationItemsList.js +82 -0
- package/lib/components/index.d.ts +102 -0
- package/lib/components/index.js +123 -0
- package/lib/components/layout/panelManager/TMPanelManagerContainer.d.ts +9 -0
- package/lib/components/layout/panelManager/TMPanelManagerContainer.js +215 -0
- package/lib/components/layout/panelManager/TMPanelManagerContext.d.ts +39 -0
- package/lib/components/layout/panelManager/TMPanelManagerContext.js +251 -0
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.d.ts +11 -0
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.js +82 -0
- package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.d.ts +21 -0
- package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.js +64 -0
- package/lib/components/layout/panelManager/TMPanelWrapper.d.ts +8 -0
- package/lib/components/layout/panelManager/TMPanelWrapper.js +59 -0
- package/lib/components/layout/panelManager/types.d.ts +41 -0
- package/lib/components/layout/panelManager/types.js +1 -0
- package/lib/components/layout/panelManager/utils.d.ts +21 -0
- package/lib/components/layout/panelManager/utils.js +208 -0
- package/lib/components/pages/TMPage.d.ts +38 -0
- package/lib/components/pages/TMPage.js +220 -0
- package/lib/components/query/TMQueryEditor.d.ts +58 -0
- package/lib/components/query/TMQueryEditor.js +1001 -0
- package/lib/components/query/TMQuerySummary.d.ts +15 -0
- package/lib/components/query/TMQuerySummary.js +35 -0
- package/lib/components/settings/SettingsAppearance.d.ts +14 -0
- package/lib/components/settings/SettingsAppearance.js +65 -0
- package/lib/components/sidebar/TMAboutApp.d.ts +8 -0
- package/lib/components/sidebar/TMAboutApp.js +14 -0
- package/lib/components/sidebar/TMCommandsPanel.d.ts +16 -0
- package/lib/components/sidebar/TMCommandsPanel.js +27 -0
- package/lib/components/sidebar/TMHeader.d.ts +43 -0
- package/lib/components/sidebar/TMHeader.js +616 -0
- package/lib/components/sidebar/TMSidebar.d.ts +21 -0
- package/lib/components/sidebar/TMSidebar.js +61 -0
- package/lib/components/sidebar/TMSidebarItem.d.ts +15 -0
- package/lib/components/sidebar/TMSidebarItem.js +39 -0
- package/lib/components/viewers/TMDataListItemViewer.d.ts +10 -0
- package/lib/components/viewers/TMDataListItemViewer.js +80 -0
- package/lib/components/viewers/TMMidViewer.d.ts +36 -0
- package/lib/components/viewers/TMMidViewer.js +128 -0
- package/lib/components/viewers/TMTidViewer.d.ts +256 -0
- package/lib/components/viewers/TMTidViewer.js +341 -0
- package/lib/components/wizard/TMStepIndicator.d.ts +11 -0
- package/lib/components/wizard/TMStepIndicator.js +165 -0
- package/lib/components/wizard/TMWizard.d.ts +18 -0
- package/lib/components/wizard/TMWizard.js +93 -0
- package/lib/css/tm-sdkui.css +1 -0
- package/lib/helper/DeepCompareHelper.d.ts +7 -0
- package/lib/helper/DeepCompareHelper.js +106 -0
- package/lib/helper/Enum_Localizator.d.ts +18 -0
- package/lib/helper/Enum_Localizator.js +247 -0
- package/lib/helper/Globalization.d.ts +14 -0
- package/lib/helper/Globalization.js +80 -0
- package/lib/helper/SDKUI_Globals.d.ts +93 -0
- package/lib/helper/SDKUI_Globals.js +165 -0
- package/lib/helper/SDKUI_Localizator.d.ts +649 -0
- package/lib/helper/SDKUI_Localizator.js +6385 -0
- package/lib/helper/TMCommandsContextMenu.d.ts +14 -0
- package/lib/helper/TMCommandsContextMenu.js +6 -0
- package/lib/helper/TMConditionalWrapper.d.ts +8 -0
- package/lib/helper/TMConditionalWrapper.js +4 -0
- package/lib/helper/TMIcons.d.ts +271 -0
- package/lib/helper/TMIcons.js +664 -0
- package/lib/helper/TMImageLibrary.d.ts +3 -0
- package/lib/helper/TMImageLibrary.js +466 -0
- package/lib/helper/TMUtils.d.ts +20 -0
- package/lib/helper/TMUtils.js +176 -0
- package/lib/helper/dcmtsHelper.d.ts +5 -0
- package/lib/helper/dcmtsHelper.js +25 -0
- package/lib/helper/helpers.d.ts +84 -0
- package/lib/helper/helpers.js +824 -0
- package/lib/helper/index.d.ts +11 -0
- package/lib/helper/index.js +11 -0
- package/lib/helper/queryHelper.d.ts +19 -0
- package/lib/helper/queryHelper.js +336 -0
- package/lib/hooks/useDcmtOperations.d.ts +24 -0
- package/lib/hooks/useDcmtOperations.js +482 -0
- package/lib/hooks/useForm.d.ts +24 -0
- package/lib/hooks/useForm.js +157 -0
- package/lib/hooks/useInputDialog.d.ts +9 -0
- package/lib/hooks/useInputDialog.js +105 -0
- package/lib/hooks/useOutsideClick.d.ts +2 -0
- package/lib/hooks/useOutsideClick.js +38 -0
- package/lib/hooks/usePreventFileDrop.d.ts +3 -0
- package/lib/hooks/usePreventFileDrop.js +37 -0
- package/lib/hooks/useQueryParametersDialog.d.ts +2 -0
- package/lib/hooks/useQueryParametersDialog.js +71 -0
- package/lib/hooks/useResizeObserver.d.ts +4 -0
- package/lib/hooks/useResizeObserver.js +22 -0
- package/lib/hooks/useWorkflowApprove.d.ts +11 -0
- package/lib/hooks/useWorkflowApprove.js +57 -0
- package/lib/index.d.ts +11 -0
- package/lib/index.js +14 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.js +1 -0
- package/lib/services/platform_services.d.ts +18 -0
- package/lib/services/platform_services.js +492 -0
- package/lib/stories/TMButton.stories.d.ts +4 -0
- package/lib/stories/TMButton.stories.js +29 -0
- package/lib/stories/TMDataGrid.stories.d.ts +9 -0
- package/lib/stories/TMDataGrid.stories.js +310 -0
- package/lib/stories/TMHtmlContentDisplay.stories.d.ts +6 -0
- package/lib/stories/TMHtmlContentDisplay.stories.js +45 -0
- package/lib/stories/TMHtmlEditor.stories.d.ts +6 -0
- package/lib/stories/TMHtmlEditor.stories.js +49 -0
- package/lib/stories/TMIcons.stories.d.ts +4 -0
- package/lib/stories/TMIcons.stories.js +13 -0
- package/lib/stories/TMSDKUI_Localizator.stories.d.ts +4 -0
- package/lib/stories/TMSDKUI_Localizator.stories.js +123 -0
- package/lib/stories/TMStoriesUtils.d.ts +1 -0
- package/lib/stories/TMStoriesUtils.js +10 -0
- package/lib/stories/TMUserAvatar.stories.d.ts +6 -0
- package/lib/stories/TMUserAvatar.stories.js +20 -0
- package/lib/ts/index.d.ts +1 -0
- package/lib/ts/index.js +1 -0
- package/lib/ts/types.d.ts +296 -0
- package/lib/ts/types.js +85 -0
- package/lib/utils/theme.d.ts +68 -0
- package/lib/utils/theme.js +80 -0
- package/package.json +54 -0
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styled, { keyframes } from 'styled-components';
|
|
3
|
+
import { ResultTypes } from '@topconsultnpm/sdk-ts';
|
|
4
|
+
import { FontSize, Gutters, TMColors } from '../../utils/theme';
|
|
5
|
+
export const StyledDivHorizontal = styled.div `
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: flex-start;
|
|
10
|
+
`;
|
|
11
|
+
export const StyledMultiViewPanel = styled.div `
|
|
12
|
+
display: flex;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
position: ${(props) => props.$isVisible ? 'relative' : 'absolute'};
|
|
16
|
+
left: ${(props) => props.$isVisible ? '0px' : '-9999px'};
|
|
17
|
+
top: ${(props) => props.$isVisible ? '0px' : '-9999px'};
|
|
18
|
+
visibility: ${(props) => props.$isVisible ? 'visible' : 'hidden'};
|
|
19
|
+
`;
|
|
20
|
+
export const StyledParagraph = styled.p `
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: row;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: flex-start;
|
|
25
|
+
padding: 0 10px;
|
|
26
|
+
font-size: 1rem;
|
|
27
|
+
`;
|
|
28
|
+
export const StyledToolbarForm = styled.div `
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: row;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: flex-start;
|
|
33
|
+
height: 35px;
|
|
34
|
+
width: 100%;
|
|
35
|
+
padding-left: 10px;
|
|
36
|
+
gap: 2px;
|
|
37
|
+
background-color: ${TMColors.toolbar_background};
|
|
38
|
+
`;
|
|
39
|
+
export const StyledPanelPage = styled.div `
|
|
40
|
+
position: absolute;
|
|
41
|
+
width: calc(100% - 50px);
|
|
42
|
+
top: ${(props) => props.$isOpen ? '50px' : '-9999px'};
|
|
43
|
+
left: ${(props) => props.$isOpen ? '50px' : '-9999px'};
|
|
44
|
+
visibility: ${(props) => props.$isOpen ? 'visible' : 'hidden'};
|
|
45
|
+
bottom: 0;
|
|
46
|
+
border-radius: 0px;
|
|
47
|
+
background: ${(props) => props.$background ?? 'transparent'};
|
|
48
|
+
z-index: 1500;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
|
|
51
|
+
@media (min-width: 768px) {
|
|
52
|
+
padding: ${(props) => props.$padding ?? `${Gutters.defaultDesktop}px`};
|
|
53
|
+
padding-right: ${(props) => props.$withMenu ? '0' : 'auto'};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@media (max-width: 767px) {
|
|
57
|
+
padding: ${(props) => props.$padding ?? `${Gutters.defaultMobile}px`};
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
60
|
+
export const StyledClickableIconWrapper = styled.div `
|
|
61
|
+
width: 100%;
|
|
62
|
+
flex-grow: 1;
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
align-items: center;
|
|
66
|
+
min-height: 30px;
|
|
67
|
+
cursor: ${props => props.$disabled ? 'not-allowed' : 'pointer'};
|
|
68
|
+
opacity: ${props => props.$disabled ? 0.5 : 1};
|
|
69
|
+
&:hover {
|
|
70
|
+
background-color: ${props => props.$disabled ? 'transparent' : 'rgba(255, 255, 255, 0.1)'};
|
|
71
|
+
}
|
|
72
|
+
`;
|
|
73
|
+
export const StyledOffCanvasPanel = styled.div `
|
|
74
|
+
position: fixed;
|
|
75
|
+
background-color: ${TMColors.default_background};
|
|
76
|
+
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
|
|
77
|
+
transition: transform 0.3s ease, visibility 0.3s ease;
|
|
78
|
+
z-index: 1502;
|
|
79
|
+
display: flex;
|
|
80
|
+
flex-direction: column;
|
|
81
|
+
border-top-left-radius: 10px;
|
|
82
|
+
border-bottom-left-radius: 10px;
|
|
83
|
+
|
|
84
|
+
/* Default: Open from the right */
|
|
85
|
+
top: 0;
|
|
86
|
+
right: 0;
|
|
87
|
+
width: ${({ $width }) => $width ?? '550px'}; /* Use $width or default to 550px */
|
|
88
|
+
max-width: 100%;
|
|
89
|
+
height: 100%;
|
|
90
|
+
transform: ${({ $isOpen }) => ($isOpen ? 'translateX(0)' : 'translateX(100%)')};
|
|
91
|
+
visibility: ${({ $isOpen }) => ($isOpen ? 'visible' : 'hidden')};
|
|
92
|
+
|
|
93
|
+
/* Mobile: Open from the bottom */
|
|
94
|
+
@media (max-width: 768px) {
|
|
95
|
+
top: auto;
|
|
96
|
+
bottom: 0;
|
|
97
|
+
right: 0;
|
|
98
|
+
width: 100%;
|
|
99
|
+
height: ${({ $mobileHeight }) => $mobileHeight ?? '90%'}; /* Use $mobileHeight or default to 90% */
|
|
100
|
+
transform: ${({ $isOpen }) => ($isOpen ? 'translateY(0)' : 'translateY(100%)')};
|
|
101
|
+
visibility: ${({ $isOpen }) => ($isOpen ? 'visible' : 'hidden')};
|
|
102
|
+
border-top-left-radius: 10px;
|
|
103
|
+
border-top-right-radius: 10px;
|
|
104
|
+
border-bottom-left-radius: 0;
|
|
105
|
+
border-bottom-right-radius: 0;
|
|
106
|
+
}
|
|
107
|
+
`;
|
|
108
|
+
export const StyledOverlay = styled.div `
|
|
109
|
+
position: fixed;
|
|
110
|
+
top: 0;
|
|
111
|
+
left: 0;
|
|
112
|
+
width: 100%;
|
|
113
|
+
height: 100%;
|
|
114
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
115
|
+
opacity: ${({ $isOpen }) => ($isOpen ? 1 : 0)};
|
|
116
|
+
visibility: ${({ $isOpen }) => ($isOpen ? 'visible' : 'hidden')};
|
|
117
|
+
transition: opacity 0.3s ease, visibility 0.3s ease;
|
|
118
|
+
z-index: 1501;
|
|
119
|
+
`;
|
|
120
|
+
export const StyledModalContainer = styled.div `
|
|
121
|
+
position: absolute;
|
|
122
|
+
width: 100%;
|
|
123
|
+
height: calc(100%);//TODO: Centralizzare STATUSBAR_HEIGHT
|
|
124
|
+
top: 0;
|
|
125
|
+
left: 0;
|
|
126
|
+
background-color: transparent;
|
|
127
|
+
z-index: 100;//TODO: Devexpress checkbox DataGrid z-index: 2
|
|
128
|
+
`;
|
|
129
|
+
export const StyledResultTypeContainer = styled.div `
|
|
130
|
+
display: flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
width: fit-content;
|
|
134
|
+
gap: 5px;
|
|
135
|
+
padding: 6px 3px;
|
|
136
|
+
height: 100%;
|
|
137
|
+
border-radius: 3px;
|
|
138
|
+
color: white;
|
|
139
|
+
font-weight: bold;
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
background-color: ${props => props.$resultType === ResultTypes.ERROR ? TMColors.error : props.$resultType === ResultTypes.WARNING ? TMColors.warning : TMColors.success};
|
|
142
|
+
`;
|
|
143
|
+
export const StyledTooltipSeparatorItem = styled.hr `
|
|
144
|
+
width: 75%;
|
|
145
|
+
margin-bottom: 3px;
|
|
146
|
+
`;
|
|
147
|
+
export const StyledTooltipItem = styled.div `
|
|
148
|
+
margin-right: 5px;
|
|
149
|
+
margin-bottom: 3px;
|
|
150
|
+
margin-top: ${props => props.$marginTop ?? '0px'};
|
|
151
|
+
color: ${TMColors.text_normal};
|
|
152
|
+
font-size: ${props => props.$fontSize ?? FontSize.defaultFontSize};
|
|
153
|
+
`;
|
|
154
|
+
export const StyledTooltipContainer = styled.div `
|
|
155
|
+
display: flex;
|
|
156
|
+
flex-direction: column;
|
|
157
|
+
align-items: flex-start;
|
|
158
|
+
z-index: 100; //TODO: Devexpress checkbox DataGrid z-index: 2
|
|
159
|
+
`;
|
|
160
|
+
export const StyledDraggableDiv = styled.div `
|
|
161
|
+
display: flex;
|
|
162
|
+
cursor: move;
|
|
163
|
+
`;
|
|
164
|
+
export const StyledBadge = styled.div `
|
|
165
|
+
display: inline-flex;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: center;
|
|
168
|
+
background-color: ${(props) => props.$backgroundColor};
|
|
169
|
+
color: #fff;
|
|
170
|
+
font-size: 10px;
|
|
171
|
+
padding: 0 6px;
|
|
172
|
+
border-radius: 999em;
|
|
173
|
+
line-height: 16px;
|
|
174
|
+
margin-left: 5px;
|
|
175
|
+
`;
|
|
176
|
+
export const StyledDxGridGroupHeader = styled.div `
|
|
177
|
+
display: flex;
|
|
178
|
+
flex-direction: row;
|
|
179
|
+
align-items: center;
|
|
180
|
+
justify-content: flex-start;
|
|
181
|
+
gap: 5px;
|
|
182
|
+
height: 30px;
|
|
183
|
+
font-weight: bold;
|
|
184
|
+
/* background-image: linear-gradient(white, #E4E9F7); */
|
|
185
|
+
background: ${(props) => props.$backgroundColor ? `linear-gradient(90deg, #f0f4fa, ${props.$backgroundColor}) ` : 'linear-gradient(90deg, #f0f4fa, #135596)'} ;
|
|
186
|
+
`;
|
|
187
|
+
const StyledCellRenderObjectIcon = styled.div `
|
|
188
|
+
display: flex;
|
|
189
|
+
flex-direction: row;
|
|
190
|
+
align-items: center;
|
|
191
|
+
justify-content: center;
|
|
192
|
+
overflow: visible;
|
|
193
|
+
`;
|
|
194
|
+
export const cellRenderObjectIcon = (icon) => (_jsxs(StyledCellRenderObjectIcon, { children: [" ", icon, " "] }));
|
|
195
|
+
export const StyledChartOverlay = styled.div `
|
|
196
|
+
top: 0;
|
|
197
|
+
left: 0;
|
|
198
|
+
right: 0;
|
|
199
|
+
bottom: 0;
|
|
200
|
+
opacity: .6;
|
|
201
|
+
z-index: 999;
|
|
202
|
+
display: flex;
|
|
203
|
+
position: absolute;
|
|
204
|
+
align-items: center;
|
|
205
|
+
justify-content: center;
|
|
206
|
+
background-color: ${(props) => props.$backgroundColor ?? 'black'};
|
|
207
|
+
`;
|
|
208
|
+
export const StyledBtnLoadChart = styled.button `
|
|
209
|
+
display: flex;
|
|
210
|
+
font-size: 18px;
|
|
211
|
+
color: #383b3a;
|
|
212
|
+
padding: 8px 15px;
|
|
213
|
+
border-radius: 5px;
|
|
214
|
+
align-items: center;
|
|
215
|
+
background: #eeeeee;
|
|
216
|
+
transition: all 300ms;
|
|
217
|
+
border: 2px solid black;
|
|
218
|
+
justify-content: center;
|
|
219
|
+
box-shadow: 3px 5px #bbbbbb;
|
|
220
|
+
&:hover {
|
|
221
|
+
color: black;
|
|
222
|
+
cursor: pointer;
|
|
223
|
+
transform: translateY(1px);
|
|
224
|
+
box-shadow: 1px 1px #bbbbbb;
|
|
225
|
+
background-color: ${(props) => props.$backgroundColor ?? 'orange'};
|
|
226
|
+
.iconrefresh {
|
|
227
|
+
transition:.5s;
|
|
228
|
+
transform: rotate(180deg);
|
|
229
|
+
color: black;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
&:active {
|
|
233
|
+
transform: translateY(3px);
|
|
234
|
+
box-shadow: 0 0 1px #bbbbbb;
|
|
235
|
+
}
|
|
236
|
+
`;
|
|
237
|
+
export const StyledFormButtonsContainer = styled.div `
|
|
238
|
+
display: flex;
|
|
239
|
+
justify-content: center;
|
|
240
|
+
align-items: center;
|
|
241
|
+
padding: 10px;
|
|
242
|
+
position: relative;
|
|
243
|
+
width: 100%;
|
|
244
|
+
min-width: max-content;
|
|
245
|
+
gap: 80px;
|
|
246
|
+
`;
|
|
247
|
+
export const StyledToolbarCardContainer = styled.div `
|
|
248
|
+
background-color: #ffffff;
|
|
249
|
+
width: 100%;
|
|
250
|
+
height: 100%;
|
|
251
|
+
display: flex;
|
|
252
|
+
flex-direction: column;
|
|
253
|
+
gap: 10px;
|
|
254
|
+
`;
|
|
255
|
+
const spinAnimation = keyframes `
|
|
256
|
+
0% { transform: rotate(0deg); }
|
|
257
|
+
100% { transform: rotate(360deg); }
|
|
258
|
+
`;
|
|
259
|
+
export const StyledSpinner = styled.div `
|
|
260
|
+
border: 4px solid #f3f3f3; /* Light grey */
|
|
261
|
+
border-top: 4px solid #C2388B; /* Colore primario della toolbar */
|
|
262
|
+
border-radius: 50%;
|
|
263
|
+
width: 40px;
|
|
264
|
+
height: 40px;
|
|
265
|
+
animation: ${spinAnimation} 1s linear infinite;
|
|
266
|
+
`;
|
|
267
|
+
export const StyledLoadingContainer = styled.div `
|
|
268
|
+
position: absolute;
|
|
269
|
+
top: 50%;
|
|
270
|
+
left: 50%;
|
|
271
|
+
transform: translate(-50%, -50%);
|
|
272
|
+
display: flex;
|
|
273
|
+
flex-direction: column;
|
|
274
|
+
align-items: center;
|
|
275
|
+
gap: 15px;
|
|
276
|
+
font-size: 1rem;
|
|
277
|
+
color: #555;
|
|
278
|
+
`;
|
|
279
|
+
//#region Animations
|
|
280
|
+
const scaleAndColorChange = (scaleValue) => keyframes `
|
|
281
|
+
0% { transform: scale(1); color: white; }
|
|
282
|
+
50% { transform: scale(${scaleValue}); color: orange; }
|
|
283
|
+
100% { transform: scale(1); color: white; }
|
|
284
|
+
`;
|
|
285
|
+
const opacityChange = keyframes `
|
|
286
|
+
from { opacity: 0; }
|
|
287
|
+
to { opacity: 1; }
|
|
288
|
+
`;
|
|
289
|
+
export const StyledAnimatedComponentScaleColor = styled.div `
|
|
290
|
+
animation: ${props => scaleAndColorChange(props.$scale ?? 1.5)} 400ms ease-in-out ;
|
|
291
|
+
animation-delay: ${props => props.$delay ?? '0'};
|
|
292
|
+
`;
|
|
293
|
+
export const StyledAnimatedComponentOpacity = styled.div `
|
|
294
|
+
opacity: 0;
|
|
295
|
+
animation: ${opacityChange} 400ms ease forwards normal ;
|
|
296
|
+
animation-delay: ${props => props.$delay ?? '0'};
|
|
297
|
+
`;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
interface TMAccordionProps {
|
|
3
|
+
title: string;
|
|
4
|
+
titleSize?: "Small" | "Medium";
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
defaultOpen?: boolean;
|
|
7
|
+
defaultCollapsed?: boolean;
|
|
8
|
+
firstCounter?: ReactNode;
|
|
9
|
+
secondCounter?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
declare const TMAccordion: React.FC<TMAccordionProps>;
|
|
12
|
+
export default TMAccordion;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import styled from "styled-components";
|
|
4
|
+
import { IconChevronDown, IconChevronRight } from "../../helper";
|
|
5
|
+
import { TMColors } from "../../utils/theme";
|
|
6
|
+
const TMAccordion = ({ title, titleSize = 'Medium', children, defaultOpen = true, defaultCollapsed, firstCounter, secondCounter }) => {
|
|
7
|
+
// Se defaultCollapsed è definito, ha la precedenza su defaultOpen
|
|
8
|
+
const [isOpen, setIsOpen] = useState(defaultCollapsed !== undefined ? !defaultCollapsed : defaultOpen);
|
|
9
|
+
const toggleAccordion = () => {
|
|
10
|
+
setIsOpen(!isOpen);
|
|
11
|
+
};
|
|
12
|
+
const renderTitle = () => (_jsx("span", { className: `tm-accordion-title${titleSize === "Small" ? " small" : ""}`, children: title }));
|
|
13
|
+
return (_jsxs(StyledAccordionContainer, { children: [_jsxs(StyledGroupTemplate, { onClick: toggleAccordion, children: [isOpen ? _jsx(IconChevronDown, { fontSize: 20 }) : _jsx(IconChevronRight, { fontSize: 20 }), renderTitle(), firstCounter && _jsx("span", { style: { marginLeft: 8 }, children: firstCounter }), secondCounter && _jsx("span", { style: { marginLeft: 8 }, children: secondCounter })] }), isOpen && (_jsx(StyledAccordionContent, { children: children }))] }));
|
|
14
|
+
};
|
|
15
|
+
export default TMAccordion;
|
|
16
|
+
//#region Styled Components
|
|
17
|
+
const StyledAccordionContainer = styled.div `
|
|
18
|
+
margin-bottom: 10px;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
`;
|
|
21
|
+
const StyledGroupTemplate = styled.div `
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
background: none !important;
|
|
24
|
+
border: none !important;
|
|
25
|
+
box-shadow: none !important;
|
|
26
|
+
padding: 10px;
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: row;
|
|
29
|
+
gap: 5px;
|
|
30
|
+
align-items: center;
|
|
31
|
+
font-size: 1rem;
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
color: ${() => TMColors.primaryColor};
|
|
34
|
+
position: relative;
|
|
35
|
+
|
|
36
|
+
.tm-accordion-title, .tm-accordion-title.small {
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
margin: 0;
|
|
39
|
+
}
|
|
40
|
+
.tm-accordion-title.small {
|
|
41
|
+
font-size: 1rem;
|
|
42
|
+
}
|
|
43
|
+
.tm-accordion-title {
|
|
44
|
+
font-size: 1.25rem;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&::after {
|
|
48
|
+
content: '';
|
|
49
|
+
display: block;
|
|
50
|
+
width: 90%;
|
|
51
|
+
margin: 0 auto;
|
|
52
|
+
border-bottom: 1px solid #00A99D;
|
|
53
|
+
margin-top: 8px;
|
|
54
|
+
position: absolute;
|
|
55
|
+
left: 5%;
|
|
56
|
+
bottom: 0;
|
|
57
|
+
}
|
|
58
|
+
`;
|
|
59
|
+
const StyledAccordionContent = styled.div `
|
|
60
|
+
padding: 10px;
|
|
61
|
+
background-color: #fff; /* White background for the content area */
|
|
62
|
+
`;
|
|
@@ -0,0 +1,73 @@
|
|
|
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;
|
|
@@ -0,0 +1,77 @@
|
|
|
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;
|
|
@@ -0,0 +1,25 @@
|
|
|
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;
|