@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,686 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback, useEffect, useMemo, useState } from 'react'; // Importa useState
|
|
3
|
-
import TMModal from '../../../base/TMModal';
|
|
4
|
-
import { DiagramItemTypes } from './interfaces';
|
|
5
|
-
import TMCheckBox from '../../../editors/TMCheckBox';
|
|
6
|
-
import { calcIsModified, getSystemMetadata, IconApply, IconUndo, LocalizeDiagramItemType, SDKUI_Localizator } from '../../../../helper';
|
|
7
|
-
import TMMetadataChooser from '../../../choosers/TMMetadataChooser';
|
|
8
|
-
import { FormModes, MetadataValueDescriptorEx } from '../../../../ts';
|
|
9
|
-
import TMTextBox from '../../../editors/TMTextBox';
|
|
10
|
-
import TMButton from '../../../base/TMButton';
|
|
11
|
-
import styled from 'styled-components';
|
|
12
|
-
import TMQuerySummary from '../../../query/TMQuerySummary';
|
|
13
|
-
import { CultureIDs, DcmtTypeListCacheService, FromItem, MetadataDataDomains, SDK_Globals, SearchEngine, Severities, WFAppTypes, WorkItemSetRules } from '@topconsultnpm/sdk-ts';
|
|
14
|
-
import TMLocalizedTextBox from '../../../editors/TMLocalizedTextBox';
|
|
15
|
-
import TMDataListItemPicker from '../../../choosers/TMDataListItemPicker';
|
|
16
|
-
import WorkitemRecipientsEditor, { actorsToTos, RecipientsContainer, tosToActors } from './WorkitemRecipientsEditor';
|
|
17
|
-
import TMDropDown from '../../../editors/TMDropDown';
|
|
18
|
-
import TMMetadataValues, { AdvancedMenuButtons, ShowCheckBoxesMode } from '../../../editors/TMMetadataValues';
|
|
19
|
-
import TMFormulaEditor, { FormulaDescriptor, FormulaHelper, FormulaTargets } from '../../../editors/TMFormulaEditor';
|
|
20
|
-
import TMDistinctValues from '../../../choosers/TMDistinctValues';
|
|
21
|
-
import TMTidViewer from '../../../viewers/TMTidViewer';
|
|
22
|
-
import { TMColors } from '../../../../utils/theme';
|
|
23
|
-
import TMPathChooser from '../../../choosers/TMPathChooser';
|
|
24
|
-
import TMTextExpression from '../../../editors/TMTextExpression';
|
|
25
|
-
import TMCultureIDPicker from '../../../choosers/TMCultureIDPicker';
|
|
26
|
-
import RecipientList, { WorkItemActorTypes } from './RecipientList';
|
|
27
|
-
import TMRadioButton from '../../../editors/TMRadioButton';
|
|
28
|
-
import TMVilViewer from '../../../base/TMVilViewer';
|
|
29
|
-
import { DiagramItemProps, wfDiagramItemValidator } from './workflowHelpers';
|
|
30
|
-
const FormContainer = styled.div `
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
gap: 5px;
|
|
34
|
-
padding: 10px;
|
|
35
|
-
`;
|
|
36
|
-
const FlexContainer = styled.div `
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
gap: 20px;
|
|
40
|
-
`;
|
|
41
|
-
const BoxContainer = styled.div `
|
|
42
|
-
flex: 1;
|
|
43
|
-
border: 1px solid #ccc;
|
|
44
|
-
border-radius: 5px;
|
|
45
|
-
padding: 10px;
|
|
46
|
-
min-width: 300px;
|
|
47
|
-
position: relative;
|
|
48
|
-
`;
|
|
49
|
-
const HeaderContainer = styled.div `
|
|
50
|
-
display: flex;
|
|
51
|
-
justify-content: space-between;
|
|
52
|
-
align-items: center;
|
|
53
|
-
position: relative;
|
|
54
|
-
margin-bottom: 10px;
|
|
55
|
-
font-weight: 600;
|
|
56
|
-
`;
|
|
57
|
-
const ButtonsContainer = styled.div `
|
|
58
|
-
display: flex;
|
|
59
|
-
justify-content: center;
|
|
60
|
-
gap: 10px;
|
|
61
|
-
margin-top: auto;
|
|
62
|
-
padding-top: 20px;
|
|
63
|
-
`;
|
|
64
|
-
const SET_RULE_DATASOURCE = [
|
|
65
|
-
{ value: WorkItemSetRules.Ands_AND_Ors, display: "Ands_AND_Ors" },
|
|
66
|
-
{ value: WorkItemSetRules.Ands_OR_Ors, display: "Ands_OR_Ors" }
|
|
67
|
-
];
|
|
68
|
-
const SEVERITY_DATASOURCE = [
|
|
69
|
-
{ value: Severities.Critical, display: "Critical" },
|
|
70
|
-
{ value: Severities.Error, display: "Error" },
|
|
71
|
-
{ value: Severities.Warning, display: "Warning" },
|
|
72
|
-
{ value: Severities.Information, display: "Information" },
|
|
73
|
-
];
|
|
74
|
-
const APP_TYPES_DATASOURCE = [
|
|
75
|
-
{ value: WFAppTypes.EXE, display: "EXE" },
|
|
76
|
-
{ value: WFAppTypes.SP, display: "SP" },
|
|
77
|
-
{ value: WFAppTypes.REST, display: "REST" }
|
|
78
|
-
];
|
|
79
|
-
const DiagramItemForm = ({ itemToEdit, wf, onClose, onApply }) => {
|
|
80
|
-
const [localItem, setLocalItem] = useState(itemToEdit);
|
|
81
|
-
const [localItemOrig] = useState(structuredClone(itemToEdit));
|
|
82
|
-
const [validationItems, setValidationItems] = useState([]);
|
|
83
|
-
if (!localItem) {
|
|
84
|
-
return null;
|
|
85
|
-
}
|
|
86
|
-
const { calculatedWidth, calculatedHeight } = useMemo(() => {
|
|
87
|
-
let width = '50%';
|
|
88
|
-
let height = '50%';
|
|
89
|
-
switch (localItem.Type) {
|
|
90
|
-
case DiagramItemTypes.Start:
|
|
91
|
-
width = '515px';
|
|
92
|
-
height = '235px';
|
|
93
|
-
break;
|
|
94
|
-
case DiagramItemTypes.End:
|
|
95
|
-
case DiagramItemTypes.Exit:
|
|
96
|
-
width = '365px';
|
|
97
|
-
height = '145px';
|
|
98
|
-
break;
|
|
99
|
-
case DiagramItemTypes.Condition:
|
|
100
|
-
width = '40%';
|
|
101
|
-
height = '60%';
|
|
102
|
-
break;
|
|
103
|
-
case DiagramItemTypes.Status:
|
|
104
|
-
width = '700px';
|
|
105
|
-
height = '230px';
|
|
106
|
-
break;
|
|
107
|
-
case DiagramItemTypes.Approval:
|
|
108
|
-
case DiagramItemTypes.DataEntry:
|
|
109
|
-
width = '700px';
|
|
110
|
-
height = '530px';
|
|
111
|
-
break;
|
|
112
|
-
case DiagramItemTypes.ExecTask:
|
|
113
|
-
width = '700px';
|
|
114
|
-
height = '700px';
|
|
115
|
-
break;
|
|
116
|
-
case DiagramItemTypes.UpdateDcmt:
|
|
117
|
-
width = '700px';
|
|
118
|
-
height = '510px';
|
|
119
|
-
break;
|
|
120
|
-
case DiagramItemTypes.RunApp:
|
|
121
|
-
width = '450px';
|
|
122
|
-
height = '420px';
|
|
123
|
-
break;
|
|
124
|
-
case DiagramItemTypes.Notification:
|
|
125
|
-
width = '700px';
|
|
126
|
-
height = '700px';
|
|
127
|
-
break;
|
|
128
|
-
case DiagramItemTypes.WorkGroup_Create:
|
|
129
|
-
case DiagramItemTypes.CaseFlow_Create:
|
|
130
|
-
width = '700px';
|
|
131
|
-
height = '700px';
|
|
132
|
-
break;
|
|
133
|
-
case DiagramItemTypes.WorkGroup_AddParts:
|
|
134
|
-
case DiagramItemTypes.CaseFlow_AddParts:
|
|
135
|
-
width = '700px';
|
|
136
|
-
height = '530px';
|
|
137
|
-
break;
|
|
138
|
-
default:
|
|
139
|
-
width = '50%';
|
|
140
|
-
height = '50%';
|
|
141
|
-
break;
|
|
142
|
-
}
|
|
143
|
-
return { calculatedWidth: width, calculatedHeight: height };
|
|
144
|
-
}, [localItem.Type]);
|
|
145
|
-
useEffect(() => {
|
|
146
|
-
wfDiagramItemValidator(localItem).then((vil) => setValidationItems(vil));
|
|
147
|
-
}, [localItem]);
|
|
148
|
-
const isModified = useMemo(() => calcIsModified(localItem, localItemOrig), [localItem, localItemOrig]);
|
|
149
|
-
const handleCancel = () => {
|
|
150
|
-
setLocalItem(localItemOrig);
|
|
151
|
-
};
|
|
152
|
-
const handleSave = () => {
|
|
153
|
-
onApply(localItem);
|
|
154
|
-
onClose();
|
|
155
|
-
};
|
|
156
|
-
const handleStartAfterArchiveChange = useCallback((newValue) => {
|
|
157
|
-
setLocalItem(prevLocalItem => ({
|
|
158
|
-
...prevLocalItem,
|
|
159
|
-
StartAfterArchive: newValue
|
|
160
|
-
}));
|
|
161
|
-
}, []);
|
|
162
|
-
const handleStartAfterUpdateChange = useCallback((newValue) => {
|
|
163
|
-
setLocalItem(prevLocalItem => ({
|
|
164
|
-
...prevLocalItem,
|
|
165
|
-
StartAfterUpdate: newValue
|
|
166
|
-
}));
|
|
167
|
-
}, []);
|
|
168
|
-
const handleStartAfterUpdateMIDsChange = useCallback((selectedMetadata) => {
|
|
169
|
-
const mids = selectedMetadata.map((item) => item.mid).filter((mid) => mid !== undefined);
|
|
170
|
-
setLocalItem(prevLocalItem => ({
|
|
171
|
-
...prevLocalItem,
|
|
172
|
-
StartAfterUpdateMIDs: mids
|
|
173
|
-
}));
|
|
174
|
-
}, []);
|
|
175
|
-
const handleHistChange = useCallback((newValue) => {
|
|
176
|
-
setLocalItem(prevLocalItem => ({
|
|
177
|
-
...prevLocalItem,
|
|
178
|
-
Hist: newValue
|
|
179
|
-
}));
|
|
180
|
-
}, []);
|
|
181
|
-
const handleEndWFInstanceChange = useCallback((newValue) => {
|
|
182
|
-
setLocalItem(prevLocalItem => ({
|
|
183
|
-
...prevLocalItem,
|
|
184
|
-
EndWFInstance: newValue
|
|
185
|
-
}));
|
|
186
|
-
}, []);
|
|
187
|
-
const handleQDChange = useCallback((newValue) => {
|
|
188
|
-
setLocalItem(prevLocalItem => ({
|
|
189
|
-
...prevLocalItem,
|
|
190
|
-
QD: newValue
|
|
191
|
-
}));
|
|
192
|
-
}, []);
|
|
193
|
-
const handleStatusChange = useCallback((selectedItem) => {
|
|
194
|
-
setLocalItem(prevLocalItem => ({
|
|
195
|
-
...prevLocalItem,
|
|
196
|
-
ItemName: selectedItem.name || '',
|
|
197
|
-
StatusValue: selectedItem.value
|
|
198
|
-
}));
|
|
199
|
-
}, []);
|
|
200
|
-
const handleAllowZeroTosChange = useCallback((newValue) => {
|
|
201
|
-
setLocalItem(prevLocalItem => ({
|
|
202
|
-
...prevLocalItem,
|
|
203
|
-
AllowZeroTos: newValue
|
|
204
|
-
}));
|
|
205
|
-
}, []);
|
|
206
|
-
const handleTosChange = useCallback((newTos) => {
|
|
207
|
-
setLocalItem(prevLocalItem => ({
|
|
208
|
-
...prevLocalItem,
|
|
209
|
-
Tos: newTos
|
|
210
|
-
}));
|
|
211
|
-
}, []);
|
|
212
|
-
const handleSetRuleChange = useCallback((newRule) => {
|
|
213
|
-
setLocalItem(prevLocalItem => ({
|
|
214
|
-
...prevLocalItem,
|
|
215
|
-
SetRule: newRule
|
|
216
|
-
}));
|
|
217
|
-
}, []);
|
|
218
|
-
const handleSetRuleQDChange = useCallback((newQD) => {
|
|
219
|
-
setLocalItem(prevLocalItem => ({
|
|
220
|
-
...prevLocalItem,
|
|
221
|
-
QD: newQD
|
|
222
|
-
}));
|
|
223
|
-
}, []);
|
|
224
|
-
const handleLocalizedNameChange = useCallback((lang, newValue) => {
|
|
225
|
-
setLocalItem(prevLocalItem => {
|
|
226
|
-
const updatedItem = { ...prevLocalItem };
|
|
227
|
-
// Aggiungi la logica per aggiornare il campo corretto
|
|
228
|
-
switch (lang) {
|
|
229
|
-
case CultureIDs.It_IT:
|
|
230
|
-
updatedItem.ItemName_IT = newValue;
|
|
231
|
-
break;
|
|
232
|
-
case CultureIDs.En_US:
|
|
233
|
-
updatedItem.ItemName_EN = newValue;
|
|
234
|
-
break;
|
|
235
|
-
case CultureIDs.Fr_FR:
|
|
236
|
-
updatedItem.ItemName_FR = newValue;
|
|
237
|
-
break;
|
|
238
|
-
case CultureIDs.Pt_PT:
|
|
239
|
-
updatedItem.ItemName_PT = newValue;
|
|
240
|
-
break;
|
|
241
|
-
case CultureIDs.Es_ES:
|
|
242
|
-
updatedItem.ItemName_ES = newValue;
|
|
243
|
-
break;
|
|
244
|
-
case CultureIDs.De_DE:
|
|
245
|
-
updatedItem.ItemName_DE = newValue;
|
|
246
|
-
break;
|
|
247
|
-
default:
|
|
248
|
-
updatedItem.ItemName = newValue;
|
|
249
|
-
break;
|
|
250
|
-
}
|
|
251
|
-
return updatedItem;
|
|
252
|
-
});
|
|
253
|
-
}, []);
|
|
254
|
-
const handleLocalizedDescriptionChange = useCallback((lang, newValue) => {
|
|
255
|
-
setLocalItem(prevLocalItem => {
|
|
256
|
-
const updatedItem = { ...prevLocalItem };
|
|
257
|
-
// Aggiungi la logica per aggiornare il campo corretto
|
|
258
|
-
switch (lang) {
|
|
259
|
-
case CultureIDs.It_IT:
|
|
260
|
-
updatedItem.Description_IT = newValue;
|
|
261
|
-
break;
|
|
262
|
-
case CultureIDs.En_US:
|
|
263
|
-
updatedItem.Description_EN = newValue;
|
|
264
|
-
break;
|
|
265
|
-
case CultureIDs.Fr_FR:
|
|
266
|
-
updatedItem.Description_FR = newValue;
|
|
267
|
-
break;
|
|
268
|
-
case CultureIDs.Pt_PT:
|
|
269
|
-
updatedItem.Description_PT = newValue;
|
|
270
|
-
break;
|
|
271
|
-
case CultureIDs.Es_ES:
|
|
272
|
-
updatedItem.Description_ES = newValue;
|
|
273
|
-
break;
|
|
274
|
-
case CultureIDs.De_DE:
|
|
275
|
-
updatedItem.Description_DE = newValue;
|
|
276
|
-
break;
|
|
277
|
-
default:
|
|
278
|
-
updatedItem.Description = newValue;
|
|
279
|
-
break;
|
|
280
|
-
}
|
|
281
|
-
return updatedItem;
|
|
282
|
-
});
|
|
283
|
-
}, []);
|
|
284
|
-
const handleMetadataValuesChanged = useCallback((newItems) => {
|
|
285
|
-
const updatedMetadataValues = newItems
|
|
286
|
-
.filter(item => item.isNull || item.value)
|
|
287
|
-
.map(item => {
|
|
288
|
-
const newMvd = new MetadataValueDescriptorEx();
|
|
289
|
-
newMvd.mid = item.mid;
|
|
290
|
-
newMvd.value = item.isNull ? undefined : item.value;
|
|
291
|
-
return newMvd;
|
|
292
|
-
});
|
|
293
|
-
setLocalItem(prevLocalItem => ({
|
|
294
|
-
...prevLocalItem,
|
|
295
|
-
MetadataValues: updatedMetadataValues
|
|
296
|
-
}));
|
|
297
|
-
}, []);
|
|
298
|
-
const handleAppTypeChange = useCallback((newValue) => {
|
|
299
|
-
setLocalItem(prevLocalItem => ({
|
|
300
|
-
...prevLocalItem,
|
|
301
|
-
AppType: newValue
|
|
302
|
-
}));
|
|
303
|
-
}, []);
|
|
304
|
-
const handleAppNameChange = useCallback((newValue) => {
|
|
305
|
-
setLocalItem(prevLocalItem => ({
|
|
306
|
-
...prevLocalItem,
|
|
307
|
-
AppName: newValue
|
|
308
|
-
}));
|
|
309
|
-
}, []);
|
|
310
|
-
const handleAppArgsChange = useCallback((newValue) => {
|
|
311
|
-
setLocalItem(prevLocalItem => ({
|
|
312
|
-
...prevLocalItem,
|
|
313
|
-
AppArgs: newValue
|
|
314
|
-
}));
|
|
315
|
-
}, []);
|
|
316
|
-
const handleFormatCultureIDChange = useCallback((newValue) => {
|
|
317
|
-
setLocalItem(prevLocalItem => ({
|
|
318
|
-
...prevLocalItem,
|
|
319
|
-
FormatCultureID: newValue
|
|
320
|
-
}));
|
|
321
|
-
}, []);
|
|
322
|
-
const handlePlatformObjNameChange = useCallback((newValue) => {
|
|
323
|
-
setLocalItem(prevLocalItem => ({
|
|
324
|
-
...prevLocalItem,
|
|
325
|
-
PlatformObjName: newValue
|
|
326
|
-
}));
|
|
327
|
-
}, []);
|
|
328
|
-
const handlePlatformObjDescrChange = useCallback((newValue) => {
|
|
329
|
-
setLocalItem(prevLocalItem => ({
|
|
330
|
-
...prevLocalItem,
|
|
331
|
-
PlatformObjDescr: newValue
|
|
332
|
-
}));
|
|
333
|
-
}, []);
|
|
334
|
-
const handleValue1asStringChange = useCallback((newValue) => {
|
|
335
|
-
setLocalItem(prevLocalItem => ({
|
|
336
|
-
...prevLocalItem,
|
|
337
|
-
Value1asString: newValue
|
|
338
|
-
}));
|
|
339
|
-
}, []);
|
|
340
|
-
const handleValue1asIntChange = useCallback((newValue) => {
|
|
341
|
-
setLocalItem(prevLocalItem => ({
|
|
342
|
-
...prevLocalItem,
|
|
343
|
-
Value1asInt: newValue
|
|
344
|
-
}));
|
|
345
|
-
}, []);
|
|
346
|
-
const handleValue2asIntChange = useCallback((newValue) => {
|
|
347
|
-
setLocalItem(prevLocalItem => ({
|
|
348
|
-
...prevLocalItem,
|
|
349
|
-
Value2asInt: newValue
|
|
350
|
-
}));
|
|
351
|
-
}, []);
|
|
352
|
-
const handleValue3asIntChange = useCallback((newValue) => {
|
|
353
|
-
setLocalItem(prevLocalItem => ({
|
|
354
|
-
...prevLocalItem,
|
|
355
|
-
Value3asInt: newValue
|
|
356
|
-
}));
|
|
357
|
-
}, []);
|
|
358
|
-
const handleTruncChange = useCallback((newValue) => {
|
|
359
|
-
setLocalItem(prevLocalItem => ({
|
|
360
|
-
...prevLocalItem,
|
|
361
|
-
Trunc: newValue
|
|
362
|
-
}));
|
|
363
|
-
}, []);
|
|
364
|
-
const handleTos2Change = useCallback((newTos) => {
|
|
365
|
-
setLocalItem(prevLocalItem => ({
|
|
366
|
-
...prevLocalItem,
|
|
367
|
-
Tos2: newTos
|
|
368
|
-
}));
|
|
369
|
-
}, []);
|
|
370
|
-
// Function to render common elements like the name textbox
|
|
371
|
-
const renderCommonFields = () => {
|
|
372
|
-
if (localItem.Type !== DiagramItemTypes.Start && localItem.Type !== DiagramItemTypes.End && localItem.Type !== DiagramItemTypes.Exit && localItem.Type !== DiagramItemTypes.Status) {
|
|
373
|
-
return (_jsx(TMLocalizedTextBox, { label: SDKUI_Localizator.Name, value: localItem.ItemName, isModifiedWhen: localItem.ItemName !== localItemOrig.ItemName, value_IT: localItem.ItemName_IT, value_EN: localItem.ItemName_EN, value_FR: localItem.ItemName_FR, value_PT: localItem.ItemName_PT, value_ES: localItem.ItemName_ES, value_DE: localItem.ItemName_DE, validationItems: validationItems.filter(v => v.PropertyName === DiagramItemProps.ItemName), onValueChanged: handleLocalizedNameChange }));
|
|
374
|
-
}
|
|
375
|
-
return null;
|
|
376
|
-
};
|
|
377
|
-
// Function to render Start-specific fields
|
|
378
|
-
const renderStartFields = () => {
|
|
379
|
-
return (_jsxs(_Fragment, { children: [_jsx(TMVilViewer, { vil: validationItems.filter(v => v.PropertyName === "*") }), _jsx(TMCheckBox, { value: localItem.StartAfterArchive ?? 0, label: SDKUI_Localizator.WorkflowStartAfterArchive, isModifiedWhen: localItem.StartAfterArchive !== localItemOrig.StartAfterArchive, onValueChanged: handleStartAfterArchiveChange }), _jsx(TMCheckBox, { value: localItem.StartAfterUpdate ?? 0, label: SDKUI_Localizator.WorkflowStartAfterUpdate, isModifiedWhen: localItem.StartAfterUpdate !== localItemOrig.StartAfterUpdate, onValueChanged: handleStartAfterUpdateChange }), _jsx(TMMetadataChooser, { tids: wf?.MTID ? [wf.MTID] : [], allowMultipleSelection: true, allowSysMetadata: false, showClearButton: true, disabled: localItem.StartAfterUpdate !== 1, values: localItem.StartAfterUpdateMIDs?.map((mid) => ({ tid: wf?.MTID, mid: mid })) ?? [], validationItems: validationItems.filter(v => v.PropertyName === DiagramItemProps.StartAfterUpdateMIDs), onValueChanged: handleStartAfterUpdateMIDsChange, width: "100%" })] }));
|
|
380
|
-
};
|
|
381
|
-
// Function to render End-specific fields
|
|
382
|
-
const renderEndFields = () => {
|
|
383
|
-
return (_jsx(TMCheckBox, { value: localItem.Hist ?? 0, label: SDKUI_Localizator.WorkflowHistWI, isModifiedWhen: localItem.Hist !== localItemOrig.Hist, onValueChanged: handleHistChange }));
|
|
384
|
-
};
|
|
385
|
-
// Function to render Exit-specific fields
|
|
386
|
-
const renderExitFields = () => {
|
|
387
|
-
return (_jsx(TMCheckBox, { value: localItem.EndWFInstance ?? 0, label: SDKUI_Localizator.WorkflowEndInstance, isModifiedWhen: localItem.EndWFInstance !== localItemOrig.EndWFInstance, onValueChanged: handleEndWFInstanceChange }));
|
|
388
|
-
};
|
|
389
|
-
// Function to render Condition-specific fields
|
|
390
|
-
const renderConditionFields = () => {
|
|
391
|
-
return (_jsx(TMQuerySummary, { qd: localItem.QD, showDistinct: true, validateSelect: true, validateOrderBy: false, validationItems: validationItems.filter(v => v.PropertyScopes.includes(DiagramItemProps.QD)), onValueChanged: handleQDChange }));
|
|
392
|
-
};
|
|
393
|
-
// Function to render Status-specific fields
|
|
394
|
-
const renderStatusFields = () => {
|
|
395
|
-
return (_jsx(TMDataListItemPicker, { dataListID: wf?.MStatusDLID, selectedValue: localItem.StatusValue, onItemSelect: handleStatusChange }));
|
|
396
|
-
};
|
|
397
|
-
const renderAppFields = () => {
|
|
398
|
-
return (_jsxs(_Fragment, { children: [_jsx(TMDropDown, { label: SDKUI_Localizator.WorkflowAppType, dataSource: APP_TYPES_DATASOURCE, value: localItem.AppType, isModifiedWhen: localItem.AppType !== localItemOrig.AppType, validationItems: validationItems.filter(v => v.PropertyName === DiagramItemProps.AppType), onValueChanged: (e) => { handleAppTypeChange(e.target.value); } }), localItem.AppType === WFAppTypes.EXE
|
|
399
|
-
? _jsx(TMPathChooser, { label: SDKUI_Localizator.WorkflowAppName, value: localItem.AppName || '', isModifiedWhen: (localItem.AppName ?? '') !== (localItemOrig.AppName ?? ''), onValueChanged: (newValue) => { handleAppNameChange(newValue); }, allowBrowseFile_Area: true, allowBrowseFolder_Area: false, allowParametricPath: false, validationItems: validationItems.filter(v => v.PropertyName === DiagramItemProps.AppName) })
|
|
400
|
-
: _jsx(TMTextBox, { label: SDKUI_Localizator.WorkflowAppName, value: localItem.AppName, isModifiedWhen: (localItem.AppName ?? '') !== (localItemOrig.AppName ?? ''), validationItems: validationItems.filter(v => v.PropertyName === DiagramItemProps.AppName), onValueChanged: (e) => { handleAppNameChange(e.target.value); } }), _jsx(TMTextExpression, { label: SDKUI_Localizator.Arguments, value: localItem.AppArgs, valueOrig: localItemOrig.AppArgs, tid: wf?.MTID, onValueChanged: (newValue) => { handleAppArgsChange(newValue); } }), _jsx(TMCultureIDPicker, { label: SDKUI_Localizator.Format, selectedValue: localItem.FormatCultureID, isModifiedWhen: localItem.FormatCultureID !== localItemOrig.FormatCultureID, openChooserBySingleClick: true, onSelectCultureID: handleFormatCultureIDChange })] }));
|
|
401
|
-
};
|
|
402
|
-
// Function to render Approval-specific fields
|
|
403
|
-
const renderApprovalFields = () => {
|
|
404
|
-
const newQD = () => {
|
|
405
|
-
const qd = SearchEngine.NewQueryDescriptor();
|
|
406
|
-
qd.id = -1;
|
|
407
|
-
qd.from = new FromItem();
|
|
408
|
-
qd.from.tid = wf?.MTID;
|
|
409
|
-
return qd;
|
|
410
|
-
};
|
|
411
|
-
const qdForRecipientsEditor = localItem.QD ?? newQD();
|
|
412
|
-
return (_jsxs(_Fragment, { children: [_jsx(TMLocalizedTextBox, { label: SDKUI_Localizator.Description, value: localItem.Description, value_IT: localItem.Description_IT, value_EN: localItem.Description_EN, value_FR: localItem.Description_FR, value_PT: localItem.Description_PT, value_ES: localItem.Description_ES, value_DE: localItem.Description_DE, isModifiedWhen: localItem.Description !== localItemOrig.Description, validationItems: validationItems.filter(v => v.PropertyName === DiagramItemProps.Description), onValueChanged: handleLocalizedDescriptionChange }), _jsx(TMTextBox, { label: "SetID", value: localItem.ID ?? '', readOnly: true }), _jsx(WorkitemRecipientsEditor, { tos: localItem.Tos ?? '', mTID: wf?.MTID, qd: qdForRecipientsEditor, onTosChange: handleTosChange, onQDChange: handleSetRuleQDChange }), _jsx(TMVilViewer, { vil: validationItems.filter(v => v.PropertyName === DiagramItemProps.Tos) }), _jsxs(FlexContainer, { children: [_jsx(TMDropDown, { label: SDKUI_Localizator.WorkflowRecipientSetRule, elementStyle: { width: '320px' }, dataSource: SET_RULE_DATASOURCE, value: localItem.SetRule, isModifiedWhen: localItem.SetRule !== localItemOrig.SetRule, onValueChanged: (e) => { handleSetRuleChange(e.target.value); } }), _jsx(TMCheckBox, { value: localItem.AllowZeroTos ?? 0, label: SDKUI_Localizator.WorkflowAllowZeroTos, isModifiedWhen: localItem.AllowZeroTos !== localItemOrig.AllowZeroTos, onValueChanged: handleAllowZeroTosChange })] }), localItem.Type === DiagramItemTypes.ExecTask &&
|
|
413
|
-
_jsxs(BoxContainer, { children: [_jsx(HeaderContainer, { children: _jsx("span", { children: SDKUI_Localizator.Application }) }), renderAppFields()] })] }));
|
|
414
|
-
};
|
|
415
|
-
// Function to render UpdateDcmt-specific fields
|
|
416
|
-
const renderUpdateDcmtFields = () => {
|
|
417
|
-
const [metadataValues, setMetadataValues] = useState([]);
|
|
418
|
-
const [metadataValuesOrig, setMetadataValuesOrig] = useState([]);
|
|
419
|
-
const [focusedMetadataValue, setFocusedMetadataValue] = useState();
|
|
420
|
-
const [showDistinctValuesPanel, setShowDistinctValuesPanel] = useState(false);
|
|
421
|
-
const [showFormulaEditor, setShowFormulaEditor] = useState(false);
|
|
422
|
-
const [dtd, setDtd] = useState();
|
|
423
|
-
const TID = wf?.MTID;
|
|
424
|
-
useEffect(() => {
|
|
425
|
-
DcmtTypeListCacheService.GetAsync(TID).then((dtd) => setDtd(dtd));
|
|
426
|
-
}, [TID]);
|
|
427
|
-
useEffect(() => {
|
|
428
|
-
const mappedValues = dtd?.metadata?.filter(o => o.dataDomain !== MetadataDataDomains.Computed &&
|
|
429
|
-
o.isSystem !== 1).map(item => ({
|
|
430
|
-
mid: item.id,
|
|
431
|
-
tid: TID,
|
|
432
|
-
value: localItem.MetadataValues?.find(o => o.mid === item.id)?.value,
|
|
433
|
-
md: item,
|
|
434
|
-
isRequired: item.isRequired,
|
|
435
|
-
isEditable: FormulaHelper.isFormula(localItem.MetadataValues?.find(o => o.mid === item.id)?.value),
|
|
436
|
-
isLexProt: 0,
|
|
437
|
-
isSelected: localItem.MetadataValues?.find(o => o.mid === item.id) !== undefined,
|
|
438
|
-
isNull: localItem.MetadataValues?.find(o => o.mid === item.id) && localItem.MetadataValues?.find(o => o.mid === item.id)?.value === undefined,
|
|
439
|
-
}));
|
|
440
|
-
setMetadataValues(mappedValues);
|
|
441
|
-
setMetadataValuesOrig(structuredClone(mappedValues));
|
|
442
|
-
setFocusedMetadataValue(undefined);
|
|
443
|
-
setShowDistinctValuesPanel(false);
|
|
444
|
-
setShowFormulaEditor(false);
|
|
445
|
-
}, [dtd, localItem.MetadataValues]);
|
|
446
|
-
const getFormula = () => {
|
|
447
|
-
let fd = new FormulaDescriptor();
|
|
448
|
-
fd.expression = FormulaHelper.isFormula(focusedMetadataValue?.value) ? FormulaHelper.removeFormulaTag(focusedMetadataValue?.value) : undefined;
|
|
449
|
-
fd.formulaTarget = FormulaTargets.BatchUpdate;
|
|
450
|
-
fd.items = FormulaHelper.TreeViewList(TID ?? 0, getSystemMetadata(true), undefined, FormulaTargets.BatchUpdate, SDK_Globals.dbBrand);
|
|
451
|
-
fd.mid = focusedMetadataValue?.mid ?? 0;
|
|
452
|
-
fd.tid = TID;
|
|
453
|
-
return fd;
|
|
454
|
-
};
|
|
455
|
-
const handleAdvancedMenuClick = useCallback((e) => {
|
|
456
|
-
switch (e.button) {
|
|
457
|
-
case AdvancedMenuButtons.DistinctValues:
|
|
458
|
-
setShowDistinctValuesPanel(prev => !prev);
|
|
459
|
-
setShowFormulaEditor(false);
|
|
460
|
-
break;
|
|
461
|
-
case AdvancedMenuButtons.FormulaEditor:
|
|
462
|
-
setShowFormulaEditor(prev => !prev);
|
|
463
|
-
setShowDistinctValuesPanel(false);
|
|
464
|
-
break;
|
|
465
|
-
}
|
|
466
|
-
}, []);
|
|
467
|
-
return (_jsxs(_Fragment, { children: [_jsx(TMLocalizedTextBox, { label: SDKUI_Localizator.Description, value: localItem.Description, value_IT: localItem.Description_IT, value_EN: localItem.Description_EN, value_FR: localItem.Description_FR, value_PT: localItem.Description_PT, value_ES: localItem.Description_ES, value_DE: localItem.Description_DE, isModifiedWhen: localItem.Description !== localItemOrig.Description, onValueChanged: handleLocalizedDescriptionChange }), _jsxs(BoxContainer, { children: [_jsx(HeaderContainer, { children: _jsx(TMTidViewer, { tid: wf?.MTID, showIcon: true }) }), _jsx(TMMetadataValues, { TID: wf?.MTID, isExpertMode: true, checkPerms: false, showCheckBoxes: ShowCheckBoxesMode.AlwaysReadOnly, showNullValueCheckBoxes: true, metadataValues: metadataValues, metadataValuesOrig: metadataValuesOrig, validationItems: validationItems, isOpenDistinctValues: showDistinctValuesPanel, selectedMID: focusedMetadataValue?.mid, onFocusedItemChanged: (item) => setFocusedMetadataValue(item), onAdvancedMenuClick: handleAdvancedMenuClick, onValueChanged: handleMetadataValuesChanged }), showDistinctValuesPanel && focusedMetadataValue &&
|
|
468
|
-
_jsx(TMDistinctValues, { isModal: true, tid: TID, mid: focusedMetadataValue?.mid, separator: ', ', allowAppendMode: false, onClosePanelCallback: () => setShowDistinctValuesPanel(false), onSelectionChanged: (e) => {
|
|
469
|
-
if (!e)
|
|
470
|
-
return;
|
|
471
|
-
setMetadataValues((prevItems) => prevItems.map((item) => item.tid == e.tid && item.mid === e.mid ? { ...item, value: e.newValue, isSelected: true } : item));
|
|
472
|
-
} }), showFormulaEditor && focusedMetadataValue &&
|
|
473
|
-
_jsx(TMFormulaEditor, { isModal: true, formMode: FormModes.Update, inputData: getFormula(), showBack: false, onClose: () => setShowFormulaEditor(false), onApplied: (newFormula) => {
|
|
474
|
-
setMetadataValues((prevItems) => prevItems.map((item) => item.tid == newFormula.tid && item.mid === newFormula.mid ? { ...item, value: FormulaHelper.addFormulaTag(newFormula.expression), isSelected: true, isEditable: true } : item));
|
|
475
|
-
setFocusedMetadataValue(prevState => ({
|
|
476
|
-
...prevState,
|
|
477
|
-
isSelected: true,
|
|
478
|
-
isEditable: true,
|
|
479
|
-
value: FormulaHelper.addFormulaTag(newFormula.expression)
|
|
480
|
-
}));
|
|
481
|
-
} })] })] }));
|
|
482
|
-
};
|
|
483
|
-
// Function to render RunApp-specific fields
|
|
484
|
-
const renderRunAppFields = () => {
|
|
485
|
-
return (_jsxs(_Fragment, { children: [_jsx(TMLocalizedTextBox, { label: SDKUI_Localizator.Description, value: localItem.Description, value_IT: localItem.Description_IT, value_EN: localItem.Description_EN, value_FR: localItem.Description_FR, value_PT: localItem.Description_PT, value_ES: localItem.Description_ES, value_DE: localItem.Description_DE, isModifiedWhen: localItem.Description !== localItemOrig.Description, onValueChanged: handleLocalizedDescriptionChange }), renderAppFields()] }));
|
|
486
|
-
};
|
|
487
|
-
const handleRegAsWfInstPartChange = useCallback((newValue) => {
|
|
488
|
-
setLocalItem(prevLocalItem => ({
|
|
489
|
-
...prevLocalItem,
|
|
490
|
-
RegAsWfInstPart: newValue
|
|
491
|
-
}));
|
|
492
|
-
}, []);
|
|
493
|
-
const renderNotificationFields = () => {
|
|
494
|
-
const qdForRecipientsEditor = localItem.QD ?? SearchEngine.NewQueryDescriptor();
|
|
495
|
-
if (!qdForRecipientsEditor.from) {
|
|
496
|
-
qdForRecipientsEditor.from = new FromItem();
|
|
497
|
-
}
|
|
498
|
-
qdForRecipientsEditor.from.tid = wf?.MTID;
|
|
499
|
-
const { andRecipients } = useMemo(() => {
|
|
500
|
-
return tosToActors(localItem.Tos ?? '');
|
|
501
|
-
}, [localItem.Tos]);
|
|
502
|
-
const handleQDChosen = useCallback((newQd, orValue) => {
|
|
503
|
-
const allRecipients = [...andRecipients];
|
|
504
|
-
const updatedRecipients = allRecipients.filter(r => r.ActorType !== WorkItemActorTypes.QID);
|
|
505
|
-
const recipientToAdd = {
|
|
506
|
-
ActorType: WorkItemActorTypes.QID,
|
|
507
|
-
ActorID: newQd.id ? newQd.id.toString() : '-1',
|
|
508
|
-
Or: orValue,
|
|
509
|
-
};
|
|
510
|
-
updatedRecipients.push(recipientToAdd);
|
|
511
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
512
|
-
handleTosChange(newTos);
|
|
513
|
-
handleSetRuleQDChange(newQd);
|
|
514
|
-
}, [andRecipients]);
|
|
515
|
-
const handleAddRecipients = useCallback((newRecipients, orValue) => {
|
|
516
|
-
const { andRecipients } = tosToActors(localItem.Tos ?? '');
|
|
517
|
-
let allRecipients = [...andRecipients];
|
|
518
|
-
// 1. Rimuovi qualsiasi QID esistente se il nuovo destinatario è una query
|
|
519
|
-
if (newRecipients.length > 0 && newRecipients[0].ActorType === WorkItemActorTypes.QID) {
|
|
520
|
-
allRecipients = allRecipients.filter(r => r.ActorType !== WorkItemActorTypes.QID);
|
|
521
|
-
}
|
|
522
|
-
const updatedRecipients = [...allRecipients, ...newRecipients.map(r => ({ ...r, Or: orValue }))];
|
|
523
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
524
|
-
handleTosChange(newTos);
|
|
525
|
-
}, [localItem.Tos, handleTosChange]);
|
|
526
|
-
const handleRemoveRecipient = useCallback((recipientToRemove) => {
|
|
527
|
-
const { andRecipients } = tosToActors(localItem.Tos ?? '');
|
|
528
|
-
const allRecipients = [...andRecipients];
|
|
529
|
-
const updatedRecipients = allRecipients.filter(r => r.ActorType !== recipientToRemove.ActorType || r.ActorID !== recipientToRemove.ActorID || r.Or !== recipientToRemove.Or);
|
|
530
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
531
|
-
handleTosChange(newTos);
|
|
532
|
-
if (recipientToRemove.ActorType === WorkItemActorTypes.QID) {
|
|
533
|
-
handleSetRuleQDChange(undefined);
|
|
534
|
-
}
|
|
535
|
-
}, [localItem]);
|
|
536
|
-
return (_jsxs(_Fragment, { children: [_jsx(TMTextExpression, { label: SDKUI_Localizator.Description, placeHolder: SDKUI_Localizator.WorkflowNotificationTextPlaceholder, rows: 3, value: localItem.Description, tid: wf?.MTID, isModifiedWhen: (localItem.Description ?? '') !== (localItemOrig.Description ?? ''), onValueChanged: (newValue) => handleLocalizedDescriptionChange(CultureIDs.None, newValue ?? ''), validationItems: validationItems.filter(v => v.PropertyName === DiagramItemProps.Description), valueOrig: undefined }), _jsx(TMDropDown, { label: SDKUI_Localizator.Severity, dataSource: SEVERITY_DATASOURCE, value: localItem.Severity, isModifiedWhen: localItem.Severity !== localItemOrig.Severity, validationItems: validationItems.filter(v => v.PropertyName === DiagramItemProps.Severity), onValueChanged: (e) => setLocalItem(prevLocalItem => ({ ...prevLocalItem, Severity: e.target.value })) }), _jsx(TMCultureIDPicker, { label: SDKUI_Localizator.Format, selectedValue: localItem.FormatCultureID, isModifiedWhen: localItem.FormatCultureID !== localItemOrig.FormatCultureID, openChooserBySingleClick: true, onSelectCultureID: handleFormatCultureIDChange }), _jsx(TMCheckBox, { value: localItem.RegAsWfInstPart ?? 0, label: SDKUI_Localizator.WorkflowRegAsWfInstPart, isModifiedWhen: localItem.RegAsWfInstPart !== localItemOrig.RegAsWfInstPart, onValueChanged: handleRegAsWfInstPartChange }), _jsx(RecipientList, { recipients: andRecipients, title: SDKUI_Localizator.Recipients, tid: wf?.MTID, qd: qdForRecipientsEditor, onQDChange: (newQd) => newQd && handleQDChosen(newQd, 0), onAdd: (newRecipients) => handleAddRecipients(newRecipients, 0), onRemove: handleRemoveRecipient }), _jsx(TMVilViewer, { vil: validationItems.filter(v => v.PropertyName === DiagramItemProps.Tos) })] }));
|
|
537
|
-
};
|
|
538
|
-
const renderWorkingGroupCreateFields = () => {
|
|
539
|
-
// Gestione di Tos e Tos2
|
|
540
|
-
const { andRecipients: tosRecipients } = useMemo(() => {
|
|
541
|
-
return tosToActors(localItem.Tos ?? '');
|
|
542
|
-
}, [localItem.Tos]);
|
|
543
|
-
const { andRecipients: tos2Recipients } = useMemo(() => {
|
|
544
|
-
return tosToActors(localItem.Tos2 ?? '');
|
|
545
|
-
}, [localItem.Tos2]);
|
|
546
|
-
const handleAddTosRecipients = useCallback((newRecipients, orValue) => {
|
|
547
|
-
const { andRecipients } = tosToActors(localItem.Tos ?? '');
|
|
548
|
-
const updatedRecipients = [...andRecipients, ...newRecipients.map(r => ({ ...r, Or: orValue }))];
|
|
549
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
550
|
-
handleTosChange(newTos);
|
|
551
|
-
}, [localItem.Tos, handleTosChange]);
|
|
552
|
-
const handleRemoveTosRecipient = useCallback((recipientToRemove) => {
|
|
553
|
-
const { andRecipients } = tosToActors(localItem.Tos ?? '');
|
|
554
|
-
const updatedRecipients = andRecipients.filter(r => r.ActorType !== recipientToRemove.ActorType || r.ActorID !== recipientToRemove.ActorID);
|
|
555
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
556
|
-
handleTosChange(newTos);
|
|
557
|
-
}, [localItem.Tos, handleTosChange]);
|
|
558
|
-
const handleAddTos2Recipients = useCallback((newRecipients, orValue) => {
|
|
559
|
-
const { andRecipients } = tosToActors(localItem.Tos2 ?? '');
|
|
560
|
-
const updatedRecipients = [...andRecipients, ...newRecipients.map(r => ({ ...r, Or: orValue }))];
|
|
561
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
562
|
-
handleTos2Change(newTos);
|
|
563
|
-
}, [localItem.Tos2, handleTos2Change]);
|
|
564
|
-
const handleRemoveTos2Recipient = useCallback((recipientToRemove) => {
|
|
565
|
-
const { andRecipients } = tosToActors(localItem.Tos2 ?? '');
|
|
566
|
-
const updatedRecipients = andRecipients.filter(r => r.ActorType !== recipientToRemove.ActorType || r.ActorID !== recipientToRemove.ActorID);
|
|
567
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
568
|
-
handleTos2Change(newTos);
|
|
569
|
-
}, [localItem.Tos2, handleTos2Change]);
|
|
570
|
-
return (_jsxs(_Fragment, { children: [_jsx(TMTextExpression, { label: `${SDKUI_Localizator.Name} (${SDKUI_Localizator.Dossier})`, value: localItem.PlatformObjName, valueOrig: localItemOrig.PlatformObjName, tid: wf?.MTID, isModifiedWhen: (localItem.PlatformObjName ?? '') !== (localItemOrig.PlatformObjName ?? ''), onValueChanged: handlePlatformObjNameChange }), _jsx(TMTextExpression, { label: `${SDKUI_Localizator.Description} (${SDKUI_Localizator.Dossier})`, value: localItem.PlatformObjDescr, valueOrig: localItemOrig.PlatformObjDescr, tid: wf?.MTID, isModifiedWhen: (localItem.PlatformObjDescr ?? '') !== (localItemOrig.PlatformObjDescr ?? ''), onValueChanged: handlePlatformObjDescrChange }), _jsx(TMCultureIDPicker, { label: SDKUI_Localizator.Format, selectedValue: localItem.FormatCultureID, isModifiedWhen: localItem.FormatCultureID !== localItemOrig.FormatCultureID, openChooserBySingleClick: true, onSelectCultureID: handleFormatCultureIDChange }), _jsx(TMTextExpression, { label: `${SDKUI_Localizator.CommentText} (${SDKUI_Localizator.BlogCase})`, placeHolder: 'Inserisci il valore', rows: 2, value: localItem.Value1asString, valueOrig: localItemOrig.Value1asString, tid: wf?.MTID, isModifiedWhen: (localItem.Value1asString ?? '') !== (localItemOrig.Value1asString ?? ''), onValueChanged: handleValue1asStringChange }), _jsx(TMCheckBox, { value: localItem.Value1asInt ?? 0, label: SDKUI_Localizator.WorkflowAddDraftToWg, isModifiedWhen: localItem.Value1asInt !== localItemOrig.Value1asInt, onValueChanged: handleValue1asIntChange }), _jsx(TMCheckBox, { value: localItem.Value2asInt ?? 0, label: SDKUI_Localizator.WorkflowAddDcmtToWg, isModifiedWhen: localItem.Value2asInt !== localItemOrig.Value2asInt, onValueChanged: handleValue2asIntChange }), _jsx(TMCheckBox, { value: localItem.Trunc ?? 0, label: SDKUI_Localizator.TruncateString, isModifiedWhen: localItem.Trunc !== localItemOrig.Trunc, onValueChanged: handleTruncChange }), _jsxs(RecipientsContainer, { children: [_jsx(RecipientList, { recipients: tosRecipients, title: SDKUI_Localizator.OwnerName, tid: wf?.MTID, onAdd: (newRecipients) => handleAddTosRecipients(newRecipients, 0), onRemove: handleRemoveTosRecipient }), _jsx(RecipientList, { recipients: tos2Recipients, title: SDKUI_Localizator.Participants, tid: wf?.MTID, onAdd: (newRecipients) => handleAddTos2Recipients(newRecipients, 0), onRemove: handleRemoveTos2Recipient })] })] }));
|
|
571
|
-
};
|
|
572
|
-
const renderCaseFlowCreateFields = () => {
|
|
573
|
-
const [dossierTypes, setDossierTypes] = useState([]);
|
|
574
|
-
useEffect(() => {
|
|
575
|
-
SDK_Globals.tmSession?.NewDossierTypeEngine().RetrieveAllAsync().then((list) => {
|
|
576
|
-
const formattedList = (list ?? []).map(dossierType => ({
|
|
577
|
-
value: dossierType.id,
|
|
578
|
-
display: dossierType.name ?? ''
|
|
579
|
-
}));
|
|
580
|
-
setDossierTypes(formattedList);
|
|
581
|
-
});
|
|
582
|
-
}, [localItem.Type]);
|
|
583
|
-
// Gestione di Tos e Tos2
|
|
584
|
-
const { andRecipients: tosRecipients } = useMemo(() => {
|
|
585
|
-
return tosToActors(localItem.Tos ?? '');
|
|
586
|
-
}, [localItem.Tos]);
|
|
587
|
-
const { andRecipients: tos2Recipients } = useMemo(() => {
|
|
588
|
-
return tosToActors(localItem.Tos2 ?? '');
|
|
589
|
-
}, [localItem.Tos2]);
|
|
590
|
-
const handleAddTosRecipients = useCallback((newRecipients, orValue) => {
|
|
591
|
-
const { andRecipients } = tosToActors(localItem.Tos ?? '');
|
|
592
|
-
const updatedRecipients = [...andRecipients, ...newRecipients.map(r => ({ ...r, Or: orValue }))];
|
|
593
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
594
|
-
handleTosChange(newTos);
|
|
595
|
-
}, [localItem.Tos, handleTosChange]);
|
|
596
|
-
const handleRemoveTosRecipient = useCallback((recipientToRemove) => {
|
|
597
|
-
const { andRecipients } = tosToActors(localItem.Tos ?? '');
|
|
598
|
-
const updatedRecipients = andRecipients.filter(r => r.ActorType !== recipientToRemove.ActorType || r.ActorID !== recipientToRemove.ActorID);
|
|
599
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
600
|
-
handleTosChange(newTos);
|
|
601
|
-
}, [localItem.Tos, handleTosChange]);
|
|
602
|
-
const handleAddTos2Recipients = useCallback((newRecipients, orValue) => {
|
|
603
|
-
const { andRecipients } = tosToActors(localItem.Tos2 ?? '');
|
|
604
|
-
const updatedRecipients = [...andRecipients, ...newRecipients.map(r => ({ ...r, Or: orValue }))];
|
|
605
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
606
|
-
handleTos2Change(newTos);
|
|
607
|
-
}, [localItem.Tos2, handleTos2Change]);
|
|
608
|
-
const handleRemoveTos2Recipient = useCallback((recipientToRemove) => {
|
|
609
|
-
const { andRecipients } = tosToActors(localItem.Tos2 ?? '');
|
|
610
|
-
const updatedRecipients = andRecipients.filter(r => r.ActorType !== recipientToRemove.ActorType || r.ActorID !== recipientToRemove.ActorID);
|
|
611
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
612
|
-
handleTos2Change(newTos);
|
|
613
|
-
}, [localItem.Tos2, handleTos2Change]);
|
|
614
|
-
return (_jsxs(_Fragment, { children: [_jsx(TMTextExpression, { label: `${SDKUI_Localizator.Name} (${SDKUI_Localizator.Dossier})`, value: localItem.PlatformObjName, valueOrig: localItemOrig.PlatformObjName, tid: wf?.MTID, isModifiedWhen: (localItem.PlatformObjName ?? '') !== (localItemOrig.PlatformObjName ?? ''), onValueChanged: handlePlatformObjNameChange }), _jsx(TMDropDown, { dataSource: dossierTypes, label: `${SDKUI_Localizator.Description} (${SDKUI_Localizator.Dossier})`, value: localItem.Value3asInt, isModifiedWhen: (localItem.Value3asInt ?? 0) !== (localItemOrig.Value3asInt ?? 0), onValueChanged: (e) => { handleValue3asIntChange(e.target.value); } }), _jsx(TMTextExpression, { label: `${SDKUI_Localizator.Description} (${SDKUI_Localizator.Dossier})`, value: localItem.PlatformObjDescr, valueOrig: localItemOrig.PlatformObjDescr, tid: wf?.MTID, isModifiedWhen: (localItem.PlatformObjDescr ?? '') !== (localItemOrig.PlatformObjDescr ?? ''), onValueChanged: handlePlatformObjDescrChange }), _jsx(TMCultureIDPicker, { label: SDKUI_Localizator.Format, selectedValue: localItem.FormatCultureID, isModifiedWhen: localItem.FormatCultureID !== localItemOrig.FormatCultureID, openChooserBySingleClick: true, onSelectCultureID: handleFormatCultureIDChange }), _jsx(TMTextExpression, { label: `${SDKUI_Localizator.CommentText} (${SDKUI_Localizator.BlogCase})`, placeHolder: 'Inserisci il valore', rows: 2, value: localItem.Value1asString, valueOrig: localItemOrig.Value1asString, tid: wf?.MTID, isModifiedWhen: (localItem.Value1asString ?? '') !== (localItemOrig.Value1asString ?? ''), onValueChanged: handleValue1asStringChange }), _jsx(TMCheckBox, { value: localItem.Value1asInt ?? 0, label: SDKUI_Localizator.WorkflowAddDcmtAsAttachment, isModifiedWhen: localItem.Value1asInt !== localItemOrig.Value1asInt, onValueChanged: handleValue1asIntChange }), _jsx(TMCheckBox, { value: localItem.Value2asInt ?? 0, label: SDKUI_Localizator.WorkflowAddDcmtToDossier, isModifiedWhen: localItem.Value2asInt !== localItemOrig.Value2asInt, onValueChanged: handleValue2asIntChange }), _jsx(TMCheckBox, { value: localItem.Trunc ?? 0, label: SDKUI_Localizator.TruncateString, isModifiedWhen: localItem.Trunc !== localItemOrig.Trunc, onValueChanged: handleTruncChange }), _jsxs(RecipientsContainer, { children: [_jsx(RecipientList, { recipients: tosRecipients, title: SDKUI_Localizator.OwnerName, tid: wf?.MTID, onAdd: (newRecipients) => handleAddTosRecipients(newRecipients, 0), onRemove: handleRemoveTosRecipient }), _jsx(RecipientList, { recipients: tos2Recipients, title: SDKUI_Localizator.Participants, tid: wf?.MTID, onAdd: (newRecipients) => handleAddTos2Recipients(newRecipients, 0), onRemove: handleRemoveTos2Recipient })] })] }));
|
|
615
|
-
};
|
|
616
|
-
const renderAddPartsFields = () => {
|
|
617
|
-
const { andRecipients: tosRecipients } = useMemo(() => {
|
|
618
|
-
return tosToActors(localItem.Tos ?? '');
|
|
619
|
-
}, [localItem.Tos]);
|
|
620
|
-
const handleAddTosRecipients = useCallback((newRecipients, orValue) => {
|
|
621
|
-
const { andRecipients } = tosToActors(localItem.Tos ?? '');
|
|
622
|
-
const updatedRecipients = [...andRecipients, ...newRecipients.map(r => ({ ...r, Or: orValue }))];
|
|
623
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
624
|
-
handleTosChange(newTos);
|
|
625
|
-
}, [localItem.Tos, handleTosChange]);
|
|
626
|
-
const handleRemoveTosRecipient = useCallback((recipientToRemove) => {
|
|
627
|
-
const { andRecipients } = tosToActors(localItem.Tos ?? '');
|
|
628
|
-
const updatedRecipients = andRecipients.filter(r => r.ActorType !== recipientToRemove.ActorType || r.ActorID !== recipientToRemove.ActorID);
|
|
629
|
-
const newTos = actorsToTos(updatedRecipients);
|
|
630
|
-
handleTosChange(newTos);
|
|
631
|
-
}, [localItem.Tos, handleTosChange]);
|
|
632
|
-
return (_jsxs(_Fragment, { children: [_jsx(TMTextExpression, { label: `${SDKUI_Localizator.Name} (${localItem.Type === DiagramItemTypes.CaseFlow_AddParts ? SDKUI_Localizator.Dossier : SDKUI_Localizator.WorkGroup})`, value: localItem.PlatformObjName, valueOrig: localItemOrig.PlatformObjName, tid: wf?.MTID, isModifiedWhen: (localItem.PlatformObjName ?? '') !== (localItemOrig.PlatformObjName ?? ''), onValueChanged: handlePlatformObjNameChange }), _jsx(TMCultureIDPicker, { label: SDKUI_Localizator.Format, selectedValue: localItem.FormatCultureID, isModifiedWhen: localItem.FormatCultureID !== localItemOrig.FormatCultureID, openChooserBySingleClick: true, onSelectCultureID: handleFormatCultureIDChange }), _jsx(TMCheckBox, { value: localItem.Trunc ?? 0, label: SDKUI_Localizator.TruncateString, isModifiedWhen: localItem.Trunc !== localItemOrig.Trunc, onValueChanged: handleTruncChange }), _jsx(TMRadioButton, { label: SDKUI_Localizator.OperationType, dataSource: [
|
|
633
|
-
{ value: 1, display: SDKUI_Localizator.Add },
|
|
634
|
-
{ value: 0, display: SDKUI_Localizator.Remove },
|
|
635
|
-
], value: localItem.Value1asInt, isModifiedWhen: localItem.Value1asInt !== localItemOrig.Value1asInt, onValueChanged: handleValue1asIntChange }), _jsx(RecipientList, { recipients: tosRecipients, title: SDKUI_Localizator.OwnerName, tid: wf?.MTID, onAdd: (newRecipients) => handleAddTosRecipients(newRecipients, 0), onRemove: handleRemoveTosRecipient })] }));
|
|
636
|
-
};
|
|
637
|
-
const renderForm = () => {
|
|
638
|
-
let specificFields;
|
|
639
|
-
switch (localItem.Type) {
|
|
640
|
-
case DiagramItemTypes.Start:
|
|
641
|
-
specificFields = renderStartFields();
|
|
642
|
-
break;
|
|
643
|
-
case DiagramItemTypes.End:
|
|
644
|
-
specificFields = renderEndFields();
|
|
645
|
-
break;
|
|
646
|
-
case DiagramItemTypes.Exit:
|
|
647
|
-
specificFields = renderExitFields();
|
|
648
|
-
break;
|
|
649
|
-
case DiagramItemTypes.Condition:
|
|
650
|
-
specificFields = renderConditionFields();
|
|
651
|
-
break;
|
|
652
|
-
case DiagramItemTypes.Status:
|
|
653
|
-
specificFields = renderStatusFields();
|
|
654
|
-
break;
|
|
655
|
-
case DiagramItemTypes.Approval:
|
|
656
|
-
case DiagramItemTypes.DataEntry:
|
|
657
|
-
case DiagramItemTypes.ExecTask:
|
|
658
|
-
specificFields = renderApprovalFields();
|
|
659
|
-
break;
|
|
660
|
-
case DiagramItemTypes.UpdateDcmt:
|
|
661
|
-
specificFields = renderUpdateDcmtFields();
|
|
662
|
-
break;
|
|
663
|
-
case DiagramItemTypes.RunApp:
|
|
664
|
-
specificFields = renderRunAppFields();
|
|
665
|
-
break;
|
|
666
|
-
case DiagramItemTypes.Notification:
|
|
667
|
-
specificFields = renderNotificationFields();
|
|
668
|
-
break;
|
|
669
|
-
case DiagramItemTypes.WorkGroup_Create:
|
|
670
|
-
specificFields = renderWorkingGroupCreateFields();
|
|
671
|
-
break;
|
|
672
|
-
case DiagramItemTypes.CaseFlow_Create:
|
|
673
|
-
specificFields = renderCaseFlowCreateFields();
|
|
674
|
-
break;
|
|
675
|
-
case DiagramItemTypes.CaseFlow_AddParts:
|
|
676
|
-
case DiagramItemTypes.WorkGroup_AddParts:
|
|
677
|
-
specificFields = renderAddPartsFields();
|
|
678
|
-
break;
|
|
679
|
-
default:
|
|
680
|
-
specificFields = null;
|
|
681
|
-
}
|
|
682
|
-
return (_jsxs(FormContainer, { children: [renderCommonFields(), specificFields, _jsxs(ButtonsContainer, { children: [_jsx(TMButton, { caption: 'Applica', btnStyle: 'advanced', advancedColor: TMColors.tertiary, icon: _jsx(IconApply, {}), showTooltip: false, disabled: !isModified, onClick: handleSave }), _jsx(TMButton, { caption: 'Annulla', btnStyle: 'toolbar', color: 'primary', icon: _jsx(IconUndo, {}), showTooltip: false, disabled: !isModified, onClick: handleCancel })] })] }));
|
|
683
|
-
};
|
|
684
|
-
return (_jsx(TMModal, { title: LocalizeDiagramItemType(localItem.Type), onClose: onClose, isModal: true, width: calculatedWidth, height: calculatedHeight, children: renderForm() }));
|
|
685
|
-
};
|
|
686
|
-
export default DiagramItemForm;
|