add all frontend files

This commit is contained in:
2026-01-17 15:16:36 -05:00
parent ff16ae7858
commit e40287e4aa
25704 changed files with 1935289 additions and 0 deletions

9
node_modules/rc-steps/LICENSE.md generated vendored Normal file
View File

@@ -0,0 +1,9 @@
The MIT License (MIT)
Copyright (c) 2014-present yiminghe
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

189
node_modules/rc-steps/README.md generated vendored Normal file
View File

@@ -0,0 +1,189 @@
# rc-steps
---
React steps component.
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]
[![bundle size][bundlephobia-image]][bundlephobia-url]
[npm-image]: http://img.shields.io/npm/v/rc-steps.svg?style=flat-square
[npm-url]: http://npmjs.org/package/rc-steps
[travis-image]: https://img.shields.io/travis/react-component/steps.svg?style=flat-square
[travis-url]: https://travis-ci.org/react-component/steps
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/steps/master.svg?style=flat-square
[codecov-url]: https://codecov.io/gh/react-component/steps/branch/master
[download-image]: https://img.shields.io/npm/dm/rc-steps.svg?style=flat-square
[download-url]: https://npmjs.org/package/rc-steps
[bundlephobia-url]: https://bundlephobia.com/result?p=rc-steps
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-steps
## Usage
```bash
npm install rc-steps
```
```jsx | pure
<Steps current={1}>
<Steps.Step title="first" />
<Steps.Step title="second" />
<Steps.Step title="third" />
</Steps>
```
## Example
https://react-component.github.io/steps/
## API
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="width: 100px;">name</th>
<th style="width: 50px;">type</th>
<th style="width: 50px;">default</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>type</td>
<td>string</td>
<td>default</td>
<td>diretypetion of Steps, could be `default` `navigation` `inline`</td>
</tr>
<tr>
<td>direction</td>
<td>string</td>
<td>horizontal</td>
<td>direction of Steps, enum: `horizontal` or `vertical`</td>
</tr>
<tr>
<td>current</td>
<td>number</td>
<td>0</td>
<td>index of current step</td>
</tr>
<tr>
<td>initial</td>
<td>number</td>
<td>0</td>
<td>index initial</td>
</tr>
<tr>
<td>size</td>
<td>string</td>
<td></td>
<td>size of Steps, could be `small`</td>
</tr>
<tr>
<td>labelPlacement</td>
<td>string</td>
<td></td>
<td>placement of step title, could be `vertical`</td>
</tr>
<tr>
<td>status</td>
<td>string</td>
<td>wait</td>
<td>status of current Steps, could be `error` `process` `finish` `wait`</td>
</tr>
<tr>
<td>icons</td>
<td>{ finish: ReactNode, error: ReactNode }</td>
<td></td>
<td>specify the default finish icon and error icon</td>
</tr>
<tr>
<td>itemRender</td>
<td>(item: StepProps, stepItem: React.ReactNode) => React.ReactNode</td>
<td></td>
<td>custom step item renderer</td>
</tr>
<tr>
<td>onChange</td>
<td>(current: number) => void</td>
<td></td>
<td>Trigger when Step changed</td>
</tr>
</tbody>
</table>
### Steps.Step
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="width: 100px;">name</th>
<th style="width: 50px;">type</th>
<th style="width: 50px;">default</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>title</td>
<td>ReactNode</td>
<td></td>
<td>title of step item</td>
</tr>
<tr>
<td>subTitle</td>
<td>ReactNode</td>
<td></td>
<td>subTitle of step item</td>
</tr>
<tr>
<td>description</td>
<td>ReactNode</td>
<td></td>
<td>description of step item</td>
</tr>
<tr>
<td>icon</td>
<td>ReactNode</td>
<td></td>
<td>set icon of step item</td>
</tr>
<tr>
<td>status</td>
<td>string</td>
<td></td>
<td>status of current Steps, could be `error` `process` `finish` `wait`</td>
</tr>
<tr>
<td>tailContent</td>
<td>ReactNode</td>
<td></td>
<td>content above tail</td>
</tr>
<tr>
<td>disabled</td>
<td>bool</td>
<td>false</td>
<td>disabled step when onChange exist</td>
</tr>
<tr>
<td>render</td>
<td>(stepItem: React.ReactNode) => React.ReactNode</td>
<td></td>
<td>custom step item renderer</td>
</tr>
</tbody>
</table>
## Development
```
npm install
npm start
```
## License
rc-steps is released under the MIT license.

508
node_modules/rc-steps/assets/index.css generated vendored Normal file
View File

