@zjpcy/simple-design 1.6.0 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/README.md +178 -26
  2. package/dist/cjs/components/Anchor/index.js +1 -0
  3. package/dist/cjs/components/Breadcrumb/index.js +1 -0
  4. package/dist/cjs/components/Button/Button.js +1 -0
  5. package/dist/cjs/components/Calendar/index.js +1 -0
  6. package/dist/cjs/components/Carousel/index.js +1 -0
  7. package/dist/cjs/components/Cascader/index.js +1 -0
  8. package/dist/cjs/components/Checkbox/index.js +1 -0
  9. package/dist/cjs/components/ColorPicker/ColorPickerPanel.js +1 -0
  10. package/dist/cjs/components/ColorPicker/index.js +1 -0
  11. package/dist/cjs/components/CopyToClipboard/index.js +1 -0
  12. package/dist/cjs/components/DatePicker/RangePicker.js +1 -0
  13. package/dist/cjs/components/DatePicker/index.js +1 -0
  14. package/dist/cjs/components/DatePicker/styles.js +1 -0
  15. package/dist/cjs/components/Divider/index.js +1 -0
  16. package/dist/cjs/components/Drawer/index.js +1 -0
  17. package/dist/cjs/components/Dropdown/index.js +1 -0
  18. package/dist/cjs/components/Empty/index.js +1 -0
  19. package/dist/cjs/components/Flex/index.js +1 -0
  20. package/dist/cjs/components/Form/index.js +1 -0
  21. package/dist/cjs/components/Form/styles.js +1 -0
  22. package/dist/cjs/components/Grid/index.js +1 -0
  23. package/dist/cjs/components/Grid/styles.js +1 -0
  24. package/dist/cjs/components/Hooks/useClickOutside.js +1 -0
  25. package/dist/cjs/components/Hooks/useCopy.js +1 -0
  26. package/dist/cjs/components/Icon/Icon.js +1 -0
  27. package/dist/cjs/components/Icon/index.js +1 -0
  28. package/dist/cjs/components/Icon/path.js +1 -0
  29. package/dist/cjs/components/Input/InputBase.js +1 -0
  30. package/dist/cjs/components/Input/Number.js +1 -0
  31. package/dist/cjs/components/Input/Password.js +1 -0
  32. package/dist/cjs/components/Input/Search.js +1 -0
  33. package/dist/cjs/components/Input/Textarea.js +1 -0
  34. package/dist/cjs/components/Input/index.js +1 -0
  35. package/dist/cjs/components/Label/index.js +1 -0
  36. package/dist/cjs/components/Label/styles.js +1 -0
  37. package/dist/cjs/components/Layout/LayoutContext.js +1 -0
  38. package/dist/cjs/components/Layout/index.js +1 -0
  39. package/dist/cjs/components/Layout/styles.js +1 -0
  40. package/dist/cjs/components/Marquee/index.js +1 -0
  41. package/dist/cjs/components/Masonry/index.js +1 -0
  42. package/dist/cjs/components/Menu/index.js +1 -0
  43. package/dist/cjs/components/Message/Message.js +1 -0
  44. package/dist/cjs/components/Message/index.js +1 -0
  45. package/dist/cjs/components/Modal/index.js +1 -0
  46. package/dist/cjs/components/Notification/Notification.js +1 -0
  47. package/dist/cjs/components/Pagination/index.js +1 -0
  48. package/dist/cjs/components/Popconfirm/index.js +1 -0
  49. package/dist/cjs/components/Progress/index.js +1 -0
  50. package/dist/cjs/components/Radio/index.js +1 -0
  51. package/dist/cjs/components/Rate/index.js +1 -0
  52. package/dist/cjs/components/Select/index.js +1 -0
  53. package/dist/cjs/components/Select/styles.js +1 -0
  54. package/dist/cjs/components/Slider/index.js +1 -0
  55. package/dist/cjs/components/Space/index.js +1 -0
  56. package/dist/cjs/components/Spin/index.js +1 -0
  57. package/dist/cjs/components/Splitter/index.js +1 -0
  58. package/dist/cjs/components/Splitter/styles.js +1 -0
  59. package/dist/cjs/components/Steps/index.js +1 -0
  60. package/dist/cjs/components/Switch/index.js +1 -0
  61. package/dist/cjs/components/Switch/styles.js +1 -0
  62. package/dist/cjs/components/Table/SortableRow.js +1 -0
  63. package/dist/cjs/components/Table/index.js +1 -0
  64. package/dist/cjs/components/Tabs/index.js +1 -0
  65. package/dist/cjs/components/Tag/index.js +1 -0
  66. package/dist/cjs/components/TimePicker/RangePicker.js +1 -0
  67. package/dist/cjs/components/TimePicker/TimePickerPanel.js +1 -0
  68. package/dist/cjs/components/TimePicker/index.js +1 -0
  69. package/dist/cjs/components/Tooltip/Tooltip.js +1 -0
  70. package/dist/cjs/components/Top/index.js +1 -0
  71. package/dist/cjs/components/Transfer/index.js +1 -0
  72. package/dist/cjs/components/Transfer/styles.js +1 -0
  73. package/dist/cjs/components/Tree/index.js +1 -0
  74. package/dist/cjs/components/TreeSelect/index.js +1 -0
  75. package/dist/cjs/components/TreeSelect/styles.js +1 -0
  76. package/dist/cjs/components/Typography/index.js +1 -0
  77. package/dist/cjs/components/Upload/index.js +1 -0
  78. package/dist/cjs/components/Upload/useChunkUpload.js +1 -0
  79. package/dist/cjs/components/index.js +1 -0
  80. package/dist/cjs/i18n/I18nProvider.js +1 -0
  81. package/dist/cjs/i18n/index.js +1 -0
  82. package/dist/cjs/i18n/locales/en-US.json.js +1 -0
  83. package/dist/cjs/i18n/locales/zh-CN.json.js +1 -0
  84. package/dist/cjs/index.css +11725 -6076
  85. package/dist/es/components/Anchor/index.js +1 -0
  86. package/dist/es/components/Button/Button.js +1 -0
  87. package/dist/es/components/Calendar/index.js +1 -0
  88. package/dist/es/components/Carousel/index.js +1 -0
  89. package/dist/es/components/Cascader/index.js +1 -0
  90. package/dist/es/components/Checkbox/index.js +1 -0
  91. package/dist/es/components/ColorPicker/ColorPickerPanel.js +1 -0
  92. package/dist/es/components/ColorPicker/index.js +1 -0
  93. package/dist/es/components/CopyToClipboard/index.js +1 -0
  94. package/dist/es/components/DatePicker/RangePicker.js +1 -0
  95. package/dist/es/components/DatePicker/index.js +1 -0
  96. package/dist/es/components/DatePicker/styles.js +1 -0
  97. package/dist/es/components/Divider/index.js +1 -0
  98. package/dist/es/components/Drawer/index.js +1 -0
  99. package/dist/es/components/Flex/index.js +1 -0
  100. package/dist/es/components/Form/index.js +1 -0
  101. package/dist/es/components/Form/styles.js +1 -0
  102. package/dist/es/components/Grid/index.js +1 -0
  103. package/dist/es/components/Grid/styles.js +1 -0
  104. package/dist/es/components/Hooks/useCopy.js +1 -0
  105. package/dist/es/components/Icon/Icon.js +1 -0
  106. package/dist/es/components/Input/InputBase.js +1 -0
  107. package/dist/es/components/Input/Number.js +1 -0
  108. package/dist/es/components/Input/Password.js +1 -0
  109. package/dist/es/components/Input/Search.js +1 -0
  110. package/dist/es/components/Input/Textarea.js +1 -0
  111. package/dist/es/components/Label/index.js +1 -0
  112. package/dist/es/components/Label/styles.js +1 -0
  113. package/dist/es/components/Layout/index.js +1 -0
  114. package/dist/es/components/Layout/styles.js +1 -0
  115. package/dist/es/components/Marquee/index.js +1 -0
  116. package/dist/es/components/Masonry/index.js +1 -0
  117. package/dist/es/components/Menu/index.js +1 -0
  118. package/dist/es/components/Message/index.js +1 -0
  119. package/dist/es/components/Modal/index.js +1 -0
  120. package/dist/es/components/Notification/Notification.js +1 -0
  121. package/dist/es/components/Popconfirm/index.js +1 -0
  122. package/dist/es/components/Progress/index.js +1 -0
  123. package/dist/es/components/Radio/index.js +1 -0
  124. package/dist/es/components/Select/index.js +1 -0
  125. package/dist/es/components/Select/styles.js +1 -0
  126. package/dist/es/components/Slider/index.js +1 -0
  127. package/dist/es/components/Space/index.js +1 -0
  128. package/dist/es/components/Splitter/index.js +1 -0
  129. package/dist/es/components/Splitter/styles.js +1 -0
  130. package/dist/es/components/Switch/index.js +1 -0
  131. package/dist/es/components/Switch/styles.js +1 -0
  132. package/dist/es/components/Table/SortableRow.js +1 -0
  133. package/dist/es/components/Table/index.js +1 -0
  134. package/dist/es/components/Tabs/index.js +1 -0
  135. package/dist/es/components/Tag/index.js +1 -0
  136. package/dist/es/components/TimePicker/RangePicker.js +1 -0
  137. package/dist/es/components/TimePicker/TimePickerPanel.js +1 -0
  138. package/dist/es/components/TimePicker/index.js +1 -0
  139. package/dist/es/components/Tooltip/Tooltip.js +1 -0
  140. package/dist/es/components/Top/index.js +1 -0
  141. package/dist/es/components/Transfer/index.js +1 -0
  142. package/dist/es/components/Transfer/styles.js +1 -0
  143. package/dist/es/components/Tree/index.js +1 -0
  144. package/dist/es/components/TreeSelect/index.js +1 -0
  145. package/dist/es/components/TreeSelect/styles.js +1 -0
  146. package/dist/es/components/Typography/index.js +1 -0
  147. package/dist/es/components/Upload/index.js +1 -0
  148. package/dist/es/components/Upload/useChunkUpload.js +1 -0
  149. package/dist/es/components/index.js +1 -0
  150. package/dist/es/i18n/I18nProvider.js +1 -0
  151. package/dist/es/i18n/index.js +1 -0
  152. package/dist/es/i18n/locales/en-US.json.js +1 -0
  153. package/dist/es/i18n/locales/zh-CN.json.js +1 -0
  154. package/dist/es/index.css +11725 -6076
  155. package/dist/i18n/locales/en-US.json +2 -3
  156. package/dist/i18n/locales/zh-CN.json +1 -1
  157. package/dist/types/components/ColorPicker/ColorPickerPanel.d.ts +21 -0
  158. package/dist/types/components/DatePicker/styles.d.ts +118 -152
  159. package/dist/types/components/Form/styles.d.ts +84 -22
  160. package/dist/types/components/Grid/styles.d.ts +36 -6
  161. package/dist/types/components/Label/styles.d.ts +16 -1
  162. package/dist/types/components/Label/types.d.ts +1 -0
  163. package/dist/types/components/Layout/styles.d.ts +131 -41
  164. package/dist/types/components/Marquee/index.d.ts +1 -1
  165. package/dist/types/components/Message/index.d.ts +1 -1
  166. package/dist/types/components/Select/styles.d.ts +254 -44
  167. package/dist/types/components/Switch/index.d.ts +1 -0
  168. package/dist/types/components/Switch/styles.d.ts +116 -35
  169. package/dist/types/components/Switch/types.d.ts +4 -0
  170. package/dist/types/components/TimePicker/styles.d.ts +153 -25
  171. package/dist/types/components/Top/index.d.ts +1 -1
  172. package/dist/types/components/Transfer/styles.d.ts +205 -66
  173. package/dist/types/components/TreeSelect/index.d.ts +1 -0
  174. package/dist/types/components/TreeSelect/styles.d.ts +295 -55
  175. package/dist/types/components/TreeSelect/types.d.ts +3 -1
  176. package/dist/types/components/Upload/index.d.ts +2 -2
  177. package/dist/types/components/Upload/styles.d.ts +150 -24
  178. package/dist/types/components/Upload/types.d.ts +279 -15
  179. package/dist/types/components/Upload/useChunkUpload.d.ts +27 -0
  180. package/dist/types/components/index.d.ts +4 -3
  181. package/dist/types/i18n/index.d.ts +1 -1
  182. package/dist/types/utils/dnd-kit-adapter.d.ts +2 -0
  183. package/dist/types/utils/i18n-adapter.d.ts +5 -0
  184. package/dist/types/utils/lunar-adapter.d.ts +2 -0
  185. package/package.json +29 -13
  186. package/dist/cjs/index.js +0 -1
  187. package/dist/es/Anchor/index.js +0 -1
  188. package/dist/es/Button/Button.js +0 -1
  189. package/dist/es/Calendar/index.js +0 -1
  190. package/dist/es/Carousel/index.js +0 -1
  191. package/dist/es/Cascader/index.js +0 -1
  192. package/dist/es/Checkbox/index.js +0 -1
  193. package/dist/es/ColorPicker/index.js +0 -1
  194. package/dist/es/CopyToClipboard/index.js +0 -1
  195. package/dist/es/DatePicker/RangePicker.js +0 -1
  196. package/dist/es/DatePicker/index.js +0 -1
  197. package/dist/es/DatePicker/styles.js +0 -1
  198. package/dist/es/Divider/index.js +0 -1
  199. package/dist/es/Drawer/index.js +0 -1
  200. package/dist/es/Flex/index.js +0 -1
  201. package/dist/es/Form/index.js +0 -1
  202. package/dist/es/Form/styles.js +0 -1
  203. package/dist/es/Grid/index.js +0 -1
  204. package/dist/es/Grid/styles.js +0 -1
  205. package/dist/es/Hooks/useCopy.js +0 -1
  206. package/dist/es/Icon/Icon.js +0 -1
  207. package/dist/es/Input/InputBase.js +0 -1
  208. package/dist/es/Input/Number.js +0 -1
  209. package/dist/es/Input/Password.js +0 -1
  210. package/dist/es/Input/Search.js +0 -1
  211. package/dist/es/Input/Textarea.js +0 -1
  212. package/dist/es/Label/index.js +0 -1
  213. package/dist/es/Label/styles.js +0 -1
  214. package/dist/es/Layout/index.js +0 -1
  215. package/dist/es/Layout/styles.js +0 -1
  216. package/dist/es/Marquee/index.js +0 -1
  217. package/dist/es/Masonry/index.js +0 -1
  218. package/dist/es/Menu/index.js +0 -1
  219. package/dist/es/Message/index.js +0 -1
  220. package/dist/es/Modal/index.js +0 -1
  221. package/dist/es/Notice/Notice.js +0 -1
  222. package/dist/es/Notification/Notification.js +0 -1
  223. package/dist/es/Popconfirm/index.js +0 -1
  224. package/dist/es/Progress/index.js +0 -1
  225. package/dist/es/Radio/index.js +0 -1
  226. package/dist/es/Select/index.js +0 -1
  227. package/dist/es/Select/styles.js +0 -1
  228. package/dist/es/Slider/index.js +0 -1
  229. package/dist/es/Space/index.js +0 -1
  230. package/dist/es/Splitter/index.js +0 -1
  231. package/dist/es/Splitter/styles.js +0 -1
  232. package/dist/es/Switch/index.js +0 -1
  233. package/dist/es/Switch/styles.js +0 -1
  234. package/dist/es/Table/SortableRow.js +0 -1
  235. package/dist/es/Table/index.js +0 -1
  236. package/dist/es/Tabs/index.js +0 -1
  237. package/dist/es/Tag/index.js +0 -1
  238. package/dist/es/TimePicker/RangePicker.js +0 -1
  239. package/dist/es/TimePicker/TimePickerPanel.js +0 -1
  240. package/dist/es/TimePicker/index.js +0 -1
  241. package/dist/es/Tooltip/Tooltip.js +0 -1
  242. package/dist/es/Top/index.js +0 -1
  243. package/dist/es/Transfer/index.js +0 -1
  244. package/dist/es/Transfer/styles.js +0 -1
  245. package/dist/es/Tree/index.js +0 -1
  246. package/dist/es/TreeSelect/index.js +0 -1
  247. package/dist/es/TreeSelect/styles.js +0 -1
  248. package/dist/es/Typography/index.js +0 -1
  249. package/dist/es/Upload/index.js +0 -1
  250. package/dist/es/_virtual/index.js +0 -1
  251. package/dist/es/_virtual/index2.js +0 -1
  252. package/dist/es/_virtual/use-sync-external-store-shim.development.js +0 -1
  253. package/dist/es/_virtual/use-sync-external-store-shim.production.js +0 -1
  254. package/dist/es/index.js +0 -1
  255. package/dist/es/node_modules/i18next/dist/esm/i18next.js +0 -1
  256. package/dist/es/node_modules/react-fast-marquee/dist/index.js +0 -1
  257. package/dist/es/node_modules/react-i18next/dist/es/I18nextProvider.js +0 -1
  258. package/dist/es/node_modules/react-i18next/dist/es/context.js +0 -1
  259. package/dist/es/node_modules/react-i18next/dist/es/defaults.js +0 -1
  260. package/dist/es/node_modules/react-i18next/dist/es/i18nInstance.js +0 -1
  261. package/dist/es/node_modules/react-i18next/dist/es/initReactI18next.js +0 -1
  262. package/dist/es/node_modules/react-i18next/dist/es/unescape.js +0 -1
  263. package/dist/es/node_modules/react-i18next/dist/es/useTranslation.js +0 -1
  264. package/dist/es/node_modules/react-i18next/dist/es/utils.js +0 -1
  265. package/dist/es/node_modules/react-icons/fa/index.js +0 -1
  266. package/dist/es/node_modules/react-icons/io5/index.js +0 -1
  267. package/dist/es/node_modules/react-icons/lib/iconBase.js +0 -1
  268. package/dist/es/node_modules/react-icons/lib/iconContext.js +0 -1
  269. package/dist/es/node_modules/tslib/tslib.es6.js +0 -1
  270. package/dist/es/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -1
  271. package/dist/es/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -1
  272. package/dist/es/node_modules/use-sync-external-store/shim/index.js +0 -1
  273. package/dist/es/src/i18n/I18nProvider.js +0 -1
  274. package/dist/es/src/i18n/index.js +0 -1
  275. package/dist/es/src/i18n/locales/en-US.json.js +0 -1
  276. package/dist/es/src/i18n/locales/zh-CN.json.js +0 -1
  277. package/dist/types/components/Drawer/styles.d.ts +0 -0
  278. package/dist/types/components/Menu/styles.d.ts +0 -7
  279. package/dist/types/components/Notice/Notice.d.ts +0 -18
  280. package/dist/types/components/Progress/styles.d.ts +0 -0
  281. /package/dist/es/{Breadcrumb → components/Breadcrumb}/index.js +0 -0
  282. /package/dist/es/{Dropdown → components/Dropdown}/index.js +0 -0
  283. /package/dist/es/{Empty → components/Empty}/index.js +0 -0
  284. /package/dist/es/{Hooks → components/Hooks}/useClickOutside.js +0 -0
  285. /package/dist/es/{Icon → components/Icon}/index.js +0 -0
  286. /package/dist/es/{Icon → components/Icon}/path.js +0 -0
  287. /package/dist/es/{Input → components/Input}/index.js +0 -0
  288. /package/dist/es/{Layout → components/Layout}/LayoutContext.js +0 -0
  289. /package/dist/es/{Message → components/Message}/Message.js +0 -0
  290. /package/dist/es/{Pagination → components/Pagination}/index.js +0 -0
  291. /package/dist/es/{Rate → components/Rate}/index.js +0 -0
  292. /package/dist/es/{Spin → components/Spin}/index.js +0 -0
  293. /package/dist/es/{Steps → components/Steps}/index.js +0 -0
