@topconsultnpm/sdkui-react 6.19.0-dev2.1 → 6.19.0-test.1

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.
Files changed (122) hide show
  1. package/lib/assets/IconsS4t/add.svg +12 -12
  2. package/lib/assets/IconsS4t/aggiorna.svg +18 -18
  3. package/lib/assets/IconsS4t/bookmark.svg +42 -42
  4. package/lib/assets/IconsS4t/cancella.svg +15 -15
  5. package/lib/assets/IconsS4t/check-box.svg +19 -19
  6. package/lib/assets/IconsS4t/down-arrow-signBook.svg +40 -40
  7. package/lib/assets/IconsS4t/down.svg +28 -28
  8. package/lib/assets/IconsS4t/edit-file.svg +19 -19
  9. package/lib/assets/IconsS4t/edita.svg +32 -32
  10. package/lib/assets/IconsS4t/firma.svg +19 -19
  11. package/lib/assets/IconsS4t/icona_download.svg +16 -16
  12. package/lib/assets/IconsS4t/info.svg +51 -51
  13. package/lib/assets/IconsS4t/left.svg +20 -20
  14. package/lib/assets/IconsS4t/line.svg +40 -40
  15. package/lib/assets/IconsS4t/more.svg +19 -19
  16. package/lib/assets/IconsS4t/plus.svg +23 -23
  17. package/lib/assets/IconsS4t/printer.svg +49 -49
  18. package/lib/assets/IconsS4t/radio-on-button.svg +25 -25
  19. package/lib/assets/IconsS4t/rectangle.svg +41 -41
  20. package/lib/assets/IconsS4t/redo.svg +19 -19
  21. package/lib/assets/IconsS4t/right-arrow-signBook-finish.svg +40 -40
  22. package/lib/assets/IconsS4t/right-arrow-signBook.svg +40 -40
  23. package/lib/assets/IconsS4t/right.svg +22 -22
  24. package/lib/assets/IconsS4t/searchbar.svg +21 -21
  25. package/lib/assets/IconsS4t/text-box.svg +36 -36
  26. package/lib/assets/IconsS4t/tick.svg +8 -8
  27. package/lib/assets/IconsS4t/trash-white.svg +10 -10
  28. package/lib/assets/IconsS4t/undo.svg +19 -19
  29. package/lib/assets/IconsS4t/up.svg +32 -32
  30. package/lib/assets/IconsS4t/video-streaming.svg +2 -2
  31. package/lib/assets/IconsS4t/zoom-in.svg +58 -58
  32. package/lib/assets/IconsS4t/zoom-out.svg +56 -56
  33. package/lib/assets/icomoon.svg +96 -96
  34. package/lib/assets/italy.svg +16 -16
  35. package/lib/assets/six.svg +3 -3
  36. package/lib/assets/thumbnails/index.ts +39 -39
  37. package/lib/assets/topmedia-six.svg +65 -65
  38. package/lib/assets/topmeida-six-bianco.svg +65 -65
  39. package/lib/components/base/Styled.js +302 -302
  40. package/lib/components/base/TMAccordion.js +43 -43
  41. package/lib/components/base/TMAreaManager.js +23 -23
  42. package/lib/components/base/TMButton.js +130 -130
  43. package/lib/components/base/TMClosableList.js +46 -46
  44. package/lib/components/base/TMConfirm.js +20 -20
  45. package/lib/components/base/TMContextMenu.js +4 -4
  46. package/lib/components/base/TMContextMenuOLD.js +25 -25
  47. package/lib/components/base/TMCounterBar.js +32 -32
  48. package/lib/components/base/TMCounterContainer.js +30 -30
  49. package/lib/components/base/TMCustomButton.js +7 -7
  50. package/lib/components/base/TMDropDownMenu.js +24 -24
  51. package/lib/components/base/TMFileManagerUtils.js +19 -19
  52. package/lib/components/base/TMFloatingToolbar.js +34 -34
  53. package/lib/components/base/TMLayout.js +44 -44
  54. package/lib/components/base/TMList.js +34 -34
  55. package/lib/components/base/TMModal.js +31 -31
  56. package/lib/components/base/TMPanel.js +57 -57
  57. package/lib/components/base/TMPopUp.js +114 -114
  58. package/lib/components/base/TMProgressBar.js +20 -20
  59. package/lib/components/base/TMResizableMenu.js +28 -28
  60. package/lib/components/base/TMRightSidebar.js +40 -40
  61. package/lib/components/base/TMSpinner.js +121 -121
  62. package/lib/components/base/TMTab.js +11 -11
  63. package/lib/components/base/TMToggleButton.js +36 -36
  64. package/lib/components/base/TMToolbarCard.js +35 -35
  65. package/lib/components/base/TMTreeView.js +16 -16
  66. package/lib/components/base/TMUserAvatar.js +7 -7
  67. package/lib/components/base/TMWaitPanel.js +22 -22
  68. package/lib/components/choosers/TMCultureIDPicker.js +35 -35
  69. package/lib/components/choosers/TMDataListItemPicker.js +54 -54
  70. package/lib/components/editors/TMCheckBox.js +24 -24
  71. package/lib/components/editors/TMDropDown.js +43 -43
  72. package/lib/components/editors/TMEditorStyled.js +71 -71
  73. package/lib/components/editors/TMHtmlContentDisplay.js +16 -16
  74. package/lib/components/editors/TMLocalizedTextBox.js +31 -31
  75. package/lib/components/editors/TMMetadataValues.js +17 -17
  76. package/lib/components/editors/TMRadioButton.js +39 -39
  77. package/lib/components/editors/TMSummary.js +39 -39
  78. package/lib/components/editors/TMTextArea.js +12 -12
  79. package/lib/components/editors/TMTextBox.js +19 -19
  80. package/lib/components/features/assistant/ToppyHelpCenter.js +114 -114
  81. package/lib/components/features/blog/TMBlogCommentForm.js +3 -3
  82. package/lib/components/features/documents/TMDcmtIcon.js +8 -8
  83. package/lib/components/features/documents/TMDcmtPreview.js +30 -30
  84. package/lib/components/features/documents/TMFileUploader.js +21 -21
  85. package/lib/components/features/search/TMSavedQuerySelector.js +51 -51
  86. package/lib/components/features/search/TMSearchQueryEditor.js +13 -13
  87. package/lib/components/features/search/TMSearchQueryPanel.js +30 -30
  88. package/lib/components/features/search/TMSearchResult.js +3 -3
  89. package/lib/components/features/search/TMTreeSelector.js +66 -66
  90. package/lib/components/features/tasks/TMTaskForm.js +31 -31
  91. package/lib/components/features/wg/TMWGsCopyMoveForm.js +9 -9
  92. package/lib/components/features/workflow/TMWorkflowPopup.js +41 -41
  93. package/lib/components/features/workflow/diagram/ConnectionComponent.js +29 -29
  94. package/lib/components/features/workflow/diagram/ConnectionForm.js +10 -10
  95. package/lib/components/features/workflow/diagram/DiagramItemComponent.js +57 -57
  96. package/lib/components/features/workflow/diagram/DiagramItemForm.js +29 -29
  97. package/lib/components/features/workflow/diagram/DiagramItemSvgContent.js +12 -12
  98. package/lib/components/features/workflow/diagram/RecipientList.js +38 -38
  99. package/lib/components/features/workflow/diagram/WFDiagram.js +278 -278
  100. package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.js +4 -4
  101. package/lib/components/forms/Login/Chooser.js +35 -35
  102. package/lib/components/forms/Login/Menu.js +22 -22
  103. package/lib/components/forms/Login/SelectBox.js +46 -46
  104. package/lib/components/forms/Login/TMLoginForm.js +14 -14
  105. package/lib/components/forms/Login/TextBox.js +57 -57
  106. package/lib/components/grids/TMBlogsPostUtils.js +5 -5
  107. package/lib/components/grids/TMRecentsManager.js +50 -50
  108. package/lib/components/grids/TMValidationItemsList.js +48 -48
  109. package/lib/components/layout/panelManager/TMPanelManagerContainer.js +12 -12
  110. package/lib/components/layout/panelManager/TMPanelManagerToolbar.js +34 -34
  111. package/lib/components/query/TMQueryEditor.js +17 -17
  112. package/lib/components/query/TMQuerySummary.js +12 -12
  113. package/lib/components/sidebar/TMCommandsPanel.js +10 -10
  114. package/lib/components/sidebar/TMHeader.js +307 -307
  115. package/lib/components/sidebar/TMSidebar.js +24 -24
  116. package/lib/components/sidebar/TMSidebarItem.js +21 -21
  117. package/lib/components/wizard/TMStepIndicator.js +102 -102
  118. package/lib/components/wizard/TMWizard.js +29 -29
  119. package/lib/helper/TMIcons.js +1 -1
  120. package/lib/helper/TMToppyMessage.js +30 -30
  121. package/lib/helper/TMUtils.js +37 -37
  122. package/package.json +54 -54
