@vitrosoftware/common-ui-ts 1.1.12 → 1.1.13

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 (104) hide show
  1. package/css/common.css +27 -1
  2. package/css/std/controls/action-handler/action-handler-info.css +103 -0
  3. package/css/std/controls/action-handler/action-handler.css +247 -0
  4. package/css/std/controls/alert/alert.css +184 -0
  5. package/css/std/controls/breadcrumbs/breadcrumbs.css +137 -0
  6. package/css/std/controls/button/button.css +67 -0
  7. package/css/std/controls/command-menu/command-menu-button.css +18 -0
  8. package/css/std/controls/command-menu/command-menu-dropdown-button.css +155 -0
  9. package/css/std/controls/command-menu/command-menu-item.css +14 -0
  10. package/css/std/controls/command-menu/command-menu-lookup-picker.css +48 -0
  11. package/css/std/controls/command-menu/command-menu.css +18 -0
  12. package/css/std/controls/control-group/control-group.css +27 -0
  13. package/css/std/controls/date-picker/date-picker.css +311 -0
  14. package/css/std/controls/dialog/dialog-button-close.css +34 -0
  15. package/css/std/controls/dialog/dialog-button.css +3 -0
  16. package/css/std/controls/dialog/dialog-content.css +29 -0
  17. package/css/std/controls/dialog/dialog-footer.css +9 -0
  18. package/css/std/controls/dialog/dialog-header.css +5 -0
  19. package/css/std/controls/dialog/dialog.css +35 -0
  20. package/css/std/controls/input/input.css +145 -0
  21. package/css/std/controls/label/label.css +8 -0
  22. package/css/std/controls/login/img/login-background.png +0 -0
  23. package/css/std/controls/login/login.css +230 -0
  24. package/css/std/controls/lookup-picker/lookup-picker-selected-item.css +4 -0
  25. package/css/std/controls/lookup-picker/lookup-picker-value-list.css +52 -0
  26. package/css/std/controls/lookup-picker/lookup-picker.css +144 -0
  27. package/css/std/controls/sidebar/sidebar-item.css +49 -0
  28. package/css/std/controls/sidebar/sidebar.css +78 -0
  29. package/css/std/controls/tab-group/tab-group.css +117 -0
  30. package/css/std/controls/table-view/table-view-custom-date-edit.css +24 -0
  31. package/css/std/controls/table-view/table-view-custom-lookup-edit.css +4 -0
  32. package/css/std/controls/table-view/table-view.css +45 -0
  33. package/css/std/controls/table-view/treegrid.css +588 -0
  34. package/css/std/controls/task-tile/task-tile.css +91 -0
  35. package/css/std/controls/time-picker/time-picker.css +286 -0
  36. package/css/std/controls/tree-view/tree-view-context-menu.css +77 -0
  37. package/css/std/controls/tree-view/tree-view.css +110 -0
  38. package/css/std/controls/uploader/uploader.css +465 -0
  39. package/css/std/controls/view/view.css +5 -0
  40. package/css/std/controls/view-part/view-part.css +5 -0
  41. package/css/white/controls/sidebar/sidebar-item.css +54 -0
  42. package/css/white/controls/sidebar/sidebar.css +75 -0
  43. package/dist/constants/Ctrl.d.ts +28 -0
  44. package/dist/constants/Event.d.ts +5 -1
  45. package/dist/controls/ActionHandler/ActionHandler.d.ts +6 -3
  46. package/dist/controls/ActionHandler/ActionHandlerConstants.d.ts +13 -6
  47. package/dist/controls/ActionHandler/ActionInfo.d.ts +12 -0
  48. package/dist/controls/ActionHandler/ActionInfoItem.d.ts +13 -0
  49. package/dist/controls/Alert/Alert.d.ts +19 -0
  50. package/dist/controls/Alert/AlertConstants.d.ts +5 -0
  51. package/dist/controls/Breadcrumbs/Breadcrumbs.d.ts +6 -2
  52. package/dist/controls/Breadcrumbs/Item.d.ts +2 -1
  53. package/dist/controls/Button/Button.d.ts +14 -0
  54. package/dist/controls/CommandMenu/CommandMenu.d.ts +6 -0
  55. package/dist/controls/CommandMenu/CommandMenuButton.d.ts +13 -0
  56. package/dist/controls/CommandMenu/CommandMenuDropdownButton.d.ts +17 -0
  57. package/dist/controls/CommandMenu/CommandMenuItemHeader.d.ts +11 -0
  58. package/dist/controls/CommandMenu/CommandMenuLookupPicker.d.ts +32 -0
  59. package/dist/controls/CommandMenu/CommandMenuSubItem.d.ts +12 -0
  60. package/dist/controls/DatePicker/DatePicker.d.ts +26 -0
  61. package/dist/controls/DatePicker/DatePickerConstants.d.ts +12 -0
  62. package/dist/controls/Dialog/Dialog.d.ts +13 -0
  63. package/dist/controls/Dialog/DialogButton.d.ts +9 -0
  64. package/dist/controls/Dialog/DialogCloseButton.d.ts +8 -0
  65. package/dist/controls/Dialog/DialogComponent.d.ts +9 -0
  66. package/dist/controls/Dialog/DialogConstants.d.ts +5 -0
  67. package/dist/controls/Dialog/DialogContent.d.ts +6 -0
  68. package/dist/controls/Dialog/DialogFooter.d.ts +11 -0
  69. package/dist/controls/Dialog/DialogHeader.d.ts +6 -0
  70. package/dist/controls/Input/Input.d.ts +32 -0
  71. package/dist/controls/Input/InputConstants.d.ts +11 -0
  72. package/dist/controls/Label/Label.d.ts +9 -0
  73. package/dist/controls/Label/LabelConstants.d.ts +3 -0
  74. package/dist/controls/Login/Login.d.ts +17 -0
  75. package/dist/controls/Login/LoginConstants.d.ts +18 -0
  76. package/dist/controls/Login/LoginFooter.d.ts +10 -0
  77. package/dist/controls/Login/LoginInput.d.ts +17 -0
  78. package/dist/controls/LookupPicker/LookupPicker.d.ts +32 -0
  79. package/dist/controls/LookupPicker/LookupPickerConstants.d.ts +3 -0
  80. package/dist/controls/LookupPicker/SelectedValueList.d.ts +11 -0
  81. package/dist/controls/LookupPicker/ValueList.d.ts +16 -0
  82. package/dist/controls/Sidebar/Item.d.ts +9 -0
  83. package/dist/controls/Sidebar/LinkItem.d.ts +15 -0
  84. package/dist/controls/Sidebar/Section.d.ts +10 -0
  85. package/dist/controls/Sidebar/SectionList.d.ts +9 -0
  86. package/dist/controls/Sidebar/Sidebar.d.ts +13 -0
  87. package/dist/controls/Sidebar/SidebarConstants.d.ts +4 -0
  88. package/dist/controls/Sidebar/SidebarItem.d.ts +10 -0
  89. package/dist/controls/Sidebar/SidebarSection.d.ts +7 -0
  90. package/dist/controls/TableView/TableViewConstants.d.ts +4 -0
  91. package/dist/controls/TaskTile/TaskTile.d.ts +18 -0
  92. package/dist/controls/TelerikUploader/TelerikUploaderConstants.d.ts +14 -2
  93. package/dist/controls/TelerikUploader/TelerikUploaderContextImpl.d.ts +22 -2
  94. package/dist/controls/TimePicker/TimePicker.d.ts +20 -0
  95. package/dist/controls/TimePicker/TimePickerConstants.d.ts +12 -0
  96. package/dist/index.css +3129 -465
  97. package/dist/index.d.ts +62 -26
  98. package/dist/index.js +4659 -314
  99. package/dist/index.js.map +1 -1
  100. package/dist/index.modern.js +4641 -317
  101. package/dist/index.modern.js.map +1 -1
  102. package/lib/third-party.js +48552 -0
  103. package/package.json +4 -2
  104. /package/css/{third-party/treegrid → white/controls/table-view}/treegrid.css +0 -0
