@topconsultnpm/sdkui-react 6.19.0-dev2.2 → 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 (125) 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/settings/SettingsAppearance.js +0 -8
  114. package/lib/components/sidebar/TMCommandsPanel.js +10 -10
  115. package/lib/components/sidebar/TMHeader.js +307 -307
  116. package/lib/components/sidebar/TMSidebar.js +24 -24
  117. package/lib/components/sidebar/TMSidebarItem.js +21 -21
  118. package/lib/components/wizard/TMStepIndicator.js +102 -102
  119. package/lib/components/wizard/TMWizard.js +29 -29
  120. package/lib/helper/SDKUI_Globals.d.ts +0 -2
  121. package/lib/helper/SDKUI_Globals.js +1 -9
  122. package/lib/helper/TMIcons.js +1 -1
  123. package/lib/helper/TMToppyMessage.js +30 -30
  124. package/lib/helper/TMUtils.js +37 -37
  125. package/package.json +54 -54
@@ -976,23 +976,23 @@ const TMQdWhereItemValue = ({ whereItem, index, queryParamsDynDataList, onlyEdit
976
976
  ? _jsx(_Fragment, { children: whereItem.value1 ?? mdValueEmptyDescr })
977
977
  : _jsxs(_Fragment, { children: [displayMetadataValue(md, whereItem.value1, mdValueEmptyDescr), numberOfOperands == 2 && (whereItem.value2 && whereItem.value2 != '' ? ` - ${displayMetadataValue(md, whereItem.value2, mdValueEmptyDescr)}` : ' - ?')] }) })] })] }));
978
978
  };
979
- const StyledContent = styled.div `
980
- cursor: pointer;
981
- border-radius: ${props => props.$borderRadius};
982
- color: ${props => props.$color};
983
- /* background-color: ${props => props.$backgroundColor}; */
984
- background-color: transparent;
985
- opacity: ${props => props.$disabled ? 0.4 : 1};
986
- pointer-events: ${props => props.$disabled ? 'none' : ''};
987
- user-select: none;
988
- display: flex;
989
- align-items: center;
990
-
991
- &:focus {
992
- outline: none;
993
- border-bottom: ${props => props.$disabled ? '' : '2px solid'};
994
- border-bottom-color: ${TMColors.primary};
995
- }
979
+ const StyledContent = styled.div `
980
+ cursor: pointer;
981
+ border-radius: ${props => props.$borderRadius};
982
+ color: ${props => props.$color};
983
+ /* background-color: ${props => props.$backgroundColor}; */
984
+ background-color: transparent;
985
+ opacity: ${props => props.$disabled ? 0.4 : 1};
986
+ pointer-events: ${props => props.$disabled ? 'none' : ''};
987
+ user-select: none;
988
+ display: flex;
989
+ align-items: center;
990
+
991
+ &:focus {
992
+ outline: none;
993
+ border-bottom: ${props => props.$disabled ? '' : '2px solid'};
994
+ border-bottom-color: ${TMColors.primary};
995
+ }
996
996
  `;
997
997
  const TMQdDropDownMenu = ({ content, items, disabled = false, color = TMColors.text_normal, backgroundColor = TMColors.default_background, borderRadius }) => {
998
998
  const [id, setID] = useState('');
@@ -10,19 +10,19 @@ import TMVilViewer from '../base/TMVilViewer';
10
10
  import { FormModes } from '../../ts';
11
11
  import TMModal from '../base/TMModal';
12
12
  // #region Style
13
- const StyledWrapper = styled.div `
14
- display: flex;
15
- flex-direction: row;
16
- align-items: flex-start;
17
- justify-content: flex-start;
18
- width: 100%;
19
- font-size: ${FontSize.defaultFontSize};
13
+ const StyledWrapper = styled.div `
14
+ display: flex;
15
+ flex-direction: row;
16
+ align-items: flex-start;
17
+ justify-content: flex-start;
18
+ width: 100%;
19
+ font-size: ${FontSize.defaultFontSize};
20
20
  `;
