foxit-component 0.0.1-alpha.1 → 0.0.1-alpha.3

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.
Files changed (69) hide show
  1. package/es/Button/Button.d.ts +8 -11
  2. package/es/Button/Button.js +4 -6
  3. package/es/Button/button.css.js +1 -1
  4. package/es/Checkbox/Checkbox.d.ts +10 -0
  5. package/es/Checkbox/Checkbox.js +19 -0
  6. package/es/Checkbox/checkbox.css.js +6 -0
  7. package/es/Empty/Empty.d.ts +7 -0
  8. package/es/Empty/Empty.js +11 -0
  9. package/es/Empty/empty.css.js +6 -0
  10. package/es/Form/Form.d.ts +14 -0
  11. package/es/Form/Form.js +38 -0
  12. package/es/Form/Form.types.d.ts +39 -0
  13. package/es/Form/FormContext.d.ts +3 -0
  14. package/es/Form/FormContext.js +5 -0
  15. package/es/Form/FormItem.d.ts +16 -0
  16. package/es/Form/FormItem.js +35 -0
  17. package/es/Form/FormProvider.d.ts +10 -0
  18. package/es/Form/FormProvider.js +227 -0
  19. package/es/Form/form.css.js +6 -0
  20. package/es/Icon/index.d.ts +7 -0
  21. package/es/Icon/index.js +9 -0
  22. package/es/Input/Input.d.ts +13 -0
  23. package/es/Input/Input.js +28 -0
  24. package/es/Input/input.css.js +6 -0
  25. package/es/Menu/Menu.d.ts +22 -0
  26. package/es/Menu/Menu.js +50 -0
  27. package/es/Menu/menu.css.js +6 -0
  28. package/es/Modal/Modal.d.ts +20 -0
  29. package/es/Modal/Modal.js +39 -0
  30. package/es/Modal/ModalTemp.d.ts +11 -0
  31. package/es/Modal/ModalTemp.js +72 -0
  32. package/es/Modal/modal.css.js +6 -0
  33. package/es/Pagination/Pagination.d.ts +10 -0
  34. package/es/Pagination/Pagination.js +82 -0
  35. package/es/Pagination/pagination.css.js +6 -0
  36. package/es/Radio/Radio.d.ts +18 -0
  37. package/es/Radio/Radio.js +45 -0
  38. package/es/Radio/radio.css.js +6 -0
  39. package/es/Select/Select.d.ts +17 -0
  40. package/es/Select/Select.js +42 -0
  41. package/es/Table/Table.d.ts +15 -0
  42. package/es/Table/Table.js +15 -0
  43. package/es/Table/table.css.js +6 -0
  44. package/es/Tabs/Tabs.d.ts +14 -0
  45. package/es/Tabs/Tabs.js +22 -0
  46. package/es/Tabs/tabs.css.js +6 -0
  47. package/es/Tag/Tag.d.ts +8 -0
  48. package/es/Tag/Tag.js +11 -0
  49. package/es/Tag/tag.css.js +6 -0
  50. package/es/Toast/Toast.d.ts +5 -0
  51. package/es/Toast/Toast.js +44 -0
  52. package/es/Toast/Toast.types.d.ts +5 -0
  53. package/es/Toast/ToastContainer.d.ts +3 -0
  54. package/es/Toast/ToastContainer.js +47 -0
  55. package/es/Toast/ToastManager.d.ts +8 -0
  56. package/es/Toast/ToastManager.js +19 -0
  57. package/es/Toast/index.d.ts +8 -0
  58. package/es/Toast/index.js +39 -0
  59. package/es/Toast/toast.css.js +6 -0
  60. package/es/Tooltip/Tooltip.d.ts +8 -0
  61. package/es/Tooltip/Tooltip.js +31 -0
  62. package/es/Tooltip/tooltip.css.js +6 -0
  63. package/es/constants/icons.d.ts +24 -0
  64. package/es/constants/icons.js +29 -0
  65. package/es/index.d.ts +33 -0
  66. package/es/index.js +16 -0
  67. package/es/node_modules/style-inject/dist/style-inject.es.js +1 -1
  68. package/es/node_modules/tslib/tslib.es6.js +11 -1
  69. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import './toast.css';
