@topconsultnpm/sdkui-react 6.22.0-dev4.22 → 6.22.0-dev4.23

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 (114) 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/TMCounterBar.d.ts +2 -2
  5. package/lib/components/base/TMCounterContainer.d.ts +2 -1
  6. package/lib/components/base/TMCustomButton.d.ts +1 -1
  7. package/lib/components/base/TMDataGrid.js +219 -219
  8. package/lib/components/base/TMDataGridExportForm.d.ts +2 -1
  9. package/lib/components/base/TMFileManager.d.ts +2 -1
  10. package/lib/components/base/TMFileManagerDataGridView.d.ts +2 -1
  11. package/lib/components/base/TMFileManagerThumbnailItems.d.ts +1 -1
  12. package/lib/components/base/TMFileManagerThumbnailsView.d.ts +1 -1
  13. package/lib/components/base/TMFileManagerUtils.d.ts +4 -6
  14. package/lib/components/base/TMLayout.d.ts +4 -4
  15. package/lib/components/base/TMList.d.ts +2 -1
  16. package/lib/components/base/TMListView.d.ts +1 -1
  17. package/lib/components/base/TMSpinner.d.ts +3 -2
  18. package/lib/components/base/TMTab.d.ts +4 -3
  19. package/lib/components/base/TMTabControl.js +208 -208
  20. package/lib/components/base/TMTooltip.d.ts +1 -1
  21. package/lib/components/base/TMTreeView.d.ts +16 -8
  22. package/lib/components/base/TMTreeView.js +31 -5
  23. package/lib/components/base/TMUserAvatar.d.ts +2 -1
  24. package/lib/components/base/TMVilViewer.d.ts +2 -1
  25. package/lib/components/base/TMWaitPanel.d.ts +3 -2
  26. package/lib/components/base/waitPanel/TMWaitPanelView.d.ts +2 -1
  27. package/lib/components/base/waitPanel/TMWaitPanelView.js +207 -207
  28. package/lib/components/choosers/TMDynDataListItemChooser.d.ts +1 -1
  29. package/lib/components/choosers/TMInvoiceRetrieveFormats.d.ts +2 -1
  30. package/lib/components/choosers/TMOrderRetrieveFormats.d.ts +2 -1
  31. package/lib/components/choosers/TMQuickSearchInfo.d.ts +2 -1
  32. package/lib/components/choosers/TMRelationChooser.d.ts +3 -3
  33. package/lib/components/choosers/TMUserChooser.d.ts +2 -2
  34. package/lib/components/editors/TMEditorStyled.d.ts +20 -42
  35. package/lib/components/editors/TMFormulaEditor.d.ts +1 -1
  36. package/lib/components/editors/TMHtmlContentDisplay.d.ts +2 -1
  37. package/lib/components/editors/TMHtmlEditor.d.ts +2 -1
  38. package/lib/components/editors/TMTreeDropDown.d.ts +1 -1
  39. package/lib/components/features/assistant/TMToppyDraggableHelpCenter.d.ts +1 -1
  40. package/lib/components/features/blog/TMBlogCommentForm.d.ts +2 -1
  41. package/lib/components/features/documents/TMDcmtForm.js +31 -31
  42. package/lib/components/features/documents/TMDcmtFormActionButtons.d.ts +1 -1
  43. package/lib/components/features/documents/TMDcmtIcon.d.ts +2 -1
  44. package/lib/components/features/documents/TMDcmtPreview.d.ts +8 -6
  45. package/lib/components/features/documents/TMDcmtTasks.d.ts +2 -1
  46. package/lib/components/features/documents/TMDragDropOverlay.d.ts +1 -1
  47. package/lib/components/features/documents/TMFileUploader.js +21 -21
  48. package/lib/components/features/documents/TMMasterDetailDcmts.js +62 -6
  49. package/lib/components/features/documents/TMMasterInfoFields.d.ts +2 -1
  50. package/lib/components/features/documents/TMMergeToPdfForm.d.ts +2 -1
  51. package/lib/components/features/documents/TMMultiMasterDetailDcmtsForm.d.ts +2 -1
  52. package/lib/components/features/documents/TMMultiMasterDetailDcmtsUtils.d.ts +4 -4
  53. package/lib/components/features/documents/TMRelationViewer.d.ts +2 -2
  54. package/lib/components/features/documents/TMRelationViewer.js +13 -3
  55. package/lib/components/features/documents/relationTreeState.d.ts +2 -0
  56. package/lib/components/features/search/TMDcmtCheckoutInfoForm.d.ts +2 -1
  57. package/lib/components/features/search/TMMetadataOutputForm.d.ts +2 -1
  58. package/lib/components/features/search/TMMetadataSorterForm.d.ts +2 -1
  59. package/lib/components/features/search/TMSavedQuerySelector.d.ts +2 -2
  60. package/lib/components/features/search/TMSearch.d.ts +2 -1
  61. package/lib/components/features/search/TMSearchQueryPanel.d.ts +9 -3
  62. package/lib/components/features/search/TMSearchResult.js +4 -5
  63. package/lib/components/features/search/TMSearchResultFloatingActionButton.d.ts +1 -1
  64. package/lib/components/features/search/TMSignatureInfoContent.d.ts +2 -1
  65. package/lib/components/features/search/TMViewHistoryDcmt.d.ts +2 -1
  66. package/lib/components/features/tasks/TMTaskForm.d.ts +1 -1
  67. package/lib/components/features/tasks/TMTaskFormUtils.d.ts +10 -10
  68. package/lib/components/features/tasks/TMTasksAgenda.d.ts +1 -1
  69. package/lib/components/features/tasks/TMTasksCalendar.d.ts +1 -1
  70. package/lib/components/features/tasks/TMTasksHeader.d.ts +1 -1
  71. package/lib/components/features/tasks/TMTasksPanelContent.d.ts +1 -1
  72. package/lib/components/features/tasks/TMTasksUtilsView.d.ts +5 -5
  73. package/lib/components/features/tasks/TMTasksView.d.ts +1 -1
  74. package/lib/components/features/wg/TMWGsCopyMoveForm.d.ts +3 -2
  75. package/lib/components/features/wg/TMWGsCopyMoveForm.js +9 -9
  76. package/lib/components/features/workflow/TMWorkflowPopup.d.ts +8 -7
  77. package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.d.ts +3 -1
  78. package/lib/components/forms/Login/ChangePasswordInputs.d.ts +3 -1
  79. package/lib/components/forms/Login/Chooser.d.ts +2 -2
  80. package/lib/components/forms/TMChooserForm.d.ts +2 -1
  81. package/lib/components/forms/TMSaveForm.d.ts +4 -4
  82. package/lib/components/grids/TMBlogAttachments.d.ts +2 -1
  83. package/lib/components/grids/TMBlogHeader.d.ts +1 -1
  84. package/lib/components/grids/TMBlogsPost.d.ts +1 -1
  85. package/lib/components/grids/TMBlogsPostUtils.d.ts +9 -9
  86. package/lib/components/grids/TMValidationItemsList.d.ts +2 -1
  87. package/lib/components/layout/panelManager/TMPanelManagerContainer.d.ts +2 -1
  88. package/lib/components/layout/panelManager/TMPanelManagerContainer.js +12 -12
  89. package/lib/components/layout/panelManager/TMPanelManagerContext.d.ts +2 -2
  90. package/lib/components/layout/panelManager/TMPanelManagerLoader.d.ts +2 -1
  91. package/lib/components/layout/panelManager/TMPanelManagerToolbar.d.ts +5 -6
  92. package/lib/components/layout/panelManager/TMPanelManagerWithPersistenceProvider.d.ts +2 -2
  93. package/lib/components/layout/panelManager/TMPanelWrapper.d.ts +2 -2
  94. package/lib/components/pages/TMPage.d.ts +1 -1
  95. package/lib/components/query/TMQueryEditor.d.ts +14 -10
  96. package/lib/components/settings/SettingsAppearance.d.ts +2 -1
  97. package/lib/components/sidebar/TMAboutApp.d.ts +2 -1
  98. package/lib/components/sidebar/TMCommandsPanel.d.ts +4 -4
  99. package/lib/components/sidebar/TMHeader.d.ts +3 -3
  100. package/lib/components/viewers/TMDataListItemViewer.d.ts +3 -2
  101. package/lib/components/viewers/TMDataUserIdItemViewer.d.ts +3 -2
  102. package/lib/components/viewers/TMMidViewer.d.ts +2 -2
  103. package/lib/components/viewers/TMTidViewer.d.ts +2 -2
  104. package/lib/helper/TMAppUpdatedModal.d.ts +2 -1
  105. package/lib/helper/TMAppUpdatedModal.js +93 -93
  106. package/lib/helper/TMCommandsContextMenu.d.ts +1 -1
  107. package/lib/helper/TMIcons.d.ts +281 -281
  108. package/lib/helper/TMPdfViewer.d.ts +2 -1
  109. package/lib/helper/TMToppyMessage.d.ts +2 -2
  110. package/lib/helper/TMUtils.d.ts +10 -4
  111. package/lib/helper/helpers.d.ts +1 -1
  112. package/lib/hooks/useInputDialog.d.ts +2 -1
  113. package/lib/services/platform_services.d.ts +3 -2
  114. package/package.json +1 -1
