@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,61 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useState } from 'react';
|
|
3
|
+
import styled from 'styled-components';
|
|
4
|
+
import { AccessLevelsEx, DcmtTypeListCacheService, SDK_Globals } from '@topconsultnpm/sdk-ts';
|
|
5
|
+
import { ScrollView } from 'devextreme-react';
|
|
6
|
+
import { TMColors } from '../../utils/theme';
|
|
7
|
+
import TMSpinner from '../base/TMSpinner';
|
|
8
|
+
import { TMExceptionBoxManager } from '../base/TMPopUp';
|
|
9
|
+
const StyledTMSidebarContainer = styled.div `
|
|
10
|
+
top: ${props => props.$top || '53px'};
|
|
11
|
+
left: ${props => props.$left || '0px'};
|
|
12
|
+
width: ${props => props.$width || '50px'};
|
|
13
|
+
height: ${props => props.$height || 'calc(100% - 88px)'};
|
|
14
|
+
background: ${() => TMColors.primaryColor} 0% 0% no-repeat padding-box;
|
|
15
|
+
box-shadow: 0px 3px 6px #00000029;
|
|
16
|
+
border-radius: 0;
|
|
17
|
+
opacity: 1;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
align-items: center;
|
|
22
|
+
padding: 10px 0px;
|
|
23
|
+
position: absolute;
|
|
24
|
+
border-top-right-radius: 10px;
|
|
25
|
+
border-bottom-right-radius: 10px;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
`;
|
|
28
|
+
const FixedBottomContainer = styled.div `
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
align-items: center;
|
|
32
|
+
position: relative;
|
|
33
|
+
bottom: 10px;
|
|
34
|
+
`;
|
|
35
|
+
const TMSidebar = ({ items, height, borderRightRadius, left, top, width }) => {
|
|
36
|
+
const [canArchive, setCanArhive] = useState(false);
|
|
37
|
+
const [canSearch, setCanSearch] = useState(false);
|
|
38
|
+
useEffect(() => {
|
|
39
|
+
getAllDcmtTypesAsync();
|
|
40
|
+
}, []);
|
|
41
|
+
const getAllDcmtTypesAsync = async () => {
|
|
42
|
+
try {
|
|
43
|
+
TMSpinner.show();
|
|
44
|
+
const res = await DcmtTypeListCacheService.GetAllWithoutMetadataAsync();
|
|
45
|
+
if (!res)
|
|
46
|
+
return;
|
|
47
|
+
if (res.some(r => r.perm?.canArchive === AccessLevelsEx.Yes))
|
|
48
|
+
setCanArhive(true);
|
|
49
|
+
if (res.some(r => r.perm?.canSearch === AccessLevelsEx.Yes))
|
|
50
|
+
setCanSearch(true);
|
|
51
|
+
}
|
|
52
|
+
catch (e) {
|
|
53
|
+
TMExceptionBoxManager.show({ exception: e });
|
|
54
|
+
}
|
|
55
|
+
finally {
|
|
56
|
+
TMSpinner.hide();
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
return (_jsxs(StyledTMSidebarContainer, { "$borderRightRadius": borderRightRadius, "$left": left, "$top": top, "$width": width, "$appName": SDK_Globals.appModule, "$height": height, children: [_jsx(ScrollView, { height: "100%", width: "100%", style: { padding: "5px 0 0 5px" }, useNative: true, children: items.filter(item => item.props.type !== 'app') }), _jsx(FixedBottomContainer, { children: items.filter(item => item.props.type === 'app') })] }));
|
|
60
|
+
};
|
|
61
|
+
export default TMSidebar;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AppRouteType } from './TMSidebar';
|
|
3
|
+
export interface ITMSidebarItem {
|
|
4
|
+
name: any;
|
|
5
|
+
path: string;
|
|
6
|
+
type?: AppRouteType;
|
|
7
|
+
isSelected: boolean;
|
|
8
|
+
icon: any;
|
|
9
|
+
badgeNumber?: number;
|
|
10
|
+
onClick?: (e: ITMSidebarItem) => void;
|
|
11
|
+
isAppIcon?: boolean;
|
|
12
|
+
tooltipContent?: React.ReactNode | string;
|
|
13
|
+
}
|
|
14
|
+
declare const TMSidebarItem: React.FunctionComponent<ITMSidebarItem>;
|
|
15
|
+
export default TMSidebarItem;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import TMTooltip from '../base/TMTooltip';
|
|
4
|
+
import { SDK_Globals } from '@topconsultnpm/sdk-ts';
|
|
5
|
+
import { TMColors } from '../../utils/theme';
|
|
6
|
+
var ApplicationThemeColor;
|
|
7
|
+
(function (ApplicationThemeColor) {
|
|
8
|
+
ApplicationThemeColor["SURFER"] = "#1d6f42";
|
|
9
|
+
ApplicationThemeColor["ORCHESTRATOR"] = "#135596";
|
|
10
|
+
// DESIGNER = '#6b173e'
|
|
11
|
+
ApplicationThemeColor["DESIGNER"] = "#482234";
|
|
12
|
+
})(ApplicationThemeColor || (ApplicationThemeColor = {}));
|
|
13
|
+
const StyledTMSidebarItemContainer = styled.div `
|
|
14
|
+
margin-bottom: 10px;
|
|
15
|
+
background-color: transparent;
|
|
16
|
+
padding: 5px 0 0 5px;
|
|
17
|
+
transition: all 200ms ease;
|
|
18
|
+
user-select: none;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
color: ${(props) => props.$isSelected ? TMColors.primaryColor : '#fff'};
|
|
21
|
+
background-color: ${props => props.$isSelected ? 'white' : 'transparent'} ;
|
|
22
|
+
border-radius: 3px;
|
|
23
|
+
width: 32px;
|
|
24
|
+
height: 32px;
|
|
25
|
+
|
|
26
|
+
p {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:hover {
|
|
31
|
+
background-color: ${props => !props.$isApp && 'white'};
|
|
32
|
+
color: ${props => !props.$isApp && TMColors.primaryColor};
|
|
33
|
+
}
|
|
34
|
+
`;
|
|
35
|
+
const TMSidebarItem = (props) => {
|
|
36
|
+
let app = SDK_Globals.appModule;
|
|
37
|
+
return (_jsx(TMTooltip, { hideAfterDelay: true, content: props.tooltipContent ?? props.name, children: _jsxs(StyledTMSidebarItemContainer, { "$app": app, "$isApp": props.isAppIcon, onClick: () => props.onClick?.(props), style: { position: 'relative' }, "$isSelected": props.isSelected, children: [_jsxs("div", { children: [_jsx("i", { children: props.icon }), _jsx("p", { children: props.name })] }), props.badgeNumber > 0 && _jsx("div", { style: { width: '22px', height: '22px', backgroundColor: '#f09c0a', position: 'absolute', borderRadius: '22px', top: -6, right: -6, color: 'white', display: 'flex', alignItems: 'center', justifyContent: 'center', fontSize: '1rem', fontWeight: 'bold' }, children: props.badgeNumber })] }) }));
|
|
38
|
+
};
|
|
39
|
+
export default TMSidebarItem;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DataListViewModes } from '@topconsultnpm/sdk-ts';
|
|
2
|
+
import { DataGridTypes } from 'devextreme-react/cjs/data-grid';
|
|
3
|
+
interface ITMDataListItemViewerProps {
|
|
4
|
+
dataListId?: number;
|
|
5
|
+
value?: string | Date | number;
|
|
6
|
+
viewMode?: DataListViewModes;
|
|
7
|
+
}
|
|
8
|
+
declare const TMDataListItemViewer: ({ dataListId, value, viewMode }: ITMDataListItemViewerProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default TMDataListItemViewer;
|
|
10
|
+
export declare const cellRenderDataListItem: (data: DataGridTypes.ColumnCellTemplateData, dataListId?: number, viewMode?: DataListViewModes) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useState } from 'react';
|
|
3
|
+
import { DataListCacheService, DataListViewModes } from '@topconsultnpm/sdk-ts';
|
|
4
|
+
import { IconWarning, SDKUI_Localizator, TMImageLibrary } from '../../helper';
|
|
5
|
+
import { StyledDivHorizontal } from '../base/Styled';
|
|
6
|
+
import TMTooltip from '../base/TMTooltip';
|
|
7
|
+
import { TMColors } from '../../utils/theme';
|
|
8
|
+
import { TMExceptionBoxManager } from '../base/TMPopUp';
|
|
9
|
+
import { FormulaHelper } from '../editors/TMFormulaEditor';
|
|
10
|
+
const TMDataListItemViewer = ({ dataListId, value, viewMode = DataListViewModes.ImageAndDescription }) => {
|
|
11
|
+
const [dataListItem, setDataListItem] = useState();
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
if (!dataListId || value === undefined || value === null) {
|
|
14
|
+
setDataListItem(undefined);
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
let stringValue;
|
|
18
|
+
if (value instanceof Date) {
|
|
19
|
+
stringValue = value.toISOString();
|
|
20
|
+
}
|
|
21
|
+
else if (typeof value === 'number') {
|
|
22
|
+
stringValue = value.toString();
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
stringValue = value;
|
|
26
|
+
}
|
|
27
|
+
DataListCacheService.GetAsync(dataListId).then((dl) => { setDataListItem(dl?.items?.find(o => o.value == stringValue)); }).catch((err) => { TMExceptionBoxManager.show({ exception: err }); });
|
|
28
|
+
}, [dataListId, value]);
|
|
29
|
+
let showIcon = viewMode != DataListViewModes.Description;
|
|
30
|
+
const getIcon = () => {
|
|
31
|
+
if (!showIcon)
|
|
32
|
+
return null;
|
|
33
|
+
if (value === undefined || value === null)
|
|
34
|
+
return null;
|
|
35
|
+
let stringValue;
|
|
36
|
+
if (value instanceof Date) {
|
|
37
|
+
stringValue = value.toISOString();
|
|
38
|
+
}
|
|
39
|
+
else if (typeof value === 'number') {
|
|
40
|
+
stringValue = value.toString();
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
stringValue = value;
|
|
44
|
+
}
|
|
45
|
+
if (FormulaHelper.isFormula(stringValue))
|
|
46
|
+
return null;
|
|
47
|
+
return dataListItem ? _jsx(TMImageLibrary, { imageID: dataListItem.imageID }) : _jsx(IconWarning, { color: TMColors.warning });
|
|
48
|
+
};
|
|
49
|
+
const getDescription = () => {
|
|
50
|
+
if (!dataListId)
|
|
51
|
+
return undefined;
|
|
52
|
+
if (value === undefined || value === null)
|
|
53
|
+
return undefined;
|
|
54
|
+
let displayValue;
|
|
55
|
+
if (value instanceof Date) {
|
|
56
|
+
displayValue = value.toLocaleDateString();
|
|
57
|
+
}
|
|
58
|
+
else if (typeof value === 'number') {
|
|
59
|
+
displayValue = value.toString();
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
displayValue = value;
|
|
63
|
+
}
|
|
64
|
+
return dataListItem ? dataListItem.name : displayValue;
|
|
65
|
+
};
|
|
66
|
+
return (_jsx(TMTooltip, { content: dataListItem ? dataListItem.value : SDKUI_Localizator.ValueNotPresent, parentStyle: { width: '100%' }, childStyle: { width: '100%' }, children: _jsxs(StyledDivHorizontal, { style: { width: '100%' }, children: [getIcon(), _jsx("p", { style: {
|
|
67
|
+
textAlign: 'left',
|
|
68
|
+
marginLeft: showIcon ? '5px' : '',
|
|
69
|
+
opacity: dataListItem ? 1 : 0.5,
|
|
70
|
+
whiteSpace: 'nowrap',
|
|
71
|
+
overflow: 'hidden',
|
|
72
|
+
textOverflow: 'ellipsis',
|
|
73
|
+
flexGrow: 1,
|
|
74
|
+
minWidth: 0
|
|
75
|
+
}, children: getDescription() })] }) }));
|
|
76
|
+
};
|
|
77
|
+
export default TMDataListItemViewer;
|
|
78
|
+
export const cellRenderDataListItem = (data, dataListId, viewMode) => {
|
|
79
|
+
return (_jsx(TMDataListItemViewer, { dataListId: dataListId, value: data.value, viewMode: viewMode }));
|
|
80
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ITopMediaSession, LayoutModes, MetadataDescriptor } from '@topconsultnpm/sdk-ts';
|
|
3
|
+
import { TID_MID } from '../../ts';
|
|
4
|
+
import { DataGridTypes } from 'devextreme-react/cjs/data-grid';
|
|
5
|
+
export interface ITMMidViewerProps {
|
|
6
|
+
tmSession?: ITopMediaSession;
|
|
7
|
+
tid_mid: TID_MID | undefined;
|
|
8
|
+
inputMd?: MetadataDescriptor;
|
|
9
|
+
color?: string;
|
|
10
|
+
showCompleteName?: boolean;
|
|
11
|
+
showIcon?: boolean;
|
|
12
|
+
showId?: boolean;
|
|
13
|
+
noneSelectionText?: string;
|
|
14
|
+
isMetadataSelected?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const TMMidViewer: React.FC<ITMMidViewerProps>;
|
|
17
|
+
interface ITMMetadataIcon {
|
|
18
|
+
tid: number | undefined;
|
|
19
|
+
md: MetadataDescriptor | undefined;
|
|
20
|
+
color?: string;
|
|
21
|
+
layoutMode?: LayoutModes;
|
|
22
|
+
isMetadataSelected?: boolean;
|
|
23
|
+
elementStyle?: React.CSSProperties;
|
|
24
|
+
}
|
|
25
|
+
export declare const TMMetadataIcon: ({ tid, md, color, layoutMode, isMetadataSelected, elementStyle }: ITMMetadataIcon) => import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
+
interface ITMMetadataTooltip {
|
|
27
|
+
tid: number | undefined;
|
|
28
|
+
md: MetadataDescriptor | undefined;
|
|
29
|
+
color?: string;
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
layoutMode?: LayoutModes;
|
|
32
|
+
}
|
|
33
|
+
export declare const TMMetadataTooltip: React.FC<ITMMetadataTooltip>;
|
|
34
|
+
export declare const cellRenderMID: (data: DataGridTypes.ColumnCellTemplateData, noneSelectionText?: string, tid?: number) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export declare const getDisplayAlias: (dcmtTypeName: string | undefined, alias: string | undefined) => string | undefined;
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useState } from 'react';
|
|
3
|
+
import { IconLocked, IconMetadata_Computed, IconMetadata_DataList, IconMetadata_Date, IconMetadata_DynamicDataList, IconMetadata_Numerator, IconMetadata_Numeric, IconMetadata_Special, IconMetadata_Text, IconMetadata_User, LocalizeMetadataFormats, SDKUI_Localizator, getCompleteMetadataName, getTIDByMID } from '../../helper';
|
|
4
|
+
import { DcmtTypeListCacheService, LayoutModes, MetadataDataDomains, MetadataDataTypes, MetadataFormats, ObjectClasses, SDK_Globals } from '@topconsultnpm/sdk-ts';
|
|
5
|
+
import { StyledDivHorizontal, StyledTooltipContainer, StyledTooltipItem, StyledTooltipSeparatorItem } from '../base/Styled';
|
|
6
|
+
import TMTooltip from '../base/TMTooltip';
|
|
7
|
+
import { TMColors } from '../../utils/theme';
|
|
8
|
+
export const TMMidViewer = ({ isMetadataSelected = false, color, tmSession, tid_mid, inputMd, showCompleteName, showIcon = false, showId = false, noneSelectionText = `<${SDKUI_Localizator.NoneSelection}>` }) => {
|
|
9
|
+
const [md, setMd] = useState();
|
|
10
|
+
const [dcmtTypeName, setDcmtTypeName] = useState();
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
if (inputMd) {
|
|
13
|
+
setMd(inputMd);
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
if (!tid_mid?.tid || tid_mid.tid <= 0) {
|
|
17
|
+
setMd(undefined);
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
//Passiamo did = undefined, perché è già in cache
|
|
21
|
+
DcmtTypeListCacheService.GetWithNotGrantedAsync(tid_mid.tid, undefined, undefined, true, tmSession).then((dtd) => {
|
|
22
|
+
setDcmtTypeName(getDisplayAlias(SDK_Globals.useLocalizedName ? dtd?.nameLoc : dtd?.name, tid_mid.aliasTID));
|
|
23
|
+
let md = dtd?.metadata?.find(o => o.id == tid_mid.mid);
|
|
24
|
+
setMd(md);
|
|
25
|
+
});
|
|
26
|
+
}, [tid_mid, inputMd]);
|
|
27
|
+
const displayName = () => {
|
|
28
|
+
if (!md)
|
|
29
|
+
return noneSelectionText;
|
|
30
|
+
if (showCompleteName)
|
|
31
|
+
return getCompleteMetadataName(dcmtTypeName, SDK_Globals.useLocalizedName ? md.nameLoc : md.name);
|
|
32
|
+
return SDK_Globals.useLocalizedName ? md.nameLoc : md.name;
|
|
33
|
+
};
|
|
34
|
+
return (_jsxs(StyledDivHorizontal, { style: {
|
|
35
|
+
whiteSpace: 'nowrap',
|
|
36
|
+
overflow: 'hidden',
|
|
37
|
+
textOverflow: 'ellipsis',
|
|
38
|
+
color: md?.isRequired == 1 ? 'red' : color,
|
|
39
|
+
}, children: [showIcon && _jsx(TMMetadataIcon, { isMetadataSelected: isMetadataSelected, tid: tid_mid?.tid, md: md, color: color }), _jsx("p", { title: displayName(), style: {
|
|
40
|
+
textAlign: 'left',
|
|
41
|
+
marginLeft: showIcon ? '5px' : '',
|
|
42
|
+
whiteSpace: 'nowrap',
|
|
43
|
+
overflow: 'hidden',
|
|
44
|
+
textOverflow: 'ellipsis'
|
|
45
|
+
}, children: displayName() }), showId && _jsx("p", { style: { padding: '0px 3px' }, children: `(MID: ${tid_mid?.mid})` })] }));
|
|
46
|
+
};
|
|
47
|
+
export const TMMetadataIcon = ({ tid, md, color, layoutMode = LayoutModes.Update, isMetadataSelected = false, elementStyle }) => {
|
|
48
|
+
let selectedMetadataStyle = { borderBottom: isMetadataSelected ? `thick solid ${TMColors.text_normal}` : 'none', height: 'max-content' };
|
|
49
|
+
if (!md)
|
|
50
|
+
return null;
|
|
51
|
+
let isNumeratorInArk = md.dataDomain === MetadataDataDomains.Numerator && layoutMode === LayoutModes.Ark;
|
|
52
|
+
let iconColor = md.isRequired === 1 && !isNumeratorInArk ? TMColors.error : (color ?? TMColors.text_normal);
|
|
53
|
+
let icon = null;
|
|
54
|
+
if (md.objectClass === ObjectClasses.Permission)
|
|
55
|
+
icon = _jsx(IconLocked, { fontSize: 16 });
|
|
56
|
+
else {
|
|
57
|
+
switch (md.dataDomain) {
|
|
58
|
+
case MetadataDataDomains.Computed:
|
|
59
|
+
icon = _jsx(IconMetadata_Computed, { style: selectedMetadataStyle, fontSize: 16, color: iconColor });
|
|
60
|
+
break;
|
|
61
|
+
case MetadataDataDomains.DataList:
|
|
62
|
+
icon = _jsx(IconMetadata_DataList, { style: selectedMetadataStyle, fontSize: 16, color: iconColor });
|
|
63
|
+
break;
|
|
64
|
+
case MetadataDataDomains.DynamicDataList:
|
|
65
|
+
icon = _jsx(IconMetadata_DynamicDataList, { style: selectedMetadataStyle, fontSize: 16, color: iconColor });
|
|
66
|
+
break;
|
|
67
|
+
case MetadataDataDomains.Numerator:
|
|
68
|
+
icon = _jsx(IconMetadata_Numerator, { style: selectedMetadataStyle, fontSize: 16, color: TMColors.primaryColor });
|
|
69
|
+
break;
|
|
70
|
+
case MetadataDataDomains.Special:
|
|
71
|
+
icon = _jsx(IconMetadata_Special, { style: selectedMetadataStyle, fontSize: 16, color: iconColor });
|
|
72
|
+
break;
|
|
73
|
+
case MetadataDataDomains.UserID:
|
|
74
|
+
icon = _jsx(IconMetadata_User, { style: selectedMetadataStyle, fontSize: 16, color: iconColor });
|
|
75
|
+
break;
|
|
76
|
+
default:
|
|
77
|
+
switch (md.dataType) {
|
|
78
|
+
case MetadataDataTypes.Varchar:
|
|
79
|
+
icon = _jsx(IconMetadata_Text, { style: selectedMetadataStyle, fontSize: 16, color: iconColor });
|
|
80
|
+
break;
|
|
81
|
+
case MetadataDataTypes.Number:
|
|
82
|
+
icon = _jsx(IconMetadata_Numeric, { style: selectedMetadataStyle, fontSize: 16, color: iconColor });
|
|
83
|
+
break;
|
|
84
|
+
case MetadataDataTypes.DateTime:
|
|
85
|
+
icon = _jsx(IconMetadata_Date, { style: selectedMetadataStyle, fontSize: 16, color: iconColor });
|
|
86
|
+
break;
|
|
87
|
+
default:
|
|
88
|
+
icon = _jsx(_Fragment, {});
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return (_jsx(_Fragment, { children: icon
|
|
95
|
+
? _jsx(TMMetadataTooltip, { tid: tid, md: md, layoutMode: layoutMode, color: color, children: icon })
|
|
96
|
+
: null }));
|
|
97
|
+
};
|
|
98
|
+
export const TMMetadataTooltip = ({ tid, md, color, children, layoutMode = LayoutModes.Update }) => {
|
|
99
|
+
const _setDefaultValueForUI = (defaultValue) => {
|
|
100
|
+
if (!defaultValue)
|
|
101
|
+
return defaultValue;
|
|
102
|
+
if (!defaultValue.includes("TM_GetViewLink"))
|
|
103
|
+
return defaultValue;
|
|
104
|
+
return "=TM_GetViewLink(...)";
|
|
105
|
+
};
|
|
106
|
+
let isNumeratorInArk = md?.dataDomain === MetadataDataDomains.Numerator && layoutMode === LayoutModes.Ark;
|
|
107
|
+
const renderTooltipContent = (tid, md) => {
|
|
108
|
+
return (!md ? null
|
|
109
|
+
: _jsxs(StyledTooltipContainer, { children: [_jsx(StyledTooltipItem, { "$color": color, children: `${SDK_Globals.useLocalizedName ? md.nameLoc : md.name} (TID: ${tid}, MID: ${md.id})` }), md.description && _jsx(StyledTooltipItem, { "$color": color, children: md.description }), _jsx(StyledTooltipSeparatorItem, { color: color }), md.objectClass === ObjectClasses.Permission && _jsx(StyledTooltipItem, { style: { fontWeight: 600 }, children: 'Tipo documento NON autorizzato' }), _jsx(StyledTooltipSeparatorItem, { color: color }), _jsxs(StyledTooltipItem, { "$color": color, children: [md.dataType, " ", md.dataType == MetadataDataTypes.Varchar ? `(${md.length ?? 0})` : md.dataType == MetadataDataTypes.Number ? `(${md.length ?? 0},${md.scale ?? 0})` : '', md.isPrimaryKey === 1 ? ' (PK)' : ''] }), _jsx(StyledTooltipItem, { style: { color: md.isRequired === 1 && !isNumeratorInArk ? TMColors.error : color }, children: md.isRequired === 1 && !isNumeratorInArk ? SDKUI_Localizator.Required : SDKUI_Localizator.RequiredNOT }), md.dataDomain && _jsx(StyledTooltipItem, { "$color": color, children: md.dataDomain }), md.isLexProt == 1 && _jsx(StyledTooltipItem, { "$color": color, children: `${SDKUI_Localizator.LexProt}: ${SDKUI_Localizator.Yes}` }), md.isLexProt == 2 && _jsx(StyledTooltipItem, { "$color": color, children: `${SDKUI_Localizator.LexProt}: ${SDKUI_Localizator.MetadataFlag}` }), md.isLexProt == 3 && _jsx(StyledTooltipItem, { "$color": color, children: `${SDKUI_Localizator.LexProt}: ${SDKUI_Localizator.Yes} (${SDKUI_Localizator.MetadataFlag})` }), md.isFreeSearchInput && _jsx(StyledTooltipItem, { "$color": color, children: `${SDKUI_Localizator.Search_Free}: ${SDKUI_Localizator.Yes}` }), md.isSpecialSearchOutput && _jsx(StyledTooltipItem, { "$color": color, children: `${SDKUI_Localizator.Search_Special}: ${SDKUI_Localizator.Yes}` }), md.format?.format && md.format.format != MetadataFormats.None && _jsx(StyledTooltipItem, { color: color, children: `${SDKUI_Localizator.Format}: ${LocalizeMetadataFormats(md.format.format)}` }), md.defaultValue && _jsx(StyledTooltipItem, { "$color": color, children: `${SDKUI_Localizator.Default}: ${_setDefaultValueForUI(md.defaultValue)}` }), md.fromTID && _jsx(StyledTooltipItem, { "$color": color, children: `${SDKUI_Localizator.MetadataRoot}: ${md.isRootMID == 1 ? SDKUI_Localizator.Yes : SDKUI_Localizator.No}` }), md.templateMID && _jsx(StyledTooltipItem, { "$color": color, children: `${SDKUI_Localizator.Template}: ${md.templateMID}` }), md.perm && _jsxs(_Fragment, { children: [_jsx(StyledTooltipItem, { "$color": 'primary', "$marginTop": '5px', children: SDKUI_Localizator.Perms }), _jsx(StyledTooltipSeparatorItem, { color: color }), _jsx(StyledTooltipItem, { "$color": color, children: `${SDKUI_Localizator.Archive}: ${md.perm.canArchive ?? SDKUI_Localizator.No}` }), _jsx(StyledTooltipItem, { "$color": color, children: `${SDKUI_Localizator.View_Metadato}: ${md.perm.canView ?? SDKUI_Localizator.No}` }), _jsx(StyledTooltipItem, { "$color": color, children: `${SDKUI_Localizator.Search}: ${md.perm.canSearch ?? SDKUI_Localizator.No}` }), _jsx(StyledTooltipItem, { "$color": color, children: `${SDKUI_Localizator.Update}: ${md.perm.canUpdate ?? SDKUI_Localizator.No}` })] })] }));
|
|
110
|
+
};
|
|
111
|
+
return (_jsx("div", { style: { pointerEvents: 'all' }, children: _jsx(TMTooltip, { content: renderTooltipContent(tid, md), children: children }) }));
|
|
112
|
+
};
|
|
113
|
+
export const cellRenderMID = (data, noneSelectionText, tid) => {
|
|
114
|
+
let mid = data.value;
|
|
115
|
+
let calcTid = !tid ? getTIDByMID(mid) : tid;
|
|
116
|
+
return (_jsx(TMMidViewer, { tid_mid: { tid: calcTid, mid: mid }, noneSelectionText: noneSelectionText }));
|
|
117
|
+
};
|
|
118
|
+
export const getDisplayAlias = (dcmtTypeName, alias) => {
|
|
119
|
+
if (!alias)
|
|
120
|
+
return dcmtTypeName;
|
|
121
|
+
let tokens = alias.split('_');
|
|
122
|
+
if (tokens.length != 2)
|
|
123
|
+
return dcmtTypeName;
|
|
124
|
+
let num = tokens[1].replace("A", "");
|
|
125
|
+
if (!num)
|
|
126
|
+
return dcmtTypeName;
|
|
127
|
+
return `${dcmtTypeName}_${num}`;
|
|
128
|
+
};
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DcmtTypeDescriptor, ITopMediaSession } from '@topconsultnpm/sdk-ts';
|
|
3
|
+
import { DataGridTypes } from 'devextreme-react/cjs/data-grid';
|
|
4
|
+
export declare enum ImageIDList {
|
|
5
|
+
arrow_001 = "arrow_001",
|
|
6
|
+
arrow_002 = "arrow_002",
|
|
7
|
+
arrow_004 = "arrow_004",
|
|
8
|
+
arrow_005 = "arrow_005",
|
|
9
|
+
arrow_006 = "arrow_006",
|
|
10
|
+
arrow_007 = "arrow_007",
|
|
11
|
+
arrow_008 = "arrow_008",
|
|
12
|
+
arrow_009 = "arrow_009",
|
|
13
|
+
arrow_010 = "arrow_010",
|
|
14
|
+
arrow_011 = "arrow_011",
|
|
15
|
+
arrow_012 = "arrow_012",
|
|
16
|
+
book_001 = "book_001",
|
|
17
|
+
book_002 = "book_002",
|
|
18
|
+
book_003 = "book_003",
|
|
19
|
+
book_004 = "book_004",
|
|
20
|
+
book_005 = "book_005",
|
|
21
|
+
book_006 = "book_006",
|
|
22
|
+
book_007 = "book_007",
|
|
23
|
+
clock_001 = "clock_001",
|
|
24
|
+
clock_002 = "clock_002",
|
|
25
|
+
clock_003 = "clock_003",
|
|
26
|
+
cube_001 = "cube_001",
|
|
27
|
+
cube_002 = "cube_002",
|
|
28
|
+
cube_003 = "cube_003",
|
|
29
|
+
dcmt_001 = "dcmt_001",
|
|
30
|
+
dcmt_002 = "dcmt_002",
|
|
31
|
+
dcmt_003 = "dcmt_003",
|
|
32
|
+
dcmt_004 = "dcmt_004",
|
|
33
|
+
dcmt_005 = "dcmt_005",
|
|
34
|
+
dcmt_006 = "dcmt_006",
|
|
35
|
+
dcmt_007 = "dcmt_007",
|
|
36
|
+
dcmt_008 = "dcmt_008",
|
|
37
|
+
emoticon_001 = "emoticon_001",
|
|
38
|
+
emoticon_002 = "emoticon_002",
|
|
39
|
+
emoticon_003 = "emoticon_003",
|
|
40
|
+
emoticon_004 = "emoticon_004",
|
|
41
|
+
fld_001 = "fld_001",
|
|
42
|
+
fld_002 = "fld_002",
|
|
43
|
+
fld_003 = "fld_003",
|
|
44
|
+
fld_004 = "fld_004",
|
|
45
|
+
fld_005 = "fld_005",
|
|
46
|
+
fld_006 = "fld_006",
|
|
47
|
+
fld_007 = "fld_007",
|
|
48
|
+
fld_008 = "fld_008",
|
|
49
|
+
fld_009 = "fld_009",
|
|
50
|
+
fld_010 = "fld_010",
|
|
51
|
+
fld_011 = "fld_011",
|
|
52
|
+
fld_012 = "fld_012",
|
|
53
|
+
fld_013 = "fld_013",
|
|
54
|
+
fld_014 = "fld_014",
|
|
55
|
+
fld_015 = "fld_015",
|
|
56
|
+
fld_016 = "fld_016",
|
|
57
|
+
fld_017 = "fld_017",
|
|
58
|
+
fld_018 = "fld_018",
|
|
59
|
+
fld_019 = "fld_019",
|
|
60
|
+
fld_020 = "fld_020",
|
|
61
|
+
fld_021 = "fld_021",
|
|
62
|
+
fld_022 = "fld_022",
|
|
63
|
+
fld_023 = "fld_023",
|
|
64
|
+
fld_024 = "fld_024",
|
|
65
|
+
fld_025 = "fld_025",
|
|
66
|
+
fld_026 = "fld_026",
|
|
67
|
+
fld_027 = "fld_027",
|
|
68
|
+
fld_028 = "fld_028",
|
|
69
|
+
fld_029 = "fld_029",
|
|
70
|
+
fld_030 = "fld_030",
|
|
71
|
+
fld_031 = "fld_031",
|
|
72
|
+
fld_032 = "fld_032",
|
|
73
|
+
fld_033 = "fld_033",
|
|
74
|
+
gen_001 = "gen_001",
|
|
75
|
+
gen_002 = "gen_002",
|
|
76
|
+
gen_003 = "gen_003",
|
|
77
|
+
gen_004 = "gen_004",
|
|
78
|
+
gen_005 = "gen_005",
|
|
79
|
+
gen_006 = "gen_006",
|
|
80
|
+
gen_007 = "gen_007",
|
|
81
|
+
gen_008 = "gen_008",
|
|
82
|
+
gen_009 = "gen_009",
|
|
83
|
+
gen_010 = "gen_010",
|
|
84
|
+
gen_011 = "gen_011",
|
|
85
|
+
gen_012 = "gen_012",
|
|
86
|
+
gen_013 = "gen_013",
|
|
87
|
+
gen_014 = "gen_014",
|
|
88
|
+
gen_015 = "gen_015",
|
|
89
|
+
gen_016 = "gen_016",
|
|
90
|
+
gen_017 = "gen_017",
|
|
91
|
+
gen_018 = "gen_018",
|
|
92
|
+
gen_019 = "gen_019",
|
|
93
|
+
gen_020 = "gen_020",
|
|
94
|
+
gen_021 = "gen_021",
|
|
95
|
+
gen_022 = "gen_022",
|
|
96
|
+
gen_023 = "gen_023",
|
|
97
|
+
gen_024 = "gen_024",
|
|
98
|
+
gen_025 = "gen_025",
|
|
99
|
+
gen_026 = "gen_026",
|
|
100
|
+
gen_027 = "gen_027",
|
|
101
|
+
gen_028 = "gen_028",
|
|
102
|
+
gen_029 = "gen_029",
|
|
103
|
+
gen_030 = "gen_030",
|
|
104
|
+
gen_031 = "gen_031",
|
|
105
|
+
gen_032 = "gen_032",
|
|
106
|
+
gen_033 = "gen_033",
|
|
107
|
+
gen_034 = "gen_034",
|
|
108
|
+
gen_035 = "gen_035",
|
|
109
|
+
gen_036 = "gen_036",
|
|
110
|
+
gen_037 = "gen_037",
|
|
111
|
+
gen_038 = "gen_038",
|
|
112
|
+
gen_039 = "gen_039",
|
|
113
|
+
gen_040 = "gen_040",
|
|
114
|
+
gen_041 = "gen_041",
|
|
115
|
+
gen_042 = "gen_042",
|
|
116
|
+
gen_043 = "gen_043",
|
|
117
|
+
gen_044 = "gen_044",
|
|
118
|
+
gen_045 = "gen_045",
|
|
119
|
+
gen_046 = "gen_046",
|
|
120
|
+
gen_047 = "gen_047",
|
|
121
|
+
gen_048 = "gen_048",
|
|
122
|
+
gen_049 = "gen_049",
|
|
123
|
+
gen_050 = "gen_050",
|
|
124
|
+
gen_051 = "gen_051",
|
|
125
|
+
gen_052 = "gen_052",
|
|
126
|
+
hand_001 = "hand_001",
|
|
127
|
+
hand_002 = "hand_002",
|
|
128
|
+
hand_003 = "hand_003",
|
|
129
|
+
hand_004 = "hand_004",
|
|
130
|
+
hand_005 = "hand_005",
|
|
131
|
+
hand_006 = "hand_006",
|
|
132
|
+
law_001 = "law_001",
|
|
133
|
+
law_002 = "law_002",
|
|
134
|
+
law_003 = "law_003",
|
|
135
|
+
lock_001 = "lock_001",
|
|
136
|
+
lock_002 = "lock_002",
|
|
137
|
+
lock_003 = "lock_003",
|
|
138
|
+
mail_001 = "mail_001",
|
|
139
|
+
mail_002 = "mail_002",
|
|
140
|
+
mail_003 = "mail_003",
|
|
141
|
+
mail_004 = "mail_004",
|
|
142
|
+
mail_005 = "mail_005",
|
|
143
|
+
mail_006 = "mail_006",
|
|
144
|
+
mail_007 = "mail_007",
|
|
145
|
+
mail_008 = "mail_008",
|
|
146
|
+
mail_009 = "mail_009",
|
|
147
|
+
mail_010 = "mail_010",
|
|
148
|
+
mail_011 = "mail_011",
|
|
149
|
+
mail_012 = "mail_012",
|
|
150
|
+
mail_013 = "mail_013",
|
|
151
|
+
mail_014 = "mail_014",
|
|
152
|
+
mail_015 = "mail_015",
|
|
153
|
+
net_001 = "net_001",
|
|
154
|
+
net_002 = "net_002",
|
|
155
|
+
net_003 = "net_003",
|
|
156
|
+
net_004 = "net_004",
|
|
157
|
+
nmbr_001 = "nmbr_001",
|
|
158
|
+
nmbr_002 = "nmbr_002",
|
|
159
|
+
nmbr_003 = "nmbr_003",
|
|
160
|
+
nmbr_004 = "nmbr_004",
|
|
161
|
+
nmbr_005 = "nmbr_005",
|
|
162
|
+
nmbr_006 = "nmbr_006",
|
|
163
|
+
nmbr_007 = "nmbr_007",
|
|
164
|
+
nmbr_008 = "nmbr_008",
|
|
165
|
+
nmbr_009 = "nmbr_009",
|
|
166
|
+
note_001 = "note_001",
|
|
167
|
+
note_002 = "note_002",
|
|
168
|
+
note_003 = "note_003",
|
|
169
|
+
note_004 = "note_004",
|
|
170
|
+
note_005 = "note_005",
|
|
171
|
+
note_006 = "note_006",
|
|
172
|
+
note_007 = "note_007",
|
|
173
|
+
note_008 = "note_008",
|
|
174
|
+
note_009 = "note_009",
|
|
175
|
+
note_010 = "note_010",
|
|
176
|
+
note_011 = "note_011",
|
|
177
|
+
note_012 = "note_012",
|
|
178
|
+
note_013 = "note_013",
|
|
179
|
+
note_014 = "note_014",
|
|
180
|
+
note_015 = "note_015",
|
|
181
|
+
note_016 = "note_016",
|
|
182
|
+
run_001 = "run_001",
|
|
183
|
+
run_002 = "run_002",
|
|
184
|
+
run_003 = "run_003",
|
|
185
|
+
sem_001 = "sem_001",
|
|
186
|
+
sem_002 = "sem_002",
|
|
187
|
+
sem_003 = "sem_003",
|
|
188
|
+
sem_004 = "sem_004",
|
|
189
|
+
sem_005 = "sem_005",
|
|
190
|
+
star_001 = "star_001",
|
|
191
|
+
star_002 = "star_002",
|
|
192
|
+
star_003 = "star_003",
|
|
193
|
+
star_004 = "star_004",
|
|
194
|
+
star_005 = "star_005",
|
|
195
|
+
star_006 = "star_006",
|
|
196
|
+
state_001 = "state_001",
|
|
197
|
+
state_002 = "state_002",
|
|
198
|
+
state_003 = "state_003",
|
|
199
|
+
state_004 = "state_004",
|
|
200
|
+
state_005 = "state_005",
|
|
201
|
+
study_001 = "study_001",
|
|
202
|
+
study_002 = "study_002",
|
|
203
|
+
user_001 = "user_001",
|
|
204
|
+
user_002 = "user_002",
|
|
205
|
+
user_003 = "user_003",
|
|
206
|
+
user_004 = "user_004",
|
|
207
|
+
user_005 = "user_005",
|
|
208
|
+
user_006 = "user_006",
|
|
209
|
+
user_007 = "user_007",
|
|
210
|
+
user_008 = "user_008",
|
|
211
|
+
user_009 = "user_009",
|
|
212
|
+
user_010 = "user_010",
|
|
213
|
+
user_011 = "user_011",
|
|
214
|
+
user_012 = "user_012",
|
|
215
|
+
user_013 = "user_013",
|
|
216
|
+
user_014 = "user_014",
|
|
217
|
+
user_015 = "user_015",
|
|
218
|
+
user_016 = "user_016",
|
|
219
|
+
user_017 = "user_017",
|
|
220
|
+
user_018 = "user_018",
|
|
221
|
+
user_019 = "user_019",
|
|
222
|
+
user_020 = "user_020",
|
|
223
|
+
user_021 = "user_021",
|
|
224
|
+
user_022 = "user_022",
|
|
225
|
+
user_023 = "user_023",
|
|
226
|
+
vehicle_001 = "vehicle_001",
|
|
227
|
+
vehicle_002 = "vehicle_002",
|
|
228
|
+
vehicle_003 = "vehicle_003",
|
|
229
|
+
vehicle_004 = "vehicle_004",
|
|
230
|
+
vehicle_005 = "vehicle_005",
|
|
231
|
+
vehicle_006 = "vehicle_006",
|
|
232
|
+
vehicle_007 = "vehicle_007",
|
|
233
|
+
vehicle_008 = "vehicle_008"
|
|
234
|
+
}
|
|
235
|
+
interface ITMDcmtTypeIcon {
|
|
236
|
+
dtd: DcmtTypeDescriptor | undefined;
|
|
237
|
+
}
|
|
238
|
+
export declare const TMDcmtTypeIcon: React.FC<ITMDcmtTypeIcon>;
|
|
239
|
+
interface ITMDcmtTypeTooltip {
|
|
240
|
+
dtd: DcmtTypeDescriptor | undefined;
|
|
241
|
+
children?: React.ReactNode;
|
|
242
|
+
}
|
|
243
|
+
export declare const TMDcmtTypeTooltip: React.FC<ITMDcmtTypeTooltip>;
|
|
244
|
+
export interface ITMTidViewerProps {
|
|
245
|
+
tmSession?: ITopMediaSession;
|
|
246
|
+
tid?: number;
|
|
247
|
+
did?: number;
|
|
248
|
+
color?: string;
|
|
249
|
+
showIcon?: boolean;
|
|
250
|
+
showId?: boolean;
|
|
251
|
+
noneSelectionText?: string;
|
|
252
|
+
}
|
|
253
|
+
declare const TMTidViewer: React.FC<ITMTidViewerProps>;
|
|
254
|
+
export default TMTidViewer;
|
|
255
|
+
export declare const cellRenderTID: (data: DataGridTypes.ColumnCellTemplateData, noneSelectionText?: string) => import("react/jsx-runtime").JSX.Element;
|
|
256
|
+
export declare const renderDTDTooltipContent: (dtd: DcmtTypeDescriptor | undefined) => import("react/jsx-runtime").JSX.Element | null;
|