@vitrosoftware/common-ui-ts 1.1.104 → 1.1.105
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/dropdown-button/dropdown-button.css +2 -5
- package/css/std/controls/file/file.css +2 -2
- package/css/std/controls/image-viewer/image-viewer.css +2 -1
- package/dist/index.css +6 -7
- package/dist/index.js +76 -38
- package/dist/index.js.map +1 -1
- package/dist/src/controls/ActivityItem/ActivityMessage.d.ts +1 -1
- package/dist/src/controls/ActivityItem/AttachedFileList.d.ts +1 -1
- package/dist/src/controls/ActivityItem/AttachedFileListItem.d.ts +1 -1
- package/dist/src/controls/DropdownButton/DropdownButton.d.ts +0 -1
- package/dist/src/controls/ImageViewer/ImageViewer.d.ts +1 -0
- package/dist/src/controls/MessageInput/MessageInput.d.ts +1 -1
- package/dist/src/controls/ScrollBar/ScrollBar.d.ts +1 -0
- package/dist/src/controls/ScrollView/ScrollView.d.ts +1 -0
- package/package.json +1 -1
- package/src/controls/BimViewer/js/bim-viewer.js +2 -2
- package/src/controls/PdfViewer/js/pdf-viewer.js +1 -1
|
@@ -8,7 +8,7 @@ export interface ActivityMessageProps {
|
|
|
8
8
|
maxVisibleFileCount?: number;
|
|
9
9
|
hiddenImageCountTooltip?: string;
|
|
10
10
|
hiddenFileCountTooltip?: string;
|
|
11
|
-
showHiddenImageList?: (
|
|
11
|
+
showHiddenImageList?: (hiddenImageList: any[], imageList: any[]) => any;
|
|
12
12
|
showHiddenFileList?: (fileList: any[]) => any;
|
|
13
13
|
}
|
|
14
14
|
export declare const ActivityMessage: (props: ActivityMessageProps) => JSX.Element;
|
|
@@ -6,7 +6,7 @@ export interface AttachedFileListProps {
|
|
|
6
6
|
hiddenFileCountTooltip?: string;
|
|
7
7
|
maxVisibleImageCount?: number;
|
|
8
8
|
maxVisibleFileCount?: number;
|
|
9
|
-
showHiddenImageList?: (
|
|
9
|
+
showHiddenImageList?: (hiddenImageList: any[], imageList: any[]) => any;
|
|
10
10
|
showHiddenFileList?: (fileList: any[]) => any;
|
|
11
11
|
}
|
|
12
12
|
export declare const AttachedFileList: (props: AttachedFileListProps) => JSX.Element;
|
|
@@ -4,6 +4,6 @@ export interface AttachedFileListItemProps {
|
|
|
4
4
|
fileList: FileProps[];
|
|
5
5
|
maxVisibleFileCount: number;
|
|
6
6
|
hiddenFileCountTooltip?: string;
|
|
7
|
-
showHiddenFileList?: (hiddenFileList: FileProps[]) => any;
|
|
7
|
+
showHiddenFileList?: (hiddenFileList: FileProps[], fileList?: FileProps[]) => any;
|
|
8
8
|
}
|
|
9
9
|
export declare const AttachedFileListItem: (props: AttachedFileListItemProps) => JSX.Element;
|
|
@@ -3,6 +3,7 @@ import { ImageItem } from './ImageItem';
|
|
|
3
3
|
import { ImageViewerRef } from './ImageViewerRef';
|
|
4
4
|
interface ImageViewerProps {
|
|
5
5
|
itemList: ImageItem[];
|
|
6
|
+
activePage?: number;
|
|
6
7
|
onCloseClick: () => void;
|
|
7
8
|
}
|
|
8
9
|
export declare const ImageViewer: React.ForwardRefExoticComponent<ImageViewerProps & React.RefAttributes<ImageViewerRef>>;
|
|
@@ -6,7 +6,7 @@ interface MessageInputProps {
|
|
|
6
6
|
onSelectFiles?: (fileList: any[]) => any;
|
|
7
7
|
onChange?: (value: string) => any;
|
|
8
8
|
onDrop?: (e: any) => any;
|
|
9
|
-
|
|
9
|
+
onPasteFile?: (fileList: any[]) => any;
|
|
10
10
|
getFileImage: (name: string) => string;
|
|
11
11
|
getFileSize: (size: any) => string;
|
|
12
12
|
children?: React.ReactNode;
|
|
@@ -5,6 +5,7 @@ interface ScrollBarProps {
|
|
|
5
5
|
onInit?: (container: any) => any;
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
className?: string;
|
|
8
|
+
contentRef?: React.RefObject<HTMLDivElement>;
|
|
8
9
|
contentClassName?: string;
|
|
9
10
|
}
|
|
10
11
|
export declare const ScrollBar: (props: ScrollBarProps) => JSX.Element;
|
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.105';
|
|
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
|
|
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.105';
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
const processByChildIdList = (treeViewNode, event) => {
|
|
@@ -3222,7 +3222,7 @@ const defaultOptions = {
|
|
|
3222
3222
|
kind: OptionKind.WORKER
|
|
3223
3223
|
},
|
|
3224
3224
|
workerSrc: {
|
|
3225
|
-
value: "resource/pdfViewer/js/pdf.worker.js?version=1.1.
|
|
3225
|
+
value: "resource/pdfViewer/js/pdf.worker.js?version=1.1.105",
|
|
3226
3226
|
kind: OptionKind.WORKER
|
|
3227
3227
|
}
|
|
3228
3228
|
};
|