@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
@@ -5,135 +5,135 @@ import styled, { keyframes } from 'styled-components';
5
5
  import { FontSize } from '../../utils/theme';
6
6
  import six from '../../assets/six.png';
7
7
  // Keyframe per l'animazione dello spinner
8
- const spinnerAnimation = keyframes `
9
- 0% { transform: rotate(0deg); }
10
- 100% { transform: rotate(360deg); }
8
+ const spinnerAnimation = keyframes `
9
+ 0% { transform: rotate(0deg); }
10
+ 100% { transform: rotate(360deg); }
11
11
  `;
12
12
  // Container principale dello spinner - occupa tutto lo spazio e centra il contenuto
13
- const StyledSpinnerContainer = styled.div `
14
- width: 100%;
15
- height: calc(100% - 50px);
16
- position: fixed;
17
- top: 0;
18
- left: 0;
19
- z-index: 2000000001;
20
- background-color: ${props => props.$backgroundColor || 'transparent'};
13
+ const StyledSpinnerContainer = styled.div `
14
+ width: 100%;
15
+ height: calc(100% - 50px);
16
+ position: fixed;
17
+ top: 0;
18
+ left: 0;
19
+ z-index: 2000000001;
20
+ background-color: ${props => props.$backgroundColor || 'transparent'};
21
21
  `;
22
22
  // Wrapper che contiene lo spinner e la descrizione