@@ -14,245 +14,245 @@ const getProgressColor = () => {
14
14
  catch { /* nessuna sessione: resta il default */ }
15
15
  return getAppModuleButtonColors(appModuleID).base;
16
16
  };
17
- const fadeIn = keyframes `
18
- from { opacity: 0; }
19
- to { opacity: 1; }
17
+ const fadeIn = keyframes `
18
+ from { opacity: 0; }
19
+ to { opacity: 1; }
20
20
  `;
21
21
  // Sfondo su uno pseudo-elemento: il layer composito dell'animazione sgranerebbe Toppy.
22
- const StyledOverlay = styled.div `
23
- position: fixed;
24
- inset: 0;
25
- z-index: ${props => props.$zIndex};
26
-
27
- &::before {
28
- content: '';
29
- position: absolute;
30
- inset: 0;
31
- background-color: rgba(17, 24, 39, 0.16);
32
- animation: ${fadeIn} 140ms ease-out;
33
- }
22
+ const StyledOverlay = styled.div `
23
+ position: fixed;
24
+ inset: 0;
25
+ z-index: ${props => props.$zIndex};
26
+
27
+ &::before {
28
+ content: '';
29
+ position: absolute;
30
+ inset: 0;
31
+ background-color: rgba(17, 24, 39, 0.16);
32
+ animation: ${fadeIn} 140ms ease-out;
33
+ }
34
34
  `;