21
- const StyledQueryToolbar = styled.div `
22
- display: flex;
23
- flex-direction: column;
24
- width: max-content;
25
- gap: 8px;
21
+ const StyledQueryToolbar = styled.div `
22
+ display: flex;
23
+ flex-direction: column;
24
+ width: max-content;
25
+ gap: 8px;
26
26
  `;
27
27
  const TMQuerySummary = ({ children, qd, validateSelect = true, validateOrderBy = true, raiseWarningForOnlyMetadataDcmtTypes = false, validationItems = [], onValueChanged, onEditClick, onClose }) => {
28
28
  const [showEditor, setShowEditor] = useState(false);
@@ -18,10 +18,6 @@ const fontSizes = [
18
18
  { value: "19px", display: "19px" },
19
19
  { value: "20px", display: "20px" }
20
20
  ];
21
- const fontFamilies = [
22
- { value: "Inter", display: "Inter" },
23
- { value: "Roboto", display: "Roboto" }
24
- ];
25
21
  const SettingsAppearance = ({ landingPagesOptions, permissions = { canArchive: true, canSearch: true, dossiersLicense: true, wgGroupLicense: true, workFlowLicense: true } }) => {
26
22
  const [, setForceUpdate] = useState(0); // Dummy state to force re-renders
27
23
  const triggerUIUpdate = () => setForceUpdate((prev) => prev + 1); // Increment dummy state to re-render
@@ -51,10 +47,6 @@ const SettingsAppearance = ({ landingPagesOptions, permissions = { canArchive: t
51
47
  let newpx = e.target.value;
52
48
  SDKUI_Globals.userSettings.themeSettings.fontSize = newpx;
53
49
  triggerUIUpdate();
54
- } }), _jsx(TMDropDown, { label: 'Family', dataSource: fontFamilies, width: '230px', value: SDKUI_Globals.userSettings.themeSettings.fontFamily, onValueChanged: (e) => {
55
- let newFamily = e.target.value;
56
- SDKUI_Globals.userSettings.themeSettings.fontFamily = newFamily;
57
- triggerUIUpdate();
58
50
  } }), _jsx("p", { style: { fontSize: '1rem', fontWeight: 'bold', marginTop: '10px', marginBottom: '5px' }, children: SDKUI_Localizator.Grids }), _jsx(TMCheckBox, { label: SDKUI_Localizator.ShowRowSeparatingLines, value: SDKUI_Globals.userSettings.themeSettings.gridSettings.showRowLines, onValueChanged: (newValue) => {
59
51
  SDKUI_Globals.userSettings.themeSettings.gridSettings.showRowLines = newValue;
60
52
  triggerUIUpdate();
@@ -1,15 +1,15 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import styled from 'styled-components';
3
- export const StyledCommandsPanel = styled.div `
4
- display: flex;
5
- flex-direction: ${({ $isMobile }) => ($isMobile ? 'row' : 'column')};
6
- align-items: center;
7
- width: ${({ $isMobile }) => ($isMobile ? '100%' : '50px')};
8
- height: ${({ $isMobile }) => ($isMobile ? '50px' : 'max-content')};
9
- background: transparent linear-gradient(90deg, #CCE0F4 0%, #7EC1E7 14%, #39A6DB 28%, #1E9CD7 35%, #0075BE 78%, #005B97 99%) 0% 0% no-repeat padding-box;
10
- border-radius: ${({ $isMobile }) => ($isMobile ? '10px' : '10px 0px 0px 10px')};
11
- padding: 10px;
12
- gap: 10px;
3
+ export const StyledCommandsPanel = styled.div `
4
+ display: flex;
5
+ flex-direction: ${({ $isMobile }) => ($isMobile ? 'row' : 'column')};
6
+ align-items: center;
7
+ width: ${({ $isMobile }) => ($isMobile ? '100%' : '50px')};
8
+ height: ${({ $isMobile }) => ($isMobile ? '50px' : 'max-content')};
9
+ background: transparent linear-gradient(90deg, #CCE0F4 0%, #7EC1E7 14%, #39A6DB 28%, #1E9CD7 35%, #0075BE 78%, #005B97 99%) 0% 0% no-repeat padding-box;
10
+ border-radius: ${({ $isMobile }) => ($isMobile ? '10px' : '10px 0px 0px 10px')};
11
+ padding: 10px;
12
+ gap: 10px;
13
13
  `;
14
14
  const TMCommandsPanel = ({ isMobile, items }) => (_jsx(StyledCommandsPanel, { "$isMobile": isMobile, children: items.map((iconProps, idx) => (_jsx("span", { style: {
15
15
  background: iconProps.selected ? 'white' : 'transparent',