@topconsultnpm/sdkui-react 6.22.0-dev4.17 → 6.22.0-dev4.19

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 (119) hide show
  1. package/lib/components/NewComponents/ContextMenu/styles.d.ts +45 -43
  2. package/lib/components/NewComponents/FloatingMenuBar/styles.d.ts +67 -60
  3. package/lib/components/base/Styled.d.ts +93 -77
  4. package/lib/components/base/TMAlert.d.ts +2 -1
  5. package/lib/components/base/TMAlert.js +7 -6
  6. package/lib/components/base/TMCounterBar.d.ts +2 -2
  7. package/lib/components/base/TMCounterContainer.d.ts +2 -1
  8. package/lib/components/base/TMCustomButton.d.ts +1 -1
  9. package/lib/components/base/TMDataGrid.js +219 -219
  10. package/lib/components/base/TMDataGridExportForm.d.ts +2 -1
  11. package/lib/components/base/TMFileManager.d.ts +2 -1
  12. package/lib/components/base/TMFileManagerDataGridView.d.ts +2 -1
  13. package/lib/components/base/TMFileManagerThumbnailItems.d.ts +1 -1
  14. package/lib/components/base/TMFileManagerThumbnailsView.d.ts +1 -1
  15. package/lib/components/base/TMFileManagerUtils.d.ts +4 -6
  16. package/lib/components/base/TMLayout.d.ts +4 -4
  17. package/lib/components/base/TMList.d.ts +2 -1
  18. package/lib/components/base/TMListView.d.ts +1 -1
  19. package/lib/components/base/TMSpinner.d.ts +3 -2
  20. package/lib/components/base/TMTab.d.ts +4 -3
  21. package/lib/components/base/TMTabControl.js +208 -208
  22. package/lib/components/base/TMTooltip.d.ts +1 -1
  23. package/lib/components/base/TMTreeView.d.ts +14 -8
  24. package/lib/components/base/TMUserAvatar.d.ts +2 -1
  25. package/lib/components/base/TMVilViewer.d.ts +2 -1
  26. package/lib/components/base/TMWaitPanel.d.ts +3 -2
  27. package/lib/components/base/waitPanel/TMWaitPanelView.d.ts +2 -1
  28. package/lib/components/base/waitPanel/TMWaitPanelView.js +207 -207
  29. package/lib/components/choosers/TMDynDataListItemChooser.d.ts +1 -1
  30. package/lib/components/choosers/TMInvoiceRetrieveFormats.d.ts +2 -1
  31. package/lib/components/choosers/TMOrderRetrieveFormats.d.ts +2 -1
  32. package/lib/components/choosers/TMQuickSearchInfo.d.ts +2 -1
  33. package/lib/components/choosers/TMRelationChooser.d.ts +3 -3
  34. package/lib/components/choosers/TMUserChooser.d.ts +2 -2
  35. package/lib/components/editors/TMEditorStyled.d.ts +20 -42
  36. package/lib/components/editors/TMFormulaEditor.d.ts +1 -1
  37. package/lib/components/editors/TMHtmlContentDisplay.d.ts +2 -1
  38. package/lib/components/editors/TMHtmlEditor.d.ts +2 -1
  39. package/lib/components/editors/TMTreeDropDown.d.ts +1 -1
  40. package/lib/components/features/assistant/TMToppyDraggableHelpCenter.d.ts +1 -1
  41. package/lib/components/features/blog/TMBlogCommentForm.d.ts +2 -1
  42. package/lib/components/features/documents/TMDcmtForm.js +63 -35
  43. package/lib/components/features/documents/TMDcmtFormActionButtons.d.ts +1 -1
  44. package/lib/components/features/documents/TMDcmtIcon.d.ts +2 -1
  45. package/lib/components/features/documents/TMDcmtPreview.d.ts +10 -6
  46. package/lib/components/features/documents/TMDcmtPreview.js +16 -7
  47. package/lib/components/features/documents/TMDcmtTasks.d.ts +2 -1
  48. package/lib/components/features/documents/TMDragDropOverlay.d.ts +1 -1
  49. package/lib/components/features/documents/TMFileUploader.js +21 -21
  50. package/lib/components/features/documents/TMMasterInfoFields.d.ts +2 -1
  51. package/lib/components/features/documents/TMMergeToPdfForm.d.ts +2 -1
  52. package/lib/components/features/documents/TMMultiMasterDetailDcmtsForm.d.ts +2 -1
  53. package/lib/components/features/documents/TMMultiMasterDetailDcmtsUtils.d.ts +4 -4
  54. package/lib/components/features/search/TMDcmtCheckoutInfoForm.d.ts +2 -1
  55. package/lib/components/features/search/TMMetadataOutputForm.d.ts +2 -1
  56. package/lib/components/features/search/TMMetadataSorterForm.d.ts +2 -1
  57. package/lib/components/features/search/TMSavedQuerySelector.d.ts +2 -2
  58. package/lib/components/features/search/TMSearch.d.ts +2 -1
  59. package/lib/components/features/search/TMSearchQueryPanel.d.ts +9 -3
  60. package/lib/components/features/search/TMSearchResult.js +102 -82
  61. package/lib/components/features/search/TMSearchResultFloatingActionButton.d.ts +1 -1
  62. package/lib/components/features/search/TMSignatureInfoContent.d.ts +2 -1
  63. package/lib/components/features/search/TMViewHistoryDcmt.d.ts +2 -1
  64. package/lib/components/features/tasks/TMTaskForm.d.ts +1 -1
  65. package/lib/components/features/tasks/TMTaskFormUtils.d.ts +10 -10
  66. package/lib/components/features/tasks/TMTasksAgenda.d.ts +1 -1
  67. package/lib/components/features/tasks/TMTasksCalendar.d.ts +1 -1
  68. package/lib/components/features/tasks/TMTasksHeader.d.ts +1 -1
  69. package/lib/components/features/tasks/TMTasksPanelContent.d.ts +1 -1
  70. package/lib/components/features/tasks/TMTasksUtilsView.d.ts +5 -5
  71. package/lib/components/features/tasks/TMTasksView.d.ts +1 -1
  72. package/lib/components/features/wg/TMWGsCopyMoveForm.d.ts +3 -2
  73. package/lib/components/features/wg/TMWGsCopyMoveForm.js +9 -9
  74. package/lib/components/features/workflow/TMWorkflowPopup.d.ts +8 -7
  75. package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.d.ts +3 -1
  76. package/lib/components/forms/Login/ChangePasswordInputs.d.ts +3 -1
  77. package/lib/components/forms/Login/Chooser.d.ts +2 -2
  78. package/lib/components/forms/TMChooserForm.d.ts +2 -1
  79. package/lib/components/forms/TMSaveForm.d.ts +4 -4
  80. package/lib/components/grids/TMBlogAttachments.d.ts +2 -1
  81. package/lib/components/grids/TMBlogHeader.d.ts +1 -1
  82. package/lib/components/grids/TMBlogsPost.d.ts +1 -1
  83. package/lib/components/grids/TMBlogsPostUtils.d.ts +9 -9
  84. package/lib/components/grids/TMValidationItemsList.d.ts +2 -1
  85. package/lib/components/layout/panelManager/TMPanelManagerContainer.d.ts +2 -1
  86. package/lib/components/layout/panelManager/TMPanelManagerContainer.js +12 -12
  87. package/lib/components/layout/panelManager/TMPanelManagerContext.d.ts +2 -2
  88. package/lib/components/layout/panelManager/TMPanelManagerLoader.d.ts +2 -1
  89. package/lib/components/layout/panelManager/TMPanelManagerToolbar.d.ts +5 -6
  90. package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.d.ts +2 -2
  91. package/lib/components/layout/panelManager/TMPanelWrapper.d.ts +2 -2
  92. package/lib/components/pages/TMPage.d.ts +1 -1
  93. package/lib/components/query/TMQueryEditor.d.ts +14 -10
  94. package/lib/components/settings/SettingsAppearance.d.ts +2 -1
  95. package/lib/components/sidebar/TMAboutApp.d.ts +2 -1
  96. package/lib/components/sidebar/TMCommandsPanel.d.ts +4 -4
  97. package/lib/components/sidebar/TMHeader.d.ts +3 -3
  98. package/lib/components/viewers/TMDataListItemViewer.d.ts +3 -2
  99. package/lib/components/viewers/TMDataUserIdItemViewer.d.ts +3 -2
  100. package/lib/components/viewers/TMMidViewer.d.ts +2 -2
  101. package/lib/components/viewers/TMTidViewer.d.ts +2 -2
  102. package/lib/helper/SDKUI_Globals.d.ts +1 -0
  103. package/lib/helper/SDKUI_Globals.js +1 -0
  104. package/lib/helper/SDKUI_Localizator.d.ts +3 -0
  105. package/lib/helper/SDKUI_Localizator.js +30 -0
  106. package/lib/helper/TMAppUpdatedModal.d.ts +2 -1
  107. package/lib/helper/TMAppUpdatedModal.js +93 -93
  108. package/lib/helper/TMCommandsContextMenu.d.ts +1 -1
  109. package/lib/helper/TMIcons.d.ts +282 -281
  110. package/lib/helper/TMIcons.js +4 -1
  111. package/lib/helper/TMPdfViewer.d.ts +2 -1
  112. package/lib/helper/TMToppyMessage.d.ts +2 -2
  113. package/lib/helper/TMUtils.d.ts +10 -4
  114. package/lib/helper/helpers.d.ts +1 -1
  115. package/lib/helper/queryHelper.d.ts +15 -2
  116. package/lib/helper/queryHelper.js +52 -1
  117. package/lib/hooks/useInputDialog.d.ts +2 -1
  118. package/lib/services/platform_services.d.ts +3 -2
  119. package/package.json +1 -1
