@vitrosoftware/common-ui-ts 1.1.83 → 1.1.85

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 (172) hide show
  1. package/css/{common.css → std/common.css} +0 -10
  2. package/css/std/controls/bim-viewer/bim-viewer-index.css +6 -0
  3. package/css/std/controls/bim-viewer/bim-viewer.css +6 -0
  4. package/css/std/controls/file-version-select/file-version-select.css +11 -0
  5. package/css/std/controls/pdf-viewer/pdf-viewer-index.css +10 -3
  6. package/css/std/controls/pdf-viewer/pdf-viewer.css +10 -3
  7. package/css/std/controls/scrollbar/scrollbar.css +2 -0
  8. package/css/std/controls/sidebar/sidebar-item.css +214 -40
  9. package/css/std/controls/sidebar/sidebar.css +20 -7
  10. package/css/std/controls/table-view/treegrid.css +42 -27
  11. package/css/std/controls/tree-view/tree-view.css +2 -0
  12. package/css/white/common.css +21 -0
  13. package/dist/index.css +251 -58
  14. package/dist/index.js +291 -59
  15. package/dist/index.js.map +1 -1
  16. package/dist/src/constants/MobileView.d.ts +3 -0
  17. package/dist/src/controls/ScrollBar/ScrollBar.d.ts +1 -0
  18. package/dist/src/controls/Sidebar/GroupItem.d.ts +16 -0
  19. package/dist/src/controls/Sidebar/Item.d.ts +4 -2
  20. package/dist/src/controls/Sidebar/LinkItem.d.ts +5 -3
  21. package/dist/src/controls/Sidebar/Section.d.ts +7 -2
  22. package/dist/src/controls/Sidebar/SectionList.d.ts +3 -0
  23. package/dist/src/controls/Sidebar/SidebarItem.d.ts +6 -4
  24. package/dist/src/index.d.ts +1 -1
  25. package/package.json +2 -3
  26. package/src/controls/BimViewer/js/bim-viewer.js +620 -4
  27. package/src/controls/PdfViewer/js/pdf-viewer.js +2 -2
  28. package/dist/constants/Control.d.ts +0 -11
  29. package/dist/constants/Ctrl.d.ts +0 -30
  30. package/dist/constants/Event.d.ts +0 -13
  31. package/dist/constants/Factory.d.ts +0 -3
  32. package/dist/constants/KeyCode.d.ts +0 -3
  33. package/dist/constants/Placement.d.ts +0 -7
  34. package/dist/constants/Unit.d.ts +0 -3
  35. package/dist/controls/ActionHandler/ActionHandler.d.ts +0 -31
  36. package/dist/controls/ActionHandler/ActionHandlerConstants.d.ts +0 -32
  37. package/dist/controls/ActionHandler/ActionInfo.d.ts +0 -12
  38. package/dist/controls/ActionHandler/ActionInfoItem.d.ts +0 -13
  39. package/dist/controls/ActionHandler/UpdatingPopover.d.ts +0 -2
  40. package/dist/controls/Activity/Activity.d.ts +0 -9
  41. package/dist/controls/ActivityItem/ActivityItem.d.ts +0 -16
  42. package/dist/controls/ActivityItem/ActivityMessage.d.ts +0 -6
  43. package/dist/controls/ActivityItem/ChangedValue.d.ts +0 -6
  44. package/dist/controls/Alert/Alert.d.ts +0 -19
  45. package/dist/controls/Alert/AlertConstants.d.ts +0 -5
  46. package/dist/controls/Avatar/Avatar.d.ts +0 -8
  47. package/dist/controls/Breadcrumbs/Breadcrumbs.d.ts +0 -13
  48. package/dist/controls/Breadcrumbs/BreadcrumbsItem.d.ts +0 -4
  49. package/dist/controls/Breadcrumbs/Item.d.ts +0 -10
  50. package/dist/controls/Button/Button.d.ts +0 -14
  51. package/dist/controls/Checkbox/Checkbox.d.ts +0 -11
  52. package/dist/controls/CommandMenu/CommandMenu.d.ts +0 -6
  53. package/dist/controls/CommandMenu/CommandMenuButton.d.ts +0 -13
  54. package/dist/controls/CommandMenu/CommandMenuDropdownButton.d.ts +0 -18
  55. package/dist/controls/CommandMenu/CommandMenuItemHeader.d.ts +0 -11
  56. package/dist/controls/CommandMenu/CommandMenuLookupPicker.d.ts +0 -32
  57. package/dist/controls/CommandMenu/CommandMenuSubItem.d.ts +0 -13
  58. package/dist/controls/ComponentLoader/ComponentLoader.d.ts +0 -8
  59. package/dist/controls/ComponentLoader/ComponentLoaderContext.d.ts +0 -6
  60. package/dist/controls/ComponentLoader/ComponentLoaderContextImpl.d.ts +0 -11
  61. package/dist/controls/ControlGroup/ControlGroup.d.ts +0 -7
  62. package/dist/controls/Criterion/Condition.d.ts +0 -6
  63. package/dist/controls/Criterion/ConditionSelect.d.ts +0 -9
  64. package/dist/controls/Criterion/Criterion.d.ts +0 -23
  65. package/dist/controls/Criterion/Operator.d.ts +0 -4
  66. package/dist/controls/DatePicker/DatePicker.d.ts +0 -29
  67. package/dist/controls/DatePicker/DatePickerConstants.d.ts +0 -12
  68. package/dist/controls/Dialog/Dialog.d.ts +0 -23
  69. package/dist/controls/Dialog/DialogButton.d.ts +0 -8
  70. package/dist/controls/Dialog/DialogCloseButton.d.ts +0 -8
  71. package/dist/controls/Dialog/DialogComponent.d.ts +0 -8
  72. package/dist/controls/Dialog/DialogConstants.d.ts +0 -5
  73. package/dist/controls/Dialog/DialogContent.d.ts +0 -7
  74. package/dist/controls/Dialog/DialogFooter.d.ts +0 -11
  75. package/dist/controls/Dialog/DialogHeader.d.ts +0 -8
  76. package/dist/controls/DropdownButton/DropdownButton.d.ts +0 -13
  77. package/dist/controls/DropdownButton/DropdownItem.d.ts +0 -11
  78. package/dist/controls/FieldIterator/FieldIterator.d.ts +0 -24
  79. package/dist/controls/Icon/Icon.d.ts +0 -11
  80. package/dist/controls/ImagePicker/ImagePicker.d.ts +0 -16
  81. package/dist/controls/ImagePicker/ImagePickerConstants.d.ts +0 -8
  82. package/dist/controls/Input/Input.d.ts +0 -32
  83. package/dist/controls/Input/InputConstants.d.ts +0 -4
  84. package/dist/controls/IssueTile/IssueTile.d.ts +0 -26
  85. package/dist/controls/IssueTile/IssueTileConstants.d.ts +0 -3
  86. package/dist/controls/IssueTile/IssueTileFooter.d.ts +0 -8
  87. package/dist/controls/IssueTile/IssueTileHeader.d.ts +0 -18
  88. package/dist/controls/Label/Label.d.ts +0 -9
  89. package/dist/controls/Label/LabelConstants.d.ts +0 -3
  90. package/dist/controls/Login/Login.d.ts +0 -16
  91. package/dist/controls/Login/LoginConstants.d.ts +0 -17
  92. package/dist/controls/Login/LoginFooter.d.ts +0 -10
  93. package/dist/controls/Login/LoginInput.d.ts +0 -17
  94. package/dist/controls/LookupPicker/LookupPicker.d.ts +0 -39
  95. package/dist/controls/LookupPicker/LookupPickerConstants.d.ts +0 -3
  96. package/dist/controls/LookupPicker/SelectedValueList.d.ts +0 -14
  97. package/dist/controls/LookupPicker/ValueList.d.ts +0 -22
  98. package/dist/controls/LookupPicker/ValueListItem.d.ts +0 -11
  99. package/dist/controls/MessageInput/MessageInput.d.ts +0 -12
  100. package/dist/controls/MessageInput/MessageInputConstants.d.ts +0 -3
  101. package/dist/controls/MicroFrontend/MicroFrontend.d.ts +0 -8
  102. package/dist/controls/MicroFrontend/MicroFrontendState.d.ts +0 -8
  103. package/dist/controls/MicroFrontend/renderMicrofrontend.d.ts +0 -2
  104. package/dist/controls/NumberInput/NumberInput.d.ts +0 -30
  105. package/dist/controls/NumberInput/NumberInputConstants.d.ts +0 -12
  106. package/dist/controls/PasswordInput/PasswordInput.d.ts +0 -31
  107. package/dist/controls/PasswordInput/PasswordInputConstants.d.ts +0 -4
  108. package/dist/controls/PdfViewer/PdfViewer.d.ts +0 -6
  109. package/dist/controls/PdfViewer/PdfViewerContext.d.ts +0 -12
  110. package/dist/controls/PdfViewer/Viewer.d.ts +0 -6
  111. package/dist/controls/RouteItem/RouteItem.d.ts +0 -17
  112. package/dist/controls/ScrollBar/ScrollBar.d.ts +0 -9
  113. package/dist/controls/Search/CheckboxList.d.ts +0 -12
  114. package/dist/controls/Search/Filter.d.ts +0 -21
  115. package/dist/controls/Search/Input.d.ts +0 -21
  116. package/dist/controls/Search/Search.d.ts +0 -29
  117. package/dist/controls/Search/SearchConstants.d.ts +0 -4
  118. package/dist/controls/Search/SearchCriterion.d.ts +0 -7
  119. package/dist/controls/Sidebar/Item.d.ts +0 -9
  120. package/dist/controls/Sidebar/LinkItem.d.ts +0 -17
  121. package/dist/controls/Sidebar/Section.d.ts +0 -11
  122. package/dist/controls/Sidebar/SectionList.d.ts +0 -10
  123. package/dist/controls/Sidebar/Sidebar.d.ts +0 -14
  124. package/dist/controls/Sidebar/SidebarConstants.d.ts +0 -4
  125. package/dist/controls/Sidebar/SidebarItem.d.ts +0 -10
  126. package/dist/controls/Sidebar/SidebarSection.d.ts +0 -7
  127. package/dist/controls/Splitter/Splitter.d.ts +0 -18
  128. package/dist/controls/Splitter/SplitterConstants.d.ts +0 -9
  129. package/dist/controls/TabGroup/OverflowButton.d.ts +0 -8
  130. package/dist/controls/TabGroup/Tab.d.ts +0 -10
  131. package/dist/controls/TabGroup/TabGroup.d.ts +0 -10
  132. package/dist/controls/TabGroup/TabGroupComponent.d.ts +0 -9
  133. package/dist/controls/TabGroup/TabGroupConstants.d.ts +0 -4
  134. package/dist/controls/TabGroup/TabGroupHeader.d.ts +0 -10
  135. package/dist/controls/TabGroup/TabItem.d.ts +0 -13
  136. package/dist/controls/TableView/TableView.d.ts +0 -26
  137. package/dist/controls/TableView/TableViewCol.d.ts +0 -3
  138. package/dist/controls/TableView/TableViewConstants.d.ts +0 -152
  139. package/dist/controls/TableView/TableViewContext.d.ts +0 -81
  140. package/dist/controls/TableView/TableViewEventHandler.d.ts +0 -4
  141. package/dist/controls/TableView/TableViewRow.d.ts +0 -3
  142. package/dist/controls/TableView/TreeGrid.d.ts +0 -17
  143. package/dist/controls/TableView/TreeGridTableViewContextImpl.d.ts +0 -91
  144. package/dist/controls/TaskTile/TaskTile.d.ts +0 -18
  145. package/dist/controls/TelerikUploader/TelerikUploader.d.ts +0 -11
  146. package/dist/controls/TelerikUploader/TelerikUploaderConstants.d.ts +0 -16
  147. package/dist/controls/TelerikUploader/TelerikUploaderContext.d.ts +0 -6
  148. package/dist/controls/TelerikUploader/TelerikUploaderContextImpl.d.ts +0 -39
  149. package/dist/controls/TelerikUploader/TelerikUploaderSettings.d.ts +0 -15
  150. package/dist/controls/TimePicker/TimePicker.d.ts +0 -23
  151. package/dist/controls/TimePicker/TimePickerConstants.d.ts +0 -12
  152. package/dist/controls/Tooltip/Tooltip.d.ts +0 -10
  153. package/dist/controls/Tooltip/TooltipConstants.d.ts +0 -6
  154. package/dist/controls/TopLevelMenu/LinkItem.d.ts +0 -9
  155. package/dist/controls/TopLevelMenu/TopLevelMenu.d.ts +0 -9
  156. package/dist/controls/TopLevelMenu/TopLevelMenuItem.d.ts +0 -7
  157. package/dist/controls/TreeView/JsTreeViewContextImpl.d.ts +0 -35
  158. package/dist/controls/TreeView/TreeView.d.ts +0 -13
  159. package/dist/controls/TreeView/TreeViewConfig.d.ts +0 -34
  160. package/dist/controls/TreeView/TreeViewConstants.d.ts +0 -52
  161. package/dist/controls/TreeView/TreeViewContext.d.ts +0 -32
  162. package/dist/controls/TreeView/TreeViewEventHandler.d.ts +0 -4
  163. package/dist/controls/UserLookupPicker/UserLookupPicker.d.ts +0 -40
  164. package/dist/controls/UserProfile/UserProfile.d.ts +0 -12
  165. package/dist/controls/UserProfile/UserProfileMenuItem.d.ts +0 -11
  166. package/dist/controls/View/View.d.ts +0 -7
  167. package/dist/controls/ViewPart/ViewPart.d.ts +0 -10
  168. package/dist/exceptions/AbortException.d.ts +0 -2
  169. package/dist/exceptions/impl/AbortExceptionImpl.d.ts +0 -3
  170. package/dist/services/LocaleService.d.ts +0 -3
  171. package/lib/xeokit/VitroTreeViewPlugin.js +0 -620
  172. package/src/controls/BimViewer/js/init-viewer-page.js +0 -24
