@vitrosoftware/common-ui-ts 1.1.118 → 1.1.119
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/lookup-picker/lookup-picker-html-value.css +0 -2
- package/css/std/controls/lookup-picker/lookup-picker-selected-item.css +1 -9
- package/css/std/controls/lookup-picker/lookup-picker.css +8 -0
- package/css/std/controls/table-view/table-view-custom-lookup-edit.css +1 -1
- package/css/std/controls/table-view/table-view.css +1 -0
- package/dist/index.css +97 -99
- package/dist/index.js +287 -163
- package/dist/index.js.map +1 -1
- package/dist/src/controls/LookupPicker/LookupPicker.d.ts +1 -0
- package/dist/src/controls/LookupPicker/SelectedValueList.d.ts +1 -0
- package/dist/src/controls/LookupPicker/SelectedValueListItem.d.ts +15 -0
- package/dist/src/controls/LookupPicker/ValueList.d.ts +1 -0
- package/dist/src/controls/SiteSelect/SiteItem.d.ts +2 -1
- package/dist/src/controls/SiteSelect/SiteSelect.d.ts +2 -1
- package/dist/src/controls/Splitter/Splitter.d.ts +2 -0
- package/dist/src/controls/TableView/TableViewConstants.d.ts +2 -1
- package/dist/src/controls/TableView/TableViewContext.d.ts +2 -0
- package/dist/src/controls/TableView/TreeGridTableViewContextImpl.d.ts +3 -0
- package/dist/src/controls/Tooltip/Tooltip.d.ts +1 -0
- package/dist/src/controls/Tooltip/TooltipConstants.d.ts +3 -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
|
@@ -24,6 +24,7 @@ export interface LookupPickerProps {
|
|
|
24
24
|
isReadOnly?: boolean;
|
|
25
25
|
isRequired?: boolean;
|
|
26
26
|
isFlipDropdown?: boolean;
|
|
27
|
+
dropdownPlacement?: string;
|
|
27
28
|
isShowButtonClear?: boolean;
|
|
28
29
|
onChange?: (value: any[] | any, name?: string) => void;
|
|
29
30
|
onBlur?: (e: any, name?: string) => void;
|
|
@@ -9,6 +9,7 @@ interface SelectedValueListProps {
|
|
|
9
9
|
getHtmlValue?: (item: {
|
|
10
10
|
id: string;
|
|
11
11
|
}) => FunctionComponentElement<any> | null;
|
|
12
|
+
setTooltipText: (string: string) => void;
|
|
12
13
|
}
|
|
13
14
|
export declare const SelectedValueList: (props: SelectedValueListProps) => JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FunctionComponentElement } from 'react';
|
|
2
|
+
interface SelectedValueListItemProps {
|
|
3
|
+
item: {
|
|
4
|
+
id: string;
|
|
5
|
+
};
|
|
6
|
+
isMultiSelect?: boolean;
|
|
7
|
+
selectedValueTemplate: (value: any) => any;
|
|
8
|
+
onOptionValueDelete: (id: string) => any;
|
|
9
|
+
getHtmlValue?: (item: {
|
|
10
|
+
id: string;
|
|
11
|
+
}) => FunctionComponentElement<any> | null;
|
|
12
|
+
setTooltipText: (string: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const SelectedValueListItem: (props: SelectedValueListItemProps) => JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
2
|
export interface SiteItemProps {
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
@@ -7,6 +7,7 @@ export interface SiteItemProps {
|
|
|
7
7
|
isActive: boolean;
|
|
8
8
|
isMobileView?: boolean;
|
|
9
9
|
onClick: () => void;
|
|
10
|
+
onMouseDown: (mouseEvent: MouseEvent) => void;
|
|
10
11
|
onStar?: (isStarActive: boolean) => void;
|
|
11
12
|
className?: string;
|
|
12
13
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
2
|
import { SiteItemProps } from './SiteItem';
|
|
3
3
|
interface SiteSelectProps {
|
|
4
4
|
itemList: SiteItemProps[];
|
|
@@ -6,6 +6,7 @@ interface SiteSelectProps {
|
|
|
6
6
|
title: string;
|
|
7
7
|
activeItem: SiteItemProps;
|
|
8
8
|
onChange?: (item: SiteItemProps) => void;
|
|
9
|
+
onMouseDown?: (item: SiteItemProps, mouseEvent: MouseEvent) => boolean;
|
|
9
10
|
onStarChange?: (item: SiteItemProps) => void;
|
|
10
11
|
}
|
|
11
12
|
export declare const SiteSelect: (props: SiteSelectProps) => JSX.Element;
|
|
@@ -11,6 +11,8 @@ interface SplitterProps {
|
|
|
11
11
|
isMaximizedPrimaryPane?: boolean;
|
|
12
12
|
isMinimalizedPrimaryPane?: boolean;
|
|
13
13
|
onDragFinished?: () => any;
|
|
14
|
+
onInit?: (splitter: any) => void;
|
|
15
|
+
onWrapperResized?: (splitter: any) => void;
|
|
14
16
|
className?: string;
|
|
15
17
|
children: React.ReactNode;
|
|
16
18
|
}
|
|
@@ -38,7 +38,8 @@ export declare enum EVENT {
|
|
|
38
38
|
ON_DROP = "OnDrop",
|
|
39
39
|
ON_INIT = "OnInit",
|
|
40
40
|
ON_CUSTOM_AJAX = "OnCustomAjax",
|
|
41
|
-
ON_CLICK_SIDE_BUTTON = "OnClickSideButton"
|
|
41
|
+
ON_CLICK_SIDE_BUTTON = "OnClickSideButton",
|
|
42
|
+
ON_SCROLL = "OnScroll"
|
|
42
43
|
}
|
|
43
44
|
export declare enum URL {
|
|
44
45
|
LAYOUT = "Layout",
|
|
@@ -85,4 +85,6 @@ export interface TableViewContext {
|
|
|
85
85
|
hideTip(): void;
|
|
86
86
|
showMenu(row: TableViewRow, col: string, menu: any, position?: any, func?: Function): void;
|
|
87
87
|
showPopup(menu: any, func?: Function): void;
|
|
88
|
+
getShownRows(): TableViewRow[];
|
|
89
|
+
getShownCols(section?: number): string[];
|
|
88
90
|
}
|
|
@@ -27,6 +27,7 @@ export declare class TreeGridTableViewContextImpl implements TableViewContext {
|
|
|
27
27
|
set scope(value: string);
|
|
28
28
|
get pageLength(): any;
|
|
29
29
|
get header(): TableViewRow;
|
|
30
|
+
get mainTag(): HTMLElement;
|
|
30
31
|
setSearchCriterionList(searchCriterionList: SearchCriterion[], searchId: string): void;
|
|
31
32
|
clearSearchCriterionList(searchId: string): void;
|
|
32
33
|
getSearchCriterionList(searchId?: string): SearchCriterion[];
|
|
@@ -96,4 +97,6 @@ export declare class TreeGridTableViewContextImpl implements TableViewContext {
|
|
|
96
97
|
hideTip(): void;
|
|
97
98
|
showMenu(row: TableViewRow, col: string, menu: any, position?: any, func?: Function): void;
|
|
98
99
|
showPopup(menu: any, func?: Function): void;
|
|
100
|
+
getShownRows(): TableViewRow[];
|
|
101
|
+
getShownCols(section?: number): string[];
|
|
99
102
|
}
|
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.119';
|
|
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.119';
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
const processByChildIdList = (treeViewNode, event) => {
|
|
@@ -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.119",
|
|
21212
21212
|
kind: OptionKind.WORKER
|
|
21213
21213
|
}
|
|
21214
21214
|
};
|