@vitrosoftware/common-ui-ts 1.1.111 → 1.1.113

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.
Files changed (53) hide show
  1. package/css/std/controls/criterion/criterion.css +0 -12
  2. package/css/std/controls/date-picker/date-picker.css +1 -0
  3. package/css/std/controls/dropdown-button/dropdown-button.css +8 -8
  4. package/css/std/controls/expand-control-group/expand-control-group.css +10 -32
  5. package/css/std/controls/field-iterator/field-iterator.css +55 -7
  6. package/css/std/controls/field-iterator/img/collapse-bottom.svg +4 -0
  7. package/css/std/controls/field-iterator/img/collapse-up.svg +4 -0
  8. package/css/std/controls/input/input.css +1 -1
  9. package/css/std/controls/message-input/message-input.css +3 -1
  10. package/css/std/controls/pdf-viewer/compare.css +24 -24
  11. package/css/std/controls/pdf-viewer/custom.css +2 -2
  12. package/css/std/controls/pdf-viewer/form.css +78 -1
  13. package/css/std/controls/pdf-viewer/img/cancel-white.svg +10 -0
  14. package/css/std/controls/pdf-viewer/img/close-compare-viewer-active.svg +5 -0
  15. package/css/std/controls/pdf-viewer/img/close-compare-viewer.svg +5 -0
  16. package/css/std/controls/pdf-viewer/img/collapse-bottom.svg +5 -0
  17. package/css/std/controls/pdf-viewer/img/collapse-up-blue.svg +5 -0
  18. package/css/std/controls/pdf-viewer/img/compare-dlg-separator.svg +1 -0
  19. package/css/std/controls/pdf-viewer/img/compare-overlay.svg +1 -0
  20. package/css/std/controls/pdf-viewer/img/compare-side-by-side.svg +5 -0
  21. package/css/std/controls/pdf-viewer/img/finish-align-active.svg +8 -0
  22. package/css/std/controls/pdf-viewer/img/finish-align.svg +8 -0
  23. package/css/std/controls/pdf-viewer/img/fit-to-view-active.svg +5 -0
  24. package/css/std/controls/pdf-viewer/img/fit-to-view.svg +5 -0
  25. package/css/std/controls/pdf-viewer/img/hide-colors-active.svg +1 -0
  26. package/css/std/controls/pdf-viewer/img/hide-colors.svg +3 -0
  27. package/css/std/controls/pdf-viewer/img/overlay-active.svg +4 -0
  28. package/css/std/controls/pdf-viewer/img/overlay.svg +4 -0
  29. package/css/std/controls/pdf-viewer/img/pan-active.svg +3 -0
  30. package/css/std/controls/pdf-viewer/img/pan.svg +3 -0
  31. package/css/std/controls/pdf-viewer/img/panel-visibility-active.svg +8 -0
  32. package/css/std/controls/pdf-viewer/img/panel-visibility.svg +8 -0
  33. package/css/std/controls/pdf-viewer/img/side-by-side-active.svg +4 -0
  34. package/css/std/controls/pdf-viewer/img/side-by-side.svg +4 -0
  35. package/css/std/controls/pdf-viewer/img/zoom-active.svg +5 -0
  36. package/css/std/controls/pdf-viewer/img/zoom.svg +5 -0
  37. package/css/std/controls/pdf-viewer/measure.css +138 -7
  38. package/css/std/controls/pdf-viewer/pdf-viewer-index.css +309 -64
  39. package/css/std/controls/pdf-viewer/pdf-viewer.css +66 -30
  40. package/css/std/controls/search/search.css +2 -6
  41. package/css/std/controls/tab-group/tab-group.css +0 -8
  42. package/css/std/controls/view/view.css +15 -2
  43. package/dist/index.css +106 -87
  44. package/dist/index.js +362 -285
  45. package/dist/index.js.map +1 -1
  46. package/dist/src/controls/ExpandControlGroup/ExpandControlGroup.d.ts +9 -4
  47. package/dist/src/controls/ExpandControlGroup/ExpandControlGroupConstants.d.ts +4 -0
  48. package/dist/src/controls/FieldIterator/FieldIterator.d.ts +2 -1
  49. package/dist/src/controls/LookupPicker/LookupPicker.d.ts +3 -0
  50. package/dist/src/controls/View/GroupControl.d.ts +2 -0
  51. package/package.json +1 -1
  52. package/src/controls/BimViewer/js/bim-viewer.js +2 -2
  53. package/src/controls/PdfViewer/js/pdf-viewer.js +1171 -238