@@ -1,11 +1,16 @@
1
1
  import React from 'react';
2
2
  interface ActionHandlerProps {
3
3
  actionCode: string;
4
+ actionText?: string;
4
5
  processItem: (item: any) => any;
5
6
  item?: any;
6
7
  itemList: any[];
7
8
  isShowAfterAction?: boolean;
8
9
  isShowProgress?: boolean;
10
+ isHideProgressBar?: boolean;
11
+ isShow?: boolean;
12
+ isBlockInterface?: boolean;
13
+ isAutoClose?: boolean;
9
14
  onAfterAction?: (error: any, successResult: any, failResult: any) => void;
10
15
  onBeforeAction?: () => void;
11
16
  onAfterActionClose?: (error: any, successResult: any, failResult: any) => void;
@@ -20,8 +25,6 @@ interface ActionHandlerProps {
20
25
  labelNo?: string;
21
26
  children?: React.ReactNode;
22
27
  durationMs?: number;
23
- isShow?: boolean;
24
- isBlockInterface?: boolean;
25
28
  }
26
- export declare let ActionHandler: React.FunctionComponent<ActionHandlerProps>;
29
+ export declare const ActionHandler: React.FunctionComponent<ActionHandlerProps>;
27
30
  export {};
@@ -1,23 +1,30 @@
1
1
  export declare enum LOCALE {
2
2
  CONF_SINGLE = "app.common.msg.action.conf.single",
3
3
  CONF_MULTI = "app.common.msg.action.conf.multi",
4
+ ITEM_COUNT = "app.common.actionHandler.itemCount",
4
5
  SUCCESS_SINGLE = "app.common.msg.action.success.single",
5
6
  SUCCESS_MULTI = "app.common.msg.action.success.multi",
6
7
  ERROR_SINGLE = "app.common.msg.action.error.single",
7
8
  ERROR_MULTI = "app.common.msg.action.error.multi",
8
9
  PROGRESS_SINGLE = "app.common.msg.action.progress.single",
9
10
  PROGRESS_MULTI = "app.common.msg.action.progress.multi",
10
- YES = "app.common.action.yes",
11
- NO = "app.common.action.no"
11
+ WARNING_SINGLE = "app.common.msg.action.warning.single",
12
+ WARNING_MULTI = "app.common.msg.action.warning.multi",
13
+ ACTION = "app.common.action",
14
+ ACTION_MSG = "app.common.msg.action",
15
+ ERROR_MSG = "app.common.msg.error",
16
+ SUCCESS = "success",
17
+ PROGRESS = "progress",
18
+ ERROR = "error",
19
+ CANCEL = "app.common.action.cancel",
20
+ PENDING = "app.common.msg.action.pending",
21
+ PROCESSING = "app.common.msg.action.processing",
22
+ COMPLETE = "app.common.msg.action.complete"
12
23
  }
13
24
  export declare enum PLACEMENT {
14
25
  TOP = "top",
15
26
  BOTTOM = "bottom"
16
27
  }
17
- export declare enum CTRL {
18
- QUESTION = "?",
19
- EMPTY = ""
20
- }
21
28
  export declare enum TRIGGER {
22
29
  CLICK = "click"
23
30
  }
@@ -0,0 +1,12 @@
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 {};
@@ -0,0 +1,13 @@
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 {};
@@ -0,0 +1,19 @@
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 {};
@@ -0,0 +1,5 @@
1
+ export declare enum TYPE {
2
+ SUCCESS = "success",
3
+ ERROR = "danger",
4
+ WARNING = "warning"
5
+ }
@@ -1,9 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import { BreadcrumbsItem } from './BreadcrumbsItem';
3
3
  export interface BreadcrumbsProps {
4
- text: string;
5
- itemList: BreadcrumbsItem[];
4
+ text?: string;
5
+ itemList?: BreadcrumbsItem[];
6
+ getItemList?: (e: any) => any;
7
+ updateEvent?: string;
8
+ resetEvent?: string;
6
9
  onClick: (item: BreadcrumbsItem) => void;
7
10
  displayItemCount: number;
11
+ wrapRoot?: boolean;
8
12
  }
9
13
  export declare const Breadcrumbs: (props: BreadcrumbsProps) => JSX.Element;
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  interface ItemProps {
3
3
  onClick?: () => void;
4
- text: string;
4
+ text?: string;
5
5
  id: string;
6
+ className?: string;
6
7
  }
7
8
  export declare const Item: (props: ItemProps) => JSX.Element;
8
9
  export {};
@@ -0,0 +1,14 @@
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 {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface CommandMenuProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export declare const CommandMenu: (props: CommandMenuProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1,13 @@
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 {};
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ interface CommandMenuDropdownButtonProps {
3
+ itemList?: {
4
+ text: string;
5
+ onClick: (e: any) => any;
6
+ }[];
7
+ toggle?: any;
8
+ children: React.ReactNode;
9
+ text: string;
10
+ isVisibleFunction?: boolean;
11
+ isHideChevronDown?: boolean;
12
+ imageUrl?: string;
13
+ imageHoverUrl?: string;
14
+ className?: string;
15
+ }
16
+ export declare const CommandMenuDropdownButton: (props: CommandMenuDropdownButtonProps) => JSX.Element;
17
+ export {};
@@ -0,0 +1,11 @@
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 {};
@@ -0,0 +1,32 @@
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 {};
@@ -0,0 +1,12 @@
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
+ imageUrl?: string;
9
+ imageHoverUrl?: string;
10
+ }
11
+ export declare const CommandMenuSubItem: (props: CommandMenuSubItemProps) => JSX.Element;
12
+ export {};
@@ -0,0 +1,26 @@
1
+ /// <reference types="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
+ isWorkDay?: (date: Date) => any;
20
+ onOpen?: (e: any, container: any) => void;
21
+ onChange?: (value: any, name?: string) => void;
22
+ onClose?: (value: any, name?: string) => void;
23
+ className?: string;
24
+ }
25
+ export declare const DatePicker: (props: DatePickerProps) => JSX.Element;
26
+ export {};
@@ -0,0 +1,12 @@
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
+ }
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ interface DialogProps {
3
+ title: string;
4
+ labelClose?: string;
5
+ labelAction?: string;
6
+ isDismissible?: boolean;
7
+ width?: number;
8
+ height?: number;
9
+ onClose?: () => any;
10
+ children: any;
11
+ }
12
+ export declare const Dialog: (props: DialogProps) => JSX.Element;
13
+ export {};
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface DialogButtonProps {
3
+ text: string;
4
+ onClick: () => any;
5
+ isDisabled?: boolean;
6
+ className?: string;
7
+ }
8
+ export declare const DialogButton: (props: DialogButtonProps) => JSX.Element;
9
+ export {};
@@ -0,0 +1,8 @@
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 {};
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface DialogComponent {
3
+ width?: number;
4
+ height?: number;
5
+ children: any;
6
+ isDismissibe?: boolean;
7
+ }
8
+ export declare const DialogComponent: (props: DialogComponent) => JSX.Element;
9
+ export {};
@@ -0,0 +1,5 @@
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
+ }
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface DialogContentProps {
3
+ children?: React.ReactNode;
4
+ }
5
+ export declare const DialogContent: (props: DialogContentProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface DialogFooterProps {
3
+ labelClose?: string;
4
+ labelAction?: string;
5
+ onActionClick?: () => any;
6
+ onClose?: () => any;
7
+ isDismissible?: boolean;
8
+ children?: React.ReactNode;
9
+ }
10
+ export declare const DialogFooter: (props: DialogFooterProps) => JSX.Element;
11
+ export {};
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface DialogHeaderProps {
3
+ title: string;
4
+ }
5
+ export declare const DialogHeader: (props: DialogHeaderProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ interface InputProps {
3
+ name?: string;
4
+ type?: string;
5
+ value?: string;
6
+ number?: string;
7
+ height?: number;
8
+ minHeight?: number;
9
+ maxHeight?: number;
10
+ rows?: number;
11
+ placeholder?: string;
12
+ label?: string;
13
+ labelWidth?: number;
14
+ labelPosition?: string;
15
+ errorMessage?: string;
16
+ isDisabled?: boolean;
17
+ isReadOnly?: boolean;
18
+ isRequired?: boolean;
19
+ isMultiline?: boolean;
20
+ isAutoComplete?: 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: (props: InputProps) => JSX.Element;
32
+ export {};
@@ -0,0 +1,11 @@
1
+ export declare enum AUTOCOMPLETE {
2
+ ON = "on",
3
+ OFF = "off"
4
+ }
5
+ export declare enum NUMBER {
6
+ FLOAT = "float"
7
+ }
8
+ export declare enum REGEXP {
9
+ FLOAT = "^[0-9]+[.,]?[0-9]{0,2}$",
10
+ INT = "^[0-9]+$"
11
+ }
@@ -0,0 +1,9 @@
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;
@@ -0,0 +1,3 @@
1
+ export declare enum POSITION {
2
+ LEFT = "left"
3
+ }
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ interface LoginProps {
3
+ onSubmit: (userName: string, password: string) => any;
4
+ onResetPassword?: () => any;
5
+ onSaveData?: () => any;
6
+ onRegister?: () => any;
7
+ userNameErrorText?: string;
8
+ passwordErrorText?: string;
9
+ emptyErrorText?: string;
10
+ copyright?: string;
11
+ linkItemList?: {
12
+ text: string;
13
+ url: string;
14
+ }[];
15
+ }
16
+ export declare const Login: (props: LoginProps) => JSX.Element;
17
+ export {};
@@ -0,0 +1,18 @@
1
+ export declare enum LOCALE {
2
+ ERROR_EMPTY = "app.common.login.error.empty",
3
+ ERROR_WRONG_DATA = "app.common.login.error.wrongData",
4
+ PLACEHOLDER_NAME = "app.common.login.placeholder.userName",
5
+ PLACEHOLDER_PASSWORD = "app.common.login.placeholder.password",
6
+ PLACEHOLDER = "app.common.login.placeholder",
7
+ ACTION_SAVE_DATA = "app.common.login.action.saveData",
8
+ ACTION_LOGIN = "app.common.login.action.login",
9
+ ACTION_RESET_PASSWORD = "app.common.login.action.resetPassword",
10
+ ACTION_REGISTER = "app.common.login.action.register",
11
+ SEPARATOR_TEXT = "app.common.login.separatorText",
12
+ TITLE = "app.common.login.title",
13
+ COPYRIGHT = "app.common.login.copyright"
14
+ }
15
+ export declare enum INPUT_TYPE {
16
+ PASSWORD = "password",
17
+ TEXT = "text"
18
+ }
@@ -0,0 +1,10 @@
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 {};
@@ -0,0 +1,17 @@
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 {};
@@ -0,0 +1,32 @@
1
+ import React 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
+ filterMinLength: number;
17
+ isMultiSelect?: boolean;
18
+ isDisabled?: boolean;
19
+ isReadOnly?: boolean;
20
+ isRequired?: boolean;
21
+ onChange?: (value: any[] | any, name?: string) => void;
22
+ onBlur?: (e: 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 LookupPicker: (props: LookupPickerProps) => JSX.Element;
32
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare enum LOCALE {
2
+ PLACEHOLDER_EMPTY = "app.common.lookupPicker.empty"
3
+ }
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ interface SelectedValueListProps {
3
+ list: {
4
+ id: string;
5
+ }[];
6
+ isMultiSelect?: boolean;
7
+ selectedValueTemplate: (value: any) => any;
8
+ onOptionValueDelete: (id: string) => any;
9
+ }
10
+ export declare const SelectedValueList: (props: SelectedValueListProps) => JSX.Element;
11
+ export {};
@@ -0,0 +1,16 @@
1
+ /// <reference types="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
+ onOptionValueSelect: (id: string) => any;
13
+ emptyPlaceholder: string;
14
+ }
15
+ export declare const ValueList: (props: ValueListProps) => JSX.Element;
16
+ export {};
@@ -0,0 +1,9 @@
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 {};
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ interface LinkItem {
3
+ link?: string;
4
+ currentUrl: string;
5
+ activeItem?: string;
6
+ id: string;
7
+ onClick?: string;
8
+ href?: string;
9
+ isExternal?: boolean;
10
+ imageUrl: string;
11
+ imageHoverUrl?: string;
12
+ text: string;
13
+ }
14
+ export declare const LinkItem: (props: LinkItem) => JSX.Element;
15
+ export {};
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { SidebarItem } from './SidebarItem';
3
+ interface SectionProps {
4
+ text?: string;
5
+ itemList: SidebarItem[];
6
+ activeItem?: string;
7
+ currentUrl: string;
8
+ }
9
+ export declare const Section: (props: SectionProps) => JSX.Element;
10
+ export {};
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { SidebarSection } from './SidebarSection';
3
+ interface SectionListProps {
4
+ itemList: SidebarSection[];
5
+ currentUrl: string;
6
+ activeItem?: string;
7
+ }
8
+ export declare const SectionList: (props: SectionListProps) => JSX.Element | null;
9
+ export {};
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { SidebarSection } from './SidebarSection';
3
+ interface SidebarProps {
4
+ history: any;
5
+ theme?: string;
6
+ sidebar: number;
7
+ topItemList: SidebarSection[];
8
+ bottomItemList?: SidebarSection[];
9
+ overflowItemList?: SidebarSection[];
10
+ activeItem?: any;
11
+ }
12
+ export declare const Sidebar: (props: SidebarProps) => JSX.Element;
13
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare enum TARGET {
2
+ BLANK = "_blank",
3
+ SELF = "_self"
4
+ }