@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.
- package/dist/aiot-react-biz-components.js +32114 -33071
- package/dist/aiot-react-biz-components.umd.cjs +218 -218
- package/dist/es/_virtual/AntdIcon.mjs +4 -0
- package/dist/es/_virtual/CheckCircleFilled.mjs +4 -0
- package/dist/es/_virtual/CheckCircleFilled2.mjs +4 -0
- package/dist/es/_virtual/CheckCircleFilled3.mjs +4 -0
- package/dist/es/_virtual/CheckCircleOutlined.mjs +4 -0
- package/dist/es/_virtual/CheckCircleOutlined2.mjs +4 -0
- package/dist/es/_virtual/CheckCircleOutlined3.mjs +4 -0
- package/dist/es/_virtual/CloseCircleFilled.mjs +4 -0
- package/dist/es/_virtual/CloseCircleFilled2.mjs +4 -0
- package/dist/es/_virtual/CloseCircleFilled3.mjs +4 -0
- package/dist/es/_virtual/CloseCircleOutlined.mjs +4 -0
- package/dist/es/_virtual/CloseCircleOutlined2.mjs +4 -0
- package/dist/es/_virtual/CloseCircleOutlined3.mjs +4 -0
- package/dist/es/_virtual/CloseOutlined.mjs +4 -0
- package/dist/es/_virtual/CloseOutlined2.mjs +4 -0
- package/dist/es/_virtual/CloseOutlined3.mjs +4 -0
- package/dist/es/_virtual/Context.mjs +4 -0
- package/dist/es/_virtual/DisabledContext.mjs +4 -0
- package/dist/es/_virtual/ExclamationCircleFilled.mjs +4 -0
- package/dist/es/_virtual/ExclamationCircleFilled2.mjs +4 -0
- package/dist/es/_virtual/ExclamationCircleFilled3.mjs +4 -0
- package/dist/es/_virtual/ExclamationCircleOutlined.mjs +4 -0
- package/dist/es/_virtual/ExclamationCircleOutlined2.mjs +4 -0
- package/dist/es/_virtual/ExclamationCircleOutlined3.mjs +4 -0
- package/dist/es/_virtual/IconBase.mjs +4 -0
- package/dist/es/_virtual/InfoCircleFilled.mjs +4 -0
- package/dist/es/_virtual/InfoCircleFilled2.mjs +4 -0
- package/dist/es/_virtual/InfoCircleFilled3.mjs +4 -0
- package/dist/es/_virtual/InfoCircleOutlined.mjs +4 -0
- package/dist/es/_virtual/InfoCircleOutlined2.mjs +4 -0
- package/dist/es/_virtual/InfoCircleOutlined3.mjs +4 -0
- package/dist/es/_virtual/LoadingOutlined.mjs +4 -0
- package/dist/es/_virtual/LoadingOutlined2.mjs +4 -0
- package/dist/es/_virtual/LoadingOutlined3.mjs +4 -0
- package/dist/es/_virtual/LocaleReceiver.mjs +4 -0
- package/dist/es/_virtual/Notice.mjs +4 -0
- package/dist/es/_virtual/OverloadYield.mjs +4 -0
- package/dist/es/_virtual/SizeContext.mjs +4 -0
- package/dist/es/_virtual/_commonjsHelpers.mjs +30 -0
- package/dist/es/_virtual/arrayLikeToArray.mjs +4 -0
- package/dist/es/_virtual/arrayWithHoles.mjs +4 -0
- package/dist/es/_virtual/arrayWithoutHoles.mjs +4 -0
- package/dist/es/_virtual/assertThisInitialized.mjs +4 -0
- package/dist/es/_virtual/axios.mjs +4 -0
- package/dist/es/_virtual/canUseDom.mjs +4 -0
- package/dist/es/_virtual/classCallCheck.mjs +4 -0
- package/dist/es/_virtual/contains.mjs +4 -0
- package/dist/es/_virtual/context2.mjs +4 -0
- package/dist/es/_virtual/context3.mjs +4 -0
- package/dist/es/_virtual/createClass.mjs +4 -0
- package/dist/es/_virtual/createSuper.mjs +4 -0
- package/dist/es/_virtual/cssVariables.mjs +4 -0
- package/dist/es/_virtual/default.mjs +4 -0
- package/dist/es/_virtual/default2.mjs +4 -0
- package/dist/es/_virtual/defineProperty.mjs +4 -0
- package/dist/es/_virtual/dynamicCSS.mjs +4 -0
- package/dist/es/_virtual/en_US.mjs +4 -0
- package/dist/es/_virtual/en_US2.mjs +4 -0
- package/dist/es/_virtual/en_US3.mjs +4 -0
- package/dist/es/_virtual/en_US4.mjs +4 -0
- package/dist/es/_virtual/en_US5.mjs +4 -0
- package/dist/es/_virtual/extends.mjs +4 -0
- package/dist/es/_virtual/get.mjs +4 -0
- package/dist/es/_virtual/getPrototypeOf.mjs +4 -0
- package/dist/es/_virtual/index.esm.mjs +6 -0
- package/dist/es/_virtual/index.mjs +4 -0
- package/dist/es/_virtual/index2.mjs +4 -0
- package/dist/es/_virtual/index3.mjs +4 -0
- package/dist/es/_virtual/index4.mjs +4 -0
- package/dist/es/_virtual/index5.mjs +6 -0
- package/dist/es/_virtual/index6.mjs +4 -0
- package/dist/es/_virtual/index7.mjs +4 -0
- package/dist/es/_virtual/inherits.mjs +4 -0
- package/dist/es/_virtual/interopRequireDefault.mjs +4 -0
- package/dist/es/_virtual/interopRequireWildcard.mjs +4 -0
- package/dist/es/_virtual/isNativeReflectConstruct.mjs +4 -0
- package/dist/es/_virtual/iterableToArray.mjs +4 -0
- package/dist/es/_virtual/iterableToArrayLimit.mjs +4 -0
- package/dist/es/_virtual/layout.mjs +4 -0
- package/dist/es/_virtual/locale.mjs +4 -0
- package/dist/es/_virtual/nonIterableRest.mjs +4 -0
- package/dist/es/_virtual/nonIterableSpread.mjs +4 -0
- package/dist/es/_virtual/objectSpread2.mjs +4 -0
- package/dist/es/_virtual/objectWithoutProperties.mjs +4 -0
- package/dist/es/_virtual/objectWithoutPropertiesLoose.mjs +4 -0
- package/dist/es/_virtual/possibleConstructorReturn.mjs +4 -0
- package/dist/es/_virtual/public_api.mjs +6 -0
- package/dist/es/_virtual/react-is.development.mjs +4 -0
- package/dist/es/_virtual/react-is.production.min.mjs +4 -0
- package/dist/es/_virtual/regenerator.mjs +4 -0
- package/dist/es/_virtual/regeneratorAsync.mjs +4 -0
- package/dist/es/_virtual/regeneratorAsyncGen.mjs +4 -0
- package/dist/es/_virtual/regeneratorAsyncIterator.mjs +4 -0
- package/dist/es/_virtual/regeneratorDefine.mjs +4 -0
- package/dist/es/_virtual/regeneratorKeys.mjs +4 -0
- package/dist/es/_virtual/regeneratorRuntime.mjs +4 -0
- package/dist/es/_virtual/regeneratorValues.mjs +4 -0
- package/dist/es/_virtual/set.mjs +4 -0
- package/dist/es/_virtual/setPrototypeOf.mjs +4 -0
- package/dist/es/_virtual/slicedToArray.mjs +4 -0
- package/dist/es/_virtual/toArray.mjs +4 -0
- package/dist/es/_virtual/toConsumableArray.mjs +4 -0
- package/dist/es/_virtual/toPrimitive.mjs +4 -0
- package/dist/es/_virtual/toPropertyKey.mjs +4 -0
- package/dist/es/_virtual/twoTonePrimaryColor.mjs +4 -0
- package/dist/es/_virtual/typeof.mjs +4 -0
- package/dist/es/_virtual/unsupportedIterableToArray.mjs +4 -0
- package/dist/es/_virtual/useMemo.mjs +4 -0
- package/dist/es/_virtual/useMessage.mjs +4 -0
- package/dist/es/_virtual/useNotification.mjs +4 -0
- package/dist/es/_virtual/useNotification2.mjs +4 -0
- package/dist/es/_virtual/utils.mjs +4 -0
- package/dist/es/_virtual/validateMessagesContext.mjs +4 -0
- package/dist/es/_virtual/warning.mjs +4 -0
- package/dist/es/_virtual/warning2.mjs +4 -0
- package/dist/es/auth/AuthContext.mjs +9 -0
- package/dist/es/auth/AuthProvider.mjs +161 -0
- package/dist/es/auth/Errors.mjs +4 -0
- package/dist/es/auth/RequireAuth.mjs +22 -0
- package/dist/es/auth/api/apis.mjs +83 -0
- package/dist/es/auth/api/errors.mjs +4 -0
- package/dist/es/auth/components/NoPermission/index.mjs +65 -0
- package/dist/es/auth/components/NoPermission/style.less.mjs +4 -0
- package/dist/es/auth/components/NoPermission/withoutPermission.png.mjs +4 -0
- package/dist/es/auth/components/UserInformation/index.mjs +43 -0
- package/dist/es/auth/components/UserInformation/style.less.mjs +4 -0
- package/dist/es/auth/components/UserInformation/user-default.png.mjs +4 -0
- package/dist/es/auth/tool.mjs +53 -0
- package/dist/es/favicon.ico +0 -0
- package/dist/es/favicon2.ico +0 -0
- package/dist/es/font/gos-font.js +64 -0
- package/dist/es/images/empty.svg +40 -0
- package/dist/es/images/loading.gif +0 -0
- package/dist/es/images/logo.png +0 -0
- package/dist/es/images/map-example.png +0 -0
- package/dist/es/images/sketch.png +0 -0
- package/dist/es/index.html +43 -0
- package/dist/es/index.mjs +24 -0
- package/dist/es/logo192.png +0 -0
- package/dist/es/logo512.png +0 -0
- package/dist/es/manifest.json +25 -0
- package/dist/es/node_modules/@ant-design/colors/es/generate.mjs +74 -0
- package/dist/es/node_modules/@ant-design/colors/es/presets.mjs +5 -0
- package/dist/es/node_modules/@ant-design/fast-color/es/FastColor.mjs +327 -0
- package/dist/es/node_modules/@ant-design/icons/es/components/AntdIcon.mjs +42 -0
- package/dist/es/node_modules/@ant-design/icons/es/components/Context.mjs +6 -0
- package/dist/es/node_modules/@ant-design/icons/es/components/IconBase.mjs +46 -0
- package/dist/es/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.mjs +18 -0
- package/dist/es/node_modules/@ant-design/icons/es/icons/DownOutlined.mjs +15 -0
- package/dist/es/node_modules/@ant-design/icons/es/utils.mjs +129 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.mjs +21 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.mjs +21 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.mjs +26 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.mjs +22 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/CloseCircleOutlined.mjs +22 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.mjs +22 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.mjs +21 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.mjs +21 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.mjs +21 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.mjs +26 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.mjs +21 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.mjs +26 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.mjs +21 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.mjs +21 -0
- package/dist/es/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.mjs +21 -0
- package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/CheckCircleFilled.mjs +30 -0
- package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/CheckCircleOutlined.mjs +35 -0
- package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/CloseCircleFilled.mjs +31 -0
- package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/CloseCircleOutlined.mjs +31 -0
- package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/CloseOutlined.mjs +31 -0
- package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/ExclamationCircleFilled.mjs +30 -0
- package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/ExclamationCircleOutlined.mjs +35 -0
- package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/InfoCircleFilled.mjs +30 -0
- package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/InfoCircleOutlined.mjs +35 -0
- package/dist/es/node_modules/@ant-design/icons-svg/lib/asn/LoadingOutlined.mjs +30 -0
- package/dist/es/node_modules/@babel/runtime/helpers/OverloadYield.mjs +11 -0
- package/dist/es/node_modules/@babel/runtime/helpers/arrayLikeToArray.mjs +14 -0
- package/dist/es/node_modules/@babel/runtime/helpers/arrayWithHoles.mjs +12 -0
- package/dist/es/node_modules/@babel/runtime/helpers/arrayWithoutHoles.mjs +14 -0
- package/dist/es/node_modules/@babel/runtime/helpers/assertThisInitialized.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/classCallCheck.mjs +14 -0
- package/dist/es/node_modules/@babel/runtime/helpers/createClass.mjs +23 -0
- package/dist/es/node_modules/@babel/runtime/helpers/createSuper.mjs +26 -0
- package/dist/es/node_modules/@babel/runtime/helpers/defineProperty.mjs +18 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/OverloadYield.mjs +6 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +9 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +8 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.mjs +8 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.mjs +26 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/classCallCheck.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/createClass.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/createSuper.mjs +18 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.mjs +8 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/inherits.mjs +17 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.mjs +13 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.mjs +29 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableRest.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectSpread2.mjs +25 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.mjs +12 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/regenerator.mjs +85 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.mjs +10 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.mjs +8 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.mjs +34 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.mjs +28 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.mjs +14 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.mjs +75 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/regeneratorValues.mjs +23 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.mjs +8 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/slicedToArray.mjs +10 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toArray.mjs +10 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +16 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +12 -0
- package/dist/es/node_modules/@babel/runtime/helpers/extends.mjs +18 -0
- package/dist/es/node_modules/@babel/runtime/helpers/getPrototypeOf.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/inherits.mjs +25 -0
- package/dist/es/node_modules/@babel/runtime/helpers/interopRequireDefault.mjs +13 -0
- package/dist/es/node_modules/@babel/runtime/helpers/interopRequireWildcard.mjs +32 -0
- package/dist/es/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.mjs +20 -0
- package/dist/es/node_modules/@babel/runtime/helpers/iterableToArray.mjs +12 -0
- package/dist/es/node_modules/@babel/runtime/helpers/iterableToArrayLimit.mjs +34 -0
- package/dist/es/node_modules/@babel/runtime/helpers/nonIterableRest.mjs +12 -0
- package/dist/es/node_modules/@babel/runtime/helpers/nonIterableSpread.mjs +12 -0
- package/dist/es/node_modules/@babel/runtime/helpers/objectSpread2.mjs +31 -0
- package/dist/es/node_modules/@babel/runtime/helpers/objectWithoutProperties.mjs +23 -0
- package/dist/es/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.mjs +22 -0
- package/dist/es/node_modules/@babel/runtime/helpers/possibleConstructorReturn.mjs +20 -0
- package/dist/es/node_modules/@babel/runtime/helpers/regenerator.mjs +91 -0
- package/dist/es/node_modules/@babel/runtime/helpers/regeneratorAsync.mjs +16 -0
- package/dist/es/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.mjs +14 -0
- package/dist/es/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.mjs +40 -0
- package/dist/es/node_modules/@babel/runtime/helpers/regeneratorDefine.mjs +33 -0
- package/dist/es/node_modules/@babel/runtime/helpers/regeneratorKeys.mjs +19 -0
- package/dist/es/node_modules/@babel/runtime/helpers/regeneratorRuntime.mjs +81 -0
- package/dist/es/node_modules/@babel/runtime/helpers/regeneratorValues.mjs +29 -0
- package/dist/es/node_modules/@babel/runtime/helpers/setPrototypeOf.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/slicedToArray.mjs +16 -0
- package/dist/es/node_modules/@babel/runtime/helpers/toArray.mjs +16 -0
- package/dist/es/node_modules/@babel/runtime/helpers/toConsumableArray.mjs +16 -0
- package/dist/es/node_modules/@babel/runtime/helpers/toPrimitive.mjs +22 -0
- package/dist/es/node_modules/@babel/runtime/helpers/toPropertyKey.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/typeof.mjs +16 -0
- package/dist/es/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.mjs +18 -0
- package/dist/es/node_modules/@ctrl/tinycolor/dist/module/conversion.mjs +127 -0
- package/dist/es/node_modules/@ctrl/tinycolor/dist/module/css-color-names.mjs +153 -0
- package/dist/es/node_modules/@ctrl/tinycolor/dist/module/format-input.mjs +105 -0
- package/dist/es/node_modules/@ctrl/tinycolor/dist/module/from-ratio.mjs +21 -0
- package/dist/es/node_modules/@ctrl/tinycolor/dist/module/index.mjs +209 -0
- package/dist/es/node_modules/@ctrl/tinycolor/dist/module/public_api.mjs +38 -0
- package/dist/es/node_modules/@ctrl/tinycolor/dist/module/random.mjs +148 -0
- package/dist/es/node_modules/@ctrl/tinycolor/dist/module/readability.mjs +44 -0
- package/dist/es/node_modules/@ctrl/tinycolor/dist/module/to-ms-filter.mjs +13 -0
- package/dist/es/node_modules/@ctrl/tinycolor/dist/module/util.mjs +32 -0
- package/dist/es/node_modules/antd/es/_util/colors.mjs +6 -0
- package/dist/es/node_modules/antd/es/_util/getRenderPropValue.mjs +6 -0
- package/dist/es/node_modules/antd/es/_util/hooks/useFlexGapSupport.mjs +12 -0
- package/dist/es/node_modules/antd/es/_util/hooks/useForceUpdate.mjs +11 -0
- package/dist/es/node_modules/antd/es/_util/isNumeric.mjs +7 -0
- package/dist/es/node_modules/antd/es/_util/motion.mjs +39 -0
- package/dist/es/node_modules/antd/es/_util/placements.mjs +76 -0
- package/dist/es/node_modules/antd/es/_util/raf.mjs +16 -0
- package/dist/es/node_modules/antd/es/_util/reactNode.mjs +17 -0
- package/dist/es/node_modules/antd/es/_util/responsiveObserve.mjs +48 -0
- package/dist/es/node_modules/antd/es/_util/styleChecker.mjs +15 -0
- package/dist/es/node_modules/antd/es/_util/type.mjs +8 -0
- package/dist/es/node_modules/antd/es/_util/warning.mjs +13 -0
- package/dist/es/node_modules/antd/es/_util/wave.mjs +135 -0
- package/dist/es/node_modules/antd/es/avatar/SizeContext.mjs +13 -0
- package/dist/es/node_modules/antd/es/avatar/avatar.mjs +111 -0
- package/dist/es/node_modules/antd/es/avatar/group.mjs +44 -0
- package/dist/es/node_modules/antd/es/avatar/index.mjs +9 -0
- package/dist/es/node_modules/antd/es/button/LoadingIcon.mjs +46 -0
- package/dist/es/node_modules/antd/es/button/button-group.mjs +42 -0
- package/dist/es/node_modules/antd/es/button/button.mjs +117 -0
- package/dist/es/node_modules/antd/es/button/index.mjs +4 -0
- package/dist/es/node_modules/antd/es/calendar/locale/en_US.mjs +4 -0
- package/dist/es/node_modules/antd/es/config-provider/DisabledContext.mjs +12 -0
- package/dist/es/node_modules/antd/es/config-provider/SizeContext.mjs +14 -0
- package/dist/es/node_modules/antd/es/config-provider/context.mjs +11 -0
- package/dist/es/node_modules/antd/es/config-provider/cssVariables.mjs +56 -0
- package/dist/es/node_modules/antd/es/config-provider/index.mjs +113 -0
- package/dist/es/node_modules/antd/es/date-picker/locale/en_US.mjs +22 -0
- package/dist/es/node_modules/antd/es/dropdown/dropdown-button.mjs +63 -0
- package/dist/es/node_modules/antd/es/dropdown/dropdown.mjs +94 -0
- package/dist/es/node_modules/antd/es/dropdown/index.mjs +4 -0
- package/dist/es/node_modules/antd/es/form/validateMessagesContext.mjs +5 -0
- package/dist/es/node_modules/antd/es/grid/hooks/useBreakpoint.mjs +17 -0
- package/dist/es/node_modules/antd/es/layout/Sider.mjs +120 -0
- package/dist/es/node_modules/antd/es/layout/index.mjs +12 -0
- package/dist/es/node_modules/antd/es/layout/layout.mjs +97 -0
- package/dist/es/node_modules/antd/es/locale/default.mjs +132 -0
- package/dist/es/node_modules/antd/es/locale-provider/LocaleReceiver.mjs +18 -0
- package/dist/es/node_modules/antd/es/locale-provider/context.mjs +6 -0
- package/dist/es/node_modules/antd/es/locale-provider/default.mjs +4 -0
- package/dist/es/node_modules/antd/es/locale-provider/index.mjs +26 -0
- package/dist/es/node_modules/antd/es/menu/MenuContext.mjs +10 -0
- package/dist/es/node_modules/antd/es/menu/MenuDivider.mjs +26 -0
- package/dist/es/node_modules/antd/es/menu/MenuItem.mjs +72 -0
- package/dist/es/node_modules/antd/es/menu/OverrideContext.mjs +29 -0
- package/dist/es/node_modules/antd/es/menu/SubMenu.mjs +40 -0
- package/dist/es/node_modules/antd/es/menu/hooks/useItems.mjs +48 -0
- package/dist/es/node_modules/antd/es/menu/index.mjs +121 -0
- package/dist/es/node_modules/antd/es/message/hooks/useMessage.mjs +51 -0
- package/dist/es/node_modules/antd/es/message/index.mjs +141 -0
- package/dist/es/node_modules/antd/es/modal/locale.mjs +9 -0
- package/dist/es/node_modules/antd/es/notification/hooks/useNotification.mjs +40 -0
- package/dist/es/node_modules/antd/es/notification/index.mjs +180 -0
- package/dist/es/node_modules/antd/es/popover/index.mjs +48 -0
- package/dist/es/node_modules/antd/es/space/Compact.mjs +60 -0
- package/dist/es/node_modules/antd/es/space/Item.mjs +21 -0
- package/dist/es/node_modules/antd/es/space/index.mjs +75 -0
- package/dist/es/node_modules/antd/es/time-picker/locale/en_US.mjs +8 -0
- package/dist/es/node_modules/antd/es/tooltip/index.mjs +126 -0
- package/dist/es/node_modules/antd/lib/_util/warning.mjs +22 -0
- package/dist/es/node_modules/antd/lib/calendar/locale/en_US.mjs +12 -0
- package/dist/es/node_modules/antd/lib/config-provider/DisabledContext.mjs +16 -0
- package/dist/es/node_modules/antd/lib/config-provider/SizeContext.mjs +18 -0
- package/dist/es/node_modules/antd/lib/config-provider/context.mjs +33 -0
- package/dist/es/node_modules/antd/lib/config-provider/cssVariables.mjs +66 -0
- package/dist/es/node_modules/antd/lib/config-provider/index.mjs +143 -0
- package/dist/es/node_modules/antd/lib/date-picker/locale/en_US.mjs +29 -0
- package/dist/es/node_modules/antd/lib/form/validateMessagesContext.mjs +9 -0
- package/dist/es/node_modules/antd/lib/layout/layout.mjs +98 -0
- package/dist/es/node_modules/antd/lib/locale/default.mjs +142 -0
- package/dist/es/node_modules/antd/lib/locale-provider/LocaleReceiver.mjs +32 -0
- package/dist/es/node_modules/antd/lib/locale-provider/context.mjs +9 -0
- package/dist/es/node_modules/antd/lib/locale-provider/default.mjs +12 -0
- package/dist/es/node_modules/antd/lib/locale-provider/index.mjs +34 -0
- package/dist/es/node_modules/antd/lib/message/hooks/useMessage.mjs +64 -0
- package/dist/es/node_modules/antd/lib/message/index.mjs +149 -0
- package/dist/es/node_modules/antd/lib/modal/locale.mjs +21 -0
- package/dist/es/node_modules/antd/lib/notification/hooks/useNotification.mjs +53 -0
- package/dist/es/node_modules/antd/lib/notification/index.mjs +228 -0
- package/dist/es/node_modules/antd/lib/time-picker/locale/en_US.mjs +11 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/colors/dist/index.esm.mjs +131 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/CheckCircleFilled.mjs +20 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/CheckCircleOutlined.mjs +20 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/CloseCircleFilled.mjs +20 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/CloseCircleOutlined.mjs +20 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/CloseOutlined.mjs +20 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/ExclamationCircleFilled.mjs +20 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/ExclamationCircleOutlined.mjs +20 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/InfoCircleFilled.mjs +20 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/InfoCircleOutlined.mjs +20 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/LoadingOutlined.mjs +20 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.mjs +41 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/components/Context.mjs +6 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/components/IconBase.mjs +43 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.mjs +18 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/BarsOutlined.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/LoadingOutlined.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.mjs +15 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/es/utils.mjs +119 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/components/AntdIcon.mjs +80 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/components/Context.mjs +8 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/components/IconBase.mjs +52 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/components/twoTonePrimaryColor.mjs +31 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/CheckCircleFilled.mjs +49 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/CheckCircleOutlined.mjs +49 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/CloseCircleFilled.mjs +49 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/CloseCircleOutlined.mjs +49 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/CloseOutlined.mjs +49 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/ExclamationCircleFilled.mjs +49 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/ExclamationCircleOutlined.mjs +49 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/InfoCircleFilled.mjs +49 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/InfoCircleOutlined.mjs +49 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/icons/LoadingOutlined.mjs +49 -0
- package/dist/es/node_modules/antd/node_modules/@ant-design/icons/lib/utils.mjs +164 -0
- package/dist/es/node_modules/axios/index.mjs +7 -0
- package/dist/es/node_modules/axios/lib/adapters/xhr.mjs +71 -0
- package/dist/es/node_modules/axios/lib/axios.mjs +36 -0
- package/dist/es/node_modules/axios/lib/cancel/Cancel.mjs +15 -0
- package/dist/es/node_modules/axios/lib/cancel/CancelToken.mjs +60 -0
- package/dist/es/node_modules/axios/lib/cancel/isCancel.mjs +9 -0
- package/dist/es/node_modules/axios/lib/core/Axios.mjs +79 -0
- package/dist/es/node_modules/axios/lib/core/InterceptorManager.mjs +25 -0
- package/dist/es/node_modules/axios/lib/core/buildFullPath.mjs +15 -0
- package/dist/es/node_modules/axios/lib/core/createError.mjs +15 -0
- package/dist/es/node_modules/axios/lib/core/dispatchRequest.mjs +24 -0
- package/dist/es/node_modules/axios/lib/core/enhanceError.mjs +24 -0
- package/dist/es/node_modules/axios/lib/core/mergeConfig.mjs +67 -0
- package/dist/es/node_modules/axios/lib/core/settle.mjs +15 -0
- package/dist/es/node_modules/axios/lib/core/transformData.mjs +11 -0
- package/dist/es/node_modules/axios/lib/defaults.mjs +77 -0
- package/dist/es/node_modules/axios/lib/env/data.mjs +9 -0
- package/dist/es/node_modules/axios/lib/helpers/bind.mjs +10 -0
- package/dist/es/node_modules/axios/lib/helpers/buildURL.mjs +30 -0
- package/dist/es/node_modules/axios/lib/helpers/combineURLs.mjs +9 -0
- package/dist/es/node_modules/axios/lib/helpers/cookies.mjs +42 -0
- package/dist/es/node_modules/axios/lib/helpers/isAbsoluteURL.mjs +9 -0
- package/dist/es/node_modules/axios/lib/helpers/isAxiosError.mjs +9 -0
- package/dist/es/node_modules/axios/lib/helpers/isURLSameOrigin.mjs +42 -0
- package/dist/es/node_modules/axios/lib/helpers/normalizeHeaderName.mjs +9 -0
- package/dist/es/node_modules/axios/lib/helpers/parseHeaders.mjs +22 -0
- package/dist/es/node_modules/axios/lib/helpers/spread.mjs +11 -0
- package/dist/es/node_modules/axios/lib/helpers/validator.mjs +40 -0
- package/dist/es/node_modules/axios/lib/utils.mjs +113 -0
- package/dist/es/node_modules/classnames/index.mjs +43 -0
- package/dist/es/node_modules/dom-align/dist-web/index.mjs +564 -0
- package/dist/es/node_modules/lodash/_Symbol.mjs +5 -0
- package/dist/es/node_modules/lodash/_arrayMap.mjs +9 -0
- package/dist/es/node_modules/lodash/_arrayReduce.mjs +10 -0
- package/dist/es/node_modules/lodash/_asciiToArray.mjs +7 -0
- package/dist/es/node_modules/lodash/_asciiWords.mjs +8 -0
- package/dist/es/node_modules/lodash/_baseGetTag.mjs +11 -0
- package/dist/es/node_modules/lodash/_basePropertyOf.mjs +9 -0
- package/dist/es/node_modules/lodash/_baseSlice.mjs +11 -0
- package/dist/es/node_modules/lodash/_baseToString.mjs +19 -0
- package/dist/es/node_modules/lodash/_castSlice.mjs +10 -0
- package/dist/es/node_modules/lodash/_createCaseFirst.mjs +16 -0
- package/dist/es/node_modules/lodash/_createCompounder.mjs +13 -0
- package/dist/es/node_modules/lodash/_deburrLetter.mjs +198 -0
- package/dist/es/node_modules/lodash/_freeGlobal.mjs +5 -0
- package/dist/es/node_modules/lodash/_getRawTag.mjs +16 -0
- package/dist/es/node_modules/lodash/_hasUnicode.mjs +8 -0
- package/dist/es/node_modules/lodash/_hasUnicodeWord.mjs +8 -0
- package/dist/es/node_modules/lodash/_objectToString.mjs +8 -0
- package/dist/es/node_modules/lodash/_root.mjs +5 -0
- package/dist/es/node_modules/lodash/_stringToArray.mjs +11 -0
- package/dist/es/node_modules/lodash/_unicodeToArray.mjs +8 -0
- package/dist/es/node_modules/lodash/_unicodeWords.mjs +8 -0
- package/dist/es/node_modules/lodash/camelCase.mjs +11 -0
- package/dist/es/node_modules/lodash/capitalize.mjs +10 -0
- package/dist/es/node_modules/lodash/deburr.mjs +10 -0
- package/dist/es/node_modules/lodash/isArray.mjs +4 -0
- package/dist/es/node_modules/lodash/isObjectLike.mjs +7 -0
- package/dist/es/node_modules/lodash/isSymbol.mjs +10 -0
- package/dist/es/node_modules/lodash/toString.mjs +9 -0
- package/dist/es/node_modules/lodash/upperFirst.mjs +5 -0
- package/dist/es/node_modules/lodash/words.mjs +12 -0
- package/dist/es/node_modules/rc-align/es/Align.mjs +65 -0
- package/dist/es/node_modules/rc-align/es/hooks/useBuffer.mjs +25 -0
- package/dist/es/node_modules/rc-align/es/index.mjs +4 -0
- package/dist/es/node_modules/rc-align/es/util.mjs +33 -0
- package/dist/es/node_modules/rc-dropdown/es/Dropdown.mjs +76 -0
- package/dist/es/node_modules/rc-dropdown/es/hooks/useAccessibility.mjs +37 -0
- package/dist/es/node_modules/rc-dropdown/es/index.mjs +4 -0
- package/dist/es/node_modules/rc-dropdown/es/placements.mjs +44 -0
- package/dist/es/node_modules/rc-menu/es/Divider.mjs +14 -0
- package/dist/es/node_modules/rc-menu/es/Icon.mjs +9 -0
- package/dist/es/node_modules/rc-menu/es/Menu.mjs +223 -0
- package/dist/es/node_modules/rc-menu/es/MenuItem.mjs +105 -0
- package/dist/es/node_modules/rc-menu/es/MenuItemGroup.mjs +35 -0
- package/dist/es/node_modules/rc-menu/es/SubMenu/InlineSubMenuList.mjs +42 -0
- package/dist/es/node_modules/rc-menu/es/SubMenu/PopupTrigger.mjs +53 -0
- package/dist/es/node_modules/rc-menu/es/SubMenu/SubMenuList.mjs +19 -0
- package/dist/es/node_modules/rc-menu/es/SubMenu/index.mjs +137 -0
- package/dist/es/node_modules/rc-menu/es/context/IdContext.mjs +14 -0
- package/dist/es/node_modules/rc-menu/es/context/MenuContext.mjs +27 -0
- package/dist/es/node_modules/rc-menu/es/context/PathContext.mjs +21 -0
- package/dist/es/node_modules/rc-menu/es/context/PrivateContext.mjs +5 -0
- package/dist/es/node_modules/rc-menu/es/hooks/useAccessibility.mjs +137 -0
- package/dist/es/node_modules/rc-menu/es/hooks/useActive.mjs +21 -0
- package/dist/es/node_modules/rc-menu/es/hooks/useDirectionStyle.mjs +16 -0
- package/dist/es/node_modules/rc-menu/es/hooks/useKeyRecords.mjs +64 -0
- package/dist/es/node_modules/rc-menu/es/hooks/useMemoCallback.mjs +14 -0
- package/dist/es/node_modules/rc-menu/es/hooks/useUUID.mjs +17 -0
- package/dist/es/node_modules/rc-menu/es/index.mjs +20 -0
- package/dist/es/node_modules/rc-menu/es/placements.mjs +51 -0
- package/dist/es/node_modules/rc-menu/es/utils/motionUtil.mjs +9 -0
- package/dist/es/node_modules/rc-menu/es/utils/nodeUtil.mjs +57 -0
- package/dist/es/node_modules/rc-menu/es/utils/timeUtil.mjs +6 -0
- package/dist/es/node_modules/rc-menu/es/utils/warnUtil.mjs +14 -0
- package/dist/es/node_modules/rc-motion/es/CSSMotion.mjs +73 -0
- package/dist/es/node_modules/rc-motion/es/CSSMotionList.mjs +95 -0
- package/dist/es/node_modules/rc-motion/es/DomWrapper.mjs +21 -0
- package/dist/es/node_modules/rc-motion/es/context.mjs +5 -0
- package/dist/es/node_modules/rc-motion/es/hooks/useDomMotionEvents.mjs +20 -0
- package/dist/es/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.mjs +6 -0
- package/dist/es/node_modules/rc-motion/es/hooks/useNextFrame.mjs +28 -0
- package/dist/es/node_modules/rc-motion/es/hooks/useStatus.mjs +95 -0
- package/dist/es/node_modules/rc-motion/es/hooks/useStepQueue.mjs +38 -0
- package/dist/es/node_modules/rc-motion/es/index.mjs +7 -0
- package/dist/es/node_modules/rc-motion/es/interface.mjs +13 -0
- package/dist/es/node_modules/rc-motion/es/util/diff.mjs +65 -0
- package/dist/es/node_modules/rc-motion/es/util/motion.mjs +51 -0
- package/dist/es/node_modules/rc-notification/es/Notice.mjs +83 -0
- package/dist/es/node_modules/rc-notification/es/Notification.mjs +165 -0
- package/dist/es/node_modules/rc-notification/es/index.mjs +4 -0
- package/dist/es/node_modules/rc-notification/es/useNotification.mjs +33 -0
- package/dist/es/node_modules/rc-notification/lib/Notice.mjs +122 -0
- package/dist/es/node_modules/rc-notification/lib/useNotification.mjs +65 -0
- package/dist/es/node_modules/rc-overflow/es/Item.mjs +49 -0
- package/dist/es/node_modules/rc-overflow/es/Overflow.mjs +146 -0
- package/dist/es/node_modules/rc-overflow/es/RawItem.mjs +26 -0
- package/dist/es/node_modules/rc-overflow/es/context.mjs +5 -0
- package/dist/es/node_modules/rc-overflow/es/hooks/channelUpdate.mjs +14 -0
- package/dist/es/node_modules/rc-overflow/es/hooks/useEffectState.mjs +29 -0
- package/dist/es/node_modules/rc-overflow/es/index.mjs +4 -0
- package/dist/es/node_modules/rc-pagination/es/locale/en_US.mjs +18 -0
- package/dist/es/node_modules/rc-pagination/lib/locale/en_US.mjs +21 -0
- package/dist/es/node_modules/rc-picker/es/locale/en_US.mjs +32 -0
- package/dist/es/node_modules/rc-picker/lib/locale/en_US.mjs +35 -0
- package/dist/es/node_modules/rc-resize-observer/es/Collection.mjs +22 -0
- package/dist/es/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.mjs +21 -0
- package/dist/es/node_modules/rc-resize-observer/es/SingleObserver/index.mjs +59 -0
- package/dist/es/node_modules/rc-resize-observer/es/index.mjs +24 -0
- package/dist/es/node_modules/rc-resize-observer/es/utils/observerUtil.mjs +23 -0
- package/dist/es/node_modules/rc-tooltip/es/Popup.mjs +20 -0
- package/dist/es/node_modules/rc-tooltip/es/Tooltip.mjs +59 -0
- package/dist/es/node_modules/rc-tooltip/es/index.mjs +6 -0
- package/dist/es/node_modules/rc-tooltip/es/placements.mjs +81 -0
- package/dist/es/node_modules/rc-trigger/es/Popup/Mask.mjs +35 -0
- package/dist/es/node_modules/rc-trigger/es/Popup/MobilePopupInner.mjs +42 -0
- package/dist/es/node_modules/rc-trigger/es/Popup/PopupInner.mjs +109 -0
- package/dist/es/node_modules/rc-trigger/es/Popup/index.mjs +29 -0
- package/dist/es/node_modules/rc-trigger/es/Popup/useStretchStyle.mjs +27 -0
- package/dist/es/node_modules/rc-trigger/es/Popup/useVisibleStatus.mjs +58 -0
- package/dist/es/node_modules/rc-trigger/es/context.mjs +5 -0
- package/dist/es/node_modules/rc-trigger/es/index.mjs +365 -0
- package/dist/es/node_modules/rc-trigger/es/utils/alignUtil.mjs +20 -0
- package/dist/es/node_modules/rc-trigger/es/utils/legacyUtil.mjs +11 -0
- package/dist/es/node_modules/rc-util/es/Children/toArray.mjs +11 -0
- package/dist/es/node_modules/rc-util/es/Dom/addEventListener.mjs +14 -0
- package/dist/es/node_modules/rc-util/es/Dom/canUseDom.mjs +6 -0
- package/dist/es/node_modules/rc-util/es/Dom/contains.mjs +15 -0
- package/dist/es/node_modules/rc-util/es/Dom/dynamicCSS.mjs +79 -0
- package/dist/es/node_modules/rc-util/es/Dom/findDOMNode.mjs +24 -0
- package/dist/es/node_modules/rc-util/es/Dom/focus.mjs +24 -0
- package/dist/es/node_modules/rc-util/es/Dom/isVisible.mjs +22 -0
- package/dist/es/node_modules/rc-util/es/Dom/shadow.mjs +14 -0
- package/dist/es/node_modules/rc-util/es/KeyCode.mjs +517 -0
- package/dist/es/node_modules/rc-util/es/Portal.mjs +21 -0
- package/dist/es/node_modules/rc-util/es/React/isFragment.mjs +13 -0
- package/dist/es/node_modules/rc-util/es/React/render.mjs +81 -0
- package/dist/es/node_modules/rc-util/es/hooks/useEvent.mjs +14 -0
- package/dist/es/node_modules/rc-util/es/hooks/useLayoutEffect.mjs +21 -0
- package/dist/es/node_modules/rc-util/es/hooks/useMemo.mjs +8 -0
- package/dist/es/node_modules/rc-util/es/hooks/useMergedState.mjs +25 -0
- package/dist/es/node_modules/rc-util/es/hooks/useState.mjs +17 -0
- package/dist/es/node_modules/rc-util/es/hooks/useSyncState.mjs +16 -0
- package/dist/es/node_modules/rc-util/es/isEqual.mjs +35 -0
- package/dist/es/node_modules/rc-util/es/isMobile.mjs +9 -0
- package/dist/es/node_modules/rc-util/es/omit.mjs +9 -0
- package/dist/es/node_modules/rc-util/es/raf.mjs +40 -0
- package/dist/es/node_modules/rc-util/es/ref.mjs +52 -0
- package/dist/es/node_modules/rc-util/es/utils/get.mjs +11 -0
- package/dist/es/node_modules/rc-util/es/utils/set.mjs +47 -0
- package/dist/es/node_modules/rc-util/es/warning.mjs +44 -0
- package/dist/es/node_modules/rc-util/lib/Dom/canUseDom.mjs +8 -0
- package/dist/es/node_modules/rc-util/lib/Dom/contains.mjs +17 -0
- package/dist/es/node_modules/rc-util/lib/Dom/dynamicCSS.mjs +100 -0
- package/dist/es/node_modules/rc-util/lib/hooks/useMemo.mjs +13 -0
- package/dist/es/node_modules/rc-util/lib/utils/get.mjs +13 -0
- package/dist/es/node_modules/rc-util/lib/utils/set.mjs +53 -0
- package/dist/es/node_modules/rc-util/lib/warning.mjs +47 -0
- package/dist/es/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.mjs +103 -0
- package/dist/es/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.mjs +82 -0
- package/dist/es/node_modules/rc-util/node_modules/react-is/index.mjs +8 -0
- package/dist/es/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.mjs +294 -0
- package/dist/es/robots.txt +3 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/favicon2.ico +0 -0
- package/dist/lib/font/gos-font.js +64 -0
- package/dist/lib/images/empty.svg +40 -0
- package/dist/lib/images/loading.gif +0 -0
- package/dist/lib/images/logo.png +0 -0
- package/dist/lib/images/map-example.png +0 -0
- package/dist/lib/images/sketch.png +0 -0
- package/dist/lib/index.html +43 -0
- package/dist/lib/index.js +207 -0
- package/dist/lib/logo192.png +0 -0
- package/dist/lib/logo512.png +0 -0
- package/dist/lib/manifest.json +25 -0
- package/dist/lib/robots.txt +3 -0
- package/dist/src/auth/AuthContext.d.ts +1 -1
- package/dist/src/auth/components/LoadingAuth/index.d.ts +0 -1
- package/dist/src/auth/components/NoPermission/index.d.ts +1 -2
- package/dist/src/auth/components/UserInformation/index.d.ts +1 -2
- package/dist/src/auth/index.d.ts +2 -2
- 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,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,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
|
+
};
|