@topconsultnpm/sdkui-react 6.22.0-dev4.22 → 6.22.0-dev4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/NewComponents/ContextMenu/styles.d.ts +45 -43
- package/lib/components/NewComponents/FloatingMenuBar/styles.d.ts +67 -60
- package/lib/components/base/Styled.d.ts +93 -77
- package/lib/components/base/TMCounterBar.d.ts +2 -2
- package/lib/components/base/TMCounterContainer.d.ts +2 -1
- package/lib/components/base/TMCustomButton.d.ts +1 -1
- package/lib/components/base/TMDataGrid.js +219 -219
- package/lib/components/base/TMDataGridExportForm.d.ts +2 -1
- package/lib/components/base/TMFileManager.d.ts +2 -1
- package/lib/components/base/TMFileManagerDataGridView.d.ts +2 -1
- package/lib/components/base/TMFileManagerThumbnailItems.d.ts +1 -1
- package/lib/components/base/TMFileManagerThumbnailsView.d.ts +1 -1
- package/lib/components/base/TMFileManagerUtils.d.ts +4 -6
- package/lib/components/base/TMLayout.d.ts +4 -4
- package/lib/components/base/TMList.d.ts +2 -1
- package/lib/components/base/TMListView.d.ts +1 -1
- package/lib/components/base/TMSpinner.d.ts +3 -2
- package/lib/components/base/TMTab.d.ts +4 -3
- package/lib/components/base/TMTabControl.js +208 -208
- package/lib/components/base/TMTooltip.d.ts +1 -1
- package/lib/components/base/TMTreeView.d.ts +16 -8
- package/lib/components/base/TMTreeView.js +31 -5
- package/lib/components/base/TMUserAvatar.d.ts +2 -1
- package/lib/components/base/TMVilViewer.d.ts +2 -1
- package/lib/components/base/TMWaitPanel.d.ts +3 -2
- package/lib/components/base/waitPanel/TMWaitPanelView.d.ts +2 -1
- package/lib/components/base/waitPanel/TMWaitPanelView.js +207 -207
- package/lib/components/choosers/TMDynDataListItemChooser.d.ts +1 -1
- package/lib/components/choosers/TMInvoiceRetrieveFormats.d.ts +2 -1
- package/lib/components/choosers/TMOrderRetrieveFormats.d.ts +2 -1
- package/lib/components/choosers/TMQuickSearchInfo.d.ts +2 -1
- package/lib/components/choosers/TMRelationChooser.d.ts +3 -3
- package/lib/components/choosers/TMUserChooser.d.ts +2 -2
- package/lib/components/editors/TMEditorStyled.d.ts +20 -42
- package/lib/components/editors/TMFormulaEditor.d.ts +1 -1
- package/lib/components/editors/TMHtmlContentDisplay.d.ts +2 -1
- package/lib/components/editors/TMHtmlEditor.d.ts +2 -1
- package/lib/components/editors/TMTreeDropDown.d.ts +1 -1
- package/lib/components/features/assistant/TMToppyDraggableHelpCenter.d.ts +1 -1
- package/lib/components/features/blog/TMBlogCommentForm.d.ts +2 -1
- package/lib/components/features/documents/TMDcmtForm.js +31 -31
- package/lib/components/features/documents/TMDcmtFormActionButtons.d.ts +1 -1
- package/lib/components/features/documents/TMDcmtIcon.d.ts +2 -1
- package/lib/components/features/documents/TMDcmtPreview.d.ts +8 -6
- package/lib/components/features/documents/TMDcmtTasks.d.ts +2 -1
- package/lib/components/features/documents/TMDragDropOverlay.d.ts +1 -1
- package/lib/components/features/documents/TMFileUploader.js +21 -21
- package/lib/components/features/documents/TMMasterDetailDcmts.js +62 -6
- package/lib/components/features/documents/TMMasterInfoFields.d.ts +2 -1
- package/lib/components/features/documents/TMMergeToPdfForm.d.ts +2 -1
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsForm.d.ts +2 -1
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsUtils.d.ts +4 -4
- package/lib/components/features/documents/TMRelationViewer.d.ts +2 -2
- package/lib/components/features/documents/TMRelationViewer.js +13 -3
- package/lib/components/features/documents/relationTreeState.d.ts +2 -0
- package/lib/components/features/search/TMDcmtCheckoutInfoForm.d.ts +2 -1
- package/lib/components/features/search/TMMetadataOutputForm.d.ts +2 -1
- package/lib/components/features/search/TMMetadataSorterForm.d.ts +2 -1
- package/lib/components/features/search/TMSavedQuerySelector.d.ts +2 -2
- package/lib/components/features/search/TMSearch.d.ts +2 -1
- package/lib/components/features/search/TMSearchQueryPanel.d.ts +9 -3
- package/lib/components/features/search/TMSearchResult.js +4 -5
- package/lib/components/features/search/TMSearchResultFloatingActionButton.d.ts +1 -1
- package/lib/components/features/search/TMSignatureInfoContent.d.ts +2 -1
- package/lib/components/features/search/TMViewHistoryDcmt.d.ts +2 -1
- package/lib/components/features/tasks/TMTaskForm.d.ts +1 -1
- package/lib/components/features/tasks/TMTaskFormUtils.d.ts +10 -10
- package/lib/components/features/tasks/TMTasksAgenda.d.ts +1 -1
- package/lib/components/features/tasks/TMTasksCalendar.d.ts +1 -1
- package/lib/components/features/tasks/TMTasksHeader.d.ts +1 -1
- package/lib/components/features/tasks/TMTasksPanelContent.d.ts +1 -1
- package/lib/components/features/tasks/TMTasksUtilsView.d.ts +5 -5
- package/lib/components/features/tasks/TMTasksView.d.ts +1 -1
- package/lib/components/features/wg/TMWGsCopyMoveForm.d.ts +3 -2
- package/lib/components/features/wg/TMWGsCopyMoveForm.js +9 -9
- package/lib/components/features/workflow/TMWorkflowPopup.d.ts +8 -7
- package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.d.ts +3 -1
- package/lib/components/forms/Login/ChangePasswordInputs.d.ts +3 -1
- package/lib/components/forms/Login/Chooser.d.ts +2 -2
- package/lib/components/forms/TMChooserForm.d.ts +2 -1
- package/lib/components/forms/TMSaveForm.d.ts +4 -4
- package/lib/components/grids/TMBlogAttachments.d.ts +2 -1
- package/lib/components/grids/TMBlogHeader.d.ts +1 -1
- package/lib/components/grids/TMBlogsPost.d.ts +1 -1
- package/lib/components/grids/TMBlogsPostUtils.d.ts +9 -9
- package/lib/components/grids/TMValidationItemsList.d.ts +2 -1
- package/lib/components/layout/panelManager/TMPanelManagerContainer.d.ts +2 -1
- package/lib/components/layout/panelManager/TMPanelManagerContainer.js +12 -12
- package/lib/components/layout/panelManager/TMPanelManagerContext.d.ts +2 -2
- package/lib/components/layout/panelManager/TMPanelManagerLoader.d.ts +2 -1
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.d.ts +5 -6
- package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.d.ts +2 -2
- package/lib/components/layout/panelManager/TMPanelWrapper.d.ts +2 -2
- package/lib/components/pages/TMPage.d.ts +1 -1
- package/lib/components/query/TMQueryEditor.d.ts +14 -10
- package/lib/components/settings/SettingsAppearance.d.ts +2 -1
- package/lib/components/sidebar/TMAboutApp.d.ts +2 -1
- package/lib/components/sidebar/TMCommandsPanel.d.ts +4 -4
- package/lib/components/sidebar/TMHeader.d.ts +3 -3
- package/lib/components/viewers/TMDataListItemViewer.d.ts +3 -2
- package/lib/components/viewers/TMDataUserIdItemViewer.d.ts +3 -2
- package/lib/components/viewers/TMMidViewer.d.ts +2 -2
- package/lib/components/viewers/TMTidViewer.d.ts +2 -2
- package/lib/helper/TMAppUpdatedModal.d.ts +2 -1
- package/lib/helper/TMAppUpdatedModal.js +93 -93
- package/lib/helper/TMCommandsContextMenu.d.ts +1 -1
- package/lib/helper/TMIcons.d.ts +281 -281
- package/lib/helper/TMPdfViewer.d.ts +2 -1
- package/lib/helper/TMToppyMessage.d.ts +2 -2
- package/lib/helper/TMUtils.d.ts +10 -4
- package/lib/helper/helpers.d.ts +1 -1
- package/lib/hooks/useInputDialog.d.ts +2 -1
- package/lib/services/platform_services.d.ts +3 -2
- package/package.json +1 -1
|
@@ -443,229 +443,229 @@ export default TMDataGrid;
|
|
|
443
443
|
// (padding, altezza minima, font e dimensione dei pulsanti di pagina).
|
|
444
444
|
// Con compactPager = false non emette nessuna regola: width/height restano inline come in precedenza,
|
|
445
445
|
// così il rendering è identico a quello del div originale.
|
|
446
|
-
const StyledDataGridContainer = styled.div `
|
|
447
|
-
${({ $compactPager }) => $compactPager && css `
|
|
448
|
-
& .dx-datagrid-pager {
|
|
449
|
-
padding: 2px 4px !important;
|
|
450
|
-
min-height: 0 !important;
|
|
451
|
-
font-size: 11px;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
& .dx-datagrid-pager .dx-page,
|
|
455
|
-
& .dx-datagrid-pager .dx-page-size,
|
|
456
|
-
& .dx-datagrid-pager .dx-selection,
|
|
457
|
-
& .dx-datagrid-pager .dx-navigate-button {
|
|
458
|
-
min-width: 18px !important;
|
|
459
|
-
min-height: 18px !important;
|
|
460
|
-
height: auto !important;
|
|
461
|
-
padding: 1px 5px !important;
|
|
462
|
-
line-height: 16px !important;
|
|
463
|
-
font-size: 11px;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
& .dx-datagrid-pager .dx-pages,
|
|
467
|
-
& .dx-datagrid-pager .dx-page-sizes,
|
|
468
|
-
& .dx-datagrid-pager .dx-info,
|
|
469
|
-
& .dx-datagrid-pager .dx-page-index,
|
|
470
|
-
& .dx-datagrid-pager .dx-pages .dx-info {
|
|
471
|
-
font-size: 11px;
|
|
472
|
-
margin-top: 0 !important;
|
|
473
|
-
margin-bottom: 0 !important;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
& .dx-datagrid-pager .dx-info {
|
|
477
|
-
margin-left: 4px !important;
|
|
478
|
-
margin-right: 4px !important;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
/* Editor del numero di pagina (displayMode compact) */
|
|
482
|
-
& .dx-datagrid-pager .dx-page-index .dx-texteditor-input,
|
|
483
|
-
& .dx-datagrid-pager .dx-page-sizes .dx-texteditor-input {
|
|
484
|
-
min-height: 18px !important;
|
|
485
|
-
height: 18px !important;
|
|
486
|
-
padding: 0 4px !important;
|
|
487
|
-
font-size: 11px;
|
|
488
|
-
}
|
|
489
|
-
`}
|
|
446
|
+
const StyledDataGridContainer = styled.div `
|
|
447
|
+
${({ $compactPager }) => $compactPager && css `
|
|
448
|
+
& .dx-datagrid-pager {
|
|
449
|
+
padding: 2px 4px !important;
|
|
450
|
+
min-height: 0 !important;
|
|
451
|
+
font-size: 11px;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
& .dx-datagrid-pager .dx-page,
|
|
455
|
+
& .dx-datagrid-pager .dx-page-size,
|
|
456
|
+
& .dx-datagrid-pager .dx-selection,
|
|
457
|
+
& .dx-datagrid-pager .dx-navigate-button {
|
|
458
|
+
min-width: 18px !important;
|
|
459
|
+
min-height: 18px !important;
|
|
460
|
+
height: auto !important;
|
|
461
|
+
padding: 1px 5px !important;
|
|
462
|
+
line-height: 16px !important;
|
|
463
|
+
font-size: 11px;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
& .dx-datagrid-pager .dx-pages,
|
|
467
|
+
& .dx-datagrid-pager .dx-page-sizes,
|
|
468
|
+
& .dx-datagrid-pager .dx-info,
|
|
469
|
+
& .dx-datagrid-pager .dx-page-index,
|
|
470
|
+
& .dx-datagrid-pager .dx-pages .dx-info {
|
|
471
|
+
font-size: 11px;
|
|
472
|
+
margin-top: 0 !important;
|
|
473
|
+
margin-bottom: 0 !important;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
& .dx-datagrid-pager .dx-info {
|
|
477
|
+
margin-left: 4px !important;
|
|
478
|
+
margin-right: 4px !important;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/* Editor del numero di pagina (displayMode compact) */
|
|
482
|
+
& .dx-datagrid-pager .dx-page-index .dx-texteditor-input,
|
|
483
|
+
& .dx-datagrid-pager .dx-page-sizes .dx-texteditor-input {
|
|
484
|
+
min-height: 18px !important;
|
|
485
|
+
height: 18px !important;
|
|
486
|
+
padding: 0 4px !important;
|
|
487
|
+
font-size: 11px;
|
|
488
|
+
}
|
|
489
|
+
`}
|
|
490
490
|
`;
|
|
491
491
|
// Stile del pannello del filtro d'intestazione (ricerca, elenco valori, OK/Annulla).
|
|
492
492
|
// Il popup è in portale sul body, fuori da StyledDataGridContainer: le regole sono globali
|
|
493
493
|
// ma tutte sotto .dx-header-filter-menu, classe che DevExtreme applica solo a questo popup.
|
|
494
|
-
const HeaderFilterMenuGlobalStyle = createGlobalStyle `
|
|
495
|
-
.dx-header-filter-menu {
|
|
496
|
-
|
|
497
|
-
&.dx-popup-wrapper > .dx-overlay-content.dx-popup-normal {
|
|
498
|
-
border: 1px solid #E4E8EE;
|
|
499
|
-
border-radius: 8px;
|
|
500
|
-
box-shadow: 0 2px 6px rgba(18, 44, 76, .08), 0 12px 28px rgba(18, 44, 76, .14);
|
|
501
|
-
overflow: hidden;
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
&.dx-popup-wrapper .dx-popup-content {
|
|
505
|
-
padding: 10px 10px 4px;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
/* Campo di ricerca: TextBox mode "search" resa da List o da TreeView (filtri gerarchici) */
|
|
509
|
-
.dx-searchbox.dx-list-search,
|
|
510
|
-
.dx-searchbox.dx-treeview-search {
|
|
511
|
-
margin-bottom: 8px;
|
|
512
|
-
border-radius: 6px;
|
|
513
|
-
border: 1px solid #CDD2D8;
|
|
514
|
-
background-color: #F4F6F9;
|
|
515
|
-
box-shadow: none;
|
|
516
|
-
transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
|
|
517
|
-
|
|
518
|
-
/* fluent disegna qui la barretta di focus, sostituita da bordo + alone */
|
|
519
|
-
&::before,
|
|
520
|
-
&::after {
|
|
521
|
-
display: none;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
&.dx-state-hover:not(.dx-state-focused) {
|
|
525
|
-
border-color: #AEB6C1;
|
|
526
|
-
background-color: #EEF2F7;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
&.dx-state-focused {
|
|
530
|
-
border-color: #2559A5;
|
|
531
|
-
background-color: #FFFFFF;
|
|
532
|
-
box-shadow: 0 0 0 2px rgba(37, 89, 165, .16);
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
.dx-icon-search {
|
|
536
|
-
width: 28px;
|
|
537
|
-
color: #8A929B;
|
|
538
|
-
transition: color .15s ease;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
&.dx-state-focused .dx-icon-search {
|
|
542
|
-
color: #2559A5;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
.dx-texteditor-input {
|
|
546
|
-
min-height: 28px;
|
|
547
|
-
padding-inline-start: 28px;
|
|
548
|
-
padding-inline-end: 8px;
|
|
549
|
-
font-size: 12px;
|
|
550
|
-
background-color: transparent;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.dx-placeholder {
|
|
554
|
-
color: #9AA3AD;
|
|
555
|
-
font-size: 12px;
|
|
556
|
-
|
|
557
|
-
&::before {
|
|
558
|
-
padding-inline-start: 28px;
|
|
559
|
-
padding-inline-end: 8px;
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
.dx-clear-button-area .dx-icon-clear {
|
|
564
|
-
color: #8A929B;
|
|
565
|
-
transition: color .15s ease;
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
.dx-clear-button-area:hover .dx-icon-clear {
|
|
569
|
-
color: #2559A5;
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
.dx-list-item {
|
|
574
|
-
border-radius: 4px;
|
|
575
|
-
transition: background-color .12s ease;
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
.dx-list-item-content {
|
|
579
|
-
padding: 4px 6px;
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
.dx-list-item.dx-state-hover,
|
|
583
|
-
.dx-list-item.dx-state-focused {
|
|
584
|
-
background-color: #F1F6FD;
|
|
585
|
-
color: #122C4C;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
.dx-list-select-all {
|
|
589
|
-
padding: 2px 0 6px;
|
|
590
|
-
margin-bottom: 4px;
|
|
591
|
-
border-bottom: 1px solid #ECEFF3;
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
.dx-list-select-all-label {
|
|
595
|
-
font-weight: 600;
|
|
596
|
-
color: #122C4C;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
.dx-checkbox-checked .dx-checkbox-icon,
|
|
600
|
-
.dx-checkbox-indeterminate .dx-checkbox-icon {
|
|
601
|
-
border-color: #2559A5;
|
|
602
|
-
background-color: #2559A5;
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
.dx-checkbox.dx-state-hover:not(.dx-checkbox-checked) .dx-checkbox-icon {
|
|
606
|
-
border-color: #2559A5;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
/* il :not() lascia intatto il fade-out nativo della scrollbar */
|
|
610
|
-
.dx-scrollable-scroll:not(.dx-state-invisible) .dx-scrollable-scroll-content {
|
|
611
|
-
background-color: rgba(18, 44, 76, .28);
|
|
612
|
-
border-radius: 3px;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
&.dx-popup-wrapper .dx-popup-bottom.dx-toolbar {
|
|
616
|
-
padding: 8px 10px 10px;
|
|
617
|
-
border-top: 1px solid #ECEFF3;
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
.dx-popup-bottom .dx-button {
|
|
621
|
-
border-radius: 5px;
|
|
622
|
-
min-width: 76px;
|
|
623
|
-
margin: 0;
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
.dx-popup-bottom .dx-toolbar-button + .dx-toolbar-button {
|
|
627
|
-
margin-inline-start: 6px;
|
|
628
|
-
|
|
629
|
-
.dx-button {
|
|
630
|
-
margin: 0;
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
/* DevExtreme aggiunge prima OK e poi Annulla: individuarli per posizione li rende indipendenti dalla lingua */
|
|
635
|
-
.dx-popup-bottom .dx-toolbar-after > .dx-toolbar-button:first-child .dx-button {
|
|
636
|
-
border-color: transparent;
|
|
637
|
-
background-color: #2559A5;
|
|
638
|
-
|
|
639
|
-
.dx-button-text {
|
|
640
|
-
color: #FFFFFF;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
&.dx-state-hover {
|
|
644
|
-
background-color: #1E4A8C;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
&.dx-state-active {
|
|
648
|
-
background-color: #1A3F78;
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
.dx-popup-bottom .dx-toolbar-after > .dx-toolbar-button + .dx-toolbar-button .dx-button {
|
|
653
|
-
border-color: transparent;
|
|
654
|
-
background-color: transparent;
|
|
655
|
-
|
|
656
|
-
.dx-button-text {
|
|
657
|
-
color: #44506B;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
&.dx-state-hover {
|
|
661
|
-
background-color: #F0F3F7;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
&.dx-state-active {
|
|
665
|
-
background-color: #E6EBF2;
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
}
|
|
494
|
+
const HeaderFilterMenuGlobalStyle = createGlobalStyle `
|
|
495
|
+
.dx-header-filter-menu {
|
|
496
|
+
|
|
497
|
+
&.dx-popup-wrapper > .dx-overlay-content.dx-popup-normal {
|
|
498
|
+
border: 1px solid #E4E8EE;
|
|
499
|
+
border-radius: 8px;
|
|
500
|
+
box-shadow: 0 2px 6px rgba(18, 44, 76, .08), 0 12px 28px rgba(18, 44, 76, .14);
|
|
501
|
+
overflow: hidden;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
&.dx-popup-wrapper .dx-popup-content {
|
|
505
|
+
padding: 10px 10px 4px;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/* Campo di ricerca: TextBox mode "search" resa da List o da TreeView (filtri gerarchici) */
|
|
509
|
+
.dx-searchbox.dx-list-search,
|
|
510
|
+
.dx-searchbox.dx-treeview-search {
|
|
511
|
+
margin-bottom: 8px;
|
|
512
|
+
border-radius: 6px;
|
|
513
|
+
border: 1px solid #CDD2D8;
|
|
514
|
+
background-color: #F4F6F9;
|
|
515
|
+
box-shadow: none;
|
|
516
|
+
transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
|
|
517
|
+
|
|
518
|
+
/* fluent disegna qui la barretta di focus, sostituita da bordo + alone */
|
|
519
|
+
&::before,
|
|
520
|
+
&::after {
|
|
521
|
+
display: none;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
&.dx-state-hover:not(.dx-state-focused) {
|
|
525
|
+
border-color: #AEB6C1;
|
|
526
|
+
background-color: #EEF2F7;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
&.dx-state-focused {
|
|
530
|
+
border-color: #2559A5;
|
|
531
|
+
background-color: #FFFFFF;
|
|
532
|
+
box-shadow: 0 0 0 2px rgba(37, 89, 165, .16);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.dx-icon-search {
|
|
536
|
+
width: 28px;
|
|
537
|
+
color: #8A929B;
|
|
538
|
+
transition: color .15s ease;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
&.dx-state-focused .dx-icon-search {
|
|
542
|
+
color: #2559A5;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.dx-texteditor-input {
|
|
546
|
+
min-height: 28px;
|
|
547
|
+
padding-inline-start: 28px;
|
|
548
|
+
padding-inline-end: 8px;
|
|
549
|
+
font-size: 12px;
|
|
550
|
+
background-color: transparent;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.dx-placeholder {
|
|
554
|
+
color: #9AA3AD;
|
|
555
|
+
font-size: 12px;
|
|
556
|
+
|
|
557
|
+
&::before {
|
|
558
|
+
padding-inline-start: 28px;
|
|
559
|
+
padding-inline-end: 8px;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.dx-clear-button-area .dx-icon-clear {
|
|
564
|
+
color: #8A929B;
|
|
565
|
+
transition: color .15s ease;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.dx-clear-button-area:hover .dx-icon-clear {
|
|
569
|
+
color: #2559A5;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.dx-list-item {
|
|
574
|
+
border-radius: 4px;
|
|
575
|
+
transition: background-color .12s ease;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.dx-list-item-content {
|
|
579
|
+
padding: 4px 6px;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.dx-list-item.dx-state-hover,
|
|
583
|
+
.dx-list-item.dx-state-focused {
|
|
584
|
+
background-color: #F1F6FD;
|
|
585
|
+
color: #122C4C;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.dx-list-select-all {
|
|
589
|
+
padding: 2px 0 6px;
|
|
590
|
+
margin-bottom: 4px;
|
|
591
|
+
border-bottom: 1px solid #ECEFF3;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.dx-list-select-all-label {
|
|
595
|
+
font-weight: 600;
|
|
596
|
+
color: #122C4C;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.dx-checkbox-checked .dx-checkbox-icon,
|
|
600
|
+
.dx-checkbox-indeterminate .dx-checkbox-icon {
|
|
601
|
+
border-color: #2559A5;
|
|
602
|
+
background-color: #2559A5;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.dx-checkbox.dx-state-hover:not(.dx-checkbox-checked) .dx-checkbox-icon {
|
|
606
|
+
border-color: #2559A5;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
/* il :not() lascia intatto il fade-out nativo della scrollbar */
|
|
610
|
+
.dx-scrollable-scroll:not(.dx-state-invisible) .dx-scrollable-scroll-content {
|
|
611
|
+
background-color: rgba(18, 44, 76, .28);
|
|
612
|
+
border-radius: 3px;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
&.dx-popup-wrapper .dx-popup-bottom.dx-toolbar {
|
|
616
|
+
padding: 8px 10px 10px;
|
|
617
|
+
border-top: 1px solid #ECEFF3;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.dx-popup-bottom .dx-button {
|
|
621
|
+
border-radius: 5px;
|
|
622
|
+
min-width: 76px;
|
|
623
|
+
margin: 0;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.dx-popup-bottom .dx-toolbar-button + .dx-toolbar-button {
|
|
627
|
+
margin-inline-start: 6px;
|
|
628
|
+
|
|
629
|
+
.dx-button {
|
|
630
|
+
margin: 0;
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
/* DevExtreme aggiunge prima OK e poi Annulla: individuarli per posizione li rende indipendenti dalla lingua */
|
|
635
|
+
.dx-popup-bottom .dx-toolbar-after > .dx-toolbar-button:first-child .dx-button {
|
|
636
|
+
border-color: transparent;
|
|
637
|
+
background-color: #2559A5;
|
|
638
|
+
|
|
639
|
+
.dx-button-text {
|
|
640
|
+
color: #FFFFFF;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
&.dx-state-hover {
|
|
644
|
+
background-color: #1E4A8C;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
&.dx-state-active {
|
|
648
|
+
background-color: #1A3F78;
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
.dx-popup-bottom .dx-toolbar-after > .dx-toolbar-button + .dx-toolbar-button .dx-button {
|
|
653
|
+
border-color: transparent;
|
|
654
|
+
background-color: transparent;
|
|
655
|
+
|
|
656
|
+
.dx-button-text {
|
|
657
|
+
color: #44506B;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
&.dx-state-hover {
|
|
661
|
+
background-color: #F0F3F7;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
&.dx-state-active {
|
|
665
|
+
background-color: #E6EBF2;
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
669
|
`;
|
|
670
670
|
const getRecordCount = (dataSource) => {
|
|
671
671
|
if (Array.isArray(dataSource)) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { IColumnProps } from 'devextreme-react/data-grid';
|
|
2
3
|
import { SearchResultDescriptor } from '@topconsultnpm/sdk-ts';
|
|
3
4
|
export type FormatOption = {
|
|
@@ -11,5 +12,5 @@ interface TMDataGridExportFormProps {
|
|
|
11
12
|
selectedRowKeys: Array<number>;
|
|
12
13
|
onCloseExportForm: () => void;
|
|
13
14
|
}
|
|
14
|
-
declare const TMDataGridExportForm: (props: TMDataGridExportFormProps) =>
|
|
15
|
+
declare const TMDataGridExportForm: (props: TMDataGridExportFormProps) => React.JSX.Element;
|
|
15
16
|
export default TMDataGridExportForm;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { FileItem } from "./TMFileManagerUtils";
|
|
2
3
|
import { TMContextMenuItemProps } from '../NewComponents/ContextMenu/types';
|
|
3
4
|
interface TMFileManagerProps {
|
|
@@ -42,5 +43,5 @@ interface TMFileManagerProps {
|
|
|
42
43
|
/** Optional: Callback to handle back button */
|
|
43
44
|
onMaximizePanel?: () => void;
|
|
44
45
|
}
|
|
45
|
-
declare const TMFileManager: (props: TMFileManagerProps) =>
|
|
46
|
+
declare const TMFileManager: (props: TMFileManagerProps) => React.JSX.Element;
|
|
46
47
|
export default TMFileManager;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { FileItem } from "./TMFileManagerUtils";
|
|
2
3
|
import { UserDescriptor } from "@topconsultnpm/sdk-ts";
|
|
3
4
|
import { TMContextMenuItemProps } from "../NewComponents/ContextMenu/types";
|
|
@@ -13,5 +14,5 @@ interface TMFileManagerDataGridViewProps {
|
|
|
13
14
|
userID?: number;
|
|
14
15
|
onDoubleClickHandler?: (fileItem: FileItem | undefined) => void;
|
|
15
16
|
}
|
|
16
|
-
declare const TMFileManagerDataGridView: (props: TMFileManagerDataGridViewProps) =>
|
|
17
|
+
declare const TMFileManagerDataGridView: (props: TMFileManagerDataGridViewProps) => React.JSX.Element;
|
|
17
18
|
export default TMFileManagerDataGridView;
|
|
@@ -20,5 +20,5 @@ export interface TMFileManagerThumbnailItemsProps {
|
|
|
20
20
|
onDoubleClick?: (file: FileItem) => void;
|
|
21
21
|
userID?: number;
|
|
22
22
|
}
|
|
23
|
-
declare const TMFileManagerThumbnailItems: (props: TMFileManagerThumbnailItemsProps) =>
|
|
23
|
+
declare const TMFileManagerThumbnailItems: (props: TMFileManagerThumbnailItemsProps) => React.JSX.Element;
|
|
24
24
|
export default TMFileManagerThumbnailItems;
|
|
@@ -28,5 +28,5 @@ interface TMFileManagerThumbnailsViewProps {
|
|
|
28
28
|
};
|
|
29
29
|
}>>;
|
|
30
30
|
}
|
|
31
|
-
declare const TMFileManagerThumbnailsView: (props: TMFileManagerThumbnailsViewProps) =>
|
|
31
|
+
declare const TMFileManagerThumbnailsView: (props: TMFileManagerThumbnailsViewProps) => React.JSX.Element;
|
|
32
32
|
export default TMFileManagerThumbnailsView;
|
|
@@ -48,15 +48,13 @@ export declare const colors: {
|
|
|
48
48
|
LIGHT_YELLOW: string;
|
|
49
49
|
MEDIUM_GREEN: string;
|
|
50
50
|
};
|
|
51
|
-
export declare const TMFileItemContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
51
|
+
export declare const TMFileItemContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
52
|
+
style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
53
|
+
}, {
|
|
52
54
|
$backgroundColor?: string;
|
|
53
55
|
$textColor?: string;
|
|
54
56
|
$bgHoverColor?: string;
|
|
55
|
-
}
|
|
56
|
-
$backgroundColor?: string;
|
|
57
|
-
$textColor?: string;
|
|
58
|
-
$bgHoverColor?: string;
|
|
59
|
-
}, never>>> & string;
|
|
57
|
+
}>> & string;
|
|
60
58
|
export declare const getFileItemLinkUrl: (fileItem: FileItem | undefined) => string | undefined;
|
|
61
59
|
export declare const findFileItems: (items: Array<FileItem>, id: number) => FileItem | undefined;
|
|
62
60
|
export declare const setFolderTreeViewItems: (items: Array<FileItem>) => Array<TMFileManagerTreeViewDirectory>;
|
|
@@ -17,7 +17,7 @@ declare const TMCard: ({ borderRadius, onClick, scrollX, scrollY, width, height,
|
|
|
17
17
|
scroll?: boolean;
|
|
18
18
|
backgroundColor?: string;
|
|
19
19
|
color?: string;
|
|
20
|
-
}) =>
|
|
20
|
+
}) => React.JSX.Element;
|
|
21
21
|
declare const TMSplitterLayout: ({ animation, showSeparator, separatorColor, overflow, separatorActiveColor, separatorSize, direction, children, start, min, }: {
|
|
22
22
|
animation?: boolean;
|
|
23
23
|
separatorColor?: string;
|
|
@@ -29,7 +29,7 @@ declare const TMSplitterLayout: ({ animation, showSeparator, separatorColor, ove
|
|
|
29
29
|
children?: React.ReactNode;
|
|
30
30
|
start?: string[];
|
|
31
31
|
min?: string[];
|
|
32
|
-
}) =>
|
|
32
|
+
}) => React.JSX.Element;
|
|
33
33
|
declare const TMLayoutItem: ({ onClick, children, width, minWidth, maxWidth, maxHeight, height, minHeight }: {
|
|
34
34
|
onClick?: () => void;
|
|
35
35
|
children: React.ReactNode;
|
|
@@ -40,7 +40,7 @@ declare const TMLayoutItem: ({ onClick, children, width, minWidth, maxWidth, max
|
|
|
40
40
|
fixed?: boolean;
|
|
41
41
|
height?: string;
|
|
42
42
|
minHeight?: string;
|
|
43
|
-
}) =>
|
|
43
|
+
}) => React.JSX.Element;
|
|
44
44
|
export interface ITMLayoutContainerProps {
|
|
45
45
|
children: React.ReactNode;
|
|
46
46
|
gap?: number;
|
|
@@ -50,6 +50,6 @@ export interface ITMLayoutContainerProps {
|
|
|
50
50
|
onClick?: () => void;
|
|
51
51
|
onContextMenu?: (e: React.MouseEvent) => void;
|
|
52
52
|
}
|
|
53
|
-
declare const TMLayoutContainer: ({ gap, onClick, justifyContent, alignItems, children, direction, onContextMenu }: ITMLayoutContainerProps) =>
|
|
53
|
+
declare const TMLayoutContainer: ({ gap, onClick, justifyContent, alignItems, children, direction, onContextMenu }: ITMLayoutContainerProps) => React.JSX.Element;
|
|
54
54
|
export { TMCard, TMLayoutItem, TMSplitterLayout };
|
|
55
55
|
export default TMLayoutContainer;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
interface ITMListItem {
|
|
2
3
|
icon: any;
|
|
3
4
|
text?: string;
|
|
@@ -5,5 +6,5 @@ interface ITMListItem {
|
|
|
5
6
|
}
|
|
6
7
|
declare const TMList: ({ items }: {
|
|
7
8
|
items: ITMListItem[];
|
|
8
|
-
}) =>
|
|
9
|
+
}) => React.JSX.Element;
|
|
9
10
|
export default TMList;
|
|
@@ -37,6 +37,6 @@ interface ListProps<T> {
|
|
|
37
37
|
onItemDblClick?: (item: T) => void;
|
|
38
38
|
itemTemplate?: (item: T) => JSX.Element;
|
|
39
39
|
}
|
|
40
|
-
declare const TMListView: <T>({ customGroupingHeaders, headerBackGroundColor, header, showId, setShowId, showSearch, setShowSearch, grouping, orderBy, id, onScrollChange, scroll, searchKeys, searchable, itemTemplate, customColor, dataSource, exprKey, onSelectionChanged, onItemClick, onItemDblClick, selectedItem, autoScrollToSelectedItem }: ListProps<T>) =>
|
|
40
|
+
declare const TMListView: <T>({ customGroupingHeaders, headerBackGroundColor, header, showId, setShowId, showSearch, setShowSearch, grouping, orderBy, id, onScrollChange, scroll, searchKeys, searchable, itemTemplate, customColor, dataSource, exprKey, onSelectionChanged, onItemClick, onItemDblClick, selectedItem, autoScrollToSelectedItem }: ListProps<T>) => React.JSX.Element;
|
|
41
41
|
export default TMListView;
|
|
42
42
|
export declare const CustomListViewHeader: React.FC<ITMListViewHeader>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
interface ITMSpinner {
|
|
2
3
|
backgroundColor?: string;
|
|
3
4
|
fontSize?: string;
|
|
@@ -7,8 +8,8 @@ interface ITMSpinner {
|
|
|
7
8
|
onCancel?: () => void;
|
|
8
9
|
cancelText?: string;
|
|
9
10
|
}
|
|
10
|
-
declare const SpinnerGraphic: () =>
|
|
11
|
-
declare const Spinner: ({ backgroundColor, description, fontSize, width, flat, onCancel, cancelText }: ITMSpinner) =>
|
|
11
|
+
declare const SpinnerGraphic: () => React.JSX.Element;
|
|
12
|
+
declare const Spinner: ({ backgroundColor, description, fontSize, width, flat, onCancel, cancelText }: ITMSpinner) => React.JSX.Element;
|
|
12
13
|
declare class TMSpinner {
|
|
13
14
|
static show({ description, backgroundColor, fontSize, flat, onCancel, cancelText }?: ITMSpinner): void;
|
|
14
15
|
static hide(): void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ValidationItem } from '@topconsultnpm/sdk-ts';
|
|
2
3
|
export interface ITMTabProps {
|
|
3
4
|
title: string;
|
|
@@ -7,14 +8,14 @@ export declare const TMTab: ({ label, propsToBeValidated, children }: {
|
|
|
7
8
|
label?: string;
|
|
8
9
|
propsToBeValidated?: string[] | undefined;
|
|
9
10
|
children?: any;
|
|
10
|
-
}) =>
|
|
11
|
+
}) => React.JSX.Element;
|
|
11
12
|
export declare const TMTabItemBadge: ({ vil }: {
|
|
12
13
|
vil: ValidationItem[];
|
|
13
|
-
}) =>
|
|
14
|
+
}) => React.JSX.Element;
|
|
14
15
|
declare const TMTabGroup: ({ children, fontSize, validationItems, onTabIndexChanged }: {
|
|
15
16
|
onTabIndexChanged?: (e: number) => void;
|
|
16
17
|
children: any;
|
|
17
18
|
fontSize?: string;
|
|
18
19
|
validationItems?: ValidationItem[];
|
|
19
|
-
}) =>
|
|
20
|
+
}) => React.JSX.Element;
|
|
20
21
|
export default TMTabGroup;
|