@vitrosoftware/common-ui-ts 1.1.83 → 1.1.84

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 (150) hide show
  1. package/dist/index.js +47 -18
  2. package/dist/index.js.map +1 -1
  3. package/package.json +2 -3
  4. package/src/controls/BimViewer/js/bim-viewer.js +620 -4
  5. package/src/controls/PdfViewer/js/pdf-viewer.js +1 -1
  6. package/dist/constants/Control.d.ts +0 -11
  7. package/dist/constants/Ctrl.d.ts +0 -30
  8. package/dist/constants/Event.d.ts +0 -13
  9. package/dist/constants/Factory.d.ts +0 -3
  10. package/dist/constants/KeyCode.d.ts +0 -3
  11. package/dist/constants/Placement.d.ts +0 -7
  12. package/dist/constants/Unit.d.ts +0 -3
  13. package/dist/controls/ActionHandler/ActionHandler.d.ts +0 -31
  14. package/dist/controls/ActionHandler/ActionHandlerConstants.d.ts +0 -32
  15. package/dist/controls/ActionHandler/ActionInfo.d.ts +0 -12
  16. package/dist/controls/ActionHandler/ActionInfoItem.d.ts +0 -13
  17. package/dist/controls/ActionHandler/UpdatingPopover.d.ts +0 -2
  18. package/dist/controls/Activity/Activity.d.ts +0 -9
  19. package/dist/controls/ActivityItem/ActivityItem.d.ts +0 -16
  20. package/dist/controls/ActivityItem/ActivityMessage.d.ts +0 -6
  21. package/dist/controls/ActivityItem/ChangedValue.d.ts +0 -6
  22. package/dist/controls/Alert/Alert.d.ts +0 -19
  23. package/dist/controls/Alert/AlertConstants.d.ts +0 -5
  24. package/dist/controls/Avatar/Avatar.d.ts +0 -8
  25. package/dist/controls/Breadcrumbs/Breadcrumbs.d.ts +0 -13
  26. package/dist/controls/Breadcrumbs/BreadcrumbsItem.d.ts +0 -4
  27. package/dist/controls/Breadcrumbs/Item.d.ts +0 -10
  28. package/dist/controls/Button/Button.d.ts +0 -14
  29. package/dist/controls/Checkbox/Checkbox.d.ts +0 -11
  30. package/dist/controls/CommandMenu/CommandMenu.d.ts +0 -6
  31. package/dist/controls/CommandMenu/CommandMenuButton.d.ts +0 -13
  32. package/dist/controls/CommandMenu/CommandMenuDropdownButton.d.ts +0 -18
  33. package/dist/controls/CommandMenu/CommandMenuItemHeader.d.ts +0 -11
  34. package/dist/controls/CommandMenu/CommandMenuLookupPicker.d.ts +0 -32
  35. package/dist/controls/CommandMenu/CommandMenuSubItem.d.ts +0 -13
  36. package/dist/controls/ComponentLoader/ComponentLoader.d.ts +0 -8
  37. package/dist/controls/ComponentLoader/ComponentLoaderContext.d.ts +0 -6
  38. package/dist/controls/ComponentLoader/ComponentLoaderContextImpl.d.ts +0 -11
  39. package/dist/controls/ControlGroup/ControlGroup.d.ts +0 -7
  40. package/dist/controls/Criterion/Condition.d.ts +0 -6
  41. package/dist/controls/Criterion/ConditionSelect.d.ts +0 -9
  42. package/dist/controls/Criterion/Criterion.d.ts +0 -23
  43. package/dist/controls/Criterion/Operator.d.ts +0 -4
  44. package/dist/controls/DatePicker/DatePicker.d.ts +0 -29
  45. package/dist/controls/DatePicker/DatePickerConstants.d.ts +0 -12
  46. package/dist/controls/Dialog/Dialog.d.ts +0 -23
  47. package/dist/controls/Dialog/DialogButton.d.ts +0 -8
  48. package/dist/controls/Dialog/DialogCloseButton.d.ts +0 -8
  49. package/dist/controls/Dialog/DialogComponent.d.ts +0 -8
  50. package/dist/controls/Dialog/DialogConstants.d.ts +0 -5
  51. package/dist/controls/Dialog/DialogContent.d.ts +0 -7
  52. package/dist/controls/Dialog/DialogFooter.d.ts +0 -11
  53. package/dist/controls/Dialog/DialogHeader.d.ts +0 -8
  54. package/dist/controls/DropdownButton/DropdownButton.d.ts +0 -13
  55. package/dist/controls/DropdownButton/DropdownItem.d.ts +0 -11
  56. package/dist/controls/FieldIterator/FieldIterator.d.ts +0 -24
  57. package/dist/controls/Icon/Icon.d.ts +0 -11
  58. package/dist/controls/ImagePicker/ImagePicker.d.ts +0 -16
  59. package/dist/controls/ImagePicker/ImagePickerConstants.d.ts +0 -8
  60. package/dist/controls/Input/Input.d.ts +0 -32
  61. package/dist/controls/Input/InputConstants.d.ts +0 -4
  62. package/dist/controls/IssueTile/IssueTile.d.ts +0 -26
  63. package/dist/controls/IssueTile/IssueTileConstants.d.ts +0 -3
  64. package/dist/controls/IssueTile/IssueTileFooter.d.ts +0 -8
  65. package/dist/controls/IssueTile/IssueTileHeader.d.ts +0 -18
  66. package/dist/controls/Label/Label.d.ts +0 -9
  67. package/dist/controls/Label/LabelConstants.d.ts +0 -3
  68. package/dist/controls/Login/Login.d.ts +0 -16
  69. package/dist/controls/Login/LoginConstants.d.ts +0 -17
  70. package/dist/controls/Login/LoginFooter.d.ts +0 -10
  71. package/dist/controls/Login/LoginInput.d.ts +0 -17
  72. package/dist/controls/LookupPicker/LookupPicker.d.ts +0 -39
  73. package/dist/controls/LookupPicker/LookupPickerConstants.d.ts +0 -3
  74. package/dist/controls/LookupPicker/SelectedValueList.d.ts +0 -14
  75. package/dist/controls/LookupPicker/ValueList.d.ts +0 -22
  76. package/dist/controls/LookupPicker/ValueListItem.d.ts +0 -11
  77. package/dist/controls/MessageInput/MessageInput.d.ts +0 -12
  78. package/dist/controls/MessageInput/MessageInputConstants.d.ts +0 -3
  79. package/dist/controls/MicroFrontend/MicroFrontend.d.ts +0 -8
  80. package/dist/controls/MicroFrontend/MicroFrontendState.d.ts +0 -8
  81. package/dist/controls/MicroFrontend/renderMicrofrontend.d.ts +0 -2
  82. package/dist/controls/NumberInput/NumberInput.d.ts +0 -30
  83. package/dist/controls/NumberInput/NumberInputConstants.d.ts +0 -12
  84. package/dist/controls/PasswordInput/PasswordInput.d.ts +0 -31
  85. package/dist/controls/PasswordInput/PasswordInputConstants.d.ts +0 -4
  86. package/dist/controls/PdfViewer/PdfViewer.d.ts +0 -6
  87. package/dist/controls/PdfViewer/PdfViewerContext.d.ts +0 -12
  88. package/dist/controls/PdfViewer/Viewer.d.ts +0 -6
  89. package/dist/controls/RouteItem/RouteItem.d.ts +0 -17
  90. package/dist/controls/ScrollBar/ScrollBar.d.ts +0 -9
  91. package/dist/controls/Search/CheckboxList.d.ts +0 -12
  92. package/dist/controls/Search/Filter.d.ts +0 -21
  93. package/dist/controls/Search/Input.d.ts +0 -21
  94. package/dist/controls/Search/Search.d.ts +0 -29
  95. package/dist/controls/Search/SearchConstants.d.ts +0 -4
  96. package/dist/controls/Search/SearchCriterion.d.ts +0 -7
  97. package/dist/controls/Sidebar/Item.d.ts +0 -9
  98. package/dist/controls/Sidebar/LinkItem.d.ts +0 -17
  99. package/dist/controls/Sidebar/Section.d.ts +0 -11
  100. package/dist/controls/Sidebar/SectionList.d.ts +0 -10
  101. package/dist/controls/Sidebar/Sidebar.d.ts +0 -14
  102. package/dist/controls/Sidebar/SidebarConstants.d.ts +0 -4
  103. package/dist/controls/Sidebar/SidebarItem.d.ts +0 -10
  104. package/dist/controls/Sidebar/SidebarSection.d.ts +0 -7
  105. package/dist/controls/Splitter/Splitter.d.ts +0 -18
  106. package/dist/controls/Splitter/SplitterConstants.d.ts +0 -9
  107. package/dist/controls/TabGroup/OverflowButton.d.ts +0 -8
  108. package/dist/controls/TabGroup/Tab.d.ts +0 -10
  109. package/dist/controls/TabGroup/TabGroup.d.ts +0 -10
  110. package/dist/controls/TabGroup/TabGroupComponent.d.ts +0 -9
  111. package/dist/controls/TabGroup/TabGroupConstants.d.ts +0 -4
  112. package/dist/controls/TabGroup/TabGroupHeader.d.ts +0 -10
  113. package/dist/controls/TabGroup/TabItem.d.ts +0 -13
  114. package/dist/controls/TableView/TableView.d.ts +0 -26
  115. package/dist/controls/TableView/TableViewCol.d.ts +0 -3
  116. package/dist/controls/TableView/TableViewConstants.d.ts +0 -152
  117. package/dist/controls/TableView/TableViewContext.d.ts +0 -81
  118. package/dist/controls/TableView/TableViewEventHandler.d.ts +0 -4
  119. package/dist/controls/TableView/TableViewRow.d.ts +0 -3
  120. package/dist/controls/TableView/TreeGrid.d.ts +0 -17
  121. package/dist/controls/TableView/TreeGridTableViewContextImpl.d.ts +0 -91
  122. package/dist/controls/TaskTile/TaskTile.d.ts +0 -18
  123. package/dist/controls/TelerikUploader/TelerikUploader.d.ts +0 -11
  124. package/dist/controls/TelerikUploader/TelerikUploaderConstants.d.ts +0 -16
  125. package/dist/controls/TelerikUploader/TelerikUploaderContext.d.ts +0 -6
  126. package/dist/controls/TelerikUploader/TelerikUploaderContextImpl.d.ts +0 -39
  127. package/dist/controls/TelerikUploader/TelerikUploaderSettings.d.ts +0 -15
  128. package/dist/controls/TimePicker/TimePicker.d.ts +0 -23
  129. package/dist/controls/TimePicker/TimePickerConstants.d.ts +0 -12
  130. package/dist/controls/Tooltip/Tooltip.d.ts +0 -10
  131. package/dist/controls/Tooltip/TooltipConstants.d.ts +0 -6
  132. package/dist/controls/TopLevelMenu/LinkItem.d.ts +0 -9
  133. package/dist/controls/TopLevelMenu/TopLevelMenu.d.ts +0 -9
  134. package/dist/controls/TopLevelMenu/TopLevelMenuItem.d.ts +0 -7
  135. package/dist/controls/TreeView/JsTreeViewContextImpl.d.ts +0 -35
  136. package/dist/controls/TreeView/TreeView.d.ts +0 -13
  137. package/dist/controls/TreeView/TreeViewConfig.d.ts +0 -34
  138. package/dist/controls/TreeView/TreeViewConstants.d.ts +0 -52
  139. package/dist/controls/TreeView/TreeViewContext.d.ts +0 -32
  140. package/dist/controls/TreeView/TreeViewEventHandler.d.ts +0 -4
  141. package/dist/controls/UserLookupPicker/UserLookupPicker.d.ts +0 -40
  142. package/dist/controls/UserProfile/UserProfile.d.ts +0 -12
  143. package/dist/controls/UserProfile/UserProfileMenuItem.d.ts +0 -11
  144. package/dist/controls/View/View.d.ts +0 -7
  145. package/dist/controls/ViewPart/ViewPart.d.ts +0 -10
  146. package/dist/exceptions/AbortException.d.ts +0 -2
  147. package/dist/exceptions/impl/AbortExceptionImpl.d.ts +0 -3
  148. package/dist/services/LocaleService.d.ts +0 -3
  149. package/lib/xeokit/VitroTreeViewPlugin.js +0 -620
  150. package/src/controls/BimViewer/js/init-viewer-page.js +0 -24