35
- const StyledCard = styled.div `
36
- position: absolute;
37
- top: 50%;
38
- left: 50%;
39
- transform: translate(-50%, -50%);
40
- width: 420px;
41
- max-width: calc(100% - 24px);
42
- max-height: calc(100% - 24px);
43
- overflow-y: auto;
44
- box-sizing: border-box;
45
- padding: 22px 24px 18px 24px;
46
- background: #ffffff;
47
- border-radius: 16px;
48
- box-shadow: 0 18px 48px rgba(16, 24, 40, 0.22);
49
- font-family: inherit;
35
+ const StyledCard = styled.div `
36
+ position: absolute;
37
+ top: 50%;
38
+ left: 50%;
39
+ transform: translate(-50%, -50%);
40
+ width: 420px;
41
+ max-width: calc(100% - 24px);
42
+ max-height: calc(100% - 24px);
43
+ overflow-y: auto;
44
+ box-sizing: border-box;
45
+ padding: 22px 24px 18px 24px;
46
+ background: #ffffff;
47
+ border-radius: 16px;
48
+ box-shadow: 0 18px 48px rgba(16, 24, 40, 0.22);
49
+ font-family: inherit;
50
50
  `;
51
- const StyledHeader = styled.div `
52
- display: flex;
53
- flex-direction: row;
54
- align-items: center;
55
- gap: 16px;
51
+ const StyledHeader = styled.div `
52
+ display: flex;
53
+ flex-direction: row;
54
+ align-items: center;
55
+ gap: 16px;
56
56
  `;
57
57
  // Ritaglio dal contenitore, non object-fit: cover darebbe un'altezza frazionaria e sgranerebbe l'immagine.
58
- const StyledToppyClip = styled.div `
59
- height: 61px;
60
- width: 68px;
61
- overflow: hidden;
62
- flex: 0 0 auto;
58
+ const StyledToppyClip = styled.div `
59
+ height: 61px;
60
+ width: 68px;
61
+ overflow: hidden;
62
+ flex: 0 0 auto;
63
63
  `;
64
- const StyledToppy = styled.img `
65
- display: block;
66
- width: 68px;
67
- height: 79px;
68
- user-select: none;
69
- -webkit-user-drag: none;
64
+ const StyledToppy = styled.img `
65
+ display: block;
66
+ width: 68px;
67
+ height: 79px;
68
+ user-select: none;
69
+ -webkit-user-drag: none;
70
70
  `;
71
- const StyledHeaderText = styled.div `
72
- flex: 1;
73
- min-width: 0;
71
+ const StyledHeaderText = styled.div `
72
+ flex: 1;
73
+ min-width: 0;
74
74
  `;
75
- const StyledTitle = styled.div `
76
- font-size: 17px;
77
- font-weight: 600;
78
- color: #1f2937;
79
- line-height: 1.3;
80
- overflow-wrap: anywhere;
75
+ const StyledTitle = styled.div `
76
+ font-size: 17px;
77
+ font-weight: 600;
78
+ color: #1f2937;
79
+ line-height: 1.3;
80
+ overflow-wrap: anywhere;
81
81
  `;