2
+ import ToastManager from './ToastManager';
3
+ export declare const createToastContainer: (toastManager: ToastManager, duration?: number, unique?: string) => void;
@@ -0,0 +1,47 @@
1
+ import { __assign } from '../node_modules/tslib/tslib.es6.js';
2
+ import { jsx, Fragment } from 'react/jsx-runtime';
3
+ import { useState, useEffect } from 'react';
4
+ import { createRoot } from 'react-dom/client';
5
+ import './toast.css.js';
6
+ import Toast from './Toast.js';
7
+
8
+ var createToastContainer = function (toastManager, duration, unique) {
9
+ var toastContainer = document.querySelector('.foxit-toast-container');
10
+ if (!toastContainer) {
11
+ toastContainer = document.createElement('div');
12
+ toastContainer.className = 'foxit-toast-container';
13
+ document.body.appendChild(toastContainer);
14
+ }
15
+ var id = new Date().getTime().toString();
16
+ var container = document.createElement('div');
17
+ if (unique) {
18
+ container.setAttribute('data-unique', unique);
19
+ }
20
+ container.setAttribute('data-id', id);
21
+ toastContainer.appendChild(container);
22
+ var root = createRoot(container);
23
+ root.render(jsx(ToastContainer, { uuid: id, toastManager: toastManager, duration: duration || 4000 }));
24
+ };
25
+ var ToastContainer = function (_a) {
26
+ var uuid = _a.uuid, toastManager = _a.toastManager, duration = _a.duration;
27
+ var _b = useState(null), toast = _b[0], setToast = _b[1];
28
+ useEffect(function () {
29
+ setToast(toastManager.getToast());
30
+ }, [toastManager]);
31
+ useEffect(function () {
32
+ var timer = setTimeout(function () {
33
+ var container = document.querySelector("[data-id=\"".concat(Number(uuid), "\"]"));
34
+ if (container) {
35
+ var toastContainer = document.querySelector('.foxit-toast-container');
36
+ toastContainer === null || toastContainer === void 0 ? void 0 : toastContainer.removeChild(container);
37
+ if (!(toastContainer === null || toastContainer === void 0 ? void 0 : toastContainer.childNodes.length)) {
38
+ document.body.removeChild(toastContainer);
39
+ }
40
+ }
41
+ }, duration || 4000);
42
+ return function () { return clearTimeout(timer); };
43
+ }, [toast, duration]);
44
+ return jsx(Fragment, { children: toast && jsx(Toast, __assign({}, toast, { duration: duration })) });
45
+ };
46
+
47
+ export { createToastContainer };
@@ -0,0 +1,8 @@
1
+ import { ToastProps } from './Toast.types';
2
+ declare class ToastManager {
3
+ private toast;
4
+ addToast(toast: ToastProps): void;
5
+ removeToast(): void;
6
+ getToast(): ToastProps | null;
7
+ }
8
+ export default ToastManager;
@@ -0,0 +1,19 @@
1
+ var ToastManager = /** @class */ (function () {
2
+ function ToastManager() {
3
+ this.toast = null;
4
+ }
5
+ ToastManager.prototype.addToast = function (toast) {
6
+ var _this = this;
7
+ this.toast = toast;
8
+ setTimeout(function () { return _this.removeToast(); }, toast.duration || 4000);
9
+ };
10
+ ToastManager.prototype.removeToast = function () {
11
+ this.toast = null;
12
+ };
13
+ ToastManager.prototype.getToast = function () {
14
+ return this.toast;
15
+ };
16
+ return ToastManager;
17
+ }());
18
+
19
+ export { ToastManager as default };
@@ -0,0 +1,8 @@
1
+ declare const Toast: {
2
+ success(content: string, duration?: number): void;
3
+ error(content: string, duration?: number): void;
4
+ warning(content: string, duration?: number): void;
5
+ loading(content: string, duration?: number, uniqueKey?: string): void;
6
+ destroy(uniqueKey?: string): void;
7
+ };
8
+ export default Toast;
@@ -0,0 +1,39 @@
1
+ import { createToastContainer } from './ToastContainer.js';
2
+ import ToastManager from './ToastManager.js';
3
+
4
+ var Toast = {
5
+ success: function (content, duration) {
6
+ var toastManager = new ToastManager();
7
+ createToastContainer(toastManager, duration);
8
+ toastManager.addToast({ toast: content, type: 'success', duration: duration });
9
+ },
10
+ error: function (content, duration) {
11
+ var toastManager = new ToastManager();
12
+ createToastContainer(toastManager, duration);
13
+ toastManager.addToast({ toast: content, type: 'error', duration: duration });
14
+ },
15
+ warning: function (content, duration) {
16
+ var toastManager = new ToastManager();
17
+ createToastContainer(toastManager, duration);
18
+ toastManager.addToast({ toast: content, type: 'warning', duration: duration });
19
+ },
20
+ loading: function (content, duration, uniqueKey) {
21
+ var toastManager = new ToastManager();
22
+ createToastContainer(toastManager, duration, uniqueKey);
23
+ toastManager.addToast({ toast: content, type: 'loading', duration: duration });
24
+ },
25
+ destroy: function (uniqueKey) {
26
+ var toastContainer = document.querySelector('.foxit-toast-container');
27
+ if (uniqueKey) {
28
+ var container = document.querySelector("[data-unique=\"".concat(uniqueKey, "\"]"));
29
+ if (container) {
30
+ toastContainer === null || toastContainer === void 0 ? void 0 : toastContainer.removeChild(container);
31
+ }
32
+ }
33
+ else {
34
+ document.body.removeChild(toastContainer);
35
+ }
36
+ }
37
+ };
38
+
39
+ export { Toast as default };
@@ -0,0 +1,6 @@
1
+ import styleInject from '../node_modules/style-inject/dist/style-inject.es.js';
2
+
3
+ var css_248z = ".foxit-toast-container {\n width: 100%;\n position: fixed;\n pointer-events: none;\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 0.5s;\n left: 50%;\n transition-delay: 0s;\n transform: translateX(-50%);\n z-index: 2000;\n top: 0;\n}\n\n.foxit-toast-loading {\n animation: spin 1s linear infinite;\n color: #ff5f00;\n}\n\n@keyframes spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n\n.foxit-toast-loading-overlay {\n position: fixed;\n inset: 0;\n background-color: #000000;\n opacity: 0.15;\n z-index: 10;\n pointer-events: auto;\n height: 100vh;\n}\n\n.foxit-toast-item {\n position: relative;\n top: 64px;\n z-index: 20;\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 0.15s;\n width: fit-content;\n margin-left: auto;\n margin-right: auto;\n background-color: #ffffff;\n color: #525252;\n padding: 9px 12px;\n border-radius: 50px;\n border: none;\n margin-bottom: 16px;\n display: flex;\n flex-direction: row;\n gap: 8px;\n justify-content: center;\n align-items: center;\n}\n\n.foxit-toast-item-success {\n background-color: #ddfae8;\n color: #1f7f40;\n}\n\n.foxit-toast-item-error {\n background-color: #fae5dd;\n color: #e22727;\n}\n\n.foxit-toast-item-warning {\n background-color: #fff0e7;\n color: #525252;\n}\n\n.foxit-toast-enter {\n opacity: 0;\n transform: translateY(-100%);\n}\n\n.foxit-toast-enter-active {\n opacity: 1;\n transform: translateY(0);\n transition: all 0.5s ease-out;\n}\n\n.foxit-toast-exit {\n opacity: 1;\n transform: translateY(0);\n}\n\n.foxit-toast-exit-active {\n opacity: 0;\n transform: translateY(-100%);\n transition: all 0.5s ease-in;\n}\n";
4
+ styleInject(css_248z);
5
+
6
+ export { css_248z as default };
@@ -0,0 +1,8 @@
1
+ import React, { ReactNode } from 'react';
2
+ import './tooltip.css';
3
+ interface TooltipProps {
4
+ title: string | ReactNode;
5
+ children: ReactNode;
6
+ }
7
+ declare const Tooltip: React.FC<TooltipProps>;
8
+ export default Tooltip;
@@ -0,0 +1,31 @@
1
+ import { __assign } from '../node_modules/tslib/tslib.es6.js';
2
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
3
+ import { useState, useRef } from 'react';
4
+ import './tooltip.css.js';
5
+
6
+ var Tooltip = function (_a) {
7
+ var title = _a.title, children = _a.children;
8
+ var _b = useState(false), visible = _b[0], setVisible = _b[1];
9
+ var childRef = useRef(null);
10
+ var tooltipRef = useRef(null);
11
+ var handleMouseEnter = function () {
12
+ setVisible(true);
13
+ };
14
+ var handleMouseLeave = function () {
15
+ setVisible(false);
16
+ };
17
+ var calculateTooltipPosition = function () {
18
+ var _a;
19
+ if (childRef.current) {
20
+ var tooltipHeight = ((_a = tooltipRef.current) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0;
21
+ return tooltipHeight + 4;
22
+ }
23
+ return '';
24
+ };
25
+ return (jsxs("div", __assign({ className: "foxit-tooltip-container", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ref: childRef }, { children: [children, jsxs("div", __assign({ className: "foxit-tooltip-content", style: {
26
+ visibility: visible ? 'visible' : 'hidden',
27
+ top: -calculateTooltipPosition()
28
+ }, ref: tooltipRef }, { children: [jsx(Fragment, { children: title }), jsx("div", { className: "foxit-tooltip-arrow" })] }))] })));
29
+ };
30
+
31
+ export { Tooltip as default };
@@ -0,0 +1,6 @@
1
+ import styleInject from '../node_modules/style-inject/dist/style-inject.es.js';
2
+
3
+ var css_248z = ".foxit-tooltip-container {\n position: relative;\n display: inline-block;\n width: auto;\n}\n\n.foxit-tooltip-content {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n background-color: #525252;\n color: #fff;\n /* text-align: center; */\n border-radius: 10px;\n padding: 12px 16px;\n z-index: 1;\n max-width: 300px;\n width: max-content;\n}\n\n.foxit-tooltip-arrow {\n position: absolute;\n left: 50%;\n bottom: -5px;\n transform: translateX(-50%);\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 5px solid #525252;\n}\n";
4
+ styleInject(css_248z);
5
+
6
+ export { css_248z as default };
@@ -0,0 +1,24 @@
1
+ export type AppIconsType = keyof typeof ICONS;
2
+ export declare const ICONS: Readonly<{
3
+ ArrowRightOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
4
+ ArrowLeftOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
5
+ SearchOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
6
+ AccountOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
7
+ OrderOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
8
+ PlanOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
9
+ ManageMentOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
10
+ SupportOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
11
+ DownOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
12
+ StatusOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
13
+ CheckCircleOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
14
+ EyeInvisibleOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
15
+ EyeOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
16
+ MoreOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
17
+ LoadingOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
18
+ CloseOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
19
+ QuestionCircleOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
20
+ SuccessColoursOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
21
+ ErrorColoursOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
22
+ WarningColoursOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
23
+ EmptyColoursOutlined: (className?: string) => import("react/jsx-runtime").JSX.Element;
24
+ }>;
@@ -0,0 +1,29 @@
1
+ import { __assign } from '../node_modules/tslib/tslib.es6.js';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+
4
+ var ICONS = Object.freeze({
5
+ ArrowRightOutlined: function (className) { return (jsx("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.5303 12.5303C18.8232 12.2374 18.8232 11.7626 18.5303 11.4697L14.5303 7.46967C14.2374 7.17678 13.7626 7.17678 13.4697 7.46967C13.1768 7.76256 13.1768 8.23744 13.4697 8.53033L16.1893 11.25L6 11.25C5.58579 11.25 5.25 11.5858 5.25 12C5.25 12.4142 5.58579 12.75 6 12.75L16.1893 12.75L13.4697 15.4697C13.1768 15.7626 13.1768 16.2374 13.4697 16.5303C13.7626 16.8232 14.2374 16.8232 14.5303 16.5303L18.5303 12.5303Z", fill: "currentColor" }) }))); },
6
+ ArrowLeftOutlined: function (className) { return (jsx("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.46967 12.5303C5.17678 12.2374 5.17678 11.7626 5.46967 11.4697L9.46967 7.46967C9.76256 7.17678 10.2374 7.17678 10.5303 7.46967C10.8232 7.76256 10.8232 8.23744 10.5303 8.53033L7.81066 11.25L18 11.25C18.4142 11.25 18.75 11.5858 18.75 12C18.75 12.4142 18.4142 12.75 18 12.75L7.81066 12.75L10.5303 15.4697C10.8232 15.7626 10.8232 16.2374 10.5303 16.5303C10.2374 16.8232 9.76256 16.8232 9.46967 16.5303L5.46967 12.5303Z", fill: "currentColor" }) }))); },
7
+ SearchOutlined: function (className) { return (jsx("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { d: "M22.4888 19.7807L18.369 16.4701C19.2097 15.0915 19.7028 13.4778 19.7028 11.7449C19.7028 6.71921 15.6287 2.64502 10.6029 2.64502C5.57717 2.64502 1.50305 6.71921 1.50305 11.7449C1.50305 16.7707 5.57717 20.8448 10.6029 20.8448C13.4835 20.8448 16.0468 19.5026 17.7142 17.4137L21.7715 20.6737L22.4888 19.7807ZM10.6029 19.6989C6.21713 19.6989 2.64899 16.1308 2.64899 11.745C2.64899 7.35914 6.21713 3.79101 10.6029 3.79101C14.9887 3.79101 18.5568 7.35914 18.5568 11.745C18.5568 16.1308 14.9887 19.6989 10.6029 19.6989Z", fill: "currentColor" }) }))); },
8
+ AccountOutlined: function (className) { return (jsxs("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: [jsx("g", __assign({ clipPath: "url(#clip0_1651_18099)" }, { children: jsx("path", { d: "M3 4.995C3 3.893 3.893 3 4.995 3H19.005C20.107 3 21 3.893 21 4.995V19.005C21 19.5341 20.7898 20.0415 20.4157 20.4157C20.0415 20.7898 19.5341 21 19.005 21H4.995C4.46589 21 3.95846 20.7898 3.58432 20.4157C3.21019 20.0415 3 19.5341 3 19.005V4.995ZM5 5V19H19V5H5ZM7.972 18.18C7.35698 17.9136 6.77036 17.586 6.221 17.202C6.85527 16.219 7.72596 15.4108 8.75339 14.8514C9.78082 14.292 10.9322 13.9993 12.102 14C14.502 14 16.619 15.207 17.88 17.047C17.3412 17.4456 16.7636 17.789 16.156 18.072C15.6929 17.43 15.0838 16.9073 14.3789 16.547C13.674 16.1868 12.8936 15.9993 12.102 16C10.387 16 8.872 16.864 7.972 18.18ZM12 13C11.5404 13 11.0852 12.9095 10.6606 12.7336C10.236 12.5577 9.85013 12.2999 9.52513 11.9749C9.20012 11.6499 8.94231 11.264 8.76642 10.8394C8.59053 10.4148 8.5 9.95963 8.5 9.5C8.5 9.04037 8.59053 8.58525 8.76642 8.16061C8.94231 7.73597 9.20012 7.35013 9.52513 7.02513C9.85013 6.70012 10.236 6.44231 10.6606 6.26642C11.0852 6.09053 11.5404 6 12 6C12.9283 6 13.8185 6.36875 14.4749 7.02513C15.1313 7.6815 15.5 8.57174 15.5 9.5C15.5 10.4283 15.1313 11.3185 14.4749 11.9749C13.8185 12.6313 12.9283 13 12 13ZM12 11C12.3978 11 12.7794 10.842 13.0607 10.5607C13.342 10.2794 13.5 9.89782 13.5 9.5C13.5 9.10218 13.342 8.72064 13.0607 8.43934C12.7794 8.15804 12.3978 8 12 8C11.6022 8 11.2206 8.15804 10.9393 8.43934C10.658 8.72064 10.5 9.10218 10.5 9.5C10.5 9.89782 10.658 10.2794 10.9393 10.5607C11.2206 10.842 11.6022 11 12 11Z", fill: "currentColor" }) })), jsx("defs", { children: jsx("clipPath", __assign({ id: "clip0_1651_18099" }, { children: jsx("rect", { width: "24", height: "24", fill: "white" }) })) })] }))); },
9
+ OrderOutlined: function (className) { return (jsxs("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: [jsx("g", __assign({ clipPath: "url(#clip0_1651_3193)" }, { children: jsx("path", { d: "M16 20V4H4V19C4 19.2652 4.10536 19.5196 4.29289 19.7071C4.48043 19.8946 4.73478 20 5 20H16ZM19 22H5C4.20435 22 3.44129 21.6839 2.87868 21.1213C2.31607 20.5587 2 19.7956 2 19V3C2 2.73478 2.10536 2.48043 2.29289 2.29289C2.48043 2.10536 2.73478 2 3 2H17C17.2652 2 17.5196 2.10536 17.7071 2.29289C17.8946 2.48043 18 2.73478 18 3V10H22V19C22 19.7956 21.6839 20.5587 21.1213 21.1213C20.5587 21.6839 19.7956 22 19 22ZM18 12V19C18 19.2652 18.1054 19.5196 18.2929 19.7071C18.4804 19.8946 18.7348 20 19 20C19.2652 20 19.5196 19.8946 19.7071 19.7071C19.8946 19.5196 20 19.2652 20 19V12H18ZM6 6H12V12H6V6ZM8 8V10H10V8H8ZM6 13H14V15H6V13ZM6 16H14V18H6V16Z", fill: "currentColor" }) })), jsx("defs", { children: jsx("clipPath", __assign({ id: "clip0_1651_3193" }, { children: jsx("rect", { width: "24", height: "24", fill: "white" }) })) })] }))); },
10
+ PlanOutlined: function (className) { return (jsxs("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: [jsx("g", __assign({ clipPath: "url(#clip0_1651_3204)" }, { children: jsx("path", { d: "M3 3H11V11H3V3ZM3 13H11V21H3V13ZM13 3H21V11H13V3ZM13 13H21V21H13V13ZM15 5V9H19V5H15ZM15 15V19H19V15H15ZM5 5V9H9V5H5ZM5 15V19H9V15H5Z", fill: "currentColor" }) })), jsx("defs", { children: jsx("clipPath", __assign({ id: "clip0_1651_3204" }, { children: jsx("rect", { width: "24", height: "24", fill: "white" }) })) })] }))); },
11
+ ManageMentOutlined: function (className) { return (jsx("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { d: "M2 11.9998C2 11.1348 2.11 10.2968 2.316 9.49582C2.86847 9.52486 3.4182 9.40057 3.90444 9.13668C4.39068 8.8728 4.79448 8.47961 5.07121 8.00056C5.34793 7.52152 5.48681 6.97528 5.47247 6.42224C5.45814 5.8692 5.29117 5.33089 4.99 4.86682C6.19894 3.67739 7.69079 2.81531 9.325 2.36182C9.57599 2.85529 9.95864 3.26968 10.4306 3.55913C10.9025 3.84857 11.4454 4.00177 11.999 4.00177C12.5526 4.00177 13.0955 3.84857 13.5674 3.55913C14.0394 3.26968 14.422 2.85529 14.673 2.36182C16.3072 2.81531 17.7991 3.67739 19.008 4.86682C18.7065 5.33097 18.5393 5.86949 18.5248 6.42278C18.5104 6.97608 18.6493 7.52258 18.9262 8.00183C19.2031 8.48108 19.6071 8.87438 20.0937 9.13823C20.5802 9.40208 21.1303 9.52619 21.683 9.49682C21.889 10.2968 21.999 11.1348 21.999 11.9998C21.999 12.8648 21.889 13.7028 21.683 14.5038C21.1305 14.4746 20.5806 14.5987 20.0942 14.8625C19.6078 15.1263 19.2039 15.5195 18.927 15.9986C18.6502 16.4777 18.5112 17.024 18.5255 17.5771C18.5398 18.1303 18.7068 18.6687 19.008 19.1328C17.7991 20.3222 16.3072 21.1843 14.673 21.6378C14.422 21.1443 14.0394 20.7299 13.5674 20.4405C13.0955 20.1511 12.5526 19.9979 11.999 19.9979C11.4454 19.9979 10.9025 20.1511 10.4306 20.4405C9.95864 20.7299 9.57599 21.1443 9.325 21.6378C7.69079 21.1843 6.19894 20.3222 4.99 19.1328C5.29151 18.6687 5.45873 18.1301 5.47317 17.5769C5.48761 17.0236 5.3487 16.4771 5.07181 15.9978C4.79492 15.5186 4.39085 15.1252 3.90431 14.8614C3.41776 14.5976 2.8677 14.4734 2.315 14.5028C2.11 13.7038 2 12.8658 2 11.9998ZM6.804 14.9998C7.434 16.0908 7.614 17.3458 7.368 18.5238C7.776 18.8138 8.21 19.0648 8.665 19.2738C9.58167 18.4527 10.7693 17.999 12 17.9998C13.26 17.9998 14.438 18.4708 15.335 19.2738C15.79 19.0648 16.224 18.8138 16.632 18.5238C16.3794 17.3198 16.5803 16.0649 17.196 14.9998C17.8106 13.9342 18.797 13.133 19.966 12.7498C20.0122 12.2509 20.0122 11.7487 19.966 11.2498C18.7966 10.8669 17.8099 10.0656 17.195 8.99982C16.5793 7.93475 16.3784 6.67985 16.631 5.47582C16.2231 5.18574 15.7889 4.93464 15.334 4.72582C14.4176 5.54675 13.2303 6.00043 12 5.99982C10.7693 6.00067 9.58167 5.54698 8.665 4.72582C8.21013 4.93464 7.77589 5.18574 7.368 5.47582C7.62056 6.67985 7.41972 7.93475 6.804 8.99982C6.18937 10.0654 5.20298 10.8667 4.034 11.2498C3.98775 11.7487 3.98775 12.2509 4.034 12.7498C5.20335 13.1328 6.19013 13.934 6.805 14.9998H6.804ZM12 14.9998C11.2044 14.9998 10.4413 14.6837 9.87868 14.1211C9.31607 13.5585 9 12.7955 9 11.9998C9 11.2042 9.31607 10.4411 9.87868 9.8785C10.4413 9.31589 11.2044 8.99982 12 8.99982C12.7956 8.99982 13.5587 9.31589 14.1213 9.8785C14.6839 10.4411 15 11.2042 15 11.9998C15 12.7955 14.6839 13.5585 14.1213 14.1211C13.5587 14.6837 12.7956 14.9998 12 14.9998ZM12 12.9998C12.2652 12.9998 12.5196 12.8945 12.7071 12.7069C12.8946 12.5194 13 12.265 13 11.9998C13 11.7346 12.8946 11.4802 12.7071 11.2927C12.5196 11.1052 12.2652 10.9998 12 10.9998C11.7348 10.9998 11.4804 11.1052 11.2929 11.2927C11.1054 11.4802 11 11.7346 11 11.9998C11 12.265 11.1054 12.5194 11.2929 12.7069C11.4804 12.8945 11.7348 12.9998 12 12.9998Z", fill: "currentColor" }) }))); },
12
+ SupportOutlined: function (className) { return (jsxs("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: [jsx("g", __assign({ clipPath: "url(#clip0_1651_3232)" }, { children: jsx("path", { d: "M5.763 17H20V5H4V18.385L5.763 17ZM6.455 19L2 22.5V4C2 3.73478 2.10536 3.48043 2.29289 3.29289C2.48043 3.10536 2.73478 3 3 3H21C21.2652 3 21.5196 3.10536 21.7071 3.29289C21.8946 3.48043 22 3.73478 22 4V18C22 18.2652 21.8946 18.5196 21.7071 18.7071C21.5196 18.8946 21.2652 19 21 19H6.455ZM11 14H13V16H11V14ZM8.567 8.813C8.69692 8.16279 9.00882 7.56285 9.4664 7.08298C9.92397 6.60311 10.5084 6.26304 11.1517 6.10236C11.795 5.94167 12.4707 5.96697 13.1002 6.17532C13.7297 6.38366 14.287 6.76647 14.7075 7.27922C15.1279 7.79196 15.394 8.41355 15.475 9.07166C15.5559 9.72976 15.4483 10.3973 15.1646 10.9966C14.881 11.596 14.433 12.1024 13.8727 12.4571C13.3125 12.8118 12.6631 13 12 13H11V11H12C12.2841 11 12.5623 10.9193 12.8023 10.7673C13.0423 10.6154 13.2343 10.3984 13.3558 10.1416C13.4773 9.8848 13.5234 9.5988 13.4887 9.31684C13.454 9.03489 13.34 8.76858 13.1598 8.54891C12.9797 8.32924 12.7409 8.16523 12.4712 8.07597C12.2015 7.98671 11.912 7.97587 11.6364 8.04471C11.3608 8.11354 11.1104 8.25923 10.9144 8.46482C10.7183 8.6704 10.5847 8.92743 10.529 9.206L8.567 8.813Z", fill: "currentColor" }) })), jsx("defs", { children: jsx("clipPath", __assign({ id: "clip0_1651_3232" }, { children: jsx("rect", { width: "24", height: "24", fill: "white" }) })) })] }))); },
13
+ DownOutlined: function (className) { return (jsx("svg", __assign({ width: "12", height: "11", viewBox: "0 0 12 11", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { d: "M11.0001 5.99992L6 0.999834L0.999916 5.99992", stroke: "#757575", strokeLinecap: "round" }) }))); },
14
+ StatusOutlined: function (className) { return (jsxs("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: [jsx("path", { d: "M12 3C10.8181 3 9.64778 3.23279 8.55585 3.68508C7.46392 4.13737 6.47177 4.80031 5.63604 5.63604C4.80031 6.47177 4.13738 7.46392 3.68508 8.55585C3.23279 9.64778 3 10.8181 3 12C3 13.1819 3.23279 14.3522 3.68508 15.4442C4.13738 16.5361 4.80031 17.5282 5.63604 18.364C6.47177 19.1997 7.46392 19.8626 8.55585 20.3149C9.64778 20.7672 10.8181 21 12 21C14.3869 21 16.6761 20.0518 18.364 18.364C20.0518 16.6761 21 14.3869 21 12C21 9.61305 20.0518 7.32386 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3ZM12 4.80046C13.9094 4.80046 15.7407 5.55898 17.0908 6.90916C18.441 8.25933 19.1995 10.0906 19.1995 12C19.1995 13.9094 18.441 15.7407 17.0908 17.0908C15.7407 18.441 13.9094 19.1995 12 19.1995C10.0906 19.1995 8.25933 18.441 6.90916 17.0908C5.55898 15.7407 4.80046 13.9094 4.80046 12C4.80046 10.0906 5.55898 8.25933 6.90916 6.90916C8.25933 5.55898 10.0906 4.80046 12 4.80046Z", fill: "currentColor" }), jsx("path", { d: "M9 12C9 11.2044 9.31607 10.4413 9.87868 9.87868C10.4413 9.31607 11.2044 9 12 9C12.7956 9 13.5587 9.31607 14.1213 9.87868C14.6839 10.4413 15 11.2044 15 12C15 12.7956 14.6839 13.5587 14.1213 14.1213C13.5587 14.6839 12.7956 15 12 15C11.2044 15 10.4413 14.6839 9.87868 14.1213C9.31607 13.5587 9 12.7956 9 12Z", fill: "currentColor" })] }))); },
15
+ CheckCircleOutlined: function (className) { return (jsxs("svg", __assign({ width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: [jsx("path", { d: "M15.25 8C15.25 12.0042 12.0042 15.25 8 15.25C3.99581 15.25 0.75 12.0042 0.75 8C0.75 3.99581 3.99581 0.75 8 0.75C12.0042 0.75 15.25 3.99581 15.25 8Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M4.37964 8.51728L6.44845 10.5861L11.6205 5.41406", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })] }))); },
16
+ EyeInvisibleOutlined: function (className) { return (jsxs("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: [jsx("path", { d: "M21.7359 11.3793L21.7359 11.3794C21.8538 11.5649 21.9165 11.7802 21.9165 12C21.9165 12.2198 21.8538 12.4351 21.7359 12.6206L21.7359 12.6207C18.8747 17.1297 15.6258 19.4163 12.0001 19.4163C8.37434 19.4163 5.12546 17.1297 2.26425 12.6207L2.26422 12.6206C2.14632 12.4351 2.08371 12.2198 2.08371 12C2.08371 11.7802 2.14632 11.5649 2.26422 11.3794L2.26425 11.3793C5.12546 6.87035 8.37434 4.58371 12.0001 4.58371C15.6258 4.58371 18.8747 6.87035 21.7359 11.3793ZM12.0001 7.41629C9.4686 7.41629 7.41637 9.46852 7.41637 12C7.41637 14.5315 9.4686 16.5837 12.0001 16.5837C14.5316 16.5837 16.5838 14.5315 16.5838 12C16.5838 9.46852 14.5316 7.41629 12.0001 7.41629ZM14.9164 12C14.9164 13.6105 13.6106 14.9163 12.0001 14.9163C10.3896 14.9163 9.08378 13.6105 9.08378 12C9.08378 10.3895 10.3896 9.08371 12.0001 9.08371C13.6106 9.08371 14.9164 10.3895 14.9164 12Z", fill: "currentColor", stroke: "currentColor", strokeWidth: "0.167411" }), jsx("path", { d: "M5.14258 19.7143L19.714 5.14282", stroke: "currentColor", strokeWidth: "1.71429" })] }))); },
17
+ EyeOutlined: function (className) { return (jsx("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { d: "M21.7359 11.3793L21.7359 11.3794C21.8538 11.5649 21.9165 11.7802 21.9165 12C21.9165 12.2198 21.8538 12.4351 21.7359 12.6206L21.7359 12.6207C18.8747 17.1297 15.6258 19.4163 12.0001 19.4163C8.37434 19.4163 5.12546 17.1297 2.26425 12.6207L2.26422 12.6206C2.14632 12.4351 2.08371 12.2198 2.08371 12C2.08371 11.7802 2.14632 11.5649 2.26422 11.3794L2.26425 11.3793C5.12546 6.87035 8.37434 4.58371 12.0001 4.58371C15.6258 4.58371 18.8747 6.87035 21.7359 11.3793ZM12.0001 7.41629C9.4686 7.41629 7.41637 9.46852 7.41637 12C7.41637 14.5315 9.4686 16.5837 12.0001 16.5837C14.5316 16.5837 16.5838 14.5315 16.5838 12C16.5838 9.46852 14.5316 7.41629 12.0001 7.41629ZM14.9164 12C14.9164 13.6105 13.6106 14.9163 12.0001 14.9163C10.3896 14.9163 9.08378 13.6105 9.08378 12C9.08378 10.3895 10.3896 9.08371 12.0001 9.08371C13.6106 9.08371 14.9164 10.3895 14.9164 12Z", fill: "currentColor", stroke: "currentColor", strokeWidth: "0.167411" }) }))); },
18
+ MoreOutlined: function (className) { return (jsx("svg", __assign({ width: "12", height: "3", viewBox: "0 0 12 3", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { d: "M0.460938 1.53125C0.460938 1.10417 0.570312 0.804688 0.789062 0.632812C1.01302 0.455729 1.28385 0.367188 1.60156 0.367188C1.91927 0.367188 2.1901 0.455729 2.41406 0.632812C2.64323 0.804688 2.75781 1.10417 2.75781 1.53125C2.75781 1.94792 2.64323 2.25 2.41406 2.4375C2.1901 2.61979 1.91927 2.71094 1.60156 2.71094C1.28385 2.71094 1.01302 2.61979 0.789062 2.4375C0.570312 2.25 0.460938 1.94792 0.460938 1.53125ZM4.85156 1.53125C4.85156 1.10417 4.96094 0.804688 5.17969 0.632812C5.40365 0.455729 5.67448 0.367188 5.99219 0.367188C6.3099 0.367188 6.58073 0.455729 6.80469 0.632812C7.03385 0.804688 7.14844 1.10417 7.14844 1.53125C7.14844 1.94792 7.03385 2.25 6.80469 2.4375C6.58073 2.61979 6.3099 2.71094 5.99219 2.71094C5.67448 2.71094 5.40365 2.61979 5.17969 2.4375C4.96094 2.25 4.85156 1.94792 4.85156 1.53125ZM9.24219 1.53125C9.24219 1.10417 9.35156 0.804688 9.57031 0.632812C9.79427 0.455729 10.0651 0.367188 10.3828 0.367188C10.7005 0.367188 10.9714 0.455729 11.1953 0.632812C11.4245 0.804688 11.5391 1.10417 11.5391 1.53125C11.5391 1.94792 11.4245 2.25 11.1953 2.4375C10.9714 2.61979 10.7005 2.71094 10.3828 2.71094C10.0651 2.71094 9.79427 2.61979 9.57031 2.4375C9.35156 2.25 9.24219 1.94792 9.24219 1.53125Z", fill: "currentColor" }) }))); },
19
+ LoadingOutlined: function (className) { return (jsx("svg", __assign({ viewBox: "0 0 1024 1024", focusable: "false", "data-icon": "loading", width: "24px", height: "24px", fill: "currentColor", "aria-hidden": "true", className: className }, { children: jsx("path", { d: "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" }) }))); },
20
+ CloseOutlined: function (className) { return (jsx("svg", __assign({ width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { d: "M1.00025 13L13 1M12.9998 13L1 0.999998", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }))); },
21
+ QuestionCircleOutlined: function (className) { return (jsx("svg", __assign({ width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: jsx("path", { d: "M6.99961 1.11328C5.85742 1.11328 4.74089 1.45198 3.79119 2.08654C2.8415 2.72111 2.1013 3.62304 1.66421 4.67828C1.22711 5.73353 1.11275 6.89469 1.33558 8.01493C1.55841 9.13517 2.10842 10.1642 2.91607 10.9718C3.72372 11.7795 4.75272 12.3295 5.87296 12.5523C6.99321 12.7751 8.15437 12.6608 9.20961 12.2237C10.2649 11.7866 11.1668 11.0464 11.8013 10.0967C12.4359 9.14701 12.7746 8.03047 12.7746 6.88828C12.7746 5.35666 12.1662 3.88776 11.0832 2.80474C10.0001 1.72172 8.53124 1.11328 6.99961 1.11328ZM7.36361 9.72328C7.24823 9.83218 7.09527 9.89236 6.93661 9.89128C6.85726 9.89282 6.77843 9.87809 6.70499 9.84799C6.63155 9.81789 6.56506 9.77307 6.50961 9.71628C6.45336 9.6619 6.40881 9.59659 6.37872 9.52436C6.34862 9.45214 6.33361 9.37452 6.33461 9.29628C6.33139 9.21775 6.34539 9.13946 6.37562 9.06691C6.40585 8.99436 6.45158 8.92929 6.50961 8.87628C6.56565 8.82076 6.63241 8.77722 6.70582 8.74834C6.77924 8.71946 6.85776 8.70583 6.93661 8.70828C7.01658 8.70528 7.09631 8.71863 7.17094 8.74752C7.24557 8.7764 7.31351 8.82022 7.37061 8.87628C7.42864 8.92929 7.47437 8.99436 7.5046 9.06691C7.53483 9.13946 7.54883 9.21775 7.54561 9.29628C7.5468 9.37725 7.53124 9.4576 7.49993 9.53228C7.46861 9.60697 7.4222 9.67437 7.36361 9.73028V9.72328ZM8.55361 6.50328C8.33257 6.73093 8.09886 6.94594 7.85361 7.14728C7.70967 7.26306 7.59264 7.40876 7.51061 7.57428C7.42001 7.7418 7.3742 7.92987 7.37761 8.12028V8.26028H6.50261V8.12028C6.4928 7.84907 6.55053 7.57966 6.67061 7.33628C6.91984 6.94271 7.23199 6.59272 7.59461 6.30028L7.73461 6.14628C7.8778 5.9777 7.95927 5.76537 7.96561 5.54428C7.96151 5.30371 7.86647 5.07362 7.69961 4.90028C7.60526 4.81469 7.49469 4.7489 7.37445 4.70681C7.25421 4.66473 7.12675 4.64721 6.99961 4.65528C6.84625 4.64246 6.69213 4.66844 6.55145 4.73083C6.41077 4.79322 6.28806 4.89001 6.19461 5.01228C6.0327 5.26142 5.95425 5.55561 5.97061 5.85228H5.13061C5.119 5.59615 5.15885 5.34028 5.24782 5.09982C5.3368 4.85935 5.47308 4.63917 5.64861 4.45228C5.8393 4.27146 6.06499 4.13159 6.31179 4.0413C6.55858 3.95101 6.82125 3.91221 7.08361 3.92728C7.5572 3.88677 8.02826 4.02959 8.39961 4.32628C8.56609 4.47339 8.69724 4.65617 8.78329 4.86099C8.86934 5.06581 8.90808 5.28741 8.89661 5.50928C8.89943 5.87224 8.77845 6.22533 8.55361 6.51028V6.50328Z", fill: "currentColor" }) }))); },
22
+ // ColoursOutlined 带颜色的图标
23
+ SuccessColoursOutlined: function (className) { return (jsxs("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: [jsx("rect", { width: "24", height: "24", rx: "12", fill: "#30DC6B" }), jsx("path", { d: "M7.33337 12.6665L10 15.3332L16.6667 8.6665", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] }))); },
24
+ ErrorColoursOutlined: function (className) { return (jsxs("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: [jsx("rect", { width: "24", height: "24", rx: "12", fill: "#FF3C3C" }), jsx("path", { d: "M15.9854 7.75732L7.50007 16.2426", stroke: "white", strokeWidth: "2", strokeLinecap: "round" }), jsx("path", { d: "M7.5 7.75732L15.9853 16.2426", stroke: "white", strokeWidth: "2", strokeLinecap: "round" })] }))); },
25
+ WarningColoursOutlined: function (className) { return (jsxs("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: [jsxs("g", __assign({ clipPath: "url(#clip0_1808_22773)" }, { children: [jsx("circle", { cx: "12", cy: "12", r: "12", fill: "white" }), jsx("path", { d: "M12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0ZM13.0312 6V13.9568C13.0312 14.5264 12.5695 14.9881 12 14.9881C11.4305 14.9881 10.9688 14.5264 10.9688 13.9568V6C10.9688 5.43047 11.4305 4.96875 12 4.96875C12.5695 4.96875 13.0312 5.43047 13.0312 6ZM12 16.0312C12.8284 16.0312 13.5 16.7028 13.5 17.5312C13.5 18.3597 12.8284 19.0312 12 19.0312C11.1716 19.0312 10.5 18.3597 10.5 17.5312C10.5 16.7028 11.1716 16.0312 12 16.0312Z", fill: "#FFAA19" })] })), jsx("defs", { children: jsx("clipPath", __assign({ id: "clip0_1808_22773" }, { children: jsx("rect", { width: "24", height: "24", fill: "white" }) })) })] }))); },
26
+ EmptyColoursOutlined: function (className) { return (jsxs("svg", __assign({ width: "129", height: "128", viewBox: "0 0 129 128", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className }, { children: [jsx("path", { opacity: "0.1", d: "M13.3 112C13.3 113.697 18.6943 115.325 28.2962 116.526C37.898 117.726 50.921 118.4 64.5 118.4C78.0791 118.4 91.102 117.726 100.704 116.526C110.306 115.325 115.7 113.697 115.7 112C115.7 110.303 110.306 108.675 100.704 107.475C91.102 106.274 78.0791 105.6 64.5 105.6C50.921 105.6 37.898 106.274 28.2962 107.475C18.6943 108.675 13.3 110.303 13.3 112Z", fill: "#FF5F00" }), jsx("path", { opacity: "0.5", d: "M15.092 47.1042C15.092 48.1922 15.924 49.0242 17.012 49.0242C18.1 49.0242 18.932 48.1922 18.932 47.1042C18.932 46.0162 18.1 45.1842 17.012 45.1842C15.988 45.1842 15.092 46.0802 15.092 47.1042ZM116.34 104C113.908 104.64 113.396 105.152 112.82 107.52C112.18 105.088 111.668 104.576 109.3 104C111.668 103.36 112.244 102.848 112.82 100.48C113.396 102.848 113.908 103.424 116.34 104ZM25.78 40.3842C22.644 41.2162 22.004 41.8562 21.172 44.9922C20.34 41.8562 19.7 41.2162 16.564 40.3842C19.7 39.5522 20.34 38.8482 21.172 35.7762C21.94 38.9122 22.644 39.5522 25.78 40.3842ZM102.58 29.3762C100.66 29.8882 100.276 30.2722 99.764 32.1922C99.252 30.2722 98.868 29.8882 96.948 29.3762C98.868 28.8642 99.252 28.4802 99.764 26.5602C100.212 28.4802 100.66 28.8642 102.58 29.3762ZM110.836 19.5202C105.844 20.8002 104.82 21.8882 103.476 26.8802C102.196 21.8882 101.108 20.8642 96.116 19.5202C101.108 18.2402 102.132 17.1522 103.476 12.1602C104.756 17.0882 105.844 18.1762 110.836 19.5202Z", fill: "#FF5F00" }), jsx("path", { opacity: "0.2", d: "M52.98 89.1518V89.6638L57.204 93.5678L73.396 85.6958L58.74 95.1038V99.7118L61.108 97.4078L63.476 99.7118L76.02 84.3518V83.8398L52.98 89.1518Z", fill: "#FF5F00" }), jsx("path", { opacity: "0.5", d: "M108.02 68.9919V68.8639C108.02 68.7359 107.956 68.6719 107.956 68.5439V68.4799L94.1959 32.5759C92.2119 26.4959 86.5799 22.3999 80.1799 22.3999H48.8839C42.4839 22.3999 36.8519 26.4959 34.8679 32.5759L21.1079 68.4799V68.5439C21.0439 68.6719 21.0439 68.7359 21.0439 68.8639V94.7199C21.0439 102.848 27.6359 109.44 35.7639 109.44H93.3639C101.492 109.44 108.084 102.848 108.084 94.7199V69.1199C108.02 69.0559 108.02 69.0559 108.02 68.9919ZM38.4519 33.9199C38.4519 33.9199 38.4519 33.8559 38.5159 33.8559C39.9239 29.2479 44.1479 26.2399 48.8839 26.2399H80.1159C84.8519 26.2399 89.0759 29.2479 90.5479 33.7919C90.5479 33.7919 90.5479 33.8559 90.6119 33.8559L103.348 67.1359H74.0999C73.0119 67.1359 72.1799 67.9679 72.1799 69.0559C72.1799 73.2799 68.7239 76.7359 64.4999 76.7359C60.2759 76.7359 56.8199 73.2799 56.8199 69.0559C56.8199 67.9679 55.9879 67.1359 54.8999 67.1359H25.7159L38.4519 33.9199ZM104.18 94.7199C104.18 100.736 99.3159 105.6 93.2999 105.6H35.6999C29.6839 105.6 24.8199 100.736 24.8199 94.7199V71.0399H53.1719C54.0679 76.4799 58.8039 80.6399 64.4999 80.6399C70.1959 80.6399 74.9319 76.4799 75.8279 71.0399H104.18V94.7199Z", fill: "#FF5F00" }), jsx("path", { opacity: "0.2", d: "M64.4999 72.3202C62.7079 72.3202 61.2999 70.9122 61.2999 69.1202V62.7202H32.1799L42.6759 35.3282L42.7399 35.2002C43.6359 32.5122 46.0679 30.7202 48.8839 30.7202H80.1159C82.9319 30.7202 85.3639 32.5122 86.2599 35.2002L86.3239 35.3282L96.8199 62.7202H67.6999V69.1202C67.6999 70.9122 66.2919 72.3202 64.4999 72.3202Z", fill: "#FF5F00" })] }))); }
27
+ });
28
+
29
+ export { ICONS };
package/es/index.d.ts CHANGED
@@ -1 +1,34 @@
1
+ import Checkbox from './Checkbox/Checkbox';
2
+ import Empty from './Empty/Empty';
3
+ import Form, { FormItem } from './Form/Form';
4
+ import Input, { SearchInput, PasswordInput } from './Input/Input';
5
+ import Menu, { getItem } from './Menu/Menu';
6
+ import type { MenuItem } from './Menu/Menu';
7
+ import Pagination from './Pagination/Pagination';
8
+ import Radio from './Radio/Radio';
9
+ import Select from './Select/Select';
10
+ import Table from './Table/Table';
11
+ import type { Column } from './Table/Table';
12
+ import Tabs from './Tabs/Tabs';
13
+ import Tag from './Tag/Tag';
14
+ import Toast from './Toast/index';
15
+ import Tooltip from './Tooltip/Tooltip';
1
16
  export { Button } from './Button/Button';
17
+ export { Checkbox };
18
+ export { Empty };
19
+ export { Form, FormItem };
20
+ export type { FormRefInstance } from './Form/Form.types';
21
+ export { Icon } from './Icon/index';
22
+ export { Input, SearchInput, PasswordInput };
23
+ export { Menu, getItem };
24
+ export type { MenuItem };
25
+ export { Modal } from './Modal/Modal';
26
+ export { Pagination };
27
+ export { Radio };
28
+ export { Select };
29
+ export { Table };
30
+ export type { Column };
31
+ export { Tabs };
32
+ export { Tag };
33
+ export { Toast };
34
+ export { Tooltip };
package/es/index.js CHANGED
@@ -1 +1,17 @@
1
+ export { default as Checkbox } from './Checkbox/Checkbox.js';
2
+ export { default as Empty } from './Empty/Empty.js';
3
+ export { default as Form } from './Form/Form.js';
4
+ export { default as Input, PasswordInput, SearchInput } from './Input/Input.js';
5
+ export { default as Menu, getItem } from './Menu/Menu.js';
6
+ export { default as Pagination } from './Pagination/Pagination.js';
7
+ export { default as Radio } from './Radio/Radio.js';
8
+ export { default as Select } from './Select/Select.js';
9
+ export { default as Table } from './Table/Table.js';
10
+ export { default as Tabs } from './Tabs/Tabs.js';
11
+ export { default as Tag } from './Tag/Tag.js';
12
+ export { default as Toast } from './Toast/index.js';
13
+ export { default as Tooltip } from './Tooltip/Tooltip.js';
1
14
  export { Button } from './Button/Button.js';
15
+ export { Icon } from './Icon/index.js';
16
+ export { Modal } from './Modal/Modal.js';
17
+ export { default as FormItem } from './Form/FormItem.js';
@@ -2,7 +2,7 @@ function styleInject(css, ref) {
2
2
  if ( ref === void 0 ) ref = {};
3
3
  var insertAt = ref.insertAt;
4
4
 
5
- if (typeof document === 'undefined') { return; }
5
+ if (!css || typeof document === 'undefined') { return; }
6
6
 
7
7
  var head = document.head || document.getElementsByTagName('head')[0];
8
8
  var style = document.createElement('style');
@@ -38,9 +38,19 @@ function __rest(s, e) {
38
38
  return t;
39
39
  }
40
40
 
41
+ function __spreadArray(to, from, pack) {
42
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
43
+ if (ar || !(i in from)) {
44
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
45
+ ar[i] = from[i];
46
+ }
47
+ }
48
+ return to.concat(ar || Array.prototype.slice.call(from));
49
+ }
50
+
41
51
  typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
42
52
  var e = new Error(message);
43
53
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
44
54
  };
45
55
 
46
- export { __assign, __rest };
56
+ export { __assign, __rest, __spreadArray };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foxit-component",
3
- "version": "0.0.1-alpha.1",
3
+ "version": "0.0.1-alpha.3",
4
4
  "author": {
5
5
  "name": "linye",
6
6
  "email": "869675630@qq.com"