@topconsultnpm/sdkui-react-beta 6.9.112 → 6.9.113
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.
- package/lib/components/base/Styled.d.ts +29 -1926
- package/lib/components/base/TMAlert.d.ts +2 -3
- package/lib/components/base/TMContextMenuOLD.d.ts +3 -274
- package/lib/components/base/TMDropDownMenu.d.ts +0 -1
- package/lib/components/base/TMEditorBase.d.ts +0 -1
- package/lib/components/base/TMLayout.d.ts +32 -32
- package/lib/components/base/TMRightSidebar.d.ts +4 -4
- package/lib/components/base/TMTab.d.ts +4 -4
- package/lib/components/base/TMVilViewer.d.ts +1 -1
- package/lib/components/choosers/TMRelationChooser.d.ts +5 -5
- package/lib/components/choosers/TMUserChooser.d.ts +5 -5
- package/lib/components/editors/TMEditorStyled.d.ts +19 -20
- package/lib/components/editors/TMTextBox.js +1 -1
- package/lib/components/forms/TMLoginForm.d.ts +5 -5
- package/lib/components/query/TMQueryEditor.d.ts +8 -550
- package/lib/components/query/TMQueryResult.d.ts +5 -5
- package/lib/components/query/TMQueryResultForm.d.ts +10 -10
- package/lib/components/sidebar/TMHeader.d.ts +2 -2
- package/lib/components/viewers/TMDataListItemViewer.d.ts +3 -3
- package/lib/components/viewers/TMMidViewer.d.ts +5 -5
- package/lib/components/viewers/TMTidViewer.d.ts +5 -5
- package/lib/helper/helpers.d.ts +1 -1
- package/lib/hooks/useForm.d.ts +0 -1
- package/lib/hooks/useOutsideClick.d.ts +0 -1
- package/lib/hooks/useQueryParametersDialog.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface AlertVariant {
|
|
3
2
|
variant: string;
|
|
4
3
|
color: string;
|
|
@@ -15,7 +14,7 @@ interface AlertModes {
|
|
|
15
14
|
declare const ShowAlert: ({ mode, message, duration, title }: {
|
|
16
15
|
mode: keyof AlertModes;
|
|
17
16
|
message: string;
|
|
18
|
-
duration?: number
|
|
19
|
-
title?: string
|
|
17
|
+
duration?: number;
|
|
18
|
+
title?: string;
|
|
20
19
|
}) => void;
|
|
21
20
|
export default ShowAlert;
|
|
@@ -11,282 +11,11 @@ export declare const useContextMenu: () => {
|
|
|
11
11
|
y: number;
|
|
12
12
|
}>>;
|
|
13
13
|
};
|
|
14
|
-
export declare const Container: import("styled-components").
|
|
14
|
+
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
15
15
|
$top: number;
|
|
16
16
|
$left: number;
|
|
17
|
-
}
|
|
18
|
-
export declare const MenuOption: import("styled-components").
|
|
19
|
-
ref?: React.LegacyRef<HTMLDivElement> | undefined;
|
|
20
|
-
key?: React.Key | null | undefined;
|
|
21
|
-
defaultChecked?: boolean | undefined;
|
|
22
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
23
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
24
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
25
|
-
accessKey?: string | undefined;
|
|
26
|
-
autoFocus?: boolean | undefined;
|
|
27
|
-
className?: string | undefined;
|
|
28
|
-
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
29
|
-
contextMenu?: string | undefined;
|
|
30
|
-
dir?: string | undefined;
|
|
31
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
32
|
-
hidden?: boolean | undefined;
|
|
33
|
-
id?: string | undefined;
|
|
34
|
-
lang?: string | undefined;
|
|
35
|
-
nonce?: string | undefined;
|
|
36
|
-
placeholder?: string | undefined;
|
|
37
|
-
slot?: string | undefined;
|
|
38
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
39
|
-
style?: React.CSSProperties | undefined;
|
|
40
|
-
tabIndex?: number | undefined;
|
|
41
|
-
title?: string | undefined;
|
|
42
|
-
translate?: "no" | "yes" | undefined;
|
|
43
|
-
radioGroup?: string | undefined;
|
|
44
|
-
role?: React.AriaRole | undefined;
|
|
45
|
-
about?: string | undefined;
|
|
46
|
-
content?: string | undefined;
|
|
47
|
-
datatype?: string | undefined;
|
|
48
|
-
inlist?: any;
|
|
49
|
-
prefix?: string | undefined;
|
|
50
|
-
property?: string | undefined;
|
|
51
|
-
rel?: string | undefined;
|
|
52
|
-
resource?: string | undefined;
|
|
53
|
-
rev?: string | undefined;
|
|
54
|
-
typeof?: string | undefined;
|
|
55
|
-
vocab?: string | undefined;
|
|
56
|
-
autoCapitalize?: string | undefined;
|
|
57
|
-
autoCorrect?: string | undefined;
|
|
58
|
-
autoSave?: string | undefined;
|
|
59
|
-
color?: string | undefined;
|
|
60
|
-
itemProp?: string | undefined;
|
|
61
|
-
itemScope?: boolean | undefined;
|
|
62
|
-
itemType?: string | undefined;
|
|
63
|
-
itemID?: string | undefined;
|
|
64
|
-
itemRef?: string | undefined;
|
|
65
|
-
results?: number | undefined;
|
|
66
|
-
security?: string | undefined;
|
|
67
|
-
unselectable?: "off" | "on" | undefined;
|
|
68
|
-
inputMode?: "none" | "numeric" | "decimal" | "search" | "text" | "tel" | "url" | "email" | undefined;
|
|
69
|
-
is?: string | undefined;
|
|
70
|
-
"aria-activedescendant"?: string | undefined;
|
|
71
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
72
|
-
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
73
|
-
"aria-braillelabel"?: string | undefined;
|
|
74
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
75
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
76
|
-
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
77
|
-
"aria-colcount"?: number | undefined;
|
|
78
|
-
"aria-colindex"?: number | undefined;
|
|
79
|
-
"aria-colindextext"?: string | undefined;
|
|
80
|
-
"aria-colspan"?: number | undefined;
|
|
81
|
-
"aria-controls"?: string | undefined;
|
|
82
|
-
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
83
|
-
"aria-describedby"?: string | undefined;
|
|
84
|
-
"aria-description"?: string | undefined;
|
|
85
|
-
"aria-details"?: string | undefined;
|
|
86
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
87
|
-
"aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
88
|
-
"aria-errormessage"?: string | undefined;
|
|
89
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
90
|
-
"aria-flowto"?: string | undefined;
|
|
91
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
92
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
93
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
94
|
-
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
95
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
96
|
-
"aria-label"?: string | undefined;
|
|
97
|
-
"aria-labelledby"?: string | undefined;
|
|
98
|
-
"aria-level"?: number | undefined;
|
|
99
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
100
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
101
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
102
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
103
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
104
|
-
"aria-owns"?: string | undefined;
|
|
105
|
-
"aria-placeholder"?: string | undefined;
|
|
106
|
-
"aria-posinset"?: number | undefined;
|
|
107
|
-
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
108
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
109
|
-
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
110
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
111
|
-
"aria-roledescription"?: string | undefined;
|
|
112
|
-
"aria-rowcount"?: number | undefined;
|
|
113
|
-
"aria-rowindex"?: number | undefined;
|
|
114
|
-
"aria-rowindextext"?: string | undefined;
|
|
115
|
-
"aria-rowspan"?: number | undefined;
|
|
116
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
117
|
-
"aria-setsize"?: number | undefined;
|
|
118
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
119
|
-
"aria-valuemax"?: number | undefined;
|
|
120
|
-
"aria-valuemin"?: number | undefined;
|
|
121
|
-
"aria-valuenow"?: number | undefined;
|
|
122
|
-
"aria-valuetext"?: string | undefined;
|
|
123
|
-
children?: React.ReactNode;
|
|
124
|
-
dangerouslySetInnerHTML?: {
|
|
125
|
-
__html: string | TrustedHTML;
|
|
126
|
-
} | undefined;
|
|
127
|
-
onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
128
|
-
onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
129
|
-
onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
130
|
-
onCutCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
131
|
-
onPaste?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
132
|
-
onPasteCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
133
|
-
onCompositionEnd?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
134
|
-
onCompositionEndCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
135
|
-
onCompositionStart?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
136
|
-
onCompositionStartCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
137
|
-
onCompositionUpdate?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
138
|
-
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
139
|
-
onFocus?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
140
|
-
onFocusCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
141
|
-
onBlur?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
142
|
-
onBlurCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
143
|
-
onChange?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
144
|
-
onChangeCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
145
|
-
onBeforeInput?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
146
|
-
onBeforeInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
147
|
-
onInput?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
148
|
-
onInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
149
|
-
onReset?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
150
|
-
onResetCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
151
|
-
onSubmit?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
152
|
-
onSubmitCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
153
|
-
onInvalid?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
154
|
-
onInvalidCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
155
|
-
onLoad?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
156
|
-
onLoadCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
157
|
-
onError?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
158
|
-
onErrorCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
159
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
160
|
-
onKeyDownCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
161
|
-
onKeyPress?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
162
|
-
onKeyPressCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
163
|
-
onKeyUp?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
164
|
-
onKeyUpCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
165
|
-
onAbort?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
166
|
-
onAbortCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
167
|
-
onCanPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
168
|
-
onCanPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
169
|
-
onCanPlayThrough?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
170
|
-
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
171
|
-
onDurationChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
172
|
-
onDurationChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
173
|
-
onEmptied?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
174
|
-
onEmptiedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
175
|
-
onEncrypted?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
176
|
-
onEncryptedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
177
|
-
onEnded?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
178
|
-
onEndedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
179
|
-
onLoadedData?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
180
|
-
onLoadedDataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
181
|
-
onLoadedMetadata?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
182
|
-
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
183
|
-
onLoadStart?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
184
|
-
onLoadStartCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
185
|
-
onPause?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
186
|
-
onPauseCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
187
|
-
onPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
188
|
-
onPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
189
|
-
onPlaying?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
190
|
-
onPlayingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
191
|
-
onProgress?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
192
|
-
onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
193
|
-
onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
194
|
-
onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
195
|
-
onResize?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
196
|
-
onResizeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
197
|
-
onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
198
|
-
onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
199
|
-
onSeeking?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
200
|
-
onSeekingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
201
|
-
onStalled?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
202
|
-
onStalledCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
203
|
-
onSuspend?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
204
|
-
onSuspendCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
205
|
-
onTimeUpdate?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
206
|
-
onTimeUpdateCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
207
|
-
onVolumeChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
208
|
-
onVolumeChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
209
|
-
onWaiting?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
210
|
-
onWaitingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
211
|
-
onAuxClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
212
|
-
onAuxClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
213
|
-
onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
214
|
-
onClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
215
|
-
onContextMenu?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
216
|
-
onContextMenuCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
217
|
-
onDoubleClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
218
|
-
onDoubleClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
219
|
-
onDrag?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
220
|
-
onDragCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
221
|
-
onDragEnd?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
222
|
-
onDragEndCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
223
|
-
onDragEnter?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
224
|
-
onDragEnterCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
225
|
-
onDragExit?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
226
|
-
onDragExitCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
227
|
-
onDragLeave?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
228
|
-
onDragLeaveCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
229
|
-
onDragOver?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
230
|
-
onDragOverCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
231
|
-
onDragStart?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
232
|
-
onDragStartCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
233
|
-
onDrop?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
234
|
-
onDropCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
235
|
-
onMouseDown?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
236
|
-
onMouseDownCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
237
|
-
onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
238
|
-
onMouseLeave?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
239
|
-
onMouseMove?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
240
|
-
onMouseMoveCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
241
|
-
onMouseOut?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
242
|
-
onMouseOutCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
243
|
-
onMouseOver?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
244
|
-
onMouseOverCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
245
|
-
onMouseUp?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
246
|
-
onMouseUpCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
247
|
-
onSelect?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
248
|
-
onSelectCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
249
|
-
onTouchCancel?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
250
|
-
onTouchCancelCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
251
|
-
onTouchEnd?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
252
|
-
onTouchEndCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
253
|
-
onTouchMove?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
254
|
-
onTouchMoveCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
255
|
-
onTouchStart?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
256
|
-
onTouchStartCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
257
|
-
onPointerDown?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
258
|
-
onPointerDownCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
259
|
-
onPointerMove?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
260
|
-
onPointerMoveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
261
|
-
onPointerUp?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
262
|
-
onPointerUpCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
263
|
-
onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
264
|
-
onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
265
|
-
onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
266
|
-
onPointerEnterCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
267
|
-
onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
268
|
-
onPointerLeaveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
269
|
-
onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
270
|
-
onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
271
|
-
onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
272
|
-
onPointerOutCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
273
|
-
onGotPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
274
|
-
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
275
|
-
onLostPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
276
|
-
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
277
|
-
onScroll?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
278
|
-
onScrollCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
279
|
-
onWheel?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
280
|
-
onWheelCapture?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
281
|
-
onAnimationStart?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
282
|
-
onAnimationStartCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
283
|
-
onAnimationEnd?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
284
|
-
onAnimationEndCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
285
|
-
onAnimationIteration?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
286
|
-
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
287
|
-
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
288
|
-
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
289
|
-
}>;
|
|
17
|
+
}>> & string;
|
|
18
|
+
export declare const MenuOption: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
290
19
|
interface ITMContextMenu {
|
|
291
20
|
menuData: any[];
|
|
292
21
|
onMenuItemClick?: (item: string) => void;
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
declare const TMCard: ({ borderRadius, onClick, scrollX, scrollY, width, height, children, title, fontSize, fontWeight, showBorder, padding, scroll, backgroundColor, color }: {
|
|
3
|
-
borderRadius?: boolean
|
|
4
|
-
onClick?: (
|
|
5
|
-
scrollX?: boolean
|
|
6
|
-
scrollY?: boolean
|
|
7
|
-
width?: string
|
|
8
|
-
height?: string
|
|
9
|
-
minWidth?: string
|
|
10
|
-
minHeight?: string
|
|
3
|
+
borderRadius?: boolean;
|
|
4
|
+
onClick?: () => void;
|
|
5
|
+
scrollX?: boolean;
|
|
6
|
+
scrollY?: boolean;
|
|
7
|
+
width?: string;
|
|
8
|
+
height?: string;
|
|
9
|
+
minWidth?: string;
|
|
10
|
+
minHeight?: string;
|
|
11
11
|
children?: React.ReactNode;
|
|
12
|
-
title?: string
|
|
13
|
-
fontSize?: string
|
|
14
|
-
fontWeight?: string
|
|
15
|
-
showBorder?: boolean
|
|
16
|
-
padding?: boolean
|
|
17
|
-
scroll?: boolean
|
|
18
|
-
backgroundColor?: string
|
|
19
|
-
color?: string
|
|
12
|
+
title?: string;
|
|
13
|
+
fontSize?: string;
|
|
14
|
+
fontWeight?: string;
|
|
15
|
+
showBorder?: boolean;
|
|
16
|
+
padding?: boolean;
|
|
17
|
+
scroll?: boolean;
|
|
18
|
+
backgroundColor?: string;
|
|
19
|
+
color?: string;
|
|
20
20
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
declare const TMSplitterLayout: ({ animation, showSeparator, separatorColor, separatorActiveColor, separatorSize, direction, children, start, min, }: {
|
|
22
|
-
animation?: boolean
|
|
23
|
-
separatorColor?: string
|
|
24
|
-
separatorActiveColor?: string
|
|
25
|
-
showSeparator?: boolean
|
|
26
|
-
separatorSize?: number
|
|
27
|
-
direction?: "horizontal" | "vertical"
|
|
22
|
+
animation?: boolean;
|
|
23
|
+
separatorColor?: string;
|
|
24
|
+
separatorActiveColor?: string;
|
|
25
|
+
showSeparator?: boolean;
|
|
26
|
+
separatorSize?: number;
|
|
27
|
+
direction?: "horizontal" | "vertical";
|
|
28
28
|
children?: React.ReactNode;
|
|
29
|
-
start?: string[]
|
|
30
|
-
min?: string[]
|
|
29
|
+
start?: string[];
|
|
30
|
+
min?: string[];
|
|
31
31
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
32
32
|
declare const TMLayoutItem: ({ onClick, children, width, minWidth, maxWidth, maxHeight, height, minHeight }: {
|
|
33
|
-
onClick?: (
|
|
33
|
+
onClick?: () => void;
|
|
34
34
|
children: React.ReactNode;
|
|
35
|
-
minWidth?: string
|
|
36
|
-
width?: string
|
|
37
|
-
maxWidth?: string
|
|
38
|
-
maxHeight?: string
|
|
39
|
-
fixed?: boolean
|
|
40
|
-
height?: string
|
|
41
|
-
minHeight?: string
|
|
35
|
+
minWidth?: string;
|
|
36
|
+
width?: string;
|
|
37
|
+
maxWidth?: string;
|
|
38
|
+
maxHeight?: string;
|
|
39
|
+
fixed?: boolean;
|
|
40
|
+
height?: string;
|
|
41
|
+
minHeight?: string;
|
|
42
42
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
export interface ITMLayoutContainerProps {
|
|
44
44
|
children: React.ReactNode;
|
|
@@ -16,7 +16,7 @@ export interface ITMRightSidebarProps {
|
|
|
16
16
|
}
|
|
17
17
|
declare const TMRightSidebar: React.FC<ITMRightSidebarProps>;
|
|
18
18
|
export default TMRightSidebar;
|
|
19
|
-
export declare const StyledAnimatedComponentScaleColor: import("styled-components").
|
|
20
|
-
$delay?: string
|
|
21
|
-
$scale?: number
|
|
22
|
-
}
|
|
19
|
+
export declare const StyledAnimatedComponentScaleColor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
20
|
+
$delay?: string;
|
|
21
|
+
$scale?: number;
|
|
22
|
+
}>> & string;
|
|
@@ -4,7 +4,7 @@ export interface ITMTabProps {
|
|
|
4
4
|
propsToBeValidated?: string[];
|
|
5
5
|
}
|
|
6
6
|
export declare const TMTab: ({ label, propsToBeValidated, children }: {
|
|
7
|
-
label?: string
|
|
7
|
+
label?: string;
|
|
8
8
|
propsToBeValidated?: string[] | undefined;
|
|
9
9
|
children?: any;
|
|
10
10
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,9 +12,9 @@ export declare const TMTabItemBadge: ({ vil }: {
|
|
|
12
12
|
vil: ValidationItem[];
|
|
13
13
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
declare const TMTabGroup: ({ children, fontSize, validationItems, onTabIndexChanged }: {
|
|
15
|
-
onTabIndexChanged?: (
|
|
15
|
+
onTabIndexChanged?: (e: number) => void;
|
|
16
16
|
children: any;
|
|
17
|
-
fontSize?: string
|
|
18
|
-
validationItems?: ValidationItem[]
|
|
17
|
+
fontSize?: string;
|
|
18
|
+
validationItems?: ValidationItem[];
|
|
19
19
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export default TMTabGroup;
|
|
@@ -16,16 +16,16 @@ interface ITMRelationChooserFormProps extends ITMChooserFormProps<RelationDescri
|
|
|
16
16
|
export declare const TMRelationChooserForm: React.FunctionComponent<ITMRelationChooserFormProps>;
|
|
17
17
|
export declare const TMRelationIdViewer: ({ relationType, relationId, showIcon, noneSelectionText }: {
|
|
18
18
|
relationType: RelationTypes;
|
|
19
|
-
relationId?: number
|
|
20
|
-
showIcon?: boolean
|
|
21
|
-
noneSelectionText?: string
|
|
19
|
+
relationId?: number;
|
|
20
|
+
showIcon?: boolean;
|
|
21
|
+
noneSelectionText?: string;
|
|
22
22
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export declare const TMRelationIcon: ({ rd, relationType }: {
|
|
24
24
|
rd: RelationDescriptor | undefined;
|
|
25
|
-
relationType?: RelationTypes
|
|
25
|
+
relationType?: RelationTypes;
|
|
26
26
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
export declare const TMRelationTooltip: ({ rd, relationType, children }: {
|
|
28
|
-
rd?: RelationDescriptor
|
|
28
|
+
rd?: RelationDescriptor;
|
|
29
29
|
relationType: RelationTypes | undefined;
|
|
30
30
|
children: React.ReactNode;
|
|
31
31
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,14 +11,14 @@ declare const TMUserChooser: React.FunctionComponent<ITMUserChooserProps>;
|
|
|
11
11
|
export default TMUserChooser;
|
|
12
12
|
export declare const TMUserChooserForm: React.FunctionComponent<ITMChooserFormProps<UserDescriptor>>;
|
|
13
13
|
export declare const TMUserIdViewer: ({ userId, showIcon, noneSelectionText }: {
|
|
14
|
-
userId?: number
|
|
15
|
-
showIcon?: boolean
|
|
16
|
-
noneSelectionText?: string
|
|
14
|
+
userId?: number;
|
|
15
|
+
showIcon?: boolean;
|
|
16
|
+
noneSelectionText?: string;
|
|
17
17
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export declare const TMUserIcon: ({ ud }: {
|
|
19
|
-
ud?: UserDescriptor
|
|
19
|
+
ud?: UserDescriptor;
|
|
20
20
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
21
21
|
export declare const TMUserTooltip: ({ ud, children }: {
|
|
22
|
-
ud?: UserDescriptor
|
|
22
|
+
ud?: UserDescriptor;
|
|
23
23
|
children: React.ReactNode;
|
|
24
24
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ValidationItem } from '@topconsultnpm/sdk-ts-beta';
|
|
3
2
|
export declare const TMEditorsDefaultBorderRadius = "5px";
|
|
4
3
|
export declare const TMEditorsDefaultLabelFontSize = "0.9rem";
|
|
5
4
|
export declare const editorColorManager: (validationItems: ValidationItem[]) => string;
|
|
6
|
-
export declare const StyledEditorContainer: import("styled-components").
|
|
5
|
+
export declare const StyledEditorContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
7
6
|
$width: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const StyledEditor: import("styled-components").
|
|
7
|
+
}>> & string;
|
|
8
|
+
export declare const StyledEditor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
|
|
10
9
|
$vil: ValidationItem[];
|
|
11
10
|
$width: string;
|
|
12
11
|
$type: string;
|
|
@@ -14,29 +13,29 @@ export declare const StyledEditor: import("styled-components").IStyledComponent<
|
|
|
14
13
|
$maxValue: number;
|
|
15
14
|
$fontSize: string;
|
|
16
15
|
$disabled: boolean;
|
|
17
|
-
$isMobile?: boolean
|
|
18
|
-
$borderRadius?: string
|
|
19
|
-
}
|
|
20
|
-
export declare const StyledEditorIcon: import("styled-components").
|
|
16
|
+
$isMobile?: boolean;
|
|
17
|
+
$borderRadius?: string;
|
|
18
|
+
}>> & string;
|
|
19
|
+
export declare const StyledEditorIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
21
20
|
$vil: ValidationItem[];
|
|
22
21
|
$disabled: boolean;
|
|
23
22
|
$isModified: boolean;
|
|
24
|
-
}
|
|
25
|
-
export declare const StyledEditorLabel: import("styled-components").
|
|
23
|
+
}>> & string;
|
|
24
|
+
export declare const StyledEditorLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
26
25
|
$isFocused: boolean;
|
|
27
|
-
$labelPosition:
|
|
26
|
+
$labelPosition: "right" | "left" | "top";
|
|
28
27
|
$disabled: boolean;
|
|
29
|
-
$fontSize?: string
|
|
30
|
-
$color?: string
|
|
31
|
-
}
|
|
32
|
-
export declare const StyledTextareaEditor: import("styled-components").
|
|
28
|
+
$fontSize?: string;
|
|
29
|
+
$color?: string;
|
|
30
|
+
}>> & string;
|
|
31
|
+
export declare const StyledTextareaEditor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, {
|
|
33
32
|
$vil: ValidationItem[];
|
|
34
33
|
$width: string;
|
|
35
34
|
$isModified: boolean;
|
|
36
35
|
$fontSize: string;
|
|
37
36
|
$disabled: boolean;
|
|
38
|
-
$isMobile?: boolean
|
|
39
|
-
$maxHeight?: string
|
|
40
|
-
$borderRadius?: string
|
|
41
|
-
$resize?: boolean
|
|
42
|
-
}
|
|
37
|
+
$isMobile?: boolean;
|
|
38
|
+
$maxHeight?: string;
|
|
39
|
+
$borderRadius?: string;
|
|
40
|
+
$resize?: boolean;
|
|
41
|
+
}>> & string;
|
|
@@ -117,7 +117,7 @@ const TMTextBox = ({ autoFocus, maxLength, labelColor, precision, scale, showCle
|
|
|
117
117
|
return Number(curValue);
|
|
118
118
|
};
|
|
119
119
|
const renderInputField = () => {
|
|
120
|
-
return (_jsxs(
|
|
120
|
+
return (_jsxs(_Fragment, { children: [_jsx(StyledEditor, { ref: inputRef, id: `text-${label}-${id}`, name: label, autoFocus: autoFocus, readOnly: readOnly, type: currentType, disabled: disabled, value: currentValue, width: width || '100%', placeholder: placeHolder, maxLength: maxLength, onFocus: () => setIsFocused(true), onBlur: (e) => { setIsFocused(false); if (currentValue != value)
|
|
121
121
|
onBlur?.(currentValue); }, onChange: (e) => {
|
|
122
122
|
if (currentType === 'number') {
|
|
123
123
|
let number = Number(e.target.value);
|
|
@@ -39,11 +39,11 @@ export declare const cultureIDsDataSource: {
|
|
|
39
39
|
}[];
|
|
40
40
|
declare const TMLoginForm: React.FunctionComponent<ITMLoginFormProps>;
|
|
41
41
|
export declare const TMChangePassword: ({ deviceType, tmSession, username, onClose, enable, hasBack }: {
|
|
42
|
-
deviceType?: DeviceType
|
|
43
|
-
hasBack?: boolean
|
|
44
|
-
tmSession?: ITopMediaSession
|
|
42
|
+
deviceType?: DeviceType;
|
|
43
|
+
hasBack?: boolean;
|
|
44
|
+
tmSession?: ITopMediaSession;
|
|
45
45
|
username: string;
|
|
46
|
-
onClose?: (
|
|
47
|
-
enable?: boolean
|
|
46
|
+
onClose?: () => void;
|
|
47
|
+
enable?: boolean;
|
|
48
48
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
49
49
|
export default TMLoginForm;
|