82
- const StyledSubtitle = styled.div `
83
- margin-top: 3px;
84
- font-size: 13px;
85
- color: #6b7280;
86
- line-height: 1.3;
87
- font-variant-numeric: tabular-nums;
88
- overflow-wrap: anywhere;
82
+ const StyledSubtitle = styled.div `
83
+ margin-top: 3px;
84
+ font-size: 13px;
85
+ color: #6b7280;
86
+ line-height: 1.3;
87
+ font-variant-numeric: tabular-nums;
88
+ overflow-wrap: anywhere;
89
89
  `;
90
90
  // Didascalia di una barra: con due avanzamenti e' l'unica cosa che dice quale sia quale.
91
- const StyledBarLabel = styled.div `
92
- margin-top: 18px;
93
- font-size: 11px;
94
- font-weight: 700;
95
- letter-spacing: 0.04em;
96
- text-transform: uppercase;
97
- color: #9aa3b2;
98
- overflow: hidden;
99
- text-overflow: ellipsis;
100
- white-space: nowrap;
91
+ const StyledBarLabel = styled.div `
92
+ margin-top: 18px;
93
+ font-size: 11px;
94
+ font-weight: 700;
95
+ letter-spacing: 0.04em;
96
+ text-transform: uppercase;
97
+ color: #9aa3b2;
98
+ overflow: hidden;
99
+ text-overflow: ellipsis;
100
+ white-space: nowrap;
101
101
  `;
102
- const StyledPercentRow = styled.div `
103
- display: flex;
104
- flex-direction: row;
105
- align-items: flex-end;
106
- justify-content: space-between;
107
- flex-wrap: wrap;
108
- gap: 8px 12px;
109
- margin-top: ${props => (props.$hasLabel ? '4px' : '18px')};
102
+ const StyledPercentRow = styled.div `
103
+ display: flex;
104
+ flex-direction: row;
105
+ align-items: flex-end;
106
+ justify-content: space-between;
107
+ flex-wrap: wrap;
108
+ gap: 8px 12px;
109
+ margin-top: ${props => (props.$hasLabel ? '4px' : '18px')};
110
110
  `;
111
- const StyledPercent = styled.div `
112
- font-size: 34px;
113
- font-weight: 700;
114
- color: #111827;
115
- line-height: 1;
116
- font-variant-numeric: tabular-nums;
111
+ const StyledPercent = styled.div `
112
+ font-size: 34px;
113
+ font-weight: 700;
114
+ color: #111827;
115
+ line-height: 1;
116
+ font-variant-numeric: tabular-nums;
117
117
  `;
118
- const StyledCounters = styled.div `
119
- display: flex;
120
- flex-direction: row;
121
- align-items: center;
122
- gap: 6px;
123
- padding-bottom: 3px;
118
+ const StyledCounters = styled.div `
119
+ display: flex;
120
+ flex-direction: row;
121
+ align-items: center;
122
+ gap: 6px;
123
+ padding-bottom: 3px;
124
124
  `;
125
- const StyledPill = styled.span `
126
- display: inline-flex;
127
- flex-direction: row;
128
- align-items: center;
129
- gap: 4px;
130
- padding: 2px 8px 2px 6px;
131
- border-radius: 999px;
132
- font-size: 12px;
133
- font-weight: 600;
134
- line-height: 18px;
135
- color: ${props => props.$color};
136
- background: ${props => props.$background};
137
- font-variant-numeric: tabular-nums;
138
-
139
- svg { flex: 0 0 auto; }
125
+ const StyledPill = styled.span `
126
+ display: inline-flex;
127
+ flex-direction: row;
128
+ align-items: center;
129
+ gap: 4px;
130
+ padding: 2px 8px 2px 6px;
131
+ border-radius: 999px;
132
+ font-size: 12px;
133
+ font-weight: 600;
134
+ line-height: 18px;
135
+ color: ${props => props.$color};
136
+ background: ${props => props.$background};
137
+ font-variant-numeric: tabular-nums;
138
+
139
+ svg { flex: 0 0 auto; }
140
140
  `;
141
141
  // Fratello della card, non figlio: l'overflow della card lo taglierebbe. Coordinate dell'overlay, calcolate all'apertura.