@@ -0,0 +1,508 @@
.rc-steps {
font-size: 0;
width: 100%;
line-height: 1.5;
display: flex;
}
.rc-steps,
.rc-steps * {
box-sizing: border-box;
}
.rc-steps-item {
position: relative;
display: inline-block;
vertical-align: top;
flex: 1;
overflow: hidden;
}
.rc-steps-item-container[role='button'] {
cursor: pointer;
transition: opacity 0.3s;
}
.rc-steps-item-container[role='button']:hover {
opacity: 0.7;
}
.rc-steps-item:last-child {
flex: none;
}
.rc-steps-item:last-child .rc-steps-item-tail,
.rc-steps-item:last-child .rc-steps-item-title:after {
display: none;
}
.rc-steps-item-container {
display: inline-block;
}
.rc-steps-item-icon,
.rc-steps-item-content {
display: inline-block;
vertical-align: top;
}
.rc-steps-item-icon {
border: 1px solid #ccc;
width: 26px;
height: 26px;
line-height: 26px;
text-align: center;
border-radius: 26px;
font-size: 14px;
margin-right: 8px;
transition: background-color 0.3s, border-color 0.3s;
}
.rc-steps-item-icon > .rc-steps-icon {
line-height: 1;
top: -1px;
color: #108ee9;
position: relative;
}
.rc-steps-item-icon > .rc-steps-icon.rcicon {
font-size: 12px;
position: relative;
top: -2px;
}
.rc-steps-item-tail {
position: absolute;
left: 0;
width: 100%;
top: 12px;
padding: 0 10px;
}
.rc-steps-item-tail:after {
content: '';
display: inline-block;
background: #e9e9e9;
height: 1px;
border-radius: 1px;
width: 100%;
transition: background 0.3s;
}
.rc-steps-item-content {
margin-top: 3px;
}
.rc-steps-item-title {
font-size: 14px;
margin-bottom: 4px;
color: #666;
font-weight: bold;
display: inline-block;
padding-right: 10px;
position: relative;
}
.rc-steps-item-title:after {
content: '';
height: 1px;
width: 1000px;
background: #e9e9e9;
display: block;
position: absolute;
top: 0.55em;
left: 100%;
}
.rc-steps-item-subtitle {
font-size: 12px;
display: inline-block;
color: #999;
margin-left: 8px;
}
.rc-steps-item-description {
font-size: 12px;
color: #999;
}
.rc-steps-item-wait .rc-steps-item-icon {
border-color: #ccc;
background-color: #fff;
}
.rc-steps-item-wait .rc-steps-item-icon > .rc-steps-icon {
color: #ccc;
}
.rc-steps-item-wait .rc-steps-item-icon > .rc-steps-icon .rc-steps-icon-dot {
background: #ccc;
}
.rc-steps-item-wait .rc-steps-item-title {
color: rgba(0, 0, 0, 0.43);
}
.rc-steps-item-wait .rc-steps-item-title:after {
background-color: #e9e9e9;
}
.rc-steps-item-wait .rc-steps-item-description {
color: rgba(0, 0, 0, 0.43);
}
.rc-steps-item-wait .rc-steps-item-tail:after {
background-color: #e9e9e9;
}
.rc-steps-item-process .rc-steps-item-icon {
border-color: #108ee9;
background-color: #fff;
}
.rc-steps-item-process .rc-steps-item-icon > .rc-steps-icon {
color: #108ee9;
}
.rc-steps-item-process .rc-steps-item-icon > .rc-steps-icon .rc-steps-icon-dot {
background: #108ee9;
}
.rc-steps-item-process .rc-steps-item-title {
color: rgba(0, 0, 0, 0.65);
}
.rc-steps-item-process .rc-steps-item-title:after {
background-color: #e9e9e9;
}
.rc-steps-item-process .rc-steps-item-description {
color: rgba(0, 0, 0, 0.65);
}
.rc-steps-item-process .rc-steps-item-tail:after {
background-color: #e9e9e9;
}
.rc-steps-item-process .rc-steps-item-icon {
background: #108ee9;
}
.rc-steps-item-process .rc-steps-item-icon > .rc-steps-icon {
color: #fff;
}
.rc-steps-item-finish .rc-steps-item-icon {
border-color: #108ee9;
background-color: #fff;
}
.rc-steps-item-finish .rc-steps-item-icon > .rc-steps-icon {
color: #108ee9;
}
.rc-steps-item-finish .rc-steps-item-icon > .rc-steps-icon .rc-steps-icon-dot {
background: #108ee9;
}
.rc-steps-item-finish .rc-steps-item-title {
color: rgba(0, 0, 0, 0.43);
}
.rc-steps-item-finish .rc-steps-item-title:after {
background-color: #108ee9;
}
.rc-steps-item-finish .rc-steps-item-description {
color: rgba(0, 0, 0, 0.43);
}
.rc-steps-item-finish .rc-steps-item-tail:after {
background-color: #108ee9;
}
.rc-steps-item-error .rc-steps-item-icon {
border-color: #f50;
background-color: #fff;
}
.rc-steps-item-error .rc-steps-item-icon > .rc-steps-icon {
color: #f50;
}
.rc-steps-item-error .rc-steps-item-icon > .rc-steps-icon .rc-steps-icon-dot {
background: #f50;
}
.rc-steps-item-error .rc-steps-item-title {
color: #f50;
}
.rc-steps-item-error .rc-steps-item-title:after {
background-color: #e9e9e9;
}
.rc-steps-item-error .rc-steps-item-description {
color: #f50;
}
.rc-steps-item-error .rc-steps-item-tail:after {
background-color: #e9e9e9;
}
.rc-steps-item.rc-steps-next-error .rc-steps-item-title:after {
background: #f50;
}
.rc-steps-horizontal:not(.rc-steps-label-vertical) .rc-steps-item {
margin-right: 10px;
}
.rc-steps-horizontal:not(.rc-steps-label-vertical) .rc-steps-item:last-child {
margin-right: 0;
}
.rc-steps-horizontal:not(.rc-steps-label-vertical) .rc-steps-item-tail {
display: none;
}
.rc-steps-horizontal:not(.rc-steps-label-vertical) .rc-steps-item-description {
max-width: 100px;
}
.rc-steps-item-custom .rc-steps-item-icon {
background: none;
border: 0;
width: auto;
height: auto;
}
.rc-steps-item-custom .rc-steps-item-icon > .rc-steps-icon {
font-size: 20px;
top: 1px;
width: 20px;
height: 20px;
}
.rc-steps-item-custom.rc-steps-item-process .rc-steps-item-icon > .rc-steps-icon {
color: #108ee9;
}
.rc-steps-small .rc-steps-item-icon {
width: 18px;
height: 18px;
line-height: 18px;
text-align: center;
border-radius: 18px;
font-size: 12px;
margin-right: 10px;
}
.rc-steps-small .rc-steps-item-icon > .rc-steps-icon {
font-size: 12px;
font-size: 9px \9;
transform: scale(0.75);
top: -1px;
}
.rc-steps-small .rc-steps-item-content {
margin-top: 0;
}
.rc-steps-small .rc-steps-item-title {
font-size: 12px;
margin-bottom: 4px;
color: #666;
font-weight: bold;
}
.rc-steps-small .rc-steps-item-description {
font-size: 12px;
color: #999;
}
.rc-steps-small .rc-steps-item-tail {
top: 8px;
padding: 0 8px;
}
.rc-steps-small .rc-steps-item-tail:after {
height: 1px;
border-radius: 1px;
width: 100%;
}
.rc-steps-small .rc-steps-item-custom .rc-steps-item-icon {
width: inherit;
height: inherit;
line-height: inherit;
border-radius: 0;
border: 0;
background: none;
}
.rc-steps-small .rc-steps-item-custom .rc-steps-item-icon > .rc-steps-icon {
font-size: 20px;
top: -2.5px;
transform: none;
}
.rc-steps-vertical {
display: block;
}
.rc-steps-vertical .rc-steps-item {
display: block;
overflow: visible;
}
.rc-steps-vertical .rc-steps-item-icon {
float: left;
}
.rc-steps-vertical .rc-steps-item-icon-inner {
margin-right: 16px;
}
.rc-steps-vertical .rc-steps-item-content {
min-height: 48px;
overflow: hidden;
display: block;
}
.rc-steps-vertical .rc-steps-item-title {
line-height: 26px;
}
.rc-steps-vertical .rc-steps-item-title:after {
display: none;
}
.rc-steps-vertical .rc-steps-item-description {
padding-bottom: 12px;
}
.rc-steps-vertical .rc-steps-item-tail {
position: absolute;
left: 13px;
top: 0;
height: 100%;
width: 1px;
padding: 30px 0 4px 0;
}
.rc-steps-vertical .rc-steps-item-tail:after {
height: 100%;
width: 1px;
}
.rc-steps-vertical.rc-steps-small .rc-steps-item-tail {
position: absolute;
left: 9px;
top: 0;
padding: 22px 0 4px 0;
}
.rc-steps-vertical.rc-steps-small .rc-steps-item-title {
line-height: 18px;
}
.rc-steps-label-vertical .rc-steps-item {
overflow: visible;
}
.rc-steps-label-vertical .rc-steps-item-tail {
padding: 0px 24px;
margin-left: 48px;
}
.rc-steps-label-vertical .rc-steps-item-content {
display: block;
text-align: center;
margin-top: 8px;
width: 100px;
}
.rc-steps-label-vertical .rc-steps-item-icon {
display: inline-block;
margin-left: 36px;
}
.rc-steps-label-vertical .rc-steps-item-title {
padding-right: 0;
}
.rc-steps-label-vertical .rc-steps-item-title:after {
display: none;
}
.rc-steps-label-vertical .rc-steps-item-description {
text-align: left;
}
.rc-steps-dot .rc-steps-item-tail {
width: 100%;
top: 1px;
margin: 0 0 0 50px;
padding: 0;
}
.rc-steps-dot .rc-steps-item-tail:after {
height: 3px;
}
.rc-steps-dot .rc-steps-item-icon {
padding-right: 0;
width: 5px;
height: 5px;
line-height: 5px;
border: 0;
margin-left: 48px;
}
.rc-steps-dot .rc-steps-item-icon .rc-steps-icon-dot {
float: left;
width: 100%;
height: 100%;
border-radius: 2.5px;
}
.rc-steps-dot .rc-steps-item-process .rc-steps-dot .rc-steps-item-icon {
top: -1px;
width: 7px;
height: 7px;
line-height: 7px;
}
.rc-steps-dot .rc-steps-item-process .rc-steps-dot .rc-steps-item-icon .rc-steps-icon-dot {
border-radius: 3.5px;
}
.rc-steps-navigation {
padding-top: 8px;
}
.rc-steps-navigation.rc-steps-horizontal .rc-steps-item-description {
max-width: 140px;
}
.rc-steps-navigation .rc-steps-item {
box-sizing: border-box;
text-align: center;
overflow: visible;
}
.rc-steps-navigation .rc-steps-item-container {
text-align: left;
padding-bottom: 8px;
outline: none;
}
.rc-steps-navigation .rc-steps-item-title {
max-width: 140px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.rc-steps-navigation .rc-steps-item-title:after {
display: none;
}
.rc-steps-navigation .rc-steps-item:last-child {
flex: 1;
}
.rc-steps-navigation .rc-steps-item:last-child:after {
display: none;
}
.rc-steps-navigation .rc-steps-item:after {
content: '';
display: inline-block;
width: 16px;
height: 16px;
border: 1px solid #ccc;
border-bottom: none;
border-left: none;
transform: rotate(45deg);
position: absolute;
top: 50%;
left: 100%;
margin-top: -12px;
margin-left: -8px;
}
.rc-steps-navigation .rc-steps-item-active .rc-steps-item-container {
padding-bottom: 5px;
border-bottom: 3px solid #108ee9;
}
.rc-steps-inline {
width: auto;
display: inline-flex;
}
.rc-steps-inline .rc-steps-item {
flex: none;
}
.rc-steps-inline .rc-steps-item-container {
padding: 9px 4px 0;
margin: 0 2px;
border-radius: 4px;
cursor: pointer;
}
.rc-steps-inline .rc-steps-item-container:hover {
background: rgba(0, 0, 0, 0.04);
}
.rc-steps-inline .rc-steps-item-container[role='button']:hover {
opacity: 1;
}
.rc-steps-inline .rc-steps-item-icon {
width: 6px;
height: 6px;
margin-left: calc(50% - 3px);
}
.rc-steps-inline .rc-steps-item-icon > .rc-steps-icon {
top: 0;
}
.rc-steps-inline .rc-steps-item-icon .rc-steps-icon-dot {
border-radius: 3px;
}
.rc-steps-inline .rc-steps-item-content {
width: auto;
margin-top: 7px;
}
.rc-steps-inline .rc-steps-item-title {
color: rgba(0, 0, 0, 0.25);
font-size: 12px;
line-height: 20px;
font-weight: normal;
margin-bottom: 2px;
}
.rc-steps-inline .rc-steps-item-description {
display: none;
}
.rc-steps-inline .rc-steps-item-tail {
margin-left: 0;
top: 11px;
}
.rc-steps-inline .rc-steps-item-tail:after {
height: 1px;
}
.rc-steps-inline .rc-steps-item:first-child .rc-steps-item-tail {
width: 50%;
margin-left: 50%;
}
.rc-steps-inline .rc-steps-item:last-child .rc-steps-item-tail {
display: block;
width: 50%;
}
.rc-steps-inline .rc-steps-item-finish .rc-steps-item-tail:after {
background-color: #e9e9e9;
}
.rc-steps-inline .rc-steps-item-finish .rc-steps-item-icon .rc-steps-icon .rc-steps-icon-dot {
background-color: #e9e9e9;
}
.rc-steps-inline .rc-steps-item-wait .rc-steps-item-icon .rc-steps-icon .rc-steps-icon-dot {
background-color: #fff;
border: 1px solid #e9e9e9;
}

28
node_modules/rc-steps/es/Step.d.ts generated vendored Normal file
View File

@@ -0,0 +1,28 @@
import * as React from 'react';
import type { Status, Icons } from './interface';
import type { StepIconRender, ProgressDotRender } from './Steps';
export interface StepProps {
prefixCls?: string;
className?: string;
style?: React.CSSProperties;
wrapperStyle?: React.CSSProperties;
iconPrefix?: string;
active?: boolean;
disabled?: boolean;
stepIndex?: number;
stepNumber?: number;
status?: Status;
title?: React.ReactNode;
subTitle?: React.ReactNode;
description?: React.ReactNode;
tailContent?: React.ReactNode;
icon?: React.ReactNode;
icons?: Icons;
onClick?: React.MouseEventHandler<HTMLDivElement>;
onStepClick?: (index: number) => void;
progressDot?: ProgressDotRender | boolean;
stepIcon?: StepIconRender;
render?: (stepItem: React.ReactElement) => React.ReactNode;
}
declare function Step(props: StepProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
export default Step;

141
node_modules/rc-steps/es/Step.js generated vendored Normal file
View File

@@ -0,0 +1,141 @@
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
var _excluded = ["className", "prefixCls", "style", "active", "status", "iconPrefix", "icon", "wrapperStyle", "stepNumber", "disabled", "description", "title", "subTitle", "progressDot", "stepIcon", "tailContent", "icons", "stepIndex", "onStepClick", "onClick", "render"];
/* eslint react/prop-types: 0 */
import * as React from 'react';
import classNames from 'classnames';
import KeyCode from "rc-util/es/KeyCode";
function isString(str) {
return typeof str === 'string';
}
function Step(props) {
var _classNames2;
var className = props.className,
prefixCls = props.prefixCls,
style = props.style,
active = props.active,
status = props.status,
iconPrefix = props.iconPrefix,
icon = props.icon,
wrapperStyle = props.wrapperStyle,
stepNumber = props.stepNumber,
disabled = props.disabled,
description = props.description,
title = props.title,
subTitle = props.subTitle,
progressDot = props.progressDot,
stepIcon = props.stepIcon,
tailContent = props.tailContent,
icons = props.icons,
stepIndex = props.stepIndex,
onStepClick = props.onStepClick,
onClick = props.onClick,
render = props.render,
restProps = _objectWithoutProperties(props, _excluded);
// ========================= Click ==========================
var clickable = !!onStepClick && !disabled;
var accessibilityProps = {};
if (clickable) {
accessibilityProps.role = 'button';
accessibilityProps.tabIndex = 0;
accessibilityProps.onClick = function (e) {
onClick === null || onClick === void 0 ? void 0 : onClick(e);
onStepClick(stepIndex);
};
accessibilityProps.onKeyDown = function (e) {
var which = e.which;
if (which === KeyCode.ENTER || which === KeyCode.SPACE) {
onStepClick(stepIndex);
}
};
}
// ========================= Render =========================
var renderIconNode = function renderIconNode() {
var _classNames;
var iconNode;
var iconClassName = classNames("".concat(prefixCls, "-icon"), "".concat(iconPrefix, "icon"), (_classNames = {}, _defineProperty(_classNames, "".concat(iconPrefix, "icon-").concat(icon), icon && isString(icon)), _defineProperty(_classNames, "".concat(iconPrefix, "icon-check"), !icon && status === 'finish' && (icons && !icons.finish || !icons)), _defineProperty(_classNames, "".concat(iconPrefix, "icon-cross"), !icon && status === 'error' && (icons && !icons.error || !icons)), _classNames));
var iconDot = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon-dot")
});
// `progressDot` enjoy the highest priority
if (progressDot) {
if (typeof progressDot === 'function') {
iconNode = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon")
}, progressDot(iconDot, {
index: stepNumber - 1,
status: status,
title: title,
description: description
}));
} else {
iconNode = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon")
}, iconDot);
}
} else if (icon && !isString(icon)) {
iconNode = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon")
}, icon);
} else if (icons && icons.finish && status === 'finish') {
iconNode = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon")
}, icons.finish);
} else if (icons && icons.error && status === 'error') {
iconNode = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon")
}, icons.error);
} else if (icon || status === 'finish' || status === 'error') {
iconNode = /*#__PURE__*/React.createElement("span", {
className: iconClassName
});
} else {
iconNode = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon")
}, stepNumber);
}
if (stepIcon) {
iconNode = stepIcon({
index: stepNumber - 1,
status: status,
title: title,
description: description,
node: iconNode
});
}
return iconNode;
};
var mergedStatus = status || 'wait';
var classString = classNames("".concat(prefixCls, "-item"), "".concat(prefixCls, "-item-").concat(mergedStatus), className, (_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefixCls, "-item-custom"), icon), _defineProperty(_classNames2, "".concat(prefixCls, "-item-active"), active), _defineProperty(_classNames2, "".concat(prefixCls, "-item-disabled"), disabled === true), _classNames2));
var stepItemStyle = _objectSpread({}, style);
var stepNode = /*#__PURE__*/React.createElement("div", _extends({}, restProps, {
className: classString,
style: stepItemStyle
}), /*#__PURE__*/React.createElement("div", _extends({
onClick: onClick
}, accessibilityProps, {
className: "".concat(prefixCls, "-item-container")
}), /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-item-tail")
}, tailContent), /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-item-icon")
}, renderIconNode()), /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-item-content")
}, /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-item-title")
}, title, subTitle && /*#__PURE__*/React.createElement("div", {
title: typeof subTitle === 'string' ? subTitle : undefined,
className: "".concat(prefixCls, "-item-subtitle")
}, subTitle)), description && /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-item-description")
}, description))));
if (render) {
stepNode = render(stepNode) || null;
}
return stepNode;
}
export default Step;

