@vitrosoftware/common-ui-ts 1.1.98 → 1.1.100
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/bottom-align-control-group/bottom-align-control-group.css +4 -0
- package/css/std/controls/flex-box/flex-box.css +4 -0
- package/css/std/controls/header/header-nav-bar.css +8 -1
- package/css/std/controls/main/main.css +2 -2
- package/css/std/controls/product-title/product-title.css +1 -0
- package/css/std/controls/search/checkbox-list.css +3 -9
- package/css/std/controls/search/search.css +22 -0
- package/css/std/controls/{search/input.css → search-input/search-input.css} +25 -40
- package/css/std/controls/search-value-list/search-value-list.css +13 -0
- package/css/std/controls/sidebar/sidebar-item.css +9 -28
- package/css/std/controls/site-select/img/collapse-bottom-triangle.svg +3 -0
- package/css/std/controls/site-select/img/collapse-up-triangle.svg +3 -0
- package/css/std/controls/site-select/img/default-site-image.svg +7 -0
- package/css/std/controls/site-select/img/dropdown-menu-arrow.svg +1 -0
- package/css/std/controls/site-select/img/search-grey.svg +3 -0
- package/css/std/controls/site-select/img/search.svg +5 -0
- package/css/std/controls/site-select/site-item.css +52 -0
- package/css/std/controls/site-select/site-select.css +163 -0
- package/css/std/controls/slide-up-panel/slide-up-panel.css +39 -0
- package/css/std/controls/star-button/img/star-active.svg +3 -0
- package/css/std/controls/star-button/img/star.svg +3 -0
- package/css/std/controls/star-button/star-button.css +22 -0
- package/dist/index.css +380 -87
- package/dist/index.js +595 -340
- package/dist/index.js.map +1 -1
- package/dist/src/controls/BottomAlignControlGroup/BottomAlignControlGroup.d.ts +6 -0
- package/dist/src/controls/FlexBox/FlexBox.d.ts +7 -0
- package/dist/src/controls/Search/CheckboxList.d.ts +1 -1
- package/dist/src/controls/SearchInput/SearchInput.d.ts +19 -0
- package/dist/src/controls/SearchInput/SearchInputConstants.d.ts +4 -0
- package/dist/src/controls/SearchValueList/SearchValueList.d.ts +13 -0
- package/dist/src/controls/SearchValueList/SearchValueListConstants.d.ts +3 -0
- package/dist/src/controls/SiteSelect/SiteItem.d.ts +13 -0
- package/dist/src/controls/SiteSelect/SiteSelect.d.ts +12 -0
- package/dist/src/controls/SlideUpPanel/SlideUpPanel.d.ts +10 -0
- package/dist/src/controls/StarButton/StarButton.d.ts +8 -0
- package/dist/src/index.d.ts +13 -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
- /package/css/std/controls/{search → search-input}/img/cancel-black.svg +0 -0
- /package/css/std/controls/{search → search-input}/img/cancel-dark-grey.svg +0 -0
- /package/css/std/controls/{search → search-input}/img/search.svg +0 -0
|
@@ -5,7 +5,7 @@ interface CheckboxListProps {
|
|
|
5
5
|
name: string;
|
|
6
6
|
value?: boolean;
|
|
7
7
|
}[];
|
|
8
|
-
onChange?: (selectedItemList: string[]) =>
|
|
8
|
+
onChange?: (selectedItemList: string[]) => void;
|
|
9
9
|
isAllSelected?: boolean;
|
|
10
10
|
}
|
|
11
11
|
export declare const CheckboxList: (props: CheckboxListProps) => JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SearchCriterion } from '../Search/SearchCriterion';
|
|
3
|
+
interface SearchInputProps {
|
|
4
|
+
searchCriterionList?: SearchCriterion[];
|
|
5
|
+
value?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
onCancel: () => void;
|
|
8
|
+
onSubmit?: (value?: string) => void;
|
|
9
|
+
onChange?: (value: any) => void;
|
|
10
|
+
onBlur?: () => void;
|
|
11
|
+
onFocus?: () => void;
|
|
12
|
+
onRemoveValue?: (newItemList: SearchCriterion[]) => void;
|
|
13
|
+
isMobileView?: boolean;
|
|
14
|
+
isActive?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export declare const SearchInput: (props: SearchInputProps) => JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SearchValueListProps {
|
|
3
|
+
itemList: any[];
|
|
4
|
+
filterValueTemplate: (item: any) => string;
|
|
5
|
+
valueTemplate: (item: any) => React.ReactNode;
|
|
6
|
+
emptyPlaceHolder?: string;
|
|
7
|
+
isMobileView?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
inputClassName?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const SearchValueList: (props: SearchValueListProps) => JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface SiteItemProps {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
imageUrl?: string;
|
|
6
|
+
isStarActive?: boolean;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
isMobileView?: boolean;
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
onStar?: (isStarActive: boolean) => void;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const SiteItem: (props: SiteItemProps) => JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SiteItemProps } from './SiteItem';
|
|
3
|
+
interface SiteSelectProps {
|
|
4
|
+
itemList: SiteItemProps[];
|
|
5
|
+
rootItem: SiteItemProps;
|
|
6
|
+
title: string;
|
|
7
|
+
activeItem: SiteItemProps;
|
|
8
|
+
onChange?: (item: SiteItemProps) => void;
|
|
9
|
+
onStarChange?: (item: SiteItemProps) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const SiteSelect: (props: SiteSelectProps) => JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SlideUpPanelProps {
|
|
3
|
+
container?: any;
|
|
4
|
+
isShow: boolean;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const SlideUpPanel: (props: SlideUpPanelProps) => JSX.Element;
|
|
10
|
+
export {};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -117,12 +117,19 @@ import { Link } from './controls/Link/Link';
|
|
|
117
117
|
import { Overlay } from './controls/Overlay/Overlay';
|
|
118
118
|
import { OverlayRef } from './controls/Overlay/OverlayRef';
|
|
119
119
|
import { PLACEMENT } from './constants/Placement';
|
|
120
|
+
import { MOBILE_VIEW } from './constants/MobileView';
|
|
120
121
|
import { ProgressBar } from './controls/ProgressBar/ProgressBar';
|
|
121
122
|
import { ExpandCollapseButton } from './controls/ExpandCollapseButton/ExpandCollapseButton';
|
|
122
123
|
import { ButtonCancel } from './controls/ButtonCancel/ButtonCancel';
|
|
123
124
|
import { SystemExceptionDialog } from './controls/SystemExceptionDialog/SystemExceptionDialog';
|
|
124
125
|
import { Heading } from './controls/Heading/Heading';
|
|
125
126
|
import * as HEADING from './controls/Heading/HeadingConstants';
|
|
127
|
+
import { SiteSelect } from './controls/SiteSelect/SiteSelect';
|
|
128
|
+
import { SiteItemProps } from './controls/SiteSelect/SiteItem';
|
|
129
|
+
import { StarButton } from './controls/StarButton/StarButton';
|
|
130
|
+
import { FlexBox } from './controls/FlexBox/FlexBox';
|
|
131
|
+
import { SlideUpPanel } from './controls/SlideUpPanel/SlideUpPanel';
|
|
132
|
+
import { BottomAlignControlGroup } from './controls/BottomAlignControlGroup/BottomAlignControlGroup';
|
|
126
133
|
export { Breadcrumbs };
|
|
127
134
|
export { TopLevelMenu };
|
|
128
135
|
export { TreeView, TreeViewContext, TREE_VIEW, TreeViewProps, JsTreeViewNode };
|
|
@@ -196,3 +203,9 @@ export { ExpandCollapseButton };
|
|
|
196
203
|
export { ButtonCancel };
|
|
197
204
|
export { SystemExceptionDialog };
|
|
198
205
|
export { Heading, HEADING };
|
|
206
|
+
export { MOBILE_VIEW };
|
|
207
|
+
export { SiteSelect, SiteItemProps };
|
|
208
|
+
export { StarButton };
|
|
209
|
+
export { FlexBox };
|
|
210
|
+
export { SlideUpPanel };
|
|
211
|
+
export { BottomAlignControlGroup };
|
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.100';
|
|
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.100';
|
|
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.100",
|
|
3226
3226
|
kind: OptionKind.WORKER
|
|
3227
3227
|
}
|
|
3228
3228
|
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|