@vitrosoftware/common-ui-ts 1.1.106 → 1.1.108

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.
@@ -1,4 +1,6 @@
1
1
  export declare class KEY_CODE {
2
2
  static readonly ENTER = 13;
3
3
  static readonly ESC = 27;
4
+ static readonly ARROW_RIGHT = 39;
5
+ static readonly ARROW_LEFT = 37;
4
6
  }
@@ -3,6 +3,7 @@ import { DropdownItem } from '../DropdownButton/DropdownItem';
3
3
  interface ActivityProps {
4
4
  title?: string;
5
5
  filterDropdownList?: DropdownItem[];
6
+ onDrop?: (e: React.DragEvent<HTMLDivElement>) => void;
6
7
  children: React.ReactNode;
7
8
  }
8
9
  export declare const Activity: (props: ActivityProps) => JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { MessageInputRef } from './MessageInputRef';
2
3
  interface MessageInputProps {
3
4
  placeholder?: string;
4
5
  isDisabled?: boolean;
@@ -11,5 +12,5 @@ interface MessageInputProps {
11
12
  getFileSize: (size: any) => string;
12
13
  children?: React.ReactNode;
13
14
  }
14
- export declare const MessageInput: (props: MessageInputProps) => JSX.Element;
15
+ export declare const MessageInput: React.ForwardRefExoticComponent<MessageInputProps & React.RefAttributes<MessageInputRef>>;
15
16
  export {};
@@ -0,0 +1,3 @@
1
+ export interface MessageInputRef {
2
+ setFileList(fileList: FileList): void;
3
+ }
@@ -6,7 +6,6 @@ export interface TableViewContext {
6
6
  readonly columnList: any;
7
7
  readonly columnNameList: any;
8
8
  readonly filter: any;
9
- readonly sort: any;
10
9
  readonly pageLength: number;
11
10
  readonly id: string;
12
11
  readonly gantt: string;
@@ -14,6 +13,7 @@ export interface TableViewContext {
14
13
  readonly header: TableViewRow;
15
14
  readonly readOnly: boolean;
16
15
  dragging: boolean;
16
+ sort: any;
17
17
  filterOneLevel: boolean;
18
18
  scope: string;
19
19
  setSearchCriterionList(searchCriterionList: SearchCriterion[], searchId: string): void;
@@ -17,7 +17,8 @@ export declare class TreeGridTableViewContextImpl implements TableViewContext {
17
17
  get columnNameList(): any;
18
18
  get readOnly(): any;
19
19
  get gantt(): any;
20
- get sort(): any;
20
+ get sort(): string;
21
+ set sort(value: string);
21
22
  get rowCount(): any;
22
23
  get filter(): any;
23
24
  get dragging(): boolean;
@@ -78,6 +78,7 @@ import { CONTROL } from './constants/Control';
78
78
  import { UNIT } from './constants/Unit';
79
79
  import { ScrollBar } from './controls/ScrollBar/ScrollBar';
80
80
  import { MessageInput } from './controls/MessageInput/MessageInput';
81
+ import { MessageInputRef } from './controls/MessageInput/MessageInputRef';
81
82
  import { ImagePicker } from './controls/ImagePicker/ImagePicker';
82
83
  import { Criterion } from './controls/Criterion/Criterion';
83
84
  import { SearchCriterion } from './controls/Search/SearchCriterion';
@@ -173,7 +174,7 @@ export { ActivityItem, ActivityItemProps, ActivityMessage };
173
174
  export { Image };
174
175
  export { EVENT };
175
176
  export { ScrollBar };
176
- export { MessageInput };
177
+ export { MessageInput, MessageInputRef };
177
178
  export { ImagePicker };
178
179
  export { Criterion };
179
180
  export { Search, SearchCriterion };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrosoftware/common-ui-ts",
3
- "version": "1.1.106",
3
+ "version": "1.1.108",
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.106';
1
+ import { BIMModel, BIMCommon, BIMAnnotation } from '/resource/bimViewer/js/bim-viewer-models.js?version=1.1.108';
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.106';
8
+ from '/resource/bimViewer/js/xeokit/xeokit-sdk.es.js?version=1.1.108';
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.106",
3225
+ value: "resource/pdfViewer/js/pdf.worker.js?version=1.1.108",
3226
3226
  kind: OptionKind.WORKER
3227
3227
  }
3228
3228
  };