@@ -0,0 +1 @@
1
+ "use strict";var e=require("tslib");function r(e){return e&&e.__esModule?e:{default:e}}var t=r(require("classnames"));exports.getFormControlClassName=function(e){var r=e.className;return t.default("zjpcy-form-control",r)},exports.getFormControlStyle=function(r){var t=r.controlWidth,s=r.style,a=r.customStyles;return e.__assign(e.__assign(e.__assign({},void 0!==t?{width:"".concat(t,"%")}:{}),s),a)},exports.getFormErrorClassName=function(e){var r=e.visible,s=e.className;return t.default("zjpcy-form-error",{"zjpcy-form-error--visible":r},s)},exports.getFormErrorStyle=function(r){var t=r.style,s=r.customStyles;return e.__assign(e.__assign({},t),s)},exports.getFormHelpClassName=function(e){var r=e.className;return t.default("zjpcy-form-help",r)},exports.getFormHelpStyle=function(r){var t=r.style,s=r.customStyles;return e.__assign(e.__assign({},t),s)},exports.getFormItemWrapperClassName=function(e){var r=e.layout,s=e.className;return t.default("zjpcy-form-item","zjpcy-form-item--".concat(r),s)},exports.getFormItemWrapperStyle=function(r){var t=r.style,s=r.customStyles;return e.__assign(e.__assign({},t),s)},exports.getFormLabelClassName=function(e){var r=e.required,s=e.className;return t.default("zjpcy-form-label",{"zjpcy-form-label--required":r},s)},exports.getFormLabelStyle=function(r){var t=r.labelAlign,s=r.labelWidth,a=r.style,o=r.customStyles;return e.__assign(e.__assign(e.__assign({textAlign:t||"end"},void 0!==s?{width:"".concat(s,"%")}:{}),a),o)},exports.getFormWrapperClassName=function(e){var r=e.className;return t.default("zjpcy-form-wrapper",r)},exports.getFormWrapperStyle=function(r){var t=r.style,s=r.customStyles;return e.__assign(e.__assign({},t),s)};
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=require("react"),r=require("./styles.js");function s(e){return e&&e.__esModule?e:{default:e}}var l=s(a),t=a.createContext({}),i=a.createContext({}),o=l.default.forwardRef(function(s,l){var t=s.children,o=s.className,d=s.style,p=s.span,n=s.offset,u=s.push,c=s.pull,f=s.order,g=s.gap,v=a.useContext(i),y=null==v?void 0:v.gap,h=void 0!==g?g:y;return e.jsx("div",{ref:l,className:r.getColWrapperClassName({className:o}),style:r.getColWrapperStyle({span:p,offset:n,push:u,pull:c,order:f,gap:h,style:d}),children:t})});o.displayName="Grid.Col";var d=l.default.forwardRef(function(s,l){var o=s.children,d=s.className,p=s.style,n=s.span,u=s.gap,c=s.rowGap,f=s.align,g=s.justify,v=s.wrap,y=void 0===v||v,h=a.useContext(t),m=null==h?void 0:h.gap,C=void 0!==u?u:m;return e.jsx(i.Provider,{value:{gap:C},children:e.jsx("div",{ref:l,className:r.getRowWrapperClassName({className:d}),style:r.getRowWrapperStyle({span:n,rowGap:c,align:f,justify:g,wrap:y,style:p}),children:o})})});d.displayName="Grid.Row";var p=Object.assign(d,{Col:o}),n=l.default.forwardRef(function(a,s){var l=a.children,i=a.className,o=a.style,d=a.width,p=a.height,n=a.gap,u=a.padding,c=a.backgroundColor;return e.jsx(t.Provider,{value:{gap:n},children:e.jsx("div",{ref:s,className:r.getGridWrapperClassName({className:i}),style:r.getGridWrapperStyle({width:d,height:p,gap:n,padding:u,backgroundColor:c,style:o}),children:l})})});n.displayName="Grid";var u=Object.assign(n,{Row:p,Col:o});exports.Col=o,exports.Row=p,exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";var a=require("tslib");function r(a){return a&&a.__esModule?a:{default:a}}var t=r(require("classnames"));exports.getColWrapperClassName=function(a){var r=a.className;return t.default("zjpcy-grid-col",r)},exports.getColWrapperStyle=function(r){var t=r.span,e=r.offset,o=r.push,n=r.pull,c=r.order,i=r.gap,p=r.style,s=void 0!==n?"calc(-".concat(n," / 24 * 100%)"):void 0!==e?"calc(".concat(e," / 24 * 100%)"):"0";return a.__assign({flex:void 0!==t?"0 0 calc(".concat(t," / 24 * 100%)"):"1",maxWidth:void 0!==t?"calc(".concat(t," / 24 * 100%)"):"100%",marginLeft:s,marginRight:void 0!==o?"calc(".concat(o," / 24 * 100%)"):"0",order:void 0!==c?c:0,paddingLeft:void 0!==i?"number"==typeof i?"".concat(i/2,"px"):"calc(".concat(i," / 2)"):"0",paddingRight:void 0!==i?"number"==typeof i?"".concat(i/2,"px"):"calc(".concat(i," / 2)"):"0",boxSizing:"border-box"},p)},exports.getGridWrapperClassName=function(a){var r=a.className;return t.default("zjpcy-grid",r)},exports.getGridWrapperStyle=function(r){var t=r.width,e=r.height,o=r.gap,n=r.padding,c=r.backgroundColor,i=r.style;return a.__assign({width:void 0!==t?"number"==typeof t?"".concat(t,"px"):t:"100%",height:void 0!==e?"number"==typeof e?"".concat(e,"px"):e:"auto",gap:void 0!==o?"number"==typeof o?"".concat(o,"px"):o:"0",padding:void 0!==n?"number"==typeof n?"".concat(n,"px"):n:"0",backgroundColor:c||"transparent",boxSizing:"border-box"},i)},exports.getRowWrapperClassName=function(a){var r=a.className;return t.default("zjpcy-grid-row",r)},exports.getRowWrapperStyle=function(r){var t=r.span,e=r.rowGap,o=r.align,n=r.justify,c=r.wrap,i=r.style;return a.__assign({display:"flex",width:void 0!==t?"calc(".concat(t," / 24 * 100%)"):"100%",rowGap:void 0!==e?"number"==typeof e?"".concat(e,"px"):e:"0",alignItems:o||"stretch",justifyContent:n||"flex-start",flexWrap:!1!==c?"wrap":"nowrap",boxSizing:"border-box"},i)};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react");exports.useClickOutside=function(t,n){e.useEffect(function(){var e=function(e){t.current&&!t.current.contains(e.target)&&n(e)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[t,n])};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("tslib");function t(e){return e&&e.__esModule?e:{default:e}}var r=t(require("react")),n=function(t){return e.__awaiter(void 0,void 0,void 0,function(){var r;return e.__generator(this,function(e){switch(e.label){case 0:return navigator.clipboard&&window.isSecureContext?[4,navigator.clipboard.writeText(t)]:[3,2];case 1:return e.sent(),[3,3];case 2:(r=document.createElement("textarea")).style.position="fixed",r.style.top=r.style.left="-100vh",r.style.opacity="0",r.value=t,document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r),e.label=3;case 3:return[2]}})})};module.exports=function(){var t=this;return r.default.useCallback(function(r){return e.__awaiter(t,void 0,void 0,function(){return e.__generator(this,function(e){switch(e.label){case 0:return[4,n(r)];case 1:return[2,e.sent()]}})})},[])};
@@ -0,0 +1 @@
1
+ "use client";"use strict";var e=require("tslib"),o=require("react/jsx-runtime"),r=require("react"),n=require("./path.js"),t={search:n.searchIcon,loading:n.loadingIcon,user:n.userIcon,close:n.closeIcon,check:n.checkIcon,plus:n.plusIcon,minus:n.minusIcon,arrowLeft:n.arrowLeftIcon,arrowRight:n.arrowRightIcon,arrowUp:n.arrowUpIcon,arrowDown:n.arrowDownIcon,left:n.leftIcon,right:n.rightIcon,"double-left":n.doubleLeftIcon,"double-right":n.doubleRightIcon},i=function(e){return t[e]?t[e]:n.presetIcons[e]},c={small:12,medium:16,large:24},u=function(n){var t=n.type,u=n.path,a=n.viewBox,l=void 0===a?"0 0 24 24":a,s=n.size,d=void 0===s?"medium":s,f=n.color,v=void 0===f?"#339af0":f,h=n.hoverColor,g=n.spin,m=void 0!==g&&g,I=n.rotate,p=n.align,w=void 0===p?"center":p,x=n.className,b=void 0===x?"":x,y=n.style,j=n.onClick,M=r.useMemo(function(){return"number"==typeof d?d:c[d]||16},[d]),k=r.useMemo(function(){if(u)return u;if(t){var e=i(t);return(null==e?void 0:e.path)||""}return""},[t,u]),q=r.useMemo(function(){if("0 0 24 24"!==l)return l;if(t){var e=i(t);return(null==e?void 0:e.viewBox)||"0 0 24 24"}return"0 0 24 24"},[t,l]);if(!k)return null;var L=e.__assign({width:M,height:M,fill:v,transform:I?"rotate(".concat(I,"deg)"):void 0},y);return o.jsx("div",{className:"icon-container icon-align-".concat(w," ").concat(b),children:o.jsx("svg",{viewBox:q,className:"icon ".concat(m?"icon-spin":""),style:L,onMouseEnter:function(e){h&&(e.currentTarget.style.fill=h)},onMouseLeave:function(e){h&&(e.currentTarget.style.fill=v)},onClick:j,children:o.jsx("path",{d:k})})})};module.exports=u;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./Icon.js");module.exports=e;
@@ -0,0 +1 @@
1
+ "use strict";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"},L={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"},v={path:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",viewBox:"0 0 24 24"},A={path:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z",viewBox:"0 0 24 24"},M={path:"M19 13H5v-2h14v2z",viewBox:"0 0 24 24"},e={path:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",viewBox:"0 0 24 24"},o={path:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",viewBox:"0 0 24 24"},C={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"},t={path:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",viewBox:"0 0 24 24"},i={path:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",viewBox:"0 0 24 24"},c={path:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6 1.41-1.41zM11 6H9v12h2V6z",viewBox:"0 0 24 24"},p={path:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6-1.41 1.41zM13 6h2v12h-2V6z",viewBox:"0 0 24 24"},l={search:h,loading:V,user:H,close:L,check:v,plus:A,minus:M,arrowLeft:e,arrowRight:o,arrowUp:C,arrowDown:a,left:t,right:i,"double-left":c,"double-right":p,app:{path:"M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z",viewBox:"0 0 24 24"},layout:{path:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 16H5V5h6v14zm8-10h-6V5h6v4zm0 6h-6v-4h6v4z",viewBox:"0 0 24 24"},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"},"shield-check":{path:"M12,2L4,5V11C4,16.55 7.84,21.74 12,23C16.16,21.74 20,16.55 20,11V5L12,2M10.59,16.59L7.41,13.41L8.82,12L10.59,13.76L15.18,9.17L16.59,10.58L10.59,16.59Z",viewBox:"0 0 24 24"},"shield-off":{path:"M19,11V5L12,2L5,5V11C5,14.54 6.64,17.89 9.25,20.02L3.27,4.27L4.55,3L21,19.45L19.73,20.73L17.3,18.3C15.95,19.4 14.36,20.28 12.65,20.82C11.29,20.4 10.05,19.73 8.96,18.86L11.19,16.63C11.46,16.41 11.73,16.18 12,15.92V15.92C12.56,15.36 13.07,14.76 13.5,14.11L9.89,10.5L8.47,9.08L6.59,7.2V11C6.59,12.51 7.06,13.96 7.91,15.2L9.33,16.62",viewBox:"0 0 24 24"},key:{path:"M7,14A5,5 0 0,1 12,9A5,5 0 0,1 17,14A5,5 0 0,1 12,19A5,5 0 0,1 7,14M12,11A3,3 0 0,0 9,14A3,3 0 0,0 12,17A3,3 0 0,0 15,14A3,3 0 0,0 12,11M19,7L17,7V4H15V7H12V9H15V12H17V9H19V7Z",viewBox:"0 0 24 24"},"key-outline":{path:"M12,3A7,7 0 0,1 19,10A7,7 0 0,1 12,17A7,7 0 0,1 5,10A7,7 0 0,1 12,3M12,5A5,5 0 0,0 7,10A5,5 0 0,0 12,15A5,5 0 0,0 17,10A5,5 0 0,0 12,5M19,7H17V4H15V7H12V9H15V12H17V9H19V7Z",viewBox:"0 0 24 24"},logout:{path:"M14,17V14H6V10H14V7L19,12L14,17M4,19H12V21H4A2,2 0 0,1 2,19V5A2,2 0 0,1 4,3H12V5H4V19Z",viewBox:"0 0 24 24"},login:{path:"M10,17V14H18V10H10V7L5,12L10,17M20,19H12V21H20A2,2 0 0,0 22,19V5A2,2 0 0,0 20,3H12V5H20V19Z",viewBox:"0 0 24 24"},"settings-2":{path:"M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M4,12C4,11.3 4.07,10.62 4.2,9.95L2,8.5L3.5,6L5.95,6.8C6.44,6.28 6.99,5.82 7.6,5.44L7.3,2.8H10.2L10.5,5.44C11.17,5.2 11.85,5.08 12.55,5.08C13.25,5.08 13.93,5.2 14.6,5.44L14.9,2.8H17.8L17.5,5.44C18.11,5.82 18.66,6.28 19.15,6.8L21.6,6L23.1,8.5L20.9,9.95C21.03,10.62 21.1,11.3 21.1,12C21.1,12.7 21.03,13.38 20.9,14.05L23.1,15.5L21.6,18L19.15,17.2C18.66,17.72 18.11,18.18 17.5,18.56L17.8,21.2H14.9L14.6,18.56C13.93,18.8 13.25,18.92 12.55,18.92C11.85,18.92 11.17,18.8 10.5,18.56L10.2,21.2H7.3L7.6,18.56C6.99,18.18 6.44,17.72 5.95,17.2L3.5,18L2,15.5L4.2,14.05C4.07,13.38 4,12.7 4,12Z",viewBox:"0 0 24 24"},sliders:{path:"M10,4H4V6H10V4M20,4H14V6H20V4M16,9H4V11H16V9M20,9H18V11H20V9M8,14H4V16H8V14M20,14H12V16H20V14M12,19H4V21H12V19M20,19H16V21H20V19Z",viewBox:"0 0 24 24"},"chart-bar":{path:"M4,19H20V21H2V3H4V19M8,17V9H10V17H8M12,17V5H14V17H12M16,17V12H18V17H16Z",viewBox:"0 0 24 24"},"chart-line":{path:"M3,17L9,11L13,15L21,7L19.6,5.6L13,12.2L9,8.2L1.6,15.6L3,17M2,19H22V21H2V19Z",viewBox:"0 0 24 24"},"chart-pie":{path:"M11,2V12H21C20.45,6.4 16,2 11,2M13,13V3.08C7.94,3.58 4,7.86 4,13C4,18.52 8.48,23 14,23C19.14,23 23.42,19.06 23.92,14H13Z",viewBox:"0 0 24 24"},clipboard:{path:"M16,4H14.18C13.76,2.84 12.69,2 11.5,2C10.31,2 9.24,2.84 8.82,4H7A2,2 0 0,0 5,6V20A2,2 0 0,0 7,22H17A2,2 0 0,0 19,20V6A2,2 0 0,0 17,4H16M11.5,4A1,1 0 0,1 12.5,5A1,1 0 0,1 11.5,6A1,1 0 0,1 10.5,5A1,1 0 0,1 11.5,4Z",viewBox:"0 0 24 24"},"clipboard-check":{path:"M9,16.17L6.83,14L5.42,15.41L9,19L18,10L16.59,8.59L9,16.17M16,4H14.18C13.76,2.84 12.69,2 11.5,2C10.31,2 9.24,2.84 8.82,4H7A2,2 0 0,0 5,6V20A2,2 0 0,0 7,22H17A2,2 0 0,0 19,20V6A2,2 0 0,0 17,4H16Z",viewBox:"0 0 24 24"},"clipboard-text":{path:"M16,4H14.18C13.76,2.84 12.69,2 11.5,2C10.31,2 9.24,2.84 8.82,4H7A2,2 0 0,0 5,6V20A2,2 0 0,0 7,22H17A2,2 0 0,0 19,20V6A2,2 0 0,0 17,4H16M8,10H16V12H8V10M8,14H16V16H8V14Z",viewBox:"0 0 24 24"},database:{path:"M12,3C7.58,3 4,4.79 4,7V17C4,19.21 7.58,21 12,21C16.42,21 20,19.21 20,17V7C20,4.79 16.42,3 12,3M12,5C15.31,5 18,6.12 18,7.5C18,8.88 15.31,10 12,10C8.69,10 6,8.88 6,7.5C6,6.12 8.69,5 12,5M6,10.5C7.26,11.35 9.43,12 12,12C14.57,12 16.74,11.35 18,10.5V13C18,14.38 15.31,15.5 12,15.5C8.69,15.5 6,14.38 6,13V10.5M6,15.5C7.26,16.35 9.43,17 12,17C14.57,17 16.74,16.35 18,15.5V17C18,18.38 15.31,19.5 12,19.5C8.69,19.5 6,18.38 6,17V15.5Z",viewBox:"0 0 24 24"},server:{path:"M4,4H20A2,2 0 0,1 22,6V10A2,2 0 0,1 20,12H4A2,2 0 0,1 2,10V6A2,2 0 0,1 4,4M4,14H20A2,2 0 0,1 22,16V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V16A2,2 0 0,1 4,14M6,7A1,1 0 0,0 5,8A1,1 0 0,0 6,9A1,1 0 0,0 7,8A1,1 0 0,0 6,7M6,17A1,1 0 0,0 5,18A1,1 0 0,0 6,19A1,1 0 0,0 7,18A1,1 0 0,0 6,17Z",viewBox:"0 0 24 24"},terminal:{path:"M4,5H20A2,2 0 0,1 22,7V17A2,2 0 0,1 20,19H4A2,2 0 0,1 2,17V7A2,2 0 0,1 4,5M6,8L10,12L6,16L7.41,17.41L12.83,12L7.41,6.59L6,8M13,15H18V17H13V15Z",viewBox:"0 0 24 24"},code:{path:"M8.59,16.59L4,12L8.59,7.41L7.17,6L1.17,12L7.17,18L8.59,16.59M15.41,16.59L20,12L15.41,7.41L16.83,6L22.83,12L16.83,18L15.41,16.59Z",viewBox:"0 0 24 24"},bug:{path:"M14,6H18V8H14V6M6,6H10V8H6V6M12,2A4,4 0 0,1 16,6V7H8V6A4,4 0 0,1 12,2M5,9H19V11H5V9M7,12H9V20H7V12M15,12H17V20H15V12M11,12H13V22H11V12Z",viewBox:"0 0 24 24"},gift:{path:"M20,12V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V12H20M12,2A2.5,2.5 0 0,1 14.5,4.5A2.5,2.5 0 0,1 12,7A2.5,2.5 0 0,1 9.5,4.5A2.5,2.5 0 0,1 12,2M2,8H22V12H2V8M11,12H13V22H11V12Z",viewBox:"0 0 24 24"},cart:{path:"M7,18A2,2 0 0,0 9,20A2,2 0 0,0 11,18A2,2 0 0,0 9,16A2,2 0 0,0 7,18M15,18A2,2 0 0,0 17,20A2,2 0 0,0 19,18A2,2 0 0,0 17,16A2,2 0 0,0 15,18M7.16,12H17.55L20.31,6H6L5.21,4H2V6H4L7.6,13.59L6.25,16H19V14H8.42L7.16,12Z",viewBox:"0 0 24 24"},"shopping-bag":{path:"M6,6V5A4,4 0 0,1 10,1H14A4,4 0 0,1 18,5V6H21A1,1 0 0,1 22,7V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V7A1,1 0 0,1 3,6H6M8,6H16V5A2,2 0 0,0 14,3H10A2,2 0 0,0 8,5V6Z",viewBox:"0 0 24 24"},"credit-card":{path:"M4,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M4,7V9H20V7H4M6,14H12V16H6V14Z",viewBox:"0 0 24 24"},wallet:{path:"M3,7H20A2,2 0 0,1 22,9V17A2,2 0 0,1 20,19H4A2,2 0 0,1 2,17V7A2,2 0 0,1 4,5H20V7H3M18,12A1,1 0 0,0 17,13A1,1 0 0,0 18,14A1,1 0 0,0 19,13A1,1 0 0,0 18,12Z",viewBox:"0 0 24 24"},"tag-outline":{path:"M20.59,13.41L11,3.83A2,2 0 0,0 9.59,3H5A2,2 0 0,0 3,5V9.59A2,2 0 0,0 3.59,11L13.17,20.59A2,2 0 0,0 16,20.59L20.59,16A2,2 0 0,0 20.59,13.41M7,7A1.5,1.5 0 0,1 8.5,5.5A1.5,1.5 0 0,1 10,7A1.5,1.5 0 0,1 8.5,8.5A1.5,1.5 0 0,1 7,7Z",viewBox:"0 0 24 24"},"bookmark-outline":{path:"M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5A2,2 0 0,0 17,3M17,18L12,16L7,18V5H17V18Z",viewBox:"0 0 24 24"},pin:{path:"M12,2A7,7 0 0,1 19,9C19,14.25 12,22 12,22C12,22 5,14.25 5,9A7,7 0 0,1 12,2M12,6.5A2.5,2.5 0 0,0 9.5,9A2.5,2.5 0 0,0 12,11.5A2.5,2.5 0 0,0 14.5,9A2.5,2.5 0 0,0 12,6.5Z",viewBox:"0 0 24 24"},"pin-outline":{path:"M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2M12,4A5,5 0 0,1 17,9C17,12.74 13.8,17.15 12,19.29C10.2,17.15 7,12.74 7,9A5,5 0 0,1 12,4M12,6.5A2.5,2.5 0 0,0 9.5,9A2.5,2.5 0 0,0 12,11.5A2.5,2.5 0 0,0 14.5,9A2.5,2.5 0 0,0 12,6.5Z",viewBox:"0 0 24 24"},"bell-outline":{path:"M12,22A2,2 0 0,0 14,20H10A2,2 0 0,0 12,22M18,16V11A6,6 0 0,0 12,5A6,6 0 0,0 6,11V16L4,18V19H20V18L18,16M12,7A4,4 0 0,1 16,11V16H8V11A4,4 0 0,1 12,7Z",viewBox:"0 0 24 24"},"bell-off":{path:"M2,5.27L3.28,4L20,20.72L18.73,22L16.68,19.95C15.7,20.4 14.61,20.68 13.5,20.78V22H10.5V20.78C9.62,20.7 8.74,20.48 7.91,20.14L6.5,21.55L5.23,20.28L7.05,18.46L4,15V11A6,6 0 0,1 9.08,5.08L7.61,3.61C8.98,2.59 10.55,2 12,2A6,6 0 0,1 18,8V12L20,14V15H17.82L15.82,13H18V12A4,4 0 0,0 14,8C13.46,8 12.93,8.11 12.45,8.32L9.95,5.82C10.62,5.29 11.29,5.03 12,5.03A6,6 0 0,1 18,11V16L19.18,17.18L2,5.27Z",viewBox:"0 0 24 24"},"check-circle":{path:"M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2M10,17L5,12L6.41,10.59L10,14.17L17.59,6.58L19,8L10,17Z",viewBox:"0 0 24 24"},"close-circle":{path:"M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M15.59,17L12,13.41L8.41,17L7,15.59L10.59,12L7,8.41L8.41,7L12,10.59L15.59,7L17,8.41L13.41,12L17,15.59L15.59,17Z",viewBox:"0 0 24 24"}};exports.arrowDownIcon=a,exports.arrowLeftIcon=e,exports.arrowRightIcon=o,exports.arrowUpIcon=C,exports.checkIcon=v,exports.closeIcon=L,exports.doubleLeftIcon=c,exports.doubleRightIcon=p,exports.leftIcon=t,exports.loadingIcon=V,exports.minusIcon=M,exports.plusIcon=A,exports.presetIcons=l,exports.rightIcon=i,exports.searchIcon=h,exports.userIcon=H;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("tslib"),l=require("react/jsx-runtime"),a=require("react"),n=require("../Icon/Icon.js");function i(e){return e&&e.__esModule?e:{default:e}}var t=i(a),s=function(a){var i=a.type,s=void 0===i?"text":i,r=a.placeholder,o=void 0===r?"":r,u=a.width,c=a.className,d=void 0===c?"":c,p=a.style,f=a.value,v=a.defaultValue,x=a.onChange,m=a.onBlur,y=a.onFocus,h=a.disabled,b=void 0!==h&&h,g=a.readOnly,j=void 0!==g&&g,N=a.onKeyDown,w=a.prefix,_=a.suffix,C=a.clear,S=void 0!==C&&C,q=a.extra,B=a.label,D=a.labelGap,F=void 0===D?8:D,I=a.labelClassName,K=void 0===I?"":I,O=a.labelStyle,z=a.autoComplete,G=e.__rest(a,["type","placeholder","width","className","style","value","defaultValue","onChange","onBlur","onFocus","disabled","readOnly","onKeyDown","prefix","suffix","clear","extra","label","labelGap","labelClassName","labelStyle","error","autoComplete"]),V=t.default.useState(v||""),k=V[0],M=V[1],R=t.default.useState(!1),A=R[0],E=R[1],H=function(e){return e?"string"==typeof e?l.jsx(n,{type:e,size:"medium",color:"#909399"}):e:null},J=void 0!==f?f:k,L=S&&!b&&!j&&A&&null!=J&&J.toString().length>0;return l.jsxs("div",{className:"input-base-container",children:[l.jsxs("div",{className:"input-label-wrapper",style:{display:"flex",alignItems:"center"},children:[B&&l.jsx("div",{className:"input-label ".concat(K),style:e.__assign({marginRight:"number"==typeof F?"".concat(F,"px"):F},O),children:B}),l.jsxs("div",{className:"input-wrapper ".concat(d," ").concat(b?"input-wrapper-disabled":""," ").concat(j?"input-wrapper-readonly":""),style:e.__assign({width:u},p),children:[w&&l.jsx("div",{className:"input-prefix",children:H(w)}),l.jsx("input",e.__assign({type:s,placeholder:o,className:"input-inner",value:null!=f?String(f):J,onChange:function(e){void 0===f&&M(e.target.value),null==x||x(e)},onBlur:function(e){E(!1),null==m||m(e)},onFocus:function(e){E(!0),null==y||y(e)},disabled:b,readOnly:j,onKeyDown:N,autoComplete:null!=z?z:"password"===s?"current-password":void 0},G)),l.jsxs("div",{className:"input-suffix-group",children:[l.jsx("div",{className:"input-suffix-clear ".concat(L?"visible":""),onClick:function(){b||j||(void 0!==f||M(""),x&&x({target:{value:""}}))},children:l.jsx(n,{type:"close",size:"medium",color:"#1890ff"})}),_&&l.jsx("div",{className:"input-suffix-content",children:H(_)})]})]})]}),q&&l.jsx("div",{className:"input-extra",children:q})]})};module.exports=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("tslib"),s=require("react/jsx-runtime"),a=require("react"),i=require("./InputBase.js");function t(e){return e&&e.__esModule?e:{default:e}}var r=t(a),n=function(a){var t=a.nType,n=a.errorMessage,l=a.extra,d=a.value,u=a.onChange,g=a.clear,c=void 0!==g&&g,m=e.__rest(a,["nType","errorMessage","extra","value","onChange","clear"]),o=function(e){if(!e)return{isValid:!0,message:""};var s=("string"==typeof e?e:String(e)).trim(),a=parseFloat(s);if(isNaN(a))return{isValid:!1,message:"请输入有效的数字"};switch(t){case"positive-float":return/^\d+(\.\d+)?$/.test(s)&&a>0?{isValid:!0,message:""}:{isValid:!1,message:"请输入正浮点数"};case"negative-float":return/^-\d+(\.\d+)?$/.test(s)&&a<0?{isValid:!0,message:""}:{isValid:!1,message:"请输入负浮点数"};case"positive-integer":return/^\d+$/.test(s)&&a>0?{isValid:!0,message:""}:{isValid:!1,message:"请输入正整数"};case"negative-integer":return/^-\d+$/.test(s)&&a<0?{isValid:!0,message:""}:{isValid:!1,message:"请输入负整数"};case"integer":return/^-?\d+$/.test(s)?{isValid:!0,message:""}:{isValid:!1,message:"请输入整数"};case"negative":return/^-\d+(\.\d+)?$/.test(s)&&a<0?{isValid:!0,message:""}:{isValid:!1,message:"请输入负数"};case"positive":return/^\d+(\.\d+)?$/.test(s)&&a>0?{isValid:!0,message:""}:{isValid:!1,message:"请输入正数"};default:return{isValid:!0,message:""}}},v=r.default.useState({isValid:!0,message:""}),f=v[0],V=v[1];r.default.useEffect(function(){if(t&&d){var e=o(d);V(e)}},[t,d]);var p=n||f.message,x=!!p,h=!x&&l;return s.jsxs("div",{className:"number-input-wrapper",children:[s.jsx(i,e.__assign({type:"text",value:d,onChange:function(e){var s=e.target.value;if(null==u||u(e),t){var a=o(s);V(a)}},clear:c},m,{className:"".concat(m.className||""," ").concat(x?"input-error":"")})),x&&s.jsx("div",{className:"input-error-message ".concat(x?"visible":""),children:p}),h&&s.jsx("div",{className:"input-extra",children:l})]})};module.exports=n;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),i=require("./InputBase.js"),s=require("../Icon/Icon.js");function u(e){return e&&e.__esModule?e:{default:e}}var o=u(r),n=function(r){var u=r.defaultVisible,n=void 0!==u&&u,a=r.onVisibleChange,l=r.autoComplete,c=void 0===l?"current-password":l,d=e.__rest(r,["defaultVisible","onVisibleChange","autoComplete"]),f=o.default.useState(n),p=f[0],m=f[1],x=function(){var e=!p;m(e),null==a||a(e)};return t.jsx(i,e.__assign({type:p?"text":"password",suffix:t.jsx("div",{className:"input-suffix-content",onClick:x,style:{cursor:"pointer"},children:t.jsx(s,{type:p?"eye":"eyeOff",size:"medium",color:"#909399"})}),autoComplete:c},d))};module.exports=n;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("tslib"),r=require("react/jsx-runtime"),s=require("./InputBase.js"),n=require("../Icon/Icon.js"),l=function(l){var a=l.type,i=void 0===a?"text":a,o=l.placeholder,t=void 0===o?"搜索":o,c=l.width,u=l.className,d=void 0===u?"":u,h=l.style,p=l.value,y=l.onChange,v=l.onBlur,x=l.onFocus,f=l.disabled,j=void 0!==f&&f,g=l.readOnly,m=void 0!==g&&g,C=l.onSearch,w=l.onClear,_=l.clear,b=void 0!==_&&_,k=l.suffix,q=e.__rest(l,["type","placeholder","width","className","style","value","onChange","onBlur","onFocus","disabled","readOnly","onSearch","onClear","clear","suffix"]),B=function(){null==C||C()},N=b?r.jsx(n,{type:"search",onClick:B,style:{cursor:"pointer"}}):k;return r.jsxs("div",{className:"search-input-wrapper ".concat(d),style:e.__assign({width:c},h),children:[r.jsx(s,e.__assign({type:i,placeholder:t,width:"100%",value:p,onChange:y,onBlur:v,onFocus:x,disabled:j,readOnly:m,onKeyDown:function(e){"Enter"===e.key&&(null==C||C())},clear:b,suffix:N},q)),!b&&r.jsxs("div",{className:"search-input-suffix",children:[p&&r.jsx(n,{type:"clear",size:"small",onClick:function(){if(null==w||w(),!w&&y){y({target:{value:""}})}},style:{cursor:"pointer",marginRight:"8px"}}),r.jsx(n,{type:"search",onClick:B,style:{cursor:"pointer"}})]})]})};module.exports=l;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),a=require("../Icon/Icon.js");function i(e){return e&&e.__esModule?e:{default:e}}var r=i(n),l=function(n){var i=n.placeholder,l=void 0===i?"":i,s=n.width,o=n.height,u=n.className,c=void 0===u?"":u,d=n.style,f=n.value,p=n.defaultValue,h=n.onChange,m=n.onBlur,x=n.onFocus,v=n.onKeyDown,g=n.disabled,y=void 0!==g&&g,b=n.readOnly,w=void 0!==b&&b,j=n.rows,z=void 0===j?4:j,N=n.cols,S=n.maxLength,_=n.showCount,I=void 0!==_&&_,C=n.clear,E=void 0!==C&&C,L=n.extra,M=n.label,R=n.labelGap,D=void 0===R?8:R,q=n.labelClassName,B=void 0===q?"":q,H=n.labelStyle,W=n.resizable,X=void 0!==W&&W,Y=n.resizeHandleSize,F=void 0===Y?10:Y,K=n.minWidth,O=void 0===K?200:K,V=n.maxWidth,$=void 0===V?2e3:V,k=n.minHeight,G=void 0===k?80:k,P=n.maxHeight,T=void 0===P?800:P,A=n.onResize,J=r.default.useState(p||""),Q=J[0],U=J[1],Z=r.default.useState(!1),ee=Z[0],te=Z[1],ne=r.default.useState(!1),ae=ne[0],ie=ne[1],re=r.default.useRef(null),le=r.default.useRef(null),se=r.default.useRef(null),oe=function(e){if(void 0===e)return 0;if("number"==typeof e)return e;var t=String(e).match(/^(\d+)px$/);return t?parseInt(t[1],10):0},ue=function(e){if(void 0===e)return 0;if("number"==typeof e)return e;var t=String(e).match(/^(\d+)px$/);return t?parseInt(t[1],10):0},ce=r.default.useState(oe(s)||0),de=ce[0],fe=ce[1],pe=r.default.useState(ue(o)||24*z||80),he=pe[0],me=pe[1];r.default.useEffect(function(){if(le.current){var e=oe(s)||le.current.offsetWidth||0,t=ue(o)||24*z||80;fe(e),me(t)}},[]);var xe=void 0!==f,ve=xe?f:Q,ge=(null==ve?void 0:ve.length)||0;r.default.useEffect(function(){var e=function(e){if(ae&&se.current){var t=e.clientX-se.current.mouseX,n=e.clientY-se.current.mouseY,a=se.current.width+t,i=se.current.height+n;a=Math.max(O,Math.min($,a)),i=Math.max(G,Math.min(T,i)),fe(a),me(i),null==A||A({width:a,height:i})}},t=function(){se.current=null,ie(!1)};return ae&&(document.addEventListener("mousemove",e),document.addEventListener("mouseup",t)),function(){document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",t)}},[ae,O,$,G,T,A]);var ye={display:"inline-flex",flexDirection:"column",width:s?"number"==typeof s?"".concat(s,"px"):s:"100%"},be={position:"relative",display:"flex",alignItems:"flex-start",flex:1,width:X?"number"==typeof de?"".concat(de,"px"):de:void 0},we=e.__assign({width:"100%",height:o?"number"==typeof o?"".concat(o,"px"):o:void 0,resize:"none"},d),je=E&&ve&&!y&&!w,ze=X?e.__assign(e.__assign({},we),{width:"100%",height:X?"number"==typeof he?"".concat(he,"px"):he:void 0}):we;return t.jsxs("div",{className:"textarea-wrapper ".concat(c),style:ye,ref:le,children:[(M||I||je)&&t.jsxs("div",{className:"textarea-header",style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"8px"},children:[M?t.jsx("label",{className:"input-label ".concat(B),style:e.__assign({marginRight:"number"==typeof D?"".concat(D,"px"):D},H),children:M}):null,t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[je&&t.jsx("span",{className:"textarea-clear",onClick:function(){if(!y&&!w){xe||U(""),null==h||h({target:{value:""}})}},style:{cursor:"pointer"},children:t.jsx(a,{type:"close-circle",size:"small",color:"#909399"})}),I&&S&&t.jsxs("span",{className:"textarea-count",style:{fontSize:"12px",color:"#909399"},children:[ge,"/",S]})]})]}),t.jsxs("div",{className:"input-wrapper textarea-input-wrapper ".concat(ee?"textarea-input-wrapper-focused":""," ").concat(y?"textarea-input-wrapper-disabled":""," ").concat(ae?"textarea-input-wrapper-resizing":""),style:be,children:[t.jsx("textarea",{ref:re,className:"input-base textarea-base",placeholder:l,value:ve,defaultValue:xe?void 0:p,onChange:function(e){var t=e.target.value;xe||U(t),null==h||h(e)},onBlur:function(e){te(!1),null==m||m(e)},onFocus:function(e){te(!0),null==x||x(e)},onKeyDown:v,disabled:y,readOnly:w,rows:z,cols:N,maxLength:S,style:ze}),X&&t.jsx("div",{className:"textarea-resize-handle",onMouseDown:function(e){X&&!y&&!w&&le.current&&(e.preventDefault(),e.stopPropagation(),se.current={mouseX:e.clientX,mouseY:e.clientY,width:le.current.offsetWidth,height:le.current.offsetHeight},ie(!0))},style:{position:"absolute",bottom:"0",right:"0",width:"".concat(F,"px"),height:"".concat(F,"px"),cursor:"nwse-resize",zIndex:1,display:"flex",alignItems:"center",justifyContent:"center"},children:t.jsx("div",{style:{width:"8px",height:"8px",borderRight:"2px solid #909399",borderBottom:"2px solid #909399"}})})]}),L&&t.jsx("div",{className:"input-extra",style:{marginTop:"4px"},children:L})]})};module.exports=l;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./InputBase.js"),r=require("./Search.js"),s=require("./Number.js"),a=require("./Textarea.js"),t=require("./Password.js"),u=e;u.Search=r,u.Number=s,u.Textarea=a,u.Password=t;var o=u;exports.Search=r,exports.NumberInput=s,exports.Textarea=a,exports.Password=t,exports.default=o;
@@ -0,0 +1 @@
1
+ "use strict";var i=require("react/jsx-runtime"),e=require("./styles.js"),t=function(t){var a=t.title,l=t.indicatorColor,r=void 0===l?"blue":l,s=t.indicatorWidth,d=void 0===s?"3px":s,o=t.indicatorHeight,n=void 0===o?"100%":o,c=t.paddingRight,u=void 0===c?"8px":c,g=t.style,h=t.className;return i.jsx("label",{className:e.getLabelClassName({className:h}),style:e.getLabelStyle({indicatorColor:r,indicatorWidth:d,indicatorHeight:n,paddingRight:u,style:g}),children:a||null})};module.exports=t;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("tslib");function t(e){return e&&e.__esModule?e:{default:e}}var a=t(require("classnames"));exports.getLabelClassName=function(e){var t=e.className;return a.default("zjpcy-label","label-wrapper",t)},exports.getLabelStyle=function(t){var a=t.indicatorColor,i=t.indicatorWidth,r=t.indicatorHeight,l=t.paddingRight,n=t.style,o=function(e){return void 0===e?"":"number"==typeof e?"".concat(e,"px"):e},s={"--label-indicator-color":a,"--label-indicator-width":o(i),"--label-indicator-height":o(r),"--label-padding-right":o(l)};return e.__assign(e.__assign({},s),n)};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),r=t.createContext(void 0);exports.LayoutContext=r,exports.LayoutProvider=function(o){var n=o.children,u=t.useState(!1),i=u[0],s=u[1],a=t.useState(!1),d=a[0],x=a[1],c=t.useState(function(){return function(){}}),v=c[0],l=c[1];return e.jsx(r.Provider,{value:{siderCollapsed:i,setSiderCollapsed:s,zeroWidthMode:d,setZeroWidthMode:x,onExpand:v,setOnExpand:l},children:n})},exports.useLayoutContext=function(){var e=t.useContext(r);if(!e)throw new Error("useLayoutContext must be used within a LayoutProvider");return e};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),l=require("../Icon/Icon.js"),s=require("./styles.js"),i=require("./LayoutContext.js");function a(e){return e&&e.__esModule?e:{default:e}}var r=a(t),d=r.default.createContext({isNested:!1}),o=function(t){var l=t.className,i=void 0===l?"":l,a=t.style,r=void 0===a?{}:a,d=t.children,o=t.height,n=t.fixed,c=void 0!==n&&n,h=t.theme,u=void 0===h?"light":h,m=null!=u?u:"light";return e.jsx("header",{className:s.getHeaderClassName({fixed:c,theme:m,className:i}),style:s.getHeaderStyle({height:o,style:r}),"data-theme":m,children:d})},n=function(t){var a=t.className,d=void 0===a?"":a,o=t.style,n=void 0===o?{}:o,c=t.children,h=t.width,u=void 0===h?200:h,m=t.collapsedWidth,f=void 0===m?60:m,g=t.collapsible,v=void 0!==g&&g,y=t.collapsed,x=void 0!==y&&y,N=t.onCollapse,p=t.trigger,C=t.triggerPlacement,S=void 0===C?"bottom":C,j=t.zeroWidthMode,W=void 0!==j&&j,L=t.fixed,E=void 0!==L&&L,M=t.theme,q=void 0===M?"light":M,z=null!=q?q:"light",b=i.useLayoutContext(),w=b.setSiderCollapsed,F=b.setZeroWidthMode,H=b.setOnExpand;r.default.useEffect(function(){w(x),F(W)},[x,W,w,F]);var P=function(){null==N||N(!x)};r.default.useEffect(function(){H(function(){return P})},[x,N,H]);var T=W&&x?0:f;return e.jsxs("aside",{className:s.getSiderClassName({fixed:E,theme:z,collapsed:x,className:d}),style:s.getSiderStyle({width:u,collapsedWidth:T,collapsed:x,style:n}),"data-theme":z,children:[e.jsx("div",{className:s.getSiderContentClassName({collapsed:x}),style:s.getSiderContentStyle({}),children:c}),v&&e.jsx("div",{className:s.getSiderTriggerClassName({collapsed:x,placement:W?"top":S,zeroWidthMode:W,theme:z}),style:s.getSiderTriggerStyle({}),onClick:P,children:p||e.jsx(l,{type:x?"arrowRight":"arrowLeft",size:20,color:"dark"===z?"#fff":"rgba(0, 0, 0, 0.65)"})})]})},c=function(t){var a=t.className,r=void 0===a?"":a,d=t.style,o=void 0===d?{}:d,n=t.children,c=t.theme,h=void 0===c?"light":c,u=null!=h?h:"light",m=i.useLayoutContext(),f=m.siderCollapsed,g=m.zeroWidthMode,v=m.onExpand;return e.jsxs("main",{className:s.getContentClassName({theme:u,className:r}),style:s.getContentStyle({style:o}),"data-theme":u,children:[g&&f&&e.jsx("div",{className:s.getZeroWidthTriggerClassName({}),style:s.getZeroWidthTriggerStyle({}),onClick:v,children:e.jsx(l,{type:"menu",size:24,color:"#fff"})}),n]})},h=function(t){var l=t.className,i=void 0===l?"":l,a=t.style,r=void 0===a?{}:a,d=t.children,o=t.height,n=t.fixed,c=void 0!==n&&n,h=t.theme,u=void 0===h?"light":h,m=null!=u?u:"light";return e.jsx("footer",{className:s.getFooterClassName({fixed:c,theme:m,className:i}),style:s.getFooterStyle({height:o,style:r}),"data-theme":m,children:d})},u=function(t){var l=t.className,a=void 0===l?"":l,o=t.style,c=void 0===o?{}:o,h=t.children,u=t.hasSider,m=t.theme,f=void 0===m?"light":m,g=void 0!==u?u:function(e){return!!e&&r.default.Children.toArray(e).some(function(e){return r.default.isValidElement(e)&&e.type===n})}(h),v=r.default.useState(!1),y=v[0],x=v[1];return r.default.useEffect(function(){x(!0)},[]),e.jsx(i.LayoutProvider,{children:e.jsx(d.Provider,{value:{isNested:!0},children:e.jsx("div",{className:s.getLayoutClassName({hasSider:g,theme:f,mounted:y,className:a}),style:s.getLayoutStyle({style:c}),"data-theme":f,children:h})})})};u.Header=o,u.Sider=n,u.Content=c,u.Footer=h;var m=u;exports.Content=c,exports.Footer=h,exports.Header=o,exports.Sider=n,exports.default=m;
@@ -0,0 +1 @@
1
+ "use strict";var t=require("tslib");function e(t){return t&&t.__esModule?t:{default:t}}var a=e(require("classnames"));exports.getContentClassName=function(t){var e=t.fixed,r=t.theme,o=t.className;return a.default("zjpcy-layout-content",{"zjpcy-layout-content--fixed":e},"zjpcy-layout-content--".concat(r||"light"),"layout-content","layout-content-".concat(r||"light"),o)},exports.getContentStyle=function(e){var a=e.style;return t.__assign({},a)},exports.getFooterClassName=function(t){var e=t.fixed,r=t.theme,o=t.className;return a.default("zjpcy-layout-footer","zjpcy-layout-footer--".concat(r||"light"),{"zjpcy-layout-footer--fixed":e},"layout-footer","layout-footer-".concat(r||"light"),o)},exports.getFooterStyle=function(e){var a=e.height,r=e.style;return t.__assign({height:"number"==typeof a?"".concat(a,"px"):a||"var(--layout-footer-height, 48px)"},r)},exports.getHeaderClassName=function(t){var e=t.fixed,r=t.theme,o=t.className;return a.default("zjpcy-layout-header","zjpcy-layout-header--".concat(r||"light"),{"zjpcy-layout-header--fixed":e},"layout-header","layout-header-".concat(r||"light"),o)},exports.getHeaderStyle=function(e){var a=e.height,r=e.style;return t.__assign({height:"number"==typeof a?"".concat(a,"px"):a||"var(--layout-header-height, 64px)"},r)},exports.getLayoutClassName=function(t){var e=t.hasSider,r=t.theme,o=t.mounted,l=t.className;return a.default("zjpcy-layout","zjpcy-layout--".concat(r||"light"),{"zjpcy-layout--has-sider":e,"layout-mounted":o},"layout-wrapper",l)},exports.getLayoutStyle=function(e){var a=e.style;return t.__assign({},a)},exports.getSiderClassName=function(t){var e=t.fixed,r=t.theme,o=t.collapsed,l=t.className;return a.default("zjpcy-layout-sider","zjpcy-layout-sider--".concat(r||"light"),{"zjpcy-layout-sider--fixed":e,collapsed:o},"layout-sider","layout-sider-".concat(r||"light"),l)},exports.getSiderContentClassName=function(t){var e=t.collapsed,r=t.className;return a.default("zjpcy-layout-sider-content",{"zjpcy-layout-sider-content--collapsed":e},r)},exports.getSiderContentStyle=function(e){var a=e.style;return t.__assign({},a)},exports.getSiderStyle=function(e){var a=e.width,r=e.collapsedWidth,o=e.collapsed,l=e.style,n="number"==typeof a?"".concat(a,"px"):a||"var(--layout-sider-width, 200px)",s=void 0!==r?"".concat(r,"px"):"var(--layout-sider-collapsed-width, 60px)",i=o?s:n;return t.__assign({width:i,minWidth:i,maxWidth:i,flex:"0 0 ".concat(i)},l)},exports.getSiderTriggerClassName=function(t){var e=t.collapsed,r=t.placement,o=t.zeroWidthMode,l=t.theme,n=t.className;return a.default("zjpcy-layout-sider-trigger","zjpcy-layout-sider-trigger--".concat(l||"light"),"zjpcy-layout-sider-trigger--".concat(r||"bottom"),{"zjpcy-layout-sider-trigger--hidden":o&&e},"layout-sider-trigger",n)},exports.getSiderTriggerStyle=function(e){var a=e.style;return t.__assign({},a)},exports.getZeroWidthTriggerClassName=function(t){var e=t.className;return a.default("zjpcy-layout-zero-width-trigger",e)},exports.getZeroWidthTriggerStyle=function(e){var a=e.style;return t.__assign({},a)};
@@ -0,0 +1 @@
1
+ "use client";"use strict";var e=require("react/jsx-runtime"),n=require("react"),r=require("../Icon/Icon.js"),t=function(t){var i=t.announcement,c=t.height,o=void 0===c?40:c,u=t.speed,s=void 0===u?50:u,a=t.backgroundColor,l=void 0===a?"linear-gradient(to right, #e8eaf6 0%, #f5f5f5 50%, #e8eaf6 100%)":a,f=t.visible,d=void 0===f||f,v=t.fixed,m=void 0!==v&&v,x=t.fixedTop,p=void 0===x?0:x,h=t.isIcon,g=void 0===h||h,y=t.onClose;if(!i)return null;var q=n.useState(!0),j=q[0],A=q[1],E=d&&j,L=n.useRef(null),R=n.useRef(null),F=n.useRef(void 0),b=n.useRef(!1),k=n.useRef(!0);return n.useEffect(function(){if(E&&L.current&&R.current){var e=L.current,n=R.current;n.style.left="".concat(e.offsetWidth,"px");var r=function(){if(k.current&&n)if(b.current)F.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-s/100,"px"),F.current=requestAnimationFrame(r)}};F.current=requestAnimationFrame(r);var t=function(){b.current=!0},i=function(){b.current=!1};return e.addEventListener("mouseenter",t),e.addEventListener("mouseleave",i),function(){F.current&&cancelAnimationFrame(F.current),e.removeEventListener("mouseenter",t),e.removeEventListener("mouseleave",i)}}},[s,i,E]),E?e.jsxs("div",{ref:L,className:"marquee-container ".concat(m?"marquee-container-fixed":""),style:{height:"".concat(o,"px"),background:l,top:m?"".concat(p,"px"):void 0},children:[e.jsx("div",{ref:R,className:"marquee-text",children:Array.isArray(i)?e.jsx("span",{children:i.map(function(n,r){return e.jsxs("span",{style:0==r?{}:{marginLeft:"100px"},children:[e.jsx("span",{style:{marginRight:"5px"},children:g?"📢":null}),n]},r)})}):i}),e.jsx("div",{className:"marquee-close",style:{height:"".concat(o,"px"),width:"45px",background:l},onClick:function(){k.current=!1,A(!1),y&&y()},onMouseEnter:function(){b.current=!0},onMouseLeave:function(){b.current=!1},children:e.jsx(r,{type:"close",size:18,color:"#666"})})]}):null};module.exports=t;
@@ -0,0 +1 @@
1
+ "use client";"use strict";var n=require("tslib"),e=require("react/jsx-runtime"),t=require("react"),r=function(r){var c=r.items,o=r.columns,i=void 0===o?3:o,u=r.gutter,s=void 0===u?20:u,a=r.className,l=r.style,f=r.classNames,m=void 0===f?{}:f,y=r.styles,v=void 0===y?{}:y,d=r.onLayoutChange,p=t.useRef(null),h=t.useState(3),x=h[0],g=h[1],j=t.useState(20),_=j[0],w=j[1],N=function(n,e,t){if(null!==n&&"object"==typeof n&&!Array.isArray(n)){for(var r=n,c=0,o=Object.keys(r).map(Number).sort(function(n,e){return e-n});c<o.length;c++){var i=o[c];if(t>=i&&r.hasOwnProperty(i))return r[i]}return e}return n};t.useEffect(function(){var n,e=function(){clearTimeout(n),n=window.setTimeout(function(){if(p.current){var n=p.current.offsetWidth,e=N(i,3,n),t=N(s,20,n);g(e),w(t),d&&d(e,c)}},100)};return e(),window.addEventListener("resize",e),function(){clearTimeout(n),window.removeEventListener("resize",e)}},[i,s,c,d]);var z=t.useMemo(function(){var n=Array.from({length:x},function(){return[]});return c.filter(function(e){return!(void 0!==e.column&&e.column>=0&&e.column<x)||(n[e.column].push(e),!1)}).forEach(function(e,t){n[t%x].push(e)}),n},[c,x]),b=function(n,e){var t=m[n];return"function"==typeof t?t(e):t||""},E=function(n,e){var t=v[n];return"function"==typeof t?t(e):t||{}};return e.jsx("div",{ref:p,className:"zjpcy-masonry ".concat(a||""," ").concat(b("container",0)),style:n.__assign(n.__assign({display:"flex",gap:"".concat(_,"px")},l),E("container",0)),children:z.map(function(t,r){return e.jsx("div",{className:"zjpcy-masonry-column ".concat(b("column",r)),style:n.__assign({flex:1,display:"flex",flexDirection:"column",gap:"".concat(_,"px")},E("column",r)),children:t.map(function(t,r){return e.jsx("div",{className:"zjpcy-masonry-item ".concat(b("item",r)),style:n.__assign({},E("item",r)),children:t.content},t.key)})},"column-".concat(r))})})};module.exports=r;
@@ -0,0 +1 @@
1
+ "use client";"use strict";var e=require("tslib"),n=require("react/jsx-runtime"),t=require("react"),l=require("classnames"),i=require("../Hooks/useClickOutside.js");function r(e){return e&&e.__esModule?e:{default:e}}var a=r(t),c=r(l),u=function(e){var n,t=e.trim();return t&&(null===(n=Array.from(t)[0])||void 0===n?void 0:n.toUpperCase())||""},s=a.default.memo(function(e){var l,i,r,a=e.item,o=e.level,m=e.mode,p=e.collapsed,d=e.theme,y=e.openKeySet,h=e.selectedKey,j=e.onItemClick,f=e.onToggleOpen,v=!!a.children&&a.children.length>0,z=y.has(a.key),b=h===a.key,g="horizontal"===m,x="inline"===m,k="vertical-flat"===m,_=0===o,w=t.useCallback(function(e){e.stopPropagation(),a.disabled||(v&&!k&&f(a.key),k&&v||j(a,a.key))},[a,j,f,v,k]),N=g&&_?16:x?12+24*o:p?0:12+16*o,C=z&&(!p||g),A=function(e){var n=t.useState(e),l=n[0],i=n[1],r=t.useState(e),a=r[0],c=r[1];return t.useEffect(function(){var n;return e?(c(!0),n=requestAnimationFrame(function(){i(!0)})):(i(!1),n=setTimeout(function(){c(!1)},150)),function(){"number"==typeof n?cancelAnimationFrame(n):clearTimeout(n)}},[e]),{isVisible:l,shouldRender:a}}(C&&g&&_),S=A.isVisible,K=A.shouldRender,O=v&&(!p||!_)&&!k,q=d||"light",T=c.default("zjpcy-menu-item-wrapper",{"zjpcy-menu-item-wrapper-root":_,"zjpcy-menu-item-wrapper-collapsed":p&&_}),F=c.default("zjpcy-menu-item",((l={})["zjpcy-menu-item-".concat(q)]=!0,l["zjpcy-menu-item-".concat(q,"-selected")]=b,l["zjpcy-menu-item-".concat(q,"-selected-vertical")]=b&&("vertical"===m||"inline"===m||"vertical-flat"===m),l["zjpcy-menu-item-disabled"]=a.disabled,l["zjpcy-menu-item-has-children"]=v,l["zjpcy-menu-item-has-children-selected"]=v&&b,l["zjpcy-menu-item-".concat(q,"-has-children")]=v,l["zjpcy-menu-item-root"]=_,l["zjpcy-menu-item-collapsed"]=p&&_,l)),I=c.default("zjpcy-menu-item-icon",{"zjpcy-menu-item-icon-collapsed":p}),M=c.default("zjpcy-menu-item-arrow",{"zjpcy-menu-item-arrow-open":C,"zjpcy-menu-item-arrow-horizontal":g,"zjpcy-menu-item-arrow-horizontal-open":C&&g}),E=c.default("zjpcy-menu-submenu-wrapper",((i={})["zjpcy-menu-submenu-wrapper-".concat(m)]=!0,i["zjpcy-menu-submenu-wrapper-horizontal-popup"]=g&&_,i["zjpcy-menu-submenu-wrapper-vertical-flat"]=k,i["zjpcy-menu-submenu-wrapper-vertical-flat-container"]=k,i));return n.jsxs("div",{className:T,children:[n.jsx("div",{className:F,style:{padding:"0px ".concat(N,"px")},title:p&&_?a.label:void 0,onClick:w,children:n.jsxs("div",{className:"zjpcy-menu-item-content",children:[p?n.jsx(n.Fragment,{children:a.icon?n.jsx("span",{className:I,children:a.icon}):n.jsx("span",{className:"zjpcy-menu-item-collapsed-label",children:u(a.label)})}):n.jsxs(n.Fragment,{children:[a.icon&&n.jsx("span",{className:"zjpcy-menu-item-icon",children:a.icon}),n.jsxs("div",{className:"zjpcy-menu-item-text",children:[n.jsx("span",{className:"zjpcy-menu-item-label",children:a.label}),a.description&&!v&&n.jsx("span",{className:"zjpcy-menu-item-description",children:a.description})]})]}),O&&n.jsx("span",{className:M,children:n.jsx("svg",{viewBox:"0 0 1024 1024",width:"10",height:"10",fill:"currentColor",children:n.jsx("path",{d:"M840.4 300H183.6c-19.7 0-30.7 25.7-18.5 40.5l328.4 402.4c9.4 11.6 26.7 11.6 36.1 0l328.4-402.4c12.2-14.8 1.2-40.5-18.5-40.5z"})})})]})}),v&&(!g||!_||K)&&n.jsx("div",{className:E,children:n.jsx("div",{className:k?"zjpcy-menu-submenu-vertical-flat zjpcy-menu-submenu-vertical-flat-open":g&&_?c.default("zjpcy-menu-submenu-horizontal-popup",{"zjpcy-menu-submenu-horizontal-popup-open":S}):x?c.default("zjpcy-menu-submenu-inline",{"zjpcy-menu-submenu-inline-open":C}):c.default("zjpcy-menu-submenu-vertical",{"zjpcy-menu-submenu-vertical-open":C}),children:n.jsx("div",{className:"zjpcy-menu-submenu-content",children:null===(r=a.children)||void 0===r?void 0:r.map(function(e){return n.jsx(s,{item:e,level:o+1,mode:m,collapsed:p,theme:d,openKeySet:y,selectedKey:h,onItemClick:j,onToggleOpen:f},e.key)})})})})]})});s.displayName="MenuItemComponent";var o=function(l){var r,a=l.mode,u=void 0===a?"vertical":a,o=l.items,m=l.className,p=void 0===m?"":m,d=l.style,y=l.selectedKey,h=l.defaultOpenKeys,j=void 0===h?[]:h,f=l.openKeys,v=l.collapsed,z=void 0!==v&&v,b=l.open,g=l.theme,x=void 0===g?"light":g,k=l.onChange,_=l.onOpenChange,w=t.useRef(null),N=t.useState(!0)[0],C=t.useState(j),A=C[0],S=C[1],K=t.useState(""),O=K[0],q=K[1],T=void 0!==f,F=void 0!==y,I=T?f:A,M=F?y:O,E=void 0!==b?b:N,R=t.useMemo(function(){return new Set(I)},[I]);t.useEffect(function(){void 0!==y&&q(y)},[y]),t.useEffect(function(){if(M&&!T&&"horizontal"!==u&&"vertical-flat"!==u){var n=function(t,l,i){void 0===i&&(i=[]);for(var r=0,a=t;r<a.length;r++){var c=a[r];if(c.key===l)return i;if(c.children&&c.children.length>0){var u=n(c.children,l,e.__spreadArray(e.__spreadArray([],i,!0),[c.key],!1));if(u.length>0)return u}}return[]},t=n(o,M);t.length>0&&S(function(n){var l=new Set(e.__spreadArray(e.__spreadArray([],n,!0),t,!0));return Array.from(l)})}},[M,o,T,u]);var H=t.useCallback(function(e,n){F||q(n),null==k||k(e,n),"horizontal"===u&&(!e.children||0===e.children.length)&&I.length>0&&(T||S([]),null==_||_([]))},[k,F,u,I.length,T,_]),V=t.useCallback(function(n){if(T){var t=R.has(n)?I.filter(function(e){return e!==n}):e.__spreadArray(e.__spreadArray([],I,!0),[n],!1);null==_||_(t)}else S(function(t){var l=t.includes(n)?t.filter(function(e){return e!==n}):e.__spreadArray(e.__spreadArray([],t,!0),[n],!1);return null==_||_(l),l})},[R,I,T,_]),B="horizontal"!==u&&z;if(i.useClickOutside(w,t.useCallback(function(){"horizontal"===u&&I.length>0&&(T||S([]),null==_||_([]))},[u,I.length,T,_])),!E)return null;var P=c.default("zjpcy-menu","zjpcy-menu-".concat(x),((r={})["zjpcy-menu-".concat(u)]=!0,r["zjpcy-menu-".concat(u,"-collapsed")]=B,r["zjpcy-menu-dark-vertical-flat"]="dark"===x&&"vertical-flat"===u,r),p);return n.jsx("div",{ref:w,className:P,style:d,role:"menu",children:o.map(function(e){return n.jsx(s,{item:e,level:0,mode:u,collapsed:B,theme:x,openKeySet:R,selectedKey:M,onItemClick:H,onToggleOpen:V},e.key)})})};module.exports=o;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react/jsx-runtime"),r=require("react"),c=require("../Icon/Icon.js"),s=function(s){var n=s.type,t=s.content,a=s.duration,o=void 0===a?3e3:a,u=s.className,i=void 0===u?"":u,l=s.style,j=s.onClose,m=r.useState(!0),p=m[0],y=m[1];if(r.useEffect(function(){if(o>0){var e=setTimeout(function(){y(!1),null==j||j()},o);return function(){return clearTimeout(e)}}},[o,j]),!p)return null;return e.jsx("div",{className:"zjpcy-message zjpcy-message--".concat(n," ").concat(i," ").concat(p?"zjpcy-message--show":""),style:l,children:e.jsxs("div",{className:"zjpcy-message-content",children:[e.jsx(c,{type:function(){switch(n){case"success":return"success";case"warning":return"warning";case"error":return"error";default:return"infoCircleFill"}}(),size:20,color:function(){switch(n){case"success":return"var(--zjpcy-success-color)";case"warning":return"var(--zjpcy-warning-color)";case"error":return"var(--zjpcy-error-color)";default:return"var(--zjpcy-primary-color)"}}()}),e.jsx("span",{className:"zjpcy-message-text",children:t})]})})};module.exports=s;
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),t=require("react"),r=require("react-dom/client"),o=require("./Message.js"),u=0,i=new Map,s=function(e){var n=i.get(e);if(n){var t=n.container;n.root.unmount(),document.body.contains(t)&&document.body.removeChild(t),i.delete(e)}},c=function(e,t,c){void 0===c&&(c=3e3);var a=++u,f=function(){var e=document.createElement("div");return e.style.position="fixed",e.style.top="20px",e.style.left="50%",e.style.transform="translateX(-50%)",e.style.zIndex="1050",e.style.pointerEvents="none",document.body.appendChild(e),e}(),d=r.createRoot(f);d.render(n.jsx(o,{type:e,content:t,duration:c,onClose:function(){s(a)}})),i.set(a,{container:f,root:d});var l=setTimeout(function(){s(a)},c);return{close:function(){clearTimeout(l),s(a)}}},a={success:function(e,n){c("success",e,n)},warning:function(e,n){c("warning",e,n)},error:function(e,n){c("error",e,n)},info:function(e,n){c("info",e,n)},close:function(){i.forEach(function(e,n){return s(n)})}},f=t.createContext({message:null});exports.default=o,exports.MessageProvider=function(r){var u=r.children,i=t.useState([]),s=i[0],c=i[1],a=t.useState(0),d=a[0],l=a[1],m=t.useCallback(function(n,t,r){void 0===r&&(r=3e3);var o=d;l(function(e){return e+1}),c(function(u){return e.__spreadArray(e.__spreadArray([],u,!0),[{id:o,type:n,content:t,duration:r}],!1)});var u=setTimeout(function(){i(o)},r),i=function(e){c(function(n){return n.filter(function(n){return n.id!==e})})};return{close:function(){clearTimeout(u),i(o)}}},[d]),p={success:function(e,n){return m("success",e,n)},warning:function(e,n){return m("warning",e,n)},error:function(e,n){return m("error",e,n)},info:function(e,n){return m("info",e,n)},close:function(){return c([])}};return n.jsxs(f.Provider,{value:{message:p},children:[u,s.map(function(e){return n.jsx(o,{type:e.type,content:e.content,duration:e.duration,onClose:function(){return c(function(n){return n.filter(function(n){return n.id!==e.id})})}},e.id)})]})},exports.message=a,exports.useMessage=function(){var e=t.useContext(f);return(null==e?void 0:e.message)?e.message:a};
@@ -0,0 +1 @@
1
+ "use client";"use strict";var e=require("tslib"),n=require("react/jsx-runtime"),o=require("react"),t=require("react-dom"),i=require("classnames"),r=require("../Icon/Icon.js"),a=require("../Flex/index.js"),c=require("../Button/Button.js");function l(e){return e&&e.__esModule?e:{default:e}}var d=l(i),s=function(i){var l,s=i.visible,u=i.title,m=void 0===u?"标题":u,v=i.width,y=void 0===v?600:v,p=i.height,f=void 0===p?"auto":p,j=i.headerHeight,h=void 0===j?40:j,x=i.footerHeight,g=void 0===x?40:x,z=i.confirmLoading,b=void 0!==z&&z,N=i.direction,w=void 0===N?"normal":N,_=i.top,k=i.triggerRef,C=i.onCancel,q=i.onOk,H=i.children,T=i.footer,I=void 0===T?null:T,S=i.bordered,B=void 0!==S&&S,E=i.className,W=i.style,L=i.okText,O=void 0===L?"确认":L,R=i.cancelText,M=void 0===R?"取消":R,P=i.getContainer,F=void 0===P?function(){return document.body}:P,X=i.maskStyle,Y=i.maskClassName,$=i.zIndex,A=void 0===$?1e3:$,D=i.contentClassName,G=i.contentStyle,J=i.destroyOnClose,K=void 0!==J&&J,Q=i.loading,U=void 0!==Q&&Q,V=i.loadingIcon,Z=o.useState(!1),ee=Z[0],ne=Z[1],oe=o.useState(!1),te=oe[0],ie=oe[1],re=o.useState(!1),ae=re[0],ce=re[1],le=o.useState({x:0,y:0}),de=le[0],se=le[1],ue=o.useRef(null),me=w,ve=function(e){if("number"==typeof e)return e;var n=e.match(/^(\d+)px$/);return n?parseInt(n[1],10):0},ye=function(){var e=function(){if(null==k?void 0:k.current){var e=k.current.getBoundingClientRect();return{x:e.left+e.width/2,y:e.top+e.height/2}}return ue.current||null}();if(!e||"undefined"==typeof window)return{x:0,y:0};if(void 0!==_||"normal"===me){var n=window.innerWidth/2,o=void 0!==_?_+(f?ve(f)/2:0):window.innerHeight/2;return{x:e.x-n,y:e.y-o}}if("center"===me){n=window.innerWidth/2;var t=window.innerHeight/2;return{x:e.x-n,y:e.y-t}}return{x:0,y:0}};o.useEffect(function(){var e=function(e){ue.current={x:e.clientX,y:e.clientY}};return document.addEventListener("mousedown",e,!0),function(){document.removeEventListener("mousedown",e,!0)}},[]),o.useEffect(function(){if(s){var e=ye();se(e),ie(!1),ne(!0);var n=setTimeout(function(){ce(!0)},30);return function(){return clearTimeout(n)}}ie(!0),ce(!1);var o=setTimeout(function(){ne(!1),ie(!1)},400);return function(){return clearTimeout(o)}},[s,400,f,_,K]);var pe=function(){ie(!0);var e=setTimeout(function(){ne(!1),ie(!1),null==C||C()},400);return function(){return clearTimeout(e)}},fe=function(){null==q||q()},je=e.__assign(((l={width:"number"==typeof y?"".concat(y,"px"):y,top:void 0!==_?"".concat(_,"px"):void 0})["--zjpcy-modal-origin-x"]="".concat(de.x,"px"),l["--zjpcy-modal-origin-y"]="".concat(de.y,"px"),l.visibility=ae?"visible":"hidden",l),W),he={height:"number"==typeof h?"".concat(h,"px"):h},xe=f?ve(f):0,ge=ve(h),ze=ve(g),be=xe>0?Math.max(0,xe-ge-ze):void 0,Ne=e.__assign({},G);if(!Ne.maxHeight&&f){var we=ve(f);Ne.maxHeight="".concat(we,"px")}!Ne.maxHeight&&be&&(Ne.maxHeight="".concat(be,"px"));var _e={height:"number"==typeof g?"".concat(g,"px"):g},ke=function(){if(!ee&&!te)return null;var o=e.__assign({zIndex:A},X);return n.jsx("div",{className:d.default("zjpcy-modal-overlay",{"zjpcy-modal-overlay--visible":ee&&!te,"zjpcy-modal-overlay--closing":te,"zjpcy-modal-overlay--custom-top":void 0!==_},E,Y),onClick:pe,style:o,children:n.jsxs("div",{className:d.default("zjpcy-modal-container",{"zjpcy-modal-container--normal":ae&&!te&&("normal"===me||void 0!==_),"zjpcy-modal-container--center":ae&&!te&&"center"===me&&void 0===_,"zjpcy-modal-container--top-right":ae&&!te&&"top-right"===me&&void 0===_,"zjpcy-modal-container--bottom-right":ae&&!te&&"bottom-right"===me&&void 0===_,"zjpcy-modal-container--bottom-left":ae&&!te&&"bottom-left"===me&&void 0===_,"zjpcy-modal-container--closing-normal":te&&("normal"===me||void 0!==_),"zjpcy-modal-container--closing-center":te&&"center"===me&&void 0===_,"zjpcy-modal-container--closing-top-right":te&&"top-right"===me&&void 0===_,"zjpcy-modal-container--closing-bottom-right":te&&"bottom-right"===me&&void 0===_,"zjpcy-modal-container--closing-bottom-left":te&&"bottom-left"===me&&void 0===_,"zjpcy-modal-container--bordered":B,"zjpcy-modal-container--has-height":void 0!==f}),style:je,onClick:function(e){return e.stopPropagation()},children:[U?V?n.jsx("div",{className:"zjpcy-modal-loading",children:n.jsx("div",{className:"zjpcy-modal-loading-content",children:V})}):n.jsx("div",{className:"zjpcy-modal-loading",children:n.jsx("div",{className:"zjpcy-modal-loading-content",children:n.jsx("div",{className:"zjpcy-modal-loading-spinner",children:n.jsxs("svg",{viewBox:"0 0 24 24",className:"zjpcy-modal-loading-icon",children:[n.jsx("circle",{className:"zjpcy-modal-loading-track",cx:"12",cy:"12",r:"10",fill:"none",strokeWidth:"2"}),n.jsx("circle",{className:"zjpcy-modal-loading-indicator",cx:"12",cy:"12",r:"10",fill:"none",strokeWidth:"2"})]})})})}):null,n.jsxs("div",{className:"zjpcy-modal-header",style:he,children:[n.jsx("div",{className:"zjpcy-modal-header__left",children:n.jsx("span",{className:"zjpcy-modal-header__title",children:m})}),n.jsx("div",{className:"zjpcy-modal-header__right",children:n.jsx("div",{className:"zjpcy-modal-close-btn",onClick:pe,children:n.jsx(r,{type:"close",size:20,color:"currentColor"})})})]}),ee&&n.jsx("div",{className:d.default("zjpcy-modal-content",D),style:Ne,children:K&&te?null:H}),n.jsx(a,{className:"zjpcy-modal-footer",align:"center",justify:"flex-end",style:Object.assign({},_e,{padding:"0px 10px"}),gap:12,children:null===I?n.jsxs(a,{className:"zjpcy-modal-footer__actions",justify:"flex-end",gap:12,children:[n.jsx(c,{variant:"secondary",onClick:pe,disabled:b,children:M||"取消"}),n.jsx(c,{variant:"primary",onClick:fe,loading:b,children:O||"确认"})]}):I})]})})}();if(!ke)return null;if(!1===F)return ke;var Ce="function"==typeof F?F():F;return Ce?t.createPortal(ke,Ce):ke};module.exports=s;
@@ -0,0 +1 @@
1
+ "use client";"use strict";var t=require("tslib"),e=require("react/jsx-runtime"),n=require("react"),i=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"})}},c=function(c){var o=c.message,a=c.duration,r=void 0===a?3e3:a,s=c.type,u=void 0===s?"info":s,f=c.position,l=void 0===f?"center":f,d=c.color,m=c.top,v=c.open,p=c.clickOutsideToClose,x=void 0!==p&&p,h=c.onClose,g=void 0!==v,j=n.useState(!0),k=j[0],N=j[1],T=n.useState(!0),b=T[0],E=T[1],q=n.useRef(null),w=g?v:k;if(n.useEffect(function(){var t=function(t){x&&q.current&&!q.current.contains(t.target)&&(E(!1),setTimeout(function(){h&&h(),g||N(!1)},500))};return x&&w&&document.addEventListener("click",t),function(){document.removeEventListener("click",t)}},[x,w,g,h]),n.useEffect(function(){g&&(v?E(!0):(E(!1),setTimeout(function(){h&&h()},500)))},[v,g,h]),n.useEffect(function(){if(w){var t=setTimeout(function(){E(!1),setTimeout(function(){h&&h(),g||N(!1)},500)},r);return function(){return clearTimeout(t)}}},[r,w,g,h]),!w||!b)return null;var C="notification-".concat(u),y=d?"notification-custom":"",L=function(){var t={};if(void 0!==m)if(t.top="".concat(m,"px"),l.startsWith("top-"))switch(l){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}(),S=t.__assign({backgroundColor:d},L),_=void 0===m?"notification-".concat(l):"";return e.jsx("div",{ref:q,className:"notification ".concat(C," ").concat(_," ").concat(y," ").concat(b?"fade-in":"fade-out"),style:S,children:e.jsxs("div",{className:"notification-content",children:[i(u),e.jsx("span",{children:o})]})})};module.exports=c;
@@ -0,0 +1 @@
1
+ "use client";"use strict";var e=require("react/jsx-runtime"),n=require("react"),t=require("classnames"),i=require("../Icon/Icon.js");function s(e){return e&&e.__esModule?e:{default:e}}var r=s(t),o=function(t){var i=t.value,s=t.options,o=t.onChange,a=n.useState(!1),c=a[0],u=a[1],l=n.useRef(null),p=n.useRef(null),d=n.useState({}),f=d[0],v=d[1],h=n.useCallback(function(){var e,n;if(l.current){var t=l.current.getBoundingClientRect(),i=window.innerHeight,s=(null===(e=p.current)||void 0===e?void 0:e.offsetWidth)||120,r=(null===(n=p.current)||void 0===n?void 0:n.offsetHeight)||200,o=t.left+t.width/2-s/2+window.scrollX,a=i-t.bottom,c=a>=r||a>=t.top;v(c?{top:t.bottom+window.scrollY+6,left:o,width:"auto",minWidth:Math.max(s,120)}:{top:t.top+window.scrollY-r-6,left:o,width:"auto",minWidth:Math.max(s,120)})}},[]);n.useEffect(function(){var e=function(e){l.current&&!l.current.contains(e.target)&&u(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]),n.useEffect(function(){if(c){h();var e=function(){return h()};return window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),function(){window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0)}}},[c,h]);return e.jsxs("div",{className:"zjpcy-page-size-select",ref:l,children:[e.jsxs("div",{className:r.default("zjpcy-page-size-select-trigger",{"zjpcy-page-size-select-trigger-open":c}),onClick:function(){u(!c),c||setTimeout(h,0)},children:[e.jsxs("span",{className:"zjpcy-page-size-select-value",children:[i," 条/页"]}),e.jsx("svg",{className:"zjpcy-page-size-select-arrow",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:e.jsx("path",{d:"M6 8L1 3h10z",fill:"currentColor"})})]}),c&&e.jsx("div",{className:"zjpcy-page-size-select-dropdown zjpcy-page-size-select-dropdown-open",ref:p,style:f,children:s.map(function(n){var t="number"==typeof n?n:parseInt(n,10);return e.jsxs("div",{className:r.default("zjpcy-page-size-select-option",{"zjpcy-page-size-select-option-selected":i===t}),onClick:function(){return o(t),void u(!1)},children:[n," 条/页"]},n)})})]})},a=function(t){var s=t.total,a=void 0===s?0:s,c=t.current,u=t.pageSize,l=void 0===u?10:u,p=t.onChange,d=t.pageSizeOptions,f=void 0===d?["10","20","50","100"]:d,v=t.showSizeChanger,h=void 0!==v&&v,g=t.showQuickJumper,j=void 0!==g&&g,m=t.showTotal,z=t.size,y=void 0===z?"default":z,w=t.align,x=t.className,N=void 0===x?"":x,C=t.style,E=n.useState(1),k=E[0],b=E[1],L=n.useState(l),S=L[0],M=L[1],R=n.useRef(!0),q=void 0!==c?c:k,I=void 0!==l?l:S,W=Math.ceil(a/I),B=n.useRef(p);B.current=p,n.useEffect(function(){void 0!==l&&M(l)},[l]),n.useEffect(function(){void 0!==c&&b(c)},[c]),n.useEffect(function(){if(R.current)R.current=!1;else if(q>W&&W>0){var e=W;void 0===c&&b(e),B.current&&B.current(e,I)}},[q,W,c,I]);var H=function(e){e===q||e<1||e>W||(void 0===c&&b(e),p&&p(e,I))},T=(q-1)*I+1,Y=Math.min(q*I,a),_="center"===w?"zjpcy-pagination-align-center":"flex-end"===w?"zjpcy-pagination-align-right":"";return e.jsxs("div",{className:r.default("zjpcy-pagination",{"zjpcy-pagination-mini":"small"===y},_,N),style:C,children:[m&&e.jsx("div",{className:"zjpcy-pagination-total-text",children:m(a,[T,Y])}),e.jsxs("ul",{className:"zjpcy-pagination-list",children:[e.jsx("li",{className:"zjpcy-pagination-prev ".concat(q<=1?"zjpcy-pagination-prev-disabled":""),onClick:function(){q>1&&H(q-1)},children:e.jsx(i,{type:"arrowLeft"})}),function(){if(W<=7)return Array.from({length:W},function(e,n){return n+1});var e=[];if(e.push(1),q<=4){for(var n=2;n<=5;n++)e.push(n);e.push("..."),e.push(W)}else if(q>=W-3){e.push("...");for(n=W-4;n<=W-1;n++)e.push(n);e.push(W)}else{e.push("...");for(n=q-1;n<=q+1;n++)e.push(n);e.push("..."),e.push(W)}return e}().map(function(n,t){return e.jsx("li",{className:"number"==typeof n?"zjpcy-pagination-item ".concat(n===q?"zjpcy-pagination-item-active":""):"zjpcy-pagination-ellipsis",onClick:function(){return"number"==typeof n&&H(n)},children:n},t)}),e.jsx("li",{className:"zjpcy-pagination-next ".concat(q>=W?"zjpcy-pagination-next-disabled":""),onClick:function(){q<W&&H(q+1)},children:e.jsx(i,{type:"arrowRight"})})]}),(h||j)&&e.jsxs("div",{className:"zjpcy-pagination-options",children:[h&&e.jsx(o,{value:I,options:f,onChange:function(e){return function(e){var n=parseInt(e,10);void 0===l&&M(n),void 0===c&&b(1),p&&p(1,n)}(e.toString())}}),j&&e.jsxs("div",{className:"zjpcy-pagination-options-quick-jumper",children:[e.jsx("div",{style:{minWidth:"30px"},children:"跳至"}),e.jsx("input",{type:"text",onKeyPress:function(e){if("Enter"===e.key){var n=e.target,t=parseInt(n.value,10);!isNaN(t)&&t>=1&&t<=W&&(H(t),n.value="")}},placeholder:"页码"}),"页"]})]})]})};module.exports=a;
@@ -0,0 +1 @@
1
+ "use client";"use strict";var t=require("tslib"),e=require("react/jsx-runtime"),o=require("react"),i=require("react-dom"),n=require("classnames"),r=require("../Icon/Icon.js"),c=require("../Button/Button.js");function s(t){return t&&t.__esModule?t:{default:t}}var p=s(n),a=function(n){var s=n.title,a=void 0===s?"确认删除吗?":s,l=n.description,f=n.okText,d=void 0===f?"确定":f,u=n.cancelText,m=void 0===u?"取消":u,h=n.okButtonProps,g=void 0===h?{}:h,v=n.cancelButtonProps,y=void 0===v?{}:v,j=n.onConfirm,w=n.onCancel,b=n.disabled,z=void 0!==b&&b,x=n.icon,B=n.type,L=void 0===B?"warning":B,R=n.placement,_=void 0===R?"top":R,k=n.showCancel,T=void 0===k||k,C=n.getContainer,N=void 0===C?function(){return document.body}:C,E=n.className,q=n.style,P=n.children,S=o.useState(!1),D=S[0],I=S[1],F=o.useState(!1),H=F[0],M=F[1],W=o.useState({top:0,left:0}),A=W[0],G=W[1],J=o.useRef(null),K=o.useRef(null),O={top:"zjpcy-popconfirm-top",bottom:"zjpcy-popconfirm-bottom",left:"zjpcy-popconfirm-left",right:"zjpcy-popconfirm-right",topLeft:"zjpcy-popconfirm-topLeft",topRight:"zjpcy-popconfirm-topRight",bottomLeft:"zjpcy-popconfirm-bottomLeft",bottomRight:"zjpcy-popconfirm-bottomRight",leftTop:"zjpcy-popconfirm-leftTop",leftBottom:"zjpcy-popconfirm-leftBottom",rightTop:"zjpcy-popconfirm-rightTop",rightBottom:"zjpcy-popconfirm-rightBottom"},Q=function(){if(J.current&&K.current){var t=J.current.getBoundingClientRect(),e=K.current.getBoundingClientRect(),o=0,i=0;switch(_){case"top":case"topLeft":case"topRight":o=t.top-e.height-8,i=t.left+(t.width-e.width)/2,"topLeft"===_?i=t.left:"topRight"===_&&(i=t.right-e.width);break;case"bottom":case"bottomLeft":case"bottomRight":o=t.bottom+8,i=t.left+(t.width-e.width)/2,"bottomLeft"===_?i=t.left:"bottomRight"===_&&(i=t.right-e.width);break;case"left":case"leftTop":case"leftBottom":o=t.top+(t.height-e.height)/2,i=t.left-e.width-8,"leftTop"===_?o=t.top:"leftBottom"===_&&(o=t.bottom-e.height);break;case"right":case"rightTop":case"rightBottom":o=t.top+(t.height-e.height)/2,i=t.right+8,"rightTop"===_?o=t.top:"rightBottom"===_&&(o=t.bottom-e.height)}var n=window.innerWidth,r=window.innerHeight;i<10&&(i=10),i+e.width>n-10&&(i=n-e.width-10),o<10&&(o=10),o+e.height>r-10&&(o=r-e.height-10),G({top:o,left:i})}},U=function(t){z||(t&&t.preventDefault&&t.preventDefault(),t&&t.stopPropagation&&t.stopPropagation(),I(!0))},V=function(){return t.__awaiter(void 0,void 0,void 0,function(){return t.__generator(this,function(t){switch(t.label){case 0:if(!j)return[3,5];M(!0),t.label=1;case 1:return t.trys.push([1,,3,4]),[4,j()];case 2:return t.sent(),I(!1),[3,4];case 3:return M(!1),[7];case 4:return[3,6];case 5:I(!1),t.label=6;case 6:return[2]}})})},X=function(){w&&w(),I(!1)},Y=function(t){K.current&&!K.current.contains(t.target)&&J.current&&!J.current.contains(t.target)&&I(!1)};o.useEffect(function(){if(D){setTimeout(function(){Q()},0),document.addEventListener("mousedown",Y);var t=function(){return Q()},e=function(){return Q()};return window.addEventListener("scroll",t,!0),window.addEventListener("resize",e),function(){document.removeEventListener("mousedown",Y),window.removeEventListener("scroll",t,!0),window.removeEventListener("resize",e)}}},[D,_]);var Z,$;return e.jsxs(e.Fragment,{children:[(Z=P,$=Z.props||{},e.jsx("span",{ref:J,style:{display:"inline-block"},children:o.cloneElement(Z,t.__assign(t.__assign({},$),{onClick:U}))})),function(){if(!D)return null;var o,n=e.jsxs("div",{ref:K,className:p.default("zjpcy-popconfirm","zjpcy-popconfirm-visible",O[_],"zjpcy-popconfirm--".concat(L),E),style:t.__assign({position:"fixed",top:"".concat(A.top,"px"),left:"".concat(A.left,"px")},q),children:[e.jsx("div",{className:"zjpcy-popconfirm-arrow"}),e.jsxs("div",{className:"zjpcy-popconfirm-inner",children:[e.jsxs("div",{className:"zjpcy-popconfirm-header",children:[e.jsx("span",{style:{display:x?"inline-block":"none"},className:"zjpcy-popconfirm-icon",children:x||(o={info:{type:"info-circle",color:"#1890ff"},success:{type:"check-circle",color:"#52c41a"},warning:{type:"warning-circle",color:"#faad14"},error:{type:"close-circle",color:"#f5222d"},danger:{type:"close-circle",color:"#f5222d"}}[L],e.jsx(r,{type:o.type,size:18,color:o.color}))}),e.jsx("span",{className:"zjpcy-popconfirm-title",children:a})]}),l&&e.jsx("div",{className:"zjpcy-popconfirm-description",children:l}),e.jsxs("div",{className:"zjpcy-popconfirm-actions",children:[T&&e.jsx(c,{variant:y.variant||"secondary",onClick:X,disabled:y.disabled||H,size:"small",children:m}),e.jsx(c,{variant:g.variant||"primary",onClick:V,loading:g.loading||H,disabled:g.disabled,size:"small",children:d})]})]})]});if(!1===N)return n;var s="function"==typeof N?N():N;return s?i.createPortal(n,s):n}()]})};module.exports=a;
@@ -0,0 +1 @@
1
+ "use strict";var s=require("tslib"),e=require("react/jsx-runtime"),r=require("classnames"),n=require("../Icon/Icon.js");function c(s){return s&&s.__esModule?s:{default:s}}var t=c(r),o=function(r){var c,o,i,a=r.percent,p=void 0===a?0:a,l=r.type,d=void 0===l?"line":l,u=r.status,f=r.showInfo,g=void 0===f||f,j=r.format,y=r.strokeColor,m=void 0===y?"#1890ff":y,x=r.trailColor,h=void 0===x?"gainsboro":x,v=r.strokeWidth,z=r.size,b=void 0===z?"default":z,k=r.transition,N=void 0===k||k,_=r.steps,M=r.segments,w=r.icon,C=r.prefix,q=r.suffix,I=r.children,W=r.className,D=r.style,A=u||(p>=100?"success":p<0?"exception":"normal"),B=function(){return j?j(p):"".concat(Math.floor(p),"%")},F=function(s){return"object"==typeof s&&"from"in s&&"to"in s},G=function(){return"success"===A?"#52c41a":"exception"===A?"#ff4d4f":F(m)?m.from:m},L=function(){return w||("success"===A?e.jsx(n,{type:"check-circle",style:{color:"#52c41a"}}):"exception"===A?e.jsx(n,{type:"close-circle",style:{color:"#ff4d4f"}}):null)};if("circle"===d||"dashboard"===d){var P=50-(v||6),E=2*Math.PI*P,H=E-p/100*E,J="success"===A?"#52c41a":"exception"===A?"#ff4d4f":m,K=F(J)?(o=(c=J).from,i=c.to,"from-".concat(o.replace("#",""),"-to-").concat(i.replace("#",""))):null;return e.jsxs("div",{className:t.default("zjpcy-progress","zjpcy-progress-circle",W),style:D,children:[e.jsxs("svg",{width:120,height:120,viewBox:"0 0 120 120",style:{transform:"rotate(-90deg)"},children:[K&&e.jsx("defs",{children:e.jsxs("linearGradient",{id:K,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[e.jsx("stop",{offset:"0%",stopColor:J.from}),e.jsx("stop",{offset:"100%",stopColor:J.to})]})}),e.jsx("circle",{cx:60,cy:60,r:P,stroke:h,strokeWidth:v||6,fill:"none"}),e.jsx("circle",{cx:60,cy:60,r:P,stroke:K?"url(#".concat(K,")"):G(),strokeWidth:v||6,fill:"none",strokeDasharray:E,strokeDashoffset:H,strokeLinecap:"round",style:{transition:N?"stroke-dashoffset 0.3s cubic-bezier(0.34, 0.69, 0.1, 1)":"none"}})]}),g&&e.jsx("div",{className:"zjpcy-progress-info",children:I||e.jsxs(e.Fragment,{children:[L(),C,B(),q]})})]})}var O=function(s){var e=s.color;if(F(e)){var r=e.from,n=e.to,c=e.direction;return{background:"linear-gradient(".concat(void 0===c?"to right":c,", ").concat(r,", ").concat(n,")")}}return{backgroundColor:e}};return e.jsxs("div",{className:t.default("zjpcy-progress","zjpcy-progress-".concat(b),"zjpcy-progress-line",{"zjpcy-progress-success":"success"===A},{"zjpcy-progress-exception":"exception"===A},{"zjpcy-progress-steps":_&&_>0},{"zjpcy-progress-has-segments":M&&M.length>0},W),style:D,children:[e.jsx("div",{className:"zjpcy-progress-wrapper",children:e.jsx("div",{className:"zjpcy-progress-outer",children:_&&_>0?function(){if(!_||_<=0)return null;var s=p/100,r=Math.min(1,Math.max(0,s)),n=Array.from({length:_},function(s,n){var c=n/_,o=(n+1)/_,i=r>=o,a=r>c&&r<o,p=r<=c,l=r>=1;return e.jsx("div",{className:t.default("zjpcy-progress-step",{"zjpcy-progress-step--completed":i,"zjpcy-progress-step--current":a,"zjpcy-progress-step--pending":p,"zjpcy-progress-step--success":l}),style:{transition:N?"all var(--zjpcy-transition-duration) var(--zjpcy-transition-timing-function)":"none"}},n)});return e.jsx("div",{className:"zjpcy-progress-steps",children:n})}():M&&M.length>0?function(){if(!M||0===M.length)return null;var r=M.reduce(function(s,e){return s+e.percent},0),n=void 0===p||0===p?r:p,c=r>0?n/r:n/100,o=Math.min(1,Math.max(0,c)),i=0,a=M.map(function(n,c){var a=n.percent,p=i/r,l=(i+a)/r;i+=a;var d=o>=l,u=o>p&&o<l,f=o<=p;return e.jsx("div",{className:t.default("zjpcy-progress-segment",{"zjpcy-progress-segment--completed":d,"zjpcy-progress-segment--current":u,"zjpcy-progress-segment--pending":f}),style:s.__assign(s.__assign({width:"".concat(a,"%")},f?{}:O(n)),{transition:N?"all var(--zjpcy-transition-duration) var(--zjpcy-transition-timing-function)":"none"})},c)}),l=100-r;return l>0&&a.push(e.jsx("div",{className:"zjpcy-progress-segment zjpcy-progress-segment--remaining",style:{width:"".concat(l,"%"),backgroundColor:"gainsboro",transition:N?"all var(--zjpcy-transition-duration) var(--zjpcy-transition-timing-function)":"none"}},"remaining")),e.jsx("div",{className:"zjpcy-progress-segments",children:a})}():e.jsx("div",{className:"zjpcy-progress-inner",style:{background:h},children:e.jsx("div",{className:t.default("zjpcy-progress-bg",{"zjpcy-progress-bg--success":"success"===A,"zjpcy-progress-bg--exception":"exception"===A,"zjpcy-progress-bg--animated":function(){var s="success"===A?"#52c41a":"exception"===A?"#ff4d4f":m;return F(s)&&!0===s.animated}()}),style:s.__assign(s.__assign({width:"".concat(Math.min(100,Math.max(0,p)),"%"),backgroundColor:F(m)?void 0:G()},function(){var s="success"===A?"#52c41a":"exception"===A?"#ff4d4f":m;if(F(s)){var e=s.from,r=s.to,n=s.direction;return{background:"linear-gradient(".concat(void 0===n?"to right":n,", ").concat(e,", ").concat(r,")")}}return{}}()),{transition:N?"width 0.3s cubic-bezier(0.34, 0.69, 0.1, 1)":"none"})})})})}),g&&e.jsxs("div",{className:"zjpcy-progress-info",children:[L()&&e.jsx("span",{className:"zjpcy-progress-icon",children:L()}),C&&e.jsx("span",{className:"zjpcy-progress-prefix",children:C}),e.jsx("span",{children:B()}),q&&e.jsx("span",{className:"zjpcy-progress-suffix",children:q})]})]})};module.exports=o;
@@ -0,0 +1 @@
1
+ "use client";"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),a=require("react");function i(e){return e&&e.__esModule?e:{default:e}}var n=i(require("classnames")),r=a.createContext(void 0),d=function(i){var d,o=i.value,l=i.checked,c=i.defaultChecked,u=void 0!==c&&c,s=i.onChange,f=i.disabled,p=void 0!==f&&f,v=i.size,h=i.children,y=i.className,b=i.style,g=i.label,m=i.labelGap,j=void 0===m?8:m,z=i.labelClassName,x=void 0===z?"":z,C=i.labelStyle,N=a.useContext(r),R=!!N,_=a.useRef(null),w=a.useState(u),k=w[0],E=w[1],q=R?N.value===o:void 0!==l?l:k,I=v||(R?N.size:void 0),G="button"===(R?N.type:void 0);a.useEffect(function(){if(R&&N.registerRadio)return N.registerRadio(o,_.current),function(){var e;null===(e=N.unregisterRadio)||void 0===e||e.call(N,o)}},[R,o,N]),a.useEffect(function(){q&&R&&N.updateIndicator&&requestAnimationFrame(function(){var e;null===(e=N.updateIndicator)||void 0===e||e.call(N)})},[q,R]),a.useEffect(function(){R||void 0===l||E(l)},[l,R]);var S=n.default("zjpcy-radio",((d={"zjpcy-radio--checked":q,"zjpcy-radio--unchecked":!q,"zjpcy-radio--disabled":p||R&&N.disabled,"zjpcy-radio--disabled-checked":q&&(p||R&&N.disabled)})["zjpcy-radio--".concat(I)]=I,d["zjpcy-radio--button"]=G,d),y);return t.jsx("label",{ref:_,className:S,style:b,children:t.jsxs("div",{className:"zjpcy-radio-wrapper",style:{display:"flex",alignItems:"center"},children:[g&&t.jsx("div",{className:"zjpcy-radio-label ".concat(x),style:e.__assign({marginRight:"number"==typeof j?"".concat(j,"px"):j},C),children:g}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4},children:[t.jsx("input",{type:"radio",className:"zjpcy-radio__input",checked:q,onChange:function(e){var t,a=e.target.checked;p||R&&N.disabled||(R?null===(t=N.onChange)||void 0===t||t.call(N,o):(E(a),null==s||s(a,o)))},disabled:p||R&&N.disabled,value:o}),!G&&t.jsx("span",{className:"zjpcy-radio__inner"}),h&&t.jsx("span",{className:"zjpcy-radio__label",children:h})]})]})})};d.Group=function(e){var i,d=e.value,o=e.defaultValue,l=e.onChange,c=e.disabled,u=void 0!==c&&c,s=e.type,f=void 0===s?"radio":s,p=e.size,v=void 0===p?"middle":p,h=e.children,y=e.className,b=e.style,g=a.useState(o),m=g[0],j=g[1],z=a.useRef(null),x=a.useRef(new Map),C=a.useState({width:0,height:0,transform:"translateX(0px)"}),N=C[0],R=C[1],_=void 0!==d?d:m,w=a.useCallback(function(e,t){t&&x.current.set(e,t)},[]),k=a.useCallback(function(e){x.current.delete(e)},[]),E=a.useCallback(function(){if("button"===f&&z.current){var e=x.current.get(_);if(e){var t=z.current.getBoundingClientRect(),a=e.getBoundingClientRect(),i=a.left-t.left;R({width:a.width,height:a.height,transform:"translateX(".concat(i,"px)")})}}},[_,f]);a.useEffect(function(){if("button"===f){var e=requestAnimationFrame(function(){E()});return function(){return cancelAnimationFrame(e)}}},[f,E]),a.useEffect(function(){if("button"===f){var e=function(){E()};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}},[f,E]),a.useEffect(function(){void 0!==d&&j(d)},[d]);var q=n.default("zjpcy-radio-group",((i={"zjpcy-radio-group--button":"button"===f})["zjpcy-radio-group--".concat(v)]=v,i["zjpcy-radio-group--button-large"]="button"===f&&"large"===v,i["zjpcy-radio-group--button-middle"]="button"===f&&"middle"===v,i["zjpcy-radio-group--button-small"]="button"===f&&"small"===v,i),y);return t.jsx(r.Provider,{value:{value:_,onChange:function(e){j(e),null==l||l(e)},disabled:u,type:f,size:v,registerRadio:w,unregisterRadio:k,updateIndicator:E},children:t.jsxs("div",{ref:z,className:q,style:b,children:["button"===f&&t.jsx("div",{className:"zjpcy-radio-group__indicator",style:{width:N.width,height:N.height,transform:N.transform}}),h]})})},d.displayName="Radio",d.Group.displayName="Radio.Group";var o=d;module.exports=o;
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),r=require("classnames"),n=require("../Icon/Icon.js");function a(e){return e&&e.__esModule?e:{default:e}}var i=a(r),o=function(r){var a=r.value,o=void 0===a?0:a,s=r.count,l=void 0===s?5:s,u=r.allowHalf,c=void 0===u||u,f=r.disabled,d=void 0!==f&&f,p=r.color,h=void 0===p?"#1677ff":p,x=r.onChange,g=r.className,m=void 0===g?"":g,v=r.size,y=void 0===v?24:v,j=r.chats,C=t.useState(0),N=C[0],M=C[1],b=t.useRef([]),S=t.useRef(0),F=Array.isArray(j)&&j.length>=l&&j.every(function(e){return null!=e&&""!==e}),P=t.useState([]),A=P[0],E=P[1],k=t.useState(!1),z=k[0],q=k[1];b.current.length!==l&&(b.current=Array(l).fill(null)),t.useEffect(function(){if(F)if("string"==typeof o&&o.length>0){var e=Math.min(o.length,l);E(j.slice(0,e))}else E([]);else E([])},[o,F,j,l]),t.useLayoutEffect(function(){0===N&&z&&q(!1)},[N,z]);var H=N||(F?A.length:parseFloat(Number(o).toFixed(1)||"0")),_=t.useCallback(function(e){return function(t){b.current[e]=t}},[]),I=t.useMemo(function(){return Array.from({length:l}).map(function(e,t){var r=t+1,n=!1,a=!1;F?n=t<(z&&N>0?N:A.length):H>=r?n=!0:c&&H>t&&H<r&&(a=!0);return{index:t,isHalf:a,isFull:n,iconType:a?"half":n?"full":"empty",iconColor:n||a?h:"#d9d9d9"}})},[l,H,c,h,F,A.length,z,N]),R=function(t){if(F){var r=j[t.index],a=t.isFull;return e.jsx("span",{className:"rate-chat-item",style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",fontSize:"inherit",backgroundColor:"transparent",color:d?"inherit":a?h:"inherit",cursor:d?"default":"pointer"},onMouseEnter:function(e){if(!d){e.stopPropagation();var r=t.index+1;r!==S.current&&(S.current=r,M(r))}},onClick:function(e){if(!d){e.stopPropagation();var r=t.index+1;if(j&&Array.isArray(j)&&j.length>=0){var n=j.slice(0,r);E(n),null==x||x(n.join(""))}else null==x||x(r.toString());M(0),S.current=0,q(!1)}},children:r})}return e.jsxs(e.Fragment,{children:[e.jsx(n,{type:"starOutline",size:y,color:"#d9d9d9",className:"rate-star-bg"}),e.jsx("span",{className:"rate-star-left",onMouseEnter:function(e){if(!d&&c){e.stopPropagation();var r=t.index+.5;r!==S.current&&(S.current=r,M(r))}},onClick:function(e){!d&&c&&(e.stopPropagation(),null==x||x((t.index+.5).toString()),M(0),S.current=0,q(!1))}}),e.jsx("span",{className:"rate-star-right",onMouseEnter:function(e){if(!d){e.stopPropagation();var r=t.index+1;r!==S.current&&(S.current=r,M(r))}},onClick:function(e){if(!d){if(e.stopPropagation(),F){var r=j.slice(0,t.index+1);null==x||x(r.join(""))}else null==x||x((t.index+1).toString());M(0),S.current=0,q(!1)}}}),e.jsx("span",{className:i.default("rate-star-fill",{"rate-star-fill-half":t.isHalf,"rate-star-fill-full":t.isFull,"rate-star-fill-empty":!t.isHalf&&!t.isFull}),style:{color:t.iconColor},children:e.jsx(n,{type:"star",size:y,color:t.iconColor,className:"rate-star-icon"})})]})};return e.jsx("div",{className:i.default("rate",{"rate-disabled":d,"rate-chats-mode":F,"rate-chats-mode-disabled":F&&d,"rate-star-mode":!F},m),style:{"--rate-color":h},onMouseEnter:function(){d||q(!0)},onMouseLeave:function(){d||(q(!1),M(0),S.current=0)},children:I.map(function(t){return e.jsx("span",{ref:_(t.index),className:"rate-star",style:{fontSize:"".concat(y,"px")},children:R(t)},t.index)})})},s=o;exports.Rate=o,exports.default=s;
@@ -0,0 +1 @@
1
+ "use client";"use strict";var e=require("tslib"),l=require("react/jsx-runtime"),t=require("react"),a=require("./styles.js"),s=function(s){var n=s.value,r=s.defaultValue,i=s.options,o=void 0===i?[]:i,u=s.disabled,c=void 0!==u&&u,d=s.loading,v=void 0!==d&&d,g=s.mode,f=void 0===g?"single":g,p=s.placeholder,m=void 0===p?"请选择":p,y=s.searchable,h=void 0!==y&&y,C=s.clearable,x=void 0!==C&&C,N=s.size,S=void 0===N?"default":N,b=s.width,j=s.styles,w=s.onChange,k=s.onOpenChange,A=s.onSearch,L=s.optionRender,E=s.tagRender,M=s.label,D=s.labelGap,P=void 0===D?8:D,T=s.labelClassName,_=void 0===T?"":T,B=s.labelStyle,I=s.className,z=void 0===I?"":I,O=s.style,R=s.showArrow,q=void 0===R||R,V=s.maxHeight,W=void 0===V?256:V,H=s.emptyContent,G=void 0===H?"暂无数据":H,F=s.getPopupContainer,K=void 0!==n,U=t.useState(void 0!==r?r:"multiple"===f?[]:""),Z=U[0],J=U[1],Q=t.useState(!1),X=Q[0],Y=Q[1],$=t.useState(""),ee=$[0],le=$[1],te=t.useState(-1),ae=te[0],se=te[1],ne=t.useState(!1),re=ne[0],ie=ne[1],oe=t.useRef(null),ue=t.useRef(null),ce=t.useRef(null),de=K?n:Z,ve="multiple"===f,ge=t.useMemo(function(){return ee?o.filter(function(e){return String(e.label).toLowerCase().includes(ee.toLowerCase())}):o},[o,ee]),fe=t.useMemo(function(){if(ve){var e=Array.isArray(de)?de:[];return o.filter(function(l){return e.includes(l.value)})}return o.find(function(e){return e.value===de})||null},[de,o,ve]),pe=t.useCallback(function(e,l){K||J(e),null==w||w(e,l)},[K,w]),me=t.useCallback(function(e){e.disabled||(pe(e.value,e),le(""),Y(!1))},[pe]),ye=t.useCallback(function(l){if(!l.disabled){var t,a,s=Array.isArray(de)?de:[];s.includes(l.value)?(t=s.filter(function(e){return e!==l.value}),a=fe.filter(function(e){return e.value!==l.value})):(t=e.__spreadArray(e.__spreadArray([],s,!0),[l.value],!1),a=e.__spreadArray(e.__spreadArray([],fe,!0),[l],!1)),pe(t,a),le(""),setTimeout(function(){var e;return null===(e=ce.current)||void 0===e?void 0:e.focus()},0)}},[de,pe,fe]),he=t.useCallback(function(e){ve?ye(e):me(e)},[ve,ye,me]),Ce=t.useCallback(function(e,l){if(e.stopPropagation(),!c){var t=(Array.isArray(de)?de:[]).filter(function(e){return e!==l}),a=fe.filter(function(e){return e.value!==l});pe(t,a)}},[de,c,pe,fe]),xe=t.useCallback(function(e){(e.stopPropagation(),c)||(pe(ve?[]:"",ve?[]:void 0),le(""))},[c,ve,pe]),Ne=t.useCallback(function(e){var l=e.target.value;le(l),null==A||A(l)},[A]);t.useEffect(function(){var e=function(e){oe.current&&!oe.current.contains(e.target)&&(Y(!1),le(""))};return X&&document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}},[X]),t.useEffect(function(){null==k||k(X),X&&h&&setTimeout(function(){var e;return null===(e=ce.current)||void 0===e?void 0:e.focus()},0)},[X,h,k]);var Se,be=t.useCallback(function(e){if(X)switch(e.key){case"Escape":e.preventDefault(),Y(!1);break;case"ArrowDown":e.preventDefault(),se(function(e){return e<ge.length-1?e+1:0});break;case"ArrowUp":e.preventDefault(),se(function(e){return e>0?e-1:ge.length-1});break;case"Enter":e.preventDefault(),ae>=0&&ae<ge.length&&he(ge[ae])}else"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),Y(!0))},[X,ae,ge,he]),je=function(e){return E?E({value:e.value,label:e.label,onClose:function(l){return Ce(l,e.value)},disabled:c}):l.jsxs("span",{className:a.getTagClassName({disabled:c}),style:a.getTagStyle({customStyles:null==j?void 0:j.tag}),children:[l.jsx("span",{children:e.label}),!c&&l.jsx("span",{className:a.getTagCloseClassName({}),style:a.getTagCloseStyle({}),onClick:function(l){return Ce(l,e.value)},children:l.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:l.jsx("path",{d:"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"})})})]},e.value)},we=function(e,t){var s=ve?de.includes(e.value):de===e.value,n=t===ae,r=L?L(e):l.jsxs(l.Fragment,{children:[s&&ve&&l.jsx("div",{className:a.getCheckIconClassName({}),style:a.getCheckIconStyle({}),children:l.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:l.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"})})}),l.jsx("span",{children:e.label})]});return l.jsx("div",{className:a.getOptionClassName({selected:s,active:n,disabled:!!e.disabled}),style:a.getOptionStyle({customStyles:null==j?void 0:j.option}),onClick:function(){return he(e)},onMouseEnter:function(){return se(t)},children:r},e.value)},ke=ve?Array.isArray(de)&&de.length>0:""!==de&&null!=de,Ae=x&&!c&&ke&&!v&&re,Le=q&&!v&&!Ae;return l.jsx("div",{ref:oe,className:a.getWrapperClassName({className:z}),style:a.getWrapperStyle({width:b,style:O,customStyles:null==j?void 0:j.wrapper}),children:l.jsxs("div",{className:a.getLabelWrapperClassName({}),style:a.getLabelWrapperStyle({}),children:[M&&l.jsx("div",{className:a.getLabelClassName({labelClassName:_}),style:a.getLabelStyle({labelGap:P,labelStyle:B}),children:M}),l.jsxs("div",{style:{flex:1,position:"relative"},children:[l.jsxs("div",{className:a.getSelectorClassName({size:S,open:X,disabled:c}),style:a.getSelectorStyle({customStyles:null==j?void 0:j.selector}),onClick:function(){return!c&&!v&&Y(!X)},onKeyDown:be,onMouseEnter:function(){return ie(!0)},onMouseLeave:function(){return ie(!1)},tabIndex:c?-1:0,role:"combobox","aria-expanded":X,"aria-haspopup":"listbox",children:[l.jsx("div",{className:a.getSelectorContentClassName({}),style:a.getSelectorContentStyle({}),children:function(){if(h&&X){var e=ve?"搜索...":String((null==fe?void 0:fe.label)||m);return l.jsx("input",{ref:ce,type:"text",className:a.getSearchInputClassName({}),style:a.getSearchInputStyle({}),value:ee,onChange:Ne,placeholder:e,onClick:function(e){return e.stopPropagation()}})}if(ve){var t=fe;return t.length>0?l.jsx("div",{className:a.getTagsContainerClassName({}),style:a.getTagsContainerStyle({}),children:t.map(je)}):l.jsx("span",{className:a.getPlaceholderClassName({}),style:a.getPlaceholderStyle({}),children:m})}var s=fe;return s?l.jsx("span",{className:a.getSingleValueClassName({}),style:a.getSingleValueStyle({}),children:s.label}):l.jsx("span",{className:a.getPlaceholderClassName({}),style:a.getPlaceholderStyle({}),children:m})}()}),l.jsxs("div",{className:a.getSuffixAreaClassName({}),style:a.getSuffixAreaStyle({}),children:[Ae&&l.jsx("div",{className:a.getClearButtonClassName({}),style:a.getClearButtonStyle({}),onClick:xe,children:l.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:l.jsx("path",{d:"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"})})}),v&&l.jsx("div",{className:a.getLoadingIconClassName({}),style:a.getLoadingIconStyle({}),children:l.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:l.jsx("path",{d:"M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z"})})}),Le&&l.jsx("div",{className:a.getArrowClassName({open:X}),style:a.getArrowStyle({}),children:l.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:l.jsx("path",{d:"M7 10l5 5 5-5z"})})})]})]}),(Se=l.jsx("div",{ref:ue,className:a.getDropdownClassName({open:X}),style:a.getDropdownStyle({customStyles:null==j?void 0:j.dropdown}),children:l.jsx("div",{className:a.getOptionListClassName({}),style:a.getOptionListStyle({maxHeight:W}),children:ge.length>0?ge.map(we):l.jsx("div",{className:a.getEmptyClassName({}),style:a.getEmptyStyle({}),children:G})})}),F?F()?Se:null:Se)]})]})})};module.exports=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("tslib");function t(e){return e&&e.__esModule?e:{default:e}}var s=t(require("classnames"));exports.getArrowClassName=function(e){var t=e.open,a=e.className;return s.default("select-arrow",{"select-arrow-open":t},a)},exports.getArrowStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getCheckIconClassName=function(e){var t=e.className;return s.default("select-check-icon",t)},exports.getCheckIconStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getClearButtonClassName=function(e){var t=e.className;return s.default("select-clear",t)},exports.getClearButtonStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getDropdownClassName=function(e){var t=e.open,a=e.className;return s.default("select-dropdown",{"select-dropdown-open":t},a)},exports.getDropdownStyle=function(t){var s=t.customStyles;return e.__assign({},s)},exports.getEmptyClassName=function(e){var t=e.className;return s.default("select-empty",t)},exports.getEmptyStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getLabelClassName=function(e){var t=e.labelClassName;return s.default("select-label",t)},exports.getLabelStyle=function(t){var s=t.labelGap,a=t.labelStyle,r=void 0!==s?{marginRight:"number"==typeof s?"".concat(s,"px"):s}:{};return e.__assign(e.__assign({},r),a)},exports.getLabelWrapperClassName=function(e){var t=e.className;return s.default("select-label-wrapper",t)},exports.getLabelWrapperStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getLoadingIconClassName=function(e){var t=e.className;return s.default("select-loading",t)},exports.getLoadingIconStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getOptionClassName=function(e){var t=e.selected,a=e.active,r=e.disabled,n=e.className;return s.default("select-option",{"select-option-selected":t,"select-option-active":a,"select-option-disabled":r},n)},exports.getOptionListClassName=function(e){var t=e.className;return s.default("select-option-list",t)},exports.getOptionListStyle=function(t){var s=t.maxHeight,a=t.style,r=void 0!==s?{maxHeight:"".concat(s,"px")}:{};return e.__assign(e.__assign({},r),a)},exports.getOptionStyle=function(t){var s=t.customStyles;return e.__assign({},s)},exports.getPlaceholderClassName=function(e){var t=e.className;return s.default("select-placeholder",t)},exports.getPlaceholderStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getSearchInputClassName=function(e){var t=e.className;return s.default("select-search-input",t)},exports.getSearchInputStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getSelectorClassName=function(e){var t=e.size,a=void 0===t?"default":t,r=e.open,n=e.disabled,l=e.className;return s.default("select-selector","select-selector-".concat(a),{"select-selector-open":r,"select-selector-disabled":n},l)},exports.getSelectorContentClassName=function(e){var t=e.className;return s.default("select-selector-content",t)},exports.getSelectorContentStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getSelectorStyle=function(t){var s=t.customStyles;return e.__assign({},s)},exports.getSingleValueClassName=function(e){var t=e.className;return s.default("select-single-value",t)},exports.getSingleValueStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getSuffixAreaClassName=function(e){var t=e.className;return s.default("select-suffix-area",t)},exports.getSuffixAreaStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getTagClassName=function(e){var t=e.disabled,a=e.className;return s.default("select-tag",{"select-tag-disabled":t},a)},exports.getTagCloseClassName=function(e){var t=e.className;return s.default("select-tag-close",t)},exports.getTagCloseStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getTagStyle=function(t){var s=t.customStyles;return e.__assign({},s)},exports.getTagsContainerClassName=function(e){var t=e.className;return s.default("select-tags-container",t)},exports.getTagsContainerStyle=function(t){var s=t.style;return e.__assign({},s)},exports.getWrapperClassName=function(e){var t=e.className;return s.default("select-wrapper",t)},exports.getWrapperStyle=function(t){var s=t.width,a=t.style,r=t.customStyles,n=void 0!==s?{width:"number"==typeof s?"".concat(s,"px"):s}:{};return e.__assign(e.__assign(e.__assign({},n),a),r)};
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),n=require("react"),a=function(a){var t,o=a.min,l=void 0===o?0:o,i=a.max,c=void 0===i?100:i,s=a.step,u=void 0===s?1:s,d=a.value,v=a.defaultValue,m=void 0===v?0:v,f=a.disabled,h=void 0!==f&&f,k=a.marks,C=void 0===k?{}:k,b=a.showValue,p=void 0!==b&&b,g=a.trackColor,x=void 0===g?"#1890ff":g,M=a.handleColor,j=void 0===M?"#1890ff":M,y=a.gradient,w=a.onChange,E=a.onAfterChange,L=a.className,N=void 0===L?"":L,A=a.style,D=n.useState(m),_=D[0],R=D[1],q=n.useState(!1),z=q[0],F=q[1],S=n.useRef(null),P=n.useRef(null),X=n.useRef(void 0!==d?d:m),O=void 0!==d,U=O?d:_;n.useEffect(function(){X.current=U},[U]);var V=n.useCallback(function(e){var r=(e-l)/(c-l);return Math.max(0,Math.min(1,r))},[l,c]),B=n.useCallback(function(e){var r=Math.max(0,Math.min(1,e)),n=l+r*(c-l);if(u>0){var a=Math.round(n/u)*u;return Math.min(c,Math.max(l,a))}return Math.min(c,Math.max(l,n))},[l,c,u]),H=function(e){return"touches"in e?e.touches[0].clientX:e.clientX},I=n.useCallback(function(e){S.current&&!h&&(P.current&&cancelAnimationFrame(P.current),P.current=requestAnimationFrame(function(){var r=S.current.getBoundingClientRect(),n=(e-r.left)/r.width,a=B(n);a!==X.current&&(X.current=a,O||R(a),null==w||w(a))}))},[h,O,B,w]),K=function(e){if(!h){e.preventDefault(),F(!0);var r=H(e);I(r)}};n.useEffect(function(){if(z){var e=function(e){e.preventDefault();var r=H(e);I(r)},r=function(){F(!1),P.current&&(cancelAnimationFrame(P.current),P.current=null),null==E||E(X.current)};return document.addEventListener("mousemove",e),document.addEventListener("mouseup",r),document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",r),function(){document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",e),document.removeEventListener("touchend",r),P.current&&(cancelAnimationFrame(P.current),P.current=null)}}},[z,I,E]);var T=V(U),G=n.useMemo(function(){return Object.entries(C).map(function(e){var r=e[0],n=e[1],a=Number(r),t="string"==typeof n?{trackColor:void 0,handleColor:void 0,mark:n}:n;return{value:a,label:t.mark,trackColor:t.trackColor,handleColor:t.handleColor,position:V(a)}}).sort(function(e,r){return e.value-r.value})},[C,V]),J=n.useMemo(function(){for(var e=0;e<G.length;e++){var r=G[e];if(U<=r.value)return{trackColor:r.trackColor,handleColor:r.handleColor,mark:r.label}}var n=G[G.length-1];return n?{trackColor:n.trackColor,handleColor:n.handleColor,mark:n.label}:{trackColor:void 0,handleColor:void 0,mark:""}},[G,U]),Q=A&&A["--zjpcy-slider-track-filled-bg"],W=A&&A["--zjpcy-slider-handle-border"],Y=y&&!J.trackColor&&!Q&&"#1890ff"===x,Z=J.trackColor||Q||x,$=J.handleColor||W||j;return r.jsxs("div",{className:"slider-container ".concat(h?"slider-container-disabled":""," ").concat(z?"slider-container-dragging":""," ").concat(N),style:e.__assign((t={},t["--zjpcy-slider-track-filled-bg"]=Z,t["--zjpcy-slider-handle-border"]="2px solid ".concat($),t),A),children:[r.jsxs("div",{ref:S,className:"slider-track",onClick:function(e){h||(e.target.classList.contains("slider-handle")||(I(e.clientX),null==E||E(U)))},role:"presentation",children:[r.jsx("div",{className:"slider-track-filled",style:e.__assign({width:"".concat(100*T,"%")},Y&&y?{background:"linear-gradient(to right, ".concat(y.startColor,", ").concat(y.endColor,")")}:{})}),r.jsx("div",{className:"slider-handle",style:{left:"".concat(100*T,"%")},onMouseDown:K,onTouchStart:K,onKeyDown:function(e){if(!h){var r=U;switch(e.key){case"ArrowLeft":case"ArrowDown":r=Math.max(l,U-u);break;case"ArrowRight":case"ArrowUp":r=Math.min(c,U+u);break;case"Home":r=l;break;case"End":r=c;break;case"PageDown":r=Math.max(l,U-10*u);break;case"PageUp":r=Math.min(c,U+10*u);break;default:return}e.preventDefault(),void 0===d&&R(r),null==w||w(r),null==E||E(r)}},role:"slider","aria-valuemin":l,"aria-valuemax":c,"aria-valuenow":U,"aria-disabled":h,tabIndex:h?-1:0,children:r.jsx("div",{className:"slider-tooltip",children:U})})]}),G.length>0&&r.jsx("div",{className:"slider-marks",children:G.map(function(e){return r.jsx("div",{className:"slider-mark",style:{left:"".concat(100*e.position,"%"),color:e.trackColor||void 0},children:e.label},e.value)})}),p&&r.jsxs("div",{className:"slider-value-display",children:["当前值:",U]})]})},t=a;exports.Slider=a,exports.default=t;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("tslib"),r=require("react/jsx-runtime");function n(e){return e&&e.__esModule?e:{default:e}}var t=n(require("react")),a=function(n){var a=n.children,i=n.gap,s=void 0===i?12:i,c=n.align,l=void 0===c?"center":c,u=n.wrap,o=void 0===u?"nowrap":u,d=n.className,f=n.style,p=void 0===f?{}:f,v=n.inline,x=void 0!==v&&v,m=n.as,h=void 0===m?"div":m,g=t.default.Children.toArray(a).filter(function(e){return null!=e});return 0===g.length?null:r.jsx(h,{className:"space ".concat(x?"space-inline":""," ").concat(d||""),style:e.__assign({display:x?"inline-flex":"flex",gap:"number"==typeof s?"".concat(s,"px"):s,alignItems:function(){switch(l){case"start":return"flex-start";case"end":return"flex-end";case"center":default:return"center";case"baseline":return"baseline";case"stretch":return"stretch"}}(),flexWrap:o},p),children:g.map(function(e,n){return r.jsx("span",{className:"space-item",children:e},n)})})};module.exports=a;
@@ -0,0 +1 @@
1
+ "use client";"use strict";var e=require("react/jsx-runtime"),s=require("react"),i=function(s){var i=s.size,c=s.sizeType;return e.jsxs("svg",{viewBox:"0 0 24 24",className:"zjpcy-spin-icon zjpcy-spin-icon-".concat(c),style:{width:i,height:i},children:[e.jsx("circle",{className:"zjpcy-spin-track",cx:"12",cy:"12",r:"10",fill:"none",strokeWidth:"2"}),e.jsx("circle",{className:"zjpcy-spin-indicator",cx:"12",cy:"12",r:"10",fill:"none",strokeWidth:"2"})]})},c={small:16,default:24,large:32},n=function(n){var t=n.spinning,r=void 0===t||t,l=n.indicator,a=n.tip,o=n.size,p=void 0===o?"default":o,u=n.delay,d=void 0===u?0:u,j=n.className,y=void 0===j?"":j,v=n.style,f=n.children,m=n.fullscreen,z=void 0!==m&&m,x=s.useState(r),h=x[0],N=x[1],g=s.useState(0===d),k=g[0],T=g[1];s.useEffect(function(){if(r){if(N(!0),d>0){var e=setTimeout(function(){T(!0)},d);return function(){return clearTimeout(e)}}T(!0)}else N(!1),T(!1)},[r,d]);var w=c[p],q=s.useMemo(function(){return l||e.jsx(i,{size:w,sizeType:p})},[l,w,p]),S=function(){return e.jsxs("div",{className:"zjpcy-spin-content ".concat(a?"zjpcy-spin-content-tip":""),children:[q,a&&e.jsx("div",{className:"zjpcy-spin-tip zjpcy-spin-tip-".concat(p),children:a})]})};return z?h&&k?e.jsx("div",{className:"zjpcy-spin-fullscreen ".concat(y),style:v,children:S()}):null:f?e.jsxs("div",{className:"zjpcy-spin-nested-wrapper ".concat(y),style:v,children:[f,h&&k&&e.jsx("div",{className:"zjpcy-spin-mask",children:S()})]}):h&&k?e.jsx("div",{className:"zjpcy-spin ".concat(y),style:v,children:S()}):null};module.exports=n;
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),r=require("./styles.js");function i(e){return e&&e.__esModule?e:{default:e}}var u=i(n),a=function(i){var a=i.layout,o=void 0===a?"horizontal":a,s=i.panels,l=i.defaultSize,c=void 0===l?"50%":l,d=i.minSize,f=void 0===d?50:d,v=i.maxSize,m=void 0===v?1/0:v,p=i.splitterSize,g=i.lineColor,z=i.lineHoverColor,h=i.disabled,S=void 0!==h&&h,y=i.onResize,b=i.onResizeEnd,x=i.className,j=void 0===x?"":x,_=i.style,C=i.left,E=i.right,L=i.top,N=i.bottom,M=i.children,w=n.useRef(null),D=n.useState([]),P=D[0],k=D[1],q=n.useState(!1),R=q[0],A=q[1],B=n.useState(-1),I=B[0],O=B[1],X=n.useRef({isDragging:!1,startPosition:0,startSizes:[],containerSize:0,splitterIndex:-1}),Y=n.useMemo(function(){if(s&&s.length>0)return s.map(function(e){return e.content});if("vertical"===o){if(L&&N)return[L,N]}else if(C&&E)return[C,E];return M&&Array.isArray(M)?M:[]},[s,o,C,E,L,N,M]),T=Y.length,F=n.useCallback(function(e){return s&&s[e]?s[e]:{}},[s]),H=n.useCallback(function(){if(!w.current)return 0;var e=w.current.getBoundingClientRect();return"horizontal"===o?e.width:e.height},[o]),V=n.useCallback(function(){if(void 0!==p)return p;var e=getComputedStyle(document.documentElement).getPropertyValue("--zjpcy-splitter-bar-size").trim();return parseInt(e,10)||10},[p]);n.useEffect(function(){var e=H();if(e>0&&T>0){var t=V()*(T-1),n=Math.max(0,e-t),i=r.parseSizeConfig(c,T,"".concat(100/T,"%")),u=r.parseNumberConfig(f,T,50),a=r.parseNumberConfig(m,T,1/0),o=s?s.map(function(e){var t;return null!==(t=e.defaultSize)&&void 0!==t?t:i[s.indexOf(e)]}):i,l=s?s.map(function(e){var t;return null!==(t=e.minSize)&&void 0!==t?t:u[s.indexOf(e)]}):u,d=s?s.map(function(e){var t;return null!==(t=e.maxSize)&&void 0!==t?t:a[s.indexOf(e)]}):a,v=o.map(function(e){return r.parseSizeToPixels(e,n)}),p=v.reduce(function(e,t){return e+t},0);if(p!==n&&n>0){var g=n/p;v=v.map(function(e){return e*g})}v=v.map(function(e,t){return Math.max(l[t],Math.min(d[t],e))}),k(v)}},[T]),n.useEffect(function(){var e=function(){var e=H();if(e>0&&P.length>0){var t=V()*(T-1),n=Math.max(0,e-t),r=P.reduce(function(e,t){return e+t},0);if(r>0){var i=n/r;k(function(e){return e.map(function(e){return e*i})})}}};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[P,T,H,V]);var G=n.useCallback(function(t){return function(n){if(!S){var r=F(t),i=F(t+1);if(!r.disabled&&!i.disabled){n.preventDefault();var u="touches"in n?n.touches[0].clientX:n.clientX,a="touches"in n?n.touches[0].clientY:n.clientY,s="horizontal"===o?u:a,l=H();X.current={isDragging:!0,startPosition:s,startSizes:e.__spreadArray([],P,!0),containerSize:l,splitterIndex:t},A(!0),O(t)}}}},[S,o,P,H,F]),J=n.useCallback(function(t){if(X.current.isDragging&&!S){var n="touches"in t?t.touches[0].clientX:t.clientX,i="touches"in t?t.touches[0].clientY:t.clientY,u=("horizontal"===o?n:i)-X.current.startPosition,a=X.current.splitterIndex,l=X.current.startSizes,c=r.parseNumberConfig(f,T,50),d=r.parseNumberConfig(m,T,1/0),v=s?s.map(function(e,t){var n;return null!==(n=e.minSize)&&void 0!==n?n:c[t]}):c,p=s?s.map(function(e,t){var n;return null!==(n=e.maxSize)&&void 0!==n?n:d[t]}):d,g=v[a],z=p[a],h=v[a+1],b=p[a+1],x=l[a],j=l[a+1],_=x+u,C=j-u;_<g?(_=g,C=x+j-g):_>z&&(_=z,C=x+j-z),C<h?(C=h,_=x+j-h):C>b&&(C=b,_=x+j-b);var E=e.__spreadArray([],P,!0);E[a]=_,E[a+1]=C,k(E),null==y||y(E,a)}},[S,o,P,T,f,m,s,y]),K=n.useCallback(function(){X.current.isDragging&&(X.current.isDragging=!1,A(!1),O(-1),null==b||b(P))},[P,b]);if(n.useEffect(function(){if(R)return document.addEventListener("mousemove",J),document.addEventListener("mouseup",K),document.addEventListener("touchmove",J,{passive:!1}),document.addEventListener("touchend",K),function(){document.removeEventListener("mousemove",J),document.removeEventListener("mouseup",K),document.removeEventListener("touchmove",J),document.removeEventListener("touchend",K)}},[R,J,K]),T<2)return console.warn("Splitter requires at least 2 panels"),null;var Q=["zjpcy-splitter","zjpcy-splitter-".concat(o),R?"zjpcy-splitter-dragging":"",j].filter(Boolean).join(" ");return t.jsx("div",{ref:w,className:Q,style:r.getContainerStyle(o,_),children:Y.map(function(e,n){var i=P[n]||0,a=n===T-1;return t.jsxs(u.default.Fragment,{children:[t.jsx("div",{className:"zjpcy-splitter__panel",style:r.getPanelStyle(i,o,n,T),children:e}),!a&&t.jsx("div",{className:["zjpcy-splitter__bar",I===n?"zjpcy-splitter__bar-dragging":"",S||F(n).disabled||F(n+1).disabled?"zjpcy-splitter__bar-disabled":""].filter(Boolean).join(" "),style:r.getSplitterBarStyle(o,p,S,n),onMouseDown:G(n),onTouchStart:G(n),children:t.jsx("div",{className:"zjpcy-splitter__line",style:r.getSplitterLineStyle(o,g,z,R,I===n)})})]},n)})})},o=a;exports.Splitter=a,exports.default=o;
@@ -0,0 +1 @@
1
+ "use strict";var r=require("tslib");exports.getContainerStyle=function(t,i){return r.__assign({display:"flex",flexDirection:"horizontal"===t?"row":"column",alignItems:"stretch",width:"100%",height:"100%",overflow:"hidden",background:"var(--zjpcy-splitter-panel-bg)",borderRadius:"var(--zjpcy-splitter-panel-radius)"},i)},exports.getPanelStyle=function(r,t,i,e){void 0===i&&(i=0),void 0===e&&(e=2);var n={position:"relative",overflow:"auto",flexShrink:0,alignSelf:"stretch",background:"var(--zjpcy-splitter-panel-bg)"};return"horizontal"===t?(n.width="".concat(r,"px"),n.height="auto",n.minHeight="100%"):(n.width="auto",n.minWidth="100%",n.height="".concat(r,"px")),i<e-1&&(n.boxShadow="horizontal"===t?"var(--zjpcy-splitter-panel-shadow)":"var(--zjpcy-splitter-panel-shadow-vertical)",n.zIndex=e-i),n},exports.getSplitterBarStyle=function(r,t,i,e){void 0===e&&(e=0);var n={position:"relative",flexShrink:0,background:i?"var(--zjpcy-bg-color-light)":"var(--zjpcy-splitter-bar-bg)",cursor:i?"not-allowed":"horizontal"===r?"col-resize":"row-resize",userSelect:"none",touchAction:"none",zIndex:10+5*e,display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"var(--zjpcy-splitter-shadow-sm)",transition:"all var(--zjpcy-transition-duration) var(--zjpcy-transition-timing-function)"};return void 0!==t&&("horizontal"===r?(n.width="".concat(t,"px"),n.height="100%"):(n.width="100%",n.height="".concat(t,"px"))),i&&(n.opacity="var(--zjpcy-opacity-disabled)"),n},exports.getSplitterLineStyle=function(r,t,i,e,n){void 0===n&&(n=!1);var a={borderRadius:"var(--zjpcy-border-radius-sm)",transition:"all var(--zjpcy-transition-duration) var(--zjpcy-transition-timing-function)"};return"horizontal"===r?(a.width=t?"2px":"var(--zjpcy-splitter-line-width)",a.height=t?"32px":"var(--zjpcy-splitter-line-length)",a.minHeight="var(--zjpcy-splitter-line-min-length)"):(a.width=t?"32px":"var(--zjpcy-splitter-line-length)",a.minWidth="var(--zjpcy-splitter-line-min-length)",a.height=t?"2px":"var(--zjpcy-splitter-line-width)"),n&&e&&i?(a.backgroundColor=i,a.boxShadow="var(--zjpcy-splitter-shadow-active)"):e&&i?(a.backgroundColor=i,a.boxShadow="var(--zjpcy-splitter-shadow-md)"):t?a.backgroundColor=t:a.background="var(--zjpcy-splitter-line-bg)",a},exports.parseNumberConfig=function(t,i,e){var n;if(void 0===t)return new Array(i).fill(e);if(Array.isArray(t)){for(var a=r.__spreadArray([],t,!0);a.length<i;)a.push(null!==(n=a[a.length-1])&&void 0!==n?n:e);return a.slice(0,i)}return new Array(i).fill(t)},exports.parseSizeConfig=function(t,i,e){var n;if(void 0===e&&(e="50%"),void 0===t){var a="".concat(100/i,"%");return new Array(i).fill(a)}if(Array.isArray(t)){for(var o=r.__spreadArray([],t,!0);o.length<i;)o.push(null!==(n=o[o.length-1])&&void 0!==n?n:e);return o.slice(0,i)}return new Array(i).fill(t)},exports.parseSizeToPixels=function(r,t){return"number"==typeof r?r:"string"==typeof r&&r.endsWith("%")?t*(parseFloat(r)/100):parseFloat(r)||t/2};
@@ -0,0 +1 @@
1
+ "use client";"use strict";var e=require("react/jsx-runtime"),t=require("react"),s=require("classnames");function n(e){return e&&e.__esModule?e:{default:e}}var i=n(t),c=n(s),a=t.createContext(null),r=function(t){var s=t.index,n=t.status,i=t.item;return i.node?e.jsx("span",{className:"zjpcy-step-node zjpcy-step-node-".concat(n),children:i.node}):i.title?e.jsx("span",{className:"zjpcy-step-node zjpcy-step-node-".concat(n),children:i.title}):i.description?e.jsx("span",{className:"zjpcy-step-node zjpcy-step-node-".concat(n),children:i.description}):"finish"===n?e.jsx("span",{className:"zjpcy-step-node zjpcy-step-node-finish",children:"✓"}):"error"===n?e.jsx("span",{className:"zjpcy-step-node zjpcy-step-node-error",children:"✕"}):e.jsx("span",{className:"zjpcy-step-node zjpcy-step-node-".concat(n),children:s+1})},l=function(s){var n=s.item,l=s.index,d=s.isLast,o=i.default.useRef(null),p=t.useContext(a),u=t.useState(0),j=u[0],y=u[1];if(!p)return null;var h=p.current,v=p.status,z=p.direction,x=p.onChange,f=n.status||(l<h?"finish":l===h?v:"wait");i.default.useEffect(function(){var e;if(o.current&&"panel"===p.type){var t=null===(e=o.current.getBoundingClientRect())||void 0===e?void 0:e.height;y(t||0)}},[o,p]);var m=t.useMemo(function(){if("panel"!==p.type||0===j)return null;var t=j/4-8;return e.jsx("div",{style:{transform:"translateY(".concat(t,"px)")},className:"zjpcy-step-arrow",children:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:e.jsx("path",{d:"M5.5 3L10.5 8L5.5 13",stroke:"currentColor",strokeWidth:"2",fill:"none"})})})},[j,p]),N={};n.tailColor&&(N.backgroundColor=n.tailColor);var C=n.tailType||"solid";return e.jsxs("div",{className:c.default("zjpcy-step","zjpcy-step-direction-".concat(z),"zjpcy-step-".concat(f),{"zjpcy-step-disabled":n.disabled}),onClick:function(){!n.disabled&&x&&l!==h&&x(l)},ref:o,children:[e.jsxs("div",{className:"zjpcy-step-head",children:[e.jsx(r,{index:l,status:f,item:n}),!d&&e.jsxs(e.Fragment,{children:["default"===p.type&&e.jsx("div",{className:"zjpcy-step-tail zjpcy-step-tail-".concat(C),style:N,children:n.tailTitle&&e.jsx("div",{className:"zjpcy-step-tail-title",children:n.tailTitle})}),m]})]}),e.jsxs("div",{className:"zjpcy-step-content",children:[n.title&&e.jsx("div",{className:"zjpcy-step-title",children:n.title}),n.description&&e.jsx("div",{className:"zjpcy-step-description",children:n.description})]})]})},d=function(t){var s=t.current,n=void 0===s?0:s,i=t.status,r=void 0===i?"process":i,d=t.direction,o=void 0===d?"horizontal":d,p=t.size,u=void 0===p?"default":p,j=t.type,y=void 0===j?"default":j,h=t.items,v=t.onChange,z=t.className,x=void 0===z?"":z,f=t.style,m={current:n,status:r,direction:o,size:u,type:y,onChange:v};return e.jsx(a.Provider,{value:m,children:e.jsx("div",{className:c.default("zjpcy-steps","zjpcy-steps-direction-".concat(o),"zjpcy-steps-size-".concat(u),"zjpcy-steps-type-".concat(y),x),style:f,children:h.map(function(t,s){return e.jsx(l,{item:t,index:s,isLast:s===h.length-1},s)})})})};module.exports=d;
@@ -0,0 +1 @@
1
+ "use client";"use strict";var e=require("react/jsx-runtime"),l=require("react"),s=require("./styles.js"),a=function(a){var t=a.checked,i=a.defaultChecked,d=void 0!==i&&i,c=a.disabled,n=void 0!==c&&c,r=a.loading,h=void 0!==r&&r,o=a.size,m=void 0===o?"default":o,u=a.width,y=a.checkedChildren,v=a.unCheckedChildren,g=a.styles,N=a.onChange,C=a.label,b=a.labelGap,S=void 0===b?8:b,k=a.labelClassName,p=void 0===k?"":k,x=a.labelStyle,j=a.className,f=a.style,w=void 0!==t,z=l.useState(d),I=z[0],L=z[1],T=w?t:I,W=void 0!==y||void 0!==v;return e.jsx("div",{className:s.getWrapperClassName({className:j}),style:s.getWrapperStyle({style:f,customStyles:null==g?void 0:g.wrapper}),children:e.jsxs("div",{className:s.getLabelWrapperClassName({}),style:s.getLabelWrapperStyle({}),children:[C&&e.jsx("div",{className:s.getLabelClassName({labelClassName:p}),style:s.getLabelStyle({labelGap:S,labelStyle:x}),children:C}),e.jsxs("div",{className:s.getTrackClassName({checked:T,disabled:n,loading:h}),style:s.getTrackStyle({size:m,width:u,hasChildren:W,disabled:n,customStyles:null==g?void 0:g.track}),onClick:function(){if(!n&&!h){var e=!T;w||L(e),null==N||N(e)}},"data-size":m,children:[h&&e.jsx("div",{className:s.getLoadingIconClassName({}),style:s.getLoadingIconStyle({size:m,checked:T,width:u,customStyles:null==g?void 0:g.loading}),children:e.jsx("svg",{viewBox:"0 0 24 24",width:"12",height:"12",fill:"#1890ff",children:e.jsx("path",{d:"M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z"})})}),!h&&T&&y&&e.jsx("span",{className:s.getCheckedInnerClassName({}),style:s.getCheckedInnerStyle({size:m,customStyles:null==g?void 0:g.inner}),children:y}),!h&&!T&&v&&e.jsx("span",{className:s.getUncheckedInnerClassName({}),style:s.getUncheckedInnerStyle({size:m,customStyles:null==g?void 0:g.inner}),children:v}),e.jsx("div",{className:s.getThumbClassName({checked:T,loading:h}),style:s.getThumbStyle({size:m,checked:T,width:u,customStyles:null==g?void 0:g.thumb})})]})]})})};module.exports=a;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("tslib");function t(e){return e&&e.__esModule?e:{default:e}}var a=t(require("classnames"));exports.getCheckedInnerClassName=function(e){var t=e.className;return a.default("switch-checked-inner",t)},exports.getCheckedInnerStyle=function(t){var a=t.size,s=void 0===a?"default":a,n=t.customStyles;return e.__assign({position:"absolute",top:0,bottom:0,left:"small"===s?"3px":"4px",display:"flex",alignItems:"center",justifyContent:"flex-start",fontSize:"small"===s?"9px":"10px",color:"#fff",whiteSpace:"nowrap",userSelect:"none",zIndex:1,paddingRight:"small"===s?"14px":"20px",fontWeight:500,letterSpacing:"0.2px"},n)},exports.getLabelClassName=function(e){var t=e.labelClassName;return a.default("switch-label",t)},exports.getLabelStyle=function(t){var a=t.labelGap,s=t.labelStyle,n=void 0!==a?{marginRight:"number"==typeof a?"".concat(a,"px"):a}:{};return e.__assign(e.__assign({},n),s)},exports.getLabelWrapperClassName=function(e){var t=e.className;return a.default("switch-label-wrapper",t)},exports.getLabelWrapperStyle=function(t){var a=t.style;return e.__assign({display:"flex",alignItems:"center"},a)},exports.getLoadingIconClassName=function(e){var t=e.className;return a.default("switch-loading-icon",t)},exports.getLoadingIconStyle=function(t){var a,s=t.size,n=void 0===s?"default":s,i=t.checked,r=t.width,o=t.customStyles,l="small"===n?12:18;if(void 0!==r)a="".concat((i?r-l-2:2)+(l-12)/2,"px");else if("small"===n){a="".concat((i?14:2)+(l-12)/2,"px")}else{a="".concat((i?24:2)+(l-12)/2,"px")}return e.__assign({position:"absolute",top:"50%",marginTop:"-6px",width:"var(--zjpcy-switch-loading-size, 12px)",height:"var(--zjpcy-switch-loading-size, 12px)",zIndex:3,display:"flex",alignItems:"center",justifyContent:"center",left:a},o)},exports.getThumbClassName=function(e){var t=e.checked,s=e.loading,n=e.className;return a.default("switch-thumb",{"switch-thumb-checked":t,"switch-thumb-loading":s},n)},exports.getThumbStyle=function(t){var a,s=t.size,n=void 0===s?"default":s,i=t.checked,r=t.width,o=t.customStyles,l="small"===n?12:18;a=void 0!==r?"".concat(i?r-l-2:2,"px"):"small"===n?i?"14px":"2px":i?"24px":"2px";var c=e.__assign({},o);return(null==o?void 0:o.backgroundColor)&&(c.background=o.backgroundColor,delete c.backgroundColor),e.__assign({position:"absolute",top:"50%",transform:"translateY(-50%)",borderRadius:"var(--zjpcy-switch-thumb-radius, 50%)",width:"".concat(l,"px"),height:"".concat(l,"px"),left:a,zIndex:2},c)},exports.getTrackClassName=function(e){var t=e.checked,s=e.disabled,n=e.loading,i=e.className;return a.default("switch-track",{"switch-track-checked":t&&!s,"switch-track-disabled":s&&!t,"switch-track-disabled-checked":s&&t,"switch-track-loading":n},i)},exports.getTrackStyle=function(t){var a=t.size,s=void 0===a?"default":a,n=t.width,i=t.hasChildren,r=t.disabled,o=t.customStyles,l={default:{width:44,height:22},small:{width:28,height:16}}[s],c=void 0!==n?{width:"".concat(n,"px"),minWidth:"".concat(n,"px")}:{width:i?"auto":"".concat(l.width,"px"),minWidth:"".concat(l.width,"px")},d=r?{cursor:"not-allowed"}:{cursor:"pointer"},p=r?{opacity:"var(--zjpcy-switch-disabled-opacity, 0.65)"}:{},u=e.__assign({},o);return(null==o?void 0:o.backgroundColor)&&(u.background=o.backgroundColor,delete u.backgroundColor),e.__assign(e.__assign(e.__assign(e.__assign({position:"relative",borderRadius:"var(--zjpcy-switch-track-radius, 12px)",boxSizing:"border-box",overflow:"hidden",height:"".concat(l.height,"px")},c),d),p),u)},exports.getUncheckedInnerClassName=function(e){var t=e.className;return a.default("switch-unchecked-inner",t)},exports.getUncheckedInnerStyle=function(t){var a=t.size,s=void 0===a?"default":a,n=t.customStyles;return e.__assign({position:"absolute",top:0,bottom:0,right:"small"===s?"3px":"4px",display:"flex",alignItems:"center",justifyContent:"flex-end",fontSize:"small"===s?"9px":"10px",color:"var(--zjpcy-text-color-secondary, rgba(0, 0, 0, 0.65))",whiteSpace:"nowrap",userSelect:"none",zIndex:1,paddingLeft:"small"===s?"14px":"20px",fontWeight:500,letterSpacing:"0.2px"},n)},exports.getWrapperClassName=function(e){var t=e.className;return a.default("switch-wrapper",t)},exports.getWrapperStyle=function(t){var a=t.style,s=t.customStyles;return e.__assign(e.__assign({display:"inline-block"},a),s)};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("tslib"),r=require("react/jsx-runtime"),t=require("classnames"),n=require("@dnd-kit/utilities"),i=require("../Checkbox/index.js"),o=require("../Radio/index.js"),l=require("@dnd-kit/sortable");function a(e){return e&&e.__esModule?e:{default:e}}function s(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var d=a(t),u=s(n),c=l.useSortable,b=u.CSS,f=function(t){var n=t.id,l=t.record,a=t.rowIndex,s=t.allColumns,u=t.renderTableCell,f=t.isRowSelectionEnabled,g=t.rowSelection,j=t.selectedRowKeys,v=void 0===j?[]:j,h=t.handleRowSelect,x=c({id:n}),p=x.attributes,m=x.listeners,y=x.setNodeRef,w=x.transform,k=x.transition,C=x.isDragging,q={transform:b.Transform.toString(w),transition:k,opacity:C?.5:1,cursor:"grab"};return r.jsxs("tr",e.__assign({ref:y,style:q},p,m,{className:d.default("zjpcy-table-sortable-row",{"zjpcy-table-sortable-row-dragging":C}),"data-dragging":C,children:[f&&function(){var e,t=v.includes(n),s=null===(e=null==g?void 0:g.getCheckboxProps)||void 0===e?void 0:e.call(g,l,a),d=(null==s?void 0:s.disabled)||!1,u={width:(null==g?void 0:g.columnWidth)||"50px",textAlign:"center",backgroundColor:"white"};return r.jsx("td",{style:u,children:"checkbox"===(null==g?void 0:g.type)?r.jsx(i,{checked:t,disabled:d,onChange:function(e){return null==h?void 0:h(l,a,e)}}):r.jsx(o,{checked:t,disabled:d,onChange:function(){return null==h?void 0:h(l,a,!t)}})},"zjpcy-table-sortable-selection-".concat(n))}(),s.map(function(e,r){return u(e,l,a,r,s)})]}))};module.exports=f;