@@ -1,11 +0,0 @@
1
- export interface DropdownItem {
2
- key: string;
3
- actionCode?: string;
4
- text: string;
5
- value: any;
6
- onClick: (value: any, e?: any) => any;
7
- imageUrl?: string;
8
- imageHoverUrl?: string;
9
- isConfirm?: boolean;
10
- isOverflow?: boolean;
11
- }
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import '../../../css/std/controls/field-iterator/field-iterator.css';
3
- interface FieldIteratorProps {
4
- fieldList: any[];
5
- componentMap: {
6
- name: string;
7
- value: React.FunctionComponent<any>;
8
- }[];
9
- rowFieldList?: string[];
10
- fieldValueMap?: any;
11
- changedFieldValueMap?: Map<string, any>;
12
- isClearChangedFieldValueMap?: boolean;
13
- onChange: (changedFieldValueMap: Map<string, any>, saveStatus?: {
14
- isSaving: boolean;
15
- }) => any;
16
- errorControlList?: {
17
- fieldName: string;
18
- message: string;
19
- }[];
20
- isVisibleOverflow?: boolean;
21
- isReadOnly?: boolean;
22
- }
23
- export declare const FieldIterator: React.ForwardRefExoticComponent<FieldIteratorProps & React.RefAttributes<unknown>>;
24
- export {};
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import '../../../css/std/controls/icon/icon.css';
3
- interface IconProps {
4
- defaultUrl: string;
5
- hoverUrl?: string;
6
- className?: string;
7
- isHover?: boolean;
8
- onClick?: () => any;
9
- }
10
- export declare const Icon: (props: IconProps) => JSX.Element;
11
- export {};
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- import { DropdownItem } from '../DropdownButton/DropdownItem';
3
- interface ImagePickerProps {
4
- label: string;
5
- name?: string;
6
- itemList?: DropdownItem[];
7
- defaultUrl?: string;
8
- classNameRoot?: string;
9
- classNameIcon?: string;
10
- classNameDefaultIcon?: string;
11
- imgUrlUpload?: string;
12
- imgUrlDelete?: string;
13
- onChange: (file: File | null, name?: string) => void;
14
- }
15
- export declare const ImagePicker: (props: ImagePickerProps) => JSX.Element;
16
- export {};
@@ -1,8 +0,0 @@
1
- export declare enum ACTION {
2
- UPLOAD = "upload",
3
- DELETE = "delete"
4
- }
5
- export declare enum LOCALE {
6
- ACTION_UPLOAD = "app.common.action.upload",
7
- ACTION_DELETE = "app.common.action.delete"
8
- }
@@ -1,32 +0,0 @@
1
- import React from 'react';
2
- interface InputProps {
3
- name?: string;
4
- type?: string;
5
- value?: string;
6
- height?: number;
7
- minHeight?: number;
8
- maxHeight?: number;
9
- rows?: number;
10
- placeholder?: string;
11
- label?: string;
12
- labelWidth?: number;
13
- labelPosition?: string;
14
- errorMessage?: string;
15
- isDisabled?: boolean;
16
- isReadOnly?: boolean;
17
- isRequired?: boolean;
18
- isMultiline?: boolean;
19
- isAutoComplete?: boolean;
20
- isError?: boolean;
21
- isIcon?: boolean;
22
- onChange?: (value: string, name?: string) => void;
23
- onBlur?: (e: any) => void;
24
- onFocus?: (e: any) => void;
25
- onChangeSize?: (element: HTMLInputElement | HTMLTextAreaElement) => void;
26
- onKeyPress?: (e: any) => void;
27
- onKeyDown?: (e: any) => void;
28
- children?: React.ReactNode;
29
- className?: string;
30
- }
31
- export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<unknown>>;
32
- export {};
@@ -1,4 +0,0 @@
1
- export declare enum AUTOCOMPLETE {
2
- ON = "on",
3
- OFF = "off"
4
- }
@@ -1,26 +0,0 @@
1
- /// <reference types="react" />
2
- interface IssueTileProps {
3
- id: string;
4
- url?: string;
5
- text: string;
6
- userName: string;
7
- userImage?: string;
8
- date: any;
9
- fileVersion: number;
10
- fileVersionUrl?: string;
11
- status: string;
12
- statusColor?: string;
13
- actionList?: {
14
- key: string;
15
- text: string;
16
- value: any;
17
- onClick: (e: any, value: string) => any;
18
- }[];
19
- onClick: () => any;
20
- onBlur: (e: any) => any;
21
- onShowMoreClick: (e: any, issue?: any) => any;
22
- isActive?: boolean;
23
- createLocale: (key: string) => any;
24
- }
25
- export declare const IssueTile: (props: IssueTileProps) => JSX.Element;
26
- export {};
@@ -1,3 +0,0 @@
1
- export declare enum LOCALE {
2
- TEXTAREA_LABEL = "app.common.issueTile.textareaLabel"
3
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- interface IssueTileFooterProps {
3
- status: string;
4
- statusColor?: string;
5
- onShowMoreClick?: (e: any, issue?: any) => any;
6
- }
7
- export declare const IssueTileFooter: (props: IssueTileFooterProps) => JSX.Element;
8
- export {};
@@ -1,18 +0,0 @@
1
- /// <reference types="react" />
2
- interface IssueTileHeaderProps {
3
- id: string;
4
- url?: string;
5
- userName: string;
6
- userImage?: string;
7
- date: any;
8
- fileVersion: number;
9
- fileVersionUrl?: string;
10
- actionList?: {
11
- key: string;
12
- text: string;
13
- value: any;
14
- onClick: (value: any, e: any) => any;
15
- }[];
16
- }
17
- export declare const IssueTileHeader: (props: IssueTileHeaderProps) => JSX.Element;
18
- export {};
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- interface LabelProps {
3
- text: string;
4
- isRequired?: boolean;
5
- className?: string;
6
- width?: number;
7
- }
8
- export declare const Label: (props: LabelProps) => JSX.Element;
9
- export default Label;
@@ -1,3 +0,0 @@
1
- export declare enum POSITION {
2
- LEFT = "left"
3
- }
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- interface LoginProps {
3
- onSubmit: (userName: string, password: string) => any;
4
- onResetPassword?: () => any;
5
- onSaveData?: (value: any[] | any, name?: string) => any;
6
- onRegister?: () => any;
7
- errorMessage?: string;
8
- emptyErrorText?: string;
9
- copyright?: string;
10
- linkItemList?: {
11
- text: string;
12
- url: string;
13
- }[];
14
- }
15
- export declare const Login: React.ForwardRefExoticComponent<LoginProps & React.RefAttributes<unknown>>;
16
- export {};
@@ -1,17 +0,0 @@
1
- export declare enum LOCALE {
2
- ERROR_EMPTY = "app.common.login.error.empty",
3
- FIELD_NAME = "app.common.login.field.userName",
4
- FIELD_PASSWORD = "app.common.login.field.password",
5
- ACTION_SAVE_DATA = "app.common.login.action.saveData",
6
- ACTION_LOGIN = "app.common.login.action.login",
7
- ACTION_RESET_PASSWORD = "app.common.login.action.resetPassword",
8
- ACTION_REGISTER = "app.common.login.action.register",
9
- SEPARATOR_TEXT = "app.common.login.separatorText",
10
- TITLE = "app.common.login.title",
11
- COPYRIGHT = "app.common.login.copyright"
12
- }
13
- export declare enum FIELD_NAME {
14
- USER_NAME = "userName",
15
- PASSWORD = "password",
16
- SAVE_DATA = "saveData"
17
- }
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- interface LoginFooterProps {
3
- copyright?: string;
4
- itemList?: {
5
- text: string;
6
- url: string;
7
- }[];
8
- }
9
- export declare const LoginFooter: (props: LoginFooterProps) => JSX.Element;
10
- export {};
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- interface LoginInputProps {
3
- type?: string;
4
- name: string;
5
- label?: string;
6
- placeholder?: string;
7
- onKeyPress: (e: any) => void;
8
- onChange: (value: any, name: string) => any;
9
- error?: string;
10
- emptyErrorText?: string;
11
- onBlur?: (e: any) => any;
12
- onFocus?: () => any;
13
- isDisabled: boolean;
14
- isValidate?: boolean;
15
- }
16
- export declare const LoginInput: (props: LoginInputProps) => JSX.Element;
17
- export {};
@@ -1,39 +0,0 @@
1
- import React, { FunctionComponent } from 'react';
2
- interface LookupPickerProps {
3
- name?: string;
4
- valueList?: {
5
- id: string;
6
- }[];
7
- getValueList?: (value: string) => Promise<any>;
8
- selectedValueList?: {
9
- id: string;
10
- }[];
11
- selectedValue?: any;
12
- scrollableElement?: any;
13
- charCount?: number;
14
- filterValueTemplate?: any;
15
- selectedValueTemplate?: any;
16
- htmlValueTemplate?: FunctionComponent<any>;
17
- getHtmlValueTemplateProps?: (item: {
18
- id: string;
19
- }) => any;
20
- filterMinLength: number;
21
- isMultiSelect?: boolean;
22
- isDisabled?: boolean;
23
- isReadOnly?: boolean;
24
- isRequired?: boolean;
25
- isFlipDropdown?: boolean;
26
- onChange?: (value: any[] | any, name?: string) => void;
27
- onBlur?: (e: any, name?: string) => void;
28
- onFocus?: (e: any) => void;
29
- label?: string;
30
- labelWidth?: number;
31
- placeholder?: string;
32
- emptyPlaceholder?: string;
33
- errorMessage?: string;
34
- children?: React.ReactNode;
35
- className?: string;
36
- getAllValueList?: () => Promise<any>;
37
- }
38
- export declare const LookupPicker: React.ForwardRefExoticComponent<LookupPickerProps & React.RefAttributes<unknown>>;
39
- export {};
@@ -1,3 +0,0 @@
1
- export declare enum LOCALE {
2
- PLACEHOLDER_EMPTY = "app.common.lookupPicker.empty"
3
- }
@@ -1,14 +0,0 @@
1
- import { FunctionComponentElement } from 'react';
2
- interface SelectedValueListProps {
3
- list: {
4
- id: string;
5
- }[];
6
- isMultiSelect?: boolean;
7
- selectedValueTemplate: (value: any) => any;
8
- onOptionValueDelete: (id: string) => any;
9
- getHtmlValue?: (item: {
10
- id: string;
11
- }) => FunctionComponentElement<any> | null;
12
- }
13
- export declare const SelectedValueList: (props: SelectedValueListProps) => JSX.Element;
14
- export {};
@@ -1,22 +0,0 @@
1
- import { FunctionComponentElement } from 'react';
2
- interface ValueListProps {
3
- inputValue: any;
4
- list: {
5
- id: string;
6
- }[];
7
- filterValueTemplate: (item: {
8
- id: string;
9
- }) => any;
10
- isPending?: boolean;
11
- isVisible: boolean;
12
- isFlip?: boolean;
13
- onOptionValueSelect: (id: string) => any;
14
- emptyPlaceholder: string;
15
- contentRef: any;
16
- containerRef: any;
17
- getHtmlValue?: (item: {
18
- id: string;
19
- }) => FunctionComponentElement<any> | null;
20
- }
21
- export declare const ValueList: (props: ValueListProps) => JSX.Element;
22
- export {};
@@ -1,11 +0,0 @@
1
- import { FunctionComponentElement } from 'react';
2
- interface ValueListItemProps {
3
- item: {
4
- id: string;
5
- };
6
- onSelect: (id: string) => any;
7
- createDisplayValue: (item: any) => any;
8
- htmlValue?: FunctionComponentElement<any> | null;
9
- }
10
- export declare const ValueListItem: (props: ValueListItemProps) => JSX.Element;
11
- export {};
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface MessageInputProps {
3
- placeholder?: string;
4
- isDisabled?: boolean;
5
- onSubmit: (value: string) => any;
6
- onAddFile?: () => any;
7
- onChange?: (value: string) => any;
8
- onDrop?: (e: any) => any;
9
- children?: React.ReactNode;
10
- }
11
- export declare const MessageInput: (props: MessageInputProps) => JSX.Element;
12
- export {};
@@ -1,3 +0,0 @@
1
- export declare enum LOCALE {
2
- PLACEHOLDER = "app.common.messageInput.placeholder"
3
- }
@@ -1,8 +0,0 @@
1
- import { FunctionComponent } from "react";
2
- interface MicroFrontendProps {
3
- name: string;
4
- host: string;
5
- data: any;
6
- }
7
- export declare const MicroFrontend: FunctionComponent<MicroFrontendProps>;
8
- export {};
@@ -1,8 +0,0 @@
1
- export declare class MicroFrontendState {
2
- constructor();
3
- unmount(): void;
4
- init: boolean;
5
- name: string | null;
6
- renderInProgress: boolean;
7
- unmountAction: Function | null;
8
- }
@@ -1,2 +0,0 @@
1
- import { MicroFrontendState } from './MicroFrontendState';
2
- export declare const renderMicrofrontend: (rendererName: string, microFrontendState: MicroFrontendState, rootElement: HTMLElement, data: any, tryCnt: number) => void;
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import * as INPUT from './NumberInputConstants';
3
- interface NumberInputProps {
4
- name?: string;
5
- value?: number;
6
- number: INPUT.TYPE;
7
- height?: number;
8
- minHeight?: number;
9
- maxHeight?: number;
10
- placeholder?: string;
11
- label?: string;
12
- labelWidth?: number;
13
- labelPosition?: string;
14
- errorMessage?: string;
15
- isDisabled?: boolean;
16
- isReadOnly?: boolean;
17
- isRequired?: boolean;
18
- isAutoComplete?: boolean;
19
- isIcon?: boolean;
20
- onChange?: (value: number | null, name?: string) => void;
21
- onBlur?: (e: any) => void;
22
- onFocus?: (e: any) => void;
23
- onChangeSize?: (element: HTMLInputElement | HTMLTextAreaElement) => void;
24
- onKeyPress?: (e: any) => void;
25
- onKeyDown?: (e: any) => void;
26
- children?: React.ReactNode;
27
- className?: string;
28
- }
29
- export declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<unknown>>;
30
- export {};
@@ -1,12 +0,0 @@
1
- export declare enum AUTOCOMPLETE {
2
- ON = "on",
3
- OFF = "off"
4
- }
5
- export declare enum TYPE {
6
- FLOAT = "float",
7
- INT = "int"
8
- }
9
- export declare enum REGEXP {
10
- FLOAT = "^[0-9]+[.,]?[0-9]{0,2}$",
11
- INT = "^[0-9]+$"
12
- }
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- interface PasswordInputProps {
3
- name?: string;
4
- value?: string;
5
- height?: number;
6
- minHeight?: number;
7
- maxHeight?: number;
8
- rows?: number;
9
- placeholder?: string;
10
- label?: string;
11
- labelWidth?: number;
12
- labelPosition?: string;
13
- errorMessage?: string;
14
- isDisabled?: boolean;
15
- isReadOnly?: boolean;
16
- isRequired?: boolean;
17
- isMultiline?: boolean;
18
- isAutoComplete?: boolean;
19
- isError?: boolean;
20
- isIcon?: boolean;
21
- onChange?: (value: string, name?: string) => void;
22
- onBlur?: (e: any) => void;
23
- onFocus?: (e: any) => void;
24
- onChangeSize?: (element: HTMLInputElement | HTMLTextAreaElement) => void;
25
- onKeyPress?: (e: any) => void;
26
- onKeyDown?: (e: any) => void;
27
- children?: React.ReactNode;
28
- className?: string;
29
- }
30
- export declare const PasswordInput: React.ForwardRefExoticComponent<PasswordInputProps & React.RefAttributes<unknown>>;
31
- export {};
@@ -1,4 +0,0 @@
1
- export declare enum TYPE {
2
- TEXT = "text",
3
- PASSWORD = "password"
4
- }
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { PdfViewerContext } from './PdfViewerContext';
3
- export interface PdfViewerProps {
4
- context: PdfViewerContext;
5
- }
6
- export declare const PdfViewer: (props: PdfViewerProps) => JSX.Element;
@@ -1,12 +0,0 @@
1
- export interface PdfViewerContext {
2
- file: any;
3
- openFile(): void;
4
- getFile(id: string): any;
5
- getFileVersionList(id: string): any;
6
- createLocale(key: string): any;
7
- getIssueList(): Promise<any>;
8
- onCreateIssue(data: any): any;
9
- toggleIssueDetail(show: boolean): any;
10
- deleteIssueEvent?: string;
11
- updateIssueEvent?: string;
12
- }
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { PdfViewerContext } from './PdfViewerContext';
3
- export interface ViewerProps {
4
- context: PdfViewerContext;
5
- }
6
- export declare const Viewer: (props: ViewerProps) => JSX.Element;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- interface RouteItemProps {
3
- id: string;
4
- name: string;
5
- userName?: string;
6
- userImage?: string;
7
- date?: string;
8
- status?: string;
9
- statusColor?: string;
10
- comment?: string;
11
- itemId?: string;
12
- itemUrl?: string;
13
- children?: React.ReactNode;
14
- target?: object;
15
- }
16
- export declare const RouteItem: (props: RouteItemProps) => JSX.Element;
17
- export {};
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- interface ScrollBarProps {
3
- isHideScrollX?: boolean;
4
- isFocusOnScroll?: boolean;
5
- onInit?: (container: any) => any;
6
- children: React.ReactNode;
7
- }
8
- export declare const ScrollBar: (props: ScrollBarProps) => JSX.Element;
9
- export {};
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- interface CheckboxListProps {
3
- itemList: {
4
- id: string;
5
- name: string;
6
- value?: boolean;
7
- }[];
8
- onChange?: (selectedItemList: string[]) => any;
9
- isAllSelected?: boolean;
10
- }
11
- export declare const CheckboxList: (props: CheckboxListProps) => JSX.Element;
12
- export {};
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { Condition } from '../Criterion/Condition';
3
- import { Operator } from '../Criterion/Operator';
4
- interface FilterProps {
5
- fieldList: any[];
6
- valueList: any[];
7
- componentMap: {
8
- name: string;
9
- value: React.FunctionComponent<any>;
10
- }[];
11
- fieldValueMap?: Map<string, any>;
12
- onChange: (changedFieldValueMap: Map<string, any>, saveStatus?: {
13
- isSaving: boolean;
14
- }) => any;
15
- operatorList: Operator[];
16
- getConditionList: (componentName: string) => Condition[];
17
- getDefaultCondition?: (componentName: string) => number;
18
- onDeleteField: (id: string) => any;
19
- }
20
- export declare const Filter: (props: FilterProps) => JSX.Element;
21
- export {};
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- import { SearchCriterion } from '../Search/SearchCriterion';
3
- interface InputProps {
4
- valueList: SearchCriterion[];
5
- textValue?: string;
6
- placeholder?: string;
7
- onSettingsClick?: () => any;
8
- onCancel: () => any;
9
- onSubmit: (value?: string, searchCriterionList?: SearchCriterion[]) => any;
10
- onChange?: (value: any) => any;
11
- onBlur?: () => any;
12
- onFocus?: () => any;
13
- onRemoveValue?: (newItemList: SearchCriterion[]) => any;
14
- isShowSettings?: boolean;
15
- isSettingsActive?: boolean;
16
- isActive: boolean;
17
- isMobileView: boolean;
18
- className?: string;
19
- }
20
- export declare const Input: (props: InputProps) => JSX.Element;
21
- export {};
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import { SearchCriterion } from './SearchCriterion';
3
- import { Condition } from '../Criterion/Condition';
4
- import { Operator } from '../Criterion/Operator';
5
- interface SearchProps {
6
- fieldList: any[];
7
- visibleFieldList?: any[];
8
- searchCriterionList?: SearchCriterion[];
9
- onFilterChange?: (searchCriterionList: SearchCriterion[]) => any;
10
- onSubmit: (searchCriterionList: SearchCriterion[]) => any;
11
- onCancel: () => any;
12
- componentMap: {
13
- name: string;
14
- value: React.FunctionComponent<any>;
15
- }[];
16
- onAddField?: (selectedFieldIdList: string[]) => any;
17
- operatorList: Operator[];
18
- getConditionList: (componentName: string) => Condition[];
19
- getDefaultCondition?: (componentName: string) => number;
20
- isAllFieldsVisible?: boolean;
21
- labelCancel: string;
22
- labelSearch: string;
23
- labelAddField: string;
24
- defaultSearchFieldName: string;
25
- inputPlaceholder?: string;
26
- maxFieldCount?: number;
27
- }
28
- export declare const Search: (props: SearchProps) => JSX.Element;
29
- export {};
@@ -1,4 +0,0 @@
1
- export declare enum LOCALE {
2
- INPUT_MORE = "app.common.search.input.more",
3
- EMPTY_PLACEHOLDER = "app.common.search.checkboxList.emptyPlaceholder"
4
- }
@@ -1,7 +0,0 @@
1
- import { OPERATOR, FILTER_TYPE } from '../TableView/TableViewConstants';
2
- export interface SearchCriterion {
3
- internalName: string;
4
- operator: OPERATOR;
5
- valueList: any[];
6
- condition: FILTER_TYPE;
7
- }
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- interface ItemProps {
3
- text: string;
4
- imageUrl: string;
5
- imageHoverUrl?: string;
6
- isHover?: boolean;
7
- }
8
- export declare const Item: (props: ItemProps) => JSX.Element;
9
- export {};