23
- const StyledSpinnerWrapper = styled.div `
24
- position: relative;
25
- top: 50%;
26
- left: 50%;
27
- transform: translate(-50%, -50%);
28
- display: flex;
29
- flex-direction: column;
30
- justify-content: center;
31
- align-items: center;
32
- width: ${props => props.$width || 'fit-content'};
33
- height: fit-content;
34
- max-width: 250px;
35
- max-height: 200px;
36
- padding: 10px;
37
- border-radius: 5px;
38
- background-color: ${props => props.$flat ? 'transparent' : '#fcfcfc'};
39
- box-shadow: ${props => props.$flat ? 'none' : '2px 2px 2px rgba(0, 0, 0, 0.3)'};
23
+ const StyledSpinnerWrapper = styled.div `
24
+ position: relative;
25
+ top: 50%;
26
+ left: 50%;
27
+ transform: translate(-50%, -50%);
28
+ display: flex;
29
+ flex-direction: column;
30
+ justify-content: center;
31
+ align-items: center;
32
+ width: ${props => props.$width || 'fit-content'};
33
+ height: fit-content;
34
+ max-width: 250px;
35
+ max-height: 200px;
36
+ padding: 10px;
37
+ border-radius: 5px;
38
+ background-color: ${props => props.$flat ? 'transparent' : '#fcfcfc'};
39
+ box-shadow: ${props => props.$flat ? 'none' : '2px 2px 2px rgba(0, 0, 0, 0.3)'};
40
40
  `;
41
41
  // Container dell'animazione dello spinner (8 pallini colorati)
42
- const StyledSpinnerAnimation = styled.div `
43
- display: inline-block;
44
- width: 80px;
45
- height: 80px;
46
- z-index: 2000000;
47
- position: absolute;
48
- top: 50%;
49
- left: 50%;
50
- transform: translate(-50%, -50%);
51
-
52
- & div {
53
- animation: ${spinnerAnimation} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
54
- transform-origin: 40px 40px;
55
- }
56
-
57
- & div:after {
58
- content: " ";
59
- display: block;
60
- position: absolute;
61
- width: 7px;
62
- height: 7px;
63
- border-radius: 50%;
64
- background: #0c448e;
65
- margin: -4px 0 0 -4px;
66
- }
67
-
68
- & div:nth-child(1) {
69
- animation-delay: -0.036s;
70
- }
71
- & div:nth-child(1):after {
72
- top: 63px;
73
- left: 63px;
74
- background: #f7a51f;
75
- }
76
- & div:nth-child(2) {
77
- animation-delay: -0.072s;
78
- }
79
- & div:nth-child(2):after {
80
- top: 68px;
81
- left: 56px;
82
- background: #f7a51f;
83
- }
84
- & div:nth-child(3) {
85
- animation-delay: -0.108s;
86
- }
87
- & div:nth-child(3):after {
88
- top: 71px;
89
- left: 48px;
90
- background: #d3237b;
91
- }
92
- & div:nth-child(4) {
93
- animation-delay: -0.144s;
94
- }
95
- & div:nth-child(4):after {
96
- top: 72px;
97
- left: 40px;
98
- background: #d3237b;
99
- }
100
- & div:nth-child(5) {
101
- animation-delay: -0.18s;
102
- }
103
- & div:nth-child(5):after {
104
- top: 71px;
105
- left: 32px;
106
- background: #d12a1c;
107
- }
108
- & div:nth-child(6) {
109
- animation-delay: -0.216s;
110
- }
111
- & div:nth-child(6):after {
112
- top: 68px;
113
- left: 24px;
114
- background: #d12a1c;
115
- }
116
- & div:nth-child(7) {
117
- animation-delay: -0.252s;
118
- }
119
- & div:nth-child(7):after {
120
- top: 63px;
121
- left: 17px;
122
- background: #782b7d;
123
- }
124
- & div:nth-child(8) {
125
- animation-delay: -0.288s;
126
- }
127
- & div:nth-child(8):after {
128
- top: 56px;
129
- left: 12px;
130
- background: #782b7d;
131
- }
42
+ const StyledSpinnerAnimation = styled.div `
43
+ display: inline-block;
44
+ width: 80px;
45
+ height: 80px;
46
+ z-index: 2000000;
47
+ position: absolute;
48
+ top: 50%;
49
+ left: 50%;
50
+ transform: translate(-50%, -50%);
51
+
52
+ & div {
53
+ animation: ${spinnerAnimation} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
54
+ transform-origin: 40px 40px;
55
+ }
56
+
57
+ & div:after {
58
+ content: " ";
59
+ display: block;
60
+ position: absolute;
61
+ width: 7px;
62
+ height: 7px;
63
+ border-radius: 50%;
64
+ background: #0c448e;
65
+ margin: -4px 0 0 -4px;
66
+ }
67
+
68
+ & div:nth-child(1) {
69
+ animation-delay: -0.036s;
70
+ }
71
+ & div:nth-child(1):after {
72
+ top: 63px;
73
+ left: 63px;
74
+ background: #f7a51f;
75
+ }
76
+ & div:nth-child(2) {
77
+ animation-delay: -0.072s;
78
+ }
79
+ & div:nth-child(2):after {
80
+ top: 68px;
81
+ left: 56px;
82
+ background: #f7a51f;
83
+ }
84
+ & div:nth-child(3) {
85
+ animation-delay: -0.108s;
86
+ }
87
+ & div:nth-child(3):after {
88
+ top: 71px;
89
+ left: 48px;
90
+ background: #d3237b;
91
+ }
92
+ & div:nth-child(4) {
93
+ animation-delay: -0.144s;
94
+ }
95
+ & div:nth-child(4):after {
96
+ top: 72px;
97
+ left: 40px;
98
+ background: #d3237b;
99
+ }
100
+ & div:nth-child(5) {
101
+ animation-delay: -0.18s;
102
+ }
103
+ & div:nth-child(5):after {
104
+ top: 71px;
105
+ left: 32px;
106
+ background: #d12a1c;
107
+ }
108
+ & div:nth-child(6) {
109
+ animation-delay: -0.216s;
110
+ }
111
+ & div:nth-child(6):after {
112
+ top: 68px;
113
+ left: 24px;
114
+ background: #d12a1c;
115
+ }
116
+ & div:nth-child(7) {
117
+ animation-delay: -0.252s;
118
+ }
119
+ & div:nth-child(7):after {
120
+ top: 63px;
121
+ left: 17px;
122
+ background: #782b7d;
123
+ }
124
+ & div:nth-child(8) {
125
+ animation-delay: -0.288s;
126
+ }
127
+ & div:nth-child(8):after {
128
+ top: 56px;
129
+ left: 12px;
130
+ background: #782b7d;
131
+ }
132
132
  `;
133
133
  // Testo della descrizione sotto lo spinner