142
- const StyledPopover = styled.div `
143
- display: none;
144
- position: absolute;
145
- width: 320px;
146
- max-width: calc(100% - 24px);
147
- overflow-y: auto;
148
- box-sizing: border-box;
149
- padding: 10px 12px;
150
- background: #ffffff;
151
- border-left: 3px solid ${props => props.$accent};
152
- border-radius: 10px;
153
- box-shadow: 0 10px 30px rgba(16, 24, 40, 0.22);
154
- font-size: 12px;
155
- color: #374151;
156
-
157
- ul { margin: 6px 0 0 0; padding: 0; list-style: none; }
158
- li { padding: 4px 0; border-top: 1px solid #eef1f6; overflow-wrap: anywhere; line-height: 1.35; }
159
- li:first-child { border-top: none; }
160
- li.tm-wait-panel-more { color: #8a94a6; font-style: italic; }
142
+ const StyledPopover = styled.div `
143
+ display: none;
144
+ position: absolute;
145
+ width: 320px;
146
+ max-width: calc(100% - 24px);
147
+ overflow-y: auto;
148
+ box-sizing: border-box;
149
+ padding: 10px 12px;
150
+ background: #ffffff;
151
+ border-left: 3px solid ${props => props.$accent};
152
+ border-radius: 10px;
153
+ box-shadow: 0 10px 30px rgba(16, 24, 40, 0.22);
154
+ font-size: 12px;
155
+ color: #374151;
156
+
157
+ ul { margin: 6px 0 0 0; padding: 0; list-style: none; }
158
+ li { padding: 4px 0; border-top: 1px solid #eef1f6; overflow-wrap: anywhere; line-height: 1.35; }
159
+ li:first-child { border-top: none; }
160
+ li.tm-wait-panel-more { color: #8a94a6; font-style: italic; }
161
161
  `;
162
- const StyledPopoverTitle = styled.div `
163
- font-size: 11px;
164
- font-weight: 700;
165
- letter-spacing: 0.04em;
166
- text-transform: uppercase;
167
- color: ${props => props.$color};
162
+ const StyledPopoverTitle = styled.div `
163
+ font-size: 11px;
164
+ font-weight: 700;
165
+ letter-spacing: 0.04em;
166
+ text-transform: uppercase;
167
+ color: ${props => props.$color};
168
168
  `;
169
169
  /** Tempo per spostare il mouse dalla pill al popover. */
170
170
  const POPOVER_HIDE_DELAY_MS = 250;
171
- const StyledTrack = styled.div `
172
- margin-top: 12px;
173
- width: 100%;
174
- height: 8px;
175
- border-radius: 999px;
176
- background: #e8edf4;
177
- overflow: hidden;
171
+ const StyledTrack = styled.div `
172
+ margin-top: 12px;
173
+ width: 100%;
174
+ height: 8px;
175
+ border-radius: 999px;
176
+ background: #e8edf4;
177
+ overflow: hidden;
178
178
  `;
179
- const StyledFill = styled.div `
180
- width: 100%;
181
- height: 100%;
182
- background: ${props => props.$color};
183
- transform: scaleX(0);
184
- transform-origin: left center;
185
- transition: transform 120ms linear;
186
- will-change: transform;
179
+ const StyledFill = styled.div `
180
+ width: 100%;
181
+ height: 100%;
182
+ background: ${props => props.$color};
183
+ transform: scaleX(0);
184
+ transform-origin: left center;
185
+ transition: transform 120ms linear;
186
+ will-change: transform;
187
187
  `;
188
- const StyledTimeRow = styled.div `
189
- display: flex;
190
- flex-direction: row;
191
- align-items: center;
192
- justify-content: space-between;
193
- gap: 12px;
194
- margin-top: 8px;
195
- font-size: 12px;
196
- color: #8a94a6;
197
- font-variant-numeric: tabular-nums;
188
+ const StyledTimeRow = styled.div `
189
+ display: flex;
190
+ flex-direction: row;
191
+ align-items: center;
192
+ justify-content: space-between;
193
+ gap: 12px;
194
+ margin-top: 8px;
195
+ font-size: 12px;
196
+ color: #8a94a6;
197
+ font-variant-numeric: tabular-nums;
198
198
  `;
199
199
  // Seconda barra: come la principale ma piu' piccola e in tono minore.
200
- const StyledSecondary = styled.div `
201
- margin-top: ${props => (props.$hasLabel ? '4px' : '14px')};
200
+ const StyledSecondary = styled.div `
201
+ margin-top: ${props => (props.$hasLabel ? '4px' : '14px')};
202
202
  `;
203
- const StyledSecondaryRow = styled.div `
204
- display: flex;
205
- flex-direction: row;
206
- align-items: baseline;
207
- justify-content: space-between;
208
- gap: 12px;
209
- font-size: 12px;
210
- color: #6b7280;
211
- font-variant-numeric: tabular-nums;
203
+ const StyledSecondaryRow = styled.div `
204
+ display: flex;
205
+ flex-direction: row;
206
+ align-items: baseline;
207
+ justify-content: space-between;
208
+ gap: 12px;
209
+ font-size: 12px;
210
+ color: #6b7280;
211
+ font-variant-numeric: tabular-nums;
212
212
  `;
213
- const StyledSecondaryText = styled.span `
214
- overflow: hidden;
215
- text-overflow: ellipsis;
216
- white-space: nowrap;
213
+ const StyledSecondaryText = styled.span `
214
+ overflow: hidden;
215
+ text-overflow: ellipsis;
216
+ white-space: nowrap;
217
217
  `;
218
- const StyledSecondaryTrack = styled.div `
219
- margin-top: 5px;
220
- width: 100%;
221
- height: 5px;
222
- border-radius: 999px;
223
- background: #eef1f6;
224
- overflow: hidden;
218
+ const StyledSecondaryTrack = styled.div `
219
+ margin-top: 5px;
220
+ width: 100%;
221
+ height: 5px;
222
+ border-radius: 999px;
223
+ background: #eef1f6;
224
+ overflow: hidden;
225
225
  `;
226
- const StyledSecondaryFill = styled.div `
227
- width: 100%;
228
- height: 100%;
229
- background: ${props => props.$color};
230
- opacity: 0.55;
231
- transform: scaleX(0);
232
- transform-origin: left center;
233
- transition: transform 120ms linear;
234
- will-change: transform;
226
+ const StyledSecondaryFill = styled.div `
227
+ width: 100%;
228
+ height: 100%;
229
+ background: ${props => props.$color};
230
+ opacity: 0.55;
231
+ transform: scaleX(0);
232
+ transform-origin: left center;
233
+ transition: transform 120ms linear;
234
+ will-change: transform;
235
235
  `;
236
- const StyledFooter = styled.div `
237
- display: flex;
238
- flex-direction: row;
239
- justify-content: flex-end;
240
- margin-top: 18px;
236
+ const StyledFooter = styled.div `
237
+ display: flex;
238
+ flex-direction: row;
239
+ justify-content: flex-end;
240
+ margin-top: 18px;
241
241
  `;
242
- const StyledAbortButton = styled.button `
243
- padding: 9px 18px;
244
- border: 1px solid #d5dbe5;
245
- border-radius: 10px;
246
- background: #ffffff;
247
- color: #374151;
248
- font-size: 13px;
249
- font-family: inherit;
250
- cursor: pointer;
251
- transition: background-color 120ms ease, border-color 120ms ease;
252
-
253
- &:hover:not(:disabled) { background: #f3f5f9; border-color: #c3cbd8; }
254
- &:active:not(:disabled) { background: #e9edf4; }
255
- &:disabled { cursor: default; opacity: 0.55; }
242
+ const StyledAbortButton = styled.button `
243
+ padding: 9px 18px;
244
+ border: 1px solid #d5dbe5;
245
+ border-radius: 10px;
246
+ background: #ffffff;
247
+ color: #374151;
248
+ font-size: 13px;
249
+ font-family: inherit;
250
+ cursor: pointer;
251
+ transition: background-color 120ms ease, border-color 120ms ease;
252
+
253
+ &:hover:not(:disabled) { background: #f3f5f9; border-color: #c3cbd8; }
254
+ &:active:not(:disabled) { background: #e9edf4; }
255
+ &:disabled { cursor: default; opacity: 0.55; }
256
256
  `;
257
257
  const IconOk = () => (_jsx("svg", { width: '13', height: '13', viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '3', strokeLinecap: 'round', strokeLinejoin: 'round', children: _jsx("polyline", { points: '20 6 9 17 4 12' }) }));
258
258
  const IconWarning = () => (_jsxs("svg", { width: '13', height: '13', viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '2.4', strokeLinecap: 'round', strokeLinejoin: 'round', children: [_jsx("path", { d: 'M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0Z' }), _jsx("line", { x1: '12', y1: '9', x2: '12', y2: '13' }), _jsx("line", { x1: '12', y1: '17', x2: '12.01', y2: '17' })] }));
@@ -41,4 +41,4 @@ interface ITMDynDataListItemChooserFormProps extends ITMChooserFormProps<DataLis
41
41
  /** Se presente, sono i parametri da passare alla query per recuperare il dataSource */
42
42
  queryParamsDynDataList?: string[];
43
43
  }
44
- export declare const TMDynDataListItemChooserForm: (props: ITMDynDataListItemChooserFormProps) => import("react/jsx-runtime").JSX.Element;
44
+ export declare const TMDynDataListItemChooserForm: (props: ITMDynDataListItemChooserFormProps) => React.JSX.Element;
@@ -1,4 +1,5 @@
1
+ import React from 'react';
1
2
  import { InvoiceRetrieveFormats } from '@topconsultnpm/sdk-ts';
2
3
  import { ITMEnumDataBinding } from '../../ts';
3
- declare const TMInvoiceRetrieveFormats: ({ value, valueOrig, onValueChanged, valuesToExclude, label, width }: ITMEnumDataBinding<InvoiceRetrieveFormats>) => import("react/jsx-runtime").JSX.Element;
4
+ declare const TMInvoiceRetrieveFormats: ({ value, valueOrig, onValueChanged, valuesToExclude, label, width }: ITMEnumDataBinding<InvoiceRetrieveFormats>) => React.JSX.Element;
4
5
  export default TMInvoiceRetrieveFormats;
@@ -1,4 +1,5 @@
1
+ import React from 'react';
1
2
  import { OrderRetrieveFormats } from '@topconsultnpm/sdk-ts';
2
3
  import { ITMEnumDataBinding } from '../../ts';
3
- declare const TMOrderRetrieveFormats: ({ value, valueOrig, onValueChanged, valuesToExclude, label, width }: ITMEnumDataBinding<OrderRetrieveFormats>) => import("react/jsx-runtime").JSX.Element;
4
+ declare const TMOrderRetrieveFormats: ({ value, valueOrig, onValueChanged, valuesToExclude, label, width }: ITMEnumDataBinding<OrderRetrieveFormats>) => React.JSX.Element;
4
5
  export default TMOrderRetrieveFormats;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { TMEditorButtonData } from '../base/TMEditorBase';
2
3
  interface ITMQuickSearchInfo {
3
4
  /** Tipo documento della ricerca rapida: serve a ricostruire la ricerca di sistema con tutti i documenti */
@@ -7,6 +8,6 @@ interface ITMQuickSearchInfo {
7
8
  }
8
9
  export declare const useTMQuickSearchInfo: ({ tid, sqdId }: ITMQuickSearchInfo) => {
9
10
  infoButton: TMEditorButtonData | undefined;
10
- detailForm: import("react/jsx-runtime").JSX.Element | null;
11
+ detailForm: React.JSX.Element | null;
11
12
  };
12
13
  export {};
@@ -19,13 +19,13 @@ export declare const TMRelationIdViewer: ({ relationType, relationId, showIcon,
19
19
  relationId?: number;
20
20
  showIcon?: boolean;
21
21
  noneSelectionText?: string;
22
- }) => import("react/jsx-runtime").JSX.Element;
22
+ }) => React.JSX.Element;
23
23
  export declare const TMRelationIcon: ({ rd, relationType }: {
24
24
  rd: RelationDescriptor | undefined;
25
25
  relationType?: RelationTypes;
26
- }) => import("react/jsx-runtime").JSX.Element;
26
+ }) => React.JSX.Element;
27
27
  export declare const TMRelationTooltip: ({ rd, relationType, children }: {
28
28
  rd?: RelationDescriptor;
29
29
  relationType: RelationTypes | undefined;
30
30
  children: React.ReactNode;
31
- }) => import("react/jsx-runtime").JSX.Element;
31
+ }) => React.JSX.Element;
@@ -38,9 +38,9 @@ interface ITMUserChooserFormProps extends ITMChooserFormProps<UserDescriptor> {
38
38
  export declare const TMUserChooserForm: React.FunctionComponent<ITMUserChooserFormProps>;
39
39
  export declare const TMUserIcon: ({ ud }: {
40
40
  ud?: UserDescriptor;
41
- }) => import("react/jsx-runtime").JSX.Element | null;
41
+ }) => React.JSX.Element | null;
42
42
  export declare const TMUserTooltip: ({ ud, children }: {
43
43
  ud?: UserDescriptor;
44
44
  children: React.ReactNode;
45
- }) => import("react/jsx-runtime").JSX.Element;
45
+ }) => React.JSX.Element;
46
46
  export declare const User_IsExpired: (d: any) => boolean | undefined;