41
node_modules/rc-steps/es/Steps.d.ts generated vendored Normal file
View File

@@ -0,0 +1,41 @@
import React from 'react';
import type { Icons, Status } from './interface';
import type { StepProps } from './Step';
export declare type StepIconRender = (info: {
index: number;
status: Status;
title: React.ReactNode;
description: React.ReactNode;
node: React.ReactNode;
}) => React.ReactNode;
export declare type ProgressDotRender = (iconDot: any, info: {
index: number;
status: Status;
title: React.ReactNode;
description: React.ReactNode;
}) => React.ReactNode;
export interface StepsProps {
prefixCls?: string;
style?: React.CSSProperties;
className?: string;
children?: React.ReactNode;
direction?: 'horizontal' | 'vertical';
type?: 'default' | 'navigation' | 'inline';
labelPlacement?: 'horizontal' | 'vertical';
iconPrefix?: string;
status?: Status;
size?: 'default' | 'small';
current?: number;
progressDot?: ProgressDotRender | boolean;
stepIcon?: StepIconRender;
initial?: number;
icons?: Icons;
items?: StepProps[];
itemRender?: (item: StepProps, stepItem: React.ReactElement) => React.ReactNode;
onChange?: (current: number) => void;
}
declare function Steps(props: StepsProps): React.JSX.Element;
declare namespace Steps {
var Step: typeof import("./Step").default;
}
export default Steps;