134
- const StyledSpinnerDescription = styled.div `
135
- font-size: ${props => props.$fontSize || FontSize.defaultFontSize};
136
- text-align: center;
134
+ const StyledSpinnerDescription = styled.div `
135
+ font-size: ${props => props.$fontSize || FontSize.defaultFontSize};
136
+ text-align: center;
137
137
  `;
138
138
  const Spinner = ({ backgroundColor = 'transparent', description = '', fontSize = FontSize.defaultFontSize, width = 'fit-content', flat = false }) => {
139
139
  return (_jsx(StyledSpinnerContainer, { "$backgroundColor": backgroundColor, children: _jsxs(StyledSpinnerWrapper, { "$width": width, "$flat": flat, children: [_jsxs("div", { style: { position: 'relative', width: '80px', height: '80px' }, children: [_jsx("img", { style: {
@@ -5,17 +5,17 @@ import TabPanel, { Item } from "devextreme-react/tab-panel";
5
5
  import { StyledDivHorizontal } from './Styled';
6
6
  import { editorColorManager } from '../editors/TMEditorStyled';
7
7
  import { TMCard } from './TMLayout';
8
- const StyledTabItemResultType = styled.div `
9
- display: inline-flex;
10
- align-items: center;
11
- justify-content: center;
12
- background-color: ${(props) => props.$backgroundColor};
13
- color: #fff;
14
- font-size: 0.8rem;
15
- padding: 0 5px;
16
- border-radius: 999em;
17
- line-height: 16px;
18
- margin-left: 5px;
8
+ const StyledTabItemResultType = styled.div `
9
+ display: inline-flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ background-color: ${(props) => props.$backgroundColor};
13
+ color: #fff;
14
+ font-size: 0.8rem;
15
+ padding: 0 5px;
16
+ border-radius: 999em;
17
+ line-height: 16px;
18
+ margin-left: 5px;
19
19
  `;
20
20
  export const TMTab = ({ label = '', propsToBeValidated = [], children }) => { return (_jsx("div", { children: children })); };
