@giteeteam/apps-team-components 1.3.1 → 1.3.2-alpha.1
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/README.md +0 -3
- package/dist/components/common/overflow-tooltip/SimpleOverflowToolTip.js +3 -3
- package/dist/components/common/user-field/UserAvatar.js +2 -2
- package/dist/components/fields/status/Cell.js +2 -2
- package/dist/components/fields/status/ReadView.js +2 -2
- package/dist/components/fields/status/SelectFlowHandler.js +3 -3
- package/dist/icons/empty-icon/workspace-empty.svg.js +238 -2
- package/dist/icons/index.js +14 -14
- package/dist/icons/svg/ArrowBack.svg.js +16 -2
- package/dist/icons/svg/Done.svg.js +16 -2
- package/dist/icons/svg/DottedCircle.svg.js +14 -2
- package/dist/icons/svg/HollowCircle.svg.js +14 -2
- package/dist/icons/svg/Search.svg.js +16 -2
- package/dist/icons/svg/Workflow.svg.js +14 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { cloneElement } from 'react';
|
|
3
3
|
import { ClassNames } from '@emotion/react';
|
|
4
4
|
import { simpleTooltipStyle } from './style/index.js';
|
|
5
5
|
|
|
6
6
|
const SimpleOverflowToolTip = ({ title, children, className }) => {
|
|
7
|
-
const contentRef =
|
|
7
|
+
const contentRef = React__default.useRef();
|
|
8
8
|
return (jsx(ClassNames, { children: ({ cx, css }) => {
|
|
9
9
|
return cloneElement(jsx("span", { children: children }), {
|
|
10
10
|
ref: contentRef,
|
|
@@ -13,6 +13,6 @@ const SimpleOverflowToolTip = ({ title, children, className }) => {
|
|
|
13
13
|
});
|
|
14
14
|
} }));
|
|
15
15
|
};
|
|
16
|
-
var SimpleOverflowToolTip$1 =
|
|
16
|
+
var SimpleOverflowToolTip$1 = React__default.memo(SimpleOverflowToolTip);
|
|
17
17
|
|
|
18
18
|
export { SimpleOverflowToolTip$1 as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useMemo } from 'react';
|
|
3
3
|
import { ClassNames } from '@emotion/react';
|
|
4
4
|
import { getNameBadge, getBackgroundColor } from '../utils.js';
|
|
5
5
|
import { avatarItemStyle, avatarStyle, defaultAvatarStyle } from './style/index.js';
|
|
6
6
|
|
|
7
|
-
const UserAvatar =
|
|
7
|
+
const UserAvatar = React__default.memo(({ user, className }) => {
|
|
8
8
|
const avatarUrl = useMemo(() => { var _a; return (_a = user === null || user === void 0 ? void 0 : user.avatar) === null || _a === void 0 ? void 0 : _a.url; }, [user]);
|
|
9
9
|
const displayName = useMemo(() => (user === null || user === void 0 ? void 0 : user.name) || (user === null || user === void 0 ? void 0 : user.nickname) || (user === null || user === void 0 ? void 0 : user.username), [user]);
|
|
10
10
|
const userBadge = useMemo(() => getNameBadge(displayName), [displayName]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState, useEffect, useCallback } from 'react';
|
|
3
3
|
import StatusReadView from './ReadView.js';
|
|
4
4
|
import Transition from './Transition.js';
|
|
5
5
|
|
|
6
|
-
const StatusCell =
|
|
6
|
+
const StatusCell = React__default.memo(props => {
|
|
7
7
|
const { overlayClsName = '', itemId, readonly, value, workspaceId, itemTypeId, onChange } = props;
|
|
8
8
|
const [showData, setShowData] = useState(value);
|
|
9
9
|
useEffect(() => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useMemo } from 'react';
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { WorkFlowStatusColor } from '../../../lib/global.js';
|
|
5
5
|
import EmptyField from '../../common/EmptyField.js';
|
|
6
6
|
import BaseOverflowTooltip from '../../common/overflow-tooltip/BaseOverflowTooltip.js';
|
|
7
7
|
import { readViewWrapper } from './style/index.js';
|
|
8
8
|
|
|
9
|
-
const StatusReadView =
|
|
9
|
+
const StatusReadView = React__default.memo(({ value: showData, readonly }) => {
|
|
10
10
|
const showValue = useMemo(() => showData === null || showData === void 0 ? void 0 : showData.name, [showData]);
|
|
11
11
|
const style = useMemo(() => {
|
|
12
12
|
var _a, _b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useEffect, useCallback, memo } from 'react';
|
|
3
3
|
import { css, ClassNames } from '@emotion/react';
|
|
4
4
|
import { message, Input, Spin, Button } from 'antd';
|
|
5
5
|
import { debounce, cloneDeep } from 'lodash-es';
|
|
@@ -11,8 +11,8 @@ import { overflowStyle, tooltipStyle, overflowStyleText, headerFlowStyle, iconSt
|
|
|
11
11
|
|
|
12
12
|
const SelectFlowHandler = ({ itemId, task, onBack, users, loading, loadingUser, fetchUsers, handleTransition, }) => {
|
|
13
13
|
var _a, _b, _c;
|
|
14
|
-
const [selectedUsers, setSelectedUsers] =
|
|
15
|
-
const [selectedUserIds, setSelectedUserIds] =
|
|
14
|
+
const [selectedUsers, setSelectedUsers] = React__default.useState([]);
|
|
15
|
+
const [selectedUserIds, setSelectedUserIds] = React__default.useState([]);
|
|
16
16
|
useEffect(() => {
|
|
17
17
|
fetchUsers(itemId, task === null || task === void 0 ? void 0 : task.targetId);
|
|
18
18
|
}, [itemId, task === null || task === void 0 ? void 0 : task.targetId, fetchUsers]);
|
|
@@ -1,3 +1,239 @@
|
|
|
1
|
-
var img = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3csvg width='400px' height='115px' viewBox='0 0 400 115' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e %3ctitle%3eworkspace-empty.3a64bed039f99913d6cc%3c/title%3e %3cdefs%3e %3clinearGradient x1='47.481744%25' y1='49.5421896%25' x2='100%25' y2='54.1328125%25' id='linearGradient-1'%3e %3cstop stop-color='%23FBFBFC' offset='0%25'%3e%3c/stop%3e %3cstop stop-color='%23F5F6F8' offset='100%25'%3e%3c/stop%3e %3c/linearGradient%3e %3crect id='path-2' x='0' y='0' width='400' height='115' rx='4'%3e%3c/rect%3e %3crect id='path-4' x='0' y='0' width='400' height='115' rx='4'%3e%3c/rect%3e %3crect id='path-6' x='0' y='0' width='400' height='115' rx='4'%3e%3c/rect%3e %3crect id='path-8' x='0' y='0' width='48' height='48' rx='4'%3e%3c/rect%3e %3crect id='path-10' x='0' y='0' width='48' height='48' rx='4'%3e%3c/rect%3e %3crect id='path-12' x='0' y='0' width='48' height='48' rx='4'%3e%3c/rect%3e %3crect id='path-14' x='0' y='0' width='48' height='48' rx='4'%3e%3c/rect%3e %3crect id='path-16' x='0' y='0' width='400' height='115' rx='4'%3e%3c/rect%3e %3crect id='path-18' x='0' y='0' width='400' height='115' rx='4'%3e%3c/rect%3e %3crect id='path-20' x='0' y='0' width='400' height='115' rx='4'%3e%3c/rect%3e %3c/defs%3e %3cg id='%e9%a1%b5%e9%9d%a2-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='workspace-empty.3a64bed039f99913d6cc'%3e %3cg id='%e7%9f%a9%e5%bd%a2' fill='url(%23linearGradient-1)' fill-rule='nonzero'%3e %3crect id='path-2' x='0' y='0' width='400' height='115' rx='4'%3e%3c/rect%3e %3c/g%3e %3cg id='%e6%98%9f%e5%bd%a2%e5%a4%87%e4%bb%bd-Clipped'%3e %3cmask id='mask-3' fill='white'%3e %3cuse xlink:href='%23path-2'%3e%3c/use%3e %3c/mask%3e %3cg id='path-2'%3e%3c/g%3e %3cpath d='M292.598787%2c17.7034229 C294.992232%2c17.5906856 297.357105%2c18.270801 299.327297%2c19.6384788 L331.1475%2c41.7275792 L367.333584%2c28.0398785 C372.960111%2c25.9115958 379.25124%2c28.7535477 381.385214%2c34.3875556 C382.234975%2c36.6310468 382.322445%2c39.0913497 381.634086%2c41.3875799 L370.516522%2c78.4735583 L394.751233%2c108.704596 C398.519455%2c113.405181 397.770822%2c120.267991 393.079111%2c124.033111 C391.210848%2c125.532403 388.900035%2c126.372838 386.504412%2c126.424308 L347.813177%2c127.255603 L326.604968%2c159.627112 C323.307332%2c164.660516 316.553521%2c166.060014 311.51991%2c162.752979 C309.5155%2c161.4361 307.999868%2c159.495215 307.207651%2c157.230795 L294.412717%2c120.658586 L257.070613%2c110.434241 C251.264338%2c108.844471 247.838887%2c102.846598 249.419654%2c97.0376174 C250.049124%2c94.7244508 251.423226%2c92.684482 253.329232%2c91.2335229 L284.112762%2c67.7993602 L282.242281%2c29.108858 C281.951442%2c23.0929229 286.588209%2c17.9865353 292.598787%2c17.7034229 Z' id='%e6%98%9f%e5%bd%a2%e5%a4%87%e4%bb%bd' fill-opacity='0.02' fill='%23091940' fill-rule='nonzero' mask='url(%23mask-3)'%3e%3c/path%3e %3c/g%3e %3cg id='%e6%98%9f%e5%bd%a2%e5%a4%87%e4%bb%bd-3-Clipped'%3e %3cmask id='mask-5' fill='white'%3e %3cuse xlink:href='%23path-4'%3e%3c/use%3e %3c/mask%3e %3cg id='path-2'%3e%3c/g%3e %3cpath d='M159.680521%2c-70.5483431 C161.145694%2c-68.6524115 161.945011%2c-66.3251228 161.954731%2c-63.9267677 L162.111718%2c-25.1913961 L194.079511%2c-3.40043418 C199.050141%2c-0.0121861498 200.330594%2c6.77128186 196.939482%2c11.7508656 C195.589125%2c13.7337622 193.623933%2c15.2165857 191.348145%2c15.9697785 L154.592317%2c28.1344459 L143.72896%2c65.3261699 C142.03983%2c71.1090616 135.988747%2c74.4321628 130.213486%2c72.7485236 C127.913747%2c72.0780896 125.899874%2c70.6672362 124.483639%2c68.7343797 L101.610302%2c37.5171863 L62.9285853%2c38.7119738 C56.9140161%2c38.8977498 51.8937878%2c34.1680711 51.7155914%2c28.1479409 C51.6446326%2c25.7506935 52.3651817%2c23.3959144 53.7656891%2c21.4481509 L76.3850163%2c-10.0098035 L63.3417585%2c-46.4631078 C61.3136796%2c-52.131184 64.2620915%2c-58.3773872 69.9272209%2c-60.4143931 C72.1831052%2c-61.2255396 74.6423014%2c-61.2700197 76.9240976%2c-60.5409472 L113.776948%2c-48.7658386 L144.397488%2c-72.4900075 C149.158635%2c-76.1788472 156.001083%2c-75.3095342 159.680521%2c-70.5483431 Z' id='%e6%98%9f%e5%bd%a2%e5%a4%87%e4%bb%bd-3' fill-opacity='0.02' fill='%23091940' fill-rule='nonzero' opacity='0.802641369' mask='url(%23mask-5)'%3e%3c/path%3e %3c/g%3e %3cg id='%e7%bc%ba%e7%9c%81%e5%a4%b4%e5%83%8f-Clipped'%3e %3cmask id='mask-7' fill='white'%3e %3cuse xlink:href='%23path-6'%3e%3c/use%3e %3c/mask%3e %3cg id='path-2'%3e%3c/g%3e %3cg id='%e7%bc%ba%e7%9c%81%e5%a4%b4%e5%83%8f' opacity='0.9' mask='url(%23mask-7)'%3e %3cg transform='translate(24.000000%2c 18.000000)' id='%e7%bc%96%e7%bb%84'%3e %3cg id='%e7%9f%a9%e5%bd%a2' fill='%23B0D6FF'%3e %3crect id='path-4' x='0' y='0' width='48' height='48' rx='4'%3e%3c/rect%3e %3c/g%3e %3cg id='%e7%9f%a9%e5%bd%a2%e5%a4%87%e4%bb%bd-5-Clipped'%3e %3cmask id='mask-9' fill='white'%3e %3cuse xlink:href='%23path-8'%3e%3c/use%3e %3c/mask%3e %3cg id='path-4'%3e%3c/g%3e %3crect id='%e7%9f%a9%e5%bd%a2%e5%a4%87%e4%bb%bd-5' fill='%233683FF' mask='url(%23mask-9)' x='4' y='39' width='13' height='4' rx='2'%3e%3c/rect%3e %3c/g%3e %3cg id='%e7%9f%a9%e5%bd%a2%e5%a4%87%e4%bb%bd-6-Clipped'%3e %3cmask id='mask-11' fill='white'%3e %3cuse xlink:href='%23path-10'%3e%3c/use%3e %3c/mask%3e %3cg id='path-4'%3e%3c/g%3e %3crect id='%e7%9f%a9%e5%bd%a2%e5%a4%87%e4%bb%bd-6' fill='%2387BDFF' mask='url(%23mask-11)' x='4' y='32' width='13' height='4' rx='2'%3e%3c/rect%3e %3c/g%3e %3cg id='1.%e9%80%9a%e7%94%a8/2.%e5%9b%be%e6%a0%87/2.%e5%a1%ab%e5%85%85/Star-Clipped'%3e %3cmask id='mask-13' fill='white'%3e %3cuse xlink:href='%23path-12'%3e%3c/use%3e %3c/mask%3e %3cg id='path-4'%3e%3c/g%3e %3cg id='1.%e9%80%9a%e7%94%a8/2.%e5%9b%be%e6%a0%87/2.%e5%a1%ab%e5%85%85/Star' mask='url(%23mask-13)'%3e %3cg transform='translate(4.215309%2c -13.220563)' id='Grid'%3e %3cg transform='translate(31.440231%2c 31.322669) rotate(22.000000) translate(-31.440231%2c -31.322669) translate(7.227479%2c 7.322669)' id='%e7%bc%96%e7%bb%84' fill-rule='nonzero'%3e %3crect id='%e7%9f%a9%e5%bd%a2' fill='black' opacity='0' x='6.72379273e-16' y='4.33691064e-16' width='48' height='48'%3e%3c/rect%3e %3cpath d='M29.2330685%2c6.04617794 C29.8247063%2c6.33816866 30.3035889%2c6.81705122 30.5955796%2c7.40868904 L35.3114655%2c16.9641177 L45.8565071%2c18.4964019 C47.4961417%2c18.7346547 48.632186%2c20.2569833 48.3939332%2c21.8966179 C48.2990596%2c22.549529 47.9915981%2c23.1529562 47.5191472%2c23.613482 L39.8886834%2c31.0513459 L41.6899916%2c41.5537783 C41.9700746%2c43.1867876 40.8733111%2c44.7376554 39.2403018%2c45.0177384 C38.5900289%2c45.1292689 37.9211247%2c45.0233249 37.3371432%2c44.7163077 L27.9053713%2c39.7577318 L18.4735994%2c44.7163077 C17.0070657%2c45.4873101 15.1931842%2c44.9234706 14.4221818%2c43.4569368 C14.1151646%2c42.8729554 14.0092206%2c42.2040512 14.1207511%2c41.5537783 L15.9220592%2c31.0513459 L8.29159549%2c23.613482 C7.10514475%2c22.4569784 7.08086783%2c20.5576386 8.23737147%2c19.3711879 C8.69789728%2c18.898737 9.30132452%2c18.5912754 9.95423561%2c18.4964019 L20.4992772%2c16.9641177 L25.2151631%2c7.40868904 C25.94843%2c5.92292806 27.7473075%2c5.31291106 29.2330685%2c6.04617794 Z' id='%e6%98%9f%e5%bd%a2%e5%a4%87%e4%bb%bd-2' fill='%23FFBF36'%3e%3c/path%3e %3cpath d='M25.3276971%2c4.38844616 C25.9193349%2c4.68043687 26.3982175%2c5.15931944 26.6902082%2c5.75095725 L31.4060942%2c15.3063859 L41.9511357%2c16.8386701 C43.5907703%2c17.076923 44.7268147%2c18.5992515 44.4885618%2c20.2388861 C44.3936883%2c20.8917972 44.0862268%2c21.4952244 43.6137759%2c21.9557502 L35.9833121%2c29.3936141 L37.7846203%2c39.8960465 C38.0647033%2c41.5290558 36.9679398%2c43.0799236 35.3349305%2c43.3600066 C34.6846576%2c43.4715372 34.0157533%2c43.3655931 33.4317719%2c43.0585759 L24%2c38.1 L14.5682281%2c43.0585759 C13.1016943%2c43.8295784 11.2878129%2c43.2657388 10.5168105%2c41.799205 C10.2097932%2c41.2152236 10.1038492%2c40.5463194 10.2153797%2c39.8960465 L12.0166879%2c29.3936141 L4.38622414%2c21.9557502 C3.19977341%2c20.7992466 3.17549649%2c18.8999068 4.33200013%2c17.7134561 C4.79252594%2c17.2410052 5.39595317%2c16.9335436 6.04886427%2c16.8386701 L16.5939058%2c15.3063859 L21.3097918%2c5.75095725 C22.0430586%2c4.26519627 23.8419362%2c3.65517928 25.3276971%2c4.38844616 Z' id='%e6%98%9f%e5%bd%a2%e5%a4%87%e4%bb%bd' fill='%23FFE136'%3e%3c/path%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e %3cg id='collect-Clipped'%3e %3cmask id='mask-15' fill='white'%3e %3cuse xlink:href='%23path-14'%3e%3c/use%3e %3c/mask%3e %3cg id='path-4'%3e%3c/g%3e %3ctext id='collect' stroke='white' stroke-width='0.3' fill='white' fill-rule='nonzero' mask='url(%23mask-15)' font-family='BebasKai%2c Bebas Kai' font-size='13' font-weight='normal'%3e %3ctspan x='6.16462841' y='24.2440033'%3ecollect%3c/tspan%3e %3c/text%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e %3cg id='%e7%9f%a9%e5%bd%a2-Clipped'%3e %3cmask id='mask-17' fill='white'%3e %3cuse xlink:href='%23path-16'%3e%3c/use%3e %3c/mask%3e %3cg id='path-2'%3e%3c/g%3e %3crect id='%e7%9f%a9%e5%bd%a2' fill-opacity='0.04' fill='%23091940' fill-rule='nonzero' mask='url(%23mask-17)' x='24' y='80' width='352' height='1'%3e%3c/rect%3e %3c/g%3e %3cg id='TEAM-Clipped'%3e %3cmask id='mask-19' fill='white'%3e %3cuse xlink:href='%23path-18'%3e%3c/use%3e %3c/mask%3e %3cg id='path-2'%3e%3c/g%3e %3cg id='TEAM' mask='url(%23mask-19)'%3e %3cg transform='translate(50.204000%2c 93.432000)' id='%e7%bc%96%e7%bb%84'%3e %3cg transform='translate(0.000000%2c -0.000000)'%3e %3cpolygon id='%e8%b7%af%e5%be%84' fill='%23B5BAC5' fill-rule='nonzero' points='0 0 0 0.852 3.024 0.852 3.024 8.568 3.996 8.568 3.996 0.852 7.02 0.852 7.02 0'%3e%3c/polygon%3e %3cpolygon id='%e8%b7%af%e5%be%84' fill='%23B5BAC5' fill-rule='nonzero' points='8.088 0 8.088 8.568 14.364 8.568 14.364 7.716 9.072 7.716 9.072 4.572 13.872 4.572 13.872 3.72 9.072 3.72 9.072 0.852 14.16 0.852 14.16 0'%3e%3c/polygon%3e %3cpath d='M18.24%2c0 L14.868%2c8.568 L15.924%2c8.568 L16.836%2c6.168 L20.772%2c6.168 L21.684%2c8.568 L22.752%2c8.568 L19.38%2c0 L18.24%2c0 Z M17.148%2c5.34 L18.792%2c1.056 L18.84%2c1.056 L20.46%2c5.34 L17.148%2c5.34 Z' id='%e5%bd%a2%e7%8a%b6' fill='%23B5BAC5' fill-rule='nonzero'%3e%3c/path%3e %3cpolygon id='%e8%b7%af%e5%be%84' fill='%23B5BAC5' fill-rule='nonzero' points='23.616 0 23.616 8.568 24.6 8.568 24.6 1.752 24.636 1.752 27.6 8.568 28.488 8.568 31.452 1.752 31.488 1.752 31.488 8.568 32.472 8.568 32.472 0 31.248 0 28.068 7.308 28.032 7.308 24.84 0'%3e%3c/polygon%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e %3cg id='4.%e6%95%b0%e6%8d%ae%e5%b1%95%e7%a4%ba/6.%e5%a4%b4%e5%83%8f/1.%e7%94%a8%e6%88%b7%e5%a4%b4%e5%83%8f/20px/%e7%a9%ba-Clipped'%3e %3cmask id='mask-21' fill='white'%3e %3cuse xlink:href='%23path-20'%3e%3c/use%3e %3c/mask%3e %3cg id='path-2'%3e%3c/g%3e %3cg id='4.%e6%95%b0%e6%8d%ae%e5%b1%95%e7%a4%ba/6.%e5%a4%b4%e5%83%8f/1.%e7%94%a8%e6%88%b7%e5%a4%b4%e5%83%8f/20px/%e7%a9%ba' mask='url(%23mask-21)'%3e %3cg transform='translate(24.000000%2c 88.000000)' id='DottedCircle%e5%a4%87%e4%bb%bd'%3e %3crect id='%e7%9f%a9%e5%bd%a2' fill='%23D8D8D8' fill-rule='nonzero' opacity='0' x='0' y='0' width='20' height='20'%3e%3c/rect%3e %3cpath d='M7.07891331%2c18.3039283 C7.97314885%2c18.6184857 8.91733618%2c18.7869611 9.88550532%2c18.7992725 L9.87025%2c19.998875 L9.83463172%2c19.9986603 C8.73062723%2c19.9807605 7.67011309%2c19.7839545 6.68081777%2c19.4359706 L7.07891331%2c18.3039283 Z M13.7365802%2c17.9699241 L14.2468059%2c19.0560502 C13.2820525%2c19.5092527 12.2330763%2c19.8128308 11.1297747%2c19.9368872 L10.995676%2c18.7444034 C11.9524887%2c18.63682 12.8756054%2c18.3743749 13.7365802%2c17.9699241 Z M3.75780145%2c16.2028189 C4.43226036%2c16.8815293 5.2126948%2c17.4471153 6.06770168%2c17.8749984 L5.53059537%2c18.948086 C4.55401167%2c18.459351 3.66858303%2c17.8154473 2.9066311%2c17.0486966 L3.75780145%2c16.2028189 Z M16.8310118%2c15.5482354 L17.762016%2c16.3053558 C17.0778306%2c17.146574 16.2596347%2c17.8744307 15.3399567%2c18.4563979 L14.6982862%2c17.4423669 C15.5063705%2c16.9310153 16.2273247%2c16.2904676 16.8310118%2c15.5482354 Z M1.6782155%2c12.8698151 C1.99005854%2c13.7742788 2.44834873%2c14.6204237 3.03293901%2c15.3766691 L2.08352915%2c16.1105771 C1.42538909%2c15.259185 0.901540672%2c14.298707 0.543727418%2c13.2608865 L1.6782155%2c12.8698151 Z M18.5670422%2c12.0212556 L19.7352421%2c12.2956804 C19.4830135%2c13.3694241 19.0577354%2c14.3764664 18.4904444%2c15.2857707 L17.4723046%2c14.6506396 C17.9773686%2c13.8410887 18.3478368%2c12.9544223 18.5670422%2c12.0212556 Z M10%2c5.0171875 C11.7379698%2c5.0171875 13.146875%2c6.42601187 13.146875%2c8.16388767 C13.146875%2c9.10450732 12.731062%2c9.97544944 12.0324507%2c10.5664277 L11.9901957%2c10.6015488 L11.95725%2c10.62775 C13.4001722%2c11.2893597 14.4246442%2c12.6344316 14.658601%2c14.2181071 L14.6673153%2c14.2799285 L14.6749463%2c14.339683 C14.7127435%2c14.6514996 14.490594%2c14.9349138 14.178765%2c14.9727082 C13.8669371%2c15.0105025 13.5835085%2c14.7883672 13.5457114%2c14.4765516 C13.3292152%2c12.6905191 11.8063915%2c11.3398614 10%2c11.3398614 C8.19166192%2c11.3398614 6.66783415%2c12.6933442 6.4536726%2c14.4816646 C6.41632443%2c14.7935342 6.13321589%2c15.0160773 5.82133388%2c14.9787319 C5.50945081%2c14.9413864 5.28689354%2c14.6582923 5.32424183%2c14.3464216 C5.518139%2c12.7273156 6.53591914%2c11.3411187 7.98452177%2c10.6547814 L8.042625%2c10.627625 L8.00988546%2c10.6014585 C7.31393066%2c10.0333399 6.88718048%2c9.19185663 6.85507548%2c8.27536534 L6.85360404%2c8.21916159 L6.853125%2c8.16388767 C6.853125%2c6.42601187 8.26203021%2c5.0171875 10%2c5.0171875 Z M0.0704166231%2c8.80707333 L1.26202341%2c8.9487535 C1.22073211%2c9.2961275 1.20000016%2c9.64694277 1.20000117%2c10.0045964 C1.20031246%2c10.6153692 1.26266873%2c11.2173733 1.38494431%2c11.8045273 L0.210178632%2c12.0493244 C0.072412278%2c11.3878345 0%2c10.7023737 0%2c10 C0%2c9.59632458 0.0239188554%2c9.19823571 0.0704166231%2c8.80707333 Z M19.7624494%2c7.82342712 C19.9179803%2c8.52412235 20%2c9.25248281 20%2c10 C20%2c10.3592207 19.9810592%2c10.7140176 19.9441218%2c11.0634464 L18.7507852%2c10.9371619 C18.7835609%2c10.6270561 18.7999999%2c10.3143864 18.7999991%2c9.99595351 C18.7997075%2c9.34605169 18.7291662%2c8.70611658 18.5909752%2c8.08351968 L19.7624494%2c7.82342712 Z M10%2c6.15463371 C8.89025155%2c6.15463371 7.990625%2c7.05420863 7.990625%2c8.16388767 C7.990625%2c9.27356671 8.89025155%2c10.1731416 10%2c10.1731416 C11.1097485%2c10.1731416 12.009375%2c9.27356671 12.009375%2c8.16388767 C12.009375%2c7.05420863 11.1097485%2c6.15463371 10%2c6.15463371 Z M1.57942124%2c4.60385346 L2.58915769%2c5.25226098 C2.0734567%2c6.05533568 1.69136034%2c6.93718555 1.45997852%2c7.86702448 L0.295501559%2c7.57720832 C0.56166027%2c6.50763469 1.00001265%2c5.50613725 1.57942124%2c4.60385346 Z M17.8378076%2c3.78898615 C18.5070035%2c4.63232337 19.0429673%2c5.58616296 19.4138856%2c6.61869158 L18.2845411%2c7.02437729 C17.961138%2c6.12412109 17.4920145%2c5.28373326 16.8977624%2c4.5348515 L17.8378076%2c3.78898615 Z M4.77079875%2c1.4745243 L5.39914702%2c2.49686399 C4.58448015%2c2.99762191 3.85531666%2c3.6287754 3.24201291%2c4.36316111 L2.32091219%2c3.59402299 C3.0157056%2c2.76204706 3.84317323%2c2.04470872 4.77079875%2c1.4745243 Z M14.3520451%2c0.994141499 C15.3355603%2c1.47029764 16.2292639%2c2.10281922 17.0008632%2c2.85941347 L16.1606578%2c3.71618351 C15.4774315%2c3.04625413 14.6897603%2c2.49087969 13.8291481%2c2.0742242 L14.3520451%2c0.994141499 Z M9.00050566%2c0.0493250509 L9.11908879%2c1.24345153 C8.16029887%2c1.33858782 7.23387598%2c1.58885943 6.36797318%2c1.9817982 L5.87207892%2c0.889054455 C6.84207833%2c0.448875763 7.89480391%2c0.159049293 9.00050566%2c0.0493250509 Z M10%2c0 C11.1179582%2c0 12.1930685%2c0.183453893 13.1968688%2c0.521899629 L12.813462%2c1.65900087 C11.9155385%2c1.35625484 10.9691744%2c1.2 10%2c1.2 L10%2c0 Z' id='%e5%bd%a2%e7%8a%b6%e7%bb%93%e5%90%88' fill='%23DADDE3' fill-rule='nonzero'%3e%3c/path%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var _defs, _g;
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
var SvgWorkspaceEmpty = function SvgWorkspaceEmpty(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
9
|
+
width: 400,
|
|
10
|
+
height: 115
|
|
11
|
+
}, props), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("rect", {
|
|
12
|
+
id: "b",
|
|
13
|
+
width: 400,
|
|
14
|
+
height: 115,
|
|
15
|
+
x: 0,
|
|
16
|
+
y: 0,
|
|
17
|
+
rx: 4
|
|
18
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
19
|
+
id: "d",
|
|
20
|
+
width: 400,
|
|
21
|
+
height: 115,
|
|
22
|
+
x: 0,
|
|
23
|
+
y: 0,
|
|
24
|
+
rx: 4
|
|
25
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
26
|
+
id: "f",
|
|
27
|
+
width: 400,
|
|
28
|
+
height: 115,
|
|
29
|
+
x: 0,
|
|
30
|
+
y: 0,
|
|
31
|
+
rx: 4
|
|
32
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
33
|
+
id: "h",
|
|
34
|
+
width: 48,
|
|
35
|
+
height: 48,
|
|
36
|
+
x: 0,
|
|
37
|
+
y: 0,
|
|
38
|
+
rx: 4
|
|
39
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
40
|
+
id: "j",
|
|
41
|
+
width: 48,
|
|
42
|
+
height: 48,
|
|
43
|
+
x: 0,
|
|
44
|
+
y: 0,
|
|
45
|
+
rx: 4
|
|
46
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
47
|
+
id: "l",
|
|
48
|
+
width: 48,
|
|
49
|
+
height: 48,
|
|
50
|
+
x: 0,
|
|
51
|
+
y: 0,
|
|
52
|
+
rx: 4
|
|
53
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
54
|
+
id: "n",
|
|
55
|
+
width: 48,
|
|
56
|
+
height: 48,
|
|
57
|
+
x: 0,
|
|
58
|
+
y: 0,
|
|
59
|
+
rx: 4
|
|
60
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
61
|
+
id: "p",
|
|
62
|
+
width: 400,
|
|
63
|
+
height: 115,
|
|
64
|
+
x: 0,
|
|
65
|
+
y: 0,
|
|
66
|
+
rx: 4
|
|
67
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
68
|
+
id: "r",
|
|
69
|
+
width: 400,
|
|
70
|
+
height: 115,
|
|
71
|
+
x: 0,
|
|
72
|
+
y: 0,
|
|
73
|
+
rx: 4
|
|
74
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
75
|
+
id: "t",
|
|
76
|
+
width: 400,
|
|
77
|
+
height: 115,
|
|
78
|
+
x: 0,
|
|
79
|
+
y: 0,
|
|
80
|
+
rx: 4
|
|
81
|
+
}), /*#__PURE__*/React.createElement("linearGradient", {
|
|
82
|
+
id: "a",
|
|
83
|
+
x1: "47.482%",
|
|
84
|
+
x2: "100%",
|
|
85
|
+
y1: "49.542%",
|
|
86
|
+
y2: "54.133%"
|
|
87
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
88
|
+
offset: "0%",
|
|
89
|
+
stopColor: "#FBFBFC"
|
|
90
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
91
|
+
offset: "100%",
|
|
92
|
+
stopColor: "#F5F6F8"
|
|
93
|
+
})))), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
94
|
+
fill: "none",
|
|
95
|
+
fillRule: "evenodd"
|
|
96
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
97
|
+
width: 400,
|
|
98
|
+
height: 115,
|
|
99
|
+
fill: "url(#a)",
|
|
100
|
+
fillRule: "nonzero",
|
|
101
|
+
rx: 4
|
|
102
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
103
|
+
id: "c",
|
|
104
|
+
fill: "#fff"
|
|
105
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
106
|
+
xlinkHref: "#b"
|
|
107
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
108
|
+
fill: "#091940",
|
|
109
|
+
fillOpacity: 0.02,
|
|
110
|
+
fillRule: "nonzero",
|
|
111
|
+
d: "M292.599 17.703a10.9 10.9 0 0 1 6.728 1.935l31.82 22.09 36.187-13.688c5.626-2.128 11.917.714 14.051 6.348.85 2.243.937 4.703.25 7l-11.118 37.086 24.234 30.23c3.768 4.701 3.02 11.564-1.672 15.33a10.88 10.88 0 0 1-6.575 2.39l-38.69.832-21.209 32.371c-3.298 5.034-10.051 6.433-15.085 3.126a10.92 10.92 0 0 1-4.312-5.522l-12.795-36.572-37.342-10.225c-5.807-1.59-9.232-7.587-7.651-13.396a10.9 10.9 0 0 1 3.91-5.804l30.783-23.435-1.87-38.69c-.292-6.016 4.345-11.122 10.356-11.406",
|
|
112
|
+
mask: "url(#c)"
|
|
113
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
114
|
+
id: "e",
|
|
115
|
+
fill: "#fff"
|
|
116
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
117
|
+
xlinkHref: "#d"
|
|
118
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
119
|
+
fill: "#091940",
|
|
120
|
+
fillOpacity: 0.02,
|
|
121
|
+
fillRule: "nonzero",
|
|
122
|
+
d: "M159.68-70.548a10.9 10.9 0 0 1 2.275 6.621l.157 38.736 31.968 21.79c4.97 3.389 6.25 10.172 2.86 15.152a10.9 10.9 0 0 1-5.592 4.219l-36.756 12.164-10.863 37.192c-1.69 5.783-7.74 9.106-13.516 7.423a10.88 10.88 0 0 1-5.73-4.015L101.61 37.517 62.93 38.712c-6.015.186-11.035-4.544-11.213-10.564a10.92 10.92 0 0 1 2.05-6.7L76.385-10.01 63.342-46.463c-2.028-5.668.92-11.914 6.585-13.951a10.9 10.9 0 0 1 6.997-.127l36.853 11.775 30.62-23.724c4.762-3.689 11.604-2.82 15.284 1.942",
|
|
123
|
+
mask: "url(#e)",
|
|
124
|
+
opacity: 0.803
|
|
125
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
126
|
+
id: "g",
|
|
127
|
+
fill: "#fff"
|
|
128
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
129
|
+
xlinkHref: "#f"
|
|
130
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
131
|
+
mask: "url(#g)",
|
|
132
|
+
opacity: 0.9
|
|
133
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
134
|
+
width: 48,
|
|
135
|
+
height: 48,
|
|
136
|
+
fill: "#B0D6FF",
|
|
137
|
+
rx: 4,
|
|
138
|
+
transform: "translate(24 18)"
|
|
139
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
140
|
+
transform: "translate(24 18)"
|
|
141
|
+
}, /*#__PURE__*/React.createElement("mask", {
|
|
142
|
+
id: "i",
|
|
143
|
+
fill: "#fff"
|
|
144
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
145
|
+
xlinkHref: "#h"
|
|
146
|
+
})), /*#__PURE__*/React.createElement("rect", {
|
|
147
|
+
width: 13,
|
|
148
|
+
height: 4,
|
|
149
|
+
x: 4,
|
|
150
|
+
y: 39,
|
|
151
|
+
fill: "#3683FF",
|
|
152
|
+
mask: "url(#i)",
|
|
153
|
+
rx: 2
|
|
154
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
155
|
+
transform: "translate(24 18)"
|
|
156
|
+
}, /*#__PURE__*/React.createElement("mask", {
|
|
157
|
+
id: "k",
|
|
158
|
+
fill: "#fff"
|
|
159
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
160
|
+
xlinkHref: "#j"
|
|
161
|
+
})), /*#__PURE__*/React.createElement("rect", {
|
|
162
|
+
width: 13,
|
|
163
|
+
height: 4,
|
|
164
|
+
x: 4,
|
|
165
|
+
y: 32,
|
|
166
|
+
fill: "#87BDFF",
|
|
167
|
+
mask: "url(#k)",
|
|
168
|
+
rx: 2
|
|
169
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
170
|
+
transform: "translate(24 18)"
|
|
171
|
+
}, /*#__PURE__*/React.createElement("mask", {
|
|
172
|
+
id: "m",
|
|
173
|
+
fill: "#fff"
|
|
174
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
175
|
+
xlinkHref: "#l"
|
|
176
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
177
|
+
fillRule: "nonzero",
|
|
178
|
+
mask: "url(#m)"
|
|
179
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
180
|
+
fill: "#FFBF36",
|
|
181
|
+
d: "M47.036 3.336a3 3 0 0 1 .753 1.774l.793 10.626 9.203 5.371a3 3 0 0 1-.375 5.367l-9.861 4.038-2.265 10.413a3 3 0 0 1-5.22 1.301l-6.888-8.13-10.602 1.064a3 3 0 0 1-2.851-4.563l5.604-9.063-4.289-9.754a3 3 0 0 1 3.459-4.122l10.351 2.53L42.8 3.093a3 3 0 0 1 4.236.242"
|
|
182
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
183
|
+
fill: "#FFE136",
|
|
184
|
+
d: "M44.036.336a3 3 0 0 1 .753 1.774l.793 10.626 9.203 5.371a3 3 0 0 1-.375 5.367l-9.861 4.038-2.265 10.413a3 3 0 0 1-5.22 1.301l-6.888-8.13-10.602 1.064a3 3 0 0 1-2.851-4.563l5.604-9.063-4.289-9.754a3 3 0 0 1 3.459-4.122l10.351 2.53L39.8.093a3 3 0 0 1 4.236.242"
|
|
185
|
+
}))), /*#__PURE__*/React.createElement("g", {
|
|
186
|
+
transform: "translate(24 18)"
|
|
187
|
+
}, /*#__PURE__*/React.createElement("mask", {
|
|
188
|
+
id: "o",
|
|
189
|
+
fill: "#fff"
|
|
190
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
191
|
+
xlinkHref: "#n"
|
|
192
|
+
})), /*#__PURE__*/React.createElement("text", {
|
|
193
|
+
fill: "#FFF",
|
|
194
|
+
fillRule: "nonzero",
|
|
195
|
+
stroke: "#FFF",
|
|
196
|
+
strokeWidth: 0.3,
|
|
197
|
+
fontFamily: "BebasKai, Bebas Kai",
|
|
198
|
+
fontSize: 13,
|
|
199
|
+
mask: "url(#o)"
|
|
200
|
+
}, /*#__PURE__*/React.createElement("tspan", {
|
|
201
|
+
x: 6.165,
|
|
202
|
+
y: 24.244
|
|
203
|
+
}, "collect")))), /*#__PURE__*/React.createElement("mask", {
|
|
204
|
+
id: "q",
|
|
205
|
+
fill: "#fff"
|
|
206
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
207
|
+
xlinkHref: "#p"
|
|
208
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
209
|
+
fill: "#091940",
|
|
210
|
+
fillOpacity: 0.04,
|
|
211
|
+
fillRule: "nonzero",
|
|
212
|
+
d: "M24 80h352v1H24z",
|
|
213
|
+
mask: "url(#q)"
|
|
214
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
215
|
+
id: "s",
|
|
216
|
+
fill: "#fff"
|
|
217
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
218
|
+
xlinkHref: "#r"
|
|
219
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
220
|
+
fill: "#B5BAC5",
|
|
221
|
+
fillRule: "nonzero",
|
|
222
|
+
mask: "url(#s)"
|
|
223
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
224
|
+
d: "M50.204 93.432v.852h3.024V102h.972v-7.716h3.024v-.852zM58.292 93.432V102h6.276v-.852h-5.292v-3.144h4.8v-.852h-4.8v-2.868h5.088v-.852zM68.444 93.432 65.072 102h1.056l.912-2.4h3.936l.912 2.4h1.068l-3.372-8.568zm-1.092 5.34 1.644-4.284h.048l1.62 4.284zM73.82 93.432V102h.984v-6.816h.036L77.804 102h.888l2.964-6.816h.036V102h.984v-8.568h-1.224l-3.18 7.308h-.036l-3.192-7.308z"
|
|
225
|
+
})), /*#__PURE__*/React.createElement("mask", {
|
|
226
|
+
id: "u",
|
|
227
|
+
fill: "#fff"
|
|
228
|
+
}, /*#__PURE__*/React.createElement("use", {
|
|
229
|
+
xlinkHref: "#t"
|
|
230
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
231
|
+
mask: "url(#u)"
|
|
232
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
233
|
+
fill: "#DADDE3",
|
|
234
|
+
fillRule: "nonzero",
|
|
235
|
+
d: "M31.079 106.304a8.8 8.8 0 0 0 2.807.495l-.016 1.2h-.035a10 10 0 0 1-3.154-.563zm6.658-.334.51 1.086a10 10 0 0 1-3.117.88l-.134-1.192a8.7 8.7 0 0 0 2.74-.774m-9.98-1.767a8.8 8.8 0 0 0 2.31 1.672l-.536 1.073a10 10 0 0 1-2.624-1.9zm13.074-.655.931.757a10 10 0 0 1-2.422 2.151l-.642-1.014a8.9 8.9 0 0 0 2.133-1.894m-15.153-2.678c.312.904.77 1.75 1.355 2.507l-.95.734a10 10 0 0 1-1.54-2.85zm16.889-.849 1.168.275a10 10 0 0 1-1.245 2.99l-1.018-.635a8.7 8.7 0 0 0 1.095-2.63M34 93.017a3.147 3.147 0 0 1 2.032 5.55l-.042.035-.033.026a4.71 4.71 0 0 1 2.702 3.59l.008.062.008.06a.569.569 0 0 1-1.13.137 3.572 3.572 0 0 0-7.091.005.569.569 0 0 1-1.13-.136 4.71 4.71 0 0 1 2.66-3.691l.059-.027-.033-.027a3.14 3.14 0 0 1-1.155-2.326l-.001-.056v-.055A3.147 3.147 0 0 1 34 93.017m-9.93 3.79 1.192.142a9 9 0 0 0 .123 2.856l-1.175.244a10 10 0 0 1-.14-3.242m19.692-.984a10 10 0 0 1 .182 3.24l-1.193-.126a9 9 0 0 0-.16-2.853zM34 94.155a2.01 2.01 0 1 0 0 4.018 2.01 2.01 0 0 0 0-4.018m-8.42-1.551 1.01.648a8.7 8.7 0 0 0-1.13 2.615l-1.164-.29a10 10 0 0 1 1.283-2.973m16.258-.815a10 10 0 0 1 1.576 2.83l-1.13.405a8.8 8.8 0 0 0-1.386-2.49zM28.77 89.475l.628 1.022a8.9 8.9 0 0 0-2.157 1.866l-.921-.769a10 10 0 0 1 2.45-2.12m9.581-.48a10 10 0 0 1 2.649 1.864l-.84.857a8.8 8.8 0 0 0-2.332-1.642zm-5.351-.946.118 1.194a8.7 8.7 0 0 0-2.751.739l-.496-1.093c.97-.44 2.023-.73 3.129-.84M34 88c1.118 0 2.193.183 3.197.522l-.384 1.137A8.8 8.8 0 0 0 34 89.2z"
|
|
236
|
+
})))));
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
export { SvgWorkspaceEmpty as default };
|
package/dist/icons/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
2
|
-
import
|
|
2
|
+
import React__default from 'react';
|
|
3
3
|
import AntdIcon from '@ant-design/icons';
|
|
4
4
|
export { default } from '@ant-design/icons';
|
|
5
5
|
import { ClassNames } from '@emotion/react';
|
|
6
6
|
import useAntdConfig from '../lib/hooks/useAntdConfig.js';
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
7
|
+
import SvgArrowBack from './svg/ArrowBack.svg.js';
|
|
8
|
+
import SvgDone from './svg/Done.svg.js';
|
|
9
|
+
import SvgDottedCircle from './svg/DottedCircle.svg.js';
|
|
10
|
+
import SvgHollowCircle from './svg/HollowCircle.svg.js';
|
|
11
|
+
import SvgSearch from './svg/Search.svg.js';
|
|
12
|
+
import SvgWorkflow from './svg/Workflow.svg.js';
|
|
13
13
|
import { rotateStyle, proximaSingleColor } from './style/index.js';
|
|
14
14
|
import IconFont from './SyncIconFont.js';
|
|
15
15
|
|
|
@@ -280,24 +280,24 @@ const MULTI_COLOR_KEYS = [
|
|
|
280
280
|
'AttachmentProducts',
|
|
281
281
|
];
|
|
282
282
|
const HollowCircleIcon = props => {
|
|
283
|
-
return jsx(AntdIcon, { ...props, component:
|
|
283
|
+
return jsx(AntdIcon, { ...props, component: SvgHollowCircle });
|
|
284
284
|
};
|
|
285
285
|
const WorkflowIcon = props => {
|
|
286
|
-
return jsx(AntdIcon, { ...props, style: { fontSize: 10, width: 10, marginLeft: 2 }, component:
|
|
286
|
+
return jsx(AntdIcon, { ...props, style: { fontSize: 10, width: 10, marginLeft: 2 }, component: SvgWorkflow });
|
|
287
287
|
};
|
|
288
288
|
const DottedCircleIcon = props => {
|
|
289
|
-
return jsx(AntdIcon, { ...props, style: { fontSize: 10, width: 10, marginLeft: 2 }, component:
|
|
289
|
+
return jsx(AntdIcon, { ...props, style: { fontSize: 10, width: 10, marginLeft: 2 }, component: SvgDottedCircle });
|
|
290
290
|
};
|
|
291
291
|
const ArrowBackIcon = props => {
|
|
292
|
-
return jsx(AntdIcon, { ...props, style: { fontSize: 10, width: 10, marginLeft: 2 }, component:
|
|
292
|
+
return jsx(AntdIcon, { ...props, style: { fontSize: 10, width: 10, marginLeft: 2 }, component: SvgArrowBack });
|
|
293
293
|
};
|
|
294
294
|
const SearchIcon = props => {
|
|
295
|
-
return jsx(AntdIcon, { ...props, style: { fontSize: 10, width: 10, marginLeft: 2 }, component:
|
|
295
|
+
return jsx(AntdIcon, { ...props, style: { fontSize: 10, width: 10, marginLeft: 2 }, component: SvgSearch });
|
|
296
296
|
};
|
|
297
297
|
const DoneIcon = props => {
|
|
298
|
-
return jsx(AntdIcon, { ...props, style: { fontSize: 10, width: 10, marginLeft: 2 }, component:
|
|
298
|
+
return jsx(AntdIcon, { ...props, style: { fontSize: 10, width: 10, marginLeft: 2 }, component: SvgDone });
|
|
299
299
|
};
|
|
300
|
-
const CustomIconFont =
|
|
300
|
+
const CustomIconFont = React__default.memo(props => {
|
|
301
301
|
const { type, ...restProps } = props;
|
|
302
302
|
if (SIMPLE_COLOR_KEYS.includes(type)) {
|
|
303
303
|
return jsx(SingleColorIcon, { ...props, type: type });
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var _path;
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
var SvgArrowBack = function SvgArrowBack(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 200,
|
|
9
|
+
height: 200,
|
|
10
|
+
className: "icon",
|
|
11
|
+
viewBox: "0 0 1024 1024"
|
|
12
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "m521.856 137.984 2.24 2.24a38.4 38.4 0 0 1 0 54.272l-275.2 275.2h624.64a41.6 41.6 0 1 1 0 83.2H247.488l276.608 276.672a38.4 38.4 0 0 1 4.48 48.96l-4.48 5.312-2.24 2.304-5.312 4.416a38.4 38.4 0 0 1-43.712 0l-5.312-4.48-343.872-343.936a38.27 38.27 0 0 1-11.136-23.872v-12.48a38.27 38.27 0 0 1 11.136-23.872L467.52 137.984a38.4 38.4 0 0 1 54.336 0"
|
|
14
|
+
})));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { SvgArrowBack as default };
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var _path;
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
var SvgDone = function SvgDone(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 200,
|
|
9
|
+
height: 200,
|
|
10
|
+
className: "icon",
|
|
11
|
+
viewBox: "0 0 1024 1024"
|
|
12
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M380.352 842.176 74.688 536.896a38.4 38.4 0 0 1-.064-54.272l2.048-2.048a38.464 38.464 0 0 1 54.272 0l275.328 274.88 482.816-575.36a38.4 38.4 0 0 1 54.144-4.736l2.432 2.112a38.4 38.4 0 0 1 4.736 54.08L440.32 839.488a38.34 38.34 0 0 1-29.376 13.696h-6.72a38.34 38.34 0 0 1-23.872-11.008"
|
|
14
|
+
})));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { SvgDone as default };
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var _path;
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
var SvgDottedCircle = function SvgDottedCircle(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
className: "icon",
|
|
9
|
+
viewBox: "0 0 1024 1024"
|
|
10
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
d: "M681.92 995.136 648 898.496a408.5 408.5 0 0 1-130.24 23.04l-6.912.064h-4.16l-1.28 102.4H512c59.52 0 116.736-10.176 169.92-28.864M243.84 821.632l-67.072 77.376a511.7 511.7 0 0 0 153.152 91.648l36.48-95.68a409.3 409.3 0 0 1-122.56-73.344m709.503-49.92-88.192-52.032a412.2 412.2 0 0 1-92.927 108.672l65.151 78.976a514.6 514.6 0 0 0 115.968-135.68zM107.392 576 6.208 591.872c9.472 60.416 29.44 117.312 58.112 168.768l89.472-49.856A406.1 406.1 0 0 1 107.392 576m916.607-64c0-29.44-2.496-58.24-7.232-86.208L915.84 442.88a413 413 0 0 1-.896 143.36l100.736 18.304A518.5 518.5 0 0 0 1024 512M74.176 246.4a508.8 508.8 0 0 0-64.64 166.4l100.544 19.776a406.4 406.4 0 0 1 51.584-132.928L74.24 246.4zm882.303 11.328a514.4 514.4 0 0 0-114.304-137.087l-66.111 78.272a412 412 0 0 1 91.583 109.76zm-608-231.04A511 511 0 0 0 192 112.386l64 79.872a408.6 408.6 0 0 1 125.249-68.544l-32.704-97.024zM512 .002v102.4c48.64 0 96 8.448 140.609 24.768l35.2-96.192A511 511 0 0 0 512 0"
|
|
12
|
+
})));
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { SvgDottedCircle as default };
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var _path;
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
var SvgHollowCircle = function SvgHollowCircle(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
xmlSpace: "preserve",
|
|
9
|
+
viewBox: "0 0 10 10"
|
|
10
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
d: "M5 0C2.2 0 0 2.2 0 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5m0 8C3.3 8 2 6.7 2 5s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3"
|
|
12
|
+
})));
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { SvgHollowCircle as default };
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var _path;
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
var SvgSearch = function SvgSearch(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 200,
|
|
9
|
+
height: 200,
|
|
10
|
+
className: "icon",
|
|
11
|
+
viewBox: "0 0 1024 1024"
|
|
12
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M457.6 112a345.6 345.6 0 0 1 270.08 561.28l173.056 173.184a38.4 38.4 0 0 1-48.96 58.752l-5.312-4.48L673.28 727.68A345.6 345.6 0 1 1 457.6 112m0 76.8a268.8 268.8 0 1 0 186.944 461.952 18 18 0 0 1 2.816-3.392l3.392-2.816A268.8 268.8 0 0 0 457.6 188.8"
|
|
14
|
+
})));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { SvgSearch as default };
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var _path;
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
var SvgWorkflow = function SvgWorkflow(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
xmlSpace: "preserve",
|
|
9
|
+
viewBox: "0 0 128 128"
|
|
10
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
d: "M111.4 88.1c-7.5 0-14.46 4.82-16.61 11.79H38.03c-8.57 0-15.53-6.97-15.53-15.53 0-8.57 6.97-14.99 15.53-14.99h52.49c14.46 0 26.25-11.79 26.25-26.25s-11.79-26.25-26.25-26.25H33.75C31.61 9.91 25.18 5.09 17.14 5.09 8.04 5.09 0 13.12 0 22.23s8.04 17.14 17.14 17.14c7.5 0 14.46-4.82 16.61-11.79h56.23c8.57 0 15.53 6.97 15.53 15.53s-6.42 15.53-14.99 15.53h-52.5c-14.46 0-26.25 11.79-26.25 26.25s11.79 26.25 26.25 26.25h56.23c2.14 6.97 8.57 11.79 16.61 11.79 9.64 0 17.14-8.04 17.14-17.14s-7.49-17.69-16.6-17.69M17.15 29.18c-3.22 0-6.42-3.22-6.42-6.97s3.22-6.42 6.42-6.42 6.42 3.22 6.42 6.42-2.67 6.97-6.42 6.97m94.25 83.03c-3.75 0-6.42-3.22-6.42-6.42 0-3.21 3.22-6.42 6.42-6.42 3.21 0 6.42 3.22 6.42 6.42.01 3.2-3.2 6.42-6.42 6.42"
|
|
12
|
+
})));
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { SvgWorkflow as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@giteeteam/apps-team-components",
|
|
3
|
-
"version": "1.3.1",
|
|
3
|
+
"version": "1.3.2-alpha.1",
|
|
4
4
|
"description": "Gitee team components",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"@storybook/react": "^8.2.8",
|
|
48
48
|
"@storybook/react-webpack5": "^8.2.8",
|
|
49
49
|
"@storybook/test": "^8.2.8",
|
|
50
|
+
"@svgr/rollup": "8.1.0",
|
|
50
51
|
"@svgr/webpack": "^8.1.0",
|
|
51
52
|
"@types/js-cookie": "^3.0.6",
|
|
52
53
|
"@types/node": "18",
|