@topconsultnpm/sdkui-react 6.17.0-test10
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 +63 -0
- package/lib/components/base/Styled.js +337 -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/TMCustomButton.d.ts +11 -0
- package/lib/components/base/TMCustomButton.js +116 -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 +215 -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 +233 -0
- package/lib/components/base/TMFileManagerDataGridView.d.ts +16 -0
- package/lib/components/base/TMFileManagerDataGridView.js +101 -0
- package/lib/components/base/TMFileManagerThumbnailItems.d.ts +18 -0
- package/lib/components/base/TMFileManagerThumbnailItems.js +148 -0
- package/lib/components/base/TMFileManagerThumbnailsView.d.ts +19 -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 +55 -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 +267 -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 +356 -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 +54 -0
- package/lib/components/choosers/TMMetadataChooser.js +155 -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 +38 -0
- package/lib/components/editors/TMHtmlEditor.js +203 -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 +530 -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 +29 -0
- package/lib/components/features/archive/TMArchive.js +193 -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 +333 -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 +23 -0
- package/lib/components/features/documents/TMDcmtBlog.js +65 -0
- package/lib/components/features/documents/TMDcmtForm.d.ts +64 -0
- package/lib/components/features/documents/TMDcmtForm.js +1498 -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/TMDcmtTasks.d.ts +13 -0
- package/lib/components/features/documents/TMDcmtTasks.js +24 -0
- package/lib/components/features/documents/TMDragDropOverlay.d.ts +6 -0
- package/lib/components/features/documents/TMDragDropOverlay.js +97 -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 +26 -0
- package/lib/components/features/documents/TMMasterDetailDcmts.js +288 -0
- package/lib/components/features/documents/TMRelationViewer.d.ts +121 -0
- package/lib/components/features/documents/TMRelationViewer.js +753 -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 +40 -0
- package/lib/components/features/search/TMSearch.js +253 -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 +438 -0
- package/lib/components/features/search/TMSearchResult.d.ts +53 -0
- package/lib/components/features/search/TMSearchResult.js +1092 -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 +11 -0
- package/lib/components/features/search/TMSearchResultsMenuItems.js +725 -0
- package/lib/components/features/search/TMTreeSelector.d.ts +12 -0
- package/lib/components/features/search/TMTreeSelector.js +270 -0
- package/lib/components/features/tasks/TMTaskForm.d.ts +38 -0
- package/lib/components/features/tasks/TMTaskForm.js +392 -0
- package/lib/components/features/tasks/TMTasksAgenda.d.ts +17 -0
- package/lib/components/features/tasks/TMTasksAgenda.js +107 -0
- package/lib/components/features/tasks/TMTasksCalendar.d.ts +21 -0
- package/lib/components/features/tasks/TMTasksCalendar.js +240 -0
- package/lib/components/features/tasks/TMTasksHeader.d.ts +14 -0
- package/lib/components/features/tasks/TMTasksHeader.js +37 -0
- package/lib/components/features/tasks/TMTasksPanelContent.d.ts +20 -0
- package/lib/components/features/tasks/TMTasksPanelContent.js +65 -0
- package/lib/components/features/tasks/TMTasksUtils.d.ts +133 -0
- package/lib/components/features/tasks/TMTasksUtils.js +649 -0
- package/lib/components/features/tasks/TMTasksUtilsView.d.ts +39 -0
- package/lib/components/features/tasks/TMTasksUtilsView.js +140 -0
- package/lib/components/features/tasks/TMTasksView.d.ts +40 -0
- package/lib/components/features/tasks/TMTasksView.js +566 -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 +42 -0
- package/lib/components/features/workflow/TMWorkflowPopup.js +286 -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 +686 -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 +204 -0
- package/lib/components/features/workflow/diagram/WFDiagram.d.ts +9 -0
- package/lib/components/features/workflow/diagram/WFDiagram.js +1680 -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 +44 -0
- package/lib/components/forms/TMSaveForm.d.ts +31 -0
- package/lib/components/forms/TMSaveForm.js +176 -0
- package/lib/components/grids/TMBlogAttachments.d.ts +42 -0
- package/lib/components/grids/TMBlogAttachments.js +43 -0
- package/lib/components/grids/TMBlogHeader.d.ts +31 -0
- package/lib/components/grids/TMBlogHeader.js +41 -0
- package/lib/components/grids/TMBlogsPost.d.ts +89 -0
- package/lib/components/grids/TMBlogsPost.js +644 -0
- package/lib/components/grids/TMBlogsPostUtils.d.ts +113 -0
- package/lib/components/grids/TMBlogsPostUtils.js +250 -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 +115 -0
- package/lib/components/index.js +137 -0
- package/lib/components/layout/panelManager/TMPanelManagerContainer.d.ts +10 -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 +257 -0
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.d.ts +11 -0
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.js +83 -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 +42 -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 +16 -0
- package/lib/components/query/TMQuerySummary.js +35 -0
- package/lib/components/settings/SettingsAppearance.d.ts +14 -0
- package/lib/components/settings/SettingsAppearance.js +73 -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 +343 -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/GlobalStyles.d.ts +2 -0
- package/lib/helper/GlobalStyles.js +10 -0
- package/lib/helper/Globalization.d.ts +15 -0
- package/lib/helper/Globalization.js +110 -0
- package/lib/helper/SDKUI_Globals.d.ts +96 -0
- package/lib/helper/SDKUI_Globals.js +174 -0
- package/lib/helper/SDKUI_Localizator.d.ts +739 -0
- package/lib/helper/SDKUI_Localizator.js +7298 -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/TMCustomSearchBar.d.ts +8 -0
- package/lib/helper/TMCustomSearchBar.js +54 -0
- package/lib/helper/TMIcons.d.ts +274 -0
- package/lib/helper/TMIcons.js +673 -0
- package/lib/helper/TMImageLibrary.d.ts +4 -0
- package/lib/helper/TMImageLibrary.js +466 -0
- package/lib/helper/TMToppyMessage.d.ts +7 -0
- package/lib/helper/TMToppyMessage.js +42 -0
- package/lib/helper/TMUtils.d.ts +26 -0
- package/lib/helper/TMUtils.js +212 -0
- package/lib/helper/dcmtsHelper.d.ts +8 -0
- package/lib/helper/dcmtsHelper.js +53 -0
- package/lib/helper/helpers.d.ts +84 -0
- package/lib/helper/helpers.js +826 -0
- package/lib/helper/index.d.ts +13 -0
- package/lib/helper/index.js +13 -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/useRelatedDocuments.d.ts +72 -0
- package/lib/hooks/useRelatedDocuments.js +664 -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 +12 -0
- package/lib/index.js +15 -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/ts/index.d.ts +1 -0
- package/lib/ts/index.js +1 -0
- package/lib/ts/types.d.ts +310 -0
- package/lib/ts/types.js +100 -0
- package/lib/utils/theme.d.ts +69 -0
- package/lib/utils/theme.js +81 -0
- package/package.json +54 -0
|
@@ -0,0 +1,725 @@
|
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { AccessLevels, AccessLevelsEx, AppModules, FileFormats, LayoutModes, SDK_Globals, DcmtTypeListCacheService, LicenseModuleStatus, CICO_MetadataNames } from '@topconsultnpm/sdk-ts';
|
|
3
|
+
import { IconActivity, IconArchiveDoc, IconBatchUpdate, IconCheckFile, IconCheckIn, IconCircleInfo, IconCloseCircle, IconConvertFilePdf, IconDelete, IconDotsVerticalCircleOutline, IconDownload, IconEdit, IconExportTo, IconFileDots, IconHide, IconInfo, IconMenuCAArchive, IconPlatform, IconPreview, IconRelation, IconSearch, IconShow, IconStar, IconSubstFile, IconUndo, IconUserGroupOutline, SDKUI_Localizator, svgToString, searchResultToMetadataValues, IconSignaturePencil, IconArchiveMaster, IconArchiveDetail, IconDetailDcmts, isPdfEditorEnabled, IconPair, IconUnpair, IconSharedDcmt, IconShare, IconCopy, IconMoveToFolder } from '../../../helper';
|
|
4
|
+
import ShowAlert from '../../base/TMAlert';
|
|
5
|
+
import { TMMessageBoxManager, ButtonNames, TMExceptionBoxManager } from '../../base/TMPopUp';
|
|
6
|
+
import TMSpinner from '../../base/TMSpinner';
|
|
7
|
+
import { DcmtOperationTypes, DownloadTypes, SearchResultContext } from '../../../ts';
|
|
8
|
+
import { isXMLFileExt } from '../../../helper/dcmtsHelper';
|
|
9
|
+
const getCicoInfo = (dtd) => {
|
|
10
|
+
const cico = {
|
|
11
|
+
CICO: 0,
|
|
12
|
+
CanCICO: AccessLevels.No,
|
|
13
|
+
CanDelChronology: AccessLevels.No,
|
|
14
|
+
UserID_MID: 0,
|
|
15
|
+
Date_MID: 0,
|
|
16
|
+
Ver_MID: 0,
|
|
17
|
+
UserID_CanViewOrUpdate: AccessLevels.No,
|
|
18
|
+
Date_CanViewOrUpdate: AccessLevels.No,
|
|
19
|
+
Ver_CanViewOrUpdate: AccessLevels.No,
|
|
20
|
+
};
|
|
21
|
+
if (dtd === undefined)
|
|
22
|
+
return cico;
|
|
23
|
+
cico.CICO = dtd.cico ?? 0;
|
|
24
|
+
cico.CanCICO = dtd.perm?.canCICO ?? AccessLevels.No;
|
|
25
|
+
cico.CanDelChronology = dtd.perm?.canDelChron ?? AccessLevels.No;
|
|
26
|
+
const mdCheckout = dtd.metadata?.find(md => md.name === CICO_MetadataNames.CICO_CheckoutUserID);
|
|
27
|
+
if (mdCheckout) {
|
|
28
|
+
cico.UserID_MID = mdCheckout.fromMID;
|
|
29
|
+
cico.UserID_CanViewOrUpdate = (mdCheckout.perm?.canView == AccessLevels.Yes || mdCheckout.perm?.canUpdate == AccessLevels.Yes) ? AccessLevels.Yes : AccessLevels.No;
|
|
30
|
+
}
|
|
31
|
+
const mdDate = dtd.metadata?.find(md => md.name === CICO_MetadataNames.CICO_CheckoutDate);
|
|
32
|
+
if (mdDate) {
|
|
33
|
+
cico.Date_MID = mdDate.fromMID;
|
|
34
|
+
cico.Date_CanViewOrUpdate = (mdDate.perm?.canView == AccessLevels.Yes || mdDate.perm?.canUpdate == AccessLevels.Yes) ? AccessLevels.Yes : AccessLevels.No;
|
|
35
|
+
}
|
|
36
|
+
const mdVer = dtd.metadata?.find(md => md.name === CICO_MetadataNames.CICO_Version);
|
|
37
|
+
if (mdVer) {
|
|
38
|
+
cico.Ver_MID = mdVer.fromMID;
|
|
39
|
+
cico.Ver_CanViewOrUpdate = (mdVer.perm?.canView == AccessLevels.Yes || mdVer.perm?.canUpdate == AccessLevels.Yes) ? AccessLevels.Yes : AccessLevels.No;
|
|
40
|
+
}
|
|
41
|
+
return cico;
|
|
42
|
+
};
|
|
43
|
+
const cicoIsEnabled = (dcmt, dtd) => {
|
|
44
|
+
const cicoInfo = getCicoInfo(dtd);
|
|
45
|
+
let isCheckout = false;
|
|
46
|
+
const CICO_CheckoutUserID = dtd?.metadata?.find(md => md.name === CICO_MetadataNames.CICO_CheckoutUserID)?.id;
|
|
47
|
+
if (dcmt && CICO_CheckoutUserID) {
|
|
48
|
+
const key = dcmt.TID + "_" + CICO_CheckoutUserID;
|
|
49
|
+
const value = dcmt[key];
|
|
50
|
+
if (value && value > 0) {
|
|
51
|
+
isCheckout = true;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
cicoEnabled: cicoInfo.CICO === 1 && cicoInfo.CanCICO === AccessLevels.Yes,
|
|
56
|
+
isCheckout: isCheckout
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
const disabledForSingleRow = (selectedItems, focusedItem) => {
|
|
60
|
+
return selectedItems.length > 1 || focusedItem === undefined;
|
|
61
|
+
};
|
|
62
|
+
const disabledForMultiRow = (selectedItems, focusedItem) => {
|
|
63
|
+
return selectedItems.length === 0 && focusedItem === undefined;
|
|
64
|
+
};
|
|
65
|
+
const MAX_DCMTS_FOR_SELECTION_REFRESH = 100;
|
|
66
|
+
export const getSelectedDcmtsOrFocused = (selectedItems, focusedItem, fileFormat) => {
|
|
67
|
+
if (selectedItems.length <= 0 && !focusedItem)
|
|
68
|
+
return [];
|
|
69
|
+
if (selectedItems.length > 0) {
|
|
70
|
+
return selectedItems.map((item) => { return { TID: item.TID, DID: item.DID, FILEEXT: item.FILEEXT, ISSIGNED: Number(item.ISSIGNED ?? 0), fileFormat: fileFormat, rowIndex: item.rowIndex }; });
|
|
71
|
+
}
|
|
72
|
+
else if (focusedItem !== undefined) {
|
|
73
|
+
return [{ TID: focusedItem.TID, DID: focusedItem.DID, FILEEXT: focusedItem.FILEEXT, ISSIGNED: Number(focusedItem.ISSIGNED ?? 0), fileFormat: fileFormat, rowIndex: focusedItem.rowIndex }];
|
|
74
|
+
}
|
|
75
|
+
return [];
|
|
76
|
+
};
|
|
77
|
+
export const getAllFieldSelectedDcmtsOrFocused = (selectedItems, focusedItem, fileFormat) => {
|
|
78
|
+
if (selectedItems.length <= 0 && !focusedItem)
|
|
79
|
+
return [];
|
|
80
|
+
if (selectedItems.length > 0) {
|
|
81
|
+
return selectedItems;
|
|
82
|
+
}
|
|
83
|
+
else if (focusedItem !== undefined) {
|
|
84
|
+
return [focusedItem];
|
|
85
|
+
}
|
|
86
|
+
return [];
|
|
87
|
+
};
|
|
88
|
+
export const signatureInformationCallback = async (isMobile, inputDcmts) => {
|
|
89
|
+
try {
|
|
90
|
+
if (!inputDcmts || inputDcmts.length === 0) {
|
|
91
|
+
ShowAlert({
|
|
92
|
+
message: SDKUI_Localizator.NoDcmtSelected,
|
|
93
|
+
mode: 'warning',
|
|
94
|
+
title: SDKUI_Localizator.SignatureInformation,
|
|
95
|
+
duration: 3000
|
|
96
|
+
});
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (inputDcmts.length > 1) {
|
|
100
|
+
ShowAlert({
|
|
101
|
+
message: "Selezionare un solo documento per visualizzare le informazioni di firma",
|
|
102
|
+
mode: 'warning',
|
|
103
|
+
title: SDKUI_Localizator.SignatureInformation,
|
|
104
|
+
duration: 3000
|
|
105
|
+
});
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
const [inputDcmt] = inputDcmts;
|
|
109
|
+
let ue = SDK_Globals.tmSession?.NewUpdateEngineByID();
|
|
110
|
+
if (ue) {
|
|
111
|
+
ue.TID = inputDcmt.TID;
|
|
112
|
+
ue.DID = inputDcmt.DID;
|
|
113
|
+
const res = await ue.GetSignersAsync().catch((error) => { throw error; });
|
|
114
|
+
if (!res) {
|
|
115
|
+
throw new Error("Informazioni di firma non disponibili");
|
|
116
|
+
}
|
|
117
|
+
TMMessageBoxManager.show({
|
|
118
|
+
title: SDKUI_Localizator.SignatureInformation,
|
|
119
|
+
buttons: [ButtonNames.OK],
|
|
120
|
+
showToppy: false,
|
|
121
|
+
resizable: true,
|
|
122
|
+
initialWidth: !isMobile ? '500px' : undefined,
|
|
123
|
+
message: (_jsx("div", { style: { lineHeight: "1.4em", overflowY: "auto", maxHeight: "400px", paddingRight: "8px", boxSizing: "border-box" }, children: res.signers && res.signers.length > 0 ? (res.signers.map((signer, idx) => (_jsxs("div", { style: {
|
|
124
|
+
border: "1px solid #ccc",
|
|
125
|
+
borderRadius: "10px",
|
|
126
|
+
padding: "12px",
|
|
127
|
+
marginBottom: "12px",
|
|
128
|
+
background: "#f9f9f9",
|
|
129
|
+
boxShadow: "0 1px 3px rgba(0,0,0,0.1)"
|
|
130
|
+
}, children: [_jsxs("h3", { style: { margin: "0 0 8px", color: "#333" }, children: ["Firma ", signer.levelAndIndex] }), _jsxs("p", { style: { margin: "4px 0" }, children: [_jsx("strong", { children: "Intestatario:" }), _jsx("br", {}), signer.info1 ?? '-'] }), _jsxs("p", { style: { margin: "4px 0" }, children: [_jsx("strong", { children: "Riferimento temporale:" }), _jsx("br", {}), signer.info2 ?? '-'] }), _jsxs("p", { style: { margin: "4px 0" }, children: [_jsx("strong", { children: "Dettagli:" }), _jsx("br", {}), signer.info3 ?? '-'] })] }, idx)))) : (_jsx("p", { children: "Nessuna firma trovata" })) }))
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
catch (error) {
|
|
135
|
+
console.error(error);
|
|
136
|
+
TMExceptionBoxManager.show({ exception: error });
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
export const getCommandsMenuItems = (isMobile, dtd, selectedItems, focusedItem, context, showFloatingBar, workingGroupContext, showSearch, setShowFloatingBar, openFormHandler, openSharedArchiveHandler, showSharedDcmtsHandler, downloadDcmtsAsync, runOperationAsync, onRefreshSearchAsync, onRefreshDataRowsAsync, onRefreshAfterAddDcmtToFavs, confirmFormat, confirmAttachments, openTaskFormHandler, openDetailDcmtsFormHandler, openMasterDcmtsFormHandler, openBatchUpdateFormHandler, openExportForm, handleToggleSearch, handleSignApprove, handleCheckOutOperationCallback, openWGsCopyMoveForm, openCommentFormCallback, openEditPdf, openAddDocumentForm, passToArchiveCallback, archiveMasterDocuments, archiveDetailDocuments, hasMasterRelation, hasDetailRelation, canArchiveMasterRelation, canArchiveDetailRelation, pairManyToManyDocuments, hasManyToManyRelation) => {
|
|
140
|
+
const isPdfEditorLicensed = SDK_Globals?.license?.dcmtArchiveLicenses?.[0]?.siX_60007?.status === LicenseModuleStatus.Licensed;
|
|
141
|
+
let pdfEditorAvailable = false;
|
|
142
|
+
if (dtd && dtd.widgets && dtd.widgets.length > 0) {
|
|
143
|
+
pdfEditorAvailable = isPdfEditorEnabled(dtd.widgets);
|
|
144
|
+
}
|
|
145
|
+
const addToFavoriteMenuItem = () => {
|
|
146
|
+
return {
|
|
147
|
+
icon: svgToString(_jsx(IconStar, {})),
|
|
148
|
+
text: SDKUI_Localizator.AddTo + ' ' + SDKUI_Localizator.Favorites,
|
|
149
|
+
operationType: 'multiRow',
|
|
150
|
+
disabled: context === SearchResultContext.FAVORITES_AND_RECENTS || disabledForMultiRow(selectedItems, focusedItem),
|
|
151
|
+
onClick: async () => { await runOperationAsync(getSelectedDcmtsOrFocused(selectedItems, focusedItem), DcmtOperationTypes.AddToFavs); onRefreshAfterAddDcmtToFavs?.(); },
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
const addReplaceFileMenuItem = () => {
|
|
155
|
+
return {
|
|
156
|
+
icon: svgToString(_jsx(IconSubstFile, {})),
|
|
157
|
+
text: SDKUI_Localizator.AddOrSubstFile,
|
|
158
|
+
operationType: 'singleRow',
|
|
159
|
+
disabled: dtd?.perm?.canSubstFile !== AccessLevels.Yes ? true : disabledForSingleRow(selectedItems, focusedItem),
|
|
160
|
+
onClick: async () => { await runOperationAsync(getSelectedDcmtsOrFocused(selectedItems, focusedItem), DcmtOperationTypes.SubstituteFile, onRefreshDataRowsAsync); }
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
const openFormMenuItem = () => {
|
|
164
|
+
return {
|
|
165
|
+
icon: svgToString(_jsx(IconPreview, {})),
|
|
166
|
+
text: SDKUI_Localizator.OpenForm,
|
|
167
|
+
operationType: 'singleRow',
|
|
168
|
+
disabled: disabledForSingleRow(selectedItems, focusedItem),
|
|
169
|
+
onClick: () => openFormHandler?.(LayoutModes.Update)
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
const deletetionMenuItem = () => {
|
|
173
|
+
return {
|
|
174
|
+
icon: svgToString(_jsx(IconDelete, {})),
|
|
175
|
+
text: SDKUI_Localizator.Deletion,
|
|
176
|
+
operationType: 'multiRow',
|
|
177
|
+
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
178
|
+
items: [
|
|
179
|
+
{
|
|
180
|
+
icon: svgToString(_jsx(IconDelete, {})),
|
|
181
|
+
text: SDKUI_Localizator.LogDelete,
|
|
182
|
+
operationType: 'multiRow',
|
|
183
|
+
disabled: dtd?.perm?.canLogicalDelete !== AccessLevels.Yes ? true : disabledForMultiRow(selectedItems, focusedItem),
|
|
184
|
+
beginGroup: true,
|
|
185
|
+
onClick: async () => {
|
|
186
|
+
let dcmts = getSelectedDcmtsOrFocused(selectedItems, focusedItem);
|
|
187
|
+
await runOperationAsync(dcmts, DcmtOperationTypes.LogDelete, dcmts.length <= MAX_DCMTS_FOR_SELECTION_REFRESH ? onRefreshDataRowsAsync : onRefreshSearchAsync);
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
icon: svgToString(_jsx(IconUndo, {})),
|
|
192
|
+
text: SDKUI_Localizator.Restore,
|
|
193
|
+
operationType: 'multiRow',
|
|
194
|
+
disabled: dtd?.perm?.canLogicalDelete !== AccessLevels.Yes ? true : disabledForMultiRow(selectedItems, focusedItem),
|
|
195
|
+
onClick: async () => {
|
|
196
|
+
let dcmts = getSelectedDcmtsOrFocused(selectedItems, focusedItem);
|
|
197
|
+
await runOperationAsync(dcmts, DcmtOperationTypes.Undelete, dcmts.length <= MAX_DCMTS_FOR_SELECTION_REFRESH ? onRefreshDataRowsAsync : onRefreshSearchAsync);
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
icon: svgToString(_jsx(IconCloseCircle, {})),
|
|
202
|
+
text: SDKUI_Localizator.PhysDelete,
|
|
203
|
+
operationType: 'multiRow',
|
|
204
|
+
disabled: dtd?.perm?.canPhysicalDelete !== AccessLevels.Yes ? true : disabledForMultiRow(selectedItems, focusedItem),
|
|
205
|
+
onClick: async () => { await runOperationAsync(getSelectedDcmtsOrFocused(selectedItems, focusedItem), DcmtOperationTypes.PhysDelete, onRefreshSearchAsync); }
|
|
206
|
+
},
|
|
207
|
+
]
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
const fileCheckMenuItem = () => {
|
|
211
|
+
return {
|
|
212
|
+
icon: svgToString(_jsx(IconCheckFile, {})),
|
|
213
|
+
text: SDKUI_Localizator.FileCheck,
|
|
214
|
+
operationType: 'multiRow',
|
|
215
|
+
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
216
|
+
onClick: async () => { await runOperationAsync(getSelectedDcmtsOrFocused(selectedItems, focusedItem), DcmtOperationTypes.CheckFile); }
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
const fileConversionsMenuItem = () => {
|
|
220
|
+
return {
|
|
221
|
+
icon: svgToString(_jsx(IconConvertFilePdf, {})),
|
|
222
|
+
text: SDKUI_Localizator.FileConversion,
|
|
223
|
+
operationType: 'multiRow',
|
|
224
|
+
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
225
|
+
onClick: async () => {
|
|
226
|
+
let format = await confirmFormat();
|
|
227
|
+
if (format === FileFormats.None)
|
|
228
|
+
return;
|
|
229
|
+
let dcmts = getSelectedDcmtsOrFocused(selectedItems, focusedItem, format);
|
|
230
|
+
await runOperationAsync(dcmts, DcmtOperationTypes.ConvertFile, dcmts.length <= MAX_DCMTS_FOR_SELECTION_REFRESH ? onRefreshDataRowsAsync : onRefreshSearchAsync);
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
const createContextualTaskMenuItem = () => {
|
|
235
|
+
return {
|
|
236
|
+
icon: svgToString(_jsx(IconActivity, {})),
|
|
237
|
+
text: SDKUI_Localizator.CreateContextualTask,
|
|
238
|
+
operationType: 'singleRow',
|
|
239
|
+
disabled: disabledForSingleRow(selectedItems, focusedItem),
|
|
240
|
+
onClick: () => { openTaskFormHandler(); }
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
const downloadFileMenuItem = () => {
|
|
244
|
+
return {
|
|
245
|
+
icon: svgToString(_jsx(IconDownload, {})),
|
|
246
|
+
operationType: 'multiRow',
|
|
247
|
+
disabled: dtd?.perm?.canRetrieveFile !== AccessLevels.Yes ? true : disabledForMultiRow(selectedItems, focusedItem),
|
|
248
|
+
text: SDKUI_Localizator.DownloadFile, onClick: () => downloadDcmtsAsync(getSelectedDcmtsOrFocused(selectedItems, focusedItem), DownloadTypes.Dcmt, "download")
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
const downloadXMLAttachmentsMenuItem = () => {
|
|
252
|
+
return {
|
|
253
|
+
icon: svgToString(_jsx(IconDownload, {})),
|
|
254
|
+
operationType: 'singleRow',
|
|
255
|
+
disabled: !isXMLFileExt(getSelectedDcmtsOrFocused(selectedItems, focusedItem)?.[0]?.FILEEXT) ? true : disabledForSingleRow(selectedItems, focusedItem),
|
|
256
|
+
text: SDKUI_Localizator.DownloadXMLAttachments, onClick: () => downloadDcmtsAsync(getSelectedDcmtsOrFocused(selectedItems, focusedItem), DownloadTypes.Attachment, "download", undefined, confirmAttachments)
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
const duplicateDocumentMenuItem = () => {
|
|
260
|
+
return {
|
|
261
|
+
icon: svgToString(_jsx(IconArchiveDoc, {})),
|
|
262
|
+
text: SDKUI_Localizator.DuplicateDocument,
|
|
263
|
+
operationType: 'singleRow',
|
|
264
|
+
disabled: dtd?.perm?.canArchive !== AccessLevelsEx.Yes && dtd?.perm?.canArchive !== AccessLevelsEx.Mixed ? true : disabledForSingleRow(selectedItems, focusedItem),
|
|
265
|
+
onClick: () => { openFormHandler?.(LayoutModes.Ark); }
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
const batchUpdateMenuItem = () => {
|
|
269
|
+
return {
|
|
270
|
+
icon: svgToString(_jsx(IconBatchUpdate, {})),
|
|
271
|
+
text: SDKUI_Localizator.BatchUpdate,
|
|
272
|
+
operationType: 'multiRow',
|
|
273
|
+
disabled: dtd?.perm?.canUpdate !== AccessLevelsEx.Yes && dtd?.perm?.canUpdate !== AccessLevelsEx.Mixed ? true : disabledForMultiRow(selectedItems, focusedItem),
|
|
274
|
+
onClick: () => openBatchUpdateFormHandler?.(true)
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
const passToArchive = () => {
|
|
278
|
+
return {
|
|
279
|
+
icon: svgToString(_jsx(IconMenuCAArchive, { fontSize: 16, viewBox: '11 11.5 26 27', strokeWidth: 2, color: 'black' })),
|
|
280
|
+
text: SDKUI_Localizator.PassToArchive,
|
|
281
|
+
operationType: 'singleRow',
|
|
282
|
+
disabled: disabledForSingleRow(selectedItems, focusedItem),
|
|
283
|
+
onClick: async () => {
|
|
284
|
+
try {
|
|
285
|
+
const item = selectedItems.length === 1 ? selectedItems[0] : focusedItem;
|
|
286
|
+
if (!item?.TID || !item?.DID)
|
|
287
|
+
return;
|
|
288
|
+
TMSpinner.show({ description: SDKUI_Localizator.Loading });
|
|
289
|
+
const getMetadataResult = await SDK_Globals.tmSession?.NewSearchEngine().GetMetadataAsync(item.TID, item.DID, true);
|
|
290
|
+
const dtdFull = getMetadataResult?.dtdResult;
|
|
291
|
+
const rowsFull = dtdFull?.rows ? dtdFull.rows[0] : [];
|
|
292
|
+
const midsFull = getMetadataResult?.selectMIDs;
|
|
293
|
+
const dtdWithMetadata = await DcmtTypeListCacheService.GetWithNotGrantedAsync(item.TID, item.DID, getMetadataResult);
|
|
294
|
+
const allMetadataValues = searchResultToMetadataValues(item.TID, dtdFull, rowsFull, midsFull, dtdWithMetadata?.metadata, LayoutModes.Update);
|
|
295
|
+
const outputMids = allMetadataValues
|
|
296
|
+
?.filter(md => md.mid && md.mid > 100 && md.value && md.value.length > 0)
|
|
297
|
+
.map(md => ({ mid: md.mid, value: md.value })) || [];
|
|
298
|
+
TMSpinner.hide();
|
|
299
|
+
passToArchiveCallback?.(outputMids, item.TID);
|
|
300
|
+
}
|
|
301
|
+
catch (error) {
|
|
302
|
+
TMSpinner.hide();
|
|
303
|
+
TMExceptionBoxManager.show({ exception: error });
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
const pdfEditorMenuItem = (openEditPdfCallback) => {
|
|
309
|
+
// Get the currently selected or focused documents
|
|
310
|
+
const selectedDocs = getSelectedDcmtsOrFocused(selectedItems, focusedItem);
|
|
311
|
+
// Take the first document (used for validation checks)
|
|
312
|
+
const firstDoc = selectedDocs?.[0];
|
|
313
|
+
// Check if the selected document is a PDF
|
|
314
|
+
const isPdf = firstDoc?.FILEEXT?.toLowerCase() === "pdf";
|
|
315
|
+
// Check if the document has been signed
|
|
316
|
+
const isSigned = firstDoc?.ISSIGNED === 1;
|
|
317
|
+
// Check if the user has permission to substitute files
|
|
318
|
+
const canSubstitute = dtd?.perm?.canSubstFile === AccessLevels.Yes;
|
|
319
|
+
// Determine whether the menu item should be disabled
|
|
320
|
+
const isDisabled = !canSubstitute || disabledForSingleRow(selectedItems, focusedItem) || !isPdf || isSigned;
|
|
321
|
+
return {
|
|
322
|
+
icon: svgToString(_jsx(IconEdit, {})),
|
|
323
|
+
text: "PDF Editor",
|
|
324
|
+
operationType: 'singleRow',
|
|
325
|
+
disabled: isDisabled,
|
|
326
|
+
onClick: () => openEditPdfCallback(getSelectedDcmtsOrFocused(selectedItems, focusedItem)),
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
const signatureMenuItem = () => {
|
|
330
|
+
return {
|
|
331
|
+
icon: svgToString(_jsx(IconSignaturePencil, {})),
|
|
332
|
+
text: SDKUI_Localizator.Signature,
|
|
333
|
+
disabled: disabledForSingleRow(selectedItems, focusedItem) && disabledForMultiRow(selectedItems, focusedItem),
|
|
334
|
+
items: [
|
|
335
|
+
{
|
|
336
|
+
icon: svgToString(_jsx(IconCircleInfo, {})),
|
|
337
|
+
text: SDKUI_Localizator.SignatureInformation,
|
|
338
|
+
operationType: 'singleRow',
|
|
339
|
+
disabled: disabledForSingleRow(selectedItems, focusedItem),
|
|
340
|
+
onClick: () => signatureInformationCallback(isMobile, getSelectedDcmtsOrFocused(selectedItems, focusedItem))
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
icon: svgToString(_jsx(IconCheckIn, {})),
|
|
344
|
+
text: SDKUI_Localizator.VerifySignature,
|
|
345
|
+
operationType: 'multiRow',
|
|
346
|
+
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
347
|
+
onClick: async () => { await runOperationAsync(getSelectedDcmtsOrFocused(selectedItems, focusedItem), DcmtOperationTypes.VerifySign); }
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
icon: svgToString(_jsx(IconSignaturePencil, {})),
|
|
351
|
+
operationType: 'singleRow',
|
|
352
|
+
disabled: disabledForSingleRow(selectedItems, focusedItem),
|
|
353
|
+
text: SDKUI_Localizator.Signature,
|
|
354
|
+
onClick: handleSignApprove
|
|
355
|
+
},
|
|
356
|
+
]
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
const checkinMenuItem = () => {
|
|
360
|
+
// Get the currently selected or focused documents
|
|
361
|
+
const selectedDocs = getAllFieldSelectedDcmtsOrFocused(selectedItems, focusedItem);
|
|
362
|
+
// Take the first document (used for validation checks)
|
|
363
|
+
const firstDoc = selectedDocs?.[0];
|
|
364
|
+
const { cicoEnabled, isCheckout } = cicoIsEnabled(firstDoc, dtd);
|
|
365
|
+
return {
|
|
366
|
+
icon: svgToString(_jsx(IconFileDots, {})),
|
|
367
|
+
text: "Check in/Check out",
|
|
368
|
+
disabled: !cicoEnabled || (disabledForSingleRow(selectedItems, focusedItem) && disabledForMultiRow(selectedItems, focusedItem)),
|
|
369
|
+
items: [
|
|
370
|
+
{
|
|
371
|
+
icon: "edit",
|
|
372
|
+
text: 'Check out',
|
|
373
|
+
disabled: !cicoEnabled || (disabledForSingleRow(selectedItems, focusedItem) && disabledForMultiRow(selectedItems, focusedItem)),
|
|
374
|
+
// disabled: isNotSingleFile || isGroupLocked || isFileCheckedOut,
|
|
375
|
+
onClick: () => handleCheckOutOperationCallback(true),
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
icon: "remove",
|
|
379
|
+
text: SDKUI_Localizator.CancelCheckOut,
|
|
380
|
+
disabled: !cicoEnabled || (disabledForSingleRow(selectedItems, focusedItem) && disabledForMultiRow(selectedItems, focusedItem)),
|
|
381
|
+
// disabled: isNotSingleFile || isGroupLocked || isFileNotCheckedOut || isNotCheckedOutByCurrentUser,
|
|
382
|
+
onClick: () => handleCheckOutOperationCallback(false),
|
|
383
|
+
},
|
|
384
|
+
]
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
const relationsMenuItem = () => {
|
|
388
|
+
return {
|
|
389
|
+
icon: svgToString(_jsx(IconRelation, {})),
|
|
390
|
+
text: SDKUI_Localizator.Relations,
|
|
391
|
+
operationType: 'multiRow',
|
|
392
|
+
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
393
|
+
items: [
|
|
394
|
+
{
|
|
395
|
+
icon: svgToString(_jsx(IconPair, {})),
|
|
396
|
+
text: SDKUI_Localizator.MatchManyDocumentsManyToMany,
|
|
397
|
+
operationType: 'multiRow',
|
|
398
|
+
disabled: !hasManyToManyRelation || disabledForMultiRow(selectedItems, focusedItem),
|
|
399
|
+
onClick: async () => await pairManyToManyDocuments?.(true)
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
icon: svgToString(_jsx(IconUnpair, {})),
|
|
403
|
+
text: SDKUI_Localizator.UnmatchManyDocumentsManyToMany,
|
|
404
|
+
operationType: 'multiRow',
|
|
405
|
+
disabled: !hasManyToManyRelation || disabledForMultiRow(selectedItems, focusedItem),
|
|
406
|
+
onClick: async () => await pairManyToManyDocuments?.(false)
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
icon: svgToString(_jsx(IconArchiveMaster, {})),
|
|
410
|
+
text: SDKUI_Localizator.ArchiveMasterDocument,
|
|
411
|
+
operationType: 'multiRow',
|
|
412
|
+
beginGroup: true,
|
|
413
|
+
disabled: canArchiveMasterRelation !== true,
|
|
414
|
+
onClick: async () => await archiveMasterDocuments?.(focusedItem?.TID)
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
icon: svgToString(_jsx(IconArchiveDetail, {})),
|
|
418
|
+
text: SDKUI_Localizator.ArchiveDetailDocument,
|
|
419
|
+
operationType: 'multiRow',
|
|
420
|
+
disabled: canArchiveDetailRelation !== true,
|
|
421
|
+
onClick: async () => await archiveDetailDocuments?.(focusedItem?.TID)
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
icon: svgToString(_jsx(IconDetailDcmts, { transform: 'scale(-1, 1)' })),
|
|
425
|
+
text: SDKUI_Localizator.DcmtsMaster,
|
|
426
|
+
operationType: 'singleRow',
|
|
427
|
+
visible: true,
|
|
428
|
+
beginGroup: true,
|
|
429
|
+
disabled: !hasMasterRelation || disabledForSingleRow(selectedItems, focusedItem),
|
|
430
|
+
onClick: () => openMasterDcmtsFormHandler?.(true)
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
icon: svgToString(_jsx(IconDetailDcmts, {})),
|
|
434
|
+
text: SDKUI_Localizator.DcmtsDetail,
|
|
435
|
+
operationType: 'multiRow',
|
|
436
|
+
disabled: !hasDetailRelation || disabledForMultiRow(selectedItems, focusedItem),
|
|
437
|
+
visible: true,
|
|
438
|
+
onClick: () => openDetailDcmtsFormHandler?.(true)
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
const sharedDcmtsMenuItem = () => {
|
|
444
|
+
return {
|
|
445
|
+
icon: svgToString(_jsx(IconSharedDcmt, {})),
|
|
446
|
+
text: SDKUI_Localizator.SharedDocuments,
|
|
447
|
+
operationType: 'multiRow',
|
|
448
|
+
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
449
|
+
items: [
|
|
450
|
+
{
|
|
451
|
+
icon: svgToString(_jsx(IconSharedDcmt, {})),
|
|
452
|
+
text: SDKUI_Localizator.SharedArchiving,
|
|
453
|
+
operationType: 'singleRow',
|
|
454
|
+
disabled: disabledForSingleRow(selectedItems, focusedItem),
|
|
455
|
+
onClick: async () => { await openSharedArchiveHandler(); }
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
icon: svgToString(_jsx(IconSharedDcmt, {})),
|
|
459
|
+
text: SDKUI_Localizator.ShowSharedDocuments,
|
|
460
|
+
operationType: 'multiRow',
|
|
461
|
+
disabled: disabledForSingleRow(selectedItems, focusedItem),
|
|
462
|
+
onClick: async () => { await showSharedDcmtsHandler(); }
|
|
463
|
+
}
|
|
464
|
+
]
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
/* const shareMenuItem = (): TMDataGridContextMenuItem => {
|
|
468
|
+
return {
|
|
469
|
+
icon: svgToString(<IconShare />),
|
|
470
|
+
text: "Condivisione",
|
|
471
|
+
operationType: 'multiRow',
|
|
472
|
+
disabled: fromDatagrid ? false : disabledForMultiRow(selectedItems, focusedItem),
|
|
473
|
+
items: [
|
|
474
|
+
{
|
|
475
|
+
icon: svgToString(<IconShare />),
|
|
476
|
+
text: "Archiviazione condivisa",
|
|
477
|
+
operationType: 'multiRow',
|
|
478
|
+
disabled: fromDatagrid ? false : disabledForMultiRow(selectedItems, focusedItem),
|
|
479
|
+
onClick: () => ShowAlert({ message: "TODO Archiviazione condivisa", mode: 'info', title: `${"TODO"}`, duration: 3000 })
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
icon: svgToString(<IconSharedDcmt />),
|
|
483
|
+
text: "Documenti condivisi",
|
|
484
|
+
operationType: 'multiRow',
|
|
485
|
+
disabled: fromDatagrid ? false : disabledForMultiRow(selectedItems, focusedItem),
|
|
486
|
+
onClick: () => ShowAlert({ message: "TODO Documenti condivisi", mode: 'info', title: `${"TODO"}`, duration: 3000 })
|
|
487
|
+
}
|
|
488
|
+
]
|
|
489
|
+
}
|
|
490
|
+
} */
|
|
491
|
+
const fullTextSearchMenuItem = () => {
|
|
492
|
+
return {
|
|
493
|
+
icon: svgToString(_jsx(IconSearch, {})),
|
|
494
|
+
text: SDKUI_Localizator.FullTextSearch,
|
|
495
|
+
operationType: 'multiRow',
|
|
496
|
+
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
497
|
+
items: [
|
|
498
|
+
{
|
|
499
|
+
icon: svgToString(_jsx(IconInfo, {})),
|
|
500
|
+
text: SDKUI_Localizator.IndexingInformation,
|
|
501
|
+
operationType: 'singleRow',
|
|
502
|
+
disabled: disabledForSingleRow(selectedItems, focusedItem),
|
|
503
|
+
onClick: async () => {
|
|
504
|
+
try {
|
|
505
|
+
TMSpinner.show({ description: `${SDKUI_Localizator.Loading}...` });
|
|
506
|
+
let dcmts = getSelectedDcmtsOrFocused(selectedItems, focusedItem);
|
|
507
|
+
const msg = await SDK_Globals.tmSession?.NewSearchEngine().FreeSearchGetDcmtInfoAsync(dcmts[0].TID, dcmts[0].DID);
|
|
508
|
+
TMMessageBoxManager.show({ buttons: [ButtonNames.OK], message: msg, title: SDKUI_Localizator.IndexingInformation });
|
|
509
|
+
}
|
|
510
|
+
catch (e) {
|
|
511
|
+
TMExceptionBoxManager.show({ exception: e });
|
|
512
|
+
}
|
|
513
|
+
finally {
|
|
514
|
+
TMSpinner.hide();
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
icon: svgToString(_jsx(IconArchiveDoc, {})),
|
|
520
|
+
text: SDKUI_Localizator.IndexOrReindex,
|
|
521
|
+
operationType: 'multiRow',
|
|
522
|
+
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
523
|
+
onClick: async () => { await runOperationAsync(getSelectedDcmtsOrFocused(selectedItems, focusedItem), DcmtOperationTypes.FreeSearchReindex); }
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
icon: svgToString(_jsx(IconDelete, {})),
|
|
527
|
+
text: SDKUI_Localizator.IndexingDelete,
|
|
528
|
+
operationType: 'multiRow',
|
|
529
|
+
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
530
|
+
onClick: async () => { await runOperationAsync(getSelectedDcmtsOrFocused(selectedItems, focusedItem), DcmtOperationTypes.FreeSearchPurge); }
|
|
531
|
+
},
|
|
532
|
+
...(focusedItem?.FTExplanations !== undefined
|
|
533
|
+
? [{
|
|
534
|
+
icon: svgToString(_jsx(IconPlatform, {})),
|
|
535
|
+
text: SDKUI_Localizator.ResultDetails,
|
|
536
|
+
operationType: 'singleRow',
|
|
537
|
+
disabled: disabledForSingleRow(selectedItems, focusedItem),
|
|
538
|
+
onClick: () => {
|
|
539
|
+
TMMessageBoxManager.show({ buttons: [ButtonNames.OK], message: focusedItem?.FTExplanations, title: "Dettagli del risultato" });
|
|
540
|
+
}
|
|
541
|
+
}] : []),
|
|
542
|
+
]
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
const otherMenuItem = () => {
|
|
546
|
+
return {
|
|
547
|
+
icon: svgToString(_jsx(IconDotsVerticalCircleOutline, {})),
|
|
548
|
+
text: SDKUI_Localizator.Other,
|
|
549
|
+
items: [
|
|
550
|
+
{
|
|
551
|
+
icon: svgToString(_jsx(IconSearch, {})),
|
|
552
|
+
text: showSearch ? SDKUI_Localizator.HideSearch : SDKUI_Localizator.ShowSearch,
|
|
553
|
+
disabled: false,
|
|
554
|
+
onClick: handleToggleSearch
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
icon: svgToString(_jsx(IconExportTo, {})),
|
|
558
|
+
text: SDKUI_Localizator.ExportTo,
|
|
559
|
+
operationType: 'multiRow',
|
|
560
|
+
disabled: false,
|
|
561
|
+
onClick: openExportForm
|
|
562
|
+
},
|
|
563
|
+
// {
|
|
564
|
+
// icon: svgToString(<IconShow />),
|
|
565
|
+
// text: "Mostra footer",
|
|
566
|
+
// disabled: false,
|
|
567
|
+
// onClick: () => ShowAlert({ message: "TODO Mostra footer", mode: 'info', title: `${"TODO"}`, duration: 3000 })
|
|
568
|
+
// },
|
|
569
|
+
{
|
|
570
|
+
icon: svgToString(showFloatingBar ? _jsx(IconHide, {}) : _jsx(IconShow, {})),
|
|
571
|
+
text: showFloatingBar ? SDKUI_Localizator.HideFloatingBar : SDKUI_Localizator.ShowFloatingBar,
|
|
572
|
+
disabled: false,
|
|
573
|
+
onClick: () => setShowFloatingBar(!showFloatingBar)
|
|
574
|
+
},
|
|
575
|
+
// {
|
|
576
|
+
// icon: svgToString(<IconSave />),
|
|
577
|
+
// text: "Salva layout",
|
|
578
|
+
// disabled: false,
|
|
579
|
+
// onClick: () => ShowAlert({ message: "TODO Salva layout", mode: 'info', title: `${"TODO"}`, duration: 3000 })
|
|
580
|
+
// },
|
|
581
|
+
// {
|
|
582
|
+
// icon: svgToString(<IconSearch />),
|
|
583
|
+
// text: "Trova tutti i riferimenti",
|
|
584
|
+
// items: [
|
|
585
|
+
// {
|
|
586
|
+
// icon: svgToString(<IconSearch />),
|
|
587
|
+
// text: "Trova tutti i riferimenti",
|
|
588
|
+
// disabled: false,
|
|
589
|
+
// onClick: () => ShowAlert({ message: "TODO Trova tutti i riferimenti", mode: 'info', title: `${"TODO"}`, duration: 3000 })
|
|
590
|
+
// },
|
|
591
|
+
// {
|
|
592
|
+
// icon: svgToString(<IconSearch />),
|
|
593
|
+
// text: "Trova tutti i riferimenti (anche nello storico)",
|
|
594
|
+
// disabled: false,
|
|
595
|
+
// onClick: () => ShowAlert({ message: "TODO Trova tutti i riferimenti (anche nello storico)", mode: 'info', title: `${"TODO"}`, duration: 3000 })
|
|
596
|
+
// },
|
|
597
|
+
// ]
|
|
598
|
+
// }
|
|
599
|
+
]
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
const shareFromWgMenuItem = () => {
|
|
603
|
+
return {
|
|
604
|
+
icon: svgToString(_jsx(IconShare, {})),
|
|
605
|
+
text: SDKUI_Localizator.Share,
|
|
606
|
+
visible: workingGroupContext !== undefined && openAddDocumentForm !== undefined,
|
|
607
|
+
disabled: workingGroupContext === undefined,
|
|
608
|
+
onClick: () => openAddDocumentForm && openAddDocumentForm(),
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
const copyFromWgMenuItem = () => {
|
|
612
|
+
return {
|
|
613
|
+
icon: svgToString(_jsx(IconCopy, {})),
|
|
614
|
+
text: SDKUI_Localizator.CopyToDrafts,
|
|
615
|
+
operationType: 'multiRow',
|
|
616
|
+
visible: openWGsCopyMoveForm !== undefined,
|
|
617
|
+
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
618
|
+
onClick: () => { (dtd && openWGsCopyMoveForm) && openWGsCopyMoveForm('copyToWgDraft', dtd, getSelectedDcmtsOrFocused(selectedItems, focusedItem)); },
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
const movetofolderFromWgMenuItem = () => {
|
|
622
|
+
return {
|
|
623
|
+
icon: svgToString(_jsx(IconMoveToFolder, {})),
|
|
624
|
+
text: !isMobile ? SDKUI_Localizator.CopyToArchivedDocuments : SDKUI_Localizator.CopyToArchived,
|
|
625
|
+
operationType: 'multiRow',
|
|
626
|
+
visible: openWGsCopyMoveForm !== undefined,
|
|
627
|
+
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
628
|
+
onClick: () => { (dtd && openWGsCopyMoveForm) && openWGsCopyMoveForm('copyToWgArchivedDoc', dtd, getSelectedDcmtsOrFocused(selectedItems, focusedItem)); },
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
const commentFromWgMenuItem = (beginGroup) => {
|
|
632
|
+
return {
|
|
633
|
+
icon: "chat",
|
|
634
|
+
text: SDKUI_Localizator.Comment,
|
|
635
|
+
operationType: 'multiRow',
|
|
636
|
+
visible: workingGroupContext !== undefined && openCommentFormCallback !== undefined,
|
|
637
|
+
disabled: workingGroupContext === undefined || disabledForMultiRow(selectedItems, focusedItem),
|
|
638
|
+
onClick: () => openCommentFormCallback && openCommentFormCallback(getSelectedDcmtsOrFocused(selectedItems, focusedItem)),
|
|
639
|
+
beginGroup: beginGroup,
|
|
640
|
+
};
|
|
641
|
+
};
|
|
642
|
+
const removeFromWgMenuItem = (text) => {
|
|
643
|
+
return {
|
|
644
|
+
icon: svgToString(_jsx(IconDelete, {})),
|
|
645
|
+
text: text,
|
|
646
|
+
operationType: 'multiRow',
|
|
647
|
+
visible: workingGroupContext !== undefined,
|
|
648
|
+
disabled: workingGroupContext === undefined || disabledForMultiRow(selectedItems, focusedItem),
|
|
649
|
+
onClick: async () => {
|
|
650
|
+
let dcmts = getSelectedDcmtsOrFocused(selectedItems, focusedItem);
|
|
651
|
+
if (workingGroupContext)
|
|
652
|
+
dcmts.forEach(dcmt => dcmt.workingGroupId = workingGroupContext.id);
|
|
653
|
+
await runOperationAsync(dcmts, DcmtOperationTypes.RemoveFromWorkgroup, onRefreshSearchAsync);
|
|
654
|
+
}
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
// MENU SPECIFICO ARCHIVED WORKGROUP
|
|
658
|
+
const getArchivedWorkgroupMenuItems = () => {
|
|
659
|
+
const items = [
|
|
660
|
+
addReplaceFileMenuItem(),
|
|
661
|
+
openFormMenuItem(),
|
|
662
|
+
deletetionMenuItem(),
|
|
663
|
+
fileConversionsMenuItem(),
|
|
664
|
+
...(SDK_Globals.tmSession?.SessionDescr?.appModuleID === AppModules.SURFER ? [createContextualTaskMenuItem()] : []),
|
|
665
|
+
downloadFileMenuItem(),
|
|
666
|
+
shareFromWgMenuItem(),
|
|
667
|
+
copyFromWgMenuItem(),
|
|
668
|
+
movetofolderFromWgMenuItem(),
|
|
669
|
+
commentFromWgMenuItem(false),
|
|
670
|
+
removeFromWgMenuItem(SDKUI_Localizator.RemoveFromWorkgroup),
|
|
671
|
+
];
|
|
672
|
+
return items.sort((a, b) => a.text.localeCompare(b.text));
|
|
673
|
+
};
|
|
674
|
+
// MENU STANDARD
|
|
675
|
+
const getDefaultMenuItems = () => {
|
|
676
|
+
return [
|
|
677
|
+
{
|
|
678
|
+
icon: svgToString(_jsx(IconFileDots, {})),
|
|
679
|
+
text: !isMobile ? SDKUI_Localizator.DocumentOperations : SDKUI_Localizator.Documents,
|
|
680
|
+
disabled: disabledForSingleRow(selectedItems, focusedItem) && disabledForMultiRow(selectedItems, focusedItem),
|
|
681
|
+
items: [
|
|
682
|
+
addToFavoriteMenuItem(),
|
|
683
|
+
addReplaceFileMenuItem(),
|
|
684
|
+
openFormMenuItem(),
|
|
685
|
+
deletetionMenuItem(),
|
|
686
|
+
fileCheckMenuItem(),
|
|
687
|
+
fileConversionsMenuItem(),
|
|
688
|
+
...(SDK_Globals.tmSession?.SessionDescr?.appModuleID === AppModules.SURFER ? [createContextualTaskMenuItem()] : []),
|
|
689
|
+
downloadFileMenuItem(),
|
|
690
|
+
downloadXMLAttachmentsMenuItem(),
|
|
691
|
+
duplicateDocumentMenuItem(),
|
|
692
|
+
batchUpdateMenuItem(),
|
|
693
|
+
passToArchive(),
|
|
694
|
+
...((isPdfEditorLicensed && pdfEditorAvailable && openEditPdf && getSelectedDcmtsOrFocused(selectedItems, focusedItem)?.[0]?.FILEEXT?.toLowerCase() === "pdf") ? [pdfEditorMenuItem(openEditPdf)] : []),
|
|
695
|
+
]
|
|
696
|
+
},
|
|
697
|
+
signatureMenuItem(),
|
|
698
|
+
// checkinMenuItem(),
|
|
699
|
+
relationsMenuItem(),
|
|
700
|
+
sharedDcmtsMenuItem(),
|
|
701
|
+
// shareMenuItem(),
|
|
702
|
+
fullTextSearchMenuItem(),
|
|
703
|
+
otherMenuItem(),
|
|
704
|
+
{
|
|
705
|
+
icon: svgToString(_jsx(IconUserGroupOutline, {})),
|
|
706
|
+
text: !isMobile ? SDKUI_Localizator.WorkgroupOperations : SDKUI_Localizator.WorkingGroups,
|
|
707
|
+
operationType: 'multiRow',
|
|
708
|
+
visible: openWGsCopyMoveForm !== undefined || workingGroupContext !== undefined,
|
|
709
|
+
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
710
|
+
beginGroup: true,
|
|
711
|
+
items: [
|
|
712
|
+
shareFromWgMenuItem(),
|
|
713
|
+
copyFromWgMenuItem(),
|
|
714
|
+
movetofolderFromWgMenuItem(),
|
|
715
|
+
commentFromWgMenuItem(true),
|
|
716
|
+
removeFromWgMenuItem(SDKUI_Localizator.Remove)
|
|
717
|
+
]
|
|
718
|
+
},
|
|
719
|
+
];
|
|
720
|
+
};
|
|
721
|
+
if (context === SearchResultContext.ARCHIVED_WORKGROUP) {
|
|
722
|
+
return getArchivedWorkgroupMenuItems();
|
|
723
|
+
}
|
|
724
|
+
return getDefaultMenuItems();
|
|
725
|
+
};
|