@topconsultnpm/sdkui-react-beta 6.15.71 → 6.15.72
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.
|
@@ -22,6 +22,6 @@ declare class TMExceptionBoxManager {
|
|
|
22
22
|
static show({ title, exception }: ITMExceptionBox): void;
|
|
23
23
|
}
|
|
24
24
|
declare class TMMessageBoxManager {
|
|
25
|
-
static show({ title, buttons, onButtonClick, message, parentId }: ITMMessageBox): void;
|
|
25
|
+
static show({ title, buttons, onButtonClick, message, parentId, resizable }: ITMMessageBox): void;
|
|
26
26
|
}
|
|
27
27
|
export { TMExceptionBoxManager, TMMessageBoxManager };
|
|
@@ -126,7 +126,7 @@ class TMExceptionBoxManager {
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
class TMMessageBoxManager {
|
|
129
|
-
static show({ title, buttons, onButtonClick, message, parentId }) {
|
|
129
|
+
static show({ title, buttons, onButtonClick, message, parentId, resizable }) {
|
|
130
130
|
let container = document.createElement('div');
|
|
131
131
|
if (parentId) {
|
|
132
132
|
const parent = document.getElementById(parentId);
|
|
@@ -141,7 +141,7 @@ class TMMessageBoxManager {
|
|
|
141
141
|
document.body.appendChild(container);
|
|
142
142
|
}
|
|
143
143
|
const root = ReactDOM.createRoot(container);
|
|
144
|
-
root.render(_jsx(TMDeviceProvider, { children: React.createElement(TMMessageBox, { title, buttons, onButtonClick, message }) }));
|
|
144
|
+
root.render(_jsx(TMDeviceProvider, { children: React.createElement(TMMessageBox, { title, buttons, onButtonClick, message, resizable }) }));
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
export { TMExceptionBoxManager, TMMessageBoxManager };
|