@glodon-aiot/react-biz-components 3.2.2-beta.2 → 3.2.2-beta.4

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 (593) hide show
  1. package/dist/aiot-react-biz-components.js +32114 -33071
  2. package/dist/aiot-react-biz-components.umd.cjs +218 -218
  3. package/dist/es/_virtual/AntdIcon.mjs +4 -0
  4. package/dist/es/_virtual/CheckCircleFilled.mjs +4 -0
  5. package/dist/es/_virtual/CheckCircleFilled2.mjs +4 -0
  6. package/dist/es/_virtual/CheckCircleFilled3.mjs +4 -0
  7. package/dist/es/_virtual/CheckCircleOutlined.mjs +4 -0
  8. package/dist/es/_virtual/CheckCircleOutlined2.mjs +4 -0
  9. package/dist/es/_virtual/CheckCircleOutlined3.mjs +4 -0
  10. package/dist/es/_virtual/CloseCircleFilled.mjs +4 -0
  11. package/dist/es/_virtual/CloseCircleFilled2.mjs +4 -0
  12. package/dist/es/_virtual/CloseCircleFilled3.mjs +4 -0
  13. package/dist/es/_virtual/CloseCircleOutlined.mjs +4 -0
  14. package/dist/es/_virtual/CloseCircleOutlined2.mjs +4 -0
  15. package/dist/es/_virtual/CloseCircleOutlined3.mjs +4 -0
  16. package/dist/es/_virtual/CloseOutlined.mjs +4 -0
  17. package/dist/es/_virtual/CloseOutlined2.mjs +4 -0
  18. package/dist/es/_virtual/CloseOutlined3.mjs +4 -0
  19. package/dist/es/_virtual/Context.mjs +4 -0
  20. package/dist/es/_virtual/DisabledContext.mjs +4 -0
  21. package/dist/es/_virtual/ExclamationCircleFilled.mjs +4 -0
  22. package/dist/es/_virtual/ExclamationCircleFilled2.mjs +4 -0
  23. package/dist/es/_virtual/ExclamationCircleFilled3.mjs +4 -0
  24. package/dist/es/_virtual/ExclamationCircleOutlined.mjs +4 -0
  25. package/dist/es/_virtual/ExclamationCircleOutlined2.mjs +4 -0
  26. package/dist/es/_virtual/ExclamationCircleOutlined3.mjs +4 -0
  27. package/dist/es/_virtual/IconBase.mjs +4 -0
  28. package/dist/es/_virtual/InfoCircleFilled.mjs +4 -0
  29. package/dist/es/_virtual/InfoCircleFilled2.mjs +4 -0
  30. package/dist/es/_virtual/InfoCircleFilled3.mjs +4 -0
  31. package/dist/es/_virtual/InfoCircleOutlined.mjs +4 -0
  32. package/dist/es/_virtual/InfoCircleOutlined2.mjs +4 -0
  33. package/dist/es/_virtual/InfoCircleOutlined3.mjs +4 -0
  34. package/dist/es/_virtual/LoadingOutlined.mjs +4 -0
  35. package/dist/es/_virtual/LoadingOutlined2.mjs +4 -0
  36. package/dist/es/_virtual/LoadingOutlined3.mjs +4 -0
  37. package/dist/es/_virtual/LocaleReceiver.mjs +4 -0
  38. package/dist/es/_virtual/Notice.mjs +4 -0
  39. package/dist/es/_virtual/OverloadYield.mjs +4 -0
  40. package/dist/es/_virtual/SizeContext.mjs +4 -0
  41. package/dist/es/_virtual/_commonjsHelpers.mjs +30 -0
  42. package/dist/es/_virtual/arrayLikeToArray.mjs +4 -0
  43. package/dist/es/_virtual/arrayWithHoles.mjs +4 -0
  44. package/dist/es/_virtual/arrayWithoutHoles.mjs +4 -0
  45. package/dist/es/_virtual/assertThisInitialized.mjs +4 -0
  46. package/dist/es/_virtual/axios.mjs +4 -0
  47. package/dist/es/_virtual/canUseDom.mjs +4 -0
  48. package/dist/es/_virtual/classCallCheck.mjs +4 -0
  49. package/dist/es/_virtual/contains.mjs +4 -0
  50. package/dist/es/_virtual/context2.mjs +4 -0
  51. package/dist/es/_virtual/context3.mjs +4 -0
  52. package/dist/es/_virtual/createClass.mjs +4 -0
  53. package/dist/es/_virtual/createSuper.mjs +4 -0
  54. package/dist/es/_virtual/cssVariables.mjs +4 -0
  55. package/dist/es/_virtual/default.mjs +4 -0
  56. package/dist/es/_virtual/default2.mjs +4 -0
  57. package/dist/es/_virtual/defineProperty.mjs +4 -0
  58. package/dist/es/_virtual/dynamicCSS.mjs +4 -0
  59. package/dist/es/_virtual/en_US.mjs +4 -0
  60. package/dist/es/_virtual/en_US2.mjs +4 -0
  61. package/dist/es/_virtual/en_US3.mjs +4 -0
  62. package/dist/es/_virtual/en_US4.mjs +4 -0
  63. package/dist/es/_virtual/en_US5.mjs +4 -0
  64. package/dist/es/_virtual/extends.mjs +4 -0
  65. package/dist/es/_virtual/get.mjs +4 -0
  66. package/dist/es/_virtual/getPrototypeOf.mjs +4 -0
  67. package/dist/es/_virtual/index.esm.mjs +6 -0
  68. package/dist/es/_virtual/index.mjs +4 -0
  69. package/dist/es/_virtual/index2.mjs +4 -0
  70. package/dist/es/_virtual/index3.mjs +4 -0
  71. package/dist/es/_virtual/index4.mjs +4 -0
  72. package/dist/es/_virtual/index5.mjs +6 -0
  73. package/dist/es/_virtual/index6.mjs +4 -0
  74. package/dist/es/_virtual/index7.mjs +4 -0
  75. package/dist/es/_virtual/inherits.mjs +4 -0
  76. package/dist/es/_virtual/interopRequireDefault.mjs +4 -0
  77. package/dist/es/_virtual/interopRequireWildcard.mjs +4 -0
  78. package/dist/es/_virtual/isNativeReflectConstruct.mjs +4 -0
  79. package/dist/es/_virtual/iterableToArray.mjs +4 -0
  80. package/dist/es/_virtual/iterableToArrayLimit.mjs +4 -0
  81. package/dist/es/_virtual/layout.mjs +4 -0
  82. package/dist/es/_virtual/locale.mjs +4 -0
  83. package/dist/es/_virtual/nonIterableRest.mjs +4 -0
  84. package/dist/es/_virtual/nonIterableSpread.mjs +4 -0
  85. package/dist/es/_virtual/objectSpread2.mjs +4 -0
  86. package/dist/es/_virtual/objectWithoutProperties.mjs +4 -0
  87. package/dist/es/_virtual/objectWithoutPropertiesLoose.mjs +4 -0
  88. package/dist/es/_virtual/possibleConstructorReturn.mjs +4 -0
  89. package/dist/es/_virtual/public_api.mjs +6 -0
  90. package/dist/es/_virtual/react-is.development.mjs +4 -0
  91. package/dist/es/_virtual/react-is.production.min.mjs +4 -0
  92. package/dist/es/_virtual/regenerator.mjs +4 -0
  93. package/dist/es/_virtual/regeneratorAsync.mjs +4 -0
  94. package/dist/es/_virtual/regeneratorAsyncGen.mjs +4 -0
  95. package/dist/es/_virtual/regeneratorAsyncIterator.mjs +4 -0
  96. package/dist/es/_virtual/regeneratorDefine.mjs +4 -0
  97. package/dist/es/_virtual/regeneratorKeys.mjs +4 -0
  98. package/dist/es/_virtual/regeneratorRuntime.mjs +4 -0
  99. package/dist/es/_virtual/regeneratorValues.mjs +4 -0
  100. package/dist/es/_virtual/set.mjs +4 -0
  101. package/dist/es/_virtual/setPrototypeOf.mjs +4 -0
  102. package/dist/es/_virtual/slicedToArray.mjs +4 -0
  103. package/dist/es/_virtual/toArray.mjs +4 -0
  104. package/dist/es/_virtual/toConsumableArray.mjs +4 -0
  105. package/dist/es/_virtual/toPrimitive.mjs +4 -0
  106. package/dist/es/_virtual/toPropertyKey.mjs +4 -0
  107. package/dist/es/_virtual/twoTonePrimaryColor.mjs +4 -0
  108. package/dist/es/_virtual/typeof.mjs +4 -0
  109. package/dist/es/_virtual/unsupportedIterableToArray.mjs +4 -0
  110. package/dist/es/_virtual/useMemo.mjs +4 -0
  111. package/dist/es/_virtual/useMessage.mjs +4 -0
  112. package/dist/es/_virtual/useNotification.mjs +4 -0
  113. package/dist/es/_virtual/useNotification2.mjs +4 -0
  114. package/dist/es/_virtual/utils.mjs +4 -0
  115. package/dist/es/_virtual/validateMessagesContext.mjs +4 -0
  116. package/dist/es/_virtual/warning.mjs +4 -0
  117. package/dist/es/_virtual/warning2.mjs +4 -0
  118. package/dist/es/auth/AuthContext.mjs +9 -0
  119. package/dist/es/auth/AuthProvider.mjs +161 -0
  120. package/dist/es/auth/Errors.mjs +4 -0
  121. package/dist/es/auth/RequireAuth.mjs +22 -0
  122. package/dist/es/auth/api/apis.mjs +83 -0
  123. package/dist/es/auth/api/errors.mjs +4 -0
  124. package/dist/es/auth/components/NoPermission/index.mjs +65 -0
  125. package/dist/es/auth/components/NoPermission/style.less.mjs +4 -0
  126. package/dist/es/auth/components/NoPermission/withoutPermission.png.mjs +4 -0
  127. package/dist/es/auth/components/UserInformation/index.mjs +43 -0
  128. package/dist/es/auth/components/UserInformation/style.less.mjs +4 -0
  129. package/dist/es/auth/components/UserInformation/user-default.png.mjs +4 -0
  130. package/dist/es/auth/tool.mjs +53 -0
  131. package/dist/es/favicon.ico +0 -0
  132. package/dist/es/favicon2.ico +0 -0
  133. package/dist/es/font/gos-font.js +64 -0
  134. package/dist/es/images/empty.svg +40 -0
  135. package/dist/es/images/loading.gif +0 -0
  136. package/dist/es/images/logo.png +0 -0
  137. package/dist/es/images/map-example.png +0 -0
  138. package/dist/es/images/sketch.png +0 -0
  139. package/dist/es/index.html +43 -0
  140. package/dist/es/index.mjs +24 -0
  141. package/dist/es/logo192.png +0 -0
  142. package/dist/es/logo512.png +0 -0
  143. package/dist/es/manifest.json +25 -0
  144. package/dist/es/node_modules/@ant-design/colors/es/generate.mjs +74 -0
  145. package/dist/es/node_modules/@ant-design/colors/es/presets.mjs +5 -0
  146. package/dist/es/node_modules/@ant-design/fast-color/es/FastColor.mjs +327 -0
  147. package/dist/es/node_modules/@ant-design/icons/es/components/AntdIcon.mjs +42 -0
  148. package/dist/es/node_modules/@ant-design/icons/es/components/Context.mjs +6 -0
  149. package/dist/es/node_modules/@ant-design/icons/es/components/IconBase.mjs +46 -0
  150. package/dist/es/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.mjs +18 -0
  151. package/dist/es/node_modules/@ant-design/icons/es/icons/DownOutlined.mjs +15 -0
  152. package/dist/es/node_modules/@ant-design/icons/es/utils.mjs +129 -0
  153. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.mjs +21 -0
  154. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.mjs +21 -0
  155. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.mjs +26 -0
  156. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.mjs +22 -0
  157. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/CloseCircleOutlined.mjs +22 -0
  158. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.mjs +22 -0
  159. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.mjs +21 -0
  160. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.mjs +21 -0
  161. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.mjs +21 -0
  162. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.mjs +26 -0
  163. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.mjs +21 -0
  164. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.mjs +26 -0
  165. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.mjs +21 -0
  166. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.mjs +21 -0
  167. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.mjs +21 -0
  168. package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/CheckCircleFilled.mjs +30 -0
  169. package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/CheckCircleOutlined.mjs +35 -0
  170. package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/CloseCircleFilled.mjs +31 -0
  171. package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/CloseCircleOutlined.mjs +31 -0
  172. package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/CloseOutlined.mjs +31 -0
  173. package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/ExclamationCircleFilled.mjs +30 -0
  174. package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/ExclamationCircleOutlined.mjs +35 -0
  175. package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/InfoCircleFilled.mjs +30 -0
  176. package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/InfoCircleOutlined.mjs +35 -0
  177. package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/LoadingOutlined.mjs +30 -0
  178. package/dist/es/node_modules/@babel/runtime/helpers/OverloadYield.mjs +11 -0
  179. package/dist/es/node_modules/@babel/runtime/helpers/arrayLikeToArray.mjs +14 -0
  180. package/dist/es/node_modules/@babel/runtime/helpers/arrayWithHoles.mjs +12 -0
  181. package/dist/es/node_modules/@babel/runtime/helpers/arrayWithoutHoles.mjs +14 -0
  182. package/dist/es/node_modules/@babel/runtime/helpers/assertThisInitialized.mjs +15 -0
  183. package/dist/es/node_modules/@babel/runtime/helpers/classCallCheck.mjs +14 -0
  184. package/dist/es/node_modules/@babel/runtime/helpers/createClass.mjs +23 -0
  185. package/dist/es/node_modules/@babel/runtime/helpers/createSuper.mjs +26 -0
  186. package/dist/es/node_modules/@babel/runtime/helpers/defineProperty.mjs +18 -0
  187. package/dist/es/node_modules/@babel/runtime/helpers/esm/OverloadYield.mjs +6 -0
  188. package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +9 -0
  189. package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.mjs +7 -0
  190. package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +8 -0
  191. package/dist/es/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.mjs +8 -0
  192. package/dist/es/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.mjs +26 -0
  193. package/dist/es/node_modules/@babel/runtime/helpers/esm/classCallCheck.mjs +7 -0
  194. package/dist/es/node_modules/@babel/runtime/helpers/esm/createClass.mjs +15 -0
  195. package/dist/es/node_modules/@babel/runtime/helpers/esm/createSuper.mjs +18 -0
  196. package/dist/es/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
  197. package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
  198. package/dist/es/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.mjs +8 -0
  199. package/dist/es/node_modules/@babel/runtime/helpers/esm/inherits.mjs +17 -0
  200. package/dist/es/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.mjs +13 -0
  201. package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +7 -0
  202. package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.mjs +29 -0
  203. package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableRest.mjs +7 -0
  204. package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
  205. package/dist/es/node_modules/@babel/runtime/helpers/esm/objectSpread2.mjs +25 -0
  206. package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +15 -0
  207. package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +15 -0
  208. package/dist/es/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.mjs +12 -0
  209. package/dist/es/node_modules/@babel/runtime/helpers/esm/regenerator.mjs +85 -0
  210. package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.mjs +10 -0
  211. package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.mjs +8 -0
  212. package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.mjs +34 -0
  213. package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.mjs +28 -0
  214. package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.mjs +14 -0
  215. package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.mjs +75 -0
  216. package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorValues.mjs +23 -0
  217. package/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.mjs +8 -0
  218. package/dist/es/node_modules/@babel/runtime/helpers/esm/slicedToArray.mjs +10 -0
  219. package/dist/es/node_modules/@babel/runtime/helpers/esm/toArray.mjs +10 -0
  220. package/dist/es/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
  221. package/dist/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +16 -0
  222. package/dist/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
  223. package/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
  224. package/dist/es/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +12 -0
  225. package/dist/es/node_modules/@babel/runtime/helpers/extends.mjs +18 -0
  226. package/dist/es/node_modules/@babel/runtime/helpers/getPrototypeOf.mjs +15 -0
  227. package/dist/es/node_modules/@babel/runtime/helpers/inherits.mjs +25 -0
  228. package/dist/es/node_modules/@babel/runtime/helpers/interopRequireDefault.mjs +13 -0
  229. package/dist/es/node_modules/@babel/runtime/helpers/interopRequireWildcard.mjs +32 -0
  230. package/dist/es/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.mjs +20 -0
  231. package/dist/es/node_modules/@babel/runtime/helpers/iterableToArray.mjs +12 -0
  232. package/dist/es/node_modules/@babel/runtime/helpers/iterableToArrayLimit.mjs +34 -0
  233. package/dist/es/node_modules/@babel/runtime/helpers/nonIterableRest.mjs +12 -0
  234. package/dist/es/node_modules/@babel/runtime/helpers/nonIterableSpread.mjs +12 -0
  235. package/dist/es/node_modules/@babel/runtime/helpers/objectSpread2.mjs +31 -0
  236. package/dist/es/node_modules/@babel/runtime/helpers/objectWithoutProperties.mjs +23 -0
  237. package/dist/es/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.mjs +22 -0
  238. package/dist/es/node_modules/@babel/runtime/helpers/possibleConstructorReturn.mjs +20 -0
  239. package/dist/es/node_modules/@babel/runtime/helpers/regenerator.mjs +91 -0
  240. package/dist/es/node_modules/@babel/runtime/helpers/regeneratorAsync.mjs +16 -0
  241. package/dist/es/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.mjs +14 -0
  242. package/dist/es/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.mjs +40 -0
  243. package/dist/es/node_modules/@babel/runtime/helpers/regeneratorDefine.mjs +33 -0
  244. package/dist/es/node_modules/@babel/runtime/helpers/regeneratorKeys.mjs +19 -0
  245. package/dist/es/node_modules/@babel/runtime/helpers/regeneratorRuntime.mjs +81 -0
  246. package/dist/es/node_modules/@babel/runtime/helpers/regeneratorValues.mjs +29 -0
  247. package/dist/es/node_modules/@babel/runtime/helpers/setPrototypeOf.mjs +15 -0
  248. package/dist/es/node_modules/@babel/runtime/helpers/slicedToArray.mjs +16 -0
  249. package/dist/es/node_modules/@babel/runtime/helpers/toArray.mjs +16 -0
  250. package/dist/es/node_modules/@babel/runtime/helpers/toConsumableArray.mjs +16 -0
  251. package/dist/es/node_modules/@babel/runtime/helpers/toPrimitive.mjs +22 -0
  252. package/dist/es/node_modules/@babel/runtime/helpers/toPropertyKey.mjs +15 -0
  253. package/dist/es/node_modules/@babel/runtime/helpers/typeof.mjs +16 -0
  254. package/dist/es/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.mjs +18 -0
  255. package/dist/es/node_modules/@ctrl/tinycolor/dist/module/conversion.mjs +127 -0
  256. package/dist/es/node_modules/@ctrl/tinycolor/dist/module/css-color-names.mjs +153 -0
  257. package/dist/es/node_modules/@ctrl/tinycolor/dist/module/format-input.mjs +105 -0
  258. package/dist/es/node_modules/@ctrl/tinycolor/dist/module/from-ratio.mjs +21 -0
  259. package/dist/es/node_modules/@ctrl/tinycolor/dist/module/index.mjs +209 -0
  260. package/dist/es/node_modules/@ctrl/tinycolor/dist/module/public_api.mjs +38 -0
  261. package/dist/es/node_modules/@ctrl/tinycolor/dist/module/random.mjs +148 -0
  262. package/dist/es/node_modules/@ctrl/tinycolor/dist/module/readability.mjs +44 -0
  263. package/dist/es/node_modules/@ctrl/tinycolor/dist/module/to-ms-filter.mjs +13 -0
  264. package/dist/es/node_modules/@ctrl/tinycolor/dist/module/util.mjs +32 -0
  265. package/dist/es/node_modules/antd/es/_util/colors.mjs +6 -0
  266. package/dist/es/node_modules/antd/es/_util/getRenderPropValue.mjs +6 -0
  267. package/dist/es/node_modules/antd/es/_util/hooks/useFlexGapSupport.mjs +12 -0
  268. package/dist/es/node_modules/antd/es/_util/hooks/useForceUpdate.mjs +11 -0
  269. package/dist/es/node_modules/antd/es/_util/isNumeric.mjs +7 -0
  270. package/dist/es/node_modules/antd/es/_util/motion.mjs +39 -0
  271. package/dist/es/node_modules/antd/es/_util/placements.mjs +76 -0
  272. package/dist/es/node_modules/antd/es/_util/raf.mjs +16 -0
  273. package/dist/es/node_modules/antd/es/_util/reactNode.mjs +17 -0
  274. package/dist/es/node_modules/antd/es/_util/responsiveObserve.mjs +48 -0
  275. package/dist/es/node_modules/antd/es/_util/styleChecker.mjs +15 -0
  276. package/dist/es/node_modules/antd/es/_util/type.mjs +8 -0
  277. package/dist/es/node_modules/antd/es/_util/warning.mjs +13 -0
  278. package/dist/es/node_modules/antd/es/_util/wave.mjs +135 -0
  279. package/dist/es/node_modules/antd/es/avatar/SizeContext.mjs +13 -0
  280. package/dist/es/node_modules/antd/es/avatar/avatar.mjs +111 -0
  281. package/dist/es/node_modules/antd/es/avatar/group.mjs +44 -0
  282. package/dist/es/node_modules/antd/es/avatar/index.mjs +9 -0
  283. package/dist/es/node_modules/antd/es/button/LoadingIcon.mjs +46 -0
  284. package/dist/es/node_modules/antd/es/button/button-group.mjs +42 -0
  285. package/dist/es/node_modules/antd/es/button/button.mjs +117 -0
  286. package/dist/es/node_modules/antd/es/button/index.mjs +4 -0
  287. package/dist/es/node_modules/antd/es/calendar/locale/en_US.mjs +4 -0
  288. package/dist/es/node_modules/antd/es/config-provider/DisabledContext.mjs +12 -0
  289. package/dist/es/node_modules/antd/es/config-provider/SizeContext.mjs +14 -0
  290. package/dist/es/node_modules/antd/es/config-provider/context.mjs +11 -0
  291. package/dist/es/node_modules/antd/es/config-provider/cssVariables.mjs +56 -0
  292. package/dist/es/node_modules/antd/es/config-provider/index.mjs +113 -0
  293. package/dist/es/node_modules/antd/es/date-picker/locale/en_US.mjs +22 -0
  294. package/dist/es/node_modules/antd/es/dropdown/dropdown-button.mjs +63 -0
  295. package/dist/es/node_modules/antd/es/dropdown/dropdown.mjs +94 -0
  296. package/dist/es/node_modules/antd/es/dropdown/index.mjs +4 -0
  297. package/dist/es/node_modules/antd/es/form/validateMessagesContext.mjs +5 -0
  298. package/dist/es/node_modules/antd/es/grid/hooks/useBreakpoint.mjs +17 -0
  299. package/dist/es/node_modules/antd/es/layout/Sider.mjs +120 -0
  300. package/dist/es/node_modules/antd/es/layout/index.mjs +12 -0
  301. package/dist/es/node_modules/antd/es/layout/layout.mjs +97 -0
  302. package/dist/es/node_modules/antd/es/locale/default.mjs +132 -0
  303. package/dist/es/node_modules/antd/es/locale-provider/LocaleReceiver.mjs +18 -0
  304. package/dist/es/node_modules/antd/es/locale-provider/context.mjs +6 -0
  305. package/dist/es/node_modules/antd/es/locale-provider/default.mjs +4 -0
  306. package/dist/es/node_modules/antd/es/locale-provider/index.mjs +26 -0
  307. package/dist/es/node_modules/antd/es/menu/MenuContext.mjs +10 -0
  308. package/dist/es/node_modules/antd/es/menu/MenuDivider.mjs +26 -0
  309. package/dist/es/node_modules/antd/es/menu/MenuItem.mjs +72 -0
  310. package/dist/es/node_modules/antd/es/menu/OverrideContext.mjs +29 -0
  311. package/dist/es/node_modules/antd/es/menu/SubMenu.mjs +40 -0
  312. package/dist/es/node_modules/antd/es/menu/hooks/useItems.mjs +48 -0
  313. package/dist/es/node_modules/antd/es/menu/index.mjs +121 -0
  314. package/dist/es/node_modules/antd/es/message/hooks/useMessage.mjs +51 -0
  315. package/dist/es/node_modules/antd/es/message/index.mjs +141 -0
  316. package/dist/es/node_modules/antd/es/modal/locale.mjs +9 -0
  317. package/dist/es/node_modules/antd/es/notification/hooks/useNotification.mjs +40 -0
  318. package/dist/es/node_modules/antd/es/notification/index.mjs +180 -0
  319. package/dist/es/node_modules/antd/es/popover/index.mjs +48 -0
  320. package/dist/es/node_modules/antd/es/space/Compact.mjs +60 -0
  321. package/dist/es/node_modules/antd/es/space/Item.mjs +21 -0
  322. package/dist/es/node_modules/antd/es/space/index.mjs +75 -0
  323. package/dist/es/node_modules/antd/es/time-picker/locale/en_US.mjs +8 -0
  324. package/dist/es/node_modules/antd/es/tooltip/index.mjs +126 -0
  325. package/dist/es/node_modules/antd/lib/_util/warning.mjs +22 -0
  326. package/dist/es/node_modules/antd/lib/calendar/locale/en_US.mjs +12 -0
  327. package/dist/es/node_modules/antd/lib/config-provider/DisabledContext.mjs +16 -0
  328. package/dist/es/node_modules/antd/lib/config-provider/SizeContext.mjs +18 -0
  329. package/dist/es/node_modules/antd/lib/config-provider/context.mjs +33 -0
  330. package/dist/es/node_modules/antd/lib/config-provider/cssVariables.mjs +66 -0
  331. package/dist/es/node_modules/antd/lib/config-provider/index.mjs +143 -0
  332. package/dist/es/node_modules/antd/lib/date-picker/locale/en_US.mjs +29 -0
  333. package/dist/es/node_modules/antd/lib/form/validateMessagesContext.mjs +9 -0
  334. package/dist/es/node_modules/antd/lib/layout/layout.mjs +98 -0
  335. package/dist/es/node_modules/antd/lib/locale/default.mjs +142 -0
  336. package/dist/es/node_modules/antd/lib/locale-provider/LocaleReceiver.mjs +32 -0
  337. package/dist/es/node_modules/antd/lib/locale-provider/context.mjs +9 -0
  338. package/dist/es/node_modules/antd/lib/locale-provider/default.mjs +12 -0
  339. package/dist/es/node_modules/antd/lib/locale-provider/index.mjs +34 -0
  340. package/dist/es/node_modules/antd/lib/message/hooks/useMessage.mjs +64 -0
  341. package/dist/es/node_modules/antd/lib/message/index.mjs +149 -0
  342. package/dist/es/node_modules/antd/lib/modal/locale.mjs +21 -0
  343. package/dist/es/node_modules/antd/lib/notification/hooks/useNotification.mjs +53 -0
  344. package/dist/es/node_modules/antd/lib/notification/index.mjs +228 -0
  345. package/dist/es/node_modules/antd/lib/time-picker/locale/en_US.mjs +11 -0
  346. package/dist/es/node_modules/antd/node_modules/@ant-design/colors/dist/index.esm.mjs +131 -0
  347. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/CheckCircleFilled.mjs +20 -0
  348. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/CheckCircleOutlined.mjs +20 -0
  349. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/CloseCircleFilled.mjs +20 -0
  350. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/CloseCircleOutlined.mjs +20 -0
  351. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/CloseOutlined.mjs +20 -0
  352. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/ExclamationCircleFilled.mjs +20 -0
  353. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/ExclamationCircleOutlined.mjs +20 -0
  354. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/InfoCircleFilled.mjs +20 -0
  355. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/InfoCircleOutlined.mjs +20 -0
  356. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/LoadingOutlined.mjs +20 -0
  357. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.mjs +41 -0
  358. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/components/Context.mjs +6 -0
  359. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/components/IconBase.mjs +43 -0
  360. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.mjs +18 -0
  361. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/BarsOutlined.mjs +15 -0
  362. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.mjs +15 -0
  363. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs +15 -0
  364. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.mjs +15 -0
  365. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.mjs +15 -0
  366. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs +15 -0
  367. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.mjs +15 -0
  368. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.mjs +15 -0
  369. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.mjs +15 -0
  370. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.mjs +15 -0
  371. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.mjs +15 -0
  372. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.mjs +15 -0
  373. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/LoadingOutlined.mjs +15 -0
  374. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.mjs +15 -0
  375. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/utils.mjs +119 -0
  376. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/components/AntdIcon.mjs +80 -0
  377. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/components/Context.mjs +8 -0
  378. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/components/IconBase.mjs +52 -0
  379. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/components/twoTonePrimaryColor.mjs +31 -0
  380. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/CheckCircleFilled.mjs +49 -0
  381. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/CheckCircleOutlined.mjs +49 -0
  382. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/CloseCircleFilled.mjs +49 -0
  383. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/CloseCircleOutlined.mjs +49 -0
  384. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/CloseOutlined.mjs +49 -0
  385. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/ExclamationCircleFilled.mjs +49 -0
  386. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/ExclamationCircleOutlined.mjs +49 -0
  387. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/InfoCircleFilled.mjs +49 -0
  388. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/InfoCircleOutlined.mjs +49 -0
  389. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/LoadingOutlined.mjs +49 -0
  390. package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/utils.mjs +164 -0
  391. package/dist/es/node_modules/axios/index.mjs +7 -0
  392. package/dist/es/node_modules/axios/lib/adapters/xhr.mjs +71 -0
  393. package/dist/es/node_modules/axios/lib/axios.mjs +36 -0
  394. package/dist/es/node_modules/axios/lib/cancel/Cancel.mjs +15 -0
  395. package/dist/es/node_modules/axios/lib/cancel/CancelToken.mjs +60 -0
  396. package/dist/es/node_modules/axios/lib/cancel/isCancel.mjs +9 -0
  397. package/dist/es/node_modules/axios/lib/core/Axios.mjs +79 -0
  398. package/dist/es/node_modules/axios/lib/core/InterceptorManager.mjs +25 -0
  399. package/dist/es/node_modules/axios/lib/core/buildFullPath.mjs +15 -0
  400. package/dist/es/node_modules/axios/lib/core/createError.mjs +15 -0
  401. package/dist/es/node_modules/axios/lib/core/dispatchRequest.mjs +24 -0
  402. package/dist/es/node_modules/axios/lib/core/enhanceError.mjs +24 -0
  403. package/dist/es/node_modules/axios/lib/core/mergeConfig.mjs +67 -0
  404. package/dist/es/node_modules/axios/lib/core/settle.mjs +15 -0
  405. package/dist/es/node_modules/axios/lib/core/transformData.mjs +11 -0
  406. package/dist/es/node_modules/axios/lib/defaults.mjs +77 -0
  407. package/dist/es/node_modules/axios/lib/env/data.mjs +9 -0
  408. package/dist/es/node_modules/axios/lib/helpers/bind.mjs +10 -0
  409. package/dist/es/node_modules/axios/lib/helpers/buildURL.mjs +30 -0
  410. package/dist/es/node_modules/axios/lib/helpers/combineURLs.mjs +9 -0
  411. package/dist/es/node_modules/axios/lib/helpers/cookies.mjs +42 -0
  412. package/dist/es/node_modules/axios/lib/helpers/isAbsoluteURL.mjs +9 -0
  413. package/dist/es/node_modules/axios/lib/helpers/isAxiosError.mjs +9 -0
  414. package/dist/es/node_modules/axios/lib/helpers/isURLSameOrigin.mjs +42 -0
  415. package/dist/es/node_modules/axios/lib/helpers/normalizeHeaderName.mjs +9 -0
  416. package/dist/es/node_modules/axios/lib/helpers/parseHeaders.mjs +22 -0
  417. package/dist/es/node_modules/axios/lib/helpers/spread.mjs +11 -0
  418. package/dist/es/node_modules/axios/lib/helpers/validator.mjs +40 -0
  419. package/dist/es/node_modules/axios/lib/utils.mjs +113 -0
  420. package/dist/es/node_modules/classnames/index.mjs +43 -0
  421. package/dist/es/node_modules/dom-align/dist-web/index.mjs +564 -0
  422. package/dist/es/node_modules/lodash/_Symbol.mjs +5 -0
  423. package/dist/es/node_modules/lodash/_arrayMap.mjs +9 -0
  424. package/dist/es/node_modules/lodash/_arrayReduce.mjs +10 -0
  425. package/dist/es/node_modules/lodash/_asciiToArray.mjs +7 -0
  426. package/dist/es/node_modules/lodash/_asciiWords.mjs +8 -0
  427. package/dist/es/node_modules/lodash/_baseGetTag.mjs +11 -0
  428. package/dist/es/node_modules/lodash/_basePropertyOf.mjs +9 -0
  429. package/dist/es/node_modules/lodash/_baseSlice.mjs +11 -0
  430. package/dist/es/node_modules/lodash/_baseToString.mjs +19 -0
  431. package/dist/es/node_modules/lodash/_castSlice.mjs +10 -0
  432. package/dist/es/node_modules/lodash/_createCaseFirst.mjs +16 -0
  433. package/dist/es/node_modules/lodash/_createCompounder.mjs +13 -0
  434. package/dist/es/node_modules/lodash/_deburrLetter.mjs +198 -0
  435. package/dist/es/node_modules/lodash/_freeGlobal.mjs +5 -0
  436. package/dist/es/node_modules/lodash/_getRawTag.mjs +16 -0
  437. package/dist/es/node_modules/lodash/_hasUnicode.mjs +8 -0
  438. package/dist/es/node_modules/lodash/_hasUnicodeWord.mjs +8 -0
  439. package/dist/es/node_modules/lodash/_objectToString.mjs +8 -0
  440. package/dist/es/node_modules/lodash/_root.mjs +5 -0
  441. package/dist/es/node_modules/lodash/_stringToArray.mjs +11 -0
  442. package/dist/es/node_modules/lodash/_unicodeToArray.mjs +8 -0
  443. package/dist/es/node_modules/lodash/_unicodeWords.mjs +8 -0
  444. package/dist/es/node_modules/lodash/camelCase.mjs +11 -0
  445. package/dist/es/node_modules/lodash/capitalize.mjs +10 -0
  446. package/dist/es/node_modules/lodash/deburr.mjs +10 -0
  447. package/dist/es/node_modules/lodash/isArray.mjs +4 -0
  448. package/dist/es/node_modules/lodash/isObjectLike.mjs +7 -0
  449. package/dist/es/node_modules/lodash/isSymbol.mjs +10 -0
  450. package/dist/es/node_modules/lodash/toString.mjs +9 -0
  451. package/dist/es/node_modules/lodash/upperFirst.mjs +5 -0
  452. package/dist/es/node_modules/lodash/words.mjs +12 -0
  453. package/dist/es/node_modules/rc-align/es/Align.mjs +65 -0
  454. package/dist/es/node_modules/rc-align/es/hooks/useBuffer.mjs +25 -0
  455. package/dist/es/node_modules/rc-align/es/index.mjs +4 -0
  456. package/dist/es/node_modules/rc-align/es/util.mjs +33 -0
  457. package/dist/es/node_modules/rc-dropdown/es/Dropdown.mjs +76 -0
  458. package/dist/es/node_modules/rc-dropdown/es/hooks/useAccessibility.mjs +37 -0
  459. package/dist/es/node_modules/rc-dropdown/es/index.mjs +4 -0
  460. package/dist/es/node_modules/rc-dropdown/es/placements.mjs +44 -0
  461. package/dist/es/node_modules/rc-menu/es/Divider.mjs +14 -0
  462. package/dist/es/node_modules/rc-menu/es/Icon.mjs +9 -0
  463. package/dist/es/node_modules/rc-menu/es/Menu.mjs +223 -0
  464. package/dist/es/node_modules/rc-menu/es/MenuItem.mjs +105 -0
  465. package/dist/es/node_modules/rc-menu/es/MenuItemGroup.mjs +35 -0
  466. package/dist/es/node_modules/rc-menu/es/SubMenu/InlineSubMenuList.mjs +42 -0
  467. package/dist/es/node_modules/rc-menu/es/SubMenu/PopupTrigger.mjs +53 -0
  468. package/dist/es/node_modules/rc-menu/es/SubMenu/SubMenuList.mjs +19 -0
  469. package/dist/es/node_modules/rc-menu/es/SubMenu/index.mjs +137 -0
  470. package/dist/es/node_modules/rc-menu/es/context/IdContext.mjs +14 -0
  471. package/dist/es/node_modules/rc-menu/es/context/MenuContext.mjs +27 -0
  472. package/dist/es/node_modules/rc-menu/es/context/PathContext.mjs +21 -0
  473. package/dist/es/node_modules/rc-menu/es/context/PrivateContext.mjs +5 -0
  474. package/dist/es/node_modules/rc-menu/es/hooks/useAccessibility.mjs +137 -0
  475. package/dist/es/node_modules/rc-menu/es/hooks/useActive.mjs +21 -0
  476. package/dist/es/node_modules/rc-menu/es/hooks/useDirectionStyle.mjs +16 -0
  477. package/dist/es/node_modules/rc-menu/es/hooks/useKeyRecords.mjs +64 -0
  478. package/dist/es/node_modules/rc-menu/es/hooks/useMemoCallback.mjs +14 -0
  479. package/dist/es/node_modules/rc-menu/es/hooks/useUUID.mjs +17 -0
  480. package/dist/es/node_modules/rc-menu/es/index.mjs +20 -0
  481. package/dist/es/node_modules/rc-menu/es/placements.mjs +51 -0
  482. package/dist/es/node_modules/rc-menu/es/utils/motionUtil.mjs +9 -0
  483. package/dist/es/node_modules/rc-menu/es/utils/nodeUtil.mjs +57 -0
  484. package/dist/es/node_modules/rc-menu/es/utils/timeUtil.mjs +6 -0
  485. package/dist/es/node_modules/rc-menu/es/utils/warnUtil.mjs +14 -0
  486. package/dist/es/node_modules/rc-motion/es/CSSMotion.mjs +73 -0
  487. package/dist/es/node_modules/rc-motion/es/CSSMotionList.mjs +95 -0
  488. package/dist/es/node_modules/rc-motion/es/DomWrapper.mjs +21 -0
  489. package/dist/es/node_modules/rc-motion/es/context.mjs +5 -0
  490. package/dist/es/node_modules/rc-motion/es/hooks/useDomMotionEvents.mjs +20 -0
  491. package/dist/es/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.mjs +6 -0
  492. package/dist/es/node_modules/rc-motion/es/hooks/useNextFrame.mjs +28 -0
  493. package/dist/es/node_modules/rc-motion/es/hooks/useStatus.mjs +95 -0
  494. package/dist/es/node_modules/rc-motion/es/hooks/useStepQueue.mjs +38 -0
  495. package/dist/es/node_modules/rc-motion/es/index.mjs +7 -0
  496. package/dist/es/node_modules/rc-motion/es/interface.mjs +13 -0
  497. package/dist/es/node_modules/rc-motion/es/util/diff.mjs +65 -0
  498. package/dist/es/node_modules/rc-motion/es/util/motion.mjs +51 -0
  499. package/dist/es/node_modules/rc-notification/es/Notice.mjs +83 -0
  500. package/dist/es/node_modules/rc-notification/es/Notification.mjs +165 -0
  501. package/dist/es/node_modules/rc-notification/es/index.mjs +4 -0
  502. package/dist/es/node_modules/rc-notification/es/useNotification.mjs +33 -0
  503. package/dist/es/node_modules/rc-notification/lib/Notice.mjs +122 -0
  504. package/dist/es/node_modules/rc-notification/lib/useNotification.mjs +65 -0
  505. package/dist/es/node_modules/rc-overflow/es/Item.mjs +49 -0
  506. package/dist/es/node_modules/rc-overflow/es/Overflow.mjs +146 -0
  507. package/dist/es/node_modules/rc-overflow/es/RawItem.mjs +26 -0
  508. package/dist/es/node_modules/rc-overflow/es/context.mjs +5 -0
  509. package/dist/es/node_modules/rc-overflow/es/hooks/channelUpdate.mjs +14 -0
  510. package/dist/es/node_modules/rc-overflow/es/hooks/useEffectState.mjs +29 -0
  511. package/dist/es/node_modules/rc-overflow/es/index.mjs +4 -0
  512. package/dist/es/node_modules/rc-pagination/es/locale/en_US.mjs +18 -0
  513. package/dist/es/node_modules/rc-pagination/lib/locale/en_US.mjs +21 -0
  514. package/dist/es/node_modules/rc-picker/es/locale/en_US.mjs +32 -0
  515. package/dist/es/node_modules/rc-picker/lib/locale/en_US.mjs +35 -0
  516. package/dist/es/node_modules/rc-resize-observer/es/Collection.mjs +22 -0
  517. package/dist/es/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.mjs +21 -0
  518. package/dist/es/node_modules/rc-resize-observer/es/SingleObserver/index.mjs +59 -0
  519. package/dist/es/node_modules/rc-resize-observer/es/index.mjs +24 -0
  520. package/dist/es/node_modules/rc-resize-observer/es/utils/observerUtil.mjs +23 -0
  521. package/dist/es/node_modules/rc-tooltip/es/Popup.mjs +20 -0
  522. package/dist/es/node_modules/rc-tooltip/es/Tooltip.mjs +59 -0
  523. package/dist/es/node_modules/rc-tooltip/es/index.mjs +6 -0
  524. package/dist/es/node_modules/rc-tooltip/es/placements.mjs +81 -0
  525. package/dist/es/node_modules/rc-trigger/es/Popup/Mask.mjs +35 -0
  526. package/dist/es/node_modules/rc-trigger/es/Popup/MobilePopupInner.mjs +42 -0
  527. package/dist/es/node_modules/rc-trigger/es/Popup/PopupInner.mjs +109 -0
  528. package/dist/es/node_modules/rc-trigger/es/Popup/index.mjs +29 -0
  529. package/dist/es/node_modules/rc-trigger/es/Popup/useStretchStyle.mjs +27 -0
  530. package/dist/es/node_modules/rc-trigger/es/Popup/useVisibleStatus.mjs +58 -0
  531. package/dist/es/node_modules/rc-trigger/es/context.mjs +5 -0
  532. package/dist/es/node_modules/rc-trigger/es/index.mjs +365 -0
  533. package/dist/es/node_modules/rc-trigger/es/utils/alignUtil.mjs +20 -0
  534. package/dist/es/node_modules/rc-trigger/es/utils/legacyUtil.mjs +11 -0
  535. package/dist/es/node_modules/rc-util/es/Children/toArray.mjs +11 -0
  536. package/dist/es/node_modules/rc-util/es/Dom/addEventListener.mjs +14 -0
  537. package/dist/es/node_modules/rc-util/es/Dom/canUseDom.mjs +6 -0
  538. package/dist/es/node_modules/rc-util/es/Dom/contains.mjs +15 -0
  539. package/dist/es/node_modules/rc-util/es/Dom/dynamicCSS.mjs +79 -0
  540. package/dist/es/node_modules/rc-util/es/Dom/findDOMNode.mjs +24 -0
  541. package/dist/es/node_modules/rc-util/es/Dom/focus.mjs +24 -0
  542. package/dist/es/node_modules/rc-util/es/Dom/isVisible.mjs +22 -0
  543. package/dist/es/node_modules/rc-util/es/Dom/shadow.mjs +14 -0
  544. package/dist/es/node_modules/rc-util/es/KeyCode.mjs +517 -0
  545. package/dist/es/node_modules/rc-util/es/Portal.mjs +21 -0
  546. package/dist/es/node_modules/rc-util/es/React/isFragment.mjs +13 -0
  547. package/dist/es/node_modules/rc-util/es/React/render.mjs +81 -0
  548. package/dist/es/node_modules/rc-util/es/hooks/useEvent.mjs +14 -0
  549. package/dist/es/node_modules/rc-util/es/hooks/useLayoutEffect.mjs +21 -0
  550. package/dist/es/node_modules/rc-util/es/hooks/useMemo.mjs +8 -0
  551. package/dist/es/node_modules/rc-util/es/hooks/useMergedState.mjs +25 -0
  552. package/dist/es/node_modules/rc-util/es/hooks/useState.mjs +17 -0
  553. package/dist/es/node_modules/rc-util/es/hooks/useSyncState.mjs +16 -0
  554. package/dist/es/node_modules/rc-util/es/isEqual.mjs +35 -0
  555. package/dist/es/node_modules/rc-util/es/isMobile.mjs +9 -0
  556. package/dist/es/node_modules/rc-util/es/omit.mjs +9 -0
  557. package/dist/es/node_modules/rc-util/es/raf.mjs +40 -0
  558. package/dist/es/node_modules/rc-util/es/ref.mjs +52 -0
  559. package/dist/es/node_modules/rc-util/es/utils/get.mjs +11 -0
  560. package/dist/es/node_modules/rc-util/es/utils/set.mjs +47 -0
  561. package/dist/es/node_modules/rc-util/es/warning.mjs +44 -0
  562. package/dist/es/node_modules/rc-util/lib/Dom/canUseDom.mjs +8 -0
  563. package/dist/es/node_modules/rc-util/lib/Dom/contains.mjs +17 -0
  564. package/dist/es/node_modules/rc-util/lib/Dom/dynamicCSS.mjs +100 -0
  565. package/dist/es/node_modules/rc-util/lib/hooks/useMemo.mjs +13 -0
  566. package/dist/es/node_modules/rc-util/lib/utils/get.mjs +13 -0
  567. package/dist/es/node_modules/rc-util/lib/utils/set.mjs +53 -0
  568. package/dist/es/node_modules/rc-util/lib/warning.mjs +47 -0
  569. package/dist/es/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.mjs +103 -0
  570. package/dist/es/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.mjs +82 -0
  571. package/dist/es/node_modules/rc-util/node_modules/react-is/index.mjs +8 -0
  572. package/dist/es/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.mjs +294 -0
  573. package/dist/es/robots.txt +3 -0
  574. package/dist/lib/favicon.ico +0 -0
  575. package/dist/lib/favicon2.ico +0 -0
  576. package/dist/lib/font/gos-font.js +64 -0
  577. package/dist/lib/images/empty.svg +40 -0
  578. package/dist/lib/images/loading.gif +0 -0
  579. package/dist/lib/images/logo.png +0 -0
  580. package/dist/lib/images/map-example.png +0 -0
  581. package/dist/lib/images/sketch.png +0 -0
  582. package/dist/lib/index.html +43 -0
  583. package/dist/lib/index.js +207 -0
  584. package/dist/lib/logo192.png +0 -0
  585. package/dist/lib/logo512.png +0 -0
  586. package/dist/lib/manifest.json +25 -0
  587. package/dist/lib/robots.txt +3 -0
  588. package/dist/src/auth/AuthContext.d.ts +1 -1
  589. package/dist/src/auth/components/LoadingAuth/index.d.ts +0 -1
  590. package/dist/src/auth/components/NoPermission/index.d.ts +1 -2
  591. package/dist/src/auth/components/UserInformation/index.d.ts +1 -2
  592. package/dist/src/auth/index.d.ts +2 -2
  593. package/package.json +15 -14
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="124px" height="100px" viewBox="0 0 124 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>空状态-暗色</title>
4
+ <defs>
5
+ <filter color-interpolation-filters="auto" id="filter-1">
6
+ <feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 0.337255 0 0 0 0 0.439216 0 0 0 0 0.549020 0 0 0 1.000000 0"></feColorMatrix>
7
+ </filter>
8
+ <path d="M50.886,3.0003 L50.886,4.1823 C50.887,6.3913 49.097,8.1823 46.889,8.1823 L46.889,8.1823 L25,8.1823 L24.8,8.1773 C22.684,8.0743 21,6.3253 21,4.1823 L21,4.1823 L21,2.9993 C21,1.8953 20.105,0.9993 19,0.9993 L19,0.9993 L0,1.0003 L0,23.0003 C0,25.2093 1.791,27.0003 4,27.0003 L4,27.0003 L68.1,27.0003 C70.309,27.0003 72.1,25.2093 72.1,23.0003 L72.1,23.0003 L72.1,1.0003 L52.887,0.9993 C51.782,0.9993 50.886,1.8963 50.886,3.0003 L50.886,3.0003 Z" id="path-2"></path>
9
+ <path d="M0,12 C0,14.351 0.846,16.544 2.305,18.395 L2.305,18.395 C2.517,18.663 2.59,19.014 2.482,19.338 L2.482,19.338 L1.143,23.326 L5.489,21.717 C5.765,21.615 6.069,21.645 6.326,21.791 L6.326,21.791 C8.775,23.182 11.768,24 15,24 L15,24 C23.284,24 30,18.628 30,12 L30,12 C30,5.372 23.284,0 15,0 L15,0 C6.716,0 0,5.372 0,12 L0,12 Z" id="path-4"></path>
10
+ </defs>
11
+ <g id="空状态-暗色" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
12
+ <rect id="矩形" opacity="0.0764898256" x="0" y="0" width="124" height="100"></rect>
13
+ <ellipse id="椭圆形" fill="#1F4366" cx="61.5" cy="89.6931273" rx="44.5" ry="9"></ellipse>
14
+ <polygon id="矩形" fill="#7A8FA4" points="39.7169014 48.8931273 83.3830986 48.8931273 97.6 65.9931273 25.5 65.9931273"></polygon>
15
+ <rect id="矩形" fill="#3D5B7B" x="36.55" y="20.1931273" width="50" height="54" rx="2"></rect>
16
+ <rect id="矩形" fill="#56708C" x="43.5" y="26.1931273" width="36" height="20" rx="2"></rect>
17
+ <rect id="矩形备份" fill="#56708C" x="43.5" y="52.1306273" width="36" height="3" rx="1.5"></rect>
18
+ <rect id="矩形备份-2" fill="#56708C" x="43.5" y="60.40732" width="36" height="3" rx="1.5"></rect>
19
+ <g filter="url(#filter-1)" id="编组">
20
+ <g transform="translate(25.500000, 65.010836)">
21
+ <mask id="mask-3" fill="white">
22
+ <use xlink:href="#path-2"></use>
23
+ </mask>
24
+ <g id="Clip-2"></g>
25
+ <polygon id="Fill-1" fill="#DCE0E8" mask="url(#mask-3)" points="-5 32.0003 77.1 32.0003 77.1 -3.9997 -5 -3.9997"></polygon>
26
+ </g>
27
+ </g>
28
+ <g id="编组" transform="translate(93.000000, 1.000000)">
29
+ <mask id="mask-5" fill="white">
30
+ <use xlink:href="#path-4"></use>
31
+ </mask>
32
+ <g id="Clip-2"></g>
33
+ <polygon id="Fill-1" fill="#3D5B7B" mask="url(#mask-5)" points="-5 29 35 29 35 -5 -5 -5"></polygon>
34
+ <rect id="矩形" fill="#FFFFFF" mask="url(#mask-5)" x="-21" y="8" width="4" height="4"></rect>
35
+ </g>
36
+ <rect id="矩形" fill="#56708C" x="106.196938" y="10.1393807" width="4" height="4"></rect>
37
+ <circle id="椭圆形" fill="#56708C" cx="113.820803" cy="12.1393807" r="2"></circle>
38
+ <polygon id="三角形" fill="#56708C" points="102.179197 10.1393807 104.179197 14.1393807 100.179197 14.1393807"></polygon>
39
+ </g>
40
+ </svg>
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,43 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <meta name="theme-color" content="#000000" />
8
+ <meta
9
+ name="description"
10
+ content="Web site created using create-react-app"
11
+ />
12
+ <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13
+ <!--
14
+ manifest.json provides metadata used when your web app is installed on a
15
+ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16
+ -->
17
+ <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18
+ <!--
19
+ Notice the use of %PUBLIC_URL% in the tags above.
20
+ It will be replaced with the URL of the `public` folder during the build.
21
+ Only files inside the `public` folder can be referenced from the HTML.
22
+
23
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24
+ work correctly both with client-side routing and a non-root public URL.
25
+ Learn how to configure a non-root public URL by running `npm run build`.
26
+ -->
27
+ <title>智能进度</title>
28
+ </head>
29
+ <body>
30
+ <noscript>You need to enable JavaScript to run this app.</noscript>
31
+ <div id="root"></div>
32
+ <!--
33
+ This HTML file is a template.
34
+ If you open it directly in the browser, you will see an empty page.
35
+
36
+ You can add webfonts, meta tags, or analytics to this file.
37
+ The build step will place the bundled scripts into the <body> tag.
38
+
39
+ To begin the development, run `npm start` or `yarn start`.
40
+ To create a production bundle, use `npm run build` or `yarn build`.
41
+ -->
42
+ </body>
43
+ </html>
@@ -0,0 +1,24 @@
1
+ (function(){"use strict";try{if(typeof document!="undefined"){var o=document.createElement("style");o.appendChild(document.createTextNode(".auto-without-permission{width:100%;height:100vh;background:white}.auto-without-permission .no-permission-layout{width:100%;height:100vh}.auto-without-permission .no-permission-layout .no-permission-header{min-width:992px;background-color:#fff;padding:0 24px;display:flex;justify-content:space-between;align-items:center;z-index:1000;filter:drop-shadow(0px 4px 12px rgba(7,12,20,.12));color:#070c14}.auto-without-permission .no-permission-layout .no-permission-header .header-left{display:flex;align-items:center;gap:24px}.auto-without-permission .no-permission-layout .no-permission-content{width:100%;height:100%;display:flex;flex-wrap:wrap;justify-content:center;align-content:center}.auto-without-permission .no-permission-layout .no-permission-content .content{height:366px;display:flex;gap:24px}.auto-without-permission .no-permission-layout .no-permission-content .content .permission-img{width:440px;height:100%}.auto-without-permission .no-permission-layout .no-permission-content .content .permission-desc{display:flex;flex-direction:column;height:auto;align-items:flex-end;justify-content:flex-end;margin-bottom:70px;flex-grow:1}.auto-without-permission .no-permission-layout .no-permission-content .content .permission-desc .title{height:64px;font-size:36px;font-weight:500;color:#000;line-height:64px}.auto-without-permission .no-permission-layout .no-permission-content .content .permission-desc .text{width:192px;height:24px;font-size:16px;font-weight:400;color:#00000073;line-height:24px}.user-information .user-information-pannel{color:#070c14;cursor:pointer}.user-information .user-information-pannel:hover{color:#9c24f2}")),document.head.appendChild(o)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
+ import "react/jsx-runtime";
3
+ import "@glodon-aiot/react-components";
4
+ import { AuthProvider as i, authProvider as p, refreshToken as u } from "./auth/AuthProvider.mjs";
5
+ import { default as m } from "./auth/RequireAuth.mjs";
6
+ import { authApi as d, dataApi as h } from "./auth/api/apis.mjs";
7
+ import { default as s } from "./auth/components/NoPermission/index.mjs";
8
+ import { AuthContext as n, useAuth as l } from "./auth/AuthContext.mjs";
9
+ import { JWT as T, isExpired as k, productCode as v, tokenTool as C } from "./auth/tool.mjs";
10
+ export {
11
+ n as AuthContext,
12
+ i as AuthProvider,
13
+ T as JWT,
14
+ m as RequireAuth,
15
+ s as WithoutPermission,
16
+ d as authApi,
17
+ p as authProvider,
18
+ h as dataApi,
19
+ k as isExpired,
20
+ v as productCode,
21
+ u as refreshToken,
22
+ C as tokenTool,
23
+ l as useAuth
24
+ };
Binary file
Binary file
@@ -0,0 +1,25 @@
1
+ {
2
+ "short_name": "gOS App",
3
+ "name": "gOS App Sample",
4
+ "icons": [
5
+ {
6
+ "src": "favicon.ico",
7
+ "sizes": "64x64 32x32 24x24 16x16",
8
+ "type": "image/x-icon"
9
+ },
10
+ {
11
+ "src": "logo192.png",
12
+ "type": "image/png",
13
+ "sizes": "192x192"
14
+ },
15
+ {
16
+ "src": "logo512.png",
17
+ "type": "image/png",
18
+ "sizes": "512x512"
19
+ }
20
+ ],
21
+ "start_url": ".",
22
+ "display": "standalone",
23
+ "theme_color": "#ffffff",
24
+ "background_color": "#000000"
25
+ }
@@ -0,0 +1,74 @@
1
+ import { FastColor as i } from "../../fast-color/es/FastColor.mjs";
2
+ var m = 2, f = 0.16, S = 0.05, c = 0.05, k = 0.15, p = 5, v = 4, w = [{
3
+ index: 7,
4
+ amount: 15
5
+ }, {
6
+ index: 6,
7
+ amount: 25
8
+ }, {
9
+ index: 5,
10
+ amount: 30
11
+ }, {
12
+ index: 5,
13
+ amount: 45
14
+ }, {
15
+ index: 5,
16
+ amount: 65
17
+ }, {
18
+ index: 5,
19
+ amount: 85
20
+ }, {
21
+ index: 4,
22
+ amount: 90
23
+ }, {
24
+ index: 3,
25
+ amount: 95
26
+ }, {
27
+ index: 2,
28
+ amount: 97
29
+ }, {
30
+ index: 1,
31
+ amount: 98
32
+ }];
33
+ function s(t, r, a) {
34
+ var n;
35
+ return Math.round(t.h) >= 60 && Math.round(t.h) <= 240 ? n = a ? Math.round(t.h) - m * r : Math.round(t.h) + m * r : n = a ? Math.round(t.h) + m * r : Math.round(t.h) - m * r, n < 0 ? n += 360 : n >= 360 && (n -= 360), n;
36
+ }
37
+ function h(t, r, a) {
38
+ if (t.h === 0 && t.s === 0)
39
+ return t.s;
40
+ var n;
41
+ return a ? n = t.s - f * r : r === v ? n = t.s + f : n = t.s + S * r, n > 1 && (n = 1), a && r === p && n > 0.1 && (n = 0.1), n < 0.06 && (n = 0.06), Math.round(n * 100) / 100;
42
+ }
43
+ function x(t, r, a) {
44
+ var n;
45
+ return a ? n = t.v + c * r : n = t.v - k * r, n = Math.max(0, Math.min(1, n)), Math.round(n * 100) / 100;
46
+ }
47
+ function b(t) {
48
+ for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = [], n = new i(t), e = n.toHsv(), u = p; u > 0; u -= 1) {
49
+ var l = new i({
50
+ h: s(e, u, !0),
51
+ s: h(e, u, !0),
52
+ v: x(e, u, !0)
53
+ });
54
+ a.push(l);
55
+ }
56
+ a.push(n);
57
+ for (var o = 1; o <= v; o += 1) {
58
+ var g = new i({
59
+ h: s(e, o),
60
+ s: h(e, o),
61
+ v: x(e, o)
62
+ });
63
+ a.push(g);
64
+ }
65
+ return r.theme === "dark" ? w.map(function(d) {
66
+ var M = d.index, C = d.amount;
67
+ return new i(r.backgroundColor || "#141414").mix(a[M], C).toHexString();
68
+ }) : a.map(function(d) {
69
+ return d.toHexString();
70
+ });
71
+ }
72
+ export {
73
+ b as default
74
+ };
@@ -0,0 +1,5 @@
1
+ var f = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
2
+ f.primary = f[5];
3
+ export {
4
+ f as blue
5
+ };
@@ -0,0 +1,327 @@
1
+ import c from "../../../@babel/runtime/helpers/esm/defineProperty.mjs";
2
+ const r = Math.round;
3
+ function m(l, t) {
4
+ const s = l.replace(/^[^(]*\((.*)/, "$1").replace(/\).*/, "").match(/\d*\.?\d+%?/g) || [], i = s.map((h) => parseFloat(h));
5
+ for (let h = 0; h < 3; h += 1)
6
+ i[h] = t(i[h] || 0, s[h] || "", h);
7
+ return s[3] ? i[3] = s[3].includes("%") ? i[3] / 100 : i[3] : i[3] = 1, i;
8
+ }
9
+ const d = (l, t, s) => s === 0 ? l : l / 100;
10
+ function u(l, t) {
11
+ const s = t || 255;
12
+ return l > s ? s : l < 0 ? 0 : l;
13
+ }
14
+ class H {
15
+ constructor(t) {
16
+ c(this, "isValid", !0), c(this, "r", 0), c(this, "g", 0), c(this, "b", 0), c(this, "a", 1), c(this, "_h", void 0), c(this, "_s", void 0), c(this, "_l", void 0), c(this, "_v", void 0), c(this, "_max", void 0), c(this, "_min", void 0), c(this, "_brightness", void 0);
17
+ function s(i) {
18
+ return i[0] in t && i[1] in t && i[2] in t;
19
+ }
20
+ if (t)
21
+ if (typeof t == "string") {
22
+ let h = function(e) {
23
+ return i.startsWith(e);
24
+ };
25
+ const i = t.trim();
26
+ /^#?[A-F\d]{3,8}$/i.test(i) ? this.fromHexString(i) : h("rgb") ? this.fromRgbString(i) : h("hsl") ? this.fromHslString(i) : (h("hsv") || h("hsb")) && this.fromHsvString(i);
27
+ } else if (t instanceof H)
28
+ this.r = t.r, this.g = t.g, this.b = t.b, this.a = t.a, this._h = t._h, this._s = t._s, this._l = t._l, this._v = t._v;
29
+ else if (s("rgb"))
30
+ this.r = u(t.r), this.g = u(t.g), this.b = u(t.b), this.a = typeof t.a == "number" ? u(t.a, 1) : 1;
31
+ else if (s("hsl"))
32
+ this.fromHsl(t);
33
+ else if (s("hsv"))
34
+ this.fromHsv(t);
35
+ else
36
+ throw new Error("@ant-design/fast-color: unsupported input " + JSON.stringify(t));
37
+ }
38
+ // ======================= Setter =======================
39
+ setR(t) {
40
+ return this._sc("r", t);
41
+ }
42
+ setG(t) {
43
+ return this._sc("g", t);
44
+ }
45
+ setB(t) {
46
+ return this._sc("b", t);
47
+ }
48
+ setA(t) {
49
+ return this._sc("a", t, 1);
50
+ }
51
+ setHue(t) {
52
+ const s = this.toHsv();
53
+ return s.h = t, this._c(s);
54
+ }
55
+ // ======================= Getter =======================
56
+ /**
57
+ * Returns the perceived luminance of a color, from 0-1.
58
+ * @see http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
59
+ */
60
+ getLuminance() {
61
+ function t(e) {
62
+ const a = e / 255;
63
+ return a <= 0.03928 ? a / 12.92 : Math.pow((a + 0.055) / 1.055, 2.4);
64
+ }
65
+ const s = t(this.r), i = t(this.g), h = t(this.b);
66
+ return 0.2126 * s + 0.7152 * i + 0.0722 * h;
67
+ }
68
+ getHue() {
69
+ if (typeof this._h == "undefined") {
70
+ const t = this.getMax() - this.getMin();
71
+ t === 0 ? this._h = 0 : this._h = r(60 * (this.r === this.getMax() ? (this.g - this.b) / t + (this.g < this.b ? 6 : 0) : this.g === this.getMax() ? (this.b - this.r) / t + 2 : (this.r - this.g) / t + 4));
72
+ }
73
+ return this._h;
74
+ }
75
+ getSaturation() {
76
+ if (typeof this._s == "undefined") {
77
+ const t = this.getMax() - this.getMin();
78
+ t === 0 ? this._s = 0 : this._s = t / this.getMax();
79
+ }
80
+ return this._s;
81
+ }
82
+ getLightness() {
83
+ return typeof this._l == "undefined" && (this._l = (this.getMax() + this.getMin()) / 510), this._l;
84
+ }
85
+ getValue() {
86
+ return typeof this._v == "undefined" && (this._v = this.getMax() / 255), this._v;
87
+ }
88
+ /**
89
+ * Returns the perceived brightness of the color, from 0-255.
90
+ * Note: this is not the b of HSB
91
+ * @see http://www.w3.org/TR/AERT#color-contrast
92
+ */
93
+ getBrightness() {
94
+ return typeof this._brightness == "undefined" && (this._brightness = (this.r * 299 + this.g * 587 + this.b * 114) / 1e3), this._brightness;
95
+ }
96
+ // ======================== Func ========================
97
+ darken(t = 10) {
98
+ const s = this.getHue(), i = this.getSaturation();
99
+ let h = this.getLightness() - t / 100;
100
+ return h < 0 && (h = 0), this._c({
101
+ h: s,
102
+ s: i,
103
+ l: h,
104
+ a: this.a
105
+ });
106
+ }
107
+ lighten(t = 10) {
108
+ const s = this.getHue(), i = this.getSaturation();
109
+ let h = this.getLightness() + t / 100;
110
+ return h > 1 && (h = 1), this._c({
111
+ h: s,
112
+ s: i,
113
+ l: h,
114
+ a: this.a
115
+ });
116
+ }
117
+ /**
118
+ * Mix the current color a given amount with another color, from 0 to 100.
119
+ * 0 means no mixing (return current color).
120
+ */
121
+ mix(t, s = 50) {
122
+ const i = this._c(t), h = s / 100, e = (g) => (i[g] - this[g]) * h + this[g], a = {
123
+ r: r(e("r")),
124
+ g: r(e("g")),
125
+ b: r(e("b")),
126
+ a: r(e("a") * 100) / 100
127
+ };
128
+ return this._c(a);
129
+ }
130
+ /**
131
+ * Mix the color with pure white, from 0 to 100.
132
+ * Providing 0 will do nothing, providing 100 will always return white.
133
+ */
134
+ tint(t = 10) {
135
+ return this.mix({
136
+ r: 255,
137
+ g: 255,
138
+ b: 255,
139
+ a: 1
140
+ }, t);
141
+ }
142
+ /**
143
+ * Mix the color with pure black, from 0 to 100.
144
+ * Providing 0 will do nothing, providing 100 will always return black.
145
+ */
146
+ shade(t = 10) {
147
+ return this.mix({
148
+ r: 0,
149
+ g: 0,
150
+ b: 0,
151
+ a: 1
152
+ }, t);
153
+ }
154
+ onBackground(t) {
155
+ const s = this._c(t), i = this.a + s.a * (1 - this.a), h = (e) => r((this[e] * this.a + s[e] * s.a * (1 - this.a)) / i);
156
+ return this._c({
157
+ r: h("r"),
158
+ g: h("g"),
159
+ b: h("b"),
160
+ a: i
161
+ });
162
+ }
163
+ // ======================= Status =======================
164
+ isDark() {
165
+ return this.getBrightness() < 128;
166
+ }
167
+ isLight() {
168
+ return this.getBrightness() >= 128;
169
+ }
170
+ // ======================== MISC ========================
171
+ equals(t) {
172
+ return this.r === t.r && this.g === t.g && this.b === t.b && this.a === t.a;
173
+ }
174
+ clone() {
175
+ return this._c(this);
176
+ }
177
+ // ======================= Format =======================
178
+ toHexString() {
179
+ let t = "#";
180
+ const s = (this.r || 0).toString(16);
181
+ t += s.length === 2 ? s : "0" + s;
182
+ const i = (this.g || 0).toString(16);
183
+ t += i.length === 2 ? i : "0" + i;
184
+ const h = (this.b || 0).toString(16);
185
+ if (t += h.length === 2 ? h : "0" + h, typeof this.a == "number" && this.a >= 0 && this.a < 1) {
186
+ const e = r(this.a * 255).toString(16);
187
+ t += e.length === 2 ? e : "0" + e;
188
+ }
189
+ return t;
190
+ }
191
+ /** CSS support color pattern */
192
+ toHsl() {
193
+ return {
194
+ h: this.getHue(),
195
+ s: this.getSaturation(),
196
+ l: this.getLightness(),
197
+ a: this.a
198
+ };
199
+ }
200
+ /** CSS support color pattern */
201
+ toHslString() {
202
+ const t = this.getHue(), s = r(this.getSaturation() * 100), i = r(this.getLightness() * 100);
203
+ return this.a !== 1 ? `hsla(${t},${s}%,${i}%,${this.a})` : `hsl(${t},${s}%,${i}%)`;
204
+ }
205
+ /** Same as toHsb */
206
+ toHsv() {
207
+ return {
208
+ h: this.getHue(),
209
+ s: this.getSaturation(),
210
+ v: this.getValue(),
211
+ a: this.a
212
+ };
213
+ }
214
+ toRgb() {
215
+ return {
216
+ r: this.r,
217
+ g: this.g,
218
+ b: this.b,
219
+ a: this.a
220
+ };
221
+ }
222
+ toRgbString() {
223
+ return this.a !== 1 ? `rgba(${this.r},${this.g},${this.b},${this.a})` : `rgb(${this.r},${this.g},${this.b})`;
224
+ }
225
+ toString() {
226
+ return this.toRgbString();
227
+ }
228
+ // ====================== Privates ======================
229
+ /** Return a new FastColor object with one channel changed */
230
+ _sc(t, s, i) {
231
+ const h = this.clone();
232
+ return h[t] = u(s, i), h;
233
+ }
234
+ _c(t) {
235
+ return new this.constructor(t);
236
+ }
237
+ getMax() {
238
+ return typeof this._max == "undefined" && (this._max = Math.max(this.r, this.g, this.b)), this._max;
239
+ }
240
+ getMin() {
241
+ return typeof this._min == "undefined" && (this._min = Math.min(this.r, this.g, this.b)), this._min;
242
+ }
243
+ fromHexString(t) {
244
+ const s = t.replace("#", "");
245
+ function i(h, e) {
246
+ return parseInt(s[h] + s[e || h], 16);
247
+ }
248
+ s.length < 6 ? (this.r = i(0), this.g = i(1), this.b = i(2), this.a = s[3] ? i(3) / 255 : 1) : (this.r = i(0, 1), this.g = i(2, 3), this.b = i(4, 5), this.a = s[6] ? i(6, 7) / 255 : 1);
249
+ }
250
+ fromHsl({
251
+ h: t,
252
+ s,
253
+ l: i,
254
+ a: h
255
+ }) {
256
+ if (this._h = t % 360, this._s = s, this._l = i, this.a = typeof h == "number" ? h : 1, s <= 0) {
257
+ const _ = r(i * 255);
258
+ this.r = _, this.g = _, this.b = _;
259
+ }
260
+ let e = 0, a = 0, g = 0;
261
+ const n = t / 60, o = (1 - Math.abs(2 * i - 1)) * s, f = o * (1 - Math.abs(n % 2 - 1));
262
+ n >= 0 && n < 1 ? (e = o, a = f) : n >= 1 && n < 2 ? (e = f, a = o) : n >= 2 && n < 3 ? (a = o, g = f) : n >= 3 && n < 4 ? (a = f, g = o) : n >= 4 && n < 5 ? (e = f, g = o) : n >= 5 && n < 6 && (e = o, g = f);
263
+ const b = i - o / 2;
264
+ this.r = r((e + b) * 255), this.g = r((a + b) * 255), this.b = r((g + b) * 255);
265
+ }
266
+ fromHsv({
267
+ h: t,
268
+ s,
269
+ v: i,
270
+ a: h
271
+ }) {
272
+ this._h = t % 360, this._s = s, this._v = i, this.a = typeof h == "number" ? h : 1;
273
+ const e = r(i * 255);
274
+ if (this.r = e, this.g = e, this.b = e, s <= 0)
275
+ return;
276
+ const a = t / 60, g = Math.floor(a), n = a - g, o = r(i * (1 - s) * 255), f = r(i * (1 - s * n) * 255), b = r(i * (1 - s * (1 - n)) * 255);
277
+ switch (g) {
278
+ case 0:
279
+ this.g = b, this.b = o;
280
+ break;
281
+ case 1:
282
+ this.r = f, this.b = o;
283
+ break;
284
+ case 2:
285
+ this.r = o, this.b = b;
286
+ break;
287
+ case 3:
288
+ this.r = o, this.g = f;
289
+ break;
290
+ case 4:
291
+ this.r = b, this.g = o;
292
+ break;
293
+ case 5:
294
+ default:
295
+ this.g = o, this.b = f;
296
+ break;
297
+ }
298
+ }
299
+ fromHsvString(t) {
300
+ const s = m(t, d);
301
+ this.fromHsv({
302
+ h: s[0],
303
+ s: s[1],
304
+ v: s[2],
305
+ a: s[3]
306
+ });
307
+ }
308
+ fromHslString(t) {
309
+ const s = m(t, d);
310
+ this.fromHsl({
311
+ h: s[0],
312
+ s: s[1],
313
+ l: s[2],
314
+ a: s[3]
315
+ });
316
+ }
317
+ fromRgbString(t) {
318
+ const s = m(t, (i, h) => (
319
+ // Convert percentage to number. e.g. 50% -> 128
320
+ h.includes("%") ? r(i / 100 * 255) : i
321
+ ));
322
+ this.r = s[0], this.g = s[1], this.b = s[2], this.a = s[3];
323
+ }
324
+ }
325
+ export {
326
+ H as FastColor
327
+ };
@@ -0,0 +1,42 @@
1
+ import N from "../../../../@babel/runtime/helpers/esm/extends.mjs";
2
+ import R from "../../../../@babel/runtime/helpers/esm/slicedToArray.mjs";
3
+ import C from "../../../../@babel/runtime/helpers/esm/defineProperty.mjs";
4
+ import k from "../../../../@babel/runtime/helpers/esm/objectWithoutProperties.mjs";
5
+ import * as r from "react";
6
+ import z from "../../../../classnames/index.mjs";
7
+ import { blue as A } from "../../../colors/es/presets.mjs";
8
+ import P from "./Context.mjs";
9
+ import $ from "./IconBase.mjs";
10
+ import { setTwoToneColor as d, getTwoToneColor as E } from "./twoTonePrimaryColor.mjs";
11
+ import { normalizeTwoToneColors as S } from "../utils.mjs";
12
+ var h = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
13
+ d(A.primary);
14
+ var t = /* @__PURE__ */ r.forwardRef(function(o, f) {
15
+ var T = o.className, e = o.icon, x = o.spin, a = o.rotate, p = o.tabIndex, m = o.onClick, u = o.twoToneColor, w = k(o, h), l = r.useContext(P), c = l.prefixCls, n = c === void 0 ? "anticon" : c, v = l.rootClassName, y = z(v, n, C(C({}, "".concat(n, "-").concat(e.name), !!e.name), "".concat(n, "-spin"), !!x || e.name === "loading"), T), i = p;
16
+ i === void 0 && m && (i = -1);
17
+ var I = a ? {
18
+ msTransform: "rotate(".concat(a, "deg)"),
19
+ transform: "rotate(".concat(a, "deg)")
20
+ } : void 0, _ = S(u), s = R(_, 2), b = s[0], g = s[1];
21
+ return /* @__PURE__ */ r.createElement("span", N({
22
+ role: "img",
23
+ "aria-label": e.name
24
+ }, w, {
25
+ ref: f,
26
+ tabIndex: i,
27
+ onClick: m,
28
+ className: y
29
+ }), /* @__PURE__ */ r.createElement($, {
30
+ icon: e,
31
+ primaryColor: b,
32
+ secondaryColor: g,
33
+ style: I
34
+ }));
35
+ });
36
+ t.displayName = "AntdIcon";
37
+ t.getTwoToneColor = E;
38
+ t.setTwoToneColor = d;
39
+ const L = t;
40
+ export {
41
+ L as default
42
+ };
@@ -0,0 +1,6 @@
1
+ import { createContext as t } from "react";
2
+ var o = /* @__PURE__ */ t({});
3
+ const n = o;
4
+ export {
5
+ n as default
6
+ };
@@ -0,0 +1,46 @@
1
+ import v from "../../../../@babel/runtime/helpers/esm/objectWithoutProperties.mjs";
2
+ import a from "../../../../@babel/runtime/helpers/esm/objectSpread2.mjs";
3
+ import * as T from "react";
4
+ import { getSecondaryColor as m, useInsertStyles as p, warning as w, isIconDefinition as C, generate as h } from "../utils.mjs";
5
+ var I = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"], n = {
6
+ primaryColor: "#333",
7
+ secondaryColor: "#E6E6E6",
8
+ calculated: !1
9
+ };
10
+ function N(t) {
11
+ var o = t.primaryColor, e = t.secondaryColor;
12
+ n.primaryColor = o, n.secondaryColor = e || m(o), n.calculated = !!e;
13
+ }
14
+ function R() {
15
+ return a({}, n);
16
+ }
17
+ var c = function(o) {
18
+ var e = o.icon, y = o.className, d = o.onClick, f = o.style, l = o.primaryColor, u = o.secondaryColor, g = v(o, I), s = T.useRef(), i = n;
19
+ if (l && (i = {
20
+ primaryColor: l,
21
+ secondaryColor: u || m(l)
22
+ }), p(s), w(C(e), "icon should be icon definiton, but got ".concat(e)), !C(e))
23
+ return null;
24
+ var r = e;
25
+ return r && typeof r.icon == "function" && (r = a(a({}, r), {}, {
26
+ icon: r.icon(i.primaryColor, i.secondaryColor)
27
+ })), h(r.icon, "svg-".concat(r.name), a(a({
28
+ className: y,
29
+ onClick: d,
30
+ style: f,
31
+ "data-icon": r.name,
32
+ width: "1em",
33
+ height: "1em",
34
+ fill: "currentColor",
35
+ "aria-hidden": "true"
36
+ }, g), {}, {
37
+ ref: s
38
+ }));
39
+ };
40
+ c.displayName = "IconReact";
41
+ c.getTwoToneColors = R;
42
+ c.setTwoToneColors = N;
43
+ const P = c;
44
+ export {
45
+ P as default
46
+ };
@@ -0,0 +1,18 @@
1
+ import t from "../../../../@babel/runtime/helpers/esm/slicedToArray.mjs";
2
+ import e from "./IconBase.mjs";
3
+ import { normalizeTwoToneColors as T } from "../utils.mjs";
4
+ function c(o) {
5
+ var l = T(o), r = t(l, 2), n = r[0], a = r[1];
6
+ return e.setTwoToneColors({
7
+ primaryColor: n,
8
+ secondaryColor: a
9
+ });
10
+ }
11
+ function s() {
12
+ var o = e.getTwoToneColors();
13
+ return o.calculated ? [o.primaryColor, o.secondaryColor] : o.primaryColor;
14
+ }
15
+ export {
16
+ s as getTwoToneColor,
17
+ c as setTwoToneColor
18
+ };