@aloudata/aloudata-design 0.3.0-beta.1 → 0.3.2
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 +15 -5
- package/es/Breadcrumb/index.d.ts +0 -1
- package/es/Breadcrumb/style/index.less +11 -3
- package/es/Button/index.js +17 -2
- package/es/Button/style/index.less +41 -39
- package/es/Button/style/variables.less +9 -2
- package/es/Card/index.d.ts +3 -0
- package/es/Card/index.js +3 -0
- package/es/{Message → Card}/style/index.d.ts +0 -0
- package/es/{Message → Card}/style/index.js +0 -0
- package/es/{Message → Card}/style/index.less +0 -0
- package/es/Checkbox/index.d.ts +0 -1
- package/es/Checkbox/style/index.less +19 -0
- package/es/Drawer/index.d.ts +4 -0
- package/es/Drawer/index.js +3 -0
- package/es/{Notification → Drawer}/style/index.d.ts +0 -0
- package/es/{Notification → Drawer}/style/index.js +0 -0
- package/es/{Notification → Drawer}/style/index.less +0 -0
- package/es/Dropdown/Button.js +3 -3
- package/es/Empty/image/Authority.d.ts +0 -1
- package/es/Empty/image/Dataspace.d.ts +0 -1
- package/es/Empty/image/Search.d.ts +0 -1
- package/es/Empty/image/Simple.d.ts +0 -1
- package/es/Empty/image/Worksheet.d.ts +0 -1
- package/es/Empty/image/empty.d.ts +0 -1
- package/es/Form/style/index.less +8 -0
- package/es/Icon/antdIconfont.d.ts +4 -0
- package/es/Icon/antdIconfont.js +2 -0
- package/es/Icon/components/Icon.d.ts +32 -0
- package/es/Icon/components/Icon.js +27 -0
- package/es/Icon/components/createFromScripts.d.ts +1 -0
- package/es/Icon/components/createFromScripts.js +35 -0
- package/es/Icon/iconSvgs/arrows_right_sm.svg +3 -0
- package/es/Icon/icons/AddLine.d.ts +13 -0
- package/es/Icon/icons/AddLine.js +66 -0
- package/es/Icon/icons/AlertFill.d.ts +13 -0
- package/es/Icon/icons/AlertFill.js +73 -0
- package/es/Icon/icons/ArrowsDownLine.d.ts +13 -0
- package/es/Icon/icons/ArrowsDownLine.js +66 -0
- package/es/Icon/icons/CancelFill.d.ts +13 -0
- package/es/Icon/icons/CancelFill.js +73 -0
- package/es/Icon/icons/CheckFill.d.ts +13 -0
- package/es/Icon/icons/CheckFill.js +73 -0
- package/es/Icon/icons/CheckLine.d.ts +13 -0
- package/es/Icon/icons/CheckLine.js +73 -0
- package/es/Icon/icons/CloseLine.d.ts +13 -0
- package/es/Icon/icons/CloseLine.js +66 -0
- package/es/Icon/icons/DatabaseLine.d.ts +13 -0
- package/es/Icon/icons/DatabaseLine.js +66 -0
- package/es/Icon/icons/Deleteline.d.ts +13 -0
- package/es/Icon/icons/Deleteline.js +66 -0
- package/es/Icon/icons/DownloadLine.d.ts +13 -0
- package/es/Icon/icons/DownloadLine.js +73 -0
- package/es/Icon/icons/ErrorFill.d.ts +13 -0
- package/es/Icon/icons/ErrorFill.js +73 -0
- package/es/Icon/icons/EyeOffLine.d.ts +13 -0
- package/es/Icon/icons/EyeOffLine.js +73 -0
- package/es/Icon/icons/EyeOnLine.d.ts +13 -0
- package/es/Icon/icons/EyeOnLine.js +66 -0
- package/es/Icon/icons/FileLine.d.ts +13 -0
- package/es/Icon/icons/FileLine.js +73 -0
- package/es/Icon/icons/HomeFill.d.ts +13 -0
- package/es/Icon/icons/HomeFill.js +73 -0
- package/es/Icon/icons/IconBase.withSpan.tpl +58 -0
- package/es/Icon/icons/LightningLine.d.ts +13 -0
- package/es/Icon/icons/LightningLine.js +66 -0
- package/es/Icon/icons/Loading.d.ts +13 -0
- package/es/Icon/icons/Loading.js +66 -0
- package/es/Icon/icons/More.d.ts +13 -0
- package/es/Icon/icons/More.js +66 -0
- package/es/Icon/icons/NewWindowsLine.d.ts +13 -0
- package/es/Icon/icons/NewWindowsLine.js +74 -0
- package/es/Icon/icons/SearchLine.d.ts +13 -0
- package/es/Icon/icons/SearchLine.js +73 -0
- package/es/Icon/icons/SortAscendingLine.d.ts +13 -0
- package/es/Icon/icons/SortAscendingLine.js +66 -0
- package/es/Icon/icons/SortDescendingLine.d.ts +13 -0
- package/es/Icon/icons/SortDescendingLine.js +66 -0
- package/es/Icon/icons/TextLine.d.ts +13 -0
- package/es/Icon/icons/TextLine.js +73 -0
- package/es/Icon/icons/UserLine.d.ts +13 -0
- package/es/Icon/icons/UserLine.js +73 -0
- package/es/Icon/icons/style.css +9 -0
- package/es/Icon/icons/style.css.d.ts +10 -0
- package/es/Icon/index.d.ts +2 -13
- package/es/Icon/index.js +2 -53
- package/es/Icon/index.less +9 -17
- package/es/Icon/style/index.d.ts +1 -0
- package/es/Icon/style/index.js +1 -0
- package/es/Icon/style/index.less +0 -0
- package/es/Input/components/Group/index.d.ts +0 -1
- package/es/Input/components/Password/index.js +6 -5
- package/es/Input/style/index.less +1 -1
- package/es/InputNumber/index.d.ts +0 -1
- package/es/InputNumber/style/index.less +88 -16
- package/es/Menu/Divider.d.ts +0 -1
- package/es/Menu/style/index.less +4 -3
- package/es/Modal/index.js +21 -12
- package/es/Modal/locale.d.ts +7 -0
- package/es/Modal/locale.js +20 -0
- package/es/Modal/style/index.less +3 -3
- package/es/Navigator/components/Header/index.d.ts +0 -1
- package/es/Navigator/components/Menu/index.d.ts +0 -1
- package/es/Navigator/components/MenuItem/index.d.ts +1 -1
- package/es/Navigator/index.d.ts +1 -1
- package/es/Navigator/style/index.less +46 -5
- package/es/Popover/index.d.ts +0 -1
- package/es/Select/index.d.ts +2 -1
- package/es/Select/index.js +2 -1
- package/es/Select/rc-select/OptionList.js +3 -4
- package/es/Select/rc-select/Selector/MultipleSelector.js +13 -3
- package/es/Select/rc-select/hooks/useOptions.d.ts +1 -1
- package/es/Select/style/index.d.ts +0 -1
- package/es/Select/style/index.js +0 -1
- package/es/Select/style/index.less +105 -10
- package/es/Select/style/variables.less +20 -9
- package/es/Select/style/variables.less.d.ts +4 -1
- package/es/Select/utils/iconUtil.d.ts +2 -2
- package/es/Select/utils/iconUtil.js +10 -13
- package/es/Table/Table.d.ts +0 -1
- package/es/Table/Table.js +23 -14
- package/es/Table/style/index.less +7 -0
- package/es/Tabs/index.d.ts +2 -1
- package/es/Tabs/index.js +9 -6
- package/es/Tabs/style/index.less +67 -1
- package/es/index.d.ts +8 -3
- package/es/index.js +6 -3
- package/es/locale/default.d.ts +2 -0
- package/es/locale/default.js +2 -0
- package/es/locale/en_US.d.ts +3 -0
- package/es/locale/en_US.js +132 -0
- package/es/locale/zh_CN.d.ts +3 -2
- package/es/locale/zh_CN.js +131 -2
- package/es/locale-provider/LocaleReceiver.d.ts +4 -0
- package/es/locale-provider/LocaleReceiver.js +3 -0
- package/es/locale-provider/context.d.ts +7 -0
- package/es/locale-provider/context.js +3 -0
- package/es/locale-provider/default.d.ts +2 -0
- package/es/locale-provider/default.js +2 -0
- package/es/locale-provider/en_US.d.ts +2 -0
- package/es/locale-provider/en_US.js +2 -0
- package/es/locale-provider/index.d.ts +61 -0
- package/es/locale-provider/index.js +102 -0
- package/es/locale-provider/style/index.d.ts +1 -0
- package/es/locale-provider/style/index.js +1 -0
- package/es/locale-provider/style/index.less +2 -0
- package/es/locale-provider/zh_CN.d.ts +2 -0
- package/es/locale-provider/zh_CN.js +2 -0
- package/es/{Message → message}/index.d.ts +0 -0
- package/es/{Message → message}/index.js +0 -0
- package/{lib/Message → es/message}/style/index.d.ts +0 -0
- package/es/message/style/index.js +2 -0
- package/{lib/Message → es/message}/style/index.less +0 -0
- package/es/{Notification → notification}/index.d.ts +0 -0
- package/es/{Notification → notification}/index.js +0 -0
- package/{lib/Notification → es/notification}/style/index.d.ts +0 -0
- package/es/notification/style/index.js +2 -0
- package/{lib/Notification → es/notification}/style/index.less +0 -0
- package/es/style/index.less +1 -0
- package/es/style/themes/default/scrollBar.less +13 -0
- package/lib/Breadcrumb/index.d.ts +0 -1
- package/lib/Breadcrumb/style/index.less +11 -3
- package/lib/Button/index.js +18 -2
- package/lib/Button/style/index.less +41 -39
- package/lib/Button/style/variables.less +9 -2
- package/lib/Card/index.d.ts +3 -0
- package/lib/Card/index.js +15 -0
- package/lib/Card/style/index.d.ts +2 -0
- package/lib/{Message → Card}/style/index.js +0 -0
- package/lib/Card/style/index.less +1 -0
- package/lib/Checkbox/index.d.ts +0 -1
- package/lib/Checkbox/style/index.less +19 -0
- package/lib/Drawer/index.d.ts +4 -0
- package/lib/Drawer/index.js +15 -0
- package/lib/Drawer/style/index.d.ts +2 -0
- package/lib/{Notification → Drawer}/style/index.js +0 -0
- package/lib/Drawer/style/index.less +1 -0
- package/lib/Dropdown/Button.js +3 -3
- package/lib/Empty/image/Authority.d.ts +0 -1
- package/lib/Empty/image/Dataspace.d.ts +0 -1
- package/lib/Empty/image/Search.d.ts +0 -1
- package/lib/Empty/image/Simple.d.ts +0 -1
- package/lib/Empty/image/Worksheet.d.ts +0 -1
- package/lib/Empty/image/empty.d.ts +0 -1
- package/lib/Form/style/index.less +8 -0
- package/lib/Icon/antdIconfont.d.ts +4 -0
- package/lib/Icon/antdIconfont.js +13 -0
- package/lib/Icon/components/Icon.d.ts +32 -0
- package/lib/Icon/components/Icon.js +38 -0
- package/lib/Icon/components/createFromScripts.d.ts +1 -0
- package/lib/Icon/components/createFromScripts.js +41 -0
- package/lib/Icon/iconSvgs/arrows_right_sm.svg +3 -0
- package/lib/Icon/icons/AddLine.d.ts +13 -0
- package/lib/Icon/icons/AddLine.js +83 -0
- package/lib/Icon/icons/AlertFill.d.ts +13 -0
- package/lib/Icon/icons/AlertFill.js +90 -0
- package/lib/Icon/icons/ArrowsDownLine.d.ts +13 -0
- package/lib/Icon/icons/ArrowsDownLine.js +83 -0
- package/lib/Icon/icons/CancelFill.d.ts +13 -0
- package/lib/Icon/icons/CancelFill.js +90 -0
- package/lib/Icon/icons/CheckFill.d.ts +13 -0
- package/lib/Icon/icons/CheckFill.js +90 -0
- package/lib/Icon/icons/CheckLine.d.ts +13 -0
- package/lib/Icon/icons/CheckLine.js +90 -0
- package/lib/Icon/icons/CloseLine.d.ts +13 -0
- package/lib/Icon/icons/CloseLine.js +83 -0
- package/lib/Icon/icons/DatabaseLine.d.ts +13 -0
- package/lib/Icon/icons/DatabaseLine.js +83 -0
- package/lib/Icon/icons/Deleteline.d.ts +13 -0
- package/lib/Icon/icons/Deleteline.js +83 -0
- package/lib/Icon/icons/DownloadLine.d.ts +13 -0
- package/lib/Icon/icons/DownloadLine.js +90 -0
- package/lib/Icon/icons/ErrorFill.d.ts +13 -0
- package/lib/Icon/icons/ErrorFill.js +90 -0
- package/lib/Icon/icons/EyeOffLine.d.ts +13 -0
- package/lib/Icon/icons/EyeOffLine.js +90 -0
- package/lib/Icon/icons/EyeOnLine.d.ts +13 -0
- package/lib/Icon/icons/EyeOnLine.js +83 -0
- package/lib/Icon/icons/FileLine.d.ts +13 -0
- package/lib/Icon/icons/FileLine.js +90 -0
- package/lib/Icon/icons/HomeFill.d.ts +13 -0
- package/lib/Icon/icons/HomeFill.js +90 -0
- package/lib/Icon/icons/IconBase.withSpan.tpl +58 -0
- package/lib/Icon/icons/LightningLine.d.ts +13 -0
- package/lib/Icon/icons/LightningLine.js +83 -0
- package/lib/Icon/icons/Loading.d.ts +13 -0
- package/lib/Icon/icons/Loading.js +83 -0
- package/lib/Icon/icons/More.d.ts +13 -0
- package/lib/Icon/icons/More.js +83 -0
- package/lib/Icon/icons/NewWindowsLine.d.ts +13 -0
- package/lib/Icon/icons/NewWindowsLine.js +91 -0
- package/lib/Icon/icons/SearchLine.d.ts +13 -0
- package/lib/Icon/icons/SearchLine.js +90 -0
- package/lib/Icon/icons/SortAscendingLine.d.ts +13 -0
- package/lib/Icon/icons/SortAscendingLine.js +83 -0
- package/lib/Icon/icons/SortDescendingLine.d.ts +13 -0
- package/lib/Icon/icons/SortDescendingLine.js +83 -0
- package/lib/Icon/icons/TextLine.d.ts +13 -0
- package/lib/Icon/icons/TextLine.js +90 -0
- package/lib/Icon/icons/UserLine.d.ts +13 -0
- package/lib/Icon/icons/UserLine.js +90 -0
- package/lib/Icon/icons/style.css +9 -0
- package/lib/Icon/icons/style.css.d.ts +10 -0
- package/lib/Icon/index.d.ts +2 -13
- package/lib/Icon/index.js +2 -59
- package/lib/Icon/index.less +9 -17
- package/lib/Icon/style/index.d.ts +1 -0
- package/lib/Icon/style/index.js +1 -0
- package/lib/Icon/style/index.less +0 -0
- package/lib/Input/components/Group/index.d.ts +0 -1
- package/lib/Input/components/Password/index.js +7 -5
- package/lib/Input/style/index.less +1 -1
- package/lib/InputNumber/index.d.ts +0 -1
- package/lib/InputNumber/style/index.less +88 -16
- package/lib/Menu/Divider.d.ts +0 -1
- package/lib/Menu/style/index.less +4 -3
- package/lib/Modal/index.js +23 -12
- package/lib/Modal/locale.d.ts +7 -0
- package/lib/Modal/locale.js +31 -0
- package/lib/Modal/style/index.less +3 -3
- package/lib/Navigator/components/Header/index.d.ts +0 -1
- package/lib/Navigator/components/Menu/index.d.ts +0 -1
- package/lib/Navigator/components/MenuItem/index.d.ts +1 -1
- package/lib/Navigator/index.d.ts +1 -1
- package/lib/Navigator/style/index.less +46 -5
- package/lib/Popover/index.d.ts +0 -1
- package/lib/Select/index.d.ts +2 -1
- package/lib/Select/index.js +2 -1
- package/lib/Select/rc-select/OptionList.js +3 -4
- package/lib/Select/rc-select/Selector/MultipleSelector.js +13 -3
- package/lib/Select/rc-select/hooks/useOptions.d.ts +1 -1
- package/lib/Select/style/index.d.ts +0 -1
- package/lib/Select/style/index.js +0 -2
- package/lib/Select/style/index.less +105 -10
- package/lib/Select/style/variables.less +20 -9
- package/lib/Select/style/variables.less.d.ts +4 -1
- package/lib/Select/utils/iconUtil.d.ts +2 -2
- package/lib/Select/utils/iconUtil.js +11 -14
- package/lib/Table/Table.d.ts +0 -1
- package/lib/Table/Table.js +25 -15
- package/lib/Table/style/index.less +7 -0
- package/lib/Tabs/index.d.ts +2 -1
- package/lib/Tabs/index.js +9 -6
- package/lib/Tabs/style/index.less +67 -1
- package/lib/index.d.ts +8 -3
- package/lib/index.js +38 -14
- package/lib/locale/default.d.ts +2 -0
- package/lib/locale/default.js +13 -0
- package/lib/locale/en_US.d.ts +3 -0
- package/lib/locale/en_US.js +146 -0
- package/lib/locale/zh_CN.d.ts +3 -2
- package/lib/locale/zh_CN.js +134 -2
- package/lib/locale-provider/LocaleReceiver.d.ts +4 -0
- package/lib/locale-provider/LocaleReceiver.js +23 -0
- package/lib/locale-provider/context.d.ts +7 -0
- package/lib/locale-provider/context.js +12 -0
- package/lib/locale-provider/default.d.ts +2 -0
- package/lib/locale-provider/default.js +13 -0
- package/lib/locale-provider/en_US.d.ts +2 -0
- package/lib/locale-provider/en_US.js +13 -0
- package/lib/locale-provider/index.d.ts +61 -0
- package/lib/locale-provider/index.js +116 -0
- package/lib/locale-provider/style/index.d.ts +1 -0
- package/lib/locale-provider/style/index.js +3 -0
- package/lib/locale-provider/style/index.less +2 -0
- package/lib/locale-provider/zh_CN.d.ts +2 -0
- package/lib/locale-provider/zh_CN.js +13 -0
- package/lib/{Message → message}/index.d.ts +0 -0
- package/lib/{Message → message}/index.js +0 -0
- package/lib/message/style/index.d.ts +2 -0
- package/lib/message/style/index.js +5 -0
- package/lib/message/style/index.less +1 -0
- package/lib/{Notification → notification}/index.d.ts +0 -0
- package/lib/{Notification → notification}/index.js +0 -0
- package/lib/notification/style/index.d.ts +2 -0
- package/lib/notification/style/index.js +5 -0
- package/lib/notification/style/index.less +1 -0
- package/lib/style/index.less +1 -0
- package/lib/style/themes/default/scrollBar.less +13 -0
- package/package.json +10 -8
- package/es/Icon/iconfont/demo.css +0 -539
- package/es/Icon/iconfont/demo_index.html +0 -720
- package/es/Icon/iconfont/iconfont.css +0 -109
- package/es/Icon/iconfont/iconfont.js +0 -46
- package/es/Icon/iconfont/iconfont.json +0 -170
- package/es/Icon/iconfont/iconfont.ttf +0 -0
- package/es/Icon/iconfont/iconfont.woff +0 -0
- package/es/Icon/iconfont/iconfont.woff2 +0 -0
- package/es/Table/components/Empty/empty-img.png +0 -0
- package/es/Table/components/Empty/index.d.ts +0 -4
- package/es/Table/components/Empty/index.js +0 -16
- package/es/Table/components/Empty/index.less +0 -24
- package/lib/Icon/iconfont/demo.css +0 -539
- package/lib/Icon/iconfont/demo_index.html +0 -720
- package/lib/Icon/iconfont/iconfont.css +0 -109
- package/lib/Icon/iconfont/iconfont.js +0 -48
- package/lib/Icon/iconfont/iconfont.json +0 -170
- package/lib/Icon/iconfont/iconfont.ttf +0 -0
- package/lib/Icon/iconfont/iconfont.woff +0 -0
- package/lib/Icon/iconfont/iconfont.woff2 +0 -0
- package/lib/Table/components/Empty/empty-img.png +0 -0
- package/lib/Table/components/Empty/index.d.ts +0 -4
- package/lib/Table/components/Empty/index.js +0 -30
- package/lib/Table/components/Empty/index.less +0 -24
package/lib/Dropdown/Button.js
CHANGED
|
@@ -13,7 +13,7 @@ require("../Button/style");
|
|
|
13
13
|
|
|
14
14
|
var _index = _interopRequireDefault(require("./index"));
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _ArrowsDownLine = _interopRequireDefault(require("../Icon/icons/ArrowsDownLine"));
|
|
17
17
|
|
|
18
18
|
var _excluded = ["children", "overlay", "placement", "trigger", "visible", "disabled", "onVisibleChange"];
|
|
19
19
|
|
|
@@ -40,7 +40,7 @@ function DropdownButton(props) {
|
|
|
40
40
|
visible: visible,
|
|
41
41
|
disabled: disabled,
|
|
42
42
|
onVisibleChange: onVisibleChange
|
|
43
|
-
}, /*#__PURE__*/_react.default.createElement(_Button.default, Object.assign({}, buttonProps), children, /*#__PURE__*/_react.default.createElement(
|
|
44
|
-
|
|
43
|
+
}, /*#__PURE__*/_react.default.createElement(_Button.default, Object.assign({}, buttonProps), children, /*#__PURE__*/_react.default.createElement(_ArrowsDownLine.default, {
|
|
44
|
+
fill: "currentColor"
|
|
45
45
|
})));
|
|
46
46
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "createFromIconfontCN", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _icons.createFromIconfontCN;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
var _icons = require("@ant-design/icons");
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IBaseIconProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
type?: string;
|
|
5
|
+
size?: number | string;
|
|
6
|
+
color?: string;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
interface IIconParkIconAttributes<T> extends IBaseIconProps, React.HTMLAttributes<T> {
|
|
11
|
+
'icon-id'?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
size?: string;
|
|
14
|
+
type?: string;
|
|
15
|
+
width?: string;
|
|
16
|
+
height?: string;
|
|
17
|
+
color?: string;
|
|
18
|
+
stroke?: string;
|
|
19
|
+
fill?: string;
|
|
20
|
+
rtl?: boolean;
|
|
21
|
+
spin?: boolean;
|
|
22
|
+
className?: string;
|
|
23
|
+
style?: React.CSSProperties;
|
|
24
|
+
}
|
|
25
|
+
namespace JSX {
|
|
26
|
+
interface IntrinsicElements {
|
|
27
|
+
'iconpark-icon': React.DetailedHTMLProps<IIconParkIconAttributes<HTMLElement>, HTMLElement>;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
export { IBaseIconProps };
|
|
32
|
+
export default function Icon(props: IBaseIconProps): JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = Icon;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
+
|
|
12
|
+
var _excluded = ["type", "size", "className", "color"];
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
17
|
+
|
|
18
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
19
|
+
|
|
20
|
+
function Icon(props) {
|
|
21
|
+
var type = props.type,
|
|
22
|
+
_props$size = props.size,
|
|
23
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
24
|
+
_props$className = props.className,
|
|
25
|
+
className = _props$className === void 0 ? 'ald-icon' : _props$className,
|
|
26
|
+
_props$color = props.color,
|
|
27
|
+
color = _props$color === void 0 ? 'currentColor' : _props$color,
|
|
28
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
29
|
+
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement("iconpark-icon", Object.assign({
|
|
31
|
+
name: type,
|
|
32
|
+
// @ts-ignore react里web-component 只能使用class
|
|
33
|
+
class: (0, _classnames.default)('ald-icon', className),
|
|
34
|
+
size: String(size),
|
|
35
|
+
color: color,
|
|
36
|
+
fill: color
|
|
37
|
+
}, rest));
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function createFromScripts(scriptUrl: string[] | string, index?: number): void;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.createFromScripts = createFromScripts;
|
|
7
|
+
var FIRST_INDEX = 0;
|
|
8
|
+
var customCache = new Set();
|
|
9
|
+
|
|
10
|
+
function isValidCustomScriptUrl(scriptUrl) {
|
|
11
|
+
return Boolean(typeof scriptUrl === 'string' && scriptUrl.length && !customCache.has(scriptUrl));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function createFromScripts(scriptUrl) {
|
|
15
|
+
var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : FIRST_INDEX;
|
|
16
|
+
var scriptUrls = Array.isArray(scriptUrl) ? scriptUrl : [scriptUrl]; // index 表示即将创建的脚本的索引,当所有的脚本链接都创建之后,函数不再往下执行
|
|
17
|
+
|
|
18
|
+
if (index >= scriptUrls.length) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
var currentScriptUrl = scriptUrls[index];
|
|
23
|
+
|
|
24
|
+
if (isValidCustomScriptUrl(currentScriptUrl)) {
|
|
25
|
+
var script = document.createElement('script');
|
|
26
|
+
script.setAttribute('src', currentScriptUrl);
|
|
27
|
+
script.setAttribute('data-namespace', currentScriptUrl);
|
|
28
|
+
customCache.add(currentScriptUrl);
|
|
29
|
+
document.body.appendChild(script);
|
|
30
|
+
|
|
31
|
+
if (scriptUrls.length > index + 1) {
|
|
32
|
+
script.onload = function () {
|
|
33
|
+
createFromScripts(scriptUrls, index + 1);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
script.onerror = function () {
|
|
37
|
+
createFromScripts(scriptUrls, index + 1);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.16252 6.5876C9.39033 6.81541 9.39033 7.18475 9.16252 7.41256L5.66252 10.9126C5.43471 11.1404 5.06537 11.1404 4.83756 10.9126C4.60976 10.6848 4.60976 10.3154 4.83756 10.0876L7.92508 7.00008L4.83756 3.91256C4.60976 3.68475 4.60976 3.31541 4.83756 3.0876C5.06537 2.8598 5.43471 2.8598 5.66252 3.0876L9.16252 6.5876Z" fill="#001A33" fill-opacity="0.5"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function AddLine(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = AddLine;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
+
|
|
14
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
|
|
18
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
|
+
|
|
20
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
|
+
|
|
22
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
23
|
+
|
|
24
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
25
|
+
|
|
26
|
+
function AddLine(props) {
|
|
27
|
+
var root = (0, _react.useRef)(null);
|
|
28
|
+
|
|
29
|
+
var _props$size = props.size,
|
|
30
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
31
|
+
width = props.width,
|
|
32
|
+
height = props.height,
|
|
33
|
+
spin = props.spin,
|
|
34
|
+
rtl = props.rtl,
|
|
35
|
+
color = props.color,
|
|
36
|
+
fill = props.fill,
|
|
37
|
+
stroke = props.stroke,
|
|
38
|
+
className = props.className,
|
|
39
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
40
|
+
|
|
41
|
+
var _width = width || size;
|
|
42
|
+
|
|
43
|
+
var _height = height || size;
|
|
44
|
+
|
|
45
|
+
var _stroke = stroke || color;
|
|
46
|
+
|
|
47
|
+
var _fill = fill || color;
|
|
48
|
+
|
|
49
|
+
(0, _react.useEffect)(function () {
|
|
50
|
+
if (!_fill) {
|
|
51
|
+
var _root$current;
|
|
52
|
+
|
|
53
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
54
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (!_stroke) {
|
|
59
|
+
var _root$current2;
|
|
60
|
+
|
|
61
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
62
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}, [stroke, color, fill]);
|
|
66
|
+
return /*#__PURE__*/_react.default.createElement("svg", Object.assign({
|
|
67
|
+
ref: root,
|
|
68
|
+
width: _width,
|
|
69
|
+
height: _height,
|
|
70
|
+
viewBox: "0 0 24 24",
|
|
71
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
72
|
+
fill: "none",
|
|
73
|
+
role: "presentation",
|
|
74
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
75
|
+
className: "".concat(className || '', " ").concat(spin ? _style.default.spin : '', " ").concat(rtl ? _style.default.rtl : '').trim()
|
|
76
|
+
}, rest), /*#__PURE__*/_react.default.createElement("g", null, /*#__PURE__*/_react.default.createElement("path", {
|
|
77
|
+
"data-follow-fill": "#001A33",
|
|
78
|
+
d: "M13 2a1 1 0 0 0-2 0v9H2a1 1 0 1 0 0 2h9v9a1 1 0 1 0 2 0v-9h9a1 1 0 0 0 0-2h-9V2Z",
|
|
79
|
+
clipRule: "evenodd",
|
|
80
|
+
fillRule: "evenodd",
|
|
81
|
+
fill: _fill
|
|
82
|
+
})));
|
|
83
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function AlertFill(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = AlertFill;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
+
|
|
14
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
|
|
18
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
|
+
|
|
20
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
|
+
|
|
22
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
23
|
+
|
|
24
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
25
|
+
|
|
26
|
+
function AlertFill(props) {
|
|
27
|
+
var root = (0, _react.useRef)(null);
|
|
28
|
+
|
|
29
|
+
var _props$size = props.size,
|
|
30
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
31
|
+
width = props.width,
|
|
32
|
+
height = props.height,
|
|
33
|
+
spin = props.spin,
|
|
34
|
+
rtl = props.rtl,
|
|
35
|
+
color = props.color,
|
|
36
|
+
fill = props.fill,
|
|
37
|
+
stroke = props.stroke,
|
|
38
|
+
className = props.className,
|
|
39
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
40
|
+
|
|
41
|
+
var _width = width || size;
|
|
42
|
+
|
|
43
|
+
var _height = height || size;
|
|
44
|
+
|
|
45
|
+
var _stroke = stroke || color;
|
|
46
|
+
|
|
47
|
+
var _fill = fill || color;
|
|
48
|
+
|
|
49
|
+
(0, _react.useEffect)(function () {
|
|
50
|
+
if (!_fill) {
|
|
51
|
+
var _root$current;
|
|
52
|
+
|
|
53
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
54
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (!_stroke) {
|
|
59
|
+
var _root$current2;
|
|
60
|
+
|
|
61
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
62
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}, [stroke, color, fill]);
|
|
66
|
+
return /*#__PURE__*/_react.default.createElement("svg", Object.assign({
|
|
67
|
+
ref: root,
|
|
68
|
+
width: _width,
|
|
69
|
+
height: _height,
|
|
70
|
+
viewBox: "0 0 24 24",
|
|
71
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
72
|
+
fill: "none",
|
|
73
|
+
role: "presentation",
|
|
74
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
75
|
+
className: "".concat(className || '', " ").concat(spin ? _style.default.spin : '', " ").concat(rtl ? _style.default.rtl : '').trim()
|
|
76
|
+
}, rest), /*#__PURE__*/_react.default.createElement("g", null, /*#__PURE__*/_react.default.createElement("g", {
|
|
77
|
+
clipPath: "url(#5639c__a)"
|
|
78
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
79
|
+
"data-follow-fill": "#001A33",
|
|
80
|
+
d: "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0Zm0 19a1 1 0 0 1-1-1v-7.5a1 1 0 1 1 2 0V18a1 1 0 0 1-1 1Zm1-12.5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1Z",
|
|
81
|
+
clipRule: "evenodd",
|
|
82
|
+
fillRule: "evenodd",
|
|
83
|
+
fill: _fill
|
|
84
|
+
})), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("clipPath", {
|
|
85
|
+
id: "5639c__a"
|
|
86
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
87
|
+
fill: "#fff",
|
|
88
|
+
d: "M0 0h24v24H0z"
|
|
89
|
+
})))));
|
|
90
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function ArrowsDownLine(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = ArrowsDownLine;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
+
|
|
14
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
|
|
18
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
|
+
|
|
20
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
|
+
|
|
22
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
23
|
+
|
|
24
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
25
|
+
|
|
26
|
+
function ArrowsDownLine(props) {
|
|
27
|
+
var root = (0, _react.useRef)(null);
|
|
28
|
+
|
|
29
|
+
var _props$size = props.size,
|
|
30
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
31
|
+
width = props.width,
|
|
32
|
+
height = props.height,
|
|
33
|
+
spin = props.spin,
|
|
34
|
+
rtl = props.rtl,
|
|
35
|
+
color = props.color,
|
|
36
|
+
fill = props.fill,
|
|
37
|
+
stroke = props.stroke,
|
|
38
|
+
className = props.className,
|
|
39
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
40
|
+
|
|
41
|
+
var _width = width || size;
|
|
42
|
+
|
|
43
|
+
var _height = height || size;
|
|
44
|
+
|
|
45
|
+
var _stroke = stroke || color;
|
|
46
|
+
|
|
47
|
+
var _fill = fill || color;
|
|
48
|
+
|
|
49
|
+
(0, _react.useEffect)(function () {
|
|
50
|
+
if (!_fill) {
|
|
51
|
+
var _root$current;
|
|
52
|
+
|
|
53
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
54
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (!_stroke) {
|
|
59
|
+
var _root$current2;
|
|
60
|
+
|
|
61
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
62
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}, [stroke, color, fill]);
|
|
66
|
+
return /*#__PURE__*/_react.default.createElement("svg", Object.assign({
|
|
67
|
+
ref: root,
|
|
68
|
+
width: _width,
|
|
69
|
+
height: _height,
|
|
70
|
+
viewBox: "0 0 24 24",
|
|
71
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
72
|
+
fill: "none",
|
|
73
|
+
role: "presentation",
|
|
74
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
75
|
+
className: "".concat(className || '', " ").concat(spin ? _style.default.spin : '', " ").concat(rtl ? _style.default.rtl : '').trim()
|
|
76
|
+
}, rest), /*#__PURE__*/_react.default.createElement("g", null, /*#__PURE__*/_react.default.createElement("path", {
|
|
77
|
+
"data-follow-fill": "#001A33",
|
|
78
|
+
fillRule: "evenodd",
|
|
79
|
+
clipRule: "evenodd",
|
|
80
|
+
d: "M12.707 15.707a1 1 0 0 1-1.414 0l-6-6a1 1 0 0 1 1.414-1.414L12 13.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-6 6Z",
|
|
81
|
+
fill: _fill
|
|
82
|
+
})));
|
|
83
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function CancelFill(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = CancelFill;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
+
|
|
14
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
|
|
18
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
|
+
|
|
20
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
|
+
|
|
22
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
23
|
+
|
|
24
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
25
|
+
|
|
26
|
+
function CancelFill(props) {
|
|
27
|
+
var root = (0, _react.useRef)(null);
|
|
28
|
+
|
|
29
|
+
var _props$size = props.size,
|
|
30
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
31
|
+
width = props.width,
|
|
32
|
+
height = props.height,
|
|
33
|
+
spin = props.spin,
|
|
34
|
+
rtl = props.rtl,
|
|
35
|
+
color = props.color,
|
|
36
|
+
fill = props.fill,
|
|
37
|
+
stroke = props.stroke,
|
|
38
|
+
className = props.className,
|
|
39
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
40
|
+
|
|
41
|
+
var _width = width || size;
|
|
42
|
+
|
|
43
|
+
var _height = height || size;
|
|
44
|
+
|
|
45
|
+
var _stroke = stroke || color;
|
|
46
|
+
|
|
47
|
+
var _fill = fill || color;
|
|
48
|
+
|
|
49
|
+
(0, _react.useEffect)(function () {
|
|
50
|
+
if (!_fill) {
|
|
51
|
+
var _root$current;
|
|
52
|
+
|
|
53
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
54
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (!_stroke) {
|
|
59
|
+
var _root$current2;
|
|
60
|
+
|
|
61
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
62
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}, [stroke, color, fill]);
|
|
66
|
+
return /*#__PURE__*/_react.default.createElement("svg", Object.assign({
|
|
67
|
+
ref: root,
|
|
68
|
+
width: _width,
|
|
69
|
+
height: _height,
|
|
70
|
+
viewBox: "0 0 24 24",
|
|
71
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
72
|
+
fill: "none",
|
|
73
|
+
role: "presentation",
|
|
74
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
75
|
+
className: "".concat(className || '', " ").concat(spin ? _style.default.spin : '', " ").concat(rtl ? _style.default.rtl : '').trim()
|
|
76
|
+
}, rest), /*#__PURE__*/_react.default.createElement("g", null, /*#__PURE__*/_react.default.createElement("g", {
|
|
77
|
+
clipPath: "url(#56415__a)"
|
|
78
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
79
|
+
"data-follow-fill": "#001A33",
|
|
80
|
+
d: "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM6.343 6.343a1 1 0 0 1 1.414 0L12 10.586l4.243-4.243a1 1 0 1 1 1.414 1.414L13.414 12l4.243 4.243a1 1 0 1 1-1.414 1.414L12 13.414l-4.243 4.243a1 1 0 0 1-1.414-1.414L10.586 12 6.343 7.757a1 1 0 0 1 0-1.414Z",
|
|
81
|
+
clipRule: "evenodd",
|
|
82
|
+
fillRule: "evenodd",
|
|
83
|
+
fill: _fill
|
|
84
|
+
})), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("clipPath", {
|
|
85
|
+
id: "56415__a"
|
|
86
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
87
|
+
fill: "#fff",
|
|
88
|
+
d: "M0 0h24v24H0z"
|
|
89
|
+
})))));
|
|
90
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function CheckFill(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|