@zjpcy/simple-design 1.0.0

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 (54) hide show
  1. package/README.md +42 -0
  2. package/dist/cjs/index.css +1 -0
  3. package/dist/cjs/index.js +1 -0
  4. package/dist/es/Button/Button.js +1 -0
  5. package/dist/es/ColorPicker/index.js +1 -0
  6. package/dist/es/CopyToClipboard/index.js +1 -0
  7. package/dist/es/Divider/index.js +1 -0
  8. package/dist/es/Hooks/useCopy.js +1 -0
  9. package/dist/es/Icon/Icon.js +1 -0
  10. package/dist/es/Icon/index.js +1 -0
  11. package/dist/es/Icon/path.js +1 -0
  12. package/dist/es/Input/index.js +1 -0
  13. package/dist/es/Marquee/index.js +1 -0
  14. package/dist/es/Message/Message.js +1 -0
  15. package/dist/es/Message/index.js +1 -0
  16. package/dist/es/Modal/index.js +1 -0
  17. package/dist/es/Notice/Notice.js +1 -0
  18. package/dist/es/Notification/Notification.js +1 -0
  19. package/dist/es/Table/index.js +1 -0
  20. package/dist/es/Top/index.js +1 -0
  21. package/dist/es/_virtual/index.js +1 -0
  22. package/dist/es/index.css +1 -0
  23. package/dist/es/index.js +1 -0
  24. package/dist/es/node_modules/react-fast-marquee/dist/index.js +1 -0
  25. package/dist/es/node_modules/react-icons/fa/index.js +1 -0
  26. package/dist/es/node_modules/react-icons/io5/index.js +1 -0
  27. package/dist/es/node_modules/react-icons/lib/iconBase.js +1 -0
  28. package/dist/es/node_modules/react-icons/lib/iconContext.js +1 -0
  29. package/dist/es/node_modules/tslib/tslib.es6.js +1 -0
  30. package/dist/types/Button/Button.d.ts +15 -0
  31. package/dist/types/Button/index.d.ts +2 -0
  32. package/dist/types/ColorPicker/index.d.ts +5 -0
  33. package/dist/types/ColorPicker/types.d.ts +14 -0
  34. package/dist/types/CopyToClipboard/index.d.ts +7 -0
  35. package/dist/types/CopyToClipboard/types.d.ts +5 -0
  36. package/dist/types/Divider/index.d.ts +11 -0
  37. package/dist/types/Hooks/useCopy.d.ts +2 -0
  38. package/dist/types/Icon/Icon.d.ts +18 -0
  39. package/dist/types/Icon/index.d.ts +3 -0
  40. package/dist/types/Icon/path.d.ts +16 -0
  41. package/dist/types/Input/index.d.ts +17 -0
  42. package/dist/types/Marquee/index.d.ts +15 -0
  43. package/dist/types/Message/Message.d.ts +5 -0
  44. package/dist/types/Message/index.d.ts +9 -0
  45. package/dist/types/Message/types.d.ts +15 -0
  46. package/dist/types/Modal/index.d.ts +5 -0
  47. package/dist/types/Modal/types.d.ts +16 -0
  48. package/dist/types/Notice/Notice.d.ts +15 -0
  49. package/dist/types/Notification/Notification.d.ts +5 -0
  50. package/dist/types/Notification/types.d.ts +12 -0
  51. package/dist/types/Table/index.d.ts +32 -0
  52. package/dist/types/Top/index.d.ts +16 -0
  53. package/dist/types/index.d.ts +13 -0
  54. package/package.json +80 -0
