@vitrosoftware/common-ui-ts 1.1.113 → 1.1.114
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/action-handler/action-result-list.css +34 -0
- package/css/std/controls/action-handler/confirm-dialog.css +1 -0
- package/css/std/controls/action-handler/result-dialog.css +20 -0
- package/css/std/controls/checkbox/checkbox.css +1 -0
- package/css/std/controls/criterion/criterion.css +67 -33
- package/css/std/controls/dialog/dialog-footer.css +1 -1
- package/css/std/controls/image-button/image-button.css +6 -2
- package/css/std/controls/list/list.css +10 -0
- package/css/std/controls/search/checkbox-list.css +8 -15
- package/css/std/controls/search/search.css +113 -22
- package/css/std/controls/search-input/img/search-blue.svg +3 -0
- package/css/std/controls/search-input/search-input.css +16 -35
- package/css/std/controls/table-view/treegrid.css +113 -1
- package/css/std/controls/uploader/uploader.css +17 -0
- package/dist/index.css +294 -111
- package/dist/index.js +393 -377
- package/dist/index.js.map +1 -1
- package/dist/src/controls/Button/Button.d.ts +2 -2
- package/dist/src/controls/Criterion/Criterion.d.ts +1 -0
- package/dist/src/controls/Dialog/Dialog.d.ts +1 -0
- package/dist/src/controls/Dialog/DialogFooter.d.ts +3 -2
- package/dist/src/controls/Label/Label.d.ts +2 -2
- package/dist/src/controls/List/List.d.ts +10 -0
- package/dist/src/controls/Search/CheckboxList.d.ts +2 -2
- package/dist/src/controls/Search/Filter.d.ts +1 -0
- package/dist/src/controls/Search/Search.d.ts +2 -1
- package/dist/src/controls/SearchInput/SearchInput.d.ts +1 -0
- package/dist/src/controls/TableView/TableViewConstants.d.ts +17 -0
- package/dist/src/controls/TelerikUploader/TelerikUploader.d.ts +1 -0
- package/dist/src/index.d.ts +2 -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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface ButtonProps {
|
|
3
3
|
text: string;
|
|
4
4
|
isDisabled?: boolean;
|
|
@@ -10,4 +10,4 @@ export interface ButtonProps {
|
|
|
10
10
|
imageHoverUrl?: string;
|
|
11
11
|
imageClassName?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare const Button:
|
|
13
|
+
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -3,11 +3,12 @@ import { ButtonProps } from '../Button/Button';
|
|
|
3
3
|
interface DialogFooterProps {
|
|
4
4
|
buttonList?: ButtonProps[];
|
|
5
5
|
labelClose?: string;
|
|
6
|
-
onClose
|
|
7
|
-
onClickDetailButton
|
|
6
|
+
onClose?: () => any;
|
|
7
|
+
onClickDetailButton?: (isExpanded: boolean) => void;
|
|
8
8
|
isDismissible?: boolean;
|
|
9
9
|
isShowDetailButton?: boolean;
|
|
10
10
|
dialog?: any;
|
|
11
|
+
className?: string;
|
|
11
12
|
}
|
|
12
13
|
export declare const DialogFooter: (props: DialogFooterProps) => JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface LabelProps {
|
|
3
3
|
text: string;
|
|
4
4
|
isRequired?: boolean;
|
|
5
5
|
className?: string;
|
|
6
6
|
width?: number;
|
|
7
7
|
}
|
|
8
|
-
export declare const Label:
|
|
8
|
+
export declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
export default Label;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ListProps {
|
|
3
|
+
itemList: any[];
|
|
4
|
+
itemTemplate: React.FunctionComponent;
|
|
5
|
+
onClick?: (item: any) => void;
|
|
6
|
+
onBlur?: (e: React.FocusEvent<HTMLUListElement>) => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const List: React.ForwardRefExoticComponent<ListProps & React.RefAttributes<HTMLUListElement>>;
|
|
10
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface CheckboxListProps {
|
|
3
3
|
itemList: {
|
|
4
4
|
id: string;
|
|
@@ -8,5 +8,5 @@ interface CheckboxListProps {
|
|
|
8
8
|
onChange?: (selectedItemList: string[]) => void;
|
|
9
9
|
isAllSelected?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare const CheckboxList:
|
|
11
|
+
export declare const CheckboxList: React.ForwardRefExoticComponent<CheckboxListProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
export {};
|
|
@@ -16,6 +16,7 @@ interface FilterProps {
|
|
|
16
16
|
getConditionList: (componentName: string) => Condition[];
|
|
17
17
|
getDefaultCondition?: (componentName: string) => number;
|
|
18
18
|
onDeleteField: (id: string) => any;
|
|
19
|
+
isMobileView?: boolean;
|
|
19
20
|
}
|
|
20
21
|
export declare const Filter: (props: FilterProps) => JSX.Element;
|
|
21
22
|
export {};
|
|
@@ -7,7 +7,7 @@ interface SearchProps {
|
|
|
7
7
|
visibleFieldList?: any[];
|
|
8
8
|
searchCriterionList?: SearchCriterion[];
|
|
9
9
|
onFilterChange?: (searchCriterionList: SearchCriterion[]) => any;
|
|
10
|
-
|
|
10
|
+
onSearch: (searchCriterionList: SearchCriterion[]) => any;
|
|
11
11
|
onCancel: () => any;
|
|
12
12
|
componentMap: {
|
|
13
13
|
name: string;
|
|
@@ -24,6 +24,7 @@ interface SearchProps {
|
|
|
24
24
|
defaultSearchFieldName: string;
|
|
25
25
|
inputPlaceholder?: string;
|
|
26
26
|
maxFieldCount?: number;
|
|
27
|
+
isMobileView?: boolean;
|
|
27
28
|
}
|
|
28
29
|
export declare const Search: (props: SearchProps) => JSX.Element;
|
|
29
30
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare enum EVENT {
|
|
2
2
|
ON_SELECT = "OnSelect",
|
|
3
|
+
ON_SHOW_MENU = "OnShowMenu",
|
|
3
4
|
ON_DATA_SEND = "OnDataSend",
|
|
4
5
|
ON_LOADED = "OnLoaded",
|
|
5
6
|
ON_CLICK = "OnClick",
|
|
@@ -155,3 +156,19 @@ export declare enum OPERATOR {
|
|
|
155
156
|
AND = 0,
|
|
156
157
|
OR = 1
|
|
157
158
|
}
|
|
159
|
+
export declare enum PARAM {
|
|
160
|
+
EXPORT = "Export",
|
|
161
|
+
EXPORT_NAME = "ExportName",
|
|
162
|
+
EXPORT_FORMAT = "ExportFormat"
|
|
163
|
+
}
|
|
164
|
+
export declare enum COL_ID {
|
|
165
|
+
PANEL = "Panel",
|
|
166
|
+
PAGER = "Pager"
|
|
167
|
+
}
|
|
168
|
+
export declare enum BUTTON {
|
|
169
|
+
CLEAR = "Clear"
|
|
170
|
+
}
|
|
171
|
+
export declare enum MENU_NAME {
|
|
172
|
+
EXPORT = "MenuExport",
|
|
173
|
+
COLUMNS = "MenuColumns"
|
|
174
|
+
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -138,6 +138,7 @@ import { FlexBox } from './controls/FlexBox/FlexBox';
|
|
|
138
138
|
import { SlideUpPanel } from './controls/SlideUpPanel/SlideUpPanel';
|
|
139
139
|
import { BottomAlignControlGroup } from './controls/BottomAlignControlGroup/BottomAlignControlGroup';
|
|
140
140
|
import { LinearProgress } from './controls/LinearProgress/LinearProgress';
|
|
141
|
+
import { List } from './controls/List/List';
|
|
141
142
|
export { Breadcrumbs };
|
|
142
143
|
export { TopLevelMenu };
|
|
143
144
|
export { TreeView, TreeViewContext, TREE_VIEW, TreeViewProps, JsTreeViewNode };
|
|
@@ -221,3 +222,4 @@ export { ScrollView, ScrollViewItem };
|
|
|
221
222
|
export { ImageViewer, ImageViewerRef, ImageItem };
|
|
222
223
|
export { File };
|
|
223
224
|
export { LinearProgress };
|
|
225
|
+
export { List };
|
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.114';
|
|
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.114';
|
|
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.114",
|
|
21212
21212
|
kind: OptionKind.WORKER
|
|
21213
21213
|
}
|
|
21214
21214
|
};
|