@@ -1,13 +0,0 @@
1
- export declare enum EVENT {
2
- MOUSEDOWN = "mousedown",
3
- MOUSEUP = "mouseup",
4
- KEYDOWN = "keydown",
5
- RESIZE = "resize",
6
- DRAGOVER = "dragover",
7
- DRAGLEAVE = "dragleave",
8
- CLICK = "click",
9
- HISTORY_UPDATE = "vitro.history.update",
10
- HISTORY_CHANGED = "vitro.history.changed",
11
- DROP = "drop",
12
- CONTEXTMENU = "contextmenu"
13
- }
@@ -1,3 +0,0 @@
1
- export declare class SERVICE {
2
- static readonly LOCALE = "LocaleService";
3
- }
@@ -1,3 +0,0 @@
1
- export declare class KEY_CODE {
2
- static readonly ENTER = 13;
3
- }
@@ -1,7 +0,0 @@
1
- export declare enum PLACEMENT {
2
- TOP = "top",
3
- BOTTOM = "bottom",
4
- LEFT = "left",
5
- RIGHT = "right",
6
- AUTO = "auto"
7
- }
@@ -1,3 +0,0 @@
1
- export declare class UNIT {
2
- static readonly PX = "px";
3
- }
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- interface ActionHandlerProps {
3
- actionCode: string;
4
- actionText?: string;
5
- processItem: (item: any) => any;
6
- item?: any;
7
- itemList?: any[];
8
- isShowAfterAction?: boolean;
9
- isShowProgress?: boolean;
10
- isHideProgressBar?: boolean;
11
- isShow?: boolean;
12
- isBlockInterface?: boolean;
13
- isAutoClose?: boolean;
14
- processError?: (failResult: any[]) => any;
15
- onAfterAction?: (error: any, successResult: any, failResult: any) => void;
16
- onBeforeAction?: () => void;
17
- onAfterActionClose?: (error: any, successResult: any, failResult: any) => void;
18
- successText?: (itemCount?: number) => string;
19
- confirmText?: (itemCount?: number) => string;
20
- errorText?: (error: any, itemCount: number) => string;
21
- progressText?: (itemCount?: number) => string;
22
- isConfirm?: boolean;
23
- target?: any;
24
- placement?: any;
25
- labelYes?: string;
26
- labelNo?: string;
27
- children?: React.ReactNode;
28
- durationMs?: number;
29
- }
30
- export declare const ActionHandler: React.FunctionComponent<ActionHandlerProps>;
31
- export {};
@@ -1,32 +0,0 @@
1
- export declare enum LOCALE {
2
- CONF_SINGLE = "app.common.msg.action.conf.single",
3
- CONF_MULTI = "app.common.msg.action.conf.multi",
4
- CONF_STD = "app.common.msg.action.conf.std",
5
- ITEM_COUNT = "app.common.actionHandler.itemCount",
6
- ITEM_NAME = "app.common.actionHandler.itemName",
7
- SUCCESS_SINGLE = "app.common.msg.action.success.single",
8
- SUCCESS_MULTI = "app.common.msg.action.success.multi",
9
- SUCCESS_STD = "app.common.msg.action.success.std",
10
- ERROR_SINGLE = "app.common.msg.action.error.single",
11
- ERROR_MULTI = "app.common.msg.action.error.multi",
12
- ERROR_STD = "app.common.msg.action.error.std",
13
- PROGRESS_SINGLE = "app.common.msg.action.progress.single",
14
- PROGRESS_MULTI = "app.common.msg.action.progress.multi",
15
- PROGRESS_STD = "app.common.msg.action.progress.std",
16
- ACTION = "app.common.action",
17
- ERROR_MSG = "app.common.msg.error",
18
- SUCCESS = "success",
19
- PROGRESS = "progress",
20
- ERROR = "error",
21
- CANCEL = "app.common.action.cancel",
22
- PENDING = "app.common.msg.action.pending",
23
- PROCESSING = "app.common.msg.action.processing",
24
- COMPLETE = "app.common.msg.action.complete"
25
- }
26
- export declare enum PLACEMENT {
27
- TOP = "top",
28
- BOTTOM = "bottom"
29
- }
30
- export declare enum TRIGGER {
31
- CLICK = "click"
32
- }
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- interface ActionInfoProps {
3
- itemList: any[];
4
- successResult: any[];
5
- failResult: any[];
6
- action: number;
7
- currentItem: any;
8
- actionCode: string;
9
- isSuccess: boolean;
10
- }
11
- export declare const ActionInfo: (props: ActionInfoProps) => JSX.Element;
12
- export {};
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- interface ActionInfoItemProps {
3
- id: string;
4
- name: string;
5
- info: {
6
- success?: boolean;
7
- error?: boolean;
8
- progress?: boolean;
9
- text: string;
10
- };
11
- }
12
- export declare const ActionInfoItem: (props: ActionInfoItemProps) => JSX.Element;
13
- export {};
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const UpdatingPopover: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLDivElement>>;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { DropdownItem } from '../DropdownButton/DropdownItem';
3
- interface ActivityProps {
4
- title?: string;
5
- filterDropdownList?: DropdownItem[];
6
- children: React.ReactNode;
7
- }
8
- export declare const Activity: (props: ActivityProps) => JSX.Element;
9
- export {};
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { DropdownItem } from '../DropdownButton/DropdownItem';
3
- export interface ActivityItemProps {
4
- userName: string;
5
- title?: string;
6
- userImageUrl?: string;
7
- message: string;
8
- date?: any;
9
- variant?: string;
10
- dropdownItemList?: DropdownItem[];
11
- onDropdownToggle?: (state: any, e: any) => any;
12
- isActive?: boolean;
13
- isShowDetail?: boolean;
14
- children?: React.ReactNode;
15
- }
16
- export declare const ActivityItem: (props: ActivityItemProps) => JSX.Element;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { ChangedValue } from './ChangedValue';
3
- export interface ActivityMessageProps {
4
- changedValueList: ChangedValue[];
5
- }
6
- export declare const ActivityMessage: (props: ActivityMessageProps) => JSX.Element;
@@ -1,6 +0,0 @@
1
- export interface ChangedValue {
2
- fieldName?: string;
3
- newValue: any;
4
- oldValue?: any;
5
- isMessage?: boolean;
6
- }
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- interface AlertProps {
3
- title?: string;
4
- text?: string;
5
- type: string;
6
- setMessage?: any;
7
- actionList?: {
8
- text: string;
9
- onClick: () => any;
10
- }[];
11
- onClose?: () => any;
12
- isDismissible?: boolean;
13
- isMultiline?: boolean;
14
- isPositionCenter?: boolean;
15
- className?: string;
16
- children?: React.ReactNode;
17
- }
18
- export declare const Alert: (props: AlertProps) => JSX.Element;
19
- export {};
@@ -1,5 +0,0 @@
1
- export declare enum TYPE {
2
- SUCCESS = "success",
3
- ERROR = "danger",
4
- WARNING = "warning"
5
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- interface AvatarProps {
3
- userName: string;
4
- image?: string;
5
- className?: string;
6
- }
7
- export declare const Avatar: (props: AvatarProps) => JSX.Element;
8
- export {};
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { BreadcrumbsItem } from './BreadcrumbsItem';
3
- export interface BreadcrumbsProps {
4
- text?: string;
5
- itemList?: BreadcrumbsItem[];
6
- getItemList?: (e: any) => any;
7
- updateEvent?: string;
8
- resetEvent?: string;
9
- onClick: (item: BreadcrumbsItem) => void;
10
- displayItemCount: number;
11
- wrapRoot?: boolean;
12
- }
13
- export declare const Breadcrumbs: (props: BreadcrumbsProps) => JSX.Element;
@@ -1,4 +0,0 @@
1
- export interface BreadcrumbsItem {
2
- id: string;
3
- text: string;
4
- }
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- interface ItemProps {
3
- onClick?: () => void;
4
- id: string;
5
- className?: string;
6
- isShowSeparator: boolean;
7
- children: React.ReactNode;
8
- }
9
- export declare const Item: (props: ItemProps) => JSX.Element;
10
- export {};
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- interface ButtonProps {
3
- text: string;
4
- isDisabled?: boolean;
5
- isCreateRipple?: boolean;
6
- to?: string;
7
- onClick?: (e: any) => any;
8
- className?: string;
9
- imageUrl?: string;
10
- imageHoverUrl?: string;
11
- imageClassName?: string;
12
- }
13
- export declare const Button: (props: ButtonProps) => JSX.Element;
14
- export {};
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- export interface CheckboxProps {
3
- value?: any;
4
- onChange?: (value: any[] | any, name: string) => void;
5
- labelPosition?: string;
6
- label: string;
7
- isDisabled?: boolean;
8
- name: string;
9
- className?: string;
10
- }
11
- export declare const Checkbox: (props: CheckboxProps) => JSX.Element;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface CommandMenuProps {
3
- children: React.ReactNode;
4
- }
5
- export declare const CommandMenu: (props: CommandMenuProps) => JSX.Element;
6
- export {};
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- interface CommandMenuButtonProps {
3
- text: string;
4
- isDisabled?: boolean;
5
- isCreateRipple?: boolean;
6
- to?: string;
7
- onClick?: (e: any) => any;
8
- imageUrl?: string;
9
- imageHoverUrl?: string;
10
- className?: string;
11
- }
12
- export declare const CommandMenuButton: (props: CommandMenuButtonProps) => JSX.Element;
13
- export {};
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- interface CommandMenuDropdownButtonProps {
3
- itemList?: {
4
- text: string;
5
- onClick: (e: any) => any;
6
- imageUrl?: string;
7
- }[];
8
- toggle?: boolean;
9
- children: React.ReactNode;
10
- text: string;
11
- isVisibleFunction?: boolean;
12
- isHideChevronDown?: boolean;
13
- imageUrl?: string;
14
- imageHoverUrl?: string;
15
- className?: string;
16
- }
17
- export declare const CommandMenuDropdownButton: (props: CommandMenuDropdownButtonProps) => JSX.Element;
18
- export {};
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- interface CommandMenuItemHeaderProps {
3
- text: string;
4
- isVisibleFunction?: boolean;
5
- isHideChevronDown?: boolean;
6
- imageUrl?: string;
7
- imageHoverUrl?: string;
8
- className?: string;
9
- }
10
- export declare const CommandMenuItemHeader: (props: CommandMenuItemHeaderProps) => JSX.Element;
11
- export {};
@@ -1,32 +0,0 @@
1
- import React from 'react';
2
- interface CommandMenuLookupPickerProps {
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
- filterMinLength: number;
17
- isMultiSelect?: boolean;
18
- isDisabled?: boolean;
19
- isReadOnly?: boolean;
20
- isRequired?: boolean;
21
- onChange?: (value: any[] | any, name?: string) => void;
22
- onBlur?: (value: any[] | any, name?: string) => void;
23
- label?: string;
24
- labelWidth?: number;
25
- placeholder?: string;
26
- emptyPlaceholder?: string;
27
- errorMessage?: string;
28
- children?: React.ReactNode;
29
- className?: string;
30
- }
31
- export declare const CommandMenuLookupPicker: (props: CommandMenuLookupPickerProps) => JSX.Element;
32
- export {};
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- interface CommandMenuSubItemProps {
3
- text: string;
4
- toggle?: boolean;
5
- title?: string;
6
- onClick: (e: any) => any;
7
- href?: string;
8
- isShowImage?: boolean;
9
- imageUrl?: string;
10
- imageHoverUrl?: string;
11
- }
12
- export declare const CommandMenuSubItem: (props: CommandMenuSubItemProps) => JSX.Element;
13
- export {};
@@ -1,8 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { interfaces } from 'inversify';
3
- interface ComponentLoaderProps {
4
- name: string;
5
- container: interfaces.Container;
6
- }
7
- export declare const ComponentLoader: FunctionComponent<ComponentLoaderProps>;
8
- export {};
@@ -1,6 +0,0 @@
1
- import { FunctionComponent, FunctionComponentElement } from 'react';
2
- export interface ComponentLoaderContext {
3
- setReactComponent(createComponent: (component: FunctionComponent<any>, props: any) => FunctionComponentElement<any>, setComponentList: (componentList: FunctionComponentElement<any>[]) => any): void;
4
- add(component: FunctionComponent<any>, props: any): any;
5
- remove(component: FunctionComponentElement<any>): void;
6
- }
@@ -1,11 +0,0 @@
1
- import { FunctionComponent, FunctionComponentElement } from 'react';
2
- import { ComponentLoaderContext } from './ComponentLoaderContext';
3
- export declare class ComponentLoaderContextImpl implements ComponentLoaderContext {
4
- private componentList;
5
- private createComponent;
6
- private setComponentList;
7
- constructor();
8
- setReactComponent(createComponent: (component: FunctionComponent, props: any) => FunctionComponentElement<any>, setComponentList: (componentList: FunctionComponentElement<any>[]) => any): void;
9
- add(component: FunctionComponent, props: any): FunctionComponentElement<any>;
10
- remove(component: FunctionComponentElement<any>): void;
11
- }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- export interface ControlGroupProps {
3
- horizontal?: boolean;
4
- as?: string;
5
- children: React.ReactNode;
6
- }
7
- export declare const ControlGroup: (props: ControlGroupProps) => JSX.Element;
@@ -1,6 +0,0 @@
1
- export interface Condition {
2
- type: number;
3
- text: string;
4
- imageUrl?: string;
5
- imageHoverUrl?: string;
6
- }
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { Condition } from './Condition';
3
- interface ConditionSelectProps {
4
- itemList: Condition[];
5
- defaultValue?: Condition;
6
- onSelect: (condition: any) => any;
7
- }
8
- export declare const ConditionSelect: React.ForwardRefExoticComponent<ConditionSelectProps & React.RefAttributes<unknown>>;
9
- export {};
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import { SearchCriterion } from '../Search/SearchCriterion';
3
- import { Condition } from './Condition';
4
- import { Operator } from './Operator';
5
- interface CriterionProps {
6
- label: string;
7
- operatorList: Operator[];
8
- conditionList: Condition[];
9
- defaultOperator?: number;
10
- defaultCondition?: number;
11
- onChange: (value: SearchCriterion, name: string) => any;
12
- onDelete: (name: string) => any;
13
- className?: string;
14
- isShowOperatorSelect: boolean;
15
- content: {
16
- component: React.FunctionComponent<any>;
17
- props: {
18
- [key: string]: any;
19
- };
20
- };
21
- }
22
- export declare const Criterion: (props: CriterionProps) => JSX.Element;
23
- export {};
@@ -1,4 +0,0 @@
1
- export interface Operator {
2
- type: number;
3
- text: string;
4
- }
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- interface DatePickerProps {
3
- name?: string;
4
- culture?: string;
5
- value: string | Date;
6
- start?: string;
7
- depth?: string;
8
- format?: string;
9
- minValue?: Date;
10
- maxValue?: Date;
11
- label?: string;
12
- labelWidth?: number;
13
- labelPosition?: string;
14
- errorMessage?: string;
15
- placeholder?: string;
16
- isDisabled?: boolean;
17
- isReadOnly?: boolean;
18
- isRequired?: boolean;
19
- isFlipDropdown?: boolean;
20
- isWorkDay?: (date: Date) => any;
21
- onOpen?: (e: any, container: any) => void;
22
- onChange?: (value: any, name?: string) => void;
23
- onClose?: (value: any, name?: string) => void;
24
- onBlur?: (e: any) => void;
25
- onFocus?: (e: any) => void;
26
- className?: string;
27
- }
28
- export declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<unknown>>;
29
- export {};
@@ -1,12 +0,0 @@
1
- export declare enum VIEW {
2
- MONTH = "month",
3
- YEAR = "year",
4
- DECADE = "decade",
5
- CENTURY = "century"
6
- }
7
- export declare enum CULTURE {
8
- RU = "ru-RU"
9
- }
10
- export declare enum LABEL_POSITION {
11
- LEFT = "left"
12
- }
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import { DialogButtonProps } from './DialogButton';
3
- export interface DialogProps {
4
- title: string;
5
- description?: string;
6
- imageUrl?: string;
7
- buttonList?: DialogButtonProps[];
8
- labelClose?: string;
9
- isDismissible?: boolean;
10
- onClose?: (dialog: any) => any;
11
- width?: number;
12
- height?: number;
13
- content?: {
14
- component: React.FunctionComponent<any>;
15
- props: {
16
- [key: string]: any;
17
- };
18
- };
19
- isHideFooter?: boolean;
20
- dialog?: any;
21
- children?: React.ReactNode;
22
- }
23
- export declare const Dialog: (props: DialogProps) => JSX.Element;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- export interface DialogButtonProps {
3
- text: string;
4
- onClick: (dialog: any) => any;
5
- isDisabled?: boolean;
6
- className?: string;
7
- }
8
- export declare const DialogButton: (props: DialogButtonProps) => JSX.Element;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- interface DialogCloseButton {
3
- text: string;
4
- isDisabled?: boolean;
5
- onClose: () => any;
6
- }
7
- export declare const DialogCloseButton: (props: DialogCloseButton) => JSX.Element;
8
- export {};
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- interface DialogComponent {
3
- width?: number;
4
- height?: number;
5
- children: any;
6
- }
7
- export declare const DialogComponent: (props: DialogComponent) => JSX.Element;
8
- export {};
@@ -1,5 +0,0 @@
1
- export declare enum LOCALE {
2
- ACTION_CANCEL = "app.common.action.cancel",
3
- ACTION_CLOSE = "app.common.action.close",
4
- ACTION_SAVE = "app.common.action.save"
5
- }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface DialogContentProps {
3
- children?: React.ReactNode;
4
- className?: string;
5
- }
6
- export declare const DialogContent: (props: DialogContentProps) => JSX.Element;
7
- export {};
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import { DialogButtonProps } from './DialogButton';
3
- interface DialogFooterProps {
4
- buttonList?: DialogButtonProps[];
5
- labelClose?: string;
6
- onClose?: (dialog: any) => any;
7
- isDismissible?: boolean;
8
- dialog?: any;
9
- }
10
- export declare const DialogFooter: (props: DialogFooterProps) => JSX.Element;
11
- export {};
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- interface DialogHeaderProps {
3
- title: string;
4
- description?: string;
5
- imageUrl?: string;
6
- }
7
- export declare const DialogHeader: (props: DialogHeaderProps) => JSX.Element;
8
- export {};
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { DropdownItem } from './DropdownItem';
3
- interface DropdownButtonProps {
4
- itemList: DropdownItem[];
5
- title?: string | React.ReactNode;
6
- isIgnoreOverflow?: boolean;
7
- isFlip?: boolean;
8
- onToggle?: (state: any, e: any) => any;
9
- className?: string;
10
- flip?: boolean;
11
- }
12
- export declare const DropdownButton: (props: DropdownButtonProps) => JSX.Element;
13
- export {};
@@ -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
- }