@vitrosoftware/common-ui-ts 1.1.126 → 1.1.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.
- package/css/std/controls/action-handler/action-result-list.css +15 -3
- package/css/std/controls/action-handler/img/warning.svg +10 -0
- package/css/std/controls/action-handler/result-dialog.css +15 -3
- package/dist/index.css +30 -6
- package/dist/index.js +103 -52
- package/dist/index.js.map +1 -1
- package/dist/src/controls/ActionHandler/ActionHandler.d.ts +3 -3
- package/dist/src/controls/ActionHandler/ActionHandlerConstants.d.ts +1 -0
- package/dist/src/controls/ActionHandler/ActionResultItem.d.ts +1 -0
- package/dist/src/controls/ActionHandler/ActionResultList.d.ts +1 -0
- package/dist/src/controls/ActionHandler/ResultDialog.d.ts +3 -1
- package/package.json +1 -1
- package/src/controls/BimViewer/js/bim-viewer.js +2 -2
- package/src/controls/DxfViewer/js/dxf-viewer.js +14 -17
- package/src/controls/PdfViewer/js/pdf-viewer.js +1 -1
|
@@ -13,10 +13,10 @@ interface ActionHandlerProps {
|
|
|
13
13
|
isShow?: boolean;
|
|
14
14
|
isAutoClose?: boolean;
|
|
15
15
|
processError?: (failResult: ActionHandlerResult) => any;
|
|
16
|
-
onAfterAction?: (error: Error | null, successResult: ActionHandlerResult, failResult: ActionHandlerResult) => void;
|
|
16
|
+
onAfterAction?: (error: Error | null, successResult: ActionHandlerResult, failResult: ActionHandlerResult, warningResult: ActionHandlerResult) => void;
|
|
17
17
|
onBeforeAction?: () => void;
|
|
18
|
-
onAfterActionClose?: (error: Error | null, successResult: ActionHandlerResult, failResult: ActionHandlerResult) => void;
|
|
19
|
-
onSaveReport?: (successResult: ActionHandlerResult, failResult: ActionHandlerResult) => void;
|
|
18
|
+
onAfterActionClose?: (error: Error | null, successResult: ActionHandlerResult, failResult: ActionHandlerResult, warningResult: ActionHandlerResult) => void;
|
|
19
|
+
onSaveReport?: (successResult: ActionHandlerResult, failResult: ActionHandlerResult, warningResult: ActionHandlerResult) => void;
|
|
20
20
|
onError?: (excepton: any) => {
|
|
21
21
|
abort: boolean;
|
|
22
22
|
exception: any;
|
|
@@ -7,5 +7,6 @@ export declare enum LOCALE {
|
|
|
7
7
|
RESULT_DIALOG_SUCCESS_TITLE = "app.common.actionHandler.resultDialog.success.title",
|
|
8
8
|
RESULT_DIALOG_SUCCESS_MESSAGE = "app.common.actionHandler.resultDialog.success.message",
|
|
9
9
|
RESULT_DIALOG_ERROR_TITLE = "app.common.actionHandler.resultDialog.error.title",
|
|
10
|
+
RESULT_DIALOG_WARNING_TITLE = "app.common.actionHandler.resultDialog.warning.title",
|
|
10
11
|
RESULT_DIALOG_ACTION_SAVE_REPORT = "app.common.actionHandler.resultDialog.action.saveReport"
|
|
11
12
|
}
|
|
@@ -3,6 +3,7 @@ import { ActionHandlerResult } from './ActionHandlerResult';
|
|
|
3
3
|
interface ActionResultListProps {
|
|
4
4
|
successResult: ActionHandlerResult;
|
|
5
5
|
failResult: ActionHandlerResult;
|
|
6
|
+
warningResult: ActionHandlerResult;
|
|
6
7
|
isVisible: boolean;
|
|
7
8
|
}
|
|
8
9
|
export declare const ActionResultList: (props: ActionResultListProps) => JSX.Element;
|
|
@@ -5,11 +5,13 @@ interface ResultDialogProps {
|
|
|
5
5
|
actionName: string;
|
|
6
6
|
successResult: ActionHandlerResult;
|
|
7
7
|
failResult: ActionHandlerResult;
|
|
8
|
+
warningResult: ActionHandlerResult;
|
|
8
9
|
itemList: ActionHandlerItem[];
|
|
9
10
|
processedItemCount: number;
|
|
10
11
|
isSuccess: boolean;
|
|
12
|
+
isWarning: boolean;
|
|
11
13
|
isProgress: boolean;
|
|
12
|
-
onSaveReport?: (successResult: ActionHandlerResult, failResult: ActionHandlerResult) => void;
|
|
14
|
+
onSaveReport?: (successResult: ActionHandlerResult, failResult: ActionHandlerResult, warningResult: ActionHandlerResult) => void;
|
|
13
15
|
onClose: () => void;
|
|
14
16
|
onCancel: () => void;
|
|
15
17
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BIMModel, BIMCommon, BIMAnnotation } from '/resource/bimViewer/js/bim-viewer-models.js?version=1.1.
|
|
1
|
+
import { BIMModel, BIMCommon, BIMAnnotation } from '/resource/bimViewer/js/bim-viewer-models.js?version=1.1.128';
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
Viewer, XKTLoaderPlugin, NavCubePlugin, SectionPlanesPlugin, math, BCFViewpointsPlugin, AnnotationsPlugin,
|
|
5
5
|
ContextMenu, TreeViewPlugin, StoreyViewsPlugin, AngleMeasurementsPlugin, CameraMemento, DistanceMeasurementsPlugin,
|
|
6
6
|
GLTFLoaderPlugin, utils, FastNavPlugin, MetaObject, parsers
|
|
7
7
|
}
|
|
8
|
-
from '/resource/bimViewer/js/xeokit/xeokit-sdk.es.js?version=1.1.
|
|
8
|
+
from '/resource/bimViewer/js/xeokit/xeokit-sdk.es.js?version=1.1.128';
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
const processByChildIdList = (treeViewNode, event) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as three from '/resource/dxfViewer/js/three/three.module.js?version=1.1.
|
|
2
|
-
import { Matrix3, Vector2 } from '/resource/dxfViewer/js/three/three.module.js?version=1.1.
|
|
3
|
-
import { Batch, DxfViewer, Layer } from '/resource/dxfViewer/js/viewer/DxfViewer.js?version=1.1.
|
|
4
|
-
import { Block as SceneBlock } from '/resource/dxfViewer/js/viewer/DxfScene.js?version=1.1.
|
|
5
|
-
import { Block } from '/resource/dxfViewer/js/viewer/DxfViewer.js?version=1.1.
|
|
6
|
-
import { DxfScene, Entity, ColorCode } from '/resource/dxfViewer/js/viewer/DxfScene.js?version=1.1.
|
|
7
|
-
import { TextRenderer, ParseSpecialChars, HAlign, VAlign } from '/resource/dxfViewer/js/viewer/TextRenderer.js?version=1.1.
|
|
8
|
-
import { DxfWorker } from '/resource/dxfViewer/js/viewer/DxfWorker.js?version=1.1.
|
|
9
|
-
import { DxfFetcher } from '/resource/dxfViewer/js/viewer/DxfFetcher.js?version=1.1.
|
|
10
|
-
import DxfParser from '/resource/dxfViewer/js/viewer/parser/DxfParser.js?version=1.1.
|
|
11
|
-
import { RenderBatch } from '/resource/dxfViewer/js/viewer/DxfScene.js?version=1.1.
|
|
12
|
-
import { DynamicBuffer, NativeType } from '/resource/dxfViewer/js/viewer/DynamicBuffer.js?version=1.1.
|
|
13
|
-
import { OrbitControls } from '/resource/dxfViewer/js/viewer/OrbitControls.js?version=1.1.
|
|
14
|
-
import { CSS2DRenderer, CSS2DObject } from '/resource/dxfViewer/js/three/three.module.js?version=1.1.
|
|
1
|
+
import * as three from '/resource/dxfViewer/js/three/three.module.js?version=1.1.128';
|
|
2
|
+
import { Matrix3, Vector2 } from '/resource/dxfViewer/js/three/three.module.js?version=1.1.128';
|
|
3
|
+
import { Batch, DxfViewer, Layer } from '/resource/dxfViewer/js/viewer/DxfViewer.js?version=1.1.128';
|
|
4
|
+
import { Block as SceneBlock } from '/resource/dxfViewer/js/viewer/DxfScene.js?version=1.1.128';
|
|
5
|
+
import { Block } from '/resource/dxfViewer/js/viewer/DxfViewer.js?version=1.1.128';
|
|
6
|
+
import { DxfScene, Entity, ColorCode } from '/resource/dxfViewer/js/viewer/DxfScene.js?version=1.1.128';
|
|
7
|
+
import { TextRenderer, ParseSpecialChars, HAlign, VAlign } from '/resource/dxfViewer/js/viewer/TextRenderer.js?version=1.1.128';
|
|
8
|
+
import { DxfWorker } from '/resource/dxfViewer/js/viewer/DxfWorker.js?version=1.1.128';
|
|
9
|
+
import { DxfFetcher } from '/resource/dxfViewer/js/viewer/DxfFetcher.js?version=1.1.128';
|
|
10
|
+
import DxfParser from '/resource/dxfViewer/js/viewer/parser/DxfParser.js?version=1.1.128';
|
|
11
|
+
import { RenderBatch } from '/resource/dxfViewer/js/viewer/DxfScene.js?version=1.1.128';
|
|
12
|
+
import { DynamicBuffer, NativeType } from '/resource/dxfViewer/js/viewer/DynamicBuffer.js?version=1.1.128';
|
|
13
|
+
import { OrbitControls } from '/resource/dxfViewer/js/viewer/OrbitControls.js?version=1.1.128';
|
|
14
|
+
import { CSS2DRenderer, CSS2DObject } from '/resource/dxfViewer/js/three/three.module.js?version=1.1.128';
|
|
15
15
|
|
|
16
16
|
let treeViewData = [];
|
|
17
17
|
let notes = [];
|
|
@@ -2308,9 +2308,6 @@ export class VitroRenderBatch extends RenderBatch {
|
|
|
2308
2308
|
if (space < verticesCount) {
|
|
2309
2309
|
continue
|
|
2310
2310
|
}
|
|
2311
|
-
if (entity && entity.handle && chunk.handle != entity.handle) {//vitro
|
|
2312
|
-
continue
|
|
2313
|
-
}
|
|
2314
2311
|
if (curChunk === null || space < curSpace) {
|
|
2315
2312
|
curChunk = chunk
|
|
2316
2313
|
curSpace = space
|
|
@@ -21208,7 +21208,7 @@ const defaultOptions = {
|
|
|
21208
21208
|
kind: OptionKind.WORKER
|
|
21209
21209
|
},
|
|
21210
21210
|
workerSrc: {
|
|
21211
|
-
value: "resource/pdfViewer/js/pdf.worker.js?version=1.1.
|
|
21211
|
+
value: "resource/pdfViewer/js/pdf.worker.js?version=1.1.128",
|
|
21212
21212
|
kind: OptionKind.WORKER
|
|
21213
21213
|
}
|
|
21214
21214
|
};
|