103
node_modules/rc-steps/es/Steps.js generated vendored Normal file
View File

@@ -0,0 +1,103 @@
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
var _excluded = ["prefixCls", "style", "className", "children", "direction", "type", "labelPlacement", "iconPrefix", "status", "size", "current", "progressDot", "stepIcon", "initial", "icons", "onChange", "itemRender", "items"];
/* eslint react/no-did-mount-set-state: 0, react/prop-types: 0 */
import classNames from 'classnames';
import React from 'react';
import Step from "./Step";
function Steps(props) {
var _classNames;
var _props$prefixCls = props.prefixCls,
prefixCls = _props$prefixCls === void 0 ? 'rc-steps' : _props$prefixCls,
_props$style = props.style,
style = _props$style === void 0 ? {} : _props$style,
className = props.className,
children = props.children,
_props$direction = props.direction,
direction = _props$direction === void 0 ? 'horizontal' : _props$direction,
_props$type = props.type,
type = _props$type === void 0 ? 'default' : _props$type,
_props$labelPlacement = props.labelPlacement,
labelPlacement = _props$labelPlacement === void 0 ? 'horizontal' : _props$labelPlacement,
_props$iconPrefix = props.iconPrefix,
iconPrefix = _props$iconPrefix === void 0 ? 'rc' : _props$iconPrefix,
_props$status = props.status,
status = _props$status === void 0 ? 'process' : _props$status,
size = props.size,
_props$current = props.current,
current = _props$current === void 0 ? 0 : _props$current,
_props$progressDot = props.progressDot,
progressDot = _props$progressDot === void 0 ? false : _props$progressDot,
stepIcon = props.stepIcon,
_props$initial = props.initial,
initial = _props$initial === void 0 ? 0 : _props$initial,
icons = props.icons,
onChange = props.onChange,
itemRender = props.itemRender,
_props$items = props.items,
items = _props$items === void 0 ? [] : _props$items,
restProps = _objectWithoutProperties(props, _excluded);
var isNav = type === 'navigation';
var isInline = type === 'inline';
// inline type requires fixed progressDot direction size.
var mergedProgressDot = isInline || progressDot;
var mergedDirection = isInline ? 'horizontal' : direction;
var mergedSize = isInline ? undefined : size;
var adjustedLabelPlacement = mergedProgressDot ? 'vertical' : labelPlacement;
var classString = classNames(prefixCls, "".concat(prefixCls, "-").concat(mergedDirection), className, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-").concat(mergedSize), mergedSize), _defineProperty(_classNames, "".concat(prefixCls, "-label-").concat(adjustedLabelPlacement), mergedDirection === 'horizontal'), _defineProperty(_classNames, "".concat(prefixCls, "-dot"), !!mergedProgressDot), _defineProperty(_classNames, "".concat(prefixCls, "-navigation"), isNav), _defineProperty(_classNames, "".concat(prefixCls, "-inline"), isInline), _classNames));
var onStepClick = function onStepClick(next) {
if (onChange && current !== next) {
onChange(next);
}
};
var renderStep = function renderStep(item, index) {
var mergedItem = _objectSpread({}, item);
var stepNumber = initial + index;
// fix tail color
if (status === 'error' && index === current - 1) {
mergedItem.className = "".concat(prefixCls, "-next-error");
}
if (!mergedItem.status) {
if (stepNumber === current) {
mergedItem.status = status;
} else if (stepNumber < current) {
mergedItem.status = 'finish';
} else {
mergedItem.status = 'wait';
}
}
if (isInline) {
mergedItem.icon = undefined;
mergedItem.subTitle = undefined;
}
if (!mergedItem.render && itemRender) {
mergedItem.render = function (stepItem) {
return itemRender(mergedItem, stepItem);
};
}
return /*#__PURE__*/React.createElement(Step, _extends({}, mergedItem, {
active: stepNumber === current,
stepNumber: stepNumber + 1,
stepIndex: stepNumber,
key: stepNumber,
prefixCls: prefixCls,
iconPrefix: iconPrefix,
wrapperStyle: style,
progressDot: mergedProgressDot,
stepIcon: stepIcon,
icons: icons,
onStepClick: onChange && onStepClick
}));
};
return /*#__PURE__*/React.createElement("div", _extends({
className: classString,
style: style
}, restProps), items.filter(function (item) {
return item;
}).map(renderStep));
}
Steps.Step = Step;
export default Steps;

4
node_modules/rc-steps/es/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,4 @@
import Steps from './Steps';
import Step from './Step';
export { Step };
export default Steps;

4
node_modules/rc-steps/es/index.js generated vendored Normal file
View File

@@ -0,0 +1,4 @@
import Steps from "./Steps";
import Step from "./Step";
export { Step };
export default Steps;

6
node_modules/rc-steps/es/interface.d.ts generated vendored Normal file
View File

@@ -0,0 +1,6 @@
/// <reference types="react" />
export declare type Status = 'error' | 'process' | 'finish' | 'wait';
export interface Icons {
finish: React.ReactNode;
error: React.ReactNode;
}

1
node_modules/rc-steps/es/interface.js generated vendored Normal file
View File

@@ -0,0 +1 @@
export {};

28
node_modules/rc-steps/lib/Step.d.ts generated vendored Normal file
View File

@@ -0,0 +1,28 @@
import * as React from 'react';
import type { Status, Icons } from './interface';
import type { StepIconRender, ProgressDotRender } from './Steps';
export interface StepProps {
prefixCls?: string;
className?: string;
style?: React.CSSProperties;
wrapperStyle?: React.CSSProperties;
iconPrefix?: string;
active?: boolean;
disabled?: boolean;
stepIndex?: number;
stepNumber?: number;
status?: Status;
title?: React.ReactNode;
subTitle?: React.ReactNode;
description?: React.ReactNode;
tailContent?: React.ReactNode;
icon?: React.ReactNode;
icons?: Icons;
onClick?: React.MouseEventHandler<HTMLDivElement>;
onStepClick?: (index: number) => void;
progressDot?: ProgressDotRender | boolean;
stepIcon?: StepIconRender;
render?: (stepItem: React.ReactElement) => React.ReactNode;
}
declare function Step(props: StepProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
export default Step;

150
node_modules/rc-steps/lib/Step.js generated vendored Normal file
View File

@@ -0,0 +1,150 @@
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
var React = _interopRequireWildcard(require("react"));
var _classnames = _interopRequireDefault(require("classnames"));
var _KeyCode = _interopRequireDefault(require("rc-util/lib/KeyCode"));
var _excluded = ["className", "prefixCls", "style", "active", "status", "iconPrefix", "icon", "wrapperStyle", "stepNumber", "disabled", "description", "title", "subTitle", "progressDot", "stepIcon", "tailContent", "icons", "stepIndex", "onStepClick", "onClick", "render"];
/* eslint react/prop-types: 0 */
function isString(str) {
return typeof str === 'string';
}
function Step(props) {
var _classNames2;
var className = props.className,
prefixCls = props.prefixCls,
style = props.style,
active = props.active,
status = props.status,
iconPrefix = props.iconPrefix,
icon = props.icon,
wrapperStyle = props.wrapperStyle,
stepNumber = props.stepNumber,
disabled = props.disabled,
description = props.description,
title = props.title,
subTitle = props.subTitle,
progressDot = props.progressDot,
stepIcon = props.stepIcon,
tailContent = props.tailContent,
icons = props.icons,
stepIndex = props.stepIndex,
onStepClick = props.onStepClick,
onClick = props.onClick,
render = props.render,
restProps = (0, _objectWithoutProperties2.default)(props, _excluded);
// ========================= Click ==========================
var clickable = !!onStepClick && !disabled;
var accessibilityProps = {};
if (clickable) {
accessibilityProps.role = 'button';
accessibilityProps.tabIndex = 0;
accessibilityProps.onClick = function (e) {
onClick === null || onClick === void 0 ? void 0 : onClick(e);
onStepClick(stepIndex);
};
accessibilityProps.onKeyDown = function (e) {
var which = e.which;
if (which === _KeyCode.default.ENTER || which === _KeyCode.default.SPACE) {
onStepClick(stepIndex);
}
};
}
// ========================= Render =========================
var renderIconNode = function renderIconNode() {
var _classNames;
var iconNode;
var iconClassName = (0, _classnames.default)("".concat(prefixCls, "-icon"), "".concat(iconPrefix, "icon"), (_classNames = {}, (0, _defineProperty2.default)(_classNames, "".concat(iconPrefix, "icon-").concat(icon), icon && isString(icon)), (0, _defineProperty2.default)(_classNames, "".concat(iconPrefix, "icon-check"), !icon && status === 'finish' && (icons && !icons.finish || !icons)), (0, _defineProperty2.default)(_classNames, "".concat(iconPrefix, "icon-cross"), !icon && status === 'error' && (icons && !icons.error || !icons)), _classNames));
var iconDot = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon-dot")
});
// `progressDot` enjoy the highest priority
if (progressDot) {
if (typeof progressDot === 'function') {
iconNode = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon")
}, progressDot(iconDot, {
index: stepNumber - 1,
status: status,
title: title,
description: description
}));
} else {
iconNode = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon")
}, iconDot);
}
} else if (icon && !isString(icon)) {
iconNode = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon")
}, icon);
} else if (icons && icons.finish && status === 'finish') {
iconNode = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon")
}, icons.finish);
} else if (icons && icons.error && status === 'error') {
iconNode = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon")
}, icons.error);
} else if (icon || status === 'finish' || status === 'error') {
iconNode = /*#__PURE__*/React.createElement("span", {
className: iconClassName
});
} else {
iconNode = /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-icon")
}, stepNumber);
}
if (stepIcon) {
iconNode = stepIcon({
index: stepNumber - 1,
status: status,
title: title,
description: description,
node: iconNode
});
}
return iconNode;
};
var mergedStatus = status || 'wait';
var classString = (0, _classnames.default)("".concat(prefixCls, "-item"), "".concat(prefixCls, "-item-").concat(mergedStatus), className, (_classNames2 = {}, (0, _defineProperty2.default)(_classNames2, "".concat(prefixCls, "-item-custom"), icon), (0, _defineProperty2.default)(_classNames2, "".concat(prefixCls, "-item-active"), active), (0, _defineProperty2.default)(_classNames2, "".concat(prefixCls, "-item-disabled"), disabled === true), _classNames2));
var stepItemStyle = (0, _objectSpread2.default)({}, style);
var stepNode = /*#__PURE__*/React.createElement("div", (0, _extends2.default)({}, restProps, {
className: classString,
style: stepItemStyle
}), /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
onClick: onClick
}, accessibilityProps, {
className: "".concat(prefixCls, "-item-container")
}), /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-item-tail")
}, tailContent), /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-item-icon")
}, renderIconNode()), /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-item-content")
}, /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-item-title")
}, title, subTitle && /*#__PURE__*/React.createElement("div", {
title: typeof subTitle === 'string' ? subTitle : undefined,
className: "".concat(prefixCls, "-item-subtitle")
}, subTitle)), description && /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-item-description")
}, description))));
if (render) {
stepNode = render(stepNode) || null;
}
return stepNode;
}
var _default = Step;
exports.default = _default;

