@topconsultnpm/sdkui-react 6.22.0-dev3.9 → 6.22.0-dev4.3
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/base/TMAlert.js +6 -8
- package/lib/components/base/TMAreaManager.js +53 -55
- package/lib/components/base/TMButton.js +4 -2
- package/lib/components/base/TMCustomButton.js +40 -48
- package/lib/components/base/TMDataGrid.js +219 -219
- package/lib/components/base/TMPanel.js +173 -170
- package/lib/components/base/TMSpinner.d.ts +2 -1
- package/lib/components/base/TMSpinner.js +9 -7
- package/lib/components/base/TMTabControl.d.ts +5 -0
- package/lib/components/base/TMTabControl.js +18 -7
- package/lib/components/base/TMTreeView.js +20 -0
- package/lib/components/base/TMWaitPanel.js +1 -1
- package/lib/components/base/waitPanel/TMWaitPanelConfirm.d.ts +12 -0
- package/lib/components/base/waitPanel/TMWaitPanelConfirm.js +185 -0
- package/lib/components/base/waitPanel/TMWaitPanelManager.d.ts +169 -0
- package/lib/components/base/waitPanel/TMWaitPanelManager.js +320 -0
- package/lib/components/base/waitPanel/TMWaitPanelView.d.ts +53 -0
- package/lib/components/base/waitPanel/TMWaitPanelView.js +274 -0
- package/lib/components/base/waitPanel/index.d.ts +1 -0
- package/lib/components/base/waitPanel/index.js +1 -0
- package/lib/components/choosers/TMPathChooser.js +17 -34
- package/lib/components/editors/TMTextBox.d.ts +4 -0
- package/lib/components/editors/TMTextBox.js +99 -11
- package/lib/components/features/archive/TMArchive.js +7 -2
- package/lib/components/features/assistant/TMHelpOnLineChat.d.ts +29 -0
- package/lib/components/features/assistant/TMHelpOnLineChat.js +1384 -0
- package/lib/components/features/assistant/TMToppyDraggableHelpCenter.js +2 -2
- package/lib/components/features/assistant/dataset/Designer-Suggested-Questions.json +102 -0
- package/lib/components/features/assistant/dataset/Login-Suggested-Questions.json +32 -0
- package/lib/components/features/assistant/dataset/Surfer-Suggested-Questions.json +102 -0
- package/lib/components/features/documents/TMBatchUpdateForm.js +3 -4
- package/lib/components/features/documents/TMCopyToFolderForm.js +53 -84
- package/lib/components/features/documents/TMDcmtForm.js +50 -61
- package/lib/components/features/documents/TMDcmtIcon.d.ts +1 -3
- package/lib/components/features/documents/TMDcmtIcon.js +3 -5
- package/lib/components/features/documents/TMDcmtPreview.js +5 -3
- package/lib/components/features/documents/TMDcmtTasks.js +2 -9
- package/lib/components/features/documents/TMFileUploader.js +26 -26
- package/lib/components/features/documents/TMMasterDetailDcmts.d.ts +2 -0
- package/lib/components/features/documents/TMMasterDetailDcmts.js +53 -148
- package/lib/components/features/documents/TMMasterInfoFields.js +3 -2
- package/lib/components/features/documents/TMMergeToPdfForm.js +49 -54
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsForm.js +14 -15
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsUtils.d.ts +1 -1
- package/lib/components/features/documents/TMMultiMasterDetailDcmtsUtils.js +3 -3
- package/lib/components/features/documents/TMRelationViewer.d.ts +13 -14
- package/lib/components/features/documents/TMRelationViewer.js +206 -143
- package/lib/components/features/documents/relationTreeState.d.ts +32 -0
- package/lib/components/features/documents/relationTreeState.js +89 -0
- package/lib/components/features/search/TMSearch.js +3 -4
- package/lib/components/features/search/TMSearchQueryPanel.js +0 -4
- package/lib/components/features/search/TMSearchResult.d.ts +5 -0
- package/lib/components/features/search/TMSearchResult.js +39 -19
- package/lib/components/features/search/TMTreeSelector.js +23 -27
- package/lib/components/features/search/TMViewHistoryDcmt.js +14 -25
- package/lib/components/features/tasks/TMTasksView.js +91 -90
- package/lib/components/features/wg/TMWGsCopyMoveForm.js +91 -91
- package/lib/components/forms/TMResultDialog.js +1 -1
- package/lib/components/grids/TMBlogsPost.js +92 -96
- package/lib/components/index.d.ts +5 -1
- package/lib/components/index.js +4 -1
- package/lib/components/layout/panelManager/TMPanelManagerContainer.js +16 -15
- package/lib/components/layout/panelManager/TMPanelManagerContext.d.ts +1 -0
- package/lib/components/layout/panelManager/TMPanelManagerContext.js +5 -1
- package/lib/components/layout/panelManager/TMPanelManagerLoader.d.ts +6 -0
- package/lib/components/layout/panelManager/TMPanelManagerLoader.js +18 -0
- package/lib/components/layout/panelManager/TMPanelManagerToolbar.js +4 -8
- package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.d.ts +1 -1
- package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.js +2 -1
- package/lib/components/pages/TMPage.js +29 -31
- package/lib/components/query/TMQueryEditor.d.ts +3 -0
- package/lib/components/query/TMQueryEditor.js +2 -1
- package/lib/components/sidebar/TMHeader.d.ts +1 -0
- package/lib/components/sidebar/TMHeader.js +2 -2
- package/lib/helper/Enum_Localizator.js +1 -0
- package/lib/helper/SDKUI_Globals.d.ts +3 -0
- package/lib/helper/SDKUI_Globals.js +3 -0
- package/lib/helper/SDKUI_Localizator.d.ts +21 -0
- package/lib/helper/SDKUI_Localizator.js +210 -0
- package/lib/helper/ZipManager.d.ts +1 -1
- package/lib/helper/ZipManager.js +2 -1
- package/lib/helper/dcmtsHelper.d.ts +2 -0
- package/lib/helper/dcmtsHelper.js +3 -1
- package/lib/hooks/useCheckInOutOperations.d.ts +0 -6
- package/lib/hooks/useCheckInOutOperations.js +14 -34
- package/lib/hooks/useDcmtOperations.d.ts +3 -19
- package/lib/hooks/useDcmtOperations.js +160 -222
- package/lib/hooks/useDocumentOperations.d.ts +1 -0
- package/lib/hooks/useDocumentOperations.js +14 -25
- package/lib/hooks/useMultiMasterDetailDcmts.d.ts +0 -15
- package/lib/hooks/useMultiMasterDetailDcmts.js +65 -67
- package/lib/hooks/usePreventFileDrop.js +9 -0
- package/lib/hooks/useWorkflowApprove.js +33 -17
- package/lib/services/caseflow/CaseFlowService.d.ts +36 -6
- package/lib/services/caseflow/CaseFlowService.js +55 -14
- package/package.json +69 -69
|
@@ -434,229 +434,229 @@ export default TMDataGrid;
|
|
|
434
434
|
// (padding, altezza minima, font e dimensione dei pulsanti di pagina).
|
|
435
435
|
// Con compactPager = false non emette nessuna regola: width/height restano inline come in precedenza,
|
|
436
436
|
// così il rendering è identico a quello del div originale.
|
|
437
|
-
const StyledDataGridContainer = styled.div `
|
|
438
|
-
${({ $compactPager }) => $compactPager && css `
|
|
439
|
-
& .dx-datagrid-pager {
|
|
440
|
-
padding: 2px 4px !important;
|
|
441
|
-
min-height: 0 !important;
|
|
442
|
-
font-size: 11px;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
& .dx-datagrid-pager .dx-page,
|
|
446
|
-
& .dx-datagrid-pager .dx-page-size,
|
|
447
|
-
& .dx-datagrid-pager .dx-selection,
|
|
448
|
-
& .dx-datagrid-pager .dx-navigate-button {
|
|
449
|
-
min-width: 18px !important;
|
|
450
|
-
min-height: 18px !important;
|
|
451
|
-
height: auto !important;
|
|
452
|
-
padding: 1px 5px !important;
|
|
453
|
-
line-height: 16px !important;
|
|
454
|
-
font-size: 11px;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
& .dx-datagrid-pager .dx-pages,
|
|
458
|
-
& .dx-datagrid-pager .dx-page-sizes,
|
|
459
|
-
& .dx-datagrid-pager .dx-info,
|
|
460
|
-
& .dx-datagrid-pager .dx-page-index,
|
|
461
|
-
& .dx-datagrid-pager .dx-pages .dx-info {
|
|
462
|
-
font-size: 11px;
|
|
463
|
-
margin-top: 0 !important;
|
|
464
|
-
margin-bottom: 0 !important;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
& .dx-datagrid-pager .dx-info {
|
|
468
|
-
margin-left: 4px !important;
|
|
469
|
-
margin-right: 4px !important;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
/* Editor del numero di pagina (displayMode compact) */
|
|
473
|
-
& .dx-datagrid-pager .dx-page-index .dx-texteditor-input,
|
|
474
|
-
& .dx-datagrid-pager .dx-page-sizes .dx-texteditor-input {
|
|
475
|
-
min-height: 18px !important;
|
|
476
|
-
height: 18px !important;
|
|
477
|
-
padding: 0 4px !important;
|
|
478
|
-
font-size: 11px;
|
|
479
|
-
}
|
|
480
|
-
`}
|
|
437
|
+
const StyledDataGridContainer = styled.div `
|
|
438
|
+
${({ $compactPager }) => $compactPager && css `
|
|
439
|
+
& .dx-datagrid-pager {
|
|
440
|
+
padding: 2px 4px !important;
|
|
441
|
+
min-height: 0 !important;
|
|
442
|
+
font-size: 11px;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
& .dx-datagrid-pager .dx-page,
|
|
446
|
+
& .dx-datagrid-pager .dx-page-size,
|
|
447
|
+
& .dx-datagrid-pager .dx-selection,
|
|
448
|
+
& .dx-datagrid-pager .dx-navigate-button {
|
|
449
|
+
min-width: 18px !important;
|
|
450
|
+
min-height: 18px !important;
|
|
451
|
+
height: auto !important;
|
|
452
|
+
padding: 1px 5px !important;
|
|
453
|
+
line-height: 16px !important;
|
|
454
|
+
font-size: 11px;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
& .dx-datagrid-pager .dx-pages,
|
|
458
|
+
& .dx-datagrid-pager .dx-page-sizes,
|
|
459
|
+
& .dx-datagrid-pager .dx-info,
|
|
460
|
+
& .dx-datagrid-pager .dx-page-index,
|
|
461
|
+
& .dx-datagrid-pager .dx-pages .dx-info {
|
|
462
|
+
font-size: 11px;
|
|
463
|
+
margin-top: 0 !important;
|
|
464
|
+
margin-bottom: 0 !important;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
& .dx-datagrid-pager .dx-info {
|
|
468
|
+
margin-left: 4px !important;
|
|
469
|
+
margin-right: 4px !important;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
/* Editor del numero di pagina (displayMode compact) */
|
|
473
|
+
& .dx-datagrid-pager .dx-page-index .dx-texteditor-input,
|
|
474
|
+
& .dx-datagrid-pager .dx-page-sizes .dx-texteditor-input {
|
|
475
|
+
min-height: 18px !important;
|
|
476
|
+
height: 18px !important;
|
|
477
|
+
padding: 0 4px !important;
|
|
478
|
+
font-size: 11px;
|
|
479
|
+
}
|
|
480
|
+
`}
|
|
481
481
|
`;
|
|
482
482
|
// Stile del pannello del filtro d'intestazione (ricerca, elenco valori, OK/Annulla).
|
|
483
483
|
// Il popup è in portale sul body, fuori da StyledDataGridContainer: le regole sono globali
|
|
484
484
|
// ma tutte sotto .dx-header-filter-menu, classe che DevExtreme applica solo a questo popup.
|
|
485
|
-
const HeaderFilterMenuGlobalStyle = createGlobalStyle `
|
|
486
|
-
.dx-header-filter-menu {
|
|
487
|
-
|
|
488
|
-
&.dx-popup-wrapper > .dx-overlay-content.dx-popup-normal {
|
|
489
|
-
border: 1px solid #E4E8EE;
|
|
490
|
-
border-radius: 8px;
|
|
491
|
-
box-shadow: 0 2px 6px rgba(18, 44, 76, .08), 0 12px 28px rgba(18, 44, 76, .14);
|
|
492
|
-
overflow: hidden;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
&.dx-popup-wrapper .dx-popup-content {
|
|
496
|
-
padding: 10px 10px 4px;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
/* Campo di ricerca: TextBox mode "search" resa da List o da TreeView (filtri gerarchici) */
|
|
500
|
-
.dx-searchbox.dx-list-search,
|
|
501
|
-
.dx-searchbox.dx-treeview-search {
|
|
502
|
-
margin-bottom: 8px;
|
|
503
|
-
border-radius: 6px;
|
|
504
|
-
border: 1px solid #CDD2D8;
|
|
505
|
-
background-color: #F4F6F9;
|
|
506
|
-
box-shadow: none;
|
|
507
|
-
transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
|
|
508
|
-
|
|
509
|
-
/* fluent disegna qui la barretta di focus, sostituita da bordo + alone */
|
|
510
|
-
&::before,
|
|
511
|
-
&::after {
|
|
512
|
-
display: none;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
&.dx-state-hover:not(.dx-state-focused) {
|
|
516
|
-
border-color: #AEB6C1;
|
|
517
|
-
background-color: #EEF2F7;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
&.dx-state-focused {
|
|
521
|
-
border-color: #2559A5;
|
|
522
|
-
background-color: #FFFFFF;
|
|
523
|
-
box-shadow: 0 0 0 2px rgba(37, 89, 165, .16);
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
.dx-icon-search {
|
|
527
|
-
width: 28px;
|
|
528
|
-
color: #8A929B;
|
|
529
|
-
transition: color .15s ease;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
&.dx-state-focused .dx-icon-search {
|
|
533
|
-
color: #2559A5;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
.dx-texteditor-input {
|
|
537
|
-
min-height: 28px;
|
|
538
|
-
padding-inline-start: 28px;
|
|
539
|
-
padding-inline-end: 8px;
|
|
540
|
-
font-size: 12px;
|
|
541
|
-
background-color: transparent;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
.dx-placeholder {
|
|
545
|
-
color: #9AA3AD;
|
|
546
|
-
font-size: 12px;
|
|
547
|
-
|
|
548
|
-
&::before {
|
|
549
|
-
padding-inline-start: 28px;
|
|
550
|
-
padding-inline-end: 8px;
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
.dx-clear-button-area .dx-icon-clear {
|
|
555
|
-
color: #8A929B;
|
|
556
|
-
transition: color .15s ease;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
.dx-clear-button-area:hover .dx-icon-clear {
|
|
560
|
-
color: #2559A5;
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
.dx-list-item {
|
|
565
|
-
border-radius: 4px;
|
|
566
|
-
transition: background-color .12s ease;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
.dx-list-item-content {
|
|
570
|
-
padding: 4px 6px;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
.dx-list-item.dx-state-hover,
|
|
574
|
-
.dx-list-item.dx-state-focused {
|
|
575
|
-
background-color: #F1F6FD;
|
|
576
|
-
color: #122C4C;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
.dx-list-select-all {
|
|
580
|
-
padding: 2px 0 6px;
|
|
581
|
-
margin-bottom: 4px;
|
|
582
|
-
border-bottom: 1px solid #ECEFF3;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
.dx-list-select-all-label {
|
|
586
|
-
font-weight: 600;
|
|
587
|
-
color: #122C4C;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
.dx-checkbox-checked .dx-checkbox-icon,
|
|
591
|
-
.dx-checkbox-indeterminate .dx-checkbox-icon {
|
|
592
|
-
border-color: #2559A5;
|
|
593
|
-
background-color: #2559A5;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
.dx-checkbox.dx-state-hover:not(.dx-checkbox-checked) .dx-checkbox-icon {
|
|
597
|
-
border-color: #2559A5;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
/* il :not() lascia intatto il fade-out nativo della scrollbar */
|
|
601
|
-
.dx-scrollable-scroll:not(.dx-state-invisible) .dx-scrollable-scroll-content {
|
|
602
|
-
background-color: rgba(18, 44, 76, .28);
|
|
603
|
-
border-radius: 3px;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
&.dx-popup-wrapper .dx-popup-bottom.dx-toolbar {
|
|
607
|
-
padding: 8px 10px 10px;
|
|
608
|
-
border-top: 1px solid #ECEFF3;
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
.dx-popup-bottom .dx-button {
|
|
612
|
-
border-radius: 5px;
|
|
613
|
-
min-width: 76px;
|
|
614
|
-
margin: 0;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.dx-popup-bottom .dx-toolbar-button + .dx-toolbar-button {
|
|
618
|
-
margin-inline-start: 6px;
|
|
619
|
-
|
|
620
|
-
.dx-button {
|
|
621
|
-
margin: 0;
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
/* DevExtreme aggiunge prima OK e poi Annulla: individuarli per posizione li rende indipendenti dalla lingua */
|
|
626
|
-
.dx-popup-bottom .dx-toolbar-after > .dx-toolbar-button:first-child .dx-button {
|
|
627
|
-
border-color: transparent;
|
|
628
|
-
background-color: #2559A5;
|
|
629
|
-
|
|
630
|
-
.dx-button-text {
|
|
631
|
-
color: #FFFFFF;
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
&.dx-state-hover {
|
|
635
|
-
background-color: #1E4A8C;
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
&.dx-state-active {
|
|
639
|
-
background-color: #1A3F78;
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
.dx-popup-bottom .dx-toolbar-after > .dx-toolbar-button + .dx-toolbar-button .dx-button {
|
|
644
|
-
border-color: transparent;
|
|
645
|
-
background-color: transparent;
|
|
646
|
-
|
|
647
|
-
.dx-button-text {
|
|
648
|
-
color: #44506B;
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
&.dx-state-hover {
|
|
652
|
-
background-color: #F0F3F7;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
&.dx-state-active {
|
|
656
|
-
background-color: #E6EBF2;
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
}
|
|
485
|
+
const HeaderFilterMenuGlobalStyle = createGlobalStyle `
|
|
486
|
+
.dx-header-filter-menu {
|
|
487
|
+
|
|
488
|
+
&.dx-popup-wrapper > .dx-overlay-content.dx-popup-normal {
|
|
489
|
+
border: 1px solid #E4E8EE;
|
|
490
|
+
border-radius: 8px;
|
|
491
|
+
box-shadow: 0 2px 6px rgba(18, 44, 76, .08), 0 12px 28px rgba(18, 44, 76, .14);
|
|
492
|
+
overflow: hidden;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
&.dx-popup-wrapper .dx-popup-content {
|
|
496
|
+
padding: 10px 10px 4px;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/* Campo di ricerca: TextBox mode "search" resa da List o da TreeView (filtri gerarchici) */
|
|
500
|
+
.dx-searchbox.dx-list-search,
|
|
501
|
+
.dx-searchbox.dx-treeview-search {
|
|
502
|
+
margin-bottom: 8px;
|
|
503
|
+
border-radius: 6px;
|
|
504
|
+
border: 1px solid #CDD2D8;
|
|
505
|
+
background-color: #F4F6F9;
|
|
506
|
+
box-shadow: none;
|
|
507
|
+
transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
|
|
508
|
+
|
|
509
|
+
/* fluent disegna qui la barretta di focus, sostituita da bordo + alone */
|
|
510
|
+
&::before,
|
|
511
|
+
&::after {
|
|
512
|
+
display: none;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
&.dx-state-hover:not(.dx-state-focused) {
|
|
516
|
+
border-color: #AEB6C1;
|
|
517
|
+
background-color: #EEF2F7;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
&.dx-state-focused {
|
|
521
|
+
border-color: #2559A5;
|
|
522
|
+
background-color: #FFFFFF;
|
|
523
|
+
box-shadow: 0 0 0 2px rgba(37, 89, 165, .16);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.dx-icon-search {
|
|
527
|
+
width: 28px;
|
|
528
|
+
color: #8A929B;
|
|
529
|
+
transition: color .15s ease;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
&.dx-state-focused .dx-icon-search {
|
|
533
|
+
color: #2559A5;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.dx-texteditor-input {
|
|
537
|
+
min-height: 28px;
|
|
538
|
+
padding-inline-start: 28px;
|
|
539
|
+
padding-inline-end: 8px;
|
|
540
|
+
font-size: 12px;
|
|
541
|
+
background-color: transparent;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.dx-placeholder {
|
|
545
|
+
color: #9AA3AD;
|
|
546
|
+
font-size: 12px;
|
|
547
|
+
|
|
548
|
+
&::before {
|
|
549
|
+
padding-inline-start: 28px;
|
|
550
|
+
padding-inline-end: 8px;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.dx-clear-button-area .dx-icon-clear {
|
|
555
|
+
color: #8A929B;
|
|
556
|
+
transition: color .15s ease;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.dx-clear-button-area:hover .dx-icon-clear {
|
|
560
|
+
color: #2559A5;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.dx-list-item {
|
|
565
|
+
border-radius: 4px;
|
|
566
|
+
transition: background-color .12s ease;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.dx-list-item-content {
|
|
570
|
+
padding: 4px 6px;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.dx-list-item.dx-state-hover,
|
|
574
|
+
.dx-list-item.dx-state-focused {
|
|
575
|
+
background-color: #F1F6FD;
|
|
576
|
+
color: #122C4C;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.dx-list-select-all {
|
|
580
|
+
padding: 2px 0 6px;
|
|
581
|
+
margin-bottom: 4px;
|
|
582
|
+
border-bottom: 1px solid #ECEFF3;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.dx-list-select-all-label {
|
|
586
|
+
font-weight: 600;
|
|
587
|
+
color: #122C4C;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.dx-checkbox-checked .dx-checkbox-icon,
|
|
591
|
+
.dx-checkbox-indeterminate .dx-checkbox-icon {
|
|
592
|
+
border-color: #2559A5;
|
|
593
|
+
background-color: #2559A5;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.dx-checkbox.dx-state-hover:not(.dx-checkbox-checked) .dx-checkbox-icon {
|
|
597
|
+
border-color: #2559A5;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
/* il :not() lascia intatto il fade-out nativo della scrollbar */
|
|
601
|
+
.dx-scrollable-scroll:not(.dx-state-invisible) .dx-scrollable-scroll-content {
|
|
602
|
+
background-color: rgba(18, 44, 76, .28);
|
|
603
|
+
border-radius: 3px;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
&.dx-popup-wrapper .dx-popup-bottom.dx-toolbar {
|
|
607
|
+
padding: 8px 10px 10px;
|
|
608
|
+
border-top: 1px solid #ECEFF3;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.dx-popup-bottom .dx-button {
|
|
612
|
+
border-radius: 5px;
|
|
613
|
+
min-width: 76px;
|
|
614
|
+
margin: 0;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.dx-popup-bottom .dx-toolbar-button + .dx-toolbar-button {
|
|
618
|
+
margin-inline-start: 6px;
|
|
619
|
+
|
|
620
|
+
.dx-button {
|
|
621
|
+
margin: 0;
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/* DevExtreme aggiunge prima OK e poi Annulla: individuarli per posizione li rende indipendenti dalla lingua */
|
|
626
|
+
.dx-popup-bottom .dx-toolbar-after > .dx-toolbar-button:first-child .dx-button {
|
|
627
|
+
border-color: transparent;
|
|
628
|
+
background-color: #2559A5;
|
|
629
|
+
|
|
630
|
+
.dx-button-text {
|
|
631
|
+
color: #FFFFFF;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
&.dx-state-hover {
|
|
635
|
+
background-color: #1E4A8C;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
&.dx-state-active {
|
|
639
|
+
background-color: #1A3F78;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.dx-popup-bottom .dx-toolbar-after > .dx-toolbar-button + .dx-toolbar-button .dx-button {
|
|
644
|
+
border-color: transparent;
|
|
645
|
+
background-color: transparent;
|
|
646
|
+
|
|
647
|
+
.dx-button-text {
|
|
648
|
+
color: #44506B;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
&.dx-state-hover {
|
|
652
|
+
background-color: #F0F3F7;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
&.dx-state-active {
|
|
656
|
+
background-color: #E6EBF2;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
660
|
`;
|
|
661
661
|
const getRecordCount = (dataSource) => {
|
|
662
662
|
if (Array.isArray(dataSource)) {
|