@@ -2,22 +2,14 @@ import { ValidationItem } from '@topconsultnpm/sdk-ts';
2
2
  export declare const TMEditorsDefaultBorderRadius = "5px";
3
3
  export declare const TMEditorsDefaultLabelFontSize = "0.9rem";
4
4
  export declare const editorColorManager: (validationItems: ValidationItem[]) => string;
5
- export declare const StyledEditorContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$width"> & {
5
+ export declare const StyledEditorContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
6
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
7
+ }, {
6
8
  $width: string;
7
- }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$width"> & {
8
- $width: string;
9
- }, never>>> & string;
10
- export declare const StyledEditor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "$borderRadius" | "$disabled" | "$fontSize" | "$isMobile" | "$isModified" | "$maxValue" | "$type" | "$vil" | "$width"> & {
11
- $vil: ValidationItem[];
12
- $width: string;
13
- $type: string;
14
- $isModified: boolean;
15
- $maxValue: number;
16
- $fontSize: string;
17
- $disabled: boolean;
18
- $isMobile?: boolean;
19
- $borderRadius?: string;
20
- }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "$borderRadius" | "$disabled" | "$fontSize" | "$isMobile" | "$isModified" | "$maxValue" | "$type" | "$vil" | "$width"> & {
9
+ }>> & string;
10
+ export declare const StyledEditor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
11
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
12
+ }, {
21
13
  $vil: ValidationItem[];
22
14
  $width: string;
23
15
  $type: string;
@@ -27,40 +19,26 @@ export declare const StyledEditor: import("styled-components/dist/types").IStyle
27
19
  $disabled: boolean;
28
20
  $isMobile?: boolean;
29
21
  $borderRadius?: string;
30
- }, never>>> & string;
31
- export declare const StyledEditorIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$disabled" | "$isModified" | "$vil"> & {
22
+ }>> & string;
23
+ export declare const StyledEditorIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
24
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
25
+ }, {
32
26
  $vil: ValidationItem[];
33
27
  $disabled: boolean;
34
28
  $isModified: boolean;
35
- }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$disabled" | "$isModified" | "$vil"> & {
36
- $vil: ValidationItem[];
37
- $disabled: boolean;
38
- $isModified: boolean;
39
- }, never>>> & string;
40
- export declare const StyledEditorLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$color" | "$disabled" | "$fontSize" | "$isFocused" | "$labelPosition"> & {
29
+ }>> & string;
30
+ export declare const StyledEditorLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
31
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
32
+ }, {
41
33
  $isFocused: boolean;
42
34
  $labelPosition: 'right' | 'left' | 'top';
43
35
  $disabled: boolean;
44
36
  $fontSize?: string;
45
37
  $color?: string;
46
- }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$color" | "$disabled" | "$fontSize" | "$isFocused" | "$labelPosition"> & {
47
- $isFocused: boolean;
48
- $labelPosition: 'right' | 'left' | 'top';
49
- $disabled: boolean;
50
- $fontSize?: string;
51
- $color?: string;
52
- }, never>>> & string;
53
- export declare const StyledTextareaEditor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "$borderRadius" | "$disabled" | "$fontSize" | "$isMobile" | "$isModified" | "$maxHeight" | "$resize" | "$vil" | "$width"> & {
54
- $vil: ValidationItem[];
55
- $width: string;
56
- $isModified: boolean;
57
- $fontSize: string;
58
- $disabled: boolean;
59
- $isMobile?: boolean;
60
- $maxHeight?: string;
61
- $borderRadius?: string;
62
- $resize?: boolean;
63
- }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "$borderRadius" | "$disabled" | "$fontSize" | "$isMobile" | "$isModified" | "$maxHeight" | "$resize" | "$vil" | "$width"> & {
38
+ }>> & string;
39
+ export declare const StyledTextareaEditor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "style"> & {
40
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
41
+ }, {
64
42
  $vil: ValidationItem[];
65
43
  $width: string;
66
44
  $isModified: boolean;
@@ -70,4 +48,4 @@ export declare const StyledTextareaEditor: import("styled-components/dist/types"
70
48
  $maxHeight?: string;
71
49
  $borderRadius?: string;
72
50
  $resize?: boolean;
73
- }, never>>> & string;
51
+ }>> & string;
@@ -30,7 +30,7 @@ export declare class FormulaDescriptor {
30
30
  description?: string;
31
31
  syntax?: string;
32
32
  }