41
node_modules/rc-steps/lib/Steps.d.ts generated vendored Normal file
View File

@@ -0,0 +1,41 @@
import React from 'react';
import type { Icons, Status } from './interface';
import type { StepProps } from './Step';
export declare type StepIconRender = (info: {
index: number;
status: Status;
title: React.ReactNode;
description: React.ReactNode;
node: React.ReactNode;
}) => React.ReactNode;
export declare type ProgressDotRender = (iconDot: any, info: {
index: number;
status: Status;
title: React.ReactNode;
description: React.ReactNode;
}) => React.ReactNode;
export interface StepsProps {
prefixCls?: string;
style?: React.CSSProperties;
className?: string;
children?: React.ReactNode;
direction?: 'horizontal' | 'vertical';
type?: 'default' | 'navigation' | 'inline';
labelPlacement?: 'horizontal' | 'vertical';
iconPrefix?: string;
status?: Status;
size?: 'default' | 'small';
current?: number;
progressDot?: ProgressDotRender | boolean;
stepIcon?: StepIconRender;
initial?: number;
icons?: Icons;
items?: StepProps[];
itemRender?: (item: StepProps, stepItem: React.ReactElement) => React.ReactNode;
onChange?: (current: number) => void;
}
declare function Steps(props: StepsProps): React.JSX.Element;
declare namespace Steps {
var Step: typeof import("./Step").default;
}
export default Steps;

