@vitrosoftware/common-ui-ts 1.1.105 → 1.1.107
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 +5 -0
- package/css/std/controls/file/file.css +4 -0
- package/css/std/controls/site-select/site-item.css +4 -0
- package/css/std/controls/site-select/site-select.css +0 -2
- package/dist/index.css +14 -2
- package/dist/index.js +50 -12
- package/dist/index.js.map +1 -1
- package/dist/src/constants/KeyCode.d.ts +2 -0
- package/dist/src/controls/Activity/Activity.d.ts +1 -0
- package/dist/src/controls/FlexBox/FlexBox.d.ts +1 -1
- package/dist/src/controls/MessageInput/MessageInput.d.ts +2 -1
- package/dist/src/controls/MessageInput/MessageInputRef.d.ts +3 -0
- package/dist/src/controls/TableView/TableViewContext.d.ts +1 -1
- package/dist/src/controls/TableView/TreeGridTableViewContextImpl.d.ts +2 -1
- package/dist/src/index.d.ts +2 -1
- 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
|
@@ -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;
|
|
@@ -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:
|
|
7
|
+
export declare const FlexBox: React.ForwardRefExoticComponent<FlexBoxProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -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:
|
|
15
|
+
export declare const MessageInput: React.ForwardRefExoticComponent<MessageInputProps & React.RefAttributes<MessageInputRef>>;
|
|
15
16
|
export {};
|
|
@@ -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():
|
|
20
|
+
get sort(): string;
|
|
21
|
+
set sort(value: string);
|
|
21
22
|
get rowCount(): any;
|
|
22
23
|
get filter(): any;
|
|
23
24
|
get dragging(): boolean;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -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,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.107';
|
|
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.107';
|
|
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.107",
|
|
3226
3226
|
kind: OptionKind.WORKER
|
|
3227
3227
|
}
|
|
3228
3228
|
};
|