@vitrosoftware/common-ui-ts 1.1.11 → 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 +44 -0
- 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/third-party/jquery-contextMenu/font/context-menu-icons.eot +0 -0
- package/css/third-party/jquery-contextMenu/font/context-menu-icons.ttf +0 -0
- package/css/third-party/jquery-contextMenu/font/context-menu-icons.woff +0 -0
- package/css/third-party/jquery-contextMenu/font/context-menu-icons.woff2 +0 -0
- package/css/third-party/jquery-contextMenu/jquery.contextMenu.min.css +16 -0
- package/css/third-party/jquery-svg/jquery.svg.css +10 -0
- package/css/third-party/jquery-ui/jquery-ui.min.css +28 -0
- package/css/third-party/jquery-ui/jquery-ui.structure.css +886 -0
- package/css/third-party/jquery-ui/jquery-ui.theme.min.css +26 -0
- package/css/third-party/jquery-ui/ui-icons_444444_256x240.png +0 -0
- package/css/third-party/jquery-ui/ui-icons_555555_256x240.png +0 -0
- package/css/third-party/jquery-ui/ui-icons_777620_256x240.png +0 -0
- package/css/third-party/jquery-ui/ui-icons_777777_256x240.png +0 -0
- package/css/third-party/jquery-ui/ui-icons_cc0000_256x240.png +0 -0
- package/css/third-party/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
- package/css/third-party/sweetalert2/sweetalert2.css +1154 -0
- package/css/white/controls/pdf-viewer/compare-side-by-side.css +260 -0
- package/css/white/controls/pdf-viewer/compare.css +504 -0
- package/css/white/controls/pdf-viewer/custom.css +339 -0
- package/css/white/controls/pdf-viewer/debugger.css +113 -0
- package/css/white/controls/pdf-viewer/form.css +133 -0
- package/css/white/controls/pdf-viewer/img/close-compare-viewer.png +0 -0
- package/css/white/controls/pdf-viewer/img/close-compare-viewer_active.png +0 -0
- package/css/white/controls/pdf-viewer/img/compare-overlay.png +0 -0
- package/css/white/controls/pdf-viewer/img/compare-side-by-side.png +0 -0
- package/css/white/controls/pdf-viewer/img/delete-active.png +0 -0
- package/css/white/controls/pdf-viewer/img/delete.png +0 -0
- package/css/white/controls/pdf-viewer/img/dlg-compare-ico.png +0 -0
- package/css/white/controls/pdf-viewer/img/do-compare.png +0 -0
- package/css/white/controls/pdf-viewer/img/draw-annotation.png +0 -0
- package/css/white/controls/pdf-viewer/img/finish-align.png +0 -0
- package/css/white/controls/pdf-viewer/img/finish-align_active.png +0 -0
- package/css/white/controls/pdf-viewer/img/fit-to-view.png +0 -0
- package/css/white/controls/pdf-viewer/img/fit-to-view_active.png +0 -0
- package/css/white/controls/pdf-viewer/img/hide-annotation.png +0 -0
- package/css/white/controls/pdf-viewer/img/hide-colors.png +0 -0
- package/css/white/controls/pdf-viewer/img/hide-colors_active.png +0 -0
- package/css/white/controls/pdf-viewer/img/layer-unvisible.png +0 -0
- package/css/white/controls/pdf-viewer/img/layer-visible.png +0 -0
- package/css/white/controls/pdf-viewer/img/overlay.png +0 -0
- package/css/white/controls/pdf-viewer/img/overlay_active.png +0 -0
- package/css/white/controls/pdf-viewer/img/pan.png +0 -0
- package/css/white/controls/pdf-viewer/img/pan_active.png +0 -0
- package/css/white/controls/pdf-viewer/img/panel-visibility.png +0 -0
- package/css/white/controls/pdf-viewer/img/panel-visibility_active.png +0 -0
- package/css/white/controls/pdf-viewer/img/show-annotation.png +0 -0
- package/css/white/controls/pdf-viewer/img/side-by-side.png +0 -0
- package/css/white/controls/pdf-viewer/img/side-by-side_active.png +0 -0
- package/css/white/controls/pdf-viewer/img/sidebar-notes-toggle.png +0 -0
- package/css/white/controls/pdf-viewer/img/zoom.png +0 -0
- package/css/white/controls/pdf-viewer/img/zoom_active.png +0 -0
- package/css/white/controls/pdf-viewer/pdf-viewer.css +635 -0
- package/css/white/controls/pdf-viewer/print.css +52 -0
- package/css/white/controls/pdf-viewer/sketchpad.css +16 -0
- package/css/white/controls/pdf-viewer/viewer-theme.css +82 -0
- package/css/white/controls/pdf-viewer/viewer.css +3066 -0
- package/css/white/controls/pdf-viewer/zoom.css +14 -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 +8 -0
- 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/PdfViewer/PdfViewer.d.ts +6 -0
- package/dist/controls/PdfViewer/PdfViewerContext.d.ts +7 -0
- package/dist/controls/PdfViewer/Viewer.d.ts +6 -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 +3138 -467
- package/dist/index.d.ts +64 -25
- package/dist/index.js +4713 -331
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4694 -334
- package/dist/index.modern.js.map +1 -1
- package/lib/autosize/autosize.min.js +1 -0
- package/lib/jquery-context-menu/jquery.contextMenu.min.js +2 -0
- package/lib/jquery-context-menu/jquery.ui.position.js +513 -0
- package/lib/jquery-ui/jquery-ui.min.js +13 -0
- package/lib/jquery.svg/jquery.svg.min.js +6 -0
- package/lib/jquery.svg/jquery.svganim.min.js +6 -0
- package/lib/jquery.svg/jquery.svgdom.min.js +6 -0
- package/lib/jquery.svg/jquery.svgfilter.min.js +6 -0
- package/lib/jquery.svg/jquery.svggraph.min.js +6 -0
- package/lib/jquery.svg/jquery.svgplot.min.js +6 -0
- package/lib/pdf-js/pdf.js +15614 -0
- package/lib/third-party.js +97104 -0
- package/package.json +12 -5
- package/src/controls/PdfViewer/js/init-viewer-page.js +18 -0
- package/src/controls/PdfViewer/js/pdf-viewer.js +16522 -0
- package/css/white/common.css +0 -11
- /package/css/{white/third-party → third-party}/jstree/32px.png +0 -0
- /package/css/{white/third-party → third-party}/jstree/40px.png +0 -0
- /package/css/{white/third-party → third-party}/jstree/style.min.css +0 -0
- /package/css/{white/third-party → third-party}/jstree/throbber.gif +0 -0
- /package/css/{white/third-party → third-party/kendo}/kendo.css +0 -0
- /package/css/white/{third-party → controls/table-view}/treegrid.css +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.vitro-icon > :global(.vitro-icon-hover) {
|
|
2
|
+
display: none;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.vitro-icon:hover > :global(.vitro-icon-hover) {
|
|
6
|
+
display: block;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.vitro-icon:hover > :global(.vitro-icon-default) {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.vitro-icon {
|
|
14
|
+
width: 30px;
|
|
15
|
+
height: 30px;
|
|
16
|
+
margin: 0 auto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.vitro-item-text {
|
|
20
|
+
-webkit-box-flex: 1;
|
|
21
|
+
-ms-flex-positive: 1;
|
|
22
|
+
flex-grow: 1;
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
text-overflow: ellipsis;
|
|
25
|
+
-ms-flex-negative: 1;
|
|
26
|
+
flex-shrink: 1;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.vitro-icon-text {
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
display: block;
|
|
33
|
+
margin: 4px 0 9px 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.vitro-icon-text, .vitro-item-text {
|
|
37
|
+
color: #222d44;
|
|
38
|
+
font-family: "GraphikRegular";
|
|
39
|
+
font-size: 9pt;
|
|
40
|
+
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
ul > li > ul > li:hover .vitro-icon-text, ul > li > ul > li:hover .vitro-item-text, ul > li > ul > li > a.vitro-active .vitro-icon-text, ul > li > ul > li > a.vitro-active .vitro-item-text {
|
|
45
|
+
color: #FF5B2D;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.vitro-item-text {
|
|
49
|
+
display: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:global(.vitro-display-none) {
|
|
53
|
+
display: none;
|
|
54
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
.vitro-sidebar {
|
|
2
|
+
padding-top: 0 !important;
|
|
3
|
+
height: 100%;
|
|
4
|
+
left: -280px;
|
|
5
|
+
z-index: 900;
|
|
6
|
+
position: fixed;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
background-color: #fff;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: center;
|
|
12
|
+
width: 90px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.vitro-sidebar div {
|
|
16
|
+
width: 90px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.vitro-sidebar ul {
|
|
20
|
+
list-style-type: none;
|
|
21
|
+
padding: 0;
|
|
22
|
+
margin: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.vitro-sidebar a {
|
|
26
|
+
text-decoration: none;
|
|
27
|
+
-webkit-transition: color .3s ease;
|
|
28
|
+
transition: color .3s ease;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.vitro-sidebar ul li a {
|
|
32
|
+
display: -webkit-box;
|
|
33
|
+
display: -ms-flexbox;
|
|
34
|
+
display: flex;
|
|
35
|
+
-ms-flex-wrap: nowrap;
|
|
36
|
+
flex-wrap: nowrap;
|
|
37
|
+
-webkit-box-align: center;
|
|
38
|
+
-ms-flex-align: center;
|
|
39
|
+
align-items: center;
|
|
40
|
+
text-decoration: none;
|
|
41
|
+
position: relative;
|
|
42
|
+
width: 100%;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
padding: 10px 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.vitro-sidebar span {
|
|
48
|
+
text-align: center;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.vitro-sidebar a,
|
|
52
|
+
.vitro-sidebar li.active > a,
|
|
53
|
+
.vitro-sidebar a:hover i,
|
|
54
|
+
.vitro-sidebar a:hover:before,
|
|
55
|
+
.vitro-sidebar li.active a i {
|
|
56
|
+
color: #1e1e1e;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:global(.toggled) .vitro-sidebar {
|
|
60
|
+
left: 0px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:global(.pinned):not(.vitro-sidebar-hovered) .vitro-sidebar {
|
|
64
|
+
width: 90px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@media (max-width: 500px) {
|
|
68
|
+
.vitro-sidebar div {
|
|
69
|
+
width: 87px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:global(.pinned):not(.vitro-sidebar-hovered) .vitro-sidebar {
|
|
73
|
+
width: 87px;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare class CTRL {
|
|
2
|
+
static readonly DOT = ".";
|
|
3
|
+
static readonly SEMICOLON = ";";
|
|
4
|
+
static readonly COLON = ":";
|
|
5
|
+
static readonly COMMA = ",";
|
|
6
|
+
static readonly EMPTY = "";
|
|
7
|
+
static readonly SPACE = " ";
|
|
8
|
+
static readonly SHARP = "#";
|
|
9
|
+
static readonly BRACE_OPEN = "{";
|
|
10
|
+
static readonly BRACE_CLOSE = "}";
|
|
11
|
+
static readonly PARENTHESIS_OPEN = "(";
|
|
12
|
+
static readonly PARENTHESIS_CLOSE = ")";
|
|
13
|
+
static readonly EQUAL = "=";
|
|
14
|
+
static readonly AMPERSAND = "&";
|
|
15
|
+
static readonly DASH = "-";
|
|
16
|
+
static readonly SLASH = "/";
|
|
17
|
+
static readonly BACKSLASH = "\\";
|
|
18
|
+
static readonly TILDE = "~";
|
|
19
|
+
static readonly AT_SIGN = "@";
|
|
20
|
+
static readonly BAR = "|";
|
|
21
|
+
static readonly PLUS = "+";
|
|
22
|
+
static readonly PERCENT = "%";
|
|
23
|
+
static readonly QUESTION = "?";
|
|
24
|
+
static readonly UNDERSCORE = "_";
|
|
25
|
+
static readonly QUOTATION_MARK = "'";
|
|
26
|
+
static readonly ZERO = "0";
|
|
27
|
+
static readonly ASTERISK = "*";
|
|
28
|
+
}
|
|
@@ -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
|
+
}
|