@vitrosoftware/common-ui-ts 1.1.104 → 1.1.106

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.
@@ -8,7 +8,7 @@ export interface ActivityMessageProps {
8
8
  maxVisibleFileCount?: number;
9
9
  hiddenImageCountTooltip?: string;
10
10
  hiddenFileCountTooltip?: string;
11
- showHiddenImageList?: (fileList: any[]) => any;
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?: (fileList: any[]) => any;
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;
@@ -8,7 +8,6 @@ interface DropdownButtonProps {
8
8
  onToggle?: (state: any, e: any) => any;
9
9
  className?: string;
10
10
  menuStyle?: any;
11
- flip?: boolean;
12
11
  }
13
12
  export declare const DropdownButton: (props: DropdownButtonProps) => JSX.Element;
14
13
  export {};
@@ -4,4 +4,4 @@ export interface FlexBoxProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  gap?: number;
5
5
  className?: string;
6
6
  }
7
- export declare const FlexBox: (props: FlexBoxProps) => JSX.Element;
7
+ export declare const FlexBox: React.ForwardRefExoticComponent<FlexBoxProps & React.RefAttributes<HTMLDivElement>>;
@@ -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
- onPasteImage?: (fileList: any[]) => any;
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;
@@ -2,6 +2,7 @@
2
2
  import { ScrollViewItem } from './ScrollViewItem';
3
3
  interface ScrollViewProps {
4
4
  itemList: ScrollViewItem[];
5
+ activePage?: number;
5
6
  isEnablePager?: boolean;
6
7
  onChange?: (nextPage: number, e: any) => any;
7
8
  className?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrosoftware/common-ui-ts",
3
- "version": "1.1.104",
3
+ "version": "1.1.106",
4
4
  "description": "vitro software common ui ts",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -1,11 +1,11 @@
1
- import { BIMModel, BIMCommon, BIMAnnotation } from '/resource/bimViewer/js/bim-viewer-models.js?version=1.1.104';
1
+ import { BIMModel, BIMCommon, BIMAnnotation } from '/resource/bimViewer/js/bim-viewer-models.js?version=1.1.106';
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.104';
8
+ from '/resource/bimViewer/js/xeokit/xeokit-sdk.es.js?version=1.1.106';
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.104",
3225
+ value: "resource/pdfViewer/js/pdf.worker.js?version=1.1.106",
3226
3226
  kind: OptionKind.WORKER
3227
3227
  }
3228
3228
  };