@@ -1,102 +1,118 @@
1
1
  import React from 'react';
2
2
  import { ResultTypes } from '@topconsultnpm/sdk-ts';
3
3
  import { TMColors } from '../../utils/theme';
4
- export declare const StyledDivHorizontal: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
5
- export declare const StyledMultiViewPanel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$isVisible"> & {
4
+ export declare const StyledDivHorizontal: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
5
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
6
+ }> & string;
7
+ export declare const StyledMultiViewPanel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
9
+ }, {
6
10
  $isVisible: boolean;
7
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$isVisible"> & {
8
- $isVisible: boolean;
9
- }, never>>> & string;
10
- export declare const StyledParagraph: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>>> & string;
11
- export declare const StyledToolbarForm: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
12
- export declare const ReferencesContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
13
- export declare const StyledReferenceButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$bgColor"> & {
14
- $bgColor?: string;
15
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$bgColor"> & {
11
+ }>> & string;
12
+ export declare const StyledParagraph: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "style"> & {
13
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
14
+ }> & string;
15
+ export declare const StyledToolbarForm: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
16
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
17
+ }> & string;
18
+ export declare const ReferencesContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
19
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
20
+ }> & string;
21
+ export declare const StyledReferenceButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
22
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
23
+ }, {
16
24
  $bgColor?: string;
17
- }, never>>> & string;
18
- export declare const StyledPanelPage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$background" | "$isOpen" | "$padding" | "$withMenu"> & {
19
- $isOpen?: boolean;
20
- $padding?: string;
21
- $background?: string;
22
- $withMenu?: boolean;
23
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$background" | "$isOpen" | "$padding" | "$withMenu"> & {
25
+ }>> & string;
26
+ export declare const StyledPanelPage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
27
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
28
+ }, {
24
29
  $isOpen?: boolean;
25
30
  $padding?: string;
26
31
  $background?: string;
27
32
  $withMenu?: boolean;
28
- }, never>>> & string;
29
- export declare const StyledClickableIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$disabled"> & {
33
+ }>> & string;
34
+ export declare const StyledClickableIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
35
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
36
+ }, {
30
37
  $disabled?: boolean;
31
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$disabled"> & {
32
- $disabled?: boolean;
33
- }, never>>> & string;
34
- export declare const StyledOffCanvasPanel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$isOpen" | "$mobileHeight" | "$width"> & {
38
+ }>> & string;
39
+ export declare const StyledOffCanvasPanel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
40
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
41
+ }, {
35
42
  $isOpen: boolean;
36
43
  $width?: string;
37
44
  $mobileHeight?: string;
38
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$isOpen" | "$mobileHeight" | "$width"> & {
39
- $isOpen: boolean;
40
- $width?: string;
41
- $mobileHeight?: string;
42
- }, never>>> & string;
43
- export declare const StyledOverlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$isOpen"> & {
44
- $isOpen: boolean;
45
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$isOpen"> & {
45
+ }>> & string;
46
+ export declare const StyledOverlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
47
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
48
+ }, {
46
49
  $isOpen: boolean;
47
- }, never>>> & string;
48
- export declare const StyledModalContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
49
- export declare const StyledResultTypeContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$resultType"> & {
50
+ }>> & string;
51
+ export declare const StyledModalContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
52
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
53
+ }> & string;
54
+ export declare const StyledResultTypeContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
55
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
56
+ }, {
50
57
  $resultType: ResultTypes;
51
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$resultType"> & {
52
- $resultType: ResultTypes;
53
- }, never>>> & string;
54
- export declare const StyledTooltipSeparatorItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, never>>> & string;
55
- export declare const StyledTooltipItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$color" | "$fontSize" | "$marginTop"> & {
56
- $color?: TMColors;
57
- $fontSize?: string;
58
- $marginTop?: string;
59
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$color" | "$fontSize" | "$marginTop"> & {
58
+ }>> & string;
59
+ export declare const StyledTooltipSeparatorItem: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "style"> & {
60
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
61
+ }> & string;
62
+ export declare const StyledTooltipItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
63
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
64
+ }, {
60
65
  $color?: TMColors;
61
66
  $fontSize?: string;
62
67
  $marginTop?: string;
63
- }, never>>> & string;
64
- export declare const StyledTooltipContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
65
- export declare const StyledDraggableDiv: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
66
- export declare const StyledBadge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$backgroundColor"> & {
67
- $backgroundColor: string;
68
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$backgroundColor"> & {
68
+ }>> & string;
69
+ export declare const StyledTooltipContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
70
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
71
+ }> & string;
72
+ export declare const StyledDraggableDiv: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
73
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
74
+ }> & string;
75
+ export declare const StyledBadge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
76
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
77
+ }, {
69
78
  $backgroundColor: string;
70
- }, never>>> & string;
71
- export declare const StyledDxGridGroupHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$backgroundColor"> & {
72
- $backgroundColor?: string;
73
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$backgroundColor"> & {
79
+ }>> & string;
80
+ export declare const StyledDxGridGroupHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
81
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
82
+ }, {
74
83
  $backgroundColor?: string;
75
- }, never>>> & string;
76
- export declare const cellRenderObjectIcon: (icon: any) => import("react/jsx-runtime").JSX.Element;
77
- export declare const StyledChartOverlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$backgroundColor"> & {
84
+ }>> & string;
85
+ export declare const cellRenderObjectIcon: (icon: any) => React.JSX.Element;
86
+ export declare const StyledChartOverlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
87
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
88
+ }, {
78
89
  $backgroundColor?: string;
79
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$backgroundColor"> & {
90
+ }>> & string;
91
+ export declare const StyledBtnLoadChart: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
92
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
93
+ }, {
80
94
  $backgroundColor?: string;
81
- }, never>>> & string;
82
- export declare const StyledBtnLoadChart: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$backgroundColor"> & {
83
- $backgroundColor?: string;
84
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$backgroundColor"> & {
85
- $backgroundColor?: string;
86
- }, never>>> & string;
87
- export declare const StyledFormButtonsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
88
- export declare const StyledToolbarCardContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
89
- export declare const StyledSpinner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
90
- export declare const StyledLoadingContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
91
- export declare const StyledAnimatedComponentScaleColor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$delay" | "$scale"> & {
95
+ }>> & string;
96
+ export declare const StyledFormButtonsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
97
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
98
+ }> & string;
99
+ export declare const StyledToolbarCardContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
100
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
101
+ }> & string;
102
+ export declare const StyledSpinner: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
103
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
104
+ }> & string;
105
+ export declare const StyledLoadingContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
106
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
107
+ }> & string;
108
+ export declare const StyledAnimatedComponentScaleColor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
109
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
110
+ }, {
92
111
  $delay?: string;
93
112
  $scale?: number;
94
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$delay" | "$scale"> & {
95
- $delay?: string;
96
- $scale?: number;
97
- }, never>>> & string;
98
- export declare const StyledAnimatedComponentOpacity: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$delay"> & {
99
- $delay?: string;
100
- }, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$delay"> & {
113
+ }>> & string;
114
+ export declare const StyledAnimatedComponentOpacity: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
115
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
116
+ }, {
101
117
  $delay?: string;
102
- }, never>>> & string;
118
+ }>> & string;
@@ -63,11 +63,12 @@ declare const TMAlertPosition: {
63
63
  readonly position: 'absolute';
64
64
  };
