@topconsultnpm/sdkui-react 6.20.0-dev1.14 → 6.20.0-dev1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/lib/assets/IconsS4t/add.svg +0 -12
- package/lib/assets/IconsS4t/aggiorna.svg +0 -18
- package/lib/assets/IconsS4t/bookmark.svg +0 -42
- package/lib/assets/IconsS4t/cancella.svg +0 -15
- package/lib/assets/IconsS4t/check-box.svg +0 -19
- package/lib/assets/IconsS4t/down-arrow-signBook.svg +0 -40
- package/lib/assets/IconsS4t/down.svg +0 -28
- package/lib/assets/IconsS4t/edit-file.svg +0 -19
- package/lib/assets/IconsS4t/edita.svg +0 -32
- package/lib/assets/IconsS4t/firma.svg +0 -19
- package/lib/assets/IconsS4t/icona_download.svg +0 -16
- package/lib/assets/IconsS4t/info.svg +0 -51
- package/lib/assets/IconsS4t/left.svg +0 -20
- package/lib/assets/IconsS4t/line.svg +0 -40
- package/lib/assets/IconsS4t/more.svg +0 -19
- package/lib/assets/IconsS4t/new-signature.svg +0 -1
- package/lib/assets/IconsS4t/plus.svg +0 -23
- package/lib/assets/IconsS4t/printer.svg +0 -49
- package/lib/assets/IconsS4t/radio-on-button.svg +0 -25
- package/lib/assets/IconsS4t/rectangle.svg +0 -41
- package/lib/assets/IconsS4t/redo.svg +0 -19
- package/lib/assets/IconsS4t/right-arrow-signBook-finish.svg +0 -40
- package/lib/assets/IconsS4t/right-arrow-signBook.svg +0 -40
- package/lib/assets/IconsS4t/right.svg +0 -22
- package/lib/assets/IconsS4t/searchbar.svg +0 -21
- package/lib/assets/IconsS4t/text-box.svg +0 -36
- package/lib/assets/IconsS4t/tick.svg +0 -8
- package/lib/assets/IconsS4t/trash-white.svg +0 -11
- package/lib/assets/IconsS4t/trash.svg +0 -1
- package/lib/assets/IconsS4t/undo.svg +0 -19
- package/lib/assets/IconsS4t/up.svg +0 -32
- package/lib/assets/IconsS4t/video-streaming.svg +0 -2
- package/lib/assets/IconsS4t/zoom-in.svg +0 -58
- package/lib/assets/IconsS4t/zoom-out.svg +0 -56
- package/lib/assets/ImageLibrary/arrow_001.png +0 -0
- package/lib/assets/ImageLibrary/arrow_002.png +0 -0
- package/lib/assets/ImageLibrary/arrow_003.png +0 -0
- package/lib/assets/ImageLibrary/arrow_004.png +0 -0
- package/lib/assets/ImageLibrary/arrow_005.png +0 -0
- package/lib/assets/ImageLibrary/arrow_006.png +0 -0
- package/lib/assets/ImageLibrary/arrow_007.png +0 -0
- package/lib/assets/ImageLibrary/arrow_008.png +0 -0
- package/lib/assets/ImageLibrary/arrow_009.png +0 -0
- package/lib/assets/ImageLibrary/arrow_010.png +0 -0
- package/lib/assets/ImageLibrary/arrow_011.png +0 -0
- package/lib/assets/ImageLibrary/arrow_012.png +0 -0
- package/lib/assets/ImageLibrary/book_001.png +0 -0
- package/lib/assets/ImageLibrary/book_002.png +0 -0
- package/lib/assets/ImageLibrary/book_003.png +0 -0
- package/lib/assets/ImageLibrary/book_004.png +0 -0
- package/lib/assets/ImageLibrary/book_005.png +0 -0
- package/lib/assets/ImageLibrary/book_006.png +0 -0
- package/lib/assets/ImageLibrary/book_007.png +0 -0
- package/lib/assets/ImageLibrary/clock_001.png +0 -0
- package/lib/assets/ImageLibrary/clock_002.png +0 -0
- package/lib/assets/ImageLibrary/clock_003.png +0 -0
- package/lib/assets/ImageLibrary/cube_001.png +0 -0
- package/lib/assets/ImageLibrary/cube_002.png +0 -0
- package/lib/assets/ImageLibrary/cube_003.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_001.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_002.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_003.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_004.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_005.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_006.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_007.png +0 -0
- package/lib/assets/ImageLibrary/dcmt_008.png +0 -0
- package/lib/assets/ImageLibrary/emoticon_001.png +0 -0
- package/lib/assets/ImageLibrary/emoticon_002.png +0 -0
- package/lib/assets/ImageLibrary/emoticon_003.png +0 -0
- package/lib/assets/ImageLibrary/emoticon_004.png +0 -0
- package/lib/assets/ImageLibrary/fld_001.png +0 -0
- package/lib/assets/ImageLibrary/fld_002.png +0 -0
- package/lib/assets/ImageLibrary/fld_003.png +0 -0
- package/lib/assets/ImageLibrary/fld_004.png +0 -0
- package/lib/assets/ImageLibrary/fld_005.png +0 -0
- package/lib/assets/ImageLibrary/fld_006.png +0 -0
- package/lib/assets/ImageLibrary/fld_007.png +0 -0
- package/lib/assets/ImageLibrary/fld_008.png +0 -0
- package/lib/assets/ImageLibrary/fld_009.png +0 -0
- package/lib/assets/ImageLibrary/fld_010.png +0 -0
- package/lib/assets/ImageLibrary/fld_011.png +0 -0
- package/lib/assets/ImageLibrary/fld_012.png +0 -0
- package/lib/assets/ImageLibrary/fld_013.png +0 -0
- package/lib/assets/ImageLibrary/fld_014.png +0 -0
- package/lib/assets/ImageLibrary/fld_015.png +0 -0
- package/lib/assets/ImageLibrary/fld_016.png +0 -0
- package/lib/assets/ImageLibrary/fld_017.png +0 -0
- package/lib/assets/ImageLibrary/fld_018.png +0 -0
- package/lib/assets/ImageLibrary/fld_019.png +0 -0
- package/lib/assets/ImageLibrary/fld_020.png +0 -0
- package/lib/assets/ImageLibrary/fld_021.png +0 -0
- package/lib/assets/ImageLibrary/fld_022.png +0 -0
- package/lib/assets/ImageLibrary/fld_023.png +0 -0
- package/lib/assets/ImageLibrary/fld_024.png +0 -0
- package/lib/assets/ImageLibrary/fld_025.png +0 -0
- package/lib/assets/ImageLibrary/fld_026.png +0 -0
- package/lib/assets/ImageLibrary/fld_027.png +0 -0
- package/lib/assets/ImageLibrary/fld_028.png +0 -0
- package/lib/assets/ImageLibrary/fld_029.png +0 -0
- package/lib/assets/ImageLibrary/fld_030.png +0 -0
- package/lib/assets/ImageLibrary/fld_031.png +0 -0
- package/lib/assets/ImageLibrary/fld_032.png +0 -0
- package/lib/assets/ImageLibrary/fld_033.png +0 -0
- package/lib/assets/ImageLibrary/gen_001.png +0 -0
- package/lib/assets/ImageLibrary/gen_002.png +0 -0
- package/lib/assets/ImageLibrary/gen_003.png +0 -0
- package/lib/assets/ImageLibrary/gen_004.png +0 -0
- package/lib/assets/ImageLibrary/gen_005.png +0 -0
- package/lib/assets/ImageLibrary/gen_006.png +0 -0
- package/lib/assets/ImageLibrary/gen_007.png +0 -0
- package/lib/assets/ImageLibrary/gen_008.png +0 -0
- package/lib/assets/ImageLibrary/gen_009.png +0 -0
- package/lib/assets/ImageLibrary/gen_010.png +0 -0
- package/lib/assets/ImageLibrary/gen_011.png +0 -0
- package/lib/assets/ImageLibrary/gen_012.png +0 -0
- package/lib/assets/ImageLibrary/gen_013.png +0 -0
- package/lib/assets/ImageLibrary/gen_014.png +0 -0
- package/lib/assets/ImageLibrary/gen_015.png +0 -0
- package/lib/assets/ImageLibrary/gen_016.png +0 -0
- package/lib/assets/ImageLibrary/gen_017.png +0 -0
- package/lib/assets/ImageLibrary/gen_018.png +0 -0
- package/lib/assets/ImageLibrary/gen_019.png +0 -0
- package/lib/assets/ImageLibrary/gen_020.png +0 -0
- package/lib/assets/ImageLibrary/gen_021.png +0 -0
- package/lib/assets/ImageLibrary/gen_022.png +0 -0
- package/lib/assets/ImageLibrary/gen_023.png +0 -0
- package/lib/assets/ImageLibrary/gen_024.png +0 -0
- package/lib/assets/ImageLibrary/gen_025.png +0 -0
- package/lib/assets/ImageLibrary/gen_026.png +0 -0
- package/lib/assets/ImageLibrary/gen_027.png +0 -0
- package/lib/assets/ImageLibrary/gen_028.png +0 -0
- package/lib/assets/ImageLibrary/gen_029.png +0 -0
- package/lib/assets/ImageLibrary/gen_030.png +0 -0
- package/lib/assets/ImageLibrary/gen_031.png +0 -0
- package/lib/assets/ImageLibrary/gen_032.png +0 -0
- package/lib/assets/ImageLibrary/gen_033.png +0 -0
- package/lib/assets/ImageLibrary/gen_034.png +0 -0
- package/lib/assets/ImageLibrary/gen_035.png +0 -0
- package/lib/assets/ImageLibrary/gen_036.png +0 -0
- package/lib/assets/ImageLibrary/gen_037.png +0 -0
- package/lib/assets/ImageLibrary/gen_038.png +0 -0
- package/lib/assets/ImageLibrary/gen_039.png +0 -0
- package/lib/assets/ImageLibrary/gen_040.png +0 -0
- package/lib/assets/ImageLibrary/gen_041.png +0 -0
- package/lib/assets/ImageLibrary/gen_042.png +0 -0
- package/lib/assets/ImageLibrary/gen_043.png +0 -0
- package/lib/assets/ImageLibrary/gen_044.png +0 -0
- package/lib/assets/ImageLibrary/gen_045.png +0 -0
- package/lib/assets/ImageLibrary/gen_046.png +0 -0
- package/lib/assets/ImageLibrary/gen_047.png +0 -0
- package/lib/assets/ImageLibrary/gen_048.png +0 -0
- package/lib/assets/ImageLibrary/gen_049.png +0 -0
- package/lib/assets/ImageLibrary/gen_050.png +0 -0
- package/lib/assets/ImageLibrary/gen_051.png +0 -0
- package/lib/assets/ImageLibrary/gen_052.png +0 -0
- package/lib/assets/ImageLibrary/hand_001.png +0 -0
- package/lib/assets/ImageLibrary/hand_002.png +0 -0
- package/lib/assets/ImageLibrary/hand_003.png +0 -0
- package/lib/assets/ImageLibrary/hand_004.png +0 -0
- package/lib/assets/ImageLibrary/hand_005.png +0 -0
- package/lib/assets/ImageLibrary/hand_006.png +0 -0
- package/lib/assets/ImageLibrary/law_001.png +0 -0
- package/lib/assets/ImageLibrary/law_002.png +0 -0
- package/lib/assets/ImageLibrary/law_003.png +0 -0
- package/lib/assets/ImageLibrary/lock_001.png +0 -0
- package/lib/assets/ImageLibrary/lock_002.png +0 -0
- package/lib/assets/ImageLibrary/lock_003.png +0 -0
- package/lib/assets/ImageLibrary/mail_001.png +0 -0
- package/lib/assets/ImageLibrary/mail_002.png +0 -0
- package/lib/assets/ImageLibrary/mail_003.png +0 -0
- package/lib/assets/ImageLibrary/mail_004.png +0 -0
- package/lib/assets/ImageLibrary/mail_005.png +0 -0
- package/lib/assets/ImageLibrary/mail_006.png +0 -0
- package/lib/assets/ImageLibrary/mail_007.png +0 -0
- package/lib/assets/ImageLibrary/mail_008.png +0 -0
- package/lib/assets/ImageLibrary/mail_009.png +0 -0
- package/lib/assets/ImageLibrary/mail_010.png +0 -0
- package/lib/assets/ImageLibrary/mail_011.png +0 -0
- package/lib/assets/ImageLibrary/mail_012.png +0 -0
- package/lib/assets/ImageLibrary/mail_013.png +0 -0
- package/lib/assets/ImageLibrary/mail_014.png +0 -0
- package/lib/assets/ImageLibrary/mail_015.png +0 -0
- package/lib/assets/ImageLibrary/net_001.png +0 -0
- package/lib/assets/ImageLibrary/net_002.png +0 -0
- package/lib/assets/ImageLibrary/net_003.png +0 -0
- package/lib/assets/ImageLibrary/net_004.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_001.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_002.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_003.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_004.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_005.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_006.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_007.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_008.png +0 -0
- package/lib/assets/ImageLibrary/nmbr_009.png +0 -0
- package/lib/assets/ImageLibrary/note_001.png +0 -0
- package/lib/assets/ImageLibrary/note_002.png +0 -0
- package/lib/assets/ImageLibrary/note_003.png +0 -0
- package/lib/assets/ImageLibrary/note_004.png +0 -0
- package/lib/assets/ImageLibrary/note_005.png +0 -0
- package/lib/assets/ImageLibrary/note_006.png +0 -0
- package/lib/assets/ImageLibrary/note_007.png +0 -0
- package/lib/assets/ImageLibrary/note_008.png +0 -0
- package/lib/assets/ImageLibrary/note_009.png +0 -0
- package/lib/assets/ImageLibrary/note_010.png +0 -0
- package/lib/assets/ImageLibrary/note_011.png +0 -0
- package/lib/assets/ImageLibrary/note_012.png +0 -0
- package/lib/assets/ImageLibrary/note_013.png +0 -0
- package/lib/assets/ImageLibrary/note_014.png +0 -0
- package/lib/assets/ImageLibrary/note_015.png +0 -0
- package/lib/assets/ImageLibrary/note_016.png +0 -0
- package/lib/assets/ImageLibrary/run_001.png +0 -0
- package/lib/assets/ImageLibrary/run_002.png +0 -0
- package/lib/assets/ImageLibrary/run_003.png +0 -0
- package/lib/assets/ImageLibrary/sem_001.png +0 -0
- package/lib/assets/ImageLibrary/sem_002.png +0 -0
- package/lib/assets/ImageLibrary/sem_003.png +0 -0
- package/lib/assets/ImageLibrary/sem_004.png +0 -0
- package/lib/assets/ImageLibrary/sem_005.png +0 -0
- package/lib/assets/ImageLibrary/star_001.png +0 -0
- package/lib/assets/ImageLibrary/star_002.png +0 -0
- package/lib/assets/ImageLibrary/star_003.png +0 -0
- package/lib/assets/ImageLibrary/star_004.png +0 -0
- package/lib/assets/ImageLibrary/star_005.png +0 -0
- package/lib/assets/ImageLibrary/star_006.png +0 -0
- package/lib/assets/ImageLibrary/state_001.png +0 -0
- package/lib/assets/ImageLibrary/state_002.png +0 -0
- package/lib/assets/ImageLibrary/state_003.png +0 -0
- package/lib/assets/ImageLibrary/state_004.png +0 -0
- package/lib/assets/ImageLibrary/state_005.png +0 -0
- package/lib/assets/ImageLibrary/study_001.png +0 -0
- package/lib/assets/ImageLibrary/study_002.png +0 -0
- package/lib/assets/ImageLibrary/user_001.png +0 -0
- package/lib/assets/ImageLibrary/user_002.png +0 -0
- package/lib/assets/ImageLibrary/user_003.png +0 -0
- package/lib/assets/ImageLibrary/user_004.png +0 -0
- package/lib/assets/ImageLibrary/user_005.png +0 -0
- package/lib/assets/ImageLibrary/user_006.png +0 -0
- package/lib/assets/ImageLibrary/user_007.png +0 -0
- package/lib/assets/ImageLibrary/user_008.png +0 -0
- package/lib/assets/ImageLibrary/user_009.png +0 -0
- package/lib/assets/ImageLibrary/user_010.png +0 -0
- package/lib/assets/ImageLibrary/user_011.png +0 -0
- package/lib/assets/ImageLibrary/user_012.png +0 -0
- package/lib/assets/ImageLibrary/user_013.png +0 -0
- package/lib/assets/ImageLibrary/user_014.png +0 -0
- package/lib/assets/ImageLibrary/user_015.png +0 -0
- package/lib/assets/ImageLibrary/user_016.png +0 -0
- package/lib/assets/ImageLibrary/user_017.png +0 -0
- package/lib/assets/ImageLibrary/user_018.png +0 -0
- package/lib/assets/ImageLibrary/user_019.png +0 -0
- package/lib/assets/ImageLibrary/user_020.png +0 -0
- package/lib/assets/ImageLibrary/user_021.png +0 -0
- package/lib/assets/ImageLibrary/user_022.png +0 -0
- package/lib/assets/ImageLibrary/user_023.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_001.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_002.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_003.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_004.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_005.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_006.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_007.png +0 -0
- package/lib/assets/ImageLibrary/vehicle_008.png +0 -0
- package/lib/assets/Toppy-generico.png +0 -0
- package/lib/assets/france.svg +0 -1
- package/lib/assets/german.svg +0 -1
- package/lib/assets/icomoon.eot +0 -0
- package/lib/assets/icomoon.svg +0 -97
- package/lib/assets/icomoon.ttf +0 -0
- package/lib/assets/icomoon.woff +0 -0
- package/lib/assets/italy.svg +0 -16
- package/lib/assets/loading.png +0 -0
- package/lib/assets/login-bg.png +0 -0
- package/lib/assets/multipleSelectionManager.jpg +0 -0
- package/lib/assets/portugal.svg +0 -1
- package/lib/assets/six.png +0 -0
- package/lib/assets/six.svg +0 -4
- package/lib/assets/spain.svg +0 -1
- package/lib/assets/thumbnails/dicom.png +0 -0
- package/lib/assets/thumbnails/doc.png +0 -0
- package/lib/assets/thumbnails/docx.png +0 -0
- package/lib/assets/thumbnails/dwg.png +0 -0
- package/lib/assets/thumbnails/email.png +0 -0
- package/lib/assets/thumbnails/exe.png +0 -0
- package/lib/assets/thumbnails/folder.png +0 -0
- package/lib/assets/thumbnails/html.png +0 -0
- package/lib/assets/thumbnails/image.png +0 -0
- package/lib/assets/thumbnails/index.d.ts +0 -19
- package/lib/assets/thumbnails/index.js +0 -19
- package/lib/assets/thumbnails/index.ts +0 -39
- package/lib/assets/thumbnails/mp4.png +0 -0
- package/lib/assets/thumbnails/other.png +0 -0
- package/lib/assets/thumbnails/p7m.png +0 -0
- package/lib/assets/thumbnails/pdf.png +0 -0
- package/lib/assets/thumbnails/ppt.png +0 -0
- package/lib/assets/thumbnails/slddrw.png +0 -0
- package/lib/assets/thumbnails/txt.png +0 -0
- package/lib/assets/thumbnails/xls.png +0 -0
- package/lib/assets/thumbnails/xml.png +0 -0
- package/lib/assets/thumbnails/zip.png +0 -0
- package/lib/assets/topmedia-six.svg +0 -66
- package/lib/assets/topmeida-six-bianco.svg +0 -66
- package/lib/assets/united-kingdom.svg +0 -1
- package/lib/components/NewComponents/ContextMenu/TMContextMenu.d.ts +0 -4
- package/lib/components/NewComponents/ContextMenu/TMContextMenu.js +0 -187
- package/lib/components/NewComponents/ContextMenu/hooks.d.ts +0 -11
- package/lib/components/NewComponents/ContextMenu/hooks.js +0 -48
- package/lib/components/NewComponents/ContextMenu/index.d.ts +0 -2
- package/lib/components/NewComponents/ContextMenu/index.js +0 -1
- package/lib/components/NewComponents/ContextMenu/styles.d.ts +0 -27
- package/lib/components/NewComponents/ContextMenu/styles.js +0 -308
- package/lib/components/NewComponents/ContextMenu/types.d.ts +0 -26
- package/lib/components/NewComponents/ContextMenu/types.js +0 -1
- package/lib/components/NewComponents/FloatingMenuBar/TMFloatingMenuBar.d.ts +0 -4
- package/lib/components/NewComponents/FloatingMenuBar/TMFloatingMenuBar.js +0 -370
- package/lib/components/NewComponents/FloatingMenuBar/index.d.ts +0 -2
- package/lib/components/NewComponents/FloatingMenuBar/index.js +0 -2
- package/lib/components/NewComponents/FloatingMenuBar/styles.d.ts +0 -38
- package/lib/components/NewComponents/FloatingMenuBar/styles.js +0 -267
- package/lib/components/NewComponents/FloatingMenuBar/types.d.ts +0 -30
- package/lib/components/NewComponents/FloatingMenuBar/types.js +0 -1
- package/lib/components/NewComponents/Notification/Notification.d.ts +0 -4
- package/lib/components/NewComponents/Notification/Notification.js +0 -60
- package/lib/components/NewComponents/Notification/NotificationContainer.d.ts +0 -8
- package/lib/components/NewComponents/Notification/NotificationContainer.js +0 -33
- package/lib/components/NewComponents/Notification/index.d.ts +0 -2
- package/lib/components/NewComponents/Notification/index.js +0 -2
- package/lib/components/NewComponents/Notification/styles.d.ts +0 -21
- package/lib/components/NewComponents/Notification/styles.js +0 -180
- package/lib/components/NewComponents/Notification/types.d.ts +0 -18
- package/lib/components/NewComponents/Notification/types.js +0 -1
- package/lib/components/base/Styled.d.ts +0 -63
- package/lib/components/base/Styled.js +0 -337
- package/lib/components/base/TMAccordion.d.ts +0 -12
- package/lib/components/base/TMAccordion.js +0 -62
- package/lib/components/base/TMAccordionNew.d.ts +0 -28
- package/lib/components/base/TMAccordionNew.js +0 -326
- package/lib/components/base/TMAlert.d.ts +0 -73
- package/lib/components/base/TMAlert.js +0 -77
- package/lib/components/base/TMAreaManager.d.ts +0 -25
- package/lib/components/base/TMAreaManager.js +0 -733
- package/lib/components/base/TMButton.d.ts +0 -22
- package/lib/components/base/TMButton.js +0 -174
- package/lib/components/base/TMClosableList.d.ts +0 -10
- package/lib/components/base/TMClosableList.js +0 -70
- package/lib/components/base/TMConfirm.d.ts +0 -13
- package/lib/components/base/TMConfirm.js +0 -119
- package/lib/components/base/TMContextMenu.d.ts +0 -25
- package/lib/components/base/TMContextMenu.js +0 -109
- package/lib/components/base/TMContextMenuOLD.d.ts +0 -26
- package/lib/components/base/TMContextMenuOLD.js +0 -56
- package/lib/components/base/TMCounterBar.d.ts +0 -10
- package/lib/components/base/TMCounterBar.js +0 -43
- package/lib/components/base/TMCounterContainer.d.ts +0 -23
- package/lib/components/base/TMCounterContainer.js +0 -58
- package/lib/components/base/TMCustomButton.d.ts +0 -11
- package/lib/components/base/TMCustomButton.js +0 -118
- package/lib/components/base/TMDataGrid.d.ts +0 -56
- package/lib/components/base/TMDataGrid.js +0 -237
- package/lib/components/base/TMDataGridExportForm.d.ts +0 -15
- package/lib/components/base/TMDataGridExportForm.js +0 -215
- package/lib/components/base/TMDeviceProvider.d.ts +0 -15
- package/lib/components/base/TMDeviceProvider.js +0 -41
- package/lib/components/base/TMDropDownMenu.d.ts +0 -23
- package/lib/components/base/TMDropDownMenu.js +0 -45
- package/lib/components/base/TMEditorBase.d.ts +0 -39
- package/lib/components/base/TMEditorBase.js +0 -1
- package/lib/components/base/TMFileManager.d.ts +0 -45
- package/lib/components/base/TMFileManager.js +0 -233
- package/lib/components/base/TMFileManagerDataGridView.d.ts +0 -16
- package/lib/components/base/TMFileManagerDataGridView.js +0 -101
- package/lib/components/base/TMFileManagerThumbnailItems.d.ts +0 -18
- package/lib/components/base/TMFileManagerThumbnailItems.js +0 -148
- package/lib/components/base/TMFileManagerThumbnailsView.d.ts +0 -19
- package/lib/components/base/TMFileManagerThumbnailsView.js +0 -46
- package/lib/components/base/TMFileManagerUtils.d.ts +0 -78
- package/lib/components/base/TMFileManagerUtils.js +0 -207
- package/lib/components/base/TMFloatingToolbar.d.ts +0 -9
- package/lib/components/base/TMFloatingToolbar.js +0 -101
- package/lib/components/base/TMLayout.d.ts +0 -55
- package/lib/components/base/TMLayout.js +0 -201
- package/lib/components/base/TMList.d.ts +0 -9
- package/lib/components/base/TMList.js +0 -54
- package/lib/components/base/TMListView.d.ts +0 -42
- package/lib/components/base/TMListView.js +0 -387
- package/lib/components/base/TMModal.d.ts +0 -18
- package/lib/components/base/TMModal.js +0 -115
- package/lib/components/base/TMPanel.d.ts +0 -32
- package/lib/components/base/TMPanel.js +0 -181
- package/lib/components/base/TMPopUp.d.ts +0 -33
- package/lib/components/base/TMPopUp.js +0 -336
- package/lib/components/base/TMProgressBar.d.ts +0 -11
- package/lib/components/base/TMProgressBar.js +0 -32
- package/lib/components/base/TMResizableMenu.d.ts +0 -20
- package/lib/components/base/TMResizableMenu.js +0 -98
- package/lib/components/base/TMRightSidebar.d.ts +0 -19
- package/lib/components/base/TMRightSidebar.js +0 -80
- package/lib/components/base/TMShowAllOrMaxItemsButton.d.ts +0 -8
- package/lib/components/base/TMShowAllOrMaxItemsButton.js +0 -20
- package/lib/components/base/TMSpinner.d.ts +0 -14
- package/lib/components/base/TMSpinner.js +0 -160
- package/lib/components/base/TMTab.d.ts +0 -20
- package/lib/components/base/TMTab.js +0 -42
- package/lib/components/base/TMToggleButton.d.ts +0 -10
- package/lib/components/base/TMToggleButton.js +0 -58
- package/lib/components/base/TMToolbarCard.d.ts +0 -19
- package/lib/components/base/TMToolbarCard.js +0 -51
- package/lib/components/base/TMTooltip.d.ts +0 -14
- package/lib/components/base/TMTooltip.js +0 -20
- package/lib/components/base/TMTreeView.d.ts +0 -32
- package/lib/components/base/TMTreeView.js +0 -356
- package/lib/components/base/TMUserAvatar.d.ts +0 -8
- package/lib/components/base/TMUserAvatar.js +0 -34
- package/lib/components/base/TMVilViewer.d.ts +0 -5
- package/lib/components/base/TMVilViewer.js +0 -22
- package/lib/components/base/TMWaitPanel.d.ts +0 -32
- package/lib/components/base/TMWaitPanel.js +0 -50
- package/lib/components/choosers/TMCultureIDPicker.d.ts +0 -9
- package/lib/components/choosers/TMCultureIDPicker.js +0 -72
- package/lib/components/choosers/TMDataListItemChooser.d.ts +0 -17
- package/lib/components/choosers/TMDataListItemChooser.js +0 -49
- package/lib/components/choosers/TMDataListItemPicker.d.ts +0 -9
- package/lib/components/choosers/TMDataListItemPicker.js +0 -96
- package/lib/components/choosers/TMDcmtTypeChooser.d.ts +0 -25
- package/lib/components/choosers/TMDcmtTypeChooser.js +0 -61
- package/lib/components/choosers/TMDiskChooser.d.ts +0 -10
- package/lib/components/choosers/TMDiskChooser.js +0 -41
- package/lib/components/choosers/TMDistinctValues.d.ts +0 -21
- package/lib/components/choosers/TMDistinctValues.js +0 -140
- package/lib/components/choosers/TMDynDataListItemChooser.d.ts +0 -40
- package/lib/components/choosers/TMDynDataListItemChooser.js +0 -160
- package/lib/components/choosers/TMGroupChooser.d.ts +0 -7
- package/lib/components/choosers/TMGroupChooser.js +0 -37
- package/lib/components/choosers/TMInvoiceRetrieveFormats.d.ts +0 -4
- package/lib/components/choosers/TMInvoiceRetrieveFormats.js +0 -22
- package/lib/components/choosers/TMMetadataChooser.d.ts +0 -54
- package/lib/components/choosers/TMMetadataChooser.js +0 -157
- package/lib/components/choosers/TMOrderRetrieveFormats.d.ts +0 -4
- package/lib/components/choosers/TMOrderRetrieveFormats.js +0 -22
- package/lib/components/choosers/TMPathChooser.d.ts +0 -12
- package/lib/components/choosers/TMPathChooser.js +0 -147
- package/lib/components/choosers/TMRelationChooser.d.ts +0 -31
- package/lib/components/choosers/TMRelationChooser.js +0 -94
- package/lib/components/choosers/TMUserChooser.d.ts +0 -44
- package/lib/components/choosers/TMUserChooser.js +0 -157
- package/lib/components/editors/TMCheckBox.d.ts +0 -9
- package/lib/components/editors/TMCheckBox.js +0 -90
- package/lib/components/editors/TMDateBox.d.ts +0 -17
- package/lib/components/editors/TMDateBox.js +0 -75
- package/lib/components/editors/TMDropDown.d.ts +0 -10
- package/lib/components/editors/TMDropDown.js +0 -62
- package/lib/components/editors/TMEditorStyled.d.ts +0 -41
- package/lib/components/editors/TMEditorStyled.js +0 -90
- package/lib/components/editors/TMFormulaEditor.d.ts +0 -49
- package/lib/components/editors/TMFormulaEditor.js +0 -727
- package/lib/components/editors/TMHtmlContentDisplay.d.ts +0 -7
- package/lib/components/editors/TMHtmlContentDisplay.js +0 -78
- package/lib/components/editors/TMHtmlEditor.d.ts +0 -38
- package/lib/components/editors/TMHtmlEditor.js +0 -203
- package/lib/components/editors/TMLocalizedTextBox.d.ts +0 -19
- package/lib/components/editors/TMLocalizedTextBox.js +0 -125
- package/lib/components/editors/TMMetadataEditor.d.ts +0 -29
- package/lib/components/editors/TMMetadataEditor.js +0 -140
- package/lib/components/editors/TMMetadataValues.d.ts +0 -46
- package/lib/components/editors/TMMetadataValues.js +0 -593
- package/lib/components/editors/TMRadioButton.d.ts +0 -10
- package/lib/components/editors/TMRadioButton.js +0 -57
- package/lib/components/editors/TMSummary.d.ts +0 -20
- package/lib/components/editors/TMSummary.js +0 -92
- package/lib/components/editors/TMTextArea.d.ts +0 -18
- package/lib/components/editors/TMTextArea.js +0 -189
- package/lib/components/editors/TMTextBox.d.ts +0 -20
- package/lib/components/editors/TMTextBox.js +0 -279
- package/lib/components/editors/TMTextExpression.d.ts +0 -25
- package/lib/components/editors/TMTextExpression.js +0 -182
- package/lib/components/editors/TMTreeDropDown.d.ts +0 -18
- package/lib/components/editors/TMTreeDropDown.js +0 -66
- package/lib/components/features/archive/TMArchive.d.ts +0 -29
- package/lib/components/features/archive/TMArchive.js +0 -193
- package/lib/components/features/assistant/ToppyDraggableHelpCenter.d.ts +0 -30
- package/lib/components/features/assistant/ToppyDraggableHelpCenter.js +0 -482
- package/lib/components/features/assistant/ToppySpeechBubble.d.ts +0 -9
- package/lib/components/features/assistant/ToppySpeechBubble.js +0 -117
- package/lib/components/features/blog/TMBlogCommentForm.d.ts +0 -19
- package/lib/components/features/blog/TMBlogCommentForm.js +0 -345
- package/lib/components/features/documents/TMBatchUpdateForm.d.ts +0 -17
- package/lib/components/features/documents/TMBatchUpdateForm.js +0 -159
- package/lib/components/features/documents/TMDcmtBlog.d.ts +0 -17
- package/lib/components/features/documents/TMDcmtBlog.js +0 -92
- package/lib/components/features/documents/TMDcmtForm.d.ts +0 -65
- package/lib/components/features/documents/TMDcmtForm.js +0 -1491
- package/lib/components/features/documents/TMDcmtIcon.d.ts +0 -18
- package/lib/components/features/documents/TMDcmtIcon.js +0 -98
- package/lib/components/features/documents/TMDcmtPreview.d.ts +0 -31
- package/lib/components/features/documents/TMDcmtPreview.js +0 -491
- package/lib/components/features/documents/TMDcmtTasks.d.ts +0 -13
- package/lib/components/features/documents/TMDcmtTasks.js +0 -24
- package/lib/components/features/documents/TMDragDropOverlay.d.ts +0 -6
- package/lib/components/features/documents/TMDragDropOverlay.js +0 -97
- package/lib/components/features/documents/TMFileUploader.d.ts +0 -14
- package/lib/components/features/documents/TMFileUploader.js +0 -115
- package/lib/components/features/documents/TMMasterDetailDcmts.d.ts +0 -26
- package/lib/components/features/documents/TMMasterDetailDcmts.js +0 -288
- package/lib/components/features/documents/TMRelationViewer.d.ts +0 -121
- package/lib/components/features/documents/TMRelationViewer.js +0 -753
- package/lib/components/features/search/TMSavedQueryForm.d.ts +0 -9
- package/lib/components/features/search/TMSavedQueryForm.js +0 -41
- package/lib/components/features/search/TMSavedQuerySelector.d.ts +0 -16
- package/lib/components/features/search/TMSavedQuerySelector.js +0 -226
- package/lib/components/features/search/TMSearch.d.ts +0 -40
- package/lib/components/features/search/TMSearch.js +0 -253
- package/lib/components/features/search/TMSearchQueryEditor.d.ts +0 -15
- package/lib/components/features/search/TMSearchQueryEditor.js +0 -367
- package/lib/components/features/search/TMSearchQueryPanel.d.ts +0 -29
- package/lib/components/features/search/TMSearchQueryPanel.js +0 -437
- package/lib/components/features/search/TMSearchResult.d.ts +0 -53
- package/lib/components/features/search/TMSearchResult.js +0 -1327
- package/lib/components/features/search/TMSearchResultCheckoutInfoForm.d.ts +0 -8
- package/lib/components/features/search/TMSearchResultCheckoutInfoForm.js +0 -129
- package/lib/components/features/search/TMSearchResultFloatingActionButton.d.ts +0 -16
- package/lib/components/features/search/TMSearchResultFloatingActionButton.js +0 -50
- package/lib/components/features/search/TMSearchResultsMenuItems.d.ts +0 -11
- package/lib/components/features/search/TMSearchResultsMenuItems.js +0 -714
- package/lib/components/features/search/TMSignSettingsForm.d.ts +0 -9
- package/lib/components/features/search/TMSignSettingsForm.js +0 -621
- package/lib/components/features/search/TMTreeSelector.d.ts +0 -12
- package/lib/components/features/search/TMTreeSelector.js +0 -270
- package/lib/components/features/search/TMViewHistoryDcmt.d.ts +0 -18
- package/lib/components/features/search/TMViewHistoryDcmt.js +0 -285
- package/lib/components/features/tasks/TMTaskForm.d.ts +0 -38
- package/lib/components/features/tasks/TMTaskForm.js +0 -392
- package/lib/components/features/tasks/TMTasksAgenda.d.ts +0 -17
- package/lib/components/features/tasks/TMTasksAgenda.js +0 -107
- package/lib/components/features/tasks/TMTasksCalendar.d.ts +0 -21
- package/lib/components/features/tasks/TMTasksCalendar.js +0 -240
- package/lib/components/features/tasks/TMTasksHeader.d.ts +0 -14
- package/lib/components/features/tasks/TMTasksHeader.js +0 -37
- package/lib/components/features/tasks/TMTasksPanelContent.d.ts +0 -20
- package/lib/components/features/tasks/TMTasksPanelContent.js +0 -65
- package/lib/components/features/tasks/TMTasksUtils.d.ts +0 -133
- package/lib/components/features/tasks/TMTasksUtils.js +0 -649
- package/lib/components/features/tasks/TMTasksUtilsView.d.ts +0 -39
- package/lib/components/features/tasks/TMTasksUtilsView.js +0 -140
- package/lib/components/features/tasks/TMTasksView.d.ts +0 -40
- package/lib/components/features/tasks/TMTasksView.js +0 -566
- package/lib/components/features/wg/TMWGsCopyMoveForm.d.ts +0 -39
- package/lib/components/features/wg/TMWGsCopyMoveForm.js +0 -439
- package/lib/components/features/workflow/TMWorkflowPopup.d.ts +0 -42
- package/lib/components/features/workflow/TMWorkflowPopup.js +0 -286
- package/lib/components/features/workflow/diagram/ConnectionComponent.d.ts +0 -14
- package/lib/components/features/workflow/diagram/ConnectionComponent.js +0 -90
- package/lib/components/features/workflow/diagram/ConnectionForm.d.ts +0 -9
- package/lib/components/features/workflow/diagram/ConnectionForm.js +0 -73
- package/lib/components/features/workflow/diagram/DiagramItemComponent.d.ts +0 -18
- package/lib/components/features/workflow/diagram/DiagramItemComponent.js +0 -264
- package/lib/components/features/workflow/diagram/DiagramItemForm.d.ts +0 -10
- package/lib/components/features/workflow/diagram/DiagramItemForm.js +0 -686
- package/lib/components/features/workflow/diagram/DiagramItemSvgContent.d.ts +0 -12
- package/lib/components/features/workflow/diagram/DiagramItemSvgContent.js +0 -97
- package/lib/components/features/workflow/diagram/RecipientList.d.ts +0 -27
- package/lib/components/features/workflow/diagram/RecipientList.js +0 -204
- package/lib/components/features/workflow/diagram/WFDiagram.d.ts +0 -9
- package/lib/components/features/workflow/diagram/WFDiagram.js +0 -1698
- package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.d.ts +0 -18
- package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.js +0 -97
- package/lib/components/features/workflow/diagram/interfaces.d.ts +0 -126
- package/lib/components/features/workflow/diagram/interfaces.js +0 -26
- package/lib/components/features/workflow/diagram/metadataParser.d.ts +0 -14
- package/lib/components/features/workflow/diagram/metadataParser.js +0 -54
- package/lib/components/features/workflow/diagram/queryDescriptorParser.d.ts +0 -3
- package/lib/components/features/workflow/diagram/queryDescriptorParser.js +0 -188
- package/lib/components/features/workflow/diagram/workflowHelpers.d.ts +0 -122
- package/lib/components/features/workflow/diagram/workflowHelpers.js +0 -488
- package/lib/components/features/workflow/diagram/xmlParser.d.ts +0 -10
- package/lib/components/features/workflow/diagram/xmlParser.js +0 -490
- package/lib/components/filesystem/ProgressBar.d.ts +0 -7
- package/lib/components/filesystem/ProgressBar.js +0 -25
- package/lib/components/forms/Login/ChangePassword.d.ts +0 -9
- package/lib/components/forms/Login/ChangePassword.js +0 -22
- package/lib/components/forms/Login/ChangePasswordInputs.d.ts +0 -14
- package/lib/components/forms/Login/ChangePasswordInputs.js +0 -80
- package/lib/components/forms/Login/Chooser.d.ts +0 -28
- package/lib/components/forms/Login/Chooser.js +0 -145
- package/lib/components/forms/Login/LOGINLocalizator.d.ts +0 -29
- package/lib/components/forms/Login/LOGINLocalizator.js +0 -247
- package/lib/components/forms/Login/LoginValidatorService.d.ts +0 -50
- package/lib/components/forms/Login/LoginValidatorService.js +0 -162
- package/lib/components/forms/Login/Menu.d.ts +0 -10
- package/lib/components/forms/Login/Menu.js +0 -48
- package/lib/components/forms/Login/OTPReader.d.ts +0 -14
- package/lib/components/forms/Login/OTPReader.js +0 -90
- package/lib/components/forms/Login/PasswordStrengthChecker.d.ts +0 -7
- package/lib/components/forms/Login/PasswordStrengthChecker.js +0 -45
- package/lib/components/forms/Login/RapidAccessLogin.d.ts +0 -25
- package/lib/components/forms/Login/RapidAccessLogin.js +0 -310
- package/lib/components/forms/Login/RecoverPasswordFlow.d.ts +0 -11
- package/lib/components/forms/Login/RecoverPasswordFlow.js +0 -111
- package/lib/components/forms/Login/SelectBox.d.ts +0 -23
- package/lib/components/forms/Login/SelectBox.js +0 -96
- package/lib/components/forms/Login/StepIndicator.d.ts +0 -7
- package/lib/components/forms/Login/StepIndicator.js +0 -19
- package/lib/components/forms/Login/TMLoginForm.d.ts +0 -44
- package/lib/components/forms/Login/TMLoginForm.js +0 -737
- package/lib/components/forms/Login/TextBox.d.ts +0 -27
- package/lib/components/forms/Login/TextBox.js +0 -111
- package/lib/components/forms/TMApplyForm.d.ts +0 -4
- package/lib/components/forms/TMApplyForm.js +0 -105
- package/lib/components/forms/TMChooserForm.d.ts +0 -3
- package/lib/components/forms/TMChooserForm.js +0 -94
- package/lib/components/forms/TMResultDialog.d.ts +0 -20
- package/lib/components/forms/TMResultDialog.js +0 -44
- package/lib/components/forms/TMSaveForm.d.ts +0 -31
- package/lib/components/forms/TMSaveForm.js +0 -168
- package/lib/components/grids/TMBlogAttachments.d.ts +0 -28
- package/lib/components/grids/TMBlogAttachments.js +0 -48
- package/lib/components/grids/TMBlogHeader.d.ts +0 -31
- package/lib/components/grids/TMBlogHeader.js +0 -41
- package/lib/components/grids/TMBlogsPost.d.ts +0 -91
- package/lib/components/grids/TMBlogsPost.js +0 -689
- package/lib/components/grids/TMBlogsPostUtils.d.ts +0 -114
- package/lib/components/grids/TMBlogsPostUtils.js +0 -269
- package/lib/components/grids/TMRecentsManager.d.ts +0 -13
- package/lib/components/grids/TMRecentsManager.js +0 -155
- package/lib/components/grids/TMValidationItemsList.d.ts +0 -6
- package/lib/components/grids/TMValidationItemsList.js +0 -82
- package/lib/components/index.d.ts +0 -116
- package/lib/components/index.js +0 -138
- package/lib/components/layout/panelManager/TMPanelManagerContainer.d.ts +0 -10
- package/lib/components/layout/panelManager/TMPanelManagerContainer.js +0 -215
- package/lib/components/layout/panelManager/TMPanelManagerContext.d.ts +0 -39
- package/lib/components/layout/panelManager/TMPanelManagerContext.js +0 -257
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.d.ts +0 -11
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.js +0 -83
- package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.d.ts +0 -21
- package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.js +0 -64
- package/lib/components/layout/panelManager/TMPanelWrapper.d.ts +0 -8
- package/lib/components/layout/panelManager/TMPanelWrapper.js +0 -59
- package/lib/components/layout/panelManager/types.d.ts +0 -42
- package/lib/components/layout/panelManager/types.js +0 -1
- package/lib/components/layout/panelManager/utils.d.ts +0 -21
- package/lib/components/layout/panelManager/utils.js +0 -208
- package/lib/components/pages/TMPage.d.ts +0 -38
- package/lib/components/pages/TMPage.js +0 -220
- package/lib/components/query/TMQueryEditor.d.ts +0 -58
- package/lib/components/query/TMQueryEditor.js +0 -1001
- package/lib/components/query/TMQuerySummary.d.ts +0 -16
- package/lib/components/query/TMQuerySummary.js +0 -35
- package/lib/components/settings/SettingsAppearance.d.ts +0 -14
- package/lib/components/settings/SettingsAppearance.js +0 -73
- package/lib/components/sidebar/TMAboutApp.d.ts +0 -8
- package/lib/components/sidebar/TMAboutApp.js +0 -14
- package/lib/components/sidebar/TMCommandsPanel.d.ts +0 -16
- package/lib/components/sidebar/TMCommandsPanel.js +0 -27
- package/lib/components/sidebar/TMHeader.d.ts +0 -43
- package/lib/components/sidebar/TMHeader.js +0 -616
- package/lib/components/sidebar/TMSidebar.d.ts +0 -21
- package/lib/components/sidebar/TMSidebar.js +0 -61
- package/lib/components/sidebar/TMSidebarItem.d.ts +0 -15
- package/lib/components/sidebar/TMSidebarItem.js +0 -39
- package/lib/components/viewers/TMDataListItemViewer.d.ts +0 -10
- package/lib/components/viewers/TMDataListItemViewer.js +0 -80
- package/lib/components/viewers/TMMidViewer.d.ts +0 -36
- package/lib/components/viewers/TMMidViewer.js +0 -128
- package/lib/components/viewers/TMTidViewer.d.ts +0 -256
- package/lib/components/viewers/TMTidViewer.js +0 -343
- package/lib/components/wizard/TMStepIndicator.d.ts +0 -11
- package/lib/components/wizard/TMStepIndicator.js +0 -165
- package/lib/components/wizard/TMWizard.d.ts +0 -18
- package/lib/components/wizard/TMWizard.js +0 -93
- package/lib/css/tm-sdkui.css +0 -1
- package/lib/helper/DeepCompareHelper.d.ts +0 -7
- package/lib/helper/DeepCompareHelper.js +0 -106
- package/lib/helper/Enum_Localizator.d.ts +0 -18
- package/lib/helper/Enum_Localizator.js +0 -247
- package/lib/helper/GlobalStyles.d.ts +0 -2
- package/lib/helper/GlobalStyles.js +0 -10
- package/lib/helper/Globalization.d.ts +0 -15
- package/lib/helper/Globalization.js +0 -110
- package/lib/helper/SDKUI_Globals.d.ts +0 -92
- package/lib/helper/SDKUI_Globals.js +0 -175
- package/lib/helper/SDKUI_Localizator.d.ts +0 -769
- package/lib/helper/SDKUI_Localizator.js +0 -7641
- package/lib/helper/TMCommandsContextMenu.d.ts +0 -14
- package/lib/helper/TMCommandsContextMenu.js +0 -6
- package/lib/helper/TMConditionalWrapper.d.ts +0 -8
- package/lib/helper/TMConditionalWrapper.js +0 -4
- package/lib/helper/TMCustomSearchBar.d.ts +0 -8
- package/lib/helper/TMCustomSearchBar.js +0 -54
- package/lib/helper/TMIcons.d.ts +0 -278
- package/lib/helper/TMIcons.js +0 -690
- package/lib/helper/TMImageLibrary.d.ts +0 -4
- package/lib/helper/TMImageLibrary.js +0 -466
- package/lib/helper/TMToppyMessage.d.ts +0 -8
- package/lib/helper/TMToppyMessage.js +0 -43
- package/lib/helper/TMUtils.d.ts +0 -69
- package/lib/helper/TMUtils.js +0 -435
- package/lib/helper/checkinCheckoutManager.d.ts +0 -55
- package/lib/helper/checkinCheckoutManager.js +0 -266
- package/lib/helper/dcmtsHelper.d.ts +0 -8
- package/lib/helper/dcmtsHelper.js +0 -82
- package/lib/helper/helpers.d.ts +0 -91
- package/lib/helper/helpers.js +0 -852
- package/lib/helper/index.d.ts +0 -14
- package/lib/helper/index.js +0 -14
- package/lib/helper/queryHelper.d.ts +0 -19
- package/lib/helper/queryHelper.js +0 -348
- package/lib/hooks/useDcmtOperations.d.ts +0 -24
- package/lib/hooks/useDcmtOperations.js +0 -486
- package/lib/hooks/useForm.d.ts +0 -24
- package/lib/hooks/useForm.js +0 -157
- package/lib/hooks/useInputDialog.d.ts +0 -9
- package/lib/hooks/useInputDialog.js +0 -105
- package/lib/hooks/useOutsideClick.d.ts +0 -2
- package/lib/hooks/useOutsideClick.js +0 -38
- package/lib/hooks/usePreventFileDrop.d.ts +0 -3
- package/lib/hooks/usePreventFileDrop.js +0 -37
- package/lib/hooks/useQueryParametersDialog.d.ts +0 -2
- package/lib/hooks/useQueryParametersDialog.js +0 -71
- package/lib/hooks/useRelatedDocuments.d.ts +0 -72
- package/lib/hooks/useRelatedDocuments.js +0 -664
- package/lib/hooks/useResizeObserver.d.ts +0 -4
- package/lib/hooks/useResizeObserver.js +0 -22
- package/lib/hooks/useWorkflowApprove.d.ts +0 -11
- package/lib/hooks/useWorkflowApprove.js +0 -57
- package/lib/index.d.ts +0 -12
- package/lib/index.js +0 -15
- package/lib/services/index.d.ts +0 -1
- package/lib/services/index.js +0 -1
- package/lib/services/platform_services.d.ts +0 -18
- package/lib/services/platform_services.js +0 -492
- package/lib/ts/index.d.ts +0 -1
- package/lib/ts/index.js +0 -1
- package/lib/ts/types.d.ts +0 -312
- package/lib/ts/types.js +0 -100
- package/lib/utils/theme.d.ts +0 -69
- package/lib/utils/theme.js +0 -81
|
@@ -1,437 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
3
|
-
import { PlatformObjectValidator, WhereItem, SDK_Localizator, OrderByItem, SelectItem, SelectItemVisibilities, SDK_Globals, SavedQueryCacheService, SearchEngine, QueryOperators } from '@topconsultnpm/sdk-ts';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
import TMSearchQueryEditor from './TMSearchQueryEditor';
|
|
6
|
-
import { getDcmtTypesByQdAsync, SDKUI_Localizator, getQD, IconMenuVertical, IconAddCircleOutline, IconEdit, IconEasy, IconAdvanced, deepCompare, IconSearch, IconClear, getDefaultOperator, prepareQdForSearchAsync, IsParametricQuery, SDKUI_Globals, IconArrowRight, IconMenuCAArchive, getListMaxItems } from '../../../helper';
|
|
7
|
-
import { useQueryParametersDialog } from '../../../hooks/useQueryParametersDialog';
|
|
8
|
-
import { FormModes } from '../../../ts';
|
|
9
|
-
import { TMColors } from '../../../utils/theme';
|
|
10
|
-
import { StyledModalContainer } from '../../base/Styled';
|
|
11
|
-
import ShowAlert from '../../base/TMAlert';
|
|
12
|
-
import TMButton from '../../base/TMButton';
|
|
13
|
-
import { useDeviceType, DeviceType } from '../../base/TMDeviceProvider';
|
|
14
|
-
import TMDropDownMenu from '../../base/TMDropDownMenu';
|
|
15
|
-
import { TMExceptionBoxManager } from '../../base/TMPopUp';
|
|
16
|
-
import TMSpinner from '../../base/TMSpinner';
|
|
17
|
-
import TMPanel from '../../base/TMPanel';
|
|
18
|
-
import TMDistinctValues from '../../choosers/TMDistinctValues';
|
|
19
|
-
import { TMMetadataChooserForm } from '../../choosers/TMMetadataChooser';
|
|
20
|
-
import TMQueryEditor from '../../query/TMQueryEditor';
|
|
21
|
-
import TMSavedQueryForm from './TMSavedQueryForm';
|
|
22
|
-
import { AdvancedMenuButtons } from '../../editors/TMMetadataValues';
|
|
23
|
-
import TMToppyMessage from '../../../helper/TMToppyMessage';
|
|
24
|
-
const TMSearchQueryPanel = ({ fromDTD, showBackToResultButton, isExpertMode = SDKUI_Globals.userSettings.advancedSettings.expertMode === 1, SQD, inputMids, onSearchCompleted, onSqdSaved, onBack, onClosePanel, allowMaximize = true, onMaximizePanel, onBackToResult, passToArchiveCallback }) => {
|
|
25
|
-
const [confirmQueryParams, ConfirmQueryParamsDialog] = useQueryParametersDialog();
|
|
26
|
-
const [qd, setQd] = useState();
|
|
27
|
-
const [shouldSearch, setShouldSearch] = useState(false);
|
|
28
|
-
const [isQueryPanelActive, setIsQueryPanelActive] = useState(false);
|
|
29
|
-
const [lastQdParams, setLastQdParams] = useState([]);
|
|
30
|
-
const [dcmtTypesList, setDcmtTypesList] = useState([]);
|
|
31
|
-
const [showSqdForm, setShowSqdForm] = useState(false);
|
|
32
|
-
const [formModeSqdForm, setFormModeSqdForm] = useState(FormModes.Update);
|
|
33
|
-
const [showAllMdWhere, setShowAllMdWhere] = useState(false);
|
|
34
|
-
const [showAdvancedSearch, setShowAdvancedSearch] = useState(false);
|
|
35
|
-
const [showFiltersConfig, setShowFiltersConfig] = useState(false);
|
|
36
|
-
const [showOutputConfig, setShowOutputConfig] = useState(false);
|
|
37
|
-
const [showOrderByConfig, setShowOrderByConfig] = useState(false);
|
|
38
|
-
const [showDistinctValuesPanel, setShowDistinctValuesPanel] = useState(false);
|
|
39
|
-
const [focusedTidMid, setFocusedTidMid] = useState();
|
|
40
|
-
const deviceType = useDeviceType();
|
|
41
|
-
const isMobile = deviceType === DeviceType.MOBILE;
|
|
42
|
-
let initialMaxItems = deviceType === DeviceType.MOBILE ? 8 : 12;
|
|
43
|
-
const appliedInputMidsRef = useRef(null);
|
|
44
|
-
const pendingMidsRef = useRef(null);
|
|
45
|
-
useEffect(() => {
|
|
46
|
-
if (!SQD)
|
|
47
|
-
return;
|
|
48
|
-
setDataAsync(SQD);
|
|
49
|
-
}, [SQD]);
|
|
50
|
-
useEffect(() => {
|
|
51
|
-
pendingMidsRef.current = inputMids ?? null;
|
|
52
|
-
}, [inputMids]);
|
|
53
|
-
useEffect(() => {
|
|
54
|
-
if (!fromDTD)
|
|
55
|
-
return;
|
|
56
|
-
// Reset appliedInputMidsRef when TID changes so pending mids can be applied to new TID
|
|
57
|
-
appliedInputMidsRef.current = null;
|
|
58
|
-
const initQd = async () => {
|
|
59
|
-
// Only initialize if qd doesn't exist or is for a different TID
|
|
60
|
-
if (!qd || qd.from?.tid !== fromDTD.id) {
|
|
61
|
-
const newQd = await getQD(fromDTD.id, false);
|
|
62
|
-
if (newQd) {
|
|
63
|
-
setQd(newQd);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
initQd();
|
|
68
|
-
}, [fromDTD?.id]);
|
|
69
|
-
// Apply inputMids when qd is ready and matches fromDTD
|
|
70
|
-
useEffect(() => {
|
|
71
|
-
if (!qd || !fromDTD || qd.from?.tid !== fromDTD.id)
|
|
72
|
-
return;
|
|
73
|
-
const midsToApply = pendingMidsRef.current;
|
|
74
|
-
if (!midsToApply || midsToApply.length === 0)
|
|
75
|
-
return;
|
|
76
|
-
if (appliedInputMidsRef.current && deepCompare(appliedInputMidsRef.current, midsToApply))
|
|
77
|
-
return;
|
|
78
|
-
appliedInputMidsRef.current = midsToApply;
|
|
79
|
-
const newWhere = qd.where?.map((curItem) => {
|
|
80
|
-
let newWi = new WhereItem();
|
|
81
|
-
newWi.init({ ...curItem, value1: undefined, value2: undefined });
|
|
82
|
-
return newWi;
|
|
83
|
-
}) || [];
|
|
84
|
-
midsToApply.forEach(im => {
|
|
85
|
-
const md = fromDTD.metadata?.find(m => m.id === im.mid);
|
|
86
|
-
// Skip MIDs that don't belong to this TID
|
|
87
|
-
if (!md) {
|
|
88
|
-
console.warn(`MID ${im.mid} does not belong to TID ${fromDTD.id}, skipping`);
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
const defaultOperator = getDefaultOperator(md?.dataDomain, md?.dataType);
|
|
92
|
-
let existingWi = newWhere.find(wi => wi.mid === im.mid);
|
|
93
|
-
if (existingWi) {
|
|
94
|
-
existingWi.value1 = im.value;
|
|
95
|
-
existingWi.operator = defaultOperator;
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
const wi = new WhereItem();
|
|
99
|
-
wi.tid = fromDTD.id;
|
|
100
|
-
wi.mid = im.mid;
|
|
101
|
-
wi.value1 = im.value;
|
|
102
|
-
wi.operator = defaultOperator;
|
|
103
|
-
wi.or = false;
|
|
104
|
-
newWhere.push(wi);
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
setQd({ ...qd, where: newWhere });
|
|
108
|
-
setShowAllMdWhere(true);
|
|
109
|
-
}, [qd, fromDTD, inputMids]);
|
|
110
|
-
// Eseguire la ricerca quando shouldSearch è true e qd è definito
|
|
111
|
-
useEffect(() => {
|
|
112
|
-
if (shouldSearch && qd) {
|
|
113
|
-
const executeSearch = async () => {
|
|
114
|
-
await searchAsync(qd, showAdvancedSearch);
|
|
115
|
-
setShouldSearch(false); // Resetta il trigger dopo la ricerca
|
|
116
|
-
};
|
|
117
|
-
executeSearch();
|
|
118
|
-
}
|
|
119
|
-
}, [shouldSearch, qd, showAdvancedSearch]);
|
|
120
|
-
useEffect(() => {
|
|
121
|
-
const handleKeyDown = (e) => {
|
|
122
|
-
if (isQueryPanelActive) {
|
|
123
|
-
if (e.key === 'Enter') {
|
|
124
|
-
e.preventDefault();
|
|
125
|
-
// Disattiva l'elemento attivo per forzare l'onBlur
|
|
126
|
-
if (document.activeElement instanceof HTMLElement) {
|
|
127
|
-
document.activeElement.blur();
|
|
128
|
-
}
|
|
129
|
-
// Attiva il flag di ricerca. L'useEffect sopra gestirà l'attesa di qd.
|
|
130
|
-
setShouldSearch(true);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
window.addEventListener('keydown', handleKeyDown);
|
|
135
|
-
return () => {
|
|
136
|
-
window.removeEventListener('keydown', handleKeyDown);
|
|
137
|
-
};
|
|
138
|
-
}, [isQueryPanelActive]);
|
|
139
|
-
const setDataAsync = async (sqd) => {
|
|
140
|
-
let newSqd = (sqd?.id == 1) ? sqd : await SavedQueryCacheService.GetAsync(sqd?.id);
|
|
141
|
-
let newQd = SearchEngine.NormalizeQueryDescriptor(newSqd?.qd);
|
|
142
|
-
setQd(newQd);
|
|
143
|
-
if (newQd)
|
|
144
|
-
getDcmtTypesByQdAsync(newQd).then((dtdl) => setDcmtTypesList(dtdl)).catch((err) => { TMExceptionBoxManager.show({ exception: err }); });
|
|
145
|
-
setLastQdParams([]);
|
|
146
|
-
if (newSqd?.runSearchWhenSelected == 1)
|
|
147
|
-
await searchAsync?.(newQd, newSqd?.isEasyWhere != 1);
|
|
148
|
-
setShowAdvancedSearch(newSqd?.isEasyWhere != 1);
|
|
149
|
-
};
|
|
150
|
-
const clearFilters = () => {
|
|
151
|
-
const newWhere = qd?.where?.map((curItem, curIndex) => {
|
|
152
|
-
let newWi = new WhereItem();
|
|
153
|
-
newWi.init({ ...curItem, value1: undefined, value2: undefined });
|
|
154
|
-
return newWi;
|
|
155
|
-
});
|
|
156
|
-
setQd({ ...qd, where: newWhere });
|
|
157
|
-
};
|
|
158
|
-
const searchAsync = async (qdInput, isAdvancedSearch) => {
|
|
159
|
-
onSearchCompleted?.([], undefined); // reset results
|
|
160
|
-
let searchParams = { isAdvancedSearch: isAdvancedSearch, lastQdParams: lastQdParams, confirmQueryParams: confirmQueryParams, setLastQdParamsCallback: setLastQdParams };
|
|
161
|
-
let searchResult = await searchByQdAsync(qdInput, searchParams);
|
|
162
|
-
let dcmtsFound = searchResult?.result?.dcmtsFound ?? 0;
|
|
163
|
-
if (dcmtsFound <= 0)
|
|
164
|
-
ShowAlert({ message: SDKUI_Localizator.NoDcmtFound, mode: 'info', title: SDKUI_Localizator.SearchResult, duration: 3000 });
|
|
165
|
-
else {
|
|
166
|
-
let results = [];
|
|
167
|
-
if (searchResult?.result)
|
|
168
|
-
results.push(searchResult?.result);
|
|
169
|
-
// Before notifying onSearchComplete, let's set the panel to NOT active
|
|
170
|
-
setIsQueryPanelActive(false);
|
|
171
|
-
onSearchCompleted?.(results, searchResult?.qd);
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
const openSqdForm = (formMode) => { setFormModeSqdForm(formMode); setShowSqdForm(true); };
|
|
175
|
-
const changeAdvancedSearchAsync = async (show) => {
|
|
176
|
-
setShowAdvancedSearch(show);
|
|
177
|
-
if (show)
|
|
178
|
-
setQd({ ...qd, where: qd?.where?.filter(o => PlatformObjectValidator.WhereItemHasValues(o)) });
|
|
179
|
-
else {
|
|
180
|
-
let qdEasy = SQD?.qd ?? await getQD(fromDTD?.id, false);
|
|
181
|
-
if (qdEasy && qd?.where) {
|
|
182
|
-
for (const wi of qd.where) {
|
|
183
|
-
let wiEasy = qdEasy.where?.find(o => o.mid == wi.mid);
|
|
184
|
-
if (wiEasy) {
|
|
185
|
-
wiEasy.or = false;
|
|
186
|
-
wiEasy.leftBrackets = "(";
|
|
187
|
-
wiEasy.operator = wi.operator;
|
|
188
|
-
wiEasy.value1 = wi.value1;
|
|
189
|
-
wiEasy.value2 = wi.value2;
|
|
190
|
-
wiEasy.rightBrackets = ")";
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
setQd({ ...qd, where: qdEasy?.where });
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
};
|
|
197
|
-
const handleSearchButtonClick = useCallback(async () => {
|
|
198
|
-
// Propagazione blur
|
|
199
|
-
if (document.activeElement instanceof HTMLElement) {
|
|
200
|
-
document.activeElement.blur();
|
|
201
|
-
}
|
|
202
|
-
// Attiva il flag di ricerca anche per il click del bottone
|
|
203
|
-
setShouldSearch(true);
|
|
204
|
-
}, []);
|
|
205
|
-
const handleQdChanged = useCallback((newQd) => {
|
|
206
|
-
if (!deepCompare(qd, newQd)) {
|
|
207
|
-
setQd(newQd);
|
|
208
|
-
}
|
|
209
|
-
}, []);
|
|
210
|
-
const handlePanelActiveChanged = useCallback((isActive) => {
|
|
211
|
-
setIsQueryPanelActive(isActive);
|
|
212
|
-
}, []);
|
|
213
|
-
const handleAdvancedMenuClick = useCallback((e) => {
|
|
214
|
-
if (e.button === AdvancedMenuButtons.DistinctValues) {
|
|
215
|
-
setShowDistinctValuesPanel(true);
|
|
216
|
-
}
|
|
217
|
-
}, []);
|
|
218
|
-
const handlePassToArchive = useCallback(() => {
|
|
219
|
-
if (!passToArchiveCallback || !qd?.where)
|
|
220
|
-
return;
|
|
221
|
-
const outputMids = qd.where
|
|
222
|
-
.filter(wi => wi.mid && wi.value1 && wi.value1.length > 0)
|
|
223
|
-
.map(wi => ({ mid: wi.mid, value: wi.value1 }));
|
|
224
|
-
passToArchiveCallback(outputMids, fromDTD?.id);
|
|
225
|
-
}, [passToArchiveCallback, qd?.where, fromDTD?.id]);
|
|
226
|
-
const handleCloseFiltersConfig = useCallback(() => setShowFiltersConfig(false), []);
|
|
227
|
-
const handleChooseFilters = useCallback((tid_mids) => {
|
|
228
|
-
if (!fromDTD?.metadata)
|
|
229
|
-
return;
|
|
230
|
-
if (!tid_mids)
|
|
231
|
-
return;
|
|
232
|
-
// copia dei whereItem senza i rimossi
|
|
233
|
-
let newWhere = qd?.where?.filter(wi => tid_mids?.some(tm => tm.mid == wi.mid)) ?? [];
|
|
234
|
-
// aggiungiamo i nuovi
|
|
235
|
-
for (const tm of tid_mids.filter(tm => !qd?.where?.some(wi => wi.mid == tm.mid))) {
|
|
236
|
-
let md = fromDTD?.metadata.find(o => o.id == tm.mid);
|
|
237
|
-
let wi = new WhereItem();
|
|
238
|
-
wi.or = false;
|
|
239
|
-
wi.leftBrackets = "(";
|
|
240
|
-
wi.tid = SQD?.masterTID;
|
|
241
|
-
wi.mid = tm.mid;
|
|
242
|
-
wi.operator = getDefaultOperator(md?.dataDomain, md?.dataType);
|
|
243
|
-
wi.rightBrackets = ")";
|
|
244
|
-
let indexMD = 0;
|
|
245
|
-
for (const m of fromDTD?.metadata ?? []) {
|
|
246
|
-
if (m.id == wi.mid)
|
|
247
|
-
break;
|
|
248
|
-
if (newWhere.findIndex(o => o.mid == m.id && o.tid == SQD?.masterTID) < 0)
|
|
249
|
-
continue;
|
|
250
|
-
indexMD++;
|
|
251
|
-
}
|
|
252
|
-
newWhere.splice(indexMD, 0, wi);
|
|
253
|
-
}
|
|
254
|
-
setQd({ ...qd, where: newWhere });
|
|
255
|
-
}, [qd, fromDTD?.metadata, SQD?.masterTID]);
|
|
256
|
-
const handleCloseOutputConfig = useCallback(() => setShowOutputConfig(false), []);
|
|
257
|
-
const handleChooseOutput = useCallback((tid_mids) => {
|
|
258
|
-
if (!fromDTD?.metadata)
|
|
259
|
-
return;
|
|
260
|
-
if (!tid_mids)
|
|
261
|
-
return;
|
|
262
|
-
// copia dei SelectItems senza i rimossi
|
|
263
|
-
let newSelect = qd?.select?.filter(item => tid_mids?.some(tm => tm.mid == item.mid)) ?? [];
|
|
264
|
-
// aggiungiamo i nuovi
|
|
265
|
-
for (const tm of tid_mids.filter(tm => !qd?.select?.some(item => item.mid == tm.mid))) {
|
|
266
|
-
let md = fromDTD?.metadata.find(o => o.id == tm.mid);
|
|
267
|
-
let si = new SelectItem();
|
|
268
|
-
si.visibility = SelectItemVisibilities.Visible;
|
|
269
|
-
si.tid = SQD?.masterTID;
|
|
270
|
-
si.mid = md?.id;
|
|
271
|
-
let indexMD = 0;
|
|
272
|
-
for (const m of fromDTD?.metadata ?? []) {
|
|
273
|
-
if (m.id == si.mid)
|
|
274
|
-
break;
|
|
275
|
-
if (newSelect.findIndex(o => o.mid == m.id && o.tid == SQD?.masterTID) < 0)
|
|
276
|
-
continue;
|
|
277
|
-
indexMD++;
|
|
278
|
-
}
|
|
279
|
-
newSelect.splice(indexMD, 0, si);
|
|
280
|
-
}
|
|
281
|
-
setQd({ ...qd, select: newSelect });
|
|
282
|
-
}, [qd, fromDTD?.metadata, SQD?.masterTID]);
|
|
283
|
-
const handleCloseOrderByConfig = useCallback(() => setShowOrderByConfig(false), []);
|
|
284
|
-
const handleChooseOrderBy = useCallback((tid_mids) => {
|
|
285
|
-
if (!fromDTD?.metadata)
|
|
286
|
-
return;
|
|
287
|
-
if (!tid_mids)
|
|
288
|
-
return;
|
|
289
|
-
// copia dei OrderByItems senza i rimossi
|
|
290
|
-
let newOrderBy = qd?.orderBy?.filter(item => tid_mids?.some(tm => tm.mid == item.mid)) ?? [];
|
|
291
|
-
// aggiungiamo i nuovi
|
|
292
|
-
for (const tm of tid_mids.filter(tm => !qd?.orderBy?.some(item => item.mid == tm.mid))) {
|
|
293
|
-
let md = fromDTD?.metadata.find(o => o.id == tm.mid);
|
|
294
|
-
let oi = new OrderByItem();
|
|
295
|
-
oi.tid = SQD?.masterTID;
|
|
296
|
-
oi.mid = md?.id;
|
|
297
|
-
oi.asc = true;
|
|
298
|
-
newOrderBy.push(oi);
|
|
299
|
-
}
|
|
300
|
-
setQd({ ...qd, orderBy: newOrderBy });
|
|
301
|
-
}, [qd, fromDTD?.metadata, SQD?.masterTID]);
|
|
302
|
-
const captionText = showAllMdWhere ? SDKUI_Localizator.ShowLess : SDKUI_Localizator.ShowAll;
|
|
303
|
-
let maxItems = getListMaxItems(deviceType ?? DeviceType.DESKTOP);
|
|
304
|
-
const diff = (qd?.where?.length ?? 0) - maxItems;
|
|
305
|
-
return (_jsxs(_Fragment, { children: [_jsxs(TMPanel, { title: fromDTD?.nameLoc ?? SDKUI_Localizator.Search_Metadata, allowMaximize: allowMaximize, onMaximize: onMaximizePanel, onHeaderDoubleClick: onMaximizePanel, onBack: onBack, onActiveChanged: handlePanelActiveChanged, toolbar: _jsx(_Fragment, { children: (SQD && !showSqdForm) ?
|
|
306
|
-
_jsx(TMDropDownMenu, { backgroundColor: 'white', borderRadius: '3px', content: _jsx(TMButton, { btnStyle: 'icon', caption: 'Altro', icon: _jsx(IconMenuVertical, { color: 'white' }), showTooltip: false, onClick: () => setIsQueryPanelActive(true) }), items: [
|
|
307
|
-
...(showBackToResultButton ? [{ icon: _jsx(IconArrowRight, {}), text: "Vai a risultato", onClick: () => { onBackToResult?.(); } }] : []),
|
|
308
|
-
{ icon: _jsx(IconAddCircleOutline, {}), beginGroup: true, text: SDKUI_Localizator.SavedQueryNew, onClick: () => { openSqdForm(FormModes.Create); } },
|
|
309
|
-
{ icon: _jsx(IconEdit, {}), text: SDKUI_Localizator.SavedQueryUpdate, disabled: (SQD && SQD.id == 1), onClick: () => { openSqdForm(FormModes.Update); } },
|
|
310
|
-
{ icon: showAdvancedSearch ? _jsx(IconEasy, {}) : _jsx(IconAdvanced, {}), beginGroup: true, text: showAdvancedSearch ? SDKUI_Localizator.Search_Easy : SDKUI_Localizator.Search_Advanced, onClick: () => { changeAdvancedSearchAsync(!showAdvancedSearch); } },
|
|
311
|
-
{ icon: _jsx(IconEdit, {}), beginGroup: true, text: `${SDKUI_Localizator.Configure} - ${SDK_Localizator.QueryWhere}`, onClick: () => { setShowFiltersConfig(true); } },
|
|
312
|
-
{ icon: _jsx(IconEdit, {}), text: `${SDKUI_Localizator.Configure} - ${SDK_Localizator.QuerySelect}`, onClick: () => { setShowOutputConfig(true); } },
|
|
313
|
-
{ icon: _jsx(IconEdit, {}), text: `${SDKUI_Localizator.Configure} - ${SDK_Localizator.QueryOrderBy}`, onClick: () => { setShowOrderByConfig(true); } },
|
|
314
|
-
{ icon: _jsx(IconMenuCAArchive, { viewBox: '11 11.5 26 27', fontSize: 16, strokeWidth: 2, color: 'black' }), beginGroup: true, text: SDKUI_Localizator.PassToArchive, onClick: handlePassToArchive }
|
|
315
|
-
], onMenuShown: () => setIsQueryPanelActive(true) })
|
|
316
|
-
: _jsx(_Fragment, {}) }), children: [_jsx(ConfirmQueryParamsDialog, {}), SQD
|
|
317
|
-
? _jsxs("div", { onContextMenu: (e) => e.preventDefault(), style: { height: '100%', width: '100%', position: 'relative', display: 'flex', flexDirection: 'column', gap: 5 }, children: [showAdvancedSearch
|
|
318
|
-
? _jsx(TMQueryEditor, { formMode: FormModes.Update, showToolbar: false, inputData: qd, validateSelect: true, showApply: false, onQDChanged: handleQdChanged })
|
|
319
|
-
: _jsx(TMSearchQueryEditor, { qd: qd, dcmtTypesList: dcmtTypesList, isExpertMode: isExpertMode, showAllMdWhere: showAllMdWhere, onQdChanged: handleQdChanged, onFocusedMetadataChanged: setFocusedTidMid, onAdvancedMenuClick: handleAdvancedMenuClick }), _jsxs("div", { style: {
|
|
320
|
-
display: 'flex',
|
|
321
|
-
flexWrap: 'wrap',
|
|
322
|
-
justifyContent: 'center',
|
|
323
|
-
alignItems: 'center',
|
|
324
|
-
gap: '10px',
|
|
325
|
-
width: '100%'
|
|
326
|
-
}, children: [_jsx(TMButton, { btnStyle: 'advanced', icon: _jsx(IconSearch, {}), showTooltip: false, width: '90px', caption: SDKUI_Localizator.Search, advancedColor: '#4A96D2', onClick: handleSearchButtonClick }), _jsx(TMButton, { width: '90px', btnStyle: 'advanced', advancedType: 'primary', showTooltip: false, caption: SDKUI_Localizator.Clear, icon: _jsx(IconClear, {}), advancedColor: 'white', color: 'primaryOutline', onClick: clearFilters }), (!showAdvancedSearch && qd?.where && qd.where.length > initialMaxItems) && (_jsx(TMButton, { width: '120px', btnStyle: isMobile ? 'icon' : 'advanced', advancedColor: TMColors.button_primary, caption: captionText, showTooltip: false, icon: isMobile ? (_jsx("div", { children: _jsx("p", { children: showAllMdWhere ? `-${diff}` : `+${diff}` }) })) : (_jsx("p", { children: showAllMdWhere ? `-${diff}` : `+${diff}` })), onClick: () => setShowAllMdWhere(!showAllMdWhere) }))] }), showFiltersConfig &&
|
|
327
|
-
_jsx(TMMetadataChooserForm, { allowMultipleSelection: true, height: '500px', width: '600px', allowSysMetadata: true, qd: qd, selectedIDs: qd?.where?.map((w) => ({ tid: w.tid, mid: w.mid })), onClose: handleCloseFiltersConfig, onChoose: handleChooseFilters }), showOutputConfig &&
|
|
328
|
-
_jsx(TMMetadataChooserForm, { allowMultipleSelection: true, height: '500px', width: '600px', allowSysMetadata: true, qd: qd, selectedIDs: qd?.select?.map((item) => ({ tid: item.tid, mid: item.mid })), onClose: handleCloseOutputConfig, onChoose: handleChooseOutput }), showOrderByConfig &&
|
|
329
|
-
_jsx(TMMetadataChooserForm, { allowMultipleSelection: true, height: '500px', width: '600px', allowSysMetadata: true, qd: qd, selectedIDs: qd?.orderBy?.map((item) => ({ tid: item.tid, mid: item.mid })), onClose: handleCloseOrderByConfig, onChoose: handleChooseOrderBy })] })
|
|
330
|
-
:
|
|
331
|
-
_jsx(TMToppyMessage, { message: SDKUI_Localizator.DcmtTypeSelectOrQuickSearch, titleTooltip: SDKUI_Localizator.DcmtTypeSelectOrQuickSearch }), showSqdForm &&
|
|
332
|
-
_jsx(StyledModalContainer, { style: { backgroundColor: `${TMColors.backgroundColorHeader}12` }, children: _jsx(TMSavedQueryForm, { height: '50%', width: '50%', id: formModeSqdForm === FormModes.Create ? -1 : SQD?.id, title: 'Ricerca rapida', formMode: formModeSqdForm, showBackButton: true, qd: qd, isAdvancedSearch: showAdvancedSearch, isModal: false, onClose: () => { setShowSqdForm(false); }, onSaved: onSqdSaved }) })] }), showDistinctValuesPanel &&
|
|
333
|
-
_jsx(TMDistinctValues, { isModal: true, tid: focusedTidMid?.tid, mid: focusedTidMid?.mid, separator: ',', onClosePanelCallback: () => setShowDistinctValuesPanel(false), onSelectionChanged: (e) => {
|
|
334
|
-
if (!e)
|
|
335
|
-
return;
|
|
336
|
-
let wi = qd?.where?.find(o => o.tid === focusedTidMid?.tid && o.mid === focusedTidMid?.mid);
|
|
337
|
-
if (!wi)
|
|
338
|
-
return;
|
|
339
|
-
wi.value1 = e.newValue;
|
|
340
|
-
let md = fromDTD?.metadata?.find(o => o.id === focusedTidMid?.mid);
|
|
341
|
-
wi.operator = e.isAppendMode ? QueryOperators.In : getDefaultOperator(md?.dataDomain, md?.dataType);
|
|
342
|
-
const whereCopy = qd?.where?.map((curItem) => {
|
|
343
|
-
if (curItem.mid != wi.mid)
|
|
344
|
-
return curItem;
|
|
345
|
-
return wi;
|
|
346
|
-
});
|
|
347
|
-
setQd({ ...qd, where: whereCopy });
|
|
348
|
-
} })] }));
|
|
349
|
-
};
|
|
350
|
-
export default TMSearchQueryPanel;
|
|
351
|
-
const searchByQdAsync = async (qdInput, searchParams) => {
|
|
352
|
-
let result;
|
|
353
|
-
let qdSearch;
|
|
354
|
-
try {
|
|
355
|
-
qdSearch = await prepareQdForSearchAsync(qdInput, !searchParams.isAdvancedSearch);
|
|
356
|
-
qdSearch.select?.forEach(o => { o.visibility ??= SelectItemVisibilities.Visible; });
|
|
357
|
-
if (IsParametricQuery(qdSearch)) {
|
|
358
|
-
const qdParams = await searchParams.confirmQueryParams?.(qdSearch, searchParams.lastQdParams) ?? [];
|
|
359
|
-
searchParams.setLastQdParamsCallback?.(qdParams);
|
|
360
|
-
if (!qdParams || qdParams.length <= 0)
|
|
361
|
-
return;
|
|
362
|
-
for (const qpd of qdParams) {
|
|
363
|
-
let wi = qdSearch.where?.find(o => o.value1 == qpd.name);
|
|
364
|
-
if (wi)
|
|
365
|
-
wi.value1 = wi.value1?.replace(wi.value1, !qpd.value ? '' : qpd.value.toString());
|
|
366
|
-
else {
|
|
367
|
-
wi = qdSearch.where?.find(o => o.value2 == qpd.name);
|
|
368
|
-
if (wi)
|
|
369
|
-
wi.value2 = wi.value2?.replace(wi.value2, !qpd.value ? '' : qpd.value.toString());
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
TMSpinner.show({ description: `${SDKUI_Localizator.Search} ...`, backgroundColor: 'transparent' });
|
|
374
|
-
result = await SDK_Globals.tmSession?.NewSearchEngine().SearchByIDAsync(qdSearch);
|
|
375
|
-
}
|
|
376
|
-
catch (ex) {
|
|
377
|
-
TMExceptionBoxManager.show({ title: SDKUI_Localizator.Search, exception: ex });
|
|
378
|
-
}
|
|
379
|
-
finally {
|
|
380
|
-
TMSpinner.hide();
|
|
381
|
-
}
|
|
382
|
-
return { result: result, qd: qdSearch };
|
|
383
|
-
};
|
|
384
|
-
export const refreshLastSearch = async (qd) => {
|
|
385
|
-
if (!qd)
|
|
386
|
-
return;
|
|
387
|
-
let searchResults = [];
|
|
388
|
-
try {
|
|
389
|
-
TMSpinner.show({ description: `${SDKUI_Localizator.Search} ...`, backgroundColor: 'transparent' });
|
|
390
|
-
let result = await SDK_Globals.tmSession?.NewSearchEngine().SearchByIDAsync(qd);
|
|
391
|
-
let dcmtsFound = result?.dcmtsFound ?? 0;
|
|
392
|
-
if (dcmtsFound <= 0)
|
|
393
|
-
ShowAlert({ message: SDKUI_Localizator.NoDcmtFound, mode: 'info', title: SDKUI_Localizator.SearchResult, duration: 3000 });
|
|
394
|
-
else if (result)
|
|
395
|
-
searchResults.push(result);
|
|
396
|
-
}
|
|
397
|
-
catch (ex) {
|
|
398
|
-
TMExceptionBoxManager.show({ title: SDKUI_Localizator.Search, exception: ex });
|
|
399
|
-
}
|
|
400
|
-
finally {
|
|
401
|
-
TMSpinner.hide();
|
|
402
|
-
}
|
|
403
|
-
return searchResults;
|
|
404
|
-
};
|
|
405
|
-
export const StyledToppyTextContainer = styled.div `
|
|
406
|
-
padding: 22px 8px;
|
|
407
|
-
width: 100%;
|
|
408
|
-
max-width: 300px;
|
|
409
|
-
border: 1px solid #2559A5;
|
|
410
|
-
border-radius: 30px;
|
|
411
|
-
display: flex;
|
|
412
|
-
align-items: center;
|
|
413
|
-
justify-content: center;
|
|
414
|
-
box-sizing: border-box;
|
|
415
|
-
min-height: 100px;
|
|
416
|
-
`;
|
|
417
|
-
export const StyledToppyText = styled.p `
|
|
418
|
-
text-align: center;
|
|
419
|
-
color: #2559A5;
|
|
420
|
-
font-size: 1rem;
|
|
421
|
-
user-select: none;
|
|
422
|
-
margin: 0;
|
|
423
|
-
display: -webkit-box;
|
|
424
|
-
-webkit-box-orient: vertical;
|
|
425
|
-
-webkit-line-clamp: 3; /* non è una proprietà standard ma è così diffusa e ben supportata che è considerata una "best practice pragmatica" */
|
|
426
|
-
overflow: hidden;
|
|
427
|
-
text-overflow: ellipsis;
|
|
428
|
-
white-space: normal;
|
|
429
|
-
word-break: break-word;
|
|
430
|
-
line-height: 1.2;
|
|
431
|
-
`;
|
|
432
|
-
export const StyledToppyImage = styled.img `
|
|
433
|
-
width: 100%;
|
|
434
|
-
max-width: 120px;
|
|
435
|
-
height: auto;
|
|
436
|
-
display: block;
|
|
437
|
-
`;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SearchResultDescriptor, DcmtTypeDescriptor, TaskDescriptor, WorkingGroupDescriptor, ObjectRef, HomeBlogPost } from '@topconsultnpm/sdk-ts';
|
|
3
|
-
import { DcmtInfo, SearchResultContext, TaskContext } from '../../../ts';
|
|
4
|
-
import { TMSearchResultFloatingActionConfig } from './TMSearchResultFloatingActionButton';
|
|
5
|
-
export declare const getSearchResultCountersSingleCategory: (searchResults: SearchResultDescriptor[]) => string;
|
|
6
|
-
interface ITMSearchResultProps {
|
|
7
|
-
allTasks?: Array<TaskDescriptor>;
|
|
8
|
-
getAllTasks?: () => Promise<void>;
|
|
9
|
-
deleteTaskByIdsCallback?: (deletedTaskIds: Array<number>) => Promise<void>;
|
|
10
|
-
addTaskCallback?: (task: TaskDescriptor) => Promise<void>;
|
|
11
|
-
editTaskCallback?: (task: TaskDescriptor) => Promise<void>;
|
|
12
|
-
handleNavigateToWGs?: (value: HomeBlogPost | number) => Promise<void>;
|
|
13
|
-
handleNavigateToDossiers?: (value: HomeBlogPost | number) => Promise<void>;
|
|
14
|
-
context?: SearchResultContext;
|
|
15
|
-
title?: string;
|
|
16
|
-
searchResults: SearchResultDescriptor[] | undefined;
|
|
17
|
-
allowFloatingBar?: boolean;
|
|
18
|
-
allowRelations?: boolean;
|
|
19
|
-
isClosable?: boolean;
|
|
20
|
-
isVisible?: boolean;
|
|
21
|
-
openDcmtFormAsModal?: boolean;
|
|
22
|
-
showSearchResultSidebar?: boolean;
|
|
23
|
-
showSelector?: boolean;
|
|
24
|
-
showToolbarHeader?: boolean;
|
|
25
|
-
showBackButton?: boolean;
|
|
26
|
-
groupId?: string;
|
|
27
|
-
selectedSearchResultTID?: number;
|
|
28
|
-
workingGroupContext?: WorkingGroupDescriptor;
|
|
29
|
-
disableAccordionIfSingleCategory?: boolean;
|
|
30
|
-
floatingActionConfig?: TMSearchResultFloatingActionConfig;
|
|
31
|
-
openInOffice?: (selectedDcmtsOrFocused: Array<DcmtInfo>) => Promise<void>;
|
|
32
|
-
onClose?: () => void;
|
|
33
|
-
onWFOperationCompleted?: () => Promise<void>;
|
|
34
|
-
onSelectedTIDChanged?: (TID: number) => void;
|
|
35
|
-
onRefreshSearchAsync?: () => Promise<void>;
|
|
36
|
-
onRefreshAfterAddDcmtToFavs?: () => void;
|
|
37
|
-
onFileOpened?: (blob: File | undefined) => void;
|
|
38
|
-
onTaskCreateRequest?: (taskContext: TaskContext, onTaskCreated?: (task?: TaskDescriptor) => void) => void;
|
|
39
|
-
openWGsCopyMoveForm?: (mode: "copyToWgDraft" | "copyToWgArchivedDoc", dcmtTypeDescriptor: DcmtTypeDescriptor, documents: Array<DcmtInfo>) => void;
|
|
40
|
-
openEditPdf?: (documents: Array<DcmtInfo>) => void;
|
|
41
|
-
openCommentFormCallback?: (documents: Array<DcmtInfo>) => void;
|
|
42
|
-
openAddDocumentForm?: () => void;
|
|
43
|
-
openS4TViewer?: boolean;
|
|
44
|
-
onOpenS4TViewerRequest?: (dcmtInfo: Array<DcmtInfo>, onRefreshSearchAsync?: (() => Promise<void>)) => void;
|
|
45
|
-
passToArchiveCallback?: (outputMids: Array<{
|
|
46
|
-
mid: number;
|
|
47
|
-
value: string;
|
|
48
|
-
}>, tid?: number) => void;
|
|
49
|
-
showTodoDcmtForm?: boolean;
|
|
50
|
-
onReferenceClick?: (ref: ObjectRef) => void;
|
|
51
|
-
}
|
|
52
|
-
declare const TMSearchResult: React.FC<ITMSearchResultProps>;
|
|
53
|
-
export default TMSearchResult;
|