Latest updates from IceHrmPro
This commit is contained in:
3
web/node_modules/antd/es/empty/empty.d.ts
generated
vendored
Normal file
3
web/node_modules/antd/es/empty/empty.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/// <reference types="react" />
|
||||
declare const Empty: () => JSX.Element;
|
||||
export default Empty;
|
||||
55
web/node_modules/antd/es/empty/empty.js
generated
vendored
Normal file
55
web/node_modules/antd/es/empty/empty.js
generated
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
import * as React from 'react';
|
||||
import { ConfigContext } from '../config-provider';
|
||||
|
||||
var Empty = function Empty() {
|
||||
var _React$useContext = React.useContext(ConfigContext),
|
||||
getPrefixCls = _React$useContext.getPrefixCls;
|
||||
|
||||
var prefixCls = getPrefixCls('empty-img-default');
|
||||
return /*#__PURE__*/React.createElement("svg", {
|
||||
className: prefixCls,
|
||||
width: "184",
|
||||
height: "152",
|
||||
viewBox: "0 0 184 152",
|
||||
xmlns: "http://www.w3.org/2000/svg"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
fill: "none",
|
||||
fillRule: "evenodd"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
transform: "translate(24 31.67)"
|
||||
}, /*#__PURE__*/React.createElement("ellipse", {
|
||||
className: "".concat(prefixCls, "-ellipse"),
|
||||
cx: "67.797",
|
||||
cy: "106.89",
|
||||
rx: "67.797",
|
||||
ry: "12.668"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
className: "".concat(prefixCls, "-path-1"),
|
||||
d: "M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
className: "".concat(prefixCls, "-path-2"),
|
||||
d: "M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",
|
||||
transform: "translate(13.56)"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
className: "".concat(prefixCls, "-path-3"),
|
||||
d: "M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
className: "".concat(prefixCls, "-path-4"),
|
||||
d: "M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"
|
||||
})), /*#__PURE__*/React.createElement("path", {
|
||||
className: "".concat(prefixCls, "-path-5"),
|
||||
d: "M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"
|
||||
}), /*#__PURE__*/React.createElement("g", {
|
||||
className: "".concat(prefixCls, "-g"),
|
||||
transform: "translate(149.65 15.383)"
|
||||
}, /*#__PURE__*/React.createElement("ellipse", {
|
||||
cx: "20.654",
|
||||
cy: "3.167",
|
||||
rx: "2.849",
|
||||
ry: "2.815"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"
|
||||
}))));
|
||||
};
|
||||
|
||||
export default Empty;
|
||||
22
web/node_modules/antd/es/empty/index.d.ts
generated
vendored
Normal file
22
web/node_modules/antd/es/empty/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import * as React from 'react';
|
||||
export interface TransferLocale {
|
||||
description: string;
|
||||
}
|
||||
export interface EmptyProps {
|
||||
prefixCls?: string;
|
||||
className?: string;
|
||||
style?: React.CSSProperties;
|
||||
/**
|
||||
* @since 3.16.0
|
||||
*/
|
||||
imageStyle?: React.CSSProperties;
|
||||
image?: React.ReactNode;
|
||||
description?: React.ReactNode;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
interface EmptyType extends React.FC<EmptyProps> {
|
||||
PRESENTED_IMAGE_DEFAULT: React.ReactNode;
|
||||
PRESENTED_IMAGE_SIMPLE: React.ReactNode;
|
||||
}
|
||||
declare const Empty: EmptyType;
|
||||
export default Empty;
|
||||
76
web/node_modules/antd/es/empty/index.js
generated
vendored
Normal file
76
web/node_modules/antd/es/empty/index.js
generated
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
var __rest = this && this.__rest || function (s, e) {
|
||||
var t = {};
|
||||
|
||||
for (var p in s) {
|
||||
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
||||
}
|
||||
|
||||
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
||||
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
||||
}
|
||||
return t;
|
||||
};
|
||||
|
||||
import * as React from 'react';
|
||||
import classNames from 'classnames';
|
||||
import { ConfigConsumer } from '../config-provider';
|
||||
import LocaleReceiver from '../locale-provider/LocaleReceiver';
|
||||
import DefaultEmptyImg from './empty';
|
||||
import SimpleEmptyImg from './simple';
|
||||
var defaultEmptyImg = /*#__PURE__*/React.createElement(DefaultEmptyImg, null);
|
||||
var simpleEmptyImg = /*#__PURE__*/React.createElement(SimpleEmptyImg, null);
|
||||
|
||||
var Empty = function Empty(props) {
|
||||
return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref) {
|
||||
var getPrefixCls = _ref.getPrefixCls,
|
||||
direction = _ref.direction;
|
||||
|
||||
var className = props.className,
|
||||
customizePrefixCls = props.prefixCls,
|
||||
_props$image = props.image,
|
||||
image = _props$image === void 0 ? defaultEmptyImg : _props$image,
|
||||
description = props.description,
|
||||
children = props.children,
|
||||
imageStyle = props.imageStyle,
|
||||
restProps = __rest(props, ["className", "prefixCls", "image", "description", "children", "imageStyle"]);
|
||||
|
||||
return /*#__PURE__*/React.createElement(LocaleReceiver, {
|
||||
componentName: "Empty"
|
||||
}, function (locale) {
|
||||
var _classNames;
|
||||
|
||||
var prefixCls = getPrefixCls('empty', customizePrefixCls);
|
||||
var des = typeof description !== 'undefined' ? description : locale.description;
|
||||
var alt = typeof des === 'string' ? des : 'empty';
|
||||
var imageNode = null;
|
||||
|
||||
if (typeof image === 'string') {
|
||||
imageNode = /*#__PURE__*/React.createElement("img", {
|
||||
alt: alt,
|
||||
src: image
|
||||
});
|
||||
} else {
|
||||
imageNode = image;
|
||||
}
|
||||
|
||||
return /*#__PURE__*/React.createElement("div", _extends({
|
||||
className: classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-normal"), image === simpleEmptyImg), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className)
|
||||
}, restProps), /*#__PURE__*/React.createElement("div", {
|
||||
className: "".concat(prefixCls, "-image"),
|
||||
style: imageStyle
|
||||
}, imageNode), des && /*#__PURE__*/React.createElement("p", {
|
||||
className: "".concat(prefixCls, "-description")
|
||||
}, des), children && /*#__PURE__*/React.createElement("div", {
|
||||
className: "".concat(prefixCls, "-footer")
|
||||
}, children));
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Empty.PRESENTED_IMAGE_DEFAULT = defaultEmptyImg;
|
||||
Empty.PRESENTED_IMAGE_SIMPLE = simpleEmptyImg;
|
||||
export default Empty;
|
||||
3
web/node_modules/antd/es/empty/simple.d.ts
generated
vendored
Normal file
3
web/node_modules/antd/es/empty/simple.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/// <reference types="react" />
|
||||
declare const Simple: () => JSX.Element;
|
||||
export default Simple;
|
||||
36
web/node_modules/antd/es/empty/simple.js
generated
vendored
Normal file
36
web/node_modules/antd/es/empty/simple.js
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
import * as React from 'react';
|
||||
import { ConfigContext } from '../config-provider';
|
||||
|
||||
var Simple = function Simple() {
|
||||
var _React$useContext = React.useContext(ConfigContext),
|
||||
getPrefixCls = _React$useContext.getPrefixCls;
|
||||
|
||||
var prefixCls = getPrefixCls('empty-img-simple');
|
||||
return /*#__PURE__*/React.createElement("svg", {
|
||||
className: prefixCls,
|
||||
width: "64",
|
||||
height: "41",
|
||||
viewBox: "0 0 64 41",
|
||||
xmlns: "http://www.w3.org/2000/svg"
|
||||
}, /*#__PURE__*/React.createElement("g", {
|
||||
transform: "translate(0 1)",
|
||||
fill: "none",
|
||||
fillRule: "evenodd"
|
||||
}, /*#__PURE__*/React.createElement("ellipse", {
|
||||
className: "".concat(prefixCls, "-ellipse"),
|
||||
cx: "32",
|
||||
cy: "33",
|
||||
rx: "32",
|
||||
ry: "7"
|
||||
}), /*#__PURE__*/React.createElement("g", {
|
||||
className: "".concat(prefixCls, "-g"),
|
||||
fillRule: "nonzero"
|
||||
}, /*#__PURE__*/React.createElement("path", {
|
||||
d: "M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"
|
||||
}), /*#__PURE__*/React.createElement("path", {
|
||||
d: "M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",
|
||||
className: "".concat(prefixCls, "-path")
|
||||
}))));
|
||||
};
|
||||
|
||||
export default Simple;
|
||||
2
web/node_modules/antd/es/empty/style/css.js
generated
vendored
Normal file
2
web/node_modules/antd/es/empty/style/css.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import '../../style/index.css';
|
||||
import './index.css';
|
||||
75
web/node_modules/antd/es/empty/style/index.css
generated
vendored
Normal file
75
web/node_modules/antd/es/empty/style/index.css
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
/* 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-empty {
|
||||
margin: 0 8px;
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
text-align: center;
|
||||
}
|
||||
.ant-empty-image {
|
||||
height: 100px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.ant-empty-image img {
|
||||
height: 100%;
|
||||
}
|
||||
.ant-empty-image svg {
|
||||
height: 100%;
|
||||
margin: auto;
|
||||
}
|
||||
.ant-empty-description {
|
||||
margin: 0;
|
||||
}
|
||||
.ant-empty-footer {
|
||||
margin-top: 16px;
|
||||
}
|
||||
.ant-empty-normal {
|
||||
margin: 32px 0;
|
||||
color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.ant-empty-normal .ant-empty-image {
|
||||
height: 40px;
|
||||
}
|
||||
.ant-empty-small {
|
||||
margin: 8px 0;
|
||||
color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.ant-empty-small .ant-empty-image {
|
||||
height: 35px;
|
||||
}
|
||||
.ant-empty-img-default-ellipse {
|
||||
fill-opacity: 0.8;
|
||||
fill: #f5f5f5;
|
||||
}
|
||||
.ant-empty-img-default-path-1 {
|
||||
fill: #aeb8c2;
|
||||
}
|
||||
.ant-empty-img-default-path-2 {
|
||||
fill: url(#linearGradient-1);
|
||||
}
|
||||
.ant-empty-img-default-path-3 {
|
||||
fill: #f5f5f7;
|
||||
}
|
||||
.ant-empty-img-default-path-4 {
|
||||
fill: #dce0e6;
|
||||
}
|
||||
.ant-empty-img-default-path-5 {
|
||||
fill: #dce0e6;
|
||||
}
|
||||
.ant-empty-img-default-g {
|
||||
fill: #fff;
|
||||
}
|
||||
.ant-empty-img-simple-ellipse {
|
||||
fill: #f5f5f5;
|
||||
}
|
||||
.ant-empty-img-simple-g {
|
||||
stroke: #d9d9d9;
|
||||
}
|
||||
.ant-empty-img-simple-path {
|
||||
fill: #fafafa;
|
||||
}
|
||||
.ant-empty-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
2
web/node_modules/antd/es/empty/style/index.d.ts
generated
vendored
Normal file
2
web/node_modules/antd/es/empty/style/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import '../../style/index.less';
|
||||
import './index.less';
|
||||
2
web/node_modules/antd/es/empty/style/index.js
generated
vendored
Normal file
2
web/node_modules/antd/es/empty/style/index.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import '../../style/index.less';
|
||||
import './index.less';
|
||||
139
web/node_modules/antd/es/empty/style/index.less
generated
vendored
Normal file
139
web/node_modules/antd/es/empty/style/index.less
generated
vendored
Normal file
@@ -0,0 +1,139 @@
|
||||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
|
||||
@empty-prefix-cls: ~'@{ant-prefix}-empty';
|
||||
@empty-img-prefix-cls: ~'@{ant-prefix}-empty-img';
|
||||
|
||||
.@{empty-prefix-cls} {
|
||||
margin: 0 8px;
|
||||
font-size: @empty-font-size;
|
||||
line-height: 22px;
|
||||
text-align: center;
|
||||
|
||||
&-image {
|
||||
height: 100px;
|
||||
margin-bottom: 8px;
|
||||
|
||||
img {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
svg {
|
||||
height: 100%;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
&-description {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&-footer {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
// antd internal empty style
|
||||
&-normal {
|
||||
margin: 32px 0;
|
||||
color: @disabled-color;
|
||||
|
||||
.@{empty-prefix-cls}-image {
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
&-small {
|
||||
margin: 8px 0;
|
||||
color: @disabled-color;
|
||||
|
||||
.@{empty-prefix-cls}-image {
|
||||
height: 35px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.@{empty-img-prefix-cls}-default {
|
||||
// not support the definition because the less variables have no meaning
|
||||
& when (@theme = dark) {
|
||||
&-ellipse {
|
||||
fill-opacity: 0.08;
|
||||
fill: @white;
|
||||
}
|
||||
&-path {
|
||||
&-1 {
|
||||
fill: #262626;
|
||||
}
|
||||
&-2 {
|
||||
fill: url(#linearGradient-1);
|
||||
}
|
||||
&-3 {
|
||||
fill: #595959;
|
||||
}
|
||||
&-4 {
|
||||
fill: #434343;
|
||||
}
|
||||
&-5 {
|
||||
fill: #595959;
|
||||
}
|
||||
}
|
||||
&-g {
|
||||
fill: #434343;
|
||||
}
|
||||
}
|
||||
& when not (@theme = dark) {
|
||||
&-ellipse {
|
||||
fill-opacity: 0.8;
|
||||
fill: #f5f5f5;
|
||||
}
|
||||
&-path {
|
||||
&-1 {
|
||||
fill: #aeb8c2;
|
||||
}
|
||||
&-2 {
|
||||
fill: url(#linearGradient-1);
|
||||
}
|
||||
&-3 {
|
||||
fill: #f5f5f7;
|
||||
}
|
||||
&-4 {
|
||||
fill: #dce0e6;
|
||||
}
|
||||
&-5 {
|
||||
fill: #dce0e6;
|
||||
}
|
||||
}
|
||||
&-g {
|
||||
fill: @white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.@{empty-img-prefix-cls}-simple {
|
||||
// not support the definition because the less variables have no meaning
|
||||
& when (@theme = dark) {
|
||||
&-ellipse {
|
||||
fill: @white;
|
||||
fill-opacity: 0.08;
|
||||
}
|
||||
&-g {
|
||||
stroke: #434343;
|
||||
}
|
||||
&-path {
|
||||
fill: #262626;
|
||||
stroke: #434343;
|
||||
}
|
||||
}
|
||||
& when not (@theme = dark) {
|
||||
&-ellipse {
|
||||
fill: #f5f5f5;
|
||||
}
|
||||
&-g {
|
||||
stroke: #d9d9d9;
|
||||
}
|
||||
&-path {
|
||||
fill: #fafafa;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@import './rtl';
|
||||
10
web/node_modules/antd/es/empty/style/rtl.less
generated
vendored
Normal file
10
web/node_modules/antd/es/empty/style/rtl.less
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
|
||||
@empty-prefix-cls: ~'@{ant-prefix}-empty';
|
||||
|
||||
.@{empty-prefix-cls} {
|
||||
&-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user