@topconsultnpm/sdkui-react-beta 6.7.127 → 6.7.128
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.
|
@@ -10,7 +10,6 @@ import { FormModes } from '../../ts';
|
|
|
10
10
|
import { TMColors } from '../../utils/theme';
|
|
11
11
|
import { StyledDivHorizontal, StyledDraggableDiv, StyledModalContainer } from '../base/Styled';
|
|
12
12
|
import TMButton from '../base/TMButton';
|
|
13
|
-
// import TMDropDownMenu from '../base/TMDropDownMenu';
|
|
14
13
|
import { TMExceptionBoxManager, TMMessageBoxManager, ButtonNames } from '../base/TMPopUp';
|
|
15
14
|
import TMSpinner from '../base/TMSpinner';
|
|
16
15
|
import { TMTabItemBadge } from '../base/TMTab';
|
package/lib/helper/helpers.d.ts
CHANGED
|
@@ -28,4 +28,5 @@ export declare function moduleVersion(module: moduleTypes): string;
|
|
|
28
28
|
export declare function buildtype(module: moduleTypes): string;
|
|
29
29
|
export declare function versionAndBuildtypeInfo(module: moduleTypes): string;
|
|
30
30
|
export declare const svgToString: (icon: React.ReactElement) => string;
|
|
31
|
+
export declare function sleep(ms: number): Promise<void>;
|
|
31
32
|
export declare function getExceptionMessage(ex: any): string;
|
package/lib/helper/helpers.js
CHANGED
|
@@ -296,6 +296,9 @@ export function versionAndBuildtypeInfo(module) {
|
|
|
296
296
|
export const svgToString = (icon) => {
|
|
297
297
|
return ReactDOMServer.renderToString(icon);
|
|
298
298
|
};
|
|
299
|
+
export async function sleep(ms) {
|
|
300
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
301
|
+
}
|
|
299
302
|
// #region Exception
|
|
300
303
|
export function getExceptionMessage(ex) {
|
|
301
304
|
let msg = ex.isApiException ? ex.response.title : ex.message;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topconsultnpm/sdkui-react-beta",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.128",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"lib"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@topconsultnpm/sdk-ts-beta": "^6.7.
|
|
31
|
+
"@topconsultnpm/sdk-ts-beta": "^6.7.34",
|
|
32
32
|
"buffer": "^6.0.3",
|
|
33
33
|
"devextreme": "24.1.6",
|
|
34
34
|
"devextreme-react": "24.1.6",
|