@@ -1,29 +1,29 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useEffect, useRef } from "react";
3
3
  import styled, { keyframes } from "styled-components";
4
- const fadeIn = keyframes `
5
- from {
6
- opacity: 0;
7
- transform: scale(0.9);
8
- }
9
- to {
10
- opacity: 1;
11
- transform: scale(1);
12
- }
4
+ const fadeIn = keyframes `
5
+ from {
6
+ opacity: 0;
7
+ transform: scale(0.9);
8
+ }
9
+ to {
10
+ opacity: 1;
11
+ transform: scale(1);
12
+ }
13
13
  `;
14
- const MenuContainer = styled.div `
15
- position: absolute;
16
- top: ${(props) => (typeof props.$y === "number" ? `${props.$y}px` : props.$y)};
17
- left: ${(props) => (typeof props.$x === "number" ? `${props.$x}px` : props.$x)};
18
- background: #2559A5 0% 0% no-repeat padding-box;
19
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
20
- border-radius: 8px;
21
- padding: 10px;
22
- opacity: ${(props) => (props.$visible ? 1 : 0)};
23
- transform-origin: top left;
24
- animation: ${(props) => (props.$visible ? fadeIn : "none")} 0.3s ease-out;
25
- transition: opacity 0.2s ease-out;
26
- z-index:1000;
14
+ const MenuContainer = styled.div `
15
+ position: absolute;
16
+ top: ${(props) => (typeof props.$y === "number" ? `${props.$y}px` : props.$y)};
17
+ left: ${(props) => (typeof props.$x === "number" ? `${props.$x}px` : props.$x)};
18
+ background: #2559A5 0% 0% no-repeat padding-box;
19
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
20
+ border-radius: 8px;
21
+ padding: 10px;
22
+ opacity: ${(props) => (props.$visible ? 1 : 0)};
23
+ transform-origin: top left;
24
+ animation: ${(props) => (props.$visible ? fadeIn : "none")} 0.3s ease-out;
25
+ transition: opacity 0.2s ease-out;
26
+ z-index:1000;
27
27
  `;
