Latest updates from IceHrmPro

This commit is contained in:
Thilina Pituwala
2020-05-20 18:47:29 +02:00
parent 60c92d7935
commit 7453a58aad
18012 changed files with 2089245 additions and 10173 deletions

6
web/node_modules/antd/es/card/style/css.js generated vendored Normal file
View File

@@ -0,0 +1,6 @@
import '../../style/index.css';
import './index.css'; // style dependencies
import '../../tabs/style/css';
import '../../row/style/css';
import '../../col/style/css';

315
web/node_modules/antd/es/card/style/index.css generated vendored Normal file
View File

@@ -0,0 +1,315 @@
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-card {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
position: relative;
background: #fff;
border-radius: 2px;
-webkit-transition: all 0.3s;
transition: all 0.3s;
}
.ant-card-rtl {
direction: rtl;
}
.ant-card-hoverable {
cursor: pointer;
}
.ant-card-hoverable:hover {
border-color: transparent;
-webkit-box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
}
.ant-card-bordered {
border: 1px solid #f0f0f0;
}
.ant-card-head {
min-height: 48px;
margin-bottom: -1px;
padding: 0 24px;
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
font-size: 16px;
background: transparent;
border-bottom: 1px solid #f0f0f0;
border-radius: 2px 2px 0 0;
}
.ant-card-head::before {
display: table;
content: '';
}
.ant-card-head::after {
display: table;
clear: both;
content: '';
}
.ant-card-head-wrapper {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.ant-card-head-title {
display: inline-block;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
padding: 16px 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.ant-card-head .ant-tabs {
clear: both;
margin-bottom: -17px;
color: rgba(0, 0, 0, 0.65);
font-weight: normal;
font-size: 14px;
}
.ant-card-head .ant-tabs-bar {
border-bottom: 1px solid #f0f0f0;
}
.ant-card-extra {
float: right;
margin-left: auto;
padding: 16px 0;
color: rgba(0, 0, 0, 0.65);
font-weight: normal;
font-size: 14px;
}
.ant-card-rtl .ant-card-extra {
margin-right: auto;
margin-left: 0;
}
.ant-card-body {
padding: 24px;
}
.ant-card-body::before {
display: table;
content: '';
}
.ant-card-body::after {
display: table;
clear: both;
content: '';
}
.ant-card-contain-grid:not(.ant-card-loading) .ant-card-body {
margin: -1px 0 0 -1px;
padding: 0;
}
.ant-card-grid {
float: left;
width: 33.33%;
padding: 24px;
border: 0;
border-radius: 0;
-webkit-box-shadow: 1px 0 0 0 #f0f0f0, 0 1px 0 0 #f0f0f0, 1px 1px 0 0 #f0f0f0, 1px 0 0 0 #f0f0f0 inset, 0 1px 0 0 #f0f0f0 inset;
box-shadow: 1px 0 0 0 #f0f0f0, 0 1px 0 0 #f0f0f0, 1px 1px 0 0 #f0f0f0, 1px 0 0 0 #f0f0f0 inset, 0 1px 0 0 #f0f0f0 inset;
-webkit-transition: all 0.3s;
transition: all 0.3s;
}
.ant-card-rtl .ant-card-grid {
float: right;
}
.ant-card-grid-hoverable:hover {
position: relative;
z-index: 1;
-webkit-box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
}
.ant-card-contain-tabs > .ant-card-head .ant-card-head-title {
min-height: 32px;
padding-bottom: 0;
}
.ant-card-contain-tabs > .ant-card-head .ant-card-extra {
padding-bottom: 0;
}
.ant-card-cover {
margin-right: -1px;
margin-left: -1px;
}
.ant-card-cover > * {
display: block;
width: 100%;
}
.ant-card-cover img {
border-radius: 2px 2px 0 0;
}
.ant-card-actions {
margin: 0;
padding: 0;
list-style: none;
background: #fafafa;
border-top: 1px solid #f0f0f0;
}
.ant-card-actions::before {
display: table;
content: '';
}
.ant-card-actions::after {
display: table;
clear: both;
content: '';
}
.ant-card-actions > li {
float: left;
margin: 12px 0;
color: rgba(0, 0, 0, 0.45);
text-align: center;
}
.ant-card-rtl .ant-card-actions > li {
float: right;
}
.ant-card-actions > li > span {
position: relative;
display: block;
min-width: 32px;
font-size: 14px;
line-height: 22px;
cursor: pointer;
}
.ant-card-actions > li > span:hover {
color: #1890ff;
-webkit-transition: color 0.3s;
transition: color 0.3s;
}
.ant-card-actions > li > span a:not(.ant-btn),
.ant-card-actions > li > span > .anticon {
display: inline-block;
width: 100%;
color: rgba(0, 0, 0, 0.45);
line-height: 22px;
-webkit-transition: color 0.3s;
transition: color 0.3s;
}
.ant-card-actions > li > span a:not(.ant-btn):hover,
.ant-card-actions > li > span > .anticon:hover {
color: #1890ff;
}
.ant-card-actions > li > span > .anticon {
font-size: 16px;
line-height: 22px;
}
.ant-card-actions > li:not(:last-child) {
border-right: 1px solid #f0f0f0;
}
.ant-card-type-inner .ant-card-head {
padding: 0 24px;
background: #fafafa;
}
.ant-card-type-inner .ant-card-head-title {
padding: 12px 0;
font-size: 14px;
}
.ant-card-type-inner .ant-card-body {
padding: 16px 24px;
}
.ant-card-type-inner .ant-card-extra {
padding: 13.5px 0;
}
.ant-card-meta {
margin: -4px 0;
}
.ant-card-meta::before {
display: table;
content: '';
}
.ant-card-meta::after {
display: table;
clear: both;
content: '';
}
.ant-card-meta-avatar {
float: left;
padding-right: 16px;
}
.ant-card-rtl .ant-card-meta-avatar {
float: right;
padding-right: 0;
padding-left: 16px;
}
.ant-card-meta-detail {
overflow: hidden;
}
.ant-card-meta-detail > div:not(:last-child) {
margin-bottom: 8px;
}
.ant-card-meta-title {
overflow: hidden;
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
font-size: 16px;
white-space: nowrap;
text-overflow: ellipsis;
}
.ant-card-meta-description {
color: rgba(0, 0, 0, 0.45);
}
.ant-card-loading {
overflow: hidden;
}
.ant-card-loading .ant-card-body {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.ant-card-loading-content p {
margin: 0;
}
.ant-card-loading-block {
height: 14px;
margin: 4px 0;
background: -webkit-gradient(linear, left top, right top, from(rgba(207, 216, 220, 0.2)), color-stop(rgba(207, 216, 220, 0.4)), to(rgba(207, 216, 220, 0.2)));
background: linear-gradient(90deg, rgba(207, 216, 220, 0.2), rgba(207, 216, 220, 0.4), rgba(207, 216, 220, 0.2));
background-size: 600% 600%;
border-radius: 2px;
-webkit-animation: card-loading 1.4s ease infinite;
animation: card-loading 1.4s ease infinite;
}
@-webkit-keyframes card-loading {
0%,
100% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
}
@keyframes card-loading {
0%,
100% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
}
.ant-card-small > .ant-card-head {
min-height: 36px;
padding: 0 12px;
font-size: 14px;
}
.ant-card-small > .ant-card-head > .ant-card-head-wrapper > .ant-card-head-title {
padding: 8px 0;
}
.ant-card-small > .ant-card-head > .ant-card-head-wrapper > .ant-card-extra {
padding: 8px 0;
font-size: 14px;
}
.ant-card-small > .ant-card-body {
padding: 12px;
}

5
web/node_modules/antd/es/card/style/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,5 @@
import '../../style/index.less';
import './index.less';
import '../../tabs/style';
import '../../row/style';
import '../../col/style';

6
web/node_modules/antd/es/card/style/index.js generated vendored Normal file
View File

@@ -0,0 +1,6 @@
import '../../style/index.less';
import './index.less'; // style dependencies
import '../../tabs/style';
import '../../row/style';
import '../../col/style';

290
web/node_modules/antd/es/card/style/index.less generated vendored Normal file
View File

@@ -0,0 +1,290 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@card-prefix-cls: ~'@{ant-prefix}-card';
@card-hoverable-hover-border: transparent;
@card-action-icon-size: 16px;
@gradient-min: fade(@card-skeleton-bg, 20%);
@gradient-max: fade(@card-skeleton-bg, 40%);
.@{card-prefix-cls} {
.reset-component;
position: relative;
background: @card-background;
border-radius: @card-radius;
transition: all 0.3s;
&-rtl {
direction: rtl;
}
&-hoverable {
cursor: pointer;
&:hover {
border-color: @card-hoverable-hover-border;
box-shadow: @card-shadow;
}
}
&-bordered {
border: @border-width-base @border-style-base @border-color-split;
}
&-head {
min-height: @card-head-height;
margin-bottom: -1px; // Fix card grid overflow bug: https://gw.alipayobjects.com/zos/rmsportal/XonYxBikwpgbqIQBeuhk.png
padding: 0 @card-padding-base;
color: @card-head-color;
font-weight: 500;
font-size: @card-head-font-size;
background: @card-head-background;
border-bottom: @border-width-base @border-style-base @border-color-split;
border-radius: @card-radius @card-radius 0 0;
.clearfix;
&-wrapper {
display: flex;
align-items: center;
}
&-title {
display: inline-block;
flex: 1;
padding: @card-head-padding 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.@{ant-prefix}-tabs {
clear: both;
margin-bottom: @card-head-tabs-margin-bottom;
color: @text-color;
font-weight: normal;
font-size: @font-size-base;
&-bar {
border-bottom: @border-width-base @border-style-base @border-color-split;
}
}
}
&-extra {
float: right;
// https://stackoverflow.com/a/22429853/3040605
margin-left: auto;
padding: @card-head-padding 0;
color: @text-color;
font-weight: normal;
font-size: @font-size-base;
.@{card-prefix-cls}-rtl & {
margin-right: auto;
margin-left: 0;
}
}
&-body {
padding: @card-padding-base;
.clearfix;
}
&-contain-grid:not(&-loading) &-body {
margin: -1px 0 0 -1px;
padding: 0;
}
&-grid {
float: left;
width: 33.33%;
padding: @card-padding-base;
border: 0;
border-radius: 0;
box-shadow: 1px 0 0 0 @border-color-split, 0 1px 0 0 @border-color-split,
1px 1px 0 0 @border-color-split, 1px 0 0 0 @border-color-split inset,
0 1px 0 0 @border-color-split inset;
transition: all 0.3s;
.@{card-prefix-cls}-rtl & {
float: right;
}
&-hoverable {
&:hover {
position: relative;
z-index: 1;
box-shadow: @card-shadow;
}
}
}
&-contain-tabs > &-head &-head-title {
min-height: @card-head-height - @card-head-padding;
padding-bottom: 0;
}
&-contain-tabs > &-head &-extra {
padding-bottom: 0;
}
&-cover {
margin-right: -1px;
margin-left: -1px;
> * {
display: block;
width: 100%;
}
img {
border-radius: @card-radius @card-radius 0 0;
}
}
&-actions {
margin: 0;
padding: 0;
list-style: none;
background: @card-actions-background;
border-top: @border-width-base @border-style-base @border-color-split;
.clearfix;
& > li {
float: left;
margin: @card-actions-li-margin;
color: @text-color-secondary;
text-align: center;
.@{card-prefix-cls}-rtl & {
float: right;
}
> span {
position: relative;
display: block;
min-width: 32px;
font-size: @font-size-base;
line-height: 22px;
cursor: pointer;
&:hover {
color: @primary-color;
transition: color 0.3s;
}
a:not(.@{ant-prefix}-btn),
> .anticon {
display: inline-block;
width: 100%;
color: @text-color-secondary;
line-height: 22px;
transition: color 0.3s;
&:hover {
color: @primary-color;
}
}
> .anticon {
font-size: @card-action-icon-size;
line-height: 22px;
}
}
&:not(:last-child) {
border-right: @border-width-base @border-style-base @border-color-split;
}
}
}
&-type-inner &-head {
padding: 0 @card-padding-base;
background: @background-color-light;
&-title {
padding: @card-inner-head-padding 0;
font-size: @font-size-base;
}
}
&-type-inner &-body {
padding: 16px @card-padding-base;
}
&-type-inner &-extra {
padding: @card-inner-head-padding + 1.5px 0;
}
&-meta {
margin: -4px 0;
.clearfix;
&-avatar {
float: left;
padding-right: 16px;
.@{card-prefix-cls}-rtl & {
float: right;
padding-right: 0;
padding-left: 16px;
}
}
&-detail {
overflow: hidden;
> div:not(:last-child) {
margin-bottom: @margin-xs;
}
}
&-title {
overflow: hidden;
color: @card-head-color;
font-weight: 500;
font-size: @font-size-lg;
white-space: nowrap;
text-overflow: ellipsis;
}
&-description {
color: @text-color-secondary;
}
}
&-loading {
overflow: hidden;
}
&-loading &-body {
user-select: none;
}
&-loading-content {
p {
margin: 0;
}
}
&-loading-block {
height: 14px;
margin: 4px 0;
background: linear-gradient(90deg, @gradient-min, @gradient-max, @gradient-min);
background-size: 600% 600%;
border-radius: @card-radius;
animation: card-loading 1.4s ease infinite;
}
}
@keyframes card-loading {
0%,
100% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
}
@import './size';

22
web/node_modules/antd/es/card/style/size.less generated vendored Normal file
View File

@@ -0,0 +1,22 @@
@import './index';
.@{card-prefix-cls}-small {
> .@{card-prefix-cls}-head {
min-height: @card-head-height-sm;
padding: 0 @card-padding-base-sm;
font-size: @card-head-font-size-sm;
> .@{card-prefix-cls}-head-wrapper {
> .@{card-prefix-cls}-head-title {
padding: @card-head-padding-sm 0;
}
> .@{card-prefix-cls}-extra {
padding: @card-head-padding-sm 0;
font-size: @card-head-font-size-sm;
}
}
}
> .@{card-prefix-cls}-body {
padding: @card-padding-base-sm;
}
}