synos-helena 22.0.1 → 22.0.2-3.beta
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/lib/dark.css +25736 -0
- package/lib/dark.js +61 -0
- package/lib/helena.css +25739 -0
- package/lib/helena.js +61 -0
- package/lib/helena.less +1 -0
- package/lib/icons/exception.svg +1 -0
- package/lib/icons/export.svg +3 -0
- package/lib/icons/field-time.svg +4 -0
- package/lib/icons/file-calculator.svg +13 -0
- package/lib/icons/hand-service.svg +5 -0
- package/lib/icons/import.svg +4 -0
- package/lib/icons/package.svg +3 -0
- package/lib/icons/process-config.svg +8 -0
- package/lib/icons/transmission.svg +6 -0
- package/lib/images/empty-notification.svg +17 -0
- package/lib/images/micro-download.svg +40 -0
- package/lib/images/micro-gerproc.svg +43 -0
- package/lib/images/micro-insight.svg +42 -0
- package/lib/images/synchro-logo.svg +11 -0
- package/lib/index.css +4372 -0
- package/lib/index.js +34826 -0
- package/lib/light.css +25736 -0
- package/lib/light.js +61 -0
- package/lib/src/HLAlert/HLAlert.d.ts +4 -0
- package/lib/src/HLArticle/HLArticle.d.ts +4 -0
- package/lib/src/HLBadge/HLBadge.d.ts +4 -0
- package/lib/src/HLButton/HLButton.d.ts +4 -0
- package/lib/src/HLCard/HLCard.d.ts +7 -0
- package/lib/src/HLCheckbox/HLCheckbox.d.ts +5 -0
- package/lib/src/HLCode/HLCode.d.ts +4 -0
- package/lib/src/HLCollapse/HLCollapse.d.ts +7 -0
- package/lib/src/HLCollapse/Panel/Panel.d.ts +4 -0
- package/lib/src/HLCollapseInfoPanel/HLCollapseInfoPanel.d.ts +4 -0
- package/lib/src/HLContext/HLContext.d.ts +3 -0
- package/lib/src/HLCpfCnpj/HLCpfCnpj.d.ts +4 -0
- package/lib/src/HLDatePicker/DatePicker.d.ts +8 -0
- package/lib/src/HLDatePicker/HLDatePicker.d.ts +6 -0
- package/lib/src/HLDatePicker/MonthPicker/MonthPicker.d.ts +6 -0
- package/lib/src/HLDatePicker/RangePicker/RangePicker.d.ts +6 -0
- package/lib/src/HLDatePicker/utils.d.ts +5 -0
- package/lib/src/HLDeferredRender/HLDeferredRender.d.ts +4 -0
- package/lib/src/HLDescriptions/HLDescriptions.d.ts +4 -0
- package/lib/src/HLDiffViewer/HLDiffViewer.d.ts +4 -0
- package/lib/src/HLDivider/HLDivider.d.ts +4 -0
- package/lib/src/HLDrawer/HLDrawer.d.ts +4 -0
- package/lib/src/HLDropdown/HLDropdown.d.ts +4 -0
- package/lib/src/HLDropdownButton/HLDropdownButton.d.ts +4 -0
- package/lib/src/HLEditTable/HLEditTable.d.ts +4 -0
- package/lib/src/HLErrorBoundary/HLErrorBoundary.d.ts +13 -0
- package/lib/src/HLException/Error/Error.d.ts +4 -0
- package/lib/src/HLException/HLException.d.ts +6 -0
- package/lib/src/HLException/Page500/Page500.d.ts +4 -0
- package/lib/src/HLForm/HLForm.d.ts +7 -0
- package/lib/src/HLFromTo/HLFromTo.d.ts +7 -0
- package/lib/src/HLHeader/HLHeader.d.ts +7 -0
- package/lib/src/HLHeaderButton/HLHeaderButton.d.ts +4 -0
- package/lib/src/HLHeaderSearch/HLHeaderSearch.d.ts +4 -0
- package/lib/src/HLInput/HLInput.d.ts +5 -0
- package/lib/src/HLInput/Password/Password.d.ts +5 -0
- package/lib/src/HLInputMonetary/HLInputMonetary.d.ts +5 -0
- package/lib/src/HLMain/HLMain.d.ts +4 -0
- package/lib/src/HLMarkdown/HLMarkdown.d.ts +4 -0
- package/lib/src/HLModulesMenu/HLModulesMenu.d.ts +4 -0
- package/lib/src/HLNotification/HLNotification.d.ts +7 -0
- package/lib/src/HLNotification/notificationList/NotificationList.d.ts +7 -0
- package/lib/src/HLPageHeader/HLPageHeader.d.ts +4 -0
- package/lib/src/HLPopover/HLPopover.d.ts +4 -0
- package/lib/src/HLPowerSearch/lib/SelectStoreInterface.d.ts +11 -0
- package/lib/src/HLProgress/HLProgress.d.ts +4 -0
- package/lib/src/HLRadio/HLRadio.d.ts +5 -0
- package/lib/src/HLSelect/HLSelect.d.ts +5 -0
- package/lib/src/HLSideMenu/HLSideMenu.d.ts +4 -0
- package/lib/src/HLSpin/HLSpin.d.ts +4 -0
- package/lib/src/HLSwitch/HLSwitch.d.ts +4 -0
- package/lib/src/HLTable/HLTable.d.ts +65 -0
- package/lib/src/HLTextArea/HLTextArea.d.ts +5 -0
- package/lib/src/HLTooltip/HLTootip.d.ts +4 -0
- package/lib/src/HLTotalizer/HLTotalizer.d.ts +4 -0
- package/lib/src/HLUserBox/HLUserBox.d.ts +4 -0
- package/lib/src/index.d.ts +72 -0
- package/lib/src/util/CustomHooks.d.ts +2 -0
- package/lib/src/util/Permissions.d.ts +19 -0
- package/lib/src/util/constants.d.ts +15 -0
- package/lib/themes/colors/ant-blues.less +17 -0
- package/lib/themes/colors/ant-yellows.less +17 -0
- package/lib/themes/colors/blues.less +17 -0
- package/lib/themes/colors/dark-olive-greens.less +17 -0
- package/lib/themes/colors/gray.less +19 -0
- package/lib/themes/colors/greens.less +17 -0
- package/lib/themes/colors/pinks.less +17 -0
- package/lib/themes/colors/purples.less +17 -0
- package/lib/themes/colors/reds.less +17 -0
- package/lib/themes/colors/yellows.less +17 -0
- package/lib/themes/dark.less +38 -0
- package/lib/themes/default.less +46 -0
- package/lib/themes/general_custom.less +25 -0
- package/lib/themes/light.less +38 -0
- package/package.json +7 -4
- package/CHANGELOG.md +0 -837
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const DATE_BRAZILIAN = "DD/MM/YYYY";
|
|
2
|
+
export declare const DATE_BRAZILIAN_DASHED = "DD-MM-YYYY";
|
|
3
|
+
export declare const DATE_TIME = "YYYY-MM-DDTHH:mm:ss";
|
|
4
|
+
export declare const DATE = "YYYY-MM-DD";
|
|
5
|
+
export declare const ERROR_BOUNDARY_TEMPLATES: {
|
|
6
|
+
GERPROC: string;
|
|
7
|
+
INSIGHT: string;
|
|
8
|
+
DOWNLOAD: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const ERROR_SIZES: {
|
|
11
|
+
SMALL: string;
|
|
12
|
+
BIG: string;
|
|
13
|
+
PAGE: string;
|
|
14
|
+
DEFAULT: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@color-dog100: #F1F7DB;
|
|
2
|
+
|
|
3
|
+
@color-dog200: #E2F0BA;
|
|
4
|
+
|
|
5
|
+
@color-dog300: #BDD28B;
|
|
6
|
+
|
|
7
|
+
@color-dog400: #8FA660;
|
|
8
|
+
|
|
9
|
+
@color-dog500: #556B2F;
|
|
10
|
+
|
|
11
|
+
@color-dog600: #445C22;
|
|
12
|
+
|
|
13
|
+
@color-dog700: #354D17;
|
|
14
|
+
|
|
15
|
+
@color-dog800: #273E0E;
|
|
16
|
+
|
|
17
|
+
@color-dog900: #1D3309;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@color-g100: #FFFFFF;
|
|
2
|
+
|
|
3
|
+
@color-g200: #FAFAFA;
|
|
4
|
+
|
|
5
|
+
@color-g300: #F5F5F5;
|
|
6
|
+
|
|
7
|
+
@color-g400: #E8E8E8;
|
|
8
|
+
|
|
9
|
+
@color-g500: #D9D9D9;
|
|
10
|
+
|
|
11
|
+
@color-g600: #BFBFBF;
|
|
12
|
+
|
|
13
|
+
@color-g700: #8C8C8C;
|
|
14
|
+
|
|
15
|
+
@color-g800: #595959;
|
|
16
|
+
|
|
17
|
+
@color-g900: #262626;
|
|
18
|
+
|
|
19
|
+
@color-g1000: #000000;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@import '~antd/dist/antd.less';
|
|
2
|
+
|
|
3
|
+
@primary-color: #153f6a; // primary color for all components
|
|
4
|
+
@text-color: #595959;
|
|
5
|
+
|
|
6
|
+
@secondary-color: #0992f8; //secondary color
|
|
7
|
+
@secondary-1: color(~`colorPalette('@{secondary-color}', 1) `);
|
|
8
|
+
@secondary-2: color(~`colorPalette('@{secondary-color}', 2) `);
|
|
9
|
+
@secondary-5: color(~`colorPalette('@{secondary-color}', 5) `);
|
|
10
|
+
@secondary-7: color(~`colorPalette('@{secondary-color}', 7) `);
|
|
11
|
+
|
|
12
|
+
@link-color: #61c0f6; // link color
|
|
13
|
+
@success-color: #72d99f; // success state color
|
|
14
|
+
@warning-color: #ecc55d; // warning state color
|
|
15
|
+
@error-color: #d3472c; // error state color
|
|
16
|
+
|
|
17
|
+
// Header style variables
|
|
18
|
+
@header-color: #ffffff;
|
|
19
|
+
@header-button-color: #ffffff;
|
|
20
|
+
@header-button-icon-color: #5c5c5c;
|
|
21
|
+
@header-text-color: #5c5c5c;
|
|
22
|
+
|
|
23
|
+
// BUTTONS
|
|
24
|
+
@btn-default-border: #d9d9d9;
|
|
25
|
+
|
|
26
|
+
@btn-danger-bg: #d3472c;
|
|
27
|
+
|
|
28
|
+
// The background colors for active and hover states for things like
|
|
29
|
+
// list items or table cells.
|
|
30
|
+
@item-active-bg: #e5f7fe;
|
|
31
|
+
@item-hover-bg: #e5f7fe;
|
|
32
|
+
|
|
33
|
+
//General
|
|
34
|
+
.ant-divider {
|
|
35
|
+
color: #e0e0e0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@import 'general_custom.less';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@import '~antd/dist/antd.less';
|
|
2
|
+
|
|
3
|
+
@primary-color: #1890ff; // primary color for all components
|
|
4
|
+
@text-color: #595959;
|
|
5
|
+
|
|
6
|
+
@secondary-color: #0992f8; //secondary color
|
|
7
|
+
@secondary-1: color(~`colorPalette('@{secondary-color}', 1) `);
|
|
8
|
+
@secondary-2: color(~`colorPalette('@{secondary-color}', 2) `);
|
|
9
|
+
@secondary-5: color(~`colorPalette('@{secondary-color}', 5) `);
|
|
10
|
+
@secondary-7: color(~`colorPalette('@{secondary-color}', 7) `);
|
|
11
|
+
|
|
12
|
+
@link-color: #61c0f6; // link color
|
|
13
|
+
|
|
14
|
+
// Header style variables
|
|
15
|
+
@layout-header-background: #ffffff;
|
|
16
|
+
@layout-header-color: #5c5c5c;
|
|
17
|
+
|
|
18
|
+
@header-color: #ffffff;
|
|
19
|
+
@header-button-color: #ffffff;
|
|
20
|
+
@header-button-icon-color: #5c5c5c;
|
|
21
|
+
@header-text-color: #5c5c5c;
|
|
22
|
+
|
|
23
|
+
// BUTTONS
|
|
24
|
+
@btn-default-border: #d9d9d9;
|
|
25
|
+
|
|
26
|
+
@btn-danger-bg: #d3472c;
|
|
27
|
+
|
|
28
|
+
// The background colors for active and hover states for things like
|
|
29
|
+
// list items or table cells.
|
|
30
|
+
@item-active-bg: #e5f7fe;
|
|
31
|
+
@item-hover-bg: #e5f7fe;
|
|
32
|
+
|
|
33
|
+
@menu-dark-bg: #004271;
|
|
34
|
+
|
|
35
|
+
@menu-dark-item-active-bg: #dba111;
|
|
36
|
+
|
|
37
|
+
//General
|
|
38
|
+
.ant-divider {
|
|
39
|
+
color: #e0e0e0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ant-legacy-form-item {
|
|
43
|
+
margin-bottom: 0px !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@import 'general_custom.less';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// BUTTONS
|
|
2
|
+
@btn-primary-bg: @secondary-color;
|
|
3
|
+
|
|
4
|
+
// LINK
|
|
5
|
+
@link-color: @secondary-color;
|
|
6
|
+
|
|
7
|
+
//TABS
|
|
8
|
+
@tabs-card-active-color: @secondary-color;
|
|
9
|
+
@tabs-ink-bar-color: @secondary-color;
|
|
10
|
+
@tabs-highlight-color: @secondary-color;
|
|
11
|
+
@tabs-hover-color: @secondary-5;
|
|
12
|
+
@tabs-active-color: @secondary-7;
|
|
13
|
+
|
|
14
|
+
// SCSideMenu
|
|
15
|
+
|
|
16
|
+
@animation-time: 0.1s;
|
|
17
|
+
@logo-animation-time: 0.1s;
|
|
18
|
+
|
|
19
|
+
.ant-layout-sider {
|
|
20
|
+
transition: all @animation-time ease-in-out;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.text-hl-header > h1 {
|
|
24
|
+
color: @header-text-color;
|
|
25
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@import '~antd/dist/antd.less';
|
|
2
|
+
|
|
3
|
+
@primary-color: #153f6a; // primary color for all components
|
|
4
|
+
@text-color: #595959;
|
|
5
|
+
|
|
6
|
+
@secondary-color: #0992f8; //secondary color
|
|
7
|
+
@secondary-1: color(~`colorPalette('@{secondary-color}', 1) `);
|
|
8
|
+
@secondary-2: color(~`colorPalette('@{secondary-color}', 2) `);
|
|
9
|
+
@secondary-5: color(~`colorPalette('@{secondary-color}', 5) `);
|
|
10
|
+
@secondary-7: color(~`colorPalette('@{secondary-color}', 7) `);
|
|
11
|
+
|
|
12
|
+
@link-color: #61c0f6; // link color
|
|
13
|
+
@success-color: #72d99f; // success state color
|
|
14
|
+
@warning-color: #ecc55d; // warning state color
|
|
15
|
+
@error-color: #d3472c; // error state color
|
|
16
|
+
|
|
17
|
+
// Header style variables
|
|
18
|
+
@header-color: #ffffff;
|
|
19
|
+
@header-button-color: #ffffff;
|
|
20
|
+
@header-button-icon-color: #5c5c5c;
|
|
21
|
+
@header-text-color: #5c5c5c;
|
|
22
|
+
|
|
23
|
+
// BUTTONS
|
|
24
|
+
@btn-default-border: #d9d9d9;
|
|
25
|
+
|
|
26
|
+
@btn-danger-bg: #d3472c;
|
|
27
|
+
|
|
28
|
+
// The background colors for active and hover states for things like
|
|
29
|
+
// list items or table cells.
|
|
30
|
+
@item-active-bg: #e5f7fe;
|
|
31
|
+
@item-hover-bg: #e5f7fe;
|
|
32
|
+
|
|
33
|
+
//General
|
|
34
|
+
.ant-divider {
|
|
35
|
+
color: #e0e0e0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@import 'general_custom.less';
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "synos-helena",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.23.beta",
|
|
4
4
|
"description": "A set of components of the helena project",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
|
-
"typings": "
|
|
6
|
+
"typings": "src/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"publish-beta": "npm publish --tag beta",
|
|
9
9
|
"postbuild": "rimraf lib/**/*.map",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@loadable/component": "^5.14.1",
|
|
109
109
|
"@types/react-copy-to-clipboard": "^5.0.2",
|
|
110
110
|
"@types/react-syntax-highlighter": "^13.5.2",
|
|
111
|
-
"antd": "
|
|
111
|
+
"antd": "4.18.9",
|
|
112
112
|
"antd-mask-input": "^0.1.15",
|
|
113
113
|
"bigdecimal": "^0.6.1",
|
|
114
114
|
"cpf-cnpj-validator": "^1.0.3",
|
|
@@ -116,6 +116,7 @@
|
|
|
116
116
|
"dayjs": "^1.10.4",
|
|
117
117
|
"deepdash": "^5.3.2",
|
|
118
118
|
"enquire-js": "latest",
|
|
119
|
+
"export-to-csv": "^0.2.1",
|
|
119
120
|
"json-loader": "^0.5.7",
|
|
120
121
|
"lodash": "^4.17.15",
|
|
121
122
|
"mobx": "^5.15.4",
|
|
@@ -127,7 +128,9 @@
|
|
|
127
128
|
"prop-types": "^15.6.2",
|
|
128
129
|
"react-cookie": "^4.0.3",
|
|
129
130
|
"react-copy-to-clipboard": "^5.0.4",
|
|
130
|
-
"react-
|
|
131
|
+
"react-countdown": "^2.3.2",
|
|
132
|
+
"react-diff-viewer": "^3.1.1",
|
|
133
|
+
"react-highlight-words": "^0.18.0",
|
|
131
134
|
"react-markdown": "^7.1.0",
|
|
132
135
|
"react-resize-detector": "^5.0.7",
|
|
133
136
|
"react-scripts": "^4.0.0",
|