@@ -1,9 +1,14 @@
1
1
  import React from 'react';
2
2
  interface ExpandControlGroupProps {
3
- title: string;
4
- isOpen?: boolean;
5
- isRight?: boolean;
6
- onClick?: () => any;
3
+ expandImage?: React.ReactNode;
4
+ collapseImage?: React.ReactNode;
5
+ expandText?: string;
6
+ collapseText?: string;
7
+ isExpanded?: boolean;
8
+ isExpandTop?: boolean;
9
+ onClick?: (isExpanded: boolean) => any;
10
+ className?: string;
11
+ buttonClassName?: string;
7
12
  children: React.ReactNode;
8
13
  }
9
14
  export declare const ExpandControlGroup: (props: ExpandControlGroupProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare enum LOCALE {
2
+ EXPAND_TEXT = "app.common.expandControlGroup.expand",
3
+ COLLAPSE_TEXT = "app.common.expandControlGroup.collapse"
4
+ }
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import '../../../css/std/controls/field-iterator/field-iterator.css';
3
2
  interface FieldIteratorProps {
4
3
  fieldList: any[];
5
4
  componentMap: {
@@ -18,7 +17,9 @@ interface FieldIteratorProps {
18
17
  message: string;
19
18
  }[];
20
19
  isVisibleOverflow?: boolean;
20
+ maxVisibleCount?: number;
21
21
  isReadOnly?: boolean;
22
+ className?: string;
22
23
  }
23
24
  export declare const FieldIterator: React.ForwardRefExoticComponent<FieldIteratorProps & React.RefAttributes<unknown>>;
24
25
  export {};
@@ -1,4 +1,5 @@
1
1
  import React, { FunctionComponent } from 'react';
2
+ import { interfaces } from 'inversify';
2
3
  export interface LookupPickerProps {
3
4
  name?: string;
4
5
  valueList?: {
@@ -23,6 +24,7 @@ export interface LookupPickerProps {
23
24
  isReadOnly?: boolean;
24
25
  isRequired?: boolean;
25
26
  isFlipDropdown?: boolean;
27
+ isShowButtonClear?: boolean;
26
28
  onChange?: (value: any[] | any, name?: string) => void;
27
29
  onBlur?: (e: any, name?: string) => void;
28
30
  onFocus?: (e: any) => void;
@@ -34,5 +36,6 @@ export interface LookupPickerProps {
34
36
  children?: React.ReactNode;
35
37
  className?: string;
36
38
  getAllValueList?: () => Promise<any>;
39
+ container?: interfaces.Container;
37
40
  }
38
41
  export declare const LookupPicker: React.ForwardRefExoticComponent<LookupPickerProps & React.RefAttributes<unknown>>;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const GroupControl: (props: any) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrosoftware/common-ui-ts",
3
- "version": "1.1.111",
3
+ "version": "1.1.113",
4
4
  "description": "vitro software common ui ts",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -1,11 +1,11 @@
1
- import { BIMModel, BIMCommon, BIMAnnotation } from '/resource/bimViewer/js/bim-viewer-models.js?version=1.1.111';
1
+ import { BIMModel, BIMCommon, BIMAnnotation } from '/resource/bimViewer/js/bim-viewer-models.js?version=1.1.113';
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.111';
8
+ from '/resource/bimViewer/js/xeokit/xeokit-sdk.es.js?version=1.1.113';
9
9
 
10
10
 
11
11
  const processByChildIdList = (treeViewNode, event) => {