21
21
  const renderTabItems = (tabItemProps, tabs, vil) => {
@@ -5,46 +5,46 @@ import { getColor } from '../../helper';
5
5
  import styled from 'styled-components';
6
6
  import TMTooltip from './TMTooltip';
7
7
  // #region Style
8
- const StyledToggleButtonWrapper = styled.div `
9
- display: flex;
10
- flex-direction: row;
11
- justify-content: flex-start;
12
- align-items: center;
13
- width: 100%;
8
+ const StyledToggleButtonWrapper = styled.div `
9
+ display: flex;
10
+ flex-direction: row;
11
+ justify-content: flex-start;
12
+ align-items: center;
13
+ width: 100%;
14
14
  `;
15
- const StyledToggleButtonContainer = styled.div `
16
- width: 36px;
17
- height: 20px;
18
- background-color: ${props => !props.$value ? 'rgb(194, 194, 194)' : getColor(props.$color)};
19
- border-radius: 3px;
20
- transition: all 100ms ease;
21
- padding: 3px;
22
- cursor: pointer;
23
- position: relative;
15
+ const StyledToggleButtonContainer = styled.div `
16
+ width: 36px;
17
+ height: 20px;
18
+ background-color: ${props => !props.$value ? 'rgb(194, 194, 194)' : getColor(props.$color)};
19
+ border-radius: 3px;
20
+ transition: all 100ms ease;
21
+ padding: 3px;
22
+ cursor: pointer;
23
+ position: relative;
24
24
  `;
25
- const StyledToggleButtonSwitch = styled.div `
26
- width: 50%;
27
- height: 100%;
28
- border-radius: 2px;
29
- background-color: white;
30
- display: flex;
31
- align-items: center;
32
- justify-content: center;
33
- float: right;
34
- transition: all 100ms ease;
35
- z-index: 100;
36
- ${props => props.$value ? '' : 'float: left;'}
25
+ const StyledToggleButtonSwitch = styled.div `
26
+ width: 50%;
27
+ height: 100%;
28
+ border-radius: 2px;
29
+ background-color: white;
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ float: right;
34
+ transition: all 100ms ease;
35
+ z-index: 100;
36
+ ${props => props.$value ? '' : 'float: left;'}
37
37
  `;
38
- const StyledToggleValue = styled.p `
39
- font-size: 0.5rem;
40
- color: black;
41
- font-weight: bold;
38
+ const StyledToggleValue = styled.p `
39
+ font-size: 0.5rem;
40
+ color: black;
41
+ font-weight: bold;
42
42
  `;
43
- const StyledToggleButtonLabel = styled.div `
44
- font-size: ${FontSize.defaultFontSize};
45
- margin-left: 5px;
46
- width: max-content;
47
- color: ${props => getColor(props.$color)};
43
+ const StyledToggleButtonLabel = styled.div `
44
+ font-size: ${FontSize.defaultFontSize};
45
+ margin-left: 5px;
46
+ width: max-content;
47
+ color: ${props => getColor(props.$color)};
48
48
  `;
49
49
  const TMToggleButton = ({ color = 'primary', value, label, elementStyle, fontSize = FontSize.defaultFontSize, isModifiedWhen, showTooltip = false, onValueChanged }) => {
50
50
  const [currentColor, setCurrentColor] = useState(color);
@@ -5,43 +5,43 @@ import { IconArrowLeft, SDKUI_Localizator } from '../../helper';
5
5
  import { TMColors } from '../../utils/theme';
6
6
  import { StyledBadge } from './Styled';
7
7
  import TMButton from './TMButton';
8
- const StyledSearchCard = styled.div `
9
- width: 100%;
10
- height: 100%;
11
- font-size: 1rem;
12
- border-radius: 12px;
13
- border: 1px solid ${() => TMColors.primaryColor}50 ;
8
+ const StyledSearchCard = styled.div `
9
+ width: 100%;
10
+ height: 100%;
11
+ font-size: 1rem;
12
+ border-radius: 12px;
13
+ border: 1px solid ${() => TMColors.primaryColor}50 ;
14
14
  `;
15
- const StyledSearchCardHeader = styled.div `
16
- width:100% ;
17
- display: flex;
18
- flex-direction: row;
19
- align-items: center;
20
- justify-content: flex-start;
21
- padding: 4px 10px;
22
- background-color: ${props => props.$backgroundColor ?? TMColors.backgroundColorHeader};
23
- color: ${props => props.$color ?? TMColors.colorHeader};
24
- border-top-right-radius: 10px;
25
- border-top-left-radius: 10px;
26
- overflow: hidden;
27
- position: sticky;
28
- top: 0;
29
- font-weight: 600;
30
- height: 35px;
15
+ const StyledSearchCardHeader = styled.div `
16
+ width:100% ;
17
+ display: flex;
18
+ flex-direction: row;
19
+ align-items: center;
20
+ justify-content: flex-start;
21
+ padding: 4px 10px;
22
+ background-color: ${props => props.$backgroundColor ?? TMColors.backgroundColorHeader};
23
+ color: ${props => props.$color ?? TMColors.colorHeader};
24
+ border-top-right-radius: 10px;
25
+ border-top-left-radius: 10px;
26
+ overflow: hidden;
27
+ position: sticky;
28
+ top: 0;
29
+ font-weight: 600;
30
+ height: 35px;
31
31
  `;
32
- const StyledSearchCardContent = styled.div `
33
- width: 100%;
34
- height: ${props => props.$height};
35
- overflow: hidden;
36
- background-color: ${props => props.$backgroundColor};
37
- border-bottom-right-radius: 10px;
38
- border-bottom-left-radius: 10px;
39
- padding: ${props => props.$padding};
40
- display: flex;
41
- justify-content: space-between;
42
-
43
- position: relative;
44
- user-select: none;
32
+ const StyledSearchCardContent = styled.div `
33
+ width: 100%;
34
+ height: ${props => props.$height};
35
+ overflow: hidden;
36
+ background-color: ${props => props.$backgroundColor};
37
+ border-bottom-right-radius: 10px;
38
+ border-bottom-left-radius: 10px;
39
+ padding: ${props => props.$padding};
40
+ display: flex;
41
+ justify-content: space-between;
42
+
43
+ position: relative;
44
+ user-select: none;
45
45
  `;
46
46
  const TMToolbarCard = ({ items = [], onItemClick, selectedItem, showPanel, color = TMColors.colorHeader, backgroundColor = TMColors.backgroundColorHeader, backgroundColorContainer, children, showHeader = true, title, totalItems, displayedItemsCount, toolbar, padding = '3px', onBack, onClose, onHeaderDoubleClick }) => {
47
47
  return (_jsxs(StyledSearchCard, { children: [showHeader && _jsx(StyledSearchCardHeader, { "$backgroundColor": backgroundColor, "$color": color, onDoubleClick: () => { if (onHeaderDoubleClick)
@@ -337,20 +337,20 @@ const TMTreeView = ({ dataSource = [], focusedItem, selectedItems = [], allowMul
337
337
  return (_jsx("div", { style: { height: '100%', width: '100%', overflowY: 'auto', overflowX: 'hidden', padding: '0px 5px 2px 2px' }, children: renderTree(dataSource) }));
338
338
  };
339
339
  export default TMTreeView;
340
- export const StyledTreeNode = styled.div `
341
- display: flex;
342
- flex-direction: row;
343
- width: 100%;
344
- min-width: 0;
345
- min-height: 22px;
346
- max-height: 30px;
347
- gap: 5px;
348
- align-items: center;
349
- padding: 0;
350
- margin: 0;
351
- background: ${(props) => props.$isSelected ? 'oklch(from var(--dx-color-primary) l c h / .2) !important' : 'transparent'};
352
-
353
- &:hover {
354
- background: ${() => `oklch(from var(--dx-color-primary) l c h / .1)`};
355
- }
340
+ export const StyledTreeNode = styled.div `
341
+ display: flex;
342
+ flex-direction: row;
343
+ width: 100%;
344
+ min-width: 0;
345
+ min-height: 22px;
346
+ max-height: 30px;
347
+ gap: 5px;
348
+ align-items: center;
349
+ padding: 0;
350
+ margin: 0;
351
+ background: ${(props) => props.$isSelected ? 'oklch(from var(--dx-color-primary) l c h / .2) !important' : 'transparent'};
352
+
353
+ &:hover {
354
+ background: ${() => `oklch(from var(--dx-color-primary) l c h / .1)`};
355
+ }
356
356
  `;
@@ -6,13 +6,13 @@ const TMUserAvatar = (props) => {
6
6
  const initials = extractInitialsFromName(displayName ?? '-');
7
7
  const bgColor = getAvatarColor(nameForColorCalculation ?? '-');
8
8
  if (returnType === 'svg') {
9
- return `
10
- <svg width="30" height="30" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
11
- <circle cx="20" cy="20" r="20" fill="${bgColor}" />
12
- <text x="50%" y="50%" text-anchor="middle" dominant-baseline="middle" fill="#fff" font-size="14" font-weight="bold" font-family="sans-serif">
13
- ${initials}
14
- </text>
15
- </svg>
9
+ return `
10
+ <svg width="30" height="30" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
11
+ <circle cx="20" cy="20" r="20" fill="${bgColor}" />
12
+ <text x="50%" y="50%" text-anchor="middle" dominant-baseline="middle" fill="#fff" font-size="14" font-weight="bold" font-family="sans-serif">
13
+ ${initials}
14
+ </text>
15
+ </svg>
16
16
  `.trim();
17
17
  }
18
18
  return (_jsx(TMTooltip, { content: tooltipName ?? displayName, children: _jsx("div", { style: {
@@ -2,29 +2,29 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import styled from 'styled-components';
3
3
  import TMLayoutContainer from './TMLayout';
4
4
  import { SDKUI_Localizator } from '../../helper';
5
- const StyledWaitPanelOverlay = styled.div `
6
- width: 100%;
7
- height: 100%;
8
- position: fixed;
9
- top: 0;
10
- left: 0;
11
- z-index: 1501;
12
- transition: all;
13
- overflow: visible;
14
- background-color: rgba(0, 0, 0, 0.4);
5
+ const StyledWaitPanelOverlay = styled.div `
6
+ width: 100%;
7
+ height: 100%;
8
+ position: fixed;
9
+ top: 0;
10
+ left: 0;
11
+ z-index: 1501;
12
+ transition: all;
13
+ overflow: visible;
14
+ background-color: rgba(0, 0, 0, 0.4);
15
15
  `;
16
- const StyledWaitPanel = styled.div `
17
- position: absolute;
18
- top: 50%;
19
- left: 50%;
20
- transform: translate(-50%, -50%);
21
- width: 300px;
22
- height: ${(props) => props.$height};
23
- background: white;
24
- border-radius: 8px;
25
- padding: 10px;
26
- text-align: center;
27
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
16
+ const StyledWaitPanel = styled.div `
17
+ position: absolute;
18
+ top: 50%;
19
+ left: 50%;
20
+ transform: translate(-50%, -50%);
21
+ width: 300px;
22
+ height: ${(props) => props.$height};
23
+ background: white;
24
+ border-radius: 8px;
25
+ padding: 10px;
26
+ text-align: center;
27
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
28
28
  `;
29
29
  const StyledTitle = styled.h2 ` margin: 0; font-size: 1.5em; color: #333; `;
30
30
  const StyledProgressBarContainer = styled.div ` width: 100%; height: 20px; background: #e0e0e0; border-radius: 10px; overflow: hidden; margin: 20px 0; `;
@@ -15,44 +15,44 @@ const CULTUREIDs_DATASOURCE = [
15
15
  { value: CultureIDs.Es_ES, display: "Español", icon: _jsx("img", { src: getCultureIDImg(CultureIDs.Es_ES), alt: "Lang", width: 16, height: 16 }) },
16
16
  { value: CultureIDs.De_DE, display: "Deutsch", icon: _jsx("img", { src: getCultureIDImg(CultureIDs.De_DE), alt: "Lang", width: 16, height: 16 }) },
17
17
  ];
18
- const PickerContainer = styled.div `
19
- display: flex;
20
- flex-direction: column;
21
- gap: 10px;
22
- padding: 20px;
18
+ const PickerContainer = styled.div `
19
+ display: flex;
20
+ flex-direction: column;
21
+ gap: 10px;
22
+ padding: 20px;
23
23
  `;
24
- const ItemsContainer = styled.div `
25
- display: flex;
26
- flex-wrap: wrap;
27
- gap: 15px;
28
- justify-content: center;
24
+ const ItemsContainer = styled.div `
25
+ display: flex;
26
+ flex-wrap: wrap;
27
+ gap: 15px;
28
+ justify-content: center;
29
29
  `;
30
- const CultureItem = styled.div `
31
- display: flex;
32
- flex-direction: column;
33
- align-items: center;
34
- justify-content: center;
35
- cursor: pointer;
36
- text-align: center;
37
- font-size: 0.9em;
38
- padding: 10px 15px;
39
- border-radius: 8px;
40
- border: 2px solid transparent;
41
- transition: all 0.2s ease-in-out;
42
- width: 120px;
43
-
44
- &:hover {
45
- background-color: #f0f0f0;
46
- }
47
-
48
- ${props => props.$isSelected && `
49
- border-color: #007bff;
50
- background-color: #e6f2ff;
51
- `}
30
+ const CultureItem = styled.div `
31
+ display: flex;
32
+ flex-direction: column;
33
+ align-items: center;
34
+ justify-content: center;
35
+ cursor: pointer;
36
+ text-align: center;
37
+ font-size: 0.9em;
38
+ padding: 10px 15px;
39
+ border-radius: 8px;
40
+ border: 2px solid transparent;
41
+ transition: all 0.2s ease-in-out;
42
+ width: 120px;
43
+
44
+ &:hover {
45
+ background-color: #f0f0f0;
46
+ }
47
+
48
+ ${props => props.$isSelected && `
49
+ border-color: #007bff;
50
+ background-color: #e6f2ff;
51
+ `}
52
52
  `;
53
- const FlagIcon = styled.div `
54
- margin-bottom: 5px;
55
- font-size: 2em;
53
+ const FlagIcon = styled.div `
54
+ margin-bottom: 5px;
55
+ font-size: 2em;
56
56
  `;
57
57
  const TMCultureIDPicker = ({ selectedValue, onSelectCultureID, placeHolder, width = '100%', icon, backgroundColor, readOnly = false, openChooserBySingleClick = false, buttons = [], elementStyle, isModifiedWhen, label, showClearButton = false, validationItems = [], onValueChanged }) => {
58
58
  const [showPicker, setShowPicker] = useState(false);