@vitrosoftware/common-ui-ts 1.1.133 → 1.1.135
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/result-dialog.css +2 -3
- package/css/std/controls/component-loader/component-loader.css +13 -0
- package/css/std/controls/login/{ntlm-authentication-form.css → login-kerberos-form.css} +1 -1
- package/dist/index.css +21 -8
- package/dist/index.js +583 -536
- package/dist/index.js.map +1 -1
- package/dist/src/controls/Login/LoginConstants.d.ts +2 -2
- package/dist/src/controls/Login/LoginKerberosForm.d.ts +9 -0
- package/dist/src/controls/NumberInput/NumberInput.d.ts +3 -1
- package/dist/src/controls/NumberInput/NumberInputConstants.d.ts +3 -0
- package/dist/src/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/controls/BimViewer/js/bim-viewer.js +2 -2
- package/src/controls/DxfViewer/js/dxf-viewer.js +14 -14
- package/src/controls/PdfViewer/js/pdf-viewer.js +22 -2
|
@@ -16,8 +16,8 @@ export declare enum LOCALE {
|
|
|
16
16
|
TWO_FACTOR_AUTHENTICATION_FORM_DESCRIPTION_VALIDITY = "app.common.login.twoFactorAuthenticationForm.description.codeValidityDuration",
|
|
17
17
|
TWO_FACTOR_AUTHENTICATION_FORM_DESCRIPTION_RESEND = "app.common.login.twoFactorAuthenticationForm.description.resendCodeDuration",
|
|
18
18
|
TWO_FACTOR_AUTHENTICATION_FORM_ERROR_EMPTY = "app.common.login.twoFactorAuthenticationForm.error.empty",
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
LOGIN_KERBEROS_FORM_SUBTITLE_PROGRESS = "app.common.login.loginKerberosForm.subtitle.progress",
|
|
20
|
+
LOGIN_KERBEROS_FORM_SUBTITLE_ERROR = "app.common.login.loginKerberosForm.subtitle.error",
|
|
21
21
|
ACTION_LOGIN = "app.common.login.action.login",
|
|
22
22
|
ACTION_GO_BACK = "app.common.login.action.goBack",
|
|
23
23
|
ACTION_RESET_PASSWORD = "app.common.login.action.resetPassword",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FormRef } from './FormRef';
|
|
3
|
+
interface LoginKerberosFormProps {
|
|
4
|
+
imageUrl: string;
|
|
5
|
+
errorMessage?: string;
|
|
6
|
+
onGoBack: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const LoginKerberosForm: React.ForwardRefExoticComponent<LoginKerberosFormProps & React.RefAttributes<FormRef>>;
|
|
9
|
+
export {};
|
|
@@ -3,6 +3,8 @@ import * as INPUT from './NumberInputConstants';
|
|
|
3
3
|
interface NumberInputProps {
|
|
4
4
|
name?: string;
|
|
5
5
|
value?: number;
|
|
6
|
+
maxValue?: number;
|
|
7
|
+
minValue?: number;
|
|
6
8
|
number: INPUT.TYPE;
|
|
7
9
|
precision?: number;
|
|
8
10
|
height?: number;
|
|
@@ -19,7 +21,7 @@ interface NumberInputProps {
|
|
|
19
21
|
isAutoComplete?: boolean;
|
|
20
22
|
isIcon?: boolean;
|
|
21
23
|
onChange?: (value: number | null, name?: string) => void;
|
|
22
|
-
onBlur?: (e: any) => void;
|
|
24
|
+
onBlur?: (e: any, value?: number | null, name?: string) => void;
|
|
23
25
|
onFocus?: (e: any) => void;
|
|
24
26
|
onChangeSize?: (element: HTMLInputElement | HTMLTextAreaElement) => void;
|
|
25
27
|
onKeyPress?: (e: any) => void;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ import { LoginFormRef } from './controls/Login/LoginFormRef';
|
|
|
38
38
|
import { FormRef } from './controls/Login/FormRef';
|
|
39
39
|
import { TwoFactorAuthenticationForm } from './controls/Login/TwoFactorAuthenticationForm';
|
|
40
40
|
import { TwoFactorAuthenticationFormRef } from './controls/Login/TwoFactorAuthenticationFormRef';
|
|
41
|
-
import {
|
|
41
|
+
import { LoginKerberosForm } from './controls/Login/LoginKerberosForm';
|
|
42
42
|
import { Input, InputProps } from './controls/Input/Input';
|
|
43
43
|
import { InputRef } from './controls/Input/InputRef';
|
|
44
44
|
import { NumberInput } from './controls/NumberInput/NumberInput';
|
|
@@ -156,7 +156,7 @@ export { View };
|
|
|
156
156
|
export { TabGroup };
|
|
157
157
|
export { ControlGroup, TabItem };
|
|
158
158
|
export { PdfViewer, PdfViewerContext };
|
|
159
|
-
export { Login, LoginForm, TwoFactorAuthenticationForm, FormRef, LoginFormRef, TwoFactorAuthenticationFormRef,
|
|
159
|
+
export { Login, LoginForm, TwoFactorAuthenticationForm, FormRef, LoginFormRef, TwoFactorAuthenticationFormRef, LoginKerberosForm };
|
|
160
160
|
export { Input, InputProps, InputRef };
|
|
161
161
|
export { NumberInput, NUMBER_INPUT };
|
|
162
162
|
export { DatePicker, DatePickerProps };
|
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.135';
|
|
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.135';
|
|
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.135';
|
|
2
|
+
import { Matrix3, Vector2 } from '/resource/dxfViewer/js/three/three.module.js?version=1.1.135';
|
|
3
|
+
import { Batch, DxfViewer, Layer } from '/resource/dxfViewer/js/viewer/DxfViewer.js?version=1.1.135';
|
|
4
|
+
import { Block as SceneBlock } from '/resource/dxfViewer/js/viewer/DxfScene.js?version=1.1.135';
|
|
5
|
+
import { Block } from '/resource/dxfViewer/js/viewer/DxfViewer.js?version=1.1.135';
|
|
6
|
+
import { DxfScene, Entity, ColorCode } from '/resource/dxfViewer/js/viewer/DxfScene.js?version=1.1.135';
|
|
7
|
+
import { TextRenderer, ParseSpecialChars, HAlign, VAlign } from '/resource/dxfViewer/js/viewer/TextRenderer.js?version=1.1.135';
|
|
8
|
+
import { DxfWorker } from '/resource/dxfViewer/js/viewer/DxfWorker.js?version=1.1.135';
|
|
9
|
+
import { DxfFetcher } from '/resource/dxfViewer/js/viewer/DxfFetcher.js?version=1.1.135';
|
|
10
|
+
import DxfParser from '/resource/dxfViewer/js/viewer/parser/DxfParser.js?version=1.1.135';
|
|
11
|
+
import { RenderBatch } from '/resource/dxfViewer/js/viewer/DxfScene.js?version=1.1.135';
|
|
12
|
+
import { DynamicBuffer, NativeType } from '/resource/dxfViewer/js/viewer/DynamicBuffer.js?version=1.1.135';
|
|
13
|
+
import { OrbitControls } from '/resource/dxfViewer/js/viewer/OrbitControls.js?version=1.1.135';
|
|
14
|
+
import { CSS2DRenderer, CSS2DObject } from '/resource/dxfViewer/js/three/three.module.js?version=1.1.135';
|
|
15
15
|
|
|
16
16
|
let treeViewData = [];
|
|
17
17
|
let notes = [];
|
|
@@ -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.135",
|
|
21212
21212
|
kind: OptionKind.WORKER
|
|
21213
21213
|
}
|
|
21214
21214
|
};
|
|
@@ -37856,12 +37856,32 @@ function bindAddNoteEventHandler() {
|
|
|
37856
37856
|
}
|
|
37857
37857
|
|
|
37858
37858
|
function showNoteDesc(note) {
|
|
37859
|
+
openSidebarNotes();
|
|
37859
37860
|
if ($('.body__sidebar').is(':visible')) {
|
|
37860
37861
|
var noteId = note.attr('id');
|
|
37861
|
-
|
|
37862
|
+
if (isIssueInSidebarNoteExist(noteId)) {
|
|
37863
|
+
highlightSidebarNote(noteId);
|
|
37864
|
+
} else {
|
|
37865
|
+
let timerId = setInterval(() => {
|
|
37866
|
+
if (isIssueInSidebarNoteExist(noteId)) {
|
|
37867
|
+
highlightSidebarNote(noteId);
|
|
37868
|
+
clearInterval(timerId);
|
|
37869
|
+
}
|
|
37870
|
+
}, 100);
|
|
37871
|
+
}
|
|
37862
37872
|
}
|
|
37863
37873
|
}
|
|
37864
37874
|
|
|
37875
|
+
function isIssueInSidebarNoteExist(noteId) {
|
|
37876
|
+
return $('#vitro-issue-tile-' + noteId).length;
|
|
37877
|
+
}
|
|
37878
|
+
|
|
37879
|
+
function openSidebarNotes() {
|
|
37880
|
+
if (!$('#btnToggleSidebarNotes').hasClass('toggled')) {
|
|
37881
|
+
$('#btnToggleSidebarNotes').click();
|
|
37882
|
+
}
|
|
37883
|
+
}
|
|
37884
|
+
|
|
37865
37885
|
async function getNewNoteIndex(pageNr) {
|
|
37866
37886
|
let list = await context.getIssueList();
|
|
37867
37887
|
|