28
28
  const Menu = ({ visible = false, children, x, y, onClose }) => {
29
29
  const menuRef = useRef(null);
@@ -4,58 +4,58 @@ import styled from "styled-components";
4
4
  import { ResultTypes } from '@topconsultnpm/sdk-ts';
5
5
  import { TMColors } from "../../../utils/theme";
6
6
  import { SDKUI_Globals } from "../../../helper";
7
- const Container = styled.div `
8
- display: flex;
9
- flex-direction: column;
10
- gap: 2px;
11
- width: 100%;
12
- position: relative;
7
+ const Container = styled.div `
8
+ display: flex;
9
+ flex-direction: column;
10
+ gap: 2px;
11
+ width: 100%;
12
+ position: relative;
13
13
  `;
14
- const Label = styled.label `
15
- font-size: 12px;
16
- font-weight: 500;
17
- color: #313131;
14
+ const Label = styled.label `
15
+ font-size: 12px;
16
+ font-weight: 500;
17
+ color: #313131;
18
18
  `;
19
- const SelectContainer = styled.div `
20
- display: flex;
21
- align-items: center;
22
- gap: 8px;
23
- border: 1px solid #99999A;
24
- border-radius: 5px;
25
- background: ${(props) => (props.$disabled ? "#f0f0f0" : "white")};
26
- opacity: ${(props) => (props.$disabled ? 0.6 : 1)};
27
- cursor: ${(props) => (props.$disabled ? "not-allowed" : "pointer")};
28
- position: relative;
29
- border-bottom: ${(props) => (props.$focused ? "2px" : props.$borderThickness)} solid ${(props) => props.$borderColor};
19
+ const SelectContainer = styled.div `
20
+ display: flex;
21
+ align-items: center;
22
+ gap: 8px;
23
+ border: 1px solid #99999A;
24
+ border-radius: 5px;
25
+ background: ${(props) => (props.$disabled ? "#f0f0f0" : "white")};
26
+ opacity: ${(props) => (props.$disabled ? 0.6 : 1)};
27
+ cursor: ${(props) => (props.$disabled ? "not-allowed" : "pointer")};
28
+ position: relative;
29
+ border-bottom: ${(props) => (props.$focused ? "2px" : props.$borderThickness)} solid ${(props) => props.$borderColor};
30
30
  `;
31
- const Select = styled.select `
32
- flex: 1;
33
- border: none;
34
- outline: none;
35
- font-size: ${SDKUI_Globals.userSettings?.themeSettings.fontSize ?? '12px'};
36
- padding: 6px 0;
37
- background: transparent;
38
- color: ${props => props.$color ?? '#313131'};
39
- ${(props) => props.$readOnly && "pointer-events: none; background: #f8f8f8;"}
40
- cursor: ${props => props.$cursor};
31
+ const Select = styled.select `
32
+ flex: 1;
33
+ border: none;
34
+ outline: none;
35
+ font-size: ${SDKUI_Globals.userSettings?.themeSettings.fontSize ?? '12px'};
36
+ padding: 6px 0;
37
+ background: transparent;
38
+ color: ${props => props.$color ?? '#313131'};
39
+ ${(props) => props.$readOnly && "pointer-events: none; background: #f8f8f8;"}
40
+ cursor: ${props => props.$cursor};
41
41
  `;
42
- const IconWrapper = styled.div `
43
- color: ${(props) => props.$color};
44
- display: flex;
45
- align-items: center;
46
- position: absolute;
47
- left: -30px;
48
- cursor: default;
42
+ const IconWrapper = styled.div `
43
+ color: ${(props) => props.$color};
44
+ display: flex;
45
+ align-items: center;
46
+ position: absolute;
47
+ left: -30px;
48
+ cursor: default;
49
49
  `;
50
- const ValidationMessageContainer = styled.div `
51
- display: flex;
52
- flex-direction: column;
53
- gap: 2px;
54
- margin-top: 2px;
50
+ const ValidationMessageContainer = styled.div `
51
+ display: flex;
52
+ flex-direction: column;
53
+ gap: 2px;
54
+ margin-top: 2px;
55
55
  `;
56
- const ValidationMessage = styled.span `
57
- font-size: 12px;
58
- color: ${(props) => props.$color};
56
+ const ValidationMessage = styled.span `
57
+ font-size: 12px;
58
+ color: ${(props) => props.$color};
59
59
  `;
60
60
  const SelectBox = ({ cursor = 'pointer', onClick, value, onValueChanged, label, icon, additionalIcons = [], options, placeHolder, validationItems = [], disabled, readOnly }) => {
61
61
  const [isFocused, setIsFocused] = useState(false);
@@ -708,21 +708,21 @@ const StyledForgetPassword = styled.div ` position: absolute; bottom: ${props =>
708
708
  const StyledBackButton = styled.div ` position: absolute; top: 20px; left: 20px; `;
709
709
  const StyledLanguageChooser = styled.button ` border: none; border-radius: 50px; background-color: transparent; cursor: pointer; `;
710
710
  const StyledLangChooser = styled.img ` cursor: pointer; border: 3px solid white; border-radius: 50px; `;
711
- const StyledSummaryContainer = styled.div `
712
- display: flex;
713
- align-items: center;
714
- gap: 10px;
711
+ const StyledSummaryContainer = styled.div `
712
+ display: flex;
713
+ align-items: center;
714
+ gap: 10px;
715
715
  `;
716
- const StyledCredentialContainer = styled.div `
717
- width: 100%;
718
- display: flex;
719
- flex-direction: ${props => getFlexDirection(props.$isMobile, props.$authMode)};
720
- gap: 10px;
721
-
722
- & > * {
723
- flex: ${props => props.$authMode === AuthenticationModes.TopMediaOnBehalfOf && !props.$isMobile ? '1' : 'unset'};
724
- min-width: 0;
725
- }
716
+ const StyledCredentialContainer = styled.div `
717
+ width: 100%;
718
+ display: flex;
719
+ flex-direction: ${props => getFlexDirection(props.$isMobile, props.$authMode)};
720
+ gap: 10px;
721
+
722
+ & > * {
723
+ flex: ${props => props.$authMode === AuthenticationModes.TopMediaOnBehalfOf && !props.$isMobile ? '1' : 'unset'};
724
+ min-width: 0;
725
+ }
726
726
  `;
727
727
  const StyledCredentialWrapper = styled.div ` width: 100%; display: flex; flex-direction: column; gap: 10px; `;
728
728
  const StyledToolbarContainer = styled.div ` display: flex; gap: 10px; align-items: center; position: absolute; top: 20px; right: 20px; `;
@@ -5,71 +5,71 @@ import { ResultTypes } from '@topconsultnpm/sdk-ts';
5
5
  import { IconShow, IconHide, SDKUI_Globals } from "../../../helper";
6
6
  import { TMColors } from "../../../utils/theme";
7
7
  import TMTooltip from "../../base/TMTooltip";
8
- const Container = styled.div `
9
- display: flex;
10
- flex-direction: column;
11
- width: 100%;
12
- position: relative;
13
- gap: 2px;
8
+ const Container = styled.div `
9
+ display: flex;
10
+ flex-direction: column;
11
+ width: 100%;
12
+ position: relative;
13
+ gap: 2px;
14
14
  `;
15
- const Label = styled.label `
16
- font-size: 12px;
17
- font-weight: 500;
18
- color: #313131;
15
+ const Label = styled.label `
16
+ font-size: 12px;
17
+ font-weight: 500;
18
+ color: #313131;
19
19
  `;
20
- const InputContainer = styled.div `
21
- display: flex;
22
- align-items: center;
23
- gap: 8px;
24
- border: 1px solid #99999A;
25
- border-radius: 5px;
26
- background: ${(props) => (props.$disabled ? "#f0f0f0" : "white")};
27
- opacity: ${(props) => (props.$disabled ? 0.6 : 1)};
28
- cursor: ${(props) => (props.$disabled ? "not-allowed" : "text")};
29
- position: relative;
30
- border-bottom: ${(props) => (props.$focused ? "2px" : props.$borderThickness)} solid ${(props) => props.$borderColor};
20
+ const InputContainer = styled.div `
21
+ display: flex;
22
+ align-items: center;
23
+ gap: 8px;
24
+ border: 1px solid #99999A;
25
+ border-radius: 5px;
26
+ background: ${(props) => (props.$disabled ? "#f0f0f0" : "white")};
27
+ opacity: ${(props) => (props.$disabled ? 0.6 : 1)};
28
+ cursor: ${(props) => (props.$disabled ? "not-allowed" : "text")};
29
+ position: relative;
30
+ border-bottom: ${(props) => (props.$focused ? "2px" : props.$borderThickness)} solid ${(props) => props.$borderColor};
31
31
  `;
32
- const Input = styled.input `
33
- flex: 1;
34
- border: none;
35
- outline: none;
36
- font-size: ${SDKUI_Globals.userSettings?.themeSettings.fontSize ?? '12px'};
37
- padding: 6px 30px 6px 10px;
38
- background: transparent;
39
- color: ${props => props.$color ?? '#313131'};
40
- ${(props) => props.$readOnly && "pointer-events: none; background: #f8f8f8;"}
41
- cursor: ${props => props.$cursor};
32
+ const Input = styled.input `
33
+ flex: 1;
34
+ border: none;
35
+ outline: none;
36
+ font-size: ${SDKUI_Globals.userSettings?.themeSettings.fontSize ?? '12px'};
37
+ padding: 6px 30px 6px 10px;
38
+ background: transparent;
39
+ color: ${props => props.$color ?? '#313131'};
40
+ ${(props) => props.$readOnly && "pointer-events: none; background: #f8f8f8;"}
41
+ cursor: ${props => props.$cursor};
42
42
  `;
43
- const ValidationMessageContainer = styled.div `
44
- display: flex;
45
- flex-direction: column;
46
- gap: 2px;
47
- margin-top: 2px;
43
+ const ValidationMessageContainer = styled.div `
44
+ display: flex;
45
+ flex-direction: column;
46
+ gap: 2px;
47
+ margin-top: 2px;
48
48
  `;
49
- const ValidationMessage = styled.span `
50
- font-size: 12px;
51
- color: ${(props) => props.$color};
49
+ const ValidationMessage = styled.span `
50
+ font-size: 12px;
51
+ color: ${(props) => props.$color};
52
52
  `;
53
- const IconWrapper = styled.div `
54
- color: ${(props) => props.$color};
55
- display: flex;
56
- align-items: center;
57
- position: absolute;
58
- left: -30px;
59
- cursor: default;
53
+ const IconWrapper = styled.div `
54
+ color: ${(props) => props.$color};
55
+ display: flex;
56
+ align-items: center;
57
+ position: absolute;
58
+ left: -30px;
59
+ cursor: default;
60
60
  `;
61
- const IconsRow = styled.div `
62
- display: flex;
63
- align-items: center;
64
- gap: 5px;
65
- position: absolute;
66
- right: 10px;
61
+ const IconsRow = styled.div `
62
+ display: flex;
63
+ align-items: center;
64
+ gap: 5px;
65
+ position: absolute;
66
+ right: 10px;
67
67
  `;
68
- const IconButton = styled.div `
69
- color: ${(props) => props.$color};
70
- display: flex;
71
- align-items: center;
72
- cursor: ${props => !props.$disabled ? 'pointer' : 'default'};
68
+ const IconButton = styled.div `
69
+ color: ${(props) => props.$color};
70
+ display: flex;
71
+ align-items: center;
72
+ cursor: ${props => !props.$disabled ? 'pointer' : 'default'};
73
73
  `;
74
74
  const TextBox = forwardRef(({ label, type, additionalIcons = [], cursor = 'text', disabled, icon, onClick, onKeyDown, onValueChanged, placeHolder, readOnly, showSuccess, validationItems = [], value }, ref) => {
75
75
  const [showPassword, setShowPassword] = useState(false);
@@ -200,11 +200,11 @@ export const NewBadge = ({ layoutMode }) => {
200
200
  boxShadow: "0 2px 10px rgba(255, 200, 50, 0.45)",
201
201
  zIndex: 1,
202
202
  animation: "softBlink 2s infinite",
203
- }, title: SDKUI_Localizator.NewMale, children: [!isCompact && "NEW", _jsx("style", { children: `
204
- @keyframes softBlink {
205
- 0%, 100% { opacity: 1; }
206
- 50% { opacity: 0.7; }
207
- }
203
+ }, title: SDKUI_Localizator.NewMale, children: [!isCompact && "NEW", _jsx("style", { children: `
204
+ @keyframes softBlink {
205
+ 0%, 100% { opacity: 1; }
206
+ 50% { opacity: 0.7; }
207
+ }
208
208
  ` })] }));