package/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # @chongyin/simple-view-design
2
+
3
+ IDP Studio Design System - React Component Library
4
+
5
+ 一个现代化的 React 组件库,提供了一系列高质量的 UI 组件。
6
+
7
+ ## 安装
8
+
9
+ ```bash
10
+ npm install @chongyin/simple-view-design
11
+ ```
12
+
13
+ ## 使用
14
+
15
+ ```jsx
16
+ import { Button } from '@chongyin/simple-view-design';
17
+ import '@chongyin/simple-view-design/dist/index.css';
18
+
19
+ function App() {
20
+ return <Button type="primary">Hello World</Button>;
21
+ }
22
+ ```
23
+
24
+ ## 组件
25
+
26
+ - Button: 按钮组件
27
+ - Icon: 图标组件
28
+ - Marquee: 跑马灯组件
29
+ - Modal: 模态框组件
30
+ - Notice: 通知组件
31
+ - Table: 表格组件
32
+ - Top: 顶部组件
33
+ - Divider: 分割线组件
34
+ - Input: 输入框组件
35
+ - Notification: 通知提醒组件
36
+ - ColorPicker: 颜色选择器组件
37
+ - CopyToClipboard: 复制到剪贴板组件
38
+ - Message: 消息提示组件
39
+
40
+ ## 许可证
41
+
42
+ MIT
@@ -0,0 +1 @@
1
+ .icon-container{align-items:center;background-color:transparent;border-radius:4px;display:inline-flex;justify-content:center;line-height:1;padding:4px;position:relative}.icon{fill:#339af0;cursor:pointer;display:inline-block;transition:fill .2s ease,transform .3s ease;vertical-align:middle}.icon-spin{animation:icon-spin 1s linear infinite}@keyframes icon-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.icon-container.align-left{justify-content:flex-start}.icon-container.align-center{justify-content:center}.icon-container.align-right{justify-content:flex-end}.idp-btn{align-items:center;border:1px solid transparent;border-radius:4px;cursor:pointer;display:inline-flex;font-weight:400;justify-content:center;line-height:1.5;outline:none;text-align:center;text-decoration:none;transition:all .2s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.idp-btn--primary{background-color:#1890ff;border-color:#1890ff;color:#fff}.idp-btn--primary:hover:not(.idp-btn--disabled){background-color:#40a9ff;border-color:#40a9ff}.idp-btn--primary:active:not(.idp-btn--disabled){box-shadow:0 4px 8px rgba(24,144,255,.4);transform:translateY(1px)}.idp-btn--secondary{background-color:#6c757d;border-color:#6c757d;color:#fff}.idp-btn--secondary:hover:not(.idp-btn--disabled){background-color:#868e96;border-color:#868e96}.idp-btn--secondary:active:not(.idp-btn--disabled){box-shadow:0 4px 8px hsla(208,7%,46%,.4);transform:translateY(1px)}.idp-btn--danger{background-color:#dc3545;border-color:#dc3545;color:#fff}.idp-btn--danger:hover:not(.idp-btn--disabled){background-color:#e74c3c;border-color:#e74c3c}.idp-btn--danger:active:not(.idp-btn--disabled){box-shadow:0 4px 8px rgba(220,53,69,.4);transform:translateY(1px)}.idp-btn--success{background-color:#28a745;border-color:#28a745;color:#fff}.idp-btn--success:hover:not(.idp-btn--disabled){background-color:#34ce57;border-color:#34ce57}.idp-btn--success:active:not(.idp-btn--disabled){box-shadow:0 4px 8px rgba(40,167,69,.4);transform:translateY(1px)}.idp-btn--warning{background-color:#ffc107;border-color:#ffc107;color:#212529}.idp-btn--warning:hover:not(.idp-btn--disabled){background-color:#ffce3a;border-color:#ffce3a}.idp-btn--warning:active:not(.idp-btn--disabled){box-shadow:0 4px 8px rgba(255,193,7,.4);transform:translateY(1px)}.idp-btn--small{font-size:12px;height:24px;padding:0 8px}.idp-btn--medium{font-size:14px;height:32px;padding:0 12px}.idp-btn--large{font-size:16px;height:40px;padding:0 16px}.idp-btn--disabled{cursor:not-allowed;opacity:.65}.marquee-container{align-items:center;box-shadow:0 2px 8px rgba(0,0,0,.08);display:flex;overflow:hidden;position:relative;white-space:nowrap;width:100%}.marquee-container-fixed{left:0;position:fixed;right:0;top:0;z-index:99999}.marquee-text{color:#333;font-size:14px;height:100%;left:0;padding:0 10px}.marquee-close,.marquee-text{align-items:center;display:flex;position:absolute;top:0}.marquee-close{cursor:pointer;justify-content:center;right:0;z-index:10}.idp-modal-overlay{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:1000}.idp-modal-overlay--visible{opacity:1;visibility:visible}.idp-modal-overlay--closing{opacity:0;visibility:hidden}.idp-modal-container{background-color:#fff;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.15);display:flex;flex-direction:column;opacity:0;overflow:hidden;position:relative;transform-origin:center center}.idp-modal-overlay--custom-top{align-items:flex-start;justify-content:center}.idp-modal-container--center{animation:centerAnimateIn .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes centerAnimateIn{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.idp-modal-container--normal{animation:normalAnimateIn .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes normalAnimateIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.idp-modal-container--top-right{animation:topRightAnimateIn .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes topRightAnimateIn{0%{opacity:0;transform:translate(100%,-100%) scale(.5)}to{opacity:1;transform:translate(0) scale(1)}}.idp-modal-container--bottom-right{animation:bottomRightAnimateIn .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes bottomRightAnimateIn{0%{opacity:0;transform:translate(100%,100%) scale(.5)}to{opacity:1;transform:translate(0) scale(1)}}.idp-modal-container--closing-center{animation:centerAnimateOut .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes centerAnimateOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}.idp-modal-container--closing-normal{animation:normalAnimateOut .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes normalAnimateOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.9)}}.idp-modal-container--closing-top-right{animation:topRightAnimateOut .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes topRightAnimateOut{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%,-100%) scale(.5)}}.idp-modal-container--closing-bottom-right{animation:bottomRightAnimateOut .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes bottomRightAnimateOut{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%,100%) scale(.5)}}.idp-modal-header{background-color:#fafafa;border-bottom:1px solid #e8e8e8;flex-shrink:0;justify-content:space-between;padding:0 10px 0 20px}.idp-modal-header,.idp-modal-header__left,.idp-modal-header__right{align-items:center;display:flex}.idp-modal-header__right{margin-right:0}.idp-modal-header__title{color:#333;font-size:16px;font-weight:500}.idp-modal-content{flex:1;min-height:0;overflow-y:auto;padding:20px}.idp-modal-footer{background-color:#fafafa;bottom:0;display:flex;flex-direction:column;justify-content:center;left:0;padding:0 20px;position:absolute;right:0}.idp-modal-footer__divider{background-color:#e8e8e8;height:1px;margin-bottom:12px}.idp-modal-footer__actions{display:flex;gap:12px;justify-content:flex-end;padding-bottom:12px}.idp-notice{background:linear-gradient(90deg,#1a2980,#26d0ce);border-radius:0;box-shadow:0 3px 10px rgba(0,0,0,.2);box-sizing:border-box;color:#fff;display:flex;margin:0;overflow:hidden;padding:0;position:relative;width:100%}.idp-notice-close{align-items:center;background:linear-gradient(90deg,#26d0ce,#1a2980);cursor:pointer;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;width:45px;z-index:9999}.idp-notice-close:hover{transform:scale(1.05)}.idp-notice-floating{box-sizing:border-box;left:0;position:fixed;right:0;top:0;width:100%!important;z-index:99999}.custom-table-container{background:#fff;color:rgba(0,0,0,.88);font-size:14px}.custom-table-container.bordered{border:1px solid #d9d9d9;border-radius:6px}.custom-table-header{border-bottom:1px solid #f0f0f0;flex-shrink:0;overflow-x:hidden;overflow-y:hidden}.custom-table-header-inner{overflow-x:auto;overflow-y:hidden;scroll-behavior:auto;will-change:scroll-position}.custom-table-header-inner::-webkit-scrollbar{height:0;width:0}.custom-table-header-inner{-ms-overflow-style:none;scrollbar-width:none}.custom-table-body{overflow-x:auto;scroll-behavior:auto;will-change:scroll-position}.custom-table{border-collapse:collapse;table-layout:fixed;width:100%}.custom-table.bordered td,.custom-table.bordered th{border:1px solid #d9d9d9}.custom-table thead{background-color:#fafafa}.custom-table th{font-weight:600;text-align:left}.custom-table td,.custom-table th{border-bottom:1px solid #f0f0f0;overflow-wrap:break-word;padding:12px 8px}.custom-table tbody tr:hover{background-color:#fafafa}.custom-table-empty{border-top:1px solid #f0f0f0;color:rgba(0,0,0,.25);padding:16px;text-align:center}.custom-table td[style*=sticky],.custom-table th[style*=sticky]{box-shadow:1px 0 0 0 #f0f0f0}.custom-table td[style*="right: 0"],.custom-table th[style*="right: 0"]{box-shadow:-1px 0 0 0 #f0f0f0}.custom-table td[style*="position: sticky"][style*=right],.custom-table th[style*="position: sticky"][style*=right]{position:sticky!important;z-index:5!important}.custom-table thead td[style*="position: sticky"],.custom-table thead th[style*="position: sticky"]{top:0;z-index:10!important}.custom-table-pagination{align-items:center;border-top:1px solid #f0f0f0;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;padding:12px 16px}.custom-table-pagination-total{color:rgba(0,0,0,.65);font-size:14px;margin-right:8px}.custom-table-pagination-btn{background:#fff;border:1px solid #d9d9d9;border-radius:4px;color:rgba(0,0,0,.65);cursor:pointer;font-size:14px;padding:4px 12px;transition:all .2s}.custom-table-pagination-btn:hover:not(:disabled){border-color:#1a2980;color:#1a2980}.custom-table-pagination-btn:disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.custom-table-pagination-page{background:#fff;border:1px solid #d9d9d9;border-radius:4px;color:rgba(0,0,0,.65);cursor:pointer;height:32px;line-height:32px;min-width:32px;text-align:center;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.custom-table-pagination-page:hover{border-color:#1a2980;color:#1a2980}.custom-table-pagination-page.active{background:#1a2980;border-color:#1a2980;color:#fff}.custom-table-pagination-page.ellipsis{border:none;cursor:default}.custom-table-pagination-page.ellipsis:hover{border-color:#d9d9d9;color:rgba(0,0,0,.65)}.custom-table-pagination-select{background:#fff;border:1px solid #d9d9d9;border-radius:4px;color:rgba(0,0,0,.65);cursor:pointer;font-size:14px;outline:none;padding:4px 8px}.custom-table-pagination-select:focus{border-color:#1a2980}.top-button-wrapper{z-index:1000}.top-button-wrapper-container{clear:both;float:right}.top-button{align-items:center;border:none;border-radius:50%;cursor:pointer;display:flex;justify-content:center;transition:all .3s ease}.top-button:hover{filter:brightness(1.1);transform:translateY(-2px)}.top-button:active{transform:translateY(0)}.divider{background-color:#339af0;margin:0;padding:0;width:auto}.divider-horizontal{height:1px;width:auto}.divider-vertical{background-color:transparent;border-left:1px solid #339af0;height:100%;width:0}.divider-dashed.divider-horizontal{background:repeating-linear-gradient(90deg,currentColor,currentColor 4px,transparent 0,transparent 8px)}.divider-dashed.divider-vertical{background-color:transparent;border-left:1px dashed}.input{align-items:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;box-sizing:border-box;display:inline-flex;font-family:inherit;font-size:14px;justify-content:center;outline:none;padding:8px 12px;transition:all .3s ease}.input:focus,.input:hover{border-color:#339af0;box-shadow:0 0 0 2px rgba(51,154,240,.2)}.input::placeholder{color:#bfbfbf;opacity:1}.input::-webkit-input-placeholder{color:#bfbfbf}.input::-moz-placeholder{color:#bfbfbf;opacity:1}.input:-ms-input-placeholder{color:#bfbfbf}.input.input-disabled{background-color:#f5f5f5;border-color:#d9d9d9;color:#bfbfbf;cursor:not-allowed}.input.input-disabled:hover{border-color:#d9d9d9;box-shadow:none}.input.input-readonly{background-color:#f5f5f5;border-color:#d9d9d9;cursor:default}.input.input-readonly:hover{border-color:#d9d9d9;box-shadow:none}.notification{background:#fff;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.15);color:#333;max-width:400px;min-width:200px;padding:15px 20px;position:fixed;z-index:2000}.notification-top-left{animation:slideInTopLeft .3s ease;left:20px;top:20px}.notification-top-center{animation:slideInTopCenter .3s ease;left:50%;top:20px;transform:translateX(-50%)}.notification-top-right{animation:slideInTopRight .3s ease;right:20px;top:20px}.notification-center{animation:fadeInCenter .3s ease;left:50%;top:50%;transform:translate(-50%,-50%)}.notification-bottom-left{animation:slideInBottomLeft .3s ease;bottom:20px;left:20px}.notification-bottom-center{animation:slideInBottomCenter .3s ease;bottom:20px;left:50%;transform:translateX(-50%)}.notification-bottom-right{animation:slideInBottomRight .3s ease;bottom:20px;right:20px}.notification-info{background:rgba(26,41,128,.95);color:#fff}.notification-success{background:rgba(40,167,69,.95);color:#fff}.notification-warning{background:rgba(255,193,7,.95);color:#212529}.notification-error{background:rgba(220,53,69,.95);color:#fff}.notification-content{align-items:center;display:flex;gap:10px;justify-content:flex-start;width:100%}.notification-content i{flex-shrink:0;font-size:1.2rem}.notification-content span{flex:1;line-height:1.4;text-align:center}.notification-error .notification-content span,.notification-info .notification-content span,.notification-success .notification-content span{color:#fff}.notification-warning .notification-content span{color:#212529}.fade-out{animation:fadeOut .5s ease forwards}@keyframes slideInTopLeft{0%{opacity:0;transform:translateY(-20px) translateX(-20px)}to{opacity:1;transform:translateY(0) translateX(0)}}@keyframes slideInTopCenter{0%{opacity:0;transform:translateX(-50%) translateY(-20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}@keyframes slideInTopRight{0%{opacity:0;transform:translateY(-20px) translateX(20px)}to{opacity:1;transform:translateY(0) translateX(0)}}@keyframes fadeInCenter{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes slideInBottomLeft{0%{opacity:0;transform:translateY(20px) translateX(-20px)}to{opacity:1;transform:translateY(0) translateX(0)}}@keyframes slideInBottomCenter{0%{opacity:0;transform:translateX(-50%) translateY(20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}@keyframes slideInBottomRight{0%{opacity:0;transform:translateY(20px) translateX(20px)}to{opacity:1;transform:translateY(0) translateX(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.idp-color-picker{display:inline-block;position:relative;vertical-align:middle}.idp-color-picker--disabled{cursor:not-allowed;opacity:.6}.idp-color-picker-trigger{align-items:center;background-color:#1890ff;border:1px solid #d9d9d9;border-radius:4px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin:0;outline:none;padding:0;position:relative;transition:border-color .2s ease,box-shadow .2s ease;width:32px}.idp-color-picker-trigger:hover{border-color:#40a9ff;box-shadow:0 2px 8px rgba(0,0,0,.15)}.idp-color-picker-trigger:focus{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.idp-color-picker-trigger:disabled{box-shadow:none;cursor:not-allowed;opacity:.6}.idp-color-picker-text{color:#666;font-size:12px;margin-left:8px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.idp-color-picker-popup{left:0;margin-top:8px;position:absolute;top:100%;z-index:1050}.idp-color-picker-content{background:#fff;border-radius:8px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);display:flex;flex-direction:column;gap:5px;padding:16px}.idp-color-picker-input-group{display:flex;flex-direction:column;gap:6px;margin-top:4px}.idp-color-picker-input-label{color:#666;font-size:12px;font-weight:500}.idp-color-picker-input{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;box-sizing:border-box;color:#333;font-size:14px;height:32px;line-height:1.5;outline:none;padding:0 8px;transition:all .2s ease;width:100%}.idp-color-picker-input:focus{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.idp-color-picker-input:hover{border-color:#40a9ff}.idp-color-picker-presets-label{color:#666;display:block;font-size:12px;font-weight:500;margin-bottom:6px}.idp-color-picker-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.idp-color-picker-preset{border:1px solid #d9d9d9;border-radius:4px;box-sizing:border-box;cursor:pointer;height:24px;transition:all .2s ease;width:24px}.idp-color-picker-preset:hover{border-color:#40a9ff;transform:scale(1.1)}.idp-color-picker-trigger-container{cursor:pointer}.idp-color-picker-default-trigger{cursor:pointer;height:32px;width:32px}.idp-color-picker-actions{align-items:center;display:flex;gap:8px;justify-content:space-between;margin-top:8px}.idp-color-picker-preview{border:1px solid #d9d9d9;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);height:24px;width:24px}.idp-color-picker-button-group{display:flex;gap:8px}.react-colorful{height:180px;width:208px}.react-colorful__saturation{border-radius:6px 6px 0 0;height:140px}.react-colorful__hue{border-radius:0 0 6px 6px;height:12px;margin-top:8px}.react-colorful__alpha{border-radius:6px;height:12px;margin-top:8px}.react-colorful__pointer{border:2px solid #fff;box-shadow:0 0 2px rgba(0,0,0,.3);height:14px;width:14px}.react-colorful__alpha-pointer,.react-colorful__hue-pointer{border:1px solid #fff;box-shadow:0 0 2px rgba(0,0,0,.3);height:16px;width:14px}.idp-copy-to-clipboard{align-items:center;cursor:pointer;display:inline-flex;justify-content:center;transition:all .2s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.idp-copy-to-clipboard:hover{opacity:.8}.idp-copy-to-clipboard:active{transform:translateY(1px)}.idp-copy-to-clipboard-text{color:#1890ff;font-size:14px}.idp-copy-to-clipboard-text:hover{text-decoration:underline}.idp-message{align-items:center;background-color:#fff;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.15);display:flex;height:30px;justify-content:center;left:50%;max-width:800px;min-width:100px;opacity:0;pointer-events:auto;position:fixed;top:20px;transform:translateX(-50%) translateY(-100%);transition:all .3s cubic-bezier(.4,0,.2,1);width:auto;z-index:1050}.idp-message--show{opacity:1;transform:translateX(-50%) translateY(0)}.idp-message-content{align-items:center;display:flex;gap:8px;height:100%;justify-content:center;padding:0 20px}.idp-message-text{color:#333;flex:1;font-size:13px;line-height:1.5;text-align:left}.idp-message--success{background-color:#fff;border:1px solid #b7eb8f}.idp-message--success .idp-message-text{color:#52c41a}.idp-message--warning{background-color:#fff;border:1px solid #ffe58f}.idp-message--warning .idp-message-text{color:#faad14}.idp-message--error{background-color:#fff;border:1px solid #ffccc7}.idp-message--error .idp-message-text{color:#f5222d}@keyframes slideDown{0%{opacity:0;transform:translateX(-50%) translateY(-100%)}to{opacity:1;transform:translateX(-50%) translateY(0)}}@keyframes slideUp{0%{opacity:1;transform:translateX(-50%) translateY(0)}to{opacity:0;transform:translateX(-50%) translateY(-100%)}}.idp-message--show{animation:slideDown .3s cubic-bezier(.4,0,.2,1) forwards}.idp-message:not(.idp-message--show){animation:slideUp .3s cubic-bezier(.4,0,.2,1) forwards}
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("classnames"),o=require("react-color");function r(e){return e&&e.__esModule?e:{default:e}}var i=r(t),a=r(n),c=function(){return c=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},c.apply(this,arguments)};function l(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function c(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,c)}l((o=o.apply(e,t||[])).next())})}function s(e,t){var n,o,r,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,o&&(r=2&c[0]?o.return:c[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,c[1])).done)return r;switch(o=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(r=i.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(6===c[0]&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],o=0}finally{n=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}}function u(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var h={path:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",viewBox:"0 0 24 24"},v={path:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z",viewBox:"0 0 24 24"},d={path:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",viewBox:"0 0 24 24"},p={path:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",viewBox:"0 0 24 24"},f={path:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",viewBox:"0 0 24 24"},m={path:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z",viewBox:"0 0 24 24"},x={path:"M19 13H5v-2h14v2z",viewBox:"0 0 24 24"},C={path:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",viewBox:"0 0 24 24"},L={path:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",viewBox:"0 0 24 24"},H={path:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z",viewBox:"0 0 24 24"},M={path:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z",viewBox:"0 0 24 24"},V={search:h,loading:v,user:d,close:p,check:f,plus:m,minus:x,arrowLeft:C,arrowRight:L,arrowUp:H,arrowDown:M,setting:{path:"M19.14 12.94c.04-.31.06-.63.06-.94 0-.31-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z",viewBox:"0 0 24 24"},eye:{path:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",viewBox:"0 0 24 24"},eyeOff:{path:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z",viewBox:"0 0 24 24"},trash:{path:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z",viewBox:"0 0 24 24"},edit:{path:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z",viewBox:"0 0 24 24"},download:{path:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z",viewBox:"0 0 24 24"},upload:{path:"M9 16h6v-6h4l-7-7-7 7h4v6zm-4 2h14v2H5v-2z",viewBox:"0 0 24 24"},refresh:{path:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z",viewBox:"0 0 24 24"},home:{path:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z",viewBox:"0 0 24 24"},menu:{path:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z",viewBox:"0 0 24 24"},more:{path:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",viewBox:"0 0 24 24"},bell:{path:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z",viewBox:"0 0 24 24"},mail:{path:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z",viewBox:"0 0 24 24"},calendar:{path:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM9 10H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm-8 4H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2z",viewBox:"0 0 24 24"},clock:{path:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z",viewBox:"0 0 24 24"},star:{path:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",viewBox:"0 0 24 24"},starOutline:{path:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z",viewBox:"0 0 24 24"},heart:{path:"M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z",viewBox:"0 0 24 24"},heartOutline:{path:"M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z",viewBox:"0 0 24 24"},info:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z",viewBox:"0 0 24 24"},warning:{path:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z",viewBox:"0 0 24 24"},error:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z",viewBox:"0 0 24 24"},success:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",viewBox:"0 0 24 24"},question:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z",viewBox:"0 0 24 24"},link:{path:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z",viewBox:"0 0 24 24"},image:{path:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z",viewBox:"0 0 24 24"},folder:{path:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z",viewBox:"0 0 24 24"},file:{path:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z",viewBox:"0 0 24 24"},cloud:{path:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z",viewBox:"0 0 24 24"},exclamation:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z",viewBox:"0 0 24 24"},facebook:{path:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",viewBox:"0 0 24 24"},twitter:{path:"M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z",viewBox:"0 0 24 24"},instagram:{path:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z",viewBox:"0 0 24 24"},linkedin:{path:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z",viewBox:"0 0 24 24"},copy:{path:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",viewBox:"0 0 24 24"},paste:{path:"M19 2h-4.18C14.4 2 14 2.4 14 2.82V7h-4V2.82C10 2.4 9.6 2 9.18 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0h4v5h-4V2zm5 18H5V4h4v3h1.18C10.6 7 11 7.4 11 7.82V20h8V4h-4v3h-.18C14.4 7 14 7.4 14 7.82V20z",viewBox:"0 0 24 24"},cut:{path:"M17 3H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7V5h10v14zm-1-7h-3V8h-2v4H8l4 4 4-4z",viewBox:"0 0 24 24"},select:{path:"M3 3v18h18V3H3zm16 16H5V5h14v14zM11 7h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2z",viewBox:"0 0 24 24"},fileText:{path:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z",viewBox:"0 0 24 24"},filePdf:{path:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z",viewBox:"0 0 24 24"},fileExcel:{path:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z",viewBox:"0 0 24 24"},fileWord:{path:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z",viewBox:"0 0 24 24"},arrowUpRight:{path:"M13 3h-2v5H6v2h5v8h2v-8h5v-2h-5V3z",viewBox:"0 0 24 24"},arrowDownRight:{path:"M19 15v-2h-5V6h-2v7H6v2h7v5h2v-5h5z",viewBox:"0 0 24 24"},arrowUpLeft:{path:"M11 3v5H6v2h5v8h2v-8h5v-2h-5V3h-2z",viewBox:"0 0 24 24"},arrowDownLeft:{path:"M11 19H6v-2h5v-5h2v5h5v2h-5z",viewBox:"0 0 24 24"},filter:{path:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z",viewBox:"0 0 24 24"},sort:{path:"M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z",viewBox:"0 0 24 24"},searchPlus:{path:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm7.5 4l3.04 3.04.71-.71-3.75-3.75z",viewBox:"0 0 24 24"},searchMinus:{path:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm7.5-2h-5v-2h5v2z",viewBox:"0 0 24 24"},shield:{path:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z",viewBox:"0 0 24 24"},lock:{path:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z",viewBox:"0 0 24 24"},unlock:{path:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z",viewBox:"0 0 24 24"},tag:{path:"M20.59 13.41l-7.17 7.17c-.18.18-.43.29-.71.29H8c-1.1 0-1.99-.9-1.99-2V9.3c0-.28.11-.53.29-.71l7.17-7.17c.56-.56 1.41-.22 1.79.58l3.31 8.83c.38.95-.29 1.95-1.24 1.95h-2.06c-.28 0-.53.11-.71.29z",viewBox:"0 0 24 24"},bookmark:{path:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z",viewBox:"0 0 24 24"},flag:{path:"M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6h-5.6z",viewBox:"0 0 24 24"},map:{path:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.7z",viewBox:"0 0 24 24"},message:{path:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z",viewBox:"0 0 24 24"},phone:{path:"M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z",viewBox:"0 0 24 24"},camera:{path:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",viewBox:"0 0 24 24"},video:{path:"M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z",viewBox:"0 0 24 24"},music:{path:"M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z",viewBox:"0 0 24 24"},play:{path:"M8 5v14l11-7z",viewBox:"0 0 24 24"},pause:{path:"M6 19h4V5H6v14zm8-14v14h4V5h-4z",viewBox:"0 0 24 24"},stop:{path:"M6 19h12V5H6v14z",viewBox:"0 0 24 24"},refreshCw:{path:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z",viewBox:"0 0 24 24"},refreshCcw:{path:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z",viewBox:"0 0 24 24"},undo:{path:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z",viewBox:"0 0 24 24"},redo:{path:"M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22l2.37.78C4.63 15.17 7.74 13 11.5 13c1.95 0 3.73.72 5.12 1.88L13 20h9V11l-3.6-3.6z",viewBox:"0 0 24 24"},zoomIn:{path:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm2.5-2h-2v-2h2v2z",viewBox:"0 0 24 24"},zoomOut:{path:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",viewBox:"0 0 24 24"},infoCircle:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z",viewBox:"0 0 24 24"},warningCircle:{path:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2V7h2v7z",viewBox:"0 0 24 24"},errorCircle:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z",viewBox:"0 0 24 24"},checkCircle:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",viewBox:"0 0 24 24"},questionCircle:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z",viewBox:"0 0 24 24"},youtube:{path:"M10,15.5C10,16.88 8.67,18.14 6.88,18.64C5.08,19.14 3,18.47 3,17V7C3,5.53 5.08,4.86 6.88,5.36C8.67,5.86 10,7.12 10,8.5V15.5M15.5,15.5C15.5,16.88 14.17,18.14 12.38,18.64C10.58,19.14 8.5,18.47 8.5,17V7C8.5,5.53 10.58,4.86 12.38,5.36C14.17,5.86 15.5,7.12 15.5,8.5V15.5M19.83,7.41C20.22,7.69 20.39,8.14 20.39,8.64V15.36C20.39,15.86 20.22,16.31 19.83,16.59C19.63,16.72 19.39,16.79 19.14,16.79H15.41V7.21H19.14C19.39,7.21 19.63,7.28 19.83,7.41M19.14,15.56H16.5V8.44H19.14V15.56Z",viewBox:"0 0 24 24"},github:{path:"M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z",viewBox:"0 0 24 24"},weibo:{path:"M19,4H5C3.89,4 3,4.89 3,6V18A2,2 0 0,0 5,20H19A2,2 0 0,0 21,18V6C21,4.89 20.1,4 19,4M19,18H5V6H19V18M9.5,8A1.5,1.5 0 0,0 8,9.5A1.5,1.5 0 0,0 9.5,11A1.5,1.5 0 0,0 11,9.5A1.5,1.5 0 0,0 9.5,8M14.5,15A1.5,1.5 0 0,0 13,16.5A1.5,1.5 0 0,0 14.5,18A1.5,1.5 0 0,0 16,16.5A1.5,1.5 0 0,0 14.5,15M18,11C18,14.87 14.87,18 11,18C7.13,18 4,14.87 4,11C4,7.13 7.13,4 11,4C14.87,4 18,7.13 18,11Z",viewBox:"0 0 24 24"},telegram:{path:"M18.88,6.85L14.19,11.54L4.76,10.43L7.26,15.53L6.21,20.21L11.89,17.4L16.8,22L18.88,15.28L18.88,6.85Z",viewBox:"0 0 24 24"},hammer:{path:"M19.66,3.99C18.87,3.63 18,3.36 17.11,3.19L15,5.41L18.59,9L20.81,7.88C20.64,7 20.37,6.12 20.01,5.34L19.66,3.99M16.59,10L13,6.41L4,15.41V19H7.58L16.59,10Z",viewBox:"0 0 24 24"},wrench:{path:"M14.71,15.88L10.83,12L14.71,8.12L13.29,6.71L9.41,10.59L5.53,6.71L4.12,8.12L7.99,12L4.12,15.88L5.53,17.29L9.41,13.41L13.29,17.29L14.71,15.88Z",viewBox:"0 0 24 24"},screwdriver:{path:"M5,18H9V20H5V18M11,5.83V17.17L8,14.17L9.41,12.76L11,14.34V5.83M21.71,4.04C22.1,3.65 22.1,3 21.71,2.63L19.37,0.29C19,-0.1 18.35,-0.1 17.96,0.29L15,3.25L18.75,7L21.71,4.04Z",viewBox:"0 0 24 24"},paintbrush:{path:"M18,4A4,4 0 0,1 22,8A4,4 0 0,1 18,12A4,4 0 0,1 14,8A4,4 0 0,1 18,4M8.5,14.5A1.5,1.5 0 0,1 7,13A1.5,1.5 0 0,1 8.5,11.5A1.5,1.5 0 0,1 10,13A1.5,1.5 0 0,1 8.5,14.5M12,17A3,3 0 0,1 9,20H3V22H9A5,5 0 0,0 14,17H12Z",viewBox:"0 0 24 24"},fileEarmark:{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",viewBox:"0 0 24 24"},fileEarmarkText:{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M15,12V14H9V12H15M15,16V18H9V16H15M15,8H9V10H15V8Z",viewBox:"0 0 24 24"},fileEarmarkImage:{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20M10,13L15,16L10,19V13Z",viewBox:"0 0 24 24"},fileEarmarkPdf:{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20M10,13H8V18H10V13M12,13H10V11H12V13M14,13H12V11H14V13M16,13H14V11H16V13Z",viewBox:"0 0 24 24"},arrowUpRightSquare:{path:"M18,2A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4C4,2.89 4.89,2 6,2H18M17,10L12,15L7,10H17Z",viewBox:"0 0 24 24"},arrowDownRightSquare:{path:"M18,2A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H18M17,14L12,9L7,14H17Z",viewBox:"0 0 24 24"},arrowUpLeftSquare:{path:"M18,2A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H18M7,10L12,15L17,10H7Z",viewBox:"0 0 24 24"},arrowDownLeftSquare:{path:"M18,2A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H18M7,14L12,9L17,14H7Z",viewBox:"0 0 24 24"},compass:{path:"M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4Z",viewBox:"0 0 24 24"},mapPin:{path:"M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z",viewBox:"0 0 24 24"},location:{path:"M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z",viewBox:"0 0 24 24"},pencilSquare:{path:"M18,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2M15.5,13.5C15.5,14.35 15.13,15.09 14.5,15.5C13.88,15.91 13.15,16.1 12.3,16.1C11.45,16.1 10.73,15.91 10.1,15.5C9.47,15.09 9.1,14.35 9.1,13.5A4.4,4.4 0 0,1 13.5,9.1C14.35,9.1 15.09,9.47 15.5,10.1C15.91,10.73 16.1,11.45 16.1,12.3C16.1,13.15 15.91,13.88 15.5,14.5V13.5M12.3,14.9C12.69,14.9 13.07,14.82 13.4,14.66C14.08,14.34 14.4,13.69 14.4,13C14.4,12.31 14.08,11.66 13.4,11.34C13.07,11.18 12.69,11.1 12.3,11.1C11.91,11.1 11.53,11.18 11.2,11.34C10.52,11.66 10.2,12.31 10.2,13C10.2,13.69 10.52,14.34 11.2,14.66C11.53,14.82 11.91,14.9 12.3,14.9Z",viewBox:"0 0 24 24"},highlighter:{path:"M6,17A2,2 0 0,1 4,15V3A1,1 0 0,1 5,2H19A1,1 0 0,1 20,3V15A2,2 0 0,1 18,17H8L6,21V17M13,9H18V15H13V9M8,9H11V15H8V9Z",viewBox:"0 0 24 24"},checkCircleFill:{path:"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M10,17L5,12L6.41,10.59L10,14.17L17.59,6.58L19,8L10,17Z",viewBox:"0 0 24 24"},exclamationCircleFill:{path:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",viewBox:"0 0 24 24"},infoCircleFill:{path:"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M11,17H13V19H11V17M12,5A1,1 0 0,0 11,6A1,1 0 0,0 12,7A1,1 0 0,0 13,6A1,1 0 0,0 12,5Z",viewBox:"0 0 24 24"},laptop:{path:"M20,18H4V6H20M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z",viewBox:"0 0 24 24"},tablet:{path:"M21,18H3V5H21M21,3H3A2,2 0 0,0 1,5V18A2,2 0 0,0 3,20H21A2,2 0 0,0 23,18V5A2,2 0 0,0 21,3Z",viewBox:"0 0 24 24"},mobile:{path:"M17,19H7V5H17M17,3H7A2,2 0 0,0 5,5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V5A2,2 0 0,0 17,3Z",viewBox:"0 0 24 24"},dollar:{path:"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M14,18H12V15H14V18M14,13H12V4H10V13H8V11L12,15L16,11V13Z",viewBox:"0 0 24 24"},euro:{path:"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M15,18H13L11,15V13H15V18M13,9H11V7H15V10L13,9Z",viewBox:"0 0 24 24"},sun:{path:"M12,18A6,6 0 0,0 18,12A6,6 0 0,0 12,6A6,6 0 0,0 6,12A6,6 0 0,0 12,18M12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4M12,2V4M12,20V22M4.93,4.93L6.34,6.34M17.66,17.66L19.07,19.07M2,12H4M20,12H22M6.34,17.66L4.93,19.07M19.07,4.93L17.66,6.34",viewBox:"0 0 24 24"},moon:{path:"M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M12,19.93A7.93,7.93 0 0,1 4.07,12A7.93,7.93 0 0,1 12,4.07A7.93,7.93 0 0,1 19.93,12A7.93,7.93 0 0,1 12,19.93Z",viewBox:"0 0 24 24"},cloudSun:{path:"M19.35,10.03C18.67,6.59 15.64,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20H20C21.11,20 22,19.1 22,18C22,16.5 20.9,15.3 19.35,13.97L12,20V13L19.35,10.03Z",viewBox:"0 0 24 24"},settings:{path:"M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.22,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.22,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.68 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",viewBox:"0 0 24 24"},tools:{path:"M21.71,20.29L20.29,21.71C20.1,21.9 19.85,22 19.59,22C19.33,22 19.08,21.9 18.88,21.71L15,17.83C13.22,19.34 10.91,20.17 8.5,20C4.91,19.96 1.84,17.59 0.89,14.15C0,10.82 1.9,7.5 5,6C5,6 6,6 7,7C7,7 8,8 8,9C10,9 11,10 12,11C13,12 14,13 15,13C16,14 17,15 18,15C19,16 20,17 20,18C22.5,20.5 22.5,22.5 21.71,20.29M5.5,18C6.33,18 7,18.67 7,19.5C7,20.33 6.33,21 5.5,21C4.67,21 4,20.33 4,19.5C4,18.67 4.67,18 5.5,18Z",viewBox:"0 0 24 24"},tool:{path:"M22.7,19.6L14.4,11.3C14.7,10.5 14.9,9.7 14.9,8.8C14.9,5.6 12.3,3 9.1,3C8.2,3 7.3,3.2 6.5,3.5L10.8,7.8L7.9,10.7L3.6,6.4C3.2,7.2 3,8.1 3,9.1C3,12.3 5.6,14.9 8.8,14.9C9.7,14.9 10.5,14.7 11.3,14.4L19.6,22.7C20,23.1 20.5,23.3 21,23.3C21.5,23.3 22,23.1 22.4,22.7C23.1,22 23.1,20.8 22.7,19.6Z",viewBox:"0 0 24 24"},mallet:{path:"M2,19.63L13.43,8.2L12.72,7.5L14.14,6.07L12,3.89C13.2,2.7 15.09,2.7 16.27,3.89L19.87,7.5L18.45,8.91H21.29L22,9.62L18.45,13.21L17.74,12.5V9.62L16.27,11.04L15.56,10.33L4.13,21.76L2,19.63Z",viewBox:"0 0 24 24"},driver:{path:"M18,1.83C17.5,1.83 17,2 16.59,2.41L13.17,5.83L15.83,8.5L19.5,4.83C20,4.33 20,3.5 19.5,3C19,2.5 18.5,1.83 18,1.83M13,4L4,13C3.5,13.5 3.5,14.5 4,15L9,20C9.5,20.5 10.5,20.5 11,20L20,11C20.5,10.5 20.5,9.5 20,9L15,4C14.5,3.5 13.5,3.5 13,4M6.5,18.5L3.5,17.5L6,15L8.5,17.5L6.5,18.5Z",viewBox:"0 0 24 24"},document:{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",viewBox:"0 0 24 24"},directory:{path:"M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z",viewBox:"0 0 24 24"},"folder-open":{path:"M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z",viewBox:"0 0 24 24"},"file-pdf":{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20M7,13H9V19H7V13M10,13H12V17H10V13M13,13H15V19H13V13Z",viewBox:"0 0 24 24"},"file-text":{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20M8,13H16V15H8V13M8,9H10V11H8V9M8,17H13V19H8V17Z",viewBox:"0 0 24 24"},"arrow-left":{path:"M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z",viewBox:"0 0 24 24"},"arrow-right":{path:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z",viewBox:"0 0 24 24"},"arrow-up":{path:"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",viewBox:"0 0 24 24"},"arrow-down":{path:"M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z",viewBox:"0 0 24 24"},"chevron-left":{path:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",viewBox:"0 0 24 24"},"chevron-right":{path:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",viewBox:"0 0 24 24"},"m-home":{path:"M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z",viewBox:"0 0 24 24"},"m-menu":{path:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",viewBox:"0 0 24 24"},"m-search":{path:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",viewBox:"0 0 24 24"},"m-close":{path:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",viewBox:"0 0 24 24"},"m-user":{path:"M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z",viewBox:"0 0 24 24"},"m-edit":{path:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",viewBox:"0 0 24 24"},delete:{path:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",viewBox:"0 0 24 24"},"m-copy":{path:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z",viewBox:"0 0 24 24"},"m-out":{path:"M19,3L13,9L15,11L22,4V3M12,12.5A0.5,0.5 0 0,1 11.5,12A0.5,0.5 0 0,1 12,11.5A0.5,0.5 0 0,1 12.5,12A0.5,0.5 0 0,1 12,12.5M6,20A2,2 0 0,1 4,18C4,16.89 4.9,16 6,16A2,2 0 0,1 8,18C8,19.11 7.1,20 6,20M6,8A2,2 0 0,1 4,6C4,4.89 4.9,4 6,4A2,2 0 0,1 8,6C8,7.11 7.1,8 6,8M9.64,7.64C9.87,7.14 10,6.59 10,6A4,4 0 0,0 6,2A4,4 0 0,0 2,6A4,4 0 0,0 6,10C6.59,10 7.14,9.87 7.64,9.64L10,12L7.64,14.36C7.14,14.13 6.59,14 6,14A4,4 0 0,0 2,18A4,4 0 0,0 6,22A4,4 0 0,0 10,18C10,17.41 9.87,16.86 9.64,16.36L12,14L19,21H22V20L9.64,7.64Z",viewBox:"0 0 24 24"},bold:{path:"M13.5,15.5H10V12.5H13.5A1.5,1.5 0 0,1 15,14A1.5,1.5 0 0,1 13.5,15.5M10,6.5H13A1.5,1.5 0 0,1 14.5,8A1.5,1.5 0 0,1 13,9.5H10M15.6,10.79C16.57,10.11 17.25,9 17.25,8C17.25,5.74 15.5,4 13.25,4H7V18H14.04C16.14,18 17.75,16.3 17.75,14.21C17.75,12.69 16.89,11.39 15.6,10.79Z",viewBox:"0 0 24 24"},"m-check":{path:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",viewBox:"0 0 24 24"},"m-error":{path:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",viewBox:"0 0 24 24"},"m-warning":{path:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z",viewBox:"0 0 24 24"},"m-info":{path:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",viewBox:"0 0 24 24"},"m-loading":{path:"M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",viewBox:"0 0 24 24"},"m-phone":{path:"M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z",viewBox:"0 0 24 24"},photograph:{path:"M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z",viewBox:"0 0 24 24"},printer:{path:"M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z",viewBox:"0 0 24 24"},headphones:{path:"M12,1C7,1 3,5 3,10V17A3,3 0 0,0 6,20H9V12H5V10A7,7 0 0,1 12,3A7,7 0 0,1 19,10V12H15V20H18A3,3 0 0,0 21,17V10C21,5 16.97,1 12,1Z",viewBox:"0 0 24 24"},mouse:{path:"M11,1.07C7.05,1.56 4,4.92 4,9H11M4,15A8,8 0 0,0 12,23A8,8 0 0,0 20,15V11H4M13,1.07V9H20C20,4.92 16.94,1.56 13,1.07Z",viewBox:"0 0 24 24"},schedule:{path:"M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1M17,12H12V17H17V12Z",viewBox:"0 0 24 24"},"m-clock":{path:"M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z",viewBox:"0 0 24 24"},"m-bell":{path:"M10,21H14A2,2 0 0,1 12,23A2,2 0 0,1 10,21M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19Z",viewBox:"0 0 24 24"},"m-star":{path:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",viewBox:"0 0 24 24"},"m-heart":{path:"M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z",viewBox:"0 0 24 24"},"m-download":{path:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",viewBox:"0 0 24 24"},"m-upload":{path:"M9,16V10H5L12,3L19,10H15V16H9M5,20V18H19V20H5Z",viewBox:"0 0 24 24"},share:{path:"M18,16.08C17.24,16.08 16.56,16.38 16.04,16.85L8.91,12.7C8.96,12.47 9,12.24 9,12C9,11.76 8.96,11.53 8.91,11.3L15.96,7.19C16.5,7.69 17.21,8 18,8A3,3 0 0,0 21,5A3,3 0 0,0 18,2A3,3 0 0,0 15,5C15,5.24 15.04,5.47 15.09,5.7L8.04,9.81C7.5,9.31 6.79,9 6,9A3,3 0 0,0 3,12A3,3 0 0,0 6,15C6.79,15 7.5,14.69 8.04,14.19L15.16,18.34C15.11,18.55 15.08,18.77 15.08,19C15.08,20.61 16.39,21.91 18,21.91C19.61,21.91 20.92,20.61 20.92,19A2.92,2.92 0 0,0 18,16.08Z",viewBox:"0 0 24 24"},"external-link":{path:"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",viewBox:"0 0 24 24"},"m-mail":{path:"M20,8L12,13L4,8V6L12,11L20,6M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z",viewBox:"0 0 24 24"},secure:{path:"M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",viewBox:"0 0 24 24"},open:{path:"M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z",viewBox:"0 0 24 24"},view:{path:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z",viewBox:"0 0 24 24"},off:{path:"M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z",viewBox:"0 0 24 24"},"m-sort":{path:"M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z",viewBox:"0 0 24 24"},grid:{path:"M10,4V8H14V4H10M16,4V8H20V4H16M16,10V14H20V10H16M16,16V20H20V16H16M14,20V16H10V20H14M8,20V16H4V20H8M8,14V10H4V14H8M8,8V4H4V8H8M10,14H14V10H10V14M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4C2.92,22 2,21.1 2,20V4A2,2 0 0,1 4,2Z",viewBox:"0 0 24 24"},list:{path:"M3,13H21V11H3V13M3,6H21V4H3V6M3,18H21V16H3V18Z",viewBox:"0 0 24 24"},reload:{path:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z",viewBox:"0 0 24 24"},"volume-high":{path:"M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",viewBox:"0 0 24 24"},"volume-off":{path:"M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.52C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",viewBox:"0 0 24 24"}},w={search:h,loading:v,user:d,close:p,check:f,plus:m,minus:x,arrowLeft:C,arrowRight:L,arrowUp:H,arrowDown:M},A=function(e){return w[e]?w[e]:V[e]},g={small:12,medium:16,large:24},y=function(n){var o=n.type,r=n.path,i=n.viewBox,a=void 0===i?"0 0 24 24":i,l=n.size,s=void 0===l?"medium":l,u=n.color,h=void 0===u?"#339af0":u,v=n.hoverColor,d=n.spin,p=void 0!==d&&d,f=n.rotate,m=n.align,x=void 0===m?"center":m,C=n.className,L=void 0===C?"":C,H=n.style,M=n.onClick,V=t.useMemo(function(){return"number"==typeof s?s:g[s]||16},[s]),w=t.useMemo(function(){if(r)return r;if(o){var e=A(o);return(null==e?void 0:e.path)||""}return""},[o,r]),y=t.useMemo(function(){if("0 0 24 24"!==a)return a;if(o){var e=A(o);return(null==e?void 0:e.viewBox)||"0 0 24 24"}return"0 0 24 24"},[o,a]);if(!w)return null;var z=c({width:V,height:V,fill:h,transform:f?"rotate(".concat(f,"deg)"):void 0},H);return e.jsx("div",{className:"icon-container align-".concat(x," ").concat(L),children:e.jsx("svg",{viewBox:y,className:"icon ".concat(p?"icon-spin":""),style:z,onMouseEnter:function(e){v&&(e.currentTarget.style.fill=v)},onMouseLeave:function(e){v&&(e.currentTarget.style.fill=h)},onClick:M,children:e.jsx("path",{d:w})})})},z=i.default.forwardRef(function(t,n){var o=t.children,r=t.variant,i=void 0===r?"primary":r,c=t.size,l=void 0===c?"medium":c,s=t.disabled,u=void 0!==s&&s,h=t.loading,v=void 0!==h&&h,d=t.onClick,p=t.className,f=t.style,m=t.icon,x=a.default("idp-btn","idp-btn--".concat(i),"idp-btn--".concat(l),{"idp-btn--disabled":u||v},p);return e.jsxs("button",{ref:n,className:x,onClick:function(){!u&&d&&d()},disabled:u,style:f,children:[v?e.jsx(y,{type:"loading",style:{marginRight:o?"2px":0}}):m?"string"==typeof m?e.jsx(y,{type:m,style:{marginRight:o?"2px":0}}):e.jsx("span",{style:{marginRight:o?"8px":0,display:"inline-flex",alignItems:"center"},children:m}):null,o]})});z.displayName="Button";var b=z,B={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},j=i.default.createContext&&i.default.createContext(B),k=["attr","size","title"];function N(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Z.apply(this,arguments)}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach(function(t){O(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function O(e,t,n){var o;return(t="symbol"==typeof(o=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?o:o+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e){return e&&e.map((e,t)=>i.default.createElement(e.tag,E({key:t},e.attr),R(e.child)))}function P(e){return t=>i.default.createElement(T,Z({attr:E({},e.attr)},t),R(e.child))}function T(e){var t=t=>{var n,{attr:o,size:r,title:a}=e,c=N(e,k),l=r||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),i.default.createElement("svg",Z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,c,{className:n,style:E(E({color:e.color||t.color},t.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&i.default.createElement("title",null,a),e.children)};return void 0!==j?i.default.createElement(j.Consumer,null,e=>t(e)):t(B)}function q(e){return P({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(e)}var I=function(n){var o=n.announcement,r=n.height,i=void 0===r?40:r,a=n.speed,c=void 0===a?50:a,l=n.backgroundColor,s=void 0===l?"linear-gradient(to right, #e8eaf6 0%, #f5f5f5 50%, #e8eaf6 100%)":l,u=n.visible,h=void 0===u||u,v=n.fixed,d=void 0!==v&&v,p=n.fixedTop,f=void 0===p?0:p,m=n.isIcon,x=void 0===m||m,C=n.onClose;if(!o)return null;var L=t.useState(!0),H=L[0],M=L[1],V=h&&H,w=t.useRef(null),A=t.useRef(null),g=t.useRef(void 0),y=t.useRef(!1),z=t.useRef(!0);return t.useEffect(function(){if(V&&w.current&&A.current){var e=w.current,t=A.current;t.style.left="".concat(e.offsetWidth,"px");var n=function(){if(z.current&&t)if(y.current)g.current=requestAnimationFrame(n);else{var o=parseFloat(t.style.left)||0;o<-t.offsetWidth?t.style.left="".concat(e.offsetWidth,"px"):t.style.left="".concat(o-c/100,"px"),g.current=requestAnimationFrame(n)}};g.current=requestAnimationFrame(n);var o=function(){y.current=!0},r=function(){y.current=!1};return e.addEventListener("mouseenter",o),e.addEventListener("mouseleave",r),function(){g.current&&cancelAnimationFrame(g.current),e.removeEventListener("mouseenter",o),e.removeEventListener("mouseleave",r)}}},[c,o,V]),V?e.jsxs("div",{ref:w,className:"marquee-container ".concat(d?"marquee-container-fixed":""),style:{height:"".concat(i,"px"),background:s,top:d?"".concat(f,"px"):void 0},children:[e.jsx("div",{ref:A,className:"marquee-text",children:Array.isArray(o)?e.jsx("span",{children:o.map(function(t,n){return e.jsxs("span",{style:0==n?{}:{marginLeft:"100px"},children:[e.jsx("span",{style:{marginRight:"5px"},children:x?"📢":null}),t]},n)})}):o}),e.jsx("div",{className:"marquee-close",style:{height:"".concat(i,"px"),width:"45px",background:s},onClick:function(){z.current=!1,M(!1),C&&C()},onMouseEnter:function(){y.current=!0},onMouseLeave:function(){y.current=!1},children:e.jsx(q,{size:18,color:"#666"})})]}):null},_=function(n){var o=n.visible,r=n.title,i=void 0===r?"标题":r,l=n.width,s=void 0===l?600:l,u=n.height,h=void 0===u?300:u,v=n.headerHeight,d=void 0===v?40:v,p=n.footerHeight,f=void 0===p?60:p,m=n.confirmLoading,x=void 0!==m&&m,C=n.direction,L=void 0===C?"normal":C,H=n.top,M=n.onClose,V=n.onConfirm,w=n.children,A=n.className,g=n.style,z=t.useState(!1),B=z[0],j=z[1],k=t.useState(!1),N=k[0],Z=k[1],S=void 0!==H?"normal":L;t.useEffect(function(){if(!o){Z(!0);var e=setTimeout(function(){j(!1),Z(!1)},400);return function(){return clearTimeout(e)}}Z(!1),j(!0)},[o]);var E=function(){Z(!0);var e=setTimeout(function(){j(!1),Z(!1),null==M||M()},400);return function(){return clearTimeout(e)}},O=c({width:"number"==typeof s?"".concat(s,"px"):s,height:h?"number"==typeof h?"".concat(h,"px"):h:void 0,top:void 0!==H?"".concat(H,"px"):void 0},g),R={height:"number"==typeof d?"".concat(d,"px"):d},P=function(e){if("number"==typeof e)return e;var t=e.match(/^(\d+)px$/);return t?parseInt(t[1],10):0},T=h?P(h):0,q=P(d),I=P(f),_=T>0?Math.max(0,T-q-I):void 0,F={maxHeight:_?"".concat(_,"px"):void 0},D={height:"number"==typeof f?"".concat(f,"px"):f};return B||N?e.jsx("div",{className:a.default("idp-modal-overlay",{"idp-modal-overlay--visible":B,"idp-modal-overlay--closing":N,"idp-modal-overlay--custom-top":void 0!==H},A),onClick:E,children:e.jsxs("div",{className:a.default("idp-modal-container",{"idp-modal-container--center":B&&!N&&"center"===S,"idp-modal-container--top-right":B&&!N&&"top-right"===S,"idp-modal-container--bottom-right":B&&!N&&"bottom-right"===S,"idp-modal-container--normal":B&&!N&&"normal"===S,"idp-modal-container--closing-center":N&&"center"===S,"idp-modal-container--closing-top-right":N&&"top-right"===S,"idp-modal-container--closing-bottom-right":N&&"bottom-right"===S,"idp-modal-container--closing-normal":N&&"normal"===S}),style:O,onClick:function(e){return e.stopPropagation()},children:[e.jsxs("div",{className:"idp-modal-header",style:R,children:[e.jsx("div",{className:"idp-modal-header__left",children:e.jsx("span",{className:"idp-modal-header__title",children:i})}),e.jsx("div",{className:"idp-modal-header__right",children:e.jsx(y,{type:"close",size:24,color:"#339af0",onClick:E,style:{cursor:"pointer",padding:"4px"}})})]}),e.jsx("div",{className:"idp-modal-content",style:F,children:w}),e.jsxs("div",{className:"idp-modal-footer",style:D,children:[e.jsx("div",{className:"idp-modal-footer__divider"}),e.jsxs("div",{className:"idp-modal-footer__actions",children:[e.jsx(b,{variant:"secondary",onClick:E,disabled:x,children:"关闭"}),e.jsx(b,{variant:"primary",onClick:function(){null==V||V()},loading:x,children:"确认"})]})]})]})}):null},F={};Object.defineProperty(F,"__esModule",{value:!0});var D=i.default;function W(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var U=W(D);!function(e){if(!e||"undefined"==typeof window)return;const t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.rfm-marquee-container {\n overflow-x: hidden;\n display: flex;\n flex-direction: row;\n position: relative;\n width: var(--width);\n transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n pointer-events: none;\n touch-action: none;\n}\n.rfm-overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n left: 0;\n top: 0;\n}\n\n.rfm-marquee {\n flex: 0 0 auto;\n min-width: var(--min-width);\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}\n\n.rfm-initial-child-container {\n flex: 0 0 auto;\n display: flex;\n min-width: auto;\n flex-direction: row;\n align-items: center;\n}\n\n.rfm-child {\n transform: var(--transform);\n}');const $=D.forwardRef(function({style:e={},className:t="",autoFill:n=!1,play:o=!0,pauseOnHover:r=!1,pauseOnClick:i=!1,direction:a="left",speed:c=50,delay:l=0,loop:s=0,gradient:u=!1,gradientColor:h="white",gradientWidth:v=200,onFinish:d,onCycleComplete:p,onMount:f,children:m},x){const[C,L]=D.useState(0),[H,M]=D.useState(0),[V,w]=D.useState(1),[A,g]=D.useState(!1),y=D.useRef(null),z=x||y,b=D.useRef(null),B=D.useCallback(()=>{if(b.current&&z.current){const e=z.current.getBoundingClientRect(),t=b.current.getBoundingClientRect();let o=e.width,r=t.width;"up"!==a&&"down"!==a||(o=e.height,r=t.height),w(n&&o&&r&&r<o?Math.ceil(o/r):1),L(o),M(r)}},[n,z,a]);D.useEffect(()=>{if(A&&(B(),b.current&&z.current)){const e=new ResizeObserver(()=>B());return e.observe(z.current),e.observe(b.current),()=>{e&&e.disconnect()}}},[B,z,A]),D.useEffect(()=>{B()},[B,m]),D.useEffect(()=>{g(!0)},[]),D.useEffect(()=>{"function"==typeof f&&f()},[]);const j=D.useMemo(()=>n?H*V/c:H<C?C/c:H/c,[n,C,H,V,c]),k=D.useMemo(()=>Object.assign(Object.assign({},e),{"--pause-on-hover":!o||r?"paused":"running","--pause-on-click":!o||r&&!i||i?"paused":"running","--width":"up"===a||"down"===a?"100vh":"100%","--transform":"up"===a?"rotate(-90deg)":"down"===a?"rotate(90deg)":"none"}),[e,o,r,i,a]),N=D.useMemo(()=>({"--gradient-color":h,"--gradient-width":"number"==typeof v?`${v}px`:v}),[h,v]),Z=D.useMemo(()=>({"--play":o?"running":"paused","--direction":"left"===a?"normal":"reverse","--duration":`${j}s`,"--delay":`${l}s`,"--iteration-count":s?`${s}`:"infinite","--min-width":n?"auto":"100%"}),[o,a,j,l,s,n]),S=D.useMemo(()=>({"--transform":"up"===a?"rotate(90deg)":"down"===a?"rotate(-90deg)":"none"}),[a]),E=D.useCallback(e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,t)=>U.default.createElement(D.Fragment,{key:t},D.Children.map(m,e=>U.default.createElement("div",{style:S,className:"rfm-child"},e)))),[S,m]);return A?U.default.createElement("div",{ref:z,style:k,className:"rfm-marquee-container "+t},u&&U.default.createElement("div",{style:N,className:"rfm-overlay"}),U.default.createElement("div",{className:"rfm-marquee",style:Z,onAnimationIteration:p,onAnimationEnd:d},U.default.createElement("div",{className:"rfm-initial-child-container",ref:b},D.Children.map(m,e=>U.default.createElement("div",{style:S,className:"rfm-child"},e))),E(V-1)),U.default.createElement("div",{className:"rfm-marquee",style:Z},E(V))):null});var X=F.default=$,Y=function(t){var n=t.text,o=void 0===n?"":n,r=t.speed,a=void 0===r?50:r,l=t.height,s=void 0===l?60:l,u=t.icon,h=void 0===u?null:u,v=t.styles,d=void 0===v?{}:v,p=t.closeStyle,f=void 0===p?{}:p,m=t.showCloseButton,x=void 0!==m&&m,C=t.floatingTop,L=void 0!==C&&C,H=t.pauseOnHover,M=void 0===H||H,V=i.default.useState(!0),w=V[0],A=V[1];if(!o||!w)return null;return e.jsxs("div",{className:"idp-notice ".concat(L?"idp-notice-floating":""),style:c({height:"".concat(s,"px")},d),children:[e.jsxs(X,{pauseOnHover:M,speed:a,gradient:!1,children:[e.jsx("span",{style:{width:"1200px"}}),Array.isArray(o)?e.jsx("div",{style:{display:"inline-block",whiteSpace:"nowrap"},children:o.map(function(t,n){return e.jsxs("span",{style:{marginRight:"15px",display:"inline-block"},children:[h?e.jsx("span",{style:{marginRight:"5px"},children:h}):null,t]},n)})}):e.jsx("div",{style:{display:"inline-block",whiteSpace:"nowrap"},children:e.jsxs("span",{children:[h?e.jsx("span",{style:{marginRight:"5px"},children:h}):null,o]})})]}),x&&e.jsx("div",{className:"idp-notice-close",style:c({height:"".concat(s,"px")},f),onClick:function(){A(!1)},children:e.jsx("span",{style:{color:"white",fontSize:"16px",fontWeight:"bold"},children:"×"})})]})},G=function(n){var o=n.dataSource,r=void 0===o?[]:o,i=n.columns,a=void 0===i?[]:i,l=n.bordered,s=void 0!==l&&l,h=n.scroll,v=void 0===h?{}:h,d=n.rowKey,p=void 0===d?"key":d,f=n.className,m=void 0===f?"":f,x=n.pagination,C=t.useState([]),L=C[0],H=C[1],M=t.useState([]),V=M[0],w=M[1],A=t.useState([]),g=A[0],y=A[1],z=t.useState([]),b=z[0],B=z[1],j=t.useState(1),k=j[0],N=j[1],Z=t.useState(10),S=Z[0],E=Z[1],O=t.useRef(null),R=t.useRef(null),P=t.useRef(null);t.useEffect(function(){x&&"object"==typeof x&&(x.current&&N(x.current),x.pageSize&&E(x.pageSize))},[x]);t.useEffect(function(){var e=[],t=[],n=[],o=[];a.forEach(function(r,i){var a,l=(a=r.width)?"number"==typeof a?a:parseInt(a,10)||0:0;o[i]=l;var s=c(c({},r),{_index:i});"start"===r.fixed||!0===r.fixed?e.push(s):"end"===r.fixed?t.push(s):n.push(s)}),H(e),w(t),y(n),B(o)},[a]);var T=function(e,t){var n=t||S;N(e),E(n),x&&x.onChange&&x.onChange(e,n)},q={width:v.x?"number"==typeof v.x?"".concat(v.x,"px"):v.x:"auto"},I={maxHeight:v.y?"number"==typeof v.y?"".concat(v.y,"px"):v.y:"auto",overflowY:v.y?"auto":"visible"},_=u(u(u([],L,!0),g,!0),V,!0),F=function(){if(!1===x)return null;var e=(null==x?void 0:x.total)||r.length,t=S,n=k,o=(n-1)*t,i=o+t;return{data:r.slice(o,i),total:e,pageSize:t,current:n,totalPages:Math.ceil(e/t)}}(),D=F?F.data:r;return e.jsxs("div",{ref:O,className:"custom-table-container ".concat(s?"bordered":""," ").concat(m),style:q,children:[e.jsx("div",{className:"custom-table-header",children:e.jsx("div",{className:"custom-table-header-inner",ref:R,children:e.jsxs("table",{className:"custom-table ".concat(s?"bordered":""),children:[e.jsx("colgroup",{children:_.map(function(t,n){return e.jsx("col",{style:{width:t.width||"auto"}},n)})}),e.jsx("thead",{children:e.jsx("tr",{children:_.map(function(t,n){return function(t,n,o){var r={width:t.width||"auto",textAlign:t.align||"left",backgroundColor:"#fafafa",top:0};if("start"===t.fixed||!0===t.fixed){r.position="sticky";for(var i=0,a=0;a<n;a++)i+=b[a]||0;r.left="".concat(i,"px"),r.zIndex=10}else if("end"===t.fixed){r.position="sticky";var c=0;for(a=o.length-1;a>n;a--)c+=b[a]||0;r.right="".concat(c,"px"),r.zIndex=10}return e.jsx("th",{style:r,children:t.title||""},t.key||t.dataIndex||t._index)}(t,n,_)})})})]})})}),e.jsx("div",{className:"custom-table-body",ref:P,style:I,onScroll:function(e){if(R.current&&P.current){var t=e.target;t===P.current&&R.current.scrollLeft!==t.scrollLeft&&(R.current.scrollLeft=t.scrollLeft)}},children:e.jsxs("table",{className:"custom-table ".concat(s?"bordered":""),children:[e.jsx("colgroup",{children:_.map(function(t,n){return e.jsx("col",{style:{width:t.width||"auto"}},n)})}),e.jsx("tbody",{children:D.map(function(t,n){return e.jsx("tr",{children:_.map(function(o,r){return function(t,n,o,r,i){var a={width:t.width||"auto",textAlign:t.align||"left",backgroundColor:"white"};if("start"===t.fixed||!0===t.fixed){a.position="sticky";for(var c=0,l=0;l<r;l++)c+=b[l]||0;a.left="".concat(c,"px"),a.zIndex=5}else if("end"===t.fixed){a.position="sticky";var s=0;for(l=i.length-1;l>r;l--)s+=b[l]||0;a.right="".concat(s,"px"),a.zIndex=5}var u=t.dataIndex?n[t.dataIndex]:null;return t.render&&(u=t.render(u,n,o)),e.jsx("td",{style:a,children:u},t.key||t.dataIndex||t._index)}(o,t,n,r,_)})},function(e,t){return"function"==typeof p?p(e,t):e[p]||t}(t,n))})})]})}),0===D.length&&e.jsx("div",{className:"custom-table-empty",children:"暂无数据"}),function(){if(!1===x||!F)return null;var t=F.total,n=F.current,o=F.totalPages,r=F.pageSize;return e.jsxs("div",{className:"custom-table-pagination",children:[e.jsxs("span",{className:"custom-table-pagination-total",children:["共 ",t," 条"]}),e.jsx("button",{className:"custom-table-pagination-btn",onClick:function(){return T(1)},disabled:1===n,children:"首页"}),e.jsx("button",{className:"custom-table-pagination-btn",onClick:function(){return T(n-1)},disabled:1===n,children:"上一页"}),function(){var e=[],t=Math.max(1,n-Math.floor(2.5)),r=Math.min(o,t+5-1);r-t<4&&(t=Math.max(1,r-5+1)),t>1&&(e.push(1),t>2&&e.push("..."));for(var i=t;i<=r;i++)e.push(i);return r<o&&(r<o-1&&e.push("..."),e.push(o)),e}().map(function(t,o){return e.jsx("span",{className:"custom-table-pagination-page ".concat(t===n?"active":""," ").concat("..."===t?"ellipsis":""),onClick:function(){return"number"==typeof t&&T(t)},children:t},o)}),e.jsx("button",{className:"custom-table-pagination-btn",onClick:function(){return T(n+1)},disabled:n===o,children:"下一页"}),e.jsx("button",{className:"custom-table-pagination-btn",onClick:function(){return T(o)},disabled:n===o,children:"末页"}),e.jsxs("select",{className:"custom-table-pagination-select",value:r,onChange:function(e){return T(1,Number(e.target.value))},children:[e.jsx("option",{value:10,children:"10条/页"}),e.jsx("option",{value:20,children:"20条/页"}),e.jsx("option",{value:50,children:"50条/页"}),e.jsx("option",{value:100,children:"100条/页"})]})]})}()]})};function K(e){return P({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z"},child:[]}]})(e)}var J=function(n){var o=n.showAfter,r=void 0===o?100:o,i=n.bottom,a=void 0===i?30:i,c=n.right,l=void 0===c?30:c,s=n.size,u=void 0===s?40:s,h=n.color,v=void 0===h?"#fff":h,d=n.bgColor,p=void 0===d?"#1a2980":d,f=n.boxShadow,m=void 0===f?"0 2px 10px rgba(0, 0, 0, 0.15)":f,x=n.onClick,C=n.containerRef,L=n.icon,H=t.useState(!1),M=H[0],V=H[1],w=t.useRef(null),A=t.useCallback(function(){(null==C?void 0:C.current)?C.current.scrollTo({top:0,behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"}),null==x||x()},[x,C]);if(t.useEffect(function(){var e=function(){var e=0;e=(null==C?void 0:C.current)?C.current.scrollTop:window.pageYOffset,V(e>r)};if(null==C?void 0:C.current){var t=C.current;return t.addEventListener("scroll",e),e(),function(){return t.removeEventListener("scroll",e)}}return window.addEventListener("scroll",e),e(),function(){return window.removeEventListener("scroll",e)}},[r,C]),!M)return null;var g=e.jsx(K,{size:Math.floor(.5*u)}),y=.5*u;return(null==C?void 0:C.current)?e.jsx("div",{ref:w,className:"top-button-wrapper-container",style:{position:"sticky",bottom:"".concat(a,"px"),marginLeft:"auto",width:"".concat(u,"px"),height:"".concat(u,"px"),right:"".concat(l,"px"),zIndex:10},children:e.jsx("button",{className:"top-button",onClick:A,style:{width:"".concat(u,"px"),height:"".concat(u,"px"),backgroundColor:p,color:v,boxShadow:m,padding:0,border:"none"},children:L?e.jsx("span",{style:{width:y,height:y,display:"flex",alignItems:"center",justifyContent:"center"},children:L}):g})}):e.jsx("div",{ref:w,className:"top-button-wrapper",style:{position:"fixed",bottom:"".concat(a,"px"),right:"".concat(l,"px"),zIndex:1e3},children:e.jsx("button",{className:"top-button",onClick:A,style:{width:"".concat(u,"px"),height:"".concat(u,"px"),backgroundColor:p,color:v,boxShadow:m,padding:0,border:"none"},children:L?e.jsx("span",{style:{width:y,height:y,display:"flex",alignItems:"center",justifyContent:"center"},children:L}):g})})},Q=function(t){var n=t.orientation,o=void 0===n?"horizontal":n,r=t.type,i=void 0===r?"solid":r,a=t.color,l=void 0===a?"#339af0":a,s=t.className,u=void 0===s?"":s,h=t.style;return e.jsx("div",{className:"divider divider-".concat(o," divider-").concat(i," ").concat(u),style:c({backgroundColor:"horizontal"===o?l:"transparent",borderColor:"vertical"===o?l:"transparent"},h)})},ee=function(t){var n=t.type,o=void 0===n?"text":n,r=t.placeholder,i=void 0===r?"":r,a=t.width,l=t.className,s=void 0===l?"":l,u=t.style,h=t.value,v=t.onChange,d=t.onBlur,p=t.onFocus,f=t.disabled,m=void 0!==f&&f,x=t.readOnly,C=void 0!==x&&x;return e.jsx("input",{type:o,placeholder:i,className:"input ".concat(s," ").concat(m?"input-disabled":""," ").concat(C?"input-readonly":""),style:c({width:a},u),value:h,onChange:v,onBlur:d,onFocus:p,disabled:m,readOnly:C})},te=function(t){switch(t){case"success":return e.jsx("i",{className:"fas fa-check-circle"});case"warning":return e.jsx("i",{className:"fas fa-exclamation-triangle"});case"error":return e.jsx("i",{className:"fas fa-times-circle"});default:return e.jsx("i",{className:"fas fa-info-circle"})}},ne=function(n){var o=n.message,r=n.duration,i=void 0===r?3e3:r,a=n.type,l=void 0===a?"info":a,s=n.position,u=void 0===s?"center":s,h=n.color,v=n.top,d=n.open,p=n.clickOutsideToClose,f=void 0!==p&&p,m=n.onClose,x=void 0!==d,C=t.useState(!0),L=C[0],H=C[1],M=t.useState(!0),V=M[0],w=M[1],A=t.useRef(null),g=x?d:L;if(t.useEffect(function(){var e=function(e){f&&A.current&&!A.current.contains(e.target)&&(w(!1),setTimeout(function(){m&&m(),x||H(!1)},500))};return f&&g&&document.addEventListener("click",e),function(){document.removeEventListener("click",e)}},[f,g,x,m]),t.useEffect(function(){x&&(d?w(!0):(w(!1),setTimeout(function(){m&&m()},500)))},[d,x,m]),t.useEffect(function(){if(g){var e=setTimeout(function(){w(!1),setTimeout(function(){m&&m(),x||H(!1)},500)},i);return function(){return clearTimeout(e)}}},[i,g,x,m]),!g||!V)return null;var y="notification-".concat(l),z=h?"notification-custom":"",b=function(){var e={};if(void 0!==v)if(e.top="".concat(v,"px"),u.startsWith("top-"))switch(u){case"top-left":e.left="20px",e.right="auto";break;case"top-center":e.left="50%",e.transform="translateX(-50%)",e.right="auto";break;case"top-right":e.right="20px",e.left="auto"}else e.right="20px",e.left="auto",e.bottom="auto";return e}(),B=c({backgroundColor:h},b),j=void 0===v?"notification-".concat(u):"";return e.jsx("div",{ref:A,className:"notification ".concat(y," ").concat(j," ").concat(z," ").concat(V?"fade-in":"fade-out"),style:B,children:e.jsxs("div",{className:"notification-content",children:[te(l),e.jsx("span",{children:o})]})})},oe=function(n){var r=n.color,i=n.onChange,c=n.onColorChange,l=n.disabled,s=void 0!==l&&l,u=n.className,h=n.style,v=n.alpha,d=void 0!==v&&v,p=n.presetColors,f=void 0===p?[]:p,m=n.children,x=t.useState(!1),C=x[0],L=x[1],H=t.useState(r),M=H[0],V=H[1],w=t.useRef(null),A=t.useRef(null),g=a.default("idp-color-picker",{"idp-color-picker--disabled":s,"idp-color-picker--open":C},u),y=function(e){V(e.hex)},z=function(e){e.stopPropagation(),s||L(!C)};return t.useEffect(function(){var e=function(e){var t=w.current&&w.current.contains(e.target),n=A.current&&A.current.contains(e.target);t||n||L(!1)};return C&&document.addEventListener("click",e),function(){document.removeEventListener("click",e)}},[C]),e.jsxs("div",{className:g,style:h,children:[m?e.jsx("div",{ref:A,className:"idp-color-picker-trigger-container",onClick:z,children:m}):e.jsx("div",{ref:A,className:"idp-color-picker-default-trigger",style:{backgroundColor:r},onClick:z}),C&&e.jsxs("div",{className:"idp-color-picker-popup",children:[e.jsxs("div",{className:"idp-color-picker-content",ref:w,children:[e.jsx(o.SketchPicker,{color:M,onChange:function(e){y(e),null==c||c(e.hex)},disableAlpha:!d}),f.length>0&&e.jsxs("div",{children:[e.jsx("div",{className:"idp-color-picker-presets-label",children:"预设颜色"}),e.jsx("div",{className:"idp-color-picker-presets",children:f.map(function(t,n){return e.jsx("div",{className:"idp-color-picker-preset",style:{backgroundColor:t},onClick:function(){return y({hex:t})},title:t},n)})})]}),e.jsxs("div",{className:"idp-color-picker-actions",children:[e.jsx("div",{className:"idp-color-picker-preview",style:{backgroundColor:M}}),e.jsx("div",{className:"idp-color-picker-type"}),e.jsxs("div",{className:"idp-color-picker-button-group",children:[e.jsx(b,{size:"small",onClick:function(){V(r),L(!1)},children:"取消"}),e.jsx(b,{variant:"primary",size:"small",onClick:function(){i(M),L(!1)},children:"确认"})]})]})]}),e.jsx("div",{className:"idp-color-picker-overlay",onClick:function(){return L(!1)}})]})]})},re=function(e){return l(void 0,void 0,void 0,function(){var t;return s(this,function(n){switch(n.label){case 0:return navigator.clipboard&&window.isSecureContext?[4,navigator.clipboard.writeText(e)]:[3,2];case 1:return n.sent(),[3,3];case 2:(t=document.createElement("textarea")).style.position="fixed",t.style.top=t.style.left="-100vh",t.style.opacity="0",t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),n.label=3;case 3:return[2]}})})};function ie(){var e=this;return i.default.useCallback(function(t){return l(e,void 0,void 0,function(){return s(this,function(e){switch(e.label){case 0:return[4,re(t)];case 1:return[2,e.sent()]}})})},[])}var ae=function(t){var n=t.url,o=t.onCopyStatusChange,r=t.children,i=ie();return e.jsx("span",{style:{margin:"0px",padding:"0px"},onClick:function(){return l(void 0,void 0,void 0,function(){return s(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,i(n)];case 1:return e.sent(),null==o||o("success"),[3,3];case 2:return e.sent(),null==o||o("error"),[3,3];case 3:return[2]}})})},children:r})},ce=ie,le=function(n){var o=n.type,r=n.content,i=n.duration,a=void 0===i?3e3:i,c=n.className,l=void 0===c?"":c,s=n.style,u=n.onClose,h=t.useState(!0),v=h[0],d=h[1];if(t.useEffect(function(){if(a>0){var e=setTimeout(function(){d(!1),null==u||u()},a);return function(){return clearTimeout(e)}}},[a,u]),!v)return null;return e.jsx("div",{className:"idp-message idp-message--".concat(o," ").concat(l," ").concat(v?"idp-message--show":""),style:s,children:e.jsxs("div",{className:"idp-message-content",children:[e.jsx(y,{type:function(){switch(o){case"success":return"success";case"warning":return"warning";case"error":return"error";default:return"infoCircleFill"}}(),size:20,color:function(){switch(o){case"success":return"#52c41a";case"warning":return"#faad14";case"error":return"#f5222d";default:return"#1890ff"}}()}),e.jsx("span",{className:"idp-message-text",children:r})]})})},se=t.createContext({message:null});exports.Button=b,exports.ColorPicker=oe,exports.CopyToClipboard=ae,exports.Divider=Q,exports.Icon=y,exports.Input=ee,exports.Marquee=I,exports.Message=le,exports.MessageProvider=function(n){var o=n.children,r=t.useState([]),i=r[0],a=r[1],c=t.useState(0),l=c[0],s=c[1],h=t.useCallback(function(e,t,n){void 0===n&&(n=3e3);var o=l;s(function(e){return e+1}),a(function(r){return u(u([],r,!0),[{id:o,type:e,content:t,duration:n}],!1)});var r=setTimeout(function(){i(o)},n),i=function(e){a(function(t){return t.filter(function(t){return t.id!==e})})};return{close:function(){clearTimeout(r),i(o)}}},[l]),v={success:function(e,t){return h("success",e,t)},warning:function(e,t){return h("warning",e,t)},error:function(e,t){return h("error",e,t)},close:function(){return a([])}};return e.jsxs(se.Provider,{value:{message:v},children:[o,i.map(function(t){return e.jsx(le,{type:t.type,content:t.content,duration:t.duration,onClose:function(){return a(function(e){return e.filter(function(e){return e.id!==t.id})})}},t.id)})]})},exports.Modal=_,exports.Notice=Y,exports.Notification=ne,exports.Table=G,exports.Top=J,exports.useCopy=ce,exports.useMessage=function(){var e=t.useContext(se);if(!(null==e?void 0:e.message))throw new Error("useMessage must be used within a MessageProvider");return e.message};
@@ -0,0 +1 @@
1
+ import{jsxs as i,jsx as t}from"react/jsx-runtime";import n from"react";import e from"classnames";import a from"../Icon/Icon.js";var r=n.forwardRef(function(n,r){var o=n.children,l=n.variant,d=void 0===l?"primary":l,s=n.size,c=void 0===s?"medium":s,m=n.disabled,p=void 0!==m&&m,f=n.loading,y=void 0!==f&&f,g=n.onClick,u=n.className,b=n.style,v=n.icon,h=e("idp-btn","idp-btn--".concat(d),"idp-btn--".concat(c),{"idp-btn--disabled":p||y},u);return i("button",{ref:r,className:h,onClick:function(){!p&&g&&g()},disabled:p,style:b,children:[y?t(a,{type:"loading",style:{marginRight:o?"2px":0}}):v?"string"==typeof v?t(a,{type:v,style:{marginRight:o?"2px":0}}):t("span",{style:{marginRight:o?"8px":0,display:"inline-flex",alignItems:"center"},children:v}):null,o]})});r.displayName="Button";var o=r;export{o as default};
@@ -0,0 +1 @@
1
+ import{jsxs as r,jsx as e}from"react/jsx-runtime";import{useState as i,useRef as o,useEffect as c}from"react";import n from"classnames";import{SketchPicker as l}from"react-color";import t from"../Button/Button.js";var a=function(a){var s=a.color,d=a.onChange,p=a.onColorChange,u=a.disabled,m=void 0!==u&&u,k=a.className,v=a.style,f=a.alpha,h=void 0!==f&&f,g=a.presetColors,C=void 0===g?[]:g,N=a.children,b=i(!1),y=b[0],x=b[1],j=i(s),z=j[0],B=j[1],E=o(null),L=o(null),w=n("idp-color-picker",{"idp-color-picker--disabled":m,"idp-color-picker--open":y},k),A=function(r){B(r.hex)},P=function(r){r.stopPropagation(),m||x(!y)};return c(function(){var r=function(r){var e=E.current&&E.current.contains(r.target),i=L.current&&L.current.contains(r.target);e||i||x(!1)};return y&&document.addEventListener("click",r),function(){document.removeEventListener("click",r)}},[y]),r("div",{className:w,style:v,children:[e("div",N?{ref:L,className:"idp-color-picker-trigger-container",onClick:P,children:N}:{ref:L,className:"idp-color-picker-default-trigger",style:{backgroundColor:s},onClick:P}),y&&r("div",{className:"idp-color-picker-popup",children:[r("div",{className:"idp-color-picker-content",ref:E,children:[e(l,{color:z,onChange:function(r){A(r),null==p||p(r.hex)},disableAlpha:!h}),C.length>0&&r("div",{children:[e("div",{className:"idp-color-picker-presets-label",children:"预设颜色"}),e("div",{className:"idp-color-picker-presets",children:C.map(function(r,i){return e("div",{className:"idp-color-picker-preset",style:{backgroundColor:r},onClick:function(){return A({hex:r})},title:r},i)})})]}),r("div",{className:"idp-color-picker-actions",children:[e("div",{className:"idp-color-picker-preview",style:{backgroundColor:z}}),e("div",{className:"idp-color-picker-type"}),r("div",{className:"idp-color-picker-button-group",children:[e(t,{size:"small",onClick:function(){B(s),x(!1)},children:"取消"}),e(t,{variant:"primary",size:"small",onClick:function(){d(z),x(!1)},children:"确认"})]})]})]}),e("div",{className:"idp-color-picker-overlay",onClick:function(){return x(!1)}})]})]})};export{a as default};
@@ -0,0 +1 @@
1
+ import{__awaiter as r,__generator as n}from"../node_modules/tslib/tslib.es6.js";import{jsx as e}from"react/jsx-runtime";import t from"../Hooks/useCopy.js";var s=function(s){var o=s.url,u=s.onCopyStatusChange,i=s.children,a=t();return e("span",{style:{margin:"0px",padding:"0px"},onClick:function(){return r(void 0,void 0,void 0,function(){return n(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,a(o)];case 1:return r.sent(),null==u||u("success"),[3,3];case 2:return r.sent(),null==u||u("error"),[3,3];case 3:return[2]}})})},children:i})},o=t;export{s as default,o as useOnCopy};
@@ -0,0 +1 @@
1
+ import{__assign as o}from"../node_modules/tslib/tslib.es6.js";import{jsx as r}from"react/jsx-runtime";var t=function(t){var i=t.orientation,a=void 0===i?"horizontal":i,e=t.type,d=void 0===e?"solid":e,n=t.color,s=void 0===n?"#339af0":n,l=t.className,c=void 0===l?"":l,v=t.style;return r("div",{className:"divider divider-".concat(a," divider-").concat(d," ").concat(c),style:o({backgroundColor:"horizontal"===a?s:"transparent",borderColor:"vertical"===a?s:"transparent"},v)})};export{t as default};
@@ -0,0 +1 @@
1
+ import{__awaiter as e,__generator as t}from"../node_modules/tslib/tslib.es6.js";import n from"react";var o=function(n){return e(void 0,void 0,void 0,function(){var e;return t(this,function(t){switch(t.label){case 0:return navigator.clipboard&&window.isSecureContext?[4,navigator.clipboard.writeText(n)]:[3,2];case 1:return t.sent(),[3,3];case 2:(e=document.createElement("textarea")).style.position="fixed",e.style.top=e.style.left="-100vh",e.style.opacity="0",e.value=n,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),t.label=3;case 3:return[2]}})})};function r(){var r=this;return n.useCallback(function(n){return e(r,void 0,void 0,function(){return t(this,function(e){switch(e.label){case 0:return[4,o(n)];case 1:return[2,e.sent()]}})})},[])}export{r as default};
@@ -0,0 +1 @@
1
+ import{__assign as r}from"../node_modules/tslib/tslib.es6.js";import{jsx as o}from"react/jsx-runtime";import{useMemo as e}from"react";import{presetIcons as t,searchIcon as n,loadingIcon as i,userIcon as a,closeIcon as l,checkIcon as c,plusIcon as u,minusIcon as s,arrowLeftIcon as f,arrowRightIcon as d,arrowUpIcon as m,arrowDownIcon as v}from"./path.js";var p={search:n,loading:i,user:a,close:l,check:c,plus:u,minus:s,arrowLeft:f,arrowRight:d,arrowUp:m,arrowDown:v},h=function(r){return p[r]?p[r]:t[r]},g={small:12,medium:16,large:24},w=function(t){var n=t.type,i=t.path,a=t.viewBox,l=void 0===a?"0 0 24 24":a,c=t.size,u=void 0===c?"medium":c,s=t.color,f=void 0===s?"#339af0":s,d=t.hoverColor,m=t.spin,v=void 0!==m&&m,p=t.rotate,w=t.align,y=void 0===w?"center":w,x=t.className,b=void 0===x?"":x,j=t.style,k=t.onClick,B=e(function(){return"number"==typeof u?u:g[u]||16},[u]),C=e(function(){if(i)return i;if(n){var r=h(n);return(null==r?void 0:r.path)||""}return""},[n,i]),N=e(function(){if("0 0 24 24"!==l)return l;if(n){var r=h(n);return(null==r?void 0:r.viewBox)||"0 0 24 24"}return"0 0 24 24"},[n,l]);if(!C)return null;var L=r({width:B,height:B,fill:f,transform:p?"rotate(".concat(p,"deg)"):void 0},j);return o("div",{className:"icon-container align-".concat(y," ").concat(b),children:o("svg",{viewBox:N,className:"icon ".concat(v?"icon-spin":""),style:L,onMouseEnter:function(r){d&&(r.currentTarget.style.fill=d)},onMouseLeave:function(r){d&&(r.currentTarget.style.fill=f)},onClick:k,children:o("path",{d:C})})})};export{w as default};
@@ -0,0 +1 @@
1
+ import o from"./Icon.js";export{o as default};
@@ -0,0 +1 @@
1
+ var h={path:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",viewBox:"0 0 24 24"},v={path:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z",viewBox:"0 0 24 24"},H={path:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",viewBox:"0 0 24 24"},V={path:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",viewBox:"0 0 24 24"},L={path:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",viewBox:"0 0 24 24"},M={path:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z",viewBox:"0 0 24 24"},e={path:"M19 13H5v-2h14v2z",viewBox:"0 0 24 24"},A={path:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",viewBox:"0 0 24 24"},C={path:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",viewBox:"0 0 24 24"},o={path:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z",viewBox:"0 0 24 24"},a={path:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z",viewBox:"0 0 24 24"},i={search:h,loading:v,user:H,close:V,check:L,plus:M,minus:e,arrowLeft:A,arrowRight:C,arrowUp:o,arrowDown:a,setting:{path:"M19.14 12.94c.04-.31.06-.63.06-.94 0-.31-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z",viewBox:"0 0 24 24"},eye:{path:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",viewBox:"0 0 24 24"},eyeOff:{path:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z",viewBox:"0 0 24 24"},trash:{path:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z",viewBox:"0 0 24 24"},edit:{path:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z",viewBox:"0 0 24 24"},download:{path:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z",viewBox:"0 0 24 24"},upload:{path:"M9 16h6v-6h4l-7-7-7 7h4v6zm-4 2h14v2H5v-2z",viewBox:"0 0 24 24"},refresh:{path:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z",viewBox:"0 0 24 24"},home:{path:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z",viewBox:"0 0 24 24"},menu:{path:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z",viewBox:"0 0 24 24"},more:{path:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",viewBox:"0 0 24 24"},bell:{path:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z",viewBox:"0 0 24 24"},mail:{path:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z",viewBox:"0 0 24 24"},calendar:{path:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM9 10H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm-8 4H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2z",viewBox:"0 0 24 24"},clock:{path:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z",viewBox:"0 0 24 24"},star:{path:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",viewBox:"0 0 24 24"},starOutline:{path:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z",viewBox:"0 0 24 24"},heart:{path:"M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z",viewBox:"0 0 24 24"},heartOutline:{path:"M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z",viewBox:"0 0 24 24"},info:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z",viewBox:"0 0 24 24"},warning:{path:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z",viewBox:"0 0 24 24"},error:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z",viewBox:"0 0 24 24"},success:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",viewBox:"0 0 24 24"},question:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z",viewBox:"0 0 24 24"},link:{path:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z",viewBox:"0 0 24 24"},image:{path:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z",viewBox:"0 0 24 24"},folder:{path:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z",viewBox:"0 0 24 24"},file:{path:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z",viewBox:"0 0 24 24"},cloud:{path:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z",viewBox:"0 0 24 24"},exclamation:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z",viewBox:"0 0 24 24"},facebook:{path:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",viewBox:"0 0 24 24"},twitter:{path:"M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z",viewBox:"0 0 24 24"},instagram:{path:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z",viewBox:"0 0 24 24"},linkedin:{path:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z",viewBox:"0 0 24 24"},copy:{path:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",viewBox:"0 0 24 24"},paste:{path:"M19 2h-4.18C14.4 2 14 2.4 14 2.82V7h-4V2.82C10 2.4 9.6 2 9.18 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0h4v5h-4V2zm5 18H5V4h4v3h1.18C10.6 7 11 7.4 11 7.82V20h8V4h-4v3h-.18C14.4 7 14 7.4 14 7.82V20z",viewBox:"0 0 24 24"},cut:{path:"M17 3H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7V5h10v14zm-1-7h-3V8h-2v4H8l4 4 4-4z",viewBox:"0 0 24 24"},select:{path:"M3 3v18h18V3H3zm16 16H5V5h14v14zM11 7h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2z",viewBox:"0 0 24 24"},fileText:{path:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z",viewBox:"0 0 24 24"},filePdf:{path:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z",viewBox:"0 0 24 24"},fileExcel:{path:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z",viewBox:"0 0 24 24"},fileWord:{path:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z",viewBox:"0 0 24 24"},arrowUpRight:{path:"M13 3h-2v5H6v2h5v8h2v-8h5v-2h-5V3z",viewBox:"0 0 24 24"},arrowDownRight:{path:"M19 15v-2h-5V6h-2v7H6v2h7v5h2v-5h5z",viewBox:"0 0 24 24"},arrowUpLeft:{path:"M11 3v5H6v2h5v8h2v-8h5v-2h-5V3h-2z",viewBox:"0 0 24 24"},arrowDownLeft:{path:"M11 19H6v-2h5v-5h2v5h5v2h-5z",viewBox:"0 0 24 24"},filter:{path:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z",viewBox:"0 0 24 24"},sort:{path:"M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z",viewBox:"0 0 24 24"},searchPlus:{path:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm7.5 4l3.04 3.04.71-.71-3.75-3.75z",viewBox:"0 0 24 24"},searchMinus:{path:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm7.5-2h-5v-2h5v2z",viewBox:"0 0 24 24"},shield:{path:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z",viewBox:"0 0 24 24"},lock:{path:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z",viewBox:"0 0 24 24"},unlock:{path:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z",viewBox:"0 0 24 24"},tag:{path:"M20.59 13.41l-7.17 7.17c-.18.18-.43.29-.71.29H8c-1.1 0-1.99-.9-1.99-2V9.3c0-.28.11-.53.29-.71l7.17-7.17c.56-.56 1.41-.22 1.79.58l3.31 8.83c.38.95-.29 1.95-1.24 1.95h-2.06c-.28 0-.53.11-.71.29z",viewBox:"0 0 24 24"},bookmark:{path:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z",viewBox:"0 0 24 24"},flag:{path:"M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6h-5.6z",viewBox:"0 0 24 24"},map:{path:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.7z",viewBox:"0 0 24 24"},message:{path:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z",viewBox:"0 0 24 24"},phone:{path:"M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z",viewBox:"0 0 24 24"},camera:{path:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",viewBox:"0 0 24 24"},video:{path:"M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z",viewBox:"0 0 24 24"},music:{path:"M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z",viewBox:"0 0 24 24"},play:{path:"M8 5v14l11-7z",viewBox:"0 0 24 24"},pause:{path:"M6 19h4V5H6v14zm8-14v14h4V5h-4z",viewBox:"0 0 24 24"},stop:{path:"M6 19h12V5H6v14z",viewBox:"0 0 24 24"},refreshCw:{path:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z",viewBox:"0 0 24 24"},refreshCcw:{path:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z",viewBox:"0 0 24 24"},undo:{path:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z",viewBox:"0 0 24 24"},redo:{path:"M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22l2.37.78C4.63 15.17 7.74 13 11.5 13c1.95 0 3.73.72 5.12 1.88L13 20h9V11l-3.6-3.6z",viewBox:"0 0 24 24"},zoomIn:{path:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm2.5-2h-2v-2h2v2z",viewBox:"0 0 24 24"},zoomOut:{path:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",viewBox:"0 0 24 24"},infoCircle:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z",viewBox:"0 0 24 24"},warningCircle:{path:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2V7h2v7z",viewBox:"0 0 24 24"},errorCircle:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z",viewBox:"0 0 24 24"},checkCircle:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",viewBox:"0 0 24 24"},questionCircle:{path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z",viewBox:"0 0 24 24"},youtube:{path:"M10,15.5C10,16.88 8.67,18.14 6.88,18.64C5.08,19.14 3,18.47 3,17V7C3,5.53 5.08,4.86 6.88,5.36C8.67,5.86 10,7.12 10,8.5V15.5M15.5,15.5C15.5,16.88 14.17,18.14 12.38,18.64C10.58,19.14 8.5,18.47 8.5,17V7C8.5,5.53 10.58,4.86 12.38,5.36C14.17,5.86 15.5,7.12 15.5,8.5V15.5M19.83,7.41C20.22,7.69 20.39,8.14 20.39,8.64V15.36C20.39,15.86 20.22,16.31 19.83,16.59C19.63,16.72 19.39,16.79 19.14,16.79H15.41V7.21H19.14C19.39,7.21 19.63,7.28 19.83,7.41M19.14,15.56H16.5V8.44H19.14V15.56Z",viewBox:"0 0 24 24"},github:{path:"M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z",viewBox:"0 0 24 24"},weibo:{path:"M19,4H5C3.89,4 3,4.89 3,6V18A2,2 0 0,0 5,20H19A2,2 0 0,0 21,18V6C21,4.89 20.1,4 19,4M19,18H5V6H19V18M9.5,8A1.5,1.5 0 0,0 8,9.5A1.5,1.5 0 0,0 9.5,11A1.5,1.5 0 0,0 11,9.5A1.5,1.5 0 0,0 9.5,8M14.5,15A1.5,1.5 0 0,0 13,16.5A1.5,1.5 0 0,0 14.5,18A1.5,1.5 0 0,0 16,16.5A1.5,1.5 0 0,0 14.5,15M18,11C18,14.87 14.87,18 11,18C7.13,18 4,14.87 4,11C4,7.13 7.13,4 11,4C14.87,4 18,7.13 18,11Z",viewBox:"0 0 24 24"},telegram:{path:"M18.88,6.85L14.19,11.54L4.76,10.43L7.26,15.53L6.21,20.21L11.89,17.4L16.8,22L18.88,15.28L18.88,6.85Z",viewBox:"0 0 24 24"},hammer:{path:"M19.66,3.99C18.87,3.63 18,3.36 17.11,3.19L15,5.41L18.59,9L20.81,7.88C20.64,7 20.37,6.12 20.01,5.34L19.66,3.99M16.59,10L13,6.41L4,15.41V19H7.58L16.59,10Z",viewBox:"0 0 24 24"},wrench:{path:"M14.71,15.88L10.83,12L14.71,8.12L13.29,6.71L9.41,10.59L5.53,6.71L4.12,8.12L7.99,12L4.12,15.88L5.53,17.29L9.41,13.41L13.29,17.29L14.71,15.88Z",viewBox:"0 0 24 24"},screwdriver:{path:"M5,18H9V20H5V18M11,5.83V17.17L8,14.17L9.41,12.76L11,14.34V5.83M21.71,4.04C22.1,3.65 22.1,3 21.71,2.63L19.37,0.29C19,-0.1 18.35,-0.1 17.96,0.29L15,3.25L18.75,7L21.71,4.04Z",viewBox:"0 0 24 24"},paintbrush:{path:"M18,4A4,4 0 0,1 22,8A4,4 0 0,1 18,12A4,4 0 0,1 14,8A4,4 0 0,1 18,4M8.5,14.5A1.5,1.5 0 0,1 7,13A1.5,1.5 0 0,1 8.5,11.5A1.5,1.5 0 0,1 10,13A1.5,1.5 0 0,1 8.5,14.5M12,17A3,3 0 0,1 9,20H3V22H9A5,5 0 0,0 14,17H12Z",viewBox:"0 0 24 24"},fileEarmark:{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",viewBox:"0 0 24 24"},fileEarmarkText:{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M15,12V14H9V12H15M15,16V18H9V16H15M15,8H9V10H15V8Z",viewBox:"0 0 24 24"},fileEarmarkImage:{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20M10,13L15,16L10,19V13Z",viewBox:"0 0 24 24"},fileEarmarkPdf:{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20M10,13H8V18H10V13M12,13H10V11H12V13M14,13H12V11H14V13M16,13H14V11H16V13Z",viewBox:"0 0 24 24"},arrowUpRightSquare:{path:"M18,2A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4C4,2.89 4.89,2 6,2H18M17,10L12,15L7,10H17Z",viewBox:"0 0 24 24"},arrowDownRightSquare:{path:"M18,2A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H18M17,14L12,9L7,14H17Z",viewBox:"0 0 24 24"},arrowUpLeftSquare:{path:"M18,2A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H18M7,10L12,15L17,10H7Z",viewBox:"0 0 24 24"},arrowDownLeftSquare:{path:"M18,2A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H18M7,14L12,9L17,14H7Z",viewBox:"0 0 24 24"},compass:{path:"M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4Z",viewBox:"0 0 24 24"},mapPin:{path:"M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z",viewBox:"0 0 24 24"},location:{path:"M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z",viewBox:"0 0 24 24"},pencilSquare:{path:"M18,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2M15.5,13.5C15.5,14.35 15.13,15.09 14.5,15.5C13.88,15.91 13.15,16.1 12.3,16.1C11.45,16.1 10.73,15.91 10.1,15.5C9.47,15.09 9.1,14.35 9.1,13.5A4.4,4.4 0 0,1 13.5,9.1C14.35,9.1 15.09,9.47 15.5,10.1C15.91,10.73 16.1,11.45 16.1,12.3C16.1,13.15 15.91,13.88 15.5,14.5V13.5M12.3,14.9C12.69,14.9 13.07,14.82 13.4,14.66C14.08,14.34 14.4,13.69 14.4,13C14.4,12.31 14.08,11.66 13.4,11.34C13.07,11.18 12.69,11.1 12.3,11.1C11.91,11.1 11.53,11.18 11.2,11.34C10.52,11.66 10.2,12.31 10.2,13C10.2,13.69 10.52,14.34 11.2,14.66C11.53,14.82 11.91,14.9 12.3,14.9Z",viewBox:"0 0 24 24"},highlighter:{path:"M6,17A2,2 0 0,1 4,15V3A1,1 0 0,1 5,2H19A1,1 0 0,1 20,3V15A2,2 0 0,1 18,17H8L6,21V17M13,9H18V15H13V9M8,9H11V15H8V9Z",viewBox:"0 0 24 24"},checkCircleFill:{path:"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M10,17L5,12L6.41,10.59L10,14.17L17.59,6.58L19,8L10,17Z",viewBox:"0 0 24 24"},exclamationCircleFill:{path:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",viewBox:"0 0 24 24"},infoCircleFill:{path:"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M11,17H13V19H11V17M12,5A1,1 0 0,0 11,6A1,1 0 0,0 12,7A1,1 0 0,0 13,6A1,1 0 0,0 12,5Z",viewBox:"0 0 24 24"},laptop:{path:"M20,18H4V6H20M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z",viewBox:"0 0 24 24"},tablet:{path:"M21,18H3V5H21M21,3H3A2,2 0 0,0 1,5V18A2,2 0 0,0 3,20H21A2,2 0 0,0 23,18V5A2,2 0 0,0 21,3Z",viewBox:"0 0 24 24"},mobile:{path:"M17,19H7V5H17M17,3H7A2,2 0 0,0 5,5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V5A2,2 0 0,0 17,3Z",viewBox:"0 0 24 24"},dollar:{path:"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M14,18H12V15H14V18M14,13H12V4H10V13H8V11L12,15L16,11V13Z",viewBox:"0 0 24 24"},euro:{path:"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M15,18H13L11,15V13H15V18M13,9H11V7H15V10L13,9Z",viewBox:"0 0 24 24"},sun:{path:"M12,18A6,6 0 0,0 18,12A6,6 0 0,0 12,6A6,6 0 0,0 6,12A6,6 0 0,0 12,18M12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4M12,2V4M12,20V22M4.93,4.93L6.34,6.34M17.66,17.66L19.07,19.07M2,12H4M20,12H22M6.34,17.66L4.93,19.07M19.07,4.93L17.66,6.34",viewBox:"0 0 24 24"},moon:{path:"M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M12,19.93A7.93,7.93 0 0,1 4.07,12A7.93,7.93 0 0,1 12,4.07A7.93,7.93 0 0,1 19.93,12A7.93,7.93 0 0,1 12,19.93Z",viewBox:"0 0 24 24"},cloudSun:{path:"M19.35,10.03C18.67,6.59 15.64,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20H20C21.11,20 22,19.1 22,18C22,16.5 20.9,15.3 19.35,13.97L12,20V13L19.35,10.03Z",viewBox:"0 0 24 24"},settings:{path:"M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.22,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.22,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.68 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",viewBox:"0 0 24 24"},tools:{path:"M21.71,20.29L20.29,21.71C20.1,21.9 19.85,22 19.59,22C19.33,22 19.08,21.9 18.88,21.71L15,17.83C13.22,19.34 10.91,20.17 8.5,20C4.91,19.96 1.84,17.59 0.89,14.15C0,10.82 1.9,7.5 5,6C5,6 6,6 7,7C7,7 8,8 8,9C10,9 11,10 12,11C13,12 14,13 15,13C16,14 17,15 18,15C19,16 20,17 20,18C22.5,20.5 22.5,22.5 21.71,20.29M5.5,18C6.33,18 7,18.67 7,19.5C7,20.33 6.33,21 5.5,21C4.67,21 4,20.33 4,19.5C4,18.67 4.67,18 5.5,18Z",viewBox:"0 0 24 24"},tool:{path:"M22.7,19.6L14.4,11.3C14.7,10.5 14.9,9.7 14.9,8.8C14.9,5.6 12.3,3 9.1,3C8.2,3 7.3,3.2 6.5,3.5L10.8,7.8L7.9,10.7L3.6,6.4C3.2,7.2 3,8.1 3,9.1C3,12.3 5.6,14.9 8.8,14.9C9.7,14.9 10.5,14.7 11.3,14.4L19.6,22.7C20,23.1 20.5,23.3 21,23.3C21.5,23.3 22,23.1 22.4,22.7C23.1,22 23.1,20.8 22.7,19.6Z",viewBox:"0 0 24 24"},mallet:{path:"M2,19.63L13.43,8.2L12.72,7.5L14.14,6.07L12,3.89C13.2,2.7 15.09,2.7 16.27,3.89L19.87,7.5L18.45,8.91H21.29L22,9.62L18.45,13.21L17.74,12.5V9.62L16.27,11.04L15.56,10.33L4.13,21.76L2,19.63Z",viewBox:"0 0 24 24"},driver:{path:"M18,1.83C17.5,1.83 17,2 16.59,2.41L13.17,5.83L15.83,8.5L19.5,4.83C20,4.33 20,3.5 19.5,3C19,2.5 18.5,1.83 18,1.83M13,4L4,13C3.5,13.5 3.5,14.5 4,15L9,20C9.5,20.5 10.5,20.5 11,20L20,11C20.5,10.5 20.5,9.5 20,9L15,4C14.5,3.5 13.5,3.5 13,4M6.5,18.5L3.5,17.5L6,15L8.5,17.5L6.5,18.5Z",viewBox:"0 0 24 24"},document:{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",viewBox:"0 0 24 24"},directory:{path:"M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z",viewBox:"0 0 24 24"},"folder-open":{path:"M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z",viewBox:"0 0 24 24"},"file-pdf":{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20M7,13H9V19H7V13M10,13H12V17H10V13M13,13H15V19H13V13Z",viewBox:"0 0 24 24"},"file-text":{path:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20M8,13H16V15H8V13M8,9H10V11H8V9M8,17H13V19H8V17Z",viewBox:"0 0 24 24"},"arrow-left":{path:"M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z",viewBox:"0 0 24 24"},"arrow-right":{path:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z",viewBox:"0 0 24 24"},"arrow-up":{path:"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",viewBox:"0 0 24 24"},"arrow-down":{path:"M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z",viewBox:"0 0 24 24"},"chevron-left":{path:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",viewBox:"0 0 24 24"},"chevron-right":{path:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",viewBox:"0 0 24 24"},"m-home":{path:"M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z",viewBox:"0 0 24 24"},"m-menu":{path:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",viewBox:"0 0 24 24"},"m-search":{path:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",viewBox:"0 0 24 24"},"m-close":{path:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",viewBox:"0 0 24 24"},"m-user":{path:"M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z",viewBox:"0 0 24 24"},"m-edit":{path:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",viewBox:"0 0 24 24"},delete:{path:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",viewBox:"0 0 24 24"},"m-copy":{path:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z",viewBox:"0 0 24 24"},"m-out":{path:"M19,3L13,9L15,11L22,4V3M12,12.5A0.5,0.5 0 0,1 11.5,12A0.5,0.5 0 0,1 12,11.5A0.5,0.5 0 0,1 12.5,12A0.5,0.5 0 0,1 12,12.5M6,20A2,2 0 0,1 4,18C4,16.89 4.9,16 6,16A2,2 0 0,1 8,18C8,19.11 7.1,20 6,20M6,8A2,2 0 0,1 4,6C4,4.89 4.9,4 6,4A2,2 0 0,1 8,6C8,7.11 7.1,8 6,8M9.64,7.64C9.87,7.14 10,6.59 10,6A4,4 0 0,0 6,2A4,4 0 0,0 2,6A4,4 0 0,0 6,10C6.59,10 7.14,9.87 7.64,9.64L10,12L7.64,14.36C7.14,14.13 6.59,14 6,14A4,4 0 0,0 2,18A4,4 0 0,0 6,22A4,4 0 0,0 10,18C10,17.41 9.87,16.86 9.64,16.36L12,14L19,21H22V20L9.64,7.64Z",viewBox:"0 0 24 24"},bold:{path:"M13.5,15.5H10V12.5H13.5A1.5,1.5 0 0,1 15,14A1.5,1.5 0 0,1 13.5,15.5M10,6.5H13A1.5,1.5 0 0,1 14.5,8A1.5,1.5 0 0,1 13,9.5H10M15.6,10.79C16.57,10.11 17.25,9 17.25,8C17.25,5.74 15.5,4 13.25,4H7V18H14.04C16.14,18 17.75,16.3 17.75,14.21C17.75,12.69 16.89,11.39 15.6,10.79Z",viewBox:"0 0 24 24"},"m-check":{path:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",viewBox:"0 0 24 24"},"m-error":{path:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",viewBox:"0 0 24 24"},"m-warning":{path:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z",viewBox:"0 0 24 24"},"m-info":{path:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",viewBox:"0 0 24 24"},"m-loading":{path:"M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",viewBox:"0 0 24 24"},"m-phone":{path:"M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z",viewBox:"0 0 24 24"},photograph:{path:"M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z",viewBox:"0 0 24 24"},printer:{path:"M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z",viewBox:"0 0 24 24"},headphones:{path:"M12,1C7,1 3,5 3,10V17A3,3 0 0,0 6,20H9V12H5V10A7,7 0 0,1 12,3A7,7 0 0,1 19,10V12H15V20H18A3,3 0 0,0 21,17V10C21,5 16.97,1 12,1Z",viewBox:"0 0 24 24"},mouse:{path:"M11,1.07C7.05,1.56 4,4.92 4,9H11M4,15A8,8 0 0,0 12,23A8,8 0 0,0 20,15V11H4M13,1.07V9H20C20,4.92 16.94,1.56 13,1.07Z",viewBox:"0 0 24 24"},schedule:{path:"M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1M17,12H12V17H17V12Z",viewBox:"0 0 24 24"},"m-clock":{path:"M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z",viewBox:"0 0 24 24"},"m-bell":{path:"M10,21H14A2,2 0 0,1 12,23A2,2 0 0,1 10,21M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19Z",viewBox:"0 0 24 24"},"m-star":{path:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",viewBox:"0 0 24 24"},"m-heart":{path:"M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z",viewBox:"0 0 24 24"},"m-download":{path:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",viewBox:"0 0 24 24"},"m-upload":{path:"M9,16V10H5L12,3L19,10H15V16H9M5,20V18H19V20H5Z",viewBox:"0 0 24 24"},share:{path:"M18,16.08C17.24,16.08 16.56,16.38 16.04,16.85L8.91,12.7C8.96,12.47 9,12.24 9,12C9,11.76 8.96,11.53 8.91,11.3L15.96,7.19C16.5,7.69 17.21,8 18,8A3,3 0 0,0 21,5A3,3 0 0,0 18,2A3,3 0 0,0 15,5C15,5.24 15.04,5.47 15.09,5.7L8.04,9.81C7.5,9.31 6.79,9 6,9A3,3 0 0,0 3,12A3,3 0 0,0 6,15C6.79,15 7.5,14.69 8.04,14.19L15.16,18.34C15.11,18.55 15.08,18.77 15.08,19C15.08,20.61 16.39,21.91 18,21.91C19.61,21.91 20.92,20.61 20.92,19A2.92,2.92 0 0,0 18,16.08Z",viewBox:"0 0 24 24"},"external-link":{path:"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",viewBox:"0 0 24 24"},"m-mail":{path:"M20,8L12,13L4,8V6L12,11L20,6M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z",viewBox:"0 0 24 24"},secure:{path:"M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",viewBox:"0 0 24 24"},open:{path:"M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z",viewBox:"0 0 24 24"},view:{path:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z",viewBox:"0 0 24 24"},off:{path:"M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z",viewBox:"0 0 24 24"},"m-sort":{path:"M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z",viewBox:"0 0 24 24"},grid:{path:"M10,4V8H14V4H10M16,4V8H20V4H16M16,10V14H20V10H16M16,16V20H20V16H16M14,20V16H10V20H14M8,20V16H4V20H8M8,14V10H4V14H8M8,8V4H4V8H8M10,14H14V10H10V14M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4C2.92,22 2,21.1 2,20V4A2,2 0 0,1 4,2Z",viewBox:"0 0 24 24"},list:{path:"M3,13H21V11H3V13M3,6H21V4H3V6M3,18H21V16H3V18Z",viewBox:"0 0 24 24"},reload:{path:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z",viewBox:"0 0 24 24"},"volume-high":{path:"M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",viewBox:"0 0 24 24"},"volume-off":{path:"M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.52C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",viewBox:"0 0 24 24"}};export{a as arrowDownIcon,A as arrowLeftIcon,C as arrowRightIcon,o as arrowUpIcon,L as checkIcon,V as closeIcon,v as loadingIcon,e as minusIcon,M as plusIcon,i as presetIcons,h as searchIcon,H as userIcon};
@@ -0,0 +1 @@
1
+ import{__assign as e}from"../node_modules/tslib/tslib.es6.js";import{jsx as o}from"react/jsx-runtime";var t=function(t){var a=t.type,n=void 0===a?"text":a,l=t.placeholder,d=void 0===l?"":l,i=t.width,r=t.className,s=void 0===r?"":r,u=t.style,c=t.value,p=t.onChange,v=t.onBlur,m=t.onFocus,y=t.disabled,h=void 0!==y&&y,b=t.readOnly,f=void 0!==b&&b;return o("input",{type:n,placeholder:d,className:"input ".concat(s," ").concat(h?"input-disabled":""," ").concat(f?"input-readonly":""),style:e({width:i},u),value:c,onChange:p,onBlur:v,onFocus:m,disabled:h,readOnly:f})};export{t as default};
@@ -0,0 +1 @@
1
+ import{jsxs as e,jsx as n}from"react/jsx-runtime";import{useState as r,useRef as t,useEffect as i}from"react";import{IoClose as o}from"../node_modules/react-icons/io5/index.js";var c=function(c){var a=c.announcement,u=c.height,s=void 0===u?40:u,l=c.speed,f=void 0===l?50:l,d=c.backgroundColor,m=void 0===d?"linear-gradient(to right, #e8eaf6 0%, #f5f5f5 50%, #e8eaf6 100%)":d,v=c.visible,p=void 0===v||v,h=c.fixed,x=void 0!==h&&h,g=c.fixedTop,y=void 0===g?0:g,q=c.isIcon,A=void 0===q||q,L=c.onClose;if(!a)return null;var E=r(!0),F=E[0],b=E[1],k=p&&F,C=t(null),N=t(null),W=t(void 0),j=t(!1),M=t(!0);return i(function(){if(k&&C.current&&N.current){var e=C.current,n=N.current;n.style.left="".concat(e.offsetWidth,"px");var r=function(){if(M.current&&n)if(j.current)W.current=requestAnimationFrame(r);else{var t=parseFloat(n.style.left)||0;t<-n.offsetWidth?n.style.left="".concat(e.offsetWidth,"px"):n.style.left="".concat(t-f/100,"px"),W.current=requestAnimationFrame(r)}};W.current=requestAnimationFrame(r);var t=function(){j.current=!0},i=function(){j.current=!1};return e.addEventListener("mouseenter",t),e.addEventListener("mouseleave",i),function(){W.current&&cancelAnimationFrame(W.current),e.removeEventListener("mouseenter",t),e.removeEventListener("mouseleave",i)}}},[f,a,k]),k?e("div",{ref:C,className:"marquee-container ".concat(x?"marquee-container-fixed":""),style:{height:"".concat(s,"px"),background:m,top:x?"".concat(y,"px"):void 0},children:[n("div",{ref:N,className:"marquee-text",children:Array.isArray(a)?n("span",{children:a.map(function(r,t){return e("span",{style:0==t?{}:{marginLeft:"100px"},children:[n("span",{style:{marginRight:"5px"},children:A?"📢":null}),r]},t)})}):a}),n("div",{className:"marquee-close",style:{height:"".concat(s,"px"),width:"45px",background:m},onClick:function(){M.current=!1,b(!1),L&&L()},onMouseEnter:function(){j.current=!0},onMouseLeave:function(){j.current=!1},children:n(o,{size:18,color:"#666"})})]}):null};export{c as default};
@@ -0,0 +1 @@
1
+ import{jsx as e,jsxs as r}from"react/jsx-runtime";import{useState as n,useEffect as t}from"react";import s from"../Icon/Icon.js";var c=function(c){var a=c.type,i=c.content,o=c.duration,u=void 0===o?3e3:o,l=c.className,f=void 0===l?"":l,d=c.style,m=c.onClose,p=n(!0),g=p[0],v=p[1];if(t(function(){if(u>0){var e=setTimeout(function(){v(!1),null==m||m()},u);return function(){return clearTimeout(e)}}},[u,m]),!g)return null;return e("div",{className:"idp-message idp-message--".concat(a," ").concat(f," ").concat(g?"idp-message--show":""),style:d,children:r("div",{className:"idp-message-content",children:[e(s,{type:function(){switch(a){case"success":return"success";case"warning":return"warning";case"error":return"error";default:return"infoCircleFill"}}(),size:20,color:function(){switch(a){case"success":return"#52c41a";case"warning":return"#faad14";case"error":return"#f5222d";default:return"#1890ff"}}()}),e("span",{className:"idp-message-text",children:i})]})})};export{c as default};
@@ -0,0 +1 @@
1
+ import{__spreadArray as n}from"../node_modules/tslib/tslib.es6.js";import{jsxs as r,jsx as e}from"react/jsx-runtime";import{createContext as t,useState as o,useCallback as u,useContext as i}from"react";import s from"./Message.js";var c=t({message:null}),f=function(t){var i=t.children,f=o([]),a=f[0],d=f[1],m=o(0),l=m[0],v=m[1],g=u(function(r,e,t){void 0===t&&(t=3e3);var o=l;v(function(n){return n+1}),d(function(u){return n(n([],u,!0),[{id:o,type:r,content:e,duration:t}],!1)});var u=setTimeout(function(){i(o)},t),i=function(n){d(function(r){return r.filter(function(r){return r.id!==n})})};return{close:function(){clearTimeout(u),i(o)}}},[l]),p={success:function(n,r){return g("success",n,r)},warning:function(n,r){return g("warning",n,r)},error:function(n,r){return g("error",n,r)},close:function(){return d([])}};return r(c.Provider,{value:{message:p},children:[i,a.map(function(n){return e(s,{type:n.type,content:n.content,duration:n.duration,onClose:function(){return d(function(r){return r.filter(function(r){return r.id!==n.id})})}},n.id)})]})},a=function(){var n=i(c);if(!(null==n?void 0:n.message))throw new Error("useMessage must be used within a MessageProvider");return n.message};export{f as MessageProvider,s as default,a as useMessage};
@@ -0,0 +1 @@
1
+ import{__assign as o}from"../node_modules/tslib/tslib.es6.js";import{jsx as i,jsxs as t}from"react/jsx-runtime";import{useState as e,useEffect as n}from"react";import r from"classnames";import a from"../Icon/Icon.js";import d from"../Button/Button.js";var l=function(l){var c=l.visible,m=l.title,s=void 0===m?"标题":m,p=l.width,h=void 0===p?600:p,v=l.height,u=void 0===v?300:v,f=l.headerHeight,g=void 0===f?40:f,y=l.footerHeight,b=void 0===y?60:y,x=l.confirmLoading,N=void 0!==x&&x,_=l.direction,C=void 0===_?"normal":_,k=l.top,j=l.onClose,T=l.onConfirm,H=l.children,I=l.className,w=l.style,B=e(!1),z=B[0],L=B[1],M=e(!1),P=M[0],$=M[1],q=void 0!==k?"normal":C;n(function(){if(!c){$(!0);var o=setTimeout(function(){L(!1),$(!1)},400);return function(){return clearTimeout(o)}}$(!1),L(!0)},[c]);var A=function(){$(!0);var o=setTimeout(function(){L(!1),$(!1),null==j||j()},400);return function(){return clearTimeout(o)}},D=o({width:"number"==typeof h?"".concat(h,"px"):h,height:u?"number"==typeof u?"".concat(u,"px"):u:void 0,top:void 0!==k?"".concat(k,"px"):void 0},w),E={height:"number"==typeof g?"".concat(g,"px"):g},F=function(o){if("number"==typeof o)return o;var i=o.match(/^(\d+)px$/);return i?parseInt(i[1],10):0},G=u?F(u):0,J=F(g),K=F(b),O=G>0?Math.max(0,G-J-K):void 0,Q={maxHeight:O?"".concat(O,"px"):void 0},R={height:"number"==typeof b?"".concat(b,"px"):b};return z||P?i("div",{className:r("idp-modal-overlay",{"idp-modal-overlay--visible":z,"idp-modal-overlay--closing":P,"idp-modal-overlay--custom-top":void 0!==k},I),onClick:A,children:t("div",{className:r("idp-modal-container",{"idp-modal-container--center":z&&!P&&"center"===q,"idp-modal-container--top-right":z&&!P&&"top-right"===q,"idp-modal-container--bottom-right":z&&!P&&"bottom-right"===q,"idp-modal-container--normal":z&&!P&&"normal"===q,"idp-modal-container--closing-center":P&&"center"===q,"idp-modal-container--closing-top-right":P&&"top-right"===q,"idp-modal-container--closing-bottom-right":P&&"bottom-right"===q,"idp-modal-container--closing-normal":P&&"normal"===q}),style:D,onClick:function(o){return o.stopPropagation()},children:[t("div",{className:"idp-modal-header",style:E,children:[i("div",{className:"idp-modal-header__left",children:i("span",{className:"idp-modal-header__title",children:s})}),i("div",{className:"idp-modal-header__right",children:i(a,{type:"close",size:24,color:"#339af0",onClick:A,style:{cursor:"pointer",padding:"4px"}})})]}),i("div",{className:"idp-modal-content",style:Q,children:H}),t("div",{className:"idp-modal-footer",style:R,children:[i("div",{className:"idp-modal-footer__divider"}),t("div",{className:"idp-modal-footer__actions",children:[i(d,{variant:"secondary",onClick:A,disabled:N,children:"关闭"}),i(d,{variant:"primary",onClick:function(){null==T||T()},loading:N,children:"确认"})]})]})]})}):null};export{l as default};
@@ -0,0 +1 @@
1
+ import{__assign as i}from"../node_modules/tslib/tslib.es6.js";import{jsxs as e,jsx as n}from"react/jsx-runtime";import t from"../node_modules/react-fast-marquee/dist/index.js";import l from"react";var o=function(o){var r=o.text,s=void 0===r?"":r,a=o.speed,d=void 0===a?50:a,c=o.height,p=void 0===c?60:c,h=o.icon,u=void 0===h?null:h,m=o.styles,v=void 0===m?{}:m,y=o.closeStyle,f=void 0===y?{}:y,g=o.showCloseButton,x=void 0!==g&&g,w=o.floatingTop,b=void 0!==w&&w,S=o.pauseOnHover,k=void 0===S||S,j=l.useState(!0),R=j[0],A=j[1];if(!s||!R)return null;return e("div",{className:"idp-notice ".concat(b?"idp-notice-floating":""),style:i({height:"".concat(p,"px")},v),children:[e(t,{pauseOnHover:k,speed:d,gradient:!1,children:[n("span",{style:{width:"1200px"}}),Array.isArray(s)?n("div",{style:{display:"inline-block",whiteSpace:"nowrap"},children:s.map(function(i,t){return e("span",{style:{marginRight:"15px",display:"inline-block"},children:[u?n("span",{style:{marginRight:"5px"},children:u}):null,i]},t)})}):n("div",{style:{display:"inline-block",whiteSpace:"nowrap"},children:e("span",{children:[u?n("span",{style:{marginRight:"5px"},children:u}):null,s]})})]}),x&&n("div",{className:"idp-notice-close",style:i({height:"".concat(p,"px")},f),onClick:function(){A(!1)},children:n("span",{style:{color:"white",fontSize:"16px",fontWeight:"bold"},children:"×"})})]})};export{o as default};
@@ -0,0 +1 @@
1
+ import{__assign as t}from"../node_modules/tslib/tslib.es6.js";import{jsx as e,jsxs as n}from"react/jsx-runtime";import{useState as o,useRef as i,useEffect as c}from"react";var a=function(t){switch(t){case"success":return e("i",{className:"fas fa-check-circle"});case"warning":return e("i",{className:"fas fa-exclamation-triangle"});case"error":return e("i",{className:"fas fa-times-circle"});default:return e("i",{className:"fas fa-info-circle"})}},r=function(r){var s=r.message,u=r.duration,f=void 0===u?3e3:u,l=r.type,m=void 0===l?"info":l,d=r.position,p=void 0===d?"center":d,v=r.color,h=r.top,g=r.open,k=r.clickOutsideToClose,x=void 0!==k&&k,b=r.onClose,N=void 0!==g,T=o(!0),w=T[0],C=T[1],j=o(!0),y=j[0],E=j[1],L=i(null),O=N?g:w;if(c(function(){var t=function(t){x&&L.current&&!L.current.contains(t.target)&&(E(!1),setTimeout(function(){b&&b(),N||C(!1)},500))};return x&&O&&document.addEventListener("click",t),function(){document.removeEventListener("click",t)}},[x,O,N,b]),c(function(){N&&(g?E(!0):(E(!1),setTimeout(function(){b&&b()},500)))},[g,N,b]),c(function(){if(O){var t=setTimeout(function(){E(!1),setTimeout(function(){b&&b(),N||C(!1)},500)},f);return function(){return clearTimeout(t)}}},[f,O,N,b]),!O||!y)return null;var W="notification-".concat(m),X=v?"notification-custom":"",_=function(){var t={};if(void 0!==h)if(t.top="".concat(h,"px"),p.startsWith("top-"))switch(p){case"top-left":t.left="20px",t.right="auto";break;case"top-center":t.left="50%",t.transform="translateX(-50%)",t.right="auto";break;case"top-right":t.right="20px",t.left="auto"}else t.right="20px",t.left="auto",t.bottom="auto";return t}(),q=t({backgroundColor:v},_),z=void 0===h?"notification-".concat(p):"";return e("div",{ref:L,className:"notification ".concat(W," ").concat(z," ").concat(X," ").concat(y?"fade-in":"fade-out"),style:q,children:n("div",{className:"notification-content",children:[a(m),e("span",{children:s})]})})};export{r as default};
@@ -0,0 +1 @@
1
+ import{__assign as t,__spreadArray as e}from"../node_modules/tslib/tslib.es6.js";import{jsxs as n,jsx as a}from"react/jsx-runtime";import{useState as r,useRef as i,useEffect as o}from"react";var c=function(c){var l=c.dataSource,u=void 0===l?[]:l,d=c.columns,s=void 0===d?[]:d,f=c.bordered,h=void 0!==f&&f,p=c.scroll,m=void 0===p?{}:p,b=c.rowKey,v=void 0===b?"key":b,x=c.className,g=void 0===x?"":x,y=c.pagination,N=r([]),k=N[0],w=N[1],C=r([]),I=C[0],z=C[1],S=r([]),M=S[0],L=S[1],_=r([]),j=_[0],A=_[1],P=r(1),E=P[0],H=P[1],K=r(10),Y=K[0],q=K[1],B=i(null),D=i(null),F=i(null);o(function(){y&&"object"==typeof y&&(y.current&&H(y.current),y.pageSize&&q(y.pageSize))},[y]);o(function(){var e=[],n=[],a=[],r=[];s.forEach(function(i,o){var c,l=(c=i.width)?"number"==typeof c?c:parseInt(c,10)||0:0;r[o]=l;var u=t(t({},i),{_index:o});"start"===i.fixed||!0===i.fixed?e.push(u):"end"===i.fixed?n.push(u):a.push(u)}),w(e),z(n),L(a),A(r)},[s]);var G=function(t,e){var n=e||Y;H(t),q(n),y&&y.onChange&&y.onChange(t,n)},J={width:m.x?"number"==typeof m.x?"".concat(m.x,"px"):m.x:"auto"},O={maxHeight:m.y?"number"==typeof m.y?"".concat(m.y,"px"):m.y:"auto",overflowY:m.y?"auto":"visible"},Q=e(e(e([],k,!0),M,!0),I,!0),R=function(){if(!1===y)return null;var t=(null==y?void 0:y.total)||u.length,e=Y,n=E,a=(n-1)*e,r=a+e;return{data:u.slice(a,r),total:t,pageSize:e,current:n,totalPages:Math.ceil(t/e)}}(),T=R?R.data:u;return n("div",{ref:B,className:"custom-table-container ".concat(h?"bordered":""," ").concat(g),style:J,children:[a("div",{className:"custom-table-header",children:a("div",{className:"custom-table-header-inner",ref:D,children:n("table",{className:"custom-table ".concat(h?"bordered":""),children:[a("colgroup",{children:Q.map(function(t,e){return a("col",{style:{width:t.width||"auto"}},e)})}),a("thead",{children:a("tr",{children:Q.map(function(t,e){return function(t,e,n){var r={width:t.width||"auto",textAlign:t.align||"left",backgroundColor:"#fafafa",top:0};if("start"===t.fixed||!0===t.fixed){r.position="sticky";for(var i=0,o=0;o<e;o++)i+=j[o]||0;r.left="".concat(i,"px"),r.zIndex=10}else if("end"===t.fixed){r.position="sticky";var c=0;for(o=n.length-1;o>e;o--)c+=j[o]||0;r.right="".concat(c,"px"),r.zIndex=10}return a("th",{style:r,children:t.title||""},t.key||t.dataIndex||t._index)}(t,e,Q)})})})]})})}),a("div",{className:"custom-table-body",ref:F,style:O,onScroll:function(t){if(D.current&&F.current){var e=t.target;e===F.current&&D.current.scrollLeft!==e.scrollLeft&&(D.current.scrollLeft=e.scrollLeft)}},children:n("table",{className:"custom-table ".concat(h?"bordered":""),children:[a("colgroup",{children:Q.map(function(t,e){return a("col",{style:{width:t.width||"auto"}},e)})}),a("tbody",{children:T.map(function(t,e){return a("tr",{children:Q.map(function(n,r){return function(t,e,n,r,i){var o={width:t.width||"auto",textAlign:t.align||"left",backgroundColor:"white"};if("start"===t.fixed||!0===t.fixed){o.position="sticky";for(var c=0,l=0;l<r;l++)c+=j[l]||0;o.left="".concat(c,"px"),o.zIndex=5}else if("end"===t.fixed){o.position="sticky";var u=0;for(l=i.length-1;l>r;l--)u+=j[l]||0;o.right="".concat(u,"px"),o.zIndex=5}var d=t.dataIndex?e[t.dataIndex]:null;return t.render&&(d=t.render(d,e,n)),a("td",{style:o,children:d},t.key||t.dataIndex||t._index)}(n,t,e,r,Q)})},function(t,e){return"function"==typeof v?v(t,e):t[v]||e}(t,e))})})]})}),0===T.length&&a("div",{className:"custom-table-empty",children:"暂无数据"}),function(){if(!1===y||!R)return null;var t=R.total,e=R.current,r=R.totalPages,i=R.pageSize;return n("div",{className:"custom-table-pagination",children:[n("span",{className:"custom-table-pagination-total",children:["共 ",t," 条"]}),a("button",{className:"custom-table-pagination-btn",onClick:function(){return G(1)},disabled:1===e,children:"首页"}),a("button",{className:"custom-table-pagination-btn",onClick:function(){return G(e-1)},disabled:1===e,children:"上一页"}),function(){var t=[],n=Math.max(1,e-Math.floor(2.5)),a=Math.min(r,n+5-1);a-n<4&&(n=Math.max(1,a-5+1)),n>1&&(t.push(1),n>2&&t.push("..."));for(var i=n;i<=a;i++)t.push(i);return a<r&&(a<r-1&&t.push("..."),t.push(r)),t}().map(function(t,n){return a("span",{className:"custom-table-pagination-page ".concat(t===e?"active":""," ").concat("..."===t?"ellipsis":""),onClick:function(){return"number"==typeof t&&G(t)},children:t},n)}),a("button",{className:"custom-table-pagination-btn",onClick:function(){return G(e+1)},disabled:e===r,children:"下一页"}),a("button",{className:"custom-table-pagination-btn",onClick:function(){return G(r)},disabled:e===r,children:"末页"}),n("select",{className:"custom-table-pagination-select",value:i,onChange:function(t){return G(1,Number(t.target.value))},children:[a("option",{value:10,children:"10条/页"}),a("option",{value:20,children:"20条/页"}),a("option",{value:50,children:"50条/页"}),a("option",{value:100,children:"100条/页"})]})]})}()]})};export{c as default};
@@ -0,0 +1 @@
1
+ import{jsx as o}from"react/jsx-runtime";import{useState as t,useRef as n,useCallback as e,useEffect as r}from"react";import{FaArrowUp as i}from"../node_modules/react-icons/fa/index.js";var c=function(c){var l=c.showAfter,a=void 0===l?100:l,d=c.bottom,s=void 0===d?30:d,u=c.right,p=void 0===u?30:u,h=c.size,f=void 0===h?40:h,v=c.color,x=void 0===v?"#fff":v,m=c.bgColor,b=void 0===m?"#1a2980":m,w=c.boxShadow,g=void 0===w?"0 2px 10px rgba(0, 0, 0, 0.15)":w,y=c.onClick,C=c.containerRef,k=c.icon,L=t(!1),j=L[0],z=L[1],E=n(null),I=e(function(){(null==C?void 0:C.current)?C.current.scrollTo({top:0,behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"}),null==y||y()},[y,C]);if(r(function(){var o=function(){var o=0;o=(null==C?void 0:C.current)?C.current.scrollTop:window.pageYOffset,z(o>a)};if(null==C?void 0:C.current){var t=C.current;return t.addEventListener("scroll",o),o(),function(){return t.removeEventListener("scroll",o)}}return window.addEventListener("scroll",o),o(),function(){return window.removeEventListener("scroll",o)}},[a,C]),!j)return null;var N=o(i,{size:Math.floor(.5*f)}),S=.5*f;return(null==C?void 0:C.current)?o("div",{ref:E,className:"top-button-wrapper-container",style:{position:"sticky",bottom:"".concat(s,"px"),marginLeft:"auto",width:"".concat(f,"px"),height:"".concat(f,"px"),right:"".concat(p,"px"),zIndex:10},children:o("button",{className:"top-button",onClick:I,style:{width:"".concat(f,"px"),height:"".concat(f,"px"),backgroundColor:b,color:x,boxShadow:g,padding:0,border:"none"},children:k?o("span",{style:{width:S,height:S,display:"flex",alignItems:"center",justifyContent:"center"},children:k}):N})}):o("div",{ref:E,className:"top-button-wrapper",style:{position:"fixed",bottom:"".concat(s,"px"),right:"".concat(p,"px"),zIndex:1e3},children:o("button",{className:"top-button",onClick:I,style:{width:"".concat(f,"px"),height:"".concat(f,"px"),backgroundColor:b,color:x,boxShadow:g,padding:0,border:"none"},children:k?o("span",{style:{width:S,height:S,display:"flex",alignItems:"center",justifyContent:"center"},children:k}):N})})};export{c as default};
@@ -0,0 +1 @@
1
+ var r={};export{r as __exports};
@@ -0,0 +1 @@
1
+ .icon-container{align-items:center;background-color:transparent;border-radius:4px;display:inline-flex;justify-content:center;line-height:1;padding:4px;position:relative}.icon{fill:#339af0;cursor:pointer;display:inline-block;transition:fill .2s ease,transform .3s ease;vertical-align:middle}.icon-spin{animation:icon-spin 1s linear infinite}@keyframes icon-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.icon-container.align-left{justify-content:flex-start}.icon-container.align-center{justify-content:center}.icon-container.align-right{justify-content:flex-end}.idp-btn{align-items:center;border:1px solid transparent;border-radius:4px;cursor:pointer;display:inline-flex;font-weight:400;justify-content:center;line-height:1.5;outline:none;text-align:center;text-decoration:none;transition:all .2s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.idp-btn--primary{background-color:#1890ff;border-color:#1890ff;color:#fff}.idp-btn--primary:hover:not(.idp-btn--disabled){background-color:#40a9ff;border-color:#40a9ff}.idp-btn--primary:active:not(.idp-btn--disabled){box-shadow:0 4px 8px rgba(24,144,255,.4);transform:translateY(1px)}.idp-btn--secondary{background-color:#6c757d;border-color:#6c757d;color:#fff}.idp-btn--secondary:hover:not(.idp-btn--disabled){background-color:#868e96;border-color:#868e96}.idp-btn--secondary:active:not(.idp-btn--disabled){box-shadow:0 4px 8px hsla(208,7%,46%,.4);transform:translateY(1px)}.idp-btn--danger{background-color:#dc3545;border-color:#dc3545;color:#fff}.idp-btn--danger:hover:not(.idp-btn--disabled){background-color:#e74c3c;border-color:#e74c3c}.idp-btn--danger:active:not(.idp-btn--disabled){box-shadow:0 4px 8px rgba(220,53,69,.4);transform:translateY(1px)}.idp-btn--success{background-color:#28a745;border-color:#28a745;color:#fff}.idp-btn--success:hover:not(.idp-btn--disabled){background-color:#34ce57;border-color:#34ce57}.idp-btn--success:active:not(.idp-btn--disabled){box-shadow:0 4px 8px rgba(40,167,69,.4);transform:translateY(1px)}.idp-btn--warning{background-color:#ffc107;border-color:#ffc107;color:#212529}.idp-btn--warning:hover:not(.idp-btn--disabled){background-color:#ffce3a;border-color:#ffce3a}.idp-btn--warning:active:not(.idp-btn--disabled){box-shadow:0 4px 8px rgba(255,193,7,.4);transform:translateY(1px)}.idp-btn--small{font-size:12px;height:24px;padding:0 8px}.idp-btn--medium{font-size:14px;height:32px;padding:0 12px}.idp-btn--large{font-size:16px;height:40px;padding:0 16px}.idp-btn--disabled{cursor:not-allowed;opacity:.65}.marquee-container{align-items:center;box-shadow:0 2px 8px rgba(0,0,0,.08);display:flex;overflow:hidden;position:relative;white-space:nowrap;width:100%}.marquee-container-fixed{left:0;position:fixed;right:0;top:0;z-index:99999}.marquee-text{color:#333;font-size:14px;height:100%;left:0;padding:0 10px}.marquee-close,.marquee-text{align-items:center;display:flex;position:absolute;top:0}.marquee-close{cursor:pointer;justify-content:center;right:0;z-index:10}.idp-modal-overlay{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:1000}.idp-modal-overlay--visible{opacity:1;visibility:visible}.idp-modal-overlay--closing{opacity:0;visibility:hidden}.idp-modal-container{background-color:#fff;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.15);display:flex;flex-direction:column;opacity:0;overflow:hidden;position:relative;transform-origin:center center}.idp-modal-overlay--custom-top{align-items:flex-start;justify-content:center}.idp-modal-container--center{animation:centerAnimateIn .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes centerAnimateIn{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.idp-modal-container--normal{animation:normalAnimateIn .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes normalAnimateIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.idp-modal-container--top-right{animation:topRightAnimateIn .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes topRightAnimateIn{0%{opacity:0;transform:translate(100%,-100%) scale(.5)}to{opacity:1;transform:translate(0) scale(1)}}.idp-modal-container--bottom-right{animation:bottomRightAnimateIn .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes bottomRightAnimateIn{0%{opacity:0;transform:translate(100%,100%) scale(.5)}to{opacity:1;transform:translate(0) scale(1)}}.idp-modal-container--closing-center{animation:centerAnimateOut .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes centerAnimateOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}.idp-modal-container--closing-normal{animation:normalAnimateOut .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes normalAnimateOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.9)}}.idp-modal-container--closing-top-right{animation:topRightAnimateOut .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes topRightAnimateOut{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%,-100%) scale(.5)}}.idp-modal-container--closing-bottom-right{animation:bottomRightAnimateOut .4s cubic-bezier(.23,1,.32,1) forwards}@keyframes bottomRightAnimateOut{0%{opacity:1;transform:translate(0) scale(1)}to{opacity:0;transform:translate(100%,100%) scale(.5)}}.idp-modal-header{background-color:#fafafa;border-bottom:1px solid #e8e8e8;flex-shrink:0;justify-content:space-between;padding:0 10px 0 20px}.idp-modal-header,.idp-modal-header__left,.idp-modal-header__right{align-items:center;display:flex}.idp-modal-header__right{margin-right:0}.idp-modal-header__title{color:#333;font-size:16px;font-weight:500}.idp-modal-content{flex:1;min-height:0;overflow-y:auto;padding:20px}.idp-modal-footer{background-color:#fafafa;bottom:0;display:flex;flex-direction:column;justify-content:center;left:0;padding:0 20px;position:absolute;right:0}.idp-modal-footer__divider{background-color:#e8e8e8;height:1px;margin-bottom:12px}.idp-modal-footer__actions{display:flex;gap:12px;justify-content:flex-end;padding-bottom:12px}.idp-notice{background:linear-gradient(90deg,#1a2980,#26d0ce);border-radius:0;box-shadow:0 3px 10px rgba(0,0,0,.2);box-sizing:border-box;color:#fff;display:flex;margin:0;overflow:hidden;padding:0;position:relative;width:100%}.idp-notice-close{align-items:center;background:linear-gradient(90deg,#26d0ce,#1a2980);cursor:pointer;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;width:45px;z-index:9999}.idp-notice-close:hover{transform:scale(1.05)}.idp-notice-floating{box-sizing:border-box;left:0;position:fixed;right:0;top:0;width:100%!important;z-index:99999}.custom-table-container{background:#fff;color:rgba(0,0,0,.88);font-size:14px}.custom-table-container.bordered{border:1px solid #d9d9d9;border-radius:6px}.custom-table-header{border-bottom:1px solid #f0f0f0;flex-shrink:0;overflow-x:hidden;overflow-y:hidden}.custom-table-header-inner{overflow-x:auto;overflow-y:hidden;scroll-behavior:auto;will-change:scroll-position}.custom-table-header-inner::-webkit-scrollbar{height:0;width:0}.custom-table-header-inner{-ms-overflow-style:none;scrollbar-width:none}.custom-table-body{overflow-x:auto;scroll-behavior:auto;will-change:scroll-position}.custom-table{border-collapse:collapse;table-layout:fixed;width:100%}.custom-table.bordered td,.custom-table.bordered th{border:1px solid #d9d9d9}.custom-table thead{background-color:#fafafa}.custom-table th{font-weight:600;text-align:left}.custom-table td,.custom-table th{border-bottom:1px solid #f0f0f0;overflow-wrap:break-word;padding:12px 8px}.custom-table tbody tr:hover{background-color:#fafafa}.custom-table-empty{border-top:1px solid #f0f0f0;color:rgba(0,0,0,.25);padding:16px;text-align:center}.custom-table td[style*=sticky],.custom-table th[style*=sticky]{box-shadow:1px 0 0 0 #f0f0f0}.custom-table td[style*="right: 0"],.custom-table th[style*="right: 0"]{box-shadow:-1px 0 0 0 #f0f0f0}.custom-table td[style*="position: sticky"][style*=right],.custom-table th[style*="position: sticky"][style*=right]{position:sticky!important;z-index:5!important}.custom-table thead td[style*="position: sticky"],.custom-table thead th[style*="position: sticky"]{top:0;z-index:10!important}.custom-table-pagination{align-items:center;border-top:1px solid #f0f0f0;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;padding:12px 16px}.custom-table-pagination-total{color:rgba(0,0,0,.65);font-size:14px;margin-right:8px}.custom-table-pagination-btn{background:#fff;border:1px solid #d9d9d9;border-radius:4px;color:rgba(0,0,0,.65);cursor:pointer;font-size:14px;padding:4px 12px;transition:all .2s}.custom-table-pagination-btn:hover:not(:disabled){border-color:#1a2980;color:#1a2980}.custom-table-pagination-btn:disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.custom-table-pagination-page{background:#fff;border:1px solid #d9d9d9;border-radius:4px;color:rgba(0,0,0,.65);cursor:pointer;height:32px;line-height:32px;min-width:32px;text-align:center;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.custom-table-pagination-page:hover{border-color:#1a2980;color:#1a2980}.custom-table-pagination-page.active{background:#1a2980;border-color:#1a2980;color:#fff}.custom-table-pagination-page.ellipsis{border:none;cursor:default}.custom-table-pagination-page.ellipsis:hover{border-color:#d9d9d9;color:rgba(0,0,0,.65)}.custom-table-pagination-select{background:#fff;border:1px solid #d9d9d9;border-radius:4px;color:rgba(0,0,0,.65);cursor:pointer;font-size:14px;outline:none;padding:4px 8px}.custom-table-pagination-select:focus{border-color:#1a2980}.top-button-wrapper{z-index:1000}.top-button-wrapper-container{clear:both;float:right}.top-button{align-items:center;border:none;border-radius:50%;cursor:pointer;display:flex;justify-content:center;transition:all .3s ease}.top-button:hover{filter:brightness(1.1);transform:translateY(-2px)}.top-button:active{transform:translateY(0)}.divider{background-color:#339af0;margin:0;padding:0;width:auto}.divider-horizontal{height:1px;width:auto}.divider-vertical{background-color:transparent;border-left:1px solid #339af0;height:100%;width:0}.divider-dashed.divider-horizontal{background:repeating-linear-gradient(90deg,currentColor,currentColor 4px,transparent 0,transparent 8px)}.divider-dashed.divider-vertical{background-color:transparent;border-left:1px dashed}.input{align-items:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;box-sizing:border-box;display:inline-flex;font-family:inherit;font-size:14px;justify-content:center;outline:none;padding:8px 12px;transition:all .3s ease}.input:focus,.input:hover{border-color:#339af0;box-shadow:0 0 0 2px rgba(51,154,240,.2)}.input::placeholder{color:#bfbfbf;opacity:1}.input::-webkit-input-placeholder{color:#bfbfbf}.input::-moz-placeholder{color:#bfbfbf;opacity:1}.input:-ms-input-placeholder{color:#bfbfbf}.input.input-disabled{background-color:#f5f5f5;border-color:#d9d9d9;color:#bfbfbf;cursor:not-allowed}.input.input-disabled:hover{border-color:#d9d9d9;box-shadow:none}.input.input-readonly{background-color:#f5f5f5;border-color:#d9d9d9;cursor:default}.input.input-readonly:hover{border-color:#d9d9d9;box-shadow:none}.notification{background:#fff;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.15);color:#333;max-width:400px;min-width:200px;padding:15px 20px;position:fixed;z-index:2000}.notification-top-left{animation:slideInTopLeft .3s ease;left:20px;top:20px}.notification-top-center{animation:slideInTopCenter .3s ease;left:50%;top:20px;transform:translateX(-50%)}.notification-top-right{animation:slideInTopRight .3s ease;right:20px;top:20px}.notification-center{animation:fadeInCenter .3s ease;left:50%;top:50%;transform:translate(-50%,-50%)}.notification-bottom-left{animation:slideInBottomLeft .3s ease;bottom:20px;left:20px}.notification-bottom-center{animation:slideInBottomCenter .3s ease;bottom:20px;left:50%;transform:translateX(-50%)}.notification-bottom-right{animation:slideInBottomRight .3s ease;bottom:20px;right:20px}.notification-info{background:rgba(26,41,128,.95);color:#fff}.notification-success{background:rgba(40,167,69,.95);color:#fff}.notification-warning{background:rgba(255,193,7,.95);color:#212529}.notification-error{background:rgba(220,53,69,.95);color:#fff}.notification-content{align-items:center;display:flex;gap:10px;justify-content:flex-start;width:100%}.notification-content i{flex-shrink:0;font-size:1.2rem}.notification-content span{flex:1;line-height:1.4;text-align:center}.notification-error .notification-content span,.notification-info .notification-content span,.notification-success .notification-content span{color:#fff}.notification-warning .notification-content span{color:#212529}.fade-out{animation:fadeOut .5s ease forwards}@keyframes slideInTopLeft{0%{opacity:0;transform:translateY(-20px) translateX(-20px)}to{opacity:1;transform:translateY(0) translateX(0)}}@keyframes slideInTopCenter{0%{opacity:0;transform:translateX(-50%) translateY(-20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}@keyframes slideInTopRight{0%{opacity:0;transform:translateY(-20px) translateX(20px)}to{opacity:1;transform:translateY(0) translateX(0)}}@keyframes fadeInCenter{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes slideInBottomLeft{0%{opacity:0;transform:translateY(20px) translateX(-20px)}to{opacity:1;transform:translateY(0) translateX(0)}}@keyframes slideInBottomCenter{0%{opacity:0;transform:translateX(-50%) translateY(20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}@keyframes slideInBottomRight{0%{opacity:0;transform:translateY(20px) translateX(20px)}to{opacity:1;transform:translateY(0) translateX(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.idp-color-picker{display:inline-block;position:relative;vertical-align:middle}.idp-color-picker--disabled{cursor:not-allowed;opacity:.6}.idp-color-picker-trigger{align-items:center;background-color:#1890ff;border:1px solid #d9d9d9;border-radius:4px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin:0;outline:none;padding:0;position:relative;transition:border-color .2s ease,box-shadow .2s ease;width:32px}.idp-color-picker-trigger:hover{border-color:#40a9ff;box-shadow:0 2px 8px rgba(0,0,0,.15)}.idp-color-picker-trigger:focus{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.idp-color-picker-trigger:disabled{box-shadow:none;cursor:not-allowed;opacity:.6}.idp-color-picker-text{color:#666;font-size:12px;margin-left:8px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.idp-color-picker-popup{left:0;margin-top:8px;position:absolute;top:100%;z-index:1050}.idp-color-picker-content{background:#fff;border-radius:8px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);display:flex;flex-direction:column;gap:5px;padding:16px}.idp-color-picker-input-group{display:flex;flex-direction:column;gap:6px;margin-top:4px}.idp-color-picker-input-label{color:#666;font-size:12px;font-weight:500}.idp-color-picker-input{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;box-sizing:border-box;color:#333;font-size:14px;height:32px;line-height:1.5;outline:none;padding:0 8px;transition:all .2s ease;width:100%}.idp-color-picker-input:focus{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.idp-color-picker-input:hover{border-color:#40a9ff}.idp-color-picker-presets-label{color:#666;display:block;font-size:12px;font-weight:500;margin-bottom:6px}.idp-color-picker-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.idp-color-picker-preset{border:1px solid #d9d9d9;border-radius:4px;box-sizing:border-box;cursor:pointer;height:24px;transition:all .2s ease;width:24px}.idp-color-picker-preset:hover{border-color:#40a9ff;transform:scale(1.1)}.idp-color-picker-trigger-container{cursor:pointer}.idp-color-picker-default-trigger{cursor:pointer;height:32px;width:32px}.idp-color-picker-actions{align-items:center;display:flex;gap:8px;justify-content:space-between;margin-top:8px}.idp-color-picker-preview{border:1px solid #d9d9d9;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);height:24px;width:24px}.idp-color-picker-button-group{display:flex;gap:8px}.react-colorful{height:180px;width:208px}.react-colorful__saturation{border-radius:6px 6px 0 0;height:140px}.react-colorful__hue{border-radius:0 0 6px 6px;height:12px;margin-top:8px}.react-colorful__alpha{border-radius:6px;height:12px;margin-top:8px}.react-colorful__pointer{border:2px solid #fff;box-shadow:0 0 2px rgba(0,0,0,.3);height:14px;width:14px}.react-colorful__alpha-pointer,.react-colorful__hue-pointer{border:1px solid #fff;box-shadow:0 0 2px rgba(0,0,0,.3);height:16px;width:14px}.idp-copy-to-clipboard{align-items:center;cursor:pointer;display:inline-flex;justify-content:center;transition:all .2s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.idp-copy-to-clipboard:hover{opacity:.8}.idp-copy-to-clipboard:active{transform:translateY(1px)}.idp-copy-to-clipboard-text{color:#1890ff;font-size:14px}.idp-copy-to-clipboard-text:hover{text-decoration:underline}.idp-message{align-items:center;background-color:#fff;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.15);display:flex;height:30px;justify-content:center;left:50%;max-width:800px;min-width:100px;opacity:0;pointer-events:auto;position:fixed;top:20px;transform:translateX(-50%) translateY(-100%);transition:all .3s cubic-bezier(.4,0,.2,1);width:auto;z-index:1050}.idp-message--show{opacity:1;transform:translateX(-50%) translateY(0)}.idp-message-content{align-items:center;display:flex;gap:8px;height:100%;justify-content:center;padding:0 20px}.idp-message-text{color:#333;flex:1;font-size:13px;line-height:1.5;text-align:left}.idp-message--success{background-color:#fff;border:1px solid #b7eb8f}.idp-message--success .idp-message-text{color:#52c41a}.idp-message--warning{background-color:#fff;border:1px solid #ffe58f}.idp-message--warning .idp-message-text{color:#faad14}.idp-message--error{background-color:#fff;border:1px solid #ffccc7}.idp-message--error .idp-message-text{color:#f5222d}@keyframes slideDown{0%{opacity:0;transform:translateX(-50%) translateY(-100%)}to{opacity:1;transform:translateX(-50%) translateY(0)}}@keyframes slideUp{0%{opacity:1;transform:translateX(-50%) translateY(0)}to{opacity:0;transform:translateX(-50%) translateY(-100%)}}.idp-message--show{animation:slideDown .3s cubic-bezier(.4,0,.2,1) forwards}.idp-message:not(.idp-message--show){animation:slideUp .3s cubic-bezier(.4,0,.2,1) forwards}
@@ -0,0 +1 @@
1
+ export{default as Icon}from"./Icon/Icon.js";export{default as Marquee}from"./Marquee/index.js";export{default as Modal}from"./Modal/index.js";export{default as Notice}from"./Notice/Notice.js";export{default as Table}from"./Table/index.js";export{default as Top}from"./Top/index.js";export{default as Divider}from"./Divider/index.js";export{default as Input}from"./Input/index.js";export{default as Notification}from"./Notification/Notification.js";export{default as ColorPicker}from"./ColorPicker/index.js";export{default as CopyToClipboard,useOnCopy as useCopy}from"./CopyToClipboard/index.js";export{MessageProvider,useMessage}from"./Message/index.js";export{default as Message}from"./Message/Message.js";export{default as Button}from"./Button/Button.js";
@@ -0,0 +1 @@
1
+ import{__exports as e}from"../../../_virtual/index.js";import n from"react";Object.defineProperty(e,"__esModule",{value:!0});var t=n;function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(t);!function(e){if(!e||"undefined"==typeof window)return;const n=document.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=e,document.head.appendChild(n)}('.rfm-marquee-container {\n overflow-x: hidden;\n display: flex;\n flex-direction: row;\n position: relative;\n width: var(--width);\n transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n pointer-events: none;\n touch-action: none;\n}\n.rfm-overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n left: 0;\n top: 0;\n}\n\n.rfm-marquee {\n flex: 0 0 auto;\n min-width: var(--min-width);\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}\n\n.rfm-initial-child-container {\n flex: 0 0 auto;\n display: flex;\n min-width: auto;\n flex-direction: row;\n align-items: center;\n}\n\n.rfm-child {\n transform: var(--transform);\n}');const i=t.forwardRef(function({style:e={},className:n="",autoFill:r=!1,play:i=!0,pauseOnHover:o=!1,pauseOnClick:l=!1,direction:s="left",speed:d=50,delay:u=0,loop:c=0,gradient:f=!1,gradientColor:m="white",gradientWidth:p=200,onFinish:v,onCycleComplete:h,onMount:y,children:g},w){const[b,x]=t.useState(0),[E,C]=t.useState(0),[M,N]=t.useState(1),[k,q]=t.useState(!1),O=t.useRef(null),R=w||O,j=t.useRef(null),_=t.useCallback(()=>{if(j.current&&R.current){const e=R.current.getBoundingClientRect(),n=j.current.getBoundingClientRect();let t=e.width,a=n.width;"up"!==s&&"down"!==s||(t=e.height,a=n.height),N(r&&t&&a&&a<t?Math.ceil(t/a):1),x(t),C(a)}},[r,R,s]);t.useEffect(()=>{if(k&&(_(),j.current&&R.current)){const e=new ResizeObserver(()=>_());return e.observe(R.current),e.observe(j.current),()=>{e&&e.disconnect()}}},[_,R,k]),t.useEffect(()=>{_()},[_,g]),t.useEffect(()=>{q(!0)},[]),t.useEffect(()=>{"function"==typeof y&&y()},[]);const A=t.useMemo(()=>r?E*M/d:E<b?b/d:E/d,[r,b,E,M,d]),F=t.useMemo(()=>Object.assign(Object.assign({},e),{"--pause-on-hover":!i||o?"paused":"running","--pause-on-click":!i||o&&!l||l?"paused":"running","--width":"up"===s||"down"===s?"100vh":"100%","--transform":"up"===s?"rotate(-90deg)":"down"===s?"rotate(90deg)":"none"}),[e,i,o,l,s]),S=t.useMemo(()=>({"--gradient-color":m,"--gradient-width":"number"==typeof p?`${p}px`:p}),[m,p]),$=t.useMemo(()=>({"--play":i?"running":"paused","--direction":"left"===s?"normal":"reverse","--duration":`${A}s`,"--delay":`${u}s`,"--iteration-count":c?`${c}`:"infinite","--min-width":r?"auto":"100%"}),[i,s,A,u,c,r]),z=t.useMemo(()=>({"--transform":"up"===s?"rotate(90deg)":"down"===s?"rotate(-90deg)":"none"}),[s]),B=t.useCallback(e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,n)=>a.default.createElement(t.Fragment,{key:n},t.Children.map(g,e=>a.default.createElement("div",{style:z,className:"rfm-child"},e)))),[z,g]);return k?a.default.createElement("div",{ref:R,style:F,className:"rfm-marquee-container "+n},f&&a.default.createElement("div",{style:S,className:"rfm-overlay"}),a.default.createElement("div",{className:"rfm-marquee",style:$,onAnimationIteration:h,onAnimationEnd:v},a.default.createElement("div",{className:"rfm-initial-child-container",ref:j},t.Children.map(g,e=>a.default.createElement("div",{style:z,className:"rfm-child"},e))),B(M-1)),a.default.createElement("div",{className:"rfm-marquee",style:$},B(M))):null});var o=e.default=i;export{o as default};
@@ -0,0 +1 @@
1
+ import{GenIcon as c}from"../lib/iconBase.js";function t(t){return c({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z"},child:[]}]})(t)}export{t as FaArrowUp};
@@ -0,0 +1 @@
1
+ import{GenIcon as t}from"../lib/iconBase.js";function a(a){return t({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(a)}export{a as IoClose};
@@ -0,0 +1 @@
1
+ import t from"react";import{IconContext as e,DefaultContext as r}from"./iconContext.js";var n=["attr","size","title"];function o(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i.apply(this,arguments)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){a(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function a(t,e,r){var n;return(e="symbol"==typeof(n=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?n:n+"")in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(e){return e&&e.map((e,r)=>t.createElement(e.tag,l({key:r},e.attr),u(e.child)))}function s(e){return r=>t.createElement(f,i({attr:l({},e.attr)},r),u(e.child))}function f(c){var a=e=>{var r,{attr:a,size:u,title:s}=c,f=o(c,n),p=u||e.size||"1em";return e.className&&(r=e.className),c.className&&(r=(r?r+" ":"")+c.className),t.createElement("svg",i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,a,f,{className:r,style:l(l({color:c.color||e.color},e.style),c.style),height:p,width:p,xmlns:"http://www.w3.org/2000/svg"}),s&&t.createElement("title",null,s),c.children)};return void 0!==e?t.createElement(e.Consumer,null,t=>a(t)):a(r)}export{s as GenIcon,f as IconBase};
@@ -0,0 +1 @@
1
+ import o from"react";var t={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},e=o.createContext&&o.createContext(t);export{t as DefaultContext,e as IconContext};
@@ -0,0 +1 @@
1
+ var t=function(){return t=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},t.apply(this,arguments)};function e(t,e,r,n){return new(r||(r=Promise))(function(o,a){function c(t){try{u(n.next(t))}catch(t){a(t)}}function l(t){try{u(n.throw(t))}catch(t){a(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(c,l)}u((n=n.apply(t,e||[])).next())})}function r(t,e){var r,n,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return c.next=l(0),c.throw=l(1),c.return=l(2),"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function l(l){return function(u){return function(l){if(r)throw new TypeError("Generator is already executing.");for(;c&&(c=0,l[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&l[0]?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,n=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){a.label=l[1];break}if(6===l[0]&&a.label<o[1]){a.label=o[1],o=l;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(l);break}o[2]&&a.ops.pop(),a.trys.pop();continue}l=e.call(t,a)}catch(t){l=[6,t],n=0}finally{r=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,u])}}}function n(t,e,r){if(r||2===arguments.length)for(var n,o=0,a=e.length;o<a;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;export{t as __assign,e as __awaiter,r as __generator,n as __spreadArray};
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import './Button.less';
3
+ export interface ButtonProps {
4
+ children?: React.ReactNode;
5
+ variant?: 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
6
+ size?: 'small' | 'medium' | 'large';
7
+ disabled?: boolean;
8
+ loading?: boolean;
9
+ onClick?: () => void;
10
+ className?: string;
11
+ style?: React.CSSProperties;
12
+ icon?: string | React.ReactNode;
13
+ }
14
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
15
+ export default Button;
@@ -0,0 +1,2 @@
1
+ export { default } from './Button';
2
+ export * from './Button';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ColorPickerProps } from './types';
3
+ import './ColorPicker.css';
4
+ declare const ColorPickerComponent: React.FC<ColorPickerProps>;
5
+ export default ColorPickerComponent;
@@ -0,0 +1,14 @@
1
+ export interface ColorPickerProps {
2
+ color: string;
3
+ onChange: (color: string) => void;
4
+ onColorChange?: (color?: string) => void;
5
+ variant?: 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
6
+ size?: 'large' | 'small' | 'middle';
7
+ disabled?: boolean;
8
+ className?: string;
9
+ style?: React.CSSProperties;
10
+ showText?: boolean;
11
+ alpha?: boolean;
12
+ presetColors?: string[];
13
+ children?: React.ReactNode;
14
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { CopyToClipboardProps } from './types';
3
+ import useCopy from '../Hooks/useCopy';
4
+ import './CopyToClipboard.css';
5
+ declare const CopyToClipboard: React.FC<CopyToClipboardProps>;
6
+ export default CopyToClipboard;
7
+ export declare const useOnCopy: typeof useCopy;
@@ -0,0 +1,5 @@
1
+ export interface CopyToClipboardProps {
2
+ url: string;
3
+ onCopyStatusChange?: (status: 'success' | 'error') => void;
4
+ children?: React.ReactNode;
5
+ }
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import './Divider.css';
3
+ export interface DividerProps {
4
+ orientation?: 'horizontal' | 'vertical';
5
+ type?: 'solid' | 'dashed';
6
+ color?: string;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ }
10
+ declare const Divider: React.FC<DividerProps>;
11
+ export default Divider;
@@ -0,0 +1,2 @@
1
+ declare function useCopy(): (url: string) => Promise<void>;
2
+ export default useCopy;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import './Icon.css';
3
+ export interface IconProps {
4
+ type?: string;
5
+ path?: string;
6
+ viewBox?: string;
7
+ size?: number | 'small' | 'medium' | 'large';
8
+ color?: string;
9
+ hoverColor?: string;
10
+ spin?: boolean;
11
+ rotate?: number;
12
+ align?: 'left' | 'center' | 'right';
13
+ className?: string;
14
+ style?: React.CSSProperties;
15
+ onClick?: (e: React.MouseEvent<SVGSVGElement>) => void;
16
+ }
17
+ declare const Icon: React.FC<IconProps>;
18
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import IconComponent from './Icon';
2
+ export default IconComponent;
3
+ export type { IconProps } from './Icon';
@@ -0,0 +1,16 @@
1
+ export interface PresetIcon {
2
+ path: string;
3
+ viewBox?: string;
4
+ }
5
+ export declare const searchIcon: PresetIcon;
6
+ export declare const loadingIcon: PresetIcon;
7
+ export declare const userIcon: PresetIcon;
8
+ export declare const closeIcon: PresetIcon;
9
+ export declare const checkIcon: PresetIcon;
10
+ export declare const plusIcon: PresetIcon;
11
+ export declare const minusIcon: PresetIcon;
12
+ export declare const arrowLeftIcon: PresetIcon;
13
+ export declare const arrowRightIcon: PresetIcon;
14
+ export declare const arrowUpIcon: PresetIcon;
15
+ export declare const arrowDownIcon: PresetIcon;
16
+ export declare const presetIcons: Record<string, PresetIcon>;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import './Input.css';
3
+ export interface InputProps {
4
+ type?: 'text' | 'number';
5
+ placeholder?: string;
6
+ width?: string | number;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ value?: string | number;
10
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
11
+ onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
12
+ onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
13
+ disabled?: boolean;
14
+ readOnly?: boolean;
15
+ }
16
+ declare const Input: React.FC<InputProps>;
17
+ export default Input;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import './index.css';
3
+ interface MarqueeProps {
4
+ announcement?: string | string[];
5
+ height?: number;
6
+ speed?: number;
7
+ backgroundColor?: string;
8
+ visible?: boolean;
9
+ fixed?: boolean;
10
+ fixedTop?: number;
11
+ isIcon?: boolean;
12
+ onClose?: () => void;
13
+ }
14
+ declare const Marquee: React.FC<MarqueeProps>;
15
+ export default Marquee;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MessageProps } from './types';
3
+ import './Message.css';
4
+ declare const Message: React.FC<MessageProps>;
5
+ export default Message;
@@ -0,0 +1,9 @@
1
+ import React, { ReactNode } from 'react';
2
+ import MessageComponent from './Message';
3
+ import { MessageInstance } from './types';
4
+ interface MessageProviderProps {
5
+ children: ReactNode;
6
+ }
7
+ export declare const MessageProvider: React.FC<MessageProviderProps>;
8
+ export declare const useMessage: () => MessageInstance;
9
+ export default MessageComponent;
@@ -0,0 +1,15 @@
1
+ export type MessageType = 'success' | 'warning' | 'error';
2
+ export interface MessageProps {
3
+ type: MessageType;
4
+ content: React.ReactNode;
5
+ duration?: number;
6
+ className?: string;
7
+ style?: React.CSSProperties;
8
+ onClose?: () => void;
9
+ }
10
+ export interface MessageInstance {
11
+ success: (content: React.ReactNode, duration?: number) => void;
12
+ warning: (content: React.ReactNode, duration?: number) => void;
13
+ error: (content: React.ReactNode, duration?: number) => void;
14
+ close: () => void;
15
+ }
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ModalProps } from './types';
3
+ import './Modal.css';
4
+ declare const Modal: React.FC<ModalProps>;
5
+ export default Modal;
@@ -0,0 +1,16 @@
1
+ export interface ModalProps {
2
+ visible: boolean;
3
+ title?: string;
4
+ width?: number | string;
5
+ height?: number | string;
6
+ headerHeight?: number | string;
7
+ footerHeight?: number | string;
8
+ confirmLoading?: boolean;
9
+ direction?: 'center' | 'top-right' | 'bottom-right' | 'normal';
10
+ top?: number;
11
+ onClose?: () => void;
12
+ onConfirm?: () => void;
13
+ children?: React.ReactNode;
14
+ className?: string;
15
+ style?: React.CSSProperties;
16
+ }
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import './Notice.css';
3
+ interface NoticeProps {
4
+ text?: string | React.ReactNode | React.ReactElement | React.ReactElement[] | (string | React.ReactNode)[];
5
+ speed?: number;
6
+ height?: number;
7
+ styles?: React.CSSProperties;
8
+ icon?: React.ReactNode | null;
9
+ showCloseButton?: boolean;
10
+ closeStyle?: React.CSSProperties;
11
+ floatingTop?: boolean;
12
+ pauseOnHover?: boolean;
13
+ }
14
+ declare const Notice: React.FC<NoticeProps>;
15
+ export default Notice;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './Notification.css';
3
+ import { NotificationProps } from './types';
4
+ declare const Notification: React.FC<NotificationProps>;
5
+ export default Notification;
@@ -0,0 +1,12 @@
1
+ export type NotificationPosition = 'top-left' | 'top-center' | 'top-right' | 'center' | 'bottom-left' | 'bottom-center' | 'bottom-right';
2
+ export interface NotificationProps {
3
+ message: string;
4
+ duration?: number;
5
+ type?: 'info' | 'success' | 'warning' | 'error';
6
+ position?: NotificationPosition;
7
+ color?: string;
8
+ top?: number;
9
+ open?: boolean;
10
+ clickOutsideToClose?: boolean;
11
+ onClose?: () => void;
12
+ }
@@ -0,0 +1,32 @@
1
+ import './Table.css';
2
+ export interface Column {
3
+ key?: string;
4
+ dataIndex?: string;
5
+ title?: React.ReactNode;
6
+ width?: number | string;
7
+ align?: 'left' | 'center' | 'right';
8
+ fixed?: boolean | 'start' | 'end';
9
+ render?: (value: any, record: any, index: number) => React.ReactNode;
10
+ [key: string]: any;
11
+ }
12
+ export interface PaginationProps {
13
+ pageSize?: number;
14
+ total?: number;
15
+ current?: number;
16
+ onChange?: (page: number, pageSize: number) => void;
17
+ [key: string]: any;
18
+ }
19
+ interface TableProps {
20
+ dataSource?: any[];
21
+ columns?: Column[];
22
+ bordered?: boolean;
23
+ scroll?: {
24
+ x?: number | string;
25
+ y?: number | string;
26
+ };
27
+ rowKey?: string | ((record: any, index: number) => string | number);
28
+ className?: string;
29
+ pagination?: PaginationProps | false;
30
+ }
31
+ declare const Table: ({ dataSource, columns, bordered, scroll, rowKey, className, pagination }: TableProps) => import("react/jsx-runtime").JSX.Element;
32
+ export default Table;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import './Top.css';
3
+ interface TopProps {
4
+ showAfter?: number;
5
+ bottom?: number;
6
+ right?: number;
7
+ size?: number;
8
+ color?: string;
9
+ bgColor?: string;
10
+ boxShadow?: string;
11
+ onClick?: () => void;
12
+ containerRef?: React.RefObject<HTMLElement | null>;
13
+ icon?: React.ReactNode;
14
+ }
15
+ declare const Top: React.FC<TopProps>;
16
+ export default Top;
@@ -0,0 +1,13 @@
1
+ export { default as Button } from './Button';
2
+ export { default as Icon } from './Icon';
3
+ export { default as Marquee } from './Marquee';
4
+ export { default as Modal } from './Modal';
5
+ export { default as Notice } from './Notice/Notice';
6
+ export { default as Table } from './Table';
7
+ export { default as Top } from './Top';
8
+ export { default as Divider } from './Divider';
9
+ export { default as Input } from './Input';
10
+ export { default as Notification } from './Notification/Notification';
11
+ export { default as ColorPicker } from './ColorPicker';
12
+ export { default as CopyToClipboard, useOnCopy as useCopy } from './CopyToClipboard';
13
+ export { default as Message, MessageProvider, useMessage } from './Message';
package/package.json ADDED
@@ -0,0 +1,80 @@
1
+ {
2
+ "name": "@zjpcy/simple-design",
3
+ "version": "1.0.0",
4
+ "description": "IDP Studio Design System - React Component Library",
5
+ "main": "dist/cjs/index.js",
6
+ "module": "dist/es/index.js",
7
+ "types": "dist/types/index.d.ts",
8
+ "type": "module",
9
+ "files": [
10
+ "dist/**"
11
+ ],
12
+ "scripts": {
13
+ "dev": "webpack serve --config webpack.config.cjs",
14
+ "build": "rimraf dist && mkdir -p dist && tsc --emitDeclarationOnly --outDir dist/types --project tsconfig.build.json && rollup -c",
15
+ "build:types": "tsc --emitDeclarationOnly --outDir dist/types --project tsconfig.build.json",
16
+ "build:rollup": "rollup -c",
17
+ "prebuild": "rimraf dist",
18
+ "lint": "eslint src --ext ts,tsx",
19
+ "preview": "vite preview"
20
+ },
21
+ "keywords": [
22
+ "react",
23
+ "components",
24
+ "ui",
25
+ "idp-studio"
26
+ ],
27
+ "author": "IDP Studio Team",
28
+ "license": "MIT",
29
+ "peerDependencies": {
30
+ "react": ">=16.8.0",
31
+ "react-dom": ">=16.8.0"
32
+ },
33
+ "devDependencies": {
34
+ "@ant-design/icons-svg": "^4.4.2",
35
+ "@rollup/plugin-commonjs": "^25.0.0",
36
+ "@rollup/plugin-node-resolve": "^15.0.0",
37
+ "@rollup/plugin-terser": "^0.4.4",
38
+ "@rollup/plugin-typescript": "^12.3.0",
39
+ "@types/node": "^20.0.0",
40
+ "@types/react": "^19.2.7",
41
+ "@types/react-color": "^3.0.13",
42
+ "@types/react-dom": "^19.2.3",
43
+ "@types/react-syntax-highlighter": "^15.5.13",
44
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
45
+ "@typescript-eslint/parser": "^6.0.0",
46
+ "@vitejs/plugin-react": "^4.0.0",
47
+ "autoprefixer": "^10.4.23",
48
+ "css-loader": "^6.0.0",
49
+ "eslint": "^8.0.0",
50
+ "eslint-plugin-react": "^7.32.0",
51
+ "html-webpack-plugin": "^5.6.5",
52
+ "less": "^4.0.0",
53
+ "less-loader": "^11.0.0",
54
+ "react": "^18.0.0",
55
+ "react-dom": "^18.0.0",
56
+ "react-fast-marquee": "^1.6.5",
57
+ "react-icons": "^5.5.0",
58
+ "rimraf": "^5.0.0",
59
+ "rollup-plugin-peer-deps-external": "^2.2.4",
60
+ "rollup-plugin-postcss": "^4.0.2",
61
+ "style-loader": "^3.0.0",
62
+ "ts-loader": "^9.5.4",
63
+ "typescript": "^5.0.0",
64
+ "vite": "^4.4.0",
65
+ "vite-plugin-dts": "^3.0.0",
66
+ "webpack": "^5.80.0",
67
+ "webpack-cli": "^5.0.0",
68
+ "webpack-dev-server": "^4.13.0"
69
+ },
70
+ "dependencies": {
71
+ "classnames": "^2.3.0",
72
+ "prismjs": "^1.30.0",
73
+ "react-color": "^2.19.3",
74
+ "react-syntax-highlighter": "^16.1.0"
75
+ },
76
+ "repository": {
77
+ "type": "git",
78
+ "url": "git+https://github.com/idp-studio/idp-design.git"
79
+ }
80
+ }