@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
@@ -1 +0,0 @@
1
- "use client";import{__spreadArray as e,__assign as n}from"../node_modules/tslib/tslib.es6.js";import{jsxs as t,jsx as i}from"react/jsx-runtime";import{memo as r,useState as o,useRef as c,useEffect as a,useCallback as l,forwardRef as d,useImperativeHandle as u,useMemo as s}from"react";import f from"classnames";import h from"../Tooltip/Tooltip.js";var p=function(e){var n=e.className;return i("span",{className:n,children:i("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor",children:i("path",{d:"M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8z"})})})},v=function(){return i("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"currentColor",children:i("path",{d:"M8 5l8 7-8 7V5z"})})},m=function(e){var n=e.expanded;return i("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor",children:i("path",n?{d:"M20 6h-8l-2-2H4c-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-2zm0 12H4V8h16v10z"}:{d:"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"})})},y=function(){return t("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor",children:[i("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),i("polyline",{points:"14 2 14 8 20 8",stroke:"currentColor",strokeWidth:"2",fill:"none"})]})},k=function(){return i("svg",{viewBox:"0 0 24 24",width:"48",height:"48",fill:"currentColor",opacity:"0.3",children:i("path",{d:"M20 6h-8l-2-2H4c-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-2zm0 12H4V8h16v10z"})})},g=function(e,n){return e.children&&0!==e.children.length?e.children.every(function(e){return g(e,n)}):n.includes(e.key)},b=function(e,n){if(!e.children||0===e.children.length)return n.includes(e.key);var t=e.children.map(function(e){return{key:e.key,allChecked:g(e,n),someChecked:b(e,n)}}),i=t.some(function(e){return e.allChecked||e.someChecked}),r=t.every(function(e){return e.allChecked});return i&&!r},N=function(e,n){for(var t=0,i=e;t<i.length;t++){var r=i[t];if(r.key===n)return r;if(r.children){var o=N(r.children,n);if(o)return o}}return null},x=function(e){return e.reduce(function(e,n){return e.push(n.key),n.children&&e.push.apply(e,x(n.children)),e},[])},C=function(e,n){for(var t=0,i=e;t<i.length;t++){var r=i[t];if(r.children){if(r.children.some(function(e){return e.key===n}))return r;var o=C(r.children,n);if(o)return o}}return null},w=function(e,n,t){var i;if(null===n)return e.push.apply(e,t),!0;for(var r=0,o=e;r<o.length;r++){var c=o[r];if(c.key===n)return c.children||(c.children=[]),(i=c.children).push.apply(i,t),!0;if(c.children)if(w(c.children,n,t))return!0}return!1},E=function(e,n){var t=e.findIndex(function(e){return e.key===n});if(-1!==t)return e.splice(t,1),!0;for(var i=0,r=e;i<r.length;i++){var o=r[i];if(o.children)if(E(o.children,n))return!0}return!1},D=function(e,n,t){for(var i=0,r=e;i<r.length;i++){var o=r[i];if(o.key===n)return Object.assign(o,t),!0;if(o.children)if(D(o.children,n,t))return!0}return!1},L=function(e,t,i){return e.reduce(function(e,r){var o=i(t,r),c=r.children?L(r.children,t,i):[];return(o||c.length>0)&&e.push(n(n({},r),{children:c.length>0?c:void 0})),e},[])},S=r(function(e){var r=e.node,d=e.level,u=e.expanded,s=e.selected,k=e.checked,g=e.halfChecked,N=e.loading,x=e.isLeaf,C=e.showIcon,w=e.showLine,E=e.checkable,D=e.draggable,L=e.checkStrictly,K=e.expandedKeys,M=e.selectedKeys,z=e.checkedKeys,B=e.motionDuration,T=e.prefixCls,V=e.renderNode,A=e.addable,I=e.removable,j=e.editable,P=e.actionDisplayMode,H=e.onAddNode,R=e.onRemoveNode,O=e.onEditNode,F=e.editingNodeKey,W=e.editValue,q=e.onEditChange,Y=e.onEditConfirm,_=e.onEditCancel,G=e.onExpand,J=e.onSelect,Q=e.onCheck,U=e.onNodeMount,X=e.onDrop,Z=e.dragEndCounter,$=e.tooltip,ee=o(!1),ne=ee[0],te=ee[1],ie=o(null),re=ie[0],oe=ie[1],ce=o(!1),ae=ce[0],le=ce[1],de=c(null),ue=c(null);a(function(){void 0!==Z&&Z>0&&(te(!1),oe(null))},[Z]);var se=l(function(e){de.current=e,U&&U(r.key,e)},[U,r.key]),fe=Boolean(r.children&&r.children.length>0),he=void 0!==r.children,pe=K.includes(r.key),ve=r.disabled,me=D&&!ve,ye=void 0!==r.isLeaf?r.isLeaf:!he,ke=l(function(e){e.stopPropagation(),ye||N||G(r.key,e)},[ye,N,r.key,G]),ge=l(function(e){e.stopPropagation(),ve||r.disableCheckbox||Q(r.key,e)},[ve,r.disableCheckbox,r.key,Q]),be=l(function(e){ve||(E?ge(e):J(r.key,e))},[ve,E,r.key,J,ge]),Ne=l(function(e){if(me){e.stopPropagation(),e.dataTransfer.setData("text/plain",String(r.key)),e.dataTransfer.effectAllowed="move";var n=document.createElement("div");n.style.cssText="\n position: absolute;\n top: -1000px;\n left: -1000px;\n padding: 4px 8px;\n background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);\n color: white;\n border-radius: 4px;\n font-size: 14px;\n font-family: inherit;\n white-space: nowrap;\n max-width: 200px;\n overflow: hidden;\n text-overflow: ellipsis;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n z-index: 9999;\n pointer-events: none;\n ";var t="string"==typeof r.title?r.title:String(r.title);n.textContent=t,document.body.appendChild(n),e.dataTransfer.setDragImage(n,10,10),setTimeout(function(){document.body.removeChild(n)},0)}},[me,r.key,r.title]),xe=l(function(){te(!1),oe(null)},[]),Ce=l(function(e){var n;if(me){e.preventDefault(),e.dataTransfer.dropEffect="move";var t=e.target,i=de.current;if(i&&t&&i.contains(t)){var r=i.querySelector(".".concat(T,"-child-tree"));if(r&&r.contains(t))return}var o=null===(n=de.current)||void 0===n?void 0:n.getBoundingClientRect();if(o){var c=e.clientY-o.top,a=o.height;oe(ye?c<a/2?"before":"after":c<a/3?"before":c>2*a/3?"after":"inside"),te(!0)}}},[me,ye,T]),we=l(function(){te(!1),oe(null)},[]),Ee=l(function(e){e.preventDefault(),e.stopPropagation(),te(!1),oe(null);var n=e.dataTransfer.getData("text/plain");n&&n!==String(r.key)&&X&&re&&X(n,r.key,re)},[r.key,re,X]),De=F===r.key,Le=["".concat(T,"-treenode"),"".concat(T,"-treenode-ellipsis"),s&&"".concat(T,"-node-selected"),ve&&"".concat(T,"-treenode-disabled"),me&&"".concat(T,"-treenode-draggable"),ne&&"".concat(T,"-treenode-drag-over"),ne&&re&&"".concat(T,"-treenode-drop-target"),ye&&"".concat(T,"-treenode-leaf"),w&&"".concat(T,"-line")].filter(Boolean).join(" "),Se=["".concat(T,"-node-content-wrapper"),s&&"".concat(T,"-node-selected")].filter(Boolean).join(" ");return t("div",{ref:se,className:Le,draggable:me,onDragStart:Ne,onDragEnd:xe,onDragOver:Ce,onDragLeave:we,onDrop:Ee,"data-drop-position":re,children:[function(){if(0===d)return null;for(var e=[],n=0;n<d;n++)e.push(i("span",{className:"".concat(T,"-indent")},n));return e}(),w&&d>0&&i("span",{className:"".concat(T,"-line-point")}),function(){if(N)return i("span",{className:"".concat(T,"-switcher"),children:i(p,{className:"".concat(T,"-loading-icon")})});if(ye)return i("span",{className:"".concat(T,"-switcher ").concat(T,"-switcher-spaced"),style:{visibility:"hidden"}});var e=["".concat(T,"-switcher"),"".concat(T,pe?"-switcher-open":"-switcher-close")].join(" ");return i("span",{className:e,onClick:ke,children:i(v,{})})}(),function(){var e;if(!E)return null;var n=f("".concat(T,"-checkbox"),((e={})["".concat(T,"-checkbox-checked")]=k&&!g,e["".concat(T,"-checkbox-indeterminate")]=g,e["".concat(T,"-checkbox-disabled")]=ve||r.disableCheckbox,e["".concat(T,"-checkbox-disabled-checked")]=(ve||r.disableCheckbox)&&k&&!g,e["".concat(T,"-checkbox-disabled-indeterminate")]=(ve||r.disableCheckbox)&&g,e));return i("span",{className:n,onClick:ge})}(),!C||V?null:r.icon?i("span",{className:"".concat(T,"-icon"),children:r.icon}):i("span",{className:"".concat(T,"-icon"),children:x?i(y,{}):i(m,{expanded:pe})}),i("span",{className:Se,onClick:be,children:function(){var e,t="".concat(T,"-title"),o=void 0!==r.tooltip?"boolean"==typeof r.tooltip?r.tooltip?{title:r.title}:null:n(n({},r.tooltip),{title:r.tooltip.title||r.title}):void 0!==$?"boolean"==typeof $?$?{title:r.title}:null:n(n({},$),{title:$.title||r.title}):null,c=i("span",V?{className:t,children:V(r)}:De?{className:t,children:i("input",{type:"text",value:W||"",onChange:function(e){return null==q?void 0:q(e.target.value)},onKeyDown:function(e){"Enter"===e.key?null==Y||Y():"Escape"===e.key&&(null==_||_())},onBlur:function(){return null==Y?void 0:Y()},autoFocus:!0,className:"".concat(T,"-title-input"),style:{border:"1px solid #1890ff",borderRadius:"2px",padding:"0 4px",fontSize:"inherit",fontFamily:"inherit",outline:"none",width:"auto",minWidth:"60px"}})}:{className:t,children:r.title});return o&&!De?i(h,{title:o.title||r.title,placement:o.placement||"top",trigger:o.trigger||"hover",delay:null!==(e=o.delay)&&void 0!==e?e:100,backgroundColor:o.backgroundColor,style:o.style,className:o.className,children:c}):c}()}),function(){if(!A&&!I&&!j)return null;if(De)return null;var e="dropdown"===P,o=function(n){null==n||n.stopPropagation(),null==H||H(r),e&&le(!1)},c=function(n){null==n||n.stopPropagation(),null==R||R(r),e&&le(!1)},a=function(n){null==n||n.stopPropagation(),null==O||O(r),e&&le(!1)};if(e)return t("span",{className:"".concat(T,"-actions ").concat(T,"-actions-dropdown"),ref:ue,onMouseEnter:function(){return le(!0)},onMouseLeave:function(){return le(!1)},children:[i("button",{className:"".concat(T,"-action-trigger"),title:"操作",onClick:function(e){return e.stopPropagation()},children:"⋮"}),ae&&t("div",{className:"".concat(T,"-action-menu"),children:[A&&t("div",{className:f("".concat(T,"-action-menu-item"),"".concat(T,"-action-menu-add")),onClick:o,children:[i("span",{className:"".concat(T,"-action-menu-icon"),children:"+"}),i("span",{children:"添加子节点"})]}),j&&t("div",{className:f("".concat(T,"-action-menu-item"),"".concat(T,"-action-menu-edit")),onClick:a,children:[i("span",{className:"".concat(T,"-action-menu-icon"),children:"✎"}),i("span",{children:"编辑"})]}),I&&t("div",{className:f("".concat(T,"-action-menu-item"),"".concat(T,"-action-menu-remove")),onClick:c,children:[i("span",{className:"".concat(T,"-action-menu-icon"),children:"×"}),i("span",{children:"删除"})]})]})]});var l={padding:"0 4px",marginLeft:"4px",fontSize:"12px",cursor:"pointer",background:"transparent",border:"none",color:"#1890ff",transition:"opacity 0.2s"};return t("span",{className:"".concat(T,"-actions"),style:{marginLeft:"auto",display:"flex",alignItems:"center"},children:[A&&i("button",{onClick:o,style:l,title:"添加子节点",className:"".concat(T,"-action-btn ").concat(T,"-action-add"),children:"+"}),j&&i("button",{onClick:a,style:l,title:"编辑",className:"".concat(T,"-action-btn ").concat(T,"-action-edit"),children:"✎"}),I&&i("button",{onClick:c,style:n(n({},l),{color:"#ff4d4f"}),title:"删除",className:"".concat(T,"-action-btn ").concat(T,"-action-remove"),children:"×"})]})}(),!ye&&i("div",{className:["".concat(T,"-child-tree"),pe&&"".concat(T,"-child-tree-expand")].filter(Boolean).join(" "),children:i("div",{children:fe?r.children.map(function(e,n){return i(S,{node:e,level:d+1,expanded:u,selected:M.includes(e.key),checked:z.includes(e.key),halfChecked:b(e,z),loading:e.loading||!1,isLeaf:!e.children||0===e.children.length,showIcon:C,showLine:w,checkable:E,draggable:D,checkStrictly:L,expandedKeys:K,selectedKeys:M,checkedKeys:z,motionDuration:B,prefixCls:T,renderNode:V,addable:A,removable:I,editable:j,actionDisplayMode:P,onAddNode:H,onRemoveNode:R,onEditNode:O,editingNodeKey:F,editValue:W,onEditChange:q,onEditConfirm:Y,onEditCancel:_,onExpand:G,onSelect:J,onCheck:Q,onNodeMount:U,onDrop:X,dragEndCounter:Z,tooltip:$},"".concat(e.key,"-").concat(n))}):i("div",{className:"".concat(T,"-empty-drop-zone"),style:{minHeight:"4px",width:"100%"}})})})]})});S.displayName="TreeNodeComponent";var K=d(function(r,d){var f=r.treeData,h=void 0===f?[]:f,p=r.defaultExpandedKeys,v=void 0===p?[]:p,m=r.expandedKeys,y=r.onExpand,g=r.defaultSelectedKeys,K=void 0===g?[]:g,M=r.selectedKeys,z=r.onSelect,B=r.defaultCheckedKeys,T=void 0===B?[]:B,V=r.checkedKeys,A=r.onCheck,I=r.checkable,j=void 0!==I&&I,P=r.checkStrictly,H=void 0!==P&&P,R=r.multiple,O=void 0!==R&&R,F=r.showSearch,W=void 0!==F&&F,q=r.filterOption,Y=r.showLine,_=void 0!==Y&&Y,G=r.showIndent,J=void 0!==G&&G,Q=r.showIcon,U=void 0===Q||Q,X=r.loadData,Z=r.motionDuration,$=void 0===Z?200:Z,ee=r.draggable,ne=void 0!==ee&&ee,te=r.renderNode,ie=r.addable,re=void 0!==ie&&ie,oe=r.removable,ce=void 0!==oe&&oe,ae=r.editable,le=void 0!==ae&&ae,de=r.actionDisplayMode,ue=void 0===de?"inline":de,se=r.onAddNode,fe=r.onRemoveNode,he=r.onEditNode,pe=r.prefixCls,ve=void 0===pe?"zjpcy-tree":pe,me=r.className,ye=void 0===me?"":me,ke=r.style,ge=void 0===ke?{}:ke,be=r.disabled,Ne=void 0!==be&&be,xe=r.defaultExpandAll,Ce=void 0!==xe&&xe,we=r.tooltip,Ee=r.onDrop,De=o(h),Le=De[0],Se=De[1],Ke=c(h);a(function(){Ke.current!==h&&(Ke.current=h,Se(h))},[h]);var Me=o(function(){if(Ce){var n=function(t){return t.reduce(function(t,i){return i.children&&i.children.length>0&&t.push.apply(t,e([i.key],n(i.children),!1)),t},[])};return n(h)}return v}),ze=Me[0],Be=Me[1],Te=o(K),Ve=Te[0],Ae=Te[1],Ie=o(T),je=Ie[0],Pe=Ie[1],He=o([]),Re=He[0],Oe=He[1],Fe=o(""),We=Fe[0],qe=Fe[1],Ye=o(null),_e=Ye[0],Ge=Ye[1],Je=o(""),Qe=Je[0],Ue=Je[1],Xe=o(0),Ze=Xe[0],$e=Xe[1],en=c(new Map),nn=c(null),tn=l(function(n){if(se){var t=se(n);if(t){var i=Array.isArray(t)?t:[t];Se(function(t){var r=e([],t,!0);return w(r,n.key,i),ze.includes(n.key)||Be(function(t){return e(e([],t,!0),[n.key],!1)}),r})}}},[se,ze]),rn=l(function(n){fe?fe(n)&&Se(function(t){var i=e([],t,!0);return E(i,n.key),Be(function(e){return e.filter(function(e){return e!==n.key})}),Ae(function(e){return e.filter(function(e){return e!==n.key})}),Pe(function(e){return e.filter(function(e){return e!==n.key})}),en.current.delete(n.key),i}):Se(function(t){var i=e([],t,!0);return E(i,n.key),Be(function(e){return e.filter(function(e){return e!==n.key})}),Ae(function(e){return e.filter(function(e){return e!==n.key})}),Pe(function(e){return e.filter(function(e){return e!==n.key})}),en.current.delete(n.key),i})},[fe]),on=l(function(e){Ge(e.key),Ue(String(e.title||""))},[]),cn=l(function(e){Ue(e)},[]),an=l(function(){if(null!==_e){if(he){var n=N(Le,_e);if(n){var t=he(n,Qe),i=void 0!==t?t:Qe;Se(function(n){var t=e([],n,!0);return D(t,_e,{title:i}),t})}}else Se(function(n){var t=e([],n,!0);return D(t,_e,{title:Qe}),t});Ge(null),Ue("")}},[_e,Qe,he,Le]),ln=l(function(){Ge(null),Ue("")},[]);u(d,function(){return{scrollTo:function(e){var n=en.current.get(e);n&&nn.current&&n.scrollIntoView({behavior:"smooth",block:"center"})},addNode:function(n,t){Se(function(i){var r=e([],i,!0),o=Array.isArray(t)?t:[t];return w(r,n,o),r})},removeNode:function(n){var t=!1;return Se(function(i){var r=e([],i,!0);return(t=E(r,n))&&(Be(function(e){return e.filter(function(e){return e!==n})}),Ae(function(e){return e.filter(function(e){return e!==n})}),Pe(function(e){return e.filter(function(e){return e!==n})}),en.current.delete(n)),r}),t},updateNode:function(n,t){var i=!1;return Se(function(r){var o=e([],r,!0);return i=D(o,n,t),o}),i}}});var dn=l(function(e,n){n?en.current.set(e,n):en.current.delete(e)},[]),un=void 0!==m,sn=void 0!==M,fn=void 0!==V,hn=un?m:ze,pn=sn?M:Ve,vn=fn?V:je,mn=l(function(n,t){if(!Ne){var i=hn.includes(n),r=i?hn.filter(function(e){return e!==n}):e(e([],hn,!0),[n],!1);if(!i&&X){var o=N(Le,n);!o||o.children&&0!==o.children.length||(Oe(function(t){return e(e([],t,!0),[n],!1)}),X(o).finally(function(){Oe(function(e){return e.filter(function(e){return e!==n})})}))}un||Be(r),null==y||y(r,{expanded:!i,node:N(Le,n),nativeEvent:t})}},[Ne,hn,un,y,Le,X]),yn=l(function(n,t){if(!Ne){var i,r=pn.includes(n);i=O?r?pn.filter(function(e){return e!==n}):e(e([],pn,!0),[n],!1):r?[]:[n],sn||Ae(i),null==z||z(i,{selected:!r,node:N(Le,n),nativeEvent:t})}},[Ne,pn,sn,O,z,Le]),kn=l(function(n,t){if(!Ne){var i,r,o=vn.includes(n);if(o){if(i=vn.filter(function(e){return e!==n}),!H)if(null==(r=N(Le,n))?void 0:r.children){var c=x(r.children);i=i.filter(function(e){return!c.includes(e)})}}else if(i=e(e([],vn,!0),[n],!1),!H)if(null==(r=N(Le,n))?void 0:r.children){var a=x(r.children);i=i.concat(a.filter(function(e){return-1===i.indexOf(e)}))}fn||Pe(i),null==A||A(i,{checked:!o,node:N(Le,n),nativeEvent:t})}},[Ne,vn,fn,H,A,Le]),gn=l(function(t,i,r){if(t!==i){var o=N(Le,t),c=N(Le,i);if(o&&c){var a=function(e,n){if(e.children)for(var t=0,i=e.children;t<i.length;t++){var r=i[t];if(r.key===n)return!0;if(a(r,n))return!0}return!1};if(!a(o,i)){var l=void 0!==c.isLeaf?c.isLeaf:void 0===c.children,d=function(e){return n(n({},e),{children:e.children?e.children.map(d):void 0})};Se(function(n){var c=n.map(d);E(c,t);var a=d(o),u="inside"===r&&l?"after":r;if("inside"===u)w(c,i,[a]),ze.includes(i)||Be(function(n){return e(e([],n,!0),[i],!1)});else{var s=C(c,i),f=s?s.children||[]:c,h=f.findIndex(function(e){return e.key===i});if(-1!==h){var p="before"===u?h:h+1;f.splice(p,0,a)}}return c}),null==Ee||Ee({event:{},node:c,dragNode:o,dragPosition:r}),$e(function(e){return e+1})}}}},[Le,ze,Ee]),bn=s(function(){return W&&We&&q?L(Le,We,q):Le},[Le,W,We,q]),Nn=[ve,_&&"".concat(ve,"-show-line"),ye].filter(Boolean).join(" ");return t("div",{ref:nn,className:Nn,style:ge,children:[W?i("div",{className:"".concat(ve,"-search-wrapper"),children:i("input",{type:"text",className:"".concat(ve,"-search-input"),placeholder:"Search...",value:We,onChange:function(e){return qe(e.target.value)}})}):null,t("div",{className:"".concat(ve,"-node-list"),children:[bn.map(function(e){return i(S,{node:e,level:0,expanded:hn.includes(e.key),selected:pn.includes(e.key),checked:vn.includes(e.key),halfChecked:b(e,vn),loading:Re.includes(e.key),isLeaf:void 0!==e.isLeaf?e.isLeaf:void 0===e.children,showIcon:U,showLine:_,showIndent:J,checkable:j,draggable:ne,checkStrictly:H,expandedKeys:hn,selectedKeys:pn,checkedKeys:vn,motionDuration:$,prefixCls:ve,renderNode:te,addable:re,removable:ce,editable:le,actionDisplayMode:ue,onAddNode:tn,onRemoveNode:rn,onEditNode:on,editingNodeKey:_e,editValue:Qe,onEditChange:cn,onEditConfirm:an,onEditCancel:ln,onExpand:mn,onSelect:yn,onCheck:kn,onNodeMount:dn,onDrop:gn,dragEndCounter:Ze,tooltip:we},String(e.key))}),bn.length>0?null:t("div",{className:"".concat(ve,"-empty"),children:[i("div",{className:"".concat(ve,"-empty-icon"),children:i(k,{})}),i("div",{children:"No Data"})]})]})]})});K.displayName="Tree";var M=K;export{K as Tree,M as default};
@@ -1 +0,0 @@
1
- "use client";import{__spreadArray as e}from"../node_modules/tslib/tslib.es6.js";import{jsxs as t,jsx as n,Fragment as r}from"react/jsx-runtime";import{useState as l,useRef as o,useCallback as i,useMemo as c,useEffect as s}from"react";import a from"classnames";import d from"../Icon/Icon.js";import u from"../Empty/index.js";import{TreeNodeWrapper as f,TreeNode as h,ExpandIcon as v,Checkbox as m,CheckboxInner as p,NodeTitle as _,TreeNodeChildren as g,SelectionItem as w,Tag as N,TagContent as $,TagClose as y,Wrapper as C,Selection as b,SearchWrapper as x,SearchInput as k,Rendered as z,ClearIcon as S,ArrowIcon as E,Dropdown as j,DropdownSearchWrapper as A,DropdownSearchInput as P,DropdownContent as L,EmptyWrapper as B}from"./styles.js";var D=function(D){var I=D.treeData,T=void 0===I?[]:I,V=D.value,H=D.defaultValue,O=D.onChange,R=D.placeholder,W=void 0===R?"请选择":R,q=D.disabled,F=void 0!==q&&q,G=D.multiple,J=void 0!==G&&G,K=D.maxTagCount,M=D.allowClear,Q=void 0===M||M,U=D.size,X=void 0===U?"middle":U,Y=D.styles,Z=D.className,ee=D.dropdownWidth,te=D.dropdownHeight,ne=void 0===te?300:te,re=D.showSearch,le=void 0!==re&&re,oe=D.filterOption,ie=D.autoClearSearchValue,ce=void 0===ie||ie,se=D.fieldNames,ae=void 0===se?{}:se,de=D.width,ue=l(!1),fe=ue[0],he=ue[1],ve=l(function(){return H?Array.isArray(H)?H:[H]:[]}),me=ve[0],pe=ve[1],_e=l(""),ge=_e[0],we=_e[1],Ne=o(null),$e=o(null),ye=l(new Set),Ce=ye[0],be=ye[1],xe=ae.title,ke=void 0===xe?"title":xe,ze=ae.value,Se=void 0===ze?"value":ze,Ee=ae.children,je=void 0===Ee?"children":Ee,Ae=i(function(e){return e[Se]||e.value},[Se]),Pe=i(function(e){return e[ke]||e.title},[ke]),Le=i(function(e){return e[je]},[je]),Be=c(function(){return void 0!==V?J?Array.isArray(V)?V:[V]:null!==V&&""!==V?[V]:[]:me},[V,me,J]),De=i(function(e,t){void 0===t&&(t=T);for(var n=0,r=t;n<r.length;n++){var l=r[n];if(Ae(l)===e)return l;var o=Le(l);if(o&&o.length>0){var i=De(e,o);if(i)return i}}return null},[T,Ae,Le]),Ie=c(function(){return Be.map(function(e){return De(e)}).filter(Boolean)},[Be,De]);s(function(){var e=function(e){Ne.current&&!Ne.current.contains(e.target)&&(he(!1),we(""))};return fe&&document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}},[fe]),s(function(){fe&&le&&$e.current&&setTimeout(function(){var e;return null===(e=$e.current)||void 0===e?void 0:e.focus()},0)},[fe,le]);var Te=i(function(e){var t=[],n=function(e){var r=Le(e);r&&0!==r.length?r.forEach(n):t.push(Ae(e))};return n(e),t},[Ae,Le]),Ve=i(function(t){var n=Ae(t),r=Le(t),l=r&&r.length>0;if(J){var o=l?Te(t):[n],i=void 0,c=(i=o.some(function(e){return Be.includes(e)})?Be.filter(function(e){return!o.includes(e)}):Array.from(new Set(e(e([],Be,!0),o,!0)))).map(function(e){return De(e)}).filter(Boolean);void 0===V&&pe(i),null==O||O(i,c)}else{if(l)return;void 0===V&&pe([n]),null==O||O(n,[t]),he(!1)}ce&&we("")},[Be,J,Ae,Le,Te,De,V,O,ce]),He=i(function(e){e.stopPropagation(),void 0===V&&pe([]),null==O||O(J?[]:void 0,[])},[V,O,J]),Oe=i(function(e,t){e.stopPropagation();var n=Be.filter(function(e){return e!==t}),r=n.map(function(e){return De(e)}).filter(Boolean);void 0===V&&pe(n),null==O||O(n,r)},[Be,De,V,O]),Re=i(function(e,t){e.stopPropagation();var n=Ae(t),r=new Set(Ce);r.has(n)?r.delete(n):r.add(n),be(r)},[Ce,Ae]),We=i(function(e){if(!ge)return!0;var t=String(Pe(e));return oe?oe(ge,e):t.toLowerCase().includes(ge.toLowerCase())},[ge,Pe,oe]),qe=i(function(e){var t=Le(e);return!(!t||0===t.length)&&t.some(function(e){return We(e)||qe(e)})},[Le,We]),Fe=i(function(e){var t=Te(e);return 0!==t.length&&t.every(function(e){return Be.includes(e)})},[Te,Be]),Ge=i(function(e,r){void 0===r&&(r=0);var l=Ae(e),o=Pe(e),i=Le(e),c=i&&i.length>0,s=J?c?Fe(e):Be.includes(l):!c&&Be.includes(l),u=Ce.has(l),w=!!e.disabled,N=We(e),$=qe(e);return N||$?t(f,{className:"treeselect-tree-node-wrapper",children:[t(h,{className:a("treeselect-tree-node",{"treeselect-tree-node-selected":s,"treeselect-tree-node-disabled":w,"treeselect-tree-node-leaf":!c}),$selected:s,$disabled:w,$level:r,$styles:null==Y?void 0:Y.treeNode,onClick:function(){return!w&&Ve(e)},children:[n(v,{className:a("treeselect-tree-node__expand-icon",{"treeselect-tree-node__expand-icon-expanded":u,"treeselect-tree-node__expand-icon-no-children":!c}),$expanded:u,$hasChildren:!!c,onClick:function(t){return c&&Re(t,e)},children:c&&n(d,{type:"arrowRight",size:12,color:"#bfbfbf"})}),J&&n(m,{className:"treeselect-tree-node__checkbox",children:n(p,{className:a("treeselect-tree-node__checkbox-inner",{"treeselect-tree-node__checkbox-inner-checked":s}),$checked:s,children:s&&n(d,{type:"check",size:10,color:"#fff"})})}),n(_,{className:"treeselect-tree-node__title",children:o})]}),c&&u&&n(g,{className:"treeselect-tree-node-children",children:i.map(function(e){return Ge(e,r+1)})})]},String(l)):null},[Be,Ce,Ae,Pe,Le,J,We,qe,Fe,Ve,Re,null==Y?void 0:Y.treeNode]),Je=i(function(e){var t=[],n=function(e){var r=Le(e);r&&0!==r.length?r.forEach(n):Be.includes(Ae(e))&&t.push(e)};return e.forEach(n),t},[Be,Ae,Le]),Ke=i(function(){if(!J){var e=Ie[0];return e?n(w,{className:"treeselect-selection__item",children:Pe(e)}):W}var l=Je(T);if(0===l.length)return W;var o=l,i=0;return void 0!==K&&K>0&&l.length>K&&(o=l.slice(0,K),i=l.length-K),t(r,{children:[o.map(function(e){return t(N,{className:a("treeselect-selection__tag",{"treeselect-selection__tag--more":!1}),$size:X,$styles:null==Y?void 0:Y.tag,children:[n($,{className:"treeselect-selection__tag-content",children:Pe(e)}),n(y,{className:"treeselect-selection__tag-close",onClick:function(t){return Oe(t,Ae(e))},children:n(d,{type:"close",size:10})})]},Ae(e))}),i>0&&t(N,{className:"treeselect-selection__tag treeselect-selection__tag--more",$size:X,$styles:null==Y?void 0:Y.tag,children:["+",i]})]})},[J,Ie,T,K,Ae,Pe,Oe,Je,W,X,null==Y?void 0:Y.tag]),Me=a("treeselect-wrapper",Z);return t(C,{ref:Ne,className:Me,$width:de,$styles:null==Y?void 0:Y.wrapper,children:[t(b,{className:a("treeselect-selection",{"treeselect-selection-open":fe,"treeselect-selection-disabled":F}),$open:fe,$disabled:F,$size:X,$styles:null==Y?void 0:Y.selection,onClick:function(){F||(he(!fe),fe||we(""))},children:[le&&fe?n(x,{className:"treeselect-selection__search",children:n(k,{ref:$e,type:"text",className:"treeselect-selection__search-input",value:ge,onChange:function(e){return we(e.target.value)},placeholder:0===Ie.length?W:"",onClick:function(e){return e.stopPropagation()}})}):n(z,{className:a("treeselect-selection__rendered",{"treeselect-selection__rendered--placeholder":0===Ie.length}),$isPlaceholder:0===Ie.length,children:Ke()}),Q&&!F&&Ie.length>0&&n(S,{className:"treeselect-selection__clear",$size:X,onClick:He,children:n(d,{type:"close",size:12})}),n(E,{className:a("treeselect-selection__arrow",{"treeselect-selection__arrow-open":fe}),$open:fe,$size:X,children:n(d,{type:"arrowDown",size:12})})]}),fe&&t(j,{className:"treeselect-dropdown",$width:ee,$height:ne,$styles:null==Y?void 0:Y.dropdown,children:[le&&!fe&&n(A,{className:"treeselect-dropdown__search",children:n(P,{ref:$e,type:"text",className:"treeselect-dropdown__search-input",value:ge,onChange:function(e){return we(e.target.value)},placeholder:"搜索"})}),n(L,{className:"treeselect-dropdown__content",children:T.length>0?T.map(function(e){return Ge(e)}):n(B,{className:"treeselect-dropdown__empty",children:n(u,{size:"small",description:"暂无数据"})})})]})]})};export{D as default};
@@ -1 +0,0 @@
1
- import{__makeTemplateObject as n}from"../node_modules/tslib/tslib.es6.js";import e from"styled-components";var t,r,o,i,c,l,s,a,d,p,x,f,g,u,b,h,_,y,w,m,z,j,v,k=function(n,e){return"var(".concat(n,", ").concat(e,")")},$=e.div(t||(t=n(["\n position: relative;\n display: inline-block;\n width: ",";\n min-width: 180px;\n font-size: 14px;\n color: ",";\n box-sizing: border-box;\n\n &.treeselect-wrapper {\n /* 外部可通过 .treeselect-wrapper 选择器覆盖样式 */\n }\n\n ","\n"],["\n position: relative;\n display: inline-block;\n width: ",";\n min-width: 180px;\n font-size: 14px;\n color: ",";\n box-sizing: border-box;\n\n &.treeselect-wrapper {\n /* 外部可通过 .treeselect-wrapper 选择器覆盖样式 */\n }\n\n ","\n"])),function(n){return n.$width||"100%"},k("--zjpcy-text-color","rgba(0, 0, 0, 0.85)"),function(n){var e=n.$styles;return e&&Object.entries(e).map(function(n){var e=n[0],t=n[1];return"".concat(e,": ").concat(t,";")}).join("\n")}),O=e.div(r||(r=n(["\n position: relative;\n display: flex;\n align-items: center;\n min-height: 32px;\n padding: 6px 28px 6px 12px;\n background-color: ",";\n border: 1px solid ",";\n border-radius: ",";\n cursor: pointer;\n transition: all "," ",";\n box-sizing: border-box;\n\n &.treeselect-selection {\n /* 外部可通过 .treeselect-selection 选择器覆盖样式 */\n }\n\n &:hover {\n border-color: ",";\n }\n\n ","\n\n ","\n\n ","\n\n ","\n"],["\n position: relative;\n display: flex;\n align-items: center;\n min-height: 32px;\n padding: 6px 28px 6px 12px;\n background-color: ",";\n border: 1px solid ",";\n border-radius: ",";\n cursor: pointer;\n transition: all "," ",";\n box-sizing: border-box;\n\n &.treeselect-selection {\n /* 外部可通过 .treeselect-selection 选择器覆盖样式 */\n }\n\n &:hover {\n border-color: ",";\n }\n\n ","\n\n ","\n\n ","\n\n ","\n"])),k("--zjpcy-bg-color-white","#fff"),k("--zjpcy-border-color-extra-light","#d9d9d9"),k("--zjpcy-border-radius-sm","4px"),k("--zjpcy-transition-duration","0.2s"),k("--zjpcy-transition-timing-function","ease-in-out"),k("--zjpcy-primary-hover-color","#40a9ff"),function(n){return n.$open&&"\n border-color: ".concat(k("--zjpcy-primary-color","#1890ff"),";\n box-shadow: ").concat(k("--zjpcy-input-box-shadow-focus","0 0 0 2px rgba(51, 154, 240, 0.2)"),";\n ")},function(n){return n.$disabled&&"\n background-color: ".concat(k("--zjpcy-input-disabled-bg","#f5f5f5"),";\n border-color: ").concat(k("--zjpcy-border-color-extra-light","#d9d9d9"),";\n cursor: not-allowed;\n ")},function(n){var e=n.$size;return"large"===e?"\n min-height: 40px;\n padding: 6px 32px 6px 15px;\n font-size: 16px;\n ":"small"===e?"\n min-height: 24px;\n padding: 2px 24px 2px 7px;\n font-size: 14px;\n ":""},function(n){var e=n.$styles;return e&&Object.entries(e).map(function(n){var e=n[0],t=n[1];return"".concat(e,": ").concat(t,";")}).join("\n")}),Y=e.div(o||(o=n(["\n flex: 1;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 4px;\n overflow: hidden;\n\n &.treeselect-selection__rendered {\n /* 外部可通过 .treeselect-selection__rendered 选择器覆盖样式 */\n }\n\n ","\n"],["\n flex: 1;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 4px;\n overflow: hidden;\n\n &.treeselect-selection__rendered {\n /* 外部可通过 .treeselect-selection__rendered 选择器覆盖样式 */\n }\n\n ","\n"])),function(n){return n.$isPlaceholder&&"\n color: ".concat(k("--zjpcy-input-placeholder-color","#bfbfbf"),";\n ")}),C=e.span(i||(i=n(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &.treeselect-selection__item {\n /* 外部可通过 .treeselect-selection__item 选择器覆盖样式 */\n }\n"],["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &.treeselect-selection__item {\n /* 外部可通过 .treeselect-selection__item 选择器覆盖样式 */\n }\n"]))),P=e.span(c||(c=n(["\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n padding: 2px 8px;\n background-color: ",";\n border: 1px solid ",";\n border-radius: ",";\n font-size: 12px;\n line-height: 1.5;\n\n &.treeselect-selection__tag {\n /* 外部可通过 .treeselect-selection__tag 选择器覆盖样式 */\n }\n\n &.treeselect-selection__tag--more {\n background-color: transparent;\n border-color: transparent;\n color: ",";\n }\n\n ","\n\n ","\n"],["\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n padding: 2px 8px;\n background-color: ",";\n border: 1px solid ",";\n border-radius: ",";\n font-size: 12px;\n line-height: 1.5;\n\n &.treeselect-selection__tag {\n /* 外部可通过 .treeselect-selection__tag 选择器覆盖样式 */\n }\n\n &.treeselect-selection__tag--more {\n background-color: transparent;\n border-color: transparent;\n color: ",";\n }\n\n ","\n\n ","\n"])),k("--zjpcy-bg-color-light","#f5f5f5"),k("--zjpcy-border-color-light","#f0f0f0"),k("--zjpcy-border-radius-sm","4px"),k("--zjpcy-text-color-secondary","rgba(0, 0, 0, 0.65)"),function(n){var e=n.$size;return"large"===e?"\n font-size: 14px;\n padding: 4px 10px;\n ":"small"===e?"\n font-size: 12px;\n padding: 1px 6px;\n ":""},function(n){var e=n.$styles;return e&&Object.entries(e).map(function(n){var e=n[0],t=n[1];return"".concat(e,": ").concat(t,";")}).join("\n")}),q=e.span(l||(l=n(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &.treeselect-selection__tag-content {\n /* 外部可通过 .treeselect-selection__tag-content 选择器覆盖样式 */\n }\n"],["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &.treeselect-selection__tag-content {\n /* 外部可通过 .treeselect-selection__tag-content 选择器覆盖样式 */\n }\n"]))),A=e.span(s||(s=n(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: 4px;\n padding: 2px;\n color: ",";\n cursor: pointer;\n transition: color ",";\n\n &.treeselect-selection__tag-close {\n /* 外部可通过 .treeselect-selection__tag-close 选择器覆盖样式 */\n }\n\n &:hover {\n color: ",";\n }\n"],["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: 4px;\n padding: 2px;\n color: ",";\n cursor: pointer;\n transition: color ",";\n\n &.treeselect-selection__tag-close {\n /* 外部可通过 .treeselect-selection__tag-close 选择器覆盖样式 */\n }\n\n &:hover {\n color: ",";\n }\n"])),k("--zjpcy-text-color-tertiary","rgba(0, 0, 0, 0.45)"),k("--zjpcy-transition-duration","0.2s"),k("--zjpcy-text-color","rgba(0, 0, 0, 0.85)")),B=e.div(a||(a=n(["\n flex: 1;\n min-width: 30px;\n\n &.treeselect-selection__search {\n /* 外部可通过 .treeselect-selection__search 选择器覆盖样式 */\n }\n"],["\n flex: 1;\n min-width: 30px;\n\n &.treeselect-selection__search {\n /* 外部可通过 .treeselect-selection__search 选择器覆盖样式 */\n }\n"]))),D=e.input(d||(d=n(["\n width: 100%;\n padding: 0;\n border: none;\n outline: none;\n background: transparent;\n font-size: 14px;\n color: ",";\n\n &::placeholder {\n color: ",";\n }\n\n &.treeselect-selection__search-input,\n &.treeselect-dropdown__search-input {\n /* 外部可通过这些选择器覆盖样式 */\n }\n"],["\n width: 100%;\n padding: 0;\n border: none;\n outline: none;\n background: transparent;\n font-size: 14px;\n color: ",";\n\n &::placeholder {\n color: ",";\n }\n\n &.treeselect-selection__search-input,\n &.treeselect-dropdown__search-input {\n /* 外部可通过这些选择器覆盖样式 */\n }\n"])),k("--zjpcy-text-color","rgba(0, 0, 0, 0.85)"),k("--zjpcy-input-placeholder-color","#bfbfbf")),E=e.span(p||(p=n(["\n position: absolute;\n right: 28px;\n top: 50%;\n transform: translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n width: 18px;\n height: 18px;\n color: ",";\n cursor: pointer;\n transition: color ",";\n z-index: 1;\n\n &.treeselect-selection__clear {\n /* 外部可通过 .treeselect-selection__clear 选择器覆盖样式 */\n }\n\n &:hover {\n color: ",";\n }\n\n ","\n"],["\n position: absolute;\n right: 28px;\n top: 50%;\n transform: translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n width: 18px;\n height: 18px;\n color: ",";\n cursor: pointer;\n transition: color ",";\n z-index: 1;\n\n &.treeselect-selection__clear {\n /* 外部可通过 .treeselect-selection__clear 选择器覆盖样式 */\n }\n\n &:hover {\n color: ",";\n }\n\n ","\n"])),k("--zjpcy-text-color-tertiary","rgba(0, 0, 0, 0.45)"),k("--zjpcy-transition-duration","0.2s"),k("--zjpcy-text-color","rgba(0, 0, 0, 0.85)"),function(n){var e=n.$size;return"large"===e?"right: 32px;":"small"===e?"right: 24px;":""}),F=e.span(x||(x=n(["\n position: absolute;\n right: 11px;\n top: 50%;\n transform: translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n color: ",";\n transition: transform ",";\n pointer-events: none;\n\n &.treeselect-selection__arrow {\n /* 外部可通过 .treeselect-selection__arrow 选择器覆盖样式 */\n }\n\n ","\n\n ","\n"],["\n position: absolute;\n right: 11px;\n top: 50%;\n transform: translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n color: ",";\n transition: transform ",";\n pointer-events: none;\n\n &.treeselect-selection__arrow {\n /* 外部可通过 .treeselect-selection__arrow 选择器覆盖样式 */\n }\n\n ","\n\n ","\n"])),k("--zjpcy-text-color-tertiary","rgba(0, 0, 0, 0.45)"),k("--zjpcy-transition-duration","0.2s"),function(n){return n.$open&&"\n transform: translateY(-50%) rotate(180deg);\n "},function(n){var e=n.$size;return"large"===e?"right: 15px;":"small"===e?"right: 7px;":""}),G=e.div(f||(f=n(["\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1050;\n margin-top: 4px;\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n overflow: hidden;\n width: ",";\n max-height: ",";\n\n &.treeselect-dropdown {\n /* 外部可通过 .treeselect-dropdown 选择器覆盖样式 */\n }\n\n ","\n"],["\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1050;\n margin-top: 4px;\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n overflow: hidden;\n width: ",";\n max-height: ",";\n\n &.treeselect-dropdown {\n /* 外部可通过 .treeselect-dropdown 选择器覆盖样式 */\n }\n\n ","\n"])),k("--zjpcy-bg-color-white","#fff"),k("--zjpcy-border-radius-sm","4px"),k("--zjpcy-shadow-lg","0 8px 24px rgba(0, 0, 0, 0.15)"),function(n){return n.$width||"100%"},function(n){return n.$height||"300px"},function(n){var e=n.$styles;return e&&Object.entries(e).map(function(n){var e=n[0],t=n[1];return"".concat(e,": ").concat(t,";")}).join("\n")}),H=e.div(g||(g=n(["\n padding: 8px 12px;\n border-bottom: 1px solid ",";\n\n &.treeselect-dropdown__search {\n /* 外部可通过 .treeselect-dropdown__search 选择器覆盖样式 */\n }\n"],["\n padding: 8px 12px;\n border-bottom: 1px solid ",";\n\n &.treeselect-dropdown__search {\n /* 外部可通过 .treeselect-dropdown__search 选择器覆盖样式 */\n }\n"])),k("--zjpcy-border-color-light","#f0f0f0")),I=e.input(u||(u=n(["\n width: 100%;\n padding: 4px 8px;\n background-color: ",";\n border: none;\n border-radius: ",";\n outline: none;\n font-size: 14px;\n color: ",";\n\n &::placeholder {\n color: ",";\n }\n"],["\n width: 100%;\n padding: 4px 8px;\n background-color: ",";\n border: none;\n border-radius: ",";\n outline: none;\n font-size: 14px;\n color: ",";\n\n &::placeholder {\n color: ",";\n }\n"])),k("--zjpcy-bg-color-light","#f5f5f5"),k("--zjpcy-border-radius-sm","4px"),k("--zjpcy-text-color","rgba(0, 0, 0, 0.85)"),k("--zjpcy-input-placeholder-color","#bfbfbf")),J=e.div(b||(b=n(["\n max-height: 300px;\n overflow-y: auto;\n padding: 4px 0;\n\n &.treeselect-dropdown__content {\n /* 外部可通过 .treeselect-dropdown__content 选择器覆盖样式 */\n }\n\n /* 滚动条样式 */\n &::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.15);\n border-radius: 3px;\n }\n\n &::-webkit-scrollbar-thumb:hover {\n background-color: rgba(0, 0, 0, 0.25);\n }\n\n &::-webkit-scrollbar-track {\n background-color: transparent;\n }\n"],["\n max-height: 300px;\n overflow-y: auto;\n padding: 4px 0;\n\n &.treeselect-dropdown__content {\n /* 外部可通过 .treeselect-dropdown__content 选择器覆盖样式 */\n }\n\n /* 滚动条样式 */\n &::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.15);\n border-radius: 3px;\n }\n\n &::-webkit-scrollbar-thumb:hover {\n background-color: rgba(0, 0, 0, 0.25);\n }\n\n &::-webkit-scrollbar-track {\n background-color: transparent;\n }\n"]))),K=e.div(h||(h=n(["\n padding: 32px 0;\n\n &.treeselect-dropdown__empty {\n /* 外部可通过 .treeselect-dropdown__empty 选择器覆盖样式 */\n }\n"],["\n padding: 32px 0;\n\n &.treeselect-dropdown__empty {\n /* 外部可通过 .treeselect-dropdown__empty 选择器覆盖样式 */\n }\n"]))),L=e.div(_||(_=n(["\n display: flex;\n flex-direction: column;\n\n &.treeselect-tree-node-wrapper {\n /* 外部可通过 .treeselect-tree-node-wrapper 选择器覆盖样式 */\n }\n"],["\n display: flex;\n flex-direction: column;\n\n &.treeselect-tree-node-wrapper {\n /* 外部可通过 .treeselect-tree-node-wrapper 选择器覆盖样式 */\n }\n"]))),M=e.div(y||(y=n(["\n display: flex;\n align-items: center;\n padding: 8px 12px;\n padding-left: ",";\n cursor: pointer;\n transition: background-color ",";\n user-select: none;\n\n &.treeselect-tree-node {\n /* 外部可通过 .treeselect-tree-node 选择器覆盖样式 */\n }\n\n &:hover {\n background-color: ",";\n }\n\n ","\n\n ","\n\n ","\n"],["\n display: flex;\n align-items: center;\n padding: 8px 12px;\n padding-left: ",";\n cursor: pointer;\n transition: background-color ",";\n user-select: none;\n\n &.treeselect-tree-node {\n /* 外部可通过 .treeselect-tree-node 选择器覆盖样式 */\n }\n\n &:hover {\n background-color: ",";\n }\n\n ","\n\n ","\n\n ","\n"])),function(n){return"".concat(20*n.$level+12,"px")},k("--zjpcy-transition-duration","0.2s"),k("--zjpcy-bg-color-light","#f5f5f5"),function(n){return n.$selected&&"\n background-color: ".concat(k("--zjpcy-primary-light-color","rgba(24, 100, 240, 0.1)"),";\n color: ").concat(k("--zjpcy-primary-color","#1890ff"),";\n\n &:hover {\n background-color: ").concat(k("--zjpcy-primary-light-color","rgba(24, 100, 240, 0.1)"),";\n }\n ")},function(n){return n.$disabled&&"\n color: ".concat(k("--zjpcy-text-color-tertiary","rgba(0, 0, 0, 0.45)"),";\n cursor: not-allowed;\n\n &:hover {\n background-color: transparent;\n }\n ")},function(n){var e=n.$styles;return e&&Object.entries(e).map(function(n){var e=n[0],t=n[1];return"".concat(e,": ").concat(t,";")}).join("\n")}),N=e.span(w||(w=n(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n margin-right: 4px;\n cursor: pointer;\n transition: transform ",";\n\n &.treeselect-tree-node__expand-icon {\n /* 外部可通过 .treeselect-tree-node__expand-icon 选择器覆盖样式 */\n }\n\n ","\n\n ","\n"],["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n margin-right: 4px;\n cursor: pointer;\n transition: transform ",";\n\n &.treeselect-tree-node__expand-icon {\n /* 外部可通过 .treeselect-tree-node__expand-icon 选择器覆盖样式 */\n }\n\n ","\n\n ","\n"])),k("--zjpcy-transition-duration","0.2s"),function(n){return n.$expanded&&"\n transform: rotate(90deg);\n "},function(n){return!n.$hasChildren&&"\n visibility: hidden;\n cursor: default;\n "}),Q=e.span(m||(m=n(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-right: 8px;\n\n &.treeselect-tree-node__checkbox {\n /* 外部可通过 .treeselect-tree-node__checkbox 选择器覆盖样式 */\n }\n"],["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-right: 8px;\n\n &.treeselect-tree-node__checkbox {\n /* 外部可通过 .treeselect-tree-node__checkbox 选择器覆盖样式 */\n }\n"]))),R=e.span(z||(z=n(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n border: 1px solid ",";\n border-radius: 2px;\n background-color: ",";\n transition: all ",";\n\n &.treeselect-tree-node__checkbox-inner {\n /* 外部可通过 .treeselect-tree-node__checkbox-inner 选择器覆盖样式 */\n }\n\n .treeselect-tree-node:hover & {\n border-color: ",";\n }\n\n ","\n"],["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n border: 1px solid ",";\n border-radius: 2px;\n background-color: ",";\n transition: all ",";\n\n &.treeselect-tree-node__checkbox-inner {\n /* 外部可通过 .treeselect-tree-node__checkbox-inner 选择器覆盖样式 */\n }\n\n .treeselect-tree-node:hover & {\n border-color: ",";\n }\n\n ","\n"])),k("--zjpcy-border-color-extra-light","#d9d9d9"),k("--zjpcy-bg-color-white","#fff"),k("--zjpcy-transition-duration","0.2s"),k("--zjpcy-primary-color","#1890ff"),function(n){return n.$checked&&"\n background-color: ".concat(k("--zjpcy-primary-color","#1890ff"),";\n border-color: ").concat(k("--zjpcy-primary-color","#1890ff"),";\n ")}),S=e.span(j||(j=n(["\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &.treeselect-tree-node__title {\n /* 外部可通过 .treeselect-tree-node__title 选择器覆盖样式 */\n }\n"],["\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &.treeselect-tree-node__title {\n /* 外部可通过 .treeselect-tree-node__title 选择器覆盖样式 */\n }\n"]))),T=e.div(v||(v=n(["\n display: flex;\n flex-direction: column;\n\n &.treeselect-tree-node-children {\n /* 外部可通过 .treeselect-tree-node-children 选择器覆盖样式 */\n }\n"],["\n display: flex;\n flex-direction: column;\n\n &.treeselect-tree-node-children {\n /* 外部可通过 .treeselect-tree-node-children 选择器覆盖样式 */\n }\n"])));export{F as ArrowIcon,Q as Checkbox,R as CheckboxInner,E as ClearIcon,G as Dropdown,J as DropdownContent,I as DropdownSearchInput,H as DropdownSearchWrapper,K as EmptyWrapper,N as ExpandIcon,S as NodeTitle,Y as Rendered,D as SearchInput,B as SearchWrapper,O as Selection,C as SelectionItem,P as Tag,A as TagClose,q as TagContent,M as TreeNode,T as TreeNodeChildren,L as TreeNodeWrapper,$ as Wrapper};
@@ -1 +0,0 @@
1
- import{__assign as t}from"../node_modules/tslib/tslib.es6.js";import{jsx as r}from"react/jsx-runtime";var e=function(e){var o=e.children,i=e.width,a=e.rows,l=e.style,n=e.className,s=t(t({},l),{width:i}),c=["zjpcy-typography",function(t){return t?"zjpcy-typography--line-clamp-".concat(t):""}(a),n].filter(Boolean);return r("div",{className:c.join(" "),style:s,children:o})};export{e as default};
@@ -1 +0,0 @@
1
- "use client";import{__assign as e,__awaiter as t,__generator as n,__spreadArray as r}from"../node_modules/tslib/tslib.es6.js";import{jsxs as a,jsx as o,Fragment as i}from"react/jsx-runtime";import{useState as s,useRef as c,useCallback as l}from"react";import u from"classnames";import d from"../Icon/Icon.js";import p from"../Progress/index.js";var f=function(e){var t=e.fileList,n=e.onRemove,r=e.showUploadList;if(!r||0===t.length)return null;var i="boolean"==typeof r?r:!1!==r.showRemoveIcon,s=function(e){switch(e){case"uploading":return o(d,{type:"loading",spin:!0});case"success":return o(d,{type:"check-circle",style:{color:"var(--success-color, #52c41a)"}});case"error":return o(d,{type:"close-circle",style:{color:"var(--error-color, #ff4d4f)"}});default:return o(d,{type:"file"})}},c=function(e){if(0===e)return"0 B";var t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(2))+" "+["B","KB","MB","GB"][t]};return o("div",{className:"zjpcy-upload__list",children:t.map(function(e){return a("div",{className:u("zjpcy-upload__list-item",{"zjpcy-upload__list-item-error":"error"===e.status,"zjpcy-upload__list-item-success":"success"===e.status}),children:[a("div",{className:"zjpcy-upload__list-item-info",children:[o("span",{className:"zjpcy-upload__list-item-icon",children:s(e.status)}),a("span",{className:"zjpcy-upload__list-item-name",title:e.name,children:[e.name,a("span",{style:{color:"var(--text-secondary, #999)",marginLeft:8,fontSize:12},children:["(",c(e.size),")"]})]})]}),i&&o("span",{className:"zjpcy-upload__list-item-actions",children:o("button",{className:"zjpcy-upload__list-item-action",onClick:function(){return n(e)},title:"删除",children:o(d,{type:"trash"})})}),o("div",{className:u("zjpcy-upload__progress-wrapper",{"zjpcy-upload__progress-wrapper-visible":"uploading"===e.status}),children:o(p,{percent:e.percent||0,size:"small",showInfo:!1})})]},e.uid)})})},m=function(e){var t=e.disabled,n=e.onFileDrop,r=e.children,p=e.accept,f=e.multiple,m=s(!1),h=m[0],v=m[1],y=c(null),g=l(function(e){e.preventDefault(),e.stopPropagation(),t||v(!0)},[t]),_=l(function(e){e.preventDefault(),e.stopPropagation(),v(!1)},[]),z=l(function(e){if(e.preventDefault(),e.stopPropagation(),v(!1),!t){var r=e.dataTransfer.files;r&&r.length>0&&n(r)}},[t,n]),j=l(function(){if(y.current&&!t){var e=document.createElement("input");e.type="file",p&&(e.accept=p),f&&(e.multiple=!0),e.onchange=function(e){var t=e.target.files;t&&n(t)},e.click()}},[p,f,t,n]);return o("div",{ref:y,className:u("zjpcy-upload__drag",{"zjpcy-upload__drag-over":h,"zjpcy-upload__drag-disabled":t}),onDragOver:g,onDragLeave:_,onDrop:z,onClick:j,children:r||a(i,{children:[o("div",{className:"zjpcy-upload__drag-icon",children:o(d,{type:"upload",style:{fontSize:48}})}),o("div",{className:"zjpcy-upload__drag-text",children:"点击或拖拽文件到此区域上传"}),o("div",{className:"zjpcy-upload__drag-hint",children:"支持单次或批量上传"})]})})},h=function(i){var p=i.action,h=i.defaultFileList,v=void 0===h?[]:h,y=i.fileList,g=i.onChange,_=i.beforeUpload,z=i.onProgress,j=i.onSuccess,w=i.onError,b=i.onRemove,N=i.headers,C=i.name,D=void 0===C?"file":C,L=i.data,M=i.withCredentials,R=void 0!==M&&M,U=i.accept,k=i.multiple,x=void 0!==k&&k,E=i.disabled,P=void 0!==E&&E,F=i.drag,S=void 0!==F&&F,q=i.style,B=i.className,I=i.customRequest,O=i.showUploadList,T=void 0===O||O,H=i.method,A=void 0===H?"POST":H,G=i.children,K=i.maxCount,X=s(v),J=X[0],Q=X[1],V=c(null),W=void 0!==y,Y=W?y:J,Z=l(function(e){W||Q(e),g&&g(e)},[W,g]),$=l(function(t,n){var r=Y.map(function(r){return r.uid===t?e(e({},r),n):r});Z(r)},[Y,Z]),ee=l(function(e){return t(void 0,void 0,void 0,function(){var t,r,a;return n(this,function(n){return p||I?(t=e.raw)?($(e.uid,{status:"uploading",percent:0}),r="function"==typeof L?L(t):L,a={action:p||"",filename:D,file:t,data:r,headers:N,withCredentials:R,method:A.toUpperCase(),onProgress:function(t){$(e.uid,{percent:t}),z&&z(t,e)},onSuccess:function(t){$(e.uid,{status:"success",response:t,percent:100}),j&&j(t,e)},onError:function(t){$(e.uid,{status:"error",error:t}),w&&w(t,e)}},I?I(a):function(e){var t=e.action,n=e.filename,r=e.file,a=e.data,o=e.headers,i=e.withCredentials,s=e.onProgress,c=e.onSuccess,l=e.onError,u=e.method,d=new XMLHttpRequest;s&&d.upload&&(d.upload.onprogress=function(e){if(e.total>0){var t=Math.round(e.loaded/e.total*100);s(t)}}),d.onerror=function(){l(new Error("Upload failed"))},d.onload=function(){d.status>=200&&d.status<300?c(d.response):l(new Error("Upload failed with status ".concat(d.status)))},d.open(u,t,!0),i&&(d.withCredentials=!0),o&&Object.keys(o).forEach(function(e){d.setRequestHeader(e,o[e])});var p=new FormData;p.append(n,r),a&&Object.keys(a).forEach(function(e){p.append(e,a[e])}),d.send(p)}(a),[2]):[2]:(console.warn("Upload: action or customRequest is required"),[2])})})},[p,I,D,L,N,R,A,z,j,w,$]),te=l(function(e){return t(void 0,void 0,void 0,function(){var t,a,o,i,s;return n(this,function(c){switch(c.label){case 0:if(!e||0===e.length)return[2];if(t=Array.from(e),void 0!==K&&Y.length+t.length>K)return console.warn("Upload: Maximum file count is ".concat(K)),[2];a=function(e){var a,o,i;return n(this,function(n){switch(n.label){case 0:if(a={uid:"".concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9)),name:e.name,size:e.size,type:e.type,status:"ready",percent:0,raw:e},!_)return[3,4];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,_(e,t)];case 2:return!1===(o=n.sent())?[2,"continue"]:(o instanceof File&&(a.raw=o,a.name=o.name,a.size=o.size,a.type=o.type),[3,4]);case 3:return n.sent(),[2,"continue"];case 4:return(p||I)&&(a.status="uploading"),i=r(r([],Y,!0),[a],!1),Z(i),(p||I)&&setTimeout(function(){return ee(a)},0),[2]}})},o=0,i=t,c.label=1;case 1:return o<i.length?(s=i[o],[5,a(s)]):[3,4];case 2:c.sent(),c.label=3;case 3:return o++,[3,1];case 4:return[2]}})})},[Y,K,_,p,I,ee,Z]),ne=l(function(e){te(e.target.files),V.current&&(V.current.value="")},[te]),re=l(function(){!P&&V.current&&V.current.click()},[P]),ae=l(function(e){return t(void 0,void 0,void 0,function(){var t;return n(this,function(n){switch(n.label){case 0:return b?[4,b(e)]:[3,2];case 1:if(!1===n.sent())return[2];n.label=2;case 2:return t=Y.filter(function(t){return t.uid!==e.uid}),Z(t),[2]}})})},[Y,b,Z]),oe=l(function(e){te(e)},[te]);return a("div",{className:u("zjpcy-upload",B,{"zjpcy-upload--disabled":P}),style:q,children:[o("input",{ref:V,type:"file",className:"zjpcy-upload__input",accept:U,multiple:x,onChange:ne}),S?o(m,{disabled:P,onFileDrop:oe,accept:U,multiple:x,children:G}):o("div",{className:"zjpcy-upload__trigger",onClick:re,children:G||a("button",{className:"zjpcy-btn zjpcy-btn--primary",disabled:P,children:[o(d,{type:"upload",style:{marginRight:4}}),"点击上传"]})}),T&&o(f,{fileList:Y,onRemove:ae,showUploadList:T})]})};export{h as default};
@@ -1 +0,0 @@
1
- var r={};export{r as __exports};
@@ -1 +0,0 @@
1
- var e={exports:{}};export{e as __module};
@@ -1 +0,0 @@
1
- var r={};export{r as __exports};
@@ -1 +0,0 @@
1
- var r={};export{r as __exports};
package/dist/es/index.js DELETED
@@ -1 +0,0 @@
1
- export{default as Spin}from"./Spin/index.js";export{default as Carousel}from"./Carousel/index.js";export{default as Cascader}from"./Cascader/index.js";export{default as TreeSelect}from"./TreeSelect/index.js";export{default as ColorPicker}from"./ColorPicker/index.js";export{default as CopyToClipboard,useOnCopy as useCopy}from"./CopyToClipboard/index.js";export{default as Divider}from"./Divider/index.js";export{default as Empty}from"./Empty/index.js";export{default as Flex}from"./Flex/index.js";export{default as Icon}from"./Icon/Icon.js";export{default as Input}from"./Input/index.js";export{default as Marquee}from"./Marquee/index.js";export{MessageProvider,message,useMessage}from"./Message/index.js";export{default as Modal}from"./Modal/index.js";export{default as Notice}from"./Notice/Notice.js";export{default as Notification}from"./Notification/Notification.js";export{default as Radio}from"./Radio/index.js";export{default as Select}from"./Select/index.js";export{default as Table}from"./Table/index.js";export{default as Top}from"./Top/index.js";export{default as Typography}from"./Typography/index.js";export{default as Masonry}from"./Masonry/index.js";export{default as Space}from"./Space/index.js";export{default as Anchor}from"./Anchor/index.js";export{default as Breadcrumb}from"./Breadcrumb/index.js";export{default as I18nProvider,load18n,useI18n}from"./src/i18n/I18nProvider.js";import"./src/i18n/index.js";export{default as Dropdown}from"./Dropdown/index.js";export{default as Menu}from"./Menu/index.js";export{default as Pagination}from"./Pagination/index.js";export{default as Rate}from"./Rate/index.js";export{default as Slider}from"./Slider/index.js";export{default as Steps}from"./Steps/index.js";export{default as Switch}from"./Switch/index.js";export{default as Tabs}from"./Tabs/index.js";export{default as Transfer}from"./Transfer/index.js";export{default as Label}from"./Label/index.js";export{default as Layout}from"./Layout/index.js";export{default as Form}from"./Form/index.js";export{Col,default as Grid,Row}from"./Grid/index.js";export{default as Drawer}from"./Drawer/index.js";export{default as Checkbox}from"./Checkbox/index.js";export{default as Tag}from"./Tag/index.js";export{default as Popconfirm}from"./Popconfirm/index.js";export{default as Progress}from"./Progress/index.js";export{default as TimePicker}from"./TimePicker/index.js";export{default as DatePicker}from"./DatePicker/index.js";export{default as Tree}from"./Tree/index.js";export{default as Upload}from"./Upload/index.js";export{default as Splitter}from"./Splitter/index.js";export{default as Calendar}from"./Calendar/index.js";export{default as Message}from"./Message/Message.js";export{default as i18n}from"./node_modules/i18next/dist/esm/i18next.js";export{default as Button}from"./Button/Button.js";export{default as Textarea}from"./Input/Textarea.js";export{default as Tooltip}from"./Tooltip/Tooltip.js";
@@ -1 +0,0 @@
1
- const e=e=>"string"==typeof e,t=()=>{let e,t;const s=new Promise((s,i)=>{e=s,t=i});return s.resolve=e,s.reject=t,s},s=e=>null==e?"":""+e,i=/###/g,o=e=>e&&e.indexOf("###")>-1?e.replace(i,"."):e,n=t=>!t||e(t),a=(t,s,i)=>{const a=e(s)?s.split("."):s;let r=0;for(;r<a.length-1;){if(n(t))return{};const e=o(a[r]);!t[e]&&i&&(t[e]=new i),t=Object.prototype.hasOwnProperty.call(t,e)?t[e]:{},++r}return n(t)?{}:{obj:t,k:o(a[r])}},r=(e,t,s)=>{const{obj:i,k:o}=a(e,t,Object);if(void 0!==i||1===t.length)return void(i[o]=s);let n=t[t.length-1],r=t.slice(0,t.length-1),l=a(e,r,Object);for(;void 0===l.obj&&r.length;)n=`${r[r.length-1]}.${n}`,r=r.slice(0,r.length-1),l=a(e,r,Object),l?.obj&&void 0!==l.obj[`${l.k}.${n}`]&&(l.obj=void 0);l.obj[`${l.k}.${n}`]=s},l=(e,t)=>{const{obj:s,k:i}=a(e,t);if(s&&Object.prototype.hasOwnProperty.call(s,i))return s[i]},h=(t,s,i)=>{for(const o in s)"__proto__"!==o&&"constructor"!==o&&(o in t?e(t[o])||t[o]instanceof String||e(s[o])||s[o]instanceof String?i&&(t[o]=s[o]):h(t[o],s[o],i):t[o]=s[o]);return t},p=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const u=t=>e(t)?t.replace(/[&<>"'\/]/g,e=>c[e]):t;const g=[" ",",","?","!",";"],d=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const s=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,s),this.regExpQueue.push(e),s}}(20),f=(e,t,s=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}const i=t.split(s);let o=e;for(let e=0;e<i.length;){if(!o||"object"!=typeof o)return;let t,n="";for(let a=e;a<i.length;++a)if(a!==e&&(n+=s),n+=i[a],t=o[n],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<i.length-1)continue;e+=a-e+1;break}o=t}return o},m=e=>e?.replace("_","-"),y={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class x{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||y,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(t,s,i,o){return o&&!this.debug?null:(e(t[0])&&(t[0]=`${i}${this.prefix} ${t[0]}`),this.logger[s](t))}create(e){return new x(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new x(this.logger,e)}}var v=new x;class b{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const s=this.observers[e].get(t)||0;this.observers[e].set(t,s+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e,...t){if(this.observers[e]){Array.from(this.observers[e].entries()).forEach(([e,s])=>{for(let i=0;i<s;i++)e(...t)})}if(this.observers["*"]){Array.from(this.observers["*"].entries()).forEach(([s,i])=>{for(let o=0;o<i;o++)s.apply(s,[e,...t])})}}}class k extends b{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(t,s,i,o={}){const n=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,a=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let r;t.indexOf(".")>-1?r=t.split("."):(r=[t,s],i&&(Array.isArray(i)?r.push(...i):e(i)&&n?r.push(...i.split(n)):r.push(i)));const h=l(this.data,r);return!h&&!s&&!i&&t.indexOf(".")>-1&&(t=r[0],s=r[1],i=r.slice(2).join(".")),!h&&a&&e(i)?f(this.data?.[t]?.[s],i,n):h}addResource(e,t,s,i,o={silent:!1}){const n=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let a=[e,t];s&&(a=a.concat(n?s.split(n):s)),e.indexOf(".")>-1&&(a=e.split("."),i=t,t=a[1]),this.addNamespaces(t),r(this.data,a,i),o.silent||this.emit("added",e,t,s,i)}addResources(t,s,i,o={silent:!1}){for(const o in i)(e(i[o])||Array.isArray(i[o]))&&this.addResource(t,s,o,i[o],{silent:!0});o.silent||this.emit("added",t,s,i)}addResourceBundle(e,t,s,i,o,n={silent:!1,skipCopy:!1}){let a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),i=s,s=t,t=a[1]),this.addNamespaces(t);let p=l(this.data,a)||{};n.skipCopy||(s=JSON.parse(JSON.stringify(s))),i?h(p,s,o):p={...p,...s},r(this.data,a,p),n.silent||this.emit("added",e,t,s)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var S={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,s,i,o){return e.forEach(e=>{t=this.processors[e]?.process(t,s,i,o)??t}),t}};const O=Symbol("i18next/PATH_KEY");function L(e,t){const{[O]:s}=e(function(){const e=[],t=Object.create(null);let s;return t.get=(i,o)=>(s?.revoke?.(),o===O?e:(e.push(o),s=Proxy.revocable(i,t),s.proxy)),Proxy.revocable(Object.create(null),t).proxy}());return s.join(t?.keySeparator??".")}const w={},$=t=>!e(t)&&"boolean"!=typeof t&&"number"!=typeof t;class R extends b{constructor(e,t={}){var s,i;super(),s=e,i=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(e=>{s[e]&&(i[e]=s[e])}),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=v.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){const s={...t};if(null==e)return!1;const i=this.resolve(e,s);if(void 0===i?.res)return!1;const o=$(i.res);return!1!==s.returnObjects||!o}extractFromKey(t,s){let i=void 0!==s.nsSeparator?s.nsSeparator:this.options.nsSeparator;void 0===i&&(i=":");const o=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator;let n=s.ns||this.options.defaultNS||[];const a=i&&t.indexOf(i)>-1,r=!(this.options.userDefinedKeySeparator||s.keySeparator||this.options.userDefinedNsSeparator||s.nsSeparator||((e,t,s)=>{t=t||"",s=s||"";const i=g.filter(e=>t.indexOf(e)<0&&s.indexOf(e)<0);if(0===i.length)return!0;const o=d.getRegExp(`(${i.map(e=>"?"===e?"\\?":e).join("|")})`);let n=!o.test(e);if(!n){const t=e.indexOf(s);t>0&&!o.test(e.substring(0,t))&&(n=!0)}return n})(t,i,o));if(a&&!r){const s=t.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:t,namespaces:e(n)?[n]:n};const a=t.split(i);(i!==o||i===o&&this.options.ns.indexOf(a[0])>-1)&&(n=a.shift()),t=a.join(o)}return{key:t,namespaces:e(n)?[n]:n}}translate(t,s,i){let o="object"==typeof s?{...s}:s;if("object"!=typeof o&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof o&&(o={...o}),o||(o={}),null==t)return"";"function"==typeof t&&(t=L(t,{...this.options,...o})),Array.isArray(t)||(t=[String(t)]);const n=void 0!==o.returnDetails?o.returnDetails:this.options.returnDetails,a=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,{key:r,namespaces:l}=this.extractFromKey(t[t.length-1],o),h=l[l.length-1];let p=void 0!==o.nsSeparator?o.nsSeparator:this.options.nsSeparator;void 0===p&&(p=":");const c=o.lng||this.language,u=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===c?.toLowerCase())return u?n?{res:`${h}${p}${r}`,usedKey:r,exactUsedKey:r,usedLng:c,usedNS:h,usedParams:this.getUsedParamsDetails(o)}:`${h}${p}${r}`:n?{res:r,usedKey:r,exactUsedKey:r,usedLng:c,usedNS:h,usedParams:this.getUsedParamsDetails(o)}:r;const g=this.resolve(t,o);let d=g?.res;const f=g?.usedKey||r,m=g?.exactUsedKey||r,y=void 0!==o.joinArrays?o.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,v=void 0!==o.count&&!e(o.count),b=R.hasDefaultValue(o),k=v?this.pluralResolver.getSuffix(c,o.count,o):"",S=o.ordinal&&v?this.pluralResolver.getSuffix(c,o.count,{ordinal:!1}):"",O=v&&!o.ordinal&&0===o.count,w=O&&o[`defaultValue${this.options.pluralSeparator}zero`]||o[`defaultValue${k}`]||o[`defaultValue${S}`]||o.defaultValue;let C=d;x&&!d&&b&&(C=w);const P=$(C),j=Object.prototype.toString.apply(C);if(!(x&&C&&P&&["[object Number]","[object Function]","[object RegExp]"].indexOf(j)<0)||e(y)&&Array.isArray(C))if(x&&e(y)&&Array.isArray(d))d=d.join(y),d&&(d=this.extendTranslation(d,t,o,i));else{let e=!1,s=!1;!this.isValidLookup(d)&&b&&(e=!0,d=w),this.isValidLookup(d)||(s=!0,d=r);const n=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:d,l=b&&w!==d&&this.options.updateMissing;if(s||e||l){if(this.logger.log(l?"updateKey":"missingKey",c,h,r,l?w:d),a){const e=this.resolve(r,{...o,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let s=0;s<t.length;s++)e.push(t[s]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(o.lng||this.language):e.push(o.lng||this.language);const s=(e,t,s)=>{const i=b&&s!==d?s:n;this.options.missingKeyHandler?this.options.missingKeyHandler(e,h,t,i,l,o):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,h,t,i,l,o),this.emit("missingKey",e,h,t,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&v?e.forEach(e=>{const t=this.pluralResolver.getSuffixes(e,o);O&&o[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{s([e],r+t,o[`defaultValue${t}`]||w)})}):s(e,r,w))}d=this.extendTranslation(d,t,o,g,i),s&&d===r&&this.options.appendNamespaceToMissingKey&&(d=`${h}${p}${r}`),(s||e)&&this.options.parseMissingKeyHandler&&(d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${h}${p}${r}`:r,e?d:void 0,o))}else{if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,C,{...o,ns:l}):`key '${r} (${this.language})' returned an object instead of string.`;return n?(g.res=e,g.usedParams=this.getUsedParamsDetails(o),g):e}if(a){const e=Array.isArray(C),t=e?[]:{},s=e?m:f;for(const e in C)if(Object.prototype.hasOwnProperty.call(C,e)){const i=`${s}${a}${e}`;t[e]=b&&!d?this.translate(i,{...o,defaultValue:$(w)?w[e]:void 0,joinArrays:!1,ns:l}):this.translate(i,{...o,joinArrays:!1,ns:l}),t[e]===i&&(t[e]=C[e])}d=t}}return n?(g.res=d,g.usedParams=this.getUsedParamsDetails(o),g):d}extendTranslation(t,s,i,o,n){if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const a=e(t)&&(void 0!==i?.interpolation?.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let r;if(a){const e=t.match(this.interpolator.nestingRegexp);r=e&&e.length}let l=i.replace&&!e(i.replace)?i.replace:i;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),t=this.interpolator.interpolate(t,l,i.lng||this.language||o.usedLng,i),a){const e=t.match(this.interpolator.nestingRegexp);r<(e&&e.length)&&(i.nest=!1)}!i.lng&&o&&o.res&&(i.lng=this.language||o.usedLng),!1!==i.nest&&(t=this.interpolator.nest(t,(...e)=>n?.[0]!==e[0]||i.context?this.translate(...e,s):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${s[0]}`),null),i)),i.interpolation&&this.interpolator.reset()}const a=i.postProcess||this.options.postProcess,r=e(a)?[a]:a;return null!=t&&r?.length&&!1!==i.applyPostProcessor&&(t=S.handle(r,t,s,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(i)},...i}:i,this)),t}resolve(t,s={}){let i,o,n,a,r;return e(t)&&(t=[t]),t.forEach(t=>{if(this.isValidLookup(i))return;const l=this.extractFromKey(t,s),h=l.key;o=h;let p=l.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const c=void 0!==s.count&&!e(s.count),u=c&&!s.ordinal&&0===s.count,g=void 0!==s.context&&(e(s.context)||"number"==typeof s.context)&&""!==s.context,d=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);p.forEach(e=>{this.isValidLookup(i)||(r=e,w[`${d[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(r)||(w[`${d[0]}-${e}`]=!0,this.logger.warn(`key "${o}" for languages "${d.join(", ")}" won't get resolved as namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),d.forEach(t=>{if(this.isValidLookup(i))return;a=t;const o=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,h,t,e,s);else{let e;c&&(e=this.pluralResolver.getSuffix(t,s.count,s));const i=`${this.options.pluralSeparator}zero`,n=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(s.ordinal&&0===e.indexOf(n)&&o.push(h+e.replace(n,this.options.pluralSeparator)),o.push(h+e),u&&o.push(h+i)),g){const t=`${h}${this.options.contextSeparator||"_"}${s.context}`;o.push(t),c&&(s.ordinal&&0===e.indexOf(n)&&o.push(t+e.replace(n,this.options.pluralSeparator)),o.push(t+e),u&&o.push(t+i))}}let r;for(;r=o.pop();)this.isValidLookup(i)||(n=r,i=this.getResource(t,e,r,s))}))})}),{res:i,usedKey:o,exactUsedKey:n,usedLng:a,usedNS:r}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,s,i={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,s,i):this.resourceStore.getResource(e,t,s,i)}getUsedParamsDetails(t={}){const s=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&!e(t.replace);let o=i?t.replace:t;if(i&&void 0!==t.count&&(o.count=t.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!i){o={...o};for(const e of s)delete o[e]}return o}static hasDefaultValue(e){const t="defaultValue";for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t===s.substring(0,12)&&void 0!==e[s])return!0;return!1}}class C{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=v.create("languageUtils")}getScriptPartFromCode(e){if(!(e=m(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=m(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(t){if(e(t)&&t.indexOf("-")>-1){let e;try{e=Intl.getCanonicalLocales(t)[0]}catch(e){}return e&&this.options.lowerCaseLng&&(e=e.toLowerCase()),e||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const s=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(s)||(t=s)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const s=this.getScriptPartFromCode(e);if(this.isSupportedCode(s))return t=s;const i=this.getLanguagePartFromCode(e);if(this.isSupportedCode(i))return t=i;t=this.options.supportedLngs.find(e=>e===i?e:e.indexOf("-")<0&&i.indexOf("-")<0?void 0:e.indexOf("-")>0&&i.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===i||0===e.indexOf(i)&&i.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(t,s){if(!t)return[];if("function"==typeof t&&(t=t(s)),e(t)&&(t=[t]),Array.isArray(t))return t;if(!s)return t.default||[];let i=t[s];return i||(i=t[this.getScriptPartFromCode(s)]),i||(i=t[this.formatLanguageCode(s)]),i||(i=t[this.getLanguagePartFromCode(s)]),i||(i=t.default),i||[]}toResolveHierarchy(t,s){const i=this.getFallbackCodes((!1===s?[]:s)||this.options.fallbackLng||[],t),o=[],n=e=>{e&&(this.isSupportedCode(e)?o.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return e(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?("languageOnly"!==this.options.load&&n(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&n(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&n(this.getLanguagePartFromCode(t))):e(t)&&n(this.formatLanguageCode(t)),i.forEach(e=>{o.indexOf(e)<0&&n(this.formatLanguageCode(e))}),o}}const P={zero:0,one:1,two:2,few:3,many:4,other:5},j={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class N{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=v.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){const s=m("dev"===e?"en":e),i=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:s,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let n;try{n=new Intl.PluralRules(s,{type:i})}catch(s){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),j;if(!e.match(/-|_/))return j;const i=this.languageUtils.getLanguagePartFromCode(e);n=this.getRule(i,t)}return this.pluralRulesCache[o]=n,n}needsPlural(e,t={}){let s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),s?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,s={}){return this.getSuffixes(e,s).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),s?s.resolvedOptions().pluralCategories.sort((e,t)=>P[e]-P[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,s={}){const i=this.getRule(e,s);return i?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${i.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,s))}}const E=(t,s,i,o=".",n=!0)=>{let a=((e,t,s)=>{const i=l(e,s);return void 0!==i?i:l(t,s)})(t,s,i);return!a&&n&&e(i)&&(a=f(t,i,o),void 0===a&&(a=f(s,i,o))),a},F=e=>e.replace(/\$/g,"$$$$");class I{constructor(e={}){this.logger=v.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:s,useRawValueToEscape:i,prefix:o,prefixEscaped:n,suffix:a,suffixEscaped:r,formatSeparator:l,unescapeSuffix:h,unescapePrefix:c,nestingPrefix:g,nestingPrefixEscaped:d,nestingSuffix:f,nestingSuffixEscaped:m,nestingOptionsSeparator:y,maxReplaces:x,alwaysFormat:v}=e.interpolation;this.escape=void 0!==t?t:u,this.escapeValue=void 0===s||s,this.useRawValueToEscape=void 0!==i&&i,this.prefix=o?p(o):n||"{{",this.suffix=a?p(a):r||"}}",this.formatSeparator=l||",",this.unescapePrefix=h?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=g?p(g):d||p("$t("),this.nestingSuffix=f?p(f):m||p(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=x||1e3,this.alwaysFormat=void 0!==v&&v,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,i,o,n){let a,r,l;const h=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},p=e=>{if(e.indexOf(this.formatSeparator)<0){const t=E(i,h,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(t,void 0,o,{...n,...i,interpolationkey:e}):t}const t=e.split(this.formatSeparator),s=t.shift().trim(),a=t.join(this.formatSeparator).trim();return this.format(E(i,h,s,this.options.keySeparator,this.options.ignoreJSONStructure),a,o,{...n,...i,interpolationkey:s})};this.resetRegExp();const c=n?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>F(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?F(this.escape(e)):F(e)}].forEach(i=>{for(l=0;a=i.regex.exec(t);){const o=a[1].trim();if(r=p(o),void 0===r)if("function"==typeof c){const s=c(t,a,n);r=e(s)?s:""}else if(n&&Object.prototype.hasOwnProperty.call(n,o))r="";else{if(u){r=a[0];continue}this.logger.warn(`missed to pass in variable ${o} for interpolating ${t}`),r=""}else e(r)||this.useRawValueToEscape||(r=s(r));const h=i.safeValue(r);if(t=t.replace(a[0],h),u?(i.regex.lastIndex+=r.length,i.regex.lastIndex-=a[0].length):i.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,i,o={}){let n,a,r;const l=(e,t)=>{const s=this.nestingOptionsSeparator;if(e.indexOf(s)<0)return e;const i=e.split(new RegExp(`${s}[ ]*{`));let o=`{${i[1]}`;e=i[0],o=this.interpolate(o,r);const n=o.match(/'/g),a=o.match(/"/g);((n?.length??0)%2==0&&!a||a.length%2!=0)&&(o=o.replace(/'/g,'"'));try{r=JSON.parse(o),t&&(r={...t,...r})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${s}${o}`}return r.defaultValue&&r.defaultValue.indexOf(this.prefix)>-1&&delete r.defaultValue,e};for(;n=this.nestingRegexp.exec(t);){let h=[];r={...o},r=r.replace&&!e(r.replace)?r.replace:r,r.applyPostProcessor=!1,delete r.defaultValue;const p=/{.*}/.test(n[1])?n[1].lastIndexOf("}")+1:n[1].indexOf(this.formatSeparator);if(-1!==p&&(h=n[1].slice(p).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),n[1]=n[1].slice(0,p)),a=i(l.call(this,n[1].trim(),r),r),a&&n[0]===t&&!e(a))return a;e(a)||(a=s(a)),a||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${t}`),a=""),h.length&&(a=h.reduce((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()}),a.trim())),t=t.replace(n[0],a),this.regexp.lastIndex=0}return t}}const V=e=>{const t={};return(s,i,o)=>{let n=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(n={...n,[o.interpolationkey]:void 0});const a=i+JSON.stringify(n);let r=t[a];return r||(r=e(m(i),o),t[a]=r),r(s)}},T=e=>(t,s,i)=>e(m(s),i)(t);class D{constructor(e={}){this.logger=v.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";const s=t.cacheInBuiltFormats?V:T;this.formats={number:s((e,t)=>{const s=new Intl.NumberFormat(e,{...t});return e=>s.format(e)}),currency:s((e,t)=>{const s=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>s.format(e)}),datetime:s((e,t)=>{const s=new Intl.DateTimeFormat(e,{...t});return e=>s.format(e)}),relativetime:s((e,t)=>{const s=new Intl.RelativeTimeFormat(e,{...t});return e=>s.format(e,t.range||"day")}),list:s((e,t)=>{const s=new Intl.ListFormat(e,{...t});return e=>s.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=V(t)}format(e,t,s,i={}){const o=t.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(e=>e.indexOf(")")>-1)){const e=o.findIndex(e=>e.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,e)].join(this.formatSeparator)}return o.reduce((e,t)=>{const{formatName:o,formatOptions:n}=(e=>{let t=e.toLowerCase().trim();const s={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const o=i[1].substring(0,i[1].length-1);"currency"===t&&o.indexOf(":")<0?s.currency||(s.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?s.range||(s.range=o.trim()):o.split(";").forEach(e=>{if(e){const[t,...i]=e.split(":"),o=i.join(":").trim().replace(/^'+|'+$/g,""),n=t.trim();s[n]||(s[n]=o),"false"===o&&(s[n]=!1),"true"===o&&(s[n]=!0),isNaN(o)||(s[n]=parseInt(o,10))}})}return{formatName:t,formatOptions:s}})(t);if(this.formats[o]){let t=e;try{const a=i?.formatParams?.[i.interpolationkey]||{},r=a.locale||a.lng||i.locale||i.lng||s;t=this.formats[o](e,r,{...n,...i,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${o}`),e},e)}}class A extends b{constructor(e,t,s,i={}){super(),this.backend=e,this.store=t,this.services=s,this.languageUtils=s.languageUtils,this.options=i,this.logger=v.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(s,i.backend,i)}queueLoad(e,t,s,i){const o={},n={},a={},r={};return e.forEach(e=>{let i=!0;t.forEach(t=>{const a=`${e}|${t}`;!s.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===n[a]&&(n[a]=!0):(this.state[a]=1,i=!1,void 0===n[a]&&(n[a]=!0),void 0===o[a]&&(o[a]=!0),void 0===r[t]&&(r[t]=!0)))}),i||(a[e]=!0)}),(Object.keys(o).length||Object.keys(n).length)&&this.queue.push({pending:n,pendingCount:Object.keys(n).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(n),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(r)}}loaded(e,t,s){const i=e.split("|"),o=i[0],n=i[1];t&&this.emit("failedLoading",o,n,t),!t&&s&&this.store.addResourceBundle(o,n,s,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&s&&(this.state[e]=0);const r={};this.queue.forEach(s=>{((e,t,s)=>{const{obj:i,k:o}=a(e,t,Object);i[o]=i[o]||[],i[o].push(s)})(s.loaded,[o],n),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(s,e),t&&s.errors.push(t),0!==s.pendingCount||s.done||(Object.keys(s.loaded).forEach(e=>{r[e]||(r[e]={});const t=s.loaded[e];t.length&&t.forEach(t=>{void 0===r[e][t]&&(r[e][t]=!0)})}),s.done=!0,s.errors.length?s.callback(s.errors):s.callback())}),this.emit("loaded",r),this.queue=this.queue.filter(e=>!e.done)}read(e,t,s,i=0,o=this.retryTimeout,n){if(!e.length)return n(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:s,tried:i,wait:o,callback:n});this.readingCalls++;const a=(a,r)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&r&&i<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,s,i+1,2*o,n)},o):n(a,r)},r=this.backend[s].bind(this.backend);if(2!==r.length)return r(e,t,a);try{const s=r(e,t);s&&"function"==typeof s.then?s.then(e=>a(null,e)).catch(a):a(null,s)}catch(e){a(e)}}prepareLoading(t,s,i={},o){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();e(t)&&(t=this.languageUtils.toResolveHierarchy(t)),e(s)&&(s=[s]);const n=this.queueLoad(t,s,i,o);if(!n.toLoad.length)return n.pending.length||o(),null;n.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(e,t=""){const s=e.split("|"),i=s[0],o=s[1];this.read(i,o,"read",void 0,void 0,(s,n)=>{s&&this.logger.warn(`${t}loading namespace ${o} for language ${i} failed`,s),!s&&n&&this.logger.log(`${t}loaded namespace ${o} for language ${i}`,n),this.loaded(e,s,n)})}saveMissing(e,t,s,i,o,n={},a=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=s&&""!==s){if(this.backend?.create){const r={...n,isUpdate:o},l=this.backend.create.bind(this.backend);if(l.length<6)try{let o;o=5===l.length?l(e,t,s,i,r):l(e,t,s,i),o&&"function"==typeof o.then?o.then(e=>a(null,e)).catch(a):a(null,o)}catch(e){a(e)}else l(e,t,s,i,a,r)}e&&e[0]&&this.store.addResource(e[0],t,s,i)}}else this.logger.warn(`did not save key "${s}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const K=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let s={};if("object"==typeof t[1]&&(s=t[1]),e(t[1])&&(s.defaultValue=t[1]),e(t[2])&&(s.tDescription=t[2]),"object"==typeof t[2]||"object"==typeof t[3]){const e=t[3]||t[2];Object.keys(e).forEach(t=>{s[t]=e[t]})}return s},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),U=t=>(e(t.ns)&&(t.ns=[t.ns]),e(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),e(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs?.indexOf?.("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),"boolean"==typeof t.initImmediate&&(t.initAsync=t.initImmediate),t),M=()=>{};class H extends b{constructor(e={},t){var s;if(super(),this.options=U(e),this.services={},this.logger=v,this.modules={external:[]},s=this,Object.getOwnPropertyNames(Object.getPrototypeOf(s)).forEach(e=>{"function"==typeof s[e]&&(s[e]=s[e].bind(s))}),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(s={},i){this.isInitializing=!0,"function"==typeof s&&(i=s,s={}),null==s.defaultNS&&s.ns&&(e(s.ns)?s.defaultNS=s.ns:s.ns.indexOf("translation")<0&&(s.defaultNS=s.ns[0]));const o=K();this.options={...o,...this.options,...U(s)},this.options.interpolation={...o.interpolation,...this.options.interpolation},void 0!==s.keySeparator&&(this.options.userDefinedKeySeparator=s.keySeparator),void 0!==s.nsSeparator&&(this.options.userDefinedNsSeparator=s.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=o.overloadTranslationOptionHandler),!0===this.options.debug&&"undefined"!=typeof console&&console.warn("i18next is maintained with support from locize.com — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");const n=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?v.init(n(this.modules.logger),this.options):v.init(null,this.options),e=this.modules.formatter?this.modules.formatter:D;const t=new C(this.options);this.store=new k(this.options.resources,this.options);const s=this.services;s.logger=v,s.resourceStore=this.store,s.languageUtils=t,s.pluralResolver=new N(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix});this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!e||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(s.formatter=n(e),s.formatter.init&&s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new I(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new A(n(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(s.languageDetector=n(this.modules.languageDetector),s.languageDetector.init&&s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=n(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new R(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,i||(i=M),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});const a=t(),r=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(t),i(e,t)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?r():setTimeout(r,0),a}loadResources(t,s=M){let i=s;const o=e(t)?t:this.language;if("function"==typeof t&&(i=t),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===o?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return i();const e=[],t=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};if(o)t(o);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e))}this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),i(e)})}else i(null)}reloadResources(e,s,i){const o=t();return"function"==typeof e&&(i=e,e=void 0),"function"==typeof s&&(i=s,s=void 0),e||(e=this.languages),s||(s=this.options.ns),i||(i=M),this.services.backendConnector.reload(e,s,e=>{o.resolve(),i(e)}),o}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&S.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(s,i){this.isLanguageChangingTo=s;const o=t();this.emit("languageChanging",s);const n=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(e,t)=>{t?this.isLanguageChangingTo===s&&(n(t),this.translator.changeLanguage(t),this.isLanguageChangingTo=void 0,this.emit("languageChanged",t),this.logger.log("languageChanged",t)):this.isLanguageChangingTo=void 0,o.resolve((...e)=>this.t(...e)),i&&i(e,(...e)=>this.t(...e))},r=t=>{s||t||!this.services.languageDetector||(t=[]);const i=e(t)?t:t&&t[0],o=this.store.hasLanguageSomeTranslations(i)?i:this.services.languageUtils.getBestMatchFromCodes(e(t)?[t]:t);o&&(this.language||n(o),this.translator.language||this.translator.changeLanguage(o),this.services.languageDetector?.cacheUserLanguage?.(o)),this.loadResources(o,e=>{a(e,o)})};return s||!this.services.languageDetector||this.services.languageDetector.async?!s&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(r):this.services.languageDetector.detect(r):r(s):r(this.services.languageDetector.detect()),o}getFixedT(t,s,i){const o=(e,t,...s)=>{let n;n="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(s)):{...t},n.lng=n.lng||o.lng,n.lngs=n.lngs||o.lngs,n.ns=n.ns||o.ns,""!==n.keyPrefix&&(n.keyPrefix=n.keyPrefix||i||o.keyPrefix);const a=this.options.keySeparator||".";let r;return n.keyPrefix&&Array.isArray(e)?r=e.map(e=>("function"==typeof e&&(e=L(e,{...this.options,...t})),`${n.keyPrefix}${a}${e}`)):("function"==typeof e&&(e=L(e,{...this.options,...t})),r=n.keyPrefix?`${n.keyPrefix}${a}${e}`:e),this.t(r,n)};return e(t)?o.lng=t:o.lngs=t,o.ns=s,o.keyPrefix=i,o}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const s=t.lng||this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===s.toLowerCase())return!0;const n=(e,t)=>{const s=this.services.backendConnector.state[`${e}|${t}`];return-1===s||0===s||2===s};if(t.precheck){const e=t.precheck(this,n);if(void 0!==e)return e}return!!this.hasResourceBundle(s,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!n(s,e)||i&&!n(o,e)))}loadNamespaces(s,i){const o=t();return this.options.ns?(e(s)&&(s=[s]),s.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{o.resolve(),i&&i(e)}),o):(i&&i(),Promise.resolve())}loadLanguages(s,i){const o=t();e(s)&&(s=[s]);const n=this.options.preload||[],a=s.filter(e=>n.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=n.concat(a),this.loadResources(e=>{o.resolve(),i&&i(e)}),o):(i&&i(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const t=new Intl.Locale(e);if(t&&t.getTextInfo){const e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}const t=this.services?.languageUtils||new C(K());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){const s=new H(e,t);return s.createInstance=H.createInstance,s}cloneInstance(e={},t=M){const s=e.forkResourceStore;s&&delete e.forkResourceStore;const i={...this.options,...e,isClone:!0},o=new H(i);void 0===e.debug&&void 0===e.prefix||(o.logger=o.logger.clone(e));if(["store","services","language"].forEach(e=>{o[e]=this[e]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},s){const e=Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((s,i)=>(s[i]={...e[t][i]},s),e[t]),e),{});o.store=new k(e,i),o.services.resourceStore=o.store}if(e.interpolation){const t={...K().interpolation,...this.options.interpolation,...e.interpolation},s={...i,interpolation:t};o.services.interpolator=new I(s)}return o.translator=new R(o.services,i),o.translator.on("*",(e,...t)=>{o.emit(e,...t)}),o.init(i,t),o.translator.options=i,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const z=H.createInstance();export{z as default,L as keyFromSelector};
@@ -1 +0,0 @@
1
- import{__exports as e}from"../../../_virtual/index.js";import n from"react";Object.defineProperty(e,"__esModule",{value:!0});var t=n;function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(t);!function(e){if(!e||"undefined"==typeof window)return;const n=document.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=e,document.head.appendChild(n)}('.rfm-marquee-container {\n overflow-x: hidden;\n display: flex;\n flex-direction: row;\n position: relative;\n width: var(--width);\n transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n pointer-events: none;\n touch-action: none;\n}\n.rfm-overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n left: 0;\n top: 0;\n}\n\n.rfm-marquee {\n flex: 0 0 auto;\n min-width: var(--min-width);\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}\n\n.rfm-initial-child-container {\n flex: 0 0 auto;\n display: flex;\n min-width: auto;\n flex-direction: row;\n align-items: center;\n}\n\n.rfm-child {\n transform: var(--transform);\n}');const i=t.forwardRef(function({style:e={},className:n="",autoFill:r=!1,play:i=!0,pauseOnHover:o=!1,pauseOnClick:l=!1,direction:s="left",speed:d=50,delay:u=0,loop:c=0,gradient:f=!1,gradientColor:m="white",gradientWidth:p=200,onFinish:v,onCycleComplete:h,onMount:y,children:g},w){const[b,x]=t.useState(0),[E,C]=t.useState(0),[M,N]=t.useState(1),[k,q]=t.useState(!1),O=t.useRef(null),R=w||O,j=t.useRef(null),_=t.useCallback(()=>{if(j.current&&R.current){const e=R.current.getBoundingClientRect(),n=j.current.getBoundingClientRect();let t=e.width,a=n.width;"up"!==s&&"down"!==s||(t=e.height,a=n.height),N(r&&t&&a&&a<t?Math.ceil(t/a):1),x(t),C(a)}},[r,R,s]);t.useEffect(()=>{if(k&&(_(),j.current&&R.current)){const e=new ResizeObserver(()=>_());return e.observe(R.current),e.observe(j.current),()=>{e&&e.disconnect()}}},[_,R,k]),t.useEffect(()=>{_()},[_,g]),t.useEffect(()=>{q(!0)},[]),t.useEffect(()=>{"function"==typeof y&&y()},[]);const A=t.useMemo(()=>r?E*M/d:E<b?b/d:E/d,[r,b,E,M,d]),F=t.useMemo(()=>Object.assign(Object.assign({},e),{"--pause-on-hover":!i||o?"paused":"running","--pause-on-click":!i||o&&!l||l?"paused":"running","--width":"up"===s||"down"===s?"100vh":"100%","--transform":"up"===s?"rotate(-90deg)":"down"===s?"rotate(90deg)":"none"}),[e,i,o,l,s]),S=t.useMemo(()=>({"--gradient-color":m,"--gradient-width":"number"==typeof p?`${p}px`:p}),[m,p]),$=t.useMemo(()=>({"--play":i?"running":"paused","--direction":"left"===s?"normal":"reverse","--duration":`${A}s`,"--delay":`${u}s`,"--iteration-count":c?`${c}`:"infinite","--min-width":r?"auto":"100%"}),[i,s,A,u,c,r]),z=t.useMemo(()=>({"--transform":"up"===s?"rotate(90deg)":"down"===s?"rotate(-90deg)":"none"}),[s]),B=t.useCallback(e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,n)=>a.default.createElement(t.Fragment,{key:n},t.Children.map(g,e=>a.default.createElement("div",{style:z,className:"rfm-child"},e)))),[z,g]);return k?a.default.createElement("div",{ref:R,style:F,className:"rfm-marquee-container "+n},f&&a.default.createElement("div",{style:S,className:"rfm-overlay"}),a.default.createElement("div",{className:"rfm-marquee",style:$,onAnimationIteration:h,onAnimationEnd:v},a.default.createElement("div",{className:"rfm-initial-child-container",ref:j},t.Children.map(g,e=>a.default.createElement("div",{style:z,className:"rfm-child"},e))),B(M-1)),a.default.createElement("div",{className:"rfm-marquee",style:$},B(M))):null});var o=e.default=i;export{o as default};
@@ -1 +0,0 @@
1
- import{useMemo as r,createElement as t}from"react";import{I18nContext as e}from"./context.js";function o({i18n:o,defaultNS:n,children:i}){const c=r(()=>({i18n:o,defaultNS:n}),[o,n]);return t(e.Provider,{value:c},i)}export{o as I18nextProvider};
@@ -1 +0,0 @@
1
- import{createContext as s}from"react";const e=s();class a{constructor(){this.usedNamespaces={}}addUsedNamespaces(s){s.forEach(s=>{this.usedNamespaces[s]||(this.usedNamespaces[s]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}export{e as I18nContext,a as ReportNamespaces};
@@ -1 +0,0 @@
1
- import{unescape as e}from"./unescape.js";let s={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e,transDefaultProps:void 0};const t=(e={})=>{s={...s,...e}},n=()=>s;export{n as getDefaults,t as setDefaults};
@@ -1 +0,0 @@
1
- let t;const e=e=>{t=e},o=()=>t;export{o as getI18n,e as setI18n};
@@ -1 +0,0 @@
1
- import{setDefaults as t}from"./defaults.js";import{setI18n as o}from"./i18nInstance.js";const r={type:"3rdParty",init(r){t(r.options.react),o(r)}};export{r as initReactI18next};
@@ -1 +0,0 @@
1
- const p=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,o={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},t=p=>o[p],e=o=>o.replace(p,t);export{e as unescape};
@@ -1 +0,0 @@
1
- import{useContext as e,useMemo as r,useRef as t,useCallback as n,useState as o,useEffect as a}from"react";import{s as i}from"../../../use-sync-external-store/shim/index.js";import{I18nContext as s,ReportNamespaces as c}from"./context.js";import{warnOnce as l,hasLoadedNamespace as u,loadLanguages as f,loadNamespaces as g,isString as p,isObject as d}from"./utils.js";import{getI18n as y}from"./i18nInstance.js";import{getDefaults as m}from"./defaults.js";const b={t:(e,r)=>p(r)?r:d(r)&&p(r.defaultValue)?r.defaultValue:Array.isArray(e)?e[e.length-1]:e,ready:!1},_=()=>()=>{},x=(d,x={})=>{const{i18n:j}=x,{i18n:N,defaultNS:O}=e(s)||{},P=j||N||y();P&&!P.reportNamespaces&&(P.reportNamespaces=new c),P||l(P,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const S=r(()=>({...m(),...P?.options?.react,...x}),[P,x]),{useSuspense:h,keyPrefix:w}=S,I=d||O||P?.options?.defaultNS,v=p(I)?[I]:I||["translation"],E=r(()=>v,v);P?.reportNamespaces?.addUsedNamespaces?.(E);const k=t(0),T=n(e=>{if(!P)return _;const{bindI18n:r,bindI18nStore:t}=S,n=()=>{k.current+=1,e()};return r&&P.on(r,n),t&&P.store.on(t,n),()=>{r&&r.split(" ").forEach(e=>P.off(e,n)),t&&t.split(" ").forEach(e=>P.store.off(e,n))}},[P,S]),A=t(),z=n(()=>{if(!P)return b;const e=!(!P.isInitialized&&!P.initializedStoreOnce)&&E.every(e=>u(e,P,S)),r=x.lng||P.language,t=k.current,n=A.current;if(n&&n.ready===e&&n.lng===r&&n.keyPrefix===w&&n.revision===t)return n;const o={t:P.getFixedT(r,"fallback"===S.nsMode?E:E[0],w),ready:e,lng:r,keyPrefix:w,revision:t};return A.current=o,o},[P,E,w,S,x.lng]),[V,C]=o(0),{t:D,ready:F}=i.useSyncExternalStore(T,z,z);a(()=>{if(P&&!F&&!h){const e=()=>C(e=>e+1);x.lng?f(P,x.lng,E,e):g(P,E,e)}},[P,x.lng,E,F,h,V]);const L=P||{},M=t(null),R=t(),U=e=>{const r=Object.getOwnPropertyDescriptors(e);r.__original&&delete r.__original;const t=Object.create(Object.getPrototypeOf(e),r);if(!Object.prototype.hasOwnProperty.call(t,"__original"))try{Object.defineProperty(t,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch(e){}return t},X=r(()=>{const e=L,r=e?.language;let t=e;e&&(M.current&&M.current.__original===e?R.current!==r?(t=U(e),M.current=t,R.current=r):t=M.current:(t=U(e),M.current=t,R.current=r));const n=[D,t,F];return n.t=D,n.i18n=t,n.ready=F,n},[D,L,F,L.resolvedLanguage,L.language,L.languages]);if(P&&h&&!F)throw new Promise(e=>{const r=()=>e();x.lng?f(P,x.lng,E,r):g(P,E,r)});return X};export{x as useTranslation};
@@ -1 +0,0 @@
1
- const e=(e,n,a,i)=>{const o=[a,{code:n,...i||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);r(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...o):console?.warn&&console.warn(...o)},n={},a=(a,i,o,s)=>{r(o)&&n[o]||(r(o)&&(n[o]=new Date),e(a,i,o,s))},i=(e,n)=>()=>{if(e.isInitialized)n();else{const a=()=>{setTimeout(()=>{e.off("initialized",a)},0),n()};e.on("initialized",a)}},o=(e,n,a)=>{e.loadNamespaces(n,i(e,a))},s=(e,n,a,s)=>{if(r(a)&&(a=[a]),e.options.preload&&e.options.preload.indexOf(n)>-1)return o(e,a,s);a.forEach(n=>{e.options.ns.indexOf(n)<0&&e.options.ns.push(n)}),e.loadLanguages(n,i(e,s))},g=(e,n,i={})=>n.languages&&n.languages.length?n.hasLoadedNamespace(e,{lng:i.lng,precheck:(n,a)=>{if(i.bindI18n&&i.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!a(n.isLanguageChangingTo,e))return!1}}):(a(n,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:n.languages}),!0),r=e=>"string"==typeof e,t=e=>"object"==typeof e&&null!==e;export{g as hasLoadedNamespace,t as isObject,r as isString,s as loadLanguages,o as loadNamespaces,e as warn,a as warnOnce};
@@ -1 +0,0 @@
1
- import{GenIcon as c}from"../lib/iconBase.js";function t(t){return c({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z"},child:[]}]})(t)}export{t as FaArrowUp};
@@ -1 +0,0 @@
1
- import{GenIcon as t}from"../lib/iconBase.js";function a(a){return t({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(a)}export{a as IoClose};
@@ -1 +0,0 @@
1
- import t from"react";import{IconContext as e,DefaultContext as r}from"./iconContext.js";var n=["attr","size","title"];function o(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i.apply(this,arguments)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){a(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function a(t,e,r){var n;return(e="symbol"==typeof(n=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?n:n+"")in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(e){return e&&e.map((e,r)=>t.createElement(e.tag,l({key:r},e.attr),u(e.child)))}function s(e){return r=>t.createElement(f,i({attr:l({},e.attr)},r),u(e.child))}function f(c){var a=e=>{var r,{attr:a,size:u,title:s}=c,f=o(c,n),p=u||e.size||"1em";return e.className&&(r=e.className),c.className&&(r=(r?r+" ":"")+c.className),t.createElement("svg",i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,a,f,{className:r,style:l(l({color:c.color||e.color},e.style),c.style),height:p,width:p,xmlns:"http://www.w3.org/2000/svg"}),s&&t.createElement("title",null,s),c.children)};return void 0!==e?t.createElement(e.Consumer,null,t=>a(t)):a(r)}export{s as GenIcon,f as IconBase};
@@ -1 +0,0 @@
1
- import o from"react";var t={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},e=o.createContext&&o.createContext(t);export{t as DefaultContext,e as IconContext};
@@ -1 +0,0 @@
1
- var e=function(){return e=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},e.apply(this,arguments)};function t(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function r(e,t,r,n){return new(r||(r=Promise))(function(o,a){function c(e){try{i(n.next(e))}catch(e){a(e)}}function l(e){try{i(n.throw(e))}catch(e){a(e)}}function i(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(c,l)}i((n=n.apply(e,t||[])).next())})}function n(e,t){var r,n,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return c.next=l(0),c.throw=l(1),c.return=l(2),"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function l(l){return function(i){return function(l){if(r)throw new TypeError("Generator is already executing.");for(;c&&(c=0,l[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&l[0]?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,n=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){a.label=l[1];break}if(6===l[0]&&a.label<o[1]){a.label=o[1],o=l;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(l);break}o[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e],n=0}finally{r=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,i])}}}function o(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function a(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}"function"==typeof SuppressedError&&SuppressedError;export{e as __assign,r as __awaiter,n as __generator,a as __makeTemplateObject,t as __rest,o as __spreadArray};
@@ -1 +0,0 @@
1
- import{__exports as e}from"../../../_virtual/use-sync-external-store-shim.development.js";import t from"react";var n;function r(){return n||(n=1,"production"!==process.env.NODE_ENV&&function(){function n(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=t,o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},u=r.useState,a=r.useEffect,i=r.useLayoutEffect,s=r.useDebugValue,_=!1,c=!1,O="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){_||void 0===r.startTransition||(_=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var O=t();if(!c){var l=t();o(O,l)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var f=(l=u({inst:{value:O,getSnapshot:t}}))[0].inst,d=l[1];return i(function(){f.value=O,f.getSnapshot=t,n(f)&&d({inst:f})},[e,O,t]),a(function(){return n(f)&&d({inst:f}),e(function(){n(f)&&d({inst:f})})},[e]),s(O),O};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:O,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),e}export{r as __require};
@@ -1 +0,0 @@
1
- import{__exports as t}from"../../../_virtual/use-sync-external-store-shim.production.js";import e from"react";var n;function r(){if(n)return t;n=1;var r=e;var u="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=r.useState,i=r.useEffect,a=r.useLayoutEffect,s=r.useDebugValue;function c(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!u(t,n)}catch(t){return!0}}var f="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),r=o({inst:{value:n,getSnapshot:e}}),u=r[0].inst,f=r[1];return a(function(){u.value=n,u.getSnapshot=e,c(u)&&f({inst:u})},[t,n,e]),i(function(){return c(u)&&f({inst:u}),t(function(){c(u)&&f({inst:u})})},[t]),s(n),n};return t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:f,t}export{r as __require};
@@ -1 +0,0 @@
1
- import{__module as e}from"../../../_virtual/index2.js";import{__require as r}from"../cjs/use-sync-external-store-shim.production.js";import{__require as s}from"../cjs/use-sync-external-store-shim.development.js";"production"===process.env.NODE_ENV?e.exports=r():e.exports=s();var o=e.exports;export{o as s};
@@ -1 +0,0 @@
1
- import{__assign as e}from"../../node_modules/tslib/tslib.es6.js";import{jsx as t}from"react/jsx-runtime";import n from"react";import"./index.js";import{useTranslation as a}from"../../node_modules/react-i18next/dist/es/useTranslation.js";import o from"../../node_modules/i18next/dist/esm/i18next.js";import{I18nextProvider as r}from"../../node_modules/react-i18next/dist/es/I18nextProvider.js";var s=function(t){var n={};return Object.keys(t).forEach(function(a){var o=t[a];if(o&&"object"==typeof o){var r=void 0,s=o;if(o.language)r=o.language,o.translation&&"object"==typeof o.translation&&(s=o.translation);else if(o.locale)r=o.locale,o.translation&&"object"==typeof o.translation&&(s=o.translation);else if(1===Object.keys(o).length){var i=Object.keys(o)[0];/^[a-z]{2}(-[A-Za-z]{2})?$/.test(i)&&(r=i,s=o[i])}else if(o.translation&&"object"==typeof o.translation&&1===Object.keys(o.translation).length){i=Object.keys(o.translation)[0];/^[a-z]{2}(-[A-Za-z]{2})?$/.test(i)&&(r=i,s=o.translation[i])}if(!r){(r={JP:"ja-JP",HK:"zh-HK",US:"en-US",CN:"zh-CN",EN:"en-US",ZH:"zh-CN"}[a]||a)!==a||/^[a-z]{2}(-[A-Za-z]{2})?$/.test(a)||console.warn('Using key "'.concat(a,'" as language code. For better results, ')+'please use explicit language codes like "ja-JP" or "zh-HK", or include language information in your JSON files.')}if(!r||"string"!=typeof r)return void console.warn("Invalid language code for resource ".concat(a));n[r]||(n[r]={}),s.translation&&"object"==typeof s.translation?n[r].translation=e(e({},n[r].translation),s.translation):n[r].translation=e(e({},n[r].translation),s)}}),n},i=function(){return a()},l=function(e){var a=e.children,s=e.locale,i=e.resources;return n.useEffect(function(){i&&Object.keys(i).forEach(function(e){var t=i[e];Object.keys(t).forEach(function(n){var a=t[n];o.addResourceBundle(e,n,a,!0)})})},[i]),n.useEffect(function(){s&&s!==o.language&&o.changeLanguage(s)},[s]),t(r,{i18n:o,children:a})};export{l as default,s as load18n,i as useI18n};
@@ -1 +0,0 @@
1
- import e from"../../node_modules/i18next/dist/esm/i18next.js";import o from"./locales/zh-CN.json.js";import t from"./locales/en-US.json.js";import{initReactI18next as s}from"../../node_modules/react-i18next/dist/es/initReactI18next.js";e.use(s).init({resources:{"zh-CN":{translation:o},"en-US":{translation:t}},lng:"zh-CN",fallbackLng:"zh-CN",interpolation:{escapeValue:!1}});export{e as default};
@@ -1 +0,0 @@
1
- var e="Title",t="OK",o="Cancel",n="Empty state component used to display friendly prompt messages when there is no data.",i="Please select",_="Introduction",a="Installation",E="Internationalization",s="Button",T="Color Picker",O="Copy to Clipboard",r="Divider",l="Empty State",C="Flex",I="icon",S="Input",N="Marquee",A="Message",c="Notice",h="Notification",d="Radio",D="Table",p="Back to Top",u="Typography",L="Variables",R="API Reference",m="ZjpCy Design",M="IDP Studio",P="Introduction to ZjpCy Design Component Library",g="How to install and reference",U="Internationalization support for component library",f="Customizable button component with multiple styles and sizes.",y="Color selection component that supports preset colors, opacity adjustment, and gradient colors.",H="Component for copying text to clipboard, supporting custom styles and status callbacks.",G="Component for dividing page content, supporting both horizontal and vertical orientations, and solid and dashed types.",Y="General flex layout component that provides flexible layout options.",F="Icon component",w="Input component",b="This is a customizable scrolling announcement component that supports various styles and configuration options.",B="Message component",x="Notice component",W="Notification component",k="Radio component",v="Select component",X="Table component",K="Back to top component",V="Typography component, supports custom width and row limits, displays ellipsis when exceeding row limits.",z="Customize component library theme colors",Z="View component API documentation",j="Language Switch",q="English",J="中文",Q="Version",$="Button Component",ee="Basic Usage",te="Display buttons with different variants and sizes.",oe="Variant Buttons",ne="Size Buttons",ie="Disabled State",_e="Buttons with Icons",ae="Custom Style",Ee="API Parameters",se="Parameter Name",Te="Type",Oe="Default Value",re="Description",le="children",Ce="Button text content",Ie="variant",Se="Button variant style",Ne="size",Ae="Button size",ce="disabled",he="Whether the button is disabled",de="onClick",De="Click event callback",pe="className",ue="Custom CSS class name",Le="style",Re="Custom inline style",me="Button prefix icon, supports string (built-in icon name) or custom icon node",Me="Code Examples",Pe="Usage in Other Projects",ge="Basic Usage",Ue="Different Sizes",fe="Disabled Button",ye="Button with Icon",He="Search",Ge="User",Ye="Delete",Fe="Confirm",we="Warning",be="Custom Style and Click Event",Be="Installation",xe="ZjpCy Design component library supports multiple installation methods, you can choose the one that suits your needs.",We="Installation from Local Files",ke="If you have obtained the local files of the ZjpCy Design component library, you can install it in the following ways:",ve="Install from local directory using npm",Xe="Install the local component library directory as a dependency in your project:",Ke="Install from local directory using yarn",Ve="/path/to/idp-design",ze="is the absolute path to your local ZjpCy Design component library.",Ze="Installation from Git Repository",je="You can directly install the ZjpCy Design component library from the Git repository, supporting specified branches or tags:",qe="Install the latest version of the main branch",Je="Install a specified branch",Qe="branch-name",$e="Replace with the branch name you want to install, for example",et="dev or feature/new-component.",tt="Install a specified tag version",ot="v1.0.0",nt="Replace with the specific version tag you want to install.",it="Updating Dependencies",_t="When a new version of the ZjpCy Design component library is released, you can update the dependencies in the following ways:",at="Update locally installed dependencies",Et="Reinstall local file dependencies",st="Use the --force parameter to force reinstallation to ensure you get the latest local files.",Tt="Update Git repository dependencies",Ot="Or uninstall and then reinstall:",rt="Search",lt="User",Ct="Delete",It="Confirm",St="Warning",Nt="Reference Component",At="ColorPicker Component",ct="Divider orientation",ht="Divider type",dt="Divider color",Dt="Divider Component",pt="Display dividers with different orientations and types.",ut="Horizontal Divider",Lt="Above is the default horizontal divider",Rt="Below is the default horizontal divider",mt="Vertical Divider",Mt="Left Content",Pt="Right Content",gt="Solid and Dashed",Ut="Above is the solid divider (default)",ft="Content between solid and dashed dividers",yt="Below is the dashed divider",Ht="Custom Color",Gt="Dividers with different colors",Yt="Combined Usage",Ft="Horizontal dashed line with custom color",wt="Dividers with custom styles",bt="Divider with Text",Bt="Text content",xt="URL or text content to copy",Wt="Copy status change callback",kt="Custom child element",vt="Copy operation Promise",Xt="Copy successful!",Kt="Copy failed!",Vt="CopyToClipboard Component",zt="Display copy buttons with different styles.",Zt="Text Link Style",jt="Copy Link",qt="Button Style",Jt="Click to copy custom link",Qt="Styled Link",$t="Copy styled link",eo="Using useCopy Hook",to="Use useCopy to copy link",oo="Component",no="Hook",io="success",_o="Empty Empty State",ao="Default Empty State",Eo="Custom Description",so="Custom Icon",To="Custom Image",Oo="With Action Button",ro="Large Size",lo="Middle Size",Co="Small Size",Io="No Excel Files",So="Upload File",No="View Template",Ao="Load Data",co="Transparency Adjustment",ho="Enable transparency adjustment through the alpha property, supporting RGBA color format.",Do="With Transparency",po="Preset Colors",uo="Set common preset colors through the presetColors property for quick selection.",Lo="Disable the color picker through the disabled property; cannot open the selection panel when disabled.",Ro="Color Square",mo="Color Text",Mo="Color Button",Po="Select Color",go="Customize the style of the color picker through the style property.",Uo="Custom Border Radius",fo="Gradient Support",yo="Enable gradient color support through the gradient property, supporting linear gradient color selection.",Ho="Basic Gradient",Go="Gradient Color",Yo="Features",Fo="Lightweight: Only 2.8KB gzipped (13 times lighter than react-color)",wo="Tree Shaking: Only import used parts",bo="Fast: Uses hooks and functional components",Bo="Type Safe: Strict TypeScript support",xo="Mobile Friendly: Supports touch devices",Wo="Accessible: Follows WAI-ARIA guidelines",ko="No Dependencies: Does not depend on other libraries",vo="Flex Component",Xo="Interactive Example",Ko="Adjust various properties of the flex layout in real-time through the buttons and input boxes below.",Vo="Item Count",zo="items",Zo="Direction (higher priority than Layout)",jo="Current Value",qo="Demonstration Effect",Jo="Current Configuration",Qo="Multi-level Nesting Example",$o="Demonstrates the multi-level nesting usage of the Flex component to achieve complex layout structures.",en="Title Area",tn="Vertical Layout",on="Center Alignment",nn="Space Between",_n="Wrap Layout",an="Complex Usage",En="Action Area",sn="Child component content",Tn="Quickly set the layout direction, horizontal for horizontal layout, column for column layout",On="flex-direction property, with higher priority than layout",rn="justify-content property",ln="align-items property",Cn="flex-wrap property",In="gap property, supporting numeric values (px) and strings",Sn="Center Content",Nn="Marquee Announcement Component",An="1. Default Configuration",cn="Default height: 40px, default speed: 50, default gradient background",hn="This is a default configured announcement message that scrolls from right to left and automatically repeats after playback!",dn="Supports custom notice bar height (default: 60px, range: 30-100px)",Dn="Height: 60px",pn="This is an announcement message with a custom height of 60px!",un="3. Custom Speed",Ln="Slow Speed: 20",Rn="This is a slow-scrolling announcement message with a speed of 20!",mn="Fast Speed: 100",Mn="This is a fast-scrolling announcement message with a speed of 100!",Pn="4. Custom Background",gn="Custom Gradient Background",Un="This is an announcement with a custom gradient background",fn="This is the second announcement with a custom gradient background",yn="5. Comprehensive Customization",Hn="Height: 50px, Speed: 75, Custom Background",Gn="This is a comprehensively customized announcement, height 50px, speed 75, custom gradient background!",Yn="6. Fixed to Top",Fn="fixed=true, the announcement bar will be fixed at the top of the page",wn="This is an announcement fixed at the top, remaining visible while scrolling!",bn="7. Close Callback",Bn="Click the close button to trigger onClose callback",xn="This is an announcement with close callback, click the X on the right to close!",Wn="8. Full Functionality Example",kn="Fixed Top + Custom Height + Custom Speed + Close Callback",vn="This is a fully functional announcement with fixed top, custom height and speed, and close support!",Xn="Announcement text, can be a string or string array",Kn="Height of the announcement bar in pixels",Vn="Scrolling speed, larger values scroll faster",zn="Background color of the announcement bar, can be solid color or gradient",Zn="Whether to display the announcement bar",jn="Whether to fix at the top of the page",qn="Distance from the top when fixed, in pixels",Jn="Whether to display the announcement icon",Qn="Callback function when the close button is clicked",$n="Current Color",ei="Current Gradient",ti="Current color value (supports HEX format)",oi="Callback function after confirming color selection",ni="Callback function when color changes in real-time",ii="Array of preset colors",_i="Whether to support gradient colors; after enabling, can select linear gradient colors",ai="Custom trigger area, supports any React node",Ei="Custom icon",si="Custom image path",Ti="No data",Oi="Empty state description",ri="Custom action area",li="Empty state size",Ci="Custom style",Ii="Custom CSS class name",Si="This is a scrolling notification bar component that uses react-fast-marquee to achieve seamless scrolling effects.",Ni="Notice hidden",Ai="Hide notice",ci="Show notice",hi="Custom Configuration",di="Notice text",Di="Enter notice text",pi="Notice bar height",ui="Show close button",Li="Float to top",Ri="Uses Marquee component to achieve seamless scrolling effect",mi="Scrolling speed configurable (default: 50, range: 10-100)",Mi="Supports custom notice text content",Pi="Optional close button, 30px wide, click to hide the notice bar",gi="Supports floating top function, fixed at the top of the page",Ui="Component supports TypeScript type definitions",fi="Usage Scenarios",yi="Website announcements",Hi="System notifications",Gi="Promotional activity information",Yi="Important message reminders",Fi="Scrolling speed, larger values scroll faster",wi="Height of the notice bar in pixels",bi="Custom notice bar styles",Bi="Icon before the notice text",xi="Whether to show the close button",Wi="Custom close button style",ki="Whether to fix and float at the top of the page",vi="Whether to pause scrolling when hovering",Xi="Lightweight message prompt box for displaying success, warning and error messages.",Ki="Click the buttons to display different types of message prompts.",Vi="Show success message",zi="Show warning message",Zi="Show error message",ji="Operation successful!",qi="Warning: Please check your input!",Ji="Operation failed, please try again!",Qi="Message type",$i="Message content",e_="Message auto-close duration (milliseconds)",t_="Message close callback",o_="Modal dialog component for displaying important information or operations that require user confirmation.",n_="Click the button to open the basic modal.",i_="Open Basic Modal",__="Basic Modal",a_="This is the content area of the modal, which can contain any content.",E_="The modal will be centered horizontally and vertically.",s_="Custom Size",T_="You can customize the width and height of the modal.",O_="Small Size Modal",r_="Large Size Modal",l_="This is a small size modal with a width of 400px.",C_="This is a large size modal with a width of 800px and height of 500px.",I_="You can place more content.",S_="Async Confirmation",N_="Click the confirm button to perform asynchronous operations, and close the modal after completion.",A_="Async Confirmation Modal",c_="After clicking the confirm button, it will simulate a 1-second asynchronous operation.",h_="The modal will automatically close after the operation is complete.",d_="Content Height Auto-adjustment",D_="When height is not set, the content area height adapts; when height is set, the content area height is automatically calculated.",p_="Auto-adjust Height",u_="Content Scroll Example",L_="Auto-adjust Height Modal",R_="This is a modal without height set, and the content area height will automatically adjust according to the content.",m_="You can add more content to test the adaptive effect.",M_="Content Scroll Modal",P_="Long Content Test",g_="This is a modal with fixed height, and the content area height is automatically calculated.",U_="When the content exceeds the calculated height, a scrollbar will be automatically displayed.",f_="Animation Direction Demonstration",y_="Supports four animation directions, and opening and closing will use the same direction setting.",H_="Center Animation",G_="Top Right Animation",Y_="Bottom Right Animation",F_="Normal Animation",w_="Open: Enlarge from the center point",b_="Close: Shrink from the center point",B_="Open: Move from top right and enlarge",x_="Close: Move to top right and shrink",W_="Open: Move from bottom right and enlarge",k_="Close: Move to bottom right and shrink",v_="Open: Slightly enlarge and fade in",X_="Close: Slightly shrink and fade out",K_="Custom Top Position",V_="You can customize the modal's distance from the top through the top parameter. When direction is set at the same time, direction will be forced to use normal.",z_="Use top and direction simultaneously",Z_="This modal is 100px from the top",j_="Use the top parameter to customize the vertical position of the modal",q_="This modal is 200px from the top",J_='Although direction="top-right" is set, direction is forced to normal because the top parameter is set at the same time',Q_="Custom Footer",$_="You can customize the bottom buttons through the footer parameter. When footer is null, default buttons are displayed; when a value is provided, custom buttons are displayed.",ea="Custom Footer Modal",ta="Cancel",oa="Save",na="This is a modal with custom footer, which displays three buttons at the bottom: Cancel, Save, and Delete.",ia="You can customize the content and style of the footer according to your needs.",_a="Custom Mount Container",aa="You can specify the HTML node where the Modal is mounted through the getContainer parameter. false means mount in the current DOM.",Ea="Mount in Current DOM",sa="Mount in Custom Container",Ta="This is a custom mount container",Oa='Click the "Mount in Custom Container" button, and the Modal will be mounted here',ra="This Modal is mounted in the current DOM, not in document.body.",la="You can achieve this effect through getContainer={false}.",Ca="This Modal is mounted in a custom container on the page.",Ia="You can specify the mounted HTML node through the getContainer property.",Sa="Custom Mask Background Color",Na="You can customize the mask background color and other styles through the maskStyle property.",Aa="The mask layer of this Modal uses a custom background color (semi-transparent red).",ca="You can set various styles of the mask through the maskStyle property, such as background color, opacity, etc.",ha="Custom zIndex",da="You can set the level of the mask layer through the zIndex property, with a default value of 1000. In the case of nested Modals, you need to set different zIndex values to ensure the correct display level.",Da="Open First Modal",pa="First Modal (zIndex: 1000)",ua="Close",La="Open Second Modal",Ra="This is the first Modal, using the default zIndex value (1000).",ma='Click the "Open Second Modal" button to pop up the second Modal.',Ma="Second Modal (zIndex: 1010)",Pa="This is the second Modal, using a higher zIndex value (1010).",ga="Due to the higher zIndex setting, it will be displayed above the first Modal.",Ua="Controls whether the modal is displayed/hidden (required)",fa="Modal title",ya="Modal width",Ha="Modal height (optional, adapts if not set)",Ga="Top area height",Ya="Bottom area height",Fa="Whether the confirm button shows loading status",wa="Animation direction for opening and closing",ba="Distance from the top of the modal; when set, direction will be forced to normal",Ba="Bottom content, shows default buttons when null, shows custom content when provided",xa="Cancel button click callback",Wa="Confirm button click callback",ka="Modal content",va="Specifies the HTML node where the Modal is mounted; false means mount in current DOM",Xa="Confirm button text",Ka="Cancel button text",Va="Custom mask layer style",za="Custom mask layer class name",Za="z-index value of the mask layer",ja="Typography component",qa="Demonstrates the basic usage of the Typography component.",Ja="Default display (no row limit)",Qa="Limit to 1 row",$a="Limit to 2 rows",eE="Limit to 3 rows",tE="Different widths",oE="Width 200px, limit to 1 row",nE="Width 300px, limit to 2 rows",iE="Width 500px, limit to 3 rows",_E="Mixed Chinese and English text (testing line break issues)",aE="This is a test text containing English, used to test line break issues when mixing Chinese and English. When the text content exceeds the container width, English should follow immediately after Chinese instead of starting a new line separately.",EE="Mixed Chinese and English text (limit to 2 rows)",sE="This is a long test text used to test the row limit function of the Typography component. When the text content exceeds the specified row limit, ellipsis should be displayed at the end. This component supports custom width and row limits to meet different layout needs.",TE="Text content",OE="Width limit",rE="Row limit",lE="Custom style",CE="Custom class name",IE="This is a test text containing English, used to test line break issues when mixing Chinese and English. When the text content exceeds the container width, English should follow immediately after Chinese instead of starting a new line separately.",SE="This is a test text containing English, used to test line break issues when mixing Chinese and English. When the text content exceeds the container width, English should follow immediately after Chinese instead of starting a new line separately.",NE="Default display (no row limit)",AE="Limit to 1 row",cE="Limit to 2 rows",hE="Limit to 3 rows",dE="Different widths",DE="Mixed Chinese and English text (testing line break issues)",pE="Mixed Chinese and English text (limit to 2 rows)",uE="Basic usage",LE="API parameters",RE="Code example",mE="Typography component that supports custom width and row limits, displaying ellipsis when exceeding row limits.",ME="Demonstrates the basic usage of the Typography component.",PE="Width 200px, limit to 1 row",gE="Width 300px, limit to 2 rows",UE="Width 500px, limit to 3 rows",fE={MODAL_TITLE:e,MODAL_OKTEXT:"OK",MODAL_CANCELTEXT:o,EMPTY_DESCRIPTION:n,SELECT_PLACEHOLDER:i,INTRO:_,INSTALL:a,I18N:E,BUTTON:s,COLORPICKER:T,COPYTOCLIPBOARD:O,DIVIDER:r,EMPTY:l,FLEX:C,ICON:I,INPUT:S,MARQUEE:N,MESSAGE:A,NOTICE:c,NOTIFICATION:h,RADIO:d,TABLE:D,TOP:p,TYPOGRAPHY:u,VARIABLES:L,API_REF:R,IDP_DESIGN:m,IDP_STUDIO:M,INTRO_DESCRIPTION:P,INSTALL_DESCRIPTION:g,I18N_DESCRIPTION:U,BUTTON_DESCRIPTION:f,COLORPICKER_DESCRIPTION:y,COPYTOCLIPBOARD_DESCRIPTION:H,DIVIDER_DESCRIPTION:G,FLEX_DESCRIPTION:Y,ICON_DESCRIPTION:F,INPUT_DESCRIPTION:w,MARQUEE_DESCRIPTION:b,MESSAGE_DESCRIPTION:B,NOTICE_DESCRIPTION:x,NOTIFICATION_DESCRIPTION:W,RADIO_DESCRIPTION:k,SELECT_DESCRIPTION:v,TABLE_DESCRIPTION:X,TOP_DESCRIPTION:K,TYPOGRAPHY_DESCRIPTION:V,VARIABLES_DESCRIPTION:z,API_REF_DESCRIPTION:Z,LANGUAGE_SWITCH:j,ENGLISH:q,CHINESE:"中文",VERSION:Q,BUTTON_COMPONENT:$,BASIC_USAGE:ee,SHOW_VARIANTS_SIZES:te,VARIANT_BUTTONS:oe,SIZE_BUTTONS:ne,DISABLED_STATE:ie,ICON_BUTTONS:_e,CUSTOM_STYLE:ae,API_PARAMETERS:Ee,PARAM_NAME:se,TYPE:Te,DEFAULT_VALUE:Oe,DESCRIPTION:re,CHILDREN:le,CHILDREN_DESC:Ce,VARIANT:Ie,VARIANT_DESC:Se,SIZE:Ne,SIZE_DESC:Ae,DISABLED:ce,DISABLED_DESC:he,ON_CLICK:de,ON_CLICK_DESC:De,CLASS_NAME:pe,CLASS_NAME_DESC:ue,STYLE:Le,STYLE_DESC:Re,ICON_DESC:me,CODE_EXAMPLES:Me,USAGE_IN_OTHER_PROJECTS:Pe,BASIC_USAGE_CODE:ge,DIFFERENT_SIZES:Ue,DISABLED_BUTTON:fe,BUTTON_WITH_ICON:ye,BUTTON_SEARCH:He,BUTTON_USER:Ge,BUTTON_DELETE:Ye,BUTTON_CONFIRM:Fe,BUTTON_WARNING:we,CUSTOM_STYLE_CLICK:be,INSTALLATION:Be,INSTALLATION_DESCRIPTION:xe,LOCAL_FILE_INSTALLATION:We,LOCAL_FILE_INSTALLATION_DESC:ke,NPM_LOCAL_INSTALL:ve,NPM_LOCAL_INSTALL_DESC:Xe,YARN_LOCAL_INSTALL:Ke,PATH_TO_IDP_DESIGN:Ve,PATH_TO_IDP_DESIGN_DESC:ze,GIT_REPO_INSTALLATION:Ze,GIT_REPO_INSTALLATION_DESC:je,LATEST_MAIN_BRANCH:qe,SPECIFIC_BRANCH:Je,BRANCH_NAME:Qe,BRANCH_NAME_DESC:$e,EXAMPLE_BRANCHES:et,SPECIFIC_TAG:tt,V1_0_0:ot,V1_0_0_DESC:nt,UPDATING_DEPENDENCIES:it,UPDATING_DEPENDENCIES_DESC:_t,UPDATING_INSTALLED_DEPENDENCIES:at,REINSTALLING_LOCAL_FILES:Et,USING_FORCE_PARAM:st,UPDATING_GIT_DEPENDENCIES:Tt,UNINSTALL_REINSTALL:Ot,SEARCH:rt,USER:lt,DELETE:Ct,CONFIRM:It,WARNING:St,REFERENCE_COMPONENT:Nt,COLORPICKER_COMPONENT:At,DIVIDER_ORIENTATION:ct,DIVIDER_TYPE:ht,DIVIDER_COLOR:dt,DIVIDER_COMPONENT:Dt,DIVIDER_SHOW_ORIENTATIONS_TYPES:pt,HORIZONTAL_DIVIDER:ut,ABOVE_DEFAULT_HORIZONTAL:Lt,BELOW_DEFAULT_HORIZONTAL:Rt,VERTICAL_DIVIDER:mt,LEFT_CONTENT:Mt,RIGHT_CONTENT:Pt,SOLID_DASHED:gt,ABOVE_SOLID_DEFAULT:Ut,CONTENT_BETWEEN_DIVIDERS:ft,BELOW_DASHED:yt,CUSTOM_COLOR:Ht,DIVIDERS_DIFFERENT_COLORS:Gt,COMBINED_USAGE:Yt,HORIZONTAL_DASHED_CUSTOM_COLOR:Ft,DIVIDERS_CUSTOM_STYLE:wt,DIVIDER_WITH_TEXT:bt,TEXT_CONTENT:Bt,COPY_URL_OR_TEXT_CONTENT:xt,COPY_STATUS_CHANGE_CALLBACK:Wt,CUSTOM_CHILD_ELEMENT:kt,COPY_OPERATION_PROMISE:vt,COPY_SUCCESS:Xt,COPY_FAILED:Kt,COPYTOCLIPBOARD_COMPONENT:Vt,DISPLAY_DIFFERENT_STYLES_COPY_BUTTONS:zt,TEXT_LINK_STYLE:Zt,COPY_LINK:jt,BUTTON_STYLE:qt,CLICK_TO_COPY_CUSTOM_LINK:Jt,STYLED_LINK:Qt,COPY_STYLED_LINK:$t,USING_USECOPY_HOOK:eo,USE_USECOPY_TO_COPY_LINK:to,COMPONENT:oo,HOOK:no,SUCCESS:io,EMPTY_COMPONENT:_o,DEFAULT_EMPTY_STATE:ao,CUSTOM_DESCRIPTION:Eo,CUSTOM_ICON:so,CUSTOM_IMAGE:To,WITH_ACTION_BUTTON:Oo,LARGE_SIZE:ro,MIDDLE_SIZE:lo,SMALL_SIZE:Co,NO_EXCEL_FILE:Io,UPLOAD_FILE:So,VIEW_TEMPLATE:No,LOAD_DATA:Ao,TRANSPARENCY_ADJUSTMENT:co,ENABLE_ALPHA_PROPERTY:ho,WITH_TRANSPARENCY:Do,PRESET_COLORS:po,SET_PRESET_COLORS:uo,DISABLE_COLOR_PICKER:Lo,COLOR_SQUARE:Ro,COLOR_TEXT:mo,COLOR_BUTTON:Mo,SELECT_COLOR:Po,CUSTOM_STYLE_PROPERTY:go,CUSTOM_BORDER_RADIUS:Uo,GRADIENT_SUPPORT:fo,ENABLE_GRADIENT:yo,BASIC_GRADIENT:Ho,GRADIENT_COLOR:Go,FEATURES:Yo,LIGHTWEIGHT:Fo,TREE_SHAKING:wo,FAST:bo,TYPE_SAFE:Bo,MOBILE_FRIENDLY:xo,ACCESSIBLE:Wo,NO_DEPENDENCIES:ko,FLEX_COMPONENT:vo,INTERACTIVE_EXAMPLE:Xo,ADJUST_PROPERTIES:Ko,ITEM_COUNT:Vo,ITEMS:zo,DIRECTION:Zo,CURRENT_VALUE:jo,DEMONSTRATION_EFFECT:qo,CURRENT_CONFIGURATION:Jo,MULTI_LEVEL_NESTING:Qo,NESTING_DESCRIPTION:$o,TITLE_AREA:en,VERTICAL_LAYOUT:tn,CENTER_ALIGNMENT:on,JUSTIFY_BETWEEN:nn,WRAP_LAYOUT:_n,COMPLEX_USAGE:an,ACTION_AREA:En,FLEX_CHILDREN_DESC:sn,FLEX_LAYOUT_DESC:Tn,FLEX_DIRECTION_DESC:On,FLEX_JUSTIFY_DESC:rn,FLEX_ALIGN_DESC:ln,FLEX_WRAP_DESC:Cn,FLEX_GAP_DESC:In,CENTER_CONTENT:Sn,MARQUEE_COMPONENT:Nn,DEFAULT_CONFIGURATION:An,DEFAULT_CONFIG_DESC:cn,DEFAULT_ANNOUNCEMENT:hn,CUSTOM_HEIGHT:dn,HEIGHT_60PX:Dn,CUSTOM_HEIGHT_ANNOUNCEMENT:pn,CUSTOM_SPEED:un,SLOW_SPEED:Ln,SLOW_SPEED_ANNOUNCEMENT:Rn,FAST_SPEED:mn,FAST_SPEED_ANNOUNCEMENT:Mn,CUSTOM_BACKGROUND:Pn,CUSTOM_GRADIENT_BACKGROUND:gn,GRADIENT_BACKGROUND_ANNOUNCEMENT_1:Un,GRADIENT_BACKGROUND_ANNOUNCEMENT_2:fn,COMPREHENSIVE_CUSTOM:yn,COMPREHENSIVE_CUSTOM_DESC:Hn,COMPREHENSIVE_ANNOUNCEMENT:Gn,FIXED_TOP:Yn,FIXED_TOP_DESC:Fn,FIXED_TOP_ANNOUNCEMENT:wn,CLOSE_CALLBACK:bn,CLOSE_CALLBACK_DESC:Bn,CLOSE_CALLBACK_ANNOUNCEMENT:xn,FULL_FUNCTIONALITY:Wn,FULL_FUNCTIONALITY_DESC:kn,FULL_FUNCTIONALITY_ANNOUNCEMENT:vn,ANNOUNCEMENT_TEXT:Xn,ANNOUNCEMENT_HEIGHT:Kn,SCROLL_SPEED:Vn,ANNOUNCEMENT_BACKGROUND:zn,DISPLAY_ANNOUNCEMENT:Zn,FIXED_POSITION:jn,FIXED_DISTANCE:qn,DISPLAY_ICON:Jn,CLOSE_BUTTON_CALLBACK:Qn,COLORPICKER_CURRENT_COLOR:$n,COLORPICKER_CURRENT_GRADIENT:ei,COLORPICKER_COLOR_VALUE:ti,COLORPICKER_CONFIRM_CHANGE:oi,COLORPICKER_REAL_TIME_CHANGE:ni,COLORPICKER_PRESET_COLORS:ii,COLORPICKER_GRADIENT_SUPPORT:_i,COLORPICKER_CUSTOM_TRIGGER:ai,EMPTY_CUSTOM_ICON:Ei,EMPTY_CUSTOM_IMAGE_PATH:si,EMPTY_DATA:Ti,EMPTY_STATUS_DESCRIPTION:Oi,EMPTY_CUSTOM_ACTION_AREA:ri,EMPTY_SIZE:li,EMPTY_CUSTOM_STYLE:Ci,EMPTY_CUSTOM_CLASS_NAME:Ii,NOTICE_COMPONENT_DESC:Si,NOTICE_HIDDEN:Ni,HIDE_NOTICE:Ai,SHOW_NOTICE:ci,CUSTOM_CONFIGURATION:hi,NOTICE_TEXT:di,ENTER_NOTICE_TEXT:Di,NOTICE_BAR_HEIGHT:pi,SHOW_CLOSE_BUTTON:ui,FLOAT_TO_TOP:Li,SEAMLESS_SCROLL:Ri,CONFIGURABLE_SPEED:mi,CUSTOM_NOTICE_TEXT:Mi,OPTIONAL_CLOSE_BUTTON:Pi,FLOATING_TOP_FUNCTION:gi,TYPESCRIPT_SUPPORT:Ui,USAGE_SCENARIOS:fi,WEBSITE_ANNOUNCEMENT:yi,SYSTEM_NOTIFICATION:Hi,PROMOTION_INFO:Gi,IMPORTANT_REMINDER:Yi,SPEED_DESC:Fi,HEIGHT_DESC:wi,STYLES_DESC:bi,ICON_NOTICE_DESC:Bi,SHOW_CLOSE_BUTTON_DESC:xi,CLOSE_STYLE_DESC:Wi,FLOATING_TOP_DESC:ki,PAUSE_ON_HOVER_DESC:vi,MESSAGE_COMPONENT_DESC:Xi,CLICK_BUTTONS_TO_SHOW_MESSAGES:Ki,SHOW_SUCCESS_MESSAGE:Vi,SHOW_WARNING_MESSAGE:zi,SHOW_ERROR_MESSAGE:Zi,OPERATION_SUCCESS:ji,WARNING_CHECK_INPUT:qi,OPERATION_FAILED_RETRY:Ji,MESSAGE_TYPE:Qi,MESSAGE_CONTENT:$i,MESSAGE_DURATION:e_,MESSAGE_CLOSE_CALLBACK:t_,MODAL_COMPONENT_DESC:o_,CLICK_BUTTON_OPEN_BASIC_MODAL:n_,OPEN_BASIC_MODAL:i_,BASIC_MODAL:__,MODAL_CONTENT_AREA:a_,MODAL_CENTERED:E_,CUSTOM_SIZE:s_,CAN_CUSTOMIZE_MODAL_WIDTH_HEIGHT:T_,SMALL_SIZE_MODAL:O_,LARGE_SIZE_MODAL:r_,SMALL_SIZE_MODAL_CONTENT:l_,LARGE_SIZE_MODAL_CONTENT:C_,CAN_PLACE_MORE_CONTENT:I_,ASYNC_CONFIRMATION:S_,CLICK_CONFIRM_TO_PERFORM_ASYNC_OPERATION:N_,ASYNC_CONFIRMATION_MODAL:A_,AFTER_CLICK_CONFIRM_BUTTON:c_,MODAL_WILL_AUTOMATICALLY_CLOSE_AFTER_OPERATION_COMPLETE:h_,CONTENT_HEIGHT_AUTO_ADJUSTMENT:d_,WHEN_HEIGHT_NOT_SET_CONTENT_AREA_ADAPTS:D_,AUTO_ADJUST_HEIGHT:p_,CONTENT_SCROLL_EXAMPLE:u_,AUTO_ADJUST_HEIGHT_MODAL:L_,THIS_IS_A_MODAL_WITHOUT_HEIGHT_SET:R_,YOU_CAN_ADD_MORE_CONTENT_TO_TEST_ADAPTIVE_EFFECT:m_,CONTENT_SCROLL_MODAL:M_,LONG_CONTENT_TEST:P_,THIS_IS_A_MODAL_WITH_FIXED_HEIGHT:g_,WHEN_CONTENT_EXCEEDS_CALCULATED_HEIGHT:U_,ANIMATION_DIRECTION_DEMONSTRATION:f_,SUPPORT_FOUR_ANIMATION_DIRECTIONS:y_,CENTER_ANIMATION:H_,TOP_RIGHT_ANIMATION:G_,BOTTOM_RIGHT_ANIMATION:Y_,NORMAL_ANIMATION:F_,OPEN_FROM_CENTER_POINT_ENLARGE:w_,CLOSE_FROM_CENTER_POINT_SHRINK:b_,OPEN_FROM_TOP_RIGHT_MOVE_AND_ENLARGE:B_,CLOSE_TO_TOP_RIGHT_MOVE_AND_SHRINK:x_,OPEN_FROM_BOTTOM_RIGHT_MOVE_AND_ENLARGE:W_,CLOSE_TO_BOTTOM_RIGHT_MOVE_AND_SHRINK:k_,OPEN_SLIGHTLY_ENLARGE_AND_FADE_IN:v_,CLOSE_SLIGHTLY_SHRINK_AND_FADE_OUT:X_,CUSTOM_TOP_POSITION:K_,THROUGH_TOP_PARAM_CUSTOMIZE_MODAL_DISTANCE_FROM_TOP:V_,USE_TOP_AND_DIRECTION_SIMULTANEOUSLY:z_,THIS_MODAL_IS_100PX_FROM_TOP:Z_,USE_TOP_PARAM_TO_CUSTOMIZE_MODAL_VERTICAL_POSITION:j_,THIS_MODAL_IS_200PX_FROM_TOP:q_,ALTHOUGH_DIRECTION_TOP_RIGHT_SET_BUT_DUE_TO_TOP_PARAM:J_,CUSTOM_FOOTER:Q_,CAN_CUSTOMIZE_BOTTOM_BUTTONS_THROUGH_FOOTER_PARAM:$_,CUSTOM_FOOTER_MODAL:ea,CANCEL:ta,SAVE:oa,THIS_IS_A_MODAL_WITH_CUSTOM_FOOTER:na,YOU_CAN_CUSTOMIZE_FOOTER_CONTENT_AND_STYLE:ia,CUSTOM_MOUNT_CONTAINER:_a,CAN_SPECIFY_MODAL_MOUNT_HTML_NODE_THROUGH_GET_CONTAINER_PARAM:aa,MOUNT_IN_CURRENT_DOM:Ea,MOUNT_IN_CUSTOM_CONTAINER:sa,THIS_IS_A_CUSTOM_MOUNT_CONTAINER:Ta,CLICK_MOUNT_IN_CUSTOM_CONTAINER_BUTTON:Oa,THIS_MODAL_IS_MOUNTED_IN_CURRENT_DOM:ra,CAN_ACHIEVE_THIS_EFFECT_THROUGH_GET_CONTAINER_FALSE:la,THIS_MODAL_IS_MOUNTED_IN_CUSTOM_CONTAINER:Ca,CAN_SPECIFY_MOUNTED_HTML_NODE_THROUGH_GET_CONTAINER_PROPERTY:Ia,CUSTOM_MASK_BACKGROUND_COLOR:Sa,CAN_CUSTOMIZE_MASK_BACKGROUND_COLOR_AND_OTHER_STYLES:Na,THIS_MODAL_MASK_USES_CUSTOM_BACKGROUND_COLOR:Aa,CAN_SET_VARIOUS_STYLES_OF_MASK_THROUGH_MASK_STYLE_PROPERTY:ca,CUSTOM_ZINDEX:ha,CAN_SET_MASK_LAYER_LEVEL_THROUGH_ZINDEX_PROPERTY:da,OPEN_FIRST_MODAL:Da,FIRST_MODAL_ZINDEX_1000:pa,CLOSE:ua,OPEN_SECOND_MODAL:La,THIS_IS_THE_FIRST_MODAL_USING_DEFAULT_ZINDEX_1000:Ra,CLICK_OPEN_SECOND_MODAL_BUTTON_TO_POP_UP_SECOND_MODAL:ma,SECOND_MODAL_ZINDEX_1010:Ma,THIS_IS_THE_SECOND_MODAL_USING_HIGHER_ZINDEX_1010:Pa,DUE_TO_HIGHER_ZINDEX_IT_WILL_DISPLAY_ABOVE_FIRST_MODAL:ga,MODAL_VISIBLE_DESC:Ua,MODAL_TITLE_DESC:fa,MODAL_WIDTH_DESC:ya,MODAL_HEIGHT_DESC:Ha,MODAL_HEADER_HEIGHT_DESC:Ga,MODAL_FOOTER_HEIGHT_DESC:Ya,MODAL_CONFIRM_LOADING_DESC:Fa,MODAL_DIRECTION_DESC:wa,MODAL_TOP_DESC:ba,MODAL_FOOTER_DESC:Ba,MODAL_ON_CANCEL_DESC:xa,MODAL_ON_OK_DESC:Wa,MODAL_CHILDREN_DESC:ka,MODAL_GET_CONTAINER_DESC:va,MODAL_OK_TEXT_DESC:Xa,MODAL_CANCEL_TEXT_DESC:Ka,MODAL_MASK_STYLE_DESC:Va,MODAL_MASK_CLASS_NAME_DESC:za,MODAL_Z_INDEX_DESC:Za,TYPOGRAPHY_COMPONENT:ja,SHOW_BASIC_USAGE_TYPOGRAPHY:qa,DEFAULT_DISPLAY_NO_ROW_LIMIT:Ja,LIMIT_1_ROW:Qa,LIMIT_2_ROWS:$a,LIMIT_3_ROWS:eE,DIFFERENT_WIDTHS:tE,WIDTH_200PX_LIMIT_1_ROW:oE,WIDTH_300PX_LIMIT_2_ROWS:nE,WIDTH_500PX_LIMIT_3_ROWS:iE,MIXED_TEXT_WRAPPING:_E,MIXED_TEXT_CONTENT:aE,MIXED_TEXT_LIMIT_2_ROWS:EE,TYPOGRAPHY_LONG_TEXT:sE,TYPOGRAPHY_CHILDREN_DESC:TE,TYPOGRAPHY_WIDTH_DESC:OE,TYPOGRAPHY_ROWS_DESC:rE,TYPOGRAPHY_STYLE_DESC:lE,TYPOGRAPHY_CLASSNAME_DESC:CE,TYPOGRAPHY_MIXED_TEXT:IE,TYPOGRAPHY_MIXED_TEXT_2:SE,TYPOGRAPHY_DEFAULT_DISPLAY:NE,TYPOGRAPHY_LIMIT_1_ROW:AE,TYPOGRAPHY_LIMIT_2_ROWS:cE,TYPOGRAPHY_LIMIT_3_ROWS:hE,TYPOGRAPHY_DIFFERENT_WIDTHS:dE,TYPOGRAPHY_MIXED_TEXT_TEST:DE,TYPOGRAPHY_MIXED_TEXT_TEST_2:pE,TYPOGRAPHY_BASIC_USAGE:uE,TYPOGRAPHY_API_PARAMETERS:LE,TYPOGRAPHY_CODE_EXAMPLE:RE,TYPOGRAPHY_COMPONENT_DESCRIPTION:mE,TYPOGRAPHY_BASIC_USAGE_DESCRIPTION:ME,TYPOGRAPHY_WIDTH_200PX:PE,TYPOGRAPHY_WIDTH_300PX:gE,TYPOGRAPHY_WIDTH_500PX:UE};export{Lt as ABOVE_DEFAULT_HORIZONTAL,Ut as ABOVE_SOLID_DEFAULT,Wo as ACCESSIBLE,En as ACTION_AREA,Ko as ADJUST_PROPERTIES,c_ as AFTER_CLICK_CONFIRM_BUTTON,J_ as ALTHOUGH_DIRECTION_TOP_RIGHT_SET_BUT_DUE_TO_TOP_PARAM,f_ as ANIMATION_DIRECTION_DEMONSTRATION,zn as ANNOUNCEMENT_BACKGROUND,Kn as ANNOUNCEMENT_HEIGHT,Xn as ANNOUNCEMENT_TEXT,Ee as API_PARAMETERS,R as API_REF,Z as API_REF_DESCRIPTION,S_ as ASYNC_CONFIRMATION,A_ as ASYNC_CONFIRMATION_MODAL,p_ as AUTO_ADJUST_HEIGHT,L_ as AUTO_ADJUST_HEIGHT_MODAL,Ho as BASIC_GRADIENT,__ as BASIC_MODAL,ee as BASIC_USAGE,ge as BASIC_USAGE_CODE,yt as BELOW_DASHED,Rt as BELOW_DEFAULT_HORIZONTAL,Y_ as BOTTOM_RIGHT_ANIMATION,Qe as BRANCH_NAME,$e as BRANCH_NAME_DESC,s as BUTTON,$ as BUTTON_COMPONENT,Fe as BUTTON_CONFIRM,Ye as BUTTON_DELETE,f as BUTTON_DESCRIPTION,He as BUTTON_SEARCH,qt as BUTTON_STYLE,Ge as BUTTON_USER,we as BUTTON_WARNING,ye as BUTTON_WITH_ICON,ta as CANCEL,la as CAN_ACHIEVE_THIS_EFFECT_THROUGH_GET_CONTAINER_FALSE,$_ as CAN_CUSTOMIZE_BOTTOM_BUTTONS_THROUGH_FOOTER_PARAM,Na as CAN_CUSTOMIZE_MASK_BACKGROUND_COLOR_AND_OTHER_STYLES,T_ as CAN_CUSTOMIZE_MODAL_WIDTH_HEIGHT,I_ as CAN_PLACE_MORE_CONTENT,da as CAN_SET_MASK_LAYER_LEVEL_THROUGH_ZINDEX_PROPERTY,ca as CAN_SET_VARIOUS_STYLES_OF_MASK_THROUGH_MASK_STYLE_PROPERTY,aa as CAN_SPECIFY_MODAL_MOUNT_HTML_NODE_THROUGH_GET_CONTAINER_PARAM,Ia as CAN_SPECIFY_MOUNTED_HTML_NODE_THROUGH_GET_CONTAINER_PROPERTY,on as CENTER_ALIGNMENT,H_ as CENTER_ANIMATION,Sn as CENTER_CONTENT,le as CHILDREN,Ce as CHILDREN_DESC,J as CHINESE,pe as CLASS_NAME,ue as CLASS_NAME_DESC,Ki as CLICK_BUTTONS_TO_SHOW_MESSAGES,n_ as CLICK_BUTTON_OPEN_BASIC_MODAL,N_ as CLICK_CONFIRM_TO_PERFORM_ASYNC_OPERATION,Oa as CLICK_MOUNT_IN_CUSTOM_CONTAINER_BUTTON,ma as CLICK_OPEN_SECOND_MODAL_BUTTON_TO_POP_UP_SECOND_MODAL,Jt as CLICK_TO_COPY_CUSTOM_LINK,ua as CLOSE,Qn as CLOSE_BUTTON_CALLBACK,bn as CLOSE_CALLBACK,xn as CLOSE_CALLBACK_ANNOUNCEMENT,Bn as CLOSE_CALLBACK_DESC,b_ as CLOSE_FROM_CENTER_POINT_SHRINK,X_ as CLOSE_SLIGHTLY_SHRINK_AND_FADE_OUT,Wi as CLOSE_STYLE_DESC,k_ as CLOSE_TO_BOTTOM_RIGHT_MOVE_AND_SHRINK,x_ as CLOSE_TO_TOP_RIGHT_MOVE_AND_SHRINK,Me as CODE_EXAMPLES,T as COLORPICKER,ti as COLORPICKER_COLOR_VALUE,At as COLORPICKER_COMPONENT,oi as COLORPICKER_CONFIRM_CHANGE,$n as COLORPICKER_CURRENT_COLOR,ei as COLORPICKER_CURRENT_GRADIENT,ai as COLORPICKER_CUSTOM_TRIGGER,y as COLORPICKER_DESCRIPTION,_i as COLORPICKER_GRADIENT_SUPPORT,ii as COLORPICKER_PRESET_COLORS,ni as COLORPICKER_REAL_TIME_CHANGE,Mo as COLOR_BUTTON,Ro as COLOR_SQUARE,mo as COLOR_TEXT,Yt as COMBINED_USAGE,an as COMPLEX_USAGE,oo as COMPONENT,Gn as COMPREHENSIVE_ANNOUNCEMENT,yn as COMPREHENSIVE_CUSTOM,Hn as COMPREHENSIVE_CUSTOM_DESC,mi as CONFIGURABLE_SPEED,It as CONFIRM,ft as CONTENT_BETWEEN_DIVIDERS,d_ as CONTENT_HEIGHT_AUTO_ADJUSTMENT,u_ as CONTENT_SCROLL_EXAMPLE,M_ as CONTENT_SCROLL_MODAL,O as COPYTOCLIPBOARD,Vt as COPYTOCLIPBOARD_COMPONENT,H as COPYTOCLIPBOARD_DESCRIPTION,Kt as COPY_FAILED,jt as COPY_LINK,vt as COPY_OPERATION_PROMISE,Wt as COPY_STATUS_CHANGE_CALLBACK,$t as COPY_STYLED_LINK,Xt as COPY_SUCCESS,xt as COPY_URL_OR_TEXT_CONTENT,Jo as CURRENT_CONFIGURATION,jo as CURRENT_VALUE,Pn as CUSTOM_BACKGROUND,Uo as CUSTOM_BORDER_RADIUS,kt as CUSTOM_CHILD_ELEMENT,Ht as CUSTOM_COLOR,hi as CUSTOM_CONFIGURATION,Eo as CUSTOM_DESCRIPTION,Q_ as CUSTOM_FOOTER,ea as CUSTOM_FOOTER_MODAL,gn as CUSTOM_GRADIENT_BACKGROUND,dn as CUSTOM_HEIGHT,pn as CUSTOM_HEIGHT_ANNOUNCEMENT,so as CUSTOM_ICON,To as CUSTOM_IMAGE,Sa as CUSTOM_MASK_BACKGROUND_COLOR,_a as CUSTOM_MOUNT_CONTAINER,Mi as CUSTOM_NOTICE_TEXT,s_ as CUSTOM_SIZE,un as CUSTOM_SPEED,ae as CUSTOM_STYLE,be as CUSTOM_STYLE_CLICK,go as CUSTOM_STYLE_PROPERTY,K_ as CUSTOM_TOP_POSITION,ha as CUSTOM_ZINDEX,hn as DEFAULT_ANNOUNCEMENT,An as DEFAULT_CONFIGURATION,cn as DEFAULT_CONFIG_DESC,Ja as DEFAULT_DISPLAY_NO_ROW_LIMIT,ao as DEFAULT_EMPTY_STATE,Oe as DEFAULT_VALUE,Ct as DELETE,qo as DEMONSTRATION_EFFECT,re as DESCRIPTION,Ue as DIFFERENT_SIZES,tE as DIFFERENT_WIDTHS,Zo as DIRECTION,ce as DISABLED,fe as DISABLED_BUTTON,he as DISABLED_DESC,ie as DISABLED_STATE,Lo as DISABLE_COLOR_PICKER,Zn as DISPLAY_ANNOUNCEMENT,zt as DISPLAY_DIFFERENT_STYLES_COPY_BUTTONS,Jn as DISPLAY_ICON,r as DIVIDER,wt as DIVIDERS_CUSTOM_STYLE,Gt as DIVIDERS_DIFFERENT_COLORS,dt as DIVIDER_COLOR,Dt as DIVIDER_COMPONENT,G as DIVIDER_DESCRIPTION,ct as DIVIDER_ORIENTATION,pt as DIVIDER_SHOW_ORIENTATIONS_TYPES,ht as DIVIDER_TYPE,bt as DIVIDER_WITH_TEXT,ga as DUE_TO_HIGHER_ZINDEX_IT_WILL_DISPLAY_ABOVE_FIRST_MODAL,l as EMPTY,_o as EMPTY_COMPONENT,ri as EMPTY_CUSTOM_ACTION_AREA,Ii as EMPTY_CUSTOM_CLASS_NAME,Ei as EMPTY_CUSTOM_ICON,si as EMPTY_CUSTOM_IMAGE_PATH,Ci as EMPTY_CUSTOM_STYLE,Ti as EMPTY_DATA,n as EMPTY_DESCRIPTION,li as EMPTY_SIZE,Oi as EMPTY_STATUS_DESCRIPTION,ho as ENABLE_ALPHA_PROPERTY,yo as ENABLE_GRADIENT,q as ENGLISH,Di as ENTER_NOTICE_TEXT,et as EXAMPLE_BRANCHES,bo as FAST,mn as FAST_SPEED,Mn as FAST_SPEED_ANNOUNCEMENT,Yo as FEATURES,pa as FIRST_MODAL_ZINDEX_1000,qn as FIXED_DISTANCE,jn as FIXED_POSITION,Yn as FIXED_TOP,wn as FIXED_TOP_ANNOUNCEMENT,Fn as FIXED_TOP_DESC,C as FLEX,ln as FLEX_ALIGN_DESC,sn as FLEX_CHILDREN_DESC,vo as FLEX_COMPONENT,Y as FLEX_DESCRIPTION,On as FLEX_DIRECTION_DESC,In as FLEX_GAP_DESC,rn as FLEX_JUSTIFY_DESC,Tn as FLEX_LAYOUT_DESC,Cn as FLEX_WRAP_DESC,ki as FLOATING_TOP_DESC,gi as FLOATING_TOP_FUNCTION,Li as FLOAT_TO_TOP,Wn as FULL_FUNCTIONALITY,vn as FULL_FUNCTIONALITY_ANNOUNCEMENT,kn as FULL_FUNCTIONALITY_DESC,Ze as GIT_REPO_INSTALLATION,je as GIT_REPO_INSTALLATION_DESC,Un as GRADIENT_BACKGROUND_ANNOUNCEMENT_1,fn as GRADIENT_BACKGROUND_ANNOUNCEMENT_2,Go as GRADIENT_COLOR,fo as GRADIENT_SUPPORT,Dn as HEIGHT_60PX,wi as HEIGHT_DESC,Ai as HIDE_NOTICE,no as HOOK,Ft as HORIZONTAL_DASHED_CUSTOM_COLOR,ut as HORIZONTAL_DIVIDER,E as I18N,U as I18N_DESCRIPTION,I as ICON,_e as ICON_BUTTONS,me as ICON_DESC,F as ICON_DESCRIPTION,Bi as ICON_NOTICE_DESC,m as IDP_DESIGN,M as IDP_STUDIO,Yi as IMPORTANT_REMINDER,S as INPUT,w as INPUT_DESCRIPTION,a as INSTALL,Be as INSTALLATION,xe as INSTALLATION_DESCRIPTION,g as INSTALL_DESCRIPTION,Xo as INTERACTIVE_EXAMPLE,_ as INTRO,P as INTRO_DESCRIPTION,zo as ITEMS,Vo as ITEM_COUNT,nn as JUSTIFY_BETWEEN,j as LANGUAGE_SWITCH,ro as LARGE_SIZE,r_ as LARGE_SIZE_MODAL,C_ as LARGE_SIZE_MODAL_CONTENT,qe as LATEST_MAIN_BRANCH,Mt as LEFT_CONTENT,Fo as LIGHTWEIGHT,Qa as LIMIT_1_ROW,$a as LIMIT_2_ROWS,eE as LIMIT_3_ROWS,Ao as LOAD_DATA,We as LOCAL_FILE_INSTALLATION,ke as LOCAL_FILE_INSTALLATION_DESC,P_ as LONG_CONTENT_TEST,N as MARQUEE,Nn as MARQUEE_COMPONENT,b as MARQUEE_DESCRIPTION,A as MESSAGE,t_ as MESSAGE_CLOSE_CALLBACK,Xi as MESSAGE_COMPONENT_DESC,$i as MESSAGE_CONTENT,B as MESSAGE_DESCRIPTION,e_ as MESSAGE_DURATION,Qi as MESSAGE_TYPE,lo as MIDDLE_SIZE,aE as MIXED_TEXT_CONTENT,EE as MIXED_TEXT_LIMIT_2_ROWS,_E as MIXED_TEXT_WRAPPING,xo as MOBILE_FRIENDLY,o as MODAL_CANCELTEXT,Ka as MODAL_CANCEL_TEXT_DESC,E_ as MODAL_CENTERED,ka as MODAL_CHILDREN_DESC,o_ as MODAL_COMPONENT_DESC,Fa as MODAL_CONFIRM_LOADING_DESC,a_ as MODAL_CONTENT_AREA,wa as MODAL_DIRECTION_DESC,Ba as MODAL_FOOTER_DESC,Ya as MODAL_FOOTER_HEIGHT_DESC,va as MODAL_GET_CONTAINER_DESC,Ga as MODAL_HEADER_HEIGHT_DESC,Ha as MODAL_HEIGHT_DESC,za as MODAL_MASK_CLASS_NAME_DESC,Va as MODAL_MASK_STYLE_DESC,t as MODAL_OKTEXT,Xa as MODAL_OK_TEXT_DESC,xa as MODAL_ON_CANCEL_DESC,Wa as MODAL_ON_OK_DESC,e as MODAL_TITLE,fa as MODAL_TITLE_DESC,ba as MODAL_TOP_DESC,Ua as MODAL_VISIBLE_DESC,ya as MODAL_WIDTH_DESC,h_ as MODAL_WILL_AUTOMATICALLY_CLOSE_AFTER_OPERATION_COMPLETE,Za as MODAL_Z_INDEX_DESC,Ea as MOUNT_IN_CURRENT_DOM,sa as MOUNT_IN_CUSTOM_CONTAINER,Qo as MULTI_LEVEL_NESTING,$o as NESTING_DESCRIPTION,F_ as NORMAL_ANIMATION,c as NOTICE,pi as NOTICE_BAR_HEIGHT,Si as NOTICE_COMPONENT_DESC,x as NOTICE_DESCRIPTION,Ni as NOTICE_HIDDEN,di as NOTICE_TEXT,h as NOTIFICATION,W as NOTIFICATION_DESCRIPTION,ko as NO_DEPENDENCIES,Io as NO_EXCEL_FILE,ve as NPM_LOCAL_INSTALL,Xe as NPM_LOCAL_INSTALL_DESC,de as ON_CLICK,De as ON_CLICK_DESC,i_ as OPEN_BASIC_MODAL,Da as OPEN_FIRST_MODAL,W_ as OPEN_FROM_BOTTOM_RIGHT_MOVE_AND_ENLARGE,w_ as OPEN_FROM_CENTER_POINT_ENLARGE,B_ as OPEN_FROM_TOP_RIGHT_MOVE_AND_ENLARGE,La as OPEN_SECOND_MODAL,v_ as OPEN_SLIGHTLY_ENLARGE_AND_FADE_IN,Ji as OPERATION_FAILED_RETRY,ji as OPERATION_SUCCESS,Pi as OPTIONAL_CLOSE_BUTTON,se as PARAM_NAME,Ve as PATH_TO_IDP_DESIGN,ze as PATH_TO_IDP_DESIGN_DESC,vi as PAUSE_ON_HOVER_DESC,po as PRESET_COLORS,Gi as PROMOTION_INFO,d as RADIO,k as RADIO_DESCRIPTION,Nt as REFERENCE_COMPONENT,Et as REINSTALLING_LOCAL_FILES,Pt as RIGHT_CONTENT,oa as SAVE,Vn as SCROLL_SPEED,Ri as SEAMLESS_SCROLL,rt as SEARCH,Ma as SECOND_MODAL_ZINDEX_1010,Po as SELECT_COLOR,v as SELECT_DESCRIPTION,i as SELECT_PLACEHOLDER,uo as SET_PRESET_COLORS,qa as SHOW_BASIC_USAGE_TYPOGRAPHY,ui as SHOW_CLOSE_BUTTON,xi as SHOW_CLOSE_BUTTON_DESC,Zi as SHOW_ERROR_MESSAGE,ci as SHOW_NOTICE,Vi as SHOW_SUCCESS_MESSAGE,te as SHOW_VARIANTS_SIZES,zi as SHOW_WARNING_MESSAGE,Ne as SIZE,ne as SIZE_BUTTONS,Ae as SIZE_DESC,Ln as SLOW_SPEED,Rn as SLOW_SPEED_ANNOUNCEMENT,Co as SMALL_SIZE,O_ as SMALL_SIZE_MODAL,l_ as SMALL_SIZE_MODAL_CONTENT,gt as SOLID_DASHED,Je as SPECIFIC_BRANCH,tt as SPECIFIC_TAG,Fi as SPEED_DESC,Le as STYLE,Qt as STYLED_LINK,bi as STYLES_DESC,Re as STYLE_DESC,io as SUCCESS,y_ as SUPPORT_FOUR_ANIMATION_DIRECTIONS,Hi as SYSTEM_NOTIFICATION,D as TABLE,X as TABLE_DESCRIPTION,Bt as TEXT_CONTENT,Zt as TEXT_LINK_STYLE,Ta as THIS_IS_A_CUSTOM_MOUNT_CONTAINER,R_ as THIS_IS_A_MODAL_WITHOUT_HEIGHT_SET,na as THIS_IS_A_MODAL_WITH_CUSTOM_FOOTER,g_ as THIS_IS_A_MODAL_WITH_FIXED_HEIGHT,Ra as THIS_IS_THE_FIRST_MODAL_USING_DEFAULT_ZINDEX_1000,Pa as THIS_IS_THE_SECOND_MODAL_USING_HIGHER_ZINDEX_1010,Z_ as THIS_MODAL_IS_100PX_FROM_TOP,q_ as THIS_MODAL_IS_200PX_FROM_TOP,ra as THIS_MODAL_IS_MOUNTED_IN_CURRENT_DOM,Ca as THIS_MODAL_IS_MOUNTED_IN_CUSTOM_CONTAINER,Aa as THIS_MODAL_MASK_USES_CUSTOM_BACKGROUND_COLOR,V_ as THROUGH_TOP_PARAM_CUSTOMIZE_MODAL_DISTANCE_FROM_TOP,en as TITLE_AREA,p as TOP,K as TOP_DESCRIPTION,G_ as TOP_RIGHT_ANIMATION,co as TRANSPARENCY_ADJUSTMENT,wo as TREE_SHAKING,Te as TYPE,Ui as TYPESCRIPT_SUPPORT,Bo as TYPE_SAFE,u as TYPOGRAPHY,LE as TYPOGRAPHY_API_PARAMETERS,uE as TYPOGRAPHY_BASIC_USAGE,ME as TYPOGRAPHY_BASIC_USAGE_DESCRIPTION,TE as TYPOGRAPHY_CHILDREN_DESC,CE as TYPOGRAPHY_CLASSNAME_DESC,RE as TYPOGRAPHY_CODE_EXAMPLE,ja as TYPOGRAPHY_COMPONENT,mE as TYPOGRAPHY_COMPONENT_DESCRIPTION,NE as TYPOGRAPHY_DEFAULT_DISPLAY,V as TYPOGRAPHY_DESCRIPTION,dE as TYPOGRAPHY_DIFFERENT_WIDTHS,AE as TYPOGRAPHY_LIMIT_1_ROW,cE as TYPOGRAPHY_LIMIT_2_ROWS,hE as TYPOGRAPHY_LIMIT_3_ROWS,sE as TYPOGRAPHY_LONG_TEXT,IE as TYPOGRAPHY_MIXED_TEXT,SE as TYPOGRAPHY_MIXED_TEXT_2,DE as TYPOGRAPHY_MIXED_TEXT_TEST,pE as TYPOGRAPHY_MIXED_TEXT_TEST_2,rE as TYPOGRAPHY_ROWS_DESC,lE as TYPOGRAPHY_STYLE_DESC,PE as TYPOGRAPHY_WIDTH_200PX,gE as TYPOGRAPHY_WIDTH_300PX,UE as TYPOGRAPHY_WIDTH_500PX,OE as TYPOGRAPHY_WIDTH_DESC,Ot as UNINSTALL_REINSTALL,it as UPDATING_DEPENDENCIES,_t as UPDATING_DEPENDENCIES_DESC,Tt as UPDATING_GIT_DEPENDENCIES,at as UPDATING_INSTALLED_DEPENDENCIES,So as UPLOAD_FILE,Pe as USAGE_IN_OTHER_PROJECTS,fi as USAGE_SCENARIOS,lt as USER,z_ as USE_TOP_AND_DIRECTION_SIMULTANEOUSLY,j_ as USE_TOP_PARAM_TO_CUSTOMIZE_MODAL_VERTICAL_POSITION,to as USE_USECOPY_TO_COPY_LINK,st as USING_FORCE_PARAM,eo as USING_USECOPY_HOOK,ot as V1_0_0,nt as V1_0_0_DESC,L as VARIABLES,z as VARIABLES_DESCRIPTION,Ie as VARIANT,oe as VARIANT_BUTTONS,Se as VARIANT_DESC,Q as VERSION,mt as VERTICAL_DIVIDER,tn as VERTICAL_LAYOUT,No as VIEW_TEMPLATE,St as WARNING,qi as WARNING_CHECK_INPUT,yi as WEBSITE_ANNOUNCEMENT,U_ as WHEN_CONTENT_EXCEEDS_CALCULATED_HEIGHT,D_ as WHEN_HEIGHT_NOT_SET_CONTENT_AREA_ADAPTS,oE as WIDTH_200PX_LIMIT_1_ROW,nE as WIDTH_300PX_LIMIT_2_ROWS,iE as WIDTH_500PX_LIMIT_3_ROWS,Oo as WITH_ACTION_BUTTON,Do as WITH_TRANSPARENCY,_n as WRAP_LAYOUT,Ke as YARN_LOCAL_INSTALL,m_ as YOU_CAN_ADD_MORE_CONTENT_TO_TEST_ADAPTIVE_EFFECT,ia as YOU_CAN_CUSTOMIZE_FOOTER_CONTENT_AND_STYLE,fE as default};