@vitrosoftware/common-ui-ts 1.1.136 → 1.1.138

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.
@@ -10,5 +10,6 @@ export declare enum EVENT {
10
10
  HISTORY_CHANGED = "vitro.history.changed",
11
11
  DROP = "drop",
12
12
  CONTEXTMENU = "contextmenu",
13
- COMMANDMENU_TOGGLE = "vitro.commandmenu.toggle"
13
+ COMMANDMENU_TOGGLE = "vitro.commandmenu.toggle",
14
+ PDFVIEWER_PAN_START = "vitro.pdfviewer.pan.start"
14
15
  }
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export interface CopyButtonProps {
3
+ value: string;
4
+ className?: string;
5
+ }
6
+ export declare const CopyButton: (props: CopyButtonProps) => JSX.Element;
@@ -4,6 +4,7 @@ interface SelectedValueListProps {
4
4
  id: string;
5
5
  }[];
6
6
  isMultiSelect?: boolean;
7
+ isReadOnly?: boolean;
7
8
  selectedValueTemplate: (value: any) => any;
8
9
  onOptionValueDelete: (id: string) => any;
9
10
  getHtmlValue?: (item: {
@@ -4,6 +4,7 @@ interface SelectedValueListItemProps {
4
4
  id: string;
5
5
  };
6
6
  isMultiSelect?: boolean;
7
+ isReadOnly?: boolean;
7
8
  selectedValueTemplate: (value: any) => any;
8
9
  onOptionValueDelete: (id: string) => any;
9
10
  getHtmlValue?: (item: {
@@ -144,6 +144,7 @@ import { DxfViewer } from './controls/DxfViewer/DxfViewer';
144
144
  import { DxfViewerContext } from './controls/DxfViewer/DxfViewerContext';
145
145
  import { ErrorMessage } from './controls/ErrorMessage/ErrorMessage';
146
146
  import { Select } from './controls/Select/Select';
147
+ import { CopyButton } from './controls/CopyButton/CopyButton';
147
148
  export { Breadcrumbs };
148
149
  export { TopLevelMenu };
149
150
  export { TreeView, TreeViewContext, TREE_VIEW, TreeViewProps, JsTreeViewNode };
@@ -231,3 +232,4 @@ export { List };
231
232
  export { DxfViewer, DxfViewerContext };
232
233
  export { ErrorMessage };
233
234
  export { Select };
235
+ export { CopyButton };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrosoftware/common-ui-ts",
3
- "version": "1.1.136",
3
+ "version": "1.1.138",
4
4
  "description": "vitro software common ui ts",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -28,7 +28,7 @@
28
28
  });
29
29
  },
30
30
 
31
- GetSmallModel: async function (viewer, version, signal, callback, error) {
31
+ GetSmallModel: async function (viewer, version, sceneOptions, signal, callback, error) {
32
32
  function ConvertToInt32(buffer) {
33
33
  return new DataView(buffer).getInt32(0, true);
34
34
  }
@@ -43,6 +43,14 @@
43
43
  paramObj.projMatrix = Array.from(viewer.camera.projMatrix);
44
44
  paramObj.eye = Array.from(viewer.camera.eye);
45
45
 
46
+ paramObj.visibilityMode = sceneOptions.visibilityMode;
47
+ paramObj.visibilityEntityIdList = sceneOptions.visibilityEntityIdList;
48
+
49
+ paramObj.xrayMode = sceneOptions.xrayMode;
50
+ paramObj.xrayedEntityIdList = sceneOptions.xrayedEntityIdList;
51
+
52
+ paramObj.sectionPlanes = sceneOptions.sectionPlanes;
53
+
46
54
  try
47
55
  {
48
56
  let response = await fetch(webRelativeUrl + "/bimViewer/api/Scene/SmallModel", {