111
node_modules/rc-steps/lib/Steps.js generated vendored Normal file
View File

@@ -0,0 +1,111 @@
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
var _classnames = _interopRequireDefault(require("classnames"));
var _react = _interopRequireDefault(require("react"));
var _Step = _interopRequireDefault(require("./Step"));
var _excluded = ["prefixCls", "style", "className", "children", "direction", "type", "labelPlacement", "iconPrefix", "status", "size", "current", "progressDot", "stepIcon", "initial", "icons", "onChange", "itemRender", "items"];
/* eslint react/no-did-mount-set-state: 0, react/prop-types: 0 */
function Steps(props) {
var _classNames;
var _props$prefixCls = props.prefixCls,
prefixCls = _props$prefixCls === void 0 ? 'rc-steps' : _props$prefixCls,
_props$style = props.style,
style = _props$style === void 0 ? {} : _props$style,
className = props.className,
children = props.children,
_props$direction = props.direction,
direction = _props$direction === void 0 ? 'horizontal' : _props$direction,
_props$type = props.type,
type = _props$type === void 0 ? 'default' : _props$type,
_props$labelPlacement = props.labelPlacement,
labelPlacement = _props$labelPlacement === void 0 ? 'horizontal' : _props$labelPlacement,
_props$iconPrefix = props.iconPrefix,
iconPrefix = _props$iconPrefix === void 0 ? 'rc' : _props$iconPrefix,
_props$status = props.status,
status = _props$status === void 0 ? 'process' : _props$status,
size = props.size,
_props$current = props.current,
current = _props$current === void 0 ? 0 : _props$current,
_props$progressDot = props.progressDot,
progressDot = _props$progressDot === void 0 ? false : _props$progressDot,
stepIcon = props.stepIcon,
_props$initial = props.initial,
initial = _props$initial === void 0 ? 0 : _props$initial,
icons = props.icons,
onChange = props.onChange,
itemRender = props.itemRender,
_props$items = props.items,
items = _props$items === void 0 ? [] : _props$items,
restProps = (0, _objectWithoutProperties2.default)(props, _excluded);
var isNav = type === 'navigation';
var isInline = type === 'inline';
// inline type requires fixed progressDot direction size.
var mergedProgressDot = isInline || progressDot;
var mergedDirection = isInline ? 'horizontal' : direction;
var mergedSize = isInline ? undefined : size;
var adjustedLabelPlacement = mergedProgressDot ? 'vertical' : labelPlacement;
var classString = (0, _classnames.default)(prefixCls, "".concat(prefixCls, "-").concat(mergedDirection), className, (_classNames = {}, (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-").concat(mergedSize), mergedSize), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-label-").concat(adjustedLabelPlacement), mergedDirection === 'horizontal'), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-dot"), !!mergedProgressDot), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-navigation"), isNav), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-inline"), isInline), _classNames));
var onStepClick = function onStepClick(next) {
if (onChange && current !== next) {
onChange(next);
}
};
var renderStep = function renderStep(item, index) {
var mergedItem = (0, _objectSpread2.default)({}, item);
var stepNumber = initial + index;
// fix tail color
if (status === 'error' && index === current - 1) {
mergedItem.className = "".concat(prefixCls, "-next-error");
}
if (!mergedItem.status) {
if (stepNumber === current) {
mergedItem.status = status;
} else if (stepNumber < current) {
mergedItem.status = 'finish';
} else {
mergedItem.status = 'wait';
}
}
if (isInline) {
mergedItem.icon = undefined;
mergedItem.subTitle = undefined;
}
if (!mergedItem.render && itemRender) {
mergedItem.render = function (stepItem) {
return itemRender(mergedItem, stepItem);
};
}
return /*#__PURE__*/_react.default.createElement(_Step.default, (0, _extends2.default)({}, mergedItem, {
active: stepNumber === current,
stepNumber: stepNumber + 1,
stepIndex: stepNumber,
key: stepNumber,
prefixCls: prefixCls,
iconPrefix: iconPrefix,
wrapperStyle: style,
progressDot: mergedProgressDot,
stepIcon: stepIcon,
icons: icons,
onStepClick: onChange && onStepClick
}));
};
return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({
className: classString,
style: style
}, restProps), items.filter(function (item) {
return item;
}).map(renderStep));
}
Steps.Step = _Step.default;
var _default = Steps;
exports.default = _default;