209
209
  };
210
210
  export const removeFileExtension = (filename) => {
@@ -11,56 +11,56 @@ import { TMDcmtTypeChooserForm } from '../choosers/TMDcmtTypeChooser';
11
11
  import TMTidViewer, { renderDTDTooltipContent, TMDcmtTypeTooltip } from '../viewers/TMTidViewer';
12
12
  import { StyledDivHorizontal, StyledOffCanvasPanel } from '../base/Styled';
13
13
  import { useOutsideClick } from '../../hooks/useOutsideClick';
14
- const StyledRecentTidItem = styled.div `
15
- display: flex;
16
- flex-direction: column;
17
- align-items: stretch;
18
- min-width: 0;
19
- padding: 10px;
20
- position: relative;
21
- gap: 0;
22
-
23
- &:hover {
24
- cursor: pointer;
25
- background: linear-gradient(
26
- 270deg,
27
- rgba(70, 181, 162, 0.15) 16%,
28
- rgba(59, 170, 188, 0.15) 34%,
29
- rgba(59, 170, 188, 0.15) 34%,
30
- rgba(54, 129, 173, 0.15) 54%,
31
- rgba(51, 104, 165, 0.15) 72%,
32
- rgba(47, 84, 157, 0.15) 88%,
33
- rgba(48, 79, 153, 0.15) 100%
34
- );
35
- }
36
-
37
- .info-icon {
38
- opacity: 0;
39
- pointer-events: none;
40
- transition: opacity 0.2s;
41
- ${({ $isMobile }) => $isMobile && `
42
- display: none !important;
43
- `}
44
- }
45
-
46
- &:hover .info-icon {
47
- opacity: 1;
48
- pointer-events: auto;
49
- }
50
-
51
- &::after {
52
- content: '';
53
- display: block;
54
- width: 90%;
55
- margin: 0 auto;
56
- border-bottom: 1px solid #00A99D;
57
- margin-top: 8px;
58
- }
59
-
60
- &:last-child {
61
- border-bottom: none;
62
- margin-bottom: 0;
63
- }
14
+ const StyledRecentTidItem = styled.div `
15
+ display: flex;
16
+ flex-direction: column;
17
+ align-items: stretch;
18
+ min-width: 0;
19
+ padding: 10px;
20
+ position: relative;
21
+ gap: 0;
22
+
23
+ &:hover {
24
+ cursor: pointer;
25
+ background: linear-gradient(
26
+ 270deg,
27
+ rgba(70, 181, 162, 0.15) 16%,
28
+ rgba(59, 170, 188, 0.15) 34%,
29
+ rgba(59, 170, 188, 0.15) 34%,
30
+ rgba(54, 129, 173, 0.15) 54%,
31
+ rgba(51, 104, 165, 0.15) 72%,
32
+ rgba(47, 84, 157, 0.15) 88%,
33
+ rgba(48, 79, 153, 0.15) 100%
34
+ );
35
+ }
36
+
37
+ .info-icon {
38
+ opacity: 0;
39
+ pointer-events: none;
40
+ transition: opacity 0.2s;
41
+ ${({ $isMobile }) => $isMobile && `
42
+ display: none !important;
43
+ `}
44
+ }
45
+
46
+ &:hover .info-icon {
47
+ opacity: 1;
48
+ pointer-events: auto;
49
+ }
50
+
51
+ &::after {
52
+ content: '';
53
+ display: block;
54
+ width: 90%;
55
+ margin: 0 auto;
56
+ border-bottom: 1px solid #00A99D;
57
+ margin-top: 8px;
58
+ }
59
+
60
+ &:last-child {
61
+ border-bottom: none;
62
+ margin-bottom: 0;
63
+ }
64
64
  `;
65
65
  const iconDelete = () => ReactDOMServer.renderToString(_jsx(IconDelete, {}));
66
66
  const TMRecentsManager = ({ deviceType, mruTIDs, currentMruTID, accessFilter = 'all', onSelectedTID, onDeletedTID }) => {
@@ -3,60 +3,60 @@ import { useState, useEffect } from 'react';
3
3
  import styled from 'styled-components';
4
4
  import { TMColors } from '../../utils/theme';
5
5
  import { IconCloseCircle, IconWarning } from '../../helper';
6
- const StyledValidationItemsTabs = styled.div `
7
- position: sticky;
8
- top: 0px;
9
- height: 25px;
10
- display: flex;
11
- flex-direction: row;
12
- justify-content: flex-start;
13
- align-items: center;
14
- border-bottom: 1px solid $primary;
15
- width: 100%;
16
- user-select: none;
17
- background-color: ${TMColors.primary};
18
- z-index: 20;
19
- border-top: 1px solid #122C4C;
6
+ const StyledValidationItemsTabs = styled.div `
7
+ position: sticky;
8
+ top: 0px;
9
+ height: 25px;
10
+ display: flex;
11
+ flex-direction: row;
12
+ justify-content: flex-start;
13
+ align-items: center;
14
+ border-bottom: 1px solid $primary;
15
+ width: 100%;
16
+ user-select: none;
17
+ background-color: ${TMColors.primary};
18
+ z-index: 20;
19
+ border-top: 1px solid #122C4C;
20
20
  `;
21
- const StyledValidationTypeTab = styled.div `
22
- padding: 10px;
23
- color: ${(props) => props.$isSelected ? 'white' : 'rgb(182, 182, 182)'};
24
- font-size: 1rem;
25
- cursor: pointer;
26
- ${(props) => props.$isSelected ? 'border-bottom: 1px white solid;' : ''};
21
+ const StyledValidationTypeTab = styled.div `
22
+ padding: 10px;
23
+ color: ${(props) => props.$isSelected ? 'white' : 'rgb(182, 182, 182)'};
24
+ font-size: 1rem;
25
+ cursor: pointer;
26
+ ${(props) => props.$isSelected ? 'border-bottom: 1px white solid;' : ''};
27
27
  `;
28
- const StyledMessageContainer = styled.div `
29
- padding: 2px;
30
- display: flex;
31
- flex-direction: row;
32
- justify-content: flex-start;
33
- align-items: center;
34
- color: $primary;
35
- font-size: 1rem;
36
- width: 100%;
37
- border-bottom: 1px solid rgb(190, 190, 190);
28
+ const StyledMessageContainer = styled.div `
29
+ padding: 2px;
30
+ display: flex;
31
+ flex-direction: row;
32
+ justify-content: flex-start;
33
+ align-items: center;
34
+ color: $primary;
35
+ font-size: 1rem;
36
+ width: 100%;
37
+ border-bottom: 1px solid rgb(190, 190, 190);
38
38
  `;
39
- const StyledMessageIcon = styled.div `
40
- transform: translateY(1.5px);
41
- margin-right: 5px;
42
- z-index: 5;
39
+ const StyledMessageIcon = styled.div `
40
+ transform: translateY(1.5px);
41
+ margin-right: 5px;
42
+ z-index: 5;
43
43
  `;
44
- const StyledMessageResultType = styled.div `
45
- width: 50px;
46
- user-select: none;
47
- margin-right: 20px;
44
+ const StyledMessageResultType = styled.div `
45
+ width: 50px;
46
+ user-select: none;
47
+ margin-right: 20px;
48
48
  `;
49
- const StyledMessageElement = styled.div `
50
- width: 150px;
51
- text-align: left;
52
- user-select: none;
53
- margin-right: 20px;
49
+ const StyledMessageElement = styled.div `
50
+ width: 150px;
51
+ text-align: left;
52
+ user-select: none;
53
+ margin-right: 20px;
54
54
  `;
55
- const StyledMessageText = styled.div `
56
- transform: translateY(1.5px);
57
- margin-right: 5px;
58
- z-index: 5;
59
- margin-right: 20px;
55
+ const StyledMessageText = styled.div `
56
+ transform: translateY(1.5px);
57
+ margin-right: 5px;
58
+ z-index: 5;
59
+ margin-right: 20px;
60
60
  `;
61
61
  const TMValidationItemsList = ({ validationItems = [] }) => {
62
62
  const [selectedTab, setSelectedTab] = useState(0);
@@ -8,20 +8,20 @@ import { IconInfo, SDKUI_Localizator } from '../../../helper';
8
8
  import { DeviceType, useDeviceType } from '../../base/TMDeviceProvider';
9
9
  import { Gutters } from '../../../utils/theme';
10
10
  // Styled Component per il contenitore principale di PanelContainer
11
- const StyledPanelContainerWrapper = styled.div `
12
- display: ${props => (props.$hasVisiblePanels ? 'flex' : 'none')};
13
- flex-direction: ${props => (props.$direction === 'vertical' ? 'column' : 'row')};
14
- height: 100%;
15
- width: 100%;
16
- // overflow: hidden;
11
+ const StyledPanelContainerWrapper = styled.div `
12
+ display: ${props => (props.$hasVisiblePanels ? 'flex' : 'none')};
13
+ flex-direction: ${props => (props.$direction === 'vertical' ? 'column' : 'row')};
14
+ height: 100%;
15
+ width: 100%;
16
+ // overflow: hidden;
17
17
  `;
18
18
  // Styled Component per il gutter (separatore)
19
- const StyledResizerGutter = styled.div `
20
- cursor: ${props => (props.$direction === 'horizontal' ? 'col-resize' : 'row-resize')};
21
- ${props => (props.$direction === 'horizontal' ? `width: ${Gutters.getGutters()}px;` : `height: ${Gutters.getGutters()}px;`)}
22
- flex-shrink: 0;
23
- background-color: "transparent";
24
- z-index: 10;
19
+ const StyledResizerGutter = styled.div `
20
+ cursor: ${props => (props.$direction === 'horizontal' ? 'col-resize' : 'row-resize')};
21
+ ${props => (props.$direction === 'horizontal' ? `width: ${Gutters.getGutters()}px;` : `height: ${Gutters.getGutters()}px;`)}
22
+ flex-shrink: 0;
23
+ background-color: "transparent";
24
+ z-index: 10;
25
25
  `;
26
26
  const TMPanelManagerContainer = (props) => {
27
27
  const { panels, showToolbar, direction, parentId } = props;
@@ -5,41 +5,41 @@ import { useTMPanelManagerContext } from './TMPanelManagerContext';
5
5
  import { DeviceType, useDeviceType } from '../../base/TMDeviceProvider';
6
6
  import { flattenPanels } from './utils';
7
7
  import TMTooltip from '../../base/TMTooltip';
8
- export const StyledToolbarButton = styled.button `
9
- display: flex;
10
- align-items: center;
11
- justify-content: center;
12
- height: 32px;
13
- width: 32px;
14
- border: none;
15
- border-radius: 8px;
16
- font-size: 18px;
17
- padding: 0px;
18
- color: #fff;
19
- transition: transform 0.2s ease, box-shadow 0.2s ease;
20
- cursor: ${({ $isDisabled }) => ($isDisabled ? 'not-allowed' : 'pointer')};
21
- opacity: ${({ $isDisabled }) => ($isDisabled ? 0.6 : 1)};
22
- background: ${({ $isActive }) => $isActive ? 'rgba(255,255,255,0.35)' : 'transparent'};
23
- position: relative;
24
- &:hover {
25
- background: ${({ $isDisabled }) => !$isDisabled ? 'rgba(255,255,255,0.35)' : undefined};
26
- }
8
+ export const StyledToolbarButton = styled.button `
9
+ display: flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ height: 32px;
13
+ width: 32px;
14
+ border: none;
15
+ border-radius: 8px;
16
+ font-size: 18px;
17
+ padding: 0px;
18
+ color: #fff;
19
+ transition: transform 0.2s ease, box-shadow 0.2s ease;
20
+ cursor: ${({ $isDisabled }) => ($isDisabled ? 'not-allowed' : 'pointer')};
21
+ opacity: ${({ $isDisabled }) => ($isDisabled ? 0.6 : 1)};
22
+ background: ${({ $isActive }) => $isActive ? 'rgba(255,255,255,0.35)' : 'transparent'};
23
+ position: relative;
24
+ &:hover {
25
+ background: ${({ $isDisabled }) => !$isDisabled ? 'rgba(255,255,255,0.35)' : undefined};
26
+ }
27
27
  `;
28
- const Badge = styled.span `
29
- position: absolute;
30
- top: 2px;
31
- right: 2px;
32
- background: ${(props) => props.$background || "#ff5252"};
33
- color: white;
34
- font-size: 10px;
35
- min-width: 14px;
36
- height: 14px;
37
- padding: 0 4px;
38
- border-radius: 999px;
39
- display: flex;
40
- align-items: center;
41
- justify-content: center;
42
- line-height: 1;
28
+ const Badge = styled.span `
29
+ position: absolute;
30
+ top: 2px;
31
+ right: 2px;
32
+ background: ${(props) => props.$background || "#ff5252"};
33
+ color: white;
34
+ font-size: 10px;
35
+ min-width: 14px;
36
+ height: 14px;
37
+ padding: 0 4px;
38
+ border-radius: 999px;
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ line-height: 1;
43
43
  `;
44
44
  const TMPanelManagerToolbar = (props) => {
45
45
  const { panels } = props;