65
65
  };
66
- declare const ShowAlert: ({ mode, message, duration, title, position }: {
66
+ declare const ShowAlert: ({ mode, message, duration, title, tooltip, position }: {
67
67
  mode: keyof AlertModes;
68
68
  message: string;
69
69
  duration?: number;
70
70
  title?: string;
71
+ tooltip?: string;
71
72
  position?: keyof typeof TMAlertPosition;
72
73
  }) => void;
73
74
  export default ShowAlert;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React, { useState, useEffect } from 'react';
3
3
  import ReactDOM from 'react-dom/client';
4
- import { IconCloseCircle, IconInfo, IconSuccess, IconWarning } from '../../helper';
4
+ import { IconCloseCircle, IconInfo, IconSuccess, IconWarningCircle } from '../../helper';
5
5
  import { DeviceType, TMDeviceProvider, useDeviceType } from './TMDeviceProvider';
6
6
  const TMAlertPosition = {
7
7
  TOP_RIGHT: { top: '10px', right: '10px', position: 'absolute' },
@@ -20,7 +20,8 @@ const Mode = {
20
20
  color: 'transparent linear-gradient(272deg, #FFFFFF 0%, #EAD305 100%) 0% 0% no-repeat padding-box',
21
21
  borderColor: '#ba873d',
22
22
  textColor: '#6e5024',
23
- icon: _jsx(IconWarning, { fontSize: 16, color: '#F0AD4E' }),
23
+ // Icona tonda come le altre: concentrica al cerchio bianco, il triangolo sembrava decentrato
24
+ icon: _jsx(IconWarningCircle, { fontSize: 16, color: '#F0AD4E' }),
24
25
  },
25
26
  error: {
26
27
  variant: 'error',
@@ -45,7 +46,7 @@ const Mode = {
45
46
  },
46
47
  };
47
48
  // const TMAlert = ({ mode, duration = 5000, message, position = 'BOTTOM_CENTER' }: { mode: keyof AlertModes, duration?: number, message: string, position?: keyof typeof TMAlertPosition }) => {
48
- const TMAlert = ({ mode, duration = 1000, title, message, position = 'BOTTOM_RIGHT' }) => {
49
+ const TMAlert = ({ mode, duration = 1000, title, message, tooltip, position = 'BOTTOM_RIGHT' }) => {
49
50
  const deviceType = useDeviceType();
50
51
  const [container] = useState(document.getElementsByClassName('tm-alert-temporary-container'));
51
52
  useEffect(() => {
@@ -61,15 +62,15 @@ const TMAlert = ({ mode, duration = 1000, title, message, position = 'BOTTOM_RIG
61
62
  const alertContainerStyle = TMAlertPosition[position];
62
63
  // Su mobile l'alert e' piu' basso e con testo piu' piccolo: la versione desktop copre troppo schermo.
63
64
  const isMobile = deviceType === DeviceType.MOBILE;
64
- return (_jsx("div", { style: { width: '100%', paddingTop: '3px', ...alertContainerStyle }, children: _jsx("div", { className: 'tm-alert-animation-style', style: { animationDuration: `${duration}ms`, position: 'relative', float: 'right', zIndex: '20000999', width: isMobile ? 'min(300px, calc(100vw - 20px))' : '356px', height: isMobile ? '58px' : '86px', borderRadius: '8px', overflow: 'hidden', border: '2px white solid', boxShadow: '0px 3px 6px #00000029' }, children: _jsx("div", { className: 'tm-alert-animation-style', style: { animationDuration: `${duration}ms` }, children: _jsxs("div", { className: 'tm-alert-container', style: { background: Mode[mode].color, animationDuration: `${duration}ms` }, children: [_jsxs("div", { className: "tm-alert-context", style: { position: 'relative' }, children: [_jsx("div", { className: 'tm-alert-icon', style: { position: 'absolute', top: isMobile ? '8px' : '12px', left: isMobile ? '8px' : '12px', paddingTop: '1px' }, children: Mode[mode].icon }), _jsx("div", { style: { color: Mode[mode].textColor, position: 'absolute', top: isMobile ? '7px' : '15px', left: isMobile ? '38px' : '45px', textAlign: 'left', fontSize: isMobile ? '0.85rem' : '1.1rem', fontWeight: 'bold', maxWidth: isMobile ? 'calc(100% - 46px)' : '280px', ...(isMobile && { whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis' }) }, children: title }), _jsx("div", { style: { color: Mode[mode].textColor, position: 'absolute', top: isMobile ? '25px' : '35px', left: isMobile ? '38px' : '45px', textAlign: 'left', fontSize: isMobile ? '0.8rem' : '1rem', maxWidth: isMobile ? 'calc(100% - 46px)' : '280px', ...(isMobile && { whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis' }) }, children: message })] }), _jsx("div", { className: 'tm-alert-loading', style: { backgroundImage: `linear-gradient(to right, ${Mode[mode].borderColor}, ${Mode[mode].textColor})`, animationDuration: `${duration}ms` } })] }) }) }) }));
65
+ return (_jsx("div", { style: { width: '100%', paddingTop: '3px', ...alertContainerStyle }, children: _jsx("div", { className: 'tm-alert-animation-style', title: tooltip, style: { animationDuration: `${duration}ms`, position: 'relative', float: 'right', zIndex: '20000999', width: isMobile ? 'min(300px, calc(100vw - 20px))' : '356px', height: isMobile ? '58px' : '86px', borderRadius: '8px', overflow: 'hidden', border: '2px white solid', boxShadow: '0px 3px 6px #00000029' }, children: _jsx("div", { className: 'tm-alert-animation-style', style: { animationDuration: `${duration}ms` }, children: _jsxs("div", { className: 'tm-alert-container', style: { background: Mode[mode].color, animationDuration: `${duration}ms` }, children: [_jsxs("div", { className: "tm-alert-context", style: { position: 'relative' }, children: [_jsx("div", { className: 'tm-alert-icon', style: { position: 'absolute', top: isMobile ? '8px' : '12px', left: isMobile ? '8px' : '12px' }, children: Mode[mode].icon }), _jsx("div", { style: { color: Mode[mode].textColor, position: 'absolute', top: isMobile ? '7px' : '15px', left: isMobile ? '38px' : '45px', textAlign: 'left', fontSize: isMobile ? '0.85rem' : '1.1rem', fontWeight: 'bold', maxWidth: isMobile ? 'calc(100% - 46px)' : '280px', ...(isMobile && { whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis' }) }, children: title }), _jsx("div", { style: { color: Mode[mode].textColor, position: 'absolute', top: isMobile ? '25px' : '35px', left: isMobile ? '38px' : '45px', textAlign: 'left', fontSize: isMobile ? '0.8rem' : '1rem', maxWidth: isMobile ? 'calc(100% - 46px)' : '280px', ...(isMobile ? { whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis' } : { display: '-webkit-box', WebkitLineClamp: 2, WebkitBoxOrient: 'vertical', overflow: 'hidden', wordBreak: 'break-word' }) }, children: message })] }), _jsx("div", { className: 'tm-alert-loading', style: { backgroundImage: `linear-gradient(to right, ${Mode[mode].borderColor}, ${Mode[mode].textColor})`, animationDuration: `${duration}ms` } })] }) }) }) }));
65
66
  };
66
- const ShowAlert = ({ mode, message, duration, title, position = 'BOTTOM_RIGHT' }) => {
67
+ const ShowAlert = ({ mode, message, duration, title, tooltip, position = 'BOTTOM_RIGHT' }) => {
67
68
  let container = document.createElement('div');
68
69
  container.setAttribute("class", 'tm-alert-temporary-container');
69
70
  document.body.appendChild(container);
70
71
  // container.style.position = 'relative'
71
72
  container.style.display = 'flex';
72
73
  const root = ReactDOM.createRoot(container);
73
- root.render(_jsx(React.StrictMode, { children: _jsx(TMDeviceProvider, { children: _jsx(TMAlert, { message: message, mode: mode, duration: duration, title: title, position: position }) }) }));
74
+ root.render(_jsx(React.StrictMode, { children: _jsx(TMDeviceProvider, { children: _jsx(TMAlert, { message: message, mode: mode, duration: duration, title: title, tooltip: tooltip, position: position }) }) }));
74
75
  };
75
76
  export default ShowAlert;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  interface IProps {
3
3
  icon: ReactNode;
4
4
  text: string;
@@ -6,5 +6,5 @@ interface IProps {
6
6
  }
7
7
  declare const TMCounterBar: ({ items }: {
8
8
  items: IProps[];
9
- }) => import("react/jsx-runtime").JSX.Element;
9
+ }) => React.JSX.Element;
10
10
  export default TMCounterBar;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  export declare const formatCount: (value: number | string | undefined) => string;
2
3
  export declare enum CounterItemKey {
3
4
  allItems = "allItems",
@@ -21,5 +22,5 @@ export interface ITMCounterContainerProps {
21
22
  textColorItem?: string;
22
23
  hoverColorItem?: string;
23
24
  }
24
- declare const TMCounterContainer: (props: ITMCounterContainerProps) => import("react/jsx-runtime").JSX.Element | undefined;
25
+ declare const TMCounterContainer: (props: ITMCounterContainerProps) => React.JSX.Element | undefined;
25
26
  export default TMCounterContainer;
@@ -7,5 +7,5 @@ type TMCustomButtonProps = {
7
7
  selectedItems?: Array<any>;
8
8
  onClose?: () => void;
9
9
  };
10
- declare const TMCustomButton: (props: TMCustomButtonProps) => false | import("react/jsx-runtime").JSX.Element;
10
+ declare const TMCustomButton: (props: TMCustomButtonProps) => false | import("react").JSX.Element;
11
11
  export default TMCustomButton;