33
- export declare const renderFormulaIcon: (iconType: FormulaIconTypes, tid?: number, md?: MetadataDescriptor) => import("react/jsx-runtime").JSX.Element;
33
+ export declare const renderFormulaIcon: (iconType: FormulaIconTypes, tid?: number, md?: MetadataDescriptor) => React.JSX.Element;
34
34
  declare const TMFormulaEditor: React.FunctionComponent<ITMApplyFormProps<FormulaDescriptor>>;
35
35
  export default TMFormulaEditor;
36
36
  export declare class FormulaHelper {
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  interface IHtmlContentDisplay {
2
3
  markup: string;
3
4
  isSelected: boolean;
4
5
  searchText?: string;
5
6
  }
6
- declare const TMHtmlContentDisplay: (props: IHtmlContentDisplay) => import("react/jsx-runtime").JSX.Element;
7
+ declare const TMHtmlContentDisplay: (props: IHtmlContentDisplay) => React.JSX.Element;
7
8
  export default TMHtmlContentDisplay;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ValidationItem } from '@topconsultnpm/sdk-ts';
2
3
  export declare const sanitizeAndFormatComment: (raw?: string) => string;
3
4
  export interface ITMHtmlEditor {
@@ -34,5 +35,5 @@ export interface ITMHtmlEditor {
34
35
  /** If true, displays a character count below the editor */
35
36
  showCount?: boolean;
36
37
  }
37
- declare const TMHtmlEditor: (props: ITMHtmlEditor) => import("react/jsx-runtime").JSX.Element;
38
+ declare const TMHtmlEditor: (props: ITMHtmlEditor) => React.JSX.Element;
38
39
  export default TMHtmlEditor;
@@ -14,5 +14,5 @@ interface TMTreeDropDownProps {
14
14
  isValidKey?: (key: number) => boolean;
15
15
  elementStyle?: React.CSSProperties;
16
16
  }
17
- declare const TMTreeDropDown: (props: TMTreeDropDownProps) => import("react/jsx-runtime").JSX.Element;
17
+ declare const TMTreeDropDown: (props: TMTreeDropDownProps) => React.JSX.Element;
18
18
  export default TMTreeDropDown;