@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.
- package/css/common.css +27 -1
- package/css/std/controls/action-handler/action-handler-info.css +103 -0
- package/css/std/controls/action-handler/action-handler.css +247 -0
- package/css/std/controls/alert/alert.css +184 -0
- package/css/std/controls/breadcrumbs/breadcrumbs.css +137 -0
- package/css/std/controls/button/button.css +67 -0
- package/css/std/controls/command-menu/command-menu-button.css +18 -0
- package/css/std/controls/command-menu/command-menu-dropdown-button.css +155 -0
- package/css/std/controls/command-menu/command-menu-item.css +14 -0
- package/css/std/controls/command-menu/command-menu-lookup-picker.css +48 -0
- package/css/std/controls/command-menu/command-menu.css +18 -0
- package/css/std/controls/control-group/control-group.css +27 -0
- package/css/std/controls/date-picker/date-picker.css +311 -0
- package/css/std/controls/dialog/dialog-button-close.css +34 -0
- package/css/std/controls/dialog/dialog-button.css +3 -0
- package/css/std/controls/dialog/dialog-content.css +29 -0
- package/css/std/controls/dialog/dialog-footer.css +9 -0
- package/css/std/controls/dialog/dialog-header.css +5 -0
- package/css/std/controls/dialog/dialog.css +35 -0
- package/css/std/controls/input/input.css +145 -0
- package/css/std/controls/label/label.css +8 -0
- package/css/std/controls/login/img/login-background.png +0 -0
- package/css/std/controls/login/login.css +230 -0
- package/css/std/controls/lookup-picker/lookup-picker-selected-item.css +4 -0
- package/css/std/controls/lookup-picker/lookup-picker-value-list.css +52 -0
- package/css/std/controls/lookup-picker/lookup-picker.css +144 -0
- package/css/std/controls/sidebar/sidebar-item.css +49 -0
- package/css/std/controls/sidebar/sidebar.css +78 -0
- package/css/std/controls/tab-group/tab-group.css +117 -0
- package/css/std/controls/table-view/table-view-custom-date-edit.css +24 -0
- package/css/std/controls/table-view/table-view-custom-lookup-edit.css +4 -0
- package/css/std/controls/table-view/table-view.css +45 -0
- package/css/std/controls/table-view/treegrid.css +588 -0
- package/css/std/controls/task-tile/task-tile.css +91 -0
- package/css/std/controls/time-picker/time-picker.css +286 -0
- package/css/std/controls/tree-view/tree-view-context-menu.css +77 -0
- package/css/std/controls/tree-view/tree-view.css +110 -0
- package/css/std/controls/uploader/uploader.css +465 -0
- package/css/std/controls/view/view.css +5 -0
- package/css/std/controls/view-part/view-part.css +5 -0
- package/css/white/controls/sidebar/sidebar-item.css +54 -0
- package/css/white/controls/sidebar/sidebar.css +75 -0
- package/dist/constants/Ctrl.d.ts +28 -0
- package/dist/constants/Event.d.ts +5 -1
- package/dist/controls/ActionHandler/ActionHandler.d.ts +6 -3
- package/dist/controls/ActionHandler/ActionHandlerConstants.d.ts +13 -6
- package/dist/controls/ActionHandler/ActionInfo.d.ts +12 -0
- package/dist/controls/ActionHandler/ActionInfoItem.d.ts +13 -0
- package/dist/controls/Alert/Alert.d.ts +19 -0
- package/dist/controls/Alert/AlertConstants.d.ts +5 -0
- package/dist/controls/Breadcrumbs/Breadcrumbs.d.ts +6 -2
- package/dist/controls/Breadcrumbs/Item.d.ts +2 -1
- package/dist/controls/Button/Button.d.ts +14 -0
- package/dist/controls/CommandMenu/CommandMenu.d.ts +6 -0
- package/dist/controls/CommandMenu/CommandMenuButton.d.ts +13 -0
- package/dist/controls/CommandMenu/CommandMenuDropdownButton.d.ts +17 -0
- package/dist/controls/CommandMenu/CommandMenuItemHeader.d.ts +11 -0
- package/dist/controls/CommandMenu/CommandMenuLookupPicker.d.ts +32 -0
- package/dist/controls/CommandMenu/CommandMenuSubItem.d.ts +12 -0
- package/dist/controls/DatePicker/DatePicker.d.ts +26 -0
- package/dist/controls/DatePicker/DatePickerConstants.d.ts +12 -0
- package/dist/controls/Dialog/Dialog.d.ts +13 -0
- package/dist/controls/Dialog/DialogButton.d.ts +9 -0
- package/dist/controls/Dialog/DialogCloseButton.d.ts +8 -0
- package/dist/controls/Dialog/DialogComponent.d.ts +9 -0
- package/dist/controls/Dialog/DialogConstants.d.ts +5 -0
- package/dist/controls/Dialog/DialogContent.d.ts +6 -0
- package/dist/controls/Dialog/DialogFooter.d.ts +11 -0
- package/dist/controls/Dialog/DialogHeader.d.ts +6 -0
- package/dist/controls/Input/Input.d.ts +32 -0
- package/dist/controls/Input/InputConstants.d.ts +11 -0
- package/dist/controls/Label/Label.d.ts +9 -0
- package/dist/controls/Label/LabelConstants.d.ts +3 -0
- package/dist/controls/Login/Login.d.ts +17 -0
- package/dist/controls/Login/LoginConstants.d.ts +18 -0
- package/dist/controls/Login/LoginFooter.d.ts +10 -0
- package/dist/controls/Login/LoginInput.d.ts +17 -0
- package/dist/controls/LookupPicker/LookupPicker.d.ts +32 -0
- package/dist/controls/LookupPicker/LookupPickerConstants.d.ts +3 -0
- package/dist/controls/LookupPicker/SelectedValueList.d.ts +11 -0
- package/dist/controls/LookupPicker/ValueList.d.ts +16 -0
- package/dist/controls/Sidebar/Item.d.ts +9 -0
- package/dist/controls/Sidebar/LinkItem.d.ts +15 -0
- package/dist/controls/Sidebar/Section.d.ts +10 -0
- package/dist/controls/Sidebar/SectionList.d.ts +9 -0
- package/dist/controls/Sidebar/Sidebar.d.ts +13 -0
- package/dist/controls/Sidebar/SidebarConstants.d.ts +4 -0
- package/dist/controls/Sidebar/SidebarItem.d.ts +10 -0
- package/dist/controls/Sidebar/SidebarSection.d.ts +7 -0
- package/dist/controls/TableView/TableViewConstants.d.ts +4 -0
- package/dist/controls/TaskTile/TaskTile.d.ts +18 -0
- package/dist/controls/TelerikUploader/TelerikUploaderConstants.d.ts +14 -2
- package/dist/controls/TelerikUploader/TelerikUploaderContextImpl.d.ts +22 -2
- package/dist/controls/TimePicker/TimePicker.d.ts +20 -0
- package/dist/controls/TimePicker/TimePickerConstants.d.ts +12 -0
- package/dist/index.css +3129 -465
- package/dist/index.d.ts +62 -26
- package/dist/index.js +4659 -314
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4641 -317
- package/dist/index.modern.js.map +1 -1
- package/lib/third-party.js +48552 -0
- package/package.json +4 -2
- /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
|
|
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
|
-
|
|
11
|
-
|
|
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 {};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BreadcrumbsItem } from './BreadcrumbsItem';
|
|
3
3
|
export interface BreadcrumbsProps {
|
|
4
|
-
text
|
|
5
|
-
itemList
|
|
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;
|
|
@@ -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,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,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,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,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,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,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,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,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 {};
|