4
node_modules/rc-steps/lib/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,4 @@
import Steps from './Steps';
import Step from './Step';
export { Step };
export default Steps;

17
node_modules/rc-steps/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "Step", {
enumerable: true,
get: function get() {
return _Step.default;
}
});
exports.default = void 0;
var _Steps = _interopRequireDefault(require("./Steps"));
var _Step = _interopRequireDefault(require("./Step"));
var _default = _Steps.default;
exports.default = _default;

6
node_modules/rc-steps/lib/interface.d.ts generated vendored Normal file
View File

@@ -0,0 +1,6 @@
/// <reference types="react" />
export declare type Status = 'error' | 'process' | 'finish' | 'wait';
export interface Icons {
finish: React.ReactNode;
error: React.ReactNode;
}

5
node_modules/rc-steps/lib/interface.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});

94
node_modules/rc-steps/package.json generated vendored Normal file
View File

@@ -0,0 +1,94 @@
{
"name": "rc-steps",
"version": "6.0.1",
"description": "steps ui component for react",
"keywords": [
"react",
"react-component",
"react-steps"
],
"homepage": "http://github.com/react-component/steps",
"bugs": {
"url": "http://github.com/react-component/steps/issues"
},
"repository": {
"type": "git",
"url": " git+ssh://git@github.com/react-component/steps.git"
},
"license": "MIT",
"maintainers": [
{
"name": "afc163",
"email": "afc163@gmail.com"
}
],
"main": "./lib/index",
"module": "./es/index",
"types": "./lib/index.d.ts",
"files": [
"assets/*.css",
"dist",
"es",
"lib"
],
"scripts": {
"compile": "father build && lessc assets/index.less assets/index.css",
"coverage": "umi-test --coverage",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d .doc",
"gh-pages": "npm run docs:build && npm run docs:deploy",
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
"prepare": "husky install",
"prepublishOnly": "npm run compile && np --yolo --no-publish",
"prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"postpublish": "npm run gh-pages",
"start": "dumi dev",
"test": "umi-test"
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts,md,json}": [
"prettier --write"
]
},
"dependencies": {
"@babel/runtime": "^7.16.7",
"classnames": "^2.2.3",
"rc-util": "^5.16.1"
},
"devDependencies": {
"@rc-component/father-plugin": "^1.0.1",
"@types/classnames": "^2.2.9",
"@types/enzyme": "^3.10.11",
"@types/jest": "^26.0.5",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"@umijs/fabric": "^2.10.0",
"cross-env": "^7.0.0",
"dumi": "^1.1.38",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.1",
"enzyme-to-json": "^3.1.2",
"eslint": "^7.1.0",
"father": "^4",
"gh-pages": "^4.0.0",
"husky": "^8.0.1",
"less": "^3.11.2",
"lint-staged": "^13.0.3",
"np": "^7.6.0",
"prettier": "^2.5.1",
"querystring": "^0.2.0",
"rc-dialog": "8.x",
"rc-tools": "^9.6.1",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"typescript": "^4.5.4",
"umi-test": "^1.9.7"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"engines": {
"node": ">=8.x"
}
}