@vitrosoftware/common-ui-ts 1.1.115 → 1.1.117
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/button/button.css +2 -1
- package/css/std/controls/button-cancel/button-cancel.css +2 -1
- package/css/std/controls/command-menu/command-menu-button.css +4 -1
- package/css/std/controls/command-menu/command-menu-dropdown-button.css +23 -12
- package/css/std/controls/date-picker/date-picker.css +10 -2
- package/css/std/controls/pdf-viewer/pdf-viewer-index.css +1 -0
- package/css/std/controls/pdf-viewer/pdf-viewer.css +1 -0
- package/css/std/controls/tab-group/tab-group.css +18 -0
- package/css/std/controls/table-view/table-view-custom-date-edit.css +1 -5
- package/css/std/controls/table-view/table-view.css +13 -0
- package/css/std/controls/table-view/treegrid-cell.css +70 -0
- package/css/std/controls/table-view/treegrid-cfg-menu.css +208 -0
- package/css/std/controls/table-view/treegrid-context-menu.css +159 -0
- package/css/std/controls/table-view/treegrid-filter.css +265 -0
- package/css/std/controls/table-view/treegrid-gantt.css +66 -0
- package/css/std/controls/table-view/treegrid-group.css +59 -0
- package/css/std/controls/table-view/treegrid-header.css +30 -0
- package/css/std/controls/table-view/treegrid-message.css +41 -0
- package/css/std/controls/table-view/treegrid-progress.css +47 -0
- package/css/std/controls/table-view/treegrid-scroll.css +55 -0
- package/css/std/controls/table-view/treegrid-sort.css +25 -0
- package/css/std/controls/table-view/treegrid-tab.css +45 -0
- package/css/std/controls/table-view/treegrid-tip.css +23 -0
- package/css/std/controls/table-view/treegrid.css +0 -989
- package/css/std/controls/uploader/img/error.svg +6 -0
- package/css/std/controls/uploader/img/warning.svg +10 -0
- package/css/std/controls/uploader/uploader.css +75 -35
- package/dist/index.css +146 -53
- package/dist/index.js +156 -60
- package/dist/index.js.map +1 -1
- package/dist/src/constants/KeyCode.d.ts +1 -0
- package/dist/src/controls/ActionHandler/ConfirmDialog.d.ts +2 -1
- package/dist/src/controls/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/src/controls/CommandMenu/CommandMenuItemHeader.d.ts +1 -0
- package/dist/src/controls/Dialog/Dialog.d.ts +2 -1
- package/dist/src/controls/Dialog/DialogFooter.d.ts +2 -1
- package/dist/src/controls/TableView/TableViewConstants.d.ts +3 -0
- package/dist/src/controls/TableView/TableViewContext.d.ts +4 -0
- package/dist/src/controls/TableView/TreeGridTableViewContextImpl.d.ts +4 -0
- package/dist/src/controls/TelerikUploader/TelerikUploaderConstants.d.ts +1 -0
- package/package.json +1 -1
- package/src/controls/BimViewer/js/bim-viewer.js +2 -2
- package/src/controls/PdfViewer/js/pdf-viewer.js +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { KeyboardEvent } from 'react';
|
|
2
2
|
interface ConfirmDialogProps {
|
|
3
3
|
actionName?: string;
|
|
4
4
|
itemCount: number;
|
|
@@ -6,6 +6,7 @@ interface ConfirmDialogProps {
|
|
|
6
6
|
labelYes?: string;
|
|
7
7
|
onCancel: () => void;
|
|
8
8
|
onConfirm: () => void;
|
|
9
|
+
onKeyDown?: (e: KeyboardEvent<HTMLDivElement>) => void;
|
|
9
10
|
}
|
|
10
11
|
export declare const ConfirmDialog: (props: ConfirmDialogProps) => JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -3,5 +3,5 @@ interface ButtonGroupProps {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const ButtonGroup:
|
|
6
|
+
export declare const ButtonGroup: React.ForwardRefExoticComponent<ButtonGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
export {};
|
|
@@ -5,6 +5,7 @@ interface CommandMenuItemHeaderProps {
|
|
|
5
5
|
isHideChevronDown?: boolean;
|
|
6
6
|
imageUrl?: string;
|
|
7
7
|
imageHoverUrl?: string;
|
|
8
|
+
setIsRight: (isRight: boolean) => void;
|
|
8
9
|
className?: string;
|
|
9
10
|
}
|
|
10
11
|
export declare const CommandMenuItemHeader: (props: CommandMenuItemHeaderProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { KeyboardEvent } from 'react';
|
|
2
2
|
import { ButtonProps } from '../Button/Button';
|
|
3
3
|
export interface DialogProps {
|
|
4
4
|
title: string;
|
|
@@ -9,6 +9,7 @@ export interface DialogProps {
|
|
|
9
9
|
labelClose?: string;
|
|
10
10
|
isDismissible?: boolean;
|
|
11
11
|
onClose?: (dialog: any) => any;
|
|
12
|
+
onKeyDown?: (e: KeyboardEvent<HTMLDivElement>) => void;
|
|
12
13
|
width?: number;
|
|
13
14
|
height?: number;
|
|
14
15
|
content?: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
2
|
import { ButtonProps } from '../Button/Button';
|
|
3
3
|
interface DialogFooterProps {
|
|
4
4
|
buttonList?: ButtonProps[];
|
|
@@ -8,6 +8,7 @@ interface DialogFooterProps {
|
|
|
8
8
|
isDismissible?: boolean;
|
|
9
9
|
isShowDetailButton?: boolean;
|
|
10
10
|
dialog?: any;
|
|
11
|
+
buttonGroupRef?: RefObject<HTMLDivElement>;
|
|
11
12
|
className?: string;
|
|
12
13
|
}
|
|
13
14
|
export declare const DialogFooter: (props: DialogFooterProps) => JSX.Element;
|
|
@@ -81,4 +81,8 @@ export interface TableViewContext {
|
|
|
81
81
|
getFirstCol(section: number): any;
|
|
82
82
|
focusRow(row: TableViewRow): any;
|
|
83
83
|
showPopupMenu(): any;
|
|
84
|
+
closeDialog(): void;
|
|
85
|
+
hideTip(): void;
|
|
86
|
+
showMenu(row: TableViewRow, col: string, menu: any, position?: any, func?: Function): void;
|
|
87
|
+
showPopup(menu: any, func?: Function): void;
|
|
84
88
|
}
|
|
@@ -92,4 +92,8 @@ export declare class TreeGridTableViewContextImpl implements TableViewContext {
|
|
|
92
92
|
getFirstCol(section: number): any;
|
|
93
93
|
focusRow(row: TableViewRow): any;
|
|
94
94
|
showPopupMenu(): any;
|
|
95
|
+
closeDialog(): void;
|
|
96
|
+
hideTip(): void;
|
|
97
|
+
showMenu(row: TableViewRow, col: string, menu: any, position?: any, func?: Function): void;
|
|
98
|
+
showPopup(menu: any, func?: Function): void;
|
|
95
99
|
}
|
|
@@ -7,6 +7,7 @@ export declare enum LOCALE {
|
|
|
7
7
|
TITLE = "app.common.uploader.title",
|
|
8
8
|
SUCCESS = "app.common.uploader.action.success",
|
|
9
9
|
ERROR = "app.common.uploader.action.error",
|
|
10
|
+
WARNING = "app.common.uploader.action.warning",
|
|
10
11
|
PROGRESS_PERCENT = "app.common.uploader.action.progress.percent",
|
|
11
12
|
PROGRESS_COUNT = "app.common.uploader.action.progress.count",
|
|
12
13
|
FILE_SUCCESS = "app.common.uploader.file.action.success",
|
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.117';
|
|
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.117';
|
|
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.117",
|
|
21212
21212
|
kind: OptionKind.WORKER
|
|
21213
21213
|
}
|
|
21214
21214
|
};
|
|
@@ -37612,12 +37612,12 @@ function bindBtnToggleSidebarNotes() {
|
|
|
37612
37612
|
|
|
37613
37613
|
if ($(this).hasClass('toggled')) {
|
|
37614
37614
|
if (!$('.body__sidebar').is(':visible')) {
|
|
37615
|
-
$('#outerContainer').addClass('sidebarNotesOpen');
|
|
37616
37615
|
context.toggleIssueDetail(false);
|
|
37617
37616
|
if ($('#btnDrawAnnotation').hasClass('toggled')) {
|
|
37618
37617
|
$('#btnDrawAnnotation').click();
|
|
37619
37618
|
}
|
|
37620
37619
|
context.initIssueList();
|
|
37620
|
+
$('#outerContainer').addClass('sidebarNotesOpen');
|
|
37621
37621
|
expandSidebarNotes();
|
|
37622
37622
|
}
|
|
37623
37623
|
} else {
|